@po-ui/ng-components 22.0.0-next.0 → 22.0.0-rc.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.
- package/fesm2022/{po-ui-ng-components-po-chart-modal-table.component-BfgIJ-rf.mjs → po-ui-ng-components-po-chart-modal-table.component-B6drxxln.mjs} +4 -4
- package/fesm2022/{po-ui-ng-components-po-chart-modal-table.component-BfgIJ-rf.mjs.map → po-ui-ng-components-po-chart-modal-table.component-B6drxxln.mjs.map} +1 -1
- package/fesm2022/po-ui-ng-components.mjs +3018 -2503
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-chart/po-chart-base.component.d.ts +1 -1
- package/lib/components/po-dropdown/po-dropdown-base.component.d.ts +41 -2
- package/lib/components/po-dropdown/po-dropdown.component.d.ts +13 -5
- package/lib/components/po-listbox/interfaces/po-listbox-literals.interface.d.ts +6 -0
- package/lib/components/po-listbox/po-listbox-base.component.d.ts +1 -0
- package/lib/components/po-listbox/po-listbox.component.d.ts +31 -5
- package/lib/components/po-popup/po-popup-action.interface.d.ts +29 -0
- package/lib/components/po-popup/po-popup-base.component.d.ts +38 -2
- package/lib/components/po-popup/po-popup.component.d.ts +16 -1
- package/package.json +5 -5
- package/po-ui-ng-components-22.0.0-rc.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-generate/sidemenu/index.js +5 -2
- package/schematics/ng-generate/sidemenu/index.js.map +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/v18/index.js +2 -2
- package/schematics/ng-update/v19/index.js +2 -2
- package/schematics/ng-update/v2/index.js +1 -1
- package/schematics/ng-update/v20/index.js +2 -2
- package/schematics/ng-update/v21/index.js +1 -1
- package/schematics/ng-update/v22/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/types/po-ui-ng-components.d.ts +538 -380
- package/po-ui-ng-components-22.0.0-next.0.tgz +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, ElementRef, TemplateRef, OnInit, OnDestroy, Renderer2, QueryList, AnimationCallbackEvent, OnChanges, ChangeDetectorRef, SimpleChanges, AfterViewInit, Type, ViewContainerRef, DoCheck, AfterViewChecked, IterableDiffers, ApplicationRef, Injector, ComponentRef, PipeTransform,
|
|
2
|
+
import { EventEmitter, ElementRef, TemplateRef, OnInit, OnDestroy, Renderer2, QueryList, AnimationCallbackEvent, OnChanges, ChangeDetectorRef, SimpleChanges, AfterViewInit, WritableSignal, Type, ViewContainerRef, DoCheck, AfterViewChecked, IterableDiffers, ApplicationRef, Injector, ComponentRef, PipeTransform, InjectionToken, ModuleWithProviders, RendererFactory2, AfterContentInit, SimpleChange } from '@angular/core';
|
|
3
3
|
import * as i2 from '@angular/common';
|
|
4
4
|
import { DecimalPipe, TitleCasePipe, CurrencyPipe, DatePipe } from '@angular/common';
|
|
5
5
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
6
|
-
import * as
|
|
6
|
+
import * as i11 from '@angular/cdk/listbox';
|
|
7
7
|
import { CdkListbox, CdkOption } from '@angular/cdk/listbox';
|
|
8
8
|
import * as rxjs from 'rxjs';
|
|
9
9
|
import { Observable, Subject, Subscription } from 'rxjs';
|
|
@@ -128,7 +128,7 @@ declare class PoLanguageService {
|
|
|
128
128
|
*/
|
|
129
129
|
getDateSeparator(language?: string): string;
|
|
130
130
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoLanguageService, never>;
|
|
131
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
131
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
/**
|
|
@@ -991,12 +991,12 @@ declare class PoControlPositionService {
|
|
|
991
991
|
private setTopPositions;
|
|
992
992
|
private verifySubPositions;
|
|
993
993
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoControlPositionService, never>;
|
|
994
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
994
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
995
995
|
}
|
|
996
996
|
|
|
997
997
|
declare class PoTooltipControlPositionService extends PoControlPositionService {
|
|
998
998
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoTooltipControlPositionService, never>;
|
|
999
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
999
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
1000
1000
|
}
|
|
1001
1001
|
|
|
1002
1002
|
/**
|
|
@@ -1894,6 +1894,12 @@ interface PoListBoxLiterals {
|
|
|
1894
1894
|
/** Texto do checkbox para selecionar todos os itens. */
|
|
1895
1895
|
selectAll?: string;
|
|
1896
1896
|
footerActionListbox?: string;
|
|
1897
|
+
/** Mensagem exibida quando o carregamento assíncrono de um subnível falha. */
|
|
1898
|
+
subItemsErrorMessage?: string;
|
|
1899
|
+
/** Texto acessível anunciado durante o carregamento assíncrono de um subnível. */
|
|
1900
|
+
subItemsLoading?: string;
|
|
1901
|
+
/** Texto do botão para tentar novamente o carregamento de um subnível. */
|
|
1902
|
+
retry?: string;
|
|
1897
1903
|
}
|
|
1898
1904
|
|
|
1899
1905
|
/**
|
|
@@ -2003,12 +2009,13 @@ declare class PoListBoxBaseComponent {
|
|
|
2003
2009
|
clickTab: EventEmitter<any>;
|
|
2004
2010
|
changeStateTabs: EventEmitter<any>;
|
|
2005
2011
|
clickItem: EventEmitter<any>;
|
|
2012
|
+
subItemsLoad: EventEmitter<any>;
|
|
2006
2013
|
footerActionListboxEvent: EventEmitter<any>;
|
|
2007
2014
|
constructor(languageService: PoLanguageService);
|
|
2008
2015
|
protected onThemeChange(): void;
|
|
2009
2016
|
private applySizeBasedOnA11y;
|
|
2010
2017
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoListBoxBaseComponent, never>;
|
|
2011
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoListBoxBaseComponent, never, never, { "listboxSubitems": { "alias": "p-listbox-subitems"; "required": false; }; "visible": { "alias": "p-visible"; "required": false; "isSignal": true; }; "type": { "alias": "p-type"; "required": false; }; "items": { "alias": "p-items"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "isTabs": { "alias": "p-is-tabs"; "required": false; }; "param": { "alias": "p-param"; "required": false; }; "checkboxAllValue": { "alias": "p-checkboxAllValue"; "required": false; }; "selectedOptions": { "alias": "p-selected-options"; "required": false; }; "selectedOption": { "alias": "p-selected-option"; "required": false; }; "fieldValue": { "alias": "p-field-value"; "required": false; }; "fieldLabel": { "alias": "p-field-label"; "required": false; }; "literalSearch": { "alias": "p-literal-search"; "required": false; }; "fieldValueSearch": { "alias": "p-field-value-search"; "required": false; }; "hideSearch": { "alias": "p-hide-search"; "required": false; }; "hideSelectAll": { "alias": "p-hide-select-all"; "required": false; }; "multiselectTemplate": { "alias": "p-multiselect-template"; "required": false; }; "template": { "alias": "p-template"; "required": false; }; "placeholderSearch": { "alias": "p-placeholder-search"; "required": false; }; "searchValue": { "alias": "p-search-value"; "required": false; }; "isServerSearching": { "alias": "p-is-searching"; "required": false; }; "infiniteLoading": { "alias": "p-infinite-loading"; "required": false; }; "infiniteScroll": { "alias": "p-infinite-scroll"; "required": false; }; "cache": { "alias": "p-cache"; "required": false; }; "infiniteScrollDistance": { "alias": "p-infinite-scroll-distance"; "required": false; }; "filterMode": { "alias": "p-filter-mode"; "required": false; }; "isFiltering": { "alias": "p-filtering"; "required": false; }; "shouldMarkLetters": { "alias": "p-should-mark-letter"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "compareCache": { "alias": "p-compare-cache"; "required": false; }; "comboService": { "alias": "p-combo-service"; "required": false; }; "containerWidth": { "alias": "p-container-width"; "required": false; }; "keysLabel": { "alias": "p-keys-label"; "required": false; }; "footerActionListbox": { "alias": "p-footer-action-listbox"; "required": false; }; "placeholderListbox": { "alias": "p-placeholder-listbox"; "required": false; }; "separator": { "alias": "p-separator"; "required": false; }; }, { "changeSearch": "p-change-search"; "selectItem": "p-select-item"; "closeEvent": "p-close"; "change": "p-change"; "selectCombo": "p-selectcombo-item"; "changeAll": "p-change-all"; "UpdateInfiniteScroll": "p-update-infinite-scroll"; "activatedTab": "p-activated-tabs"; "clickTab": "p-click-tabs"; "changeStateTabs": "p-change-state-tabs"; "clickItem": "p-click-item"; "footerActionListboxEvent": "p-footer-action-listbox-event"; }, never, never, true, never>;
|
|
2018
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoListBoxBaseComponent, never, never, { "listboxSubitems": { "alias": "p-listbox-subitems"; "required": false; }; "visible": { "alias": "p-visible"; "required": false; "isSignal": true; }; "type": { "alias": "p-type"; "required": false; }; "items": { "alias": "p-items"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "isTabs": { "alias": "p-is-tabs"; "required": false; }; "param": { "alias": "p-param"; "required": false; }; "checkboxAllValue": { "alias": "p-checkboxAllValue"; "required": false; }; "selectedOptions": { "alias": "p-selected-options"; "required": false; }; "selectedOption": { "alias": "p-selected-option"; "required": false; }; "fieldValue": { "alias": "p-field-value"; "required": false; }; "fieldLabel": { "alias": "p-field-label"; "required": false; }; "literalSearch": { "alias": "p-literal-search"; "required": false; }; "fieldValueSearch": { "alias": "p-field-value-search"; "required": false; }; "hideSearch": { "alias": "p-hide-search"; "required": false; }; "hideSelectAll": { "alias": "p-hide-select-all"; "required": false; }; "multiselectTemplate": { "alias": "p-multiselect-template"; "required": false; }; "template": { "alias": "p-template"; "required": false; }; "placeholderSearch": { "alias": "p-placeholder-search"; "required": false; }; "searchValue": { "alias": "p-search-value"; "required": false; }; "isServerSearching": { "alias": "p-is-searching"; "required": false; }; "infiniteLoading": { "alias": "p-infinite-loading"; "required": false; }; "infiniteScroll": { "alias": "p-infinite-scroll"; "required": false; }; "cache": { "alias": "p-cache"; "required": false; }; "infiniteScrollDistance": { "alias": "p-infinite-scroll-distance"; "required": false; }; "filterMode": { "alias": "p-filter-mode"; "required": false; }; "isFiltering": { "alias": "p-filtering"; "required": false; }; "shouldMarkLetters": { "alias": "p-should-mark-letter"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "compareCache": { "alias": "p-compare-cache"; "required": false; }; "comboService": { "alias": "p-combo-service"; "required": false; }; "containerWidth": { "alias": "p-container-width"; "required": false; }; "keysLabel": { "alias": "p-keys-label"; "required": false; }; "footerActionListbox": { "alias": "p-footer-action-listbox"; "required": false; }; "placeholderListbox": { "alias": "p-placeholder-listbox"; "required": false; }; "separator": { "alias": "p-separator"; "required": false; }; }, { "changeSearch": "p-change-search"; "selectItem": "p-select-item"; "closeEvent": "p-close"; "change": "p-change"; "selectCombo": "p-selectcombo-item"; "changeAll": "p-change-all"; "UpdateInfiniteScroll": "p-update-infinite-scroll"; "activatedTab": "p-activated-tabs"; "clickTab": "p-click-tabs"; "changeStateTabs": "p-change-state-tabs"; "clickItem": "p-click-item"; "subItemsLoad": "p-sub-items-load"; "footerActionListboxEvent": "p-footer-action-listbox-event"; }, never, never, true, never>;
|
|
2012
2019
|
static ngAcceptInputType_isTabs: any;
|
|
2013
2020
|
static ngAcceptInputType_isServerSearching: any;
|
|
2014
2021
|
static ngAcceptInputType_infiniteLoading: any;
|
|
@@ -2128,6 +2135,10 @@ interface PoPopupAction {
|
|
|
2128
2135
|
*
|
|
2129
2136
|
* Define uma lista de subitens para criação de menus aninhados.
|
|
2130
2137
|
*
|
|
2138
|
+
* ```
|
|
2139
|
+
* { label: 'Relatórios', subItems: [{ label: 'Mensal' }, { label: 'Anual' }] }
|
|
2140
|
+
* ```
|
|
2141
|
+
*
|
|
2131
2142
|
* Ao definir esta propriedade, o item exibirá um ícone indicador de subnível.
|
|
2132
2143
|
* Recomenda-se utilizar no máximo três níveis hierárquicos para garantir a usabilidade.
|
|
2133
2144
|
*
|
|
@@ -2138,6 +2149,30 @@ interface PoPopupAction {
|
|
|
2138
2149
|
* > Em subníveis aninhados, o `icon` do agrupador é substituído pelo indicador de navegação (seta).
|
|
2139
2150
|
*/
|
|
2140
2151
|
subItems?: Array<PoPopupAction>;
|
|
2152
|
+
/**
|
|
2153
|
+
* @optional
|
|
2154
|
+
*
|
|
2155
|
+
* @description
|
|
2156
|
+
*
|
|
2157
|
+
* Define o carregamento assíncrono (lazy loading) dos subitens de um agrupador.
|
|
2158
|
+
*
|
|
2159
|
+
* Recebe o item agrupador e retorna um `Observable<Array<PoPopupAction>>`. A requisição é disparada
|
|
2160
|
+
* **apenas** no momento da expansão (clique ou atalho de teclado), exibindo placeholders com `po-skeleton`
|
|
2161
|
+
* enquanto os dados são carregados:
|
|
2162
|
+
*
|
|
2163
|
+
* ```
|
|
2164
|
+
* {
|
|
2165
|
+
* label: 'Relatórios',
|
|
2166
|
+
* subItemsLazy: (item) => this.reportService.getReports(item)
|
|
2167
|
+
* }
|
|
2168
|
+
* ```
|
|
2169
|
+
*
|
|
2170
|
+
* > O resultado é armazenado em cache após o primeiro carregamento bem-sucedido.
|
|
2171
|
+
* Em caso de falha, é exibida uma mensagem com a opção de tentar novamente.
|
|
2172
|
+
*
|
|
2173
|
+
* Ao definir esta propriedade, o item exibirá um ícone indicador de subnível.
|
|
2174
|
+
*/
|
|
2175
|
+
subItemsLazy?: (item: PoPopupAction) => Observable<Array<PoPopupAction>>;
|
|
2141
2176
|
$subItemTemplate?: TemplateRef<any>;
|
|
2142
2177
|
}
|
|
2143
2178
|
|
|
@@ -2159,6 +2194,16 @@ declare class PoListBoxComponent extends PoListBoxBaseComponent implements OnIni
|
|
|
2159
2194
|
element: ElementRef<any>;
|
|
2160
2195
|
currentItems: Array<PoDropdownAction>;
|
|
2161
2196
|
currentGroup: PoDropdownAction | null;
|
|
2197
|
+
readonly subItemsLoading: WritableSignal<Record<string, boolean>>;
|
|
2198
|
+
readonly subItemsError: WritableSignal<Record<string, boolean>>;
|
|
2199
|
+
readonly subItemsSkeletonPlaceholders: number[];
|
|
2200
|
+
rootLazyLoad?: () => Observable<Array<PoDropdownAction>>;
|
|
2201
|
+
rootItemsLoad: EventEmitter<void>;
|
|
2202
|
+
contentChange: EventEmitter<void>;
|
|
2203
|
+
private readonly loadedSubItems;
|
|
2204
|
+
private lastLoadedGroup;
|
|
2205
|
+
private rootLoaded;
|
|
2206
|
+
private readonly destroySubItems$;
|
|
2162
2207
|
private readonly navigationStack;
|
|
2163
2208
|
private readonly renderer;
|
|
2164
2209
|
private readonly router;
|
|
@@ -2179,12 +2224,30 @@ declare class PoListBoxComponent extends PoListBoxBaseComponent implements OnIni
|
|
|
2179
2224
|
ngOnChanges(changes?: SimpleChanges): void;
|
|
2180
2225
|
ngOnDestroy(): void;
|
|
2181
2226
|
openGroup(group: PoDropdownAction, event?: MouseEvent | KeyboardEvent): void;
|
|
2227
|
+
private loadSubItemsAsync;
|
|
2228
|
+
onRetryKeydown(event: KeyboardEvent, scope: 'root' | 'subItems'): void;
|
|
2229
|
+
retrySubItems(event?: MouseEvent | KeyboardEvent): void;
|
|
2230
|
+
loadRootItemsAsync(): void;
|
|
2231
|
+
retryRootItems(event?: MouseEvent | KeyboardEvent): void;
|
|
2232
|
+
isRootLoading(): boolean;
|
|
2233
|
+
isRootError(): boolean;
|
|
2234
|
+
isSubItemsLoading(group: PoDropdownAction | null): boolean;
|
|
2235
|
+
isSubItemsError(group: PoDropdownAction | null): boolean;
|
|
2236
|
+
isFunction(value: unknown): boolean;
|
|
2237
|
+
isGroupItem(item: PoDropdownAction): boolean;
|
|
2238
|
+
private hasSubItems;
|
|
2239
|
+
private getGroupKey;
|
|
2240
|
+
private setSubItemsState;
|
|
2241
|
+
private clearSubItemsState;
|
|
2242
|
+
private focusGroupHeader;
|
|
2182
2243
|
goBack(event: MouseEvent | KeyboardEvent): void;
|
|
2183
2244
|
onKeydownGoBack(event: KeyboardEvent, currentGroup?: PoDropdownAction): void;
|
|
2184
2245
|
protected onKeydownTemplate(event: KeyboardEvent): void;
|
|
2185
|
-
onSelectItem(itemListAction:
|
|
2246
|
+
onSelectItem(itemListAction: any, event?: MouseEvent | KeyboardEvent): void | Promise<boolean>;
|
|
2186
2247
|
onSelectAllCheckboxKeyDown(event: KeyboardEvent): void;
|
|
2187
|
-
onKeyDown(itemListAction:
|
|
2248
|
+
onKeyDown(itemListAction: any, event?: KeyboardEvent): void;
|
|
2249
|
+
private handleArrowRightKey;
|
|
2250
|
+
private handleEnterOrSpaceKey;
|
|
2188
2251
|
checkboxClicked({ option, selected }: {
|
|
2189
2252
|
option: any;
|
|
2190
2253
|
selected: any;
|
|
@@ -2218,7 +2281,7 @@ declare class PoListBoxComponent extends PoListBoxBaseComponent implements OnIni
|
|
|
2218
2281
|
formatItemList(item: any): string;
|
|
2219
2282
|
handleFooterActionListbox(): void;
|
|
2220
2283
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoListBoxComponent, never>;
|
|
2221
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoListBoxComponent, "po-listbox", never, {}, {}, never, ["[p-popup-header-template]"], false, never>;
|
|
2284
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoListBoxComponent, "po-listbox", never, { "rootLazyLoad": { "alias": "p-root-lazy-load"; "required": false; }; }, { "rootItemsLoad": "p-root-items-load"; "contentChange": "p-content-change"; }, never, ["[p-popup-header-template]"], false, never>;
|
|
2222
2285
|
}
|
|
2223
2286
|
|
|
2224
2287
|
/**
|
|
@@ -4371,9 +4434,337 @@ declare class PoCheckboxModule {
|
|
|
4371
4434
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoCheckboxModule>;
|
|
4372
4435
|
}
|
|
4373
4436
|
|
|
4437
|
+
/**
|
|
4438
|
+
* @usedBy PoSkeletonComponent
|
|
4439
|
+
*
|
|
4440
|
+
* @description
|
|
4441
|
+
*
|
|
4442
|
+
* Define os tipos de animação do componente `po-skeleton`.
|
|
4443
|
+
*/
|
|
4444
|
+
declare enum PoSkeletonAnimation {
|
|
4445
|
+
/** Sem animação */
|
|
4446
|
+
none = "none",
|
|
4447
|
+
/** Animação de pulsação */
|
|
4448
|
+
pulse = "pulse",
|
|
4449
|
+
/** Animação de brilho deslizante */
|
|
4450
|
+
shimmer = "shimmer"
|
|
4451
|
+
}
|
|
4452
|
+
|
|
4453
|
+
/**
|
|
4454
|
+
* @usedBy PoSkeletonComponent
|
|
4455
|
+
*
|
|
4456
|
+
* @description
|
|
4457
|
+
*
|
|
4458
|
+
* Define os tamanhos disponíveis para o componente `po-skeleton`.
|
|
4459
|
+
*/
|
|
4460
|
+
declare enum PoSkeletonSize {
|
|
4461
|
+
/** Tamanho extra pequeno */
|
|
4462
|
+
xs = "xs",
|
|
4463
|
+
/** Tamanho pequeno */
|
|
4464
|
+
sm = "sm",
|
|
4465
|
+
/** Tamanho médio */
|
|
4466
|
+
md = "md",
|
|
4467
|
+
/** Tamanho grande */
|
|
4468
|
+
lg = "lg",
|
|
4469
|
+
/** Tamanho extra grande */
|
|
4470
|
+
xl = "xl",
|
|
4471
|
+
/** Tamanho extra extra grande */
|
|
4472
|
+
xxl = "2xl"
|
|
4473
|
+
}
|
|
4474
|
+
|
|
4475
|
+
/**
|
|
4476
|
+
* @usedBy PoSkeletonComponent
|
|
4477
|
+
*
|
|
4478
|
+
* @description
|
|
4479
|
+
*
|
|
4480
|
+
* Define os tipos visuais disponíveis para o componente `po-skeleton`.
|
|
4481
|
+
*/
|
|
4482
|
+
declare enum PoSkeletonType {
|
|
4483
|
+
/** Tipo padrão com cor neutra clara */
|
|
4484
|
+
normal = "normal",
|
|
4485
|
+
/** Tipo primário com cor neutra média */
|
|
4486
|
+
primary = "primary",
|
|
4487
|
+
/** Tipo de conteúdo com fundo branco */
|
|
4488
|
+
content = "content"
|
|
4489
|
+
}
|
|
4490
|
+
|
|
4491
|
+
/**
|
|
4492
|
+
* @usedBy PoSkeletonComponent
|
|
4493
|
+
*
|
|
4494
|
+
* @description
|
|
4495
|
+
*
|
|
4496
|
+
* Define as variantes visuais do componente `po-skeleton`.
|
|
4497
|
+
*/
|
|
4498
|
+
declare enum PoSkeletonVariant {
|
|
4499
|
+
/** Variante para simular texto */
|
|
4500
|
+
text = "text",
|
|
4501
|
+
/** Variante retangular (largura maior que altura) */
|
|
4502
|
+
rectangle = "rectangle",
|
|
4503
|
+
/** Variante quadrada (largura igual à altura) */
|
|
4504
|
+
square = "square",
|
|
4505
|
+
/** Variante circular */
|
|
4506
|
+
circle = "circle"
|
|
4507
|
+
}
|
|
4508
|
+
|
|
4509
|
+
/**
|
|
4510
|
+
* @description
|
|
4511
|
+
*
|
|
4512
|
+
* O componente `po-skeleton` é utilizado para exibir placeholders durante o carregamento de conteúdo,
|
|
4513
|
+
* melhorando a experiência do usuário ao indicar que a informação está sendo processada.
|
|
4514
|
+
*
|
|
4515
|
+
* Ele oferece diferentes variantes visuais (texto, retângulo, círculo) e animações (pulse, shimmer)
|
|
4516
|
+
* para simular diversos tipos de conteúdo em estado de carregamento.
|
|
4517
|
+
*
|
|
4518
|
+
* #### Tokens customizáveis
|
|
4519
|
+
*
|
|
4520
|
+
* É possível alterar o estilo do componente usando os seguintes tokens (CSS):
|
|
4521
|
+
*
|
|
4522
|
+
* > Para maiores informações, acesse o guia [Personalizando o Tema Padrão com Tokens CSS](https://po-ui.io/guides/theme-customization).
|
|
4523
|
+
*
|
|
4524
|
+
* | Propriedade | Descrição | Valor Padrão |
|
|
4525
|
+
* |----------------------------------------|------------------------------------------------------|---------------------------------|
|
|
4526
|
+
* | **Cores** | | |
|
|
4527
|
+
* | `--color` | Cor de fundo do skeleton (tipo normal) | `var(--color-neutral-light-20)` |
|
|
4528
|
+
* | `--color-primary` | Cor de fundo do skeleton (tipo primary) | `var(--color-neutral-mid-40)` |
|
|
4529
|
+
* | `--color-content` | Cor de fundo do skeleton (tipo content) | `var(--color-neutral-light-00)` |
|
|
4530
|
+
* | `--shimmer-highlight` | Cor de destaque do shimmer (tipo normal) | `var(--color-neutral-light-30)` |
|
|
4531
|
+
* | `--shimmer-highlight-primary` | Cor de destaque do shimmer (tipo primary) | `var(--color-neutral-light-20)` |
|
|
4532
|
+
* | `--shimmer-highlight-content` | Cor de destaque do shimmer (tipo content) | `var(--color-neutral-light-05)` |
|
|
4533
|
+
* | **Espaçamento** | | |
|
|
4534
|
+
* | `--margin-bottom` | Margem inferior do skeleton | `var(--spacing-xs)` |
|
|
4535
|
+
* | **Bordas** | | |
|
|
4536
|
+
* | `--border-radius` | Raio da borda do skeleton | `var(--border-radius-md)` |
|
|
4537
|
+
* | `--border-radius-text` | Raio da borda para a variante text | `var(--border-radius-md)` |
|
|
4538
|
+
* | `--border-radius-primary` | Raio da borda do skeleton (tipo primary) | `var(--border-radius-md)` |
|
|
4539
|
+
* | `--border-radius-content` | Raio da borda do skeleton (tipo content) | `var(--border-radius-lg)` |
|
|
4540
|
+
* | **Transições** | | |
|
|
4541
|
+
* | `--transition-property` | Propriedade CSS da transição | `all` |
|
|
4542
|
+
* | `--transition-duration` | Duração da transição de cor | `var(--duration-moderate)` |
|
|
4543
|
+
* | `--transition-timing` | Função de temporização da transição/animação | `var(--timing-continuous)` |
|
|
4544
|
+
* | **Animações** | | |
|
|
4545
|
+
* | `--animation-duration-pulse` | Duração da animação de pulsação | `var(--duration-very-slow)` |
|
|
4546
|
+
* | `--animation-duration-shimmer` | Duração da animação de brilho deslizante | `var(--duration-ultra-slow)` |
|
|
4547
|
+
*
|
|
4548
|
+
*/
|
|
4549
|
+
declare class PoSkeletonBaseComponent {
|
|
4550
|
+
/**
|
|
4551
|
+
* @optional
|
|
4552
|
+
*
|
|
4553
|
+
* @description
|
|
4554
|
+
*
|
|
4555
|
+
* Define a variante visual do skeleton.
|
|
4556
|
+
*
|
|
4557
|
+
* Valores válidos:
|
|
4558
|
+
* - `text`: Simula uma linha de texto (altura padrão: 1em)
|
|
4559
|
+
* - `rectangle`: Forma retangular (proporção 3:1 por padrão)
|
|
4560
|
+
* - `square`: Forma quadrada (largura e altura iguais)
|
|
4561
|
+
* - `circle`: Forma circular (largura e altura iguais)
|
|
4562
|
+
*
|
|
4563
|
+
* @default `text`
|
|
4564
|
+
*/
|
|
4565
|
+
variant: i0.InputSignal<PoSkeletonVariant>;
|
|
4566
|
+
/**
|
|
4567
|
+
* @optional
|
|
4568
|
+
*
|
|
4569
|
+
* @description
|
|
4570
|
+
*
|
|
4571
|
+
* Define o tipo visual do skeleton, alterando sua cor de fundo.
|
|
4572
|
+
*
|
|
4573
|
+
* Valores válidos:
|
|
4574
|
+
* - `normal`: Cor neutra clara (padrão)
|
|
4575
|
+
* - `primary`: Cor neutra média
|
|
4576
|
+
* - `content`: Fundo branco
|
|
4577
|
+
*
|
|
4578
|
+
* @default `normal`
|
|
4579
|
+
*/
|
|
4580
|
+
type: i0.InputSignal<PoSkeletonType>;
|
|
4581
|
+
/**
|
|
4582
|
+
* @optional
|
|
4583
|
+
*
|
|
4584
|
+
* @description
|
|
4585
|
+
*
|
|
4586
|
+
* Define o tipo de animação do skeleton.
|
|
4587
|
+
*
|
|
4588
|
+
* Valores válidos:
|
|
4589
|
+
* - `none`: Sem animação
|
|
4590
|
+
* - `pulse`: Animação de pulsação
|
|
4591
|
+
* - `shimmer`: Animação de brilho deslizante
|
|
4592
|
+
*
|
|
4593
|
+
* @default `shimmer`
|
|
4594
|
+
*/
|
|
4595
|
+
animation: i0.InputSignal<PoSkeletonAnimation>;
|
|
4596
|
+
/**
|
|
4597
|
+
* @optional
|
|
4598
|
+
*
|
|
4599
|
+
* @description
|
|
4600
|
+
*
|
|
4601
|
+
* Define o tamanho do skeleton para as variantes pré-definidas (`rectangle`, `square`, `circle`).
|
|
4602
|
+
*
|
|
4603
|
+
* Valores válidos:
|
|
4604
|
+
* - `xs`: Extra pequeno (24px para square/circle, 72px x 24px para rectangle)
|
|
4605
|
+
* - `sm`: Pequeno (32px para square/circle, 96px x 32px para rectangle)
|
|
4606
|
+
* - `md`: Médio (48px para square/circle, 144px x 48px para rectangle)
|
|
4607
|
+
* - `lg`: Grande (64px para square/circle, 192px x 64px para rectangle)
|
|
4608
|
+
* - `xl`: Extra grande (96px para square/circle, 288px x 96px para rectangle)
|
|
4609
|
+
* - `2xl`: Extra extra grande (144px para square/circle, 432px x 144px para rectangle)
|
|
4610
|
+
*
|
|
4611
|
+
* Esta propriedade é ignorada quando `p-width` ou `p-height` são definidos explicitamente.
|
|
4612
|
+
*
|
|
4613
|
+
* @default `md`
|
|
4614
|
+
*/
|
|
4615
|
+
size: i0.InputSignal<PoSkeletonSize>;
|
|
4616
|
+
/**
|
|
4617
|
+
* @optional
|
|
4618
|
+
*
|
|
4619
|
+
* @description
|
|
4620
|
+
*
|
|
4621
|
+
* Define a largura do skeleton.
|
|
4622
|
+
* Aceita valores CSS válidos (px, %, em, rem).
|
|
4623
|
+
*
|
|
4624
|
+
* Quando definido, sobrescreve a largura padrão da variante.
|
|
4625
|
+
*
|
|
4626
|
+
* @default `100%` para variante `text`, tamanho baseado em `p-size` para outras variantes
|
|
4627
|
+
*/
|
|
4628
|
+
width: i0.InputSignal<string>;
|
|
4629
|
+
/**
|
|
4630
|
+
* @optional
|
|
4631
|
+
*
|
|
4632
|
+
* @description
|
|
4633
|
+
*
|
|
4634
|
+
* Define a altura do skeleton.
|
|
4635
|
+
* Aceita valores CSS válidos (px, %, em, rem).
|
|
4636
|
+
*
|
|
4637
|
+
* Quando definido, sobrescreve a altura padrão da variante.
|
|
4638
|
+
*/
|
|
4639
|
+
height: i0.InputSignal<string>;
|
|
4640
|
+
/**
|
|
4641
|
+
* @optional
|
|
4642
|
+
*
|
|
4643
|
+
* @description
|
|
4644
|
+
*
|
|
4645
|
+
* Define o raio da borda do skeleton.
|
|
4646
|
+
* Aceita valores CSS válidos (px, %, em, rem).
|
|
4647
|
+
*
|
|
4648
|
+
* Esta propriedade sobrescreve o border-radius padrão de cada variante.
|
|
4649
|
+
*/
|
|
4650
|
+
borderRadius: i0.InputSignal<string>;
|
|
4651
|
+
/**
|
|
4652
|
+
* @optional
|
|
4653
|
+
*
|
|
4654
|
+
* @description
|
|
4655
|
+
*
|
|
4656
|
+
* Define a descrição acessível do conteúdo que está sendo carregado.
|
|
4657
|
+
*
|
|
4658
|
+
* Este texto será anunciado por leitores de tela, garantindo que usuários de tecnologias assistivas
|
|
4659
|
+
* sejam informados sobre o estado de carregamento.
|
|
4660
|
+
*
|
|
4661
|
+
* **Quando usar:**
|
|
4662
|
+
* - Use em **skeletons únicos** ou no **primeiro skeleton de um grupo** com descrição contextual
|
|
4663
|
+
* - Evite usar em múltiplos skeletons dentro da mesma área sem contexto, para não causar repetição excessiva
|
|
4664
|
+
*
|
|
4665
|
+
* **Exemplos de uso:**
|
|
4666
|
+
*
|
|
4667
|
+
* ```html
|
|
4668
|
+
* <!-- ✅ BOM: Skeleton único com contexto -->
|
|
4669
|
+
* <po-skeleton p-aria-label="Carregando perfil do usuário"></po-skeleton>
|
|
4670
|
+
*
|
|
4671
|
+
* <!-- ✅ BOM: Grupo de skeletons - apenas o primeiro anuncia -->
|
|
4672
|
+
* <po-skeleton p-aria-label="Carregando lista de produtos"></po-skeleton>
|
|
4673
|
+
* <po-skeleton p-type="primary"></po-skeleton>
|
|
4674
|
+
* <po-skeleton p-variant="circle"></po-skeleton>
|
|
4675
|
+
*
|
|
4676
|
+
* <!-- ❌ EVITE: Múltiplos skeletons com a mesma label -->
|
|
4677
|
+
* <po-skeleton p-aria-label="Carregando"></po-skeleton> <!-- "Carregando" -->
|
|
4678
|
+
* <po-skeleton p-aria-label="Carregando"></po-skeleton> <!-- "Carregando" -->
|
|
4679
|
+
* <po-skeleton p-aria-label="Carregando"></po-skeleton> <!-- "Carregando" (repetitivo!) -->
|
|
4680
|
+
* ```
|
|
4681
|
+
*
|
|
4682
|
+
* > **Boas práticas de acessibilidade:**
|
|
4683
|
+
* > - Forneça contexto específico na label para que os usuários entendam o que está carregando
|
|
4684
|
+
*
|
|
4685
|
+
* > - Em casos complexos, considere usar um único `<div role="status">` para todo o grupo
|
|
4686
|
+
* > de skeletons, ao invés de múltiplas labels idênticas, para evitar repetição excessiva de anúncios
|
|
4687
|
+
*/
|
|
4688
|
+
ariaLabel: i0.InputSignal<string>;
|
|
4689
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoSkeletonBaseComponent, never>;
|
|
4690
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoSkeletonBaseComponent, never, never, { "variant": { "alias": "p-variant"; "required": false; "isSignal": true; }; "type": { "alias": "p-type"; "required": false; "isSignal": true; }; "animation": { "alias": "p-animation"; "required": false; "isSignal": true; }; "size": { "alias": "p-size"; "required": false; "isSignal": true; }; "width": { "alias": "p-width"; "required": false; "isSignal": true; }; "height": { "alias": "p-height"; "required": false; "isSignal": true; }; "borderRadius": { "alias": "p-border-radius"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "p-aria-label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4691
|
+
}
|
|
4692
|
+
|
|
4693
|
+
/**
|
|
4694
|
+
* @docsExtends PoSkeletonBaseComponent
|
|
4695
|
+
*
|
|
4696
|
+
* @example
|
|
4697
|
+
*
|
|
4698
|
+
* <example name="po-skeleton-basic" title="PO Skeleton Basic">
|
|
4699
|
+
* <file name="sample-po-skeleton-basic/sample-po-skeleton-basic.component.html"> </file>
|
|
4700
|
+
* <file name="sample-po-skeleton-basic/sample-po-skeleton-basic.component.ts"> </file>
|
|
4701
|
+
* </example>
|
|
4702
|
+
*
|
|
4703
|
+
* <example name="po-skeleton-labs" title="PO Skeleton Labs">
|
|
4704
|
+
* <file name="sample-po-skeleton-labs/sample-po-skeleton-labs.component.html"> </file>
|
|
4705
|
+
* <file name="sample-po-skeleton-labs/sample-po-skeleton-labs.component.ts"> </file>
|
|
4706
|
+
* </example>
|
|
4707
|
+
*
|
|
4708
|
+
* <example name="po-skeleton-credit-card" title="PO Skeleton - Credit Card">
|
|
4709
|
+
* <file name="sample-po-skeleton-credit-card/sample-po-skeleton-credit-card.component.html"> </file>
|
|
4710
|
+
* <file name="sample-po-skeleton-credit-card/sample-po-skeleton-credit-card.component.ts"> </file>
|
|
4711
|
+
* <file name="sample-po-skeleton-credit-card/sample-po-skeleton-credit-card.component.css"> </file>
|
|
4712
|
+
* </example>
|
|
4713
|
+
*
|
|
4714
|
+
* <example name="po-skeleton-widget-card" title="PO Skeleton - Widget Card">
|
|
4715
|
+
* <file name="sample-po-skeleton-widget-card/sample-po-skeleton-widget-card.component.html"> </file>
|
|
4716
|
+
* <file name="sample-po-skeleton-widget-card/sample-po-skeleton-widget-card.component.ts"> </file>
|
|
4717
|
+
* <file name="sample-po-skeleton-widget-card/sample-po-skeleton-widget-card.component.css"> </file>
|
|
4718
|
+
* </example>
|
|
4719
|
+
*
|
|
4720
|
+
* <example name="po-skeleton-user-profile" title="PO Skeleton - User Profile">
|
|
4721
|
+
* <file name="sample-po-skeleton-user-profile/sample-po-skeleton-user-profile.component.html"> </file>
|
|
4722
|
+
* <file name="sample-po-skeleton-user-profile/sample-po-skeleton-user-profile.component.ts"> </file>
|
|
4723
|
+
* <file name="sample-po-skeleton-user-profile/sample-po-skeleton-user-profile.component.css"> </file>
|
|
4724
|
+
* </example>
|
|
4725
|
+
*
|
|
4726
|
+
* <example name="po-skeleton-social-post" title="PO Skeleton - Social Post">
|
|
4727
|
+
* <file name="sample-po-skeleton-social-post/sample-po-skeleton-social-post.component.html"> </file>
|
|
4728
|
+
* <file name="sample-po-skeleton-social-post/sample-po-skeleton-social-post.component.ts"> </file>
|
|
4729
|
+
* <file name="sample-po-skeleton-social-post/sample-po-skeleton-social-post.component.css"> </file>
|
|
4730
|
+
* </example>
|
|
4731
|
+
*
|
|
4732
|
+
* <example name="po-skeleton-article" title="PO Skeleton - Article">
|
|
4733
|
+
* <file name="sample-po-skeleton-article/sample-po-skeleton-article.component.html"> </file>
|
|
4734
|
+
* <file name="sample-po-skeleton-article/sample-po-skeleton-article.component.ts"> </file>
|
|
4735
|
+
* <file name="sample-po-skeleton-article/sample-po-skeleton-article.component.css"> </file>
|
|
4736
|
+
* </example>
|
|
4737
|
+
*/
|
|
4738
|
+
declare class PoSkeletonComponent extends PoSkeletonBaseComponent {
|
|
4739
|
+
private readonly sizeMap;
|
|
4740
|
+
private readonly defaultTextDimensions;
|
|
4741
|
+
private readonly defaultBorderRadius;
|
|
4742
|
+
computedStyles: i0.Signal<{
|
|
4743
|
+
[key: string]: string;
|
|
4744
|
+
}>;
|
|
4745
|
+
computedClasses: i0.Signal<{
|
|
4746
|
+
[x: string]: boolean;
|
|
4747
|
+
'po-skeleton': boolean;
|
|
4748
|
+
}>;
|
|
4749
|
+
private getDimensions;
|
|
4750
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoSkeletonComponent, never>;
|
|
4751
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoSkeletonComponent, "po-skeleton", never, {}, {}, never, never, false, never>;
|
|
4752
|
+
}
|
|
4753
|
+
|
|
4754
|
+
/**
|
|
4755
|
+
* @description
|
|
4756
|
+
*
|
|
4757
|
+
* Módulo do componente po-skeleton.
|
|
4758
|
+
*/
|
|
4759
|
+
declare class PoSkeletonModule {
|
|
4760
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoSkeletonModule, never>;
|
|
4761
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PoSkeletonModule, [typeof PoSkeletonComponent], [typeof i2.CommonModule], [typeof PoSkeletonComponent]>;
|
|
4762
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PoSkeletonModule>;
|
|
4763
|
+
}
|
|
4764
|
+
|
|
4374
4765
|
declare class PoListBoxModule {
|
|
4375
4766
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoListBoxModule, never>;
|
|
4376
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PoListBoxModule, [typeof PoListBoxComponent, typeof PoItemListComponent, typeof PoSearchListComponent], [typeof i2.CommonModule, typeof PoCheckboxModule, typeof PoIconModule, typeof PoLoadingModule, typeof PoTagModule, typeof
|
|
4767
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PoListBoxModule, [typeof PoListBoxComponent, typeof PoItemListComponent, typeof PoSearchListComponent], [typeof i2.CommonModule, typeof PoButtonModule, typeof PoCheckboxModule, typeof PoIconModule, typeof PoLoadingModule, typeof PoSkeletonModule, typeof PoTagModule, typeof i11.CdkListboxModule], [typeof PoListBoxComponent]>;
|
|
4377
4768
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoListBoxModule>;
|
|
4378
4769
|
}
|
|
4379
4770
|
|
|
@@ -4455,10 +4846,14 @@ declare class PoPopupBaseComponent {
|
|
|
4455
4846
|
private _position?;
|
|
4456
4847
|
private _size?;
|
|
4457
4848
|
private _target;
|
|
4849
|
+
rootLazyLoad?: () => Observable<Array<PoPopupAction>>;
|
|
4458
4850
|
get computedListboxSubitems(): boolean;
|
|
4459
4851
|
templateIcon: boolean;
|
|
4460
|
-
/**
|
|
4461
|
-
|
|
4852
|
+
/**
|
|
4853
|
+
* Lista de ações que serão exibidas no componente.
|
|
4854
|
+
* Aceita um *array* de `PoPopupAction`.
|
|
4855
|
+
*/
|
|
4856
|
+
set actions(value: Array<PoPopupAction> | (() => Observable<Array<PoPopupAction>>));
|
|
4462
4857
|
get actions(): Array<PoPopupAction>;
|
|
4463
4858
|
/**
|
|
4464
4859
|
* @optional
|
|
@@ -4586,10 +4981,41 @@ declare class PoPopupBaseComponent {
|
|
|
4586
4981
|
set target(value: any);
|
|
4587
4982
|
get target(): any;
|
|
4588
4983
|
closeEvent: EventEmitter<any>;
|
|
4984
|
+
/**
|
|
4985
|
+
* @optional
|
|
4986
|
+
*
|
|
4987
|
+
* @description
|
|
4988
|
+
*
|
|
4989
|
+
* Evento disparado a cada clique em um item do menu.
|
|
4990
|
+
* Retorna o item clicado (`PoDropdownAction`).
|
|
4991
|
+
*
|
|
4992
|
+
* > Não é disparado para a ação interna de voltar (`goBack`).
|
|
4993
|
+
*/
|
|
4589
4994
|
clickItem: EventEmitter<any>;
|
|
4590
4995
|
openEvent: EventEmitter<any>;
|
|
4996
|
+
/**
|
|
4997
|
+
* @optional
|
|
4998
|
+
*
|
|
4999
|
+
* @description
|
|
5000
|
+
*
|
|
5001
|
+
* Evento disparado no momento em que a requisição assíncrona de um subnível é iniciada.
|
|
5002
|
+
* Retorna o item agrupador (`PoPopupAction`) que originou o carregamento.
|
|
5003
|
+
*
|
|
5004
|
+
* > Compatível com a propriedade PoPopupAction.subItemsLazy
|
|
5005
|
+
*/
|
|
5006
|
+
subItemsLoad: EventEmitter<PoPopupAction>;
|
|
5007
|
+
/**
|
|
5008
|
+
* @optional
|
|
5009
|
+
*
|
|
5010
|
+
* @description
|
|
5011
|
+
*
|
|
5012
|
+
* Evento disparado no momento em que a requisição assíncrona do nível raiz é iniciada
|
|
5013
|
+
*
|
|
5014
|
+
* > Compatível com a propriedade PoPopupAction.subItemsLazy
|
|
5015
|
+
*/
|
|
5016
|
+
rootItemsLoad: EventEmitter<void>;
|
|
4591
5017
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoPopupBaseComponent, never>;
|
|
4592
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoPopupBaseComponent, never, never, { "templateIcon": { "alias": "p-template-icon"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "hideArrow": { "alias": "p-hide-arrow"; "required": false; }; "isCornerAlign": { "alias": "p-is-corner-align"; "required": false; }; "position": { "alias": "p-position"; "required": false; }; "customPositions": { "alias": "p-custom-positions"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "target": { "alias": "p-target"; "required": false; }; }, { "closeEvent": "p-close"; "clickItem": "p-click-item"; "openEvent": "p-open"; }, never, never, true, never>;
|
|
5018
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoPopupBaseComponent, never, never, { "templateIcon": { "alias": "p-template-icon"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "hideArrow": { "alias": "p-hide-arrow"; "required": false; }; "isCornerAlign": { "alias": "p-is-corner-align"; "required": false; }; "position": { "alias": "p-position"; "required": false; }; "customPositions": { "alias": "p-custom-positions"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "target": { "alias": "p-target"; "required": false; }; }, { "closeEvent": "p-close"; "clickItem": "p-click-item"; "openEvent": "p-open"; "subItemsLoad": "p-sub-items-load"; "rootItemsLoad": "p-root-items-load"; }, never, never, true, never>;
|
|
4593
5019
|
}
|
|
4594
5020
|
|
|
4595
5021
|
/**
|
|
@@ -4624,6 +5050,8 @@ declare class PoPopupComponent extends PoPopupBaseComponent implements AfterView
|
|
|
4624
5050
|
changeDetector: ChangeDetectorRef;
|
|
4625
5051
|
popupRef: ElementRef;
|
|
4626
5052
|
listbox: ElementRef;
|
|
5053
|
+
private readonly popupOffset;
|
|
5054
|
+
private readonly viewportMargin;
|
|
4627
5055
|
poListBoxRef: PoListBoxComponent;
|
|
4628
5056
|
ngAfterViewInit(): void;
|
|
4629
5057
|
/**
|
|
@@ -4631,7 +5059,10 @@ declare class PoPopupComponent extends PoPopupBaseComponent implements AfterView
|
|
|
4631
5059
|
*
|
|
4632
5060
|
* > Por padrão, este comportamento é acionado somente ao clicar fora do componente ou em determinada ação / url.
|
|
4633
5061
|
*/
|
|
4634
|
-
close(
|
|
5062
|
+
close(closeEvent?: {
|
|
5063
|
+
reason?: string;
|
|
5064
|
+
origin?: string;
|
|
5065
|
+
}): void;
|
|
4635
5066
|
onActionClick(popupAction: PoPopupAction): void | Promise<boolean>;
|
|
4636
5067
|
/**
|
|
4637
5068
|
* Abre o componente *popup*.
|
|
@@ -4649,10 +5080,13 @@ declare class PoPopupComponent extends PoPopupBaseComponent implements AfterView
|
|
|
4649
5080
|
*/
|
|
4650
5081
|
toggle(param?: any): void;
|
|
4651
5082
|
onClickItem(item: any): void;
|
|
5083
|
+
onContentChange(): void;
|
|
4652
5084
|
protected checkAllActionIsInvisible(): boolean;
|
|
4653
5085
|
private clickedOutDisabledItem;
|
|
4654
5086
|
private clickedOutHeaderTemplate;
|
|
5087
|
+
private isEventInsideElement;
|
|
4655
5088
|
private clickedOutTarget;
|
|
5089
|
+
private clickedOutPopup;
|
|
4656
5090
|
private closePopupOnClickout;
|
|
4657
5091
|
private elementContains;
|
|
4658
5092
|
private hasContentToShow;
|
|
@@ -4661,7 +5095,14 @@ declare class PoPopupComponent extends PoPopupBaseComponent implements AfterView
|
|
|
4661
5095
|
private openUrl;
|
|
4662
5096
|
private removeListeners;
|
|
4663
5097
|
private setPosition;
|
|
5098
|
+
private resolvePositions;
|
|
5099
|
+
private getVerticalFirstPositions;
|
|
5100
|
+
private clampHeightToViewport;
|
|
5101
|
+
private getScrollableListboxElement;
|
|
5102
|
+
private isOpeningUp;
|
|
5103
|
+
private getStickyPositions;
|
|
4664
5104
|
private validateInitialContent;
|
|
5105
|
+
private focusTarget;
|
|
4665
5106
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoPopupComponent, never>;
|
|
4666
5107
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoPopupComponent, "po-popup", never, {}, {}, never, ["[p-popup-header-template]"], false, never>;
|
|
4667
5108
|
}
|
|
@@ -5590,7 +6031,7 @@ declare class PoDateService {
|
|
|
5590
6031
|
*/
|
|
5591
6032
|
private validateDate;
|
|
5592
6033
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoDateService, never>;
|
|
5593
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
6034
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
5594
6035
|
}
|
|
5595
6036
|
|
|
5596
6037
|
/**
|
|
@@ -6092,7 +6533,7 @@ declare class PoCalendarLangService {
|
|
|
6092
6533
|
getPresetLabel(key: string): string;
|
|
6093
6534
|
setLanguage(language: string): void;
|
|
6094
6535
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoCalendarLangService, never>;
|
|
6095
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
6536
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
6096
6537
|
}
|
|
6097
6538
|
|
|
6098
6539
|
declare class PoCalendarHeaderComponent implements OnInit, OnChanges {
|
|
@@ -6407,7 +6848,7 @@ declare class PoComboFilterService implements PoComboFilter {
|
|
|
6407
6848
|
private addMessage;
|
|
6408
6849
|
private displayMessages;
|
|
6409
6850
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoComboFilterService, never>;
|
|
6410
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
6851
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
6411
6852
|
}
|
|
6412
6853
|
|
|
6413
6854
|
/**
|
|
@@ -9566,7 +10007,7 @@ declare class PoComponentInjectorService {
|
|
|
9566
10007
|
*/
|
|
9567
10008
|
destroyComponentInApplication<T>(componentRef: ComponentRef<T>): void;
|
|
9568
10009
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoComponentInjectorService, never>;
|
|
9569
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
10010
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
9570
10011
|
}
|
|
9571
10012
|
|
|
9572
10013
|
/**
|
|
@@ -9682,7 +10123,7 @@ declare class PoNotificationService extends PoNotificationBaseService {
|
|
|
9682
10123
|
private observableOnClose;
|
|
9683
10124
|
private verifyLimitToaster;
|
|
9684
10125
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoNotificationService, never>;
|
|
9685
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
10126
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
9686
10127
|
}
|
|
9687
10128
|
|
|
9688
10129
|
/**
|
|
@@ -10375,7 +10816,7 @@ declare class PoSearchAiService {
|
|
|
10375
10816
|
*/
|
|
10376
10817
|
extractColumnsMetadata(columns: Array<PoSearchAiColumnInput>): Array<PoSearchAiColumn>;
|
|
10377
10818
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoSearchAiService, never>;
|
|
10378
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
10819
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
10379
10820
|
}
|
|
10380
10821
|
|
|
10381
10822
|
/**
|
|
@@ -10755,7 +11196,7 @@ declare class PoTableService implements PoTableFilter {
|
|
|
10755
11196
|
scrollListener(componentListner: HTMLElement): Observable<any>;
|
|
10756
11197
|
private validateParams;
|
|
10757
11198
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoTableService, never>;
|
|
10758
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
11199
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
10759
11200
|
}
|
|
10760
11201
|
|
|
10761
11202
|
type QueryParamsType = string | number | boolean;
|
|
@@ -13074,7 +13515,7 @@ declare class PoColorPaletteService {
|
|
|
13074
13515
|
}): string;
|
|
13075
13516
|
private getColorFromType;
|
|
13076
13517
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoColorPaletteService, never>;
|
|
13077
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
13518
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
13078
13519
|
}
|
|
13079
13520
|
|
|
13080
13521
|
/**
|
|
@@ -13928,13 +14369,18 @@ declare class PoDropdownBaseComponent {
|
|
|
13928
14369
|
icon: string;
|
|
13929
14370
|
open: boolean;
|
|
13930
14371
|
private _actions;
|
|
14372
|
+
private _rootLazyLoad?;
|
|
13931
14373
|
private _disabled;
|
|
13932
14374
|
private _size?;
|
|
13933
14375
|
private _initialSize?;
|
|
13934
14376
|
private _position;
|
|
13935
|
-
/**
|
|
13936
|
-
|
|
14377
|
+
/**
|
|
14378
|
+
* Lista de ações que serão exibidas no componente.
|
|
14379
|
+
* Aceita um *array* de `PoDropdownAction`.
|
|
14380
|
+
*/
|
|
14381
|
+
set actions(value: Array<PoDropdownAction> | (() => Observable<Array<PoDropdownAction>>));
|
|
13937
14382
|
get actions(): Array<PoDropdownAction>;
|
|
14383
|
+
get popupActions(): Array<PoDropdownAction> | (() => Observable<Array<PoDropdownAction>>);
|
|
13938
14384
|
/**
|
|
13939
14385
|
* @optional
|
|
13940
14386
|
*
|
|
@@ -13989,11 +14435,43 @@ declare class PoDropdownBaseComponent {
|
|
|
13989
14435
|
*/
|
|
13990
14436
|
set position(value: string);
|
|
13991
14437
|
get position(): string;
|
|
14438
|
+
/**
|
|
14439
|
+
* @optional
|
|
14440
|
+
*
|
|
14441
|
+
* @description
|
|
14442
|
+
*
|
|
14443
|
+
* Evento disparado a cada clique em um item do menu.
|
|
14444
|
+
* Retorna o item clicado (`PoDropdownAction`).
|
|
14445
|
+
*
|
|
14446
|
+
* > Não é disparado para a ação interna de voltar (`goBack`).
|
|
14447
|
+
*/
|
|
14448
|
+
clickItem: EventEmitter<PoDropdownAction>;
|
|
14449
|
+
/**
|
|
14450
|
+
* @optional
|
|
14451
|
+
*
|
|
14452
|
+
* @description
|
|
14453
|
+
*
|
|
14454
|
+
* Evento disparado no momento em que a requisição assíncrona de um subnível é iniciada.
|
|
14455
|
+
* Retorna o item agrupador (`PoDropdownAction`) que originou o carregamento.
|
|
14456
|
+
*
|
|
14457
|
+
* > Compatível com a propriedade PoPopupAction.subItemsLazy
|
|
14458
|
+
*/
|
|
14459
|
+
subItemsLoad: EventEmitter<PoDropdownAction>;
|
|
14460
|
+
/**
|
|
14461
|
+
* @optional
|
|
14462
|
+
*
|
|
14463
|
+
* @description
|
|
14464
|
+
*
|
|
14465
|
+
* Evento disparado no momento em que a requisição assíncrona do nível raiz é iniciada
|
|
14466
|
+
*
|
|
14467
|
+
* > Compatível com a propriedade PoPopupAction.subItemsLazy
|
|
14468
|
+
*/
|
|
14469
|
+
rootItemsLoad: EventEmitter<void>;
|
|
13992
14470
|
get popupCustomPositions(): Array<string>;
|
|
13993
14471
|
protected onThemeChange(): void;
|
|
13994
14472
|
private applySizeBasedOnA11y;
|
|
13995
14473
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoDropdownBaseComponent, never>;
|
|
13996
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoDropdownBaseComponent, never, never, { "label": { "alias": "p-label"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "position": { "alias": "p-position"; "required": false; }; }, {}, never, never, true, never>;
|
|
14474
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoDropdownBaseComponent, never, never, { "label": { "alias": "p-label"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "position": { "alias": "p-position"; "required": false; }; }, { "clickItem": "p-click-item"; "subItemsLoad": "p-sub-items-load"; "rootItemsLoad": "p-root-items-load"; }, never, never, true, never>;
|
|
13997
14475
|
}
|
|
13998
14476
|
|
|
13999
14477
|
/**
|
|
@@ -14006,11 +14484,6 @@ declare class PoDropdownBaseComponent {
|
|
|
14006
14484
|
* <file name="sample-po-dropdown-basic/sample-po-dropdown-basic.component.ts"> </file>
|
|
14007
14485
|
* </example>
|
|
14008
14486
|
*
|
|
14009
|
-
* <example name="po-dropdown-subitems" title="PO Dropdown Subitems" >
|
|
14010
|
-
* <file name="sample-po-dropdown-subitems/sample-po-dropdown-subitems.component.html"> </file>
|
|
14011
|
-
* <file name="sample-po-dropdown-subitems/sample-po-dropdown-subitems.component.ts"> </file>
|
|
14012
|
-
* </example>
|
|
14013
|
-
*
|
|
14014
14487
|
* <example name="po-dropdown-labs" title="PO Dropdown Labs" >
|
|
14015
14488
|
* <file name="sample-po-dropdown-labs/sample-po-dropdown-labs.component.html"> </file>
|
|
14016
14489
|
* <file name="sample-po-dropdown-labs/sample-po-dropdown-labs.component.ts"> </file>
|
|
@@ -14020,6 +14493,16 @@ declare class PoDropdownBaseComponent {
|
|
|
14020
14493
|
* <file name="sample-po-dropdown-social-network/sample-po-dropdown-social-network.component.html"> </file>
|
|
14021
14494
|
* <file name="sample-po-dropdown-social-network/sample-po-dropdown-social-network.component.ts"> </file>
|
|
14022
14495
|
* </example>
|
|
14496
|
+
*
|
|
14497
|
+
* <example name="po-dropdown-subitems" title="PO Dropdown Subitems" >
|
|
14498
|
+
* <file name="sample-po-dropdown-subitems/sample-po-dropdown-subitems.component.html"> </file>
|
|
14499
|
+
* <file name="sample-po-dropdown-subitems/sample-po-dropdown-subitems.component.ts"> </file>
|
|
14500
|
+
* </example>
|
|
14501
|
+
*
|
|
14502
|
+
* <example name="po-dropdown-lazy-subitems" title="PO Dropdown Lazy Subitems" >
|
|
14503
|
+
* <file name="sample-po-dropdown-lazy-subitems/sample-po-dropdown-lazy-subitems.component.html"> </file>
|
|
14504
|
+
* <file name="sample-po-dropdown-lazy-subitems/sample-po-dropdown-lazy-subitems.component.ts"> </file>
|
|
14505
|
+
* </example>
|
|
14023
14506
|
*/
|
|
14024
14507
|
declare class PoDropdownComponent extends PoDropdownBaseComponent {
|
|
14025
14508
|
private readonly renderer;
|
|
@@ -14030,10 +14513,13 @@ declare class PoDropdownComponent extends PoDropdownBaseComponent {
|
|
|
14030
14513
|
private resizeListener;
|
|
14031
14514
|
onKeyDown(event: any): void;
|
|
14032
14515
|
toggleDropdown(): void;
|
|
14516
|
+
onPopupClose(): void;
|
|
14517
|
+
private isEventInsideElement;
|
|
14033
14518
|
private checkClickArea;
|
|
14034
14519
|
private hideDropdown;
|
|
14035
14520
|
private initializeListeners;
|
|
14036
14521
|
private readonly onScroll;
|
|
14522
|
+
private isScrollInsidePopup;
|
|
14037
14523
|
private isDropdownClosed;
|
|
14038
14524
|
private removeListeners;
|
|
14039
14525
|
private showDropdown;
|
|
@@ -15720,7 +16206,7 @@ declare abstract class PoChartBaseComponent implements OnInit {
|
|
|
15720
16206
|
* - Os marcadores (*bullets*) terão seu estilo ajustado.
|
|
15721
16207
|
* - As outras séries ficarão com opacidade reduzida ao passar o mouse sobre a série ativa.
|
|
15722
16208
|
*
|
|
15723
|
-
* > Disponível para gráficos do tipo `line` e `radar`.
|
|
16209
|
+
* > Disponível para gráficos do tipo `line`, `area`, `column`, `bar` e `radar`.
|
|
15724
16210
|
*
|
|
15725
16211
|
* #### Exemplo de utilização:
|
|
15726
16212
|
* ```typescript
|
|
@@ -18984,7 +19470,7 @@ declare class PoServicesModule {
|
|
|
18984
19470
|
declare class PoActiveOverlayService {
|
|
18985
19471
|
activeOverlay: Array<string>;
|
|
18986
19472
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoActiveOverlayService, never>;
|
|
18987
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
19473
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
18988
19474
|
}
|
|
18989
19475
|
|
|
18990
19476
|
/**
|
|
@@ -19039,7 +19525,7 @@ declare class PoDialogService extends PoDialogBaseService {
|
|
|
19039
19525
|
constructor(poComponentInjector: PoComponentInjectorService);
|
|
19040
19526
|
openDialog(dialogType: PoDialogType, dialogOptions: PoDialogAlertOptions | PoDialogConfirmOptions): void;
|
|
19041
19527
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoDialogService, never>;
|
|
19042
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
19528
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
19043
19529
|
}
|
|
19044
19530
|
|
|
19045
19531
|
/**
|
|
@@ -19560,7 +20046,7 @@ declare class PoI18nBaseService {
|
|
|
19560
20046
|
declare class PoI18nService extends PoI18nBaseService {
|
|
19561
20047
|
constructor(configs: PoI18nConfig | Array<PoI18nConfig>, http: HttpClient, languageService: PoLanguageService);
|
|
19562
20048
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoI18nService, never>;
|
|
19563
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
20049
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
19564
20050
|
}
|
|
19565
20051
|
declare function returnPoI18nService(configs: Array<PoI18nConfig>, http: HttpClient, languageService: PoLanguageService): PoI18nService;
|
|
19566
20052
|
declare function mergePoI18nConfigs(configList: Array<PoI18nConfig>): PoI18nConfig;
|
|
@@ -19924,7 +20410,7 @@ declare class PoMediaQueryService {
|
|
|
19924
20410
|
private updateTokensMediaRule;
|
|
19925
20411
|
private buildMediaQuery;
|
|
19926
20412
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoMediaQueryService, never>;
|
|
19927
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
20413
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
19928
20414
|
}
|
|
19929
20415
|
|
|
19930
20416
|
/**
|
|
@@ -21153,7 +21639,7 @@ declare class PoThemeService {
|
|
|
21153
21639
|
resetBaseTheme(): void;
|
|
21154
21640
|
private setDefaultBaseStyle;
|
|
21155
21641
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoThemeService, never>;
|
|
21156
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
21642
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
21157
21643
|
}
|
|
21158
21644
|
|
|
21159
21645
|
/**
|
|
@@ -22266,7 +22752,7 @@ declare class PoUserGuideService extends PoUserGuideBaseService {
|
|
|
22266
22752
|
*/
|
|
22267
22753
|
getCurrentIndex(): number;
|
|
22268
22754
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoUserGuideService, never>;
|
|
22269
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
22755
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
22270
22756
|
}
|
|
22271
22757
|
|
|
22272
22758
|
/**
|
|
@@ -23935,7 +24421,7 @@ declare class PoLookupFilterService implements PoLookupFilter {
|
|
|
23935
24421
|
setConfig(url: string, fieldValue: string, multiple: boolean): void;
|
|
23936
24422
|
private validateParams;
|
|
23937
24423
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoLookupFilterService, never>;
|
|
23938
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
24424
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
23939
24425
|
}
|
|
23940
24426
|
|
|
23941
24427
|
/**
|
|
@@ -23985,7 +24471,7 @@ declare class PoLookupModalService {
|
|
|
23985
24471
|
setChangeColumns(columns: any): void;
|
|
23986
24472
|
selectValue(value: any): void;
|
|
23987
24473
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoLookupModalService, never>;
|
|
23988
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
24474
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
23989
24475
|
}
|
|
23990
24476
|
|
|
23991
24477
|
/**
|
|
@@ -25023,7 +25509,7 @@ declare class PoMultiselectFilterService implements PoMultiselectFilter {
|
|
|
25023
25509
|
private parseToArrayMultiselectOptions;
|
|
25024
25510
|
private parseToMultiselectOption;
|
|
25025
25511
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoMultiselectFilterService, never>;
|
|
25026
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
25512
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
25027
25513
|
}
|
|
25028
25514
|
|
|
25029
25515
|
/**
|
|
@@ -26469,7 +26955,7 @@ declare class PoRichTextService {
|
|
|
26469
26955
|
emitModel(value: string): void;
|
|
26470
26956
|
getModel(): rxjs.Observable<string>;
|
|
26471
26957
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoRichTextService, never>;
|
|
26472
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
26958
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
26473
26959
|
}
|
|
26474
26960
|
|
|
26475
26961
|
/**
|
|
@@ -27641,12 +28127,12 @@ declare class PoUploadBaseService {
|
|
|
27641
28127
|
removeRequest(requestObj: any): void;
|
|
27642
28128
|
addRequest(file: PoUploadFile, request: Subscription): void;
|
|
27643
28129
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoUploadBaseService, never>;
|
|
27644
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
28130
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
27645
28131
|
}
|
|
27646
28132
|
|
|
27647
28133
|
declare class PoUploadService extends PoUploadBaseService {
|
|
27648
28134
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoUploadService, never>;
|
|
27649
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
28135
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
27650
28136
|
}
|
|
27651
28137
|
|
|
27652
28138
|
/**
|
|
@@ -31554,7 +32040,7 @@ declare class PoDynamicFormLoadService extends PoDynamicFormOperation {
|
|
|
31554
32040
|
createAndUpdateFieldsForm(loadedFields?: Array<PoDynamicFormField>, fields?: Array<PoDynamicFormField>): PoDynamicFormField[];
|
|
31555
32041
|
executeLoad(load: Function | string, value: any): rxjs.Observable<_po_ui_ng_components.PoDynamicFormLoad | _po_ui_ng_components.PoDynamicFormValidation>;
|
|
31556
32042
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoDynamicFormLoadService, never>;
|
|
31557
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
32043
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
31558
32044
|
}
|
|
31559
32045
|
|
|
31560
32046
|
declare class PoDynamicFormValidationService extends PoDynamicFormOperation {
|
|
@@ -31564,7 +32050,7 @@ declare class PoDynamicFormValidationService extends PoDynamicFormOperation {
|
|
|
31564
32050
|
updateFieldsForm(validatedFields?: Array<PoDynamicFormField>, fields?: Array<PoDynamicFormField>): PoDynamicFormField[];
|
|
31565
32051
|
private setFieldDefaultIfEmpty;
|
|
31566
32052
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoDynamicFormValidationService, never>;
|
|
31567
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
32053
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
31568
32054
|
}
|
|
31569
32055
|
|
|
31570
32056
|
/**
|
|
@@ -32089,7 +32575,7 @@ declare class PoDynamicViewService {
|
|
|
32089
32575
|
setConfig(url: string): void;
|
|
32090
32576
|
private validateParams;
|
|
32091
32577
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoDynamicViewService, never>;
|
|
32092
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
32578
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
32093
32579
|
}
|
|
32094
32580
|
|
|
32095
32581
|
/**
|
|
@@ -34609,7 +35095,7 @@ declare class PoMenuGlobalService {
|
|
|
34609
35095
|
sendChanges(menus: Array<PoMenuItem>): void;
|
|
34610
35096
|
sendRemovedApplicationMenu(id: string): void;
|
|
34611
35097
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoMenuGlobalService, never>;
|
|
34612
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
35098
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
34613
35099
|
}
|
|
34614
35100
|
|
|
34615
35101
|
/**
|
|
@@ -34627,7 +35113,7 @@ declare class PoMenuService implements PoMenuFilter {
|
|
|
34627
35113
|
configProperties(url: string): void;
|
|
34628
35114
|
getFilteredData(search: string, params?: any): Observable<Array<PoMenuItemFiltered>>;
|
|
34629
35115
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoMenuService, never>;
|
|
34630
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
35116
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
34631
35117
|
}
|
|
34632
35118
|
|
|
34633
35119
|
/**
|
|
@@ -38649,7 +39135,7 @@ declare class PoTabsService {
|
|
|
38649
39135
|
triggerOnChanges(tab?: PoTabComponent): void;
|
|
38650
39136
|
triggerActiveOnChanges(tab: PoTabComponent): void;
|
|
38651
39137
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoTabsService, never>;
|
|
38652
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
39138
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
38653
39139
|
}
|
|
38654
39140
|
|
|
38655
39141
|
/**
|
|
@@ -39412,334 +39898,6 @@ declare class PoTreeViewModule {
|
|
|
39412
39898
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoTreeViewModule>;
|
|
39413
39899
|
}
|
|
39414
39900
|
|
|
39415
|
-
/**
|
|
39416
|
-
* @usedBy PoSkeletonComponent
|
|
39417
|
-
*
|
|
39418
|
-
* @description
|
|
39419
|
-
*
|
|
39420
|
-
* Define os tipos de animação do componente `po-skeleton`.
|
|
39421
|
-
*/
|
|
39422
|
-
declare enum PoSkeletonAnimation {
|
|
39423
|
-
/** Sem animação */
|
|
39424
|
-
none = "none",
|
|
39425
|
-
/** Animação de pulsação */
|
|
39426
|
-
pulse = "pulse",
|
|
39427
|
-
/** Animação de brilho deslizante */
|
|
39428
|
-
shimmer = "shimmer"
|
|
39429
|
-
}
|
|
39430
|
-
|
|
39431
|
-
/**
|
|
39432
|
-
* @usedBy PoSkeletonComponent
|
|
39433
|
-
*
|
|
39434
|
-
* @description
|
|
39435
|
-
*
|
|
39436
|
-
* Define os tamanhos disponíveis para o componente `po-skeleton`.
|
|
39437
|
-
*/
|
|
39438
|
-
declare enum PoSkeletonSize {
|
|
39439
|
-
/** Tamanho extra pequeno */
|
|
39440
|
-
xs = "xs",
|
|
39441
|
-
/** Tamanho pequeno */
|
|
39442
|
-
sm = "sm",
|
|
39443
|
-
/** Tamanho médio */
|
|
39444
|
-
md = "md",
|
|
39445
|
-
/** Tamanho grande */
|
|
39446
|
-
lg = "lg",
|
|
39447
|
-
/** Tamanho extra grande */
|
|
39448
|
-
xl = "xl",
|
|
39449
|
-
/** Tamanho extra extra grande */
|
|
39450
|
-
xxl = "2xl"
|
|
39451
|
-
}
|
|
39452
|
-
|
|
39453
|
-
/**
|
|
39454
|
-
* @usedBy PoSkeletonComponent
|
|
39455
|
-
*
|
|
39456
|
-
* @description
|
|
39457
|
-
*
|
|
39458
|
-
* Define os tipos visuais disponíveis para o componente `po-skeleton`.
|
|
39459
|
-
*/
|
|
39460
|
-
declare enum PoSkeletonType {
|
|
39461
|
-
/** Tipo padrão com cor neutra clara */
|
|
39462
|
-
normal = "normal",
|
|
39463
|
-
/** Tipo primário com cor neutra média */
|
|
39464
|
-
primary = "primary",
|
|
39465
|
-
/** Tipo de conteúdo com fundo branco */
|
|
39466
|
-
content = "content"
|
|
39467
|
-
}
|
|
39468
|
-
|
|
39469
|
-
/**
|
|
39470
|
-
* @usedBy PoSkeletonComponent
|
|
39471
|
-
*
|
|
39472
|
-
* @description
|
|
39473
|
-
*
|
|
39474
|
-
* Define as variantes visuais do componente `po-skeleton`.
|
|
39475
|
-
*/
|
|
39476
|
-
declare enum PoSkeletonVariant {
|
|
39477
|
-
/** Variante para simular texto */
|
|
39478
|
-
text = "text",
|
|
39479
|
-
/** Variante retangular (largura maior que altura) */
|
|
39480
|
-
rectangle = "rectangle",
|
|
39481
|
-
/** Variante quadrada (largura igual à altura) */
|
|
39482
|
-
square = "square",
|
|
39483
|
-
/** Variante circular */
|
|
39484
|
-
circle = "circle"
|
|
39485
|
-
}
|
|
39486
|
-
|
|
39487
|
-
/**
|
|
39488
|
-
* @description
|
|
39489
|
-
*
|
|
39490
|
-
* O componente `po-skeleton` é utilizado para exibir placeholders durante o carregamento de conteúdo,
|
|
39491
|
-
* melhorando a experiência do usuário ao indicar que a informação está sendo processada.
|
|
39492
|
-
*
|
|
39493
|
-
* Ele oferece diferentes variantes visuais (texto, retângulo, círculo) e animações (pulse, shimmer)
|
|
39494
|
-
* para simular diversos tipos de conteúdo em estado de carregamento.
|
|
39495
|
-
*
|
|
39496
|
-
* #### Tokens customizáveis
|
|
39497
|
-
*
|
|
39498
|
-
* É possível alterar o estilo do componente usando os seguintes tokens (CSS):
|
|
39499
|
-
*
|
|
39500
|
-
* > Para maiores informações, acesse o guia [Personalizando o Tema Padrão com Tokens CSS](https://po-ui.io/guides/theme-customization).
|
|
39501
|
-
*
|
|
39502
|
-
* | Propriedade | Descrição | Valor Padrão |
|
|
39503
|
-
* |----------------------------------------|------------------------------------------------------|---------------------------------|
|
|
39504
|
-
* | **Cores** | | |
|
|
39505
|
-
* | `--color` | Cor de fundo do skeleton (tipo normal) | `var(--color-neutral-light-20)` |
|
|
39506
|
-
* | `--color-primary` | Cor de fundo do skeleton (tipo primary) | `var(--color-neutral-mid-40)` |
|
|
39507
|
-
* | `--color-content` | Cor de fundo do skeleton (tipo content) | `var(--color-neutral-light-00)` |
|
|
39508
|
-
* | `--shimmer-highlight` | Cor de destaque do shimmer (tipo normal) | `var(--color-neutral-light-30)` |
|
|
39509
|
-
* | `--shimmer-highlight-primary` | Cor de destaque do shimmer (tipo primary) | `var(--color-neutral-light-20)` |
|
|
39510
|
-
* | `--shimmer-highlight-content` | Cor de destaque do shimmer (tipo content) | `var(--color-neutral-light-05)` |
|
|
39511
|
-
* | **Espaçamento** | | |
|
|
39512
|
-
* | `--margin-bottom` | Margem inferior do skeleton | `var(--spacing-xs)` |
|
|
39513
|
-
* | **Bordas** | | |
|
|
39514
|
-
* | `--border-radius` | Raio da borda do skeleton | `var(--border-radius-md)` |
|
|
39515
|
-
* | `--border-radius-text` | Raio da borda para a variante text | `var(--border-radius-md)` |
|
|
39516
|
-
* | `--border-radius-primary` | Raio da borda do skeleton (tipo primary) | `var(--border-radius-md)` |
|
|
39517
|
-
* | `--border-radius-content` | Raio da borda do skeleton (tipo content) | `var(--border-radius-lg)` |
|
|
39518
|
-
* | **Transições** | | |
|
|
39519
|
-
* | `--transition-property` | Propriedade CSS da transição | `all` |
|
|
39520
|
-
* | `--transition-duration` | Duração da transição de cor | `var(--duration-moderate)` |
|
|
39521
|
-
* | `--transition-timing` | Função de temporização da transição/animação | `var(--timing-continuous)` |
|
|
39522
|
-
* | **Animações** | | |
|
|
39523
|
-
* | `--animation-duration-pulse` | Duração da animação de pulsação | `var(--duration-very-slow)` |
|
|
39524
|
-
* | `--animation-duration-shimmer` | Duração da animação de brilho deslizante | `var(--duration-ultra-slow)` |
|
|
39525
|
-
*
|
|
39526
|
-
*/
|
|
39527
|
-
declare class PoSkeletonBaseComponent {
|
|
39528
|
-
/**
|
|
39529
|
-
* @optional
|
|
39530
|
-
*
|
|
39531
|
-
* @description
|
|
39532
|
-
*
|
|
39533
|
-
* Define a variante visual do skeleton.
|
|
39534
|
-
*
|
|
39535
|
-
* Valores válidos:
|
|
39536
|
-
* - `text`: Simula uma linha de texto (altura padrão: 1em)
|
|
39537
|
-
* - `rectangle`: Forma retangular (proporção 3:1 por padrão)
|
|
39538
|
-
* - `square`: Forma quadrada (largura e altura iguais)
|
|
39539
|
-
* - `circle`: Forma circular (largura e altura iguais)
|
|
39540
|
-
*
|
|
39541
|
-
* @default `text`
|
|
39542
|
-
*/
|
|
39543
|
-
variant: i0.InputSignal<PoSkeletonVariant>;
|
|
39544
|
-
/**
|
|
39545
|
-
* @optional
|
|
39546
|
-
*
|
|
39547
|
-
* @description
|
|
39548
|
-
*
|
|
39549
|
-
* Define o tipo visual do skeleton, alterando sua cor de fundo.
|
|
39550
|
-
*
|
|
39551
|
-
* Valores válidos:
|
|
39552
|
-
* - `normal`: Cor neutra clara (padrão)
|
|
39553
|
-
* - `primary`: Cor neutra média
|
|
39554
|
-
* - `content`: Fundo branco
|
|
39555
|
-
*
|
|
39556
|
-
* @default `normal`
|
|
39557
|
-
*/
|
|
39558
|
-
type: i0.InputSignal<PoSkeletonType>;
|
|
39559
|
-
/**
|
|
39560
|
-
* @optional
|
|
39561
|
-
*
|
|
39562
|
-
* @description
|
|
39563
|
-
*
|
|
39564
|
-
* Define o tipo de animação do skeleton.
|
|
39565
|
-
*
|
|
39566
|
-
* Valores válidos:
|
|
39567
|
-
* - `none`: Sem animação
|
|
39568
|
-
* - `pulse`: Animação de pulsação
|
|
39569
|
-
* - `shimmer`: Animação de brilho deslizante
|
|
39570
|
-
*
|
|
39571
|
-
* @default `shimmer`
|
|
39572
|
-
*/
|
|
39573
|
-
animation: i0.InputSignal<PoSkeletonAnimation>;
|
|
39574
|
-
/**
|
|
39575
|
-
* @optional
|
|
39576
|
-
*
|
|
39577
|
-
* @description
|
|
39578
|
-
*
|
|
39579
|
-
* Define o tamanho do skeleton para as variantes pré-definidas (`rectangle`, `square`, `circle`).
|
|
39580
|
-
*
|
|
39581
|
-
* Valores válidos:
|
|
39582
|
-
* - `xs`: Extra pequeno (24px para square/circle, 72px x 24px para rectangle)
|
|
39583
|
-
* - `sm`: Pequeno (32px para square/circle, 96px x 32px para rectangle)
|
|
39584
|
-
* - `md`: Médio (48px para square/circle, 144px x 48px para rectangle)
|
|
39585
|
-
* - `lg`: Grande (64px para square/circle, 192px x 64px para rectangle)
|
|
39586
|
-
* - `xl`: Extra grande (96px para square/circle, 288px x 96px para rectangle)
|
|
39587
|
-
* - `2xl`: Extra extra grande (144px para square/circle, 432px x 144px para rectangle)
|
|
39588
|
-
*
|
|
39589
|
-
* Esta propriedade é ignorada quando `p-width` ou `p-height` são definidos explicitamente.
|
|
39590
|
-
*
|
|
39591
|
-
* @default `md`
|
|
39592
|
-
*/
|
|
39593
|
-
size: i0.InputSignal<PoSkeletonSize>;
|
|
39594
|
-
/**
|
|
39595
|
-
* @optional
|
|
39596
|
-
*
|
|
39597
|
-
* @description
|
|
39598
|
-
*
|
|
39599
|
-
* Define a largura do skeleton.
|
|
39600
|
-
* Aceita valores CSS válidos (px, %, em, rem).
|
|
39601
|
-
*
|
|
39602
|
-
* Quando definido, sobrescreve a largura padrão da variante.
|
|
39603
|
-
*
|
|
39604
|
-
* @default `100%` para variante `text`, tamanho baseado em `p-size` para outras variantes
|
|
39605
|
-
*/
|
|
39606
|
-
width: i0.InputSignal<string>;
|
|
39607
|
-
/**
|
|
39608
|
-
* @optional
|
|
39609
|
-
*
|
|
39610
|
-
* @description
|
|
39611
|
-
*
|
|
39612
|
-
* Define a altura do skeleton.
|
|
39613
|
-
* Aceita valores CSS válidos (px, %, em, rem).
|
|
39614
|
-
*
|
|
39615
|
-
* Quando definido, sobrescreve a altura padrão da variante.
|
|
39616
|
-
*/
|
|
39617
|
-
height: i0.InputSignal<string>;
|
|
39618
|
-
/**
|
|
39619
|
-
* @optional
|
|
39620
|
-
*
|
|
39621
|
-
* @description
|
|
39622
|
-
*
|
|
39623
|
-
* Define o raio da borda do skeleton.
|
|
39624
|
-
* Aceita valores CSS válidos (px, %, em, rem).
|
|
39625
|
-
*
|
|
39626
|
-
* Esta propriedade sobrescreve o border-radius padrão de cada variante.
|
|
39627
|
-
*/
|
|
39628
|
-
borderRadius: i0.InputSignal<string>;
|
|
39629
|
-
/**
|
|
39630
|
-
* @optional
|
|
39631
|
-
*
|
|
39632
|
-
* @description
|
|
39633
|
-
*
|
|
39634
|
-
* Define a descrição acessível do conteúdo que está sendo carregado.
|
|
39635
|
-
*
|
|
39636
|
-
* Este texto será anunciado por leitores de tela, garantindo que usuários de tecnologias assistivas
|
|
39637
|
-
* sejam informados sobre o estado de carregamento.
|
|
39638
|
-
*
|
|
39639
|
-
* **Quando usar:**
|
|
39640
|
-
* - Use em **skeletons únicos** ou no **primeiro skeleton de um grupo** com descrição contextual
|
|
39641
|
-
* - Evite usar em múltiplos skeletons dentro da mesma área sem contexto, para não causar repetição excessiva
|
|
39642
|
-
*
|
|
39643
|
-
* **Exemplos de uso:**
|
|
39644
|
-
*
|
|
39645
|
-
* ```html
|
|
39646
|
-
* <!-- ✅ BOM: Skeleton único com contexto -->
|
|
39647
|
-
* <po-skeleton p-aria-label="Carregando perfil do usuário"></po-skeleton>
|
|
39648
|
-
*
|
|
39649
|
-
* <!-- ✅ BOM: Grupo de skeletons - apenas o primeiro anuncia -->
|
|
39650
|
-
* <po-skeleton p-aria-label="Carregando lista de produtos"></po-skeleton>
|
|
39651
|
-
* <po-skeleton p-type="primary"></po-skeleton>
|
|
39652
|
-
* <po-skeleton p-variant="circle"></po-skeleton>
|
|
39653
|
-
*
|
|
39654
|
-
* <!-- ❌ EVITE: Múltiplos skeletons com a mesma label -->
|
|
39655
|
-
* <po-skeleton p-aria-label="Carregando"></po-skeleton> <!-- "Carregando" -->
|
|
39656
|
-
* <po-skeleton p-aria-label="Carregando"></po-skeleton> <!-- "Carregando" -->
|
|
39657
|
-
* <po-skeleton p-aria-label="Carregando"></po-skeleton> <!-- "Carregando" (repetitivo!) -->
|
|
39658
|
-
* ```
|
|
39659
|
-
*
|
|
39660
|
-
* > **Boas práticas de acessibilidade:**
|
|
39661
|
-
* > - Forneça contexto específico na label para que os usuários entendam o que está carregando
|
|
39662
|
-
*
|
|
39663
|
-
* > - Em casos complexos, considere usar um único `<div role="status">` para todo o grupo
|
|
39664
|
-
* > de skeletons, ao invés de múltiplas labels idênticas, para evitar repetição excessiva de anúncios
|
|
39665
|
-
*/
|
|
39666
|
-
ariaLabel: i0.InputSignal<string>;
|
|
39667
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PoSkeletonBaseComponent, never>;
|
|
39668
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoSkeletonBaseComponent, never, never, { "variant": { "alias": "p-variant"; "required": false; "isSignal": true; }; "type": { "alias": "p-type"; "required": false; "isSignal": true; }; "animation": { "alias": "p-animation"; "required": false; "isSignal": true; }; "size": { "alias": "p-size"; "required": false; "isSignal": true; }; "width": { "alias": "p-width"; "required": false; "isSignal": true; }; "height": { "alias": "p-height"; "required": false; "isSignal": true; }; "borderRadius": { "alias": "p-border-radius"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "p-aria-label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
39669
|
-
}
|
|
39670
|
-
|
|
39671
|
-
/**
|
|
39672
|
-
* @docsExtends PoSkeletonBaseComponent
|
|
39673
|
-
*
|
|
39674
|
-
* @example
|
|
39675
|
-
*
|
|
39676
|
-
* <example name="po-skeleton-basic" title="PO Skeleton Basic">
|
|
39677
|
-
* <file name="sample-po-skeleton-basic/sample-po-skeleton-basic.component.html"> </file>
|
|
39678
|
-
* <file name="sample-po-skeleton-basic/sample-po-skeleton-basic.component.ts"> </file>
|
|
39679
|
-
* </example>
|
|
39680
|
-
*
|
|
39681
|
-
* <example name="po-skeleton-labs" title="PO Skeleton Labs">
|
|
39682
|
-
* <file name="sample-po-skeleton-labs/sample-po-skeleton-labs.component.html"> </file>
|
|
39683
|
-
* <file name="sample-po-skeleton-labs/sample-po-skeleton-labs.component.ts"> </file>
|
|
39684
|
-
* </example>
|
|
39685
|
-
*
|
|
39686
|
-
* <example name="po-skeleton-credit-card" title="PO Skeleton - Credit Card">
|
|
39687
|
-
* <file name="sample-po-skeleton-credit-card/sample-po-skeleton-credit-card.component.html"> </file>
|
|
39688
|
-
* <file name="sample-po-skeleton-credit-card/sample-po-skeleton-credit-card.component.ts"> </file>
|
|
39689
|
-
* <file name="sample-po-skeleton-credit-card/sample-po-skeleton-credit-card.component.css"> </file>
|
|
39690
|
-
* </example>
|
|
39691
|
-
*
|
|
39692
|
-
* <example name="po-skeleton-widget-card" title="PO Skeleton - Widget Card">
|
|
39693
|
-
* <file name="sample-po-skeleton-widget-card/sample-po-skeleton-widget-card.component.html"> </file>
|
|
39694
|
-
* <file name="sample-po-skeleton-widget-card/sample-po-skeleton-widget-card.component.ts"> </file>
|
|
39695
|
-
* <file name="sample-po-skeleton-widget-card/sample-po-skeleton-widget-card.component.css"> </file>
|
|
39696
|
-
* </example>
|
|
39697
|
-
*
|
|
39698
|
-
* <example name="po-skeleton-user-profile" title="PO Skeleton - User Profile">
|
|
39699
|
-
* <file name="sample-po-skeleton-user-profile/sample-po-skeleton-user-profile.component.html"> </file>
|
|
39700
|
-
* <file name="sample-po-skeleton-user-profile/sample-po-skeleton-user-profile.component.ts"> </file>
|
|
39701
|
-
* <file name="sample-po-skeleton-user-profile/sample-po-skeleton-user-profile.component.css"> </file>
|
|
39702
|
-
* </example>
|
|
39703
|
-
*
|
|
39704
|
-
* <example name="po-skeleton-social-post" title="PO Skeleton - Social Post">
|
|
39705
|
-
* <file name="sample-po-skeleton-social-post/sample-po-skeleton-social-post.component.html"> </file>
|
|
39706
|
-
* <file name="sample-po-skeleton-social-post/sample-po-skeleton-social-post.component.ts"> </file>
|
|
39707
|
-
* <file name="sample-po-skeleton-social-post/sample-po-skeleton-social-post.component.css"> </file>
|
|
39708
|
-
* </example>
|
|
39709
|
-
*
|
|
39710
|
-
* <example name="po-skeleton-article" title="PO Skeleton - Article">
|
|
39711
|
-
* <file name="sample-po-skeleton-article/sample-po-skeleton-article.component.html"> </file>
|
|
39712
|
-
* <file name="sample-po-skeleton-article/sample-po-skeleton-article.component.ts"> </file>
|
|
39713
|
-
* <file name="sample-po-skeleton-article/sample-po-skeleton-article.component.css"> </file>
|
|
39714
|
-
* </example>
|
|
39715
|
-
*/
|
|
39716
|
-
declare class PoSkeletonComponent extends PoSkeletonBaseComponent {
|
|
39717
|
-
private readonly sizeMap;
|
|
39718
|
-
private readonly defaultTextDimensions;
|
|
39719
|
-
private readonly defaultBorderRadius;
|
|
39720
|
-
computedStyles: i0.Signal<{
|
|
39721
|
-
[key: string]: string;
|
|
39722
|
-
}>;
|
|
39723
|
-
computedClasses: i0.Signal<{
|
|
39724
|
-
[x: string]: boolean;
|
|
39725
|
-
'po-skeleton': boolean;
|
|
39726
|
-
}>;
|
|
39727
|
-
private getDimensions;
|
|
39728
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PoSkeletonComponent, never>;
|
|
39729
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoSkeletonComponent, "po-skeleton", never, {}, {}, never, never, false, never>;
|
|
39730
|
-
}
|
|
39731
|
-
|
|
39732
|
-
/**
|
|
39733
|
-
* @description
|
|
39734
|
-
*
|
|
39735
|
-
* Módulo do componente po-skeleton.
|
|
39736
|
-
*/
|
|
39737
|
-
declare class PoSkeletonModule {
|
|
39738
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PoSkeletonModule, never>;
|
|
39739
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PoSkeletonModule, [typeof PoSkeletonComponent], [typeof i2.CommonModule], [typeof PoSkeletonComponent]>;
|
|
39740
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PoSkeletonModule>;
|
|
39741
|
-
}
|
|
39742
|
-
|
|
39743
39901
|
/**
|
|
39744
39902
|
* @usedBy PoHeaderComponent
|
|
39745
39903
|
*
|
|
@@ -41083,7 +41241,7 @@ declare abstract class PoHttpInterceptorBaseService implements HttpInterceptor {
|
|
|
41083
41241
|
declare class PoHttpInterceptorService extends PoHttpInterceptorBaseService {
|
|
41084
41242
|
constructor(notification: PoNotificationService, componentInjector: PoComponentInjectorService, languageService: PoLanguageService);
|
|
41085
41243
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoHttpInterceptorService, never>;
|
|
41086
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
41244
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
41087
41245
|
}
|
|
41088
41246
|
|
|
41089
41247
|
/**
|
|
@@ -41097,7 +41255,7 @@ declare class PoHttpRequesControltService {
|
|
|
41097
41255
|
getControlHttpRequest(): Observable<any>;
|
|
41098
41256
|
send(value?: number): void;
|
|
41099
41257
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoHttpRequesControltService, never>;
|
|
41100
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
41258
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
41101
41259
|
}
|
|
41102
41260
|
|
|
41103
41261
|
/**
|
|
@@ -41253,7 +41411,7 @@ declare class PoHttpRequestInterceptorService implements HttpInterceptor {
|
|
|
41253
41411
|
private setCountPendingRequests;
|
|
41254
41412
|
private setCountOverlayRequests;
|
|
41255
41413
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoHttpRequestInterceptorService, never>;
|
|
41256
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
41414
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
41257
41415
|
}
|
|
41258
41416
|
|
|
41259
41417
|
export { AnimaliaIconDictionary, ForceBooleanComponentEnum, ForceOptionComponentEnum, I18N_CONFIG, InputBoolean, InputRequired, LOADING_ICON_COMPONENT, PO_CALENDAR_DEFAULT_RANGE_PRESETS, PO_CONTROL_POSITIONS, PoAccordionComponent, PoAccordionItemComponent, PoAccordionModule, PoActiveOverlayModule, PoActiveOverlayService, PoAvatarComponent, PoAvatarModule, PoBadgeComponent, PoBadgeModule, PoBreadcrumbComponent, PoBreadcrumbModule, PoButtonComponent, PoButtonGroupComponent, PoButtonGroupModule, PoButtonGroupToggle, PoButtonKind, PoButtonModule, PoButtonSize, PoButtonType, PoCalendarComponent, PoCalendarMode, PoCalendarModule, PoChartComponent, PoChartLabelFormat, PoChartModule, PoChartType, PoCheckboxComponent, PoCheckboxGroupComponent, PoCheckboxGroupModule, PoCheckboxModule, PoCheckboxSize, PoCleanComponent, PoCleanModule, PoColorPaletteModule, PoColorPaletteService, PoComboComponent, PoComboFilterMode, PoComboModule, PoComboOptionTemplateDirective, PoComponentInjectorModule, PoComponentInjectorService, PoComponentsModule, PoContainerComponent, PoContainerModule, PoContextMenuComponent, PoContextMenuModule, PoContextTabButtonComponent, PoContextTabsComponent, PoContextTabsModule, PoControlPositionModule, PoDateService, PoDateTimeModule, PoDatepickerComponent, PoDatepickerIsoFormat, PoDatepickerModule, PoDatepickerRangeComponent, PoDatetimepickerComponent, PoDatetimepickerModule, PoDecimalComponent, PoDecimalFormatModule, PoDecimalFormatPipe, PoDialogComponent, PoDialogModule, PoDialogService, PoDialogType, PoDirectivesModule, PoDisclaimerComponent, PoDisclaimerGroupComponent, PoDisclaimerGroupModule, PoDisclaimerModule, PoDividerComponent, PoDividerModule, PoDividerSize, PoDragBaseDirective, PoDragDirective, PoDragDropModule, PoDropListBaseDirective, PoDropListDirective, PoDropdownComponent, PoDropdownModule, PoDynamicContainerComponent, PoDynamicFieldType, PoDynamicFormComponent, PoDynamicModule, PoDynamicSharedBase, PoDynamicViewComponent, PoEmailComponent, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoFieldContainerModule, PoFieldModule, PoFilterChipBaseComponent, PoFilterChipComponent, PoFilterChipModule, PoGridComponent, PoGridModule, PoGuardsModule, PoHeaderComponent, PoHeaderModule, PoHelperComponent, PoHelperModule, PoHttpInterceptorModule, PoHttpInterceptorService, PoHttpRequestInterceptorService, PoHttpRequestModule, PoI18nModule, PoI18nPipe, PoI18nService, PoIconComponent, PoIconModule, PoImageComponent, PoImageModule, PoInfoComponent, PoInfoModule, PoInfoOrientation, PoInputComponent, PoInterceptorsModule, PoItemListComponent, PoLabelComponent, PoLabelModule, PoLanguageModule, PoLanguageService, PoLinkComponent, PoLinkModule, PoListBoxComponent, PoListBoxModule, PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailDisplay, PoListViewDetailTemplateDirective, PoListViewModule, PoLoadingComponent, PoLoadingIconComponent, PoLoadingModule, PoLoadingOverlayComponent, PoLoginComponent, PoLogoComponent, PoLogoModule, PoLookupComponent, PoLookupModalComponent, PoMask, PoMediaQueryModule, PoMediaQueryService, PoMenuComponent, PoMenuGlobalService, PoMenuHeaderTemplateDirective, PoMenuModule, PoMenuPanelComponent, PoMenuPanelModule, PoModalComponent, PoModalFooterComponent, PoModalModule, PoModule, PoMultiselectComponent, PoMultiselectFilterMode, PoMultiselectOptionTemplateDirective, PoNavbarComponent, PoNavbarModule, PoNotificationModule, PoNotificationService, PoNumberComponent, PoOverlayComponent, PoOverlayModule, PoPageActionsLayout, PoPageDefaultComponent, PoPageDetailComponent, PoPageEditComponent, PoPageHeaderType, PoPageListComponent, PoPageModule, PoPageSlideComponent, PoPageSlideFooterComponent, PoPageSlideModule, PoPasswordComponent, PoPipesModule, PoPopoverComponent, PoPopoverModule, PoPopupComponent, PoPopupModule, PoProgressComponent, PoProgressModule, PoProgressShape, PoProgressSize, PoProgressStatus, PoRadioComponent, PoRadioGroupComponent, PoRadioGroupModule, PoRadioModule, PoRichTextComponent, PoRichTextToolbarActions, PoSearchAiComponent, PoSearchAiModule, PoSearchAiResponseType, PoSearchAiService, PoSearchComponent, PoSearchFilterMode, PoSearchListComponent, PoSearchModule, PoSelectComponent, PoServicesModule, PoSkeletonAnimation, PoSkeletonComponent, PoSkeletonModule, PoSkeletonSize, PoSkeletonType, PoSkeletonVariant, PoSlideComponent, PoSlideContentTemplateDirective, PoSlideModule, PoStepComponent, PoStepperComponent, PoStepperModule, PoStepperOrientation, PoStepperStatus, PoSwitchComponent, PoSwitchLabelPosition, PoSwitchModule, PoTabButtonComponent, PoTabComponent, PoTabDropdownComponent, PoTableCellTemplateDirective, PoTableColumnFrozenDirective, PoTableColumnSortType, PoTableColumnSpacing, PoTableColumnTemplateDirective, PoTableComponent, PoTableModule, PoTableRowTemplateArrowDirection, PoTableRowTemplateDirective, PoTabsComponent, PoTabsModule, PoTabsService, PoTagComponent, PoTagModule, PoTagOrientation, PoTagType, PoTextareaComponent, PoThemeA11yEnum, PoThemeModule, PoThemeService, PoThemeTypeEnum, PoTimeModule, PoTimePipe, PoTimepickerComponent, PoTimepickerModelFormat, PoTimepickerModule, PoTimerBaseComponent, PoTimerComponent, PoTimerFormat, PoTimerModule, PoToasterComponent, PoToasterMode, PoToasterModule, PoToasterOrientation, PoToasterType, PoToolbarComponent, PoToolbarModule, PoTooltipDirective, PoTooltipModule, PoTreeViewComponent, PoTreeViewModule, PoUploadComponent, PoUploadFile, PoUploadStatus, PoUrlComponent, PoUserGuideAlignment, PoUserGuideBaseService, PoUserGuideModule, PoUserGuidePosition, PoUserGuideService, PoWidgetComponent, PoWidgetModule, applyDecimalFormat, getFormatLimits, initializeLanguageDefault, insertGroupSeparatorsFromRight, mergePoI18nConfigs, parseDecimalFormat, poBreadcrumbLiterals, poChartLiteralsDefault, poDialogAlertLiteralsDefault, poDialogConfirmLiteralsDefault, poLanguageDefault, poLocaleDateSeparatorList, poLocaleDecimalSeparatorList, poLocaleDefault, poLocaleThousandSeparatorList, poLocales, poPageSlideLiteralsDefault, poSearchAiCompileFilter, poSearchAiFilterItems, poTabsLiterals, poThemeDefault, poThemeDefaultAA, poThemeDefaultAAA, poThemeDefaultActions, poThemeDefaultActionsDark, poThemeDefaultBrands, poThemeDefaultBrandsDark, poThemeDefaultCategoricals, poThemeDefaultCategoricalsAA, poThemeDefaultCategoricalsDark, poThemeDefaultCategoricalsDarkAA, poThemeDefaultCategoricalsOverlayDark, poThemeDefaultCategoricalsOverlayDarkAA, poThemeDefaultDark, poThemeDefaultDarkValues, poThemeDefaultDarkValuesAA, poThemeDefaultFeedback, poThemeDefaultFeedbackDark, poThemeDefaultLight, poThemeDefaultLightValues, poThemeDefaultLightValuesAA, poThemeDefaultNeutrals, poThemeDefaultNeutralsDark, poThemeDefaultOverlayCategoricals, poThemeDefaultOverlayCategoricalsAA, poToasterLiterals, poUserGuideLiteralsDefault, returnPoI18nService, validateAgainstFormat };
|