@nova-ui/bits 12.0.18 → 12.0.20-4218
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/bundles/nova-ui-bits.umd.js +33 -0
- package/bundles/nova-ui-bits.umd.js.map +1 -1
- package/constants/unit-conversion.constants.d.ts +2 -1
- package/esm2015/common/common.module.js +4 -1
- package/esm2015/constants/unit-conversion.constants.js +2 -1
- package/esm2015/pipes/map-key-value.pipe.js +43 -0
- package/esm2015/public_api.js +2 -1
- package/fesm2015/nova-ui-bits.js +28 -1
- package/fesm2015/nova-ui-bits.js.map +1 -1
- package/nova-ui-bits.metadata.json +1 -1
- package/package.json +1 -1
- package/pipes/map-key-value.pipe.d.ts +19 -0
- package/public_api.d.ts +1 -0
package/package.json
CHANGED
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"schematics": "./sdk/schematics/collection.json",
|
|
55
55
|
"typings": "nova-ui-bits.d.ts",
|
|
56
|
-
"version": "12.0.
|
|
56
|
+
"version": "12.0.20-4218",
|
|
57
57
|
"module": "fesm2015/nova-ui-bits.js",
|
|
58
58
|
"es2015": "fesm2015/nova-ui-bits.js",
|
|
59
59
|
"esm2015": "esm2015/nova-ui-bits.js",
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { KeyValue } from "@angular/common";
|
|
2
|
+
import { PipeTransform } from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Pipe for transforming Map to KeyValue array without ordering
|
|
5
|
+
*
|
|
6
|
+
* __Parameters :__
|
|
7
|
+
*
|
|
8
|
+
* input - source Map
|
|
9
|
+
*
|
|
10
|
+
* __Usage :__
|
|
11
|
+
* Map | nuiMapKeyValue
|
|
12
|
+
*
|
|
13
|
+
* __Example :__
|
|
14
|
+
* "let items of itemsMap | nuiMapKeyValue"
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export declare class MapKeyValuePipe implements PipeTransform {
|
|
18
|
+
transform<K, V>(input: ReadonlyMap<K, V>): Array<KeyValue<K, V>>;
|
|
19
|
+
}
|
package/public_api.d.ts
CHANGED
|
@@ -114,6 +114,7 @@ export { ExampleCodeComponent } from "./lib/docs/example-code/example-code.compo
|
|
|
114
114
|
export { SrlcIndicatorComponent } from "./lib/docs/srlc-indicator/srlc-indicator.component";
|
|
115
115
|
export { HighlightPipe } from "./pipes/highlight.pipe";
|
|
116
116
|
export { LimitToPipe } from "./pipes/limit-to.pipe";
|
|
117
|
+
export { MapKeyValuePipe } from "./pipes/map-key-value.pipe";
|
|
117
118
|
export { TimeFrameFormatPipe } from "./lib/time-frame-picker/time-frame-format.pipe";
|
|
118
119
|
export { UnitConversionPipe } from "./pipes/unit-conversion.pipe";
|
|
119
120
|
export { IconService } from "./lib/icon/icon.service";
|