@syncfusion/ej2-vue-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.
Files changed (104) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/ej2-vue-inputs.umd.min.js +1 -1
  3. package/dist/es6/ej2-vue-inputs.es2015.js +166 -13
  4. package/dist/es6/ej2-vue-inputs.es2015.js.map +1 -1
  5. package/dist/es6/ej2-vue-inputs.es5.js +180 -13
  6. package/dist/es6/ej2-vue-inputs.es5.js.map +1 -1
  7. package/dist/global/ej2-vue-inputs.min.js +2 -2
  8. package/package.json +8 -8
  9. package/signature.d.ts +4 -0
  10. package/signature.js +4 -0
  11. package/src/color-picker/colorpicker.component.js +2 -2
  12. package/src/index.d.ts +1 -0
  13. package/src/index.js +1 -0
  14. package/src/maskedtextbox/maskedtextbox.component.js +2 -2
  15. package/src/numerictextbox/numerictextbox.component.js +2 -2
  16. package/src/signature/index.d.ts +1 -0
  17. package/src/signature/index.js +1 -0
  18. package/src/signature/signature.component.d.ts +47 -0
  19. package/src/signature/signature.component.js +170 -0
  20. package/src/slider/slider.component.js +2 -2
  21. package/src/textbox/textbox.component.js +2 -2
  22. package/src/uploader/uploader.component.js +1 -1
  23. package/styles/bootstrap-dark.css +43 -16
  24. package/styles/bootstrap-dark.scss +1 -0
  25. package/styles/bootstrap.css +43 -16
  26. package/styles/bootstrap.scss +1 -0
  27. package/styles/bootstrap4.css +43 -16
  28. package/styles/bootstrap4.scss +1 -0
  29. package/styles/bootstrap5-dark.css +46 -41
  30. package/styles/bootstrap5-dark.scss +1 -0
  31. package/styles/bootstrap5.css +46 -41
  32. package/styles/bootstrap5.scss +1 -0
  33. package/styles/color-picker/bootstrap-dark.css +20 -0
  34. package/styles/color-picker/bootstrap.css +20 -0
  35. package/styles/color-picker/bootstrap4.css +20 -0
  36. package/styles/color-picker/bootstrap5-dark.css +22 -20
  37. package/styles/color-picker/bootstrap5.css +22 -20
  38. package/styles/color-picker/fabric-dark.css +23 -3
  39. package/styles/color-picker/fabric.css +20 -0
  40. package/styles/color-picker/highcontrast-light.css +20 -0
  41. package/styles/color-picker/highcontrast.css +20 -0
  42. package/styles/color-picker/material-dark.css +20 -0
  43. package/styles/color-picker/material.css +20 -0
  44. package/styles/color-picker/tailwind-dark.css +20 -0
  45. package/styles/color-picker/tailwind.css +20 -0
  46. package/styles/fabric-dark.css +46 -19
  47. package/styles/fabric-dark.scss +1 -0
  48. package/styles/fabric.css +43 -16
  49. package/styles/fabric.scss +1 -0
  50. package/styles/highcontrast-light.css +43 -16
  51. package/styles/highcontrast-light.scss +1 -0
  52. package/styles/highcontrast.css +43 -16
  53. package/styles/highcontrast.scss +1 -0
  54. package/styles/input/bootstrap-dark.css +13 -16
  55. package/styles/input/bootstrap.css +13 -16
  56. package/styles/input/bootstrap4.css +13 -16
  57. package/styles/input/bootstrap5-dark.css +13 -16
  58. package/styles/input/bootstrap5.css +13 -16
  59. package/styles/input/fabric-dark.css +13 -16
  60. package/styles/input/fabric.css +13 -16
  61. package/styles/input/highcontrast-light.css +13 -16
  62. package/styles/input/highcontrast.css +13 -16
  63. package/styles/input/material-dark.css +13 -16
  64. package/styles/input/material.css +13 -16
  65. package/styles/input/tailwind-dark.css +13 -16
  66. package/styles/input/tailwind.css +13 -16
  67. package/styles/material-dark.css +43 -16
  68. package/styles/material-dark.scss +1 -0
  69. package/styles/material.css +43 -16
  70. package/styles/material.scss +1 -0
  71. package/styles/signature/bootstrap-dark.css +9 -0
  72. package/styles/signature/bootstrap-dark.scss +1 -0
  73. package/styles/signature/bootstrap.css +9 -0
  74. package/styles/signature/bootstrap.scss +1 -0
  75. package/styles/signature/bootstrap4.css +9 -0
  76. package/styles/signature/bootstrap4.scss +1 -0
  77. package/styles/signature/bootstrap5-dark.css +9 -0
  78. package/styles/signature/bootstrap5-dark.scss +1 -0
  79. package/styles/signature/bootstrap5.css +9 -0
  80. package/styles/signature/bootstrap5.scss +1 -0
  81. package/styles/signature/fabric-dark.css +9 -0
  82. package/styles/signature/fabric-dark.scss +1 -0
  83. package/styles/signature/fabric.css +9 -0
  84. package/styles/signature/fabric.scss +1 -0
  85. package/styles/signature/highcontrast-light.css +9 -0
  86. package/styles/signature/highcontrast-light.scss +1 -0
  87. package/styles/signature/highcontrast.css +9 -0
  88. package/styles/signature/highcontrast.scss +1 -0
  89. package/styles/signature/material-dark.css +10 -0
  90. package/styles/signature/material-dark.scss +1 -0
  91. package/styles/signature/material.css +10 -0
  92. package/styles/signature/material.scss +1 -0
  93. package/styles/signature/tailwind-dark.css +10 -0
  94. package/styles/signature/tailwind-dark.scss +1 -0
  95. package/styles/signature/tailwind.css +10 -0
  96. package/styles/signature/tailwind.scss +1 -0
  97. package/styles/slider/bootstrap5-dark.css +1 -5
  98. package/styles/slider/bootstrap5.css +1 -5
  99. package/styles/slider/tailwind-dark.css +1 -5
  100. package/styles/slider/tailwind.css +1 -5
  101. package/styles/tailwind-dark.css +45 -21
  102. package/styles/tailwind-dark.scss +1 -0
  103. package/styles/tailwind.css +45 -21
  104. package/styles/tailwind.scss +1 -0
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-vue-inputs@*",
3
- "_id": "@syncfusion/ej2-vue-inputs@19.3.48",
3
+ "_id": "@syncfusion/ej2-vue-inputs@19.4.41",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-7suOLivthrdxzugkPSJVTjgKB3FNT3ONx2HpdiFXj8/3P/YalU8Jtb1GIKVq1KuaZn5E9kzaAu0iLY1V9dA1Fw==",
5
+ "_integrity": "sha512-E9/HqqrmvGdlirzFFlRiralwYvniIvvqIs2nXfqTf+DnpGQq49uUEIgTQZfbKSTQ8QLOARIJCzvoYbym7lGaHg==",
6
6
  "_location": "/@syncfusion/ej2-vue-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-vue-inputs/-/ej2-vue-inputs-19.3.48.tgz",
