@itwin/ecschema-rpcinterface-tests 5.3.0-dev.10 → 5.3.0-dev.12
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/lib/dist/bundled-tests.js +173 -88
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +16 -16
|
@@ -152567,6 +152567,7 @@ class ArcGISImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
152567
152567
|
if (this._accessTokenRequired && this._accessClient) {
|
|
152568
152568
|
this._lastAccessToken = await _tile_internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, {
|
|
152569
152569
|
mapLayerUrl: new URL(this._settings.url),
|
|
152570
|
+
portal: typeof this._settings.properties?.portal === "string" ? this._settings.properties.portal : undefined,
|
|
152570
152571
|
userName: this._settings.userName,
|
|
152571
152572
|
password: this._settings.password
|
|
152572
152573
|
});
|
|
@@ -173606,37 +173607,93 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
173606
173607
|
simplifiedInput: true,
|
|
173607
173608
|
/** Enable simple math operations not supported by quantity parser. */
|
|
173608
173609
|
mathOperations: true,
|
|
173609
|
-
/**
|
|
173610
|
-
|
|
173611
|
-
|
|
173612
|
-
|
|
173613
|
-
|
|
173614
|
-
|
|
173615
|
-
|
|
173616
|
-
|
|
173617
|
-
|
|
173618
|
-
|
|
173619
|
-
|
|
173620
|
-
|
|
173621
|
-
|
|
173622
|
-
|
|
173623
|
-
|
|
173624
|
-
|
|
173625
|
-
|
|
173626
|
-
|
|
173627
|
-
|
|
173628
|
-
|
|
173610
|
+
/** Settings that apply to both text input fields and lock buttons. */
|
|
173611
|
+
field: {
|
|
173612
|
+
/** Number of visible characters to show in text input fields. */
|
|
173613
|
+
size: 12,
|
|
173614
|
+
/** Height of text input fields and lock buttons. */
|
|
173615
|
+
height: "var(--iui-component-height-small, 1.75em)",
|
|
173616
|
+
/** Border settings for text input fields and lock buttons. */
|
|
173617
|
+
border: {
|
|
173618
|
+
/** Border width to use for text input fields and lock buttons. */
|
|
173619
|
+
width: "1px",
|
|
173620
|
+
/** Border style to use for text input fields and lock buttons. */
|
|
173621
|
+
style: "solid",
|
|
173622
|
+
/** Corner radius of text input fields and locks buttons. */
|
|
173623
|
+
radius: "var(--iui-border-radius-1, 0.25rem)",
|
|
173624
|
+
},
|
|
173625
|
+
/** Settings specific to text input fields and lock button labels. */
|
|
173626
|
+
text: {
|
|
173627
|
+
/** Font family to use for text input field values and button labels. */
|
|
173628
|
+
fontFamily: "var(--iui-font-sans, sans-serif)",
|
|
173629
|
+
/** Font size to use for text input field values and button labels. */
|
|
173630
|
+
fontSize: "var(--iui-font-size-1, 0.875rem)",
|
|
173631
|
+
},
|
|
173632
|
+
},
|
|
173633
|
+
/** Settings specific to text input fields. */
|
|
173634
|
+
input: {
|
|
173635
|
+
/** Font color to use for text input field values. */
|
|
173636
|
+
color: "var(--iui-color-white, white)",
|
|
173637
|
+
/** Padding applied to text input fields. */
|
|
173638
|
+
padding: "0 var(--iui-size-s, 0.5rem)",
|
|
173639
|
+
/** Settings applied to text input fields when they have focus. */
|
|
173640
|
+
focused: {
|
|
173641
|
+
/** Background color for focused text input fields. */
|
|
173642
|
+
backgroundColor: "hsl(var(--iui-color-accent-hsl, 166 96% 30.7%) / var(--iui-opacity-2, 85%))",
|
|
173643
|
+
/** Inner stroke for focused text input fields. */
|
|
173644
|
+
innerStroke: `inset 0px 0px 0px 1px var(--iui-color-background, #333c41)`,
|
|
173645
|
+
/** Border settings for focused text input fields. */
|
|
173646
|
+
border: {
|
|
173647
|
+
/** Border color for focused text input fields. */
|
|
173648
|
+
color: "hsl(var(--iui-color-accent-hsl, 166 96% 51%))",
|
|
173649
|
+
},
|
|
173650
|
+
},
|
|
173651
|
+
/** Settings applied to text input fields when they do not have focus. */
|
|
173652
|
+
unfocused: {
|
|
173653
|
+
/** Background color for unfocused text input fields. */
|
|
173654
|
+
backgroundColor: "hsl(var(--iui-color-background-hsl, 203 6% 21.25%) / var(--iui-opacity-2, 85%))",
|
|
173655
|
+
/** Border settings for unfocused text input fields. */
|
|
173656
|
+
border: {
|
|
173657
|
+
/** Border color for unfocused text input fields. */
|
|
173658
|
+
color: "var(--iui-color-border, hsla(215, 8%, 30%))",
|
|
173659
|
+
},
|
|
173660
|
+
},
|
|
173629
173661
|
},
|
|
173630
173662
|
/** Settings specific to lock buttons. */
|
|
173631
173663
|
button: {
|
|
173632
|
-
/**
|
|
173633
|
-
|
|
173634
|
-
/**
|
|
173635
|
-
|
|
173636
|
-
|
|
173637
|
-
|
|
173638
|
-
|
|
173639
|
-
|
|
173664
|
+
/** Padding applied to lock buttons. */
|
|
173665
|
+
padding: "var(--iui-size-2xs, 0.25rem)",
|
|
173666
|
+
/** Settings applied to lock buttons when they are unlocked. */
|
|
173667
|
+
unlocked: {
|
|
173668
|
+
/** Text color for unlocked lock buttons. */
|
|
173669
|
+
color: "var(--iui-color-text-muted, #cccccc)",
|
|
173670
|
+
/** Background color for unlocked lock buttons. */
|
|
173671
|
+
backgroundColor: "hsl(var(--iui-color-background-hsl, 203 6% 21.25%) / var(--iui-opacity-2, 85%))",
|
|
173672
|
+
/** Border settings for unlocked lock buttons. */
|
|
173673
|
+
border: {
|
|
173674
|
+
/** Border color for unlocked lock buttons. */
|
|
173675
|
+
color: "var(--iui-color-border, hsla(215, 8%, 30%))",
|
|
173676
|
+
},
|
|
173677
|
+
},
|
|
173678
|
+
/** Settings applied to lock buttons when they are locked. */
|
|
173679
|
+
locked: {
|
|
173680
|
+
/** Text color for locked lock buttons. */
|
|
173681
|
+
color: "hsla(0, 0%, 100%, 1)",
|
|
173682
|
+
/** Background color for locked lock buttons. */
|
|
173683
|
+
backgroundColor: "hsla(0, 0%, 100%, 0.16)",
|
|
173684
|
+
/** Border settings for locked lock buttons. */
|
|
173685
|
+
border: {
|
|
173686
|
+
/** Border color for locked lock buttons. */
|
|
173687
|
+
color: "hsla(0, 0%, 100%, 1)",
|
|
173688
|
+
},
|
|
173689
|
+
},
|
|
173690
|
+
},
|
|
173691
|
+
/** Spacing between fields within a control and between rows of controls. */
|
|
173692
|
+
spacing: {
|
|
173693
|
+
/** Spacing between input field and lock button within each field group. */
|
|
173694
|
+
gap: "var(--iui-size-2xs, 0.25rem)",
|
|
173695
|
+
/** Spacing between field groups (distance/angle, x, y, z controls). */
|
|
173696
|
+
margin: "var(--iui-size-s, 0.75rem)",
|
|
173640
173697
|
},
|
|
173641
173698
|
};
|
|
173642
173699
|
/** Create a new instance of this class to set as [[IModelAppOptions.accuDraw]] for this session. */
|
|
@@ -173888,7 +173945,9 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
173888
173945
|
if (itemField.selectionStart !== (moveLeft ? operatorPosIns + this._expression.operator.length : operatorPosIns))
|
|
173889
173946
|
break;
|
|
173890
173947
|
// Treat expression operator string as a single character when moving the text insertion cursor...
|
|
173891
|
-
itemField.selectionStart = itemField.selectionEnd =
|
|
173948
|
+
itemField.selectionStart = itemField.selectionEnd = moveLeft
|
|
173949
|
+
? operatorPosIns
|
|
173950
|
+
: operatorPosIns + this._expression.operator.length;
|
|
173892
173951
|
ev.preventDefault();
|
|
173893
173952
|
return true;
|
|
173894
173953
|
case "Backspace":
|
|
@@ -173999,10 +174058,18 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
173999
174058
|
div.className = "accudraw-controls";
|
|
174000
174059
|
const style = div.style;
|
|
174001
174060
|
style.pointerEvents = "none";
|
|
174002
|
-
style.overflow = "visible"; // Don't clip/hide outline or shadow...
|
|
174003
174061
|
style.position = "absolute";
|
|
174004
|
-
style.
|
|
174005
|
-
|
|
174062
|
+
style.display = "flex";
|
|
174063
|
+
const isHorizontal = AccuDrawViewportUI.controlProps.horizontalArrangement;
|
|
174064
|
+
style.flexDirection = isHorizontal ? "row" : "column";
|
|
174065
|
+
if (isHorizontal) {
|
|
174066
|
+
// Make the space between each control group bigger than the space between fields within a group
|
|
174067
|
+
style.columnGap = AccuDrawViewportUI.controlProps.spacing.margin;
|
|
174068
|
+
}
|
|
174069
|
+
else {
|
|
174070
|
+
// Make the space between each control group equal than the space between fields within a group
|
|
174071
|
+
style.rowGap = AccuDrawViewportUI.controlProps.spacing.gap;
|
|
174072
|
+
}
|
|
174006
174073
|
return div;
|
|
174007
174074
|
}
|
|
174008
174075
|
updateItemFieldKeyinStatus(itemField, item) {
|
|
@@ -174018,27 +174085,52 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
174018
174085
|
}
|
|
174019
174086
|
updateItemFieldLock(itemLock, item) {
|
|
174020
174087
|
const locked = this.getFieldLock(item);
|
|
174021
|
-
itemLock.style.
|
|
174022
|
-
|
|
174023
|
-
|
|
174088
|
+
itemLock.style.backgroundColor = locked
|
|
174089
|
+
? AccuDrawViewportUI.controlProps.button.locked.backgroundColor
|
|
174090
|
+
: AccuDrawViewportUI.controlProps.button.unlocked.backgroundColor;
|
|
174091
|
+
itemLock.style.border = `${AccuDrawViewportUI.controlProps.field.border.width} ${AccuDrawViewportUI.controlProps.field.border.style} ${locked
|
|
174092
|
+
? AccuDrawViewportUI.controlProps.button.locked.border.color
|
|
174093
|
+
: AccuDrawViewportUI.controlProps.button.unlocked.border.color}`;
|
|
174094
|
+
itemLock.style.color = locked
|
|
174095
|
+
? AccuDrawViewportUI.controlProps.button.locked.color
|
|
174096
|
+
: AccuDrawViewportUI.controlProps.button.unlocked.color;
|
|
174024
174097
|
}
|
|
174025
174098
|
initializeItemStyle(style, isButton) {
|
|
174026
174099
|
style.pointerEvents = "none"; // Don't receive pointer events...
|
|
174027
|
-
style.position = "absolute";
|
|
174028
174100
|
style.textWrap = "nowrap";
|
|
174029
174101
|
style.textAnchor = "top";
|
|
174030
|
-
style.
|
|
174102
|
+
style.boxSizing = "border-box";
|
|
174031
174103
|
const controlProps = AccuDrawViewportUI.controlProps;
|
|
174032
|
-
style.
|
|
174033
|
-
|
|
174034
|
-
|
|
174035
|
-
|
|
174036
|
-
|
|
174104
|
+
style.height = controlProps.field.height;
|
|
174105
|
+
const baseBorder = `${controlProps.field.border.width} ${controlProps.field.border.style} `;
|
|
174106
|
+
switch (isButton) {
|
|
174107
|
+
case true:
|
|
174108
|
+
style.display = "flex";
|
|
174109
|
+
style.justifyContent = "center";
|
|
174110
|
+
style.alignItems = "center";
|
|
174111
|
+
style.backgroundColor = controlProps.button.unlocked.backgroundColor;
|
|
174112
|
+
style.padding = controlProps.button.padding;
|
|
174113
|
+
style.border = baseBorder + controlProps.button.unlocked.border.color;
|
|
174114
|
+
style.color = controlProps.button.unlocked.color;
|
|
174115
|
+
style.aspectRatio = "1";
|
|
174116
|
+
break;
|
|
174117
|
+
case false:
|
|
174118
|
+
style.backgroundColor = controlProps.input.unfocused.backgroundColor;
|
|
174119
|
+
style.outline = "none";
|
|
174120
|
+
style.padding = controlProps.input.padding;
|
|
174121
|
+
style.border = baseBorder + controlProps.input.unfocused.border.color;
|
|
174122
|
+
style.color = controlProps.input.color;
|
|
174123
|
+
style.width = "120px";
|
|
174124
|
+
break;
|
|
174125
|
+
}
|
|
174126
|
+
style.fontFamily = controlProps.field.text.fontFamily;
|
|
174127
|
+
style.fontSize = controlProps.field.text.fontSize;
|
|
174128
|
+
style.borderRadius = controlProps.field.border.radius;
|
|
174037
174129
|
}
|
|
174038
174130
|
createItemField(item) {
|
|
174039
174131
|
const itemField = document.createElement("input");
|
|
174040
174132
|
itemField.contentEditable = "true";
|
|
174041
|
-
itemField.size = AccuDrawViewportUI.controlProps.
|
|
174133
|
+
itemField.size = AccuDrawViewportUI.controlProps.field.size;
|
|
174042
174134
|
const style = itemField.style;
|
|
174043
174135
|
this.initializeItemStyle(style, false);
|
|
174044
174136
|
this.updateItemFieldValue(itemField, item);
|
|
@@ -174046,7 +174138,6 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
174046
174138
|
itemField.onkeyup = async (ev) => { await this.onKeyboardEvent(ev, false); };
|
|
174047
174139
|
itemField.onfocus = (ev) => { this.onFocusChange(ev, item, true); };
|
|
174048
174140
|
itemField.onblur = (ev) => { this.onFocusChange(ev, item, false); };
|
|
174049
|
-
;
|
|
174050
174141
|
return itemField;
|
|
174051
174142
|
}
|
|
174052
174143
|
createItemFieldLock(item) {
|
|
@@ -174074,10 +174165,6 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
174074
174165
|
const style = itemLock.style;
|
|
174075
174166
|
this.initializeItemStyle(style, true);
|
|
174076
174167
|
this.updateItemFieldLock(itemLock, item);
|
|
174077
|
-
const button = AccuDrawViewportUI.controlProps.button;
|
|
174078
|
-
style.paddingLeft = style.paddingRight = "0";
|
|
174079
|
-
style.marginLeft = style.marginRight = button.margin;
|
|
174080
|
-
style.outlineWidth = button.outlineWidth;
|
|
174081
174168
|
return itemLock;
|
|
174082
174169
|
}
|
|
174083
174170
|
/** Called after the controls have been removed from the view. */
|
|
@@ -174098,18 +174185,23 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
174098
174185
|
updateControlVisibility(isPolar, is3d) {
|
|
174099
174186
|
if (undefined === this._controls)
|
|
174100
174187
|
return;
|
|
174101
|
-
this._controls.itemFields[_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.ANGLE_Item]
|
|
174102
|
-
|
|
174103
|
-
this._controls.itemFields[_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.DIST_Item]
|
|
174104
|
-
|
|
174105
|
-
this._controls.itemFields[_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.X_Item]
|
|
174106
|
-
|
|
174107
|
-
this._controls.itemFields[_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.Y_Item]
|
|
174108
|
-
|
|
174188
|
+
const angleWrapper = this._controls.itemFields[_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.ANGLE_Item]
|
|
174189
|
+
.parentElement;
|
|
174190
|
+
const distWrapper = this._controls.itemFields[_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.DIST_Item]
|
|
174191
|
+
.parentElement;
|
|
174192
|
+
const xWrapper = this._controls.itemFields[_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.X_Item]
|
|
174193
|
+
.parentElement;
|
|
174194
|
+
const yWrapper = this._controls.itemFields[_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.Y_Item]
|
|
174195
|
+
.parentElement;
|
|
174196
|
+
const zWrapper = this._controls.itemFields[_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.Z_Item]
|
|
174197
|
+
.parentElement;
|
|
174198
|
+
angleWrapper.style.display = !isPolar ? "none" : "flex";
|
|
174199
|
+
distWrapper.style.display = !isPolar ? "none" : "flex";
|
|
174200
|
+
xWrapper.style.display = isPolar ? "none" : "flex";
|
|
174201
|
+
yWrapper.style.display = isPolar ? "none" : "flex";
|
|
174109
174202
|
if (undefined === is3d)
|
|
174110
174203
|
return;
|
|
174111
|
-
|
|
174112
|
-
this._controls.itemLocks[_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.Z_Item].hidden = !is3d;
|
|
174204
|
+
zWrapper.style.display = !is3d ? "none" : "flex";
|
|
174113
174205
|
}
|
|
174114
174206
|
updateControls(ev) {
|
|
174115
174207
|
const vp = ev.viewport;
|
|
@@ -174121,43 +174213,28 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
174121
174213
|
if (undefined === this._controls) {
|
|
174122
174214
|
const overlay = vp.addNewDiv("accudraw-overlay", true, 35);
|
|
174123
174215
|
const div = this.createControlDiv();
|
|
174124
|
-
const is3dLayout = this.is3dCompass(vp);
|
|
174125
|
-
const isHorizontalLayout = props.horizontalArrangement;
|
|
174126
174216
|
overlay.appendChild(div);
|
|
174127
174217
|
const createFieldAndLock = (item) => {
|
|
174128
|
-
const
|
|
174129
|
-
|
|
174130
|
-
|
|
174131
|
-
|
|
174132
|
-
|
|
174133
|
-
|
|
174134
|
-
|
|
174135
|
-
|
|
174136
|
-
|
|
174137
|
-
itemLock
|
|
174138
|
-
itemLock
|
|
174139
|
-
|
|
174140
|
-
div.appendChild(itemLock);
|
|
174141
|
-
lockWidth = itemLock.offsetWidth;
|
|
174142
|
-
if (is3dLayout || _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.Z_Item !== item)
|
|
174143
|
-
columnOffset += (itemWidth + lockWidth) * props.columnSpacingFactor;
|
|
174218
|
+
const fieldWrapper = document.createElement("div");
|
|
174219
|
+
fieldWrapper.style.display = "flex";
|
|
174220
|
+
fieldWrapper.style.flexDirection = "row";
|
|
174221
|
+
fieldWrapper.style.alignItems = "center";
|
|
174222
|
+
fieldWrapper.style.justifyContent = "center";
|
|
174223
|
+
fieldWrapper.style.columnGap = AccuDrawViewportUI.controlProps.spacing.gap;
|
|
174224
|
+
fieldWrapper.style.rowGap = AccuDrawViewportUI.controlProps.spacing.gap;
|
|
174225
|
+
const itemField = (itemFields[item] = this.createItemField(item));
|
|
174226
|
+
fieldWrapper.appendChild(itemField);
|
|
174227
|
+
const itemLock = (itemLocks[item] = this.createItemFieldLock(item));
|
|
174228
|
+
fieldWrapper.appendChild(itemLock);
|
|
174229
|
+
div.appendChild(fieldWrapper);
|
|
174144
174230
|
};
|
|
174145
|
-
let rowOffset = 0;
|
|
174146
|
-
let columnOffset = 0;
|
|
174147
|
-
let itemWidth = 0;
|
|
174148
|
-
let itemHeight = 0;
|
|
174149
|
-
let lockWidth = 0;
|
|
174150
174231
|
const itemFields = [];
|
|
174151
174232
|
const itemLocks = [];
|
|
174152
174233
|
createFieldAndLock(_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.DIST_Item);
|
|
174153
174234
|
createFieldAndLock(_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.ANGLE_Item);
|
|
174154
|
-
rowOffset = 0;
|
|
174155
|
-
columnOffset = 0;
|
|
174156
174235
|
createFieldAndLock(_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.X_Item);
|
|
174157
174236
|
createFieldAndLock(_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.Y_Item);
|
|
174158
174237
|
createFieldAndLock(_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.Z_Item); // Both polar and rectangular modes support Z in 3d views...
|
|
174159
|
-
div.style.width = isHorizontalLayout ? `${columnOffset}px` : `${itemWidth + lockWidth + 5}px`;
|
|
174160
|
-
div.style.height = isHorizontalLayout ? `${itemHeight * props.rowSpacingFactor}px` : `${rowOffset}px`;
|
|
174161
174238
|
this._controls = { overlay, div, itemFields, itemLocks };
|
|
174162
174239
|
this.updateControlVisibility(_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.CompassMode.Polar === this.compassMode, this.is3dCompass(vp));
|
|
174163
174240
|
this.setFocusItem(this._focusItem);
|
|
@@ -174168,7 +174245,7 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
174168
174245
|
const position = vp.worldToView(ev.point);
|
|
174169
174246
|
if (props.fixedLocation) {
|
|
174170
174247
|
position.x = (viewRect.left + ((viewRect.width - this._controls.div.offsetWidth) * 0.5));
|
|
174171
|
-
position.y = (viewRect.bottom - this._controls.div.offsetHeight);
|
|
174248
|
+
position.y = (viewRect.bottom - this._controls.div.offsetHeight * 1.2);
|
|
174172
174249
|
}
|
|
174173
174250
|
else {
|
|
174174
174251
|
position.x += Math.floor(vp.pixelsFromInches(props.cursorOffset.x)) + 0.5;
|
|
@@ -174235,7 +174312,15 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
174235
174312
|
return;
|
|
174236
174313
|
// NOTE: Using "setSelectionRange" while value is changing in dynamics isn't pretty, use background+caret color instead...
|
|
174237
174314
|
const itemField = this._controls.itemFields[item];
|
|
174238
|
-
itemField.style.backgroundColor =
|
|
174315
|
+
itemField.style.backgroundColor = focusIn
|
|
174316
|
+
? AccuDrawViewportUI.controlProps.input.focused.backgroundColor
|
|
174317
|
+
: AccuDrawViewportUI.controlProps.input.unfocused.backgroundColor;
|
|
174318
|
+
itemField.style.border = focusIn
|
|
174319
|
+
? `${AccuDrawViewportUI.controlProps.field.border.width} ${AccuDrawViewportUI.controlProps.field.border.style} ${AccuDrawViewportUI.controlProps.input.focused.border.color}`
|
|
174320
|
+
: `${AccuDrawViewportUI.controlProps.field.border.width} ${AccuDrawViewportUI.controlProps.field.border.style} ${AccuDrawViewportUI.controlProps.input.unfocused.border.color}`;
|
|
174321
|
+
itemField.style.boxShadow = focusIn
|
|
174322
|
+
? AccuDrawViewportUI.controlProps.input.focused.innerStroke
|
|
174323
|
+
: "none";
|
|
174239
174324
|
this.updateItemFieldKeyinStatus(itemField, item);
|
|
174240
174325
|
if (!focusIn)
|
|
174241
174326
|
this.setDynamicKeyinStatus(item);
|
|
@@ -321390,7 +321475,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
321390
321475
|
/***/ ((module) => {
|
|
321391
321476
|
|
|
321392
321477
|
"use strict";
|
|
321393
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.3.0-dev.
|
|
321478
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.3.0-dev.12","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers && npm run -s copy:draco","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf -g lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"5.2.2-dev.2","@types/chai-as-promised":"^7","@types/draco3d":"^1.4.10","@types/sinon":"^17.0.2","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^3.0.6","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"2.2.0","webpack":"^5.97.1"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^4.3.4","@loaders.gl/draco":"^4.3.4","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
321394
321479
|
|
|
321395
321480
|
/***/ })
|
|
321396
321481
|
|