ngx-opalbytes-components 1.21.0 → 1.22.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/README.md +75 -0
- package/fesm2022/ngx-opalbytes-components.mjs +291 -19
- package/fesm2022/ngx-opalbytes-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/shared/components/index.ts +6 -1
- package/src/lib/shared/components/skeleton/skeleton.css +92 -0
- package/src/lib/shared/components/skeleton/skeleton.html +3 -0
- package/src/lib/shared/components/skeleton/skeleton.spec.ts +22 -0
- package/src/lib/shared/components/skeleton/skeleton.stories.ts +131 -0
- package/src/lib/shared/components/skeleton/skeleton.ts +46 -0
- package/types/ngx-opalbytes-components.d.ts +110 -2
package/package.json
CHANGED
|
@@ -16,4 +16,9 @@ export * from "./tab-group/tab-group"
|
|
|
16
16
|
export * from "./tab-panel/tab-panel"
|
|
17
17
|
|
|
18
18
|
export * from "./base-icon/base-icon"
|
|
19
|
-
export * from "./kpi/kpi"
|
|
19
|
+
export * from "./kpi/kpi"
|
|
20
|
+
export * from "./skeleton/skeleton"
|
|
21
|
+
|
|
22
|
+
export * from "./card/card.component"
|
|
23
|
+
export * from "./base-toggle/base-toggle.component"
|
|
24
|
+
export * from "./footer/footer"
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* CSS Custom Properties — all prefixed with --skeleton-*
|
|
3
|
+
* These cascade naturally, so a parent component can override any token:
|
|
4
|
+
*
|
|
5
|
+
* .my-card {
|
|
6
|
+
* --skeleton-bg: #d1d5db;
|
|
7
|
+
* --skeleton-shine: #f3f4f6;
|
|
8
|
+
* --skeleton-radius: 8px;
|
|
9
|
+
* --skeleton-speed: 2s;
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
:host {
|
|
14
|
+
/* ─── Layout defaults (overridable via [width]/[height] inputs) ─── */
|
|
15
|
+
--skeleton-width: 100%;
|
|
16
|
+
--skeleton-height: 100%;
|
|
17
|
+
|
|
18
|
+
/* ─── Visual tokens — inherit from parent if set there ─── */
|
|
19
|
+
--skeleton-bg: #e2e8f0;
|
|
20
|
+
--skeleton-shine: #f8fafc;
|
|
21
|
+
--skeleton-radius: 14px;
|
|
22
|
+
--skeleton-speed: 2s;
|
|
23
|
+
--skeleton-animation-deg: 90deg;
|
|
24
|
+
|
|
25
|
+
display: contents; /* host element is transparent to layout */
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* ─────────────────────────── Base block ─────────────────────────── */
|
|
29
|
+
|
|
30
|
+
.cao-skeleton {
|
|
31
|
+
position: relative;
|
|
32
|
+
display: block;
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
width: var(--skeleton-width);
|
|
35
|
+
height: var(--skeleton-height);
|
|
36
|
+
background-color: var(--skeleton-bg);
|
|
37
|
+
border-radius: var(--skeleton-radius);
|
|
38
|
+
|
|
39
|
+
/* Prevent content from leaking during SSR */
|
|
40
|
+
color: transparent;
|
|
41
|
+
user-select: none;
|
|
42
|
+
pointer-events: none;
|
|
43
|
+
|
|
44
|
+
/* Respect reduced-motion preference */
|
|
45
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
46
|
+
will-change: transform; /* promote shimmer layer */
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* ─────────────────────────── Variants ───────────────────────────── */
|
|
51
|
+
|
|
52
|
+
.cao-skeleton--circle {
|
|
53
|
+
--skeleton-radius: 50%;
|
|
54
|
+
/* For circles the consumer usually sets equal width/height;
|
|
55
|
+
but we guard with aspect-ratio so it stays circular even
|
|
56
|
+
when only width is specified. */
|
|
57
|
+
aspect-ratio: 1 / 1;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.cao-skeleton--text {
|
|
61
|
+
--skeleton-radius: 4px;
|
|
62
|
+
height: 1em; /* matches current font-size of parent context */
|
|
63
|
+
width: var(--skeleton-width);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* ─────────────────────────── Shimmer ────────────────────────────── */
|
|
67
|
+
|
|
68
|
+
.cao-skeleton__shimmer {
|
|
69
|
+
position: absolute;
|
|
70
|
+
inset: 0;
|
|
71
|
+
|
|
72
|
+
background: linear-gradient(
|
|
73
|
+
var(--skeleton-animation-deg),
|
|
74
|
+
transparent 30%,
|
|
75
|
+
var(--skeleton-shine) 50%,
|
|
76
|
+
transparent 70%
|
|
77
|
+
);
|
|
78
|
+
background-size: 200% 100%;
|
|
79
|
+
|
|
80
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
81
|
+
animation: skeleton-shimmer var(--skeleton-speed) ease-in-out infinite;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@keyframes skeleton-shimmer {
|
|
86
|
+
0% {
|
|
87
|
+
background-position: 200% center;
|
|
88
|
+
}
|
|
89
|
+
100% {
|
|
90
|
+
background-position: -200% center;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { CaoSkeletonComponent } from './skeleton';
|
|
4
|
+
|
|
5
|
+
describe('CaoSkeletonComponent', () => {
|
|
6
|
+
let component: CaoSkeletonComponent;
|
|
7
|
+
let fixture: ComponentFixture<CaoSkeletonComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [CaoSkeletonComponent],
|
|
12
|
+
}).compileComponents();
|
|
13
|
+
|
|
14
|
+
fixture = TestBed.createComponent(CaoSkeletonComponent);
|
|
15
|
+
component = fixture.componentInstance;
|
|
16
|
+
await fixture.whenStable();
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
it('should create', () => {
|
|
20
|
+
expect(component).toBeTruthy();
|
|
21
|
+
});
|
|
22
|
+
});
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/angular-vite';
|
|
2
|
+
|
|
3
|
+
import { CaoSkeletonComponent } from './skeleton';
|
|
4
|
+
|
|
5
|
+
const meta: Meta<CaoSkeletonComponent> = {
|
|
6
|
+
title: 'Componentes/Skeleton',
|
|
7
|
+
component: CaoSkeletonComponent,
|
|
8
|
+
tags: ['autodocs'],
|
|
9
|
+
argTypes: {
|
|
10
|
+
variant: {
|
|
11
|
+
control: 'select',
|
|
12
|
+
options: ['rect', 'circle', 'text'],
|
|
13
|
+
},
|
|
14
|
+
width: { control: 'text' },
|
|
15
|
+
height: { control: 'text' },
|
|
16
|
+
size: { control: 'text' },
|
|
17
|
+
bgColor: { control: 'color' },
|
|
18
|
+
shine: { control: 'color' },
|
|
19
|
+
borderRadius: { control: 'text' },
|
|
20
|
+
speed: { control: 'text' },
|
|
21
|
+
animationDeg: { control: 'text' },
|
|
22
|
+
},
|
|
23
|
+
args: {
|
|
24
|
+
variant: 'rect',
|
|
25
|
+
width: '200px',
|
|
26
|
+
height: '40px',
|
|
27
|
+
bgColor: '#e2e8f0',
|
|
28
|
+
shine: '#f8fafc',
|
|
29
|
+
speed: '2s',
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export default meta;
|
|
34
|
+
type Story = StoryObj<CaoSkeletonComponent>;
|
|
35
|
+
|
|
36
|
+
export const Retangulo: Story = {
|
|
37
|
+
args: {
|
|
38
|
+
variant: 'rect',
|
|
39
|
+
width: '200px',
|
|
40
|
+
height: '40px',
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export const RetanguloComBordaArredondada: Story = {
|
|
45
|
+
args: {
|
|
46
|
+
variant: 'rect',
|
|
47
|
+
width: '200px',
|
|
48
|
+
height: '60px',
|
|
49
|
+
borderRadius: '8px',
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export const Circulos: Story = {
|
|
54
|
+
args: {
|
|
55
|
+
bgColor: '#8100ff',
|
|
56
|
+
},
|
|
57
|
+
|
|
58
|
+
render: (args) => ({
|
|
59
|
+
props: args,
|
|
60
|
+
template: `
|
|
61
|
+
<div style="display: flex; align-items: center; gap: 16px;">
|
|
62
|
+
<cao-skeleton [size]="'24px'" [variant]="'circle'"></cao-skeleton>
|
|
63
|
+
<cao-skeleton [size]="'48px'" [variant]="'circle'"></cao-skeleton>
|
|
64
|
+
<cao-skeleton [size]="'80px'" [variant]="'circle'"></cao-skeleton>
|
|
65
|
+
</div>
|
|
66
|
+
`,
|
|
67
|
+
}),
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export const RetangulosComTamanhosVariados: Story = {
|
|
71
|
+
render: () => ({
|
|
72
|
+
template: `
|
|
73
|
+
<div style="display: flex; flex-direction: column; gap: 12px; width: 320px;">
|
|
74
|
+
<cao-skeleton [width]="'100%'" [height]="'12px'"></cao-skeleton>
|
|
75
|
+
<cao-skeleton [width]="'80%'" [height]="'12px'"></cao-skeleton>
|
|
76
|
+
<cao-skeleton [width]="'60%'" [height]="'12px'"></cao-skeleton>
|
|
77
|
+
</div>
|
|
78
|
+
`,
|
|
79
|
+
}),
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
export const LinhaDeTexto: Story = {
|
|
83
|
+
render: (args) => ({
|
|
84
|
+
props: args,
|
|
85
|
+
template: `
|
|
86
|
+
<div style="display: flex; flex-direction: column; gap: 12px; width: 260px;">
|
|
87
|
+
<cao-skeleton [variant]="'text'" [width]="'100%'"></cao-skeleton>
|
|
88
|
+
<cao-skeleton [variant]="'text'" [width]="'90%'"></cao-skeleton>
|
|
89
|
+
<cao-skeleton [variant]="'text'" [width]="'70%'"></cao-skeleton>
|
|
90
|
+
</div>
|
|
91
|
+
`,
|
|
92
|
+
}),
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
export const CorCustomizada: Story = {
|
|
96
|
+
args: {
|
|
97
|
+
variant: 'rect',
|
|
98
|
+
width: '220px',
|
|
99
|
+
height: '48px',
|
|
100
|
+
bgColor: '#e0e7ff',
|
|
101
|
+
shine: '#ffffff',
|
|
102
|
+
borderRadius: '12px',
|
|
103
|
+
},
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
export const AnimacaoRapida: Story = {
|
|
107
|
+
args: {
|
|
108
|
+
variant: 'rect',
|
|
109
|
+
width: '200px',
|
|
110
|
+
height: '40px',
|
|
111
|
+
speed: '0.8s',
|
|
112
|
+
},
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
export const AnimacaoLenta: Story = {
|
|
116
|
+
args: {
|
|
117
|
+
variant: 'rect',
|
|
118
|
+
width: '200px',
|
|
119
|
+
height: '40px',
|
|
120
|
+
speed: '4s',
|
|
121
|
+
},
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
export const GradienteVertical: Story = {
|
|
125
|
+
args: {
|
|
126
|
+
variant: 'rect',
|
|
127
|
+
width: '200px',
|
|
128
|
+
height: '40px',
|
|
129
|
+
animationDeg: '0deg',
|
|
130
|
+
},
|
|
131
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Component, computed, input } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
export type CaoSkeletonVariant = 'rect' | 'circle' | 'text';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'cao-skeleton',
|
|
8
|
+
imports: [CommonModule],
|
|
9
|
+
templateUrl: './skeleton.html',
|
|
10
|
+
styleUrl: './skeleton.css',
|
|
11
|
+
})
|
|
12
|
+
export class CaoSkeletonComponent {
|
|
13
|
+
borderRadius = input('14px');
|
|
14
|
+
width = input('100%');
|
|
15
|
+
height = input('100%');
|
|
16
|
+
bgColor = input<string>("#e2e8f0");
|
|
17
|
+
shine = input<string>("#f8fafc");
|
|
18
|
+
variant = input<CaoSkeletonVariant>('rect');
|
|
19
|
+
speed = input<string>('2s');
|
|
20
|
+
size = input<string>();
|
|
21
|
+
animationDeg = input<string>('90deg');
|
|
22
|
+
|
|
23
|
+
skeletonStyles = computed(() => {
|
|
24
|
+
const styles: Record<string, string> = {
|
|
25
|
+
'--skeleton-width': this.size() || this.width(),
|
|
26
|
+
'--skeleton-height': this.size() || this.height(),
|
|
27
|
+
'--skeleton-speed': this.speed(),
|
|
28
|
+
'--skeleton-animation-deg': this.animationDeg(),
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
if (this.bgColor()) {
|
|
32
|
+
styles['--skeleton-bg'] = this.bgColor()!;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
if (this.shine()) {
|
|
36
|
+
styles['--skeleton-shine'] = this.shine()!;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
if (this.variant() !== 'circle') {
|
|
40
|
+
styles['--skeleton-radius'] = this.borderRadius();
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
return styles;
|
|
45
|
+
});
|
|
46
|
+
}
|
|
@@ -460,6 +460,114 @@ declare class CaoKpi {
|
|
|
460
460
|
static ɵcmp: i0.ɵɵComponentDeclaration<CaoKpi, "cao-kpi", never, { "kpiData": { "alias": "kpiData"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
461
461
|
}
|
|
462
462
|
|
|
463
|
+
type CaoSkeletonVariant = 'rect' | 'circle' | 'text';
|
|
464
|
+
declare class CaoSkeletonComponent {
|
|
465
|
+
borderRadius: i0.InputSignal<string>;
|
|
466
|
+
width: i0.InputSignal<string>;
|
|
467
|
+
height: i0.InputSignal<string>;
|
|
468
|
+
bgColor: i0.InputSignal<string>;
|
|
469
|
+
shine: i0.InputSignal<string>;
|
|
470
|
+
variant: i0.InputSignal<CaoSkeletonVariant>;
|
|
471
|
+
speed: i0.InputSignal<string>;
|
|
472
|
+
size: i0.InputSignal<string | undefined>;
|
|
473
|
+
animationDeg: i0.InputSignal<string>;
|
|
474
|
+
skeletonStyles: i0.Signal<Record<string, string>>;
|
|
475
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaoSkeletonComponent, never>;
|
|
476
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaoSkeletonComponent, "cao-skeleton", never, { "borderRadius": { "alias": "borderRadius"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "bgColor": { "alias": "bgColor"; "required": false; "isSignal": true; }; "shine": { "alias": "shine"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "speed": { "alias": "speed"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "animationDeg": { "alias": "animationDeg"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
type CaoCardVariant = "horizontal" | "square";
|
|
480
|
+
interface ICaoCardBadge {
|
|
481
|
+
label: string;
|
|
482
|
+
color?: string;
|
|
483
|
+
borderColor?: string;
|
|
484
|
+
bg?: string;
|
|
485
|
+
}
|
|
486
|
+
interface ICaoCardMeta {
|
|
487
|
+
icon: string;
|
|
488
|
+
label: string;
|
|
489
|
+
}
|
|
490
|
+
interface ICaoCardAvatar {
|
|
491
|
+
initials?: string;
|
|
492
|
+
src?: string;
|
|
493
|
+
color?: string;
|
|
494
|
+
}
|
|
495
|
+
declare class CaoCardComponent {
|
|
496
|
+
variant: CaoCardVariant;
|
|
497
|
+
title?: string;
|
|
498
|
+
subtitle?: string;
|
|
499
|
+
detail?: string;
|
|
500
|
+
detailColor?: string;
|
|
501
|
+
icon?: string;
|
|
502
|
+
avatar?: ICaoCardAvatar;
|
|
503
|
+
meta?: ICaoCardMeta[];
|
|
504
|
+
badge?: ICaoCardBadge;
|
|
505
|
+
selected: boolean;
|
|
506
|
+
clickable: boolean;
|
|
507
|
+
bgColor: string;
|
|
508
|
+
borderColor: string;
|
|
509
|
+
readonly cardClick: EventEmitter<void>;
|
|
510
|
+
get avatarBg(): string;
|
|
511
|
+
handleClick(): void;
|
|
512
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
513
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaoCardComponent, never>;
|
|
514
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaoCardComponent, "cao-card", never, { "variant": { "alias": "variant"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "detail": { "alias": "detail"; "required": false; }; "detailColor": { "alias": "detailColor"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "avatar": { "alias": "avatar"; "required": false; }; "meta": { "alias": "meta"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "clickable": { "alias": "clickable"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; }, { "cardClick": "cardClick"; }, never, ["*"], true, never>;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
declare class CaoBaseToggleComponent {
|
|
518
|
+
type: string;
|
|
519
|
+
placeholder: string;
|
|
520
|
+
inputClass: string;
|
|
521
|
+
value: string | number | boolean | Date;
|
|
522
|
+
errorMessage: string;
|
|
523
|
+
isDisabled: boolean;
|
|
524
|
+
maxLength?: number;
|
|
525
|
+
searchMode: boolean;
|
|
526
|
+
showBorder: boolean;
|
|
527
|
+
isLucideIcon: boolean;
|
|
528
|
+
iconColor: string;
|
|
529
|
+
mask?: string;
|
|
530
|
+
control?: AbstractControl | null;
|
|
531
|
+
tooltip: string;
|
|
532
|
+
dataCy?: string;
|
|
533
|
+
textareaRows?: string;
|
|
534
|
+
decimalMarker: "." | "," | [".", ","];
|
|
535
|
+
thousandSeparator: string;
|
|
536
|
+
allowNegativeNumbers: boolean;
|
|
537
|
+
separatorLimit: string;
|
|
538
|
+
set leadingIcon(value: string);
|
|
539
|
+
set trailingIcon(value: string);
|
|
540
|
+
readonly valueChange: EventEmitter<string>;
|
|
541
|
+
readonly searchClick: EventEmitter<void>;
|
|
542
|
+
readonly inputChange: EventEmitter<string>;
|
|
543
|
+
isFocused: boolean;
|
|
544
|
+
icon: boolean;
|
|
545
|
+
_leadingIcon?: string;
|
|
546
|
+
_trailingIcon?: string;
|
|
547
|
+
onChange: any;
|
|
548
|
+
onTouched: any;
|
|
549
|
+
get hasError(): boolean;
|
|
550
|
+
controlName: string;
|
|
551
|
+
get controlNameValue(): string;
|
|
552
|
+
onInput(event: Event): void;
|
|
553
|
+
onInputChange(event: Event): void;
|
|
554
|
+
onFocus(): void;
|
|
555
|
+
onBlur(): void;
|
|
556
|
+
onSearchClick(): void;
|
|
557
|
+
writeValue(value: string | null | undefined): void;
|
|
558
|
+
registerOnChange(fn: any): void;
|
|
559
|
+
registerOnTouched(fn: any): void;
|
|
560
|
+
setDisabledState(isDisabled: boolean): void;
|
|
561
|
+
isChecked: boolean;
|
|
562
|
+
checkedTextPlaceholder: string;
|
|
563
|
+
uncheckedTextPlaceholder: string;
|
|
564
|
+
readonly statusChanged: EventEmitter<CaoBaseToggleComponent>;
|
|
565
|
+
checkboxInput: HTMLInputElement;
|
|
566
|
+
onToggleCheckbox(): void;
|
|
567
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaoBaseToggleComponent, never>;
|
|
568
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaoBaseToggleComponent, "cao-base-toggle", never, { "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "inputClass": { "alias": "inputClass"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "searchMode": { "alias": "searchMode"; "required": false; }; "showBorder": { "alias": "showBorder"; "required": false; }; "isLucideIcon": { "alias": "isLucideIcon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "control": { "alias": "control"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "dataCy": { "alias": "dataCy"; "required": false; }; "textareaRows": { "alias": "textareaRows"; "required": false; }; "decimalMarker": { "alias": "decimalMarker"; "required": false; }; "thousandSeparator": { "alias": "thousandSeparator"; "required": false; }; "allowNegativeNumbers": { "alias": "allowNegativeNumbers"; "required": false; }; "separatorLimit": { "alias": "separatorLimit"; "required": false; }; "leadingIcon": { "alias": "leadingIcon"; "required": false; }; "trailingIcon": { "alias": "trailingIcon"; "required": false; }; "controlName": { "alias": "controlName"; "required": false; }; "isChecked": { "alias": "isChecked"; "required": false; }; "checkedTextPlaceholder": { "alias": "checkedTextPlaceholder"; "required": false; }; "uncheckedTextPlaceholder": { "alias": "uncheckedTextPlaceholder"; "required": false; }; }, { "valueChange": "valueChange"; "searchClick": "searchClick"; "inputChange": "inputChange"; "statusChanged": "statusChanged"; }, never, never, true, never>;
|
|
569
|
+
}
|
|
570
|
+
|
|
463
571
|
type ModalType = "validation" | "finger" | "facial" | "clinic" | "graph" | "restriction" | "default";
|
|
464
572
|
interface IModal {
|
|
465
573
|
status: boolean;
|
|
@@ -852,5 +960,5 @@ declare class BaseAlertService {
|
|
|
852
960
|
static ɵprov: i0.ɵɵInjectableDeclaration<BaseAlertService>;
|
|
853
961
|
}
|
|
854
962
|
|
|
855
|
-
export { BaseAlert, BaseAlertService, BaseDialog, BaseDialogService, BaseFilterTablePaginatedService, BaseFilterTableService, BaseModal, BaseModalService, BasePaginationService, BaseTable, BaseTablePaginated, BaseTableService, BaseTimeRange, CaoAutocompleteComponent, CaoBaseButtonComponent, CaoBaseIcon, CaoBaseInput, CaoDropDownComponent, CaoKpi, CaoTabGroup, CaoTabPanel, Footer, LinksButton, Paginator, StepComponent, StepperComponent, TablePaginatedService, TimePicker, getPtBrPaginatorIntlBasePaginated, getPtBrPaginatorIntlBaseTable };
|
|
856
|
-
export type { AlertType, CaoTypeInputs, DialogType, IAlertConfig, ICaoAutoCompleteOption, ICaoDropDownOption, ICaoImage, ICaoKPI, ICaoTabChangeEvent, IColumnButton, IColumnConfig, IColumnPaginatedButton, IColumnPaginatedConfig, IDialogConfig, IModal, INavContent, INavLink, ITableConfig, ITablePaginatedConfig, ModalType, ModalTypeClass, ModalTypeSize };
|
|
963
|
+
export { BaseAlert, BaseAlertService, BaseDialog, BaseDialogService, BaseFilterTablePaginatedService, BaseFilterTableService, BaseModal, BaseModalService, BasePaginationService, BaseTable, BaseTablePaginated, BaseTableService, BaseTimeRange, CaoAutocompleteComponent, CaoBaseButtonComponent, CaoBaseIcon, CaoBaseInput, CaoBaseToggleComponent, CaoCardComponent, CaoDropDownComponent, CaoKpi, CaoSkeletonComponent, CaoTabGroup, CaoTabPanel, Footer, LinksButton, Paginator, StepComponent, StepperComponent, TablePaginatedService, TimePicker, getPtBrPaginatorIntlBasePaginated, getPtBrPaginatorIntlBaseTable };
|
|
964
|
+
export type { AlertType, CaoCardVariant, CaoSkeletonVariant, CaoTypeInputs, DialogType, IAlertConfig, ICaoAutoCompleteOption, ICaoCardAvatar, ICaoCardBadge, ICaoCardMeta, ICaoDropDownOption, ICaoImage, ICaoKPI, ICaoTabChangeEvent, IColumnButton, IColumnConfig, IColumnPaginatedButton, IColumnPaginatedConfig, IDialogConfig, IModal, INavContent, INavLink, ITableConfig, ITablePaginatedConfig, ModalType, ModalTypeClass, ModalTypeSize };
|