@colijnit/configurator 261.1.1 → 261.20.0
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} +19092 -18478
- package/fesm2022/colijnit-configurator.mjs.map +1 -0
- package/index.d.ts +3301 -0
- package/lib/components/answer-card/style/_layout.scss +3 -3
- package/lib/components/answers-slideout/style/_layout.scss +1 -0
- package/package.json +17 -13
- 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
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, HostBinding, Input, Output, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "../../services/configurator-connector.service";
|
|
4
|
-
import * as i2 from "../summary-line/summary-line.component";
|
|
5
|
-
import * as i3 from "@angular/common";
|
|
6
|
-
import * as i4 from "../../pipes/localize.pipe";
|
|
7
|
-
export class SelectionsSummaryLineComponent {
|
|
8
|
-
constructor(configuratorConnectorService) {
|
|
9
|
-
this.configuratorConnectorService = configuratorConnectorService;
|
|
10
|
-
this.valutaSymbol = '€';
|
|
11
|
-
this.customizeButtonClicked = new EventEmitter();
|
|
12
|
-
this.summaryLineClick = new EventEmitter();
|
|
13
|
-
this.summaryLineRepeat = new EventEmitter();
|
|
14
|
-
this.summaryLineDelete = new EventEmitter();
|
|
15
|
-
this.shouldBeHidden = false;
|
|
16
|
-
// TODO convert to input
|
|
17
|
-
this.showCustomizeButton = false;
|
|
18
|
-
// TODO convert to input
|
|
19
|
-
this.showOnlyLastAnswerDescriptionGenericSelection = false;
|
|
20
|
-
this._subs = [];
|
|
21
|
-
}
|
|
22
|
-
showClass() {
|
|
23
|
-
return true;
|
|
24
|
-
}
|
|
25
|
-
set selection(value) {
|
|
26
|
-
this._selection = value;
|
|
27
|
-
this.configuratorConnectorService.extendWithSelectionImage(this._selection, false);
|
|
28
|
-
if (this._selection.answerTreeAsArray && this._selection.answerTreeAsArray.length > 0) {
|
|
29
|
-
this.selectionDescription = this._selection.answerTreeAsArray.map(t => t.description).join(' / ');
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
this.selectionDescription = (this.selection.answer ? this.selection.answer + ' : ' : '').concat(this.selection.lastAnswer);
|
|
33
|
-
}
|
|
34
|
-
// note: this is a temporary fix to hide certain selections from the summary list
|
|
35
|
-
// To do this properly there should be a property on selection that can be set from AS that states that the selection should be hidden
|
|
36
|
-
this.shouldBeHidden = this._selection.question.indexOf('[hidden]') > -1;
|
|
37
|
-
}
|
|
38
|
-
get selection() {
|
|
39
|
-
return this._selection;
|
|
40
|
-
}
|
|
41
|
-
ngOnDestroy() {
|
|
42
|
-
this._subs.forEach(s => s.unsubscribe());
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
SelectionsSummaryLineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SelectionsSummaryLineComponent, deps: [{ token: i1.ConfiguratorConnectorService }], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
-
SelectionsSummaryLineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: SelectionsSummaryLineComponent, selector: "co-selections-summary-line", inputs: { selection: "selection", valutaSymbol: "valutaSymbol", answersTemplate: "answersTemplate", answerToShowFromSelectionText: "answerToShowFromSelectionText" }, outputs: { customizeButtonClicked: "customizeButtonClicked", summaryLineClick: "summaryLineClick", summaryLineRepeat: "summaryLineRepeat", summaryLineDelete: "summaryLineDelete" }, host: { properties: { "class.co-selections-summary-line": "this.showClass", "class.should-be-hidden": "this.shouldBeHidden" } }, ngImport: i0, template: `
|
|
47
|
-
<ng-container *ngIf="selection.generic || selection.grouped">
|
|
48
|
-
<co-summary-line
|
|
49
|
-
class="co-summary-line"
|
|
50
|
-
[imageData]="selection.imageDataLastAnswer"
|
|
51
|
-
[title]="selection.question"
|
|
52
|
-
[description]="showOnlyLastAnswerDescriptionGenericSelection ? selection.lastAnswer : (selection.answerTreeString ? selection.answerTreeString : selection.answer)"
|
|
53
|
-
[multilineData]="[]"
|
|
54
|
-
[showContent]="answersTemplate && answerToShowFromSelectionText === selection.question"
|
|
55
|
-
[isHighlighted]="configuratorConnectorService.activeSelection === selection"
|
|
56
|
-
[valutaSymbol]="valutaSymbol"
|
|
57
|
-
[price]="selection.totalPrice"
|
|
58
|
-
[isCollapsable]="selection.answerTreeAsArray && selection.answerTreeAsArray.length > 1"
|
|
59
|
-
[isDeletable]="selection.canBeDeleted"
|
|
60
|
-
[canRepeat]="selection.repeatOptActive"
|
|
61
|
-
(click)="summaryLineClick.emit()"
|
|
62
|
-
(deleteClicked)="summaryLineDelete.emit($event)"
|
|
63
|
-
(repeatClicked)="summaryLineRepeat.emit($event)"
|
|
64
|
-
>
|
|
65
|
-
<ng-container *ngIf="answersTemplate" [ngTemplateOutlet]="answersTemplate"></ng-container>
|
|
66
|
-
</co-summary-line>
|
|
67
|
-
</ng-container>
|
|
68
|
-
<ng-container *ngIf="!selection.generic && !selection.grouped">
|
|
69
|
-
<div *ngIf="showCustomizeButton" class="customizer-button" (click)="customizeButtonClicked.emit()">
|
|
70
|
-
<!-- <co-icon [iconData]="iconCache.getIcon(icon.Brush)"></co-icon>-->
|
|
71
|
-
Icon brush
|
|
72
|
-
<span [textContent]="'CUSTOMIZE' | localize"></span>
|
|
73
|
-
</div>
|
|
74
|
-
|
|
75
|
-
<co-summary-line
|
|
76
|
-
class="co-summary-line"
|
|
77
|
-
[imageData]="selection.imageData"
|
|
78
|
-
[multilineData]="selection.answerTreeAsArray || []"
|
|
79
|
-
[showContent]="answersTemplate && answerToShowFromSelectionText === selection.question"
|
|
80
|
-
[isHighlighted]="configuratorConnectorService.activeSelection === selection"
|
|
81
|
-
[valutaSymbol]="valutaSymbol"
|
|
82
|
-
[price]="selection.totalPrice"
|
|
83
|
-
[isCollapsable]="selection.answerTreeAsArray && selection.answerTreeAsArray.length > 1"
|
|
84
|
-
[isDeletable]="selection.canBeDeleted"
|
|
85
|
-
[canRepeat]="selection.repeatOptActive"
|
|
86
|
-
(click)="summaryLineClick.emit()"
|
|
87
|
-
(deleteClicked)="summaryLineDelete.emit($event)"
|
|
88
|
-
(repeatClicked)="summaryLineRepeat.emit($event)"
|
|
89
|
-
>
|
|
90
|
-
<ng-container *ngIf="answersTemplate" [ngTemplateOutlet]="answersTemplate"></ng-container>
|
|
91
|
-
</co-summary-line>
|
|
92
|
-
</ng-container>
|
|
93
|
-
`, isInline: true, components: [{ type: i2.CoSummaryLine, selector: "co-summary-line", inputs: ["imageData", "title", "description", "price", "multilineData", "valutaSymbol", "isHighlighted", "isCollapsable", "canRepeat", "isDeletable", "showContent"], outputs: ["repeatClicked", "deleteClicked"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "localize": i4.LocalizePipe }, encapsulation: i0.ViewEncapsulation.None });
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SelectionsSummaryLineComponent, decorators: [{
|
|
95
|
-
type: Component,
|
|
96
|
-
args: [{
|
|
97
|
-
selector: 'co-selections-summary-line',
|
|
98
|
-
template: `
|
|
99
|
-
<ng-container *ngIf="selection.generic || selection.grouped">
|
|
100
|
-
<co-summary-line
|
|
101
|
-
class="co-summary-line"
|
|
102
|
-
[imageData]="selection.imageDataLastAnswer"
|
|
103
|
-
[title]="selection.question"
|
|
104
|
-
[description]="showOnlyLastAnswerDescriptionGenericSelection ? selection.lastAnswer : (selection.answerTreeString ? selection.answerTreeString : selection.answer)"
|
|
105
|
-
[multilineData]="[]"
|
|
106
|
-
[showContent]="answersTemplate && answerToShowFromSelectionText === selection.question"
|
|
107
|
-
[isHighlighted]="configuratorConnectorService.activeSelection === selection"
|
|
108
|
-
[valutaSymbol]="valutaSymbol"
|
|
109
|
-
[price]="selection.totalPrice"
|
|
110
|
-
[isCollapsable]="selection.answerTreeAsArray && selection.answerTreeAsArray.length > 1"
|
|
111
|
-
[isDeletable]="selection.canBeDeleted"
|
|
112
|
-
[canRepeat]="selection.repeatOptActive"
|
|
113
|
-
(click)="summaryLineClick.emit()"
|
|
114
|
-
(deleteClicked)="summaryLineDelete.emit($event)"
|
|
115
|
-
(repeatClicked)="summaryLineRepeat.emit($event)"
|
|
116
|
-
>
|
|
117
|
-
<ng-container *ngIf="answersTemplate" [ngTemplateOutlet]="answersTemplate"></ng-container>
|
|
118
|
-
</co-summary-line>
|
|
119
|
-
</ng-container>
|
|
120
|
-
<ng-container *ngIf="!selection.generic && !selection.grouped">
|
|
121
|
-
<div *ngIf="showCustomizeButton" class="customizer-button" (click)="customizeButtonClicked.emit()">
|
|
122
|
-
<!-- <co-icon [iconData]="iconCache.getIcon(icon.Brush)"></co-icon>-->
|
|
123
|
-
Icon brush
|
|
124
|
-
<span [textContent]="'CUSTOMIZE' | localize"></span>
|
|
125
|
-
</div>
|
|
126
|
-
|
|
127
|
-
<co-summary-line
|
|
128
|
-
class="co-summary-line"
|
|
129
|
-
[imageData]="selection.imageData"
|
|
130
|
-
[multilineData]="selection.answerTreeAsArray || []"
|
|
131
|
-
[showContent]="answersTemplate && answerToShowFromSelectionText === selection.question"
|
|
132
|
-
[isHighlighted]="configuratorConnectorService.activeSelection === selection"
|
|
133
|
-
[valutaSymbol]="valutaSymbol"
|
|
134
|
-
[price]="selection.totalPrice"
|
|
135
|
-
[isCollapsable]="selection.answerTreeAsArray && selection.answerTreeAsArray.length > 1"
|
|
136
|
-
[isDeletable]="selection.canBeDeleted"
|
|
137
|
-
[canRepeat]="selection.repeatOptActive"
|
|
138
|
-
(click)="summaryLineClick.emit()"
|
|
139
|
-
(deleteClicked)="summaryLineDelete.emit($event)"
|
|
140
|
-
(repeatClicked)="summaryLineRepeat.emit($event)"
|
|
141
|
-
>
|
|
142
|
-
<ng-container *ngIf="answersTemplate" [ngTemplateOutlet]="answersTemplate"></ng-container>
|
|
143
|
-
</co-summary-line>
|
|
144
|
-
</ng-container>
|
|
145
|
-
`,
|
|
146
|
-
encapsulation: ViewEncapsulation.None
|
|
147
|
-
}]
|
|
148
|
-
}], ctorParameters: function () { return [{ type: i1.ConfiguratorConnectorService }]; }, propDecorators: { showClass: [{
|
|
149
|
-
type: HostBinding,
|
|
150
|
-
args: ['class.co-selections-summary-line']
|
|
151
|
-
}], selection: [{
|
|
152
|
-
type: Input
|
|
153
|
-
}], valutaSymbol: [{
|
|
154
|
-
type: Input
|
|
155
|
-
}], answersTemplate: [{
|
|
156
|
-
type: Input
|
|
157
|
-
}], answerToShowFromSelectionText: [{
|
|
158
|
-
type: Input
|
|
159
|
-
}], customizeButtonClicked: [{
|
|
160
|
-
type: Output
|
|
161
|
-
}], summaryLineClick: [{
|
|
162
|
-
type: Output
|
|
163
|
-
}], summaryLineRepeat: [{
|
|
164
|
-
type: Output
|
|
165
|
-
}], summaryLineDelete: [{
|
|
166
|
-
type: Output
|
|
167
|
-
}], shouldBeHidden: [{
|
|
168
|
-
type: HostBinding,
|
|
169
|
-
args: ['class.should-be-hidden']
|
|
170
|
-
}] } });
|
|
171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FRPRE8gY29udmVydCB0byBpbnB1dFxyXG4gIHB1YmxpYyBzaG93Q3VzdG9taXplQnV0dG9uOiBib29sZWFuID0gZmFsc2U7XHJcbiAgLy8gVE9ETyBjb252ZXJ0IHRvIGlucHV0XHJcbiAgcHVibGljIHNob3dPbmx5TGFzdEFuc3dlckRlc2NyaXB0aW9uR2VuZXJpY1NlbGVjdGlvbjogYm9vbGVhbiA9IGZhbHNlO1xyXG5cclxuICBwcml2YXRlIF9zdWJzOiBTdWJzY3JpcHRpb25bXSA9IFtdO1xyXG4gIHByaXZhdGUgX3NlbGVjdGlvbjogU2VsZWN0aW9uO1xyXG5cclxuICBjb25zdHJ1Y3RvcihcclxuICAgIHB1YmxpYyBjb25maWd1cmF0b3JDb25uZWN0b3JTZXJ2aWNlOiBDb25maWd1cmF0b3JDb25uZWN0b3JTZXJ2aWNlXHJcbiAgKSB7XHJcblxyXG4gIH1cclxuXHJcbiAgbmdPbkRlc3Ryb3koKTogdm9pZCB7XHJcbiAgICB0aGlzLl9zdWJzLmZvckVhY2gocyA9PiBzLnVuc3Vic2NyaWJlKCkpO1xyXG4gIH1cclxuXHJcbn1cclxuIl19
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { SelectionsSummaryLineComponent } from './selections-summary-line.component';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { PipesModule } from '../../pipes/pipes.module';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
import { CoSummaryLineModule } from '../summary-line/summary-line.module';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class SelectionsSummaryLineModule {
|
|
8
|
-
}
|
|
9
|
-
SelectionsSummaryLineModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SelectionsSummaryLineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
-
SelectionsSummaryLineModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SelectionsSummaryLineModule, declarations: [SelectionsSummaryLineComponent], imports: [PipesModule,
|
|
11
|
-
CommonModule,
|
|
12
|
-
CoSummaryLineModule], exports: [SelectionsSummaryLineComponent] });
|
|
13
|
-
SelectionsSummaryLineModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SelectionsSummaryLineModule, imports: [[
|
|
14
|
-
PipesModule,
|
|
15
|
-
CommonModule,
|
|
16
|
-
CoSummaryLineModule
|
|
17
|
-
]] });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SelectionsSummaryLineModule, decorators: [{
|
|
19
|
-
type: NgModule,
|
|
20
|
-
args: [{
|
|
21
|
-
imports: [
|
|
22
|
-
PipesModule,
|
|
23
|
-
CommonModule,
|
|
24
|
-
CoSummaryLineModule
|
|
25
|
-
],
|
|
26
|
-
declarations: [
|
|
27
|
-
SelectionsSummaryLineComponent
|
|
28
|
-
],
|
|
29
|
-
exports: [
|
|
30
|
-
SelectionsSummaryLineComponent
|
|
31
|
-
]
|
|
32
|
-
}]
|
|
33
|
-
}] });
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9ucy1zdW1tYXJ5LWxpbmUubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29uZmlndXJhdG9yL3NyYy9saWIvY29tcG9uZW50cy9zZWxlY3Rpb25zLXN1bW1hcnktbGluZS9zZWxlY3Rpb25zLXN1bW1hcnktbGluZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLDhCQUE4QixFQUFDLE1BQU0scUNBQXFDLENBQUM7QUFDbkYsT0FBTyxFQUFDLFFBQ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1hcnktbGluZS9zdW1tYXJ5LWxpbmUubW9kdWxlJztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgaW1wb3J0czogW1xyXG4gICAgUGlwZXNNb2R1bGUsXHJcbiAgICBDb21tb25Nb2R1bGUsXHJcbiAgICBDb1N1bW1hcnlMaW5lTW9kdWxlXHJcbiAgXSxcclxuICBkZWNsYXJhdGlvbnM6IFtcclxuICAgIFNlbGVjdGlvbnNTdW1tYXJ5TGluZUNvbXBvbmVudFxyXG4gIF0sXHJcbiAgZXhwb3J0czogW1xyXG4gICAgU2VsZWN0aW9uc1N1bW1hcnlMaW5lQ29tcG9uZW50XHJcbiAgXVxyXG59KVxyXG5cclxuZXhwb3J0IGNsYXNzIFNlbGVjdGlvbnNTdW1tYXJ5TGluZU1vZHVsZSB7XHJcbn1cclxuIl19
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { Component, HostBinding, HostListener, Input, ViewChild, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class SlideoutComponent {
|
|
4
|
-
constructor(_elementRef) {
|
|
5
|
-
this._elementRef = _elementRef;
|
|
6
|
-
this._isDragResizing = false;
|
|
7
|
-
this._minWidthAfterDragResize = 40;
|
|
8
|
-
}
|
|
9
|
-
showClass() {
|
|
10
|
-
return true;
|
|
11
|
-
}
|
|
12
|
-
ngAfterViewInit() {
|
|
13
|
-
this._originalWidthPx = this._elementRef.nativeElement.offsetWidth;
|
|
14
|
-
}
|
|
15
|
-
onDragGutterMouseDown(event) {
|
|
16
|
-
this._dragStartX = event.clientX;
|
|
17
|
-
this._isDragResizing = true;
|
|
18
|
-
}
|
|
19
|
-
onDocumentMouseUp(event) {
|
|
20
|
-
if (this.resizable && this._isDragResizing) {
|
|
21
|
-
this._isDragResizing = false;
|
|
22
|
-
let newWidth = this._elementRef.nativeElement.offsetWidth + (this._dragStartX - event.clientX);
|
|
23
|
-
if (newWidth < this._minWidthAfterDragResize) {
|
|
24
|
-
newWidth = this._minWidthAfterDragResize;
|
|
25
|
-
}
|
|
26
|
-
this._elementRef.nativeElement.style.width = newWidth + "px";
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
onDocumentDragEnd(event) {
|
|
30
|
-
this.onDocumentMouseUp(event);
|
|
31
|
-
}
|
|
32
|
-
onDragGutterMouseUp(event) {
|
|
33
|
-
this.onDocumentMouseUp(event);
|
|
34
|
-
}
|
|
35
|
-
onDragGutterDoubleClick() {
|
|
36
|
-
if (this.resizable) {
|
|
37
|
-
this._elementRef.nativeElement.style.width = this._originalWidthPx + "px";
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
SlideoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SlideoutComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
42
|
-
SlideoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: SlideoutComponent, selector: "co-slideout", inputs: { show: "show", resizable: "resizable" }, host: { listeners: { "document:mouseup": "onDocumentMouseUp($event)", "document:dragend": "onDocumentDragEnd($event)" }, properties: { "class.show": "this.show", "class.co-slideout": "this.showClass", "class.resizable": "this.resizable" } }, viewQueries: [{ propertyName: "dragGutter", first: true, predicate: ["dragGutter"], descendants: true }], ngImport: i0, template: `
|
|
43
|
-
<ng-content></ng-content>
|
|
44
|
-
<div *ngIf="resizable" class="drag-gutter" #dragGutter
|
|
45
|
-
(dblclick)="onDragGutterDoubleClick()" (mousedown)="onDragGutterMouseDown($event)"
|
|
46
|
-
(mouseup)="onDragGutterMouseUp($event)"></div>
|
|
47
|
-
`, isInline: true, encapsulation: i0.ViewEncapsulation.None });
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SlideoutComponent, decorators: [{
|
|
49
|
-
type: Component,
|
|
50
|
-
args: [{
|
|
51
|
-
selector: "co-slideout",
|
|
52
|
-
template: `
|
|
53
|
-
<ng-content></ng-content>
|
|
54
|
-
<div *ngIf="resizable" class="drag-gutter" #dragGutter
|
|
55
|
-
(dblclick)="onDragGutterDoubleClick()" (mousedown)="onDragGutterMouseDown($event)"
|
|
56
|
-
(mouseup)="onDragGutterMouseUp($event)"></div>
|
|
57
|
-
`,
|
|
58
|
-
encapsulation: ViewEncapsulation.None
|
|
59
|
-
}]
|
|
60
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { show: [{
|
|
61
|
-
type: Input
|
|
62
|
-
}, {
|
|
63
|
-
type: HostBinding,
|
|
64
|
-
args: ["class.show"]
|
|
65
|
-
}], showClass: [{
|
|
66
|
-
type: HostBinding,
|
|
67
|
-
args: ["class.co-slideout"]
|
|
68
|
-
}], resizable: [{
|
|
69
|
-
type: Input
|
|
70
|
-
}, {
|
|
71
|
-
type: HostBinding,
|
|
72
|
-
args: ["class.resizable"]
|
|
73
|
-
}], dragGutter: [{
|
|
74
|
-
type: ViewChild,
|
|
75
|
-
args: ["dragGutter"]
|
|
76
|
-
}], onDocumentMouseUp: [{
|
|
77
|
-
type: HostListener,
|
|
78
|
-
args: ["document:mouseup", ['$event']]
|
|
79
|
-
}], onDocumentDragEnd: [{
|
|
80
|
-
type: HostListener,
|
|
81
|
-
args: ["document:dragend", ['$event']]
|
|
82
|
-
}] } });
|
|
83
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGVvdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29uZmlndXJhdG9yL3NyYy9saWIvY29tcG9uZW50cy9zbGlkZW91dC9zbGlkZW91dC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFnQ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AgfVxyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { SlideoutComponent } from './slideout.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class SlideoutModule {
|
|
5
|
-
}
|
|
6
|
-
SlideoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SlideoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
-
SlideoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SlideoutModule, declarations: [SlideoutComponent], exports: [SlideoutComponent] });
|
|
8
|
-
SlideoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SlideoutModule, imports: [[]] });
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: SlideoutModule, decorators: [{
|
|
10
|
-
type: NgModule,
|
|
11
|
-
args: [{
|
|
12
|
-
imports: [],
|
|
13
|
-
declarations: [SlideoutComponent],
|
|
14
|
-
exports: [SlideoutComponent]
|
|
15
|
-
}]
|
|
16
|
-
}] });
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGVvdXQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29uZmlndXJhdG9yL3NyYy9saWIvY29tcG9uZW50cy9zbGlkZW91dC9zbGlkZW91dC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsaUJBQWlCLEVBQUMs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