Files
doneit-web/.angular/cache/14.2.12/babel-webpack/b3f726c7563bac20282f3201980ecc7e.json
T
Eudes Inácio 53b71ea16f its working
2023-06-30 09:54:21 +01:00

1 line
23 KiB
JSON

{"ast":null,"code":"import { __decorate, __param } from 'tslib';\nimport { Inject, PLATFORM_ID, InjectionToken, NgModule } from '@angular/core';\nimport { isPlatformServer } from '@angular/common';\nimport { defineDriver, createInstance, LOCALSTORAGE, WEBSQL, INDEXEDDB } from 'localforage';\nimport * as CordovaSQLiteDriver from 'localforage-cordovasqlitedriver';\nimport { _driver } from 'localforage-cordovasqlitedriver';\n\n/**\n * Storage is an easy way to store key/value pairs and JSON objects.\n * Storage uses a variety of storage engines underneath, picking the best one available\n * depending on the platform.\n *\n * When running in a native app context, Storage will prioritize using SQLite, as it's one of\n * the most stable and widely used file-based databases, and avoids some of the\n * pitfalls of things like localstorage and IndexedDB, such as the OS deciding to clear out such\n * data in low disk-space situations.\n *\n * When running in the web or as a Progressive Web App, Storage will attempt to use\n * IndexedDB, WebSQL, and localstorage, in that order.\n *\n * @usage\n * First, if you'd like to use SQLite, install the cordova-sqlite-storage plugin:\n * ```bash\n * ionic cordova plugin add cordova-sqlite-storage\n * ```\n *\n * Next, install the package (comes by default for Ionic apps > Ionic V1):\n * ```bash\n * npm install --save @ionic/storage\n * ```\n *\n * Next, add it to the imports list in your `NgModule` declaration (for example, in `src/app/app.module.ts`):\n *\n * ```typescript\n * import { IonicStorageModule } from '@ionic/storage';\n *\n * @NgModule({\n * declarations: [\n * // ...\n * ],\n * imports: [\n * BrowserModule,\n * IonicModule.forRoot(MyApp),\n * IonicStorageModule.forRoot()\n * ],\n * bootstrap: [IonicApp],\n * entryComponents: [\n * // ...\n * ],\n * providers: [\n * // ...\n * ]\n * })\n * export class AppModule {}\n *```\n *\n * Finally, inject it into any of your components or pages:\n * ```typescript\n * import { Storage } from '@ionic/storage';\n\n * export class MyApp {\n * constructor(private storage: Storage) { }\n *\n * ...\n *\n * // set a key/value\n * storage.set('name', 'Max');\n *\n * // Or to get a key/value pair\n * storage.get('age').then((val) => {\n * console.log('Your age is', val);\n * });\n * }\n * ```\n *\n *\n * ### Configuring Storage\n *\n * The Storage engine can be configured both with specific storage engine priorities, or custom configuration\n * options to pass to localForage. See the localForage config docs for possible options: https://github.com/localForage/localForage#configuration\n *\n * Note: Any custom configurations will be merged with the default configuration\n *\n * ```typescript\n * import { IonicStorageModule } from '@ionic/storage';\n *\n * @NgModule({\n * declarations: [...],\n * imports: [\n * IonicStorageModule.forRoot({\n * name: '__mydb',\n driverOrder: ['indexeddb', 'sqlite', 'websql']\n * })\n * ],\n * bootstrap: [...],\n * entryComponents: [...],\n * providers: [...]\n * })\n * export class AppModule { }\n * ```\n */\nimport * as ɵngcc0 from '@angular/core';\nlet Storage = class Storage {\n /**\n * Create a new Storage instance using the order of drivers and any additional config\n * options to pass to LocalForage.\n *\n * Possible driver options are: ['sqlite', 'indexeddb', 'websql', 'localstorage'] and the\n * default is that exact ordering.\n */\n constructor(config, platformId) {\n this.platformId = platformId;\n this._driver = null;\n this._dbPromise = new Promise((resolve, reject) => {\n if (isPlatformServer(this.platformId)) {\n const noopDriver = getNoopDriver();\n resolve(noopDriver);\n return;\n }\n let db;\n const defaultConfig = getDefaultConfig();\n const actualConfig = Object.assign(defaultConfig, config || {});\n defineDriver(CordovaSQLiteDriver).then(() => {\n db = createInstance(actualConfig);\n }).then(() => db.setDriver(this._getDriverOrder(actualConfig.driverOrder))).then(() => {\n this._driver = db.driver();\n resolve(db);\n }).catch(reason => reject(reason));\n });\n }\n /**\n * Get the name of the driver being used.\n * @returns Name of the driver\n */\n get driver() {\n return this._driver;\n }\n /**\n * Reflect the readiness of the store.\n * @returns Returns a promise that resolves when the store is ready\n */\n ready() {\n return this._dbPromise;\n }\n /** @hidden */\n _getDriverOrder(driverOrder) {\n return driverOrder.map(driver => {\n switch (driver) {\n case 'sqlite':\n return _driver;\n case 'indexeddb':\n return INDEXEDDB;\n case 'websql':\n return WEBSQL;\n case 'localstorage':\n return LOCALSTORAGE;\n }\n });\n }\n /**\n * Get the value associated with the given key.\n * @param key the key to identify this value\n * @returns Returns a promise with the value of the given key\n */\n get(key) {\n return this._dbPromise.then(db => db.getItem(key));\n }\n /**\n * Set the value for the given key.\n * @param key the key to identify this value\n * @param value the value for this key\n * @returns Returns a promise that resolves when the key and value are set\n */\n set(key, value) {\n return this._dbPromise.then(db => db.setItem(key, value));\n }\n /**\n * Remove any value associated with this key.\n * @param key the key to identify this value\n * @returns Returns a promise that resolves when the value is removed\n */\n remove(key) {\n return this._dbPromise.then(db => db.removeItem(key));\n }\n /**\n * Clear the entire key value store. WARNING: HOT!\n * @returns Returns a promise that resolves when the store is cleared\n */\n clear() {\n return this._dbPromise.then(db => db.clear());\n }\n /**\n * @returns Returns a promise that resolves with the number of keys stored.\n */\n length() {\n return this._dbPromise.then(db => db.length());\n }\n /**\n * @returns Returns a promise that resolves with the keys in the store.\n */\n keys() {\n return this._dbPromise.then(db => db.keys());\n }\n /**\n * Iterate through each key,value pair.\n * @param iteratorCallback a callback of the form (value, key, iterationNumber)\n * @returns Returns a promise that resolves when the iteration has finished.\n */\n forEach(iteratorCallback) {\n return this._dbPromise.then(db => db.iterate(iteratorCallback));\n }\n};\nStorage = __decorate([__param(1, Inject(PLATFORM_ID))], Storage);\n/** @hidden */\nfunction getDefaultConfig() {\n return {\n name: '_ionicstorage',\n storeName: '_ionickv',\n dbKey: '_ionickey',\n driverOrder: ['sqlite', 'indexeddb', 'websql', 'localstorage']\n };\n}\n/** @hidden */\nconst StorageConfigToken = new InjectionToken('STORAGE_CONFIG_TOKEN');\n/** @hidden */\nfunction provideStorage(storageConfig, platformID) {\n const config = !!storageConfig ? storageConfig : getDefaultConfig();\n return new Storage(config, platformID);\n}\nfunction getNoopDriver() {\n // noop driver for ssr environment\n const noop = () => {};\n const driver = {\n getItem: noop,\n setItem: noop,\n removeItem: noop,\n clear: noop,\n length: () => 0,\n keys: () => [],\n iterate: noop\n };\n return driver;\n}\nvar IonicStorageModule_1;\nlet IonicStorageModule = IonicStorageModule_1 = class IonicStorageModule {\n static forRoot(storageConfig = null) {\n return {\n ngModule: IonicStorageModule_1,\n providers: [{\n provide: StorageConfigToken,\n useValue: storageConfig\n }, {\n provide: Storage,\n useFactory: provideStorage,\n deps: [StorageConfigToken, PLATFORM_ID]\n }]\n };\n }\n};\nIonicStorageModule.ɵfac = function IonicStorageModule_Factory(t) {\n return new (t || IonicStorageModule)();\n};\nIonicStorageModule.ɵmod = /*@__PURE__*/ɵngcc0.ɵɵdefineNgModule({\n type: IonicStorageModule\n});\nIonicStorageModule.ɵinj = /*@__PURE__*/ɵngcc0.ɵɵdefineInjector({});\n(function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(IonicStorageModule, [{\n type: NgModule\n }], null, null);\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { IonicStorageModule, Storage, StorageConfigToken, provideStorage as ɵa };","map":{"version":3,"names":["__decorate","__param","Inject","PLATFORM_ID","InjectionToken","NgModule","isPlatformServer","defineDriver","createInstance","LOCALSTORAGE","WEBSQL","INDEXEDDB","CordovaSQLiteDriver","_driver","ɵngcc0","Storage","constructor","config","platformId","_dbPromise","Promise","resolve","reject","noopDriver","getNoopDriver","db","defaultConfig","getDefaultConfig","actualConfig","Object","assign","then","setDriver","_getDriverOrder","driverOrder","driver","catch","reason","ready","map","get","key","getItem","set","value","setItem","remove","removeItem","clear","length","keys","forEach","iteratorCallback","iterate","name","storeName","dbKey","StorageConfigToken","provideStorage","storageConfig","platformID","noop","IonicStorageModule_1","IonicStorageModule","forRoot","ngModule","providers","provide","useValue","useFactory","deps","ɵfac","IonicStorageModule_Factory","t","ɵmod","ɵɵdefineNgModule","type","ɵinj","ɵɵdefineInjector","ngDevMode","ɵsetClassMetadata","ɵa"],"sources":["C:/Users/eudes.inacio/GabineteDigital/gabinete-digital-fo/node_modules/@ionic/storage/__ivy_ngcc__/fesm2015/ionic-storage.js"],"sourcesContent":["import { __decorate, __param } from 'tslib';\nimport { Inject, PLATFORM_ID, InjectionToken, NgModule } from '@angular/core';\nimport { isPlatformServer } from '@angular/common';\nimport { defineDriver, createInstance, LOCALSTORAGE, WEBSQL, INDEXEDDB } from 'localforage';\nimport * as CordovaSQLiteDriver from 'localforage-cordovasqlitedriver';\nimport { _driver } from 'localforage-cordovasqlitedriver';\n\n/**\n * Storage is an easy way to store key/value pairs and JSON objects.\n * Storage uses a variety of storage engines underneath, picking the best one available\n * depending on the platform.\n *\n * When running in a native app context, Storage will prioritize using SQLite, as it's one of\n * the most stable and widely used file-based databases, and avoids some of the\n * pitfalls of things like localstorage and IndexedDB, such as the OS deciding to clear out such\n * data in low disk-space situations.\n *\n * When running in the web or as a Progressive Web App, Storage will attempt to use\n * IndexedDB, WebSQL, and localstorage, in that order.\n *\n * @usage\n * First, if you'd like to use SQLite, install the cordova-sqlite-storage plugin:\n * ```bash\n * ionic cordova plugin add cordova-sqlite-storage\n * ```\n *\n * Next, install the package (comes by default for Ionic apps > Ionic V1):\n * ```bash\n * npm install --save @ionic/storage\n * ```\n *\n * Next, add it to the imports list in your `NgModule` declaration (for example, in `src/app/app.module.ts`):\n *\n * ```typescript\n * import { IonicStorageModule } from '@ionic/storage';\n *\n * @NgModule({\n * declarations: [\n * // ...\n * ],\n * imports: [\n * BrowserModule,\n * IonicModule.forRoot(MyApp),\n * IonicStorageModule.forRoot()\n * ],\n * bootstrap: [IonicApp],\n * entryComponents: [\n * // ...\n * ],\n * providers: [\n * // ...\n * ]\n * })\n * export class AppModule {}\n *```\n *\n * Finally, inject it into any of your components or pages:\n * ```typescript\n * import { Storage } from '@ionic/storage';\n\n * export class MyApp {\n * constructor(private storage: Storage) { }\n *\n * ...\n *\n * // set a key/value\n * storage.set('name', 'Max');\n *\n * // Or to get a key/value pair\n * storage.get('age').then((val) => {\n * console.log('Your age is', val);\n * });\n * }\n * ```\n *\n *\n * ### Configuring Storage\n *\n * The Storage engine can be configured both with specific storage engine priorities, or custom configuration\n * options to pass to localForage. See the localForage config docs for possible options: https://github.com/localForage/localForage#configuration\n *\n * Note: Any custom configurations will be merged with the default configuration\n *\n * ```typescript\n * import { IonicStorageModule } from '@ionic/storage';\n *\n * @NgModule({\n * declarations: [...],\n * imports: [\n * IonicStorageModule.forRoot({\n * name: '__mydb',\n driverOrder: ['indexeddb', 'sqlite', 'websql']\n * })\n * ],\n * bootstrap: [...],\n * entryComponents: [...],\n * providers: [...]\n * })\n * export class AppModule { }\n * ```\n */\nimport * as ɵngcc0 from '@angular/core';\nlet Storage = class Storage {\n /**\n * Create a new Storage instance using the order of drivers and any additional config\n * options to pass to LocalForage.\n *\n * Possible driver options are: ['sqlite', 'indexeddb', 'websql', 'localstorage'] and the\n * default is that exact ordering.\n */\n constructor(config, platformId) {\n this.platformId = platformId;\n this._driver = null;\n this._dbPromise = new Promise((resolve, reject) => {\n if (isPlatformServer(this.platformId)) {\n const noopDriver = getNoopDriver();\n resolve(noopDriver);\n return;\n }\n let db;\n const defaultConfig = getDefaultConfig();\n const actualConfig = Object.assign(defaultConfig, config || {});\n defineDriver(CordovaSQLiteDriver)\n .then(() => {\n db = createInstance(actualConfig);\n })\n .then(() => db.setDriver(this._getDriverOrder(actualConfig.driverOrder)))\n .then(() => {\n this._driver = db.driver();\n resolve(db);\n })\n .catch((reason) => reject(reason));\n });\n }\n /**\n * Get the name of the driver being used.\n * @returns Name of the driver\n */\n get driver() {\n return this._driver;\n }\n /**\n * Reflect the readiness of the store.\n * @returns Returns a promise that resolves when the store is ready\n */\n ready() {\n return this._dbPromise;\n }\n /** @hidden */\n _getDriverOrder(driverOrder) {\n return driverOrder.map((driver) => {\n switch (driver) {\n case 'sqlite':\n return _driver;\n case 'indexeddb':\n return INDEXEDDB;\n case 'websql':\n return WEBSQL;\n case 'localstorage':\n return LOCALSTORAGE;\n }\n });\n }\n /**\n * Get the value associated with the given key.\n * @param key the key to identify this value\n * @returns Returns a promise with the value of the given key\n */\n get(key) {\n return this._dbPromise.then((db) => db.getItem(key));\n }\n /**\n * Set the value for the given key.\n * @param key the key to identify this value\n * @param value the value for this key\n * @returns Returns a promise that resolves when the key and value are set\n */\n set(key, value) {\n return this._dbPromise.then((db) => db.setItem(key, value));\n }\n /**\n * Remove any value associated with this key.\n * @param key the key to identify this value\n * @returns Returns a promise that resolves when the value is removed\n */\n remove(key) {\n return this._dbPromise.then((db) => db.removeItem(key));\n }\n /**\n * Clear the entire key value store. WARNING: HOT!\n * @returns Returns a promise that resolves when the store is cleared\n */\n clear() {\n return this._dbPromise.then((db) => db.clear());\n }\n /**\n * @returns Returns a promise that resolves with the number of keys stored.\n */\n length() {\n return this._dbPromise.then((db) => db.length());\n }\n /**\n * @returns Returns a promise that resolves with the keys in the store.\n */\n keys() {\n return this._dbPromise.then((db) => db.keys());\n }\n /**\n * Iterate through each key,value pair.\n * @param iteratorCallback a callback of the form (value, key, iterationNumber)\n * @returns Returns a promise that resolves when the iteration has finished.\n */\n forEach(iteratorCallback) {\n return this._dbPromise.then((db) => db.iterate(iteratorCallback));\n }\n};\nStorage = __decorate([\n __param(1, Inject(PLATFORM_ID))\n], Storage);\n/** @hidden */\nfunction getDefaultConfig() {\n return {\n name: '_ionicstorage',\n storeName: '_ionickv',\n dbKey: '_ionickey',\n driverOrder: ['sqlite', 'indexeddb', 'websql', 'localstorage'],\n };\n}\n/** @hidden */\nconst StorageConfigToken = new InjectionToken('STORAGE_CONFIG_TOKEN');\n/** @hidden */\nfunction provideStorage(storageConfig, platformID) {\n const config = !!storageConfig ? storageConfig : getDefaultConfig();\n return new Storage(config, platformID);\n}\nfunction getNoopDriver() {\n // noop driver for ssr environment\n const noop = () => { };\n const driver = {\n getItem: noop,\n setItem: noop,\n removeItem: noop,\n clear: noop,\n length: () => 0,\n keys: () => [],\n iterate: noop,\n };\n return driver;\n}\n\nvar IonicStorageModule_1;\nlet IonicStorageModule = IonicStorageModule_1 = class IonicStorageModule {\n static forRoot(storageConfig = null) {\n return {\n ngModule: IonicStorageModule_1,\n providers: [\n { provide: StorageConfigToken, useValue: storageConfig },\n {\n provide: Storage,\n useFactory: provideStorage,\n deps: [StorageConfigToken, PLATFORM_ID]\n }\n ]\n };\n }\n};\nIonicStorageModule.ɵfac = function IonicStorageModule_Factory(t) { return new (t || IonicStorageModule)(); };\nIonicStorageModule.ɵmod = /*@__PURE__*/ ɵngcc0.ɵɵdefineNgModule({ type: IonicStorageModule });\nIonicStorageModule.ɵinj = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjector({});\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(IonicStorageModule, [{\n type: NgModule\n }], null, null); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { IonicStorageModule, Storage, StorageConfigToken, provideStorage as ɵa };\n\n"],"mappings":"AAAA,SAASA,UAAU,EAAEC,OAAO,QAAQ,OAAO;AAC3C,SAASC,MAAM,EAAEC,WAAW,EAAEC,cAAc,EAAEC,QAAQ,QAAQ,eAAe;AAC7E,SAASC,gBAAgB,QAAQ,iBAAiB;AAClD,SAASC,YAAY,EAAEC,cAAc,EAAEC,YAAY,EAAEC,MAAM,EAAEC,SAAS,QAAQ,aAAa;AAC3F,OAAO,KAAKC,mBAAmB,MAAM,iCAAiC;AACtE,SAASC,OAAO,QAAQ,iCAAiC;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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