64ecd6dced18039c1e07de0bc2e9d8e7.json 6.19 KB
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.WebOrientation=exports.WebOrientationLock=exports.SizeClassIOS=exports.OrientationLock=exports.Orientation=void 0;var Orientation;exports.Orientation=Orientation;(function(Orientation){Orientation[\"UNKNOWN\"]=\"UNKNOWN\";Orientation[\"PORTRAIT\"]=\"PORTRAIT\";Orientation[\"PORTRAIT_UP\"]=\"PORTRAIT_UP\";Orientation[\"PORTRAIT_DOWN\"]=\"PORTRAIT_DOWN\";Orientation[\"LANDSCAPE\"]=\"LANDSCAPE\";Orientation[\"LANDSCAPE_LEFT\"]=\"LANDSCAPE_LEFT\";Orientation[\"LANDSCAPE_RIGHT\"]=\"LANDSCAPE_RIGHT\";})(Orientation||(exports.Orientation=Orientation={}));var OrientationLock;exports.OrientationLock=OrientationLock;(function(OrientationLock){OrientationLock[\"DEFAULT\"]=\"DEFAULT\";OrientationLock[\"ALL\"]=\"ALL\";OrientationLock[\"PORTRAIT\"]=\"PORTRAIT\";OrientationLock[\"PORTRAIT_UP\"]=\"PORTRAIT_UP\";OrientationLock[\"PORTRAIT_DOWN\"]=\"PORTRAIT_DOWN\";OrientationLock[\"LANDSCAPE\"]=\"LANDSCAPE\";OrientationLock[\"LANDSCAPE_LEFT\"]=\"LANDSCAPE_LEFT\";OrientationLock[\"LANDSCAPE_RIGHT\"]=\"LANDSCAPE_RIGHT\";OrientationLock[\"OTHER\"]=\"OTHER\";OrientationLock[\"UNKNOWN\"]=\"UNKNOWN\";OrientationLock[\"ALL_BUT_UPSIDE_DOWN\"]=\"ALL_BUT_UPSIDE_DOWN\";})(OrientationLock||(exports.OrientationLock=OrientationLock={}));var SizeClassIOS;exports.SizeClassIOS=SizeClassIOS;(function(SizeClassIOS){SizeClassIOS[\"REGULAR\"]=\"REGULAR\";SizeClassIOS[\"COMPACT\"]=\"COMPACT\";SizeClassIOS[\"UNKNOWN\"]=\"UNKNOWN\";})(SizeClassIOS||(exports.SizeClassIOS=SizeClassIOS={}));var WebOrientationLock;exports.WebOrientationLock=WebOrientationLock;(function(WebOrientationLock){WebOrientationLock[\"PORTRAIT_PRIMARY\"]=\"portrait-primary\";WebOrientationLock[\"PORTRAIT_SECONDARY\"]=\"portrait-secondary\";WebOrientationLock[\"PORTRAIT\"]=\"portrait\";WebOrientationLock[\"LANDSCAPE_PRIMARY\"]=\"landscape-primary\";WebOrientationLock[\"LANDSCAPE_SECONDARY\"]=\"landscape-secondary\";WebOrientationLock[\"LANDSCAPE\"]=\"landscape\";WebOrientationLock[\"ANY\"]=\"any\";WebOrientationLock[\"NATURAL\"]=\"natural\";WebOrientationLock[\"UNKNOWN\"]=\"unknown\";})(WebOrientationLock||(exports.WebOrientationLock=WebOrientationLock={}));var WebOrientation;exports.WebOrientation=WebOrientation;(function(WebOrientation){WebOrientation[\"PORTRAIT_PRIMARY\"]=\"portrait-primary\";WebOrientation[\"PORTRAIT_SECONDARY\"]=\"portrait-secondary\";WebOrientation[\"LANDSCAPE_PRIMARY\"]=\"landscape-primary\";WebOrientation[\"LANDSCAPE_SECONDARY\"]=\"landscape-secondary\";})(WebOrientation||(exports.WebOrientation=WebOrientation={}));","map":{"version":3,"sources":["../../src/ScreenOrientation/ScreenOrientation.types.ts"],"names":[],"mappings":"mLAAA,GAAY,CAAA,WAAZ,C,gCAAA,CAAA,SAAY,WAAZ,CAAuB,CACrB,WAAA,CAAA,SAAA,CAAA,CAAA,SAAA,CACA,WAAA,CAAA,UAAA,CAAA,CAAA,UAAA,CACA,WAAA,CAAA,aAAA,CAAA,CAAA,aAAA,CACA,WAAA,CAAA,eAAA,CAAA,CAAA,eAAA,CACA,WAAA,CAAA,WAAA,CAAA,CAAA,WAAA,CACA,WAAA,CAAA,gBAAA,CAAA,CAAA,gBAAA,CACA,WAAA,CAAA,iBAAA,CAAA,CAAA,iBAAA,CACD,CARD,EAAY,WAAW,uBAAX,WAAW,CAAA,EAAA,CAAvB,EAUA,GAAY,CAAA,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AA,CAAA,CAAA,SAAA,CACD,CAVD,EAAY,kBAAkB,8BAAlB,kBAAkB,CAAA,EAAA,CAA9B,EAYA,GAAY,CAAA,cAAZ,C,sCAAA,CAAA,SAAY,cAAZ,CAA0B,CACxB,cAAA,CAAA,kBAAA,CAAA,CAAA,kBAAA,CACA,cAAA,CAAA,oBAAA,CAAA,CAAA,oBAAA,CACA,cAAA,CAAA,mBAAA,CAAA,CAAA,mBAAA,CACA,cAAA,CAAA,qBAAA,CAAA,CAAA,qBAAA,CACD,CALD,EAAY,cAAc,0BAAd,cAAc,CAAA,EAAA,CAA1B","sourcesContent":["export enum Orientation {\n  UNKNOWN = 'UNKNOWN',\n  PORTRAIT = 'PORTRAIT',\n  PORTRAIT_UP = 'PORTRAIT_UP',\n  PORTRAIT_DOWN = 'PORTRAIT_DOWN',\n  LANDSCAPE = 'LANDSCAPE',\n  LANDSCAPE_LEFT = 'LANDSCAPE_LEFT',\n  LANDSCAPE_RIGHT = 'LANDSCAPE_RIGHT',\n}\n\nexport enum OrientationLock {\n  DEFAULT = 'DEFAULT',\n  ALL = 'ALL',\n  PORTRAIT = 'PORTRAIT',\n  PORTRAIT_UP = 'PORTRAIT_UP',\n  PORTRAIT_DOWN = 'PORTRAIT_DOWN',\n  LANDSCAPE = 'LANDSCAPE',\n  LANDSCAPE_LEFT = 'LANDSCAPE_LEFT',\n  LANDSCAPE_RIGHT = 'LANDSCAPE_RIGHT',\n  OTHER = 'OTHER',\n  UNKNOWN = 'UNKNOWN',\n  ALL_BUT_UPSIDE_DOWN = 'ALL_BUT_UPSIDE_DOWN', // deprecated\n}\n\nexport enum SizeClassIOS {\n  REGULAR = 'REGULAR',\n  COMPACT = 'COMPACT',\n  UNKNOWN = 'UNKNOWN',\n}\n\nexport enum WebOrientationLock {\n  PORTRAIT_PRIMARY = 'portrait-primary',\n  PORTRAIT_SECONDARY = 'portrait-secondary',\n  PORTRAIT = 'portrait',\n  LANDSCAPE_PRIMARY = 'landscape-primary',\n  LANDSCAPE_SECONDARY = 'landscape-secondary',\n  LANDSCAPE = 'landscape',\n  ANY = 'any',\n  NATURAL = 'natural',\n  UNKNOWN = 'unknown',\n}\n\nexport enum WebOrientation {\n  PORTRAIT_PRIMARY = 'portrait-primary',\n  PORTRAIT_SECONDARY = 'portrait-secondary',\n  LANDSCAPE_PRIMARY = 'landscape-primary',\n  LANDSCAPE_SECONDARY = 'landscape-secondary',\n}\n\nexport type OrientationInfo = {\n  orientation: Orientation;\n  verticalSizeClass?: SizeClassIOS;\n  horizontalSizeClass?: SizeClassIOS;\n};\n\nexport type PlatformOrientationInfo = {\n  screenOrientationConstantAndroid?: number;\n  screenOrientationArrayIOS?: Orientation[];\n  screenOrientationLockWeb?: WebOrientationLock;\n};\n\nexport type OrientationChangeListener = (event: OrientationChangeEvent) => void;\n\nexport type OrientationChangeEvent = {\n  orientationLock: OrientationLock;\n  orientationInfo: OrientationInfo;\n};\n"],"sourceRoot":""},"metadata":{},"sourceType":"script"}