myrta-ui 17.0.93 → 17.0.96

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.
Files changed (22) hide show
  1. package/esm2022/lib/components/form/input-datepicker/input-datepicker.component.mjs +3 -3
  2. package/esm2022/lib/components/form/input-datepicker/input-datepicker.enum.mjs +7 -7
  3. package/esm2022/lib/components/form/input-tel/data/all-countries.mjs +1151 -520
  4. package/esm2022/lib/components/form/input-tel/data/countries-rus-label.enum.mjs +247 -0
  5. package/esm2022/lib/components/form/input-tel/data/country-iso.enum.mjs +247 -0
  6. package/esm2022/lib/components/form/input-tel/enums/input-tel.enum.mjs +7 -0
  7. package/esm2022/lib/components/form/input-tel/input-tel.component.mjs +95 -73
  8. package/esm2022/lib/components/form/input-tel/input-tel.module.mjs +19 -4
  9. package/esm2022/lib/components/form/radio-group/radio-group.component.mjs +2 -2
  10. package/esm2022/public-api.mjs +7 -1
  11. package/fesm2022/myrta-ui.mjs +1787 -628
  12. package/fesm2022/myrta-ui.mjs.map +1 -1
  13. package/lib/components/form/input-datepicker/input-datepicker.component.d.ts +6 -6
  14. package/lib/components/form/input-datepicker/input-datepicker.enum.d.ts +6 -6
  15. package/lib/components/form/input-tel/data/countries-rus-label.enum.d.ts +2 -0
  16. package/lib/components/form/input-tel/data/country-iso.enum.d.ts +245 -0
  17. package/lib/components/form/input-tel/enums/{input-phone.enum.d.ts → input-tel.enum.d.ts} +3 -2
  18. package/lib/components/form/input-tel/input-tel.component.d.ts +20 -18
  19. package/lib/components/form/input-tel/input-tel.module.d.ts +3 -2
  20. package/package.json +1 -1
  21. package/public-api.d.ts +6 -0
  22. package/esm2022/lib/components/form/input-tel/enums/input-phone.enum.mjs +0 -7
