{"version":3,"sources":["../../../src/window/types/frame-context.ts"],"names":["FrameContexts"],"mappings":"AA8BY,IAAA,aAAA,qBAAAA,cAAL,KAAA;AAKL,EAAAA,eAAA,UAAW,CAAA,GAAA,UAAA;AAGX,EAAAA,eAAA,SAAU,CAAA,GAAA,SAAA;AAGV,EAAAA,eAAA,gBAAiB,CAAA,GAAA,gBAAA;AAGjB,EAAAA,eAAA,QAAS,CAAA,GAAA,QAAA;AAGT,EAAAA,eAAA,MAAO,CAAA,GAAA,MAAA;AAGP,EAAAA,eAAA,WAAY,CAAA,GAAA,WAAA;AAGZ,EAAAA,eAAA,OAAQ,CAAA,GAAA,OAAA;AAGR,EAAAA,eAAA,cAAe,CAAA,GAAA,cAAA;AA1BL,EAAAA,OAAAA,cAAAA;AAAA,CAAA,EAAA,aAAA,IAAA,EAAA","file":"frame-context.mjs","sourcesContent":["/**\n * FrameContexts provides information about the context in which the app is running within the host.\n * Developers can use FrameContexts to determine how their app should behave in different contexts,\n * and can use the information provided by the context to adapt the app to the user's needs.\n *\n * @example\n * If your app is running in the \"settings\" context, you should be displaying your apps configuration page.\n * If the app is running in the content context, the developer may want to display information relevant to\n * the content the user is currently viewing.\n */\nexport type FrameContext =\n  | 'settings'\n  | 'content'\n  | 'authentication'\n  | 'remove'\n  | 'task'\n  | 'sidePanel'\n  | 'stage'\n  | 'meetingStage';\n\n/**\n * FrameContexts provides information about the context in which the app is running within the host.\n * Developers can use FrameContexts to determine how their app should behave in different contexts,\n * and can use the information provided by the context to adapt the app to the user's needs.\n *\n * @example\n * If your app is running in the \"settings\" context, you should be displaying your apps configuration page.\n * If the app is running in the content context, the developer may want to display information relevant to\n * the content the user is currently viewing.\n */\nexport enum FrameContexts {\n  /**\n   * App's frame context from where settings page can be accessed.\n   * See [how to create a configuration page.]( https://learn.microsoft.com/microsoftteams/platform/tabs/how-to/create-tab-pages/configuration-page?tabs=teamsjs-v2)\n   */\n  settings = 'settings',\n\n  /** The default context for the app where all the content of the app is displayed. */\n  content = 'content',\n\n  /** Frame context used when app is running */\n  authentication = 'authentication',\n\n  /** The page shown when the user uninstalls the app. */\n  remove = 'remove',\n\n  /** A task module is a pop-up window that can be used to display a form, a dialog, or other interactive content within the host. */\n  task = 'task',\n\n  /** The side panel is a persistent panel that is displayed on the right side of the host and can be used to display content or UI that is relevant to the current page or tab. */\n  sidePanel = 'sidePanel',\n\n  /** The stage is a large area that is displayed at the center of the host and can be used to display content or UI that requires a lot of space, such as a video player or a document editor. */\n  stage = 'stage',\n\n  /** App's frame context from where meetingStage can be accessed in a meeting session, which is the primary area where video and presentation content is displayed during a meeting. */\n  meetingStage = 'meetingStage',\n}\n"]}