@tapni/auth 0.0.167 → 0.0.169
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 +6 -6
- package/dist/{Account-LbwXU_zF.js → Account-ja1hZJy5.js} +1 -1
- package/dist/{QR-8LYoP9ge.js → QR-ybXT1KGe.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +4 -4
- package/dist/{install-bvo7alyE.js → install-4aK3Wz63.js} +842 -823
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Language.vue +25 -15
- package/src/components/LinkIcon.vue +1 -1
- package/src/store/auth.js +3 -1
- package/src/store/locales/cn.js +1 -1
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.app-store-icon[data-v-615ed484]{box-shadow:0 4px 10px #00000017;border-radius:12px}#codeInput[data-v-89d98ef3],#emailInput[data-v-89d98ef3],#emailInput[data-v-69a9cfa3]{text-align:center;padding-right:15%;font-size:17px}.fade-enter-to[data-v-17c95816]{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-
|
|
1
|
+
.app-store-icon[data-v-615ed484]{box-shadow:0 4px 10px #00000017;border-radius:12px}#codeInput[data-v-89d98ef3],#emailInput[data-v-89d98ef3],#emailInput[data-v-69a9cfa3]{text-align:center;padding-right:15%;font-size:17px}.fade-enter-to[data-v-17c95816]{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-7477a961]{margin:2px auto 0;width:65px}input[data-v-7477a961]{margin:0 auto;height:25px}html *{font-family:Inter,sans-serif}#bodyId{padding-top:3%;max-width:667px!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}.container[data-v-992c1e64]{padding:20px 20px 100px!important;display:flex;flex-direction:column;gap:20px}.settingsCard[data-v-992c1e64]{background-color:#fff;padding:20px;border-radius:26px;align-items:center}.device[data-v-992c1e64]{display:flex;align-items:center}h4[data-v-992c1e64]{margin-left:20px;font-weight:700}.middle[data-v-992c1e64]{flex:1}.left img[data-v-992c1e64]{background-color:#f7f8f9;border-radius:20px;padding:10px}.divider[data-v-992c1e64]{height:1px;background-color:#f0f0f0;margin:20px 0}.moreFooter[data-v-992c1e64]{display:flex;align-items:center;justify-content:space-between;padding:0 10px}
|
package/package.json
CHANGED
|
@@ -23,74 +23,84 @@
|
|
|
23
23
|
|
|
24
24
|
<LinkIcon
|
|
25
25
|
@click.native="updateLanguage('en')"
|
|
26
|
-
:link-style="'link-
|
|
26
|
+
:link-style="'link-list'"
|
|
27
27
|
:data="{ type: 'lang/en', text: ssoLang[this.appLanguage].english }"
|
|
28
28
|
:editing="false"
|
|
29
29
|
:class="{ 'add-button': true }"
|
|
30
|
+
:customLinkStyle="{ linkIcon: { display: 'none' }}"
|
|
30
31
|
/>
|
|
31
32
|
|
|
32
33
|
<LinkIcon
|
|
33
34
|
@click.native="updateLanguage('es')"
|
|
34
|
-
:link-style="'link-
|
|
35
|
+
:link-style="'link-list'"
|
|
35
36
|
:data="{ type: 'lang/es', text: ssoLang[this.appLanguage].spanish }"
|
|
36
37
|
:editing="false"
|
|
37
38
|
:class="{ 'add-button': true }"
|
|
39
|
+
:customLinkStyle="{ linkIcon: { display: 'none' }}"
|
|
38
40
|
/>
|
|
39
41
|
|
|
40
42
|
<LinkIcon
|
|
41
43
|
@click.native="updateLanguage('de')"
|
|
42
|
-
:link-style="'link-
|
|
44
|
+
:link-style="'link-list'"
|
|
43
45
|
:data="{ type: 'lang/de', text: ssoLang[this.appLanguage].german }"
|
|
44
46
|
:editing="false"
|
|
45
47
|
:class="{ 'add-button': true }"
|
|
48
|
+
:customLinkStyle="{ linkIcon: { display: 'none' }}"
|
|
46
49
|
/>
|
|
47
50
|
|
|
48
51
|
<LinkIcon
|
|
49
52
|
@click.native="updateLanguage('it')"
|
|
50
|
-
:link-style="'link-
|
|
53
|
+
:link-style="'link-list'"
|
|
51
54
|
:data="{ type: 'lang/it', text: ssoLang[this.appLanguage].italian }"
|
|
52
55
|
:editing="false"
|
|
53
56
|
:class="{ 'add-button': true }"
|
|
57
|
+
:customLinkStyle="{ linkIcon: { display: 'none' }}"
|
|
54
58
|
/>
|
|
55
59
|
|
|
56
60
|
<LinkIcon
|
|
57
61
|
@click.native="updateLanguage('fr')"
|
|
58
|
-
:link-style="'link-
|
|
62
|
+
:link-style="'link-list'"
|
|
59
63
|
:data="{ type: 'lang/fr', text: ssoLang[this.appLanguage].french }"
|
|
60
64
|
:editing="false"
|
|
61
65
|
:class="{ 'add-button': true }"
|
|
66
|
+
:customLinkStyle="{ linkIcon: { display: 'none' }}"
|
|
62
67
|
/>
|
|
63
68
|
|
|
64
69
|
<LinkIcon
|
|
65
70
|
@click.native="updateLanguage('kr')"
|
|
66
|
-
:link-style="'link-
|
|
71
|
+
:link-style="'link-list'"
|
|
67
72
|
:data="{ type: 'lang/kr', text: ssoLang[this.appLanguage].korean }"
|
|
68
73
|
:editing="false"
|
|
69
74
|
:class="{ 'add-button': true }"
|
|
75
|
+
:customLinkStyle="{ linkIcon: { display: 'none' }}"
|
|
70
76
|
/>
|
|
71
77
|
|
|
72
78
|
<LinkIcon
|
|
73
79
|
@click.native="updateLanguage('sr')"
|
|
74
|
-
:link-style="'link-
|
|
80
|
+
:link-style="'link-list'"
|
|
75
81
|
:data="{ type: 'lang/sr', text: ssoLang[this.appLanguage].serbian }"
|
|
76
82
|
:editing="false"
|
|
77
83
|
:class="{ 'add-button': true }"
|
|
84
|
+
:customLinkStyle="{ linkIcon: { display: 'none' }}"
|
|
78
85
|
/>
|
|
79
86
|
|
|
80
87
|
<LinkIcon
|
|
81
88
|
@click.native="updateLanguage('tr')"
|
|
82
|
-
:link-style="'link-
|
|
89
|
+
:link-style="'link-list'"
|
|
83
90
|
:data="{ type: 'lang/tr', text: ssoLang[this.appLanguage].turkish }"
|
|
84
91
|
:editing="false"
|
|
85
92
|
:class="{ 'add-button': true }"
|
|
93
|
+
:customLinkStyle="{ linkIcon: { display: 'none' }}"
|
|
94
|
+
/>
|
|
95
|
+
|
|
96
|
+
<LinkIcon
|
|
97
|
+
@click.native="updateLanguage('cn')"
|
|
98
|
+
:link-style="'link-list'"
|
|
99
|
+
:data="{ type: 'lang/cn', text: ssoLang[this.appLanguage].chinese }"
|
|
100
|
+
:editing="false"
|
|
101
|
+
:class="{ 'add-button': true }"
|
|
102
|
+
:customLinkStyle="{ linkIcon: { display: 'none' }}"
|
|
86
103
|
/>
|
|
87
|
-
<!--
|
|
88
|
-
<LinkIcon @click.native="updateLanguage('cn')"
|
|
89
|
-
:link-style="'link-grid'"
|
|
90
|
-
:data="{ type: 'lang/cn', text: ssoLang[this.appLanguage].chinese }"
|
|
91
|
-
:editing="false"
|
|
92
|
-
:class="{ 'add-button': true }" />
|
|
93
|
-
-->
|
|
94
104
|
</div>
|
|
95
105
|
</template>
|
|
96
106
|
|
package/src/store/auth.js
CHANGED
|
@@ -460,8 +460,10 @@ export default {
|
|
|
460
460
|
}
|
|
461
461
|
});
|
|
462
462
|
} else {
|
|
463
|
-
if (state.display === "redirect"
|
|
463
|
+
if (state.display === "redirect") {
|
|
464
464
|
return router.push('/welcome');
|
|
465
|
+
} else if (state.display === "npm") {
|
|
466
|
+
EventBus.$emit("ssoEvent", { name: "redirect", data: "/welcome" });
|
|
465
467
|
}
|
|
466
468
|
}
|
|
467
469
|
},
|