@ni/nimble-components 28.2.1 → 28.3.1
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 +37 -27
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +2174 -2172
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/all-components.d.ts +2 -1
- package/dist/esm/all-components.js +2 -1
- package/dist/esm/all-components.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 Mon, 13 May 2024 09:36:44 GMT
|
|
16337
16337
|
*/
|
|
16338
16338
|
|
|
16339
16339
|
const Information100DarkUi = "#a46eff";
|
|
@@ -24942,20 +24942,20 @@
|
|
|
24942
24942
|
const template$q = html `<template slot="mapping"></template>`;
|
|
24943
24943
|
|
|
24944
24944
|
/**
|
|
24945
|
-
*
|
|
24946
|
-
* One or more may be added as children of a nimble-table-column-mapping element
|
|
24947
|
-
*
|
|
24945
|
+
* Maps data values to text.
|
|
24946
|
+
* One or more may be added as children of a nimble-table-column-mapping element. The
|
|
24947
|
+
* mapping displays an empty cell and text-only group rows.
|
|
24948
24948
|
*/
|
|
24949
|
-
class
|
|
24949
|
+
class MappingEmpty extends Mapping$1 {
|
|
24950
24950
|
}
|
|
24951
24951
|
__decorate$1([
|
|
24952
24952
|
attr()
|
|
24953
|
-
],
|
|
24954
|
-
const
|
|
24955
|
-
baseName: 'mapping-
|
|
24953
|
+
], MappingEmpty.prototype, "text", void 0);
|
|
24954
|
+
const emptyMapping = MappingEmpty.compose({
|
|
24955
|
+
baseName: 'mapping-empty',
|
|
24956
24956
|
template: template$q
|
|
24957
24957
|
});
|
|
24958
|
-
DesignSystem.getOrCreate().withPrefix('nimble').register(
|
|
24958
|
+
DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
|
|
24959
24959
|
|
|
24960
24960
|
function isIconClass(elementClass) {
|
|
24961
24961
|
return elementClass.prototype instanceof Icon;
|
|
@@ -25050,6 +25050,22 @@
|
|
|
25050
25050
|
});
|
|
25051
25051
|
DesignSystem.getOrCreate().withPrefix('nimble').register(spinnerMapping());
|
|
25052
25052
|
|
|
25053
|
+
/**
|
|
25054
|
+
* Defines a mapping from one data value ('key' property) to display text ('text' property).
|
|
25055
|
+
* One or more may be added as children of a nimble-table-column-mapping element to define
|
|
25056
|
+
* how a specific data value should be displayed as text in that column's cells.
|
|
25057
|
+
*/
|
|
25058
|
+
class MappingText extends Mapping$1 {
|
|
25059
|
+
}
|
|
25060
|
+
__decorate$1([
|
|
25061
|
+
attr()
|
|
25062
|
+
], MappingText.prototype, "text", void 0);
|
|
25063
|
+
const textMapping = MappingText.compose({
|
|
25064
|
+
baseName: 'mapping-text',
|
|
25065
|
+
template: template$q
|
|
25066
|
+
});
|
|
25067
|
+
DesignSystem.getOrCreate().withPrefix('nimble').register(textMapping());
|
|
25068
|
+
|
|
25053
25069
|
const styles$A = css `
|
|
25054
25070
|
${display('grid')}
|
|
25055
25071
|
|
|
@@ -69069,22 +69085,6 @@ img.ProseMirror-separator {
|
|
|
69069
69085
|
|
|
69070
69086
|
const template$9 = html `${template$d}<slot ${slotted('mappings')} name="mapping"></slot>`;
|
|
69071
69087
|
|
|
69072
|
-
/**
|
|
69073
|
-
* Maps data values to text.
|
|
69074
|
-
* One or more may be added as children of a nimble-table-column-mapping element. The
|
|
69075
|
-
* mapping displays an empty cell and text-only group rows.
|
|
69076
|
-
*/
|
|
69077
|
-
class MappingEmpty extends Mapping$1 {
|
|
69078
|
-
}
|
|
69079
|
-
__decorate$1([
|
|
69080
|
-
attr()
|
|
69081
|
-
], MappingEmpty.prototype, "text", void 0);
|
|
69082
|
-
const emptyMapping = MappingEmpty.compose({
|
|
69083
|
-
baseName: 'mapping-empty',
|
|
69084
|
-
template: template$q
|
|
69085
|
-
});
|
|
69086
|
-
DesignSystem.getOrCreate().withPrefix('nimble').register(emptyMapping());
|
|
69087
|
-
|
|
69088
69088
|
const enumBaseValidityFlagNames = [
|
|
69089
69089
|
'invalidMappingKeyValueForType',
|
|
69090
69090
|
'duplicateMappingKey',
|
|
@@ -76180,9 +76180,11 @@ img.ProseMirror-separator {
|
|
|
76180
76180
|
// this scale is used for positioning the dies on the canvas
|
|
76181
76181
|
this._verticalScale = this.createVerticalScale(originLocation, gridDimensions, containerDiameter);
|
|
76182
76182
|
this._invertedVerticalScale = this.createInvertedVerticalScale(originLocation, gridDimensions, containerDiameter);
|
|
76183
|
+
const dieWidth = this.horizontalScale.bandwidth();
|
|
76184
|
+
const dieHeight = this.verticalScale.bandwidth();
|
|
76183
76185
|
this._dieDimensions = {
|
|
76184
|
-
width:
|
|
76185
|
-
height:
|
|
76186
|
+
width: isNaN(dieWidth) ? 0 : dieWidth,
|
|
76187
|
+
height: isNaN(dieHeight) ? 0 : dieHeight
|
|
76186
76188
|
};
|
|
76187
76189
|
}
|
|
76188
76190
|
gridDimensionsValidAndDefined() {
|
|
@@ -76753,6 +76755,10 @@ img.ProseMirror-separator {
|
|
|
76753
76755
|
this.renderHover();
|
|
76754
76756
|
}
|
|
76755
76757
|
renderHover() {
|
|
76758
|
+
if (this.wafermap.dataManager.dieDimensions === undefined
|
|
76759
|
+
|| this.wafermap.transform === undefined) {
|
|
76760
|
+
return;
|
|
76761
|
+
}
|
|
76756
76762
|
this.wafermap.hoverWidth = this.wafermap.dataManager.dieDimensions.width
|
|
76757
76763
|
* this.wafermap.transform.k;
|
|
76758
76764
|
this.wafermap.hoverHeight = this.wafermap.dataManager.dieDimensions.height
|
|
@@ -78025,6 +78031,10 @@ img.ProseMirror-separator {
|
|
|
78025
78031
|
this.renderHover();
|
|
78026
78032
|
}
|
|
78027
78033
|
renderHover() {
|
|
78034
|
+
if (this.wafermap.experimentalDataManager.dieDimensions === undefined
|
|
78035
|
+
|| this.wafermap.transform === undefined) {
|
|
78036
|
+
return;
|
|
78037
|
+
}
|
|
78028
78038
|
this.wafermap.hoverWidth = this.wafermap.experimentalDataManager.dieDimensions.width
|
|
78029
78039
|
* this.wafermap.transform.k;
|
|
78030
78040
|
this.wafermap.hoverHeight = this.wafermap.experimentalDataManager.dieDimensions.height
|