@po-ui/ng-templates 19.1.0 → 19.3.0-beta.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.
@@ -357,6 +357,35 @@ export declare class PoPageDynamicEditComponent implements OnInit, OnDestroy {
357
357
  ngOnInit(): void;
358
358
  ngOnDestroy(): void;
359
359
  detailActionNew(): void;
360
+ /**
361
+ * Método que exibe `additionalHelpTooltip` ou executa a ação definida em `additionalHelp`.
362
+ * Para isso, será necessário configurar uma tecla de atalho utilizando o evento `keydown`.
363
+ *
364
+ * ```
365
+ * import { PoPageDynamicEditModule } from '@po-ui/ng-templates';
366
+ * ...
367
+ * @ViewChild('dynamicEdit', { static: true }) dynamicEdit: PoPageDynamicEditComponent;
368
+ *
369
+ * fields: Array<PoPageDynamicEditField> = [
370
+ * {
371
+ * property: 'name',
372
+ * ...
373
+ * help: 'Mensagem de ajuda.',
374
+ * additionalHelpTooltip: 'Mensagem de ajuda complementar.',
375
+ * keydown: this.onKeyDown.bind(this, 'name')
376
+ * },
377
+ * ]
378
+ *
379
+ * onKeyDown(property: string, event: KeyboardEvent): void {
380
+ * if (event.code === 'F9') {
381
+ * this.dynamicEdit.showAdditionalHelp(property);
382
+ * }
383
+ * }
384
+ * ```
385
+ *
386
+ * @param { string } property Identificador da coluna.
387
+ */
388
+ showAdditionalHelp(property: string): void;
360
389
  get duplicates(): any[];
361
390
  get keys(): any[];
362
391
  get pageActions(): PoPageAction[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@po-ui/ng-templates",
3
- "version": "19.1.0",
3
+ "version": "19.3.0-beta.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": "19.1.0",
15
- "@po-ui/ng-schematics": "19.1.0",
14
+ "@po-ui/ng-components": "19.3.0-beta.1",
15
+ "@po-ui/ng-schematics": "19.3.0-beta.1",
16
16
  "tslib": "^2.6.2"
17
17
  },
18
18
  "peerDependencies": {
@@ -24,7 +24,7 @@
24
24
  "@angular/platform-browser": "^19",
25
25
  "@angular/platform-browser-dynamic": "^19",
26
26
  "@angular/router": "^19",
27
- "@po-ui/ng-components": "19.1.0",
27
+ "@po-ui/ng-components": "19.3.0-beta.1",
28
28
  "rxjs": "~7.8.1",
29
29
  "zone.js": "~0.15.0"
30
30
  },
@@ -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', '19.1.0');
26
+ (0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-templates', '19.3.0-beta.1');
27
27
  // install packages
28
28
  context.addTask(new tasks_1.NodePackageInstallTask());
29
29
  };
Binary file