@memberstack/dom 1.9.1 → 1.9.4
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/lib/auth/index.d.ts +7 -0
- package/lib/auth/index.js +67 -0
- package/lib/constants/endpoints.d.ts +3 -0
- package/lib/constants/{endpoint.js → endpoints.js} +1 -2
- package/lib/index.d.ts +758 -48
- package/lib/methods/dom/index.d.ts +0 -2
- package/lib/methods/dom/index.js +0 -12
- package/lib/{uis → methods/dom}/main-dom.d.ts +0 -0
- package/lib/{uis → methods/dom}/main-dom.js +170 -300
- package/lib/methods/dom/methods.d.ts +3 -14
- package/lib/methods/dom/methods.js +35 -175
- package/lib/methods/index.d.ts +759 -61
- package/lib/methods/index.js +20 -69
- package/lib/methods/requests/index.d.ts +55 -0
- package/lib/methods/{client → requests}/index.js +228 -63
- package/lib/methods/{client/request.d.ts → requests/requests.d.ts} +11 -4
- package/lib/methods/{client/request.js → requests/requests.js} +31 -24
- package/lib/types/index.js +1 -1
- package/lib/types/params.d.ts +23 -0
- package/lib/types/payloads.d.ts +5 -0
- package/lib/types/utils/payloads.d.ts +19 -0
- package/lib/utils/cookies.d.ts +1 -1
- package/lib/utils/cookies.js +5 -7
- package/package.json +10 -4
- package/lib/auth/persistence/index.d.ts +0 -1
- package/lib/auth/persistence/index.js +0 -13
- package/lib/auth/persistence/local.d.ts +0 -5
- package/lib/auth/persistence/local.js +0 -20
- package/lib/auth/persistence/methods.d.ts +0 -13
- package/lib/auth/persistence/methods.js +0 -87
- package/lib/auth/persistence/session.d.ts +0 -5
- package/lib/auth/persistence/session.js +0 -20
- package/lib/constants/cookies.d.ts +0 -3
- package/lib/constants/cookies.js +0 -7
- package/lib/constants/endpoint.d.ts +0 -4
- package/lib/constants/request.d.ts +0 -10
- package/lib/constants/request.js +0 -15
- package/lib/constants/storage.d.ts +0 -1
- package/lib/constants/storage.js +0 -4
- package/lib/constants/window.d.ts +0 -4
- package/lib/constants/window.js +0 -7
- package/lib/methods/client/index.d.ts +0 -85
- package/lib/methods/client.d.ts +0 -43
- package/lib/methods/client.js +0 -35
- package/lib/methods/dom/script.d.ts +0 -3
- package/lib/methods/dom/script.js +0 -50
- package/lib/utils/interceptor.d.ts +0 -4
- package/lib/utils/interceptor.js +0 -18
- package/lib/utils/logger.d.ts +0 -3
- package/lib/utils/logger.js +0 -51
- package/lib/utils/proxy.d.ts +0 -2
- package/lib/utils/proxy.js +0 -105
|
@@ -3,12 +3,10 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
10
|
extendStatics(d, b);
|
|
13
11
|
function __() { this.constructor = d; }
|
|
14
12
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -66,14 +64,9 @@ var __read = (this && this.__read) || function (o, n) {
|
|
|
66
64
|
}
|
|
67
65
|
return ar;
|
|
68
66
|
};
|
|
69
|
-
var
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
73
|
-
ar[i] = from[i];
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
67
|
+
var __spread = (this && this.__spread) || function () {
|
|
68
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
|
|
69
|
+
return ar;
|
|
77
70
|
};
|
|
78
71
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
79
72
|
exports.default = void 0;
|
|
@@ -338,7 +331,7 @@ function mount_component(component, target, anchor, customElement) {
|
|
|
338
331
|
add_render_callback(function () {
|
|
339
332
|
var new_on_destroy = on_mount.map(run).filter(is_function);
|
|
340
333
|
if (on_destroy) {
|
|
341
|
-
on_destroy.push.apply(on_destroy,
|
|
334
|
+
on_destroy.push.apply(on_destroy, __spread(new_on_destroy));
|
|
342
335
|
}
|
|
343
336
|
else {
|
|
344
337
|
// Edge case - component was destroyed immediately,
|
|
@@ -464,7 +457,7 @@ var SvelteComponent = /** @class */ (function () {
|
|
|
464
457
|
return SvelteComponent;
|
|
465
458
|
}());
|
|
466
459
|
/* src/icons/LoadingIcon.svelte generated by Svelte v3.48.0 */
|
|
467
|
-
function create_fragment$
|
|
460
|
+
function create_fragment$t(ctx) {
|
|
468
461
|
var svg;
|
|
469
462
|
var path;
|
|
470
463
|
var animateTransform;
|
|
@@ -509,13 +502,13 @@ var LoadingIcon = /** @class */ (function (_super) {
|
|
|
509
502
|
__extends(LoadingIcon, _super);
|
|
510
503
|
function LoadingIcon(options) {
|
|
511
504
|
var _this = _super.call(this) || this;
|
|
512
|
-
init(_this, options, null, create_fragment$
|
|
505
|
+
init(_this, options, null, create_fragment$t, safe_not_equal, {});
|
|
513
506
|
return _this;
|
|
514
507
|
}
|
|
515
508
|
return LoadingIcon;
|
|
516
509
|
}(SvelteComponent));
|
|
517
510
|
/* src/components/Loader.svelte generated by Svelte v3.48.0 */
|
|
518
|
-
function create_fragment$
|
|
511
|
+
function create_fragment$s(ctx) {
|
|
519
512
|
var div;
|
|
520
513
|
var loadingicon;
|
|
521
514
|
var current;
|
|
@@ -553,13 +546,13 @@ var Loader = /** @class */ (function (_super) {
|
|
|
553
546
|
__extends(Loader, _super);
|
|
554
547
|
function Loader(options) {
|
|
555
548
|
var _this = _super.call(this) || this;
|
|
556
|
-
init(_this, options, null, create_fragment$
|
|
549
|
+
init(_this, options, null, create_fragment$s, safe_not_equal, {});
|
|
557
550
|
return _this;
|
|
558
551
|
}
|
|
559
552
|
return Loader;
|
|
560
553
|
}(SvelteComponent));
|
|
561
554
|
/* src/icons/CloseIcon.svelte generated by Svelte v3.48.0 */
|
|
562
|
-
function create_fragment$
|
|
555
|
+
function create_fragment$r(ctx) {
|
|
563
556
|
var svg;
|
|
564
557
|
var path;
|
|
565
558
|
return {
|
|
@@ -591,13 +584,13 @@ var CloseIcon = /** @class */ (function (_super) {
|
|
|
591
584
|
__extends(CloseIcon, _super);
|
|
592
585
|
function CloseIcon(options) {
|
|
593
586
|
var _this = _super.call(this) || this;
|
|
594
|
-
init(_this, options, null, create_fragment$
|
|
587
|
+
init(_this, options, null, create_fragment$r, safe_not_equal, {});
|
|
595
588
|
return _this;
|
|
596
589
|
}
|
|
597
590
|
return CloseIcon;
|
|
598
591
|
}(SvelteComponent));
|
|
599
592
|
/* src/components/CloseButton.svelte generated by Svelte v3.48.0 */
|
|
600
|
-
function create_fragment$
|
|
593
|
+
function create_fragment$q(ctx) {
|
|
601
594
|
var div;
|
|
602
595
|
var button;
|
|
603
596
|
var closeicon;
|
|
@@ -660,13 +653,13 @@ var CloseButton = /** @class */ (function (_super) {
|
|
|
660
653
|
__extends(CloseButton, _super);
|
|
661
654
|
function CloseButton(options) {
|
|
662
655
|
var _this = _super.call(this) || this;
|
|
663
|
-
init(_this, options, instance$d, create_fragment$
|
|
656
|
+
init(_this, options, instance$d, create_fragment$q, safe_not_equal, { closeModal: 0 });
|
|
664
657
|
return _this;
|
|
665
658
|
}
|
|
666
659
|
return CloseButton;
|
|
667
660
|
}(SvelteComponent));
|
|
668
661
|
/* src/icons/MemberstackIcon.svelte generated by Svelte v3.48.0 */
|
|
669
|
-
function create_fragment$
|
|
662
|
+
function create_fragment$p(ctx) {
|
|
670
663
|
var svg;
|
|
671
664
|
var path0;
|
|
672
665
|
var path1;
|
|
@@ -720,13 +713,13 @@ var MemberstackIcon = /** @class */ (function (_super) {
|
|
|
720
713
|
__extends(MemberstackIcon, _super);
|
|
721
714
|
function MemberstackIcon(options) {
|
|
722
715
|
var _this = _super.call(this) || this;
|
|
723
|
-
init(_this, options, null, create_fragment$
|
|
716
|
+
init(_this, options, null, create_fragment$p, safe_not_equal, {});
|
|
724
717
|
return _this;
|
|
725
718
|
}
|
|
726
719
|
return MemberstackIcon;
|
|
727
720
|
}(SvelteComponent));
|
|
728
721
|
/* src/components/FigureElement.svelte generated by Svelte v3.48.0 */
|
|
729
|
-
function create_fragment$
|
|
722
|
+
function create_fragment$o(ctx) {
|
|
730
723
|
var figure;
|
|
731
724
|
var memberstackicon;
|
|
732
725
|
var current;
|
|
@@ -764,7 +757,7 @@ var FigureElement = /** @class */ (function (_super) {
|
|
|
764
757
|
__extends(FigureElement, _super);
|
|
765
758
|
function FigureElement(options) {
|
|
766
759
|
var _this = _super.call(this) || this;
|
|
767
|
-
init(_this, options, null, create_fragment$
|
|
760
|
+
init(_this, options, null, create_fragment$o, safe_not_equal, {});
|
|
768
761
|
return _this;
|
|
769
762
|
}
|
|
770
763
|
return FigureElement;
|
|
@@ -780,7 +773,7 @@ function create_else_block$1(ctx) {
|
|
|
780
773
|
button = element("button");
|
|
781
774
|
create_component(loadingicon.$$.fragment);
|
|
782
775
|
attr(button, "class", "ms-form__button");
|
|
783
|
-
attr(button, "type", "
|
|
776
|
+
attr(button, "type", "button");
|
|
784
777
|
button.disabled = true;
|
|
785
778
|
},
|
|
786
779
|
m: function (target, anchor) {
|
|
@@ -833,7 +826,7 @@ function create_if_block$6(ctx) {
|
|
|
833
826
|
}
|
|
834
827
|
};
|
|
835
828
|
}
|
|
836
|
-
function create_fragment$
|
|
829
|
+
function create_fragment$n(ctx) {
|
|
837
830
|
var div;
|
|
838
831
|
var current_block_type_index;
|
|
839
832
|
var if_block;
|
|
@@ -914,13 +907,13 @@ var SubmitButton = /** @class */ (function (_super) {
|
|
|
914
907
|
__extends(SubmitButton, _super);
|
|
915
908
|
function SubmitButton(options) {
|
|
916
909
|
var _this = _super.call(this) || this;
|
|
917
|
-
init(_this, options, instance$c, create_fragment$
|
|
910
|
+
init(_this, options, instance$c, create_fragment$n, safe_not_equal, { buttonText: 0, isLoading: 1 });
|
|
918
911
|
return _this;
|
|
919
912
|
}
|
|
920
913
|
return SubmitButton;
|
|
921
914
|
}(SvelteComponent));
|
|
922
915
|
/* src/icons/ErrorIcon.svelte generated by Svelte v3.48.0 */
|
|
923
|
-
function create_fragment$
|
|
916
|
+
function create_fragment$m(ctx) {
|
|
924
917
|
var svg;
|
|
925
918
|
var path;
|
|
926
919
|
return {
|
|
@@ -950,7 +943,7 @@ var ErrorIcon = /** @class */ (function (_super) {
|
|
|
950
943
|
__extends(ErrorIcon, _super);
|
|
951
944
|
function ErrorIcon(options) {
|
|
952
945
|
var _this = _super.call(this) || this;
|
|
953
|
-
init(_this, options, null, create_fragment$
|
|
946
|
+
init(_this, options, null, create_fragment$m, safe_not_equal, {});
|
|
954
947
|
return _this;
|
|
955
948
|
}
|
|
956
949
|
return ErrorIcon;
|
|
@@ -996,7 +989,7 @@ function create_if_block$5(ctx) {
|
|
|
996
989
|
}
|
|
997
990
|
};
|
|
998
991
|
}
|
|
999
|
-
function create_fragment$
|
|
992
|
+
function create_fragment$l(ctx) {
|
|
1000
993
|
var div;
|
|
1001
994
|
var label;
|
|
1002
995
|
var t1;
|
|
@@ -1112,13 +1105,13 @@ var EmailInput = /** @class */ (function (_super) {
|
|
|
1112
1105
|
__extends(EmailInput, _super);
|
|
1113
1106
|
function EmailInput(options) {
|
|
1114
1107
|
var _this = _super.call(this) || this;
|
|
1115
|
-
init(_this, options, instance$b, create_fragment$
|
|
1108
|
+
init(_this, options, instance$b, create_fragment$l, safe_not_equal, { emailInputValid: 2 });
|
|
1116
1109
|
return _this;
|
|
1117
1110
|
}
|
|
1118
1111
|
return EmailInput;
|
|
1119
1112
|
}(SvelteComponent));
|
|
1120
1113
|
/* src/icons/EyeIcon.svelte generated by Svelte v3.48.0 */
|
|
1121
|
-
function create_fragment$
|
|
1114
|
+
function create_fragment$k(ctx) {
|
|
1122
1115
|
var svg;
|
|
1123
1116
|
var path;
|
|
1124
1117
|
return {
|
|
@@ -1149,13 +1142,13 @@ var EyeIcon = /** @class */ (function (_super) {
|
|
|
1149
1142
|
__extends(EyeIcon, _super);
|
|
1150
1143
|
function EyeIcon(options) {
|
|
1151
1144
|
var _this = _super.call(this) || this;
|
|
1152
|
-
init(_this, options, null, create_fragment$
|
|
1145
|
+
init(_this, options, null, create_fragment$k, safe_not_equal, {});
|
|
1153
1146
|
return _this;
|
|
1154
1147
|
}
|
|
1155
1148
|
return EyeIcon;
|
|
1156
1149
|
}(SvelteComponent));
|
|
1157
1150
|
/* src/icons/EyeSlashIcon.svelte generated by Svelte v3.48.0 */
|
|
1158
|
-
function create_fragment$
|
|
1151
|
+
function create_fragment$j(ctx) {
|
|
1159
1152
|
var svg;
|
|
1160
1153
|
var path;
|
|
1161
1154
|
return {
|
|
@@ -1186,7 +1179,7 @@ var EyeSlashIcon = /** @class */ (function (_super) {
|
|
|
1186
1179
|
__extends(EyeSlashIcon, _super);
|
|
1187
1180
|
function EyeSlashIcon(options) {
|
|
1188
1181
|
var _this = _super.call(this) || this;
|
|
1189
|
-
init(_this, options, null, create_fragment$
|
|
1182
|
+
init(_this, options, null, create_fragment$j, safe_not_equal, {});
|
|
1190
1183
|
return _this;
|
|
1191
1184
|
}
|
|
1192
1185
|
return EyeSlashIcon;
|
|
@@ -1194,23 +1187,25 @@ var EyeSlashIcon = /** @class */ (function (_super) {
|
|
|
1194
1187
|
/* src/components/PasswordInput.svelte generated by Svelte v3.48.0 */
|
|
1195
1188
|
function create_if_block_2$2(ctx) {
|
|
1196
1189
|
var div;
|
|
1197
|
-
var
|
|
1190
|
+
var button;
|
|
1198
1191
|
var mounted;
|
|
1199
1192
|
var dispose;
|
|
1200
1193
|
return {
|
|
1201
1194
|
c: function () {
|
|
1202
1195
|
div = element("div");
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
attr(
|
|
1206
|
-
attr(
|
|
1196
|
+
button = element("button");
|
|
1197
|
+
button.textContent = "Forgot Password?";
|
|
1198
|
+
attr(button, "data-cy", "forgot-password-btn");
|
|
1199
|
+
attr(button, "class", "ms-form__button ms-form__button--text");
|
|
1200
|
+
attr(button, "tabindex", "-1");
|
|
1201
|
+
attr(button, "type", "button");
|
|
1207
1202
|
attr(div, "class", "ms-form__label ms-form__label--right");
|
|
1208
1203
|
},
|
|
1209
1204
|
m: function (target, anchor) {
|
|
1210
1205
|
insert(target, div, anchor);
|
|
1211
|
-
append(div,
|
|
1206
|
+
append(div, button);
|
|
1212
1207
|
if (!mounted) {
|
|
1213
|
-
dispose = listen(
|
|
1208
|
+
dispose = listen(button, "click", /*click_handler*/ ctx[10]);
|
|
1214
1209
|
mounted = true;
|
|
1215
1210
|
}
|
|
1216
1211
|
},
|
|
@@ -1320,7 +1315,7 @@ function create_if_block$4(ctx) {
|
|
|
1320
1315
|
}
|
|
1321
1316
|
};
|
|
1322
1317
|
}
|
|
1323
|
-
function create_fragment$
|
|
1318
|
+
function create_fragment$i(ctx) {
|
|
1324
1319
|
var div3;
|
|
1325
1320
|
var div0;
|
|
1326
1321
|
var label;
|
|
@@ -1553,7 +1548,7 @@ var PasswordInput = /** @class */ (function (_super) {
|
|
|
1553
1548
|
__extends(PasswordInput, _super);
|
|
1554
1549
|
function PasswordInput(options) {
|
|
1555
1550
|
var _this = _super.call(this) || this;
|
|
1556
|
-
init(_this, options, instance$a, create_fragment$
|
|
1551
|
+
init(_this, options, instance$a, create_fragment$i, safe_not_equal, {
|
|
1557
1552
|
showForgotPasswordLabel: 1,
|
|
1558
1553
|
passwordInputValid: 9,
|
|
1559
1554
|
passwordLabel: 2,
|
|
@@ -1565,7 +1560,7 @@ var PasswordInput = /** @class */ (function (_super) {
|
|
|
1565
1560
|
return PasswordInput;
|
|
1566
1561
|
}(SvelteComponent));
|
|
1567
1562
|
/* src/icons/SecuredIcon.svelte generated by Svelte v3.48.0 */
|
|
1568
|
-
function create_fragment$
|
|
1563
|
+
function create_fragment$h(ctx) {
|
|
1569
1564
|
var svg;
|
|
1570
1565
|
var path;
|
|
1571
1566
|
return {
|
|
@@ -1596,13 +1591,13 @@ var SecuredIcon = /** @class */ (function (_super) {
|
|
|
1596
1591
|
__extends(SecuredIcon, _super);
|
|
1597
1592
|
function SecuredIcon(options) {
|
|
1598
1593
|
var _this = _super.call(this) || this;
|
|
1599
|
-
init(_this, options, null, create_fragment$
|
|
1594
|
+
init(_this, options, null, create_fragment$h, safe_not_equal, {});
|
|
1600
1595
|
return _this;
|
|
1601
1596
|
}
|
|
1602
1597
|
return SecuredIcon;
|
|
1603
1598
|
}(SvelteComponent));
|
|
1604
1599
|
/* src/components/ModalFooter.svelte generated by Svelte v3.48.0 */
|
|
1605
|
-
function create_fragment$
|
|
1600
|
+
function create_fragment$g(ctx) {
|
|
1606
1601
|
var div;
|
|
1607
1602
|
var a;
|
|
1608
1603
|
var securedicon;
|
|
@@ -1648,7 +1643,7 @@ var ModalFooter = /** @class */ (function (_super) {
|
|
|
1648
1643
|
__extends(ModalFooter, _super);
|
|
1649
1644
|
function ModalFooter(options) {
|
|
1650
1645
|
var _this = _super.call(this) || this;
|
|
1651
|
-
init(_this, options, null, create_fragment$
|
|
1646
|
+
init(_this, options, null, create_fragment$g, safe_not_equal, {});
|
|
1652
1647
|
return _this;
|
|
1653
1648
|
}
|
|
1654
1649
|
return ModalFooter;
|
|
@@ -1656,23 +1651,23 @@ var ModalFooter = /** @class */ (function (_super) {
|
|
|
1656
1651
|
/* src/modals/LoginModal.svelte generated by Svelte v3.48.0 */
|
|
1657
1652
|
function create_if_block$3(ctx) {
|
|
1658
1653
|
var div;
|
|
1659
|
-
var
|
|
1654
|
+
var button;
|
|
1660
1655
|
var mounted;
|
|
1661
1656
|
var dispose;
|
|
1662
1657
|
return {
|
|
1663
1658
|
c: function () {
|
|
1664
1659
|
div = element("div");
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
attr(
|
|
1668
|
-
attr(
|
|
1660
|
+
button = element("button");
|
|
1661
|
+
button.textContent = "Don't have an account?";
|
|
1662
|
+
attr(button, "class", "ms-form__button ms-form__button--text");
|
|
1663
|
+
attr(button, "type", "button");
|
|
1669
1664
|
attr(div, "class", "ms-form__flex ms-form__flex--centered");
|
|
1670
1665
|
},
|
|
1671
1666
|
m: function (target, anchor) {
|
|
1672
1667
|
insert(target, div, anchor);
|
|
1673
|
-
append(div,
|
|
1668
|
+
append(div, button);
|
|
1674
1669
|
if (!mounted) {
|
|
1675
|
-
dispose = listen(
|
|
1670
|
+
dispose = listen(button, "click", /*click_handler*/ ctx[11]);
|
|
1676
1671
|
mounted = true;
|
|
1677
1672
|
}
|
|
1678
1673
|
},
|
|
@@ -1685,7 +1680,7 @@ function create_if_block$3(ctx) {
|
|
|
1685
1680
|
}
|
|
1686
1681
|
};
|
|
1687
1682
|
}
|
|
1688
|
-
function create_fragment$
|
|
1683
|
+
function create_fragment$f(ctx) {
|
|
1689
1684
|
var div1;
|
|
1690
1685
|
var closebutton;
|
|
1691
1686
|
var t0;
|
|
@@ -1897,8 +1892,8 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
|
1897
1892
|
return __generator(this, function (_a) {
|
|
1898
1893
|
switch (_a.label) {
|
|
1899
1894
|
case 0:
|
|
1900
|
-
emailInput = e.target[
|
|
1901
|
-
passwordInput = e.target[
|
|
1895
|
+
emailInput = e.target.querySelector("[name=eml]");
|
|
1896
|
+
passwordInput = e.target.querySelector("[name=psw]");
|
|
1902
1897
|
if (!emailInputValid || !passwordInputValid)
|
|
1903
1898
|
return [2 /*return*/];
|
|
1904
1899
|
$$invalidate(3, showLoader = true);
|
|
@@ -1966,7 +1961,7 @@ var LoginModal = /** @class */ (function (_super) {
|
|
|
1966
1961
|
__extends(LoginModal, _super);
|
|
1967
1962
|
function LoginModal(options) {
|
|
1968
1963
|
var _this = _super.call(this) || this;
|
|
1969
|
-
init(_this, options, instance$9, create_fragment$
|
|
1964
|
+
init(_this, options, instance$9, create_fragment$f, safe_not_equal, {
|
|
1970
1965
|
closeModal: 1,
|
|
1971
1966
|
display: 0,
|
|
1972
1967
|
onSuccessLogin: 7,
|
|
@@ -1977,7 +1972,7 @@ var LoginModal = /** @class */ (function (_super) {
|
|
|
1977
1972
|
return LoginModal;
|
|
1978
1973
|
}(SvelteComponent));
|
|
1979
1974
|
/* src/modals/SignupModal.svelte generated by Svelte v3.48.0 */
|
|
1980
|
-
function create_fragment$
|
|
1975
|
+
function create_fragment$e(ctx) {
|
|
1981
1976
|
var div2;
|
|
1982
1977
|
var closebutton;
|
|
1983
1978
|
var t0;
|
|
@@ -1996,7 +1991,7 @@ function create_fragment$g(ctx) {
|
|
|
1996
1991
|
var submitbutton;
|
|
1997
1992
|
var t6;
|
|
1998
1993
|
var div0;
|
|
1999
|
-
var
|
|
1994
|
+
var button;
|
|
2000
1995
|
var t8;
|
|
2001
1996
|
var modalfooter;
|
|
2002
1997
|
var current;
|
|
@@ -2050,13 +2045,12 @@ function create_fragment$g(ctx) {
|
|
|
2050
2045
|
create_component(submitbutton.$$.fragment);
|
|
2051
2046
|
t6 = space();
|
|
2052
2047
|
div0 = element("div");
|
|
2053
|
-
|
|
2054
|
-
|
|
2048
|
+
button = element("button");
|
|
2049
|
+
button.textContent = "Already have an account?";
|
|
2055
2050
|
t8 = space();
|
|
2056
2051
|
create_component(modalfooter.$$.fragment);
|
|
2057
2052
|
attr(h2, "class", "ms-modal__title");
|
|
2058
|
-
attr(
|
|
2059
|
-
attr(a, "href", "#");
|
|
2053
|
+
attr(button, "class", "ms-form__button ms-form__button--text");
|
|
2060
2054
|
attr(div0, "class", "ms-form__flex ms-form__flex--centered");
|
|
2061
2055
|
attr(form, "class", "ms-form");
|
|
2062
2056
|
attr(form, "action", "");
|
|
@@ -2083,13 +2077,13 @@ function create_fragment$g(ctx) {
|
|
|
2083
2077
|
mount_component(submitbutton, form, null);
|
|
2084
2078
|
append(form, t6);
|
|
2085
2079
|
append(form, div0);
|
|
2086
|
-
append(div0,
|
|
2080
|
+
append(div0, button);
|
|
2087
2081
|
append(div2, t8);
|
|
2088
2082
|
mount_component(modalfooter, div2, null);
|
|
2089
2083
|
current = true;
|
|
2090
2084
|
if (!mounted) {
|
|
2091
2085
|
dispose = [
|
|
2092
|
-
listen(
|
|
2086
|
+
listen(button, "click", /*click_handler*/ ctx[10]),
|
|
2093
2087
|
listen(form, "submit", stop_propagation(prevent_default(/*submitSignup*/ ctx[5])))
|
|
2094
2088
|
];
|
|
2095
2089
|
mounted = true;
|
|
@@ -2237,7 +2231,7 @@ var SignupModal = /** @class */ (function (_super) {
|
|
|
2237
2231
|
__extends(SignupModal, _super);
|
|
2238
2232
|
function SignupModal(options) {
|
|
2239
2233
|
var _this = _super.call(this) || this;
|
|
2240
|
-
init(_this, options, instance$8, create_fragment$
|
|
2234
|
+
init(_this, options, instance$8, create_fragment$e, safe_not_equal, {
|
|
2241
2235
|
closeModal: 1,
|
|
2242
2236
|
display: 0,
|
|
2243
2237
|
onSuccessSignup: 6,
|
|
@@ -2248,7 +2242,7 @@ var SignupModal = /** @class */ (function (_super) {
|
|
|
2248
2242
|
return SignupModal;
|
|
2249
2243
|
}(SvelteComponent));
|
|
2250
2244
|
/* src/icons/BackIcon.svelte generated by Svelte v3.48.0 */
|
|
2251
|
-
function create_fragment$
|
|
2245
|
+
function create_fragment$d(ctx) {
|
|
2252
2246
|
var svg;
|
|
2253
2247
|
var path;
|
|
2254
2248
|
return {
|
|
@@ -2278,13 +2272,13 @@ var BackIcon = /** @class */ (function (_super) {
|
|
|
2278
2272
|
__extends(BackIcon, _super);
|
|
2279
2273
|
function BackIcon(options) {
|
|
2280
2274
|
var _this = _super.call(this) || this;
|
|
2281
|
-
init(_this, options, null, create_fragment$
|
|
2275
|
+
init(_this, options, null, create_fragment$d, safe_not_equal, {});
|
|
2282
2276
|
return _this;
|
|
2283
2277
|
}
|
|
2284
2278
|
return BackIcon;
|
|
2285
2279
|
}(SvelteComponent));
|
|
2286
2280
|
/* src/modals/PassResetModal.svelte generated by Svelte v3.48.0 */
|
|
2287
|
-
function create_fragment$
|
|
2281
|
+
function create_fragment$c(ctx) {
|
|
2288
2282
|
var div3;
|
|
2289
2283
|
var div0;
|
|
2290
2284
|
var button;
|
|
@@ -2356,9 +2350,10 @@ function create_fragment$e(ctx) {
|
|
|
2356
2350
|
create_component(submitbutton.$$.fragment);
|
|
2357
2351
|
t8 = space();
|
|
2358
2352
|
div1 = element("div");
|
|
2359
|
-
div1.innerHTML = "<a class=\"ms-form__link\" href=\"
|
|
2353
|
+
div1.innerHTML = "<a class=\"ms-form__link\" href=\"mailto:support@memberstack.com?subject=Question%20from%20modal\">Still need help? <u>Contact us</u></a>";
|
|
2360
2354
|
t11 = space();
|
|
2361
2355
|
create_component(modalfooter.$$.fragment);
|
|
2356
|
+
attr(div0, "data-cy", "back-btn");
|
|
2362
2357
|
attr(div0, "class", "ms-modal__back");
|
|
2363
2358
|
attr(h2, "class", "ms-modal__title ms-modal__title--sub-text");
|
|
2364
2359
|
attr(p, "class", "ms-modal__text");
|
|
@@ -2516,7 +2511,7 @@ var PassResetModal = /** @class */ (function (_super) {
|
|
|
2516
2511
|
__extends(PassResetModal, _super);
|
|
2517
2512
|
function PassResetModal(options) {
|
|
2518
2513
|
var _this = _super.call(this) || this;
|
|
2519
|
-
init(_this, options, instance$7, create_fragment$
|
|
2514
|
+
init(_this, options, instance$7, create_fragment$c, safe_not_equal, { closeModal: 1, display: 0 });
|
|
2520
2515
|
return _this;
|
|
2521
2516
|
}
|
|
2522
2517
|
return PassResetModal;
|
|
@@ -2558,7 +2553,7 @@ function create_if_block$2(ctx) {
|
|
|
2558
2553
|
}
|
|
2559
2554
|
};
|
|
2560
2555
|
}
|
|
2561
|
-
function create_fragment$
|
|
2556
|
+
function create_fragment$b(ctx) {
|
|
2562
2557
|
var div4;
|
|
2563
2558
|
var div0;
|
|
2564
2559
|
var button;
|
|
@@ -2594,20 +2589,20 @@ function create_fragment$d(ctx) {
|
|
|
2594
2589
|
props: { closeModal: /*closeModal*/ ctx[1] }
|
|
2595
2590
|
});
|
|
2596
2591
|
figureelement = new FigureElement({});
|
|
2597
|
-
var if_block = !ctx[
|
|
2592
|
+
var if_block = !ctx[3] && create_if_block$2();
|
|
2598
2593
|
function passwordinput_passwordInputValid_binding(value) {
|
|
2599
|
-
/*passwordinput_passwordInputValid_binding*/ ctx[
|
|
2594
|
+
/*passwordinput_passwordInputValid_binding*/ ctx[8](value);
|
|
2600
2595
|
}
|
|
2601
2596
|
var passwordinput_props = { passwordLabel: "Choose a new password" };
|
|
2602
|
-
if ( /*passwordInputValid*/ctx[
|
|
2603
|
-
passwordinput_props.passwordInputValid = /*passwordInputValid*/ ctx[
|
|
2597
|
+
if ( /*passwordInputValid*/ctx[4] !== void 0) {
|
|
2598
|
+
passwordinput_props.passwordInputValid = /*passwordInputValid*/ ctx[4];
|
|
2604
2599
|
}
|
|
2605
2600
|
passwordinput = new PasswordInput({ props: passwordinput_props });
|
|
2606
2601
|
binding_callbacks.push(function () { return bind(passwordinput, 'passwordInputValid', passwordinput_passwordInputValid_binding); });
|
|
2607
2602
|
submitbutton = new SubmitButton({
|
|
2608
2603
|
props: {
|
|
2609
2604
|
buttonText: "Confirm & Reset",
|
|
2610
|
-
isLoading:
|
|
2605
|
+
isLoading: /*showLoader*/ ctx[2]
|
|
2611
2606
|
}
|
|
2612
2607
|
});
|
|
2613
2608
|
modalfooter = new ModalFooter({});
|
|
@@ -2642,7 +2637,7 @@ function create_fragment$d(ctx) {
|
|
|
2642
2637
|
create_component(submitbutton.$$.fragment);
|
|
2643
2638
|
t15 = space();
|
|
2644
2639
|
div2 = element("div");
|
|
2645
|
-
div2.innerHTML = "<a class=\"ms-form__link\" href=\"
|
|
2640
|
+
div2.innerHTML = "<a class=\"ms-form__link\" href=\"mailto:support@memberstack.com?subject=Question%20from%20modal\">Still need help? <u>Contact us</u></a>";
|
|
2646
2641
|
t18 = space();
|
|
2647
2642
|
create_component(modalfooter.$$.fragment);
|
|
2648
2643
|
attr(div0, "class", "ms-modal__back");
|
|
@@ -2693,8 +2688,8 @@ function create_fragment$d(ctx) {
|
|
|
2693
2688
|
current = true;
|
|
2694
2689
|
if (!mounted) {
|
|
2695
2690
|
dispose = [
|
|
2696
|
-
listen(button, "click", /*click_handler*/ ctx[
|
|
2697
|
-
listen(form, "submit", stop_propagation(prevent_default(/*submitPasswordToken*/ ctx[
|
|
2691
|
+
listen(button, "click", /*click_handler*/ ctx[7]),
|
|
2692
|
+
listen(form, "submit", stop_propagation(prevent_default(/*submitPasswordToken*/ ctx[5])))
|
|
2698
2693
|
];
|
|
2699
2694
|
mounted = true;
|
|
2700
2695
|
}
|
|
@@ -2705,9 +2700,9 @@ function create_fragment$d(ctx) {
|
|
|
2705
2700
|
if (dirty & /*closeModal*/ 2)
|
|
2706
2701
|
closebutton_changes.closeModal = /*closeModal*/ ctx[1];
|
|
2707
2702
|
closebutton.$set(closebutton_changes);
|
|
2708
|
-
if (!ctx[
|
|
2703
|
+
if (!ctx[3]) {
|
|
2709
2704
|
if (if_block) {
|
|
2710
|
-
if (dirty & /*tokenInputValid*/
|
|
2705
|
+
if (dirty & /*tokenInputValid*/ 8) {
|
|
2711
2706
|
transition_in(if_block, 1);
|
|
2712
2707
|
}
|
|
2713
2708
|
}
|
|
@@ -2726,12 +2721,16 @@ function create_fragment$d(ctx) {
|
|
|
2726
2721
|
check_outros();
|
|
2727
2722
|
}
|
|
2728
2723
|
var passwordinput_changes = {};
|
|
2729
|
-
if (!updating_passwordInputValid && dirty & /*passwordInputValid*/
|
|
2724
|
+
if (!updating_passwordInputValid && dirty & /*passwordInputValid*/ 16) {
|
|
2730
2725
|
updating_passwordInputValid = true;
|
|
2731
|
-
passwordinput_changes.passwordInputValid = /*passwordInputValid*/ ctx[
|
|
2726
|
+
passwordinput_changes.passwordInputValid = /*passwordInputValid*/ ctx[4];
|
|
2732
2727
|
add_flush_callback(function () { return updating_passwordInputValid = false; });
|
|
2733
2728
|
}
|
|
2734
2729
|
passwordinput.$set(passwordinput_changes);
|
|
2730
|
+
var submitbutton_changes = {};
|
|
2731
|
+
if (dirty & /*showLoader*/ 4)
|
|
2732
|
+
submitbutton_changes.isLoading = /*showLoader*/ ctx[2];
|
|
2733
|
+
submitbutton.$set(submitbutton_changes);
|
|
2735
2734
|
},
|
|
2736
2735
|
i: function (local) {
|
|
2737
2736
|
if (current)
|
|
@@ -2775,10 +2774,11 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
|
2775
2774
|
var closeModal = $$props.closeModal;
|
|
2776
2775
|
var display = $$props.display;
|
|
2777
2776
|
var onSuccessPasswordReset = $$props.onSuccessPasswordReset;
|
|
2777
|
+
var showLoader = false;
|
|
2778
2778
|
var tokenInputValid = true;
|
|
2779
2779
|
var passwordInputValid = true;
|
|
2780
2780
|
onMount(function () {
|
|
2781
|
-
var tokenElements =
|
|
2781
|
+
var tokenElements = __spread(document.querySelectorAll("input.ms-form__input--token"));
|
|
2782
2782
|
tokenElements.forEach(function (ele, index) {
|
|
2783
2783
|
ele.addEventListener("keydown", function (e) {
|
|
2784
2784
|
if (e.keyCode === 8 && e.target.value === "")
|
|
@@ -2798,7 +2798,7 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
|
2798
2798
|
});
|
|
2799
2799
|
});
|
|
2800
2800
|
var validateFields = function (e) {
|
|
2801
|
-
var tokenElements =
|
|
2801
|
+
var tokenElements = __spread(document.querySelectorAll("input.ms-form__input--token"));
|
|
2802
2802
|
var hasEmpty = tokenElements.some(function (el) {
|
|
2803
2803
|
if (!el.value) {
|
|
2804
2804
|
return true;
|
|
@@ -2806,10 +2806,10 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
|
2806
2806
|
return false;
|
|
2807
2807
|
});
|
|
2808
2808
|
if (hasEmpty) {
|
|
2809
|
-
$$invalidate(
|
|
2809
|
+
$$invalidate(3, tokenInputValid = false);
|
|
2810
2810
|
}
|
|
2811
2811
|
else {
|
|
2812
|
-
$$invalidate(
|
|
2812
|
+
$$invalidate(3, tokenInputValid = true);
|
|
2813
2813
|
}
|
|
2814
2814
|
return !hasEmpty;
|
|
2815
2815
|
};
|
|
@@ -2823,7 +2823,7 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
|
2823
2823
|
isValid = validateFields();
|
|
2824
2824
|
if (!isValid)
|
|
2825
2825
|
return [2 /*return*/];
|
|
2826
|
-
token =
|
|
2826
|
+
token = __spread(document.getElementsByName("token")).filter(function (_a) {
|
|
2827
2827
|
var name = _a.name;
|
|
2828
2828
|
return name;
|
|
2829
2829
|
}).map(function (_a) {
|
|
@@ -2833,11 +2833,13 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
|
2833
2833
|
_a.label = 1;
|
|
2834
2834
|
case 1:
|
|
2835
2835
|
_a.trys.push([1, 3, , 4]);
|
|
2836
|
+
$$invalidate(2, showLoader = true);
|
|
2836
2837
|
return [4 /*yield*/, window.$memberstackDom.resetMemberPassword({ token: token, newPassword: passwordInput.value })];
|
|
2837
2838
|
case 2:
|
|
2838
2839
|
data = (_a.sent()).data;
|
|
2840
|
+
window.$memberstackDom._showMessage("Password successfully reset", false);
|
|
2839
2841
|
onSuccessPasswordReset({ type: "PASSWORD_RESET", data: data });
|
|
2840
|
-
showLoader = false;
|
|
2842
|
+
$$invalidate(2, showLoader = false);
|
|
2841
2843
|
return [3 /*break*/, 4];
|
|
2842
2844
|
case 3:
|
|
2843
2845
|
err_4 = _a.sent();
|
|
@@ -2855,7 +2857,7 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
|
2855
2857
|
var click_handler = function () { return $$invalidate(0, display = "forgot_password"); };
|
|
2856
2858
|
function passwordinput_passwordInputValid_binding(value) {
|
|
2857
2859
|
passwordInputValid = value;
|
|
2858
|
-
$$invalidate(
|
|
2860
|
+
$$invalidate(4, passwordInputValid);
|
|
2859
2861
|
}
|
|
2860
2862
|
$$self.$$set = function ($$props) {
|
|
2861
2863
|
if ('closeModal' in $$props)
|
|
@@ -2863,11 +2865,12 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
|
2863
2865
|
if ('display' in $$props)
|
|
2864
2866
|
$$invalidate(0, display = $$props.display);
|
|
2865
2867
|
if ('onSuccessPasswordReset' in $$props)
|
|
2866
|
-
$$invalidate(
|
|
2868
|
+
$$invalidate(6, onSuccessPasswordReset = $$props.onSuccessPasswordReset);
|
|
2867
2869
|
};
|
|
2868
2870
|
return [
|
|
2869
2871
|
display,
|
|
2870
2872
|
closeModal,
|
|
2873
|
+
showLoader,
|
|
2871
2874
|
tokenInputValid,
|
|
2872
2875
|
passwordInputValid,
|
|
2873
2876
|
submitPasswordToken,
|
|
@@ -2880,17 +2883,17 @@ var PassTokenModal = /** @class */ (function (_super) {
|
|
|
2880
2883
|
__extends(PassTokenModal, _super);
|
|
2881
2884
|
function PassTokenModal(options) {
|
|
2882
2885
|
var _this = _super.call(this) || this;
|
|
2883
|
-
init(_this, options, instance$6, create_fragment$
|
|
2886
|
+
init(_this, options, instance$6, create_fragment$b, safe_not_equal, {
|
|
2884
2887
|
closeModal: 1,
|
|
2885
2888
|
display: 0,
|
|
2886
|
-
onSuccessPasswordReset:
|
|
2889
|
+
onSuccessPasswordReset: 6
|
|
2887
2890
|
});
|
|
2888
2891
|
return _this;
|
|
2889
2892
|
}
|
|
2890
2893
|
return PassTokenModal;
|
|
2891
2894
|
}(SvelteComponent));
|
|
2892
2895
|
/* src/icons/ProfileIcon.svelte generated by Svelte v3.48.0 */
|
|
2893
|
-
function create_fragment$
|
|
2896
|
+
function create_fragment$a(ctx) {
|
|
2894
2897
|
var svg;
|
|
2895
2898
|
var path;
|
|
2896
2899
|
return {
|
|
@@ -2920,13 +2923,13 @@ var ProfileIcon = /** @class */ (function (_super) {
|
|
|
2920
2923
|
__extends(ProfileIcon, _super);
|
|
2921
2924
|
function ProfileIcon(options) {
|
|
2922
2925
|
var _this = _super.call(this) || this;
|
|
2923
|
-
init(_this, options, null, create_fragment$
|
|
2926
|
+
init(_this, options, null, create_fragment$a, safe_not_equal, {});
|
|
2924
2927
|
return _this;
|
|
2925
2928
|
}
|
|
2926
2929
|
return ProfileIcon;
|
|
2927
2930
|
}(SvelteComponent));
|
|
2928
2931
|
/* src/icons/SecurityIcon.svelte generated by Svelte v3.48.0 */
|
|
2929
|
-
function create_fragment$
|
|
2932
|
+
function create_fragment$9(ctx) {
|
|
2930
2933
|
var svg;
|
|
2931
2934
|
var path;
|
|
2932
2935
|
return {
|
|
@@ -2955,104 +2958,13 @@ function create_fragment$b(ctx) {
|
|
|
2955
2958
|
var SecurityIcon = /** @class */ (function (_super) {
|
|
2956
2959
|
__extends(SecurityIcon, _super);
|
|
2957
2960
|
function SecurityIcon(options) {
|
|
2958
|
-
var _this = _super.call(this) || this;
|
|
2959
|
-
init(_this, options, null, create_fragment$b, safe_not_equal, {});
|
|
2960
|
-
return _this;
|
|
2961
|
-
}
|
|
2962
|
-
return SecurityIcon;
|
|
2963
|
-
}(SvelteComponent));
|
|
2964
|
-
/* src/icons/ProductsIcon.svelte generated by Svelte v3.48.0 */
|
|
2965
|
-
function create_fragment$a(ctx) {
|
|
2966
|
-
var svg;
|
|
2967
|
-
var path;
|
|
2968
|
-
return {
|
|
2969
|
-
c: function () {
|
|
2970
|
-
svg = svg_element("svg");
|
|
2971
|
-
path = svg_element("path");
|
|
2972
|
-
attr(path, "d", "m14.55 11c0.75 0 1.41-0.41 1.75-1.03l3.58-6.49c0.37-0.66-0.11-1.48-0.87-1.48h-14.8l-0.94-2h-3.27v2h2l3.6 7.59-1.35 2.44c-0.73 1.34 0.23 2.97 1.75 2.97h12v-2h-12l1.1-2h7.45zm-9.39-7h12.15l-2.76 5h-7.02l-2.37-5zm0.84 12c-1.1 0-1.99 0.9-1.99 2s0.89 2 1.99 2 2-0.9 2-2-0.9-2-2-2zm10 0c-1.1 0-1.99 0.9-1.99 2s0.89 2 1.99 2 2-0.9 2-2-0.9-2-2-2z");
|
|
2973
|
-
attr(path, "fill", "currentColor");
|
|
2974
|
-
attr(svg, "fill", "none");
|
|
2975
|
-
attr(svg, "viewBox", "0 0 21 20");
|
|
2976
|
-
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
2977
|
-
},
|
|
2978
|
-
m: function (target, anchor) {
|
|
2979
|
-
insert(target, svg, anchor);
|
|
2980
|
-
append(svg, path);
|
|
2981
|
-
},
|
|
2982
|
-
p: noop,
|
|
2983
|
-
i: noop,
|
|
2984
|
-
o: noop,
|
|
2985
|
-
d: function (detaching) {
|
|
2986
|
-
if (detaching)
|
|
2987
|
-
detach(svg);
|
|
2988
|
-
}
|
|
2989
|
-
};
|
|
2990
|
-
}
|
|
2991
|
-
var ProductsIcon = /** @class */ (function (_super) {
|
|
2992
|
-
__extends(ProductsIcon, _super);
|
|
2993
|
-
function ProductsIcon(options) {
|
|
2994
|
-
var _this = _super.call(this) || this;
|
|
2995
|
-
init(_this, options, null, create_fragment$a, safe_not_equal, {});
|
|
2996
|
-
return _this;
|
|
2997
|
-
}
|
|
2998
|
-
return ProductsIcon;
|
|
2999
|
-
}(SvelteComponent));
|
|
3000
|
-
/* src/icons/InvoicesIcon.svelte generated by Svelte v3.48.0 */
|
|
3001
|
-
function create_fragment$9(ctx) {
|
|
3002
|
-
var svg;
|
|
3003
|
-
var path0;
|
|
3004
|
-
var path1;
|
|
3005
|
-
var path2;
|
|
3006
|
-
var path3;
|
|
3007
|
-
var path4;
|
|
3008
|
-
return {
|
|
3009
|
-
c: function () {
|
|
3010
|
-
svg = svg_element("svg");
|
|
3011
|
-
path0 = svg_element("path");
|
|
3012
|
-
path1 = svg_element("path");
|
|
3013
|
-
path2 = svg_element("path");
|
|
3014
|
-
path3 = svg_element("path");
|
|
3015
|
-
path4 = svg_element("path");
|
|
3016
|
-
attr(path0, "d", "m16.5 1.5-1.5-1.5-1.5 1.5-1.5-1.5-1.5 1.5-1.5-1.5-1.5 1.5-1.5-1.5-1.5 1.5-1.5-1.5v14h-3v3c0 1.66 1.34 3 3 3h12c1.66 0 3-1.34 3-3v-17l-1.5 1.5zm-4.5 16.5h-9c-0.55 0-1-0.45-1-1v-1h10v2zm4-1c0 0.55-0.45 1-1 1s-1-0.45-1-1v-3h-9v-11h11v14z");
|
|
3017
|
-
attr(path0, "fill", "currentColor");
|
|
3018
|
-
attr(path1, "d", "M12 5H6V7H12V5Z");
|
|
3019
|
-
attr(path1, "fill", "currentColor");
|
|
3020
|
-
attr(path2, "d", "m15 5h-2v2h2v-2z");
|
|
3021
|
-
attr(path2, "fill", "currentColor");
|
|
3022
|
-
attr(path3, "d", "m12 8h-6v2h6v-2z");
|
|
3023
|
-
attr(path3, "fill", "currentColor");
|
|
3024
|
-
attr(path4, "d", "m15 8h-2v2h2v-2z");
|
|
3025
|
-
attr(path4, "fill", "currentColor");
|
|
3026
|
-
attr(svg, "viewBox", "0 0 18 20");
|
|
3027
|
-
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
3028
|
-
},
|
|
3029
|
-
m: function (target, anchor) {
|
|
3030
|
-
insert(target, svg, anchor);
|
|
3031
|
-
append(svg, path0);
|
|
3032
|
-
append(svg, path1);
|
|
3033
|
-
append(svg, path2);
|
|
3034
|
-
append(svg, path3);
|
|
3035
|
-
append(svg, path4);
|
|
3036
|
-
},
|
|
3037
|
-
p: noop,
|
|
3038
|
-
i: noop,
|
|
3039
|
-
o: noop,
|
|
3040
|
-
d: function (detaching) {
|
|
3041
|
-
if (detaching)
|
|
3042
|
-
detach(svg);
|
|
3043
|
-
}
|
|
3044
|
-
};
|
|
3045
|
-
}
|
|
3046
|
-
var InvoicesIcon = /** @class */ (function (_super) {
|
|
3047
|
-
__extends(InvoicesIcon, _super);
|
|
3048
|
-
function InvoicesIcon(options) {
|
|
3049
2961
|
var _this = _super.call(this) || this;
|
|
3050
2962
|
init(_this, options, null, create_fragment$9, safe_not_equal, {});
|
|
3051
2963
|
return _this;
|
|
3052
2964
|
}
|
|
3053
|
-
return
|
|
2965
|
+
return SecurityIcon;
|
|
3054
2966
|
}(SvelteComponent));
|
|
3055
|
-
/* src/icons/
|
|
2967
|
+
/* src/icons/LinkOutIcon.svelte generated by Svelte v3.48.0 */
|
|
3056
2968
|
function create_fragment$8(ctx) {
|
|
3057
2969
|
var svg;
|
|
3058
2970
|
var path;
|
|
@@ -3060,10 +2972,10 @@ function create_fragment$8(ctx) {
|
|
|
3060
2972
|
c: function () {
|
|
3061
2973
|
svg = svg_element("svg");
|
|
3062
2974
|
path = svg_element("path");
|
|
3063
|
-
attr(path, "d", "m18 0h-16c-1.11 0-1.99 0.89-1.99 2l-0.01 12c0 1.11 0.89 2 2 2h16c1.11 0 2-0.89 2-2v-12c0-1.11-0.89-2-2-2zm0 14h-16v-6h16v6zm0-10h-16v-2h16v2z");
|
|
3064
2975
|
attr(path, "fill", "currentColor");
|
|
2976
|
+
attr(path, "d", "M16 16H2V2H9V0H2C0.89 0 0 0.9 0 2V16C0 17.1 0.89 18 2 18H16C17.1 18 18 17.1 18 16V9H16V16ZM11 0V2H14.59L4.76 11.83L6.17 13.24L16 3.41V7H18V0H11Z");
|
|
3065
2977
|
attr(svg, "fill", "none");
|
|
3066
|
-
attr(svg, "viewBox", "0 0
|
|
2978
|
+
attr(svg, "viewBox", "0 0 18 18");
|
|
3067
2979
|
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
3068
2980
|
},
|
|
3069
2981
|
m: function (target, anchor) {
|
|
@@ -3079,14 +2991,14 @@ function create_fragment$8(ctx) {
|
|
|
3079
2991
|
}
|
|
3080
2992
|
};
|
|
3081
2993
|
}
|
|
3082
|
-
var
|
|
3083
|
-
__extends(
|
|
3084
|
-
function
|
|
2994
|
+
var LinkOutIcon = /** @class */ (function (_super) {
|
|
2995
|
+
__extends(LinkOutIcon, _super);
|
|
2996
|
+
function LinkOutIcon(options) {
|
|
3085
2997
|
var _this = _super.call(this) || this;
|
|
3086
2998
|
init(_this, options, null, create_fragment$8, safe_not_equal, {});
|
|
3087
2999
|
return _this;
|
|
3088
3000
|
}
|
|
3089
|
-
return
|
|
3001
|
+
return LinkOutIcon;
|
|
3090
3002
|
}(SvelteComponent));
|
|
3091
3003
|
/* src/icons/LogoutIcon.svelte generated by Svelte v3.48.0 */
|
|
3092
3004
|
function create_fragment$7(ctx) {
|
|
@@ -3128,112 +3040,89 @@ var LogoutIcon = /** @class */ (function (_super) {
|
|
|
3128
3040
|
}(SvelteComponent));
|
|
3129
3041
|
/* src/components/ProfileModalNav.svelte generated by Svelte v3.48.0 */
|
|
3130
3042
|
function create_fragment$6(ctx) {
|
|
3131
|
-
var
|
|
3043
|
+
var button0;
|
|
3132
3044
|
var profileicon;
|
|
3133
3045
|
var t0;
|
|
3134
3046
|
var t1;
|
|
3135
|
-
var
|
|
3047
|
+
var button1;
|
|
3136
3048
|
var securityicon;
|
|
3137
3049
|
var t2;
|
|
3138
3050
|
var t3;
|
|
3139
|
-
var
|
|
3140
|
-
var
|
|
3051
|
+
var button2;
|
|
3052
|
+
var linkouticon;
|
|
3141
3053
|
var t4;
|
|
3142
3054
|
var t5;
|
|
3143
|
-
var
|
|
3144
|
-
var invoicesicon;
|
|
3145
|
-
var t6;
|
|
3146
|
-
var t7;
|
|
3147
|
-
var div4;
|
|
3148
|
-
var paymenticon;
|
|
3149
|
-
var t8;
|
|
3150
|
-
var t9;
|
|
3151
|
-
var div5;
|
|
3055
|
+
var button3;
|
|
3152
3056
|
var logouticon;
|
|
3153
|
-
var
|
|
3057
|
+
var t6;
|
|
3154
3058
|
var current;
|
|
3155
3059
|
var mounted;
|
|
3156
3060
|
var dispose;
|
|
3157
3061
|
profileicon = new ProfileIcon({});
|
|
3158
3062
|
securityicon = new SecurityIcon({});
|
|
3159
|
-
|
|
3160
|
-
invoicesicon = new InvoicesIcon({});
|
|
3161
|
-
paymenticon = new PaymentIcon({});
|
|
3063
|
+
linkouticon = new LinkOutIcon({});
|
|
3162
3064
|
logouticon = new LogoutIcon({});
|
|
3163
3065
|
return {
|
|
3164
3066
|
c: function () {
|
|
3165
|
-
|
|
3067
|
+
button0 = element("button");
|
|
3166
3068
|
create_component(profileicon.$$.fragment);
|
|
3167
3069
|
t0 = text(" Profile");
|
|
3168
3070
|
t1 = space();
|
|
3169
|
-
|
|
3071
|
+
button1 = element("button");
|
|
3170
3072
|
create_component(securityicon.$$.fragment);
|
|
3171
3073
|
t2 = text(" Security");
|
|
3172
3074
|
t3 = space();
|
|
3173
|
-
|
|
3174
|
-
create_component(
|
|
3175
|
-
t4 = text("
|
|
3075
|
+
button2 = element("button");
|
|
3076
|
+
create_component(linkouticon.$$.fragment);
|
|
3077
|
+
t4 = text(" Billing Portal");
|
|
3176
3078
|
t5 = space();
|
|
3177
|
-
|
|
3178
|
-
create_component(invoicesicon.$$.fragment);
|
|
3179
|
-
t6 = text(" Invoices");
|
|
3180
|
-
t7 = space();
|
|
3181
|
-
div4 = element("div");
|
|
3182
|
-
create_component(paymenticon.$$.fragment);
|
|
3183
|
-
t8 = text(" Payment Methods");
|
|
3184
|
-
t9 = space();
|
|
3185
|
-
div5 = element("div");
|
|
3079
|
+
button3 = element("button");
|
|
3186
3080
|
create_component(logouticon.$$.fragment);
|
|
3187
|
-
|
|
3188
|
-
attr(
|
|
3189
|
-
toggle_class(
|
|
3190
|
-
attr(
|
|
3191
|
-
toggle_class(
|
|
3192
|
-
attr(
|
|
3193
|
-
attr(
|
|
3194
|
-
attr(div4, "class", "ms-modal__profile-option");
|
|
3195
|
-
attr(div5, "class", "ms-modal__profile-option");
|
|
3081
|
+
t6 = text(" Logout");
|
|
3082
|
+
attr(button0, "class", "ms-modal__profile-option");
|
|
3083
|
+
toggle_class(button0, "ms-modal__profile-option--active", /*displayProfile*/ ctx[0] === "profile");
|
|
3084
|
+
attr(button1, "class", "ms-modal__profile-option");
|
|
3085
|
+
toggle_class(button1, "ms-modal__profile-option--active", /*displayProfile*/ ctx[0] === "security" || /*displayProfile*/ ctx[0] === "changePassword");
|
|
3086
|
+
attr(button2, "class", "ms-modal__profile-option");
|
|
3087
|
+
attr(button3, "class", "ms-modal__profile-option");
|
|
3196
3088
|
},
|
|
3197
3089
|
m: function (target, anchor) {
|
|
3198
|
-
insert(target,
|
|
3199
|
-
mount_component(profileicon,
|
|
3200
|
-
append(
|
|
3090
|
+
insert(target, button0, anchor);
|
|
3091
|
+
mount_component(profileicon, button0, null);
|
|
3092
|
+
append(button0, t0);
|
|
3201
3093
|
insert(target, t1, anchor);
|
|
3202
|
-
insert(target,
|
|
3203
|
-
mount_component(securityicon,
|
|
3204
|
-
append(
|
|
3094
|
+
insert(target, button1, anchor);
|
|
3095
|
+
mount_component(securityicon, button1, null);
|
|
3096
|
+
append(button1, t2);
|
|
3205
3097
|
insert(target, t3, anchor);
|
|
3206
|
-
insert(target,
|
|
3207
|
-
mount_component(
|
|
3208
|
-
append(
|
|
3098
|
+
insert(target, button2, anchor);
|
|
3099
|
+
mount_component(linkouticon, button2, null);
|
|
3100
|
+
append(button2, t4);
|
|
3209
3101
|
insert(target, t5, anchor);
|
|
3210
|
-
insert(target,
|
|
3211
|
-
mount_component(
|
|
3212
|
-
append(
|
|
3213
|
-
insert(target, t7, anchor);
|
|
3214
|
-
insert(target, div4, anchor);
|
|
3215
|
-
mount_component(paymenticon, div4, null);
|
|
3216
|
-
append(div4, t8);
|
|
3217
|
-
insert(target, t9, anchor);
|
|
3218
|
-
insert(target, div5, anchor);
|
|
3219
|
-
mount_component(logouticon, div5, null);
|
|
3220
|
-
append(div5, t10);
|
|
3102
|
+
insert(target, button3, anchor);
|
|
3103
|
+
mount_component(logouticon, button3, null);
|
|
3104
|
+
append(button3, t6);
|
|
3221
3105
|
current = true;
|
|
3222
3106
|
if (!mounted) {
|
|
3223
3107
|
dispose = [
|
|
3224
|
-
listen(
|
|
3225
|
-
listen(
|
|
3108
|
+
listen(button0, "click", /*click_handler*/ ctx[2]),
|
|
3109
|
+
listen(button1, "click", /*click_handler_1*/ ctx[3]),
|
|
3110
|
+
listen(button2, "click", function () {
|
|
3111
|
+
if (is_function(/*displayBilling*/ ctx[1])) /*displayBilling*/
|
|
3112
|
+
ctx[1].apply(this, arguments);
|
|
3113
|
+
})
|
|
3226
3114
|
];
|
|
3227
3115
|
mounted = true;
|
|
3228
3116
|
}
|
|
3229
3117
|
},
|
|
3230
|
-
p: function (
|
|
3118
|
+
p: function (new_ctx, _a) {
|
|
3231
3119
|
var _b = __read(_a, 1), dirty = _b[0];
|
|
3120
|
+
ctx = new_ctx;
|
|
3232
3121
|
if (dirty & /*displayProfile*/ 1) {
|
|
3233
|
-
toggle_class(
|
|
3122
|
+
toggle_class(button0, "ms-modal__profile-option--active", /*displayProfile*/ ctx[0] === "profile");
|
|
3234
3123
|
}
|
|
3235
3124
|
if (dirty & /*displayProfile*/ 1) {
|
|
3236
|
-
toggle_class(
|
|
3125
|
+
toggle_class(button1, "ms-modal__profile-option--active", /*displayProfile*/ ctx[0] === "security" || /*displayProfile*/ ctx[0] === "changePassword");
|
|
3237
3126
|
}
|
|
3238
3127
|
},
|
|
3239
3128
|
i: function (local) {
|
|
@@ -3241,49 +3130,35 @@ function create_fragment$6(ctx) {
|
|
|
3241
3130
|
return;
|
|
3242
3131
|
transition_in(profileicon.$$.fragment, local);
|
|
3243
3132
|
transition_in(securityicon.$$.fragment, local);
|
|
3244
|
-
transition_in(
|
|
3245
|
-
transition_in(invoicesicon.$$.fragment, local);
|
|
3246
|
-
transition_in(paymenticon.$$.fragment, local);
|
|
3133
|
+
transition_in(linkouticon.$$.fragment, local);
|
|
3247
3134
|
transition_in(logouticon.$$.fragment, local);
|
|
3248
3135
|
current = true;
|
|
3249
3136
|
},
|
|
3250
3137
|
o: function (local) {
|
|
3251
3138
|
transition_out(profileicon.$$.fragment, local);
|
|
3252
3139
|
transition_out(securityicon.$$.fragment, local);
|
|
3253
|
-
transition_out(
|
|
3254
|
-
transition_out(invoicesicon.$$.fragment, local);
|
|
3255
|
-
transition_out(paymenticon.$$.fragment, local);
|
|
3140
|
+
transition_out(linkouticon.$$.fragment, local);
|
|
3256
3141
|
transition_out(logouticon.$$.fragment, local);
|
|
3257
3142
|
current = false;
|
|
3258
3143
|
},
|
|
3259
3144
|
d: function (detaching) {
|
|
3260
3145
|
if (detaching)
|
|
3261
|
-
detach(
|
|
3146
|
+
detach(button0);
|
|
3262
3147
|
destroy_component(profileicon);
|
|
3263
3148
|
if (detaching)
|
|
3264
3149
|
detach(t1);
|
|
3265
3150
|
if (detaching)
|
|
3266
|
-
detach(
|
|
3151
|
+
detach(button1);
|
|
3267
3152
|
destroy_component(securityicon);
|
|
3268
3153
|
if (detaching)
|
|
3269
3154
|
detach(t3);
|
|
3270
3155
|
if (detaching)
|
|
3271
|
-
detach(
|
|
3272
|
-
destroy_component(
|
|
3156
|
+
detach(button2);
|
|
3157
|
+
destroy_component(linkouticon);
|
|
3273
3158
|
if (detaching)
|
|
3274
3159
|
detach(t5);
|
|
3275
3160
|
if (detaching)
|
|
3276
|
-
detach(
|
|
3277
|
-
destroy_component(invoicesicon);
|
|
3278
|
-
if (detaching)
|
|
3279
|
-
detach(t7);
|
|
3280
|
-
if (detaching)
|
|
3281
|
-
detach(div4);
|
|
3282
|
-
destroy_component(paymenticon);
|
|
3283
|
-
if (detaching)
|
|
3284
|
-
detach(t9);
|
|
3285
|
-
if (detaching)
|
|
3286
|
-
detach(div5);
|
|
3161
|
+
detach(button3);
|
|
3287
3162
|
destroy_component(logouticon);
|
|
3288
3163
|
mounted = false;
|
|
3289
3164
|
run_all(dispose);
|
|
@@ -3292,19 +3167,22 @@ function create_fragment$6(ctx) {
|
|
|
3292
3167
|
}
|
|
3293
3168
|
function instance$5($$self, $$props, $$invalidate) {
|
|
3294
3169
|
var displayProfile = $$props.displayProfile;
|
|
3170
|
+
var displayBilling = $$props.displayBilling;
|
|
3295
3171
|
var click_handler = function () { return $$invalidate(0, displayProfile = "profile"); };
|
|
3296
3172
|
var click_handler_1 = function () { return $$invalidate(0, displayProfile = "security"); };
|
|
3297
3173
|
$$self.$$set = function ($$props) {
|
|
3298
3174
|
if ('displayProfile' in $$props)
|
|
3299
3175
|
$$invalidate(0, displayProfile = $$props.displayProfile);
|
|
3176
|
+
if ('displayBilling' in $$props)
|
|
3177
|
+
$$invalidate(1, displayBilling = $$props.displayBilling);
|
|
3300
3178
|
};
|
|
3301
|
-
return [displayProfile, click_handler, click_handler_1];
|
|
3179
|
+
return [displayProfile, displayBilling, click_handler, click_handler_1];
|
|
3302
3180
|
}
|
|
3303
3181
|
var ProfileModalNav = /** @class */ (function (_super) {
|
|
3304
3182
|
__extends(ProfileModalNav, _super);
|
|
3305
3183
|
function ProfileModalNav(options) {
|
|
3306
3184
|
var _this = _super.call(this) || this;
|
|
3307
|
-
init(_this, options, instance$5, create_fragment$6, safe_not_equal, { displayProfile: 0 });
|
|
3185
|
+
init(_this, options, instance$5, create_fragment$6, safe_not_equal, { displayProfile: 0, displayBilling: 1 });
|
|
3308
3186
|
return _this;
|
|
3309
3187
|
}
|
|
3310
3188
|
return ProfileModalNav;
|
|
@@ -3807,7 +3685,7 @@ function create_if_block_2$1(ctx) {
|
|
|
3807
3685
|
var updating_displayProfile;
|
|
3808
3686
|
var current;
|
|
3809
3687
|
function passwordinfocontent_displayProfile_binding(value) {
|
|
3810
|
-
/*passwordinfocontent_displayProfile_binding*/ ctx[
|
|
3688
|
+
/*passwordinfocontent_displayProfile_binding*/ ctx[4](value);
|
|
3811
3689
|
}
|
|
3812
3690
|
var passwordinfocontent_props = {};
|
|
3813
3691
|
if ( /*displayProfile*/ctx[0] !== void 0) {
|
|
@@ -3853,7 +3731,7 @@ function create_if_block_1$1(ctx) {
|
|
|
3853
3731
|
var updating_displayProfile;
|
|
3854
3732
|
var current;
|
|
3855
3733
|
function securityinfocontent_displayProfile_binding(value) {
|
|
3856
|
-
/*securityinfocontent_displayProfile_binding*/ ctx[
|
|
3734
|
+
/*securityinfocontent_displayProfile_binding*/ ctx[3](value);
|
|
3857
3735
|
}
|
|
3858
3736
|
var securityinfocontent_props = {};
|
|
3859
3737
|
if ( /*displayProfile*/ctx[0] !== void 0) {
|
|
@@ -3948,7 +3826,7 @@ function create_fragment$1(ctx) {
|
|
|
3948
3826
|
props: { closeModal: /*closeModal*/ ctx[1] }
|
|
3949
3827
|
});
|
|
3950
3828
|
function profilemodalnav_displayProfile_binding(value) {
|
|
3951
|
-
/*profilemodalnav_displayProfile_binding*/ ctx[
|
|
3829
|
+
/*profilemodalnav_displayProfile_binding*/ ctx[2](value);
|
|
3952
3830
|
}
|
|
3953
3831
|
var profilemodalnav_props = {};
|
|
3954
3832
|
if ( /*displayProfile*/ctx[0] !== void 0) {
|
|
@@ -4100,7 +3978,6 @@ function create_fragment$1(ctx) {
|
|
|
4100
3978
|
}
|
|
4101
3979
|
function instance$1($$self, $$props, $$invalidate) {
|
|
4102
3980
|
var closeModal = $$props.closeModal;
|
|
4103
|
-
var logout = $$props.logout;
|
|
4104
3981
|
var _a = $$props.displayProfile, displayProfile = _a === void 0 ? "profile" : _a;
|
|
4105
3982
|
function profilemodalnav_displayProfile_binding(value) {
|
|
4106
3983
|
displayProfile = value;
|
|
@@ -4117,15 +3994,12 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
4117
3994
|
$$self.$$set = function ($$props) {
|
|
4118
3995
|
if ('closeModal' in $$props)
|
|
4119
3996
|
$$invalidate(1, closeModal = $$props.closeModal);
|
|
4120
|
-
if ('logout' in $$props)
|
|
4121
|
-
$$invalidate(2, logout = $$props.logout);
|
|
4122
3997
|
if ('displayProfile' in $$props)
|
|
4123
3998
|
$$invalidate(0, displayProfile = $$props.displayProfile);
|
|
4124
3999
|
};
|
|
4125
4000
|
return [
|
|
4126
4001
|
displayProfile,
|
|
4127
4002
|
closeModal,
|
|
4128
|
-
logout,
|
|
4129
4003
|
profilemodalnav_displayProfile_binding,
|
|
4130
4004
|
securityinfocontent_displayProfile_binding,
|
|
4131
4005
|
passwordinfocontent_displayProfile_binding
|
|
@@ -4135,18 +4009,14 @@ var ProfileModal = /** @class */ (function (_super) {
|
|
|
4135
4009
|
__extends(ProfileModal, _super);
|
|
4136
4010
|
function ProfileModal(options) {
|
|
4137
4011
|
var _this = _super.call(this) || this;
|
|
4138
|
-
init(_this, options, instance$1, create_fragment$1, safe_not_equal, {
|
|
4139
|
-
closeModal: 1,
|
|
4140
|
-
logout: 2,
|
|
4141
|
-
displayProfile: 0
|
|
4142
|
-
});
|
|
4012
|
+
init(_this, options, instance$1, create_fragment$1, safe_not_equal, { closeModal: 1, displayProfile: 0 });
|
|
4143
4013
|
return _this;
|
|
4144
4014
|
}
|
|
4145
4015
|
return ProfileModal;
|
|
4146
4016
|
}(SvelteComponent));
|
|
4147
4017
|
/* src/Main.svelte generated by Svelte v3.48.0 */
|
|
4148
4018
|
function add_css(target) {
|
|
4149
|
-
append_styles(target, "svelte-
|
|
4019
|
+
append_styles(target, "svelte-n5w4ub", "@import url(\"https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap\");#msOverlay.svelte-n5w4ub{position:fixed;display:flex;justify-content:center;align-items:center;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:rgba(0, 0, 0, 0.5);z-index:99999;overflow:scroll;font-family:\"Plus Jakarta Sans\", sans-serif}.--hide{display:none}.ms__loader{position:relative;z-index:10000000}#msLoader path{fill:#007ace}.ms-modal{box-sizing:border-box;margin:auto;min-width:0;position:relative;outline:none;background:white;border-radius:16px;box-shadow:2px 2px 12px rgb(0 0 0 / 10%);width:360px;color:rgb(10, 10, 10)}.ms-modal--profile{width:700px}.ms-modal__close{box-sizing:border-box;margin:0;min-width:0;position:absolute;top:16px;right:16px;z-index:10;line-height:0}.ms-modal__close button{appearance:none;padding:0;outline:none;width:12px;border:0;background:transparent;cursor:pointer;color:#5c5c5c}.ms-modal__close button:hover{color:#0a0a0a}.ms-modal__back{box-sizing:border-box;margin:0;min-width:0;position:absolute;top:16px;left:16px;z-index:10;line-height:0}.ms-modal__back button{appearance:none;padding:0;outline:none;width:12px;border:0;background:transparent;cursor:pointer;color:#5c5c5c}.ms-modal__back button:hover, .ms-modal__profile-back button:hover{color:#0a0a0a}.ms-modal__back svg{height:12px}.ms-modal__profile-back button{appearance:none;padding:5px;margin-right:6px;outline:none;width:25px;height:25px;border:0;background:transparent;cursor:pointer;color:#5c5c5c;display:flex;align-items:stretch;justify-content:center}.ms-modal__header{display:flex;align-items:center;padding:12px}.ms-modal__content{padding:28px 28px 20px;width:100%;box-sizing:border-box;margin:0 auto}.ms-modal__content--profile{padding:0;display:flex;flex-wrap:wrap;align-content:stretch;align-items:stretch;border-top:1px solid #DDDDDD}.ms-modal__content-left{display:flex;flex-direction:column;align-items:flex-start;padding:20px;border-right:1px solid #DDDDDD;min-width:160px}.ms-modal__content-right{padding:20px;flex-grow:1;min-height:300px;max-height:400px;overflow-y:auto}.ms-modal__figure{box-sizing:border-box;margin:8px auto;display:flex;width:44px;height:44px;border-radius:100%;border:1px solid rgb(235, 235, 235);box-shadow:rgb(0 0 0 / 4%) 0px 2px 2px 0px;padding:7px}.ms-modal__figure--profile{width:24px;height:24px;padding:3px;margin:0px 8px 0px 0px}.ms-modal__title-container{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.ms-modal__title{margin-bottom:36px;margin-top:0;text-align:center;font-size:24px;line-height:32px;font-weight:500}.ms-modal__title--profile{margin-bottom:0px}.ms-modal__title-group{display:flex;align-items:center}.ms-modal__title--sub-text{margin-bottom:8px}.ms-modal__text{font-weight:500;font-size:16px;line-height:28px;text-align:center;margin:0 0 20px 0}.ms-form{width:100%}.ms-form__group{margin-bottom:20px}.ms-form__flex{display:flex;justify-content:space-between;align-content:center}.ms-form__flex--centered{justify-content:center}.ms-form__label{margin-bottom:4px;margin-top:0px;font-size:14px;line-height:28px;font-weight:500}.ms-form__fieldset{display:flex;justify-content:space-between;padding:0;border:none}.ms-form__input{box-sizing:border-box;margin:0px;border:1px solid rgb(201, 201, 201);border-radius:6px;font-size:16px;font-weight:400;padding:15px;width:100%}.ms-form__password-container{display:flex;justify-content:space-between;align-content:center;box-sizing:border-box;margin:0px;border:1px solid rgb(201, 201, 201);border-radius:6px;width:100%}.ms-form__password-container:focus-within{border:1px solid rgb(0, 68, 252);outline:rgb(0, 68, 252) solid 1px}.ms-form__password-container:focus-within input{outline:none;border-color:rgb(201, 201, 201);box-shadow:none}.ms-form__input--password{border:none}.ms-form__input--token{font-weight:500;font-size:24.19px;line-height:32px;text-align:center;color:#000000;padding:9px;max-width:42px}.ms-form__show-toggle{cursor:pointer;background:transparent;border-radius:0px 6px 6px 0px;padding:0px 8px;display:flex;align-items:center}.ms-form__eye{display:block;width:22px}.ms-form__eye-slash{display:block;width:22px}.ms-form__error{font-weight:500;font-size:12px;line-height:16px;color:#e40023;margin-top:4px;display:flex;align-items:baseline}.ms-form__error svg{width:10px;height:10px;margin-right:5px}.ms-form__label--right a{color:rgb(10, 10, 10) !important;text-decoration:none;font-weight:400}.ms-form__button{border-radius:6px;font-weight:700;font-size:16px;padding-left:22px;padding-right:22px;height:52px;border:none;display:block;width:100%;background-color:rgb(41, 98, 255);color:#fff;transition:background-color 0.5s ease;cursor:pointer}.ms-form__button:hover{background-color:#0745ff}.ms-form__button:disabled{background-color:#96C0FE;color:#fff;pointer-events:none;display:flex;justify-content:center;align-items:center}.ms-form__button--text{background-color:transparent;padding:0px;height:auto;margin-bottom:0px;margin-top:0px;font-size:14px;line-height:28px;font-weight:500;color:rgb(10, 10, 10)}.ms-form__button--text:hover{background-color:transparent}#msFormLoader path{fill:#fff}a.ms-form__link{margin-top:8px;font-weight:500;font-size:14px;line-height:24px;color:rgb(10, 10, 10) !important;text-decoration:none}.ms-modal__cancel-button{background:#F6F6F6;color:#828282;padding:8px;margin-right:8px;border-radius:4px;border:none;font-weight:700;font-size:14px;line-height:16px;cursor:pointer}.ms-modal__save-button{background:#2962FF;color:#fff;padding:8px;border-radius:4px;border:none;font-weight:700;font-size:14px;line-height:16px;cursor:pointer}.ms-modal__outline-button{background:#fff;color:#0A0A0A;font-weight:700;font-size:14px;line-height:16px;padding:12px;margin-right:8px;border-radius:4px;border:1px solid #DDDDDD;cursor:pointer}.ms-modal__outline-button svg{height:14px;margin-right:6px}.ms-modal__button-label{margin-bottom:4px;margin-top:0px;font-size:14px;line-height:28px;font-weight:500}.ms-modal__profile-option{cursor:pointer;margin-bottom:20px;font-weight:500;font-size:16px;line-height:28px;background:transparent;border:none;padding:0px}.ms-modal__profile-option svg{height:14px;margin-right:8px}.ms-modal__profile-option:hover{color:#2962FF}.ms-modal__profile-option--active{color:#2962FF}.ms-modal__social-divider{display:flex;align-items:center;margin:20px 0px}.ms-modal__divider-line{text-align:center;background:#dddddd;height:1px;width:100%}.ms-modal__divider-text{padding:0px 4px}.ms-modal__footer{text-align:center;width:100%;box-sizing:border-box;margin:0;min-width:0;background:#f6f6f6;padding-top:10px;padding-bottom:10px;border-bottom-left-radius:16px;border-bottom-right-radius:16px;border-top:1px solid;border-top-color:#dddddd;font-size:12px;line-height:16px;font-weight:500}.ms-modal__footer a{color:rgb(10, 10, 10);text-decoration:none;display:flex;justify-content:center;align-items:center}.ms-modal__footer svg{height:12px;width:12px}");
|
|
4150
4020
|
}
|
|
4151
4021
|
// (23:2) {#if showLoader}
|
|
4152
4022
|
function create_if_block_5(ctx) {
|
|
@@ -4487,7 +4357,7 @@ function create_fragment(ctx) {
|
|
|
4487
4357
|
if (if_block1)
|
|
4488
4358
|
if_block1.c();
|
|
4489
4359
|
attr(main, "id", "msOverlay");
|
|
4490
|
-
attr(main, "class", "svelte-
|
|
4360
|
+
attr(main, "class", "svelte-n5w4ub");
|
|
4491
4361
|
},
|
|
4492
4362
|
m: function (target, anchor) {
|
|
4493
4363
|
insert(target, main, anchor);
|