@onecx/angular-accelerator 8.2.2 → 8.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onecx/angular-accelerator",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.3.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"@angular/router": "^21.0.0",
|
|
16
16
|
"@ngx-translate/core": "^17.0.0",
|
|
17
17
|
"@ngneat/until-destroy": "^10.0.0",
|
|
18
|
-
"@onecx/integration-interface": "^8.
|
|
19
|
-
"@onecx/accelerator": "^8.
|
|
20
|
-
"@onecx/angular-integration-interface": "^8.
|
|
21
|
-
"@onecx/angular-remote-components": "^8.
|
|
22
|
-
"@onecx/angular-testing": "^8.
|
|
23
|
-
"@onecx/angular-utils": "^8.
|
|
18
|
+
"@onecx/integration-interface": "^8.3.1",
|
|
19
|
+
"@onecx/accelerator": "^8.3.1",
|
|
20
|
+
"@onecx/angular-integration-interface": "^8.3.1",
|
|
21
|
+
"@onecx/angular-remote-components": "^8.3.1",
|
|
22
|
+
"@onecx/angular-testing": "^8.3.1",
|
|
23
|
+
"@onecx/angular-utils": "^8.3.1",
|
|
24
24
|
"chart.js": "^4.4.3",
|
|
25
25
|
"d3-scale-chromatic": "^3.1.0",
|
|
26
26
|
"fast-deep-equal": "^3.1.3",
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.ocx-card {
|
|
2
|
+
background-color: var(--content-bg-color, #ffffff);
|
|
3
|
+
padding: 1rem;
|
|
4
|
+
margin-bottom: 2rem;
|
|
5
|
+
box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);
|
|
6
|
+
border-radius: var(--border-radius, 6px);
|
|
7
|
+
|
|
8
|
+
p:first-child {
|
|
9
|
+
margin-top: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
p:last-child {
|
|
13
|
+
margin-bottom: 0;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit, TemplateRef, EventEmitter, DoCheck, AfterViewInit, OnChanges, Renderer2, SimpleChanges, OnDestroy, OutputEmitterRef, Signal, ElementRef, Type, ViewContainerRef, ComponentRef, PipeTransform
|
|
2
|
+
import { OnInit, TemplateRef, EventEmitter, DoCheck, AfterViewInit, OnChanges, Renderer2, SimpleChanges, OnDestroy, OutputEmitterRef, Signal, ElementRef, Type, ViewContainerRef, ComponentRef, PipeTransform } from '@angular/core';
|
|
3
3
|
import * as i19 from 'primeng/tooltip';
|
|
4
4
|
import { Tooltip } from 'primeng/tooltip';
|
|
5
5
|
import * as i22 from 'primeng/api';
|
|
@@ -1756,7 +1756,7 @@ declare class SearchHeaderComponent {
|
|
|
1756
1756
|
visibleFormControls: Signal<readonly FormControlName[]>;
|
|
1757
1757
|
searchParameterFields: Signal<ElementRef<any> | undefined>;
|
|
1758
1758
|
hasAdvanced: _angular_core.WritableSignal<boolean>;
|
|
1759
|
-
simpleAdvancedAction:
|
|
1759
|
+
simpleAdvancedAction: Action;
|
|
1760
1760
|
headerActions: _angular_core.WritableSignal<Action[]>;
|
|
1761
1761
|
searchButtonsReversed$: Observable<boolean | null>;
|
|
1762
1762
|
fieldValues$: Observable<{
|
|
@@ -2481,11 +2481,11 @@ interface BuildSearchCriteriaParameters {
|
|
|
2481
2481
|
/**
|
|
2482
2482
|
* Safely builds the search criteria based on form values
|
|
2483
2483
|
* @param formRawValue the raw value of the form to use
|
|
2484
|
-
* @param datePickers a list of primeng datePickers of the form (use
|
|
2484
|
+
* @param datePickers a list of primeng datePickers of the form (use `viewChildren` to get list of datePickers)
|
|
2485
2485
|
* @param parameters {@link BuildSearchCriteriaParameters} to use when building the search criteria
|
|
2486
2486
|
* @returns the search criteria as a partial of T (T = type of the search criteria)
|
|
2487
2487
|
*/
|
|
2488
|
-
declare function buildSearchCriteria<T>(formRawValue: any, datePickers:
|
|
2488
|
+
declare function buildSearchCriteria<T>(formRawValue: any, datePickers: DatePicker[], { removeNullValues }: BuildSearchCriteriaParameters): Partial<T>;
|
|
2489
2489
|
|
|
2490
2490
|
declare function findEntryWithKeyword(array: string[] | undefined, keyword: string): string | null;
|
|
2491
2491
|
declare function removeKeyword(input: string, keyword: string): string;
|