@memberstack/dom 1.9.3 → 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.js +10 -20
- package/lib/index.d.ts +748 -31
- package/lib/methods/dom/main-dom.js +18 -31
- package/lib/methods/dom/methods.js +8 -14
- package/lib/methods/index.d.ts +748 -31
- package/lib/methods/index.js +2 -2
- package/lib/methods/requests/index.js +18 -19
- package/lib/methods/requests/requests.js +3 -4
- package/lib/types/index.js +2 -6
- package/lib/utils/cookies.js +2 -4
- package/package.json +1 -1
|
@@ -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,
|
|
@@ -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) {
|
|
@@ -1010,7 +1003,7 @@ function create_fragment$l(ctx) {
|
|
|
1010
1003
|
c: function () {
|
|
1011
1004
|
div = element("div");
|
|
1012
1005
|
label = element("label");
|
|
1013
|
-
label.textContent = ""
|
|
1006
|
+
label.textContent = "" + emailLabel;
|
|
1014
1007
|
t1 = space();
|
|
1015
1008
|
input = element("input");
|
|
1016
1009
|
t2 = space();
|
|
@@ -1205,6 +1198,7 @@ function create_if_block_2$2(ctx) {
|
|
|
1205
1198
|
attr(button, "data-cy", "forgot-password-btn");
|
|
1206
1199
|
attr(button, "class", "ms-form__button ms-form__button--text");
|
|
1207
1200
|
attr(button, "tabindex", "-1");
|
|
1201
|
+
attr(button, "type", "button");
|
|
1208
1202
|
attr(div, "class", "ms-form__label ms-form__label--right");
|
|
1209
1203
|
},
|
|
1210
1204
|
m: function (target, anchor) {
|
|
@@ -1666,6 +1660,7 @@ function create_if_block$3(ctx) {
|
|
|
1666
1660
|
button = element("button");
|
|
1667
1661
|
button.textContent = "Don't have an account?";
|
|
1668
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) {
|
|
@@ -2783,7 +2778,7 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
|
2783
2778
|
var tokenInputValid = true;
|
|
2784
2779
|
var passwordInputValid = true;
|
|
2785
2780
|
onMount(function () {
|
|
2786
|
-
var tokenElements =
|
|
2781
|
+
var tokenElements = __spread(document.querySelectorAll("input.ms-form__input--token"));
|
|
2787
2782
|
tokenElements.forEach(function (ele, index) {
|
|
2788
2783
|
ele.addEventListener("keydown", function (e) {
|
|
2789
2784
|
if (e.keyCode === 8 && e.target.value === "")
|
|
@@ -2803,7 +2798,7 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
|
2803
2798
|
});
|
|
2804
2799
|
});
|
|
2805
2800
|
var validateFields = function (e) {
|
|
2806
|
-
var tokenElements =
|
|
2801
|
+
var tokenElements = __spread(document.querySelectorAll("input.ms-form__input--token"));
|
|
2807
2802
|
var hasEmpty = tokenElements.some(function (el) {
|
|
2808
2803
|
if (!el.value) {
|
|
2809
2804
|
return true;
|
|
@@ -2828,7 +2823,7 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
|
2828
2823
|
isValid = validateFields();
|
|
2829
2824
|
if (!isValid)
|
|
2830
2825
|
return [2 /*return*/];
|
|
2831
|
-
token =
|
|
2826
|
+
token = __spread(document.getElementsByName("token")).filter(function (_a) {
|
|
2832
2827
|
var name = _a.name;
|
|
2833
2828
|
return name;
|
|
2834
2829
|
}).map(function (_a) {
|
|
@@ -3690,7 +3685,7 @@ function create_if_block_2$1(ctx) {
|
|
|
3690
3685
|
var updating_displayProfile;
|
|
3691
3686
|
var current;
|
|
3692
3687
|
function passwordinfocontent_displayProfile_binding(value) {
|
|
3693
|
-
/*passwordinfocontent_displayProfile_binding*/ ctx[
|
|
3688
|
+
/*passwordinfocontent_displayProfile_binding*/ ctx[4](value);
|
|
3694
3689
|
}
|
|
3695
3690
|
var passwordinfocontent_props = {};
|
|
3696
3691
|
if ( /*displayProfile*/ctx[0] !== void 0) {
|
|
@@ -3736,7 +3731,7 @@ function create_if_block_1$1(ctx) {
|
|
|
3736
3731
|
var updating_displayProfile;
|
|
3737
3732
|
var current;
|
|
3738
3733
|
function securityinfocontent_displayProfile_binding(value) {
|
|
3739
|
-
/*securityinfocontent_displayProfile_binding*/ ctx[
|
|
3734
|
+
/*securityinfocontent_displayProfile_binding*/ ctx[3](value);
|
|
3740
3735
|
}
|
|
3741
3736
|
var securityinfocontent_props = {};
|
|
3742
3737
|
if ( /*displayProfile*/ctx[0] !== void 0) {
|
|
@@ -3831,7 +3826,7 @@ function create_fragment$1(ctx) {
|
|
|
3831
3826
|
props: { closeModal: /*closeModal*/ ctx[1] }
|
|
3832
3827
|
});
|
|
3833
3828
|
function profilemodalnav_displayProfile_binding(value) {
|
|
3834
|
-
/*profilemodalnav_displayProfile_binding*/ ctx[
|
|
3829
|
+
/*profilemodalnav_displayProfile_binding*/ ctx[2](value);
|
|
3835
3830
|
}
|
|
3836
3831
|
var profilemodalnav_props = {};
|
|
3837
3832
|
if ( /*displayProfile*/ctx[0] !== void 0) {
|
|
@@ -3983,7 +3978,6 @@ function create_fragment$1(ctx) {
|
|
|
3983
3978
|
}
|
|
3984
3979
|
function instance$1($$self, $$props, $$invalidate) {
|
|
3985
3980
|
var closeModal = $$props.closeModal;
|
|
3986
|
-
var logout = $$props.logout;
|
|
3987
3981
|
var _a = $$props.displayProfile, displayProfile = _a === void 0 ? "profile" : _a;
|
|
3988
3982
|
function profilemodalnav_displayProfile_binding(value) {
|
|
3989
3983
|
displayProfile = value;
|
|
@@ -4000,15 +3994,12 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
4000
3994
|
$$self.$$set = function ($$props) {
|
|
4001
3995
|
if ('closeModal' in $$props)
|
|
4002
3996
|
$$invalidate(1, closeModal = $$props.closeModal);
|
|
4003
|
-
if ('logout' in $$props)
|
|
4004
|
-
$$invalidate(2, logout = $$props.logout);
|
|
4005
3997
|
if ('displayProfile' in $$props)
|
|
4006
3998
|
$$invalidate(0, displayProfile = $$props.displayProfile);
|
|
4007
3999
|
};
|
|
4008
4000
|
return [
|
|
4009
4001
|
displayProfile,
|
|
4010
4002
|
closeModal,
|
|
4011
|
-
logout,
|
|
4012
4003
|
profilemodalnav_displayProfile_binding,
|
|
4013
4004
|
securityinfocontent_displayProfile_binding,
|
|
4014
4005
|
passwordinfocontent_displayProfile_binding
|
|
@@ -4018,18 +4009,14 @@ var ProfileModal = /** @class */ (function (_super) {
|
|
|
4018
4009
|
__extends(ProfileModal, _super);
|
|
4019
4010
|
function ProfileModal(options) {
|
|
4020
4011
|
var _this = _super.call(this) || this;
|
|
4021
|
-
init(_this, options, instance$1, create_fragment$1, safe_not_equal, {
|
|
4022
|
-
closeModal: 1,
|
|
4023
|
-
logout: 2,
|
|
4024
|
-
displayProfile: 0
|
|
4025
|
-
});
|
|
4012
|
+
init(_this, options, instance$1, create_fragment$1, safe_not_equal, { closeModal: 1, displayProfile: 0 });
|
|
4026
4013
|
return _this;
|
|
4027
4014
|
}
|
|
4028
4015
|
return ProfileModal;
|
|
4029
4016
|
}(SvelteComponent));
|
|
4030
4017
|
/* src/Main.svelte generated by Svelte v3.48.0 */
|
|
4031
4018
|
function add_css(target) {
|
|
4032
|
-
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}");
|
|
4033
4020
|
}
|
|
4034
4021
|
// (23:2) {#if showLoader}
|
|
4035
4022
|
function create_if_block_5(ctx) {
|
|
@@ -4370,7 +4357,7 @@ function create_fragment(ctx) {
|
|
|
4370
4357
|
if (if_block1)
|
|
4371
4358
|
if_block1.c();
|
|
4372
4359
|
attr(main, "id", "msOverlay");
|
|
4373
|
-
attr(main, "class", "svelte-
|
|
4360
|
+
attr(main, "class", "svelte-n5w4ub");
|
|
4374
4361
|
},
|
|
4375
4362
|
m: function (target, anchor) {
|
|
4376
4363
|
insert(target, main, anchor);
|
|
@@ -41,14 +41,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
41
41
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
42
|
exports.hideModal = exports.openModal = exports.handleRedirect = exports.hideLoader = exports.showLoader = exports.showMessage = void 0;
|
|
43
43
|
var main_dom_js_1 = __importDefault(require("./main-dom.js"));
|
|
44
|
-
|
|
44
|
+
exports.showMessage = function (msg, isError) {
|
|
45
45
|
var cssEl = document.createElement("style");
|
|
46
46
|
var css = ".ms-error-message { position: fixed; left: 5%; right: 5%; bottom: 3%; z-index: 10000000; display: block; margin-right: auto; margin-left: auto; padding-top: 1em; padding-right: 10px; padding-bottom: 1em; border-radius: 3px; background-color: #fd3a57; box-shadow: 0 0 0 2px #fff; color: #fff; font-size: 1.1em; line-height: 1.8em; font-weight: 700; text-align: center; }";
|
|
47
47
|
cssEl.setAttribute("data-ms-style", "");
|
|
48
48
|
cssEl.appendChild(document.createTextNode(css));
|
|
49
49
|
document.head.appendChild(cssEl);
|
|
50
50
|
var color = isError ? "#FD3A57" : "#40c88b";
|
|
51
|
-
var messageHTML = "<div data-ms-message style=\"background: "
|
|
51
|
+
var messageHTML = "<div data-ms-message style=\"background: " + color + "\" class=\"ms-error-message\"><div id=\"ms-message\">" + msg + "</div></div>";
|
|
52
52
|
var div = document.createElement("div");
|
|
53
53
|
div.setAttribute("data-ms-message", "");
|
|
54
54
|
div.innerHTML = messageHTML;
|
|
@@ -59,8 +59,7 @@ var showMessage = function (msg, isError) {
|
|
|
59
59
|
(_b = document.querySelector("[data-ms-message]")) === null || _b === void 0 ? void 0 : _b.remove();
|
|
60
60
|
}, 4000);
|
|
61
61
|
};
|
|
62
|
-
exports.
|
|
63
|
-
var showLoader = function (element) {
|
|
62
|
+
exports.showLoader = function (element) {
|
|
64
63
|
if (element) {
|
|
65
64
|
element.style.display = "block";
|
|
66
65
|
return;
|
|
@@ -75,8 +74,7 @@ var showLoader = function (element) {
|
|
|
75
74
|
div.innerHTML = loaderHTML;
|
|
76
75
|
document.body.appendChild(div);
|
|
77
76
|
};
|
|
78
|
-
exports.
|
|
79
|
-
var hideLoader = function (element) {
|
|
77
|
+
exports.hideLoader = function (element) {
|
|
80
78
|
var _a;
|
|
81
79
|
if (element) {
|
|
82
80
|
element.style.display = "none";
|
|
@@ -84,15 +82,13 @@ var hideLoader = function (element) {
|
|
|
84
82
|
}
|
|
85
83
|
(_a = document.querySelector("[data-ms-loader]")) === null || _a === void 0 ? void 0 : _a.remove();
|
|
86
84
|
};
|
|
87
|
-
exports.
|
|
88
|
-
var handleRedirect = function (redirect, redirectOverride) {
|
|
85
|
+
exports.handleRedirect = function (redirect, redirectOverride) {
|
|
89
86
|
if (redirectOverride)
|
|
90
87
|
return window.location.href = redirectOverride;
|
|
91
88
|
if (redirect && (window.location.pathname !== redirect))
|
|
92
89
|
return window.location.href = redirect;
|
|
93
90
|
};
|
|
94
|
-
exports.
|
|
95
|
-
var openModal = function (type, params) {
|
|
91
|
+
exports.openModal = function (type, params) {
|
|
96
92
|
if (params === void 0) { params = {}; }
|
|
97
93
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
98
94
|
var resolveModal, modalPromise;
|
|
@@ -113,10 +109,8 @@ var openModal = function (type, params) {
|
|
|
113
109
|
});
|
|
114
110
|
});
|
|
115
111
|
};
|
|
116
|
-
exports.
|
|
117
|
-
var hideModal = function () {
|
|
112
|
+
exports.hideModal = function () {
|
|
118
113
|
var _a;
|
|
119
114
|
(_a = document.querySelector("#msOverlay")) === null || _a === void 0 ? void 0 : _a.remove();
|
|
120
|
-
|
|
115
|
+
exports.hideLoader();
|
|
121
116
|
};
|
|
122
|
-
exports.hideModal = hideModal;
|