@authrim/setup 0.1.74 → 0.1.76
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/web/ui.d.ts.map +1 -1
- package/dist/web/ui.js +10 -5
- package/dist/web/ui.js.map +1 -1
- package/package.json +1 -1
package/dist/web/ui.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../src/web/ui.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,wBAAgB,eAAe,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../src/web/ui.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,wBAAgB,eAAe,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAwvJnF"}
|
package/dist/web/ui.js
CHANGED
|
@@ -762,7 +762,7 @@ export function getHtmlTemplate(sessionToken, manageOnly) {
|
|
|
762
762
|
/* ========================================
|
|
763
763
|
BUTTONS
|
|
764
764
|
======================================== */
|
|
765
|
-
button {
|
|
765
|
+
button, a.btn-primary, a.btn-secondary {
|
|
766
766
|
padding: 0.875rem 1.75rem;
|
|
767
767
|
border-radius: 10px;
|
|
768
768
|
font-family: var(--font-sans);
|
|
@@ -771,6 +771,9 @@ export function getHtmlTemplate(sessionToken, manageOnly) {
|
|
|
771
771
|
cursor: pointer;
|
|
772
772
|
transition: all var(--transition-fast);
|
|
773
773
|
border: none;
|
|
774
|
+
text-decoration: none;
|
|
775
|
+
display: inline-block;
|
|
776
|
+
text-align: center;
|
|
774
777
|
}
|
|
775
778
|
|
|
776
779
|
.btn-primary {
|
|
@@ -2349,11 +2352,13 @@ export function getHtmlTemplate(sessionToken, manageOnly) {
|
|
|
2349
2352
|
<div id="admin-setup-result" class="hidden" style="margin-top: 1rem; padding: 0.75rem; background: var(--card-bg); border-radius: 6px;">
|
|
2350
2353
|
<div style="font-weight: 500; margin-bottom: 0.5rem;">Setup URL Generated:</div>
|
|
2351
2354
|
<div style="display: flex; gap: 0.5rem; align-items: center;">
|
|
2352
|
-
<input type="text" id="admin-setup-url" readonly style="flex: 1; padding: 0.5rem; border: 1px solid
|
|
2355
|
+
<input type="text" id="admin-setup-url" readonly style="flex: 1; padding: 0.5rem; border: 1px solid var(--border); border-radius: 4px; font-family: monospace; font-size: 0.875rem; background: var(--bg); color: var(--text);">
|
|
2353
2356
|
<button class="btn-secondary" id="btn-copy-setup-url" style="white-space: nowrap;">📋 Copy</button>
|
|
2354
|
-
<a id="btn-open-setup-url" href="#" target="_blank" class="btn-primary" style="text-decoration: none; white-space: nowrap;">🔗 Open</a>
|
|
2355
2357
|
</div>
|
|
2356
|
-
<div style="
|
|
2358
|
+
<div style="text-align: center; margin-top: 1rem;">
|
|
2359
|
+
<a id="btn-open-setup-url" href="#" target="_blank" class="btn-primary">🔗 Open Setup</a>
|
|
2360
|
+
</div>
|
|
2361
|
+
<div style="font-size: 0.75rem; color: var(--text-muted); margin-top: 0.75rem; text-align: center;">
|
|
2357
2362
|
This URL is valid for 1 hour. Open it in a browser to register the first admin account.
|
|
2358
2363
|
</div>
|
|
2359
2364
|
</div>
|
|
@@ -3969,7 +3974,7 @@ export function getHtmlTemplate(sessionToken, manageOnly) {
|
|
|
3969
3974
|
<button class="btn-secondary" onclick="navigator.clipboard.writeText('\${result.setupUrl}'); this.textContent='✓ Copied'; setTimeout(() => this.textContent='📋 Copy', 2000);" style="white-space: nowrap;">📋 Copy</button>
|
|
3970
3975
|
</div>
|
|
3971
3976
|
<div style="text-align: center; margin-top: 1rem;">
|
|
3972
|
-
<a href="\${result.setupUrl}" target="_blank" class="btn-primary"
|
|
3977
|
+
<a href="\${result.setupUrl}" target="_blank" class="btn-primary">🔗 Open Setup</a>
|
|
3973
3978
|
</div>
|
|
3974
3979
|
<div class="hint-box" style="margin-top: 0.75rem;">
|
|
3975
3980
|
⚠️ This URL can only be used <strong>once</strong> and expires in <strong>1 hour</strong>.
|
package/dist/web/ui.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.js","sourceRoot":"","sources":["../../src/web/ui.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,UAAU,eAAe,CAAC,YAAqB,EAAE,UAAoB;IACzE,gDAAgD;IAChD,MAAM,SAAS,GAAG,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1E,MAAM,cAAc,GAAG,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC;IAErD,OAAO
|
|
1
|
+
{"version":3,"file":"ui.js","sourceRoot":"","sources":["../../src/web/ui.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,UAAU,eAAe,CAAC,YAAqB,EAAE,UAAoB;IACzE,gDAAgD;IAChD,MAAM,SAAS,GAAG,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1E,MAAM,cAAc,GAAG,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC;IAErD,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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