@tekus/kiosks-design-system 3.0.1 → 3.1.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/esm2022/lib/components/tk-kiosk-btn-count/tk-kiosk-btn-count.component.mjs +49 -7
- package/esm2022/lib/components/tk-kiosk-custom-check-card/tk-kiosk-custom-check-card.component.mjs +15 -3
- package/esm2022/lib/components/tk-kiosk-icon-btn/tk-kiosk-icon-btn.component.mjs +25 -1
- package/esm2022/lib/components/tk-kiosk-product-card/tk-kiosk-product-card.component.mjs +2 -2
- package/esm2022/lib/components/tk-kiosk-product-resume/tk-kiosk-product-resume.component.mjs +2 -2
- package/fesm2022/tekus-kiosks-design-system.mjs +88 -9
- package/fesm2022/tekus-kiosks-design-system.mjs.map +1 -1
- package/lib/components/tk-kiosk-btn-count/tk-kiosk-btn-count.component.d.ts +42 -1
- package/lib/components/tk-kiosk-custom-check-card/tk-kiosk-custom-check-card.component.d.ts +8 -0
- package/lib/components/tk-kiosk-icon-btn/tk-kiosk-icon-btn.component.d.ts +27 -0
- package/package.json +1 -1
|
@@ -1,17 +1,58 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TkKioskBtnCountComponent {
|
|
4
|
+
/**
|
|
5
|
+
* Emitted when add button is clicked
|
|
6
|
+
*/
|
|
4
7
|
onAdd: EventEmitter<any>;
|
|
8
|
+
/**
|
|
9
|
+
* Emitted when remove button is clicked
|
|
10
|
+
*/
|
|
5
11
|
onRemove: EventEmitter<any>;
|
|
12
|
+
/**
|
|
13
|
+
* Current count value to display
|
|
14
|
+
*/
|
|
6
15
|
count: number;
|
|
16
|
+
/**
|
|
17
|
+
* Maximum allowed count value
|
|
18
|
+
*/
|
|
7
19
|
totalMax: number;
|
|
20
|
+
/**
|
|
21
|
+
* Minimum allowed count value
|
|
22
|
+
*/
|
|
8
23
|
totalMin: number;
|
|
24
|
+
/**
|
|
25
|
+
* Unit of measurement to display after count
|
|
26
|
+
*/
|
|
9
27
|
measure: string;
|
|
28
|
+
/**
|
|
29
|
+
* Whether the add button is disabled
|
|
30
|
+
*/
|
|
31
|
+
isAddDisabled: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Whether the minus button is disabled
|
|
34
|
+
*/
|
|
35
|
+
isMinusDisabled: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Type of counter display
|
|
38
|
+
*/
|
|
10
39
|
type: '' | 'button';
|
|
40
|
+
/**
|
|
41
|
+
* Whether to use rounded corners
|
|
42
|
+
*/
|
|
11
43
|
rounded: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Color theme of the counter
|
|
46
|
+
*/
|
|
12
47
|
color: 'primary' | 'secondary' | 'accent';
|
|
48
|
+
/**
|
|
49
|
+
* Size of the counter
|
|
50
|
+
*/
|
|
13
51
|
size: 'small' | 'regular' | 'large';
|
|
52
|
+
/**
|
|
53
|
+
* Whether to use stroked style
|
|
54
|
+
*/
|
|
14
55
|
stroked: boolean;
|
|
15
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<TkKioskBtnCountComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TkKioskBtnCountComponent, "tk-kiosk-btn-count", never, { "count": { "alias": "count"; "required": false; }; "totalMax": { "alias": "totalMax"; "required": false; }; "totalMin": { "alias": "totalMin"; "required": false; }; "measure": { "alias": "measure"; "required": false; }; "type": { "alias": "type"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "stroked": { "alias": "stroked"; "required": false; }; }, { "onAdd": "onAdd"; "onRemove": "onRemove"; }, never, never, true, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TkKioskBtnCountComponent, "tk-kiosk-btn-count", never, { "count": { "alias": "count"; "required": false; }; "totalMax": { "alias": "totalMax"; "required": false; }; "totalMin": { "alias": "totalMin"; "required": false; }; "measure": { "alias": "measure"; "required": false; }; "isAddDisabled": { "alias": "isAddDisabled"; "required": false; }; "isMinusDisabled": { "alias": "isMinusDisabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "stroked": { "alias": "stroked"; "required": false; }; }, { "onAdd": "onAdd"; "onRemove": "onRemove"; }, never, never, true, never>;
|
|
17
58
|
}
|
|
@@ -66,6 +66,14 @@ export declare class TkKioskCustomCheckCardComponent {
|
|
|
66
66
|
* Emitted when component is clicked
|
|
67
67
|
*/
|
|
68
68
|
onClick: EventEmitter<void>;
|
|
69
|
+
/**
|
|
70
|
+
* Determines if the add button should be disabled
|
|
71
|
+
*/
|
|
72
|
+
get isAddDisabled(): boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Determines if the minus button should be disabled
|
|
75
|
+
*/
|
|
76
|
+
get isMinusDisabled(): boolean;
|
|
69
77
|
/**
|
|
70
78
|
* Handles counter value changes with validation
|
|
71
79
|
* @param value - The increment/decrement value
|
|
@@ -1,14 +1,41 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TkKioskIconBtnComponent {
|
|
4
|
+
/**
|
|
5
|
+
* Emitted when button is clicked
|
|
6
|
+
*/
|
|
4
7
|
btnClick: EventEmitter<any>;
|
|
8
|
+
/**
|
|
9
|
+
* Whether the button is disabled
|
|
10
|
+
*/
|
|
5
11
|
isDisabled: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Size of the button
|
|
14
|
+
*/
|
|
6
15
|
size: 'small' | 'regular' | 'large';
|
|
16
|
+
/**
|
|
17
|
+
* Type of button style
|
|
18
|
+
*/
|
|
7
19
|
type: 'outline' | 'border-less' | 'stroked' | '';
|
|
20
|
+
/**
|
|
21
|
+
* Color theme of the button
|
|
22
|
+
*/
|
|
8
23
|
color: 'primary' | 'secondary' | 'accent';
|
|
24
|
+
/**
|
|
25
|
+
* Icon name to display
|
|
26
|
+
*/
|
|
9
27
|
icon: string;
|
|
28
|
+
/**
|
|
29
|
+
* Custom icon source URL
|
|
30
|
+
*/
|
|
10
31
|
iconSrc: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Custom background color
|
|
34
|
+
*/
|
|
11
35
|
bgColor: string;
|
|
36
|
+
/**
|
|
37
|
+
* Handles button click events
|
|
38
|
+
*/
|
|
12
39
|
onClick(): void;
|
|
13
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<TkKioskIconBtnComponent, never>;
|
|
14
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<TkKioskIconBtnComponent, "tk-kiosk-icon-btn", never, { "isDisabled": { "alias": "isDisabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "color": { "alias": "color"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSrc": { "alias": "iconSrc"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; }, { "btnClick": "btnClick"; }, never, never, true, never>;
|