@xeokit/xeokit-sdk 2.4.0-alpha-43 → 2.4.0-alpha-44
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/xeokit-sdk.cjs.js
CHANGED
|
@@ -103282,7 +103282,7 @@ class PropertySet {
|
|
|
103282
103282
|
/**
|
|
103283
103283
|
* @private
|
|
103284
103284
|
*/
|
|
103285
|
-
constructor(
|
|
103285
|
+
constructor(params) {
|
|
103286
103286
|
|
|
103287
103287
|
/**
|
|
103288
103288
|
* Globally-unique ID for this PropertySet.
|
|
@@ -103292,7 +103292,7 @@ class PropertySet {
|
|
|
103292
103292
|
* @property id
|
|
103293
103293
|
* @type {String}
|
|
103294
103294
|
*/
|
|
103295
|
-
this.id = id;
|
|
103295
|
+
this.id = params.id;
|
|
103296
103296
|
|
|
103297
103297
|
/**
|
|
103298
103298
|
* ID of the corresponding object within the originating system, if any.
|
|
@@ -103300,7 +103300,7 @@ class PropertySet {
|
|
|
103300
103300
|
* @type {String}
|
|
103301
103301
|
* @abstract
|
|
103302
103302
|
*/
|
|
103303
|
-
this.originalSystemId = originalSystemId;
|
|
103303
|
+
this.originalSystemId = params.originalSystemId;
|
|
103304
103304
|
|
|
103305
103305
|
/**
|
|
103306
103306
|
* The MetaModels that share this PropertySet.
|
|
@@ -103314,7 +103314,7 @@ class PropertySet {
|
|
|
103314
103314
|
* @property name
|
|
103315
103315
|
* @type {String}
|
|
103316
103316
|
*/
|
|
103317
|
-
this.name = name;
|
|
103317
|
+
this.name = params.name;
|
|
103318
103318
|
|
|
103319
103319
|
/**
|
|
103320
103320
|
* Type of this PropertySet.
|
|
@@ -103322,7 +103322,7 @@ class PropertySet {
|
|
|
103322
103322
|
* @property type
|
|
103323
103323
|
* @type {String}
|
|
103324
103324
|
*/
|
|
103325
|
-
this.type = type;
|
|
103325
|
+
this.type = params.type;
|
|
103326
103326
|
|
|
103327
103327
|
/**
|
|
103328
103328
|
* Properties within this PropertySet.
|
|
@@ -103332,7 +103332,8 @@ class PropertySet {
|
|
|
103332
103332
|
*/
|
|
103333
103333
|
this.properties = [];
|
|
103334
103334
|
|
|
103335
|
-
if (properties) {
|
|
103335
|
+
if (params.properties) {
|
|
103336
|
+
const properties = params.properties;
|
|
103336
103337
|
for (let i = 0, len = properties.length; i < len; i++) {
|
|
103337
103338
|
const property = properties[i];
|
|
103338
103339
|
this.properties.push(new Property(property.name, property.value, property.type, property.valueType, property.description));
|
package/dist/xeokit-sdk.es.js
CHANGED
|
@@ -103278,7 +103278,7 @@ class PropertySet {
|
|
|
103278
103278
|
/**
|
|
103279
103279
|
* @private
|
|
103280
103280
|
*/
|
|
103281
|
-
constructor(
|
|
103281
|
+
constructor(params) {
|
|
103282
103282
|
|
|
103283
103283
|
/**
|
|
103284
103284
|
* Globally-unique ID for this PropertySet.
|
|
@@ -103288,7 +103288,7 @@ class PropertySet {
|
|
|
103288
103288
|
* @property id
|
|
103289
103289
|
* @type {String}
|
|
103290
103290
|
*/
|
|
103291
|
-
this.id = id;
|
|
103291
|
+
this.id = params.id;
|
|
103292
103292
|
|
|
103293
103293
|
/**
|
|
103294
103294
|
* ID of the corresponding object within the originating system, if any.
|
|
@@ -103296,7 +103296,7 @@ class PropertySet {
|
|
|
103296
103296
|
* @type {String}
|
|
103297
103297
|
* @abstract
|
|
103298
103298
|
*/
|
|
103299
|
-
this.originalSystemId = originalSystemId;
|
|
103299
|
+
this.originalSystemId = params.originalSystemId;
|
|
103300
103300
|
|
|
103301
103301
|
/**
|
|
103302
103302
|
* The MetaModels that share this PropertySet.
|
|
@@ -103310,7 +103310,7 @@ class PropertySet {
|
|
|
103310
103310
|
* @property name
|
|
103311
103311
|
* @type {String}
|
|
103312
103312
|
*/
|
|
103313
|
-
this.name = name;
|
|
103313
|
+
this.name = params.name;
|
|
103314
103314
|
|
|
103315
103315
|
/**
|
|
103316
103316
|
* Type of this PropertySet.
|
|
@@ -103318,7 +103318,7 @@ class PropertySet {
|
|
|
103318
103318
|
* @property type
|
|
103319
103319
|
* @type {String}
|
|
103320
103320
|
*/
|
|
103321
|
-
this.type = type;
|
|
103321
|
+
this.type = params.type;
|
|
103322
103322
|
|
|
103323
103323
|
/**
|
|
103324
103324
|
* Properties within this PropertySet.
|
|
@@ -103328,7 +103328,8 @@ class PropertySet {
|
|
|
103328
103328
|
*/
|
|
103329
103329
|
this.properties = [];
|
|
103330
103330
|
|
|
103331
|
-
if (properties) {
|
|
103331
|
+
if (params.properties) {
|
|
103332
|
+
const properties = params.properties;
|
|
103332
103333
|
for (let i = 0, len = properties.length; i < len; i++) {
|
|
103333
103334
|
const property = properties[i];
|
|
103334
103335
|
this.properties.push(new Property(property.name, property.value, property.type, property.valueType, property.description));
|
package/dist/xeokit-sdk.es5.js
CHANGED
|
@@ -23345,19 +23345,19 @@ value=value||"qwerty";if(value!=="qwerty"&&value!=="azerty"){this.error("Unsuppo
|
|
|
23345
23345
|
* @class PropertySet
|
|
23346
23346
|
*/var PropertySet=/*#__PURE__*/_createClass(/**
|
|
23347
23347
|
* @private
|
|
23348
|
-
*/function PropertySet(
|
|
23348
|
+
*/function PropertySet(params){_classCallCheck(this,PropertySet);/**
|
|
23349
23349
|
* Globally-unique ID for this PropertySet.
|
|
23350
23350
|
*
|
|
23351
23351
|
* PropertySet instances are registered by this ID in {@link MetaScene#propertySets} and {@link MetaModel#propertySets}.
|
|
23352
23352
|
*
|
|
23353
23353
|
* @property id
|
|
23354
23354
|
* @type {String}
|
|
23355
|
-
*/this.id=id;/**
|
|
23355
|
+
*/this.id=params.id;/**
|
|
23356
23356
|
* ID of the corresponding object within the originating system, if any.
|
|
23357
23357
|
*
|
|
23358
23358
|
* @type {String}
|
|
23359
23359
|
* @abstract
|
|
23360
|
-
*/this.originalSystemId=originalSystemId;/**
|
|
23360
|
+
*/this.originalSystemId=params.originalSystemId;/**
|
|
23361
23361
|
* The MetaModels that share this PropertySet.
|
|
23362
23362
|
* @type {MetaModel[]}
|
|
23363
23363
|
*/this.metaModels=[];/**
|
|
@@ -23365,17 +23365,17 @@ value=value||"qwerty";if(value!=="qwerty"&&value!=="azerty"){this.error("Unsuppo
|
|
|
23365
23365
|
*
|
|
23366
23366
|
* @property name
|
|
23367
23367
|
* @type {String}
|
|
23368
|
-
*/this.name=name;/**
|
|
23368
|
+
*/this.name=params.name;/**
|
|
23369
23369
|
* Type of this PropertySet.
|
|
23370
23370
|
*
|
|
23371
23371
|
* @property type
|
|
23372
23372
|
* @type {String}
|
|
23373
|
-
*/this.type=type;/**
|
|
23373
|
+
*/this.type=params.type;/**
|
|
23374
23374
|
* Properties within this PropertySet.
|
|
23375
23375
|
*
|
|
23376
23376
|
* @property properties
|
|
23377
23377
|
* @type {Property[]}
|
|
23378
|
-
*/this.properties=[];if(properties){for(var _i540=0,len=properties.length;_i540<len;_i540++){var property=properties[_i540];this.properties.push(new Property(property.name,property.value,property.type,property.valueType,property.description));}}});/**
|
|
23378
|
+
*/this.properties=[];if(params.properties){var properties=params.properties;for(var _i540=0,len=properties.length;_i540<len;_i540++){var property=properties[_i540];this.properties.push(new Property(property.name,property.value,property.type,property.valueType,property.description));}}});/**
|
|
23379
23379
|
* @desc Metadata corresponding to a {@link Scene}.
|
|
23380
23380
|
*
|
|
23381
23381
|
* * Located in {@link Viewer#metaScene}.
|