iptdevs-design-system 2.2.34 → 2.2.37

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.
@@ -1,11 +1,11 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { EventEmitter, Component, Input, Output, Injectable, NgModule } from '@angular/core';
3
+ import * as i3 from 'ng2-currency-mask';
4
+ import { CurrencyMaskModule } from 'ng2-currency-mask';
3
5
  import * as i1 from '@angular/common';
4
6
  import { CommonModule, CurrencyPipe, TitleCasePipe } from '@angular/common';
5
7
  import * as i1$1 from '@angular/forms';
6
8
  import { Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
7
- import * as i3 from 'ng2-currency-mask';
8
- import { CurrencyMaskModule } from 'ng2-currency-mask';
9
9
  import Swal from 'sweetalert2';
10
10
  import * as i1$2 from '@angular/common/http';
11
11
  import { HttpHeaders } from '@angular/common/http';
@@ -202,7 +202,7 @@ class DatalistComponent {
202
202
  }
203
203
  DatalistComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: DatalistComponent, deps: [{ token: i1$1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
204
204
  DatalistComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.3", type: DatalistComponent, selector: "ipt-datalist", inputs: { datalistId: "datalistId", datalistData: "datalistData", placeHolder: "placeHolder", validateText: "validateText", initalData: "initalData" }, outputs: { isChanged: "isChanged" }, ngImport: i0, template: `
205
- <div class="input-container">
205
+ <div class="input-container" [formGroup]="formControl">
206
206
  <label [ngClass]="labelClass">{{ placeHolder }}</label>
207
207
  <input
208
208
  type="text"
@@ -210,6 +210,7 @@ DatalistComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
210
210
  (click)="click($event)"
211
211
  [attr.list]="datalistId"
212
212
  (change)="optionChanged($event)"
213
+ formControlName="dataListControl"
213
214
  />
214
215
 
215
216
  <datalist id="{{ datalistId }}">
@@ -218,11 +219,11 @@ DatalistComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
218
219
  </option>
219
220
  </datalist>
220
221
  </div>
221
- `, isInline: true, styles: ["*{font-family:Poppins,sans-serif}.input-container{position:relative;margin-top:30px}.input{box-shadow:#64646f33 0 7px 29px;border-radius:10px;border:none;outline:none;display:block;transition:.2s;font-weight:300;margin:10px 10px -30px;width:-webkit-fill-available;width:-moz-available;height:28px;padding-left:10px;background-color:#fff}.input:hover{box-shadow:#00000029 0 3px 6px,#0000003b 0 3px 6px}.input:focus{box-shadow:#00000029 0 3px 6px,#0000003b 0 3px 6px;transition:0s;border:1.5px solid #1c77f7}.label{color:#999;font-size:15px;font-weight:400;position:absolute;pointer-events:none;left:20px;top:7px;transition:.2s ease all;-moz-transition:.2s ease all;-webkit-transition:.2s ease all}.labelUp{color:#1c77f7;font-size:15px;font-weight:400;position:absolute;pointer-events:none;left:20px;top:-20px;transition:.2s ease all;-moz-transition:.2s ease all;-webkit-transition:.2s ease all}\n"], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i1$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }] });
222
+ `, isInline: true, styles: ["*{font-family:Poppins,sans-serif}.input-container{position:relative;margin-top:30px}.input{box-shadow:#64646f33 0 7px 29px;border-radius:10px;border:none;outline:none;display:block;transition:.2s;font-weight:300;margin:10px 10px -30px;width:-webkit-fill-available;width:-moz-available;height:28px;padding-left:10px;background-color:#fff}.input:hover{box-shadow:#00000029 0 3px 6px,#0000003b 0 3px 6px}.input:focus{box-shadow:#00000029 0 3px 6px,#0000003b 0 3px 6px;transition:0s;border:1.5px solid #1c77f7}.label{color:#999;font-size:15px;font-weight:400;position:absolute;pointer-events:none;left:20px;top:7px;transition:.2s ease all;-moz-transition:.2s ease all;-webkit-transition:.2s ease all}.labelUp{color:#1c77f7;font-size:15px;font-weight:400;position:absolute;pointer-events:none;left:20px;top:-20px;transition:.2s ease all;-moz-transition:.2s ease all;-webkit-transition:.2s ease all}\n"], directives: [{ type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i1$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }] });
222
223
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: DatalistComponent, decorators: [{
223
224
  type: Component,
224
225
  args: [{ selector: 'ipt-datalist', template: `
225
- <div class="input-container">
226
+ <div class="input-container" [formGroup]="formControl">
226
227
  <label [ngClass]="labelClass">{{ placeHolder }}</label>
227
228
  <input
228
229
  type="text"
@@ -230,6 +231,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImpor
230
231
  (click)="click($event)"
231
232
  [attr.list]="datalistId"
232
233
  (change)="optionChanged($event)"
234
+ formControlName="dataListControl"
233
235
  />
234
236
 
235
237
  <datalist id="{{ datalistId }}">
@@ -1676,23 +1678,29 @@ class DesignSystemModule {
1676
1678
  }
1677
1679
  DesignSystemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: DesignSystemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1678
1680
  DesignSystemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: DesignSystemModule, imports: [ComponentsModule,
1679
- CoreModule], exports: [ComponentsModule,
1680
- CoreModule] });
1681
+ CoreModule,
1682
+ CurrencyMaskModule], exports: [ComponentsModule,
1683
+ CoreModule,
1684
+ CurrencyMaskModule] });
1681
1685
  DesignSystemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: DesignSystemModule, imports: [[
1682
1686
  ComponentsModule,
1683
1687
  CoreModule,
1688
+ CurrencyMaskModule
1684
1689
  ], ComponentsModule,
1685
- CoreModule] });
1690
+ CoreModule,
1691
+ CurrencyMaskModule] });
1686
1692
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: DesignSystemModule, decorators: [{
1687
1693
  type: NgModule,
1688
1694
  args: [{
1689
1695
  imports: [
1690
1696
  ComponentsModule,
1691
1697
  CoreModule,
1698
+ CurrencyMaskModule
1692
1699
  ],
1693
1700
  exports: [
1694
1701
  ComponentsModule,
1695
- CoreModule
1702
+ CoreModule,
1703
+ CurrencyMaskModule
1696
1704
  ]
1697
1705
  }]
1698
1706
  }] });