Compare commits

..

25 Commits

Author SHA1 Message Date
Kimdiego2098
1cbd41ad87 更新文档 2024-01-21 16:50:16 +08:00
Kimdiego2098
d8567b8427 断开连接时 退出 等待数据返回 2024-01-21 16:43:10 +08:00
Kimdiego2098
afe6a1923b 断开连接时 退出 等待数据返回 2024-01-21 16:42:30 +08:00
Kimdiego2098
0f60f4754f 更新文档 2024-01-21 16:42:03 +08:00
Kimdiego2098
7e988d0401 更新文档 2024-01-21 16:08:23 +08:00
Kimdiego2098
d85813c229 更新文档 2024-01-21 16:07:56 +08:00
Kimdiego2098
12eb56809d 更新5.0 2024-01-21 15:38:31 +08:00
Kimdiego2098
d792172779 更新5.0 2024-01-21 15:38:28 +08:00
Kimdiego2098
011562ae73 修复变量 多字节解析顺序配置不生效 2024-01-12 09:50:41 +08:00
Kimdiego2098
71c4e36933 service中的客户端交互没有日志输出;modbusDTU添加定时清理 2024-01-10 12:11:55 +08:00
Kimdiego2098
6261982f6c OPCUA订阅null值时不判定离线 2023-12-29 16:53:05 +08:00
Kimdiego2098
4ac01e0ed0 修复插件外部上传,无法同步识别流的问题 2023-12-29 16:08:41 +08:00
Kimdiego2098
2dfe07f13e opc变量值为null时 不应影响变量质量戳状态 2023-12-27 22:27:13 +08:00
Kimdiego2098
7f4e4017ce 更新版本号 2023-12-12 22:42:56 +08:00
Kimdiego2098
635970f37b 更新版本号 2023-12-12 22:42:34 +08:00
Kimdiego2098
106e740220 修复导出变量偶发丢失上传属性的问题 2023-12-12 22:41:10 +08:00
Kimdiego2098
3e6420ba6f 整理上传插件代码 2023-12-12 22:40:42 +08:00
Diego2098
79be8010d5 Merge pull request #2 from allrightsreserved/master
分离数据库 和上传插件的父类
2023-12-12 21:09:44 +08:00
BadMan
0b6e679f3b 分离数据库 和上传插件的父类 2023-12-12 12:48:28 +08:00
Kimdiego2098
97c43ad2b9 更新依赖包 2023-12-11 21:19:51 +08:00
Kimdiego2098
cbf978745c 修复历史报警数据转储插件错误 2023-12-11 13:36:15 +08:00
Kimdiego2098
63dceada90 dateTimeExtension更改 2023-12-08 17:37:12 +08:00
Kimdiego2098
366aade8b4 整理代码文件 2023-12-08 17:08:57 +08:00
Kimdiego2098
aeb505e3d9 整理代码文件 2023-12-08 16:43:26 +08:00
Kimdiego2098
f9482e4773 Sqlsugar版本更新;
如果出现linux系统中报错sqlite错误,尝试安装依赖
# Debian/Ubuntu
apt-get install libsqlite3-mod-spatialite

# macOS
brew install libspatialite
2023-12-08 16:43:05 +08:00
2758 changed files with 112166 additions and 182605 deletions

9
.gitignore vendored
View File

@@ -362,7 +362,10 @@ MigrationBackup/
# Fody - auto-generated XML schema
FodyWeavers.xsd
/framework/*pro*
/framework/*Pro*
/src/*Pro*/
/src/*Pro*
/src/*pro*
/src/*pro*/
/src/ThingsGateway.Web.Entry/.config/
/doc/.*

15
doc/README.md Normal file
View File

