ngx-vector-components 6.42.0 → 6.43.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.
Files changed (34) hide show
  1. package/CHANGELOG.md +3340 -3317
  2. package/README.md +35 -35
  3. package/assets/icons/chevron_down_icon.svg +3 -3
  4. package/assets/icons/home_menu_icon.svg +3 -3
  5. package/assets/icons/logout_icon.svg +9 -9
  6. package/assets/icons/menu_footer_icon.svg +3 -3
  7. package/assets/icons/menu_hamburguer_icon.svg +3 -3
  8. package/assets/icons/terms_of_use_icon.svg +9 -9
  9. package/assets/icons/vector_admin_icon.svg +4 -4
  10. package/assets/icons/vector_fintech_icon.svg +3 -3
  11. package/assets/icons/vector_logtech_icon.svg +6 -6
  12. package/assets/icons/vector_marketplace_icon.svg +3 -3
  13. package/assets/images/bunge_logo.svg +23 -23
  14. package/assets/images/cofco_logo.svg +117 -117
  15. package/assets/images/emote_bad.svg +6 -6
  16. package/assets/images/emote_cool.svg +5 -5
  17. package/assets/images/emote_nice.svg +5 -5
  18. package/assets/images/success_sign.svg +4 -4
  19. package/assets/images/vector-logo-horizontal-inverse-color.svg +13 -13
  20. package/assets/images/vector_logo_horizontal.svg +13 -13
  21. package/assets/images/warn_sign.svg +4 -4
  22. package/assets/styles/_fonts.scss +114 -114
  23. package/assets/styles/_mixins.scss +7 -7
  24. package/assets/styles/_phosphor-bold.scss +4625 -4625
  25. package/assets/styles/_primeng-custom-theme.scss +1646 -1869
  26. package/assets/styles/_spinner.scss +36 -36
  27. package/assets/styles/_styles.scss +139 -139
  28. package/assets/styles/_variables.scss +65 -62
  29. package/fesm2022/ngx-vector-components.mjs +106 -76
  30. package/fesm2022/ngx-vector-components.mjs.map +1 -1
  31. package/lib/components/fields/button/button.component.d.ts +22 -4
  32. package/lib/components/fields/data-table/data-table.component.d.ts +2 -2
  33. package/lib/components/fields/text-field/text-field.component.d.ts +1 -1
  34. 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 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';
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
- noShadow: boolean;
11
- round: boolean;
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; }; "noShadow": { "alias": "noShadow"; "required": false; }; "round": { "alias": "round"; "required": false; }; "style": { "alias": "style"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "onClick": "onClick"; }, never, never, false, never>;
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
  }
@@ -35,7 +35,7 @@ export declare class DataTableComponent implements OnInit, OnDestroy {
35
35
  expandable: boolean;
36
36
  dataKey: string;
37
37
  expansionTemplate: TemplateRef<any> | null;
38
- set selectionMode(_selectionMode: "single" | "multiple" | null);
38
+ set selectionMode(_selectionMode: "multiple" | "single" | null);
39
39
  selectionType: 'checkbox' | 'radiobutton' | null;
40
40
  set height(_height: string);
41
41
  showLimitBalance: boolean;
@@ -72,7 +72,7 @@ export declare class DataTableComponent implements OnInit, OnDestroy {
72
72
  get addItemIconPosition(): 'left' | 'right';
73
73
  get addItemDisabled(): boolean;
74
74
  get height(): string;
75
- get selectionMode(): "single" | "multiple" | null;
75
+ get selectionMode(): "multiple" | "single" | null;
76
76
  private _selectionMode;
77
77
  private _height;
78
78
  private _tabs;
@@ -38,7 +38,7 @@ export declare class TextFieldComponent implements OnInit, OnDestroy {
38
38
  isPasswordVisible: boolean;
39
39
  validateOnly: boolean;
40
40
  get placeholder(): string;
41
- get keyfilter(): RegExp | "int" | "pint" | "alphanum" | "money";
41
+ get keyfilter(): RegExp | "pint" | "int" | "money" | "alphanum";
42
42
  get control(): any;
43
43
  get showPasswordIcon(): "fas fa-eye" | "fas fa-eye-slash";
44
44
  documentTypes: ListItem[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-vector-components",
3
- "version": "6.42.0",
3
+ "version": "6.43.0",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^19.2.0",
6
6
  "@angular/cdk": "^19.2.0",