Files
doneit-web/.angular/cache/14.2.12/babel-webpack/969c2271068d0506f39ff97b83b2d459.json
T

1 line
8.7 KiB
JSON
Raw Normal View History

2023-06-30 09:54:21 +01:00
{"ast":null,"code":"import { __extends } from \"tslib\";\nimport { Injectable } from '@angular/core';\nimport { IonicNativePlugin, cordovaPropertyGet, cordovaPropertySet, cordova } from '@ionic-native/core';\nimport { Observable } from 'rxjs';\nimport * as ɵngcc0 from '@angular/core';\nvar ScreenOrientation = /** @class */function (_super) {\n __extends(ScreenOrientation, _super);\n function ScreenOrientation() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n /**\n * Convenience enum for possible orientations\n */\n _this.ORIENTATIONS = {\n PORTRAIT_PRIMARY: 'portrait-primary',\n PORTRAIT_SECONDARY: 'portrait-secondary',\n LANDSCAPE_PRIMARY: 'landscape-primary',\n LANDSCAPE_SECONDARY: 'landscape-secondary',\n PORTRAIT: 'portrait',\n LANDSCAPE: 'landscape',\n ANY: 'any'\n };\n return _this;\n }\n ScreenOrientation.prototype.onChange = function () {\n return cordova(this, \"onChange\", {\n \"eventObservable\": true,\n \"event\": \"orientationchange\",\n \"element\": \"window\"\n }, arguments);\n };\n ScreenOrientation.prototype.lock = function (orientation) {\n return cordova(this, \"lock\", {\n \"otherPromise\": true\n }, arguments);\n };\n ScreenOrientation.prototype.unlock = function () {\n return cordova(this, \"unlock\", {\n \"sync\": true\n }, arguments);\n };\n Object.defineProperty(ScreenOrientation.prototype, \"type\", {\n get: function () {\n return cordovaPropertyGet(this, \"type\");\n },\n set: function (value) {\n cordovaPropertySet(this, \"type\", value);\n },\n enumerable: false,\n configurable: true\n });\n ScreenOrientation.pluginName = \"ScreenOrientation\";\n ScreenOrientation.plugin = \"cordova-plugin-screen-orientation\";\n ScreenOrientation.pluginRef = \"screen.orientation\";\n ScreenOrientation.repo = \"https://github.com/apache/cordova-plugin-screen-orientation\";\n ScreenOrientation.platforms = [\"Android\", \"iOS\", \"Windows\"];\n ScreenOrientation.ɵfac = /*@__PURE__*/function () {\n var ɵScreenOrientation_BaseFactory;\n return function ScreenOrientation_Factory(t) {\n return (ɵScreenOrientation_BaseFactory || (ɵScreenOrientation_BaseFactory = ɵngcc0.ɵɵgetInheritedFactory(ScreenOrientation)))(t || ScreenOrientation);\n };\n }();\n ScreenOrientation.ɵprov = /*@__PURE__*/ɵngcc0.ɵɵdefineInjectable({\n token: ScreenOrientation,\n factory: function (t) {\n return ScreenOrientation.ɵfac(t);\n }\n });\n (function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(ScreenOrientation, [{\n type: Injectable\n }], null, null);\n })();\n return ScreenOrientation;\n}(IonicNativePlugin);\nexport { ScreenOrientation };","map":{"version":3,"names":["__extends","Injectable","IonicNativePlugin","cordovaPropertyGet","cordovaPropertySet","cordova","Observable","ɵngcc0","ScreenOrientation","_super","_this","apply","arguments","ORIENTATIONS","PORTRAIT_PRIMARY","PORTRAIT_SECONDARY","LANDSCAPE_PRIMARY","LANDSCAPE_SECONDARY","PORTRAIT","LANDSCAPE","ANY","prototype","onChange","lock","orientation","unlock","Object","defineProperty","get","set","value","enumerable","configurable","pluginName","plugin","pluginRef","repo","platforms","ɵfac","ɵScreenOrientation_BaseFactory","ScreenOrientation_Factory","t","ɵɵgetInheritedFactory","ɵprov","ɵɵdefineInjectable","token","factory","ngDevMode","ɵsetClassMetadata","type"],"sources":["C:/Users/eudes.inacio/GabineteDigital/gabinete-digital-fo/node_modules/@ionic-native/screen-orientation/__ivy_ngcc__/ngx/index.js"],"sourcesContent":["import { __extends } from \"tslib\";\nimport { Injectable } from '@angular/core';\nimport { IonicNativePlugin, cordovaPropertyGet, cordovaPropertySet, cordova } from '@ionic-native/core';\nimport { Observable } from 'rxjs';\nimport * as ɵngcc0 from '@angular/core';\nvar ScreenOrientation = /** @class */ (function (_super) {\n __extends(ScreenOrientation, _super);\n function Scre