ng-firebase-table-kxp 1.2.4 → 1.2.6
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/esm2020/lib/components/table/table.component.mjs +1557 -0
- package/esm2020/lib/components/table-tabs/table-tabs.component.mjs +129 -0
- package/esm2020/lib/components/table-tooltip/table-tooltip.component.mjs +49 -0
- package/esm2020/lib/ng-firebase-table-kxp.component.mjs +15 -0
- package/esm2020/lib/ng-firebase-table-kxp.module.mjs +103 -0
- package/esm2020/lib/ng-firebase-table-kxp.service.mjs +14 -0
- package/esm2020/lib/services/filter.service.mjs +416 -0
- package/esm2020/lib/services/pagination.service.mjs +115 -0
- package/esm2020/lib/services/table.service.mjs +1140 -0
- package/esm2020/lib/services/tooltip.service.mjs +141 -0
- package/esm2020/lib/types/Table.mjs +9 -0
- package/esm2020/lib/utils/table.utils.mjs +75 -0
- package/esm2020/ng-firebase-table-kxp.mjs +5 -0
- package/esm2020/public-api.mjs +22 -0
- package/fesm2015/ng-firebase-table-kxp.mjs +4026 -0
- package/fesm2015/ng-firebase-table-kxp.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/ng-firebase-table-kxp.mjs +3666 -3659
- package/fesm2020/ng-firebase-table-kxp.mjs.map +1 -0
- package/index.d.ts +5 -666
- package/lib/components/table/table.component.d.ts +135 -0
- package/lib/components/table-tabs/table-tabs.component.d.ts +34 -0
- package/lib/components/table-tooltip/table-tooltip.component.d.ts +18 -0
- package/lib/ng-firebase-table-kxp.component.d.ts +5 -0
- package/lib/ng-firebase-table-kxp.module.d.ts +24 -0
- package/lib/ng-firebase-table-kxp.service.d.ts +6 -0
- package/lib/services/filter.service.d.ts +88 -0
- package/lib/services/pagination.service.d.ts +34 -0
- package/lib/services/table.service.d.ts +80 -0
- package/lib/services/tooltip.service.d.ts +73 -0
- package/lib/types/Table.d.ts +162 -0
- package/lib/utils/table.utils.d.ts +25 -0
- package/package.json +11 -3
- package/public-api.d.ts +12 -0
- package/fesm2022/ng-firebase-table-kxp.mjs.map +0 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Column } from '../types/Table';
|
|
2
|
+
/**
|
|
3
|
+
* Obtém o valor aninhado de um objeto dado um caminho (ex: 'user.address.city')
|
|
4
|
+
*/
|
|
5
|
+
export declare function getNestedValue(obj: any, path: string): any;
|
|
6
|
+
/**
|
|
7
|
+
* Formata um array de objetos em uma string com valores separados por vírgula
|
|
8
|
+
*/
|
|
9
|
+
export declare function formatArrayValue(array: any[], field: string): string;
|
|
10
|
+
/**
|
|
11
|
+
* Obtém o valor de exibição para uma célula da tabela
|
|
12
|
+
*/
|
|
13
|
+
export declare function getDisplayValue(col: Column, row: any, withinLimit?: boolean): string;
|
|
14
|
+
/**
|
|
15
|
+
* Verifica se um valor é string
|
|
16
|
+
*/
|
|
17
|
+
export declare function isString(value: any): boolean;
|
|
18
|
+
/**
|
|
19
|
+
* TrackBy function para colunas
|
|
20
|
+
*/
|
|
21
|
+
export declare function trackByProperty(_index: number, col: Column): string;
|
|
22
|
+
/**
|
|
23
|
+
* Gera uma chave única para identificar uma imagem em carregamento
|
|
24
|
+
*/
|
|
25
|
+
export declare function getImageKey(row: any, col: Column): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ng-firebase-table-kxp",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"description": "Uma biblioteca Angular poderosa para criar tabelas dinâmicas com integração completa ao Firebase Firestore",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -32,7 +32,11 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"tslib": "^2.3.0"
|
|
34
34
|
},
|
|
35
|
-
"module": "
|
|
35
|
+
"module": "fesm2015/ng-firebase-table-kxp.mjs",
|
|
36
|
+
"es2020": "fesm2020/ng-firebase-table-kxp.mjs",
|
|
37
|
+
"esm2020": "esm2020/ng-firebase-table-kxp.mjs",
|
|
38
|
+
"fesm2020": "fesm2020/ng-firebase-table-kxp.mjs",
|
|
39
|
+
"fesm2015": "fesm2015/ng-firebase-table-kxp.mjs",
|
|
36
40
|
"typings": "index.d.ts",
|
|
37
41
|
"exports": {
|
|
38
42
|
"./package.json": {
|
|
@@ -40,7 +44,11 @@
|
|
|
40
44
|
},
|
|
41
45
|
".": {
|
|
42
46
|
"types": "./index.d.ts",
|
|
43
|
-
"
|
|
47
|
+
"esm2020": "./esm2020/ng-firebase-table-kxp.mjs",
|
|
48
|
+
"es2020": "./fesm2020/ng-firebase-table-kxp.mjs",
|
|
49
|
+
"es2015": "./fesm2015/ng-firebase-table-kxp.mjs",
|
|
50
|
+
"node": "./fesm2015/ng-firebase-table-kxp.mjs",
|
|
51
|
+
"default": "./fesm2020/ng-firebase-table-kxp.mjs"
|
|
44
52
|
}
|
|
45
53
|
},
|
|
46
54
|
"sideEffects": false
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './lib/ng-firebase-table-kxp.module';
|
|
2
|
+
export * from './lib/ng-firebase-table-kxp.service';
|
|
3
|
+
export * from './lib/ng-firebase-table-kxp.component';
|
|
4
|
+
export * from './lib/components/table/table.component';
|
|
5
|
+
export * from './lib/components/table-tabs/table-tabs.component';
|
|
6
|
+
export * from './lib/components/table-tooltip/table-tooltip.component';
|
|
7
|
+
export * from './lib/services/table.service';
|
|
8
|
+
export * from './lib/services/filter.service';
|
|
9
|
+
export * from './lib/services/tooltip.service';
|
|
10
|
+
export * from './lib/services/pagination.service';
|
|
11
|
+
export * from './lib/types/Table';
|
|
12
|
+
export * from './lib/utils/table.utils';
|