@syncfusion/ej2-react-inputs 20.3.57 → 20.4.38
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 -14
- package/diConfig.json +46 -5
- package/dist/ej2-react-inputs.min.js +2 -2
- package/dist/ej2-react-inputs.umd.min.js +2 -2
- package/dist/ej2-react-inputs.umd.min.js.map +1 -1
- package/dist/es6/ej2-react-inputs.es2015.js +28 -2
- package/dist/es6/ej2-react-inputs.es2015.js.map +1 -1
- package/package.json +13 -9
- package/rating.d.ts +4 -0
- package/rating.js +4 -0
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/rating/index.d.ts +1 -0
- package/src/rating/index.js +1 -0
- package/src/rating/rating.component.d.ts +37 -0
- package/src/rating/rating.component.js +45 -0
- package/styles/bootstrap-dark.css +264 -0
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap.css +264 -0
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4.css +267 -2
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark.css +265 -0
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5.css +265 -0
- package/styles/bootstrap5.scss +1 -0
- package/styles/color-picker/bootstrap4.css +2 -2
- package/styles/fabric-dark.css +264 -0
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric.css +264 -0
- package/styles/fabric.scss +1 -0
- package/styles/fluent-dark.css +264 -0
- package/styles/fluent-dark.scss +1 -0
- package/styles/fluent.css +264 -0
- package/styles/fluent.scss +1 -0
- package/styles/highcontrast-light.css +264 -0
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast.css +264 -0
- package/styles/highcontrast.scss +1 -0
- package/styles/material-dark.css +264 -0
- package/styles/material-dark.scss +1 -0
- package/styles/material.css +264 -0
- package/styles/material.scss +1 -0
- package/styles/rating/bootstrap-dark.css +263 -0
- package/styles/rating/bootstrap-dark.scss +1 -0
- package/styles/rating/bootstrap.css +263 -0
- package/styles/rating/bootstrap.scss +1 -0
- package/styles/rating/bootstrap4.css +264 -0
- package/styles/rating/bootstrap4.scss +1 -0
- package/styles/rating/bootstrap5-dark.css +264 -0
- package/styles/rating/bootstrap5-dark.scss +1 -0
- package/styles/rating/bootstrap5.css +264 -0
- package/styles/rating/bootstrap5.scss +1 -0
- package/styles/rating/fabric-dark.css +263 -0
- package/styles/rating/fabric-dark.scss +1 -0
- package/styles/rating/fabric.css +263 -0
- package/styles/rating/fabric.scss +1 -0
- package/styles/rating/fluent-dark.css +263 -0
- package/styles/rating/fluent-dark.scss +1 -0
- package/styles/rating/fluent.css +263 -0
- package/styles/rating/fluent.scss +1 -0
- package/styles/rating/highcontrast-light.css +263 -0
- package/styles/rating/highcontrast-light.scss +1 -0
- package/styles/rating/highcontrast.css +263 -0
- package/styles/rating/highcontrast.scss +1 -0
- package/styles/rating/material-dark.css +264 -0
- package/styles/rating/material-dark.scss +1 -0
- package/styles/rating/material.css +264 -0
- package/styles/rating/material.scss +1 -0
- package/styles/rating/tailwind-dark.css +269 -0
- package/styles/rating/tailwind-dark.scss +1 -0
- package/styles/rating/tailwind.css +269 -0
- package/styles/rating/tailwind.scss +1 -0
- package/styles/tailwind-dark.css +270 -0
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind.css +270 -0
- package/styles/tailwind.scss +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,25 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
-
###
|
|
6
|
-
|
|
7
|
-
#### Bug Fixes
|
|
8
|
-
|
|
9
|
-
- `#I417969` - The issue "Clear button does not working after the component is enabled" has been resolved.
|
|
10
|
-
|
|
11
|
-
### TextBox
|
|
5
|
+
### Rating `Preview`
|
|
12
6
|
|
|
13
|
-
|
|
7
|
+
**Key features**:
|
|
14
8
|
|
|
15
|
-
- `#I415324` - The issue "Refresh method is not working properly in TextBox component" has been resolved.
|
|
16
9
|
|
|
17
|
-
|
|
10
|
+
The Rating component lets the user provide a star rating or view other people’s ratings on a numeric scale for any service provided, such as for movies, applications, or products.
|
|
18
11
|
|
|
19
|
-
### TextBox
|
|
20
|
-
|
|
21
|
-
#### Bug Fixes
|
|
22
12
|
|
|
23
|
-
-
|
|
13
|
+
- **Precision** - Different precision modes to provide more accurate rating.
|
|
14
|
+
- **Tooltip and Label** - Provide more expressive rating with tooltip and label.
|
|
15
|
+
- **Template** - Support to customize the rating item to heart, svg or any content that precisely match our unique needs.
|
|
16
|
+
- **Accessibility** - The Rating provides built-in compliance with the `WAI-ARIA` specifications and it is achieved through attributes.
|
|
24
17
|
|
|
25
18
|
## 19.4.38 (2021-12-17)
|
|
26
19
|
|
package/diConfig.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Inputs",
|
|
3
3
|
"description": "Textbox Components",
|
|
4
|
-
"eventInterfaces": ["ColorPickerEventArgs", "PaletteTileEventArgs", "BeforeOpenCloseEventArgs", "OpenEventArgs", "ModeSwitchEventArgs", "FocusInEventArgs", "FocusOutEventArgs", "ChangedEventArgs", "InputEventArgs", "SelectedEventArgs", "RemovingEventArgs", "ClearingEventArgs", "UploadingEventArgs", "CancelEventArgs", "PauseResumeEventArgs", "ActionCompleteEventArgs", "RenderingEventArgs", "FileListRenderingEventArgs", "ChangeEventArgs", "NumericFocusEventArgs", "NumericBlurEventArgs", "GetValueInputArgs", "MaskInputArgs", "MaskChangeEventArgs", "MaskFocusEventArgs", "MaskBlurEventArgs","SliderTooltipEventArgs", "SliderChangeEventArgs", "SliderTickEventArgs", "SliderTickRenderedEventArgs"],
|
|
4
|
+
"eventInterfaces": ["ColorPickerEventArgs", "PaletteTileEventArgs", "BeforeOpenCloseEventArgs", "OpenEventArgs", "ModeSwitchEventArgs", "FocusInEventArgs", "FocusOutEventArgs", "ChangedEventArgs", "InputEventArgs", "SelectedEventArgs", "RemovingEventArgs", "ClearingEventArgs", "UploadingEventArgs", "CancelEventArgs", "PauseResumeEventArgs", "ActionCompleteEventArgs", "RenderingEventArgs", "FileListRenderingEventArgs", "ChangeEventArgs", "NumericFocusEventArgs", "NumericBlurEventArgs", "GetValueInputArgs", "MaskInputArgs", "MaskChangeEventArgs", "MaskFocusEventArgs", "MaskBlurEventArgs","SliderTooltipEventArgs", "SliderChangeEventArgs", "SliderTickEventArgs", "SliderTickRenderedEventArgs","RatingItemEventArgs","RatingHoverEventArgs","RatingChangedEventArgs"],
|
|
5
5
|
"keywords": {
|
|
6
6
|
"common": [
|
|
7
7
|
"ej2", "ej2-inputs", "syncfusion", "web-components", "input box", "textbox", "html5 textbox", "floating input", "floating label", "form controls", "input controls",
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"masked textbox", "masked input", "input mask", "date mask", "mask format",
|
|
11
11
|
"numeric textbox", "percent textbox", "percentage textbox", "currency textbox", "numeric spinner", "numeric up-down", "number input",
|
|
12
12
|
"slider", "range slider", "minrange", "slider limits", "localization slider", "format slider", "slider with tooltip", "vertical slider", "mobile slider",
|
|
13
|
-
"upload", "upload-box", "input-file", "floating-label", "chunk-upload"
|
|
13
|
+
"upload", "upload-box", "input-file", "floating-label", "chunk-upload",
|
|
14
|
+
"rating", "ej2-rating", "ej2 rating"
|
|
14
15
|
],
|
|
15
16
|
"angular": [
|
|
16
17
|
"angular", "ng", "ej2-ng-inputs", "ng-inputs",
|
|
@@ -18,7 +19,8 @@
|
|
|
18
19
|
"ng-mask", "angular mask", "angular masked textbox",
|
|
19
20
|
"ng-numeric", "angular numeric", "angular numeric textbox", "angular number input",
|
|
20
21
|
"angular slider", "slider widget", "material slider", "material ui slider",
|
|
21
|
-
"ng-upload", "ng-upload-box", "ng-input-file", "ng-chunk-upload", "angular-upload", "angular-upload-box", "angular-input-file", "angular-chunk-upload"
|
|
22
|
+
"ng-upload", "ng-upload-box", "ng-input-file", "ng-chunk-upload", "angular-upload", "angular-upload-box", "angular-input-file", "angular-chunk-upload",
|
|
23
|
+
"ng-rating", "angular rating"
|
|
22
24
|
],
|
|
23
25
|
"react": [
|
|
24
26
|
"react", "reactjs", "ej2-react-inputs", "react-inputs",
|
|
@@ -26,7 +28,8 @@
|
|
|
26
28
|
"react-mask", "react masked textbox",
|
|
27
29
|
"react-numeric", "react numeric input", "react numeric textbox", "react number textbox",
|
|
28
30
|
"react slider", "react ui slider", "react ui components", "react ui slider components",
|
|
29
|
-
"react-upload", "react-upload-box", "react-input-file", "react-chunk-upload"
|
|
31
|
+
"react-upload", "react-upload-box", "react-input-file", "react-chunk-upload",
|
|
32
|
+
"react-rating"
|
|
30
33
|
],
|
|
31
34
|
"vue": [
|
|
32
35
|
"vue", "vuejs", "ej2-vue-inputs", "vue-inputs",
|
|
@@ -34,7 +37,8 @@
|
|
|
34
37
|
"vue-mask", "vue masked textbox",
|
|
35
38
|
"vue-numeric", "vue numeric input", "vue numeric textbox", "vue number textbox",
|
|
36
39
|
"vue slider", "vue components", "vue slider component",
|
|
37
|
-
"vue-upload", "vue-upload-box", "vue-input-file", "vue-chunk-upload"
|
|
40
|
+
"vue-upload", "vue-upload-box", "vue-input-file", "vue-chunk-upload",
|
|
41
|
+
"vue-rating"
|
|
38
42
|
]
|
|
39
43
|
},
|
|
40
44
|
"repository": {
|
|
@@ -386,6 +390,43 @@
|
|
|
386
390
|
" * ```",
|
|
387
391
|
" */"
|
|
388
392
|
]
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"baseClass": "Rating",
|
|
396
|
+
"directoryName": "rating",
|
|
397
|
+
"type": "form",
|
|
398
|
+
"selector": "[ejs-rating]",
|
|
399
|
+
"preferredTag":"input",
|
|
400
|
+
"twoWays": ["value"],
|
|
401
|
+
"templateProperties": ["fullTemplate", "emptyTemplate", "tooltipTemplate", "labelTemplate"],
|
|
402
|
+
"blazorType": "native",
|
|
403
|
+
"blazorDependency": [
|
|
404
|
+
"../blazor/sf-rating.ts"
|
|
405
|
+
],
|
|
406
|
+
"comment": [
|
|
407
|
+
"/**",
|
|
408
|
+
" * Represents the EJ2 Angular Rating Component.",
|
|
409
|
+
" * ```html",
|
|
410
|
+
" * <input ejs-rating [value]='value' />",
|
|
411
|
+
" * ```",
|
|
412
|
+
" */"
|
|
413
|
+
],
|
|
414
|
+
"reactComment": [
|
|
415
|
+
"/**",
|
|
416
|
+
" * Represents the React Rating Component",
|
|
417
|
+
" * ```html",
|
|
418
|
+
" * <RatingComponent value={value}></RatingComponent>",
|
|
419
|
+
" * ```",
|
|
420
|
+
" */"
|
|
421
|
+
],
|
|
422
|
+
"vueComment": [
|
|
423
|
+
"/**",
|
|
424
|
+
" * Represents the Essential JS 2 VueJS Rating Component",
|
|
425
|
+
" * ```html",
|
|
426
|
+
" * <ejs-rating v-bind:value='value'></ejs-rating>",
|
|
427
|
+
" * ```",
|
|
428
|
+
" */"
|
|
429
|
+
]
|
|
389
430
|
}
|
|
390
431
|
]
|
|
391
432
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-inputs.min.js
|
|
3
|
-
* version : 20.
|
|
3
|
+
* version : 20.4.38
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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("SyncfusionInputs"),require("SyncfusionReactBase"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionInputs","SyncfusionReactBase","React"],e):"object"==typeof exports?exports.SyncfusionReactInputs=e(require("SyncfusionInputs"),require("SyncfusionReactBase"),require("React")):t.SyncfusionReactInputs=e(t.SyncfusionInputs,t.SyncfusionReactBase,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=11)}([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(10);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(12);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(13);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(14);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(15);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(16);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(17);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b});var o=n(18);n.d(e,"c",function(){return o.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(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)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement(r.Fragment,null,[].concat(r.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.ColorPicker);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(8);n.d(e,"TextBoxComponent",function(){return r.a});var o=n(5);n.d(e,"NumericTextBoxComponent",function(){return o.a});var i=n(4);n.d(e,"MaskedTextBoxComponent",function(){return i.a});var c=n(7);n.d(e,"SliderComponent",function(){return c.a});var u=n(9);n.d(e,"UploadedFilesDirective",function(){return u.a}),n.d(e,"FilesDirective",function(){return u.b}),n.d(e,"UploaderComponent",function(){return u.c});var s=n(3);n.d(e,"ColorPickerComponent",function(){return s.a});var a=n(6);n.d(e,"SignatureComponent",function(){return a.a});var p=n(0);n.n(p);for(var f in p)["TextBoxComponent","NumericTextBoxComponent","MaskedTextBoxComponent","SliderComponent","UploadedFilesDirective","FilesDirective","UploaderComponent","ColorPickerComponent","SignatureComponent","default"].indexOf(f)<0&&function(t){n.d(e,t,function(){return p[t]})}(f)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(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)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.controlAttributes=["name"],n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement(r.Fragment,null,[].concat(r.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.MaskedTextBox);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(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)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement(r.Fragment,null,[].concat(r.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.NumericTextBox);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(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)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("canvas",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.Signature);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(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)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.controlAttributes=["name"],n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return c(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.Slider);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(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)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement(r.Fragment,null,[].concat(r.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.TextBox);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return c});var r=n(1),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="uploadedFiles",e}(r.ComplexBase),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.propertyName="files",e.moduleName="files",e}(r.ComplexBase)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(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)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={files:"uploadedFiles"},n.immediateRender=!1,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement(r.Fragment,null,[].concat(r.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.Uploader);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])}])});
|
|
10
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("SyncfusionInputs"),require("SyncfusionReactBase"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionInputs","SyncfusionReactBase","React"],e):"object"==typeof exports?exports.SyncfusionReactInputs=e(require("SyncfusionInputs"),require("SyncfusionReactBase"),require("React")):t.SyncfusionReactInputs=e(t.SyncfusionInputs,t.SyncfusionReactBase,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=12)}([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(11);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(13);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(14);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(15);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(16);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(17);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(18);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(19);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b});var o=n(20);n.d(e,"c",function(){return o.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(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)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement(r.Fragment,null,[].concat(r.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.ColorPicker);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(9);n.d(e,"TextBoxComponent",function(){return r.a});var o=n(5);n.d(e,"NumericTextBoxComponent",function(){return o.a});var i=n(4);n.d(e,"MaskedTextBoxComponent",function(){return i.a});var c=n(8);n.d(e,"SliderComponent",function(){return c.a});var u=n(10);n.d(e,"UploadedFilesDirective",function(){return u.a}),n.d(e,"FilesDirective",function(){return u.b}),n.d(e,"UploaderComponent",function(){return u.c});var s=n(3);n.d(e,"ColorPickerComponent",function(){return s.a});var a=n(7);n.d(e,"SignatureComponent",function(){return a.a});var p=n(6);n.d(e,"RatingComponent",function(){return p.a});var f=n(0);n.n(f);for(var l in f)["TextBoxComponent","NumericTextBoxComponent","MaskedTextBoxComponent","SliderComponent","UploadedFilesDirective","FilesDirective","UploaderComponent","ColorPickerComponent","SignatureComponent","RatingComponent","default"].indexOf(l)<0&&function(t){n.d(e,t,function(){return f[t]})}(l)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(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)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.controlAttributes=["name"],n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement(r.Fragment,null,[].concat(r.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.MaskedTextBox);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(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)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement(r.Fragment,null,[].concat(r.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.NumericTextBox);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(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)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!1,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement(r.Fragment,null,[].concat(r.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.Rating);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(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)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("canvas",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.Signature);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(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)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.controlAttributes=["name"],n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return c(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.Slider);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(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)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement(r.Fragment,null,[].concat(r.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.TextBox);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return c});var r=n(1),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="uploadedFiles",e}(r.ComplexBase),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.propertyName="files",e.moduleName="files",e}(r.ComplexBase)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(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)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={files:"uploadedFiles"},n.immediateRender=!1,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement(r.Fragment,null,[].concat(r.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.Uploader);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])}])});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-inputs.umd.min.js
|
|
3
|
-
* version : 20.
|
|
3
|
+
* version : 20.4.38
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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&&"undefined"!=typeof module?e(exports,require("react"),require("@syncfusion/ej2-inputs"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-inputs","@syncfusion/ej2-react-base"],e):e(t.ej={},t.React,t.ej2Inputs,t.ej2ReactBase)}(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 n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return o(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement(e.Fragment,null,[].concat(e.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.TextBox);r.applyMixins(i,[r.ComponentBase,e.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)}}(),
|
|
10
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("react"),require("@syncfusion/ej2-inputs"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-inputs","@syncfusion/ej2-react-base"],e):e(t.ej={},t.React,t.ej2Inputs,t.ej2ReactBase)}(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 n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return o(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement(e.Fragment,null,[].concat(e.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.TextBox);r.applyMixins(i,[r.ComponentBase,e.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)}}(),a=function(t){function n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return c(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement(e.Fragment,null,[].concat(e.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.NumericTextBox);r.applyMixins(a,[r.ComponentBase,e.Component]);var s=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)}}(),p=function(t){function n(e){var n=t.call(this,e)||this;return n.controlAttributes=["name"],n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return s(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement(e.Fragment,null,[].concat(e.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.MaskedTextBox);r.applyMixins(p,[r.ComponentBase,e.Component]);var u=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)}}(),l=function(t){function n(e){var n=t.call(this,e)||this;return n.controlAttributes=["name"],n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return u(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}(n.Slider);r.applyMixins(l,[r.ComponentBase,e.Component]);var 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)}}(),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.moduleName="uploadedFiles",e}(r.ComplexBase),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.propertyName="files",e.moduleName="files",e}(r.ComplexBase),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)}}(),m=function(t){function n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={files:"uploadedFiles"},n.immediateRender=!1,n.portals=[],n}return y(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement(e.Fragment,null,[].concat(e.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.Uploader);r.applyMixins(m,[r.ComponentBase,e.Component]);var _=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 n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return _(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement(e.Fragment,null,[].concat(e.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.ColorPicker);r.applyMixins(C,[r.ComponentBase,e.Component]);var R=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 n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return R(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement("canvas",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.Signature);r.applyMixins(v,[r.ComponentBase,e.Component]);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)}}(),j=function(t){function n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!1,n.portals=[],n}return O(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement(e.Fragment,null,[].concat(e.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.Rating);r.applyMixins(j,[r.ComponentBase,e.Component]),t.TextBoxComponent=i,t.NumericTextBoxComponent=a,t.MaskedTextBoxComponent=p,t.SliderComponent=l,t.UploadedFilesDirective=d,t.FilesDirective=h,t.UploaderComponent=m,t.ColorPickerComponent=C,t.SignatureComponent=v,t.RatingComponent=j,Object.keys(n).forEach(function(e){t[e]=n[e]}),Object.defineProperty(t,"__esModule",{value:!0})});
|
|
11
11
|
//# sourceMappingURL=ej2-react-inputs.umd.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-react-inputs.umd.min.js","sources":["../src/textbox/textbox.component.js","../src/numerictextbox/numerictextbox.component.js","../src/maskedtextbox/maskedtextbox.component.js","../src/slider/slider.component.js","../src/uploader/files-directive.js","../src/uploader/uploader.component.js","../src/color-picker/colorpicker.component.js","../src/signature/signature.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 * as React from 'react';\nimport { TextBox } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React TextBox Component\n * ```html\n * <TextBox value={value}></TextBox>\n * ```\n */\nvar TextBoxComponent = /** @class */ (function (_super) {\n __extends(TextBoxComponent, _super);\n function TextBoxComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n TextBoxComponent.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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n };\n return TextBoxComponent;\n}(TextBox));\nexport { TextBoxComponent };\napplyMixins(TextBoxComponent, [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 * as React from 'react';\nimport { NumericTextBox } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React NumericTextBox Component\n * ```html\n * <NumericTextBox value={value}></NumericTextBox>\n * ```\n */\nvar NumericTextBoxComponent = /** @class */ (function (_super) {\n __extends(NumericTextBoxComponent, _super);\n function NumericTextBoxComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n NumericTextBoxComponent.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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n };\n return NumericTextBoxComponent;\n}(NumericTextBox));\nexport { NumericTextBoxComponent };\napplyMixins(NumericTextBoxComponent, [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 * as React from 'react';\nimport { MaskedTextBox } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React MaskedTextBox Component\n * ```html\n * <MaskedTextBox value={value}></MaskedTextBox>\n * ```\n */\nvar MaskedTextBoxComponent = /** @class */ (function (_super) {\n __extends(MaskedTextBoxComponent, _super);\n function MaskedTextBoxComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.controlAttributes = ['name'];\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n MaskedTextBoxComponent.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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n };\n return MaskedTextBoxComponent;\n}(MaskedTextBox));\nexport { MaskedTextBoxComponent };\napplyMixins(MaskedTextBoxComponent, [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 * as React from 'react';\nimport { Slider } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Slider Component\n * ```html\n * <Slider value={value}></Slider>\n * ```\n */\nvar SliderComponent = /** @class */ (function (_super) {\n __extends(SliderComponent, _super);\n function SliderComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.controlAttributes = ['name'];\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n SliderComponent.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 SliderComponent;\n}(Slider));\nexport { SliderComponent };\napplyMixins(SliderComponent, [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 * `FilesDirective` represent a file of the react uploader.\n * It must be contained in a Uploader component(`UploaderComponent`).\n * ```tsx\n * <UploaderComponent multiple={true}>\n * <FilesDirective>\n * <FileDirective name='Java' size=23000 type='pdf'><FileDirective>\n * <FileDirective name='C++' size=30000 type='.docx'><FileDirective>\n * </FilesDirective>\n * </UploaderComponent>\n * ```\n */\nvar UploadedFilesDirective = /** @class */ (function (_super) {\n __extends(UploadedFilesDirective, _super);\n function UploadedFilesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n UploadedFilesDirective.moduleName = 'uploadedFiles';\n return UploadedFilesDirective;\n}(ComplexBase));\nexport { UploadedFilesDirective };\nvar FilesDirective = /** @class */ (function (_super) {\n __extends(FilesDirective, _super);\n function FilesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n FilesDirective.propertyName = 'files';\n FilesDirective.moduleName = 'files';\n return FilesDirective;\n}(ComplexBase));\nexport { FilesDirective };\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 { Uploader } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Uploader Component\n * ```html\n * <UploaderComponent></UploaderComponent>\n * ```\n */\nvar UploaderComponent = /** @class */ (function (_super) {\n __extends(UploaderComponent, _super);\n function UploaderComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.directivekeys = { 'files': 'uploadedFiles' };\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n UploaderComponent.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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n };\n return UploaderComponent;\n}(Uploader));\nexport { UploaderComponent };\napplyMixins(UploaderComponent, [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 * as React from 'react';\nimport { ColorPicker } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React ColorPicker Component\n * ```html\n * <ColorPickerComponent></ColorPickerComponent>\n * ```\n */\nvar ColorPickerComponent = /** @class */ (function (_super) {\n __extends(ColorPickerComponent, _super);\n function ColorPickerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n ColorPickerComponent.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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n };\n return ColorPickerComponent;\n}(ColorPicker));\nexport { ColorPickerComponent };\napplyMixins(ColorPickerComponent, [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 * as React from 'react';\nimport { Signature } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Signature Component\n * ```html\n * <SignatureComponent></SignatureComponent>\n * ```\n */\nvar SignatureComponent = /** @class */ (function (_super) {\n __extends(SignatureComponent, _super);\n function SignatureComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n SignatureComponent.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('canvas', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return SignatureComponent;\n}(Signature));\nexport { SignatureComponent };\napplyMixins(SignatureComponent, [ComponentBase, React.Component]);\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","TextBoxComponent","_super","props","_this","call","initRenderCalled","checkInjectedModules","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","React.Fragment","concat","getDefaultAttributes","TextBox","ej2ReactBase","ComponentBase","React.Component","NumericTextBoxComponent","NumericTextBox","MaskedTextBoxComponent","controlAttributes","MaskedTextBox","SliderComponent","children","Slider","UploadedFilesDirective","apply","arguments","moduleName","ComplexBase","FilesDirective","propertyName","UploaderComponent","directivekeys","files","Uploader","ColorPickerComponent","ColorPicker","SignatureComponent","Signature"],"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,GAEj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ources":["../src/textbox/textbox.component.js","../src/numerictextbox/numerictextbox.component.js","../src/maskedtextbox/maskedtextbox.component.js","../src/slider/slider.component.js","../src/uploader/files-directive.js","../src/uploader/uploader.component.js","../src/color-picker/colorpicker.component.js","../src/signature/signature.component.js","../src/rating/rating.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 * as React from 'react';\nimport { TextBox } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React TextBox Component\n * ```html\n * <TextBox value={value}></TextBox>\n * ```\n */\nvar TextBoxComponent = /** @class */ (function (_super) {\n __extends(TextBoxComponent, _super);\n function TextBoxComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n TextBoxComponent.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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n };\n return TextBoxComponent;\n}(TextBox));\nexport { TextBoxComponent };\napplyMixins(TextBoxComponent, [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 * as React from 'react';\nimport { NumericTextBox } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React NumericTextBox Component\n * ```html\n * <NumericTextBox value={value}></NumericTextBox>\n * ```\n */\nvar NumericTextBoxComponent = /** @class */ (function (_super) {\n __extends(NumericTextBoxComponent, _super);\n function NumericTextBoxComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n NumericTextBoxComponent.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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n };\n return NumericTextBoxComponent;\n}(NumericTextBox));\nexport { NumericTextBoxComponent };\napplyMixins(NumericTextBoxComponent, [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 * as React from 'react';\nimport { MaskedTextBox } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React MaskedTextBox Component\n * ```html\n * <MaskedTextBox value={value}></MaskedTextBox>\n * ```\n */\nvar MaskedTextBoxComponent = /** @class */ (function (_super) {\n __extends(MaskedTextBoxComponent, _super);\n function MaskedTextBoxComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.controlAttributes = ['name'];\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n MaskedTextBoxComponent.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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n };\n return MaskedTextBoxComponent;\n}(MaskedTextBox));\nexport { MaskedTextBoxComponent };\napplyMixins(MaskedTextBoxComponent, [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 * as React from 'react';\nimport { Slider } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Slider Component\n * ```html\n * <Slider value={value}></Slider>\n * ```\n */\nvar SliderComponent = /** @class */ (function (_super) {\n __extends(SliderComponent, _super);\n function SliderComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.controlAttributes = ['name'];\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n SliderComponent.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 SliderComponent;\n}(Slider));\nexport { SliderComponent };\napplyMixins(SliderComponent, [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 * `FilesDirective` represent a file of the react uploader.\n * It must be contained in a Uploader component(`UploaderComponent`).\n * ```tsx\n * <UploaderComponent multiple={true}>\n * <FilesDirective>\n * <FileDirective name='Java' size=23000 type='pdf'><FileDirective>\n * <FileDirective name='C++' size=30000 type='.docx'><FileDirective>\n * </FilesDirective>\n * </UploaderComponent>\n * ```\n */\nvar UploadedFilesDirective = /** @class */ (function (_super) {\n __extends(UploadedFilesDirective, _super);\n function UploadedFilesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n UploadedFilesDirective.moduleName = 'uploadedFiles';\n return UploadedFilesDirective;\n}(ComplexBase));\nexport { UploadedFilesDirective };\nvar FilesDirective = /** @class */ (function (_super) {\n __extends(FilesDirective, _super);\n function FilesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n FilesDirective.propertyName = 'files';\n FilesDirective.moduleName = 'files';\n return FilesDirective;\n}(ComplexBase));\nexport { FilesDirective };\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 { Uploader } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Uploader Component\n * ```html\n * <UploaderComponent></UploaderComponent>\n * ```\n */\nvar UploaderComponent = /** @class */ (function (_super) {\n __extends(UploaderComponent, _super);\n function UploaderComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.directivekeys = { 'files': 'uploadedFiles' };\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n UploaderComponent.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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n };\n return UploaderComponent;\n}(Uploader));\nexport { UploaderComponent };\napplyMixins(UploaderComponent, [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 * as React from 'react';\nimport { ColorPicker } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React ColorPicker Component\n * ```html\n * <ColorPickerComponent></ColorPickerComponent>\n * ```\n */\nvar ColorPickerComponent = /** @class */ (function (_super) {\n __extends(ColorPickerComponent, _super);\n function ColorPickerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n ColorPickerComponent.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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n };\n return ColorPickerComponent;\n}(ColorPicker));\nexport { ColorPickerComponent };\napplyMixins(ColorPickerComponent, [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 * as React from 'react';\nimport { Signature } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Signature Component\n * ```html\n * <SignatureComponent></SignatureComponent>\n * ```\n */\nvar SignatureComponent = /** @class */ (function (_super) {\n __extends(SignatureComponent, _super);\n function SignatureComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n SignatureComponent.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('canvas', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return SignatureComponent;\n}(Signature));\nexport { SignatureComponent };\napplyMixins(SignatureComponent, [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 * as React from 'react';\nimport { Rating } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Rating Component\n * ```html\n * <RatingComponent value={value}></RatingComponent>\n * ```\n */\nvar RatingComponent = /** @class */ (function (_super) {\n __extends(RatingComponent, _super);\n function RatingComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n RatingComponent.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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n };\n return RatingComponent;\n}(Rating));\nexport { RatingComponent };\napplyMixins(RatingComponent, [ComponentBase, React.Component]);\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","TextBoxComponent","_super","props","_this","call","initRenderCalled","checkInjectedModules","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","React.Fragment","concat","getDefaultAttributes","TextBox","ej2ReactBase","ComponentBase","React.Component","NumericTextBoxComponent","NumericTextBox","MaskedTextBoxComponent","controlAttributes","MaskedTextBox","SliderComponent","children","Slider","UploadedFilesDirective","apply","arguments","moduleName","ComplexBase","FilesDirective","propertyName","UploaderComponent","directivekeys","files","Uploader","ColorPickerComponent","ColorPicker","SignatureComponent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MAC7BA,KAAKS,kBAAmB,GAMzBuC,GACTC,UACF3B,cACY0B,GAAkBzB,gBAAeC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, Fragment, createElement } from 'react';
|
|
2
|
-
import { ColorPicker, MaskedTextBox, NumericTextBox, Signature, Slider, TextBox, Uploader } from '@syncfusion/ej2-inputs';
|
|
2
|
+
import { ColorPicker, MaskedTextBox, NumericTextBox, Rating, Signature, Slider, TextBox, Uploader } from '@syncfusion/ej2-inputs';
|
|
3
3
|
import { ComplexBase, ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -207,6 +207,32 @@ class SignatureComponent extends Signature {
|
|
|
207
207
|
}
|
|
208
208
|
applyMixins(SignatureComponent, [ComponentBase, Component]);
|
|
209
209
|
|
|
210
|
-
|
|
210
|
+
/**
|
|
211
|
+
* Represents the React Rating Component
|
|
212
|
+
* ```html
|
|
213
|
+
* <RatingComponent value={value}></RatingComponent>
|
|
214
|
+
* ```
|
|
215
|
+
*/
|
|
216
|
+
class RatingComponent extends Rating {
|
|
217
|
+
constructor(props) {
|
|
218
|
+
super(props);
|
|
219
|
+
this.initRenderCalled = false;
|
|
220
|
+
this.checkInjectedModules = false;
|
|
221
|
+
this.immediateRender = false;
|
|
222
|
+
this.portals = [];
|
|
223
|
+
}
|
|
224
|
+
render() {
|
|
225
|
+
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
|
|
226
|
+
super.render();
|
|
227
|
+
this.initRenderCalled = true;
|
|
228
|
+
}
|
|
229
|
+
else {
|
|
230
|
+
return createElement(Fragment, null, [].concat(createElement("input", this.getDefaultAttributes()), this.portals));
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
applyMixins(RatingComponent, [ComponentBase, Component]);
|
|
235
|
+
|
|
236
|
+
export { TextBoxComponent, NumericTextBoxComponent, MaskedTextBoxComponent, SliderComponent, UploadedFilesDirective, FilesDirective, UploaderComponent, ColorPickerComponent, SignatureComponent, RatingComponent };
|
|
211
237
|
export * from '@syncfusion/ej2-inputs';
|
|
212
238
|
//# sourceMappingURL=ej2-react-inputs.es2015.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-react-inputs.es2015.js","sources":["../src/es6/textbox/textbox.component.js","../src/es6/numerictextbox/numerictextbox.component.js","../src/es6/maskedtextbox/maskedtextbox.component.js","../src/es6/slider/slider.component.js","../src/es6/uploader/files-directive.js","../src/es6/uploader/uploader.component.js","../src/es6/color-picker/colorpicker.component.js","../src/es6/signature/signature.component.js"],"sourcesContent":["import * as React from 'react';\nimport { TextBox } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React TextBox Component\n * ```html\n * <TextBox value={value}></TextBox>\n * ```\n */\nexport class TextBoxComponent extends TextBox {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.immediateRender = true;\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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n }\n}\napplyMixins(TextBoxComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { NumericTextBox } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React NumericTextBox Component\n * ```html\n * <NumericTextBox value={value}></NumericTextBox>\n * ```\n */\nexport class NumericTextBoxComponent extends NumericTextBox {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.immediateRender = true;\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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n }\n}\napplyMixins(NumericTextBoxComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { MaskedTextBox } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React MaskedTextBox Component\n * ```html\n * <MaskedTextBox value={value}></MaskedTextBox>\n * ```\n */\nexport class MaskedTextBoxComponent extends MaskedTextBox {\n constructor(props) {\n super(props);\n this.controlAttributes = ['name'];\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.immediateRender = true;\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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n }\n}\napplyMixins(MaskedTextBoxComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { Slider } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Slider Component\n * ```html\n * <Slider value={value}></Slider>\n * ```\n */\nexport class SliderComponent extends Slider {\n constructor(props) {\n super(props);\n this.controlAttributes = ['name'];\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.immediateRender = true;\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(SliderComponent, [ComponentBase, React.Component]);\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `FilesDirective` represent a file of the react uploader.\n * It must be contained in a Uploader component(`UploaderComponent`).\n * ```tsx\n * <UploaderComponent multiple={true}>\n * <FilesDirective>\n * <FileDirective name='Java' size=23000 type='pdf'><FileDirective>\n * <FileDirective name='C++' size=30000 type='.docx'><FileDirective>\n * </FilesDirective>\n * </UploaderComponent>\n * ```\n */\nexport class UploadedFilesDirective extends ComplexBase {\n}\nUploadedFilesDirective.moduleName = 'uploadedFiles';\nexport class FilesDirective extends ComplexBase {\n}\nFilesDirective.propertyName = 'files';\nFilesDirective.moduleName = 'files';\n","import * as React from 'react';\nimport { Uploader } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Uploader Component\n * ```html\n * <UploaderComponent></UploaderComponent>\n * ```\n */\nexport class UploaderComponent extends Uploader {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.directivekeys = { 'files': 'uploadedFiles' };\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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n }\n}\napplyMixins(UploaderComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { ColorPicker } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React ColorPicker Component\n * ```html\n * <ColorPickerComponent></ColorPickerComponent>\n * ```\n */\nexport class ColorPickerComponent extends ColorPicker {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.immediateRender = true;\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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n }\n}\napplyMixins(ColorPickerComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { Signature } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Signature Component\n * ```html\n * <SignatureComponent></SignatureComponent>\n * ```\n */\nexport class SignatureComponent extends Signature {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.immediateRender = true;\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('canvas', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(SignatureComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Fragment","React.Component"],"mappings":";;;;AAGA;;;;;;AAMA,AAAO,MAAM,gBAAgB,SAAS,OAAO,CAAC;IAC1C,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,eAAe,GAAG,IAAI,CAAC;QAC5B,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,CAACC,QAAc,EAAE,IAAI,EAAE,EAAE,CAAC,MAAM,CAACD,aAAmB,CAAC,OAAO,EAAE,IAAI,CAAC,oBAAoB,EAAE,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;SACxI;KACJ;CACJ;AACD,WAAW,CAAC,gBAAgB,EAAE,CAAC,aA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,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,OAAOF,aAAmB,CAAC,QAAQ,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;SACnH;KACJ;CACJ;AACD,WAAW,CAAC,kBAAkB,EAAE,CAAC,aAAa,EAAEE,SAAe,CAAC,CAAC,CAAC;;;;;"}
|
|
1
|
+
{"version":3,"file":"ej2-react-inputs.es2015.js","sources":["../src/es6/textbox/textbox.component.js","../src/es6/numerictextbox/numerictextbox.component.js","../src/es6/maskedtextbox/maskedtextbox.component.js","../src/es6/slider/slider.component.js","../src/es6/uploader/files-directive.js","../src/es6/uploader/uploader.component.js","../src/es6/color-picker/colorpicker.component.js","../src/es6/signature/signature.component.js","../src/es6/rating/rating.component.js"],"sourcesContent":["import * as React from 'react';\nimport { TextBox } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React TextBox Component\n * ```html\n * <TextBox value={value}></TextBox>\n * ```\n */\nexport class TextBoxComponent extends TextBox {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.immediateRender = true;\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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n }\n}\napplyMixins(TextBoxComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { NumericTextBox } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React NumericTextBox Component\n * ```html\n * <NumericTextBox value={value}></NumericTextBox>\n * ```\n */\nexport class NumericTextBoxComponent extends NumericTextBox {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.immediateRender = true;\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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n }\n}\napplyMixins(NumericTextBoxComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { MaskedTextBox } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React MaskedTextBox Component\n * ```html\n * <MaskedTextBox value={value}></MaskedTextBox>\n * ```\n */\nexport class MaskedTextBoxComponent extends MaskedTextBox {\n constructor(props) {\n super(props);\n this.controlAttributes = ['name'];\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.immediateRender = true;\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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n }\n}\napplyMixins(MaskedTextBoxComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { Slider } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Slider Component\n * ```html\n * <Slider value={value}></Slider>\n * ```\n */\nexport class SliderComponent extends Slider {\n constructor(props) {\n super(props);\n this.controlAttributes = ['name'];\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.immediateRender = true;\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(SliderComponent, [ComponentBase, React.Component]);\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `FilesDirective` represent a file of the react uploader.\n * It must be contained in a Uploader component(`UploaderComponent`).\n * ```tsx\n * <UploaderComponent multiple={true}>\n * <FilesDirective>\n * <FileDirective name='Java' size=23000 type='pdf'><FileDirective>\n * <FileDirective name='C++' size=30000 type='.docx'><FileDirective>\n * </FilesDirective>\n * </UploaderComponent>\n * ```\n */\nexport class UploadedFilesDirective extends ComplexBase {\n}\nUploadedFilesDirective.moduleName = 'uploadedFiles';\nexport class FilesDirective extends ComplexBase {\n}\nFilesDirective.propertyName = 'files';\nFilesDirective.moduleName = 'files';\n","import * as React from 'react';\nimport { Uploader } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Uploader Component\n * ```html\n * <UploaderComponent></UploaderComponent>\n * ```\n */\nexport class UploaderComponent extends Uploader {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.directivekeys = { 'files': 'uploadedFiles' };\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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n }\n}\napplyMixins(UploaderComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { ColorPicker } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React ColorPicker Component\n * ```html\n * <ColorPickerComponent></ColorPickerComponent>\n * ```\n */\nexport class ColorPickerComponent extends ColorPicker {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.immediateRender = true;\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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n }\n}\napplyMixins(ColorPickerComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { Signature } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Signature Component\n * ```html\n * <SignatureComponent></SignatureComponent>\n * ```\n */\nexport class SignatureComponent extends Signature {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.immediateRender = true;\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('canvas', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(SignatureComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { Rating } from '@syncfusion/ej2-inputs';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the React Rating Component\n * ```html\n * <RatingComponent value={value}></RatingComponent>\n * ```\n */\nexport class RatingComponent extends Rating {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\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(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n }\n}\napplyMixins(RatingComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Fragment","React.Component"],"mappings":";;;;AAGA;;;;;;AAMA,AAAO,MAAM,gBAAgB,SAAS,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EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC;QAClC,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,OAAOF,aAAmB,CAACC,QAAc,EAAE,IAAI,EAAE,EAAE,CAAC,MAAM,CAACD,aAAmB,CAAC,OAAO,EAAE,IAAI,CAAC,oBAAoB,EAAE,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;SACxI;KACJ;CACJ;AACD,WAAW,CAAC,eAAe,EAAE,CAAC,aAAa,EAAEE,SAAe,CAAC,CAAC,CAAC;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-react-inputs@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-react-inputs@
|
|
3
|
+
"_id": "@syncfusion/ej2-react-inputs@18.69.0",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-M/HYwBiMY3NFS0QSCKWCEVSf+kmOT/jRxtRNOcTBeaY5HFRucZsnPJAj+W7/fj65YS4HZ/cQN19lk7yppm3E7A==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-react-inputs",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-react-inputs/-/ej2-react-inputs-18.69.0.tgz",
|
|
23
|
+
"_shasum": "9d9326280f5aed273f6745e8ae8d8c330059c6b7",
|
|
24
24
|
"_spec": "@syncfusion/ej2-react-inputs@*",
|
|
25
25
|
"_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
|
|
26
26
|
"author": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~20.
|
|
35
|
-
"@syncfusion/ej2-inputs": "20.
|
|
36
|
-
"@syncfusion/ej2-react-base": "~20.
|
|
34
|
+
"@syncfusion/ej2-base": "~20.4.38",
|
|
35
|
+
"@syncfusion/ej2-inputs": "20.4.38",
|
|
36
|
+
"@syncfusion/ej2-react-base": "~20.4.38"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "A package of Essential JS 2 input components such as Textbox, Color-picker, Masked-textbox, Numeric-textbox, Slider, Upload, and Form-validator that is used to get input from the users. for React",
|
|
@@ -92,6 +92,9 @@
|
|
|
92
92
|
"input-file",
|
|
93
93
|
"floating-label",
|
|
94
94
|
"chunk-upload",
|
|
95
|
+
"rating",
|
|
96
|
+
"ej2-rating",
|
|
97
|
+
"ej2 rating",
|
|
95
98
|
"react",
|
|
96
99
|
"reactjs",
|
|
97
100
|
"ej2-react-inputs",
|
|
@@ -111,7 +114,8 @@
|
|
|
111
114
|
"react-upload",
|
|
112
115
|
"react-upload-box",
|
|
113
116
|
"react-input-file",
|
|
114
|
-
"react-chunk-upload"
|
|
117
|
+
"react-chunk-upload",
|
|
118
|
+
"react-rating"
|
|
115
119
|
],
|
|
116
120
|
"license": "SEE LICENSE IN license",
|
|
117
121
|
"main": "./dist/ej2-react-inputs.umd.min.js",
|
|
@@ -121,6 +125,6 @@
|
|
|
121
125
|
"type": "git",
|
|
122
126
|
"url": "git+https://github.com/syncfusion/ej2-react-ui-components.git"
|
|
123
127
|
},
|
|
124
|
-
"version": "20.
|
|
128
|
+
"version": "20.4.38",
|
|
125
129
|
"sideEffects": false
|
|
126
130
|
}
|
package/rating.d.ts
ADDED
package/rating.js
ADDED
package/src/index.d.ts
CHANGED
package/src/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './rating.component';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './rating.component';
|