@elxjs/ui 0.0.233 → 0.0.234

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.
Files changed (143) hide show
  1. package/assets/styles/colors.scss +3 -1
  2. package/assets/styles/inputs.scss +14 -14
  3. package/assets/styles/typography.scss +0 -2
  4. package/fesm2022/elxjs-ui.mjs +153 -153
  5. package/fesm2022/elxjs-ui.mjs.map +1 -1
  6. package/index.d.ts +973 -1
  7. package/package.json +1 -3
  8. package/esm2022/elxjs-ui.mjs +0 -5
  9. package/esm2022/index.mjs +0 -2
  10. package/esm2022/lib/components/accordion/accordion.component.mjs +0 -72
  11. package/esm2022/lib/components/accordion/index.mjs +0 -2
  12. package/esm2022/lib/components/arrow-link/arrow-link.component.mjs +0 -29
  13. package/esm2022/lib/components/arrow-link/index.mjs +0 -2
  14. package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +0 -48
  15. package/esm2022/lib/components/breadcrumb/index.mjs +0 -2
  16. package/esm2022/lib/components/button/button.component.mjs +0 -92
  17. package/esm2022/lib/components/button/index.mjs +0 -2
  18. package/esm2022/lib/components/card-1/card1.component.mjs +0 -20
  19. package/esm2022/lib/components/card-1/index.mjs +0 -2
  20. package/esm2022/lib/components/card-2/card2.component.mjs +0 -16
  21. package/esm2022/lib/components/card-2/index.mjs +0 -2
  22. package/esm2022/lib/components/card-3/card3.component.mjs +0 -18
  23. package/esm2022/lib/components/card-3/index.mjs +0 -2
  24. package/esm2022/lib/components/card-4/card4.component.mjs +0 -16
  25. package/esm2022/lib/components/card-4/index.mjs +0 -2
  26. package/esm2022/lib/components/card-article/card-article.component.mjs +0 -31
  27. package/esm2022/lib/components/card-benefit/card-benefit.component.mjs +0 -112
  28. package/esm2022/lib/components/card-manual/card-manual.component.mjs +0 -26
  29. package/esm2022/lib/components/card-product/card-product.component.mjs +0 -63
  30. package/esm2022/lib/components/card-product-2/card-product-2.component.mjs +0 -47
  31. package/esm2022/lib/components/card-routine/card-routine.component.mjs +0 -73
  32. package/esm2022/lib/components/card-service-order/card-service-order.component.mjs +0 -63
  33. package/esm2022/lib/components/carousel/carousel.component.mjs +0 -451
  34. package/esm2022/lib/components/carousel/index.mjs +0 -2
  35. package/esm2022/lib/components/carousel-bleed/carousel-bleed.component.mjs +0 -570
  36. package/esm2022/lib/components/carousel-fixed-deprecated/carousel-fixed.component.mjs +0 -472
  37. package/esm2022/lib/components/chip/chip.component.mjs +0 -27
  38. package/esm2022/lib/components/chip/index.mjs +0 -2
  39. package/esm2022/lib/components/datatable/datatable.component.mjs +0 -148
  40. package/esm2022/lib/components/datatable/datatable.component.types.mjs +0 -2
  41. package/esm2022/lib/components/datatable/index.mjs +0 -3
  42. package/esm2022/lib/components/datepicker/datepicker.component.mjs +0 -382
  43. package/esm2022/lib/components/datepicker/index.mjs +0 -2
  44. package/esm2022/lib/components/dropdown/dropdown.component.mjs +0 -160
  45. package/esm2022/lib/components/dropdown/dropdown.service.mjs +0 -19
  46. package/esm2022/lib/components/dropdown/index.mjs +0 -2
  47. package/esm2022/lib/components/dropdown-multiple/dropdown-multiple.component.mjs +0 -76
  48. package/esm2022/lib/components/dropdown-multiple/index.mjs +0 -2
  49. package/esm2022/lib/components/icon/icon.component.mjs +0 -58
  50. package/esm2022/lib/components/icon/index.mjs +0 -2
  51. package/esm2022/lib/components/index.mjs +0 -73
  52. package/esm2022/lib/components/input-search/index.mjs +0 -2
  53. package/esm2022/lib/components/input-search/input-search.component.mjs +0 -73
  54. package/esm2022/lib/components/input-search-modal/index.mjs +0 -2
  55. package/esm2022/lib/components/input-search-modal/input-search-modal.component.mjs +0 -29
  56. package/esm2022/lib/components/loading/index.mjs +0 -2
  57. package/esm2022/lib/components/loading/loading.component.mjs +0 -21
  58. package/esm2022/lib/components/loading-2/index.mjs +0 -2
  59. package/esm2022/lib/components/loading-2/loading-2.component.mjs +0 -16
  60. package/esm2022/lib/components/modal/index.mjs +0 -2
  61. package/esm2022/lib/components/modal/modal.component.mjs +0 -31
  62. package/esm2022/lib/components/paginator/index.mjs +0 -2
  63. package/esm2022/lib/components/paginator/paginator.component.mjs +0 -128
  64. package/esm2022/lib/components/stepbar/index.mjs +0 -2
  65. package/esm2022/lib/components/stepbar/stepbar.component.mjs +0 -41
  66. package/esm2022/lib/components/switch/index.mjs +0 -2
  67. package/esm2022/lib/components/switch/switch.component.mjs +0 -47
  68. package/esm2022/lib/components/to-do-list/index.mjs +0 -2
  69. package/esm2022/lib/components/to-do-list/to-do-list.component.mjs +0 -143
  70. package/esm2022/lib/components/toast/index.mjs +0 -2
  71. package/esm2022/lib/components/toast/toast.component.mjs +0 -28
  72. package/esm2022/lib/index.mjs +0 -4
  73. package/esm2022/lib/modules/electrolux-design-system.module.mjs +0 -35
  74. package/esm2022/lib/modules/index.mjs +0 -2
  75. package/esm2022/lib/services/index.mjs +0 -2
  76. package/esm2022/lib/services/toaster.service.mjs +0 -53
  77. package/lib/components/accordion/accordion.component.d.ts +0 -22
  78. package/lib/components/accordion/index.d.ts +0 -1
  79. package/lib/components/arrow-link/arrow-link.component.d.ts +0 -9
  80. package/lib/components/arrow-link/index.d.ts +0 -1
  81. package/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -17
  82. package/lib/components/breadcrumb/index.d.ts +0 -1
  83. package/lib/components/button/button.component.d.ts +0 -28
  84. package/lib/components/button/index.d.ts +0 -1
  85. package/lib/components/card-1/card1.component.d.ts +0 -8
  86. package/lib/components/card-1/index.d.ts +0 -1
  87. package/lib/components/card-2/card2.component.d.ts +0 -7
  88. package/lib/components/card-2/index.d.ts +0 -1
  89. package/lib/components/card-3/card3.component.d.ts +0 -8
  90. package/lib/components/card-3/index.d.ts +0 -1
  91. package/lib/components/card-4/card4.component.d.ts +0 -7
  92. package/lib/components/card-4/index.d.ts +0 -1
  93. package/lib/components/card-article/card-article.component.d.ts +0 -11
  94. package/lib/components/card-benefit/card-benefit.component.d.ts +0 -30
  95. package/lib/components/card-manual/card-manual.component.d.ts +0 -10
  96. package/lib/components/card-product/card-product.component.d.ts +0 -19
  97. package/lib/components/card-product-2/card-product-2.component.d.ts +0 -16
  98. package/lib/components/card-routine/card-routine.component.d.ts +0 -17
  99. package/lib/components/card-service-order/card-service-order.component.d.ts +0 -27
  100. package/lib/components/carousel/carousel.component.d.ts +0 -96
  101. package/lib/components/carousel/index.d.ts +0 -1
  102. package/lib/components/carousel-bleed/carousel-bleed.component.d.ts +0 -97
  103. package/lib/components/carousel-fixed-deprecated/carousel-fixed.component.d.ts +0 -71
  104. package/lib/components/chip/chip.component.d.ts +0 -10
  105. package/lib/components/chip/index.d.ts +0 -1
  106. package/lib/components/datatable/datatable.component.d.ts +0 -43
  107. package/lib/components/datatable/datatable.component.types.d.ts +0 -55
  108. package/lib/components/datatable/index.d.ts +0 -2
  109. package/lib/components/datepicker/datepicker.component.d.ts +0 -81
  110. package/lib/components/datepicker/index.d.ts +0 -1
  111. package/lib/components/dropdown/dropdown.component.d.ts +0 -44
  112. package/lib/components/dropdown/dropdown.service.d.ts +0 -8
  113. package/lib/components/dropdown/index.d.ts +0 -1
  114. package/lib/components/dropdown-multiple/dropdown-multiple.component.d.ts +0 -27
  115. package/lib/components/dropdown-multiple/index.d.ts +0 -1
  116. package/lib/components/icon/icon.component.d.ts +0 -29
  117. package/lib/components/icon/index.d.ts +0 -1
  118. package/lib/components/index.d.ts +0 -36
  119. package/lib/components/input-search/index.d.ts +0 -1
  120. package/lib/components/input-search/input-search.component.d.ts +0 -26
  121. package/lib/components/input-search-modal/index.d.ts +0 -1
  122. package/lib/components/input-search-modal/input-search-modal.component.d.ts +0 -13
  123. package/lib/components/loading/index.d.ts +0 -1
  124. package/lib/components/loading/loading.component.d.ts +0 -7
  125. package/lib/components/loading-2/index.d.ts +0 -1
  126. package/lib/components/loading-2/loading-2.component.d.ts +0 -6
  127. package/lib/components/modal/index.d.ts +0 -1
  128. package/lib/components/modal/modal.component.d.ts +0 -10
  129. package/lib/components/paginator/index.d.ts +0 -1
  130. package/lib/components/paginator/paginator.component.d.ts +0 -33
  131. package/lib/components/stepbar/index.d.ts +0 -1
  132. package/lib/components/stepbar/stepbar.component.d.ts +0 -14
  133. package/lib/components/switch/index.d.ts +0 -1
  134. package/lib/components/switch/switch.component.d.ts +0 -10
  135. package/lib/components/to-do-list/index.d.ts +0 -1
  136. package/lib/components/to-do-list/to-do-list.component.d.ts +0 -47
  137. package/lib/components/toast/index.d.ts +0 -1
  138. package/lib/components/toast/toast.component.d.ts +0 -11
  139. package/lib/index.d.ts +0 -3
  140. package/lib/modules/electrolux-design-system.module.d.ts +0 -25
  141. package/lib/modules/index.d.ts +0 -1
  142. package/lib/services/index.d.ts +0 -1
  143. package/lib/services/toaster.service.d.ts +0 -14
