@colijnit/configurator 261.1.0 → 261.1.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/bundles/colijnit-configurator.umd.js +18012 -1838
- package/bundles/colijnit-configurator.umd.js.map +1 -1
- package/colijnit-configurator.d.ts +2 -6
- package/esm2015/colijnit-configurator.js +2 -7
- package/esm2015/lib/builder.js +795 -0
- package/esm2015/lib/components/answer-card/answer-card.component.js +313 -0
- package/esm2015/lib/components/answer-card/answer-card.module.js +50 -0
- package/esm2015/lib/components/answer-info-dialog/answer-info-dialog.component.js +182 -0
- package/esm2015/lib/components/answer-info-dialog/answer-info-dialog.module.js +34 -0
- package/esm2015/lib/components/answers-slideout/answers-slideout.component.js +490 -0
- package/esm2015/lib/components/answers-slideout/answers-slideout.module.js +61 -0
- package/esm2015/lib/components/color-filter/color-filter.component.js +59 -0
- package/esm2015/lib/components/color-filter/color-filter.module.js +26 -0
- package/esm2015/lib/components/configurator/configurator.component.js +133 -0
- package/esm2015/lib/components/configurator/configurator.module.js +42 -0
- package/esm2015/lib/components/configurator-dialog/configurator-camera-settings.component.js +222 -0
- package/esm2015/lib/components/configurator-dialog/configurator-dialog.module.js +48 -0
- package/esm2015/lib/components/configurator-dialog/configurator-error-dialog.component.js +82 -0
- package/esm2015/lib/components/configurator-dialog/configurator-export-dialog.component.js +163 -0
- package/esm2015/lib/components/configurator-loader/configurator-loader.component.js +49 -0
- package/esm2015/lib/components/configurator-loader/configurator-loader.module.js +33 -0
- package/esm2015/lib/components/configurator-scene/configurator-scene.component.js +60 -0
- package/esm2015/lib/components/configurator-scene/configurator-scene.module.js +17 -0
- package/esm2015/lib/components/configurator-scene-loader/configurator-scene-loader.component.js +46 -0
- package/esm2015/lib/components/configurator-scene-loader/configurator-scene-loader.module.js +26 -0
- package/esm2015/lib/components/element-buttons/element-buttons.component.js +168 -0
- package/esm2015/lib/components/element-buttons/element-buttons.module.js +30 -0
- package/esm2015/lib/components/element-toolbar/element-toolbar.component.js +186 -0
- package/esm2015/lib/components/element-toolbar/element-toolbar.module.js +34 -0
- package/esm2015/lib/components/image-zoom/image-zoom.component.js +61 -0
- package/esm2015/lib/components/image-zoom/image-zoom.module.js +30 -0
- package/esm2015/lib/components/lite-selector/lite-selector.component.js +206 -0
- package/esm2015/lib/components/lite-selector/lite-selector.module.js +34 -0
- package/esm2015/lib/components/product-configurator/product-configurator.component.js +184 -0
- package/esm2015/lib/components/product-configurator/product-configurator.module.js +72 -0
- package/esm2015/lib/components/product-configurator-selector/product-configurator-selector.component.js +237 -0
- package/esm2015/lib/components/product-configurator-selector/product-configurator-selector.module.js +38 -0
- package/esm2015/lib/components/product-configurator-selector-option/product-configurator-selector-option.component.js +284 -0
- package/esm2015/lib/components/product-configurator-selector-option/product-configurator-selector-option.module.js +42 -0
- package/esm2015/lib/components/product-configurator-selector-option-button/product-configurator-selector-option-button.component.js +72 -0
- package/esm2015/lib/components/product-configurator-selector-option-button/product-configurator-selector-option-button.module.js +34 -0
- package/esm2015/lib/components/product-configurator-selector-option-checkbox/product-configurator-selector-option-checkbox.component.js +82 -0
- package/esm2015/lib/components/product-configurator-selector-option-checkbox/product-configurator-selector-option-checkbox.module.js +30 -0
- package/esm2015/lib/components/product-configurator-selector-option-dropdown/product-configurator-selector-option-dropdown.component.js +80 -0
- package/esm2015/lib/components/product-configurator-selector-option-dropdown/product-configurator-selector-option-dropdown.module.js +34 -0
- package/esm2015/lib/components/product-configurator-selector-option-tile/product-configurator-selector-option-tile.component.js +93 -0
- package/esm2015/lib/components/product-configurator-selector-option-tile/product-configurator-selector-option-tile.module.js +34 -0
- package/esm2015/lib/components/progress-bar/progress-bar.component.js +55 -0
- package/esm2015/lib/components/progress-bar/progress-bar.module.js +29 -0
- package/esm2015/lib/components/scene-options/scene-options.component.js +164 -0
- package/esm2015/lib/components/scene-options/scene-options.module.js +38 -0
- package/esm2015/lib/components/selections-summary/selections-summary.component.js +163 -0
- package/esm2015/lib/components/selections-summary/selections-summary.module.js +45 -0
- package/esm2015/lib/components/selections-summary-line/selections-summary-line.component.js +171 -0
- package/esm2015/lib/components/selections-summary-line/selections-summary-line.module.js +34 -0
- package/esm2015/lib/components/slideout/slideout.component.js +83 -0
- package/esm2015/lib/components/slideout/slideout.module.js +17 -0
- package/esm2015/lib/components/summary-line/summary-line.component.js +273 -0
- package/esm2015/lib/components/summary-line/summary-line.module.js +44 -0
- package/esm2015/lib/components/tag-filter/tag-filter.component.js +39 -0
- package/esm2015/lib/components/tag-filter/tag-filter.module.js +21 -0
- package/esm2015/lib/components/threedselector/threedselector.component.js +155 -0
- package/esm2015/lib/components/threedselector/threedselector.module.js +34 -0
- package/esm2015/lib/core/helper/variation-helper.js +553 -0
- package/esm2015/lib/core/shader/floor-fade.shader.js +33 -0
- package/esm2015/lib/core/textures/depth-data-texture.js +19 -0
- package/esm2015/lib/directives/directives.module.js +26 -0
- package/esm2015/lib/directives/visibility-observer-master.directive.js +53 -0
- package/esm2015/lib/directives/visibility-observer.directive.js +54 -0
- package/esm2015/lib/enum/ar-feature.enum.js +14 -0
- package/esm2015/lib/enum/configuration-key.enum.js +41 -0
- package/esm2015/lib/enum/configuration-template.enum.js +6 -0
- package/esm2015/lib/enum/device-size-type.js +7 -0
- package/esm2015/lib/enum/device-tier.enum.js +7 -0
- package/esm2015/lib/enum/icon.enum.js +113 -0
- package/esm2015/lib/enum/item-type.enum.js +23 -0
- package/esm2015/lib/enum/light.enum.js +9 -0
- package/esm2015/lib/enum/navigator-type.enum.js +6 -0
- package/esm2015/lib/enum/output-encoding.enum.js +9 -0
- package/esm2015/lib/enum/result-type.enum.js +21 -0
- package/esm2015/lib/enum/scene-event.enum.js +12 -0
- package/esm2015/lib/enum/shadow-map-type.enum.js +8 -0
- package/esm2015/lib/enum/texture-type.js +9 -0
- package/esm2015/lib/enum/tone-mapping-local.enum.js +12 -0
- package/esm2015/lib/enum/view-mode.enum.js +7 -0
- package/esm2015/lib/enum/xr-mode.enum.js +6 -0
- package/esm2015/lib/environments/environment.js +8 -0
- package/esm2015/lib/interfaces/aa-options.interface.js +2 -0
- package/esm2015/lib/interfaces/adjustable-element.interface.js +2 -0
- package/esm2015/lib/interfaces/ao-options.interface.js +2 -0
- package/esm2015/lib/interfaces/changes.interface.js +2 -0
- package/esm2015/lib/interfaces/configuration-data.interface.js +2 -0
- package/esm2015/lib/interfaces/light-preset.interface.js +2 -0
- package/esm2015/lib/interfaces/post-processing-setting.interface.js +2 -0
- package/esm2015/lib/interfaces/scene-option-button.interface.js +6 -0
- package/esm2015/lib/interfaces/screen-size-info.js +2 -0
- package/esm2015/lib/interfaces/setting.interface.js +2 -0
- package/esm2015/lib/interfaces/texture.interface.js +2 -0
- package/esm2015/lib/interfaces/vignette-options.interface.js +2 -0
- package/esm2015/lib/model/ar-position-indicator.js +18 -0
- package/esm2015/lib/model/camera-settings.js +14 -0
- package/esm2015/lib/model/configuration-result-object.js +6 -0
- package/esm2015/lib/model/configurator-error-message.js +9 -0
- package/esm2015/lib/model/configurator-settings.js +25 -0
- package/esm2015/lib/model/custom-button.js +16 -0
- package/esm2015/lib/model/factory.js +28 -0
- package/esm2015/lib/model/icon.js +112 -0
- package/esm2015/lib/model/intersected-objects.js +7 -0
- package/esm2015/lib/model/light-preset.js +73 -0
- package/esm2015/lib/model/light-properties.js +45 -0
- package/esm2015/lib/model/material.js +11 -0
- package/esm2015/lib/model/metadata.js +2 -0
- package/esm2015/lib/model/render-parameters.js +16 -0
- package/esm2015/lib/model/setting-options.js +71 -0
- package/esm2015/lib/model/settings.js +16 -0
- package/esm2015/lib/model/shadow-properties.js +10 -0
- package/esm2015/lib/model/skin.js +3 -0
- package/esm2015/lib/model/texture.js +76 -0
- package/esm2015/lib/model/variation-settings.js +54 -0
- package/esm2015/lib/model/variation.js +3 -0
- package/esm2015/lib/model/xr-reticle.js +79 -0
- package/esm2015/lib/modules/render/enum/scene-type.enum.js +6 -0
- package/esm2015/lib/modules/render/model/ar-parameters.js +12 -0
- package/esm2015/lib/modules/render/model/scene-setting.js +6 -0
- package/esm2015/lib/modules/render/model/scene-settings.js +3 -0
- package/esm2015/lib/pipes/append.pipe.js +21 -0
- package/esm2015/lib/pipes/google-translate.pipe.js +21 -0
- package/esm2015/lib/pipes/localize.pipe.js +28 -0
- package/esm2015/lib/pipes/pipes.module.js +41 -0
- package/esm2015/lib/pipes/prepend.pipe.js +21 -0
- package/esm2015/lib/pipes/strip-html.pipe.js +17 -0
- package/esm2015/lib/services/app-event.service.js +36 -0
- package/esm2015/lib/services/app-initializer.service.js +27 -0
- package/esm2015/lib/services/ar.service.js +844 -0
- package/esm2015/lib/services/build-furniture-base.service.js +1181 -0
- package/esm2015/lib/services/build-furniture-without-scene.service.js +86 -0
- package/esm2015/lib/services/build-furniture.service.js +169 -0
- package/esm2015/lib/services/bundle-initialzer.service.js +113 -0
- package/esm2015/lib/services/camera.service.js +123 -0
- package/esm2015/lib/services/configuration.service.js +79 -0
- package/esm2015/lib/services/configurator-connector.service.js +830 -0
- package/esm2015/lib/services/configurator.service.js +285 -0
- package/esm2015/lib/services/configuring.service.js +119 -0
- package/esm2015/lib/services/controls.js +799 -0
- package/esm2015/lib/services/debug.service.js +43 -0
- package/esm2015/lib/services/dictionary.service.js +65 -0
- package/esm2015/lib/services/dynamic-camera.service.js +96 -0
- package/esm2015/lib/services/floor-plane.service.js +252 -0
- package/esm2015/lib/services/font.service.js +27 -0
- package/esm2015/lib/services/google-translate.service.js +79 -0
- package/esm2015/lib/services/icon-cache.service.js +44 -0
- package/esm2015/lib/services/intersection.service.js +47 -0
- package/esm2015/lib/services/item.service.js +75 -0
- package/esm2015/lib/services/json-utils.service.js +48 -0
- package/esm2015/lib/services/light-creation.service.js +35 -0
- package/esm2015/lib/services/light-presets.service.js +157 -0
- package/esm2015/lib/services/lights.service.js +146 -0
- package/esm2015/lib/services/load-furniture-base.service.js +164 -0
- package/esm2015/lib/services/load-furniture-without-scene.service.js +45 -0
- package/esm2015/lib/services/load-furniture.service.js +72 -0
- package/esm2015/lib/services/loader.service.js +32 -0
- package/esm2015/lib/services/locator.service.js +11 -0
- package/esm2015/lib/services/message-board.service.js +50 -0
- package/esm2015/lib/services/post-processing.service.js +378 -0
- package/esm2015/lib/services/product-configurator.service.js +16 -0
- package/esm2015/lib/services/progress.service.js +20 -0
- package/esm2015/lib/services/scene-event.service.js +246 -0
- package/esm2015/lib/services/scene-options.service.js +24 -0
- package/esm2015/lib/services/scene.service.js +313 -0
- package/esm2015/lib/services/screen-size-analysis.service.js +97 -0
- package/esm2015/lib/services/settings.service.js +142 -0
- package/esm2015/lib/services/switch-build-furniture.service.js +37 -0
- package/esm2015/lib/services/switch-load-furniture.service.js +35 -0
- package/esm2015/lib/services/threedselector.service.js +72 -0
- package/esm2015/lib/services/utils.service.js +207 -0
- package/esm2015/lib/services/variation-cache.service.js +143 -0
- package/esm2015/lib/services/variation.service.js +490 -0
- package/esm2015/lib/services/view-mode.service.js +37 -0
- package/esm2015/lib/services/vr.service.js +191 -0
- package/esm2015/lib/services/xr.service.js +294 -0
- package/esm2015/lib/utils/asset.utils.js +120 -0
- package/esm2015/lib/utils/base-utils.js +9 -0
- package/esm2015/lib/utils/color.utils.js +30 -0
- package/esm2015/lib/utils/debug.utils.js +9 -0
- package/esm2015/lib/utils/device.utils.js +25 -0
- package/esm2015/lib/utils/file.utils.js +167 -0
- package/esm2015/lib/utils/image.utils.js +61 -0
- package/esm2015/lib/utils/json-parser.utils.js +180 -0
- package/esm2015/lib/utils/material.utils.js +433 -0
- package/esm2015/lib/utils/object.utils.js +360 -0
- package/esm2015/lib/utils/relative-position.utils.js +75 -0
- package/esm2015/lib/utils/rotation-helper.utils.js +15 -0
- package/esm2015/lib/utils/scene-3d.utils.js +213 -0
- package/esm2015/lib/utils/scene-utils.js +191 -0
- package/esm2015/lib/utils/text-utils.js +68 -0
- package/esm2015/lib/utils/threed.utils.js +281 -0
- package/esm2015/lib/utils/variation-utils.js +459 -0
- package/esm2015/public-api.js +65 -0
- package/fesm2015/colijnit-configurator.js +17512 -1451
- package/fesm2015/colijnit-configurator.js.map +1 -1
- package/{app → lib}/builder.d.ts +9 -1
- package/lib/components/answer-card/answer-card.component.d.ts +58 -0
- package/lib/components/answer-card/answer-card.module.d.ts +11 -0
- package/lib/components/answer-card/style/_layout.scss +88 -0
- package/lib/components/answer-card/style/_material-definition.scss +3 -0
- package/lib/components/answer-card/style/_theme.scss +67 -0
- package/lib/components/answer-card/style/material.scss +2 -0
- package/lib/components/answer-info-dialog/answer-info-dialog.component.d.ts +38 -0
- package/lib/components/answer-info-dialog/answer-info-dialog.module.d.ts +10 -0
- package/lib/components/answer-info-dialog/style/_layout.scss +88 -0
- package/lib/components/answer-info-dialog/style/_material-definition.scss +3 -0
- package/lib/components/answer-info-dialog/style/_theme.scss +44 -0
- package/lib/components/answer-info-dialog/style/material.scss +3 -0
- package/lib/components/answers-slideout/answers-slideout.component.d.ts +86 -0
- package/lib/components/answers-slideout/answers-slideout.module.d.ts +16 -0
- package/lib/components/answers-slideout/style/_layout.scss +198 -0
- package/lib/components/answers-slideout/style/_material-definition.scss +3 -0
- package/lib/components/answers-slideout/style/_theme.scss +54 -0
- package/lib/components/answers-slideout/style/material.scss +3 -0
- package/lib/components/color-filter/color-filter.component.d.ts +20 -0
- package/lib/components/color-filter/color-filter.module.d.ts +8 -0
- package/lib/components/color-filter/style/_layout.scss +41 -0
- package/lib/components/color-filter/style/_material-definition.scss +3 -0
- package/lib/components/color-filter/style/_theme.scss +7 -0
- package/lib/components/color-filter/style/material.scss +3 -0
- package/lib/components/configurator/configurator.component.d.ts +37 -0
- package/lib/components/configurator/configurator.module.d.ts +12 -0
- package/lib/components/configurator/style/_layout.scss +7 -0
- package/lib/components/configurator/style/_material-definition.scss +3 -0
- package/lib/components/configurator/style/_theme.scss +7 -0
- package/lib/components/configurator/style/material.scss +3 -0
- package/lib/components/configurator-dialog/configurator-camera-settings.component.d.ts +30 -0
- package/lib/components/configurator-dialog/configurator-dialog.module.d.ts +13 -0
- package/lib/components/configurator-dialog/configurator-error-dialog.component.d.ts +16 -0
- package/lib/components/configurator-dialog/configurator-export-dialog.component.d.ts +26 -0
- package/lib/components/configurator-dialog/style/_layout.scss +129 -0
- package/lib/components/configurator-dialog/style/_material-definition.scss +4 -0
- package/lib/components/configurator-dialog/style/_theme.scss +89 -0
- package/lib/components/configurator-dialog/style/material.scss +3 -0
- package/lib/components/configurator-loader/configurator-loader.component.d.ts +7 -0
- package/lib/components/configurator-loader/configurator-loader.module.d.ts +9 -0
- package/lib/components/configurator-loader/style/_layout.scss +72 -0
- package/lib/components/configurator-loader/style/_material-definition.scss +5 -0
- package/lib/components/configurator-loader/style/_theme.scss +26 -0
- package/lib/components/configurator-loader/style/material.scss +14 -0
- package/lib/components/configurator-scene/configurator-scene.component.d.ts +24 -0
- package/lib/components/configurator-scene/configurator-scene.module.d.ts +7 -0
- package/lib/components/configurator-scene/style/_layout.scss +22 -0
- package/lib/components/configurator-scene/style/_material-definition.scss +3 -0
- package/lib/components/configurator-scene/style/_theme.scss +7 -0
- package/lib/components/configurator-scene/style/material.scss +3 -0
- package/lib/components/configurator-scene-loader/configurator-scene-loader.component.d.ts +7 -0
- package/lib/components/configurator-scene-loader/configurator-scene-loader.module.d.ts +8 -0
- package/lib/components/configurator-scene-loader/style/_layout.scss +72 -0
- package/lib/components/configurator-scene-loader/style/_material-definition.scss +5 -0
- package/lib/components/configurator-scene-loader/style/_theme.scss +26 -0
- package/lib/components/configurator-scene-loader/style/material.scss +14 -0
- package/lib/components/element-buttons/element-buttons.component.d.ts +32 -0
- package/lib/components/element-buttons/element-buttons.module.d.ts +9 -0
- package/lib/components/element-buttons/style/_layout.scss +52 -0
- package/lib/components/element-buttons/style/_material-definition.scss +3 -0
- package/lib/components/element-buttons/style/_theme.scss +23 -0
- package/lib/components/element-buttons/style/material.scss +3 -0
- package/lib/components/element-toolbar/element-toolbar.component.d.ts +27 -0
- package/lib/components/element-toolbar/element-toolbar.component.scss +59 -0
- package/lib/components/element-toolbar/element-toolbar.module.d.ts +10 -0
- package/lib/components/element-toolbar/style/_layout.scss +107 -0
- package/lib/components/element-toolbar/style/_material-definition.scss +3 -0
- package/lib/components/element-toolbar/style/_theme.scss +47 -0
- package/lib/components/element-toolbar/style/material.scss +3 -0
- package/lib/components/image-zoom/image-zoom.component.d.ts +15 -0
- package/lib/components/image-zoom/image-zoom.module.d.ts +9 -0
- package/lib/components/image-zoom/style/_layout.scss +51 -0
- package/lib/components/image-zoom/style/_material-definition.scss +3 -0
- package/lib/components/image-zoom/style/_theme.scss +17 -0
- package/lib/components/image-zoom/style/material.scss +3 -0
- package/lib/components/lite-selector/lite-selector.component.d.ts +40 -0
- package/lib/components/lite-selector/lite-selector.module.d.ts +10 -0
- package/lib/components/lite-selector/style/_layout.scss +21 -0
- package/lib/components/lite-selector/style/_material-definition.scss +3 -0
- package/lib/components/lite-selector/style/_theme.scss +7 -0
- package/lib/components/lite-selector/style/material.scss +3 -0
- package/lib/components/product-configurator/product-configurator.component.d.ts +50 -0
- package/lib/components/product-configurator/product-configurator.module.d.ts +15 -0
- package/lib/components/product-configurator/style/_layout.scss +46 -0
- package/lib/components/product-configurator/style/_material-definition.scss +3 -0
- package/lib/components/product-configurator/style/_theme.scss +22 -0
- package/lib/components/product-configurator/style/material.scss +3 -0
- package/lib/components/product-configurator-selector/product-configurator-selector.component.d.ts +35 -0
- package/lib/components/product-configurator-selector/product-configurator-selector.module.d.ts +11 -0
- package/lib/components/product-configurator-selector/style/_layout.scss +145 -0
- package/lib/components/product-configurator-selector/style/_material-definition.scss +3 -0
- package/lib/components/product-configurator-selector/style/_theme.scss +57 -0
- package/lib/components/product-configurator-selector/style/material.scss +3 -0
- package/lib/components/product-configurator-selector-option/product-configurator-selector-option.component.d.ts +31 -0
- package/lib/components/product-configurator-selector-option/product-configurator-selector-option.module.d.ts +13 -0
- package/lib/components/product-configurator-selector-option/style/_layout.scss +7 -0
- package/lib/components/product-configurator-selector-option/style/_material-definition.scss +3 -0
- package/lib/components/product-configurator-selector-option/style/_theme.scss +7 -0
- package/lib/components/product-configurator-selector-option/style/material.scss +3 -0
- package/lib/components/product-configurator-selector-option-button/product-configurator-selector-option-button.component.d.ts +20 -0
- package/lib/components/product-configurator-selector-option-button/product-configurator-selector-option-button.module.d.ts +10 -0
- package/lib/components/product-configurator-selector-option-button/style/_layout.scss +28 -0
- package/lib/components/product-configurator-selector-option-button/style/_material-definition.scss +3 -0
- package/lib/components/product-configurator-selector-option-button/style/_theme.scss +33 -0
- package/lib/components/product-configurator-selector-option-button/style/material.scss +3 -0
- package/lib/components/product-configurator-selector-option-checkbox/product-configurator-selector-option-checkbox.component.d.ts +20 -0
- package/lib/components/product-configurator-selector-option-checkbox/product-configurator-selector-option-checkbox.module.d.ts +10 -0
- package/lib/components/product-configurator-selector-option-checkbox/style/_layout.scss +28 -0
- package/lib/components/product-configurator-selector-option-checkbox/style/_material-definition.scss +3 -0
- package/lib/components/product-configurator-selector-option-checkbox/style/_theme.scss +27 -0
- package/lib/components/product-configurator-selector-option-checkbox/style/material.scss +3 -0
- package/lib/components/product-configurator-selector-option-dropdown/product-configurator-selector-option-dropdown.component.d.ts +21 -0
- package/lib/components/product-configurator-selector-option-dropdown/product-configurator-selector-option-dropdown.module.d.ts +10 -0
- package/lib/components/product-configurator-selector-option-dropdown/style/_layout.scss +34 -0
- package/lib/components/product-configurator-selector-option-dropdown/style/_material-definition.scss +3 -0
- package/lib/components/product-configurator-selector-option-dropdown/style/_theme.scss +28 -0
- package/lib/components/product-configurator-selector-option-dropdown/style/material.scss +3 -0
- package/lib/components/product-configurator-selector-option-tile/product-configurator-selector-option-tile.component.d.ts +21 -0
- package/lib/components/product-configurator-selector-option-tile/product-configurator-selector-option-tile.module.d.ts +10 -0
- package/lib/components/product-configurator-selector-option-tile/style/_layout.scss +58 -0
- package/lib/components/product-configurator-selector-option-tile/style/_material-definition.scss +3 -0
- package/lib/components/product-configurator-selector-option-tile/style/_theme.scss +56 -0
- package/lib/components/product-configurator-selector-option-tile/style/material.scss +3 -0
- package/lib/components/progress-bar/progress-bar.component.d.ts +10 -0
- package/lib/components/progress-bar/progress-bar.component.scss +14 -0
- package/lib/components/progress-bar/progress-bar.module.d.ts +8 -0
- package/lib/components/progress-bar/style/_layout.scss +18 -0
- package/lib/components/progress-bar/style/_material-definition.scss +3 -0
- package/lib/components/progress-bar/style/_theme.scss +10 -0
- package/lib/components/progress-bar/style/material.scss +3 -0
- package/lib/components/scene-options/scene-options.component.d.ts +24 -0
- package/lib/components/scene-options/scene-options.module.d.ts +11 -0
- package/lib/components/scene-options/style/_layout.scss +52 -0
- package/lib/components/scene-options/style/_material-definition.scss +3 -0
- package/lib/components/scene-options/style/_theme.scss +7 -0
- package/lib/components/scene-options/style/material.scss +3 -0
- package/lib/components/selections-summary/selections-summary.component.d.ts +38 -0
- package/lib/components/selections-summary/selections-summary.module.d.ts +12 -0
- package/lib/components/selections-summary/style/_layout.scss +87 -0
- package/lib/components/selections-summary/style/_material-definition.scss +5 -0
- package/lib/components/selections-summary/style/_theme.scss +13 -0
- package/lib/components/selections-summary/style/material.scss +3 -0
- package/lib/components/selections-summary-line/selections-summary-line.component.d.ts +27 -0
- package/lib/components/selections-summary-line/selections-summary-line.module.d.ts +10 -0
- package/lib/components/selections-summary-line/style/_layout.scss +12 -0
- package/lib/components/selections-summary-line/style/_material-definition.scss +4 -0
- package/lib/components/selections-summary-line/style/_theme.scss +12 -0
- package/lib/components/selections-summary-line/style/material.scss +3 -0
- package/lib/components/slideout/slideout.component.d.ts +22 -0
- package/lib/components/slideout/slideout.module.d.ts +7 -0
- package/lib/components/slideout/style/_layout.scss +27 -0
- package/lib/components/slideout/style/_material-definition.scss +3 -0
- package/lib/components/slideout/style/_theme.scss +5 -0
- package/lib/components/slideout/style/material.scss +3 -0
- package/lib/components/summary-line/style/_layout.scss +137 -0
- package/lib/components/summary-line/style/_material-definition.scss +4 -0
- package/lib/components/summary-line/style/_theme.scss +56 -0
- package/lib/components/summary-line/style/material.scss +3 -0
- package/lib/components/summary-line/summary-line.component.d.ts +50 -0
- package/lib/components/summary-line/summary-line.module.d.ts +11 -0
- package/lib/components/tag-filter/style/_layout.scss +14 -0
- package/lib/components/tag-filter/style/_material-definition.scss +3 -0
- package/lib/components/tag-filter/style/_theme.scss +7 -0
- package/lib/components/tag-filter/style/material.scss +3 -0
- package/lib/components/tag-filter/tag-filter.component.d.ts +9 -0
- package/lib/components/tag-filter/tag-filter.module.d.ts +7 -0
- package/lib/components/threedselector/style/_layout.scss +32 -0
- package/lib/components/threedselector/style/_material-definition.scss +3 -0
- package/lib/components/threedselector/style/_theme.scss +7 -0
- package/lib/components/threedselector/style/material.scss +9 -0
- package/lib/components/threedselector/threedselector.component.d.ts +38 -0
- package/lib/components/threedselector/threedselector.module.d.ts +10 -0
- package/{helper → lib/core/helper}/variation-helper.d.ts +2 -2
- package/lib/core/shader/floor-fade.shader.d.ts +5 -0
- package/lib/core/textures/depth-data-texture.d.ts +5 -0
- package/lib/directives/directives.module.d.ts +8 -0
- package/{app → lib}/directives/visibility-observer-master.directive.d.ts +3 -0
- package/{app → lib}/directives/visibility-observer.directive.d.ts +3 -0
- package/lib/enum/ar-feature.enum.d.ts +12 -0
- package/lib/enum/configuration-key.enum.d.ts +39 -0
- package/lib/enum/configuration-template.enum.d.ts +4 -0
- package/lib/enum/device-size-type.d.ts +5 -0
- package/lib/enum/device-tier.enum.d.ts +5 -0
- package/lib/enum/icon.enum.d.ts +111 -0
- package/lib/enum/item-type.enum.d.ts +21 -0
- package/lib/enum/light.enum.d.ts +7 -0
- package/lib/enum/navigator-type.enum.d.ts +4 -0
- package/lib/enum/output-encoding.enum.d.ts +7 -0
- package/lib/enum/result-type.enum.d.ts +19 -0
- package/lib/enum/scene-event.enum.d.ts +10 -0
- package/lib/enum/shadow-map-type.enum.d.ts +6 -0
- package/lib/enum/texture-type.d.ts +7 -0
- package/lib/enum/tone-mapping-local.enum.d.ts +10 -0
- package/lib/enum/view-mode.enum.d.ts +5 -0
- package/lib/enum/xr-mode.enum.d.ts +4 -0
- package/lib/environments/environment.d.ts +4 -0
- package/lib/interfaces/aa-options.interface.d.ts +4 -0
- package/lib/interfaces/adjustable-element.interface.d.ts +5 -0
- package/lib/interfaces/ao-options.interface.d.ts +18 -0
- package/lib/interfaces/changes.interface.d.ts +9 -0
- package/lib/interfaces/configuration-data.interface.d.ts +40 -0
- package/lib/interfaces/light-preset.interface.d.ts +22 -0
- package/lib/interfaces/post-processing-setting.interface.d.ts +11 -0
- package/lib/interfaces/scene-option-button.interface.d.ts +19 -0
- package/lib/interfaces/screen-size-info.d.ts +10 -0
- package/lib/interfaces/setting.interface.d.ts +8 -0
- package/lib/interfaces/texture.interface.d.ts +44 -0
- package/lib/interfaces/vignette-options.interface.d.ts +4 -0
- package/lib/model/ar-position-indicator.d.ts +4 -0
- package/lib/model/camera-settings.d.ts +12 -0
- package/lib/model/configuration-result-object.d.ts +30 -0
- package/lib/model/configurator-error-message.d.ts +8 -0
- package/lib/model/configurator-settings.d.ts +62 -0
- package/lib/model/custom-button.d.ts +10 -0
- package/lib/model/factory.d.ts +5 -0
- package/lib/model/icon.d.ts +4 -0
- package/lib/model/intersected-objects.d.ts +6 -0
- package/lib/model/light-preset.d.ts +33 -0
- package/lib/model/light-properties.d.ts +25 -0
- package/lib/model/material.d.ts +41 -0
- package/lib/model/metadata.d.ts +78 -0
- package/lib/model/render-parameters.d.ts +12 -0
- package/lib/model/setting-options.d.ts +67 -0
- package/lib/model/settings.d.ts +10 -0
- package/lib/model/shadow-properties.d.ts +7 -0
- package/lib/model/skin.d.ts +15 -0
- package/lib/model/texture.d.ts +52 -0
- package/{model → lib/model}/variation-settings.d.ts +9 -8
- package/{model → lib/model}/variation.d.ts +2 -1
- package/lib/model/xr-reticle.d.ts +17 -0
- package/lib/modules/render/enum/scene-type.enum.d.ts +4 -0
- package/lib/modules/render/model/ar-parameters.d.ts +9 -0
- package/lib/modules/render/model/scene-setting.d.ts +13 -0
- package/lib/modules/render/model/scene-settings.d.ts +4 -0
- package/lib/pipes/append.pipe.d.ts +7 -0
- package/lib/pipes/google-translate.pipe.d.ts +11 -0
- package/lib/pipes/localize.pipe.d.ts +10 -0
- package/lib/pipes/pipes.module.d.ts +11 -0
- package/lib/pipes/prepend.pipe.d.ts +7 -0
- package/lib/pipes/strip-html.pipe.d.ts +7 -0
- package/lib/services/app-event.service.d.ts +32 -0
- package/lib/services/app-initializer.service.d.ts +14 -0
- package/lib/services/ar.service.d.ts +120 -0
- package/lib/services/build-furniture-base.service.d.ts +117 -0
- package/lib/services/build-furniture-without-scene.service.d.ts +14 -0
- package/lib/services/build-furniture.service.d.ts +14 -0
- package/lib/services/bundle-initialzer.service.d.ts +45 -0
- package/lib/services/camera.service.d.ts +44 -0
- package/lib/services/configuration.service.d.ts +18 -0
- package/lib/services/configurator-connector.service.d.ts +140 -0
- package/lib/services/configurator.service.d.ts +62 -0
- package/lib/services/configuring.service.d.ts +46 -0
- package/lib/services/controls.d.ts +11 -0
- package/lib/services/debug.service.d.ts +16 -0
- package/lib/services/dictionary.service.d.ts +15 -0
- package/lib/services/dynamic-camera.service.d.ts +21 -0
- package/lib/services/floor-plane.service.d.ts +47 -0
- package/lib/services/font.service.d.ts +10 -0
- package/lib/services/google-translate.service.d.ts +26 -0
- package/lib/services/icon-cache.service.d.ts +21 -0
- package/lib/services/intersection.service.d.ts +11 -0
- package/lib/services/item.service.d.ts +18 -0
- package/lib/services/json-utils.service.d.ts +7 -0
- package/lib/services/light-creation.service.d.ts +9 -0
- package/lib/services/light-presets.service.d.ts +34 -0
- package/lib/services/lights.service.d.ts +34 -0
- package/lib/services/load-furniture-base.service.d.ts +37 -0
- package/lib/services/load-furniture-without-scene.service.d.ts +9 -0
- package/lib/services/load-furniture.service.d.ts +9 -0
- package/lib/services/loader.service.d.ts +11 -0
- package/lib/services/locator.service.d.ts +7 -0
- package/lib/services/message-board.service.d.ts +18 -0
- package/lib/services/post-processing.service.d.ts +74 -0
- package/lib/services/product-configurator.service.d.ts +11 -0
- package/lib/services/progress.service.d.ts +9 -0
- package/lib/services/scene-event.service.d.ts +72 -0
- package/lib/services/scene-options.service.d.ts +11 -0
- package/lib/services/scene.service.d.ts +71 -0
- package/lib/services/screen-size-analysis.service.d.ts +32 -0
- package/lib/services/settings.service.d.ts +24 -0
- package/lib/services/switch-build-furniture.service.d.ts +21 -0
- package/lib/services/switch-load-furniture.service.d.ts +21 -0
- package/lib/services/threedselector.service.d.ts +17 -0
- package/lib/services/utils.service.d.ts +24 -0
- package/lib/services/variation-cache.service.d.ts +23 -0
- package/lib/services/variation.service.d.ts +26 -0
- package/lib/services/view-mode.service.d.ts +17 -0
- package/lib/services/vr.service.d.ts +42 -0
- package/lib/services/xr.service.d.ts +56 -0
- package/lib/style/_mixin.scss +9 -0
- package/lib/style/configurator-globals.scss +21 -0
- package/lib/style/template_variables.scss +37 -0
- package/lib/utils/color.utils.d.ts +8 -0
- package/lib/utils/debug.utils.d.ts +3 -0
- package/lib/utils/device.utils.d.ts +7 -0
- package/{utils → lib/utils}/file.utils.d.ts +3 -0
- package/{utils → lib/utils}/image.utils.d.ts +2 -3
- package/lib/utils/json-parser.utils.d.ts +9 -0
- package/lib/utils/material.utils.d.ts +34 -0
- package/lib/utils/object.utils.d.ts +32 -0
- package/lib/utils/relative-position.utils.d.ts +12 -0
- package/lib/utils/rotation-helper.utils.d.ts +6 -0
- package/lib/utils/scene-3d.utils.d.ts +8 -0
- package/lib/utils/text-utils.d.ts +4 -0
- package/{utils → lib/utils}/threed.utils.d.ts +7 -3
- package/{utils → lib/utils}/variation-utils.d.ts +4 -2
- package/package.json +17 -30
- package/public-api.d.ts +60 -0
- package/README.md +0 -28
- package/app/components/answers/answer/answer.component.d.ts +0 -11
- package/app/components/answers/answers.component.d.ts +0 -8
- package/app/components/answers/answers.module.d.ts +0 -2
- package/app/components/selections/selections.component.d.ts +0 -21
- package/app/components/selections/selections.module.d.ts +0 -2
- package/app/components/shared/loader/loader.component.d.ts +0 -2
- package/app/components/shared/shared.module.d.ts +0 -2
- package/app/services/configurator.service.d.ts +0 -19
- package/app/services/image-cache.service.d.ts +0 -10
- package/app/utils/object.utils.d.ts +0 -7
- package/colijnit-configurator.metadata.json +0 -1
- package/esm2015/app/builder.js +0 -710
- package/esm2015/app/components/answers/answer/answer.component.js +0 -66
- package/esm2015/app/components/answers/answers.component.js +0 -38
- package/esm2015/app/components/answers/answers.module.js +0 -27
- package/esm2015/app/components/selections/selections.component.js +0 -129
- package/esm2015/app/components/selections/selections.module.js +0 -21
- package/esm2015/app/components/shared/loader/loader.component.js +0 -22
- package/esm2015/app/components/shared/shared.module.js +0 -19
- package/esm2015/app/directives/visibility-observer-master.directive.js +0 -50
- package/esm2015/app/directives/visibility-observer.directive.js +0 -55
- package/esm2015/app/services/configurator.service.js +0 -79
- package/esm2015/app/services/image-cache.service.js +0 -63
- package/esm2015/app/utils/object.utils.js +0 -51
- package/esm2015/helper/variation-helper.js +0 -549
- package/esm2015/model/material.js +0 -11
- package/esm2015/model/variation-settings.js +0 -54
- package/esm2015/model/variation.js +0 -3
- package/esm2015/public_api.js +0 -7
- package/esm2015/utils/asset.utils.js +0 -124
- package/esm2015/utils/base-utils.js +0 -9
- package/esm2015/utils/file.utils.js +0 -142
- package/esm2015/utils/image.utils.js +0 -66
- package/esm2015/utils/object.utils.js +0 -49
- package/esm2015/utils/scene-utils.js +0 -187
- package/esm2015/utils/threed.utils.js +0 -226
- package/esm2015/utils/variation-utils.js +0 -388
- package/model/material.d.ts +0 -40
- package/public_api.d.ts +0 -6
- package/utils/object.utils.d.ts +0 -7
- /package/{utils → lib/utils}/asset.utils.d.ts +0 -0
- /package/{utils → lib/utils}/base-utils.d.ts +0 -0
- /package/{utils → lib/utils}/scene-utils.d.ts +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./element-toolbar.component";
|
|
3
|
+
import * as i2 from "../../pipes/pipes.module";
|
|
4
|
+
import * as i3 from "@colijnit/corecomponents_v12";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
export declare class ElementToolbarModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElementToolbarModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ElementToolbarModule, [typeof i1.ElementToolbarComponent], [typeof i2.PipesModule, typeof i3.IconModule, typeof i4.CommonModule], [typeof i1.ElementToolbarComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ElementToolbarModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
@import "../../../style/mixin.scss";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-element-toolbar-layout') {
|
|
4
|
+
.co-element-toolbar {
|
|
5
|
+
position: absolute;
|
|
6
|
+
display: block;
|
|
7
|
+
height: 50px;
|
|
8
|
+
top: 64px;
|
|
9
|
+
left: 50%;
|
|
10
|
+
width: 150px;
|
|
11
|
+
transform: translateX(-50%);
|
|
12
|
+
|
|
13
|
+
.toolbar-wrapper {
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
gap: 5px;
|
|
17
|
+
|
|
18
|
+
.toolbar-button {
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
border: none;
|
|
23
|
+
border-radius: 5px;
|
|
24
|
+
height: 36px;
|
|
25
|
+
width: 36px;
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
padding: 5px;
|
|
28
|
+
|
|
29
|
+
button {
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
background: none;
|
|
32
|
+
border: none;
|
|
33
|
+
height: 26px;
|
|
34
|
+
width: 26px;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.custom-menu {
|
|
40
|
+
top: 90px;
|
|
41
|
+
left: 80px;
|
|
42
|
+
height: auto;
|
|
43
|
+
transform: translateX(0);
|
|
44
|
+
|
|
45
|
+
.toolbar-wrapper {
|
|
46
|
+
column-gap: 10px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.toolbar-button {
|
|
50
|
+
cursor: pointer;
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
|
|
54
|
+
button {
|
|
55
|
+
border: none;
|
|
56
|
+
background: none;
|
|
57
|
+
|
|
58
|
+
co-icon {
|
|
59
|
+
width: 20px;
|
|
60
|
+
height: 20px;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.instant-edit-button {
|
|
65
|
+
display: flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
|
|
68
|
+
::ng-deep co-icon {
|
|
69
|
+
margin-right: 7px;
|
|
70
|
+
border: none;
|
|
71
|
+
width: 16px;
|
|
72
|
+
height: 16px;
|
|
73
|
+
border-radius: 10px;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
button {
|
|
78
|
+
box-shadow: none;
|
|
79
|
+
height: 30px;
|
|
80
|
+
width: 30px;
|
|
81
|
+
|
|
82
|
+
.mat-icon {
|
|
83
|
+
height: 30px;
|
|
84
|
+
width: 30px;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.toolbar-label {
|
|
90
|
+
font-weight: bold;
|
|
91
|
+
margin-right: 22px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.edit-menu-wrapper {
|
|
95
|
+
left: 0;
|
|
96
|
+
transform: translateX(0);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@media screen and (max-width: 768px) {
|
|
101
|
+
&.custom-menu {
|
|
102
|
+
top: 18px;
|
|
103
|
+
left: 5%;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
@import "../../../style/mixin.scss";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-element-toolbar-theme') {
|
|
4
|
+
.co-element-toolbar {
|
|
5
|
+
.toolbar-wrapper {
|
|
6
|
+
.toolbar-button {
|
|
7
|
+
background-color: #17253391;
|
|
8
|
+
box-shadow: 0 3px 5px -1px #0003, 0 6px 10px #00000024, 0 1px 18px #0000001f;
|
|
9
|
+
|
|
10
|
+
button {
|
|
11
|
+
color: #fff;
|
|
12
|
+
fill: #fff;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.custom-menu {
|
|
18
|
+
.toolbar-button {
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
.instant-edit-button {
|
|
25
|
+
svg g {
|
|
26
|
+
polygon {
|
|
27
|
+
fill: black;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
path {
|
|
31
|
+
fill: black;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
button {
|
|
38
|
+
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
39
|
+
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.toolbar-label {
|
|
44
|
+
font-size: var(--font-size-small);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { IconEnum } from '../../enum/icon.enum';
|
|
3
|
+
import { IconCacheService } from '../../services/icon-cache.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ImageZoomComponent {
|
|
6
|
+
iconService: IconCacheService;
|
|
7
|
+
showClass(): boolean;
|
|
8
|
+
readonly icons: typeof IconEnum;
|
|
9
|
+
imageData: string;
|
|
10
|
+
show: boolean;
|
|
11
|
+
showChange: EventEmitter<boolean>;
|
|
12
|
+
constructor(iconService: IconCacheService);
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageZoomComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageZoomComponent, "co-image-zoom", never, { "imageData": "imageData"; "show": "show"; }, { "showChange": "showChange"; }, never, ["*"]>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./image-zoom.component";
|
|
3
|
+
import * as i2 from "@colijnit/corecomponents_v12";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
export declare class ImageZoomModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageZoomModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageZoomModule, [typeof i1.ImageZoomComponent], [typeof i2.IconModule, typeof i3.CommonModule], [typeof i1.ImageZoomComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ImageZoomModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
@import "../../../style/mixin.scss";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-image-zoom-layout') {
|
|
4
|
+
.co-image-zoom {
|
|
5
|
+
|
|
6
|
+
.zoom-layer {
|
|
7
|
+
position: fixed;
|
|
8
|
+
width: 100vw;
|
|
9
|
+
height: 100vh;
|
|
10
|
+
top: 0;
|
|
11
|
+
left: 0;
|
|
12
|
+
z-index: 1;
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.zoom-wrapper {
|
|
19
|
+
position: relative;
|
|
20
|
+
border-radius: 10px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.close-button-wrapper {
|
|
24
|
+
-webkit-user-select: none;
|
|
25
|
+
-moz-user-select: none;
|
|
26
|
+
-ms-user-select: none;
|
|
27
|
+
user-select: none;
|
|
28
|
+
position: absolute;
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
right: -23px;
|
|
31
|
+
top: -23px;
|
|
32
|
+
border-radius: 50%;
|
|
33
|
+
width: 25px;
|
|
34
|
+
height: 25px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.zoom-wrapper .content {
|
|
38
|
+
position: absolute;
|
|
39
|
+
bottom: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.zoom-wrapper img {
|
|
43
|
+
-webkit-user-select: none;
|
|
44
|
+
-moz-user-select: none;
|
|
45
|
+
-ms-user-select: none;
|
|
46
|
+
user-select: none;
|
|
47
|
+
height: 450px;
|
|
48
|
+
padding: 10px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@import "../../../style/mixin.scss";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-image-zoom-theme') {
|
|
4
|
+
.co-image-zoom {
|
|
5
|
+
.zoom-layer {
|
|
6
|
+
background: rgba(0, 0, 0, 0.6);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.zoom-wrapper {
|
|
10
|
+
background: rgba(255, 255, 255, 1);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.close-button-wrapper {
|
|
14
|
+
background: rgba(255, 255, 255, 0.4);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, TemplateRef } from '@angular/core';
|
|
2
|
+
import { Selection } from '@colijnit/configuratorapi/build/model/selection';
|
|
3
|
+
import { Answer } from '@colijnit/configuratorapi/build/model/answer';
|
|
4
|
+
import { SwitchBuildFurnitureService } from '../../services/switch-build-furniture.service';
|
|
5
|
+
import { ConfiguratorConnectorService } from '../../services/configurator-connector.service';
|
|
6
|
+
import { ConfiguringService } from '../../services/configuring.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class LiteSelectorComponent implements OnDestroy {
|
|
9
|
+
buildFurnitureService: SwitchBuildFurnitureService;
|
|
10
|
+
configuratorConnectorService: ConfiguratorConnectorService;
|
|
11
|
+
private _configuringService;
|
|
12
|
+
showClass(): boolean;
|
|
13
|
+
templateAnswers: TemplateRef<any>;
|
|
14
|
+
set showAnswers(value: boolean);
|
|
15
|
+
get showAnswers(): boolean;
|
|
16
|
+
show: boolean;
|
|
17
|
+
set showSelections(value: boolean);
|
|
18
|
+
get showSelections(): boolean;
|
|
19
|
+
showLabel: boolean;
|
|
20
|
+
canClose: boolean;
|
|
21
|
+
customDimensions: boolean;
|
|
22
|
+
readonly showChange: EventEmitter<boolean>;
|
|
23
|
+
readonly answerChosen: EventEmitter<Answer>;
|
|
24
|
+
answerToShowFromSelectionText: string;
|
|
25
|
+
inlineAnswers: boolean;
|
|
26
|
+
animateSlideout: boolean;
|
|
27
|
+
private _showAnswers;
|
|
28
|
+
private _answersShowing;
|
|
29
|
+
private _showSelections;
|
|
30
|
+
private _selectionSelected;
|
|
31
|
+
private _subs;
|
|
32
|
+
constructor(buildFurnitureService: SwitchBuildFurnitureService, configuratorConnectorService: ConfiguratorConnectorService, _configuringService: ConfiguringService);
|
|
33
|
+
ngOnDestroy(): void;
|
|
34
|
+
onCloseLiteSelectorButtonClick(): void;
|
|
35
|
+
onSelectionsSummarySelectSelection(selection: Selection, forceBackToNode?: boolean, after?: boolean): Promise<void>;
|
|
36
|
+
onSelectionsSummaryDeleteSelection(selection: Selection): Promise<void>;
|
|
37
|
+
onAnswersSlideoutAnswerChosen(answerSelected: any): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LiteSelectorComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LiteSelectorComponent, "co-lite-selector", never, { "showAnswers": "showAnswers"; "show": "show"; "showSelections": "showSelections"; "showLabel": "showLabel"; "canClose": "canClose"; "customDimensions": "customDimensions"; }, { "showChange": "showChange"; "answerChosen": "answerChosen"; }, never, never>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./lite-selector.component";
|
|
3
|
+
import * as i2 from "../answers-slideout/answers-slideout.module";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../selections-summary/selections-summary.module";
|
|
6
|
+
export declare class LiteSelectorModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LiteSelectorModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LiteSelectorModule, [typeof i1.LiteSelectorComponent], [typeof i2.AnswersSlideoutModule, typeof i3.CommonModule, typeof i4.SelectionsSummaryModule], [typeof i1.LiteSelectorComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LiteSelectorModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@import "../../../style/mixin.scss";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-lite-selector-layout') {
|
|
4
|
+
.co-lite-selector {
|
|
5
|
+
&.floating co-selections-summary {
|
|
6
|
+
position: absolute;
|
|
7
|
+
right: 0;
|
|
8
|
+
max-height: calc(100vh - 120px);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&:not(.custom-dimensions).floating co-selections-summary {
|
|
12
|
+
top: 64px;
|
|
13
|
+
max-height: calc(100vh - 184px);
|
|
14
|
+
background: #fdf7e463;
|
|
15
|
+
padding: 5px 10px 10px 10px;
|
|
16
|
+
border-radius: 10px;
|
|
17
|
+
right: 10px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Answer } from '@colijnit/configuratorapi/build/model/answer';
|
|
3
|
+
import { SelectorStructure } from '@colijnit/configuratorapi/build/model/selector-structure.bo';
|
|
4
|
+
import { Article } from '@colijnit/configuratorapi/build/model/article';
|
|
5
|
+
import { SelectorWithOptions } from '@colijnit/configuratorapi/build/model/selector-with-options';
|
|
6
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
7
|
+
import { SwitchBuildFurnitureService } from '../../services/switch-build-furniture.service';
|
|
8
|
+
import { ProductConfiguratorService } from '../../services/product-configurator.service';
|
|
9
|
+
import { ConfiguratorConnectorService } from '../../services/configurator-connector.service';
|
|
10
|
+
import { SettingsService } from '../../services/settings.service';
|
|
11
|
+
import { IconEnum } from '../../enum/icon.enum';
|
|
12
|
+
import { IconCacheService } from '../../services/icon-cache.service';
|
|
13
|
+
import { ConfiguringService } from '../../services/configuring.service';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export declare class ProductConfiguratorComponent implements OnInit, OnDestroy {
|
|
16
|
+
configuratorConnectorService: ConfiguratorConnectorService;
|
|
17
|
+
buildFurnitureService: SwitchBuildFurnitureService;
|
|
18
|
+
settingsService: SettingsService;
|
|
19
|
+
productConfiguratorService: ProductConfiguratorService;
|
|
20
|
+
iconService: IconCacheService;
|
|
21
|
+
private _sanitizer;
|
|
22
|
+
private _configuringService;
|
|
23
|
+
showClass(): boolean;
|
|
24
|
+
readonly icons: typeof IconEnum;
|
|
25
|
+
set show(value: boolean);
|
|
26
|
+
get show(): boolean;
|
|
27
|
+
showHeaderInformation: boolean;
|
|
28
|
+
set showSelections(value: boolean);
|
|
29
|
+
get showSelections(): boolean;
|
|
30
|
+
showLabel: boolean;
|
|
31
|
+
canClose: boolean;
|
|
32
|
+
customDimensions: boolean;
|
|
33
|
+
readonly showChange: EventEmitter<boolean>;
|
|
34
|
+
readonly answerChosen: EventEmitter<Answer>;
|
|
35
|
+
valutaSymbol: string;
|
|
36
|
+
article: Article;
|
|
37
|
+
selectionList: SelectorWithOptions[];
|
|
38
|
+
safeDescription: SafeHtml;
|
|
39
|
+
private _showSelections;
|
|
40
|
+
private _show;
|
|
41
|
+
private _selectionSelected;
|
|
42
|
+
private _subs;
|
|
43
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, buildFurnitureService: SwitchBuildFurnitureService, settingsService: SettingsService, productConfiguratorService: ProductConfiguratorService, iconService: IconCacheService, _sanitizer: DomSanitizer, _configuringService: ConfiguringService);
|
|
44
|
+
ngOnInit(): void;
|
|
45
|
+
ngOnDestroy(): void;
|
|
46
|
+
onSelectionsSummarySelectSelection(chosenOption: SelectorStructure): Promise<void>;
|
|
47
|
+
handleCloseClick(): void;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorComponent, "co-product-configurator", never, { "show": "show"; "showHeaderInformation": "showHeaderInformation"; "showSelections": "showSelections"; "showLabel": "showLabel"; "canClose": "canClose"; "customDimensions": "customDimensions"; }, { "showChange": "showChange"; "answerChosen": "answerChosen"; }, never, never>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./product-configurator.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/icon";
|
|
5
|
+
import * as i4 from "@angular/material/button";
|
|
6
|
+
import * as i5 from "@colijnit/corecomponents_v12";
|
|
7
|
+
import * as i6 from "../slideout/slideout.module";
|
|
8
|
+
import * as i7 from "@angular/forms";
|
|
9
|
+
import * as i8 from "../../pipes/pipes.module";
|
|
10
|
+
import * as i9 from "../product-configurator-selector/product-configurator-selector.module";
|
|
11
|
+
export declare class ProductConfiguratorModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorModule, [typeof i1.ProductConfiguratorComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.MatButtonModule, typeof i5.CardModule, typeof i6.SlideoutModule, typeof i5.PriceDisplayPipeModule, typeof i5.ButtonModule, typeof i5.InputTextModule, typeof i7.FormsModule, typeof i8.PipesModule, typeof i5.IconModule, typeof i5.TooltipDirectiveModule, typeof i9.ProductConfiguratorSelectorModule], [typeof i1.ProductConfiguratorComponent]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorModule>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
@import "../../../style/mixin.scss";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
@include export-module('co-product-configurator') {
|
|
5
|
+
.product-configurator-container {
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
position: absolute;
|
|
8
|
+
z-index: 1;
|
|
9
|
+
max-height: calc(100vh - 120px);
|
|
10
|
+
top: 64px;
|
|
11
|
+
padding: 15px;
|
|
12
|
+
border-radius: 10px;
|
|
13
|
+
right: 10px;
|
|
14
|
+
width: 505px;
|
|
15
|
+
|
|
16
|
+
.product-configurator-header {
|
|
17
|
+
display: flex;
|
|
18
|
+
justify-content: space-between;
|
|
19
|
+
padding-bottom: 10px;
|
|
20
|
+
|
|
21
|
+
.product-configurator-head {
|
|
22
|
+
.product-configurator-header-text {
|
|
23
|
+
margin: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.product-configurator-text {
|
|
27
|
+
margin: 0;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.product-configurator-close {
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.product-configurator-details {
|
|
37
|
+
max-height: calc(100vh - 320px);
|
|
38
|
+
overflow-y: scroll;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.product-configurator-summary-price-container {
|
|
42
|
+
box-sizing: border-box;
|
|
43
|
+
padding: 10px 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@import "../../../style/mixin.scss";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-product-configurator') {
|
|
4
|
+
.co-product-configurator {
|
|
5
|
+
.product-configurator-container {
|
|
6
|
+
background: var(--product-configurator-background-color);
|
|
7
|
+
color: var(--text-color);
|
|
8
|
+
|
|
9
|
+
.product-configurator-header {
|
|
10
|
+
.product-configurator-head {
|
|
11
|
+
.product-configurator-header-text {
|
|
12
|
+
font-size: var(--font-size-large);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.product-configurator-text {
|
|
16
|
+
font-size: var(--font-size-medium);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
package/lib/components/product-configurator-selector/product-configurator-selector.component.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { SelectorStructure } from '@colijnit/configuratorapi/build/model/selector-structure.bo';
|
|
3
|
+
import { SelectorWithOptions } from '@colijnit/configuratorapi/build/model/selector-with-options';
|
|
4
|
+
import { SettingsService } from '../../services/settings.service';
|
|
5
|
+
import { ConfiguratorConnectorService } from '../../services/configurator-connector.service';
|
|
6
|
+
import { IconCacheService } from '../../services/icon-cache.service';
|
|
7
|
+
import { IconEnum } from '../../enum/icon.enum';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class ProductConfiguratorSelectorComponent implements OnInit {
|
|
10
|
+
configuratorConnectorService: ConfiguratorConnectorService;
|
|
11
|
+
settingsService: SettingsService;
|
|
12
|
+
iconService: IconCacheService;
|
|
13
|
+
showClass(): boolean;
|
|
14
|
+
readonly icons: typeof IconEnum;
|
|
15
|
+
exceptionContainer?: ElementRef;
|
|
16
|
+
get hostClasses(): string;
|
|
17
|
+
selection: SelectorStructure;
|
|
18
|
+
options: SelectorWithOptions[];
|
|
19
|
+
lastNodeWithChildren: boolean;
|
|
20
|
+
selectionIndex: number;
|
|
21
|
+
treeLevelIndex: number;
|
|
22
|
+
isActive: boolean;
|
|
23
|
+
markAsException: boolean;
|
|
24
|
+
activate: EventEmitter<void>;
|
|
25
|
+
get selectionIndexText(): string;
|
|
26
|
+
selectionClass: string;
|
|
27
|
+
listOfChoices: SelectorStructure[];
|
|
28
|
+
activeChildIndex: number;
|
|
29
|
+
constructor(configuratorConnectorService: ConfiguratorConnectorService, settingsService: SettingsService, iconService: IconCacheService);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
showAndScroll(): void;
|
|
32
|
+
onSubHeaderClick(): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductConfiguratorSelectorComponent, "co-product-configurator-selector", never, { "selection": "selection"; "options": "options"; "lastNodeWithChildren": "lastNodeWithChildren"; "selectionIndex": "selectionIndex"; "treeLevelIndex": "treeLevelIndex"; "isActive": "isActive"; "markAsException": "markAsException"; }, { "activate": "activate"; }, never, never>;
|
|
35
|
+
}
|
package/lib/components/product-configurator-selector/product-configurator-selector.module.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./product-configurator-selector.component";
|
|
3
|
+
import * as i2 from "../../pipes/pipes.module";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@colijnit/corecomponents_v12";
|
|
6
|
+
import * as i5 from "../product-configurator-selector-option/product-configurator-selector-option.module";
|
|
7
|
+
export declare class ProductConfiguratorSelectorModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConfiguratorSelectorModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductConfiguratorSelectorModule, [typeof i1.ProductConfiguratorSelectorComponent], [typeof i2.PipesModule, typeof i3.CommonModule, typeof i4.IconModule, typeof i5.ProductConfiguratorSelectorOptionModule], [typeof i1.ProductConfiguratorSelectorComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductConfiguratorSelectorModule>;
|
|
11
|
+
}
|