@syncfusion/ej2-angular-inputs 19.3.48 → 19.4.41
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/@syncfusion/ej2-angular-inputs.es5.js +177 -3
- package/@syncfusion/ej2-angular-inputs.es5.js.map +1 -1
- package/@syncfusion/ej2-angular-inputs.js +166 -3
- package/@syncfusion/ej2-angular-inputs.js.map +1 -1
- package/CHANGELOG.md +30 -0
- package/dist/ej2-angular-inputs.umd.js +181 -1
- package/dist/ej2-angular-inputs.umd.js.map +1 -1
- package/dist/ej2-angular-inputs.umd.min.js +2 -2
- package/dist/ej2-angular-inputs.umd.min.js.map +1 -1
- package/ej2-angular-inputs.d.ts +1 -0
- package/ej2-angular-inputs.metadata.json +1 -1
- package/package.json +8 -8
- package/postinstall/tagchange.js +1 -1
- package/schematics/utils/lib-details.d.ts +3 -3
- package/schematics/utils/lib-details.js +3 -3
- package/schematics/utils/lib-details.ts +3 -3
- package/src/index.d.ts +3 -0
- package/src/signature/signature-all.module.d.ts +5 -0
- package/src/signature/signature.component.d.ts +37 -0
- package/src/signature/signature.module.d.ts +5 -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
|
@@ -11,7 +11,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
11
11
|
import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef, forwardRef } from '@angular/core';
|
|
12
12
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
13
13
|
import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, FormBase, Template, setValue } from '@syncfusion/ej2-angular-base';
|
|
14
|
-
import { ColorPicker, FormValidator, MaskedTextBox, NumericTextBox, Slider, TextBox, Uploader } from '@syncfusion/ej2-inputs';
|
|
14
|
+
import { ColorPicker, FormValidator, MaskedTextBox, NumericTextBox, Signature, Slider, TextBox, Uploader } from '@syncfusion/ej2-inputs';
|
|
15
15
|
import { CommonModule } from '@angular/common';
|
|
16
16
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17
17
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -1140,6 +1140,180 @@ ColorPickerAllModule.decorators = [
|
|
|
1140
1140
|
* @nocollapse
|
|
1141
1141
|
*/
|
|
1142
1142
|
ColorPickerAllModule.ctorParameters = function () { return []; };
|
|
1143
|
+
var __decorate$6 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1144
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1145
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1146
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
1147
|
+
else
|
|
1148
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
1149
|
+
if (d = decorators[i])
|
|
1150
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1151
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1152
|
+
};
|
|
1153
|
+
var __metadata$6 = (this && this.__metadata) || function (k, v) {
|
|
1154
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1155
|
+
return Reflect.metadata(k, v);
|
|
1156
|
+
};
|
|
1157
|
+
var inputs$6 = ['backgroundColor', 'backgroundImage', 'disabled', 'enablePersistence', 'enableRtl', 'isReadOnly', 'locale', 'maxStrokeWidth', 'minStrokeWidth', 'saveWithBackground', 'strokeColor', 'velocity'];
|
|
1158
|
+
var outputs$7 = ['focus', 'blur', 'beforeSave', 'change', 'created'];
|
|
1159
|
+
var twoWays$6 = [];
|
|
1160
|
+
/**
|
|
1161
|
+
* Represents the EJ2 Angular Signature Component.
|
|
1162
|
+
* ```html
|
|
1163
|
+
* <canvas ejs-signature />
|
|
1164
|
+
* ```
|
|
1165
|
+
*/
|
|
1166
|
+
var SignatureComponent = SignatureComponent_1 = /** @class */ (function (_super) {
|
|
1167
|
+
__extends(SignatureComponent, _super);
|
|
1168
|
+
/**
|
|
1169
|
+
* @param {?} ngEle
|
|
1170
|
+
* @param {?} srenderer
|
|
1171
|
+
* @param {?} viewContainerRef
|
|
1172
|
+
* @param {?} injector
|
|
1173
|
+
*/
|
|
1174
|
+
function SignatureComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
1175
|
+
var _this = _super.call(this) || this;
|
|
1176
|
+
_this.ngEle = ngEle;
|
|
1177
|
+
_this.srenderer = srenderer;
|
|
1178
|
+
_this.viewContainerRef = viewContainerRef;
|
|
1179
|
+
_this.injector = injector;
|
|
1180
|
+
_this.element = _this.ngEle.nativeElement;
|
|
1181
|
+
_this.injectedModules = _this.injectedModules || [];
|
|
1182
|
+
_this.registerEvents(outputs$7);
|
|
1183
|
+
_this.addTwoWay.call(_this, twoWays$6);
|
|
1184
|
+
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
1185
|
+
_this.formContext = new FormBase();
|
|
1186
|
+
_this.formCompContext = new ComponentBase();
|
|
1187
|
+
return _this;
|
|
1188
|
+
}
|
|
1189
|
+
/**
|
|
1190
|
+
* @param {?} registerFunction
|
|
1191
|
+
* @return {?}
|
|
1192
|
+
*/
|
|
1193
|
+
SignatureComponent.prototype.registerOnChange = function (registerFunction) {
|
|
1194
|
+
};
|
|
1195
|
+
/**
|
|
1196
|
+
* @param {?} registerFunction
|
|
1197
|
+
* @return {?}
|
|
1198
|
+
*/
|
|
1199
|
+
SignatureComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
1200
|
+
};
|
|
1201
|
+
/**
|
|
1202
|
+
* @param {?} value
|
|
1203
|
+
* @return {?}
|
|
1204
|
+
*/
|
|
1205
|
+
SignatureComponent.prototype.writeValue = function (value) {
|
|
1206
|
+
};
|
|
1207
|
+
/**
|
|
1208
|
+
* @param {?} disabled
|
|
1209
|
+
* @return {?}
|
|
1210
|
+
*/
|
|
1211
|
+
SignatureComponent.prototype.setDisabledState = function (disabled) {
|
|
1212
|
+
};
|
|
1213
|
+
/**
|
|
1214
|
+
* @return {?}
|
|
1215
|
+
*/
|
|
1216
|
+
SignatureComponent.prototype.ngOnInit = function () {
|
|
1217
|
+
this.formCompContext.ngOnInit(this);
|
|
1218
|
+
};
|
|
1219
|
+
/**
|
|
1220
|
+
* @return {?}
|
|
1221
|
+
*/
|
|
1222
|
+
SignatureComponent.prototype.ngAfterViewInit = function () {
|
|
1223
|
+
this.formContext.ngAfterViewInit(this);
|
|
1224
|
+
};
|
|
1225
|
+
/**
|
|
1226
|
+
* @return {?}
|
|
1227
|
+
*/
|
|
1228
|
+
SignatureComponent.prototype.ngOnDestroy = function () {
|
|
1229
|
+
this.formCompContext.ngOnDestroy(this);
|
|
1230
|
+
};
|
|
1231
|
+
/**
|
|
1232
|
+
* @return {?}
|
|
1233
|
+
*/
|
|
1234
|
+
SignatureComponent.prototype.ngAfterContentChecked = function () {
|
|
1235
|
+
this.formCompContext.ngAfterContentChecked(this);
|
|
1236
|
+
};
|
|
1237
|
+
return SignatureComponent;
|
|
1238
|
+
}(Signature));
|
|
1239
|
+
SignatureComponent.decorators = [
|
|
1240
|
+
{ type: Component, args: [{
|
|
1241
|
+
selector: '[ejs-signature]',
|
|
1242
|
+
inputs: inputs$6,
|
|
1243
|
+
outputs: outputs$7,
|
|
1244
|
+
template: '',
|
|
1245
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1246
|
+
providers: [
|
|
1247
|
+
{
|
|
1248
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1249
|
+
useExisting: forwardRef(function () { return SignatureComponent_1; }),
|
|
1250
|
+
multi: true
|
|
1251
|
+
}
|
|
1252
|
+
],
|
|
1253
|
+
queries: {}
|
|
1254
|
+
},] },
|
|
1255
|
+
];
|
|
1256
|
+
/**
|
|
1257
|
+
* @nocollapse
|
|
1258
|
+
*/
|
|
1259
|
+
SignatureComponent.ctorParameters = function () { return [
|
|
1260
|
+
{ type: ElementRef, },
|
|
1261
|
+
{ type: Renderer2, },
|
|
1262
|
+
{ type: ViewContainerRef, },
|
|
1263
|
+
{ type: Injector, },
|
|
1264
|
+
]; };
|
|
1265
|
+
SignatureComponent = SignatureComponent_1 = __decorate$6([
|
|
1266
|
+
ComponentMixins([ComponentBase, FormBase]),
|
|
1267
|
+
__metadata$6("design:paramtypes", [ElementRef,
|
|
1268
|
+
Renderer2,
|
|
1269
|
+
ViewContainerRef,
|
|
1270
|
+
Injector])
|
|
1271
|
+
], SignatureComponent);
|
|
1272
|
+
var SignatureComponent_1;
|
|
1273
|
+
/**
|
|
1274
|
+
* NgModule definition for the Signature component.
|
|
1275
|
+
*/
|
|
1276
|
+
var SignatureModule = /** @class */ (function () {
|
|
1277
|
+
function SignatureModule() {
|
|
1278
|
+
}
|
|
1279
|
+
return SignatureModule;
|
|
1280
|
+
}());
|
|
1281
|
+
SignatureModule.decorators = [
|
|
1282
|
+
{ type: NgModule, args: [{
|
|
1283
|
+
imports: [CommonModule],
|
|
1284
|
+
declarations: [
|
|
1285
|
+
SignatureComponent
|
|
1286
|
+
],
|
|
1287
|
+
exports: [
|
|
1288
|
+
SignatureComponent
|
|
1289
|
+
]
|
|
1290
|
+
},] },
|
|
1291
|
+
];
|
|
1292
|
+
/**
|
|
1293
|
+
* @nocollapse
|
|
1294
|
+
*/
|
|
1295
|
+
SignatureModule.ctorParameters = function () { return []; };
|
|
1296
|
+
/**
|
|
1297
|
+
* NgModule definition for the Signature component with providers.
|
|
1298
|
+
*/
|
|
1299
|
+
var SignatureAllModule = /** @class */ (function () {
|
|
1300
|
+
function SignatureAllModule() {
|
|
1301
|
+
}
|
|
1302
|
+
return SignatureAllModule;
|
|
1303
|
+
}());
|
|
1304
|
+
SignatureAllModule.decorators = [
|
|
1305
|
+
{ type: NgModule, args: [{
|
|
1306
|
+
imports: [CommonModule, SignatureModule],
|
|
1307
|
+
exports: [
|
|
1308
|
+
SignatureModule
|
|
1309
|
+
],
|
|
1310
|
+
providers: []
|
|
1311
|
+
},] },
|
|
1312
|
+
];
|
|
1313
|
+
/**
|
|
1314
|
+
* @nocollapse
|
|
1315
|
+
*/
|
|
1316
|
+
SignatureAllModule.ctorParameters = function () { return []; };
|
|
1143
1317
|
var FormValidators = /** @class */ (function () {
|
|
1144
1318
|
function FormValidators() {
|
|
1145
1319
|
}
|
|
@@ -1384,6 +1558,6 @@ var FormValidators = /** @class */ (function () {
|
|
|
1384
1558
|
/**
|
|
1385
1559
|
* Generated bundle index. Do not edit.
|
|
1386
1560
|
*/
|
|
1387
|
-
export { TextBoxComponent, TextBoxModule, TextBoxAllModule, NumericTextBoxComponent, NumericTextBoxModule, NumericTextBoxAllModule, MaskedTextBoxComponent, MaskedTextBoxModule, MaskedTextBoxAllModule, SliderComponent, SliderModule, SliderAllModule, UploadedFilesDirective, FilesDirective, UploaderComponent, UploaderModule, UploaderAllModule, ColorPickerComponent, ColorPickerModule, ColorPickerAllModule, FormValidators, inputs$5 as ɵk, outputs$6 as ɵl, inputs$2 as ɵe, outputs$2 as ɵf, inputs$1 as ɵc, outputs$1 as ɵd, inputs$3 as ɵg, outputs$3 as ɵh, inputs as ɵa, outputs as ɵb, inputs$4 as ɵi, outputs$5 as ɵj };
|
|
1388
|
-
export { NumericTextBox, regularExpressions, createMask, applyMask, wireEvents, unwireEvents, bindClearEvent, unstrippedValue, strippedValue, maskInputMouseDownHandler, maskInputMouseUpHandler, maskInputFocusHandler, triggerFocus, maskInputBlurHandler, maskInputDropHandler, mobileRemoveFunction, setMaskValue, setElementValue, maskInput, getVal, getMaskedVal, MaskUndo, MaskedTextBox, Input, TicksData, ColorRangeData, LimitData, TooltipData, Slider, regex, ErrorOption, FormValidator, FilesProp, ButtonsProps, AsyncSettings, Uploader, ColorPicker, TextBox } from '@syncfusion/ej2-inputs';
|
|
1561
|
+
export { TextBoxComponent, TextBoxModule, TextBoxAllModule, NumericTextBoxComponent, NumericTextBoxModule, NumericTextBoxAllModule, MaskedTextBoxComponent, MaskedTextBoxModule, MaskedTextBoxAllModule, SliderComponent, SliderModule, SliderAllModule, UploadedFilesDirective, FilesDirective, UploaderComponent, UploaderModule, UploaderAllModule, ColorPickerComponent, ColorPickerModule, ColorPickerAllModule, SignatureComponent, SignatureModule, SignatureAllModule, FormValidators, inputs$5 as ɵk, outputs$6 as ɵl, inputs$2 as ɵe, outputs$2 as ɵf, inputs$1 as ɵc, outputs$1 as ɵd, inputs$6 as ɵm, outputs$7 as ɵn, inputs$3 as ɵg, outputs$3 as ɵh, inputs as ɵa, outputs as ɵb, inputs$4 as ɵi, outputs$5 as ɵj };
|
|
1562
|
+
export { NumericTextBox, regularExpressions, createMask, applyMask, wireEvents, unwireEvents, bindClearEvent, unstrippedValue, strippedValue, maskInputMouseDownHandler, maskInputMouseUpHandler, maskInputFocusHandler, triggerFocus, maskInputBlurHandler, maskInputDropHandler, mobileRemoveFunction, setMaskValue, setElementValue, maskInput, getVal, getMaskedVal, MaskUndo, MaskedTextBox, Input, TicksData, ColorRangeData, LimitData, TooltipData, Slider, regex, ErrorOption, FormValidator, FilesProp, ButtonsProps, AsyncSettings, Uploader, ColorPicker, TextBox, Signature, SignatureBase } from '@syncfusion/ej2-inputs';
|
|
1389
1563
|
//# sourceMappingURL=ej2-angular-inputs.es5.js.map
|