@colijnit/configurator 261.20.7 → 261.20.8

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.
@@ -144,6 +144,7 @@ class SettingOptions {
144
144
  groupedShowAllBtn = false;
145
145
  showSavePresetButton = false;
146
146
  showLoadPresetButton = false;
147
+ showSceneBuildLoader = false;
147
148
  }
148
149
 
149
150
  class RenderParameters {
@@ -9974,7 +9975,6 @@ class SelectionsSummaryComponent {
9974
9975
  canClose = true;
9975
9976
  answersTemplate;
9976
9977
  answerToShowFromSelectionText;
9977
- showSaveAndLoadConfiguration;
9978
9978
  customDimensions = false;
9979
9979
  disableMouse = false;
9980
9980
  handledocumentMouseUp(event) {
@@ -10024,7 +10024,7 @@ class SelectionsSummaryComponent {
10024
10024
  this.selectionToCustomize = sel;
10025
10025
  }
10026
10026
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SelectionsSummaryComponent, deps: [{ token: ConfiguratorConnectorService }, { token: IconCacheService }], target: i0.ɵɵFactoryTarget.Component });
10027
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: SelectionsSummaryComponent, isStandalone: false, selector: "co-selections-summary", inputs: { selections: "selections", showLabel: "showLabel", canClose: "canClose", answersTemplate: "answersTemplate", answerToShowFromSelectionText: "answerToShowFromSelectionText", showSaveAndLoadConfiguration: "showSaveAndLoadConfiguration", customDimensions: "customDimensions" }, outputs: { closeClick: "closeClick", cancelAnswers: "cancelAnswers", selectSelection: "selectSelection", repeatSelection: "repeatSelection", deleteSelection: "deleteSelection" }, host: { listeners: { "document:mouseup": "handledocumentMouseUp($event)", "document:mousemove": "handleDocumentMouseDown($event)" }, properties: { "class.co-selections-summary": "this.showClass", "class.custom-dimensions": "this.customDimensions", "class.disable-mouse": "this.disableMouse" } }, ngImport: i0, template: `
10027
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: SelectionsSummaryComponent, isStandalone: false, selector: "co-selections-summary", inputs: { selections: "selections", showLabel: "showLabel", canClose: "canClose", answersTemplate: "answersTemplate", answerToShowFromSelectionText: "answerToShowFromSelectionText", customDimensions: "customDimensions" }, outputs: { closeClick: "closeClick", cancelAnswers: "cancelAnswers", selectSelection: "selectSelection", repeatSelection: "repeatSelection", deleteSelection: "deleteSelection" }, host: { listeners: { "document:mouseup": "handledocumentMouseUp($event)", "document:mousemove": "handleDocumentMouseDown($event)" }, properties: { "class.co-selections-summary": "this.showClass", "class.custom-dimensions": "this.customDimensions", "class.disable-mouse": "this.disableMouse" } }, ngImport: i0, template: `
10028
10028
  @if (showLabel || canClose) {
10029
10029
  <header class="drawer__header">
10030
10030
  @if (showLabel) {
@@ -10123,8 +10123,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
10123
10123
  type: Input
10124
10124
  }], answerToShowFromSelectionText: [{
10125
10125
  type: Input
10126
- }], showSaveAndLoadConfiguration: [{
10127
- type: Input
10128
10126
  }], customDimensions: [{
10129
10127
  type: HostBinding,
10130
10128
  args: ['class.custom-dimensions']
@@ -10187,7 +10185,6 @@ class LiteSelectorComponent {
10187
10185
  canClose = true;
10188
10186
  animateSlideout = true;
10189
10187
  customDimensions = false;
10190
- showSaveAndLoadConfiguration;
10191
10188
  showChange = new EventEmitter();
10192
10189
  answerChosen = new EventEmitter();
10193
10190
  answerToShowFromSelectionText;
@@ -10240,7 +10237,7 @@ class LiteSelectorComponent {
10240
10237
  // this.iOne.getMoodImageForAnswerSelection(answerSelected.answer, false);
10241
10238
  }
10242
10239
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: LiteSelectorComponent, deps: [{ token: SwitchBuildFurnitureService }, { token: ConfiguratorConnectorService }, { token: ConfiguringService }], target: i0.ɵɵFactoryTarget.Component });
10243
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: LiteSelectorComponent, isStandalone: false, selector: "co-lite-selector", inputs: { show: "show", showLabel: "showLabel", canClose: "canClose", animateSlideout: "animateSlideout", customDimensions: "customDimensions", showSaveAndLoadConfiguration: "showSaveAndLoadConfiguration" }, outputs: { showChange: "showChange", answerChosen: "answerChosen" }, host: { properties: { "class.co-lite-selector": "this.showClass", "class.custom-dimensions": "this.customDimensions" } }, viewQueries: [{ propertyName: "templateAnswers", first: true, predicate: ["templateAnswers"], descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: `
10240
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: LiteSelectorComponent, isStandalone: false, selector: "co-lite-selector", inputs: { show: "show", showLabel: "showLabel", canClose: "canClose", animateSlideout: "animateSlideout", customDimensions: "customDimensions" }, outputs: { showChange: "showChange", answerChosen: "answerChosen" }, host: { properties: { "class.co-lite-selector": "this.showClass", "class.custom-dimensions": "this.customDimensions" } }, viewQueries: [{ propertyName: "templateAnswers", first: true, predicate: ["templateAnswers"], descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: `
10244
10241
  <ng-container>
10245
10242
  @if (configuratorConnectorService.selectionsToDisplay.length > 0) {
10246
10243
  <co-selections-summary
@@ -10251,7 +10248,6 @@ class LiteSelectorComponent {
10251
10248
  [answersTemplate]="inlineAnswers ? templateAnswers : undefined"
10252
10249
  [answerToShowFromSelectionText]="answerToShowFromSelectionText"
10253
10250
  [selections]="configuratorConnectorService.selectionsToDisplay"
10254
- [showSaveAndLoadConfiguration]="showSaveAndLoadConfiguration"
10255
10251
  (selectSelection)="onSelectionsSummarySelectSelection($event)"
10256
10252
  (repeatSelection)="onSelectionsSummarySelectSelection($event, false, true)"
10257
10253
  (deleteSelection)="onSelectionsSummaryDeleteSelection($event)"
@@ -10276,7 +10272,7 @@ class LiteSelectorComponent {
10276
10272
  ></co-answers-slideout>
10277
10273
  }
10278
10274
  </ng-template>
10279
- `, isInline: true, dependencies: [{ kind: "component", type: AnswersSlideoutComponent, selector: "co-answers-slideout", inputs: ["question", "showTitle", "showFilter", "answers", "useSlideout", "customDimensions"], outputs: ["answerChosen"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SelectionsSummaryComponent, selector: "co-selections-summary", inputs: ["selections", "showLabel", "canClose", "answersTemplate", "answerToShowFromSelectionText", "showSaveAndLoadConfiguration", "customDimensions"], outputs: ["closeClick", "cancelAnswers", "selectSelection", "repeatSelection", "deleteSelection"] }], animations: [
10275
+ `, isInline: true, dependencies: [{ kind: "component", type: AnswersSlideoutComponent, selector: "co-answers-slideout", inputs: ["question", "showTitle", "showFilter", "answers", "useSlideout", "customDimensions"], outputs: ["answerChosen"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SelectionsSummaryComponent, selector: "co-selections-summary", inputs: ["selections", "showLabel", "canClose", "answersTemplate", "answerToShowFromSelectionText", "customDimensions"], outputs: ["closeClick", "cancelAnswers", "selectSelection", "repeatSelection", "deleteSelection"] }], animations: [
10280
10276
  trigger('showSelections', [
10281
10277
  state('void', style({ 'transform': 'translateX(100%)', opacity: 0 })),
10282
10278
  state('*', style({ 'transform': 'translateX(0%)', opacity: 1 })),
@@ -10299,7 +10295,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
10299
10295
  [answersTemplate]="inlineAnswers ? templateAnswers : undefined"
10300
10296
  [answerToShowFromSelectionText]="answerToShowFromSelectionText"
10301
10297
  [selections]="configuratorConnectorService.selectionsToDisplay"
10302
- [showSaveAndLoadConfiguration]="showSaveAndLoadConfiguration"
10303
10298
  (selectSelection)="onSelectionsSummarySelectSelection($event)"
10304
10299
  (repeatSelection)="onSelectionsSummarySelectSelection($event, false, true)"
10305
10300
  (deleteSelection)="onSelectionsSummaryDeleteSelection($event)"
@@ -10354,8 +10349,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
10354
10349
  args: ['class.custom-dimensions']
10355
10350
  }, {
10356
10351
  type: Input
10357
- }], showSaveAndLoadConfiguration: [{
10358
- type: Input
10359
10352
  }], showChange: [{
10360
10353
  type: Output
10361
10354
  }], answerChosen: [{
@@ -11554,7 +11547,6 @@ class ProductConfiguratorComponent {
11554
11547
  showLabel = true;
11555
11548
  canClose = true;
11556
11549
  customDimensions = false;
11557
- showSaveAndLoadConfiguration;
11558
11550
  showChange = new EventEmitter();
11559
11551
  answerChosen = new EventEmitter();
11560
11552
  valutaSymbol = '€'; // TODO this should be a setting
@@ -11616,7 +11608,7 @@ class ProductConfiguratorComponent {
11616
11608
  }
11617
11609
  }
11618
11610
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ProductConfiguratorComponent, deps: [{ token: ConfiguratorConnectorService }, { token: SwitchBuildFurnitureService }, { token: ConfiguratorSettingsService }, { token: ProductConfiguratorService }, { token: IconCacheService }, { token: i1.DomSanitizer }, { token: ConfiguringService }, { token: ConfiguratorEventService }], target: i0.ɵɵFactoryTarget.Component });
11619
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: ProductConfiguratorComponent, isStandalone: false, selector: "co-product-configurator", inputs: { showHeaderInformation: "showHeaderInformation", showSelections: "showSelections", showLabel: "showLabel", canClose: "canClose", customDimensions: "customDimensions", showSaveAndLoadConfiguration: "showSaveAndLoadConfiguration" }, outputs: { showChange: "showChange", answerChosen: "answerChosen" }, host: { properties: { "class.co-product-configurator": "this.showClass" } }, ngImport: i0, template: `
11611
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: ProductConfiguratorComponent, isStandalone: false, selector: "co-product-configurator", inputs: { showHeaderInformation: "showHeaderInformation", showSelections: "showSelections", showLabel: "showLabel", canClose: "canClose", customDimensions: "customDimensions" }, outputs: { showChange: "showChange", answerChosen: "answerChosen" }, host: { properties: { "class.co-product-configurator": "this.showClass" } }, ngImport: i0, template: `
11620
11612
  <div class="product-configurator-container">
11621
11613
  @if (showHeaderInformation) {
11622
11614
  <div class="product-configurator-header">
@@ -11723,8 +11715,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
11723
11715
  type: Input
11724
11716
  }], customDimensions: [{
11725
11717
  type: Input
11726
- }], showSaveAndLoadConfiguration: [{
11727
- type: Input
11728
11718
  }], showChange: [{
11729
11719
  type: Output
11730
11720
  }], answerChosen: [{
@@ -11927,7 +11917,7 @@ class ConfiguratorComponent {
11927
11917
  }
11928
11918
 
11929
11919
  }
11930
- `, isInline: true, dependencies: [{ kind: "component", type: ProgressBarComponent, selector: "co-progress-bar" }, { kind: "component", type: ConfiguratorLoaderComponent, selector: "co-configurator-loader", inputs: ["show"] }, { kind: "component", type: ConfiguratorErrorDialogComponent, selector: "co-configurator-error-dialog", inputs: ["errorMessages"], outputs: ["closeErrorDialoag"] }, { kind: "component", type: LiteSelectorComponent, selector: "co-lite-selector", inputs: ["show", "showLabel", "canClose", "animateSlideout", "customDimensions", "showSaveAndLoadConfiguration"], outputs: ["showChange", "answerChosen"] }, { kind: "component", type: ProductConfiguratorComponent, selector: "co-product-configurator", inputs: ["showHeaderInformation", "showSelections", "showLabel", "canClose", "customDimensions", "showSaveAndLoadConfiguration"], outputs: ["showChange", "answerChosen"] }], encapsulation: i0.ViewEncapsulation.None });
11920
+ `, isInline: true, dependencies: [{ kind: "component", type: ProgressBarComponent, selector: "co-progress-bar" }, { kind: "component", type: ConfiguratorLoaderComponent, selector: "co-configurator-loader", inputs: ["show"] }, { kind: "component", type: ConfiguratorErrorDialogComponent, selector: "co-configurator-error-dialog", inputs: ["errorMessages"], outputs: ["closeErrorDialoag"] }, { kind: "component", type: LiteSelectorComponent, selector: "co-lite-selector", inputs: ["show", "showLabel", "canClose", "animateSlideout", "customDimensions"], outputs: ["showChange", "answerChosen"] }, { kind: "component", type: ProductConfiguratorComponent, selector: "co-product-configurator", inputs: ["showHeaderInformation", "showSelections", "showLabel", "canClose", "customDimensions"], outputs: ["showChange", "answerChosen"] }], encapsulation: i0.ViewEncapsulation.None });
11931
11921
  }
11932
11922
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ConfiguratorComponent, decorators: [{
11933
11923
  type: Component,
@@ -14285,6 +14275,9 @@ class SceneButtonUtils {
14285
14275
  if (selection.hdecoPositioning !== 'N') {
14286
14276
  const len = selection.decoNode ? selection.decoNode.connectors.length : 0;
14287
14277
  for (let i = 0; i < len; i++) {
14278
+ if (selection.decoNode.connectors[i] === null) {
14279
+ return;
14280
+ }
14288
14281
  const conObject = this._getConnectorObject(child, selection.decoNode.connectors[i].connector);
14289
14282
  const conObjectParent = ObjectUtils.GetParentItem(conObject, CustomObject3D);
14290
14283
  const existingButton = result.find((eab) => {
@@ -15277,7 +15270,6 @@ class ConfiguratorSceneComponent {
15277
15270
  _floorService;
15278
15271
  canvasElement;
15279
15272
  elementToolbar;
15280
- showSceneBuildLoader = true;
15281
15273
  showClass = true;
15282
15274
  totalSteps = 8;
15283
15275
  currentStep = 0;
@@ -15290,6 +15282,7 @@ class ConfiguratorSceneComponent {
15290
15282
  showElementToolbar = false;
15291
15283
  animateEditAddButtons = false;
15292
15284
  enabledDownloadDialog = false;
15285
+ showSceneBuildLoader;
15293
15286
  development = false;
15294
15287
  showDownloadDialog = false;
15295
15288
  showCameraSettingsDialog = false;
@@ -15328,6 +15321,12 @@ class ConfiguratorSceneComponent {
15328
15321
  if (started) {
15329
15322
  this.setSceneBuildLoader = started;
15330
15323
  }
15324
+ }), this._eventService.addedToScene.subscribe((result) => {
15325
+ if (result) {
15326
+ if (this.currentStep !== this.totalSteps) {
15327
+ this._loaderProcessUpdate(this.totalSteps);
15328
+ }
15329
+ }
15331
15330
  }), this._settingsService.settingsLoaded.subscribe((loaded) => {
15332
15331
  if (loaded && this._settingsService.settings && this._settingsService.settings.options) {
15333
15332
  if (this._settingsService.settings.options.showDownloadButton) {
@@ -15341,6 +15340,7 @@ class ConfiguratorSceneComponent {
15341
15340
  this._createCameraSettingsButton();
15342
15341
  }
15343
15342
  this.development = this._settingsService.settings.options.development;
15343
+ this.showSceneBuildLoader = this._settingsService.settings.options.showSceneBuildLoader;
15344
15344
  }
15345
15345
  }));
15346
15346
  }
@@ -15555,7 +15555,7 @@ class ConfiguratorSceneComponent {
15555
15555
  this._dimensionsService.enabled = !this._dimensionsService.enabled;
15556
15556
  }
15557
15557
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ConfiguratorSceneComponent, deps: [{ token: ConfiguratorSettingsService }, { token: ConfiguratorRotationService }, { token: ConfiguratorDynamicCameraService }, { token: ConfiguratorSceneService }, { token: ConfiguratorEventService }, { token: ConfiguratorCameraService }, { token: ConfiguratorItemService }, { token: SwitchBuildFurnitureService }, { token: SceneOptionsService }, { token: DimensionsService }, { token: FloorPlaneService }], target: i0.ɵɵFactoryTarget.Component });
15558
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: ConfiguratorSceneComponent, isStandalone: false, selector: "co-configurator-scene", inputs: { showSceneBuildLoader: "showSceneBuildLoader" }, host: { properties: { "class.co-configurator-scene": "this.showClass" } }, viewQueries: [{ propertyName: "canvasElement", first: true, predicate: ["canvas"], descendants: true, read: ElementRef }, { propertyName: "elementToolbar", first: true, predicate: ElementToolbarComponent, descendants: true }], ngImport: i0, template: `
15558
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: ConfiguratorSceneComponent, isStandalone: false, selector: "co-configurator-scene", host: { properties: { "class.co-configurator-scene": "this.showClass" } }, viewQueries: [{ propertyName: "canvasElement", first: true, predicate: ["canvas"], descendants: true, read: ElementRef }, { propertyName: "elementToolbar", first: true, predicate: ElementToolbarComponent, descendants: true }], ngImport: i0, template: `
15559
15559
  @if (showSceneBuildLoader && setSceneBuildLoader) {
15560
15560
  <co-configurator-scene-loader
15561
15561
  [loaderProgress]="loaderProgress">
@@ -15651,8 +15651,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
15651
15651
  }], elementToolbar: [{
15652
15652
  type: ViewChild,
15653
15653
  args: [ElementToolbarComponent]
15654
- }], showSceneBuildLoader: [{
15655
- type: Input
15656
15654
  }], showClass: [{
15657
15655
  type: HostBinding,
15658
15656
  args: ['class.co-configurator-scene']