@tapni/auth 1.0.56 → 1.0.58
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/assets/Apps-DRNQ66T5.css +1 -0
- package/dist/assets/Apps-Ds0fvjXX.js +1 -0
- package/dist/assets/Billing-BxoVjHwN.js +1 -0
- package/dist/assets/Billing-COZeuzks.css +1 -0
- package/dist/assets/CustomApp-Cb-CEpnB.js +1 -0
- package/dist/assets/CustomApp-EflPiIBk.css +1 -0
- package/dist/assets/Inter-ZO3WBJgw.ttf +0 -0
- package/dist/assets/QR-DNEbro2U.js +1 -0
- package/dist/assets/fontawesome-webfont-CQDK8MU3.ttf +0 -0
- package/dist/assets/fontawesome-webfont-DXgy9qkh.svg +2671 -0
- package/dist/assets/fontawesome-webfont-G5YE5S7X.eot +0 -0
- package/dist/assets/index-BrLpR8cl.css +1 -0
- package/dist/assets/index-D2cf3M6H.js +181 -0
- package/dist/assets/web-B7UiKZER.js +1 -0
- package/dist/assets/web-BDfvpG8M.js +1 -0
- package/dist/assets/web-BY1Yjvrg.js +1 -0
- package/dist/assets/web-D5AvNCO1.js +5 -0
- package/dist/assets/web-GCNEIekA.js +1 -0
- package/dist/assets/web-pxbLwWPN.js +1 -0
- package/dist/index.html +39 -0
- package/package.json +1 -1
- package/src/services/AuthService.js +7 -1
- package/src/store/auth.js +463 -538
- package/src/views/General.vue +1 -3
- package/src/views/Security.vue +2 -5
- package/src/views/Verify.vue +4 -4
- package/dist/.vite/manifest.json +0 -79
- package/dist/Apps-NKrqklKY.js +0 -109
- package/dist/Billing-BUzKx9xh.js +0 -113
- package/dist/CustomApp-BsHMfNck.js +0 -83
- package/dist/QR-BrzkfUU3.js +0 -41
- package/dist/TapniAuth.es.js +0 -4
- package/dist/TapniAuth.umd.js +0 -141
- package/dist/install-DvMvXfuA.js +0 -18977
- package/dist/style.css +0 -1
- package/dist/web-LIfHmYL2.js +0 -54
- package/dist/web-UrTMimK1.js +0 -86
- package/dist/web-XbruGdlD.js +0 -121
package/src/views/General.vue
CHANGED
|
@@ -107,10 +107,10 @@ import VueSelect from "vue3-select-component";
|
|
|
107
107
|
|
|
108
108
|
export default {
|
|
109
109
|
name: "AuthGeneral",
|
|
110
|
+
mixins: [AuthMixin],
|
|
110
111
|
components: {
|
|
111
112
|
VueSelect
|
|
112
113
|
},
|
|
113
|
-
mixins: [AuthMixin],
|
|
114
114
|
props: {
|
|
115
115
|
isModal: {
|
|
116
116
|
type: Boolean,
|
|
@@ -121,7 +121,6 @@ export default {
|
|
|
121
121
|
default: {}
|
|
122
122
|
},
|
|
123
123
|
},
|
|
124
|
-
emits: ['update:viewProp'],
|
|
125
124
|
data () {
|
|
126
125
|
return {
|
|
127
126
|
loading: false,
|
|
@@ -147,7 +146,6 @@ export default {
|
|
|
147
146
|
methods: {
|
|
148
147
|
close () {
|
|
149
148
|
EventBus.$emit('ssoEvent', {name: 'toggleAuthModal', data: true})
|
|
150
|
-
this.$emit('update:viewProp', 'AuthAccount')
|
|
151
149
|
},
|
|
152
150
|
async submitGeneralUpdate () {
|
|
153
151
|
this.loading = true;
|
package/src/views/Security.vue
CHANGED
|
@@ -158,11 +158,11 @@
|
|
|
158
158
|
|
|
159
159
|
<div class="ios-switch" style="display: inline-block">
|
|
160
160
|
<input
|
|
161
|
-
:id="'active-open-switch'"
|
|
162
|
-
v-model="account.is_active"
|
|
163
161
|
type="checkbox"
|
|
164
162
|
name="ios-switch"
|
|
165
163
|
class="ios-switch-checkbox"
|
|
164
|
+
:id="'active-open-switch'"
|
|
165
|
+
v-model="account.is_active"
|
|
166
166
|
/>
|
|
167
167
|
<label class="ios-switch-label" :for="'active-open-switch'"></label>
|
|
168
168
|
</div>
|
|
@@ -205,7 +205,6 @@ export default {
|
|
|
205
205
|
default: {}
|
|
206
206
|
},
|
|
207
207
|
},
|
|
208
|
-
emits: ['update:viewProp'],
|
|
209
208
|
data () {
|
|
210
209
|
return {
|
|
211
210
|
accountDelete: false,
|
|
@@ -234,8 +233,6 @@ export default {
|
|
|
234
233
|
methods: {
|
|
235
234
|
close () {
|
|
236
235
|
EventBus.$emit('ssoEvent', {name: 'toggleAuthModal', data: true})
|
|
237
|
-
this.$emit('update:viewProp', 'AuthAccount')
|
|
238
|
-
|
|
239
236
|
},
|
|
240
237
|
async deleteAccountSubmit() {
|
|
241
238
|
const result = await this.deleteAccount();
|
package/src/views/Verify.vue
CHANGED
|
@@ -77,9 +77,9 @@ export default {
|
|
|
77
77
|
},
|
|
78
78
|
methods: {
|
|
79
79
|
init() {
|
|
80
|
-
if (this.isLoggedIn) {
|
|
81
|
-
|
|
82
|
-
} else {
|
|
80
|
+
// if (this.isLoggedIn) {
|
|
81
|
+
// this.$router.push(this.home);
|
|
82
|
+
// } else {
|
|
83
83
|
if (this.$storex.verifyEmail) {
|
|
84
84
|
this.email = this.$storex.verifyEmail;
|
|
85
85
|
}
|
|
@@ -93,7 +93,7 @@ export default {
|
|
|
93
93
|
this.code = this.$route.query.c;
|
|
94
94
|
}
|
|
95
95
|
EventBus.$emit('ssoEvent', { name: 'setLoading', data: false });
|
|
96
|
-
}
|
|
96
|
+
// }
|
|
97
97
|
},
|
|
98
98
|
async submit() {
|
|
99
99
|
// if (this.captcha === '') return this._vm.errorHandler({ message: 'Please select recaptcha' });
|
package/dist/.vite/manifest.json
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_install-DvMvXfuA.js": {
|
|
3
|
-
"file": "install-DvMvXfuA.js",
|
|
4
|
-
"name": "install",
|
|
5
|
-
"dynamicImports": [
|
|
6
|
-
"src/views/QR.vue",
|
|
7
|
-
"src/views/Apps.vue",
|
|
8
|
-
"src/views/Billing.vue",
|
|
9
|
-
"src/views/CustomApp.vue",
|
|
10
|
-
"node_modules/@codetrix-studio/capacitor-google-auth/dist/esm/web.js",
|
|
11
|
-
"node_modules/@capacitor-community/apple-sign-in/dist/esm/web.js",
|
|
12
|
-
"node_modules/@tapni/capacitor-reactive-localstorage-vue3/node_modules/@capacitor/preferences/dist/esm/web.js"
|
|
13
|
-
]
|
|
14
|
-
},
|
|
15
|
-
"node_modules/@capacitor-community/apple-sign-in/dist/esm/web.js": {
|
|
16
|
-
"file": "web-XbruGdlD.js",
|
|
17
|
-
"name": "web",
|
|
18
|
-
"src": "node_modules/@capacitor-community/apple-sign-in/dist/esm/web.js",
|
|
19
|
-
"isDynamicEntry": true
|
|
20
|
-
},
|
|
21
|
-
"node_modules/@codetrix-studio/capacitor-google-auth/dist/esm/web.js": {
|
|
22
|
-
"file": "web-UrTMimK1.js",
|
|
23
|
-
"name": "web",
|
|
24
|
-
"src": "node_modules/@codetrix-studio/capacitor-google-auth/dist/esm/web.js",
|
|
25
|
-
"isDynamicEntry": true
|
|
26
|
-
},
|
|
27
|
-
"node_modules/@tapni/capacitor-reactive-localstorage-vue3/node_modules/@capacitor/preferences/dist/esm/web.js": {
|
|
28
|
-
"file": "web-LIfHmYL2.js",
|
|
29
|
-
"name": "web",
|
|
30
|
-
"src": "node_modules/@tapni/capacitor-reactive-localstorage-vue3/node_modules/@capacitor/preferences/dist/esm/web.js",
|
|
31
|
-
"isDynamicEntry": true
|
|
32
|
-
},
|
|
33
|
-
"src/install.js": {
|
|
34
|
-
"file": "TapniAuth.umd.js",
|
|
35
|
-
"name": "install",
|
|
36
|
-
"src": "src/install.js",
|
|
37
|
-
"isEntry": true
|
|
38
|
-
},
|
|
39
|
-
"src/views/Apps.vue": {
|
|
40
|
-
"file": "Apps-NKrqklKY.js",
|
|
41
|
-
"name": "Apps",
|
|
42
|
-
"src": "src/views/Apps.vue",
|
|
43
|
-
"isDynamicEntry": true,
|
|
44
|
-
"imports": [
|
|
45
|
-
"_install-DvMvXfuA.js"
|
|
46
|
-
]
|
|
47
|
-
},
|
|
48
|
-
"src/views/Billing.vue": {
|
|
49
|
-
"file": "Billing-BUzKx9xh.js",
|
|
50
|
-
"name": "Billing",
|
|
51
|
-
"src": "src/views/Billing.vue",
|
|
52
|
-
"isDynamicEntry": true,
|
|
53
|
-
"imports": [
|
|
54
|
-
"_install-DvMvXfuA.js"
|
|
55
|
-
]
|
|
56
|
-
},
|
|
57
|
-
"src/views/CustomApp.vue": {
|
|
58
|
-
"file": "CustomApp-BsHMfNck.js",
|
|
59
|
-
"name": "CustomApp",
|
|
60
|
-
"src": "src/views/CustomApp.vue",
|
|
61
|
-
"isDynamicEntry": true,
|
|
62
|
-
"imports": [
|
|
63
|
-
"_install-DvMvXfuA.js"
|
|
64
|
-
]
|
|
65
|
-
},
|
|
66
|
-
"src/views/QR.vue": {
|
|
67
|
-
"file": "QR-BrzkfUU3.js",
|
|
68
|
-
"name": "QR",
|
|
69
|
-
"src": "src/views/QR.vue",
|
|
70
|
-
"isDynamicEntry": true,
|
|
71
|
-
"imports": [
|
|
72
|
-
"_install-DvMvXfuA.js"
|
|
73
|
-
]
|
|
74
|
-
},
|
|
75
|
-
"style.css": {
|
|
76
|
-
"file": "style.css",
|
|
77
|
-
"src": "style.css"
|
|
78
|
-
}
|
|
79
|
-
}
|
package/dist/Apps-NKrqklKY.js
DELETED
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { a as l, _ as g, A as u, E as _ } from "./install-DvMvXfuA.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
|
-
const k = {
|
|
4
|
-
async getRecordById(t) {
|
|
5
|
-
return l().post("/objects/record/" + t.id, t);
|
|
6
|
-
},
|
|
7
|
-
async getRecords(t) {
|
|
8
|
-
return l().post("/objects/records", t);
|
|
9
|
-
}
|
|
10
|
-
}, v = {
|
|
11
|
-
name: "AuthApps",
|
|
12
|
-
mixins: [u],
|
|
13
|
-
props: {
|
|
14
|
-
payload: {
|
|
15
|
-
type: Object,
|
|
16
|
-
default: {}
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
data() {
|
|
20
|
-
return {
|
|
21
|
-
loading: !1,
|
|
22
|
-
apps: []
|
|
23
|
-
};
|
|
24
|
-
},
|
|
25
|
-
async mounted() {
|
|
26
|
-
this.isLoggedIn || this.$router.push("/login");
|
|
27
|
-
const t = await k.getRecords({
|
|
28
|
-
objectId: "6dc545ea-2e2f-4720-b4fe-c5ebdd8af063",
|
|
29
|
-
query: {
|
|
30
|
-
fields: ["t_apps_name", "t_apps_icon", "t_apps_url"],
|
|
31
|
-
relations: []
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
this.apps = t.data.records;
|
|
35
|
-
},
|
|
36
|
-
methods: {
|
|
37
|
-
close() {
|
|
38
|
-
_.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 });
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}, w = { class: "page-login content-boxed content-boxed-padding" }, x = { class: "subheaderContainer full-top" }, I = ["src"], A = {
|
|
42
|
-
class: "center-text",
|
|
43
|
-
style: { "flex-grow": "1", "text-align": "center", margin: "0", "font-weight": "600" }
|
|
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) {
|
|
46
|
-
const p = h("router-link");
|
|
47
|
-
return o(), a("div", w, [
|
|
48
|
-
t.isModal ? (o(), a("a", {
|
|
49
|
-
key: 0,
|
|
50
|
-
onClick: n[0] || (n[0] = (...s) => c.close && c.close(...s)),
|
|
51
|
-
class: "color-black pull-right pointer",
|
|
52
|
-
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
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
|
-
key: 0,
|
|
65
|
-
to: "/account",
|
|
66
|
-
class: "button gray-button pointer left-button"
|
|
67
|
-
}, {
|
|
68
|
-
default: m(() => [
|
|
69
|
-
e("img", {
|
|
70
|
-
src: t.getIcon("arrow-gray-right.svg"),
|
|
71
|
-
height: "20",
|
|
72
|
-
width: "20",
|
|
73
|
-
class: "btn-icon",
|
|
74
|
-
style: { rotate: "180deg" }
|
|
75
|
-
}, null, 8, I)
|
|
76
|
-
]),
|
|
77
|
-
_: 1
|
|
78
|
-
})),
|
|
79
|
-
e("h2", A, i(t.ssoLang[t.appLanguage].apps), 1)
|
|
80
|
-
]),
|
|
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
|
-
key: s.id,
|
|
87
|
-
href: s.t_apps_url,
|
|
88
|
-
target: "_blank",
|
|
89
|
-
class: "settingRow half-bottom"
|
|
90
|
-
}, [
|
|
91
|
-
e("div", M, [
|
|
92
|
-
e("img", {
|
|
93
|
-
src: t.getIcon(s.t_apps_icon),
|
|
94
|
-
class: "withBackground"
|
|
95
|
-
}, null, 8, R),
|
|
96
|
-
e("h4", null, i(s.t_apps_name), 1),
|
|
97
|
-
e("img", {
|
|
98
|
-
src: t.getIcon("arrow-gray-right.svg")
|
|
99
|
-
}, null, 8, j)
|
|
100
|
-
])
|
|
101
|
-
], 8, E))), 128))
|
|
102
|
-
])
|
|
103
|
-
])
|
|
104
|
-
]);
|
|
105
|
-
}
|
|
106
|
-
const D = /* @__PURE__ */ g(v, [["render", $], ["__scopeId", "data-v-2f7f5584"]]);
|
|
107
|
-
export {
|
|
108
|
-
D as default
|
|
109
|
-
};
|
package/dist/Billing-BUzKx9xh.js
DELETED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { _ as d, A as u, b as g, E as _ } from "./install-DvMvXfuA.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
|
-
name: "AuthBilling",
|
|
5
|
-
mixins: [u],
|
|
6
|
-
props: {
|
|
7
|
-
payload: {
|
|
8
|
-
type: Object,
|
|
9
|
-
default: {}
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
data() {
|
|
13
|
-
return {
|
|
14
|
-
loading: !1,
|
|
15
|
-
subscriptions: []
|
|
16
|
-
};
|
|
17
|
-
},
|
|
18
|
-
async mounted() {
|
|
19
|
-
this.isLoggedIn || this.$router.push("/login");
|
|
20
|
-
const t = await g.getRecords({
|
|
21
|
-
objectId: "6dc545ea-2e2f-4720-b4fe-c5ebdd8af066",
|
|
22
|
-
query: {
|
|
23
|
-
where: {
|
|
24
|
-
account: this.account.id
|
|
25
|
-
},
|
|
26
|
-
fields: ["t_subscriptions_name", "t_subscriptions_desc", "t_subscriptions_type", "t_subscriptions_active", "t_subscriptions_app"],
|
|
27
|
-
relations: {
|
|
28
|
-
t_subscriptions_app: {
|
|
29
|
-
fields: [
|
|
30
|
-
"t_apps_name",
|
|
31
|
-
"t_apps_icon",
|
|
32
|
-
"t_apps_url"
|
|
33
|
-
],
|
|
34
|
-
relations: {}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
this.subscriptions = t.data.records;
|
|
40
|
-
},
|
|
41
|
-
methods: {
|
|
42
|
-
close() {
|
|
43
|
-
_.$emit("ssoEvent", { name: "toggleAuthModal", data: !0 });
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}, k = { class: "page-login content-boxed content-boxed-padding" }, B = { class: "subheaderContainer full-top" }, x = ["src"], I = {
|
|
47
|
-
class: "center-text",
|
|
48
|
-
style: { "flex-grow": "1", "text-align": "center", margin: "0", "font-weight": "600" }
|
|
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) {
|
|
51
|
-
const p = h("router-link");
|
|
52
|
-
return e(), i("div", k, [
|
|
53
|
-
t.isModal ? (e(), i("a", {
|
|
54
|
-
key: 0,
|
|
55
|
-
onClick: o[0] || (o[0] = (...n) => c.close && c.close(...n)),
|
|
56
|
-
class: "color-black pull-right pointer",
|
|
57
|
-
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
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
|
-
key: 0,
|
|
70
|
-
to: "/account",
|
|
71
|
-
class: "button gray-button pointer left-button"
|
|
72
|
-
}, {
|
|
73
|
-
default: m(() => [
|
|
74
|
-
s("img", {
|
|
75
|
-
src: t.getIcon("arrow-gray-right.svg"),
|
|
76
|
-
height: "20",
|
|
77
|
-
width: "20",
|
|
78
|
-
class: "btn-icon",
|
|
79
|
-
style: { rotate: "180deg" }
|
|
80
|
-
}, null, 8, x)
|
|
81
|
-
]),
|
|
82
|
-
_: 1
|
|
83
|
-
})),
|
|
84
|
-
s("h2", I, a(t.ssoLang[t.appLanguage].billing), 1)
|
|
85
|
-
]),
|
|
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
|
-
class: "settingRow half-bottom"
|
|
94
|
-
}, [
|
|
95
|
-
s("div", E, [
|
|
96
|
-
s("img", {
|
|
97
|
-
src: t.getIcon(t.app.t_apps_icon),
|
|
98
|
-
class: "withBackground"
|
|
99
|
-
}, null, 8, M),
|
|
100
|
-
s("h4", null, a(n.t_subscriptions_name), 1),
|
|
101
|
-
s("img", {
|
|
102
|
-
src: t.getIcon("arrow-gray-right.svg")
|
|
103
|
-
}, null, 8, N)
|
|
104
|
-
])
|
|
105
|
-
]))), 128))
|
|
106
|
-
])
|
|
107
|
-
])
|
|
108
|
-
]);
|
|
109
|
-
}
|
|
110
|
-
const q = /* @__PURE__ */ d(w, [["render", R], ["__scopeId", "data-v-4d3e1bec"]]);
|
|
111
|
-
export {
|
|
112
|
-
q as default
|
|
113
|
-
};
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { _ as d, A as u, b as g, E as m } from "./install-DvMvXfuA.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
|
-
};
|
package/dist/QR-BrzkfUU3.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { _ as s, A as i, Q as a } from "./install-DvMvXfuA.js";
|
|
2
|
-
import { resolveComponent as r, openBlock as u, createElementBlock as p, createElementVNode as o, toDisplayString as t, createVNode as d, withCtx as g, createTextVNode as _ } from "vue";
|
|
3
|
-
const m = {
|
|
4
|
-
name: "AuthQR",
|
|
5
|
-
mixins: [i, a]
|
|
6
|
-
}, L = { class: "page-login content-boxed content-boxed-padding" }, h = { style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "130px" } }, b = { class: "center-text" }, f = { style: { margin: "0 auto", width: "85%", "text-align": "left" } }, y = { class: "center-text" };
|
|
7
|
-
function v(e, n, k, w, C, q) {
|
|
8
|
-
const l = r("router-link");
|
|
9
|
-
return u(), p("div", L, [
|
|
10
|
-
o("h5", h, t(e.ssoLang[e.appLanguage].use_tapni_on_the_web), 1),
|
|
11
|
-
n[6] || (n[6] = o("br", null, null, -1)),
|
|
12
|
-
o("div", b, [
|
|
13
|
-
n[3] || (n[3] = o("div", {
|
|
14
|
-
id: "qrCodeContainer",
|
|
15
|
-
class: "qrCodeRounded",
|
|
16
|
-
style: { "max-width": "100%" }
|
|
17
|
-
}, null, -1)),
|
|
18
|
-
n[4] || (n[4] = o("br", null, null, -1)),
|
|
19
|
-
n[5] || (n[5] = o("br", null, null, -1)),
|
|
20
|
-
o("div", f, [
|
|
21
|
-
o("h2", y, t(e.ssoLang[e.appLanguage].login_by_scanning_qr_code), 1),
|
|
22
|
-
n[0] || (n[0] = o("br", null, null, -1)),
|
|
23
|
-
o("h4", null, t(e.ssoLang[e.appLanguage].open_tapni_app_on_your_phone), 1),
|
|
24
|
-
o("h4", null, t(e.ssoLang[e.appLanguage].go_to_settings_link_a_device), 1),
|
|
25
|
-
o("h4", null, t(e.ssoLang[e.appLanguage].point_your_phone_at_this_qr_code), 1),
|
|
26
|
-
n[1] || (n[1] = o("br", null, null, -1)),
|
|
27
|
-
n[2] || (n[2] = o("br", null, null, -1))
|
|
28
|
-
]),
|
|
29
|
-
d(l, { to: "/login" }, {
|
|
30
|
-
default: g(() => [
|
|
31
|
-
_(t(e.ssoLang[e.appLanguage].choose_other_login_methods), 1)
|
|
32
|
-
]),
|
|
33
|
-
_: 1
|
|
34
|
-
})
|
|
35
|
-
])
|
|
36
|
-
]);
|
|
37
|
-
}
|
|
38
|
-
const Q = /* @__PURE__ */ s(m, [["render", v]]);
|
|
39
|
-
export {
|
|
40
|
-
Q as default
|
|
41
|
-
};
|
package/dist/TapniAuth.es.js
DELETED