@rubeusteam/rb-angular-components 0.0.1-9.1 → 0.0.1-dev.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.
@@ -4,8 +4,16 @@ export interface CrudColumn {
4
4
  sortable?: boolean;
5
5
  pipe?: 'date' | 'datetime' | 'currency' | 'cpf' | 'cnpj' | 'phone' | 'cep' | 'mask' | 'relativeTime' | 'lastModifiedBy';
6
6
  action?: string;
7
+ hidden?: boolean;
8
+ blocked?: boolean;
9
+ conditionalClassKey?: string;
10
+ objCol?: CrudObjColumn;
7
11
  }
8
12
  export interface CrudActionEvent {
9
13
  action: string;
10
14
  row?: any;
11
15
  }
16
+ export interface CrudObjColumn {
17
+ key: string;
18
+ label: string;
19
+ }
@@ -9,6 +9,7 @@ export interface RbDialog {
9
9
  actionsAlign?: 'start' | 'center' | 'end';
10
10
  labelField?: string;
11
11
  fieldValueDafault?: string;
12
+ labelConfirmButton?: string;
12
13
  }
13
14
  export interface RbDialogMultipleContent {
14
15
  subtitle: string;
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class IsArrayPipe implements PipeTransform {
4
+ transform(value: any): boolean;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<IsArrayPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<IsArrayPipe, "isArray", true>;
7
+ }
@@ -0,0 +1,9 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { ConditionalClasses } from '../../interfaces/rb-conditional-class.interface';
3
+ import * as i0 from "@angular/core";
4
+ export declare class RbConditionalClassPipe implements PipeTransform {
5
+ transform(cellValue: any, columnKey: string, rules: ConditionalClasses[]): string;
6
+ private evaluateCondition;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<RbConditionalClassPipe, never>;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<RbConditionalClassPipe, "rbConditionalClass", true>;
9
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class RbShowIndexCrudService {
3
+ showIndex: import("@angular/core").WritableSignal<boolean>;
4
+ setShowIndex(value: boolean): void;
5
+ toggle(): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<RbShowIndexCrudService, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<RbShowIndexCrudService>;
8
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rubeusteam/rb-angular-components",
3
- "version": "0.0.19.1",
4
- "description": "Correção tradutor paginação",
3
+ "version": "0.0.1-dev.0",
4
+ "description": "Correção referência paginação e ordenação",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "angular",
package/public-api.d.ts CHANGED
@@ -5,9 +5,15 @@ export * from './lib/components/rb-dialog/rb-dialog.component';
5
5
  export * from './lib/components/rb-filter-panel/rb-filter-panel.component';
6
6
  export * from './lib/components/rb-filter-dropdown/rb-filter-dropdown.component';
7
7
  export * from './lib/components/rb-copy-confirm-dialog/rb-copy-confirm-dialog.component';
8
+ export * from './lib/components/rb-change-log-dialog/rb-change-log-dialog.component';
9
+ export * from './lib/components/rb-columns-sort-setting/rb-columns-sort-setting.component';
8
10
  export * from './lib/pipes/rb-custom/rb-custom.pipe';
11
+ export * from './lib/pipes/rb-conditional-class/rb-conditional-class.pipe';
12
+ export * from './lib/pipes/is-array.pipe';
9
13
  export * from './lib/directives/rb-dynamic-button/rb-dynamic-button.directive';
10
14
  export * from './lib/interfaces/rb-crud.interface';
11
15
  export * from './lib/interfaces/button.interface';
12
16
  export * from './lib/interfaces/rb-dialog.interface';
13
17
  export * from './lib/interfaces/rb-filter.interface';
18
+ export * from './lib/interfaces/rb-change-log-dialog.interface';
19
+ export * from './lib/interfaces/rb-conditional-class.interface';
@@ -1,10 +1,10 @@
1
- .rb-menu-crud {
2
- background: rgba(248, 250, 249, 1);
1
+ .rb-menu-crud .mat-mdc-menu-content{
2
+ background: #F8FAF9;
3
3
  }
4
4
 
5
5
  .rb-menu-crud .mat-menu-item,
6
6
  .rb-menu-crud .mat-mdc-menu-item {
7
- color: rgba(80, 83, 83, 1);
7
+ color: #2E3131;
8
8
  font-style: normal;
9
9
  font-weight: 400;
10
10
  line-height: var(24px);
@@ -12,7 +12,19 @@
12
12
  }
13
13
 
14
14
  .rb-menu-crud .mat-icon {
15
- color: rgba(80, 83, 83, 1);
15
+ color: #505353;
16
+ }
17
+
18
+ .rb-menu-crud button[color="warn"],
19
+ .rb-menu-crud button[color="warn"] span {
20
+ color: var(--mat-menu-item-text-color-warn, #7E0007);
21
+ mat-icon {
22
+ color: #93000A;
23
+ }
24
+ }
25
+
26
+ .rb-menu-crud hr {
27
+ color: #C4C7C6;
16
28
  }
17
29
 
18
30
  .rb-table-container thead {
@@ -26,6 +26,10 @@
26
26
  align-self: stretch;
27
27
  }
28
28
 
29
+ .rb-dialog-content.bg-white {
30
+ background-color: #ffffff;
31
+ }
32
+
29
33
  .rb-dialog-actions {
30
34
  display: flex;
31
35
  align-self: stretch;
@@ -36,3 +40,20 @@
36
40
  .width-100 {
37
41
  width: 100%;
38
42
  }
43
+
44
+ mat-dialog-content.rb-dialog-content.has-crud {
45
+ padding: 0;
46
+ .rb-crud-container {
47
+ margin-top: 0;
48
+
49
+ .mat-mdc-header-cell {
50
+ vertical-align: middle;
51
+ }
52
+ td, th {
53
+ padding: 0 16px;
54
+ }
55
+ th {
56
+ border-bottom: 1px solid rgb(225, 227, 226);
57
+ }
58
+ }
59
+ }
@@ -2,3 +2,4 @@
2
2
  @forward '_dialog';
3
3
  @forward '_layout';
4
4
  @forward '_typography';
5
+