@colijnit/configurator 261.1.1 → 261.20.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.
- package/{fesm2015/colijnit-configurator.js → fesm2022/colijnit-configurator.mjs} +19087 -18481
- package/fesm2022/colijnit-configurator.mjs.map +1 -0
- package/index.d.ts +3299 -0
- package/lib/components/answer-card/style/_layout.scss +3 -3
- package/lib/components/answers-slideout/style/_layout.scss +1 -0
- package/lib/style/configurator-globals.scss +1 -21
- package/package.json +24 -19
- package/bundles/colijnit-configurator.umd.js +0 -20167
- package/bundles/colijnit-configurator.umd.js.map +0 -1
- package/colijnit-configurator.d.ts +0 -5
- package/esm2015/colijnit-configurator.js +0 -5
- package/esm2015/lib/builder.js +0 -795
- package/esm2015/lib/components/answer-card/answer-card.component.js +0 -313
- package/esm2015/lib/components/answer-card/answer-card.module.js +0 -50
- package/esm2015/lib/components/answer-info-dialog/answer-info-dialog.component.js +0 -182
- package/esm2015/lib/components/answer-info-dialog/answer-info-dialog.module.js +0 -34
- package/esm2015/lib/components/answers-slideout/answers-slideout.component.js +0 -490
- package/esm2015/lib/components/answers-slideout/answers-slideout.module.js +0 -61
- package/esm2015/lib/components/color-filter/color-filter.component.js +0 -59
- package/esm2015/lib/components/color-filter/color-filter.module.js +0 -26
- package/esm2015/lib/components/configurator/configurator.component.js +0 -133
- package/esm2015/lib/components/configurator/configurator.module.js +0 -42
- package/esm2015/lib/components/configurator-dialog/configurator-camera-settings.component.js +0 -222
- package/esm2015/lib/components/configurator-dialog/configurator-dialog.module.js +0 -48
- package/esm2015/lib/components/configurator-dialog/configurator-error-dialog.component.js +0 -82
- package/esm2015/lib/components/configurator-dialog/configurator-export-dialog.component.js +0 -163
- package/esm2015/lib/components/configurator-loader/configurator-loader.component.js +0 -49
- package/esm2015/lib/components/configurator-loader/configurator-loader.module.js +0 -33
- package/esm2015/lib/components/configurator-scene/configurator-scene.component.js +0 -60
- package/esm2015/lib/components/configurator-scene/configurator-scene.module.js +0 -17
- package/esm2015/lib/components/configurator-scene-loader/configurator-scene-loader.component.js +0 -46
- package/esm2015/lib/components/configurator-scene-loader/configurator-scene-loader.module.js +0 -26
- package/esm2015/lib/components/element-buttons/element-buttons.component.js +0 -168
- package/esm2015/lib/components/element-buttons/element-buttons.module.js +0 -30
- package/esm2015/lib/components/element-toolbar/element-toolbar.component.js +0 -186
- package/esm2015/lib/components/element-toolbar/element-toolbar.module.js +0 -34
- package/esm2015/lib/components/image-zoom/image-zoom.component.js +0 -61
- package/esm2015/lib/components/image-zoom/image-zoom.module.js +0 -30
- package/esm2015/lib/components/lite-selector/lite-selector.component.js +0 -206
- package/esm2015/lib/components/lite-selector/lite-selector.module.js +0 -34
- package/esm2015/lib/components/product-configurator/product-configurator.component.js +0 -184
- package/esm2015/lib/components/product-configurator/product-configurator.module.js +0 -72
- package/esm2015/lib/components/product-configurator-selector/product-configurator-selector.component.js +0 -237
- package/esm2015/lib/components/product-configurator-selector/product-configurator-selector.module.js +0 -38
- package/esm2015/lib/components/product-configurator-selector-option/product-configurator-selector-option.component.js +0 -284
- package/esm2015/lib/components/product-configurator-selector-option/product-configurator-selector-option.module.js +0 -42
- package/esm2015/lib/components/product-configurator-selector-option-button/product-configurator-selector-option-button.component.js +0 -72
- package/esm2015/lib/components/product-configurator-selector-option-button/product-configurator-selector-option-button.module.js +0 -34
- package/esm2015/lib/components/product-configurator-selector-option-checkbox/product-configurator-selector-option-checkbox.component.js +0 -82
- package/esm2015/lib/components/product-configurator-selector-option-checkbox/product-configurator-selector-option-checkbox.module.js +0 -30
- package/esm2015/lib/components/product-configurator-selector-option-dropdown/product-configurator-selector-option-dropdown.component.js +0 -80
- package/esm2015/lib/components/product-configurator-selector-option-dropdown/product-configurator-selector-option-dropdown.module.js +0 -34
- package/esm2015/lib/components/product-configurator-selector-option-tile/product-configurator-selector-option-tile.component.js +0 -93
- package/esm2015/lib/components/product-configurator-selector-option-tile/product-configurator-selector-option-tile.module.js +0 -34
- package/esm2015/lib/components/progress-bar/progress-bar.component.js +0 -55
- package/esm2015/lib/components/progress-bar/progress-bar.module.js +0 -29
- package/esm2015/lib/components/scene-options/scene-options.component.js +0 -164
- package/esm2015/lib/components/scene-options/scene-options.module.js +0 -38
- package/esm2015/lib/components/selections-summary/selections-summary.component.js +0 -163
- package/esm2015/lib/components/selections-summary/selections-summary.module.js +0 -45
- package/esm2015/lib/components/selections-summary-line/selections-summary-line.component.js +0 -171
- package/esm2015/lib/components/selections-summary-line/selections-summary-line.module.js +0 -34
- package/esm2015/lib/components/slideout/slideout.component.js +0 -83
- package/esm2015/lib/components/slideout/slideout.module.js +0 -17
- package/esm2015/lib/components/summary-line/summary-line.component.js +0 -273
- package/esm2015/lib/components/summary-line/summary-line.module.js +0 -44
- package/esm2015/lib/components/tag-filter/tag-filter.component.js +0 -39
- package/esm2015/lib/components/tag-filter/tag-filter.module.js +0 -21
- package/esm2015/lib/components/threedselector/threedselector.component.js +0 -155
- package/esm2015/lib/components/threedselector/threedselector.module.js +0 -34
- package/esm2015/lib/core/helper/variation-helper.js +0 -553
- package/esm2015/lib/core/shader/floor-fade.shader.js +0 -33
- package/esm2015/lib/core/textures/depth-data-texture.js +0 -19
- package/esm2015/lib/directives/directives.module.js +0 -26
- package/esm2015/lib/directives/visibility-observer-master.directive.js +0 -53
- package/esm2015/lib/directives/visibility-observer.directive.js +0 -54
- package/esm2015/lib/enum/ar-feature.enum.js +0 -14
- package/esm2015/lib/enum/configuration-key.enum.js +0 -41
- package/esm2015/lib/enum/configuration-template.enum.js +0 -6
- package/esm2015/lib/enum/device-size-type.js +0 -7
- package/esm2015/lib/enum/device-tier.enum.js +0 -7
- package/esm2015/lib/enum/icon.enum.js +0 -113
- package/esm2015/lib/enum/item-type.enum.js +0 -23
- package/esm2015/lib/enum/light.enum.js +0 -9
- package/esm2015/lib/enum/navigator-type.enum.js +0 -6
- package/esm2015/lib/enum/output-encoding.enum.js +0 -9
- package/esm2015/lib/enum/result-type.enum.js +0 -21
- package/esm2015/lib/enum/scene-event.enum.js +0 -12
- package/esm2015/lib/enum/shadow-map-type.enum.js +0 -8
- package/esm2015/lib/enum/texture-type.js +0 -9
- package/esm2015/lib/enum/tone-mapping-local.enum.js +0 -12
- package/esm2015/lib/enum/view-mode.enum.js +0 -7
- package/esm2015/lib/enum/xr-mode.enum.js +0 -6
- package/esm2015/lib/environments/environment.js +0 -8
- package/esm2015/lib/interfaces/aa-options.interface.js +0 -2
- package/esm2015/lib/interfaces/adjustable-element.interface.js +0 -2
- package/esm2015/lib/interfaces/ao-options.interface.js +0 -2
- package/esm2015/lib/interfaces/changes.interface.js +0 -2
- package/esm2015/lib/interfaces/configuration-data.interface.js +0 -2
- package/esm2015/lib/interfaces/light-preset.interface.js +0 -2
- package/esm2015/lib/interfaces/post-processing-setting.interface.js +0 -2
- package/esm2015/lib/interfaces/scene-option-button.interface.js +0 -6
- package/esm2015/lib/interfaces/screen-size-info.js +0 -2
- package/esm2015/lib/interfaces/setting.interface.js +0 -2
- package/esm2015/lib/interfaces/texture.interface.js +0 -2
- package/esm2015/lib/interfaces/vignette-options.interface.js +0 -2
- package/esm2015/lib/model/ar-position-indicator.js +0 -18
- package/esm2015/lib/model/camera-settings.js +0 -14
- package/esm2015/lib/model/configuration-result-object.js +0 -6
- package/esm2015/lib/model/configurator-error-message.js +0 -9
- package/esm2015/lib/model/configurator-settings.js +0 -25
- package/esm2015/lib/model/custom-button.js +0 -16
- package/esm2015/lib/model/factory.js +0 -28
- package/esm2015/lib/model/icon.js +0 -112
- package/esm2015/lib/model/intersected-objects.js +0 -7
- package/esm2015/lib/model/light-preset.js +0 -73
- package/esm2015/lib/model/light-properties.js +0 -45
- package/esm2015/lib/model/material.js +0 -11
- package/esm2015/lib/model/metadata.js +0 -2
- package/esm2015/lib/model/render-parameters.js +0 -16
- package/esm2015/lib/model/setting-options.js +0 -71
- package/esm2015/lib/model/settings.js +0 -16
- package/esm2015/lib/model/shadow-properties.js +0 -10
- package/esm2015/lib/model/skin.js +0 -3
- package/esm2015/lib/model/texture.js +0 -76
- package/esm2015/lib/model/variation-settings.js +0 -54
- package/esm2015/lib/model/variation.js +0 -3
- package/esm2015/lib/model/xr-reticle.js +0 -79
- package/esm2015/lib/modules/render/enum/scene-type.enum.js +0 -6
- package/esm2015/lib/modules/render/model/ar-parameters.js +0 -12
- package/esm2015/lib/modules/render/model/scene-setting.js +0 -6
- package/esm2015/lib/modules/render/model/scene-settings.js +0 -3
- package/esm2015/lib/pipes/append.pipe.js +0 -21
- package/esm2015/lib/pipes/google-translate.pipe.js +0 -21
- package/esm2015/lib/pipes/localize.pipe.js +0 -28
- package/esm2015/lib/pipes/pipes.module.js +0 -41
- package/esm2015/lib/pipes/prepend.pipe.js +0 -21
- package/esm2015/lib/pipes/strip-html.pipe.js +0 -17
- package/esm2015/lib/services/app-event.service.js +0 -36
- package/esm2015/lib/services/app-initializer.service.js +0 -27
- package/esm2015/lib/services/ar.service.js +0 -844
- package/esm2015/lib/services/build-furniture-base.service.js +0 -1181
- package/esm2015/lib/services/build-furniture-without-scene.service.js +0 -86
- package/esm2015/lib/services/build-furniture.service.js +0 -169
- package/esm2015/lib/services/bundle-initialzer.service.js +0 -113
- package/esm2015/lib/services/camera.service.js +0 -123
- package/esm2015/lib/services/configuration.service.js +0 -79
- package/esm2015/lib/services/configurator-connector.service.js +0 -830
- package/esm2015/lib/services/configurator.service.js +0 -285
- package/esm2015/lib/services/configuring.service.js +0 -119
- package/esm2015/lib/services/controls.js +0 -799
- package/esm2015/lib/services/debug.service.js +0 -43
- package/esm2015/lib/services/dictionary.service.js +0 -65
- package/esm2015/lib/services/dynamic-camera.service.js +0 -96
- package/esm2015/lib/services/floor-plane.service.js +0 -252
- package/esm2015/lib/services/font.service.js +0 -27
- package/esm2015/lib/services/google-translate.service.js +0 -79
- package/esm2015/lib/services/icon-cache.service.js +0 -44
- package/esm2015/lib/services/intersection.service.js +0 -47
- package/esm2015/lib/services/item.service.js +0 -75
- package/esm2015/lib/services/json-utils.service.js +0 -48
- package/esm2015/lib/services/light-creation.service.js +0 -35
- package/esm2015/lib/services/light-presets.service.js +0 -157
- package/esm2015/lib/services/lights.service.js +0 -146
- package/esm2015/lib/services/load-furniture-base.service.js +0 -164
- package/esm2015/lib/services/load-furniture-without-scene.service.js +0 -45
- package/esm2015/lib/services/load-furniture.service.js +0 -72
- package/esm2015/lib/services/loader.service.js +0 -32
- package/esm2015/lib/services/locator.service.js +0 -11
- package/esm2015/lib/services/message-board.service.js +0 -50
- package/esm2015/lib/services/post-processing.service.js +0 -378
- package/esm2015/lib/services/product-configurator.service.js +0 -16
- package/esm2015/lib/services/progress.service.js +0 -20
- package/esm2015/lib/services/scene-event.service.js +0 -246
- package/esm2015/lib/services/scene-options.service.js +0 -24
- package/esm2015/lib/services/scene.service.js +0 -313
- package/esm2015/lib/services/screen-size-analysis.service.js +0 -97
- package/esm2015/lib/services/settings.service.js +0 -142
- package/esm2015/lib/services/switch-build-furniture.service.js +0 -37
- package/esm2015/lib/services/switch-load-furniture.service.js +0 -35
- package/esm2015/lib/services/threedselector.service.js +0 -72
- package/esm2015/lib/services/utils.service.js +0 -207
- package/esm2015/lib/services/variation-cache.service.js +0 -143
- package/esm2015/lib/services/variation.service.js +0 -490
- package/esm2015/lib/services/view-mode.service.js +0 -37
- package/esm2015/lib/services/vr.service.js +0 -191
- package/esm2015/lib/services/xr.service.js +0 -294
- package/esm2015/lib/utils/asset.utils.js +0 -120
- package/esm2015/lib/utils/base-utils.js +0 -9
- package/esm2015/lib/utils/color.utils.js +0 -30
- package/esm2015/lib/utils/debug.utils.js +0 -9
- package/esm2015/lib/utils/device.utils.js +0 -25
- package/esm2015/lib/utils/file.utils.js +0 -167
- package/esm2015/lib/utils/image.utils.js +0 -61
- package/esm2015/lib/utils/json-parser.utils.js +0 -180
- package/esm2015/lib/utils/material.utils.js +0 -433
- package/esm2015/lib/utils/object.utils.js +0 -360
- package/esm2015/lib/utils/relative-position.utils.js +0 -75
- package/esm2015/lib/utils/rotation-helper.utils.js +0 -15
- package/esm2015/lib/utils/scene-3d.utils.js +0 -213
- package/esm2015/lib/utils/scene-utils.js +0 -191
- package/esm2015/lib/utils/text-utils.js +0 -68
- package/esm2015/lib/utils/threed.utils.js +0 -281
- package/esm2015/lib/utils/variation-utils.js +0 -459
- package/esm2015/public-api.js +0 -65
- package/fesm2015/colijnit-configurator.js.map +0 -1
- package/lib/builder.d.ts +0 -83
- package/lib/components/answer-card/answer-card.component.d.ts +0 -58
- package/lib/components/answer-card/answer-card.module.d.ts +0 -11
- package/lib/components/answer-info-dialog/answer-info-dialog.component.d.ts +0 -38
- package/lib/components/answer-info-dialog/answer-info-dialog.module.d.ts +0 -10
- package/lib/components/answers-slideout/answers-slideout.component.d.ts +0 -86
- package/lib/components/answers-slideout/answers-slideout.module.d.ts +0 -16
- package/lib/components/color-filter/color-filter.component.d.ts +0 -20
- package/lib/components/color-filter/color-filter.module.d.ts +0 -8
- package/lib/components/configurator/configurator.component.d.ts +0 -37
- package/lib/components/configurator/configurator.module.d.ts +0 -12
- package/lib/components/configurator-dialog/configurator-camera-settings.component.d.ts +0 -30
- package/lib/components/configurator-dialog/configurator-dialog.module.d.ts +0 -13
- package/lib/components/configurator-dialog/configurator-error-dialog.component.d.ts +0 -16
- package/lib/components/configurator-dialog/configurator-export-dialog.component.d.ts +0 -26
- package/lib/components/configurator-loader/configurator-loader.component.d.ts +0 -7
- package/lib/components/configurator-loader/configurator-loader.module.d.ts +0 -9
- package/lib/components/configurator-scene/configurator-scene.component.d.ts +0 -24
- package/lib/components/configurator-scene/configurator-scene.module.d.ts +0 -7
- package/lib/components/configurator-scene-loader/configurator-scene-loader.component.d.ts +0 -7
- package/lib/components/configurator-scene-loader/configurator-scene-loader.module.d.ts +0 -8
- package/lib/components/element-buttons/element-buttons.component.d.ts +0 -32
- package/lib/components/element-buttons/element-buttons.module.d.ts +0 -9
- package/lib/components/element-toolbar/element-toolbar.component.d.ts +0 -27
- package/lib/components/element-toolbar/element-toolbar.module.d.ts +0 -10
- package/lib/components/image-zoom/image-zoom.component.d.ts +0 -15
- package/lib/components/image-zoom/image-zoom.module.d.ts +0 -9
- package/lib/components/lite-selector/lite-selector.component.d.ts +0 -40
- package/lib/components/lite-selector/lite-selector.module.d.ts +0 -10
- package/lib/components/product-configurator/product-configurator.component.d.ts +0 -50
- package/lib/components/product-configurator/product-configurator.module.d.ts +0 -15
- package/lib/components/product-configurator-selector/product-configurator-selector.component.d.ts +0 -35
- package/lib/components/product-configurator-selector/product-configurator-selector.module.d.ts +0 -11
- package/lib/components/product-configurator-selector-option/product-configurator-selector-option.component.d.ts +0 -31
- package/lib/components/product-configurator-selector-option/product-configurator-selector-option.module.d.ts +0 -13
- package/lib/components/product-configurator-selector-option-button/product-configurator-selector-option-button.component.d.ts +0 -20
- package/lib/components/product-configurator-selector-option-button/product-configurator-selector-option-button.module.d.ts +0 -10
- package/lib/components/product-configurator-selector-option-checkbox/product-configurator-selector-option-checkbox.component.d.ts +0 -20
- package/lib/components/product-configurator-selector-option-checkbox/product-configurator-selector-option-checkbox.module.d.ts +0 -10
- package/lib/components/product-configurator-selector-option-dropdown/product-configurator-selector-option-dropdown.component.d.ts +0 -21
- package/lib/components/product-configurator-selector-option-dropdown/product-configurator-selector-option-dropdown.module.d.ts +0 -10
- package/lib/components/product-configurator-selector-option-tile/product-configurator-selector-option-tile.component.d.ts +0 -21
- package/lib/components/product-configurator-selector-option-tile/product-configurator-selector-option-tile.module.d.ts +0 -10
- package/lib/components/progress-bar/progress-bar.component.d.ts +0 -10
- package/lib/components/progress-bar/progress-bar.module.d.ts +0 -8
- package/lib/components/scene-options/scene-options.component.d.ts +0 -24
- package/lib/components/scene-options/scene-options.module.d.ts +0 -11
- package/lib/components/selections-summary/selections-summary.component.d.ts +0 -38
- package/lib/components/selections-summary/selections-summary.module.d.ts +0 -12
- package/lib/components/selections-summary-line/selections-summary-line.component.d.ts +0 -27
- package/lib/components/selections-summary-line/selections-summary-line.module.d.ts +0 -10
- package/lib/components/slideout/slideout.component.d.ts +0 -22
- package/lib/components/slideout/slideout.module.d.ts +0 -7
- package/lib/components/summary-line/summary-line.component.d.ts +0 -50
- package/lib/components/summary-line/summary-line.module.d.ts +0 -11
- package/lib/components/tag-filter/tag-filter.component.d.ts +0 -9
- package/lib/components/tag-filter/tag-filter.module.d.ts +0 -7
- package/lib/components/threedselector/threedselector.component.d.ts +0 -38
- package/lib/components/threedselector/threedselector.module.d.ts +0 -10
- package/lib/core/helper/variation-helper.d.ts +0 -25
- package/lib/core/shader/floor-fade.shader.d.ts +0 -5
- package/lib/core/textures/depth-data-texture.d.ts +0 -5
- package/lib/directives/directives.module.d.ts +0 -8
- package/lib/directives/visibility-observer-master.directive.d.ts +0 -12
- package/lib/directives/visibility-observer.directive.d.ts +0 -16
- package/lib/enum/ar-feature.enum.d.ts +0 -12
- package/lib/enum/configuration-key.enum.d.ts +0 -39
- package/lib/enum/configuration-template.enum.d.ts +0 -4
- package/lib/enum/device-size-type.d.ts +0 -5
- package/lib/enum/device-tier.enum.d.ts +0 -5
- package/lib/enum/icon.enum.d.ts +0 -111
- package/lib/enum/item-type.enum.d.ts +0 -21
- package/lib/enum/light.enum.d.ts +0 -7
- package/lib/enum/navigator-type.enum.d.ts +0 -4
- package/lib/enum/output-encoding.enum.d.ts +0 -7
- package/lib/enum/result-type.enum.d.ts +0 -19
- package/lib/enum/scene-event.enum.d.ts +0 -10
- package/lib/enum/shadow-map-type.enum.d.ts +0 -6
- package/lib/enum/texture-type.d.ts +0 -7
- package/lib/enum/tone-mapping-local.enum.d.ts +0 -10
- package/lib/enum/view-mode.enum.d.ts +0 -5
- package/lib/enum/xr-mode.enum.d.ts +0 -4
- package/lib/environments/environment.d.ts +0 -4
- package/lib/interfaces/aa-options.interface.d.ts +0 -4
- package/lib/interfaces/adjustable-element.interface.d.ts +0 -5
- package/lib/interfaces/ao-options.interface.d.ts +0 -18
- package/lib/interfaces/changes.interface.d.ts +0 -9
- package/lib/interfaces/configuration-data.interface.d.ts +0 -40
- package/lib/interfaces/light-preset.interface.d.ts +0 -22
- package/lib/interfaces/post-processing-setting.interface.d.ts +0 -11
- package/lib/interfaces/scene-option-button.interface.d.ts +0 -19
- package/lib/interfaces/screen-size-info.d.ts +0 -10
- package/lib/interfaces/setting.interface.d.ts +0 -8
- package/lib/interfaces/texture.interface.d.ts +0 -44
- package/lib/interfaces/vignette-options.interface.d.ts +0 -4
- package/lib/model/ar-position-indicator.d.ts +0 -4
- package/lib/model/camera-settings.d.ts +0 -12
- package/lib/model/configuration-result-object.d.ts +0 -30
- package/lib/model/configurator-error-message.d.ts +0 -8
- package/lib/model/configurator-settings.d.ts +0 -62
- package/lib/model/custom-button.d.ts +0 -10
- package/lib/model/factory.d.ts +0 -5
- package/lib/model/icon.d.ts +0 -4
- package/lib/model/intersected-objects.d.ts +0 -6
- package/lib/model/light-preset.d.ts +0 -33
- package/lib/model/light-properties.d.ts +0 -25
- package/lib/model/material.d.ts +0 -41
- package/lib/model/metadata.d.ts +0 -78
- package/lib/model/render-parameters.d.ts +0 -12
- package/lib/model/setting-options.d.ts +0 -67
- package/lib/model/settings.d.ts +0 -10
- package/lib/model/shadow-properties.d.ts +0 -7
- package/lib/model/skin.d.ts +0 -15
- package/lib/model/texture.d.ts +0 -52
- package/lib/model/variation-settings.d.ts +0 -55
- package/lib/model/variation.d.ts +0 -11
- package/lib/model/xr-reticle.d.ts +0 -17
- package/lib/modules/render/enum/scene-type.enum.d.ts +0 -4
- package/lib/modules/render/model/ar-parameters.d.ts +0 -9
- package/lib/modules/render/model/scene-setting.d.ts +0 -13
- package/lib/modules/render/model/scene-settings.d.ts +0 -4
- package/lib/pipes/append.pipe.d.ts +0 -7
- package/lib/pipes/google-translate.pipe.d.ts +0 -11
- package/lib/pipes/localize.pipe.d.ts +0 -10
- package/lib/pipes/pipes.module.d.ts +0 -11
- package/lib/pipes/prepend.pipe.d.ts +0 -7
- package/lib/pipes/strip-html.pipe.d.ts +0 -7
- package/lib/services/app-event.service.d.ts +0 -32
- package/lib/services/app-initializer.service.d.ts +0 -14
- package/lib/services/ar.service.d.ts +0 -120
- package/lib/services/build-furniture-base.service.d.ts +0 -117
- package/lib/services/build-furniture-without-scene.service.d.ts +0 -14
- package/lib/services/build-furniture.service.d.ts +0 -14
- package/lib/services/bundle-initialzer.service.d.ts +0 -45
- package/lib/services/camera.service.d.ts +0 -44
- package/lib/services/configuration.service.d.ts +0 -18
- package/lib/services/configurator-connector.service.d.ts +0 -140
- package/lib/services/configurator.service.d.ts +0 -62
- package/lib/services/configuring.service.d.ts +0 -46
- package/lib/services/controls.d.ts +0 -11
- package/lib/services/debug.service.d.ts +0 -16
- package/lib/services/dictionary.service.d.ts +0 -15
- package/lib/services/dynamic-camera.service.d.ts +0 -21
- package/lib/services/floor-plane.service.d.ts +0 -47
- package/lib/services/font.service.d.ts +0 -10
- package/lib/services/google-translate.service.d.ts +0 -26
- package/lib/services/icon-cache.service.d.ts +0 -21
- package/lib/services/intersection.service.d.ts +0 -11
- package/lib/services/item.service.d.ts +0 -18
- package/lib/services/json-utils.service.d.ts +0 -7
- package/lib/services/light-creation.service.d.ts +0 -9
- package/lib/services/light-presets.service.d.ts +0 -34
- package/lib/services/lights.service.d.ts +0 -34
- package/lib/services/load-furniture-base.service.d.ts +0 -37
- package/lib/services/load-furniture-without-scene.service.d.ts +0 -9
- package/lib/services/load-furniture.service.d.ts +0 -9
- package/lib/services/loader.service.d.ts +0 -11
- package/lib/services/locator.service.d.ts +0 -7
- package/lib/services/message-board.service.d.ts +0 -18
- package/lib/services/post-processing.service.d.ts +0 -74
- package/lib/services/product-configurator.service.d.ts +0 -11
- package/lib/services/progress.service.d.ts +0 -9
- package/lib/services/scene-event.service.d.ts +0 -72
- package/lib/services/scene-options.service.d.ts +0 -11
- package/lib/services/scene.service.d.ts +0 -71
- package/lib/services/screen-size-analysis.service.d.ts +0 -32
- package/lib/services/settings.service.d.ts +0 -24
- package/lib/services/switch-build-furniture.service.d.ts +0 -21
- package/lib/services/switch-load-furniture.service.d.ts +0 -21
- package/lib/services/threedselector.service.d.ts +0 -17
- package/lib/services/utils.service.d.ts +0 -24
- package/lib/services/variation-cache.service.d.ts +0 -23
- package/lib/services/variation.service.d.ts +0 -26
- package/lib/services/view-mode.service.d.ts +0 -17
- package/lib/services/vr.service.d.ts +0 -42
- package/lib/services/xr.service.d.ts +0 -56
- package/lib/utils/asset.utils.d.ts +0 -19
- package/lib/utils/base-utils.d.ts +0 -4
- package/lib/utils/color.utils.d.ts +0 -8
- package/lib/utils/debug.utils.d.ts +0 -3
- package/lib/utils/device.utils.d.ts +0 -7
- package/lib/utils/file.utils.d.ts +0 -30
- package/lib/utils/image.utils.d.ts +0 -9
- package/lib/utils/json-parser.utils.d.ts +0 -9
- package/lib/utils/material.utils.d.ts +0 -34
- package/lib/utils/object.utils.d.ts +0 -32
- package/lib/utils/relative-position.utils.d.ts +0 -12
- package/lib/utils/rotation-helper.utils.d.ts +0 -6
- package/lib/utils/scene-3d.utils.d.ts +0 -8
- package/lib/utils/scene-utils.d.ts +0 -7
- package/lib/utils/text-utils.d.ts +0 -4
- package/lib/utils/threed.utils.d.ts +0 -20
- package/lib/utils/variation-utils.d.ts +0 -18
- package/public-api.d.ts +0 -60
- /package/lib/style/{template_variables.scss → _variables.scss} +0 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,3299 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnDestroy, OnInit, EventEmitter, PipeTransform, TemplateRef, ElementRef, QueryList, AfterViewInit, ChangeDetectorRef } from '@angular/core';
|
|
3
|
+
import * as THREE from 'three';
|
|
4
|
+
import { Object3D, Material, Vector3, Euler, Color, Side, PerspectiveCamera, Scene, Mesh, WebGLRenderer, Camera, Vector2, Light, Intersection } from 'three';
|
|
5
|
+
import { SafeHtml, EventManager, DomSanitizer, SafeStyle } from '@angular/platform-browser';
|
|
6
|
+
import { DecoNode } from '@colijnit/configuratorapi/build/model/deco-node';
|
|
7
|
+
import { Selection } from '@colijnit/configuratorapi/build/model/selection';
|
|
8
|
+
import { BehaviorSubject, Subject, Observable, Subscription } from 'rxjs';
|
|
9
|
+
import { Answer } from '@colijnit/configuratorapi/build/model/answer';
|
|
10
|
+
import { Article } from '@colijnit/configuratorapi/build/model/article';
|
|
11
|
+
import { GetArticlesForCatalogRequest } from '@colijnit/configuratorapi/build/model/get-articles-for-catalog';
|
|
12
|
+
import { QuestionAndAnswers } from '@colijnit/configuratorapi/build/model/question-and-answers';
|
|
13
|
+
import { Options } from '@colijnit/ioneconnector/build/model/options';
|
|
14
|
+
import { DataServiceResponseData } from '@colijnit/ioneconnector/build/model/data-service-response-data';
|
|
15
|
+
import { LoginResponse } from '@colijnit/ioneconnector/build/model/login-response';
|
|
16
|
+
import { TableName } from '@colijnit/mainapi/build/enum/table-name.enum';
|
|
17
|
+
import { SelectorStructure } from '@colijnit/configuratorapi/build/model/selector-structure.bo';
|
|
18
|
+
import { InternalParam } from '@colijnit/mainapi/build/enum/internal-param.enum';
|
|
19
|
+
import { ConfiguratorStatisticsEnvironment } from '@colijnit/configuratorapi/build/model/configurator-statistics-environment';
|
|
20
|
+
import { SelectorWithOptions } from '@colijnit/configuratorapi/build/model/selector-with-options';
|
|
21
|
+
import { AnswerPrice } from '@colijnit/configuratorapi/build/model/answer-price';
|
|
22
|
+
import { Question } from '@colijnit/configuratorapi/build/model/question';
|
|
23
|
+
import { ArticleText } from '@colijnit/configuratorapi/build/model/article-text.bo';
|
|
24
|
+
import { SkipButtonInfo } from '@colijnit/configuratorapi/build/model/skip-button-info';
|
|
25
|
+
import { WebGLPathTracer } from 'three-gpu-pathtracer';
|
|
26
|
+
import { Font } from 'three/examples/jsm/loaders/FontLoader.js';
|
|
27
|
+
import { DeviceDetectorService } from 'ngx-device-detector';
|
|
28
|
+
import * as i3 from '@angular/common';
|
|
29
|
+
import * as i5 from '@colijnit/corecomponents_v12';
|
|
30
|
+
import * as i7 from '@angular/forms';
|
|
31
|
+
import { Color as Color$1 } from '@colijnit/configuratorapi/build/model/color';
|
|
32
|
+
import { Tag } from '@colijnit/configuratorapi/build/model/tag';
|
|
33
|
+
import * as i3$1 from '@angular/material/icon';
|
|
34
|
+
import * as i4 from '@angular/material/button';
|
|
35
|
+
import { ConfigurationDisplayOption } from '@colijnit/configuratorapi/build/enum/refcode/configuration-display-option.enum';
|
|
36
|
+
import { ColorSpace } from 'three/src/constants.js';
|
|
37
|
+
|
|
38
|
+
declare class ConfiguratorErrorMessage {
|
|
39
|
+
message: string;
|
|
40
|
+
safeMessage: SafeHtml;
|
|
41
|
+
description: string;
|
|
42
|
+
safeDescription: SafeHtml;
|
|
43
|
+
constructor(message: string, description?: string);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
declare enum ResultType {
|
|
47
|
+
Unknown = "Unknown",
|
|
48
|
+
BuildFromScratch = "BuildFromScratch",
|
|
49
|
+
NeedsUserInput = "NeedsUserInput",
|
|
50
|
+
NoAdjustables = "NoAdjustables",
|
|
51
|
+
NoSelections = "NoSelections",
|
|
52
|
+
NoDecoNodes = "NoDecoNodes",
|
|
53
|
+
GameobjectNameMismatchInSource = "GameobjectNameMismatchInSource",
|
|
54
|
+
ArticleNotFound = "ArticleNotFound",
|
|
55
|
+
No3DModel = "No3DModel",
|
|
56
|
+
ErrorSettingInstance = "ErrorSettingInstance",
|
|
57
|
+
Timeout = "Timeout",
|
|
58
|
+
ConfigurationNotFixed = "ConfigurationNotFixed",
|
|
59
|
+
ConfigurationPartiallyFixed = "ConfigurationPartiallyFixed",
|
|
60
|
+
Obsolete = "Obsolete",
|
|
61
|
+
Loaded = "Loaded",
|
|
62
|
+
ConfigurationFixed = "ConfigurationFixed",
|
|
63
|
+
ExternalSourceNotAvailable = "ExternalSourceNotAvailable"
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
declare class ConfigurationResultObject {
|
|
67
|
+
sku: string;
|
|
68
|
+
articleName: string;
|
|
69
|
+
instanceId: string;
|
|
70
|
+
originalItemId: string;
|
|
71
|
+
goodId: string;
|
|
72
|
+
schema: string;
|
|
73
|
+
assetUrl: string;
|
|
74
|
+
assetPath: string;
|
|
75
|
+
cdnUrl: string;
|
|
76
|
+
placement: number;
|
|
77
|
+
object?: Object3D;
|
|
78
|
+
material?: Material;
|
|
79
|
+
resultType: ResultType;
|
|
80
|
+
errorMessages: ConfiguratorErrorMessage[];
|
|
81
|
+
selections: Selection[];
|
|
82
|
+
decos: DecoNode[];
|
|
83
|
+
obsolete: boolean;
|
|
84
|
+
configurable: boolean;
|
|
85
|
+
default180: boolean;
|
|
86
|
+
position?: Vector3;
|
|
87
|
+
rotation?: number | Euler;
|
|
88
|
+
itemType?: number;
|
|
89
|
+
hdecoType?: string;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
declare class LoaderService {
|
|
93
|
+
private _hideLoaderTimeout;
|
|
94
|
+
private readonly _hideLoaderTimerTimeout;
|
|
95
|
+
set showLoader(value: boolean);
|
|
96
|
+
get showLoader(): boolean;
|
|
97
|
+
private _showLoader;
|
|
98
|
+
constructor();
|
|
99
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderService, never>;
|
|
100
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoaderService>;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
declare enum ConfigurationTemplate {
|
|
104
|
+
default = "default",
|
|
105
|
+
showFullConfiguration = "showFullConfiguration"
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
declare class IntersectedObjects {
|
|
109
|
+
parent: Object3D;
|
|
110
|
+
child: Object3D;
|
|
111
|
+
constructor(parent?: any, child?: any);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
declare class AppEventService {
|
|
115
|
+
instanceSet: BehaviorSubject<string>;
|
|
116
|
+
answerCountReceived: BehaviorSubject<number>;
|
|
117
|
+
readyToRender: BehaviorSubject<boolean>;
|
|
118
|
+
buildFinished: BehaviorSubject<ConfigurationResultObject>;
|
|
119
|
+
configurationTemplateChange: BehaviorSubject<ConfigurationTemplate>;
|
|
120
|
+
articleNotFound: BehaviorSubject<ConfigurationResultObject>;
|
|
121
|
+
glbCreated: Subject<string>;
|
|
122
|
+
showOutline: Subject<any>;
|
|
123
|
+
showErrorOutline: Subject<any>;
|
|
124
|
+
hideOutline: Subject<void>;
|
|
125
|
+
articleReceived: Subject<Article>;
|
|
126
|
+
selectionsReceived: Subject<Selection[]>;
|
|
127
|
+
answersReceived: Subject<Answer[]>;
|
|
128
|
+
extraAnswerDataLoaded: Subject<void>;
|
|
129
|
+
selectionsAndDecosLinked: Subject<void>;
|
|
130
|
+
connectionReset: Subject<void>;
|
|
131
|
+
selectSelectionsCalled: Subject<Selection>;
|
|
132
|
+
articleInfoReceived: Subject<string>;
|
|
133
|
+
onObjectSelected: Subject<IntersectedObjects>;
|
|
134
|
+
onObjectUnSelected: Subject<boolean>;
|
|
135
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppEventService, never>;
|
|
136
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AppEventService>;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
declare class ArParameters {
|
|
140
|
+
depthOcclusion: boolean;
|
|
141
|
+
depthHitTest: boolean;
|
|
142
|
+
anchoredHitTest: boolean;
|
|
143
|
+
lightEstimation: boolean;
|
|
144
|
+
reflectionEstimation: boolean;
|
|
145
|
+
planeDetection: boolean;
|
|
146
|
+
planeHitTest: boolean;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
declare class SettingOptions {
|
|
150
|
+
showStockStatus?: boolean;
|
|
151
|
+
show3DWatermark?: boolean;
|
|
152
|
+
showZoomButton?: boolean;
|
|
153
|
+
showTagFilter?: boolean;
|
|
154
|
+
showAsConfigured?: boolean;
|
|
155
|
+
development?: boolean;
|
|
156
|
+
allowLocalSave?: boolean;
|
|
157
|
+
inlineAnswers?: boolean;
|
|
158
|
+
showArButton?: boolean;
|
|
159
|
+
showCaptionAddButton?: boolean;
|
|
160
|
+
instantReplace?: boolean;
|
|
161
|
+
bottomAnswers?: boolean;
|
|
162
|
+
onlyThreeD?: boolean;
|
|
163
|
+
showRenderConnectionInfo?: boolean;
|
|
164
|
+
forceAdjustables?: boolean;
|
|
165
|
+
showRoomDownloadButton?: boolean;
|
|
166
|
+
showRoomRenderButton?: boolean;
|
|
167
|
+
showOwnCatalogButton?: boolean;
|
|
168
|
+
showDownloadButton?: boolean;
|
|
169
|
+
showOnlyHomeDecoFilter?: boolean;
|
|
170
|
+
showMeasurementsButton?: boolean;
|
|
171
|
+
cameraPositionFixed?: boolean;
|
|
172
|
+
cameraPositionFixedAndScrollbar?: boolean;
|
|
173
|
+
handleParametric?: boolean;
|
|
174
|
+
arEnabled?: boolean;
|
|
175
|
+
showStandaloneARButton?: boolean;
|
|
176
|
+
vrEnabled?: boolean;
|
|
177
|
+
qualitySettingsEnabled?: boolean;
|
|
178
|
+
xrDebug?: boolean;
|
|
179
|
+
useStandaloneFloors?: boolean;
|
|
180
|
+
useStandaloneHighLight?: boolean;
|
|
181
|
+
useCustomFloorSize?: boolean;
|
|
182
|
+
customFloorSize?: number;
|
|
183
|
+
showEditPencilConfigurator?: boolean;
|
|
184
|
+
instantEditMenu?: boolean;
|
|
185
|
+
animationButton?: boolean;
|
|
186
|
+
customizationEnabled?: boolean;
|
|
187
|
+
usePlacementSnapping?: boolean;
|
|
188
|
+
showWallMeasurements?: boolean;
|
|
189
|
+
useVariationOnPart?: boolean;
|
|
190
|
+
showFormDialog?: boolean;
|
|
191
|
+
showOnlyLastAnswerDescriptionGenericSelection?: boolean;
|
|
192
|
+
enable3DInPhoto?: boolean;
|
|
193
|
+
createGlbStandalone?: boolean;
|
|
194
|
+
useRenderWebsocket?: boolean;
|
|
195
|
+
productRenderSceneAssetId?: string;
|
|
196
|
+
pathTracer?: boolean;
|
|
197
|
+
ssrEnabled?: boolean;
|
|
198
|
+
maxRenderSamples?: number;
|
|
199
|
+
aoEnabled?: boolean;
|
|
200
|
+
aaEnabled?: boolean;
|
|
201
|
+
vignetteEnabled?: boolean;
|
|
202
|
+
vignetteOffset?: number;
|
|
203
|
+
vignetteDarkness?: number;
|
|
204
|
+
useCanvasImage?: boolean;
|
|
205
|
+
useThumbnailImage?: boolean;
|
|
206
|
+
showProgressBar?: boolean;
|
|
207
|
+
showProgressText?: boolean;
|
|
208
|
+
showSelectionLoader?: boolean;
|
|
209
|
+
useAnimations?: boolean;
|
|
210
|
+
useThreedScene?: boolean;
|
|
211
|
+
showSlowConnectionWarning?: boolean;
|
|
212
|
+
useExternalOpenSave?: boolean;
|
|
213
|
+
floorFadeStart?: number;
|
|
214
|
+
floorFadeEnd?: number;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
declare class RenderParameters {
|
|
218
|
+
host?: string;
|
|
219
|
+
port?: number;
|
|
220
|
+
secure?: boolean;
|
|
221
|
+
iterations?: number;
|
|
222
|
+
imageWidth?: number;
|
|
223
|
+
imageHeight?: number;
|
|
224
|
+
websocket?: string;
|
|
225
|
+
hdri?: string;
|
|
226
|
+
hdriIntensity?: number;
|
|
227
|
+
renderType?: number;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
declare enum SceneType {
|
|
231
|
+
Product = "product",
|
|
232
|
+
Room = "room"
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
declare class SceneSetting {
|
|
236
|
+
name: string;
|
|
237
|
+
multiSceneRender: boolean;
|
|
238
|
+
primarySceneName: string;
|
|
239
|
+
secondarySceneName?: string;
|
|
240
|
+
defaultSceneName?: string;
|
|
241
|
+
hdriIntensity: number;
|
|
242
|
+
hdriRotation: number;
|
|
243
|
+
lightingExposure: number;
|
|
244
|
+
sceneType: SceneType;
|
|
245
|
+
forceTransparency: boolean;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
declare class SceneSettings {
|
|
249
|
+
scenes: SceneSetting[];
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
declare class ConfiguratorSettings {
|
|
253
|
+
url?: string;
|
|
254
|
+
schema?: string;
|
|
255
|
+
version?: string;
|
|
256
|
+
branch?: string;
|
|
257
|
+
currency?: number;
|
|
258
|
+
currencySymbol?: string;
|
|
259
|
+
username?: string;
|
|
260
|
+
password?: string;
|
|
261
|
+
session?: any;
|
|
262
|
+
useGroups?: boolean;
|
|
263
|
+
useRenders?: boolean;
|
|
264
|
+
useLoginEncryption?: boolean;
|
|
265
|
+
logoutWhenRefresh?: boolean;
|
|
266
|
+
useMatch?: boolean;
|
|
267
|
+
assetPath?: string;
|
|
268
|
+
threeDAssetPath?: string;
|
|
269
|
+
assetIndex?: string;
|
|
270
|
+
lightPresetsIndex?: string;
|
|
271
|
+
additionalTranslationFile?: string;
|
|
272
|
+
apiUrl?: string;
|
|
273
|
+
client?: string;
|
|
274
|
+
timeoutInMs?: number;
|
|
275
|
+
languageCode?: string;
|
|
276
|
+
secondaryLogo?: string;
|
|
277
|
+
jwtEnabled?: boolean;
|
|
278
|
+
gtm?: string;
|
|
279
|
+
dracoPath?: string;
|
|
280
|
+
options?: SettingOptions;
|
|
281
|
+
catalogParameters?: GetArticlesForCatalogRequest;
|
|
282
|
+
renderParameters?: RenderParameters;
|
|
283
|
+
arParameters?: ArParameters;
|
|
284
|
+
faqUrl?: string;
|
|
285
|
+
feedbackUrl?: string;
|
|
286
|
+
envMap?: string;
|
|
287
|
+
spreadsheetSheetKey?: string;
|
|
288
|
+
cameraConfig?: string;
|
|
289
|
+
sceneBackground?: string;
|
|
290
|
+
sceneBackgroundColor?: string;
|
|
291
|
+
standaloneSceneBackgroundColor?: string;
|
|
292
|
+
blendFilesRender?: boolean;
|
|
293
|
+
renderApiClientId?: string;
|
|
294
|
+
uploadEndpoint?: string;
|
|
295
|
+
renderEndpoint?: string;
|
|
296
|
+
productRenderSceneAssetId?: string;
|
|
297
|
+
defaultRenderType?: number;
|
|
298
|
+
user3DModelUploadEnabled?: boolean;
|
|
299
|
+
showConversionButtons?: boolean;
|
|
300
|
+
showUploadDiagram?: boolean;
|
|
301
|
+
isHomeDecoHub?: boolean;
|
|
302
|
+
standAloneRoomplanner?: boolean;
|
|
303
|
+
projectSettings?: ConfiguratorSettings;
|
|
304
|
+
showFloorProductTab?: boolean;
|
|
305
|
+
showAddToCart?: boolean;
|
|
306
|
+
blenderSceneSettings?: SceneSettings;
|
|
307
|
+
infoPublicationCode?: number;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
declare class JsonUtilsService {
|
|
311
|
+
readJsonFile(filePath: string, includeBaseUrl?: boolean): Promise<any>;
|
|
312
|
+
private _includeBaseUrl;
|
|
313
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JsonUtilsService, never>;
|
|
314
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<JsonUtilsService>;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
declare class DictionaryService {
|
|
318
|
+
private _jsonUtilsService;
|
|
319
|
+
private readonly _placeholder;
|
|
320
|
+
private _client;
|
|
321
|
+
private _language;
|
|
322
|
+
private _dictionary;
|
|
323
|
+
constructor(_jsonUtilsService: JsonUtilsService);
|
|
324
|
+
get(key: string, upperCaseFirst?: boolean, ...replacementTexts: string[]): string;
|
|
325
|
+
setDictionary(path: string, client: string, languageCode: string, additionalTranslationFile?: any): Promise<void>;
|
|
326
|
+
private _getDictionaryData;
|
|
327
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DictionaryService, never>;
|
|
328
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DictionaryService>;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
declare enum NavigatorType {
|
|
332
|
+
IOsSafari = "IOsSafari",
|
|
333
|
+
Browser = "Browser"
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
interface AoOptions {
|
|
337
|
+
aoSamples: number;
|
|
338
|
+
denoiseSamples: number;
|
|
339
|
+
denoiseRadius: number;
|
|
340
|
+
aoRadius: number;
|
|
341
|
+
distanceFalloff: number;
|
|
342
|
+
screenSpaceRadius: boolean;
|
|
343
|
+
halfRes: boolean;
|
|
344
|
+
depthAwareUpsampling: boolean;
|
|
345
|
+
transparencyAware: boolean;
|
|
346
|
+
intensity: number;
|
|
347
|
+
renderMode: string;
|
|
348
|
+
color: string;
|
|
349
|
+
colorMultiply: boolean;
|
|
350
|
+
stencil: boolean;
|
|
351
|
+
accumulate: boolean;
|
|
352
|
+
gammaCorrection: boolean;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
interface AaOptions {
|
|
356
|
+
sampleLevel: number;
|
|
357
|
+
unbiased: boolean;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
interface VignetteOptions {
|
|
361
|
+
vignetteOffset: number;
|
|
362
|
+
vignetteDarkness: number;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
interface PostProcessingSetting {
|
|
366
|
+
aoEnabled: boolean;
|
|
367
|
+
aoOptions: AoOptions;
|
|
368
|
+
aaEnabled: boolean;
|
|
369
|
+
aaOptions: AaOptions;
|
|
370
|
+
vignetteEnabled: boolean;
|
|
371
|
+
vignetteOptions: VignetteOptions;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
interface SettingInterface {
|
|
375
|
+
default: boolean;
|
|
376
|
+
standalone: boolean;
|
|
377
|
+
navigatorType: NavigatorType;
|
|
378
|
+
postprocessing: PostProcessingSetting;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
declare class Setting {
|
|
382
|
+
navigatorType: NavigatorType;
|
|
383
|
+
default: boolean;
|
|
384
|
+
standalone: boolean;
|
|
385
|
+
postProcessing: PostProcessingSetting;
|
|
386
|
+
static CreateModelFromInterface(modelInterface: SettingInterface): Setting;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
declare class SettingsService {
|
|
390
|
+
private _jsonUtilsService;
|
|
391
|
+
private _dictionaryService;
|
|
392
|
+
set settings(value: ConfiguratorSettings);
|
|
393
|
+
get settings(): ConfiguratorSettings;
|
|
394
|
+
settingsLoaded: BehaviorSubject<boolean>;
|
|
395
|
+
lightSettingsLoaded: BehaviorSubject<Setting[]>;
|
|
396
|
+
settingsChanged: Subject<void>;
|
|
397
|
+
private _settings;
|
|
398
|
+
constructor(_jsonUtilsService: JsonUtilsService, _dictionaryService: DictionaryService);
|
|
399
|
+
createSettingsFromObject(obj: any): void;
|
|
400
|
+
initializeSettings(settings?: ConfiguratorSettings): Promise<void>;
|
|
401
|
+
initialize(settings: ConfiguratorSettings): Promise<void>;
|
|
402
|
+
checkAdditionalParameters(): Promise<void>;
|
|
403
|
+
private _checkUrlParameters;
|
|
404
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsService, never>;
|
|
405
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SettingsService>;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
declare class ConfiguratorService {
|
|
409
|
+
readonly showLoader: Subject<boolean>;
|
|
410
|
+
readonly connectionReset: Subject<void>;
|
|
411
|
+
loginResponse: LoginResponse;
|
|
412
|
+
private _configuratorApi;
|
|
413
|
+
private _mainApi;
|
|
414
|
+
private _articleApi;
|
|
415
|
+
private _boFactory;
|
|
416
|
+
private _publicationCodeForUserRole;
|
|
417
|
+
constructor();
|
|
418
|
+
initApi(options: Options): void;
|
|
419
|
+
cleanUp(): void;
|
|
420
|
+
initConnector(options: Options, forceReload?: boolean): Promise<boolean>;
|
|
421
|
+
initNodeInstance(goodId: number, showLoader: boolean): Promise<DataServiceResponseData>;
|
|
422
|
+
changeConnection(instanceId: string, oldConnection: string, newConnection: string, showLoader: boolean): Promise<DataServiceResponseData>;
|
|
423
|
+
setInstanceToConfigure(id: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
424
|
+
getGoodIdFromSku(sku: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
425
|
+
getArticleQuickSel(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
426
|
+
getSelections(showLoader?: boolean, publicationCode?: number): Promise<DataServiceResponseData>;
|
|
427
|
+
getDecos(showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
428
|
+
getQuestionAndAnswers(showLoader?: boolean, publicationCode?: number): Promise<QuestionAndAnswers>;
|
|
429
|
+
getSingleImage(nodeId: number | string, publication: number, includeMimetype: boolean, thumb: boolean, showLoader: boolean): Promise<DataServiceResponseData>;
|
|
430
|
+
selectSelection(selection: Selection, forceBackToNode?: boolean, after?: boolean, connector?: string): Promise<DataServiceResponseData>;
|
|
431
|
+
selectAnswer(answer: Answer, showLoader?: boolean, input?: string): Promise<DataServiceResponseData>;
|
|
432
|
+
selectAnswerBySelection(selection: Selection, userInput?: string): Promise<DataServiceResponseData>;
|
|
433
|
+
navigateTo(chosenOption: SelectorStructure, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
434
|
+
cancelAnswer(getAnswersAndQuestion?: boolean): Promise<DataServiceResponseData>;
|
|
435
|
+
deleteSelection(selection: Selection): Promise<DataServiceResponseData>;
|
|
436
|
+
replaceSelection(selection: Selection): Promise<DataServiceResponseData>;
|
|
437
|
+
getSelectionsAsync(): Promise<DataServiceResponseData>;
|
|
438
|
+
getQuestionAndAnswersAsync(): Promise<QuestionAndAnswers>;
|
|
439
|
+
getAnswerTexts(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
440
|
+
getAnswersPrices(): Promise<DataServiceResponseData>;
|
|
441
|
+
getSkipButtonImageAndText(goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
442
|
+
getInternalParameterValue(parameter: InternalParam): Promise<DataServiceResponseData>;
|
|
443
|
+
getDecosAsync(): Promise<DataServiceResponseData>;
|
|
444
|
+
getSelectorStructure(showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
445
|
+
getPublicationCodeBasedOnLogin(): number;
|
|
446
|
+
getImage(key: number | string, publication: number, thumb: boolean, tableName?: TableName): Promise<DataServiceResponseData>;
|
|
447
|
+
copyInstance(instanceId: string, shouldSaveCurrentInstanceId: boolean, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
448
|
+
saveConfigurations(showLoader?: boolean): Promise<boolean>;
|
|
449
|
+
googleTranslateEnabled(): Promise<boolean>;
|
|
450
|
+
getDefaultLanguage(upId: number): Promise<string>;
|
|
451
|
+
getGoogleTranslation(sourceLang: string, targetLang: string, list: string[]): Promise<string>;
|
|
452
|
+
getImageForSelectorStructure(option: SelectorStructure, publication: number, thumbNail?: boolean, showLoader?: boolean): Promise<string>;
|
|
453
|
+
getJsonConfiguredArticles(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: string, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
|
|
454
|
+
private _getPublicationCodeForRole;
|
|
455
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorService, never>;
|
|
456
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorService>;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
declare class ConfiguratorConnectorService implements OnDestroy {
|
|
460
|
+
private _configuratorService;
|
|
461
|
+
private _appEventService;
|
|
462
|
+
private _settingsService;
|
|
463
|
+
private _loaderService;
|
|
464
|
+
get article(): Article;
|
|
465
|
+
set article(value: Article);
|
|
466
|
+
get sku(): string;
|
|
467
|
+
get objectResult(): ConfigurationResultObject;
|
|
468
|
+
set objectResult(value: ConfigurationResultObject);
|
|
469
|
+
get selections(): Selection[];
|
|
470
|
+
set selections(value: Selection[]);
|
|
471
|
+
get decoNodes(): DecoNode[];
|
|
472
|
+
set decoNodes(value: DecoNode[]);
|
|
473
|
+
get totalPrice(): number;
|
|
474
|
+
get currentSelections(): Selection[];
|
|
475
|
+
get activeSelection(): Selection;
|
|
476
|
+
set activeSelection(value: Selection);
|
|
477
|
+
set selectionWithAnswers(value: SelectorWithOptions[]);
|
|
478
|
+
get selectionWithAnswers(): SelectorWithOptions[];
|
|
479
|
+
get shouldShowLoader(): boolean;
|
|
480
|
+
controllerInitialized: BehaviorSubject<boolean>;
|
|
481
|
+
standAloneInstance: BehaviorSubject<boolean>;
|
|
482
|
+
connectionReset: Subject<void>;
|
|
483
|
+
selectionsToDisplay: Selection[];
|
|
484
|
+
activeQuestion: Question;
|
|
485
|
+
activeAnswers: Answer[];
|
|
486
|
+
assetPath: string;
|
|
487
|
+
private _selections;
|
|
488
|
+
private _currentSelections;
|
|
489
|
+
private _activeSelection;
|
|
490
|
+
private _selectionWithAnswers;
|
|
491
|
+
private _decoNodes;
|
|
492
|
+
private _article;
|
|
493
|
+
private _sku;
|
|
494
|
+
private _objectResult;
|
|
495
|
+
private _totalPrice;
|
|
496
|
+
private _imageCache;
|
|
497
|
+
private _exceptionQuestionChanged;
|
|
498
|
+
private _shouldShowLoader;
|
|
499
|
+
private _connectorOptions;
|
|
500
|
+
private _subs;
|
|
501
|
+
private _initializing;
|
|
502
|
+
private _initialized;
|
|
503
|
+
private _boFactory;
|
|
504
|
+
constructor(_configuratorService: ConfiguratorService, _appEventService: AppEventService, _settingsService: SettingsService, _loaderService: LoaderService);
|
|
505
|
+
ngOnDestroy(): void;
|
|
506
|
+
initConnection(forceReload?: boolean, standAlone?: boolean): Promise<void>;
|
|
507
|
+
onShowLoaderChange(showLoader: boolean): void;
|
|
508
|
+
onConnectionReset(): void;
|
|
509
|
+
getGoodIdFromSku(sku: string, showLoader?: boolean): Promise<number>;
|
|
510
|
+
setSelections(selections: Selection[]): void;
|
|
511
|
+
setDecoNodes(value: DecoNode[]): void;
|
|
512
|
+
getArticleQuickSel(goodId: string, showLoader?: boolean): Promise<Article>;
|
|
513
|
+
getArticleBySku(sku: string, branch: string): Promise<Article>;
|
|
514
|
+
initNodeInstance(goodId: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
515
|
+
changeConnection(instanceId: string, oldConnection: string, newConnection: string, showLoader?: boolean): Promise<boolean>;
|
|
516
|
+
setInstance(instanceId: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
517
|
+
copyInstanceAndSaveOriginalConfiguration(instanceId: string, result: ConfigurationResultObject): Promise<string>;
|
|
518
|
+
copyInstanceAndLoseOriginalConfiguration(instanceId: string, result: ConfigurationResultObject): Promise<string>;
|
|
519
|
+
getQuestionAndAnswersAsync(): Promise<QuestionAndAnswers>;
|
|
520
|
+
emptyAnswersAndQuestion(): void;
|
|
521
|
+
handleAnswersReceived(): void;
|
|
522
|
+
getSelectionsAndDecos(): Promise<void>;
|
|
523
|
+
getSelectionsAsync(): Promise<void>;
|
|
524
|
+
getDecosAsync(): Promise<void>;
|
|
525
|
+
selectAnswer(answer: Answer, input?: string): Promise<DataServiceResponseData>;
|
|
526
|
+
selectAnswerBySelection(selection: Selection, input?: string): Promise<DataServiceResponseData>;
|
|
527
|
+
navigateTo(choseValue: SelectorStructure, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
528
|
+
cancelAnswer(getAnswersAndQuestion?: boolean): Promise<DataServiceResponseData>;
|
|
529
|
+
selectSelection(selection: Selection, forceBackToNode?: boolean, after?: boolean, connector?: string): Promise<DataServiceResponseData>;
|
|
530
|
+
deleteSelection(selection: Selection): Promise<DataServiceResponseData>;
|
|
531
|
+
replaceSelection(selection: Selection): Promise<DataServiceResponseData>;
|
|
532
|
+
getAnswerPrices(): Promise<AnswerPrice[]>;
|
|
533
|
+
extendWithAnswerTextAndImage(answer: Answer, showLoader?: boolean): Promise<void>;
|
|
534
|
+
getSkipButtonImageAndText(goodId?: number): Promise<SkipButtonInfo>;
|
|
535
|
+
extendWithSelectionImage(selection: Selection, showLoader?: boolean): Promise<void>;
|
|
536
|
+
getImageForAnswerOrSelection(answerOrSelection: Answer | Selection, publication: number, thumbNail?: boolean, showLoader?: boolean): Promise<string>;
|
|
537
|
+
getMoodImageForInfoDialog(answerOrSelection: Answer | Selection, thumbNail?: boolean): Promise<string>;
|
|
538
|
+
getAnswerInfo(answer: Answer): Promise<ArticleText[]>;
|
|
539
|
+
getStructureInfo(answer: SelectorStructure): Promise<ArticleText[]>;
|
|
540
|
+
getInternalParameter(parameter: InternalParam): Promise<string>;
|
|
541
|
+
emptySelections(): void;
|
|
542
|
+
saveConfigurations(): Promise<void>;
|
|
543
|
+
getDefaultLanguage(upId: number): Promise<string>;
|
|
544
|
+
googleTranslateEnabled(): Promise<boolean>;
|
|
545
|
+
getGoogleTranslation(sourceLang: string, targetLang: string, list: string[]): Promise<string>;
|
|
546
|
+
getImageForAnswer(selectedOption: SelectorStructure, showLoader?: boolean): Promise<void>;
|
|
547
|
+
addToCart(goodId: number, goodType: string, quantity: number, instanceId: string, externalSource: boolean): Promise<string>;
|
|
548
|
+
getJsonConfiguredArticles(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: string, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<any>;
|
|
549
|
+
isSelectionPublished(selection: Selection): boolean;
|
|
550
|
+
private _prepareSelections;
|
|
551
|
+
private _prepareSelectionsToDisplay;
|
|
552
|
+
private _prepareAnswersAndImages;
|
|
553
|
+
private _handleSelectionAnswers;
|
|
554
|
+
private _isSelectionPublished;
|
|
555
|
+
private _isAllSelectionPublished;
|
|
556
|
+
private _isAnswerPublished;
|
|
557
|
+
private _getPublicationCode;
|
|
558
|
+
private _getUniqueAnswers;
|
|
559
|
+
private _preloadCachedImages;
|
|
560
|
+
private _handleInstanceResponse;
|
|
561
|
+
private _prepareSelectionsNextOptionValues;
|
|
562
|
+
private _createSelectorFullConfiguration;
|
|
563
|
+
private _buildStructureThree;
|
|
564
|
+
private _markLastNodeWithChildren;
|
|
565
|
+
private _isStructurePublished;
|
|
566
|
+
private _loadPricesOfActiveAnswers;
|
|
567
|
+
private _cacheImage;
|
|
568
|
+
private _handleImageReceived;
|
|
569
|
+
private _prepareSelectionsToDisplayImages;
|
|
570
|
+
private _copyInstance;
|
|
571
|
+
private _handleImageReceivedForSelectorStructure;
|
|
572
|
+
private _handleImageResponse;
|
|
573
|
+
private _linkExceptionToOption;
|
|
574
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorConnectorService, never>;
|
|
575
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguratorConnectorService>;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
declare class AppInitializerService {
|
|
579
|
+
private _settingsService;
|
|
580
|
+
private _configuratorConnectorService;
|
|
581
|
+
appInitialized: BehaviorSubject<boolean>;
|
|
582
|
+
constructor(_settingsService: SettingsService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
583
|
+
initializeApp(settings?: ConfiguratorSettings): Promise<void>;
|
|
584
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppInitializerService, never>;
|
|
585
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AppInitializerService>;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
declare class VariationSettingsSettings {
|
|
589
|
+
repeatx: number;
|
|
590
|
+
repeaty: number;
|
|
591
|
+
roughness: number;
|
|
592
|
+
metalness: number;
|
|
593
|
+
}
|
|
594
|
+
declare class VariationSettings {
|
|
595
|
+
id: string;
|
|
596
|
+
settings: VariationSettingsSettings;
|
|
597
|
+
texture: string;
|
|
598
|
+
textureFilename: string;
|
|
599
|
+
normal: string;
|
|
600
|
+
normalFilename: string;
|
|
601
|
+
ao: string;
|
|
602
|
+
aoFilename: string;
|
|
603
|
+
metalness: string;
|
|
604
|
+
metalnessFilename: string;
|
|
605
|
+
roughness: string;
|
|
606
|
+
roughnessFilename: string;
|
|
607
|
+
orm: string;
|
|
608
|
+
ormFilename: string;
|
|
609
|
+
displacement: string;
|
|
610
|
+
displacementValue: number;
|
|
611
|
+
displacementFilename: string;
|
|
612
|
+
sheen: number;
|
|
613
|
+
sheenColor: Color;
|
|
614
|
+
sheenColorMap: string;
|
|
615
|
+
sheenColorMapFilename: string;
|
|
616
|
+
sheenRoughness: number;
|
|
617
|
+
sheenRoughnessMap: string;
|
|
618
|
+
sheenRoughnessMapFilename: string;
|
|
619
|
+
transmissionMap: string;
|
|
620
|
+
transmissionMapFilename: string;
|
|
621
|
+
emissive: string;
|
|
622
|
+
emissiveFilename: string;
|
|
623
|
+
emissiveIntensity: number;
|
|
624
|
+
emissiveValue: Color;
|
|
625
|
+
opacity: number;
|
|
626
|
+
transparent: boolean;
|
|
627
|
+
envMap: string;
|
|
628
|
+
envMapFilename: string;
|
|
629
|
+
envMapIntensity: number;
|
|
630
|
+
reflectivity: number;
|
|
631
|
+
side: Side;
|
|
632
|
+
transmission: number;
|
|
633
|
+
ior: number;
|
|
634
|
+
thickness: number;
|
|
635
|
+
specularIntensity: number;
|
|
636
|
+
loading: boolean;
|
|
637
|
+
loaded: Subject<VariationSettings>;
|
|
638
|
+
material: any;
|
|
639
|
+
copyFrom(settings: VariationSettings): void;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
declare class VariationCacheService implements OnDestroy {
|
|
643
|
+
private _settingsService;
|
|
644
|
+
private _variations;
|
|
645
|
+
private _subs;
|
|
646
|
+
constructor(_settingsService: SettingsService);
|
|
647
|
+
ngOnDestroy(): void;
|
|
648
|
+
get(id: string): VariationSettings;
|
|
649
|
+
set(variations: VariationSettings): void;
|
|
650
|
+
preloadVariations(schema: string, decoNodes: DecoNode[], articleAssetPath?: string): void;
|
|
651
|
+
preloadVariationsAsync(schema: string, decoNodes: DecoNode[] | Answer[] | SelectorStructure[], articleAssetPath?: string): Promise<void>;
|
|
652
|
+
loadVariation(fileName: string): Promise<VariationSettings>;
|
|
653
|
+
private _waitForVariationToLoad;
|
|
654
|
+
private _createSettingsForFileName;
|
|
655
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VariationCacheService, never>;
|
|
656
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VariationCacheService>;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
declare class ProgressService {
|
|
660
|
+
private _progressPercent;
|
|
661
|
+
get progress(): number;
|
|
662
|
+
set progress(value: number);
|
|
663
|
+
constructor();
|
|
664
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressService, never>;
|
|
665
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProgressService>;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
declare class CameraService implements OnDestroy {
|
|
669
|
+
private _settingsService;
|
|
670
|
+
readonly panSpeed: number;
|
|
671
|
+
readonly rotateBy: number;
|
|
672
|
+
readonly moveBy: number;
|
|
673
|
+
readonly cameraDefaultHeight: number;
|
|
674
|
+
readonly targetDefaultOffset: number;
|
|
675
|
+
readonly exploreDistanceFromCorner: number;
|
|
676
|
+
camera: PerspectiveCamera;
|
|
677
|
+
controls: any;
|
|
678
|
+
cameraMovementChanged: Subject<void>;
|
|
679
|
+
private _cameraLocked;
|
|
680
|
+
private _element;
|
|
681
|
+
private _viewSize;
|
|
682
|
+
private _viewCenter;
|
|
683
|
+
private _exploreTargetDistance;
|
|
684
|
+
private _realAspectRatio;
|
|
685
|
+
private _aspectRatio;
|
|
686
|
+
private _viewMode;
|
|
687
|
+
private _subs;
|
|
688
|
+
get cameraLocked(): boolean;
|
|
689
|
+
set realAspectRatio(value: number);
|
|
690
|
+
constructor(_settingsService: SettingsService);
|
|
691
|
+
ngOnDestroy(): void;
|
|
692
|
+
init(element: HTMLElement): void;
|
|
693
|
+
cameraZoomIn(): void;
|
|
694
|
+
cameraZoomOut(): void;
|
|
695
|
+
lockCamera(): void;
|
|
696
|
+
unlockCamera(): void;
|
|
697
|
+
disableRotate(): void;
|
|
698
|
+
disableRotateHorizontal(): void;
|
|
699
|
+
disablePan(): void;
|
|
700
|
+
disableZoom(): void;
|
|
701
|
+
moveCameraToFitObject(object: any, offset?: number): Promise<void>;
|
|
702
|
+
private _getCameraOffset;
|
|
703
|
+
private _controlsUpdate;
|
|
704
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CameraService, never>;
|
|
705
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CameraService>;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
declare enum XrMode {
|
|
709
|
+
ArMode = "Ar Mode",
|
|
710
|
+
VrMode = "Vr Mode"
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
declare class DebugService {
|
|
714
|
+
debugMessages: string[];
|
|
715
|
+
averageRenderTime: number;
|
|
716
|
+
lastTimestamp: number;
|
|
717
|
+
measurements: any[];
|
|
718
|
+
runTest: boolean;
|
|
719
|
+
addMessage(message: string): void;
|
|
720
|
+
measureRenderTime(): void;
|
|
721
|
+
resetMeasurements(): void;
|
|
722
|
+
startToggle(): void;
|
|
723
|
+
getAverageRenderTime(): number;
|
|
724
|
+
getFramesMeasuredAmount(): number;
|
|
725
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DebugService, never>;
|
|
726
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DebugService>;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
declare class FontService {
|
|
730
|
+
hudFont: Font;
|
|
731
|
+
monospaceFont: Font;
|
|
732
|
+
constructor();
|
|
733
|
+
private _loadFont;
|
|
734
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FontService, never>;
|
|
735
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FontService>;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
declare class MessageBoardService {
|
|
739
|
+
private _settingsService;
|
|
740
|
+
private _fontService;
|
|
741
|
+
scene: Scene;
|
|
742
|
+
board: Mesh;
|
|
743
|
+
messages: Mesh[];
|
|
744
|
+
private _font;
|
|
745
|
+
constructor(_settingsService: SettingsService, _fontService: FontService);
|
|
746
|
+
init(scene: Scene): Promise<void>;
|
|
747
|
+
addMessage(message: string): void;
|
|
748
|
+
private _createMessageBoard;
|
|
749
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessageBoardService, never>;
|
|
750
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MessageBoardService>;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
declare class XrService implements OnDestroy {
|
|
754
|
+
private _settingsService;
|
|
755
|
+
private _debugService;
|
|
756
|
+
private _messageBoard;
|
|
757
|
+
gamepad: any;
|
|
758
|
+
axes: number[];
|
|
759
|
+
touchpadIsPressed: boolean;
|
|
760
|
+
triggerIsPressed: boolean;
|
|
761
|
+
angularVelocity: THREE.Vector3;
|
|
762
|
+
renderer: WebGLRenderer;
|
|
763
|
+
scene: Scene;
|
|
764
|
+
camera: Camera;
|
|
765
|
+
controller: any;
|
|
766
|
+
vrSupported: boolean;
|
|
767
|
+
arSupported: boolean;
|
|
768
|
+
sessionStarted: Subject<XrMode>;
|
|
769
|
+
sessionEnded: Subject<void>;
|
|
770
|
+
userSelectInAr: BehaviorSubject<boolean>;
|
|
771
|
+
refSpace: any;
|
|
772
|
+
viewerSpace: any;
|
|
773
|
+
session: any;
|
|
774
|
+
hitTestSource: any;
|
|
775
|
+
private _vrDisplay;
|
|
776
|
+
private _vrController;
|
|
777
|
+
private _subs;
|
|
778
|
+
private _cameraHeight;
|
|
779
|
+
private _mode;
|
|
780
|
+
constructor(_settingsService: SettingsService, _debugService: DebugService, _messageBoard: MessageBoardService);
|
|
781
|
+
ngOnDestroy(): void;
|
|
782
|
+
init(renderer: WebGLRenderer, scene: Scene, camera: Camera): Promise<void>;
|
|
783
|
+
startAr(): void;
|
|
784
|
+
stopAr(): void;
|
|
785
|
+
startVr(): void;
|
|
786
|
+
stopVr(): void;
|
|
787
|
+
update(): void;
|
|
788
|
+
private _doBeforeRenderScene;
|
|
789
|
+
private _logMessage;
|
|
790
|
+
private _onSessionStarted;
|
|
791
|
+
private _onUserSelect;
|
|
792
|
+
private _onSessionEnded;
|
|
793
|
+
private _updateController;
|
|
794
|
+
private _findGamepad;
|
|
795
|
+
private _createController;
|
|
796
|
+
private _createMeshes;
|
|
797
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XrService, never>;
|
|
798
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<XrService>;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
declare class VrService {
|
|
802
|
+
private _scene;
|
|
803
|
+
private _renderer;
|
|
804
|
+
private _camera;
|
|
805
|
+
private _tempMatrix;
|
|
806
|
+
private _currentClosestIntersection;
|
|
807
|
+
private _meshes;
|
|
808
|
+
private _raycaster;
|
|
809
|
+
private _reticle;
|
|
810
|
+
private _controller0;
|
|
811
|
+
private _controller1;
|
|
812
|
+
private _session;
|
|
813
|
+
private _user;
|
|
814
|
+
private _selectedObject;
|
|
815
|
+
constructor();
|
|
816
|
+
init(scene: Scene, renderer: WebGLRenderer): void;
|
|
817
|
+
render(): void;
|
|
818
|
+
endSession(): void;
|
|
819
|
+
private _initSession;
|
|
820
|
+
private _onSessionStarted;
|
|
821
|
+
private _onSessionEnded;
|
|
822
|
+
startVRSession(): void;
|
|
823
|
+
private _createControllers;
|
|
824
|
+
private _onSelectStart;
|
|
825
|
+
private _onSelectEnd;
|
|
826
|
+
private _getIntersections;
|
|
827
|
+
private _registerMeshes;
|
|
828
|
+
private _handleIntersections;
|
|
829
|
+
private _handleControllerIntersections;
|
|
830
|
+
private _getNearestIntersection;
|
|
831
|
+
private _handleFloorIntersection;
|
|
832
|
+
private _handleObjectIntersection;
|
|
833
|
+
private _handleNoIntersections;
|
|
834
|
+
private _updateControllerRay;
|
|
835
|
+
private _isObjectFloor;
|
|
836
|
+
private _getParentOfChild;
|
|
837
|
+
private _updateObjectSelection;
|
|
838
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VrService, never>;
|
|
839
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VrService>;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
declare class ArService implements OnDestroy {
|
|
843
|
+
private _cameraService;
|
|
844
|
+
private _settingsService;
|
|
845
|
+
private _iOne;
|
|
846
|
+
updateContextMenu: BehaviorSubject<void>;
|
|
847
|
+
shouldAddObjectToScene: Subject<Object3D>;
|
|
848
|
+
showConfigurator: boolean;
|
|
849
|
+
refSpace: any;
|
|
850
|
+
hitTestSource: any;
|
|
851
|
+
scene: Scene;
|
|
852
|
+
userInSelectionMenu: boolean;
|
|
853
|
+
showContextMenu: boolean;
|
|
854
|
+
private _arFeatures;
|
|
855
|
+
private _renderer;
|
|
856
|
+
private _glBinding;
|
|
857
|
+
private _session;
|
|
858
|
+
private _debug;
|
|
859
|
+
private _surfaceFoundOnce;
|
|
860
|
+
private _reticle;
|
|
861
|
+
private _hitTestResult;
|
|
862
|
+
private _reticleHitTestResult;
|
|
863
|
+
private _anchoredObjects;
|
|
864
|
+
private _activeARModel;
|
|
865
|
+
private _aRModelBackupYPosition;
|
|
866
|
+
private _aRModelBackupPosition;
|
|
867
|
+
private _aRModelBackupYRotation;
|
|
868
|
+
private _aRModelRotationStartingValue;
|
|
869
|
+
private _vertexList;
|
|
870
|
+
private _detectedPlanes;
|
|
871
|
+
private _rawPlanes;
|
|
872
|
+
private _planeMaterial;
|
|
873
|
+
private _shadowPlane;
|
|
874
|
+
private _lastEventTimestamp;
|
|
875
|
+
private _lastObjectTouchTimestamp;
|
|
876
|
+
private _doubleTapTimeframe;
|
|
877
|
+
private _holdingTouch;
|
|
878
|
+
private _controller;
|
|
879
|
+
private _raycaster;
|
|
880
|
+
private _tempMatrix;
|
|
881
|
+
private _cleanup;
|
|
882
|
+
private _animating;
|
|
883
|
+
private _liftAnimation;
|
|
884
|
+
private _dropAnimation;
|
|
885
|
+
private _lightProbe;
|
|
886
|
+
private _threeLightProbe;
|
|
887
|
+
private _cubeMapTexture;
|
|
888
|
+
private _depthDataTexture;
|
|
889
|
+
private _sunLight;
|
|
890
|
+
private _positionIndicator;
|
|
891
|
+
private _pointRepresentation;
|
|
892
|
+
constructor(_cameraService: CameraService, _settingsService: SettingsService, _iOne: ConfiguratorConnectorService);
|
|
893
|
+
ngOnDestroy(): void;
|
|
894
|
+
resetPlaneDetection(): Promise<void>;
|
|
895
|
+
endSessionEvent(): void;
|
|
896
|
+
arIOSSupported(): Promise<boolean>;
|
|
897
|
+
arSupported(): Promise<any>;
|
|
898
|
+
addObjectToARScene(object: Object3D): void;
|
|
899
|
+
modelLoading(): boolean;
|
|
900
|
+
modelPlaced(): boolean;
|
|
901
|
+
handleFrame(xrFrame: any): void;
|
|
902
|
+
init(renderer: WebGLRenderer): void;
|
|
903
|
+
savePreSelectionPosition(): void;
|
|
904
|
+
updateChangedModel(): void;
|
|
905
|
+
arModeHasBeenActive(): boolean;
|
|
906
|
+
showMovePhoneAnimation(): boolean;
|
|
907
|
+
getActiveModel(): any;
|
|
908
|
+
private _initSession;
|
|
909
|
+
private _checkAvailableFeatures;
|
|
910
|
+
private _initRenderer;
|
|
911
|
+
private _initController;
|
|
912
|
+
private _initScene;
|
|
913
|
+
private _initLightEstimation;
|
|
914
|
+
private _initReflectionCubeMap;
|
|
915
|
+
private _initCPUDepthOcclusion;
|
|
916
|
+
private _initAnchoredHitTest;
|
|
917
|
+
private _initPlaneDetection;
|
|
918
|
+
private _initLighting;
|
|
919
|
+
private _checkHitTestMethod;
|
|
920
|
+
private _executeDepthAnchorHitTest;
|
|
921
|
+
private _executeAnchoredHitTest;
|
|
922
|
+
private _executeCPUDepthHitTest;
|
|
923
|
+
private _executeDefaultHitTest;
|
|
924
|
+
private _checkExtraFeatures;
|
|
925
|
+
private _hideOccludedMeshes;
|
|
926
|
+
private _createPlaneMaterial;
|
|
927
|
+
private _onSessionStarted;
|
|
928
|
+
private _onSessionEnded;
|
|
929
|
+
private _setArModelShadows;
|
|
930
|
+
private _handleTouchEvent;
|
|
931
|
+
private _handleMultiTouchEvent;
|
|
932
|
+
private _handleDoubleTapEvent;
|
|
933
|
+
private _checkIfHoldTouchEvent;
|
|
934
|
+
private _handleHoldStartEvent;
|
|
935
|
+
private _handleHoldEndEvent;
|
|
936
|
+
private _toggleHoldTouchEvent;
|
|
937
|
+
private _handleHoldMoveEvent;
|
|
938
|
+
private _updateShadows;
|
|
939
|
+
private _adjustLighting;
|
|
940
|
+
private _toggleARModelTransparency;
|
|
941
|
+
private _setPlanesVisibilty;
|
|
942
|
+
private _getObjectIntersections;
|
|
943
|
+
private _drawPlane;
|
|
944
|
+
private _drawPlanes;
|
|
945
|
+
private _callLiftAnimation;
|
|
946
|
+
private _callDropAnimation;
|
|
947
|
+
private _createAugmentedMaterial;
|
|
948
|
+
private _updateAugmentedMaterialUniforms;
|
|
949
|
+
private _updateMeshMaterials;
|
|
950
|
+
private _removeMaterialShaders;
|
|
951
|
+
private _checkingInterfaceInteraction;
|
|
952
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArService, never>;
|
|
953
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ArService>;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
declare enum ConfigurationKey {
|
|
957
|
+
DimensioningUnit = "dimUnit",
|
|
958
|
+
DimensioningSquareUnit = "dimSqUnit",
|
|
959
|
+
AngleUnit = "angleUnit",
|
|
960
|
+
CmStep = "cmStep",
|
|
961
|
+
MStep = "mStep",
|
|
962
|
+
MmStep = "mmStep",
|
|
963
|
+
AngleLabelDistanceInCm = "angleLabelDistanceCm",
|
|
964
|
+
WallHeight = "wallHeight",
|
|
965
|
+
WallThickness = "wallThickness",
|
|
966
|
+
MaxWallHeight = "maxWallHeight",
|
|
967
|
+
MaxWallThickness = "maxWallThickness",
|
|
968
|
+
MaxWallLength = "maxWallLength",
|
|
969
|
+
MinWallLength = "minWallLength",
|
|
970
|
+
WallSnapping = "wallSnapping",
|
|
971
|
+
CornerSnapping = "cornerSnapping",
|
|
972
|
+
ShowObjectDistances = "showObjectDistances",
|
|
973
|
+
ShowObjectMeasurements = "showObjectMeasurements",
|
|
974
|
+
ShowDetailedWallMeasurements = "showDetailedWallMeasurements",
|
|
975
|
+
ShowWallItemMeasurements = "showWallItemMeasurements",
|
|
976
|
+
ShowWallMeasurements = "showWallMeasurements",
|
|
977
|
+
ShowCornerAngles = "showCornerAngles",
|
|
978
|
+
RotationSnappingEnabled = "RotationSnappingEnabled",
|
|
979
|
+
DisplayCustomShapeNames = "DisplayCustomShapeNames",
|
|
980
|
+
ShowWalkThroughCameraControls = "ShowWalkThroughCameraControls",
|
|
981
|
+
ShowInteriorLights = "ShowInteriorLights",
|
|
982
|
+
InteriorLightIntensity = "InteriorLightIntensity",
|
|
983
|
+
ShowLightingControls = "ShowLightingControls",
|
|
984
|
+
ShowLightplansDialog = "ShowLightplansDialog",
|
|
985
|
+
WalkThroughCameraFoV = "WalkThroughCameraFoV",
|
|
986
|
+
WalkThroughCameraAspectRatio = "WalkThroughCameraAspectRatio",
|
|
987
|
+
WalkThroughCameraFocus = "WalkThroughCameraFocus",
|
|
988
|
+
ShowPostProcessingSettings = "showPostProcessingSettings",
|
|
989
|
+
ShowWalls = "ShowWalls",
|
|
990
|
+
ShowCeiling = "ShowCeiling",
|
|
991
|
+
IsLimited = "IsLimited",
|
|
992
|
+
EnableTouch = "EnableTouch",
|
|
993
|
+
CameraFOV = "CameraFOV"
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
interface ConfigurationData {
|
|
997
|
+
[ConfigurationKey.DimensioningUnit]?: string;
|
|
998
|
+
[ConfigurationKey.DimensioningSquareUnit]?: string;
|
|
999
|
+
[ConfigurationKey.AngleUnit]?: string;
|
|
1000
|
+
[ConfigurationKey.CmStep]?: number;
|
|
1001
|
+
[ConfigurationKey.MStep]?: number;
|
|
1002
|
+
[ConfigurationKey.MmStep]?: number;
|
|
1003
|
+
[ConfigurationKey.AngleLabelDistanceInCm]?: number;
|
|
1004
|
+
[ConfigurationKey.WallHeight]?: number;
|
|
1005
|
+
[ConfigurationKey.WallThickness]?: number;
|
|
1006
|
+
[ConfigurationKey.MaxWallHeight]?: number;
|
|
1007
|
+
[ConfigurationKey.MaxWallThickness]?: number;
|
|
1008
|
+
[ConfigurationKey.MaxWallLength]?: number;
|
|
1009
|
+
[ConfigurationKey.MinWallLength]?: number;
|
|
1010
|
+
[ConfigurationKey.WallSnapping]?: boolean;
|
|
1011
|
+
[ConfigurationKey.CornerSnapping]?: boolean;
|
|
1012
|
+
[ConfigurationKey.ShowObjectDistances]?: boolean;
|
|
1013
|
+
[ConfigurationKey.ShowObjectMeasurements]?: boolean;
|
|
1014
|
+
[ConfigurationKey.ShowDetailedWallMeasurements]?: boolean;
|
|
1015
|
+
[ConfigurationKey.ShowWallItemMeasurements]?: boolean;
|
|
1016
|
+
[ConfigurationKey.ShowWallMeasurements]?: boolean;
|
|
1017
|
+
[ConfigurationKey.ShowCornerAngles]?: boolean;
|
|
1018
|
+
[ConfigurationKey.RotationSnappingEnabled]?: boolean;
|
|
1019
|
+
[ConfigurationKey.DisplayCustomShapeNames]?: boolean;
|
|
1020
|
+
[ConfigurationKey.ShowInteriorLights]?: boolean;
|
|
1021
|
+
[ConfigurationKey.InteriorLightIntensity]?: number;
|
|
1022
|
+
[ConfigurationKey.ShowWalkThroughCameraControls]?: boolean;
|
|
1023
|
+
[ConfigurationKey.ShowLightingControls]?: boolean;
|
|
1024
|
+
[ConfigurationKey.ShowLightplansDialog]?: boolean;
|
|
1025
|
+
[ConfigurationKey.WalkThroughCameraFoV]?: number;
|
|
1026
|
+
[ConfigurationKey.WalkThroughCameraAspectRatio]?: number;
|
|
1027
|
+
[ConfigurationKey.WalkThroughCameraFocus]?: number;
|
|
1028
|
+
[ConfigurationKey.ShowPostProcessingSettings]?: boolean;
|
|
1029
|
+
[ConfigurationKey.ShowWalls]?: boolean;
|
|
1030
|
+
[ConfigurationKey.ShowCeiling]?: boolean;
|
|
1031
|
+
[ConfigurationKey.IsLimited]?: boolean;
|
|
1032
|
+
[ConfigurationKey.EnableTouch]?: boolean;
|
|
1033
|
+
[ConfigurationKey.CameraFOV]?: number;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
declare class ConfigurationService {
|
|
1037
|
+
private _data;
|
|
1038
|
+
onChange: BehaviorSubject<{}>;
|
|
1039
|
+
setValue<T extends ConfigurationKey>(key: T, value: ConfigurationData[T]): void;
|
|
1040
|
+
getValue<T extends ConfigurationKey>(key: T): ConfigurationData[T];
|
|
1041
|
+
get(): ConfigurationData;
|
|
1042
|
+
set(data: ConfigurationData): void;
|
|
1043
|
+
getDistanceStep(): number;
|
|
1044
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationService, never>;
|
|
1045
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationService>;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
declare enum DeviceSizeType {
|
|
1049
|
+
Desktop = "desktop",
|
|
1050
|
+
Tablet = "tablet",
|
|
1051
|
+
Phone = "phone"
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
interface ScreenSizeInfo {
|
|
1055
|
+
width: number;
|
|
1056
|
+
height: number;
|
|
1057
|
+
deviceSizeType: DeviceSizeType;
|
|
1058
|
+
isDesktopSize: boolean;
|
|
1059
|
+
isTabletSize: boolean;
|
|
1060
|
+
isPhoneSize: boolean;
|
|
1061
|
+
isPortraitMode: boolean;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
declare class ScreenSizeAnalysisService implements OnDestroy, OnInit {
|
|
1065
|
+
private _eventManager;
|
|
1066
|
+
private _deviceDetectorService;
|
|
1067
|
+
private _onResizeSubject;
|
|
1068
|
+
get screenSizeChanged(): Observable<ScreenSizeInfo>;
|
|
1069
|
+
get isMobileDevice(): boolean;
|
|
1070
|
+
constructor(_eventManager: EventManager, _deviceDetectorService: DeviceDetectorService);
|
|
1071
|
+
ngOnInit(): void;
|
|
1072
|
+
ngOnDestroy(): void;
|
|
1073
|
+
getScreenSizeInfo(window: Window): ScreenSizeInfo;
|
|
1074
|
+
isIphoneOrIpad(): boolean;
|
|
1075
|
+
isSafari(): boolean;
|
|
1076
|
+
navigatorType(): NavigatorType;
|
|
1077
|
+
private _getCurrentScreenSize;
|
|
1078
|
+
private _initOnResizeObservable;
|
|
1079
|
+
private _getDeviceSizeType;
|
|
1080
|
+
private _checkImageBitmapDisable;
|
|
1081
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScreenSizeAnalysisService, never>;
|
|
1082
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ScreenSizeAnalysisService>;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
declare class PostProcessingService implements OnDestroy {
|
|
1086
|
+
private _configurationService;
|
|
1087
|
+
private _settingsService;
|
|
1088
|
+
private _appEventService;
|
|
1089
|
+
private _screenSizeAnalysis;
|
|
1090
|
+
private _aoEnabled;
|
|
1091
|
+
private _aaEnabled;
|
|
1092
|
+
private _vignetteEnabled;
|
|
1093
|
+
private _vignetteOffset;
|
|
1094
|
+
private _vignetteDarkness;
|
|
1095
|
+
private _composer;
|
|
1096
|
+
private _n8aoPass;
|
|
1097
|
+
private _renderPass;
|
|
1098
|
+
private _outputPass;
|
|
1099
|
+
private _fxaaPass;
|
|
1100
|
+
private _smaaPass;
|
|
1101
|
+
private _ssaaPass;
|
|
1102
|
+
private _taaRenderPass;
|
|
1103
|
+
private _vignettePass;
|
|
1104
|
+
private _outlinePass;
|
|
1105
|
+
private _scene;
|
|
1106
|
+
private _renderer;
|
|
1107
|
+
private _camera;
|
|
1108
|
+
private _blendShader;
|
|
1109
|
+
private _width;
|
|
1110
|
+
private _height;
|
|
1111
|
+
private _outlinePassAsError;
|
|
1112
|
+
private _hideOutlineTimer;
|
|
1113
|
+
private _hideOutlineTimeout;
|
|
1114
|
+
private _standalone;
|
|
1115
|
+
private _cameraMoved;
|
|
1116
|
+
private _postProcessingGui;
|
|
1117
|
+
private _subs;
|
|
1118
|
+
private _aoDefaultOptions;
|
|
1119
|
+
private _aoOptions;
|
|
1120
|
+
private _aaDefaultOptions;
|
|
1121
|
+
private _aaOptions;
|
|
1122
|
+
private _vignetteDefaultOptions;
|
|
1123
|
+
private _vignetteOptions;
|
|
1124
|
+
aoEnabled: boolean;
|
|
1125
|
+
aaEnabled: boolean;
|
|
1126
|
+
vignetteEnabled: boolean;
|
|
1127
|
+
constructor(_configurationService: ConfigurationService, _settingsService: SettingsService, _appEventService: AppEventService, _screenSizeAnalysis: ScreenSizeAnalysisService);
|
|
1128
|
+
ngOnDestroy(): void;
|
|
1129
|
+
init(renderer: WebGLRenderer, scene: Scene, camera: PerspectiveCamera, width: number, height: number, standalone: boolean): void;
|
|
1130
|
+
setSize(width: number, height: number, force?: boolean): void;
|
|
1131
|
+
render(): void;
|
|
1132
|
+
cameraMovementChanged(): void;
|
|
1133
|
+
showGui(): void;
|
|
1134
|
+
hideGui(): void;
|
|
1135
|
+
forceRenderCanvas(): void;
|
|
1136
|
+
private _loadSetting;
|
|
1137
|
+
private _showErrorOutline;
|
|
1138
|
+
private _showOutline;
|
|
1139
|
+
private _hideOutline;
|
|
1140
|
+
private _updateAASize;
|
|
1141
|
+
private _initComposer;
|
|
1142
|
+
private _cleanUp;
|
|
1143
|
+
private _applyAoProps;
|
|
1144
|
+
private _createGuiTaaPass;
|
|
1145
|
+
private _showHideGui;
|
|
1146
|
+
private _createGui;
|
|
1147
|
+
private _setErrorGlowSettings;
|
|
1148
|
+
private _setSelectionGlowSettings;
|
|
1149
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PostProcessingService, never>;
|
|
1150
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PostProcessingService>;
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
declare enum ViewMode {
|
|
1154
|
+
RoomPlan3D = "3D roomplan",
|
|
1155
|
+
VR = "VR",
|
|
1156
|
+
AR = "AR"
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
declare class ViewModeService {
|
|
1160
|
+
viewModeChanged: BehaviorSubject<ViewMode>;
|
|
1161
|
+
private _viewMode;
|
|
1162
|
+
viewSize: Vector3;
|
|
1163
|
+
viewCenter: Vector3;
|
|
1164
|
+
set viewMode(value: ViewMode);
|
|
1165
|
+
get viewMode(): ViewMode;
|
|
1166
|
+
setViewMode(viewSize: Vector3, viewCenter: Vector3, mode: ViewMode): void;
|
|
1167
|
+
is3dViewActive(): boolean;
|
|
1168
|
+
isVRViewActive(): boolean;
|
|
1169
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ViewModeService, never>;
|
|
1170
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ViewModeService>;
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
declare class SceneService implements OnDestroy {
|
|
1174
|
+
private _cameraService;
|
|
1175
|
+
private _xrService;
|
|
1176
|
+
private _vrService;
|
|
1177
|
+
private _arService;
|
|
1178
|
+
private _settingsService;
|
|
1179
|
+
private _postProcessing;
|
|
1180
|
+
private _viewModeService;
|
|
1181
|
+
set needsRender(value: boolean);
|
|
1182
|
+
get needsRender(): boolean;
|
|
1183
|
+
scene: Scene;
|
|
1184
|
+
renderer: WebGLRenderer;
|
|
1185
|
+
pathTracer: WebGLPathTracer;
|
|
1186
|
+
standAlone: boolean;
|
|
1187
|
+
onBeforeRender: Subject<{
|
|
1188
|
+
renderer: WebGLRenderer;
|
|
1189
|
+
scene: Scene;
|
|
1190
|
+
}>;
|
|
1191
|
+
onAfterRender: Subject<{
|
|
1192
|
+
renderer: WebGLRenderer;
|
|
1193
|
+
scene: Scene;
|
|
1194
|
+
}>;
|
|
1195
|
+
sceneInitialized: BehaviorSubject<boolean>;
|
|
1196
|
+
renderingThroughPostProcessingPipeline: boolean;
|
|
1197
|
+
webGL2Available: boolean;
|
|
1198
|
+
domElement: HTMLElement;
|
|
1199
|
+
private _needsRender;
|
|
1200
|
+
private _arMode;
|
|
1201
|
+
private _subs;
|
|
1202
|
+
private _maxRenderSamples;
|
|
1203
|
+
private _numberOfSamplesRendered;
|
|
1204
|
+
constructor(_cameraService: CameraService, _xrService: XrService, _vrService: VrService, _arService: ArService, _settingsService: SettingsService, _postProcessing: PostProcessingService, _viewModeService: ViewModeService);
|
|
1205
|
+
ngOnDestroy(): void;
|
|
1206
|
+
getScene(): Scene;
|
|
1207
|
+
set arMode(value: boolean);
|
|
1208
|
+
get arMode(): boolean;
|
|
1209
|
+
takeScreenshot(): string;
|
|
1210
|
+
init(element: HTMLElement): Promise<void>;
|
|
1211
|
+
getSceneCanvasImage(): string;
|
|
1212
|
+
addObject(obj: Object3D, forceRender?: boolean): void;
|
|
1213
|
+
removeObject(obj: Object3D | Mesh, forceRender?: boolean, cleanUp?: boolean): void;
|
|
1214
|
+
updatePathTracer(): void;
|
|
1215
|
+
positionInSceneToScreen(pos: Vector3): Vector2;
|
|
1216
|
+
rendererPropsChange(): void;
|
|
1217
|
+
private _initScene;
|
|
1218
|
+
private _initCamera;
|
|
1219
|
+
private _initPostProcessing;
|
|
1220
|
+
private _initPathTracer;
|
|
1221
|
+
private _initRenderer;
|
|
1222
|
+
private _resizeRendererToDisplaySize;
|
|
1223
|
+
private _updateWindowSize;
|
|
1224
|
+
private _checkCanvasResize;
|
|
1225
|
+
private _render;
|
|
1226
|
+
private _animate;
|
|
1227
|
+
private _pauseAnimation;
|
|
1228
|
+
private _setSceneBackground;
|
|
1229
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SceneService, never>;
|
|
1230
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SceneService>;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
declare class ItemService implements OnDestroy {
|
|
1234
|
+
private _sceneService;
|
|
1235
|
+
get sceneItems(): Object3D[];
|
|
1236
|
+
private _sceneItems;
|
|
1237
|
+
constructor(_sceneService: SceneService);
|
|
1238
|
+
ngOnDestroy(): void;
|
|
1239
|
+
addItem(item: Object3D, replace?: boolean): void;
|
|
1240
|
+
removeAllItems(): void;
|
|
1241
|
+
removeItem(obj: any): void;
|
|
1242
|
+
objectDimensions(object: Object3D): Vector3;
|
|
1243
|
+
glassMaterialCheck(item: Object3D): void;
|
|
1244
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItemService, never>;
|
|
1245
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ItemService>;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
declare class UtilsService implements OnDestroy {
|
|
1249
|
+
private _settingsService;
|
|
1250
|
+
private _progressService;
|
|
1251
|
+
private _itemService;
|
|
1252
|
+
clips: any;
|
|
1253
|
+
private _objectCache;
|
|
1254
|
+
private _subs;
|
|
1255
|
+
constructor(_settingsService: SettingsService, _progressService: ProgressService, _itemService: ItemService);
|
|
1256
|
+
ngOnDestroy(): void;
|
|
1257
|
+
createCanvasImage(thumbnail?: boolean): string;
|
|
1258
|
+
loadObjModel(filePath: string, mtlUrl?: string): Promise<any>;
|
|
1259
|
+
downloadUSDZforARIOS(object: Object3D): Promise<void>;
|
|
1260
|
+
cleanedUpObjects(object: Object3D, cleanUp?: boolean): Object3D;
|
|
1261
|
+
private _addGroupChildrenToObject;
|
|
1262
|
+
private _handleUpdateProgressBar;
|
|
1263
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UtilsService, never>;
|
|
1264
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UtilsService>;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
declare class ThreedselectorService {
|
|
1268
|
+
private _variationCacheService;
|
|
1269
|
+
private _settingsService;
|
|
1270
|
+
private _utilsService;
|
|
1271
|
+
private _threedUtils;
|
|
1272
|
+
constructor(_variationCacheService: VariationCacheService, _settingsService: SettingsService, _utilsService: UtilsService);
|
|
1273
|
+
downloadAssetsAndReturn(fileName: string, assetPath: string, prepareProgress?: boolean): Promise<THREE.Object3D>;
|
|
1274
|
+
loadVariation(id: string): Promise<VariationSettings>;
|
|
1275
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorService, never>;
|
|
1276
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ThreedselectorService>;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
declare class VariationService {
|
|
1280
|
+
private _threedSelectorService;
|
|
1281
|
+
loadedAsset: string;
|
|
1282
|
+
private _lastKnownVariations;
|
|
1283
|
+
constructor(_threedSelectorService: ThreedselectorService);
|
|
1284
|
+
clearCache(): void;
|
|
1285
|
+
loadPart(assetPath: string, parts: any[], instanceId: string, obj: Object3D, usePbr?: boolean): Promise<void>;
|
|
1286
|
+
loadVariation(assetPath: string, parts: any[], instanceId: string, obj: Object3D, usePbr?: boolean): Promise<void>;
|
|
1287
|
+
loadVariationFromLocalFile(id: string, file: any, obj: Object3D): Promise<void>;
|
|
1288
|
+
loadVariationForMaterial(gameObject: string): Promise<any>;
|
|
1289
|
+
loadVariationByAssetUrl(assetUrl: string): Promise<any>;
|
|
1290
|
+
createVariationForMaterialPreview(compressedZip: Blob): Promise<any>;
|
|
1291
|
+
private _applyMaterialPart;
|
|
1292
|
+
private _applyVariations;
|
|
1293
|
+
private _applyMaterial;
|
|
1294
|
+
private _setMeshMaterialFromVariation;
|
|
1295
|
+
private _setLastKnownVariations;
|
|
1296
|
+
private _getLastKnownVariations;
|
|
1297
|
+
private _getChildrenFilterByProp;
|
|
1298
|
+
private _createVariationFromNode;
|
|
1299
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VariationService, never>;
|
|
1300
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VariationService>;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
1304
|
+
protected configuratorConnectorService: ConfiguratorConnectorService;
|
|
1305
|
+
protected dictionaryService: DictionaryService;
|
|
1306
|
+
protected appEventService: AppEventService;
|
|
1307
|
+
protected settingsService: SettingsService;
|
|
1308
|
+
protected variationService: VariationService;
|
|
1309
|
+
protected variationCacheService: VariationCacheService;
|
|
1310
|
+
protected utilsService: UtilsService;
|
|
1311
|
+
protected itemService: ItemService;
|
|
1312
|
+
get useNodeIdToLink(): boolean;
|
|
1313
|
+
get currentCustomFloorGroup(): Object3D;
|
|
1314
|
+
set currentCustomFloorGroup(item: Object3D);
|
|
1315
|
+
get selections(): Selection[];
|
|
1316
|
+
set scene(scene: Scene);
|
|
1317
|
+
get scene(): Scene;
|
|
1318
|
+
defaultPosition: Vector3;
|
|
1319
|
+
defaultRotation: Euler;
|
|
1320
|
+
baseElementNodeId: number;
|
|
1321
|
+
articleAssetPath: string;
|
|
1322
|
+
startPosition: Vector3;
|
|
1323
|
+
full3DObjectToUse: Object3D;
|
|
1324
|
+
isMouseOverObject: boolean;
|
|
1325
|
+
activeConnector: any;
|
|
1326
|
+
answerSelected: Subject<ConfigurationResultObject>;
|
|
1327
|
+
arPlacementUpdate: Subject<boolean>;
|
|
1328
|
+
showElementToolbar: boolean;
|
|
1329
|
+
private _useNodeIdToLink;
|
|
1330
|
+
private _activeChildElement;
|
|
1331
|
+
private _placedAddables;
|
|
1332
|
+
private _adjustables;
|
|
1333
|
+
private _addables;
|
|
1334
|
+
private _currentCustomFloorGroup;
|
|
1335
|
+
private _genericSelection;
|
|
1336
|
+
private _answerSelected;
|
|
1337
|
+
private _selectionsSelected;
|
|
1338
|
+
private _scene;
|
|
1339
|
+
protected subs: Subscription[];
|
|
1340
|
+
protected placedAdjustables: any[];
|
|
1341
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, dictionaryService: DictionaryService, appEventService: AppEventService, settingsService: SettingsService, variationService: VariationService, variationCacheService: VariationCacheService, utilsService: UtilsService, itemService: ItemService);
|
|
1342
|
+
ngOnDestroy(): void;
|
|
1343
|
+
abstract build(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1344
|
+
abstract createSimple3DModel(result: ConfigurationResultObject): ConfigurationResultObject;
|
|
1345
|
+
abstract startToBuildFromConfigurator(data: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1346
|
+
abstract prepareSelectionsAndDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1347
|
+
abstract createNonConfigurableFloor(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1348
|
+
abstract startToBuild(result?: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, firstBuild?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
|
|
1349
|
+
emptyAnswerSelected(): void;
|
|
1350
|
+
emptySelectionsSelected(): void;
|
|
1351
|
+
getOptionsFromSelection(baseSelection: Selection): Selection[];
|
|
1352
|
+
cancelConfiguringCurrentInstance(): void;
|
|
1353
|
+
cancelAnswer(data: ConfigurationResultObject, rebuild?: boolean, getAnswers?: boolean): Promise<void>;
|
|
1354
|
+
selectSelection(selection: Selection, data: ConfigurationResultObject, forceBackToNode?: boolean, after?: boolean, connector?: string): Promise<void>;
|
|
1355
|
+
deleteSelection(selection: Selection, data: ConfigurationResultObject): Promise<void>;
|
|
1356
|
+
replaceSelection(selection: Selection, data: ConfigurationResultObject): Promise<void>;
|
|
1357
|
+
selectAnswer(answer: Answer, input: string, data: ConfigurationResultObject): Promise<void>;
|
|
1358
|
+
selectSelectionAsAnswer(chosenOption: SelectorStructure, data: ConfigurationResultObject): Promise<void>;
|
|
1359
|
+
linkSelectionsAndDecos(): void;
|
|
1360
|
+
prepareTheSelections(instanceId?: string): void;
|
|
1361
|
+
preloadMaterials(schema: string): void;
|
|
1362
|
+
protected prepareInstanceForBuild(shouldCopyInstance: boolean, loadFromProject: boolean, looseOriginalConfiguration: boolean, result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1363
|
+
protected getSelectionsAndDecos(): Promise<void>;
|
|
1364
|
+
protected handlePrepareSelectionsDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1365
|
+
protected normalizeMesh(mesh: Mesh): void;
|
|
1366
|
+
protected setInstanceToConfigure(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1367
|
+
protected getSelectionsAndDecosFromMetadata(result: ConfigurationResultObject): void;
|
|
1368
|
+
protected selectionPublished(selection: Selection): boolean;
|
|
1369
|
+
protected cleanupBeforePresetLoad(): void;
|
|
1370
|
+
protected handleAfterPresetLoad(): void;
|
|
1371
|
+
protected cleanup(): void;
|
|
1372
|
+
protected canConnectSelections(sel1: Selection, sel2: Selection): boolean;
|
|
1373
|
+
protected handleAnswerSelected(answer: Answer): void;
|
|
1374
|
+
protected handleSelectionSelected(chosenOption: SelectorStructure): void;
|
|
1375
|
+
protected createConfigurableItem(itemName: string): Object3D;
|
|
1376
|
+
protected cloneSelections(): Selection[];
|
|
1377
|
+
protected updateBuildObject(newItem: Object3D, resultObject: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1378
|
+
protected isMoveableObject(obj: Object3D): boolean;
|
|
1379
|
+
protected addElementOnConnector(currentItem: Object3D, element: Object3D, connector: string, connectedNodeId: number): Promise<void>;
|
|
1380
|
+
protected saveElementConnector(element: Object3D, connector: string): void;
|
|
1381
|
+
protected getIdentifierFromSelection(selection: Selection): string;
|
|
1382
|
+
protected reset(): void;
|
|
1383
|
+
/**
|
|
1384
|
+
* Returns the materialId of the parent up the tree until presentionlevel 1 is reached
|
|
1385
|
+
* @param id
|
|
1386
|
+
* @private
|
|
1387
|
+
*/
|
|
1388
|
+
protected getMaterialIdFromParent(id: number): string;
|
|
1389
|
+
protected getAdjustables(checkGameObject?: boolean, checkType?: boolean): Selection[];
|
|
1390
|
+
protected getVariations(): any[];
|
|
1391
|
+
protected createAdjustable(item: Object3D, adj: Selection): Object3D;
|
|
1392
|
+
protected createAddable(item: Object3D, add: Selection, part2?: any, part1?: any): Object3D;
|
|
1393
|
+
protected placeAddable(item: Object3D, add: any): Object3D;
|
|
1394
|
+
protected createUniqueName(item: Object3D, obj: Object3D): string;
|
|
1395
|
+
protected placeAddables(item: Object3D): void;
|
|
1396
|
+
protected loadVariations(item: Object3D, instanceId: string): Promise<void>;
|
|
1397
|
+
protected preloadMaterial(answer: Answer): void;
|
|
1398
|
+
protected preloadMaterialBySelection(answer: SelectorStructure): void;
|
|
1399
|
+
protected buildFloor(result: any): Promise<void>;
|
|
1400
|
+
downloadUDSZforARIOS(): void;
|
|
1401
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildFurnitureBaseService, never>;
|
|
1402
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BuildFurnitureBaseService>;
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
declare class BuildFurnitureService extends BuildFurnitureBaseService implements OnDestroy {
|
|
1406
|
+
build(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1407
|
+
createNonConfigurableFloor(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1408
|
+
startToBuild(result?: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, firstBuild?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
|
|
1409
|
+
createSimple3DModel(result: ConfigurationResultObject): ConfigurationResultObject;
|
|
1410
|
+
startToBuildFromConfigurator(data: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1411
|
+
prepareSelectionsAndDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1412
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildFurnitureService, never>;
|
|
1413
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BuildFurnitureService>;
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
declare class BuildFurnitureWithoutSceneService extends BuildFurnitureBaseService implements OnDestroy {
|
|
1417
|
+
build(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1418
|
+
startToBuild(result?: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, firstBuild?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
|
|
1419
|
+
startToBuildFromConfigurator(data: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1420
|
+
prepareSelectionsAndDecos(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1421
|
+
createSimple3DModel(result: ConfigurationResultObject, standAlone?: boolean): ConfigurationResultObject;
|
|
1422
|
+
createNonConfigurableFloor(result: ConfigurationResultObject): Promise<ConfigurationResultObject>;
|
|
1423
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildFurnitureWithoutSceneService, never>;
|
|
1424
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BuildFurnitureWithoutSceneService>;
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
declare class SwitchBuildFurnitureService implements OnDestroy {
|
|
1428
|
+
private _buildFurnitureService;
|
|
1429
|
+
private _buildFurnitureWithoutSceneService;
|
|
1430
|
+
private _settingsService;
|
|
1431
|
+
private _configuratorService;
|
|
1432
|
+
currentActiveService: BuildFurnitureBaseService;
|
|
1433
|
+
private _standAlone;
|
|
1434
|
+
private _controllerInitSub;
|
|
1435
|
+
private _standAloneInstance;
|
|
1436
|
+
constructor(_buildFurnitureService: BuildFurnitureService, _buildFurnitureWithoutSceneService: BuildFurnitureWithoutSceneService, _settingsService: SettingsService, _configuratorService: ConfiguratorConnectorService);
|
|
1437
|
+
ngOnDestroy(): void;
|
|
1438
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchBuildFurnitureService, never>;
|
|
1439
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SwitchBuildFurnitureService>;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
declare enum ItemType {
|
|
1443
|
+
Floor = 1,
|
|
1444
|
+
Wall = 2,
|
|
1445
|
+
InWall = 3,
|
|
1446
|
+
InWallFloor = 7,
|
|
1447
|
+
OnFloor = 8,
|
|
1448
|
+
WallFloor = 9,
|
|
1449
|
+
CustomFloorGroup = 10,
|
|
1450
|
+
CustomShape = 11,
|
|
1451
|
+
FloorGroup = 12,
|
|
1452
|
+
ItemGroup = 13,
|
|
1453
|
+
CustomCylinder = 14,
|
|
1454
|
+
CustomCylinderWall = 15,
|
|
1455
|
+
CustomShapeWall = 16,
|
|
1456
|
+
CustomWall = 20,
|
|
1457
|
+
CustomWallFloor = 21,
|
|
1458
|
+
WallItemGroup = 22,
|
|
1459
|
+
WallDecoration = 23,
|
|
1460
|
+
WindowDecoration = 24,
|
|
1461
|
+
FloorDecoration = 25
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
declare abstract class LoadFurnitureBaseService implements OnDestroy {
|
|
1465
|
+
protected configuratorConnectorService: ConfiguratorConnectorService;
|
|
1466
|
+
protected threedSelectorService: ThreedselectorService;
|
|
1467
|
+
protected buildFurnitureService: SwitchBuildFurnitureService;
|
|
1468
|
+
protected settingsService: SettingsService;
|
|
1469
|
+
private readonly _fullObjectCache;
|
|
1470
|
+
set article(value: Article);
|
|
1471
|
+
get article(): Article;
|
|
1472
|
+
articleLoaded: BehaviorSubject<Article>;
|
|
1473
|
+
private _subs;
|
|
1474
|
+
private _article;
|
|
1475
|
+
protected constructor(configuratorConnectorService: ConfiguratorConnectorService, threedSelectorService: ThreedselectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService: SettingsService);
|
|
1476
|
+
ngOnDestroy(): void;
|
|
1477
|
+
abstract loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance: boolean, looseOriginalConfiguration: boolean, standAlone: boolean, fromScratch: boolean, fromPreset: boolean, loadFromProject: boolean): Promise<ConfigurationResultObject>;
|
|
1478
|
+
loadArticle(sku: string): Promise<Article>;
|
|
1479
|
+
extendConfigurationBuildResult(article: Article, result: ConfigurationResultObject): ConfigurationResultObject;
|
|
1480
|
+
getFull3DObject(sku: string, assetUrl: string, prepareProgress?: boolean): Promise<Object3D>;
|
|
1481
|
+
protected tryLoadArticle(sku: string, result: ConfigurationResultObject, initConnector: boolean): Promise<void>;
|
|
1482
|
+
private _cleanUp;
|
|
1483
|
+
protected needs3DModel(type: ItemType): boolean;
|
|
1484
|
+
initFull3DObject(configurationResultObject: ConfigurationResultObject): Promise<void>;
|
|
1485
|
+
protected getAssetPathFromMetadata(metadata: ConfigurationResultObject): string;
|
|
1486
|
+
private _getAssetPathFromModelUrlAndSchema;
|
|
1487
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureBaseService, never>;
|
|
1488
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureBaseService>;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
declare class LoadFurnitureWithoutSceneService extends LoadFurnitureBaseService implements OnDestroy {
|
|
1492
|
+
loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, fromScratch?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
|
|
1493
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureWithoutSceneService, never>;
|
|
1494
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureWithoutSceneService>;
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1497
|
+
declare class LoadFurnitureService extends LoadFurnitureBaseService implements OnDestroy {
|
|
1498
|
+
loadFurniture(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, fromScratch?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<ConfigurationResultObject>;
|
|
1499
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureService, never>;
|
|
1500
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureService>;
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
declare class SwitchLoadFurnitureService implements OnDestroy {
|
|
1504
|
+
private _loadFurnitureService;
|
|
1505
|
+
private _loadFurnitureWithoutSceneService;
|
|
1506
|
+
private _settingsService;
|
|
1507
|
+
private _iOne;
|
|
1508
|
+
currentActiveService: LoadFurnitureBaseService;
|
|
1509
|
+
private _standAlone;
|
|
1510
|
+
private _controllerInitSub;
|
|
1511
|
+
private _standAloneInstance;
|
|
1512
|
+
constructor(_loadFurnitureService: LoadFurnitureService, _loadFurnitureWithoutSceneService: LoadFurnitureWithoutSceneService, _settingsService: SettingsService, _iOne: ConfiguratorConnectorService);
|
|
1513
|
+
ngOnDestroy(): void;
|
|
1514
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchLoadFurnitureService, never>;
|
|
1515
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SwitchLoadFurnitureService>;
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
declare class ConfiguringService implements OnDestroy {
|
|
1519
|
+
private _initializerService;
|
|
1520
|
+
private _loadFurnitureService;
|
|
1521
|
+
private _buildFurnitureService;
|
|
1522
|
+
private _appEventService;
|
|
1523
|
+
private _configuratorConnectorService;
|
|
1524
|
+
set settings(value: ConfiguratorSettings);
|
|
1525
|
+
get settings(): ConfiguratorSettings;
|
|
1526
|
+
set sku(value: string);
|
|
1527
|
+
get sku(): string;
|
|
1528
|
+
set instanceId(value: string);
|
|
1529
|
+
get instanceId(): string;
|
|
1530
|
+
set isConfiguring(value: boolean);
|
|
1531
|
+
get isConfiguring(): boolean;
|
|
1532
|
+
set scene(value: Scene);
|
|
1533
|
+
get scene(): Scene;
|
|
1534
|
+
onShowLiteSelector: EventEmitter<boolean>;
|
|
1535
|
+
onShowSelections: EventEmitter<boolean>;
|
|
1536
|
+
onShowAnswers: EventEmitter<boolean>;
|
|
1537
|
+
onShowFullConfiguration: EventEmitter<boolean>;
|
|
1538
|
+
buildResult: ConfigurationResultObject;
|
|
1539
|
+
private _settings;
|
|
1540
|
+
private _sku;
|
|
1541
|
+
private _instanceId;
|
|
1542
|
+
private _isConfiguring;
|
|
1543
|
+
private _scene;
|
|
1544
|
+
private _showFullConfiguration;
|
|
1545
|
+
private _subs;
|
|
1546
|
+
constructor(_initializerService: AppInitializerService, _loadFurnitureService: SwitchLoadFurnitureService, _buildFurnitureService: SwitchBuildFurnitureService, _appEventService: AppEventService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
1547
|
+
ngOnDestroy(): void;
|
|
1548
|
+
init(settings: any): Promise<void>;
|
|
1549
|
+
configure(furnitureData: ConfigurationResultObject, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, fromPreset?: boolean, standAlone?: boolean, fromScratch?: boolean, loadFromProject?: boolean): Promise<void>;
|
|
1550
|
+
private _handleTemplateChange;
|
|
1551
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguringService, never>;
|
|
1552
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfiguringService>;
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
declare class ConfiguratorComponent implements OnDestroy {
|
|
1556
|
+
settingsService: SettingsService;
|
|
1557
|
+
loaderService: LoaderService;
|
|
1558
|
+
private _appEventService;
|
|
1559
|
+
private _configuringService;
|
|
1560
|
+
showClass(): boolean;
|
|
1561
|
+
showLoader: boolean;
|
|
1562
|
+
showProgressBar: boolean;
|
|
1563
|
+
showErrorMessages: boolean;
|
|
1564
|
+
outputErrorMessages: boolean;
|
|
1565
|
+
canCloseConfigurator: boolean;
|
|
1566
|
+
buildResult: EventEmitter<ConfigurationResultObject>;
|
|
1567
|
+
isLoading: EventEmitter<boolean>;
|
|
1568
|
+
updateProgressBar: EventEmitter<boolean>;
|
|
1569
|
+
errorMessages: EventEmitter<ConfiguratorErrorMessage[]>;
|
|
1570
|
+
showChange: EventEmitter<boolean>;
|
|
1571
|
+
resultHasErrors: boolean;
|
|
1572
|
+
showErrorDiagram: boolean;
|
|
1573
|
+
configurationResultObject: ConfigurationResultObject;
|
|
1574
|
+
private _subs;
|
|
1575
|
+
constructor(settingsService: SettingsService, loaderService: LoaderService, _appEventService: AppEventService, _configuringService: ConfiguringService);
|
|
1576
|
+
ngOnDestroy(): void;
|
|
1577
|
+
handleBuildFinished(result: ConfigurationResultObject): void;
|
|
1578
|
+
handleShowChange(show: boolean): void;
|
|
1579
|
+
handleCloseErrorDialog(): void;
|
|
1580
|
+
private _handleArticleNotFound;
|
|
1581
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorComponent, never>;
|
|
1582
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorComponent, "co-configurator", never, { "showLoader": { "alias": "showLoader"; "required": false; }; "showProgressBar": { "alias": "showProgressBar"; "required": false; }; "showErrorMessages": { "alias": "showErrorMessages"; "required": false; }; "outputErrorMessages": { "alias": "outputErrorMessages"; "required": false; }; "canCloseConfigurator": { "alias": "canCloseConfigurator"; "required": false; }; }, { "buildResult": "buildResult"; "isLoading": "isLoading"; "updateProgressBar": "updateProgressBar"; "errorMessages": "errorMessages"; "showChange": "showChange"; }, never, never, false, never>;
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
declare class ProgressBarComponent {
|
|
1586
|
+
progressService: ProgressService;
|
|
1587
|
+
showClass(): boolean;
|
|
1588
|
+
get showBar(): boolean;
|
|
1589
|
+
constructor(progressService: ProgressService);
|
|
1590
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
|
|
1591
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "co-progress-bar", never, {}, {}, never, never, false, never>;
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
declare class ProgressBarModule {
|
|
1595
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarModule, never>;
|
|
1596
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressBarModule, [typeof ProgressBarComponent], [typeof i3.CommonModule], [typeof ProgressBarComponent]>;
|
|
1597
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProgressBarModule>;
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
declare class ConfiguratorLoaderComponent {
|
|
1601
|
+
showClass(): boolean;
|
|
1602
|
+
show: boolean;
|
|
1603
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorLoaderComponent, never>;
|
|
1604
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorLoaderComponent, "co-configurator-loader", never, { "show": { "alias": "show"; "required": false; }; }, {}, never, never, false, never>;
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1607
|
+
declare class ConfiguratorLoaderModule {
|
|
1608
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorLoaderModule, never>;
|
|
1609
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorLoaderModule, [typeof ConfiguratorLoaderComponent], [typeof i5.LoaderModule, typeof i5.IconModule, typeof i3.CommonModule], [typeof ConfiguratorLoaderComponent]>;
|
|
1610
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorLoaderModule>;
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
/** AUTO GENERATED FILE. DO NOT CHANGE.. **/
|
|
1614
|
+
declare enum IconEnum {
|
|
1615
|
+
AddButton = "add-button",
|
|
1616
|
+
AddLight = "add_light",
|
|
1617
|
+
Angle90 = "angle_90",
|
|
1618
|
+
Aperture = "aperture",
|
|
1619
|
+
ArrowUpRightAndArrowDownLeftFromCenter = "arrow-up-right-and-arrow-down-left-from-center",
|
|
1620
|
+
ArrowsLeftRight = "arrows-left-right",
|
|
1621
|
+
ArrowsUpDown = "arrows-up-down",
|
|
1622
|
+
ArrowsToEye = "arrows_to_eye",
|
|
1623
|
+
ArrowPointDown = "arrow_point_down",
|
|
1624
|
+
ArrowPointRight = "arrow_point_right",
|
|
1625
|
+
ArrowRotateLeft = "arrow_rotate_left",
|
|
1626
|
+
ArrowRotateRight = "arrow_rotate_right",
|
|
1627
|
+
ArrowTurnLeft = "arrow_turn_left",
|
|
1628
|
+
ArrowTurnLeftRegular = "arrow_turn_left_regular",
|
|
1629
|
+
ArrowTurnRight = "arrow_turn_right",
|
|
1630
|
+
ArrowTurnRightRegular = "arrow_turn_right_regular",
|
|
1631
|
+
ArCircle = "ar_circle",
|
|
1632
|
+
Brush = "brush",
|
|
1633
|
+
CameraSolid = "camera_solid",
|
|
1634
|
+
CameraTopdown = "camera_topdown",
|
|
1635
|
+
CameraViewfinder = "camera_viewfinder",
|
|
1636
|
+
CartShoppingRegular = "cart-shopping-regular",
|
|
1637
|
+
Check = "check",
|
|
1638
|
+
CheckRegular = "check_regular",
|
|
1639
|
+
CheckSolid = "check_solid",
|
|
1640
|
+
CircleCheck = "circle_check",
|
|
1641
|
+
CircleCheckRegular = "circle_check_regular",
|
|
1642
|
+
CircleInfo = "circle_info",
|
|
1643
|
+
CircleMinusLight = "circle_minus_light",
|
|
1644
|
+
CirclePlusLight = "circle_plus_light",
|
|
1645
|
+
CircleQuestion = "circle_question",
|
|
1646
|
+
CircleRegular = "circle_regular",
|
|
1647
|
+
CircleXmark = "circle_xmark",
|
|
1648
|
+
CitPoweredWhite = "cit_powered_white",
|
|
1649
|
+
CloudArrowDown = "cloud_arrow_down",
|
|
1650
|
+
CloudArrowUp = "cloud_arrow_up",
|
|
1651
|
+
Comment = "comment",
|
|
1652
|
+
Compress = "compress",
|
|
1653
|
+
ConfFrame = "conf_frame",
|
|
1654
|
+
ConfPlane = "conf_plane",
|
|
1655
|
+
CopyLight = "copy_light",
|
|
1656
|
+
Couch = "couch",
|
|
1657
|
+
Cross = "cross",
|
|
1658
|
+
CubeOutline = "cube-outline",
|
|
1659
|
+
CubeUnfolded = "cube-unfolded",
|
|
1660
|
+
Cube = "cube",
|
|
1661
|
+
DashButton = "dash-button",
|
|
1662
|
+
DeleteButton = "delete-button",
|
|
1663
|
+
Download = "download",
|
|
1664
|
+
DrawSquare = "draw_square",
|
|
1665
|
+
EditButton = "edit-button",
|
|
1666
|
+
Expand = "expand",
|
|
1667
|
+
FillDripLight = "fill_drip_light",
|
|
1668
|
+
Flower = "flower",
|
|
1669
|
+
GaugeHighSolidFull = "gauge_high_solid_full",
|
|
1670
|
+
GaugeLowSolidFull = "gauge_low_solid_full",
|
|
1671
|
+
GaugeMaxSolidFull = "gauge_max_solid_full",
|
|
1672
|
+
GaugeMinSolidFull = "gauge_min_solid_full",
|
|
1673
|
+
GoogleCardboardOrange = "google-cardboard-orange",
|
|
1674
|
+
GoogleCardboard = "google-cardboard",
|
|
1675
|
+
GridLight = "grid_light",
|
|
1676
|
+
HandPointer = "hand-pointer",
|
|
1677
|
+
HandLight = "hand_light",
|
|
1678
|
+
HandPointerLight = "hand_pointer_light",
|
|
1679
|
+
HeightAdjust = "height_adjust",
|
|
1680
|
+
House = "house",
|
|
1681
|
+
ImageLight = "image_light",
|
|
1682
|
+
ImageSlashRegular = "image_slash_regular",
|
|
1683
|
+
InfoSolidFull = "info_solid_full",
|
|
1684
|
+
LinkLight = "link_light",
|
|
1685
|
+
LinkSlashLight = "link_slash_light",
|
|
1686
|
+
List = "list",
|
|
1687
|
+
LockLight = "lock_light",
|
|
1688
|
+
LockOpenLight = "lock_open_light",
|
|
1689
|
+
MagicWand = "magic-wand",
|
|
1690
|
+
Magnet = "magnet",
|
|
1691
|
+
MagnetStrikethrough = "magnet_strikethrough",
|
|
1692
|
+
Magnifier = "magnifier",
|
|
1693
|
+
MagnifyingGlassMinus = "magnifying_glass_minus",
|
|
1694
|
+
MagnifyingGlassPlus = "magnifying_glass_plus",
|
|
1695
|
+
Measurements = "measurements",
|
|
1696
|
+
MeasurementsInside = "measurements_inside",
|
|
1697
|
+
MovePhoneAr = "move-phone-ar",
|
|
1698
|
+
PaintRollerLight = "paint_roller_light",
|
|
1699
|
+
PenRuler = "pen-ruler",
|
|
1700
|
+
PencilLight = "pencil_light",
|
|
1701
|
+
PlusRegular = "plus_regular",
|
|
1702
|
+
Qrcode = "qrcode",
|
|
1703
|
+
RetryButton = "retry-button",
|
|
1704
|
+
RotateLight = "rotate_light",
|
|
1705
|
+
Scale = "scale",
|
|
1706
|
+
Settings = "settings",
|
|
1707
|
+
SquareCheckRegular = "square_check_regular",
|
|
1708
|
+
SquareChevronDownRegular = "square_chevron_down_regular",
|
|
1709
|
+
SquareRegular = "square_regular",
|
|
1710
|
+
StreetViewOrange = "street-view-orange",
|
|
1711
|
+
StreetView = "street_view",
|
|
1712
|
+
SwapButton = "swap-button",
|
|
1713
|
+
TiltPhone = "tilt-phone",
|
|
1714
|
+
TrashCanLight = "trash_can_light",
|
|
1715
|
+
TriangleDown = "triangle_down",
|
|
1716
|
+
TriangleExclamation = "triangle_exclamation",
|
|
1717
|
+
TriangleUp = "triangle_up",
|
|
1718
|
+
UploadLight = "upload_light",
|
|
1719
|
+
WandMagicSparkles = "wand_magic_sparkles",
|
|
1720
|
+
WifiSolidFull = "wifi_solid_full",
|
|
1721
|
+
XmarkLight = "xmark_light",
|
|
1722
|
+
XmarkRegular = "xmark_regular"
|
|
1723
|
+
}
|
|
1724
|
+
|
|
1725
|
+
declare class IconCacheService {
|
|
1726
|
+
private _sanitizer;
|
|
1727
|
+
/**
|
|
1728
|
+
* All the icons as a large JSON object, from the all-icons.json file.
|
|
1729
|
+
* The object has property keys that are the icon names, and property values with the data string of the actual svg icon.
|
|
1730
|
+
*/
|
|
1731
|
+
get iconCache(): {
|
|
1732
|
+
[iconName: string]: SafeHtml;
|
|
1733
|
+
};
|
|
1734
|
+
private _iconCache;
|
|
1735
|
+
private _allIcons;
|
|
1736
|
+
constructor(_sanitizer: DomSanitizer);
|
|
1737
|
+
getIcon(iconName: string): SafeHtml;
|
|
1738
|
+
getIconAsBase64(iconName: IconEnum): SafeHtml;
|
|
1739
|
+
setIconCache(): void;
|
|
1740
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IconCacheService, never>;
|
|
1741
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IconCacheService>;
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
declare class ConfiguratorErrorDialogComponent {
|
|
1745
|
+
iconService: IconCacheService;
|
|
1746
|
+
showClass(): boolean;
|
|
1747
|
+
readonly icons: typeof IconEnum;
|
|
1748
|
+
errorMessages: ConfiguratorErrorMessage[];
|
|
1749
|
+
closeErrorDialoag: EventEmitter<void>;
|
|
1750
|
+
onClose(): void;
|
|
1751
|
+
constructor(iconService: IconCacheService);
|
|
1752
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorErrorDialogComponent, never>;
|
|
1753
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorErrorDialogComponent, "co-configurator-error-dialog", never, { "errorMessages": { "alias": "errorMessages"; "required": false; }; }, { "closeErrorDialoag": "closeErrorDialoag"; }, never, never, false, never>;
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
declare class ConfiguratorExportDialogComponent {
|
|
1757
|
+
iconService: IconCacheService;
|
|
1758
|
+
itemService: ItemService;
|
|
1759
|
+
private _utilService;
|
|
1760
|
+
readonly icons: typeof IconEnum;
|
|
1761
|
+
closeExportDialog: EventEmitter<void>;
|
|
1762
|
+
constructor(iconService: IconCacheService, itemService: ItemService, _utilService: UtilsService);
|
|
1763
|
+
onClose(): void;
|
|
1764
|
+
downloadGLB(): void;
|
|
1765
|
+
downloadUSDZ(): void;
|
|
1766
|
+
downloadBoth(): void;
|
|
1767
|
+
downloadThumbnail(): void;
|
|
1768
|
+
private _getObjectToExport;
|
|
1769
|
+
private _download3DModelAsGLB;
|
|
1770
|
+
private _download3DModelAsUSDZ;
|
|
1771
|
+
private _downloadFile;
|
|
1772
|
+
private _base64ToBlob;
|
|
1773
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorExportDialogComponent, never>;
|
|
1774
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorExportDialogComponent, "co-configurator-export-dialog", never, {}, { "closeExportDialog": "closeExportDialog"; }, never, never, false, never>;
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
declare class CameraSettings {
|
|
1778
|
+
sku: string;
|
|
1779
|
+
position: Vector3;
|
|
1780
|
+
rotation: Vector3;
|
|
1781
|
+
maxHorizontalOrbit: number;
|
|
1782
|
+
minHorizontalOrbit: number;
|
|
1783
|
+
maxVerticalOrbit: number;
|
|
1784
|
+
minVerticalOrbit: number;
|
|
1785
|
+
maxZoomDistance: number;
|
|
1786
|
+
minZoomDistance: number;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
declare class DynamicCameraService {
|
|
1790
|
+
private _cameraService;
|
|
1791
|
+
private _sceneService;
|
|
1792
|
+
private _settingsService;
|
|
1793
|
+
private _configuratorConnectorService;
|
|
1794
|
+
currentCameraSettings: CameraSettings[];
|
|
1795
|
+
constructor(_cameraService: CameraService, _sceneService: SceneService, _settingsService: SettingsService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
1796
|
+
initCameraSettings(): Promise<void>;
|
|
1797
|
+
getCameraSettings(): CameraSettings;
|
|
1798
|
+
loadCustomCameraSettings(): Promise<void>;
|
|
1799
|
+
exportCameraSettings(): any;
|
|
1800
|
+
saveSettingsToCurrentSettings(cameraSettings: CameraSettings, asDefault: boolean): void;
|
|
1801
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicCameraService, never>;
|
|
1802
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DynamicCameraService>;
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1805
|
+
declare class ConfiguratorCameraSettingsComponent implements OnInit {
|
|
1806
|
+
iconService: IconCacheService;
|
|
1807
|
+
private _cameraService;
|
|
1808
|
+
private _dynamicCameraService;
|
|
1809
|
+
private _configuratorConnectorService;
|
|
1810
|
+
readonly icons: typeof IconEnum;
|
|
1811
|
+
closeCameraDialog: EventEmitter<void>;
|
|
1812
|
+
tempCameraSettings: CameraSettings;
|
|
1813
|
+
currentSku: string;
|
|
1814
|
+
positionAsString: string;
|
|
1815
|
+
rotationAsString: string;
|
|
1816
|
+
constructor(iconService: IconCacheService, _cameraService: CameraService, _dynamicCameraService: DynamicCameraService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
1817
|
+
ngOnInit(): void;
|
|
1818
|
+
onClose(): void;
|
|
1819
|
+
saveSettings(asDefault: boolean): void;
|
|
1820
|
+
exportSettings(): void;
|
|
1821
|
+
saveCurrentPosition(): void;
|
|
1822
|
+
saveCurrentRotation(): void;
|
|
1823
|
+
private _parsePositionAndRotation;
|
|
1824
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorCameraSettingsComponent, never>;
|
|
1825
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorCameraSettingsComponent, "co-configurator-camera-settings-dialog", never, {}, { "closeCameraDialog": "closeCameraDialog"; }, never, never, false, never>;
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
declare class AppendPipe implements PipeTransform {
|
|
1829
|
+
transform(value: string, append?: string): string;
|
|
1830
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppendPipe, never>;
|
|
1831
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AppendPipe, "append", false>;
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
declare class LocalizePipe implements PipeTransform {
|
|
1835
|
+
private _dictionaryService;
|
|
1836
|
+
constructor(_dictionaryService: DictionaryService);
|
|
1837
|
+
transform(value: string, upperCaseFirst?: boolean, replace?: string | string[]): string;
|
|
1838
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizePipe, never>;
|
|
1839
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LocalizePipe, "localize", false>;
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
declare class GoogleTranslateService implements OnDestroy {
|
|
1843
|
+
private _settingsService;
|
|
1844
|
+
private _connectorService;
|
|
1845
|
+
private _clientLanguage;
|
|
1846
|
+
private _defaultLanguage;
|
|
1847
|
+
private _translations;
|
|
1848
|
+
private _initialized;
|
|
1849
|
+
private _initializedSubject;
|
|
1850
|
+
private _connectionSubject;
|
|
1851
|
+
protected googleApiEnabled: boolean;
|
|
1852
|
+
constructor(_settingsService: SettingsService, _connectorService: ConfiguratorConnectorService);
|
|
1853
|
+
ngOnDestroy(): void;
|
|
1854
|
+
getTranslation(input: string): Promise<string>;
|
|
1855
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GoogleTranslateService, never>;
|
|
1856
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GoogleTranslateService>;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
declare class GoogleTranslatePipe implements PipeTransform {
|
|
1860
|
+
private _googleTranslateService;
|
|
1861
|
+
constructor(_googleTranslateService: GoogleTranslateService);
|
|
1862
|
+
transform(value: string): Observable<string>;
|
|
1863
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GoogleTranslatePipe, never>;
|
|
1864
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GoogleTranslatePipe, "googleTranslate", false>;
|
|
1865
|
+
}
|
|
1866
|
+
|
|
1867
|
+
declare class PrependPipe implements PipeTransform {
|
|
1868
|
+
transform(value: string, prepend?: string): string;
|
|
1869
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PrependPipe, never>;
|
|
1870
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<PrependPipe, "prepend", false>;
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
declare class StripHtmlPipe implements PipeTransform {
|
|
1874
|
+
transform(html: string): string;
|
|
1875
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StripHtmlPipe, never>;
|
|
1876
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<StripHtmlPipe, "stripHtml", false>;
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
declare class PipesModule {
|
|
1880
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PipesModule, never>;
|
|
1881
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PipesModule, [typeof AppendPipe, typeof LocalizePipe, typeof GoogleTranslatePipe, typeof PrependPipe, typeof StripHtmlPipe], never, [typeof AppendPipe, typeof LocalizePipe, typeof GoogleTranslatePipe, typeof PrependPipe, typeof StripHtmlPipe]>;
|
|
1882
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PipesModule>;
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
declare class ConfiguratorDialogModule {
|
|
1886
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorDialogModule, never>;
|
|
1887
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorDialogModule, [typeof ConfiguratorErrorDialogComponent, typeof ConfiguratorExportDialogComponent, typeof ConfiguratorCameraSettingsComponent], [typeof PipesModule, typeof i5.IconModule, typeof i3.CommonModule, typeof i7.FormsModule], [typeof ConfiguratorErrorDialogComponent, typeof ConfiguratorExportDialogComponent, typeof ConfiguratorCameraSettingsComponent]>;
|
|
1888
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorDialogModule>;
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1891
|
+
declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
1892
|
+
private _appEventService;
|
|
1893
|
+
private _buildFurnitureService;
|
|
1894
|
+
private _configuringService;
|
|
1895
|
+
private _configuratorService;
|
|
1896
|
+
showClass(): boolean;
|
|
1897
|
+
customizeButtonClicked: EventEmitter<void>;
|
|
1898
|
+
selections: Selection[];
|
|
1899
|
+
canCloseConfigurator: boolean;
|
|
1900
|
+
buildFinished: EventEmitter<ConfigurationResultObject>;
|
|
1901
|
+
showChange: EventEmitter<boolean>;
|
|
1902
|
+
showElementToolbar: boolean;
|
|
1903
|
+
showLiteSelector: boolean;
|
|
1904
|
+
showSelections: boolean;
|
|
1905
|
+
showAnswers: boolean;
|
|
1906
|
+
showFullConfiguration: boolean;
|
|
1907
|
+
private _floorTexturesLoadedSub;
|
|
1908
|
+
private _subs;
|
|
1909
|
+
private _loadingFromPreset;
|
|
1910
|
+
constructor(_appEventService: AppEventService, _buildFurnitureService: SwitchBuildFurnitureService, _configuringService: ConfiguringService, _configuratorService: ConfiguratorService);
|
|
1911
|
+
ngOnInit(): Promise<void>;
|
|
1912
|
+
ngOnDestroy(): void;
|
|
1913
|
+
get showTemplate(): boolean;
|
|
1914
|
+
handleShowChangeSelector(show: boolean): void;
|
|
1915
|
+
private _handleAnswerCountReceived;
|
|
1916
|
+
private _handleTemplateChange;
|
|
1917
|
+
private _handleBuildResult;
|
|
1918
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorComponent, never>;
|
|
1919
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThreedselectorComponent, "co-threedselector", never, { "selections": { "alias": "selections"; "required": false; }; "canCloseConfigurator": { "alias": "canCloseConfigurator"; "required": false; }; }, { "customizeButtonClicked": "customizeButtonClicked"; "buildFinished": "buildFinished"; "showChange": "showChange"; }, never, never, false, never>;
|
|
1920
|
+
}
|
|
1921
|
+
|
|
1922
|
+
declare class LiteSelectorComponent implements OnDestroy {
|
|
1923
|
+
buildFurnitureService: SwitchBuildFurnitureService;
|
|
1924
|
+
configuratorConnectorService: ConfiguratorConnectorService;
|
|
1925
|
+
private _configuringService;
|
|
1926
|
+
showClass(): boolean;
|
|
1927
|
+
templateAnswers: TemplateRef<any>;
|
|
1928
|
+
set showAnswers(value: boolean);
|
|
1929
|
+
get showAnswers(): boolean;
|
|
1930
|
+
show: boolean;
|
|
1931
|
+
set showSelections(value: boolean);
|
|
1932
|
+
get showSelections(): boolean;
|
|
1933
|
+
showLabel: boolean;
|
|
1934
|
+
canClose: boolean;
|
|
1935
|
+
customDimensions: boolean;
|
|
1936
|
+
readonly showChange: EventEmitter<boolean>;
|
|
1937
|
+
readonly answerChosen: EventEmitter<Answer>;
|
|
1938
|
+
answerToShowFromSelectionText: string;
|
|
1939
|
+
inlineAnswers: boolean;
|
|
1940
|
+
animateSlideout: boolean;
|
|
1941
|
+
private _showAnswers;
|
|
1942
|
+
private _answersShowing;
|
|
1943
|
+
private _showSelections;
|
|
1944
|
+
private _selectionSelected;
|
|
1945
|
+
private _subs;
|
|
1946
|
+
constructor(buildFurnitureService: SwitchBuildFurnitureService, configuratorConnectorService: ConfiguratorConnectorService, _configuringService: ConfiguringService);
|
|
1947
|
+
ngOnDestroy(): void;
|
|
1948
|
+
onCloseLiteSelectorButtonClick(): void;
|
|
1949
|
+
onSelectionsSummarySelectSelection(selection: Selection, forceBackToNode?: boolean, after?: boolean): Promise<void>;
|
|
1950
|
+
onSelectionsSummaryDeleteSelection(selection: Selection): Promise<void>;
|
|
1951
|
+
onAnswersSlideoutAnswerChosen(answerSelected: any): void;
|
|
1952
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LiteSelectorComponent, never>;
|
|
1953
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LiteSelectorComponent, "co-lite-selector", never, { "showAnswers": { "alias": "showAnswers"; "required": false; }; "show": { "alias": "show"; "required": false; }; "showSelections": { "alias": "showSelections"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "canClose": { "alias": "canClose"; "required": false; }; "customDimensions": { "alias": "customDimensions"; "required": false; }; }, { "showChange": "showChange"; "answerChosen": "answerChosen"; }, never, never, false, never>;
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1956
|
+
declare class AnswerCardComponent implements OnInit {
|
|
1957
|
+
settingsService: SettingsService;
|
|
1958
|
+
iconService: IconCacheService;
|
|
1959
|
+
private _configuratorConnectorService;
|
|
1960
|
+
readonly icons: typeof IconEnum;
|
|
1961
|
+
showClass(): boolean;
|
|
1962
|
+
get activeInfoClass(): boolean;
|
|
1963
|
+
model: Answer | any;
|
|
1964
|
+
valutaSymbol: string;
|
|
1965
|
+
set showing(value: boolean);
|
|
1966
|
+
isSelected: boolean;
|
|
1967
|
+
isSmallModus: boolean;
|
|
1968
|
+
freeInput: string;
|
|
1969
|
+
readonly freeInputChange: EventEmitter<string>;
|
|
1970
|
+
readonly inqNumberChange: EventEmitter<string>;
|
|
1971
|
+
readonly select: EventEmitter<string>;
|
|
1972
|
+
readonly selectWithInq: EventEmitter<string>;
|
|
1973
|
+
readonly magnifierClick: EventEmitter<Answer>;
|
|
1974
|
+
readonly answerInfoToggle: EventEmitter<{
|
|
1975
|
+
open: boolean;
|
|
1976
|
+
id: string;
|
|
1977
|
+
}>;
|
|
1978
|
+
dialogPosition: {
|
|
1979
|
+
top: number;
|
|
1980
|
+
right: number;
|
|
1981
|
+
} | null;
|
|
1982
|
+
inqNumberModel: string;
|
|
1983
|
+
inqNumberError: boolean;
|
|
1984
|
+
showAnswerInfo: boolean;
|
|
1985
|
+
private _waitForInput;
|
|
1986
|
+
private _waitForInqValue;
|
|
1987
|
+
constructor(settingsService: SettingsService, iconService: IconCacheService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
1988
|
+
ngOnInit(): void;
|
|
1989
|
+
onContentClick(): void;
|
|
1990
|
+
handleClick(event: MouseEvent): void;
|
|
1991
|
+
onInfoButtonClick(event: MouseEvent): void;
|
|
1992
|
+
closeInfo(silent?: boolean): void;
|
|
1993
|
+
handleFocusFreeInput(event: MouseEvent): void;
|
|
1994
|
+
handleBlurFreeInput(event: MouseEvent): void;
|
|
1995
|
+
handleKeyDownFreeInput(event: KeyboardEvent): void;
|
|
1996
|
+
handleFocusInqNumber(event: MouseEvent): void;
|
|
1997
|
+
handleBlurInqNumber(event: MouseEvent): void;
|
|
1998
|
+
handleKeyDownInqNumber(event: KeyboardEvent): void;
|
|
1999
|
+
onZoomImage(): void;
|
|
2000
|
+
validateInqNumber(event: MouseEvent): boolean;
|
|
2001
|
+
replaceTranslationValues(translation: string, min: number, max: number): string;
|
|
2002
|
+
private _checkVisibility;
|
|
2003
|
+
private _getThumbnailImage;
|
|
2004
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnswerCardComponent, never>;
|
|
2005
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnswerCardComponent, "co-answer-card", never, { "model": { "alias": "model"; "required": false; }; "valutaSymbol": { "alias": "valutaSymbol"; "required": false; }; "showing": { "alias": "showing"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; "isSmallModus": { "alias": "isSmallModus"; "required": false; }; "freeInput": { "alias": "freeInput"; "required": false; }; }, { "freeInputChange": "freeInputChange"; "inqNumberChange": "inqNumberChange"; "select": "select"; "selectWithInq": "selectWithInq"; "magnifierClick": "magnifierClick"; "answerInfoToggle": "answerInfoToggle"; }, never, never, false, never>;
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
declare class AnswersSlideoutComponent implements OnInit, OnDestroy {
|
|
2009
|
+
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2010
|
+
settingsService: SettingsService;
|
|
2011
|
+
iconService: IconCacheService;
|
|
2012
|
+
private _appEventService;
|
|
2013
|
+
private _buildFurnitureService;
|
|
2014
|
+
private _configuringService;
|
|
2015
|
+
showClass(): boolean;
|
|
2016
|
+
slideOut: ElementRef;
|
|
2017
|
+
cards: QueryList<AnswerCardComponent>;
|
|
2018
|
+
readonly icons: typeof IconEnum;
|
|
2019
|
+
private readonly _showSmallAnswerCardsFromThisAmount;
|
|
2020
|
+
private readonly _propsToSearch;
|
|
2021
|
+
isShown: boolean;
|
|
2022
|
+
question: Question;
|
|
2023
|
+
showTitle: boolean;
|
|
2024
|
+
showFilter: boolean;
|
|
2025
|
+
set answers(value: Answer[]);
|
|
2026
|
+
useSlideout: boolean;
|
|
2027
|
+
get answers(): Answer[];
|
|
2028
|
+
customDimensions: boolean;
|
|
2029
|
+
readonly isShownChange: EventEmitter<boolean>;
|
|
2030
|
+
readonly answerChosen: EventEmitter<{
|
|
2031
|
+
answer: Answer;
|
|
2032
|
+
input: string;
|
|
2033
|
+
}>;
|
|
2034
|
+
isSmallCardsModus: boolean;
|
|
2035
|
+
bottomAlign: boolean;
|
|
2036
|
+
filteredAnswers: Answer[];
|
|
2037
|
+
colorArray: Color$1[];
|
|
2038
|
+
tagArray: Tag[];
|
|
2039
|
+
showTheFilter: boolean;
|
|
2040
|
+
zoomImage: string;
|
|
2041
|
+
showZoom: boolean;
|
|
2042
|
+
searchExpanded: boolean;
|
|
2043
|
+
chipTexts: string[];
|
|
2044
|
+
freeInput: string;
|
|
2045
|
+
inqNumber: number;
|
|
2046
|
+
valutaSymbol: string;
|
|
2047
|
+
hasInfoOpen: boolean;
|
|
2048
|
+
private _openCount;
|
|
2049
|
+
private _answers;
|
|
2050
|
+
private _subs;
|
|
2051
|
+
private _filterOnColors;
|
|
2052
|
+
private _filterOnTags;
|
|
2053
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: SettingsService, iconService: IconCacheService, _appEventService: AppEventService, _buildFurnitureService: SwitchBuildFurnitureService, _configuringService: ConfiguringService);
|
|
2054
|
+
ngOnInit(): void;
|
|
2055
|
+
ngOnDestroy(): void;
|
|
2056
|
+
onZoomClick(answer: Answer): void;
|
|
2057
|
+
applyFilter(): void;
|
|
2058
|
+
onFilterColor(color: Color$1): void;
|
|
2059
|
+
onFilterTag(tag: Tag): void;
|
|
2060
|
+
onCloseAnswerSlideout(): void;
|
|
2061
|
+
handleAnswerChosen(answer: Answer): void;
|
|
2062
|
+
isSelectedAnswer(answer: Answer): boolean;
|
|
2063
|
+
onChipsValueChange(value: string[]): void;
|
|
2064
|
+
onChipsClose(): void;
|
|
2065
|
+
handleFreeInputChange($event: string): void;
|
|
2066
|
+
handleIngNumberChange($event: string): void;
|
|
2067
|
+
onAnswerInfoToggle(evt: {
|
|
2068
|
+
open: boolean;
|
|
2069
|
+
id: string;
|
|
2070
|
+
}): void;
|
|
2071
|
+
private _filterOnArray;
|
|
2072
|
+
private _filterOnChips;
|
|
2073
|
+
private _containsTextParts;
|
|
2074
|
+
private _setArrays;
|
|
2075
|
+
private _addToArray;
|
|
2076
|
+
private _inArray;
|
|
2077
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnswersSlideoutComponent, never>;
|
|
2078
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnswersSlideoutComponent, "co-answers-slideout", never, { "isShown": { "alias": "isShown"; "required": false; }; "question": { "alias": "question"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showFilter": { "alias": "showFilter"; "required": false; }; "answers": { "alias": "answers"; "required": false; }; "useSlideout": { "alias": "useSlideout"; "required": false; }; "customDimensions": { "alias": "customDimensions"; "required": false; }; }, { "isShownChange": "isShownChange"; "answerChosen": "answerChosen"; }, never, never, false, never>;
|
|
2079
|
+
}
|
|
2080
|
+
|
|
2081
|
+
declare class SlideoutComponent implements AfterViewInit {
|
|
2082
|
+
private _elementRef;
|
|
2083
|
+
show: boolean;
|
|
2084
|
+
showClass(): boolean;
|
|
2085
|
+
resizable: boolean;
|
|
2086
|
+
readonly dragGutter: ElementRef;
|
|
2087
|
+
private _originalWidthPx;
|
|
2088
|
+
private _dragStartX;
|
|
2089
|
+
private _isDragResizing;
|
|
2090
|
+
private readonly _minWidthAfterDragResize;
|
|
2091
|
+
constructor(_elementRef: ElementRef);
|
|
2092
|
+
ngAfterViewInit(): void;
|
|
2093
|
+
onDragGutterMouseDown(event: MouseEvent): void;
|
|
2094
|
+
onDocumentMouseUp(event: MouseEvent): void;
|
|
2095
|
+
onDocumentDragEnd(event: DragEvent): void;
|
|
2096
|
+
onDragGutterMouseUp(event: MouseEvent): void;
|
|
2097
|
+
onDragGutterDoubleClick(): void;
|
|
2098
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlideoutComponent, never>;
|
|
2099
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SlideoutComponent, "co-slideout", never, { "show": { "alias": "show"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
2100
|
+
}
|
|
2101
|
+
|
|
2102
|
+
declare class SlideoutModule {
|
|
2103
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlideoutModule, never>;
|
|
2104
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SlideoutModule, [typeof SlideoutComponent], never, [typeof SlideoutComponent]>;
|
|
2105
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SlideoutModule>;
|
|
2106
|
+
}
|
|
2107
|
+
|
|
2108
|
+
declare class AnswersInfoDialogComponent implements OnInit {
|
|
2109
|
+
iconService: IconCacheService;
|
|
2110
|
+
private _settingsService;
|
|
2111
|
+
private _configuratorConnectorService;
|
|
2112
|
+
private _sanitizer;
|
|
2113
|
+
readonly icons: typeof IconEnum;
|
|
2114
|
+
showClass(): boolean;
|
|
2115
|
+
answer: Answer;
|
|
2116
|
+
structure: SelectorStructure;
|
|
2117
|
+
fixedPosition: {
|
|
2118
|
+
top: number;
|
|
2119
|
+
right: number;
|
|
2120
|
+
} | null;
|
|
2121
|
+
nothingToShow: EventEmitter<void>;
|
|
2122
|
+
answerText: string;
|
|
2123
|
+
answerImage: string;
|
|
2124
|
+
answerHtml: SafeHtml;
|
|
2125
|
+
textLoading: boolean;
|
|
2126
|
+
textError: string;
|
|
2127
|
+
showTooltip: boolean;
|
|
2128
|
+
showPopup: boolean;
|
|
2129
|
+
hasEmbed: boolean;
|
|
2130
|
+
constructor(iconService: IconCacheService, _settingsService: SettingsService, _configuratorConnectorService: ConfiguratorConnectorService, _sanitizer: DomSanitizer);
|
|
2131
|
+
ngOnInit(): Promise<void>;
|
|
2132
|
+
private _loadInfo;
|
|
2133
|
+
private _formatAnswerInfo;
|
|
2134
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnswersInfoDialogComponent, never>;
|
|
2135
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnswersInfoDialogComponent, "co-answer-info-dialog", never, { "answer": { "alias": "answer"; "required": false; }; "structure": { "alias": "structure"; "required": false; }; "fixedPosition": { "alias": "fixedPosition"; "required": false; }; }, { "nothingToShow": "nothingToShow"; }, never, never, false, never>;
|
|
2136
|
+
}
|
|
2137
|
+
|
|
2138
|
+
declare class AnswersInfoDialogModule {
|
|
2139
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnswersInfoDialogModule, never>;
|
|
2140
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnswersInfoDialogModule, [typeof AnswersInfoDialogComponent], [typeof i3.CommonModule, typeof PipesModule, typeof i5.IconModule], [typeof AnswersInfoDialogComponent]>;
|
|
2141
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AnswersInfoDialogModule>;
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
declare class AnswerCardModule {
|
|
2145
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnswerCardModule, never>;
|
|
2146
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnswerCardModule, [typeof AnswerCardComponent], [typeof i3.CommonModule, typeof i5.CardModule, typeof PipesModule, typeof i5.CardModule, typeof i5.InputTextModule, typeof i5.IconModule, typeof AnswersInfoDialogModule, typeof i5.CardModule], [typeof AnswerCardComponent]>;
|
|
2147
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AnswerCardModule>;
|
|
2148
|
+
}
|
|
2149
|
+
|
|
2150
|
+
declare class ImageZoomComponent {
|
|
2151
|
+
iconService: IconCacheService;
|
|
2152
|
+
showClass(): boolean;
|
|
2153
|
+
readonly icons: typeof IconEnum;
|
|
2154
|
+
imageData: string;
|
|
2155
|
+
show: boolean;
|
|
2156
|
+
showChange: EventEmitter<boolean>;
|
|
2157
|
+
constructor(iconService: IconCacheService);
|
|
2158
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageZoomComponent, never>;
|
|
2159
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageZoomComponent, "co-image-zoom", never, { "imageData": { "alias": "imageData"; "required": false; }; "show": { "alias": "show"; "required": false; }; }, { "showChange": "showChange"; }, never, ["*"], false, never>;
|
|
2160
|
+
}
|
|
2161
|
+
|
|
2162
|
+
declare class ImageZoomModule {
|
|
2163
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageZoomModule, never>;
|
|
2164
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageZoomModule, [typeof ImageZoomComponent], [typeof i5.IconModule, typeof i3.CommonModule], [typeof ImageZoomComponent]>;
|
|
2165
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ImageZoomModule>;
|
|
2166
|
+
}
|
|
2167
|
+
|
|
2168
|
+
declare class ColorFilterComponent {
|
|
2169
|
+
iconService: IconCacheService;
|
|
2170
|
+
private _sanitizer;
|
|
2171
|
+
readonly icons: typeof IconEnum;
|
|
2172
|
+
showClass(): boolean;
|
|
2173
|
+
set color(value: Color$1);
|
|
2174
|
+
get color(): Color$1;
|
|
2175
|
+
active: boolean;
|
|
2176
|
+
get lightBackground(): boolean;
|
|
2177
|
+
backgroundStyle: SafeStyle;
|
|
2178
|
+
private _color;
|
|
2179
|
+
constructor(iconService: IconCacheService, _sanitizer: DomSanitizer);
|
|
2180
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColorFilterComponent, never>;
|
|
2181
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColorFilterComponent, "co-color-filter", never, { "color": { "alias": "color"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, {}, never, never, false, never>;
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
declare class ColorFilterModule {
|
|
2185
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColorFilterModule, never>;
|
|
2186
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ColorFilterModule, [typeof ColorFilterComponent], [typeof i5.IconModule], [typeof ColorFilterComponent]>;
|
|
2187
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ColorFilterModule>;
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
declare class TagFilterComponent {
|
|
2191
|
+
showClass(): boolean;
|
|
2192
|
+
tag: Tag;
|
|
2193
|
+
active: boolean;
|
|
2194
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagFilterComponent, never>;
|
|
2195
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagFilterComponent, "co-tag-filter", never, { "tag": { "alias": "tag"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, {}, never, never, false, never>;
|
|
2196
|
+
}
|
|
2197
|
+
|
|
2198
|
+
declare class TagFilterModule {
|
|
2199
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagFilterModule, never>;
|
|
2200
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TagFilterModule, [typeof TagFilterComponent], never, [typeof TagFilterComponent]>;
|
|
2201
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TagFilterModule>;
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2204
|
+
declare class VisibilityObserverMasterDirective implements OnDestroy {
|
|
2205
|
+
private _mapping;
|
|
2206
|
+
private _observer;
|
|
2207
|
+
constructor();
|
|
2208
|
+
ngOnDestroy(): void;
|
|
2209
|
+
add(element: HTMLElement, callback: Function): void;
|
|
2210
|
+
remove(element: HTMLElement): void;
|
|
2211
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VisibilityObserverMasterDirective, never>;
|
|
2212
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VisibilityObserverMasterDirective, "[visibilityObserverMaster]", never, {}, {}, never, never, false, never>;
|
|
2213
|
+
}
|
|
2214
|
+
|
|
2215
|
+
declare class VisibilityObserverDirective implements OnDestroy, OnInit {
|
|
2216
|
+
observerEnabled: boolean;
|
|
2217
|
+
isIntersecting: boolean;
|
|
2218
|
+
IS_INTERSECTING: boolean;
|
|
2219
|
+
IS_NOT_INTERSECTING: boolean;
|
|
2220
|
+
private _elementRef;
|
|
2221
|
+
private _parent;
|
|
2222
|
+
constructor(parent: VisibilityObserverMasterDirective, elementRef: ElementRef);
|
|
2223
|
+
ngOnDestroy(): void;
|
|
2224
|
+
ngOnInit(): void;
|
|
2225
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VisibilityObserverDirective, never>;
|
|
2226
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VisibilityObserverDirective, "[visibilityObserver]", ["intersection"], { "observerEnabled": { "alias": "observerEnabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
2227
|
+
}
|
|
2228
|
+
|
|
2229
|
+
declare class DirectivesModule {
|
|
2230
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DirectivesModule, never>;
|
|
2231
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DirectivesModule, [typeof VisibilityObserverDirective, typeof VisibilityObserverMasterDirective], never, [typeof VisibilityObserverDirective, typeof VisibilityObserverMasterDirective]>;
|
|
2232
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DirectivesModule>;
|
|
2233
|
+
}
|
|
2234
|
+
|
|
2235
|
+
declare class AnswersSlideoutModule {
|
|
2236
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnswersSlideoutModule, never>;
|
|
2237
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnswersSlideoutModule, [typeof AnswersSlideoutComponent], [typeof SlideoutModule, typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule, typeof i5.PriceDisplayPipeModule, typeof AnswerCardModule, typeof ImageZoomModule, typeof ColorFilterModule, typeof TagFilterModule, typeof DirectivesModule], [typeof AnswersSlideoutComponent]>;
|
|
2238
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AnswersSlideoutModule>;
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
declare class SelectionsSummaryComponent implements OnDestroy {
|
|
2242
|
+
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2243
|
+
iconService: IconCacheService;
|
|
2244
|
+
showClass(): boolean;
|
|
2245
|
+
readonly icons: typeof IconEnum;
|
|
2246
|
+
selections: Selection[];
|
|
2247
|
+
showLabel: boolean;
|
|
2248
|
+
canClose: boolean;
|
|
2249
|
+
answersTemplate: TemplateRef<any>;
|
|
2250
|
+
answerToShowFromSelectionText: string;
|
|
2251
|
+
customDimensions: boolean;
|
|
2252
|
+
disableMouse: boolean;
|
|
2253
|
+
handledocumentMouseUp(event: any): void;
|
|
2254
|
+
handleDocumentMouseDown(event: any): void;
|
|
2255
|
+
readonly closeClick: EventEmitter<void>;
|
|
2256
|
+
readonly cancelAnswers: EventEmitter<void>;
|
|
2257
|
+
readonly selectSelection: EventEmitter<Selection>;
|
|
2258
|
+
readonly repeatSelection: EventEmitter<Selection>;
|
|
2259
|
+
readonly deleteSelection: EventEmitter<Selection>;
|
|
2260
|
+
selectionToCustomize: Selection;
|
|
2261
|
+
valutaSymbol: string;
|
|
2262
|
+
showAsConfigured: boolean;
|
|
2263
|
+
private _subs;
|
|
2264
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService);
|
|
2265
|
+
ngOnDestroy(): void;
|
|
2266
|
+
handleClick(sel: Selection): void;
|
|
2267
|
+
handleRepeat(event: MouseEvent, sel: Selection): void;
|
|
2268
|
+
handleDelete(event: MouseEvent, sel: Selection): void;
|
|
2269
|
+
toggleElement(sel: Selection): void;
|
|
2270
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryComponent, never>;
|
|
2271
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectionsSummaryComponent, "co-selections-summary", never, { "selections": { "alias": "selections"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "canClose": { "alias": "canClose"; "required": false; }; "answersTemplate": { "alias": "answersTemplate"; "required": false; }; "answerToShowFromSelectionText": { "alias": "answerToShowFromSelectionText"; "required": false; }; "customDimensions": { "alias": "customDimensions"; "required": false; }; }, { "closeClick": "closeClick"; "cancelAnswers": "cancelAnswers"; "selectSelection": "selectSelection"; "repeatSelection": "repeatSelection"; "deleteSelection": "deleteSelection"; }, never, never, false, never>;
|
|
2272
|
+
}
|
|
2273
|
+
|
|
2274
|
+
declare class CoSummaryLine implements AfterViewInit {
|
|
2275
|
+
iconService: IconCacheService;
|
|
2276
|
+
private _changeDetector;
|
|
2277
|
+
showClass(): boolean;
|
|
2278
|
+
readonly icons: typeof IconEnum;
|
|
2279
|
+
titleBlock: ElementRef;
|
|
2280
|
+
imageData: string;
|
|
2281
|
+
title: string;
|
|
2282
|
+
description: string;
|
|
2283
|
+
/**
|
|
2284
|
+
* Total price of the selection
|
|
2285
|
+
*/
|
|
2286
|
+
price: number | string;
|
|
2287
|
+
/**
|
|
2288
|
+
* Multiline data for selection tree
|
|
2289
|
+
* title: string
|
|
2290
|
+
* description: string
|
|
2291
|
+
* price: number | string
|
|
2292
|
+
*/
|
|
2293
|
+
multilineData: any;
|
|
2294
|
+
valutaSymbol: string;
|
|
2295
|
+
isHighlighted: boolean;
|
|
2296
|
+
isCollapsable: boolean;
|
|
2297
|
+
canRepeat: boolean;
|
|
2298
|
+
isDeletable: boolean;
|
|
2299
|
+
showContent: boolean;
|
|
2300
|
+
repeatClicked: EventEmitter<MouseEvent>;
|
|
2301
|
+
deleteClicked: EventEmitter<MouseEvent>;
|
|
2302
|
+
data: {
|
|
2303
|
+
title: string;
|
|
2304
|
+
description: string;
|
|
2305
|
+
price: number | string;
|
|
2306
|
+
}[];
|
|
2307
|
+
showList: boolean;
|
|
2308
|
+
showCollapsable: boolean;
|
|
2309
|
+
showListTotalPrice: boolean;
|
|
2310
|
+
constructor(iconService: IconCacheService, _changeDetector: ChangeDetectorRef);
|
|
2311
|
+
ngAfterViewInit(): void;
|
|
2312
|
+
collapsableCheck(): void;
|
|
2313
|
+
toggleShowHideList(event: MouseEvent): void;
|
|
2314
|
+
handleRepeatClick(event: MouseEvent): void;
|
|
2315
|
+
handleDeleteClick(event: MouseEvent): void;
|
|
2316
|
+
private _setShowList;
|
|
2317
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CoSummaryLine, never>;
|
|
2318
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CoSummaryLine, "co-summary-line", never, { "imageData": { "alias": "imageData"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "price": { "alias": "price"; "required": false; }; "multilineData": { "alias": "multilineData"; "required": false; }; "valutaSymbol": { "alias": "valutaSymbol"; "required": false; }; "isHighlighted": { "alias": "isHighlighted"; "required": false; }; "isCollapsable": { "alias": "isCollapsable"; "required": false; }; "canRepeat": { "alias": "canRepeat"; "required": false; }; "isDeletable": { "alias": "isDeletable"; "required": false; }; "showContent": { "alias": "showContent"; "required": false; }; }, { "repeatClicked": "repeatClicked"; "deleteClicked": "deleteClicked"; }, never, ["*"], false, never>;
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2321
|
+
declare class CoSummaryLineModule {
|
|
2322
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CoSummaryLineModule, never>;
|
|
2323
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CoSummaryLineModule, [typeof CoSummaryLine], [typeof PipesModule, typeof i3.CommonModule, typeof i5.PriceDisplayPipeModule, typeof i5.ImageModule, typeof i5.IconModule], [typeof CoSummaryLine]>;
|
|
2324
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CoSummaryLineModule>;
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
declare class SelectionsSummaryLineComponent implements OnDestroy {
|
|
2328
|
+
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2329
|
+
showClass(): boolean;
|
|
2330
|
+
set selection(value: Selection);
|
|
2331
|
+
get selection(): Selection;
|
|
2332
|
+
valutaSymbol: string;
|
|
2333
|
+
answersTemplate: TemplateRef<any>;
|
|
2334
|
+
answerToShowFromSelectionText: string;
|
|
2335
|
+
customizeButtonClicked: EventEmitter<void>;
|
|
2336
|
+
summaryLineClick: EventEmitter<void>;
|
|
2337
|
+
summaryLineRepeat: EventEmitter<MouseEvent>;
|
|
2338
|
+
summaryLineDelete: EventEmitter<MouseEvent>;
|
|
2339
|
+
shouldBeHidden: boolean;
|
|
2340
|
+
selectionDescription: string;
|
|
2341
|
+
showCustomizeButton: boolean;
|
|
2342
|
+
showOnlyLastAnswerDescriptionGenericSelection: boolean;
|
|
2343
|
+
private _subs;
|
|
2344
|
+
private _selection;
|
|
2345
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService);
|
|
2346
|
+
ngOnDestroy(): void;
|
|
2347
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryLineComponent, never>;
|
|
2348
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectionsSummaryLineComponent, "co-selections-summary-line", never, { "selection": { "alias": "selection"; "required": false; }; "valutaSymbol": { "alias": "valutaSymbol"; "required": false; }; "answersTemplate": { "alias": "answersTemplate"; "required": false; }; "answerToShowFromSelectionText": { "alias": "answerToShowFromSelectionText"; "required": false; }; }, { "customizeButtonClicked": "customizeButtonClicked"; "summaryLineClick": "summaryLineClick"; "summaryLineRepeat": "summaryLineRepeat"; "summaryLineDelete": "summaryLineDelete"; }, never, never, false, never>;
|
|
2349
|
+
}
|
|
2350
|
+
|
|
2351
|
+
declare class SelectionsSummaryLineModule {
|
|
2352
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryLineModule, never>;
|
|
2353
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsSummaryLineModule, [typeof SelectionsSummaryLineComponent], [typeof PipesModule, typeof i3.CommonModule, typeof CoSummaryLineModule], [typeof SelectionsSummaryLineComponent]>;
|
|
2354
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsSummaryLineModule>;
|
|
2355
|
+
}
|
|
2356
|
+
|
|
2357
|
+
declare class SelectionsSummaryModule {
|
|
2358
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsSummaryModule, never>;
|
|
2359
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsSummaryModule, [typeof SelectionsSummaryComponent], [typeof CoSummaryLineModule, typeof i3.CommonModule, typeof PipesModule, typeof i5.PriceDisplayPipeModule, typeof SelectionsSummaryLineModule, typeof i5.IconModule], [typeof SelectionsSummaryComponent]>;
|
|
2360
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsSummaryModule>;
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
declare class LiteSelectorModule {
|
|
2364
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LiteSelectorModule, never>;
|
|
2365
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LiteSelectorModule, [typeof LiteSelectorComponent], [typeof AnswersSlideoutModule, typeof i3.CommonModule, typeof SelectionsSummaryModule], [typeof LiteSelectorComponent]>;
|
|
2366
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LiteSelectorModule>;
|
|
2367
|
+
}
|
|
2368
|
+
|
|
2369
|
+
declare class ProductConfiguratorService {
|
|
2370
|
+
showChange: EventEmitter<boolean>;
|
|
2371
|
+
answerChosen: EventEmitter<Answer>;
|
|
2372
|
+
selectSelection: EventEmitter<SelectorStructure>;
|
|
2373
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorService, never>;
|
|
2374
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductConfiguratorService>;
|
|
2375
|
+
}
|
|
2376
|
+
|
|
2377
|
+
declare class ProductConfiguratorComponent implements OnInit, OnDestroy {
|
|
2378
|
+
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2379
|
+
buildFurnitureService: SwitchBuildFurnitureService;
|
|
2380
|
+
settingsService: SettingsService;
|
|
2381
|
+
productConfiguratorService: ProductConfiguratorService;
|
|
2382
|
+
iconService: IconCacheService;
|
|
2383
|
+
private _sanitizer;
|
|
2384
|
+
private _configuringService;
|
|
2385
|
+
showClass(): boolean;
|
|
2386
|
+
readonly icons: typeof IconEnum;
|
|
2387
|
+
set show(value: boolean);
|
|
2388
|
+
get show(): boolean;
|
|
2389
|
+
showHeaderInformation: boolean;
|
|
2390
|
+
set showSelections(value: boolean);
|
|
2391
|
+
get showSelections(): boolean;
|
|
2392
|
+
showLabel: boolean;
|
|
2393
|
+
canClose: boolean;
|
|
2394
|
+
customDimensions: boolean;
|
|
2395
|
+
readonly showChange: EventEmitter<boolean>;
|
|
2396
|
+
readonly answerChosen: EventEmitter<Answer>;
|
|
2397
|
+
valutaSymbol: string;
|
|
2398
|
+
article: Article;
|
|
2399
|
+
selectionList: SelectorWithOptions[];
|
|
2400
|
+
safeDescription: SafeHtml;
|
|
2401
|
+
private _showSelections;
|
|
2402
|
+
private _show;
|
|
2403
|
+
private _selectionSelected;
|
|
2404
|
+
private _subs;
|
|
2405
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService: SettingsService, productConfiguratorService: ProductConfiguratorService, iconService: IconCacheService, _sanitizer: DomSanitizer, _configuringService: ConfiguringService);
|
|
2406
|
+
ngOnInit(): void;
|
|
2407
|
+
ngOnDestroy(): void;
|
|
2408
|
+
onSelectionsSummarySelectSelection(chosenOption: SelectorStructure): Promise<void>;
|
|
2409
|
+
handleCloseClick(): void;
|
|
2410
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorComponent, never>;
|
|
2411
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorComponent, "co-product-configurator", never, { "show": { "alias": "show"; "required": false; }; "showHeaderInformation": { "alias": "showHeaderInformation"; "required": false; }; "showSelections": { "alias": "showSelections"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "canClose": { "alias": "canClose"; "required": false; }; "customDimensions": { "alias": "customDimensions"; "required": false; }; }, { "showChange": "showChange"; "answerChosen": "answerChosen"; }, never, never, false, never>;
|
|
2412
|
+
}
|
|
2413
|
+
|
|
2414
|
+
declare class ProductConfiguratorSelectorComponent implements OnInit {
|
|
2415
|
+
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2416
|
+
settingsService: SettingsService;
|
|
2417
|
+
iconService: IconCacheService;
|
|
2418
|
+
showClass(): boolean;
|
|
2419
|
+
readonly icons: typeof IconEnum;
|
|
2420
|
+
exceptionContainer?: ElementRef;
|
|
2421
|
+
get hostClasses(): string;
|
|
2422
|
+
selection: SelectorStructure;
|
|
2423
|
+
options: SelectorWithOptions[];
|
|
2424
|
+
lastNodeWithChildren: boolean;
|
|
2425
|
+
selectionIndex: number;
|
|
2426
|
+
treeLevelIndex: number;
|
|
2427
|
+
isActive: boolean;
|
|
2428
|
+
markAsException: boolean;
|
|
2429
|
+
activate: EventEmitter<void>;
|
|
2430
|
+
get selectionIndexText(): string;
|
|
2431
|
+
selectionClass: string;
|
|
2432
|
+
listOfChoices: SelectorStructure[];
|
|
2433
|
+
activeChildIndex: number;
|
|
2434
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: SettingsService, iconService: IconCacheService);
|
|
2435
|
+
ngOnInit(): void;
|
|
2436
|
+
showAndScroll(): void;
|
|
2437
|
+
onSubHeaderClick(): void;
|
|
2438
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorComponent, never>;
|
|
2439
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorComponent, "co-product-configurator-selector", never, { "selection": { "alias": "selection"; "required": false; }; "options": { "alias": "options"; "required": false; }; "lastNodeWithChildren": { "alias": "lastNodeWithChildren"; "required": false; }; "selectionIndex": { "alias": "selectionIndex"; "required": false; }; "treeLevelIndex": { "alias": "treeLevelIndex"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; "markAsException": { "alias": "markAsException"; "required": false; }; }, { "activate": "activate"; }, never, never, false, never>;
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
declare class ProductConfiguratorSelectorOptionComponent implements OnInit {
|
|
2443
|
+
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2444
|
+
settingsService: SettingsService;
|
|
2445
|
+
productConfiguratorService: ProductConfiguratorService;
|
|
2446
|
+
showClass(): boolean;
|
|
2447
|
+
selection: SelectorStructure;
|
|
2448
|
+
listOfChoices: SelectorStructure[];
|
|
2449
|
+
markAsException: boolean;
|
|
2450
|
+
configurationDisplayOption: typeof ConfigurationDisplayOption;
|
|
2451
|
+
selectionClass: string;
|
|
2452
|
+
showAllTiles: boolean;
|
|
2453
|
+
maxVisibleTiles: number;
|
|
2454
|
+
maxVisibleSmallTiles: number;
|
|
2455
|
+
visibleAnswers: SelectorStructure[];
|
|
2456
|
+
remainingTilesCount: number;
|
|
2457
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: SettingsService, productConfiguratorService: ProductConfiguratorService);
|
|
2458
|
+
ngOnInit(): void;
|
|
2459
|
+
selectionClicked(answer: SelectorStructure): void;
|
|
2460
|
+
showMore(): void;
|
|
2461
|
+
showLess(): void;
|
|
2462
|
+
private _calculateVisibleAnswers;
|
|
2463
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionComponent, never>;
|
|
2464
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionComponent, "co-product-configurator-selector-option", never, { "selection": { "alias": "selection"; "required": false; }; "listOfChoices": { "alias": "listOfChoices"; "required": false; }; "markAsException": { "alias": "markAsException"; "required": false; }; }, {}, never, never, false, never>;
|
|
2465
|
+
}
|
|
2466
|
+
|
|
2467
|
+
declare class ProductConfiguratorSelectorOptionTileComponent {
|
|
2468
|
+
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2469
|
+
iconService: IconCacheService;
|
|
2470
|
+
settingsService: SettingsService;
|
|
2471
|
+
showClass(): boolean;
|
|
2472
|
+
readonly icons: typeof IconEnum;
|
|
2473
|
+
option: SelectorStructure;
|
|
2474
|
+
tileClass: string;
|
|
2475
|
+
selectionClicked: EventEmitter<void>;
|
|
2476
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: SettingsService);
|
|
2477
|
+
changeSelection(): void;
|
|
2478
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionTileComponent, never>;
|
|
2479
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionTileComponent, "co-product-configurator-selector-option-tile", never, { "option": { "alias": "option"; "required": false; }; "tileClass": { "alias": "tileClass"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
|
|
2480
|
+
}
|
|
2481
|
+
|
|
2482
|
+
declare class ProductConfiguratorSelectorOptionTileModule {
|
|
2483
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionTileModule, never>;
|
|
2484
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionTileModule, [typeof ProductConfiguratorSelectorOptionTileComponent], [typeof i5.IconModule, typeof i3.CommonModule, typeof PipesModule], [typeof ProductConfiguratorSelectorOptionTileComponent]>;
|
|
2485
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionTileModule>;
|
|
2486
|
+
}
|
|
2487
|
+
|
|
2488
|
+
declare class ProductConfiguratorOptionCheckboxComponent {
|
|
2489
|
+
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2490
|
+
iconService: IconCacheService;
|
|
2491
|
+
settingsService: SettingsService;
|
|
2492
|
+
showClass(): boolean;
|
|
2493
|
+
readonly icons: typeof IconEnum;
|
|
2494
|
+
option: SelectorStructure;
|
|
2495
|
+
selectionClicked: EventEmitter<void>;
|
|
2496
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: SettingsService);
|
|
2497
|
+
changeSelection(): void;
|
|
2498
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorOptionCheckboxComponent, never>;
|
|
2499
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorOptionCheckboxComponent, "co-product-configurator-option-checkbox", never, { "option": { "alias": "option"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2502
|
+
declare class ProductConfiguratorSelectorOptionCheckboxModule {
|
|
2503
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionCheckboxModule, never>;
|
|
2504
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionCheckboxModule, [typeof ProductConfiguratorOptionCheckboxComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule], [typeof ProductConfiguratorOptionCheckboxComponent]>;
|
|
2505
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionCheckboxModule>;
|
|
2506
|
+
}
|
|
2507
|
+
|
|
2508
|
+
declare class ProductConfiguratorSelectorOptionButtonComponent {
|
|
2509
|
+
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2510
|
+
iconService: IconCacheService;
|
|
2511
|
+
settingsService: SettingsService;
|
|
2512
|
+
showClass(): boolean;
|
|
2513
|
+
readonly icons: typeof IconEnum;
|
|
2514
|
+
option: SelectorStructure;
|
|
2515
|
+
selectionClicked: EventEmitter<void>;
|
|
2516
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: SettingsService);
|
|
2517
|
+
changeSelection(): void;
|
|
2518
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionButtonComponent, never>;
|
|
2519
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionButtonComponent, "co-product-configurator-selector-option-button", never, { "option": { "alias": "option"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
|
|
2520
|
+
}
|
|
2521
|
+
|
|
2522
|
+
declare class ProductConfiguratorSelectorOptionButtonModule {
|
|
2523
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionButtonModule, never>;
|
|
2524
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionButtonModule, [typeof ProductConfiguratorSelectorOptionButtonComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule], [typeof ProductConfiguratorSelectorOptionButtonComponent]>;
|
|
2525
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionButtonModule>;
|
|
2526
|
+
}
|
|
2527
|
+
|
|
2528
|
+
declare class ProductConfiguratorSelectorOptionDropDownComponent {
|
|
2529
|
+
configuratorConnectorService: ConfiguratorConnectorService;
|
|
2530
|
+
iconService: IconCacheService;
|
|
2531
|
+
settingsService: SettingsService;
|
|
2532
|
+
showClass(): boolean;
|
|
2533
|
+
readonly icons: typeof IconEnum;
|
|
2534
|
+
options: SelectorStructure[];
|
|
2535
|
+
tileClass: string;
|
|
2536
|
+
selectionClicked: EventEmitter<SelectorStructure>;
|
|
2537
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, iconService: IconCacheService, settingsService: SettingsService);
|
|
2538
|
+
onChange(event: Event): void;
|
|
2539
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionDropDownComponent, never>;
|
|
2540
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorOptionDropDownComponent, "co-product-configurator-selector-option-dropdown", never, { "options": { "alias": "options"; "required": false; }; "tileClass": { "alias": "tileClass"; "required": false; }; }, { "selectionClicked": "selectionClicked"; }, never, never, false, never>;
|
|
2541
|
+
}
|
|
2542
|
+
|
|
2543
|
+
declare class ProductConfiguratorSelectorOptionDropdownModule {
|
|
2544
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionDropdownModule, never>;
|
|
2545
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionDropdownModule, [typeof ProductConfiguratorSelectorOptionDropDownComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule], [typeof ProductConfiguratorSelectorOptionDropDownComponent]>;
|
|
2546
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionDropdownModule>;
|
|
2547
|
+
}
|
|
2548
|
+
|
|
2549
|
+
declare class ProductConfiguratorSelectorOptionModule {
|
|
2550
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorOptionModule, never>;
|
|
2551
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorOptionModule, [typeof ProductConfiguratorSelectorOptionComponent], [typeof PipesModule, typeof i3.CommonModule, typeof ProductConfiguratorSelectorOptionTileModule, typeof ProductConfiguratorSelectorOptionCheckboxModule, typeof ProductConfiguratorSelectorOptionButtonModule, typeof ProductConfiguratorSelectorOptionDropdownModule], [typeof ProductConfiguratorSelectorOptionComponent]>;
|
|
2552
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorOptionModule>;
|
|
2553
|
+
}
|
|
2554
|
+
|
|
2555
|
+
declare class ProductConfiguratorSelectorModule {
|
|
2556
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorModule, never>;
|
|
2557
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorModule, [typeof ProductConfiguratorSelectorComponent], [typeof PipesModule, typeof i3.CommonModule, typeof i5.IconModule, typeof ProductConfiguratorSelectorOptionModule], [typeof ProductConfiguratorSelectorComponent]>;
|
|
2558
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorModule>;
|
|
2559
|
+
}
|
|
2560
|
+
|
|
2561
|
+
declare class ProductConfiguratorModule {
|
|
2562
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorModule, never>;
|
|
2563
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorModule, [typeof ProductConfiguratorComponent], [typeof i3.CommonModule, typeof i3$1.MatIconModule, typeof i4.MatButtonModule, typeof i5.CardModule, typeof SlideoutModule, typeof i5.PriceDisplayPipeModule, typeof i5.ButtonModule, typeof i5.InputTextModule, typeof i7.FormsModule, typeof PipesModule, typeof i5.IconModule, typeof i5.TooltipDirectiveModule, typeof ProductConfiguratorSelectorModule], [typeof ProductConfiguratorComponent]>;
|
|
2564
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorModule>;
|
|
2565
|
+
}
|
|
2566
|
+
|
|
2567
|
+
declare class ThreedselectorModule {
|
|
2568
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorModule, never>;
|
|
2569
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ThreedselectorModule, [typeof ThreedselectorComponent], [typeof LiteSelectorModule, typeof ProductConfiguratorModule, typeof i3.CommonModule], [typeof ThreedselectorComponent]>;
|
|
2570
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ThreedselectorModule>;
|
|
2571
|
+
}
|
|
2572
|
+
|
|
2573
|
+
declare class ConfiguratorModule {
|
|
2574
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorModule, never>;
|
|
2575
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorModule, [typeof ConfiguratorComponent], [typeof i3.CommonModule, typeof ProgressBarModule, typeof ConfiguratorLoaderModule, typeof ConfiguratorDialogModule, typeof ThreedselectorModule], [typeof ConfiguratorComponent]>;
|
|
2576
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorModule>;
|
|
2577
|
+
}
|
|
2578
|
+
|
|
2579
|
+
declare class ConfiguratorSceneLoaderComponent {
|
|
2580
|
+
showClass(): boolean;
|
|
2581
|
+
loaderProgress: number;
|
|
2582
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneLoaderComponent, never>;
|
|
2583
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorSceneLoaderComponent, "co-configurator-scene-loader", never, { "loaderProgress": { "alias": "loaderProgress"; "required": false; }; }, {}, never, never, false, never>;
|
|
2584
|
+
}
|
|
2585
|
+
|
|
2586
|
+
declare class ConfiguratorSceneLoaderModule {
|
|
2587
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneLoaderModule, never>;
|
|
2588
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorSceneLoaderModule, [typeof ConfiguratorSceneLoaderComponent], [typeof i3.CommonModule], [typeof ConfiguratorSceneLoaderComponent]>;
|
|
2589
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorSceneLoaderModule>;
|
|
2590
|
+
}
|
|
2591
|
+
|
|
2592
|
+
declare class CustomButton {
|
|
2593
|
+
caption: string;
|
|
2594
|
+
handler: Function;
|
|
2595
|
+
data: any;
|
|
2596
|
+
xPos: number;
|
|
2597
|
+
yPos: number;
|
|
2598
|
+
size: number;
|
|
2599
|
+
opacity: number;
|
|
2600
|
+
constructor(caption?: string, handler?: Function, data?: any);
|
|
2601
|
+
}
|
|
2602
|
+
|
|
2603
|
+
declare class ElementButtonsComponent implements OnDestroy {
|
|
2604
|
+
iconCache: IconCacheService;
|
|
2605
|
+
private _elementRef;
|
|
2606
|
+
private _settingsService;
|
|
2607
|
+
showClass(): boolean;
|
|
2608
|
+
readonly icon: typeof IconEnum;
|
|
2609
|
+
disableMouse: boolean;
|
|
2610
|
+
handleDocumentMouseUp(event: any): void;
|
|
2611
|
+
handleDocumentMouseDown(event: any): void;
|
|
2612
|
+
addButtons: CustomButton[];
|
|
2613
|
+
customizeButtons: CustomButton[];
|
|
2614
|
+
resizeButtons: CustomButton[];
|
|
2615
|
+
elementPointer: ElementRef;
|
|
2616
|
+
set elementPosition(value: Vector2);
|
|
2617
|
+
customizeButtonClicked: EventEmitter<void>;
|
|
2618
|
+
get elementPosition(): Vector2;
|
|
2619
|
+
showCaptionAddButton: boolean;
|
|
2620
|
+
private _elementPosition;
|
|
2621
|
+
private _subs;
|
|
2622
|
+
constructor(iconCache: IconCacheService, _elementRef: ElementRef, _settingsService: SettingsService);
|
|
2623
|
+
ngOnDestroy(): void;
|
|
2624
|
+
private _repositionLine;
|
|
2625
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementButtonsComponent, never>;
|
|
2626
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElementButtonsComponent, "co-element-buttons", never, { "addButtons": { "alias": "addButtons"; "required": false; }; "customizeButtons": { "alias": "customizeButtons"; "required": false; }; "resizeButtons": { "alias": "resizeButtons"; "required": false; }; "elementPointer": { "alias": "elementPointer"; "required": false; }; "elementPosition": { "alias": "elementPosition"; "required": false; }; }, { "customizeButtonClicked": "customizeButtonClicked"; }, never, never, false, never>;
|
|
2627
|
+
}
|
|
2628
|
+
|
|
2629
|
+
declare class ElementButtonsModule {
|
|
2630
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementButtonsModule, never>;
|
|
2631
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ElementButtonsModule, [typeof ElementButtonsComponent], [typeof i5.IconModule, typeof i3.CommonModule], [typeof ElementButtonsComponent]>;
|
|
2632
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ElementButtonsModule>;
|
|
2633
|
+
}
|
|
2634
|
+
|
|
2635
|
+
declare class ElementToolbarComponent implements OnDestroy {
|
|
2636
|
+
settingsService: SettingsService;
|
|
2637
|
+
iconCache: IconCacheService;
|
|
2638
|
+
showClass(): boolean;
|
|
2639
|
+
readonly icon: typeof IconEnum;
|
|
2640
|
+
elementPointer: ElementRef;
|
|
2641
|
+
hostClass: boolean;
|
|
2642
|
+
editMenu: CustomButton[];
|
|
2643
|
+
showPointer: boolean;
|
|
2644
|
+
showSwap: boolean;
|
|
2645
|
+
readonly deleteClicked: EventEmitter<any>;
|
|
2646
|
+
readonly swapClicked: EventEmitter<any>;
|
|
2647
|
+
readonly animationClicked: EventEmitter<any>;
|
|
2648
|
+
showEditMenu: boolean;
|
|
2649
|
+
get instantMenu(): boolean;
|
|
2650
|
+
constructor(settingsService: SettingsService, iconCache: IconCacheService);
|
|
2651
|
+
ngOnDestroy(): void;
|
|
2652
|
+
handleEditClick(): void;
|
|
2653
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementToolbarComponent, never>;
|
|
2654
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElementToolbarComponent, "co-element-toolbar", never, { "editMenu": { "alias": "editMenu"; "required": false; }; "showPointer": { "alias": "showPointer"; "required": false; }; "showSwap": { "alias": "showSwap"; "required": false; }; }, { "deleteClicked": "deleteClicked"; "swapClicked": "swapClicked"; "animationClicked": "animationClicked"; }, never, never, false, never>;
|
|
2655
|
+
}
|
|
2656
|
+
|
|
2657
|
+
declare class ElementToolbarModule {
|
|
2658
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementToolbarModule, never>;
|
|
2659
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ElementToolbarModule, [typeof ElementToolbarComponent], [typeof PipesModule, typeof i5.IconModule, typeof i3.CommonModule], [typeof ElementToolbarComponent]>;
|
|
2660
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ElementToolbarModule>;
|
|
2661
|
+
}
|
|
2662
|
+
|
|
2663
|
+
declare class SceneOptionButtonInterface {
|
|
2664
|
+
id: number;
|
|
2665
|
+
elementId: string;
|
|
2666
|
+
label?: string;
|
|
2667
|
+
class?: string;
|
|
2668
|
+
tooltip?: string;
|
|
2669
|
+
image?: string | SafeHtml;
|
|
2670
|
+
order?: number;
|
|
2671
|
+
toggle?: boolean;
|
|
2672
|
+
tooltipActive?: string;
|
|
2673
|
+
active?: boolean;
|
|
2674
|
+
object?: any;
|
|
2675
|
+
click?: Function;
|
|
2676
|
+
show?: boolean;
|
|
2677
|
+
icon?: IconEnum;
|
|
2678
|
+
children?: SceneOptionButtonInterface[];
|
|
2679
|
+
}
|
|
2680
|
+
|
|
2681
|
+
declare class SceneOptionsService {
|
|
2682
|
+
sceneOptionButtonAdded: BehaviorSubject<SceneOptionButtonInterface>;
|
|
2683
|
+
sceneOptionButtonUpdated: Subject<SceneOptionButtonInterface>;
|
|
2684
|
+
addSceneOptionButton(button: SceneOptionButtonInterface): void;
|
|
2685
|
+
updateSceneOptionButton(button: SceneOptionButtonInterface): void;
|
|
2686
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SceneOptionsService, never>;
|
|
2687
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SceneOptionsService>;
|
|
2688
|
+
}
|
|
2689
|
+
|
|
2690
|
+
declare class SceneOptionsComponent implements OnDestroy {
|
|
2691
|
+
iconService: IconCacheService;
|
|
2692
|
+
private _sceneOptionsService;
|
|
2693
|
+
showClass(): boolean;
|
|
2694
|
+
readonly icons: typeof IconEnum;
|
|
2695
|
+
buttons: SceneOptionButtonInterface[];
|
|
2696
|
+
private _subs;
|
|
2697
|
+
private _childrenShowing;
|
|
2698
|
+
constructor(iconService: IconCacheService, _sceneOptionsService: SceneOptionsService);
|
|
2699
|
+
ngOnDestroy(): void;
|
|
2700
|
+
handleClick(event: MouseEvent, button: SceneOptionButtonInterface): void;
|
|
2701
|
+
handleShowChildren(event: MouseEvent, button: SceneOptionButtonInterface): void;
|
|
2702
|
+
getIcon(buttonIcon: IconEnum): SafeHtml;
|
|
2703
|
+
private _addButton;
|
|
2704
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SceneOptionsComponent, never>;
|
|
2705
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SceneOptionsComponent, "co-scene-options", never, {}, {}, never, never, false, never>;
|
|
2706
|
+
}
|
|
2707
|
+
|
|
2708
|
+
declare class SelectionsModule {
|
|
2709
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionsModule, never>;
|
|
2710
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectionsModule, [typeof SceneOptionsComponent], [typeof i3.CommonModule, typeof i5.IconModule, typeof PipesModule], [typeof SceneOptionsComponent]>;
|
|
2711
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SelectionsModule>;
|
|
2712
|
+
}
|
|
2713
|
+
|
|
2714
|
+
declare enum TextureType {
|
|
2715
|
+
Basic = 0,
|
|
2716
|
+
Image = 1,
|
|
2717
|
+
CustomPattern = 2,
|
|
2718
|
+
PBR = 3,
|
|
2719
|
+
SHADOW = 4
|
|
2720
|
+
}
|
|
2721
|
+
|
|
2722
|
+
interface TextureInterface {
|
|
2723
|
+
name?: string;
|
|
2724
|
+
type?: string | TextureType;
|
|
2725
|
+
url?: string;
|
|
2726
|
+
materializeUrl?: string;
|
|
2727
|
+
bumpMap?: string;
|
|
2728
|
+
bumpScale?: number;
|
|
2729
|
+
roughness?: number;
|
|
2730
|
+
roughnessMap?: string;
|
|
2731
|
+
normalMap?: string;
|
|
2732
|
+
alphaMap?: string;
|
|
2733
|
+
repeatX?: number;
|
|
2734
|
+
repeatY?: number;
|
|
2735
|
+
metalness?: number;
|
|
2736
|
+
metalnessMap?: string;
|
|
2737
|
+
aoMapIntensity?: number;
|
|
2738
|
+
aoMap?: string;
|
|
2739
|
+
data?: any;
|
|
2740
|
+
color?: string;
|
|
2741
|
+
emissive?: string;
|
|
2742
|
+
show?: boolean;
|
|
2743
|
+
default?: boolean;
|
|
2744
|
+
surfaces?: string[];
|
|
2745
|
+
offset?: THREE.Vector2;
|
|
2746
|
+
scale?: number;
|
|
2747
|
+
rotation?: number;
|
|
2748
|
+
stretch?: boolean;
|
|
2749
|
+
height?: number;
|
|
2750
|
+
width?: number;
|
|
2751
|
+
tileSize?: number;
|
|
2752
|
+
tileRotation?: number;
|
|
2753
|
+
useStandalone?: boolean;
|
|
2754
|
+
defaultStandalone?: boolean;
|
|
2755
|
+
mirror?: boolean;
|
|
2756
|
+
simplePlane?: boolean;
|
|
2757
|
+
toneMapped?: boolean;
|
|
2758
|
+
transparent?: boolean;
|
|
2759
|
+
opacity?: number;
|
|
2760
|
+
side?: number;
|
|
2761
|
+
depthWrite?: boolean;
|
|
2762
|
+
depthTest?: boolean;
|
|
2763
|
+
}
|
|
2764
|
+
|
|
2765
|
+
interface AdjustableElementInterface {
|
|
2766
|
+
identifier: string;
|
|
2767
|
+
connector: string;
|
|
2768
|
+
connectedNodeId: number;
|
|
2769
|
+
}
|
|
2770
|
+
|
|
2771
|
+
interface Skin {
|
|
2772
|
+
[face: string]: SkinFragment;
|
|
2773
|
+
}
|
|
2774
|
+
interface SkinFragment {
|
|
2775
|
+
color?: number;
|
|
2776
|
+
texture?: Texture;
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2779
|
+
/** Meta data for items. */
|
|
2780
|
+
interface Metadata {
|
|
2781
|
+
itemName?: string;
|
|
2782
|
+
itemDescription?: string;
|
|
2783
|
+
itemType?: number;
|
|
2784
|
+
/**
|
|
2785
|
+
* InstanceId
|
|
2786
|
+
*/
|
|
2787
|
+
itemId?: string;
|
|
2788
|
+
originalItemId?: string;
|
|
2789
|
+
/**
|
|
2790
|
+
* Sku
|
|
2791
|
+
*/
|
|
2792
|
+
itemIdentifier?: string;
|
|
2793
|
+
goodId?: string;
|
|
2794
|
+
goodType?: string;
|
|
2795
|
+
isCustom?: boolean;
|
|
2796
|
+
locked?: boolean;
|
|
2797
|
+
configurable?: boolean;
|
|
2798
|
+
ione?: boolean;
|
|
2799
|
+
position?: Vector3;
|
|
2800
|
+
rotation?: number | Euler;
|
|
2801
|
+
scale?: Vector3;
|
|
2802
|
+
centerPivot?: boolean;
|
|
2803
|
+
ignoreInvisible?: boolean;
|
|
2804
|
+
updatePivotOnCreate?: boolean;
|
|
2805
|
+
elementConfiguration?: AdjustableElementInterface[];
|
|
2806
|
+
obsolete?: boolean;
|
|
2807
|
+
thirdPartyModel?: boolean;
|
|
2808
|
+
usePivot?: boolean;
|
|
2809
|
+
decos?: DecoNode[];
|
|
2810
|
+
selections?: Selection[];
|
|
2811
|
+
canElevate?: boolean;
|
|
2812
|
+
onWall?: boolean;
|
|
2813
|
+
modelUrl?: string;
|
|
2814
|
+
scalable?: boolean;
|
|
2815
|
+
scalePercentage?: number;
|
|
2816
|
+
resizable?: boolean;
|
|
2817
|
+
elevation?: number;
|
|
2818
|
+
elevationFixed?: boolean;
|
|
2819
|
+
elevationAdjustable?: boolean;
|
|
2820
|
+
schema?: string;
|
|
2821
|
+
assetPath?: string;
|
|
2822
|
+
texture?: Texture;
|
|
2823
|
+
textureAssetName?: string;
|
|
2824
|
+
skin?: Skin;
|
|
2825
|
+
frameColor?: number;
|
|
2826
|
+
doorColor?: number;
|
|
2827
|
+
windowColor?: THREE.Color;
|
|
2828
|
+
doorpost?: boolean;
|
|
2829
|
+
isGlass?: boolean;
|
|
2830
|
+
itemGroup?: any;
|
|
2831
|
+
canRotateX?: boolean;
|
|
2832
|
+
canRotateY?: boolean;
|
|
2833
|
+
canRotateZ?: boolean;
|
|
2834
|
+
canScaleX?: boolean;
|
|
2835
|
+
canScaleY?: boolean;
|
|
2836
|
+
canScaleZ?: boolean;
|
|
2837
|
+
colorable?: boolean;
|
|
2838
|
+
default180?: boolean;
|
|
2839
|
+
objectUUID?: string;
|
|
2840
|
+
conversionGTMSend?: boolean;
|
|
2841
|
+
conversionSubmittedPrice?: string;
|
|
2842
|
+
hdecoType?: string;
|
|
2843
|
+
opening?: {
|
|
2844
|
+
show: boolean;
|
|
2845
|
+
double: boolean;
|
|
2846
|
+
invertDirection: boolean;
|
|
2847
|
+
invertSide: boolean;
|
|
2848
|
+
};
|
|
2849
|
+
}
|
|
2850
|
+
|
|
2851
|
+
declare class Texture {
|
|
2852
|
+
name: string;
|
|
2853
|
+
type: TextureType;
|
|
2854
|
+
url: string;
|
|
2855
|
+
materializeUrl: string;
|
|
2856
|
+
bumpMap: string;
|
|
2857
|
+
bumpScale: number;
|
|
2858
|
+
roughness: number;
|
|
2859
|
+
roughnessMap: string;
|
|
2860
|
+
normalMap: string;
|
|
2861
|
+
repeatX: number;
|
|
2862
|
+
repeatY: number;
|
|
2863
|
+
metalness: number;
|
|
2864
|
+
metalnessMap: string;
|
|
2865
|
+
aoMapIntensity: number;
|
|
2866
|
+
aoMap: string;
|
|
2867
|
+
alphaMap: string;
|
|
2868
|
+
color: string;
|
|
2869
|
+
emissive: string;
|
|
2870
|
+
data: any;
|
|
2871
|
+
surfaces: string[];
|
|
2872
|
+
offset: THREE.Vector2;
|
|
2873
|
+
scale: number;
|
|
2874
|
+
rotation: number;
|
|
2875
|
+
stretch: boolean;
|
|
2876
|
+
show: boolean;
|
|
2877
|
+
default: boolean;
|
|
2878
|
+
height: number;
|
|
2879
|
+
width: number;
|
|
2880
|
+
tileSize: number;
|
|
2881
|
+
tileRotation: number;
|
|
2882
|
+
dimensions: Vector2;
|
|
2883
|
+
offsetScale: number;
|
|
2884
|
+
useStandalone: boolean;
|
|
2885
|
+
defaultStandalone: boolean;
|
|
2886
|
+
mirror: boolean;
|
|
2887
|
+
simplePlane: boolean;
|
|
2888
|
+
toneMapped: boolean;
|
|
2889
|
+
transparent: boolean;
|
|
2890
|
+
opacity: number;
|
|
2891
|
+
side: THREE.Side;
|
|
2892
|
+
depthWrite: boolean;
|
|
2893
|
+
depthTest: boolean;
|
|
2894
|
+
metadata?: Metadata;
|
|
2895
|
+
static CreateModelFromInterface(modelInterface: TextureInterface): Texture;
|
|
2896
|
+
}
|
|
2897
|
+
|
|
2898
|
+
declare enum ShadowMapLocalType {
|
|
2899
|
+
BasicShadowMap = "BasicShadowMap",
|
|
2900
|
+
PCFShadowMap = "PCFShadowMap",
|
|
2901
|
+
PCFSoftShadowMap = "PCFSoftShadowMap",
|
|
2902
|
+
VSMShadowMap = "VSMShadowMap"
|
|
2903
|
+
}
|
|
2904
|
+
|
|
2905
|
+
declare enum OutputEncoding {
|
|
2906
|
+
NoColorSpace = "NoColorSpace",
|
|
2907
|
+
SRGBColorSpace = "SRGBColorSpace",
|
|
2908
|
+
LinearSRGBColorSpace = "LinearSRGBColorSpace",
|
|
2909
|
+
DisplayP3ColorSpace = "DisplayP3ColorSpace",
|
|
2910
|
+
LinearDisplayP3ColorSpace = "LinearDisplayP3ColorSpace"
|
|
2911
|
+
}
|
|
2912
|
+
|
|
2913
|
+
declare enum LightEnum {
|
|
2914
|
+
SpotLight = "SpotLight",
|
|
2915
|
+
DirectionalLight = "DirectionalLight",
|
|
2916
|
+
AmbientLight = "AmbientLight",
|
|
2917
|
+
HemisphereLight = "HemisphereLight",
|
|
2918
|
+
PointLight = "PointLight"
|
|
2919
|
+
}
|
|
2920
|
+
|
|
2921
|
+
declare class ShadowProperties {
|
|
2922
|
+
mapSize: Vector2;
|
|
2923
|
+
radius: number;
|
|
2924
|
+
near: number;
|
|
2925
|
+
far: number;
|
|
2926
|
+
}
|
|
2927
|
+
|
|
2928
|
+
declare class LightProperties {
|
|
2929
|
+
type: LightEnum;
|
|
2930
|
+
name: string;
|
|
2931
|
+
visible: boolean;
|
|
2932
|
+
position: Vector3;
|
|
2933
|
+
color: Color;
|
|
2934
|
+
groundColor: Color;
|
|
2935
|
+
intensity: number;
|
|
2936
|
+
angle: number;
|
|
2937
|
+
power: number;
|
|
2938
|
+
decay: number;
|
|
2939
|
+
distance: number;
|
|
2940
|
+
penumbra: number;
|
|
2941
|
+
bias: number;
|
|
2942
|
+
radius: number;
|
|
2943
|
+
castShadow: boolean;
|
|
2944
|
+
wallOffset: number;
|
|
2945
|
+
rotationOffset: number;
|
|
2946
|
+
topDownDirectional: boolean;
|
|
2947
|
+
shadow: ShadowProperties;
|
|
2948
|
+
static CreateNew(rawData: any): LightProperties;
|
|
2949
|
+
}
|
|
2950
|
+
|
|
2951
|
+
declare enum ToneMappingLocal {
|
|
2952
|
+
NoToneMapping = "NoToneMapping",
|
|
2953
|
+
LinearToneMapping = "LinearToneMapping",
|
|
2954
|
+
ReinhardToneMapping = "ReinhardToneMapping",
|
|
2955
|
+
CineonToneMapping = "CineonToneMapping",
|
|
2956
|
+
ACESFilmicToneMapping = "ACESFilmicToneMapping",
|
|
2957
|
+
CustomToneMapping = "CustomToneMapping",
|
|
2958
|
+
AgXToneMapping = "AgXToneMapping",
|
|
2959
|
+
NeutralToneMapping = "NeutralToneMapping"
|
|
2960
|
+
}
|
|
2961
|
+
|
|
2962
|
+
interface LightPresetInterface {
|
|
2963
|
+
id: string;
|
|
2964
|
+
name: string;
|
|
2965
|
+
default: boolean;
|
|
2966
|
+
standalone: boolean;
|
|
2967
|
+
group: string;
|
|
2968
|
+
navigatorType: NavigatorType;
|
|
2969
|
+
shadowMapType: ShadowMapLocalType;
|
|
2970
|
+
outputEncoding: OutputEncoding;
|
|
2971
|
+
shadowRadius: number;
|
|
2972
|
+
toneMapping: ToneMappingLocal;
|
|
2973
|
+
toneMappingExposure: number;
|
|
2974
|
+
physicallyCorrectLights: boolean;
|
|
2975
|
+
lights: LightProperties[];
|
|
2976
|
+
hdri: string;
|
|
2977
|
+
hdriIntensity: number;
|
|
2978
|
+
}
|
|
2979
|
+
|
|
2980
|
+
declare class LightPreset {
|
|
2981
|
+
id: string;
|
|
2982
|
+
name: string;
|
|
2983
|
+
navigatorType: NavigatorType;
|
|
2984
|
+
default: boolean;
|
|
2985
|
+
standalone: boolean;
|
|
2986
|
+
group: string;
|
|
2987
|
+
shadowMapType: ShadowMapLocalType;
|
|
2988
|
+
outputEncoding: OutputEncoding;
|
|
2989
|
+
colorSpace: ColorSpace;
|
|
2990
|
+
shadowRadius: number;
|
|
2991
|
+
toneMapping: ToneMappingLocal;
|
|
2992
|
+
toneMappingExposure: number;
|
|
2993
|
+
physicallyCorrectLights: boolean;
|
|
2994
|
+
lights: LightProperties[];
|
|
2995
|
+
hdri: string;
|
|
2996
|
+
hdriIntensity: number;
|
|
2997
|
+
dirty: boolean;
|
|
2998
|
+
constructor();
|
|
2999
|
+
static CreateModelFromInterface(modelInterface: LightPresetInterface): LightPreset;
|
|
3000
|
+
private _generateUniqueId;
|
|
3001
|
+
}
|
|
3002
|
+
|
|
3003
|
+
declare class BundleInitializerService implements OnDestroy {
|
|
3004
|
+
private _jsonUtilsService;
|
|
3005
|
+
private _settingsService;
|
|
3006
|
+
private _ioneControllerService;
|
|
3007
|
+
private _appInitializerService;
|
|
3008
|
+
private _configurationService;
|
|
3009
|
+
private _sceneService;
|
|
3010
|
+
private _sceneOptionsService;
|
|
3011
|
+
floorTextures: Texture[];
|
|
3012
|
+
lightPresets: LightPreset[];
|
|
3013
|
+
settings: Setting[];
|
|
3014
|
+
floorTexturesLoaded: BehaviorSubject<Texture[]>;
|
|
3015
|
+
lightPresetsLoaded: BehaviorSubject<LightPreset[]>;
|
|
3016
|
+
settingsLoaded: BehaviorSubject<Setting[]>;
|
|
3017
|
+
allLoaded: BehaviorSubject<boolean>;
|
|
3018
|
+
private _assetPath;
|
|
3019
|
+
private _connectionSet;
|
|
3020
|
+
private _subs;
|
|
3021
|
+
private _jsonFile;
|
|
3022
|
+
private _lightPresetsJsonFile;
|
|
3023
|
+
constructor(_jsonUtilsService: JsonUtilsService, _settingsService: SettingsService, _ioneControllerService: ConfiguratorConnectorService, _appInitializerService: AppInitializerService, _configurationService: ConfigurationService, _sceneService: SceneService, _sceneOptionsService: SceneOptionsService);
|
|
3024
|
+
ngOnDestroy(): void;
|
|
3025
|
+
getFloorTextures(): Texture[];
|
|
3026
|
+
getFloorTexture(): Texture;
|
|
3027
|
+
getLightPreset(): LightPreset[];
|
|
3028
|
+
private _initialize;
|
|
3029
|
+
private _createTexture;
|
|
3030
|
+
private _createLightPreset;
|
|
3031
|
+
private _createSettings;
|
|
3032
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BundleInitializerService, never>;
|
|
3033
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BundleInitializerService>;
|
|
3034
|
+
}
|
|
3035
|
+
|
|
3036
|
+
declare class FloorPlaneService implements OnDestroy {
|
|
3037
|
+
private _settingsService;
|
|
3038
|
+
private _sceneService;
|
|
3039
|
+
private _sceneOptionsService;
|
|
3040
|
+
private _bundleInitializerService;
|
|
3041
|
+
get floorPlane(): Object3D;
|
|
3042
|
+
floorPlaneCreated: BehaviorSubject<boolean>;
|
|
3043
|
+
private _standaloneFloors;
|
|
3044
|
+
private _floorPlane;
|
|
3045
|
+
private _subs;
|
|
3046
|
+
private _sceneReady;
|
|
3047
|
+
private _texturesReady;
|
|
3048
|
+
constructor(_settingsService: SettingsService, _sceneService: SceneService, _sceneOptionsService: SceneOptionsService, _bundleInitializerService: BundleInitializerService);
|
|
3049
|
+
ngOnDestroy(): void;
|
|
3050
|
+
createFloorPlane(): Promise<void>;
|
|
3051
|
+
getCenterFloorPlane(): Vector3;
|
|
3052
|
+
getDimensions(scale?: number): {
|
|
3053
|
+
x: {
|
|
3054
|
+
min: number;
|
|
3055
|
+
max: number;
|
|
3056
|
+
};
|
|
3057
|
+
y: {
|
|
3058
|
+
min: number;
|
|
3059
|
+
max: number;
|
|
3060
|
+
};
|
|
3061
|
+
};
|
|
3062
|
+
getPlaneSize(): Vector3;
|
|
3063
|
+
private _getStandaloneFloorSize;
|
|
3064
|
+
private _generateFloorPlane;
|
|
3065
|
+
private _createFloorMaterial;
|
|
3066
|
+
private _upsertFloorButtons;
|
|
3067
|
+
private _changeStandaloneFloor;
|
|
3068
|
+
private _setFloorTexture;
|
|
3069
|
+
private _updateFloorMaterial;
|
|
3070
|
+
private _setUpdatedMaterial;
|
|
3071
|
+
private _getMaterials;
|
|
3072
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FloorPlaneService, never>;
|
|
3073
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FloorPlaneService>;
|
|
3074
|
+
}
|
|
3075
|
+
|
|
3076
|
+
declare class LightsService implements OnDestroy {
|
|
3077
|
+
private _sceneService;
|
|
3078
|
+
private _bundleInitializerService;
|
|
3079
|
+
private _configurationService;
|
|
3080
|
+
private _floorPlanService;
|
|
3081
|
+
lights: Light[];
|
|
3082
|
+
onLightAdded: Subject<{
|
|
3083
|
+
light: Light;
|
|
3084
|
+
index: number;
|
|
3085
|
+
}>;
|
|
3086
|
+
private _subs;
|
|
3087
|
+
constructor(_sceneService: SceneService, _bundleInitializerService: BundleInitializerService, _configurationService: ConfigurationService, _floorPlanService: FloorPlaneService);
|
|
3088
|
+
ngOnDestroy(): void;
|
|
3089
|
+
init(): void;
|
|
3090
|
+
createLight<T extends Light>(modelClass: any): void;
|
|
3091
|
+
addLight(light: Light): void;
|
|
3092
|
+
removeAllLights(): void;
|
|
3093
|
+
initiateLightPreset(): void;
|
|
3094
|
+
updateAllOffsets(): void;
|
|
3095
|
+
updateOffsets(light: Light): void;
|
|
3096
|
+
private _addLight;
|
|
3097
|
+
private _removeLight;
|
|
3098
|
+
private _updateShadowCamera;
|
|
3099
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LightsService, never>;
|
|
3100
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LightsService>;
|
|
3101
|
+
}
|
|
3102
|
+
|
|
3103
|
+
declare class LightPresetsService implements OnDestroy {
|
|
3104
|
+
private _lightsService;
|
|
3105
|
+
private _appService;
|
|
3106
|
+
private _sceneService;
|
|
3107
|
+
private _screenSizeAnalysis;
|
|
3108
|
+
private _settingsService;
|
|
3109
|
+
set activeLightPreset(value: LightPreset);
|
|
3110
|
+
get activeLightPreset(): LightPreset;
|
|
3111
|
+
loadedLightPresets: LightPreset[];
|
|
3112
|
+
presetLoaded: BehaviorSubject<boolean>;
|
|
3113
|
+
private _activeLightPreset;
|
|
3114
|
+
private _lightPresetsLoaded;
|
|
3115
|
+
private _subs;
|
|
3116
|
+
private _lightsMap;
|
|
3117
|
+
constructor(_lightsService: LightsService, _appService: BundleInitializerService, _sceneService: SceneService, _screenSizeAnalysis: ScreenSizeAnalysisService, _settingsService: SettingsService);
|
|
3118
|
+
init(): void;
|
|
3119
|
+
ngOnDestroy(): void;
|
|
3120
|
+
loadLightPreset(lightPreset: LightPreset): Promise<void>;
|
|
3121
|
+
prepareLoadLightPreset(standalone?: boolean): Promise<void>;
|
|
3122
|
+
private _prepareLoadLightPreset;
|
|
3123
|
+
private _createLightFromProperties;
|
|
3124
|
+
private _setObjectProperties;
|
|
3125
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LightPresetsService, never>;
|
|
3126
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LightPresetsService>;
|
|
3127
|
+
}
|
|
3128
|
+
|
|
3129
|
+
declare class IntersectionService {
|
|
3130
|
+
private _cameraService;
|
|
3131
|
+
constructor(_cameraService: CameraService);
|
|
3132
|
+
getIntersections(mouseVector: Vector3, planeObjects: Object3D[], options?: any): Intersection[];
|
|
3133
|
+
removeIf(array: any, func: any): any[];
|
|
3134
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IntersectionService, never>;
|
|
3135
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IntersectionService>;
|
|
3136
|
+
}
|
|
3137
|
+
|
|
3138
|
+
declare class SceneEventService implements OnDestroy {
|
|
3139
|
+
private _sceneService;
|
|
3140
|
+
private _cameraService;
|
|
3141
|
+
private _connectorService;
|
|
3142
|
+
private _intersectionService;
|
|
3143
|
+
private _floorPlaneService;
|
|
3144
|
+
private _itemService;
|
|
3145
|
+
private _appEventService;
|
|
3146
|
+
readonly intersectOffsetForWalls = 20;
|
|
3147
|
+
readonly longTouchDuration = 600;
|
|
3148
|
+
rotateNoDrag: boolean;
|
|
3149
|
+
private _element;
|
|
3150
|
+
private _controls;
|
|
3151
|
+
private _camera;
|
|
3152
|
+
private _mousePosition;
|
|
3153
|
+
private _oldMousePosition;
|
|
3154
|
+
private _rotationStartPoint;
|
|
3155
|
+
private _intersectedObject;
|
|
3156
|
+
private _intersectedMesh;
|
|
3157
|
+
private _mouseoverObject;
|
|
3158
|
+
private _selectedObject;
|
|
3159
|
+
private _prevSelectedObject;
|
|
3160
|
+
private _defaultCursorStyle;
|
|
3161
|
+
private _inDragOver;
|
|
3162
|
+
private _mouseDown;
|
|
3163
|
+
private _mouseMoved;
|
|
3164
|
+
private _rotateMouseOver;
|
|
3165
|
+
private _groupingMode;
|
|
3166
|
+
private _state;
|
|
3167
|
+
private _intersectedWall;
|
|
3168
|
+
private _intersectedFloor;
|
|
3169
|
+
private _subs;
|
|
3170
|
+
private _cameraMoveSub;
|
|
3171
|
+
private _debouncedSaveState;
|
|
3172
|
+
private _touchStart;
|
|
3173
|
+
private _touchEnd;
|
|
3174
|
+
private _touchCancel;
|
|
3175
|
+
private _touchMove;
|
|
3176
|
+
constructor(_sceneService: SceneService, _cameraService: CameraService, _connectorService: ConfiguratorConnectorService, _intersectionService: IntersectionService, _floorPlaneService: FloorPlaneService, _itemService: ItemService, _appEventService: AppEventService);
|
|
3177
|
+
ngOnDestroy(): void;
|
|
3178
|
+
init(element: HTMLElement): void;
|
|
3179
|
+
setExploreMode(on?: boolean): void;
|
|
3180
|
+
setSelectedObject(object: Object3D, mesh?: Object3D | Mesh): void;
|
|
3181
|
+
setUnselectedObject(): void;
|
|
3182
|
+
private _updateIntersections;
|
|
3183
|
+
private _clearIntersectedObject;
|
|
3184
|
+
private _setMousePositionFromTouchEvent;
|
|
3185
|
+
private _touchStartEvent;
|
|
3186
|
+
private _touchEndEvent;
|
|
3187
|
+
private _touchMoveEvent;
|
|
3188
|
+
private _mouseUpEvent;
|
|
3189
|
+
private _mouseMoveEvent;
|
|
3190
|
+
private _leftMouseDownEvent;
|
|
3191
|
+
private _getIntersections;
|
|
3192
|
+
private _setIntersectedObject;
|
|
3193
|
+
private _isMouseEventAllowed;
|
|
3194
|
+
private _mouseToVec3;
|
|
3195
|
+
private _markSceneToUpdate;
|
|
3196
|
+
private _setCursorStyle;
|
|
3197
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SceneEventService, never>;
|
|
3198
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SceneEventService>;
|
|
3199
|
+
}
|
|
3200
|
+
|
|
3201
|
+
declare class ConfiguratorSceneComponent implements OnDestroy {
|
|
3202
|
+
private settingsService;
|
|
3203
|
+
private _sceneService;
|
|
3204
|
+
private _lightService;
|
|
3205
|
+
private _lightPresetService;
|
|
3206
|
+
private _sceneEventService;
|
|
3207
|
+
private _initializerService;
|
|
3208
|
+
showClass(): boolean;
|
|
3209
|
+
canvasElement: ElementRef;
|
|
3210
|
+
private _subs;
|
|
3211
|
+
constructor(settingsService: SettingsService, _sceneService: SceneService, _lightService: LightsService, _lightPresetService: LightPresetsService, _sceneEventService: SceneEventService, _initializerService: AppInitializerService);
|
|
3212
|
+
ngOnDestroy(): void;
|
|
3213
|
+
loadScene(ready: boolean): void;
|
|
3214
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneComponent, never>;
|
|
3215
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfiguratorSceneComponent, "co-configurator-scene", never, {}, {}, never, never, false, never>;
|
|
3216
|
+
}
|
|
3217
|
+
|
|
3218
|
+
declare class ConfiguratorSceneModule {
|
|
3219
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfiguratorSceneModule, never>;
|
|
3220
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfiguratorSceneModule, [typeof ConfiguratorSceneComponent], never, [typeof ConfiguratorSceneComponent]>;
|
|
3221
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfiguratorSceneModule>;
|
|
3222
|
+
}
|
|
3223
|
+
|
|
3224
|
+
declare class Builder {
|
|
3225
|
+
selectionsReceived: BehaviorSubject<Selection[]>;
|
|
3226
|
+
articleLoaded: BehaviorSubject<Article>;
|
|
3227
|
+
decosReceived: BehaviorSubject<DecoNode[]>;
|
|
3228
|
+
answersReceived: BehaviorSubject<Answer[]>;
|
|
3229
|
+
modelLoaded: BehaviorSubject<THREE.Object3D>;
|
|
3230
|
+
set debug(value: Function);
|
|
3231
|
+
get debug(): Function;
|
|
3232
|
+
private _scene;
|
|
3233
|
+
private _instanceId;
|
|
3234
|
+
private _sku;
|
|
3235
|
+
private _goodId;
|
|
3236
|
+
private _selections;
|
|
3237
|
+
private _answers;
|
|
3238
|
+
private _decos;
|
|
3239
|
+
private _placedAdjustables;
|
|
3240
|
+
private _placedAddables;
|
|
3241
|
+
private _adjustables;
|
|
3242
|
+
private _addables;
|
|
3243
|
+
private _debug;
|
|
3244
|
+
private _imageCache;
|
|
3245
|
+
private _boFactory;
|
|
3246
|
+
private _source;
|
|
3247
|
+
private _threedUtils;
|
|
3248
|
+
private _variationHelper;
|
|
3249
|
+
private _articleCache;
|
|
3250
|
+
private _configuratorService;
|
|
3251
|
+
private _buildFurnitureService;
|
|
3252
|
+
private _loadFurnitureService;
|
|
3253
|
+
private _configuratorConnectorService;
|
|
3254
|
+
constructor();
|
|
3255
|
+
initNewBuild(scene: Scene, options?: Options, sku?: string, instanceId?: string, goodId?: number): Promise<THREE.Object3D>;
|
|
3256
|
+
buildWithData(options?: Options, selections?: Selection[], decos?: DecoNode[], assetUrl?: string, cdnUrl?: string, schema?: string): Promise<THREE.Object3D>;
|
|
3257
|
+
init(scene: Scene, options?: Options): void;
|
|
3258
|
+
buildModel(sku?: string, instanceId?: string, goodId?: number): Promise<THREE.Object3D>;
|
|
3259
|
+
buildModelFromData(selections: Selection[], decos: DecoNode[], assetUrl: string, cdnUrl: string, schema: string): Promise<THREE.Object3D>;
|
|
3260
|
+
initNodeInstance(goodId: number): Promise<any>;
|
|
3261
|
+
destroy(): void;
|
|
3262
|
+
selectSelection(selection: Selection): Promise<void>;
|
|
3263
|
+
getQuestionAndAnswers(publicationCode?: number): Promise<void>;
|
|
3264
|
+
selectAnswer(answer: Answer): Promise<void>;
|
|
3265
|
+
getImageForSelectionOrAnswer(object: Selection | Answer): Promise<string>;
|
|
3266
|
+
_cleanUp(): void;
|
|
3267
|
+
private _handleResponseData;
|
|
3268
|
+
private _preloadMaterials;
|
|
3269
|
+
private _setInstanceId;
|
|
3270
|
+
private _prepareConfiguration;
|
|
3271
|
+
private _downloadAsset;
|
|
3272
|
+
private _build;
|
|
3273
|
+
private _prepareTheSelections;
|
|
3274
|
+
/**
|
|
3275
|
+
* Returns the materialId of the parent up the tree until presentionlevel 1 is reached
|
|
3276
|
+
* @param id
|
|
3277
|
+
* @private
|
|
3278
|
+
*/
|
|
3279
|
+
private _getMaterialIdFromParent;
|
|
3280
|
+
private _createAdjustable;
|
|
3281
|
+
private _createAddable;
|
|
3282
|
+
private _placeAddables;
|
|
3283
|
+
private _createUniqueName;
|
|
3284
|
+
private _getGoodIdFromSku;
|
|
3285
|
+
private _getArticle;
|
|
3286
|
+
private _getSelections;
|
|
3287
|
+
private _getDecos;
|
|
3288
|
+
private _linkSelectionsAndDecos;
|
|
3289
|
+
private _getVariations;
|
|
3290
|
+
private _loadVariations;
|
|
3291
|
+
private _getAdjustables;
|
|
3292
|
+
private _updatePivot;
|
|
3293
|
+
private _reset;
|
|
3294
|
+
private _log;
|
|
3295
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Builder, never>;
|
|
3296
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Builder>;
|
|
3297
|
+
}
|
|
3298
|
+
|
|
3299
|
+
export { AnswerCardComponent, AnswerCardModule, AnswersInfoDialogComponent, AnswersInfoDialogModule, AnswersSlideoutComponent, AnswersSlideoutModule, Builder, CoSummaryLine, CoSummaryLineModule, ColorFilterComponent, ColorFilterModule, ConfigurationResultObject, ConfiguratorCameraSettingsComponent, ConfiguratorComponent, ConfiguratorDialogModule, ConfiguratorErrorDialogComponent, ConfiguratorErrorMessage, ConfiguratorExportDialogComponent, ConfiguratorLoaderComponent, ConfiguratorLoaderModule, ConfiguratorModule, ConfiguratorSceneComponent, ConfiguratorSceneLoaderComponent, ConfiguratorSceneLoaderModule, ConfiguratorSceneModule, ConfiguringService, ElementButtonsComponent, ElementButtonsModule, ElementToolbarComponent, ElementToolbarModule, ImageZoomComponent, ImageZoomModule, LiteSelectorComponent, LiteSelectorModule, ProductConfiguratorComponent, ProductConfiguratorModule, ProductConfiguratorOptionCheckboxComponent, ProductConfiguratorSelectorComponent, ProductConfiguratorSelectorModule, ProductConfiguratorSelectorOptionButtonComponent, ProductConfiguratorSelectorOptionButtonModule, ProductConfiguratorSelectorOptionCheckboxModule, ProductConfiguratorSelectorOptionComponent, ProductConfiguratorSelectorOptionDropDownComponent, ProductConfiguratorSelectorOptionDropdownModule, ProductConfiguratorSelectorOptionModule, ProductConfiguratorSelectorOptionTileComponent, ProductConfiguratorSelectorOptionTileModule, ProgressBarComponent, ProgressBarModule, SceneOptionsComponent, SelectionsModule, SelectionsSummaryComponent, SelectionsSummaryLineComponent, SelectionsSummaryModule, TagFilterComponent, TagFilterModule, ThreedselectorComponent, ThreedselectorModule };
|