vviinn-widgets 2.7.2 → 2.8.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/dist/components/Handler.js +270 -0
- package/dist/components/NonEmptyArray.js +5699 -0
- package/dist/components/cropper-handler.js +6 -0
- package/dist/components/cropper-handler2.js +39 -0
- package/dist/{cjs/customized-slots-06ca4007.js → components/customized-slots.js} +3 -6
- package/dist/components/highlight-box.js +6 -0
- package/dist/components/highlight-box2.js +52 -0
- package/dist/components/image-cropper.js +6 -0
- package/dist/components/image-cropper2.js +138 -0
- package/dist/components/imageSearch.store.js +10686 -0
- package/dist/components/index.js +1 -0
- package/dist/{esm/index-443468c7.js → components/index2.js} +2 -2
- package/dist/components/index3.js +130 -0
- package/dist/components/recommendations-sidebar.js +101 -0
- package/dist/components/resizer.worker.js +11 -0
- package/dist/components/search-filters.js +6 -0
- package/dist/components/search-filters2.js +89 -0
- package/dist/components/tracking.worker.js +11 -0
- package/dist/components/vviinn-carousel.js +6 -0
- package/dist/components/vviinn-carousel2.js +235 -0
- package/dist/components/vviinn-detected-object.js +6 -0
- package/dist/components/vviinn-detected-object2.js +67 -0
- package/dist/components/vviinn-empty-results.js +6 -0
- package/dist/components/vviinn-empty-results2.js +35 -0
- package/dist/components/vviinn-error.js +6 -0
- package/dist/components/vviinn-error2.js +28 -0
- package/dist/components/vviinn-example-image.js +6 -0
- package/dist/components/vviinn-example-image2.js +57 -0
- package/dist/components/vviinn-example-images.js +6 -0
- package/dist/components/vviinn-example-images2.js +53 -0
- package/dist/components/vviinn-image-selector.js +6 -0
- package/dist/components/vviinn-image-selector2.js +135 -0
- package/dist/components/vviinn-image-view.js +6 -0
- package/dist/components/vviinn-image-view2.js +95 -0
- package/dist/components/vviinn-modal.js +6 -0
- package/dist/components/vviinn-modal2.js +46 -0
- package/dist/components/vviinn-onboarding-card-1.js +6 -0
- package/dist/components/vviinn-onboarding-card-12.js +34 -0
- package/dist/components/vviinn-onboarding-card-2.js +6 -0
- package/dist/components/vviinn-onboarding-card-22.js +34 -0
- package/dist/components/vviinn-onboarding-card-3.js +6 -0
- package/dist/components/vviinn-onboarding-card-32.js +34 -0
- package/dist/components/vviinn-onboarding.js +6 -0
- package/dist/components/vviinn-onboarding2.js +63 -0
- package/dist/components/vviinn-overlay.js +6 -0
- package/dist/components/vviinn-overlay2.js +28 -0
- package/dist/components/vviinn-overlayed-modal.js +6 -0
- package/dist/components/vviinn-overlayed-modal2.js +45 -0
- package/dist/components/vviinn-preloader.js +6 -0
- package/dist/components/vviinn-preloader2.js +34 -0
- package/dist/components/vviinn-privacy-badge.js +6 -0
- package/dist/components/vviinn-privacy-badge2.js +33 -0
- package/dist/components/vviinn-product-card.js +6 -0
- package/dist/components/vviinn-product-card2.js +216 -0
- package/dist/components/vviinn-recommendations-sidebar.js +6 -0
- package/dist/components/vviinn-server-error.js +6 -0
- package/dist/components/vviinn-server-error2.js +35 -0
- package/dist/components/vviinn-slide.js +6 -0
- package/dist/components/vviinn-slide2.js +28 -0
- package/dist/components/vviinn-slider.js +6 -0
- package/dist/components/vviinn-slider2.js +159 -0
- package/dist/components/vviinn-teaser.js +6 -0
- package/dist/components/vviinn-teaser2.js +33 -0
- package/dist/components/vviinn-vpr-button.js +93 -0
- package/dist/components/vviinn-vpr-vidget.js +3360 -0
- package/dist/components/vviinn-vpr-widget.js +6 -0
- package/dist/components/vviinn-vps-button.js +224 -0
- package/dist/components/vviinn-vps-widget.js +6 -0
- package/dist/components/vviinn-vps-widget2.js +350 -0
- package/dist/components/vviinn-wrong-format.js +6 -0
- package/dist/components/vviinn-wrong-format2.js +35 -0
- package/dist/types/components/vviinn-product-card/vviinn-product-card.d.ts +1 -0
- package/dist/types/components/vviinn-vpr-button/stories/lol.d.ts +2 -0
- package/dist/types/components/vviinn-vpr-button/stories/vviinn-vpr-button.stories.d.ts +1 -1
- package/dist/vviinn-widgets/Array-bdfc75db.js +4870 -0
- package/dist/vviinn-widgets/Handler-edcb46f4.js +1422 -0
- package/dist/vviinn-widgets/NonEmptyArray-947ab7b3.js +4411 -0
- package/dist/{esm/app-globals-865bc7a7.js → vviinn-widgets/app-globals-c0aa8ec3.js} +922 -10
- package/dist/vviinn-widgets/cropper-handler.entry.js +23 -0
- package/dist/vviinn-widgets/css-shim-f0027935.js +4 -0
- package/dist/{esm/customized-slots-96902edf.js → vviinn-widgets/customized-slots-5c1c623a.js} +1 -1
- package/dist/vviinn-widgets/dom-db0073f0.js +73 -0
- package/dist/vviinn-widgets/highlight-box.entry.js +41 -0
- package/dist/{collection/components/image-search/image-view/image-cropper/image-cropper.js → vviinn-widgets/image-cropper.entry.js} +33 -70
- package/dist/{cjs/index-df6896e2.js → vviinn-widgets/imageSearch.store-0eed9a5c.js} +11598 -15320
- package/dist/{esm/index-2fdd499d.js → vviinn-widgets/imageSearch.store-b28bddb0.js} +11971 -15281
- package/dist/{collection/components/vviinn-icons/index.js → vviinn-widgets/index-44058ea2.js} +14 -11
- package/dist/vviinn-widgets/index-6c6de682.js +3857 -0
- package/dist/vviinn-widgets/index-de3e14da.js +3010 -0
- package/dist/vviinn-widgets/index.esm.js +1 -0
- package/dist/vviinn-widgets/number-171db649.js +1499 -0
- package/dist/vviinn-widgets/search-filters.entry.js +76 -0
- package/dist/vviinn-widgets/shadow-css-c1fdfa9f.js +389 -0
- package/dist/{collection/components/vviinn-carousel/vviinn-carousel.js → vviinn-widgets/vviinn-carousel.entry.js} +18 -113
- package/dist/vviinn-widgets/vviinn-detected-object.entry.js +54 -0
- package/dist/vviinn-widgets/vviinn-empty-results.entry.js +16 -0
- package/dist/vviinn-widgets/vviinn-error.entry.js +15 -0
- package/dist/vviinn-widgets/vviinn-example-image.entry.js +38 -0
- package/dist/vviinn-widgets/vviinn-example-images.entry.js +28 -0
- package/dist/vviinn-widgets/vviinn-image-selector.entry.js +31 -0
- package/dist/vviinn-widgets/vviinn-image-view.entry.js +55 -0
- package/dist/vviinn-widgets/vviinn-modal.entry.js +30 -0
- package/dist/vviinn-widgets/vviinn-onboarding-card-1.entry.js +21 -0
- package/dist/vviinn-widgets/vviinn-onboarding-card-2.entry.js +21 -0
- package/dist/vviinn-widgets/vviinn-onboarding-card-3.entry.js +21 -0
- package/dist/vviinn-widgets/vviinn-onboarding.entry.js +20 -0
- package/dist/vviinn-widgets/vviinn-overlay.entry.js +15 -0
- package/dist/vviinn-widgets/vviinn-overlayed-modal.entry.js +18 -0
- package/dist/vviinn-widgets/vviinn-preloader.entry.js +25 -0
- package/dist/vviinn-widgets/vviinn-privacy-badge.entry.js +20 -0
- package/dist/vviinn-widgets/vviinn-product-card.entry.js +188 -0
- package/dist/{esm → vviinn-widgets}/vviinn-recommendations-sidebar.entry.js +2 -2
- package/dist/vviinn-widgets/vviinn-server-error.entry.js +16 -0
- package/dist/vviinn-widgets/vviinn-slide.entry.js +15 -0
- package/dist/vviinn-widgets/vviinn-slider.entry.js +120 -0
- package/dist/vviinn-widgets/vviinn-teaser.entry.js +20 -0
- package/dist/{esm → vviinn-widgets}/vviinn-vpr-button.entry.js +2 -2
- package/dist/vviinn-widgets/vviinn-vpr-widget.entry.js +4588 -0
- package/dist/{esm → vviinn-widgets}/vviinn-vps-button.entry.js +3 -3
- package/dist/vviinn-widgets/vviinn-vps-widget.entry.js +170 -0
- package/dist/vviinn-widgets/vviinn-widgets.css +6 -1
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +125 -1
- package/dist/vviinn-widgets/vviinn-wrong-format.entry.js +16 -0
- package/package.json +8 -2
- package/www/build/p-06c76b5e.js +1 -0
- package/www/build/p-07e16d04.js +15 -0
- package/{dist/vviinn-widgets/p-a6e0710f.entry.js → www/build/p-44bc50de.entry.js} +1 -1
- package/www/build/p-510922c6.js +1 -0
- package/www/build/p-57ce8de3.css +1 -0
- package/www/build/p-591cb193.entry.js +1 -0
- package/www/build/p-6b9d242e.js +1 -0
- package/www/build/p-880bccf1.js +1 -0
- package/www/build/p-b0ada114.entry.js +1 -0
- package/www/build/p-b7be7c70.entry.js +1 -0
- package/{dist/vviinn-widgets/p-166970f3.js → www/build/p-ea8dea5c.js} +1 -1
- package/www/build/vviinn-widgets.css +1 -1
- package/www/build/vviinn-widgets.esm.js +1 -1
- package/www/index.html +32261 -1
- package/www/sw.js +66 -0
- package/dist/cjs/app-globals-8db3bcbe.js +0 -6912
- package/dist/cjs/cropper-handler_27.cjs.entry.js +0 -1135
- package/dist/cjs/index-3c3ab815.js +0 -1354
- package/dist/cjs/index-f66cd8d1.js +0 -39
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/loader.cjs.js +0 -23
- package/dist/cjs/vviinn-carousel_2.cjs.entry.js +0 -1001
- package/dist/cjs/vviinn-recommendations-sidebar.cjs.entry.js +0 -65
- package/dist/cjs/vviinn-vpr-button.cjs.entry.js +0 -49
- package/dist/cjs/vviinn-vps-button.cjs.entry.js +0 -43
- package/dist/cjs/vviinn-widgets.cjs.js +0 -21
- package/dist/collection/Image/error.js +0 -14
- package/dist/collection/Image/form.js +0 -5
- package/dist/collection/Image/fromFile.js +0 -18
- package/dist/collection/Image/imageToB64.js +0 -9
- package/dist/collection/Image/index.js +0 -0
- package/dist/collection/Image/renderPromise.js +0 -6
- package/dist/collection/Image/resizeImage.js +0 -28
- package/dist/collection/Image/sizing.js +0 -39
- package/dist/collection/Image/toFile.js +0 -17
- package/dist/collection/analytics/GAnalytics.js +0 -32
- package/dist/collection/analytics/GeneralAnalytics.js +0 -9
- package/dist/collection/analytics/GtagAnalytics.js +0 -35
- package/dist/collection/analytics/ProductAnalytics.js +0 -1
- package/dist/collection/campaign/Campaign.js +0 -8
- package/dist/collection/campaign/CampaignService.js +0 -5
- package/dist/collection/campaign/VCSCampaign.js +0 -1
- package/dist/collection/campaign/VCSCampaignResponse.js +0 -1
- package/dist/collection/campaign/VCSCampaignService.js +0 -7
- package/dist/collection/campaign/VPRCampaignResponse.js +0 -1
- package/dist/collection/campaign/VPRCampaignService.js +0 -7
- package/dist/collection/collection-manifest.json +0 -43
- package/dist/collection/components/customized-slots.js +0 -47
- package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.css +0 -71
- package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.js +0 -25
- package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.css +0 -49
- package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.js +0 -64
- package/dist/collection/components/image-search/image-view/image-cropper/image-cropper.css +0 -33
- package/dist/collection/components/image-search/search-filters/search-filters.css +0 -120
- package/dist/collection/components/image-search/search-filters/search-filters.js +0 -125
- package/dist/collection/components/vviinn-carousel/vviinn-carousel.css +0 -142
- package/dist/collection/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.css +0 -7
- package/dist/collection/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.js +0 -36
- package/dist/collection/components/vviinn-error/vviinn-error.css +0 -38
- package/dist/collection/components/vviinn-error/vviinn-error.js +0 -18
- package/dist/collection/components/vviinn-error/vviinn-server-error/vviinn-server-error.css +0 -3
- package/dist/collection/components/vviinn-error/vviinn-server-error/vviinn-server-error.js +0 -34
- package/dist/collection/components/vviinn-error/vviinn-wrong-format/vviinn-wrong-format.css +0 -3
- package/dist/collection/components/vviinn-error/vviinn-wrong-format/vviinn-wrong-format.js +0 -34
- package/dist/collection/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.css +0 -34
- package/dist/collection/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.js +0 -129
- package/dist/collection/components/vviinn-example-images/vviinn-example-images.css +0 -19
- package/dist/collection/components/vviinn-example-images/vviinn-example-images.js +0 -80
- package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.css +0 -25
- package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.js +0 -64
- package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.css +0 -47
- package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.js +0 -100
- package/dist/collection/components/vviinn-image-view/vviinn-image-view.css +0 -31
- package/dist/collection/components/vviinn-image-view/vviinn-image-view.js +0 -61
- package/dist/collection/components/vviinn-modal/vviinn-modal.css +0 -105
- package/dist/collection/components/vviinn-modal/vviinn-modal.js +0 -98
- package/dist/collection/components/vviinn-onboarding/onboarding-cards/onboarding-card.css +0 -41
- package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-1/vviinn-onboarding-card-1.js +0 -26
- package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-2/vviinn-onboarding-card-2.js +0 -26
- package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-3/vviinn-onboarding-card-3.js +0 -26
- package/dist/collection/components/vviinn-onboarding/vviinn-onboarding.css +0 -58
- package/dist/collection/components/vviinn-onboarding/vviinn-onboarding.js +0 -28
- package/dist/collection/components/vviinn-overlay/vviinn-overlay.css +0 -33
- package/dist/collection/components/vviinn-overlay/vviinn-overlay.js +0 -15
- package/dist/collection/components/vviinn-overlayed-modal/vviinn-overlayed-modal.css +0 -29
- package/dist/collection/components/vviinn-overlayed-modal/vviinn-overlayed-modal.js +0 -71
- package/dist/collection/components/vviinn-preloader/vviinn-preloader.css +0 -37
- package/dist/collection/components/vviinn-preloader/vviinn-preloader.js +0 -20
- package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.css +0 -19
- package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.js +0 -27
- package/dist/collection/components/vviinn-product-card/render-helpers.js +0 -32
- package/dist/collection/components/vviinn-product-card/stories/args.js +0 -73
- package/dist/collection/components/vviinn-product-card/stories/decorators.js +0 -51
- package/dist/collection/components/vviinn-product-card/stories/vviinn-product-card.stories.js +0 -105
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.css +0 -95
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +0 -462
- package/dist/collection/components/vviinn-slider/arrow.js +0 -11
- package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.css +0 -4
- package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.js +0 -15
- package/dist/collection/components/vviinn-slider/vviinn-slider.css +0 -109
- package/dist/collection/components/vviinn-slider/vviinn-slider.js +0 -181
- package/dist/collection/components/vviinn-teaser/vviinn-teaser.css +0 -14
- package/dist/collection/components/vviinn-teaser/vviinn-teaser.js +0 -29
- package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.css +0 -238
- package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +0 -220
- package/dist/collection/components/vviinn-vpr-button/stories/args.js +0 -213
- package/dist/collection/components/vviinn-vpr-button/stories/vviinn-vpr-button.stories.js +0 -91
- package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.css +0 -35
- package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +0 -179
- package/dist/collection/components/vviinn-vpr-widget/stories/args.js +0 -197
- package/dist/collection/components/vviinn-vpr-widget/stories/decorators.js +0 -29
- package/dist/collection/components/vviinn-vpr-widget/stories/vviinn-vpr-widget.stories.js +0 -211
- package/dist/collection/components/vviinn-vpr-widget/token-helpers.js +0 -11
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +0 -510
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-widget.css +0 -79
- package/dist/collection/components/vviinn-vps-button/stories/vviinn-vps-button.stories.js +0 -35
- package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.css +0 -3
- package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +0 -195
- package/dist/collection/components/vviinn-vps-widget/stories/vviinn-vps-widget.stories.js +0 -37
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.css +0 -350
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +0 -375
- package/dist/collection/cropper/Cropper.js +0 -1
- package/dist/collection/cropper/Handler.js +0 -61
- package/dist/collection/dom/index.js +0 -3
- package/dist/collection/error.js +0 -14
- package/dist/collection/file/index.js +0 -4
- package/dist/collection/geometry/Clip.js +0 -14
- package/dist/collection/geometry/Point.js +0 -32
- package/dist/collection/geometry/Rectangle.js +0 -95
- package/dist/collection/geometry/RectangleAlt.js +0 -1
- package/dist/collection/geometry/Sized.js +0 -8
- package/dist/collection/global.js +0 -19
- package/dist/collection/index.js +0 -1
- package/dist/collection/interfaces/generated.js +0 -5
- package/dist/collection/interfaces/recommendation.js +0 -1
- package/dist/collection/network/apiClient.js +0 -9
- package/dist/collection/network/ion/File.js +0 -14
- package/dist/collection/network/ion/Form.js +0 -64
- package/dist/collection/network/ion/Link.js +0 -8
- package/dist/collection/network/ion/ValueObject.js +0 -23
- package/dist/collection/network/request.js +0 -19
- package/dist/collection/network/utils.js +0 -37
- package/dist/collection/openApi/index.js +0 -27
- package/dist/collection/recommendation/events.js +0 -1
- package/dist/collection/recommendation/recommendation.js +0 -1
- package/dist/collection/searchSession/searchSession.js +0 -31
- package/dist/collection/sentry.js +0 -14
- package/dist/collection/slider/GridMode.js +0 -1
- package/dist/collection/store/file-processing.js +0 -13
- package/dist/collection/store/imageSearch.store.js +0 -133
- package/dist/collection/store/store.js +0 -3
- package/dist/collection/store/tracking.store.js +0 -3
- package/dist/collection/stories/Button.js +0 -21
- package/dist/collection/stories/Button.stories.js +0 -42
- package/dist/collection/stories/Header.js +0 -45
- package/dist/collection/stories/Header.stories.js +0 -15
- package/dist/collection/stories/Page.js +0 -61
- package/dist/collection/stories/Page.stories.js +0 -19
- package/dist/collection/stories/assets/code-brackets.svg +0 -1
- package/dist/collection/stories/assets/colors.svg +0 -1
- package/dist/collection/stories/assets/comments.svg +0 -1
- package/dist/collection/stories/assets/direction.svg +0 -1
- package/dist/collection/stories/assets/flow.svg +0 -1
- package/dist/collection/stories/assets/plugin.svg +0 -1
- package/dist/collection/stories/assets/repo.svg +0 -1
- package/dist/collection/stories/assets/stackalt.svg +0 -1
- package/dist/collection/stories/image-selector.stories.js +0 -6
- package/dist/collection/stories/image-view.stories.js +0 -6
- package/dist/collection/stories/modal.stories.js +0 -12
- package/dist/collection/stories/onboarding.stories.js +0 -11
- package/dist/collection/stories/overlay.stories.js +0 -5
- package/dist/collection/stories/overlayedModal.stories.js +0 -8
- package/dist/collection/stories/privacy-badge.stories.js +0 -11
- package/dist/collection/stories/slider.stories.js +0 -17
- package/dist/collection/stories/teaser.stories.js +0 -5
- package/dist/collection/stories/vps-widget.stories.js +0 -47
- package/dist/collection/stories/vviinn-product.stories.js +0 -19
- package/dist/collection/tracking/event.js +0 -3
- package/dist/collection/tracking/filter.js +0 -5
- package/dist/collection/tracking/index.js +0 -13
- package/dist/collection/tracking/models.js +0 -6
- package/dist/collection/tracking/product.js +0 -18
- package/dist/collection/tracking/search.js +0 -5
- package/dist/collection/tracking/widget.js +0 -10
- package/dist/collection/utils/collections/collectionsUtils.js +0 -5
- package/dist/collection/utils/either.js +0 -3
- package/dist/collection/utils/enum/enumUtils.js +0 -3
- package/dist/collection/utils/event/Events.js +0 -1
- package/dist/collection/utils/number/index.js +0 -4
- package/dist/collection/utils/option/option.js +0 -4
- package/dist/collection/utils/semigroup/semigroupDiff.js +0 -6
- package/dist/collection/utils/token/tokenUtils.js +0 -9
- package/dist/esm/cropper-handler_27.entry.js +0 -1105
- package/dist/esm/index-51f71d18.js +0 -1323
- package/dist/esm/index.js +0 -1
- package/dist/esm/loader.js +0 -19
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/vviinn-carousel_2.entry.js +0 -996
- package/dist/esm/vviinn-widgets.js +0 -19
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/loader/cdn.js +0 -3
- package/dist/loader/index.cjs.js +0 -3
- package/dist/loader/index.d.ts +0 -12
- package/dist/loader/index.es2017.js +0 -3
- package/dist/loader/index.js +0 -4
- package/dist/loader/package.json +0 -10
- package/dist/vviinn-widgets/p-2dd35f19.entry.js +0 -1
- package/dist/vviinn-widgets/p-3469b71a.js +0 -1
- package/dist/vviinn-widgets/p-40bea5b5.entry.js +0 -1
- package/dist/vviinn-widgets/p-465d043d.js +0 -15
- package/dist/vviinn-widgets/p-59bd2a99.js +0 -1
- package/dist/vviinn-widgets/p-74ed36af.entry.js +0 -1
- package/dist/vviinn-widgets/p-9def6b8b.entry.js +0 -1
- package/dist/vviinn-widgets/p-cd995515.js +0 -1
- package/www/build/p-166970f3.js +0 -1
- package/www/build/p-2dd35f19.entry.js +0 -1
- package/www/build/p-3469b71a.js +0 -1
- package/www/build/p-40bea5b5.entry.js +0 -1
- package/www/build/p-465d043d.js +0 -15
- package/www/build/p-59bd2a99.js +0 -1
- package/www/build/p-61933b75.js +0 -1
- package/www/build/p-74ed36af.entry.js +0 -1
- package/www/build/p-9def6b8b.entry.js +0 -1
- package/www/build/p-a67898be.css +0 -1
- package/www/build/p-a6e0710f.entry.js +0 -1
- package/www/build/p-cd995515.js +0 -1
- package/www/favicon.ico +0 -0
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Component, Host, h } from "@stencil/core";
|
|
2
|
-
import { getClipValue } from "../../../../geometry/Clip";
|
|
3
|
-
import * as O from "fp-ts/lib/Option";
|
|
4
|
-
import { pipe } from "fp-ts/function";
|
|
5
|
-
import { imageSearchState } from "../../../../store/imageSearch.store";
|
|
6
|
-
import { sequenceToOption } from "../../../../utils/option/option";
|
|
7
|
-
export class HighlightBox {
|
|
8
|
-
getInsetValue() {
|
|
9
|
-
return pipe(sequenceToOption(imageSearchState.searchArea, imageSearchState.imageBounds), O.map(([selection, image]) => getClipValue(selection, image)), O.getOrElse(() => ""));
|
|
10
|
-
}
|
|
11
|
-
renderImage() {
|
|
12
|
-
return pipe(sequenceToOption(imageSearchState.imageUrl, imageSearchState.imageBounds), O.map(([url, bounds]) => (h("img", { src: url, width: bounds.width, height: bounds.height, style: { "clip-path": `${this.getInsetValue()}` } }))), O.getOrElse(() => ""));
|
|
13
|
-
}
|
|
14
|
-
render() {
|
|
15
|
-
return h(Host, null, this.renderImage());
|
|
16
|
-
}
|
|
17
|
-
static get is() { return "highlight-box"; }
|
|
18
|
-
static get encapsulation() { return "shadow"; }
|
|
19
|
-
static get originalStyleUrls() { return {
|
|
20
|
-
"$": ["highlight-box.css"]
|
|
21
|
-
}; }
|
|
22
|
-
static get styleUrls() { return {
|
|
23
|
-
"$": ["highlight-box.css"]
|
|
24
|
-
}; }
|
|
25
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
--size: 20px;
|
|
3
|
-
|
|
4
|
-
background: transparent;
|
|
5
|
-
border: 4px solid white;
|
|
6
|
-
box-sizing: content-box;
|
|
7
|
-
display: block;
|
|
8
|
-
height: var(--size);
|
|
9
|
-
touch-action: none;
|
|
10
|
-
position: absolute;
|
|
11
|
-
width: var(--size);
|
|
12
|
-
z-index: 4;
|
|
13
|
-
-webkit-user-select: none;
|
|
14
|
-
-moz-user-select: none;
|
|
15
|
-
-ms-user-select: none;
|
|
16
|
-
user-select: none;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
:host(.disabled) {
|
|
20
|
-
opacity: 0.25;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
:host(.nw-resize) {
|
|
24
|
-
border-bottom: none;
|
|
25
|
-
border-right: none;
|
|
26
|
-
top: 0;
|
|
27
|
-
left: 0;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
:host(.ne-resize) {
|
|
31
|
-
border-left: none;
|
|
32
|
-
border-bottom: none;
|
|
33
|
-
right: 0;
|
|
34
|
-
top: 0;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
:host(.sw-resize) {
|
|
38
|
-
border-right: none;
|
|
39
|
-
border-top: none;
|
|
40
|
-
left: 0;
|
|
41
|
-
bottom: 0;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
:host(.se-resize) {
|
|
45
|
-
border-left: none;
|
|
46
|
-
border-top: none;
|
|
47
|
-
bottom: 0;
|
|
48
|
-
right: 0;
|
|
49
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { Component, Host, h, Prop } from "@stencil/core";
|
|
2
|
-
import { getCursorValue } from "../../../../../cropper/Handler";
|
|
3
|
-
export class CropperHandler {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.disabled = false;
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return (h(Host, { part: `handle ${getCursorValue(this.handler.direction)}`, class: {
|
|
9
|
-
disabled: this.disabled,
|
|
10
|
-
[getCursorValue(this.handler.direction)]: true,
|
|
11
|
-
}, style: {
|
|
12
|
-
"--size": "20px",
|
|
13
|
-
cursor: getCursorValue(this.handler.direction),
|
|
14
|
-
}, draggable: false }));
|
|
15
|
-
}
|
|
16
|
-
static get is() { return "cropper-handler"; }
|
|
17
|
-
static get encapsulation() { return "shadow"; }
|
|
18
|
-
static get originalStyleUrls() { return {
|
|
19
|
-
"$": ["cropper-handler.css"]
|
|
20
|
-
}; }
|
|
21
|
-
static get styleUrls() { return {
|
|
22
|
-
"$": ["cropper-handler.css"]
|
|
23
|
-
}; }
|
|
24
|
-
static get properties() { return {
|
|
25
|
-
"handler": {
|
|
26
|
-
"type": "unknown",
|
|
27
|
-
"mutable": false,
|
|
28
|
-
"complexType": {
|
|
29
|
-
"original": "Handler",
|
|
30
|
-
"resolved": "Handler",
|
|
31
|
-
"references": {
|
|
32
|
-
"Handler": {
|
|
33
|
-
"location": "import",
|
|
34
|
-
"path": "../../../../../cropper/Handler"
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"required": false,
|
|
39
|
-
"optional": false,
|
|
40
|
-
"docs": {
|
|
41
|
-
"tags": [],
|
|
42
|
-
"text": ""
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"disabled": {
|
|
46
|
-
"type": "boolean",
|
|
47
|
-
"mutable": false,
|
|
48
|
-
"complexType": {
|
|
49
|
-
"original": "boolean",
|
|
50
|
-
"resolved": "boolean",
|
|
51
|
-
"references": {}
|
|
52
|
-
},
|
|
53
|
-
"required": false,
|
|
54
|
-
"optional": false,
|
|
55
|
-
"docs": {
|
|
56
|
-
"tags": [],
|
|
57
|
-
"text": ""
|
|
58
|
-
},
|
|
59
|
-
"attribute": "disabled",
|
|
60
|
-
"reflect": false,
|
|
61
|
-
"defaultValue": "false"
|
|
62
|
-
}
|
|
63
|
-
}; }
|
|
64
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: block;
|
|
3
|
-
height: 100%;
|
|
4
|
-
left: 0;
|
|
5
|
-
position: absolute;
|
|
6
|
-
top: 0;
|
|
7
|
-
width: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
:host(.hidden) {
|
|
11
|
-
visibility: hidden;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.crop-area {
|
|
15
|
-
border: 1px solid white;
|
|
16
|
-
box-sizing: border-box;
|
|
17
|
-
position: absolute;
|
|
18
|
-
touch-action: none;
|
|
19
|
-
transition-property: border-color, opacity;
|
|
20
|
-
transition-duration: .25s;
|
|
21
|
-
transition-timing-function: ease-in-out;
|
|
22
|
-
z-index: 2;
|
|
23
|
-
position: relative;
|
|
24
|
-
will-change: transform;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.crop-area.active {
|
|
28
|
-
border-color: whitesmoke;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.crop-area.disabled {
|
|
32
|
-
opacity: 0.25;
|
|
33
|
-
}
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: grid;
|
|
3
|
-
grid-gap: 1rem;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.filters {
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: row;
|
|
9
|
-
flex-wrap: wrap;
|
|
10
|
-
gap: 0.5rem;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.filter {
|
|
14
|
-
align-items: center;
|
|
15
|
-
-webkit-animation-duration: 0.25s;
|
|
16
|
-
animation-duration: 0.25s;
|
|
17
|
-
-webkit-animation-fill-mode: forwards;
|
|
18
|
-
animation-fill-mode: forwards;
|
|
19
|
-
-webkit-animation-name: scalein;
|
|
20
|
-
animation-name: scalein;
|
|
21
|
-
border: 1px solid lightgray;
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-direction: row;
|
|
25
|
-
grid-gap: 8px;
|
|
26
|
-
height: -webkit-max-content;
|
|
27
|
-
height: -moz-max-content;
|
|
28
|
-
height: max-content;
|
|
29
|
-
min-width: -webkit-max-content;
|
|
30
|
-
min-width: -moz-max-content;
|
|
31
|
-
min-width: max-content;
|
|
32
|
-
padding: 0.1rem;
|
|
33
|
-
transform: scale(0);
|
|
34
|
-
transition-property: background;
|
|
35
|
-
transition-duration: 0.25s;
|
|
36
|
-
transition-timing-function: ease-in-out;
|
|
37
|
-
-webkit-user-select: none;
|
|
38
|
-
-moz-user-select: none;
|
|
39
|
-
-ms-user-select: none;
|
|
40
|
-
user-select: none;
|
|
41
|
-
padding: 6px 16px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.filter.active {
|
|
45
|
-
border: 1px solid black;
|
|
46
|
-
padding: 6px 8px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.filter:hover {
|
|
50
|
-
border: 1px solid gray;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.show-more {
|
|
54
|
-
display: flex;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.show-more.hidden {
|
|
58
|
-
display: none;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.show-more::after {
|
|
62
|
-
content: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 12.2l-6-6L3.2 5 8 9.8 12.8 5 14 6.2l-6 6z' fill='%23525252'/%3E%3C/svg%3E");
|
|
63
|
-
display: block;
|
|
64
|
-
height: 16px;
|
|
65
|
-
margin-top: 1px;
|
|
66
|
-
margin-left: 8px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.show-more.active::after {
|
|
70
|
-
transform: rotateX(180deg);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
@-webkit-keyframes scalein {
|
|
74
|
-
from {
|
|
75
|
-
opacity: 0;
|
|
76
|
-
transform: scale(0.5);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
to {
|
|
80
|
-
opacity: 1;
|
|
81
|
-
transform: scale(1);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
@keyframes scalein {
|
|
86
|
-
from {
|
|
87
|
-
opacity: 0;
|
|
88
|
-
transform: scale(0.5);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
to {
|
|
92
|
-
opacity: 1;
|
|
93
|
-
transform: scale(1);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
@media (max-width: 415px) {
|
|
98
|
-
.show-more::after {
|
|
99
|
-
transform: rotate(-90deg);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.show-more.active::after {
|
|
103
|
-
transform: rotate(90deg);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
@media (max-width: 800px) {
|
|
108
|
-
.filters {
|
|
109
|
-
flex-wrap: nowrap;
|
|
110
|
-
overflow-x: scroll;
|
|
111
|
-
-ms-scroll-snap-type: x mandatory;
|
|
112
|
-
scroll-snap-type: x mandatory;
|
|
113
|
-
grid-gap: unset;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.filter {
|
|
117
|
-
scroll-snap-align: end;
|
|
118
|
-
margin-right: 0.5rem;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { Component, Host, h, Prop, State, Element, Event } from "@stencil/core";
|
|
2
|
-
import { imageSearchState } from "../../../store/imageSearch.store";
|
|
3
|
-
import { CheckIcon } from "../../vviinn-icons";
|
|
4
|
-
const FILTERS_COUNT = 5;
|
|
5
|
-
const ACTIVE_FILTER_CLASSNAME = ".filter.active";
|
|
6
|
-
const getFilterId = (filter) => filter.href.split("/").reverse()[0];
|
|
7
|
-
export class SearchFilters {
|
|
8
|
-
constructor() {
|
|
9
|
-
this.filter = null;
|
|
10
|
-
this.selectedCategoryId = null;
|
|
11
|
-
this.hideFilters = true;
|
|
12
|
-
}
|
|
13
|
-
handleFilterSelection(filter) {
|
|
14
|
-
return this.isFilterSelected(filter)
|
|
15
|
-
? this.clearSelectedFilter()
|
|
16
|
-
: this.selectFilter(filter);
|
|
17
|
-
}
|
|
18
|
-
selectFilter(filter) {
|
|
19
|
-
this.selectedCategoryId = getFilterId(filter);
|
|
20
|
-
imageSearchState.activeIonLink = filter;
|
|
21
|
-
this.filterSelected.emit("select");
|
|
22
|
-
}
|
|
23
|
-
clearSelectedFilter() {
|
|
24
|
-
this.selectedCategoryId = null;
|
|
25
|
-
imageSearchState.activeIonLink = undefined;
|
|
26
|
-
this.findSelectedFilter().blur();
|
|
27
|
-
this.filterSelected.emit("deselect");
|
|
28
|
-
}
|
|
29
|
-
findSelectedFilter() {
|
|
30
|
-
return this.el.shadowRoot.querySelector(ACTIVE_FILTER_CLASSNAME);
|
|
31
|
-
}
|
|
32
|
-
toggleFilters() {
|
|
33
|
-
this.hideFilters = !this.hideFilters;
|
|
34
|
-
}
|
|
35
|
-
handleEnter(ev, f) {
|
|
36
|
-
if (ev.key !== "Enter")
|
|
37
|
-
return;
|
|
38
|
-
this.handleFilterSelection(f);
|
|
39
|
-
}
|
|
40
|
-
isFilterSelected(filterLink) {
|
|
41
|
-
return this.selectedCategoryId === getFilterId(filterLink);
|
|
42
|
-
}
|
|
43
|
-
render() {
|
|
44
|
-
return (h(Host, { exportparts: "filter, show-more-filters" },
|
|
45
|
-
h("div", { class: "filters" },
|
|
46
|
-
this.filter.filters
|
|
47
|
-
.filter((_, i) => (this.hideFilters ? i < FILTERS_COUNT : true))
|
|
48
|
-
.map((f, n) => (h("div", { role: "button", tabindex: "0", part: this.isFilterSelected(f) ? "filter active" : "filter", class: {
|
|
49
|
-
filter: true,
|
|
50
|
-
active: this.selectedCategoryId === getFilterId(f),
|
|
51
|
-
}, style: { "animation-delay": `${n * 10}ms` }, onPointerUp: (ev) => {
|
|
52
|
-
ev.stopPropagation();
|
|
53
|
-
this.handleFilterSelection(f);
|
|
54
|
-
}, onKeyPress: (ev) => this.handleEnter(ev, f) },
|
|
55
|
-
this.isFilterSelected(f) ? h(CheckIcon, null) : null,
|
|
56
|
-
f.name))),
|
|
57
|
-
h("div", { class: {
|
|
58
|
-
filter: true,
|
|
59
|
-
"show-more": true,
|
|
60
|
-
hidden: this.filter.filters.length <= FILTERS_COUNT,
|
|
61
|
-
active: !this.hideFilters,
|
|
62
|
-
}, role: "button", tabindex: "0", "aria-role": "button", onClick: () => this.toggleFilters(), onKeyPress: (ev) => {
|
|
63
|
-
if (ev.key === "Enter") {
|
|
64
|
-
this.toggleFilters();
|
|
65
|
-
}
|
|
66
|
-
}, part: "show-more-filters" }, this.hideFilters ? "Zeige mehr" : "Zeige weniger"))));
|
|
67
|
-
}
|
|
68
|
-
static get is() { return "search-filters"; }
|
|
69
|
-
static get encapsulation() { return "shadow"; }
|
|
70
|
-
static get originalStyleUrls() { return {
|
|
71
|
-
"$": ["search-filters.css"]
|
|
72
|
-
}; }
|
|
73
|
-
static get styleUrls() { return {
|
|
74
|
-
"$": ["search-filters.css"]
|
|
75
|
-
}; }
|
|
76
|
-
static get properties() { return {
|
|
77
|
-
"filter": {
|
|
78
|
-
"type": "unknown",
|
|
79
|
-
"mutable": false,
|
|
80
|
-
"complexType": {
|
|
81
|
-
"original": "SearchSessionFilter | null",
|
|
82
|
-
"resolved": "SearchSessionFilter",
|
|
83
|
-
"references": {
|
|
84
|
-
"SearchSessionFilter": {
|
|
85
|
-
"location": "import",
|
|
86
|
-
"path": "../../../searchSession/searchSession"
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"required": false,
|
|
91
|
-
"optional": false,
|
|
92
|
-
"docs": {
|
|
93
|
-
"tags": [],
|
|
94
|
-
"text": ""
|
|
95
|
-
},
|
|
96
|
-
"defaultValue": "null"
|
|
97
|
-
}
|
|
98
|
-
}; }
|
|
99
|
-
static get states() { return {
|
|
100
|
-
"selectedCategoryId": {},
|
|
101
|
-
"hideFilters": {}
|
|
102
|
-
}; }
|
|
103
|
-
static get events() { return [{
|
|
104
|
-
"method": "filterSelected",
|
|
105
|
-
"name": "filterSelected",
|
|
106
|
-
"bubbles": true,
|
|
107
|
-
"cancelable": true,
|
|
108
|
-
"composed": true,
|
|
109
|
-
"docs": {
|
|
110
|
-
"tags": [],
|
|
111
|
-
"text": ""
|
|
112
|
-
},
|
|
113
|
-
"complexType": {
|
|
114
|
-
"original": "FilterAction",
|
|
115
|
-
"resolved": "\"deselect\" | \"select\"",
|
|
116
|
-
"references": {
|
|
117
|
-
"FilterAction": {
|
|
118
|
-
"location": "import",
|
|
119
|
-
"path": "vviinn-tracking-client-ts"
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}]; }
|
|
124
|
-
static get elementRef() { return "el"; }
|
|
125
|
-
}
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
--vviinn-progressbar-width: 0;
|
|
3
|
-
--vviinn-carousel-item-width: 150px;
|
|
4
|
-
--vviinn-carousel-columns-internal: var(--vviinn-carousel-columns, 4);
|
|
5
|
-
--vviinn-carousel-image-width-system: 140px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.body {
|
|
9
|
-
display: flex;
|
|
10
|
-
position: relative;
|
|
11
|
-
width: var(--vviinn-carousel-content-width);
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.content-wrapper * {
|
|
16
|
-
box-sizing: border-box;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.content-wrapper {
|
|
20
|
-
overflow-y: hidden;
|
|
21
|
-
overflow-x: auto;
|
|
22
|
-
flex-grow: 1;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.bullets {
|
|
26
|
-
margin-top: 16px;
|
|
27
|
-
display: flex;
|
|
28
|
-
flex-direction: row;
|
|
29
|
-
grid-gap: 24px;
|
|
30
|
-
justify-content: center;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.bullet {
|
|
34
|
-
width: 10px;
|
|
35
|
-
height: 10px;
|
|
36
|
-
background: #E0E0E0;
|
|
37
|
-
border-radius: 50%;
|
|
38
|
-
cursor: pointer;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.bullet.active {
|
|
42
|
-
background: #161616;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.content:not(.show-scrollbar),
|
|
46
|
-
.content.grid {
|
|
47
|
-
scrollbar-color: #fff0 #fff0;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.content:not(.show-scrollbar)::-webkit-scrollbar,
|
|
51
|
-
.content.grid::-webkit-scrollbar {
|
|
52
|
-
opacity: 0;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.content {
|
|
56
|
-
display: flex;
|
|
57
|
-
flex-direction: row;
|
|
58
|
-
grid-gap: 8px;
|
|
59
|
-
-ms-scroll-snap-type: x mandatory;
|
|
60
|
-
scroll-snap-type: x mandatory;
|
|
61
|
-
overflow-y: hidden;
|
|
62
|
-
overflow-x: auto;
|
|
63
|
-
flex-grow: 1;
|
|
64
|
-
padding-bottom: 16px;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.content.left > * {
|
|
68
|
-
scroll-snap-align: start;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.content.right > * {
|
|
72
|
-
scroll-snap-align: end;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
:host(.continuity) button {
|
|
76
|
-
border-radius: 2px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
:host(.grid) button {
|
|
80
|
-
border-radius: 50%;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
button {
|
|
84
|
-
align-items: center;
|
|
85
|
-
background-color: white;
|
|
86
|
-
border: none;
|
|
87
|
-
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15);
|
|
88
|
-
cursor: pointer;
|
|
89
|
-
display: grid;
|
|
90
|
-
height: 40px;
|
|
91
|
-
justify-items: center;
|
|
92
|
-
position: absolute;
|
|
93
|
-
top: calc(50% - 20px);
|
|
94
|
-
width: 40px;
|
|
95
|
-
z-index: 1;
|
|
96
|
-
padding: 0;
|
|
97
|
-
margin: 0;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
button {
|
|
101
|
-
fill: #525252;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
button.prev svg {
|
|
105
|
-
transform: rotate(180deg);
|
|
106
|
-
margin-left: -5px;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.prev {
|
|
110
|
-
left: 0;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.next {
|
|
114
|
-
right: 0;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.items-group {
|
|
118
|
-
display: grid;
|
|
119
|
-
grid-gap: 16px;
|
|
120
|
-
grid-template-columns: repeat(var(--vviinn-carousel-columns-internal), 1fr);
|
|
121
|
-
min-width: 100%;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
vviinn-product-card::part(price-container) {
|
|
125
|
-
text-align: center;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
:host(.classic) vviinn-product-card::part(title),
|
|
129
|
-
:host(.classic) vviinn-product-card::part(brand),
|
|
130
|
-
:host(.classic) vviinn-product-card::part(type) {
|
|
131
|
-
text-align: center;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
@media(max-width: 480px) {
|
|
135
|
-
:host(.modern) button {
|
|
136
|
-
display: none;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.items-group {
|
|
140
|
-
grid-template-columns: repeat(2, 1fr);
|
|
141
|
-
}
|
|
142
|
-
}
|
package/dist/collection/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Component, Host, h, Event } from "@stencil/core";
|
|
2
|
-
export class VviinnEmptyResults {
|
|
3
|
-
render() {
|
|
4
|
-
return (h(Host, null,
|
|
5
|
-
h("vviinn-error", null,
|
|
6
|
-
h("svg", { slot: "icon", class: "icon", width: "32", height: "32", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
7
|
-
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" }),
|
|
8
|
-
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" })),
|
|
9
|
-
h("h4", { slot: "title" }, "Leider nichts gefunden"),
|
|
10
|
-
h("span", { slot: "text" }, "Leider konnten wir keine passenden Produkte finden. Bitte versuche es mit einem anderen Bildausschnitt noch einmal."))));
|
|
11
|
-
}
|
|
12
|
-
static get is() { return "vviinn-empty-results"; }
|
|
13
|
-
static get encapsulation() { return "shadow"; }
|
|
14
|
-
static get originalStyleUrls() { return {
|
|
15
|
-
"$": ["vviinn-empty-results.css"]
|
|
16
|
-
}; }
|
|
17
|
-
static get styleUrls() { return {
|
|
18
|
-
"$": ["vviinn-empty-results.css"]
|
|
19
|
-
}; }
|
|
20
|
-
static get events() { return [{
|
|
21
|
-
"method": "actionClick",
|
|
22
|
-
"name": "actionClick",
|
|
23
|
-
"bubbles": true,
|
|
24
|
-
"cancelable": true,
|
|
25
|
-
"composed": true,
|
|
26
|
-
"docs": {
|
|
27
|
-
"tags": [],
|
|
28
|
-
"text": ""
|
|
29
|
-
},
|
|
30
|
-
"complexType": {
|
|
31
|
-
"original": "void",
|
|
32
|
-
"resolved": "void",
|
|
33
|
-
"references": {}
|
|
34
|
-
}
|
|
35
|
-
}]; }
|
|
36
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
background: #F4F4F4;
|
|
3
|
-
border-radius: 8px;
|
|
4
|
-
display: grid;
|
|
5
|
-
grid-gap: 20px;
|
|
6
|
-
padding: 24px;
|
|
7
|
-
text-align: center;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
::slotted(svg) {
|
|
11
|
-
display: grid;
|
|
12
|
-
align-self: center;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
::slotted(h4) {
|
|
16
|
-
margin: unset;
|
|
17
|
-
font-weight: 600;
|
|
18
|
-
font-size: 18px;
|
|
19
|
-
line-height: 24px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
::slotted(span) {
|
|
23
|
-
font-size: 14px;
|
|
24
|
-
line-height: 20px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
::slotted(button) {
|
|
28
|
-
-webkit-appearance: none;
|
|
29
|
-
-moz-appearance: none;
|
|
30
|
-
appearance: none;
|
|
31
|
-
border: none;
|
|
32
|
-
background: transparent;
|
|
33
|
-
color: var(--color-primary, var(--color-primary-system));
|
|
34
|
-
font-weight: 600;
|
|
35
|
-
font-size: 16px;
|
|
36
|
-
line-height: 20px;
|
|
37
|
-
cursor: pointer;
|
|
38
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Component, Host, h } from "@stencil/core";
|
|
2
|
-
export class VviinnError {
|
|
3
|
-
render() {
|
|
4
|
-
return (h(Host, null,
|
|
5
|
-
h("slot", { name: "icon" }),
|
|
6
|
-
h("slot", { name: "title" }),
|
|
7
|
-
h("slot", { name: "text" }),
|
|
8
|
-
h("slot", { name: "action" })));
|
|
9
|
-
}
|
|
10
|
-
static get is() { return "vviinn-error"; }
|
|
11
|
-
static get encapsulation() { return "shadow"; }
|
|
12
|
-
static get originalStyleUrls() { return {
|
|
13
|
-
"$": ["vviinn-error.css"]
|
|
14
|
-
}; }
|
|
15
|
-
static get styleUrls() { return {
|
|
16
|
-
"$": ["vviinn-error.css"]
|
|
17
|
-
}; }
|
|
18
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Component, Host, h, Event } from "@stencil/core";
|
|
2
|
-
export class VviinnServerError {
|
|
3
|
-
render() {
|
|
4
|
-
return (h(Host, null,
|
|
5
|
-
h("vviinn-error", null,
|
|
6
|
-
h("h4", { slot: "title" }, "Keine Verbindung"),
|
|
7
|
-
h("span", { slot: "text" }, "Etwas hat leider nicht funktioniert. Bitte pr\u00FCfen Sie Ihre Internetverbindung und laden Sie das Bild noch einmal hoch."),
|
|
8
|
-
h("button", { slot: "action", onClick: () => this.actionClick.emit() }, "Erneut versuchen"))));
|
|
9
|
-
}
|
|
10
|
-
static get is() { return "vviinn-server-error"; }
|
|
11
|
-
static get encapsulation() { return "shadow"; }
|
|
12
|
-
static get originalStyleUrls() { return {
|
|
13
|
-
"$": ["vviinn-server-error.css"]
|
|
14
|
-
}; }
|
|
15
|
-
static get styleUrls() { return {
|
|
16
|
-
"$": ["vviinn-server-error.css"]
|
|
17
|
-
}; }
|
|
18
|
-
static get events() { return [{
|
|
19
|
-
"method": "actionClick",
|
|
20
|
-
"name": "actionClick",
|
|
21
|
-
"bubbles": true,
|
|
22
|
-
"cancelable": true,
|
|
23
|
-
"composed": true,
|
|
24
|
-
"docs": {
|
|
25
|
-
"tags": [],
|
|
26
|
-
"text": ""
|
|
27
|
-
},
|
|
28
|
-
"complexType": {
|
|
29
|
-
"original": "void",
|
|
30
|
-
"resolved": "void",
|
|
31
|
-
"references": {}
|
|
32
|
-
}
|
|
33
|
-
}]; }
|
|
34
|
-
}
|