@one-paragon/angular-utilities 2.2.6 → 2.2.7
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 +12 -0
- package/action-state/action-state-ui/action-state-ui.module.d.ts +7 -0
- package/{src/action-state/index.ts → action-state/index.d.ts} +4 -8
- package/action-state/ngrx-ext/ngrx-ext.module.d.ts +8 -0
- package/action-state/ngrx.d.ts +31 -0
- package/fesm2022/one-paragon-angular-utilities.mjs +6565 -0
- package/fesm2022/one-paragon-angular-utilities.mjs.map +1 -0
- package/http-request-state/RequestStateFactory.d.ts +17 -0
- package/http-request-state/RequestStateStore.d.ts +101 -0
- package/{src/http-request-state/deprecated.ts → http-request-state/deprecated.d.ts} +20 -20
- package/http-request-state/directives/HttpStateDirectiveBase.d.ts +14 -0
- package/http-request-state/directives/http-error-state-directive.d.ts +10 -0
- package/http-request-state/directives/http-inProgress-state-directive.d.ts +10 -0
- package/http-request-state/directives/http-notStarted-state-directive.d.ts +10 -0
- package/http-request-state/directives/http-success-state-directive.d.ts +17 -0
- package/{src/http-request-state/directives/index.ts → http-request-state/directives/index.d.ts} +5 -5
- package/http-request-state/directives/request-state-directive.d.ts +34 -0
- package/http-request-state/helpers.d.ts +9 -0
- package/http-request-state/http-state-module.d.ts +11 -0
- package/{src/http-request-state/index.ts → http-request-state/index.d.ts} +7 -7
- package/http-request-state/request-state.d.ts +12 -0
- package/http-request-state/rxjs/getRequestorBody.d.ts +3 -0
- package/http-request-state/rxjs/getRequestorState.d.ts +3 -0
- package/{src/http-request-state/rxjs/index.ts → http-request-state/rxjs/index.d.ts} +4 -4
- package/http-request-state/rxjs/tapError.d.ts +3 -0
- package/http-request-state/rxjs/tapSuccess.d.ts +3 -0
- package/http-request-state/types.d.ts +41 -0
- package/index.d.ts +5 -0
- package/ngrx/actionable-selector.d.ts +32 -0
- package/ngrx/index.d.ts +1 -0
- package/package.json +27 -15
- package/{src/public-api.ts → public-api.d.ts} +16 -35
- package/rxjs/defaultShareReplay.d.ts +2 -0
- package/{src/rxjs/index.ts → rxjs/index.d.ts} +5 -5
- package/rxjs/mapError.d.ts +2 -0
- package/rxjs/rxjs-operators.d.ts +13 -0
- package/rxjs/subjectifier.d.ts +10 -0
- package/rxjs/subscriber.directive.d.ts +14 -0
- package/table-builder/classes/DefaultSettings.d.ts +9 -0
- package/table-builder/classes/MatTableObservableDataSource.d.ts +9 -0
- package/table-builder/classes/TableBuilderConfig.d.ts +31 -0
- package/table-builder/classes/TableBuilderDataSource.d.ts +18 -0
- package/table-builder/classes/TableState.d.ts +81 -0
- package/table-builder/classes/data-store.d.ts +8 -0
- package/{src/table-builder/classes/display-col.ts → table-builder/classes/display-col.d.ts} +5 -5
- package/table-builder/classes/filter-info.d.ts +39 -0
- package/table-builder/classes/table-builder-general-settings.d.ts +122 -0
- package/table-builder/classes/table-builder.d.ts +22 -0
- package/table-builder/classes/table-store.d.ts +146 -0
- package/table-builder/classes/table-store.helpers.d.ts +31 -0
- package/table-builder/components/array-column.component.d.ts +15 -0
- package/table-builder/components/column-builder/column-builder.component.d.ts +41 -0
- package/table-builder/components/column-builder/column-helpers.d.ts +38 -0
- package/table-builder/components/column-header-menu/column-header-menu.component.d.ts +50 -0
- package/table-builder/components/date-filter/date-filter.component.d.ts +37 -0
- package/table-builder/components/date-time-filter/date-time-filter.component.d.ts +37 -0
- package/table-builder/components/filter/filter.component.d.ts +48 -0
- package/table-builder/components/filter/in-list/in-list-filter.component.d.ts +22 -0
- package/table-builder/components/gen-col-displayer/gen-col-displayer.component.d.ts +17 -0
- package/table-builder/components/generic-table/generic-table.component.d.ts +85 -0
- package/table-builder/components/generic-table/paginator.component.d.ts +26 -0
- package/table-builder/components/group-by-list/group-by-list.component.d.ts +11 -0
- package/table-builder/components/in-filter/in-filter.component.d.ts +20 -0
- package/{src/table-builder/components/index.ts → table-builder/components/index.d.ts} +9 -9
- package/table-builder/components/initialization-component/initialization.component.d.ts +15 -0
- package/table-builder/components/link-column.component.d.ts +23 -0
- package/table-builder/components/number-filter/number-filter.component.d.ts +39 -0
- package/table-builder/components/profiles-menu/profiles-menu.component.d.ts +33 -0
- package/table-builder/components/reset-menu/reset-menu.component.d.ts +25 -0
- package/table-builder/components/scroll-strategy.d.ts +45 -0
- package/table-builder/components/sort-menu/sort-menu.component-store.d.ts +24 -0
- package/table-builder/components/sort-menu/sort-menu.component.d.ts +19 -0
- package/table-builder/components/table-container/table-container.component.d.ts +104 -0
- package/table-builder/components/table-container/table-container.helpers/data-state.helpers.d.ts +7 -0
- package/table-builder/components/table-container/table-container.helpers/filter-state.helpers.d.ts +19 -0
- package/table-builder/components/table-container/table-container.helpers/groupBy.helpers.d.ts +19 -0
- package/table-builder/components/table-container/table-container.helpers/meta-data.helpers.d.ts +2 -0
- package/table-builder/components/table-container/table-container.helpers/sort-state.helpers.d.ts +12 -0
- package/table-builder/components/table-container/tableProps.d.ts +10 -0
- package/table-builder/components/table-container/virtual-scroll-container.d.ts +40 -0
- package/table-builder/components/table-container-filter/filter-list/filter-list.component.d.ts +15 -0
- package/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.d.ts +12 -0
- package/table-builder/components/table-container-filter/table-wrapper-filter-store.d.ts +14 -0
- package/table-builder/components/table-header-menu/table-header-menu.component.d.ts +15 -0
- package/table-builder/directives/custom-cell-directive.d.ts +34 -0
- package/{src/table-builder/directives/index.ts → table-builder/directives/index.d.ts} +5 -6
- package/table-builder/directives/multi-sort.directive.d.ts +10 -0
- package/table-builder/directives/resize-column.directive.d.ts +43 -0
- package/table-builder/directives/table-wrapper.directive.d.ts +8 -0
- package/table-builder/directives/tb-filter.directive.d.ts +116 -0
- package/table-builder/enums/filterTypes.d.ts +36 -0
- package/table-builder/functions/boolean-filter-function.d.ts +3 -0
- package/table-builder/functions/date-filter-function.d.ts +4 -0
- package/table-builder/functions/download-data.d.ts +1 -0
- package/table-builder/functions/null-filter-function.d.ts +2 -0
- package/table-builder/functions/number-filter-function.d.ts +4 -0
- package/table-builder/functions/sort-data-function.d.ts +6 -0
- package/table-builder/functions/string-filter-function.d.ts +5 -0
- package/{src/table-builder/interfaces/ColumnInfo.ts → table-builder/interfaces/ColumnInfo.d.ts} +6 -7
- package/{src/table-builder/interfaces/dictionary.ts → table-builder/interfaces/dictionary.d.ts} +3 -3
- package/table-builder/interfaces/report-def.d.ts +229 -0
- package/table-builder/ngrx/tableBuilderStateStore.d.ts +69 -0
- package/table-builder/pipes/column-total.pipe.d.ts +8 -0
- package/table-builder/pipes/format-filter-type.pipe.d.ts +8 -0
- package/table-builder/pipes/format-filter-value.pipe.d.ts +11 -0
- package/table-builder/pipes/key-display.d.ts +9 -0
- package/table-builder/services/export-to-csv.service.d.ts +22 -0
- package/table-builder/services/link-creator.service.d.ts +16 -0
- package/table-builder/services/table-template-service.d.ts +14 -0
- package/table-builder/services/transform-creator.d.ts +9 -0
- package/table-builder/table-builder.module.d.ts +14 -0
- package/utilities/array-helpers.d.ts +1 -0
- package/utilities/directives/auto-focus.directive.d.ts +9 -0
- package/utilities/directives/clickEmitterDirective.d.ts +7 -0
- package/utilities/directives/clickSubject.d.ts +9 -0
- package/utilities/directives/conditional-classes.directive.d.ts +12 -0
- package/utilities/directives/dialog-service.d.ts +10 -0
- package/utilities/directives/dialog.d.ts +45 -0
- package/utilities/directives/mat-toggle-group-directive.d.ts +21 -0
- package/utilities/directives/prevent-enter.directive.d.ts +6 -0
- package/utilities/directives/stop-propagation.directive.d.ts +7 -0
- package/utilities/directives/styler.d.ts +16 -0
- package/utilities/directives/trim-whitespace.directive.d.ts +7 -0
- package/{src/utilities/index.ts → utilities/index.d.ts} +15 -22
- package/utilities/module.d.ts +19 -0
- package/utilities/pipes/function.pipe.d.ts +11 -0
- package/utilities/pipes/phone.pipe.d.ts +8 -0
- package/utilities/pipes/space-case.pipes.d.ts +17 -0
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -7
- package/src/action-state/action-state-spinner/action-state-spinner.component.css +0 -16
- package/src/action-state/action-state-spinner/action-state-spinner.component.html +0 -7
- package/src/action-state/action-state-spinner/action-state-spinner.component.spec.ts +0 -25
- package/src/action-state/action-state-spinner/action-state-spinner.component.ts +0 -25
- package/src/action-state/action-state-ui/action-state-ui.module.ts +0 -13
- package/src/action-state/ngrx-ext/ngrx-ext.module.ts +0 -14
- package/src/action-state/ngrx.ts +0 -69
- package/src/http-request-state/RequestStateFactory.ts +0 -56
- package/src/http-request-state/RequestStateStore.ts +0 -284
- package/src/http-request-state/directives/HttpStateDirectiveBase.ts +0 -29
- package/src/http-request-state/directives/http-error-state-directive.ts +0 -21
- package/src/http-request-state/directives/http-inProgress-state-directive.ts +0 -19
- package/src/http-request-state/directives/http-notStarted-state-directive.ts +0 -19
- package/src/http-request-state/directives/http-success-state-directive.ts +0 -29
- package/src/http-request-state/directives/request-state-directive.spec.ts +0 -73
- package/src/http-request-state/directives/request-state-directive.ts +0 -78
- package/src/http-request-state/helpers.ts +0 -30
- package/src/http-request-state/http-state-module.ts +0 -23
- package/src/http-request-state/models/view-context.ts +0 -18
- package/src/http-request-state/observable.spec.ts +0 -43
- package/src/http-request-state/request-state.ts +0 -66
- package/src/http-request-state/rxjs/getRequestorBody.ts +0 -10
- package/src/http-request-state/rxjs/getRequestorState.ts +0 -8
- package/src/http-request-state/rxjs/tapError.ts +0 -16
- package/src/http-request-state/rxjs/tapSuccess.ts +0 -16
- package/src/http-request-state/strategies.spec.ts +0 -42
- package/src/http-request-state/types.ts +0 -54
- package/src/ngrx/actionable-selector.ts +0 -160
- package/src/ngrx/index.ts +0 -1
- package/src/rxjs/defaultShareReplay.ts +0 -8
- package/src/rxjs/mapError.ts +0 -8
- package/src/rxjs/rxjs-operators.ts +0 -130
- package/src/rxjs/subjectifier.ts +0 -17
- package/src/rxjs/subscriber.directive.ts +0 -57
- package/src/specs/clickSubject.spec.ts +0 -95
- package/src/specs/dialog.spec.ts +0 -101
- package/src/specs/toggleGroupDirective.spec.ts +0 -229
- package/src/table-builder/classes/DefaultSettings.ts +0 -11
- package/src/table-builder/classes/MatTableObservableDataSource.ts +0 -23
- package/src/table-builder/classes/TableBuilderConfig.ts +0 -50
- package/src/table-builder/classes/TableBuilderDataSource.ts +0 -64
- package/src/table-builder/classes/TableState.ts +0 -125
- package/src/table-builder/classes/data-store.ts +0 -10
- package/src/table-builder/classes/filter-info.ts +0 -125
- package/src/table-builder/classes/table-builder-general-settings.ts +0 -205
- package/src/table-builder/classes/table-builder.ts +0 -105
- package/src/table-builder/classes/table-store.helpers.ts +0 -104
- package/src/table-builder/classes/table-store.ts +0 -440
- package/src/table-builder/components/array-column.component.ts +0 -34
- package/src/table-builder/components/column-builder/column-builder.component.html +0 -87
- package/src/table-builder/components/column-builder/column-builder.component.scss +0 -43
- package/src/table-builder/components/column-builder/column-builder.component.spec.ts +0 -49
- package/src/table-builder/components/column-builder/column-builder.component.ts +0 -129
- package/src/table-builder/components/column-builder/column-helpers.ts +0 -54
- package/src/table-builder/components/column-header-menu/column-header-menu.component.html +0 -110
- package/src/table-builder/components/column-header-menu/column-header-menu.component.scss +0 -97
- package/src/table-builder/components/column-header-menu/column-header-menu.component.ts +0 -94
- package/src/table-builder/components/date-filter/date-filter.component.html +0 -25
- package/src/table-builder/components/date-filter/date-filter.component.ts +0 -22
- package/src/table-builder/components/date-time-filter/date-time-filter.component.html +0 -11
- package/src/table-builder/components/date-time-filter/date-time-filter.component.ts +0 -20
- package/src/table-builder/components/filter/filter.component.html +0 -109
- package/src/table-builder/components/filter/filter.component.scss +0 -60
- package/src/table-builder/components/filter/filter.component.spec.ts +0 -86
- package/src/table-builder/components/filter/filter.component.ts +0 -64
- package/src/table-builder/components/filter/in-list/in-list-filter.component.ts +0 -102
- package/src/table-builder/components/gen-col-displayer/gen-col-displayer.component.html +0 -60
- package/src/table-builder/components/gen-col-displayer/gen-col-displayer.component.scss +0 -57
- package/src/table-builder/components/gen-col-displayer/gen-col-displayer.component.ts +0 -44
- package/src/table-builder/components/generic-table/generic-table.component.html +0 -97
- package/src/table-builder/components/generic-table/generic-table.component.scss +0 -38
- package/src/table-builder/components/generic-table/generic-table.component.ts +0 -403
- package/src/table-builder/components/generic-table/paginator.component.ts +0 -112
- package/src/table-builder/components/group-by-list/group-by-list.component.css +0 -17
- package/src/table-builder/components/group-by-list/group-by-list.component.html +0 -14
- package/src/table-builder/components/group-by-list/group-by-list.component.spec.ts +0 -23
- package/src/table-builder/components/group-by-list/group-by-list.component.ts +0 -25
- package/src/table-builder/components/in-filter/in-filter.component.css +0 -3
- package/src/table-builder/components/in-filter/in-filter.component.html +0 -23
- package/src/table-builder/components/in-filter/in-filter.component.ts +0 -65
- package/src/table-builder/components/initialization-component/initialization.component.html +0 -78
- package/src/table-builder/components/initialization-component/initialization.component.ts +0 -27
- package/src/table-builder/components/link-column.component.ts +0 -42
- package/src/table-builder/components/number-filter/number-filter.component.css +0 -10
- package/src/table-builder/components/number-filter/number-filter.component.html +0 -25
- package/src/table-builder/components/number-filter/number-filter.component.spec.ts +0 -30
- package/src/table-builder/components/number-filter/number-filter.component.ts +0 -25
- package/src/table-builder/components/profiles-menu/profiles-menu.component.html +0 -77
- package/src/table-builder/components/profiles-menu/profiles-menu.component.scss +0 -126
- package/src/table-builder/components/profiles-menu/profiles-menu.component.spec.ts +0 -23
- package/src/table-builder/components/profiles-menu/profiles-menu.component.ts +0 -63
- package/src/table-builder/components/reset-menu/reset-menu.component.css +0 -3
- package/src/table-builder/components/reset-menu/reset-menu.component.html +0 -10
- package/src/table-builder/components/reset-menu/reset-menu.component.ts +0 -87
- package/src/table-builder/components/scroll-strategy.ts +0 -139
- package/src/table-builder/components/sort-menu/sort-menu.component-store.ts +0 -57
- package/src/table-builder/components/sort-menu/sort-menu.component.html +0 -115
- package/src/table-builder/components/sort-menu/sort-menu.component.scss +0 -119
- package/src/table-builder/components/sort-menu/sort-menu.component.ts +0 -88
- package/src/table-builder/components/table-container/table-container.component.html +0 -81
- package/src/table-builder/components/table-container/table-container.component.ts +0 -403
- package/src/table-builder/components/table-container/table-container.helpers/data-state.helpers.ts +0 -113
- package/src/table-builder/components/table-container/table-container.helpers/filter-state.helpers.ts +0 -125
- package/src/table-builder/components/table-container/table-container.helpers/groupBy.helpers.ts +0 -122
- package/src/table-builder/components/table-container/table-container.helpers/meta-data.helpers.ts +0 -16
- package/src/table-builder/components/table-container/table-container.helpers/sort-state.helpers.ts +0 -47
- package/src/table-builder/components/table-container/table-container.scss +0 -47
- package/src/table-builder/components/table-container/tableProps.ts +0 -18
- package/src/table-builder/components/table-container/virtual-scroll-container.ts +0 -216
- package/src/table-builder/components/table-container-filter/filter-list/filter-list.component.html +0 -35
- package/src/table-builder/components/table-container-filter/filter-list/filter-list.component.ts +0 -44
- package/src/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.css +0 -40
- package/src/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.html +0 -11
- package/src/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.spec.ts +0 -85
- package/src/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.ts +0 -36
- package/src/table-builder/components/table-container-filter/table-wrapper-filter-store.ts +0 -23
- package/src/table-builder/components/table-header-menu/table-header-menu.component.css +0 -21
- package/src/table-builder/components/table-header-menu/table-header-menu.component.html +0 -50
- package/src/table-builder/components/table-header-menu/table-header-menu.component.ts +0 -35
- package/src/table-builder/directives/custom-cell-directive.ts +0 -57
- package/src/table-builder/directives/multi-sort.directive.spec.ts +0 -124
- package/src/table-builder/directives/multi-sort.directive.ts +0 -50
- package/src/table-builder/directives/resize-column.directive.ts +0 -107
- package/src/table-builder/directives/table-wrapper.directive.ts +0 -13
- package/src/table-builder/directives/tb-filter.directive.ts +0 -376
- package/src/table-builder/enums/filterTypes.ts +0 -40
- package/src/table-builder/functions/boolean-filter-function.ts +0 -12
- package/src/table-builder/functions/date-filter-function.ts +0 -78
- package/src/table-builder/functions/download-data.ts +0 -11
- package/src/table-builder/functions/null-filter-function.ts +0 -9
- package/src/table-builder/functions/number-filter-function.ts +0 -41
- package/src/table-builder/functions/sort-data-function.ts +0 -80
- package/src/table-builder/functions/string-filter-function.ts +0 -53
- package/src/table-builder/interfaces/report-def.ts +0 -254
- package/src/table-builder/ngrx/tableBuilderStateStore.ts +0 -197
- package/src/table-builder/pipes/column-total.pipe.ts +0 -16
- package/src/table-builder/pipes/format-filter-type.pipe.ts +0 -12
- package/src/table-builder/pipes/format-filter-value.pipe.ts +0 -67
- package/src/table-builder/pipes/key-display.ts +0 -13
- package/src/table-builder/services/export-to-csv.service.ts +0 -113
- package/src/table-builder/services/link-creator.service.ts +0 -98
- package/src/table-builder/services/table-template-service.ts +0 -47
- package/src/table-builder/services/transform-creator.ts +0 -96
- package/src/table-builder/specs/table-custom-filters.spec.ts +0 -262
- package/src/table-builder/styles/collapser.styles.scss +0 -16
- package/src/table-builder/table-builder.module.ts +0 -38
- package/src/test.ts +0 -17
- package/src/utilities/array-helpers.ts +0 -13
- package/src/utilities/directives/auto-focus.directive.ts +0 -20
- package/src/utilities/directives/clickEmitterDirective.ts +0 -15
- package/src/utilities/directives/clickSubject.ts +0 -19
- package/src/utilities/directives/conditional-classes.directive.ts +0 -36
- package/src/utilities/directives/dialog-service.ts +0 -19
- package/src/utilities/directives/dialog.ts +0 -144
- package/src/utilities/directives/mat-toggle-group-directive.ts +0 -60
- package/src/utilities/directives/prevent-enter.directive.ts +0 -12
- package/src/utilities/directives/stop-propagation.directive.ts +0 -19
- package/src/utilities/directives/styler.ts +0 -44
- package/src/utilities/directives/trim-whitespace.directive.ts +0 -20
- package/src/utilities/module.ts +0 -53
- package/src/utilities/pipes/function.pipe.ts +0 -21
- package/src/utilities/pipes/phone.pipe.ts +0 -20
- package/src/utilities/pipes/space-case.pipes.spec.ts +0 -47
- package/src/utilities/pipes/space-case.pipes.ts +0 -26
- package/tsconfig.lib.json +0 -20
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { FieldType, MetaData } from '../../interfaces/report-def';
|
|
2
|
+
import { FilterType } from '../../enums/filterTypes';
|
|
3
|
+
import { FilterInfo } from '../../classes/filter-info';
|
|
4
|
+
import { TableStore } from '../../classes/table-store';
|
|
5
|
+
import { MatMenuTrigger } from '@angular/material/menu';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ColumnHeaderMenuComponent {
|
|
8
|
+
protected tableState: TableStore;
|
|
9
|
+
FieldType: typeof FieldType;
|
|
10
|
+
FilterType: {
|
|
11
|
+
readonly NumberEquals: "Equals";
|
|
12
|
+
readonly NumberNotEqual: "Does Not Equal";
|
|
13
|
+
readonly NumberGreaterThan: "Greater Than";
|
|
14
|
+
readonly NumberLessThan: "Less Than";
|
|
15
|
+
readonly NumberBetween: "Between";
|
|
16
|
+
readonly StringEquals: "Equals";
|
|
17
|
+
readonly StringContains: "Contains";
|
|
18
|
+
readonly StringDoesNotContain: "Does Not Contain";
|
|
19
|
+
readonly StringStartWith: "Start With";
|
|
20
|
+
readonly StringEndsWith: "Ends With";
|
|
21
|
+
readonly DateIsOn: "Is on";
|
|
22
|
+
readonly DateIsNotOn: "Is Not On";
|
|
23
|
+
readonly DateOnOrAfter: "On or After";
|
|
24
|
+
readonly DateOnOrBefore: "On or Before";
|
|
25
|
+
readonly DateBetween: "Between";
|
|
26
|
+
readonly DateTimeIsAt: "Is At";
|
|
27
|
+
readonly DateTimeIsNotAt: "Is Not At";
|
|
28
|
+
readonly DateTimeAtOrAfter: "At or After";
|
|
29
|
+
readonly DateTimeAtOrBefore: "At or Before";
|
|
30
|
+
readonly DateTimeBetween: "Between";
|
|
31
|
+
readonly BooleanEquals: "Is";
|
|
32
|
+
readonly IsNull: "Is Blank";
|
|
33
|
+
readonly Or: "Or";
|
|
34
|
+
readonly And: "And";
|
|
35
|
+
readonly In: "In";
|
|
36
|
+
readonly Custom: "Custom";
|
|
37
|
+
};
|
|
38
|
+
$metaData: import("@angular/core").InputSignal<MetaData>;
|
|
39
|
+
$fieldType: import("@angular/core").Signal<FieldType>;
|
|
40
|
+
$trigger: import("@angular/core").Signal<MatMenuTrigger | undefined>;
|
|
41
|
+
hideField(key: string): void;
|
|
42
|
+
$metaFilterType: import("@angular/core").Signal<FilterType>;
|
|
43
|
+
$currentFilterType: import("@angular/core").WritableSignal<FilterType>;
|
|
44
|
+
$key: import("@angular/core").Signal<string>;
|
|
45
|
+
setStringFilterType(): void;
|
|
46
|
+
setFilterType(filterType: FilterType): void;
|
|
47
|
+
onEnter(filter: FilterInfo, metaData: MetaData): void;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnHeaderMenuComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnHeaderMenuComponent, "tb-header-menu", never, { "$metaData": { "alias": "metaData"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { PartialFilter } from '../../classes/filter-info';
|
|
2
|
+
import { FilterType } from '../../enums/filterTypes';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DateFilterComponent {
|
|
5
|
+
FilterType: {
|
|
6
|
+
readonly NumberEquals: "Equals";
|
|
7
|
+
readonly NumberNotEqual: "Does Not Equal";
|
|
8
|
+
readonly NumberGreaterThan: "Greater Than";
|
|
9
|
+
readonly NumberLessThan: "Less Than";
|
|
10
|
+
readonly NumberBetween: "Between";
|
|
11
|
+
readonly StringEquals: "Equals";
|
|
12
|
+
readonly StringContains: "Contains";
|
|
13
|
+
readonly StringDoesNotContain: "Does Not Contain";
|
|
14
|
+
readonly StringStartWith: "Start With";
|
|
15
|
+
readonly StringEndsWith: "Ends With";
|
|
16
|
+
readonly DateIsOn: "Is on";
|
|
17
|
+
readonly DateIsNotOn: "Is Not On";
|
|
18
|
+
readonly DateOnOrAfter: "On or After";
|
|
19
|
+
readonly DateOnOrBefore: "On or Before";
|
|
20
|
+
readonly DateBetween: "Between";
|
|
21
|
+
readonly DateTimeIsAt: "Is At";
|
|
22
|
+
readonly DateTimeIsNotAt: "Is Not At";
|
|
23
|
+
readonly DateTimeAtOrAfter: "At or After";
|
|
24
|
+
readonly DateTimeAtOrBefore: "At or Before";
|
|
25
|
+
readonly DateTimeBetween: "Between";
|
|
26
|
+
readonly BooleanEquals: "Is";
|
|
27
|
+
readonly IsNull: "Is Blank";
|
|
28
|
+
readonly Or: "Or";
|
|
29
|
+
readonly And: "And";
|
|
30
|
+
readonly In: "In";
|
|
31
|
+
readonly Custom: "Custom";
|
|
32
|
+
};
|
|
33
|
+
info: PartialFilter;
|
|
34
|
+
CurrentFilterType: FilterType;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateFilterComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateFilterComponent, "tb-date-filter", never, { "info": { "alias": "info"; "required": false; }; "CurrentFilterType": { "alias": "CurrentFilterType"; "required": false; }; }, {}, never, never, true, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { PartialFilter } from '../../classes/filter-info';
|
|
2
|
+
import { FilterType } from '../../enums/filterTypes';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DateTimeFilterComponent {
|
|
5
|
+
FilterType: {
|
|
6
|
+
readonly NumberEquals: "Equals";
|
|
7
|
+
readonly NumberNotEqual: "Does Not Equal";
|
|
8
|
+
readonly NumberGreaterThan: "Greater Than";
|
|
9
|
+
readonly NumberLessThan: "Less Than";
|
|
10
|
+
readonly NumberBetween: "Between";
|
|
11
|
+
readonly StringEquals: "Equals";
|
|
12
|
+
readonly StringContains: "Contains";
|
|
13
|
+
readonly StringDoesNotContain: "Does Not Contain";
|
|
14
|
+
readonly StringStartWith: "Start With";
|
|
15
|
+
readonly StringEndsWith: "Ends With";
|
|
16
|
+
readonly DateIsOn: "Is on";
|
|
17
|
+
readonly DateIsNotOn: "Is Not On";
|
|
18
|
+
readonly DateOnOrAfter: "On or After";
|
|
19
|
+
readonly DateOnOrBefore: "On or Before";
|
|
20
|
+
readonly DateBetween: "Between";
|
|
21
|
+
readonly DateTimeIsAt: "Is At";
|
|
22
|
+
readonly DateTimeIsNotAt: "Is Not At";
|
|
23
|
+
readonly DateTimeAtOrAfter: "At or After";
|
|
24
|
+
readonly DateTimeAtOrBefore: "At or Before";
|
|
25
|
+
readonly DateTimeBetween: "Between";
|
|
26
|
+
readonly BooleanEquals: "Is";
|
|
27
|
+
readonly IsNull: "Is Blank";
|
|
28
|
+
readonly Or: "Or";
|
|
29
|
+
readonly And: "And";
|
|
30
|
+
readonly In: "In";
|
|
31
|
+
readonly Custom: "Custom";
|
|
32
|
+
};
|
|
33
|
+
info: PartialFilter;
|
|
34
|
+
CurrentFilterType: FilterType;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeFilterComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimeFilterComponent, "tb-date-time-filter", never, { "info": { "alias": "info"; "required": false; }; "CurrentFilterType": { "alias": "CurrentFilterType"; "required": false; }; }, {}, never, never, true, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { FilterInfo, PartialFilter } from '../../classes/filter-info';
|
|
2
|
+
import { TableStore } from '../../classes/table-store';
|
|
3
|
+
import { FilterType } from '../../enums/filterTypes';
|
|
4
|
+
import { FieldType } from '../../interfaces/report-def';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FilterComponent {
|
|
7
|
+
protected state: TableStore;
|
|
8
|
+
filterTypes: Record<FieldType, FilterType[]>;
|
|
9
|
+
FilterType: {
|
|
10
|
+
readonly NumberEquals: "Equals";
|
|
11
|
+
readonly NumberNotEqual: "Does Not Equal";
|
|
12
|
+
readonly NumberGreaterThan: "Greater Than";
|
|
13
|
+
readonly NumberLessThan: "Less Than";
|
|
14
|
+
readonly NumberBetween: "Between";
|
|
15
|
+
readonly StringEquals: "Equals";
|
|
16
|
+
readonly StringContains: "Contains";
|
|
17
|
+
readonly StringDoesNotContain: "Does Not Contain";
|
|
18
|
+
readonly StringStartWith: "Start With";
|
|
19
|
+
readonly StringEndsWith: "Ends With";
|
|
20
|
+
readonly DateIsOn: "Is on";
|
|
21
|
+
readonly DateIsNotOn: "Is Not On";
|
|
22
|
+
readonly DateOnOrAfter: "On or After";
|
|
23
|
+
readonly DateOnOrBefore: "On or Before";
|
|
24
|
+
readonly DateBetween: "Between";
|
|
25
|
+
readonly DateTimeIsAt: "Is At";
|
|
26
|
+
readonly DateTimeIsNotAt: "Is Not At";
|
|
27
|
+
readonly DateTimeAtOrAfter: "At or After";
|
|
28
|
+
readonly DateTimeAtOrBefore: "At or Before";
|
|
29
|
+
readonly DateTimeBetween: "Between";
|
|
30
|
+
readonly BooleanEquals: "Is";
|
|
31
|
+
readonly IsNull: "Is Blank";
|
|
32
|
+
readonly Or: "Or";
|
|
33
|
+
readonly And: "And";
|
|
34
|
+
readonly In: "In";
|
|
35
|
+
readonly Custom: "Custom";
|
|
36
|
+
};
|
|
37
|
+
FieldType: typeof FieldType;
|
|
38
|
+
$filter: import("@angular/core").InputSignalWithTransform<PartialFilter, PartialFilter>;
|
|
39
|
+
close: import("@angular/core").OutputEmitterRef<void>;
|
|
40
|
+
$enteredFilterType: import("@angular/core").WritableSignal<FilterType | undefined>;
|
|
41
|
+
$currentFilterType: import("@angular/core").Signal<FilterType | undefined>;
|
|
42
|
+
$availableFilterTypes: import("@angular/core").Signal<FilterType[]>;
|
|
43
|
+
$filterBy: import("@angular/core").Signal<((t: any) => any) | undefined>;
|
|
44
|
+
onEnter(filter: FilterInfo, event: any): void;
|
|
45
|
+
addFilter(filter: FilterInfo): void;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "tb-filter", never, { "$filter": { "alias": "filter"; "required": true; "isSignal": true; }; }, { "close": "close"; }, never, never, true, never>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import { FieldType } from '../../../interfaces/report-def';
|
|
3
|
+
import { KeyValue } from '@angular/common';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InListFilterComponent implements ControlValueAccessor {
|
|
6
|
+
private ref;
|
|
7
|
+
private tableState;
|
|
8
|
+
value: (string | number)[];
|
|
9
|
+
FieldType: typeof FieldType;
|
|
10
|
+
writeValue(obj: string[]): void;
|
|
11
|
+
onChange: (_: any) => void;
|
|
12
|
+
registerOnChange(fn: any): void;
|
|
13
|
+
onTouched: () => void;
|
|
14
|
+
registerOnTouched(fn: any): void;
|
|
15
|
+
$key: import("@angular/core").InputSignal<string>;
|
|
16
|
+
$selectedKeys: import("@angular/core").WritableSignal<(string | number)[]>;
|
|
17
|
+
$metaData: import("@angular/core").Signal<import("../../../interfaces/report-def").MetaData>;
|
|
18
|
+
$keyValues: import("@angular/core").Signal<KeyValue<string, any>[]>;
|
|
19
|
+
selectFilterChanged($event: any, val: any): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InListFilterComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InListFilterComponent, "tb-in-list-filter , [tb-in-list-filter]", never, { "$key": { "alias": "key"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DisplayCol } from '../../classes/display-col';
|
|
2
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class GenColDisplayerComponent {
|
|
5
|
+
private tableState;
|
|
6
|
+
$columns: import("@angular/core").Signal<{
|
|
7
|
+
key: string;
|
|
8
|
+
displayName: string | undefined;
|
|
9
|
+
isVisible: boolean;
|
|
10
|
+
}[]>;
|
|
11
|
+
reset(displayCols: DisplayCol[]): void;
|
|
12
|
+
drop(event: CdkDragDrop<string[]>): void;
|
|
13
|
+
unset(displayCols: DisplayCol[]): void;
|
|
14
|
+
emit(displayCols: DisplayCol[]): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GenColDisplayerComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GenColDisplayerComponent, "tb-col-displayer", never, {}, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { MatFooterRowDef, MatHeaderRowDef, MatRowDef, MatTable, MatTableDataSource } from '@angular/material/table';
|
|
3
|
+
import { SelectionChange, SelectionModel } from '@angular/cdk/collections';
|
|
4
|
+
import { TableStore } from '../../classes/table-store';
|
|
5
|
+
import { ColumnBuilderComponent } from '../column-builder/column-builder.component';
|
|
6
|
+
import { Dictionary } from '../../interfaces/dictionary';
|
|
7
|
+
import { ColumnInfo } from '../../interfaces/ColumnInfo';
|
|
8
|
+
import { CdkDragDrop, CdkDropList } from '@angular/cdk/drag-drop';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class GenericTableComponent {
|
|
11
|
+
#private;
|
|
12
|
+
protected state: TableStore;
|
|
13
|
+
private dataStore;
|
|
14
|
+
private viewContainer;
|
|
15
|
+
private config;
|
|
16
|
+
private _injector;
|
|
17
|
+
smallFooter: number;
|
|
18
|
+
$headerRow: import("@angular/core").Signal<MatHeaderRowDef | undefined>;
|
|
19
|
+
$footerRow: import("@angular/core").Signal<MatFooterRowDef | undefined>;
|
|
20
|
+
$table: import("@angular/core").Signal<MatTable<any> | undefined>;
|
|
21
|
+
$dropList: import("@angular/core").Signal<CdkDropList<any> | undefined>;
|
|
22
|
+
selection$: import("@angular/core").OutputEmitterRef<SelectionChange<any>>;
|
|
23
|
+
$displayDataLength: import("@angular/core").InputSignal<number>;
|
|
24
|
+
$data: import("@angular/core").InputSignal<any[]>;
|
|
25
|
+
$rows: import("@angular/core").InputSignal<MatRowDef<any>[]>;
|
|
26
|
+
$columnInfos: import("@angular/core").InputSignal<ColumnInfo[]>;
|
|
27
|
+
$dataSource: import("@angular/core").InputSignal<MatTableDataSource<any, import("@angular/material/paginator").MatPaginator>>;
|
|
28
|
+
$keys: import("@angular/core").Signal<string[]>;
|
|
29
|
+
keys$: import("rxjs").Observable<string[]>;
|
|
30
|
+
$trackBy: import("@angular/core").InputSignal<string | undefined>;
|
|
31
|
+
$trackByFunction: import("@angular/core").Signal<(index: number, item: any) => any>;
|
|
32
|
+
$hasFooterMeta: import("@angular/core").Signal<boolean>;
|
|
33
|
+
$hasCustomFooter: import("@angular/core").Signal<boolean>;
|
|
34
|
+
$footerRowStyle: import("@angular/core").Signal<"regular-footer" | "no-footer" | "small-footer">;
|
|
35
|
+
$showFooterRow: import("@angular/core").Signal<boolean>;
|
|
36
|
+
injector: Injector;
|
|
37
|
+
$hasIndexColumn: import("@angular/core").Signal<boolean>;
|
|
38
|
+
$columns: import("@angular/core").WritableSignal<Dictionary<ColumnBuilderComponent>>;
|
|
39
|
+
$showHeader: import("@angular/core").Signal<boolean>;
|
|
40
|
+
$offset: import("@angular/core").Signal<number>;
|
|
41
|
+
drop(event: CdkDragDrop<string[]>): void;
|
|
42
|
+
$usePaginator: import("@angular/core").Signal<boolean>;
|
|
43
|
+
$useVirtualScroll: import("@angular/core").Signal<boolean>;
|
|
44
|
+
$virtualStart: import("@angular/core").Signal<number>;
|
|
45
|
+
$offsetIndex: import("@angular/core").Signal<number>;
|
|
46
|
+
rowClicked(t: any, event?: MouseEvent): void;
|
|
47
|
+
isGroupHeader(_: number, row: {
|
|
48
|
+
isGroupHeader: boolean;
|
|
49
|
+
}): boolean;
|
|
50
|
+
setExpanded(key: string, groupKey: string, isExpanded: boolean): void;
|
|
51
|
+
buildColumn(column: ColumnInfo): void;
|
|
52
|
+
$hasSelectColumn: import("@angular/core").Signal<boolean>;
|
|
53
|
+
$selection: import("@angular/core").Signal<SelectionModel<any>>;
|
|
54
|
+
selectionChange$: import("rxjs").Observable<SelectionChange<any>>;
|
|
55
|
+
$selectionChange: import("@angular/core").Signal<SelectionChange<any> | undefined>;
|
|
56
|
+
onSelectionChangeEffect: import("@angular/core").EffectRef;
|
|
57
|
+
$isAllSelected: import("@angular/core").Signal<boolean>;
|
|
58
|
+
$masterToggleChecked: import("@angular/core").Signal<boolean>;
|
|
59
|
+
$masterToggleIndeterminate: import("@angular/core").Signal<boolean>;
|
|
60
|
+
$paginated: import("@angular/core").Signal<boolean>;
|
|
61
|
+
$selectableData: import("@angular/core").Signal<any[]>;
|
|
62
|
+
$selectAllMessage: import("@angular/core").Signal<string>;
|
|
63
|
+
/** Selects all rows if they are not all selected; otherwise clear selection. */
|
|
64
|
+
masterToggle(): void;
|
|
65
|
+
$tableWidth: import("@angular/core").WritableSignal<{
|
|
66
|
+
width: string;
|
|
67
|
+
}>;
|
|
68
|
+
getTransform: (key: string, val: string) => import("@angular/core").Signal<any>;
|
|
69
|
+
$rowHeight: import("@angular/core").Signal<string | undefined>;
|
|
70
|
+
$headerHeight: import("@angular/core").Signal<string | undefined>;
|
|
71
|
+
$groupHeaderHeight: import("@angular/core").Signal<string | undefined>;
|
|
72
|
+
$footerHeight: import("@angular/core").Signal<string | undefined>;
|
|
73
|
+
$stickyFooter: import("@angular/core").Signal<boolean | undefined>;
|
|
74
|
+
$rowStyles: import("@angular/core").Signal<import("../../../utilities").StylerStyle>;
|
|
75
|
+
$rowClasses: import("@angular/core").Signal<Dictionary<true | import("@angular/core").Predicate<any>>>;
|
|
76
|
+
allOfGroupSelected: (uniqueName: string) => import("@angular/core").Signal<{
|
|
77
|
+
containsAll: boolean;
|
|
78
|
+
containsSome: boolean;
|
|
79
|
+
length: number;
|
|
80
|
+
}>;
|
|
81
|
+
toggleGroup: (uniqueName: string, allSelected: boolean) => void;
|
|
82
|
+
toggleGroupMessage: (amountOfItems: number, allSelected: boolean) => string;
|
|
83
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GenericTableComponent, never>;
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GenericTableComponent, "tb-generic-table", never, { "$displayDataLength": { "alias": "displayDataLength"; "required": true; "isSignal": true; }; "$data": { "alias": "data"; "required": true; "isSignal": true; }; "$rows": { "alias": "rows"; "required": false; "isSignal": true; }; "$columnInfos": { "alias": "columnInfos"; "required": true; "isSignal": true; }; "$dataSource": { "alias": "dataSource"; "required": true; "isSignal": true; }; "$trackBy": { "alias": "trackBy"; "required": false; "isSignal": true; }; }, { "selection$": "selection"; }, never, never, true, never>;
|
|
85
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { MatPaginator, PageEvent } from '@angular/material/paginator';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PaginatorComponent {
|
|
4
|
+
#private;
|
|
5
|
+
private state;
|
|
6
|
+
private data;
|
|
7
|
+
$paginator: import("@angular/core").Signal<MatPaginator | undefined>;
|
|
8
|
+
$dataLength: import("@angular/core").Signal<number>;
|
|
9
|
+
$viewableDataLength: import("@angular/core").Signal<number>;
|
|
10
|
+
pageEvent$: import("rxjs").Observable<PageEvent>;
|
|
11
|
+
$pageEvent: import("@angular/core").Signal<PageEvent | undefined>;
|
|
12
|
+
$pageIndexChangeEvent: import("@angular/core").Signal<number | undefined>;
|
|
13
|
+
$pageSizeChangeEvent: import("@angular/core").Signal<number | undefined>;
|
|
14
|
+
$currentPageData: import("@angular/core").Signal<{
|
|
15
|
+
total: number;
|
|
16
|
+
currentStart: number;
|
|
17
|
+
currentEnd: number;
|
|
18
|
+
} | undefined>;
|
|
19
|
+
onDataLengthEffect: import("@angular/core").EffectRef;
|
|
20
|
+
$collapseFooter: import("@angular/core").Signal<boolean>;
|
|
21
|
+
$showAllOption: import("@angular/core").Signal<boolean | undefined>;
|
|
22
|
+
$showAll: import("@angular/core").Signal<boolean>;
|
|
23
|
+
showAll(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaginatorComponent, "tb-paginator", never, {}, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TableStore } from '../../classes/table-store';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GroupByListComponent {
|
|
4
|
+
tableStore: TableStore;
|
|
5
|
+
$groups: import("@angular/core").Signal<{
|
|
6
|
+
key: string;
|
|
7
|
+
name: string;
|
|
8
|
+
}[]>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GroupByListComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GroupByListComponent, "group-by-list", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import { FieldType } from '../../interfaces/report-def';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class InFilterComponent implements ControlValueAccessor {
|
|
5
|
+
private ref;
|
|
6
|
+
FieldType: typeof FieldType;
|
|
7
|
+
$type: import("@angular/core").InputSignal<FieldType>;
|
|
8
|
+
value: (string | number | undefined)[];
|
|
9
|
+
constructor();
|
|
10
|
+
writeValue(obj: any[]): void;
|
|
11
|
+
onChange: (_: any) => void;
|
|
12
|
+
registerOnChange(fn: any): void;
|
|
13
|
+
onTouched: () => void;
|
|
14
|
+
registerOnTouched(fn: any): void;
|
|
15
|
+
addInput(): void;
|
|
16
|
+
removeInput(index: number): void;
|
|
17
|
+
onValueChange(i: number, value: number | string): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InFilterComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InFilterComponent, "lib-in-filter", never, { "$type": { "alias": "type"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from './date-filter/date-filter.component';
|
|
2
|
-
export * from './filter/filter.component';
|
|
3
|
-
export * from './gen-col-displayer/gen-col-displayer.component';
|
|
4
|
-
export * from './table-container-filter/gen-filter-displayer/gen-filter-displayer.component';
|
|
5
|
-
export * from './table-container-filter/filter-list/filter-list.component';
|
|
6
|
-
export * from './generic-table/generic-table.component';
|
|
7
|
-
export * from './table-container/table-container.component';
|
|
8
|
-
export * from './generic-table/paginator.component';
|
|
9
|
-
export * from './group-by-list/group-by-list.component';
|
|
1
|
+
export * from './date-filter/date-filter.component';
|
|
2
|
+
export * from './filter/filter.component';
|
|
3
|
+
export * from './gen-col-displayer/gen-col-displayer.component';
|
|
4
|
+
export * from './table-container-filter/gen-filter-displayer/gen-filter-displayer.component';
|
|
5
|
+
export * from './table-container-filter/filter-list/filter-list.component';
|
|
6
|
+
export * from './generic-table/generic-table.component';
|
|
7
|
+
export * from './table-container/table-container.component';
|
|
8
|
+
export * from './generic-table/paginator.component';
|
|
9
|
+
export * from './group-by-list/group-by-list.component';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TemplateRef } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class InitializationComponent {
|
|
4
|
+
$linkTemplate: import("@angular/core").Signal<TemplateRef<any>>;
|
|
5
|
+
$routerLinkTemplate: import("@angular/core").Signal<TemplateRef<any>>;
|
|
6
|
+
$linkWithIconTemplate: import("@angular/core").Signal<TemplateRef<any>>;
|
|
7
|
+
$routerLinkWithIconTemplate: import("@angular/core").Signal<TemplateRef<any>>;
|
|
8
|
+
$imageUrlTemplate: import("@angular/core").Signal<TemplateRef<any>>;
|
|
9
|
+
$arrayNewLineTemplate: import("@angular/core").Signal<TemplateRef<any>>;
|
|
10
|
+
$arrayCommaTemplate: import("@angular/core").Signal<TemplateRef<any>>;
|
|
11
|
+
$defaultTemplate: import("@angular/core").Signal<TemplateRef<any>>;
|
|
12
|
+
$defaultWithIcon: import("@angular/core").Signal<TemplateRef<any>>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InitializationComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InitializationComponent, "initialization", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { LinkInfo } from "../services/link-creator.service";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RouterLinkColumnComponent {
|
|
4
|
+
additional: import("@angular/core").InputSignal<LinkInfo>;
|
|
5
|
+
element: import("@angular/core").InputSignal<any>;
|
|
6
|
+
queryParams: import("@angular/core").Signal<any>;
|
|
7
|
+
routerLinkOptions: import("@angular/core").Signal<{
|
|
8
|
+
queryParams: (element: any) => any;
|
|
9
|
+
fragment?: string;
|
|
10
|
+
preserveFragment?: boolean;
|
|
11
|
+
queryParamsHandling?: import("@angular/router").QueryParamsHandling;
|
|
12
|
+
}>;
|
|
13
|
+
link: import("@angular/core").InputSignal<string>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RouterLinkColumnComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RouterLinkColumnComponent, "tb-router-link-column", never, { "additional": { "alias": "additional"; "required": true; "isSignal": true; }; "element": { "alias": "element"; "required": true; "isSignal": true; }; "link": { "alias": "link"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
16
|
+
}
|
|
17
|
+
export declare class LinkColumnComponent {
|
|
18
|
+
element: import("@angular/core").InputSignal<any>;
|
|
19
|
+
additional: import("@angular/core").InputSignal<LinkInfo>;
|
|
20
|
+
link: import("@angular/core").InputSignal<string>;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LinkColumnComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LinkColumnComponent, "tb-link-column", never, { "element": { "alias": "element"; "required": true; "isSignal": true; }; "additional": { "alias": "additional"; "required": true; "isSignal": true; }; "link": { "alias": "link"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { FilterType } from '../../enums/filterTypes';
|
|
2
|
+
import { PartialFilter } from '../../classes/filter-info';
|
|
3
|
+
import { FieldType } from '../../interfaces/report-def';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class NumberFilterComponent {
|
|
6
|
+
FilterType: {
|
|
7
|
+
readonly NumberEquals: "Equals";
|
|
8
|
+
readonly NumberNotEqual: "Does Not Equal";
|
|
9
|
+
readonly NumberGreaterThan: "Greater Than";
|
|
10
|
+
readonly NumberLessThan: "Less Than";
|
|
11
|
+
readonly NumberBetween: "Between";
|
|
12
|
+
readonly StringEquals: "Equals";
|
|
13
|
+
readonly StringContains: "Contains";
|
|
14
|
+
readonly StringDoesNotContain: "Does Not Contain";
|
|
15
|
+
readonly StringStartWith: "Start With";
|
|
16
|
+
readonly StringEndsWith: "Ends With";
|
|
17
|
+
readonly DateIsOn: "Is on";
|
|
18
|
+
readonly DateIsNotOn: "Is Not On";
|
|
19
|
+
readonly DateOnOrAfter: "On or After";
|
|
20
|
+
readonly DateOnOrBefore: "On or Before";
|
|
21
|
+
readonly DateBetween: "Between";
|
|
22
|
+
readonly DateTimeIsAt: "Is At";
|
|
23
|
+
readonly DateTimeIsNotAt: "Is Not At";
|
|
24
|
+
readonly DateTimeAtOrAfter: "At or After";
|
|
25
|
+
readonly DateTimeAtOrBefore: "At or Before";
|
|
26
|
+
readonly DateTimeBetween: "Between";
|
|
27
|
+
readonly BooleanEquals: "Is";
|
|
28
|
+
readonly IsNull: "Is Blank";
|
|
29
|
+
readonly Or: "Or";
|
|
30
|
+
readonly And: "And";
|
|
31
|
+
readonly In: "In";
|
|
32
|
+
readonly Custom: "Custom";
|
|
33
|
+
};
|
|
34
|
+
FieldType: typeof FieldType;
|
|
35
|
+
$currentFilterType: import("@angular/core").InputSignal<FilterType>;
|
|
36
|
+
$info: import("@angular/core").InputSignal<PartialFilter>;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberFilterComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberFilterComponent, "tb-number-filter", never, { "$currentFilterType": { "alias": "CurrentFilterType"; "required": true; "isSignal": true; }; "$info": { "alias": "info"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { TableBuilderStateStore } from '../../ngrx/tableBuilderStateStore';
|
|
2
|
+
import { MatMenu, MatMenuTrigger } from '@angular/material/menu';
|
|
3
|
+
import { TableStore } from '../../classes/table-store';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ProfilesMenuComponent {
|
|
7
|
+
stateService: TableBuilderStateStore;
|
|
8
|
+
tableStore: TableStore;
|
|
9
|
+
$tableId: import("@angular/core").InputSignal<string>;
|
|
10
|
+
$isMatMenuChild: import("@angular/core").InputSignal<boolean>;
|
|
11
|
+
trigger: import("@angular/core").Signal<MatMenuTrigger | undefined>;
|
|
12
|
+
menu: import("@angular/core").Signal<MatMenu>;
|
|
13
|
+
allProfilesPanelOpened: import("@angular/core").WritableSignal<boolean>;
|
|
14
|
+
newProfilePanelOpened: import("@angular/core").WritableSignal<boolean>;
|
|
15
|
+
$currentProfile: import("@angular/core").Signal<string | undefined>;
|
|
16
|
+
$defaultProfile: import("@angular/core").Signal<string | undefined>;
|
|
17
|
+
$keys: import("@angular/core").Signal<string[]>;
|
|
18
|
+
saveState(key: string): void;
|
|
19
|
+
addState(key: string, asDefault: boolean): void;
|
|
20
|
+
setDefault(key: string): void;
|
|
21
|
+
unsetDefault(): void;
|
|
22
|
+
defaultName: string;
|
|
23
|
+
position$: Subject<{
|
|
24
|
+
top: string;
|
|
25
|
+
right: string;
|
|
26
|
+
} | undefined>;
|
|
27
|
+
setPosition: (e: HTMLElement) => {
|
|
28
|
+
right: string;
|
|
29
|
+
top: string;
|
|
30
|
+
} | undefined;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProfilesMenuComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProfilesMenuComponent, "tb-profiles-menu", never, { "$tableId": { "alias": "tableId"; "required": true; "isSignal": true; }; "$isMatMenuChild": { "alias": "isMatMenuChild"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MatMenu } from '@angular/material/menu';
|
|
2
|
+
import { TableContainerComponent } from '../table-container/table-container.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ResetMenuComponent {
|
|
5
|
+
menu: import("@angular/core").Signal<MatMenu>;
|
|
6
|
+
protected tableContainer: TableContainerComponent<any>;
|
|
7
|
+
state: import("../../classes/table-store").TableStore;
|
|
8
|
+
onStateReset$: import("@angular/core").OutputEmitterRef<null>;
|
|
9
|
+
protected resetState(): void;
|
|
10
|
+
$filtersSet: import("@angular/core").Signal<number>;
|
|
11
|
+
$sortSet: import("@angular/core").Signal<boolean>;
|
|
12
|
+
$groupBySet: import("@angular/core").Signal<number>;
|
|
13
|
+
$hiddenSet: import("@angular/core").Signal<number>;
|
|
14
|
+
$orderSet: import("@angular/core").Signal<number>;
|
|
15
|
+
$widthsSet: import("@angular/core").Signal<number>;
|
|
16
|
+
$rowHeightSet: import("@angular/core").Signal<number | undefined>;
|
|
17
|
+
headerHeightSet: import("@angular/core").Signal<number | undefined>;
|
|
18
|
+
pageSizeSet: import("@angular/core").Signal<boolean | 0 | undefined>;
|
|
19
|
+
showAllSet: import("@angular/core").Signal<boolean | undefined>;
|
|
20
|
+
$set: import("@angular/core").Signal<("Sorting" | "Filters" | "Group By" | "Hidden Columns" | "Column Widths" | "Column Order" | "Row Height" | "Header Height" | "Page Size" | "Show All")[]>;
|
|
21
|
+
resetable: readonly ["Sorting", "Filters", "Group By", "Hidden Columns", "Column Widths", "Column Order", "Row Height", "Header Height", "Page Size", "Show All"];
|
|
22
|
+
reset(s: string): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResetMenuComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResetMenuComponent, "lib-reset-menu", never, {}, { "onStateReset$": "onStateReset"; }, never, never, true, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { CdkVirtualScrollViewport, VirtualScrollStrategy } from '@angular/cdk/scrolling';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { VirtualScrollContainer } from './table-container/virtual-scroll-container';
|
|
4
|
+
import { Signal } from '@angular/core';
|
|
5
|
+
import { DataStore } from '../classes/data-store';
|
|
6
|
+
export declare class TableVirtualScrollStrategy implements VirtualScrollStrategy {
|
|
7
|
+
#private;
|
|
8
|
+
constructor(scrollContainer: VirtualScrollContainer, dataStore: DataStore);
|
|
9
|
+
private dataStore;
|
|
10
|
+
private readonly indexChange;
|
|
11
|
+
scrolledIndexChange: import("rxjs").Observable<number>;
|
|
12
|
+
private viewport;
|
|
13
|
+
private $dataLength;
|
|
14
|
+
$dataLengthChange: import("@angular/core").WritableSignal<{
|
|
15
|
+
curr: number;
|
|
16
|
+
previous: number;
|
|
17
|
+
}>;
|
|
18
|
+
$rowHeight: Signal<number>;
|
|
19
|
+
$rowHeightChange: import("@angular/core").WritableSignal<{
|
|
20
|
+
curr: number;
|
|
21
|
+
previous: number;
|
|
22
|
+
}>;
|
|
23
|
+
$headerHeight: Signal<number>;
|
|
24
|
+
$headerHeightChange: import("@angular/core").WritableSignal<{
|
|
25
|
+
curr: number;
|
|
26
|
+
previous: number;
|
|
27
|
+
}>;
|
|
28
|
+
contentScrolled$: Subject<number>;
|
|
29
|
+
sub: import("../../rxjs").Subscriber;
|
|
30
|
+
onContentScrolled(): void;
|
|
31
|
+
$currentRange: import("@angular/core").WritableSignal<{
|
|
32
|
+
start: number;
|
|
33
|
+
end: number;
|
|
34
|
+
}>;
|
|
35
|
+
private updateContent;
|
|
36
|
+
update(trigger: ScrollStrategyTrigger, viewport: CdkVirtualScrollViewport, needsScroll?: boolean): void;
|
|
37
|
+
attach(viewport: CdkVirtualScrollViewport): void;
|
|
38
|
+
onDataLengthChanged(): void;
|
|
39
|
+
detach(): void;
|
|
40
|
+
onContentRendered(): void;
|
|
41
|
+
onRenderedOffsetChanged(): void;
|
|
42
|
+
scrollToIndex(index: number, behavior: ScrollBehavior): void;
|
|
43
|
+
}
|
|
44
|
+
type ScrollStrategyTrigger = 'scroll' | 'data length' | 'header height' | 'row height';
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Sort } from '@angular/material/sort';
|
|
2
|
+
import { ComponentStore } from '@ngrx/component-store';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SortMenuComponentStore extends ComponentStore<ComponentStoreState> {
|
|
5
|
+
private tableState;
|
|
6
|
+
setStoreStateEffect: import("@angular/core").EffectRef;
|
|
7
|
+
setStateFromTableStore: () => void;
|
|
8
|
+
constructor();
|
|
9
|
+
setSorted: (observableOrValue: SortWithName[] | import("rxjs").Observable<SortWithName[]>) => import("rxjs").Subscription;
|
|
10
|
+
setNotSorted: (observableOrValue: SortWithName[] | import("rxjs").Observable<SortWithName[]>) => import("rxjs").Subscription;
|
|
11
|
+
$sorted: import("@angular/core").Signal<SortWithName[]>;
|
|
12
|
+
$notSorted: import("@angular/core").Signal<SortWithName[]>;
|
|
13
|
+
setDirection: (observableOrValue: SortWithName | import("rxjs").Observable<SortWithName>) => import("rxjs").Subscription;
|
|
14
|
+
reset: () => void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SortMenuComponentStore, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SortMenuComponentStore>;
|
|
17
|
+
}
|
|
18
|
+
export interface ComponentStoreState {
|
|
19
|
+
sorted: SortWithName[];
|
|
20
|
+
notSorted: SortWithName[];
|
|
21
|
+
}
|
|
22
|
+
export interface SortWithName extends Sort {
|
|
23
|
+
displayName: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
|
+
import { SortDirection } from '../../interfaces/report-def';
|
|
3
|
+
import { SortMenuComponentStore, SortWithName } from './sort-menu.component-store';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SortMenuComponent {
|
|
6
|
+
SortDirection: typeof SortDirection;
|
|
7
|
+
private tableState;
|
|
8
|
+
protected store: SortMenuComponentStore;
|
|
9
|
+
$sorted: import("@angular/core").Signal<SortWithName[]>;
|
|
10
|
+
$notSorted: import("@angular/core").Signal<SortWithName[]>;
|
|
11
|
+
$dirty: import("@angular/core").WritableSignal<boolean>;
|
|
12
|
+
reset(): void;
|
|
13
|
+
dropIntoSorted(event: CdkDragDrop<SortWithName[]>): void;
|
|
14
|
+
dropIntoNotSorted(event: CdkDragDrop<SortWithName[]>): void;
|
|
15
|
+
apply: () => void;
|
|
16
|
+
setDirection(sort: SortWithName): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SortMenuComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SortMenuComponent, "tb-sort-menu", never, {}, {}, never, never, true, never>;
|
|
19
|
+
}
|