mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
Build(dev)
This commit is contained in:
1 parent
72696dc6fe
commit
00fbfe9137
175 files changed
+18671
-684
No files matched your search
Vendored
-2
@@ -1,2 +0,0 @@
|
||||
"use strict";(self["webpackChunkjandl"]=self["webpackChunkjandl"]||[]).push([[3311],{3311:function(e,t,s){s.r(t),s.d(t,{PreferencesWeb:function(){return r}});s(57658);var i=s(86933);class r extends i.Uw{constructor(){super(...arguments),this.group="CapacitorStorage"}async configure({group:e}){"string"===typeof e&&(this.group=e)}async get(e){const t=this.impl.getItem(this.applyPrefix(e.key));return{value:t}}async set(e){this.impl.setItem(this.applyPrefix(e.key),e.value)}async remove(e){this.impl.removeItem(this.applyPrefix(e.key))}async keys(){const e=this.rawKeys().map((e=>e.substring(this.prefix.length)));return{keys:e}}async clear(){for(const e of this.rawKeys())this.impl.removeItem(e)}async migrate(){var e;const t=[],s=[],i="_cap_",r=Object.keys(this.impl).filter((e=>0===e.indexOf(i)));for(const n of r){const r=n.substring(i.length),a=null!==(e=this.impl.getItem(n))&&void 0!==e?e:"",{value:p}=await this.get({key:r});"string"===typeof p?s.push(r):(await this.set({key:r,value:a}),t.push(r))}return{migrated:t,existing:s}}async removeOld(){const e="_cap_",t=Object.keys(this.impl).filter((t=>0===t.indexOf(e)));for(const s of t)this.impl.removeItem(s)}get impl(){return window.localStorage}get prefix(){return"NativeStorage"===this.group?"":`${this.group}.`}rawKeys(){return Object.keys(this.impl).filter((e=>0===e.indexOf(this.prefix)))}applyPrefix(e){return this.prefix+e}}}}]);
|
||||
//# sourceMappingURL=3311.bcab8a66.js.map
|
||||
Reference in new issue
Block a user