@tapni/auth 0.0.84 → 0.0.86
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/TapniAuth.es.js +130 -127
- package/dist/TapniAuth.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/App.vue +1 -2
- package/src/mixins/auth.mixin.js +0 -2
- package/src/views/Login.vue +0 -1
- package/src/views/Welcome.vue +0 -2
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.app-store-icon[data-v-
|
|
1
|
+
.app-store-icon[data-v-67088d6f]{box-shadow:0 4px 10px #00000017;border-radius:12px}#codeInput[data-v-75db7f02],#emailInput[data-v-75db7f02],#emailInput[data-v-4f85b89a]{text-align:center;padding-right:15%;font-size:17px}.fade-enter-to[data-v-a128c2fa]{opacity:1}.sso-img[data-v-11f19a09]{margin:2px auto 0;width:35px}input[data-v-11f19a09]{margin:0 auto;height:25px}.sso-img[data-v-4f821f65]{margin:2px auto 0;width:35px}input[data-v-4f821f65]{margin:0 auto;height:25px}.link-grid,.user-link-img{width:100%;display:inline-table;position:relative}.link-grid{width:30%;margin:1.6%;padding:1.6%}.link-grid .user-link-img img{border-radius:25%!important}.link-grid .edit-icon{border-radius:20px;right:-3%;top:-3%;position:absolute;z-index:3;max-width:23%;overflow:hidden;min-width:30px}.link-grid .direct-icon{border-radius:20px;left:-3%;top:-3%;position:absolute;z-index:555;max-width:23%;overflow:hidden;min-width:30px}.link-grid .link-text{min-height:20px;margin-top:3px!important;display:block;text-align:center;line-height:normal;overflow-wrap:anywhere}.link-list{width:93%;max-height:67px!important;margin:0 auto;display:flex;border-radius:15px!important;background-color:#fff;border:solid 1px #e8e8e8;position:relative;align-items:center}.link-list .user-link-img{display:inline-block;width:65px;border-radius:25%!important}.link-list .link-text{display:inline-block;padding:18px 0% 17px 10%;font-size:15px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:1;text-align:left;border-radius:15px!important}.link-list .edit-icon{border-radius:20px;right:7%;top:30%;position:absolute;z-index:3;width:26px;overflow:hidden}.link-list .switching{width:45px}.link-list .direct-icon{border-radius:20px;left:-2%;top:-13%;position:absolute;z-index:555;width:26px;overflow:hidden}.small{width:22%!important;margin:2% 4% 0%;padding:0%}.small .link-text{margin-top:0!important;font-size:13px}.linkExternal{margin-right:20px;width:20px;display:inline-block!important;height:20px;background:#000;-webkit-mask:url(https://cdn.tapni.co/icons/link-external.svg) no-repeat center;mask:url(https://cdn.tapni.co/icons/link-external.svg) no-repeat center;transform:scale(1.5)}.user-img[data-v-34a6b7b2]{margin:2px auto 0;width:65px}input[data-v-34a6b7b2]{margin:0 auto;height:25px}html *{font-family:Inter,sans-serif}#bodyId{padding-top:3%;max-width:550px!important;margin:1.5% auto auto;height:95%!important;border-radius:20px}.action-block-top .default-text,.action-block-top .default-text:after{border-radius:50%;width:10em!important;height:10em!important}.action-block-top .default-text{margin:10px auto;font-size:3px;position:relative;text-indent:-9999em;border-left:.5em solid #000000;border-top:.5em solid rgba(0,0,0,.2);border-right:.5em solid rgba(0,0,0,.2);border-bottom:.5em solid rgba(0,0,0,.2);-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:load8 1.1s infinite linear;animation:load8 1.1s infinite linear}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.smartbanner-ios{background:linear-gradient(to bottom,#f4f4f4,#f4f4f4);box-shadow:0 0 #fff;border-bottom:1px solid #dddddd}.smartbanner-icon{border-radius:16px}.smartbanner-ios .smartbanner-button{font-size:13px;padding:9px 0;height:40px;border-radius:13px;background:#f4f4f4;color:#0a99d2;border:none;box-shadow:none;text-transform:uppercase}.snack-body{display:none;border-radius:40px;font-size:15px!important}#errorSnack{background-color:#fee3e3!important;border:2px solid #edd9d9!important;color:#000}#successSnack{background-color:#eff5eb!important;border:2px solid #e3ecd7!important;color:#000}.grecaptcha-badge{visibility:hidden}.header-logo{position:absolute;left:50%;transform:translate(-50%,-50%);margin-top:0;z-index:2}.header-logo-img{height:40px;margin-top:10px}
|
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -32,7 +32,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|
|
32
32
|
<AuthVerify v-else-if="initialized && renderView === 'AuthVerify'" :isModal="isModal" />
|
|
33
33
|
<AuthReset v-else-if="initialized && renderView === 'AuthReset'" />
|
|
34
34
|
<AuthCallback v-else-if="initialized && renderView === 'AuthCallback'" />
|
|
35
|
-
<RouterView v-else />
|
|
35
|
+
<RouterView v-else name="authRouterView" />
|
|
36
36
|
|
|
37
37
|
<div class="snackbar snackbar-boxed" id="snackbar">
|
|
38
38
|
<p class="snack-body" id="errorSnack">
|
|
@@ -136,7 +136,6 @@ export default {
|
|
|
136
136
|
const refreshTokens = this.getRefreshTokens();
|
|
137
137
|
this.setRefreshToken(refreshTokens[0]);
|
|
138
138
|
await this.getLoggedInAccounts();
|
|
139
|
-
// EventBus.$emit("ssoEvent", { name: "setStorage", data: this.$storage });
|
|
140
139
|
|
|
141
140
|
// Let App know that the auth is ready
|
|
142
141
|
this.$emit('ssoLibraryReady', this.$storage);
|
package/src/mixins/auth.mixin.js
CHANGED
|
@@ -245,9 +245,7 @@ export default {
|
|
|
245
245
|
},
|
|
246
246
|
async refreshTokenAction(data) {
|
|
247
247
|
return new Promise(async (resolve, reject) => {
|
|
248
|
-
console.log('auth-refreshTokenAction', data);
|
|
249
248
|
if (!this.refreshToken || this.refreshing) {
|
|
250
|
-
console.log('return-refreshTokenAction', this.refreshToken, this.refreshing);
|
|
251
249
|
return reject(null);
|
|
252
250
|
}
|
|
253
251
|
|
package/src/views/Login.vue
CHANGED