@shapediver/viewer.shared.types 3.4.3 → 3.5.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.
Files changed (35) hide show
  1. package/dist/implementation/data/InstanceMatricesData.d.ts +20 -0
  2. package/dist/implementation/data/InstanceMatricesData.d.ts.map +1 -0
  3. package/dist/implementation/data/InstanceMatricesData.js +51 -0
  4. package/dist/implementation/data/InstanceMatricesData.js.map +1 -0
  5. package/dist/index.d.ts +7 -3
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +5 -1
  8. package/dist/index.js.map +1 -1
  9. package/dist/interfaces/data/IInstanceMatricesData.d.ts +7 -0
  10. package/dist/interfaces/data/IInstanceMatricesData.d.ts.map +1 -0
  11. package/dist/interfaces/data/IInstanceMatricesData.js +3 -0
  12. package/dist/interfaces/data/IInstanceMatricesData.js.map +1 -0
  13. package/dist/interfaces/parameter/IDraggingParameterSettings.d.ts +61 -0
  14. package/dist/interfaces/parameter/IDraggingParameterSettings.d.ts.map +1 -0
  15. package/dist/interfaces/parameter/IDraggingParameterSettings.js +4 -0
  16. package/dist/interfaces/parameter/IDraggingParameterSettings.js.map +1 -0
  17. package/dist/interfaces/parameter/IDrawingParametersSettings.d.ts +68 -9
  18. package/dist/interfaces/parameter/IDrawingParametersSettings.d.ts.map +1 -1
  19. package/dist/interfaces/parameter/IDrawingParametersSettings.js +8 -1
  20. package/dist/interfaces/parameter/IDrawingParametersSettings.js.map +1 -1
  21. package/dist/interfaces/parameter/IGumballParameterSettings.d.ts +26 -0
  22. package/dist/interfaces/parameter/IGumballParameterSettings.d.ts.map +1 -1
  23. package/dist/interfaces/parameter/IGumballParameterSettings.js.map +1 -1
  24. package/dist/interfaces/parameter/IInteractionParameterSettings.d.ts +1163 -32
  25. package/dist/interfaces/parameter/IInteractionParameterSettings.d.ts.map +1 -1
  26. package/dist/interfaces/parameter/IInteractionParameterSettings.js +55 -3
  27. package/dist/interfaces/parameter/IInteractionParameterSettings.js.map +1 -1
  28. package/dist/interfaces/parameter/IRestrictionSettings.d.ts +53 -0
  29. package/dist/interfaces/parameter/IRestrictionSettings.d.ts.map +1 -0
  30. package/dist/interfaces/parameter/IRestrictionSettings.js +5 -0
  31. package/dist/interfaces/parameter/IRestrictionSettings.js.map +1 -0
  32. package/dist/interfaces/parameter/ISelectionParameterSettings.d.ts +2 -0
  33. package/dist/interfaces/parameter/ISelectionParameterSettings.d.ts.map +1 -1
  34. package/dist/interfaces/parameter/ISelectionParameterSettings.js.map +1 -1
  35. package/package.json +5 -5
@@ -0,0 +1,20 @@
1
+ import { AbstractTreeNodeData } from '@shapediver/viewer.shared.node-tree';
2
+ import { IInstanceMatricesData } from '../../interfaces/data/IInstanceMatricesData';
3
+ import { mat4 } from 'gl-matrix';
4
+ export declare class InstanceMatricesData extends AbstractTreeNodeData implements IInstanceMatricesData {
5
+ #private;
6
+ /**
7
+ * Creates a instanceMatrices data node.
8
+ *
9
+ * @param _data the data as key- value pairs
10
+ * @param id the id
11
+ */
12
+ constructor(instanceMatrices?: mat4[], id?: string, version?: string);
13
+ get instanceMatrices(): mat4[];
14
+ set instanceMatrices(value: mat4[]);
15
+ /**
16
+ * Clones the scene graph data.
17
+ */
18
+ clone(): IInstanceMatricesData;
19
+ }
20
+ //# sourceMappingURL=InstanceMatricesData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InstanceMatricesData.d.ts","sourceRoot":"","sources":["../../../src/implementation/data/InstanceMatricesData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,qBAAa,oBAAqB,SAAQ,oBAAqB,YAAW,qBAAqB;;IAS3F;;;;;OAKG;gBAEC,gBAAgB,GAAE,IAAI,EAAO,EAC7B,EAAE,CAAC,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,MAAM;IAUpB,IAAW,gBAAgB,IAAI,IAAI,EAAE,CAEpC;IAED,IAAW,gBAAgB,CAAC,KAAK,EAAE,IAAI,EAAE,EAExC;IAMD;;OAEG;IACI,KAAK,IAAI,qBAAqB;CAKxC"}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _InstanceMatricesData_instanceMatrices;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.InstanceMatricesData = void 0;
16
+ const viewer_shared_node_tree_1 = require("@shapediver/viewer.shared.node-tree");
17
+ class InstanceMatricesData extends viewer_shared_node_tree_1.AbstractTreeNodeData {
18
+ // #endregion Properties (1)
19
+ // #region Constructors (1)
20
+ /**
21
+ * Creates a instanceMatrices data node.
22
+ *
23
+ * @param _data the data as key- value pairs
24
+ * @param id the id
25
+ */
26
+ constructor(instanceMatrices = [], id, version) {
27
+ super(id, version);
28
+ // #region Properties (1)
29
+ _InstanceMatricesData_instanceMatrices.set(this, []);
30
+ __classPrivateFieldSet(this, _InstanceMatricesData_instanceMatrices, instanceMatrices, "f");
31
+ }
32
+ // #endregion Constructors (1)
33
+ // #region Public Getters And Setters (2)
34
+ get instanceMatrices() {
35
+ return __classPrivateFieldGet(this, _InstanceMatricesData_instanceMatrices, "f");
36
+ }
37
+ set instanceMatrices(value) {
38
+ __classPrivateFieldSet(this, _InstanceMatricesData_instanceMatrices, value, "f");
39
+ }
40
+ // #endregion Public Getters And Setters (2)
41
+ // #region Public Methods (1)
42
+ /**
43
+ * Clones the scene graph data.
44
+ */
45
+ clone() {
46
+ return new InstanceMatricesData(this.instanceMatrices, this.id, this.version);
47
+ }
48
+ }
49
+ exports.InstanceMatricesData = InstanceMatricesData;
50
+ _InstanceMatricesData_instanceMatrices = new WeakMap();
51
+ //# sourceMappingURL=InstanceMatricesData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InstanceMatricesData.js","sourceRoot":"","sources":["../../../src/implementation/data/InstanceMatricesData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,iFAA2E;AAI3E,MAAa,oBAAqB,SAAQ,8CAAoB;IAK1D,4BAA4B;IAE5B,2BAA2B;IAE3B;;;;;OAKG;IACH,YACI,mBAA2B,EAAE,EAC7B,EAAW,EACX,OAAgB;QAEhB,KAAK,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;QAnBvB,yBAAyB;QAEzB,iDAA4B,EAAE,EAAC;QAkB3B,uBAAA,IAAI,0CAAqB,gBAAgB,MAAA,CAAC;IAC9C,CAAC;IAED,8BAA8B;IAE9B,yCAAyC;IAEzC,IAAW,gBAAgB;QACvB,OAAO,uBAAA,IAAI,8CAAkB,CAAC;IAClC,CAAC;IAED,IAAW,gBAAgB,CAAC,KAAa;QACrC,uBAAA,IAAI,0CAAqB,KAAK,MAAA,CAAC;IACnC,CAAC;IAED,4CAA4C;IAE5C,6BAA6B;IAE7B;;OAEG;IACI,KAAK;QACR,OAAO,IAAI,oBAAoB,CAAC,IAAI,CAAC,gBAAgB,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAClF,CAAC;CAGJ;AAhDD,oDAgDC"}
package/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@ import { AttributeData, GeometryData, PrimitiveData } from './implementation/dat
4
4
  import { BoneData } from './implementation/data/BoneData';
