@rivet-health/design-system 40.28.0 → 40.30.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/esm2020/lib/input/select/select/select.component.mjs +6 -3
- package/esm2020/lib/input/select/select-node/select-node.component.mjs +5 -3
- package/esm2020/lib/visualization/chart/chart-scaling.mjs +7 -2
- package/esm2020/lib/visualization/chart/chart.mjs +20 -4
- package/fesm2015/rivet-health-design-system.mjs +31 -8
- package/fesm2015/rivet-health-design-system.mjs.map +1 -1
- package/fesm2020/rivet-health-design-system.mjs +34 -8
- package/fesm2020/rivet-health-design-system.mjs.map +1 -1
- package/lib/input/select/select/select.component.d.ts +8 -1
- package/lib/input/select/select-node/select-node.component.d.ts +10 -2
- package/lib/visualization/chart/chart-scaling.d.ts +1 -0
- package/package.json +1 -1
|
@@ -21,6 +21,13 @@ export declare class SelectComponent<O extends RivSelect.BaseOption> extends Inp
|
|
|
21
21
|
optionTemplate?: TemplateRef<{
|
|
22
22
|
node: RivSelect.FullOption<O>;
|
|
23
23
|
}>;
|
|
24
|
+
/**
|
|
25
|
+
* Replaces only an option's title, keeping the standard row's checkbox,
|
|
26
|
+
* count, help, and expand controls. Ignored when `#option` is set.
|
|
27
|
+
*/
|
|
28
|
+
optionTitleTemplate?: TemplateRef<{
|
|
29
|
+
node: RivSelect.FullOption<O>;
|
|
30
|
+
}>;
|
|
24
31
|
headerTemplate?: TemplateRef<{
|
|
25
32
|
state: RivSelect.FullState<O>;
|
|
26
33
|
}>;
|
|
@@ -42,7 +49,7 @@ export declare class SelectComponent<O extends RivSelect.BaseOption> extends Inp
|
|
|
42
49
|
trackBySymbol(_: number, value: any): any;
|
|
43
50
|
trackByOption(_: number, option: RivSelect.FullOption<O>): string | number;
|
|
44
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent<any>, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent<any>, "riv-select", never, { "manager": "manager"; "size": "size"; "disabled": "disabled"; "locked": "locked"; "grow": "grow"; "allowedCalloutPositions": "allowedCalloutPositions"; "preferredCalloutPosition": "preferredCalloutPosition"; }, {}, ["triggerTemplate", "customSelectedOptionsTemplate", "optionTemplate", "headerTemplate", "footerTemplate"], never, false, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent<any>, "riv-select", never, { "manager": "manager"; "size": "size"; "disabled": "disabled"; "locked": "locked"; "grow": "grow"; "allowedCalloutPositions": "allowedCalloutPositions"; "preferredCalloutPosition": "preferredCalloutPosition"; }, {}, ["triggerTemplate", "customSelectedOptionsTemplate", "optionTemplate", "optionTitleTemplate", "headerTemplate", "footerTemplate"], never, false, never>;
|
|
46
53
|
}
|
|
47
54
|
export declare namespace SelectComponent {
|
|
48
55
|
type OrderByOption = {
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
2
|
import { RivSelect } from '../state';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SelectNodeComponent<O extends RivSelect.BaseOption> {
|
|
5
5
|
mode?: SelectNodeComponent.Mode;
|
|
6
6
|
node?: RivSelect.FullOption<O>;
|
|
7
7
|
showSingleSelected?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Renders in place of the default title. The default highlights search
|
|
10
|
+
* matches; a custom title can use the node's `titleHighlightIndices` to do
|
|
11
|
+
* the same.
|
|
12
|
+
*/
|
|
13
|
+
titleTemplate?: TemplateRef<{
|
|
14
|
+
node: RivSelect.FullOption<O>;
|
|
15
|
+
}>;
|
|
8
16
|
selectChange: EventEmitter<O["id"]>;
|
|
9
17
|
expandChange: EventEmitter<O["id"]>;
|
|
10
18
|
includeCount(): boolean;
|
|
@@ -14,7 +22,7 @@ export declare class SelectNodeComponent<O extends RivSelect.BaseOption> {
|
|
|
14
22
|
getDisabledExplanation(node: RivSelect.FullOption<O>): O['disabledExplanation'];
|
|
15
23
|
getCount(node: RivSelect.FullOption<O>): O['count'];
|
|
16
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectNodeComponent<any>, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectNodeComponent<any>, "riv-select-node", never, { "mode": "mode"; "node": "node"; "showSingleSelected": "showSingleSelected"; }, { "selectChange": "selectChange"; "expandChange": "expandChange"; }, never, never, false, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectNodeComponent<any>, "riv-select-node", never, { "mode": "mode"; "node": "node"; "showSingleSelected": "showSingleSelected"; "titleTemplate": "titleTemplate"; }, { "selectChange": "selectChange"; "expandChange": "expandChange"; }, never, never, false, never>;
|
|
18
26
|
}
|
|
19
27
|
export declare namespace SelectNodeComponent {
|
|
20
28
|
const modes: readonly ["single", "multi"];
|
|
@@ -69,6 +69,7 @@ export declare const DefaultLineElementScalingConfig: FullElementScalingConfig;
|
|
|
69
69
|
export declare const DefaultFlowElementScalingConfig: FullElementScalingConfig;
|
|
70
70
|
export declare const DefaultLineWithSecondaryElementScalingConfig: FullElementScalingConfig;
|
|
71
71
|
export declare const DefaultVerticalNonElementScalingConfig: NonElementScalingConfig;
|
|
72
|
+
export declare const DefaultFlowNonElementScalingConfig: NonElementScalingConfig;
|
|
72
73
|
export declare const DefaultHorizontalNonElementScalingConfig: NonElementScalingConfig;
|
|
73
74
|
export type DefaultScalingConfig = {
|
|
74
75
|
elementScales: FullElementScalingConfig;
|