ngx-vector-components 6.42.0 → 6.44.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/CHANGELOG.md +29 -0
- package/assets/styles/_primeng-custom-theme.scss +0 -223
- package/assets/styles/_variables.scss +3 -0
- package/fesm2022/ngx-vector-components.mjs +54 -23
- package/fesm2022/ngx-vector-components.mjs.map +1 -1
- package/lib/components/fields/button/button.component.d.ts +22 -4
- package/lib/models/profile.model.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,18 +1,36 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export type
|
|
3
|
+
export type ButtonCursorType = 'default' | 'pointer' | 'move' | 'help' | 'progress' | 'text' | 'ew-resize' | 'nesw-resize' | 'grab' | 'grabbing' | 'not-allowed' | 'zoom-in' | 'zoom-out' | 'none';
|
|
4
|
+
export type ButtonType = 'success' | 'success-outlined' | 'default' | 'default-filled' | 'default-outlined' | 'default-outlined-gray' | 'default-outlined-gray-icon-red' | 'default-outlined-gray-icon-gray' | 'cancel' | 'cancel-filled' | 'light-outline' | 'light-filled';
|
|
4
5
|
export declare class ButtonComponent {
|
|
6
|
+
/** Bloqueia o clique e aplica o estado desabilitado do botao. */
|
|
5
7
|
disabled: boolean;
|
|
8
|
+
/** Texto exibido no botao; vazio junto com um icone rende o botao quadrado de 32x32. */
|
|
6
9
|
label: string;
|
|
10
|
+
/** Variante visual — cores de fundo, borda, texto e icone. */
|
|
7
11
|
type: ButtonType;
|
|
12
|
+
/** Largura: `full` ocupa 100% do container, `fit-content` acompanha o conteudo. */
|
|
13
|
+
width: 'full' | 'fit-content';
|
|
14
|
+
/** Classe do icone exibido a esquerda do label. */
|
|
8
15
|
leftIcon: string;
|
|
16
|
+
/** Classe do icone a direita do label; preenchido junto com `leftIcon`, so a posicao prevalece. */
|
|
9
17
|
rightIcon: string;
|
|
10
|
-
|
|
11
|
-
|
|
18
|
+
/** Liga a sombra do botao, pela classe `shadow-3` do PrimeFlex. */
|
|
19
|
+
shadow: boolean;
|
|
20
|
+
/** Arredonda as bordas por completo: pilula com label, circulo quando so ha icone. */
|
|
21
|
+
rounded: boolean;
|
|
22
|
+
/** Cursor exibido ao passar o mouse sobre o botao; nao se aplica ao estado desabilitado. */
|
|
23
|
+
cursor: ButtonCursorType;
|
|
24
|
+
/** Estilos inline repassados ao `<p-button>`, no formato aceito pelo `ngStyle`. */
|
|
12
25
|
style: any;
|
|
26
|
+
/** Troca o icone por um indicador de carregamento e bloqueia o clique. */
|
|
13
27
|
loading: boolean;
|
|
28
|
+
/** Emitido a cada clique no botao, com o evento original do DOM. */
|
|
14
29
|
onClick: EventEmitter<any>;
|
|
30
|
+
get cursorVariable(): ButtonCursorType;
|
|
15
31
|
get styleClass(): string;
|
|
32
|
+
get isIconOnly(): boolean;
|
|
33
|
+
get isFitContent(): boolean;
|
|
16
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "vector-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "leftIcon": { "alias": "leftIcon"; "required": false; }; "rightIcon": { "alias": "rightIcon"; "required": false; }; "
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "vector-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "width": { "alias": "width"; "required": false; }; "leftIcon": { "alias": "leftIcon"; "required": false; }; "rightIcon": { "alias": "rightIcon"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "cursor": { "alias": "cursor"; "required": false; }; "style": { "alias": "style"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "onClick": "onClick"; }, never, never, false, never>;
|
|
18
36
|
}
|
|
@@ -206,6 +206,7 @@ export declare enum ProfileModuleActionType {
|
|
|
206
206
|
EDIT_LOT = "Edit Lot",
|
|
207
207
|
DELETE_LOT = "Delete Lot",
|
|
208
208
|
SHOW_LOT = "Show Lot",
|
|
209
|
+
ENABLED_RESET_LOT_TRIP_IMAGEM = "Enabled Reset Lot Trip Imagem",
|
|
209
210
|
ACCEPT_CREDIT = "Accept Credit",
|
|
210
211
|
SHOW_CREDIT = "Show Credit",
|
|
211
212
|
ADD_VEHICLE_CONFIGURATION = "Add Vehicle Configuration",
|