@one-paragon/angular-utilities 0.2.2 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action-state/action-state-spinner/action-state-spinner.component.d.ts +1 -1
- package/action-state/action-state-ui/action-state-ui.module.d.ts +1 -3
- package/esm2022/action-state/action-state-spinner/action-state-spinner.component.mjs +6 -5
- package/esm2022/action-state/action-state-ui/action-state-ui.module.mjs +4 -12
- package/esm2022/action-state/ngrx.mjs +4 -4
- package/esm2022/http-request-state/directives/http-error-state-directive.mjs +3 -3
- package/esm2022/http-request-state/directives/http-inProgress-state-directive.mjs +3 -3
- package/esm2022/http-request-state/directives/http-notStarted-state-directive.mjs +3 -3
- package/esm2022/http-request-state/directives/http-success-state-directive.mjs +3 -3
- package/esm2022/http-request-state/directives/request-state-directive.mjs +3 -3
- package/esm2022/http-request-state/http-state-module.mjs +3 -4
- package/esm2022/ngrx/actionable-selector.mjs +7 -11
- package/esm2022/table-builder/classes/TableBuilderConfig.mjs +13 -2
- package/esm2022/table-builder/classes/TableState.mjs +2 -1
- package/esm2022/table-builder/classes/table-store.mjs +6 -8
- package/esm2022/table-builder/components/array-column.component.mjs +31 -27
- package/esm2022/table-builder/components/column-builder/column-builder.component.mjs +19 -15
- package/esm2022/table-builder/components/date-filter/date-filter.component.mjs +13 -8
- package/esm2022/table-builder/components/date-time-filter/date-time-filter.component.mjs +9 -6
- package/esm2022/table-builder/components/filter/filter.component.mjs +33 -20
- package/esm2022/table-builder/components/filter/in-list/in-list-filter.component.mjs +24 -20
- package/esm2022/table-builder/components/gen-col-displayer/gen-col-displayer.component.mjs +17 -10
- package/esm2022/table-builder/components/generic-table/generic-table.component.mjs +28 -22
- package/esm2022/table-builder/components/generic-table/paginator.component.mjs +22 -22
- package/esm2022/table-builder/components/group-by-list/group-by-list.component.mjs +18 -16
- package/esm2022/table-builder/components/header-menu/header-menu.component.mjs +26 -16
- package/esm2022/table-builder/components/in-filter/in-filter.component.mjs +10 -8
- package/esm2022/table-builder/components/initialization-component/initialization-component.mjs +9 -6
- package/esm2022/table-builder/components/link-column.component.mjs +47 -42
- package/esm2022/table-builder/components/number-filter/number-filter.component.mjs +11 -8
- package/esm2022/table-builder/components/sort-menu/sort-menu.component.mjs +17 -11
- package/esm2022/table-builder/components/table-container/table-container-imports.mjs +22 -0
- package/esm2022/table-builder/components/table-container/table-container.mjs +76 -85
- package/esm2022/table-builder/components/table-container-filter/filter-list/filter-list.component.mjs +29 -24
- package/esm2022/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.mjs +15 -9
- package/esm2022/table-builder/directives/custom-cell-directive.mjs +3 -2
- package/esm2022/table-builder/directives/multi-sort.directive.mjs +4 -3
- package/esm2022/table-builder/directives/resize-column.directive.mjs +3 -2
- package/esm2022/table-builder/directives/table-wrapper.directive.mjs +6 -5
- package/esm2022/table-builder/directives/tb-filter.directive.mjs +22 -15
- package/esm2022/table-builder/ngrx/tableBuilderStateStore.mjs +116 -0
- package/esm2022/table-builder/pipes/column-total.pipe.mjs +6 -3
- package/esm2022/table-builder/pipes/format-filter-type.pipe.mjs +3 -3
- package/esm2022/table-builder/pipes/format-filter-value.pipe.mjs +3 -3
- package/esm2022/table-builder/pipes/key-display.mjs +3 -3
- package/esm2022/table-builder/table-builder.module.mjs +36 -123
- package/esm2022/utilities/directives/auto-focus.directive.mjs +4 -3
- package/esm2022/utilities/directives/clickEmitterDirective.mjs +4 -3
- package/esm2022/utilities/directives/clickSubject.mjs +4 -3
- package/esm2022/utilities/directives/conditional-classes.directive.mjs +4 -3
- package/esm2022/utilities/directives/dialog-service.mjs +2 -4
- package/esm2022/utilities/directives/dialog.mjs +9 -9
- package/esm2022/utilities/directives/mat-toggle-group-directive.mjs +3 -2
- package/esm2022/utilities/directives/prevent-enter.directive.mjs +4 -3
- package/esm2022/utilities/directives/stop-propagation.directive.mjs +4 -3
- package/esm2022/utilities/directives/styler.mjs +3 -2
- package/esm2022/utilities/directives/trim-whitespace.directive.mjs +3 -2
- package/esm2022/utilities/module.mjs +3 -4
- package/esm2022/utilities/pipes/function.pipe.mjs +4 -3
- package/esm2022/utilities/pipes/phone.pipe.mjs +3 -3
- package/esm2022/utilities/pipes/space-case.pipes.mjs +3 -3
- package/fesm2022/one-paragon-angular-utilities.mjs +2195 -2379
- package/fesm2022/one-paragon-angular-utilities.mjs.map +1 -1
- package/http-request-state/directives/http-error-state-directive.d.ts +1 -1
- package/http-request-state/directives/http-inProgress-state-directive.d.ts +1 -1
- package/http-request-state/directives/http-notStarted-state-directive.d.ts +1 -1
- package/http-request-state/directives/http-success-state-directive.d.ts +1 -1
- package/http-request-state/directives/request-state-directive.d.ts +1 -1
- package/http-request-state/http-state-module.d.ts +1 -1
- package/ngrx/actionable-selector.d.ts +1 -0
- package/package.json +1 -1
- package/table-builder/classes/TableState.d.ts +2 -1
- package/table-builder/classes/table-store.d.ts +3 -3
- package/table-builder/components/array-column.component.d.ts +1 -1
- package/table-builder/components/column-builder/column-builder.component.d.ts +1 -1
- package/table-builder/components/date-filter/date-filter.component.d.ts +1 -1
- package/table-builder/components/date-time-filter/date-time-filter.component.d.ts +1 -1
- package/table-builder/components/filter/filter.component.d.ts +5 -5
- package/table-builder/components/filter/in-list/in-list-filter.component.d.ts +1 -1
- package/table-builder/components/gen-col-displayer/gen-col-displayer.component.d.ts +1 -1
- package/table-builder/components/generic-table/generic-table.component.d.ts +3 -3
- package/table-builder/components/generic-table/paginator.component.d.ts +1 -1
- package/table-builder/components/group-by-list/group-by-list.component.d.ts +2 -5
- package/table-builder/components/header-menu/header-menu.component.d.ts +1 -1
- package/table-builder/components/in-filter/in-filter.component.d.ts +1 -1
- package/table-builder/components/initialization-component/initialization-component.d.ts +1 -1
- package/table-builder/components/link-column.component.d.ts +1 -1
- package/table-builder/components/number-filter/number-filter.component.d.ts +1 -1
- package/table-builder/components/sort-menu/sort-menu.component.d.ts +1 -1
- package/table-builder/components/table-container/table-container-imports.d.ts +11 -0
- package/table-builder/components/table-container/table-container.d.ts +18 -19
- package/table-builder/components/table-container-filter/filter-list/filter-list.component.d.ts +2 -3
- package/table-builder/components/table-container-filter/gen-filter-displayer/gen-filter-displayer.component.d.ts +1 -1
- package/table-builder/directives/custom-cell-directive.d.ts +1 -1
- package/table-builder/directives/multi-sort.directive.d.ts +1 -1
- package/table-builder/directives/resize-column.directive.d.ts +1 -1
- package/table-builder/directives/table-wrapper.directive.d.ts +2 -2
- package/table-builder/directives/tb-filter.directive.d.ts +7 -7
- package/table-builder/ngrx/tableBuilderStateStore.d.ts +62 -0
- package/table-builder/pipes/column-total.pipe.d.ts +1 -1
- package/table-builder/pipes/format-filter-type.pipe.d.ts +1 -1
- package/table-builder/pipes/format-filter-value.pipe.d.ts +1 -1
- package/table-builder/pipes/key-display.d.ts +1 -1
- package/table-builder/table-builder.module.d.ts +13 -38
- package/utilities/directives/auto-focus.directive.d.ts +1 -1
- package/utilities/directives/clickEmitterDirective.d.ts +1 -1
- package/utilities/directives/clickSubject.d.ts +1 -1
- package/utilities/directives/conditional-classes.directive.d.ts +1 -1
- package/utilities/directives/dialog.d.ts +3 -3
- package/utilities/directives/mat-toggle-group-directive.d.ts +1 -1
- package/utilities/directives/prevent-enter.directive.d.ts +1 -1
- package/utilities/directives/stop-propagation.directive.d.ts +1 -1
- package/utilities/directives/styler.d.ts +1 -1
- package/utilities/directives/trim-whitespace.directive.d.ts +1 -1
- package/utilities/module.d.ts +1 -1
- package/utilities/pipes/function.pipe.d.ts +1 -1
- package/utilities/pipes/phone.pipe.d.ts +1 -1
- package/utilities/pipes/space-case.pipes.d.ts +1 -1
- package/esm2022/table-builder/material.module.mjs +0 -208
- package/esm2022/table-builder/ngrx/actions.mjs +0 -5
- package/esm2022/table-builder/ngrx/effects.mjs +0 -49
- package/esm2022/table-builder/ngrx/reducer.mjs +0 -52
- package/esm2022/table-builder/ngrx/selectors.mjs +0 -24
- package/table-builder/material.module.d.ts +0 -32
- 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
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { createReducer, on } from '@ngrx/store';
|
|
2
|
-
import * as tableActions from './actions';
|
|
3
|
-
export const defaultStorageState = {
|
|
4
|
-
globalProfileKeys: ['Default'],
|
|
5
|
-
currentGlobalProfile: 'Default',
|
|
6
|
-
globalProfiles: {},
|
|
7
|
-
localProfiles: {}
|
|
8
|
-
};
|
|
9
|
-
function loadGlobalStorageState() {
|
|
10
|
-
const storage = localStorage.getItem('global-state-storage');
|
|
11
|
-
if (storage) {
|
|
12
|
-
return { ...defaultStorageState, ...JSON.parse(storage) };
|
|
13
|
-
}
|
|
14
|
-
return defaultStorageState;
|
|
15
|
-
}
|
|
16
|
-
const reducer = createReducer(loadGlobalStorageState(), on(tableActions.setLocalProfile, (state, { key, value }) => {
|
|
17
|
-
let profile = state.localProfiles[key];
|
|
18
|
-
if (!profile) {
|
|
19
|
-
profile = { default: 'default', current: 'default', states: {
|
|
20
|
-
default: value
|
|
21
|
-
} };
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
profile = { ...profile, states: { ...profile.states, [profile.current ?? profile.default]: value } };
|
|
25
|
-
}
|
|
26
|
-
return { ...state, localProfiles: { ...state.localProfiles, [key]: profile } };
|
|
27
|
-
}), on(tableActions.setLocalProfilesState, (state, { key, current }) => {
|
|
28
|
-
let profile = state.localProfiles[key];
|
|
29
|
-
if (!profile) {
|
|
30
|
-
profile = { default: current, current, states: { [current]: null } };
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
const state = profile.states[current] ?? profile.states[profile.current ?? profile.default];
|
|
34
|
-
profile = { ...profile, current, states: { ...profile.states, [current]: state } };
|
|
35
|
-
}
|
|
36
|
-
return { ...state, localProfiles: { ...state.localProfiles, [key]: profile } };
|
|
37
|
-
}), on(tableActions.deleteLocalProfilesState, (state, { key, stateKey }) => {
|
|
38
|
-
let profile = state.localProfiles[key];
|
|
39
|
-
if (profile) {
|
|
40
|
-
const current = profile.current === stateKey ? profile.default : profile.current;
|
|
41
|
-
profile = { ...profile, current, states: { ...profile.states } };
|
|
42
|
-
delete profile.states[stateKey];
|
|
43
|
-
return { ...state, localProfiles: { ...state.localProfiles, [key]: profile } };
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
return state;
|
|
47
|
-
}
|
|
48
|
-
}));
|
|
49
|
-
export function storageStateReducer(state, action) {
|
|
50
|
-
return reducer(state, action);
|
|
51
|
-
}
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVkdWNlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItdXRpbGl0aWVzL3NyYy90YWJsZS1idWlsZGVyL25ncngvcmVkdWNlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsYUFBYSxFQUFVLEVBQUUsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUN4RCxPQUFPLEtBQUssWUFBWSxNQUFNLFdBQVcsQ0FBQztBQWdCMUMsTUFBTSxDQUFDLE1BQU0sbUJBQW1CLEdBQXVCO0lBQ3JELGlCQUFpQixFQUFFLENBQUMsU0FBUyxDQUFDO0lBQzlCLG9CQUFvQixFQUFFLFNBQVM7SUFDL0IsY0FBYyxFQUFFLEVBQUU7SUFDbEIsYUFBYSxFQUFFLEVBQUU7Q0FDbEIsQ0FBQTtBQUdELFNBQVMsc0JBQXNCO0lBQzdCLE1BQU0sT0FBTyxHQUFHLFlBQVksQ0FBQyxPQUFPLENBQUMsc0JBQXNCLENBQUMsQ0FBQztJQUM3RCxJQUFHLE9BQU8sRUFBRTtRQUNWLE9BQU8sRUFBQyxHQUFHLG1CQUFtQixFQUFFLEdB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biAgICB9XHJcbiAgICByZXR1cm4gey4uLnN0YXRlLCBsb2NhbFByb2ZpbGVzOiB7Li4uc3RhdGUubG9jYWxQcm9maWxlcywgW2tleV06IHByb2ZpbGV9fTtcclxuICB9KSxcclxuICBvbih0YWJsZUFjdGlvbnMuZGVsZXRlTG9jYWxQcm9maWxlc1N0YXRlLCAoc3RhdGUsIHtrZXksc3RhdGVLZXl9KSA9PiB7XHJcbiAgICBsZXQgcHJvZmlsZSA9IHN0YXRlLmxvY2FsUHJvZmlsZXNba2V5XTtcclxuICAgIGlmKHByb2ZpbGUpIHtcclxuICAgICAgY29uc3QgY3VycmVudCA9IHByb2ZpbGUuY3VycmVudCA9PT0gc3RhdGVLZXkgPyBwcm9maWxlLmRlZmF1bHQgOiBwcm9maWxlLmN1cnJlbnQ7XHJcbiAgICAgIHByb2ZpbGUgPSB7Li4ucHJvZmlsZSxjdXJyZW50LCBzdGF0ZXM6IHsgLi4ucHJvZmlsZS5zdGF0ZXN9fTtcclxuICAgICAgZGVsZXRlIHByb2ZpbGUuc3RhdGVzW3N0YXRlS2V5XTtcclxuICAgICAgcmV0dXJuIHsuLi5zdGF0ZSwgbG9jYWxQcm9maWxlczogey4uLnN0YXRlLmxvY2FsUHJvZmlsZXMsIFtrZXldOiBwcm9maWxlfSB9O1xyXG4gICAgfSBlbHNlIHtcclxuICAgICAgcmV0dXJuIHN0YXRlO1xyXG4gICAgfVxyXG4gIH0pXHJcbik7XHJcblxyXG5leHBvcnQgZnVuY3Rpb24gc3RvcmFnZVN0YXRlUmVkdWNlcihzdGF0ZTogR2xvYmFsU3RvcmFnZVN0YXRlIHwgdW5kZWZpbmVkLCBhY3Rpb246IEFjdGlvbikge1xyXG4gIHJldHVybiByZWR1Y2VyKHN0YXRlLCBhY3Rpb24pO1xyXG59XHJcbiJdfQ==
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { createSelector } from '@ngrx/store';
|
|
2
|
-
export const selectGlobalStorageState = (state) => state.globalStorageState;
|
|
3
|
-
export const selectGlobalProfileKeys = createSelector(selectGlobalStorageState, state => state.globalProfileKeys);
|
|
4
|
-
export const selectCurrentGlobalProfile = createSelector(selectGlobalStorageState, state => state.globalProfiles[state.currentGlobalProfile]);
|
|
5
|
-
export const selectLocalProfile = (key) => createSelector(selectGlobalStorageState, state => state.localProfiles[key]);
|
|
6
|
-
export const selectLocalProfileState = (key) => createSelector(selectLocalProfile(key), (profile) => {
|
|
7
|
-
if (profile) {
|
|
8
|
-
return profile.states[profile.current ?? profile.default];
|
|
9
|
-
}
|
|
10
|
-
return null;
|
|
11
|
-
});
|
|
12
|
-
export const selectLocalProfileCurrentKey = (key) => createSelector(selectLocalProfile(key), (profile) => {
|
|
13
|
-
if (profile) {
|
|
14
|
-
return profile.current ?? profile.default;
|
|
15
|
-
}
|
|
16
|
-
return 'default';
|
|
17
|
-
});
|
|
18
|
-
export const selectLocalProfileKeys = (key) => createSelector(selectLocalProfile(key), (profile) => {
|
|
19
|
-
if (profile) {
|
|
20
|
-
return Object.keys(profile.states).filter(key => key);
|
|
21
|
-
}
|
|
22
|
-
return null;
|
|
23
|
-
});
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0b3JzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci11dGlsaXRpZXMvc3JjL3RhYmxlLWJ1aWxkZXIvbmdyeC9zZWxlY3RvcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUc3QyxNQUFNLENBQUMsTUFBTSx3QkFBd0IsR0FBRyxDQUFDLEtBQStDLEVBQUUsRUFBRSxDQUFDLEtBQUssQ0FBQyxrQkFBa0IsQ0FBQztBQUV0SCxNQUFNLENBQUMsTUFBTSx1QkFBdUIsR0FB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sUHJvZmlsZShrZXkpLFxuICAocHJvZmlsZTogUHJvZmlsZTxUPikgPT4ge1xuICAgIGlmKHByb2ZpbGUpIHtcbiAgICAgIHJldHVybiAgT2JqZWN0LmtleXMocHJvZmlsZS5zdGF0ZXMpLmZpbHRlcigga2V5ID0+IGtleSk7XG4gICAgfVxuICAgIHJldHVybiBudWxsO1xufSk7XG4iXX0=
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/material/slide-toggle";
|
|
3
|
-
import * as i2 from "@angular/material/table";
|
|
4
|
-
import * as i3 from "@angular/material/select";
|
|
5
|
-
import * as i4 from "@angular/material/dialog";
|
|
6
|
-
import * as i5 from "@angular/material/datepicker";
|
|
7
|
-
import * as i6 from "@angular/material/radio";
|
|
8
|
-
import * as i7 from "@angular/material/button";
|
|
9
|
-
import * as i8 from "@angular/material/expansion";
|
|
10
|
-
import * as i9 from "@angular/material/stepper";
|
|
11
|
-
import * as i10 from "@angular/material/toolbar";
|
|
12
|
-
import * as i11 from "@angular/material/tooltip";
|
|
13
|
-
import * as i12 from "@angular/material/core";
|
|
14
|
-
import * as i13 from "@angular/material/progress-spinner";
|
|
15
|
-
import * as i14 from "@angular/material/grid-list";
|
|
16
|
-
import * as i15 from "@angular/material/card";
|
|
17
|
-
import * as i16 from "@angular/material/sidenav";
|
|
18
|
-
import * as i17 from "@angular/material/tabs";
|
|
19
|
-
import * as i18 from "@angular/material/input";
|
|
20
|
-
import * as i19 from "@angular/material/checkbox";
|
|
21
|
-
import * as i20 from "@angular/material/menu";
|
|
22
|
-
import * as i21 from "@angular/material/icon";
|
|
23
|
-
import * as i22 from "@angular/material/badge";
|
|
24
|
-
import * as i23 from "@angular/material/sort";
|
|
25
|
-
import * as i24 from "@angular/material/autocomplete";
|
|
26
|
-
import * as i25 from "@angular/material/paginator";
|
|
27
|
-
import * as i26 from "@angular/material/chips";
|
|
28
|
-
export declare class MaterialModule {
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
|
|
30
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.MatSlideToggleModule, typeof i2.MatTableModule, typeof i3.MatSelectModule, typeof i4.MatDialogModule, typeof i5.MatDatepickerModule, typeof i6.MatRadioModule, typeof i7.MatButtonModule, typeof i8.MatExpansionModule, typeof i9.MatStepperModule, typeof i10.MatToolbarModule, typeof i11.MatTooltipModule, typeof i12.MatNativeDateModule, typeof i13.MatProgressSpinnerModule, typeof i14.MatGridListModule, typeof i15.MatCardModule, typeof i16.MatSidenavModule, typeof i17.MatTabsModule, typeof i18.MatInputModule, typeof i17.MatTabsModule, typeof i19.MatCheckboxModule, typeof i20.MatMenuModule, typeof i21.MatIconModule, typeof i22.MatBadgeModule, typeof i23.MatSortModule, typeof i24.MatAutocompleteModule, typeof i25.MatPaginatorModule, typeof i26.MatChipsModule, typeof i4.MatDialogModule], [typeof i1.MatSlideToggleModule, typeof i2.MatTableModule, typeof i3.MatSelectModule, typeof i4.MatDialogModule, typeof i5.MatDatepickerModule, typeof i6.MatRadioModule, typeof i7.MatButtonModule, typeof i8.MatExpansionModule, typeof i9.MatStepperModule, typeof i10.MatToolbarModule, typeof i11.MatTooltipModule, typeof i12.MatNativeDateModule, typeof i13.MatProgressSpinnerModule, typeof i14.MatGridListModule, typeof i15.MatCardModule, typeof i16.MatSidenavModule, typeof i17.MatTabsModule, typeof i18.MatInputModule, typeof i17.MatTabsModule, typeof i19.MatCheckboxModule, typeof i20.MatMenuModule, typeof i21.MatIconModule, typeof i22.MatBadgeModule, typeof i23.MatSortModule, typeof i24.MatAutocompleteModule, typeof i25.MatPaginatorModule, typeof i26.MatChipsModule, typeof i4.MatDialogModule]>;
|
|
31
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
|
|
32
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare const setLocalProfile: import("@ngrx/store").ActionCreator<"[State Storage] Set Local Profile", (props: {
|
|
2
|
-
key: string;
|
|
3
|
-
value: any;
|
|
4
|
-
persist?: boolean | undefined;
|
|
5
|
-
}) => {
|
|
6
|
-
key: string;
|
|
7
|
-
value: any;
|
|
8
|
-
persist?: boolean | undefined;
|
|
9
|
-
} & import("@ngrx/store/src/models").TypedAction<"[State Storage] Set Local Profile">>;
|
|
10
|
-
export declare const setLocalProfilesState: import("@ngrx/store").ActionCreator<"[State Storage] Set Local Profiles Current", (props: {
|
|
11
|
-
key: string;
|
|
12
|
-
current: string;
|
|
13
|
-
}) => {
|
|
14
|
-
key: string;
|
|
15
|
-
current: string;
|
|
16
|
-
} & import("@ngrx/store/src/models").TypedAction<"[State Storage] Set Local Profiles Current">>;
|
|
17
|
-
export declare const deleteLocalProfilesState: import("@ngrx/store").ActionCreator<"[State Storage] Delete Local Profiles Current", (props: {
|
|
18
|
-
key: string;
|
|
19
|
-
stateKey: string;
|
|
20
|
-
}) => {
|
|
21
|
-
key: string;
|
|
22
|
-
stateKey: string;
|
|
23
|
-
} & import("@ngrx/store/src/models").TypedAction<"[State Storage] Delete Local Profiles Current">>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Actions } from '@ngrx/effects';
|
|
2
|
-
import { Store } from '@ngrx/store';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SaveTableEffects {
|
|
5
|
-
private actions$;
|
|
6
|
-
private store;
|
|
7
|
-
saveLocalProfile$: import("rxjs").Observable<[{
|
|
8
|
-
key: string;
|
|
9
|
-
value: any;
|
|
10
|
-
persist?: boolean | undefined;
|
|
11
|
-
} & import("@ngrx/store/src/models").TypedAction<"[State Storage] Set Local Profile">, import("./reducer").Profile<any>]> & import("@ngrx/effects").CreateEffectMetadata;
|
|
12
|
-
deleteLocalProfile$: import("rxjs").Observable<{
|
|
13
|
-
key: string;
|
|
14
|
-
stateKey: string;
|
|
15
|
-
} & import("@ngrx/store/src/models").TypedAction<"[State Storage] Delete Local Profiles Current">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
16
|
-
constructor(actions$: Actions, store: Store<any>);
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SaveTableEffects, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SaveTableEffects>;
|
|
19
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Action } from '@ngrx/store';
|
|
2
|
-
import { Dictionary } from '../interfaces/dictionary';
|
|
3
|
-
export interface Profile<T = any> {
|
|
4
|
-
default: string;
|
|
5
|
-
current: string;
|
|
6
|
-
states: Dictionary<T>;
|
|
7
|
-
}
|
|
8
|
-
export interface GlobalStorageState {
|
|
9
|
-
globalProfileKeys: string[];
|
|
10
|
-
currentGlobalProfile: string;
|
|
11
|
-
globalProfiles: Dictionary<Profile>;
|
|
12
|
-
localProfiles: Dictionary<Profile>;
|
|
13
|
-
}
|
|
14
|
-
export declare const defaultStorageState: GlobalStorageState;
|
|
15
|
-
export declare function storageStateReducer(state: GlobalStorageState | undefined, action: Action): GlobalStorageState;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { GlobalStorageState, Profile } from './reducer';
|
|
2
|
-
export declare const selectGlobalStorageState: (state: {
|
|
3
|
-
globalStorageState: GlobalStorageState;
|
|
4
|
-
}) => GlobalStorageState;
|
|
5
|
-
export declare const selectGlobalProfileKeys: import("@ngrx/store").MemoizedSelector<{
|
|
6
|
-
globalStorageState: GlobalStorageState;
|
|
7
|
-
}, string[], (s1: GlobalStorageState) => string[]>;
|
|
8
|
-
export declare const selectCurrentGlobalProfile: import("@ngrx/store").MemoizedSelector<{
|
|
9
|
-
globalStorageState: GlobalStorageState;
|
|
10
|
-
}, Profile<any>, (s1: GlobalStorageState) => Profile<any>>;
|
|
11
|
-
export declare const selectLocalProfile: <T>(key: string) => import("@ngrx/store").MemoizedSelector<{
|
|
12
|
-
globalStorageState: GlobalStorageState;
|
|
13
|
-
}, Profile<any>, (s1: GlobalStorageState) => Profile<any>>;
|
|
14
|
-
export declare const selectLocalProfileState: <T>(key: string) => import("@ngrx/store").MemoizedSelector<{
|
|
15
|
-
globalStorageState: GlobalStorageState;
|
|
16
|
-
}, T | null, (s1: Profile<T>) => T | null>;
|
|
17
|
-
export declare const selectLocalProfileCurrentKey: <T>(key: string) => import("@ngrx/store").MemoizedSelector<{
|
|
18
|
-
globalStorageState: GlobalStorageState;
|
|
19
|
-
}, string, (s1: Profile<T>) => string>;
|
|
20
|
-
export declare const selectLocalProfileKeys: <T>(key: string) => import("@ngrx/store").MemoizedSelector<{
|
|
21
|
-
globalStorageState: GlobalStorageState;
|
|
22
|
-
}, string[] | null, (s1: Profile<T>) => string[] | null>;
|