@gipisistemas/ng-core 1.1.8 → 1.1.9
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/bundles/gipisistemas-ng-core.umd.js +223 -41
- package/bundles/gipisistemas-ng-core.umd.js.map +1 -1
- package/bundles/gipisistemas-ng-core.umd.min.js +8 -8
- package/bundles/gipisistemas-ng-core.umd.min.js.map +1 -1
- package/esm2015/core/utils/phone.util.js +12 -7
- package/esm2015/gipi-components.js +2 -1
- package/esm2015/shared/gipi-components/datepicker/datepicker/datepicker.component.js +2 -2
- package/esm2015/shared/gipi-components/input-phone/input-phone.component.js +175 -0
- package/esm2015/shared/shared.module.js +3 -1
- package/esm5/core/utils/phone.util.js +12 -7
- package/esm5/gipi-components.js +2 -1
- package/esm5/shared/gipi-components/datepicker/datepicker/datepicker.component.js +2 -2
- package/esm5/shared/gipi-components/input-phone/input-phone.component.js +182 -0
- package/esm5/shared/shared.module.js +3 -1
- package/fesm2015/gipisistemas-ng-core.js +219 -45
- package/fesm2015/gipisistemas-ng-core.js.map +1 -1
- package/fesm5/gipisistemas-ng-core.js +225 -44
- package/fesm5/gipisistemas-ng-core.js.map +1 -1
- package/gipi-components.d.ts +1 -0
- package/gipisistemas-ng-core.metadata.json +1 -1
- package/package.json +1 -1
- package/shared/gipi-components/input-phone/input-phone.component.d.ts +39 -0
@@ -1402,14 +1402,12 @@
|
|
1402
1402
|
PhoneUtil.format = function (number, mask) {
|
1403
1403
|
var numberNotFormatted = NumberUtil.onlyNumbers(number);
|
1404
1404
|
var phoneFormatted = '';
|
1405
|
-
if ((numberNotFormatted.length < 8) ||
|
1406
|
-
(numberNotFormatted.length > 12) ||
|
1407
|
-
(!this.isPossible(numberNotFormatted) && !this.isValid(numberNotFormatted))) {
|
1408
|
-
return numberNotFormatted;
|
1409
|
-
}
|
1410
1405
|
if (StringUtil.isEmpty(mask)) {
|
1411
1406
|
mask = this.mask(numberNotFormatted);
|
1412
1407
|
}
|
1408
|
+
if (mask === '0*') {
|
1409
|
+
return numberNotFormatted;
|
1410
|
+
}
|
1413
1411
|
for (var i = 0, j = 0; i < mask.length && j < numberNotFormatted.length; i++) {
|
1414
1412
|
phoneFormatted += mask.charAt(i) === '0' ? numberNotFormatted.charAt(j++) : mask.charAt(i);
|
1415
1413
|
}
|
@@ -1431,7 +1429,14 @@
|
|
1431
1429
|
case 8: return '0000-0000';
|
1432
1430
|
case 9: return '0 0000-0000';
|
1433
1431
|
case 10: return '(00) 0000-0000';
|
1434
|
-
case 11:
|
1432
|
+
case 11:
|
1433
|
+
{
|
1434
|
+
var startWithZero = phoneAux.startsWith('0');
|
1435
|
+
return (startWithZero
|
1436
|
+
? '(000) 0000-0000'
|
1437
|
+
: '(00) 0 0000-0000');
|
1438
|
+
}
|
1439
|
+
;
|
1435
1440
|
case 12: return '(000) 0 0000-0000';
|
1436
1441
|
default: return '0*';
|
1437
1442
|
}
|
@@ -11417,13 +11422,188 @@
|
|
11417
11422
|
}());
|
11418
11423
|
|
11419
11424
|
var nextUniqueId$8 = 0;
|
11425
|
+
var GIPIInputPhoneComponent = /** @class */ (function () {
|
11426
|
+
function GIPIInputPhoneComponent(elementRef, _changeDetectorRef) {
|
11427
|
+
this.elementRef = elementRef;
|
11428
|
+
this._changeDetectorRef = _changeDetectorRef;
|
11429
|
+
this._name = "gipi-input-phone-" + nextUniqueId$8++;
|
11430
|
+
this._inputEnter$ = new rxjs.BehaviorSubject(false);
|
11431
|
+
this.maskPhone$ = new rxjs.BehaviorSubject('0*');
|
11432
|
+
this.id = this._name;
|
11433
|
+
this.name = this._name;
|
11434
|
+
this.label = '';
|
11435
|
+
this.tooltip = '';
|
11436
|
+
this.placeholder = '';
|
11437
|
+
this.disabled = false;
|
11438
|
+
this.loading = false;
|
11439
|
+
this.required = false;
|
11440
|
+
/** Indica se é um número estrangeiro */
|
11441
|
+
this.foreign = false;
|
11442
|
+
this.appearance = 'outline';
|
11443
|
+
this._value = '';
|
11444
|
+
this.focus = new core.EventEmitter();
|
11445
|
+
this.blur = new core.EventEmitter();
|
11446
|
+
this.onChange = function () { };
|
11447
|
+
this.onTouch = function () { };
|
11448
|
+
}
|
11449
|
+
GIPIInputPhoneComponent_1 = GIPIInputPhoneComponent;
|
11450
|
+
Object.defineProperty(GIPIInputPhoneComponent.prototype, "value", {
|
11451
|
+
get: function () {
|
11452
|
+
return this._value;
|
11453
|
+
},
|
11454
|
+
set: function (value) {
|
11455
|
+
this._value = value;
|
11456
|
+
var isInputEntered = this._inputEnter$.getValue();
|
11457
|
+
if (!isInputEntered) {
|
11458
|
+
this._changeDetectorRef.detectChanges();
|
11459
|
+
}
|
11460
|
+
this.onChange(this._value);
|
11461
|
+
this.onTouch();
|
11462
|
+
},
|
11463
|
+
enumerable: false,
|
11464
|
+
configurable: true
|
11465
|
+
});
|
11466
|
+
GIPIInputPhoneComponent.prototype.ngOnInit = function () { };
|
11467
|
+
GIPIInputPhoneComponent.prototype.writeValue = function (value) {
|
11468
|
+
this.value = value;
|
11469
|
+
if (!StringUtil.isEmpty(this.value) && !this.foreign) {
|
11470
|
+
this.onInputExit();
|
11471
|
+
}
|
11472
|
+
};
|
11473
|
+
GIPIInputPhoneComponent.prototype.registerOnChange = function (fn) {
|
11474
|
+
this.onChange = fn;
|
11475
|
+
};
|
11476
|
+
GIPIInputPhoneComponent.prototype.registerOnTouched = function (fn) {
|
11477
|
+
this.onTouch = fn;
|
11478
|
+
};
|
11479
|
+
GIPIInputPhoneComponent.prototype.setDisabledState = function (isDisabled) {
|
11480
|
+
this.disabled = isDisabled;
|
11481
|
+
this._changeDetectorRef.detectChanges();
|
11482
|
+
};
|
11483
|
+
GIPIInputPhoneComponent.prototype.onFocus = function (event) {
|
11484
|
+
if (!this.disabled) {
|
11485
|
+
this.focus.emit(event);
|
11486
|
+
}
|
11487
|
+
};
|
11488
|
+
GIPIInputPhoneComponent.prototype.onBlur = function (event) {
|
11489
|
+
if (!this.disabled) {
|
11490
|
+
this.blur.emit(event);
|
11491
|
+
this.onTouch();
|
11492
|
+
}
|
11493
|
+
};
|
11494
|
+
GIPIInputPhoneComponent.prototype.onInputEnter = function () {
|
11495
|
+
var _this = this;
|
11496
|
+
if (this.foreign) {
|
11497
|
+
return;
|
11498
|
+
}
|
11499
|
+
this._inputEnter$.next(true);
|
11500
|
+
var tempValue = this.value;
|
11501
|
+
this.value = '';
|
11502
|
+
this._changeDetectorRef.detectChanges();
|
11503
|
+
this.maskPhone$.next('0*');
|
11504
|
+
setTimeout(function (_) { return _this.value = tempValue; });
|
11505
|
+
};
|
11506
|
+
GIPIInputPhoneComponent.prototype.onInputExit = function () {
|
11507
|
+
if (this.foreign) {
|
11508
|
+
return;
|
11509
|
+
}
|
11510
|
+
this._inputEnter$.next(false);
|
11511
|
+
if (!this.value) {
|
11512
|
+
this.maskPhone$.next('0*');
|
11513
|
+
return;
|
11514
|
+
}
|
11515
|
+
var mask = PhoneUtil.mask(this.value);
|
11516
|
+
this.maskPhone$.next(mask);
|
11517
|
+
};
|
11518
|
+
var GIPIInputPhoneComponent_1;
|
11519
|
+
GIPIInputPhoneComponent.ctorParameters = function () { return [
|
11520
|
+
{ type: core.ElementRef },
|
11521
|
+
{ type: core.ChangeDetectorRef }
|
11522
|
+
]; };
|
11523
|
+
__decorate([
|
11524
|
+
core.ViewChild('input', { static: false, read: core.ElementRef }),
|
11525
|
+
__metadata("design:type", core.ElementRef)
|
11526
|
+
], GIPIInputPhoneComponent.prototype, "_elementRef", void 0);
|
11527
|
+
__decorate([
|
11528
|
+
core.Input(),
|
11529
|
+
__metadata("design:type", Object)
|
11530
|
+
], GIPIInputPhoneComponent.prototype, "id", void 0);
|
11531
|
+
__decorate([
|
11532
|
+
core.Input(),
|
11533
|
+
__metadata("design:type", String)
|
11534
|
+
], GIPIInputPhoneComponent.prototype, "name", void 0);
|
11535
|
+
__decorate([
|
11536
|
+
core.Input(),
|
11537
|
+
__metadata("design:type", String)
|
11538
|
+
], GIPIInputPhoneComponent.prototype, "label", void 0);
|
11539
|
+
__decorate([
|
11540
|
+
core.Input(),
|
11541
|
+
__metadata("design:type", String)
|
11542
|
+
], GIPIInputPhoneComponent.prototype, "tooltip", void 0);
|
11543
|
+
__decorate([
|
11544
|
+
core.Input(),
|
11545
|
+
__metadata("design:type", String)
|
11546
|
+
], GIPIInputPhoneComponent.prototype, "placeholder", void 0);
|
11547
|
+
__decorate([
|
11548
|
+
core.Input(),
|
11549
|
+
__metadata("design:type", Boolean)
|
11550
|
+
], GIPIInputPhoneComponent.prototype, "disabled", void 0);
|
11551
|
+
__decorate([
|
11552
|
+
core.Input(),
|
11553
|
+
__metadata("design:type", Boolean)
|
11554
|
+
], GIPIInputPhoneComponent.prototype, "loading", void 0);
|
11555
|
+
__decorate([
|
11556
|
+
core.Input(),
|
11557
|
+
__metadata("design:type", Boolean)
|
11558
|
+
], GIPIInputPhoneComponent.prototype, "required", void 0);
|
11559
|
+
__decorate([
|
11560
|
+
core.Input(),
|
11561
|
+
__metadata("design:type", Boolean)
|
11562
|
+
], GIPIInputPhoneComponent.prototype, "foreign", void 0);
|
11563
|
+
__decorate([
|
11564
|
+
core.Input(),
|
11565
|
+
__metadata("design:type", String)
|
11566
|
+
], GIPIInputPhoneComponent.prototype, "appearance", void 0);
|
11567
|
+
__decorate([
|
11568
|
+
core.Input(),
|
11569
|
+
__metadata("design:type", String),
|
11570
|
+
__metadata("design:paramtypes", [String])
|
11571
|
+
], GIPIInputPhoneComponent.prototype, "value", null);
|
11572
|
+
__decorate([
|
11573
|
+
core.Output(),
|
11574
|
+
__metadata("design:type", core.EventEmitter)
|
11575
|
+
], GIPIInputPhoneComponent.prototype, "focus", void 0);
|
11576
|
+
__decorate([
|
11577
|
+
core.Output(),
|
11578
|
+
__metadata("design:type", core.EventEmitter)
|
11579
|
+
], GIPIInputPhoneComponent.prototype, "blur", void 0);
|
11580
|
+
GIPIInputPhoneComponent = GIPIInputPhoneComponent_1 = __decorate([
|
11581
|
+
core.Component({
|
11582
|
+
selector: 'gipi-input-phone',
|
11583
|
+
template: "<div fxLayout=\"column\">\n <mat-label *ngIf=\"label\">\n {{ label }}\n <span *ngIf=\"required && label\"> * </span>\n <gipi-helpful-tip *ngIf=\"tooltip && label\"\n [tooltip]=\"tooltip\">\n </gipi-helpful-tip>\n </mat-label>\n\n <mat-form-field [appearance]=\"appearance\">\n <input #input\n matInput\n type=\"text\"\n autocomplete=\"off\"\n [attr.id]=\"id\"\n [name]=\"name\"\n [placeholder]=\"placeholder\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [min]=\"0\"\n [max]=\"!foreign ? 12 : 15\"\n [maxlength]=\"!foreign ? 12 : 15\"\n [mask]=\"!foreign ? (maskPhone$ | async) : '0*'\"\n [(ngModel)]=\"value\"\n (focus)=\"onInputEnter(); onFocus($event)\"\n (blur)=\"onInputExit(); onBlur($event)\">\n </mat-form-field>\n</div>",
|
11584
|
+
providers: [
|
11585
|
+
{
|
11586
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
11587
|
+
useExisting: core.forwardRef(function () { return GIPIInputPhoneComponent_1; }),
|
11588
|
+
multi: true
|
11589
|
+
}
|
11590
|
+
],
|
11591
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#d14014!important}"]
|
11592
|
+
}),
|
11593
|
+
__metadata("design:paramtypes", [core.ElementRef,
|
11594
|
+
core.ChangeDetectorRef])
|
11595
|
+
], GIPIInputPhoneComponent);
|
11596
|
+
return GIPIInputPhoneComponent;
|
11597
|
+
}());
|
11598
|
+
|
11599
|
+
var nextUniqueId$9 = 0;
|
11420
11600
|
/** A altura dos itens selecionados em unidades `px`. */
|
11421
11601
|
var OPTION_HEIGHT_PX = 40;
|
11422
11602
|
var GIPIInputSelectEnumComponent = /** @class */ (function () {
|
11423
11603
|
function GIPIInputSelectEnumComponent(elementRef, _changeDetectorRef) {
|
11424
11604
|
this.elementRef = elementRef;
|
11425
11605
|
this._changeDetectorRef = _changeDetectorRef;
|
11426
|
-
this._name = "gipi-input-select-enum-" + nextUniqueId$
|
11606
|
+
this._name = "gipi-input-select-enum-" + nextUniqueId$9++;
|
11427
11607
|
this._enumList = [];
|
11428
11608
|
this._itemSizeScrollViewport = 5;
|
11429
11609
|
this._lastOptionSelected = null;
|
@@ -12445,12 +12625,12 @@
|
|
12445
12625
|
|
12446
12626
|
/** A altura dos itens selecionados em unidades `px`. */
|
12447
12627
|
var OPTION_HEIGHT_PX$1 = 44;
|
12448
|
-
var nextUniqueId$
|
12628
|
+
var nextUniqueId$a = 0;
|
12449
12629
|
var GIPIInputSelectComponent = /** @class */ (function () {
|
12450
12630
|
function GIPIInputSelectComponent(_changeDetectorRef) {
|
12451
12631
|
var _this = this;
|
12452
12632
|
this._changeDetectorRef = _changeDetectorRef;
|
12453
|
-
this._name = "gipi-input-select-" + nextUniqueId$
|
12633
|
+
this._name = "gipi-input-select-" + nextUniqueId$a++;
|
12454
12634
|
this._onDestroy = new rxjs.Subject();
|
12455
12635
|
this._itemSizeScrollViewport = 5;
|
12456
12636
|
this._overlayVisible = false;
|
@@ -13137,14 +13317,14 @@
|
|
13137
13317
|
return GIPIInputSelectComponent;
|
13138
13318
|
}());
|
13139
13319
|
|
13140
|
-
var nextUniqueId$
|
13320
|
+
var nextUniqueId$b = 0;
|
13141
13321
|
var GIPIInputSelectListboxComponent = /** @class */ (function () {
|
13142
13322
|
function GIPIInputSelectListboxComponent(_changeDetectorRef, _elementRef, _renderer) {
|
13143
13323
|
var _this = this;
|
13144
13324
|
this._changeDetectorRef = _changeDetectorRef;
|
13145
13325
|
this._elementRef = _elementRef;
|
13146
13326
|
this._renderer = _renderer;
|
13147
|
-
this._name = "gipi-input-select-listbox-" + nextUniqueId$
|
13327
|
+
this._name = "gipi-input-select-listbox-" + nextUniqueId$b++;
|
13148
13328
|
this._isOverlayChildrenClicked = false;
|
13149
13329
|
this._overlayVisible = false;
|
13150
13330
|
this._selectEntityOpened = false;
|
@@ -13952,12 +14132,12 @@
|
|
13952
14132
|
return GIPIInputSearchComponent;
|
13953
14133
|
}());
|
13954
14134
|
|
13955
|
-
var nextUniqueId$
|
14135
|
+
var nextUniqueId$c = 0;
|
13956
14136
|
var GIPIInputSelectPagedComponent = /** @class */ (function () {
|
13957
14137
|
function GIPIInputSelectPagedComponent(_changeDetectorRef) {
|
13958
14138
|
var _this = this;
|
13959
14139
|
this._changeDetectorRef = _changeDetectorRef;
|
13960
|
-
this._name = "gipi-input-select-paged-" + nextUniqueId$
|
14140
|
+
this._name = "gipi-input-select-paged-" + nextUniqueId$c++;
|
13961
14141
|
this.valueSearchCtrl = new forms.FormControl('');
|
13962
14142
|
this.totalOptions = 0;
|
13963
14143
|
this.subscriptions = [];
|
@@ -14328,12 +14508,12 @@
|
|
14328
14508
|
return GIPIInputSelectPagedComponent;
|
14329
14509
|
}());
|
14330
14510
|
|
14331
|
-
var nextUniqueId$
|
14511
|
+
var nextUniqueId$d = 0;
|
14332
14512
|
var GIPIInputSelectRadioComponent = /** @class */ (function () {
|
14333
14513
|
function GIPIInputSelectRadioComponent(elementRef, _changeDetectorRef) {
|
14334
14514
|
this.elementRef = elementRef;
|
14335
14515
|
this._changeDetectorRef = _changeDetectorRef;
|
14336
|
-
this._name = "gipi-input-select-radio-" + nextUniqueId$
|
14516
|
+
this._name = "gipi-input-select-radio-" + nextUniqueId$d++;
|
14337
14517
|
this._enumList = [];
|
14338
14518
|
this.id = this._name;
|
14339
14519
|
this.name = this._name;
|
@@ -14860,11 +15040,11 @@
|
|
14860
15040
|
return PasswordUtil;
|
14861
15041
|
}());
|
14862
15042
|
|
14863
|
-
var nextUniqueId$
|
15043
|
+
var nextUniqueId$e = 0;
|
14864
15044
|
var GIPIPasswordRequerimentsComponent = /** @class */ (function () {
|
14865
15045
|
function GIPIPasswordRequerimentsComponent(_changeDetectorRef) {
|
14866
15046
|
this._changeDetectorRef = _changeDetectorRef;
|
14867
|
-
this._name = "gipi-password-requeriments-" + nextUniqueId$
|
15047
|
+
this._name = "gipi-password-requeriments-" + nextUniqueId$e++;
|
14868
15048
|
this.id = this._name;
|
14869
15049
|
this.name = this._name;
|
14870
15050
|
this.disabled = false;
|
@@ -15520,11 +15700,11 @@
|
|
15520
15700
|
return GIPIPopoverTarget;
|
15521
15701
|
}());
|
15522
15702
|
|
15523
|
-
var nextUniqueId$
|
15703
|
+
var nextUniqueId$f = 0;
|
15524
15704
|
var GIPIRadioGroupComponent = /** @class */ (function () {
|
15525
15705
|
function GIPIRadioGroupComponent(_changeDetectorRef) {
|
15526
15706
|
this._changeDetectorRef = _changeDetectorRef;
|
15527
|
-
this._name = "gipi-radio-group-" + nextUniqueId$
|
15707
|
+
this._name = "gipi-radio-group-" + nextUniqueId$f++;
|
15528
15708
|
this._enumList = [];
|
15529
15709
|
this.id = this._name;
|
15530
15710
|
this.name = this._name;
|
@@ -15670,7 +15850,7 @@
|
|
15670
15850
|
return GIPIRadioGroupComponent;
|
15671
15851
|
}());
|
15672
15852
|
|
15673
|
-
var nextUniqueId$
|
15853
|
+
var nextUniqueId$g = 0;
|
15674
15854
|
var RangePage = /** @class */ (function () {
|
15675
15855
|
function RangePage(start, end) {
|
15676
15856
|
this.start = start;
|
@@ -15689,7 +15869,7 @@
|
|
15689
15869
|
function GIPIRangePageComponent(elementRef, _changeDetectorRef) {
|
15690
15870
|
this.elementRef = elementRef;
|
15691
15871
|
this._changeDetectorRef = _changeDetectorRef;
|
15692
|
-
this._name = "gipi-range-page-" + nextUniqueId$
|
15872
|
+
this._name = "gipi-range-page-" + nextUniqueId$g++;
|
15693
15873
|
this._startPage = 1;
|
15694
15874
|
this._endPage = 1;
|
15695
15875
|
this.id = this._name;
|
@@ -15945,12 +16125,12 @@
|
|
15945
16125
|
return GIPIRangePageComponent;
|
15946
16126
|
}());
|
15947
16127
|
|
15948
|
-
var nextUniqueId$
|
16128
|
+
var nextUniqueId$h = 0;
|
15949
16129
|
var GIPIRangeSliderComponent = /** @class */ (function () {
|
15950
16130
|
function GIPIRangeSliderComponent(elementRef, _changeDetectorRef) {
|
15951
16131
|
this.elementRef = elementRef;
|
15952
16132
|
this._changeDetectorRef = _changeDetectorRef;
|
15953
|
-
this._name = "gipi-range-slider-" + nextUniqueId$
|
16133
|
+
this._name = "gipi-range-slider-" + nextUniqueId$h++;
|
15954
16134
|
this.id = this._name;
|
15955
16135
|
this.name = this._name;
|
15956
16136
|
this.label = '';
|
@@ -17206,11 +17386,11 @@
|
|
17206
17386
|
return GIPISidenavComponent;
|
17207
17387
|
}());
|
17208
17388
|
|
17209
|
-
var nextUniqueId$
|
17389
|
+
var nextUniqueId$i = 0;
|
17210
17390
|
var GIPISlideToggleComponent = /** @class */ (function () {
|
17211
17391
|
function GIPISlideToggleComponent(_changeDetectorRef) {
|
17212
17392
|
this._changeDetectorRef = _changeDetectorRef;
|
17213
|
-
this._name = "gipi-slide-toggle-" + nextUniqueId$
|
17393
|
+
this._name = "gipi-slide-toggle-" + nextUniqueId$i++;
|
17214
17394
|
this._slideToggleValue = false;
|
17215
17395
|
this.id = this._name;
|
17216
17396
|
this.name = this._name;
|
@@ -17328,11 +17508,11 @@
|
|
17328
17508
|
return GIPISlideToggleComponent;
|
17329
17509
|
}());
|
17330
17510
|
|
17331
|
-
var nextUniqueId$
|
17511
|
+
var nextUniqueId$j = 0;
|
17332
17512
|
var GIPISplitButtonComponent = /** @class */ (function () {
|
17333
17513
|
function GIPISplitButtonComponent(elementRef) {
|
17334
17514
|
this.elementRef = elementRef;
|
17335
|
-
this._uniqueId = nextUniqueId$
|
17515
|
+
this._uniqueId = nextUniqueId$j++;
|
17336
17516
|
this._name = "gipi-split-button-" + this._uniqueId;
|
17337
17517
|
this.idBtnDefault = "gipi-split-button-default-" + this._uniqueId;
|
17338
17518
|
this.idBtnMenu = "gipi-split-button-menu-" + this._uniqueId;
|
@@ -17375,7 +17555,7 @@
|
|
17375
17555
|
return attributes.some(function (attribute) { return _this.getHostElement().hasAttribute(attribute); });
|
17376
17556
|
};
|
17377
17557
|
GIPISplitButtonComponent.prototype.btnIdAndName = function () {
|
17378
|
-
var uniqueId = nextUniqueId$
|
17558
|
+
var uniqueId = nextUniqueId$j++;
|
17379
17559
|
return {
|
17380
17560
|
btnDefault: "gipi-split-button-default-" + uniqueId,
|
17381
17561
|
btnMenu: "gipi-split-button-menu-" + uniqueId,
|
@@ -18324,10 +18504,10 @@
|
|
18324
18504
|
return TabModel;
|
18325
18505
|
}());
|
18326
18506
|
|
18327
|
-
var nextUniqueId$
|
18507
|
+
var nextUniqueId$k = 0;
|
18328
18508
|
var GIPITabComponent = /** @class */ (function () {
|
18329
18509
|
function GIPITabComponent() {
|
18330
|
-
this._name = "gipi-tab-" + nextUniqueId$
|
18510
|
+
this._name = "gipi-tab-" + nextUniqueId$k++;
|
18331
18511
|
this.id = this._name;
|
18332
18512
|
this.name = this._name;
|
18333
18513
|
this.active = false;
|
@@ -18400,12 +18580,12 @@
|
|
18400
18580
|
return GIPITabComponent;
|
18401
18581
|
}());
|
18402
18582
|
|
18403
|
-
var nextUniqueId$
|
18583
|
+
var nextUniqueId$l = 0;
|
18404
18584
|
var GIPITabGroupComponent = /** @class */ (function () {
|
18405
18585
|
function GIPITabGroupComponent(elementRef, _componentFactoryResolver) {
|
18406
18586
|
this.elementRef = elementRef;
|
18407
18587
|
this._componentFactoryResolver = _componentFactoryResolver;
|
18408
|
-
this._name = "gipi-tab-" + nextUniqueId$
|
18588
|
+
this._name = "gipi-tab-" + nextUniqueId$l++;
|
18409
18589
|
this.id = this._name;
|
18410
18590
|
this.name = this._name;
|
18411
18591
|
this.dynamicTabs = [];
|
@@ -18539,12 +18719,12 @@
|
|
18539
18719
|
return GIPITabGroupComponent;
|
18540
18720
|
}());
|
18541
18721
|
|
18542
|
-
var nextUniqueId$
|
18722
|
+
var nextUniqueId$m = 0;
|
18543
18723
|
var GIPITextareaComponent = /** @class */ (function () {
|
18544
18724
|
function GIPITextareaComponent(elementRef, _changeDetectorRef) {
|
18545
18725
|
this.elementRef = elementRef;
|
18546
18726
|
this._changeDetectorRef = _changeDetectorRef;
|
18547
|
-
this._name = "gipi-textarea-" + nextUniqueId$
|
18727
|
+
this._name = "gipi-textarea-" + nextUniqueId$m++;
|
18548
18728
|
this.id = this._name;
|
18549
18729
|
this.name = this._name;
|
18550
18730
|
this.label = '';
|
@@ -22998,7 +23178,7 @@
|
|
22998
23178
|
* Use of this source code is governed by an MIT-style license that can be
|
22999
23179
|
* found in the LICENSE file at https://angular.io/license
|
23000
23180
|
*/
|
23001
|
-
var nextUniqueId$
|
23181
|
+
var nextUniqueId$n = 0;
|
23002
23182
|
var MatDateRangeInput = /** @class */ (function () {
|
23003
23183
|
function MatDateRangeInput(_changeDetectorRef, _elementRef, control, _dateAdapter, _formField) {
|
23004
23184
|
this._changeDetectorRef = _changeDetectorRef;
|
@@ -23006,7 +23186,7 @@
|
|
23006
23186
|
this._dateAdapter = _dateAdapter;
|
23007
23187
|
this._formField = _formField;
|
23008
23188
|
/** Unique ID for the input. */
|
23009
|
-
this.id = "mat-date-range-input-" + nextUniqueId$
|
23189
|
+
this.id = "mat-date-range-input-" + nextUniqueId$n++;
|
23010
23190
|
/** Whether the control is focused. */
|
23011
23191
|
this.focused = false;
|
23012
23192
|
/** Name of the form control. */
|
@@ -24581,12 +24761,12 @@
|
|
24581
24761
|
}());
|
24582
24762
|
|
24583
24763
|
var moment$3 = moment_;
|
24584
|
-
var nextUniqueId$
|
24764
|
+
var nextUniqueId$p = 0;
|
24585
24765
|
var DatepickerComponent = /** @class */ (function () {
|
24586
24766
|
function DatepickerComponent(elementRef, _changeDetectorRef) {
|
24587
24767
|
this.elementRef = elementRef;
|
24588
24768
|
this._changeDetectorRef = _changeDetectorRef;
|
24589
|
-
this._name = "gipi-date-range-" + nextUniqueId$
|
24769
|
+
this._name = "gipi-date-range-" + nextUniqueId$p++;
|
24590
24770
|
this.id = this._name + "-date";
|
24591
24771
|
this.name = this._name + "-date";
|
24592
24772
|
this.label = '';
|
@@ -24689,7 +24869,7 @@
|
|
24689
24869
|
DatepickerComponent.prototype.ngOnInit = function () { };
|
24690
24870
|
DatepickerComponent.prototype.ngOnDestroy = function () { };
|
24691
24871
|
DatepickerComponent.prototype.writeValue = function (value) {
|
24692
|
-
this.
|
24872
|
+
this.value = value;
|
24693
24873
|
this._changeDetectorRef.detectChanges();
|
24694
24874
|
};
|
24695
24875
|
DatepickerComponent.prototype.registerOnChange = function (fn) {
|
@@ -25187,7 +25367,7 @@
|
|
25187
25367
|
};
|
25188
25368
|
return MonthPickerModel;
|
25189
25369
|
}());
|
25190
|
-
var nextUniqueId$
|
25370
|
+
var nextUniqueId$q = 0;
|
25191
25371
|
var MonthYearPickerComponent = /** @class */ (function () {
|
25192
25372
|
function MonthYearPickerComponent(elementRef, _changeDetectorRef, _overlay, _ngZone, _viewContainerRef, scrollStrategy, _dir, _document) {
|
25193
25373
|
this.elementRef = elementRef;
|
@@ -25197,7 +25377,7 @@
|
|
25197
25377
|
this._viewContainerRef = _viewContainerRef;
|
25198
25378
|
this._dir = _dir;
|
25199
25379
|
this._document = _document;
|
25200
|
-
this._name = "gipi-date-range-" + nextUniqueId$
|
25380
|
+
this._name = "gipi-date-range-" + nextUniqueId$q++;
|
25201
25381
|
this._focusedElementBeforeOpen = null;
|
25202
25382
|
this._backdropHarnessClass = this._name + "-backdrop";
|
25203
25383
|
this._stateChanges = new rxjs.Subject();
|
@@ -25689,6 +25869,7 @@
|
|
25689
25869
|
GIPITextareaComponent,
|
25690
25870
|
GIPISplitButtonComponent,
|
25691
25871
|
GIPISkeletonComponent,
|
25872
|
+
GIPIInputPhoneComponent,
|
25692
25873
|
// Tabs
|
25693
25874
|
GIPITabGroupComponent,
|
25694
25875
|
GIPITabComponent,
|
@@ -29251,6 +29432,7 @@
|
|
29251
29432
|
exports.GIPIInputCheckboxComponent = GIPIInputCheckboxComponent;
|
29252
29433
|
exports.GIPIInputCurrencyComponent = GIPIInputCurrencyComponent;
|
29253
29434
|
exports.GIPIInputMonthPickerComponent = GIPIInputMonthPickerComponent;
|
29435
|
+
exports.GIPIInputPhoneComponent = GIPIInputPhoneComponent;
|
29254
29436
|
exports.GIPIInputSearchComponent = GIPIInputSearchComponent;
|
29255
29437
|
exports.GIPIInputSelectComponent = GIPIInputSelectComponent;
|
29256
29438
|
exports.GIPIInputSelectEnumComponent = GIPIInputSelectEnumComponent;
|