@tapni/auth 1.0.5 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +19 -29
- package/dist/{Apps-DMds3Dv-.js → Apps-BNLnNAmv.js} +34 -34
- package/dist/{Billing-BXlQEuNy.js → Billing-C6F6zxbg.js} +35 -35
- package/dist/CustomApp-B78nPESB.js +83 -0
- package/dist/General-E-VRkj_Y.js +502 -0
- package/dist/QR-vXam_Tu3.js +41 -0
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +15 -15
- package/dist/{install-L-cxSovH.js → install-DW5mvDvp.js} +2438 -2285
- package/dist/{web-IFGkBi0t.js → web-UrTMimK1.js} +2 -2
- package/package.json +21 -21
- package/src/App.vue +3 -1
- package/dist/Account-Cuz87g_8.js +0 -153
- package/dist/CustomApp-CLCMXmMO.js +0 -83
- package/dist/General-dW73bMoR.js +0 -479
- package/dist/QR-D6ZGcPM0.js +0 -41
package/dist/.vite/manifest.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_install-
|
|
3
|
-
"file": "install-
|
|
2
|
+
"_install-DW5mvDvp.js": {
|
|
3
|
+
"file": "install-DW5mvDvp.js",
|
|
4
4
|
"name": "install",
|
|
5
5
|
"dynamicImports": [
|
|
6
|
-
"src/views/Account.vue",
|
|
7
6
|
"src/views/QR.vue",
|
|
8
7
|
"src/views/Apps.vue",
|
|
9
8
|
"src/views/Billing.vue",
|
|
@@ -12,7 +11,7 @@
|
|
|
12
11
|
"node_modules/@codetrix-studio/capacitor-google-auth/dist/esm/web.js",
|
|
13
12
|
"node_modules/@capacitor-community/facebook-login/dist/esm/web.js",
|
|
14
13
|
"node_modules/@capacitor-community/apple-sign-in/dist/esm/web.js",
|
|
15
|
-
"node_modules/@capacitor/preferences/dist/esm/web.js"
|
|
14
|
+
"node_modules/@tapni/capacitor-reactive-localstorage-vue3/node_modules/@capacitor/preferences/dist/esm/web.js"
|
|
16
15
|
]
|
|
17
16
|
},
|
|
18
17
|
"node_modules/@capacitor-community/apple-sign-in/dist/esm/web.js": {
|
|
@@ -27,16 +26,16 @@
|
|
|
27
26
|
"src": "node_modules/@capacitor-community/facebook-login/dist/esm/web.js",
|
|
28
27
|
"isDynamicEntry": true
|
|
29
28
|
},
|
|
30
|
-
"node_modules/@capacitor/
|
|
31
|
-
"file": "web-
|
|
29
|
+
"node_modules/@codetrix-studio/capacitor-google-auth/dist/esm/web.js": {
|
|
30
|
+
"file": "web-UrTMimK1.js",
|
|
32
31
|
"name": "web",
|
|
33
|
-
"src": "node_modules/@capacitor/
|
|
32
|
+
"src": "node_modules/@codetrix-studio/capacitor-google-auth/dist/esm/web.js",
|
|
34
33
|
"isDynamicEntry": true
|
|
35
34
|
},
|
|
36
|
-
"node_modules/@
|
|
37
|
-
"file": "web-
|
|
35
|
+
"node_modules/@tapni/capacitor-reactive-localstorage-vue3/node_modules/@capacitor/preferences/dist/esm/web.js": {
|
|
36
|
+
"file": "web-LIfHmYL2.js",
|
|
38
37
|
"name": "web",
|
|
39
|
-
"src": "node_modules/@
|
|
38
|
+
"src": "node_modules/@tapni/capacitor-reactive-localstorage-vue3/node_modules/@capacitor/preferences/dist/esm/web.js",
|
|
40
39
|
"isDynamicEntry": true
|
|
41
40
|
},
|
|
42
41
|
"src/install.js": {
|
|
@@ -45,58 +44,49 @@
|
|
|
45
44
|
"src": "src/install.js",
|
|
46
45
|
"isEntry": true
|
|
47
46
|
},
|
|
48
|
-
"src/views/Account.vue": {
|
|
49
|
-
"file": "Account-Cuz87g_8.js",
|
|
50
|
-
"name": "Account",
|
|
51
|
-
"src": "src/views/Account.vue",
|
|
52
|
-
"isDynamicEntry": true,
|
|
53
|
-
"imports": [
|
|
54
|
-
"_install-L-cxSovH.js"
|
|
55
|
-
]
|
|
56
|
-
},
|
|
57
47
|
"src/views/Apps.vue": {
|
|
58
|
-
"file": "Apps-
|
|
48
|
+
"file": "Apps-BNLnNAmv.js",
|
|
59
49
|
"name": "Apps",
|
|
60
50
|
"src": "src/views/Apps.vue",
|
|
61
51
|
"isDynamicEntry": true,
|
|
62
52
|
"imports": [
|
|
63
|
-
"_install-
|
|
53
|
+
"_install-DW5mvDvp.js"
|
|
64
54
|
]
|
|
65
55
|
},
|
|
66
56
|
"src/views/Billing.vue": {
|
|
67
|
-
"file": "Billing-
|
|
57
|
+
"file": "Billing-C6F6zxbg.js",
|
|
68
58
|
"name": "Billing",
|
|
69
59
|
"src": "src/views/Billing.vue",
|
|
70
60
|
"isDynamicEntry": true,
|
|
71
61
|
"imports": [
|
|
72
|
-
"_install-
|
|
62
|
+
"_install-DW5mvDvp.js"
|
|
73
63
|
]
|
|
74
64
|
},
|
|
75
65
|
"src/views/CustomApp.vue": {
|
|
76
|
-
"file": "CustomApp-
|
|
66
|
+
"file": "CustomApp-B78nPESB.js",
|
|
77
67
|
"name": "CustomApp",
|
|
78
68
|
"src": "src/views/CustomApp.vue",
|
|
79
69
|
"isDynamicEntry": true,
|
|
80
70
|
"imports": [
|
|
81
|
-
"_install-
|
|
71
|
+
"_install-DW5mvDvp.js"
|
|
82
72
|
]
|
|
83
73
|
},
|
|
84
74
|
"src/views/General.vue": {
|
|
85
|
-
"file": "General-
|
|
75
|
+
"file": "General-E-VRkj_Y.js",
|
|
86
76
|
"name": "General",
|
|
87
77
|
"src": "src/views/General.vue",
|
|
88
78
|
"isDynamicEntry": true,
|
|
89
79
|
"imports": [
|
|
90
|
-
"_install-
|
|
80
|
+
"_install-DW5mvDvp.js"
|
|
91
81
|
]
|
|
92
82
|
},
|
|
93
83
|
"src/views/QR.vue": {
|
|
94
|
-
"file": "QR-
|
|
84
|
+
"file": "QR-vXam_Tu3.js",
|
|
95
85
|
"name": "QR",
|
|
96
86
|
"src": "src/views/QR.vue",
|
|
97
87
|
"isDynamicEntry": true,
|
|
98
88
|
"imports": [
|
|
99
|
-
"_install-
|
|
89
|
+
"_install-DW5mvDvp.js"
|
|
100
90
|
]
|
|
101
91
|
},
|
|
102
92
|
"style.css": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as l, _ as g, A as u, E as _ } from "./install-
|
|
2
|
-
import { resolveComponent as h, openBlock as o, createElementBlock as
|
|
1
|
+
import { a as l, _ as g, A as u, E as _ } from "./install-DW5mvDvp.js";
|
|
2
|
+
import { resolveComponent as h, openBlock as o, createElementBlock as a, createElementVNode as e, createCommentVNode as r, createBlock as f, withCtx as m, toDisplayString as i, Fragment as b, renderList as y } from "vue";
|
|
3
3
|
const k = {
|
|
4
4
|
async getRecordById(t) {
|
|
5
5
|
return l().post("/objects/record/" + t.id, t);
|
|
@@ -7,7 +7,7 @@ const k = {
|
|
|
7
7
|
async getRecords(t) {
|
|
8
8
|
return l().post("/objects/records", t);
|
|
9
9
|
}
|
|
10
|
-
},
|
|
10
|
+
}, v = {
|
|
11
11
|
name: "AuthApps",
|
|
12
12
|
mixins: [u],
|
|
13
13
|
props: {
|
|
@@ -38,29 +38,29 @@ const k = {
|
|
|
38
38
|
_.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 });
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
},
|
|
42
|
-
/* @__PURE__ */ e("img", {
|
|
43
|
-
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
44
|
-
class: "responsive-image",
|
|
45
|
-
style: { width: "35%" }
|
|
46
|
-
})
|
|
47
|
-
], -1)), L = [
|
|
48
|
-
B
|
|
49
|
-
], C = { class: "subheaderContainer full-top" }, E = ["src"], M = {
|
|
41
|
+
}, w = { class: "page-login content-boxed content-boxed-padding" }, x = { class: "subheaderContainer full-top" }, I = ["src"], A = {
|
|
50
42
|
class: "center-text",
|
|
51
43
|
style: { "flex-grow": "1", "text-align": "center", margin: "0", "font-weight": "600" }
|
|
52
|
-
},
|
|
53
|
-
function
|
|
44
|
+
}, B = { class: "container left-text" }, L = { class: "center-text" }, C = { class: "full-top" }, E = ["href"], M = { class: "firstRow" }, R = ["src"], j = ["src"];
|
|
45
|
+
function $(t, n, N, S, d, c) {
|
|
54
46
|
const p = h("router-link");
|
|
55
|
-
return o(),
|
|
56
|
-
t.isModal ? (o(),
|
|
47
|
+
return o(), a("div", w, [
|
|
48
|
+
t.isModal ? (o(), a("a", {
|
|
57
49
|
key: 0,
|
|
58
|
-
onClick:
|
|
50
|
+
onClick: n[0] || (n[0] = (...s) => c.close && c.close(...s)),
|
|
59
51
|
class: "color-black pull-right pointer",
|
|
60
52
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
61
|
-
},
|
|
62
|
-
|
|
63
|
-
|
|
53
|
+
}, n[1] || (n[1] = [
|
|
54
|
+
e("i", { class: "font-17 color-black" }, [
|
|
55
|
+
e("img", {
|
|
56
|
+
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
57
|
+
class: "responsive-image",
|
|
58
|
+
style: { width: "35%" }
|
|
59
|
+
})
|
|
60
|
+
], -1)
|
|
61
|
+
]))) : r("", !0),
|
|
62
|
+
e("div", x, [
|
|
63
|
+
t.isModal ? r("", !0) : (o(), f(p, {
|
|
64
64
|
key: 0,
|
|
65
65
|
to: "/account",
|
|
66
66
|
class: "button gray-button pointer left-button"
|
|
@@ -72,38 +72,38 @@ function D(t, c, F, O, d, i) {
|
|
|
72
72
|
width: "20",
|
|
73
73
|
class: "btn-icon",
|
|
74
74
|
style: { rotate: "180deg" }
|
|
75
|
-
}, null, 8,
|
|
75
|
+
}, null, 8, I)
|
|
76
76
|
]),
|
|
77
77
|
_: 1
|
|
78
78
|
})),
|
|
79
|
-
e("h2",
|
|
79
|
+
e("h2", A, i(t.ssoLang[t.appLanguage].apps), 1)
|
|
80
80
|
]),
|
|
81
|
-
e("div",
|
|
82
|
-
e("p",
|
|
83
|
-
e("div",
|
|
84
|
-
|
|
85
|
-
(o(!0),
|
|
81
|
+
e("div", B, [
|
|
82
|
+
e("p", L, i(t.ssoLang[t.appLanguage].apps_p), 1),
|
|
83
|
+
e("div", C, [
|
|
84
|
+
r("", !0),
|
|
85
|
+
(o(!0), a(b, null, y(d.apps, (s) => (o(), a("a", {
|
|
86
86
|
key: s.id,
|
|
87
87
|
href: s.t_apps_url,
|
|
88
88
|
target: "_blank",
|
|
89
89
|
class: "settingRow half-bottom"
|
|
90
90
|
}, [
|
|
91
|
-
e("div",
|
|
91
|
+
e("div", M, [
|
|
92
92
|
e("img", {
|
|
93
93
|
src: t.getIcon(s.t_apps_icon),
|
|
94
94
|
class: "withBackground"
|
|
95
|
-
}, null, 8,
|
|
96
|
-
e("h4", null,
|
|
95
|
+
}, null, 8, R),
|
|
96
|
+
e("h4", null, i(s.t_apps_name), 1),
|
|
97
97
|
e("img", {
|
|
98
98
|
src: t.getIcon("arrow-gray-right.svg")
|
|
99
|
-
}, null, 8,
|
|
99
|
+
}, null, 8, j)
|
|
100
100
|
])
|
|
101
|
-
], 8,
|
|
101
|
+
], 8, E))), 128))
|
|
102
102
|
])
|
|
103
103
|
])
|
|
104
104
|
]);
|
|
105
105
|
}
|
|
106
|
-
const
|
|
106
|
+
const D = /* @__PURE__ */ g(v, [["render", $], ["__scopeId", "data-v-2f7f5584"]]);
|
|
107
107
|
export {
|
|
108
|
-
|
|
108
|
+
D as default
|
|
109
109
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as d, A as u, b as g, E as _ } from "./install-
|
|
2
|
-
import { resolveComponent as h, openBlock as e, createElementBlock as
|
|
3
|
-
const
|
|
1
|
+
import { _ as d, A as u, b as g, E as _ } from "./install-DW5mvDvp.js";
|
|
2
|
+
import { resolveComponent as h, openBlock as e, createElementBlock as i, createElementVNode as s, createCommentVNode as r, createBlock as b, withCtx as m, toDisplayString as a, createTextVNode as f, Fragment as y, renderList as v } from "vue";
|
|
3
|
+
const w = {
|
|
4
4
|
name: "AuthBilling",
|
|
5
5
|
mixins: [u],
|
|
6
6
|
props: {
|
|
@@ -43,29 +43,29 @@ const I = {
|
|
|
43
43
|
_.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 });
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
},
|
|
47
|
-
/* @__PURE__ */ s("img", {
|
|
48
|
-
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
49
|
-
class: "responsive-image",
|
|
50
|
-
style: { width: "35%" }
|
|
51
|
-
})
|
|
52
|
-
], -1)), A = [
|
|
53
|
-
L
|
|
54
|
-
], C = { class: "subheaderContainer full-top" }, E = ["src"], S = {
|
|
46
|
+
}, k = { class: "page-login content-boxed content-boxed-padding" }, B = { class: "subheaderContainer full-top" }, x = ["src"], I = {
|
|
55
47
|
class: "center-text",
|
|
56
48
|
style: { "flex-grow": "1", "text-align": "center", margin: "0", "font-weight": "600" }
|
|
57
|
-
},
|
|
58
|
-
function
|
|
49
|
+
}, L = { class: "container left-text" }, A = { class: "center-text" }, C = { class: "full-top" }, E = { class: "firstRow" }, M = ["src"], N = ["src"];
|
|
50
|
+
function R(t, o, V, $, l, c) {
|
|
59
51
|
const p = h("router-link");
|
|
60
|
-
return e(),
|
|
61
|
-
t.isModal ? (e(),
|
|
52
|
+
return e(), i("div", k, [
|
|
53
|
+
t.isModal ? (e(), i("a", {
|
|
62
54
|
key: 0,
|
|
63
|
-
onClick:
|
|
55
|
+
onClick: o[0] || (o[0] = (...n) => c.close && c.close(...n)),
|
|
64
56
|
class: "color-black pull-right pointer",
|
|
65
57
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
66
|
-
},
|
|
67
|
-
|
|
68
|
-
|
|
58
|
+
}, o[1] || (o[1] = [
|
|
59
|
+
s("i", { class: "font-17 color-black" }, [
|
|
60
|
+
s("img", {
|
|
61
|
+
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
62
|
+
class: "responsive-image",
|
|
63
|
+
style: { width: "35%" }
|
|
64
|
+
})
|
|
65
|
+
], -1)
|
|
66
|
+
]))) : r("", !0),
|
|
67
|
+
s("div", B, [
|
|
68
|
+
t.isModal ? r("", !0) : (e(), b(p, {
|
|
69
69
|
key: 0,
|
|
70
70
|
to: "/account",
|
|
71
71
|
class: "button gray-button pointer left-button"
|
|
@@ -77,37 +77,37 @@ function q(t, c, D, F, l, r) {
|
|
|
77
77
|
width: "20",
|
|
78
78
|
class: "btn-icon",
|
|
79
79
|
style: { rotate: "180deg" }
|
|
80
|
-
}, null, 8,
|
|
80
|
+
}, null, 8, x)
|
|
81
81
|
]),
|
|
82
82
|
_: 1
|
|
83
83
|
})),
|
|
84
|
-
s("h2",
|
|
84
|
+
s("h2", I, a(t.ssoLang[t.appLanguage].billing), 1)
|
|
85
85
|
]),
|
|
86
|
-
s("div",
|
|
87
|
-
s("p",
|
|
88
|
-
s("div",
|
|
89
|
-
|
|
90
|
-
f(" " +
|
|
91
|
-
(e(!0),
|
|
92
|
-
key:
|
|
86
|
+
s("div", L, [
|
|
87
|
+
s("p", A, a(t.ssoLang[t.appLanguage].billing_p), 1),
|
|
88
|
+
s("div", C, [
|
|
89
|
+
r("", !0),
|
|
90
|
+
f(" " + a(t.account.billing) + " ", 1),
|
|
91
|
+
(e(!0), i(y, null, v(l.subscriptions, (n) => (e(), i("div", {
|
|
92
|
+
key: n.id,
|
|
93
93
|
class: "settingRow half-bottom"
|
|
94
94
|
}, [
|
|
95
|
-
s("div",
|
|
95
|
+
s("div", E, [
|
|
96
96
|
s("img", {
|
|
97
97
|
src: t.getIcon(t.app.t_apps_icon),
|
|
98
98
|
class: "withBackground"
|
|
99
|
-
}, null, 8,
|
|
100
|
-
s("h4", null,
|
|
99
|
+
}, null, 8, M),
|
|
100
|
+
s("h4", null, a(n.t_subscriptions_name), 1),
|
|
101
101
|
s("img", {
|
|
102
102
|
src: t.getIcon("arrow-gray-right.svg")
|
|
103
|
-
}, null, 8,
|
|
103
|
+
}, null, 8, N)
|
|
104
104
|
])
|
|
105
105
|
]))), 128))
|
|
106
106
|
])
|
|
107
107
|
])
|
|
108
108
|
]);
|
|
109
109
|
}
|
|
110
|
-
const
|
|
110
|
+
const q = /* @__PURE__ */ d(w, [["render", R], ["__scopeId", "data-v-4d3e1bec"]]);
|
|
111
111
|
export {
|
|
112
|
-
|
|
112
|
+
q as default
|
|
113
113
|
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { _ as d, A as u, b as g, E as m } from "./install-DW5mvDvp.js";
|
|
2
|
+
import { resolveComponent as _, openBlock as s, createElementBlock as a, createElementVNode as t, createCommentVNode as r, createBlock as h, withCtx as f, toDisplayString as i } from "vue";
|
|
3
|
+
const y = {
|
|
4
|
+
name: "AuthCustomApp",
|
|
5
|
+
mixins: [u],
|
|
6
|
+
props: {
|
|
7
|
+
payload: {
|
|
8
|
+
type: Object,
|
|
9
|
+
default: {}
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
data() {
|
|
13
|
+
return {
|
|
14
|
+
loading: !1,
|
|
15
|
+
app: {}
|
|
16
|
+
};
|
|
17
|
+
},
|
|
18
|
+
async mounted() {
|
|
19
|
+
this.isLoggedIn || this.$router.push("/login");
|
|
20
|
+
const e = await g.getRecordById({
|
|
21
|
+
id: this.$route.params.app,
|
|
22
|
+
query: {
|
|
23
|
+
fields: ["t_apps_name", "t_apps_icon", "t_apps_url"],
|
|
24
|
+
relations: []
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
this.app = e.data.record;
|
|
28
|
+
},
|
|
29
|
+
methods: {
|
|
30
|
+
close() {
|
|
31
|
+
m.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 });
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}, b = { class: "page-login content-boxed content-boxed-padding" }, v = { class: "subheaderContainer full-top" }, x = ["src"], k = {
|
|
35
|
+
class: "center-text",
|
|
36
|
+
style: { "flex-grow": "1", "text-align": "center", margin: "0", "font-weight": "600" }
|
|
37
|
+
}, w = { class: "container left-text" }, A = { class: "center-text" };
|
|
38
|
+
function C(e, o, B, E, l, n) {
|
|
39
|
+
const p = _("router-link");
|
|
40
|
+
return s(), a("div", b, [
|
|
41
|
+
e.isModal ? (s(), a("a", {
|
|
42
|
+
key: 0,
|
|
43
|
+
onClick: o[0] || (o[0] = (...c) => n.close && n.close(...c)),
|
|
44
|
+
class: "color-black pull-right pointer",
|
|
45
|
+
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
46
|
+
}, o[1] || (o[1] = [
|
|
47
|
+
t("i", { class: "font-17 color-black" }, [
|
|
48
|
+
t("img", {
|
|
49
|
+
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
50
|
+
class: "responsive-image",
|
|
51
|
+
style: { width: "35%" }
|
|
52
|
+
})
|
|
53
|
+
], -1)
|
|
54
|
+
]))) : r("", !0),
|
|
55
|
+
t("div", v, [
|
|
56
|
+
e.isModal ? r("", !0) : (s(), h(p, {
|
|
57
|
+
key: 0,
|
|
58
|
+
to: "/apps",
|
|
59
|
+
class: "button gray-button pointer left-button"
|
|
60
|
+
}, {
|
|
61
|
+
default: f(() => [
|
|
62
|
+
t("img", {
|
|
63
|
+
src: e.getIcon("arrow-gray-right.svg"),
|
|
64
|
+
height: "20",
|
|
65
|
+
width: "20",
|
|
66
|
+
class: "btn-icon",
|
|
67
|
+
style: { rotate: "180deg" }
|
|
68
|
+
}, null, 8, x)
|
|
69
|
+
]),
|
|
70
|
+
_: 1
|
|
71
|
+
})),
|
|
72
|
+
t("h2", k, i(l.app.t_apps_name), 1)
|
|
73
|
+
]),
|
|
74
|
+
t("div", w, [
|
|
75
|
+
t("p", A, i(e.ssoLang[e.appLanguage].apps_p), 1),
|
|
76
|
+
o[2] || (o[2] = t("div", { class: "full-top" }, null, -1))
|
|
77
|
+
])
|
|
78
|
+
]);
|
|
79
|
+
}
|
|
80
|
+
const $ = /* @__PURE__ */ d(y, [["render", C], ["__scopeId", "data-v-36b27d1f"]]);
|
|
81
|
+
export {
|
|
82
|
+
$ as default
|
|
83
|
+
};
|