@babylonjs/gui-editor 6.15.0 → 6.16.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.
@@ -38319,6 +38319,9 @@ class HexColor extends react__WEBPACK_IMPORTED_MODULE_1__.Component {
|
|
38319
38319
|
if (this.props.expectedLength === 8 && valueString.length === 6) {
|
38320
38320
|
valueString = valueString + "FF";
|
38321
38321
|
}
|
38322
|
+
else if (this.props.expectedLength === 6 && valueString.length === 8) {
|
38323
|
+
valueString = valueString.substring(0, 6);
|
38324
|
+
}
|
38322
38325
|
else {
|
38323
38326
|
return;
|
38324
38327
|
}
|
@@ -38987,22 +38990,22 @@ class FloatLineComponent extends react__WEBPACK_IMPORTED_MODULE_1__.Component {
|
|
38987
38990
|
super(props);
|
38988
38991
|
this._localChange = false;
|
38989
38992
|
const currentValue = this.props.target[this.props.propertyName];
|
38990
|
-
this.state = { value: this.getValueString(currentValue), dragging: false };
|
38993
|
+
this.state = { value: this.getValueString(currentValue, this.props), dragging: false };
|
38991
38994
|
this._store = currentValue;
|
38992
38995
|
}
|
38993
38996
|
componentWillUnmount() {
|
38994
38997
|
this.unlock();
|
38995
38998
|
}
|
38996
|
-
getValueString(value) {
|
38999
|
+
getValueString(value, props) {
|
38997
39000
|
if (value) {
|
38998
39001
|
if (value === _targetsProxy__WEBPACK_IMPORTED_MODULE_4__.conflictingValuesPlaceholder) {
|
38999
39002
|
return _targetsProxy__WEBPACK_IMPORTED_MODULE_4__.conflictingValuesPlaceholder;
|
39000
39003
|
}
|
39001
|
-
else if (
|
39004
|
+
else if (props.isInteger) {
|
39002
39005
|
return value.toFixed(0);
|
39003
39006
|
}
|
39004
39007
|
else {
|
39005
|
-
return value.toFixed(
|
39008
|
+
return value.toFixed(props.digits || 4);
|
39006
39009
|
}
|
39007
39010
|
}
|
39008
39011
|
return "0";
|
@@ -39013,12 +39016,12 @@ class FloatLineComponent extends react__WEBPACK_IMPORTED_MODULE_1__.Component {
|
|
39013
39016
|
return true;
|
39014
39017
|
}
|
39015
39018
|
const newValue = nextProps.target[nextProps.propertyName];
|
39016
|
-
const newValueString = this.getValueString(newValue);
|
39019
|
+
const newValueString = this.getValueString(newValue, nextProps);
|
39017
39020
|
if (newValueString !== nextState.value) {
|
39018
39021
|
nextState.value = newValueString;
|
39019
39022
|
return true;
|
39020
39023
|
}
|
39021
|
-
if (nextState.dragging != this.state.dragging || nextProps.unit !== this.props.unit) {
|
39024
|
+
if (nextState.dragging != this.state.dragging || nextProps.unit !== this.props.unit || nextProps.isInteger !== this.props.isInteger) {
|
39022
39025
|
return true;
|
39023
39026
|
}
|
39024
39027
|
return false;
|
@@ -50898,7 +50901,7 @@ var p = config.measurePerformance && PERFORMANCE && PERFORMANCE.mark && PERFORMA
|
|
50898
50901
|
mark: noop$1,
|
50899
50902
|
measure: noop$1
|
50900
50903
|
};
|
50901
|
-
var preamble = "FA \"6.4.
|
50904
|
+
var preamble = "FA \"6.4.2\"";
|
50902
50905
|
|
50903
50906
|
var begin = function begin(name) {
|
50904
50907
|
p.mark("".concat(preamble, " ").concat(name, " begins"));
|
@@ -51775,7 +51778,7 @@ function replaceForPosition(node, position) {
|
|
51775
51778
|
watchable: true
|
51776
51779
|
}));
|
51777
51780
|
|
51778
|
-
var element = DOCUMENT.
|
51781
|
+
var element = DOCUMENT.createElementNS('http://www.w3.org/2000/svg', 'svg');
|
51779
51782
|
|
51780
51783
|
if (position === '::before') {
|
51781
51784
|
node.insertBefore(element, node.firstChild);
|
@@ -54458,7 +54461,7 @@ var faFingerprint = {
|
|
54458
54461
|
var faHandPointRight = {
|
54459
54462
|
prefix: 'fas',
|
54460
54463
|
iconName: 'hand-point-right',
|
54461
|
-
icon: [512, 512, [], "f0a4", "M480 96c17.7 0 32 14.3 32 32s-14.3 32-32 32l-208 0 0-64 208 0zM320 288c17.7 0 32 14.3 32 32s-14.3 32-32
|
54464
|
+
icon: [512, 512, [], "f0a4", "M480 96c17.7 0 32 14.3 32 32s-14.3 32-32 32l-208 0 0-64 208 0zM320 288c17.7 0 32 14.3 32 32s-14.3 32-32 32l-64 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l64 0zm64-64c0 17.7-14.3 32-32 32l-48 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l48 0c17.7 0 32 14.3 32 32zM288 384c17.7 0 32 14.3 32 32s-14.3 32-32 32l-64 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l64 0zm-88-96l.6 0c-5.4 9.4-8.6 20.3-8.6 32c0 13.2 4 25.4 10.8 35.6C177.9 364.3 160 388.1 160 416c0 11.7 3.1 22.6 8.6 32l-8.6 0C71.6 448 0 376.4 0 288l0-61.7c0-42.4 16.9-83.1 46.9-113.1l11.6-11.6C82.5 77.5 115.1 64 149 64l27 0c35.3 0 64 28.7 64 64l0 88c0 22.1-17.9 40-40 40s-40-17.9-40-40l0-56c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 56c0 39.8 32.2 72 72 72z"]
|
54462
54465
|
};
|
54463
54466
|
var faMagnifyingGlassLocation = {
|
54464
54467
|
prefix: 'fas',
|
@@ -54674,7 +54677,7 @@ var faComments = {
|
|
54674
54677
|
var faPaste = {
|
54675
54678
|
prefix: 'fas',
|
54676
54679
|
iconName: 'paste',
|
54677
|
-
icon: [512, 512, ["file-clipboard"], "f0ea", "M160 0c-23.7 0-44.4 12.9-55.4 32H48C21.5 32 0 53.5 0 80V400c0 26.5 21.5 48 48 48H192V176c0-44.2 35.8-80 80-80h48V80c0-26.5-21.5-48-48-48H215.4C204.4 12.9 183.7 0 160 0zM272 128c-26.5 0-48 21.5-48 48V448v16c0 26.5 21.5 48 48 48H464c26.5 0 48-21.5 48-
|
54680
|
+
icon: [512, 512, ["file-clipboard"], "f0ea", "M160 0c-23.7 0-44.4 12.9-55.4 32H48C21.5 32 0 53.5 0 80V400c0 26.5 21.5 48 48 48H192V176c0-44.2 35.8-80 80-80h48V80c0-26.5-21.5-48-48-48H215.4C204.4 12.9 183.7 0 160 0zM272 128c-26.5 0-48 21.5-48 48V448v16c0 26.5 21.5 48 48 48H464c26.5 0 48-21.5 48-48V256H416c-17.7 0-32-14.3-32-32V128H320 272zM160 40a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm256 88v96h96l-96-96z"]
|
54678
54681
|
};
|
54679
54682
|
var faFileClipboard = faPaste;
|
54680
54683
|
var faCodePullRequest = {
|
@@ -55417,7 +55420,7 @@ var faChevronUp = {
|
|
55417
55420
|
var faHandSpock = {
|
55418
55421
|
prefix: 'fas',
|
55419
55422
|
iconName: 'hand-spock',
|
55420
|
-
icon: [576, 512, [128406], "f259", "M246.9 23.7C242.3 6.6 224.8-3.5 207.7 1.1s-27.2 22.1-22.6 39.2L238 237.8c2.5 9.2-4.5 18.2-14 18.2c-6.4 0-12-4.2-13.9-10.3L166.6 102.7c-5.1-16.9-23-26.4-39.9-21.3s-26.4 23-21.3 39.9l62.8 206.4c2.4 7.9-7.2 13.8-13.2 8.1L99.6 283c-16-15.2-41.3-14.6-56.6 1.4s-14.6 41.3 1.4 56.6L156.8 448c43.1 41.1 100.4 64 160 64h10.9 8.2c.1 0 .1-.1 .1-.
|
55423
|
+
icon: [576, 512, [128406], "f259", "M246.9 23.7C242.3 6.6 224.8-3.5 207.7 1.1s-27.2 22.1-22.6 39.2L238 237.8c2.5 9.2-4.5 18.2-14 18.2c-6.4 0-12-4.2-13.9-10.3L166.6 102.7c-5.1-16.9-23-26.4-39.9-21.3s-26.4 23-21.3 39.9l62.8 206.4c2.4 7.9-7.2 13.8-13.2 8.1L99.6 283c-16-15.2-41.3-14.6-56.6 1.4s-14.6 41.3 1.4 56.6L156.8 448c43.1 41.1 100.4 64 160 64h10.9 8.2c.1 0 .1-.1 .1-.1v0c0-.1 .1-.1 .1-.1c58.3-3.5 108.6-43.2 125.3-99.7l81.2-275c5-16.9-4.7-34.7-21.6-39.8s-34.7 4.7-39.8 21.6L443.5 247.1c-1.6 5.3-6.4 8.9-12 8.9c-7.9 0-13.8-7.3-12.2-15.1l36-170.3c3.7-17.3-7.4-34.3-24.7-37.9s-34.3 7.4-37.9 24.7L355.1 235.1c-2.6 12.2-13.3 20.9-25.8 20.9c-11.9 0-22.4-8-25.4-19.5l-57-212.8z"]
|
55421
55424
|
};
|
55422
55425
|
var faStopwatch = {
|
55423
55426
|
prefix: 'fas',
|
@@ -57068,7 +57071,7 @@ var faEnvelopeOpen = {
|
|
57068
57071
|
var faHandshakeSimpleSlash = {
|
57069
57072
|
prefix: 'fas',
|
57070
57073
|
iconName: 'handshake-simple-slash',
|
57071
|
-
icon: [640, 512, ["handshake-alt-slash"], "e05f", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7l-135-105.8c-1.1-11.3-6.3-22.3-15.3-30.7l-134.2-123-23.4 18.2-26-20.3 77.2-60.1c7-5.4 17-4.2 22.5 2.8s4.2 17-2.8 22.5l-20.9 16.2L550.2 352H592c26.5 0 48-21.5 48-48V176c0-26.5-21.5-48-48-48H516h-4-.7l-3.9-2.5L434.8 79c-15.3-9.8-33.2-15-51.4-15c-21.8 0-43 7.5-60 21.2l-89.7 72.6-25.8-20.3 81.8-66.2c-11.6-4.9-24.1-7.4-36.8-7.4C234 64 215.7 69.6 200 80l-35.5 23.7L38.8 5.
|
57074
|
+
icon: [640, 512, ["handshake-alt-slash"], "e05f", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7l-135-105.8c-1.1-11.3-6.3-22.3-15.3-30.7l-134.2-123-23.4 18.2-26-20.3 77.2-60.1c7-5.4 17-4.2 22.5 2.8s4.2 17-2.8 22.5l-20.9 16.2L550.2 352H592c26.5 0 48-21.5 48-48V176c0-26.5-21.5-48-48-48H516h-4-.7l-3.9-2.5L434.8 79c-15.3-9.8-33.2-15-51.4-15c-21.8 0-43 7.5-60 21.2l-89.7 72.6-25.8-20.3 81.8-66.2c-11.6-4.9-24.1-7.4-36.8-7.4C234 64 215.7 69.6 200 80l-35.5 23.7L38.8 5.1zM413.6 421.9L41.2 128.5C17.9 131.8 0 151.8 0 176V304c0 26.5 21.5 48 48 48H156.2l91.4 83.4c19.6 17.9 49.9 16.5 67.8-3.1c5.5-6.1 9.2-13.2 11.1-20.6l17 15.6c19.5 17.9 49.9 16.6 67.8-2.9c.8-.8 1.5-1.7 2.2-2.6z"]
|
57072
57075
|
};
|
57073
57076
|
var faHandshakeAltSlash = faHandshakeSimpleSlash;
|
57074
57077
|
var faMattressPillow = {
|
@@ -57342,7 +57345,7 @@ var faHouseChimneyUser = {
|
|
57342
57345
|
var faHandHoldingHeart = {
|
57343
57346
|
prefix: 'fas',
|
57344
57347
|
iconName: 'hand-holding-heart',
|
57345
|
-
icon: [576, 512, [], "f4be", "
|
57348
|
+
icon: [576, 512, [], "f4be", "M163.9 136.9c-29.4-29.8-29.4-78.2 0-108s77-29.8 106.4 0l17.7 18 17.7-18c29.4-29.8 77-29.8 106.4 0s29.4 78.2 0 108L310.5 240.1c-6.2 6.3-14.3 9.4-22.5 9.4s-16.3-3.1-22.5-9.4L163.9 136.9zM568.2 336.3c13.1 17.8 9.3 42.8-8.5 55.9L433.1 485.5c-23.4 17.2-51.6 26.5-80.7 26.5H192 32c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32H68.8l44.9-36c22.7-18.2 50.9-28 80-28H272h16 64c17.7 0 32 14.3 32 32s-14.3 32-32 32H288 272c-8.8 0-16 7.2-16 16s7.2 16 16 16H392.6l119.7-88.2c17.8-13.1 42.8-9.3 55.9 8.5zM193.6 384l0 0-.9 0c.3 0 .6 0 .9 0z"]
|
57346
57349
|
};
|
57347
57350
|
var faPuzzlePiece = {
|
57348
57351
|
prefix: 'fas',
|
@@ -57845,7 +57848,7 @@ var faPlaneDeparture = {
|
|
57845
57848
|
var faHandshakeSlash = {
|
57846
57849
|
prefix: 'fas',
|
57847
57850
|
iconName: 'handshake-slash',
|
57848
|
-
icon: [640, 512, [], "e060", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7l-135-105.8c-1.1-11.3-6.3-22.3-15.3-30.7l-134.2-123-23.4 18.2-26-20.3 77.2-60.1c7-5.4 17-4.2 22.5 2.8s4.2 17-2.8 22.5l-20.9 16.2L512 316.8V128h-.7l-3.9-2.5L434.8 79c-15.3-9.8-33.2-15-51.4-15c-21.8 0-43 7.5-60 21.2l-89.7 72.6-25.8-20.3 81.8-66.2c-11.6-4.9-24.1-7.4-36.8-7.4C234 64 215.7 69.6 200 80l-35.5 23.7L38.8 5.
|
57851
|
+
icon: [640, 512, [], "e060", "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7l-135-105.8c-1.1-11.3-6.3-22.3-15.3-30.7l-134.2-123-23.4 18.2-26-20.3 77.2-60.1c7-5.4 17-4.2 22.5 2.8s4.2 17-2.8 22.5l-20.9 16.2L512 316.8V128h-.7l-3.9-2.5L434.8 79c-15.3-9.8-33.2-15-51.4-15c-21.8 0-43 7.5-60 21.2l-89.7 72.6-25.8-20.3 81.8-66.2c-11.6-4.9-24.1-7.4-36.8-7.4C234 64 215.7 69.6 200 80l-35.5 23.7L38.8 5.1zM413.6 421.9L128 196.8V352h28.2l91.4 83.4c19.6 17.9 49.9 16.5 67.8-3.1c5.5-6.1 9.2-13.2 11.1-20.6l17 15.6c19.5 17.9 49.9 16.6 67.8-2.9c.8-.8 1.5-1.7 2.2-2.6zM96 171.6L40.6 128H16c-8.8 0-16 7.2-16 16V352c0 17.7 14.3 32 32 32H64c17.7 0 32-14.3 32-32V171.6zM48 320a16 16 0 1 1 0 32 16 16 0 1 1 0-32zM544 128V352c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32V144c0-8.8-7.2-16-16-16H544zm32 208a16 16 0 1 1 32 0 16 16 0 1 1 -32 0z"]
|
57849
57852
|
};
|
57850
57853
|
var faBookBookmark = {
|
57851
57854
|
prefix: 'fas',
|
@@ -58150,7 +58153,7 @@ var faGrinSquint = faFaceGrinSquint;
|
|
58150
58153
|
var faHandHoldingDollar = {
|
58151
58154
|
prefix: 'fas',
|
58152
58155
|
iconName: 'hand-holding-dollar',
|
58153
|
-
icon: [576, 512, ["hand-holding-usd"], "f4c0", "M312 24V34.5c6.4 1.2 12.6 2.7 18.2 4.2c12.8 3.4 20.4 16.6 17 29.4s-16.6 20.4-29.4 17c-10.9-2.9-21.1-4.9-30.2-5c-7.3-.1-14.7 1.7-19.4 4.4c-2.1 1.3-3.1 2.4-3.5 3c-.3 .5-.7 1.2-.7 2.8c0 .3 0 .5 0 .6c.2 .2 .9 1.2 3.3 2.6c5.8 3.5 14.4 6.2 27.4 10.1l.9 .
|
58156
|
+
icon: [576, 512, ["hand-holding-usd"], "f4c0", "M312 24V34.5c6.4 1.2 12.6 2.7 18.2 4.2c12.8 3.4 20.4 16.6 17 29.4s-16.6 20.4-29.4 17c-10.9-2.9-21.1-4.9-30.2-5c-7.3-.1-14.7 1.7-19.4 4.4c-2.1 1.3-3.1 2.4-3.5 3c-.3 .5-.7 1.2-.7 2.8c0 .3 0 .5 0 .6c.2 .2 .9 1.2 3.3 2.6c5.8 3.5 14.4 6.2 27.4 10.1l.9 .3c11.1 3.3 25.9 7.8 37.9 15.3c13.7 8.6 26.1 22.9 26.4 44.9c.3 22.5-11.4 38.9-26.7 48.5c-6.7 4.1-13.9 7-21.3 8.8V232c0 13.3-10.7 24-24 24s-24-10.7-24-24V220.6c-9.5-2.3-18.2-5.3-25.6-7.8c-2.1-.7-4.1-1.4-6-2c-12.6-4.2-19.4-17.8-15.2-30.4s17.8-19.4 30.4-15.2c2.6 .9 5 1.7 7.3 2.5c13.6 4.6 23.4 7.9 33.9 8.3c8 .3 15.1-1.6 19.2-4.1c1.9-1.2 2.8-2.2 3.2-2.9c.4-.6 .9-1.8 .8-4.1l0-.2c0-1 0-2.1-4-4.6c-5.7-3.6-14.3-6.4-27.1-10.3l-1.9-.6c-10.8-3.2-25-7.5-36.4-14.4c-13.5-8.1-26.5-22-26.6-44.1c-.1-22.9 12.9-38.6 27.7-47.4c6.4-3.8 13.3-6.4 20.2-8.2V24c0-13.3 10.7-24 24-24s24 10.7 24 24zM568.2 336.3c13.1 17.8 9.3 42.8-8.5 55.9L433.1 485.5c-23.4 17.2-51.6 26.5-80.7 26.5H192 32c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32H68.8l44.9-36c22.7-18.2 50.9-28 80-28H272h16 64c17.7 0 32 14.3 32 32s-14.3 32-32 32H288 272c-8.8 0-16 7.2-16 16s7.2 16 16 16H392.6l119.7-88.2c17.8-13.1 42.8-9.3 55.9 8.5zM193.6 384l0 0-.9 0c.3 0 .6 0 .9 0z"]
|
58154
58157
|
};
|
58155
58158
|
var faHandHoldingUsd = faHandHoldingDollar;
|
58156
58159
|
var faBacterium = {
|
@@ -60232,7 +60235,7 @@ var faProjectDiagram = faDiagramProject;
|
|
60232
60235
|
var faCopy = {
|
60233
60236
|
prefix: 'fas',
|
60234
60237
|
iconName: 'copy',
|
60235
|
-
icon: [
|
60238
|
+
icon: [448, 512, [], "f0c5", "M208 0H332.1c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9V336c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V48c0-26.5 21.5-48 48-48zM48 128h80v64H64V448H256V416h64v48c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48z"]
|
60236
60239
|
};
|
60237
60240
|
var faVolumeXmark = {
|
60238
60241
|
prefix: 'fas',
|
@@ -61682,7 +61685,7 @@ var faKipSign = {
|
|
61682
61685
|
var faHandPointLeft = {
|
61683
61686
|
prefix: 'fas',
|
61684
61687
|
iconName: 'hand-point-left',
|
61685
|
-
icon: [512, 512, [], "f0a5", "M32 96C14.3 96 0 110.3 0 128s14.3 32 32 32l208
|
61688
|
+
icon: [512, 512, [], "f0a5", "M32 96C14.3 96 0 110.3 0 128s14.3 32 32 32l208 0 0-64L32 96zM192 288c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0zm-64-64c0 17.7 14.3 32 32 32l48 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-48 0c-17.7 0-32 14.3-32 32zm96 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0zm88-96l-.6 0c5.4 9.4 8.6 20.3 8.6 32c0 13.2-4 25.4-10.8 35.6c24.9 8.7 42.8 32.5 42.8 60.4c0 11.7-3.1 22.6-8.6 32l8.6 0c88.4 0 160-71.6 160-160l0-61.7c0-42.4-16.9-83.1-46.9-113.1l-11.6-11.6C429.5 77.5 396.9 64 363 64l-27 0c-35.3 0-64 28.7-64 64l0 88c0 22.1 17.9 40 40 40s40-17.9 40-40l0-56c0-8.8 7.2-16 16-16s16 7.2 16 16l0 56c0 39.8-32.2 72-72 72z"]
|
61686
61689
|
};
|
61687
61690
|
var faHandshakeSimple = {
|
61688
61691
|
prefix: 'fas',
|