@syncfusion/ej2-react-inputs 19.3.53 → 19.4.42
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 +22 -0
- package/diConfig.json +34 -0
- 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 +8 -8
- package/signature.d.ts +4 -0
- package/signature.js +4 -0
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/signature/index.d.ts +1 -0
- package/src/signature/index.js +1 -0
- package/src/signature/signature.component.d.ts +31 -0
- package/src/signature/signature.component.js +45 -0
- package/styles/bootstrap-dark.css +43 -16
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap.css +43 -16
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4.css +43 -16
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark.css +46 -41
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5.css +46 -41
- package/styles/bootstrap5.scss +1 -0
- package/styles/color-picker/bootstrap-dark.css +20 -0
- package/styles/color-picker/bootstrap.css +20 -0
- package/styles/color-picker/bootstrap4.css +20 -0
- package/styles/color-picker/bootstrap5-dark.css +22 -20
- package/styles/color-picker/bootstrap5.css +22 -20
- package/styles/color-picker/fabric-dark.css +23 -3
- package/styles/color-picker/fabric.css +20 -0
- package/styles/color-picker/highcontrast-light.css +20 -0
- package/styles/color-picker/highcontrast.css +20 -0
- package/styles/color-picker/material-dark.css +20 -0
- package/styles/color-picker/material.css +20 -0
- package/styles/color-picker/tailwind-dark.css +20 -0
- package/styles/color-picker/tailwind.css +20 -0
- package/styles/fabric-dark.css +46 -19
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric.css +43 -16
- package/styles/fabric.scss +1 -0
- package/styles/highcontrast-light.css +43 -16
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast.css +43 -16
- package/styles/highcontrast.scss +1 -0
- package/styles/input/bootstrap-dark.css +13 -16
- package/styles/input/bootstrap.css +13 -16
- package/styles/input/bootstrap4.css +13 -16
- package/styles/input/bootstrap5-dark.css +13 -16
- package/styles/input/bootstrap5.css +13 -16
- package/styles/input/fabric-dark.css +13 -16
- package/styles/input/fabric.css +13 -16
- package/styles/input/highcontrast-light.css +13 -16
- package/styles/input/highcontrast.css +13 -16
- package/styles/input/material-dark.css +13 -16
- package/styles/input/material.css +13 -16
- package/styles/input/tailwind-dark.css +13 -16
- package/styles/input/tailwind.css +13 -16
- package/styles/material-dark.css +43 -16
- package/styles/material-dark.scss +1 -0
- package/styles/material.css +43 -16
- package/styles/material.scss +1 -0
- package/styles/signature/bootstrap-dark.css +9 -0
- package/styles/signature/bootstrap-dark.scss +1 -0
- package/styles/signature/bootstrap.css +9 -0
- package/styles/signature/bootstrap.scss +1 -0
- package/styles/signature/bootstrap4.css +9 -0
- package/styles/signature/bootstrap4.scss +1 -0
- package/styles/signature/bootstrap5-dark.css +9 -0
- package/styles/signature/bootstrap5-dark.scss +1 -0
- package/styles/signature/bootstrap5.css +9 -0
- package/styles/signature/bootstrap5.scss +1 -0
- package/styles/signature/fabric-dark.css +9 -0
- package/styles/signature/fabric-dark.scss +1 -0
- package/styles/signature/fabric.css +9 -0
- package/styles/signature/fabric.scss +1 -0
- package/styles/signature/highcontrast-light.css +9 -0
- package/styles/signature/highcontrast-light.scss +1 -0
- package/styles/signature/highcontrast.css +9 -0
- package/styles/signature/highcontrast.scss +1 -0
- package/styles/signature/material-dark.css +10 -0
- package/styles/signature/material-dark.scss +1 -0
- package/styles/signature/material.css +10 -0
- package/styles/signature/material.scss +1 -0
- package/styles/signature/tailwind-dark.css +10 -0
- package/styles/signature/tailwind-dark.scss +1 -0
- package/styles/signature/tailwind.css +10 -0
- package/styles/signature/tailwind.scss +1 -0
- package/styles/slider/bootstrap5-dark.css +1 -5
- package/styles/slider/bootstrap5.css +1 -5
- package/styles/slider/tailwind-dark.css +1 -5
- package/styles/slider/tailwind.css +1 -5
- package/styles/tailwind-dark.css +45 -21
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind.css +45 -21
- package/styles/tailwind.scss +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## 19.4.38 (2021-12-17)
|
|
6
|
+
|
|
7
|
+
### Signature
|
|
8
|
+
|
|
9
|
+
The Signature control allows user to draw smooth signatures as vector outline of strokes using variable width Bézier curve interpolation. You can use your finger, pen, or mouse on a tablet, touchscreen, etc., to draw your own signature on this Signature control.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
- **Customization** - Support various customization options like background color, background image, stroke color, stroke width, save with background, undo, redo, clear, readonly, and disabled.
|
|
13
|
+
- **Load** - Support to load the signature as base64.
|
|
14
|
+
- **Draw** - Support to draw the text with the different font family and font size.
|
|
15
|
+
- **Save** - Support to save the signature as image like PNG, JPEG, and SVG.
|
|
16
|
+
|
|
17
|
+
The Signature component allows user to draw smooth signatures as vector outline of strokes using variable width Bézier curve interpolation. You can use your finger, pen, or mouse on a tablet, touchscreen, etc., to draw your own signature on this Signature component.
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **Customization** - Support various customization options like background color, background image, stroke color, stroke width, save with background, undo, redo, clear, readonly, and disabled.
|
|
21
|
+
- **Load** - Support to load the signature as base64.
|
|
22
|
+
- **Draw** - Support to draw the text with the different font family and font size.
|
|
23
|
+
- **Save** - Support to save the signature as image like PNG, JPEG, and SVG.
|
|
24
|
+
|
|
25
|
+
## 19.3.53 (2021-11-12)
|
|
26
|
+
|
|
5
27
|
### ColorPicker
|
|
6
28
|
|
|
7
29
|
#### Bug Fixes
|
package/diConfig.json
CHANGED
|
@@ -352,6 +352,40 @@
|
|
|
352
352
|
" * ```",
|
|
353
353
|
" */"
|
|
354
354
|
]
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"baseClass": "Signature",
|
|
358
|
+
"directoryName": "signature",
|
|
359
|
+
"type": "form",
|
|
360
|
+
"selector": "[ejs-signature]",
|
|
361
|
+
"preferredTag": "canvas",
|
|
362
|
+
"defaultTag": "<canvas id='signature'/>",
|
|
363
|
+
"blazorType": "native",
|
|
364
|
+
"blazorPlaceholder": "signature",
|
|
365
|
+
"comment": [
|
|
366
|
+
"/**",
|
|
367
|
+
" * Represents the EJ2 Angular Signature Component.",
|
|
368
|
+
" * ```html",
|
|
369
|
+
" * <canvas ejs-signature />",
|
|
370
|
+
" * ```",
|
|
371
|
+
" */"
|
|
372
|
+
],
|
|
373
|
+
"reactComment": [
|
|
374
|
+
"/**",
|
|
375
|
+
" * Represents the React Signature Component",
|
|
376
|
+
" * ```html",
|
|
377
|
+
" * <SignatureComponent></SignatureComponent>",
|
|
378
|
+
" * ```",
|
|
379
|
+
" */"
|
|
380
|
+
],
|
|
381
|
+
"vueComment": [
|
|
382
|
+
"/**",
|
|
383
|
+
" * Represents the Essential JS 2 VueJS Signature Component",
|
|
384
|
+
" * ```html",
|
|
385
|
+
" * <ejs-signature></ejs-signature>",
|
|
386
|
+
" * ```",
|
|
387
|
+
" */"
|
|
388
|
+
]
|
|
355
389
|
}
|
|
356
390
|
]
|
|
357
391
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-inputs.umd.min.js
|
|
3
|
-
* version : 19.
|
|
3
|
+
* version : 19.4.42
|
|
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)}}(),s=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(s,[r.ComponentBase,e.Component]);var a=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 a(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]),t.TextBoxComponent=i,t.NumericTextBoxComponent=s,t.MaskedTextBoxComponent=p,t.SliderComponent=l,t.UploadedFilesDirective=d,t.FilesDirective=h,t.UploaderComponent=m,t.ColorPickerComponent=C,Object.keys(n).forEach(function(e){t[e]=n[e]}),Object.defineProperty(t,"__esModule",{value:!0})});
|
|
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)}}(),s=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(s,[r.ComponentBase,e.Component]);var a=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 a(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]),t.TextBoxComponent=i,t.NumericTextBoxComponent=s,t.MaskedTextBoxComponent=p,t.SliderComponent=l,t.UploadedFilesDirective=d,t.FilesDirective=h,t.UploaderComponent=m,t.ColorPickerComponent=C,t.SignatureComponent=v,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"],"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"],"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"],"mappings":"qXAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAsBxCK,EAAkC,SAAUC,GAE5C,SAASD,EAAiBE,GACtB,IAAIC,EAAQF,EAAOG,KAAKR,KAAMM,IAAUN,KAKxC,OAJAO,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMI,iBAAkB,EACxBJ,EAAMK,WACCL,EAWX,OAlBAlB,EAAUe,EAAkBC,GAS5BD,EAAiBF,UAAUW,OAAS,WAChC,KAAMb,KAAKc,UAAYd,KAAKS,kBAAqBT,KAAKe,aAAgBf,KAAKgB,oBAKvE,OAAOC,gBAAoBC,WAAgB,QAASC,OAAOF,gBAAoB,QAASjB,KAAKoB,wBAAyBpB,KAAKY,UAJ3HP,EAAOH,UAAUW,OAAOL,KAAKR,MAC7BA,KAAKS,kBAAmB,GAMzBL,GACTiB,W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EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAsBxC6C,EAAsC,SAAUvC,GAEhD,SAASuC,EAAqBtC,GAC1B,IAAIC,EAAQF,EAAOG,KAAKR,KAAMM,IAAUN,KAKxC,OAJAO,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMI,iBAAkB,EACxBJ,EAAMK,WACCL,EAWX,OAlBAlB,EAAUuD,EAAsBvC,GAShCuC,EAAqB1C,UAAUW,OAAS,WACpC,KAAMb,KAAKc,UAAYd,KAAKS,kBAAqBT,KAAKe,aAAgBf,KAAKgB,oBAKvE,OAAOC,gBAAoBC,WAAgB,QAASC,OAAOF,gBAAoB,QAASjB,KAAKoB,wBAAyBpB,KAAKY,UAJ3HP,EAAOH,UAAUW,OAAOL,KAAKR,MAC7BA,KAAKS,kBAAmB,GAMzBmC,GACTC,eACFvB,cACYsB,GAAuBrB,gBAAeC"}
|
|
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","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,WACCL,EAWX,OAlBAlB,EAAUyD,EAAoBzC,GAS9ByC,EAAmB5C,UAAUW,OAAS,WAClC,KAAMb,KAAKc,UAAYd,KAAKS,kBAAqBT,KAAKe,aAAgBf,KAAKgB,oBAKvE,OAAOC,gBAAoB,SAAUjB,KAAKoB,0BAA2BD,OAAOnB,KAAKM,MAAMyB,SAAU/B,KAAKY,UAJtGP,EAAOH,UAAUW,OAAOL,KAAKR,MAC7BA,KAAKS,kBAAmB,GAMzBqC,GACTC,aACFzB,cACYwB,GAAqBvB,gBAAeC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, Fragment, createElement } from 'react';
|
|
2
|
-
import { ColorPicker, MaskedTextBox, NumericTextBox, Slider, TextBox, Uploader } from '@syncfusion/ej2-inputs';
|
|
2
|
+
import { ColorPicker, MaskedTextBox, NumericTextBox, Signature, Slider, TextBox, Uploader } from '@syncfusion/ej2-inputs';
|
|
3
3
|
import { ComplexBase, ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -181,6 +181,32 @@ class ColorPickerComponent extends ColorPicker {
|
|
|
181
181
|
}
|
|
182
182
|
applyMixins(ColorPickerComponent, [ComponentBase, Component]);
|
|
183
183
|
|
|
184
|
-
|
|
184
|
+
/**
|
|
185
|
+
* Represents the React Signature Component
|
|
186
|
+
* ```html
|
|
187
|
+
* <SignatureComponent></SignatureComponent>
|
|
188
|
+
* ```
|
|
189
|
+
*/
|
|
190
|
+
class SignatureComponent extends Signature {
|
|
191
|
+
constructor(props) {
|
|
192
|
+
super(props);
|
|
193
|
+
this.initRenderCalled = false;
|
|
194
|
+
this.checkInjectedModules = false;
|
|
195
|
+
this.immediateRender = true;
|
|
196
|
+
this.portals = [];
|
|
197
|
+
}
|
|
198
|
+
render() {
|
|
199
|
+
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
|
|
200
|
+
super.render();
|
|
201
|
+
this.initRenderCalled = true;
|
|
202
|
+
}
|
|
203
|
+
else {
|
|
204
|
+
return createElement('canvas', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
applyMixins(SignatureComponent, [ComponentBase, Component]);
|
|
209
|
+
|
|
210
|
+
export { TextBoxComponent, NumericTextBoxComponent, MaskedTextBoxComponent, SliderComponent, UploadedFilesDirective, FilesDirective, UploaderComponent, ColorPickerComponent, SignatureComponent };
|
|
185
211
|
export * from '@syncfusion/ej2-inputs';
|
|
186
212
|
//# 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"],"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"],"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,aAAa,EAAEE,SAAe,CAAC,CAAC,CAAC;;ACxBhE;;;;;;AAMA,AAAO,MAAM,uBAAuB,SAAS,cAAc,CAAC;IACxD,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;Q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AC,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,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,oBAAoB,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"],"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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CACJ;AACD,WAAW,CAAC,oBAAoB,EAAE,CAAC,aAAa,EAAEE,SAAe,CAAC,CAAC,CAAC;;ACxBpE;;;;;;AAMA,AAAO,MAAM,kBAAkB,SAAS,SAAS,CAAC;IAC9C,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,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;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-react-inputs@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-react-inputs@19.
|
|
3
|
+
"_id": "@syncfusion/ej2-react-inputs@19.4.41",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-VH93nJOUAHGPsQJd26omt6klg/KLljIPEt25kZBc567fUPKoxwGuOFf7lkKuKqmxKo0qKj6Mt6KjZbG5bOiz4g==",
|
|
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": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-react-inputs/-/ej2-react-inputs-19.
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-inputs/-/ej2-react-inputs-19.4.41.tgz",
|
|
23
|
+
"_shasum": "b03b2cc4239cece46f1ea21de62c29a0f137885f",
|
|
24
24
|
"_spec": "@syncfusion/ej2-react-inputs@*",
|
|
25
25
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
26
26
|
"author": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~19.
|
|
35
|
-
"@syncfusion/ej2-inputs": "19.
|
|
36
|
-
"@syncfusion/ej2-react-base": "~19.
|
|
34
|
+
"@syncfusion/ej2-base": "~19.4.42",
|
|
35
|
+
"@syncfusion/ej2-inputs": "19.4.42",
|
|
36
|
+
"@syncfusion/ej2-react-base": "~19.4.42"
|
|
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",
|
|
@@ -121,6 +121,6 @@
|
|
|
121
121
|
"type": "git",
|
|
122
122
|
"url": "git+https://github.com/syncfusion/ej2-react-ui-components.git"
|
|
123
123
|
},
|
|
124
|
-
"version": "19.
|
|
124
|
+
"version": "19.4.42",
|
|
125
125
|
"sideEffects": false
|
|
126
126
|
}
|
package/signature.d.ts
ADDED
package/signature.js
ADDED
package/src/index.d.ts
CHANGED
package/src/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './signature.component';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './signature.component';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Signature, SignatureModel } from '@syncfusion/ej2-inputs';
|
|
3
|
+
import { DefaultHtmlAttributes } from '@syncfusion/ej2-react-base';
|
|
4
|
+
/**
|
|
5
|
+
* Represents the React Signature Component
|
|
6
|
+
* ```html
|
|
7
|
+
* <SignatureComponent></SignatureComponent>
|
|
8
|
+
* ```
|
|
9
|
+
*/
|
|
10
|
+
export declare class SignatureComponent extends Signature {
|
|
11
|
+
state: Readonly<{
|
|
12
|
+
children?: React.ReactNode | React.ReactNode[];
|
|
13
|
+
}> & Readonly<SignatureModel & DefaultHtmlAttributes>;
|
|
14
|
+
setState: any;
|
|
15
|
+
private getDefaultAttributes;
|
|
16
|
+
initRenderCalled: boolean;
|
|
17
|
+
private checkInjectedModules;
|
|
18
|
+
private immediateRender;
|
|
19
|
+
props: Readonly<{
|
|
20
|
+
children?: React.ReactNode | React.ReactNode[];
|
|
21
|
+
}> & Readonly<SignatureModel & DefaultHtmlAttributes>;
|
|
22
|
+
forceUpdate: (callBack?: () => any) => void;
|
|
23
|
+
context: Object;
|
|
24
|
+
portals: any;
|
|
25
|
+
isReactComponent: Object;
|
|
26
|
+
refs: {
|
|
27
|
+
[key: string]: React.ReactInstance;
|
|
28
|
+
};
|
|
29
|
+
constructor(props: any);
|
|
30
|
+
render(): any;
|
|
31
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
import * as React from 'react';
|
|
15
|
+
import { Signature } from '@syncfusion/ej2-inputs';
|
|
16
|
+
import { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';
|
|
17
|
+
/**
|
|
18
|
+
* Represents the React Signature Component
|
|
19
|
+
* ```html
|
|
20
|
+
* <SignatureComponent></SignatureComponent>
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
var SignatureComponent = /** @class */ (function (_super) {
|
|
24
|
+
__extends(SignatureComponent, _super);
|
|
25
|
+
function SignatureComponent(props) {
|
|
26
|
+
var _this = _super.call(this, props) || this;
|
|
27
|
+
_this.initRenderCalled = false;
|
|
28
|
+
_this.checkInjectedModules = false;
|
|
29
|
+
_this.immediateRender = true;
|
|
30
|
+
_this.portals = [];
|
|
31
|
+
return _this;
|
|
32
|
+
}
|
|
33
|
+
SignatureComponent.prototype.render = function () {
|
|
34
|
+
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
|
|
35
|
+
_super.prototype.render.call(this);
|
|
36
|
+
this.initRenderCalled = true;
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
return React.createElement('canvas', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
return SignatureComponent;
|
|
43
|
+
}(Signature));
|
|
44
|
+
export { SignatureComponent };
|
|
45
|
+
applyMixins(SignatureComponent, [ComponentBase, React.Component]);
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
.e-signature {
|
|
2
|
+
border: 1px solid;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.e-signature {
|
|
6
|
+
background-color: #fff;
|
|
7
|
+
border: 1px solid;
|
|
8
|
+
border-color: #505050;
|
|
9
|
+
}
|
|
10
|
+
|
|
1
11
|
.e-float-input .e-clear-icon::before,
|
|
2
12
|
.e-float-input.e-control-wrapper .e-clear-icon::before {
|
|
3
13
|
content: '\e96c';
|
|
@@ -538,6 +548,8 @@ textarea.e-input.e-small,
|
|
|
538
548
|
.e-input-group.e-small .e-input-group-icon.e-bigger,
|
|
539
549
|
.e-input-group.e-control-wrapper.e-small.e-bigger .e-input-group-icon,
|
|
540
550
|
.e-input-group.e-control-wrapper.e-small .e-input-group-icon.e-bigger,
|
|
551
|
+
.e-small .e-bigger.e-input-group .e-input-group-icon,
|
|
552
|
+
.e-small .e-bigger.e-input-group.e-control-wrapper .e-input-group-icon,
|
|
541
553
|
.e-bigger .e-input-group.e-small .e-input-group-icon,
|
|
542
554
|
.e-bigger .e-input-group.e-control-wrapper.e-small .e-input-group-icon {
|
|
543
555
|
font-size: 12px;
|
|
@@ -1504,6 +1516,8 @@ label.e-float-text,
|
|
|
1504
1516
|
.e-input-group.e-small .e-input-group-icon.e-bigger,
|
|
1505
1517
|
.e-input-group.e-control-wrapper.e-small.e-bigger .e-input-group-icon,
|
|
1506
1518
|
.e-input-group.e-control-wrapper.e-small .e-input-group-icon.e-bigger,
|
|
1519
|
+
.e-small .e-bigger.e-input-group .e-input-group-icon,
|
|
1520
|
+
.e-small .e-bigger.e-input-group.e-control-wrapper .e-input-group-icon,
|
|
1507
1521
|
.e-bigger .e-input-group.e-small .e-input-group-icon,
|
|
1508
1522
|
.e-bigger .e-input-group.e-control-wrapper.e-small .e-input-group-icon {
|
|
1509
1523
|
margin-bottom: 0;
|
|
@@ -3533,7 +3547,12 @@ textarea.e-input,
|
|
|
3533
3547
|
.e-input-group.e-control-wrapper.e-input-focus textarea.e-input.e-bigger,
|
|
3534
3548
|
.e-bigger .e-input-group.e-input-focus textarea,
|
|
3535
3549
|
.e-bigger .e-input-group.e-control-wrapper.e-input-focus textarea,
|
|
3536
|
-
.e-bigger .e-input-group.e-control-wrapper.e-input-focus textarea.e-input
|
|
3550
|
+
.e-bigger .e-input-group.e-control-wrapper.e-input-focus textarea.e-input,
|
|
3551
|
+
.e-input-group.e-control-wrapper textarea.e-bigger:focus,
|
|
3552
|
+
.e-input-group.e-control-wrapper textarea.e-input.e-bigger:focus,
|
|
3553
|
+
.e-bigger .e-input-group.e-control-wrapper textarea:focus,
|
|
3554
|
+
.e-bigger .e-input-group.e-control-wrapper.e-input-focus textarea:focus,
|
|
3555
|
+
.e-bigger .e-input-group.e-control-wrapper textarea.e-input:focus {
|
|
3537
3556
|
font: inherit;
|
|
3538
3557
|
line-height: 1.5;
|
|
3539
3558
|
min-height: 36px;
|
|
@@ -3546,13 +3565,8 @@ textarea.e-input,
|
|
|
3546
3565
|
.e-input-group textarea.e-input.e-small,
|
|
3547
3566
|
.e-input-group.e-control-wrapper.e-small textarea,
|
|
3548
3567
|
.e-input-group.e-control-wrapper.e-small textarea.e-input,
|
|
3549
|
-
.e-input-group.e-control-wrapper textarea.e-bigger,
|
|
3550
|
-
.e-input-group.e-control-wrapper textarea.e-input.e-bigger,
|
|
3551
3568
|
.e-small .e-input-group textarea,
|
|
3552
3569
|
.e-small .e-input-group textarea.e-input,
|
|
3553
|
-
.e-bigger .e-input-group.e-control-wrapper textarea,
|
|
3554
|
-
.e-bigger .e-input-group.e-control-wrapper.e-input-focus textarea,
|
|
3555
|
-
.e-bigger .e-input-group.e-control-wrapper textarea.e-input,
|
|
3556
3570
|
.e-float-input.e-small textarea,
|
|
3557
3571
|
.e-float-input textarea.e-small,
|
|
3558
3572
|
.e-float-input.e-control-wrapper.e-small textarea,
|
|
@@ -3571,11 +3585,8 @@ textarea.e-input,
|
|
|
3571
3585
|
.e-input-group.e-input-focus textarea.e-input.e-small,
|
|
3572
3586
|
.e-input-group.e-control-wrapper.e-input-focus.e-small textarea,
|
|
3573
3587
|
.e-input-group.e-control-wrapper.e-input-focus.e-small textarea.e-input,
|
|
3574
|
-
.e-input-group.e-control-wrapper.e-input-focus textarea.e-bigger,
|
|
3575
|
-
.e-input-group.e-control-wrapper.e-input-focus textarea.e-input.e-bigger,
|
|
3576
3588
|
.e-small .e-input-group.e-input-focus textarea,
|
|
3577
|
-
.e-small .e-input-group.e-input-focus textarea.e-input
|
|
3578
|
-
.e-bigger .e-input-group.e-control-wrapper.e-input-focus textarea.e-input {
|
|
3589
|
+
.e-small .e-input-group.e-input-focus textarea.e-input {
|
|
3579
3590
|
font: inherit;
|
|
3580
3591
|
min-height: 26px;
|
|
3581
3592
|
padding: 4px 10px 4px 10px;
|
|
@@ -3587,13 +3598,8 @@ textarea.e-input,
|
|
|
3587
3598
|
.e-input-group textarea.e-input.e-small:focus,
|
|
3588
3599
|
.e-input-group.e-control-wrapper.e-small textarea:focus,
|
|
3589
3600
|
.e-input-group.e-control-wrapper.e-small textarea.e-input:focus,
|
|
3590
|
-
.e-input-group.e-control-wrapper textarea.e-bigger:focus,
|
|
3591
|
-
.e-input-group.e-control-wrapper textarea.e-input.e-bigger:focus,
|
|
3592
3601
|
.e-small .e-input-group textarea:focus,
|
|
3593
3602
|
.e-small .e-input-group textarea.e-input:focus,
|
|
3594
|
-
.e-bigger .e-input-group.e-control-wrapper textarea:focus,
|
|
3595
|
-
.e-bigger .e-input-group.e-control-wrapper.e-input-focus textarea:focus,
|
|
3596
|
-
.e-bigger .e-input-group.e-control-wrapper textarea.e-input:focus,
|
|
3597
3603
|
.e-float-input.e-small textarea:focus,
|
|
3598
3604
|
.e-float-input textarea.e-small:focus,
|
|
3599
3605
|
.e-float-input.e-control-wrapper.e-small textarea:focus,
|
|
@@ -3649,7 +3655,8 @@ textarea.e-input,
|
|
|
3649
3655
|
.e-bigger.e-small .e-input-group.e-input-focus textarea.e-input,
|
|
3650
3656
|
.e-bigger .e-input-group.e-control-wrapper.e-input-focus.e-small textarea.e-input,
|
|
3651
3657
|
.e-bigger.e-small .e-input-group.e-control-wrapper.e-input-focus textarea.e-input,
|
|
3652
|
-
.e-bigger .e-small.e-input-group.e-control-wrapper.e-input-focus textarea.e-input
|
|
3658
|
+
.e-bigger .e-small.e-input-group.e-control-wrapper.e-input-focus textarea.e-input,
|
|
3659
|
+
.e-small .e-input-group.e-control-wrapper.e-input-focus.e-bigger textarea.e-input {
|
|
3653
3660
|
font: inherit;
|
|
3654
3661
|
line-height: 1.5;
|
|
3655
3662
|
min-height: 32px;
|
|
@@ -7263,6 +7270,26 @@ body.e-colorpicker-overflow {
|
|
|
7263
7270
|
color: rgba(240, 240, 240, 0.3);
|
|
7264
7271
|
}
|
|
7265
7272
|
|
|
7273
|
+
.e-colorpicker-wrapper .e-icon-btn:disabled, .e-colorpicker-wrapper .e-icon-btn.e-disabled,
|
|
7274
|
+
.e-colorpicker-container .e-icon-btn:disabled,
|
|
7275
|
+
.e-colorpicker-container .e-icon-btn.e-disabled {
|
|
7276
|
+
background-color: transparent;
|
|
7277
|
+
box-shadow: none;
|
|
7278
|
+
color: rgba(57, 57, 57, 0.4);
|
|
7279
|
+
}
|
|
7280
|
+
|
|
7281
|
+
.e-colorpicker-wrapper .e-icon-btn:disabled:focus, .e-colorpicker-wrapper .e-icon-btn:disabled:hover, .e-colorpicker-wrapper .e-icon-btn:disabled:active, .e-colorpicker-wrapper .e-icon-btn.e-disabled:focus, .e-colorpicker-wrapper .e-icon-btn.e-disabled:hover, .e-colorpicker-wrapper .e-icon-btn.e-disabled:active,
|
|
7282
|
+
.e-colorpicker-container .e-icon-btn:disabled:focus,
|
|
7283
|
+
.e-colorpicker-container .e-icon-btn:disabled:hover,
|
|
7284
|
+
.e-colorpicker-container .e-icon-btn:disabled:active,
|
|
7285
|
+
.e-colorpicker-container .e-icon-btn.e-disabled:focus,
|
|
7286
|
+
.e-colorpicker-container .e-icon-btn.e-disabled:hover,
|
|
7287
|
+
.e-colorpicker-container .e-icon-btn.e-disabled:active {
|
|
7288
|
+
background-color: transparent;
|
|
7289
|
+
box-shadow: none;
|
|
7290
|
+
color: rgba(57, 57, 57, 0.4);
|
|
7291
|
+
}
|
|
7292
|
+
|
|
7266
7293
|
.e-popup.e-tooltip-wrap.e-color-picker-tooltip {
|
|
7267
7294
|
background-color: #fff;
|
|
7268
7295
|
border-color: #fff;
|