iking-web-ui-pro 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/dist/Demo/index.es.js +13 -0
  2. package/dist/Demo/index.umd.js +1 -0
  3. package/dist/Demo/package.json +7 -0
  4. package/dist/IKApprovalProcess/index.es.js +13026 -0
  5. package/dist/IKApprovalProcess/index.umd.js +32 -0
  6. package/dist/IKApprovalProcess/package.json +7 -0
  7. package/dist/IKApprovalProcess/style.css +7 -0
  8. package/dist/IKApprovalProcessDetail/index.es.js +630 -0
  9. package/dist/IKApprovalProcessDetail/index.umd.js +1 -0
  10. package/dist/IKApprovalProcessDetail/package.json +7 -0
  11. package/dist/IKApprovalProcessDetail/style.css +1 -0
  12. package/dist/IKCalendar/index.es.js +22495 -0
  13. package/dist/IKCalendar/index.umd.js +32 -0
  14. package/dist/IKCalendar/package.json +7 -0
  15. package/dist/IKCalendar/style.css +7 -0
  16. package/dist/IKDescription/index.es.js +105 -0
  17. package/dist/IKDescription/index.umd.js +1 -0
  18. package/dist/IKDescription/style.css +1 -0
  19. package/dist/IKDetailPreviewFiles/index.es.js +1599 -0
  20. package/dist/IKDetailPreviewFiles/index.umd.js +1 -0
  21. package/dist/IKDetailPreviewFiles/style.css +1 -0
  22. package/dist/IKExpandCollapse/index.es.js +1388 -0
  23. package/dist/IKExpandCollapse/index.umd.js +1 -0
  24. package/dist/IKExpandCollapse/style.css +1 -0
  25. package/dist/IKHorizontalStepBar/index.es.js +251 -0
  26. package/dist/IKHorizontalStepBar/index.umd.js +1 -0
  27. package/dist/IKHorizontalStepBar/package.json +7 -0
  28. package/dist/IKHorizontalStepBar/style.css +1 -0
  29. package/dist/IKPreviewFile/index.es.js +108 -0
  30. package/dist/IKPreviewFile/index.umd.js +1 -0
  31. package/dist/IKPreviewFile/style.css +1 -0
  32. package/dist/IKSearch/index.es.js +13406 -0
  33. package/dist/IKSearch/index.umd.js +57 -0
  34. package/dist/IKSearch/package.json +7 -0
  35. package/dist/IKSearch/style.css +7 -0
  36. package/dist/IKSearchHead/index.es.js +116 -0
  37. package/dist/IKSearchHead/index.umd.js +1 -0
  38. package/dist/IKSearchHead/package.json +7 -0
  39. package/dist/IKSearchHead/style.css +1 -0
  40. package/dist/IKVerticalStepBar/index.es.js +1481 -0
  41. package/dist/IKVerticalStepBar/index.umd.js +9 -0
  42. package/dist/IKVerticalStepBar/package.json +7 -0
  43. package/dist/IKVerticalStepBar/style.css +1 -0
  44. package/dist/IkBottomOperate/index.es.js +210 -0
  45. package/dist/IkBottomOperate/index.umd.js +1 -0
  46. package/dist/IkBottomOperate/style.css +1 -0
  47. package/dist/IkBtnContent/index.es.js +101 -0
  48. package/dist/IkBtnContent/index.umd.js +1 -0
  49. package/dist/IkBtnContent/style.css +1 -0
  50. package/dist/IkBtnSetting/index.es.js +12854 -0
  51. package/dist/IkBtnSetting/index.umd.js +32 -0
  52. package/dist/IkBtnSetting/style.css +7 -0
  53. package/dist/IkDragList/index.es.js +11071 -0
  54. package/dist/IkDragList/index.umd.js +32 -0
  55. package/dist/IkDragList/style.css +7 -0
  56. package/dist/IkFullCalendar/index.es.js +20327 -0
  57. package/dist/IkFullCalendar/index.umd.js +32 -0
  58. package/dist/IkFullCalendar/style.css +7 -0
  59. package/dist/IkIconPicker/index.es.js +13693 -0
  60. package/dist/IkIconPicker/index.umd.js +32 -0
  61. package/dist/IkIconPicker/style.css +7 -0
  62. package/dist/IkOnlyOffice/index.es.js +393 -0
  63. package/dist/IkOnlyOffice/index.umd.js +1 -0
  64. package/dist/IkOnlyOffice/style.css +0 -0
  65. package/dist/IkPageFull/index.es.js +15725 -0
  66. package/dist/IkPageFull/index.umd.js +48 -0
  67. package/dist/IkPageFull/style.css +7 -0
  68. package/dist/IkPageTabs/index.es.js +135 -0
  69. package/dist/IkPageTabs/index.umd.js +1 -0
  70. package/dist/IkPageTabs/style.css +1 -0
  71. package/dist/IkPicker/index.es.js +12629 -0
  72. package/dist/IkPicker/index.umd.js +32 -0
  73. package/dist/IkPicker/style.css +7 -0
  74. package/dist/IkPickerUser/index.es.js +12508 -0
  75. package/dist/IkPickerUser/index.umd.js +32 -0
  76. package/dist/IkPickerUser/style.css +7 -0
  77. package/dist/IkPrintConfig/index.es.js +62 -0
  78. package/dist/IkPrintConfig/index.umd.js +1 -0
  79. package/dist/IkPrintView/index.es.js +79 -0
  80. package/dist/IkPrintView/index.umd.js +1 -0
  81. package/dist/IkRadioGroup/index.es.js +75 -0
  82. package/dist/IkRadioGroup/index.umd.js +1 -0
  83. package/dist/IkRadioGroup/style.css +1 -0
  84. package/dist/IkSchedule/index.es.js +22228 -0
  85. package/dist/IkSchedule/index.umd.js +32 -0
  86. package/dist/IkSchedule/style.css +7 -0
  87. package/dist/IkStatu/index.es.js +119 -0
  88. package/dist/IkStatu/index.umd.js +1 -0
  89. package/dist/IkStatu/style.css +1 -0
  90. package/dist/IkSvgIcon/index.es.js +1343 -0
  91. package/dist/IkSvgIcon/index.umd.js +1 -0
  92. package/dist/IkSvgIcon/style.css +1 -0
  93. package/dist/IkTemplateOfficeConfig/index.es.js +805 -0
  94. package/dist/IkTemplateOfficeConfig/index.umd.js +1 -0
  95. package/dist/IkTemplateOfficeConfig/style.css +1 -0
  96. package/dist/IkTooltip/index.es.js +49 -0
  97. package/dist/IkTooltip/index.umd.js +1 -0
  98. package/dist/IkUploadFile/index.es.js +12098 -0
  99. package/dist/IkUploadFile/index.umd.js +32 -0
  100. package/dist/IkUploadFile/style.css +7 -0
  101. package/dist/IkUploadImage/index.es.js +11442 -0
  102. package/dist/IkUploadImage/index.umd.js +32 -0
  103. package/dist/IkUploadImage/style.css +7 -0
  104. package/dist/index.es.js +33843 -0
  105. package/dist/index.umd.js +81 -0
  106. package/dist/style.css +7 -0
  107. package/package.json +66 -0