23
- "_shasum": "13f9d8fc237462cec57a1138b2cd74181fcaea1f",
22
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-inputs/-/ej2-vue-inputs-19.4.41.tgz",
23
+ "_shasum": "95831e548f2b5ed8460cb691c4743b0905d9b337",
24
24
  "_spec": "@syncfusion/ej2-vue-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.3.53",
35
- "@syncfusion/ej2-inputs": "19.3.53",
36
- "@syncfusion/ej2-vue-base": "~19.3.53"
34
+ "@syncfusion/ej2-base": "~19.4.42",
35
+ "@syncfusion/ej2-inputs": "19.4.42",
36
+ "@syncfusion/ej2-vue-base": "~19.4.40"
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 Vue",
@@ -120,6 +120,6 @@
120
120
  "type": "git",
121
121
  "url": "git+https://github.com/syncfusion/ej2-vue-ui-components.git"
122
122
  },
123
- "version": "19.3.53",
123
+ "version": "19.4.42",
124
124
  "sideEffects": false
125
125
  }
package/signature.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ /**
2
+ * signature
3
+ */
4
+ export * from './src/signature/index';
package/signature.js ADDED
@@ -0,0 +1,4 @@
1
+ /**
2
+ * signature
3
+ */
4
+ export * from './src/signature/index';
@@ -22,7 +22,7 @@ import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/e
22
22
  import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
