@syncfusion/ej2-vue-inputs 19.3.57 → 19.4.43
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 +30 -2
- package/dist/ej2-vue-inputs.umd.min.js +10 -1
- package/dist/es6/ej2-vue-inputs.es2015.js +166 -13
- package/dist/es6/ej2-vue-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-inputs.es5.js +180 -13
- package/dist/es6/ej2-vue-inputs.es5.js.map +1 -1
- package/dist/global/ej2-vue-inputs.min.js +2 -2
- package/package.json +8 -8
- package/signature.d.ts +4 -0
- package/signature.js +4 -0
- package/src/color-picker/colorpicker.component.js +2 -2
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/maskedtextbox/maskedtextbox.component.js +2 -2
- package/src/numerictextbox/numerictextbox.component.js +2 -2
- package/src/signature/index.d.ts +1 -0
- package/src/signature/index.js +1 -0
- package/src/signature/signature.component.d.ts +47 -0
- package/src/signature/signature.component.js +170 -0
- package/src/slider/slider.component.js +2 -2
- package/src/textbox/textbox.component.js +2 -2
- package/src/uploader/uploader.component.js +1 -1
- 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/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-vue-inputs@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-vue-inputs@19.
|
|
3
|
+
"_id": "@syncfusion/ej2-vue-inputs@19.4.42",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-NDFXhrxiVDK630YGnO/Kc2eucUkpqcye/alOml/bkn5emSiU/g6lxd9NnPBMdr9zRYLgrDrQv9tQnc3UVgqDaA==",
|
|
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-new/@syncfusion/ej2-vue-inputs/-/ej2-vue-inputs-19.
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-vue-inputs/-/ej2-vue-inputs-19.4.42.tgz",
|
|
23
|
+
"_shasum": "152c2bb3d196e97f9ab9686ca22439ebc9099bce",
|
|
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.
|
|
35
|
-
"@syncfusion/ej2-inputs": "19.
|
|
36
|
-
"@syncfusion/ej2-vue-base": "~19.
|
|
34
|
+
"@syncfusion/ej2-base": "~19.4.42",
|
|
35
|
+
"@syncfusion/ej2-inputs": "19.4.43",
|
|
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.
|
|
123
|
+
"version": "19.4.43",
|
|
124
124
|
"sideEffects": false
|
|
125
125
|
}
|
package/signature.d.ts
ADDED
package/signature.js
ADDED
|
@@ -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 = ['
|
|
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.
|
|
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 = ['
|
|
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.
|
|
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 = ['
|
|
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.
|
|
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 = ['
|
|
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.
|
|
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 = ['
|
|
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.
|
|
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 = ['
|
|
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;
|