@dcl/playground-assets 7.1.2-4409125554.commit-f109d0e → 7.1.2-4415683908.commit-0a210fd
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/alpha.d.ts +2 -0
- package/dist/beta.d.ts +2 -0
- package/dist/index.bundled.d.ts +2 -0
- package/dist/index.js +19 -4
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +2 -0
- package/etc/playground-assets.api.json +28 -1
- package/etc/playground-assets.api.md +4 -0
- package/package.json +3 -3
package/dist/alpha.d.ts
CHANGED
|
@@ -1885,6 +1885,7 @@ export declare type IncludeUndefined<T> = {
|
|
|
1885
1885
|
}}
|
|
1886
1886
|
uiBackground={{ color: Color4.Red() }}
|
|
1887
1887
|
uiTransform={{ width: 200, height: 36 }}
|
|
1888
|
+
value={textValue}
|
|
1888
1889
|
/>
|
|
1889
1890
|
*
|
|
1890
1891
|
* @category Component
|
|
@@ -3608,6 +3609,7 @@ export declare interface PBUiInput {
|
|
|
3608
3609
|
font?: Font | undefined;
|
|
3609
3610
|
/** default=10 */
|
|
3610
3611
|
fontSize?: number | undefined;
|
|
3612
|
+
value?: string | undefined;
|
|
3611
3613
|
}
|
|
3612
3614
|
|
|
3613
3615
|
/**
|
package/dist/beta.d.ts
CHANGED
|
@@ -1881,6 +1881,7 @@ export declare type IncludeUndefined<T> = {
|
|
|
1881
1881
|
}}
|
|
1882
1882
|
uiBackground={{ color: Color4.Red() }}
|
|
1883
1883
|
uiTransform={{ width: 200, height: 36 }}
|
|
1884
|
+
value={textValue}
|
|
1884
1885
|
/>
|
|
1885
1886
|
*
|
|
1886
1887
|
* @category Component
|
|
@@ -3604,6 +3605,7 @@ export declare interface PBUiInput {
|
|
|
3604
3605
|
font?: Font | undefined;
|
|
3605
3606
|
/** default=10 */
|
|
3606
3607
|
fontSize?: number | undefined;
|
|
3608
|
+
value?: string | undefined;
|
|
3607
3609
|
}
|
|
3608
3610
|
|
|
3609
3611
|
/**
|
package/dist/index.bundled.d.ts
CHANGED
|
@@ -1881,6 +1881,7 @@ export declare type IncludeUndefined<T> = {
|
|
|
1881
1881
|
}}
|
|
1882
1882
|
uiBackground={{ color: Color4.Red() }}
|
|
1883
1883
|
uiTransform={{ width: 200, height: 36 }}
|
|
1884
|
+
value={textValue}
|
|
1884
1885
|
/>
|
|
1885
1886
|
*
|
|
1886
1887
|
* @category Component
|
|
@@ -3604,6 +3605,7 @@ export declare interface PBUiInput {
|
|
|
3604
3605
|
font?: Font | undefined;
|
|
3605
3606
|
/** default=10 */
|
|
3606
3607
|
fontSize?: number | undefined;
|
|
3608
|
+
value?: string | undefined;
|
|
3607
3609
|
}
|
|
3608
3610
|
|
|
3609
3611
|
/**
|
package/dist/index.js
CHANGED
|
@@ -11992,6 +11992,7 @@
|
|
|
11992
11992
|
textAlign: undefined,
|
|
11993
11993
|
font: undefined,
|
|
11994
11994
|
fontSize: undefined,
|
|
11995
|
+
value: undefined,
|
|
11995
11996
|
};
|
|
11996
11997
|
}
|
|
11997
11998
|
/**
|
|
@@ -12023,6 +12024,9 @@
|
|
|
12023
12024
|
if (message.fontSize !== undefined) {
|
|
12024
12025
|
writer.uint32(96).int32(message.fontSize);
|
|
12025
12026
|
}
|
|
12027
|
+
if (message.value !== undefined) {
|
|
12028
|
+
writer.uint32(106).string(message.value);
|
|
12029
|
+
}
|
|
12026
12030
|
return writer;
|
|
12027
12031
|
},
|
|
12028
12032
|
decode(input, length) {
|
|
@@ -12053,6 +12057,9 @@
|
|
|
12053
12057
|
case 12:
|
|
12054
12058
|
message.fontSize = reader.int32();
|
|
12055
12059
|
break;
|
|
12060
|
+
case 13:
|
|
12061
|
+
message.value = reader.string();
|
|
12062
|
+
break;
|
|
12056
12063
|
default:
|
|
12057
12064
|
reader.skipType(tag & 7);
|
|
12058
12065
|
break;
|
|
@@ -14998,18 +15005,25 @@
|
|
|
14998
15005
|
if (a !== null && b === null)
|
|
14999
15006
|
return 1;
|
|
15000
15007
|
if (a instanceof Uint8Array && b instanceof Uint8Array) {
|
|
15008
|
+
const lengthDifference = a.byteLength - b.byteLength;
|
|
15009
|
+
if (lengthDifference !== 0) {
|
|
15010
|
+
return lengthDifference > 0 ? 1 : -1;
|
|
15011
|
+
}
|
|
15001
15012
|
let res;
|
|
15002
|
-
|
|
15003
|
-
for (let i = 0; i < n; i++) {
|
|
15013
|
+
for (let i = 0, n = a.byteLength; i < n; i++) {
|
|
15004
15014
|
res = a[i] - b[i];
|
|
15005
15015
|
if (res !== 0) {
|
|
15006
15016
|
return res > 0 ? 1 : -1;
|
|
15007
15017
|
}
|
|
15008
15018
|
}
|
|
15009
|
-
|
|
15010
|
-
return
|
|
15019
|
+
// the data is exactly the same
|
|
15020
|
+
return 0;
|
|
15011
15021
|
}
|
|
15012
15022
|
if (typeof a === 'string') {
|
|
15023
|
+
const lengthDifference = a.length - b.length;
|
|
15024
|
+
if (lengthDifference !== 0) {
|
|
15025
|
+
return lengthDifference > 0 ? 1 : -1;
|
|
15026
|
+
}
|
|
15013
15027
|
return a.localeCompare(b);
|
|
15014
15028
|
}
|
|
15015
15029
|
return a > b ? 1 : -1;
|
|
@@ -41879,6 +41893,7 @@
|
|
|
41879
41893
|
}}
|
|
41880
41894
|
uiBackground={{ color: Color4.Red() }}
|
|
41881
41895
|
uiTransform={{ width: 200, height: 36 }}
|
|
41896
|
+
value={textValue}
|
|
41882
41897
|
/>
|
|
41883
41898
|
*
|
|
41884
41899
|
* @category Component
|