@ni/nimble-components 34.8.6 → 34.9.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/all-components-bundle.js +12 -0
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +1 -1
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/mapping/base/index.d.ts +8 -0
- package/dist/esm/mapping/base/index.js +12 -0
- package/dist/esm/mapping/base/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,6 +3,14 @@ import { FoundationElement } from '@ni/fast-foundation';
|
|
|
3
3
|
* Base class for mapping configuration elements
|
|
4
4
|
*/
|
|
5
5
|
export declare abstract class Mapping<T> extends FoundationElement {
|
|
6
|
+
/**
|
|
7
|
+
* Getter for the `key` property for environments that do not support properties named "key"
|
|
8
|
+
*/
|
|
9
|
+
get keyValue(): T | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* Setter for the `key` property for environments that do not support properties named "key"
|
|
12
|
+
*/
|
|
13
|
+
set keyValue(value: T | undefined);
|
|
6
14
|
/**
|
|
7
15
|
* The data value that is mapped to another representation
|
|
8
16
|
*/
|
|
@@ -5,6 +5,18 @@ import { FoundationElement } from '@ni/fast-foundation';
|
|
|
5
5
|
* Base class for mapping configuration elements
|
|
6
6
|
*/
|
|
7
7
|
export class Mapping extends FoundationElement {
|
|
8
|
+
/**
|
|
9
|
+
* Getter for the `key` property for environments that do not support properties named "key"
|
|
10
|
+
*/
|
|
11
|
+
get keyValue() {
|
|
12
|
+
return this.key;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Setter for the `key` property for environments that do not support properties named "key"
|
|
16
|
+
*/
|
|
17
|
+
set keyValue(value) {
|
|
18
|
+
this.key = value;
|
|
19
|
+
}
|
|
8
20
|
}
|
|
9
21
|
__decorate([
|
|
10
22
|
attr()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/mapping/base/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD;;GAEG;AACH,MAAM,OAAgB,OAAW,SAAQ,iBAAiB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/mapping/base/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD;;GAEG;AACH,MAAM,OAAgB,OAAW,SAAQ,iBAAiB;IACtD;;OAEG;IACH,IAAW,QAAQ;QACf,OAAO,IAAI,CAAC,GAAG,CAAC;IACpB,CAAC;IAED;;OAEG;IACH,IAAW,QAAQ,CAAC,KAAoB;QACpC,IAAI,CAAC,GAAG,GAAG,KAAK,CAAC;IACrB,CAAC;CAOJ;AADU;IADN,IAAI,EAAE;oCACQ","sourcesContent":["import { attr } from '@ni/fast-element';\nimport { FoundationElement } from '@ni/fast-foundation';\n\n/**\n * Base class for mapping configuration elements\n */\nexport abstract class Mapping<T> extends FoundationElement {\n /**\n * Getter for the `key` property for environments that do not support properties named \"key\"\n */\n public get keyValue(): T | undefined {\n return this.key;\n }\n\n /**\n * Setter for the `key` property for environments that do not support properties named \"key\"\n */\n public set keyValue(value: T | undefined) {\n this.key = value;\n }\n\n /**\n * The data value that is mapped to another representation\n */\n @attr()\n public key?: T;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni/nimble-components",
|
|
3
|
-
"version": "34.
|
|
3
|
+
"version": "34.9.0",
|
|
4
4
|
"description": "Styled web components for the NI Nimble Design System",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "npm run generate-icons && npm run generate-workers && npm run build-components && npm run bundle-components && npm run generate-scss",
|