{"version":3,"sources":["src/components/search/atomic-query-error/atomic-query-error.pcss?tag=atomic-query-error&encapsulation=shadow","src/components/search/atomic-query-error/atomic-query-error.tsx"],"names":["atomicQueryErrorCss","AtomicQueryError","[object Object]","hostRef","this","showMoreInfo","queryError","buildQueryError","bindings","engine","h","QueryErrorCommon","onShowMoreInfo","queryErrorState","setAriaLive","msg","ariaMessage","__decorate","InitializeBindings","BindStateToController","AriaLiveRegion"],"mappings":"6UAAA,MAAMA,EAAsB,w79BC0BfC,EAAgB,MAL7BC,YAAAC,aAaWC,KAAAC,aAAe,MAKjBH,aACLE,KAAKE,WAAaC,EAAgBH,KAAKI,SAASC,QAG3CP,SACL,OACEQ,EAACC,EAAgB,CACfH,SAAUJ,KAAKI,SACfI,eAAgB,IAAOR,KAAKC,aAAe,KAC3CQ,gBAAiBT,KAAKS,gBACtBC,YAAcC,GAASX,KAAKY,YAAcD,EAC1CV,aAAcD,KAAKC,iBAvBHY,EAAA,CAArBC,uCAGAC,EAAsB,qDAOvBF,EAAA,CADCG,EAAe","sourcesContent":["@import '../../../global/global.pcss';\n","import {QueryError, QueryErrorState, buildQueryError} from '@coveo/headless';\nimport {Component, h, State} from '@stencil/core';\nimport {AriaLiveRegion} from '../../../utils/accessibility-utils';\nimport {\n BindStateToController,\n InitializableComponent,\n InitializeBindings,\n} from '../../../utils/initialization-utils';\nimport {QueryErrorCommon} from '../../common/query-error/query-error-common';\nimport {Bindings} from '../atomic-search-interface/atomic-search-interface';\n\n/**\n * The `atomic-query-error` component handles fatal errors when performing a query on the index or Search API. When the error is known, it displays a link to relevant documentation link for debugging purposes. When the error is unknown, it displays a small text area with the JSON content of the error.\n *\n * @part icon - The svg related to the error.\n * @part title - The title of the error.\n * @part description - A description of the error.\n * @part doc-link - A link to the relevant documentation.\n * @part more-info-btn - A button to request additional error information.\n * @part error-info - Additional error information.\n */\n@Component({\n tag: 'atomic-query-error',\n styleUrl: 'atomic-query-error.pcss',\n shadow: true,\n})\nexport class AtomicQueryError implements InitializableComponent {\n @InitializeBindings() public bindings!: Bindings;\n public queryError!: QueryError;\n\n @BindStateToController('queryError')\n @State()\n private queryErrorState!: QueryErrorState;\n @State() public error!: Error;\n @State() showMoreInfo = false;\n\n @AriaLiveRegion('query-error')\n protected ariaMessage!: string;\n\n public initialize() {\n this.queryError = buildQueryError(this.bindings.engine);\n }\n\n public render() {\n return (\n (this.showMoreInfo = true)}\n queryErrorState={this.queryErrorState}\n setAriaLive={(msg) => (this.ariaMessage = msg)}\n showMoreInfo={this.showMoreInfo}\n />\n );\n }\n}\n"]}
澳门博彩官网
博彩app
沈阳师范大学招生网
皇冠体育博彩
鹭翔环保除甲醛公司
4399游戏吧充值中心
钟山职业技术学院
体育博彩
体育平台
欧洲杯买球
洮南在线
Sun-City-entertainment-City-careers@wowarmony.com
bet365亚洲官网
Buying-platform-sales@zhenrenqi.com
太阳城
北京中医药大学远程教育学院
宁夏电视台网站
体育博彩
太原新东方英语培训机构
太阳城官网
真三国无双OL
俄罗斯旅游中文网
其乐网
大成皮肤网
其乐网
搜鹿网
中国证券网新闻频道
苹果助手官网
傲游今日
河北经贸大学经济管理学院
汽车口碑网
折800卖家中心
站点地图
香港教育学院