@po-ui/ng-components 16.4.1 → 16.6.0

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 (49) hide show
  1. package/esm2022/lib/components/po-field/po-combo/interfaces/po-combo-literals-default.interface.mjs +9 -5
  2. package/esm2022/lib/components/po-field/po-combo/interfaces/po-combo-literals.interface.mjs +1 -1
  3. package/esm2022/lib/components/po-field/po-combo/po-combo-base.component.mjs +4 -1
  4. package/esm2022/lib/components/po-field/po-combo/po-combo.component.mjs +90 -41
  5. package/esm2022/lib/components/po-field/po-field.module.mjs +17 -13
  6. package/esm2022/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.mjs +4 -4
  7. package/esm2022/lib/components/po-field/po-multiselect/po-multiselect-base.component.mjs +30 -7
  8. package/esm2022/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.mjs +4 -4
  9. package/esm2022/lib/components/po-field/po-multiselect/po-multiselect-literals.interface.mjs +1 -1
  10. package/esm2022/lib/components/po-field/po-multiselect/po-multiselect.component.mjs +220 -51
  11. package/esm2022/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.mjs +3 -3
  12. package/esm2022/lib/components/po-listbox/po-item-list/po-item-list.component.mjs +2 -2
  13. package/esm2022/lib/components/po-listbox/po-listbox.component.mjs +5 -4
  14. package/esm2022/lib/components/po-table/po-table-base.component.mjs +5 -5
  15. package/esm2022/lib/components/po-tag/index.mjs +2 -1
  16. package/esm2022/lib/components/po-tag/interfaces/po-tag-literals.interface.mjs +2 -0
  17. package/esm2022/lib/components/po-tag/po-tag-base.component.mjs +70 -4
  18. package/esm2022/lib/components/po-tag/po-tag.component.mjs +52 -44
  19. package/esm2022/lib/enums/po-key-code.enum.mjs +5 -1
  20. package/fesm2022/po-ui-ng-components.mjs +801 -574
  21. package/fesm2022/po-ui-ng-components.mjs.map +1 -1
  22. package/lib/components/po-field/po-combo/interfaces/po-combo-literals.interface.d.ts +2 -0
  23. package/lib/components/po-field/po-combo/po-combo.component.d.ts +8 -5
  24. package/lib/components/po-field/po-field.module.d.ts +44 -44
  25. package/lib/components/po-field/po-multiselect/po-multiselect-base.component.d.ts +21 -2
  26. package/lib/components/po-field/po-multiselect/po-multiselect-literals.interface.d.ts +2 -0
  27. package/lib/components/po-field/po-multiselect/po-multiselect.component.d.ts +18 -6
  28. package/lib/components/po-table/po-table-base.component.d.ts +2 -2
  29. package/lib/components/po-tag/index.d.ts +1 -0
  30. package/lib/components/po-tag/interfaces/po-tag-literals.interface.d.ts +11 -0
  31. package/lib/components/po-tag/po-tag-base.component.d.ts +50 -2
  32. package/lib/components/po-tag/po-tag.component.d.ts +6 -6
  33. package/lib/enums/po-key-code.enum.d.ts +5 -1
  34. package/package.json +4 -4
  35. package/po-ui-ng-components-16.6.0.tgz +0 -0
  36. package/schematics/ng-add/index.js +1 -1
  37. package/schematics/ng-update/v14/index.js +1 -1
  38. package/schematics/ng-update/v15/index.js +1 -1
  39. package/schematics/ng-update/v16/index.js +1 -1
  40. package/schematics/ng-update/v2/index.js +1 -1
  41. package/schematics/ng-update/v3/index.js +1 -1
  42. package/schematics/ng-update/v4/index.js +1 -1
  43. package/schematics/ng-update/v5/index.js +1 -1
  44. package/schematics/ng-update/v6/index.js +1 -1
  45. package/esm2022/lib/components/po-field/po-multiselect/po-multiselect-search/po-multiselect-search.component.mjs +0 -91
  46. package/esm2022/lib/components/po-tag/po-tag.literals.mjs +0 -15
  47. package/lib/components/po-field/po-multiselect/po-multiselect-search/po-multiselect-search.component.d.ts +0 -40
  48. package/lib/components/po-tag/po-tag.literals.d.ts +0 -14
  49. package/po-ui-ng-components-16.4.1.tgz +0 -0
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, Input, Component, ChangeDetectionStrategy, NgModule, TemplateRef, EventEmitter, Output, Injectable, ElementRef, HostListener, ViewChild, ContentChildren, HostBinding, forwardRef, ViewChildren, ViewContainerRef, ContentChild, Pipe, inject, Injector, Inject, InjectionToken, APP_INITIALIZER } from '@angular/core';
2
+ import { Directive, Input, Component, ChangeDetectionStrategy, NgModule, TemplateRef, Injectable, EventEmitter, Output, ElementRef, HostListener, ViewChild, ContentChildren, HostBinding, forwardRef, ViewChildren, ViewContainerRef, ContentChild, Pipe, inject, Injector, Inject, InjectionToken, APP_INITIALIZER } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { CommonModule, DecimalPipe, NgOptimizedImage, CurrencyPipe, DatePipe, TitleCasePipe } from '@angular/common';
5
5
  import * as i2$3 from '@angular/animations';
@@ -305,6 +305,25 @@ var PoTagType;
305
305
  PoTagType["Neutral"] = "neutral";
306
306
  })(PoTagType || (PoTagType = {}));
307
307
 
308
+ /**
309
+ * @docsPrivate
310
+ *
311
+ * @description
312
+ *
313
+ * Define os ícones disponíveis para o `po-tag`.
314
+ */
315
+ var PoTagIcon;
316
+ (function (PoTagIcon) {
317
+ /** Ícone fechar. */
318
+ PoTagIcon["Danger"] = "po-icon-close";
319
+ /** Ícone de informação. */
320
+ PoTagIcon["Info"] = "po-icon-info";
321
+ /** Ícone que representa confirmação. */
322
+ PoTagIcon["Success"] = "po-icon-ok";
323
+ /** Ícone com ponto de exclamação. */
324
+ PoTagIcon["Warning"] = "po-icon-warning";
325
+ })(PoTagIcon || (PoTagIcon = {}));
326
+
308
327
  /**
309
328
  * @docsPrivate
310
329
  *
@@ -1013,8 +1032,170 @@ function sortArrayOfObjects(items, key, isAscendingOrder) {
1013
1032
  }
1014
1033
  }
1015
1034
 
1035
+ const poDefaultLanguage = 'PO_DEFAULT_LANGUAGE';
1036
+ const poLocaleKey = 'PO_USER_LOCALE';
1037
+ /**
1038
+ * @docsPrivate
1039
+ *
1040
+ * @description
1041
+ *
1042
+ * Serviço responsável por gerenciar as linguagens da aplicação.
1043
+ */
1044
+ class PoLanguageService {
1045
+ constructor() { }
1046
+ set languageDefault(language) {
1047
+ if (language && isLanguage(language)) {
1048
+ localStorage.setItem(poDefaultLanguage, language);
1049
+ }
1050
+ }
1051
+ get languageDefault() {
1052
+ return localStorage.getItem(poDefaultLanguage);
1053
+ }
1054
+ /**
1055
+ * @description
1056
+ *
1057
+ * Método responsável por retornar o idioma ativo.
1058
+ *
1059
+ * A busca do idioma será feita na seguinte ordem:
1060
+ *
1061
+ * 1 - o idioma que foi armazenado no *localStorage*, através do método `setLanguage()` utilizado pelo i18n.
1062
+ *
1063
+ * 2 - o valor inserido nas configurações do módulo do i18n através do parâmetro `config`, sendo o idioma inserido
1064
+ * na propriedade `language` da interface `PoI18nConfigDefault`.
1065
+ *
1066
+ * 3 - o idioma do navegador utilizado.
1067
+ *
1068
+ * > Caso o idioma do navegador não seja suportado pelo PO (`pt`, `en`, `es` ou `ru`), será retornado valor `pt`.
1069
+ *
1070
+ * **Retorno:** `string` com a sigla do idioma ativo.
1071
+ */
1072
+ getLanguage() {
1073
+ const language = localStorage.getItem(poLocaleKey) || this.languageDefault || getBrowserLanguage();
1074
+ return language && language.toLowerCase();
1075
+ }
1076
+ /**
1077
+ * @description
1078
+ *
1079
+ * Método responsável por retornar o idioma *default* da aplicação definido nas configurações do módulo do i18n através
1080
+ * do parâmetro `config`.
1081
+ *
1082
+ * **Retorno:** `string` com a sigla do idioma *default*.
1083
+ */
1084
+ getLanguageDefault() {
1085
+ return this.languageDefault;
1086
+ }
1087
+ /**
1088
+ * @description
1089
+ *
1090
+ * Método responsável por retornar a abreviação do idioma ativo na aplicação.
1091
+ *
1092
+ * @default `pt`
1093
+ *
1094
+ * **Retorno:** `string` com a sigla abreviada do idioma ativo.
1095
+ */
1096
+ getShortLanguage() {
1097
+ const language = this.getLanguage();
1098
+ const shortLanguage = getShortLanguage(language);
1099
+ return poLocales.includes(shortLanguage) ? shortLanguage : poLocaleDefault;
1100
+ }
1101
+ /**
1102
+ * @description
1103
+ *
1104
+ * Método para salvar o idioma da aplicação no *storage*, utilizado pelo serviço do i18n.
1105
+ *
1106
+ * > Ao definir um idioma por este método, todos os módulos da aplicação utilizarão o idioma definido.
1107
+ *
1108
+ * @param language sigla do idioma.
1109
+ *
1110
+ * Esta sigla deve ser composta por duas letras representando o idioma,
1111
+ * podendo ser adicionado outras duas letras representando o país, por exemplo: `pt`, `pt-BR`, `pt-br`, `en` ou `en-US`.
1112
+ *
1113
+ * > Caso seja informado um valor diferente deste padrão, o mesmo será ignorado.
1114
+ */
1115
+ setLanguage(language) {
1116
+ if (!isLanguage(language)) {
1117
+ return;
1118
+ }
1119
+ localStorage.setItem(poLocaleKey, language.toLowerCase());
1120
+ }
1121
+ /**
1122
+ * @description
1123
+ *
1124
+ * Método que define o idioma configurado a partir do parâmetro `config` utilizado pelo módulo do i18n.
1125
+ *
1126
+ * > Ao definir um idioma por este serviço, apenas o módulo do i18n referente a esta configuração utilizará o idioma definido.
1127
+ *
1128
+ * @param language sigla do idioma.
1129
+ *
1130
+ * Esta sigla deve ser composta por duas letras representando o idioma,
1131
+ * podendo ser adicionado outras duas letras representando o país, por exemplo: `pt`, `pt-BR`, `pt-br`, `en` ou `en-US`.
1132
+ *
1133
+ * > Caso seja informado um valor diferente deste padrão, o mesmo será ignorado.
1134
+ */
1135
+ setLanguageDefault(language) {
1136
+ this.languageDefault = language;
1137
+ }
1138
+ /**
1139
+ * @description
1140
+ *
1141
+ * Método que retorna o separador
1142
+ *
1143
+ * @param language sigla do idioma.
1144
+ *
1145
+ * Esta sigla deve ser composta por duas letras representando o idioma
1146
+ *
1147
+ * > Caso seja informado um valor diferente deste padrão, o mesmo será ignorado.
1148
+ */
1149
+ getNumberSeparators(language) {
1150
+ language = language || this.getShortLanguage();
1151
+ const decimal = poLocaleDecimalSeparatorList.find(separator => separator.language === language) ?? {};
1152
+ const thousand = poLocaleThousandSeparatorList.find(separator => separator.language === language) ?? {};
1153
+ const decimalSeparator = decimal.separator ?? ',';
1154
+ const thousandSeparator = thousand.separator ?? '.';
1155
+ return { decimalSeparator, thousandSeparator };
1156
+ }
1157
+ /**
1158
+ * @description
1159
+ *
1160
+ * Método que retorna o separador de datas
1161
+ *
1162
+ * @param language sigla do idioma.
1163
+ *
1164
+ * Esta sigla deve ser composta por duas letras representando o idioma
1165
+ *
1166
+ * > Caso seja informado um valor diferente deste padrão, o mesmo será ignorado.
1167
+ */
1168
+ getDateSeparator(language) {
1169
+ language = language || this.getShortLanguage();
1170
+ const separatorChar = poLocaleDateSeparatorList.find(separator => separator.locale === language) ?? {};
1171
+ return separatorChar.separator ?? '/';
1172
+ }
1173
+ static ɵfac = function PoLanguageService_Factory(t) { return new (t || PoLanguageService)(); };
1174
+ static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PoLanguageService, factory: PoLanguageService.ɵfac, providedIn: 'root' });
1175
+ }
1176
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLanguageService, [{
1177
+ type: Injectable,
1178
+ args: [{
1179
+ providedIn: 'root'
1180
+ }]
1181
+ }], function () { return []; }, null); })();
1182
+
1016
1183
  const poTagColors = Object.values(PoColorPaletteEnum);
1017
1184
  const poTagOrientationDefault = PoTagOrientation.Vertical;
1185
+ const PoTagLiteralsDefault = {
1186
+ en: {
1187
+ remove: 'Clear'
1188
+ },
1189
+ es: {
1190
+ remove: 'Eliminar'
1191
+ },
1192
+ pt: {
1193
+ remove: 'Remover'
1194
+ },
1195
+ ru: {
1196
+ remove: 'удалять'
1197
+ }
1198
+ };
1018
1199
  /**
1019
1200
  * @description
1020
1201
  *
@@ -1090,6 +1271,8 @@ class PoTagBaseComponent {
1090
1271
  _inverse;
1091
1272
  _orientation = poTagOrientationDefault;
1092
1273
  _type;
1274
+ _literals;
1275
+ language;
1093
1276
  /**
1094
1277
  * @optional
1095
1278
  *
@@ -1271,12 +1454,57 @@ class PoTagBaseComponent {
1271
1454
  get type() {
1272
1455
  return this._type;
1273
1456
  }
1274
- static ɵfac = function PoTagBaseComponent_Factory(t) { return new (t || PoTagBaseComponent)(); };
1275
- static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoTagBaseComponent, inputs: { label: ["p-label", "label"], removable: ["p-removable", "removable", convertToBoolean], disabled: ["p-disabled", "disabled", convertToBoolean], value: ["p-value", "value"], color: ["p-color", "color"], textColor: ["p-text-color", "textColor"], icon: ["p-icon", "icon"], inverse: ["p-inverse", "inverse"], orientation: ["p-orientation", "orientation"], type: ["p-type", "type"] }, outputs: { click: "p-click", remove: "p-close" }, features: [i0.ɵɵInputTransformsFeature] });
1457
+ /**
1458
+ * @optional
1459
+ *
1460
+ * @description
1461
+ *
1462
+ * Objeto com as literais usadas no `po-tag`.
1463
+ *
1464
+ *
1465
+ * Para utilizar, basta passar a literal customizada:
1466
+ *
1467
+ * ```
1468
+ * const customLiterals: PoTagLiterals = {
1469
+ * remove: 'Remover itens'
1470
+ * };
1471
+ * ```
1472
+ *
1473
+ * E para carregar as literais customizadas, basta apenas passar o objeto para o componente:
1474
+ *
1475
+ * ```
1476
+ * <po-tag
1477
+ * [p-literals]="customLiterals">
1478
+ * </po-tag>
1479
+ * ```
1480
+ *
1481
+ * > O objeto padrão de literais será traduzido de acordo com o idioma do
1482
+ * [`PoI18nService`](/documentation/po-i18n) ou do browser.
1483
+ */
1484
+ set literals(value) {
1485
+ if (value instanceof Object && !(value instanceof Array)) {
1486
+ this._literals = {
1487
+ ...PoTagLiteralsDefault[poLocaleDefault],
1488
+ ...PoTagLiteralsDefault[this.language],
1489
+ ...value
1490
+ };
1491
+ }
1492
+ else {
1493
+ this._literals = PoTagLiteralsDefault[this.language];
1494
+ }
1495
+ }
1496
+ get literals() {
1497
+ return this._literals || PoTagLiteralsDefault[this.language];
1498
+ }
1499
+ constructor(languageService) {
1500
+ this.language = languageService.getShortLanguage();
1501
+ }
1502
+ static ɵfac = function PoTagBaseComponent_Factory(t) { return new (t || PoTagBaseComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
1503
+ static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoTagBaseComponent, inputs: { label: ["p-label", "label"], removable: ["p-removable", "removable", convertToBoolean], disabled: ["p-disabled", "disabled", convertToBoolean], value: ["p-value", "value"], color: ["p-color", "color"], textColor: ["p-text-color", "textColor"], icon: ["p-icon", "icon"], inverse: ["p-inverse", "inverse"], orientation: ["p-orientation", "orientation"], type: ["p-type", "type"], literals: ["p-literals", "literals"] }, outputs: { click: "p-click", remove: "p-close" }, features: [i0.ɵɵInputTransformsFeature] });
1276
1504
  }
1277
1505
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoTagBaseComponent, [{
1278
1506
  type: Directive
1279
- }], null, { label: [{
1507
+ }], function () { return [{ type: PoLanguageService }]; }, { label: [{
1280
1508
  type: Input,
1281
1509
  args: ['p-label']
1282
1510
  }], removable: [{
@@ -1312,190 +1540,11 @@ class PoTagBaseComponent {
1312
1540
  }], type: [{
1313
1541
  type: Input,
1314
1542
  args: ['p-type']
1543
+ }], literals: [{
1544
+ type: Input,
1545
+ args: ['p-literals']
1315
1546
  }] }); })();
1316
1547
 
1317
- /**
1318
- * @docsPrivate
1319
- *
1320
- * @description
1321
- *
1322
- * Define os ícones disponíveis para o `po-tag`.
1323
- */
1324
- var PoTagIcon;
1325
- (function (PoTagIcon) {
1326
- /** Ícone fechar. */
1327
- PoTagIcon["Danger"] = "po-icon-close";
1328
- /** Ícone de informação. */
1329
- PoTagIcon["Info"] = "po-icon-info";
1330
- /** Ícone que representa confirmação. */
1331
- PoTagIcon["Success"] = "po-icon-ok";
1332
- /** Ícone com ponto de exclamação. */
1333
- PoTagIcon["Warning"] = "po-icon-warning";
1334
- })(PoTagIcon || (PoTagIcon = {}));
1335
-
1336
- const PoTagLiterals = {
1337
- en: {
1338
- remove: 'Remove'
1339
- },
1340
- es: {
1341
- remove: 'Eliminar'
1342
- },
1343
- pt: {
1344
- remove: 'Remover'
1345
- },
1346
- ru: {
1347
- remove: 'удалять'
1348
- }
1349
- };
1350
-
1351
- const poDefaultLanguage = 'PO_DEFAULT_LANGUAGE';
1352
- const poLocaleKey = 'PO_USER_LOCALE';
1353
- /**
1354
- * @docsPrivate
1355
- *
1356
- * @description
1357
- *
1358
- * Serviço responsável por gerenciar as linguagens da aplicação.
1359
- */
1360
- class PoLanguageService {
1361
- constructor() { }
1362
- set languageDefault(language) {
1363
- if (language && isLanguage(language)) {
1364
- localStorage.setItem(poDefaultLanguage, language);
1365
- }
1366
- }
1367
- get languageDefault() {
1368
- return localStorage.getItem(poDefaultLanguage);
1369
- }
1370
- /**
1371
- * @description
1372
- *
1373
- * Método responsável por retornar o idioma ativo.
1374
- *
1375
- * A busca do idioma será feita na seguinte ordem:
1376
- *
1377
- * 1 - o idioma que foi armazenado no *localStorage*, através do método `setLanguage()` utilizado pelo i18n.
1378
- *
1379
- * 2 - o valor inserido nas configurações do módulo do i18n através do parâmetro `config`, sendo o idioma inserido
1380
- * na propriedade `language` da interface `PoI18nConfigDefault`.
1381
- *
1382
- * 3 - o idioma do navegador utilizado.
1383
- *
1384
- * > Caso o idioma do navegador não seja suportado pelo PO (`pt`, `en`, `es` ou `ru`), será retornado valor `pt`.
1385
- *
1386
- * **Retorno:** `string` com a sigla do idioma ativo.
1387
- */
1388
- getLanguage() {
1389
- const language = localStorage.getItem(poLocaleKey) || this.languageDefault || getBrowserLanguage();
1390
- return language && language.toLowerCase();
1391
- }
1392
- /**
1393
- * @description
1394
- *
1395
- * Método responsável por retornar o idioma *default* da aplicação definido nas configurações do módulo do i18n através
1396
- * do parâmetro `config`.
1397
- *
1398
- * **Retorno:** `string` com a sigla do idioma *default*.
1399
- */
1400
- getLanguageDefault() {
1401
- return this.languageDefault;
1402
- }
1403
- /**
1404
- * @description
1405
- *
1406
- * Método responsável por retornar a abreviação do idioma ativo na aplicação.
1407
- *
1408
- * @default `pt`
1409
- *
1410
- * **Retorno:** `string` com a sigla abreviada do idioma ativo.
1411
- */
1412
- getShortLanguage() {
1413
- const language = this.getLanguage();
1414
- const shortLanguage = getShortLanguage(language);
1415
- return poLocales.includes(shortLanguage) ? shortLanguage : poLocaleDefault;
1416
- }
1417
- /**
1418
- * @description
1419
- *
1420
- * Método para salvar o idioma da aplicação no *storage*, utilizado pelo serviço do i18n.
1421
- *
1422
- * > Ao definir um idioma por este método, todos os módulos da aplicação utilizarão o idioma definido.
1423
- *
1424
- * @param language sigla do idioma.
1425
- *
1426
- * Esta sigla deve ser composta por duas letras representando o idioma,
1427
- * podendo ser adicionado outras duas letras representando o país, por exemplo: `pt`, `pt-BR`, `pt-br`, `en` ou `en-US`.
1428
- *
1429
- * > Caso seja informado um valor diferente deste padrão, o mesmo será ignorado.
1430
- */
1431
- setLanguage(language) {
1432
- if (!isLanguage(language)) {
1433
- return;
1434
- }
1435
- localStorage.setItem(poLocaleKey, language.toLowerCase());
1436
- }
1437
- /**
1438
- * @description
1439
- *
1440
- * Método que define o idioma configurado a partir do parâmetro `config` utilizado pelo módulo do i18n.
1441
- *
1442
- * > Ao definir um idioma por este serviço, apenas o módulo do i18n referente a esta configuração utilizará o idioma definido.
1443
- *
1444
- * @param language sigla do idioma.
1445
- *
1446
- * Esta sigla deve ser composta por duas letras representando o idioma,
1447
- * podendo ser adicionado outras duas letras representando o país, por exemplo: `pt`, `pt-BR`, `pt-br`, `en` ou `en-US`.
1448
- *
1449
- * > Caso seja informado um valor diferente deste padrão, o mesmo será ignorado.
1450
- */
1451
- setLanguageDefault(language) {
1452
- this.languageDefault = language;
1453
- }
1454
- /**
1455
- * @description
1456
- *
1457
- * Método que retorna o separador
1458
- *
1459
- * @param language sigla do idioma.
1460
- *
1461
- * Esta sigla deve ser composta por duas letras representando o idioma
1462
- *
1463
- * > Caso seja informado um valor diferente deste padrão, o mesmo será ignorado.
1464
- */
1465
- getNumberSeparators(language) {
1466
- language = language || this.getShortLanguage();
1467
- const decimal = poLocaleDecimalSeparatorList.find(separator => separator.language === language) ?? {};
1468
- const thousand = poLocaleThousandSeparatorList.find(separator => separator.language === language) ?? {};
1469
- const decimalSeparator = decimal.separator ?? ',';
1470
- const thousandSeparator = thousand.separator ?? '.';
1471
- return { decimalSeparator, thousandSeparator };
1472
- }
1473
- /**
1474
- * @description
1475
- *
1476
- * Método que retorna o separador de datas
1477
- *
1478
- * @param language sigla do idioma.
1479
- *
1480
- * Esta sigla deve ser composta por duas letras representando o idioma
1481
- *
1482
- * > Caso seja informado um valor diferente deste padrão, o mesmo será ignorado.
1483
- */
1484
- getDateSeparator(language) {
1485
- language = language || this.getShortLanguage();
1486
- const separatorChar = poLocaleDateSeparatorList.find(separator => separator.locale === language) ?? {};
1487
- return separatorChar.separator ?? '/';
1488
- }
1489
- static ɵfac = function PoLanguageService_Factory(t) { return new (t || PoLanguageService)(); };
1490
- static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PoLanguageService, factory: PoLanguageService.ɵfac, providedIn: 'root' });
1491
- }
1492
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLanguageService, [{
1493
- type: Injectable,
1494
- args: [{
1495
- providedIn: 'root'
1496
- }]
1497
- }], function () { return []; }, null); })();
1498
-
1499
1548
  // Array de posições.
1500
1549
  const PO_CONTROL_POSITIONS = [
1501
1550
  'right',
@@ -2195,33 +2244,35 @@ class PoTooltipDirective extends PoTooltipBaseDirective {
2195
2244
  args: ['keydown', ['$event']]
2196
2245
  }] }); })();
2197
2246
 
2198
- const _c0$1E = ["tagContainer"];
2199
- function PoTagComponent_div_2_Template(rf, ctx) { if (rf & 1) {
2200
- i0.ɵɵelementStart(0, "div", 9)(1, "span", 10);
2247
+ const _c0$1D = ["tagContainer"];
2248
+ const _c1$F = ["tagClose"];
2249
+ const _c2$h = ["poTag"];
2250
+ function PoTagComponent_div_1_Template(rf, ctx) { if (rf & 1) {
2251
+ i0.ɵɵelementStart(0, "div", 10)(1, "span", 11);
2201
2252
  i0.ɵɵtext(2);
2202
2253
  i0.ɵɵelementEnd()();
2203
2254
  } if (rf & 2) {
2204
- const ctx_r1 = i0.ɵɵnextContext();
2255
+ const ctx_r0 = i0.ɵɵnextContext();
2205
2256
  i0.ɵɵadvance(2);
2206
- i0.ɵɵtextInterpolate(ctx_r1.tagOrientation ? ctx_r1.label + ":" : ctx_r1.label);
2257
+ i0.ɵɵtextInterpolate(ctx_r0.tagOrientation ? ctx_r0.label + ":" : ctx_r0.label);
2207
2258
  } }
2208
- const _c1$F = function (a0) { return { "color": a0 }; };
2259
+ const _c3$d = function (a0) { return { "color": a0 }; };
2209
2260
  function PoTagComponent_po_icon_5_Template(rf, ctx) { if (rf & 1) {
2210
- i0.ɵɵelement(0, "po-icon", 11);
2261
+ i0.ɵɵelement(0, "po-icon", 12);
2211
2262
  } if (rf & 2) {
2212
2263
  const ctx_r2 = i0.ɵɵnextContext();
2213
- i0.ɵɵproperty("p-icon", !ctx_r2.type ? ctx_r2.icon : ctx_r2.iconFromType)("ngStyle", !ctx_r2.tagColor && ctx_r2.inverse && !ctx_r2.customTextColor ? i0.ɵɵpureFunction1(2, _c1$F, ctx_r2.customColor) : !ctx_r2.type && ctx_r2.customTextColor ? i0.ɵɵpureFunction1(4, _c1$F, ctx_r2.customTextColor) : "");
2264
+ i0.ɵɵproperty("p-icon", !ctx_r2.type ? ctx_r2.icon : ctx_r2.iconFromType)("ngStyle", !ctx_r2.tagColor && ctx_r2.inverse && !ctx_r2.customTextColor ? i0.ɵɵpureFunction1(2, _c3$d, ctx_r2.customColor) : !ctx_r2.type && ctx_r2.customTextColor ? i0.ɵɵpureFunction1(4, _c3$d, ctx_r2.customTextColor) : "");
2214
2265
  } }
2215
- function PoTagComponent_span_9_Template(rf, ctx) { if (rf & 1) {
2216
- const _r5 = i0.ɵɵgetCurrentView();
2217
- i0.ɵɵelementStart(0, "span", 12);
2218
- i0.ɵɵlistener("click", function PoTagComponent_span_9_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.onClose()); })("keydown.enter", function PoTagComponent_span_9_Template_span_keydown_enter_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.onClose()); });
2266
+ function PoTagComponent_span_10_Template(rf, ctx) { if (rf & 1) {
2267
+ const _r7 = i0.ɵɵgetCurrentView();
2268
+ i0.ɵɵelementStart(0, "span", 13, 14);
2269
+ i0.ɵɵlistener("click", function PoTagComponent_span_10_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.onClose()); })("keydown.enter", function PoTagComponent_span_10_Template_span_keydown_enter_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r8 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r8.onClose("enter")); });
2219
2270
  i0.ɵɵelementEnd();
2220
2271
  } if (rf & 2) {
2221
- const ctx_r3 = i0.ɵɵnextContext();
2222
- i0.ɵɵclassProp("po-clickable", !ctx_r3.disabled);
2223
- i0.ɵɵproperty("tabindex", !ctx_r3.disabled ? 0 : -1);
2224
- i0.ɵɵattribute("aria-label", ctx_r3.setAriaLabel())("role", !ctx_r3.disabled ? "button" : "");
2272
+ const ctx_r4 = i0.ɵɵnextContext();
2273
+ i0.ɵɵclassProp("po-clickable", !ctx_r4.disabled);
2274
+ i0.ɵɵproperty("p-tooltip", ctx_r4.literals.remove)("tabindex", !ctx_r4.disabled ? 0 : -1);
2275
+ i0.ɵɵattribute("aria-label", ctx_r4.setAriaLabel())("role", !ctx_r4.disabled ? "button" : "");
2225
2276
  } }
2226
2277
  const poTagTypeDefault = 'po-tag-' + PoTagType.Info;
2227
2278
  /**
@@ -2246,18 +2297,13 @@ const poTagTypeDefault = 'po-tag-' + PoTagType.Info;
2246
2297
  */
