@tapni/auth 1.0.4 → 1.0.6

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.
@@ -1,112 +0,0 @@
1
- import { _ as h, A as u, E as _ } from "./install-BzPu9V_c.js";
2
- import { resolveComponent as m, openBlock as r, createElementBlock as d, createCommentVNode as e, createElementVNode as t, createVNode as n, withCtx as a, toDisplayString as g, pushScopeId as f, popScopeId as w } from "vue";
3
- const v = {
4
- name: "AuthSecurity",
5
- mixins: [u],
6
- props: {
7
- payload: {
8
- type: Object,
9
- default: {}
10
- }
11
- },
12
- data() {
13
- return {
14
- loading: !1
15
- };
16
- },
17
- async mounted() {
18
- this.isLoggedIn || this.$router.push("/login");
19
- },
20
- methods: {
21
- close() {
22
- _.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 });
23
- }
24
- }
25
- }, i = (s) => (f("data-v-3e0687c7"), s = s(), w(), s), y = { class: "page-login content-boxed content-boxed-padding" }, b = /* @__PURE__ */ i(() => /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
26
- /* @__PURE__ */ t("img", {
27
- src: "https://cdn.tapni.co/icons/down-arrow.png",
28
- class: "responsive-image",
29
- style: { width: "35%" }
30
- })
31
- ], -1)), k = [
32
- b
33
- ], I = { class: "subheaderContainer full-top" }, x = ["src"], S = {
34
- class: "center-text",
35
- style: { "flex-grow": "1", "text-align": "center", margin: "0", "font-weight": "600" }
36
- }, A = { class: "container left-text" }, B = { class: "center-text" }, C = { class: "full-top" }, E = { class: "firstRow" }, L = ["src"], M = /* @__PURE__ */ i(() => /* @__PURE__ */ t("h4", null, "Tapni", -1)), R = ["src"], $ = { class: "firstRow" }, N = ["src"], V = /* @__PURE__ */ i(() => /* @__PURE__ */ t("h4", null, "MailSign", -1)), j = ["src"];
37
- function D(s, c, O, T, q, l) {
38
- const o = m("router-link");
39
- return r(), d("div", y, [
40
- s.isModal ? (r(), d("a", {
41
- key: 0,
42
- onClick: c[0] || (c[0] = (...p) => l.close && l.close(...p)),
43
- class: "color-black pull-right pointer",
44
- style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
45
- }, k)) : e("", !0),
46
- t("div", I, [
47
- n(o, {
48
- to: "/account",
49
- class: "button gray-button pointer left-button"
50
- }, {
51
- default: a(() => [
52
- t("img", {
53
- src: s.getIcon("arrow-gray-right.svg"),
54
- height: "20",
55
- width: "20",
56
- class: "btn-icon",
57
- style: { rotate: "180deg" }
58
- }, null, 8, x)
59
- ]),
60
- _: 1
61
- }),
62
- t("h2", S, g(s.ssoLang[s.appLanguage].apps), 1)
63
- ]),
64
- t("div", A, [
65
- t("p", B, g(s.ssoLang[s.appLanguage].apps_p), 1),
66
- t("div", C, [
67
- e("", !0),
68
- n(o, {
69
- to: "/apps/tapni",
70
- class: "settingRow"
71
- }, {
72
- default: a(() => [
73
- t("div", E, [
74
- t("img", {
75
- src: s.getIcon("tapni-logo-small-black.png"),
76
- class: "withBackground"
77
- }, null, 8, L),
78
- M,
79
- t("img", {
80
- src: s.getIcon("arrow-gray-right.svg")
81
- }, null, 8, R)
82
- ])
83
- ]),
84
- _: 1
85
- }),
86
- n(o, {
87
- to: "/apps/mailsign",
88
- class: "settingRow half-top"
89
- }, {
90
- default: a(() => [
91
- t("div", $, [
92
- t("img", {
93
- src: s.getIcon("app-logo-mailsign.svg"),
94
- class: "withBackground"
95
- }, null, 8, N),
96
- V,
97
- t("img", {
98
- src: s.getIcon("arrow-gray-right.svg")
99
- }, null, 8, j)
100
- ])
101
- ]),
102
- _: 1
103
- }),
104
- e("", !0)
105
- ])
106
- ])
107
- ]);
108
- }
109
- const G = /* @__PURE__ */ h(v, [["render", D], ["__scopeId", "data-v-3e0687c7"]]);
110
- export {
111
- G as default
112
- };
@@ -1,112 +0,0 @@
1
- import { _ as h, A as u, E as _ } from "./install-BzPu9V_c.js";
2
- import { resolveComponent as m, openBlock as r, createElementBlock as d, createCommentVNode as e, createElementVNode as t, createVNode as n, withCtx as a, toDisplayString as p, pushScopeId as f, popScopeId as w } from "vue";
3
- const v = {
4
- name: "AuthSecurity",
5
- mixins: [u],
6
- props: {
7
- payload: {
8
- type: Object,
9
- default: {}
10
- }
11
- },
12
- data() {
13
- return {
14
- loading: !1
15
- };
16
- },
17
- async mounted() {
18
- this.isLoggedIn || this.$router.push("/login");
19
- },
20
- methods: {
21
- close() {
22
- _.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 });
23
- }
24
- }
25
- }, i = (s) => (f("data-v-851bd608"), s = s(), w(), s), b = { class: "page-login content-boxed content-boxed-padding" }, y = /* @__PURE__ */ i(() => /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
26
- /* @__PURE__ */ t("img", {
27
- src: "https://cdn.tapni.co/icons/down-arrow.png",
28
- class: "responsive-image",
29
- style: { width: "35%" }
30
- })
31
- ], -1)), k = [
32
- y
33
- ], I = { class: "subheaderContainer full-top" }, x = ["src"], C = {
34
- class: "center-text",
35
- style: { "flex-grow": "1", "text-align": "center", margin: "0", "font-weight": "600" }
36
- }, S = { class: "container left-text" }, A = { class: "center-text" }, B = { class: "full-top" }, E = { class: "firstRow" }, $ = ["src"], M = /* @__PURE__ */ i(() => /* @__PURE__ */ t("h4", null, "Tapni", -1)), R = ["src"], L = { class: "firstRow" }, N = ["src"], V = /* @__PURE__ */ i(() => /* @__PURE__ */ t("h4", null, "MailSign", -1)), j = ["src"];
37
- function D(s, c, O, T, q, l) {
38
- const o = m("router-link");
39
- return r(), d("div", b, [
40
- s.isModal ? (r(), d("a", {
41
- key: 0,
42
- onClick: c[0] || (c[0] = (...g) => l.close && l.close(...g)),
43
- class: "color-black pull-right pointer",
44
- style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
45
- }, k)) : e("", !0),
46
- t("div", I, [
47
- n(o, {
48
- to: "/account",
49
- class: "button gray-button pointer left-button"
50
- }, {
51
- default: a(() => [
52
- t("img", {
53
- src: s.getIcon("arrow-gray-right.svg"),
54
- height: "20",
55
- width: "20",
56
- class: "btn-icon",
57
- style: { rotate: "180deg" }
58
- }, null, 8, x)
59
- ]),
60
- _: 1
61
- }),
62
- t("h2", C, p(s.$route.params.app), 1)
63
- ]),
64
- t("div", S, [
65
- t("p", A, p(s.ssoLang[s.appLanguage].apps_p), 1),
66
- t("div", B, [
67
- e("", !0),
68
- n(o, {
69
- to: "/apps/tapni",
70
- class: "settingRow"
71
- }, {
72
- default: a(() => [
73
- t("div", E, [
74
- t("img", {
75
- src: s.getIcon("tapni-logo-small-black.png"),
76
- class: "withBackground"
77
- }, null, 8, $),
78
- M,
79
- t("img", {
80
- src: s.getIcon("arrow-gray-right.svg")
81
- }, null, 8, R)
82
- ])
83
- ]),
84
- _: 1
85
- }),
86
- n(o, {
87
- to: "/apps/mailsign",
88
- class: "settingRow half-top"
89
- }, {
90
- default: a(() => [
91
- t("div", L, [
92
- t("img", {
93
- src: s.getIcon("app-logo-mailsign.svg"),
94
- class: "withBackground"
95
- }, null, 8, N),
96
- V,
97
- t("img", {
98
- src: s.getIcon("arrow-gray-right.svg")
99
- }, null, 8, j)
100
- ])
101
- ]),
102
- _: 1
103
- }),
104
- e("", !0)
105
- ])
106
- ])
107
- ]);
108
- }
109
- const G = /* @__PURE__ */ h(v, [["render", D], ["__scopeId", "data-v-851bd608"]]);
110
- export {
111
- G as default
112
- };