@onecx/angular-accelerator 9.0.0-rc.3 → 9.0.0-rc.5
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": "9.0.0-rc.
|
|
3
|
+
"version": "9.0.0-rc.5",
|
|
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": "^9.0.0-rc.
|
|
19
|
-
"@onecx/accelerator": "^9.0.0-rc.
|
|
20
|
-
"@onecx/angular-integration-interface": "^9.0.0-rc.
|
|
21
|
-
"@onecx/angular-remote-components": "^9.0.0-rc.
|
|
22
|
-
"@onecx/angular-testing": "^9.0.0-rc.
|
|
23
|
-
"@onecx/angular-utils": "^9.0.0-rc.
|
|
18
|
+
"@onecx/integration-interface": "^9.0.0-rc.5",
|
|
19
|
+
"@onecx/accelerator": "^9.0.0-rc.5",
|
|
20
|
+
"@onecx/angular-integration-interface": "^9.0.0-rc.5",
|
|
21
|
+
"@onecx/angular-remote-components": "^9.0.0-rc.5",
|
|
22
|
+
"@onecx/angular-testing": "^9.0.0-rc.5",
|
|
23
|
+
"@onecx/angular-utils": "^9.0.0-rc.5",
|
|
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';
|
|
@@ -440,7 +440,7 @@ interface DataAction {
|
|
|
440
440
|
actionVisibleField?: string;
|
|
441
441
|
actionEnabledField?: string;
|
|
442
442
|
showAsOverflow?: boolean;
|
|
443
|
-
callback
|
|
443
|
+
callback?: (data: any) => void;
|
|
444
444
|
routerLink?: RouterLink;
|
|
445
445
|
}
|
|
446
446
|
|
|
@@ -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;
|