@syncfusion/ej2-react-layouts 24.2.4 → 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 +20 -3
- package/diConfig.json +99 -5
- package/dist/ej2-react-layouts.min.js +2 -2
- package/dist/ej2-react-layouts.umd.min.js +2 -2
- package/dist/ej2-react-layouts.umd.min.js.map +1 -1
- package/dist/es6/ej2-react-layouts.es2015.js +51 -2
- package/dist/es6/ej2-react-layouts.es2015.js.map +1 -1
- package/package.json +10 -12
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/timeline/index.d.ts +2 -0
- package/src/timeline/index.js +2 -0
- package/src/timeline/items-directive.d.ts +23 -0
- package/src/timeline/items-directive.js +45 -0
- package/src/timeline/timeline.component.d.ts +41 -0
- package/src/timeline/timeline.component.js +48 -0
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5.scss +1 -0
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric.scss +1 -0
- package/styles/fluent-dark.scss +1 -0
- package/styles/fluent.scss +1 -0
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast.scss +1 -0
- package/styles/material-dark.scss +1 -0
- package/styles/material.scss +1 -0
- package/styles/material3-dark.scss +1 -0
- package/styles/material3.scss +1 -0
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind.scss +1 -0
- package/styles/timeline/bootstrap-dark.css +1 -0
- package/styles/timeline/bootstrap-dark.scss +1 -0
- package/styles/timeline/bootstrap.css +1 -0
- package/styles/timeline/bootstrap.scss +1 -0
- package/styles/timeline/bootstrap4.css +1 -0
- package/styles/timeline/bootstrap4.scss +1 -0
- package/styles/timeline/bootstrap5-dark.css +1 -0
- package/styles/timeline/bootstrap5-dark.scss +1 -0
- package/styles/timeline/bootstrap5.css +1 -0
- package/styles/timeline/bootstrap5.scss +1 -0
- package/styles/timeline/fabric-dark.css +1 -0
- package/styles/timeline/fabric-dark.scss +1 -0
- package/styles/timeline/fabric.css +1 -0
- package/styles/timeline/fabric.scss +1 -0
- package/styles/timeline/fluent-dark.css +1 -0
- package/styles/timeline/fluent-dark.scss +1 -0
- package/styles/timeline/fluent.css +1 -0
- package/styles/timeline/fluent.scss +1 -0
- package/styles/timeline/highcontrast-light.css +1 -0
- package/styles/timeline/highcontrast-light.scss +1 -0
- package/styles/timeline/highcontrast.css +1 -0
- package/styles/timeline/highcontrast.scss +1 -0
- package/styles/timeline/material-dark.css +1 -0
- package/styles/timeline/material-dark.scss +1 -0
- package/styles/timeline/material.css +1 -0
- package/styles/timeline/material.scss +1 -0
- package/styles/timeline/material3-dark.css +1 -0
- package/styles/timeline/material3-dark.scss +2 -0
- package/styles/timeline/material3.css +1 -0
- package/styles/timeline/material3.scss +2 -0
- package/styles/timeline/tailwind-dark.css +1 -0
- package/styles/timeline/tailwind-dark.scss +1 -0
- package/styles/timeline/tailwind.css +1 -0
- package/styles/timeline/tailwind.scss +1 -0
- package/timeline.d.ts +4 -0
- package/timeline.js +4 -0
package/CHANGELOG.md
CHANGED
@@ -2,11 +2,28 @@
|
|
2
2
|
|
3
3
|
## [Unreleased]
|
4
4
|
|
5
|
-
###
|
5
|
+
### Timeline
|
6
6
|
|
7
|
-
|
7
|
+
The Timeline control enables users to display a series of data in chronological order, providing a visually compelling and user-friendly experience. This showcases user activities, tracking progress, narrating historical timelines, and more.
|
8
|
+
|
9
|
+
|
10
|
+
The Timeline component enables users to display a series of data in chronological order, providing a visually compelling and user-friendly experience. This showcases user activities, tracking progress, narrating historical timelines, and more.
|
11
|
+
|
12
|
+
|
13
|
+
#### Key features
|
14
|
+
|
15
|
+
- **Orientation** - Display items in a horizontal or vertical orientation.
|
16
|
+
- **Opposite content** - Display additional information opposite to the item content.
|
17
|
+
- **Items alignment** - Items' content and opposite content can be aligned - before, after, alternate, or alternate reverse.
|
18
|
+
- **Reverse timeline** - Shows the timeline items in the reverse order.
|
19
|
+
- **Templates** - Customize the default appearance, including styling the dot item, templated content, and more.
|
20
|
+
|
21
|
+
- **Orientation** - Display items in a horizontal or vertical orientation.
|
22
|
+
- **Opposite content** - Display additional information opposite to the item content.
|
23
|
+
- **Items alignment** - Items' content and opposite content can be aligned - before, after, alternate, or alternate reverse.
|
24
|
+
- **Reverse timeline** - Shows the timeline items in the reverse order.
|
25
|
+
- **Templates** - Customize the default appearance, including styling the dot item, templated content, and more.
|
8
26
|
|
9
|
-
- `#FB49154` - The console error in the Dashboard Layout component when resizing the browser window has been resolved.
|
10
27
|
|
11
28
|
## 20.4.48 (2023-02-01)
|
12
29
|
|
package/diConfig.json
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
"name": "Layouts",
|
3
3
|
"description": "Layout Components",
|
4
4
|
"keywords": {
|
5
|
-
"common": ["splitter", "split-panes", "split-layout", "split-view", "split-area", "resizable-splitter", "split-container","dashboardlayout","panels"],
|
6
|
-
"angular": ["angular-splitter", "ng-splitter", "angular-split-panes", "ng-split-panes", "angular-split-area", "angular-split-layout", "angular-split-view","angular-dashboardlayout"],
|
7
|
-
"react": ["react-splitter", "react-split-panes", "react-split-area", "react-split-view", "react-split-layout","react-dashboardlayout"],
|
8
|
-
"vue": ["vue-splitter", "vue-split-panes", "vue-split-area", "vue-split-view", "vue-split-layout", "vue-dashboardlayout"]
|
5
|
+
"common": ["splitter", "split-panes", "split-layout", "split-view", "split-area", "resizable-splitter", "split-container","dashboardlayout","panels", "timeline", "ej2-timeline"],
|
6
|
+
"angular": ["angular-splitter", "ng-splitter", "angular-split-panes", "ng-split-panes", "angular-split-area", "angular-split-layout", "angular-split-view","angular-dashboardlayout", "angular timeline", "ng-timeline"],
|
7
|
+
"react": ["react-splitter", "react-split-panes", "react-split-area", "react-split-view", "react-split-layout","react-dashboardlayout", "react-timeline"],
|
8
|
+
"vue": ["vue-splitter", "vue-split-panes", "vue-split-area", "vue-split-view", "vue-split-layout", "vue-dashboardlayout", "vue-timeline"]
|
9
9
|
},
|
10
10
|
"repository": {
|
11
11
|
"type": "git",
|
12
12
|
"url": "https://github.com/syncfusion/ej2-angular-layouts"
|
13
13
|
},
|
14
|
-
"eventInterfaces": ["CreatedEventArgs", "ResizeEventArgs", "ResizingEventArgs", "BeforeExpandEventArgs", "ExpandedEventArgs", "ChangeEventArgs", "DragStartArgs", "DraggedEventArgs", "DragStopArgs", "ResizeArgs"],
|
14
|
+
"eventInterfaces": ["CreatedEventArgs", "ResizeEventArgs", "ResizingEventArgs", "BeforeExpandEventArgs", "ExpandedEventArgs", "ChangeEventArgs", "DragStartArgs", "DraggedEventArgs", "DragStopArgs", "ResizeArgs", "TimelineRenderingEventArgs"],
|
15
15
|
"components": [ {
|
16
16
|
"baseClass": "Splitter",
|
17
17
|
"directoryName": "splitter",
|
@@ -208,6 +208,100 @@
|
|
208
208
|
}
|
209
209
|
],
|
210
210
|
"blazorType": "hybrid"
|
211
|
+
},
|
212
|
+
{
|
213
|
+
"baseClass": "Timeline",
|
214
|
+
"directoryName": "timeline",
|
215
|
+
"type": "container",
|
216
|
+
"defaultTag": "<div id='ej2Timeline'></div>",
|
217
|
+
"removeDuplicateClassName": true,
|
218
|
+
"preferredTag": "div",
|
219
|
+
"contentSelect": "div",
|
220
|
+
"blazorType": "native",
|
221
|
+
"blazorPlaceholder": "timeline",
|
222
|
+
"templateProperties": ["template", "content", "oppositeContent"],
|
223
|
+
"blazorTemplates":["template", "content", "oppositeContent"],
|
224
|
+
"comment": [
|
225
|
+
"/**",
|
226
|
+
" * Represents the EJ2 Angular Timeline Component.",
|
227
|
+
" * ```html",
|
228
|
+
" * <div ejs-timeline [items]='timelineItems'></div>",
|
229
|
+
" * ```",
|
230
|
+
" */"
|
231
|
+
],
|
232
|
+
"reactComment": [
|
233
|
+
"/**",
|
234
|
+
" * `TimelineComponent` represents the react Timeline Component.",
|
235
|
+
" * ```ts",
|
236
|
+
" * <TimelineComponent items={timelineItems} />",
|
237
|
+
" * ```",
|
238
|
+
" */"
|
239
|
+
],
|
240
|
+
"vueComment": [
|
241
|
+
"/**",
|
242
|
+
" * Represents the Essential JS 2 VueJS Timeline Component.",
|
243
|
+
" * ```html",
|
244
|
+
" * <ejs-timeline :items='timelineItems'></ejs-timeline>",
|
245
|
+
" * ```",
|
246
|
+
" */"
|
247
|
+
],
|
248
|
+
"tagDirective": [
|
249
|
+
{
|
250
|
+
"arrayDirectiveClassName": "items",
|
251
|
+
"directiveClassName": "item",
|
252
|
+
"propertyName": "items",
|
253
|
+
"baseClass": "TimelineItem",
|
254
|
+
"arrayDirectiveSelector": "ejs-timeline>e-items",
|
255
|
+
"directiveSelector": "ejs-timeline>e-items>e-item",
|
256
|
+
"directoryName": "timeline",
|
257
|
+
"aspArrayClassName": "TimelineItem",
|
258
|
+
"aspCollectionClassName": "Items",
|
259
|
+
"aspDirectiveSelector": "e-timeline-item",
|
260
|
+
"aspArrayDirectiveSelector": "e-timeline-items",
|
261
|
+
"comment": [
|
262
|
+
"/**",
|
263
|
+
" * 'e-timelineItem' directive represents a item of the Angular Timeline.",
|
264
|
+
" * It must be contained in a Timeline component(`ejs-timeline`). ",
|
265
|
+
" * ```html",
|
266
|
+
" * <ejs-timeline>",
|
267
|
+
" * <e-items>",
|
268
|
+
" * <e-item [dotCss]='e-icons e-folder' [content]='Item 1' />",
|
269
|
+
" * <e-item [dotCss]='e-icons e-folder' [content]='Item 2' />",
|
270
|
+
" * </e-items> ",
|
271
|
+
" * </ejs-timeline>",
|
272
|
+
" * ```",
|
273
|
+
" */"
|
274
|
+
],
|
275
|
+
"reactComment": [
|
276
|
+
"/**",
|
277
|
+
" * `ItemDirective` represents a item of the React Timeline. ",
|
278
|
+
" * It must be contained in a Timeline component(`TimelineComponent`). ",
|
279
|
+
" * ```tsx",
|
280
|
+
" * <TimelineComponent>",
|
281
|
+
" * <ItemsDirective>",
|
282
|
+
" * <ItemDirective dotCss= { 'e-icons e-folder' } content= { 'Item 1' } />",
|
283
|
+
" * <ItemDirective dotCss= { 'e-icons e-folder' } content= { 'Item 2' } />",
|
284
|
+
" * </ItemsDirective>",
|
285
|
+
" * </TimelineComponent>",
|
286
|
+
" * ```",
|
287
|
+
" */"
|
288
|
+
],
|
289
|
+
"vueComment": [
|
290
|
+
"/**",
|
291
|
+
" * 'e-timelineItem' directive represents a item of the Vue Timeline ",
|
292
|
+
" * It must be contained in a Timeline component(`ejs-timeline`). ",
|
293
|
+
" * ```html",
|
294
|
+
" * <ejs-timeline>",
|
295
|
+
" * <e-items>",
|
296
|
+
" * <e-item :dotCss='e-icons e-folder' :content='Item 1' />",
|
297
|
+
" * <e-item :dotCss='e-icons e-folder' :content='Item 2' />",
|
298
|
+
" * </e-items> ",
|
299
|
+
" * </ejs-timeline>",
|
300
|
+
" * ```",
|
301
|
+
" */"
|
302
|
+
]
|
303
|
+
}
|
304
|
+
]
|
211
305
|
}
|
212
306
|
]
|
213
307
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
/*!
|
2
2
|
* filename: ej2-react-layouts.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,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("SyncfusionReactBase"),require("SyncfusionLayouts"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","SyncfusionLayouts","React"],e):"object"==typeof exports?exports.SyncfusionReactLayouts=e(require("SyncfusionReactBase"),require("SyncfusionLayouts"),require("React")):t.SyncfusionReactLayouts=e(t.SyncfusionReactBase,t.SyncfusionLayouts,t.React)}(this,function(t,e,n){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=
|
10
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("SyncfusionReactBase"),require("SyncfusionLayouts"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","SyncfusionLayouts","React"],e):"object"==typeof exports?exports.SyncfusionReactLayouts=e(require("SyncfusionReactBase"),require("SyncfusionLayouts"),require("React")):t.SyncfusionReactLayouts=e(t.SyncfusionReactBase,t.SyncfusionLayouts,t.React)}(this,function(t,e,n){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=8)}([function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e){t.exports=n},function(t,e,n){"use strict";var r=n(7);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b});var o=n(6);n.d(e,"c",function(){return o.a})},function(t,e,n){"use strict";var r=n(9);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b});var o=n(10);n.d(e,"c",function(){return o.a})},function(t,e,n){"use strict";var r=n(11);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b});var o=n(12);n.d(e,"c",function(){return o.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(2),o=(n.n(r),n(1)),i=(n.n(o),n(0)),u=(n.n(i),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),c=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={panels:"panel"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.portals=[],n}return u(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.DashboardLayout);n.i(i.applyMixins)(c,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return u});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.moduleName="panel",e.complexTemplate={"panels.header":"panels.header","panels.content":"panels.content"},e}(r.ComplexBase),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.propertyName="panels",e.moduleName="panels",e}(r.ComplexBase)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);n.d(e,"PaneDirective",function(){return r.a}),n.d(e,"PanesDirective",function(){return r.b}),n.d(e,"SplitterComponent",function(){return r.c});var o=n(3);n.d(e,"PanelDirective",function(){return o.a}),n.d(e,"PanelsDirective",function(){return o.b}),n.d(e,"DashboardLayoutComponent",function(){return o.c});var i=n(5);n.d(e,"ItemDirective",function(){return i.a}),n.d(e,"ItemsDirective",function(){return i.b}),n.d(e,"TimelineComponent",function(){return i.c});var u=n(1);n.n(u);for(var c in u)["PaneDirective","PanesDirective","SplitterComponent","PanelDirective","PanelsDirective","DashboardLayoutComponent","ItemDirective","ItemsDirective","TimelineComponent","default"].indexOf(c)<0&&function(t){n.d(e,t,function(){return u[t]})}(c)},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return u});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.moduleName="pane",e}(r.ComplexBase),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.propertyName="paneSettings",e.moduleName="panes",e}(r.ComplexBase)},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(2),o=(n.n(r),n(1)),i=(n.n(o),n(0)),u=(n.n(i),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),c=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={panes:"pane"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.portals=[],n}return u(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.Splitter);n.i(i.applyMixins)(c,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return u});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.moduleName="item",e}(r.ComplexBase),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.propertyName="items",e.moduleName="items",e}(r.ComplexBase)},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n(2),o=(n.n(r),n(1)),i=(n.n(o),n(0)),u=(n.n(i),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),c=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={items:"item"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.portals=[],n}return u(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.Timeline);n.i(i.applyMixins)(c,[i.ComponentBase,r.Component])}])});
|
@@ -1,11 +1,11 @@
|
|
1
1
|
/*!
|
2
2
|
* filename: ej2-react-layouts.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(e
|
10
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-layouts")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-layouts"],e):e(t.ej={},t.ej2ReactBase,t.React,t.ej2Layouts)}(this,function(t,e,n,r){"use strict";var o=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.moduleName="pane",e}(e.ComplexBase),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.propertyName="paneSettings",e.moduleName="panes",e}(e.ComplexBase),p=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={panes:"pane"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.portals=[],n}return p(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(r.Splitter);e.applyMixins(a,[e.ComponentBase,n.Component]);var c=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.moduleName="panel",e.complexTemplate={"panels.header":"panels.header","panels.content":"panels.content"},e}(e.ComplexBase),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.propertyName="panels",e.moduleName="panels",e}(e.ComplexBase),f=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={panels:"panel"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.portals=[],n}return f(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(r.DashboardLayout);e.applyMixins(h,[e.ComponentBase,n.Component]);var y=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y(e,t),e.moduleName="item",e}(e.ComplexBase),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y(e,t),e.propertyName="items",e.moduleName="items",e}(e.ComplexBase),_=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),v=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={items:"item"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.portals=[],n}return _(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(r.Timeline);e.applyMixins(v,[e.ComponentBase,n.Component]),t.PaneDirective=i,t.PanesDirective=s,t.SplitterComponent=a,t.PanelDirective=u,t.PanelsDirective=l,t.DashboardLayoutComponent=h,t.ItemDirective=d,t.ItemsDirective=m,t.TimelineComponent=v,Object.keys(r).forEach(function(e){t[e]=r[e]}),Object.defineProperty(t,"__esModule",{value:!0})});
|
11
11
|
//# sourceMappingURL=ej2-react-layouts.umd.min.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ej2-react-layouts.umd.min.js","sources":["../src/splitter/panesettings-directive.js","../src/splitter/splitter.component.js","../src/dashboard-layout/panels-directive.js","../src/dashboard-layout/dashboardlayout.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 * PanesDirective` represent a panes of the react splitter.\n * It must be contained in a Splitter component(`SplitterComponent`).\n * ```tsx\n * <SplitterComponent>\n * <PaneSettingsDirective>\n * <PaneDirective size={this.Pane1Size}></PaneDirective>\n * <PaneDirective size={this.Pane2Size}></PaneDirective>\n * <PaneSettingsDirective>\n * </SplitterComponent>\n * ```\n */\nvar PaneDirective = /** @class */ (function (_super) {\n __extends(PaneDirective, _super);\n function PaneDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PaneDirective.moduleName = 'pane';\n return PaneDirective;\n}(ComplexBase));\nexport { PaneDirective };\nvar PanesDirective = /** @class */ (function (_super) {\n __extends(PanesDirective, _super);\n function PanesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PanesDirective.propertyName = 'paneSettings';\n PanesDirective.moduleName = 'panes';\n return PanesDirective;\n}(ComplexBase));\nexport { PanesDirective };\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 { Splitter } from '@syncfusion/ej2-layouts';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Splitter Component\n * ```html\n * <Splitter></Splitter>\n * ```\n */\nvar SplitterComponent = /** @class */ (function (_super) {\n __extends(SplitterComponent, _super);\n function SplitterComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.directivekeys = { 'panes': 'pane' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n SplitterComponent.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 SplitterComponent;\n}(Splitter));\nexport { SplitterComponent };\napplyMixins(SplitterComponent, [ComponentBase, React.Component]);\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 * `PanelsDirective` represent a presets of the react dashboardlayout.\n * It must be contained in a dashboardlayout component(`DashBoardLayoutComponent`).\n * ```tsx\n * <DashBoardLayoutComponent>\n * <PanelsDirective>\n * <PanelDirective></PanelDirective>\n * <PanelDirective></PanelDirective>\n * </PanelsDirective>\n * </DashBoardLayoutComponent>\n * ```\n */\nvar PanelDirective = /** @class */ (function (_super) {\n __extends(PanelDirective, _super);\n function PanelDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PanelDirective.moduleName = 'panel';\n PanelDirective.complexTemplate = { 'panels.header': 'panels.header', 'panels.content': 'panels.content' };\n return PanelDirective;\n}(ComplexBase));\nexport { PanelDirective };\nvar PanelsDirective = /** @class */ (function (_super) {\n __extends(PanelsDirective, _super);\n function PanelsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PanelsDirective.propertyName = 'panels';\n PanelsDirective.moduleName = 'panels';\n return PanelsDirective;\n}(ComplexBase));\nexport { PanelsDirective };\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 { DashboardLayout } from '@syncfusion/ej2-layouts';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React DashboardLayout Component.\n * ```ts\n * <DashBoardLayoutComponent></DashBoardLayoutComponent>\n * ```\n */\nvar DashboardLayoutComponent = /** @class */ (function (_super) {\n __extends(DashboardLayoutComponent, _super);\n function DashboardLayoutComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.directivekeys = { 'panels': 'panel' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n DashboardLayoutComponent.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 DashboardLayoutComponent;\n}(DashboardLayout));\nexport { DashboardLayoutComponent };\napplyMixins(DashboardLayoutComponent, [ComponentBase, React.Component]);\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","PaneDirective","_super","apply","arguments","moduleName","ComplexBase","PanesDirective","propertyName","SplitterComponent","props","_this","call","initRenderCalled","checkInjectedModules","directivekeys","panes","statelessTemplateProps","templateProps","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","Splitter","ej2ReactBase","ComponentBase","React.Component","PanelDirective","complexTemplate","panels.header","panels.content","PanelsDirective","DashboardLayoutComponent","panels","DashboardLayout"],"mappings":"wXAAA,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,EAA+B,SAAUC,GAEzC,SAASD,IACL,OAAkB,OAAXC,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAG/D,OALAX,EAAUe,EAAeC,GAIzBD,EAAcI,WAAa,OACpBJ,GACTK,eAEEC,EAAgC,SAAUL,GAE1C,SAASK,IACL,OAAkB,OAAXL,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAI/D,OANAX,EAAUqB,EAAgBL,GAI1BK,EAAeC,aAAe,eAC9BD,EAAeF,WAAa,QACrBE,GACTD,eC3CEpB,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,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B,EAAMM,uBAAyB,KAC/BN,EAAMO,cAAgB,KACtBP,EAAMQ,iBAAkB,EACxBR,EAAMS,WACCT,EAWX,OArBAzB,EAAUoD,EAA0BpC,GAYpCoC,EAAyBvC,UAAUsB,OAAS,WACxC,KAAMxB,KAAKyB,UAAYzB,KAAKgB,kBAAqBhB,KAAK0B,aAAgB1B,KAAK2B,oBAKvE,OAAOC,gBAAoB,MAAO5B,KAAK6B,0BAA2BC,OAAO9B,KAAKa,MAAMkB,SAAU/B,KAAKuB,UAJnGlB,EAAOH,UAAUsB,OAAOT,KAAKf,MAC7BA,KAAKgB,kBAAmB,GAMzByB,GACTE,mBACFV,cACYQ,GAA2BP,gBAAeC"}
|
1
|
+
{"version":3,"file":"ej2-react-layouts.umd.min.js","sources":["../src/splitter/panesettings-directive.js","../src/splitter/splitter.component.js","../src/dashboard-layout/panels-directive.js","../src/dashboard-layout/dashboardlayout.component.js","../src/timeline/items-directive.js","../src/timeline/timeline.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 * PanesDirective` represent a panes of the react splitter.\n * It must be contained in a Splitter component(`SplitterComponent`).\n * ```tsx\n * <SplitterComponent>\n * <PaneSettingsDirective>\n * <PaneDirective size={this.Pane1Size}></PaneDirective>\n * <PaneDirective size={this.Pane2Size}></PaneDirective>\n * <PaneSettingsDirective>\n * </SplitterComponent>\n * ```\n */\nvar PaneDirective = /** @class */ (function (_super) {\n __extends(PaneDirective, _super);\n function PaneDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PaneDirective.moduleName = 'pane';\n return PaneDirective;\n}(ComplexBase));\nexport { PaneDirective };\nvar PanesDirective = /** @class */ (function (_super) {\n __extends(PanesDirective, _super);\n function PanesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PanesDirective.propertyName = 'paneSettings';\n PanesDirective.moduleName = 'panes';\n return PanesDirective;\n}(ComplexBase));\nexport { PanesDirective };\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 { Splitter } from '@syncfusion/ej2-layouts';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Splitter Component\n * ```html\n * <Splitter></Splitter>\n * ```\n */\nvar SplitterComponent = /** @class */ (function (_super) {\n __extends(SplitterComponent, _super);\n function SplitterComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.directivekeys = { 'panes': 'pane' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n SplitterComponent.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 SplitterComponent;\n}(Splitter));\nexport { SplitterComponent };\napplyMixins(SplitterComponent, [ComponentBase, React.Component]);\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 * `PanelsDirective` represent a presets of the react dashboardlayout.\n * It must be contained in a dashboardlayout component(`DashBoardLayoutComponent`).\n * ```tsx\n * <DashBoardLayoutComponent>\n * <PanelsDirective>\n * <PanelDirective></PanelDirective>\n * <PanelDirective></PanelDirective>\n * </PanelsDirective>\n * </DashBoardLayoutComponent>\n * ```\n */\nvar PanelDirective = /** @class */ (function (_super) {\n __extends(PanelDirective, _super);\n function PanelDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PanelDirective.moduleName = 'panel';\n PanelDirective.complexTemplate = { 'panels.header': 'panels.header', 'panels.content': 'panels.content' };\n return PanelDirective;\n}(ComplexBase));\nexport { PanelDirective };\nvar PanelsDirective = /** @class */ (function (_super) {\n __extends(PanelsDirective, _super);\n function PanelsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PanelsDirective.propertyName = 'panels';\n PanelsDirective.moduleName = 'panels';\n return PanelsDirective;\n}(ComplexBase));\nexport { PanelsDirective };\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 { DashboardLayout } from '@syncfusion/ej2-layouts';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React DashboardLayout Component.\n * ```ts\n * <DashBoardLayoutComponent></DashBoardLayoutComponent>\n * ```\n */\nvar DashboardLayoutComponent = /** @class */ (function (_super) {\n __extends(DashboardLayoutComponent, _super);\n function DashboardLayoutComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.directivekeys = { 'panels': 'panel' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n DashboardLayoutComponent.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 DashboardLayoutComponent;\n}(DashboardLayout));\nexport { DashboardLayoutComponent };\napplyMixins(DashboardLayoutComponent, [ComponentBase, React.Component]);\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 * `ItemDirective` represents a item of the React Timeline.\n * It must be contained in a Timeline component(`TimelineComponent`).\n * ```tsx\n * <TimelineComponent>\n * <ItemsDirective>\n * <ItemDirective dotCss= { 'e-icons e-folder' } content= { 'Item 1' } />\n * <ItemDirective dotCss= { 'e-icons e-folder' } content= { 'Item 2' } />\n * </ItemsDirective>\n * </TimelineComponent>\n * ```\n */\nvar ItemDirective = /** @class */ (function (_super) {\n __extends(ItemDirective, _super);\n function ItemDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ItemDirective.moduleName = 'item';\n return ItemDirective;\n}(ComplexBase));\nexport { ItemDirective };\nvar ItemsDirective = /** @class */ (function (_super) {\n __extends(ItemsDirective, _super);\n function ItemsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ItemsDirective.propertyName = 'items';\n ItemsDirective.moduleName = 'items';\n return ItemsDirective;\n}(ComplexBase));\nexport { ItemsDirective };\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 { Timeline } from '@syncfusion/ej2-layouts';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `TimelineComponent` represents the react Timeline Component.\n * ```ts\n * <TimelineComponent items={timelineItems} />\n * ```\n */\nvar TimelineComponent = /** @class */ (function (_super) {\n __extends(TimelineComponent, _super);\n function TimelineComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.directivekeys = { 'items': 'item' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n TimelineComponent.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 TimelineComponent;\n}(Timeline));\nexport { TimelineComponent };\napplyMixins(TimelineComponent, [ComponentBase, React.Component]);\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","PaneDirective","_super","apply","arguments","moduleName","ComplexBase","PanesDirective","propertyName","SplitterComponent","props","_this","call","initRenderCalled","checkInjectedModules","directivekeys","panes","statelessTemplateProps","templateProps","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","Splitter","ej2ReactBase","ComponentBase","React.Component","PanelDirective","complexTemplate","panels.header","panels.content","PanelsDirective","DashboardLayoutComponent","panels","DashboardLayout","ItemDirective","ItemsDirective","TimelineComponent","items","Timeline"],"mappings":"wXAAA,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,EAA+B,SAAUC,GAEzC,SAASD,IACL,OAAkB,OAAXC,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAG/D,OALAX,EAAUe,EAAeC,GAIzBD,EAAcI,WAAa,OACpBJ,GACTK,eAEEC,EAAgC,SAAUL,GAE1C,SAASK,IACL,OAAkB,OAAXL,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAI/D,OANAX,EAAUqB,EAAgBL,GAI1BK,EAAeC,aAAe,eAC9BD,EAAeF,WAAa,QACrBE,GACTD,eC3CEpB,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OA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rBqC,GACTpC,eC3CEpB,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,GAsBxC+C,EAAmC,SAAUzC,GAE7C,SAASyC,EAAkBjC,GACvB,IAAIC,EAAQT,EAAOU,KAAKf,KAAMa,IAAUb,KAQxC,OAPAc,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMI,eAAkB6B,MAAS,QACjCjC,EAAMM,uBAAyB,KAC/BN,EAAMO,cAAgB,KACtBP,EAAMQ,iBAAkB,EACxBR,EAAMS,WACCT,EAWX,OArBAzB,EAAUyD,EAAmBzC,GAY7ByC,EAAkB5C,UAAUsB,OAAS,WACjC,KAAMxB,KAAKyB,UAAYzB,KAAKgB,kBAAqBhB,KAAK0B,aAAgB1B,KAAK2B,oBAKvE,OAAOC,gBAAoB,MAAO5B,KAAK6B,0BAA2BC,OAAO9B,KAAKa,MAAMkB,SAAU/B,KAAKuB,UAJnGlB,EAAOH,UAAUsB,OAAOT,KAAKf,MAC7BA,KAAKgB,kBAAmB,GAMzB8B,GACTE,YACFf,cACYa,GAAoBZ,gBAAeC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ComplexBase, ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';
|
2
2
|
import { Component, createElement } from 'react';
|
3
|
-
import { DashboardLayout, Splitter } from '@syncfusion/ej2-layouts';
|
3
|
+
import { DashboardLayout, Splitter, Timeline } from '@syncfusion/ej2-layouts';
|
4
4
|
|
5
5
|
/**
|
6
6
|
* PanesDirective` represent a panes of the react splitter.
|
@@ -101,6 +101,55 @@ class DashboardLayoutComponent extends DashboardLayout {
|
|
101
101
|
}
|
102
102
|
applyMixins(DashboardLayoutComponent, [ComponentBase, Component]);
|
103
103
|
|
104
|
-
|
104
|
+
/**
|
105
|
+
* `ItemDirective` represents a item of the React Timeline.
|
106
|
+
* It must be contained in a Timeline component(`TimelineComponent`).
|
107
|
+
* ```tsx
|
108
|
+
* <TimelineComponent>
|
109
|
+
* <ItemsDirective>
|
110
|
+
* <ItemDirective dotCss= { 'e-icons e-folder' } content= { 'Item 1' } />
|
111
|
+
* <ItemDirective dotCss= { 'e-icons e-folder' } content= { 'Item 2' } />
|
112
|
+
* </ItemsDirective>
|
113
|
+
* </TimelineComponent>
|
114
|
+
* ```
|
115
|
+
*/
|
116
|
+
class ItemDirective extends ComplexBase {
|
117
|
+
}
|
118
|
+
ItemDirective.moduleName = 'item';
|
119
|
+
class ItemsDirective extends ComplexBase {
|
120
|
+
}
|
121
|
+
ItemsDirective.propertyName = 'items';
|
122
|
+
ItemsDirective.moduleName = 'items';
|
123
|
+
|
124
|
+
/**
|
125
|
+
* `TimelineComponent` represents the react Timeline Component.
|
126
|
+
* ```ts
|
127
|
+
* <TimelineComponent items={timelineItems} />
|
128
|
+
* ```
|
129
|
+
*/
|
130
|
+
class TimelineComponent extends Timeline {
|
131
|
+
constructor(props) {
|
132
|
+
super(props);
|
133
|
+
this.initRenderCalled = false;
|
134
|
+
this.checkInjectedModules = false;
|
135
|
+
this.directivekeys = { 'items': 'item' };
|
136
|
+
this.statelessTemplateProps = null;
|
137
|
+
this.templateProps = null;
|
138
|
+
this.immediateRender = false;
|
139
|
+
this.portals = [];
|
140
|
+
}
|
141
|
+
render() {
|
142
|
+
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
|
143
|
+
super.render();
|
144
|
+
this.initRenderCalled = true;
|
145
|
+
}
|
146
|
+
else {
|
147
|
+
return createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));
|
148
|
+
}
|
149
|
+
}
|
150
|
+
}
|
151
|
+
applyMixins(TimelineComponent, [ComponentBase, Component]);
|
152
|
+
|
153
|
+
export { PaneDirective, PanesDirective, SplitterComponent, PanelDirective, PanelsDirective, DashboardLayoutComponent, ItemDirective, ItemsDirective, TimelineComponent };
|
105
154
|
export * from '@syncfusion/ej2-layouts';
|
106
155
|
//# sourceMappingURL=ej2-react-layouts.es2015.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ej2-react-layouts.es2015.js","sources":["../src/es6/splitter/panesettings-directive.js","../src/es6/splitter/splitter.component.js","../src/es6/dashboard-layout/panels-directive.js","../src/es6/dashboard-layout/dashboardlayout.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * PanesDirective` represent a panes of the react splitter.\n * It must be contained in a Splitter component(`SplitterComponent`).\n * ```tsx\n * <SplitterComponent>\n * <PaneSettingsDirective>\n * <PaneDirective size={this.Pane1Size}></PaneDirective>\n * <PaneDirective size={this.Pane2Size}></PaneDirective>\n * <PaneSettingsDirective>\n * </SplitterComponent>\n * ```\n */\nexport class PaneDirective extends ComplexBase {\n}\nPaneDirective.moduleName = 'pane';\nexport class PanesDirective extends ComplexBase {\n}\nPanesDirective.propertyName = 'paneSettings';\nPanesDirective.moduleName = 'panes';\n","import * as React from 'react';\nimport { Splitter } from '@syncfusion/ej2-layouts';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Splitter Component\n * ```html\n * <Splitter></Splitter>\n * ```\n */\nexport class SplitterComponent extends Splitter {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.directivekeys = { 'panes': 'pane' };\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(SplitterComponent, [ComponentBase, React.Component]);\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `PanelsDirective` represent a presets of the react dashboardlayout.\n * It must be contained in a dashboardlayout component(`DashBoardLayoutComponent`).\n * ```tsx\n * <DashBoardLayoutComponent>\n * <PanelsDirective>\n * <PanelDirective></PanelDirective>\n * <PanelDirective></PanelDirective>\n * </PanelsDirective>\n * </DashBoardLayoutComponent>\n * ```\n */\nexport class PanelDirective extends ComplexBase {\n}\nPanelDirective.moduleName = 'panel';\nPanelDirective.complexTemplate = { 'panels.header': 'panels.header', 'panels.content': 'panels.content' };\nexport class PanelsDirective extends ComplexBase {\n}\nPanelsDirective.propertyName = 'panels';\nPanelsDirective.moduleName = 'panels';\n","import * as React from 'react';\nimport { DashboardLayout } from '@syncfusion/ej2-layouts';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React DashboardLayout Component.\n * ```ts\n * <DashBoardLayoutComponent></DashBoardLayoutComponent>\n * ```\n */\nexport class DashboardLayoutComponent extends DashboardLayout {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.directivekeys = { 'panels': 'panel' };\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(DashboardLayoutComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;AACA;;;;;;;;;;;;AAYA,A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EC,SAAe,CAAC,CAAC,CAAC;;;;;"}
|
1
|
+
{"version":3,"file":"ej2-react-layouts.es2015.js","sources":["../src/es6/splitter/panesettings-directive.js","../src/es6/splitter/splitter.component.js","../src/es6/dashboard-layout/panels-directive.js","../src/es6/dashboard-layout/dashboardlayout.component.js","../src/es6/timeline/items-directive.js","../src/es6/timeline/timeline.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * PanesDirective` represent a panes of the react splitter.\n * It must be contained in a Splitter component(`SplitterComponent`).\n * ```tsx\n * <SplitterComponent>\n * <PaneSettingsDirective>\n * <PaneDirective size={this.Pane1Size}></PaneDirective>\n * <PaneDirective size={this.Pane2Size}></PaneDirective>\n * <PaneSettingsDirective>\n * </SplitterComponent>\n * ```\n */\nexport class PaneDirective extends ComplexBase {\n}\nPaneDirective.moduleName = 'pane';\nexport class PanesDirective extends ComplexBase {\n}\nPanesDirective.propertyName = 'paneSettings';\nPanesDirective.moduleName = 'panes';\n","import * as React from 'react';\nimport { Splitter } from '@syncfusion/ej2-layouts';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Splitter Component\n * ```html\n * <Splitter></Splitter>\n * ```\n */\nexport class SplitterComponent extends Splitter {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.directivekeys = { 'panes': 'pane' };\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(SplitterComponent, [ComponentBase, React.Component]);\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `PanelsDirective` represent a presets of the react dashboardlayout.\n * It must be contained in a dashboardlayout component(`DashBoardLayoutComponent`).\n * ```tsx\n * <DashBoardLayoutComponent>\n * <PanelsDirective>\n * <PanelDirective></PanelDirective>\n * <PanelDirective></PanelDirective>\n * </PanelsDirective>\n * </DashBoardLayoutComponent>\n * ```\n */\nexport class PanelDirective extends ComplexBase {\n}\nPanelDirective.moduleName = 'panel';\nPanelDirective.complexTemplate = { 'panels.header': 'panels.header', 'panels.content': 'panels.content' };\nexport class PanelsDirective extends ComplexBase {\n}\nPanelsDirective.propertyName = 'panels';\nPanelsDirective.moduleName = 'panels';\n","import * as React from 'react';\nimport { DashboardLayout } from '@syncfusion/ej2-layouts';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React DashboardLayout Component.\n * ```ts\n * <DashBoardLayoutComponent></DashBoardLayoutComponent>\n * ```\n */\nexport class DashboardLayoutComponent extends DashboardLayout {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.directivekeys = { 'panels': 'panel' };\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(DashboardLayoutComponent, [ComponentBase, React.Component]);\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ItemDirective` represents a item of the React Timeline.\n * It must be contained in a Timeline component(`TimelineComponent`).\n * ```tsx\n * <TimelineComponent>\n * <ItemsDirective>\n * <ItemDirective dotCss= { 'e-icons e-folder' } content= { 'Item 1' } />\n * <ItemDirective dotCss= { 'e-icons e-folder' } content= { 'Item 2' } />\n * </ItemsDirective>\n * </TimelineComponent>\n * ```\n */\nexport class ItemDirective extends ComplexBase {\n}\nItemDirective.moduleName = 'item';\nexport class ItemsDirective extends ComplexBase {\n}\nItemsDirective.propertyName = 'items';\nItemsDirective.moduleName = 'items';\n","import * as React from 'react';\nimport { Timeline } from '@syncfusion/ej2-layouts';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `TimelineComponent` represents the react Timeline Component.\n * ```ts\n * <TimelineComponent items={timelineItems} />\n * ```\n */\nexport class TimelineComponent extends Timeline {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.directivekeys = { 'items': 'item' };\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(TimelineComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;AACA;;;;;;;;;;;;AAYA,AAAO,MAAM,aAAa,SAAS,WAAW,CAAC;CAC9C;AACD,aAAa,CAAC,UAAU,GAAG,MAAM,CAAC;AAClC,AAAO,MAAM,cAAc,SAAS,WAAW,CAAC;CAC/C;AACD,cAAc,CAAC,YAAY,GAAG,cAAc,CAAC;AAC7C,cAAc,CAAC,UAAU,GAAG,OAAO,CAAC;;AChBpC;;;;;;AAMA,AAAO,MAAM,iBAAiB,SAAS,QAAQ,CAAC;IAC5C,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC;QAClC,IAAI,CAAC,aAAa,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;QACzC,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC1B,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,IAAI,CAAC,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,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,OAAOD,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,iBAAiB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;;"}
|
package/package.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"_from": "@syncfusion/ej2-react-layouts@*",
|
3
|
-
"_id": "@syncfusion/ej2-react-layouts@
|
3
|
+
"_id": "@syncfusion/ej2-react-layouts@21.4.6",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-vV0+SBCNQt2WULlBV1ByuBs3bHYCNjCoSyX7ZFxAsIzAtF/QtyXhZolmmycOEVNZt8G0/UNknXht66xXfKu0Pw==",
|
6
6
|
"_location": "/@syncfusion/ej2-react-layouts",
|
7
7
|
"_phantomChildren": {},
|
8
8
|
"_requested": {
|
@@ -19,10 +19,10 @@
|
|
19
19
|
"_requiredBy": [
|
20
20
|
"/"
|
21
21
|
],
|
22
|
-
"_resolved": "https://nexus.
|
23
|
-
"_shasum": "
|
22
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-react-layouts/-/ej2-react-layouts-21.4.6.tgz",
|
23
|
+
"_shasum": "1a5cfa6afc1f9a65cc031beafb1b3f9164fa489f",
|
24
24
|
"_spec": "@syncfusion/ej2-react-layouts@*",
|
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,11 +31,9 @@
|
|
31
31
|
},
|
32
32
|
"bundleDependencies": false,
|
33
33
|
"dependencies": {
|
34
|
-
"@syncfusion/ej2-base": "~
|
35
|
-
"@syncfusion/ej2-layouts": "
|
36
|
-
"@syncfusion/ej2-react-base": "~
|
37
|
-
"awesome-typescript-loader": "^3.1.3",
|
38
|
-
"source-map-loader": "^0.2.1"
|
34
|
+
"@syncfusion/ej2-base": "~25.1.35",
|
35
|
+
"@syncfusion/ej2-layouts": "25.1.35",
|
36
|
+
"@syncfusion/ej2-react-base": "~25.1.35"
|
39
37
|
},
|
40
38
|
"deprecated": false,
|
41
39
|
"description": "A package of Essential JS 2 layout pure CSS components such as card and avatar. The card is used as small container to show content in specific structure, whereas the avatars are icons, initials or figures representing particular person. for React",
|
@@ -53,8 +51,8 @@
|
|
53
51
|
"name": "@syncfusion/ej2-react-layouts",
|
54
52
|
"repository": {
|
55
53
|
"type": "git",
|
56
|
-
"url": "
|
54
|
+
"url": "https://github.com/syncfusion/ej2-react-ui-components.git"
|
57
55
|
},
|
58
|
-
"version": "
|
56
|
+
"version": "25.1.35",
|
59
57
|
"sideEffects": false
|
60
58
|
}
|
package/src/index.d.ts
CHANGED
package/src/index.js
CHANGED
@@ -0,0 +1,23 @@
|
|
1
|
+
import { ComplexBase } from '@syncfusion/ej2-react-base';
|
2
|
+
import { TimelineItemModel } from '@syncfusion/ej2-layouts';
|
3
|
+
/**
|
4
|
+
* `ItemDirective` represents a item of the React Timeline.
|
5
|
+
* It must be contained in a Timeline component(`TimelineComponent`).
|
6
|
+
* ```tsx
|
7
|
+
* <TimelineComponent>
|
8
|
+
* <ItemsDirective>
|
9
|
+
* <ItemDirective dotCss= { 'e-icons e-folder' } content= { 'Item 1' } />
|
10
|
+
* <ItemDirective dotCss= { 'e-icons e-folder' } content= { 'Item 2' } />
|
11
|
+
* </ItemsDirective>
|
12
|
+
* </TimelineComponent>
|
13
|
+
* ```
|
14
|
+
*/
|
15
|
+
export declare class ItemDirective extends ComplexBase<TimelineItemModel & {
|
16
|
+
children?: React.ReactNode;
|
17
|
+
}, TimelineItemModel> {
|
18
|
+
static moduleName: string;
|
19
|
+
}
|
20
|
+
export declare class ItemsDirective 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
|
+
* `ItemDirective` represents a item of the React Timeline.
|
17
|
+
* It must be contained in a Timeline component(`TimelineComponent`).
|
18
|
+
* ```tsx
|
19
|
+
* <TimelineComponent>
|
20
|
+
* <ItemsDirective>
|
21
|
+
* <ItemDirective dotCss= { 'e-icons e-folder' } content= { 'Item 1' } />
|
22
|
+
* <ItemDirective dotCss= { 'e-icons e-folder' } content= { 'Item 2' } />
|
23
|
+
* </ItemsDirective>
|
24
|
+
* </TimelineComponent>
|
25
|
+
* ```
|
26
|
+
*/
|
27
|
+
var ItemDirective = /** @class */ (function (_super) {
|
28
|
+
__extends(ItemDirective, _super);
|
29
|
+
function ItemDirective() {
|
30
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
31
|
+
}
|
32
|
+
ItemDirective.moduleName = 'item';
|
33
|
+
return ItemDirective;
|
34
|
+
}(ComplexBase));
|
35
|
+
export { ItemDirective };
|
36
|
+
var ItemsDirective = /** @class */ (function (_super) {
|
37
|
+
__extends(ItemsDirective, _super);
|
38
|
+
function ItemsDirective() {
|
39
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
40
|
+
}
|
41
|
+
ItemsDirective.propertyName = 'items';
|
42
|
+
ItemsDirective.moduleName = 'items';
|
43
|
+
return ItemsDirective;
|
44
|
+
}(ComplexBase));
|
45
|
+
export { ItemsDirective };
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { Timeline, TimelineModel } from '@syncfusion/ej2-layouts';
|
3
|
+
import { DefaultHtmlAttributes } from '@syncfusion/ej2-react-base';
|
4
|
+
export interface TimelineTypecast {
|
5
|
+
template?: string | Function | any;
|
6
|
+
content?: string | Function | any;
|
7
|
+
oppositeContent?: string | Function | any;
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* `TimelineComponent` represents the react Timeline Component.
|
11
|
+
* ```ts
|
12
|
+
* <TimelineComponent items={timelineItems} />
|
13
|
+
* ```
|
14
|
+
*/
|
15
|
+
export declare class TimelineComponent extends Timeline {
|
16
|
+
state: Readonly<{
|
17
|
+
children?: React.ReactNode | React.ReactNode[];
|
18
|
+
}> & Readonly<TimelineModel | DefaultHtmlAttributes | TimelineTypecast>;
|
19
|
+
setState: any;
|
20
|
+
private getDefaultAttributes;
|
21
|
+
initRenderCalled: boolean;
|
22
|
+
private checkInjectedModules;
|
23
|
+
directivekeys: {
|
24
|
+
[key: string]: Object;
|
25
|
+
};
|
26
|
+
private statelessTemplateProps;
|
27
|
+
private templateProps;
|
28
|
+
private immediateRender;
|
29
|
+
props: Readonly<{
|
30
|
+
children?: React.ReactNode | React.ReactNode[];
|
31
|
+
}> & Readonly<TimelineModel | DefaultHtmlAttributes | TimelineTypecast>;
|
32
|
+
forceUpdate: (callBack?: () => any) => void;
|
33
|
+
context: Object;
|
34
|
+
portals: any;
|
35
|
+
isReactComponent: Object;
|
36
|
+
refs: {
|
37
|
+
[key: string]: React.ReactInstance;
|
38
|
+
};
|
39
|
+
constructor(props: any);
|
40
|
+
render(): any;
|
41
|
+
}
|
@@ -0,0 +1,48 @@
|
|
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 * as React from 'react';
|
15
|
+
import { Timeline } from '@syncfusion/ej2-layouts';
|
16
|
+
import { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';
|
17
|
+
/**
|
18
|
+
* `TimelineComponent` represents the react Timeline Component.
|
19
|
+
* ```ts
|
20
|
+
* <TimelineComponent items={timelineItems} />
|
21
|
+
* ```
|
22
|
+
*/
|
23
|
+
var TimelineComponent = /** @class */ (function (_super) {
|
24
|
+
__extends(TimelineComponent, _super);
|
25
|
+
function TimelineComponent(props) {
|
26
|
+
var _this = _super.call(this, props) || this;
|
27
|
+
_this.initRenderCalled = false;
|
28
|
+
_this.checkInjectedModules = false;
|
29
|
+
_this.directivekeys = { 'items': 'item' };
|
30
|
+
_this.statelessTemplateProps = null;
|
31
|
+
_this.templateProps = null;
|
32
|
+
_this.immediateRender = false;
|
33
|
+
_this.portals = [];
|
34
|
+
return _this;
|
35
|
+
}
|
36
|
+
TimelineComponent.prototype.render = function () {
|
37
|
+
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
|
38
|
+
_super.prototype.render.call(this);
|
39
|
+
this.initRenderCalled = true;
|
40
|
+
}
|
41
|
+
else {
|
42
|
+
return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));
|
43
|
+
}
|
44
|
+
};
|
45
|
+
return TimelineComponent;
|
46
|
+
}(Timeline));
|
47
|
+
export { TimelineComponent };
|
48
|
+
applyMixins(TimelineComponent, [ComponentBase, React.Component]);
|
package/styles/bootstrap.scss
CHANGED
package/styles/bootstrap4.scss
CHANGED
package/styles/bootstrap5.scss
CHANGED
package/styles/fabric-dark.scss
CHANGED
package/styles/fabric.scss
CHANGED
package/styles/fluent-dark.scss
CHANGED
package/styles/fluent.scss
CHANGED
package/styles/highcontrast.scss
CHANGED
package/styles/material.scss
CHANGED
package/styles/material3.scss
CHANGED
package/styles/tailwind.scss
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
@import '@syncfusion/ej2-layouts/styles/timeline/bootstrap-dark.css';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import 'ej2-layouts/styles/timeline/bootstrap-dark.scss';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import '@syncfusion/ej2-layouts/styles/timeline/bootstrap.css';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import 'ej2-layouts/styles/timeline/bootstrap.scss';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import '@syncfusion/ej2-layouts/styles/timeline/bootstrap4.css';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import 'ej2-layouts/styles/timeline/bootstrap4.scss';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import '@syncfusion/ej2-layouts/styles/timeline/bootstrap5-dark.css';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import 'ej2-layouts/styles/timeline/bootstrap5-dark.scss';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import '@syncfusion/ej2-layouts/styles/timeline/bootstrap5.css';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import 'ej2-layouts/styles/timeline/bootstrap5.scss';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import '@syncfusion/ej2-layouts/styles/timeline/fabric-dark.css';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import 'ej2-layouts/styles/timeline/fabric-dark.scss';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import '@syncfusion/ej2-layouts/styles/timeline/fabric.css';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import 'ej2-layouts/styles/timeline/fabric.scss';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import '@syncfusion/ej2-layouts/styles/timeline/fluent-dark.css';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import 'ej2-layouts/styles/timeline/fluent-dark.scss';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import '@syncfusion/ej2-layouts/styles/timeline/fluent.css';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import 'ej2-layouts/styles/timeline/fluent.scss';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import '@syncfusion/ej2-layouts/styles/timeline/highcontrast-light.css';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import 'ej2-layouts/styles/timeline/highcontrast-light.scss';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import '@syncfusion/ej2-layouts/styles/timeline/highcontrast.css';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import 'ej2-layouts/styles/timeline/highcontrast.scss';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import '@syncfusion/ej2-layouts/styles/timeline/material-dark.css';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import 'ej2-layouts/styles/timeline/material-dark.scss';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import '@syncfusion/ej2-layouts/styles/timeline/material.css';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import 'ej2-layouts/styles/timeline/material.scss';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import '@syncfusion/ej2-layouts/styles/timeline/material3-dark.css';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import '@syncfusion/ej2-layouts/styles/timeline/material3.css';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import '@syncfusion/ej2-layouts/styles/timeline/tailwind-dark.css';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import 'ej2-layouts/styles/timeline/tailwind-dark.scss';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import '@syncfusion/ej2-layouts/styles/timeline/tailwind.css';
|
@@ -0,0 +1 @@
|
|
1
|
+
@import 'ej2-layouts/styles/timeline/tailwind.scss';
|
package/timeline.d.ts
ADDED
package/timeline.js
ADDED