2247
2298
  class PoTagComponent extends PoTagBaseComponent {
2248
2299
  el;
2249
- languageService;
2250
2300
  tagContainer;
2301
+ tagClose;
2302
+ poTag;
2251
2303
  isClickable;
2252
- literals;
2253
2304
  constructor(el, languageService) {
2254
- super();
2305
+ super(languageService);
2255
2306
  this.el = el;
2256
- this.languageService = languageService;
2257
- const language = this.languageService.getShortLanguage();
2258
- this.literals = {
2259
- ...PoTagLiterals[language]
2260
- };
2261
2307
  }
2262
2308
  ngOnInit() {
2263
2309
  this.isClickable = this.click.observers.length > 0;
@@ -2288,22 +2334,23 @@ class PoTagComponent extends PoTagBaseComponent {
2288
2334
  get tagOrientation() {
2289
2335
  return this.orientation === this.poTagOrientation.Horizontal;
2290
2336
  }
2291
- onClick() {
2337
+ onClick(event = 'click') {
2292
2338
  if (!this.removable && !this.disabled) {
2293
- const submittedTagItem = { value: this.value, type: this.type };
2339
+ const submittedTagItem = { value: this.value, type: this.type, event: event };
2294
2340
  this.click.emit(submittedTagItem);
2295
2341
  }
2296
2342
  }
2297
- onClose() {
2343
+ onClose(event = 'click') {
2298
2344
  if (!this.disabled) {
2299
- this.click.emit(null);
2345
+ this.click.emit(event);
2300
2346
  this.onRemove();
2347
+ this.remove.emit(event);
2301
2348
  }
2302
2349
  }
2303
2350
  onKeyPressed(event) {
2304
2351
  event.preventDefault();
2305
2352
  event.stopPropagation();
2306
- this.onClick();
2353
+ this.onClick('enter');
2307
2354
  }
2308
2355
  styleTag() {
2309
2356
  if (!this.tagColor && !this.inverse && !this.removable) {
@@ -2332,34 +2379,39 @@ class PoTagComponent extends PoTagBaseComponent {
2332
2379
  }
2333
2380
  static ɵfac = function PoTagComponent_Factory(t) { return new (t || PoTagComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(PoLanguageService)); };
2334
2381
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTagComponent, selectors: [["po-tag"]], viewQuery: function PoTagComponent_Query(rf, ctx) { if (rf & 1) {
2335
- i0.ɵɵviewQuery(_c0$1E, 7);
2382
+ i0.ɵɵviewQuery(_c0$1D, 7);
2383
+ i0.ɵɵviewQuery(_c1$F, 7);
2384
+ i0.ɵɵviewQuery(_c2$h, 7);
2336
2385
  } if (rf & 2) {
2337
2386
  let _t;
2338
2387
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tagContainer = _t.first);
2339
- } }, features: [i0.ɵɵInheritDefinitionFeature], decls: 10, vars: 24, consts: [["p-tooltip-position", "top", 1, "po-tag-container", 3, "p-tooltip"], ["tagContainer", ""], ["class", "po-tag-title po-text-nowrap", 4, "ngIf"], [1, "po-tag-sub-container"], [1, "po-tag", 3, "ngClass", "ngStyle", "tabindex", "click", "keydown.enter", "keydown.space", "keyup.space"], ["class", "po-tag-icon", 3, "p-icon", "ngStyle", 4, "ngIf"], [1, "po-tag-value"], [3, "ngStyle"], ["class", "po-tag-remove po-icon po-icon-close", 3, "po-clickable", "tabindex", "click", "keydown.enter", 4, "ngIf"], [1, "po-tag-title", "po-text-nowrap"], [1, "po-tag-label"], [1, "po-tag-icon", 3, "p-icon", "ngStyle"], [1, "po-tag-remove", "po-icon", "po-icon-close", 3, "tabindex", "click", "keydown.enter"]], template: function PoTagComponent_Template(rf, ctx) { if (rf & 1) {
2340
- i0.ɵɵelementStart(0, "div", 0, 1);
2341
- i0.ɵɵtemplate(2, PoTagComponent_div_2_Template, 3, 1, "div", 2);
2342
- i0.ɵɵelementStart(3, "div", 3)(4, "div", 4);
2343
- i0.ɵɵlistener("click", function PoTagComponent_Template_div_click_4_listener() { return ctx.onClick(); })("keydown.enter", function PoTagComponent_Template_div_keydown_enter_4_listener($event) { return ctx.onKeyPressed($event); })("keydown.space", function PoTagComponent_Template_div_keydown_space_4_listener($event) { return $event.preventDefault(); })("keyup.space", function PoTagComponent_Template_div_keyup_space_4_listener($event) { return ctx.onKeyPressed($event); });
2388
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tagClose = _t.first);
2389
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poTag = _t.first);
2390
+ } }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 24, consts: [[1, "po-tag-container"], ["class", "po-tag-title po-text-nowrap", 4, "ngIf"], [1, "po-tag-sub-container"], [1, "po-tag", 3, "ngClass", "ngStyle", "tabindex", "click", "keydown.enter", "keydown.space", "keyup.space"], ["poTag", ""], ["class", "po-tag-icon", 3, "p-icon", "ngStyle", 4, "ngIf"], ["p-tooltip-position", "top", 1, "po-tag-value", 3, "p-tooltip"], ["tagContainer", ""], [3, "ngStyle"], ["p-tooltip-position", "top", "class", "po-tag-remove po-icon po-icon-close", 3, "p-tooltip", "po-clickable", "tabindex", "click", "keydown.enter", 4, "ngIf"], [1, "po-tag-title", "po-text-nowrap"], [1, "po-tag-label"], [1, "po-tag-icon", 3, "p-icon", "ngStyle"], ["p-tooltip-position", "top", 1, "po-tag-remove", "po-icon", "po-icon-close", 3, "p-tooltip", "tabindex", "click", "keydown.enter"], ["tagClose", ""]], template: function PoTagComponent_Template(rf, ctx) { if (rf & 1) {
2391
+ i0.ɵɵelementStart(0, "div", 0);
2392
+ i0.ɵɵtemplate(1, PoTagComponent_div_1_Template, 3, 1, "div", 1);
2393
+ i0.ɵɵelementStart(2, "div", 2)(3, "div", 3, 4);
2394
+ i0.ɵɵlistener("click", function PoTagComponent_Template_div_click_3_listener() { return ctx.onClick(); })("keydown.enter", function PoTagComponent_Template_div_keydown_enter_3_listener($event) { return ctx.onKeyPressed($event); })("keydown.space", function PoTagComponent_Template_div_keydown_space_3_listener($event) { return $event.preventDefault(); })("keyup.space", function PoTagComponent_Template_div_keyup_space_3_listener($event) { return ctx.onKeyPressed($event); });
2344
2395
  i0.ɵɵtemplate(5, PoTagComponent_po_icon_5_Template, 1, 6, "po-icon", 5);
2345
- i0.ɵɵelementStart(6, "div", 6)(7, "span", 7);
2346
- i0.ɵɵtext(8);
2396
+ i0.ɵɵelementStart(6, "div", 6, 7)(8, "span", 8);
2397
+ i0.ɵɵtext(9);
2347
2398
  i0.ɵɵelementEnd()();
2348
- i0.ɵɵtemplate(9, PoTagComponent_span_9_Template, 1, 5, "span", 8);
2399
+ i0.ɵɵtemplate(10, PoTagComponent_span_10_Template, 2, 6, "span", 9);
2349
2400
  i0.ɵɵelementEnd()()();
2350
2401
  } if (rf & 2) {
2351
2402
  i0.ɵɵclassProp("po-tag-container-horizontal", ctx.tagOrientation);
2352
- i0.ɵɵproperty("p-tooltip", ctx.getWidthTag() ? ctx.value : "");
2353
- i0.ɵɵadvance(2);
2403
+ i0.ɵɵadvance(1);
2354
2404
  i0.ɵɵproperty("ngIf", ctx.label);
2355
2405
  i0.ɵɵadvance(2);
2356
2406
  i0.ɵɵclassProp("po-clickable", ctx.isClickable && !ctx.disabled && !ctx.removable)("po-tag-inverse", ctx.inverse && !ctx.type && !ctx.customTextColor && !ctx.removable)("po-tag-removable", ctx.removable)("po-tag-disabled", ctx.disabled && ctx.removable);
2357
2407
  i0.ɵɵproperty("ngClass", ctx.tagColor)("ngStyle", ctx.styleTag())("tabindex", ctx.isClickable && !ctx.removable ? 0 : -1);
2358
2408
  i0.ɵɵattribute("role", ctx.isClickable && !ctx.disabled ? "button" : "");
2359
- i0.ɵɵadvance(1);
2409
+ i0.ɵɵadvance(2);
2360
2410
  i0.ɵɵproperty("ngIf", ctx.icon && !ctx.removable);
2411
+ i0.ɵɵadvance(1);
2412
+ i0.ɵɵproperty("p-tooltip", ctx.getWidthTag() ? ctx.value : "");
2361
2413
  i0.ɵɵadvance(2);
2362
- i0.ɵɵproperty("ngStyle", !ctx.tagColor && ctx.inverse && !ctx.customTextColor ? i0.ɵɵpureFunction1(20, _c1$F, ctx.customColor) : !ctx.type && ctx.customTextColor && !ctx.removable ? i0.ɵɵpureFunction1(22, _c1$F, ctx.customTextColor) : "");
2414
+ i0.ɵɵproperty("ngStyle", !ctx.tagColor && ctx.inverse && !ctx.customTextColor ? i0.ɵɵpureFunction1(20, _c3$d, ctx.customColor) : !ctx.type && ctx.customTextColor && !ctx.removable ? i0.ɵɵpureFunction1(22, _c3$d, ctx.customTextColor) : "");
2363
2415
  i0.ɵɵadvance(1);
2364
2416
  i0.ɵɵtextInterpolate(ctx.value);
2365
2417
  i0.ɵɵadvance(1);
@@ -2368,10 +2420,16 @@ class PoTagComponent extends PoTagBaseComponent {
2368
2420
  }
2369
2421
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoTagComponent, [{
2370
2422
  type: Component,
2371
- args: [{ selector: 'po-tag', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n #tagContainer\n class=\"po-tag-container\"\n [class.po-tag-container-horizontal]=\"tagOrientation\"\n [p-tooltip]=\"getWidthTag() ? value : ''\"\n p-tooltip-position=\"top\"\n>\n <div *ngIf=\"label\" class=\"po-tag-title po-text-nowrap\">\n <span class=\"po-tag-label\">{{ tagOrientation ? label + ':' : label }}</span>\n </div>\n\n <div class=\"po-tag-sub-container\">\n <div\n class=\"po-tag\"\n [attr.role]=\"isClickable && !disabled ? 'button' : ''\"\n [class.po-clickable]=\"isClickable && !disabled && !removable\"\n [class.po-tag-inverse]=\"inverse && !type && !customTextColor && !removable\"\n [class.po-tag-removable]=\"removable\"\n [class.po-tag-disabled]=\"disabled && removable\"\n [ngClass]=\"tagColor\"\n [ngStyle]=\"styleTag()\"\n [tabindex]=\"isClickable && !removable ? 0 : -1\"\n (click)=\"onClick()\"\n (keydown.enter)=\"onKeyPressed($event)\"\n (keydown.space)=\"$event.preventDefault()\"\n (keyup.space)=\"onKeyPressed($event)\"\n >\n <po-icon\n *ngIf=\"icon && !removable\"\n class=\"po-tag-icon\"\n [p-icon]=\"!type ? icon : iconFromType\"\n [ngStyle]=\"\n !tagColor && inverse && !customTextColor\n ? { 'color': customColor }\n : !type && customTextColor\n ? { 'color': customTextColor }\n : ''\n \"\n >\n </po-icon>\n\n <div class=\"po-tag-value\">\n <span\n [ngStyle]=\"\n !tagColor && inverse && !customTextColor\n ? { 'color': customColor }\n : !type && customTextColor && !removable\n ? { 'color': customTextColor }\n : ''\n \"\n >{{ value }}</span\n >\n </div>\n\n <span\n *ngIf=\"removable\"\n [attr.aria-label]=\"setAriaLabel()\"\n class=\"po-tag-remove po-icon po-icon-close\"\n [class.po-clickable]=\"!disabled\"\n [tabindex]=\"!disabled ? 0 : -1\"\n [attr.role]=\"!disabled ? 'button' : ''\"\n (click)=\"onClose()\"\n (keydown.enter)=\"onClose()\"\n >\n </span>\n </div>\n </div>\n</div>\n" }]
2423
+ args: [{ selector: 'po-tag', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"po-tag-container\" [class.po-tag-container-horizontal]=\"tagOrientation\">\n <div *ngIf=\"label\" class=\"po-tag-title po-text-nowrap\">\n <span class=\"po-tag-label\">{{ tagOrientation ? label + ':' : label }}</span>\n </div>\n\n <div class=\"po-tag-sub-container\">\n <div\n #poTag\n class=\"po-tag\"\n [attr.role]=\"isClickable && !disabled ? 'button' : ''\"\n [class.po-clickable]=\"isClickable && !disabled && !removable\"\n [class.po-tag-inverse]=\"inverse && !type && !customTextColor && !removable\"\n [class.po-tag-removable]=\"removable\"\n [class.po-tag-disabled]=\"disabled && removable\"\n [ngClass]=\"tagColor\"\n [ngStyle]=\"styleTag()\"\n [tabindex]=\"isClickable && !removable ? 0 : -1\"\n (click)=\"onClick()\"\n (keydown.enter)=\"onKeyPressed($event)\"\n (keydown.space)=\"$event.preventDefault()\"\n (keyup.space)=\"onKeyPressed($event)\"\n >\n <po-icon\n *ngIf=\"icon && !removable\"\n class=\"po-tag-icon\"\n [p-icon]=\"!type ? icon : iconFromType\"\n [ngStyle]=\"\n !tagColor && inverse && !customTextColor\n ? { 'color': customColor }\n : !type && customTextColor\n ? { 'color': customTextColor }\n : ''\n \"\n >\n </po-icon>\n\n <div #tagContainer class=\"po-tag-value\" [p-tooltip]=\"getWidthTag() ? value : ''\" p-tooltip-position=\"top\">\n <span\n [ngStyle]=\"\n !tagColor && inverse && !customTextColor\n ? { 'color': customColor }\n : !type && customTextColor && !removable\n ? { 'color': customTextColor }\n : ''\n \"\n >{{ value }}</span\n >\n </div>\n\n <span\n #tagClose\n *ngIf=\"removable\"\n p-tooltip-position=\"top\"\n [p-tooltip]=\"literals.remove\"\n [attr.aria-label]=\"setAriaLabel()\"\n class=\"po-tag-remove po-icon po-icon-close\"\n [class.po-clickable]=\"!disabled\"\n [tabindex]=\"!disabled ? 0 : -1\"\n [attr.role]=\"!disabled ? 'button' : ''\"\n (click)=\"onClose()\"\n (keydown.enter)=\"onClose('enter')\"\n >\n </span>\n </div>\n </div>\n</div>\n" }]
2372
2424
  }], function () { return [{ type: i0.ElementRef }, { type: PoLanguageService }]; }, { tagContainer: [{
2373
2425
  type: ViewChild,
2374
2426
  args: ['tagContainer', { static: true }]
2427
+ }], tagClose: [{
2428
+ type: ViewChild,
2429
+ args: ['tagClose', { static: true }]
2430
+ }], poTag: [{
2431
+ type: ViewChild,
2432
+ args: ['poTag', { static: true }]
2375
2433
  }] }); })();
2376
2434
 
2377
2435
  /**
@@ -2423,11 +2481,11 @@ function PoAccordionItemBodyComponent_div_0_Template(rf, ctx) { if (rf & 1) {
2423
2481
  } if (rf & 2) {
2424
2482
  i0.ɵɵproperty("@toggleBody", undefined);
2425
2483
  } }
2426
- const _c0$1D = ["*"];
2484
+ const _c0$1C = ["*"];
2427
2485
  class PoAccordionItemBodyComponent {
2428
2486
  expanded = false;
2429
2487
  static ɵfac = function PoAccordionItemBodyComponent_Factory(t) { return new (t || PoAccordionItemBodyComponent)(); };
2430
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoAccordionItemBodyComponent, selectors: [["po-accordion-item-body"]], inputs: { expanded: ["p-expanded", "expanded"] }, ngContentSelectors: _c0$1D, decls: 1, vars: 1, consts: [["class", "po-accordion-item-body", 4, "ngIf"], [1, "po-accordion-item-body"], [1, "po-accordion-item-body-content"]], template: function PoAccordionItemBodyComponent_Template(rf, ctx) { if (rf & 1) {
2488
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoAccordionItemBodyComponent, selectors: [["po-accordion-item-body"]], inputs: { expanded: ["p-expanded", "expanded"] }, ngContentSelectors: _c0$1C, decls: 1, vars: 1, consts: [["class", "po-accordion-item-body", 4, "ngIf"], [1, "po-accordion-item-body"], [1, "po-accordion-item-body-content"]], template: function PoAccordionItemBodyComponent_Template(rf, ctx) { if (rf & 1) {
2431
2489
  i0.ɵɵprojectionDef();
2432
2490
  i0.ɵɵtemplate(0, PoAccordionItemBodyComponent_div_0_Template, 3, 1, "div", 0);
2433
2491
  } if (rf & 2) {
@@ -2562,7 +2620,7 @@ class PoAccordionService {
2562
2620
  function PoAccordionItemComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
2563
2621
  i0.ɵɵprojection(0);
2564
2622
  } }
2565
- const _c0$1C = ["*"];
2623
+ const _c0$1B = ["*"];
2566
2624
  /**
2567
2625
  * @description
2568
2626
  *
@@ -2691,7 +2749,7 @@ class PoAccordionItemComponent {
2691
2749
  } if (rf & 2) {
2692
2750
  let _t;
2693
2751
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templateRef = _t.first);
2694
- } }, inputs: { label: ["p-label", "label"], labelTag: ["p-label-tag", "labelTag"], disabledItem: ["p-disabled", "disabledItem", convertToBoolean], typeTag: ["p-type-tag", "typeTag"] }, outputs: { expandEvent: "p-expand", collapseEvent: "p-collapse" }, features: [i0.ɵɵInputTransformsFeature], ngContentSelectors: _c0$1C, decls: 1, vars: 0, template: function PoAccordionItemComponent_Template(rf, ctx) { if (rf & 1) {
2752
+ } }, inputs: { label: ["p-label", "label"], labelTag: ["p-label-tag", "labelTag"], disabledItem: ["p-disabled", "disabledItem", convertToBoolean], typeTag: ["p-type-tag", "typeTag"] }, outputs: { expandEvent: "p-expand", collapseEvent: "p-collapse" }, features: [i0.ɵɵInputTransformsFeature], ngContentSelectors: _c0$1B, decls: 1, vars: 0, template: function PoAccordionItemComponent_Template(rf, ctx) { if (rf & 1) {
2695
2753
  i0.ɵɵprojectionDef();
2696
2754
  i0.ɵɵtemplate(0, PoAccordionItemComponent_ng_template_0_Template, 1, 0, "ng-template");
2697
2755
  } }, encapsulation: 2 });
@@ -4555,6 +4613,10 @@ var PoKeyCodeEnum;
4555
4613
  PoKeyCodeEnum[PoKeyCodeEnum["space"] = 32] = "space";
4556
4614
  /** Tab */
4557
4615
  PoKeyCodeEnum[PoKeyCodeEnum["tab"] = 9] = "tab";
4616
+ /** Arrow Left */
4617
+ PoKeyCodeEnum[PoKeyCodeEnum["left"] = 37] = "left";
4618
+ /** Arrow Right */
4619
+ PoKeyCodeEnum[PoKeyCodeEnum["right"] = 39] = "right";
4558
4620
  })(PoKeyCodeEnum || (PoKeyCodeEnum = {}));
4559
4621
 
4560
4622
  /**
@@ -4818,7 +4880,7 @@ class PoLabelComponent {
4818
4880
  args: ['p-requirement']
4819
4881
  }] }); })();
4820
4882
 
4821
- const _c0$1B = ["checkboxLabel"];
4883
+ const _c0$1A = ["checkboxLabel"];
4822
4884
  function PoCheckboxComponent_po_label_4_Template(rf, ctx) { if (rf & 1) {
4823
4885
  i0.ɵɵelement(0, "po-label", 5);
4824
4886
  } if (rf & 2) {
@@ -4901,7 +4963,7 @@ class PoCheckboxComponent extends PoCheckboxBaseComponent {
4901
4963
  }
4902
4964
  static ɵfac = function PoCheckboxComponent_Factory(t) { return new (t || PoCheckboxComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
4903
4965
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCheckboxComponent, selectors: [["po-checkbox"]], viewQuery: function PoCheckboxComponent_Query(rf, ctx) { if (rf & 1) {
4904
- i0.ɵɵviewQuery(_c0$1B, 7);
4966
+ i0.ɵɵviewQuery(_c0$1A, 7);
4905
4967
  } if (rf & 2) {
4906
4968
  let _t;
4907
4969
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkboxLabel = _t.first);
@@ -4944,7 +5006,7 @@ class PoCheckboxComponent extends PoCheckboxBaseComponent {
4944
5006
  args: ['checkboxLabel', { static: true }]
4945
5007
  }] }); })();
4946
5008
 
4947
- const _c0$1A = ["itemList"];
5009
+ const _c0$1z = ["itemList"];
4948
5010
  function PoItemListComponent_div_1_po_icon_2_Template(rf, ctx) { if (rf & 1) {
4949
5011
  i0.ɵɵelement(0, "po-icon", 8);
4950
5012
  } if (rf & 2) {
@@ -5098,7 +5160,7 @@ class PoItemListComponent extends PoItemListBaseComponent {
5098
5160
  }
5099
5161
  static ɵfac = function PoItemListComponent_Factory(t) { return new (t || PoItemListComponent)(i0.ɵɵdirectiveInject(i1$1.DomSanitizer)); };
5100
5162
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoItemListComponent, selectors: [["po-item-list"]], viewQuery: function PoItemListComponent_Query(rf, ctx) { if (rf & 1) {
5101
- i0.ɵɵviewQuery(_c0$1A, 7);
5163
+ i0.ɵɵviewQuery(_c0$1z, 7);
5102
5164
  } if (rf & 2) {
5103
5165
  let _t;
5104
5166
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemList = _t.first);
@@ -5119,13 +5181,13 @@ class PoItemListComponent extends PoItemListBaseComponent {
5119
5181
  }
5120
5182
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoItemListComponent, [{
5121
5183
  type: Component,
5122
- args: [{ selector: 'po-item-list', template: "<ng-container [ngSwitch]=\"type\" (keydown)=\"onCheckboxItemEmit($event)\">\n <div\n *ngSwitchDefault\n #itemList\n [class.po-item-list__separator]=\"separator\"\n [class.po-item-list__disabled]=\"disabled || !visible\"\n [class.po-item-list__selected]=\"selected && !disabled\"\n [attr.aria-disabled]=\"disabled || !visible\"\n [attr.aria-label]=\"label\"\n [class.po-item-list__danger]=\"danger\"\n class=\"po-item-list po-item-list__action\"\n >\n <po-icon *ngIf=\"icon\" class=\"po-popup-icon-item po-icon\" [p-icon]=\"icon\"></po-icon>\n <span class=\"po-item-list-label\">{{ label }}</span>\n </div>\n <div\n *ngSwitchCase=\"'option'\"\n #itemList\n class=\"po-item-list po-item-list__option\"\n [class.po-item-list__separator]=\"separator\"\n [class.po-item-list__selected]=\"selected && !disabled\"\n [attr.aria-disabled]=\"disabled\"\n [attr.aria-label]=\"label\"\n (click)=\"onComboItem(item, $event)\"\n >\n <span *ngIf=\"!template\" class=\"po-item-list-label\" [innerHTML]=\"getLabelFormatted(label)\"></span>\n\n <ng-template [ngTemplateOutlet]=\"template?.templateRef\" [ngTemplateOutletContext]=\"{ $implicit: templateContext }\">\n </ng-template>\n </div>\n\n <div\n *ngSwitchCase=\"'check'\"\n class=\"po-item-list po-item-list__check\"\n [class.po-item-list__separator]=\"separator\"\n [class.po-item-list__selected]=\"selected && !disabled\"\n [class.po-item-list__disabled]=\"disabled\"\n [attr.aria-disabled]=\"disabled\"\n [attr.aria-label]=\"label\"\n (click)=\"onCheckboxItem()\"\n (keydown)=\"onCheckboxItemEmit($event)\"\n (keyup)=\"onCheckboxItemEmit($event)\"\n >\n <po-checkbox\n [p-disabled-tabindex]=\"true\"\n [p-checkboxValue]=\"checkboxValue === null ? 'mixed' : checkboxValue\"\n [p-disabled]=\"disabled\"\n (p-change)=\"onSelectItem({label})\"\n ></po-checkbox>\n\n <span class=\"po-item-list__label\" *ngIf=\"!template\">{{ label }}</span>\n\n <ng-template [ngTemplateOutlet]=\"template?.templateRef\" [ngTemplateOutletContext]=\"{ $implicit: templateContext }\">\n </ng-template>\n </div>\n</ng-container>\n" }]
5184
+ args: [{ selector: 'po-item-list', template: "<ng-container [ngSwitch]=\"type\" (keydown)=\"onCheckboxItemEmit($event)\">\n <div\n *ngSwitchDefault\n #itemList\n [class.po-item-list__separator]=\"separator\"\n [class.po-item-list__disabled]=\"disabled || !visible\"\n [class.po-item-list__selected]=\"selected && !disabled\"\n [attr.aria-disabled]=\"disabled || !visible\"\n [attr.aria-label]=\"label\"\n [class.po-item-list__danger]=\"danger\"\n class=\"po-item-list po-item-list__action\"\n >\n <po-icon *ngIf=\"icon\" class=\"po-popup-icon-item po-icon\" [p-icon]=\"icon\"></po-icon>\n <span class=\"po-item-list-label\">{{ label }}</span>\n </div>\n\n <div\n *ngSwitchCase=\"'option'\"\n #itemList\n class=\"po-item-list po-item-list__option\"\n [class.po-item-list__separator]=\"separator\"\n [class.po-item-list__selected]=\"selected && !disabled\"\n [attr.aria-disabled]=\"disabled\"\n [attr.aria-label]=\"label\"\n (click)=\"onComboItem(item, $event)\"\n >\n <span *ngIf=\"!template\" class=\"po-item-list-label\" [innerHTML]=\"getLabelFormatted(label)\"></span>\n\n <ng-template [ngTemplateOutlet]=\"template?.templateRef\" [ngTemplateOutletContext]=\"{ $implicit: templateContext }\">\n </ng-template>\n </div>\n\n <div\n *ngSwitchCase=\"'check'\"\n class=\"po-item-list po-item-list__check\"\n [class.po-item-list__separator]=\"separator\"\n [class.po-item-list__selected]=\"selected && !disabled\"\n [class.po-item-list__disabled]=\"disabled\"\n [attr.aria-disabled]=\"disabled\"\n [attr.aria-label]=\"label\"\n (click)=\"onCheckboxItem()\"\n (keydown)=\"onCheckboxItemEmit($event)\"\n (keyup)=\"onCheckboxItemEmit($event)\"\n >\n <po-checkbox\n [p-disabled-tabindex]=\"true\"\n [p-checkboxValue]=\"checkboxValue === null ? 'mixed' : checkboxValue\"\n [p-disabled]=\"disabled\"\n (p-change)=\"onSelectItem({label})\"\n ></po-checkbox>\n\n <span class=\"po-item-list__label\" *ngIf=\"!template\">{{ label }}</span>\n\n <ng-template [ngTemplateOutlet]=\"template?.templateRef\" [ngTemplateOutletContext]=\"{ $implicit: templateContext }\">\n </ng-template>\n </div>\n</ng-container>\n" }]
5123
5185
  }], function () { return [{ type: i1$1.DomSanitizer }]; }, { itemList: [{
5124
5186
  type: ViewChild,
5125
5187
  args: ['itemList', { static: true }]
5126
5188
  }] }); })();
5127
5189
 
5128
- const _c0$1z = ["inputElement"];
5190
+ const _c0$1y = ["inputElement"];
5129
5191
  /**
5130
5192
  * @docsPrivate
5131
5193
  *
@@ -5181,7 +5243,7 @@ class PoSearchListComponent {
5181
5243
  }
5182
5244
  static ɵfac = function PoSearchListComponent_Factory(t) { return new (t || PoSearchListComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
5183
5245
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoSearchListComponent, selectors: [["po-search-list"]], viewQuery: function PoSearchListComponent_Query(rf, ctx) { if (rf & 1) {
5184
- i0.ɵɵviewQuery(_c0$1z, 7, ElementRef);
5246
+ i0.ɵɵviewQuery(_c0$1y, 7, ElementRef);
5185
5247
  } if (rf & 2) {
5186
5248
  let _t;
5187
5249
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputElement = _t.first);
@@ -5217,7 +5279,7 @@ class PoSearchListComponent {
5217
5279
  args: ['p-placeholder']
5218
5280
  }] }); })();
5219
5281
 
5220
- const _c0$1y = ["listbox"];
5282
+ const _c0$1x = ["listbox"];
5221
5283
  const _c1$D = ["listboxItemList"];
5222
5284
  const _c2$g = ["searchElement"];
5223
5285
  function PoListBoxComponent_po_search_list_3_Template(rf, ctx) { if (rf & 1) {
@@ -5272,6 +5334,7 @@ function PoListBoxComponent_ng_container_4_li_4_Template(rf, ctx) { if (rf & 1)
5272
5334
  } if (rf & 2) {
5273
5335
  const item_r19 = ctx.$implicit;
5274
5336
  const ctx_r15 = i0.ɵɵnextContext(2);
5337
+ i0.ɵɵclassProp("po-listbox-item", ctx_r15.visible);
5275
5338
  i0.ɵɵproperty("cdkOption", item_r19[ctx_r15.fieldLabel])("cdkOptionDisabled", ctx_r15.returnBooleanValue(item_r19, "disabled") || ctx_r15.returnBooleanValue(item_r19, "visible") === false || item_r19.options);
5276
5339
  i0.ɵɵattribute("aria-selected", ctx_r15.isSelectedItem(item_r19) || item_r19.selected);
5277
5340
  i0.ɵɵadvance(1);
@@ -5283,7 +5346,7 @@ function PoListBoxComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
5283
5346
  i0.ɵɵelementContainerStart(0);
5284
5347
  i0.ɵɵelementStart(1, "ul", 10, 11);
5285
5348
  i0.ɵɵtemplate(3, PoListBoxComponent_ng_container_4_li_3_Template, 2, 4, "li", 12);
5286
- i0.ɵɵtemplate(4, PoListBoxComponent_ng_container_4_li_4_Template, 3, 5, "li", 13);
5349
+ i0.ɵɵtemplate(4, PoListBoxComponent_ng_container_4_li_4_Template, 3, 7, "li", 13);
5287
5350
  i0.ɵɵelementEnd();
5288
5351
  i0.ɵɵelementContainerEnd();
5289
5352
  } if (rf & 2) {
@@ -5490,7 +5553,7 @@ class PoListBoxComponent extends PoListBoxBaseComponent {
5490
5553
  }
5491
5554
  static ɵfac = function PoListBoxComponent_Factory(t) { return new (t || PoListBoxComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(PoLanguageService), i0.ɵɵdirectiveInject(i2.Router), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
5492
5555
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoListBoxComponent, selectors: [["po-listbox"]], viewQuery: function PoListBoxComponent_Query(rf, ctx) { if (rf & 1) {
5493
- i0.ɵɵviewQuery(_c0$1y, 7);
5556
+ i0.ɵɵviewQuery(_c0$1x, 7);
5494
5557
  i0.ɵɵviewQuery(_c1$D, 5);
5495
5558
  i0.ɵɵviewQuery(_c2$g, 5);
5496
5559
  } if (rf & 2) {
@@ -5498,7 +5561,7 @@ class PoListBoxComponent extends PoListBoxBaseComponent {
5498
5561
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listbox = _t.first);
5499
5562
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listboxItemList = _t.first);
5500
5563
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.searchElement = _t.first);
5501
- } }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c4$5, decls: 12, vars: 8, consts: [[1, "po-listbox", 3, "hidden"], ["listbox", ""], [3, "p-literals", "p-field-value", "p-placeholder", "p-change", 4, "ngIf"], [4, "ngIf", "ngIfElse"], ["class", "po-text-center", 4, "ngIf"], ["scrollLoadingTemplate", ""], ["defaultLoadingTemplate", ""], ["noDataTemplate", ""], [3, "p-literals", "p-field-value", "p-placeholder", "p-change"], ["searchElement", ""], ["cdkListbox", "", 1, "po-listbox-list", 3, "cdkListboxMultiple"], ["listboxItemList", ""], ["cdkOption", "selectAll", 3, "click", "keydown", 4, "ngIf"], ["class", "po-listbox-item", 3, "cdkOption", "cdkOptionDisabled", "click", "keydown", 4, "ngFor", "ngForOf"], ["cdkOption", "selectAll", 3, "click", "keydown"], ["p-type", "check", "p-value", "selectAll", 3, "p-selected", "p-label", "p-checkbox-value"], [1, "po-listbox-item", 3, "cdkOption", "cdkOptionDisabled", "click", "keydown"], ["class", "po-combo-item-title", 4, "ngIf"], [3, "p-disabled", "p-visible", "p-checkbox-value", "p-label", "p-value", "p-selected", "p-separator", "p-danger", "p-icon", "p-type", "p-item", "p-field-value", "p-field-label", "p-template", "p-template-context", "p-search-value", "p-filter-mode", "p-filtering", "p-should-mark-letter", "p-compare-cache", "p-combo-service", "p-selectcheckbox-item", "p-selectcombo-item", "p-select-item", 4, "ngIf"], [1, "po-combo-item-title"], [3, "p-disabled", "p-visible", "p-checkbox-value", "p-label", "p-value", "p-selected", "p-separator", "p-danger", "p-icon", "p-type", "p-item", "p-field-value", "p-field-label", "p-template", "p-template-context", "p-search-value", "p-filter-mode", "p-filtering", "p-should-mark-letter", "p-compare-cache", "p-combo-service", "p-selectcheckbox-item", "p-selectcombo-item", "p-select-item"], [1, "po-text-center"], [4, "ngIf", "ngIfThen", "ngIfElse"], [1, "po-listbox-container-loading-scroll"], [1, "po-listbox-container-loading-default"], ["class", "po-listbox-container-no-data po-text-center", 4, "ngIf"], [1, "po-listbox-container-no-data", "po-text-center"]], template: function PoListBoxComponent_Template(rf, ctx) { if (rf & 1) {
5564
+ } }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c4$5, decls: 12, vars: 8, consts: [[1, "po-listbox", 3, "hidden"], ["listbox", ""], [3, "p-literals", "p-field-value", "p-placeholder", "p-change", 4, "ngIf"], [4, "ngIf", "ngIfElse"], ["class", "po-text-center", 4, "ngIf"], ["scrollLoadingTemplate", ""], ["defaultLoadingTemplate", ""], ["noDataTemplate", ""], [3, "p-literals", "p-field-value", "p-placeholder", "p-change"], ["searchElement", ""], ["cdkListbox", "", 1, "po-listbox-list", 3, "cdkListboxMultiple"], ["listboxItemList", ""], ["cdkOption", "selectAll", 3, "click", "keydown", 4, "ngIf"], [3, "po-listbox-item", "cdkOption", "cdkOptionDisabled", "click", "keydown", 4, "ngFor", "ngForOf"], ["cdkOption", "selectAll", 3, "click", "keydown"], ["p-type", "check", "p-value", "selectAll", 3, "p-selected", "p-label", "p-checkbox-value"], [3, "cdkOption", "cdkOptionDisabled", "click", "keydown"], ["class", "po-combo-item-title", 4, "ngIf"], [3, "p-disabled", "p-visible", "p-checkbox-value", "p-label", "p-value", "p-selected", "p-separator", "p-danger", "p-icon", "p-type", "p-item", "p-field-value", "p-field-label", "p-template", "p-template-context", "p-search-value", "p-filter-mode", "p-filtering", "p-should-mark-letter", "p-compare-cache", "p-combo-service", "p-selectcheckbox-item", "p-selectcombo-item", "p-select-item", 4, "ngIf"], [1, "po-combo-item-title"], [3, "p-disabled", "p-visible", "p-checkbox-value", "p-label", "p-value", "p-selected", "p-separator", "p-danger", "p-icon", "p-type", "p-item", "p-field-value", "p-field-label", "p-template", "p-template-context", "p-search-value", "p-filter-mode", "p-filtering", "p-should-mark-letter", "p-compare-cache", "p-combo-service", "p-selectcheckbox-item", "p-selectcombo-item", "p-select-item"], [1, "po-text-center"], [4, "ngIf", "ngIfThen", "ngIfElse"], [1, "po-listbox-container-loading-scroll"], [1, "po-listbox-container-loading-default"], ["class", "po-listbox-container-no-data po-text-center", 4, "ngIf"], [1, "po-listbox-container-no-data", "po-text-center"]], template: function PoListBoxComponent_Template(rf, ctx) { if (rf & 1) {
5502
5565
  i0.ɵɵprojectionDef(_c3$c);
5503
5566
  i0.ɵɵelementStart(0, "div", 0, 1);
5504
5567
  i0.ɵɵprojection(2);
@@ -5524,7 +5587,7 @@ class PoListBoxComponent extends PoListBoxBaseComponent {
5524
5587
  }
5525
5588
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoListBoxComponent, [{
5526
5589
  type: Component,
5527
- args: [{ selector: 'po-listbox', template: "<div\n #listbox\n class=\"po-listbox\"\n [class.po-listbox-check]=\"type === 'check' || type === 'option'\"\n [attr.data-type]=\"type\"\n [hidden]=\"visible\"\n>\n <ng-content select=\"[p-popup-header-template]\"></ng-content>\n\n <po-search-list\n #searchElement\n *ngIf=\"!hideSearch && type === 'check'\"\n (p-change)=\"callChangeSearch($event)\"\n [p-literals]=\"literalSearch\"\n [p-field-value]=\"fieldValueSearch\"\n [p-placeholder]=\"placeholderSearch\"\n ></po-search-list>\n\n <ng-container *ngIf=\"checkTemplate(); else noDataTemplate\">\n <ul #listboxItemList cdkListbox [cdkListboxMultiple]=\"type === 'check'\" class=\"po-listbox-list\">\n <li\n cdkOption=\"selectAll\"\n *ngIf=\"type === 'check' && items.length && !searchElement?.inputValue && !hideSelectAll\"\n [attr.aria-checked]=\"checkboxAllValue === null ? 'mixed' : checkboxAllValue\"\n (click)=\"changeAll.emit()\"\n (keydown)=\"changeAllEmit($event)\"\n >\n <po-item-list\n [p-selected]=\"checkboxAllValue\"\n p-type=\"check\"\n [p-label]=\"literals.selectAll\"\n p-value=\"selectAll\"\n [p-checkbox-value]=\"checkboxAllValue\"\n >\n </po-item-list>\n </li>\n <li\n class=\"po-listbox-item\"\n *ngFor=\"let item of items\"\n [cdkOption]=\"item[fieldLabel]\"\n [cdkOptionDisabled]=\"\n returnBooleanValue(item, 'disabled') || returnBooleanValue(item, 'visible') === false || item.options\n \"\n [attr.aria-selected]=\"isSelectedItem(item) || item.selected\"\n (click)=\"onSelectItem(item)\"\n (keydown)=\"onKeyDown(item, $event)\"\n >\n <label *ngIf=\"item.options\" class=\"po-combo-item-title\">\n {{ item.label }}\n </label>\n <po-item-list\n *ngIf=\"returnBooleanValue(item, 'visible') !== false && !item.options\"\n [p-disabled]=\"returnBooleanValue(item, 'disabled')\"\n [p-visible]=\"returnBooleanValue(item, 'visible')\"\n [p-checkbox-value]=\"isSelectedItem(item)\"\n [attr.data-item-list]=\"item | json\"\n [p-label]=\"item[fieldLabel]\"\n [p-value]=\"item[fieldValue]\"\n [p-selected]=\"isSelectedItem(item) || item.selected\"\n [p-separator]=\"item.separator\"\n [p-danger]=\"item.danger || item.type === 'danger'\"\n [p-icon]=\"item.icon\"\n [p-type]=\"type\"\n [p-item]=\"item\"\n [p-field-value]=\"fieldValue\"\n [p-field-label]=\"fieldLabel\"\n [p-template]=\"template\"\n [p-template-context]=\"item\"\n (p-selectcheckbox-item)=\"checkboxClicked($event)\"\n (p-selectcombo-item)=\"optionClicked($event)\"\n (p-select-item)=\"onSelectCheckBoxItem(item)\"\n [p-search-value]=\"searchValue\"\n [p-filter-mode]=\"filterMode\"\n [p-filtering]=\"isFiltering\"\n [p-should-mark-letter]=\"shouldMarkLetters\"\n [p-compare-cache]=\"compareCache\"\n [p-combo-service]=\"comboService\"\n ></po-item-list>\n </li>\n </ul>\n </ng-container>\n\n <div *ngIf=\"isServerSearching && type !== 'action'\" class=\"po-text-center\">\n <ng-container *ngIf=\"infiniteLoading; then scrollLoadingTemplate; else defaultLoadingTemplate\"></ng-container>\n </div>\n\n <ng-template #scrollLoadingTemplate>\n <po-loading-overlay class=\"po-listbox-container-loading-scroll\"></po-loading-overlay>\n </ng-template>\n\n <ng-template #defaultLoadingTemplate>\n <po-loading class=\"po-listbox-container-loading-default\"></po-loading>\n </ng-template>\n\n <ng-template #noDataTemplate>\n <div\n *ngIf=\"!items.length && !isServerSearching && type !== 'action'\"\n class=\"po-listbox-container-no-data po-text-center\"\n >\n <span> {{ literals.noItems }}</span>\n </div>\n </ng-template>\n</div>\n" }]
5590
+ args: [{ selector: 'po-listbox', template: "<div\n #listbox\n class=\"po-listbox\"\n [class.po-listbox-check]=\"type === 'check' || type === 'option'\"\n [attr.data-type]=\"type\"\n [hidden]=\"visible\"\n>\n <ng-content select=\"[p-popup-header-template]\"></ng-content>\n\n <po-search-list\n #searchElement\n *ngIf=\"!hideSearch && type === 'check'\"\n (p-change)=\"callChangeSearch($event)\"\n [p-literals]=\"literalSearch\"\n [p-field-value]=\"fieldValueSearch\"\n [p-placeholder]=\"placeholderSearch\"\n ></po-search-list>\n\n <ng-container *ngIf=\"checkTemplate(); else noDataTemplate\">\n <ul #listboxItemList cdkListbox [cdkListboxMultiple]=\"type === 'check'\" class=\"po-listbox-list\">\n <li\n cdkOption=\"selectAll\"\n *ngIf=\"type === 'check' && items.length && !searchElement?.inputValue && !hideSelectAll\"\n [attr.aria-checked]=\"checkboxAllValue === null ? 'mixed' : checkboxAllValue\"\n (click)=\"changeAll.emit()\"\n (keydown)=\"changeAllEmit($event)\"\n >\n <po-item-list\n [p-selected]=\"checkboxAllValue\"\n p-type=\"check\"\n [p-label]=\"literals.selectAll\"\n p-value=\"selectAll\"\n [p-checkbox-value]=\"checkboxAllValue\"\n >\n </po-item-list>\n </li>\n <li\n [class.po-listbox-item]=\"visible\"\n *ngFor=\"let item of items\"\n [cdkOption]=\"item[fieldLabel]\"\n [cdkOptionDisabled]=\"\n returnBooleanValue(item, 'disabled') || returnBooleanValue(item, 'visible') === false || item.options\n \"\n [attr.aria-selected]=\"isSelectedItem(item) || item.selected\"\n (click)=\"onSelectItem(item)\"\n (keydown)=\"onKeyDown(item, $event)\"\n >\n <label *ngIf=\"item.options\" class=\"po-combo-item-title\">\n {{ item.label }}\n </label>\n <po-item-list\n *ngIf=\"returnBooleanValue(item, 'visible') !== false && !item.options\"\n [p-disabled]=\"returnBooleanValue(item, 'disabled')\"\n [p-visible]=\"returnBooleanValue(item, 'visible')\"\n [p-checkbox-value]=\"isSelectedItem(item)\"\n [attr.data-item-list]=\"item | json\"\n [p-label]=\"item[fieldLabel]\"\n [p-value]=\"item[fieldValue]\"\n [p-selected]=\"isSelectedItem(item) || item.selected\"\n [p-separator]=\"item.separator\"\n [p-danger]=\"item.danger || item.type === 'danger'\"\n [p-icon]=\"item.icon\"\n [p-type]=\"type\"\n [p-item]=\"item\"\n [p-field-value]=\"fieldValue\"\n [p-field-label]=\"fieldLabel\"\n [p-template]=\"template\"\n [p-template-context]=\"item\"\n (p-selectcheckbox-item)=\"checkboxClicked($event)\"\n (p-selectcombo-item)=\"optionClicked($event)\"\n (p-select-item)=\"onSelectCheckBoxItem(item)\"\n [p-search-value]=\"searchValue\"\n [p-filter-mode]=\"filterMode\"\n [p-filtering]=\"isFiltering\"\n [p-should-mark-letter]=\"shouldMarkLetters\"\n [p-compare-cache]=\"compareCache\"\n [p-combo-service]=\"comboService\"\n ></po-item-list>\n </li>\n </ul>\n </ng-container>\n\n <div *ngIf=\"isServerSearching && type !== 'action'\" class=\"po-text-center\">\n <ng-container *ngIf=\"infiniteLoading; then scrollLoadingTemplate; else defaultLoadingTemplate\"></ng-container>\n </div>\n\n <ng-template #scrollLoadingTemplate>\n <po-loading-overlay class=\"po-listbox-container-loading-scroll\"></po-loading-overlay>\n </ng-template>\n\n <ng-template #defaultLoadingTemplate>\n <po-loading class=\"po-listbox-container-loading-default\"></po-loading>\n </ng-template>\n\n <ng-template #noDataTemplate>\n <div\n *ngIf=\"!items.length && !isServerSearching && type !== 'action'\"\n class=\"po-listbox-container-no-data po-text-center\"\n >\n <span> {{ literals.noItems }}</span>\n </div>\n </ng-template>\n</div>\n" }]
5528
5591
  }], function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: PoLanguageService }, { type: i2.Router }, { type: i0.ChangeDetectorRef }]; }, { listbox: [{
5529
5592
  type: ViewChild,
5530
5593
  args: ['listbox', { static: true }]
@@ -5536,7 +5599,7 @@ class PoListBoxComponent extends PoListBoxBaseComponent {
5536
5599
  args: ['searchElement']
5537
5600
  }] }); })();
5538
5601
 
5539
- const _c0$1x = ["popupRef"];
5602
+ const _c0$1w = ["popupRef"];
5540
5603
  const _c1$C = ["listbox"];
5541
5604
  const _c2$f = ["poListBoxRef"];
5542
5605
  function PoPopupComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
@@ -5727,7 +5790,7 @@ class PoPopupComponent extends PoPopupBaseComponent {
5727
5790
  }
5728
5791
  static ɵfac = function PoPopupComponent_Factory(t) { return new (t || PoPopupComponent)(i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i2.Router), i0.ɵɵdirectiveInject(PoControlPositionService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
5729
5792
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPopupComponent, selectors: [["po-popup"]], viewQuery: function PoPopupComponent_Query(rf, ctx) { if (rf & 1) {
5730
- i0.ɵɵviewQuery(_c0$1x, 5, ElementRef);
5793
+ i0.ɵɵviewQuery(_c0$1w, 5, ElementRef);
5731
5794
  i0.ɵɵviewQuery(_c1$C, 5, ElementRef);
5732
5795
  i0.ɵɵviewQuery(_c2$f, 5);
5733
5796
  } if (rf & 2) {
@@ -5928,7 +5991,7 @@ class PoBreadcrumbFavoriteComponent {
5928
5991
  args: ['p-hidden-literal']
5929
5992
  }] }); })();
5930
5993
 
5931
- const _c0$1w = ["breadcrumb"];
5994
+ const _c0$1v = ["breadcrumb"];
5932
5995
  const _c1$B = ["dropdownIcon"];
5933
5996
  const _c2$e = ["target"];
5934
5997
  const _c3$a = ["popup"];
@@ -6198,7 +6261,7 @@ class PoBreadcrumbComponent extends PoBreadcrumbBaseComponent {
6198
6261
  }
6199
6262
  static ɵfac = function PoBreadcrumbComponent_Factory(t) { return new (t || PoBreadcrumbComponent)(i0.ɵɵdirectiveInject(i0.IterableDiffers), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(PoLanguageService)); };
6200
6263
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoBreadcrumbComponent, selectors: [["po-breadcrumb"]], viewQuery: function PoBreadcrumbComponent_Query(rf, ctx) { if (rf & 1) {
6201
- i0.ɵɵviewQuery(_c0$1w, 7, ElementRef);
6264
+ i0.ɵɵviewQuery(_c0$1v, 7, ElementRef);
6202
6265
  i0.ɵɵviewQuery(_c1$B, 5, ElementRef);
6203
6266
  i0.ɵɵviewQuery(_c2$e, 5, ElementRef);
6204
6267
  i0.ɵɵviewQuery(_c3$a, 5);
@@ -6626,7 +6689,7 @@ class PoButtonBaseComponent {
6626
6689
  args: ['p-aria-label']
6627
6690
  }] }); })();
6628
6691
 
6629
- const _c0$1v = ["button"];
6692
+ const _c0$1u = ["button"];
6630
6693
  function PoButtonComponent_div_2_Template(rf, ctx) { if (rf & 1) {
6631
6694
  i0.ɵɵelementStart(0, "div", 5);
6632
6695
  i0.ɵɵelement(1, "po-loading-icon", 6);
@@ -6700,7 +6763,7 @@ class PoButtonComponent extends PoButtonBaseComponent {
6700
6763
  }
6701
6764
  static ɵfac = /*@__PURE__*/ function () { let ɵPoButtonComponent_BaseFactory; return function PoButtonComponent_Factory(t) { return (ɵPoButtonComponent_BaseFactory || (ɵPoButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(PoButtonComponent)))(t || PoButtonComponent); }; }();
6702
6765
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoButtonComponent, selectors: [["po-button"]], viewQuery: function PoButtonComponent_Query(rf, ctx) { if (rf & 1) {
6703
- i0.ɵɵviewQuery(_c0$1v, 7);
6766
+ i0.ɵɵviewQuery(_c0$1u, 7);
6704
6767
  } if (rf & 2) {
6705
6768
  let _t;
6706
6769
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.buttonElement = _t.first);
@@ -7626,7 +7689,7 @@ function PoCalendarHeaderComponent_span_4_Template(rf, ctx) { if (rf & 1) {
7626
7689
  i0.ɵɵlistener("click", function PoCalendarHeaderComponent_span_4_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.next.emit()); });
7627
7690
  i0.ɵɵelementEnd();
7628
7691
  } }
7629
- const _c0$1u = ["*"];
7692
+ const _c0$1t = ["*"];
7630
7693
  class PoCalendarHeaderComponent {
7631
7694
  hidePrevious = false;
7632
7695
  hideNext = false;
@@ -7634,7 +7697,7 @@ class PoCalendarHeaderComponent {
7634
7697
  next = new EventEmitter();
7635
7698
  constructor() { }
7636
7699
  static ɵfac = function PoCalendarHeaderComponent_Factory(t) { return new (t || PoCalendarHeaderComponent)(); };
7637
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCalendarHeaderComponent, selectors: [["po-calendar-header"]], inputs: { hidePrevious: ["p-hide-previous", "hidePrevious"], hideNext: ["p-hide-next", "hideNext"] }, outputs: { previous: "p-previous", next: "p-next" }, ngContentSelectors: _c0$1u, decls: 5, vars: 2, consts: [[1, "po-calendar-header"], ["class", "po-calendar-header-left po-icon po-icon-arrow-left", 3, "click", 4, "ngIf"], ["attr-calendar", "", 1, "po-calendar-header-title"], ["class", "po-calendar-header-right po-icon po-icon-arrow-right", 3, "click", 4, "ngIf"], [1, "po-calendar-header-left", "po-icon", "po-icon-arrow-left", 3, "click"], [1, "po-calendar-header-right", "po-icon", "po-icon-arrow-right", 3, "click"]], template: function PoCalendarHeaderComponent_Template(rf, ctx) { if (rf & 1) {
7700
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCalendarHeaderComponent, selectors: [["po-calendar-header"]], inputs: { hidePrevious: ["p-hide-previous", "hidePrevious"], hideNext: ["p-hide-next", "hideNext"] }, outputs: { previous: "p-previous", next: "p-next" }, ngContentSelectors: _c0$1t, decls: 5, vars: 2, consts: [[1, "po-calendar-header"], ["class", "po-calendar-header-left po-icon po-icon-arrow-left", 3, "click", 4, "ngIf"], ["attr-calendar", "", 1, "po-calendar-header-title"], ["class", "po-calendar-header-right po-icon po-icon-arrow-right", 3, "click", 4, "ngIf"], [1, "po-calendar-header-left", "po-icon", "po-icon-arrow-left", 3, "click"], [1, "po-calendar-header-right", "po-icon", "po-icon-arrow-right", 3, "click"]], template: function PoCalendarHeaderComponent_Template(rf, ctx) { if (rf & 1) {
7638
7701
  i0.ɵɵprojectionDef();
7639
7702
  i0.ɵɵelementStart(0, "div", 0);
7640
7703
  i0.ɵɵtemplate(1, PoCalendarHeaderComponent_span_1_Template, 1, 0, "span", 1);
@@ -8139,7 +8202,7 @@ function PoCalendarComponent_ng_template_1_ng_container_1_Template(rf, ctx) { if
8139
8202
  function PoCalendarComponent_ng_template_1_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
8140
8203
  i0.ɵɵelementContainer(0);
8141
8204
  } }
8142
- const _c0$1t = function () { return { partType: "end" }; };
8205
+ const _c0$1s = function () { return { partType: "end" }; };
8143
8206
  function PoCalendarComponent_ng_template_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
8144
8207
  i0.ɵɵelementContainerStart(0);
8145
8208
  i0.ɵɵtemplate(1, PoCalendarComponent_ng_template_1_ng_container_2_ng_container_1_Template, 1, 0, "ng-container", 5);
@@ -8148,7 +8211,7 @@ function PoCalendarComponent_ng_template_1_ng_container_2_Template(rf, ctx) { if
8148
8211
  i0.ɵɵnextContext(2);
8149
8212
  const _r5 = i0.ɵɵreference(6);
8150
8213
  i0.ɵɵadvance(1);
8151
- i0.ɵɵproperty("ngTemplateOutlet", _r5)("ngTemplateOutletContext", i0.ɵɵpureFunction0(2, _c0$1t));
8214
+ i0.ɵɵproperty("ngTemplateOutlet", _r5)("ngTemplateOutletContext", i0.ɵɵpureFunction0(2, _c0$1s));
8152
8215
  } }
8153
8216
  const _c1$A = function () { return { partType: "start" }; };
8154
8217
  function PoCalendarComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
@@ -8602,7 +8665,7 @@ class PoChartMathsService {
8602
8665
  }]
8603
8666
  }], null, null); })();
