@progress/kendo-ui
Version:
This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.
1 lines • 19.8 kB
JavaScript
module.exports=function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}({0:function(e,t,n){e.exports=n(996)},3:function(e,t){e.exports=function(){throw Error("define cannot be used indirect")}},988:function(e,t){e.exports=require("./formatblock")},996:function(e,t,n){var o,i,a;!function(l,define){i=[n(988),n(997)],o=l,a="function"==typeof o?o.apply(t,i):o,!(void 0!==a&&(e.exports=a))}(function(){!function(e,t){var n=window.kendo,o=e.extend,i=e.proxy,a=n.ui.editor,l=a.Dom,s=a.EditorUtils,r=a.RangeUtils,d=a.Command,p="kendoEditor",c="k-state-active",h="k-state-selected",m="scope",u="row",f="col",g="rowgroup",b="colgroup",w="colspan",_="rowspan",C="table",x="thead",v="tbody",T="tr",A="td",R="th",y=a.Tool,S=a.ToolTemplate,k=a.InsertHtmlCommand,I=a.BlockFormatFinder,z=a.BlockFormatTool,N=a.FormatCommand,E=a.EditorUtils.registerTool,H=a.EditorUtils.registerFormat,M=n.ui.Editor.fn.options.formats,L=n.getTouches,P=n.template,F="<td style='width:#=width#%;'>#=content#</td>",B=new I([{tags:[C]}]),W=k.extend({init:function(t){var n=e.extend({postProcess:this.postProcess,skipCleaners:!0},t||{});k.fn.init.call(this,n)},_tableHtml:function(e,t){var n,o;return e=e||1,t=t||1,n=P(F)({width:100/t,content:a.emptyTableCellContent}),o=100/e,"<table class='k-table' data-last>"+Array(e+1).join("<tr style='height:"+o+"%;'>"+Array(t+1).join(n)+"</tr>")+"</table>"},postProcess:function(t,n){var o=e("table[data-last]",t.document).removeAttr("data-last");n.setStart(o.find(A)[0],0),n.collapse(!0),t.selectRange(n)},exec:function(){var e=this.options;e.html=this._tableHtml(e.rows,e.columns),k.fn.exec.call(this)}}),j=y.extend({initialize:function(t,n){var o,l,r,d;y.fn.initialize.call(this,t,n),o=e(this.options.popupTemplate).appendTo("body").kendoPopup({anchor:t,copyAnchorStyles:!1,open:i(this._open,this),activate:i(this._activate,this),close:i(this._close,this)}).data("kendoPopup"),t.click(i(this._toggle,this)).keydown(i(this._keydown,this)),l=this._editor=n.editor,this._popup=o,r=new a.TableWizardTool({template:new S({template:s.tableWizardButtonTemplate,title:l.options.messages.tableWizard}),command:a.TableWizardCommand,insertNewTable:!0}),E("tableWizardInsert",r),d=e("<div>"+r.options.template.getHtml()+"</div>"),d.appendTo(o.element),l.toolbar&&l.toolbar.attachToolsEvents(d)},popup:function(){return this._popup},_activate:e.noop,_open:function(){this._popup.options.anchor.addClass(c)},_close:function(){this._popup.options.anchor.removeClass(c)},_keydown:function(e){var t=n.keys,o=e.keyCode;o==t.DOWN&&e.altKey?this._popup.open():o==t.ESC&&this._popup.close()},_toggle:function(t){var n=e(t.target).closest(".k-tool");n.hasClass("k-state-disabled")||this.popup().toggle()},update:function(e){var t=this.popup();t.wrapper&&"block"==t.wrapper.css("display")&&t.close(),e.removeClass("k-state-hover")},destroy:function(){this._popup.destroy()}}),D=j.extend({init:function(t){this.cols=8,this.rows=6,j.fn.init.call(this,e.extend(t,{command:W,popupTemplate:"<div class='k-ct-popup'><div>"+Array(this.cols*this.rows+1).join("<span class='k-ct-cell k-state-disabled'></span>")+"</div><div class='k-status'></div></div>"}))},_activate:function(){function t(t){var n=e(window);return{row:Math.floor((t.clientY+n.scrollTop()-c.top)/i)+1,col:Math.floor((t.clientX+n.scrollLeft()-c.left)/o)+1}}var o,i,a=this,l=a._popup.element,s=l.find(".k-ct-cell"),r=s.eq(0),d=s.eq(s.length-1),c=n.getOffset(r),h=n.getOffset(d),m=a.cols,u=a.rows;l.find("*").addBack().attr("unselectable","on"),h.left+=d[0].offsetWidth,h.top+=d[0].offsetHeight,o=(h.left-c.left)/m,i=(h.top-c.top)/u,l.autoApplyNS(p).on("mousemove",".k-ct-cell",function(e){a._setTableSize(t(e))}).on("mouseleave",".k-ct-cell",function(){a._setTableSize()}).on("down",".k-ct-cell",function(e){e.preventDefault();var n=L(e)[0];a._exec(t(n.location))})},_valid:function(e){return e&&e.row>0&&e.col>0&&e.row<=this.rows&&e.col<=this.cols},_exec:function(e){this._valid(e)&&(this._editor.exec("createTable",{rows:e.row,columns:e.col}),this._popup.close())},_setTableSize:function(t){var o=this._popup.element,i=o.find(".k-status"),a=o.find(".k-ct-cell"),l=this.cols,s=this._editor.options.messages;this._valid(t)?(i.text(n.format(s.createTableHint,t.row,t.col)),a.each(function(n){e(this).toggleClass(h,n%l<t.col&&n/l<t.row)})):(i.text(s.createTable),a.removeClass(h))},_keydown:function(e){var t,o,i,a,l,s,r,d;j.fn._keydown.call(this,e),this._popup.visible()&&(t=n.keys,o=e.keyCode,i=this._popup.element.find(".k-ct-cell"),a=Math.max(i.filter(".k-state-selected").last().index(),0),l=Math.floor(a/this.cols),s=a%this.cols,r=!1,o!=t.DOWN||e.altKey?o==t.UP?(r=!0,l--):o==t.RIGHT?(r=!0,s++):o==t.LEFT&&(r=!0,s--):(r=!0,l++),d={row:Math.max(1,Math.min(this.rows,l+1)),col:Math.max(1,Math.min(this.cols,s+1))},o==t.ENTER?this._exec(d):this._setTableSize(d),r&&(e.preventDefault(),e.stopImmediatePropagation()))},_open:function(){var e=this._editor.options.messages;j.fn._open.call(this),this.popup().element.find(".k-status").text(e.createTable).end().find(".k-ct-cell").removeClass(h)},_close:function(){j.fn._close.call(this),this.popup().element.off("."+p)}}),O=d.extend({undo:function(){var t=this.restorePoint;t.restoreHtml(),e(this.editor.body).find(".k-table-resize-handle-wrapper").each(function(e,t){t.remove()}),this.editor.selectRange(t.toRange())},_clearColIndexAttr:function(e){l.clearTableMappings(e,"col-index")},_mapColIndices:function(e){l.reMapTableColumns(e,"col-index")},_findRowSpanCell:function(t,n,o){var i,a,l;for(l=n;l>=0;l--)if(i=t.rows[l],a=e(i).find("[col-index="+o+"]"),a.length)return a},_resetTableResizing:function(e){e._destroyResizings(),e._initializeColumnResizing(),e._initializeRowResizing(),e._initializeTableResizing()},_findNextTdInRow:function(e,t){var n,o,i=e.find("td:last-child"),a=parseInt(i.attr("col-index"),10)+i.prop("colSpan")-1;for(o=t;o<=a;o++)if(n=e.find("[col-index="+o+"]"),n.length)return n},_adjustColgroups:function(e,t){for(var n,o,i,a=t.getElementsByTagName(f),s=t.getElementsByTagName(b),r=e.cells,d=r.length;a.length>0;)a[0].remove();for(;s.length>0;)s[0].remove();for(n=d-1;n>=0;n--)i=r[n],i.getAttribute(m)===b?(o=l.createEmptyNode(this.editor.document,b),o.setAttribute("span",i.getAttribute(w)),t.prepend(o)):t.prepend(l.createEmptyNode(this.editor.document,f))},_associateHeaderIds:function(t){l.clearTableMappings(t,"col-index"),l.reMapTableColumns(t,"col-index"),e(t).find("th, td").removeAttr("id headers"),l.associateWithIds(t)},_getNumberOfColumns:function(e){return l._getNumberOfColumns(e,"td, th")}}),V=O.extend({exec:function(){var n,o,i,s,r,d,p,c,h=this.lockRange(!0),f=l.closest(h.endContainer,[A,R]),b=l.closest(f,C),w=this.options.position||"after";if(!b||this.immutables()&&a.Immutables.immutableParent(f))return this.releaseRange(h),t;for(this._mapColIndices(b),o=f.parentNode,r=l.findNodeIndex(o,!0),f.rowSpan>1&&"after"===w&&(o=b.rows[r+f.rowSpan-1]),n=this._getNumberOfColumns(b),s=o.cloneNode(!0),e(s).empty(),c=0;c<n;c+=i.prop("colSpan"))i=e(o).find("[col-index="+c+"]"),i.length?i.prop("rowSpan")>1&&"after"===w&&i?i.attr(_,i.prop("rowSpan")+1):this._appendCell(s,i):(r=l.findNodeIndex(o,!0),i=this._findRowSpanCell(o.parentElement,r,c),d=i.closest(T).index(),d+i.prop("rowSpan")-1===r&&"after"===w?this._appendCell(s,i):i.attr(_,i.prop("rowSpan")+1)),p=e(s).find("[col-index="+c+"]"),p.attr(m)!==g||p.attr(_)||p.attr(m,u);"before"==w?l.insertBefore(s,o):l.insertAfter(s,o),e(b).find("[headers]").length>0&&this._associateHeaderIds(b),this._clearColIndexAttr(b),this.releaseRange(h),this._resetTableResizing(this.editor)},_appendCell:function(e,t){var n;n=t.clone(),n.html(a.emptyTableCellContent),n.removeAttr(_),n.appendTo(e)}}),q=O.extend({exec:function(){var n,o,i,s,r=this.lockRange(!0),d=l.closest(r.endContainer,[A,R]),p=l.closest(d,C),c=p.getElementsByTagName(f),h=p.getElementsByTagName(b),u=p&&p.rows,g=this.options.position||"after";if(!d||this.immutables()&&a.Immutables.immutableParent(d))return this.releaseRange(r),t;for(this._mapColIndices(p),n=parseInt(d.getAttribute("col-index"),10),d.colSpan>1&&"after"===g&&(d.setAttribute("col-index",n+d.colSpan-1),n=n+d.colSpan-1),o=0;o<u.length;o++)i=this._processForColSpan(u[o],n,g,d),i&&(s=i.cloneNode(),s.innerHTML=a.emptyTableCellContent,s.removeAttribute(w),s.getAttribute(m)&&s.getAttribute(m)===b&&s.setAttribute(m,f),"before"==g?l.insertBefore(s,i):l.insertAfter(s,i),this._resizeCells(s,i));(c.length>0||h.length>0)&&this._adjustColgroups(u[0],p),e(p).find("[headers]").length>0&&this._associateHeaderIds(p),this._clearColIndexAttr(p),this.releaseRange(r),this._resetTableResizing(this.editor)},_processForColSpan:function(n,o,i,a){var l,s,r=o-1;if(l=e(n).find("[col-index="+o+"]")[0],l&&l.colSpan>1&&"after"===i&&l!==a)return l.colSpan+=1,t;if(l)return l;for(r;r>=0&&(l=e(n).find("[col-index="+r+"]")[0],!(l&&l.colSpan>1));r--);return l?(s=parseInt(l.getAttribute("col-index"),10)+l.colSpan-1,s===o&&"after"===i?l:(o<=s&&l.setAttribute(w,l.colSpan+1),t)):t},_resizeCells:function(e,t){var n,o,i,a=e.style.width;a&&(n=parseFloat(a),o=a.slice((""+n).length),i=n/2+o,e.style.width=i,t.style.width=i)}}),U=O.extend({exec:function(){var n,o,i,s=this.lockRange(),d=r.mapAll(s,function(t){return e(t).closest(T)[0]}),p=l.closest(s.endContainer,[A,R]),c=d[0],h=p?p.rowSpan:1,m=e(d[0]).index(),u=l.closest(c,C),f=c.parentElement;if(!u||this.immutables()&&a.Immutables.immutableParent(c))return this.releaseRange(s),t;for(o=0;o<h;o++)d.indexOf(f.rows[m+o])<0&&d.push(f.rows[m+o]);if(u.rows.length<=d.length)n=l.next(u),n&&!l.insignificant(n)||(n=l.prev(u)),l.remove(u),this._resetTableResizing(this.editor);else if(f.rows.length<=d.length)n=f.nextSibling,n||(n=f.previousSibling),l.remove(f);else{for(this._mapColIndices(u),i=0;i<d.length;i++)c=d[i],l.removeTextSiblings(c),n=l.next(c)||l.prev(c),n=n.cells[0],this._focusElement(s,n),n=null,this._handleRowSpanCells(u,c),l.remove(c);this._clearColIndexAttr(u)}e(u).find("[headers]").length>0?this._associateHeaderIds(u):l.is(f,x)&&e(u).find("[scope]").length>0&&this._adjustColgroups(f.rows[0],u),n&&this._focusElement(s,n),this._resetTableResizing(this.editor)},_focusElement:function(e,t){e.setStart(t,0),e.collapse(!0),this.editor.selectRange(e)},_handleRowSpanCells:function(t,n){var o,i,a,s,r=l.findNodeIndex(n,!0),d=t.rows[0],p=d.cells[d.cells.length-1],c=parseInt(p.getAttribute("col-index"),10)+p.colSpan-1;for(o=0;o<=c;o+=i.prop("colSpan"))i=e(n).find("[col-index="+o+"]"),i.length&&i.prop("rowSpan")>1&&(s=t.rows[r+1],a=e(s).find("[col-index="+(o+1)+"]"),a.length?a.before(i):e(s).append(i),this._reduceRowSpan(i)),i.length||(i=this._findRowSpanCell(n.parentElement,r,o),this._reduceRowSpan(i))},_reduceRowSpan:function(e){var t=e.prop("rowSpan")-1;t<=1?(e.removeAttr(_),e.attr(m)===g&&e.attr(m,u)):e.attr(_,t)}}),K=O.extend({exec:function(){var n,o,i,s,r=this.lockRange(),d=l.closest(r.endContainer,[A,R]),p=l.closest(d,C),c=p&&p.rows,h=l.findNodeIndex(d,!0),m=c&&c[0].cells.length,u=p.getElementsByTagName(f),g=p.getElementsByTagName(b);if(!d||this.immutables()&&a.Immutables.immutableParent(d))return this.releaseRange(r),t;if(1==m||d.colSpan==m)n=l.next(p),n&&!l.insignificant(n)||(n=l.prev(p)),l.remove(p),this._resetTableResizing(this.editor);else{for(l.removeTextSiblings(d),n=l.next(d)||l.prev(d),this._mapColIndices(p),h=parseInt(d.getAttribute("col-index"),10),s=0;s<d.colSpan;s++)for(o=0;o<c.length;o+=i.prop("rowSpan")||1)i=e(c[o]).find("[col-index="+(h+s)+"]"),i.length&&i.prop("colSpan")<=1?i.remove():this._handleColSpanCells(c[o],h+s);this._clearColIndexAttr(p)}(u.length>0||g.length>0)&&this._adjustColgroups(c[0],p),e(p).find("[headers]").length>0&&this._associateHeaderIds(p),n&&(r.setStart(n,0),r.collapse(!0),this.editor.selectRange(r)),this._resetTableResizing(this.editor)},_handleColSpanCells:function(n,o){var i,a,l=e(n).find("[col-index="+o+"]");if(l.length&&l.prop("colSpan")>1)return i=l.clone(!0),l.after(i),this._reduceColSpan(i),i.attr("col-index",parseInt(l.attr("col-index"),10)+1),l.remove(),t;for(a=o;a>=0;a--)if(l=e(n).find("[col-index="+a+"]"),l.length)return this._reduceColSpan(l),l.attr("col-index",parseInt(l.attr("col-index"),10)+1),t},_reduceColSpan:function(e){var t=e.prop("colSpan")-1;t<=1?(e.removeAttr(w),e.attr(m)===b&&e.attr(m,f)):e.attr(w,t)}}),G=O.extend({exec:function(){var n,o,i,s,r,d=this.lockRange(),p=l.closest(d.endContainer,[A,R]);return p?(n=l.closest(p,C),o=p.parentNode,i=l.findNodeIndex(p,!0),s=o.children[i+1],this.immutables()&&a.Immutables.immutableParent(p)?(this.releaseRange(d),t):(this._mapColIndices(n),i=parseInt(e(p).attr("col-index"),10),s=e(o).find("[col-index="+(i+1+this._getColspan(p)-1)+"]").get(0),s&&s.rowSpan===p.rowSpan&&p.tagName===s.tagName?(r=this._getColspan(p)+this._getColspan(s),e(p).prop(w,r).append(l.emptyNode(s)?"":"<br/>"+s.innerHTML),e(p).width(p.offsetWidth),e(s).remove(),p.getAttribute(m)===f&&p.setAttribute(m,b),p.getAttribute(m)===b&&this._adjustColgroups(o,n),e(n).find("[headers]").length>0&&this._associateHeaderIds(n),this._clearColIndexAttr(n),this.releaseRange(d),this._resetTableResizing(this.editor),t):(this._clearColIndexAttr(n),this.releaseRange(d),t))):(this.releaseRange(d),t)},_getColspan:function(e){return parseInt(e.getAttribute(w),10)||1}}),Q=O.extend({exec:function(){var n,o,i,s,r,d,p,c=this.lockRange(),h=l.closest(c.endContainer,[A,R]);return h?(n=l.closest(h,T),o=l.closest(h,[x,v]),i=l.closest(h,C),s=l.findNodeIndex(h,!0),r=l.findNodeIndex(n,!0),r+1===o.rows.length?(this.releaseRange(c),t):(d=o.rows[r+this._getRowspan(h)],p=d&&d.children[s],this.immutables()&&a.Immutables.immutableParent(h)?(this.releaseRange(c),t):(this._mapColIndices(i),s=e(h).attr("col-index"),p=e(d).find("[col-index="+s+"]").get(0),p&&p.colSpan===h.colSpan&&h.tagName===p.tagName?(e(h).prop(_,this._getRowspan(h)+this._getRowspan(p)).append(l.emptyNode(p)?"":"<br/>"+p.innerHTML),h.getAttribute(m)===u&&h.setAttribute(m,g),e(p).remove(),e(i).find("[headers]").length>0&&this._associateHeaderIds(i),this._clearColIndexAttr(i),this.releaseRange(c),t):(this._clearColIndexAttr(i),this.releaseRange(c),t)))):(this.releaseRange(c),t)},_getRowspan:function(e){return parseInt(e.getAttribute(_),10)||1}}),X=O.extend({exec:function(){var n=this.lockRange(),o=this.options.type,i="row"===o?w:_,s=l.closest(n.endContainer,[A,R]),r=l.closest(s,[x,v]),d=l.closest(s,C),p=l.createEmptyNode(this.editor.document,s.nodeName.toLowerCase());return!s||this.immutables()&&a.Immutables.immutableParent(s)?(this.releaseRange(n),t):(this._mapColIndices(d),"row"===o&&e(s).is("["+i+"]")?this._splitCellHorizontally(s,r,i,p):"column"===o&&e(s).is("["+i+"]")&&this._splitCellVertically(s,r,i,p),e(s).prop(i.toLowerCase())<=1&&e(s).removeAttr(i),e(d).find("[headers]").length>0&&this._associateHeaderIds(d),this._clearColIndexAttr(d),this.releaseRange(n),t)},_getRowspanValue:function(e){return parseInt(e.getAttribute(_),10)},_getColspanValue:function(e){return parseInt(e.getAttribute(w),10)},_splitCellHorizontally:function(t,n,o,i){var a=t.rowSpan,l=t.colSpan,s=e(i),r=Math.floor(l/2);r>1&&s.attr(w,r),a>1&&s.attr(_,a),e(t).prop(o,l-r).after(s),e(t).width(t.offsetWidth),s.width(s[0].offsetWidth),t.hasAttribute(m)&&(t.getAttribute(m)===b?(s.attr(m,f),t.getAttribute(w)&&"1"!==t.getAttribute(w)||t.setAttribute(m,f),this._adjustColgroups(t.parentNode,n.parentNode)):s.attr(m,t.getAttribute(m)))},_splitCellVertically:function(t,n,o,i){var a=l.closest(t,T),s=parseInt(e(t).attr("col-index"),10),r=l.findNodeIndex(a,!0),d=t.rowSpan,p=t.colSpan,c=Math.floor(d/2),h=e(n).find(T).eq(r+d-c),f=this._findNextTdInRow(h,s+p),b=e(i);c>1&&b.attr(_,c),p>1&&b.attr(w,p),f&&f.length?f.before(b):h.append(b),e(t).prop(o,d-c),t.hasAttribute(m)&&(t.getAttribute(m)===g?(b.attr(m,u),t.getAttribute(_)&&"1"!==t.getAttribute(_)||t.setAttribute(m,u)):b.attr(m,t.getAttribute(m)))}}),Y=y.extend({command:function(e){var t={row:{insert:V,"delete":U,merge:G,split:X},column:{insert:q,"delete":K,merge:Q,split:X}};return e=o(e,this.options),e.action=e.action||"insert",new t[e.type][e.action](e)},initialize:function(e,t){y.fn.initialize.call(this,e,t),e.addClass("k-state-disabled"),e.attr("disabled","disabled")},update:function(e,t){var n=!B.isFormatted(t);n===!0?(e.parent().addClass("k-hidden k-state-disabled"),e.attr("disabled","disabled"),e.addClass("k-state-disabled")):(e.parent().removeClass("k-hidden k-state-disabled"),e.removeAttr("disabled"),e.removeClass("k-state-disabled"))}}),J=N.extend({exec:function(){var e=this,t=e.editor;N.fn.exec.call(this),t.tableResizing&&t.tableResizing._showResizeHandles()}}),Z=z.extend({initialize:function(e,t){z.fn.initialize.call(this,e,t),e.addClass("k-state-disabled"),e.attr("disabled","disabled")},update:function(e,t){var n=!B.isFormatted(t),o=this.options.finder.isFormatted(t,this.isTable);n===!0?(e.parent().addClass("k-hidden k-state-disabled"),e.attr("disabled","disabled"),e.addClass("k-state-disabled")):(e.parent().removeClass("k-hidden k-state-disabled"),e.removeAttr("disabled"),e.removeClass("k-state-disabled")),e.toggleClass("k-state-selected",o),e.attr("aria-pressed",o)},command:function(e){var t=this;return new J(o(e,{formatter:t.options.formatter}))},isTable:function(e){return l.is(e,"table")}});o(n.ui.editor,{PopupTool:j,TableCommand:W,InsertTableTool:D,TableFormatTool:Z,TableFormatCommand:J,TableModificationTool:Y,InsertRowCommand:V,InsertColumnCommand:q,DeleteRowCommand:U,DeleteColumnCommand:K,MergeCellsHorizontallyCommand:G,MergeCellsVerticallyCommand:Q,SplitCellCommand:X}),E("createTable",new D({template:new S({template:s.buttonTemplate,popup:!0,title:"Create table"})})),E("addColumnLeft",new Y({type:"column",position:"before",template:new S({template:s.buttonTemplate,title:"Add column on the left"})})),E("addColumnRight",new Y({type:"column",template:new S({template:s.buttonTemplate,title:"Add column on the right"})})),E("addRowAbove",new Y({type:"row",position:"before",template:new S({template:s.buttonTemplate,title:"Add row above"})})),E("addRowBelow",new Y({type:"row",template:new S({template:s.buttonTemplate,title:"Add row below"})})),E("deleteRow",new Y({type:"row",action:"delete",template:new S({template:s.buttonTemplate,title:"Delete row"})})),E("deleteColumn",new Y({type:"column",action:"delete",template:new S({template:s.buttonTemplate,title:"Delete column"})})),E("mergeCellsHorizontally",new Y({type:"row",action:"merge",template:new S({template:s.buttonTemplate,title:"Merge Cell Right"})})),E("mergeCellsVertically",new Y({type:"column",action:"merge",template:new S({template:s.buttonTemplate,title:"Merge Cell Down"})})),E("splitCellHorizontally",new Y({type:"row",action:"split",template:new S({template:s.buttonTemplate,title:"Split Cell"})})),E("splitCellVertically",new Y({type:"column",action:"split",template:new S({template:s.buttonTemplate,title:"Split Cell"})})),H("tableAlignLeft",[{tags:["table"],attr:{style:{marginLeft:"",marginRight:"auto"}}},{tags:["table"],attr:{align:"left"}}]),E("tableAlignLeft",new Z({format:M.tableAlignLeft,template:new S({template:s.buttonTemplate,title:"Table Align Left"})})),H("tableAlignCenter",[{tags:["table"],attr:{style:{marginLeft:"auto",marginRight:"auto"}}},{tags:["table"],attr:{align:"center"}}]),E("tableAlignCenter",new Z({format:M.tableAlignCenter,template:new S({template:s.buttonTemplate,title:"Table Align Center"})})),H("tableAlignRight",[{tags:["table"],attr:{style:{marginLeft:"auto",marginRight:""}}},{tags:["table"],attr:{align:"right"}}]),E("tableAlignRight",new Z({format:M.tableAlignRight,template:new S({template:s.buttonTemplate,title:"Table Align Left"})}))}(window.kendo.jQuery)},n(3))},997:function(e,t){e.exports=require("./insert")}});