@@ -1,6 +1,6 @@
1
1
  import { AfterViewInit, ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
- import { InputDateSizesTypes, InputDateTimeValidation, InputDateTimeValueTypes, InputDateTimeValueWithId } from './input-datepicker.enum';
3
+ import { InputDatepickerSizesTypes, InputDatepickerValidation, InputDatepickerValueTypes, InputDatepickerValueWithId } from './input-datepicker.enum';
4
4
  import { DateModel, TimeModel } from './helpers/validate-value-models';
5
5
  import { Field } from '../../../services';
6
6
  import * as i0 from "@angular/core";
@@ -13,7 +13,7 @@ export declare class InputDatepickerComponent implements ControlValueAccessor, O
13
13
  innerInvalidMessage: string;
14
14
  uuid: string;
15
15
  fields: Field[];
16
- size: InputDateSizesTypes;
16
+ size: InputDatepickerSizesTypes;
17
17
  format: string;
18
18
  locale: 'ru' | 'en';
19
19
  customClasses: string;
@@ -32,14 +32,14 @@ export declare class InputDatepickerComponent implements ControlValueAccessor, O
32
32
  leadZeroDateTime: boolean;
33
33
  mask: string;
34
34
  container: string;
35
- validationType: InputDateTimeValidation;
35
+ validationType: InputDatepickerValidation;
36
36
  invalid: boolean;
37
37
  invalidMessage: string | string[];
38
38
  checkInvalid: true | false | null;
39
39
  isShowMessages: boolean;
40
40
  dateInput: ElementRef;
41
41
  changed: EventEmitter<string>;
42
- modelChange: EventEmitter<InputDateTimeValueWithId>;
42
+ modelChange: EventEmitter<InputDatepickerValueWithId>;
43
43
  constructor();
44
44
  ngAfterViewInit(): void;
45
45
  ngOnChanges(changes: SimpleChanges): void;
@@ -57,13 +57,13 @@ export declare class InputDatepickerComponent implements ControlValueAccessor, O
57
57
  updateDateValue(dateInput: HTMLInputElement): void;
58
58
  clickToInput(input: HTMLInputElement): void;
59
59
  private checkingInvalid;
60
- writeValue(outsideValue: InputDateTimeValueTypes): void;
60
+ writeValue(outsideValue: InputDatepickerValueTypes): void;
61
61
  private onChange;
62
62
  private onTouched;
63
63
  registerOnChange(fn: any): void;
64
64
  registerOnTouched(fn: () => {}): void;
65
65
  setDisabledState(isDisabled: boolean): void;
66
- updateValue(insideValue: InputDateTimeValueTypes): void;
66
+ updateValue(insideValue: InputDatepickerValueTypes): void;
67
67
  static ɵfac: i0.ɵɵFactoryDeclaration<InputDatepickerComponent, never>;
68
68
  static ɵcmp: i0.ɵɵComponentDeclaration<InputDatepickerComponent, "mrx-input-datepicker", never, { "fields": { "alias": "fields"; "required": false; }; "size": { "alias": "size"; "required": false; }; "format": { "alias": "format"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "customClasses": { "alias": "customClasses"; "required": false; }; "dateLabel": { "alias": "dateLabel"; "required": false; }; "timeLabel": { "alias": "timeLabel"; "required": false; }; "datePlaceholder": { "alias": "datePlaceholder"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "timepicker": { "alias": "timepicker"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "leadZeroDateTime": { "alias": "leadZeroDateTime"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "container": { "alias": "container"; "required": false; }; "validationType": { "alias": "validationType"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "invalidMessage": { "alias": "invalidMessage"; "required": false; }; "checkInvalid": { "alias": "checkInvalid"; "required": false; }; "isShowMessages": { "alias": "isShowMessages"; "required": false; }; }, { "changed": "changed"; "modelChange": "modelChange"; }, never, never, false, never>;
69
69
  }
@@ -1,12 +1,12 @@
1
- export declare enum InputDateSizesEnum {
1
+ export declare enum InputDatepickerSizesEnum {
2
2
  'small' = "mrx-input-date-sm",
3
3
  'medium' = "mrx-input-date-md",
4
4
  'large' = "mrx-input-date-lg"
5
5
  }
6
- export type InputDateSizesTypes = 'small' | 'medium' | 'large';
7
- export type InputDateTimeValueTypes = string;
8
- export interface InputDateTimeValueWithId {
9
- value: InputDateTimeValueTypes;
6
+ export type InputDatepickerSizesTypes = 'small' | 'medium' | 'large';
7
+ export type InputDatepickerValueTypes = string;
8
+ export interface InputDatepickerValueWithId {
9
+ value: InputDatepickerValueTypes;
10
10
  id: string;
11
11
  }
12
- export type InputDateTimeValidation = 'default' | 'double';
12
+ export type InputDatepickerValidation = 'default' | 'double';
@@ -0,0 +1,2 @@
1
+ import { CountriesISO } from './country-iso.enum';
2
+ export declare const CountriesRusLabel: Record<CountriesISO, string>;
@@ -0,0 +1,245 @@
1
+ export declare enum CountriesISO {
2
+ Afghanistan = "af",
3
+ Albania = "al",
4
+ Algeria = "dz",
5
+ AmericanSamoa = "as",
6
+ Andorra = "ad",
7
+ Angola = "ao",
8
+ Anguilla = "ai",
9
+ AntiguaAndBarbuda = "ag",
10
+ Argentina = "ar",
11
+ Armenia = "am",
12
+ Aruba = "aw",
13
+ Australia = "au",
14
+ Austria = "at",
15
+ Azerbaijan = "az",
16
+ Bahamas = "bs",
17
+ Bahrain = "bh",
18
+ Bangladesh = "bd",
19
+ Barbados = "bb",
20
+ Belarus = "by",
21
+ Belgium = "be",
22
+ Belize = "bz",
23
+ Benin = "bj",
24
+ Bermuda = "bm",
25
+ Bhutan = "bt",
26
+ Bolivia = "bo",
27
+ BosniaAndHerzegovina = "ba",
28
+ Botswana = "bw",
29
+ Brazil = "br",
30
+ BritishIndianOceanTerritory = "io",
31
+ BritishVirginIslands = "vg",
32
+ Brunei = "bn",
33
+ Bulgaria = "bg",
34
+ BurkinaFaso = "bf",
35
+ Burundi = "bi",
36
+ Cambodia = "kh",
37
+ Cameroon = "cm",
38
+ Canada = "ca",
39
+ CapeVerde = "cv",
40
+ CaribbeanNetherlands = "bq",
41
+ CaymanIslands = "ky",
42
+ CentralAfricanRepublic = "cf",
43
+ Chad = "td",
44
+ Chile = "cl",
45
+ China = "cn",
46
+ ChristmasIsland = "cx",
47
+ Cocos = "cc",
48
+ Colombia = "co",
49
+ Comoros = "km",
50
+ CongoDRCJamhuriYaKidemokrasiaYaKongo = "cd",
51
+ CongoRepublicCongoBrazzaville = "cg",
52
+ CookIslands = "ck",
53
+ CostaRica = "cr",
54
+ Croatia = "hr",
55
+ Cuba = "cu",
56
+ Curaçao = "cw",
57
+ Cyprus = "cy",
58
+ CzechRepublic = "cz",
59
+ CôteDIvoire = "ci",
60
+ Denmark = "dk",
61
+ Djibouti = "dj",
62
+ Dominica = "dm",
63
+ DominicanRepublic = "do",
64
+ Ecuador = "ec",
65
+ Egypt = "eg",
66
+ ElSalvador = "sv",
67
+ EquatorialGuinea = "gq",
68
+ Eritrea = "er",
69
+ Estonia = "ee",
70
+ Ethiopia = "et",
71
+ FalklandIslands = "fk",
72
+ FaroeIslands = "fo",
73
+ Fiji = "fj",
74
+ Finland = "fi",
75
+ France = "fr",
76
+ FrenchGuiana = "gf",
77
+ FrenchPolynesia = "pf",
78
+ Gabon = "ga",
79
+ Gambia = "gm",
80
+ Georgia = "ge",
81
+ Germany = "de",
82
+ Ghana = "gh",
83
+ Gibraltar = "gi",
84
+ Greece = "gr",
85
+ Greenland = "gl",
86
+ Grenada = "gd",
87
+ Guadeloupe = "gp",
88
+ Guam = "gu",
89
+ Guatemala = "gt",
90
+ Guernsey = "gg",
91
+ Guinea = "gn",
92
+ GuineaBissau = "gw",
93
+ Guyana = "gy",
94
+ Haiti = "ht",
95
+ Honduras = "hn",
96
+ HongKong = "hk",
97
+ Hungary = "hu",
98
+ Iceland = "is",
99
+ India = "in",
100
+ Indonesia = "id",
101
+ Iran = "ir",
102
+ Iraq = "iq",
103
+ Ireland = "ie",
104
+ IsleOfMan = "im",
105
+ Israel = "il",
106
+ Italy = "it",
107
+ Jamaica = "jm",
108
+ Japan = "jp",
109
+ Jersey = "je",
110
+ Jordan = "jo",
111
+ Kazakhstan = "kz",
112
+ Kenya = "ke",
113
+ Kiribati = "ki",
114
+ Kosovo = "xk",
115
+ Kuwait = "kw",
116
+ Kyrgyzstan = "kg",
117
+ Laos = "la",
118
+ Latvia = "lv",
119
+ Lebanon = "lb",
120
+ Lesotho = "ls",
121
+ Liberia = "lr",
122
+ Libya = "ly",
123
+ Liechtenstein = "li",
124
+ Lithuania = "lt",
125
+ Luxembourg = "lu",
126
+ Macau = "mo",
127
+ Macedonia = "mk",
128
+ Madagascar = "mg",
129
+ Malawi = "mw",
130
+ Malaysia = "my",
131
+ Maldives = "mv",
132
+ Mali = "ml",
133
+ Malta = "mt",
134
+ MarshallIslands = "mh",
135
+ Martinique = "mq",
136
+ Mauritania = "mr",
137
+ Mauritius = "mu",
138
+ Mayotte = "yt",
139
+ Mexico = "mx",
140
+ Micronesia = "fm",
141
+ Moldova = "md",
142
+ Monaco = "mc",
143
+ Mongolia = "mn",
144
+ Montenegro = "me",
145
+ Montserrat = "ms",
146
+ Morocco = "ma",
147
+ Mozambique = "mz",
148
+ Myanmar = "mm",
149
+ Namibia = "na",
150
+ Nauru = "nr",
151
+ Nepal = "np",
152
+ Netherlands = "nl",
153
+ NewCaledonia = "nc",
154
+ NewZealand = "nz",
155
+ Nicaragua = "ni",
156
+ Niger = "ne",
157
+ Nigeria = "ng",
158
+ Niue = "nu",
159
+ NorfolkIsland = "nf",
160
+ NorthKorea = "kp",
161
+ NorthernMarianaIslands = "mp",
162
+ Norway = "no",
163
+ Oman = "om",
164
+ Pakistan = "pk",
165
+ Palau = "pw",
166
+ Palestine = "ps",
167
+ Panama = "pa",
168
+ PapuaNewGuinea = "pg",
169
+ Paraguay = "py",
170
+ Peru = "pe",
171
+ Philippines = "ph",
172
+ Poland = "pl",
173
+ Portugal = "pt",
174
+ PuertoRico = "pr",
175
+ Qatar = "qa",
176
+ Romania = "ro",
177
+ Russia = "ru",
178
+ Rwanda = "rw",
179
+ Réunion = "re",
180
+ SaintBarthélemy = "bl",
181
+ SaintHelena = "sh",
182
+ SaintKittsAndNevis = "kn",
183
+ SaintLucia = "lc",
184
+ SaintMartin = "mf",
185
+ SaintPierreAndMiquelon = "pm",
186
+ SaintVincentAndTheGrenadines = "vc",
187
+ Samoa = "ws",
188
+ SanMarino = "sm",
189
+ SaudiArabia = "sa",
190
+ Senegal = "sn",
191
+ Serbia = "rs",
192
+ Seychelles = "sc",
193
+ SierraLeone = "sl",
194
+ Singapore = "sg",
195
+ SintMaarten = "sx",
196
+ Slovakia = "sk",
197
+ Slovenia = "si",
198
+ SolomonIslands = "sb",
199
+ Somalia = "so",
200
+ SouthAfrica = "za",
201
+ SouthKorea = "kr",
202
+ SouthSudan = "ss",
203
+ Spain = "es",
204
+ SriLanka = "lk",
205
+ Sudan = "sd",
206
+ Suriname = "sr",
207
+ SvalbardAndJanMayen = "sj",
208
+ Swaziland = "sz",
209
+ Sweden = "se",
210
+ Switzerland = "ch",
211
+ Syria = "sy",
212
+ SãoToméAndPríncipe = "st",
213
+ Taiwan = "tw",
214
+ Tajikistan = "tj",
215
+ Tanzania = "tz",
216
+ Thailand = "th",
217
+ TimorLeste = "tl",
218
+ Togo = "tg",
219
+ Tokelau = "tk",
220
+ Tonga = "to",
221
+ TrinidadAndTobago = "tt",
222
+ Tunisia = "tn",
223
+ Turkey = "tr",
224
+ Turkmenistan = "tm",
225
+ TurksAndCaicosIslands = "tc",
226
+ Tuvalu = "tv",
227
+ USVirginIslands = "vi",
228
+ Uganda = "ug",
229
+ Ukraine = "ua",
230
+ UnitedArabEmirates = "ae",
231
+ UnitedKingdom = "gb",
232
+ UnitedStates = "us",
233
+ Uruguay = "uy",
234
+ Uzbekistan = "uz",
235
+ Vanuatu = "vu",
236
+ VaticanCity = "va",
237
+ Venezuela = "ve",
238
+ Vietnam = "vn",
239
+ WallisAndFutuna = "wf",
240
+ WesternSahara = "eh",
241
+ Yemen = "ye",
242
+ Zambia = "zm",
243
+ Zimbabwe = "zw",
244
+ ÅlandIslands = "ax"
245
+ }
@@ -1,11 +1,12 @@
1
+ import { InputValue } from '../models/country.model';
1
2
  export declare enum InputTelSizesEnum {
2
3
  'small' = "mrx-input-tel-sm",
3
4
  'medium' = "mrx-input-tel-md",
4
5
  'large' = "mrx-input-tel-lg"
5
6
  }
6
7
  export type InputTelSizesTypes = 'small' | 'medium' | 'large';
7
- export type InputTelValueTypes = string | undefined;
8
+ export type InputTelValueTypes = InputValue | null | undefined;
8
9
  export interface InputTelValueWithId {
9
- value: any;
10
+ value: InputTelValueTypes;
10
11
  id: string;
11
12
  }
@@ -1,21 +1,27 @@
1
- import { OnInit, EventEmitter } from '@angular/core';
1
+ import { OnInit, EventEmitter, ChangeDetectorRef } from '@angular/core';
2
2
  import { ParsedPhoneNumber } from 'awesome-phonenumber';
3
+ import { CountriesISO } from './data/country-iso.enum';
3
4
  import { SearchCountryField } from './data/search-country-field.enum';
4
5
  import { PhoneNumberFormatType } from './data/phone-number-format.enum';
5
6
  import { Country, InputValue } from './models/country.model';
6
7
  import { ControlValueAccessor } from '@angular/forms';
7
8
  import { Field } from '../../../services';
8
- import { InputTelSizesTypes } from './enums/input-phone.enum';
9
- import { InputPhoneValueWithId } from '../input-phone/enums/input-phone.enum';
9
+ import { InputTelSizesTypes, InputTelValueWithId } from './enums/input-tel.enum';
10
10
  import { DropdownComponent } from '../../dropdown/dropdown.component';
11
- import { CountryISO } from '../../../enums';
12
11
  import * as i0 from "@angular/core";
13
12
  export declare class InputTelComponent implements ControlValueAccessor, OnInit {
13
+ private _detector;
14
+ private _locale;
14
15
  uuid: string;
15
16
  fields: Field[];
17
+ disabled: boolean;
18
+ readonly: boolean;
19
+ maxLength: number | null;
20
+ customClasses: string;
21
+ size: InputTelSizesTypes;
16
22
  cssClass: string;
17
- preferredCountries: (CountryISO)[];
18
- onlyCountries: (CountryISO)[];
23
+ preferredCountries: (CountriesISO)[];
24
+ onlyCountries: (CountriesISO)[];
19
25
  enableAutoCountrySelect: boolean;
20
26
  enablePlaceholder: boolean;
21
27
  customPlaceholder: string | null;
@@ -23,15 +29,11 @@ export declare class InputTelComponent implements ControlValueAccessor, OnInit {
23
29
  searchCountryFlag: boolean;
24
30
  searchCountryField: SearchCountryField;
25
31
  searchCountryPlaceholder: string;
26
- maxLength: number | null;
27
32
  selectFirstCountry: boolean;
28
33
  phoneValidation: boolean;
29
34
  inputId: string;
30
- selectedCountryISO: CountryISO | null;
35
+ selectedCountryISO: CountriesISO | null;
31
36
  separateDialCode: boolean;
32
- customClasses: string;
33
- disabled: boolean;
34
- size: InputTelSizesTypes;
35
37
  autoDealCode: boolean;
36
38
  autoCloseDropdown: boolean;
37
39
  invalid: boolean;
@@ -40,11 +42,9 @@ export declare class InputTelComponent implements ControlValueAccessor, OnInit {
40
42
  checkInvalid: true | false | null;
41
43
  dropdownComponent: DropdownComponent;
42
44
  changed: EventEmitter<InputValue>;
43
- modelChange: EventEmitter<InputPhoneValueWithId>;
45
+ modelChange: EventEmitter<InputTelValueWithId>;
44
46
  allCountries: (Country)[];
45
47
  selectedCountry: Country;
46
- countriesToShow: (Country)[];
47
- preferredCountriesList: (Country)[];
48
48
  searchFilter: string;
49
49
  scrollTimeout: any;
50
50
  phoneNumber: any;
@@ -54,18 +54,22 @@ export declare class InputTelComponent implements ControlValueAccessor, OnInit {
54
54
  parsedPhoneNumber?: ParsedPhoneNumber;
55
55
  innerInvalid: boolean;
56
56
  innerInvalidMessage: string;
57
- constructor();
57
+ constructor(_detector: ChangeDetectorRef, locale: string);
58
58
  writeValue(outsideValue: string): void;
59
59
  private onChange;
60
60
  private onTouched;
61
61
  registerOnChange(fn: any): void;
62
62
  registerOnTouched(fn: any): void;
63
63
  ngOnInit(): void;
64
+ private _initData;
64
65
  private _validation;
65
66
  get getClasses(): string;
66
67
  get isValid(): boolean;
67
68
  get isInvalidMessage(): boolean;
68
69
  get checkValidClasses(): string;
70
+ get preferredCountriesListGet(): (Country)[];
71
+ get countriesToShowGet(): (Country)[];
72
+ get selectedCountryGet(): Country;
69
73
  toggleDropdown(): void;
70
74
  generateCountryData(): void;
71
75
  getDefaultCountry(): Country;
@@ -74,8 +78,6 @@ export declare class InputTelComponent implements ControlValueAccessor, OnInit {
74
78
  searchFilterChanged(event: any): void;
75
79
  private findCountryByIso2;
76
80
  setDefaultSelectedCountry(): void;
77
- setCountriesToShow(): void;
78
- setPreferredCountries(): void;
79
81
  onCountrySelect(country: any): void;
80
82
  private getNumberExample;
81
83
  getPlaceHolder(): string;
@@ -85,5 +87,5 @@ export declare class InputTelComponent implements ControlValueAccessor, OnInit {
85
87
  private _resetValidate;
86
88
  updateValue(): void;
87
89
  static ɵfac: i0.ɵɵFactoryDeclaration<InputTelComponent, never>;
88
- static ɵcmp: i0.ɵɵComponentDeclaration<InputTelComponent, "mrx-input-tel", never, { "fields": { "alias": "fields"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "preferredCountries": { "alias": "preferredCountries"; "required": false; }; "onlyCountries": { "alias": "onlyCountries"; "required": false; }; "enableAutoCountrySelect": { "alias": "enableAutoCountrySelect"; "required": false; }; "enablePlaceholder": { "alias": "enablePlaceholder"; "required": false; }; "customPlaceholder": { "alias": "customPlaceholder"; "required": false; }; "numberFormat": { "alias": "numberFormat"; "required": false; }; "searchCountryFlag": { "alias": "searchCountryFlag"; "required": false; }; "searchCountryField": { "alias": "searchCountryField"; "required": false; }; "searchCountryPlaceholder": { "alias": "searchCountryPlaceholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "selectFirstCountry": { "alias": "selectFirstCountry"; "required": false; }; "phoneValidation": { "alias": "phoneValidation"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "selectedCountryISO": { "alias": "selectedCountryISO"; "required": false; }; "separateDialCode": { "alias": "separateDialCode"; "required": false; }; "customClasses": { "alias": "customClasses"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "autoDealCode": { "alias": "autoDealCode"; "required": false; }; "autoCloseDropdown": { "alias": "autoCloseDropdown"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "invalidMessage": { "alias": "invalidMessage"; "required": false; }; "invalidPhoneMessage": { "alias": "invalidPhoneMessage"; "required": false; }; "checkInvalid": { "alias": "checkInvalid"; "required": false; }; }, { "changed": "changed"; "modelChange": "modelChange"; }, never, never, false, never>;
90
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputTelComponent, "mrx-input-tel", never, { "fields": { "alias": "fields"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "customClasses": { "alias": "customClasses"; "required": false; }; "size": { "alias": "size"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "preferredCountries": { "alias": "preferredCountries"; "required": false; }; "onlyCountries": { "alias": "onlyCountries"; "required": false; }; "enableAutoCountrySelect": { "alias": "enableAutoCountrySelect"; "required": false; }; "enablePlaceholder": { "alias": "enablePlaceholder"; "required": false; }; "customPlaceholder": { "alias": "customPlaceholder"; "required": false; }; "numberFormat": { "alias": "numberFormat"; "required": false; }; "searchCountryFlag": { "alias": "searchCountryFlag"; "required": false; }; "searchCountryField": { "alias": "searchCountryField"; "required": false; }; "searchCountryPlaceholder": { "alias": "searchCountryPlaceholder"; "required": false; }; "selectFirstCountry": { "alias": "selectFirstCountry"; "required": false; }; "phoneValidation": { "alias": "phoneValidation"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "selectedCountryISO": { "alias": "selectedCountryISO"; "required": false; }; "separateDialCode": { "alias": "separateDialCode"; "required": false; }; "autoDealCode": { "alias": "autoDealCode"; "required": false; }; "autoCloseDropdown": { "alias": "autoCloseDropdown"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "invalidMessage": { "alias": "invalidMessage"; "required": false; }; "invalidPhoneMessage": { "alias": "invalidPhoneMessage"; "required": false; }; "checkInvalid": { "alias": "checkInvalid"; "required": false; }; }, { "changed": "changed"; "modelChange": "modelChange"; }, never, never, false, never>;
89
91
  }
@@ -5,9 +5,10 @@ import * as i3 from "@angular/common";
5
5
  import * as i4 from "@angular/forms";
6
6
  import * as i5 from "../../dropdown/dropdown.module";
7
7
  import * as i6 from "../../error-message/error-message.module";
8
- import * as i7 from "../../save-state/save-state.module";
8
+ import * as i7 from "ngx-mask";
9
+ import * as i8 from "../../save-state/save-state.module";
9
10
  export declare class InputTelModule {
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<InputTelModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<InputTelModule, [typeof i1.InputTelComponent, typeof i2.MaskedInputTelDirective], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.DropdownModule, typeof i6.ErrorMessageModule, typeof i7.SaveStateModule], [typeof i1.InputTelComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<InputTelModule, [typeof i1.InputTelComponent, typeof i2.MaskedInputTelDirective], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.DropdownModule, typeof i6.ErrorMessageModule, typeof i7.NgxMaskDirective, typeof i8.SaveStateModule], [typeof i1.InputTelComponent]>;
12
13
  static ɵinj: i0.ɵɵInjectorDeclaration<InputTelModule>;
13
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myrta-ui",
3
- "version": "17.0.93",
3
+ "version": "17.0.96",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0",
package/public-api.d.ts CHANGED
@@ -97,7 +97,9 @@ export * from './lib/components/form/input-datepicker/input-datepicker.component
97
97
  export * from './lib/components/form/input-datepicker/input-datepicker.enum';
98
98
  export * from './lib/components/form/input-date-time/input-date-time.module';
99
99
  export * from './lib/components/form/input-date-time/input-date-time.component';
100
+ export * from './lib/components/form/input-date-time/input-date-time.enum';
100
101
  export * from './lib/components/form/input-date-time/enum/timezone';
102
+ export * from './lib/components/form/input-date-time/models/input-date-time.model';
101
103
  export * from './lib/components/form/input-timepicker/input-timepicker.module';
102
104
  export * from './lib/components/form/input-timepicker/input-timepicker.component';
103
105
  export * from './lib/components/form/editor/editor.module';
@@ -185,5 +187,9 @@ export * from './lib/enums/index';
185
187
  export * from './lib/enums/overlay/index';
186
188
  export * from './lib/components/form/input-tel/input-tel.module';
187
189
  export * from './lib/components/form/input-tel/input-tel.component';
190
+ export * from './lib/components/form/input-tel/enums/input-tel.enum';
191
+ export * from './lib/components/form/input-tel/data/all-countries';
192
+ export * from './lib/components/form/input-tel/data/country-iso.enum';
193
+ export * from './lib/components/form/input-tel/data/countries-rus-label.enum';
188
194
  export * from './lib/components/pdf-viewer/pdf-viewer.component';
189
195
  export * from './lib/components/pdf-viewer/pdf-viewer.module';
@@ -1,7 +0,0 @@
1
- export var InputTelSizesEnum;
2
- (function (InputTelSizesEnum) {
3
- InputTelSizesEnum["small"] = "mrx-input-tel-sm";
4
- InputTelSizesEnum["medium"] = "mrx-input-tel-md";
5
- InputTelSizesEnum["large"] = "mrx-input-tel-lg";
6
- })(InputTelSizesEnum || (InputTelSizesEnum = {}));
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtcGhvbmUuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL215cnRhLXVpL3NyYy9saWIvY29tcG9uZW50cy9mb3JtL2lucHV0LXRlbC9lbnVtcy9pbnB1dC1waG9uZS5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGlCQUlYO0FBSkQsV0FBWSxpQkFBaUI7SUFDM0IsK0NBQTRCLENBQUE7SUFDNUIsZ0RBQTZCLENBQUE7SUFDN0IsK0NBQTRCLENBQUE7QUFDOUIsQ0FBQyxFQUpXLGlCQUFpQixLQUFqQixpQkFBaUIsUUFJNUIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBJbnB1dFRlbFNpemVzRW51bSB7XHJcbiAgJ3NtYWxsJyA9ICdtcngtaW5wdXQtdGVsLXNtJyxcclxuICAnbWVkaXVtJyA9ICdtcngtaW5wdXQtdGVsLW1kJyxcclxuICAnbGFyZ2UnID0gJ21yeC1pbnB1dC10ZWwtbGcnLFxyXG59XHJcblxyXG5leHBvcnQgdHlwZSBJbnB1dFRlbFNpemVzVHlwZXMgPSAnc21hbGwnIHwgJ21lZGl1bScgfCAnbGFyZ2UnO1xyXG5cclxuZXhwb3J0IHR5cGUgSW5wdXRUZWxWYWx1ZVR5cGVzID0gc3RyaW5nIHwgdW5kZWZpbmVkO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBJbnB1dFRlbFZhbHVlV2l0aElkIHtcclxuICB2YWx1ZTogYW55LFxyXG4gIGlkOiBzdHJpbmdcclxufVxyXG4iXX0=