8604
8667
 
8605
- const _c0$1s = ["chartLine"];
8668
+ const _c0$1r = ["chartLine"];
8606
8669
  class PoChartLineBaseComponent {
8607
8670
  mathsService;
8608
8671
  renderer;
@@ -8741,7 +8804,7 @@ class PoChartLineBaseComponent {
8741
8804
  }
8742
8805
  static ɵfac = function PoChartLineBaseComponent_Factory(t) { return new (t || PoChartLineBaseComponent)(i0.ɵɵdirectiveInject(PoChartMathsService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
8743
8806
  static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoChartLineBaseComponent, viewQuery: function PoChartLineBaseComponent_Query(rf, ctx) { if (rf & 1) {
8744
- i0.ɵɵviewQuery(_c0$1s, 5);
8807
+ i0.ɵɵviewQuery(_c0$1r, 5);
8745
8808
  } if (rf & 2) {
8746
8809
  let _t;
8747
8810
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.chartLine = _t.first);
@@ -8781,7 +8844,7 @@ class PoChartLineBaseComponent {
8781
8844
  args: ['p-series']
8782
8845
  }] }); })();
8783
8846
 
8784
- const _c0$1r = ["chartPath"];
8847
+ const _c0$1q = ["chartPath"];
8785
8848
  const _c1$z = ["po-chart-path", ""];
8786
8849
  const pathDashoffsetDefaultWidth = 0;
8787
8850
  class PoChartPathComponent {
@@ -8827,7 +8890,7 @@ class PoChartPathComponent {
8827
8890
  }
8828
8891
  static ɵfac = function PoChartPathComponent_Factory(t) { return new (t || PoChartPathComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
8829
8892
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartPathComponent, selectors: [["", "po-chart-path", ""]], viewQuery: function PoChartPathComponent_Query(rf, ctx) { if (rf & 1) {
8830
- i0.ɵɵviewQuery(_c0$1r, 7);
8893
+ i0.ɵɵviewQuery(_c0$1q, 7);
8831
8894
  } if (rf & 2) {
8832
8895
  let _t;
8833
8896
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.chartPath = _t.first);
@@ -8863,7 +8926,7 @@ class PoChartPathComponent {
8863
8926
  args: ['p-animate']
8864
8927
  }] }); })();
8865
8928
 
