ng-prime-tools 1.0.3 → 1.0.5
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 +397 -13
- package/esm2022/lib/enums/public_api.mjs +2 -1
- package/esm2022/lib/enums/search-criteria-type-enum.mjs +10 -0
- package/esm2022/lib/models/filter-option.mjs +2 -0
- package/esm2022/lib/models/public_api.mjs +3 -1
- package/esm2022/lib/models/search-criteria.mjs +2 -0
- package/esm2022/lib/models/table-column.mjs +1 -1
- package/esm2022/lib/multi-search-criteria/index.mjs +6 -0
- package/esm2022/lib/multi-search-criteria/multi-search-criteria.component.mjs +138 -0
- package/esm2022/lib/multi-search-criteria/multi-search-criteria.module.mjs +48 -0
- package/esm2022/lib/multi-search-criteria/public_api.mjs +4 -0
- package/esm2022/lib/ng-advanced-prime-table/index.mjs +2 -2
- package/esm2022/lib/ng-advanced-prime-table/ng-advanced-prime-table.component.mjs +4 -11
- package/esm2022/lib/ng-advanced-prime-table/ng-advanced-prime-table.module.mjs +4 -3
- package/esm2022/lib/ng-prime-tools.module.mjs +30 -0
- package/esm2022/lib/pipes/custom-currency.mjs +24 -18
- package/esm2022/lib/pipes/custom-date.pipe.mjs +44 -0
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/ng-prime-tools.mjs +286 -38
- package/fesm2022/ng-prime-tools.mjs.map +1 -1
- package/lib/enums/public_api.d.ts +1 -0
- package/lib/enums/public_api.d.ts.map +1 -1
- package/lib/enums/search-criteria-type-enum.d.ts +9 -0
- package/lib/enums/search-criteria-type-enum.d.ts.map +1 -0
- package/lib/models/filter-option.d.ts +5 -0
- package/lib/models/filter-option.d.ts.map +1 -0
- package/lib/models/public_api.d.ts +2 -0
- package/lib/models/public_api.d.ts.map +1 -1
- package/lib/models/search-criteria.d.ts +11 -0
- package/lib/models/search-criteria.d.ts.map +1 -0
- package/lib/models/table-column.d.ts +2 -0
- package/lib/models/table-column.d.ts.map +1 -1
- package/lib/multi-search-criteria/index.d.ts +6 -0
- package/lib/multi-search-criteria/index.d.ts.map +1 -0
- package/lib/multi-search-criteria/multi-search-criteria.component.d.ts +28 -0
- package/lib/multi-search-criteria/multi-search-criteria.component.d.ts.map +1 -0
- package/lib/multi-search-criteria/multi-search-criteria.module.d.ts +16 -0
- package/lib/multi-search-criteria/multi-search-criteria.module.d.ts.map +1 -0
- package/lib/multi-search-criteria/public_api.d.ts +3 -0
- package/lib/multi-search-criteria/public_api.d.ts.map +1 -0
- package/lib/ng-advanced-prime-table/index.d.ts +1 -1
- package/lib/ng-advanced-prime-table/ng-advanced-prime-table.component.d.ts +0 -1
- package/lib/ng-advanced-prime-table/ng-advanced-prime-table.component.d.ts.map +1 -1
- package/lib/ng-advanced-prime-table/ng-advanced-prime-table.module.d.ts +13 -12
- package/lib/ng-advanced-prime-table/ng-advanced-prime-table.module.d.ts.map +1 -1
- package/lib/ng-prime-tools.module.d.ts +11 -0
- package/lib/ng-prime-tools.module.d.ts.map +1 -0
- package/lib/pipes/custom-currency.d.ts +1 -1
- package/lib/pipes/custom-currency.d.ts.map +1 -1
- package/lib/pipes/custom-date.pipe.d.ts +8 -0
- package/lib/pipes/custom-date.pipe.d.ts.map +1 -0
- package/package.json +3 -3
- package/public-api.d.ts +2 -0
- package/public-api.d.ts.map +1 -1
package/README.md
CHANGED
@@ -1,25 +1,409 @@
|
|
1
|
-
#
|
1
|
+
# NG Prime Tools
|
2
2
|
|
3
|
-
|
3
|
+
An advanced PrimeNG tools library for Angular.
|
4
4
|
|
5
|
-
##
|
5
|
+
## Table of Contents
|
6
6
|
|
7
|
-
|
7
|
+
- [Introduction](#introduction)
|
8
|
+
- [Installation](#installation)
|
9
|
+
- [Compatibility](#compatibility)
|
10
|
+
- [Usage](#usage)
|
11
|
+
- [ng-advanced-prime-table](#ng-advanced-prime-table)
|
12
|
+
- [Inputs](#inputs)
|
13
|
+
- [Outputs](#outputs)
|
14
|
+
- [Example](#example)
|
15
|
+
- [multi-search-criteria](#multi-search-criteria)
|
16
|
+
- [Inputs](#inputs-1)
|
17
|
+
- [Outputs](#outputs-1)
|
18
|
+
- [Example](#example-1)
|
19
|
+
- [Changelog](#changelog)
|
20
|
+
- [License](#license)
|
8
21
|
|
9
|
-
|
22
|
+
## Introduction
|
10
23
|
|
11
|
-
|
24
|
+
`ng-prime-tools` is a collection of advanced tools built on top of PrimeNG for Angular applications.
|
12
25
|
|
13
|
-
|
26
|
+
## Installation
|
14
27
|
|
15
|
-
|
28
|
+
To install `ng-prime-tools`, use the following command:
|
16
29
|
|
17
|
-
|
30
|
+
```bash
|
31
|
+
npm install ng-prime-tools
|
32
|
+
```
|
18
33
|
|
19
|
-
##
|
34
|
+
## Compatibility
|
20
35
|
|
21
|
-
|
36
|
+
- **Angular Version**: 17.3.1 or higher
|
37
|
+
- **PrimeNG Version**: 17.18.0 or higher
|
22
38
|
|
23
|
-
##
|
39
|
+
## Usage
|
24
40
|
|
25
|
-
|
41
|
+
### ng-advanced-prime-table
|
42
|
+
|
43
|
+
To use the `ng-advanced-prime-table` component, follow these steps:
|
44
|
+
|
45
|
+
1. **Import the Module:**
|
46
|
+
|
47
|
+
Import the `NgAdvancedPrimeTableModule` in your Angular module or standalone component.
|
48
|
+
|
49
|
+
```typescript
|
50
|
+
import { NgAdvancedPrimeTableModule, TableColumn, TableTypeEnum } from "ng-prime-tools";
|
51
|
+
```
|
52
|
+
|
53
|
+
2. **Add the Component:**
|
54
|
+
|
55
|
+
Add the `ng-advanced-prime-table` component to your template:
|
56
|
+
|
57
|
+
```html
|
58
|
+
<ng-advanced-prime-table [columns]="columns" [data]="data" [hasSearchFilter]="true" [hasColumnFilter]="true" [isPaginated]="true" [totalRecords]="totalRecords" [isSortable]="true"></ng-advanced-prime-table>
|
59
|
+
```
|
60
|
+
|
61
|
+
3. **Define the Inputs:**
|
62
|
+
|
63
|
+
In your component, define the necessary inputs for the table:
|
64
|
+
|
65
|
+
```typescript
|
66
|
+
import { Component, OnInit } from "@angular/core";
|
67
|
+
import { NgAdvancedPrimeTableModule } from "ng-prime-tools/ng-advanced-prime-table";
|
68
|
+
import { TableColumn } from "ng-prime-tools/models";
|
69
|
+
import { TableTypeEnum } from "ng-prime-tools/enums";
|
70
|
+
|
71
|
+
@Component({
|
72
|
+
selector: "app-root",
|
73
|
+
standalone: true,
|
74
|
+
imports: [NgAdvancedPrimeTableModule],
|
75
|
+
templateUrl: "./app.component.html",
|
76
|
+
styleUrls: ["./app.component.css"],
|
77
|
+
})
|
78
|
+
export class AppComponent implements OnInit {
|
79
|
+
columns: TableColumn[] = [];
|
80
|
+
data: any[] = [];
|
81
|
+
totalRecords: number = 0;
|
82
|
+
|
83
|
+
ngOnInit(): void {
|
84
|
+
this.columns = [
|
85
|
+
{
|
86
|
+
title: "Name",
|
87
|
+
code: "name",
|
88
|
+
type: TableTypeEnum.STRING,
|
89
|
+
isEditable: true,
|
90
|
+
},
|
91
|
+
{
|
92
|
+
title: "Date",
|
93
|
+
code: "date",
|
94
|
+
type: TableTypeEnum.DATE,
|
95
|
+
isEditable: true,
|
96
|
+
},
|
97
|
+
{
|
98
|
+
title: "Amount",
|
99
|
+
code: "amount",
|
100
|
+
type: TableTypeEnum.AMOUNT,
|
101
|
+
currency: "USD",
|
102
|
+
isEditable: true,
|
103
|
+
},
|
104
|
+
];
|
105
|
+
|
106
|
+
this.data = [
|
107
|
+
{ name: "John Doe", date: "11/06/2024", amount: 100 },
|
108
|
+
{ name: "Jane Doe", date: "20/06/2024", amount: 200 },
|
109
|
+
];
|
110
|
+
|
111
|
+
this.totalRecords = this.data.length;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
```
|
115
|
+
|
116
|
+
### Inputs
|
117
|
+
|
118
|
+
- **data** (`any[]`): The data to be displayed in the table.
|
119
|
+
- **columns** (`TableColumn[]`): The columns configuration for the table.
|
120
|
+
- **totalRecords** (`number`): The total number of records.
|
121
|
+
- **rowsPerPage** (`number[]`): The number of rows per page options for pagination.
|
122
|
+
- **hasSearchFilter** (`boolean`): Whether the table has a global search filter.
|
123
|
+
- **hasColumnFilter** (`boolean`): Whether the table has column-specific filters.
|
124
|
+
- **isPaginated** (`boolean`): Whether the table is paginated.
|
125
|
+
- **actions** (`any[]`): The actions available for the table rows.
|
126
|
+
- **isSortable** (`boolean`): Whether the table columns are sortable.
|
127
|
+
|
128
|
+
### Outputs
|
129
|
+
|
130
|
+
- **filter** (`EventEmitter`): Emitted when the table is filtered.
|
131
|
+
- **search** (`EventEmitter<any>`): Emitted when a global search is performed.
|
132
|
+
|
133
|
+
### Example
|
134
|
+
|
135
|
+
Here's a complete example of how to use the `ng-advanced-prime-table` component:
|
136
|
+
|
137
|
+
```typescript
|
138
|
+
import { Component, OnInit } from "@angular/core";
|
139
|
+
import { CommonModule } from "@angular/common";
|
140
|
+
import { NgAdvancedPrimeTableModule } from "ng-prime-tools/ng-advanced-prime-table";
|
141
|
+
import { TableColumn } from "ng-prime-tools/models";
|
142
|
+
import { TableTypeEnum } from "ng-prime-tools/enums";
|
143
|
+
|
144
|
+
@Component({
|
145
|
+
selector: "app-root",
|
146
|
+
standalone: true,
|
147
|
+
imports: [CommonModule, NgAdvancedPrimeTableModule],
|
148
|
+
templateUrl: "./app.component.html",
|
149
|
+
styleUrls: ["./app.component.css"],
|
150
|
+
})
|
151
|
+
export class AppComponent implements OnInit {
|
152
|
+
columns: TableColumn[] = [];
|
153
|
+
data: any[] = [];
|
154
|
+
totalRecords: number = 0;
|
155
|
+
|
156
|
+
ngOnInit(): void {
|
157
|
+
this.columns = [
|
158
|
+
{
|
159
|
+
title: "Name",
|
160
|
+
code: "name",
|
161
|
+
type: TableTypeEnum.STRING,
|
162
|
+
isEditable: true,
|
163
|
+
},
|
164
|
+
{
|
165
|
+
title: "Date",
|
166
|
+
code: "date",
|
167
|
+
type: TableTypeEnum.DATE,
|
168
|
+
isEditable: true,
|
169
|
+
},
|
170
|
+
{
|
171
|
+
title: "Amount",
|
172
|
+
code: "amount",
|
173
|
+
type: TableTypeEnum.AMOUNT,
|
174
|
+
currency: "USD",
|
175
|
+
isEditable: true,
|
176
|
+
},
|
177
|
+
];
|
178
|
+
|
179
|
+
this.data = [
|
180
|
+
{ name: "ZAK JAAI", date: "11/06/2024", amount: 100 },
|
181
|
+
{ name: "ZAK2 JAAI", date: "20/06/2024", amount: 200 },
|
182
|
+
];
|
183
|
+
|
184
|
+
this.totalRecords = this.data.length;
|
185
|
+
}
|
186
|
+
}
|
187
|
+
```
|
188
|
+
|
189
|
+
```html
|
190
|
+
<ng-advanced-prime-table [columns]="columns" [data]="data" [hasSearchFilter]="true" [hasColumnFilter]="true" [isPaginated]="true" [totalRecords]="totalRecords" [isSortable]="true"></ng-advanced-prime-table>
|
191
|
+
```
|
192
|
+
|
193
|
+
### multi-search-criteria
|
194
|
+
|
195
|
+
To use the `multi-search-criteria` component, follow these steps:
|
196
|
+
|
197
|
+
1. **Import the Module:**
|
198
|
+
|
199
|
+
Import the `MultiSearchCriteriaModule` in your Angular module or standalone component.
|
200
|
+
|
201
|
+
```typescript
|
202
|
+
import { MultiSearchCriteriaModule, SearchCriteria, SearchCriteriaTypeEnum } from "ng-prime-tools";
|
203
|
+
```
|
204
|
+
|
205
|
+
2. **Add the Component:**
|
206
|
+
|
207
|
+
Add the `multi-search-criteria` component to your template:
|
208
|
+
|
209
|
+
```html
|
210
|
+
<multi-search-criteria [title]="'Multi-Criteria Search'" [criteria]="criteria" [data]="data" [mode]="'dynamic'" (filteredData)="onFilteredData($event)" (searchCriteria)="onSearchData($event)"></multi-search-criteria>
|
211
|
+
```
|
212
|
+
|
213
|
+
3. **Define the Inputs:**
|
214
|
+
|
215
|
+
In your component, define the necessary inputs for the criteria:
|
216
|
+
|
217
|
+
```typescript
|
218
|
+
import { Component, OnInit } from "@angular/core";
|
219
|
+
import { CommonModule } from "@angular/common";
|
220
|
+
import { MultiSearchCriteriaModule, SearchCriteria, SearchCriteriaTypeEnum, FilterOption } from "ng-prime-tools";
|
221
|
+
|
222
|
+
@Component({
|
223
|
+
selector: "app-root",
|
224
|
+
standalone: true,
|
225
|
+
imports: [CommonModule, MultiSearchCriteriaModule],
|
226
|
+
templateUrl: "./app.component.html",
|
227
|
+
styleUrls: ["./app.component.css"],
|
228
|
+
})
|
229
|
+
export class AppComponent implements OnInit {
|
230
|
+
criteria: SearchCriteria[] = [];
|
231
|
+
data: any[] = [];
|
232
|
+
filteredData: any[] = [];
|
233
|
+
totalRecords: number = 0;
|
234
|
+
|
235
|
+
ngOnInit(): void {
|
236
|
+
this.criteria = [
|
237
|
+
{
|
238
|
+
title: "Name",
|
239
|
+
code: "name",
|
240
|
+
type: SearchCriteriaTypeEnum.STRING,
|
241
|
+
},
|
242
|
+
{
|
243
|
+
title: "Date Range",
|
244
|
+
code: "dateRange",
|
245
|
+
type: SearchCriteriaTypeEnum.DATERANGE,
|
246
|
+
},
|
247
|
+
{
|
248
|
+
title: "Amount",
|
249
|
+
code: "amount",
|
250
|
+
type: SearchCriteriaTypeEnum.AMOUNT,
|
251
|
+
currency: "USD",
|
252
|
+
},
|
253
|
+
{
|
254
|
+
title: "Type",
|
255
|
+
code: "type",
|
256
|
+
type: SearchCriteriaTypeEnum.MULTISELECT,
|
257
|
+
filterOptions: [
|
258
|
+
{ label: "Invoice", value: "Invoice" },
|
259
|
+
{ label: "Bill", value: "Bill" },
|
260
|
+
],
|
261
|
+
},
|
262
|
+
];
|
263
|
+
|
264
|
+
this.data = [
|
265
|
+
{ name: "ZAK JAAI", date: "11/06/2024", amount: 100, type: "Invoice" },
|
266
|
+
{ name: "ZAK2 JAAI", date: "20/06/2024", amount: 200, type: "Bill" },
|
267
|
+
];
|
268
|
+
|
269
|
+
this.filteredData = [...this.data];
|
270
|
+
this.totalRecords = this.data.length;
|
271
|
+
}
|
272
|
+
|
273
|
+
onFilteredData(filteredData: any[]): void {
|
274
|
+
this.filteredData = filteredData;
|
275
|
+
this.totalRecords = filteredData.length;
|
276
|
+
}
|
277
|
+
|
278
|
+
onSearchData(searchCriteria: { [key: string]: any }): void {
|
279
|
+
console.log(searchCriteria);
|
280
|
+
}
|
281
|
+
}
|
282
|
+
```
|
283
|
+
|
284
|
+
### Inputs
|
285
|
+
|
286
|
+
- **title** (`
|
287
|
+
|
288
|
+
string`): The title of the multi-search criteria panel.
|
289
|
+
|
290
|
+
- **criteria** (`SearchCriteria[]`): The search criteria configuration.
|
291
|
+
- **data** (`any[]`): The data to be filtered (used in static mode).
|
292
|
+
- **mode** (`'static' | 'dynamic'`): The mode of the multi-search criteria component.
|
293
|
+
- `'static'`: Filters the data directly within the component.
|
294
|
+
- `'dynamic'`: Emits the search criteria to be handled externally (e.g., for server-side filtering).
|
295
|
+
|
296
|
+
### Outputs
|
297
|
+
|
298
|
+
- **filteredData** (`EventEmitter<any[]>`): Emitted with the filtered data (only in static mode).
|
299
|
+
- **searchCriteria** (`EventEmitter<{ [key: string]: any }>`): Emitted with the search criteria (only in dynamic mode).
|
300
|
+
|
301
|
+
### Example
|
302
|
+
|
303
|
+
Here's a complete example of how to use the `multi-search-criteria` component in dynamic mode:
|
304
|
+
|
305
|
+
```typescript
|
306
|
+
import { Component, OnInit } from "@angular/core";
|
307
|
+
import { CommonModule } from "@angular/common";
|
308
|
+
import { MultiSearchCriteriaModule, SearchCriteria, SearchCriteriaTypeEnum, FilterOption } from "ng-prime-tools";
|
309
|
+
|
310
|
+
@Component({
|
311
|
+
selector: "app-root",
|
312
|
+
standalone: true,
|
313
|
+
imports: [CommonModule, MultiSearchCriteriaModule],
|
314
|
+
templateUrl: "./app.component.html",
|
315
|
+
styleUrls: ["./app.component.css"],
|
316
|
+
})
|
317
|
+
export class AppComponent implements OnInit {
|
318
|
+
criteria: SearchCriteria[] = [];
|
319
|
+
data: any[] = [];
|
320
|
+
filteredData: any[] = [];
|
321
|
+
totalRecords: number = 0;
|
322
|
+
|
323
|
+
ngOnInit(): void {
|
324
|
+
this.criteria = [
|
325
|
+
{
|
326
|
+
title: "Name",
|
327
|
+
code: "name",
|
328
|
+
type: SearchCriteriaTypeEnum.STRING,
|
329
|
+
},
|
330
|
+
{
|
331
|
+
title: "Date Range",
|
332
|
+
code: "dateRange",
|
333
|
+
type: SearchCriteriaTypeEnum.DATERANGE,
|
334
|
+
},
|
335
|
+
{
|
336
|
+
title: "Amount",
|
337
|
+
code: "amount",
|
338
|
+
type: SearchCriteriaTypeEnum.AMOUNT,
|
339
|
+
currency: "USD",
|
340
|
+
},
|
341
|
+
{
|
342
|
+
title: "Type",
|
343
|
+
code: "type",
|
344
|
+
type: SearchCriteriaTypeEnum.MULTISELECT,
|
345
|
+
filterOptions: [
|
346
|
+
{ label: "Invoice", value: "Invoice" },
|
347
|
+
{ label: "Bill", value: "Bill" },
|
348
|
+
],
|
349
|
+
},
|
350
|
+
];
|
351
|
+
|
352
|
+
this.data = [
|
353
|
+
{ name: "ZAK JAAI", date: "11/06/2024", amount: 100, type: "Invoice" },
|
354
|
+
{ name: "ZAK2 JAAI", date: "20/06/2024", amount: 200, type: "Bill" },
|
355
|
+
];
|
356
|
+
|
357
|
+
this.filteredData = [...this.data];
|
358
|
+
this.totalRecords = this.data.length;
|
359
|
+
}
|
360
|
+
|
361
|
+
onFilteredData(filteredData: any[]): void {
|
362
|
+
this.filteredData = filteredData;
|
363
|
+
this.totalRecords = filteredData.length;
|
364
|
+
}
|
365
|
+
|
366
|
+
onSearchData(searchCriteria: { [key: string]: any }): void {
|
367
|
+
console.log(searchCriteria);
|
368
|
+
// Perform server-side search or any other external data fetching logic
|
369
|
+
}
|
370
|
+
}
|
371
|
+
```
|
372
|
+
|
373
|
+
```html
|
374
|
+
<multi-search-criteria [title]="'Multi-Criteria Search'" [criteria]="criteria" [data]="data" [mode]="'dynamic'" (filteredData)="onFilteredData($event)" (searchCriteria)="onSearchData($event)"></multi-search-criteria>
|
375
|
+
|
376
|
+
<ng-advanced-prime-table [columns]="columns" [data]="filteredData" [hasSearchFilter]="true" [hasColumnFilter]="true" [isPaginated]="true" [totalRecords]="totalRecords" [isSortable]="true"></ng-advanced-prime-table>
|
377
|
+
```
|
378
|
+
|
379
|
+
## Changelog
|
380
|
+
|
381
|
+
### Version 1.0.5
|
382
|
+
|
383
|
+
#### New Features
|
384
|
+
|
385
|
+
- **`multi-search-criteria` Component**
|
386
|
+
|
387
|
+
- Added support for `mode` input to handle dynamic and static filtering.
|
388
|
+
- `mode` input can be set to `'dynamic'` or `'static'`. When set to `'dynamic'`, the component emits search criteria for backend filtering. When set to `'static'`, the component filters data locally.
|
389
|
+
- Fixed the bug in the `selectAll` functionality for multi-select filters.
|
390
|
+
- Users can select or deselect all options in a multi-select filter.
|
391
|
+
|
392
|
+
- **`ng-advanced-prime-table` Component**
|
393
|
+
- Added support for customizable amount formatting.
|
394
|
+
- New inputs for columns of type `AMOUNT`:
|
395
|
+
- `thousandSeparator` (`comma` or `space`): Specifies the character used for thousands separator.
|
396
|
+
- `decimalSeparator` (`comma` or `dot`): Specifies the character used for decimal separator.
|
397
|
+
- Updated the `customCurrency` pipe to handle optional currency display and customizable separators.
|
398
|
+
|
399
|
+
### Version 1.0.4
|
400
|
+
|
401
|
+
- Added `multi-search-criteria` component.
|
402
|
+
|
403
|
+
### Version 1.0.3
|
404
|
+
|
405
|
+
- Initial release with `ng-advanced-prime-table` component.
|
406
|
+
|
407
|
+
## License
|
408
|
+
|
409
|
+
This project is licensed under the MIT License.
|
@@ -1,3 +1,4 @@
|
|
1
1
|
// projects/ng-prime-tools/src/lib/enums/public_api.ts
|
2
2
|
export * from './table-type-enum';
|
3
|
-
|
3
|
+
export * from './search-criteria-type-enum';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXByaW1lLXRvb2xzL3NyYy9saWIvZW51bXMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxzREFBc0Q7QUFDdEQsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLDZCQUE2QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLy8gcHJvamVjdHMvbmctcHJpbWUtdG9vbHMvc3JjL2xpYi9lbnVtcy9wdWJsaWNfYXBpLnRzXG5leHBvcnQgKiBmcm9tICcuL3RhYmxlLXR5cGUtZW51bSc7XG5leHBvcnQgKiBmcm9tICcuL3NlYXJjaC1jcml0ZXJpYS10eXBlLWVudW0nO1xuIl19
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export var SearchCriteriaTypeEnum;
|
2
|
+
(function (SearchCriteriaTypeEnum) {
|
3
|
+
SearchCriteriaTypeEnum["DATE"] = "DATE";
|
4
|
+
SearchCriteriaTypeEnum["DATERANGE"] = "DATERANGE";
|
5
|
+
SearchCriteriaTypeEnum["STRING"] = "STRING";
|
6
|
+
SearchCriteriaTypeEnum["AMOUNT"] = "AMOUNT";
|
7
|
+
SearchCriteriaTypeEnum["NUMBER"] = "NUMBER";
|
8
|
+
SearchCriteriaTypeEnum["MULTISELECT"] = "MULTISELECT";
|
9
|
+
})(SearchCriteriaTypeEnum || (SearchCriteriaTypeEnum = {}));
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLWNyaXRlcmlhLXR5cGUtZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXByaW1lLXRvb2xzL3NyYy9saWIvZW51bXMvc2VhcmNoLWNyaXRlcmlhLXR5cGUtZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxzQkFPWDtBQVBELFdBQVksc0JBQXNCO0lBQ2hDLHVDQUFhLENBQUE7SUFDYixpREFBdUIsQ0FBQTtJQUN2QiwyQ0FBaUIsQ0FBQTtJQUNqQiwyQ0FBaUIsQ0FBQTtJQUNqQiwyQ0FBaUIsQ0FBQTtJQUNqQixxREFBMkIsQ0FBQTtBQUM3QixDQUFDLEVBUFcsc0JBQXNCLEtBQXRCLHNCQUFzQixRQU9qQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIFNlYXJjaENyaXRlcmlhVHlwZUVudW0ge1xuICBEQVRFID0gJ0RBVEUnLFxuICBEQVRFUkFOR0UgPSAnREFURVJBTkdFJyxcbiAgU1RSSU5HID0gJ1NUUklORycsXG4gIEFNT1VOVCA9ICdBTU9VTlQnLFxuICBOVU1CRVIgPSAnTlVNQkVSJyxcbiAgTVVMVElTRUxFQ1QgPSAnTVVMVElTRUxFQ1QnLFxufVxuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLW9wdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXByaW1lLXRvb2xzL3NyYy9saWIvbW9kZWxzL2ZpbHRlci1vcHRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgRmlsdGVyT3B0aW9uIHtcbiAgbGFiZWw6IHN0cmluZztcbiAgdmFsdWU6IHN0cmluZztcbn1cbiJdfQ==
|
@@ -1,3 +1,5 @@
|
|
1
1
|
// projects/ng-prime-tools/src/lib/models/public_api.ts
|
2
2
|
export * from './table-column';
|
3
|
-
|
3
|
+
export * from './search-criteria';
|
4
|
+
export * from './filter-option';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXByaW1lLXRvb2xzL3NyYy9saWIvbW9kZWxzL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsdURBQXVEO0FBQ3ZELGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLy8gcHJvamVjdHMvbmctcHJpbWUtdG9vbHMvc3JjL2xpYi9tb2RlbHMvcHVibGljX2FwaS50c1xuZXhwb3J0ICogZnJvbSAnLi90YWJsZS1jb2x1bW4nO1xuZXhwb3J0ICogZnJvbSAnLi9zZWFyY2gtY3JpdGVyaWEnO1xuZXhwb3J0ICogZnJvbSAnLi9maWx0ZXItb3B0aW9uJztcbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLWNyaXRlcmlhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctcHJpbWUtdG9vbHMvc3JjL2xpYi9tb2RlbHMvc2VhcmNoLWNyaXRlcmlhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBTZWFyY2hDcml0ZXJpYVR5cGVFbnVtIH0gZnJvbSAnLi4vZW51bXMvc2VhcmNoLWNyaXRlcmlhLXR5cGUtZW51bSc7XG5pbXBvcnQgeyBGaWx0ZXJPcHRpb24gfSBmcm9tICcuL2ZpbHRlci1vcHRpb24nO1xuXG5leHBvcnQgaW50ZXJmYWNlIFNlYXJjaENyaXRlcmlhIHtcbiAgdGl0bGU6IHN0cmluZztcbiAgY29kZTogc3RyaW5nO1xuICB0eXBlOiBTZWFyY2hDcml0ZXJpYVR5cGVFbnVtO1xuICB2YWx1ZT86IGFueTtcbiAgZmlsdGVyT3B0aW9ucz86IEZpbHRlck9wdGlvbltdO1xuICBjdXJyZW5jeT86IHN0cmluZztcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtY29sdW1uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctcHJpbWUtdG9vbHMvc3JjL2xpYi9tb2RlbHMvdGFibGUtY29sdW1uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBUYWJsZVR5cGVFbnVtIH0gZnJvbSAnLi4vZW51bXMvdGFibGUtdHlwZS1lbnVtJztcblxuZXhwb3J0IGludGVyZmFjZSBUYWJsZUNvbHVtbiB7XG4gIHRpdGxlOiBzdHJpbmc7XG4gIGNvZGU/OiBzdHJpbmc7XG4gIHR5cGU/OiBUYWJsZVR5cGVFbnVtO1xuICBvcHRpb25zPzogYW55W107XG4gIGlzRWRpdGFibGU/OiBib29sZWFuO1xuICBpc0ZpbHRlcj86IGJvb2xlYW47XG4gIGRhdGVGb3JtYXQ/OiBzdHJpbmc7XG4gIGN1cnJlbmN5Pzogc3RyaW5nO1xuICBmaWx0ZXJPcHRpb25zPzogYW55W107XG4gIGRlY2ltYWxQbGFjZXM/OiBudW1iZXI7XG4gIGlzU29ydGFibGU/
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtY29sdW1uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctcHJpbWUtdG9vbHMvc3JjL2xpYi9tb2RlbHMvdGFibGUtY29sdW1uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBUYWJsZVR5cGVFbnVtIH0gZnJvbSAnLi4vZW51bXMvdGFibGUtdHlwZS1lbnVtJztcblxuZXhwb3J0IGludGVyZmFjZSBUYWJsZUNvbHVtbiB7XG4gIHRpdGxlOiBzdHJpbmc7XG4gIGNvZGU/OiBzdHJpbmc7XG4gIHR5cGU/OiBUYWJsZVR5cGVFbnVtO1xuICBvcHRpb25zPzogYW55W107XG4gIGlzRWRpdGFibGU/OiBib29sZWFuO1xuICBpc0ZpbHRlcj86IGJvb2xlYW47XG4gIGRhdGVGb3JtYXQ/OiBzdHJpbmc7XG4gIGN1cnJlbmN5Pzogc3RyaW5nO1xuICBmaWx0ZXJPcHRpb25zPzogYW55W107XG4gIGRlY2ltYWxQbGFjZXM/OiBudW1iZXI7XG4gIGlzU29ydGFibGU/OiBib29sZWFuO1xuICB0aG91c2FuZFNlcGFyYXRvcj86ICdjb21tYScgfCAnc3BhY2UnO1xuICBkZWNpbWFsU2VwYXJhdG9yPzogJ2NvbW1hJyB8ICdkb3QnO1xufVxuIl19
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
/// <amd-module name="ng-prime-tools/multi-search-criteria" />
|
5
|
+
export * from './public_api';
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZy1wcmltZS10b29scy9zcmMvbGliL211bHRpLXNlYXJjaC1jcml0ZXJpYS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILDhEQUE4RDtBQUM5RCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cbi8vLyA8YW1kLW1vZHVsZSBuYW1lPVwibmctcHJpbWUtdG9vbHMvbXVsdGktc2VhcmNoLWNyaXRlcmlhXCIgLz5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|