@one-paragon/angular-utilities 0.1.20 → 0.1.21
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/karma.conf.js +44 -0
- package/ng-package.json +7 -0
- package/package.json +16 -36
- package/src/action-state/action-state-spinner/action-state-spinner.component.css +16 -0
- package/src/action-state/action-state-spinner/action-state-spinner.component.html +3 -0
- package/src/action-state/action-state-spinner/action-state-spinner.component.spec.ts +25 -0
- package/src/action-state/action-state-spinner/action-state-spinner.component.ts +22 -0
- package/src/action-state/action-state-ui/action-state-ui.module.ts +19 -0
- package/{action-state/index.d.ts → src/action-state/index.ts} +8 -4
- package/src/action-state/ngrx-ext/ngrx-ext.module.ts +15 -0
- package/src/action-state/ngrx.ts +69 -0
- package/src/http-request-state/HttpRequestStateFactory.ts +26 -0
- package/src/http-request-state/HttpRequestStateStore.ts +147 -0
- package/src/http-request-state/directives/HttpStateDirectiveBase.ts +38 -0
- package/src/http-request-state/directives/http-error-state-directive.ts +32 -0
- package/src/http-request-state/directives/http-inProgress-state-directive.ts +32 -0
- package/src/http-request-state/directives/http-notStarted-state-directive.ts +31 -0
- package/src/http-request-state/directives/http-success-state-directive.ts +31 -0
- package/{http-request-state/directives/index.d.ts → src/http-request-state/directives/index.ts} +0 -0
- package/src/http-request-state/directives/request-state-directive.spec.ts +72 -0
- package/src/http-request-state/directives/request-state-directive.ts +70 -0
- package/src/http-request-state/helpers.ts +30 -0
- package/src/http-request-state/http-request-state.ts +69 -0
- package/src/http-request-state/http-state-module.ts +26 -0
- package/{http-request-state/index.d.ts → src/http-request-state/index.ts} +1 -1
- package/src/http-request-state/observable.spec.ts +43 -0
- package/src/http-request-state/rxjs/getRequestorBody.ts +10 -0
- package/src/http-request-state/rxjs/getRequestorState.ts +8 -0
- package/{http-request-state/rxjs/index.d.ts → src/http-request-state/rxjs/index.ts} +0 -0
- package/src/http-request-state/rxjs/tapError.ts +16 -0
- package/src/http-request-state/rxjs/tapSuccess.ts +16 -0
- package/src/http-request-state/strategies.spec.ts +42 -0
- package/src/http-request-state/types.ts +50 -0
- package/src/ngrx/actionable-selector.ts +95 -0
- package/src/ngrx/index.ts +1 -0
- package/{public-api.d.ts → src/public-api.ts} +33 -15
- package/src/rxjs/defaultShareReplay.ts +8 -0
- package/{rxjs/index.d.ts → src/rxjs/index.ts} +4 -4
- package/src/rxjs/mapError.ts +8 -0
- package/src/rxjs/rxjs-operators.ts +130 -0
- package/src/rxjs/subjectifier.ts +15 -0
- package/src/specs/clickSubject.spec.ts +95 -0
- package/src/specs/dialog.spec.ts +101 -0
- package/src/specs/toggleGroupDirective.spec.ts +231 -0
- package/src/table-builder/classes/DefaultSettings.ts +10 -0
- package/src/table-builder/classes/GenericTableDataSource.ts +22 -0
- package/src/table-builder/classes/MatTableObservableDataSource.ts +23 -0
- package/src/table-builder/classes/TableBuilderConfig.ts +19 -0
- package/src/table-builder/classes/TableState.ts +63 -0
- package/src/table-builder/classes/data-filter.spec.ts +72 -0
- package/src/table-builder/classes/data-filter.ts +32 -0
- package/{table-builder/classes/display-col.d.ts → src/table-builder/classes/display-col.ts} +0 -0
- package/src/table-builder/classes/filter-info.ts +132 -0
- package/src/table-builder/classes/table-builder-general-settings.ts +73 -0
- package/src/table-builder/classes/table-builder.ts +71 -0
- package/src/table-builder/classes/table-store.ts +360 -0
- package/src/table-builder/components/array-column.component.ts +39 -0
- package/src/table-builder/components/column-builder/column-builder.component.html +66 -0
- package/src/table-builder/components/column-builder/column-builder.component.scss +43 -0
- package/src/table-builder/components/column-builder/column-builder.component.spec.ts +51 -0
- package/src/table-builder/components/column-builder/column-builder.component.ts +126 -0
- package/src/table-builder/components/date-filter/date-filter.component.html +24 -0
- package/src/table-builder/components/date-filter/date-filter.component.ts +17 -0
- package/src/table-builder/components/filter/filter.component.html +78 -0
- package/src/table-builder/components/filter/filter.component.scss +64 -0
- package/src/table-builder/components/filter/filter.component.spec.ts +89 -0
- package/src/table-builder/components/filter/filter.component.ts +35 -0
- package/src/table-builder/components/filter/in-list/in-list-filter.component.ts +82 -0
- package/src/table-builder/components/gen-col-displayer/gen-col-displayer.component.html +52 -0
- package/src/table-builder/components/gen-col-displayer/gen-col-displayer.component.scss +57 -0
- package/src/table-builder/components/gen-col-displayer/gen-col-displayer.component.ts +44 -0
- package/src/table-builder/components/generic-table/generic-table.component.html +77 -0
- package/src/table-builder/components/generic-table/generic-table.component.scss +45 -0
- package/src/table-builder/components/generic-table/generic-table.component.ts +221 -0
- package/src/table-builder/components/generic-table/paginator.component.ts +89 -0
- package/src/table-builder/components/group-by-list/group-by-list.component.css +8 -0
- package/src/table-builder/components/group-by-list/group-by-list.component.html +10 -0
- package/src/table-builder/components/group-by-list/group-by-list.component.spec.ts +23 -0
- package/src/table-builder/components/group-by-list/group-by-list.component.ts +16 -0
- package/src/table-builder/components/header-menu/header-menu.component.html +117 -0
- package/src/table-builder/components/header-menu/header-menu.component.scss +92 -0
- package/src/table-builder/components/header-menu/header-menu.component.ts +81 -0
- package/src/table-builder/components/in-filter/in-filter.component.css +3 -0
- package/src/table-builder/components/in-filter/in-filter.component.html +13 -0
- package/src/table-builder/components/in-filter/in-filter.component.ts +60 -0
- package/{table-builder/components/index.d.ts → src/table-builder/components/index.ts} +9 -9
- package/src/table-builder/components/initialization-component/initialization-component.html +21 -0
- package/src/table-builder/components/initialization-component/initialization-component.ts +15 -0
- package/src/table-builder/components/link-column.component.ts +33 -0
- package/src/table-builder/components/number-filter/number-filter.component.css +10 -0
- package/src/table-builder/components/number-filter/number-filter.component.html +21 -0
- package/src/table-builder/components/number-filter/number-filter.component.spec.ts +30 -0
- package/src/table-builder/components/number-filter/number-filter.component.ts +19 -0
- package/src/table-builder/components/sort-menu/sort-menu.component-store.ts +59 -0
- package/src/table-builder/components/sort-menu/sort-menu.component.html +101 -0
- package/src/table-builder/components/sort-menu/sort-menu.component.scss +119 -0
- package/src/table-builder/components/sort-menu/sort-menu.component.ts +82 -0
- package/src/table-builder/components/table-container/table-container.css +26 -0
- package/src/table-builder/components/table-container/table-container.html +113 -0
- package/src/table-builder/components/table-container/table-container.spec.ts +157 -0
- package/src/table-builder/components/table-container/table-container.ts +344 -0
- package/src/table-builder/components/table-container-filter/filter-list/filter-list.component.html +26 -0
- package/src/table-builder/components/table-container-filter/filter-list/filter-list.component.ts +38 -0
- package/src/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.css +37 -0
- package/src/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.html +8 -0
- package/src/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.spec.ts +88 -0
- package/src/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.ts +27 -0
- package/src/table-builder/components/table-container-filter/table-wrapper-filter-store.ts +23 -0
- package/src/table-builder/directives/custom-cell-directive.ts +45 -0
- package/{table-builder/directives/index.d.ts → src/table-builder/directives/index.ts} +6 -5
- package/src/table-builder/directives/multi-sort.directive.spec.ts +124 -0
- package/src/table-builder/directives/multi-sort.directive.ts +41 -0
- package/src/table-builder/directives/resize-column.directive.ts +104 -0
- package/src/table-builder/directives/table-wrapper.directive.ts +16 -0
- package/src/table-builder/directives/tb-filter.directive.ts +363 -0
- package/src/table-builder/enums/filterTypes.ts +65 -0
- package/src/table-builder/functions/boolean-filter-function.ts +13 -0
- package/src/table-builder/functions/date-filter-function.ts +40 -0
- package/src/table-builder/functions/download-data.ts +11 -0
- package/src/table-builder/functions/null-filter-function.ts +9 -0
- package/src/table-builder/functions/number-filter-function.ts +42 -0
- package/src/table-builder/functions/sort-data-function.ts +8 -0
- package/src/table-builder/functions/string-filter-function.ts +52 -0
- package/{table-builder/interfaces/ColumnInfo.d.ts → src/table-builder/interfaces/ColumnInfo.ts} +3 -2
- package/src/table-builder/interfaces/column-template.ts +9 -0
- package/{table-builder/interfaces/dictionary.d.ts → src/table-builder/interfaces/dictionary.ts} +3 -3
- package/src/table-builder/interfaces/report-def.ts +131 -0
- package/src/table-builder/material.module.ts +95 -0
- package/src/table-builder/ngrx/actions.ts +7 -0
- package/src/table-builder/ngrx/effects.ts +54 -0
- package/src/table-builder/ngrx/reducer.ts +72 -0
- package/src/table-builder/ngrx/selectors.ts +37 -0
- package/src/table-builder/pipes/column-total.pipe.ts +15 -0
- package/src/table-builder/pipes/format-filter-type.pipe.ts +12 -0
- package/src/table-builder/pipes/format-filter-value.pipe.ts +40 -0
- package/src/table-builder/pipes/key-display.ts +16 -0
- package/src/table-builder/services/export-to-csv.service.ts +92 -0
- package/src/table-builder/services/link-creator.service.ts +48 -0
- package/src/table-builder/services/table-template-service.ts +44 -0
- package/src/table-builder/services/transform-creator.ts +61 -0
- package/src/table-builder/specs/table-custom-filters.spec.ts +262 -0
- package/src/table-builder/styles/collapser.styles.scss +21 -0
- package/src/table-builder/table-builder.module.ts +138 -0
- package/src/test.ts +17 -0
- package/src/utilities/directives/auto-focus.directive.ts +19 -0
- package/src/utilities/directives/clickEmitterDirective.ts +15 -0
- package/src/utilities/directives/clickSubject.ts +19 -0
- package/src/utilities/directives/conditional-classes.directive.ts +35 -0
- package/src/utilities/directives/dialog-service.ts +22 -0
- package/src/utilities/directives/dialog.ts +142 -0
- package/src/utilities/directives/mat-toggle-group-directive.ts +60 -0
- package/src/utilities/directives/prevent-enter.directive.ts +12 -0
- package/src/utilities/directives/stop-propagation.directive.ts +19 -0
- package/src/utilities/directives/styler.ts +16 -0
- package/src/utilities/directives/trim-whitespace.directive.ts +20 -0
- package/{utilities/index.d.ts → src/utilities/index.ts} +22 -15
- package/src/utilities/module.ts +58 -0
- package/src/utilities/pipes/function.pipe.ts +15 -0
- package/src/utilities/pipes/phone.pipe.ts +15 -0
- package/src/utilities/pipes/space-case.pipes.spec.ts +47 -0
- package/src/utilities/pipes/space-case.pipes.ts +23 -0
- package/tsconfig.lib.json +19 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/action-state/action-state-spinner/action-state-spinner.component.d.ts +0 -12
- package/action-state/action-state-ui/action-state-ui.module.d.ts +0 -9
- package/action-state/ngrx-ext/ngrx-ext.module.d.ts +0 -8
- package/action-state/ngrx.d.ts +0 -31
- package/esm2020/action-state/action-state-spinner/action-state-spinner.component.mjs +0 -23
- package/esm2020/action-state/action-state-ui/action-state-ui.module.mjs +0 -28
- package/esm2020/action-state/index.mjs +0 -8
- package/esm2020/action-state/ngrx-ext/ngrx-ext.module.mjs +0 -23
- package/esm2020/action-state/ngrx.mjs +0 -42
- package/esm2020/http-request-state/HttpRequestStateFactory.mjs +0 -27
- package/esm2020/http-request-state/HttpRequestStateStore.mjs +0 -97
- package/esm2020/http-request-state/directives/HttpStateDirectiveBase.mjs +0 -34
- package/esm2020/http-request-state/directives/http-error-state-directive.mjs +0 -29
- package/esm2020/http-request-state/directives/http-inProgress-state-directive.mjs +0 -29
- package/esm2020/http-request-state/directives/http-notStarted-state-directive.mjs +0 -29
- package/esm2020/http-request-state/directives/http-success-state-directive.mjs +0 -29
- package/esm2020/http-request-state/directives/index.mjs +0 -6
- package/esm2020/http-request-state/directives/request-state-directive.mjs +0 -57
- package/esm2020/http-request-state/helpers.mjs +0 -22
- package/esm2020/http-request-state/http-request-state.mjs +0 -39
- package/esm2020/http-request-state/http-state-module.mjs +0 -41
- package/esm2020/http-request-state/index.mjs +0 -7
- package/esm2020/http-request-state/rxjs/getRequestorBody.mjs +0 -4
- package/esm2020/http-request-state/rxjs/getRequestorState.mjs +0 -3
- package/esm2020/http-request-state/rxjs/index.mjs +0 -5
- package/esm2020/http-request-state/rxjs/tapError.mjs +0 -12
- package/esm2020/http-request-state/rxjs/tapSuccess.mjs +0 -12
- package/esm2020/http-request-state/types.mjs +0 -16
- package/esm2020/ngrx/actionable-selector.mjs +0 -76
- package/esm2020/ngrx/index.mjs +0 -2
- package/esm2020/one-paragon-angular-utilities.mjs +0 -5
- package/esm2020/public-api.mjs +0 -19
- package/esm2020/rxjs/defaultShareReplay.mjs +0 -7
- package/esm2020/rxjs/index.mjs +0 -5
- package/esm2020/rxjs/mapError.mjs +0 -8
- package/esm2020/rxjs/rxjs-operators.mjs +0 -91
- package/esm2020/rxjs/subjectifier.mjs +0 -15
- package/esm2020/table-builder/classes/DefaultSettings.mjs +0 -6
- package/esm2020/table-builder/classes/GenericTableDataSource.mjs +0 -13
- package/esm2020/table-builder/classes/MatTableObservableDataSource.mjs +0 -21
- package/esm2020/table-builder/classes/TableBuilderConfig.mjs +0 -3
- package/esm2020/table-builder/classes/TableState.mjs +0 -32
- package/esm2020/table-builder/classes/data-filter.mjs +0 -26
- package/esm2020/table-builder/classes/display-col.mjs +0 -2
- package/esm2020/table-builder/classes/filter-info.mjs +0 -71
- package/esm2020/table-builder/classes/table-builder-general-settings.mjs +0 -68
- package/esm2020/table-builder/classes/table-builder.mjs +0 -61
- package/esm2020/table-builder/classes/table-store.mjs +0 -292
- package/esm2020/table-builder/components/array-column.component.mjs +0 -57
- package/esm2020/table-builder/components/column-builder/column-builder.component.mjs +0 -111
- package/esm2020/table-builder/components/date-filter/date-filter.component.mjs +0 -25
- package/esm2020/table-builder/components/filter/filter.component.mjs +0 -53
- package/esm2020/table-builder/components/filter/in-list/in-list-filter.component.mjs +0 -91
- package/esm2020/table-builder/components/gen-col-displayer/gen-col-displayer.component.mjs +0 -45
- package/esm2020/table-builder/components/generic-table/generic-table.component.mjs +0 -198
- package/esm2020/table-builder/components/generic-table/paginator.component.mjs +0 -74
- package/esm2020/table-builder/components/group-by-list/group-by-list.component.mjs +0 -21
- package/esm2020/table-builder/components/header-menu/header-menu.component.mjs +0 -90
- package/esm2020/table-builder/components/in-filter/in-filter.component.mjs +0 -66
- package/esm2020/table-builder/components/index.mjs +0 -10
- package/esm2020/table-builder/components/initialization-component/initialization-component.mjs +0 -33
- package/esm2020/table-builder/components/link-column.component.mjs +0 -66
- package/esm2020/table-builder/components/number-filter/number-filter.component.mjs +0 -27
- package/esm2020/table-builder/components/sort-menu/sort-menu.component-store.mjs +0 -42
- package/esm2020/table-builder/components/sort-menu/sort-menu.component.mjs +0 -75
- package/esm2020/table-builder/components/table-container/table-container.mjs +0 -312
- package/esm2020/table-builder/components/table-container-filter/filter-list/filter-list.component.mjs +0 -42
- package/esm2020/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.mjs +0 -30
- package/esm2020/table-builder/components/table-container-filter/table-wrapper-filter-store.mjs +0 -25
- package/esm2020/table-builder/directives/custom-cell-directive.mjs +0 -59
- package/esm2020/table-builder/directives/index.mjs +0 -6
- package/esm2020/table-builder/directives/multi-sort.directive.mjs +0 -42
- package/esm2020/table-builder/directives/resize-column.directive.mjs +0 -86
- package/esm2020/table-builder/directives/table-wrapper.directive.mjs +0 -26
- package/esm2020/table-builder/directives/tb-filter.directive.mjs +0 -403
- package/esm2020/table-builder/enums/filterTypes.mjs +0 -59
- package/esm2020/table-builder/functions/boolean-filter-function.mjs +0 -10
- package/esm2020/table-builder/functions/date-filter-function.mjs +0 -32
- package/esm2020/table-builder/functions/download-data.mjs +0 -12
- package/esm2020/table-builder/functions/null-filter-function.mjs +0 -8
- package/esm2020/table-builder/functions/number-filter-function.mjs +0 -32
- package/esm2020/table-builder/functions/sort-data-function.mjs +0 -5
- package/esm2020/table-builder/functions/string-filter-function.mjs +0 -41
- package/esm2020/table-builder/interfaces/ColumnInfo.mjs +0 -2
- package/esm2020/table-builder/interfaces/dictionary.mjs +0 -2
- package/esm2020/table-builder/interfaces/report-def.mjs +0 -34
- package/esm2020/table-builder/material.module.mjs +0 -221
- package/esm2020/table-builder/ngrx/actions.mjs +0 -5
- package/esm2020/table-builder/ngrx/effects.mjs +0 -48
- package/esm2020/table-builder/ngrx/reducer.mjs +0 -52
- package/esm2020/table-builder/ngrx/selectors.mjs +0 -24
- package/esm2020/table-builder/pipes/column-total.pipe.mjs +0 -20
- package/esm2020/table-builder/pipes/format-filter-type.pipe.mjs +0 -18
- package/esm2020/table-builder/pipes/format-filter-value.pipe.mjs +0 -46
- package/esm2020/table-builder/pipes/key-display.mjs +0 -20
- package/esm2020/table-builder/services/export-to-csv.service.mjs +0 -84
- package/esm2020/table-builder/services/link-creator.service.mjs +0 -42
- package/esm2020/table-builder/services/table-template-service.mjs +0 -43
- package/esm2020/table-builder/services/transform-creator.mjs +0 -70
- package/esm2020/table-builder/table-builder.module.mjs +0 -204
- package/esm2020/utilities/directives/auto-focus.directive.mjs +0 -26
- package/esm2020/utilities/directives/clickEmitterDirective.mjs +0 -21
- package/esm2020/utilities/directives/clickSubject.mjs +0 -27
- package/esm2020/utilities/directives/conditional-classes.directive.mjs +0 -35
- package/esm2020/utilities/directives/dialog-service.mjs +0 -25
- package/esm2020/utilities/directives/dialog.mjs +0 -131
- package/esm2020/utilities/directives/mat-toggle-group-directive.mjs +0 -59
- package/esm2020/utilities/directives/prevent-enter.directive.mjs +0 -19
- package/esm2020/utilities/directives/stop-propagation.directive.mjs +0 -25
- package/esm2020/utilities/directives/styler.mjs +0 -26
- package/esm2020/utilities/directives/trim-whitespace.directive.mjs +0 -29
- package/esm2020/utilities/index.mjs +0 -16
- package/esm2020/utilities/module.mjs +0 -91
- package/esm2020/utilities/pipes/function.pipe.mjs +0 -21
- package/esm2020/utilities/pipes/phone.pipe.mjs +0 -20
- package/esm2020/utilities/pipes/space-case.pipes.mjs +0 -28
- package/fesm2015/one-paragon-angular-utilities.mjs +0 -4698
- package/fesm2015/one-paragon-angular-utilities.mjs.map +0 -1
- package/fesm2020/one-paragon-angular-utilities.mjs +0 -4666
- package/fesm2020/one-paragon-angular-utilities.mjs.map +0 -1
- package/http-request-state/HttpRequestStateFactory.d.ts +0 -14
- package/http-request-state/HttpRequestStateStore.d.ts +0 -48
- package/http-request-state/directives/HttpStateDirectiveBase.d.ts +0 -16
- package/http-request-state/directives/http-error-state-directive.d.ts +0 -12
- package/http-request-state/directives/http-inProgress-state-directive.d.ts +0 -12
- package/http-request-state/directives/http-notStarted-state-directive.d.ts +0 -12
- package/http-request-state/directives/http-success-state-directive.d.ts +0 -14
- package/http-request-state/directives/request-state-directive.d.ts +0 -29
- package/http-request-state/helpers.d.ts +0 -9
- package/http-request-state/http-request-state.d.ts +0 -12
- package/http-request-state/http-state-module.d.ts +0 -11
- package/http-request-state/rxjs/getRequestorBody.d.ts +0 -3
- package/http-request-state/rxjs/getRequestorState.d.ts +0 -3
- package/http-request-state/rxjs/tapError.d.ts +0 -3
- package/http-request-state/rxjs/tapSuccess.d.ts +0 -3
- package/http-request-state/types.d.ts +0 -36
- package/index.d.ts +0 -5
- package/ngrx/actionable-selector.d.ts +0 -15
- package/ngrx/index.d.ts +0 -1
- package/rxjs/defaultShareReplay.d.ts +0 -2
- package/rxjs/mapError.d.ts +0 -2
- package/rxjs/rxjs-operators.d.ts +0 -12
- package/rxjs/subjectifier.d.ts +0 -9
- package/table-builder/classes/DefaultSettings.d.ts +0 -8
- package/table-builder/classes/GenericTableDataSource.d.ts +0 -8
- package/table-builder/classes/MatTableObservableDataSource.d.ts +0 -9
- package/table-builder/classes/TableBuilderConfig.d.ts +0 -19
- package/table-builder/classes/TableState.d.ts +0 -46
- package/table-builder/classes/data-filter.d.ts +0 -9
- package/table-builder/classes/filter-info.d.ts +0 -40
- package/table-builder/classes/table-builder-general-settings.d.ts +0 -43
- package/table-builder/classes/table-builder.d.ts +0 -14
- package/table-builder/classes/table-store.d.ts +0 -114
- package/table-builder/components/array-column.component.d.ts +0 -14
- package/table-builder/components/column-builder/column-builder.component.d.ts +0 -50
- package/table-builder/components/date-filter/date-filter.component.d.ts +0 -10
- package/table-builder/components/filter/filter.component.d.ts +0 -294
- package/table-builder/components/filter/in-list/in-list-filter.component.d.ts +0 -27
- package/table-builder/components/gen-col-displayer/gen-col-displayer.component.d.ts +0 -16
- package/table-builder/components/generic-table/generic-table.component.d.ts +0 -71
- package/table-builder/components/generic-table/paginator.component.d.ts +0 -28
- package/table-builder/components/group-by-list/group-by-list.component.d.ts +0 -10
- package/table-builder/components/header-menu/header-menu.component.d.ts +0 -25
- package/table-builder/components/in-filter/in-filter.component.d.ts +0 -22
- package/table-builder/components/initialization-component/initialization-component.d.ts +0 -12
- package/table-builder/components/link-column.component.d.ts +0 -17
- package/table-builder/components/number-filter/number-filter.component.d.ts +0 -12
- package/table-builder/components/sort-menu/sort-menu.component-store.d.ts +0 -24
- package/table-builder/components/sort-menu/sort-menu.component.d.ts +0 -25
- package/table-builder/components/table-container/table-container.d.ts +0 -65
- package/table-builder/components/table-container-filter/filter-list/filter-list.component.d.ts +0 -17
- package/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.d.ts +0 -14
- package/table-builder/components/table-container-filter/table-wrapper-filter-store.d.ts +0 -14
- package/table-builder/directives/custom-cell-directive.d.ts +0 -19
- package/table-builder/directives/multi-sort.directive.d.ts +0 -11
- package/table-builder/directives/resize-column.directive.d.ts +0 -43
- package/table-builder/directives/table-wrapper.directive.d.ts +0 -11
- package/table-builder/directives/tb-filter.directive.d.ts +0 -120
- package/table-builder/enums/filterTypes.d.ts +0 -31
- package/table-builder/functions/boolean-filter-function.d.ts +0 -3
- package/table-builder/functions/date-filter-function.d.ts +0 -3
- package/table-builder/functions/download-data.d.ts +0 -1
- package/table-builder/functions/null-filter-function.d.ts +0 -2
- package/table-builder/functions/number-filter-function.d.ts +0 -4
- package/table-builder/functions/sort-data-function.d.ts +0 -3
- package/table-builder/functions/string-filter-function.d.ts +0 -7
- package/table-builder/interfaces/report-def.d.ts +0 -135
- package/table-builder/material.module.d.ts +0 -34
- package/table-builder/ngrx/actions.d.ts +0 -23
- package/table-builder/ngrx/effects.d.ts +0 -19
- package/table-builder/ngrx/reducer.d.ts +0 -15
- package/table-builder/ngrx/selectors.d.ts +0 -22
- package/table-builder/pipes/column-total.pipe.d.ts +0 -8
- package/table-builder/pipes/format-filter-type.pipe.d.ts +0 -8
- package/table-builder/pipes/format-filter-value.pipe.d.ts +0 -14
- package/table-builder/pipes/key-display.d.ts +0 -11
- package/table-builder/services/export-to-csv.service.d.ts +0 -22
- package/table-builder/services/link-creator.service.d.ts +0 -12
- package/table-builder/services/table-template-service.d.ts +0 -14
- package/table-builder/services/transform-creator.d.ts +0 -19
- package/table-builder/table-builder.module.d.ts +0 -45
- package/utilities/directives/auto-focus.directive.d.ts +0 -10
- package/utilities/directives/clickEmitterDirective.d.ts +0 -7
- package/utilities/directives/clickSubject.d.ts +0 -9
- package/utilities/directives/conditional-classes.directive.d.ts +0 -14
- package/utilities/directives/dialog-service.d.ts +0 -10
- package/utilities/directives/dialog.d.ts +0 -45
- package/utilities/directives/mat-toggle-group-directive.d.ts +0 -21
- package/utilities/directives/prevent-enter.directive.d.ts +0 -6
- package/utilities/directives/stop-propagation.directive.d.ts +0 -7
- package/utilities/directives/styler.d.ts +0 -9
- package/utilities/directives/trim-whitespace.directive.d.ts +0 -9
- package/utilities/module.d.ts +0 -19
- package/utilities/pipes/function.pipe.d.ts +0 -7
- package/utilities/pipes/phone.pipe.d.ts +0 -7
- package/utilities/pipes/space-case.pipes.d.ts +0 -17
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { MetaData } from '../interfaces/report-def';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { Group, InitializationState, PersistedTableState, TableState } from './TableState';
|
|
4
|
-
import { Predicate } from '@angular/core';
|
|
5
|
-
import { TableBuilderConfig } from './TableBuilderConfig';
|
|
6
|
-
import { CustomFilter, FilterInfo } from './filter-info';
|
|
7
|
-
import { Sort, SortDirection } from '@angular/material/sort';
|
|
8
|
-
import { ComponentStore } from '@ngrx/component-store';
|
|
9
|
-
import { Dictionary } from '../interfaces/dictionary';
|
|
10
|
-
import { GeneralTableSettings, NotPersisitedTableSettings, PesrsistedTableSettings } from './table-builder-general-settings';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare function stateIs(initializationState: InitializationState): (state: TableState) => boolean;
|
|
13
|
-
export declare class TableStore extends ComponentStore<TableState> {
|
|
14
|
-
constructor(config: TableBuilderConfig);
|
|
15
|
-
getSavableState(): Observable<PersistedTableState>;
|
|
16
|
-
on: <V>(srcObservable: Observable<V>, func: (obj: V) => void) => void;
|
|
17
|
-
onLast(callback: (state: TableState) => void): void;
|
|
18
|
-
readonly metaData$: Observable<Dictionary<MetaData<any, []>>>;
|
|
19
|
-
readonly metaDataArray$: Observable<MetaData<any, []>[]>;
|
|
20
|
-
getMetaData$: (key: string) => Observable<MetaData>;
|
|
21
|
-
getUserDefinedWidth$: (key: string) => Observable<number>;
|
|
22
|
-
getUserDefinedWidths$: Observable<Dictionary<number>>;
|
|
23
|
-
private displayedColumns;
|
|
24
|
-
readonly displayedColumns$: Observable<string[]>;
|
|
25
|
-
readonly hideColumn: (observableOrValue: string | Observable<string>) => import("rxjs").Subscription;
|
|
26
|
-
readonly resetState: () => void;
|
|
27
|
-
readonly showColumn: (observableOrValue: string | Observable<string>) => import("rxjs").Subscription;
|
|
28
|
-
readonly setHiddenColumns: (observableOrValue: {
|
|
29
|
-
key: string;
|
|
30
|
-
visible: boolean;
|
|
31
|
-
}[] | Observable<{
|
|
32
|
-
key: string;
|
|
33
|
-
visible: boolean;
|
|
34
|
-
}[]>) => import("rxjs").Subscription;
|
|
35
|
-
setUserDefinedWidth: (observableOrValue: {
|
|
36
|
-
key: string;
|
|
37
|
-
widthInPixel: number;
|
|
38
|
-
}[] | Observable<{
|
|
39
|
-
key: string;
|
|
40
|
-
widthInPixel: number;
|
|
41
|
-
}[]>) => import("rxjs").Subscription;
|
|
42
|
-
setUserDefinedOrder: (observableOrValue: {
|
|
43
|
-
newOrder: number;
|
|
44
|
-
oldOrder: number;
|
|
45
|
-
} | Observable<{
|
|
46
|
-
newOrder: number;
|
|
47
|
-
oldOrder: number;
|
|
48
|
-
}>) => import("rxjs").Subscription;
|
|
49
|
-
readonly filters$: Observable<Dictionary<FilterInfo<any> | CustomFilter<any>>>;
|
|
50
|
-
readonly getFilter$: (filterId: string) => Observable<FilterInfo | CustomFilter | undefined>;
|
|
51
|
-
readonly addFilter: (observableOrValue: FilterInfo<any> | CustomFilter<any> | Observable<FilterInfo<any> | CustomFilter<any>>) => import("rxjs").Subscription;
|
|
52
|
-
readonly addFilters: (observableOrValue: (FilterInfo<any> | CustomFilter<any>)[] | Observable<(FilterInfo<any> | CustomFilter<any>)[]>) => import("rxjs").Subscription;
|
|
53
|
-
private addFiltersToState;
|
|
54
|
-
readonly removeFilter: (observableOrValue: string | Observable<string>) => import("rxjs").Subscription;
|
|
55
|
-
readonly removeFilters: (observableOrValue: string[] | Observable<string[]>) => import("rxjs").Subscription;
|
|
56
|
-
readonly clearFilters: () => void;
|
|
57
|
-
readonly sorted$: Observable<Sort[]>;
|
|
58
|
-
createPreSort: (metaDatas: Dictionary<MetaData>) => Sort[];
|
|
59
|
-
readonly setSort: (observableOrValue: {
|
|
60
|
-
key: string;
|
|
61
|
-
direction?: SortDirection | undefined;
|
|
62
|
-
} | Observable<{
|
|
63
|
-
key: string;
|
|
64
|
-
direction?: SortDirection | undefined;
|
|
65
|
-
}>) => import("rxjs").Subscription;
|
|
66
|
-
readonly setAllSort: (observableOrValue: Sort[] | Observable<Sort[]>) => import("rxjs").Subscription;
|
|
67
|
-
updateStateFunc: (state: TableState, incomingTableState: Partial<TableState>) => TableState;
|
|
68
|
-
readonly setPageSize: (observableOrValue: number | Observable<number>) => import("rxjs").Subscription;
|
|
69
|
-
readonly updateState: (observableOrValue: Partial<TableState> | Observable<Partial<TableState>>) => import("rxjs").Subscription;
|
|
70
|
-
cleanPersistedState(state: TableState, pState: PersistedTableState): {
|
|
71
|
-
filters: any;
|
|
72
|
-
sorted: Sort[];
|
|
73
|
-
hiddenKeys?: string[] | undefined;
|
|
74
|
-
pageSize?: number | undefined;
|
|
75
|
-
userDefined: {
|
|
76
|
-
order: Dictionary<number>;
|
|
77
|
-
widths: Dictionary<number>;
|
|
78
|
-
table: {
|
|
79
|
-
width?: number | undefined;
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
persistedTableSettings: PesrsistedTableSettings;
|
|
83
|
-
groupByKeys: string[];
|
|
84
|
-
groups: Group[];
|
|
85
|
-
};
|
|
86
|
-
readonly updateStateFromPersistedState: (observableOrValue: PersistedTableState | Observable<PersistedTableState>) => import("rxjs").Subscription;
|
|
87
|
-
getUserDefinedTableSize$: Observable<number | undefined>;
|
|
88
|
-
setTableWidth: (observableOrValue: number | Observable<number>) => import("rxjs").Subscription;
|
|
89
|
-
mergeMeta: (orig: MetaData, merge: MetaData) => MetaData;
|
|
90
|
-
readonly setIntializationState: (observableOrValue: InitializationState | Observable<InitializationState>) => import("rxjs").Subscription;
|
|
91
|
-
runOnceWhen(predicate: Predicate<TableState>, func: (state: TableState) => void): void;
|
|
92
|
-
onReady(func: (state: TableState) => void): void;
|
|
93
|
-
readonly setMetaData: (observableOrValue: MetaData<any, []> | MetaData<any, []>[] | Observable<MetaData<any, []> | MetaData<any, []>[]>) => import("rxjs").Subscription;
|
|
94
|
-
private initializeOrder;
|
|
95
|
-
toggleCollapseHeader: () => void;
|
|
96
|
-
toggleCollapseFooter: () => void;
|
|
97
|
-
addGroupByKey: (observableOrValue: string | Observable<string>) => import("rxjs").Subscription;
|
|
98
|
-
removeGroupByKey: (observableOrValue: string | Observable<string>) => import("rxjs").Subscription;
|
|
99
|
-
updateGroup: (observableOrValue: Group | Observable<Group>) => import("rxjs").Subscription;
|
|
100
|
-
groupByKeys$: Observable<string[]>;
|
|
101
|
-
groups$: Observable<Group[]>;
|
|
102
|
-
setTableSettings: (observableOrValue: GeneralTableSettings | Observable<GeneralTableSettings>) => import("rxjs").Subscription;
|
|
103
|
-
tableSettings$: Observable<PesrsistedTableSettings & NotPersisitedTableSettings>;
|
|
104
|
-
setLinkMaps: (() => void) | ((observableOrValue: any) => import("rxjs").Subscription);
|
|
105
|
-
getLinkMap: (md: MetaData) => Observable<{
|
|
106
|
-
link: (t: any) => string;
|
|
107
|
-
useRouterLink: boolean;
|
|
108
|
-
target: import("../interfaces/report-def").Target;
|
|
109
|
-
}>;
|
|
110
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableStore, never>;
|
|
111
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TableStore>;
|
|
112
|
-
}
|
|
113
|
-
export declare const orderViewableMetaData: (state: TableState) => MetaData<any, []>[];
|
|
114
|
-
export declare const orderMetaData: (state: TableState) => MetaData<any, []>[];
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ArrayStyle, ArrayAdditional, MetaData } from '../interfaces/report-def';
|
|
2
|
-
import { TableBuilderConfig } from '../classes/TableBuilderConfig';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ArrayColumnComponent {
|
|
5
|
-
private config;
|
|
6
|
-
ArrayStyle: typeof ArrayStyle;
|
|
7
|
-
additional: ArrayAdditional;
|
|
8
|
-
array: any[];
|
|
9
|
-
metaData: MetaData;
|
|
10
|
-
constructor(config: TableBuilderConfig);
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayColumnComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArrayColumnComponent, "tb-array-column", never, { "array": "array"; "metaData": "metaData"; }, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { TemplateRef, OnInit, Predicate, Injector } from '@angular/core';
|
|
2
|
-
import { FieldType, MetaData } from '../../interfaces/report-def';
|
|
3
|
-
import { MatLegacyColumnDef as MatColumnDef, MatLegacyTable as MatTable } from '@angular/material/legacy-table';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { CustomCellDirective } from '../../directives';
|
|
6
|
-
import { FilterInfo } from '../../classes/filter-info';
|
|
7
|
-
import { TransformCreator } from '../../services/transform-creator';
|
|
8
|
-
import { TableStore } from '../../classes/table-store';
|
|
9
|
-
import { TableTemplateService } from '../../services/table-template-service';
|
|
10
|
-
import { Dictionary } from '@ngrx/entity';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
interface widthStyle {
|
|
13
|
-
flex?: string;
|
|
14
|
-
maxWidth?: string;
|
|
15
|
-
}
|
|
16
|
-
interface allStyles {
|
|
17
|
-
body: widthStyle;
|
|
18
|
-
header: widthStyle;
|
|
19
|
-
footer: widthStyle;
|
|
20
|
-
}
|
|
21
|
-
export declare class ColumnBuilderComponent implements OnInit {
|
|
22
|
-
private transformCreator;
|
|
23
|
-
private table;
|
|
24
|
-
state: TableStore;
|
|
25
|
-
private templateService;
|
|
26
|
-
protected injector: Injector;
|
|
27
|
-
FieldType: typeof FieldType;
|
|
28
|
-
filter: Partial<FilterInfo>;
|
|
29
|
-
metaData: MetaData;
|
|
30
|
-
customCell: CustomCellDirective;
|
|
31
|
-
data$: Observable<any[]>;
|
|
32
|
-
columnDef: MatColumnDef;
|
|
33
|
-
outerTemplate: TemplateRef<any>;
|
|
34
|
-
innerTemplate: TemplateRef<any>;
|
|
35
|
-
transform: (o: any, ...args: any[]) => any;
|
|
36
|
-
bodyTemplate: TemplateRef<any>;
|
|
37
|
-
constructor(transformCreator: TransformCreator, table: MatTable<any>, state: TableStore, templateService: TableTemplateService, injector: Injector);
|
|
38
|
-
getInnerTemplate(): TemplateRef<any>;
|
|
39
|
-
showfilters$: Observable<boolean>;
|
|
40
|
-
getOuterTemplate(): TemplateRef<any>;
|
|
41
|
-
classes?: Dictionary<Predicate<any>>;
|
|
42
|
-
ngOnInit(): void;
|
|
43
|
-
ngAfterViewInit(): void;
|
|
44
|
-
cellClicked(element: any, key: string): void;
|
|
45
|
-
mapWidth: ([previousUserDefinedWidth, currentUserDefinedWidth]: [number, number]) => widthStyle;
|
|
46
|
-
styles$: Observable<allStyles>;
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnBuilderComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnBuilderComponent, "tb-column-builder", never, { "metaData": "metaData"; "customCell": "customCell"; "data$": "data$"; }, {}, never, never, false, never>;
|
|
49
|
-
}
|
|
50
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
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: typeof FilterType;
|
|
6
|
-
info: PartialFilter;
|
|
7
|
-
CurrentFilterType: FilterType;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateFilterComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateFilterComponent, "tb-date-filter", never, { "info": "info"; "CurrentFilterType": "CurrentFilterType"; }, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,294 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { FilterInfo, UnmappedTypes, mappedFieldTypes, PartialFilter } from '../../classes/filter-info';
|
|
3
|
-
import { TableStore } from '../../classes/table-store';
|
|
4
|
-
import { FilterType } from '../../enums/filterTypes';
|
|
5
|
-
import { FieldType } from '../../interfaces/report-def';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class FilterComponent<T extends mappedFieldTypes = any> {
|
|
8
|
-
state: TableStore;
|
|
9
|
-
filterTypes: Omit<{
|
|
10
|
-
0: Partial<{
|
|
11
|
-
Equals: FilterType[];
|
|
12
|
-
"Does Not Equal": FilterType[];
|
|
13
|
-
"Greater Than": FilterType[];
|
|
14
|
-
"Less Than": FilterType[];
|
|
15
|
-
Between: FilterType[];
|
|
16
|
-
Contains: FilterType[];
|
|
17
|
-
"Does Not Contain": FilterType[];
|
|
18
|
-
"Start With": FilterType[];
|
|
19
|
-
"Ends With": FilterType[];
|
|
20
|
-
"Is on": FilterType[];
|
|
21
|
-
"Is Not On": FilterType[];
|
|
22
|
-
"On or After": FilterType[];
|
|
23
|
-
"On or Before": FilterType[];
|
|
24
|
-
Is: FilterType[];
|
|
25
|
-
"Is Blank": FilterType[];
|
|
26
|
-
Or: FilterType[];
|
|
27
|
-
And: FilterType[];
|
|
28
|
-
In: FilterType[];
|
|
29
|
-
Custom: FilterType[];
|
|
30
|
-
}>;
|
|
31
|
-
1: Partial<{
|
|
32
|
-
Equals: FilterType[];
|
|
33
|
-
"Does Not Equal": FilterType[];
|
|
34
|
-
"Greater Than": FilterType[];
|
|
35
|
-
"Less Than": FilterType[];
|
|
36
|
-
Between: FilterType[];
|
|
37
|
-
Contains: FilterType[];
|
|
38
|
-
"Does Not Contain": FilterType[];
|
|
39
|
-
"Start With": FilterType[];
|
|
40
|
-
"Ends With": FilterType[];
|
|
41
|
-
"Is on": FilterType[];
|
|
42
|
-
"Is Not On": FilterType[];
|
|
43
|
-
"On or After": FilterType[];
|
|
44
|
-
"On or Before": FilterType[];
|
|
45
|
-
Is: FilterType[];
|
|
46
|
-
"Is Blank": FilterType[];
|
|
47
|
-
Or: FilterType[];
|
|
48
|
-
And: FilterType[];
|
|
49
|
-
In: FilterType[];
|
|
50
|
-
Custom: FilterType[];
|
|
51
|
-
}>;
|
|
52
|
-
2: Partial<{
|
|
53
|
-
Equals: FilterType[];
|
|
54
|
-
"Does Not Equal": FilterType[];
|
|
55
|
-
"Greater Than": FilterType[];
|
|
56
|
-
"Less Than": FilterType[];
|
|
57
|
-
Between: FilterType[];
|
|
58
|
-
Contains: FilterType[];
|
|
59
|
-
"Does Not Contain": FilterType[];
|
|
60
|
-
"Start With": FilterType[];
|
|
61
|
-
"Ends With": FilterType[];
|
|
62
|
-
"Is on": FilterType[];
|
|
63
|
-
"Is Not On": FilterType[];
|
|
64
|
-
"On or After": FilterType[];
|
|
65
|
-
"On or Before": FilterType[];
|
|
66
|
-
Is: FilterType[];
|
|
67
|
-
"Is Blank": FilterType[];
|
|
68
|
-
Or: FilterType[];
|
|
69
|
-
And: FilterType[];
|
|
70
|
-
In: FilterType[];
|
|
71
|
-
Custom: FilterType[];
|
|
72
|
-
}>;
|
|
73
|
-
3: Partial<{
|
|
74
|
-
Equals: FilterType[];
|
|
75
|
-
"Does Not Equal": FilterType[];
|
|
76
|
-
"Greater Than": FilterType[];
|
|
77
|
-
"Less Than": FilterType[];
|
|
78
|
-
Between: FilterType[];
|
|
79
|
-
Contains: FilterType[];
|
|
80
|
-
"Does Not Contain": FilterType[];
|
|
81
|
-
"Start With": FilterType[];
|
|
82
|
-
"Ends With": FilterType[];
|
|
83
|
-
"Is on": FilterType[];
|
|
84
|
-
"Is Not On": FilterType[];
|
|
85
|
-
"On or After": FilterType[];
|
|
86
|
-
"On or Before": FilterType[];
|
|
87
|
-
Is: FilterType[];
|
|
88
|
-
"Is Blank": FilterType[];
|
|
89
|
-
Or: FilterType[];
|
|
90
|
-
And: FilterType[];
|
|
91
|
-
In: FilterType[];
|
|
92
|
-
Custom: FilterType[];
|
|
93
|
-
}>;
|
|
94
|
-
4: Partial<{
|
|
95
|
-
Equals: FilterType[];
|
|
96
|
-
"Does Not Equal": FilterType[];
|
|
97
|
-
"Greater Than": FilterType[];
|
|
98
|
-
"Less Than": FilterType[];
|
|
99
|
-
Between: FilterType[];
|
|
100
|
-
Contains: FilterType[];
|
|
101
|
-
"Does Not Contain": FilterType[];
|
|
102
|
-
"Start With": FilterType[];
|
|
103
|
-
"Ends With": FilterType[];
|
|
104
|
-
"Is on": FilterType[];
|
|
105
|
-
"Is Not On": FilterType[];
|
|
106
|
-
"On or After": FilterType[];
|
|
107
|
-
"On or Before": FilterType[];
|
|
108
|
-
Is: FilterType[];
|
|
109
|
-
"Is Blank": FilterType[];
|
|
110
|
-
Or: FilterType[];
|
|
111
|
-
And: FilterType[];
|
|
112
|
-
In: FilterType[];
|
|
113
|
-
Custom: FilterType[];
|
|
114
|
-
}>;
|
|
115
|
-
5: Partial<{
|
|
116
|
-
Equals: FilterType[];
|
|
117
|
-
"Does Not Equal": FilterType[];
|
|
118
|
-
"Greater Than": FilterType[];
|
|
119
|
-
"Less Than": FilterType[];
|
|
120
|
-
Between: FilterType[];
|
|
121
|
-
Contains: FilterType[];
|
|
122
|
-
"Does Not Contain": FilterType[];
|
|
123
|
-
"Start With": FilterType[];
|
|
124
|
-
"Ends With": FilterType[];
|
|
125
|
-
"Is on": FilterType[];
|
|
126
|
-
"Is Not On": FilterType[];
|
|
127
|
-
"On or After": FilterType[];
|
|
128
|
-
"On or Before": FilterType[];
|
|
129
|
-
Is: FilterType[];
|
|
130
|
-
"Is Blank": FilterType[];
|
|
131
|
-
Or: FilterType[];
|
|
132
|
-
And: FilterType[];
|
|
133
|
-
In: FilterType[];
|
|
134
|
-
Custom: FilterType[];
|
|
135
|
-
}>;
|
|
136
|
-
6: Partial<{
|
|
137
|
-
Equals: FilterType[];
|
|
138
|
-
"Does Not Equal": FilterType[];
|
|
139
|
-
"Greater Than": FilterType[];
|
|
140
|
-
"Less Than": FilterType[];
|
|
141
|
-
Between: FilterType[];
|
|
142
|
-
Contains: FilterType[];
|
|
143
|
-
"Does Not Contain": FilterType[];
|
|
144
|
-
"Start With": FilterType[];
|
|
145
|
-
"Ends With": FilterType[];
|
|
146
|
-
"Is on": FilterType[];
|
|
147
|
-
"Is Not On": FilterType[];
|
|
148
|
-
"On or After": FilterType[];
|
|
149
|
-
"On or Before": FilterType[];
|
|
150
|
-
Is: FilterType[];
|
|
151
|
-
"Is Blank": FilterType[];
|
|
152
|
-
Or: FilterType[];
|
|
153
|
-
And: FilterType[];
|
|
154
|
-
In: FilterType[];
|
|
155
|
-
Custom: FilterType[];
|
|
156
|
-
}>;
|
|
157
|
-
7: Partial<{
|
|
158
|
-
Equals: FilterType[];
|
|
159
|
-
"Does Not Equal": FilterType[];
|
|
160
|
-
"Greater Than": FilterType[];
|
|
161
|
-
"Less Than": FilterType[];
|
|
162
|
-
Between: FilterType[];
|
|
163
|
-
Contains: FilterType[];
|
|
164
|
-
"Does Not Contain": FilterType[];
|
|
165
|
-
"Start With": FilterType[];
|
|
166
|
-
"Ends With": FilterType[];
|
|
167
|
-
"Is on": FilterType[];
|
|
168
|
-
"Is Not On": FilterType[];
|
|
169
|
-
"On or After": FilterType[];
|
|
170
|
-
"On or Before": FilterType[];
|
|
171
|
-
Is: FilterType[];
|
|
172
|
-
"Is Blank": FilterType[];
|
|
173
|
-
Or: FilterType[];
|
|
174
|
-
And: FilterType[];
|
|
175
|
-
In: FilterType[];
|
|
176
|
-
Custom: FilterType[];
|
|
177
|
-
}>;
|
|
178
|
-
8: Partial<{
|
|
179
|
-
Equals: FilterType[];
|
|
180
|
-
"Does Not Equal": FilterType[];
|
|
181
|
-
"Greater Than": FilterType[];
|
|
182
|
-
"Less Than": FilterType[];
|
|
183
|
-
Between: FilterType[];
|
|
184
|
-
Contains: FilterType[];
|
|
185
|
-
"Does Not Contain": FilterType[];
|
|
186
|
-
"Start With": FilterType[];
|
|
187
|
-
"Ends With": FilterType[];
|
|
188
|
-
"Is on": FilterType[];
|
|
189
|
-
"Is Not On": FilterType[];
|
|
190
|
-
"On or After": FilterType[];
|
|
191
|
-
"On or Before": FilterType[];
|
|
192
|
-
Is: FilterType[];
|
|
193
|
-
"Is Blank": FilterType[];
|
|
194
|
-
Or: FilterType[];
|
|
195
|
-
And: FilterType[];
|
|
196
|
-
In: FilterType[];
|
|
197
|
-
Custom: FilterType[];
|
|
198
|
-
}>;
|
|
199
|
-
9: Partial<{
|
|
200
|
-
Equals: FilterType[];
|
|
201
|
-
"Does Not Equal": FilterType[];
|
|
202
|
-
"Greater Than": FilterType[];
|
|
203
|
-
"Less Than": FilterType[];
|
|
204
|
-
Between: FilterType[];
|
|
205
|
-
Contains: FilterType[];
|
|
206
|
-
"Does Not Contain": FilterType[];
|
|
207
|
-
"Start With": FilterType[];
|
|
208
|
-
"Ends With": FilterType[];
|
|
209
|
-
"Is on": FilterType[];
|
|
210
|
-
"Is Not On": FilterType[];
|
|
211
|
-
"On or After": FilterType[];
|
|
212
|
-
"On or Before": FilterType[];
|
|
213
|
-
Is: FilterType[];
|
|
214
|
-
"Is Blank": FilterType[];
|
|
215
|
-
Or: FilterType[];
|
|
216
|
-
And: FilterType[];
|
|
217
|
-
In: FilterType[];
|
|
218
|
-
Custom: FilterType[];
|
|
219
|
-
}>;
|
|
220
|
-
10: Partial<{
|
|
221
|
-
Equals: FilterType[];
|
|
222
|
-
"Does Not Equal": FilterType[];
|
|
223
|
-
"Greater Than": FilterType[];
|
|
224
|
-
"Less Than": FilterType[];
|
|
225
|
-
Between: FilterType[];
|
|
226
|
-
Contains: FilterType[];
|
|
227
|
-
"Does Not Contain": FilterType[];
|
|
228
|
-
"Start With": FilterType[];
|
|
229
|
-
"Ends With": FilterType[];
|
|
230
|
-
"Is on": FilterType[];
|
|
231
|
-
"Is Not On": FilterType[];
|
|
232
|
-
"On or After": FilterType[];
|
|
233
|
-
"On or Before": FilterType[];
|
|
234
|
-
Is: FilterType[];
|
|
235
|
-
"Is Blank": FilterType[];
|
|
236
|
-
Or: FilterType[];
|
|
237
|
-
And: FilterType[];
|
|
238
|
-
In: FilterType[];
|
|
239
|
-
Custom: FilterType[];
|
|
240
|
-
}>;
|
|
241
|
-
11: Partial<{
|
|
242
|
-
Equals: FilterType[];
|
|
243
|
-
"Does Not Equal": FilterType[];
|
|
244
|
-
"Greater Than": FilterType[];
|
|
245
|
-
"Less Than": FilterType[];
|
|
246
|
-
Between: FilterType[];
|
|
247
|
-
Contains: FilterType[];
|
|
248
|
-
"Does Not Contain": FilterType[];
|
|
249
|
-
"Start With": FilterType[];
|
|
250
|
-
"Ends With": FilterType[];
|
|
251
|
-
"Is on": FilterType[];
|
|
252
|
-
"Is Not On": FilterType[];
|
|
253
|
-
"On or After": FilterType[];
|
|
254
|
-
"On or Before": FilterType[];
|
|
255
|
-
Is: FilterType[];
|
|
256
|
-
"Is Blank": FilterType[];
|
|
257
|
-
Or: FilterType[];
|
|
258
|
-
And: FilterType[];
|
|
259
|
-
In: FilterType[];
|
|
260
|
-
Custom: FilterType[];
|
|
261
|
-
}>;
|
|
262
|
-
12: Partial<{
|
|
263
|
-
Equals: FilterType[];
|
|
264
|
-
"Does Not Equal": FilterType[];
|
|
265
|
-
"Greater Than": FilterType[];
|
|
266
|
-
"Less Than": FilterType[];
|
|
267
|
-
Between: FilterType[];
|
|
268
|
-
Contains: FilterType[];
|
|
269
|
-
"Does Not Contain": FilterType[];
|
|
270
|
-
"Start With": FilterType[];
|
|
271
|
-
"Ends With": FilterType[];
|
|
272
|
-
"Is on": FilterType[];
|
|
273
|
-
"Is Not On": FilterType[];
|
|
274
|
-
"On or After": FilterType[];
|
|
275
|
-
"On or Before": FilterType[];
|
|
276
|
-
Is: FilterType[];
|
|
277
|
-
"Is Blank": FilterType[];
|
|
278
|
-
Or: FilterType[];
|
|
279
|
-
And: FilterType[];
|
|
280
|
-
In: FilterType[];
|
|
281
|
-
Custom: FilterType[];
|
|
282
|
-
}>;
|
|
283
|
-
}, UnmappedTypes>;
|
|
284
|
-
FilterType: typeof FilterType;
|
|
285
|
-
FieldType: typeof FieldType;
|
|
286
|
-
filter: PartialFilter;
|
|
287
|
-
close: EventEmitter<any>;
|
|
288
|
-
currentFilterType?: FilterType;
|
|
289
|
-
constructor(state: TableStore);
|
|
290
|
-
ngOnInit(): void;
|
|
291
|
-
onEnter(filter: FilterInfo, event: any): void;
|
|
292
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent<any>, never>;
|
|
293
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent<any>, "tb-filter", never, { "filter": "filter"; }, { "close": "close"; }, never, never, false, never>;
|
|
294
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { TableStore } from '../../../classes/table-store';
|
|
5
|
-
import { Dictionary } from '../../../interfaces/dictionary';
|
|
6
|
-
import { FieldType, MetaData } from '../../../interfaces/report-def';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class InListFilterComponent implements ControlValueAccessor {
|
|
9
|
-
private ref;
|
|
10
|
-
private tableState;
|
|
11
|
-
constructor(ref: ChangeDetectorRef, tableState: TableStore);
|
|
12
|
-
value: string[];
|
|
13
|
-
FieldType: typeof FieldType;
|
|
14
|
-
writeValue(obj: string[]): void;
|
|
15
|
-
onChange: (_: any) => void;
|
|
16
|
-
registerOnChange(fn: any): void;
|
|
17
|
-
onTouched: () => void;
|
|
18
|
-
registerOnTouched(fn: any): void;
|
|
19
|
-
key: string;
|
|
20
|
-
keyValues$: Observable<Dictionary<string>>;
|
|
21
|
-
selectedKeys: string[];
|
|
22
|
-
metaData: MetaData;
|
|
23
|
-
ngOnInit(): void;
|
|
24
|
-
selectFilterChanged($event: any, val: any): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InListFilterComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InListFilterComponent, "tb-in-list-filter , [tb-in-list-filter]", never, { "key": "key"; }, {}, never, never, false, never>;
|
|
27
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { DisplayCol } from '../../classes/display-col';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { TableStore } from '../../classes/table-store';
|
|
4
|
-
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class GenColDisplayerComponent {
|
|
7
|
-
private tableState;
|
|
8
|
-
columns$: Observable<DisplayCol[]>;
|
|
9
|
-
constructor(tableState: TableStore);
|
|
10
|
-
reset(displayCols: DisplayCol[]): void;
|
|
11
|
-
drop(event: CdkDragDrop<string[]>): void;
|
|
12
|
-
unset(displayCols: DisplayCol[]): void;
|
|
13
|
-
emit(displayCols: DisplayCol[]): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GenColDisplayerComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GenColDisplayerComponent, "tb-col-displayer", never, {}, {}, never, never, false, never>;
|
|
16
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { SimpleChanges, OnInit, QueryList, ViewContainerRef, ElementRef, Injector, TemplateRef } from '@angular/core';
|
|
2
|
-
import { MatSort } from '@angular/material/sort';
|
|
3
|
-
import { MatLegacyRowDef as MatRowDef, MatLegacyTable as MatTable } from '@angular/material/legacy-table';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { SelectionModel } from '@angular/cdk/collections';
|
|
6
|
-
import { TableStore } from '../../classes/table-store';
|
|
7
|
-
import { ColumnBuilderComponent } from '../column-builder/column-builder.component';
|
|
8
|
-
import { Dictionary } from '../../interfaces/dictionary';
|
|
9
|
-
import { GenericTableDataSource } from '../../classes/GenericTableDataSource';
|
|
10
|
-
import { ColumnInfo } from '../../interfaces/ColumnInfo';
|
|
11
|
-
import { CdkDragDrop, CdkDropList } from '@angular/cdk/drag-drop';
|
|
12
|
-
import { Group } from '../../classes/TableState';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
export declare class GenericTableComponent implements OnInit {
|
|
15
|
-
private sort;
|
|
16
|
-
state: TableStore;
|
|
17
|
-
private viewContainer;
|
|
18
|
-
drop(event: CdkDragDrop<string[]>): void;
|
|
19
|
-
data$: Observable<any[]>;
|
|
20
|
-
IndexColumn: boolean;
|
|
21
|
-
SelectionColumn: boolean;
|
|
22
|
-
trackBy: string;
|
|
23
|
-
rows: QueryList<MatRowDef<any>>;
|
|
24
|
-
isSticky: boolean;
|
|
25
|
-
columnBuilders: ColumnBuilderComponent[];
|
|
26
|
-
columnInfos: Observable<ColumnInfo[]>;
|
|
27
|
-
groupHeaderTemplate: TemplateRef<any>;
|
|
28
|
-
private _disableSort;
|
|
29
|
-
set disableSort(val: boolean);
|
|
30
|
-
get disableSort(): boolean;
|
|
31
|
-
table: MatTable<any>;
|
|
32
|
-
dropList: CdkDropList;
|
|
33
|
-
tableElRef: ElementRef;
|
|
34
|
-
currentColumns: string[];
|
|
35
|
-
dataSource: GenericTableDataSource<any>;
|
|
36
|
-
keys: string[];
|
|
37
|
-
injector: Injector;
|
|
38
|
-
rowDefArr: MatRowDef<any>[];
|
|
39
|
-
columns: string[];
|
|
40
|
-
myColumns: Dictionary<ColumnBuilderComponent>;
|
|
41
|
-
showHeader$: Observable<boolean>;
|
|
42
|
-
constructor(sort: MatSort, state: TableStore, viewContainer: ViewContainerRef, injector: Injector);
|
|
43
|
-
trackByFunction: (index: number, item: any) => any;
|
|
44
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
45
|
-
ngOnInit(): void;
|
|
46
|
-
createDataSource(): void;
|
|
47
|
-
isGroupHeader(_: number, row: {
|
|
48
|
-
isGroupHeader: boolean;
|
|
49
|
-
}): boolean;
|
|
50
|
-
isGroupFooter(_: number, row: {
|
|
51
|
-
isGroupFooter: boolean;
|
|
52
|
-
}): boolean;
|
|
53
|
-
updateGroup(group: Group): void;
|
|
54
|
-
addMetaData(column: ColumnInfo): void;
|
|
55
|
-
initializeRowDefs: (defs: MatRowDef<any>[]) => void;
|
|
56
|
-
selection: SelectionModel<any>;
|
|
57
|
-
selection$: Observable<any>;
|
|
58
|
-
masterToggleChecked$: Observable<boolean>;
|
|
59
|
-
masterToggleIndeterminate$: Observable<boolean>;
|
|
60
|
-
isAllSelected(): boolean;
|
|
61
|
-
/** Selects all rows if they are not all selected; otherwise clear selection. */
|
|
62
|
-
masterToggle(): void;
|
|
63
|
-
tableWidth: Observable<{
|
|
64
|
-
width: string;
|
|
65
|
-
} | {
|
|
66
|
-
width?: undefined;
|
|
67
|
-
}>;
|
|
68
|
-
collapseFooter$: Observable<boolean>;
|
|
69
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GenericTableComponent, never>;
|
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GenericTableComponent, "tb-generic-table", never, { "data$": "data$"; "IndexColumn": "IndexColumn"; "SelectionColumn": "SelectionColumn"; "trackBy": "trackBy"; "rows": "rows"; "isSticky": "isSticky"; "columnBuilders": "columnBuilders"; "columnInfos": "columnInfos"; "groupHeaderTemplate": "groupHeaderTemplate"; "disableSort": "disableSort"; }, { "selection$": "selection$"; }, never, never, false, never>;
|
|
71
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ElementRef, AfterViewInit, OnInit } from '@angular/core';
|
|
2
|
-
import { MatLegacyPaginator as MatPaginator } from '@angular/material/legacy-paginator';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { GenericTableDataSource } from '../../classes/GenericTableDataSource';
|
|
5
|
-
import { TableStore } from '../../classes/table-store';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class PaginatorComponent implements OnInit, AfterViewInit {
|
|
8
|
-
private state;
|
|
9
|
-
dataSource: GenericTableDataSource<any>;
|
|
10
|
-
tableElRef: ElementRef;
|
|
11
|
-
paginator: MatPaginator;
|
|
12
|
-
currentPageData$: Observable<CurrentPageDetails>;
|
|
13
|
-
collapseFooter$: Observable<boolean>;
|
|
14
|
-
data$: Observable<any[]>;
|
|
15
|
-
constructor(state: TableStore);
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
ngAfterViewInit(): void;
|
|
18
|
-
paginatorChange(): void;
|
|
19
|
-
ourPageEvent: boolean;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PaginatorComponent, "tb-paginator", never, { "dataSource": "dataSource"; "tableElRef": "tableElRef"; "data$": "data$"; }, {}, never, never, false, never>;
|
|
22
|
-
}
|
|
23
|
-
interface CurrentPageDetails {
|
|
24
|
-
currentStart: number;
|
|
25
|
-
currentEnd: number;
|
|
26
|
-
total: number;
|
|
27
|
-
}
|
|
28
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { TableStore } from '../../classes/table-store';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class GroupByListComponent implements OnInit {
|
|
5
|
-
tableStore: TableStore;
|
|
6
|
-
constructor(tableStore: TableStore);
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GroupByListComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GroupByListComponent, "group-by-list", never, {}, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
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 { MatLegacyMenuTrigger as MatMenuTrigger } from '@angular/material/legacy-menu';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class HeaderMenuComponent {
|
|
8
|
-
tableState: TableStore;
|
|
9
|
-
FieldType: typeof FieldType;
|
|
10
|
-
FilterType: typeof FilterType;
|
|
11
|
-
myFilterType: FilterType;
|
|
12
|
-
myFilterValue: any;
|
|
13
|
-
filter: Partial<FilterInfo>;
|
|
14
|
-
metaData: MetaData;
|
|
15
|
-
trigger: MatMenuTrigger;
|
|
16
|
-
constructor(tableState: TableStore);
|
|
17
|
-
hideField(key: string): void;
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
resetFilterType(): void;
|
|
20
|
-
setStringFilterType(): void;
|
|
21
|
-
setFilterType(filterType: FilterType): void;
|
|
22
|
-
onEnter(filter: FilterInfo): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderMenuComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderMenuComponent, "tb-header-menu", never, { "filter": "filter"; "metaData": "metaData"; }, {}, never, never, false, never>;
|
|
25
|
-
}
|