@po-ui/ng-components 17.26.6 → 17.26.7

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.
@@ -247,6 +247,20 @@ export declare abstract class PoDatepickerBaseComponent implements ControlValueA
247
247
  _locale?: string;
248
248
  set locale(value: string);
249
249
  get locale(): string;
250
+ /**
251
+ * @optional
252
+ *
253
+ * @description
254
+ *
255
+ * Define que o calendário do DatePicker será incluído no body da página, em vez de suspenso junto ao campo de entrada do componente.
256
+ * Essa opção é útil em cenários onde o DatePicker precisa ser renderizado fora do conteúdo principal da página,
257
+ * como em formulários que utilizam scroll ou containers com overflow escondido.
258
+ *
259
+ * > Obs: O uso dessa propriedade pode interferir na sequência de tabulação da página, especialmente em formulários longos.
260
+ *
261
+ * @default `false`
262
+ */
263
+ appendBox: boolean;
250
264
  constructor(languageService: PoLanguageService);
251
265
  set date(value: any);
252
266
  get date(): any;
@@ -268,6 +282,7 @@ export declare abstract class PoDatepickerBaseComponent implements ControlValueA
268
282
  abstract writeValue(value: any): void;
269
283
  abstract refreshValue(value: Date): void;
270
284
  static ɵfac: i0.ɵɵFactoryDeclaration<PoDatepickerBaseComponent, never>;
271
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoDatepickerBaseComponent, never, never, { "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "name": { "alias": "name"; "required": false; }; "optional": { "alias": "p-optional"; "required": false; }; "errorPattern": { "alias": "p-error-pattern"; "required": false; }; "noAutocomplete": { "alias": "p-no-autocomplete"; "required": false; }; "placeholder": { "alias": "p-placeholder"; "required": false; }; "setDisabled": { "alias": "p-disabled"; "required": false; }; "setReadonly": { "alias": "p-readonly"; "required": false; }; "setRequired": { "alias": "p-required"; "required": false; }; "showRequired": { "alias": "p-show-required"; "required": false; }; "setClean": { "alias": "p-clean"; "required": false; }; "minDate": { "alias": "p-min-date"; "required": false; }; "maxDate": { "alias": "p-max-date"; "required": false; }; "format": { "alias": "p-format"; "required": false; }; "isoFormat": { "alias": "p-iso-format"; "required": false; }; "locale": { "alias": "p-locale"; "required": false; }; }, { "onblur": "p-blur"; "onchange": "p-change"; }, never, never, false, never>;
285
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoDatepickerBaseComponent, never, never, { "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "name": { "alias": "name"; "required": false; }; "optional": { "alias": "p-optional"; "required": false; }; "errorPattern": { "alias": "p-error-pattern"; "required": false; }; "noAutocomplete": { "alias": "p-no-autocomplete"; "required": false; }; "placeholder": { "alias": "p-placeholder"; "required": false; }; "setDisabled": { "alias": "p-disabled"; "required": false; }; "setReadonly": { "alias": "p-readonly"; "required": false; }; "setRequired": { "alias": "p-required"; "required": false; }; "showRequired": { "alias": "p-show-required"; "required": false; }; "setClean": { "alias": "p-clean"; "required": false; }; "minDate": { "alias": "p-min-date"; "required": false; }; "maxDate": { "alias": "p-max-date"; "required": false; }; "format": { "alias": "p-format"; "required": false; }; "isoFormat": { "alias": "p-iso-format"; "required": false; }; "locale": { "alias": "p-locale"; "required": false; }; "appendBox": { "alias": "p-append-in-body"; "required": false; }; }, { "onblur": "p-blur"; "onchange": "p-change"; }, never, never, false, never>;
272
286
  static ngAcceptInputType_autoFocus: any;
287
+ static ngAcceptInputType_appendBox: any;
273
288
  }
@@ -3,9 +3,10 @@ import * as i1 from "./po-datepicker.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/forms";
5
5
  import * as i4 from "../po-field-container/po-field-container.module";
6
- import * as i5 from "../po-clean/po-clean.module";
7
- import * as i6 from "../../po-calendar/po-calendar.module";
8
- import * as i7 from "../../po-button/po-button.module";
6
+ import * as i5 from "@angular/cdk/overlay";
7
+ import * as i6 from "../po-clean/po-clean.module";
8
+ import * as i7 from "../../po-calendar/po-calendar.module";
9
+ import * as i8 from "../../po-button/po-button.module";
9
10
  /**
10
11
  * @description
11
12
  *
@@ -13,6 +14,6 @@ import * as i7 from "../../po-button/po-button.module";
13
14
  */
14
15
  export declare class PoDatepickerModule {
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<PoDatepickerModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<PoDatepickerModule, [typeof i1.PoDatepickerComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PoFieldContainerModule, typeof i5.PoCleanModule, typeof i6.PoCalendarModule, typeof i7.PoButtonModule], [typeof i1.PoDatepickerComponent]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PoDatepickerModule, [typeof i1.PoDatepickerComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PoFieldContainerModule, typeof i5.OverlayModule, typeof i6.PoCleanModule, typeof i7.PoCalendarModule, typeof i8.PoButtonModule], [typeof i1.PoDatepickerComponent]>;
17
18
  static ɵinj: i0.ɵɵInjectorDeclaration<PoDatepickerModule>;
18
19
  }
@@ -34,6 +34,7 @@ export declare function getShortBrowserLanguage(): string;
34
34
  export declare function getShortLanguage(language: string): string;
35
35
  export declare function isLanguage(value: any): boolean;
36
36
  export declare function reloadCurrentPage(): void;
37
+ export declare function isValidUrl(url: string, location?: Location): boolean;
37
38
  export declare function convertToBoolean(val: any): boolean;
38
39
  export declare function convertToInt(value: any, valueDefault?: any): number;
39
40
  export declare function isTypeof(object: any, type: any): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@po-ui/ng-components",
3
- "version": "17.26.6",
3
+ "version": "17.26.7",
4
4
  "description": "PO UI - Components",
5
5
  "author": "PO UI",
6
6
  "license": "MIT",
@@ -21,8 +21,8 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@angular/cdk": "~17.0.1",
24
- "@po-ui/style": "17.26.6",
25
- "@po-ui/ng-schematics": "17.26.6",
24
+ "@po-ui/style": "17.26.7",
25
+ "@po-ui/ng-schematics": "17.26.7",
26
26
  "tslib": "^2.6.2"
27
27
  },
