@tapni/auth 1.0.4 → 1.0.5
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 +22 -12
- package/dist/{Account-zep_QUuI.js → Account-Cuz87g_8.js} +1 -1
- package/dist/Apps-DMds3Dv-.js +109 -0
- package/dist/Billing-BXlQEuNy.js +113 -0
- package/dist/CustomApp-CLCMXmMO.js +83 -0
- package/dist/{General-DkcdjPYQ.js → General-dW73bMoR.js} +183 -181
- package/dist/{QR-PW6cAG5j.js → QR-D6ZGcPM0.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +15 -15
- package/dist/{install-BzPu9V_c.js → install-L-cxSovH.js} +1180 -1143
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/App.vue +15 -2
- package/src/components/{SSO.vue → DELETE_SSO.vue} +1 -7
- package/src/main.js +0 -1
- package/src/mixins/microsoft.mixin.js +0 -3
- package/src/mixins/okta.mixin.js +1 -1
- package/src/mixins/saml.mixin.js +1 -1
- package/src/routes.js +6 -0
- package/src/services/AuthService.js +6 -0
- package/src/services/MetadataService.js +10 -0
- package/src/store/locales/en.js +2 -1
- package/src/views/Apps.vue +17 -30
- package/src/views/Billing.vue +108 -0
- package/src/views/CustomApp.vue +14 -39
- package/src/views/General.vue +5 -4
- package/src/views/Login.vue +194 -159
- package/src/views/Security.vue +1 -1
- package/dist/Apps-B9XB7Z7q.js +0 -112
- package/dist/CustomApp-BzUsyycz.js +0 -112
- /package/src/components/{SSOPick.vue → DELETE_SSOPick.vue} +0 -0
package/src/views/Login.vue
CHANGED
|
@@ -24,9 +24,10 @@
|
|
|
24
24
|
/>
|
|
25
25
|
</i>
|
|
26
26
|
</a>
|
|
27
|
-
<
|
|
28
|
-
{{ this.ssoLang[this.appLanguage].
|
|
29
|
-
|
|
27
|
+
<h2 class="bold no-bottom center-text" style="margin-top: 63px;">
|
|
28
|
+
<span v-if="isSSOLogin">{{ this.ssoLang[this.appLanguage].enter_company_email }}</span>
|
|
29
|
+
<span v-else>{{ this.ssoLang[this.appLanguage].login }}</span>
|
|
30
|
+
</h2>
|
|
30
31
|
<p class="half-bottom small-top center-text color-black"></p>
|
|
31
32
|
|
|
32
33
|
<span v-if="displayFormLogin">
|
|
@@ -46,12 +47,12 @@
|
|
|
46
47
|
spellcheck="false"
|
|
47
48
|
type="text"
|
|
48
49
|
name="email"
|
|
49
|
-
:placeholder="ssoLang[this.appLanguage].email_username"
|
|
50
|
+
:placeholder="isSSOLogin ? ssoLang[this.appLanguage].email : ssoLang[this.appLanguage].email_username"
|
|
50
51
|
required
|
|
51
52
|
/>
|
|
52
53
|
<em></em>
|
|
53
54
|
</div>
|
|
54
|
-
<div class="page-login-field half-bottom">
|
|
55
|
+
<div v-if="!isSSOLogin" class="page-login-field half-bottom">
|
|
55
56
|
<i style="padding-top: 15px">
|
|
56
57
|
<img
|
|
57
58
|
src="https://cdn.tapni.co/icons/padlock.png"
|
|
@@ -106,163 +107,170 @@
|
|
|
106
107
|
<span v-else class="button--loading button__loader"></span>
|
|
107
108
|
</button>
|
|
108
109
|
</span>
|
|
110
|
+
|
|
109
111
|
<div class="decoration decoration-lines-thin half-top half-bottom"></div>
|
|
110
|
-
<!-- Apple Login Button -->
|
|
111
|
-
<a
|
|
112
|
-
@click="appleLogin"
|
|
113
|
-
v-if="displayAppleLogin"
|
|
114
|
-
class="button-center button button-90 google-button pointer"
|
|
115
|
-
>
|
|
116
|
-
<img
|
|
117
|
-
src="https://cdn.tapni.co/icons/apple-logo.png"
|
|
118
|
-
style="
|
|
119
|
-
position: absolute;
|
|
120
|
-
margin-left: -11px;
|
|
121
|
-
padding: 8px 0;
|
|
122
|
-
height: 100%;
|
|
123
|
-
"
|
|
124
|
-
/>
|
|
125
|
-
<span v-if="!appleLoad">{{ ssoLang[appLanguage].sign_in_with }} Apple</span>
|
|
126
|
-
<span v-else class="button--loading-black button__loader"></span>
|
|
127
|
-
</a>
|
|
128
112
|
|
|
129
|
-
<!--
|
|
130
|
-
<
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
src="https://cdn.tapni.co/icons/g-logo.png"
|
|
137
|
-
style="
|
|
138
|
-
position: absolute;
|
|
139
|
-
margin-left: -10px;
|
|
140
|
-
padding: 8px 0;
|
|
141
|
-
height: 100%;
|
|
142
|
-
"
|
|
143
|
-
/>
|
|
144
|
-
<span v-if="!googleLoad"
|
|
145
|
-
>{{ ssoLang[appLanguage].sign_in_with }} Google</span
|
|
113
|
+
<!-- Login Buttons -->
|
|
114
|
+
<span v-show="!isSSOLogin">
|
|
115
|
+
<!-- Apple Login Button -->
|
|
116
|
+
<a
|
|
117
|
+
@click="appleLogin"
|
|
118
|
+
v-if="displayAppleLogin"
|
|
119
|
+
class="button-center button button-90 google-button pointer"
|
|
146
120
|
>
|
|
147
|
-
|
|
148
|
-
|
|
121
|
+
<img
|
|
122
|
+
src="https://cdn.tapni.co/icons/apple-logo.png"
|
|
123
|
+
style="
|
|
124
|
+
position: absolute;
|
|
125
|
+
margin-left: -11px;
|
|
126
|
+
padding: 8px 0;
|
|
127
|
+
height: 100%;
|
|
128
|
+
"
|
|
129
|
+
/>
|
|
130
|
+
<span v-if="!appleLoad">{{ ssoLang[appLanguage].sign_in_with }} Apple</span>
|
|
131
|
+
<span v-else class="button--loading-black button__loader"></span>
|
|
132
|
+
</a>
|
|
149
133
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
>
|
|
156
|
-
<img
|
|
157
|
-
src="https://cdn.tapni.co/icons/facebook-blue.png"
|
|
158
|
-
style="
|
|
159
|
-
position: absolute;
|
|
160
|
-
margin-left: -9px;
|
|
161
|
-
padding: 10px 0;
|
|
162
|
-
height: 100%;
|
|
163
|
-
"
|
|
164
|
-
/>
|
|
165
|
-
<span v-if="!facebookLoad"
|
|
166
|
-
>{{ ssoLang[appLanguage].sign_in_with }} Facebook</span
|
|
134
|
+
<!-- Google Login Button -->
|
|
135
|
+
<a
|
|
136
|
+
@click="googleLogin"
|
|
137
|
+
v-if="displayGoogleLogin"
|
|
138
|
+
class="button-center button button-90 google-button pointer"
|
|
167
139
|
>
|
|
168
|
-
|
|
169
|
-
|
|
140
|
+
<img
|
|
141
|
+
src="https://cdn.tapni.co/icons/g-logo.png"
|
|
142
|
+
style="
|
|
143
|
+
position: absolute;
|
|
144
|
+
margin-left: -10px;
|
|
145
|
+
padding: 8px 0;
|
|
146
|
+
height: 100%;
|
|
147
|
+
"
|
|
148
|
+
/>
|
|
149
|
+
<span v-if="!googleLoad"
|
|
150
|
+
>{{ ssoLang[appLanguage].sign_in_with }} Google</span
|
|
151
|
+
>
|
|
152
|
+
<span v-else class="button--loading-black button__loader"></span>
|
|
153
|
+
</a>
|
|
170
154
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
155
|
+
<!-- Facebook Login Button -->
|
|
156
|
+
<a
|
|
157
|
+
@click="facebookLogin"
|
|
158
|
+
v-if="displayFacebookLogin"
|
|
159
|
+
class="button-center button button-90 google-button pointer"
|
|
160
|
+
>
|
|
161
|
+
<img
|
|
162
|
+
src="https://cdn.tapni.co/icons/facebook-blue.png"
|
|
163
|
+
style="
|
|
164
|
+
position: absolute;
|
|
165
|
+
margin-left: -9px;
|
|
166
|
+
padding: 10px 0;
|
|
167
|
+
height: 100%;
|
|
168
|
+
"
|
|
169
|
+
/>
|
|
170
|
+
<span v-if="!facebookLoad"
|
|
171
|
+
>{{ ssoLang[appLanguage].sign_in_with }} Facebook</span
|
|
172
|
+
>
|
|
173
|
+
<span v-else class="button--loading-black button__loader"></span>
|
|
174
|
+
</a>
|
|
175
|
+
|
|
176
|
+
<!-- Microsoft Login Button -->
|
|
177
|
+
<a
|
|
178
|
+
@click="microsoftLogin"
|
|
179
|
+
v-if="!displayMicrosoftSSOLogin"
|
|
180
|
+
class="button-center button button-90 google-button pointer"
|
|
181
|
+
>
|
|
182
|
+
<img
|
|
183
|
+
src="https://cdn.tapni.co/icons/outlook.png"
|
|
184
|
+
style="
|
|
185
|
+
position: absolute;
|
|
186
|
+
margin-left: -8px;
|
|
187
|
+
padding: 10px 0;
|
|
188
|
+
height: 100%;
|
|
189
|
+
"
|
|
190
|
+
/>
|
|
191
|
+
<span v-if="!microsoftLoad"
|
|
187
192
|
>{{ ssoLang[appLanguage].sign_in_with }} Outlook</span
|
|
193
|
+
>
|
|
194
|
+
<span v-else class="button--loading-black button__loader"></span>
|
|
195
|
+
</a>
|
|
196
|
+
|
|
197
|
+
<!-- Microsoft SSO Button -->
|
|
198
|
+
<a
|
|
199
|
+
@click="isSSOLogin = true"
|
|
200
|
+
v-if="!displayMicrosoftSSOLogin"
|
|
201
|
+
class="button-center button button-90 google-button pointer"
|
|
188
202
|
>
|
|
189
|
-
|
|
190
|
-
|
|
203
|
+
<img
|
|
204
|
+
src="https://cdn.tapni.co/icons/sso-key.png"
|
|
205
|
+
style="
|
|
206
|
+
position: absolute;
|
|
207
|
+
margin-left: -8px;
|
|
208
|
+
padding: 10px 0;
|
|
209
|
+
height: 100%;
|
|
210
|
+
"
|
|
211
|
+
/>
|
|
212
|
+
<span v-if="!microsoftSSOLoad">{{ ssoLang[appLanguage].sign_in_with }} SSO</span>
|
|
213
|
+
<span v-else class="button--loading-black button__loader"></span>
|
|
214
|
+
</a>
|
|
191
215
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
<!-- Microsoft SSO Button -->
|
|
211
|
-
<a
|
|
212
|
-
@click="microsoftLogin('sso')"
|
|
213
|
-
v-if="displayMicrosoftSSOLogin"
|
|
214
|
-
class="button-center button button-90 google-button pointer"
|
|
215
|
-
>
|
|
216
|
-
<img
|
|
217
|
-
src="https://cdn.tapni.co/icons/sso-key.png"
|
|
218
|
-
style="
|
|
219
|
-
position: absolute;
|
|
220
|
-
margin-left: -8px;
|
|
221
|
-
padding: 10px 0;
|
|
222
|
-
height: 100%;
|
|
223
|
-
"
|
|
224
|
-
/>
|
|
225
|
-
<span v-if="microsoftSSOLoad">{{ ssoLang[appLanguage].sign_in_with }} SSO</span>
|
|
226
|
-
<span v-else class="button--loading-black button__loader"></span>
|
|
227
|
-
</a>
|
|
216
|
+
<!-- Microsoft SSO Button -->
|
|
217
|
+
<a
|
|
218
|
+
@click="microsoftLogin('sso')"
|
|
219
|
+
v-if="displayMicrosoftSSOLogin"
|
|
220
|
+
class="button-center button button-90 google-button pointer"
|
|
221
|
+
>
|
|
222
|
+
<img
|
|
223
|
+
src="https://cdn.tapni.co/icons/sso-key.png"
|
|
224
|
+
style="
|
|
225
|
+
position: absolute;
|
|
226
|
+
margin-left: -8px;
|
|
227
|
+
padding: 10px 0;
|
|
228
|
+
height: 100%;
|
|
229
|
+
"
|
|
230
|
+
/>
|
|
231
|
+
<span v-if="microsoftSSOLoad">{{ ssoLang[appLanguage].sign_in_with }} SSO</span>
|
|
232
|
+
<span v-else class="button--loading-black button__loader"></span>
|
|
233
|
+
</a>
|
|
228
234
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
235
|
+
<!-- Email Login Button -->
|
|
236
|
+
<a
|
|
237
|
+
@click="emailLogin = true"
|
|
238
|
+
v-if="!displayFormLogin"
|
|
239
|
+
class="button-center button button-90 google-button pointer"
|
|
240
|
+
>
|
|
241
|
+
<img
|
|
242
|
+
src="https://cdn.tapni.co/icons/mail.png"
|
|
243
|
+
style="
|
|
244
|
+
position: absolute;
|
|
245
|
+
margin-left: -8px;
|
|
246
|
+
padding: 12px 0;
|
|
247
|
+
height: 100%;
|
|
248
|
+
"
|
|
249
|
+
/>
|
|
250
|
+
<span>{{ ssoLang[appLanguage].sign_in_with }} Email</span>
|
|
251
|
+
</a>
|
|
246
252
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
253
|
+
<!-- Google Login Button -->
|
|
254
|
+
<a
|
|
255
|
+
@click="$router.push('/qr')"
|
|
256
|
+
v-if="displayQRLogin"
|
|
257
|
+
class="button-center button button-90 google-button pointer"
|
|
258
|
+
>
|
|
259
|
+
<img
|
|
260
|
+
src="https://cdn.tapni.co/icons/qr.png"
|
|
261
|
+
style="
|
|
262
|
+
position: absolute;
|
|
263
|
+
margin-left: -5px;
|
|
264
|
+
padding: 15px 0;
|
|
265
|
+
height: 100%;
|
|
266
|
+
"
|
|
267
|
+
/>
|
|
268
|
+
<span>{{ ssoLang[appLanguage].sign_in_with }} QR</span>
|
|
269
|
+
</a>
|
|
270
|
+
|
|
271
|
+
<div class="decoration decoration-lines-thin no-bottom"></div>
|
|
272
|
+
</span>
|
|
264
273
|
|
|
265
|
-
<div class="decoration decoration-lines-thin no-bottom"></div>
|
|
266
274
|
|
|
267
275
|
<p class="close-text center-text half-top color-black">
|
|
268
276
|
{{ ssoLang[appLanguage].terms_by_signing_in }} <br />
|
|
@@ -280,21 +288,25 @@
|
|
|
280
288
|
v-if="displayRegisterLogin"
|
|
281
289
|
class="forgot float-right"
|
|
282
290
|
to="/register"
|
|
283
|
-
>{{ ssoLang[appLanguage].create_account }}
|
|
284
|
-
>
|
|
291
|
+
>{{ ssoLang[appLanguage].create_account }}
|
|
292
|
+
</router-link>
|
|
285
293
|
<router-link
|
|
286
294
|
v-if="displayResetPasswordLogin"
|
|
287
295
|
class="create float-left"
|
|
288
296
|
to="/reset"
|
|
289
|
-
>{{ ssoLang[appLanguage].reset_password }}
|
|
290
|
-
>
|
|
297
|
+
>{{ ssoLang[appLanguage].reset_password }}
|
|
298
|
+
</router-link>
|
|
299
|
+
<a v-if="isSSOLogin" @click="isSSOLogin = false"
|
|
300
|
+
class="create float-left pointer"
|
|
301
|
+
>{{ ssoLang[appLanguage].go_back }}
|
|
302
|
+
</a>
|
|
291
303
|
<div class="clear"></div>
|
|
292
304
|
</div>
|
|
293
305
|
<div v-else class="page-login-links" @click="createAccountModal">
|
|
294
|
-
<a class="forgot center-text pointer small-top"
|
|
295
|
-
|
|
296
|
-
{{ ssoLang[appLanguage].create_new_account }}
|
|
297
|
-
>
|
|
306
|
+
<a class="forgot center-text pointer small-top">
|
|
307
|
+
{{ ssoLang[appLanguage].or }} <br />
|
|
308
|
+
{{ ssoLang[appLanguage].create_new_account }}
|
|
309
|
+
</a>
|
|
298
310
|
<div class="clear"></div>
|
|
299
311
|
</div>
|
|
300
312
|
</form>
|
|
@@ -323,6 +335,7 @@ export default {
|
|
|
323
335
|
captcha: "",
|
|
324
336
|
revealPassword: false,
|
|
325
337
|
emailLogin: true,
|
|
338
|
+
isSSOLogin: false,
|
|
326
339
|
|
|
327
340
|
otpToken: '',
|
|
328
341
|
showOTP: false
|
|
@@ -333,7 +346,7 @@ export default {
|
|
|
333
346
|
return this.emailLogin;
|
|
334
347
|
},
|
|
335
348
|
displayResetPasswordLogin() {
|
|
336
|
-
return
|
|
349
|
+
return !this.isSSOLogin;
|
|
337
350
|
},
|
|
338
351
|
displayRegisterLogin() {
|
|
339
352
|
return true;
|
|
@@ -361,11 +374,33 @@ export default {
|
|
|
361
374
|
});
|
|
362
375
|
},
|
|
363
376
|
methods: {
|
|
377
|
+
async ssoLoginSubmit () {
|
|
378
|
+
this.loading = true;
|
|
379
|
+
const response = await this.getCompanyBySSOEmail({ email: this.emailOrUsername });
|
|
380
|
+
this.loading = false;
|
|
381
|
+
let ssoTypes;
|
|
382
|
+
if (!response || response.error) return;
|
|
383
|
+
else {
|
|
384
|
+
ssoTypes = Object.keys(response.sso);
|
|
385
|
+
if (!ssoTypes.length) {
|
|
386
|
+
this.forceClose();
|
|
387
|
+
return this.errorSnack(this.ssoLang[this.appLanguage].no_sso_logins);
|
|
388
|
+
} else {
|
|
389
|
+
if (ssoTypes[0] === "azure")
|
|
390
|
+
this.microsoftLogin("sso", response.sso.azure.sso);
|
|
391
|
+
if (ssoTypes[0] === "okta") this.oktaLogin(response.sso.okta.sso);
|
|
392
|
+
if (ssoTypes[0] === "saml")
|
|
393
|
+
this.samlLogin(response.sso.saml.sso.loginUrl);
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
},
|
|
364
397
|
async submit() {
|
|
365
398
|
// if (this.captcha === '') return this._vm.errorHandler({ message: 'Please select recaptcha' });
|
|
366
399
|
if (this.submitted) return;
|
|
367
400
|
this.submitted = true;
|
|
368
401
|
|
|
402
|
+
if (this.isSSOLogin) return this.ssoLoginSubmit();
|
|
403
|
+
|
|
369
404
|
this.emailOrUsername = this.emailOrUsername.trim();
|
|
370
405
|
|
|
371
406
|
let response_type = this.$route.query.response_type;
|
package/src/views/Security.vue
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
</a>
|
|
8
8
|
<div class="subheaderContainer full-top">
|
|
9
9
|
<!-- Back Button -->
|
|
10
|
-
<router-link to="/account" class="button gray-button pointer left-button">
|
|
10
|
+
<router-link v-if="!isModal" to="/account" class="button gray-button pointer left-button">
|
|
11
11
|
<img
|
|
12
12
|
:src="getIcon('arrow-gray-right.svg')"
|
|
13
13
|
height="20"
|
package/dist/Apps-B9XB7Z7q.js
DELETED
|
@@ -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
|
-
};
|
|
File without changes
|