@itwin/rpcinterface-full-stack-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 +174 -89
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +14 -14
|
@@ -182202,6 +182202,7 @@ class ArcGISImageryProvider extends _tile_internal__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
182202
182202
|
if (this._accessTokenRequired && this._accessClient) {
|
|
182203
182203
|
this._lastAccessToken = await _tile_internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, {
|
|
182204
182204
|
mapLayerUrl: new URL(this._settings.url),
|
|
182205
|
+
portal: typeof this._settings.properties?.portal === "string" ? this._settings.properties.portal : undefined,
|
|
182205
182206
|
userName: this._settings.userName,
|
|
182206
182207
|
password: this._settings.password
|
|
182207
182208
|
});
|
|
@@ -203241,37 +203242,93 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
203241
203242
|
simplifiedInput: true,
|
|
203242
203243
|
/** Enable simple math operations not supported by quantity parser. */
|
|
203243
203244
|
mathOperations: true,
|
|
203244
|
-
/**
|
|
203245
|
-
|
|
203246
|
-
|
|
203247
|
-
|
|
203248
|
-
|
|
203249
|
-
|
|
203250
|
-
|
|
203251
|
-
|
|
203252
|
-
|
|
203253
|
-
|
|
203254
|
-
|
|
203255
|
-
|
|
203256
|
-
|
|
203257
|
-
|
|
203258
|
-
|
|
203259
|
-
|
|
203260
|
-
|
|
203261
|
-
|
|
203262
|
-
|
|
203263
|
-
|
|
203245
|
+
/** Settings that apply to both text input fields and lock buttons. */
|
|
203246
|
+
field: {
|
|
203247
|
+
/** Number of visible characters to show in text input fields. */
|
|
203248
|
+
size: 12,
|
|
203249
|
+
/** Height of text input fields and lock buttons. */
|
|
203250
|
+
height: "var(--iui-component-height-small, 1.75em)",
|
|
203251
|
+
/** Border settings for text input fields and lock buttons. */
|
|
203252
|
+
border: {
|
|
203253
|
+
/** Border width to use for text input fields and lock buttons. */
|
|
203254
|
+
width: "1px",
|
|
203255
|
+
/** Border style to use for text input fields and lock buttons. */
|
|
203256
|
+
style: "solid",
|
|
203257
|
+
/** Corner radius of text input fields and locks buttons. */
|
|
203258
|
+
radius: "var(--iui-border-radius-1, 0.25rem)",
|
|
203259
|
+
},
|
|
203260
|
+
/** Settings specific to text input fields and lock button labels. */
|
|
203261
|
+
text: {
|
|
203262
|
+
/** Font family to use for text input field values and button labels. */
|
|
203263
|
+
fontFamily: "var(--iui-font-sans, sans-serif)",
|
|
203264
|
+
/** Font size to use for text input field values and button labels. */
|
|
203265
|
+
fontSize: "var(--iui-font-size-1, 0.875rem)",
|
|
203266
|
+
},
|
|
203267
|
+
},
|
|
203268
|
+
/** Settings specific to text input fields. */
|
|
203269
|
+
input: {
|
|
203270
|
+
/** Font color to use for text input field values. */
|
|
203271
|
+
color: "var(--iui-color-white, white)",
|
|
203272
|
+
/** Padding applied to text input fields. */
|
|
203273
|
+
padding: "0 var(--iui-size-s, 0.5rem)",
|
|
203274
|
+
/** Settings applied to text input fields when they have focus. */
|
|
203275
|
+
focused: {
|
|
203276
|
+
/** Background color for focused text input fields. */
|
|
203277
|
+
backgroundColor: "hsl(var(--iui-color-accent-hsl, 166 96% 30.7%) / var(--iui-opacity-2, 85%))",
|
|
203278
|
+
/** Inner stroke for focused text input fields. */
|
|
203279
|
+
innerStroke: `inset 0px 0px 0px 1px var(--iui-color-background, #333c41)`,
|
|
203280
|
+
/** Border settings for focused text input fields. */
|
|
203281
|
+
border: {
|
|
203282
|
+
/** Border color for focused text input fields. */
|
|
203283
|
+
color: "hsl(var(--iui-color-accent-hsl, 166 96% 51%))",
|
|
203284
|
+
},
|
|
203285
|
+
},
|
|
203286
|
+
/** Settings applied to text input fields when they do not have focus. */
|
|
203287
|
+
unfocused: {
|
|
203288
|
+
/** Background color for unfocused text input fields. */
|
|
203289
|
+
backgroundColor: "hsl(var(--iui-color-background-hsl, 203 6% 21.25%) / var(--iui-opacity-2, 85%))",
|
|
203290
|
+
/** Border settings for unfocused text input fields. */
|
|
203291
|
+
border: {
|
|
203292
|
+
/** Border color for unfocused text input fields. */
|
|
203293
|
+
color: "var(--iui-color-border, hsla(215, 8%, 30%))",
|
|
203294
|
+
},
|
|
203295
|
+
},
|
|
203264
203296
|
},
|
|
203265
203297
|
/** Settings specific to lock buttons. */
|
|
203266
203298
|
button: {
|
|
203267
|
-
/**
|
|
203268
|
-
|
|
203269
|
-
/**
|
|
203270
|
-
|
|
203271
|
-
|
|
203272
|
-
|
|
203273
|
-
|
|
203274
|
-
|
|
203299
|
+
/** Padding applied to lock buttons. */
|
|
203300
|
+
padding: "var(--iui-size-2xs, 0.25rem)",
|
|
203301
|
+
/** Settings applied to lock buttons when they are unlocked. */
|
|
203302
|
+
unlocked: {
|
|
203303
|
+
/** Text color for unlocked lock buttons. */
|
|
203304
|
+
color: "var(--iui-color-text-muted, #cccccc)",
|
|
203305
|
+
/** Background color for unlocked lock buttons. */
|
|
203306
|
+
backgroundColor: "hsl(var(--iui-color-background-hsl, 203 6% 21.25%) / var(--iui-opacity-2, 85%))",
|
|
203307
|
+
/** Border settings for unlocked lock buttons. */
|
|
203308
|
+
border: {
|
|
203309
|
+
/** Border color for unlocked lock buttons. */
|
|
203310
|
+
color: "var(--iui-color-border, hsla(215, 8%, 30%))",
|
|
203311
|
+
},
|
|
203312
|
+
},
|
|
203313
|
+
/** Settings applied to lock buttons when they are locked. */
|
|
203314
|
+
locked: {
|
|
203315
|
+
/** Text color for locked lock buttons. */
|
|
203316
|
+
color: "hsla(0, 0%, 100%, 1)",
|
|
203317
|
+
/** Background color for locked lock buttons. */
|
|
203318
|
+
backgroundColor: "hsla(0, 0%, 100%, 0.16)",
|
|
203319
|
+
/** Border settings for locked lock buttons. */
|
|
203320
|
+
border: {
|
|
203321
|
+
/** Border color for locked lock buttons. */
|
|
203322
|
+
color: "hsla(0, 0%, 100%, 1)",
|
|
203323
|
+
},
|
|
203324
|
+
},
|
|
203325
|
+
},
|
|
203326
|
+
/** Spacing between fields within a control and between rows of controls. */
|
|
203327
|
+
spacing: {
|
|
203328
|
+
/** Spacing between input field and lock button within each field group. */
|
|
203329
|
+
gap: "var(--iui-size-2xs, 0.25rem)",
|
|
203330
|
+
/** Spacing between field groups (distance/angle, x, y, z controls). */
|
|
203331
|
+
margin: "var(--iui-size-s, 0.75rem)",
|
|
203275
203332
|
},
|
|
203276
203333
|
};
|
|
203277
203334
|
/** Create a new instance of this class to set as [[IModelAppOptions.accuDraw]] for this session. */
|
|
@@ -203523,7 +203580,9 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
203523
203580
|
if (itemField.selectionStart !== (moveLeft ? operatorPosIns + this._expression.operator.length : operatorPosIns))
|
|
203524
203581
|
break;
|
|
203525
203582
|
// Treat expression operator string as a single character when moving the text insertion cursor...
|
|
203526
|
-
itemField.selectionStart = itemField.selectionEnd =
|
|
203583
|
+
itemField.selectionStart = itemField.selectionEnd = moveLeft
|
|
203584
|
+
? operatorPosIns
|
|
203585
|
+
: operatorPosIns + this._expression.operator.length;
|
|
203527
203586
|
ev.preventDefault();
|
|
203528
203587
|
return true;
|
|
203529
203588
|
case "Backspace":
|
|
@@ -203634,10 +203693,18 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
203634
203693
|
div.className = "accudraw-controls";
|
|
203635
203694
|
const style = div.style;
|
|
203636
203695
|
style.pointerEvents = "none";
|
|
203637
|
-
style.overflow = "visible"; // Don't clip/hide outline or shadow...
|
|
203638
203696
|
style.position = "absolute";
|
|
203639
|
-
style.
|
|
203640
|
-
|
|
203697
|
+
style.display = "flex";
|
|
203698
|
+
const isHorizontal = AccuDrawViewportUI.controlProps.horizontalArrangement;
|
|
203699
|
+
style.flexDirection = isHorizontal ? "row" : "column";
|
|
203700
|
+
if (isHorizontal) {
|
|
203701
|
+
// Make the space between each control group bigger than the space between fields within a group
|
|
203702
|
+
style.columnGap = AccuDrawViewportUI.controlProps.spacing.margin;
|
|
203703
|
+
}
|
|
203704
|
+
else {
|
|
203705
|
+
// Make the space between each control group equal than the space between fields within a group
|
|
203706
|
+
style.rowGap = AccuDrawViewportUI.controlProps.spacing.gap;
|
|
203707
|
+
}
|
|
203641
203708
|
return div;
|
|
203642
203709
|
}
|
|
203643
203710
|
updateItemFieldKeyinStatus(itemField, item) {
|
|
@@ -203653,27 +203720,52 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
203653
203720
|
}
|
|
203654
203721
|
updateItemFieldLock(itemLock, item) {
|
|
203655
203722
|
const locked = this.getFieldLock(item);
|
|
203656
|
-
itemLock.style.
|
|
203657
|
-
|
|
203658
|
-
|
|
203723
|
+
itemLock.style.backgroundColor = locked
|
|
203724
|
+
? AccuDrawViewportUI.controlProps.button.locked.backgroundColor
|
|
203725
|
+
: AccuDrawViewportUI.controlProps.button.unlocked.backgroundColor;
|
|
203726
|
+
itemLock.style.border = `${AccuDrawViewportUI.controlProps.field.border.width} ${AccuDrawViewportUI.controlProps.field.border.style} ${locked
|
|
203727
|
+
? AccuDrawViewportUI.controlProps.button.locked.border.color
|
|
203728
|
+
: AccuDrawViewportUI.controlProps.button.unlocked.border.color}`;
|
|
203729
|
+
itemLock.style.color = locked
|
|
203730
|
+
? AccuDrawViewportUI.controlProps.button.locked.color
|
|
203731
|
+
: AccuDrawViewportUI.controlProps.button.unlocked.color;
|
|
203659
203732
|
}
|
|
203660
203733
|
initializeItemStyle(style, isButton) {
|
|
203661
203734
|
style.pointerEvents = "none"; // Don't receive pointer events...
|
|
203662
|
-
style.position = "absolute";
|
|
203663
203735
|
style.textWrap = "nowrap";
|
|
203664
203736
|
style.textAnchor = "top";
|
|
203665
|
-
style.
|
|
203737
|
+
style.boxSizing = "border-box";
|
|
203666
203738
|
const controlProps = AccuDrawViewportUI.controlProps;
|
|
203667
|
-
style.
|
|
203668
|
-
|
|
203669
|
-
|
|
203670
|
-
|
|
203671
|
-
|
|
203739
|
+
style.height = controlProps.field.height;
|
|
203740
|
+
const baseBorder = `${controlProps.field.border.width} ${controlProps.field.border.style} `;
|
|
203741
|
+
switch (isButton) {
|
|
203742
|
+
case true:
|
|
203743
|
+
style.display = "flex";
|
|
203744
|
+
style.justifyContent = "center";
|
|
203745
|
+
style.alignItems = "center";
|
|
203746
|
+
style.backgroundColor = controlProps.button.unlocked.backgroundColor;
|
|
203747
|
+
style.padding = controlProps.button.padding;
|
|
203748
|
+
style.border = baseBorder + controlProps.button.unlocked.border.color;
|
|
203749
|
+
style.color = controlProps.button.unlocked.color;
|
|
203750
|
+
style.aspectRatio = "1";
|
|
203751
|
+
break;
|
|
203752
|
+
case false:
|
|
203753
|
+
style.backgroundColor = controlProps.input.unfocused.backgroundColor;
|
|
203754
|
+
style.outline = "none";
|
|
203755
|
+
style.padding = controlProps.input.padding;
|
|
203756
|
+
style.border = baseBorder + controlProps.input.unfocused.border.color;
|
|
203757
|
+
style.color = controlProps.input.color;
|
|
203758
|
+
style.width = "120px";
|
|
203759
|
+
break;
|
|
203760
|
+
}
|
|
203761
|
+
style.fontFamily = controlProps.field.text.fontFamily;
|
|
203762
|
+
style.fontSize = controlProps.field.text.fontSize;
|
|
203763
|
+
style.borderRadius = controlProps.field.border.radius;
|
|
203672
203764
|
}
|
|
203673
203765
|
createItemField(item) {
|
|
203674
203766
|
const itemField = document.createElement("input");
|
|
203675
203767
|
itemField.contentEditable = "true";
|
|
203676
|
-
itemField.size = AccuDrawViewportUI.controlProps.
|
|
203768
|
+
itemField.size = AccuDrawViewportUI.controlProps.field.size;
|
|
203677
203769
|
const style = itemField.style;
|
|
203678
203770
|
this.initializeItemStyle(style, false);
|
|
203679
203771
|
this.updateItemFieldValue(itemField, item);
|
|
@@ -203681,7 +203773,6 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
203681
203773
|
itemField.onkeyup = async (ev) => { await this.onKeyboardEvent(ev, false); };
|
|
203682
203774
|
itemField.onfocus = (ev) => { this.onFocusChange(ev, item, true); };
|
|
203683
203775
|
itemField.onblur = (ev) => { this.onFocusChange(ev, item, false); };
|
|
203684
|
-
;
|
|
203685
203776
|
return itemField;
|
|
203686
203777
|
}
|
|
203687
203778
|
createItemFieldLock(item) {
|
|
@@ -203709,10 +203800,6 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
203709
203800
|
const style = itemLock.style;
|
|
203710
203801
|
this.initializeItemStyle(style, true);
|
|
203711
203802
|
this.updateItemFieldLock(itemLock, item);
|
|
203712
|
-
const button = AccuDrawViewportUI.controlProps.button;
|
|
203713
|
-
style.paddingLeft = style.paddingRight = "0";
|
|
203714
|
-
style.marginLeft = style.marginRight = button.margin;
|
|
203715
|
-
style.outlineWidth = button.outlineWidth;
|
|
203716
203803
|
return itemLock;
|
|
203717
203804
|
}
|
|
203718
203805
|
/** Called after the controls have been removed from the view. */
|
|
@@ -203733,18 +203820,23 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
203733
203820
|
updateControlVisibility(isPolar, is3d) {
|
|
203734
203821
|
if (undefined === this._controls)
|
|
203735
203822
|
return;
|
|
203736
|
-
this._controls.itemFields[_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.ANGLE_Item]
|
|
203737
|
-
|
|
203738
|
-
this._controls.itemFields[_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.DIST_Item]
|
|
203739
|
-
|
|
203740
|
-
this._controls.itemFields[_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.X_Item]
|
|
203741
|
-
|
|
203742
|
-
this._controls.itemFields[_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.Y_Item]
|
|
203743
|
-
|
|
203823
|
+
const angleWrapper = this._controls.itemFields[_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.ANGLE_Item]
|
|
203824
|
+
.parentElement;
|
|
203825
|
+
const distWrapper = this._controls.itemFields[_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.DIST_Item]
|
|
203826
|
+
.parentElement;
|
|
203827
|
+
const xWrapper = this._controls.itemFields[_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.X_Item]
|
|
203828
|
+
.parentElement;
|
|
203829
|
+
const yWrapper = this._controls.itemFields[_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.Y_Item]
|
|
203830
|
+
.parentElement;
|
|
203831
|
+
const zWrapper = this._controls.itemFields[_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.Z_Item]
|
|
203832
|
+
.parentElement;
|
|
203833
|
+
angleWrapper.style.display = !isPolar ? "none" : "flex";
|
|
203834
|
+
distWrapper.style.display = !isPolar ? "none" : "flex";
|
|
203835
|
+
xWrapper.style.display = isPolar ? "none" : "flex";
|
|
203836
|
+
yWrapper.style.display = isPolar ? "none" : "flex";
|
|
203744
203837
|
if (undefined === is3d)
|
|
203745
203838
|
return;
|
|
203746
|
-
|
|
203747
|
-
this._controls.itemLocks[_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.Z_Item].hidden = !is3d;
|
|
203839
|
+
zWrapper.style.display = !is3d ? "none" : "flex";
|
|
203748
203840
|
}
|
|
203749
203841
|
updateControls(ev) {
|
|
203750
203842
|
const vp = ev.viewport;
|
|
@@ -203756,43 +203848,28 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
203756
203848
|
if (undefined === this._controls) {
|
|
203757
203849
|
const overlay = vp.addNewDiv("accudraw-overlay", true, 35);
|
|
203758
203850
|
const div = this.createControlDiv();
|
|
203759
|
-
const is3dLayout = this.is3dCompass(vp);
|
|
203760
|
-
const isHorizontalLayout = props.horizontalArrangement;
|
|
203761
203851
|
overlay.appendChild(div);
|
|
203762
203852
|
const createFieldAndLock = (item) => {
|
|
203763
|
-
const
|
|
203764
|
-
|
|
203765
|
-
|
|
203766
|
-
|
|
203767
|
-
|
|
203768
|
-
|
|
203769
|
-
|
|
203770
|
-
|
|
203771
|
-
|
|
203772
|
-
itemLock
|
|
203773
|
-
itemLock
|
|
203774
|
-
|
|
203775
|
-
div.appendChild(itemLock);
|
|
203776
|
-
lockWidth = itemLock.offsetWidth;
|
|
203777
|
-
if (is3dLayout || _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.Z_Item !== item)
|
|
203778
|
-
columnOffset += (itemWidth + lockWidth) * props.columnSpacingFactor;
|
|
203853
|
+
const fieldWrapper = document.createElement("div");
|
|
203854
|
+
fieldWrapper.style.display = "flex";
|
|
203855
|
+
fieldWrapper.style.flexDirection = "row";
|
|
203856
|
+
fieldWrapper.style.alignItems = "center";
|
|
203857
|
+
fieldWrapper.style.justifyContent = "center";
|
|
203858
|
+
fieldWrapper.style.columnGap = AccuDrawViewportUI.controlProps.spacing.gap;
|
|
203859
|
+
fieldWrapper.style.rowGap = AccuDrawViewportUI.controlProps.spacing.gap;
|
|
203860
|
+
const itemField = (itemFields[item] = this.createItemField(item));
|
|
203861
|
+
fieldWrapper.appendChild(itemField);
|
|
203862
|
+
const itemLock = (itemLocks[item] = this.createItemFieldLock(item));
|
|
203863
|
+
fieldWrapper.appendChild(itemLock);
|
|
203864
|
+
div.appendChild(fieldWrapper);
|
|
203779
203865
|
};
|
|
203780
|
-
let rowOffset = 0;
|
|
203781
|
-
let columnOffset = 0;
|
|
203782
|
-
let itemWidth = 0;
|
|
203783
|
-
let itemHeight = 0;
|
|
203784
|
-
let lockWidth = 0;
|
|
203785
203866
|
const itemFields = [];
|
|
203786
203867
|
const itemLocks = [];
|
|
203787
203868
|
createFieldAndLock(_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.DIST_Item);
|
|
203788
203869
|
createFieldAndLock(_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.ANGLE_Item);
|
|
203789
|
-
rowOffset = 0;
|
|
203790
|
-
columnOffset = 0;
|
|
203791
203870
|
createFieldAndLock(_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.X_Item);
|
|
203792
203871
|
createFieldAndLock(_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.Y_Item);
|
|
203793
203872
|
createFieldAndLock(_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.ItemField.Z_Item); // Both polar and rectangular modes support Z in 3d views...
|
|
203794
|
-
div.style.width = isHorizontalLayout ? `${columnOffset}px` : `${itemWidth + lockWidth + 5}px`;
|
|
203795
|
-
div.style.height = isHorizontalLayout ? `${itemHeight * props.rowSpacingFactor}px` : `${rowOffset}px`;
|
|
203796
203873
|
this._controls = { overlay, div, itemFields, itemLocks };
|
|
203797
203874
|
this.updateControlVisibility(_AccuDraw__WEBPACK_IMPORTED_MODULE_1__.CompassMode.Polar === this.compassMode, this.is3dCompass(vp));
|
|
203798
203875
|
this.setFocusItem(this._focusItem);
|
|
@@ -203803,7 +203880,7 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
203803
203880
|
const position = vp.worldToView(ev.point);
|
|
203804
203881
|
if (props.fixedLocation) {
|
|
203805
203882
|
position.x = (viewRect.left + ((viewRect.width - this._controls.div.offsetWidth) * 0.5));
|
|
203806
|
-
position.y = (viewRect.bottom - this._controls.div.offsetHeight);
|
|
203883
|
+
position.y = (viewRect.bottom - this._controls.div.offsetHeight * 1.2);
|
|
203807
203884
|
}
|
|
203808
203885
|
else {
|
|
203809
203886
|
position.x += Math.floor(vp.pixelsFromInches(props.cursorOffset.x)) + 0.5;
|
|
@@ -203870,7 +203947,15 @@ class AccuDrawViewportUI extends _AccuDraw__WEBPACK_IMPORTED_MODULE_1__.AccuDraw
|
|
|
203870
203947
|
return;
|
|
203871
203948
|
// NOTE: Using "setSelectionRange" while value is changing in dynamics isn't pretty, use background+caret color instead...
|
|
203872
203949
|
const itemField = this._controls.itemFields[item];
|
|
203873
|
-
itemField.style.backgroundColor =
|
|
203950
|
+
itemField.style.backgroundColor = focusIn
|
|
203951
|
+
? AccuDrawViewportUI.controlProps.input.focused.backgroundColor
|
|
203952
|
+
: AccuDrawViewportUI.controlProps.input.unfocused.backgroundColor;
|
|
203953
|
+
itemField.style.border = focusIn
|
|
203954
|
+
? `${AccuDrawViewportUI.controlProps.field.border.width} ${AccuDrawViewportUI.controlProps.field.border.style} ${AccuDrawViewportUI.controlProps.input.focused.border.color}`
|
|
203955
|
+
: `${AccuDrawViewportUI.controlProps.field.border.width} ${AccuDrawViewportUI.controlProps.field.border.style} ${AccuDrawViewportUI.controlProps.input.unfocused.border.color}`;
|
|
203956
|
+
itemField.style.boxShadow = focusIn
|
|
203957
|
+
? AccuDrawViewportUI.controlProps.input.focused.innerStroke
|
|
203958
|
+
: "none";
|
|
203874
203959
|
this.updateItemFieldKeyinStatus(itemField, item);
|
|
203875
203960
|
if (!focusIn)
|
|
203876
203961
|
this.setDynamicKeyinStatus(item);
|
|
@@ -338344,7 +338429,7 @@ class TestContext {
|
|
|
338344
338429
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
338345
338430
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
338346
338431
|
await core_frontend_1.NoRenderApp.startup({
|
|
338347
|
-
applicationVersion: "5.3.0-dev.
|
|
338432
|
+
applicationVersion: "5.3.0-dev.12",
|
|
338348
338433
|
applicationId: this.settings.gprid,
|
|
338349
338434
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.serviceAuthToken),
|
|
338350
338435
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -363611,7 +363696,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
363611
363696
|
/***/ ((module) => {
|
|
363612
363697
|
|
|
363613
363698
|
"use strict";
|
|
363614
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.3.0-dev.
|
|
363699
|
+
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"}}');
|
|
363615
363700
|
|
|
363616
363701
|
/***/ }),
|
|
363617
363702
|
|