首次提交
This commit is contained in:
2
tf/js/10.a7526d77.js
Normal file
2
tf/js/10.a7526d77.js
Normal file
File diff suppressed because one or more lines are too long
1
tf/js/10.a7526d77.js.map
Normal file
1
tf/js/10.a7526d77.js.map
Normal file
File diff suppressed because one or more lines are too long
2
tf/js/5.d5ab67fb.js
Normal file
2
tf/js/5.d5ab67fb.js
Normal file
File diff suppressed because one or more lines are too long
1
tf/js/5.d5ab67fb.js.map
Normal file
1
tf/js/5.d5ab67fb.js.map
Normal file
File diff suppressed because one or more lines are too long
2
tf/js/517.3e8819a5.js
Normal file
2
tf/js/517.3e8819a5.js
Normal file
File diff suppressed because one or more lines are too long
1
tf/js/517.3e8819a5.js.map
Normal file
1
tf/js/517.3e8819a5.js.map
Normal file
File diff suppressed because one or more lines are too long
274
tf/js/600.01a8c0fe.js
Normal file
274
tf/js/600.01a8c0fe.js
Normal file
File diff suppressed because one or more lines are too long
1
tf/js/600.01a8c0fe.js.map
Normal file
1
tf/js/600.01a8c0fe.js.map
Normal file
File diff suppressed because one or more lines are too long
9
tf/js/617.8f7128a4.js
Normal file
9
tf/js/617.8f7128a4.js
Normal file
File diff suppressed because one or more lines are too long
1
tf/js/617.8f7128a4.js.map
Normal file
1
tf/js/617.8f7128a4.js.map
Normal file
File diff suppressed because one or more lines are too long
43
tf/js/705.cba30c55.js
Normal file
43
tf/js/705.cba30c55.js
Normal file
File diff suppressed because one or more lines are too long
1
tf/js/705.cba30c55.js.map
Normal file
1
tf/js/705.cba30c55.js.map
Normal file
File diff suppressed because one or more lines are too long
2
tf/js/721.416ca526.js
Normal file
2
tf/js/721.416ca526.js
Normal file
File diff suppressed because one or more lines are too long
1
tf/js/721.416ca526.js.map
Normal file
1
tf/js/721.416ca526.js.map
Normal file
File diff suppressed because one or more lines are too long
2
tf/js/821.12265a4d.js
Normal file
2
tf/js/821.12265a4d.js
Normal file
@@ -0,0 +1,2 @@
|
||||
"use strict";(self["webpackChunk_object_Object_"]=self["webpackChunk_object_Object_"]||[]).push([[821],{55821:function(e,n,i){i.r(n),i.d(n,{default:function(){return b}});var t=i(73396);const a={class:"manual-view"},r={class:"editor-wrapper editor-wrapper-view"},l={ref:"container",class:"editor-container"};function o(e,n,i,o,s,u){const g=(0,t.up)("am-outline"),c=(0,t.up)("am-loading");return(0,t.wg)(),(0,t.iD)("div",a,[(0,t.Wm)(c,{loading:e.loading},{default:(0,t.w5)((()=>[(0,t._)("div",r,[!e.isMobile&&e.engine?((0,t.wg)(),(0,t.j4)(g,{key:0,engine:e.engine},null,8,["engine"])):(0,t.kq)("",!0),(0,t._)("div",l,null,512),!e.isMobile&&e.engine?((0,t.wg)(),(0,t.j4)(g,{key:1,engine:e.engine},null,8,["engine"])):(0,t.kq)("",!0)])])),_:1},8,["loading"])])}var s=i(44870),u=i(83438),g=i(43629),c=i(43693),d=i(93654),v=i(657),f=i(42024);const m=v.Gr.filter((e=>e.pluginName.indexOf("uploader")<0&&["mark-range"].indexOf(e.pluginName)<0));var p=(0,t.aZ)({name:"manual-view",components:{AmLoading:c.Z,AmOutline:d.Z},setup(){const e=(0,s.iH)(null),n=(0,s.iH)(null),i=((0,s.iH)([]),(0,s.iH)(!0));return(0,t.bv)((()=>{if(e.value){const t=new g.G7(e.value,{plugins:m,cards:v._u,config:{table:{overflow:{maxLeftWidth:()=>0,maxRightWidth:()=>{if(g.tq)return 0;const e=(0,g.$)(".editor-wrapper-view"),n=(0,g.$)(".am-engine-view"),i=e.get()?.getBoundingClientRect(),t=n.get()?.getBoundingClientRect(),a=(i?.width||0)-(t?.width||0);return a<=0?100:a}}}}});t.messageSuccess=e=>{u.ZP.success(e)},t.messageError=e=>{u.ZP.error(e)};const a=(0,f.ZS)()||"<strong>Hello</strong>,This is demo";t.render(a),i.value=!1,n.value=t}})),(0,t.Ah)((()=>{n.value&&n.value.destroy()})),{loading:i,isMobile:g.tq,container:e,engine:n}}}),w=i(40089);const _=(0,w.Z)(p,[["render",o],["__scopeId","data-v-4f12ad5f"]]);var b=_}}]);
|
||||
//# sourceMappingURL=821.12265a4d.js.map
|
||||
1
tf/js/821.12265a4d.js.map
Normal file
1
tf/js/821.12265a4d.js.map
Normal file
File diff suppressed because one or more lines are too long
2
tf/js/898.ac0181fc.js
Normal file
2
tf/js/898.ac0181fc.js
Normal file
File diff suppressed because one or more lines are too long
1
tf/js/898.ac0181fc.js.map
Normal file
1
tf/js/898.ac0181fc.js.map
Normal file
File diff suppressed because one or more lines are too long
2
tf/js/903.f30d1ce1.js
Normal file
2
tf/js/903.f30d1ce1.js
Normal file
File diff suppressed because one or more lines are too long
1
tf/js/903.f30d1ce1.js.map
Normal file
1
tf/js/903.f30d1ce1.js.map
Normal file
File diff suppressed because one or more lines are too long
2
tf/js/945.652d388a.js
Normal file
2
tf/js/945.652d388a.js
Normal file
File diff suppressed because one or more lines are too long
1
tf/js/945.652d388a.js.map
Normal file
1
tf/js/945.652d388a.js.map
Normal file
File diff suppressed because one or more lines are too long
2
tf/js/app.2f2be7ac.js
Normal file
2
tf/js/app.2f2be7ac.js
Normal file
File diff suppressed because one or more lines are too long
1
tf/js/app.2f2be7ac.js.map
Normal file
1
tf/js/app.2f2be7ac.js.map
Normal file
File diff suppressed because one or more lines are too long
15
tf/js/chunk-vendors.d697cf1d.js
Normal file
15
tf/js/chunk-vendors.d697cf1d.js
Normal file
File diff suppressed because one or more lines are too long
1
tf/js/chunk-vendors.d697cf1d.js.map
Normal file
1
tf/js/chunk-vendors.d697cf1d.js.map
Normal file
File diff suppressed because one or more lines are too long
2
tf/js/editor-edit.7f0f4022.js
Normal file
2
tf/js/editor-edit.7f0f4022.js
Normal file
File diff suppressed because one or more lines are too long
1
tf/js/editor-edit.7f0f4022.js.map
Normal file
1
tf/js/editor-edit.7f0f4022.js.map
Normal file
File diff suppressed because one or more lines are too long
2
tf/js/editor-view.7fddc9c4.js
Normal file
2
tf/js/editor-view.7fddc9c4.js
Normal file
@@ -0,0 +1,2 @@
|
||||
"use strict";(self["webpackChunk_object_Object_"]=self["webpackChunk_object_Object_"]||[]).push([[139],{63591:function(e,a,t){t.r(a),t.d(a,{default:function(){return k}});var n=t(73396);const l={class:"editor-wrapper editor-wrapper-view"},i={class:"editor-container"},r={class:"editor-content"},u={ref:"container",class:"am-engine-view"};function c(e,a,t,c,s,o){const d=(0,n.up)("manual-article"),v=(0,n.up)("am-outline"),g=(0,n.up)("am-loading");return(0,n.wg)(),(0,n.j4)(g,{loading:e.loading},{default:(0,n.w5)((()=>[(0,n._)("div",l,[(0,n._)("div",i,[(0,n._)("div",r,[!e.isMobile&&e.engine?((0,n.wg)(),(0,n.j4)(d,{key:0,list:e.listData,onChange:e.handleChange},null,8,["list","onChange"])):(0,n.kq)("",!0),(0,n._)("div",u,null,512),!e.isMobile&&e.engine?((0,n.wg)(),(0,n.j4)(v,{key:1,engine:e.engine},null,8,["engine"])):(0,n.kq)("",!0)])])])])),_:1},8,["loading"])}var s=t(44870),o=t(83438),d=t(43629),v=t(43693),g=t(93654),p=t(24607),h=t(657),f=t(22483),m=t(8286);const w=h.Gr.filter((e=>e.pluginName.indexOf("uploader")<0&&["mark-range"].indexOf(e.pluginName)<0));var y=(0,n.aZ)({name:"engine-view",components:{AmLoading:v.Z,AmOutline:g.Z,ManualArticle:p.Z},setup(){const e=(0,s.iH)(null),a=(0,s.iH)(null),t=(0,s.iH)(!0),l=(0,s.iH)(),i=(0,s.iH)(),r=(0,s.iH)([]);(0,n.YP)([()=>l.value],(()=>v())),(0,n.YP)([()=>i.value,()=>r.value],(()=>g())),(0,n.bv)((()=>{const e=(0,f.yj)();e&&e.query&&(l.value=Number(e.query.id),i.value=Number(e.query.articleId))}));const u=n=>{if(e.value){a.value&&a.value.destroy();const l=new d.G7(e.value,{plugins:w,cards:h._u,config:{table:{overflow:{maxLeftWidth:()=>0,maxRightWidth:()=>{if(d.tq)return 0;const e=(0,d.$)(".editor-wrapper-view"),a=(0,d.$)(".am-engine-view"),t=e.get()?.getBoundingClientRect(),n=a.get()?.getBoundingClientRect(),l=(t?.width||0)-(n?.width||0);return l<=0?100:l}}}}});l.messageSuccess=e=>{o.ZP.success(e)},l.messageError=e=>{o.ZP.error(e)},l.render(n),t.value=!1,a.value=l}};(0,n.Ah)((()=>{a.value&&a.value.destroy()}));const c=e=>{i.value=e},v=async()=>{if(l.value){const e=await(0,m.GX)(l.value);r.value=e||[]}},g=()=>{const e=r.value.find((e=>e.id===i.value)),a=e?.content||"";u(a)};return{loading:t,isMobile:d.tq,container:e,engine:a,listData:r,handleChange:c,getManualArticleList:v}}}),_=t(40089);const b=(0,_.Z)(y,[["render",c],["__scopeId","data-v-3587986c"]]);var k=b},24607:function(e,a,t){t.d(a,{Z:function(){return y}});var n=t(73396),l=t(87139);const i=e=>((0,n.dD)("data-v-3f66adee"),e=e(),(0,n.Cn)(),e),r={class:"manual-article"},u=i((()=>(0,n._)("h2",null,"手册目录",-1))),c={class:"article-tree"},s={key:0,style:{color:"#1890ff"}};function o(e,a,t,i,o,d){const v=(0,n.up)("InputSearch"),g=(0,n.up)("Tree");return(0,n.wg)(),(0,n.iD)("div",r,[u,(0,n.Wm)(v,{value:e.searchValue,"onUpdate:value":a[0]||(a[0]=a=>e.searchValue=a),placeholder:"请输入搜索内容","enter-button":"",onSearch:e.handleSearch},null,8,["value","onSearch"]),(0,n._)("div",c,[(0,n.Wm)(g,{selectedKeys:e.selectedKeys,"onUpdate:selectedKeys":a[1]||(a[1]=a=>e.selectedKeys=a),"tree-data":e.treeData,onSelect:e.selectArticle,fieldNames:{key:"id"}},{title:(0,n.w5)((({title:e,key:a})=>["0-0-1-0"===a?((0,n.wg)(),(0,n.iD)("span",s,(0,l.zw)(e),1)):((0,n.wg)(),(0,n.iD)(n.HY,{key:1},[(0,n.Uk)((0,l.zw)(e),1)],64))])),_:1},8,["selectedKeys","tree-data","onSelect"])])])}var d=t(44870),v=t(89044),g=t(185),p=t(22483),h=t(42024),f=(0,n.aZ)({name:"manual-article",components:{InputSearch:v.Z,Tree:g.ZP},props:["list"],emits:["change"],setup(e,{emit:a}){const t=(0,p.yj)(),l=(0,d.iH)(""),i=(0,d.iH)([]),r=(0,d.iH)([]),u=(0,d.iH)([]);(0,n.YP)((()=>e.list),(e=>c(e))),(0,n.bv)((()=>{if(t.query&&t.query.id&&t.query.articleId){const e=Number(t.query.articleId);u.value=[e]}}));const c=e=>{i.value=e,r.value=(0,h.OH)(e,"parentId")},s=e=>{const a=(0,d.IU)(i.value).filter((a=>a.title.toLowerCase().indexOf(e.toLowerCase())>=0));r.value=(0,h.OH)(a,"parentId")},o=e=>{a("change",e[0])};return{searchValue:l,treeData:r,selectedKeys:u,handleSearch:s,selectArticle:o}}}),m=t(40089);const w=(0,m.Z)(f,[["render",o],["__scopeId","data-v-3f66adee"]]);var y=w}}]);
|
||||
//# sourceMappingURL=editor-view.7fddc9c4.js.map
|
||||
1
tf/js/editor-view.7fddc9c4.js.map
Normal file
1
tf/js/editor-view.7fddc9c4.js.map
Normal file
File diff suppressed because one or more lines are too long
2
tf/js/editor.512a6323.js
Normal file
2
tf/js/editor.512a6323.js
Normal file
@@ -0,0 +1,2 @@
|
||||
"use strict";(self["webpackChunk_object_Object_"]=self["webpackChunk_object_Object_"]||[]).push([[189],{79927:function(t,e,n){n.r(e),n.d(e,{default:function(){return l}});var c=n(73396);const r={class:"editor"};function o(t,e,n,o,i,a){const u=(0,c.up)("Button");return(0,c.wg)(),(0,c.iD)("div",r,[(0,c.Wm)(u,{type:"primary",onClick:e[0]||(e[0]=e=>t.handleClick("/editor/edit"))},{default:(0,c.w5)((()=>[(0,c.Uk)("编辑")])),_:1}),(0,c.Wm)(u,{type:"primary",onClick:e[1]||(e[1]=e=>t.handleClick("/editor/view"))},{default:(0,c.w5)((()=>[(0,c.Uk)("阅读")])),_:1})])}n(57658);var i=n(30898),a=n(22483),u=(0,c.aZ)({name:"editor",components:{Button:i.Z},setup(){const t=(0,a.tv)(),e=e=>{t.push(e)};return{handleClick:e}}}),d=n(40089);const s=(0,d.Z)(u,[["render",o],["__scopeId","data-v-4e8bd339"]]);var l=s}}]);
|
||||
//# sourceMappingURL=editor.512a6323.js.map
|
||||
1
tf/js/editor.512a6323.js.map
Normal file
1
tf/js/editor.512a6323.js.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"js/editor.512a6323.js","mappings":"0LAEA,MACMA,EAAa,CAAEC,MAAO,UAEtB,SAAUC,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,MAAMC,GAAoBC,EAAAA,EAAAA,IAAkB,UAE5C,OAAQC,EAAAA,EAAAA,OAAcC,EAAAA,EAAAA,IAAoB,MAAOZ,EAAY,EAC3Da,EAAAA,EAAAA,IAAaJ,EAAmB,CAC9BK,KAAM,UACNC,QAASX,EAAO,KAAOA,EAAO,GAAMY,GAAiBb,EAAKc,YAAY,kBACrE,CACDC,SAASC,EAAAA,EAAAA,KAAS,IAAM,EACtBC,EAAAA,EAAAA,IAAiB,SAEnBC,EAAG,KAELR,EAAAA,EAAAA,IAAaJ,EAAmB,CAC9BK,KAAM,UACNC,QAASX,EAAO,KAAOA,EAAO,GAAMY,GAAiBb,EAAKc,YAAY,kBACrE,CACDC,SAASC,EAAAA,EAAAA,KAAS,IAAM,EACtBC,EAAAA,EAAAA,IAAiB,SAEnBC,EAAG,KAGT,C,mCCvBA,GAAeC,EAAAA,EAAAA,IAAgB,CAC7BC,KAAM,SACNC,WAAY,CAAEC,OAAMA,EAAAA,GACpBC,KAAAA,GACE,MAAMC,GAASC,EAAAA,EAAAA,MAETX,EAAeY,IACnBF,EAAOG,KAAKD,EAAI,EAGlB,MAAO,CAAEZ,cACX,I,WCTF,MAAMc,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAAS7B,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://[object Object]-/./src/views/editor/index.vue?0d15","webpack://[object Object]-/./src/views/editor/index.vue?19ff","webpack://[object Object]-/./src/views/editor/index.vue"],"sourcesContent":["import { createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4e8bd339\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"editor\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Button = _resolveComponent(\"Button\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_Button, {\n type: \"primary\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.handleClick('/editor/edit')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"编辑\")\n ]),\n _: 1\n }),\n _createVNode(_component_Button, {\n type: \"primary\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.handleClick('/editor/view')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"阅读\")\n ]),\n _: 1\n })\n ]))\n}","\nimport { defineComponent } from 'vue';\nimport { Button } from 'ant-design-vue';\nimport { useRouter } from 'vue-router'\n\nexport default defineComponent({\n name: 'editor',\n components: { Button },\n setup() {\n const router = useRouter();\n\n const handleClick = (url: string) => {\n router.push(url);\n };\n\n return { handleClick };\n }\n});\n","import { render } from \"./index.vue?vue&type=template&id=4e8bd339&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=4e8bd339&lang=less&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4e8bd339\"]])\n\nexport default __exports__"],"names":["_hoisted_1","class","render","_ctx","_cache","$props","$setup","$data","$options","_component_Button","_resolveComponent","_openBlock","_createElementBlock","_createVNode","type","onClick","$event","handleClick","default","_withCtx","_createTextVNode","_","defineComponent","name","components","Button","setup","router","useRouter","url","push","__exports__"],"sourceRoot":""}
|
||||
Reference in New Issue
Block a user