@daffodil/storefront 0.0.0-PLACEHOLDER
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/README.md +21 -0
- package/carousel/README.md +49 -0
- package/carousel/index.d.ts +44 -0
- package/carousel/src/carousel-theme.scss +54 -0
- package/fesm2022/daffodil-storefront-carousel.mjs +116 -0
- package/fesm2022/daffodil-storefront-carousel.mjs.map +1 -0
- package/fesm2022/daffodil-storefront-quantity-field.mjs +460 -0
- package/fesm2022/daffodil-storefront-quantity-field.mjs.map +1 -0
- package/fesm2022/daffodil-storefront-theme-toggle.mjs +50 -0
- package/fesm2022/daffodil-storefront-theme-toggle.mjs.map +1 -0
- package/fesm2022/daffodil-storefront.mjs +4 -0
- package/fesm2022/daffodil-storefront.mjs.map +1 -0
- package/index.d.ts +2 -0
- package/package.json +49 -0
- package/quantity-field/README.md +61 -0
- package/quantity-field/index.d.ts +257 -0
- package/scss/theme.scss +5 -0
- package/theme-toggle/README.md +26 -0
- package/theme-toggle/index.d.ts +24 -0
package/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# @daffodil/storefront
|
|
2
|
+
|
|
3
|
+
`@daffodil/storefront` is an Angular component library that provides sophisticated, reusable UI components for ecommerce storefronts. Built on learnings from over a decade of ecommerce development, this library bridges the gap between basic design components and ecommerce-specific application implementations.
|
|
4
|
+
|
|
5
|
+
The source for this package is in the [Daffodil repository](https://github.com/graycoreio/daffodil/tree/develop/libs/storefront).
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
To install `@daffodil/storefront`, use the following commands in your terminal.
|
|
10
|
+
|
|
11
|
+
Install with npm:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm install @daffodil/storefront --save
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Install with yarn:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
yarn add @daffodil/storefront
|
|
21
|
+
```
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Carousel
|
|
2
|
+
Carousel is a slideshow component for cycling through a series of content.
|
|
3
|
+
|
|
4
|
+
## Overview
|
|
5
|
+
Carousel uses [Swiper](https://swiperjs.com) under the hood. For complete API documentation, refer to the Swiper documentation. Some inputs have been limited to provide better control over the user interface and keep the carousel's API smaller.
|
|
6
|
+
|
|
7
|
+
<daff-docs-example-viewer example="basic-carousel"></daff-docs-example-viewer>
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
To use carousel, import `DAFF_CAROUSEL_COMPONENTS` into your custom component:
|
|
11
|
+
|
|
12
|
+
```ts
|
|
13
|
+
import { DAFF_CAROUSEL_COMPONENTS } from '@daffodil/storefront/carousel';
|
|
14
|
+
|
|
15
|
+
@Component({
|
|
16
|
+
selector: 'custom-component',
|
|
17
|
+
templateUrl: './custom-component.component.html',
|
|
18
|
+
imports: [
|
|
19
|
+
DAFF_CAROUSEL_COMPONENTS,
|
|
20
|
+
],
|
|
21
|
+
})
|
|
22
|
+
export class CustomComponent {}
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Implementation
|
|
26
|
+
The carousel uses [Swiper](https://swiperjs.com) under the hood. For complete API documentation, refer to the Swiper documentation. Some inputs have been limited to provide better control over the UI and keep the carousel's API smaller.
|
|
27
|
+
|
|
28
|
+
### Basic structure
|
|
29
|
+
```html
|
|
30
|
+
<daff-sf-carousel>
|
|
31
|
+
<ng-template daffSfCarouselItem *ngFor="let slide of [1,2,3,4,5,6]">
|
|
32
|
+
<daff-card class="docs-card">
|
|
33
|
+
<div daffCardHeader>Header {{slide}}</div>
|
|
34
|
+
<div daffCardTitle>Title</div>
|
|
35
|
+
<div daffCardContent>
|
|
36
|
+
<p>Card content text that is relevant to the title and builds context about an image that may be added
|
|
37
|
+
to the card.</p>
|
|
38
|
+
<p>Card content with multiple paragraphs.</p>
|
|
39
|
+
</div>
|
|
40
|
+
<div daffCardActions>
|
|
41
|
+
<button daff-button type="button" color="primary">Button Text {{slide}}</button>
|
|
42
|
+
</div>
|
|
43
|
+
</daff-card>
|
|
44
|
+
</ng-template>
|
|
45
|
+
</daff-sf-carousel>
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Accessibility
|
|
49
|
+
Carousel implements Swiper's keyboard support to provide previous and next controls via the arrow keys. It also includes accessibility roles and labels, and touch support for swiping left and right.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { TemplateRef, ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
3
|
+
import * as _fortawesome_fontawesome_common_types from '@fortawesome/fontawesome-common-types';
|
|
4
|
+
import { Swiper } from 'swiper/types';
|
|
5
|
+
|
|
6
|
+
interface SwiperNativeElement {
|
|
7
|
+
initialize: () => void;
|
|
8
|
+
swiper?: Swiper;
|
|
9
|
+
classList: HTMLElement['classList'];
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* The options for a carousel.
|
|
14
|
+
*/
|
|
15
|
+
interface DaffSfCarouselOptions {
|
|
16
|
+
spaceBetween?: number;
|
|
17
|
+
slidesPerView?: number | 'auto';
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare class DaffSfCarouselComponent {
|
|
21
|
+
private cdr;
|
|
22
|
+
readonly faChevronRight: _fortawesome_fontawesome_common_types.IconDefinition;
|
|
23
|
+
readonly faChevronLeft: _fortawesome_fontawesome_common_types.IconDefinition;
|
|
24
|
+
private _options;
|
|
25
|
+
items: i0.Signal<readonly TemplateRef<any>[]>;
|
|
26
|
+
swiperElement: i0.Signal<ElementRef<SwiperNativeElement>>;
|
|
27
|
+
swiperRef: Swiper;
|
|
28
|
+
private initCarousel;
|
|
29
|
+
constructor(cdr: ChangeDetectorRef);
|
|
30
|
+
get options(): DaffSfCarouselOptions;
|
|
31
|
+
set options(val: DaffSfCarouselOptions);
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffSfCarouselComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffSfCarouselComponent, "daff-sf-carousel", never, { "options": { "alias": "options"; "required": false; }; }, {}, ["items"], ["[daffSfCarouselTitle]"], true, never>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
declare class DaffSfCarouselItemDirective {
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DaffSfCarouselItemDirective, never>;
|
|
38
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffSfCarouselItemDirective, "[daffSfCarouselItem]", never, {}, {}, never, never, true, never>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
declare const DAFF_SF_CAROUSEL_COMPONENTS: readonly [typeof DaffSfCarouselComponent, typeof DaffSfCarouselItemDirective];
|
|
42
|
+
|
|
43
|
+
export { DAFF_SF_CAROUSEL_COMPONENTS, DaffSfCarouselComponent, DaffSfCarouselItemDirective };
|
|
44
|
+
export type { DaffSfCarouselOptions };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
@use '@daffodil/design/scss/theme' as *;
|
|
2
|
+
|
|
3
|
+
@mixin daff-sf-carousel-theme($theme) {
|
|
4
|
+
$neutral: daff-get-palette($theme, neutral);
|
|
5
|
+
$base-contrast: daff-get-base-color($theme, base-contrast);
|
|
6
|
+
$mode: daff-get-theme-mode($theme);
|
|
7
|
+
|
|
8
|
+
@include light($mode) {
|
|
9
|
+
.daff-sf-carousel {
|
|
10
|
+
&__button {
|
|
11
|
+
color: $base-contrast;
|
|
12
|
+
|
|
13
|
+
&:hover {
|
|
14
|
+
color: daff-color($neutral, 80);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&[disabled] {
|
|
18
|
+
color: daff-color($neutral, 40);
|
|
19
|
+
cursor: not-allowed;
|
|
20
|
+
transform: none;
|
|
21
|
+
pointer-events: none;
|
|
22
|
+
|
|
23
|
+
&:hover,
|
|
24
|
+
&:focus,
|
|
25
|
+
&:active {
|
|
26
|
+
color: daff-color($neutral, 40);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@include dark($mode) {
|
|
34
|
+
.daff-sf-carousel {
|
|
35
|
+
&__button {
|
|
36
|
+
color: $base-contrast;
|
|
37
|
+
|
|
38
|
+
&:hover {
|
|
39
|
+
color: daff-color($neutral, 30);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&[disabled] {
|
|
43
|
+
color: daff-color($neutral, 50);
|
|
44
|
+
|
|
45
|
+
&:hover,
|
|
46
|
+
&:focus,
|
|
47
|
+
&:active {
|
|
48
|
+
color: daff-color($neutral, 50);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { Directive, InjectionToken, contentChildren, TemplateRef, viewChild, ElementRef, inject, afterNextRender, effect, Input, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
|
|
4
|
+
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
|
|
5
|
+
import { faChevronRight, faChevronLeft } from '@fortawesome/free-solid-svg-icons';
|
|
6
|
+
import { register } from 'swiper/element/bundle';
|
|
7
|
+
|
|
8
|
+
class DaffSfCarouselItemDirective {
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffSfCarouselItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
10
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: DaffSfCarouselItemDirective, isStandalone: true, selector: "[daffSfCarouselItem]", host: { classAttribute: "daff-sf-carousel-item" }, ngImport: i0 }); }
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffSfCarouselItemDirective, decorators: [{
|
|
13
|
+
type: Directive,
|
|
14
|
+
args: [{
|
|
15
|
+
selector: '[daffSfCarouselItem]',
|
|
16
|
+
host: {
|
|
17
|
+
class: 'daff-sf-carousel-item',
|
|
18
|
+
},
|
|
19
|
+
}]
|
|
20
|
+
}] });
|
|
21
|
+
|
|
22
|
+
let registered = false;
|
|
23
|
+
/**
|
|
24
|
+
* Injection token for DaffSfCarouselComponent initialization
|
|
25
|
+
* Automatically registers Swiper custom elements once globally when first injected
|
|
26
|
+
*/
|
|
27
|
+
const DAFF_SF_CAROUSEL_INIT = new InjectionToken('DAFF_SF_CAROUSEL_INIT', {
|
|
28
|
+
providedIn: 'root',
|
|
29
|
+
factory: () => {
|
|
30
|
+
if (!registered) {
|
|
31
|
+
register();
|
|
32
|
+
registered = true;
|
|
33
|
+
}
|
|
34
|
+
return true;
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
class DaffSfCarouselComponent {
|
|
39
|
+
constructor(cdr) {
|
|
40
|
+
this.cdr = cdr;
|
|
41
|
+
this.faChevronRight = faChevronRight;
|
|
42
|
+
this.faChevronLeft = faChevronLeft;
|
|
43
|
+
this.items = contentChildren(DaffSfCarouselItemDirective, ...(ngDevMode ? [{ debugName: "items", read: (TemplateRef) }] : [{ read: (TemplateRef) }]));
|
|
44
|
+
this.swiperElement = viewChild('swiperElement', ...(ngDevMode ? [{ debugName: "swiperElement", read: (ElementRef) }] : [{ read: (ElementRef) }]));
|
|
45
|
+
this.swiperRef = undefined;
|
|
46
|
+
this.initCarousel = inject(DAFF_SF_CAROUSEL_INIT);
|
|
47
|
+
this.options = {};
|
|
48
|
+
afterNextRender({
|
|
49
|
+
write: () => {
|
|
50
|
+
Object.assign(this.swiperElement().nativeElement, this.options);
|
|
51
|
+
this.swiperElement().nativeElement.initialize();
|
|
52
|
+
this.swiperElement().nativeElement.classList.add('swiper-initialized');
|
|
53
|
+
this.swiperRef = this.swiperElement().nativeElement.swiper;
|
|
54
|
+
this.swiperRef.on('slideChange', () => {
|
|
55
|
+
this.cdr.detectChanges();
|
|
56
|
+
});
|
|
57
|
+
// Force Angular to update the bindings
|
|
58
|
+
this.cdr.detectChanges();
|
|
59
|
+
},
|
|
60
|
+
});
|
|
61
|
+
effect(() => {
|
|
62
|
+
const currentSlides = this.items();
|
|
63
|
+
const swiper = this.swiperRef;
|
|
64
|
+
if (!swiper) {
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
;
|
|
68
|
+
queueMicrotask(() => {
|
|
69
|
+
swiper.update();
|
|
70
|
+
this.cdr.detectChanges();
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
get options() {
|
|
75
|
+
return {
|
|
76
|
+
...{
|
|
77
|
+
slidesPerView: 'auto',
|
|
78
|
+
spaceBetween: 16,
|
|
79
|
+
keyboard: true,
|
|
80
|
+
},
|
|
81
|
+
...this._options,
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
set options(val) {
|
|
85
|
+
this._options = val;
|
|
86
|
+
}
|
|
87
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffSfCarouselComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
88
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: DaffSfCarouselComponent, isStandalone: true, selector: "daff-sf-carousel", inputs: { options: "options" }, host: { attributes: { "ngSkipHydration": "true", "tabindex": "0" }, classAttribute: "daff-sf-carousel" }, queries: [{ propertyName: "items", predicate: DaffSfCarouselItemDirective, read: TemplateRef, isSignal: true }], viewQueries: [{ propertyName: "swiperElement", first: true, predicate: ["swiperElement"], descendants: true, read: ElementRef, isSignal: true }], ngImport: i0, template: "<div class=\"daff-sf-carousel__heading\">\n <ng-content select=\"[daffSfCarouselTitle]\"></ng-content>\n\t<div class=\"daff-sf-carousel__nav\">\n\t\t<button class=\"daff-sf-carousel__button\" aria-hidden=\"true\" tabindex=\"-1\" (click)=\"swiperRef.slidePrev()\" [disabled]=\"swiperRef?.isBeginning\">\n\t\t\t<fa-icon [icon]=\"faChevronLeft\"></fa-icon>\n\t\t</button>\n\t\t<button class=\"daff-sf-carousel__button\" aria-hidden=\"true\" tabindex=\"-1\" (click)=\"swiperRef.slideNext()\" [disabled]=\"swiperRef?.isEnd\">\n\t\t\t<fa-icon [icon]=\"faChevronRight\"></fa-icon>\n\t\t</button>\n\t</div>\n</div>\n\n<swiper-container init=\"false\" #swiperElement>\n\t@for (item of items(); track item) {\n\t\t <swiper-slide>\n\t\t\t\t<ng-container\n\t\t\t\t\t*ngTemplateOutlet=\"item\">\n\t\t\t\t</ng-container>\n\t\t\t</swiper-slide>\n\t}\n</swiper-container>", styles: [":root{--swiper-theme-color: #007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:\"\";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:#00000026}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,#00000080,#0000)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}:is(.swiper:not(.swiper-watch-progress),.swiper-watch-progress .swiper-slide-visible) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black{--swiper-preloader-color: #000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}swiper-container:not(.swiper-initialized){display:flex;overflow:hidden;gap:.5rem}swiper-slide{display:inline-block;width:max-content}.daff-sf-carousel{display:block}.daff-sf-carousel__heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 1.5rem}.daff-sf-carousel__nav{display:flex;align-items:center}.daff-sf-carousel__button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;appearance:none;background:none;border:0;flex-shrink:0;font-size:1rem;font-weight:500;height:2.5rem;width:2.5rem;line-height:2.5rem;padding:0;position:relative;text-align:center;text-decoration:none;vertical-align:baseline;box-sizing:border-box}.daff-sf-carousel__button[disabled]{cursor:not-allowed;pointer-events:none}\n"], dependencies: [{ kind: "component", type: FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"], outputs: ["iconChange", "titleChange", "animationChange", "maskChange", "flipChange", "sizeChange", "pullChange", "borderChange", "inverseChange", "symbolChange", "rotateChange", "fixedWidthChange", "transformChange", "a11yRoleChange"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
89
|
+
}
|
|
90
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DaffSfCarouselComponent, decorators: [{
|
|
91
|
+
type: Component,
|
|
92
|
+
args: [{ selector: 'daff-sf-carousel', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
93
|
+
ngSkipHydration: 'true',
|
|
94
|
+
class: 'daff-sf-carousel',
|
|
95
|
+
tabindex: '0',
|
|
96
|
+
}, imports: [
|
|
97
|
+
FaIconComponent,
|
|
98
|
+
NgTemplateOutlet,
|
|
99
|
+
], schemas: [
|
|
100
|
+
CUSTOM_ELEMENTS_SCHEMA,
|
|
101
|
+
], template: "<div class=\"daff-sf-carousel__heading\">\n <ng-content select=\"[daffSfCarouselTitle]\"></ng-content>\n\t<div class=\"daff-sf-carousel__nav\">\n\t\t<button class=\"daff-sf-carousel__button\" aria-hidden=\"true\" tabindex=\"-1\" (click)=\"swiperRef.slidePrev()\" [disabled]=\"swiperRef?.isBeginning\">\n\t\t\t<fa-icon [icon]=\"faChevronLeft\"></fa-icon>\n\t\t</button>\n\t\t<button class=\"daff-sf-carousel__button\" aria-hidden=\"true\" tabindex=\"-1\" (click)=\"swiperRef.slideNext()\" [disabled]=\"swiperRef?.isEnd\">\n\t\t\t<fa-icon [icon]=\"faChevronRight\"></fa-icon>\n\t\t</button>\n\t</div>\n</div>\n\n<swiper-container init=\"false\" #swiperElement>\n\t@for (item of items(); track item) {\n\t\t <swiper-slide>\n\t\t\t\t<ng-container\n\t\t\t\t\t*ngTemplateOutlet=\"item\">\n\t\t\t\t</ng-container>\n\t\t\t</swiper-slide>\n\t}\n</swiper-container>", styles: [":root{--swiper-theme-color: #007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:\"\";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:#00000026}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,#00000080,#0000)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}:is(.swiper:not(.swiper-watch-progress),.swiper-watch-progress .swiper-slide-visible) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black{--swiper-preloader-color: #000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}swiper-container:not(.swiper-initialized){display:flex;overflow:hidden;gap:.5rem}swiper-slide{display:inline-block;width:max-content}.daff-sf-carousel{display:block}.daff-sf-carousel__heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 1.5rem}.daff-sf-carousel__nav{display:flex;align-items:center}.daff-sf-carousel__button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;appearance:none;background:none;border:0;flex-shrink:0;font-size:1rem;font-weight:500;height:2.5rem;width:2.5rem;line-height:2.5rem;padding:0;position:relative;text-align:center;text-decoration:none;vertical-align:baseline;box-sizing:border-box}.daff-sf-carousel__button[disabled]{cursor:not-allowed;pointer-events:none}\n"] }]
|
|
102
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { items: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => DaffSfCarouselItemDirective), { ...{ read: (TemplateRef) }, isSignal: true }] }], swiperElement: [{ type: i0.ViewChild, args: ['swiperElement', { ...{ read: (ElementRef) }, isSignal: true }] }], options: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}] } });
|
|
105
|
+
|
|
106
|
+
const DAFF_SF_CAROUSEL_COMPONENTS = [
|
|
107
|
+
DaffSfCarouselComponent,
|
|
108
|
+
DaffSfCarouselItemDirective,
|
|
109
|
+
];
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Generated bundle index. Do not edit.
|
|
113
|
+
*/
|
|
114
|
+
|
|
115
|
+
export { DAFF_SF_CAROUSEL_COMPONENTS, DaffSfCarouselComponent, DaffSfCarouselItemDirective };
|
|
116
|
+
//# sourceMappingURL=daffodil-storefront-carousel.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"daffodil-storefront-carousel.mjs","sources":["../../../libs/storefront/carousel/src/carousel-item/carousel-item.directive.ts","../../../libs/storefront/carousel/src/provider.ts","../../../libs/storefront/carousel/src/carousel/carousel.component.ts","../../../libs/storefront/carousel/src/carousel/carousel.component.html","../../../libs/storefront/carousel/src/carousel.ts","../../../libs/storefront/carousel/src/daffodil-storefront-carousel.ts"],"sourcesContent":["import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[daffSfCarouselItem]',\n host: {\n class: 'daff-sf-carousel-item',\n },\n})\nexport class DaffSfCarouselItemDirective {}\n","import { InjectionToken } from '@angular/core';\nimport { register } from 'swiper/element/bundle';\n\nlet registered = false;\n\n/**\n * Injection token for DaffSfCarouselComponent initialization\n * Automatically registers Swiper custom elements once globally when first injected\n */\nexport const DAFF_SF_CAROUSEL_INIT = new InjectionToken<true>(\n 'DAFF_SF_CAROUSEL_INIT',\n {\n providedIn: 'root',\n factory: () => {\n if (!registered) {\n register();\n registered = true;\n }\n return true;\n },\n },\n);\n\n","\n\nimport { NgTemplateOutlet } from '@angular/common';\nimport {\n afterNextRender,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n contentChildren,\n CUSTOM_ELEMENTS_SCHEMA,\n effect,\n ElementRef,\n inject,\n Input,\n TemplateRef,\n viewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { FaIconComponent } from '@fortawesome/angular-fontawesome';\nimport {\n faChevronRight,\n faChevronLeft,\n} from '@fortawesome/free-solid-svg-icons';\nimport { Swiper } from 'swiper/types';\n\nimport { SwiperNativeElement } from './swiper-native-element';\nimport { DaffSfCarouselItemDirective } from '../carousel-item/carousel-item.directive';\nimport { DaffSfCarouselOptions } from '../options';\nimport { DAFF_SF_CAROUSEL_INIT } from '../provider';\n\n@Component({\n selector: 'daff-sf-carousel',\n templateUrl: './carousel.component.html',\n styleUrls: ['./carousel.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n ngSkipHydration: 'true',\n class: 'daff-sf-carousel',\n tabindex: '0',\n },\n imports: [\n FaIconComponent,\n NgTemplateOutlet,\n ],\n schemas: [\n CUSTOM_ELEMENTS_SCHEMA,\n ],\n})\nexport class DaffSfCarouselComponent {\n readonly faChevronRight = faChevronRight;\n readonly faChevronLeft = faChevronLeft;\n\n private _options: DaffSfCarouselOptions;\n\n items = contentChildren(DaffSfCarouselItemDirective, { read: TemplateRef<any> });\n\n swiperElement = viewChild<unknown,ElementRef<SwiperNativeElement>>('swiperElement', { read: ElementRef<any> });\n\n swiperRef: Swiper = undefined;\n\n private initCarousel = inject(DAFF_SF_CAROUSEL_INIT);\n\n constructor(private cdr: ChangeDetectorRef) {\n this.options = {};\n\n afterNextRender({\n write: () => {\n Object.assign(this.swiperElement().nativeElement, this.options);\n this.swiperElement().nativeElement.initialize();\n this.swiperElement().nativeElement.classList.add('swiper-initialized');\n this.swiperRef = this.swiperElement().nativeElement.swiper;\n this.swiperRef.on('slideChange', () => {\n this.cdr.detectChanges();\n });\n // Force Angular to update the bindings\n\n this.cdr.detectChanges();\n },\n });\n\n effect(() => {\n const currentSlides = this.items();\n const swiper = this.swiperRef;\n if (!swiper) {\n return;\n };\n\n queueMicrotask(() => {\n swiper.update();\n this.cdr.detectChanges();\n });\n });\n }\n\n @Input()\n get options(): DaffSfCarouselOptions {\n return {\n ...{\n slidesPerView: 'auto',\n spaceBetween: 16,\n keyboard: true,\n },\n ...this._options,\n };\n }\n set options(val: DaffSfCarouselOptions) {\n this._options = val;\n }\n}\n","<div class=\"daff-sf-carousel__heading\">\n <ng-content select=\"[daffSfCarouselTitle]\"></ng-content>\n\t<div class=\"daff-sf-carousel__nav\">\n\t\t<button class=\"daff-sf-carousel__button\" aria-hidden=\"true\" tabindex=\"-1\" (click)=\"swiperRef.slidePrev()\" [disabled]=\"swiperRef?.isBeginning\">\n\t\t\t<fa-icon [icon]=\"faChevronLeft\"></fa-icon>\n\t\t</button>\n\t\t<button class=\"daff-sf-carousel__button\" aria-hidden=\"true\" tabindex=\"-1\" (click)=\"swiperRef.slideNext()\" [disabled]=\"swiperRef?.isEnd\">\n\t\t\t<fa-icon [icon]=\"faChevronRight\"></fa-icon>\n\t\t</button>\n\t</div>\n</div>\n\n<swiper-container init=\"false\" #swiperElement>\n\t@for (item of items(); track item) {\n\t\t <swiper-slide>\n\t\t\t\t<ng-container\n\t\t\t\t\t*ngTemplateOutlet=\"item\">\n\t\t\t\t</ng-container>\n\t\t\t</swiper-slide>\n\t}\n</swiper-container>","import { DaffSfCarouselComponent } from './carousel/carousel.component';\nimport { DaffSfCarouselItemDirective } from './carousel-item/carousel-item.directive';\n\nexport const DAFF_SF_CAROUSEL_COMPONENTS = <const> [\n DaffSfCarouselComponent,\n DaffSfCarouselItemDirective,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;MAQa,2BAA2B,CAAA;+GAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,uBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBANvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,IAAI,EAAE;AACJ,wBAAA,KAAK,EAAE,uBAAuB;AAC/B,qBAAA;AACF,iBAAA;;;ACJD,IAAI,UAAU,GAAG,KAAK;AAEtB;;;AAGG;AACI,MAAM,qBAAqB,GAAG,IAAI,cAAc,CACrD,uBAAuB,EACvB;AACE,IAAA,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE,MAAK;QACZ,IAAI,CAAC,UAAU,EAAE;AACf,YAAA,QAAQ,EAAE;YACV,UAAU,GAAG,IAAI;QACnB;AACA,QAAA,OAAO,IAAI;IACb,CAAC;AACF,CAAA,CACF;;MC4BY,uBAAuB,CAAA;AAclC,IAAA,WAAA,CAAoB,GAA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