@annalib/anna-core 17.0.5 → 17.1.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.
- package/esm2020/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +1 -1
- package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +537 -1
- package/esm2020/lib/anna-core-shared-lib/services/anna-sort.service.mjs +25 -1
- package/esm2020/lib/anna-core.module.mjs +6 -6
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +55 -188
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.mjs +41 -167
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.mjs +306 -0
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +58 -362
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +36 -1293
- package/esm2020/public-api.mjs +2 -2
- package/fesm2015/annalib-anna-core.mjs +2873 -3849
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +2899 -3875
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +1 -0
- package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +78 -0
- package/lib/anna-core-shared-lib/services/anna-sort.service.d.ts +2 -0
- package/lib/anna-core.module.d.ts +2 -2
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.d.ts +6 -18
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.d.ts +6 -21
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.d.ts +65 -0
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.d.ts +7 -28
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +6 -153
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
- package/src/lib/anna-common-scss/_filters.scss +14 -0
- package/esm2020/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.mjs +0 -22
- package/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.d.ts +0 -8
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -25,7 +25,6 @@ export * from "./lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe";
|
|
|
25
25
|
export * from "./lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe";
|
|
26
26
|
export * from "./lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe";
|
|
27
27
|
export * from "./lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe";
|
|
28
|
-
export * from "./lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe";
|
|
29
28
|
export * from "./lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive";
|
|
30
29
|
export * from './lib/anna-core-shared-lib/directives/digits-only/digits-only.directive';
|
|
31
30
|
export * from "./lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component";
|
|
@@ -36,5 +35,6 @@ export * from "./lib/anna-generic-table-lib/components/anna-table-virtual-scroll
|
|
|
36
35
|
export * from "./lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component";
|
|
37
36
|
export * from "./lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component";
|
|
38
37
|
export * from "./lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component";
|
|
38
|
+
export * from "./lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component";
|
|
39
39
|
export * from "./lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy";
|
|
40
40
|
export * from "./lib/anna-generic-table-lib/directives/anna-virtual-table";
|
|
@@ -697,3 +697,17 @@ input.error-border{
|
|
|
697
697
|
margin-top: 10px !important;
|
|
698
698
|
cursor: pointer;
|
|
699
699
|
}
|
|
700
|
+
|
|
701
|
+
.custom-column-checkbox-checked,
|
|
702
|
+
.custom-column-checkbox-unchecked {
|
|
703
|
+
font-size: 0.875rem;
|
|
704
|
+
cursor: pointer;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
.custom-column-checkbox-checked {
|
|
708
|
+
color: $primary-color;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
.custom-column-checkbox-unchecked {
|
|
712
|
+
color: $charcoal;
|
|
713
|
+
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import dayjs from 'dayjs';
|
|
3
|
-
import customParseFormat from "dayjs/plugin/isSameOrAfter";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class AnnaDateFormatterPipe {
|
|
6
|
-
constructor() {
|
|
7
|
-
}
|
|
8
|
-
transform(value, format) {
|
|
9
|
-
dayjs.extend(customParseFormat);
|
|
10
|
-
let formattedTime = dayjs(value).format(format);
|
|
11
|
-
return formattedTime;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
AnnaDateFormatterPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AnnaDateFormatterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
15
|
-
AnnaDateFormatterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AnnaDateFormatterPipe, name: "AnnaDateFormatter" });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AnnaDateFormatterPipe, decorators: [{
|
|
17
|
-
type: Pipe,
|
|
18
|
-
args: [{
|
|
19
|
-
name: 'AnnaDateFormatter'
|
|
20
|
-
}]
|
|
21
|
-
}], ctorParameters: function () { return []; } });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5uYURhdGVGb3JtYXR0ZXIucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FubmEtY29yZS9zcmMvbGliL2FubmEtY29yZS1zaGFyZWQtbGliL3BpcGVzL2FubmFEYXRlRm9ybWF0dGVyLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLElBQUksRUFBZ0IsTUFBTSxlQUFlLENBQUM7QUFDbEQsT0FBTyxLQUFLLE1BQU0sT0FBTyxDQUFDO0FBQzFCLE9BQU8saUJBQWlCLE1BQU0sNEJBQTRCLENBQUM7O0FBSzNELE1BQU0sT0FBTyxxQkFBcUI7SUFFaEM7SUFDQSxDQUFDO0lBRUQsU0FBUyxDQUFDLEtBQVUsRUFBRSxNQUFjO1FBQ2xDLEtBQUssQ0FBQyxNQUFNLENBQUMsaUJBQWlCLENBQUMsQ0FBQztRQUNoQyxJQUFJLGFBQWEsR0FBRyxLQUFLLENBQUMsS0FBSyxDQUFDLENBQUMsTUFBTSxDQUFDLE1BQU0sQ0FBQyxDQUFDO1FBQ2hELE9BQU8sYUFBYSxDQUFDO0lBQ3ZCLENBQUM7O21IQVRVLHFCQUFxQjtpSEFBckIscUJBQXFCOzRGQUFyQixxQkFBcUI7a0JBSGpDLElBQUk7bUJBQUM7b0JBQ0osSUFBSSxFQUFFLG1CQUFtQjtpQkFDMUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1BpcGUsIFBpcGVUcmFuc2Zvcm19IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgZGF5anMgZnJvbSAnZGF5anMnO1xyXG5pbXBvcnQgY3VzdG9tUGFyc2VGb3JtYXQgZnJvbSBcImRheWpzL3BsdWdpbi9pc1NhbWVPckFmdGVyXCI7XHJcblxyXG5AUGlwZSh7XHJcbiAgbmFtZTogJ0FubmFEYXRlRm9ybWF0dGVyJ1xyXG59KVxyXG5leHBvcnQgY2xhc3MgQW5uYURhdGVGb3JtYXR0ZXJQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XHJcblxyXG4gIGNvbnN0cnVjdG9yKCl7XHJcbiAgfVxyXG5cclxuICB0cmFuc2Zvcm0odmFsdWU6IGFueSwgZm9ybWF0OiBzdHJpbmcpOiBhbnkge1xyXG4gICAgZGF5anMuZXh0ZW5kKGN1c3RvbVBhcnNlRm9ybWF0KTtcclxuICAgIGxldCBmb3JtYXR0ZWRUaW1lID0gZGF5anModmFsdWUpLmZvcm1hdChmb3JtYXQpO1xyXG4gICAgcmV0dXJuIGZvcm1hdHRlZFRpbWU7XHJcbiAgfVxyXG5cclxufSJdfQ==
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AnnaDateFormatterPipe implements PipeTransform {
|
|
4
|
-
constructor();
|
|
5
|
-
transform(value: any, format: string): any;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaDateFormatterPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<AnnaDateFormatterPipe, "AnnaDateFormatter", false>;
|
|
8
|
-
}
|