8866
- const _c0$1q = ["po-chart-series-point", ""];
8929
+ const _c0$1p = ["po-chart-series-point", ""];
8867
8930
  function PoChartSeriesPointComponent__svg_circle_0_Template(rf, ctx) { if (rf & 1) {
8868
8931
  const _r3 = i0.ɵɵgetCurrentView();
8869
8932
  i0.ɵɵnamespaceSVG();
@@ -8949,7 +9012,7 @@ class PoChartSeriesPointComponent {
8949
9012
  }
8950
9013
  }
8951
9014
  static ɵfac = function PoChartSeriesPointComponent_Factory(t) { return new (t || PoChartSeriesPointComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
8952
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartSeriesPointComponent, selectors: [["", "po-chart-series-point", ""]], inputs: { animate: ["p-animate", "animate"], isActive: ["p-is-active", "isActive", convertToBoolean], chartLine: ["p-chart-line", "chartLine", convertToBoolean], relativeTo: ["p-relative-to", "relativeTo"], color: ["p-color", "color"], coordinates: ["p-coordinates", "coordinates"] }, outputs: { pointClick: "p-point-click", pointHover: "p-point-hover" }, features: [i0.ɵɵInputTransformsFeature], attrs: _c0$1q, decls: 2, vars: 4, consts: [["p-tooltip-position", "top", "class", "po-chart-line-point", 3, "p-tooltip", "p-append-in-body", "p-display-tooltip", "class", "po-chart-active-point", "click", "mouseenter", "mouseleave", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["p-tooltip-position", "top", 1, "po-chart-line-point", 3, "p-tooltip", "p-append-in-body", "p-display-tooltip", "click", "mouseenter", "mouseleave"]], template: function PoChartSeriesPointComponent_Template(rf, ctx) { if (rf & 1) {
9015
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartSeriesPointComponent, selectors: [["", "po-chart-series-point", ""]], inputs: { animate: ["p-animate", "animate"], isActive: ["p-is-active", "isActive", convertToBoolean], chartLine: ["p-chart-line", "chartLine", convertToBoolean], relativeTo: ["p-relative-to", "relativeTo"], color: ["p-color", "color"], coordinates: ["p-coordinates", "coordinates"] }, outputs: { pointClick: "p-point-click", pointHover: "p-point-hover" }, features: [i0.ɵɵInputTransformsFeature], attrs: _c0$1p, decls: 2, vars: 4, consts: [["p-tooltip-position", "top", "class", "po-chart-line-point", 3, "p-tooltip", "p-append-in-body", "p-display-tooltip", "class", "po-chart-active-point", "click", "mouseenter", "mouseleave", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["p-tooltip-position", "top", 1, "po-chart-line-point", 3, "p-tooltip", "p-append-in-body", "p-display-tooltip", "click", "mouseenter", "mouseleave"]], template: function PoChartSeriesPointComponent_Template(rf, ctx) { if (rf & 1) {
8953
9016
  i0.ɵɵtemplate(0, PoChartSeriesPointComponent__svg_circle_0_Template, 1, 11, "circle", 0);
8954
9017
  i0.ɵɵpipe(1, "async");
8955
9018
  } if (rf & 2) {
@@ -8985,7 +9048,7 @@ class PoChartSeriesPointComponent {
8985
9048
  args: ['p-coordinates']
8986
9049
  }] }); })();
8987
9050
 
8988
- const _c0$1p = ["po-chart-area", ""];
9051
+ const _c0$1o = ["po-chart-area", ""];
8989
9052
  function PoChartAreaComponent__svg_g_2_Template(rf, ctx) { if (rf & 1) {
8990
9053
  const _r5 = i0.ɵɵgetCurrentView();
8991
9054
  i0.ɵɵnamespaceSVG();
@@ -9072,7 +9135,7 @@ class PoChartAreaComponent extends PoChartLineBaseComponent {
9072
9135
  return undefined;
9073
9136
  }
9074
9137
  static ɵfac = function PoChartAreaComponent_Factory(t) { return new (t || PoChartAreaComponent)(i0.ɵɵdirectiveInject(PoChartMathsService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
9075
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartAreaComponent, selectors: [["", "po-chart-area", ""]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$1p, decls: 3, vars: 2, consts: [["chartLine", ""], [3, "class", "mouseenter", "mouseleave", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "mouseenter", "mouseleave"], ["po-chart-path", "", 3, "p-chart-line", "p-animate", "p-color", "p-coordinates", "p-is-active"], ["po-chart-series-point", "", 3, "p-animate", "p-chart-line", "p-color", "p-coordinates", "p-is-active", "p-relative-to", "p-point-click", "p-point-hover"]], template: function PoChartAreaComponent_Template(rf, ctx) { if (rf & 1) {
9138
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartAreaComponent, selectors: [["", "po-chart-area", ""]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$1o, decls: 3, vars: 2, consts: [["chartLine", ""], [3, "class", "mouseenter", "mouseleave", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "mouseenter", "mouseleave"], ["po-chart-path", "", 3, "p-chart-line", "p-animate", "p-color", "p-coordinates", "p-is-active"], ["po-chart-series-point", "", 3, "p-animate", "p-chart-line", "p-color", "p-coordinates", "p-is-active", "p-relative-to", "p-point-click", "p-point-hover"]], template: function PoChartAreaComponent_Template(rf, ctx) { if (rf & 1) {
9076
9139
  i0.ɵɵnamespaceSVG();
9077
9140
  i0.ɵɵelementStart(0, "g", null, 0);
9078
9141
  i0.ɵɵtemplate(2, PoChartAreaComponent__svg_g_2_Template, 3, 15, "g", 1);
@@ -9087,7 +9150,7 @@ class PoChartAreaComponent extends PoChartLineBaseComponent {
9087
9150
  args: [{ selector: '[po-chart-area]', template: "<svg:g #chartLine>\n\n <svg:g *ngFor=\"let item of seriesPathsCoordinates; let i = index; trackBy: trackBy\"\n [class]=\"'po-chart-line-path-group-' + i\"\n (mouseenter)=\"onEnter(i)\"\n (mouseleave)=\"onLeave(i)\"\n >\n <!-- SERIES PATHS -->\n <svg:g po-chart-path\n [p-chart-line]=\"chartType === 'line'\"\n [attr.key]=\"'po-chart-line-path-' + i\"\n [p-animate]=\"animate\"\n [p-color]=\"item.color\" \n [p-coordinates]=\"item?.coordinates\"\n [p-is-active]=\"item.isActive\"\n >\n </svg:g>\n\n <!-- SERIES POINTS -->\n <svg:g po-chart-series-point\n [p-animate]=\"animate\"\n [p-chart-line]=\"chartType === 'line'\"\n [p-color]=\"item.color\"\n [p-coordinates]=\"seriesPointsCoordinates[i]\"\n [p-is-active]=\"activeTooltip\"\n [p-relative-to]=\"'po-chart-line-path-group-' + i\" \n [attr.key]=\"'po-chart-line-path-points-group-' + i\"\n (p-point-click)=\"onSeriePointClick($event)\"\n (p-point-hover)=\"onSeriePointHover($event)\"\n ></svg:g>\n </svg:g>\n\n</svg:g>" }]
9088
9151
  }], function () { return [{ type: PoChartMathsService }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, null); })();
9089
9152
 
9090
- const _c0$1o = ["po-chart-axis-path", ""];
9153
+ const _c0$1n = ["po-chart-axis-path", ""];
9091
9154
  function PoChartAxisPathComponent__svg_path_1_Template(rf, ctx) { if (rf & 1) {
9092
9155
  i0.ɵɵnamespaceSVG();
9093
9156
  i0.ɵɵelement(0, "path", 1);
@@ -9110,7 +9173,7 @@ class PoChartAxisPathComponent {
9110
9173
  return index;
9111
9174
  }
9112
9175
  static ɵfac = function PoChartAxisPathComponent_Factory(t) { return new (t || PoChartAxisPathComponent)(); };
9113
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartAxisPathComponent, selectors: [["", "po-chart-axis-path", ""]], inputs: { axisXCoordinates: ["p-axis-x-coordinates", "axisXCoordinates"], axisYCoordinates: ["p-axis-y-coordinates", "axisYCoordinates"] }, attrs: _c0$1o, decls: 4, vars: 4, consts: [["class", "po-chart-axis-path", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-chart-axis-path"]], template: function PoChartAxisPathComponent_Template(rf, ctx) { if (rf & 1) {
9176
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartAxisPathComponent, selectors: [["", "po-chart-axis-path", ""]], inputs: { axisXCoordinates: ["p-axis-x-coordinates", "axisXCoordinates"], axisYCoordinates: ["p-axis-y-coordinates", "axisYCoordinates"] }, attrs: _c0$1n, decls: 4, vars: 4, consts: [["class", "po-chart-axis-path", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-chart-axis-path"]], template: function PoChartAxisPathComponent_Template(rf, ctx) { if (rf & 1) {
9114
9177
  i0.ɵɵnamespaceSVG();
9115
9178
  i0.ɵɵelementStart(0, "g");
9116
9179
  i0.ɵɵtemplate(1, PoChartAxisPathComponent__svg_path_1_Template, 1, 1, "path", 0);
@@ -9136,7 +9199,7 @@ class PoChartAxisPathComponent {
9136
9199
  args: ['p-axis-y-coordinates']
9137
9200
  }] }); })();
9138
9201
 
9139
- const _c0$1n = ["po-chart-axis-label", ""];
9202
+ const _c0$1m = ["po-chart-axis-label", ""];
9140
9203
  function PoChartAxisLabelComponent__svg_text_1_Template(rf, ctx) { if (rf & 1) {
9141
9204
  i0.ɵɵnamespaceSVG();
9142
9205
  i0.ɵɵelementStart(0, "text", 2);
@@ -9171,7 +9234,7 @@ class PoChartAxisLabelComponent {
9171
9234
  return index;
9172
9235
  }
9173
9236
  static ɵfac = function PoChartAxisLabelComponent_Factory(t) { return new (t || PoChartAxisLabelComponent)(); };
9174
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartAxisLabelComponent, selectors: [["", "po-chart-axis-label", ""]], inputs: { alignByTheCorners: ["p-align-by-the-corners", "alignByTheCorners"], axisXLabelCoordinates: ["p-axis-x-label-coordinates", "axisXLabelCoordinates"], axisYLabelCoordinates: ["p-axis-y-label-coordinates", "axisYLabelCoordinates"], type: ["p-type", "type"] }, attrs: _c0$1n, decls: 4, vars: 4, consts: [["class", "po-chart-axis-x-label", "dominant-baseline", "middle", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "po-chart-axis-y-label", 3, "po-chart-centered-label", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["dominant-baseline", "middle", 1, "po-chart-axis-x-label"], [1, "po-chart-axis-y-label"]], template: function PoChartAxisLabelComponent_Template(rf, ctx) { if (rf & 1) {
9237
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartAxisLabelComponent, selectors: [["", "po-chart-axis-label", ""]], inputs: { alignByTheCorners: ["p-align-by-the-corners", "alignByTheCorners"], axisXLabelCoordinates: ["p-axis-x-label-coordinates", "axisXLabelCoordinates"], axisYLabelCoordinates: ["p-axis-y-label-coordinates", "axisYLabelCoordinates"], type: ["p-type", "type"] }, attrs: _c0$1m, decls: 4, vars: 4, consts: [["class", "po-chart-axis-x-label", "dominant-baseline", "middle", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "po-chart-axis-y-label", 3, "po-chart-centered-label", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["dominant-baseline", "middle", 1, "po-chart-axis-x-label"], [1, "po-chart-axis-y-label"]], template: function PoChartAxisLabelComponent_Template(rf, ctx) { if (rf & 1) {
9175
9238
  i0.ɵɵnamespaceSVG();
9176
9239
  i0.ɵɵelementStart(0, "g");
9177
9240
  i0.ɵɵtemplate(1, PoChartAxisLabelComponent__svg_text_1_Template, 2, 3, "text", 0);
@@ -9203,7 +9266,7 @@ class PoChartAxisLabelComponent {
9203
9266
  args: ['p-type']
9204
9267
  }] }); })();
9205
9268
 
9206
- const _c0$1m = ["po-chart-axis", ""];
9269
+ const _c0$1l = ["po-chart-axis", ""];
9207
9270
  class PoChartAxisComponent {
9208
9271
  mathsService;
9209
9272
  alignByTheCorners = false;
@@ -9475,7 +9538,7 @@ class PoChartAxisComponent {
9475
9538
  });
9476
9539
  }
9477
9540
  static ɵfac = function PoChartAxisComponent_Factory(t) { return new (t || PoChartAxisComponent)(i0.ɵɵdirectiveInject(PoChartMathsService)); };
9478
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartAxisComponent, selectors: [["", "po-chart-axis", ""]], inputs: { alignByTheCorners: ["p-align-by-the-corners", "alignByTheCorners"], type: ["p-type", "type"], range: ["p-range", "range"], series: ["p-series", "series"], categories: ["p-categories", "categories"], containerSize: ["p-container-size", "containerSize"], axisOptions: ["p-options", "axisOptions"] }, outputs: { categoriesCoordinates: "p-categories-coordinates" }, attrs: _c0$1m, decls: 2, vars: 6, consts: [["po-chart-axis-path", "", 3, "p-axis-x-coordinates", "p-axis-y-coordinates"], ["po-chart-axis-label", "", 3, "p-align-by-the-corners", "p-axis-x-label-coordinates", "p-axis-y-label-coordinates", "p-type"]], template: function PoChartAxisComponent_Template(rf, ctx) { if (rf & 1) {
9541
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartAxisComponent, selectors: [["", "po-chart-axis", ""]], inputs: { alignByTheCorners: ["p-align-by-the-corners", "alignByTheCorners"], type: ["p-type", "type"], range: ["p-range", "range"], series: ["p-series", "series"], categories: ["p-categories", "categories"], containerSize: ["p-container-size", "containerSize"], axisOptions: ["p-options", "axisOptions"] }, outputs: { categoriesCoordinates: "p-categories-coordinates" }, attrs: _c0$1l, decls: 2, vars: 6, consts: [["po-chart-axis-path", "", 3, "p-axis-x-coordinates", "p-axis-y-coordinates"], ["po-chart-axis-label", "", 3, "p-align-by-the-corners", "p-axis-x-label-coordinates", "p-axis-y-label-coordinates", "p-type"]], template: function PoChartAxisComponent_Template(rf, ctx) { if (rf & 1) {
9479
9542
  i0.ɵɵnamespaceSVG();
9480
9543
  i0.ɵɵelement(0, "g", 0)(1, "g", 1);
9481
9544
  } if (rf & 2) {
@@ -9617,7 +9680,7 @@ class PoChartBarBaseComponent {
9617
9680
  args: ['p-series']
9618
9681
  }] }); })();
9619
9682
 
9620
- const _c0$1l = ["po-chart-bar-path", ""];
9683
+ const _c0$1k = ["po-chart-bar-path", ""];
9621
9684
  function PoChartBarPathComponent__svg_path_0_Template(rf, ctx) { if (rf & 1) {
9622
9685
  const _r3 = i0.ɵɵgetCurrentView();
9623
9686
  i0.ɵɵnamespaceSVG();
@@ -9650,7 +9713,7 @@ class PoChartBarPathComponent {
9650
9713
  this.barHover.emit(selectedItem);
9651
9714
  }
9652
9715
  static ɵfac = function PoChartBarPathComponent_Factory(t) { return new (t || PoChartBarPathComponent)(); };
9653
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartBarPathComponent, selectors: [["", "po-chart-bar-path", ""]], inputs: { color: ["p-color", "color"], coordinates: ["p-coordinates", "coordinates"], tooltipPosition: ["p-tooltip-position", "tooltipPosition"] }, outputs: { barClick: "p-bar-click", barHover: "p-bar-hover" }, attrs: _c0$1l, decls: 1, vars: 2, consts: [["class", "po-chart-bar-path", 3, "p-tooltip", "p-tooltip-position", "p-append-in-body", "class", "mouseenter", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-chart-bar-path", 3, "p-tooltip", "p-tooltip-position", "p-append-in-body", "mouseenter", "click"]], template: function PoChartBarPathComponent_Template(rf, ctx) { if (rf & 1) {
9716
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartBarPathComponent, selectors: [["", "po-chart-bar-path", ""]], inputs: { color: ["p-color", "color"], coordinates: ["p-coordinates", "coordinates"], tooltipPosition: ["p-tooltip-position", "tooltipPosition"] }, outputs: { barClick: "p-bar-click", barHover: "p-bar-hover" }, attrs: _c0$1k, decls: 1, vars: 2, consts: [["class", "po-chart-bar-path", 3, "p-tooltip", "p-tooltip-position", "p-append-in-body", "class", "mouseenter", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "po-chart-bar-path", 3, "p-tooltip", "p-tooltip-position", "p-append-in-body", "mouseenter", "click"]], template: function PoChartBarPathComponent_Template(rf, ctx) { if (rf & 1) {
9654
9717
  i0.ɵɵtemplate(0, PoChartBarPathComponent__svg_path_0_Template, 1, 7, "path", 0);
9655
9718
  } if (rf & 2) {
9656
9719
  i0.ɵɵproperty("ngForOf", ctx.coordinates)("ngForTrackBy", ctx.trackBy);
@@ -9676,7 +9739,7 @@ class PoChartBarPathComponent {
9676
9739
  args: ['p-bar-hover']
9677
9740
  }] }); })();
9678
9741
 
9679
- const _c0$1k = ["po-chart-bar", ""];
9742
+ const _c0$1j = ["po-chart-bar", ""];
9680
9743
  function PoChartBarComponent__svg_g_1_Template(rf, ctx) { if (rf & 1) {
9681
9744
  const _r4 = i0.ɵɵgetCurrentView();
9682
9745
  i0.ɵɵnamespaceSVG();
@@ -9737,7 +9800,7 @@ class PoChartBarComponent extends PoChartBarBaseComponent {
9737
9800
  return { y1, y2 };
9738
9801
  }
9739
9802
  static ɵfac = function PoChartBarComponent_Factory(t) { return new (t || PoChartBarComponent)(i0.ɵɵdirectiveInject(PoChartMathsService)); };
9740
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartBarComponent, selectors: [["", "po-chart-bar", ""]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$1k, decls: 2, vars: 2, consts: [[3, "class", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["po-chart-bar-path", "", 3, "p-color", "p-coordinates", "p-tooltip-position", "p-bar-click", "p-bar-hover"]], template: function PoChartBarComponent_Template(rf, ctx) { if (rf & 1) {
9803
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartBarComponent, selectors: [["", "po-chart-bar", ""]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$1j, decls: 2, vars: 2, consts: [[3, "class", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["po-chart-bar-path", "", 3, "p-color", "p-coordinates", "p-tooltip-position", "p-bar-click", "p-bar-hover"]], template: function PoChartBarComponent_Template(rf, ctx) { if (rf & 1) {
9741
9804
  i0.ɵɵnamespaceSVG();
9742
9805
  i0.ɵɵelementStart(0, "g");
9743
9806
  i0.ɵɵtemplate(1, PoChartBarComponent__svg_g_1_Template, 2, 6, "g", 0);
@@ -9752,7 +9815,7 @@ class PoChartBarComponent extends PoChartBarBaseComponent {
9752
9815
  args: [{ selector: '[po-chart-bar]', template: "<svg:g>\n <svg:g *ngFor=\"let item of seriesPathsCoordinates; let i = index; trackBy: trackBy\"\n [class]=\"'po-chart-bar-group-' + i\"\n >\n <!-- SERIES PATHS -->\n <svg:g po-chart-bar-path\n [attr.key]=\"'po-chart-bar-path-' + i\"\n [p-color]=\"item[0]?.color\" \n [p-coordinates]=\"item\"\n [p-tooltip-position]=\"tooltipPosition\"\n (p-bar-click)=\"onSerieBarClick($event)\"\n (p-bar-hover)=\"onSerieBarHover($event)\"\n >\n </svg:g>\n </svg:g>\n</svg:g>" }]
9753
9816
  }], function () { return [{ type: PoChartMathsService }]; }, null); })();
9754
9817
 
9755
- const _c0$1j = ["po-chart-column", ""];
9818
+ const _c0$1i = ["po-chart-column", ""];
9756
9819
  function PoChartColumnComponent__svg_g_1_Template(rf, ctx) { if (rf & 1) {
9757
9820
  const _r4 = i0.ɵɵgetCurrentView();
9758
9821
  i0.ɵɵnamespaceSVG();
@@ -9814,7 +9877,7 @@ class PoChartColumnComponent extends PoChartBarBaseComponent {
9814
9877
  return { y1, y2 };
9815
9878
  }
9816
9879
  static ɵfac = function PoChartColumnComponent_Factory(t) { return new (t || PoChartColumnComponent)(i0.ɵɵdirectiveInject(PoChartMathsService)); };
9817
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartColumnComponent, selectors: [["", "po-chart-column", ""]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$1j, decls: 2, vars: 2, consts: [[3, "class", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["po-chart-bar-path", "", 3, "p-color", "p-coordinates", "p-tooltip-position", "p-bar-click", "p-bar-hover"]], template: function PoChartColumnComponent_Template(rf, ctx) { if (rf & 1) {
9880
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartColumnComponent, selectors: [["", "po-chart-column", ""]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$1i, decls: 2, vars: 2, consts: [[3, "class", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["po-chart-bar-path", "", 3, "p-color", "p-coordinates", "p-tooltip-position", "p-bar-click", "p-bar-hover"]], template: function PoChartColumnComponent_Template(rf, ctx) { if (rf & 1) {
9818
9881
  i0.ɵɵnamespaceSVG();
9819
9882
  i0.ɵɵelementStart(0, "g");
9820
9883
  i0.ɵɵtemplate(1, PoChartColumnComponent__svg_g_1_Template, 2, 6, "g", 0);
@@ -10248,7 +10311,7 @@ class PoChartSvgContainerService {
10248
10311
  }]
10249
10312
  }], function () { return []; }, null); })();
10250
10313
 
10251
- const _c0$1i = ["po-chart-line", ""];
10314
+ const _c0$1h = ["po-chart-line", ""];
10252
10315
  function PoChartLineComponent__svg_g_2_Template(rf, ctx) { if (rf & 1) {
10253
10316
  const _r5 = i0.ɵɵgetCurrentView();
10254
10317
  i0.ɵɵnamespaceSVG();
@@ -10298,7 +10361,7 @@ class PoChartLineComponent extends PoChartLineBaseComponent {
10298
10361
  this.renderer.appendChild(this.chartLine.nativeElement, pathGroupElement[0]);
10299
10362
  }
10300
10363
  static ɵfac = function PoChartLineComponent_Factory(t) { return new (t || PoChartLineComponent)(i0.ɵɵdirectiveInject(PoChartMathsService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
10301
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartLineComponent, selectors: [["", "po-chart-line", ""]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$1i, decls: 3, vars: 2, consts: [["chartLine", ""], [3, "class", "mouseenter", "mouseleave", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "mouseenter", "mouseleave"], ["po-chart-path", "", 3, "p-chart-line", "p-animate", "p-color", "p-coordinates", "p-is-active"], ["po-chart-series-point", "", 3, "p-animate", "p-chart-line", "p-color", "p-coordinates", "p-is-active", "p-relative-to", "p-point-click", "p-point-hover"]], template: function PoChartLineComponent_Template(rf, ctx) { if (rf & 1) {
10364
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartLineComponent, selectors: [["", "po-chart-line", ""]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$1h, decls: 3, vars: 2, consts: [["chartLine", ""], [3, "class", "mouseenter", "mouseleave", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "mouseenter", "mouseleave"], ["po-chart-path", "", 3, "p-chart-line", "p-animate", "p-color", "p-coordinates", "p-is-active"], ["po-chart-series-point", "", 3, "p-animate", "p-chart-line", "p-color", "p-coordinates", "p-is-active", "p-relative-to", "p-point-click", "p-point-hover"]], template: function PoChartLineComponent_Template(rf, ctx) { if (rf & 1) {
10302
10365
  i0.ɵɵnamespaceSVG();
10303
10366
  i0.ɵɵelementStart(0, "g", null, 0);
10304
10367
  i0.ɵɵtemplate(2, PoChartLineComponent__svg_g_2_Template, 3, 15, "g", 1);
@@ -10313,7 +10376,7 @@ class PoChartLineComponent extends PoChartLineBaseComponent {
10313
10376
  args: [{ selector: '[po-chart-line]', template: "<svg:g #chartLine>\n\n <svg:g *ngFor=\"let item of seriesPathsCoordinates; let i = index; trackBy: trackBy\"\n [class]=\"'po-chart-line-path-group-' + i\"\n (mouseenter)=\"onEnter(i)\"\n (mouseleave)=\"onLeave(i)\"\n >\n <!-- SERIES PATHS -->\n <svg:g po-chart-path\n [p-chart-line]=\"chartType === 'line'\"\n [attr.key]=\"'po-chart-line-path-' + i\"\n [p-animate]=\"animate\"\n [p-color]=\"item.color\" \n [p-coordinates]=\"item?.coordinates\"\n [p-is-active]=\"item.isActive\"\n >\n </svg:g>\n\n <!-- SERIES POINTS -->\n <svg:g po-chart-series-point\n [p-animate]=\"animate\"\n [p-chart-line]=\"chartType === 'line'\"\n [p-color]=\"item.color\"\n [p-coordinates]=\"seriesPointsCoordinates[i]\"\n [p-is-active]=\"activeTooltip\"\n [p-relative-to]=\"'po-chart-line-path-group-' + i\" \n [attr.key]=\"'po-chart-line-path-points-group-' + i\"\n (p-point-click)=\"onSeriePointClick($event)\"\n (p-point-hover)=\"onSeriePointHover($event)\"\n ></svg:g>\n </svg:g>\n\n</svg:g>" }]
10314
10377
  }], function () { return [{ type: PoChartMathsService }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, null); })();
10315
10378
 
10316
- const _c0$1h = ["svgPaths"];
10379
+ const _c0$1g = ["svgPaths"];
10317
10380
  const _c1$y = ["svgLabels"];
10318
10381
  class PoChartCircularComponent {
10319
10382
  ngZone;
@@ -10449,7 +10512,7 @@ class PoChartCircularComponent {
10449
10512
  }
10450
10513
  static ɵfac = function PoChartCircularComponent_Factory(t) { return new (t || PoChartCircularComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
10451
10514
  static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoChartCircularComponent, viewQuery: function PoChartCircularComponent_Query(rf, ctx) { if (rf & 1) {
10452
- i0.ɵɵviewQuery(_c0$1h, 5);
10515
+ i0.ɵɵviewQuery(_c0$1g, 5);
10453
10516
  i0.ɵɵviewQuery(_c1$y, 5);
10454
10517
  } if (rf & 2) {
10455
10518
  let _t;
@@ -10575,7 +10638,7 @@ class PoChartTooltipDirective {
10575
10638
  args: ['mousemove', ['$event']]
10576
10639
  }] }); })();
10577
10640
 
10578
- const _c0$1g = ["svgPath"];
10641
+ const _c0$1f = ["svgPath"];
10579
10642
  const _c1$x = ["po-chart-circular-path", ""];
10580
10643
  class PoChartCircularPathComponent {
10581
10644
  renderer;
@@ -10599,7 +10662,7 @@ class PoChartCircularPathComponent {
10599
10662
  }
10600
10663
  static ɵfac = function PoChartCircularPathComponent_Factory(t) { return new (t || PoChartCircularPathComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); };
10601
10664
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartCircularPathComponent, selectors: [["", "po-chart-circular-path", ""]], viewQuery: function PoChartCircularPathComponent_Query(rf, ctx) { if (rf & 1) {
10602
- i0.ɵɵviewQuery(_c0$1g, 5, ElementRef);
10665
+ i0.ɵɵviewQuery(_c0$1f, 5, ElementRef);
10603
10666
  } if (rf & 2) {
10604
10667
  let _t;
10605
10668
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.svgPath = _t.first);
@@ -10631,7 +10694,7 @@ class PoChartCircularPathComponent {
10631
10694
  args: ['svgPath', { read: ElementRef }]
10632
10695
  }] }); })();
10633
10696
 
10634
- const _c0$1f = ["svgLabel"];
10697
+ const _c0$1e = ["svgLabel"];
10635
10698
  const _c1$w = ["po-chart-circular-label", ""];
10636
10699
  class PoChartCircularLabelComponent {
10637
10700
  changeDetection;
@@ -10651,7 +10714,7 @@ class PoChartCircularLabelComponent {
10651
10714
  }
10652
10715
  static ɵfac = function PoChartCircularLabelComponent_Factory(t) { return new (t || PoChartCircularLabelComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.Renderer2)); };
10653
10716
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartCircularLabelComponent, selectors: [["", "po-chart-circular-label", ""]], viewQuery: function PoChartCircularLabelComponent_Query(rf, ctx) { if (rf & 1) {
10654
- i0.ɵɵviewQuery(_c0$1f, 5, ElementRef);
10717
+ i0.ɵɵviewQuery(_c0$1e, 5, ElementRef);
10655
10718
  } if (rf & 2) {
10656
10719
  let _t;
10657
10720
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.svgLabel = _t.first);
@@ -10681,7 +10744,7 @@ class PoChartCircularLabelComponent {
10681
10744
  args: ['svgLabel', { read: ElementRef }]
10682
10745
  }] }); })();
10683
10746
 
10684
- const _c0$1e = ["po-chart-pie", ""];
10747
+ const _c0$1d = ["po-chart-pie", ""];
10685
10748
  function PoChartPieComponent__svg_g_1_Template(rf, ctx) { if (rf & 1) {
10686
10749
  const _r6 = i0.ɵɵgetCurrentView();
10687
10750
  i0.ɵɵnamespaceSVG();
@@ -10762,7 +10825,7 @@ class PoChartPieComponent extends PoChartCircularComponent {
10762
10825
  return tooltipLabel || `${dataLabel}${dataValue}`;
10763
10826
  }
10764
10827
  static ɵfac = function PoChartPieComponent_Factory(t) { return new (t || PoChartPieComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
10765
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartPieComponent, selectors: [["", "po-chart-pie", ""]], features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], attrs: _c0$1e, decls: 3, vars: 2, consts: [[4, "ngFor", "ngForOf"], [4, "ngIf"], ["po-chart-circular-path", "", 3, "p-serie", "p-on-click", "p-on-hover"], ["svgPaths", ""], ["po-chart-circular-label", "", 3, "p-serie", "p-show-label"], ["svgLabels", ""]], template: function PoChartPieComponent_Template(rf, ctx) { if (rf & 1) {
10828
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartPieComponent, selectors: [["", "po-chart-pie", ""]], features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], attrs: _c0$1d, decls: 3, vars: 2, consts: [[4, "ngFor", "ngForOf"], [4, "ngIf"], ["po-chart-circular-path", "", 3, "p-serie", "p-on-click", "p-on-hover"], ["svgPaths", ""], ["po-chart-circular-label", "", 3, "p-serie", "p-show-label"], ["svgLabels", ""]], template: function PoChartPieComponent_Template(rf, ctx) { if (rf & 1) {
10766
10829
  i0.ɵɵnamespaceSVG();
10767
10830
  i0.ɵɵelementStart(0, "g");
10768
10831
  i0.ɵɵtemplate(1, PoChartPieComponent__svg_g_1_Template, 3, 2, "g", 0);
@@ -10780,7 +10843,7 @@ class PoChartPieComponent extends PoChartCircularComponent {
10780
10843
  args: [{ selector: '[po-chart-pie]', template: "<svg:g>\n <!-- SERIES PATHS -->\n <svg:g *ngFor=\"let item of seriesList; let i = index\">\n <svg:g #svgPaths po-chart-circular-path\n [attr.key]=\"'po-chart-circular-path-' + i\"\n [p-serie]=\"item\"\n (p-on-click)=\"onSerieClick($event)\"\n (p-on-hover)=\"onSerieHover($event)\">\n </svg:g>\n </svg:g>\n\n <!-- SERIES LABELS -->\n <svg:g *ngIf=\"canDisplayLabels\">\n <svg:g *ngFor=\"let item of seriesLabels; let i = index\">\n <svg:g #svgLabels po-chart-circular-label\n [attr.key]=\"'po-chart-circular-label-' + i\"\n [p-serie]=\"item\"\n [p-show-label]=\"showLabels\">\n </svg:g>\n </svg:g>\n </svg:g>\n</svg:g>\n\n" }]
10781
10844
  }], function () { return [{ type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, null); })();
10782
10845
 
10783
- const _c0$1d = ["po-chart-donut", ""];
10846
+ const _c0$1c = ["po-chart-donut", ""];
10784
10847
  function PoChartDonutComponent__svg_g_1_Template(rf, ctx) { if (rf & 1) {
10785
10848
  const _r6 = i0.ɵɵgetCurrentView();
10786
10849
  i0.ɵɵnamespaceSVG();
@@ -10916,7 +10979,7 @@ class PoChartDonutComponent extends PoChartCircularComponent {
10916
10979
  this.canDisplayLabels = radius - innerRadius >= radius - (radius - PoChartDonutDefaultThickness);
10917
10980
  }
10918
10981
  static ɵfac = function PoChartDonutComponent_Factory(t) { return new (t || PoChartDonutComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
10919
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartDonutComponent, selectors: [["", "po-chart-donut", ""]], features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], attrs: _c0$1d, decls: 3, vars: 2, consts: [[4, "ngFor", "ngForOf"], [4, "ngIf"], ["po-chart-circular-path", "", 3, "p-serie", "p-on-click", "p-on-hover"], ["svgPaths", ""], ["po-chart-circular-label", "", 3, "p-serie", "p-show-label"], ["svgLabels", ""]], template: function PoChartDonutComponent_Template(rf, ctx) { if (rf & 1) {
10982
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartDonutComponent, selectors: [["", "po-chart-donut", ""]], features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], attrs: _c0$1c, decls: 3, vars: 2, consts: [[4, "ngFor", "ngForOf"], [4, "ngIf"], ["po-chart-circular-path", "", 3, "p-serie", "p-on-click", "p-on-hover"], ["svgPaths", ""], ["po-chart-circular-label", "", 3, "p-serie", "p-show-label"], ["svgLabels", ""]], template: function PoChartDonutComponent_Template(rf, ctx) { if (rf & 1) {
10920
10983
  i0.ɵɵnamespaceSVG();
10921
10984
  i0.ɵɵelementStart(0, "g");
10922
10985
  i0.ɵɵtemplate(1, PoChartDonutComponent__svg_g_1_Template, 3, 2, "g", 0);
@@ -10934,7 +10997,7 @@ class PoChartDonutComponent extends PoChartCircularComponent {
10934
10997
  args: [{ selector: '[po-chart-donut]', template: "<svg:g>\n <!-- SERIES PATHS -->\n <svg:g *ngFor=\"let item of seriesList; let i = index\">\n <svg:g #svgPaths po-chart-circular-path\n [attr.key]=\"'po-chart-circular-path-' + i\"\n [p-serie]=\"item\"\n (p-on-click)=\"onSerieClick($event)\"\n (p-on-hover)=\"onSerieHover($event)\">\n </svg:g>\n </svg:g>\n\n <!-- SERIES LABELS -->\n <svg:g *ngIf=\"canDisplayLabels\">\n <svg:g *ngFor=\"let item of seriesLabels; let i = index\">\n <svg:g #svgLabels po-chart-circular-label\n [attr.key]=\"'po-chart-circular-label-' + i\"\n [p-serie]=\"item\"\n [p-show-label]=\"showLabels\">\n </svg:g>\n </svg:g>\n </svg:g>\n</svg:g>\n\n" }]
10935
10998
  }], function () { return [{ type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, null); })();
10936
10999
 
10937
- const _c0$1c = ["svgELement"];
11000
+ const _c0$1b = ["svgELement"];
10938
11001
  function PoChartContainerComponent__svg_g_2_Template(rf, ctx) { if (rf & 1) {
10939
11002
  const _r9 = i0.ɵɵgetCurrentView();
10940
11003
  i0.ɵɵnamespaceSVG();
@@ -11116,7 +11179,7 @@ class PoChartContainerComponent {
11116
11179
  }
11117
11180
  static ɵfac = function PoChartContainerComponent_Factory(t) { return new (t || PoChartContainerComponent)(i0.ɵɵdirectiveInject(PoChartMathsService)); };
11118
11181
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartContainerComponent, selectors: [["po-chart-container"]], viewQuery: function PoChartContainerComponent_Query(rf, ctx) { if (rf & 1) {
11119
- i0.ɵɵviewQuery(_c0$1c, 7);
11182
+ i0.ɵɵviewQuery(_c0$1b, 7);
11120
11183
  } if (rf & 2) {
11121
11184
  let _t;
11122
11185
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.svgELement = _t.first);
@@ -11266,7 +11329,7 @@ class PoResizeObserverDirective {
11266
11329
  args: ['p-resize-observer']
11267
11330
  }] }); })();
11268
11331
 
11269
- const _c0$1b = ["chartContainer"];
11332
+ const _c0$1a = ["chartContainer"];
11270
11333
  const _c1$v = ["chartHeader"];
11271
11334
  const _c2$d = ["chartLegend"];
11272
11335
  const _c3$9 = ["chartWrapper"];
@@ -11462,7 +11525,7 @@ class PoChartComponent extends PoChartBaseComponent {
11462
11525
  }
11463
11526
  static ɵfac = function PoChartComponent_Factory(t) { return new (t || PoChartComponent)(i0.ɵɵdirectiveInject(PoColorService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PoChartSvgContainerService), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(PoChartMathsService), i0.ɵɵdirectiveInject(i0.Renderer2)); };
11464
11527
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartComponent, selectors: [["po-chart"]], viewQuery: function PoChartComponent_Query(rf, ctx) { if (rf & 1) {
11465
- i0.ɵɵviewQuery(_c0$1b, 7, ViewContainerRef);
11528
+ i0.ɵɵviewQuery(_c0$1a, 7, ViewContainerRef);
11466
11529
  i0.ɵɵviewQuery(_c1$v, 7);
11467
11530
  i0.ɵɵviewQuery(_c2$d, 5, ElementRef);
11468
11531
  i0.ɵɵviewQuery(_c3$9, 7);
@@ -11665,7 +11728,7 @@ class PoContainerBaseComponent {
11665
11728
  args: ['p-no-shadow']
11666
11729
  }] }); })();
11667
11730
 
11668
- const _c0$1a = ["*"];
11731
+ const _c0$19 = ["*"];
11669
11732
  /**
11670
11733
  * @docsExtends PoContainerBaseComponent
11671
11734
  *
@@ -11689,7 +11752,7 @@ const _c0$1a = ["*"];
11689
11752
  */
11690
11753
  class PoContainerComponent extends PoContainerBaseComponent {
11691
11754
  static ɵfac = /*@__PURE__*/ function () { let ɵPoContainerComponent_BaseFactory; return function PoContainerComponent_Factory(t) { return (ɵPoContainerComponent_BaseFactory || (ɵPoContainerComponent_BaseFactory = i0.ɵɵgetInheritedFactory(PoContainerComponent)))(t || PoContainerComponent); }; }();
11692
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoContainerComponent, selectors: [["po-container"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$1a, decls: 2, vars: 6, consts: [[1, "po-container"]], template: function PoContainerComponent_Template(rf, ctx) { if (rf & 1) {
11755
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoContainerComponent, selectors: [["po-container"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$19, decls: 2, vars: 6, consts: [[1, "po-container"]], template: function PoContainerComponent_Template(rf, ctx) { if (rf & 1) {
11693
11756
  i0.ɵɵprojectionDef();
11694
11757
  i0.ɵɵelementStart(0, "div", 0);
11695
11758
  i0.ɵɵprojection(1);
@@ -11845,7 +11908,7 @@ class PoDisclaimerBaseComponent {
11845
11908
  args: ['p-type']
11846
11909
  }] }); })();
11847
11910
 
11848
- const _c0$19 = ["disclaimerContainer"];
11911
+ const _c0$18 = ["disclaimerContainer"];
11849
11912
  function PoDisclaimerComponent_div_2_span_4_Template(rf, ctx) { if (rf & 1) {
11850
11913
  const _r4 = i0.ɵɵgetCurrentView();
11851
11914
  i0.ɵɵelementStart(0, "span", 7);
@@ -11897,7 +11960,7 @@ class PoDisclaimerComponent extends PoDisclaimerBaseComponent {
11897
11960
  }
11898
11961
  static ɵfac = /*@__PURE__*/ function () { let ɵPoDisclaimerComponent_BaseFactory; return function PoDisclaimerComponent_Factory(t) { return (ɵPoDisclaimerComponent_BaseFactory || (ɵPoDisclaimerComponent_BaseFactory = i0.ɵɵgetInheritedFactory(PoDisclaimerComponent)))(t || PoDisclaimerComponent); }; }();
11899
11962
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDisclaimerComponent, selectors: [["po-disclaimer"]], viewQuery: function PoDisclaimerComponent_Query(rf, ctx) { if (rf & 1) {
11900
- i0.ɵɵviewQuery(_c0$19, 7);
11963
+ i0.ɵɵviewQuery(_c0$18, 7);
11901
11964
  } if (rf & 2) {
11902
11965
  let _t;
11903
11966
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.disclaimerContainer = _t.first);
@@ -12355,7 +12418,7 @@ class PoDropdownBaseComponent {
12355
12418
  args: ['p-disabled']
12356
12419
  }] }); })();
12357
12420
 
12358
- const _c0$18 = ["dropdownRef"];
12421
+ const _c0$17 = ["dropdownRef"];
12359
12422
  const _c1$u = ["popupRef"];
12360
12423
  const _c2$c = function (a0, a1) { return { "po-dropdown-button-disabled": a0, "po-dropdown-button-open": a1 }; };
12361
12424
  const _c3$8 = function () { return ["bottom-left", "top-left"]; };
@@ -12445,7 +12508,7 @@ class PoDropdownComponent extends PoDropdownBaseComponent {
12445
12508
  }
12446
12509
  static ɵfac = function PoDropdownComponent_Factory(t) { return new (t || PoDropdownComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); };
12447
12510
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDropdownComponent, selectors: [["po-dropdown"]], viewQuery: function PoDropdownComponent_Query(rf, ctx) { if (rf & 1) {
12448
- i0.ɵɵviewQuery(_c0$18, 7, ElementRef);
12511
+ i0.ɵɵviewQuery(_c0$17, 7, ElementRef);
12449
12512
  i0.ɵɵviewQuery(_c1$u, 5);
12450
12513
  } if (rf & 2) {
12451
12514
  let _t;
@@ -12601,7 +12664,7 @@ function PoFieldContainerComponent_div_3_Template(rf, ctx) { if (rf & 1) {
12601
12664
  i0.ɵɵadvance(1);
12602
12665
  i0.ɵɵtextInterpolate(ctx_r1.help);
12603
12666
  } }
12604
- const _c0$17 = ["*"];
12667
+ const _c0$16 = ["*"];
12605
12668
  /**
12606
12669
  * @docsPrivate
12607
12670
  *
@@ -12664,7 +12727,7 @@ class PoFieldContainerComponent {
12664
12727
  }
12665
12728
  }
12666
12729
  static ɵfac = function PoFieldContainerComponent_Factory(t) { return new (t || PoFieldContainerComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
12667
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoFieldContainerComponent, selectors: [["po-field-container"]], inputs: { disabled: ["p-disabled", "disabled"], id: ["p-id", "id"], label: ["p-label", "label"], help: ["p-help", "help"], optional: ["p-optional", "optional"], required: ["p-required", "required"], showRequired: ["p-show-required", "showRequired"] }, features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$17, decls: 5, vars: 2, consts: [[1, "po-field-container"], [1, "po-field-container-title"], ["p-field", "true", 3, "p-disabled", "p-for", "p-label", "p-requirement", 4, "ngIf"], ["class", "po-field-help", 4, "ngIf"], ["p-field", "true", 3, "p-disabled", "p-for", "p-label", "p-requirement"], [1, "po-field-help"]], template: function PoFieldContainerComponent_Template(rf, ctx) { if (rf & 1) {
12730
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoFieldContainerComponent, selectors: [["po-field-container"]], inputs: { disabled: ["p-disabled", "disabled"], id: ["p-id", "id"], label: ["p-label", "label"], help: ["p-help", "help"], optional: ["p-optional", "optional"], required: ["p-required", "required"], showRequired: ["p-show-required", "showRequired"] }, features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$16, decls: 5, vars: 2, consts: [[1, "po-field-container"], [1, "po-field-container-title"], ["p-field", "true", 3, "p-disabled", "p-for", "p-label", "p-requirement", 4, "ngIf"], ["class", "po-field-help", 4, "ngIf"], ["p-field", "true", 3, "p-disabled", "p-for", "p-label", "p-requirement"], [1, "po-field-help"]], template: function PoFieldContainerComponent_Template(rf, ctx) { if (rf & 1) {
12668
12731
  i0.ɵɵprojectionDef();
12669
12732
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
12670
12733
  i0.ɵɵtemplate(2, PoFieldContainerComponent_po_label_2_Template, 1, 4, "po-label", 2);
@@ -13111,7 +13174,7 @@ class PoCheckboxGroupBaseComponent {
13111
13174
  args: ['p-show-required']
13112
13175
  }] }); })();
13113
13176
 
13114
- const _c0$16 = ["checkboxLabel"];
13177
+ const _c0$15 = ["checkboxLabel"];
13115
13178
  function PoCheckboxGroupComponent_li_3_Template(rf, ctx) { if (rf & 1) {
13116
13179
  const _r4 = i0.ɵɵgetCurrentView();
13117
13180
  i0.ɵɵelementStart(0, "li")(1, "po-checkbox", 4, 5);
@@ -13197,7 +13260,7 @@ class PoCheckboxGroupComponent extends PoCheckboxGroupBaseComponent {
13197
13260
  }
13198
13261
  static ɵfac = function PoCheckboxGroupComponent_Factory(t) { return new (t || PoCheckboxGroupComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
13199
13262
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoCheckboxGroupComponent, selectors: [["po-checkbox-group"]], viewQuery: function PoCheckboxGroupComponent_Query(rf, ctx) { if (rf & 1) {
13200
- i0.ɵɵviewQuery(_c0$16, 5);
13263
+ i0.ɵɵviewQuery(_c0$15, 5);
13201
13264
  } if (rf & 2) {
13202
13265
  let _t;
13203
13266
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkboxLabels = _t);
@@ -13596,7 +13659,7 @@ var PoRadioSize;
13596
13659
  PoRadioSize["Large"] = "large";
13597
13660
  })(PoRadioSize || (PoRadioSize = {}));
13598
13661
 
13599
- const _c0$15 = ["radio"];
13662
+ const _c0$14 = ["radio"];
13600
13663
  const _c1$t = ["radioInput"];
13601
13664
  function PoRadioComponent_po_label_5_Template(rf, ctx) { if (rf & 1) {
13602
13665
  i0.ɵɵelement(0, "po-label", 6);
@@ -13701,7 +13764,7 @@ class PoRadioComponent extends PoFieldModel {
13701
13764
  }
13702
13765
  static ɵfac = function PoRadioComponent_Factory(t) { return new (t || PoRadioComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.Renderer2)); };
13703
13766
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRadioComponent, selectors: [["po-radio"]], viewQuery: function PoRadioComponent_Query(rf, ctx) { if (rf & 1) {
13704
- i0.ɵɵviewQuery(_c0$15, 7);
13767
+ i0.ɵɵviewQuery(_c0$14, 7);
13705
13768
  i0.ɵɵviewQuery(_c1$t, 7);
13706
13769
  } if (rf & 2) {
13707
13770
  let _t;
@@ -13772,7 +13835,7 @@ class PoRadioComponent extends PoFieldModel {
13772
13835
  args: ['keydown', ['$event.target']]
13773
13836
  }] }); })();
13774
13837
 
13775
- const _c0$14 = ["inp"];
13838
+ const _c0$13 = ["inp"];
13776
13839
  const _c1$s = ["inputRadio"];
13777
13840
  function PoRadioGroupComponent_div_4_Template(rf, ctx) { if (rf & 1) {
13778
13841
  const _r5 = i0.ɵɵgetCurrentView();
@@ -13885,7 +13948,7 @@ class PoRadioGroupComponent extends PoRadioGroupBaseComponent {
13885
13948
  }
13886
13949
  static ɵfac = function PoRadioGroupComponent_Factory(t) { return new (t || PoRadioGroupComponent)(i0.ɵɵdirectiveInject(i0.IterableDiffers), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
13887
13950
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRadioGroupComponent, selectors: [["po-radio-group"]], viewQuery: function PoRadioGroupComponent_Query(rf, ctx) { if (rf & 1) {
13888
- i0.ɵɵviewQuery(_c0$14, 7, ElementRef);
13951
+ i0.ɵɵviewQuery(_c0$13, 7, ElementRef);
13889
13952
  i0.ɵɵviewQuery(_c1$s, 5);
13890
13953
  } if (rf & 2) {
13891
13954
  let _t;
@@ -15066,7 +15129,7 @@ const PoDatepickerLiterals = {
15066
15129
  }
15067
15130
  };
15068
15131
 
15069
- const _c0$13 = ["calendar"];
15132
+ const _c0$12 = ["calendar"];
15070
15133
  const _c1$r = ["dialogPicker"];
15071
15134
  const _c2$b = ["iconDatepicker"];
15072
15135
  const _c3$7 = ["inp"];
@@ -15417,7 +15480,7 @@ class PoDatepickerComponent extends PoDatepickerBaseComponent {
15417
15480
  }
15418
15481
  static ɵfac = function PoDatepickerComponent_Factory(t) { return new (t || PoDatepickerComponent)(i0.ɵɵdirectiveInject(PoLanguageService), i0.ɵɵdirectiveInject(PoControlPositionService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
15419
15482
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDatepickerComponent, selectors: [["po-datepicker"]], viewQuery: function PoDatepickerComponent_Query(rf, ctx) { if (rf & 1) {
15420
- i0.ɵɵviewQuery(_c0$13, 7);
15483
+ i0.ɵɵviewQuery(_c0$12, 7);
15421
15484
  i0.ɵɵviewQuery(_c1$r, 7, ElementRef);
15422
15485
  i0.ɵɵviewQuery(_c2$b, 5);
15423
15486
  i0.ɵɵviewQuery(_c3$7, 7, ElementRef);
@@ -15729,7 +15792,7 @@ class PoModalBaseComponent {
15729
15792
  args: ['p-icon']
15730
15793
  }] }); })();
15731
15794
 
15732
- const _c0$12 = ["*"];
15795
+ const _c0$11 = ["*"];
15733
15796
  /**
15734
15797
  * @description
15735
15798
  *
@@ -15760,7 +15823,7 @@ class PoModalFooterComponent {
15760
15823
  */
15761
15824
  disabledAlign = false;
15762
15825
  static ɵfac = function PoModalFooterComponent_Factory(t) { return new (t || PoModalFooterComponent)(); };
15763
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoModalFooterComponent, selectors: [["po-modal-footer"]], inputs: { disabledAlign: ["p-disabled-align", "disabledAlign"] }, ngContentSelectors: _c0$12, decls: 2, vars: 2, consts: [[1, "po-modal-footer"]], template: function PoModalFooterComponent_Template(rf, ctx) { if (rf & 1) {
15826
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoModalFooterComponent, selectors: [["po-modal-footer"]], inputs: { disabledAlign: ["p-disabled-align", "disabledAlign"] }, ngContentSelectors: _c0$11, decls: 2, vars: 2, consts: [[1, "po-modal-footer"]], template: function PoModalFooterComponent_Template(rf, ctx) { if (rf & 1) {
15764
15827
  i0.ɵɵprojectionDef();
15765
15828
  i0.ɵɵelementStart(0, "div", 0);
15766
15829
  i0.ɵɵprojection(1);
@@ -15789,7 +15852,7 @@ class PoActiveOverlayService {
15789
15852
  }]
15790
15853
  }], null, null); })();
15791
15854
 
15792
- const _c0$11 = ["modalContent"];
15855
+ const _c0$10 = ["modalContent"];
15793
15856
  const _c1$q = ["modalContainer"];
15794
15857
  function PoModalComponent_div_0_po_icon_9_Template(rf, ctx) { if (rf & 1) {
15795
15858
  i0.ɵɵelement(0, "po-icon", 16);
@@ -15973,7 +16036,7 @@ class PoModalComponent extends PoModalBaseComponent {
15973
16036
  let _t;
15974
16037
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.modalFooter = _t.first);
15975
16038
  } }, viewQuery: function PoModalComponent_Query(rf, ctx) { if (rf & 1) {
15976
- i0.ɵɵviewQuery(_c0$11, 5, ElementRef);
16039
+ i0.ɵɵviewQuery(_c0$10, 5, ElementRef);
15977
16040
  i0.ɵɵviewQuery(_c1$q, 5, ElementRef);
15978
16041
  } if (rf & 2) {
15979
16042
  let _t;
@@ -16848,7 +16911,7 @@ var PoToasterType;
16848
16911
  PoToasterType[PoToasterType["Warning"] = 3] = "Warning";
16849
16912
  })(PoToasterType || (PoToasterType = {}));
16850
16913
 
16851
- const _c0$10 = ["toaster"];
16914
+ const _c0$$ = ["toaster"];
16852
16915
  const _c1$p = ["buttonClose"];
16853
16916
  function PoToasterComponent_po_button_8_Template(rf, ctx) { if (rf & 1) {
16854
16917
  const _r4 = i0.ɵɵgetCurrentView();
@@ -17001,7 +17064,7 @@ class PoToasterComponent extends PoToasterBaseComponent {
17001
17064
  }
17002
17065
  static ɵfac = function PoToasterComponent_Factory(t) { return new (t || PoToasterComponent)(i0.ɵɵdirectiveInject(PoLanguageService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.Renderer2)); };
17003
17066
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoToasterComponent, selectors: [["po-toaster"]], viewQuery: function PoToasterComponent_Query(rf, ctx) { if (rf & 1) {
17004
- i0.ɵɵviewQuery(_c0$10, 5);
17067
+ i0.ɵɵviewQuery(_c0$$, 5);
17005
17068
  i0.ɵɵviewQuery(_c1$p, 5);
17006
17069
  } if (rf & 2) {
17007
17070
  let _t;
@@ -17292,7 +17355,7 @@ class PoPopoverBaseComponent {
17292
17355
  args: ['p-trigger']
17293
17356
  }] }); })();
17294
17357
 
17295
- const _c0$$ = ["popoverElement"];
17358
+ const _c0$_ = ["popoverElement"];
17296
17359
  function PoPopoverComponent_div_2_Template(rf, ctx) { if (rf & 1) {
17297
17360
  i0.ɵɵelement(0, "div");
17298
17361
  } if (rf & 2) {
@@ -17436,7 +17499,7 @@ class PoPopoverComponent extends PoPopoverBaseComponent {
17436
17499
  }
17437
17500
  static ɵfac = function PoPopoverComponent_Factory(t) { return new (t || PoPopoverComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(PoControlPositionService)); };
17438
17501
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPopoverComponent, selectors: [["po-popover"]], viewQuery: function PoPopoverComponent_Query(rf, ctx) { if (rf & 1) {
17439
- i0.ɵɵviewQuery(_c0$$, 7, ElementRef);
17502
+ i0.ɵɵviewQuery(_c0$_, 7, ElementRef);
17440
17503
  } if (rf & 2) {
17441
17504
  let _t;
17442
17505
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popoverElement = _t.first);
@@ -17718,7 +17781,7 @@ class PoPageSlideBaseComponent {
17718
17781
  args: ['p-size']
17719
17782
  }] }); })();
17720
17783
 
17721
- const _c0$_ = ["pageContent"];
17784
+ const _c0$Z = ["pageContent"];
17722
17785
  function PoPageSlideComponent_div_0_div_9_Template(rf, ctx) { if (rf & 1) {
17723
17786
  i0.ɵɵelementStart(0, "div", 10);
17724
17787
  i0.ɵɵtext(1);
@@ -17853,7 +17916,7 @@ class PoPageSlideComponent extends PoPageSlideBaseComponent {
17853
17916
  }
17854
17917
  static ɵfac = function PoPageSlideComponent_Factory(t) { return new (t || PoPageSlideComponent)(i0.ɵɵdirectiveInject(PoActiveOverlayService)); };
17855
17918
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPageSlideComponent, selectors: [["po-page-slide"]], viewQuery: function PoPageSlideComponent_Query(rf, ctx) { if (rf & 1) {
17856
- i0.ɵɵviewQuery(_c0$_, 5, ElementRef);
17919
+ i0.ɵɵviewQuery(_c0$Z, 5, ElementRef);
17857
17920
  } if (rf & 2) {
17858
17921
  let _t;
17859
17922
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.pageContent = _t.first);
@@ -17917,7 +17980,7 @@ class PoPageSlideModule {
17917
17980
  }], null, null); })();
17918
17981
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PoPageSlideModule, { declarations: [PoPageSlideComponent], imports: [CommonModule, FormsModule, PoButtonModule], exports: [PoPageSlideComponent] }); })();
17919
17982
 
17920
- const _c0$Z = function (a0, a1) { return { "po-clickable": a0, "po-table-icon-disabled": a1 }; };
17983
+ const _c0$Y = function (a0, a1) { return { "po-clickable": a0, "po-table-icon-disabled": a1 }; };
17921
17984
  /**
17922
17985
  * @docsPrivate
17923
17986
  *
@@ -17962,7 +18025,7 @@ class PoTableIconComponent {
17962
18025
  i0.ɵɵelementEnd();
17963
18026
  } if (rf & 2) {
17964
18027
  i0.ɵɵclassMapInterpolate1("po-table-icon-content ", ctx.disabled ? "" : ctx.color, "");
17965
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c0$Z, ctx.clickable, ctx.disabled))("p-icon", ctx.icon)("p-tooltip", ctx.tooltip)("p-append-in-body", true);
18028
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(7, _c0$Y, ctx.clickable, ctx.disabled))("p-icon", ctx.icon)("p-tooltip", ctx.tooltip)("p-append-in-body", true);
17966
18029
  } }, dependencies: [i1.NgClass, PoTooltipDirective, PoIconComponent], encapsulation: 2, changeDetection: 0 });
17967
18030
  }
17968
18031
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoTableIconComponent, [{
@@ -18136,7 +18199,7 @@ function PoTableColumnLinkComponent_po_link_4_Template(rf, ctx) { if (rf & 1) {
18136
18199
  const ctx_r2 = i0.ɵɵnextContext();
18137
18200
  i0.ɵɵproperty("p-label", ctx_r2.value)("p-open-new-tab", ctx_r2.openNewTab)("p-url", ctx_r2.link);
18138
18201
  } }
18139
- const _c0$Y = function (a0) { return { "po-table-link-disabled": a0 }; };
18202
+ const _c0$X = function (a0) { return { "po-table-link-disabled": a0 }; };
18140
18203
  /**
18141
18204
  * @docsPrivate
18142
18205
  *
@@ -18167,7 +18230,7 @@ class PoTableColumnLinkComponent {
18167
18230
  i0.ɵɵelementContainerEnd();
18168
18231
  i0.ɵɵelementEnd();
18169
18232
  } if (rf & 2) {
18170
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$Y, ctx.disabled));
18233
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$X, ctx.disabled));
18171
18234
  i0.ɵɵadvance(1);
18172
18235
  i0.ɵɵproperty("ngSwitch", ctx.type);
18173
18236
  i0.ɵɵadvance(1);
@@ -18216,7 +18279,7 @@ var PoSwitchLabelPosition;
18216
18279
  PoSwitchLabelPosition[PoSwitchLabelPosition["Left"] = 1] = "Left";
18217
18280
  })(PoSwitchLabelPosition || (PoSwitchLabelPosition = {}));
18218
18281
 
18219
- const _c0$X = ["switchContainer"];
18282
+ const _c0$W = ["switchContainer"];
18220
18283
  function PoSwitchComponent_po_icon_7_Template(rf, ctx) { if (rf & 1) {
18221
18284
  i0.ɵɵelement(0, "po-icon", 10);
18222
18285
  } }
@@ -18423,7 +18486,7 @@ class PoSwitchComponent extends PoFieldModel {
18423
18486
  }
18424
18487
  static ɵfac = function PoSwitchComponent_Factory(t) { return new (t || PoSwitchComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
18425
18488
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoSwitchComponent, selectors: [["po-switch"]], viewQuery: function PoSwitchComponent_Query(rf, ctx) { if (rf & 1) {
18426
- i0.ɵɵviewQuery(_c0$X, 7);
18489
+ i0.ɵɵviewQuery(_c0$W, 7);
18427
18490
  } if (rf & 2) {
18428
18491
  let _t;
18429
18492
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.switchContainer = _t.first);
@@ -18494,7 +18557,7 @@ class PoSwitchComponent extends PoFieldModel {
18494
18557
  function PoTableListManagerComponent_section_0_ng_container_3_ng_container_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
18495
18558
  i0.ɵɵelementContainer(0);
18496
18559
  } }
18497
- const _c0$W = function (a0) { return { $implicit: a0 }; };
18560
+ const _c0$V = function (a0) { return { $implicit: a0 }; };
18498
18561
  function PoTableListManagerComponent_section_0_ng_container_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
18499
18562
  i0.ɵɵelementContainerStart(0);
18500
18563
  i0.ɵɵelementStart(1, "li", 8);
@@ -18508,7 +18571,7 @@ function PoTableListManagerComponent_section_0_ng_container_3_ng_container_1_Tem
18508
18571
  i0.ɵɵadvance(1);
18509
18572
  i0.ɵɵclassProp("po-checkbox-group-item-disabled", option_r9.disabled || ctx_r10.disabled);
18510
18573
  i0.ɵɵadvance(1);
18511
- i0.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0.ɵɵpureFunction1(4, _c0$W, option_r9));
18574
+ i0.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0.ɵɵpureFunction1(4, _c0$V, option_r9));
18512
18575
  } }
18513
18576
  function PoTableListManagerComponent_section_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
18514
18577
  i0.ɵɵelementContainerStart(0);
@@ -18545,7 +18608,7 @@ function PoTableListManagerComponent_ng_container_4_ng_container_1_ng_container_
18545
18608
  i0.ɵɵnextContext();
18546
18609
  const _r2 = i0.ɵɵreference(6);
18547
18610
  i0.ɵɵadvance(1);
18548
- i0.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$W, option_r13));
18611
+ i0.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0$V, option_r13));
18549
18612
  } }
18550
18613
  function PoTableListManagerComponent_ng_container_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
18551
18614
  i0.ɵɵelementContainerStart(0);
@@ -18779,7 +18842,7 @@ class PoTableListManagerComponent extends PoCheckboxGroupComponent {
18779
18842
  args: [{ alias: 'p-hide-action-fixed-columns', transform: convertToBoolean }]
18780
18843
  }] }); })();
18781
18844
 
18782
- const _c0$V = ["pageSlideColumnsManager"];
18845
+ const _c0$U = ["pageSlideColumnsManager"];
18783
18846
  const PoTableColumnManagerMaxColumnsDefault = 99999;
18784
18847
  const poTableColumnManagerLiteralsDefault = {
18785
18848
  en: {
@@ -19086,7 +19149,7 @@ class PoTableColumnManagerComponent {
19086
19149
  static ɵfac = function PoTableColumnManagerComponent_Factory(t) { return new (t || PoTableColumnManagerComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(PoLanguageService)); };
19087
19150
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTableColumnManagerComponent, selectors: [["po-table-column-manager"]], viewQuery: function PoTableColumnManagerComponent_Query(rf, ctx) { if (rf & 1) {
19088
19151
  i0.ɵɵviewQuery(PoPopoverComponent, 5);
19089
- i0.ɵɵviewQuery(_c0$V, 5);
19152
+ i0.ɵɵviewQuery(_c0$U, 5);
19090
19153
  } if (rf & 2) {
19091
19154
  let _t;
19092
19155
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popover = _t.first);
@@ -19577,9 +19640,9 @@ class PoTableBaseComponent {
19577
19640
  *
19578
19641
  * Permite que as ações em lote, responsável por excluir e exibir a quantidade de itens, sejam escondidas.
19579
19642
  *
19580
- * @default `false`
19643
+ * @default `true`
19581
19644
  */
19582
- hideBatchActions = false;
19645
+ hideBatchActions = true;
19583
19646
  /**
19584
19647
  * @optional
19585
19648
  *
@@ -19605,9 +19668,9 @@ class PoTableBaseComponent {
19605
19668
  *
19606
19669
  * Permite que o campo de pesquisa seja escondido.
19607
19670
  *
19608
- * @default `false`
19671
+ * @default `true`
19609
19672
  */
19610
- hideTableSearch = false;
19673
+ hideTableSearch = true;
19611
19674
  /**
19612
19675
  * @optional
19613
19676
  *
@@ -21021,7 +21084,7 @@ class PoTableRowTemplateDirective {
21021
21084
  args: ['p-table-row-template-arrow-direction']
21022
21085
  }] }); })();
21023
21086
 
21024
- const _c0$U = ["noColumnsHeader"];
21087
+ const _c0$T = ["noColumnsHeader"];
21025
21088
  const _c1$m = ["popup"];
21026
21089
  const _c2$9 = ["tableFooter"];
21027
21090
  const _c3$5 = ["tableWrapper"];
@@ -23178,7 +23241,7 @@ class PoTableComponent extends PoTableBaseComponent {
23178
23241
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tableCellTemplate = _t.first);
23179
23242
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tableColumnTemplates = _t);
23180
23243
  } }, viewQuery: function PoTableComponent_Query(rf, ctx) { if (rf & 1) {
23181
- i0.ɵɵviewQuery(_c0$U, 5, ElementRef);
23244
+ i0.ɵɵviewQuery(_c0$T, 5, ElementRef);
23182
23245
  i0.ɵɵviewQuery(_c1$m, 5);
23183
23246
  i0.ɵɵviewQuery(PoModalComponent, 7);
23184
23247
  i0.ɵɵviewQuery(_c2$9, 5, ElementRef);
@@ -24071,19 +24134,23 @@ class PoComboOptionTemplateDirective {
24071
24134
  const poComboLiteralsDefault = {
24072
24135
  en: {
24073
24136
  noData: 'No data found',
24074
- chooseOption: 'Choose an option'
24137
+ chooseOption: 'Choose an option',
24138
+ clear: 'Clear'
24075
24139
  },
24076
24140
  es: {
24077
24141
  noData: 'Datos no encontrados',
24078
- chooseOption: 'Elija una opción'
24142
+ chooseOption: 'Elija una opción',
24143
+ clear: 'limpia'
24079
24144
  },
24080
24145
  pt: {
24081
24146
  noData: 'Nenhum dado encontrado',
24082
- chooseOption: 'Escolha uma opção'
24147
+ chooseOption: 'Escolha uma opção',
24148
+ clear: 'Apagar'
24083
24149
  },
24084
24150
  ru: {
24085
24151
  noData: 'Данные не найдены',
24086
- chooseOption: 'Выберите опцию'
24152
+ chooseOption: 'Выберите опцию',
24153
+ clear: 'чистый'
24087
24154
  }
24088
24155
  };
24089
24156
 
@@ -24848,6 +24915,9 @@ class PoComboBaseComponent {
24848
24915
  this.updateComboList();
24849
24916
  this.initInputObservable();
24850
24917
  this.updateHasNext();
24918
+ if (this.service || this.filterService) {
24919
+ this.keyupSubscribe.unsubscribe();
24920
+ }
24851
24921
  }
24852
24922
  configAfterSetFilterService(service) {
24853
24923
  if (service) {
@@ -25182,7 +25252,7 @@ class PoComboFilterService {
25182
25252
  type: Injectable
25183
25253
  }], function () { return [{ type: i1$2.HttpClient }]; }, null); })();
25184
25254
 
25185
- const _c0$T = ["containerElement"];
25255
+ const _c0$S = ["containerElement"];
25186
25256
  const _c1$l = ["contentElement"];
25187
25257
  const _c2$8 = ["iconArrow"];
25188
25258
  const _c3$4 = ["inp"];
@@ -25197,14 +25267,17 @@ function PoComboComponent_div_3_Template(rf, ctx) { if (rf & 1) {
25197
25267
  i0.ɵɵclassProp("po-field-icon-disabled", ctx_r1.disabled);
25198
25268
  i0.ɵɵproperty("p-icon", ctx_r1.icon);
25199
25269
  } }
25200
- function PoComboComponent_po_clean_7_Template(rf, ctx) { if (rf & 1) {
25270
+ function PoComboComponent_div_7_Template(rf, ctx) { if (rf & 1) {
25201
25271
  const _r13 = i0.ɵɵgetCurrentView();
25202
- i0.ɵɵelementStart(0, "po-clean", 17);
25203
- i0.ɵɵlistener("p-change-event", function PoComboComponent_po_clean_7_Template_po_clean_p_change_event_0_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r12 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r12.clear($event)); });
25272
+ i0.ɵɵelementStart(0, "div", 17);
25273
+ i0.ɵɵlistener("click", function PoComboComponent_div_7_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r12 = i0.ɵɵnextContext(); ctx_r12.clear(null); return i0.ɵɵresetView($event.preventDefault()); })("keydown.enter", function PoComboComponent_div_7_Template_div_keydown_enter_0_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r14 = i0.ɵɵnextContext(); ctx_r14.clearAndFocus(); return i0.ɵɵresetView($event.preventDefault()); });
25274
+ i0.ɵɵelement(1, "span", 18);
25204
25275
  i0.ɵɵelementEnd();
25205
25276
  } if (rf & 2) {
25206
25277
  const ctx_r3 = i0.ɵɵnextContext();
25207
- i0.ɵɵproperty("p-element-ref", ctx_r3.inputEl);
25278
+ i0.ɵɵattribute("aria-label", ctx_r3.literals.clean);
25279
+ i0.ɵɵadvance(1);
25280
+ i0.ɵɵclassProp("po-border-focused", !ctx_r3.disabled && ctx_r3.comboOpen);
25208
25281
  } }
25209
25282
  function PoComboComponent_ng_container_10_Template(rf, ctx) { if (rf & 1) {
25210
25283
  i0.ɵɵelementContainer(0);
@@ -25213,7 +25286,7 @@ function PoComboComponent_ng_template_11_ng_container_0_Template(rf, ctx) { if (
25213
25286
  i0.ɵɵelementContainer(0);
25214
25287
  } }
25215
25288
  function PoComboComponent_ng_template_11_Template(rf, ctx) { if (rf & 1) {
25216
- i0.ɵɵtemplate(0, PoComboComponent_ng_template_11_ng_container_0_Template, 1, 0, "ng-container", 18);
25289
+ i0.ɵɵtemplate(0, PoComboComponent_ng_template_11_ng_container_0_Template, 1, 0, "ng-container", 19);
25217
25290
  } if (rf & 2) {
25218
25291
  i0.ɵɵnextContext();
25219
25292
  const _r10 = i0.ɵɵreference(17);
@@ -25223,23 +25296,23 @@ function PoComboComponent_ng_template_13_ng_template_0_ng_container_0_Template(r
25223
25296
  i0.ɵɵelementContainer(0);
25224
25297
  } }
25225
25298
  function PoComboComponent_ng_template_13_ng_template_0_Template(rf, ctx) { if (rf & 1) {
25226
- i0.ɵɵtemplate(0, PoComboComponent_ng_template_13_ng_template_0_ng_container_0_Template, 1, 0, "ng-container", 18);
25299
+ i0.ɵɵtemplate(0, PoComboComponent_ng_template_13_ng_template_0_ng_container_0_Template, 1, 0, "ng-container", 19);
25227
25300
  } if (rf & 2) {
25228
25301
  i0.ɵɵnextContext(2);
25229
25302
  const _r10 = i0.ɵɵreference(17);
25230
25303
  i0.ɵɵproperty("ngTemplateOutlet", _r10);
25231
25304
  } }
25232
25305
  function PoComboComponent_ng_template_13_Template(rf, ctx) { if (rf & 1) {
25233
- i0.ɵɵtemplate(0, PoComboComponent_ng_template_13_ng_template_0_Template, 1, 1, "ng-template", 19);
25306
+ i0.ɵɵtemplate(0, PoComboComponent_ng_template_13_ng_template_0_Template, 1, 1, "ng-template", 20);
25234
25307
  } if (rf & 2) {
25235
25308
  i0.ɵɵnextContext();
25236
25309
  const _r0 = i0.ɵɵreference(2);
25237
25310
  i0.ɵɵproperty("cdkConnectedOverlayOrigin", _r0)("cdkConnectedOverlayOpen", true);
25238
25311
  } }
25239
25312
  function PoComboComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
25240
- const _r21 = i0.ɵɵgetCurrentView();
25241
- i0.ɵɵelementStart(0, "div", 20, 21)(2, "po-listbox", 22, 23);
25242
- i0.ɵɵlistener("p-selectcombo-item", function PoComboComponent_ng_template_16_Template_po_listbox_p_selectcombo_item_2_listener($event) { i0.ɵɵrestoreView(_r21); const ctx_r20 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r20.onOptionClick($event, $event.event)); })("p-update-infinite-scroll", function PoComboComponent_ng_template_16_Template_po_listbox_p_update_infinite_scroll_2_listener() { i0.ɵɵrestoreView(_r21); const ctx_r22 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r22.showMoreInfiniteScroll()); })("p-close", function PoComboComponent_ng_template_16_Template_po_listbox_p_close_2_listener() { i0.ɵɵrestoreView(_r21); const ctx_r23 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r23.onCloseCombo()); });
25313
+ const _r22 = i0.ɵɵgetCurrentView();
25314
+ i0.ɵɵelementStart(0, "div", 21, 22)(2, "po-listbox", 23, 24);
25315
+ i0.ɵɵlistener("p-selectcombo-item", function PoComboComponent_ng_template_16_Template_po_listbox_p_selectcombo_item_2_listener($event) { i0.ɵɵrestoreView(_r22); const ctx_r21 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r21.onOptionClick($event, $event.event)); })("p-update-infinite-scroll", function PoComboComponent_ng_template_16_Template_po_listbox_p_update_infinite_scroll_2_listener() { i0.ɵɵrestoreView(_r22); const ctx_r23 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r23.showMoreInfiniteScroll()); })("p-close", function PoComboComponent_ng_template_16_Template_po_listbox_p_close_2_listener() { i0.ɵɵrestoreView(_r22); const ctx_r24 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r24.onCloseCombo()); });
25243
25316
  i0.ɵɵelementEnd()();
25244
25317
  } if (rf & 2) {
25245
25318
  const ctx_r11 = i0.ɵɵnextContext();
@@ -25322,6 +25395,7 @@ class PoComboComponent extends PoComboBaseComponent {
25322
25395
  shouldMarkLetters = true;
25323
25396
  infiniteLoading = false;
25324
25397
  _isServerSearching = false;
25398
+ lastKey;
25325
25399
  clickoutListener;
25326
25400
  eventResizeListener;
25327
25401
  filterSubscription;
@@ -25412,8 +25486,8 @@ class PoComboComponent extends PoComboBaseComponent {
25412
25486
  }
25413
25487
  if (key === PoKeyCodeEnum.arrowDown) {
25414
25488
  event.preventDefault();
25415
- if (!this.service) {
25416
- this.poListbox?.setFocus();
25489
+ if (this.visibleOptions.length) {
25490
+ this.focusItem();
25417
25491
  }
25418
25492
  this.controlComboVisibility(true);
25419
25493
  this.isFiltering = this.changeOnEnter ? this.isFiltering : false;
@@ -25433,11 +25507,28 @@ class PoComboComponent extends PoComboBaseComponent {
25433
25507
  if (key === PoKeyCodeEnum.enter) {
25434
25508
  this.controlComboVisibility(true);
25435
25509
  }
25510
+ if (key === PoKeyCodeEnum.esc) {
25511
+ if (key === this.lastKey) {
25512
+ this.lastKey = '';
25513
+ if (this.selectedValue) {
25514
+ this.clearAndFocus();
25515
+ }
25516
+ return;
25517
+ }
25518
+ else {
25519
+ this.onCloseCombo();
25520
+ }
25521
+ }
25522
+ this.lastKey = event.keyCode;
25436
25523
  }
25437
25524
  onKeyUp(event) {
25438
25525
  const key = event.keyCode || event.which;
25439
25526
  const inputValue = event.target.value;
25440
- const isValidKey = key !== PoKeyCodeEnum.arrowUp && key !== PoKeyCodeEnum.arrowDown && key !== PoKeyCodeEnum.enter;
25527
+ const isValidKey = key !== PoKeyCodeEnum.arrowUp &&
25528
+ key !== PoKeyCodeEnum.arrowDown &&
25529
+ key !== PoKeyCodeEnum.enter &&
25530
+ key !== PoKeyCodeEnum.esc &&
25531
+ key !== PoKeyCodeEnum.tab;
25441
25532
  if (isValidKey) {
25442
25533
  if (inputValue) {
25443
25534
  if (!this.service && this.previousSearchValue !== inputValue) {
@@ -25480,24 +25571,29 @@ class PoComboComponent extends PoComboBaseComponent {
25480
25571
  });
25481
25572
  }
25482
25573
  }
25483
- controlApplyFilter(value) {
25574
+ controlApplyFilter(value, isArrowDown) {
25484
25575
  if ((!this.isProcessingValueByTab && (!this.selectedOption || value !== this.selectedOption[this.dynamicLabel])) ||
25485
25576
  !this.cache) {
25486
25577
  this.defaultService.hasNext = true;
25487
25578
  this.page = this.setPage();
25488
25579
  this.options = [];
25489
- this.applyFilter(value, true);
25580
+ this.applyFilter(value, true, isArrowDown);
25490
25581
  }
25491
25582
  this.isProcessingValueByTab = false;
25492
25583
  }
25493
- applyFilter(value, reset = false) {
25584
+ applyFilter(value, reset = false, isArrowDown) {
25494
25585
  if (this.defaultService.hasNext) {
25495
25586
  this.controlComboVisibility(false, reset);
25496
25587
  this.isServerSearching = true;
25497
25588
  const param = this.infiniteScroll
25498
25589
  ? { property: this.fieldLabel, value, page: this.page, pageSize: this.pageSize }
25499
25590
  : { property: this.fieldLabel, value };
25500
- this.filterSubscription = this.service.getFilteredData(param, this.filterParams).subscribe(items => this.setOptionsByApplyFilter(value, items, reset), error => this.onErrorFilteredData());
25591
+ this.filterSubscription = this.service.getFilteredData(param, this.filterParams).subscribe(items => {
25592
+ this.setOptionsByApplyFilter(value, items, reset);
25593
+ if (isArrowDown) {
25594
+ this.focusItem();
25595
+ }
25596
+ }, error => this.onErrorFilteredData());
25501
25597
  }
25502
25598
  }
25503
25599
  setOptionsByApplyFilter(value, items, reset = false) {
@@ -25531,14 +25627,14 @@ class PoComboComponent extends PoComboBaseComponent {
25531
25627
  this.isProcessingValueByTab = false;
25532
25628
  }, this.debounceTime);
25533
25629
  }
25534
- toggleComboVisibility() {
25630
+ toggleComboVisibility(isButton) {
25535
25631
  if (this.disabled) {
25536
25632
  return;
25537
25633
  }
25538
25634
  if (this.service && !this.disabledInitFilter) {
25539
25635
  this.applyFilterInFirstClick();
25540
25636
  }
25541
- this.controlComboVisibility(!this.comboOpen);
25637
+ this.controlComboVisibility(!this.comboOpen, false, isButton);
25542
25638
  }
25543
25639
  applyFilterInFirstClick() {
25544
25640
  if (this.isFirstFilter && !this.selectedValue) {
@@ -25547,8 +25643,8 @@ class PoComboComponent extends PoComboBaseComponent {
25547
25643
  this.applyFilter('', scrollingControl);
25548
25644
  }
25549
25645
  }
25550
- controlComboVisibility(toOpen, reset = false) {
25551
- toOpen ? this.open(reset) : this.close(reset);
25646
+ controlComboVisibility(toOpen, reset = false, isButton) {
25647
+ toOpen ? this.open(reset, isButton) : this.close(reset);
25552
25648
  }
25553
25649
  onCloseCombo() {
25554
25650
  this.controlComboVisibility(false);
@@ -25567,6 +25663,7 @@ class PoComboComponent extends PoComboBaseComponent {
25567
25663
  this.updateComboList([...this.cacheStaticOptions]);
25568
25664
  }
25569
25665
  this.previousSearchValue = this.selectedView[this.dynamicLabel];
25666
+ this.inputEl.nativeElement.focus();
25570
25667
  }
25571
25668
  calculateScrollTop(selectedItem, index) {
25572
25669
  if (!selectedItem.length || index <= 1) {
@@ -25614,9 +25711,12 @@ class PoComboComponent extends PoComboBaseComponent {
25614
25711
  keyCode !== 40 && // seta
25615
25712
  keyCode !== 93); // windows menu
25616
25713
  }
25617
- searchOnEnter(value) {
25618
- if (this.service && !this.selectedView && value.length >= this.filterMinlength) {
25619
- this.controlApplyFilter(value);
25714
+ searchOnEnterOrArrow(event, value) {
25715
+ if ((event.key === 'ArrowDown' || event.key === 'Enter') &&
25716
+ this.service &&
25717
+ !this.selectedView &&
25718
+ value.length >= this.filterMinlength) {
25719
+ this.controlApplyFilter(value, event.key === 'ArrowDown');
25620
25720
  }
25621
25721
  }
25622
25722
  showMoreInfiniteScroll() {
@@ -25626,6 +25726,10 @@ class PoComboComponent extends PoComboBaseComponent {
25626
25726
  this.page++;
25627
25727
  this.applyFilter('', true);
25628
25728
  }
25729
+ clearAndFocus() {
25730
+ this.clear(null);
25731
+ this.inputEl.nativeElement.focus();
25732
+ }
25629
25733
  adjustContainerPosition() {
25630
25734
  this.controlPosition.adjustPosition(poComboContainerPositionDefault);
25631
25735
  }
@@ -25644,6 +25748,7 @@ class PoComboComponent extends PoComboBaseComponent {
25644
25748
  this.comboIcon = 'po-icon-arrow-down';
25645
25749
  this.removeListeners();
25646
25750
  this.isFiltering = false;
25751
+ this.renderer.removeClass(this.inputEl.nativeElement, 'po-combo-input-focus');
25647
25752
  }
25648
25753
  initializeListeners() {
25649
25754
  this.removeListeners();
@@ -25667,7 +25772,7 @@ class PoComboComponent extends PoComboBaseComponent {
25667
25772
  this.updateComboList([]);
25668
25773
  this.controlComboVisibility(true);
25669
25774
  }
25670
- open(reset) {
25775
+ open(reset, isButton) {
25671
25776
  this.comboOpen = true;
25672
25777
  if (!reset && this.infiniteScroll) {
25673
25778
  if (!this.getInputValue()) {
@@ -25678,7 +25783,9 @@ class PoComboComponent extends PoComboBaseComponent {
25678
25783
  this.changeDetector.detectChanges();
25679
25784
  this.comboIcon = 'po-icon-arrow-up';
25680
25785
  this.initializeListeners();
25681
- this.inputEl.nativeElement.focus();
25786
+ isButton
25787
+ ? this.renderer.addClass(this.inputEl.nativeElement, 'po-combo-input-focus')
25788
+ : this.inputEl.nativeElement.focus();
25682
25789
  this.setContainerPosition();
25683
25790
  }
25684
25791
  removeListeners() {
@@ -25706,6 +25813,20 @@ class PoComboComponent extends PoComboBaseComponent {
25706
25813
  setScrollingControl() {
25707
25814
  return this.infiniteScroll ? true : false;
25708
25815
  }
25816
+ focusItem() {
25817
+ this.poListbox?.listboxItemList?.nativeElement.focus();
25818
+ setTimeout(() => {
25819
+ let item;
25820
+ if (this.selectedValue) {
25821
+ item = document.querySelector('.po-listbox-item[aria-selected="true"]');
25822
+ }
25823
+ else {
25824
+ item = document.querySelectorAll('.po-listbox-item')[0];
25825
+ }
25826
+ this.poListbox?.listboxItemList?.nativeElement.focus();
25827
+ item?.focus();
25828
+ });
25829
+ }
25709
25830
  static ɵfac = function PoComboComponent_Factory(t) { return new (t || PoComboComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.IterableDiffers), i0.ɵɵdirectiveInject(PoComboFilterService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PoControlPositionService), i0.ɵɵdirectiveInject(PoLanguageService)); };
25710
25831
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoComboComponent, selectors: [["po-combo"]], contentQueries: function PoComboComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
25711
25832
  i0.ɵɵcontentQuery(dirIndex, PoComboOptionTemplateDirective, 7);
@@ -25713,7 +25834,7 @@ class PoComboComponent extends PoComboBaseComponent {
25713
25834
  let _t;
25714
25835
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.comboOptionTemplate = _t.first);
25715
25836
  } }, viewQuery: function PoComboComponent_Query(rf, ctx) { if (rf & 1) {
25716
- i0.ɵɵviewQuery(_c0$T, 5, ElementRef);
25837
+ i0.ɵɵviewQuery(_c0$S, 5, ElementRef);
25717
25838
  i0.ɵɵviewQuery(_c1$l, 5, ElementRef);
25718
25839
  i0.ɵɵviewQuery(_c2$8, 7, ElementRef);
25719
25840
  i0.ɵɵviewQuery(_c3$4, 7, ElementRef);
@@ -25738,16 +25859,16 @@ class PoComboComponent extends PoComboBaseComponent {
25738
25859
  useExisting: forwardRef(() => PoComboComponent),
25739
25860
  multi: true
25740
25861
  }
25741
- ]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 18, vars: 28, consts: [[3, "p-disabled", "p-id", "p-label", "p-optional", "p-required", "p-show-required"], ["cdkOverlayOrigin", "", 1, "po-field-container-content"], ["trigger", "cdkOverlayOrigin"], ["class", "po-field-icon-container-left", 4, "ngIf"], ["autocomplete", "off", "type", "text", 1, "po-input", "po-combo-input", 3, "ngClass", "disabled", "id", "placeholder", "required", "click", "keyup", "blur", "keyup.enter", "keydown"], ["inp", ""], [1, "po-field-icon-container-right"], ["class", "po-icon-input", 3, "p-element-ref", "p-change-event", 4, "ngIf"], [3, "click"], ["iconArrow", ""], [4, "ngIf", "ngIfThen", "ngIfElse"], ["dropdownDefault", ""], ["dropdownCDK", ""], [3, "p-help", "p-disabled"], ["dropdownListbox", ""], [1, "po-field-icon-container-left"], [1, "po-field-icon", "po-icon-input", 3, "p-icon"], [1, "po-icon-input", 3, "p-element-ref", "p-change-event"], [4, "ngTemplateOutlet"], ["cdkConnectedOverlay", "", 3, "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen"], [1, "po-combo-container", 3, "hidden"], ["containerElement", ""], ["p-type", "option", 3, "p-items", "p-field-value", "p-field-label", "p-template", "p-search-value", "p-infinite-loading", "p-infinite-scroll", "p-filtering", "p-cache", "p-filter-mode", "p-visible", "p-is-searching", "p-should-mark-letter", "p-compare-cache", "p-combo-service", "p-infinite-scroll-distance", "p-selectcombo-item", "p-update-infinite-scroll", "p-close"], ["poListbox", "", "contentElement", ""]], template: function PoComboComponent_Template(rf, ctx) { if (rf & 1) {
25862
+ ]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 18, vars: 33, consts: [[3, "p-disabled", "p-id", "p-label", "p-optional", "p-required", "p-show-required"], ["cdkOverlayOrigin", "", 1, "po-field-container-content", "po-combo-container-content"], ["trigger", "cdkOverlayOrigin"], ["class", "po-field-icon-container-left", 4, "ngIf"], ["autocomplete", "off", "type", "text", 1, "po-combo-input", 3, "ngClass", "disabled", "id", "placeholder", "required", "click", "keyup", "blur", "keydown"], ["inp", ""], [1, "po-field-icon-container-right"], ["tabindex", "0", "role", "button", "class", "po-combo-clean", 3, "click", "keydown.enter", 4, "ngIf"], [1, "po-icon", "po-field-icon", "po-icon-input", 3, "click"], ["iconArrow", ""], [4, "ngIf", "ngIfThen", "ngIfElse"], ["dropdownDefault", ""], ["dropdownCDK", ""], [3, "p-help", "p-disabled"], ["dropdownListbox", ""], [1, "po-field-icon-container-left"], [1, "po-field-icon", "po-icon-input", 3, "p-icon"], ["tabindex", "0", "role", "button", 1, "po-combo-clean", 3, "click", "keydown.enter"], [1, "po-icon", "po-field-icon", "po-icon-clear-content"], [4, "ngTemplateOutlet"], ["cdkConnectedOverlay", "", 3, "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen"], [1, "po-combo-container", 3, "hidden"], ["containerElement", ""], ["p-type", "option", 3, "p-items", "p-field-value", "p-field-label", "p-template", "p-search-value", "p-infinite-loading", "p-infinite-scroll", "p-filtering", "p-cache", "p-filter-mode", "p-visible", "p-is-searching", "p-should-mark-letter", "p-compare-cache", "p-combo-service", "p-infinite-scroll-distance", "p-selectcombo-item", "p-update-infinite-scroll", "p-close"], ["poListbox", "", "contentElement", ""]], template: function PoComboComponent_Template(rf, ctx) { if (rf & 1) {
25742
25863
  i0.ɵɵelementStart(0, "po-field-container", 0)(1, "div", 1, 2);
25743
25864
  i0.ɵɵtemplate(3, PoComboComponent_div_3_Template, 2, 3, "div", 3);
25744
25865
  i0.ɵɵelementStart(4, "input", 4, 5);
25745
- i0.ɵɵlistener("click", function PoComboComponent_Template_input_click_4_listener() { return ctx.toggleComboVisibility(); })("keyup", function PoComboComponent_Template_input_keyup_4_listener($event) { return ctx.onKeyUp($event); })("blur", function PoComboComponent_Template_input_blur_4_listener() { return ctx.onBlur(); })("keyup.enter", function PoComboComponent_Template_input_keyup_enter_4_listener($event) { return ctx.searchOnEnter($event.target.value); })("keydown", function PoComboComponent_Template_input_keydown_4_listener($event) { return ctx.onKeyDown($event); });
25866
+ i0.ɵɵlistener("click", function PoComboComponent_Template_input_click_4_listener() { return ctx.toggleComboVisibility(); })("keyup", function PoComboComponent_Template_input_keyup_4_listener($event) { return ctx.onKeyUp($event); })("blur", function PoComboComponent_Template_input_blur_4_listener() { return ctx.onBlur(); })("keyup", function PoComboComponent_Template_input_keyup_4_listener($event) { return ctx.searchOnEnterOrArrow($event, $event.target.value); })("keydown", function PoComboComponent_Template_input_keydown_4_listener($event) { return ctx.onKeyDown($event); });
25746
25867
  i0.ɵɵelementEnd();
25747
25868
  i0.ɵɵelementStart(6, "div", 6);
25748
- i0.ɵɵtemplate(7, PoComboComponent_po_clean_7_Template, 1, 1, "po-clean", 7);
25869
+ i0.ɵɵtemplate(7, PoComboComponent_div_7_Template, 2, 3, "div", 7);
25749
25870
  i0.ɵɵelementStart(8, "span", 8, 9);
25750
- i0.ɵɵlistener("click", function PoComboComponent_Template_span_click_8_listener() { return ctx.toggleComboVisibility(); });
25871
+ i0.ɵɵlistener("click", function PoComboComponent_Template_span_click_8_listener() { return ctx.toggleComboVisibility(true); });
25751
25872
  i0.ɵɵelementEnd()()();
25752
25873
  i0.ɵɵtemplate(10, PoComboComponent_ng_container_10_Template, 1, 0, "ng-container", 10);
25753
25874
  i0.ɵɵtemplate(11, PoComboComponent_ng_template_11_Template, 1, 1, "ng-template", null, 11, i0.ɵɵtemplateRefExtractor);
@@ -25767,15 +25888,14 @@ class PoComboComponent extends PoComboBaseComponent {
25767
25888
  i0.ɵɵproperty("ngClass", ctx.clean && _r2.value ? "po-input-double-icon-right" : "po-input-icon-right")("disabled", ctx.disabled)("id", ctx.id)("placeholder", ctx.disabled ? "" : ctx.placeholder)("required", ctx.required);
25768
25889
  i0.ɵɵattribute("name", ctx.name);
25769
25890
  i0.ɵɵadvance(3);
25770
- i0.ɵɵproperty("ngIf", ctx.clean && !ctx.disabled);
25891
+ i0.ɵɵproperty("ngIf", ctx.clean && !ctx.disabled && _r2.value);
25771
25892
  i0.ɵɵadvance(1);
25772
- i0.ɵɵclassMapInterpolate1("po-icon po-field-icon ", ctx.comboIcon, " po-icon-input");
25773
- i0.ɵɵclassProp("po-field-icon-disabled", ctx.disabled)("po-field-icon", !ctx.disabled);
25893
+ i0.ɵɵclassProp("po-field-icon-disabled", ctx.disabled)("po-icon-arrow-up", ctx.comboOpen)("po-icon-arrow-down", !ctx.comboOpen)("po-field-icon", !ctx.disabled)("po-combo-default-border", !ctx.disabled && _r2.value)("po-combo-background-arrow-up", !ctx.disabled && ctx.comboOpen);
25774
25894
  i0.ɵɵadvance(2);
25775
25895
  i0.ɵɵproperty("ngIf", ctx.appendBox)("ngIfThen", _r8)("ngIfElse", _r6);
25776
25896
  i0.ɵɵadvance(5);
25777
25897
  i0.ɵɵproperty("p-help", ctx.help)("p-disabled", ctx.disabled);
25778
- } }, dependencies: [i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i5.CdkConnectedOverlay, i5.CdkOverlayOrigin, PoCleanComponent, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoIconComponent, PoListBoxComponent], encapsulation: 2, changeDetection: 0 });
25898
+ } }, dependencies: [i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i5.CdkConnectedOverlay, i5.CdkOverlayOrigin, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoIconComponent, PoListBoxComponent], encapsulation: 2, changeDetection: 0 });
25779
25899
  }
25780
25900
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoComboComponent, [{
25781
25901
  type: Component,
@@ -25792,7 +25912,7 @@ class PoComboComponent extends PoComboBaseComponent {
25792
25912
  useExisting: forwardRef(() => PoComboComponent),
25793
25913
  multi: true
25794
25914
  }
25795
- ], template: "<po-field-container\n [p-disabled]=\"disabled\"\n [p-id]=\"id\"\n [p-label]=\"label\"\n [p-optional]=\"optional\"\n [p-required]=\"required\"\n [p-show-required]=\"showRequired\"\n>\n <div cdkOverlayOrigin #trigger=\"cdkOverlayOrigin\" class=\"po-field-container-content\">\n <div *ngIf=\"icon\" class=\"po-field-icon-container-left\">\n <po-icon class=\"po-field-icon po-icon-input\" [class.po-field-icon-disabled]=\"disabled\" [p-icon]=\"icon\"></po-icon>\n </div>\n\n <input\n #inp\n class=\"po-input po-combo-input\"\n [ngClass]=\"clean && inp.value ? 'po-input-double-icon-right' : 'po-input-icon-right'\"\n [class.po-input-icon-left]=\"icon\"\n autocomplete=\"off\"\n type=\"text\"\n [attr.name]=\"name\"\n [disabled]=\"disabled\"\n [id]=\"id\"\n [placeholder]=\"disabled ? '' : placeholder\"\n [required]=\"required\"\n (click)=\"toggleComboVisibility()\"\n (keyup)=\"onKeyUp($event)\"\n (blur)=\"onBlur()\"\n (keyup.enter)=\"searchOnEnter($event.target.value)\"\n (keydown)=\"onKeyDown($event)\"\n />\n\n <div class=\"po-field-icon-container-right\">\n <po-clean\n class=\"po-icon-input\"\n *ngIf=\"clean && !disabled\"\n (p-change-event)=\"clear($event)\"\n [p-element-ref]=\"inputEl\"\n >\n </po-clean>\n <span\n #iconArrow\n class=\"po-icon po-field-icon {{ comboIcon }} po-icon-input\"\n [class.po-field-icon-disabled]=\"disabled\"\n [class.po-field-icon]=\"!disabled\"\n (click)=\"toggleComboVisibility()\"\n >\n </span>\n </div>\n </div>\n\n <ng-container *ngIf=\"appendBox; then dropdownCDK; else dropdownDefault\"> </ng-container>\n\n <ng-template #dropdownDefault>\n <ng-container *ngTemplateOutlet=\"dropdownListbox\"> </ng-container>\n </ng-template>\n\n <ng-template #dropdownCDK>\n <ng-template cdkConnectedOverlay [cdkConnectedOverlayOrigin]=\"trigger\" [cdkConnectedOverlayOpen]=\"true\">\n <ng-container *ngTemplateOutlet=\"dropdownListbox\"></ng-container>\n </ng-template>\n </ng-template>\n\n <po-field-container-bottom [p-help]=\"help\" [p-disabled]=\"disabled\"></po-field-container-bottom>\n</po-field-container>\n\n<ng-template #dropdownListbox>\n <div #containerElement class=\"po-combo-container\" [hidden]=\"!comboOpen && !isServerSearching\">\n <po-listbox\n #poListbox\n #contentElement\n p-type=\"option\"\n [p-items]=\"visibleOptions\"\n [p-field-value]=\"dynamicValue\"\n [p-field-label]=\"dynamicLabel\"\n [p-template]=\"comboOptionTemplate\"\n [p-search-value]=\"getInputValue()\"\n [p-infinite-loading]=\"infiniteLoading\"\n [p-infinite-scroll]=\"infiniteScroll\"\n [p-filtering]=\"isFiltering\"\n [p-cache]=\"cache\"\n (p-selectcombo-item)=\"onOptionClick($event, $event.event)\"\n [p-filter-mode]=\"filterMode\"\n [p-visible]=\"comboOpen\"\n [p-is-searching]=\"isServerSearching\"\n [p-should-mark-letter]=\"shouldMarkLetters\"\n [p-compare-cache]=\"compareObjects(cacheOptions, visibleOptions)\"\n [p-combo-service]=\"service\"\n [p-infinite-scroll-distance]=\"infiniteScrollDistance\"\n (p-update-infinite-scroll)=\"showMoreInfiniteScroll()\"\n (p-close)=\"onCloseCombo()\"\n ></po-listbox>\n </div>\n</ng-template>\n" }]
25915
+ ], template: "<po-field-container\n [p-disabled]=\"disabled\"\n [p-id]=\"id\"\n [p-label]=\"label\"\n [p-optional]=\"optional\"\n [p-required]=\"required\"\n [p-show-required]=\"showRequired\"\n>\n <div cdkOverlayOrigin #trigger=\"cdkOverlayOrigin\" class=\"po-field-container-content po-combo-container-content\">\n <div *ngIf=\"icon\" class=\"po-field-icon-container-left\">\n <po-icon class=\"po-field-icon po-icon-input\" [class.po-field-icon-disabled]=\"disabled\" [p-icon]=\"icon\"></po-icon>\n </div>\n\n <input\n #inp\n class=\"po-combo-input\"\n [ngClass]=\"clean && inp.value ? 'po-input-double-icon-right' : 'po-input-icon-right'\"\n [class.po-input-icon-left]=\"icon\"\n autocomplete=\"off\"\n type=\"text\"\n [attr.name]=\"name\"\n [disabled]=\"disabled\"\n [id]=\"id\"\n [placeholder]=\"disabled ? '' : placeholder\"\n [required]=\"required\"\n (click)=\"toggleComboVisibility()\"\n (keyup)=\"onKeyUp($event)\"\n (blur)=\"onBlur()\"\n (keyup)=\"searchOnEnterOrArrow($event, $event.target.value)\"\n (keydown)=\"onKeyDown($event)\"\n />\n\n <div class=\"po-field-icon-container-right\">\n <div\n tabindex=\"0\"\n role=\"button\"\n [attr.aria-label]=\"literals.clean\"\n *ngIf=\"clean && !disabled && inp.value\"\n class=\"po-combo-clean\"\n (click)=\"clear(null); $event.preventDefault()\"\n (keydown.enter)=\"clearAndFocus(); $event.preventDefault()\"\n >\n <span\n [class.po-border-focused]=\"!disabled && comboOpen\"\n class=\"po-icon po-field-icon po-icon-clear-content\"\n ></span>\n </div>\n <span\n #iconArrow\n class=\"po-icon po-field-icon po-icon-input\"\n [class.po-field-icon-disabled]=\"disabled\"\n [class.po-icon-arrow-up]=\"comboOpen\"\n [class.po-icon-arrow-down]=\"!comboOpen\"\n [class.po-field-icon]=\"!disabled\"\n [class.po-combo-default-border]=\"!disabled && inp.value\"\n [class.po-combo-background-arrow-up]=\"!disabled && comboOpen\"\n (click)=\"toggleComboVisibility(true)\"\n >\n </span>\n </div>\n </div>\n\n <ng-container *ngIf=\"appendBox; then dropdownCDK; else dropdownDefault\"> </ng-container>\n\n <ng-template #dropdownDefault>\n <ng-container *ngTemplateOutlet=\"dropdownListbox\"> </ng-container>\n </ng-template>\n\n <ng-template #dropdownCDK>\n <ng-template cdkConnectedOverlay [cdkConnectedOverlayOrigin]=\"trigger\" [cdkConnectedOverlayOpen]=\"true\">\n <ng-container *ngTemplateOutlet=\"dropdownListbox\"></ng-container>\n </ng-template>\n </ng-template>\n\n <po-field-container-bottom [p-help]=\"help\" [p-disabled]=\"disabled\"></po-field-container-bottom>\n</po-field-container>\n\n<ng-template #dropdownListbox>\n <div #containerElement class=\"po-combo-container\" [hidden]=\"!comboOpen && !isServerSearching\">\n <po-listbox\n #poListbox\n #contentElement\n p-type=\"option\"\n [p-items]=\"visibleOptions\"\n [p-field-value]=\"dynamicValue\"\n [p-field-label]=\"dynamicLabel\"\n [p-template]=\"comboOptionTemplate\"\n [p-search-value]=\"getInputValue()\"\n [p-infinite-loading]=\"infiniteLoading\"\n [p-infinite-scroll]=\"infiniteScroll\"\n [p-filtering]=\"isFiltering\"\n [p-cache]=\"cache\"\n (p-selectcombo-item)=\"onOptionClick($event, $event.event)\"\n [p-filter-mode]=\"filterMode\"\n [p-visible]=\"comboOpen\"\n [p-is-searching]=\"isServerSearching\"\n [p-should-mark-letter]=\"shouldMarkLetters\"\n [p-compare-cache]=\"compareObjects(cacheOptions, visibleOptions)\"\n [p-combo-service]=\"service\"\n [p-infinite-scroll-distance]=\"infiniteScrollDistance\"\n (p-update-infinite-scroll)=\"showMoreInfiniteScroll()\"\n (p-close)=\"onCloseCombo()\"\n ></po-listbox>\n </div>\n</ng-template>\n" }]
25796
25916
  }], function () { return [{ type: i0.ElementRef }, { type: i0.IterableDiffers }, { type: PoComboFilterService }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: PoControlPositionService }, { type: PoLanguageService }]; }, { comboOptionTemplate: [{
25797
25917
  type: ContentChild,
25798
25918
  args: [PoComboOptionTemplateDirective, { static: true }]
@@ -26421,7 +26541,7 @@ class PoDatepickerRangeBaseComponent {
26421
26541
  args: ['p-locale']
26422
26542
  }] }); })();
26423
26543
 
26424
- const _c0$S = ["dateRangeField"];
26544
+ const _c0$R = ["dateRangeField"];
26425
26545
  const _c1$k = ["endDateInput"];
26426
26546
  const _c2$7 = ["startDateInput"];
26427
26547
  const _c3$3 = ["iconCalendar"];
@@ -26866,7 +26986,7 @@ class PoDatepickerRangeComponent extends PoDatepickerRangeBaseComponent {
26866
26986
  }
26867
26987
  static ɵfac = function PoDatepickerRangeComponent_Factory(t) { return new (t || PoDatepickerRangeComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PoControlPositionService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PoLanguageService), i0.ɵɵdirectiveInject(PoDateService), i0.ɵɵdirectiveInject(i0.ElementRef)); };
26868
26988
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDatepickerRangeComponent, selectors: [["po-datepicker-range"]], viewQuery: function PoDatepickerRangeComponent_Query(rf, ctx) { if (rf & 1) {
26869
- i0.ɵɵviewQuery(_c0$S, 7, ElementRef);
26989
+ i0.ɵɵviewQuery(_c0$R, 7, ElementRef);
26870
26990
  i0.ɵɵviewQuery(_c1$k, 7, ElementRef);
26871
26991
  i0.ɵɵviewQuery(_c2$7, 7, ElementRef);
26872
26992
  i0.ɵɵviewQuery(_c3$3, 7, ElementRef);
@@ -27410,7 +27530,7 @@ class PoInputBaseComponent {
27410
27530
  args: ['p-mask-format-model']
27411
27531
  }] }); })();
27412
27532
 
27413
- const _c0$R = ["inp"];
27533
+ const _c0$Q = ["inp"];
27414
27534
  function PoDecimalComponent_div_2_Template(rf, ctx) { if (rf & 1) {
27415
27535
  i0.ɵɵelementStart(0, "div", 8);
27416
27536
  i0.ɵɵelement(1, "po-icon", 9);
@@ -28022,7 +28142,7 @@ class PoDecimalComponent extends PoInputBaseComponent {
28022
28142
  }
28023
28143
  static ɵfac = function PoDecimalComponent_Factory(t) { return new (t || PoDecimalComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(PoLanguageService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
28024
28144
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDecimalComponent, selectors: [["po-decimal"]], viewQuery: function PoDecimalComponent_Query(rf, ctx) { if (rf & 1) {
28025
- i0.ɵɵviewQuery(_c0$R, 7, ElementRef);
28145
+ i0.ɵɵviewQuery(_c0$Q, 7, ElementRef);
28026
28146
  } if (rf & 2) {
28027
28147
  let _t;
28028
28148
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputEl = _t.first);
@@ -28096,7 +28216,7 @@ class PoDecimalComponent extends PoInputBaseComponent {
28096
28216
  args: ['p-max']
28097
28217
  }] }); })();
28098
28218
 
28099
- const _c0$Q = ["inp"];
28219
+ const _c0$P = ["inp"];
28100
28220
  /* eslint-disable @angular-eslint/directive-class-suffix */
28101
28221
  class PoInputGeneric extends PoInputBaseComponent {
28102
28222
  inputEl;
@@ -28296,7 +28416,7 @@ class PoInputGeneric extends PoInputBaseComponent {
28296
28416
  }
28297
28417
  static ɵfac = function PoInputGeneric_Factory(t) { return new (t || PoInputGeneric)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
28298
28418
  static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoInputGeneric, viewQuery: function PoInputGeneric_Query(rf, ctx) { if (rf & 1) {
28299
- i0.ɵɵviewQuery(_c0$Q, 7, ElementRef);
28419
+ i0.ɵɵviewQuery(_c0$P, 7, ElementRef);
28300
28420
  } if (rf & 2) {
28301
28421
  let _t;
28302
28422
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputEl = _t.first);
@@ -28459,7 +28579,7 @@ class PoEmailComponent extends PoInputGeneric {
28459
28579
  args: [{ selector: 'po-email', changeDetection: ChangeDetectionStrategy.OnPush, providers: providers$4, template: "<po-field-container\n [p-disabled]=\"disabled\"\n [p-id]=\"id\"\n [p-label]=\"label\"\n [p-optional]=\"optional\"\n [p-required]=\"required\"\n [p-show-required]=\"showRequired\"\n>\n <div class=\"po-field-container-content\">\n <div *ngIf=\"icon\" class=\"po-field-icon-container-left\">\n <po-icon\n class=\"po-field-icon {{ disabled ? 'po-icon-input-disabled' : 'po-icon-input' }}\"\n [class.po-field-icon-disabled]=\"disabled\"\n [p-icon]=\"icon\"\n ></po-icon>\n </div>\n\n <input\n #inp\n class=\"po-input\"\n [attr.name]=\"name\"\n [autocomplete]=\"autocomplete\"\n [class.po-input-icon-left]=\"icon\"\n [class.po-input-icon-right]=\"clean\"\n [disabled]=\"disabled\"\n [id]=\"id\"\n [placeholder]=\"disabled ? '' : placeholder\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [type]=\"type\"\n (blur)=\"eventOnBlur($event)\"\n (click)=\"eventOnClick($event)\"\n (focus)=\"eventOnFocus($event)\"\n (input)=\"eventOnInput($event)\"\n />\n\n <div class=\"po-field-icon-container-right\">\n <po-clean\n class=\"{{ disabled ? 'po-icon-input-disabled' : 'po-icon-input' }}\"\n *ngIf=\"clean && !disabled && !readonly\"\n [p-element-ref]=\"inputEl\"\n (p-change-event)=\"clear($event)\"\n >\n </po-clean>\n </div>\n </div>\n\n <po-field-container-bottom\n [p-help]=\"help\"\n [p-disabled]=\"disabled\"\n [p-error-pattern]=\"getErrorPattern()\"\n ></po-field-container-bottom>\n</po-field-container>\n" }]
28460
28580
  }], function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, null); })();
28461
28581
 
28462
- const _c0$P = ["inp"];
28582
+ const _c0$O = ["inp"];
28463
28583
  function PoInputComponent_div_2_Template(rf, ctx) { if (rf & 1) {
28464
28584
  i0.ɵɵelementStart(0, "div", 8);
28465
28585
  i0.ɵɵelement(1, "po-icon", 9);
@@ -28513,7 +28633,7 @@ class PoInputComponent extends PoInputGeneric {
28513
28633
  }
28514
28634
  static ɵfac = function PoInputComponent_Factory(t) { return new (t || PoInputComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
28515
28635
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoInputComponent, selectors: [["po-input"]], viewQuery: function PoInputComponent_Query(rf, ctx) { if (rf & 1) {
28516
- i0.ɵɵviewQuery(_c0$P, 7);
28636
+ i0.ɵɵviewQuery(_c0$O, 7);
28517
28637
  } if (rf & 2) {
28518
28638
  let _t;
28519
28639
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inp = _t.first);
@@ -29518,7 +29638,7 @@ class PoDynamicFormValidationService extends PoDynamicFormOperation {
29518
29638
  type: Injectable
29519
29639
  }], function () { return [{ type: i1$2.HttpClient }]; }, null); })();
29520
29640
 
29521
- const _c0$O = ["fieldsComponent"];
29641
+ const _c0$N = ["fieldsComponent"];
29522
29642
  const _c1$j = ["dynamicForm"];
29523
29643
  function PoDynamicFormComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
29524
29644
  i0.ɵɵelementContainer(0);
@@ -29694,7 +29814,7 @@ class PoDynamicFormComponent extends PoDynamicFormBaseComponent {
29694
29814
  }
29695
29815
  static ɵfac = function PoDynamicFormComponent_Factory(t) { return new (t || PoDynamicFormComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PoDynamicFormLoadService), i0.ɵɵdirectiveInject(PoDynamicFormValidationService)); };
29696
29816
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoDynamicFormComponent, selectors: [["po-dynamic-form"]], viewQuery: function PoDynamicFormComponent_Query(rf, ctx) { if (rf & 1) {
29697
- i0.ɵɵviewQuery(_c0$O, 5);
29817
+ i0.ɵɵviewQuery(_c0$N, 5);
29698
29818
  i0.ɵɵviewQuery(_c1$j, 5);
29699
29819
  } if (rf & 2) {
29700
29820
  let _t;
@@ -29721,7 +29841,7 @@ class PoDynamicFormComponent extends PoDynamicFormBaseComponent {
29721
29841
  args: ['dynamicForm']
29722
29842
  }] }); })();
29723
29843
 
29724
- const _c0$N = ["inpsearch"];
29844
+ const _c0$M = ["inpsearch"];
29725
29845
  const _c1$i = ["container"];
29726
29846
  function PoLookupModalComponent_div_9_Template(rf, ctx) { if (rf & 1) {
29727
29847
  const _r8 = i0.ɵɵgetCurrentView();
@@ -29852,13 +29972,13 @@ class PoLookupModalComponent extends PoLookupModalBaseComponent {
29852
29972
  }
29853
29973
  static ɵfac = function PoLookupModalComponent_Factory(t) { return new (t || PoLookupModalComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PoLanguageService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
29854
29974
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLookupModalComponent, selectors: [["po-lookup-modal"]], viewQuery: function PoLookupModalComponent_Query(rf, ctx) { if (rf & 1) {
29855
- i0.ɵɵviewQuery(_c0$N, 5);
29975
+ i0.ɵɵviewQuery(_c0$M, 5);
29856
29976
  i0.ɵɵviewQuery(_c1$i, 5, ViewContainerRef);
29857
29977
  } if (rf & 2) {
29858
29978
  let _t;
29859
29979
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputSearchEl = _t.first);
29860
29980
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
29861
- } }, features: [i0.ɵɵInheritDefinitionFeature], decls: 18, vars: 27, consts: [["p-click-out", "false", "p-hide-close", "false", "p-size", "lg", 3, "p-primary-action", "p-secondary-action", "p-title"], [3, "hidden"], [1, "po-lookup-header", "po-pull-right", 3, "p-optional"], [1, "po-lookup-filter-content"], [1, "po-field-icon-container-right"], [1, "po-icon", "po-field-icon", "po-icon-search", "po-icon-input", 3, "click"], ["iconLookup", ""], ["name", "contentSearch", "type", "text", 1, "po-input", "po-input-icon-right", 3, "ngModel", "placeholder", "ngModelChange"], ["inpsearch", ""], ["class", "po-lookup-advanced-search", 4, "ngIf"], ["class", "po-md-12", 3, "p-disclaimers", "p-title", "p-change", 4, "ngIf"], [1, "po-row", "po-lookup-container-table"], [1, "po-md-12", 3, "p-selectable", "p-hide-detail", "p-single-select", "p-hide-action-fixed-columns", "p-sort", "p-hide-table-search", "p-columns", "p-height", "p-hide-columns-manager", "p-items", "p-literals", "p-loading", "p-show-more-disabled", "p-infinite-scroll", "p-hide-batch-actions", "p-selected", "p-unselected", "p-all-selected", "p-all-unselected", "p-show-more", "p-sort-by", "p-change-visible-columns", "p-restore-column-manager"], ["poTable", ""], ["class", "po-md-12", 3, "p-disclaimers", "p-remove", "p-remove-all", 4, "ngIf"], ["container", ""], [1, "po-lookup-advanced-search"], ["tabindex", "0", 1, "po-lookup-advanced-search-link", "po-icon-input", 3, "click", "keydown.enter"], [1, "po-md-12", 3, "p-disclaimers", "p-title", "p-change"], [1, "po-md-12", 3, "p-disclaimers", "p-remove", "p-remove-all"]], template: function PoLookupModalComponent_Template(rf, ctx) { if (rf & 1) {
29981
+ } }, features: [i0.ɵɵInheritDefinitionFeature], decls: 18, vars: 25, consts: [["p-click-out", "false", "p-hide-close", "false", "p-size", "lg", 3, "p-primary-action", "p-secondary-action", "p-title"], [3, "hidden"], [1, "po-lookup-header", "po-pull-right", 3, "p-optional"], [1, "po-lookup-filter-content"], [1, "po-field-icon-container-right"], [1, "po-icon", "po-field-icon", "po-icon-search", "po-icon-input", 3, "click"], ["iconLookup", ""], ["name", "contentSearch", "type", "text", 1, "po-input", "po-input-icon-right", 3, "ngModel", "placeholder", "ngModelChange"], ["inpsearch", ""], ["class", "po-lookup-advanced-search", 4, "ngIf"], ["class", "po-md-12", 3, "p-disclaimers", "p-title", "p-change", 4, "ngIf"], [1, "po-row", "po-lookup-container-table"], [1, "po-md-12", 3, "p-selectable", "p-hide-detail", "p-single-select", "p-hide-action-fixed-columns", "p-sort", "p-columns", "p-height", "p-hide-columns-manager", "p-items", "p-literals", "p-loading", "p-show-more-disabled", "p-infinite-scroll", "p-selected", "p-unselected", "p-all-selected", "p-all-unselected", "p-show-more", "p-sort-by", "p-change-visible-columns", "p-restore-column-manager"], ["poTable", ""], ["class", "po-md-12", 3, "p-disclaimers", "p-remove", "p-remove-all", 4, "ngIf"], ["container", ""], [1, "po-lookup-advanced-search"], ["tabindex", "0", 1, "po-lookup-advanced-search-link", "po-icon-input", 3, "click", "keydown.enter"], [1, "po-md-12", 3, "p-disclaimers", "p-title", "p-change"], [1, "po-md-12", 3, "p-disclaimers", "p-remove", "p-remove-all"]], template: function PoLookupModalComponent_Template(rf, ctx) { if (rf & 1) {
29862
29982
  i0.ɵɵelementStart(0, "po-modal", 0)(1, "div", 1)(2, "po-field-container", 2)(3, "div", 3)(4, "div", 4)(5, "span", 5, 6);
29863
29983
  i0.ɵɵlistener("click", function PoLookupModalComponent_Template_span_click_5_listener() { return ctx.search(); });
29864
29984
  i0.ɵɵelementEnd()();
@@ -29891,7 +30011,7 @@ class PoLookupModalComponent extends PoLookupModalBaseComponent {
29891
30011
  i0.ɵɵadvance(1);
29892
30012
  i0.ɵɵattribute("data-multiple", ctx.multiple);
29893
30013
  i0.ɵɵadvance(1);
29894
- i0.ɵɵproperty("p-selectable", true)("p-hide-detail", true)("p-single-select", !ctx.multiple)("p-hide-action-fixed-columns", true)("p-sort", true)("p-hide-table-search", true)("p-columns", ctx.columns)("p-height", ctx.tableHeight)("p-hide-columns-manager", ctx.hideColumnsManager)("p-items", ctx.items)("p-literals", ctx.tableLiterals)("p-loading", ctx.isLoading)("p-show-more-disabled", !ctx.hasNext)("p-infinite-scroll", ctx.infiniteScroll)("p-hide-batch-actions", true);
30014
+ i0.ɵɵproperty("p-selectable", true)("p-hide-detail", true)("p-single-select", !ctx.multiple)("p-hide-action-fixed-columns", true)("p-sort", true)("p-columns", ctx.columns)("p-height", ctx.tableHeight)("p-hide-columns-manager", ctx.hideColumnsManager)("p-items", ctx.items)("p-literals", ctx.tableLiterals)("p-loading", ctx.isLoading)("p-show-more-disabled", !ctx.hasNext)("p-infinite-scroll", ctx.infiniteScroll);
29895
30015
  i0.ɵɵadvance(2);
29896
30016
  i0.ɵɵproperty("ngIf", ctx.multiple);
29897
30017
  i0.ɵɵadvance(1);
@@ -29900,7 +30020,7 @@ class PoLookupModalComponent extends PoLookupModalBaseComponent {
29900
30020
  }
29901
30021
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoLookupModalComponent, [{
29902
30022
  type: Component,
29903
- args: [{ selector: 'po-lookup-modal', changeDetection: ChangeDetectionStrategy.OnPush, template: "<po-modal\n p-click-out=\"false\"\n p-hide-close=\"false\"\n p-size=\"lg\"\n [p-primary-action]=\"isAdvancedFilter ? primaryActionAdvancedFilter : primaryAction\"\n [p-secondary-action]=\"isAdvancedFilter ? secondaryActionAdvancedFilter : secondaryAction\"\n [p-title]=\"isAdvancedFilter ? advancedFilterModalTitle : title\"\n>\n <div [hidden]=\"isAdvancedFilter\">\n <po-field-container class=\"po-lookup-header po-pull-right\" [p-optional]=\"false\">\n <div class=\"po-lookup-filter-content\">\n <div class=\"po-field-icon-container-right\">\n <span #iconLookup class=\"po-icon po-field-icon po-icon-search po-icon-input\" (click)=\"search()\"> </span>\n </div>\n\n <input\n #inpsearch\n class=\"po-input po-input-icon-right\"\n name=\"contentSearch\"\n [(ngModel)]=\"searchValue\"\n [placeholder]=\"literals.modalPlaceholder\"\n type=\"text\"\n />\n </div>\n\n <div *ngIf=\"advancedFilters && advancedFilters.length > 0\" class=\"po-lookup-advanced-search\">\n <span\n class=\"po-lookup-advanced-search-link po-icon-input\"\n tabindex=\"0\"\n (click)=\"onAdvancedFilter()\"\n (keydown.enter)=\"onAdvancedFilter()\"\n >\n {{ literals.modalAdvancedSearch }}\n </span>\n </div>\n </po-field-container>\n\n <!-- DISCLAIMER -->\n <po-disclaimer-group\n *ngIf=\"!!disclaimerGroup\"\n class=\"po-md-12\"\n [p-disclaimers]=\"disclaimerGroup?.disclaimers\"\n [p-title]=\"disclaimerGroup?.title\"\n (p-change)=\"onChangeDisclaimerGroup()\"\n >\n </po-disclaimer-group>\n\n <div class=\"po-row po-lookup-container-table\" [attr.data-multiple]=\"multiple\">\n <po-table\n #poTable\n class=\"po-md-12\"\n [p-selectable]=\"true\"\n [p-hide-detail]=\"true\"\n [p-single-select]=\"!multiple\"\n [p-hide-action-fixed-columns]=\"true\"\n [p-sort]=\"true\"\n [p-hide-table-search]=\"true\"\n [p-columns]=\"columns\"\n [p-height]=\"tableHeight\"\n [p-hide-columns-manager]=\"hideColumnsManager\"\n [p-items]=\"items\"\n [p-literals]=\"tableLiterals\"\n [p-loading]=\"isLoading\"\n [p-show-more-disabled]=\"!hasNext\"\n [p-infinite-scroll]=\"infiniteScroll\"\n [p-hide-batch-actions]=\"true\"\n (p-selected)=\"onSelect($event)\"\n (p-unselected)=\"onUnselect($event)\"\n (p-all-selected)=\"onAllSelected($event)\"\n (p-all-unselected)=\"onAllUnselected($event)\"\n (p-show-more)=\"showMoreEvent()\"\n (p-sort-by)=\"sortBy($event)\"\n (p-change-visible-columns)=\"changeVisibleColumns.emit($event)\"\n (p-restore-column-manager)=\"columnRestoreManager.emit($event)\"\n >\n </po-table>\n </div>\n\n <!-- DISCLAIMER -->\n <po-disclaimer-group\n *ngIf=\"multiple\"\n class=\"po-md-12\"\n [p-disclaimers]=\"selecteds\"\n (p-remove)=\"onUnselectFromDisclaimer($event.removedDisclaimer)\"\n (p-remove-all)=\"onAllUnselected($event)\"\n >\n </po-disclaimer-group>\n </div>\n <div [hidden]=\"!isAdvancedFilter\">\n <ng-container #container> </ng-container>\n </div>\n</po-modal>\n" }]
30023
+ args: [{ selector: 'po-lookup-modal', changeDetection: ChangeDetectionStrategy.OnPush, template: "<po-modal\n p-click-out=\"false\"\n p-hide-close=\"false\"\n p-size=\"lg\"\n [p-primary-action]=\"isAdvancedFilter ? primaryActionAdvancedFilter : primaryAction\"\n [p-secondary-action]=\"isAdvancedFilter ? secondaryActionAdvancedFilter : secondaryAction\"\n [p-title]=\"isAdvancedFilter ? advancedFilterModalTitle : title\"\n>\n <div [hidden]=\"isAdvancedFilter\">\n <po-field-container class=\"po-lookup-header po-pull-right\" [p-optional]=\"false\">\n <div class=\"po-lookup-filter-content\">\n <div class=\"po-field-icon-container-right\">\n <span #iconLookup class=\"po-icon po-field-icon po-icon-search po-icon-input\" (click)=\"search()\"> </span>\n </div>\n\n <input\n #inpsearch\n class=\"po-input po-input-icon-right\"\n name=\"contentSearch\"\n [(ngModel)]=\"searchValue\"\n [placeholder]=\"literals.modalPlaceholder\"\n type=\"text\"\n />\n </div>\n\n <div *ngIf=\"advancedFilters && advancedFilters.length > 0\" class=\"po-lookup-advanced-search\">\n <span\n class=\"po-lookup-advanced-search-link po-icon-input\"\n tabindex=\"0\"\n (click)=\"onAdvancedFilter()\"\n (keydown.enter)=\"onAdvancedFilter()\"\n >\n {{ literals.modalAdvancedSearch }}\n </span>\n </div>\n </po-field-container>\n\n <!-- DISCLAIMER -->\n <po-disclaimer-group\n *ngIf=\"!!disclaimerGroup\"\n class=\"po-md-12\"\n [p-disclaimers]=\"disclaimerGroup?.disclaimers\"\n [p-title]=\"disclaimerGroup?.title\"\n (p-change)=\"onChangeDisclaimerGroup()\"\n >\n </po-disclaimer-group>\n\n <div class=\"po-row po-lookup-container-table\" [attr.data-multiple]=\"multiple\">\n <po-table\n #poTable\n class=\"po-md-12\"\n [p-selectable]=\"true\"\n [p-hide-detail]=\"true\"\n [p-single-select]=\"!multiple\"\n [p-hide-action-fixed-columns]=\"true\"\n [p-sort]=\"true\"\n [p-columns]=\"columns\"\n [p-height]=\"tableHeight\"\n [p-hide-columns-manager]=\"hideColumnsManager\"\n [p-items]=\"items\"\n [p-literals]=\"tableLiterals\"\n [p-loading]=\"isLoading\"\n [p-show-more-disabled]=\"!hasNext\"\n [p-infinite-scroll]=\"infiniteScroll\"\n (p-selected)=\"onSelect($event)\"\n (p-unselected)=\"onUnselect($event)\"\n (p-all-selected)=\"onAllSelected($event)\"\n (p-all-unselected)=\"onAllUnselected($event)\"\n (p-show-more)=\"showMoreEvent()\"\n (p-sort-by)=\"sortBy($event)\"\n (p-change-visible-columns)=\"changeVisibleColumns.emit($event)\"\n (p-restore-column-manager)=\"columnRestoreManager.emit($event)\"\n >\n </po-table>\n </div>\n\n <!-- DISCLAIMER -->\n <po-disclaimer-group\n *ngIf=\"multiple\"\n class=\"po-md-12\"\n [p-disclaimers]=\"selecteds\"\n (p-remove)=\"onUnselectFromDisclaimer($event.removedDisclaimer)\"\n (p-remove-all)=\"onAllUnselected($event)\"\n >\n </po-disclaimer-group>\n </div>\n <div [hidden]=\"!isAdvancedFilter\">\n <ng-container #container> </ng-container>\n </div>\n</po-modal>\n" }]
29904
30024
  }], function () { return [{ type: i0.ComponentFactoryResolver }, { type: PoLanguageService }, { type: i0.ChangeDetectorRef }]; }, { inputSearchEl: [{
29905
30025
  type: ViewChild,
29906
30026
  args: ['inpsearch']
@@ -30738,7 +30858,7 @@ class PoLookupBaseComponent {
30738
30858
  args: ['p-disabled']
30739
30859
  }] }); })();
30740
30860
 
30741
- const _c0$M = ["inp"];
30861
+ const _c0$L = ["inp"];
30742
30862
  function PoLookupComponent_div_1_po_clean_4_Template(rf, ctx) { if (rf & 1) {
30743
30863
  const _r7 = i0.ɵɵgetCurrentView();
30744
30864
  i0.ɵɵelementStart(0, "po-clean", 11);
@@ -31138,7 +31258,7 @@ class PoLookupComponent extends PoLookupBaseComponent {
31138
31258
  }
31139
31259
  static ɵfac = function PoLookupComponent_Factory(t) { return new (t || PoLookupComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(PoLookupFilterService), i0.ɵɵdirectiveInject(PoLookupModalService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.Injector)); };
31140
31260
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoLookupComponent, selectors: [["po-lookup"]], viewQuery: function PoLookupComponent_Query(rf, ctx) { if (rf & 1) {
31141
- i0.ɵɵviewQuery(_c0$M, 5, ElementRef);
31261
+ i0.ɵɵviewQuery(_c0$L, 5, ElementRef);
31142
31262
  } if (rf & 2) {
31143
31263
  let _t;
31144
31264
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputEl = _t.first);
@@ -31236,22 +31356,26 @@ const poMultiselectLiteralsDefault = {
31236
31356
  en: {
31237
31357
  noData: 'No data found',
31238
31358
  placeholderSearch: 'Search',
31239
- selectAll: 'Select all'
31359
+ selectAll: 'Select all',
31360
+ selectItem: 'Select items'
31240
31361
  },
31241
31362
  es: {
31242
31363
  noData: 'Datos no encontrados',
31243
31364
  placeholderSearch: 'Busca',
31244
- selectAll: 'Seleccionar todo'
31365
+ selectAll: 'Seleccionar todo',
31366
+ selectItem: 'Seleccionar items'
31245
31367
  },
31246
31368
  pt: {
31247
31369
  noData: 'Nenhum dado encontrado',
31248
31370
  placeholderSearch: 'Buscar',
31249
- selectAll: 'Selecionar todos'
31371
+ selectAll: 'Selecionar todos',
31372
+ selectItem: 'Selecionar itens'
31250
31373
  },
31251
31374
  ru: {
31252
31375
  noData: 'Данные не найдены',
31253
31376
  placeholderSearch: 'искать',
31254
- selectAll: 'Выбрать все'
31377
+ selectAll: 'Выбрать все',
31378
+ selectItem: 'Выбрать элементы'
31255
31379
  }
31256
31380
  };
31257
31381
  /**
@@ -31267,6 +31391,23 @@ const poMultiselectLiteralsDefault = {
31267
31391
  * po-select, po-combo ou po-radio-group.
31268
31392
  *
31269
31393
  * Com ele também é possível definir uma lista à partir da requisição de um serviço definido em `p-filter-service`.
31394
+ *
31395
+ * #### Boas práticas
31396
+ *
31397
+ * - Caso a lista apresente menos de 5 itens, considere utilizar outro componente;
31398
+ * - Não utilize o multiselect caso o usuário possa selecionar apenas uma opção. Para esse caso, opte por utilizar po-radio ou po-select;
31399
+ * - Sempre que possível, agrupe as opções e use labels curtas para descrever o conteúdo. Exemplo: em uma combinação de alimentos,
31400
+ * as opções podem ser agrupadas por Vegetais, Frutas, etc;
31401
+ *
31402
+ * #### Acessibilidade tratada no componente
31403
+ *
31404
+ * Algumas diretrizes de acessibilidade já são tratadas no componente internamente, e não podem ser alteradas pelo proprietário do conteúdo. São elas:
31405
+ *
31406
+ * - Quando em foco, o multiselect abre o listbox usando as teclas de Espaço ou Enter do teclado.
31407
+ * - Utilize as teclas Arrow Up [seta para cima] ou Arrow Down [seta para baixo] do teclado para navegar entre os itens do listbox.
31408
+ * - Utilize a tecla Esc do teclado para fechar o listbox.
31409
+ * - Quando um item estiver em foco, utilize as teclas Arrow Right [seta para direita] ou Arrow Left [seta para esquerda] do teclado para navegar entre eles.
31410
+ * - Quando em foco e havendo um item ou mais já selecionado, utilize a tecla Arrow Down [seta para baixo] do teclado para abrir o listbox.
31270
31411
  */
31271
31412
  class PoMultiselectBaseComponent {
31272
31413
  /**
@@ -31346,7 +31487,7 @@ class PoMultiselectBaseComponent {
31346
31487
  appendBox = false;
31347
31488
  selectedOptions = [];
31348
31489
  visibleOptionsDropdown = [];
31349
- visibleDisclaimers = [];
31490
+ visibleTags = [];
31350
31491
  isServerSearching = false;
31351
31492
  isFirstFilter = true;
31352
31493
  filterSubject = new Subject();
@@ -31459,7 +31600,9 @@ class PoMultiselectBaseComponent {
31459
31600
  * ```
31460
31601
  * const customLiterals: PoMultiselectLiterals = {
31461
31602
  * noData: 'Nenhum dado encontrado',
31462
- * placeholderSearch: 'Buscar'
31603
+ * placeholderSearch: 'Buscar',
31604
+ * selectAll: 'Select all',
31605
+ * selectItem: 'Select items'
31463
31606
  * };
31464
31607
  * ```
31465
31608
  *
@@ -31968,7 +32111,7 @@ class PoMultiselectFilterService {
31968
32111
  type: Injectable
31969
32112
  }], function () { return [{ type: i1$2.HttpClient }]; }, null); })();
31970
32113
 
31971
- const _c0$L = ["dropdownElement"];
32114
+ const _c0$K = ["dropdownElement"];
31972
32115
  const _c1$h = ["iconElement"];
31973
32116
  const _c2$6 = ["inputElement"];
31974
32117
  function PoMultiselectComponent_span_5_Template(rf, ctx) { if (rf & 1) {
@@ -31978,18 +32121,19 @@ function PoMultiselectComponent_span_5_Template(rf, ctx) { if (rf & 1) {
31978
32121
  } if (rf & 2) {
31979
32122
  const ctx_r2 = i0.ɵɵnextContext();
31980
32123
  i0.ɵɵadvance(1);
31981
- i0.ɵɵtextInterpolate1(" ", ctx_r2.placeholder, " ");
32124
+ i0.ɵɵtextInterpolate1(" ", ctx_r2.placeholder ? ctx_r2.placeholder : ctx_r2.literals.selectItem, " ");
31982
32125
  } }
31983
- function PoMultiselectComponent_po_disclaimer_6_Template(rf, ctx) { if (rf & 1) {
31984
- const _r14 = i0.ɵɵgetCurrentView();
31985
- i0.ɵɵelementStart(0, "po-disclaimer", 16);
31986
- i0.ɵɵlistener("click", function PoMultiselectComponent_po_disclaimer_6_Template_po_disclaimer_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r14); const disclaimer_r12 = restoredCtx.$implicit; const ctx_r13 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r13.openDropdown(disclaimer_r12[ctx_r13.fieldValue] === "")); })("p-close-action", function PoMultiselectComponent_po_disclaimer_6_Template_po_disclaimer_p_close_action_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r14); const disclaimer_r12 = restoredCtx.$implicit; const ctx_r15 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r15.closeDisclaimer(disclaimer_r12[ctx_r15.fieldValue])); });
32126
+ function PoMultiselectComponent_po_tag_6_Template(rf, ctx) { if (rf & 1) {
32127
+ const _r15 = i0.ɵɵgetCurrentView();
32128
+ i0.ɵɵelementStart(0, "po-tag", 16);
32129
+ i0.ɵɵlistener("p-close", function PoMultiselectComponent_po_tag_6_Template_po_tag_p_close_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r15); const tag_r12 = restoredCtx.$implicit; const ctx_r14 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r14.closeTag(tag_r12[ctx_r14.fieldValue], $event)); });
31987
32130
  i0.ɵɵelementEnd();
31988
32131
  } if (rf & 2) {
31989
- const disclaimer_r12 = ctx.$implicit;
32132
+ const tag_r12 = ctx.$implicit;
32133
+ const i_r13 = ctx.index;
31990
32134
  const ctx_r3 = i0.ɵɵnextContext();
31991
- i0.ɵɵclassProp("po-clickable", disclaimer_r12[ctx_r3.fieldValue] === "" && !ctx_r3.disabled);
31992
- i0.ɵɵproperty("p-label", disclaimer_r12[ctx_r3.fieldLabel])("p-value", disclaimer_r12[ctx_r3.fieldValue])("p-hide-close", disclaimer_r12[ctx_r3.fieldValue] === "" || ctx_r3.disabled);
32135
+ i0.ɵɵclassProp("po-clickable", tag_r12[ctx_r3.fieldValue] === "" && !ctx_r3.disabled);
32136
+ i0.ɵɵproperty("p-value", tag_r12[ctx_r3.fieldLabel])("p-literals", i_r13 + 1 === ctx_r3.visibleTags.length && ctx_r3.hasMoreTag ? ctx_r3.literalsTag : undefined)("p-removable", true)("p-disabled", ctx_r3.disabled);
31993
32137
  } }
31994
32138
  function PoMultiselectComponent_ng_container_10_Template(rf, ctx) { if (rf & 1) {
31995
32139
  i0.ɵɵelementContainer(0);
@@ -32024,7 +32168,7 @@ function PoMultiselectComponent_ng_template_13_Template(rf, ctx) { if (rf & 1) {
32024
32168
  function PoMultiselectComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
32025
32169
  const _r21 = i0.ɵɵgetCurrentView();
32026
32170
  i0.ɵɵelementStart(0, "po-multiselect-dropdown", 19, 20);
32027
- i0.ɵɵlistener("p-change", function PoMultiselectComponent_ng_template_16_Template_po_multiselect_dropdown_p_change_0_listener($event) { i0.ɵɵrestoreView(_r21); const ctx_r20 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r20.changeItems($event)); })("p-change-search", function PoMultiselectComponent_ng_template_16_Template_po_multiselect_dropdown_p_change_search_0_listener($event) { i0.ɵɵrestoreView(_r21); const ctx_r22 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r22.changeSearch($event)); })("p-close-dropdown", function PoMultiselectComponent_ng_template_16_Template_po_multiselect_dropdown_p_close_dropdown_0_listener() { i0.ɵɵrestoreView(_r21); const ctx_r23 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r23.controlDropdownVisibility(false)); });
32171
+ i0.ɵɵlistener("p-change", function PoMultiselectComponent_ng_template_16_Template_po_multiselect_dropdown_p_change_0_listener($event) { i0.ɵɵrestoreView(_r21); const ctx_r20 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r20.changeItems($event)); })("p-change-search", function PoMultiselectComponent_ng_template_16_Template_po_multiselect_dropdown_p_change_search_0_listener($event) { i0.ɵɵrestoreView(_r21); const ctx_r22 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r22.changeSearch($event)); })("p-close-dropdown", function PoMultiselectComponent_ng_template_16_Template_po_multiselect_dropdown_p_close_dropdown_0_listener() { i0.ɵɵrestoreView(_r21); const ctx_r23 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r23.controlDropdownVisibility(false)); })("keydown", function PoMultiselectComponent_ng_template_16_Template_po_multiselect_dropdown_keydown_0_listener($event) { i0.ɵɵrestoreView(_r21); const ctx_r24 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r24.onKeyDownDropdown($event, 0)); });
32028
32172
  i0.ɵɵelementEnd();
32029
32173
  } if (rf & 2) {
32030
32174
  const ctx_r11 = i0.ɵɵnextContext();
@@ -32032,6 +32176,22 @@ function PoMultiselectComponent_ng_template_16_Template(rf, ctx) { if (rf & 1) {
32032
32176
  } }
32033
32177
  const poMultiselectContainerOffset = 8;
32034
32178
  const poMultiselectContainerPositionDefault = 'bottom';
32179
+ const poMultiselectInputPaddingRight = 52;
32180
+ const poMultiselectSpaceBetweenTags = 8;
32181
+ const literalsTagRemoveOthers = {
32182
+ pt: {
32183
+ remove: 'Remover todos os itens selecionados'
32184
+ },
32185
+ ru: {
32186
+ remove: 'Удалить все выбранные элементы'
32187
+ },
32188
+ es: {
32189
+ remove: 'Eliminar todos los elementos seleccionados'
32190
+ },
32191
+ en: {
32192
+ remove: 'Clear all selected items'
32193
+ }
32194
+ };
32035
32195
  /* istanbul ignore next */
32036
32196
  const providers$1 = [
32037
32197
  PoMultiselectFilterService,
@@ -32102,13 +32262,16 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
32102
32262
  dropdown;
32103
32263
  iconElement;
32104
32264
  inputElement;
32105
- disclaimerOffset = 0;
32265
+ literalsTag;
32106
32266
  dropdownIcon = 'po-icon-arrow-down';
32107
32267
  dropdownOpen = false;
32108
32268
  initialized = false;
32109
- positionDisclaimerExtra;
32269
+ hasMoreTag;
32110
32270
  timeoutResize;
32111
32271
  visibleElement = false;
32272
+ subscription = new Subscription();
32273
+ enterCloseTag = false;
32274
+ initCalculateItems = true;
32112
32275
  isCalculateVisibleItems = true;
32113
32276
  cacheOptions;
32114
32277
  constructor(renderer, changeDetector, el, controlPosition, defaultService, languageService) {
@@ -32118,6 +32281,11 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
32118
32281
  this.el = el;
32119
32282
  this.controlPosition = controlPosition;
32120
32283
  this.defaultService = defaultService;
32284
+ const language = languageService.getShortLanguage();
32285
+ this.literalsTag = {
32286
+ ...literalsTagRemoveOthers[poLocaleDefault],
32287
+ ...literalsTagRemoveOthers[language]
32288
+ };
32121
32289
  }
32122
32290
  ngAfterViewInit() {
32123
32291
  if (this.autoFocus) {
@@ -32132,7 +32300,7 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
32132
32300
  }
32133
32301
  ngDoCheck() {
32134
32302
  const inputWidth = this.inputElement.nativeElement.offsetWidth;
32135
- // Permite que os disclaimers sejam calculados na primeira vez que o componente torna-se visível,
32303
+ // Permite que as tags sejam calculadas na primeira vez que o componente torna-se visível,
32136
32304
  // evitando com isso, problemas com Tabs ou Divs que iniciem escondidas.
32137
32305
  if ((inputWidth && !this.visibleElement && this.initialized) || (inputWidth && this.isCalculateVisibleItems)) {
32138
32306
  this.debounceResize();
@@ -32143,6 +32311,7 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
32143
32311
  this.removeListeners();
32144
32312
  this.getObjectsByValuesSubscription?.unsubscribe();
32145
32313
  this.filterSubject?.unsubscribe();
32314
+ this.subscription.unsubscribe();
32146
32315
  }
32147
32316
  /**
32148
32317
  * Função que atribui foco ao componente.
@@ -32167,46 +32336,54 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
32167
32336
  }
32168
32337
  }
32169
32338
  getInputWidth() {
32170
- return this.el.nativeElement.querySelector('.po-input').offsetWidth - 40;
32339
+ return this.el.nativeElement.querySelector('.po-multiselect-input').offsetWidth - poMultiselectInputPaddingRight;
32171
32340
  }
32172
- getDisclaimersWidth() {
32173
- const disclaimers = this.el.nativeElement.querySelectorAll('po-disclaimer');
32174
- return Array.from(disclaimers).map(disclaimer => disclaimer['offsetWidth']);
32341
+ getTagsWidth() {
32342
+ const tags = this.el.nativeElement.querySelectorAll('po-tag');
32343
+ return Array.from(tags).map(tag => tag['offsetWidth']);
32175
32344
  }
32176
32345
  calculateVisibleItems() {
32177
- const disclaimersWidth = this.getDisclaimersWidth();
32346
+ this.hasMoreTag = false;
32347
+ const tagsWidth = this.getTagsWidth();
32178
32348
  const inputWidth = this.getInputWidth();
32179
- const extraDisclaimerSize = 38;
32180
- const disclaimersVisible = disclaimersWidth[0];
32181
- this.visibleDisclaimers = [];
32349
+ const extraTagSize = 63;
32350
+ const tagsVisible = tagsWidth[0];
32351
+ this.visibleTags = [];
32182
32352
  if (inputWidth > 0) {
32183
32353
  let sum = 0;
32184
32354
  let i = 0;
32185
32355
  for (i = 0; i < this.selectedOptions.length; i++) {
32186
- sum += disclaimersWidth[i];
32187
- this.visibleDisclaimers.push(this.selectedOptions[i]);
32356
+ sum += tagsWidth[i] + poMultiselectSpaceBetweenTags;
32357
+ this.visibleTags.push(this.selectedOptions[i]);
32188
32358
  if (sum > inputWidth) {
32189
- sum -= disclaimersWidth[i];
32359
+ sum -= tagsWidth[i];
32190
32360
  this.isCalculateVisibleItems = false;
32191
32361
  break;
32192
32362
  }
32193
32363
  }
32194
- if (disclaimersVisible || !this.selectedOptions.length) {
32364
+ if (tagsVisible || !this.selectedOptions.length) {
32195
32365
  if (i === this.selectedOptions.length) {
32196
32366
  this.isCalculateVisibleItems = false;
32197
32367
  return;
32198
32368
  }
32199
- if (sum + extraDisclaimerSize > inputWidth) {
32200
- this.visibleDisclaimers.splice(-2, 2);
32369
+ this.hasMoreTag = true;
32370
+ if (sum + extraTagSize > inputWidth) {
32371
+ this.visibleTags.splice(-2, 2);
32201
32372
  const label = '+' + (this.selectedOptions.length + 1 - i).toString();
32202
- this.visibleDisclaimers.push({ [this.fieldValue]: '', [this.fieldLabel]: label });
32373
+ this.visibleTags.push({ [this.fieldValue]: '', [this.fieldLabel]: label });
32203
32374
  }
32204
32375
  else {
32205
- this.visibleDisclaimers.splice(-1, 1);
32376
+ this.visibleTags.splice(-1, 1);
32206
32377
  const label = '+' + (this.selectedOptions.length - i).toString();
32207
- this.visibleDisclaimers.push({ [this.fieldValue]: '', [this.fieldLabel]: label });
32378
+ this.visibleTags.push({ [this.fieldValue]: '', [this.fieldLabel]: label });
32208
32379
  }
32209
32380
  }
32381
+ if (this.initCalculateItems) {
32382
+ setTimeout(() => {
32383
+ this.handleKeyboardNavigationTag();
32384
+ }, 300);
32385
+ }
32386
+ this.initCalculateItems = false;
32210
32387
  }
32211
32388
  this.changeDetector.markForCheck();
32212
32389
  }
@@ -32217,10 +32394,13 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
32217
32394
  this.changeDetector.detectChanges();
32218
32395
  this.adjustContainerPosition();
32219
32396
  }
32397
+ setTimeout(() => {
32398
+ this.handleKeyboardNavigationTag();
32399
+ }, 300);
32220
32400
  }
32221
32401
  updateVisibleItems() {
32222
32402
  if (this.selectedOptions) {
32223
- this.visibleDisclaimers = [].concat(this.selectedOptions);
32403
+ this.visibleTags = [].concat(this.selectedOptions);
32224
32404
  }
32225
32405
  this.debounceResize();
32226
32406
  // quando estiver dentro de modal
@@ -32238,17 +32418,45 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
32238
32418
  this.changeDetector.markForCheck();
32239
32419
  }
32240
32420
  onBlur() {
32421
+ if (typeof this.inputElement.nativeElement.getAttribute('aria-label') === 'string' &&
32422
+ this.inputElement.nativeElement.getAttribute('aria-label').includes('Unselected')) {
32423
+ this.inputElement.nativeElement.setAttribute('aria-label', this.label ? this.label : '');
32424
+ }
32241
32425
  this.onModelTouched?.();
32242
32426
  }
32243
32427
  onKeyDown(event) {
32244
- if (event.keyCode === PoKeyCodeEnum.arrowUp || event.keyCode === PoKeyCodeEnum.arrowDown) {
32428
+ if ((event.keyCode === PoKeyCodeEnum.tab && this.visibleTags.length > 1) ||
32429
+ (event.keyCode === PoKeyCodeEnum.tab && this.visibleTags.length < 1)) {
32430
+ return;
32431
+ }
32432
+ if (event.keyCode === PoKeyCodeEnum.esc) {
32433
+ event.preventDefault();
32434
+ this.controlDropdownVisibility(false);
32435
+ return;
32436
+ }
32437
+ if (event.keyCode === PoKeyCodeEnum.arrowDown && this.visibleTags.length > 0) {
32245
32438
  event.preventDefault();
32246
32439
  this.controlDropdownVisibility(true);
32440
+ this.dropdown?.listbox?.setFocus();
32247
32441
  return;
32248
32442
  }
32249
- if (event.keyCode === PoKeyCodeEnum.tab) {
32250
- this.controlDropdownVisibility(false);
32443
+ if (event.keyCode === PoKeyCodeEnum.enter && !this.enterCloseTag) {
32444
+ if (this.visibleTags.length === 0) {
32445
+ this.toggleDropdownVisibility();
32446
+ this.focus();
32447
+ return;
32448
+ }
32449
+ else {
32450
+ event.preventDefault();
32451
+ this.toggleDropdownVisibility();
32452
+ return;
32453
+ }
32454
+ }
32455
+ if (event.keyCode === PoKeyCodeEnum.space) {
32456
+ event.preventDefault();
32457
+ this.toggleDropdownVisibility();
32251
32458
  }
32459
+ this.enterCloseTag = false;
32252
32460
  }
32253
32461
  toggleDropdownVisibility() {
32254
32462
  if (this.disabled) {
@@ -32259,6 +32467,13 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
32259
32467
  }
32260
32468
  this.controlDropdownVisibility(!this.dropdownOpen);
32261
32469
  }
32470
+ onKeyDownDropdown(event, index) {
32471
+ if (event.key === 'Escape') {
32472
+ event.preventDefault();
32473
+ this.controlDropdownVisibility(false);
32474
+ this.inputElement.nativeElement.focus();
32475
+ }
32476
+ }
32262
32477
  openDropdown(toOpen) {
32263
32478
  if (toOpen && !this.disabled) {
32264
32479
  this.controlDropdownVisibility(true);
@@ -32292,11 +32507,29 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
32292
32507
  // timeout necessário para reposicionar corretamente quando dropdown estiver pra cima do input e realizar busca no input
32293
32508
  setTimeout(() => this.adjustContainerPosition());
32294
32509
  }
32295
- closeDisclaimer(value) {
32296
- const index = this.selectedOptions.findIndex(option => option[this.fieldValue] === value);
32297
- this.selectedOptions.splice(index, 1);
32298
- this.updateVisibleItems();
32299
- this.callOnChange(this.selectedOptions);
32510
+ closeTag(value, event) {
32511
+ let index;
32512
+ this.enterCloseTag = true;
32513
+ if (!value || (typeof value === 'string' && value.includes('+'))) {
32514
+ index = null;
32515
+ const itemsNotInVisibleTags = this.selectedOptions.filter(option => !this.visibleTags.includes(option));
32516
+ for (const option of this.visibleTags) {
32517
+ if (!this.selectedOptions.includes(option)) {
32518
+ this.selectedOptions.splice(this.visibleTags.length - 1, itemsNotInVisibleTags.length);
32519
+ this.updateVisibleItems();
32520
+ this.callOnChange(this.selectedOptions);
32521
+ }
32522
+ }
32523
+ }
32524
+ else {
32525
+ index = this.selectedOptions.findIndex(option => option[this.fieldValue] === value);
32526
+ this.selectedOptions.splice(index, 1);
32527
+ this.updateVisibleItems();
32528
+ this.callOnChange(this.selectedOptions);
32529
+ }
32530
+ setTimeout(() => {
32531
+ this.focusOnNextTag(index, event);
32532
+ }, 300);
32300
32533
  }
32301
32534
  wasClickedOnToggle(event) {
32302
32535
  if (this.dropdownOpen &&
@@ -32345,6 +32578,84 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
32345
32578
  this.setVisibleOptionsDropdown(this.options);
32346
32579
  this.removeListeners();
32347
32580
  }
32581
+ focusOnNextTag(indexClosed, clickOrEnter) {
32582
+ if (clickOrEnter === 'enter') {
32583
+ const tagRemoveElements = this.el.nativeElement.querySelectorAll('.po-tag-remove');
32584
+ indexClosed = indexClosed || indexClosed === 0 ? indexClosed : tagRemoveElements.length;
32585
+ if (tagRemoveElements.length === 0) {
32586
+ this.inputElement.nativeElement.focus();
32587
+ this.inputElement.nativeElement.setAttribute('aria-label', `Unselected items ${this.label}`);
32588
+ this.controlDropdownVisibility(true);
32589
+ }
32590
+ this.focusOnRemoveTag(tagRemoveElements, indexClosed);
32591
+ }
32592
+ else {
32593
+ indexClosed = 0;
32594
+ }
32595
+ this.handleKeyboardNavigationTag(indexClosed);
32596
+ }
32597
+ focusOnRemoveTag(tag, indexClosed) {
32598
+ if (tag.length === indexClosed) {
32599
+ tag[indexClosed - 1]?.focus();
32600
+ }
32601
+ else {
32602
+ tag[indexClosed]?.focus();
32603
+ }
32604
+ }
32605
+ handleKeyboardNavigationTag(initialIndex = 0) {
32606
+ this.subscription.unsubscribe();
32607
+ this.subscription = new Subscription();
32608
+ const tagRemoveElements = this.el.nativeElement.querySelectorAll('.po-tag-remove');
32609
+ this.initializeTagRemoveElements(tagRemoveElements, initialIndex);
32610
+ }
32611
+ setTabIndex(element, tabIndex) {
32612
+ element.setAttribute('tabindex', tabIndex);
32613
+ }
32614
+ handleArrowLeft(tagRemoveElements, index) {
32615
+ if (index > 0) {
32616
+ this.setTabIndex(tagRemoveElements[index], -1);
32617
+ tagRemoveElements[index - 1].focus();
32618
+ this.setTabIndex(tagRemoveElements[index - 1], 0);
32619
+ }
32620
+ }
32621
+ handleArrowRight(tagRemoveElements, index) {
32622
+ if (index < tagRemoveElements.length - 1) {
32623
+ this.setTabIndex(tagRemoveElements[index], -1);
32624
+ tagRemoveElements[index + 1].focus();
32625
+ this.setTabIndex(tagRemoveElements[index + 1], 0);
32626
+ }
32627
+ }
32628
+ handleKeyDown(event, tagRemoveElements, index) {
32629
+ const KEY_SPACE = 'Space';
32630
+ const KEY_ARROW_LEFT = 'ArrowLeft';
32631
+ const KEY_ARROW_RIGHT = 'ArrowRight';
32632
+ if (event.code === KEY_SPACE) {
32633
+ event.preventDefault();
32634
+ event.stopPropagation();
32635
+ }
32636
+ if (event.key === KEY_ARROW_LEFT) {
32637
+ this.handleArrowLeft(tagRemoveElements, index);
32638
+ }
32639
+ else if (event.key === KEY_ARROW_RIGHT) {
32640
+ this.handleArrowRight(tagRemoveElements, index);
32641
+ }
32642
+ }
32643
+ initializeTagRemoveElements(tagRemoveElements, initialIndex) {
32644
+ tagRemoveElements.forEach((tagRemoveElement, index) => {
32645
+ if (index === initialIndex) {
32646
+ this.setTabIndex(tagRemoveElements[initialIndex], 0);
32647
+ }
32648
+ else if (tagRemoveElements.length === initialIndex) {
32649
+ this.setTabIndex(tagRemoveElements[initialIndex - 1], 0);
32650
+ }
32651
+ else {
32652
+ this.setTabIndex(tagRemoveElement, -1);
32653
+ }
32654
+ this.subscription.add(fromEvent(tagRemoveElement, 'keydown').subscribe((event) => {
32655
+ this.handleKeyDown(event, tagRemoveElements, index);
32656
+ }));
32657
+ });
32658
+ }
32348
32659
  initializeListeners() {
32349
32660
  this.clickOutListener = this.renderer.listen('document', 'click', (event) => {
32350
32661
  this.wasClickedOnToggle(event);
@@ -32389,8 +32700,8 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
32389
32700
  let _t;
32390
32701
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.multiselectOptionTemplate = _t.first);
32391
32702
  } }, viewQuery: function PoMultiselectComponent_Query(rf, ctx) { if (rf & 1) {
32392
- i0.ɵɵviewQuery(_c0$L, 5, ElementRef);
32393
- i0.ɵɵviewQuery(_c0$L, 5);
32703
+ i0.ɵɵviewQuery(_c0$K, 5, ElementRef);
32704
+ i0.ɵɵviewQuery(_c0$K, 5);
32394
32705
  i0.ɵɵviewQuery(_c1$h, 7, ElementRef);
32395
32706
  i0.ɵɵviewQuery(_c2$6, 7, ElementRef);
32396
32707
  } if (rf & 2) {
@@ -32399,11 +32710,11 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
32399
32710
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropdown = _t.first);
32400
32711
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.iconElement = _t.first);
32401
32712
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputElement = _t.first);
32402
- } }, features: [i0.ɵɵProvidersFeature(providers$1), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 18, vars: 28, consts: [[3, "p-disabled", "p-label", "p-optional", "p-required", "p-show-required"], ["cdkOverlayOrigin", "", 1, "po-field-container-content"], ["trigger", "cdkOverlayOrigin"], [1, "po-input", "po-input-icon-right", "po-multiselect-input", "po-clickable", 3, "tabindex", "keyup.enter", "keydown", "click", "blur"], ["inputElement", ""], ["class", "po-multiselect-input-placeholder", 4, "ngIf"], ["class", "po-multiselect-input-disclaimer", 3, "p-label", "p-value", "p-hide-close", "po-clickable", "click", "p-close-action", 4, "ngFor", "ngForOf"], [1, "po-field-icon-container-right"], [3, "ngClass"], ["iconElement", ""], [4, "ngIf", "ngIfThen", "ngIfElse"], ["dropdownDefault", ""], ["dropdownCDK", ""], [3, "p-help", "p-disabled"], ["dropdownListbox", ""], [1, "po-multiselect-input-placeholder"], [1, "po-multiselect-input-disclaimer", 3, "p-label", "p-value", "p-hide-close", "click", "p-close-action"], [4, "ngTemplateOutlet"], ["cdkConnectedOverlay", "", 3, "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen"], [3, "p-searching", "p-hide-search", "p-hide-select-all", "p-literals", "p-options", "p-visible-options", "p-selected-options", "p-placeholder-search", "p-field-value", "p-field-label", "p-multiselect-template", "p-change", "p-change-search", "p-close-dropdown"], ["dropdownElement", ""]], template: function PoMultiselectComponent_Template(rf, ctx) { if (rf & 1) {
32713
+ } }, features: [i0.ɵɵProvidersFeature(providers$1), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 18, vars: 30, consts: [[3, "p-disabled", "p-label", "p-optional", "p-required", "p-show-required"], ["cdkOverlayOrigin", "", 1, "po-field-container-content"], ["trigger", "cdkOverlayOrigin"], [1, "po-input-icon-right", "po-multiselect-input", 3, "tabindex", "keydown", "click", "blur"], ["inputElement", ""], ["class", "po-multiselect-input-placeholder", "aria-hidden", "true", 4, "ngIf"], [3, "p-value", "p-literals", "p-removable", "po-clickable", "p-disabled", "p-close", 4, "ngFor", "ngForOf"], [1, "po-field-icon-container-right"], [3, "ngClass"], ["iconElement", ""], [4, "ngIf", "ngIfThen", "ngIfElse"], ["dropdownDefault", ""], ["dropdownCDK", ""], [3, "p-help", "p-disabled"], ["dropdownListbox", ""], ["aria-hidden", "true", 1, "po-multiselect-input-placeholder"], [3, "p-value", "p-literals", "p-removable", "p-disabled", "p-close"], [4, "ngTemplateOutlet"], ["cdkConnectedOverlay", "", 3, "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen"], [3, "p-searching", "p-hide-search", "p-hide-select-all", "p-literals", "p-options", "p-visible-options", "p-selected-options", "p-placeholder-search", "p-field-value", "p-field-label", "p-multiselect-template", "p-change", "p-change-search", "p-close-dropdown", "keydown"], ["dropdownElement", ""]], template: function PoMultiselectComponent_Template(rf, ctx) { if (rf & 1) {
32403
32714
  i0.ɵɵelementStart(0, "po-field-container", 0)(1, "div", 1, 2)(3, "div", 3, 4);
32404
- i0.ɵɵlistener("keyup.enter", function PoMultiselectComponent_Template_div_keyup_enter_3_listener() { return ctx.toggleDropdownVisibility(); })("keydown", function PoMultiselectComponent_Template_div_keydown_3_listener($event) { return ctx.onKeyDown($event); })("click", function PoMultiselectComponent_Template_div_click_3_listener() { return ctx.toggleDropdownVisibility(); })("blur", function PoMultiselectComponent_Template_div_blur_3_listener() { return ctx.onBlur(); });
32715
+ i0.ɵɵlistener("keydown", function PoMultiselectComponent_Template_div_keydown_3_listener($event) { return ctx.onKeyDown($event); })("click", function PoMultiselectComponent_Template_div_click_3_listener() { return ctx.toggleDropdownVisibility(); })("blur", function PoMultiselectComponent_Template_div_blur_3_listener() { return ctx.onBlur(); });
32405
32716
  i0.ɵɵtemplate(5, PoMultiselectComponent_span_5_Template, 2, 1, "span", 5);
32406
- i0.ɵɵtemplate(6, PoMultiselectComponent_po_disclaimer_6_Template, 1, 5, "po-disclaimer", 6);
32717
+ i0.ɵɵtemplate(6, PoMultiselectComponent_po_tag_6_Template, 1, 6, "po-tag", 6);
32407
32718
  i0.ɵɵelementStart(7, "div", 7);
32408
32719
  i0.ɵɵelement(8, "span", 8, 9);
32409
32720
  i0.ɵɵelementEnd()()();
@@ -32420,13 +32731,13 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
32420
32731
  i0.ɵɵadvance(1);
32421
32732
  i0.ɵɵclassProp("po-multiselect-show", ctx.dropdownOpen);
32422
32733
  i0.ɵɵadvance(2);
32423
- i0.ɵɵclassProp("po-multiselect-input-auto", ctx.autoHeight)("po-multiselect-input-static", !ctx.autoHeight)("po-multiselect-input-disabled", ctx.disabled);
32734
+ i0.ɵɵclassProp("po-multiselect-input-auto", ctx.autoHeight)("po-multiselect-input-static", !ctx.autoHeight)("po-multiselect-input-disabled", ctx.disabled)("po-multiselect-input-font", !ctx.disabled && !(ctx.visibleTags == null ? null : ctx.visibleTags.length));
32424
32735
  i0.ɵɵproperty("tabindex", ctx.disabled ? -1 : 0);
32425
32736
  i0.ɵɵattribute("disabled", ctx.disabled)("aria-label", ctx.label);
32426
32737
  i0.ɵɵadvance(2);
32427
- i0.ɵɵproperty("ngIf", ctx.placeholder && !ctx.disabled && !(ctx.visibleDisclaimers == null ? null : ctx.visibleDisclaimers.length));
32738
+ i0.ɵɵproperty("ngIf", !ctx.disabled && !(ctx.visibleTags == null ? null : ctx.visibleTags.length));
32428
32739
  i0.ɵɵadvance(1);
32429
- i0.ɵɵproperty("ngForOf", ctx.visibleDisclaimers);
32740
+ i0.ɵɵproperty("ngForOf", ctx.visibleTags);
32430
32741
  i0.ɵɵadvance(2);
32431
32742
  i0.ɵɵclassMapInterpolate2("po-icon po-field-icon ", ctx.dropdownIcon, " ", ctx.disabled ? "po-icon-input-disabled" : "po-icon-input", "");
32432
32743
  i0.ɵɵproperty("ngClass", ctx.disabled ? "po-field-icon-disabled" : "");
@@ -32438,7 +32749,7 @@ class PoMultiselectComponent extends PoMultiselectBaseComponent {
32438
32749
  }
32439
32750
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoMultiselectComponent, [{
32440
32751
  type: Component,
32441
- args: [{ selector: 'po-multiselect', changeDetection: ChangeDetectionStrategy.OnPush, providers: providers$1, template: "<po-field-container\n [p-disabled]=\"disabled\"\n [p-label]=\"label\"\n [p-optional]=\"optional\"\n [p-required]=\"required\"\n [p-show-required]=\"showRequired\"\n>\n <div\n cdkOverlayOrigin\n #trigger=\"cdkOverlayOrigin\"\n class=\"po-field-container-content\"\n [class.po-multiselect-show]=\"dropdownOpen\"\n >\n <div\n #inputElement\n [tabindex]=\"disabled ? -1 : 0\"\n [attr.disabled]=\"disabled\"\n [attr.aria-label]=\"label\"\n class=\"po-input po-input-icon-right po-multiselect-input po-clickable\"\n [class.po-multiselect-input-auto]=\"autoHeight\"\n [class.po-multiselect-input-static]=\"!autoHeight\"\n [class.po-multiselect-input-disabled]=\"disabled\"\n (keyup.enter)=\"toggleDropdownVisibility()\"\n (keydown)=\"onKeyDown($event)\"\n (click)=\"toggleDropdownVisibility()\"\n (blur)=\"onBlur()\"\n >\n <span *ngIf=\"placeholder && !disabled && !visibleDisclaimers?.length\" class=\"po-multiselect-input-placeholder\">\n {{ placeholder }}\n </span>\n\n <po-disclaimer\n *ngFor=\"let disclaimer of visibleDisclaimers\"\n class=\"po-multiselect-input-disclaimer\"\n [p-label]=\"disclaimer[fieldLabel]\"\n [p-value]=\"disclaimer[fieldValue]\"\n [p-hide-close]=\"disclaimer[fieldValue] === '' || disabled\"\n [class.po-clickable]=\"disclaimer[fieldValue] === '' && !disabled\"\n (click)=\"openDropdown(disclaimer[fieldValue] === '')\"\n (p-close-action)=\"closeDisclaimer(disclaimer[fieldValue])\"\n >\n </po-disclaimer>\n\n <div class=\"po-field-icon-container-right\">\n <span\n #iconElement\n class=\"po-icon po-field-icon {{ dropdownIcon }} {{ disabled ? 'po-icon-input-disabled' : 'po-icon-input' }}\"\n [ngClass]=\"disabled ? 'po-field-icon-disabled' : ''\"\n >\n </span>\n </div>\n </div>\n </div>\n\n <ng-container *ngIf=\"appendBox; then dropdownCDK; else dropdownDefault\"> </ng-container>\n\n <ng-template #dropdownDefault>\n <ng-container *ngTemplateOutlet=\"dropdownListbox\"> </ng-container>\n </ng-template>\n\n <ng-template #dropdownCDK>\n <ng-template cdkConnectedOverlay [cdkConnectedOverlayOrigin]=\"trigger\" [cdkConnectedOverlayOpen]=\"true\">\n <ng-container *ngTemplateOutlet=\"dropdownListbox\"></ng-container>\n </ng-template>\n </ng-template>\n\n <po-field-container-bottom [p-help]=\"help\" [p-disabled]=\"disabled\"></po-field-container-bottom>\n</po-field-container>\n\n<ng-template #dropdownListbox>\n <po-multiselect-dropdown\n #dropdownElement\n [p-searching]=\"isServerSearching\"\n [p-hide-search]=\"hideSearch\"\n [p-hide-select-all]=\"hideSelectAll\"\n [p-literals]=\"literals\"\n [p-options]=\"options\"\n [p-visible-options]=\"visibleOptionsDropdown\"\n [p-selected-options]=\"selectedOptions\"\n [p-placeholder-search]=\"placeholderSearch\"\n [p-field-value]=\"fieldValue\"\n [p-field-label]=\"fieldLabel\"\n [p-multiselect-template]=\"multiselectOptionTemplate\"\n (p-change)=\"changeItems($event)\"\n (p-change-search)=\"changeSearch($event)\"\n (p-close-dropdown)=\"controlDropdownVisibility(false)\"\n >\n </po-multiselect-dropdown>\n</ng-template>\n" }]
32752
+ args: [{ selector: 'po-multiselect', changeDetection: ChangeDetectionStrategy.OnPush, providers: providers$1, template: "<po-field-container\n [p-disabled]=\"disabled\"\n [p-label]=\"label\"\n [p-optional]=\"optional\"\n [p-required]=\"required\"\n [p-show-required]=\"showRequired\"\n>\n <div\n cdkOverlayOrigin\n #trigger=\"cdkOverlayOrigin\"\n class=\"po-field-container-content\"\n [class.po-multiselect-show]=\"dropdownOpen\"\n >\n <div\n #inputElement\n [tabindex]=\"disabled ? -1 : 0\"\n [attr.disabled]=\"disabled\"\n [attr.aria-label]=\"label\"\n class=\"po-input-icon-right po-multiselect-input\"\n [class.po-multiselect-input-auto]=\"autoHeight\"\n [class.po-multiselect-input-static]=\"!autoHeight\"\n [class.po-multiselect-input-disabled]=\"disabled\"\n [class.po-multiselect-input-font]=\"!disabled && !visibleTags?.length\"\n (keydown)=\"onKeyDown($event)\"\n (click)=\"toggleDropdownVisibility()\"\n (blur)=\"onBlur()\"\n >\n <span *ngIf=\"!disabled && !visibleTags?.length\" class=\"po-multiselect-input-placeholder\" aria-hidden=\"true\">\n {{ placeholder ? placeholder : literals.selectItem }}\n </span>\n\n <po-tag\n *ngFor=\"let tag of visibleTags; index as i\"\n [p-value]=\"tag[fieldLabel]\"\n [p-literals]=\"i + 1 === visibleTags.length && hasMoreTag ? literalsTag : undefined\"\n [p-removable]=\"true\"\n [class.po-clickable]=\"tag[fieldValue] === '' && !disabled\"\n [p-disabled]=\"disabled\"\n (p-close)=\"closeTag(tag[fieldValue], $event)\"\n ></po-tag>\n\n <div class=\"po-field-icon-container-right\">\n <span\n #iconElement\n class=\"po-icon po-field-icon {{ dropdownIcon }} {{ disabled ? 'po-icon-input-disabled' : 'po-icon-input' }}\"\n [ngClass]=\"disabled ? 'po-field-icon-disabled' : ''\"\n >\n </span>\n </div>\n </div>\n </div>\n\n <ng-container *ngIf=\"appendBox; then dropdownCDK; else dropdownDefault\"> </ng-container>\n\n <ng-template #dropdownDefault>\n <ng-container *ngTemplateOutlet=\"dropdownListbox\"> </ng-container>\n </ng-template>\n\n <ng-template #dropdownCDK>\n <ng-template cdkConnectedOverlay [cdkConnectedOverlayOrigin]=\"trigger\" [cdkConnectedOverlayOpen]=\"true\">\n <ng-container *ngTemplateOutlet=\"dropdownListbox\"></ng-container>\n </ng-template>\n </ng-template>\n\n <po-field-container-bottom [p-help]=\"help\" [p-disabled]=\"disabled\"></po-field-container-bottom>\n</po-field-container>\n\n<ng-template #dropdownListbox>\n <po-multiselect-dropdown\n #dropdownElement\n [p-searching]=\"isServerSearching\"\n [p-hide-search]=\"hideSearch\"\n [p-hide-select-all]=\"hideSelectAll\"\n [p-literals]=\"literals\"\n [p-options]=\"options\"\n [p-visible-options]=\"visibleOptionsDropdown\"\n [p-selected-options]=\"selectedOptions\"\n [p-placeholder-search]=\"placeholderSearch\"\n [p-field-value]=\"fieldValue\"\n [p-field-label]=\"fieldLabel\"\n [p-multiselect-template]=\"multiselectOptionTemplate\"\n (p-change)=\"changeItems($event)\"\n (p-change-search)=\"changeSearch($event)\"\n (p-close-dropdown)=\"controlDropdownVisibility(false)\"\n (keydown)=\"onKeyDownDropdown($event, 0)\"\n >\n </po-multiselect-dropdown>\n</ng-template>\n" }]
32442
32753
  }], function () { return [{ type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: PoControlPositionService }, { type: PoMultiselectFilterService }, { type: PoLanguageService }]; }, { multiselectOptionTemplate: [{
32443
32754
  type: ContentChild,
32444
32755
  args: [PoMultiselectOptionTemplateDirective, { static: true }]
@@ -33165,7 +33476,7 @@ class PoRichTextBaseComponent {
33165
33476
  args: ['p-show-required']
33166
33477
  }] }); })();
33167
33478
 
33168
- const _c0$K = ["bodyElement"];
33479
+ const _c0$J = ["bodyElement"];
33169
33480
  const poRichTextBodyCommands = [
33170
33481
  'bold',
33171
33482
  'italic',
@@ -33463,7 +33774,7 @@ class PoRichTextBodyComponent {
33463
33774
  }
33464
33775
  static ɵfac = function PoRichTextBodyComponent_Factory(t) { return new (t || PoRichTextBodyComponent)(i0.ɵɵdirectiveInject(PoRichTextService)); };
33465
33776
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRichTextBodyComponent, selectors: [["po-rich-text-body"]], viewQuery: function PoRichTextBodyComponent_Query(rf, ctx) { if (rf & 1) {
33466
- i0.ɵɵviewQuery(_c0$K, 7);
33777
+ i0.ɵɵviewQuery(_c0$J, 7);
33467
33778
  } if (rf & 2) {
33468
33779
  let _t;
33469
33780
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.bodyElement = _t.first);
@@ -34473,7 +34784,7 @@ class PoUploadBaseComponent {
34473
34784
  args: ['p-show-required']
34474
34785
  }] }); })();
34475
34786
 
34476
- const _c0$J = ["selectFilesLink"];
34787
+ const _c0$I = ["selectFilesLink"];
34477
34788
  function PoUploadDragDropAreaComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
34478
34789
  i0.ɵɵelementContainer(0);
34479
34790
  } }
@@ -34525,7 +34836,7 @@ class PoUploadDragDropAreaComponent {
34525
34836
  }
34526
34837
  static ɵfac = function PoUploadDragDropAreaComponent_Factory(t) { return new (t || PoUploadDragDropAreaComponent)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
34527
34838
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadDragDropAreaComponent, selectors: [["po-upload-drag-drop-area"]], viewQuery: function PoUploadDragDropAreaComponent_Query(rf, ctx) { if (rf & 1) {
34528
- i0.ɵɵviewQuery(_c0$J, 5);
34839
+ i0.ɵɵviewQuery(_c0$I, 5);
34529
34840
  } if (rf & 2) {
34530
34841
  let _t;
34531
34842
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.selectFilesLinkElement = _t.first);
@@ -34753,7 +35064,7 @@ class PoUploadDragDropDirective {
34753
35064
  args: ['document:drop', ['$event']]
34754
35065
  }] }); })();
34755
35066
 
34756
- const _c0$I = ["DragDropAreaFixed"];
35067
+ const _c0$H = ["DragDropAreaFixed"];
34757
35068
  class PoUploadDragDropAreaOverlayComponent {
34758
35069
  renderer;
34759
35070
  DragDropAreaFixed;
@@ -34781,7 +35092,7 @@ class PoUploadDragDropAreaOverlayComponent {
34781
35092
  }
34782
35093
  static ɵfac = function PoUploadDragDropAreaOverlayComponent_Factory(t) { return new (t || PoUploadDragDropAreaOverlayComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); };
34783
35094
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadDragDropAreaOverlayComponent, selectors: [["po-upload-drag-drop-area-overlay"]], viewQuery: function PoUploadDragDropAreaOverlayComponent_Query(rf, ctx) { if (rf & 1) {
34784
- i0.ɵɵviewQuery(_c0$I, 7, ElementRef);
35095
+ i0.ɵɵviewQuery(_c0$H, 7, ElementRef);
34785
35096
  } if (rf & 2) {
34786
35097
  let _t;
34787
35098
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.DragDropAreaFixed = _t.first);
@@ -34817,7 +35128,7 @@ class PoUploadDragDropAreaOverlayComponent {
34817
35128
  args: ['p-area-element']
34818
35129
  }] }); })();
34819
35130
 
34820
- const _c0$H = ["dragDropOverlay"];
35131
+ const _c0$G = ["dragDropOverlay"];
34821
35132
  function PoUploadDragDropComponent_po_upload_drag_drop_area_overlay_0_Template(rf, ctx) { if (rf & 1) {
34822
35133
  const _r3 = i0.ɵɵgetCurrentView();
34823
35134
  i0.ɵɵelementStart(0, "po-upload-drag-drop-area-overlay", 2, 3);
@@ -34871,7 +35182,7 @@ class PoUploadDragDropComponent {
34871
35182
  }
34872
35183
  static ɵfac = function PoUploadDragDropComponent_Factory(t) { return new (t || PoUploadDragDropComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
34873
35184
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadDragDropComponent, selectors: [["po-upload-drag-drop"]], viewQuery: function PoUploadDragDropComponent_Query(rf, ctx) { if (rf & 1) {
34874
- i0.ɵɵviewQuery(_c0$H, 5, ElementRef);
35185
+ i0.ɵɵviewQuery(_c0$G, 5, ElementRef);
34875
35186
  i0.ɵɵviewQuery(PoUploadDragDropAreaComponent, 7);
34876
35187
  } if (rf & 2) {
34877
35188
  let _t;
@@ -34937,7 +35248,7 @@ function PoUploadFileRestrictionsComponent_p_1_Template(rf, ctx) { if (rf & 1) {
34937
35248
  i0.ɵɵadvance(1);
34938
35249
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r1.literals == null ? null : ctx_r1.literals.allowedFormats, ctx_r1.allowedExtensions), "\n");
34939
35250
  } }
34940
- const _c0$G = function (a0, a1) { return [a0, a1]; };
35251
+ const _c0$F = function (a0, a1) { return [a0, a1]; };
34941
35252
  function PoUploadFileRestrictionsComponent_p_2_span_3_Template(rf, ctx) { if (rf & 1) {
34942
35253
  i0.ɵɵelementStart(0, "span");
34943
35254
  i0.ɵɵtext(1);
@@ -34946,7 +35257,7 @@ function PoUploadFileRestrictionsComponent_p_2_span_3_Template(rf, ctx) { if (rf
34946
35257
  } if (rf & 2) {
34947
35258
  const ctx_r3 = i0.ɵɵnextContext(2);
34948
35259
  i0.ɵɵadvance(1);
34949
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r3.literals == null ? null : ctx_r3.literals.allowedFileSizeRange, i0.ɵɵpureFunction2(4, _c0$G, ctx_r3.minFileSize, ctx_r3.maxFileSize)), " ");
35260
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r3.literals == null ? null : ctx_r3.literals.allowedFileSizeRange, i0.ɵɵpureFunction2(4, _c0$F, ctx_r3.minFileSize, ctx_r3.maxFileSize)), " ");
34950
35261
  } }
34951
35262
  function PoUploadFileRestrictionsComponent_p_2_span_4_Template(rf, ctx) { if (rf & 1) {
34952
35263
  i0.ɵɵelementStart(0, "span");
@@ -35066,7 +35377,7 @@ class PoUploadFileRestrictionsComponent {
35066
35377
  args: ['p-min-file-size']
35067
35378
  }] }); })();
35068
35379
 
35069
- const _c0$F = ["inputFile"];
35380
+ const _c0$E = ["inputFile"];
35070
35381
  const _c1$f = ["uploadButton"];
35071
35382
  function PoUploadComponent_po_upload_drag_drop_5_Template(rf, ctx) { if (rf & 1) {
35072
35383
  const _r7 = i0.ɵɵgetCurrentView();
@@ -35427,7 +35738,7 @@ class PoUploadComponent extends PoUploadBaseComponent {
35427
35738
  }
35428
35739
  static ɵfac = function PoUploadComponent_Factory(t) { return new (t || PoUploadComponent)(i0.ɵɵdirectiveInject(PoUploadService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(PoI18nPipe), i0.ɵɵdirectiveInject(PoNotificationService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PoLanguageService)); };
35429
35740
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadComponent, selectors: [["po-upload"]], viewQuery: function PoUploadComponent_Query(rf, ctx) { if (rf & 1) {
35430
- i0.ɵɵviewQuery(_c0$F, 7, ElementRef);
35741
+ i0.ɵɵviewQuery(_c0$E, 7, ElementRef);
35431
35742
  i0.ɵɵviewQuery(PoUploadDragDropComponent, 5);
35432
35743
  i0.ɵɵviewQuery(_c1$f, 5);
35433
35744
  } if (rf & 2) {
@@ -35639,7 +35950,7 @@ class PoUrlComponent extends PoInputGeneric {
35639
35950
  ], template: "<po-field-container\n [p-disabled]=\"disabled\"\n [p-id]=\"id\"\n [p-label]=\"label\"\n [p-optional]=\"optional\"\n [p-required]=\"required\"\n [p-show-required]=\"showRequired\"\n>\n <div class=\"po-field-container-content\">\n <div *ngIf=\"icon\" class=\"po-field-icon-container-left\">\n <po-icon\n class=\"po-field-icon {{ disabled ? 'po-icon-input-disabled' : 'po-icon-input' }}\"\n [class.po-field-icon-disabled]=\"disabled\"\n [p-icon]=\"icon\"\n ></po-icon>\n </div>\n\n <input\n #inp\n class=\"po-input\"\n [attr.name]=\"name\"\n [autocomplete]=\"autocomplete\"\n [class.po-input-icon-left]=\"icon\"\n [class.po-input-icon-right]=\"clean\"\n [disabled]=\"disabled\"\n [id]=\"id\"\n [placeholder]=\"disabled ? '' : placeholder\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [type]=\"type\"\n (blur)=\"eventOnBlur($event)\"\n (click)=\"eventOnClick($event)\"\n (focus)=\"eventOnFocus($event)\"\n (input)=\"eventOnInput($event)\"\n />\n\n <div class=\"po-field-icon-container-right\">\n <po-clean\n class=\"{{ disabled ? 'po-icon-input-disabled' : 'po-icon-input' }}\"\n *ngIf=\"clean && !disabled && !readonly\"\n [p-element-ref]=\"inputEl\"\n (p-change-event)=\"clear($event)\"\n >\n </po-clean>\n </div>\n </div>\n\n <po-field-container-bottom\n [p-help]=\"help\"\n [p-disabled]=\"disabled\"\n [p-error-pattern]=\"getErrorPattern()\"\n ></po-field-container-bottom>\n</po-field-container>\n" }]
35640
35951
  }], function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, null); })();
35641
35952
 
35642
- const _c0$E = ["modal"];
35953
+ const _c0$D = ["modal"];
35643
35954
  const _c1$e = ["modalImageForm"];
35644
35955
  const _c2$3 = ["upload"];
35645
35956
  const uploadRestrictions = ['.apng', '.bmp', '.gif', '.ico', '.jpeg', '.jpg', '.png', '.svg'];
@@ -35726,7 +36037,7 @@ class PoRichTextImageModalComponent {
35726
36037
  }
35727
36038
  static ɵfac = function PoRichTextImageModalComponent_Factory(t) { return new (t || PoRichTextImageModalComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
35728
36039
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRichTextImageModalComponent, selectors: [["po-rich-text-image-modal"]], viewQuery: function PoRichTextImageModalComponent_Query(rf, ctx) { if (rf & 1) {
35729
- i0.ɵɵviewQuery(_c0$E, 7);
36040
+ i0.ɵɵviewQuery(_c0$D, 7);
35730
36041
  i0.ɵɵviewQuery(_c1$e, 5);
35731
36042
  i0.ɵɵviewQuery(_c2$3, 7);
35732
36043
  } if (rf & 2) {
@@ -35767,7 +36078,7 @@ class PoRichTextImageModalComponent {
35767
36078
  args: ['p-command']
35768
36079
  }] }); })();
35769
36080
 
35770
- const _c0$D = ["modal"];
36081
+ const _c0$C = ["modal"];
35771
36082
  const _c1$d = ["modalLinkForm"];
35772
36083
  class PoRichTextLinkModalComponent {
35773
36084
  languageService;
@@ -35912,7 +36223,7 @@ class PoRichTextLinkModalComponent {
35912
36223
  }
35913
36224
  static ɵfac = function PoRichTextLinkModalComponent_Factory(t) { return new (t || PoRichTextLinkModalComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
35914
36225
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRichTextLinkModalComponent, selectors: [["po-rich-text-link-modal"]], viewQuery: function PoRichTextLinkModalComponent_Query(rf, ctx) { if (rf & 1) {
35915
- i0.ɵɵviewQuery(_c0$D, 7);
36226
+ i0.ɵɵviewQuery(_c0$C, 7);
35916
36227
  i0.ɵɵviewQuery(_c1$d, 5);
35917
36228
  } if (rf & 2) {
35918
36229
  let _t;
@@ -35950,7 +36261,7 @@ class PoRichTextLinkModalComponent {
35950
36261
  args: ['p-link-editing']
35951
36262
  }] }); })();
35952
36263
 
35953
- const _c0$C = ["colorPickerInput"];
36264
+ const _c0$B = ["colorPickerInput"];
35954
36265
  const _c1$c = ["toolbarElement"];
35955
36266
  function PoRichTextToolbarComponent_div_4_Template(rf, ctx) { if (rf & 1) {
35956
36267
  const _r7 = i0.ɵɵgetCurrentView();
@@ -36138,7 +36449,7 @@ class PoRichTextToolbarComponent {
36138
36449
  }
36139
36450
  static ɵfac = function PoRichTextToolbarComponent_Factory(t) { return new (t || PoRichTextToolbarComponent)(i0.ɵɵdirectiveInject(PoLanguageService)); };
36140
36451
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoRichTextToolbarComponent, selectors: [["po-rich-text-toolbar"]], viewQuery: function PoRichTextToolbarComponent_Query(rf, ctx) { if (rf & 1) {
36141
- i0.ɵɵviewQuery(_c0$C, 5, ElementRef);
36452
+ i0.ɵɵviewQuery(_c0$B, 5, ElementRef);
36142
36453
  i0.ɵɵviewQuery(_c1$c, 7);
36143
36454
  i0.ɵɵviewQuery(PoRichTextImageModalComponent, 7);
36144
36455
  i0.ɵɵviewQuery(PoRichTextLinkModalComponent, 7);
@@ -36148,7 +36459,7 @@ class PoRichTextToolbarComponent {
36148
36459
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.toolbarElement = _t.first);
36149
36460
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.richTextImageModal = _t.first);
36150
36461
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.richTextLinkModal = _t.first);
36151
- } }, inputs: { disabledTextAlign: ["p-disabled-text-align", "disabledTextAlign"], readonly: ["p-readonly", "readonly"] }, outputs: { command: "p-command", modal: "p-modal", linkEditing: "p-link-editing" }, decls: 16, vars: 6, consts: [[1, "po-rich-text-toolbar"], ["toolbarElement", ""], ["data-rich-text-toolbar", "format", 1, "po-rich-text-toolbar-button-align"], ["p-toggle", "multiple", 3, "p-buttons"], ["class", "po-rich-text-toolbar-button-align", "data-rich-text-toolbar", "color", 4, "ngIf"], ["class", "po-rich-text-toolbar-button-align", "data-rich-text-toolbar", "align", 4, "ngIf"], ["data-rich-text-toolbar", "list", 1, "po-rich-text-toolbar-button-align"], ["p-toggle", "single", 3, "p-buttons"], ["data-rich-text-toolbar", "link", 1, "po-rich-text-toolbar-button-align"], [3, "p-buttons"], ["data-rich-text-toolbar", "media", 1, "po-rich-text-toolbar-button-align"], [3, "p-command"], ["richTextImageModal", ""], [3, "p-command", "p-link-editing"], ["richTextLinkModal", ""], ["data-rich-text-toolbar", "color", 1, "po-rich-text-toolbar-button-align"], [1, "po-rich-text-toolbar-color-picker-container"], [1, "po-button", "po-button-default", "po-rich-text-toolbar-color-picker-button", 3, "disabled", "p-tooltip"], ["type", "color", 1, "po-rich-text-toolbar-color-picker-input", 3, "disabled", "change"], ["colorPickerInput", ""], ["data-rich-text-toolbar", "align", 1, "po-rich-text-toolbar-button-align"]], template: function PoRichTextToolbarComponent_Template(rf, ctx) { if (rf & 1) {
36462
+ } }, inputs: { disabledTextAlign: ["p-disabled-text-align", "disabledTextAlign"], readonly: ["p-readonly", "readonly"] }, outputs: { command: "p-command", modal: "p-modal", linkEditing: "p-link-editing" }, decls: 16, vars: 6, consts: [[1, "po-rich-text-toolbar"], ["toolbarElement", ""], ["data-rich-text-toolbar", "format", 1, "po-rich-text-toolbar-button-align"], ["p-toggle", "multiple", 3, "p-buttons"], ["class", "po-rich-text-toolbar-button-align", "data-rich-text-toolbar", "color", 4, "ngIf"], ["class", "po-rich-text-toolbar-button-align", "data-rich-text-toolbar", "align", 4, "ngIf"], ["data-rich-text-toolbar", "list", 1, "po-rich-text-toolbar-button-align"], ["p-toggle", "single", 3, "p-buttons"], ["data-rich-text-toolbar", "link", 1, "po-rich-text-toolbar-button-align"], [3, "p-buttons"], ["data-rich-text-toolbar", "media", 1, "po-rich-text-toolbar-button-align"], [3, "p-command"], ["richTextImageModal", ""], [3, "p-command", "p-link-editing"], ["richTextLinkModal", ""], ["data-rich-text-toolbar", "color", 1, "po-rich-text-toolbar-button-align"], [1, "po-rich-text-toolbar-color-picker-container"], ["type", "button", 1, "po-button", "po-button-default", "po-rich-text-toolbar-color-picker-button", 3, "disabled", "p-tooltip"], ["type", "color", 1, "po-rich-text-toolbar-color-picker-input", 3, "disabled", "change"], ["colorPickerInput", ""], ["data-rich-text-toolbar", "align", 1, "po-rich-text-toolbar-button-align"]], template: function PoRichTextToolbarComponent_Template(rf, ctx) { if (rf & 1) {
36152
36463
  i0.ɵɵelementStart(0, "div", 0, 1)(2, "div", 2);
36153
36464
  i0.ɵɵelement(3, "po-button-group", 3);
36154
36465
  i0.ɵɵelementEnd();
@@ -36186,7 +36497,7 @@ class PoRichTextToolbarComponent {
36186
36497
  }
36187
36498
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoRichTextToolbarComponent, [{
36188
36499
  type: Component,
36189
- args: [{ selector: 'po-rich-text-toolbar', template: "<div class=\"po-rich-text-toolbar\" #toolbarElement>\n <div class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"format\">\n <po-button-group p-toggle=\"multiple\" [p-buttons]=\"formatButtons\"> </po-button-group>\n </div>\n\n <div *ngIf=\"!isInternetExplorer\" class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"color\">\n <div class=\"po-rich-text-toolbar-color-picker-container\">\n <button\n class=\"po-button po-button-default po-rich-text-toolbar-color-picker-button\"\n [disabled]=\"readonly\"\n [p-tooltip]=\"literals.textColor\"\n [attr.aria-label]=\"literals.textColor\"\n >\n <input\n #colorPickerInput\n class=\"po-rich-text-toolbar-color-picker-input\"\n type=\"color\"\n [disabled]=\"readonly\"\n (change)=\"changeTextColor($event.target.value)\"\n [attr.aria-label]=\"literals.textColor\"\n />\n </button>\n </div>\n </div>\n\n <div *ngIf=\"!disabledTextAlign\" class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"align\">\n <po-button-group p-toggle=\"single\" [p-buttons]=\"alignButtons\"> </po-button-group>\n </div>\n\n <div class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"list\">\n <po-button-group p-toggle=\"single\" [p-buttons]=\"listButtons\"> </po-button-group>\n </div>\n\n <div class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"link\">\n <po-button-group [p-buttons]=\"linkButtons\"> </po-button-group>\n </div>\n\n <div class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"media\">\n <po-button-group [p-buttons]=\"mediaButtons\"> </po-button-group>\n </div>\n</div>\n\n<po-rich-text-image-modal #richTextImageModal (p-command)=\"emitCommand($event)\"> </po-rich-text-image-modal>\n\n<po-rich-text-link-modal\n #richTextLinkModal\n (p-command)=\"emitCommand($event)\"\n (p-link-editing)=\"emitLinkEditing($event)\"\n>\n</po-rich-text-link-modal>\n" }]
36500
+ args: [{ selector: 'po-rich-text-toolbar', template: "<div class=\"po-rich-text-toolbar\" #toolbarElement>\n <div class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"format\">\n <po-button-group p-toggle=\"multiple\" [p-buttons]=\"formatButtons\"> </po-button-group>\n </div>\n\n <div *ngIf=\"!isInternetExplorer\" class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"color\">\n <div class=\"po-rich-text-toolbar-color-picker-container\">\n <button\n type=\"button\"\n class=\"po-button po-button-default po-rich-text-toolbar-color-picker-button\"\n [disabled]=\"readonly\"\n [p-tooltip]=\"literals.textColor\"\n [attr.aria-label]=\"literals.textColor\"\n >\n <input\n #colorPickerInput\n class=\"po-rich-text-toolbar-color-picker-input\"\n type=\"color\"\n [disabled]=\"readonly\"\n (change)=\"changeTextColor($event.target.value)\"\n [attr.aria-label]=\"literals.textColor\"\n />\n </button>\n </div>\n </div>\n\n <div *ngIf=\"!disabledTextAlign\" class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"align\">\n <po-button-group p-toggle=\"single\" [p-buttons]=\"alignButtons\"> </po-button-group>\n </div>\n\n <div class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"list\">\n <po-button-group p-toggle=\"single\" [p-buttons]=\"listButtons\"> </po-button-group>\n </div>\n\n <div class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"link\">\n <po-button-group [p-buttons]=\"linkButtons\"> </po-button-group>\n </div>\n\n <div class=\"po-rich-text-toolbar-button-align\" data-rich-text-toolbar=\"media\">\n <po-button-group [p-buttons]=\"mediaButtons\"> </po-button-group>\n </div>\n</div>\n\n<po-rich-text-image-modal #richTextImageModal (p-command)=\"emitCommand($event)\"> </po-rich-text-image-modal>\n\n<po-rich-text-link-modal\n #richTextLinkModal\n (p-command)=\"emitCommand($event)\"\n (p-link-editing)=\"emitLinkEditing($event)\"\n>\n</po-rich-text-link-modal>\n" }]
36190
36501
  }], function () { return [{ type: PoLanguageService }]; }, { colorPickerInput: [{
36191
36502
  type: ViewChild,
36192
36503
  args: ['colorPickerInput', { read: ElementRef }]
@@ -36448,7 +36759,7 @@ class PoFieldValidateModel extends PoFieldModel {
36448
36759
  args: ['p-show-required']
36449
36760
  }] }); })();
36450
36761
 
36451
- const _c0$B = ["select"];
36762
+ const _c0$A = ["select"];
36452
36763
  function PoSelectComponent_option_4_Template(rf, ctx) { if (rf & 1) {
36453
36764
  i0.ɵɵelementStart(0, "option", 8);
36454
36765
  i0.ɵɵtext(1);
@@ -36838,7 +37149,7 @@ class PoSelectComponent extends PoFieldValidateModel {
36838
37149
  }
36839
37150
  static ɵfac = function PoSelectComponent_Factory(t) { return new (t || PoSelectComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.Renderer2)); };
36840
37151
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoSelectComponent, selectors: [["po-select"]], viewQuery: function PoSelectComponent_Query(rf, ctx) { if (rf & 1) {
36841
- i0.ɵɵviewQuery(_c0$B, 7, ElementRef);
37152
+ i0.ɵɵviewQuery(_c0$A, 7, ElementRef);
36842
37153
  } if (rf & 2) {
36843
37154
  let _t;
36844
37155
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.selectElement = _t.first);
@@ -37256,7 +37567,7 @@ class PoTextareaBaseComponent {
37256
37567
  args: ['p-rows']
37257
37568
  }] }); })();
37258
37569
 
37259
- const _c0$A = ["inp"];
37570
+ const _c0$z = ["inp"];
37260
37571
  /**
37261
37572
  * @docsExtends PoTextareaBaseComponent
37262
37573
  *
@@ -37361,7 +37672,7 @@ class PoTextareaComponent extends PoTextareaBaseComponent {
37361
37672
  }
37362
37673
  static ɵfac = function PoTextareaComponent_Factory(t) { return new (t || PoTextareaComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
37363
37674
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoTextareaComponent, selectors: [["po-textarea"]], viewQuery: function PoTextareaComponent_Query(rf, ctx) { if (rf & 1) {
37364
- i0.ɵɵviewQuery(_c0$A, 7, ElementRef);
37675
+ i0.ɵɵviewQuery(_c0$z, 7, ElementRef);
37365
37676
  } if (rf & 2) {
37366
37677
  let _t;
37367
37678
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputEl = _t.first);
@@ -37446,7 +37757,7 @@ class PoSearchBaseComponent {
37446
37757
  args: ['p-filter']
37447
37758
  }] }); })();
37448
37759
 
37449
- const _c0$z = ["poSearchInput"];
37760
+ const _c0$y = ["poSearchInput"];
37450
37761
  function PoSearchComponent_po_icon_2_Template(rf, ctx) { if (rf & 1) {
37451
37762
  i0.ɵɵelement(0, "po-icon", 7);
37452
37763
  } }
@@ -37529,7 +37840,7 @@ class PoSearchComponent extends PoSearchBaseComponent {
37529
37840
  }
37530
37841
  static ɵfac = function PoSearchComponent_Factory(t) { return new (t || PoSearchComponent)(i0.ɵɵdirectiveInject(PoLanguageService), i0.ɵɵdirectiveInject(i0.Renderer2)); };
37531
37842
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoSearchComponent, selectors: [["po-search"]], viewQuery: function PoSearchComponent_Query(rf, ctx) { if (rf & 1) {
37532
- i0.ɵɵviewQuery(_c0$z, 7, ElementRef);
37843
+ i0.ɵɵviewQuery(_c0$y, 7, ElementRef);
37533
37844
  } if (rf & 2) {
37534
37845
  let _t;
37535
37846
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.poSearchInput = _t.first);
@@ -37714,7 +38025,7 @@ i0.ɵɵsetComponentScope(PoTableComponent, [i1.NgClass, i1.NgForOf, i1.NgIf, i1.
37714
38025
  PoTableSubtitleFooterComponent,
37715
38026
  PoTableColumnFrozenDirective], [i1.LowerCasePipe, i1.TitleCasePipe, i1.CurrencyPipe, i1.DatePipe, PoTimePipe]);
37716
38027
 
37717
- const _c0$y = ["container"];
38028
+ const _c0$x = ["container"];
37718
38029
  const _c1$b = ["divElement"];
37719
38030
  const _c2$2 = ["listbox"];
37720
38031
  /**
@@ -37843,7 +38154,7 @@ class PoMultiselectDropdownComponent {
37843
38154
  }
37844
38155
  static ɵfac = function PoMultiselectDropdownComponent_Factory(t) { return new (t || PoMultiselectDropdownComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
37845
38156
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoMultiselectDropdownComponent, selectors: [["po-multiselect-dropdown"]], viewQuery: function PoMultiselectDropdownComponent_Query(rf, ctx) { if (rf & 1) {
37846
- i0.ɵɵviewQuery(_c0$y, 7, ElementRef);
38157
+ i0.ɵɵviewQuery(_c0$x, 7, ElementRef);
37847
38158
  i0.ɵɵviewQuery(_c1$b, 7, ElementRef);
37848
38159
  i0.ɵɵviewQuery(_c2$2, 5);
37849
38160
  } if (rf & 2) {
@@ -37851,11 +38162,11 @@ class PoMultiselectDropdownComponent {
37851
38162
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
37852
38163
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.divElement = _t.first);
37853
38164
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listbox = _t.first);
37854
- } }, inputs: { isServerSearching: ["p-searching", "isServerSearching"], hideSearch: ["p-hide-search", "hideSearch"], literals: ["p-literals", "literals"], placeholderSearch: ["p-placeholder-search", "placeholderSearch"], selectedOptions: ["p-selected-options", "selectedOptions"], options: ["p-options", "options"], visibleOptions: ["p-visible-options", "visibleOptions"], hideSelectAll: ["p-hide-select-all", "hideSelectAll"], fieldValue: ["p-field-value", "fieldValue"], fieldLabel: ["p-field-label", "fieldLabel"], multiselectTemplate: ["p-multiselect-template", "multiselectTemplate"] }, outputs: { changeSearch: "p-change-search", change: "p-change", closeDropdown: "p-close-dropdown" }, decls: 7, vars: 15, consts: [[1, "po-multiselect-container", 3, "hidden"], ["container", ""], [3, "scrollTop"], ["divElement", ""], ["p-type", "check", 3, "p-items", "p-selected-options", "p-checkboxAllValue", "p-field-value", "p-field-value-search", "p-field-label", "p-literal-search", "p-literals", "p-is-searching", "p-hide-search", "p-hide-select-all", "p-template", "p-placeholder-search", "p-change", "p-change-all", "p-change-search"], ["listbox", ""]], template: function PoMultiselectDropdownComponent_Template(rf, ctx) { if (rf & 1) {
38165
+ } }, inputs: { isServerSearching: ["p-searching", "isServerSearching"], hideSearch: ["p-hide-search", "hideSearch"], literals: ["p-literals", "literals"], placeholderSearch: ["p-placeholder-search", "placeholderSearch"], selectedOptions: ["p-selected-options", "selectedOptions"], options: ["p-options", "options"], visibleOptions: ["p-visible-options", "visibleOptions"], hideSelectAll: ["p-hide-select-all", "hideSelectAll"], fieldValue: ["p-field-value", "fieldValue"], fieldLabel: ["p-field-label", "fieldLabel"], multiselectTemplate: ["p-multiselect-template", "multiselectTemplate"] }, outputs: { changeSearch: "p-change-search", change: "p-change", closeDropdown: "p-close-dropdown" }, decls: 7, vars: 15, consts: [[1, "po-multiselect-container", 3, "hidden"], ["container", ""], [3, "scrollTop"], ["divElement", ""], ["p-type", "check", 3, "p-items", "p-selected-options", "p-checkboxAllValue", "p-field-value", "p-field-value-search", "p-field-label", "p-literal-search", "p-literals", "p-is-searching", "p-hide-search", "p-hide-select-all", "p-template", "p-placeholder-search", "p-change", "p-change-all", "p-change-search", "p-close"], ["listbox", ""]], template: function PoMultiselectDropdownComponent_Template(rf, ctx) { if (rf & 1) {
37855
38166
  i0.ɵɵelementStart(0, "div", 0, 1)(2, "div", 2, 3);
37856
38167
  i0.ɵɵelementContainerStart(4);
37857
38168
  i0.ɵɵelementStart(5, "po-listbox", 4, 5);
37858
- i0.ɵɵlistener("p-change", function PoMultiselectDropdownComponent_Template_po_listbox_p_change_5_listener($event) { return ctx.clickItem($event); })("p-change-all", function PoMultiselectDropdownComponent_Template_po_listbox_p_change_all_5_listener() { return ctx.onClickSelectAll(); })("p-change-search", function PoMultiselectDropdownComponent_Template_po_listbox_p_change_search_5_listener($event) { return ctx.callChangeSearch($event); });
38169
+ i0.ɵɵlistener("p-change", function PoMultiselectDropdownComponent_Template_po_listbox_p_change_5_listener($event) { return ctx.clickItem($event); })("p-change-all", function PoMultiselectDropdownComponent_Template_po_listbox_p_change_all_5_listener() { return ctx.onClickSelectAll(); })("p-change-search", function PoMultiselectDropdownComponent_Template_po_listbox_p_change_search_5_listener($event) { return ctx.callChangeSearch($event); })("p-close", function PoMultiselectDropdownComponent_Template_po_listbox_p_close_5_listener() { return ctx.closeDropdown.emit(); });
37859
38170
  i0.ɵɵelementEnd();
37860
38171
  i0.ɵɵelementContainerEnd();
37861
38172
  i0.ɵɵelementEnd()();
@@ -37869,7 +38180,7 @@ class PoMultiselectDropdownComponent {
37869
38180
  }
37870
38181
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoMultiselectDropdownComponent, [{
37871
38182
  type: Component,
37872
- args: [{ selector: 'po-multiselect-dropdown', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #container class=\"po-multiselect-container\" [hidden]=\"!show\">\n <div [scrollTop]=\"scrollTop\" #divElement>\n <ng-container>\n <po-listbox\n #listbox\n p-type=\"check\"\n [p-items]=\"visibleOptions\"\n [p-selected-options]=\"selectedOptions\"\n [p-checkboxAllValue]=\"getStateSelectAll()\"\n [p-field-value]=\"fieldValue\"\n [p-field-value-search]=\"fieldValue\"\n [p-field-label]=\"fieldLabel\"\n [p-literal-search]=\"literals\"\n [p-literals]=\"literals\"\n [p-is-searching]=\"isServerSearching\"\n [p-hide-search]=\"hideSearch\"\n [p-hide-select-all]=\"hideSelectAll\"\n [p-template]=\"multiselectTemplate\"\n [p-placeholder-search]=\"placeholderSearch\"\n (p-change)=\"clickItem($event)\"\n (p-change-all)=\"onClickSelectAll()\"\n (p-change-search)=\"callChangeSearch($event)\"\n >\n </po-listbox>\n </ng-container>\n </div>\n</div>\n" }]
38183
+ args: [{ selector: 'po-multiselect-dropdown', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div #container class=\"po-multiselect-container\" [hidden]=\"!show\">\n <div [scrollTop]=\"scrollTop\" #divElement>\n <ng-container>\n <po-listbox\n #listbox\n p-type=\"check\"\n [p-items]=\"visibleOptions\"\n [p-selected-options]=\"selectedOptions\"\n [p-checkboxAllValue]=\"getStateSelectAll()\"\n [p-field-value]=\"fieldValue\"\n [p-field-value-search]=\"fieldValue\"\n [p-field-label]=\"fieldLabel\"\n [p-literal-search]=\"literals\"\n [p-literals]=\"literals\"\n [p-is-searching]=\"isServerSearching\"\n [p-hide-search]=\"hideSearch\"\n [p-hide-select-all]=\"hideSelectAll\"\n [p-template]=\"multiselectTemplate\"\n [p-placeholder-search]=\"placeholderSearch\"\n (p-change)=\"clickItem($event)\"\n (p-change-all)=\"onClickSelectAll()\"\n (p-change-search)=\"callChangeSearch($event)\"\n (p-close)=\"closeDropdown.emit()\"\n >\n </po-listbox>\n </ng-container>\n </div>\n</div>\n" }]
37873
38184
  }], function () { return [{ type: i0.ChangeDetectorRef }]; }, { isServerSearching: [{
37874
38185
  type: Input,
37875
38186
  args: ['p-searching']
@@ -37923,94 +38234,6 @@ class PoMultiselectDropdownComponent {
37923
38234
  args: ['listbox']
37924
38235
  }] }); })();
37925
38236
 
37926
- const _c0$x = ["inputElement"];
37927
- /**
37928
- * @docsPrivate
37929
- *
37930
- * @description
37931
- *
37932
- * Componente de pesquisa que será criado dentro do dropdown do `po-multiselect`.
37933
- */
37934
- class PoMultiselectSearchComponent {
37935
- cd;
37936
- inputElement;
37937
- /** Propriedade que recebe as literais definidas no `po-multiselect`. */
37938
- literals;
37939
- fieldValue;
37940
- /** Evento que será disparado a cada tecla digitada no campo de busca. */
37941
- change = new EventEmitter();
37942
- _placeholder;
37943
- constructor(cd) {
37944
- this.cd = cd;
37945
- }
37946
- /**
37947
- * @optional
37948
- *
37949
- * @description
37950
- *
37951
- * Placeholder do campo de pesquisa.
37952
- *
37953
- * > Caso o mesmo não seja informado, o valor padrão será traduzido com base no idioma do navegador (pt, es e en).
37954
- *
37955
- * @default `Buscar`
37956
- */
37957
- set placeholder(placeholder) {
37958
- this._placeholder = placeholder && isTypeof(placeholder, 'string') ? placeholder : this.literals.placeholderSearch;
37959
- }
37960
- get placeholder() {
37961
- return this._placeholder || this.literals.placeholderSearch;
37962
- }
37963
- get inputValue() {
37964
- return this.inputElement.nativeElement.value;
37965
- }
37966
- onChange(event) {
37967
- this.change.emit({ event: event, [this.fieldValue]: this.inputElement.nativeElement.value });
37968
- }
37969
- setFocus() {
37970
- this.inputElement.nativeElement.focus();
37971
- }
37972
- clean() {
37973
- this.inputElement.nativeElement.value = '';
37974
- this.cd.markForCheck();
37975
- }
37976
- static ɵfac = function PoMultiselectSearchComponent_Factory(t) { return new (t || PoMultiselectSearchComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
37977
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoMultiselectSearchComponent, selectors: [["po-multiselect-search"]], viewQuery: function PoMultiselectSearchComponent_Query(rf, ctx) { if (rf & 1) {
37978
- i0.ɵɵviewQuery(_c0$x, 7, ElementRef);
37979
- } if (rf & 2) {
37980
- let _t;
37981
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputElement = _t.first);
37982
- } }, inputs: { literals: ["p-literals", "literals"], fieldValue: ["p-field-value", "fieldValue"], placeholder: ["p-placeholder", "placeholder"] }, outputs: { change: "p-change" }, decls: 5, vars: 1, consts: [[1, "po-field-container-content", "po-multiselect-container-search"], [1, "po-field-icon-container-left"], [1, "po-icon", "po-icon-search", "po-field-icon", "po-icon-input"], ["type", "text", 1, "po-input", "po-input-icon-left", "po-multiselect-search-input", 3, "placeholder", "keyup"], ["inputElement", ""]], template: function PoMultiselectSearchComponent_Template(rf, ctx) { if (rf & 1) {
37983
- i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
37984
- i0.ɵɵelement(2, "span", 2);
37985
- i0.ɵɵelementEnd();
37986
- i0.ɵɵelementStart(3, "input", 3, 4);
37987
- i0.ɵɵlistener("keyup", function PoMultiselectSearchComponent_Template_input_keyup_3_listener($event) { return ctx.onChange($event); });
37988
- i0.ɵɵelementEnd()();
37989
- } if (rf & 2) {
37990
- i0.ɵɵadvance(3);
37991
- i0.ɵɵproperty("placeholder", ctx.placeholder);
37992
- } }, encapsulation: 2, changeDetection: 0 });
37993
- }
37994
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoMultiselectSearchComponent, [{
37995
- type: Component,
37996
- args: [{ selector: 'po-multiselect-search', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"po-field-container-content po-multiselect-container-search\">\n <div class=\"po-field-icon-container-left\">\n <span class=\"po-icon po-icon-search po-field-icon po-icon-input\"></span>\n </div>\n\n <input\n #inputElement\n class=\"po-input po-input-icon-left po-multiselect-search-input\"\n type=\"text\"\n [placeholder]=\"placeholder\"\n (keyup)=\"onChange($event)\"\n />\n</div>\n" }]
37997
- }], function () { return [{ type: i0.ChangeDetectorRef }]; }, { inputElement: [{
37998
- type: ViewChild,
37999
- args: ['inputElement', { read: ElementRef, static: true }]
38000
- }], literals: [{
38001
- type: Input,
38002
- args: ['p-literals']
38003
- }], fieldValue: [{
38004
- type: Input,
38005
- args: ['p-field-value']
38006
- }], change: [{
38007
- type: Output,
38008
- args: ['p-change']
38009
- }], placeholder: [{
38010
- type: Input,
38011
- args: ['p-placeholder']
38012
- }] }); })();
38013
-
38014
38237
  /**
38015
38238
  * @description
38016
38239
  *
@@ -38052,7 +38275,8 @@ class PoFieldModule {
38052
38275
  PoRadioModule,
38053
38276
  PoLabelModule,
38054
38277
  PoListBoxModule,
38055
- PoSwitchModule, PoCheckboxGroupModule,
38278
+ PoSwitchModule,
38279
+ PoTagModule, PoCheckboxGroupModule,
38056
38280
  PoRadioGroupModule,
38057
38281
  PoCleanModule,
38058
38282
  PoDatepickerModule,
@@ -38060,7 +38284,8 @@ class PoFieldModule {
38060
38284
  PoCheckboxModule,
38061
38285
  PoRadioModule,
38062
38286
  PoLabelModule,
38063
- PoSwitchModule] });
38287
+ PoSwitchModule,
38288
+ PoTagModule] });
38064
38289
  }
38065
38290
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoFieldModule, [{
38066
38291
  type: NgModule,
@@ -38094,7 +38319,8 @@ class PoFieldModule {
38094
38319
  PoRadioModule,
38095
38320
  PoLabelModule,
38096
38321
  PoListBoxModule,
38097
- PoSwitchModule
38322
+ PoSwitchModule,
38323
+ PoTagModule
38098
38324
  ],
38099
38325
  exports: [
38100
38326
  PoCheckboxGroupModule,
@@ -38123,7 +38349,8 @@ class PoFieldModule {
38123
38349
  PoCheckboxModule,
38124
38350
  PoRadioModule,
38125
38351
  PoLabelModule,
38126
- PoSwitchModule
38352
+ PoSwitchModule,
38353
+ PoTagModule
38127
38354
  ],
38128
38355
  declarations: [
38129
38356
  PoComboComponent,
@@ -38138,7 +38365,6 @@ class PoFieldModule {
38138
38365
  PoLookupModalComponent,
38139
38366
  PoMultiselectComponent,
38140
38367
  PoMultiselectDropdownComponent,
38141
- PoMultiselectSearchComponent,
38142
38368
  PoNumberComponent,
38143
38369
  PoPasswordComponent,
38144
38370
  PoRichTextBodyComponent,
@@ -38171,7 +38397,6 @@ class PoFieldModule {
38171
38397
  PoLookupModalComponent,
38172
38398
  PoMultiselectComponent,
38173
38399
  PoMultiselectDropdownComponent,
38174
- PoMultiselectSearchComponent,
38175
38400
  PoNumberComponent,
38176
38401
  PoPasswordComponent,
38177
38402
  PoRichTextBodyComponent,
@@ -38211,7 +38436,8 @@ class PoFieldModule {
38211
38436
  PoRadioModule,
38212
38437
  PoLabelModule,
38213
38438
  PoListBoxModule,
38214
- PoSwitchModule], exports: [PoCheckboxGroupModule,
38439
+ PoSwitchModule,
38440
+ PoTagModule], exports: [PoCheckboxGroupModule,
38215
38441
  PoRadioGroupModule,
38216
38442
  PoCleanModule,
38217
38443
  PoDatepickerModule,
@@ -38237,9 +38463,10 @@ class PoFieldModule {
38237
38463
  PoCheckboxModule,
38238
38464
  PoRadioModule,
38239
38465
  PoLabelModule,
38240
- PoSwitchModule] }); })();
38466
+ PoSwitchModule,
38467
+ PoTagModule] }); })();
38241
38468
  i0.ɵɵsetComponentScope(PoLookupModalComponent, function () { return [i1.NgIf, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.NgModel, PoDisclaimerGroupComponent, PoFieldContainerComponent, PoModalComponent, PoTableComponent]; }, []);
38242
- i0.ɵɵsetComponentScope(PoMultiselectComponent, function () { return [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i5.CdkConnectedOverlay, i5.CdkOverlayOrigin, PoDisclaimerComponent, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoMultiselectDropdownComponent]; }, []);
38469
+ i0.ɵɵsetComponentScope(PoMultiselectComponent, function () { return [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i5.CdkConnectedOverlay, i5.CdkOverlayOrigin, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoTagComponent, PoMultiselectDropdownComponent]; }, []);
38243
38470
 
38244
38471
  /**
38245
38472
  * @usedBy PoInfoComponent