mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
1 line
16 KiB
JSON
1 line
16 KiB
JSON
{"ast":null,"code":"import { __extends } from \"tslib\";\nimport { Injectable } from '@angular/core';\nimport { IonicNativePlugin, cordova } from '@ionic-native/core';\nimport * as ɵngcc0 from '@angular/core';\nexport var DestinationType;\n(function (DestinationType) {\n DestinationType[DestinationType[\"DATA_URL\"] = 0] = \"DATA_URL\";\n DestinationType[DestinationType[\"FILE_URL\"] = 1] = \"FILE_URL\";\n DestinationType[DestinationType[\"NATIVE_URI\"] = 2] = \"NATIVE_URI\";\n})(DestinationType || (DestinationType = {}));\nexport var EncodingType;\n(function (EncodingType) {\n EncodingType[EncodingType[\"JPEG\"] = 0] = \"JPEG\";\n EncodingType[EncodingType[\"PNG\"] = 1] = \"PNG\";\n})(EncodingType || (EncodingType = {}));\nexport var MediaType;\n(function (MediaType) {\n MediaType[MediaType[\"PICTURE\"] = 0] = \"PICTURE\";\n MediaType[MediaType[\"VIDEO\"] = 1] = \"VIDEO\";\n MediaType[MediaType[\"ALLMEDIA\"] = 2] = \"ALLMEDIA\";\n})(MediaType || (MediaType = {}));\nexport var PictureSourceType;\n(function (PictureSourceType) {\n PictureSourceType[PictureSourceType[\"PHOTOLIBRARY\"] = 0] = \"PHOTOLIBRARY\";\n PictureSourceType[PictureSourceType[\"CAMERA\"] = 1] = \"CAMERA\";\n PictureSourceType[PictureSourceType[\"SAVEDPHOTOALBUM\"] = 2] = \"SAVEDPHOTOALBUM\";\n})(PictureSourceType || (PictureSourceType = {}));\nexport var PopoverArrowDirection;\n(function (PopoverArrowDirection) {\n PopoverArrowDirection[PopoverArrowDirection[\"ARROW_UP\"] = 1] = \"ARROW_UP\";\n PopoverArrowDirection[PopoverArrowDirection[\"ARROW_DOWN\"] = 2] = \"ARROW_DOWN\";\n PopoverArrowDirection[PopoverArrowDirection[\"ARROW_LEFT\"] = 3] = \"ARROW_LEFT\";\n PopoverArrowDirection[PopoverArrowDirection[\"ARROW_RIGHT\"] = 4] = \"ARROW_RIGHT\";\n PopoverArrowDirection[PopoverArrowDirection[\"ARROW_ANY\"] = 5] = \"ARROW_ANY\";\n})(PopoverArrowDirection || (PopoverArrowDirection = {}));\nexport var Direction;\n(function (Direction) {\n Direction[Direction[\"BACK\"] = 0] = \"BACK\";\n Direction[Direction[\"FRONT\"] = 1] = \"FRONT\";\n})(Direction || (Direction = {}));\nvar Camera = /** @class */function (_super) {\n __extends(Camera, _super);\n function Camera() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n /**\n * Constant for possible destination types\n */\n _this.DestinationType = {\n /** Return base64 encoded string. DATA_URL can be very memory intensive and cause app crashes or out of memory errors. Use FILE_URI or NATIVE_URI if possible */\n DATA_URL: 0,\n /** Return file uri (content://media/external/images/media/2 for Android) */\n FILE_URI: 1,\n /** Return native uri (eg. asset-library://... for iOS) */\n NATIVE_URI: 2\n };\n /**\n * Convenience constant\n */\n _this.EncodingType = {\n /** Return JPEG encoded image */\n JPEG: 0,\n /** Return PNG encoded image */\n PNG: 1\n };\n /**\n * Convenience constant\n */\n _this.MediaType = {\n /** Allow selection of still pictures only. DEFAULT. Will return format specified via DestinationType */\n PICTURE: 0,\n /** Allow selection of video only, ONLY RETURNS URL */\n VIDEO: 1,\n /** Allow selection from all media types */\n ALLMEDIA: 2\n };\n /**\n * Convenience constant\n */\n _this.PictureSourceType = {\n /** Choose image from picture library (same as PHOTOLIBRARY for Android) */\n PHOTOLIBRARY: 0,\n /** Take picture from camera */\n CAMERA: 1,\n /** Choose image from picture library (same as SAVEDPHOTOALBUM for Android) */\n SAVEDPHOTOALBUM: 2\n };\n /**\n * Convenience constant\n */\n _this.PopoverArrowDirection = {\n ARROW_UP: 1,\n ARROW_DOWN: 2,\n ARROW_LEFT: 4,\n ARROW_RIGHT: 8,\n ARROW_ANY: 15\n };\n /**\n * Convenience constant\n */\n _this.Direction = {\n /** Use the back-facing camera */\n BACK: 0,\n /** Use the front-facing camera */\n FRONT: 1\n };\n return _this;\n }\n Camera.prototype.getPicture = function (options) {\n return cordova(this, \"getPicture\", {\n \"callbackOrder\": \"reverse\"\n }, arguments);\n };\n Camera.prototype.cleanup = function () {\n return cordova(this, \"cleanup\", {\n \"platforms\": [\"iOS\"]\n }, arguments);\n };\n Camera.pluginName = \"Camera\";\n Camera.plugin = \"cordova-plugin-camera\";\n Camera.pluginRef = \"navigator.camera\";\n Camera.repo = \"https://github.com/apache/cordova-plugin-camera\";\n Camera.platforms = [\"Android\", \"Browser\", \"iOS\", \"Windows\"];\n Camera.ɵfac = /*@__PURE__*/function () {\n var ɵCamera_BaseFactory;\n return function Camera_Factory(t) {\n return (ɵCamera_BaseFactory || (ɵCamera_BaseFactory = ɵngcc0.ɵɵgetInheritedFactory(Camera)))(t || Camera);\n };\n }();\n Camera.ɵprov = /*@__PURE__*/ɵngcc0.ɵɵdefineInjectable({\n token: Camera,\n factory: function (t) {\n return Camera.ɵfac(t);\n }\n });\n (function () {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Camera, [{\n type: Injectable\n }], null, null);\n })();\n return Camera;\n}(IonicNativePlugin);\nexport { Camera };","map":{"version":3,"names":["__extends","Injectable","IonicNativePlugin","cordova","ɵngcc0","DestinationType","EncodingType","MediaType","PictureSourceType","PopoverArrowDirection","Direction","Camera","_super","_this","apply","arguments","DATA_URL","FILE_URI","NATIVE_URI","JPEG","PNG","PICTURE","VIDEO","ALLMEDIA","PHOTOLIBRARY","CAMERA","SAVEDPHOTOALBUM","ARROW_UP","ARROW_DOWN","ARROW_LEFT","ARROW_RIGHT","ARROW_ANY","BACK","FRONT","prototype","getPicture","options","cleanup","pluginName","plugin","pluginRef","repo","platforms","ɵfac","ɵCamera_BaseFactory","Camera_Factory","t","ɵɵgetInheritedFactory","ɵprov","ɵɵdefineInjectable","token","factory","ngDevMode","ɵsetClassMetadata","type"],"sources":["C:/Users/eudes.inacio/GabineteDigital/gabinete-digital-fo/node_modules/@ionic-native/camera/__ivy_ngcc__/ngx/index.js"],"sourcesContent":["import { __extends } from \"tslib\";\nimport { Injectable } from '@angular/core';\nimport { IonicNativePlugin, cordova } from '@ionic-native/core';\nimport * as ɵngcc0 from '@angular/core';\nexport var DestinationType;\n(function (DestinationType) {\n DestinationType[DestinationType[\"DATA_URL\"] = 0] = \"DATA_URL\";\n DestinationType[DestinationType[\"FILE_URL\"] = 1] = \"FILE_URL\";\n DestinationType[DestinationType[\"NATIVE_URI\"] = 2] = \"NATIVE_URI\";\n})(DestinationType || (DestinationType = {}));\nexport var EncodingType;\n(function (EncodingType) {\n EncodingType[EncodingType[\"JPEG\"] = 0] = \"JPEG\";\n EncodingType[EncodingType[\"PNG\"] = 1] = \"PNG\";\n})(EncodingType || (EncodingType = {}));\nexport var MediaType;\n(function (MediaType) {\n MediaType[MediaType[\"PICTURE\"] = 0] = \"PICTURE\";\n MediaType[MediaType[\"VIDEO\"] = 1] = \"VIDEO\";\n MediaType[MediaType[\"ALLMEDIA\"] = 2] = \"ALLMEDIA\";\n})(MediaType || (MediaType = {}));\nexport var PictureSourceType;\n(function (PictureSourceType) {\n PictureSourceType[PictureSourceType[\"PHOTOLIBRARY\"] = 0] = \"PHOTOLIBRARY\";\n PictureSourceType[PictureSourceType[\"CAMERA\"] = 1] = \"CAMERA\";\n PictureSourceType[PictureSourceType[\"SAVEDPHOTOALBUM\"] = 2] = \"SAVEDPHOTOALBUM\";\n})(PictureSourceType || (PictureSourceType = {}));\nexport var PopoverArrowDirection;\n(function (PopoverArrowDirection) {\n PopoverArrowDirection[PopoverArrowDirection[\"ARROW_UP\"] = 1] = \"ARROW_UP\";\n PopoverArrowDirection[PopoverArrowDirection[\"ARROW_DOWN\"] = 2] = \"ARROW_DOWN\";\n PopoverArrowDirection[PopoverArrowDirection[\"ARROW_LEFT\"] = 3] = \"ARROW_LEFT\";\n PopoverArrowDirection[PopoverArrowDirection[\"ARROW_RIGHT\"] = 4] = \"ARROW_RIGHT\";\n PopoverArrowDirection[PopoverArrowDirection[\"ARROW_ANY\"] = 5] = \"ARROW_ANY\";\n})(PopoverArrowDirection || (PopoverArrowDirection = {}));\nexport var Direction;\n(function (Direction) {\n Direction[Direction[\"BACK\"] = 0] = \"BACK\";\n Direction[Direction[\"FRONT\"] = 1] = \"FRONT\";\n})(Direction || (Direction = {}));\nvar Camera = /** @class */ (function (_super) {\n __extends(Camera, _super);\n function Camera() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n /**\n * Constant for possible destination types\n */\n _this.DestinationType = {\n /** Return base64 encoded string. DATA_URL can be very memory intensive and cause app crashes or out of memory errors. Use FILE_URI or NATIVE_URI if possible */\n DATA_URL: 0,\n /** Return file uri (content://media/external/images/media/2 for Android) */\n FILE_URI: 1,\n /** Return native uri (eg. asset-library://... for iOS) */\n NATIVE_URI: 2,\n };\n /**\n * Convenience constant\n */\n _this.EncodingType = {\n /** Return JPEG encoded image */\n JPEG: 0,\n /** Return PNG encoded image */\n PNG: 1,\n };\n /**\n * Convenience constant\n */\n _this.MediaType = {\n /** Allow selection of still pictures only. DEFAULT. Will return format specified via DestinationType */\n PICTURE: 0,\n /** Allow selection of video only, ONLY RETURNS URL */\n VIDEO: 1,\n /** Allow selection from all media types */\n ALLMEDIA: 2,\n };\n /**\n * Convenience constant\n */\n _this.PictureSourceType = {\n /** Choose image from picture library (same as PHOTOLIBRARY for Android) */\n PHOTOLIBRARY: 0,\n /** Take picture from camera */\n CAMERA: 1,\n /** Choose image from picture library (same as SAVEDPHOTOALBUM for Android) */\n SAVEDPHOTOALBUM: 2,\n };\n /**\n * Convenience constant\n */\n _this.PopoverArrowDirection = {\n ARROW_UP: 1,\n ARROW_DOWN: 2,\n ARROW_LEFT: 4,\n ARROW_RIGHT: 8,\n ARROW_ANY: 15,\n };\n /**\n * Convenience constant\n */\n _this.Direction = {\n /** Use the back-facing camera */\n BACK: 0,\n /** Use the front-facing camera */\n FRONT: 1,\n };\n return _this;\n }\n Camera.prototype.getPicture = function (options) { return cordova(this, \"getPicture\", { \"callbackOrder\": \"reverse\" }, arguments); };\n Camera.prototype.cleanup = function () { return cordova(this, \"cleanup\", { \"platforms\": [\"iOS\"] }, arguments); };\n Camera.pluginName = \"Camera\";\n Camera.plugin = \"cordova-plugin-camera\";\n Camera.pluginRef = \"navigator.camera\";\n Camera.repo = \"https://github.com/apache/cordova-plugin-camera\";\n Camera.platforms = [\"Android\", \"Browser\", \"iOS\", \"Windows\"];\nCamera.ɵfac = /*@__PURE__*/ function () { var ɵCamera_BaseFactory; return function Camera_Factory(t) { return (ɵCamera_BaseFactory || (ɵCamera_BaseFactory = ɵngcc0.ɵɵgetInheritedFactory(Camera)))(t || Camera); }; }();\nCamera.ɵprov = /*@__PURE__*/ ɵngcc0.ɵɵdefineInjectable({ token: Camera, factory: function (t) { return Camera.ɵfac(t); } });\n(function () { (typeof ngDevMode === \"undefined\" || ngDevMode) && ɵngcc0.ɵsetClassMetadata(Camera, [{\n type: Injectable\n }], null, null); })();\n return Camera;\n}(IonicNativePlugin));\nexport { Camera };\n\n"],"mappings":"AAAA,SAASA,SAAS,QAAQ,OAAO;AACjC,SAASC,UAAU,QAAQ,eAAe;AAC1C,SAASC,iBAAiB,EAAEC,OAAO,QAAQ,oBAAoB;AAC/D,OAAO,KAAKC,MAAM,MAAM,eAAe;AACvC,OAAO,IAAIC,eAAe;AAC1B,CAAC,UAAUA,eAAe,EAAE;EACxBA,eAAe,CAACA,eAAe,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,GAAG,UAAU;EAC7DA,eAAe,CAACA,eAAe,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,GAAG,UAAU;EAC7DA,eAAe,CAACA,eAAe,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,GAAG,YAAY;AACrE,CAAC,EAAEA,eAAe,KAAKA,eAAe,GAAG,CAAC,CAAC,CAAC,CAAC;AAC7C,OAAO,IAAIC,YAAY;AACvB,CAAC,UAAUA,YAAY,EAAE;E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