@syncfusion/ej2-angular-inputs 20.3.57-ngcc → 20.4.38-ngcc
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 +200 -4
- package/@syncfusion/ej2-angular-inputs.es5.js.map +1 -1
- package/@syncfusion/ej2-angular-inputs.js +189 -4
- package/@syncfusion/ej2-angular-inputs.js.map +1 -1
- package/CHANGELOG.md +9 -46
- package/dist/ej2-angular-inputs.umd.js +206 -2
- 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 +14 -9
- 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/rating/rating-all.module.d.ts +5 -0
- package/src/rating/rating.component.d.ts +63 -0
- package/src/rating/rating.module.d.ts +5 -0
- package/styles/bootstrap-dark.css +264 -0
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap.css +264 -0
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4.css +267 -2
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark.css +265 -0
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5.css +265 -0
- package/styles/bootstrap5.scss +1 -0
- package/styles/color-picker/bootstrap4.css +2 -2
- package/styles/fabric-dark.css +264 -0
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric.css +264 -0
- package/styles/fabric.scss +1 -0
- package/styles/fluent-dark.css +264 -0
- package/styles/fluent-dark.scss +1 -0
- package/styles/fluent.css +264 -0
- package/styles/fluent.scss +1 -0
- package/styles/highcontrast-light.css +264 -0
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast.css +264 -0
- package/styles/highcontrast.scss +1 -0
- package/styles/material-dark.css +264 -0
- package/styles/material-dark.scss +1 -0
- package/styles/material.css +264 -0
- package/styles/material.scss +1 -0
- package/styles/rating/bootstrap-dark.css +263 -0
- package/styles/rating/bootstrap-dark.scss +1 -0
- package/styles/rating/bootstrap.css +263 -0
- package/styles/rating/bootstrap.scss +1 -0
- package/styles/rating/bootstrap4.css +264 -0
- package/styles/rating/bootstrap4.scss +1 -0
- package/styles/rating/bootstrap5-dark.css +264 -0
- package/styles/rating/bootstrap5-dark.scss +1 -0
- package/styles/rating/bootstrap5.css +264 -0
- package/styles/rating/bootstrap5.scss +1 -0
- package/styles/rating/fabric-dark.css +263 -0
- package/styles/rating/fabric-dark.scss +1 -0
- package/styles/rating/fabric.css +263 -0
- package/styles/rating/fabric.scss +1 -0
- package/styles/rating/fluent-dark.css +263 -0
- package/styles/rating/fluent-dark.scss +1 -0
- package/styles/rating/fluent.css +263 -0
- package/styles/rating/fluent.scss +1 -0
- package/styles/rating/highcontrast-light.css +263 -0
- package/styles/rating/highcontrast-light.scss +1 -0
- package/styles/rating/highcontrast.css +263 -0
- package/styles/rating/highcontrast.scss +1 -0
- package/styles/rating/material-dark.css +264 -0
- package/styles/rating/material-dark.scss +1 -0
- package/styles/rating/material.css +264 -0
- package/styles/rating/material.scss +1 -0
- package/styles/rating/tailwind-dark.css +269 -0
- package/styles/rating/tailwind-dark.scss +1 -0
- package/styles/rating/tailwind.css +269 -0
- package/styles/rating/tailwind.scss +1 -0
- package/styles/tailwind-dark.css +270 -0
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind.css +270 -0
- 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, Signature, Slider, TextBox, Uploader } from '@syncfusion/ej2-inputs';
|
|
4
|
+
import { ColorPicker, FormValidator, MaskedTextBox, NumericTextBox, Rating, 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) {
|
|
@@ -729,7 +729,7 @@ var __decorate$4 = (this && this.__decorate) || function (decorators, target, ke
|
|
|
729
729
|
var __metadata$4 = (this && this.__metadata) || function (k, v) {
|
|
730
730
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
731
731
|
};
|
|
732
|
-
const inputs$4 = ['allowedExtensions', 'asyncSettings', 'autoUpload', 'buttons', 'cssClass', 'directoryUpload', 'dropArea', 'dropEffect', 'enablePersistence', 'enableRtl', 'enabled', 'files', 'htmlAttributes', 'locale', 'maxFileSize', 'minFileSize', 'multiple', 'sequentialUpload', 'showFileList', 'template'];
|
|
732
|
+
const inputs$4 = ['allowedExtensions', 'asyncSettings', 'autoUpload', 'buttons', 'cssClass', 'directoryUpload', 'dropArea', 'dropEffect', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enabled', 'files', 'htmlAttributes', 'locale', 'maxFileSize', 'minFileSize', 'multiple', 'sequentialUpload', 'showFileList', 'template'];
|
|
733
733
|
const outputs$5 = ['focus', 'blur', 'actionComplete', 'beforeRemove', 'beforeUpload', 'canceling', 'change', 'chunkFailure', 'chunkSuccess', 'chunkUploading', 'clearing', 'created', 'failure', 'fileListRendering', 'pausing', 'progress', 'removing', 'rendering', 'resuming', 'selected', 'success', 'uploading'];
|
|
734
734
|
const twoWays$4 = [];
|
|
735
735
|
/**
|
|
@@ -1224,6 +1224,191 @@ SignatureAllModule.decorators = [
|
|
|
1224
1224
|
*/
|
|
1225
1225
|
SignatureAllModule.ctorParameters = () => [];
|
|
1226
1226
|
|
|
1227
|
+
var __decorate$7 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1228
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1229
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1230
|
+
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;
|
|
1231
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1232
|
+
};
|
|
1233
|
+
var __metadata$7 = (this && this.__metadata) || function (k, v) {
|
|
1234
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1235
|
+
};
|
|
1236
|
+
const inputs$7 = ['allowReset', 'cssClass', 'disabled', 'emptyTemplate', 'enableAnimation', 'enablePersistence', 'enableRtl', 'enableSingleSelection', 'fullTemplate', 'itemsCount', 'labelPosition', 'labelTemplate', 'locale', 'min', 'precision', 'readOnly', 'showLabel', 'showTooltip', 'tooltipTemplate', 'value', 'visible'];
|
|
1237
|
+
const outputs$8 = ['focus', 'blur', 'beforeItemRender', 'created', 'onItemHover', 'valueChanged', 'valueChange'];
|
|
1238
|
+
const twoWays$7 = ['value'];
|
|
1239
|
+
/**
|
|
1240
|
+
* Represents the EJ2 Angular Rating Component.
|
|
1241
|
+
* ```html
|
|
1242
|
+
* <input ejs-rating [value]='value' />
|
|
1243
|
+
* ```
|
|
1244
|
+
*/
|
|
1245
|
+
let RatingComponent = RatingComponent_1 = class RatingComponent extends Rating {
|
|
1246
|
+
/**
|
|
1247
|
+
* @param {?} ngEle
|
|
1248
|
+
* @param {?} srenderer
|
|
1249
|
+
* @param {?} viewContainerRef
|
|
1250
|
+
* @param {?} injector
|
|
1251
|
+
*/
|
|
1252
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
1253
|
+
super();
|
|
1254
|
+
this.ngEle = ngEle;
|
|
1255
|
+
this.srenderer = srenderer;
|
|
1256
|
+
this.viewContainerRef = viewContainerRef;
|
|
1257
|
+
this.injector = injector;
|
|
1258
|
+
this.element = this.ngEle.nativeElement;
|
|
1259
|
+
this.injectedModules = this.injectedModules || [];
|
|
1260
|
+
this.registerEvents(outputs$8);
|
|
1261
|
+
this.addTwoWay.call(this, twoWays$7);
|
|
1262
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
1263
|
+
this.formContext = new FormBase();
|
|
1264
|
+
this.formCompContext = new ComponentBase();
|
|
1265
|
+
}
|
|
1266
|
+
/**
|
|
1267
|
+
* @param {?} registerFunction
|
|
1268
|
+
* @return {?}
|
|
1269
|
+
*/
|
|
1270
|
+
registerOnChange(registerFunction) {
|
|
1271
|
+
}
|
|
1272
|
+
/**
|
|
1273
|
+
* @param {?} registerFunction
|
|
1274
|
+
* @return {?}
|
|
1275
|
+
*/
|
|
1276
|
+
registerOnTouched(registerFunction) {
|
|
1277
|
+
}
|
|
1278
|
+
/**
|
|
1279
|
+
* @param {?} value
|
|
1280
|
+
* @return {?}
|
|
1281
|
+
*/
|
|
1282
|
+
writeValue(value) {
|
|
1283
|
+
}
|
|
1284
|
+
/**
|
|
1285
|
+
* @param {?} disabled
|
|
1286
|
+
* @return {?}
|
|
1287
|
+
*/
|
|
1288
|
+
setDisabledState(disabled) {
|
|
1289
|
+
}
|
|
1290
|
+
/**
|
|
1291
|
+
* @return {?}
|
|
1292
|
+
*/
|
|
1293
|
+
ngOnInit() {
|
|
1294
|
+
this.formCompContext.ngOnInit(this);
|
|
1295
|
+
}
|
|
1296
|
+
/**
|
|
1297
|
+
* @return {?}
|
|
1298
|
+
*/
|
|
1299
|
+
ngAfterViewInit() {
|
|
1300
|
+
this.formContext.ngAfterViewInit(this);
|
|
1301
|
+
}
|
|
1302
|
+
/**
|
|
1303
|
+
* @return {?}
|
|
1304
|
+
*/
|
|
1305
|
+
ngOnDestroy() {
|
|
1306
|
+
this.formCompContext.ngOnDestroy(this);
|
|
1307
|
+
}
|
|
1308
|
+
/**
|
|
1309
|
+
* @return {?}
|
|
1310
|
+
*/
|
|
1311
|
+
ngAfterContentChecked() {
|
|
1312
|
+
this.formCompContext.ngAfterContentChecked(this);
|
|
1313
|
+
}
|
|
1314
|
+
};
|
|
1315
|
+
RatingComponent.decorators = [
|
|
1316
|
+
{ type: Component, args: [{
|
|
1317
|
+
selector: '[ejs-rating]',
|
|
1318
|
+
inputs: inputs$7,
|
|
1319
|
+
outputs: outputs$8,
|
|
1320
|
+
template: '',
|
|
1321
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1322
|
+
providers: [
|
|
1323
|
+
{
|
|
1324
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1325
|
+
useExisting: forwardRef(() => RatingComponent_1),
|
|
1326
|
+
multi: true
|
|
1327
|
+
}
|
|
1328
|
+
],
|
|
1329
|
+
queries: {}
|
|
1330
|
+
},] },
|
|
1331
|
+
];
|
|
1332
|
+
/**
|
|
1333
|
+
* @nocollapse
|
|
1334
|
+
*/
|
|
1335
|
+
RatingComponent.ctorParameters = () => [
|
|
1336
|
+
{ type: ElementRef, },
|
|
1337
|
+
{ type: Renderer2, },
|
|
1338
|
+
{ type: ViewContainerRef, },
|
|
1339
|
+
{ type: Injector, },
|
|
1340
|
+
];
|
|
1341
|
+
RatingComponent.propDecorators = {
|
|
1342
|
+
'fullTemplate': [{ type: ContentChild, args: ['fullTemplate',] },],
|
|
1343
|
+
'emptyTemplate': [{ type: ContentChild, args: ['emptyTemplate',] },],
|
|
1344
|
+
'tooltipTemplate': [{ type: ContentChild, args: ['tooltipTemplate',] },],
|
|
1345
|
+
'labelTemplate': [{ type: ContentChild, args: ['labelTemplate',] },],
|
|
1346
|
+
};
|
|
1347
|
+
__decorate$7([
|
|
1348
|
+
Template(),
|
|
1349
|
+
__metadata$7("design:type", Object)
|
|
1350
|
+
], RatingComponent.prototype, "fullTemplate", void 0);
|
|
1351
|
+
__decorate$7([
|
|
1352
|
+
Template(),
|
|
1353
|
+
__metadata$7("design:type", Object)
|
|
1354
|
+
], RatingComponent.prototype, "emptyTemplate", void 0);
|
|
1355
|
+
__decorate$7([
|
|
1356
|
+
Template(),
|
|
1357
|
+
__metadata$7("design:type", Object)
|
|
1358
|
+
], RatingComponent.prototype, "tooltipTemplate", void 0);
|
|
1359
|
+
__decorate$7([
|
|
1360
|
+
Template(),
|
|
1361
|
+
__metadata$7("design:type", Object)
|
|
1362
|
+
], RatingComponent.prototype, "labelTemplate", void 0);
|
|
1363
|
+
RatingComponent = RatingComponent_1 = __decorate$7([
|
|
1364
|
+
ComponentMixins([ComponentBase, FormBase]),
|
|
1365
|
+
__metadata$7("design:paramtypes", [ElementRef,
|
|
1366
|
+
Renderer2,
|
|
1367
|
+
ViewContainerRef,
|
|
1368
|
+
Injector])
|
|
1369
|
+
], RatingComponent);
|
|
1370
|
+
var RatingComponent_1;
|
|
1371
|
+
|
|
1372
|
+
/**
|
|
1373
|
+
* NgModule definition for the Rating component.
|
|
1374
|
+
*/
|
|
1375
|
+
class RatingModule {
|
|
1376
|
+
}
|
|
1377
|
+
RatingModule.decorators = [
|
|
1378
|
+
{ type: NgModule, args: [{
|
|
1379
|
+
imports: [CommonModule],
|
|
1380
|
+
declarations: [
|
|
1381
|
+
RatingComponent
|
|
1382
|
+
],
|
|
1383
|
+
exports: [
|
|
1384
|
+
RatingComponent
|
|
1385
|
+
]
|
|
1386
|
+
},] },
|
|
1387
|
+
];
|
|
1388
|
+
/**
|
|
1389
|
+
* @nocollapse
|
|
1390
|
+
*/
|
|
1391
|
+
RatingModule.ctorParameters = () => [];
|
|
1392
|
+
|
|
1393
|
+
/**
|
|
1394
|
+
* NgModule definition for the Rating component with providers.
|
|
1395
|
+
*/
|
|
1396
|
+
class RatingAllModule {
|
|
1397
|
+
}
|
|
1398
|
+
RatingAllModule.decorators = [
|
|
1399
|
+
{ type: NgModule, args: [{
|
|
1400
|
+
imports: [CommonModule, RatingModule],
|
|
1401
|
+
exports: [
|
|
1402
|
+
RatingModule
|
|
1403
|
+
],
|
|
1404
|
+
providers: []
|
|
1405
|
+
},] },
|
|
1406
|
+
];
|
|
1407
|
+
/**
|
|
1408
|
+
* @nocollapse
|
|
1409
|
+
*/
|
|
1410
|
+
RatingAllModule.ctorParameters = () => [];
|
|
1411
|
+
|
|
1227
1412
|
class FormValidators {
|
|
1228
1413
|
/**
|
|
1229
1414
|
* @param {?} number
|
|
@@ -1467,6 +1652,6 @@ class FormValidators {
|
|
|
1467
1652
|
* Generated bundle index. Do not edit.
|
|
1468
1653
|
*/
|
|
1469
1654
|
|
|
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';
|
|
1655
|
+
export { TextBoxComponent, TextBoxModule, TextBoxAllModule, NumericTextBoxComponent, NumericTextBoxModule, NumericTextBoxAllModule, MaskedTextBoxComponent, MaskedTextBoxModule, MaskedTextBoxAllModule, SliderComponent, SliderModule, SliderAllModule, UploadedFilesDirective, FilesDirective, UploaderComponent, UploaderModule, UploaderAllModule, ColorPickerComponent, ColorPickerModule, ColorPickerAllModule, SignatureComponent, SignatureModule, SignatureAllModule, RatingComponent, RatingModule, RatingAllModule, 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$7 as ɵo, outputs$8 as ɵp, 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 };
|
|
1656
|
+
export { NumericTextBox, regularExpressions, createMask, applyMask, wireEvents, unwireEvents, bindClearEvent, unstrippedValue, strippedValue, maskInputMouseDownHandler, maskInputMouseUpHandler, maskInputFocusHandler, triggerFocus, escapeRegExp, 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, LabelPosition, PrecisionType, Rating, SignatureBase } from '@syncfusion/ej2-inputs';
|
|
1472
1657
|
//# sourceMappingURL=ej2-angular-inputs.js.map
|