@syncfusion/ej2-angular-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/@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 +28 -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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef, forwardRef } from '@angular/core';
|
|
2
2
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
3
|
import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, FormBase, Template, setValue } from '@syncfusion/ej2-angular-base';
|
|
4
|
-
import { ColorPicker, FormValidator, MaskedTextBox, NumericTextBox, Slider, TextBox, Uploader } from '@syncfusion/ej2-inputs';
|
|
4
|
+
import { ColorPicker, FormValidator, MaskedTextBox, NumericTextBox, Signature, Slider, TextBox, Uploader } from '@syncfusion/ej2-inputs';
|
|
5
5
|
import { CommonModule } from '@angular/common';
|
|
6
6
|
|
|
7
7
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -1061,6 +1061,169 @@ ColorPickerAllModule.decorators = [
|
|
|
1061
1061
|
*/
|
|
1062
1062
|
ColorPickerAllModule.ctorParameters = () => [];
|
|
1063
1063
|
|
|
1064
|
+
var __decorate$6 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1065
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1066
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1067
|
+
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;
|
|
1068
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1069
|
+
};
|
|
1070
|
+
var __metadata$6 = (this && this.__metadata) || function (k, v) {
|
|
1071
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1072
|
+
};
|
|
1073
|
+
const inputs$6 = ['backgroundColor', 'backgroundImage', 'disabled', 'enablePersistence', 'enableRtl', 'isReadOnly', 'locale', 'maxStrokeWidth', 'minStrokeWidth', 'saveWithBackground', 'strokeColor', 'velocity'];
|
|
1074
|
+
const outputs$7 = ['focus', 'blur', 'beforeSave', 'change', 'created'];
|
|
1075
|
+
const twoWays$6 = [];
|
|
1076
|
+
/**
|
|
1077
|
+
* Represents the EJ2 Angular Signature Component.
|
|
1078
|
+
* ```html
|
|
1079
|
+
* <canvas ejs-signature />
|
|
1080
|
+
* ```
|
|
1081
|
+
*/
|
|
1082
|
+
let SignatureComponent = SignatureComponent_1 = class SignatureComponent extends Signature {
|
|
1083
|
+
/**
|
|
1084
|
+
* @param {?} ngEle
|
|
1085
|
+
* @param {?} srenderer
|
|
1086
|
+
* @param {?} viewContainerRef
|
|
1087
|
+
* @param {?} injector
|
|
1088
|
+
*/
|
|
1089
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
1090
|
+
super();
|
|
1091
|
+
this.ngEle = ngEle;
|
|
1092
|
+
this.srenderer = srenderer;
|
|
1093
|
+
this.viewContainerRef = viewContainerRef;
|
|
1094
|
+
this.injector = injector;
|
|
1095
|
+
this.element = this.ngEle.nativeElement;
|
|
1096
|
+
this.injectedModules = this.injectedModules || [];
|
|
1097
|
+
this.registerEvents(outputs$7);
|
|
1098
|
+
this.addTwoWay.call(this, twoWays$6);
|
|
1099
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
1100
|
+
this.formContext = new FormBase();
|
|
1101
|
+
this.formCompContext = new ComponentBase();
|
|
1102
|
+
}
|
|
1103
|
+
/**
|
|
1104
|
+
* @param {?} registerFunction
|
|
1105
|
+
* @return {?}
|
|
1106
|
+
*/
|
|
1107
|
+
registerOnChange(registerFunction) {
|
|
1108
|
+
}
|
|
1109
|
+
/**
|
|
1110
|
+
* @param {?} registerFunction
|
|
1111
|
+
* @return {?}
|
|
1112
|
+
*/
|
|
1113
|
+
registerOnTouched(registerFunction) {
|
|
1114
|
+
}
|
|
1115
|
+
/**
|
|
1116
|
+
* @param {?} value
|
|
1117
|
+
* @return {?}
|
|
1118
|
+
*/
|
|
1119
|
+
writeValue(value) {
|
|
1120
|
+
}
|
|
1121
|
+
/**
|
|
1122
|
+
* @param {?} disabled
|
|
1123
|
+
* @return {?}
|
|
1124
|
+
*/
|
|
1125
|
+
setDisabledState(disabled) {
|
|
1126
|
+
}
|
|
1127
|
+
/**
|
|
1128
|
+
* @return {?}
|
|
1129
|
+
*/
|
|
1130
|
+
ngOnInit() {
|
|
1131
|
+
this.formCompContext.ngOnInit(this);
|
|
1132
|
+
}
|
|
1133
|
+
/**
|
|
1134
|
+
* @return {?}
|
|
1135
|
+
*/
|
|
1136
|
+
ngAfterViewInit() {
|
|
1137
|
+
this.formContext.ngAfterViewInit(this);
|
|
1138
|
+
}
|
|
1139
|
+
/**
|
|
1140
|
+
* @return {?}
|
|
1141
|
+
*/
|
|
1142
|
+
ngOnDestroy() {
|
|
1143
|
+
this.formCompContext.ngOnDestroy(this);
|
|
1144
|
+
}
|
|
1145
|
+
/**
|
|
1146
|
+
* @return {?}
|
|
1147
|
+
*/
|
|
1148
|
+
ngAfterContentChecked() {
|
|
1149
|
+
this.formCompContext.ngAfterContentChecked(this);
|
|
1150
|
+
}
|
|
1151
|
+
};
|
|
1152
|
+
SignatureComponent.decorators = [
|
|
1153
|
+
{ type: Component, args: [{
|
|
1154
|
+
selector: '[ejs-signature]',
|
|
1155
|
+
inputs: inputs$6,
|
|
1156
|
+
outputs: outputs$7,
|
|
1157
|
+
template: '',
|
|
1158
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1159
|
+
providers: [
|
|
1160
|
+
{
|
|
1161
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1162
|
+
useExisting: forwardRef(() => SignatureComponent_1),
|
|
1163
|
+
multi: true
|
|
1164
|
+
}
|
|
1165
|
+
],
|
|
1166
|
+
queries: {}
|
|
1167
|
+
},] },
|
|
1168
|
+
];
|
|
1169
|
+
/**
|
|
1170
|
+
* @nocollapse
|
|
1171
|
+
*/
|
|
1172
|
+
SignatureComponent.ctorParameters = () => [
|
|
1173
|
+
{ type: ElementRef, },
|
|
1174
|
+
{ type: Renderer2, },
|
|
1175
|
+
{ type: ViewContainerRef, },
|
|
1176
|
+
{ type: Injector, },
|
|
1177
|
+
];
|
|
1178
|
+
SignatureComponent = SignatureComponent_1 = __decorate$6([
|
|
1179
|
+
ComponentMixins([ComponentBase, FormBase]),
|
|
1180
|
+
__metadata$6("design:paramtypes", [ElementRef,
|
|
1181
|
+
Renderer2,
|
|
1182
|
+
ViewContainerRef,
|
|
1183
|
+
Injector])
|
|
1184
|
+
], SignatureComponent);
|
|
1185
|
+
var SignatureComponent_1;
|
|
1186
|
+
|
|
1187
|
+
/**
|
|
1188
|
+
* NgModule definition for the Signature component.
|
|
1189
|
+
*/
|
|
1190
|
+
class SignatureModule {
|
|
1191
|
+
}
|
|
1192
|
+
SignatureModule.decorators = [
|
|
1193
|
+
{ type: NgModule, args: [{
|
|
1194
|
+
imports: [CommonModule],
|
|
1195
|
+
declarations: [
|
|
1196
|
+
SignatureComponent
|
|
1197
|
+
],
|
|
1198
|
+
exports: [
|
|
1199
|
+
SignatureComponent
|
|
1200
|
+
]
|
|
1201
|
+
},] },
|
|
1202
|
+
];
|
|
1203
|
+
/**
|
|
1204
|
+
* @nocollapse
|
|
1205
|
+
*/
|
|
1206
|
+
SignatureModule.ctorParameters = () => [];
|
|
1207
|
+
|
|
1208
|
+
/**
|
|
1209
|
+
* NgModule definition for the Signature component with providers.
|
|
1210
|
+
*/
|
|
1211
|
+
class SignatureAllModule {
|
|
1212
|
+
}
|
|
1213
|
+
SignatureAllModule.decorators = [
|
|
1214
|
+
{ type: NgModule, args: [{
|
|
1215
|
+
imports: [CommonModule, SignatureModule],
|
|
1216
|
+
exports: [
|
|
1217
|
+
SignatureModule
|
|
1218
|
+
],
|
|
1219
|
+
providers: []
|
|
1220
|
+
},] },
|
|
1221
|
+
];
|
|
1222
|
+
/**
|
|
1223
|
+
* @nocollapse
|
|
1224
|
+
*/
|
|
1225
|
+
SignatureAllModule.ctorParameters = () => [];
|
|
1226
|
+
|
|
1064
1227
|
class FormValidators {
|
|
1065
1228
|
/**
|
|
1066
1229
|
* @param {?} number
|
|
@@ -1304,6 +1467,6 @@ class FormValidators {
|
|
|
1304
1467
|
* Generated bundle index. Do not edit.
|
|
1305
1468
|
*/
|
|
1306
1469
|
|
|
1307
|
-
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 };
|
|
1308
|
-
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';
|
|
1470
|
+
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 };
|
|
1471
|
+
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';
|
|
1309
1472
|
//# sourceMappingURL=ej2-angular-inputs.js.map
|