@tekus/kiosks-design-system 3.15.0 → 3.16.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.
@@ -1,15 +1,19 @@
1
+ export * from '../pipes/custom-currency.pipe';
1
2
  export * from './tk-kiosk-badge';
2
3
  export * from './tk-kiosk-bar';
3
4
  export * from './tk-kiosk-btn';
4
5
  export * from './tk-kiosk-btn-category';
5
6
  export * from './tk-kiosk-btn-count';
6
7
  export * from './tk-kiosk-card';
7
- export * from './tk-kiosk-status-card';
8
+ export * from './tk-kiosk-card-resume-checkout';
9
+ export * from './tk-kiosk-check';
8
10
  export * from './tk-kiosk-check-card';
9
11
  export * from './tk-kiosk-check-card-group';
10
- export * from './tk-kiosk-check';
11
12
  export * from './tk-kiosk-check-group';
13
+ export * from './tk-kiosk-code-field';
14
+ export * from './tk-kiosk-custom-check-card';
12
15
  export * from './tk-kiosk-date-picker';
16
+ export * from './tk-kiosk-footer-navigation';
13
17
  export * from './tk-kiosk-hour-select';
14
18
  export * from './tk-kiosk-icon-btn';
15
19
  export * from './tk-kiosk-illustrations';
@@ -21,15 +25,13 @@ export * from './tk-kiosk-product-option';
21
25
  export * from './tk-kiosk-product-resume';
22
26
  export * from './tk-kiosk-product-slider';
23
27
  export * from './tk-kiosk-progress-bar';
28
+ export * from './tk-kiosk-scroll-container';
29
+ export * from './tk-kiosk-scroll-items';
24
30
  export * from './tk-kiosk-select-field';
25
31
  export * from './tk-kiosk-slider';
26
- export * from './tk-kiosk-code-field';
32
+ export * from './tk-kiosk-status-card';
33
+ export * from './tk-kiosk-stepper';
27
34
  export * from './tk-kiosk-text-field';
35
+ export * from './tk-kiosk-time-picker';
28
36
  export * from './tk-kiosk-typography';
29
37
  export * from './tk-kiosk-vertical-arrow-scroll';
30
- export * from './tk-kiosk-footer-navigation';
31
- export * from '../pipes/custom-currency.pipe';
32
- export * from './tk-kiosk-card-resume-checkout';
33
- export * from './tk-kiosk-stepper';
34
- export * from './tk-kiosk-custom-check-card';
35
- export * from './tk-kiosk-time-picker';
@@ -0,0 +1 @@
1
+ export * from './tk-kiosk-scroll-container.component';
@@ -0,0 +1,52 @@
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
2
+ import { ColorType, Orientation, Size } from '../../types';
3
+ import { TkKioskScrollItemsComponent } from '../tk-kiosk-scroll-items';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TkKioskScrollContainerComponent implements AfterViewInit, OnDestroy {
6
+ private readonly cdr;
7
+ showArrows: boolean;
8
+ hideScrollbar: boolean;
9
+ orientation: Orientation;
10
+ scrollAmount: number | 'auto';
11
+ floatingArrows: boolean;
12
+ arrowColor: ColorType;
13
+ scrollThreshold: number;
14
+ scrollDuration: number;
15
+ swipeSlidesAmount: number;
16
+ floatingArrowOffset: Size | 'auto';
17
+ scrollItemsChild?: TkKioskScrollItemsComponent;
18
+ scrollContainer: ElementRef<HTMLDivElement>;
19
+ icon: string;
20
+ showTopArrow: boolean;
21
+ showBottomArrow: boolean;
22
+ get ariaLabelTop(): string;
23
+ get ariaLabelBottom(): string;
24
+ private readonly destroy$;
25
+ private calculatedScrollAmount;
26
+ private isScrolling;
27
+ private resizeObserver?;
28
+ constructor(cdr: ChangeDetectorRef);
29
+ ngAfterViewInit(): void;
30
+ private setupInitialScrollAmount;
31
+ private setupScrollEventListeners;
32
+ private initializeAutoScrollAmount;
33
+ private setupResizeObserver;
34
+ private observeScrollItemsElement;
35
+ ngOnDestroy(): void;
36
+ scrollBackward(): void;
37
+ scrollForward(): void;
38
+ private scroll;
39
+ private getScrollAmountForDirection;
40
+ private performScroll;
41
+ private updateArrowsVisibility;
42
+ private updateVerticalArrowsVisibility;
43
+ private updateHorizontalArrowsVisibility;
44
+ private calculateScrollAmountFromItemSize;
45
+ private getFirstScrollItem;
46
+ private getScrollItemsElement;
47
+ private getScrollItemsPadding;
48
+ private getScrollItemsWrapper;
49
+ private getItemSize;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<TkKioskScrollContainerComponent, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<TkKioskScrollContainerComponent, "tk-kiosk-scroll-container", never, { "showArrows": { "alias": "showArrows"; "required": false; }; "hideScrollbar": { "alias": "hideScrollbar"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "scrollAmount": { "alias": "scrollAmount"; "required": false; }; "floatingArrows": { "alias": "floatingArrows"; "required": false; }; "arrowColor": { "alias": "arrowColor"; "required": false; }; "scrollThreshold": { "alias": "scrollThreshold"; "required": false; }; "scrollDuration": { "alias": "scrollDuration"; "required": false; }; "swipeSlidesAmount": { "alias": "swipeSlidesAmount"; "required": false; }; "floatingArrowOffset": { "alias": "floatingArrowOffset"; "required": false; }; }, {}, ["scrollItemsChild"], ["*"], true, never>;
52
+ }
@@ -0,0 +1 @@
1
+ export * from './tk-kiosk-scroll-items.component';
@@ -0,0 +1,13 @@
1
+ import { Orientation, Size } from '../../types';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TkKioskScrollItemsComponent {
4
+ spacing: Size;
5
+ orientation: Orientation;
6
+ customGap?: string;
7
+ padding: Size;
8
+ get hostPadding(): string;
9
+ get gapValue(): string;
10
+ private getSpacingValue;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<TkKioskScrollItemsComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<TkKioskScrollItemsComponent, "tk-kiosk-scroll-items", never, { "spacing": { "alias": "spacing"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "customGap": { "alias": "customGap"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; }, {}, never, ["*"], true, never>;
13
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum ColorType {
2
+ PRIMARY = "primary",
3
+ SECONDARY = "secondary",
4
+ ACCENT = "accent"
5
+ }
@@ -1,3 +1,6 @@
1
- export * from './counter';
2
- export * from './check';
3
1
  export * from './border-radius';
2
+ export * from './check';
3
+ export * from './color-type.enum';
4
+ export * from './counter';
5
+ export * from './orientation.enum';
6
+ export * from './size.enum';
@@ -0,0 +1,4 @@
1
+ export declare enum Orientation {
2
+ VERTICAL = "vertical",
3
+ HORIZONTAL = "horizontal"
4
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum Size {
2
+ NONE = "none",
3
+ SMALL = "small",
4
+ MEDIUM = "medium",
5
+ LARGE = "large"
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekus/kiosks-design-system",
3
- "version": "3.15.0",
3
+ "version": "3.16.0",
4
4
  "license": "UNLICENSED",
5
5
  "peerDependencies": {
6
6
  "@angular/animations": "^19.2.0",