@po-ui/ng-components 17.26.7 → 17.26.8
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/esm2022/lib/components/po-accordion/po-accordion.module.mjs +13 -1
- package/esm2022/lib/components/po-chart/po-chart.component.mjs +3 -2
- package/esm2022/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-base.component.mjs +2 -2
- package/esm2022/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-field.interface.mjs +1 -1
- package/esm2022/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields.component.mjs +25 -3
- package/esm2022/lib/components/po-list-view/po-list-view.module.mjs +13 -1
- package/esm2022/lib/components/po-navbar/po-navbar.module.mjs +13 -1
- package/esm2022/lib/components/po-page/po-page-slide/po-page-slide-base.component.mjs +36 -1
- package/esm2022/lib/components/po-slide/po-slide.module.mjs +13 -1
- package/esm2022/lib/components/po-tree-view/po-tree-view.module.mjs +13 -1
- package/esm2022/lib/services/po-theme/po-theme.service.mjs +2 -2
- package/fesm2022/po-ui-ng-components.mjs +123 -5
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-accordion/po-accordion.module.d.ts +12 -0
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-base.component.d.ts +1 -1
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-field.interface.d.ts +2 -2
- package/lib/components/po-list-view/po-list-view.module.d.ts +12 -0
- package/lib/components/po-navbar/po-navbar.module.d.ts +12 -0
- package/lib/components/po-page/po-page-slide/po-page-slide-base.component.d.ts +35 -0
- package/lib/components/po-slide/po-slide.module.d.ts +12 -0
- package/lib/components/po-tree-view/po-tree-view.module.d.ts +12 -0
- package/package.json +4 -4
- package/po-ui-ng-components-17.26.8.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-update/v14/index.js +1 -1
- package/schematics/ng-update/v15/index.js +1 -1
- package/schematics/ng-update/v16/index.js +1 -1
- package/schematics/ng-update/v17/index.js +1 -1
- package/schematics/ng-update/v2/index.js +1 -1
- package/schematics/ng-update/v3/index.js +1 -1
- package/schematics/ng-update/v4/index.js +1 -1
- package/schematics/ng-update/v5/index.js +1 -1
- package/schematics/ng-update/v6/index.js +1 -1
- package/po-ui-ng-components-17.26.7.tgz +0 -0
|
@@ -39,6 +39,18 @@ import * as i10 from "../../directives/po-tooltip/po-tooltip.module";
|
|
|
39
39
|
* })
|
|
40
40
|
* export class AppModule { }
|
|
41
41
|
* ```
|
|
42
|
+
*
|
|
43
|
+
* Em aplicações Standalone, utilize a seguinte configuração para o bootstrap:
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
* import { bootstrapApplication } from '@angular/platform-browser';
|
|
47
|
+
* import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
48
|
+
* import { AppComponent } from './app.component';
|
|
49
|
+
*
|
|
50
|
+
* bootstrapApplication(AppComponent, {
|
|
51
|
+
* providers: [importProvidersFrom(BrowserAnimationsModule)]
|
|
52
|
+
* }).catch(err => console.error(err));
|
|
53
|
+
* ```
|
|
42
54
|
*/
|
|
43
55
|
export declare class PoAccordionModule {
|
|
44
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoAccordionModule, never>;
|
|
@@ -46,7 +46,7 @@ export declare class PoDynamicFormBaseComponent {
|
|
|
46
46
|
* o `po-textarea`, caso o valor da propriedade `rows` seja menor que 3 o componente criado será o `po-input`.
|
|
47
47
|
* - Caso seja informada a propriedade `secret` o componente criado será o `po-password`.
|
|
48
48
|
* - Caso o *type* informado seja *string* o componente criado será o `po-input`.
|
|
49
|
-
* > Ao alterar o valor das `properties
|
|
49
|
+
* > Ao alterar o valor das `properties`, visibilidade e/ou agrupamentos via container, os `fields` que utilizam serviço podem refazer as chamadas para as API's.
|
|
50
50
|
* @default `[]`
|
|
51
51
|
*/
|
|
52
52
|
fields: Array<PoDynamicFormField>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { PoCheckboxGroupOption, PoComboFilter, PoComboLiterals, PoDatepickerIsoFormat, PoDatepickerRangeLiterals, PoLookupFilter, PoLookupLiterals, PoMultiselectFilterMode, PoMultiselectLiterals, PoSwitchLabelPosition, PoUploadLiterals, PoUploadFileRestrictions } from '../../po-field';
|
|
2
|
+
import { PoCheckboxGroupOption, PoComboFilter, PoComboLiterals, PoDatepickerIsoFormat, PoDatepickerRangeLiterals, PoLookupFilter, PoLookupLiterals, PoMultiselectFilter, PoMultiselectFilterMode, PoMultiselectLiterals, PoSwitchLabelPosition, PoUploadLiterals, PoUploadFileRestrictions } from '../../po-field';
|
|
3
3
|
import { PoLookupAdvancedFilter } from '../../po-field/po-lookup/interfaces/po-lookup-advanced-filter.interface';
|
|
4
4
|
import { PoLookupColumn } from '../../po-field/po-lookup/interfaces/po-lookup-column.interface';
|
|
5
5
|
import { PoMultiselectOption } from '../../po-field/po-multiselect/po-multiselect-option.interface';
|
|
@@ -53,7 +53,7 @@ export interface PoDynamicFormField extends PoDynamicField {
|
|
|
53
53
|
* > Para que funcione corretamente, é importante que o serviço siga o
|
|
54
54
|
* [guia de API do PO UI](https://po-ui.io/guides/api).
|
|
55
55
|
*/
|
|
56
|
-
optionsService?: string | PoComboFilter;
|
|
56
|
+
optionsService?: string | PoComboFilter | PoMultiselectFilter;
|
|
57
57
|
/**
|
|
58
58
|
* Serviço que será utilizado para realizar a busca avançada. Pode ser utilizado em conjunto com a propriedade `columns`.
|
|
59
59
|
* Pode ser ser informada uma URL ou uma instancia do serviço baseado em PoLookupFilter.
|
|
@@ -40,6 +40,18 @@ import * as i11 from "../po-container/po-container.module";
|
|
|
40
40
|
* })
|
|
41
41
|
* export class AppModule { }
|
|
42
42
|
* ```
|
|
43
|
+
*
|
|
44
|
+
* Em aplicações Standalone, utilize a seguinte configuração para o bootstrap:
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
* import { bootstrapApplication } from '@angular/platform-browser';
|
|
48
|
+
* import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
49
|
+
* import { AppComponent } from './app.component';
|
|
50
|
+
*
|
|
51
|
+
* bootstrapApplication(AppComponent, {
|
|
52
|
+
* providers: [importProvidersFrom(BrowserAnimationsModule)]
|
|
53
|
+
* }).catch(err => console.error(err));
|
|
54
|
+
* ```
|
|
43
55
|
*/
|
|
44
56
|
export declare class PoListViewModule {
|
|
45
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoListViewModule, never>;
|
|
@@ -38,6 +38,18 @@ import * as i9 from "./po-navbar-items/po-navbar-items.module";
|
|
|
38
38
|
* })
|
|
39
39
|
* export class AppModule { }
|
|
40
40
|
* ```
|
|
41
|
+
*
|
|
42
|
+
* Em aplicações Standalone, utilize a seguinte configuração para o bootstrap:
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
* import { bootstrapApplication } from '@angular/platform-browser';
|
|
46
|
+
* import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
47
|
+
* import { AppComponent } from './app.component';
|
|
48
|
+
*
|
|
49
|
+
* bootstrapApplication(AppComponent, {
|
|
50
|
+
* providers: [importProvidersFrom(BrowserAnimationsModule)]
|
|
51
|
+
* }).catch(err => console.error(err));
|
|
52
|
+
* ```
|
|
41
53
|
*/
|
|
42
54
|
export declare class PoNavbarModule {
|
|
43
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoNavbarModule, never>;
|
|
@@ -14,6 +14,41 @@ import * as i0 from "@angular/core";
|
|
|
14
14
|
* > Para o correto funcionamento do componente `po-page-slide`, deve ser
|
|
15
15
|
* > importado o módulo `BrowserAnimationsModule` no módulo principal da sua
|
|
16
16
|
* > aplicação.
|
|
17
|
+
*
|
|
18
|
+
* Módulo da aplicação:
|
|
19
|
+
* ```
|
|
20
|
+
* import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
21
|
+
* import { PoModule } from '@po-ui/ng-components';
|
|
22
|
+
* ...
|
|
23
|
+
*
|
|
24
|
+
* @NgModule({
|
|
25
|
+
* imports: [
|
|
26
|
+
* BrowserModule,
|
|
27
|
+
* BrowserAnimationsModule,
|
|
28
|
+
* ...
|
|
29
|
+
* PoModule
|
|
30
|
+
* ],
|
|
31
|
+
* declarations: [
|
|
32
|
+
* AppComponent,
|
|
33
|
+
* ...
|
|
34
|
+
* ],
|
|
35
|
+
* providers: [],
|
|
36
|
+
* bootstrap: [AppComponent]
|
|
37
|
+
* })
|
|
38
|
+
* export class AppModule { }
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* Em aplicações Standalone, utilize a seguinte configuração para o bootstrap:
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
* import { bootstrapApplication } from '@angular/platform-browser';
|
|
45
|
+
* import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
46
|
+
* import { AppComponent } from './app.component';
|
|
47
|
+
*
|
|
48
|
+
* bootstrapApplication(AppComponent, {
|
|
49
|
+
* providers: [importProvidersFrom(BrowserAnimationsModule)]
|
|
50
|
+
* }).catch(err => console.error(err));
|
|
51
|
+
* ```
|
|
17
52
|
*/
|
|
18
53
|
export declare class PoPageSlideBaseComponent {
|
|
19
54
|
/**
|
|
@@ -38,6 +38,18 @@ import * as i9 from "../po-icon/po-icon.module";
|
|
|
38
38
|
* })
|
|
39
39
|
* export class AppModule { }
|
|
40
40
|
* ```
|
|
41
|
+
*
|
|
42
|
+
* Em aplicações Standalone, utilize a seguinte configuração para o bootstrap:
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
* import { bootstrapApplication } from '@angular/platform-browser';
|
|
46
|
+
* import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
47
|
+
* import { AppComponent } from './app.component';
|
|
48
|
+
*
|
|
49
|
+
* bootstrapApplication(AppComponent, {
|
|
50
|
+
* providers: [importProvidersFrom(BrowserAnimationsModule)]
|
|
51
|
+
* }).catch(err => console.error(err));
|
|
52
|
+
* ```
|
|
41
53
|
*/
|
|
42
54
|
export declare class PoSlideModule {
|
|
43
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoSlideModule, never>;
|
|
@@ -37,6 +37,18 @@ import * as i8 from "../po-icon/po-icon.module";
|
|
|
37
37
|
* })
|
|
38
38
|
* export class AppModule { }
|
|
39
39
|
* ```
|
|
40
|
+
*
|
|
41
|
+
* Em aplicações Standalone, utilize a seguinte configuração para o bootstrap:
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
* import { bootstrapApplication } from '@angular/platform-browser';
|
|
45
|
+
* import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
46
|
+
* import { AppComponent } from './app.component';
|
|
47
|
+
*
|
|
48
|
+
* bootstrapApplication(AppComponent, {
|
|
49
|
+
* providers: [importProvidersFrom(BrowserAnimationsModule)]
|
|
50
|
+
* }).catch(err => console.error(err));
|
|
51
|
+
* ```
|
|
40
52
|
*/
|
|
41
53
|
export declare class PoTreeViewModule {
|
|
42
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoTreeViewModule, never>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@po-ui/ng-components",
|
|
3
|
-
"version": "17.26.
|
|
3
|
+
"version": "17.26.8",
|
|
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.
|
|
25
|
-
"@po-ui/ng-schematics": "17.26.
|
|
24
|
+
"@po-ui/style": "17.26.8",
|
|
25
|
+
"@po-ui/ng-schematics": "17.26.8",
|
|
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.
|
|
39
|
+
"@po-ui/style": "17.26.8",
|
|
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.
|
|
21
|
+
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '17.26.8');
|
|
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.
|
|
8
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.8', 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.
|
|
13
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.8', 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.
|
|
8
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.8', 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.
|
|
8
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.8', 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.
|
|
13
|
+
updatePackageJson('17.26.8', 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.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.8', 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.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.8', 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.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.8', 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.
|
|
8
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.26.8', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
9
9
|
}
|
|
10
10
|
exports.default = default_1;
|
|
11
11
|
function postUpdate() {
|
|
Binary file
|