@syncfusion/ej2-react-ribbon 24.2.8 → 25.1.35
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.
- package/CHANGELOG.md +7 -10
- package/README.md +5 -2
- package/diConfig.json +254 -3
- package/dist/ej2-react-ribbon.min.js +2 -2
- package/dist/ej2-react-ribbon.umd.min.js +2 -2
- package/dist/ej2-react-ribbon.umd.min.js.map +1 -1
- package/dist/es6/ej2-react-ribbon.es2015.js +21 -73
- package/dist/es6/ej2-react-ribbon.es2015.js.map +1 -1
- package/package.json +9 -9
- package/src/ribbon/collections-directive.d.ts +0 -20
- package/src/ribbon/collections-directive.js +0 -20
- package/src/ribbon/contextualtabs-directive.d.ts +23 -0
- package/src/ribbon/contextualtabs-directive.js +45 -0
- package/src/ribbon/groups-directive.d.ts +0 -16
- package/src/ribbon/groups-directive.js +0 -16
- package/src/ribbon/index.d.ts +1 -0
- package/src/ribbon/index.js +1 -0
- package/src/ribbon/items-directive.d.ts +0 -24
- package/src/ribbon/items-directive.js +0 -24
- package/src/ribbon/ribbon.component.js +1 -1
- package/src/ribbon/tabs-directive.d.ts +0 -12
- package/src/ribbon/tabs-directive.js +0 -12
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-ribbon.umd.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 25.1.35
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
!function(t,
|
|
10
|
+
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-ribbon")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-ribbon"],n):n(t.ej={},t.ej2ReactBase,t.React,t.ej2Ribbon)}(this,function(t,n,e,o){"use strict";var r=function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function o(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}(),i=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.moduleName="ribbonTab",n}(n.ComplexBase),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n.propertyName="tabs",n.moduleName="ribbonTabs",n}(n.ComplexBase),c=function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function o(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}(),p=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return c(n,t),n.moduleName="ribbonGroup",n}(n.ComplexBase),s=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return c(n,t),n.propertyName="groups",n.moduleName="ribbonGroups",n}(n.ComplexBase),a=function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function o(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}(),b=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.moduleName="ribbonCollection",n}(n.ComplexBase),l=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return a(n,t),n.propertyName="collections",n.moduleName="ribbonCollections",n}(n.ComplexBase),f=function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function o(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}(),y=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return f(n,t),n.moduleName="ribbonItem",n}(n.ComplexBase),m=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return f(n,t),n.propertyName="items",n.moduleName="ribbonItems",n}(n.ComplexBase),_=function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function o(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}(),h=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return _(n,t),n.moduleName="ribbonContextualTab",n}(n.ComplexBase),d=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return _(n,t),n.propertyName="contextualTabs",n.moduleName="ribbonContextualTabs",n}(n.ComplexBase),C=function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function o(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}(),v=function(t){function n(n){var e=t.call(this,n)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.directivekeys={ribbonTabs:{ribbonTab:{ribbonGroups:{ribbonGroup:{ribbonCollections:{ribbonCollection:{ribbonItems:"ribbonItem"}}}}}},ribbonContextualTabs:{ribbonContextualTab:{ribbonTabs:{ribbonTab:{ribbonGroups:{ribbonGroup:{ribbonCollections:{ribbonCollection:{ribbonItems:"ribbonItem"}}}}}}}}},e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!1,e.portals=[],e}return C(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(o.Ribbon);n.applyMixins(v,[n.ComponentBase,e.Component]),t.Inject=n.Inject,t.RibbonTabDirective=i,t.RibbonTabsDirective=u,t.RibbonGroupDirective=p,t.RibbonGroupsDirective=s,t.RibbonCollectionDirective=b,t.RibbonCollectionsDirective=l,t.RibbonItemDirective=y,t.RibbonItemsDirective=m,t.RibbonContextualTabDirective=h,t.RibbonContextualTabsDirective=d,t.RibbonComponent=v,Object.keys(o).forEach(function(n){t[n]=o[n]}),Object.defineProperty(t,"__esModule",{value:!0})});
|
|
11
11
|
//# sourceMappingURL=ej2-react-ribbon.umd.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-react-ribbon.umd.min.js","sources":["../src/ribbon/tabs-directive.js","../src/ribbon/groups-directive.js","../src/ribbon/collections-directive.js","../src/ribbon/items-directive.js","../src/ribbon/ribbon.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `RibbonTabDirective` represent a tab of the React Ribbon.\n * It must be contained in a Ribbon component(`RibbonComponent`).\n * ```tsx\n * <RibbonComponent>\n * <RibbonTabsDirective>\n * <RibbonTabDirective></RibbonTabDirective>\n * <RibbonTabDirective></RibbonTabDirective>\n * <RibbonTabsDirective>\n * </RibbonComponent>\n * ```\n */\nvar RibbonTabDirective = /** @class */ (function (_super) {\n __extends(RibbonTabDirective, _super);\n function RibbonTabDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RibbonTabDirective.moduleName = 'ribbonTab';\n return RibbonTabDirective;\n}(ComplexBase));\nexport { RibbonTabDirective };\nvar RibbonTabsDirective = /** @class */ (function (_super) {\n __extends(RibbonTabsDirective, _super);\n function RibbonTabsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RibbonTabsDirective.propertyName = 'tabs';\n RibbonTabsDirective.moduleName = 'ribbonTabs';\n return RibbonTabsDirective;\n}(ComplexBase));\nexport { RibbonTabsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `RibbonGroupDirective` represent a group in the React Ribbon.\n * ```tsx\n * <RibbonComponent>\n * <RibbonTabsDirective>\n * <RibbonTabDirective></RibbonTabDirective>\n * <RibbonTabDirective>\n * <RibbonGroupsDirective>\n * <RibbonGroupDirective></RibbonGroupDirective>\n * <RibbonGroupDirective></RibbonGroupDirective>\n * </RibbonGroupsDirective>\n * </RibbonTabDirective>\n * <RibbonTabsDirective>\n * </RibbonComponent>\n * ```\n */\nvar RibbonGroupDirective = /** @class */ (function (_super) {\n __extends(RibbonGroupDirective, _super);\n function RibbonGroupDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RibbonGroupDirective.moduleName = 'ribbonGroup';\n return RibbonGroupDirective;\n}(ComplexBase));\nexport { RibbonGroupDirective };\nvar RibbonGroupsDirective = /** @class */ (function (_super) {\n __extends(RibbonGroupsDirective, _super);\n function RibbonGroupsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RibbonGroupsDirective.propertyName = 'groups';\n RibbonGroupsDirective.moduleName = 'ribbonGroups';\n return RibbonGroupsDirective;\n}(ComplexBase));\nexport { RibbonGroupsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `RibbonCollectionDirective` represent a collection in the React Ribbon.\n * ```tsx\n * <RibbonComponent>\n * <RibbonTabsDirective>\n * <RibbonTabDirective></RibbonTabDirective>\n * <RibbonTabDirective>\n * <RibbonGroupsDirective>\n * <RibbonGroupDirective>\n * <RibbonCollectionsDirective>\n * <RibbonCollectionDirective></RibbonCollectionDirective>\n * <RibbonCollectionDirective></RibbonCollectionDirective>\n * </RibbonCollectionsDirective>\n * </RibbonGroupDirective>\n * </RibbonGroupsDirective>\n * </RibbonTabDirective>\n * <RibbonTabsDirective>\n * </RibbonComponent>\n * ```\n */\nvar RibbonCollectionDirective = /** @class */ (function (_super) {\n __extends(RibbonCollectionDirective, _super);\n function RibbonCollectionDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RibbonCollectionDirective.moduleName = 'ribbonCollection';\n return RibbonCollectionDirective;\n}(ComplexBase));\nexport { RibbonCollectionDirective };\nvar RibbonCollectionsDirective = /** @class */ (function (_super) {\n __extends(RibbonCollectionsDirective, _super);\n function RibbonCollectionsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RibbonCollectionsDirective.propertyName = 'collections';\n RibbonCollectionsDirective.moduleName = 'ribbonCollections';\n return RibbonCollectionsDirective;\n}(ComplexBase));\nexport { RibbonCollectionsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `RibbonItemDirective` represent a item in the React Ribbon.\n * ```tsx\n * <RibbonComponent>\n * <RibbonTabsDirective>\n * <RibbonTabDirective></RibbonTabDirective>\n * <RibbonTabDirective>\n * <RibbonGroupsDirective>\n * <RibbonGroupDirective>\n * <RibbonCollectionsDirective>\n * <RibbonCollectionDirective>\n * <RibbonItemsDirective>\n * <RibbonItemDirective></RibbonItemDirective>\n * <RibbonItemDirective></RibbonItemDirective>\n * </RibbonItemsDirective>\n * </RibbonCollectionDirective>\n * </RibbonCollectionsDirective>\n * </RibbonGroupDirective>\n * </RibbonGroupsDirective>\n * </RibbonTabDirective>\n * <RibbonTabsDirective>\n * </RibbonComponent>\n * ```\n */\nvar RibbonItemDirective = /** @class */ (function (_super) {\n __extends(RibbonItemDirective, _super);\n function RibbonItemDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RibbonItemDirective.moduleName = 'ribbonItem';\n return RibbonItemDirective;\n}(ComplexBase));\nexport { RibbonItemDirective };\nvar RibbonItemsDirective = /** @class */ (function (_super) {\n __extends(RibbonItemsDirective, _super);\n function RibbonItemsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RibbonItemsDirective.propertyName = 'items';\n RibbonItemsDirective.moduleName = 'ribbonItems';\n return RibbonItemsDirective;\n}(ComplexBase));\nexport { RibbonItemsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { Ribbon } from '@syncfusion/ej2-ribbon';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Ribbon Component\n * ```tsx\n * <RibbonComponent></RibbonComponent>\n * ```\n */\nvar RibbonComponent = /** @class */ (function (_super) {\n __extends(RibbonComponent, _super);\n function RibbonComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.directivekeys = { 'ribbonTabs': { 'ribbonTab': { 'ribbonGroups': { 'ribbonGroup': { 'ribbonCollections': { 'ribbonCollection': { 'ribbonItems': 'ribbonItem' } } } } } } };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n RibbonComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return RibbonComponent;\n}(Ribbon));\nexport { RibbonComponent };\napplyMixins(RibbonComponent, [ComponentBase, React.Component]);\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","RibbonTabDirective","_super","apply","arguments","moduleName","ComplexBase","RibbonTabsDirective","propertyName","RibbonGroupDirective","RibbonGroupsDirective","RibbonCollectionDirective","RibbonCollectionsDirective","RibbonItemDirective","RibbonItemsDirective","RibbonComponent","props","_this","call","initRenderCalled","checkInjectedModules","directivekeys","ribbonTabs","ribbonTab","ribbonGroups","ribbonGroup","ribbonCollections","ribbonCollection","ribbonItems","statelessTemplateProps","templateProps","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","Ribbon","ej2ReactBase","ComponentBase","React.Component"],"mappings":"qXAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GA0BxCK,EAAoC,SAAUC,GAE9C,SAASD,IACL,OAAkB,OAAXC,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAG/D,OALAX,EAAUe,EAAoBC,GAI9BD,EAAmBI,WAAa,YACzBJ,GACTK,eAEEC,EAAqC,SAAUL,GAE/C,SAASK,IACL,OAAkB,OAAXL,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAI/D,OANAX,EAAUqB,EAAqBL,GAI/BK,EAAoBC,aAAe,OACnCD,EAAoBF,WAAa,aAC1BE,GACTD,eC3CEpB,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,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AAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAsBxCmB,EAAiC,SAAUb,GAE3C,SAASa,EAAgBC,GACrB,IAAIC,EAAQf,EAAOgB,KAAKrB,KAAMmB,IAAUnB,KAQxC,OAPAoB,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMI,eAAkBC,YAAgBC,WAAeC,cAAkBC,aAAiBC,mBAAuBC,kBAAsBC,YAAe,oBACtJX,EAAMY,uBAAyB,KAC/BZ,EAAMa,cAAgB,KACtBb,EAAMc,iBAAkB,EACxBd,EAAMe,WACCf,EAWX,OArBA/B,EAAU6B,EAAiBb,GAY3Ba,EAAgBhB,UAAUkC,OAAS,WAC/B,KAAMpC,KAAKqC,UAAYrC,KAAKsB,kBAAqBtB,KAAKsC,aAAgBtC,KAAKuC,oBAKvE,OAAOC,gBAAoB,MAAOxC,KAAKyC,0BAA2BC,OAAO1C,KAAKmB,MAAMwB,SAAU3C,KAAKmC,UAJnG9B,EAAOH,UAAUkC,OAAOf,KAAKrB,MAC7BA,KAAKsB,kBAAmB,GAMzBJ,GACT0B,UACFC,cACY3B,GAAkB4B,gBAAeC"}
|
|
1
|
+
{"version":3,"file":"ej2-react-ribbon.umd.min.js","sources":["../src/ribbon/tabs-directive.js","../src/ribbon/groups-directive.js","../src/ribbon/collections-directive.js","../src/ribbon/items-directive.js","../src/ribbon/contextualtabs-directive.js","../src/ribbon/ribbon.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\nvar RibbonTabDirective = /** @class */ (function (_super) {\n __extends(RibbonTabDirective, _super);\n function RibbonTabDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RibbonTabDirective.moduleName = 'ribbonTab';\n return RibbonTabDirective;\n}(ComplexBase));\nexport { RibbonTabDirective };\nvar RibbonTabsDirective = /** @class */ (function (_super) {\n __extends(RibbonTabsDirective, _super);\n function RibbonTabsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RibbonTabsDirective.propertyName = 'tabs';\n RibbonTabsDirective.moduleName = 'ribbonTabs';\n return RibbonTabsDirective;\n}(ComplexBase));\nexport { RibbonTabsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\nvar RibbonGroupDirective = /** @class */ (function (_super) {\n __extends(RibbonGroupDirective, _super);\n function RibbonGroupDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RibbonGroupDirective.moduleName = 'ribbonGroup';\n return RibbonGroupDirective;\n}(ComplexBase));\nexport { RibbonGroupDirective };\nvar RibbonGroupsDirective = /** @class */ (function (_super) {\n __extends(RibbonGroupsDirective, _super);\n function RibbonGroupsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RibbonGroupsDirective.propertyName = 'groups';\n RibbonGroupsDirective.moduleName = 'ribbonGroups';\n return RibbonGroupsDirective;\n}(ComplexBase));\nexport { RibbonGroupsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\nvar RibbonCollectionDirective = /** @class */ (function (_super) {\n __extends(RibbonCollectionDirective, _super);\n function RibbonCollectionDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RibbonCollectionDirective.moduleName = 'ribbonCollection';\n return RibbonCollectionDirective;\n}(ComplexBase));\nexport { RibbonCollectionDirective };\nvar RibbonCollectionsDirective = /** @class */ (function (_super) {\n __extends(RibbonCollectionsDirective, _super);\n function RibbonCollectionsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RibbonCollectionsDirective.propertyName = 'collections';\n RibbonCollectionsDirective.moduleName = 'ribbonCollections';\n return RibbonCollectionsDirective;\n}(ComplexBase));\nexport { RibbonCollectionsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\nvar RibbonItemDirective = /** @class */ (function (_super) {\n __extends(RibbonItemDirective, _super);\n function RibbonItemDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RibbonItemDirective.moduleName = 'ribbonItem';\n return RibbonItemDirective;\n}(ComplexBase));\nexport { RibbonItemDirective };\nvar RibbonItemsDirective = /** @class */ (function (_super) {\n __extends(RibbonItemsDirective, _super);\n function RibbonItemsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RibbonItemsDirective.propertyName = 'items';\n RibbonItemsDirective.moduleName = 'ribbonItems';\n return RibbonItemsDirective;\n}(ComplexBase));\nexport { RibbonItemsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `RibbonContextualTabDirective` represent a contextual tab of the React Ribbon.\n * It must be contained in a Ribbon component(`RibbonComponent`).\n * ```tsx\n * <RibbonComponent>\n * <RibbonContextualTabsDirective>\n * <RibbonContextualTabDirective></RibbonContextualTabDirective>\n * <RibbonContextualTabDirective></RibbonContextualTabDirective>\n * <RibbonContextualTabsDirective>\n * </RibbonComponent>\n * ```\n */\nvar RibbonContextualTabDirective = /** @class */ (function (_super) {\n __extends(RibbonContextualTabDirective, _super);\n function RibbonContextualTabDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RibbonContextualTabDirective.moduleName = 'ribbonContextualTab';\n return RibbonContextualTabDirective;\n}(ComplexBase));\nexport { RibbonContextualTabDirective };\nvar RibbonContextualTabsDirective = /** @class */ (function (_super) {\n __extends(RibbonContextualTabsDirective, _super);\n function RibbonContextualTabsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n RibbonContextualTabsDirective.propertyName = 'contextualTabs';\n RibbonContextualTabsDirective.moduleName = 'ribbonContextualTabs';\n return RibbonContextualTabsDirective;\n}(ComplexBase));\nexport { RibbonContextualTabsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { Ribbon } from '@syncfusion/ej2-ribbon';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Ribbon Component\n * ```tsx\n * <RibbonComponent></RibbonComponent>\n * ```\n */\nvar RibbonComponent = /** @class */ (function (_super) {\n __extends(RibbonComponent, _super);\n function RibbonComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.directivekeys = { 'ribbonTabs': { 'ribbonTab': { 'ribbonGroups': { 'ribbonGroup': { 'ribbonCollections': { 'ribbonCollection': { 'ribbonItems': 'ribbonItem' } } } } } }, 'ribbonContextualTabs': { 'ribbonContextualTab': { 'ribbonTabs': { 'ribbonTab': { 'ribbonGroups': { 'ribbonGroup': { 'ribbonCollections': { 'ribbonCollection': { 'ribbonItems': 'ribbonItem' } } } } } } } } };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n RibbonComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return RibbonComponent;\n}(Ribbon));\nexport { RibbonComponent };\napplyMixins(RibbonComponent, [ComponentBase, React.Component]);\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","RibbonTabDirective","_super","apply","arguments","moduleName","ComplexBase","RibbonTabsDirective","propertyName","RibbonGroupDirective","RibbonGroupsDirective","RibbonCollectionDirective","RibbonCollectionsDirective","RibbonItemDirective","RibbonItemsDirective","RibbonContextualTabDirective","RibbonContextualTabsDirective","RibbonComponent","props","_this","call","initRenderCalled","checkInjectedModules","directivekeys","ribbonTabs","ribbonTab","ribbonGroups","ribbonGroup","ribbonCollections","ribbonCollection","ribbonItems","ribbonContextualTabs","ribbonContextualTab","statelessTemplateProps","templateProps","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","Ribbon","ej2ReactBase","ComponentBase","React.Component"],"mappings":"qXAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAcxCK,EAAoC,SAAUC,GAE9C,SAASD,IACL,OAAkB,OAAXC,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAG/D,OALAX,EAAUe,EAAoBC,GAI9BD,EAAmBI,WAAa,YACzBJ,GACTK,eAEEC,EAAqC,SAAUL,GAE/C,SAASK,IACL,OAAkB,OAAXL,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,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e,EAAgBC,GACrB,IAAIC,EAAQjB,EAAOkB,KAAKvB,KAAMqB,IAAUrB,KAQxC,OAPAsB,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMI,eAAkBC,YAAgBC,WAAeC,cAAkBC,aAAiBC,mBAAuBC,kBAAsBC,YAAe,mBAA0BC,sBAA0BC,qBAAyBR,YAAgBC,WAAeC,cAAkBC,aAAiBC,mBAAuBC,kBAAsBC,YAAe,sBACjWX,EAAMc,uBAAyB,KAC/Bd,EAAMe,cAAgB,KACtBf,EAAMgB,iBAAkB,EACxBhB,EAAMiB,WACCjB,EAWX,OArBAjC,EAAU+B,EAAiBf,GAY3Be,EAAgBlB,UAAUsC,OAAS,WAC/B,KAAMxC,KAAKyC,UAAYzC,KAAKwB,kBAAqBxB,KAAK0C,aAAgB1C,KAAK2C,oBAKvE,OAAOC,gBAAoB,MAAO5C,KAAK6C,0BAA2BC,OAAO9C,KAAKqB,MAAM0B,SAAU/C,KAAKuC,UAJnGlC,EAAOH,UAAUsC,OAAOjB,KAAKvB,MAC7BA,KAAKwB,kBAAmB,GAMzBJ,GACT4B,UACFC,cACY7B,GAAkB8B,gBAAeC"}
|
|
@@ -2,18 +2,6 @@ import { ComplexBase, ComponentBase, applyMixins } from '@syncfusion/ej2-react-b
|
|
|
2
2
|
import { Component, createElement } from 'react';
|
|
3
3
|
import { Ribbon } from '@syncfusion/ej2-ribbon';
|
|
4
4
|
|
|
5
|
-
/**
|
|
6
|
-
* `RibbonTabDirective` represent a tab of the React Ribbon.
|
|
7
|
-
* It must be contained in a Ribbon component(`RibbonComponent`).
|
|
8
|
-
* ```tsx
|
|
9
|
-
* <RibbonComponent>
|
|
10
|
-
* <RibbonTabsDirective>
|
|
11
|
-
* <RibbonTabDirective></RibbonTabDirective>
|
|
12
|
-
* <RibbonTabDirective></RibbonTabDirective>
|
|
13
|
-
* <RibbonTabsDirective>
|
|
14
|
-
* </RibbonComponent>
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
5
|
class RibbonTabDirective extends ComplexBase {
|
|
18
6
|
}
|
|
19
7
|
RibbonTabDirective.moduleName = 'ribbonTab';
|
|
@@ -22,22 +10,6 @@ class RibbonTabsDirective extends ComplexBase {
|
|
|
22
10
|
RibbonTabsDirective.propertyName = 'tabs';
|
|
23
11
|
RibbonTabsDirective.moduleName = 'ribbonTabs';
|
|
24
12
|
|
|
25
|
-
/**
|
|
26
|
-
* `RibbonGroupDirective` represent a group in the React Ribbon.
|
|
27
|
-
* ```tsx
|
|
28
|
-
* <RibbonComponent>
|
|
29
|
-
* <RibbonTabsDirective>
|
|
30
|
-
* <RibbonTabDirective></RibbonTabDirective>
|
|
31
|
-
* <RibbonTabDirective>
|
|
32
|
-
* <RibbonGroupsDirective>
|
|
33
|
-
* <RibbonGroupDirective></RibbonGroupDirective>
|
|
34
|
-
* <RibbonGroupDirective></RibbonGroupDirective>
|
|
35
|
-
* </RibbonGroupsDirective>
|
|
36
|
-
* </RibbonTabDirective>
|
|
37
|
-
* <RibbonTabsDirective>
|
|
38
|
-
* </RibbonComponent>
|
|
39
|
-
* ```
|
|
40
|
-
*/
|
|
41
13
|
class RibbonGroupDirective extends ComplexBase {
|
|
42
14
|
}
|
|
43
15
|
RibbonGroupDirective.moduleName = 'ribbonGroup';
|
|
@@ -46,26 +18,6 @@ class RibbonGroupsDirective extends ComplexBase {
|
|
|
46
18
|
RibbonGroupsDirective.propertyName = 'groups';
|
|
47
19
|
RibbonGroupsDirective.moduleName = 'ribbonGroups';
|
|
48
20
|
|
|
49
|
-
/**
|
|
50
|
-
* `RibbonCollectionDirective` represent a collection in the React Ribbon.
|
|
51
|
-
* ```tsx
|
|
52
|
-
* <RibbonComponent>
|
|
53
|
-
* <RibbonTabsDirective>
|
|
54
|
-
* <RibbonTabDirective></RibbonTabDirective>
|
|
55
|
-
* <RibbonTabDirective>
|
|
56
|
-
* <RibbonGroupsDirective>
|
|
57
|
-
* <RibbonGroupDirective>
|
|
58
|
-
* <RibbonCollectionsDirective>
|
|
59
|
-
* <RibbonCollectionDirective></RibbonCollectionDirective>
|
|
60
|
-
* <RibbonCollectionDirective></RibbonCollectionDirective>
|
|
61
|
-
* </RibbonCollectionsDirective>
|
|
62
|
-
* </RibbonGroupDirective>
|
|
63
|
-
* </RibbonGroupsDirective>
|
|
64
|
-
* </RibbonTabDirective>
|
|
65
|
-
* <RibbonTabsDirective>
|
|
66
|
-
* </RibbonComponent>
|
|
67
|
-
* ```
|
|
68
|
-
*/
|
|
69
21
|
class RibbonCollectionDirective extends ComplexBase {
|
|
70
22
|
}
|
|
71
23
|
RibbonCollectionDirective.moduleName = 'ribbonCollection';
|
|
@@ -74,37 +26,33 @@ class RibbonCollectionsDirective extends ComplexBase {
|
|
|
74
26
|
RibbonCollectionsDirective.propertyName = 'collections';
|
|
75
27
|
RibbonCollectionsDirective.moduleName = 'ribbonCollections';
|
|
76
28
|
|
|
29
|
+
class RibbonItemDirective extends ComplexBase {
|
|
30
|
+
}
|
|
31
|
+
RibbonItemDirective.moduleName = 'ribbonItem';
|
|
32
|
+
class RibbonItemsDirective extends ComplexBase {
|
|
33
|
+
}
|
|
34
|
+
RibbonItemsDirective.propertyName = 'items';
|
|
35
|
+
RibbonItemsDirective.moduleName = 'ribbonItems';
|
|
36
|
+
|
|
77
37
|
/**
|
|
78
|
-
* `
|
|
38
|
+
* `RibbonContextualTabDirective` represent a contextual tab of the React Ribbon.
|
|
39
|
+
* It must be contained in a Ribbon component(`RibbonComponent`).
|
|
79
40
|
* ```tsx
|
|
80
41
|
* <RibbonComponent>
|
|
81
|
-
* <
|
|
82
|
-
* <
|
|
83
|
-
* <
|
|
84
|
-
*
|
|
85
|
-
* <RibbonGroupDirective>
|
|
86
|
-
* <RibbonCollectionsDirective>
|
|
87
|
-
* <RibbonCollectionDirective>
|
|
88
|
-
* <RibbonItemsDirective>
|
|
89
|
-
* <RibbonItemDirective></RibbonItemDirective>
|
|
90
|
-
* <RibbonItemDirective></RibbonItemDirective>
|
|
91
|
-
* </RibbonItemsDirective>
|
|
92
|
-
* </RibbonCollectionDirective>
|
|
93
|
-
* </RibbonCollectionsDirective>
|
|
94
|
-
* </RibbonGroupDirective>
|
|
95
|
-
* </RibbonGroupsDirective>
|
|
96
|
-
* </RibbonTabDirective>
|
|
97
|
-
* <RibbonTabsDirective>
|
|
42
|
+
* <RibbonContextualTabsDirective>
|
|
43
|
+
* <RibbonContextualTabDirective></RibbonContextualTabDirective>
|
|
44
|
+
* <RibbonContextualTabDirective></RibbonContextualTabDirective>
|
|
45
|
+
* <RibbonContextualTabsDirective>
|
|
98
46
|
* </RibbonComponent>
|
|
99
47
|
* ```
|
|
100
48
|
*/
|
|
101
|
-
class
|
|
49
|
+
class RibbonContextualTabDirective extends ComplexBase {
|
|
102
50
|
}
|
|
103
|
-
|
|
104
|
-
class
|
|
51
|
+
RibbonContextualTabDirective.moduleName = 'ribbonContextualTab';
|
|
52
|
+
class RibbonContextualTabsDirective extends ComplexBase {
|
|
105
53
|
}
|
|
106
|
-
|
|
107
|
-
|
|
54
|
+
RibbonContextualTabsDirective.propertyName = 'contextualTabs';
|
|
55
|
+
RibbonContextualTabsDirective.moduleName = 'ribbonContextualTabs';
|
|
108
56
|
|
|
109
57
|
/**
|
|
110
58
|
* Represents the React Ribbon Component
|
|
@@ -117,7 +65,7 @@ class RibbonComponent extends Ribbon {
|
|
|
117
65
|
super(props);
|
|
118
66
|
this.initRenderCalled = false;
|
|
119
67
|
this.checkInjectedModules = true;
|
|
120
|
-
this.directivekeys = { 'ribbonTabs': { 'ribbonTab': { 'ribbonGroups': { 'ribbonGroup': { 'ribbonCollections': { 'ribbonCollection': { 'ribbonItems': 'ribbonItem' } } } } } } };
|
|
68
|
+
this.directivekeys = { 'ribbonTabs': { 'ribbonTab': { 'ribbonGroups': { 'ribbonGroup': { 'ribbonCollections': { 'ribbonCollection': { 'ribbonItems': 'ribbonItem' } } } } } }, 'ribbonContextualTabs': { 'ribbonContextualTab': { 'ribbonTabs': { 'ribbonTab': { 'ribbonGroups': { 'ribbonGroup': { 'ribbonCollections': { 'ribbonCollection': { 'ribbonItems': 'ribbonItem' } } } } } } } } };
|
|
121
69
|
this.statelessTemplateProps = null;
|
|
122
70
|
this.templateProps = null;
|
|
123
71
|
this.immediateRender = false;
|
|
@@ -135,7 +83,7 @@ class RibbonComponent extends Ribbon {
|
|
|
135
83
|
}
|
|
136
84
|
applyMixins(RibbonComponent, [ComponentBase, Component]);
|
|
137
85
|
|
|
138
|
-
export { RibbonTabDirective, RibbonTabsDirective, RibbonGroupDirective, RibbonGroupsDirective, RibbonCollectionDirective, RibbonCollectionsDirective, RibbonItemDirective, RibbonItemsDirective, RibbonComponent };
|
|
86
|
+
export { RibbonTabDirective, RibbonTabsDirective, RibbonGroupDirective, RibbonGroupsDirective, RibbonCollectionDirective, RibbonCollectionsDirective, RibbonItemDirective, RibbonItemsDirective, RibbonContextualTabDirective, RibbonContextualTabsDirective, RibbonComponent };
|
|
139
87
|
export * from '@syncfusion/ej2-ribbon';
|
|
140
88
|
export { Inject } from '@syncfusion/ej2-react-base';
|
|
141
89
|
//# sourceMappingURL=ej2-react-ribbon.es2015.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-react-ribbon.es2015.js","sources":["../src/es6/ribbon/tabs-directive.js","../src/es6/ribbon/groups-directive.js","../src/es6/ribbon/collections-directive.js","../src/es6/ribbon/items-directive.js","../src/es6/ribbon/ribbon.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\
|
|
1
|
+
{"version":3,"file":"ej2-react-ribbon.es2015.js","sources":["../src/es6/ribbon/tabs-directive.js","../src/es6/ribbon/groups-directive.js","../src/es6/ribbon/collections-directive.js","../src/es6/ribbon/items-directive.js","../src/es6/ribbon/contextualtabs-directive.js","../src/es6/ribbon/ribbon.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\nexport class RibbonTabDirective extends ComplexBase {\n}\nRibbonTabDirective.moduleName = 'ribbonTab';\nexport class RibbonTabsDirective extends ComplexBase {\n}\nRibbonTabsDirective.propertyName = 'tabs';\nRibbonTabsDirective.moduleName = 'ribbonTabs';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\nexport class RibbonGroupDirective extends ComplexBase {\n}\nRibbonGroupDirective.moduleName = 'ribbonGroup';\nexport class RibbonGroupsDirective extends ComplexBase {\n}\nRibbonGroupsDirective.propertyName = 'groups';\nRibbonGroupsDirective.moduleName = 'ribbonGroups';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\nexport class RibbonCollectionDirective extends ComplexBase {\n}\nRibbonCollectionDirective.moduleName = 'ribbonCollection';\nexport class RibbonCollectionsDirective extends ComplexBase {\n}\nRibbonCollectionsDirective.propertyName = 'collections';\nRibbonCollectionsDirective.moduleName = 'ribbonCollections';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\nexport class RibbonItemDirective extends ComplexBase {\n}\nRibbonItemDirective.moduleName = 'ribbonItem';\nexport class RibbonItemsDirective extends ComplexBase {\n}\nRibbonItemsDirective.propertyName = 'items';\nRibbonItemsDirective.moduleName = 'ribbonItems';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `RibbonContextualTabDirective` represent a contextual tab of the React Ribbon.\n * It must be contained in a Ribbon component(`RibbonComponent`).\n * ```tsx\n * <RibbonComponent>\n * <RibbonContextualTabsDirective>\n * <RibbonContextualTabDirective></RibbonContextualTabDirective>\n * <RibbonContextualTabDirective></RibbonContextualTabDirective>\n * <RibbonContextualTabsDirective>\n * </RibbonComponent>\n * ```\n */\nexport class RibbonContextualTabDirective extends ComplexBase {\n}\nRibbonContextualTabDirective.moduleName = 'ribbonContextualTab';\nexport class RibbonContextualTabsDirective extends ComplexBase {\n}\nRibbonContextualTabsDirective.propertyName = 'contextualTabs';\nRibbonContextualTabsDirective.moduleName = 'ribbonContextualTabs';\n","import * as React from 'react';\nimport { Ribbon } from '@syncfusion/ej2-ribbon';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Ribbon Component\n * ```tsx\n * <RibbonComponent></RibbonComponent>\n * ```\n */\nexport class RibbonComponent extends Ribbon {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.directivekeys = { 'ribbonTabs': { 'ribbonTab': { 'ribbonGroups': { 'ribbonGroup': { 'ribbonCollections': { 'ribbonCollection': { 'ribbonItems': 'ribbonItem' } } } } } }, 'ribbonContextualTabs': { 'ribbonContextualTab': { 'ribbonTabs': { 'ribbonTab': { 'ribbonGroups': { 'ribbonGroup': { 'ribbonCollections': { 'ribbonCollection': { 'ribbonItems': 'ribbonItem' } } } } } } } } };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = false;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(RibbonComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;AACO,MAAM,kBAAkB,SAAS,WAAW,CAAC;CACnD;AACD,kBAAkB,CAAC,UAAU,GAAG,WAAW,CAAC;AAC5C,AAAO,MAAM,mBAAmB,SAAS,WAAW,CAAC;CACpD;AACD,mBAAmB,CAAC,YAAY,GAAG,MAAM,CAAC;AAC1C,mBAAmB,CAAC,UAAU,GAAG,YAAY,CAAC;;ACNvC,MAAM,oBAAoB,SAAS,WAAW,CAAC;CACrD;AACD,oBAAoB,CAAC,UAAU,GAAG,aAAa,CAAC;AAChD,AAAO,MAAM,qBAAqB,SAAS,WAAW,CAAC;CACtD;AACD,qBAAqB,CAAC,YAAY,GAAG,QAAQ,CAAC;AAC9C,qBAAqB,CAAC,UAAU,GAAG,cAAc,CAAC;;ACN3C,MAAM,yBAAyB,SAAS,WAAW,CAAC;CAC1D;AAC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AE,kBAAkB,EAAE,EAAE,aAAa,EAAE,YAAY,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;QAC/X,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC1B,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;KACrB;IACD,MAAM,GAAG;QACL,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;YAC5F,KAAK,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;SAChC;aACI;YACD,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;SAChH;KACJ;CACJ;AACD,WAAW,CAAC,eAAe,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-react-ribbon@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-react-ribbon@
|
|
3
|
+
"_id": "@syncfusion/ej2-react-ribbon@21.29.0",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-TcJk8/bRVhHeQETiO4CNC48Qd45Rr34eRp5X30uRsbV6QZJsY1T8rjGT/DjeF/KyQcpTPBpmdyLpVqn4+q1h9w==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-react-ribbon",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-react-ribbon/-/ej2-react-ribbon-21.29.0.tgz",
|
|
23
|
+
"_shasum": "1081f94a0fd96120d275412b81a41a5aaf8dc6f6",
|
|
24
24
|
"_spec": "@syncfusion/ej2-react-ribbon@*",
|
|
25
|
-
"_where": "/jenkins/workspace/elease-
|
|
25
|
+
"_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
|
|
26
26
|
"author": {
|
|
27
27
|
"name": "Syncfusion Inc."
|
|
28
28
|
},
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~
|
|
35
|
-
"@syncfusion/ej2-react-base": "~
|
|
36
|
-
"@syncfusion/ej2-ribbon": "
|
|
34
|
+
"@syncfusion/ej2-base": "~25.1.35",
|
|
35
|
+
"@syncfusion/ej2-react-base": "~25.1.35",
|
|
36
|
+
"@syncfusion/ej2-ribbon": "25.1.35"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "Essential JS 2 Component for React",
|
|
@@ -53,6 +53,6 @@
|
|
|
53
53
|
"type": "git",
|
|
54
54
|
"url": "https://github.com/syncfusion/ej2-react-ui-components.git"
|
|
55
55
|
},
|
|
56
|
-
"version": "
|
|
56
|
+
"version": "25.1.35",
|
|
57
57
|
"sideEffects": false
|
|
58
58
|
}
|
|
@@ -1,25 +1,5 @@
|
|
|
1
1
|
import { ComplexBase } from '@syncfusion/ej2-react-base';
|
|
2
2
|
import { RibbonCollectionModel } from '@syncfusion/ej2-ribbon';
|
|
3
|
-
/**
|
|
4
|
-
* `RibbonCollectionDirective` represent a collection in the React Ribbon.
|
|
5
|
-
* ```tsx
|
|
6
|
-
* <RibbonComponent>
|
|
7
|
-
* <RibbonTabsDirective>
|
|
8
|
-
* <RibbonTabDirective></RibbonTabDirective>
|
|
9
|
-
* <RibbonTabDirective>
|
|
10
|
-
* <RibbonGroupsDirective>
|
|
11
|
-
* <RibbonGroupDirective>
|
|
12
|
-
* <RibbonCollectionsDirective>
|
|
13
|
-
* <RibbonCollectionDirective></RibbonCollectionDirective>
|
|
14
|
-
* <RibbonCollectionDirective></RibbonCollectionDirective>
|
|
15
|
-
* </RibbonCollectionsDirective>
|
|
16
|
-
* </RibbonGroupDirective>
|
|
17
|
-
* </RibbonGroupsDirective>
|
|
18
|
-
* </RibbonTabDirective>
|
|
19
|
-
* <RibbonTabsDirective>
|
|
20
|
-
* </RibbonComponent>
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
3
|
export declare class RibbonCollectionDirective extends ComplexBase<RibbonCollectionModel & {
|
|
24
4
|
children?: React.ReactNode;
|
|
25
5
|
}, RibbonCollectionModel> {
|
|
@@ -12,26 +12,6 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
12
12
|
};
|
|
13
13
|
})();
|
|
14
14
|
import { ComplexBase } from '@syncfusion/ej2-react-base';
|
|
15
|
-
/**
|
|
16
|
-
* `RibbonCollectionDirective` represent a collection in the React Ribbon.
|
|
17
|
-
* ```tsx
|
|
18
|
-
* <RibbonComponent>
|
|
19
|
-
* <RibbonTabsDirective>
|
|
20
|
-
* <RibbonTabDirective></RibbonTabDirective>
|
|
21
|
-
* <RibbonTabDirective>
|
|
22
|
-
* <RibbonGroupsDirective>
|
|
23
|
-
* <RibbonGroupDirective>
|
|
24
|
-
* <RibbonCollectionsDirective>
|
|
25
|
-
* <RibbonCollectionDirective></RibbonCollectionDirective>
|
|
26
|
-
* <RibbonCollectionDirective></RibbonCollectionDirective>
|
|
27
|
-
* </RibbonCollectionsDirective>
|
|
28
|
-
* </RibbonGroupDirective>
|
|
29
|
-
* </RibbonGroupsDirective>
|
|
30
|
-
* </RibbonTabDirective>
|
|
31
|
-
* <RibbonTabsDirective>
|
|
32
|
-
* </RibbonComponent>
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
15
|
var RibbonCollectionDirective = /** @class */ (function (_super) {
|
|
36
16
|
__extends(RibbonCollectionDirective, _super);
|
|
37
17
|
function RibbonCollectionDirective() {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComplexBase } from '@syncfusion/ej2-react-base';
|
|
2
|
+
import { RibbonContextualTabSettingsModel } from '@syncfusion/ej2-ribbon';
|
|
3
|
+
/**
|
|
4
|
+
* `RibbonContextualTabDirective` represent a contextual tab of the React Ribbon.
|
|
5
|
+
* It must be contained in a Ribbon component(`RibbonComponent`).
|
|
6
|
+
* ```tsx
|
|
7
|
+
* <RibbonComponent>
|
|
8
|
+
* <RibbonContextualTabsDirective>
|
|
9
|
+
* <RibbonContextualTabDirective></RibbonContextualTabDirective>
|
|
10
|
+
* <RibbonContextualTabDirective></RibbonContextualTabDirective>
|
|
11
|
+
* <RibbonContextualTabsDirective>
|
|
12
|
+
* </RibbonComponent>
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare class RibbonContextualTabDirective extends ComplexBase<RibbonContextualTabSettingsModel & {
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
}, RibbonContextualTabSettingsModel> {
|
|
18
|
+
static moduleName: string;
|
|
19
|
+
}
|
|
20
|
+
export declare class RibbonContextualTabsDirective extends ComplexBase<{}, {}> {
|
|
21
|
+
static propertyName: string;
|
|
22
|
+
static moduleName: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
import { ComplexBase } from '@syncfusion/ej2-react-base';
|
|
15
|
+
/**
|
|
16
|
+
* `RibbonContextualTabDirective` represent a contextual tab of the React Ribbon.
|
|
17
|
+
* It must be contained in a Ribbon component(`RibbonComponent`).
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <RibbonComponent>
|
|
20
|
+
* <RibbonContextualTabsDirective>
|
|
21
|
+
* <RibbonContextualTabDirective></RibbonContextualTabDirective>
|
|
22
|
+
* <RibbonContextualTabDirective></RibbonContextualTabDirective>
|
|
23
|
+
* <RibbonContextualTabsDirective>
|
|
24
|
+
* </RibbonComponent>
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
var RibbonContextualTabDirective = /** @class */ (function (_super) {
|
|
28
|
+
__extends(RibbonContextualTabDirective, _super);
|
|
29
|
+
function RibbonContextualTabDirective() {
|
|
30
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
31
|
+
}
|
|
32
|
+
RibbonContextualTabDirective.moduleName = 'ribbonContextualTab';
|
|
33
|
+
return RibbonContextualTabDirective;
|
|
34
|
+
}(ComplexBase));
|
|
35
|
+
export { RibbonContextualTabDirective };
|
|
36
|
+
var RibbonContextualTabsDirective = /** @class */ (function (_super) {
|
|
37
|
+
__extends(RibbonContextualTabsDirective, _super);
|
|
38
|
+
function RibbonContextualTabsDirective() {
|
|
39
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
40
|
+
}
|
|
41
|
+
RibbonContextualTabsDirective.propertyName = 'contextualTabs';
|
|
42
|
+
RibbonContextualTabsDirective.moduleName = 'ribbonContextualTabs';
|
|
43
|
+
return RibbonContextualTabsDirective;
|
|
44
|
+
}(ComplexBase));
|
|
45
|
+
export { RibbonContextualTabsDirective };
|
|
@@ -1,21 +1,5 @@
|
|
|
1
1
|
import { ComplexBase } from '@syncfusion/ej2-react-base';
|
|
2
2
|
import { RibbonGroupModel } from '@syncfusion/ej2-ribbon';
|
|
3
|
-
/**
|
|
4
|
-
* `RibbonGroupDirective` represent a group in the React Ribbon.
|
|
5
|
-
* ```tsx
|
|
6
|
-
* <RibbonComponent>
|
|
7
|
-
* <RibbonTabsDirective>
|
|
8
|
-
* <RibbonTabDirective></RibbonTabDirective>
|
|
9
|
-
* <RibbonTabDirective>
|
|
10
|
-
* <RibbonGroupsDirective>
|
|
11
|
-
* <RibbonGroupDirective></RibbonGroupDirective>
|
|
12
|
-
* <RibbonGroupDirective></RibbonGroupDirective>
|
|
13
|
-
* </RibbonGroupsDirective>
|
|
14
|
-
* </RibbonTabDirective>
|
|
15
|
-
* <RibbonTabsDirective>
|
|
16
|
-
* </RibbonComponent>
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
3
|
export declare class RibbonGroupDirective extends ComplexBase<RibbonGroupModel & {
|
|
20
4
|
children?: React.ReactNode;
|
|
21
5
|
}, RibbonGroupModel> {
|
|
@@ -12,22 +12,6 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
12
12
|
};
|
|
13
13
|
})();
|
|
14
14
|
import { ComplexBase } from '@syncfusion/ej2-react-base';
|
|
15
|
-
/**
|
|
16
|
-
* `RibbonGroupDirective` represent a group in the React Ribbon.
|
|
17
|
-
* ```tsx
|
|
18
|
-
* <RibbonComponent>
|
|
19
|
-
* <RibbonTabsDirective>
|
|
20
|
-
* <RibbonTabDirective></RibbonTabDirective>
|
|
21
|
-
* <RibbonTabDirective>
|
|
22
|
-
* <RibbonGroupsDirective>
|
|
23
|
-
* <RibbonGroupDirective></RibbonGroupDirective>
|
|
24
|
-
* <RibbonGroupDirective></RibbonGroupDirective>
|
|
25
|
-
* </RibbonGroupsDirective>
|
|
26
|
-
* </RibbonTabDirective>
|
|
27
|
-
* <RibbonTabsDirective>
|
|
28
|
-
* </RibbonComponent>
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
15
|
var RibbonGroupDirective = /** @class */ (function (_super) {
|
|
32
16
|
__extends(RibbonGroupDirective, _super);
|
|
33
17
|
function RibbonGroupDirective() {
|
package/src/ribbon/index.d.ts
CHANGED
package/src/ribbon/index.js
CHANGED
|
@@ -3,30 +3,6 @@ import { RibbonItemModel } from '@syncfusion/ej2-ribbon';
|
|
|
3
3
|
export interface RibbonItemDirTypecast {
|
|
4
4
|
itemTemplate?: string | Function | any;
|
|
5
5
|
}
|
|
6
|
-
/**
|
|
7
|
-
* `RibbonItemDirective` represent a item in the React Ribbon.
|
|
8
|
-
* ```tsx
|
|
9
|
-
* <RibbonComponent>
|
|
10
|
-
* <RibbonTabsDirective>
|
|
11
|
-
* <RibbonTabDirective></RibbonTabDirective>
|
|
12
|
-
* <RibbonTabDirective>
|
|
13
|
-
* <RibbonGroupsDirective>
|
|
14
|
-
* <RibbonGroupDirective>
|
|
15
|
-
* <RibbonCollectionsDirective>
|
|
16
|
-
* <RibbonCollectionDirective>
|
|
17
|
-
* <RibbonItemsDirective>
|
|
18
|
-
* <RibbonItemDirective></RibbonItemDirective>
|
|
19
|
-
* <RibbonItemDirective></RibbonItemDirective>
|
|
20
|
-
* </RibbonItemsDirective>
|
|
21
|
-
* </RibbonCollectionDirective>
|
|
22
|
-
* </RibbonCollectionsDirective>
|
|
23
|
-
* </RibbonGroupDirective>
|
|
24
|
-
* </RibbonGroupsDirective>
|
|
25
|
-
* </RibbonTabDirective>
|
|
26
|
-
* <RibbonTabsDirective>
|
|
27
|
-
* </RibbonComponent>
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
6
|
export declare class RibbonItemDirective extends ComplexBase<RibbonItemModel | RibbonItemDirTypecast & {
|
|
31
7
|
children?: React.ReactNode;
|
|
32
8
|
}, RibbonItemModel | RibbonItemDirTypecast> {
|
|
@@ -12,30 +12,6 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
12
12
|
};
|
|
13
13
|
})();
|
|
14
14
|
import { ComplexBase } from '@syncfusion/ej2-react-base';
|
|
15
|
-
/**
|
|
16
|
-
* `RibbonItemDirective` represent a item in the React Ribbon.
|
|
17
|
-
* ```tsx
|
|
18
|
-
* <RibbonComponent>
|
|
19
|
-
* <RibbonTabsDirective>
|
|
20
|
-
* <RibbonTabDirective></RibbonTabDirective>
|
|
21
|
-
* <RibbonTabDirective>
|
|
22
|
-
* <RibbonGroupsDirective>
|
|
23
|
-
* <RibbonGroupDirective>
|
|
24
|
-
* <RibbonCollectionsDirective>
|
|
25
|
-
* <RibbonCollectionDirective>
|
|
26
|
-
* <RibbonItemsDirective>
|
|
27
|
-
* <RibbonItemDirective></RibbonItemDirective>
|
|
28
|
-
* <RibbonItemDirective></RibbonItemDirective>
|
|
29
|
-
* </RibbonItemsDirective>
|
|
30
|
-
* </RibbonCollectionDirective>
|
|
31
|
-
* </RibbonCollectionsDirective>
|
|
32
|
-
* </RibbonGroupDirective>
|
|
33
|
-
* </RibbonGroupsDirective>
|
|
34
|
-
* </RibbonTabDirective>
|
|
35
|
-
* <RibbonTabsDirective>
|
|
36
|
-
* </RibbonComponent>
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
15
|
var RibbonItemDirective = /** @class */ (function (_super) {
|
|
40
16
|
__extends(RibbonItemDirective, _super);
|
|
41
17
|
function RibbonItemDirective() {
|
|
@@ -26,7 +26,7 @@ var RibbonComponent = /** @class */ (function (_super) {
|
|
|
26
26
|
var _this = _super.call(this, props) || this;
|
|
27
27
|
_this.initRenderCalled = false;
|
|
28
28
|
_this.checkInjectedModules = true;
|
|
29
|
-
_this.directivekeys = { 'ribbonTabs': { 'ribbonTab': { 'ribbonGroups': { 'ribbonGroup': { 'ribbonCollections': { 'ribbonCollection': { 'ribbonItems': 'ribbonItem' } } } } } } };
|
|
29
|
+
_this.directivekeys = { 'ribbonTabs': { 'ribbonTab': { 'ribbonGroups': { 'ribbonGroup': { 'ribbonCollections': { 'ribbonCollection': { 'ribbonItems': 'ribbonItem' } } } } } }, 'ribbonContextualTabs': { 'ribbonContextualTab': { 'ribbonTabs': { 'ribbonTab': { 'ribbonGroups': { 'ribbonGroup': { 'ribbonCollections': { 'ribbonCollection': { 'ribbonItems': 'ribbonItem' } } } } } } } } };
|
|
30
30
|
_this.statelessTemplateProps = null;
|
|
31
31
|
_this.templateProps = null;
|
|
32
32
|
_this.immediateRender = false;
|
|
@@ -1,17 +1,5 @@
|
|
|
1
1
|
import { ComplexBase } from '@syncfusion/ej2-react-base';
|
|
2
2
|
import { RibbonTabModel } from '@syncfusion/ej2-ribbon';
|
|
3
|
-
/**
|
|
4
|
-
* `RibbonTabDirective` represent a tab of the React Ribbon.
|
|
5
|
-
* It must be contained in a Ribbon component(`RibbonComponent`).
|
|
6
|
-
* ```tsx
|
|
7
|
-
* <RibbonComponent>
|
|
8
|
-
* <RibbonTabsDirective>
|
|
9
|
-
* <RibbonTabDirective></RibbonTabDirective>
|
|
10
|
-
* <RibbonTabDirective></RibbonTabDirective>
|
|
11
|
-
* <RibbonTabsDirective>
|
|
12
|
-
* </RibbonComponent>
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
3
|
export declare class RibbonTabDirective extends ComplexBase<RibbonTabModel & {
|
|
16
4
|
children?: React.ReactNode;
|
|
17
5
|
}, RibbonTabModel> {
|