@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
|
@@ -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, Signature, Slider, TextBox, Uploader } from '@syncfusion/ej2-inputs';
|
|
14
|
+
import { ColorPicker, FormValidator, MaskedTextBox, NumericTextBox, Rating, 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;
|
|
@@ -791,7 +791,7 @@ var __metadata$4 = (this && this.__metadata) || function (k, v) {
|
|
|
791
791
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
792
792
|
return Reflect.metadata(k, v);
|
|
793
793
|
};
|
|
794
|
-
var inputs$4 = ['allowedExtensions', 'asyncSettings', 'autoUpload', 'buttons', 'cssClass', 'directoryUpload', 'dropArea', 'dropEffect', 'enablePersistence', 'enableRtl', 'enabled', 'files', 'htmlAttributes', 'locale', 'maxFileSize', 'minFileSize', 'multiple', 'sequentialUpload', 'showFileList', 'template'];
|
|
794
|
+
var inputs$4 = ['allowedExtensions', 'asyncSettings', 'autoUpload', 'buttons', 'cssClass', 'directoryUpload', 'dropArea', 'dropEffect', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enabled', 'files', 'htmlAttributes', 'locale', 'maxFileSize', 'minFileSize', 'multiple', 'sequentialUpload', 'showFileList', 'template'];
|
|
795
795
|
var outputs$5 = ['focus', 'blur', 'actionComplete', 'beforeRemove', 'beforeUpload', 'canceling', 'change', 'chunkFailure', 'chunkSuccess', 'chunkUploading', 'clearing', 'created', 'failure', 'fileListRendering', 'pausing', 'progress', 'removing', 'rendering', 'resuming', 'selected', 'success', 'uploading'];
|
|
796
796
|
var twoWays$4 = [];
|
|
797
797
|
/**
|
|
@@ -1314,6 +1314,202 @@ SignatureAllModule.decorators = [
|
|
|
1314
1314
|
* @nocollapse
|
|
1315
1315
|
*/
|
|
1316
1316
|
SignatureAllModule.ctorParameters = function () { return []; };
|
|
1317
|
+
var __decorate$7 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1318
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1319
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1320
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
1321
|
+
else
|
|
1322
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
1323
|
+
if (d = decorators[i])
|
|
1324
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1325
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1326
|
+
};
|
|
1327
|
+
var __metadata$7 = (this && this.__metadata) || function (k, v) {
|
|
1328
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1329
|
+
return Reflect.metadata(k, v);
|
|
1330
|
+
};
|
|
1331
|
+
var inputs$7 = ['allowReset', 'cssClass', 'disabled', 'emptyTemplate', 'enableAnimation', 'enablePersistence', 'enableRtl', 'enableSingleSelection', 'fullTemplate', 'itemsCount', 'labelPosition', 'labelTemplate', 'locale', 'min', 'precision', 'readOnly', 'showLabel', 'showTooltip', 'tooltipTemplate', 'value', 'visible'];
|
|
1332
|
+
var outputs$8 = ['focus', 'blur', 'beforeItemRender', 'created', 'onItemHover', 'valueChanged', 'valueChange'];
|
|
1333
|
+
var twoWays$7 = ['value'];
|
|
1334
|
+
/**
|
|
1335
|
+
* Represents the EJ2 Angular Rating Component.
|
|
1336
|
+
* ```html
|
|
1337
|
+
* <input ejs-rating [value]='value' />
|
|
1338
|
+
* ```
|
|
1339
|
+
*/
|
|
1340
|
+
var RatingComponent = RatingComponent_1 = /** @class */ (function (_super) {
|
|
1341
|
+
__extends(RatingComponent, _super);
|
|
1342
|
+
/**
|
|
1343
|
+
* @param {?} ngEle
|
|
1344
|
+
* @param {?} srenderer
|
|
1345
|
+
* @param {?} viewContainerRef
|
|
1346
|
+
* @param {?} injector
|
|
1347
|
+
*/
|
|
1348
|
+
function RatingComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
1349
|
+
var _this = _super.call(this) || this;
|
|
1350
|
+
_this.ngEle = ngEle;
|
|
1351
|
+
_this.srenderer = srenderer;
|
|
1352
|
+
_this.viewContainerRef = viewContainerRef;
|
|
1353
|
+
_this.injector = injector;
|
|
1354
|
+
_this.element = _this.ngEle.nativeElement;
|
|
1355
|
+
_this.injectedModules = _this.injectedModules || [];
|
|
1356
|
+
_this.registerEvents(outputs$8);
|
|
1357
|
+
_this.addTwoWay.call(_this, twoWays$7);
|
|
1358
|
+
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
1359
|
+
_this.formContext = new FormBase();
|
|
1360
|
+
_this.formCompContext = new ComponentBase();
|
|
1361
|
+
return _this;
|
|
1362
|
+
}
|
|
1363
|
+
/**
|
|
1364
|
+
* @param {?} registerFunction
|
|
1365
|
+
* @return {?}
|
|
1366
|
+
*/
|
|
1367
|
+
RatingComponent.prototype.registerOnChange = function (registerFunction) {
|
|
1368
|
+
};
|
|
1369
|
+
/**
|
|
1370
|
+
* @param {?} registerFunction
|
|
1371
|
+
* @return {?}
|
|
1372
|
+
*/
|
|
1373
|
+
RatingComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
1374
|
+
};
|
|
1375
|
+
/**
|
|
1376
|
+
* @param {?} value
|
|
1377
|
+
* @return {?}
|
|
1378
|
+
*/
|
|
1379
|
+
RatingComponent.prototype.writeValue = function (value) {
|
|
1380
|
+
};
|
|
1381
|
+
/**
|
|
1382
|
+
* @param {?} disabled
|
|
1383
|
+
* @return {?}
|
|
1384
|
+
*/
|
|
1385
|
+
RatingComponent.prototype.setDisabledState = function (disabled) {
|
|
1386
|
+
};
|
|
1387
|
+
/**
|
|
1388
|
+
* @return {?}
|
|
1389
|
+
*/
|
|
1390
|
+
RatingComponent.prototype.ngOnInit = function () {
|
|
1391
|
+
this.formCompContext.ngOnInit(this);
|
|
1392
|
+
};
|
|
1393
|
+
/**
|
|
1394
|
+
* @return {?}
|
|
1395
|
+
*/
|
|
1396
|
+
RatingComponent.prototype.ngAfterViewInit = function () {
|
|
1397
|
+
this.formContext.ngAfterViewInit(this);
|
|
1398
|
+
};
|
|
1399
|
+
/**
|
|
1400
|
+
* @return {?}
|
|
1401
|
+
*/
|
|
1402
|
+
RatingComponent.prototype.ngOnDestroy = function () {
|
|
1403
|
+
this.formCompContext.ngOnDestroy(this);
|
|
1404
|
+
};
|
|
1405
|
+
/**
|
|
1406
|
+
* @return {?}
|
|
1407
|
+
*/
|
|
1408
|
+
RatingComponent.prototype.ngAfterContentChecked = function () {
|
|
1409
|
+
this.formCompContext.ngAfterContentChecked(this);
|
|
1410
|
+
};
|
|
1411
|
+
return RatingComponent;
|
|
1412
|
+
}(Rating));
|
|
1413
|
+
RatingComponent.decorators = [
|
|
1414
|
+
{ type: Component, args: [{
|
|
1415
|
+
selector: '[ejs-rating]',
|
|
1416
|
+
inputs: inputs$7,
|
|
1417
|
+
outputs: outputs$8,
|
|
1418
|
+
template: '',
|
|
1419
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1420
|
+
providers: [
|
|
1421
|
+
{
|
|
1422
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1423
|
+
useExisting: forwardRef(function () { return RatingComponent_1; }),
|
|
1424
|
+
multi: true
|
|
1425
|
+
}
|
|
1426
|
+
],
|
|
1427
|
+
queries: {}
|
|
1428
|
+
},] },
|
|
1429
|
+
];
|
|
1430
|
+
/**
|
|
1431
|
+
* @nocollapse
|
|
1432
|
+
*/
|
|
1433
|
+
RatingComponent.ctorParameters = function () { return [
|
|
1434
|
+
{ type: ElementRef, },
|
|
1435
|
+
{ type: Renderer2, },
|
|
1436
|
+
{ type: ViewContainerRef, },
|
|
1437
|
+
{ type: Injector, },
|
|
1438
|
+
]; };
|
|
1439
|
+
RatingComponent.propDecorators = {
|
|
1440
|
+
'fullTemplate': [{ type: ContentChild, args: ['fullTemplate',] },],
|
|
1441
|
+
'emptyTemplate': [{ type: ContentChild, args: ['emptyTemplate',] },],
|
|
1442
|
+
'tooltipTemplate': [{ type: ContentChild, args: ['tooltipTemplate',] },],
|
|
1443
|
+
'labelTemplate': [{ type: ContentChild, args: ['labelTemplate',] },],
|
|
1444
|
+
};
|
|
1445
|
+
__decorate$7([
|
|
1446
|
+
Template(),
|
|
1447
|
+
__metadata$7("design:type", Object)
|
|
1448
|
+
], RatingComponent.prototype, "fullTemplate", void 0);
|
|
1449
|
+
__decorate$7([
|
|
1450
|
+
Template(),
|
|
1451
|
+
__metadata$7("design:type", Object)
|
|
1452
|
+
], RatingComponent.prototype, "emptyTemplate", void 0);
|
|
1453
|
+
__decorate$7([
|
|
1454
|
+
Template(),
|
|
1455
|
+
__metadata$7("design:type", Object)
|
|
1456
|
+
], RatingComponent.prototype, "tooltipTemplate", void 0);
|
|
1457
|
+
__decorate$7([
|
|
1458
|
+
Template(),
|
|
1459
|
+
__metadata$7("design:type", Object)
|
|
1460
|
+
], RatingComponent.prototype, "labelTemplate", void 0);
|
|
1461
|
+
RatingComponent = RatingComponent_1 = __decorate$7([
|
|
1462
|
+
ComponentMixins([ComponentBase, FormBase]),
|
|
1463
|
+
__metadata$7("design:paramtypes", [ElementRef,
|
|
1464
|
+
Renderer2,
|
|
1465
|
+
ViewContainerRef,
|
|
1466
|
+
Injector])
|
|
1467
|
+
], RatingComponent);
|
|
1468
|
+
var RatingComponent_1;
|
|
1469
|
+
/**
|
|
1470
|
+
* NgModule definition for the Rating component.
|
|
1471
|
+
*/
|
|
1472
|
+
var RatingModule = /** @class */ (function () {
|
|
1473
|
+
function RatingModule() {
|
|
1474
|
+
}
|
|
1475
|
+
return RatingModule;
|
|
1476
|
+
}());
|
|
1477
|
+
RatingModule.decorators = [
|
|
1478
|
+
{ type: NgModule, args: [{
|
|
1479
|
+
imports: [CommonModule],
|
|
1480
|
+
declarations: [
|
|
1481
|
+
RatingComponent
|
|
1482
|
+
],
|
|
1483
|
+
exports: [
|
|
1484
|
+
RatingComponent
|
|
1485
|
+
]
|
|
1486
|
+
},] },
|
|
1487
|
+
];
|
|
1488
|
+
/**
|
|
1489
|
+
* @nocollapse
|
|
1490
|
+
*/
|
|
1491
|
+
RatingModule.ctorParameters = function () { return []; };
|
|
1492
|
+
/**
|
|
1493
|
+
* NgModule definition for the Rating component with providers.
|
|
1494
|
+
*/
|
|
1495
|
+
var RatingAllModule = /** @class */ (function () {
|
|
1496
|
+
function RatingAllModule() {
|
|
1497
|
+
}
|
|
1498
|
+
return RatingAllModule;
|
|
1499
|
+
}());
|
|
1500
|
+
RatingAllModule.decorators = [
|
|
1501
|
+
{ type: NgModule, args: [{
|
|
1502
|
+
imports: [CommonModule, RatingModule],
|
|
1503
|
+
exports: [
|
|
1504
|
+
RatingModule
|
|
1505
|
+
],
|
|
1506
|
+
providers: []
|
|
1507
|
+
},] },
|
|
1508
|
+
];
|
|
1509
|
+
/**
|
|
1510
|
+
* @nocollapse
|
|
1511
|
+
*/
|
|
1512
|
+
RatingAllModule.ctorParameters = function () { return []; };
|
|
1317
1513
|
var FormValidators = /** @class */ (function () {
|
|
1318
1514
|
function FormValidators() {
|
|
1319
1515
|
}
|
|
@@ -1558,6 +1754,6 @@ var FormValidators = /** @class */ (function () {
|
|
|
1558
1754
|
/**
|
|
1559
1755
|
* Generated bundle index. Do not edit.
|
|
1560
1756
|
*/
|
|
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';
|
|
1757
|
+
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 };
|
|
1758
|
+
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';
|
|
1563
1759
|
//# sourceMappingURL=ej2-angular-inputs.es5.js.map
|