@camstack/addon-admin-ui 1.1.6 → 1.1.7
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/{AddLocationWizard-BpPX3a-4.js → AddLocationWizard-CoJqjA3l.js} +1 -1
- package/dist/assets/{AddonCollectionPage-DvO0wjPK.js → AddonCollectionPage-zs1AXN8w.js} +1 -1
- package/dist/assets/{Addons-B4xjoFpj.js → Addons-DXYqgnTd.js} +1 -1
- package/dist/assets/{AdminTabs-C5sdC1qr.js → AdminTabs-De3EVB-B.js} +1 -1
- package/dist/assets/{BrokerForm-Dnb9EkNY.js → BrokerForm-Dx3iOmAA.js} +1 -1
- package/dist/assets/{BrokerStep-DURYGI2I.js → BrokerStep-FtGdtmvs.js} +1 -1
- package/dist/assets/{Capabilities-Bkjiw8TY.js → Capabilities-BSOJtygk.js} +1 -1
- package/dist/assets/{CapabilityBadges-ZhWw-ax-.js → CapabilityBadges-BjTPAZIG.js} +1 -1
- package/dist/assets/{Cluster-B3Bb0IVY.js → Cluster-KQwKEGdt.js} +1 -1
- package/dist/assets/{Dashboard-C5JG9RLY.js → Dashboard-BAUwgnZy.js} +1 -1
- package/dist/assets/{Data-BkznSh_t.js → Data-CHXG4K7q.js} +1 -1
- package/dist/assets/{DetectionIntelligence-BBRyXHIU.js → DetectionIntelligence-DuMdlBXE.js} +1 -1
- package/dist/assets/{DeviceDetail-sM_khBZK.js → DeviceDetail-CMzQxq3s.js} +1 -1
- package/dist/assets/{Devices-Bw_t8JpQ.js → Devices-COJrNZX3.js} +1 -1
- package/dist/assets/{Identity-lEsezC8_.js → Identity-CRhjnQEW.js} +1 -1
- package/dist/assets/{IntegrationDetail-BojD2TMx.js → IntegrationDetail-BcpltRdx.js} +1 -1
- package/dist/assets/{Integrations-B7Ifbj7U.js → Integrations-CwedEVmi.js} +1 -1
- package/dist/assets/{Integrations-DaLePBiX.js → Integrations-SIyhIxSB.js} +1 -1
- package/dist/assets/{MyAccess-C8nqCAq7.js → MyAccess-CxRuCDQ4.js} +1 -1
- package/dist/assets/{Network-CUcMJzHm.js → Network-BmxfhQn9.js} +1 -1
- package/dist/assets/{Pipeline-BUwXQ1PY.js → Pipeline-BcIxGfh-.js} +1 -1
- package/dist/assets/{ProviderIcon-CX5DWCqC.js → ProviderIcon-C5g3DOph.js} +1 -1
- package/dist/assets/{Settings-Dd77ZcSO.js → Settings-TXe5Z3yo.js} +1 -1
- package/dist/assets/{Showroom-Bqk_tTIS.js → Showroom-BsfRjrSX.js} +1 -1
- package/dist/assets/{bell-DEW6Ee5y.js → bell-CcPz07yJ.js} +1 -1
- package/dist/assets/circle-check-big-CFx7QIub.js +1 -0
- package/dist/assets/{copy-BC1rD7Qa.js → copy-CRSktxev.js} +1 -1
- package/dist/assets/{download-Bhpw9urR.js → download-04psVtur.js} +1 -1
- package/dist/assets/{esm-BKV4e2bA.js → esm-uT0Hw7J3.js} +1 -1
- package/dist/assets/{index-BsjifKIk.js → index-DMiFhC3J.js} +2 -2
- package/dist/assets/{key-round-DuTXQbWr.js → key-round-BPD6tx7X.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-f3421e88.js → mf-entry-bootstrap-0-a31d7960.js} +1 -1
- package/dist/assets/{pencil-Dy3x-UNy.js → pencil-CKa1XJbA.js} +1 -1
- package/dist/assets/plus-ByW_1-lb.js +1 -0
- package/dist/assets/{radio-ClRSKPvm.js → radio-Bx244yPB.js} +1 -1
- package/dist/assets/{refresh-cw-DUH_oAgY.js → refresh-cw-LrVia5iU.js} +1 -1
- package/dist/assets/{rotate-ccw-BoEUcxo-.js → rotate-ccw-BMRdJcuy.js} +1 -1
- package/dist/assets/rotate-cw-DLBDiuMK.js +1 -0
- package/dist/assets/search-CajnzRut.js +1 -0
- package/dist/assets/{server-mCuWkHmm.js → server-Bl_vaPL-.js} +1 -1
- package/dist/assets/{sparkles-CL29P5kP.js → sparkles-BUo9oD1h.js} +1 -1
- package/dist/assets/square-D_FPd9oR.js +1 -0
- package/dist/assets/{square-check-big-BQHpajXl.js → square-check-big-BbBR_Neu.js} +1 -1
- package/dist/assets/{upload-BLkXgM45.js → upload-BuqTvF-a.js} +1 -1
- package/dist/assets/{wifi-CbcDJh25.js → wifi-CQtJm4SR.js} +1 -1
- package/dist/assets/{zap-CPbL--A1.js → zap-CDOFJTkO.js} +1 -1
- package/dist/index.html +2 -61
- package/dist/server/addon.js +1 -1
- package/dist/sw.js +17 -1
- package/package.json +1 -1
- package/dist/assets/circle-check-big-CjaLRcD4.js +0 -1
- package/dist/assets/plus-CniJfZXN.js +0 -1
- package/dist/assets/rotate-cw-DOMzKFFH.js +0 -1
- package/dist/assets/search-CZA7Dwlq.js +0 -1
- package/dist/assets/square-DOTLhAZu.js +0 -1
- package/dist/workbox-14d7584c.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./index-
|
|
1
|
+
import{B as e}from"./index-DMiFhC3J.js";var t=e(`key-round`,[[`path`,{d:`M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z`,key:`1s6t7t`}],[`circle`,{cx:`16.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`w0ekpg`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./index-
|
|
1
|
+
import{B as e}from"./index-DMiFhC3J.js";var t=e(`pencil`,[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]);export{t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{B as e}from"./index-DMiFhC3J.js";var t=e(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./index-
|
|
1
|
+
import{B as e}from"./index-DMiFhC3J.js";var t=e(`radio`,[[`path`,{d:`M4.9 19.1C1 15.2 1 8.8 4.9 4.9`,key:`1vaf9d`}],[`path`,{d:`M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5`,key:`u1ii0m`}],[`circle`,{cx:`12`,cy:`12`,r:`2`,key:`1c9p78`}],[`path`,{d:`M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5`,key:`1j5fej`}],[`path`,{d:`M19.1 4.9C23 8.8 23 15.1 19.1 19`,key:`10b0cb`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./index-
|
|
1
|
+
import{B as e}from"./index-DMiFhC3J.js";var t=e(`refresh-cw`,[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./index-
|
|
1
|
+
import{B as e}from"./index-DMiFhC3J.js";var t=e(`boxes`,[[`path`,{d:`M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z`,key:`lc1i9w`}],[`path`,{d:`m7 16.5-4.74-2.85`,key:`1o9zyk`}],[`path`,{d:`m7 16.5 5-3`,key:`va8pkn`}],[`path`,{d:`M7 16.5v5.17`,key:`jnp8gn`}],[`path`,{d:`M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z`,key:`8zsnat`}],[`path`,{d:`m17 16.5-5-3`,key:`8arw3v`}],[`path`,{d:`m17 16.5 4.74-2.85`,key:`8rfmw`}],[`path`,{d:`M17 16.5v5.17`,key:`k6z78m`}],[`path`,{d:`M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z`,key:`1xygjf`}],[`path`,{d:`M12 8 7.26 5.15`,key:`1vbdud`}],[`path`,{d:`m12 8 4.74-2.85`,key:`3rx089`}],[`path`,{d:`M12 13.5V8`,key:`1io7kd`}]]),n=e(`rotate-ccw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]);export{t as n,n as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{B as e}from"./index-DMiFhC3J.js";var t=e(`rotate-cw`,[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]);export{t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{B as e}from"./index-DMiFhC3J.js";var t=e(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./index-
|
|
1
|
+
import{B as e}from"./index-DMiFhC3J.js";var t=e(`server`,[[`rect`,{width:`20`,height:`8`,x:`2`,y:`2`,rx:`2`,ry:`2`,key:`ngkwjq`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,ry:`2`,key:`iecqi9`}],[`line`,{x1:`6`,x2:`6.01`,y1:`6`,y2:`6`,key:`16zg32`}],[`line`,{x1:`6`,x2:`6.01`,y1:`18`,y2:`18`,key:`nzw8ys`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./index-
|
|
1
|
+
import{B as e}from"./index-DMiFhC3J.js";var t=e(`sparkles`,[[`path`,{d:`M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z`,key:`4pj2yx`}],[`path`,{d:`M20 3v4`,key:`1olli1`}],[`path`,{d:`M22 5h-4`,key:`1gvqau`}],[`path`,{d:`M4 17v2`,key:`vumght`}],[`path`,{d:`M5 18H3`,key:`zchphs`}]]);export{t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{B as e}from"./index-DMiFhC3J.js";var t=e(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./index-
|
|
1
|
+
import{B as e}from"./index-DMiFhC3J.js";var t=e(`square-check-big`,[[`path`,{d:`M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5`,key:`1uzm8b`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./index-
|
|
1
|
+
import{B as e}from"./index-DMiFhC3J.js";var t=e(`upload`,[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./index-
|
|
1
|
+
import{B as e}from"./index-DMiFhC3J.js";var t=e(`wifi`,[[`path`,{d:`M12 20h.01`,key:`zekei9`}],[`path`,{d:`M2 8.82a15 15 0 0 1 20 0`,key:`dnpr2z`}],[`path`,{d:`M5 12.859a10 10 0 0 1 14 0`,key:`1x1e6c`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`,key:`1bycff`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{B as e}from"./index-
|
|
1
|
+
import{B as e}from"./index-DMiFhC3J.js";var t=e(`mic`,[[`path`,{d:`M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z`,key:`131961`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`,key:`1vc78b`}],[`line`,{x1:`12`,x2:`12`,y1:`19`,y2:`22`,key:`x3vr5v`}]]),n=e(`video`,[[`path`,{d:`m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5`,key:`ftymec`}],[`rect`,{x:`2`,y:`6`,width:`14`,height:`12`,rx:`2`,key:`158x01`}]]),r=e(`zap`,[[`path`,{d:`M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z`,key:`1xq2db`}]]);export{n,t as r,r as t};
|
package/dist/index.html
CHANGED
|
@@ -97,74 +97,15 @@
|
|
|
97
97
|
window.addEventListener('error', function (e) {
|
|
98
98
|
if (isStaleChunkError((e && e.message) || '')) recover()
|
|
99
99
|
})
|
|
100
|
-
|
|
101
|
-
// ── PWA auto-update ───────────────────────────────────────────
|
|
102
|
-
// The service worker (vite-plugin-pwa, registerType: autoUpdate)
|
|
103
|
-
// serves the precached app shell cache-first, so after a redeploy
|
|
104
|
-
// the browser keeps replaying the OLD bundle until the SW updates —
|
|
105
|
-
// which on a plain reload can lag (and on iOS standalone PWAs may
|
|
106
|
-
// never happen without a manual cache clear). This loop closes that
|
|
107
|
-
// gap with NO user action: poll the SW for an update on a short
|
|
108
|
-
// interval, and when a new SW takes control, reload ONCE to swap in
|
|
109
|
-
// the fresh bundle. Lives in the always-fresh (no-cache) index.html
|
|
110
|
-
// so it can't itself go stale. The `hadController` guard skips the
|
|
111
|
-
// reload on a fresh client's FIRST install (no old build to replace).
|
|
112
|
-
if ('serviceWorker' in navigator) {
|
|
113
|
-
// Register the SW ourselves with `updateViaCache: 'none'` so the
|
|
114
|
-
// browser bypasses the HTTP cache when fetching sw.js for update
|
|
115
|
-
// checks. Without it, an upstream cache (Cloudflare overrides the
|
|
116
|
-
// origin's `no-cache` to a 4h max-age) keeps the OLD service worker
|
|
117
|
-
// for hours and a redeploy never reaches the client. This is the ONLY
|
|
118
|
-
// registration (vite-plugin-pwa `injectRegister:null`).
|
|
119
|
-
navigator.serviceWorker.register('/sw.js', { updateViaCache: 'none' }).catch(function () {})
|
|
120
|
-
var hadController = !!navigator.serviceWorker.controller
|
|
121
|
-
var swReloading = false
|
|
122
|
-
// Silent reload (NO banner) once a new SW takes over. Guards: skip on
|
|
123
|
-
// a fresh client's first install (nothing to replace), and reload at
|
|
124
|
-
// most once. The SW's `cleanupOutdatedCaches` purges the previous
|
|
125
|
-
// build's precache, so the reload lands on a clean cache.
|
|
126
|
-
var silentReload = function () {
|
|
127
|
-
if (!hadController || swReloading) return
|
|
128
|
-
swReloading = true
|
|
129
|
-
window.location.reload()
|
|
130
|
-
}
|
|
131
|
-
navigator.serviceWorker.addEventListener('controllerchange', silentReload)
|
|
132
|
-
// Reload as soon as a newly-installed SW reaches 'activated'. More
|
|
133
|
-
// reliable than `controllerchange` alone on standalone PWAs (iOS),
|
|
134
|
-
// which is exactly the startup case we want to cover.
|
|
135
|
-
var watchActivation = function (sw) {
|
|
136
|
-
if (!sw) return
|
|
137
|
-
sw.addEventListener('statechange', function () {
|
|
138
|
-
if (sw.state === 'activated') silentReload()
|
|
139
|
-
})
|
|
140
|
-
}
|
|
141
|
-
navigator.serviceWorker.ready.then(function (reg) {
|
|
142
|
-
// STARTUP: catch a SW that's mid-install at launch, plus any future
|
|
143
|
-
// one, then force an immediate update check. With updateViaCache
|
|
144
|
-
// 'none' this fetches a fresh sw.js (bypassing any upstream cache),
|
|
145
|
-
// so a redeploy is picked up and silently applied on next launch.
|
|
146
|
-
watchActivation(reg.installing)
|
|
147
|
-
reg.addEventListener('updatefound', function () { watchActivation(reg.installing) })
|
|
148
|
-
var check = function () { try { reg.update() } catch (e) {} }
|
|
149
|
-
check() // startup version check
|
|
150
|
-
setInterval(check, 60000) // periodic
|
|
151
|
-
// Also re-check when the tab regains focus / visibility — covers
|
|
152
|
-
// the common "left it open overnight, redeployed" case promptly.
|
|
153
|
-
window.addEventListener('focus', check)
|
|
154
|
-
document.addEventListener('visibilitychange', function () {
|
|
155
|
-
if (document.visibilityState === 'visible') check()
|
|
156
|
-
})
|
|
157
|
-
}).catch(function () {})
|
|
158
|
-
}
|
|
159
100
|
})()
|
|
160
101
|
</script>
|
|
161
|
-
<script type="module" crossorigin src="/assets/mf-entry-bootstrap-0-
|
|
102
|
+
<script type="module" crossorigin src="/assets/mf-entry-bootstrap-0-a31d7960.js"></script>
|
|
162
103
|
<link rel="modulepreload" crossorigin href="/assets/schemas-CuE8EXQ7.js">
|
|
163
104
|
<link rel="modulepreload" crossorigin href="/assets/src-Dby7n-bf.js">
|
|
164
105
|
<link rel="modulepreload" crossorigin href="/assets/player-overlays-BgChp7d9.js">
|
|
165
106
|
<link rel="modulepreload" crossorigin href="/assets/src-CGgpymf9.js">
|
|
166
107
|
<link rel="stylesheet" crossorigin href="/assets/index-D5fms8eH.css">
|
|
167
|
-
<link rel="modulepreload" crossorigin href="/assets/hostInit-JF0qMbKh.js"><link rel="modulepreload" crossorigin href="/assets/index-
|
|
108
|
+
<link rel="modulepreload" crossorigin href="/assets/hostInit-JF0qMbKh.js"><link rel="modulepreload" crossorigin href="/assets/index-DMiFhC3J.js"><link rel="modulepreload" crossorigin href="/assets/remoteEntry-Daxw-n3s.js"><link rel="modulepreload" crossorigin href="/assets/_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-40osH3ur.js"><link rel="modulepreload" crossorigin href="/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-CCjPq1YD.js"><link rel="modulepreload" crossorigin href="/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_trpc_mf_1_client__loadShare__.js-CSJxMxg6.js"><link rel="modulepreload" crossorigin href="/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.js-DqrXu-jG.js"><link rel="modulepreload" crossorigin href="/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare__konva__loadShare__.js-B7XYY0cV.js"><link rel="modulepreload" crossorigin href="/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare__react_mf_2_dom__loadShare__.js-DcnMG4y9.js"><link rel="modulepreload" crossorigin href="/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-CUURKTLp.js"><link rel="modulepreload" crossorigin href="/assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare__react_mf_2_konva__loadShare__.js-xmx-auwe.js"></head>
|
|
168
109
|
<body>
|
|
169
110
|
<div id="root"></div>
|
|
170
111
|
<!-- Lock the app shell at 1x zoom. iOS Safari ignores `user-scalable=no`
|
package/dist/server/addon.js
CHANGED
|
@@ -21054,7 +21054,7 @@ var AdminUIAddon = class extends BaseAddon {
|
|
|
21054
21054
|
capability: adminUiCapability,
|
|
21055
21055
|
provider: {
|
|
21056
21056
|
getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
|
|
21057
|
-
getVersion: async () => ({ version: "1.1.
|
|
21057
|
+
getVersion: async () => ({ version: "1.1.7" })
|
|
21058
21058
|
}
|
|
21059
21059
|
}];
|
|
21060
21060
|
}
|
package/dist/sw.js
CHANGED
|
@@ -1 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
// Tombstone service worker — drains stale registrations from pre-8a24e179 builds.
|
|
2
|
+
// New sessions never register a SW (registration removed from index.html).
|
|
3
|
+
// Existing profiles poll this file via updateViaCache:'none'; this SW installs,
|
|
4
|
+
// clears all caches, unregisters itself, then navigates all open tabs so they
|
|
5
|
+
// reload against the fresh network-only shell.
|
|
6
|
+
self.addEventListener('install', () => self.skipWaiting())
|
|
7
|
+
self.addEventListener('activate', e =>
|
|
8
|
+
e.waitUntil(
|
|
9
|
+
(async () => {
|
|
10
|
+
const keys = await caches.keys()
|
|
11
|
+
await Promise.all(keys.map(k => caches.delete(k)))
|
|
12
|
+
await self.registration.unregister()
|
|
13
|
+
const clients = await self.clients.matchAll({ type: 'window' })
|
|
14
|
+
for (const c of clients) c.navigate(c.url)
|
|
15
|
+
})(),
|
|
16
|
+
),
|
|
17
|
+
)
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{B as e}from"./index-BsjifKIk.js";var t=e(`circle-check-big`,[[`path`,{d:`M21.801 10A10 10 0 1 1 17 3.335`,key:`yps3ct`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{B as e}from"./index-BsjifKIk.js";var t=e(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{B as e}from"./index-BsjifKIk.js";var t=e(`rotate-cw`,[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{B as e}from"./index-BsjifKIk.js";var t=e(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]);export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{B as e}from"./index-BsjifKIk.js";var t=e(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]);export{t};
|
package/dist/workbox-14d7584c.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
define(["exports"],function(t){"use strict";try{self["workbox:core:7.4.0"]&&_()}catch(t){}const e=(t,...e)=>{let s=t;return e.length>0&&(s+=` :: ${JSON.stringify(e)}`),s};class s extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:routing:7.4.0"]&&_()}catch(t){}const n=t=>t&&"object"==typeof t?t:{handle:t};class r{constructor(t,e,s="GET"){this.handler=n(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=n(t)}}class i extends r{constructor(t,e,s){super(({url:e})=>{const s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return s.slice(1)},e,s)}}class a{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener("fetch",t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)})}addCacheListener(){self.addEventListener("message",t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map(e=>{"string"==typeof e&&(e=[e]);const s=new Request(...e);return this.handleRequest({request:s,event:t})}));t.waitUntil(s),t.ports&&t.ports[0]&&s.then(()=>t.ports[0].postMessage(!0))}})}handleRequest({request:t,event:e}){const s=new URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:r,route:i}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let a=i&&i.handler;const o=t.method;if(!a&&this.i.has(o)&&(a=this.i.get(o)),!a)return;let c;try{c=a.handle({url:s,request:t,event:e,params:r})}catch(t){c=Promise.reject(t)}const h=i&&i.catchHandler;return c instanceof Promise&&(this.o||h)&&(c=c.catch(async n=>{if(h)try{return await h.handle({url:s,request:t,event:e,params:r})}catch(t){t instanceof Error&&(n=t)}if(this.o)return this.o.handle({url:s,request:t,event:e});throw n})),c}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const r=this.t.get(s.method)||[];for(const i of r){let r;const a=i.match({url:t,sameOrigin:e,request:s,event:n});if(a)return r=a,(Array.isArray(r)&&0===r.length||a.constructor===Object&&0===Object.keys(a).length||"boolean"==typeof a)&&(r=void 0),{route:i,params:r}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,n(t))}setCatchHandler(t){this.o=n(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw new s("unregister-route-but-not-found-with-method",{method:t.method});const e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw new s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let o;const c=()=>(o||(o=new a,o.addFetchListener(),o.addCacheListener()),o);const h={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},u=t=>[h.prefix,t,h.suffix].filter(t=>t&&t.length>0).join("-"),l=t=>t||u(h.runtime);function f(t){t.then(()=>{})}const w=new Set;function d(){return d=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var s=arguments[e];for(var n in s)({}).hasOwnProperty.call(s,n)&&(t[n]=s[n])}return t},d.apply(null,arguments)}let p,m;const y=new WeakMap,g=new WeakMap,v=new WeakMap,D=new WeakMap,b=new WeakMap;let q={get(t,e,s){if(t instanceof IDBTransaction){if("done"===e)return g.get(t);if("objectStoreNames"===e)return t.objectStoreNames||v.get(t);if("store"===e)return s.objectStoreNames[1]?void 0:s.objectStore(s.objectStoreNames[0])}return E(t[e])},set:(t,e,s)=>(t[e]=s,!0),has:(t,e)=>t instanceof IDBTransaction&&("done"===e||"store"===e)||e in t};function R(t){return t!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(m||(m=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...e){return t.apply(I(this),e),E(y.get(this))}:function(...e){return E(t.apply(I(this),e))}:function(e,...s){const n=t.call(I(this),e,...s);return v.set(n,e.sort?e.sort():[e]),E(n)}}function x(t){return"function"==typeof t?R(t):(t instanceof IDBTransaction&&function(t){if(g.has(t))return;const e=new Promise((e,s)=>{const n=()=>{t.removeEventListener("complete",r),t.removeEventListener("error",i),t.removeEventListener("abort",i)},r=()=>{e(),n()},i=()=>{s(t.error||new DOMException("AbortError","AbortError")),n()};t.addEventListener("complete",r),t.addEventListener("error",i),t.addEventListener("abort",i)});g.set(t,e)}(t),e=t,(p||(p=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])).some(t=>e instanceof t)?new Proxy(t,q):t);var e}function E(t){if(t instanceof IDBRequest)return function(t){const e=new Promise((e,s)=>{const n=()=>{t.removeEventListener("success",r),t.removeEventListener("error",i)},r=()=>{e(E(t.result)),n()},i=()=>{s(t.error),n()};t.addEventListener("success",r),t.addEventListener("error",i)});return e.then(e=>{e instanceof IDBCursor&&y.set(e,t)}).catch(()=>{}),b.set(e,t),e}(t);if(D.has(t))return D.get(t);const e=x(t);return e!==t&&(D.set(t,e),b.set(e,t)),e}const I=t=>b.get(t);const B=["get","getKey","getAll","getAllKeys","count"],O=["put","add","delete","clear"],k=new Map;function C(t,e){if(!(t instanceof IDBDatabase)||e in t||"string"!=typeof e)return;if(k.get(e))return k.get(e);const s=e.replace(/FromIndex$/,""),n=e!==s,r=O.includes(s);if(!(s in(n?IDBIndex:IDBObjectStore).prototype)||!r&&!B.includes(s))return;const i=async function(t,...e){const i=this.transaction(t,r?"readwrite":"readonly");let a=i.store;return n&&(a=a.index(e.shift())),(await Promise.all([a[s](...e),r&&i.done]))[0]};return k.set(e,i),i}q=(t=>d({},t,{get:(e,s,n)=>C(e,s)||t.get(e,s,n),has:(e,s)=>!!C(e,s)||t.has(e,s)}))(q);try{self["workbox:expiration:7.4.0"]&&_()}catch(t){}const N="cache-entries",j=t=>{const e=new URL(t,location.href);return e.hash="",e.href};class P{constructor(t){this.h=null,this.u=t}l(t){const e=t.createObjectStore(N,{keyPath:"id"});e.createIndex("cacheName","cacheName",{unique:!1}),e.createIndex("timestamp","timestamp",{unique:!1})}p(t){this.l(t),this.u&&function(t,{blocked:e}={}){const s=indexedDB.deleteDatabase(t);e&&s.addEventListener("blocked",t=>e(t.oldVersion,t)),E(s).then(()=>{})}(this.u)}async setTimestamp(t,e){const s={url:t=j(t),timestamp:e,cacheName:this.u,id:this.m(t)},n=(await this.getDb()).transaction(N,"readwrite",{durability:"relaxed"});await n.store.put(s),await n.done}async getTimestamp(t){const e=await this.getDb(),s=await e.get(N,this.m(t));return null==s?void 0:s.timestamp}async expireEntries(t,e){const s=await this.getDb();let n=await s.transaction(N).store.index("timestamp").openCursor(null,"prev");const r=[];let i=0;for(;n;){const s=n.value;s.cacheName===this.u&&(t&&s.timestamp<t||e&&i>=e?r.push(n.value):i++),n=await n.continue()}const a=[];for(const t of r)await s.delete(N,t.id),a.push(t.url);return a}m(t){return this.u+"|"+j(t)}async getDb(){return this.h||(this.h=await function(t,e,{blocked:s,upgrade:n,blocking:r,terminated:i}={}){const a=indexedDB.open(t,e),o=E(a);return n&&a.addEventListener("upgradeneeded",t=>{n(E(a.result),t.oldVersion,t.newVersion,E(a.transaction),t)}),s&&a.addEventListener("blocked",t=>s(t.oldVersion,t.newVersion,t)),o.then(t=>{i&&t.addEventListener("close",()=>i()),r&&t.addEventListener("versionchange",t=>r(t.oldVersion,t.newVersion,t))}).catch(()=>{}),o}("workbox-expiration",1,{upgrade:this.p.bind(this)})),this.h}}class M{constructor(t,e={}){this.v=!1,this.D=!1,this.q=e.maxEntries,this.R=e.maxAgeSeconds,this.I=e.matchOptions,this.u=t,this.B=new P(t)}async expireEntries(){if(this.v)return void(this.D=!0);this.v=!0;const t=this.R?Date.now()-1e3*this.R:0,e=await this.B.expireEntries(t,this.q),s=await self.caches.open(this.u);for(const t of e)await s.delete(t,this.I);this.v=!1,this.D&&(this.D=!1,f(this.expireEntries()))}async updateTimestamp(t){await this.B.setTimestamp(t,Date.now())}async isURLExpired(t){if(this.R){const e=await this.B.getTimestamp(t),s=Date.now()-1e3*this.R;return void 0===e||e<s}return!1}async delete(){this.D=!1,await this.B.expireEntries(1/0)}}try{self["workbox:strategies:7.4.0"]&&_()}catch(t){}const T={cacheWillUpdate:async({response:t})=>200===t.status||0===t.status?t:null};function U(t,e){const s=new URL(t);for(const t of e)s.searchParams.delete(t);return s.href}class W{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}}function S(t){return"string"==typeof t?new Request(t):t}class A{constructor(t,e){this.O={},Object.assign(this,e),this.event=e.event,this._=t,this.k=new W,this.C=[],this.N=[...t.plugins],this.j=new Map;for(const t of this.N)this.j.set(t,{});this.event.waitUntil(this.k.promise)}async fetch(t){const{event:e}=this;let n=S(t);if("navigate"===n.mode&&e instanceof FetchEvent&&e.preloadResponse){const t=await e.preloadResponse;if(t)return t}const r=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const t of this.iterateCallbacks("requestWillFetch"))n=await t({request:n.clone(),event:e})}catch(t){if(t instanceof Error)throw new s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const i=n.clone();try{let t;t=await fetch(n,"navigate"===n.mode?void 0:this._.fetchOptions);for(const s of this.iterateCallbacks("fetchDidSucceed"))t=await s({event:e,request:i,response:t});return t}catch(t){throw r&&await this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:r.clone(),request:i.clone()}),t}}async fetchAndCachePut(t){const e=await this.fetch(t),s=e.clone();return this.waitUntil(this.cachePut(t,s)),e}async cacheMatch(t){const e=S(t);let s;const{cacheName:n,matchOptions:r}=this._,i=await this.getCacheKey(e,"read"),a=Object.assign(Object.assign({},r),{cacheName:n});s=await caches.match(i,a);for(const t of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await t({cacheName:n,matchOptions:r,cachedResponse:s,request:i,event:this.event})||void 0;return s}async cachePut(t,e){const n=S(t);var r;await(r=0,new Promise(t=>setTimeout(t,r)));const i=await this.getCacheKey(n,"write");if(!e)throw new s("cache-put-with-no-response",{url:(a=i.url,new URL(String(a),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var a;const o=await this.P(e);if(!o)return!1;const{cacheName:c,matchOptions:h}=this._,u=await self.caches.open(c),l=this.hasCallback("cacheDidUpdate"),f=l?await async function(t,e,s,n){const r=U(e.url,s);if(e.url===r)return t.match(e,n);const i=Object.assign(Object.assign({},n),{ignoreSearch:!0}),a=await t.keys(e,i);for(const e of a)if(r===U(e.url,s))return t.match(e,n)}(u,i.clone(),["__WB_REVISION__"],h):null;try{await u.put(i,l?o.clone():o)}catch(t){if(t instanceof Error)throw"QuotaExceededError"===t.name&&await async function(){for(const t of w)await t()}(),t}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:c,oldResponse:f,newResponse:o.clone(),request:i,event:this.event});return!0}async getCacheKey(t,e){const s=`${t.url} | ${e}`;if(!this.O[s]){let n=t;for(const t of this.iterateCallbacks("cacheKeyWillBeUsed"))n=S(await t({mode:e,request:n,event:this.event,params:this.params}));this.O[s]=n}return this.O[s]}hasCallback(t){for(const e of this._.plugins)if(t in e)return!0;return!1}async runCallbacks(t,e){for(const s of this.iterateCallbacks(t))await s(e)}*iterateCallbacks(t){for(const e of this._.plugins)if("function"==typeof e[t]){const s=this.j.get(e),n=n=>{const r=Object.assign(Object.assign({},n),{state:s});return e[t](r)};yield n}}waitUntil(t){return this.C.push(t),t}async doneWaiting(){for(;this.C.length;){const t=this.C.splice(0),e=(await Promise.allSettled(t)).find(t=>"rejected"===t.status);if(e)throw e.reason}}destroy(){this.k.resolve(null)}async P(t){let e=t,s=!1;for(const t of this.iterateCallbacks("cacheWillUpdate"))if(e=await t({request:this.request,response:e,event:this.event})||void 0,s=!0,!e)break;return s||e&&200!==e.status&&(e=void 0),e}}class L{constructor(t={}){this.cacheName=l(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return e}handleAll(t){t instanceof FetchEvent&&(t={event:t,request:t.request});const e=t.event,s="string"==typeof t.request?new Request(t.request):t.request,n="params"in t?t.params:void 0,r=new A(this,{event:e,request:s,params:n}),i=this.M(r,s,e);return[i,this.T(i,r,s,e)]}async M(t,e,n){let r;await t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(r=await this.U(e,t),!r||"error"===r.type)throw new s("no-response",{url:e.url})}catch(s){if(s instanceof Error)for(const i of t.iterateCallbacks("handlerDidError"))if(r=await i({error:s,event:n,request:e}),r)break;if(!r)throw s}for(const s of t.iterateCallbacks("handlerWillRespond"))r=await s({event:n,request:e,response:r});return r}async T(t,e,s,n){let r,i;try{r=await t}catch(i){}try{await e.runCallbacks("handlerDidRespond",{event:n,request:s,response:r}),await e.doneWaiting()}catch(t){t instanceof Error&&(i=t)}if(await e.runCallbacks("handlerDidComplete",{event:n,request:s,response:r,error:i}),e.destroy(),i)throw i}}t.ExpirationPlugin=class{constructor(t={}){this.cachedResponseWillBeUsed=async({event:t,request:e,cacheName:s,cachedResponse:n})=>{if(!n)return null;const r=this.W(n),i=this.S(s);f(i.expireEntries());const a=i.updateTimestamp(e.url);if(t)try{t.waitUntil(a)}catch(t){}return r?n:null},this.cacheDidUpdate=async({cacheName:t,request:e})=>{const s=this.S(t);await s.updateTimestamp(e.url),await s.expireEntries()},this.A=t,this.R=t.maxAgeSeconds,this.L=new Map,t.purgeOnQuotaError&&function(t){w.add(t)}(()=>this.deleteCacheAndMetadata())}S(t){if(t===l())throw new s("expire-custom-caches-only");let e=this.L.get(t);return e||(e=new M(t,this.A),this.L.set(t,e)),e}W(t){if(!this.R)return!0;const e=this.F(t);if(null===e)return!0;return e>=Date.now()-1e3*this.R}F(t){if(!t.headers.has("date"))return null;const e=t.headers.get("date"),s=new Date(e).getTime();return isNaN(s)?null:s}async deleteCacheAndMetadata(){for(const[t,e]of this.L)await self.caches.delete(t),await e.delete();this.L=new Map}},t.NetworkFirst=class extends L{constructor(t={}){super(t),this.plugins.some(t=>"cacheWillUpdate"in t)||this.plugins.unshift(T),this.H=t.networkTimeoutSeconds||0}async U(t,e){const n=[],r=[];let i;if(this.H){const{id:s,promise:a}=this.$({request:t,logs:n,handler:e});i=s,r.push(a)}const a=this.K({timeoutId:i,request:t,logs:n,handler:e});r.push(a);const o=await e.waitUntil((async()=>await e.waitUntil(Promise.race(r))||await a)());if(!o)throw new s("no-response",{url:t.url});return o}$({request:t,logs:e,handler:s}){let n;return{promise:new Promise(e=>{n=setTimeout(async()=>{e(await s.cacheMatch(t))},1e3*this.H)}),id:n}}async K({timeoutId:t,request:e,logs:s,handler:n}){let r,i;try{i=await n.fetchAndCachePut(e)}catch(t){t instanceof Error&&(r=t)}return t&&clearTimeout(t),!r&&i||(i=await n.cacheMatch(e)),i}},t.clientsClaim=function(){self.addEventListener("activate",()=>self.clients.claim())},t.registerRoute=function(t,e,n){let a;if("string"==typeof t){const s=new URL(t,location.href);a=new r(({url:t})=>t.href===s.href,e,n)}else if(t instanceof RegExp)a=new i(t,e,n);else if("function"==typeof t)a=new r(t,e,n);else{if(!(t instanceof r))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});a=t}return c().registerRoute(a),a}});
|