@@ -0,0 +1,15 @@
文档基于 [https://www.docusaurus.io/](https://www.docusaurus.io/) 构建。
### 本地运行
```bash
npm install
npm run start
```
### 发布部署
```bash
npm run build
```

16
doc/build/404.html vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

View File

Before

Width:  |  Height:  |  Size: 326 KiB

After

Width:  |  Height:  |  Size: 326 KiB

View File

Before

Width:  |  Height:  |  Size: 172 KiB

After

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 KiB

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkthingsgateway=self.webpackChunkthingsgateway||[]).push([[488],{8971:(t,e,a)=>{a.r(e),a.d(e,{assets:()=>o,contentTitle:()=>d,default:()=>u,frontMatter:()=>i,metadata:()=>l,toc:()=>r});var s=a(7462),n=(a(7294),a(3905));a(4996),a(510),a(2969);const i={id:1002,title:"\u8054\u7cfb\u6211\u4eec"},d=void 0,l={unversionedId:"1002",id:"1002",title:"\u8054\u7cfb\u6211\u4eec",description:"ThingsGateway\u56e2\u961f\u6210\u7acb1\u5e74\u6765\u4e00\u76f4\u81f4\u529b\u4e8e\u5de5\u4e1a\u7269\u8054\u7f51\u5173\u89e3\u51b3\u65b9\u6848\u3002\u6211\u4eec\u7684\u521d\u8877\u662f\u4f7f\u8bbe\u5907\u63a5\u5165\u66f4\u7b80\u5355\uff0c\u4e3a\u7528\u6237\u6253\u9020\u63d0\u9ad8\u6548\u7387\u7684\u4ea7\u54c1\u3002",source:"@site/docs/1002.mdx",sourceDirName:".",slug:"/1002",permalink:"/thingsgateway-docs/docs/1002",draft:!1,editUrl:"https://gitee.com/diego2098/ThingsGateway/tree/master/doc/docs/1002.mdx",tags:[],version:"current",lastUpdatedBy:"Kimdiego2098",lastUpdatedAt:1705822711,formattedLastUpdatedAt:"Jan 21, 2024",frontMatter:{id:"1002",title:"\u8054\u7cfb\u6211\u4eec"},sidebar:"docs",previous:{title:"Dlt645",permalink:"/thingsgateway-docs/docs/20005"},next:{title:"\u8d5e\u52a9\u9879\u76ee",permalink:"/thingsgateway-docs/docs/1000"}},o={},r=[{value:"\u6280\u672f\u652f\u6301",id:"\u6280\u672f\u652f\u6301",level:3},{value:"\u54a8\u8be2\u3001\u5408\u4f5c",id:"\u54a8\u8be2\u5408\u4f5c",level:3}],p={toc:r},c="wrapper";function u(t){let{components:e,...a}=t;return(0,n.kt)(c,(0,s.Z)({},p,a,{components:e,mdxType:"MDXLayout"}),(0,n.kt)("p",null,(0,n.kt)("strong",{parentName:"p"},"ThingsGateway\u56e2\u961f"),"\u6210\u7acb1\u5e74\u6765\u4e00\u76f4\u81f4\u529b\u4e8e\u5de5\u4e1a\u7269\u8054\u7f51\u5173\u89e3\u51b3\u65b9\u6848\u3002\u6211\u4eec\u7684\u521d\u8877\u662f\u4f7f\u8bbe\u5907\u63a5\u5165\u66f4\u7b80\u5355\uff0c\u4e3a\u7528\u6237\u6253\u9020\u63d0\u9ad8\u6548\u7387\u7684\u4ea7\u54c1\u3002"),(0,n.kt)("p",null,"\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u627e\u5230\u6211\u4eec\uff1a"),(0,n.kt)("h3",{id:"\u6280\u672f\u652f\u6301"},"\u6280\u672f\u652f\u6301"),(0,n.kt)("p",null,"QQ\u7fa4\uff1a605534569"),(0,n.kt)("p",null,"QQ\uff1a2248356998"),(0,n.kt)("h3",{id:"\u54a8\u8be2\u5408\u4f5c"},"\u54a8\u8be2\u3001\u5408\u4f5c"),(0,n.kt)("p",null,"\u624b\u673a\uff1a15622119120 \u6797\u5de5"),(0,n.kt)("p",null,"\u5fae\u4fe1\uff1a15622119120"))}u.isMDXComponent=!0}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkthingsgateway=self.webpackChunkthingsgateway||[]).push([[6866],{6118:(t,e,a)=>{a.r(e),a.d(e,{assets:()=>p,contentTitle:()=>d,default:()=>c,frontMatter:()=>s,metadata:()=>o,toc:()=>r});var i=a(7462),n=(a(7294),a(3905));a(4996),a(510),a(2969);const s={id:101,title:"\u63d2\u4ef6\u7ba1\u7406"},d=void 0,o={unversionedId:"101",id:"101",title:"\u63d2\u4ef6\u7ba1\u7406",description:"\u66f4\u6539\u8bbe\u5907/\u53d8\u91cf/\u63d2\u4ef6\u7b49\uff0c\u9700\u8981\u91cd\u542f\u540e\u53f0(\u53f3\u4e0a\u89d2\u91cd\u542f\u540e\u53f0\u6309\u94ae)",source:"@site/docs/101.mdx",sourceDirName:".",slug:"/101",permalink:"/thingsgateway-docs/docs/101",draft:!1,editUrl:"https://gitee.com/diego2098/ThingsGateway/tree/master/doc/docs/101.mdx",tags:[],version:"current",lastUpdatedBy:"Kimdiego2098",lastUpdatedAt:1705822711,formattedLastUpdatedAt:"Jan 21, 2024",frontMatter:{id:"101",title:"\u63d2\u4ef6\u7ba1\u7406"},sidebar:"docs",previous:{title:"\u9a71\u52a8\u8c03\u8bd5",permalink:"/thingsgateway-docs/docs/100"},next:{title:"\u901a\u9053",permalink:"/thingsgateway-docs/docs/102"}},p={},r=[{value:"\u4e00\u3001\u8bf4\u660e",id:"\u4e00\u8bf4\u660e",level:2},{value:"\u4e8c\u3001\u4e0a\u4f20\u63d2\u4ef6",id:"\u4e8c\u4e0a\u4f20\u63d2\u4ef6",level:2},{value:"\u4e8c\u3001\u624b\u52a8\u91cd\u8f7d\u63d2\u4ef6",id:"\u4e8c\u624b\u52a8\u91cd\u8f7d\u63d2\u4ef6",level:2}],l={toc:r},m="wrapper";function c(t){let{components:e,...s}=t;return(0,n.kt)(m,(0,i.Z)({},l,s,{components:e,mdxType:"MDXLayout"}),(0,n.kt)("admonition",{type:"tip"},(0,n.kt)("mdxAdmonitionTitle",{parentName:"admonition"},(0,n.kt)("inlineCode",{parentName:"mdxAdmonitionTitle"},"\u914d\u7f6e\u987b\u77e5")),(0,n.kt)("p",{parentName:"admonition"}," \u66f4\u6539\u8bbe\u5907/\u53d8\u91cf/\u63d2\u4ef6\u7b49\uff0c\u9700\u8981\u91cd\u542f\u540e\u53f0(\u53f3\u4e0a\u89d2\u91cd\u542f\u540e\u53f0\u6309\u94ae)")),(0,n.kt)("h2",{id:"\u4e00\u8bf4\u660e"},"\u4e00\u3001\u8bf4\u660e"),(0,n.kt)("p",null,(0,n.kt)("strong",{parentName:"p"},"ThingsGateway")," \u7f51\u5173\u6838\u5fc3\u4ee3\u7801\u90fd\u7531\u63d2\u4ef6\u5b8c\u6210\uff0c\u4e3b\u7a0b\u5e8f\u53ea\u8d1f\u8d23\u8c03\u5ea6\u6267\u884c"),(0,n.kt)("p",null,"\u63d2\u4ef6\u652f\u6301\u70ed\u91cd\u8f7d\uff0c\u53ef\u7531\u5916\u90e8\u4e0a\u4f20\u5230\u7f51\u5173\u4e2d"),(0,n.kt)("h2",{id:"\u4e8c\u4e0a\u4f20\u63d2\u4ef6"},"\u4e8c\u3001\u4e0a\u4f20\u63d2\u4ef6"),(0,n.kt)("img",{src:a(5808).Z}),(0,n.kt)("h2",{id:"\u4e8c\u624b\u52a8\u91cd\u8f7d\u63d2\u4ef6"},"\u4e8c\u3001\u624b\u52a8\u91cd\u8f7d\u63d2\u4ef6"),(0,n.kt)("img",{src:a(7429).Z}),(0,n.kt)("p",null,"\u53ef\u7531\u9876\u90e8\u6309\u94ae\u6216\u8005\u63d2\u4ef6\u7ba1\u7406\u9875\u9762\u6309\u94ae\u6267\u884c\u624b\u52a8\u91cd\u8f7d"),(0,n.kt)("admonition",{title:"\u63d0\u793a",type:"tip"},(0,n.kt)("p",{parentName:"admonition"},"\u63d2\u4ef6\u91cd\u65b0\u68c0\u6d4b\u6587\u4ef6\u540e\uff0c\u8fd0\u884c\u6001\u7684\u63d2\u4ef6\u4e0d\u4f1a\u53d1\u9001\u4efb\u4f55\u6539\u53d8\uff0c\u5982\u679c\u7acb\u5373\u751f\u6548\uff0c\u8bf7\u6309\u53f3\u4e0a\u89d2\u7684\u91cd\u542f\u540e\u53f0\u6309\u94ae")))}c.isMDXComponent=!0},5808:(t,e,a)=>{a.d(e,{Z:()=>i});const i=a.p+"assets/images/\u4e0a\u4f20\u63d2\u4ef6-7b2abd69100f1f9c579e6a52749be97c.png"},7429:(t,e,a)=>{a.d(e,{Z:()=>i});const i=a.p+"assets/images/\u91cd\u8f7d\u63d2\u4ef6-e5f135b68555aaa0d540b3919a3b83b4.png"}}]);

File diff suppressed because one or more lines are too long

1
doc/build/assets/js/1752.95cb0f0d.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkthingsgateway=self.webpackChunkthingsgateway||[]).push([[7920],{2027:(e,t,a)=>{a.r(t),a.d(t,{default:()=>$});var r=a(7294),n=a(2263),l=a(179),s=a(5742),c=a(9960),u=a(5999);const o=["zero","one","two","few","many","other"];function m(e){return o.filter((t=>e.includes(t)))}const h={locale:"en",pluralForms:m(["one","other"]),select:e=>1===e?"one":"other"};function i(){const{i18n:{currentLocale:e}}=(0,n.Z)();return(0,r.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:m(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),h}}),[e])}function p(){const e=i();return{selectMessage:(t,a)=>function(e,t,a){const r=e.split("|");if(1===r.length)return r[0];r.length>a.pluralForms.length&&console.error(`For locale=${a.locale}, a maximum of ${a.pluralForms.length} plural forms are expected (${a.pluralForms.join(",")}), but the message contains ${r.length}: ${e}`);const n=a.select(t),l=a.pluralForms.indexOf(n);return r[Math.min(l,r.length-1)]}(a,t,e)}}var g=a(6550),d=a(412);const f=function(){const e=(0,g.k6)(),t=(0,g.TH)(),{siteConfig:{baseUrl:a}}=(0,n.Z)(),r=d.Z.canUseDOM?new URLSearchParams(t.search):null,l=r?.get("q")||"",s=r?.get("ctx")||"",c=r?.get("version")||"",u=e=>{const a=new URLSearchParams(t.search);return e?a.set("q",e):a.delete("q"),a};return{searchValue:l,searchContext:s,searchVersion:c,updateSearchPath:t=>{const a=u(t);e.replace({search:a.toString()})},generateSearchPageLink:e=>{const t=u(e);return`${a}search?${t.toString()}`}}};var y=a(22),E=a(8202),S=a(2539),I=a(726),w=a(1073),R=a(311),P=a(3926),b=a(1029);const v={searchQueryInput:"searchQueryInput_CFBF",searchResultItem:"searchResultItem_U687",searchResultItemPath:"searchResultItemPath_uIbk",searchResultItemSummary:"searchResultItemSummary_oZHr"};function F(){const{siteConfig:{baseUrl:e}}=(0,n.Z)(),{selectMessage:t}=p(),{searchValue:a,searchContext:l,searchVersion:c,updateSearchPath:o}=f(),[m,h]=(0,r.useState)(a),[i,g]=(0,r.useState)(),[d,S]=(0,r.useState)(),I=`${e}${c}`,w=(0,r.useMemo)((()=>m?(0,u.I)({id:"theme.SearchPage.existingResultsTitle",message:'Search results for "{query}"',description:"The search page title for non-empty query"},{query:m}):(0,u.I)({id:"theme.SearchPage.emptyResultsTitle",message:"Search the documentation",description:"The search page title for empty query"})),[m]);(0,r.useEffect)((()=>{o(m),i&&(m?i(m,(e=>{S(e)})):S(void 0))}),[m,i]);const P=(0,r.useCallback)((e=>{h(e.target.value)}),[]);return(0,r.useEffect)((()=>{a&&a!==m&&h(a)}),[a]),(0,r.useEffect)((()=>{!async function(){const{wrappedIndexes:e,zhDictionary:t}=await(0,y.w)(I,l);g((()=>(0,E.v)(e,t,100)))}()}),[l,I]),r.createElement(r.Fragment,null,r.createElement(s.Z,null,r.createElement("meta",{property:"robots",content:"noindex, follow"}),r.createElement("title",null,w)),r.createElement("div",{className:"container margin-vert--lg"},r.createElement("h1",null,w),r.createElement("input",{type:"search",name:"q",className:v.searchQueryInput,"aria-label":"Search",onChange:P,value:m,autoComplete:"off",autoFocus:!0}),!i&&m&&r.createElement("div",null,r.createElement(R.Z,null)),d&&(d.length>0?r.createElement("p",null,t(d.length,(0,u.I)({id:"theme.SearchPage.documentsFound.plurals",message:"1 document found|{count} documents found",description:'Pluralized label for "{count} documents found". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)'},{count:d.length}))):r.createElement("p",null,(0,u.I)({id:"theme.SearchPage.noResultsText",message:"No documents were found",description:"The paragraph for empty search result"}))),r.createElement("section",null,d&&d.map((e=>r.createElement(C,{key:e.document.i,searchResult:e}))))))}function C(e){let{searchResult:{document:t,type:a,page:n,tokens:l,metadata:s}}=e;const u=0===a,o=2===a,m=(u?t.b:n.b).slice(),h=o?t.s:t.t;u||m.push(n.t);let i="";if(b.vc&&l.length>0){const e=new URLSearchParams;for(const t of l)e.append("_highlight",t);i=`?${e.toString()}`}return r.createElement("article",{className:v.searchResultItem},r.createElement("h2",null,r.createElement(c.Z,{to:t.u+i+(t.h||""),dangerouslySetInnerHTML:{__html:o?(0,S.C)(h,l):(0,I.o)(h,(0,w.m)(s,"t"),l,100)}})),m.length>0&&r.createElement("p",{className:v.searchResultItemPath},(0,P.e)(m)),o&&r.createElement("p",{className:v.searchResultItemSummary,dangerouslySetInnerHTML:{__html:(0,I.o)(t.t,(0,w.m)(s,"t"),l,100)}}))}const $=function(){return r.createElement(l.Z,null,r.createElement(F,null))}}}]);

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More