5
5
  import { Color, ISessionSettingsSections, ISettingsSections, IViewportSettingsSections, PARAMETER_TYPE, PARAMETER_VISUALIZATION } from './types';
6
6
  import { CustomData } from './implementation/data/CustomData';
7
+ import { DraggingParameterValue, IDraggableObject, IDraggingParameterProps } from './interfaces/parameter/IDraggingParameterSettings';
7
8
  import { DrawingParameterValue, IDrawingParameterJsonSchema, IDrawingParameterSettings, validateDrawingParameterSettings } from './interfaces/parameter/IDrawingParametersSettings';
8
9
  import { EventResponseMapping } from './interfaces/events/EventResponseMapping';
9
10
  import { GumballParameterValue, IGumballParameterProps } from './interfaces/parameter/IGumballParameterSettings';
@@ -14,7 +15,8 @@ import { IAttributeData, IGeometryData, IPrimitiveData, PRIMITIVE_MODE } from '.
14
15
  import { IBoneData } from './interfaces/data/IBoneData';
15
16
  import { ICameraEvent } from './interfaces/events/ICameraEvent';
16
17
  import { ICustomData } from './interfaces/data/ICustomData';
17
- import { IGumballParameterJsonSchema, IInteractionParameterJsonSchema, IInteractionParameterProps, IInteractionParameterSettings, InteractionParameterSettingsType, ISelectionParameterJsonSchema, validateGumballParameterSettings, validateInteractionParameterSettings, validateSelectionParameterSettings } from './interfaces/parameter/IInteractionParameterSettings';
18
+ import { IDraggingParameterJsonSchema, IGumballParameterJsonSchema, IInteractionParameterJsonSchema, IInteractionParameterProps, IInteractionParameterSettings, InteractionParameterSettingsType, ISelectionParameterJsonSchema, validateDraggingParameterSettings, validateGumballParameterSettings, validateInteractionParameterSettings, validateSelectionParameterSettings } from './interfaces/parameter/IInteractionParameterSettings';
19
+ import { IInstanceMatricesData } from './interfaces/data/IInstanceMatricesData';
18
20
  import { IMapData, IMapDataProperties, IMapDataPropertiesDefinition, TEXTURE_FILTERING, TEXTURE_WRAPPING } from './interfaces/data/material/IMapData';
19
21
  import { IMaterialAbstractData, IMaterialAbstractDataProperties, IMaterialAbstractDataPropertiesDefinition, MATERIAL_ALPHA, MATERIAL_SHADING, MATERIAL_SIDE, MATERIAL_TYPE } from './interfaces/data/material/IMaterialAbstractData';
20
22
  import { IMaterialBasicLineData, IMaterialBasicLineDataProperties, IMaterialBasicLineDataPropertiesDefinition } from './interfaces/data/material/IMaterialBasicLineData';
