ng-firebase-table-kxp 1.0.2 → 1.0.4
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/README.md +31 -23
- package/esm2020/lib/components/table/table.component.mjs +17 -3
- package/esm2020/lib/ng-firebase-table-kxp.component.mjs +11 -0
- package/esm2020/lib/ng-firebase-table-kxp.module.mjs +74 -0
- package/esm2020/lib/ng-firebase-table-kxp.service.mjs +14 -0
- package/esm2020/lib/services/table.service.mjs +13 -16
- package/esm2020/public-api.mjs +5 -5
- package/fesm2015/ng-firebase-table-kxp.mjs +49 -45
- package/fesm2015/ng-firebase-table-kxp.mjs.map +1 -1
- package/fesm2020/ng-firebase-table-kxp.mjs +48 -45
- package/fesm2020/ng-firebase-table-kxp.mjs.map +1 -1
- package/lib/components/table/table.component.d.ts +1 -0
- package/lib/ng-firebase-table-kxp.component.d.ts +5 -0
- package/lib/ng-firebase-table-kxp.module.d.ts +21 -0
- package/lib/ng-firebase-table-kxp.service.d.ts +6 -0
- package/lib/services/table.service.d.ts +5 -1
- package/package.json +1 -1
- package/public-api.d.ts +3 -3
- package/esm2020/lib/firebase-table-kxp-lib.component.mjs +0 -19
- package/esm2020/lib/firebase-table-kxp-lib.module.mjs +0 -74
- package/esm2020/lib/firebase-table-kxp-lib.service.mjs +0 -14
- package/lib/firebase-table-kxp-lib.component.d.ts +0 -5
- package/lib/firebase-table-kxp-lib.module.d.ts +0 -21
- package/lib/firebase-table-kxp-lib.service.d.ts +0 -6
package/README.md
CHANGED
|
@@ -1,27 +1,35 @@
|
|
|
1
|
-
# Firebase Table KXP
|
|
1
|
+
# NG Firebase Table KXP
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@adryanmmm/firebase-table-kxp-lib)
|
|
4
3
|
[](https://opensource.org/licenses/MIT)
|
|
5
4
|
|
|
6
|
-
Firebase Table KXP
|
|
5
|
+
NG Firebase Table KXP is a production-ready Angular data table created by **KXP Tech** to power enterprise dashboards backed by Firebase Firestore. It wraps complex Firestore querying, pagination, filtering, and material design styling into a plug-and-play module so teams can ship data-rich experiences faster.
|
|
7
6
|
|
|
8
7
|
## Table of Contents
|
|
9
|
-
- [
|
|
10
|
-
- [
|
|
11
|
-
- [
|
|
12
|
-
- [
|
|
13
|
-
- [
|
|
14
|
-
- [
|
|
15
|
-
- [
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
- [
|
|
23
|
-
- [
|
|
24
|
-
- [
|
|
8
|
+
- [NG Firebase Table KXP](#ng-firebase-table-kxp)
|
|
9
|
+
- [Table of Contents](#table-of-contents)
|
|
10
|
+
- [Why Firebase Table KXP](#why-firebase-table-kxp)
|
|
11
|
+
- [Core Features](#core-features)
|
|
12
|
+
- [Installation \& Setup](#installation--setup)
|
|
13
|
+
- [Configuration Overview](#configuration-overview)
|
|
14
|
+
- [API Reference](#api-reference)
|
|
15
|
+
- [TableData](#tabledata)
|
|
16
|
+
- [Column](#column)
|
|
17
|
+
- [Tab \& TabData](#tab--tabdata)
|
|
18
|
+
- [FilterableOption](#filterableoption)
|
|
19
|
+
- [Condition](#condition)
|
|
20
|
+
- [Arrange](#arrange)
|
|
21
|
+
- [Image](#image)
|
|
22
|
+
- [Data Export (Download)](#data-export-download)
|
|
23
|
+
- [How It Works](#how-it-works)
|
|
24
|
+
- [Basic Example](#basic-example)
|
|
25
|
+
- [Advanced Example with Totals](#advanced-example-with-totals)
|
|
26
|
+
- [Filtering Data Before Export](#filtering-data-before-export)
|
|
27
|
+
- [Using Custom Pipes for Formatting](#using-custom-pipes-for-formatting)
|
|
28
|
+
- [CSV vs XLSX Format](#csv-vs-xlsx-format)
|
|
29
|
+
- [Important Notes](#important-notes)
|
|
30
|
+
- [Powered by KXP Tech](#powered-by-kxp-tech)
|
|
31
|
+
- [Contributing \& License](#contributing--license)
|
|
32
|
+
- [Support the Project](#support-the-project)
|
|
25
33
|
|
|
26
34
|
## Why Firebase Table KXP
|
|
27
35
|
|
|
@@ -44,7 +52,7 @@ Firebase Table KXP Library is a production-ready Angular data table created by *
|
|
|
44
52
|
## Installation & Setup
|
|
45
53
|
|
|
46
54
|
```bash
|
|
47
|
-
npm install @adryanmmm/firebase-table-kxp
|
|
55
|
+
npm install @adryanmmm/ng-firebase-table-kxp
|
|
48
56
|
```
|
|
49
57
|
|
|
50
58
|
The host application should already depend on:
|
|
@@ -56,7 +64,7 @@ The host application should already depend on:
|
|
|
56
64
|
|
|
57
65
|
1. **Import the module**
|
|
58
66
|
```typescript
|
|
59
|
-
import {
|
|
67
|
+
import { NgFirebaseTableKxpModule } from '@adryanmmm/ng-firebase-table-kxp';
|
|
60
68
|
|
|
61
69
|
@NgModule({
|
|
62
70
|
imports: [
|
|
@@ -66,7 +74,7 @@ import { FirebaseTableKxpLibModule } from '@adryanmmm/firebase-table-kxp-lib';
|
|
|
66
74
|
AngularFirestoreModule,
|
|
67
75
|
ToastrModule.forRoot(),
|
|
68
76
|
NgxMaskModule.forRoot(),
|
|
69
|
-
|
|
77
|
+
NgFirebaseTableKxpModule
|
|
70
78
|
]
|
|
71
79
|
})
|
|
72
80
|
export class AppModule {}
|
|
@@ -441,7 +449,7 @@ The library provides a flexible export system that allows you to download table
|
|
|
441
449
|
#### Basic Example
|
|
442
450
|
|
|
443
451
|
```typescript
|
|
444
|
-
import { TableService } from '@adryanmmm/firebase-table-kxp
|
|
452
|
+
import { TableService } from '@adryanmmm/ng-firebase-table-kxp';
|
|
445
453
|
import * as XLSX from 'xlsx';
|
|
446
454
|
import moment from 'moment';
|
|
447
455
|
|