@@ -0,0 +1 @@
1
+ (function(g,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(g=typeof globalThis<"u"?globalThis:g||self,e(g.index={},g.Vue))})(this,function(g,e){"use strict";const b=(t,n)=>{if(t.install=o=>{for(const a of[t,...Object.values(n??{})])o.component(a.name,a)},n)for(const[o,a]of Object.entries(n))t[o]=a;return t};function O(t,n,o,a){function r(i){return i instanceof o?i:new o(function(s){s(i)})}return new(o||(o=Promise))(function(i,s){function f(h){try{l(a.next(h))}catch(u){s(u)}}function k(h){try{l(a.throw(h))}catch(u){s(u)}}function l(h){h.done?i(h.value):r(h.value).then(f,k)}l((a=a.apply(t,n||[])).next())})}function R(t,n){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,r,i,s;return s={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function f(l){return function(h){return k([l,h])}}function k(l){if(a)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(o=0)),o;)try{if(a=1,r&&(i=l[0]&2?r.return:l[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,l[1])).done)return i;switch(r=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){o=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){o.label=l[1];break}if(l[0]===6&&o.label<i[1]){o.label=i[1],i=l;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(l);break}i[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(t,o)}catch(h){l=[6,h],r=0}finally{a=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var V=function(t,n){return O(void 0,void 0,void 0,function(){return R(this,function(o){return[2,new Promise(function(a,r){try{if(document.getElementById(n)){if(window.DocsAPI)return a(null);var i=setInterval(function(){if(window.DocsAPI)return clearInterval(i),a(null)},500)}else{var s=document.createElement("script");s.setAttribute("type","text/javascript"),s.setAttribute("id",n),s.onload=a,s.onerror=r,s.src=t,s.async=!0,document.body.appendChild(s)}}catch(f){console.error(f)}})]})})},C=e.defineComponent({name:"DocumentEditor",props:{id:{type:String,required:!0},documentServerUrl:{type:String,required:!0},config:{type:Object,required:!0},document_fileType:String,document_title:String,documentType:String,editorConfig_lang:String,height:String,type:String,width:String,onLoadComponentError:Function,events_onAppReady:Function,events_onDocumentStateChange:Function,events_onMetaChange:Function,events_onDocumentReady:Function,events_onInfo:Function,events_onWarning:Function,events_onError:Function,events_onRequestSharingSettings:Function,events_onRequestRename:Function,events_onMakeActionLink:Function,events_onRequestInsertImage:Function,events_onRequestSaveAs:Function,events_onRequestMailMergeRecipients:Function,events_onRequestCompareFile:Function,events_onRequestEditRights:Function,events_onRequestHistory:Function,events_onRequestHistoryClose:Function,events_onRequestHistoryData:Function,events_onRequestRestore:Function},mounted:function(){var t=this,n=this.documentServerUrl;n.endsWith("/")||(n+="/");var o="".concat(n,"web-apps/apps/api/documents/api.js");V(o,"onlyoffice-api-script").then(function(){return t.onLoad()}).catch(function(){t.onError(-2)})},unmounted:function(){var t,n=this.id||"";!((t=window==null?void 0:window.DocEditor)===null||t===void 0)&&t.instances[n]&&(window.DocEditor.instances[n].destroyEditor(),window.DocEditor.instances[n]=void 0)},watch:{config:{handler:function(t,n){this.onChangeProps()},deep:!0},document_fileType:function(t,n){this.onChangeProps()},document_title:function(t,n){this.onChangeProps()},documentType:function(t,n){this.onChangeProps()},editorConfig_lang:function(t,n){this.onChangeProps()},height:function(t,n){this.onChangeProps()},type:function(t,n){this.onChangeProps()},width:function(t,n){this.onChangeProps()}},methods:{onLoad:function(){var t,n;try{var o=this.id||"";if(window.DocsAPI||this.onError(-3),!((t=window==null?void 0:window.DocEditor)===null||t===void 0)&&t.instances[o]){console.log("Skip loading. Instance already exists",o);return}!((n=window==null?void 0:window.DocEditor)===null||n===void 0)&&n.instances||(window.DocEditor={instances:{}});var a=Object.assign({document:{fileType:this.document_fileType,title:this.document_title},documentType:this.documentType,editorConfig:{lang:this.editorConfig_lang},events:{onAppReady:this.onAppReady,onDocumentStateChange:this.events_onDocumentStateChange,onMetaChange:this.events_onMetaChange,onDocumentReady:this.events_onDocumentReady,onInfo:this.events_onInfo,onWarning:this.events_onWarning,onError:this.events_onError,onRequestSharingSettings:this.events_onRequestSharingSettings,onRequestRename:this.events_onRequestRename,onMakeActionLink:this.events_onMakeActionLink,onRequestInsertImage:this.events_onRequestInsertImage,onRequestSaveAs:this.events_onRequestSaveAs,onRequestMailMergeRecipients:this.events_onRequestMailMergeRecipients,onRequestCompareFile:this.events_onRequestCompareFile,onRequestEditRights:this.events_onRequestEditRights,onRequestHistory:this.events_onRequestHistory,onRequestHistoryClose:this.events_onRequestHistoryClose,onRequestHistoryData:this.events_onRequestHistoryData,onRequestRestore:this.events_onRequestRestore},height:this.height,type:this.type,width:this.width},this.config||{}),r=window.DocsAPI.DocEditor(o,a);window.DocEditor.instances[o]=r}catch(i){console.error(i),this.onError(-1)}},onError:function(t){var n;switch(t){case-2:n="Error load DocsAPI from "+this.documentServerUrl;break;case-3:n="DocsAPI is not defined";break;default:n="Unknown error loading component",t=-1}typeof this.onLoadComponentError>"u"?console.error(n):this.onLoadComponentError(t,n)},onAppReady:function(){var t=this.id||"";this.events_onAppReady(window.DocEditor.instances[t])},onChangeProps:function(){var t,n=this.id||"";!((t=window==null?void 0:window.DocEditor)===null||t===void 0)&&t.instances[n]&&(window.DocEditor.instances[n].destroyEditor(),window.DocEditor.instances[n]=void 0,console.log("Important props have been changed. Load new Editor."),this.onLoad())}}});const T=["id"];function I(t,n,o,a,r,i){return e.openBlock(),e.createElementBlock("div",{id:t.id},null,8,T)}C.render=I,C.__file="src/components/DocumentEditor.vue";const N=e.defineComponent({__name:"IkOnlyOffice",props:{documentServerUrl:{type:String,default:""},mode:{type:String,default:""},configOptions:{type:Object,default:()=>{}},officeHeight:{type:String,default:"100%"},token:{type:String,default:""}},setup(t){var r,i,s,f;const n=t,o=e.ref({width:"100%",height:"100%",document:(r=n.configOptions)==null?void 0:r.document,documentType:(i=n.configOptions)==null?void 0:i.documentType,editorConfig:{callbackUrl:(f=(s=n.configOptions)==null?void 0:s.editorConfig)==null?void 0:f.callbackUrl,lang:"zh-CN",mode:n.mode,customization:{forcesave:!0,autosave:!0}},permissions:{comment:!0,commentGroups:{edit:["Group1"],remove:["Group1"],view:""},copy:!0,deleteCommentAuthorOnly:!0,download:!0,edit:!0,editCommentAuthorOnly:!0,fillForms:!0,modifyContentControl:!0,modifyFilter:!0,print:!0,review:!0,reviewGroups:["Group1","Group2","Group3"],userInfoGroups:["Group1"]},mode:n.mode,token:n.token}),a=()=>{console.log("文档加载中")};return(k,l)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle({height:n.officeHeight})},[e.createVNode(e.unref(C),{id:`${new Date().getTime()}`,ref:"editorRef","document-server-url":t.documentServerUrl,config:o.value,events_onDocumentReady:a},null,8,["id","document-server-url","config"])],4))}}),ae="",S=(t,n)=>{const o=t.__vccOpts||t;for(const[a,r]of n)o[a]=r;return o},q=b(S(N,[["__scopeId","data-v-58129d20"]])),v=t=>(e.pushScopeId("data-v-af8d674c"),t=t(),e.popScopeId(),t),x={class:"template-data"},F={class:"operate-btn"},A=["onClick"],P=["onClick"],$={class:"m-12 point"},L={class:"flex"},M=["onClick"],U=v(()=>e.createElementVNode("i",{class:"icon-icon_particulars iconfont tips"},null,-1)),j=v(()=>e.createElementVNode("p",null,"鼠标右键选择操作的数据类型",-1)),H={class:"flex data-block"},G={class:"operate-btn"},z=["onClick"],K=["onClick"],W={class:"operate-btn"},J=["onClick"],X=["onClick"],Q=["onClick"],Y=["onClick"],Z=e.defineComponent({__name:"templateOfficeData",props:{data:{type:Array,default:()=>[]},isShowTitleOperate:{type:Boolean,default:!1},isShowContentOperate:{type:Boolean,default:!1},defaultProps:{type:Object,default:()=>{}}},emits:["handleTitleEdit","handleTitleDel","handleGetTitleData","handleDataBlockEdit","handleDataBlockDel","handleChooseDataBlock","handleDifferentTypeDataBlock"],setup(t,{emit:n}){const o=t,a=n,r=d=>{a("handleTitleEdit",d)},i=d=>{a("handleTitleDel",d)},s=d=>{a("handleGetTitleData",d)},f=d=>{a("handleDataBlockEdit",d)},k=d=>{a("handleDataBlockDel",d)},l=(d,y)=>{for(const _ of m.value)_.children.forEach(p=>p.isChoose=!1);y.isChoose=!0,a("handleChooseDataBlock",d,y)},h=(d,y)=>{a("handleDifferentTypeDataBlock",d,y)},u=d=>{let y=d.map(_=>({name:_[o.defaultProps.name],children:_[o.defaultProps.children].map(p=>({childName:p[o.defaultProps.childName],childId:p[o.defaultProps.childId]}))}));m.value=y},m=e.ref(o.data);return e.watch(()=>o.data,d=>{u(d)},{immediate:!0}),document.addEventListener("contextmenu",d=>{o.isShowTitleOperate&&d.preventDefault()}),(d,y)=>{const _=e.resolveComponent("el-popover");return e.openBlock(),e.createElementBlock("div",x,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(p,E)=>(e.openBlock(),e.createElementBlock("div",{key:E,class:"mt-4"},[t.isShowTitleOperate?(e.openBlock(),e.createBlock(_,{key:0,"popper-class":"sort-popper",placement:"right",width:"60",trigger:"contextmenu"},{reference:e.withCtx(()=>[e.createElementVNode("span",$,e.toDisplayString(p.name),1)]),default:e.withCtx(()=>[e.createElementVNode("div",F,[e.createElementVNode("p",{class:"point",style:{margin:"0"},onClick:c=>r(p)},"编辑",8,A),e.createElementVNode("p",{style:{color:"var(--ik-error)",margin:"0"},class:"point",onClick:c=>i(p)}," 删除 ",8,P)])]),_:2},1024)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createCommentVNode(" 不能操作的标题 "),e.createElementVNode("div",L,[e.createElementVNode("p",{class:"mb-2 point",onClick:c=>s(p)},e.toDisplayString(p.name),9,M),p.resultType==="LIST"?(e.openBlock(),e.createBlock(_,{key:0,placement:"right",width:210,trigger:"hover"},{reference:e.withCtx(()=>[U]),default:e.withCtx(()=>[j]),_:1})):e.createCommentVNode("v-if",!0)])],2112)),e.createCommentVNode(" 标题下的内容 "),e.createElementVNode("div",H,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.children,(c,D)=>(e.openBlock(),e.createElementBlock("div",{key:D,style:{"flex-grow":"1"}},[o.isShowContentOperate&&p.resultType==="LIST"?(e.openBlock(),e.createBlock(_,{key:0,"popper-class":"operate-popper",placement:"bottom-end",width:"60",trigger:"contextmenu"},{reference:e.withCtx(()=>[e.createElementVNode("p",{class:e.normalizeClass([{"choose-item":c.isChoose},"item-block"]),title:"鼠标右键选择操作的数据类型"},e.toDisplayString(c.chileName),3)]),default:e.withCtx(()=>[e.createElementVNode("div",G,[e.createElementVNode("p",{class:"point",style:{margin:"0"},onClick:w=>h(c,"TABLE")},"表格",8,z),e.createElementVNode("p",{class:"point",style:{margin:"0"},onClick:w=>h(c,"LIST")},"列表",8,K)])]),_:2},1024)):e.createCommentVNode("v-if",!0),o.isShowContentOperate?(e.openBlock(),e.createBlock(_,{key:1,"popper-class":"operate-popper",placement:"bottom-end",width:"60",trigger:"contextmenu"},{reference:e.withCtx(()=>[e.createElementVNode("p",{class:e.normalizeClass([{"choose-item":c.isChoose},"item-block"]),onClick:w=>l(p,c)},e.toDisplayString(c.childName),11,Q)]),default:e.withCtx(()=>[e.createElementVNode("div",W,[e.createElementVNode("p",{class:"point",style:{margin:"0"},onClick:w=>f(c)},"编辑",8,J),e.createElementVNode("p",{style:{color:"var(--ik-error)",cursor:"pointer",margin:"0"},onClick:w=>k(c)}," 删除 ",8,X)])]),_:2},1024)):(e.openBlock(),e.createElementBlock("p",{key:2,class:e.normalizeClass([{"choose-item":c.isChoose},"item-block"]),onClick:w=>l(p,c)},e.toDisplayString(c.childName),11,Y))]))),128))])]))),128))])}}}),se="",ee=S(Z,[["__scopeId","data-v-af8d674c"]]),te={class:"template-config"},ne={class:"template-config-data"},oe={class:"template-panel"},ie=e.defineComponent({__name:"IkTemplateOfficeConfig",props:{title:{type:String,default:"模板配置"},visible:{type:Boolean,default:!1},onlyOfficeConfig:{type:Object,default:()=>{}},isShowTabs:{type:Boolean,default:!0},isShowSearchCondition:{type:Boolean,default:!0},tabsData:{type:Array,default:()=>[]},tableData:{type:Array,default:()=>[]},documentServerUrl:{type:String,default:""},jwtToken:{type:String,default:""},contentHeight:{type:String,default:"650px"},defaultProps:{type:Object,default:()=>{}},isShowTitleOperate:{type:Boolean,default:!1},isShowContentOperate:{type:Boolean,default:!1}},emits:["handleSearchDataBlock","handleClickBlockData"],setup(t,{expose:n,emit:o}){e.useCssVars(u=>({f1632ab6:t.contentHeight}));const a=t,r=o,i=e.ref(a.tabsData[0].id),s=u=>{f.value="",i.value=u,u&&r("handleSearchDataBlock","",i.value)},f=e.ref(""),k=()=>{r("handleSearchDataBlock",f.value,i.value)},l=(u,m)=>{r("handleClickBlockData",u,m)};return n({handleSendMessage:u=>{window[0][0].postMessage(JSON.stringify({type:"INSERT_TEXT",text:u}),"*")}}),(u,m)=>{const d=e.resolveComponent("el-tab-pane"),y=e.resolveComponent("el-tabs"),_=e.resolveComponent("el-input"),p=e.resolveComponent("el-col"),E=e.resolveComponent("el-row");return e.openBlock(),e.createElementBlock("div",te,[e.createVNode(E,{gutter:10},{default:e.withCtx(()=>[e.createVNode(p,{span:6},{default:e.withCtx(()=>[e.createElementVNode("div",ne,[a.isShowTabs?(e.openBlock(),e.createBlock(y,{key:0,modelValue:i.value,"onUpdate:modelValue":m[0]||(m[0]=c=>i.value=c),onTabClick:m[1]||(m[1]=c=>s(c.props.name))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.tabsData,(c,D)=>(e.openBlock(),e.createBlock(d,{key:D,label:c.label,name:c.id},null,8,["label","name"]))),128))]),_:1},8,["modelValue"])):e.createCommentVNode("v-if",!0),a.isShowSearchCondition?(e.openBlock(),e.createBlock(_,{key:1,modelValue:f.value,"onUpdate:modelValue":m[2]||(m[2]=c=>f.value=c),placeholder:"请输入关键字",clearable:"",onInput:m[3]||(m[3]=c=>k())},null,8,["modelValue"])):e.createCommentVNode("v-if",!0),e.createVNode(ee,{data:a.tableData,type:i.value,defaultProps:a.defaultProps,onHandleChooseDataBlock:l,isShowTitleOperate:a.isShowTitleOperate,isShowContentOperate:a.isShowContentOperate},null,8,["data","type","defaultProps","isShowTitleOperate","isShowContentOperate"])])]),_:1}),e.createVNode(p,{span:18},{default:e.withCtx(()=>[e.createElementVNode("div",oe,[a.visible?(e.openBlock(),e.createBlock(e.unref(q),{key:0,"config-options":a.onlyOfficeConfig,documentServerUrl:a.documentServerUrl,token:a.jwtToken},null,8,["config-options","documentServerUrl","token"])):e.createCommentVNode("v-if",!0)])]),_:1})]),_:1})])}}}),ce="",B=b(S(ie,[["__scopeId","data-v-d31d0157"]]));g.IkTemplateOfficeConfig=B,g.default=B,Object.defineProperties(g,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -0,0 +1 @@
1
+ .template-data .point[data-v-af8d674c]{cursor:pointer}.template-data .flex[data-v-af8d674c]{display:flex}.template-data .data-block[data-v-af8d674c]{flex-wrap:wrap}.template-data .item-block[data-v-af8d674c]{min-width:160px;border:1px solid var(--ik-sub-sidebar-menu-active-bg);background:var(--ik-sub-sidebar-menu-active-bg);text-align:center;padding:6px 0;margin:6px}.template-data .item-block[data-v-af8d674c]:hover,.template-data .choose-item[data-v-af8d674c]{border:1px solid var(--ik-sub-sidebar-menu-active-color);color:var(--ik-sub-sidebar-menu-active-color);cursor:pointer}.template-data .tips[data-v-af8d674c]{color:#909399;margin-top:4px;margin-left:10px}.template-data .m-12[data-v-af8d674c]{margin:12px 0;display:inline-block}.operate-popper .operate-btn[data-v-af8d674c]{cursor:pointer!important;text-align:center!important}.operate-popper .operate-btn p[data-v-af8d674c]:hover{color:var(--ik-sub-sidebar-menu-active-color)}.template-config[data-v-d31d0157]{height:var(--f1632ab6)}.template-config .template-config-data[data-v-d31d0157]{border-right:1px solid var(--el-border-color);height:var(--f1632ab6);overflow:auto;padding-right:20px}.template-config .template-panel[data-v-d31d0157]{height:var(--f1632ab6);overflow:auto}.template-config .custom-btn[data-v-d31d0157]{width:100%;margin-top:8px}
@@ -0,0 +1,49 @@
1
+ import { defineComponent as l, computed as f, resolveComponent as p, openBlock as s, createBlock as a, withCtx as r, renderSlot as m } from "vue";
2
+ const i = (t, o) => {
3
+ if (t.install = (n) => {
4
+ for (const e of [t, ...Object.values(o ?? {})])
5
+ n.component(e.name, e);
6
+ }, o)
7
+ for (const [n, e] of Object.entries(o))
8
+ t[n] = e;
9
+ return t;
10
+ }, u = /* @__PURE__ */ l({
11
+ __name: "index",
12
+ props: {
13
+ effect: {
14
+ type: String,
15
+ default: "dark"
16
+ },
17
+ content: {
18
+ type: String,
19
+ default: ""
20
+ },
21
+ placement: {
22
+ type: String,
23
+ default: "bottom-start"
24
+ }
25
+ },
26
+ setup(t) {
27
+ const o = t, n = f(() => o.effect);
28
+ return (e, d) => {
29
+ const c = p("el-tooltip");
30
+ return s(), a(c, {
31
+ class: "gl-tooltip",
32
+ effect: n.value,
33
+ content: t.content,
34
+ placement: t.placement,
35
+ enterable: !1
36
+ }, {
37
+ default: r(() => [
38
+ m(e.$slots, "default")
39
+ ]),
40
+ _: 3
41
+ /* FORWARDED */
42
+ }, 8, ["effect", "content", "placement"]);
43
+ };
44
+ }
45
+ }), k = i(u);
46
+ export {
47
+ k as IkTooltip,
48
+ k as default
49
+ };
@@ -0,0 +1 @@
1
+ (function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.index={},t.Vue))})(this,function(t,e){"use strict";const f=((n,c)=>{if(n.install=l=>{for(const o of[n,...Object.values(c??{})])l.component(o.name,o)},c)for(const[l,o]of Object.entries(c))n[l]=o;return n})(e.defineComponent({__name:"index",props:{effect:{type:String,default:"dark"},content:{type:String,default:""},placement:{type:String,default:"bottom-start"}},setup(n){const c=n,l=e.computed(()=>c.effect);return(o,d)=>{const i=e.resolveComponent("el-tooltip");return e.openBlock(),e.createBlock(i,{class:"gl-tooltip",effect:l.value,content:n.content,placement:n.placement,enterable:!1},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["effect","content","placement"])}}}));t.IkTooltip=f,t.default=f,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});