@tapni/auth 1.0.4 → 1.0.6-3.dev

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.
Files changed (81) hide show
  1. package/README.md +2 -0
  2. package/dist/.vite/manifest.json +23 -40
  3. package/dist/.well-known/assetlinks.json +10 -12
  4. package/dist/.well-known/microsoft-identity-association.json +5 -5
  5. package/dist/Apps-XNA4_3B4.js +109 -0
  6. package/dist/Billing-Br0-fHed.js +256 -0
  7. package/dist/CustomApp-CrlbYDOm.js +83 -0
  8. package/dist/QR-Bvqb60-E.js +41 -0
  9. package/dist/TapniAuth.es.js +1 -1
  10. package/dist/TapniAuth.umd.js +49 -23
  11. package/dist/{install-BzPu9V_c.js → install-7FOVy8Ol.js} +6328 -4767
  12. package/dist/site.webmanifest +11 -1
  13. package/dist/style.css +1 -1
  14. package/dist/{web-IFGkBi0t.js → web-UrTMimK1.js} +2 -2
  15. package/package.json +65 -55
  16. package/src/.prettierrc.json +16 -0
  17. package/src/App.vue +329 -259
  18. package/src/eslint.config.js +15 -0
  19. package/src/index.js +4 -0
  20. package/src/install.js +9 -10
  21. package/src/main.js +54 -58
  22. package/src/mixins/apple.mixin.js +56 -54
  23. package/src/mixins/auth.mixin.js +3 -2
  24. package/src/mixins/global.mixin.js +3 -3
  25. package/src/mixins/google.mixin.js +53 -54
  26. package/src/mixins/microsoft.mixin.js +2 -8
  27. package/src/mixins/okta.mixin.js +2 -2
  28. package/src/mixins/qr-auth.mixin.js +111 -107
  29. package/src/mixins/saml.mixin.js +82 -45
  30. package/src/router/index.js +6 -6
  31. package/src/routes.js +7 -1
  32. package/src/services/Api.js +56 -58
  33. package/src/services/AuthService.js +13 -9
  34. package/src/services/CompanyService.js +10 -10
  35. package/src/services/DeviceService.js +3 -3
  36. package/src/services/MetadataService.js +10 -0
  37. package/src/services/UserService.js +48 -45
  38. package/src/services/UtilService.js +317 -225
  39. package/src/store/auth.js +485 -549
  40. package/src/store/constants.js +2 -2
  41. package/src/store/event-bus.js +22 -22
  42. package/src/store/locales/cn.js +476 -458
  43. package/src/store/locales/de.js +478 -517
  44. package/src/store/locales/en.js +454 -512
  45. package/src/store/locales/es.js +477 -524
  46. package/src/store/locales/fr.js +477 -516
  47. package/src/store/locales/it.js +477 -514
  48. package/src/store/locales/ja.js +488 -0
  49. package/src/store/locales/kr.js +477 -491
  50. package/src/store/locales/lang.js +51 -43
  51. package/src/store/locales/pt.js +488 -0
  52. package/src/store/locales/sr.js +477 -492
  53. package/src/store/locales/tr.js +477 -487
  54. package/src/store/store.js +6 -6
  55. package/src/views/Account.vue +36 -8
  56. package/src/views/Apps.vue +17 -30
  57. package/src/views/Billing.vue +538 -0
  58. package/src/views/Callback.vue +36 -33
  59. package/src/views/CustomApp.vue +14 -39
  60. package/src/views/General.vue +151 -184
  61. package/src/views/Login.vue +173 -161
  62. package/src/views/Register.vue +2 -12
  63. package/src/views/Reset.vue +132 -135
  64. package/src/views/Security.vue +13 -7
  65. package/src/views/Verify.vue +153 -151
  66. package/src/views/Welcome.vue +85 -71
  67. package/dist/Account-zep_QUuI.js +0 -153
  68. package/dist/Apps-B9XB7Z7q.js +0 -112
  69. package/dist/CustomApp-BzUsyycz.js +0 -112
  70. package/dist/General-DkcdjPYQ.js +0 -477
  71. package/dist/QR-PW6cAG5j.js +0 -41
  72. package/dist/index.css +0 -193
  73. package/dist/web-AXRKjAOB.js +0 -92
  74. package/src/components/DELETE_Language.vue +0 -168
  75. package/src/components/DELETE_LinkIcon.vue +0 -288
  76. package/src/components/DELETE_ModalOverlay.vue +0 -68
  77. package/src/components/DELETE_OTP.vue +0 -105
  78. package/src/components/SSO.vue +0 -126
  79. package/src/components/SSOPick.vue +0 -166
  80. package/src/mixins/DELETE_mfa-auth.mixin.js +0 -53
  81. package/src/mixins/facebook.mixin.js +0 -78
@@ -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
- };