@ni/nimble-components 28.3.0 → 29.0.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 +17 -15
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +2853 -2852
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/table-column/enum-base/models/mapping-icon-config.d.ts +1 -1
- package/dist/esm/table-column/enum-base/models/mapping-icon-config.js +0 -7
- package/dist/esm/table-column/enum-base/models/mapping-icon-config.js.map +1 -1
- package/dist/esm/table-column/mapping/index.js +3 -0
- package/dist/esm/table-column/mapping/index.js.map +1 -1
- package/dist/esm/table-column/mapping/models/table-column-mapping-validator.d.ts +0 -1
- package/dist/esm/table-column/mapping/models/table-column-mapping-validator.js +1 -5
- package/dist/esm/table-column/mapping/models/table-column-mapping-validator.js.map +1 -1
- package/dist/esm/wafer-map/modules/computations.js +4 -2
- package/dist/esm/wafer-map/modules/computations.js.map +1 -1
- package/dist/esm/wafer-map/modules/experimental/worker-renderer.js +4 -0
- package/dist/esm/wafer-map/modules/experimental/worker-renderer.js.map +1 -1
- package/dist/esm/wafer-map/modules/rendering.js +4 -0
- package/dist/esm/wafer-map/modules/rendering.js.map +1 -1
- package/package.json +1 -1
|
@@ -16333,7 +16333,7 @@
|
|
|
16333
16333
|
|
|
16334
16334
|
/**
|
|
16335
16335
|
* Do not edit directly
|
|
16336
|
-
* Generated on
|
|
16336
|
+
* Generated on Tue, 14 May 2024 21:30:59 GMT
|
|
16337
16337
|
*/
|
|
16338
16338
|
|
|
16339
16339
|
const Information100DarkUi = "#a46eff";
|
|
@@ -69145,10 +69145,6 @@ img.ProseMirror-separator {
|
|
|
69145
69145
|
|| mapping instanceof MappingText
|
|
69146
69146
|
|| mapping instanceof MappingEmpty);
|
|
69147
69147
|
}
|
|
69148
|
-
static hasUnresolvedIcon(mappingIcon) {
|
|
69149
|
-
return (typeof mappingIcon.icon === 'string'
|
|
69150
|
-
&& mappingIcon.resolvedIcon === undefined);
|
|
69151
|
-
}
|
|
69152
69148
|
validate(mappings, keyType) {
|
|
69153
69149
|
super.validate(mappings, keyType);
|
|
69154
69150
|
this.validateMappingTypes(mappings);
|
|
@@ -69158,7 +69154,7 @@ img.ProseMirror-separator {
|
|
|
69158
69154
|
validateIconNames(mappings) {
|
|
69159
69155
|
const invalid = mappings
|
|
69160
69156
|
.filter(TableColumnMappingValidator.isIconMappingElement)
|
|
69161
|
-
.some(
|
|
69157
|
+
.some(mappingIcon => mappingIcon.resolvedIcon === undefined);
|
|
69162
69158
|
this.setConditionValue('invalidIconName', invalid);
|
|
69163
69159
|
}
|
|
69164
69160
|
validateNoMissingText(mappings) {
|
|
@@ -69232,14 +69228,7 @@ img.ProseMirror-separator {
|
|
|
69232
69228
|
}
|
|
69233
69229
|
}
|
|
69234
69230
|
|
|
69235
|
-
// Create an empty template containing only a space because creating a ViewTemplate
|
|
69236
|
-
// with an empty string throws an exception at runtime.
|
|
69237
|
-
// prettier-ignore
|
|
69238
|
-
const emptyTemplate = html ` `;
|
|
69239
69231
|
const createIconTemplate = (icon) => {
|
|
69240
|
-
if (icon === undefined) {
|
|
69241
|
-
return emptyTemplate;
|
|
69242
|
-
}
|
|
69243
69232
|
return html `
|
|
69244
69233
|
<${icon}
|
|
69245
69234
|
title="${x => (x.textHidden ? x.text : '')}"
|
|
@@ -69515,6 +69504,9 @@ img.ProseMirror-separator {
|
|
|
69515
69504
|
}
|
|
69516
69505
|
createMappingConfig(mapping) {
|
|
69517
69506
|
if (mapping instanceof MappingIcon) {
|
|
69507
|
+
if (!mapping.resolvedIcon) {
|
|
69508
|
+
throw Error('Unresolved icon');
|
|
69509
|
+
}
|
|
69518
69510
|
return new MappingIconConfig(mapping.resolvedIcon, mapping.severity, mapping.text, mapping.textHidden);
|
|
69519
69511
|
}
|
|
69520
69512
|
if (mapping instanceof MappingSpinner) {
|
|
@@ -76180,9 +76172,11 @@ img.ProseMirror-separator {
|
|
|
76180
76172
|
// this scale is used for positioning the dies on the canvas
|
|
76181
76173
|
this._verticalScale = this.createVerticalScale(originLocation, gridDimensions, containerDiameter);
|
|
76182
76174
|
this._invertedVerticalScale = this.createInvertedVerticalScale(originLocation, gridDimensions, containerDiameter);
|
|
76175
|
+
const dieWidth = this.horizontalScale.bandwidth();
|
|
76176
|
+
const dieHeight = this.verticalScale.bandwidth();
|
|
76183
76177
|
this._dieDimensions = {
|
|
76184
|
-
width:
|
|
76185
|
-
height:
|
|
76178
|
+
width: isNaN(dieWidth) ? 0 : dieWidth,
|
|
76179
|
+
height: isNaN(dieHeight) ? 0 : dieHeight
|
|
76186
76180
|
};
|
|
76187
76181
|
}
|
|
76188
76182
|
gridDimensionsValidAndDefined() {
|
|
@@ -76753,6 +76747,10 @@ img.ProseMirror-separator {
|
|
|
76753
76747
|
this.renderHover();
|
|
76754
76748
|
}
|
|
76755
76749
|
renderHover() {
|
|
76750
|
+
if (this.wafermap.dataManager.dieDimensions === undefined
|
|
76751
|
+
|| this.wafermap.transform === undefined) {
|
|
76752
|
+
return;
|
|
76753
|
+
}
|
|
76756
76754
|
this.wafermap.hoverWidth = this.wafermap.dataManager.dieDimensions.width
|
|
76757
76755
|
* this.wafermap.transform.k;
|
|
76758
76756
|
this.wafermap.hoverHeight = this.wafermap.dataManager.dieDimensions.height
|
|
@@ -78025,6 +78023,10 @@ img.ProseMirror-separator {
|
|
|
78025
78023
|
this.renderHover();
|
|
78026
78024
|
}
|
|
78027
78025
|
renderHover() {
|
|
78026
|
+
if (this.wafermap.experimentalDataManager.dieDimensions === undefined
|
|
78027
|
+
|| this.wafermap.transform === undefined) {
|
|
78028
|
+
return;
|
|
78029
|
+
}
|
|
78028
78030
|
this.wafermap.hoverWidth = this.wafermap.experimentalDataManager.dieDimensions.width
|
|
78029
78031
|
* this.wafermap.transform.k;
|
|
78030
78032
|
this.wafermap.hoverHeight = this.wafermap.experimentalDataManager.dieDimensions.height
|