@one-paragon/angular-utilities 0.1.1 → 0.1.2-8.beta
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/action-state/action-state-spinner/action-state-spinner.component.d.ts +1 -1
- package/action-state/ngrx.d.ts +1 -1
- package/esm2020/action-state/action-state-spinner/action-state-spinner.component.mjs +6 -6
- package/esm2020/action-state/action-state-ui/action-state-ui.module.mjs +6 -8
- package/esm2020/action-state/ngrx-ext/ngrx-ext.module.mjs +6 -8
- package/esm2020/action-state/ngrx.mjs +3 -3
- package/esm2020/http-request-state/HttpRequestStateFactory.mjs +3 -3
- package/esm2020/http-request-state/HttpRequestStateStore.mjs +31 -12
- package/esm2020/http-request-state/directives/HttpStateDirectiveBase.mjs +3 -3
- package/esm2020/http-request-state/directives/http-error-state-directive.mjs +3 -3
- package/esm2020/http-request-state/directives/http-inProgress-state-directive.mjs +3 -3
- package/esm2020/http-request-state/directives/http-notStarted-state-directive.mjs +3 -3
- package/esm2020/http-request-state/directives/http-success-state-directive.mjs +11 -6
- package/esm2020/http-request-state/directives/request-state-directive.mjs +7 -4
- package/esm2020/http-request-state/helpers.mjs +4 -1
- package/esm2020/http-request-state/http-state-module.mjs +5 -5
- package/esm2020/http-request-state/types.mjs +2 -1
- package/esm2020/ngrx/actionable-selector.mjs +76 -0
- package/esm2020/ngrx/index.mjs +2 -0
- package/esm2020/public-api.mjs +2 -1
- package/esm2020/rxjs/index.mjs +2 -1
- package/esm2020/rxjs/rxjs-operators.mjs +2 -2
- package/esm2020/rxjs/subjectifier.mjs +15 -0
- package/esm2020/table-builder/classes/TableState.mjs +13 -1
- package/esm2020/table-builder/classes/filter-info.mjs +3 -2
- package/esm2020/table-builder/classes/table-builder.mjs +7 -3
- package/esm2020/table-builder/classes/table-store.mjs +32 -10
- package/esm2020/table-builder/components/array-column.component.mjs +28 -28
- package/esm2020/table-builder/components/column-builder/column-builder.component.mjs +29 -17
- package/esm2020/table-builder/components/date-filter/date-filter.component.mjs +8 -8
- package/esm2020/table-builder/components/filter/filter.component.mjs +20 -20
- package/esm2020/table-builder/components/filter/in-list/in-list-filter.component.mjs +6 -6
- package/esm2020/table-builder/components/gen-col-displayer/gen-col-displayer.component.mjs +12 -12
- package/esm2020/table-builder/components/generic-table/generic-table.component.mjs +26 -13
- package/esm2020/table-builder/components/generic-table/paginator.component.mjs +7 -7
- package/esm2020/table-builder/components/group-by-list/group-by-list.component.mjs +22 -0
- package/esm2020/table-builder/components/header-menu/header-menu.component.mjs +17 -17
- package/esm2020/table-builder/components/in-filter/in-filter.component.mjs +5 -8
- package/esm2020/table-builder/components/index.mjs +2 -1
- package/esm2020/table-builder/components/initialization-component/initialization-component.mjs +10 -36
- package/esm2020/table-builder/components/link-column.component.mjs +66 -0
- package/esm2020/table-builder/components/number-filter/number-filter.component.mjs +9 -9
- package/esm2020/table-builder/components/sort-menu/sort-menu.component-store.mjs +3 -3
- package/esm2020/table-builder/components/sort-menu/sort-menu.component.mjs +14 -13
- package/esm2020/table-builder/components/table-container/table-container.mjs +103 -50
- package/esm2020/table-builder/components/table-container-filter/filter-list/filter-list.component.mjs +14 -14
- package/esm2020/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.mjs +11 -11
- package/esm2020/table-builder/components/table-container-filter/table-wrapper-filter-store.mjs +3 -3
- package/esm2020/table-builder/directives/custom-cell-directive.mjs +3 -3
- package/esm2020/table-builder/directives/index.mjs +2 -2
- package/esm2020/table-builder/directives/multi-sort.directive.mjs +3 -3
- package/esm2020/table-builder/directives/resize-column.directive.mjs +3 -3
- package/esm2020/table-builder/directives/table-wrapper.directive.mjs +10 -4
- package/esm2020/table-builder/directives/tb-filter.directive.mjs +80 -57
- package/esm2020/table-builder/interfaces/report-def.mjs +1 -1
- package/esm2020/table-builder/material.module.mjs +32 -48
- package/esm2020/table-builder/ngrx/effects.mjs +3 -3
- package/esm2020/table-builder/pipes/column-total.pipe.mjs +3 -3
- package/esm2020/table-builder/pipes/format-filter-type.pipe.mjs +3 -3
- package/esm2020/table-builder/pipes/format-filter-value.pipe.mjs +3 -3
- package/esm2020/table-builder/pipes/key-display.mjs +3 -3
- package/esm2020/table-builder/services/export-to-csv.service.mjs +6 -5
- package/esm2020/table-builder/services/link-creator.service.mjs +42 -0
- package/esm2020/table-builder/services/table-template-service.mjs +16 -10
- package/esm2020/table-builder/services/transform-creator.mjs +34 -14
- package/esm2020/table-builder/table-builder.module.mjs +29 -26
- package/esm2020/utilities/directives/auto-focus.directive.mjs +3 -3
- package/esm2020/utilities/directives/clickEmitterDirective.mjs +3 -3
- package/esm2020/utilities/directives/clickSubject.mjs +3 -3
- package/esm2020/utilities/directives/conditional-classes.directive.mjs +35 -0
- package/esm2020/utilities/directives/dialog-service.mjs +9 -9
- package/esm2020/utilities/directives/dialog.mjs +14 -8
- package/esm2020/utilities/directives/mat-toggle-group-directive.mjs +6 -5
- package/esm2020/utilities/directives/prevent-enter.directive.mjs +3 -3
- package/esm2020/utilities/directives/stop-propagation.directive.mjs +3 -3
- package/esm2020/utilities/directives/styler.mjs +3 -3
- package/esm2020/utilities/directives/trim-whitespace.directive.mjs +29 -0
- package/esm2020/utilities/index.mjs +3 -1
- package/esm2020/utilities/module.mjs +18 -8
- package/esm2020/utilities/pipes/function.pipe.mjs +3 -3
- package/esm2020/utilities/pipes/phone.pipe.mjs +3 -3
- package/esm2020/utilities/pipes/space-case.pipes.mjs +7 -7
- package/fesm2015/one-paragon-angular-utilities.mjs +1486 -1061
- package/fesm2015/one-paragon-angular-utilities.mjs.map +1 -1
- package/fesm2020/one-paragon-angular-utilities.mjs +1481 -1059
- package/fesm2020/one-paragon-angular-utilities.mjs.map +1 -1
- package/http-request-state/HttpRequestStateStore.d.ts +11 -3
- package/http-request-state/directives/HttpStateDirectiveBase.d.ts +1 -1
- package/http-request-state/directives/http-error-state-directive.d.ts +1 -1
- package/http-request-state/directives/http-inProgress-state-directive.d.ts +1 -1
- package/http-request-state/directives/http-notStarted-state-directive.d.ts +1 -1
- package/http-request-state/directives/http-success-state-directive.d.ts +9 -2
- package/http-request-state/directives/request-state-directive.d.ts +10 -4
- package/http-request-state/helpers.d.ts +1 -0
- package/http-request-state/rxjs/getRequestorState.d.ts +1 -1
- package/http-request-state/types.d.ts +6 -2
- package/ngrx/actionable-selector.d.ts +15 -0
- package/ngrx/index.d.ts +1 -0
- package/package.json +11 -11
- package/public-api.d.ts +1 -0
- package/rxjs/index.d.ts +1 -0
- package/rxjs/subjectifier.d.ts +9 -0
- package/table-builder/classes/TableState.d.ts +16 -1
- package/table-builder/classes/table-store.d.ts +14 -1
- package/table-builder/components/array-column.component.d.ts +1 -1
- package/table-builder/components/column-builder/column-builder.component.d.ts +6 -3
- package/table-builder/components/date-filter/date-filter.component.d.ts +1 -1
- package/table-builder/components/filter/filter.component.d.ts +1 -1
- package/table-builder/components/filter/in-list/in-list-filter.component.d.ts +1 -1
- package/table-builder/components/gen-col-displayer/gen-col-displayer.component.d.ts +1 -1
- package/table-builder/components/generic-table/generic-table.component.d.ts +7 -2
- package/table-builder/components/generic-table/paginator.component.d.ts +1 -1
- package/table-builder/components/group-by-list/group-by-list.component.d.ts +10 -0
- package/table-builder/components/header-menu/header-menu.component.d.ts +1 -1
- package/table-builder/components/in-filter/in-filter.component.d.ts +1 -2
- package/table-builder/components/index.d.ts +1 -0
- package/table-builder/components/initialization-component/initialization-component.d.ts +2 -12
- package/table-builder/components/link-column.component.d.ts +17 -0
- package/table-builder/components/number-filter/number-filter.component.d.ts +1 -1
- package/table-builder/components/sort-menu/sort-menu.component.d.ts +1 -1
- package/table-builder/components/table-container/table-container.d.ts +12 -4
- package/table-builder/components/table-container-filter/filter-list/filter-list.component.d.ts +1 -1
- package/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.d.ts +1 -1
- package/table-builder/directives/custom-cell-directive.d.ts +1 -1
- package/table-builder/directives/index.d.ts +1 -1
- package/table-builder/directives/multi-sort.directive.d.ts +1 -1
- package/table-builder/directives/resize-column.directive.d.ts +1 -1
- package/table-builder/directives/table-wrapper.directive.d.ts +3 -1
- package/table-builder/directives/tb-filter.directive.d.ts +27 -26
- package/table-builder/interfaces/report-def.d.ts +14 -2
- package/table-builder/material.module.d.ts +15 -17
- package/table-builder/ngrx/selectors.d.ts +6 -6
- package/table-builder/pipes/column-total.pipe.d.ts +1 -1
- package/table-builder/pipes/format-filter-type.pipe.d.ts +1 -1
- package/table-builder/pipes/format-filter-value.pipe.d.ts +1 -1
- package/table-builder/pipes/key-display.d.ts +1 -1
- package/table-builder/services/link-creator.service.d.ts +12 -0
- package/table-builder/services/table-template-service.d.ts +2 -2
- package/table-builder/services/transform-creator.d.ts +3 -1
- package/table-builder/table-builder.module.d.ts +24 -22
- package/utilities/directives/auto-focus.directive.d.ts +1 -1
- package/utilities/directives/clickEmitterDirective.d.ts +1 -1
- package/utilities/directives/clickSubject.d.ts +1 -1
- package/utilities/directives/conditional-classes.directive.d.ts +14 -0
- package/utilities/directives/dialog-service.d.ts +2 -2
- package/utilities/directives/dialog.d.ts +3 -2
- package/utilities/directives/mat-toggle-group-directive.d.ts +1 -1
- package/utilities/directives/prevent-enter.directive.d.ts +1 -1
- package/utilities/directives/stop-propagation.directive.d.ts +1 -1
- package/utilities/directives/styler.d.ts +1 -1
- package/utilities/directives/trim-whitespace.directive.d.ts +9 -0
- package/utilities/index.d.ts +2 -0
- package/utilities/module.d.ts +7 -5
- package/utilities/pipes/function.pipe.d.ts +1 -1
- package/utilities/pipes/phone.pipe.d.ts +1 -1
- package/utilities/pipes/space-case.pipes.d.ts +1 -1
- /package/{one-paragon-angular-utilities.d.ts → index.d.ts} +0 -0
|
@@ -4,12 +4,12 @@ import { map } from 'rxjs/operators';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "../../../classes/table-store";
|
|
6
6
|
import * as i2 from "../table-wrapper-filter-store";
|
|
7
|
-
import * as i3 from "@angular/
|
|
8
|
-
import * as i4 from "@angular/material/
|
|
9
|
-
import * as i5 from "@angular/material/
|
|
10
|
-
import * as i6 from "
|
|
11
|
-
import * as i7 from "@angular/material/
|
|
12
|
-
import * as i8 from "
|
|
7
|
+
import * as i3 from "@angular/common";
|
|
8
|
+
import * as i4 from "@angular/material/button";
|
|
9
|
+
import * as i5 from "@angular/material/tooltip";
|
|
10
|
+
import * as i6 from "@angular/material/menu";
|
|
11
|
+
import * as i7 from "@angular/material/icon";
|
|
12
|
+
import * as i8 from "../../../../utilities/directives/stop-propagation.directive";
|
|
13
13
|
import * as i9 from "../../../../utilities/pipes/space-case.pipes";
|
|
14
14
|
export class GenFilterDisplayerComponent {
|
|
15
15
|
constructor(tableState, filterStore) {
|
|
@@ -21,10 +21,10 @@ export class GenFilterDisplayerComponent {
|
|
|
21
21
|
this.filterStore.addFilter({ key: metaData.key, fieldType: metaData.fieldType });
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
GenFilterDisplayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
25
|
-
GenFilterDisplayerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
24
|
+
GenFilterDisplayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: GenFilterDisplayerComponent, deps: [{ token: i1.TableStore }, { token: i2.WrapperFilterStore }], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
+
GenFilterDisplayerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: GenFilterDisplayerComponent, selector: "tb-filter-displayer", ngImport: i0, template: "<button stop-propagation class=\"filter-button\" mat-icon-button [matMenuTriggerFor]=\"menu\" matTooltip=\"Add Filter\">\n <mat-icon class=\"filter-icon\" color=\"primary\">filter_list</mat-icon>\n</button>\n<mat-menu #menu=\"matMenu\">\n <button *ngFor=\"let md of filterCols$ | async\" (click)=\"addFilter(md)\" mat-menu-item>\n <span class=\"filter-labels\">{{md.displayName || (md.key | spaceCase)}}</span>\n </button>\n</mat-menu>\n", styles: [".filter{margin:15px;display:inline-block}.filter-button{color:#6495ed;font-size:22px;font-weight:700}.cancel-button{margin-right:30px;font-weight:700}.filter-wrapper{margin-top:1em;margin-bottom:1em;float:right}.menu{margin-bottom:10px;width:109.1%}.filter-labels{color:#6495ed;font-size:17px;font-weight:600}.float{position:absolute;width:-moz-fit-content;width:fit-content;z-index:101;top:10px;right:180px;max-width:90vw}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i6.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i6.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i6.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i8.StopPropagationDirective, selector: "[stop-propagation]" }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i9.SpaceCasePipe, name: "spaceCase" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: GenFilterDisplayerComponent, decorators: [{
|
|
27
27
|
type: Component,
|
|
28
|
-
args: [{ selector: 'tb-filter-displayer', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button stop-propagation class=\"filter-button\" mat-icon-button [matMenuTriggerFor]=\"menu\" matTooltip=\"Add Filter\">\n <mat-icon class=\"filter-icon\" color=\"primary\">filter_list</mat-icon>\n</button>\n<mat-menu #menu=\"matMenu\">\n <button
|
|
28
|
+
args: [{ selector: 'tb-filter-displayer', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button stop-propagation class=\"filter-button\" mat-icon-button [matMenuTriggerFor]=\"menu\" matTooltip=\"Add Filter\">\n <mat-icon class=\"filter-icon\" color=\"primary\">filter_list</mat-icon>\n</button>\n<mat-menu #menu=\"matMenu\">\n <button *ngFor=\"let md of filterCols$ | async\" (click)=\"addFilter(md)\" mat-menu-item>\n <span class=\"filter-labels\">{{md.displayName || (md.key | spaceCase)}}</span>\n </button>\n</mat-menu>\n", styles: [".filter{margin:15px;display:inline-block}.filter-button{color:#6495ed;font-size:22px;font-weight:700}.cancel-button{margin-right:30px;font-weight:700}.filter-wrapper{margin-top:1em;margin-bottom:1em;float:right}.menu{margin-bottom:10px;width:109.1%}.filter-labels{color:#6495ed;font-size:17px;font-weight:600}.float{position:absolute;width:-moz-fit-content;width:fit-content;z-index:101;top:10px;right:180px;max-width:90vw}\n"] }]
|
|
29
29
|
}], ctorParameters: function () { return [{ type: i1.TableStore }, { type: i2.WrapperFilterStore }]; } });
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuLWZpbHRlci1kaXNwbGF5ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci11dGlsaXRpZXMvc3JjL3RhYmxlLWJ1aWxkZXIvY29tcG9uZW50cy90YWJsZS1jb250YWluZXItZmlsdGVyL2dlbi1maWx0ZXItZGlzcGxheWVyL2dlbi1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IDxzcGFuIGNsYXNzPVwiZmlsdGVyLWxhYmVsc1wiPnt7bWQuZGlzcGxheU5hbWUgfHwgKG1kLmtleSB8IHNwYWNlQ2FzZSl9fTwvc3Bhbj5cbiAgPC9idXR0b24+XG48L21hdC1tZW51PlxuIl19
|
package/esm2020/table-builder/components/table-container-filter/table-wrapper-filter-store.mjs
CHANGED
|
@@ -17,9 +17,9 @@ export class WrapperFilterStore extends ComponentStore {
|
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
WrapperFilterStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
21
|
-
WrapperFilterStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
WrapperFilterStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: WrapperFilterStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
21
|
+
WrapperFilterStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: WrapperFilterStore });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: WrapperFilterStore, decorators: [{
|
|
23
23
|
type: Injectable
|
|
24
24
|
}], ctorParameters: function () { return []; } });
|
|
25
25
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtd3JhcHBlci1maWx0ZXItc3RvcmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLXV0aWxpdGllcy9zcmMvdGFibGUtYnVpbGRlci9jb21wb25lbnRzL3RhYmxlLWNvbnRhaW5lci1maWx0ZXIvdGFibGUtd3JhcHBl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UobWFwKHN0YXRlID0+IHN0YXRlLmZpbHRlckluZm8pKTtcblxuICBhZGRGaWx0ZXIgPSB0aGlzLnVwZGF0ZXIoKHN0YXRlLGZpbHRlcjpQYXJ0aWFsRmlsdGVyKT0+e1xuICAgIHJldHVybiAoey4uLnN0YXRlLGZpbHRlckluZm86Wy4uLnN0YXRlLmZpbHRlckluZm8sZmlsdGVyXX0pO1xuICB9KVxufVxuIl19
|
|
@@ -32,9 +32,9 @@ export class CustomCellDirective {
|
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
CustomCellDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
CustomCellDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
35
|
+
CustomCellDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: CustomCellDirective, deps: [{ token: i0.TemplateRef, optional: true }, { token: i1.CdkColumnDef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
36
|
+
CustomCellDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: CustomCellDirective, selector: "[customCell]", inputs: { customCell: "customCell", displayName: "displayName", preSort: "preSort", TemplateRef: "TemplateRef", customCellOrder: "customCellOrder", customCellWidth: "customCellWidth" }, ngImport: i0 });
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: CustomCellDirective, decorators: [{
|
|
38
38
|
type: Directive,
|
|
39
39
|
args: [{
|
|
40
40
|
selector: '[customCell]',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from './custom-cell-directive';
|
|
2
2
|
export * from './multi-sort.directive';
|
|
3
3
|
export * from './resize-column.directive';
|
|
4
|
-
export * from './tb-filter.directive';
|
|
5
4
|
export * from './table-wrapper.directive';
|
|
6
|
-
|
|
5
|
+
export * from './tb-filter.directive';
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLXV0aWxpdGllcy9zcmMvdGFibGUtYnVpbGRlci9kaXJlY3RpdmVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLDJCQUEyQixDQUFDO0FBQzFDLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyx1QkFBdUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY3VzdG9tLWNlbGwtZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vbXVsdGktc29ydC5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9yZXNpemUtY29sdW1uLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL3RhYmxlLXdyYXBwZXIuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vdGItZmlsdGVyLmRpcmVjdGl2ZSc7XG5cbiJdfQ==
|
|
@@ -24,11 +24,11 @@ export class MultiSortDirective extends MatSort {
|
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
MultiSortDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
28
|
-
MultiSortDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
27
|
+
MultiSortDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: MultiSortDirective, deps: [{ token: i1.TableStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
28
|
+
MultiSortDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: MultiSortDirective, selector: "[multiSort]", inputs: { disabled: ["matSortDisabled", "disabled"] }, providers: [
|
|
29
29
|
{ provide: MatSort, useExisting: MultiSortDirective }
|
|
30
30
|
], exportAs: ["multiSort"], usesInheritance: true, ngImport: i0 });
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: MultiSortDirective, decorators: [{
|
|
32
32
|
type: Directive,
|
|
33
33
|
args: [{
|
|
34
34
|
selector: '[multiSort]',
|
|
@@ -70,9 +70,9 @@ export class ResizeColumnDirective {
|
|
|
70
70
|
return ({ newTableWidth, newColumnWidth });
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
ResizeColumnDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
74
|
-
ResizeColumnDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
73
|
+
ResizeColumnDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ResizeColumnDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.TableStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
74
|
+
ResizeColumnDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: ResizeColumnDirective, selector: "[resizeColumn]", inputs: { resizable: ["resizeColumn", "resizable"], key: "key" }, ngImport: i0 });
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ResizeColumnDirective, decorators: [{
|
|
76
76
|
type: Directive,
|
|
77
77
|
args: [{
|
|
78
78
|
selector: "[resizeColumn]",
|
|
@@ -2,10 +2,16 @@ import { ContentChildren, Directive } from "@angular/core";
|
|
|
2
2
|
import { TableCustomFilterDirective, TableFilterDirective } from "./tb-filter.directive";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export class TableWrapperDirective {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.registerations = [];
|
|
7
|
+
}
|
|
8
|
+
register(filter) {
|
|
9
|
+
this.registerations.push(filter);
|
|
10
|
+
}
|
|
5
11
|
}
|
|
6
|
-
TableWrapperDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7
|
-
TableWrapperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12
|
+
TableWrapperDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TableWrapperDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
13
|
+
TableWrapperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: TableWrapperDirective, selector: "[tbWrapper]", queries: [{ propertyName: "customFilters", predicate: TableCustomFilterDirective, descendants: true }, { propertyName: "filters", predicate: TableFilterDirective, descendants: true }], ngImport: i0 });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TableWrapperDirective, decorators: [{
|
|
9
15
|
type: Directive,
|
|
10
16
|
args: [{
|
|
11
17
|
selector: '[tbWrapper]'
|
|
@@ -17,4 +23,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImpor
|
|
|
17
23
|
type: ContentChildren,
|
|
18
24
|
args: [TableFilterDirective, { descendants: true }]
|
|
19
25
|
}] } });
|
|
20
|
-
//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