@uxland/primary-shell 4.1.0 → 4.2.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/dist/index.js +5193 -4896
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +457 -390
- package/dist/index.umd.cjs.map +1 -1
- package/dist/primary/shell/src/internal-plugins/activity-history/activity-history-item/add/add-async-history-items/request.d.ts +1 -1
- package/dist/primary/shell/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-badges/active-filters-badges.d.ts +11 -0
- package/dist/primary/shell/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-badges/template.d.ts +4 -0
- package/dist/primary/shell/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-header/active-filters-header.d.ts +10 -0
- package/dist/primary/shell/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-header/template.d.ts +4 -0
- package/dist/primary/shell/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/selectors.d.ts +147 -1
- package/dist/primary/shell/src/internal-plugins/activity-history/localization.d.ts +3 -0
- package/dist/style.css +1 -1
- package/package.json +6 -5
- package/src/internal-plugins/activity-history/activity-history-item/add/add-async-history-items/request.ts +1 -1
- package/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-badges/active-filters-badges.ts +43 -0
- package/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-badges/styles.css +31 -0
- package/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-badges/template.ts +79 -0
- package/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-header/active-filters-header.ts +32 -0
- package/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-header/styles.css +12 -0
- package/src/internal-plugins/activity-history/activity-history-item/filter/UI/active-filters-header/template.ts +14 -0
- package/src/internal-plugins/activity-history/activity-history-item/filter/custom-filters/selectors.ts +26 -0
- package/src/internal-plugins/activity-history/activity-history-item/list/UI/main-view/template.ts +1 -1
- package/src/internal-plugins/activity-history/activity-history-item/list/bootstrapper.ts +1 -0
- package/src/internal-plugins/activity-history/activity-history-item/search/activity-history-search-results/styles.css +1 -10
- package/src/internal-plugins/activity-history/activity-history-item/search/bootstrapper.ts +1 -0
- package/src/internal-plugins/activity-history/localization.ts +6 -2
|
@@ -7,6 +7,6 @@ export interface InjectAsyncHistoryItemsPayload {
|
|
|
7
7
|
componentFactory: (item: IActivityHistoryItem) => HTMLElement;
|
|
8
8
|
searchPredicate?: (searchString: string, item: IActivityHistoryItem) => boolean;
|
|
9
9
|
errorMessage: string;
|
|
10
|
-
filters
|
|
10
|
+
filters: IActivityHistoryCommonFilterGroup;
|
|
11
11
|
}
|
|
12
12
|
export declare const addAsyncHistoryItemsCommand = "inject_async_history_items_request";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { PrimariaApi } from '../../../../../../api/api';
|
|
3
|
+
import { IActivityHistoryCustomFilterGroup } from '../../model';
|
|
4
|
+
|
|
5
|
+
export declare class ActiveFiltersBadges extends LitElement {
|
|
6
|
+
render(): import('lit').TemplateResult<1>;
|
|
7
|
+
static styles: import('lit').CSSResult;
|
|
8
|
+
api: PrimariaApi;
|
|
9
|
+
enabledFilters: IActivityHistoryCustomFilterGroup[];
|
|
10
|
+
_onDeleteFilterValue(filterGroupId: string, filterId: string, optionId: string, value: boolean): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { IActivityHistoryCustomFilterGroup } from '../../model';
|
|
3
|
+
|
|
4
|
+
export declare class ActiveFiltersHeader extends LitElement {
|
|
5
|
+
render(): import('lit').TemplateResult<1>;
|
|
6
|
+
static styles: import('lit').CSSResult;
|
|
7
|
+
searchString: string;
|
|
8
|
+
filters: IActivityHistoryCustomFilterGroup[];
|
|
9
|
+
areCustomFiltersActive: boolean;
|
|
10
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IActivityHistoryFilterGroup } from '../model';
|
|
1
|
+
import { IActivityHistoryCustomFilter, IActivityHistoryFilterGroup } from '../model';
|
|
2
2
|
|
|
3
3
|
export declare const activityHistoryCustomFilterGroupsSelector: ((state: {
|
|
4
4
|
activityHistoryCollections: {
|
|
@@ -31,3 +31,149 @@ export declare const activityHistoryCustomFilterGroupsSelector: ((state: {
|
|
|
31
31
|
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
32
32
|
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
33
33
|
};
|
|
34
|
+
export declare const areCustomFiltersActive: ((state: {
|
|
35
|
+
activityHistoryCollections: {
|
|
36
|
+
busy: import('../../..').IBusyHistoryItem[];
|
|
37
|
+
error: import('../../..').IErrorHistoryItem[];
|
|
38
|
+
collections: Record<string, import('../../..').IActivityHistoryItemCollection>;
|
|
39
|
+
};
|
|
40
|
+
activityHistoryFilters: {
|
|
41
|
+
searchString: string;
|
|
42
|
+
filters: IActivityHistoryFilterGroup[];
|
|
43
|
+
};
|
|
44
|
+
}) => boolean) & {
|
|
45
|
+
clearCache: () => void;
|
|
46
|
+
resultsCount: () => number;
|
|
47
|
+
resetResultsCount: () => void;
|
|
48
|
+
} & {
|
|
49
|
+
resultFunc: (resultFuncArgs_0: IActivityHistoryFilterGroup[]) => boolean;
|
|
50
|
+
memoizedResultFunc: ((resultFuncArgs_0: IActivityHistoryFilterGroup[]) => boolean) & {
|
|
51
|
+
clearCache: () => void;
|
|
52
|
+
resultsCount: () => number;
|
|
53
|
+
resetResultsCount: () => void;
|
|
54
|
+
};
|
|
55
|
+
lastResult: () => boolean;
|
|
56
|
+
dependencies: [((state: {
|
|
57
|
+
activityHistoryCollections: {
|
|
58
|
+
busy: import('../../..').IBusyHistoryItem[];
|
|
59
|
+
error: import('../../..').IErrorHistoryItem[];
|
|
60
|
+
collections: Record<string, import('../../..').IActivityHistoryItemCollection>;
|
|
61
|
+
};
|
|
62
|
+
activityHistoryFilters: {
|
|
63
|
+
searchString: string;
|
|
64
|
+
filters: IActivityHistoryFilterGroup[];
|
|
65
|
+
};
|
|
66
|
+
}) => IActivityHistoryFilterGroup[]) & {
|
|
67
|
+
clearCache: () => void;
|
|
68
|
+
resultsCount: () => number;
|
|
69
|
+
resetResultsCount: () => void;
|
|
70
|
+
} & {
|
|
71
|
+
resultFunc: (resultFuncArgs_0: IActivityHistoryFilterGroup[]) => IActivityHistoryFilterGroup[];
|
|
72
|
+
memoizedResultFunc: ((resultFuncArgs_0: IActivityHistoryFilterGroup[]) => IActivityHistoryFilterGroup[]) & {
|
|
73
|
+
clearCache: () => void;
|
|
74
|
+
resultsCount: () => number;
|
|
75
|
+
resetResultsCount: () => void;
|
|
76
|
+
};
|
|
77
|
+
lastResult: () => IActivityHistoryFilterGroup[];
|
|
78
|
+
dependencies: [(state: import('../../../infrastructure/state/store').RootState) => IActivityHistoryFilterGroup[]];
|
|
79
|
+
recomputations: () => number;
|
|
80
|
+
resetRecomputations: () => void;
|
|
81
|
+
dependencyRecomputations: () => number;
|
|
82
|
+
resetDependencyRecomputations: () => void;
|
|
83
|
+
} & {
|
|
84
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
85
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
86
|
+
}];
|
|
87
|
+
recomputations: () => number;
|
|
88
|
+
resetRecomputations: () => void;
|
|
89
|
+
dependencyRecomputations: () => number;
|
|
90
|
+
resetDependencyRecomputations: () => void;
|
|
91
|
+
} & {
|
|
92
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
93
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
94
|
+
};
|
|
95
|
+
export declare const activeGroupsWithEnabledFilters: ((state: {
|
|
96
|
+
activityHistoryCollections: {
|
|
97
|
+
busy: import('../../..').IBusyHistoryItem[];
|
|
98
|
+
error: import('../../..').IErrorHistoryItem[];
|
|
99
|
+
collections: Record<string, import('../../..').IActivityHistoryItemCollection>;
|
|
100
|
+
};
|
|
101
|
+
activityHistoryFilters: {
|
|
102
|
+
searchString: string;
|
|
103
|
+
filters: IActivityHistoryFilterGroup[];
|
|
104
|
+
};
|
|
105
|
+
}) => {
|
|
106
|
+
id: string;
|
|
107
|
+
title: string;
|
|
108
|
+
enabled: boolean;
|
|
109
|
+
sort: string;
|
|
110
|
+
filters: IActivityHistoryCustomFilter[];
|
|
111
|
+
}[]) & {
|
|
112
|
+
clearCache: () => void;
|
|
113
|
+
resultsCount: () => number;
|
|
114
|
+
resetResultsCount: () => void;
|
|
115
|
+
} & {
|
|
116
|
+
resultFunc: (resultFuncArgs_0: IActivityHistoryFilterGroup[]) => {
|
|
117
|
+
id: string;
|
|
118
|
+
title: string;
|
|
119
|
+
enabled: boolean;
|
|
120
|
+
sort: string;
|
|
121
|
+
filters: IActivityHistoryCustomFilter[];
|
|
122
|
+
}[];
|
|
123
|
+
memoizedResultFunc: ((resultFuncArgs_0: IActivityHistoryFilterGroup[]) => {
|
|
124
|
+
id: string;
|
|
125
|
+
title: string;
|
|
126
|
+
enabled: boolean;
|
|
127
|
+
sort: string;
|
|
128
|
+
filters: IActivityHistoryCustomFilter[];
|
|
129
|
+
}[]) & {
|
|
130
|
+
clearCache: () => void;
|
|
131
|
+
resultsCount: () => number;
|
|
132
|
+
resetResultsCount: () => void;
|
|
133
|
+
};
|
|
134
|
+
lastResult: () => {
|
|
135
|
+
id: string;
|
|
136
|
+
title: string;
|
|
137
|
+
enabled: boolean;
|
|
138
|
+
sort: string;
|
|
139
|
+
filters: IActivityHistoryCustomFilter[];
|
|
140
|
+
}[];
|
|
141
|
+
dependencies: [((state: {
|
|
142
|
+
activityHistoryCollections: {
|
|
143
|
+
busy: import('../../..').IBusyHistoryItem[];
|
|
144
|
+
error: import('../../..').IErrorHistoryItem[];
|
|
145
|
+
collections: Record<string, import('../../..').IActivityHistoryItemCollection>;
|
|
146
|
+
};
|
|
147
|
+
activityHistoryFilters: {
|
|
148
|
+
searchString: string;
|
|
149
|
+
filters: IActivityHistoryFilterGroup[];
|
|
150
|
+
};
|
|
151
|
+
}) => IActivityHistoryFilterGroup[]) & {
|
|
152
|
+
clearCache: () => void;
|
|
153
|
+
resultsCount: () => number;
|
|
154
|
+
resetResultsCount: () => void;
|
|
155
|
+
} & {
|
|
156
|
+
resultFunc: (resultFuncArgs_0: IActivityHistoryFilterGroup[]) => IActivityHistoryFilterGroup[];
|
|
157
|
+
memoizedResultFunc: ((resultFuncArgs_0: IActivityHistoryFilterGroup[]) => IActivityHistoryFilterGroup[]) & {
|
|
158
|
+
clearCache: () => void;
|
|
159
|
+
resultsCount: () => number;
|
|
160
|
+
resetResultsCount: () => void;
|
|
161
|
+
};
|
|
162
|
+
lastResult: () => IActivityHistoryFilterGroup[];
|
|
163
|
+
dependencies: [(state: import('../../../infrastructure/state/store').RootState) => IActivityHistoryFilterGroup[]];
|
|
164
|
+
recomputations: () => number;
|
|
165
|
+
resetRecomputations: () => void;
|
|
166
|
+
dependencyRecomputations: () => number;
|
|
167
|
+
resetDependencyRecomputations: () => void;
|
|
168
|
+
} & {
|
|
169
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
170
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
171
|
+
}];
|
|
172
|
+
recomputations: () => number;
|
|
173
|
+
resetRecomputations: () => void;
|
|
174
|
+
dependencyRecomputations: () => number;
|
|
175
|
+
resetDependencyRecomputations: () => void;
|
|
176
|
+
} & {
|
|
177
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
178
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
179
|
+
};
|