This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/node_modulesOLD/vuetify/lib/services/application/index.js.map

1 line
2.2 KiB
Text
Raw Permalink Normal View History

2019-08-11 18:48:02 +00:00
{"version":3,"sources":["../../../src/services/application/index.ts"],"names":[],"mappings":"AAAA;AACA,SAAS,OAAT,QAAwB,YAAxB;AAKA,OAAM,MAAO,WAAP,SAA2B,OAA3B,CAAkC;AAAxC,EAAA,WAAA,GAAA;;AAGE,SAAA,GAAA,GAAM,CAAN;AAEA,SAAA,GAAA,GAAM,CAAN;AAEA,SAAA,IAAA,GAAO,CAAP;AAEA,SAAA,WAAA,GAAc,CAAd;AAEA,SAAA,KAAA,GAAQ,CAAR;AAEA,SAAA,MAAA,GAAS,CAAT;AAEA,SAAA,MAAA,GAAS,CAAT;AAEA,SAAA,WAAA,GAAgD;AAC9C,MAAA,GAAG,EAAE,EADyC;AAE9C,MAAA,GAAG,EAAE,EAFyC;AAG9C,MAAA,IAAI,EAAE,EAHwC;AAI9C,MAAA,WAAW,EAAE,EAJiC;AAK9C,MAAA,KAAK,EAAE,EALuC;AAM9C,MAAA,MAAM,EAAE,EANsC;AAO9C,MAAA,MAAM,EAAE;AAPsC,KAAhD;AA+BD;;AArBC,EAAA,QAAQ,CACN,GADM,EAEN,QAFM,EAGN,IAHM,EAGM;AAEZ,SAAK,WAAL,CAAiB,QAAjB,EAA2B,GAA3B,IAAkC,IAAlC;AAEA,SAAK,MAAL,CAAY,QAAZ;AACD;;AAED,EAAA,UAAU,CAAE,GAAF,EAAe,QAAf,EAAmC;AAC3C,QAAI,KAAK,WAAL,CAAiB,QAAjB,EAA2B,GAA3B,KAAmC,IAAvC,EAA6C;AAE7C,WAAO,KAAK,WAAL,CAAiB,QAAjB,EAA2B,GAA3B,CAAP;AACA,SAAK,MAAL,CAAY,QAAZ;AACD;;AAED,EAAA,MAAM,CAAE,QAAF,EAAsB;AAC1B,SAAK,QAAL,IAAiB,MAAM,CAAC,MAAP,CAAc,KAAK,WAAL,CAAiB,QAAjB,CAAd,EACd,MADc,CACP,CAAC,GAAD,EAAc,GAAd,KAAuC,GAAG,GAAG,GADtC,EAC4C,CAD5C,CAAjB;AAED;;AA/CqC;AAC/B,WAAA,CAAA,QAAA,GAAW,aAAX","sourcesContent":["// Extensions\nimport { Service } from '../service'\n\n// Types\nimport { TargetPropValues, TargetProp } from 'vuetify/types/services/application'\n\nexport class Application extends Service {\n static property = 'application'\n\n bar = 0\n\n top = 0\n\n left = 0\n\n insetFooter = 0\n\n right = 0\n\n bottom = 0\n\n footer = 0\n\n application: Record<string, TargetPropValues> = {\n bar: {},\n top: {},\n left: {},\n insetFooter: {},\n right: {},\n bottom: {},\n footer: {},\n }\n\n register (\n uid: number,\n location: TargetProp,\n size: number\n ) {\n this.application[location][uid] = size\n\n this.update(location)\n }\n\n unregister (uid: number, location: TargetProp) {\n if (this.application[location][uid] == null) return\n\n delete this.application[location][uid]\n this.update(location)\n }\n\n update (location: TargetProp) {\n this[location] = Object.values(this.application[location])\n .reduce((acc: number, cur: number): number => (acc + cur), 0)\n }\n}\n"],"sourceRoot":"","file":"index.js"}