vviinn-widgets 2.1.0 → 2.2.2
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/dist/cjs/Handler-d1a8a86a.js +329 -0
- package/dist/{vviinn-widgets/app-globals-e0943e34.js → cjs/app-globals-30781f30.js} +15 -925
- package/{www/build/cropper-handler.entry.js → dist/cjs/cropper-handler.cjs.entry.js} +11 -7
- package/dist/{vviinn-widgets/customized-slots-f3449695.js → cjs/customized-slots-5d904d8e.js} +6 -3
- package/dist/cjs/highlight-box_22.cjs.entry.js +737 -0
- package/{www/build/imageSearch.store-407f49f0.js → dist/cjs/imageSearch.store-128957a4.js} +11573 -11902
- package/dist/cjs/index-741a970d.js +1354 -0
- package/dist/cjs/index-c493804d.js +41 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +23 -0
- package/dist/cjs/vviinn-carousel_5.cjs.entry.js +1232 -0
- package/dist/{vviinn-widgets/vviinn-error.entry.js → cjs/vviinn-error.cjs.entry.js} +8 -4
- package/{www/build/vviinn-preloader.entry.js → dist/cjs/vviinn-preloader.cjs.entry.js} +11 -10
- package/dist/cjs/vviinn-vps-button.cjs.entry.js +43 -0
- package/{www/build/vviinn-vps-widget.entry.js → dist/cjs/vviinn-vps-widget.cjs.entry.js} +31 -30
- package/dist/cjs/vviinn-widgets.cjs.js +21 -0
- package/dist/collection/Image/error.js +14 -0
- package/dist/collection/Image/form.js +5 -0
- package/dist/collection/Image/fromFile.js +18 -0
- package/dist/collection/Image/imageToB64.js +9 -0
- package/dist/collection/Image/index.js +0 -0
- package/dist/collection/Image/renderPromise.js +6 -0
- package/dist/collection/Image/resizeImage.js +28 -0
- package/dist/collection/Image/sizing.js +39 -0
- package/dist/collection/Image/toFile.js +17 -0
- package/dist/collection/analytics/GAnalytics.js +32 -0
- package/dist/collection/analytics/GeneralAnalytics.js +9 -0
- package/dist/collection/analytics/GtagAnalytics.js +35 -0
- package/dist/collection/analytics/ProductAnalytics.js +1 -0
- package/dist/collection/campaign/Campaign.js +8 -0
- package/dist/collection/campaign/CampaignService.js +5 -0
- package/dist/collection/campaign/VCSCampaign.js +1 -0
- package/dist/collection/campaign/VCSCampaignResponse.js +1 -0
- package/dist/collection/campaign/VCSCampaignService.js +5 -0
- package/dist/collection/campaign/VPRCampaignResponse.js +1 -0
- package/dist/collection/campaign/VPRCampaignService.js +5 -0
- package/dist/collection/collection-manifest.json +43 -0
- package/dist/collection/components/customized-slots.js +47 -0
- package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.css +71 -0
- package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.js +25 -0
- package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.css +49 -0
- package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.js +64 -0
- package/dist/collection/components/image-search/image-view/image-cropper/image-cropper.css +33 -0
- package/dist/{vviinn-widgets/image-cropper.entry.js → collection/components/image-search/image-view/image-cropper/image-cropper.js} +54 -32
- package/dist/collection/components/image-search/search-filters/search-filters.css +120 -0
- package/dist/collection/components/image-search/search-filters/search-filters.js +102 -0
- package/dist/collection/components/vviinn-carousel/vviinn-carousel.css +138 -0
- package/{www/build/vviinn-carousel.entry.js → dist/collection/components/vviinn-carousel/vviinn-carousel.js} +115 -18
- package/dist/collection/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.css +7 -0
- package/dist/collection/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.js +36 -0
- package/dist/collection/components/vviinn-error/vviinn-error.css +38 -0
- package/dist/collection/components/vviinn-error/vviinn-error.js +18 -0
- package/dist/collection/components/vviinn-error/vviinn-server-error/vviinn-server-error.css +3 -0
- package/dist/collection/components/vviinn-error/vviinn-server-error/vviinn-server-error.js +34 -0
- package/dist/collection/components/vviinn-error/vviinn-wrong-format/vviinn-wrong-format.css +3 -0
- package/dist/collection/components/vviinn-error/vviinn-wrong-format/vviinn-wrong-format.js +34 -0
- package/dist/collection/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.css +34 -0
- package/dist/collection/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.js +129 -0
- package/dist/collection/components/vviinn-example-images/vviinn-example-images.css +19 -0
- package/dist/collection/components/vviinn-example-images/vviinn-example-images.js +80 -0
- package/dist/{vviinn-widgets/index-c9483145.js → collection/components/vviinn-icons/index.js} +13 -12
- package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.css +25 -0
- package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.js +64 -0
- package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.css +47 -0
- package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.js +83 -0
- package/dist/collection/components/vviinn-image-view/vviinn-image-view.css +31 -0
- package/dist/collection/components/vviinn-image-view/vviinn-image-view.js +61 -0
- package/dist/collection/components/vviinn-modal/vviinn-modal.css +105 -0
- package/dist/collection/components/vviinn-modal/vviinn-modal.js +98 -0
- package/dist/collection/components/vviinn-onboarding/onboarding-cards/onboarding-card.css +41 -0
- package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-1/vviinn-onboarding-card-1.js +26 -0
- package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-2/vviinn-onboarding-card-2.js +26 -0
- package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-3/vviinn-onboarding-card-3.js +26 -0
- package/dist/collection/components/vviinn-onboarding/vviinn-onboarding.css +58 -0
- package/dist/collection/components/vviinn-onboarding/vviinn-onboarding.js +28 -0
- package/dist/collection/components/vviinn-overlay/vviinn-overlay.css +33 -0
- package/dist/collection/components/vviinn-overlay/vviinn-overlay.js +15 -0
- package/dist/collection/components/vviinn-overlayed-modal/vviinn-overlayed-modal.css +29 -0
- package/dist/collection/components/vviinn-overlayed-modal/vviinn-overlayed-modal.js +71 -0
- package/dist/collection/components/vviinn-preloader/vviinn-preloader.css +37 -0
- package/dist/collection/components/vviinn-preloader/vviinn-preloader.js +20 -0
- package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.css +19 -0
- package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.js +27 -0
- package/dist/collection/components/vviinn-product-card/render-helpers.js +32 -0
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.css +95 -0
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +425 -0
- package/dist/collection/components/vviinn-slider/arrow.js +11 -0
- package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.css +4 -0
- package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.js +15 -0
- package/dist/collection/components/vviinn-slider/vviinn-slider.css +109 -0
- package/dist/collection/components/vviinn-slider/vviinn-slider.js +181 -0
- package/dist/collection/components/vviinn-teaser/vviinn-teaser.css +14 -0
- package/dist/collection/components/vviinn-teaser/vviinn-teaser.js +29 -0
- package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.css +238 -0
- package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +200 -0
- package/dist/collection/components/vviinn-vpr-button/stories/kek.stories.js +18 -0
- package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.css +35 -0
- package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +149 -0
- package/dist/collection/components/vviinn-vpr-widget/GridMode.js +1 -0
- package/dist/collection/components/vviinn-vpr-widget/token-helpers.js +11 -0
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +441 -0
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-widget.css +74 -0
- package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.css +0 -0
- package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +177 -0
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.css +350 -0
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +247 -0
- package/dist/collection/cropper/Cropper.js +1 -0
- package/dist/collection/cropper/Handler.js +61 -0
- package/dist/collection/dom/index.js +3 -0
- package/dist/collection/error.js +14 -0
- package/dist/collection/file/index.js +4 -0
- package/dist/collection/geometry/Clip.js +14 -0
- package/dist/collection/geometry/Point.js +32 -0
- package/dist/collection/geometry/Rectangle.js +95 -0
- package/dist/collection/geometry/RectangleAlt.js +1 -0
- package/dist/collection/geometry/Sized.js +8 -0
- package/dist/collection/global.js +19 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/interfaces/generated.js +5 -0
- package/dist/collection/interfaces/recommendation.js +1 -0
- package/dist/collection/network/apiClient.js +9 -0
- package/dist/collection/network/ion/File.js +14 -0
- package/dist/collection/network/ion/Form.js +64 -0
- package/dist/collection/network/ion/Link.js +8 -0
- package/dist/collection/network/ion/ValueObject.js +23 -0
- package/dist/collection/network/request.js +19 -0
- package/dist/collection/network/utils.js +37 -0
- package/dist/collection/recommendation/recommendation.js +1 -0
- package/dist/collection/searchSession/searchSession.js +26 -0
- package/dist/collection/sentry.js +14 -0
- package/dist/collection/slider/GridMode.js +1 -0
- package/dist/collection/store/file-processing.js +13 -0
- package/dist/collection/store/imageSearch.store.js +138 -0
- package/dist/collection/store/store.js +11 -0
- package/dist/collection/stories/Button.js +21 -0
- package/dist/collection/stories/Button.stories.js +42 -0
- package/dist/collection/stories/Header.js +45 -0
- package/dist/collection/stories/Header.stories.js +15 -0
- package/dist/collection/stories/Page.js +61 -0
- package/dist/collection/stories/Page.stories.js +19 -0
- package/dist/collection/stories/assets/code-brackets.svg +1 -0
- package/dist/collection/stories/assets/colors.svg +1 -0
- package/dist/collection/stories/assets/comments.svg +1 -0
- package/dist/collection/stories/assets/direction.svg +1 -0
- package/dist/collection/stories/assets/flow.svg +1 -0
- package/dist/collection/stories/assets/plugin.svg +1 -0
- package/dist/collection/stories/assets/repo.svg +1 -0
- package/dist/collection/stories/assets/stackalt.svg +1 -0
- package/dist/collection/stories/image-selector.stories.js +6 -0
- package/dist/collection/stories/image-view.stories.js +6 -0
- package/dist/collection/stories/modal.stories.js +12 -0
- package/dist/collection/stories/onboarding.stories.js +11 -0
- package/dist/collection/stories/overlay.stories.js +5 -0
- package/dist/collection/stories/overlayedModal.stories.js +8 -0
- package/dist/collection/stories/privacy-badge.stories.js +11 -0
- package/dist/collection/stories/slider.stories.js +17 -0
- package/dist/collection/stories/teaser.stories.js +5 -0
- package/dist/collection/stories/vps-widget.stories.js +47 -0
- package/dist/collection/stories/vviinn-product.stories.js +19 -0
- package/dist/collection/utils/collections/collectionsUtils.js +5 -0
- package/dist/collection/utils/either.js +3 -0
- package/dist/collection/utils/enum/enumUtils.js +3 -0
- package/dist/collection/utils/event/Events.js +1 -0
- package/dist/collection/utils/number/index.js +4 -0
- package/dist/collection/utils/option/option.js +4 -0
- package/dist/collection/utils/semigroup/semigroupDiff.js +6 -0
- package/dist/collection/utils/token/tokenUtils.js +9 -0
- package/dist/esm/Handler-639a4cb3.js +308 -0
- package/{www/build/app-globals-e0943e34.js → dist/esm/app-globals-345e497d.js} +10 -922
- package/dist/{vviinn-widgets → esm}/cropper-handler.entry.js +2 -2
- package/{www/build/customized-slots-f3449695.js → dist/esm/customized-slots-a76a8d41.js} +1 -1
- package/dist/esm/highlight-box_22.entry.js +712 -0
- package/dist/{vviinn-widgets/imageSearch.store-407f49f0.js → esm/imageSearch.store-8eab0da1.js} +11510 -11872
- package/dist/esm/index-6fa21e24.js +1323 -0
- package/{www/build/index-c9483145.js → dist/esm/index-8cb063df.js} +6 -4
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +19 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/vviinn-carousel_5.entry.js +1224 -0
- package/{www/build → dist/esm}/vviinn-error.entry.js +1 -1
- package/dist/{vviinn-widgets → esm}/vviinn-preloader.entry.js +3 -6
- package/dist/{vviinn-widgets → esm}/vviinn-vps-button.entry.js +3 -3
- package/dist/{vviinn-widgets → esm}/vviinn-vps-widget.entry.js +4 -7
- package/dist/esm/vviinn-widgets.js +19 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/loader/cdn.js +3 -0
- package/dist/loader/index.cjs.js +3 -0
- package/dist/loader/index.d.ts +12 -0
- package/dist/loader/index.es2017.js +3 -0
- package/dist/loader/index.js +4 -0
- package/dist/loader/package.json +10 -0
- package/dist/types/components/vviinn-carousel/vviinn-carousel.d.ts +1 -0
- package/dist/types/components/vviinn-icons/index.d.ts +2 -0
- package/dist/types/components/vviinn-product-card/render-helpers.d.ts +3 -2
- package/dist/types/components/vviinn-product-card/vviinn-product-card.d.ts +2 -0
- package/dist/types/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.d.ts +25 -0
- package/dist/types/components/vviinn-vpr-button/stories/kek.stories.d.ts +7 -0
- package/dist/types/components/vviinn-vpr-button/vviinn-vpr-button.d.ts +14 -0
- package/dist/types/components/vviinn-vpr-widget/vviinn-vpr-vidget.d.ts +13 -3
- package/dist/types/components.d.ts +54 -0
- package/dist/vviinn-widgets/index.esm.js +0 -1
- package/dist/vviinn-widgets/p-04b06ea9.entry.js +1 -0
- package/dist/vviinn-widgets/p-400eb62f.entry.js +1 -0
- package/dist/vviinn-widgets/p-56fc949a.js +1 -0
- package/dist/vviinn-widgets/p-59edfbe2.js +1 -0
- package/dist/vviinn-widgets/p-78ccc9eb.js +15 -0
- package/dist/vviinn-widgets/p-9d24f51e.entry.js +1 -0
- package/dist/vviinn-widgets/p-d085199d.entry.js +1 -0
- package/dist/vviinn-widgets/p-e1ba8626.js +1 -0
- package/dist/vviinn-widgets/p-e38f4aa2.entry.js +1 -0
- package/dist/vviinn-widgets/p-e67cae57.js +1 -0
- package/dist/vviinn-widgets/p-f47e82b2.entry.js +1 -0
- package/dist/vviinn-widgets/p-f582db5c.js +1 -0
- package/dist/vviinn-widgets/p-fb14e3cc.entry.js +1 -0
- package/dist/vviinn-widgets/vviinn-widgets.css +1 -6
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -125
- package/package.json +3 -1
- package/www/build/index.esm.js +0 -1
- package/www/build/p-04b06ea9.entry.js +1 -0
- package/www/build/p-400eb62f.entry.js +1 -0
- package/www/build/p-56fc949a.js +1 -0
- package/www/build/p-59edfbe2.js +1 -0
- package/www/build/p-78ccc9eb.js +15 -0
- package/www/build/p-7e4978d5.js +1 -0
- package/www/build/p-9d24f51e.entry.js +1 -0
- package/www/build/p-a67898be.css +1 -0
- package/www/build/p-d085199d.entry.js +1 -0
- package/www/build/p-e1ba8626.js +1 -0
- package/www/build/p-e38f4aa2.entry.js +1 -0
- package/www/build/p-e67cae57.js +1 -0
- package/www/build/p-f47e82b2.entry.js +1 -0
- package/www/build/p-f582db5c.js +1 -0
- package/www/build/p-fb14e3cc.entry.js +1 -0
- package/www/build/vviinn-widgets.css +1 -6
- package/www/build/vviinn-widgets.esm.js +1 -125
- package/www/index.html +6 -13
- package/dist/vviinn-widgets/Array-4b9f84cf.js +0 -4295
- package/dist/vviinn-widgets/Handler-47db9890.js +0 -1428
- package/dist/vviinn-widgets/NonEmptyArray-6ef0d207.js +0 -4370
- package/dist/vviinn-widgets/css-shim-f0027935.js +0 -4
- package/dist/vviinn-widgets/dom-db0073f0.js +0 -73
- package/dist/vviinn-widgets/highlight-box.entry.js +0 -41
- package/dist/vviinn-widgets/index-b6d739a9.js +0 -3010
- package/dist/vviinn-widgets/number-98d54dd6.js +0 -1533
- package/dist/vviinn-widgets/search-filters.entry.js +0 -73
- package/dist/vviinn-widgets/shadow-css-c1fdfa9f.js +0 -389
- package/dist/vviinn-widgets/vviinn-carousel.entry.js +0 -205
- package/dist/vviinn-widgets/vviinn-detected-object.entry.js +0 -52
- package/dist/vviinn-widgets/vviinn-empty-results.entry.js +0 -16
- package/dist/vviinn-widgets/vviinn-example-image.entry.js +0 -38
- package/dist/vviinn-widgets/vviinn-example-images.entry.js +0 -28
- package/dist/vviinn-widgets/vviinn-image-selector.entry.js +0 -31
- package/dist/vviinn-widgets/vviinn-image-view.entry.js +0 -55
- package/dist/vviinn-widgets/vviinn-modal.entry.js +0 -30
- package/dist/vviinn-widgets/vviinn-onboarding-card-1.entry.js +0 -21
- package/dist/vviinn-widgets/vviinn-onboarding-card-2.entry.js +0 -21
- package/dist/vviinn-widgets/vviinn-onboarding-card-3.entry.js +0 -21
- package/dist/vviinn-widgets/vviinn-onboarding.entry.js +0 -20
- package/dist/vviinn-widgets/vviinn-overlay.entry.js +0 -15
- package/dist/vviinn-widgets/vviinn-overlayed-modal.entry.js +0 -18
- package/dist/vviinn-widgets/vviinn-privacy-badge.entry.js +0 -20
- package/dist/vviinn-widgets/vviinn-product-card.entry.js +0 -176
- package/dist/vviinn-widgets/vviinn-server-error.entry.js +0 -16
- package/dist/vviinn-widgets/vviinn-slide.entry.js +0 -15
- package/dist/vviinn-widgets/vviinn-slider.entry.js +0 -120
- package/dist/vviinn-widgets/vviinn-teaser.entry.js +0 -20
- package/dist/vviinn-widgets/vviinn-vpr-widget.entry.js +0 -128
- package/dist/vviinn-widgets/vviinn-wrong-format.entry.js +0 -16
- package/www/build/Array-4b9f84cf.js +0 -4295
- package/www/build/Handler-47db9890.js +0 -1428
- package/www/build/NonEmptyArray-6ef0d207.js +0 -4370
- package/www/build/css-shim-f0027935.js +0 -4
- package/www/build/dom-db0073f0.js +0 -73
- package/www/build/highlight-box.entry.js +0 -41
- package/www/build/image-cropper.entry.js +0 -113
- package/www/build/index-b6d739a9.js +0 -3010
- package/www/build/number-98d54dd6.js +0 -1533
- package/www/build/search-filters.entry.js +0 -73
- package/www/build/shadow-css-c1fdfa9f.js +0 -389
- package/www/build/vviinn-detected-object.entry.js +0 -52
- package/www/build/vviinn-empty-results.entry.js +0 -16
- package/www/build/vviinn-example-image.entry.js +0 -38
- package/www/build/vviinn-example-images.entry.js +0 -28
- package/www/build/vviinn-image-selector.entry.js +0 -31
- package/www/build/vviinn-image-view.entry.js +0 -55
- package/www/build/vviinn-modal.entry.js +0 -30
- package/www/build/vviinn-onboarding-card-1.entry.js +0 -21
- package/www/build/vviinn-onboarding-card-2.entry.js +0 -21
- package/www/build/vviinn-onboarding-card-3.entry.js +0 -21
- package/www/build/vviinn-onboarding.entry.js +0 -20
- package/www/build/vviinn-overlay.entry.js +0 -15
- package/www/build/vviinn-overlayed-modal.entry.js +0 -18
- package/www/build/vviinn-privacy-badge.entry.js +0 -20
- package/www/build/vviinn-product-card.entry.js +0 -176
- package/www/build/vviinn-server-error.entry.js +0 -16
- package/www/build/vviinn-slide.entry.js +0 -15
- package/www/build/vviinn-slider.entry.js +0 -120
- package/www/build/vviinn-teaser.entry.js +0 -20
- package/www/build/vviinn-vpr-widget.entry.js +0 -128
- package/www/build/vviinn-vps-button.entry.js +0 -39
- package/www/build/vviinn-wrong-format.entry.js +0 -16
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, e as Host } from './index-b6d739a9.js';
|
|
2
|
-
import { _ as _function } from './NonEmptyArray-6ef0d207.js';
|
|
3
|
-
import { O as Option } from './number-98d54dd6.js';
|
|
4
|
-
import { i as imageSearchState, o as fromAlt, q as foldValueObject, r as scaleWithSized, u as center, n as makeRectangularSearchRequest, v as detectedObjectEq } from './imageSearch.store-407f49f0.js';
|
|
5
|
-
import './Handler-47db9890.js';
|
|
6
|
-
import './Array-4b9f84cf.js';
|
|
7
|
-
|
|
8
|
-
const vviinnDetectedObjectCss = ":host{--color-primary-system:#0F62FE;--color-primary-hover-system:#014CDA;--color-icons-system:#2F8EDF;--spacer:8px}:host{--size:32px;--x-position:0;--y-position:0;background:rgba(22, 22, 22, 0.5);border-radius:50%;border:none;cursor:pointer;display:block;height:var(--size);position:absolute;transition:opacity 0.25s;width:var(--size);z-index:2;transform:translate(calc(var(--x-position) - (var(--size) * 0.5)), calc(var(--y-position) - (var(--size) * 0.5)));transition:background 0.1 ease-in-out}:host(:hover){background:rgba(22, 22, 22, 0.75)}:host(.active){background:var(--color-primary, var(--color-primary-system))!important;border:2px solid white}:host::after{--size:32px;border-radius:50%;content:\"\";cursor:pointer;display:block;height:calc(var(--size) * 0.25);transform:translate(calc(-50% + var(--size) * 0.5), calc(-50% + var(--size) * 0.5));width:calc(var(--size) * 0.25);background:white}";
|
|
9
|
-
|
|
10
|
-
let VviinnDetectedObject = class {
|
|
11
|
-
constructor(hostRef) {
|
|
12
|
-
registerInstance(this, hostRef);
|
|
13
|
-
this.position = ["0", "0"];
|
|
14
|
-
}
|
|
15
|
-
getObjectPosition() {
|
|
16
|
-
return _function.pipe(imageSearchState.imageBounds, Option.map((bounds) => {
|
|
17
|
-
const objectRectangle = fromAlt(foldValueObject(this.detectedObject).rectangle);
|
|
18
|
-
const { x, y } = _function.pipe(objectRectangle, scaleWithSized(bounds), center);
|
|
19
|
-
return [`${x}px`, `${y}px`];
|
|
20
|
-
}), Option.getOrElse(() => ["0", "0"]));
|
|
21
|
-
}
|
|
22
|
-
selectDetectedObject() {
|
|
23
|
-
_function.pipe(imageSearchState.imageBounds, Option.map((bounds) => {
|
|
24
|
-
const rectangle = foldValueObject(this.detectedObject).rectangle;
|
|
25
|
-
const transformedRect = fromAlt(rectangle);
|
|
26
|
-
const scaledRect = scaleWithSized(bounds)(transformedRect);
|
|
27
|
-
imageSearchState.detectedObject = this.detectedObject;
|
|
28
|
-
imageSearchState.searchArea = Option.some(scaledRect);
|
|
29
|
-
}));
|
|
30
|
-
makeRectangularSearchRequest();
|
|
31
|
-
}
|
|
32
|
-
isActive() {
|
|
33
|
-
if (!this.detectedObject)
|
|
34
|
-
return false;
|
|
35
|
-
if (!imageSearchState.detectedObject)
|
|
36
|
-
return false;
|
|
37
|
-
const thisObject = foldValueObject(this.detectedObject);
|
|
38
|
-
const savedObject = foldValueObject(imageSearchState.detectedObject);
|
|
39
|
-
return detectedObjectEq.equals(thisObject, savedObject);
|
|
40
|
-
}
|
|
41
|
-
render() {
|
|
42
|
-
return (h(Host, { class: {
|
|
43
|
-
active: this.isActive(),
|
|
44
|
-
}, onClick: () => this.selectDetectedObject(), style: {
|
|
45
|
-
"--x-position": this.getObjectPosition()[0],
|
|
46
|
-
"--y-position": this.getObjectPosition()[1],
|
|
47
|
-
} }));
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
VviinnDetectedObject.style = vviinnDetectedObjectCss;
|
|
51
|
-
|
|
52
|
-
export { VviinnDetectedObject as vviinn_detected_object };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, j as createEvent, h, e as Host } from './index-b6d739a9.js';
|
|
2
|
-
|
|
3
|
-
const vviinnEmptyResultsCss = ":host{display:grid}vviinn-error{justify-items:center}";
|
|
4
|
-
|
|
5
|
-
let VviinnEmptyResults = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.actionClick = createEvent(this, "actionClick", 7);
|
|
9
|
-
}
|
|
10
|
-
render() {
|
|
11
|
-
return (h(Host, null, h("vviinn-error", null, h("svg", { slot: "icon", class: "icon", width: "32", height: "32", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M16 2a14 14 0 1 0 0 28 14 14 0 0 0 0-28Zm0 26a12 12 0 1 1 0-24 12 12 0 0 1 0 24Z", fill: "#525252" }), h("path", { d: "M17 8h-2v11h2V8Zm-1 14a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z", fill: "#525252" })), h("h4", { slot: "title" }, "Leider nichts gefunden"), h("span", { slot: "text" }, "Leider konnten wir keine passenden Produkte finden. Bitte versuche es mit einem anderen Bildausschnitt noch einmal."))));
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
VviinnEmptyResults.style = vviinnEmptyResultsCss;
|
|
15
|
-
|
|
16
|
-
export { VviinnEmptyResults as vviinn_empty_results };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, j as createEvent, h, e as Host } from './index-b6d739a9.js';
|
|
2
|
-
import { _ as _function } from './NonEmptyArray-6ef0d207.js';
|
|
3
|
-
import { w as toFile, p as processSelectedFile, E as Either, i as imageSearchState } from './imageSearch.store-407f49f0.js';
|
|
4
|
-
import './number-98d54dd6.js';
|
|
5
|
-
import './Handler-47db9890.js';
|
|
6
|
-
import './Array-4b9f84cf.js';
|
|
7
|
-
|
|
8
|
-
const vviinnExampleImageCss = ":host{display:block;margin-bottom:8px;position:relative}img{width:100%;height:auto;cursor:pointer}.image-preloader{background:rgba(0, 0, 0, 0.25);border-radius:4px;bottom:12px;display:none;padding:4px 6px;pointer-events:none;position:absolute;right:12px;z-index:4}vviinn-preloader{--preloader-size:12px}@media (max-width: 640px){.image-preloader{display:block}}";
|
|
9
|
-
|
|
10
|
-
let VviinnExampleImage = class {
|
|
11
|
-
constructor(hostRef) {
|
|
12
|
-
registerInstance(this, hostRef);
|
|
13
|
-
this.exampleImageSelected = createEvent(this, "exampleImageSelected", 7);
|
|
14
|
-
this.exampleImageError = createEvent(this, "exampleImageError", 7);
|
|
15
|
-
this.src = "";
|
|
16
|
-
this.width = 0;
|
|
17
|
-
this.height = 0;
|
|
18
|
-
this.selected = false;
|
|
19
|
-
}
|
|
20
|
-
async selectImage(_event) {
|
|
21
|
-
this.selected = true;
|
|
22
|
-
const file = await toFile(this.src);
|
|
23
|
-
const processResult = await processSelectedFile(file);
|
|
24
|
-
_function.pipe(processResult, Either.match(() => this.exampleImageError.emit(), () => this.exampleImageSelected.emit()));
|
|
25
|
-
this.selected = false;
|
|
26
|
-
}
|
|
27
|
-
showPreloader() {
|
|
28
|
-
return ((imageSearchState.objectDetectionInProgress ||
|
|
29
|
-
imageSearchState.loading) &&
|
|
30
|
-
this.selected);
|
|
31
|
-
}
|
|
32
|
-
render() {
|
|
33
|
-
return (h(Host, null, this.showPreloader() ? (h("div", { class: "image-preloader" }, h("vviinn-preloader", null))) : null, h("img", { onClick: (ev) => this.selectImage(ev), src: this.src, width: this.width, height: this.height })));
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
VviinnExampleImage.style = vviinnExampleImageCss;
|
|
37
|
-
|
|
38
|
-
export { VviinnExampleImage as vviinn_example_image };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, j as createEvent, h, e as Host, g as getElement } from './index-b6d739a9.js';
|
|
2
|
-
import { s as slotChangeListener } from './customized-slots-f3449695.js';
|
|
3
|
-
|
|
4
|
-
const vviinnExampleImagesCss = "h3{font-size:22px;font-weight:600;line-height:32px;margin:0;margin-bottom:16px;text-align:center}.images{display:block;-moz-column-count:2;column-count:2;-moz-column-gap:16px;column-gap:16px}";
|
|
5
|
-
|
|
6
|
-
let VviinnExampleImages = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.imageSelected = createEvent(this, "imageSelected", 7);
|
|
10
|
-
this.imageSelectedError = createEvent(this, "imageSelectedError", 7);
|
|
11
|
-
}
|
|
12
|
-
handleImageSelection() {
|
|
13
|
-
this.imageSelected.emit();
|
|
14
|
-
}
|
|
15
|
-
handleImageSelectionError() {
|
|
16
|
-
this.imageSelectedError.emit();
|
|
17
|
-
}
|
|
18
|
-
componentWillLoad() {
|
|
19
|
-
slotChangeListener(this, this.el);
|
|
20
|
-
}
|
|
21
|
-
render() {
|
|
22
|
-
return (h(Host, null, h("slot", { name: "vviinn-example-images-title" }, h("h3", null, "Mit den Beispielbildern die Suche direkt ausprobieren")), h("div", { class: "images" }, h("slot", { name: "vviinn-example-images-1" }, h("vviinn-example-image", { width: 240, height: 320, src: "https://cdn.vviinn.com/0/fit/240/0/ce/0/Z3M6Ly9haWFhcy1pbWdwcm94eS9leGFtcGxlcy9pbWctaW5zcGlyYXRpb24tMDEtTC5qcGc=" })), h("slot", { name: "vviinn-example-images-2" }, h("vviinn-example-image", { width: 240, height: 240, src: "https://cdn.vviinn.com/0/fit/240/0/ce/0/Z3M6Ly9haWFhcy1pbWdwcm94eS9leGFtcGxlcy9pbWctaW5zcGlyYXRpb24tMDItTS5qcGc=" })), h("slot", { name: "vviinn-example-images-3" }, h("vviinn-example-image", { width: 240, height: 240, src: "https://cdn.vviinn.com/0/fit/240/0/ce/0/Z3M6Ly9haWFhcy1pbWdwcm94eS9leGFtcGxlcy9pbWctaW5zcGlyYXRpb24tMDMtTS5qcGc=" })), h("slot", { name: "vviinn-example-images-4" }, h("vviinn-example-image", { width: 240, height: 320, src: "https://cdn.vviinn.com/0/fit/240/0/ce/0/Z3M6Ly9haWFhcy1pbWdwcm94eS9leGFtcGxlcy9pbWctaW5zcGlyYXRpb24tMDQtTC5qcGc=" })))));
|
|
23
|
-
}
|
|
24
|
-
get el() { return getElement(this); }
|
|
25
|
-
};
|
|
26
|
-
VviinnExampleImages.style = vviinnExampleImagesCss;
|
|
27
|
-
|
|
28
|
-
export { VviinnExampleImages as vviinn_example_images };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, j as createEvent, h, e as Host } from './index-b6d739a9.js';
|
|
2
|
-
import { p as processSelectedFile, e as match, i as imageSearchState } from './imageSearch.store-407f49f0.js';
|
|
3
|
-
import { _ as _function } from './NonEmptyArray-6ef0d207.js';
|
|
4
|
-
import './number-98d54dd6.js';
|
|
5
|
-
import './Handler-47db9890.js';
|
|
6
|
-
import './Array-4b9f84cf.js';
|
|
7
|
-
|
|
8
|
-
const vviinnImageSelectorCss = ":host{display:block}:host(::hover){background:whitesmoke}.visually-hidden{clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}label{cursor:pointer;display:grid;padding:0.5rem;transition:background 0.1s ease-in-out}";
|
|
9
|
-
|
|
10
|
-
let VviinnImageSelector = class {
|
|
11
|
-
constructor(hostRef) {
|
|
12
|
-
registerInstance(this, hostRef);
|
|
13
|
-
this.imageSelected = createEvent(this, "imageSelected", 7);
|
|
14
|
-
this.imageSelectedError = createEvent(this, "imageSelectedError", 7);
|
|
15
|
-
}
|
|
16
|
-
async handleInputChange(event) {
|
|
17
|
-
const input = event.target;
|
|
18
|
-
const processingResult = await processSelectedFile(input.files[0]);
|
|
19
|
-
_function.pipe(processingResult, match(() => this.imageSelectedError.emit(), () => this.imageSelected.emit()));
|
|
20
|
-
input.value = null;
|
|
21
|
-
}
|
|
22
|
-
isLoading() {
|
|
23
|
-
return (imageSearchState.loading || imageSearchState.objectDetectionInProgress);
|
|
24
|
-
}
|
|
25
|
-
render() {
|
|
26
|
-
return (h(Host, { exportparts: "button" }, this.isLoading() ? h("vviinn-preloader", null) : null, this.isLoading() ? null : (h("label", { htmlFor: "fileInput", part: "button" }, h("slot", { name: "upload-button-text" }, "Upload image"))), h("input", { id: "fileInput", class: "visually-hidden", type: "file", accept: "image/*", onChange: (event) => this.handleInputChange(event) })));
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
VviinnImageSelector.style = vviinnImageSelectorCss;
|
|
30
|
-
|
|
31
|
-
export { VviinnImageSelector as vviinn_image_selector };
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, e as Host } from './index-b6d739a9.js';
|
|
2
|
-
import { h as dimensionsFromImage, j as scaleByLargestSide, k as fromImage, l as move, i as imageSearchState } from './imageSearch.store-407f49f0.js';
|
|
3
|
-
import { _ as _function } from './NonEmptyArray-6ef0d207.js';
|
|
4
|
-
import { O as Option, s as sequenceToOption } from './number-98d54dd6.js';
|
|
5
|
-
import './Handler-47db9890.js';
|
|
6
|
-
import './Array-4b9f84cf.js';
|
|
7
|
-
|
|
8
|
-
const vviinnImageViewCss = ":host{display:grid;position:relative;justify-self:center}img{box-sizing:border-box;filter:brightness(60%);position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:-1}.image-preloader{background:rgba(0, 0, 0, 0.25);border-radius:4px;bottom:18px;padding:4px 6px;pointer-events:none;position:absolute;right:18px;z-index:4}vviinn-preloader{--preloader-size:12px}";
|
|
9
|
-
|
|
10
|
-
const getImageSizes = (i) => {
|
|
11
|
-
const dimensions = dimensionsFromImage(i);
|
|
12
|
-
const resize = scaleByLargestSide(288);
|
|
13
|
-
const newDimensions = resize(dimensions);
|
|
14
|
-
const sizes = newDimensions.map(d => d.size);
|
|
15
|
-
return [sizes[0], sizes[1]];
|
|
16
|
-
};
|
|
17
|
-
let VviinnImageView = class {
|
|
18
|
-
constructor(hostRef) {
|
|
19
|
-
registerInstance(this, hostRef);
|
|
20
|
-
}
|
|
21
|
-
handleInitialImageLoad(ev) {
|
|
22
|
-
const target = ev.target;
|
|
23
|
-
const imageBounds = fromImage(target);
|
|
24
|
-
const padding = 12;
|
|
25
|
-
const { x, y } = move(imageBounds, { x: padding, y: padding });
|
|
26
|
-
const searchArea = {
|
|
27
|
-
x,
|
|
28
|
-
y,
|
|
29
|
-
width: imageBounds.width - padding * 2,
|
|
30
|
-
height: imageBounds.height - padding * 2,
|
|
31
|
-
};
|
|
32
|
-
imageSearchState.imageBounds = Option.some(imageBounds);
|
|
33
|
-
imageSearchState.searchArea = Option.some(searchArea);
|
|
34
|
-
}
|
|
35
|
-
renderDetectedObject(object) {
|
|
36
|
-
return h("vviinn-detected-object", { detectedObject: object });
|
|
37
|
-
}
|
|
38
|
-
renderImage() {
|
|
39
|
-
return _function.pipe(sequenceToOption(imageSearchState.imageUrl, imageSearchState.image), Option.map(([url, refImage]) => {
|
|
40
|
-
const [width, height] = getImageSizes(refImage);
|
|
41
|
-
const image = (h("img", { decoding: "async", width: width, height: height, src: url, onLoad: (el) => this.handleInitialImageLoad(el), draggable: false }));
|
|
42
|
-
return image;
|
|
43
|
-
}), Option.getOrElse(() => null));
|
|
44
|
-
}
|
|
45
|
-
renderCropper() {
|
|
46
|
-
return _function.pipe(imageSearchState.imageUrl, Option.map(() => h("image-cropper", null)), Option.getOrElse(() => null));
|
|
47
|
-
}
|
|
48
|
-
render() {
|
|
49
|
-
return (h(Host, null, imageSearchState.loading ||
|
|
50
|
-
imageSearchState.objectDetectionInProgress ? (h("div", { class: "image-preloader" }, h("vviinn-preloader", null))) : null, h("highlight-box", null), this.renderImage(), this.renderCropper(), imageSearchState.detectedObjects.map((o) => this.renderDetectedObject(o))));
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
VviinnImageView.style = vviinnImageViewCss;
|
|
54
|
-
|
|
55
|
-
export { VviinnImageView as vviinn_image_view };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, j as createEvent, h, e as Host } from './index-b6d739a9.js';
|
|
2
|
-
|
|
3
|
-
const vviinnModalCss = ":host{background:white;border-radius:4px;box-sizing:border-box;display:grid;grid-template-rows:-webkit-min-content auto;grid-template-rows:min-content auto;max-width:960px}@media (max-width: 415px){:host{-webkit-animation-name:fade-in;animation-name:fade-in;-webkit-animation-duration:0.5s;animation-duration:0.5s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}:host(.closed){-webkit-animation-name:fade-out;animation-name:fade-out;-webkit-animation-fill-mode:none;animation-fill-mode:none}.body{overflow-y:auto}}@media (max-width: 640px) and (min-width: 415px){:host{max-width:80%}}.head{align-items:center;border-bottom:1px solid #F4F4F4;display:grid;grid-gap:16px;grid-template-columns:-webkit-min-content auto -webkit-min-content;grid-template-columns:min-content auto min-content;justify-items:center;padding:16px}.title{font-weight:600;font-size:18px;line-height:24px}button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;cursor:pointer;display:grid;padding:unset}@-webkit-keyframes fade-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes fade-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@-webkit-keyframes fade-out{from{transform:translateY(0)}to{transform:translateY(100%)}}@keyframes fade-out{from{transform:translateY(0)}to{transform:translateY(100%)}}";
|
|
4
|
-
|
|
5
|
-
let VviinnModal = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.modalClosed = createEvent(this, "modalClosed", 7);
|
|
9
|
-
this.secondaryActionClicked = createEvent(this, "secondaryActionClicked", 7);
|
|
10
|
-
this.active = false;
|
|
11
|
-
this.slider = false;
|
|
12
|
-
}
|
|
13
|
-
close() {
|
|
14
|
-
this.active = false;
|
|
15
|
-
setTimeout(() => {
|
|
16
|
-
this.modalClosed.emit();
|
|
17
|
-
}, this.slider ? 500 : 0);
|
|
18
|
-
}
|
|
19
|
-
handleAnimationEnd(ev) {
|
|
20
|
-
if (ev.animationName !== "fade-in")
|
|
21
|
-
return;
|
|
22
|
-
this.slider = true;
|
|
23
|
-
}
|
|
24
|
-
render() {
|
|
25
|
-
return (h(Host, { exportparts: "secondary-action, title, close-button", class: { closed: !this.active }, onAnimationEnd: (ev) => this.handleAnimationEnd(ev) }, h("div", { class: "head" }, h("button", { part: "secondary-action", onClick: () => this.secondaryActionClicked.emit() }, h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M20.25 12H3.75", stroke: "#161616", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { d: "M10.5 5.25L3.75 12L10.5 18.75", stroke: "#161616", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("div", { class: "title", part: "title" }, "Bildsuche"), h("button", { onClick: () => this.close(), class: "close-button", part: "close-button" }, h("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z", fill: "#333333" })))), h("div", { class: "body" }, h("slot", null))));
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
VviinnModal.style = vviinnModalCss;
|
|
29
|
-
|
|
30
|
-
export { VviinnModal as vviinn_modal };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, e as Host, g as getElement } from './index-b6d739a9.js';
|
|
2
|
-
import { s as slotChangeListener } from './customized-slots-f3449695.js';
|
|
3
|
-
import { O as OnboardingCard1Icon } from './index-c9483145.js';
|
|
4
|
-
|
|
5
|
-
const onboardingCardCss = ":host{align-items:center;background:#f4f4f4;display:grid;grid-template-rows:repeat(2, 1fr);justify-items:center;padding:24px;width:100%}h4{color:#161616;font-size:18px;font-weight:600;line-height:24px;margin:unset;text-align:center}svg{padding:16px 0}p{color:#525252;font-size:14px;font-style:normal;font-weight:normal;line-height:20px;margin:unset;text-align:center}.colored{fill:var(--color-icons, var(--color-icons-system))}.text{display:grid;grid-gap:8px}";
|
|
6
|
-
|
|
7
|
-
let VviinnOnboardingCard1 = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
}
|
|
11
|
-
componentWillLoad() {
|
|
12
|
-
slotChangeListener(this, this.el);
|
|
13
|
-
}
|
|
14
|
-
render() {
|
|
15
|
-
return (h(Host, null, h("slot", { name: "onboarding-card-1-icon" }, h(OnboardingCard1Icon, null)), h("slot", { name: "onboarding-card-1-text" }, h("div", { class: "text" }, h("h4", null, "Starte die Bildsuche"), h("p", null, "Lade ein Bild aus Deiner Galerie hoch oder fotografiere ein Produkt mit Deiner Kamera.")))));
|
|
16
|
-
}
|
|
17
|
-
get el() { return getElement(this); }
|
|
18
|
-
};
|
|
19
|
-
VviinnOnboardingCard1.style = onboardingCardCss;
|
|
20
|
-
|
|
21
|
-
export { VviinnOnboardingCard1 as vviinn_onboarding_card_1 };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, e as Host, g as getElement } from './index-b6d739a9.js';
|
|
2
|
-
import { c as OnboardingCard2Icon } from './index-c9483145.js';
|
|
3
|
-
import { s as slotChangeListener } from './customized-slots-f3449695.js';
|
|
4
|
-
|
|
5
|
-
const onboardingCardCss = ":host{align-items:center;background:#f4f4f4;display:grid;grid-template-rows:repeat(2, 1fr);justify-items:center;padding:24px;width:100%}h4{color:#161616;font-size:18px;font-weight:600;line-height:24px;margin:unset;text-align:center}svg{padding:16px 0}p{color:#525252;font-size:14px;font-style:normal;font-weight:normal;line-height:20px;margin:unset;text-align:center}.colored{fill:var(--color-icons, var(--color-icons-system))}.text{display:grid;grid-gap:8px}";
|
|
6
|
-
|
|
7
|
-
let VviinnOnboardingCard2 = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
}
|
|
11
|
-
componentWillLoad() {
|
|
12
|
-
slotChangeListener(this, this.el);
|
|
13
|
-
}
|
|
14
|
-
render() {
|
|
15
|
-
return (h(Host, null, h("slot", { name: "onboarding-card-2-icon" }, h(OnboardingCard2Icon, null)), h("slot", { name: "onboarding-card-2-text" }, h("div", { class: "text" }, h("h4", null, "Verfeiner deine Suche"), h("p", null, "Du kannst den Bildrahmen selber festlegen und so die Produkte genau ausw\u00E4hlen.")))));
|
|
16
|
-
}
|
|
17
|
-
get el() { return getElement(this); }
|
|
18
|
-
};
|
|
19
|
-
VviinnOnboardingCard2.style = onboardingCardCss;
|
|
20
|
-
|
|
21
|
-
export { VviinnOnboardingCard2 as vviinn_onboarding_card_2 };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, e as Host, g as getElement } from './index-b6d739a9.js';
|
|
2
|
-
import { d as OnboardingCard3Icon } from './index-c9483145.js';
|
|
3
|
-
import { s as slotChangeListener } from './customized-slots-f3449695.js';
|
|
4
|
-
|
|
5
|
-
const onboardingCardCss = ":host{align-items:center;background:#f4f4f4;display:grid;grid-template-rows:repeat(2, 1fr);justify-items:center;padding:24px;width:100%}h4{color:#161616;font-size:18px;font-weight:600;line-height:24px;margin:unset;text-align:center}svg{padding:16px 0}p{color:#525252;font-size:14px;font-style:normal;font-weight:normal;line-height:20px;margin:unset;text-align:center}.colored{fill:var(--color-icons, var(--color-icons-system))}.text{display:grid;grid-gap:8px}";
|
|
6
|
-
|
|
7
|
-
let VviinnOnboardingCard3 = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
}
|
|
11
|
-
componentWillLoad() {
|
|
12
|
-
slotChangeListener(this, this.el);
|
|
13
|
-
}
|
|
14
|
-
render() {
|
|
15
|
-
return (h(Host, null, h("slot", { name: "onboarding-card-3-icon" }, h(OnboardingCard3Icon, null)), h("slot", { name: "onboarding-card-3-text" }, h("div", { class: "text" }, h("h4", null, "Ohne Hintergrund"), h("p", null, "Die besten Ergebnisse erh\u00E4ltst Du, wenn das gesuchte Objekt mit einfarbigem und hellem Hintergrund zu sehen ist.")))));
|
|
16
|
-
}
|
|
17
|
-
get el() { return getElement(this); }
|
|
18
|
-
};
|
|
19
|
-
VviinnOnboardingCard3.style = onboardingCardCss;
|
|
20
|
-
|
|
21
|
-
export { VviinnOnboardingCard3 as vviinn_onboarding_card_3 };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, e as Host, g as getElement } from './index-b6d739a9.js';
|
|
2
|
-
import { s as slotChangeListener } from './customized-slots-f3449695.js';
|
|
3
|
-
|
|
4
|
-
const vviinnOnboardingCss = ":host{--color-primary-system:#0F62FE;--color-primary-hover-system:#014CDA;--color-icons-system:#2F8EDF;--spacer:8px}::host{display:block}h3{font-size:22px;font-weight:600;line-height:32px;margin:0;margin-bottom:16px;text-align:center}vviinn-slide{background:#f4f4f4;padding:24px}svg{padding:16px 0}.text{display:grid;grid-gap:8px}.text>h4{color:#161616;font-size:18px;font-weight:600;line-height:24px;margin:unset;text-align:center}.text>p{color:#525252;font-size:14px;font-style:normal;font-weight:normal;line-height:20px;margin:unset;text-align:center}.colored{fill:var(--color-icons, var(--color-icons-system))}";
|
|
5
|
-
|
|
6
|
-
let VviinnOnboarding = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
}
|
|
10
|
-
componentWillLoad() {
|
|
11
|
-
slotChangeListener(this, this.el);
|
|
12
|
-
}
|
|
13
|
-
render() {
|
|
14
|
-
return (h(Host, null, h("slot", { name: "vviinn-onboarding-title" }, h("h3", null, "So funktioniert es")), h("vviinn-slider", { showArrows: true }, h("vviinn-slide", null, h("vviinn-onboarding-card-1", null)), h("vviinn-slide", null, h("vviinn-onboarding-card-2", null)), h("vviinn-slide", null, h("vviinn-onboarding-card-3", null)))));
|
|
15
|
-
}
|
|
16
|
-
get el() { return getElement(this); }
|
|
17
|
-
};
|
|
18
|
-
VviinnOnboarding.style = vviinnOnboardingCss;
|
|
19
|
-
|
|
20
|
-
export { VviinnOnboarding as vviinn_onboarding };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, e as Host } from './index-b6d739a9.js';
|
|
2
|
-
|
|
3
|
-
const vviinnOverlayCss = ":host{-webkit-animation:fade-in 0.5s ease-in-out;animation:fade-in 0.5s ease-in-out;background:rgba(0, 0, 0, 0.5);display:block;height:100vh;left:0;overflow:hidden;position:fixed;top:0;width:100vw;z-index:9999}@-webkit-keyframes fade-in{from{opacity:0.1}to{opacity:1}}@keyframes fade-in{from{opacity:0.1}to{opacity:1}}";
|
|
4
|
-
|
|
5
|
-
let VviinnOverlay = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
}
|
|
9
|
-
render() {
|
|
10
|
-
return (h(Host, null, h("slot", null)));
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
VviinnOverlay.style = vviinnOverlayCss;
|
|
14
|
-
|
|
15
|
-
export { VviinnOverlay as vviinn_overlay };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, j as createEvent, h, e as Host } from './index-b6d739a9.js';
|
|
2
|
-
|
|
3
|
-
const vviinnOverlayedModalCss = ":host{display:none}:host(.active){display:block}vviinn-overlay{align-items:center;display:grid;justify-items:center}@media (max-width: 415px){vviinn-modal{border-radius:4px 4px 0 0;height:100vh;margin-top:32px;transform:translateY(100%);width:100vw}vviinn-overlay{align-items:end;display:grid;justify-items:center}}";
|
|
4
|
-
|
|
5
|
-
let VviinnOverlayedModal = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.secondaryActionClicked = createEvent(this, "secondaryActionClicked", 7);
|
|
9
|
-
this.modalClosed = createEvent(this, "modalClosed", 7);
|
|
10
|
-
this.active = false;
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return (h(Host, { class: { active: this.active } }, h("vviinn-overlay", null, h("vviinn-modal", { onSecondaryActionClicked: () => this.secondaryActionClicked.emit(), active: this.active }, h("slot", null, "CONTENT")))));
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
VviinnOverlayedModal.style = vviinnOverlayedModalCss;
|
|
17
|
-
|
|
18
|
-
export { VviinnOverlayedModal as vviinn_overlayed_modal };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, e as Host, g as getElement } from './index-b6d739a9.js';
|
|
2
|
-
import { s as slotChangeListener } from './customized-slots-f3449695.js';
|
|
3
|
-
|
|
4
|
-
const vviinnPrivacyBadgeCss = ":host{display:block;background:#F4F4F4;padding:17px}.content{display:grid;grid-template-columns:-webkit-min-content auto;grid-template-columns:min-content auto;grid-gap:9px}.content p{color:#525252;font-size:12px;line-height:16px;margin:unset}";
|
|
5
|
-
|
|
6
|
-
let VviinnPrivacyBadge = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
}
|
|
10
|
-
componentWillLoad() {
|
|
11
|
-
slotChangeListener(this, this.el);
|
|
12
|
-
}
|
|
13
|
-
render() {
|
|
14
|
-
return (h(Host, null, h("slot", null, h("div", { class: "content" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" }, h("defs", null), h("path", { fill: "#525252", d: "M8.5 11V7h-2v1h1v3H6v1h4v-1H8.5zM8 4a.75.75 0 100 1.5A.75.75 0 008 4z" }), h("path", { fill: "#525252", d: "M8 15A7 7 0 118 1a7 7 0 010 14zM8 2a6 6 0 100 12A6 6 0 008 2z" })), h("slot", { name: "vviinn-privacy-badge-text" }, h("p", null, "Wir gehen sorgf\u00E4ltig mit Deinen Daten um. Deine Bilder werden nur zum Zweck der Bildsuche gespeichert."))))));
|
|
15
|
-
}
|
|
16
|
-
get el() { return getElement(this); }
|
|
17
|
-
};
|
|
18
|
-
VviinnPrivacyBadge.style = vviinnPrivacyBadgeCss;
|
|
19
|
-
|
|
20
|
-
export { VviinnPrivacyBadge as vviinn_privacy_badge };
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
import { h, r as registerInstance, j as createEvent, e as Host, g as getElement } from './index-b6d739a9.js';
|
|
2
|
-
import { _ as _function, d as Semigroup } from './NonEmptyArray-6ef0d207.js';
|
|
3
|
-
import { O as Option } from './number-98d54dd6.js';
|
|
4
|
-
import { E as Either, i as imageSearchState, x as state } from './imageSearch.store-407f49f0.js';
|
|
5
|
-
import './Handler-47db9890.js';
|
|
6
|
-
import './Array-4b9f84cf.js';
|
|
7
|
-
|
|
8
|
-
class GtagAnalytics {
|
|
9
|
-
sendImpression(product) {
|
|
10
|
-
var _a, _b, _c;
|
|
11
|
-
gtag('event', 'view_item_list', {
|
|
12
|
-
items: [
|
|
13
|
-
{
|
|
14
|
-
id: product.productId,
|
|
15
|
-
name: product.title,
|
|
16
|
-
brand: (_a = product.brand) !== null && _a !== void 0 ? _a : '',
|
|
17
|
-
category: (_b = product.productType) !== null && _b !== void 0 ? _b : '',
|
|
18
|
-
list_name: 'VI VPR View',
|
|
19
|
-
price: Math.min(...[product.price.actual, (_c = product.price.sale) !== null && _c !== void 0 ? _c : Infinity])
|
|
20
|
-
}
|
|
21
|
-
]
|
|
22
|
-
});
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
25
|
-
sendClick(product) {
|
|
26
|
-
var _a, _b, _c;
|
|
27
|
-
gtag('event', 'select_content', {
|
|
28
|
-
content_type: 'product',
|
|
29
|
-
items: [
|
|
30
|
-
{
|
|
31
|
-
id: product.productId,
|
|
32
|
-
name: product.title,
|
|
33
|
-
brand: (_a = product.brand) !== null && _a !== void 0 ? _a : '',
|
|
34
|
-
category: (_b = product.productType) !== null && _b !== void 0 ? _b : '',
|
|
35
|
-
list_name: 'VI VPR View',
|
|
36
|
-
price: Math.min(...[product.price.actual, (_c = product.price.sale) !== null && _c !== void 0 ? _c : Infinity])
|
|
37
|
-
}
|
|
38
|
-
]
|
|
39
|
-
});
|
|
40
|
-
return undefined;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
class GAnalytics {
|
|
45
|
-
constructor() {
|
|
46
|
-
ga('require', 'ec');
|
|
47
|
-
}
|
|
48
|
-
convertProduct(product) {
|
|
49
|
-
var _a, _b, _c;
|
|
50
|
-
return {
|
|
51
|
-
id: product.productId,
|
|
52
|
-
name: product.title,
|
|
53
|
-
brand: (_a = product.brand) !== null && _a !== void 0 ? _a : '',
|
|
54
|
-
category: (_b = product.productType) !== null && _b !== void 0 ? _b : '',
|
|
55
|
-
list: 'VI VPR View',
|
|
56
|
-
price: Math.min(...[product.price.actual, (_c = product.price.sale) !== null && _c !== void 0 ? _c : Infinity])
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
sendImpression(product) {
|
|
60
|
-
ga('ec:addImpression', this.convertProduct(product));
|
|
61
|
-
return undefined;
|
|
62
|
-
}
|
|
63
|
-
sendClick(product) {
|
|
64
|
-
var _a, _b, _c;
|
|
65
|
-
ga('ec:addProduct', {
|
|
66
|
-
id: product.productId,
|
|
67
|
-
name: product.title,
|
|
68
|
-
brand: (_a = product.brand) !== null && _a !== void 0 ? _a : '',
|
|
69
|
-
category: (_b = product.productType) !== null && _b !== void 0 ? _b : '',
|
|
70
|
-
price: Math.min(...[product.price.actual, (_c = product.price.sale) !== null && _c !== void 0 ? _c : Infinity])
|
|
71
|
-
});
|
|
72
|
-
ga('ec:setAction', 'click', { list: 'VI VPR View' });
|
|
73
|
-
return undefined;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
const getGtagAnalytics = () => _function.pipe(Option.fromNullable(window.gtag), Option.map(() => new GtagAnalytics()));
|
|
78
|
-
const getCommonAnalytics = () => _function.pipe(Option.fromNullable(window.ga), Option.map(() => new GAnalytics()));
|
|
79
|
-
const analyticsMonoid = Option.getMonoid(Semigroup.first());
|
|
80
|
-
const getAnalyticsModule = analyticsMonoid.concat(getGtagAnalytics(), getCommonAnalytics());
|
|
81
|
-
|
|
82
|
-
const FIT_EXPR = /fit\/\d+\//;
|
|
83
|
-
const containsFit = (url) => {
|
|
84
|
-
return _function.pipe(url.match(FIT_EXPR), Either.fromNullable(url), Either.map(() => url));
|
|
85
|
-
};
|
|
86
|
-
const processWidth = (url, size) => {
|
|
87
|
-
return _function.pipe(containsFit(url), Either.map((url) => url.replace(FIT_EXPR, `fit/${size}/`)), Either.getOrElse(() => url));
|
|
88
|
-
};
|
|
89
|
-
const Linked = (props, child) => props.deeplink ? (h("a", { class: props.part, part: props.part, href: props.deeplink }, child)) : (child);
|
|
90
|
-
const FormattedPrice = (props) => {
|
|
91
|
-
var _a;
|
|
92
|
-
const locale = props.locale;
|
|
93
|
-
const formattedPrice = new Intl.NumberFormat(locale, {
|
|
94
|
-
minimumFractionDigits: 2,
|
|
95
|
-
}).format(props.price);
|
|
96
|
-
const fullPrice = `${(_a = props.prefix) !== null && _a !== void 0 ? _a : ""} ${formattedPrice} ${props.currency}`;
|
|
97
|
-
return (h("span", { class: "price-amount", part: "price-amount" }, fullPrice));
|
|
98
|
-
};
|
|
99
|
-
const Price = (props) => {
|
|
100
|
-
const priceEl = (h(FormattedPrice, { prefix: props.prefix, currency: props.currency, price: props.price, locale: props.locale }));
|
|
101
|
-
return (h("span", { class: "price-container", part: "price-container" }, props.salePrice ? ([
|
|
102
|
-
h("span", { class: "price-sale", part: "price-sale" },
|
|
103
|
-
h(FormattedPrice, { prefix: props.prefix, currency: props.currency, price: props.salePrice, locale: props.locale })),
|
|
104
|
-
h("span", { class: "price-outdated", part: "price-outdated" }, priceEl),
|
|
105
|
-
]) : (h("span", { class: "price-regular", part: "price-regular" }, priceEl))));
|
|
106
|
-
};
|
|
107
|
-
const Image = (props) => (h("picture", null,
|
|
108
|
-
h("img", { loading: "lazy", part: "image", class: "image", width: props.width, height: props.height, src: processWidth(props.src, props.width), alt: props.title })));
|
|
109
|
-
const ResponsiveImage = (props) => (h("picture", null,
|
|
110
|
-
h("img", { loading: "lazy", part: "image", class: "image responsive", src: processWidth(props.src, props.width), alt: props.title })));
|
|
111
|
-
|
|
112
|
-
const vviinnProductCardCss = ":host{align-items:center;display:flex;flex-direction:column;gap:8px;height:100%}.price-container{display:flex;flex-direction:column}.price-sale,.price-regular{font-style:normal;font-weight:normal;font-size:16px;line-height:24px;color:#161616}.price-outdated{font-style:normal;font-weight:normal;font-size:16px;line-height:24px;color:#757575;text-decoration:line-through}.product-type{word-wrap:anywhere}.image{display:grid;align-content:center;-o-object-position:50% 50%;object-position:50% 50%;-o-object-fit:contain;object-fit:contain;text-align:center;box-sizing:border-box}img.responsive{width:100%;height:auto;aspect-ratio:1}.brand,.type{display:none}.title{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#161616;display:-webkit-box;font-size:16px;font-style:normal;font-weight:500;line-height:24px;margin-bottom:8px;overflow:hidden}.deeplink{text-decoration:none}.image-link{display:contents}picture{position:relative;width:100%}:host(.dimmed) picture::before{content:\"\";width:100%;height:100%;box-sizing:border-box;background:#f7f7f7;display:block;top:0;left:0;position:absolute;mix-blend-mode:multiply}";
|
|
113
|
-
|
|
114
|
-
let VviinnProductCard = class {
|
|
115
|
-
constructor(hostRef) {
|
|
116
|
-
registerInstance(this, hostRef);
|
|
117
|
-
this.recommendationLoad = createEvent(this, "recommendationLoad", 7);
|
|
118
|
-
this.recommendationView = createEvent(this, "recommendationView", 7);
|
|
119
|
-
this.recommendationClick = createEvent(this, "recommendationClick", 7);
|
|
120
|
-
this.currency = undefined;
|
|
121
|
-
this.imageRatio = 1;
|
|
122
|
-
this.imageWidth = 200;
|
|
123
|
-
this.locale = undefined;
|
|
124
|
-
this.pricePrefix = undefined;
|
|
125
|
-
this.responsive = false;
|
|
126
|
-
this.dimmedBackground = false;
|
|
127
|
-
this.imageLoaded = false;
|
|
128
|
-
this.intersectionObserver = new IntersectionObserver(this.intersectionCallback.bind(this), { threshold: 1.0 });
|
|
129
|
-
}
|
|
130
|
-
intersectionCallback(data) {
|
|
131
|
-
if (data.some((entry) => entry.isIntersecting)) {
|
|
132
|
-
_function.pipe(getAnalyticsModule, Option.map((analytics) => analytics.sendImpression(this.getProduct())));
|
|
133
|
-
this.recommendationView.emit(this.productId);
|
|
134
|
-
this.intersectionObserver.disconnect();
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
componentDidLoad() {
|
|
138
|
-
this.recommendationLoad.emit(this.productId);
|
|
139
|
-
this.intersectionObserver.observe(this.el);
|
|
140
|
-
const links = this.el.shadowRoot.querySelectorAll("a");
|
|
141
|
-
links.forEach((link) => link.addEventListener("mousedown", (event) => {
|
|
142
|
-
this.recommendationClick.emit(this.productId);
|
|
143
|
-
if (window.ga) {
|
|
144
|
-
event.preventDefault();
|
|
145
|
-
}
|
|
146
|
-
_function.pipe(getAnalyticsModule, Option.match(() => null, (analytics) => analytics.sendClick(this.getProduct())));
|
|
147
|
-
if (window.ga) {
|
|
148
|
-
ga("send", "event", "UX", "click", "Results", {
|
|
149
|
-
hitCallback: function () {
|
|
150
|
-
document.location.href = this.deeplink;
|
|
151
|
-
},
|
|
152
|
-
});
|
|
153
|
-
}
|
|
154
|
-
}));
|
|
155
|
-
}
|
|
156
|
-
getProduct() {
|
|
157
|
-
return imageSearchState.results.find((r) => r.productId === this.productId);
|
|
158
|
-
}
|
|
159
|
-
renderImage() {
|
|
160
|
-
const props = {
|
|
161
|
-
width: this.imageWidth,
|
|
162
|
-
height: this.imageWidth * this.imageRatio,
|
|
163
|
-
src: this.image,
|
|
164
|
-
title: this.productTitle,
|
|
165
|
-
};
|
|
166
|
-
return this.responsive ? ResponsiveImage(props) : Image(props);
|
|
167
|
-
}
|
|
168
|
-
render() {
|
|
169
|
-
var _a, _b, _c;
|
|
170
|
-
return (h(Host, { part: "product-card", class: { dimmed: this.dimmedBackground }, exportparts: "brand, currency, deeplink, image, image-link, price-amount, price-container, price-outdated, price-prefix, price-regular, price-sale, title" }, h(Linked, { deeplink: this.deeplink, part: "image-link" }, this.renderImage()), h(Linked, { deeplink: this.deeplink, part: "deeplink" }, h("span", { class: "title", part: "title" }, this.productTitle)), h("span", { class: "brand", part: "brand" }, this.brand), h("span", { class: "type", part: "type" }, this.productType), h(Price, { prefix: (_a = this.pricePrefix) !== null && _a !== void 0 ? _a : state.pricePrefix, currency: (_b = this.currency) !== null && _b !== void 0 ? _b : state.currencySign, price: this.price, salePrice: this.salePrice, locale: (_c = this.locale) !== null && _c !== void 0 ? _c : state.locale })));
|
|
171
|
-
}
|
|
172
|
-
get el() { return getElement(this); }
|
|
173
|
-
};
|
|
174
|
-
VviinnProductCard.style = vviinnProductCardCss;
|
|
175
|
-
|
|
176
|
-
export { VviinnProductCard as vviinn_product_card };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, j as createEvent, h, e as Host } from './index-b6d739a9.js';
|
|
2
|
-
|
|
3
|
-
const vviinnServerErrorCss = ":host{display:block}";
|
|
4
|
-
|
|
5
|
-
let VviinnServerError = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.actionClick = createEvent(this, "actionClick", 7);
|
|
9
|
-
}
|
|
10
|
-
render() {
|
|
11
|
-
return (h(Host, null, h("vviinn-error", null, h("h4", { slot: "title" }, "Keine Verbindung"), h("span", { slot: "text" }, "Etwas hat leider nicht funktioniert. Bitte pr\u00FCfen Sie Ihre Internetverbindung und laden Sie das Bild noch einmal hoch."), h("button", { slot: "action", onClick: () => this.actionClick.emit() }, "Erneut versuchen"))));
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
VviinnServerError.style = vviinnServerErrorCss;
|
|
15
|
-
|
|
16
|
-
export { VviinnServerError as vviinn_server_error };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, e as Host } from './index-b6d739a9.js';
|
|
2
|
-
|
|
3
|
-
const vviinnSlideCss = ":host{display:grid;justify-items:center}";
|
|
4
|
-
|
|
5
|
-
let VviinnSlide = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
}
|
|
9
|
-
render() {
|
|
10
|
-
return (h(Host, null, h("slot", null)));
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
VviinnSlide.style = vviinnSlideCss;
|
|
14
|
-
|
|
15
|
-
export { VviinnSlide as vviinn_slide };
|