@@ -1,16 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class EluxCardProduct2 {
4
- productCode: string;
5
- productDescription: string;
6
- productVoltage: string;
7
- productImage: string;
8
- redirectUrl: string;
9
- redirectText: string;
10
- orientation: 'horizontal' | 'vertical';
11
- redirectClick: EventEmitter<MouseEvent>;
12
- get isVertical(): boolean;
13
- onRedirectClick(event: MouseEvent): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<EluxCardProduct2, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<EluxCardProduct2, "lib-elux-card-product-2", never, { "productCode": { "alias": "productCode"; "required": false; }; "productDescription": { "alias": "productDescription"; "required": false; }; "productVoltage": { "alias": "productVoltage"; "required": false; }; "productImage": { "alias": "productImage"; "required": false; }; "redirectUrl": { "alias": "redirectUrl"; "required": false; }; "redirectText": { "alias": "redirectText"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; }, { "redirectClick": "redirectClick"; }, never, never, true, never>;
16
- }
@@ -1,17 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class EluxCardRoutine {
3
- image: string;
4
- routerLink?: string;
5
- title: string;
6
- nextExecutionDate: string;
7
- lastExecutionDate?: string;
8
- activationDate?: string;
9
- frequencyInMonths?: number;
10
- formatDate(dateString: string): string;
11
- checkIfIsUpdated(): boolean;
12
- getReminderStatus(): string;
13
- getReminderStatusColor(): string;
14
- private calculateDifferenceInMonthsWithNow;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<EluxCardRoutine, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<EluxCardRoutine, "elux-card-routine", never, { "image": { "alias": "image"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "title": { "alias": "title"; "required": false; }; "nextExecutionDate": { "alias": "nextExecutionDate"; "required": false; }; "lastExecutionDate": { "alias": "lastExecutionDate"; "required": false; }; "activationDate": { "alias": "activationDate"; "required": false; }; "frequencyInMonths": { "alias": "frequencyInMonths"; "required": false; }; }, {}, never, never, true, never>;
17
- }
@@ -1,27 +0,0 @@
1
- import { Router } from '@angular/router';
2
- import * as i0 from "@angular/core";
3
- export interface ServiceOrderCardData {
4
- routerLink: string;
5
- type: string;
6
- date?: string;
7
- productName: string;
8
- productImageUrl: string;
9
- productImageAlt?: string;
10
- statusName: string;
11
- statusColor: string;
12
- }
13
- export declare class EluxCardServiceOrder {
14
- private readonly router;
15
- constructor(router: Router);
16
- type: string;
17
- routerLink: string;
18
- date: string;
19
- productName: string;
20
- productImageUrl: string;
21
- statusName: string;
22
- statusColor: string;
23
- navigateToDetail(): void;
24
- getContrastTextColor(hexColor: string): string;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<EluxCardServiceOrder, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<EluxCardServiceOrder, "lib-elux-card-service-order", never, { "type": { "alias": "type"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": true; }; "date": { "alias": "date"; "required": false; }; "productName": { "alias": "productName"; "required": true; }; "productImageUrl": { "alias": "productImageUrl"; "required": true; }; "statusName": { "alias": "statusName"; "required": true; }; "statusColor": { "alias": "statusColor"; "required": true; }; }, {}, never, never, true, never>;
27
- }
@@ -1,96 +0,0 @@
1
- import { AfterContentInit, ElementRef, EventEmitter, OnDestroy, QueryList, Renderer2 } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export type ProductItem = {
4
- name: string;
5
- image: string;
6
- };
7
- export type CarouselTheme = 'theme1' | 'theme2';
8
- export declare class EluxCarouselComponent implements AfterContentInit, OnDestroy {
9
- private renderer;
10
- items: QueryList<ElementRef>;
11
- dotsContainer: ElementRef;
12
- slidesContainer: ElementRef;
13
- itemsPerSlide: number;
14
- gap: number;
15
- title: string;
16
- theme: CarouselTheme;
17
- previousClickEventEmitter: EventEmitter<Event>;
18
- nextClickEventEmitter: EventEmitter<Event>;
19
- dotClickEventEmitter: EventEmitter<Event>;
20
- currentStepIndex: number;
21
- offset: number;
22
- private isDragging;
23
- private startX;
24
- private currentX;
25
- private initialOffset;
26
- private dragOffset;
27
- private containerWidth;
28
- private maxOffset;
29
- private minOffset;
30
- private velocity;
31
- private lastMoveTime;
32
- private lastMoveX;
33
- private pointerStartTime;
34
- private pointerStartX;
35
- private pointerStartY;
36
- private pointerDownType;
37
- private activePointerId;
38
- private pointerCaptured;
39
- private isVerticalScroll;
40
- private clicksDisabled;
41
- private clickListeners;
42
- private itemsChangesSubscription;
43
- private hasDragged;
44
- private readonly resizeHandler;
45
- private readonly windowPointerUpHandler;
46
- private readonly windowPointerCancelHandler;
47
- private readonly transitionDuration;
48
- private readonly dragThresholdPx;
49
- private readonly touchDragThresholdPx;
50
- private readonly holdToDragThresholdMs;
51
- private readonly touchDurationThresholdMs;
52
- private readonly clickDisableDelayMs;
53
- private readonly clearDraggedDelayMs;
54
- private readonly slideChangeThresholdPx;
55
- private readonly momentumThreshold;
56
- private readonly edgeResistance;
57
- constructor(renderer: Renderer2);
58
- ngAfterContentInit(): void;
59
- ngOnDestroy(): void;
60
- private refreshLayout;
61
- private calculateDimensions;
62
- private updateLimits;
63
- private getPageWidthPercent;
64
- private getTotalSteps;
65
- canGoNext(): boolean;
66
- canGoPrevious(): boolean;
67
- private onResize;
68
- private setItemWidths;
69
- onPointerDown(event: PointerEvent): void;
70
- onPointerMove(event: PointerEvent): void;
71
- onPointerUp(event: PointerEvent): void;
72
- onPointerCancel(event: PointerEvent): void;
73
- private onWindowPointerUp;
74
- private onWindowPointerCancel;
75
- onNativeDragStart(event: DragEvent): void;
76
- private resetPointerState;
77
- private addWindowPointerListeners;
78
- private removeWindowPointerListeners;
79
- private setupClickPrevention;
80
- private startDrag;
81
- private updateDrag;
82
- private updateDragPosition;
83
- private endDrag;
84
- private cancelDrag;
85
- private setSlidesTransition;
86
- getStepIndexCount(): number[];
87
- getCurrentStepIndex(): number;
88
- goToFirstSlide(): void;
89
- goToSlide(index: number): void;
90
- prevSlide(): void;
91
- nextSlide(): void;
92
- updateOffset(): void;
93
- private scrollActiveDotIntoView;
94
- static ɵfac: i0.ɵɵFactoryDeclaration<EluxCarouselComponent, never>;
95
- static ɵcmp: i0.ɵɵComponentDeclaration<EluxCarouselComponent, "lib-elux-carousel", never, { "itemsPerSlide": { "alias": "itemsPerSlide"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; "title": { "alias": "title"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, { "previousClickEventEmitter": "previousClickEventEmitter"; "nextClickEventEmitter": "nextClickEventEmitter"; "dotClickEventEmitter": "dotClickEventEmitter"; }, ["items"], ["*"], true, never>;
96
- }
@@ -1 +0,0 @@
1
- export * from './carousel.component';
@@ -1,97 +0,0 @@
1
- import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, OnDestroy, QueryList, Renderer2 } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export type CarouselBleedTheme = 'theme1' | 'theme2';
4
- export declare class EluxCarouselBleedComponent implements AfterContentInit, AfterViewInit, OnDestroy {
5
- private renderer;
6
- items: QueryList<ElementRef>;
7
- slidesContainer: ElementRef;
8
- bleedShell: ElementRef<HTMLDivElement>;
9
- dotsContainer: ElementRef<HTMLDivElement>;
10
- itemWidth: number;
11
- gap: number;
12
- title: string;
13
- theme: CarouselBleedTheme;
14
- previousClickEventEmitter: EventEmitter<Event>;
15
- nextClickEventEmitter: EventEmitter<Event>;
16
- dotClickEventEmitter: EventEmitter<Event>;
17
- currentIndex: number;
18
- translateX: number;
19
- private isDragging;
20
- private startX;
21
- private currentX;
22
- private initialTranslateX;
23
- private dragOffset;
24
- private containerWidth;
25
- private maxTranslateX;
26
- private minTranslateX;
27
- private velocity;
28
- private lastMoveTime;
29
- private lastMoveX;
30
- private pointerStartTime;
31
- private pointerStartX;
32
- private pointerStartY;
33
- private pointerDownType;
34
- private activePointerId;
35
- private pointerCaptured;
36
- private isVerticalScroll;
37
- private hasDragged;
38
- private clicksDisabled;
39
- private clickListeners;
40
- private resizeRafId;
41
- private lastLeftOffset;
42
- private lastScrollbarWidth;
43
- private readonly windowPointerUpHandler;
44
- private readonly windowPointerCancelHandler;
45
- private readonly transitionDuration;
46
- private readonly dragThresholdPx;
47
- private readonly touchDragThresholdPx;
48
- private readonly holdToDragThresholdMs;
49
- private readonly touchDurationThresholdMs;
50
- private readonly clickDisableDelayMs;
51
- private readonly clearDraggedDelayMs;
52
- constructor(renderer: Renderer2);
53
- private calculateBleedOffsets;
54
- private scheduleResize;
55
- ngAfterContentInit(): void;
56
- ngOnDestroy(): void;
57
- private calculateDimensions;
58
- private updateLimits;
59
- private onResize;
60
- ngAfterViewInit(): void;
61
- private setItemWidths;
62
- private isDragStartAllowed;
63
- onPointerDown(event: PointerEvent): void;
64
- onPointerMove(event: PointerEvent): void;
65
- onPointerUp(event: PointerEvent): void;
66
- onPointerCancel(event: PointerEvent): void;
67
- private onWindowPointerUp;
68
- private onWindowPointerCancel;
69
- private resetPointerState;
70
- private addWindowPointerListeners;
71
- private removeWindowPointerListeners;
72
- private setupClickPrevention;
73
- private startDrag;
74
- private updateDrag;
75
- private updateDragPosition;
76
- private endDrag;
77
- private setSlidesTransition;
78
- private getMaxIndex;
79
- canGoNext(): boolean;
80
- private getPageStep;
81
- private getVisibleCount;
82
- private getPageCount;
83
- private getPageStart;
84
- nextPage(): void;
85
- canGoPrevious(): boolean;
86
- prevPage(): void;
87
- goToDot(dotIndex: number): void;
88
- private snapToNearestItem;
89
- getDotsArray(): any[];
90
- getCurrentDotIndex(): number;
91
- private scrollActiveDotIntoView;
92
- private updateTransform;
93
- private getTotalWidth;
94
- goToFirstItem(): void;
95
- static ɵfac: i0.ɵɵFactoryDeclaration<EluxCarouselBleedComponent, never>;
96
- static ɵcmp: i0.ɵɵComponentDeclaration<EluxCarouselBleedComponent, "lib-elux-carousel-bleed", never, { "itemWidth": { "alias": "itemWidth"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; "title": { "alias": "title"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, { "previousClickEventEmitter": "previousClickEventEmitter"; "nextClickEventEmitter": "nextClickEventEmitter"; "dotClickEventEmitter": "dotClickEventEmitter"; }, ["items"], ["*"], true, never>;
97
- }
@@ -1,71 +0,0 @@
1
- import { AfterContentInit, ElementRef, EventEmitter, OnDestroy, QueryList, Renderer2 } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class EluxCarouselFixedComponent implements AfterContentInit, OnDestroy {
4
- private renderer;
5
- items: QueryList<ElementRef>;
6
- slidesContainer: ElementRef;
7
- rightBleedContainer: ElementRef<HTMLDivElement>;
8
- itemWidth: number;
9
- gap: number;
10
- showArrows: boolean;
11
- showDots: boolean;
12
- previousClickEventEmitter: EventEmitter<Event>;
13
- nextClickEventEmitter: EventEmitter<Event>;
14
- dotClickEventEmitter: EventEmitter<Event>;
15
- currentIndex: number;
16
- translateX: number;
17
- private isDragging;
18
- private isMouseDown;
19
- private startX;
20
- private currentX;
21
- private initialTranslateX;
22
- private dragOffset;
23
- private containerWidth;
24
- private maxTranslateX;
25
- private minTranslateX;
26
- private velocity;
27
- private lastMoveTime;
28
- private lastMoveX;
29
- private touchStartTime;
30
- private touchStartX;
31
- private touchStartY;
32
- private isVerticalScroll;
33
- private wasDragging;
34
- private clicksDisabled;
35
- private clickListeners;
36
- private dragStarted;
37
- private mouseDownTime;
38
- constructor(renderer: Renderer2);
39
- private calculateRightBleedContainer;
40
- ngAfterContentInit(): void;
41
- ngOnDestroy(): void;
42
- private calculateDimensions;
43
- private updateLimits;
44
- private onResize;
45
- ngAfterViewInit(): void;
46
- private setItemWidths;
47
- onMouseDown(event: MouseEvent): void;
48
- onMouseMove(event: MouseEvent): void;
49
- onMouseUp(event: MouseEvent): void;
50
- onMouseLeave(event: MouseEvent): void;
51
- onTouchStart(event: TouchEvent): void;
52
- onTouchMove(event: TouchEvent): void;
53
- onTouchEnd(event: TouchEvent): void;
54
- private setupClickPrevention;
55
- private updateDrag;
56
- private updateDragPosition;
57
- private endDrag;
58
- private getMaxIndex;
59
- canGoNext(): boolean;
60
- nextItem(): void;
61
- canGoPrevious(): boolean;
62
- prevItem(): void;
63
- goToDot(dotIndex: number): void;
64
- private snapToNearestItem;
65
- getDotsArray(): any[];
66
- getCurrentDotIndex(): number;
67
- private updateTransform;
68
- goToFirstItem(): void;
69
- static ɵfac: i0.ɵɵFactoryDeclaration<EluxCarouselFixedComponent, never>;
70
- static ɵcmp: i0.ɵɵComponentDeclaration<EluxCarouselFixedComponent, "lib-elux-carousel-fixed", never, { "itemWidth": { "alias": "itemWidth"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; "showArrows": { "alias": "showArrows"; "required": false; }; "showDots": { "alias": "showDots"; "required": false; }; }, { "previousClickEventEmitter": "previousClickEventEmitter"; "nextClickEventEmitter": "nextClickEventEmitter"; "dotClickEventEmitter": "dotClickEventEmitter"; }, ["items"], ["*"], true, never>;
71
- }
@@ -1,10 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class EluxChip {
4
- value: string;
5
- ariaLabel: string;
6
- onClick: EventEmitter<any>;
7
- _onClick(): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<EluxChip, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<EluxChip, "lib-elux-chip", never, { "value": { "alias": "value"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "onClick": "onClick"; }, never, never, true, never>;
10
- }
@@ -1 +0,0 @@
1
- export * from './chip.component';
@@ -1,43 +0,0 @@
1
- import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { DataTableRow, DataTableCell, DataTableCheckEvent, DataTableClickEvent, DataTableHeader, DatatableInputEvent } from './datatable.component.types';
3
- import { PaginationEvent } from '../paginator';
4
- import * as i0 from "@angular/core";
5
- export declare class EluxDataTable implements OnInit, OnChanges {
6
- columns: DataTableHeader[];
7
- rows: DataTableRow[];
8
- totalRows: number;
9
- itemsPerPage: number;
10
- backendPagination: Boolean;
11
- emptyMessage: string;
12
- loading: Boolean;
13
- isRowClickable: boolean;
14
- isCellClickable: boolean;
15
- hasPaginator: boolean;
16
- currentPageChange: EventEmitter<number>;
17
- onClick: EventEmitter<DataTableClickEvent>;
18
- onChecked: EventEmitter<DataTableCheckEvent>;
19
- ontInputChange: EventEmitter<DatatableInputEvent>;
20
- currentPage: number;
21
- paginatorTotalPages: number;
22
- displayRows: DataTableRow[];
23
- ngOnInit(): void;
24
- ngOnChanges(changes: SimpleChanges): void;
25
- onPageChange(event: PaginationEvent): void;
26
- refreshPaginator(): void;
27
- populateTable(): void;
28
- onCheckboxChange(event: Event, row: any, cell: any, index: number): void;
29
- onInputChange(event: Event, row: any, cell: any, index: number): void;
30
- onRowClick(event: Event, row: DataTableRow, index: number): void;
31
- onCellClick(event: Event, row: DataTableRow, cell: DataTableCell, index: number): void;
32
- getCellClasses(cell: DataTableCell): {
33
- [key: string]: boolean;
34
- };
35
- getHeaderClasses(column: DataTableHeader): {
36
- [key: string]: boolean;
37
- };
38
- static ɵfac: i0.ɵɵFactoryDeclaration<EluxDataTable, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<EluxDataTable, "lib-elux-datatable", never, { "columns": { "alias": "columns"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "totalRows": { "alias": "totalRows"; "required": false; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; "backendPagination": { "alias": "backendPagination"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "isRowClickable": { "alias": "isRowClickable"; "required": false; }; "isCellClickable": { "alias": "isCellClickable"; "required": false; }; "hasPaginator": { "alias": "hasPaginator"; "required": false; }; }, { "currentPageChange": "currentPageChange"; "onClick": "onClick"; "onChecked": "onChecked"; "ontInputChange": "ontInputChange"; }, never, never, true, never>;
40
- static ngAcceptInputType_isRowClickable: unknown;
41
- static ngAcceptInputType_isCellClickable: unknown;
42
- static ngAcceptInputType_hasPaginator: unknown;
43
- }
@@ -1,55 +0,0 @@
1
- import { SafeUrl } from '@angular/platform-browser';
2
- export interface DataTableHeader {
3
- text: string;
4
- customClass?: string;
5
- }
6
- export interface DefaultCell {
7
- customClass?: string;
8
- }
9
- export interface DataTableRedirect extends DefaultCell {
10
- type: 'redirect-internal' | 'redirect-external';
11
- name: string;
12
- value: string | SafeUrl;
13
- }
14
- export interface DataTableCheckbox extends DefaultCell {
15
- type: 'checkbox';
16
- value: boolean;
17
- disabled?: boolean;
18
- }
19
- export interface DataTableValue extends DefaultCell {
20
- type: 'value';
21
- value: string;
22
- }
23
- export interface DataTableInput extends DefaultCell {
24
- type: 'input';
25
- value: string;
26
- }
27
- export interface DataTableInputNumber extends DefaultCell {
28
- type: 'input-number';
29
- value?: number;
30
- min: number;
31
- max: number;
32
- }
33
- export type DataTableCell = DataTableRedirect | DataTableCheckbox | DataTableValue | DataTableInput | DataTableInputNumber;
34
- export type DataTableRow = DataTableCell[];
35
- export interface DataTableRowClickEvent {
36
- event: Event;
37
- row: DataTableRow;
38
- index: number;
39
- }
40
- export interface DataTableCellClickEvent extends DataTableRowClickEvent {
41
- cell: DataTableCell;
42
- }
43
- export interface DataTableCheckEvent {
44
- event: Event;
45
- row: DataTableRow;
46
- cell: DataTableCell;
47
- index: number;
48
- }
49
- export interface DatatableInputEvent {
50
- event: Event;
51
- row: DataTableRow;
52
- cell: DataTableCell;
53
- index: number;
54
- }
55
- export type DataTableClickEvent = DataTableRowClickEvent | DataTableCellClickEvent;
@@ -1,2 +0,0 @@
1
- export * from './datatable.component';
2
- export * from './datatable.component.types';
@@ -1,81 +0,0 @@
1
- import { ControlValueAccessor } from '@angular/forms';
2
- import { EventEmitter, OnInit, OnChanges, SimpleChanges, ElementRef, Injector } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export interface Day {
5
- day: number;
6
- selected?: boolean;
7
- today?: boolean;
8
- disabled: boolean;
9
- }
10
- export interface Month {
11
- value: number;
12
- text: string;
13
- disabled: boolean;
14
- }
15
- export interface Year {
16
- value: number;
17
- disabled: boolean;
18
- }
19
- export declare class EluxDatepicker implements OnInit, OnChanges, ControlValueAccessor {
20
- private readonly injector;
21
- value: string;
22
- locale: string;
23
- idInput: string;
24
- placeholder: string;
25
- minDate?: string;
26
- maxDate?: string;
27
- dateSelected: EventEmitter<string>;
28
- invalidDate: EventEmitter<string>;
29
- datepicker: ElementRef;
30
- disabled: boolean;
31
- showCalendar: boolean;
32
- pickerView: 'week' | 'month' | 'year';
33
- currentDate: Date;
34
- selectedDate: Date | null;
35
- formatedDate: string;
36
- days: Day[];
37
- months: Month[];
38
- years: Year[];
39
- private onChange;
40
- private onTouched;
41
- private parentFormControl;
42
- constructor(injector: Injector);
43
- injectParentFormControl(): void;
44
- writeValue(value: string): void;
45
- registerOnChange(fn: Function): void;
46
- registerOnTouched(fn: Function): void;
47
- get isTouched(): boolean;
48
- get isInvalid(): boolean;
49
- headerDate(): string;
50
- headerDateWeek(): string[];
51
- ngOnInit(): void;
52
- setDisabledState?(isDisabled: boolean): void;
53
- ngOnChanges(changes: SimpleChanges): void;
54
- onChangeValue(event: Event): void;
55
- detectLocaleDateSeparator(locale: string): string;
56
- toggleCalendar(): void;
57
- changeView(): void;
58
- closeCalendar(): void;
59
- previous(): void;
60
- next(): void;
61
- prevMonth(): void;
62
- nextMonth(): void;
63
- prevYear(yearQtde: number): void;
64
- nextYear(yearQtde: number): void;
65
- selectDate(day: Day): void;
66
- selectMonth(monthValue: number): void;
67
- onChangeYear(year: number): void;
68
- selectYear(year: number): void;
69
- generateCalendar(date: Date): void;
70
- generateMonths(): void;
71
- generateYears(): void;
72
- validDate(date: Date): boolean;
73
- onBlur(): void;
74
- private detectDateOrder;
75
- private detectDateSeparator;
76
- clickOutside(event: Event): void;
77
- isPreviousDisabled(): boolean;
78
- isNextDisabled(): boolean;
79
- static ɵfac: i0.ɵɵFactoryDeclaration<EluxDatepicker, never>;
80
- static ɵcmp: i0.ɵɵComponentDeclaration<EluxDatepicker, "lib-elux-datepicker", never, { "value": { "alias": "value"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "idInput": { "alias": "idInput"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; }, { "dateSelected": "dateSelected"; "invalidDate": "invalidDate"; }, never, never, true, never>;
81
- }
@@ -1 +0,0 @@
1
- export * from './datepicker.component';
@@ -1,44 +0,0 @@
1
- import { EventEmitter, Injector, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { DropdownService } from './dropdown.service';
4
- import * as i0 from "@angular/core";
5
- export interface DropdownOption {
6
- value: any;
7
- text: string;
8
- }
9
- export declare class EluxDropdown implements OnInit, OnChanges, ControlValueAccessor {
10
- private readonly injector;
11
- private dropdownService;
12
- placeholder: string;
13
- options: DropdownOption[];
14
- selectedOption: any;
15
- disabled: boolean;
16
- idInput: string;
17
- showSearch: boolean;
18
- optionSelected: EventEmitter<any>;
19
- isOpen: boolean;
20
- selectedOptionText: string;
21
- optionsFiltered: DropdownOption[];
22
- private onChange;
23
- private onTouched;
24
- private parentFormControl;
25
- constructor(injector: Injector, dropdownService: DropdownService);
26
- ngOnInit(): void;
27
- ngOnChanges(changes: SimpleChanges): void;
28
- injectParentFormControl(): void;
29
- addPlaceholderOption(): void;
30
- updateSelectedOption(): void;
31
- updatePlaceholderOption(): void;
32
- toggleDropdown(): void;
33
- onDocumentClick(event: MouseEvent): void;
34
- selectOption(option: DropdownOption): void;
35
- writeValue(value: string): void;
36
- registerOnChange(fn: Function): void;
37
- registerOnTouched(fn: Function): void;
38
- setDisabledState?(isDisabled: boolean): void;
39
- onChangeFilter(event: any): void;
40
- get isTouched(): boolean;
41
- get isInvalid(): boolean;
42
- static ɵfac: i0.ɵɵFactoryDeclaration<EluxDropdown, never>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<EluxDropdown, "lib-elux-dropdown", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "options": { "alias": "options"; "required": false; }; "selectedOption": { "alias": "selectedOption"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "idInput": { "alias": "idInput"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; }, { "optionSelected": "optionSelected"; }, never, never, true, never>;
44
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class DropdownService {
3
- private closeAllSubject;
4
- closeAll$: import("rxjs").Observable<string>;
5
- requestClose(exceptId: string): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownService, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<DropdownService>;
8
- }
@@ -1 +0,0 @@
1
- export * from './dropdown.component';
@@ -1,27 +0,0 @@
1
- import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class EluxDropdownMultiple implements OnInit, OnChanges {
4
- disabled: boolean;
5
- idInput: string;
6
- placeholder: string;
7
- options: {
8
- value: any;
9
- text: string;
10
- }[];
11
- selectedOptions: any[];
12
- optionSelected: EventEmitter<any[]>;
13
- isOpen: boolean;
14
- selectedOptionsText: string[];
15
- constructor();
16
- ngOnInit(): void;
17
- ngOnChanges(changes: SimpleChanges): void;
18
- updateSelectedOptions(): void;
19
- toggleDropdown(): void;
20
- selectOption(option: {
21
- value: any;
22
- text: string;
23
- }): void;
24
- onDocumentClick(event: MouseEvent): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<EluxDropdownMultiple, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<EluxDropdownMultiple, "lib-elux-dropdown-multiple", never, { "disabled": { "alias": "disabled"; "required": false; }; "idInput": { "alias": "idInput"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "options": { "alias": "options"; "required": false; }; "selectedOptions": { "alias": "selectedOptions"; "required": false; }; }, { "optionSelected": "optionSelected"; }, never, never, true, never>;
27
- }
@@ -1 +0,0 @@
1
- export * from './dropdown-multiple.component';
@@ -1,29 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class EluxIcon {
4
- iconSpan: ElementRef;
5
- color: string;
6
- useSubscription: boolean;
7
- icon: string;
8
- description: string;
9
- size: string;
10
- height: string;
11
- width: string;
12
- sizeType: string;
13
- constructor();
14
- iconMask(): {
15
- height: string;
16
- width: string;
17
- mask: string;
18
- '-webkit-mask': string;
19
- 'background-color': string;
20
- '-webkit-mask-size': string;
21
- 'mask-size': string;
22
- 'mask-repeat': string;
23
- '-webkit-mask-repeat': string;
24
- 'mask-position': string;
25
- '-webkit-mask-position': string;
26
- };
27
- static ɵfac: i0.ɵɵFactoryDeclaration<EluxIcon, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<EluxIcon, "lib-elux-icon", never, { "color": { "alias": "color"; "required": false; }; "useSubscription": { "alias": "useSubscription"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "description": { "alias": "description"; "required": false; }; "size": { "alias": "size"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "sizeType": { "alias": "sizeType"; "required": false; }; }, {}, never, never, true, never>;
29
- }
@@ -1 +0,0 @@
1
- export * from './icon.component';