{"version":3,"file":"ironsource-fusion-ui-components-popup-common-entities.mjs","sources":["../../../projects/fusion-ui/components/popup/common/entities/popup.entity.ts","../../../projects/fusion-ui/components/popup/common/entities/popup.config.ts","../../../projects/fusion-ui/components/popup/common/entities/ironsource-fusion-ui-components-popup-common-entities.ts"],"sourcesContent":["import {Component, ElementRef, Type} from '@angular/core';\n\nexport enum PopupLocation {\n    TopRight = 'top-right',\n    TopLeft = 'top-left',\n    BottomRight = 'bottom-right',\n    BottomLeft = 'bottom-left',\n    ElementRelated = 'element-related'\n}\n\nexport interface PopupSize {\n    width?: number;\n    height?: number;\n}\n\nexport interface PopupPositionOffset {\n    top?: number;\n    left?: number;\n}\n\nexport interface PopupComponentContent {\n    type: Type<Component>;\n    data?: any;\n}\n\nexport interface PopupEntity {\n    backgroundColor?: string;\n    component?: PopupComponentContent;\n    element?: Node;\n    isOpen?: boolean;\n    size?: PopupSize;\n    location?: PopupLocation;\n    hostElement?: ElementRef;\n    hostElementPositionOffset?: PopupPositionOffset;\n    suppressCloseElementSelector?: string;\n    newInstance?: boolean;\n}\n","import {PopupPositionOffset} from './popup.entity';\n\nexport const DEFAULT_POPUP_OFFSET: PopupPositionOffset = {\n    top: 5, // 5px from host element bottom to the popup\n    left: 0\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"IAEY,cAMX;AAND,CAAA,UAAY,aAAa,EAAA;AACrB,IAAA,aAAA,CAAA,UAAA,CAAA,GAAA,WAAsB,CAAA;AACtB,IAAA,aAAA,CAAA,SAAA,CAAA,GAAA,UAAoB,CAAA;AACpB,IAAA,aAAA,CAAA,aAAA,CAAA,GAAA,cAA4B,CAAA;AAC5B,IAAA,aAAA,CAAA,YAAA,CAAA,GAAA,aAA0B,CAAA;AAC1B,IAAA,aAAA,CAAA,gBAAA,CAAA,GAAA,iBAAkC,CAAA;AACtC,CAAC,EANW,aAAa,KAAb,aAAa,GAMxB,EAAA,CAAA,CAAA;;ACNY,MAAA,oBAAoB,GAAwB;AACrD,IAAA,GAAG,EAAE,CAAC;AACN,IAAA,IAAI,EAAE,CAAC;;;ACJX;;AAEG;;;;"}