{"version":3,"file":"material-zui-angular-storage.mjs","sources":["../../../../projects/material-zui/angular/storage/src/index.service.ts","../../../../projects/material-zui/angular/storage/src/index.module.ts","../../../../projects/material-zui/angular/storage/material-zui-angular-storage.ts"],"sourcesContent":["import {Injectable} from '@angular/core'\nimport * as ZuiStorage from '@material-zui/core/storage'\n\n@Injectable()\nexport class ZuiStorageService {\n  /**\n   * @default use memory\n   * @memory Reload tab browser to clear data\n   * @localStorage Object which stores data with no expiration date\n   * @session The data is deleted when the TAB browser is closed (do not need close browser)\n   * @cookie Set expiry date. By default, the cookie is deleted when the browser is closed (cookie is session unless set expire time)\n   * @returns key\n   */\n  create = ZuiStorage.create\n\n  /**\n   * @default use memory\n   * @memory Reload tab browser to clear data\n   * @localStorage Object which stores data with no expiration date\n   * @session The data is deleted when the TAB browser is closed (do not need close browser)\n   * @cookie Set expiry date. By default, the cookie is deleted when the browser is closed (cookie is session unless set expire time)\n   * @returns key\n   */\n  set = ZuiStorage.set\n\n  get = ZuiStorage.get\n\n  remove = ZuiStorage.remove\n\n  clear = ZuiStorage.clear\n\n  has = ZuiStorage.has\n}\n","import {NgModule} from '@angular/core'\nimport {ZuiAngularModule} from '@material-zui/angular/modules'\nimport {ZuiStorageService} from './index.service'\n\n@NgModule({\n  imports: [ZuiAngularModule],\n  providers: [ZuiStorageService],\n})\nexport class ZuiStorageModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAIa,iBAAiB,CAAA;AAD9B,IAAA,WAAA,GAAA;AAEE;;;;;;;AAOG;AACH,QAAA,IAAA,CAAA,MAAM,GAAG,UAAU,CAAC,MAAM,CAAA;AAE1B;;;;;;;AAOG;AACH,QAAA,IAAA,CAAA,GAAG,GAAG,UAAU,CAAC,GAAG,CAAA;AAEpB,QAAA,IAAA,CAAA,GAAG,GAAG,UAAU,CAAC,GAAG,CAAA;AAEpB,QAAA,IAAA,CAAA,MAAM,GAAG,UAAU,CAAC,MAAM,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