@po-ui/ng-templates 21.23.0 → 21.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@po-ui/ng-templates",
3
- "version": "21.23.0",
3
+ "version": "21.23.1",
4
4
  "description": "PO UI - Templates",
5
5
  "author": "PO UI",
6
6
  "license": "MIT",
@@ -11,8 +11,8 @@
11
11
  },
12
12
  "schematics": "./schematics/collection.json",
13
13
  "dependencies": {
14
- "@po-ui/ng-components": "21.23.0",
15
- "@po-ui/ng-schematics": "21.23.0",
14
+ "@po-ui/ng-components": "21.23.1",
15
+ "@po-ui/ng-schematics": "21.23.1",
16
16
  "tslib": "^2.6.2"
17
17
  },
18
18
  "peerDependencies": {
@@ -24,7 +24,7 @@
24
24
  "@angular/platform-browser": "^21",
25
25
  "@angular/platform-browser-dynamic": "^21",
26
26
  "@angular/router": "^21",
27
- "@po-ui/ng-components": "21.23.0",
27
+ "@po-ui/ng-components": "21.23.1",
28
28
  "rxjs": "~7.8.1",
29
29
  "zone.js": "~0.15.0"
30
30
  },
Binary file
@@ -23,7 +23,7 @@ function default_1(options) {
23
23
  }
24
24
  function addPoPackageAndInstall() {
25
25
  return (tree, context) => {
26
- (0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-templates', '21.23.0');
26
+ (0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-templates', '21.23.1');
27
27
  // install packages
28
28
  context.addTask(new tasks_1.NodePackageInstallTask());
29
29
  };
@@ -2682,6 +2682,16 @@ declare class PoAdvancedFilterComponent extends PoAdvancedFilterBaseComponent im
2682
2682
  * Interface para definição das literais usadas no `po-page-dynamic-search` e no `po-page-dynamic-table`.
2683
2683
  */
2684
2684
  interface PoPageDynamicSearchLiterals {
2685
+ /**
2686
+ * Texto exibido no *disclaimer* de filtros do tipo `boolean` quando o valor for `false` e
2687
+ * a propriedade `booleanFalse` do campo não estiver definida.
2688
+ */
2689
+ disclaimerBooleanFalse?: string;
2690
+ /**
2691
+ * Texto exibido no *disclaimer* de filtros do tipo `boolean` quando o valor for `true` e
2692
+ * a propriedade `booleanTrue` do campo não estiver definida.
2693
+ */
2694
+ disclaimerBooleanTrue?: string;
2685
2695
  /** Título do grupo de *disclaimers* que será exibido após realizar alguma busca. */
2686
2696
  disclaimerGroupTitle?: string;
2687
2697
  /** Texto exibido no botão para cancelamento da busca avaçanda. */
@@ -2958,6 +2968,8 @@ declare abstract class PoPageDynamicSearchBaseComponent {
2958
2968
  *
2959
2969
  * ```
2960
2970
  * const customLiterals: PoPageDynamicSearchLiterals = {
2971
+ * disclaimerBooleanFalse: 'Inativo',
2972
+ * disclaimerBooleanTrue: 'Ativo',
2961
2973
  * disclaimerGroupTitle: 'Filtros aplicados:',
2962
2974
  * filterTitle: 'Filtro avançado',
2963
2975
  * filterCancelLabel: 'Fechar',
@@ -3087,6 +3099,7 @@ declare class PoPageDynamicSearchComponent extends PoPageDynamicSearchBaseCompon
3087
3099
  private formatValueToCurrency;
3088
3100
  private getFieldByProperty;
3089
3101
  private getFilterValueToDisclaimer;
3102
+ private formatValueToBoolean;
3090
3103
  private emitChangesDisclaimers;
3091
3104
  private onRemoveAllDisclaimers;
3092
3105
  private onRemoveDisclaimer;
@@ -4389,6 +4402,8 @@ declare class PoPageDynamicTableComponent extends PoPageDynamicListBaseComponent
4389
4402
  *
4390
4403
  * ```
4391
4404
  * const customLiterals: PoPageDynamicSearchLiterals = {
4405
+ * disclaimerBooleanFalse: 'Inativo',
4406
+ * disclaimerBooleanTrue: 'Ativo',
4392
4407
  * disclaimerGroupTitle: 'Filtros aplicados:',
4393
4408
  * filterTitle: 'Filtro avançado',
4394
4409
  * filterCancelLabel: 'Fechar',
Binary file