28
28
  "peerDependencies": {
@@ -36,7 +36,7 @@
36
36
  "@angular/platform-browser-dynamic": "^17",
37
37
  "@angular/router": "^17",
38
38
  "@angular-devkit/schematics": "^17",
39
- "@po-ui/style": "17.26.6",
39
+ "@po-ui/style": "17.26.7",
40
40
  "rxjs": "~7.8.1",
41
41
  "zone.js": "~0.14.4"
42
42
  },
Binary file
@@ -18,7 +18,7 @@ function default_1(options) {
18
18
  exports.default = default_1;
19
19
  function addPoPackageAndInstall() {
20
20
  return (tree, context) => {
21
- (0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '17.26.6');
21
+ (0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '17.26.7');
22
22
  // install packages
23
23
  context.addTask(new tasks_1.NodePackageInstallTask());
24
24
  };
@@ -5,7 +5,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
5
5
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
6
6
  const changes_1 = require("./changes");
7
7
  function default_1() {
8
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.6', changes_1.updateDepedenciesVersion), postUpdate()]);
8
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.7', changes_1.updateDepedenciesVersion), postUpdate()]);
9
9
  }
10
10
  exports.default = default_1;
11
11
  function postUpdate() {
@@ -10,7 +10,7 @@ const changes_1 = require("./changes");
10
10
  const httpClientModuleName = 'HttpClientModule';
11
11
  const httpClientModuleSourcePath = '@angular/common/http';
12
12
  function default_1() {
13
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.6', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
13
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.7', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
14
14
  }
15
15
  exports.default = default_1;
16
16
  function postUpdate() {
@@ -5,7 +5,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
5
5
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
6
6
  const changes_1 = require("./changes");
7
7
  function default_1() {
8
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.6', changes_1.updateDepedenciesVersion), postUpdate()]);
8
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.7', changes_1.updateDepedenciesVersion), postUpdate()]);
9
9
  }
10
10
  exports.default = default_1;
11
11
  function postUpdate() {
@@ -5,7 +5,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
5
5
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
6
6
  const changes_1 = require("./changes");
7
7
  function default_1() {
8
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.6', changes_1.updateDepedenciesVersion), postUpdate()]);
8
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.7', changes_1.updateDepedenciesVersion), postUpdate()]);
9
9
  }
10
10
  exports.default = default_1;
11
11
  function postUpdate() {
@@ -10,7 +10,7 @@ const package_config_1 = require("@po-ui/ng-schematics/package-config");
10
10
  const changes_1 = require("./changes");
11
11
  function updateToV2() {
12
12
  return (0, schematics_1.chain)([
13
- updatePackageJson('17.26.6', changes_1.dependeciesChanges),
13
+ updatePackageJson('17.26.7', changes_1.dependeciesChanges),
14
14
  (0, replace_1.replaceInFile)('tslint.json', changes_1.tsLintReplaces),
15
15
  (0, replace_1.replaceInFile)('angular.json', changes_1.angularJsonReplaces),
16
16
  createUpgradeRule(),
@@ -7,7 +7,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
7
7
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
8
8
  const changes_1 = require("./changes");
9
9
  function updateToV3() {
10
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.6', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
10
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.7', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
11
11
  }
12
12
  exports.updateToV3 = updateToV3;
13
13
  function postUpdate() {
@@ -6,7 +6,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
6
6
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
7
7
  const changes_1 = require("./changes");
8
8
  function default_1() {
9
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.6', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.7', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
10
10
  }
11
11
  exports.default = default_1;
12
12
  function postUpdate() {
@@ -6,7 +6,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
6
6
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
7
7
  const changes_1 = require("./changes");
8
8
  function default_1() {
9
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.6', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.7', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
10
10
  }
11
11
  exports.default = default_1;
12
12
  function postUpdate() {
@@ -5,7 +5,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
5
5
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
6
6
  const changes_1 = require("./changes");
7
7
  function default_1() {
8
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.6', changes_1.updateDepedenciesVersion), postUpdate()]);
8
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.7', changes_1.updateDepedenciesVersion), postUpdate()]);
9
9
  }
10
10
  exports.default = default_1;
11
11
  function postUpdate() {
Binary file