@@ -26,6 +28,7 @@ import { IMaterialSpecularGlossinessData, IMaterialSpecularGlossinessDataPropert
26
28
  import { IMaterialStandardData, IMaterialStandardDataProperties, IMaterialStandardDataPropertiesDefinition } from './interfaces/data/material/IMaterialStandardData';
27
29
  import { IMaterialUnlitData, IMaterialUnlitDataProperties, IMaterialUnlitDataPropertiesDefinition } from './interfaces/data/material/IMaterialUnlitData';
28
30
  import { IMaterialVariantsData } from './interfaces/data/material/IMaterialVariantsData';
31
+ import { InstanceMatricesData } from './implementation/data/InstanceMatricesData';
29
32
  import { IOutputEvent } from './interfaces/events/IOutputEvent';
30
33
  import { IParameterEvent } from './interfaces/events/IParameterEvent';
31
34
  import { IRenderingEvent } from './interfaces/events/IRenderingEvent';
@@ -47,6 +50,7 @@ import { MaterialShadowData } from './implementation/material/MaterialShadowData
47
50
  import { MaterialSpecularGlossinessData } from './implementation/material/MaterialSpecularGlossinessData';
48
51
  import { MaterialUnlitData } from './implementation/material/MaterialUnlitData';
49
52
  import { MaterialVariantsData } from './implementation/material/MaterialVariantsData';
53
+ import { RestrictionDefinition, Rotation } from './interfaces/parameter/IRestrictionSettings';
50
54
  import { SDTFAttributeData, SDTFAttributesData } from './implementation/sdtf/SDTFAttributesData';
51
55
  import { SDTFItemData } from './implementation/sdtf/SDTFItemData';
52
56
  import { SDTFOverviewData } from './implementation/sdtf/SDTFOverviewData';
@@ -56,9 +60,9 @@ import { MaterialStandardData } from './implementation/material/MaterialStandard
56
60
  export { IMaterialStandardData, MaterialStandardData, IMaterialStandardDataProperties, IMaterialStandardDataPropertiesDefinition, IMaterialAbstractData, IMaterialAbstractDataProperties, AbstractMaterialData, IMaterialAbstractDataPropertiesDefinition, IMaterialUnlitData, MaterialUnlitData, IMaterialUnlitDataProperties, IMaterialUnlitDataPropertiesDefinition, IMaterialShadowData, MaterialShadowData, IMaterialShadowDataProperties, IMaterialShadowDataPropertiesDefinition, IMaterialSpecularGlossinessData, MaterialSpecularGlossinessData, IMaterialSpecularGlossinessDataProperties, IMaterialSpecularGlossinessDataPropertiesDefinition, IMaterialGemData, MaterialGemData, IMaterialGemDataProperties, IMaterialGemDataPropertiesDefinition, IMaterialPointData, MaterialPointData, IMaterialPointDataProperties, IMaterialPointDataPropertiesDefinition, IMaterialMultiPointData, MaterialMultiPointData, IMaterialMultiPointDataProperties, IMaterialMultiPointDataPropertiesDefinition, IMaterialBasicLineData, MaterialBasicLineData, IMaterialBasicLineDataProperties, IMaterialBasicLineDataPropertiesDefinition, IMapData, IMapDataProperties, IMapDataPropertiesDefinition, MapData, MATERIAL_SIDE, MATERIAL_ALPHA, MATERIAL_SHADING, MATERIAL_TYPE, TEXTURE_WRAPPING, TEXTURE_FILTERING };
57
61
  export { IAnimationData, AnimationData, IAnimationTrack, IGeometryData, IAttributeData, IPrimitiveData, IMaterialVariantsData, GeometryData, AttributeData, PrimitiveData, MaterialVariantsData, PRIMITIVE_MODE };
58
62
  export { IAnchorDataImage, IAnchorDataText, IHTMLElementAnchorData, HTMLElementAnchorCustomData, HTMLElementAnchorTextData, HTMLElementAnchorImageData, HTMLElementAnchorData };
59
- export { ICustomData, CustomData, IBoneData, BoneData };
63
+ export { ICustomData, CustomData, IBoneData, BoneData, IInstanceMatricesData, InstanceMatricesData };
60
64
  export { EventResponseMapping, IViewportEvent, ISessionEvent, IOutputEvent, ICameraEvent, IRenderingEvent, IParameterEvent, ISceneEvent, ITaskEvent, TASK_TYPE };
61
65
  export { ISDTFOverviewData, SDTFOverviewData, ISDTFOverview, SDTFAttributesData, ISDTFAttributesData, ISDTFAttributeData, SDTFAttributeData, SDTFItemData, ISDTFItemData, ISDTFAttributeVisualizationData, SdtfTypeHintName as SDTF_TYPEHINT, SdtfPrimitiveTypeGuard };
62
66
  export { Color, PARAMETER_TYPE, PARAMETER_VISUALIZATION, ISettingsSections, ISessionSettingsSections, IViewportSettingsSections };
63
- export { InteractionParameterSettingsType, IInteractionParameterProps, IInteractionParameterSettings, IInteractionParameterJsonSchema, validateInteractionParameterSettings, ISelectionParameterProps, SelectionParameterValue, ISelectionParameterJsonSchema, validateSelectionParameterSettings, IGumballParameterProps, GumballParameterValue, IGumballParameterJsonSchema, validateGumballParameterSettings, IDrawingParameterSettings, DrawingParameterValue, IDrawingParameterJsonSchema, validateDrawingParameterSettings };
67
+ export { InteractionParameterSettingsType, IInteractionParameterProps, IInteractionParameterSettings, IInteractionParameterJsonSchema, validateInteractionParameterSettings, ISelectionParameterProps, SelectionParameterValue, ISelectionParameterJsonSchema, validateSelectionParameterSettings, IGumballParameterProps, GumballParameterValue, IGumballParameterJsonSchema, validateGumballParameterSettings, IDraggingParameterProps, DraggingParameterValue, IDraggingParameterJsonSchema, validateDraggingParameterSettings, IDrawingParameterSettings, DrawingParameterValue, IDrawingParameterJsonSchema, validateDrawingParameterSettings, IDraggableObject, RestrictionDefinition, Rotation };
64
68
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAChG,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EACL,KAAK,EACL,wBAAwB,EACxB,iBAAiB,EACjB,yBAAyB,EACzB,cAAc,EACd,uBAAuB,EACtB,MAAM,SAAS,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GED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validateDrawingParameterSettings = exports.IDrawingParameterJsonSchema = exports.validateGumballParameterSettings = exports.IGumballParameterJsonSchema = exports.validateSelectionParameterSettings = exports.ISelectionParameterJsonSchema = exports.validateInteractionParameterSettings = exports.IInteractionParameterJsonSchema = exports.PARAMETER_VISUALIZATION = exports.PARAMETER_TYPE = exports.SdtfPrimitiveTypeGuard = exports.SDTF_TYPEHINT = exports.SDTFItemData = exports.SDTFAttributeData = exports.SDTFAttributesData = exports.SDTFOverviewData = exports.TASK_TYPE = exports.BoneData = exports.CustomData = exports.HTMLElementAnchorData = exports.HTMLElementAnchorImageData = exports.HTMLElementAnchorTextData = exports.HTMLElementAnchorCustomData = exports.PRIMITIVE_MODE = exports.MaterialVariantsData = exports.PrimitiveData = exports.AttributeData = exports.GeometryData = exports.AnimationData = exports.TEXTURE_FILTERING = exports.TEXTURE_WRAPPING = exports.MATERIAL_TYPE = exports.MATERIAL_SHADING = exports.MATERIAL_ALPHA = exports.MATERIAL_SIDE = exports.MapData = exports.MaterialBasicLineData = exports.MaterialMultiPointData = exports.MaterialPointData = exports.MaterialGemData = exports.MaterialSpecularGlossinessData = exports.MaterialShadowData = exports.MaterialUnlitData = exports.AbstractMaterialData = exports.MaterialStandardData = void 0;
3
+ exports.validateDrawingParameterSettings = exports.IDrawingParameterJsonSchema = exports.validateDraggingParameterSettings = exports.IDraggingParameterJsonSchema = exports.validateGumballParameterSettings = exports.IGumballParameterJsonSchema = exports.validateSelectionParameterSettings = exports.ISelectionParameterJsonSchema = exports.validateInteractionParameterSettings = exports.IInteractionParameterJsonSchema = exports.PARAMETER_VISUALIZATION = exports.PARAMETER_TYPE = exports.SdtfPrimitiveTypeGuard = exports.SDTF_TYPEHINT = exports.SDTFItemData = exports.SDTFAttributeData = exports.SDTFAttributesData = exports.SDTFOverviewData = exports.TASK_TYPE = exports.InstanceMatricesData = exports.BoneData = exports.CustomData = exports.HTMLElementAnchorData = exports.HTMLElementAnchorImageData = exports.HTMLElementAnchorTextData = exports.HTMLElementAnchorCustomData = exports.PRIMITIVE_MODE = exports.MaterialVariantsData = exports.PrimitiveData = exports.AttributeData = exports.GeometryData = exports.AnimationData = exports.TEXTURE_FILTERING = exports.TEXTURE_WRAPPING = exports.MATERIAL_TYPE = exports.MATERIAL_SHADING = exports.MATERIAL_ALPHA = exports.MATERIAL_SIDE = exports.MapData = exports.MaterialBasicLineData = exports.MaterialMultiPointData = exports.MaterialPointData = exports.MaterialGemData = exports.MaterialSpecularGlossinessData = exports.MaterialShadowData = exports.MaterialUnlitData = exports.AbstractMaterialData = exports.MaterialStandardData = void 0;
4
4
  const AbstractMaterialData_1 = require("./implementation/material/AbstractMaterialData");
5
5
  Object.defineProperty(exports, "AbstractMaterialData", { enumerable: true, get: function () { return AbstractMaterialData_1.AbstractMaterialData; } });
6
6
  const AnimationData_1 = require("./implementation/data/AnimationData");
@@ -27,9 +27,11 @@ Object.defineProperty(exports, "HTMLElementAnchorTextData", { enumerable: true,
27
27
  const IGeometryData_1 = require("./interfaces/data/IGeometryData");
28
28
  Object.defineProperty(exports, "PRIMITIVE_MODE", { enumerable: true, get: function () { return IGeometryData_1.PRIMITIVE_MODE; } });
29
29
  const IInteractionParameterSettings_1 = require("./interfaces/parameter/IInteractionParameterSettings");
30
+ Object.defineProperty(exports, "IDraggingParameterJsonSchema", { enumerable: true, get: function () { return IInteractionParameterSettings_1.IDraggingParameterJsonSchema; } });
30
31
  Object.defineProperty(exports, "IGumballParameterJsonSchema", { enumerable: true, get: function () { return IInteractionParameterSettings_1.IGumballParameterJsonSchema; } });
31
32
  Object.defineProperty(exports, "IInteractionParameterJsonSchema", { enumerable: true, get: function () { return IInteractionParameterSettings_1.IInteractionParameterJsonSchema; } });
32
33
  Object.defineProperty(exports, "ISelectionParameterJsonSchema", { enumerable: true, get: function () { return IInteractionParameterSettings_1.ISelectionParameterJsonSchema; } });
34
+ Object.defineProperty(exports, "validateDraggingParameterSettings", { enumerable: true, get: function () { return IInteractionParameterSettings_1.validateDraggingParameterSettings; } });
33
35
  Object.defineProperty(exports, "validateGumballParameterSettings", { enumerable: true, get: function () { return IInteractionParameterSettings_1.validateGumballParameterSettings; } });
34
36
  Object.defineProperty(exports, "validateInteractionParameterSettings", { enumerable: true, get: function () { return IInteractionParameterSettings_1.validateInteractionParameterSettings; } });
35
37
  Object.defineProperty(exports, "validateSelectionParameterSettings", { enumerable: true, get: function () { return IInteractionParameterSettings_1.validateSelectionParameterSettings; } });
@@ -41,6 +43,8 @@ Object.defineProperty(exports, "MATERIAL_ALPHA", { enumerable: true, get: functi
41
43
  Object.defineProperty(exports, "MATERIAL_SHADING", { enumerable: true, get: function () { return IMaterialAbstractData_1.MATERIAL_SHADING; } });
42
44
  Object.defineProperty(exports, "MATERIAL_SIDE", { enumerable: true, get: function () { return IMaterialAbstractData_1.MATERIAL_SIDE; } });
43
45
  Object.defineProperty(exports, "MATERIAL_TYPE", { enumerable: true, get: function () { return IMaterialAbstractData_1.MATERIAL_TYPE; } });
46
+ const InstanceMatricesData_1 = require("./implementation/data/InstanceMatricesData");
47
+ Object.defineProperty(exports, "InstanceMatricesData", { enumerable: true, get: function () { return InstanceMatricesData_1.InstanceMatricesData; } });
44
48
  const ITaskEvent_1 = require("./interfaces/events/ITaskEvent");
45
49
  Object.defineProperty(exports, "TASK_TYPE", { enumerable: true, get: function () { return ITaskEvent_1.TASK_TYPE; } });
46
50
  const MapData_1 = require("./implementation/material/MapData");
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,yFAAsF;AA0G5B,qGA1GjD,2CAAoB,OA0GiD;AAzG9E,uEAAoE;AAqHlD,8FArHT,6BAAa,OAqHS;AApH/B,qEAAgG;AAoHsC,8FApH7H,4BAAa,OAoH6H;AAA3B,6FApHhG,2BAAY,OAoHgG;AAA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H;AArClJ,6EAA0E;AAqCrD,iGArCZ,mCAAgB,OAqCY;AApCrC,yEAAyE;AAqCpC,uGArC5B,4CAAsB,OAqC4B;AApC3D,yDAA2D;AAoCrC,8FApCb,8BAAgB,OAoCU;AAnCnC,yFAEwD;AAG/B,qGAJvB,2CAAoB,OAIuB"}
@@ -0,0 +1,7 @@
1
+ import { ITreeNodeData } from '@shapediver/viewer.shared.node-tree';
2
+ import { mat4 } from 'gl-matrix';
3
+ export interface IInstanceMatricesData extends ITreeNodeData {
4
+ instanceMatrices: mat4[];
5
+ clone(): IInstanceMatricesData;
6
+ }
7
+ //# sourceMappingURL=IInstanceMatricesData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IInstanceMatricesData.d.ts","sourceRoot":"","sources":["../../../src/interfaces/data/IInstanceMatricesData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,MAAM,WAAW,qBAAsB,SAAQ,aAAa;IAGxD,gBAAgB,EAAE,IAAI,EAAE,CAAC;IAMzB,KAAK,IAAI,qBAAqB,CAAC;CAGlC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IInstanceMatricesData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IInstanceMatricesData.js","sourceRoot":"","sources":["../../../src/interfaces/data/IInstanceMatricesData.ts"],"names":[],"mappings":""}
@@ -0,0 +1,61 @@
1
+ import { IInteractionParameterProps } from './IInteractionParameterSettings';
2
+ import { RestrictionDefinition, Rotation } from './IRestrictionSettings';
3
+ export declare type DraggingParameterValue = {
4
+ objects: {
5
+ /** The name of the object as defined in the name filter. */
6
+ name: string;
7
+ /** The transformation matrix of the object after the dragging operation. */
8
+ transformation: number[];
9
+ /** The id of the drag anchor that was used, if one was used. */
10
+ dragAnchorId?: string;
11
+ /** The id of the restriction that was used. */
12
+ restrictionId: string;
13
+ }[];
14
+ };
15
+ /**
16
+ * Properties of a draggable object.
17
+ */
18
+ export interface IDraggableObject {
19
+ /**
20
+ * The drag anchors for the object
21
+ *
22
+ * The drag anchors can be defined as various points in space that will be transformed according to the node matrix that this data item belongs to.
23
+ * These anchors are used when an object is being dragged instead of the {@link dragOrigin} or the default, the intersection with the node.
24
+ */
25
+ dragAnchors?: {
26
+ /** The id of the anchor */
27
+ id: string;
28
+ /** The position of the anchor */
29
+ position: number[];
30
+ /** The rotation of the anchor */
31
+ rotation?: Rotation;
32
+ }[];
33
+ /**
34
+ * The drag origin of the object.
35
+ *
36
+ * The drag origin can be defined instead of using the default, the intersection with the node, as a dragging origin.
37
+ * If at least one {@link dragAnchors} is used, this property will be ignored.
38
+ */
39
+ dragOrigin?: number[];
40
+ /** The name filter for the objects that can be dragged with the defined settings. */
41
+ nameFilter: string;
42
+ /** The ids of the restrictions in the restrictions array to apply for these objects. */
43
+ restrictions: string[];
44
+ }
45
+ /**
46
+ * Properties of a dragging parameter.
47
+ */
48
+ export interface IDraggingParameterProps extends IInteractionParameterProps {
49
+ /** The color of the objects when dragged. (default: '#0d44f0') */
50
+ draggingColor?: string;
51
+ /**
52
+ * The objects that can be dragged.
53
+ *
54
+ * For each object, the name filter, the restrictions, the drag anchors, and the drag origin can be defined.
55
+ * The name filter is used to filter the objects that can be dragged with the defined settings.
56
+ * This means that multiple objects can be dragged with different settings, but also multiple objects can be dragged with the same settings.
57
+ */
58
+ objects?: IDraggableObject[];
59
+ restrictions?: RestrictionDefinition[];
60
+ }
61
+ //# sourceMappingURL=IDraggingParameterSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IDraggingParameterSettings.d.ts","sourceRoot":"","sources":["../../../src/interfaces/parameter/IDraggingParameterSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,qBAAqB,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAIzE,oBAAY,sBAAsB,GAAG;IACjC,OAAO,EAAE;QACL,4DAA4D;QAC5D,IAAI,EAAE,MAAM,CAAC;QACb,4EAA4E;QAC5E,cAAc,EAAE,MAAM,EAAE,CAAC;QACzB,gEAAgE;QAChE,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,+CAA+C;QAC/C,aAAa,EAAE,MAAM,CAAA;KACxB,EAAE,CAAA;CACN,CAAC;AAMF;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAG7B;;;;;OAKG;IACH,WAAW,CAAC,EAAE;QACV,2BAA2B;QAC3B,EAAE,EAAE,MAAM,CAAC;QACX,iCAAiC;QACjC,QAAQ,EAAE,MAAM,EAAE,CAAC;QACnB,iCAAiC;QACjC,QAAQ,CAAC,EAAE,QAAQ,CAAA;KACtB,EAAE,CAAC;IACJ;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,qFAAqF;IACrF,UAAU,EAAE,MAAM,CAAC;IACnB,wFAAwF;IACxF,YAAY,EAAE,MAAM,EAAE,CAAC;CAG1B;AAED;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,0BAA0B;IAGvE,kEAAkE;IAClE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC7B,YAAY,CAAC,EAAE,qBAAqB,EAAE,CAAA;CAGzC"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ // #endregion Interfaces (2)
4
+ //# sourceMappingURL=IDraggingParameterSettings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IDraggingParameterSettings.js","sourceRoot":"","sources":["../../../src/interfaces/parameter/IDraggingParameterSettings.ts"],"names":[],"mappings":";;AA8EA,4BAA4B"}
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import { RestrictionDefinition } from './IRestrictionSettings';
2
3
  export declare type DrawingParameterValue = {
3
4
  points: number[][];
4
5
  };
@@ -49,15 +50,18 @@ export interface IDrawingParameterSettings {
49
50
  */
50
51
  autoClose: boolean;
51
52
  };
52
- restrictions?: ({
53
- type: 'plane';
54
- origin: number[];
55
- vector_u: number[];
56
- vector_v: number[];
57
- } | {
58
- type: 'geometry';
59
- nameFilter: string[];
60
- })[];
53
+ restrictions?: RestrictionDefinition[];
54
+ general?: {
55
+ /** A prompt that can be defined which is displayed instead of the default prompt. */
56
+ prompt?: {
57
+ /** The title when the parameter is inactive. */
58
+ inactiveTitle?: string;
59
+ /** The title when the parameter is active. */
60
+ activeTitle?: string;
61
+ /** The text when the parameter is inactive. */
62
+ activeText?: string;
63
+ };
64
+ };
61
65
  }
62
66
  export declare const IDrawingParameterJsonSchema: z.ZodObject<{
63
67
  geometry: z.ZodOptional<z.ZodObject<{
@@ -80,6 +84,33 @@ export declare const IDrawingParameterJsonSchema: z.ZodObject<{
80
84
  strictMinMaxPoints?: boolean | undefined;
81
85
  }>>;
82
86
  restrictions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
87
+ general: z.ZodOptional<z.ZodObject<{
88
+ prompt: z.ZodOptional<z.ZodObject<{
89
+ inactiveTitle: z.ZodOptional<z.ZodString>;
90
+ activeTitle: z.ZodOptional<z.ZodString>;
91
+ activeText: z.ZodOptional<z.ZodString>;
92
+ }, "strip", z.ZodTypeAny, {
93
+ inactiveTitle?: string | undefined;
94
+ activeTitle?: string | undefined;
95
+ activeText?: string | undefined;
96
+ }, {
97
+ inactiveTitle?: string | undefined;
98
+ activeTitle?: string | undefined;
99
+ activeText?: string | undefined;
100
+ }>>;
101
+ }, "strip", z.ZodTypeAny, {
102
+ prompt?: {
103
+ inactiveTitle?: string | undefined;
104
+ activeTitle?: string | undefined;
105
+ activeText?: string | undefined;
106
+ } | undefined;
107
+ }, {
108
+ prompt?: {
109
+ inactiveTitle?: string | undefined;
110
+ activeTitle?: string | undefined;
111
+ activeText?: string | undefined;
112
+ } | undefined;
113
+ }>>;
83
114
  }, "strip", z.ZodTypeAny, {
84
115
  geometry?: {
85
116
  mode: "points" | "lines";
@@ -89,6 +120,13 @@ export declare const IDrawingParameterJsonSchema: z.ZodObject<{
89
120
  strictMinMaxPoints?: boolean | undefined;
90
121
  } | undefined;
91
122
  restrictions?: any[] | undefined;
123
+ general?: {
124
+ prompt?: {
125
+ inactiveTitle?: string | undefined;
126
+ activeTitle?: string | undefined;
127
+ activeText?: string | undefined;
128
+ } | undefined;
129
+ } | undefined;
92
130
  }, {
93
131
  geometry?: {
94
132
  mode: "points" | "lines";
@@ -98,6 +136,13 @@ export declare const IDrawingParameterJsonSchema: z.ZodObject<{
98
136
  strictMinMaxPoints?: boolean | undefined;
99
137
  } | undefined;
100
138
  restrictions?: any[] | undefined;
139
+ general?: {
140
+ prompt?: {
141
+ inactiveTitle?: string | undefined;
142
+ activeTitle?: string | undefined;
143
+ activeText?: string | undefined;
144
+ } | undefined;
145
+ } | undefined;
101
146
  }>;
102
147
  export declare const validateDrawingParameterSettings: (param: unknown) => z.SafeParseReturnType<{
103
148
  geometry?: {
@@ -108,6 +153,13 @@ export declare const validateDrawingParameterSettings: (param: unknown) => z.Saf
108
153
  strictMinMaxPoints?: boolean | undefined;
109
154
  } | undefined;
110
155
  restrictions?: any[] | undefined;
156
+ general?: {
157
+ prompt?: {
158
+ inactiveTitle?: string | undefined;
159
+ activeTitle?: string | undefined;
160
+ activeText?: string | undefined;
161
+ } | undefined;
162
+ } | undefined;
111
163
  }, {
112
164
  geometry?: {
113
165
  mode: "points" | "lines";
@@ -117,5 +169,12 @@ export declare const validateDrawingParameterSettings: (param: unknown) => z.Saf
117
169
  strictMinMaxPoints?: boolean | undefined;
118
170
  } | undefined;
119
171
  restrictions?: any[] | undefined;
172
+ general?: {
173
+ prompt?: {
174
+ inactiveTitle?: string | undefined;
175
+ activeTitle?: string | undefined;
176
+ activeText?: string | undefined;
177
+ } | undefined;
178
+ } | undefined;
120
179
  }>;
121
180
  //# sourceMappingURL=IDrawingParametersSettings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IDrawingParametersSettings.d.ts","sourceRoot":"","sources":["../../../src/interfaces/parameter/IDrawingParametersSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,oBAAY,qBAAqB,GAAG;IAChC,MAAM,EAAE,MAAM,EAAE,EAAE,CAAA;CACrB,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,yBAAyB;IAGtC,QAAQ,CAAC,EAAE;QACP;;;;;;;WAOG;QACH,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAC;QAEzB;;;;;WAKG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB;;;;;WAKG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB;;;;;;;WAOG;QACH,KAAK,EAAE,OAAO,CAAC;QAEf;;;;;;;WAOG;QACH,SAAS,EAAE,OAAO,CAAC;KACtB,CAAC;IAEF,YAAY,CAAC,EAAE,CAAC;QACZ,IAAI,EAAE,OAAO,CAAC;QACd,MAAM,EAAE,MAAM,EAAE,CAAC;QACjB,QAAQ,EAAE,MAAM,EAAE,CAAC;QACnB,QAAQ,EAAE,MAAM,EAAE,CAAA;KACrB,GAAG;QACA,IAAI,EAAE,UAAU,CAAC;QACjB,UAAU,EAAE,MAAM,EAAE,CAAA;KACvB,CAAC,EAAE,CAAA;CAGP;AAMD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAStC,CAAC;AAEH,eAAO,MAAM,gCAAgC,UAAW,OAAO;;;;;;;;;;;;;;;;;;EAE9D,CAAC"}
1
+ {"version":3,"file":"IDrawingParametersSettings.d.ts","sourceRoot":"","sources":["../../../src/interfaces/parameter/IDrawingParametersSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAI/D,oBAAY,qBAAqB,GAAG;IAChC,MAAM,EAAE,MAAM,EAAE,EAAE,CAAA;CACrB,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,yBAAyB;IAGtC,QAAQ,CAAC,EAAE;QACP;;;;;;;WAOG;QACH,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAC;QAEzB;;;;;WAKG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB;;;;;WAKG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB;;;;;;;WAOG;QACH,KAAK,EAAE,OAAO,CAAC;QAEf;;;;;;;WAOG;QACH,SAAS,EAAE,OAAO,CAAC;KACtB,CAAC;IACF,YAAY,CAAC,EAAE,qBAAqB,EAAE,CAAC;IACvC,OAAO,CAAC,EAAE;QACN,qFAAqF;QACrF,MAAM,CAAC,EAAE;YACL,gDAAgD;YAChD,aAAa,CAAC,EAAE,MAAM,CAAC;YACvB,8CAA8C;YAC9C,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,+CAA+C;YAC/C,UAAU,CAAC,EAAE,MAAM,CAAA;SACtB,CAAA;KACJ,CAAA;CAGJ;AAMD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBtC,CAAC;AAEH,eAAO,MAAM,gCAAgC,UAAW,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE9D,CAAC"}
@@ -12,7 +12,14 @@ exports.IDrawingParameterJsonSchema = zod_1.z.object({
12
12
  strictMinMaxPoints: zod_1.z.boolean().optional(),
13
13
  close: zod_1.z.boolean(),
14
14
  }).optional(),
15
- restrictions: zod_1.z.array(zod_1.z.any()).optional()
15
+ restrictions: zod_1.z.array(zod_1.z.any()).optional(),
16
+ general: zod_1.z.object({
17
+ prompt: zod_1.z.object({
18
+ inactiveTitle: zod_1.z.string().optional(),
19
+ activeTitle: zod_1.z.string().optional(),
20
+ activeText: zod_1.z.string().optional(),
21
+ }).optional(),
22
+ }).optional(),
16
23
  });
17
24
  const validateDrawingParameterSettings = (param) => {
18
25
  return exports.IDrawingParameterJsonSchema.safeParse(param);
@@ -1 +1 @@
1
- {"version":3,"file":"IDrawingParametersSettings.js","sourceRoot":"","sources":["../../../src/interfaces/parameter/IDrawingParametersSettings.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AA2ExB,4BAA4B;AAE5B,wBAAwB;AAEX,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC;QACf,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QACjC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAChC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAChC,kBAAkB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QAC1C,KAAK,EAAE,OAAC,CAAC,OAAO,EAAE;KACrB,CAAC,CAAC,QAAQ,EAAE;IACb,YAAY,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAC;AAEI,MAAM,gCAAgC,GAAG,CAAC,KAAc,EAAE,EAAE;IAC/D,OAAO,mCAA2B,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AACxD,CAAC,CAAC;AAFW,QAAA,gCAAgC,oCAE3C;AAEF,2BAA2B"}
1
+ {"version":3,"file":"IDrawingParametersSettings.js","sourceRoot":"","sources":["../../../src/interfaces/parameter/IDrawingParametersSettings.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AA8ExB,4BAA4B;AAE5B,wBAAwB;AAEX,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC;QACf,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QACjC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAChC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAChC,kBAAkB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QAC1C,KAAK,EAAE,OAAC,CAAC,OAAO,EAAE;KACrB,CAAC,CAAC,QAAQ,EAAE;IACb,YAAY,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACzC,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;QACd,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC;YACb,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YACpC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YAClC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SACpC,CAAC,CAAC,QAAQ,EAAE;KAChB,CAAC,CAAC,QAAQ,EAAE;CAChB,CAAC,CAAC;AAEI,MAAM,gCAAgC,GAAG,CAAC,KAAc,EAAE,EAAE;IAC/D,OAAO,mCAA2B,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AACxD,CAAC,CAAC;AAFW,QAAA,gCAAgC,oCAE3C;AAEF,2BAA2B"}
@@ -9,10 +9,36 @@ export declare type GumballParameterValue = {
9
9
  export interface IGumballParameterProps extends IInteractionParameterProps {
10
10
  /** If the rotation is enabled. (default: true) */
11
11
  enableRotation?: boolean;
12
+ /**
13
+ * If the rotation per axis is enabled.
14
+ */
15
+ enableRotationAxes?: {
16
+ x?: boolean;
17
+ y?: boolean;
18
+ z?: boolean;
19
+ };
12
20
  /** If the scaling is enabled. (default: false) */
13
21
  enableScaling?: boolean;
22
+ /**
23
+ * If the scaling per axis is enabled.
24
+ */
25
+ enableScalingAxes?: {
26
+ x?: boolean;
27
+ y?: boolean;
28
+ z?: boolean;
29
+ };
14
30
  /** If the translation is enabled. (default: true) */
15
31
  enableTranslation?: boolean;
32
+ /**
33
+ * If the translation per axis is enabled.
34
+ */
35
+ enableTranslationAxes?: {
36
+ x?: boolean;
37
+ y?: boolean;
38
+ z?: boolean;
39
+ };
40
+ /** The names of the objects that can be interacted with. (see Jira document and discussion result) */
41
+ nameFilter?: string[];
16
42
  /** The scale of the controls. The scale divides the scene bounding sphere to get the actual size. (default: 0.005) */
17
43
  scale?: number;
18
44
  /** The space in which the controls operate. In world space, scaling is not available. (default: 'local') */
@@ -1 +1 @@
1
- {"version":3,"file":"IGumballParameterSettings.d.ts","sourceRoot":"","sources":["../../../src/interfaces/parameter/IGumballParameterSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAI7E,oBAAY,qBAAqB,GAAG;IAChC,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,eAAe,EAAE,MAAM,EAAE,EAAE,CAAA;CAC9B,CAAC;AAMF;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,0BAA0B;IAGtE,kDAAkD;IAClD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,kDAAkD;IAClD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,qDAAqD;IACrD,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,sHAAsH;IACtH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4GAA4G;IAC5G,KAAK,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC1B,mEAAmE;IACnE,cAAc,CAAC,EAAE,MAAM,CAAC;CAG3B"}
1
+ {"version":3,"file":"IGumballParameterSettings.d.ts","sourceRoot":"","sources":["../../../src/interfaces/parameter/IGumballParameterSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAI7E,oBAAY,qBAAqB,GAAG;IAChC,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,eAAe,EAAE,MAAM,EAAE,EAAE,CAAA;CAC9B,CAAC;AAMF;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,0BAA0B;IAGtE,kDAAkD;IAClD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,kBAAkB,CAAC,EAAE;QACjB,CAAC,CAAC,EAAE,OAAO,CAAC;QACZ,CAAC,CAAC,EAAE,OAAO,CAAC;QACZ,CAAC,CAAC,EAAE,OAAO,CAAA;KACd,CAAC;IACF,kDAAkD;IAClD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,iBAAiB,CAAC,EAAE;QAChB,CAAC,CAAC,EAAE,OAAO,CAAC;QACZ,CAAC,CAAC,EAAE,OAAO,CAAC;QACZ,CAAC,CAAC,EAAE,OAAO,CAAA;KACd,CAAC;IACF,qDAAqD;IACrD,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,qBAAqB,CAAC,EAAE;QACpB,CAAC,CAAC,EAAE,OAAO,CAAC;QACZ,CAAC,CAAC,EAAE,OAAO,CAAC;QACZ,CAAC,CAAC,EAAE,OAAO,CAAA;KACd,CAAC;IACF,sGAAsG;IACtG,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,sHAAsH;IACtH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4GAA4G;IAC5G,KAAK,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC1B,mEAAmE;IACnE,cAAc,CAAC,EAAE,MAAM,CAAC;CAG3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"IGumballParameterSettings.js","sourceRoot":"","sources":["../../../src/interfaces/parameter/IGumballParameterSettings.ts"],"names":[],"mappings":";;AAmCA,4BAA4B"}
1
+ {"version":3,"file":"IGumballParameterSettings.js","sourceRoot":"","sources":["../../../src/interfaces/parameter/IGumballParameterSettings.ts"],"names":[],"mappings":";;AA6DA,4BAA4B"}