23
23
  import { ColorPicker } from '@syncfusion/ej2-inputs';
24
24
  import { Options } from 'vue-class-component';
25
- export var properties = ['islazyUpdate', 'columns', 'createPopupOnClick', 'cssClass', 'disabled', 'enableOpacity', 'enablePersistence', 'enableRtl', 'inline', 'locale', 'mode', 'modeSwitcher', 'noColor', 'presetColors', 'showButtons', 'value', 'beforeClose', 'beforeModeSwitch', 'beforeOpen', 'beforeTileRender', 'change', 'created', 'onModeSwitch', 'open', 'select'];
25
+ export var properties = ['isLazyUpdate', 'columns', 'createPopupOnClick', 'cssClass', 'disabled', 'enableOpacity', 'enablePersistence', 'enableRtl', 'inline', 'locale', 'mode', 'modeSwitcher', 'noColor', 'presetColors', 'showButtons', 'value', 'beforeClose', 'beforeModeSwitch', 'beforeOpen', 'beforeTileRender', 'change', 'created', 'onModeSwitch', 'open', 'select'];
26
26
  export var modelProps = ['value'];
27
27
  export var testProp = getProps({ props: properties });
28
28
  export var props = testProp[0];
@@ -121,7 +121,7 @@ var ColorPickerComponent = /** @class */ (function (_super) {
121
121
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
122
122
  }
123
123
  else {
124
- if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
124
+ if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
125
125
  this.$emit('update:' + propKey, eventProp[propKey]);
126
126
  this.$emit('modelchanged', eventProp[propKey]);
127
127
  }
package/src/index.d.ts CHANGED
@@ -6,3 +6,4 @@ export { SliderComponent, SliderPlugin } from './slider/slider.component';
6
6
  export { FilesDirective, UploadedFilesDirective, FilesPlugin, UploadedFilesPlugin } from './uploader/files.directive';
7
7
  export { UploaderComponent, UploaderPlugin } from './uploader/uploader.component';
8
8
  export { ColorPickerComponent, ColorPickerPlugin } from './color-picker/colorpicker.component';
9
+ export { SignatureComponent, SignaturePlugin } from './signature/signature.component';
package/src/index.js CHANGED
@@ -6,3 +6,4 @@ export { SliderComponent, SliderPlugin } from './slider/slider.component';
6
6
  export { FilesDirective, UploadedFilesDirective, FilesPlugin, UploadedFilesPlugin } from './uploader/files.directive';
7
7
  export { UploaderComponent, UploaderPlugin } from './uploader/uploader.component';
8
8
  export { ColorPickerComponent, ColorPickerPlugin } from './color-picker/colorpicker.component';
9
+ export { SignatureComponent, SignaturePlugin } from './signature/signature.component';
@@ -22,7 +22,7 @@ import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/e
22
22
  import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
23
23
  import { MaskedTextBox } from '@syncfusion/ej2-inputs';
24
24
  import { Options } from 'vue-class-component';
25
- export var properties = ['islazyUpdate', 'cssClass', 'customCharacters', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'mask', 'placeholder', 'promptChar', 'readonly', 'showClearButton', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus'];
25
+ export var properties = ['isLazyUpdate', 'cssClass', 'customCharacters', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'mask', 'placeholder', 'promptChar', 'readonly', 'showClearButton', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus'];
26
26
  export var modelProps = ['value'];
27
27
  export var testProp = getProps({ props: properties });
28
28
  export var props = testProp[0];
@@ -121,7 +121,7 @@ var MaskedTextBoxComponent = /** @class */ (function (_super) {
121
121
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
122
122
  }
123
123
  else {
124
- if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
124
+ if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
125
125
  this.$emit('update:' + propKey, eventProp[propKey]);
126
126
  this.$emit('modelchanged', eventProp[propKey]);
127
127
  }
@@ -22,7 +22,7 @@ import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/e
22
22
  import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
23
23
  import { NumericTextBox } from '@syncfusion/ej2-inputs';
24
24
  import { Options } from 'vue-class-component';
25
- export var properties = ['islazyUpdate', 'cssClass', 'currency', 'currencyCode', 'decimals', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'format', 'htmlAttributes', 'locale', 'max', 'min', 'placeholder', 'readonly', 'showClearButton', 'showSpinButton', 'step', 'strictMode', 'validateDecimalOnType', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus'];
25
+ export var properties = ['isLazyUpdate', 'cssClass', 'currency', 'currencyCode', 'decimals', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'format', 'htmlAttributes', 'locale', 'max', 'min', 'placeholder', 'readonly', 'showClearButton', 'showSpinButton', 'step', 'strictMode', 'validateDecimalOnType', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus'];
26
26
  export var modelProps = ['value'];
27
27
  export var testProp = getProps({ props: properties });
28
28
  export var props = testProp[0];
@@ -121,7 +121,7 @@ var NumericTextBoxComponent = /** @class */ (function (_super) {
121
121
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
122
122
  }
123
123
  else {
124
- if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
124
+ if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
125
125
  this.$emit('update:' + propKey, eventProp[propKey]);
126
126
  this.$emit('modelchanged', eventProp[propKey]);
127
127
  }
@@ -0,0 +1 @@
1
+ export { SignatureComponent, SignaturePlugin } from './signature.component';
@@ -0,0 +1 @@
1
+ export { SignatureComponent, SignaturePlugin } from './signature.component';
@@ -0,0 +1,47 @@
1
+ import { ComponentBase } from '@syncfusion/ej2-vue-base';
2
+ export declare const properties: string[];
3
+ export declare const modelProps: string[];
4
+ export declare const testProp: any;
5
+ export declare const props: any;
6
+ export declare const watch: any;
7
+ export declare const emitProbs: any;
8
+ export declare const isExecute: any;
9
+ /**
10
+ * Represents the Essential JS 2 VueJS Signature Component
11
+ * ```html
12
+ * <ejs-signature></ejs-signature>
13
+ * ```
14
+ */
15
+ export declare class SignatureComponent extends ComponentBase {
16
+ ej2Instances: any;
17
+ propKeys: string[];
18
+ models: string[];
19
+ hasChildDirective: boolean;
20
+ protected hasInjectedModules: boolean;
21
+ tagMapper: {
22
+ [key: string]: Object;
23
+ };
24
+ tagNameMapper: Object;
25
+ isVue3: boolean;
26
+ templateCollection: any;
27
+ constructor();
28
+ clearTemplate(templateNames?: string[]): any;
29
+ setProperties(prop: any, muteOnChange: boolean): void;
30
+ render(createElement: any): any;
31
+ canRedo(): boolean;
32
+ canUndo(): boolean;
33
+ clear(): void;
34
+ draw(text: string, fontFamily?: string, fontSize?: number): void;
35
+ getBlob(url: string): Object;
36
+ initialize(): void;
37
+ isEmpty(): boolean;
38
+ load(signature: string, width?: number, height?: number): void;
39
+ redo(): void;
40
+ save(type?: Object, fileName?: string): void;
41
+ saveAsBlob(): Object;
42
+ undo(): void;
43
+ }
44
+ export declare const SignaturePlugin: {
45
+ name: string;
46
+ install(Vue: any): void;
47
+ };
@@ -0,0 +1,170 @@
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
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
+ import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';
21
+ import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
22
+ import { Signature } from '@syncfusion/ej2-inputs';
23
+ import { Options } from 'vue-class-component';
24
+ export var properties = ['isLazyUpdate', 'backgroundColor', 'backgroundImage', 'disabled', 'enablePersistence', 'enableRtl', 'isReadOnly', 'locale', 'maxStrokeWidth', 'minStrokeWidth', 'saveWithBackground', 'strokeColor', 'velocity', 'beforeSave', 'change', 'created'];
25
+ export var modelProps = [];
26
+ export var testProp = getProps({ props: properties });
27
+ export var props = testProp[0];
28
+ export var watch = testProp[1];
29
+ export var emitProbs = Object.keys(watch);
30
+ emitProbs.push('modelchanged');
31
+ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
32
+ var props_1 = modelProps_1[_i];
33
+ emitProbs.push('update:' + props_1);
34
+ }
35
+ export var isExecute = gh ? false : true;
36
+ /**
37
+ * Represents the Essential JS 2 VueJS Signature Component
38
+ * ```html
39
+ * <ejs-signature></ejs-signature>
40
+ * ```
41
+ */
42
+ var SignatureComponent = /** @class */ (function (_super) {
43
+ __extends(SignatureComponent, _super);
44
+ function SignatureComponent() {
45
+ var _this = _super.call(this, arguments) || this;
46
+ _this.propKeys = properties;
47
+ _this.models = modelProps;
48
+ _this.hasChildDirective = false;
49
+ _this.hasInjectedModules = false;
50
+ _this.tagMapper = {};
51
+ _this.tagNameMapper = {};
52
+ _this.isVue3 = !isExecute;
53
+ _this.ej2Instances = new Signature({});
54
+ _this.bindProperties();
55
+ _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
56
+ _this.ej2Instances.setProperties = _this.setProperties;
57
+ _this.ej2Instances.clearTemplate = _this.clearTemplate;
58
+ return _this;
59
+ }
60
+ SignatureComponent.prototype.clearTemplate = function (templateNames) {
61
+ if (!templateNames) {
62
+ templateNames = Object.keys(this.templateCollection || {});
63
+ }
64
+ if (templateNames.length && this.templateCollection) {
65
+ for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
66
+ var tempName = templateNames_1[_i];
67
+ var elementCollection = this.templateCollection[tempName];
68
+ if (elementCollection && elementCollection.length) {
69
+ for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
70
+ var ele = elementCollection_1[_a];
71
+ var destroy = getValue('__vue__.$destroy', ele);
72
+ if (destroy) {
73
+ ele.__vue__.$destroy();
74
+ }
75
+ if (ele.innerHTML) {
76
+ ele.innerHTML = '';
77
+ }
78
+ }
79
+ delete this.templateCollection[tempName];
80
+ }
81
+ }
82
+ }
83
+ };
84
+ SignatureComponent.prototype.setProperties = function (prop, muteOnChange) {
85
+ var _this = this;
86
+ if (this.isVue3) {
87
+ this.models = !this.models ? this.ej2Instances.referModels : this.models;
88
+ }
89
+ if (this.ej2Instances && this.ej2Instances._setProperties) {
90
+ this.ej2Instances._setProperties(prop, muteOnChange);
91
+ }
92
+ if (prop && this.models && this.models.length) {
93
+ Object.keys(prop).map(function (key) {
94
+ _this.models.map(function (model) {
95
+ if ((key === model) && !(/datasource/i.test(key))) {
96
+ if (_this.isVue3) {
97
+ _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
98
+ }
99
+ else {
100
+ _this.$emit('update:' + key, prop[key]);
101
+ _this.$emit('modelchanged', prop[key]);
102
+ }
103
+ }
104
+ });
105
+ });
106
+ }
107
+ };
108
+ SignatureComponent.prototype.render = function (createElement) {
109
+ var h = gh || createElement;
110
+ var slots = null;
111
+ if (!isNullOrUndefined(this.$slots.default)) {
112
+ slots = gh ? this.$slots.default() : this.$slots.default;
113
+ }
114
+ return h('canvas', slots);
115
+ };
116
+ SignatureComponent.prototype.canRedo = function () {
117
+ return this.ej2Instances.canRedo();
118
+ };
119
+ SignatureComponent.prototype.canUndo = function () {
120
+ return this.ej2Instances.canUndo();
121
+ };
122
+ SignatureComponent.prototype.clear = function () {
123
+ return this.ej2Instances.clear();
124
+ };
125
+ SignatureComponent.prototype.draw = function (text, fontFamily, fontSize) {
126
+ return this.ej2Instances.draw(text, fontFamily, fontSize);
127
+ };
128
+ SignatureComponent.prototype.getBlob = function (url) {
129
+ return this.ej2Instances.getBlob(url);
130
+ };
131
+ SignatureComponent.prototype.initialize = function () {
132
+ return this.ej2Instances.initialize();
133
+ };
134
+ SignatureComponent.prototype.isEmpty = function () {
135
+ return this.ej2Instances.isEmpty();
136
+ };
137
+ SignatureComponent.prototype.load = function (signature, width, height) {
138
+ return this.ej2Instances.load(signature, width, height);
139
+ };
140
+ SignatureComponent.prototype.redo = function () {
141
+ return this.ej2Instances.redo();
142
+ };
143
+ SignatureComponent.prototype.save = function (type, fileName) {
144
+ return this.ej2Instances.save(type, fileName);
145
+ };
146
+ SignatureComponent.prototype.saveAsBlob = function () {
147
+ return this.ej2Instances.saveAsBlob();
148
+ };
149
+ SignatureComponent.prototype.undo = function () {
150
+ return this.ej2Instances.undo();
151
+ };
152
+ SignatureComponent = __decorate([
153
+ EJComponentDecorator({
154
+ props: properties
155
+ }, isExecute)
156
+ ,Options({
157
+ props: props,
158
+ watch: watch,
159
+ emits: emitProbs
160
+ })
161
+ ], SignatureComponent);
162
+ return SignatureComponent;
163
+ }(ComponentBase));
164
+ export { SignatureComponent };
165
+ export var SignaturePlugin = {
166
+ name: 'ejs-signature',
167
+ install: function (Vue) {
168
+ Vue.component(SignaturePlugin.name, SignatureComponent);
169
+ }
170
+ };
@@ -22,7 +22,7 @@ import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/e
22
22
  import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
23
23
  import { Slider } from '@syncfusion/ej2-inputs';
24
24
  import { Options } from 'vue-class-component';
25
- export var properties = ['islazyUpdate', 'colorRange', 'cssClass', 'customValues', 'enableAnimation', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enabled', 'limits', 'locale', 'max', 'min', 'orientation', 'readonly', 'showButtons', 'step', 'ticks', 'tooltip', 'type', 'value', 'width', 'change', 'changed', 'created', 'renderedTicks', 'renderingTicks', 'tooltipChange'];
25
+ export var properties = ['isLazyUpdate', 'colorRange', 'cssClass', 'customValues', 'enableAnimation', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enabled', 'limits', 'locale', 'max', 'min', 'orientation', 'readonly', 'showButtons', 'step', 'ticks', 'tooltip', 'type', 'value', 'width', 'change', 'changed', 'created', 'renderedTicks', 'renderingTicks', 'tooltipChange'];
26
26
  export var modelProps = ['value'];
27
27
  export var testProp = getProps({ props: properties });
28
28
  export var props = testProp[0];
@@ -121,7 +121,7 @@ var SliderComponent = /** @class */ (function (_super) {
121
121
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
122
122
  }
123
123
  else {
124
- if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
124
+ if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
125
125
  this.$emit('update:' + propKey, eventProp[propKey]);
126
126
  this.$emit('modelchanged', eventProp[propKey]);
127
127
  }
@@ -22,7 +22,7 @@ import { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/e
22
22
  import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
23
23
  import { TextBox } from '@syncfusion/ej2-inputs';
24
24
  import { Options } from 'vue-class-component';
25
- export var properties = ['islazyUpdate', 'autocomplete', 'cssClass', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'multiline', 'placeholder', 'readonly', 'showClearButton', 'type', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus', 'input'];
25
+ export var properties = ['isLazyUpdate', 'autocomplete', 'cssClass', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'multiline', 'placeholder', 'readonly', 'showClearButton', 'type', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus', 'input'];
26
26
  export var modelProps = ['value'];
27
27
  export var testProp = getProps({ props: properties });
28
28
  export var props = testProp[0];
@@ -121,7 +121,7 @@ var TextBoxComponent = /** @class */ (function (_super) {
121
121
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
122
122
  }
123
123
  else {
124
- if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
124
+ if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
125
125
  this.$emit('update:' + propKey, eventProp[propKey]);
126
126
  this.$emit('modelchanged', eventProp[propKey]);
127
127
  }
@@ -22,7 +22,7 @@ import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
22
22
  import { Uploader } from '@syncfusion/ej2-inputs';
23
23
  import { FilesDirective, UploadedFilesDirective, FilesPlugin, UploadedFilesPlugin } from './files.directive';
24
24
  import { Options } from 'vue-class-component';
25
- export var properties = ['islazyUpdate', 'allowedExtensions', 'asyncSettings', 'autoUpload', 'buttons', 'cssClass', 'directoryUpload', 'dropArea', 'dropEffect', 'enablePersistence', 'enableRtl', 'enabled', 'files', 'htmlAttributes', 'locale', 'maxFileSize', 'minFileSize', 'multiple', 'sequentialUpload', 'showFileList', 'template', 'actionComplete', 'beforeRemove', 'beforeUpload', 'canceling', 'change', 'chunkFailure', 'chunkSuccess', 'chunkUploading', 'clearing', 'created', 'failure', 'fileListRendering', 'pausing', 'progress', 'removing', 'rendering', 'resuming', 'selected', 'success', 'uploading'];
25
+ export var properties = ['isLazyUpdate', 'allowedExtensions', 'asyncSettings', 'autoUpload', 'buttons', 'cssClass', 'directoryUpload', 'dropArea', 'dropEffect', 'enablePersistence', 'enableRtl', 'enabled', 'files', 'htmlAttributes', 'locale', 'maxFileSize', 'minFileSize', 'multiple', 'sequentialUpload', 'showFileList', 'template', 'actionComplete', 'beforeRemove', 'beforeUpload', 'canceling', 'change', 'chunkFailure', 'chunkSuccess', 'chunkUploading', 'clearing', 'created', 'failure', 'fileListRendering', 'pausing', 'progress', 'removing', 'rendering', 'resuming', 'selected', 'success', 'uploading'];
26
26
  export var modelProps = [];
27
27
  export var testProp = getProps({ props: properties });
28
28
  export var props = testProp[0];
@@ -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;
@@ -1,3 +1,4 @@
1
+ @import 'signature/bootstrap-dark.scss';
1
2
  @import 'input/bootstrap-dark.scss';
2
3
  @import 'numerictextbox/bootstrap-dark.scss';
3
4
  @import 'maskedtextbox/bootstrap-dark.scss';