@one-paragon/angular-utilities 0.0.32 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +9 -0
- package/action-state/index.d.ts +4 -0
- package/action-state/ngrx-ext/ngrx-ext.module.d.ts +8 -0
- package/action-state/ngrx.d.ts +31 -0
- package/esm2020/action-state/action-state-spinner/action-state-spinner.component.mjs +23 -0
- package/esm2020/action-state/action-state-ui/action-state-ui.module.mjs +30 -0
- package/esm2020/action-state/index.mjs +8 -0
- package/esm2020/action-state/ngrx-ext/ngrx-ext.module.mjs +25 -0
- package/esm2020/action-state/ngrx.mjs +42 -0
- package/esm2020/public-api.mjs +2 -1
- package/esm2020/rxjs/rxjs-operators.mjs +14 -3
- package/esm2020/table-builder/classes/data-filter.mjs +6 -2
- package/fesm2015/one-paragon-angular-utilities.mjs +145 -23
- package/fesm2015/one-paragon-angular-utilities.mjs.map +1 -1
- package/fesm2020/one-paragon-angular-utilities.mjs +145 -23
- package/fesm2020/one-paragon-angular-utilities.mjs.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/rxjs/rxjs-operators.d.ts +1 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Directive, Input, NgModule, Injectable, InjectionToken, Pipe, Inject, Component, ChangeDetectionStrategy, ViewChild, HostListener, Injector, ElementRef, Output, Optional, EventEmitter, ContentChildren } from '@angular/core';
|
|
3
|
-
import { shareReplay, switchAll, map, filter, tap, catchError, startWith, switchMap, mergeMap, pluck,
|
|
3
|
+
import { shareReplay, switchAll, map, filter, tap, catchError, startWith, switchMap, mergeMap, pluck, last, takeUntil, distinctUntilKeyChanged, delay as delay$1, distinct, first as first$1, distinctUntilChanged, withLatestFrom, mergeAll, scan } from 'rxjs/operators';
|
|
4
4
|
import * as i2$2 from 'rxjs';
|
|
5
|
-
import { Subject, isObservable, of, ReplaySubject, Observable, combineLatest, Subscription,
|
|
5
|
+
import { Subject, isObservable, of, ReplaySubject, filter as filter$1, first, map as map$1, Observable, combineLatest, Subscription, startWith as startWith$1, pairwise, concatMap, merge, delay, fromEvent, asyncScheduler, tap as tap$1, BehaviorSubject, takeUntil as takeUntil$1, from, switchMap as switchMap$1, scan as scan$1 } from 'rxjs';
|
|
6
6
|
import { ComponentStore } from '@ngrx/component-store';
|
|
7
7
|
import * as i3$2 from '@angular/material/table';
|
|
8
8
|
import { MatColumnDef, MatTableDataSource, MatTable, MatTableModule, MatRowDef } from '@angular/material/table';
|
|
9
9
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
10
10
|
import * as _ from 'lodash';
|
|
11
|
-
import { flatten, merge, sumBy, orderBy, cloneDeep } from 'lodash';
|
|
11
|
+
import { flatten, merge as merge$1, sumBy, orderBy, cloneDeep } from 'lodash';
|
|
12
12
|
import * as i10 from '@angular/cdk/drag-drop';
|
|
13
13
|
import { moveItemInArray, CDK_DROP_LIST, CdkDropList, transferArrayItem, DragDropModule } from '@angular/cdk/drag-drop';
|
|
14
14
|
import * as i1 from '@angular/common';
|
|
@@ -56,6 +56,7 @@ import { MatDialogModule } from '@angular/material/dialog';
|
|
|
56
56
|
import { MatExpansionModule } from '@angular/material/expansion';
|
|
57
57
|
import { MatGridListModule } from '@angular/material/grid-list';
|
|
58
58
|
import { MatListModule } from '@angular/material/list';
|
|
59
|
+
import * as i1$5 from '@angular/material/progress-spinner';
|
|
59
60
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
60
61
|
import { MatSidenavModule } from '@angular/material/sidenav';
|
|
61
62
|
import * as i4$4 from '@angular/material/slide-toggle';
|
|
@@ -68,9 +69,10 @@ import * as i6$3 from '@angular/material/chips';
|
|
|
68
69
|
import { MatChipsModule } from '@angular/material/chips';
|
|
69
70
|
import * as i7$2 from '@angular/material/button-toggle';
|
|
70
71
|
import * as i3$3 from '@ngrx/store';
|
|
71
|
-
import { createSelector, createAction, props, select, createReducer, on, StoreModule } from '@ngrx/store';
|
|
72
|
+
import { createSelector, createAction, props, select, createReducer, on, StoreModule, createFeatureSelector } from '@ngrx/store';
|
|
72
73
|
import * as i1$4 from '@ngrx/effects';
|
|
73
74
|
import { createEffect, ofType, concatLatestFrom, EffectsModule } from '@ngrx/effects';
|
|
75
|
+
import { createEntityAdapter } from '@ngrx/entity';
|
|
74
76
|
|
|
75
77
|
var HttpRequestStatus;
|
|
76
78
|
(function (HttpRequestStatus) {
|
|
@@ -517,10 +519,10 @@ var ArrayStyle;
|
|
|
517
519
|
})(ArrayStyle || (ArrayStyle = {}));
|
|
518
520
|
|
|
519
521
|
const onceWhen = (predicate) => (src) => {
|
|
520
|
-
return src.pipe(filter(predicate), first());
|
|
522
|
+
return src.pipe(filter$1(predicate), first());
|
|
521
523
|
};
|
|
522
|
-
const mapArray = (mapFunc) => (source) => source.pipe(map(src => src.map(mapFunc)));
|
|
523
|
-
const filterArray = (filterFunc) => (source) => source.pipe(map(src => src.filter(filterFunc)));
|
|
524
|
+
const mapArray = (mapFunc) => (source) => source.pipe(map$1(src => src.map(mapFunc)));
|
|
525
|
+
const filterArray = (filterFunc) => (source) => source.pipe(map$1(src => src.filter(filterFunc)));
|
|
524
526
|
function onWait(val) {
|
|
525
527
|
return (source) => {
|
|
526
528
|
return new Observable(subscriber => {
|
|
@@ -539,7 +541,7 @@ function onWait(val) {
|
|
|
539
541
|
};
|
|
540
542
|
}
|
|
541
543
|
const combineArrays = (sources) => {
|
|
542
|
-
return combineLatest(sources.map(src => src.pipe(onWait([])))).pipe(map(res => flatten(res)));
|
|
544
|
+
return combineLatest(sources.map(src => src.pipe(onWait([])))).pipe(map$1(res => flatten(res)));
|
|
543
545
|
};
|
|
544
546
|
function switchOff(switchSource, defaultState = true) {
|
|
545
547
|
return (source) => {
|
|
@@ -584,12 +586,24 @@ function skipOneWhen(skipper) {
|
|
|
584
586
|
}
|
|
585
587
|
function previousAndCurrent(startingValue) {
|
|
586
588
|
return (source) => {
|
|
587
|
-
return source.pipe(startWith(startingValue), pairwise());
|
|
589
|
+
return source.pipe(startWith$1(startingValue), pairwise());
|
|
588
590
|
};
|
|
589
591
|
}
|
|
590
592
|
function notNull() {
|
|
591
593
|
return (source) => {
|
|
592
|
-
return source.pipe(filter((o) => !!o));
|
|
594
|
+
return source.pipe(filter$1((o) => !!o));
|
|
595
|
+
};
|
|
596
|
+
}
|
|
597
|
+
function delayOn(predicate, delayTime) {
|
|
598
|
+
return (src) => {
|
|
599
|
+
return src.pipe(concatMap(r => {
|
|
600
|
+
if (predicate(r)) {
|
|
601
|
+
return merge(of({ r }), of(null).pipe(delay(delayTime))).pipe(notNull(), map$1(d => d.r));
|
|
602
|
+
}
|
|
603
|
+
else {
|
|
604
|
+
return of(r);
|
|
605
|
+
}
|
|
606
|
+
}));
|
|
593
607
|
};
|
|
594
608
|
}
|
|
595
609
|
|
|
@@ -663,9 +677,9 @@ class GeneralTableSettings {
|
|
|
663
677
|
this.footerSettings = new TableWrapperFooterSettings();
|
|
664
678
|
this.columnHeaderSettings = new TableColumnHeaderSettings();
|
|
665
679
|
if (settings) {
|
|
666
|
-
merge(this.headerSettings, settings.headerSettings);
|
|
667
|
-
merge(this.footerSettings, settings.footerSettings);
|
|
668
|
-
merge(this.columnHeaderSettings, settings.columnHeaderSettings);
|
|
680
|
+
merge$1(this.headerSettings, settings.headerSettings);
|
|
681
|
+
merge$1(this.footerSettings, settings.footerSettings);
|
|
682
|
+
merge$1(this.columnHeaderSettings, settings.columnHeaderSettings);
|
|
669
683
|
}
|
|
670
684
|
}
|
|
671
685
|
}
|
|
@@ -1850,7 +1864,7 @@ class PaginatorComponent {
|
|
|
1850
1864
|
this.collapseFooter$ = this.state.state$.pipe(map(state => state.persistedTableSettings.collapseFooter));
|
|
1851
1865
|
}
|
|
1852
1866
|
ngAfterViewInit() {
|
|
1853
|
-
this.currentPageData$ = merge
|
|
1867
|
+
this.currentPageData$ = merge(this.paginator.page.pipe(map(mapPaginationEventToCurrentPageDetails)), this.data$.pipe(distinctUntilKeyChanged("length"), delayToAllowForProperUpdate, map(updateCurrentPageDetailsOnDataLengthChange(this.paginator))));
|
|
1854
1868
|
}
|
|
1855
1869
|
paginatorChange() {
|
|
1856
1870
|
if (!this.ourPageEvent) {
|
|
@@ -1898,7 +1912,7 @@ const mapPaginationEventToCurrentPageDetails = (pageData) => ({
|
|
|
1898
1912
|
const updateCurrentPageDetailsOnDataLengthChange = (paginator) => () => ({ currentStart: (paginator.pageIndex * paginator.pageSize) + 1,
|
|
1899
1913
|
currentEnd: Math.min(paginator.length, ((paginator.pageIndex + 1) * paginator.pageSize)),
|
|
1900
1914
|
total: paginator.length });
|
|
1901
|
-
const delayToAllowForProperUpdate = delay(0, asyncScheduler);
|
|
1915
|
+
const delayToAllowForProperUpdate = delay$1(0, asyncScheduler);
|
|
1902
1916
|
const metaDataPageSizeChange = (state) => state.state$.pipe(map(state => state.pageSize), distinct());
|
|
1903
1917
|
const setPaginatorPageSize = (paginator) => (pageSize) => paginator._changePageSize(pageSize);
|
|
1904
1918
|
const onPagiantorPageSizeChange = (paginator) => paginator.page.pipe(map(e => e.pageSize), distinct());
|
|
@@ -2970,7 +2984,11 @@ class DataFilter {
|
|
|
2970
2984
|
appendFilters(filters$) {
|
|
2971
2985
|
return new DataFilter(combineArrays([
|
|
2972
2986
|
this.filters$ ?? of([]),
|
|
2973
|
-
filters$.pipe(map(fltrs => fltrs
|
|
2987
|
+
filters$.pipe(map(fltrs => fltrs
|
|
2988
|
+
// we only want to remove it if it was specifically set to false
|
|
2989
|
+
// as apposed to falsy
|
|
2990
|
+
.filter(f => f.active !== false)
|
|
2991
|
+
.map(filter => createFilterFunc(filter))))
|
|
2974
2992
|
]));
|
|
2975
2993
|
}
|
|
2976
2994
|
}
|
|
@@ -2994,7 +3012,7 @@ class ExportToCsvService {
|
|
|
2994
3012
|
this.datePipe = datePipe;
|
|
2995
3013
|
this.exportToCsv = (data) => {
|
|
2996
3014
|
const exportableFields$ = this.state.state$.pipe(map(mapExportableFields));
|
|
2997
|
-
combineLatest([data, exportableFields$]).pipe(first(), map(([data, fields]) => this.csvData(data, fields))).subscribe(csv => downloadData(csv, 'export.csv', 'text/csv'));
|
|
3015
|
+
combineLatest([data, exportableFields$]).pipe(first$1(), map(([data, fields]) => this.csvData(data, fields))).subscribe(csv => downloadData(csv, 'export.csv', 'text/csv'));
|
|
2998
3016
|
};
|
|
2999
3017
|
this.csvData = (data, metaData) => {
|
|
3000
3018
|
const res = data.map(row => metaData.map(meta => this.metaToField(meta, row)).join(','));
|
|
@@ -3228,7 +3246,7 @@ class SortMenuComponent {
|
|
|
3228
3246
|
this.dirty$ = new BehaviorSubject(false);
|
|
3229
3247
|
this.apply = this.store.effect((obs) => obs.pipe(tap(() => {
|
|
3230
3248
|
this.dirty$.next(false);
|
|
3231
|
-
this.tableState.setAllSort(this.store.sorted$.pipe(first()));
|
|
3249
|
+
this.tableState.setAllSort(this.store.sorted$.pipe(first$1()));
|
|
3232
3250
|
})));
|
|
3233
3251
|
this.sorted$ = this.store.sorted$.pipe(map(data => [...data]));
|
|
3234
3252
|
this.notSorted$ = this.store.notSorted$.pipe(map(data => [...data]));
|
|
@@ -3488,7 +3506,7 @@ class TableContainerComponent {
|
|
|
3488
3506
|
this.state.setTableSettings(this.tableBuilder.settings);
|
|
3489
3507
|
this.state.runOnceWhen(stateIs(InitializationState.MetaDataLoaded), state => {
|
|
3490
3508
|
if (this.tableId) {
|
|
3491
|
-
const persistedState$ = this.store.pipe(select(selectLocalProfileState(this.tableId)), first(), tap(persistedState => {
|
|
3509
|
+
const persistedState$ = this.store.pipe(select(selectLocalProfileState(this.tableId)), first$1(), tap(persistedState => {
|
|
3492
3510
|
if (!persistedState) {
|
|
3493
3511
|
this.state.setIntializationState(InitializationState.LoadedFromStore);
|
|
3494
3512
|
}
|
|
@@ -3524,7 +3542,7 @@ class TableContainerComponent {
|
|
|
3524
3542
|
this.exportToCsvService.exportToCsv(sorted);
|
|
3525
3543
|
}
|
|
3526
3544
|
saveState() {
|
|
3527
|
-
this.state.getSavableState().pipe(first()).subscribe(tableState => {
|
|
3545
|
+
this.state.getSavableState().pipe(first$1()).subscribe(tableState => {
|
|
3528
3546
|
this.OnSaveState.next(null);
|
|
3529
3547
|
this.store.dispatch(setLocalProfile({ key: this.tableId, value: tableState, persist: true }));
|
|
3530
3548
|
});
|
|
@@ -3819,7 +3837,7 @@ class MatSlideToggleGroupDirective {
|
|
|
3819
3837
|
return startValue;
|
|
3820
3838
|
}
|
|
3821
3839
|
getObs() {
|
|
3822
|
-
var toggleChanges = merge
|
|
3840
|
+
var toggleChanges = merge(...this._toggles.map(toggle => toggle.change));
|
|
3823
3841
|
const startValue = this.getInitValue();
|
|
3824
3842
|
return toggleChanges.pipe(scan$1((prev, cur) => {
|
|
3825
3843
|
const toggleName = cur.source.name;
|
|
@@ -4080,7 +4098,7 @@ class TableBuilder {
|
|
|
4080
4098
|
this.data$ = this.data$.pipe(defaultShareReplay());
|
|
4081
4099
|
this.metaData$ = metaData$ ?
|
|
4082
4100
|
metaData$.pipe(defaultShareReplay()) :
|
|
4083
|
-
data$.pipe(first(), map(data => this.createMetaData(data[0])), defaultShareReplay());
|
|
4101
|
+
data$.pipe(first$1(), map(data => this.createMetaData(data[0])), defaultShareReplay());
|
|
4084
4102
|
const s = isObservable(settings) ? settings : of(settings);
|
|
4085
4103
|
this.settings = s.pipe(map(sett => new GeneralTableSettings(sett)), defaultShareReplay());
|
|
4086
4104
|
}
|
|
@@ -4125,6 +4143,110 @@ const CreateTableBuilder = (reportDef$) => {
|
|
|
4125
4143
|
return new TableBuilder(reportDef$.pipe(map(r => r.data)), reportDef$.pipe(map(r => r.metaData)));
|
|
4126
4144
|
};
|
|
4127
4145
|
|
|
4146
|
+
// State
|
|
4147
|
+
class AppStatusState {
|
|
4148
|
+
}
|
|
4149
|
+
class ActionStatus {
|
|
4150
|
+
}
|
|
4151
|
+
const intitalState = {
|
|
4152
|
+
ids: [],
|
|
4153
|
+
entities: {}
|
|
4154
|
+
};
|
|
4155
|
+
var serverStatusTypes;
|
|
4156
|
+
(function (serverStatusTypes) {
|
|
4157
|
+
serverStatusTypes[serverStatusTypes["notStarted"] = 0] = "notStarted";
|
|
4158
|
+
serverStatusTypes[serverStatusTypes["inProgress"] = 1] = "inProgress";
|
|
4159
|
+
serverStatusTypes[serverStatusTypes["success"] = 2] = "success";
|
|
4160
|
+
serverStatusTypes[serverStatusTypes["error"] = 3] = "error";
|
|
4161
|
+
})(serverStatusTypes || (serverStatusTypes = {}));
|
|
4162
|
+
// Entity and Selectors
|
|
4163
|
+
const statusAdapter = createEntityAdapter(); // { selectId: a => a.id }
|
|
4164
|
+
const initialState = statusAdapter.getInitialState(intitalState);
|
|
4165
|
+
const getStatusState = createFeatureSelector('ActionStatus');
|
|
4166
|
+
const { selectIds, selectEntities, selectAll, selectTotal } = statusAdapter.getSelectors(getStatusState);
|
|
4167
|
+
const selectEntity = (id) => createSelector(selectEntities, (entities) => entities[id]);
|
|
4168
|
+
// Reducers
|
|
4169
|
+
function actionStatusReducer(state = initialState, action) {
|
|
4170
|
+
const actionStatus = _.get(action, 'payload.actionStatus');
|
|
4171
|
+
if (actionStatus) {
|
|
4172
|
+
if (state.ids.find(id => id === actionStatus.id)) {
|
|
4173
|
+
const modifiedObj = { ...state.entities[actionStatus.id] };
|
|
4174
|
+
modifiedObj.status = actionStatus.status;
|
|
4175
|
+
modifiedObj.responsePayload = actionStatus.responsePayload;
|
|
4176
|
+
return statusAdapter.upsertOne(modifiedObj, state);
|
|
4177
|
+
}
|
|
4178
|
+
else {
|
|
4179
|
+
return statusAdapter.addOne(actionStatus, state);
|
|
4180
|
+
}
|
|
4181
|
+
}
|
|
4182
|
+
return state;
|
|
4183
|
+
}
|
|
4184
|
+
|
|
4185
|
+
class NgrxExtModule {
|
|
4186
|
+
}
|
|
4187
|
+
NgrxExtModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: NgrxExtModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4188
|
+
NgrxExtModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: NgrxExtModule, imports: [CommonModule, i3$3.StoreFeatureModule] });
|
|
4189
|
+
NgrxExtModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: NgrxExtModule, imports: [[
|
|
4190
|
+
CommonModule,
|
|
4191
|
+
StoreModule.forFeature('ActionStatus', actionStatusReducer),
|
|
4192
|
+
]] });
|
|
4193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: NgrxExtModule, decorators: [{
|
|
4194
|
+
type: NgModule,
|
|
4195
|
+
args: [{
|
|
4196
|
+
declarations: [],
|
|
4197
|
+
imports: [
|
|
4198
|
+
CommonModule,
|
|
4199
|
+
StoreModule.forFeature('ActionStatus', actionStatusReducer),
|
|
4200
|
+
]
|
|
4201
|
+
}]
|
|
4202
|
+
}] });
|
|
4203
|
+
|
|
4204
|
+
class ActionStateSpinnerComponent {
|
|
4205
|
+
constructor() {
|
|
4206
|
+
this.serverStatusTypes = serverStatusTypes;
|
|
4207
|
+
}
|
|
4208
|
+
ngOnInit() {
|
|
4209
|
+
this.serverActionStatus$ = this.status$.pipe(delayOn(a => a.status === serverStatusTypes.inProgress, 500));
|
|
4210
|
+
}
|
|
4211
|
+
}
|
|
4212
|
+
ActionStateSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: ActionStateSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4213
|
+
ActionStateSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.5", type: ActionStateSpinnerComponent, selector: "lib-action-state-spinner", inputs: { status$: "status$" }, ngImport: i0, template: "<div id=\"blocker\" *ngIf=\"(serverActionStatus$ | async)?.status === serverStatusTypes.inProgress\">\n <mat-spinner class=\"spinner\" [diameter]=\"200\"></mat-spinner>\n</div>\n", styles: ["#blocker{position:fixed;top:0px;left:0px;width:100%;height:100%;background-color:#0e0d0d69;z-index:999999}.spinner{position:absolute;top:50%;left:40%;transform:translate(-50%,-50%)}\n"], components: [{ type: i1$5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i1.AsyncPipe } });
|
|
4214
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: ActionStateSpinnerComponent, decorators: [{
|
|
4215
|
+
type: Component,
|
|
4216
|
+
args: [{ selector: 'lib-action-state-spinner', template: "<div id=\"blocker\" *ngIf=\"(serverActionStatus$ | async)?.status === serverStatusTypes.inProgress\">\n <mat-spinner class=\"spinner\" [diameter]=\"200\"></mat-spinner>\n</div>\n", styles: ["#blocker{position:fixed;top:0px;left:0px;width:100%;height:100%;background-color:#0e0d0d69;z-index:999999}.spinner{position:absolute;top:50%;left:40%;transform:translate(-50%,-50%)}\n"] }]
|
|
4217
|
+
}], propDecorators: { status$: [{
|
|
4218
|
+
type: Input
|
|
4219
|
+
}] } });
|
|
4220
|
+
|
|
4221
|
+
class ActionStateUiModule {
|
|
4222
|
+
}
|
|
4223
|
+
ActionStateUiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: ActionStateUiModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4224
|
+
ActionStateUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: ActionStateUiModule, declarations: [ActionStateSpinnerComponent], imports: [CommonModule,
|
|
4225
|
+
MatProgressSpinnerModule], exports: [ActionStateSpinnerComponent] });
|
|
4226
|
+
ActionStateUiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: ActionStateUiModule, imports: [[
|
|
4227
|
+
CommonModule,
|
|
4228
|
+
MatProgressSpinnerModule,
|
|
4229
|
+
]] });
|
|
4230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: ActionStateUiModule, decorators: [{
|
|
4231
|
+
type: NgModule,
|
|
4232
|
+
args: [{
|
|
4233
|
+
declarations: [
|
|
4234
|
+
ActionStateSpinnerComponent,
|
|
4235
|
+
],
|
|
4236
|
+
imports: [
|
|
4237
|
+
CommonModule,
|
|
4238
|
+
MatProgressSpinnerModule,
|
|
4239
|
+
],
|
|
4240
|
+
exports: [
|
|
4241
|
+
ActionStateSpinnerComponent,
|
|
4242
|
+
]
|
|
4243
|
+
}]
|
|
4244
|
+
}] });
|
|
4245
|
+
|
|
4246
|
+
/*
|
|
4247
|
+
* Public API Surface of action-state
|
|
4248
|
+
*/
|
|
4249
|
+
|
|
4128
4250
|
/*
|
|
4129
4251
|
* Public API Surface of http-request-state
|
|
4130
4252
|
*/
|
|
@@ -4133,5 +4255,5 @@ const CreateTableBuilder = (reportDef$) => {
|
|
|
4133
4255
|
* Generated bundle index. Do not edit.
|
|
4134
4256
|
*/
|
|
4135
4257
|
|
|
4136
|
-
export { ArrayStyle, AutoFocusDirective, ClickEmitterDirective, ClickSubjectDirective, CreateTableBuilder, CustomCellDirective, DateFilterComponent, DialogDirective, DialogService, DialogWrapper, FieldType, FilterChipsComponent, FilterComponent, FilterType, FunctionPipe, GenColDisplayerComponent, GenFilterDisplayerComponent, GeneralTableSettings, GenericTableComponent, HttpErrorStateDirective, HttpInProgressStateDirective, HttpNotStartedStateDirective, HttpRequestModule, HttpRequestStateDirective, HttpRequestStateFactory, HttpRequestStateStore, HttpRequestStatus, HttpRequestStrategy, HttpSuccessStateDirective, MatButtonToggleFilterDirective, MatCheckboxTbFilterDirective, MatOptionTbFilterDirective, MatRadioButtonTbFilterDirective, MatSlideToggleGroupDirective, MatSlideToggleTbFilterDirective, MatTableObservableDataSource, MultiSortDirective, NotPersisitedTableSettings, PaginatorComponent, PesrsistedTableSettings, PhoneNumberPipe, PreventEnterDirective, ResizeColumnDirective, SortDirection, SpaceCasePipe, StopPropagationDirective, StylerDirective, TableBuilder, TableBuilderModule, TableColumnHeaderSettings, TableContainerComponent, TableCustomFilterDirective, TableCustomFilterDirectiveBase, TableFilterDirective, TableFilterStringContainsDirective, TableWrapperDirective, TableWrapperFooterSettings, TableWrapperHeaderSettings, Target, TbSelectedFilterDirective, UtilitiesModule, chainRequest, combineArrays, createFailure, createSuccess, defaultShareReplay, filterArray, getRequestorBody, getRequestorStatus, httpRequest, httpRequestor, inProgress, isErrorState, isSuccessState, mapArray, mapError, notNull, notStarted, onWait, onceWhen, previousAndCurrent, skipOneWhen, spaceCase, statusIsSuccessOrInProgress, switchOff, tapError, tapSuccess };
|
|
4258
|
+
export { ActionStateSpinnerComponent, ActionStateUiModule, ActionStatus, AppStatusState, ArrayStyle, AutoFocusDirective, ClickEmitterDirective, ClickSubjectDirective, CreateTableBuilder, CustomCellDirective, DateFilterComponent, DialogDirective, DialogService, DialogWrapper, FieldType, FilterChipsComponent, FilterComponent, FilterType, FunctionPipe, GenColDisplayerComponent, GenFilterDisplayerComponent, GeneralTableSettings, GenericTableComponent, HttpErrorStateDirective, HttpInProgressStateDirective, HttpNotStartedStateDirective, HttpRequestModule, HttpRequestStateDirective, HttpRequestStateFactory, HttpRequestStateStore, HttpRequestStatus, HttpRequestStrategy, HttpSuccessStateDirective, MatButtonToggleFilterDirective, MatCheckboxTbFilterDirective, MatOptionTbFilterDirective, MatRadioButtonTbFilterDirective, MatSlideToggleGroupDirective, MatSlideToggleTbFilterDirective, MatTableObservableDataSource, MultiSortDirective, NgrxExtModule, NotPersisitedTableSettings, PaginatorComponent, PesrsistedTableSettings, PhoneNumberPipe, PreventEnterDirective, ResizeColumnDirective, SortDirection, SpaceCasePipe, StopPropagationDirective, StylerDirective, TableBuilder, TableBuilderModule, TableColumnHeaderSettings, TableContainerComponent, TableCustomFilterDirective, TableCustomFilterDirectiveBase, TableFilterDirective, TableFilterStringContainsDirective, TableWrapperDirective, TableWrapperFooterSettings, TableWrapperHeaderSettings, Target, TbSelectedFilterDirective, UtilitiesModule, actionStatusReducer, chainRequest, combineArrays, createFailure, createSuccess, defaultShareReplay, delayOn, filterArray, getRequestorBody, getRequestorStatus, getStatusState, httpRequest, httpRequestor, inProgress, initialState, isErrorState, isSuccessState, mapArray, mapError, notNull, notStarted, onWait, onceWhen, previousAndCurrent, selectAll, selectEntities, selectEntity, selectIds, selectTotal, serverStatusTypes, skipOneWhen, spaceCase, statusAdapter, statusIsSuccessOrInProgress, switchOff, tapError, tapSuccess };
|
|
4137
4259
|
//# sourceMappingURL=one-paragon-angular-utilities.mjs.map
|