@cerca/design-system 1.0.1 → 1.0.2
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 +30 -357
- package/fesm2022/cerca-design-system.mjs +2604 -588
- package/fesm2022/cerca-design-system.mjs.map +1 -1
- package/package.json +4 -5
- package/types/cerca-design-system.d.ts +1250 -239
|
@@ -1,61 +1,255 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { OnInit, OnDestroy,
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { Type, ApplicationRef, EnvironmentInjector, OnInit, OnDestroy, TemplateRef, AfterViewInit, ViewContainerRef } from '@angular/core';
|
|
3
3
|
import * as _angular_forms from '@angular/forms';
|
|
4
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
+
import { ValidatorFn, FormGroup, ControlValueAccessor, FormControl } from '@angular/forms';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { z } from 'zod';
|
|
7
|
+
import * as _cerca_design_system from '@cerca/design-system';
|
|
8
|
+
import { Router } from '@angular/router';
|
|
5
9
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
declare class DesignSystem {
|
|
11
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DesignSystem, never>;
|
|
12
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DesignSystem, "ad-design-system", never, {}, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
type FieldType = 'input' | 'select' | 'checkbox' | 'switch' | 'datepicker' | 'textarea' | 'number-input' | 'text-input' | 'select-input' | 'custom';
|
|
16
|
+
type LayoutType = 'row' | 'col' | 'card' | 'stack';
|
|
17
|
+
interface FieldOption {
|
|
18
|
+
label: string;
|
|
19
|
+
value: any;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
}
|
|
22
|
+
interface BaseSchema {
|
|
23
|
+
layoutType?: LayoutType;
|
|
24
|
+
layoutProps?: any;
|
|
25
|
+
children?: (FieldSchema | LayoutSchema)[];
|
|
26
|
+
}
|
|
27
|
+
interface LayoutSchema extends BaseSchema {
|
|
28
|
+
layoutType: LayoutType;
|
|
29
|
+
}
|
|
30
|
+
interface FieldSchema extends BaseSchema {
|
|
31
|
+
key?: string;
|
|
32
|
+
name?: string;
|
|
33
|
+
label?: string;
|
|
34
|
+
type?: FieldType;
|
|
35
|
+
rendererKey?: FieldType;
|
|
36
|
+
placeholder?: string;
|
|
37
|
+
defaultValue?: any;
|
|
38
|
+
options?: FieldOption[];
|
|
39
|
+
validators?: ValidatorFn[];
|
|
40
|
+
required?: boolean;
|
|
41
|
+
disabled?: boolean;
|
|
42
|
+
hidden?: boolean;
|
|
43
|
+
gridClass?: string;
|
|
44
|
+
props?: Record<string, any>;
|
|
45
|
+
nzConfig?: any;
|
|
46
|
+
}
|
|
47
|
+
interface SectionSchema {
|
|
48
|
+
title?: string;
|
|
49
|
+
description?: string;
|
|
50
|
+
fields: FieldSchema[];
|
|
51
|
+
gridClass?: string;
|
|
52
|
+
}
|
|
53
|
+
interface FormSchema {
|
|
54
|
+
id?: string;
|
|
55
|
+
name?: string;
|
|
56
|
+
sections?: SectionSchema[];
|
|
57
|
+
fields?: (FieldSchema | LayoutSchema)[];
|
|
58
|
+
submitLabel?: string;
|
|
59
|
+
cancelLabel?: string;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
type ColumnType = 'text' | 'number' | 'date' | 'currency' | 'status' | 'actions' | 'custom';
|
|
63
|
+
interface TableAction {
|
|
64
|
+
label: string;
|
|
65
|
+
icon?: string;
|
|
66
|
+
action: string;
|
|
67
|
+
color?: 'primary' | 'secondary' | 'danger' | 'success';
|
|
68
|
+
}
|
|
69
|
+
interface TableColumn {
|
|
70
|
+
key: string;
|
|
71
|
+
label: string;
|
|
72
|
+
type: ColumnType;
|
|
73
|
+
sortable?: boolean;
|
|
74
|
+
filterable?: boolean;
|
|
75
|
+
width?: string;
|
|
76
|
+
templateRef?: string;
|
|
77
|
+
}
|
|
78
|
+
interface TableSchema {
|
|
79
|
+
columns: TableColumn[];
|
|
80
|
+
pageSize?: number;
|
|
81
|
+
selectable?: boolean;
|
|
82
|
+
actions?: TableAction[];
|
|
83
|
+
globalActions?: TableAction[];
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
type ResourceType = 'form' | 'table' | 'dashboard' | 'custom';
|
|
87
|
+
interface ScreenResource {
|
|
88
|
+
id: string;
|
|
89
|
+
type: ResourceType;
|
|
90
|
+
title: string;
|
|
91
|
+
description?: string;
|
|
92
|
+
breadcrumbs?: {
|
|
93
|
+
label: string;
|
|
94
|
+
url: string;
|
|
95
|
+
}[];
|
|
96
|
+
formConfig?: FormSchema;
|
|
97
|
+
tableConfig?: TableSchema;
|
|
98
|
+
config?: Record<string, any>;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
declare class FieldRendererRegistry {
|
|
102
|
+
private renderers;
|
|
103
|
+
register(key: string, component: Type<any>): void;
|
|
104
|
+
get(key: string): Type<any> | undefined;
|
|
105
|
+
has(key: string): boolean;
|
|
106
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FieldRendererRegistry, never>;
|
|
107
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<FieldRendererRegistry>;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
declare class ValidatorRegistry {
|
|
111
|
+
private validators;
|
|
112
|
+
constructor();
|
|
113
|
+
private registerDefaults;
|
|
114
|
+
register(key: string, factory: (args?: any) => ValidatorFn): void;
|
|
115
|
+
get(key: string, args?: any): ValidatorFn | null;
|
|
116
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ValidatorRegistry, never>;
|
|
117
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ValidatorRegistry>;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
declare class AdModalWrapperComponent {
|
|
121
|
+
resource: ScreenResource;
|
|
122
|
+
data: any;
|
|
123
|
+
isOpen: _angular_core.WritableSignal<boolean>;
|
|
124
|
+
modalResource: _angular_core.Signal<{
|
|
125
|
+
isOpen: boolean;
|
|
126
|
+
title: string;
|
|
127
|
+
size: "md";
|
|
128
|
+
showFooter: boolean;
|
|
129
|
+
}>;
|
|
130
|
+
private resultSubject;
|
|
131
|
+
result$: Observable<any>;
|
|
132
|
+
onClose(): void;
|
|
133
|
+
onSubmit(result: any): void;
|
|
134
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdModalWrapperComponent, never>;
|
|
135
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdModalWrapperComponent, "ad-modal-wrapper", never, {}, {}, never, never, true, never>;
|
|
136
|
+
}
|
|
137
|
+
declare class AdModalService {
|
|
138
|
+
private appRef;
|
|
139
|
+
private injector;
|
|
140
|
+
constructor(appRef: ApplicationRef, injector: EnvironmentInjector);
|
|
141
|
+
open(resource: ScreenResource, data?: any): Observable<any>;
|
|
142
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdModalService, never>;
|
|
143
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AdModalService>;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
declare class FormEngineComponent implements OnInit {
|
|
147
|
+
schema: _angular_core.InputSignal<FormSchema>;
|
|
148
|
+
model: _angular_core.InputSignal<any>;
|
|
149
|
+
showCancel: _angular_core.InputSignal<boolean>;
|
|
150
|
+
showSubmit: _angular_core.InputSignal<boolean>;
|
|
151
|
+
formSubmit: _angular_core.OutputEmitterRef<any>;
|
|
152
|
+
formCancel: _angular_core.OutputEmitterRef<void>;
|
|
153
|
+
private engineService;
|
|
154
|
+
form: _angular_core.Signal<FormGroup<any> | FormGroup<{}>>;
|
|
155
|
+
constructor();
|
|
156
|
+
ngOnInit(): void;
|
|
157
|
+
submit(): void;
|
|
158
|
+
onCancel(): void;
|
|
159
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormEngineComponent, never>;
|
|
160
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormEngineComponent, "ad-form-engine", never, { "schema": { "alias": "schema"; "required": true; "isSignal": true; }; "model": { "alias": "model"; "required": false; "isSignal": true; }; "showCancel": { "alias": "showCancel"; "required": false; "isSignal": true; }; "showSubmit": { "alias": "showSubmit"; "required": false; "isSignal": true; }; }, { "formSubmit": "formSubmit"; "formCancel": "formCancel"; }, never, never, true, never>;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
declare class FormEngineService {
|
|
164
|
+
private fb;
|
|
165
|
+
private validatorRegistry;
|
|
166
|
+
createFormGroup(schema: FormSchema, model?: any): FormGroup;
|
|
167
|
+
private processFields;
|
|
168
|
+
private processRecursiveFields;
|
|
169
|
+
private addFieldToGroup;
|
|
170
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormEngineService, never>;
|
|
171
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<FormEngineService>;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
declare class TableEngineComponent {
|
|
175
|
+
schema: _angular_core.InputSignal<TableSchema>;
|
|
176
|
+
columns: _angular_core.InputSignal<TableColumn[]>;
|
|
177
|
+
data: _angular_core.InputSignal<any[]>;
|
|
178
|
+
loading: _angular_core.InputSignal<boolean>;
|
|
179
|
+
total: _angular_core.InputSignal<number>;
|
|
180
|
+
pageSize: _angular_core.InputSignal<number>;
|
|
181
|
+
pageIndex: _angular_core.InputSignal<number>;
|
|
182
|
+
actions: _angular_core.InputSignal<TableAction[]>;
|
|
183
|
+
queryParamsChange: _angular_core.OutputEmitterRef<any>;
|
|
184
|
+
action: _angular_core.OutputEmitterRef<{
|
|
185
|
+
action: string;
|
|
186
|
+
data: any;
|
|
187
|
+
}>;
|
|
188
|
+
protected Math: Math;
|
|
189
|
+
displayColumns: _angular_core.Signal<TableColumn[]>;
|
|
190
|
+
hasActions: _angular_core.Signal<boolean>;
|
|
191
|
+
getActions: _angular_core.Signal<TableAction[]>;
|
|
192
|
+
mapVariant(color?: string): 'primary' | 'secondary' | 'ghost' | 'danger';
|
|
193
|
+
onPageChange(newPageIndex: number): void;
|
|
194
|
+
onActionClick(action: string, data: any): void;
|
|
195
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableEngineComponent, never>;
|
|
196
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableEngineComponent, "ad-table-engine", never, { "schema": { "alias": "schema"; "required": true; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "pageIndex": { "alias": "pageIndex"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; }, { "queryParamsChange": "queryParamsChange"; "action": "action"; }, never, never, true, never>;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
declare class AdButtonComponent {
|
|
200
|
+
variant: _angular_core.InputSignal<"primary" | "secondary" | "danger" | "ghost" | "outline">;
|
|
201
|
+
type: _angular_core.InputSignal<"button" | "submit" | "reset">;
|
|
202
|
+
_disabled: _angular_core.WritableSignal<boolean>;
|
|
11
203
|
set disabled(value: boolean);
|
|
12
204
|
get disabled(): boolean;
|
|
13
|
-
loading:
|
|
14
|
-
icon:
|
|
15
|
-
size:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
static
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
205
|
+
loading: _angular_core.InputSignal<boolean>;
|
|
206
|
+
icon: _angular_core.InputSignal<string | undefined>;
|
|
207
|
+
size: _angular_core.InputSignal<"default" | "large" | "small">;
|
|
208
|
+
block: _angular_core.InputSignal<boolean>;
|
|
209
|
+
computedClasses: _angular_core.Signal<string>;
|
|
210
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdButtonComponent, never>;
|
|
211
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdButtonComponent, "ad-button", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "block": { "alias": "block"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
declare class AdInputComponent implements ControlValueAccessor {
|
|
215
|
+
type: _angular_core.InputSignal<string>;
|
|
216
|
+
placeholder: _angular_core.InputSignal<string>;
|
|
217
|
+
label: _angular_core.InputSignal<string>;
|
|
218
|
+
error: _angular_core.InputSignal<boolean>;
|
|
219
|
+
rows: _angular_core.InputSignal<number>;
|
|
220
|
+
_disabled: _angular_core.WritableSignal<boolean>;
|
|
27
221
|
set disabled(value: boolean);
|
|
28
222
|
get disabled(): boolean;
|
|
29
|
-
size:
|
|
30
|
-
prefix:
|
|
31
|
-
suffix:
|
|
223
|
+
size: _angular_core.InputSignal<"default" | "large" | "small">;
|
|
224
|
+
prefix: _angular_core.InputSignal<string | undefined>;
|
|
225
|
+
suffix: _angular_core.InputSignal<string | undefined>;
|
|
32
226
|
value: string;
|
|
33
|
-
passwordVisible:
|
|
227
|
+
passwordVisible: _angular_core.WritableSignal<boolean>;
|
|
34
228
|
onChange: any;
|
|
35
229
|
onTouched: any;
|
|
36
|
-
inputType:
|
|
230
|
+
inputType: _angular_core.Signal<string>;
|
|
37
231
|
onInputChange(event: Event): void;
|
|
38
232
|
togglePasswordVisibility(): void;
|
|
39
233
|
writeValue(value: any): void;
|
|
40
234
|
registerOnChange(fn: any): void;
|
|
41
235
|
registerOnTouched(fn: any): void;
|
|
42
236
|
setDisabledState(isDisabled: boolean): void;
|
|
43
|
-
static ɵfac:
|
|
44
|
-
static ɵcmp:
|
|
237
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdInputComponent, never>;
|
|
238
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdInputComponent, "ad-input", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "suffix": { "alias": "suffix"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
45
239
|
}
|
|
46
240
|
|
|
47
241
|
interface SelectOption {
|
|
48
242
|
label: string;
|
|
49
243
|
value: any;
|
|
50
244
|
}
|
|
51
|
-
declare class
|
|
52
|
-
options:
|
|
53
|
-
placeholder:
|
|
54
|
-
label:
|
|
55
|
-
size:
|
|
56
|
-
allowClear:
|
|
57
|
-
showSearch:
|
|
58
|
-
_disabled:
|
|
245
|
+
declare class AdSelectComponent implements ControlValueAccessor {
|
|
246
|
+
options: _angular_core.InputSignal<SelectOption[]>;
|
|
247
|
+
placeholder: _angular_core.InputSignal<string>;
|
|
248
|
+
label: _angular_core.InputSignal<string>;
|
|
249
|
+
size: _angular_core.InputSignal<"default" | "large" | "small">;
|
|
250
|
+
allowClear: _angular_core.InputSignal<boolean>;
|
|
251
|
+
showSearch: _angular_core.InputSignal<boolean>;
|
|
252
|
+
_disabled: _angular_core.WritableSignal<boolean>;
|
|
59
253
|
set disabled(value: boolean);
|
|
60
254
|
get disabled(): boolean;
|
|
61
255
|
value: any;
|
|
@@ -66,65 +260,357 @@ declare class CcSelectComponent implements ControlValueAccessor {
|
|
|
66
260
|
registerOnChange(fn: any): void;
|
|
67
261
|
registerOnTouched(fn: any): void;
|
|
68
262
|
setDisabledState(isDisabled: boolean): void;
|
|
69
|
-
static ɵfac:
|
|
70
|
-
static ɵcmp:
|
|
263
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdSelectComponent, never>;
|
|
264
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdSelectComponent, "ad-select", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "allowClear": { "alias": "allowClear"; "required": false; "isSignal": true; }; "showSearch": { "alias": "showSearch"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
71
265
|
}
|
|
72
266
|
|
|
73
267
|
type BadgeVariant = 'success' | 'warning' | 'error' | 'info' | 'neutral';
|
|
74
268
|
type BadgeType = 'filled' | 'subtle' | 'outline';
|
|
75
|
-
declare class
|
|
269
|
+
declare class AdBadgeComponent {
|
|
76
270
|
variant: BadgeVariant;
|
|
77
271
|
type: BadgeType;
|
|
78
|
-
static ɵfac:
|
|
79
|
-
static ɵcmp:
|
|
272
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdBadgeComponent, never>;
|
|
273
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdBadgeComponent, "ad-badge", never, { "variant": { "alias": "variant"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
declare class AdIconComponent {
|
|
277
|
+
name: string;
|
|
278
|
+
size: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
279
|
+
color: string;
|
|
280
|
+
get sizeClass(): string;
|
|
281
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdIconComponent, never>;
|
|
282
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdIconComponent, "ad-icon", never, { "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
80
283
|
}
|
|
81
284
|
|
|
82
|
-
declare class
|
|
285
|
+
declare class AdLabelComponent {
|
|
83
286
|
text: string;
|
|
84
287
|
for: string;
|
|
85
288
|
required: boolean;
|
|
86
289
|
error: boolean;
|
|
87
|
-
static ɵfac:
|
|
88
|
-
static ɵcmp:
|
|
290
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdLabelComponent, never>;
|
|
291
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdLabelComponent, "ad-label", never, { "text": { "alias": "text"; "required": false; }; "for": { "alias": "for"; "required": false; }; "required": { "alias": "required"; "required": false; }; "error": { "alias": "error"; "required": false; }; }, {}, never, never, true, never>;
|
|
89
292
|
}
|
|
90
293
|
|
|
91
|
-
declare class
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
static
|
|
97
|
-
|
|
294
|
+
declare class AdLoadingComponent {
|
|
295
|
+
size: _angular_core.InputSignal<"sm" | "md" | "lg">;
|
|
296
|
+
color: _angular_core.InputSignal<string>;
|
|
297
|
+
computedClasses: _angular_core.Signal<string>;
|
|
298
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdLoadingComponent, never>;
|
|
299
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdLoadingComponent, "ad-loading", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
interface SwitchOption {
|
|
303
|
+
label: string;
|
|
304
|
+
value: boolean;
|
|
305
|
+
}
|
|
306
|
+
declare class AdSwitchComponent implements ControlValueAccessor {
|
|
307
|
+
options: _angular_core.InputSignal<SwitchOption[]>;
|
|
308
|
+
_disabled: _angular_core.WritableSignal<boolean>;
|
|
309
|
+
set disabled(value: boolean);
|
|
310
|
+
get disabled(): boolean;
|
|
311
|
+
value: boolean;
|
|
312
|
+
onChange: any;
|
|
313
|
+
onTouched: any;
|
|
314
|
+
/**
|
|
315
|
+
* Get the current label based on the switch value
|
|
316
|
+
*/
|
|
317
|
+
get currentLabel(): string;
|
|
318
|
+
toggle(): void;
|
|
319
|
+
onValueChange(value: boolean): void;
|
|
320
|
+
writeValue(value: boolean): void;
|
|
321
|
+
registerOnChange(fn: any): void;
|
|
322
|
+
registerOnTouched(fn: any): void;
|
|
323
|
+
setDisabledState(isDisabled: boolean): void;
|
|
324
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdSwitchComponent, never>;
|
|
325
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdSwitchComponent, "ad-switch", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
98
326
|
}
|
|
99
327
|
|
|
100
|
-
declare class
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
328
|
+
declare class AdminSectionCardComponent {
|
|
329
|
+
resource: _angular_core.InputSignal<{
|
|
330
|
+
title: string;
|
|
331
|
+
accentedTitle: string;
|
|
332
|
+
action?: {
|
|
333
|
+
label: string;
|
|
334
|
+
icon?: string | undefined;
|
|
335
|
+
onClick?: (() => void) | undefined;
|
|
336
|
+
} | undefined;
|
|
337
|
+
loading?: boolean | undefined;
|
|
338
|
+
}>;
|
|
339
|
+
title: _angular_core.Signal<string>;
|
|
340
|
+
accentedTitle: _angular_core.Signal<string>;
|
|
341
|
+
cardAction: _angular_core.Signal<{
|
|
342
|
+
label: string;
|
|
343
|
+
icon?: string | undefined;
|
|
344
|
+
onClick?: (() => void) | undefined;
|
|
345
|
+
} | undefined>;
|
|
346
|
+
loading: _angular_core.Signal<boolean>;
|
|
347
|
+
action: _angular_core.OutputEmitterRef<void>;
|
|
348
|
+
onAction(): void;
|
|
349
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdminSectionCardComponent, never>;
|
|
350
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdminSectionCardComponent, "ad-admin-section-card", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, { "action": "action"; }, never, ["*"], true, never>;
|
|
108
351
|
}
|
|
109
352
|
|
|
110
|
-
declare
|
|
111
|
-
label:
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
353
|
+
declare const AdminSectionCardActionSchema: z.ZodObject<{
|
|
354
|
+
label: z.ZodString;
|
|
355
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
356
|
+
onClick: z.ZodOptional<z.ZodCustom<() => void, () => void>>;
|
|
357
|
+
}, z.core.$strip>;
|
|
358
|
+
declare const AdminSectionCardResourceSchema: z.ZodObject<{
|
|
359
|
+
title: z.ZodString;
|
|
360
|
+
accentedTitle: z.ZodString;
|
|
361
|
+
action: z.ZodOptional<z.ZodObject<{
|
|
362
|
+
label: z.ZodString;
|
|
363
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
364
|
+
onClick: z.ZodOptional<z.ZodCustom<() => void, () => void>>;
|
|
365
|
+
}, z.core.$strip>>;
|
|
366
|
+
loading: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
367
|
+
}, z.core.$strip>;
|
|
368
|
+
type AdminSectionCardAction = z.infer<typeof AdminSectionCardActionSchema>;
|
|
369
|
+
type AdminSectionCardResource = z.infer<typeof AdminSectionCardResourceSchema>;
|
|
370
|
+
|
|
371
|
+
declare class AdCardComponent {
|
|
372
|
+
resource: _angular_core.InputSignal<{
|
|
373
|
+
title: string;
|
|
374
|
+
accentedTitle?: string | undefined;
|
|
375
|
+
actionLabel?: string | undefined;
|
|
376
|
+
actionIcon?: string | undefined;
|
|
377
|
+
loading?: boolean | undefined;
|
|
378
|
+
bordered?: boolean | undefined;
|
|
379
|
+
padding?: string | number | undefined;
|
|
380
|
+
}>;
|
|
381
|
+
title: _angular_core.Signal<string>;
|
|
382
|
+
accentedTitle: _angular_core.Signal<string | undefined>;
|
|
383
|
+
actionLabel: _angular_core.Signal<string | undefined>;
|
|
384
|
+
actionIcon: _angular_core.Signal<string>;
|
|
385
|
+
loading: _angular_core.Signal<boolean>;
|
|
386
|
+
bordered: _angular_core.Signal<boolean>;
|
|
387
|
+
paddingStyle: _angular_core.Signal<string>;
|
|
388
|
+
action: _angular_core.OutputEmitterRef<void>;
|
|
389
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdCardComponent, never>;
|
|
390
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdCardComponent, "ad-card", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, { "action": "action"; }, never, ["*"], true, never>;
|
|
120
391
|
}
|
|
121
392
|
|
|
122
|
-
declare
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
393
|
+
declare const CardResourceSchema: z.ZodObject<{
|
|
394
|
+
title: z.ZodString;
|
|
395
|
+
accentedTitle: z.ZodOptional<z.ZodString>;
|
|
396
|
+
actionLabel: z.ZodOptional<z.ZodString>;
|
|
397
|
+
actionIcon: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
398
|
+
loading: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
399
|
+
bordered: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
400
|
+
padding: z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
401
|
+
}, z.core.$strip>;
|
|
402
|
+
type CardResource = z.infer<typeof CardResourceSchema>;
|
|
403
|
+
|
|
404
|
+
declare const DescriptionHeaderButtonSchema: z.ZodObject<{
|
|
405
|
+
label: z.ZodString;
|
|
406
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
407
|
+
primary: "primary";
|
|
408
|
+
secondary: "secondary";
|
|
409
|
+
danger: "danger";
|
|
410
|
+
ghost: "ghost";
|
|
411
|
+
outline: "outline";
|
|
412
|
+
}>>;
|
|
413
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
414
|
+
button: "button";
|
|
415
|
+
submit: "submit";
|
|
416
|
+
reset: "reset";
|
|
417
|
+
}>>;
|
|
418
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
419
|
+
onClick: z.ZodOptional<z.ZodCustom<() => void, () => void>>;
|
|
420
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
421
|
+
isModalTrigger: z.ZodOptional<z.ZodBoolean>;
|
|
422
|
+
modalResource: z.ZodOptional<z.ZodCustom<ScreenResource, ScreenResource>>;
|
|
423
|
+
modalData: z.ZodOptional<z.ZodAny>;
|
|
424
|
+
onModalConfirm: z.ZodOptional<z.ZodCustom<(result: any) => void, (result: any) => void>>;
|
|
425
|
+
onModalCancel: z.ZodOptional<z.ZodCustom<() => void, () => void>>;
|
|
426
|
+
}, z.core.$strip>;
|
|
427
|
+
declare const DescriptionHeaderResourceSchema: z.ZodObject<{
|
|
428
|
+
title: z.ZodString;
|
|
429
|
+
accentedTitle: z.ZodOptional<z.ZodString>;
|
|
430
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
431
|
+
buttons: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
432
|
+
label: z.ZodString;
|
|
433
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
434
|
+
primary: "primary";
|
|
435
|
+
secondary: "secondary";
|
|
436
|
+
danger: "danger";
|
|
437
|
+
ghost: "ghost";
|
|
438
|
+
outline: "outline";
|
|
439
|
+
}>>;
|
|
440
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
441
|
+
button: "button";
|
|
442
|
+
submit: "submit";
|
|
443
|
+
reset: "reset";
|
|
444
|
+
}>>;
|
|
445
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
446
|
+
onClick: z.ZodOptional<z.ZodCustom<() => void, () => void>>;
|
|
447
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
448
|
+
isModalTrigger: z.ZodOptional<z.ZodBoolean>;
|
|
449
|
+
modalResource: z.ZodOptional<z.ZodCustom<ScreenResource, ScreenResource>>;
|
|
450
|
+
modalData: z.ZodOptional<z.ZodAny>;
|
|
451
|
+
onModalConfirm: z.ZodOptional<z.ZodCustom<(result: any) => void, (result: any) => void>>;
|
|
452
|
+
onModalCancel: z.ZodOptional<z.ZodCustom<() => void, () => void>>;
|
|
453
|
+
}, z.core.$strip>>>;
|
|
454
|
+
showDivider: z.ZodOptional<z.ZodBoolean>;
|
|
455
|
+
}, z.core.$strip>;
|
|
456
|
+
type DescriptionHeaderButton = z.infer<typeof DescriptionHeaderButtonSchema>;
|
|
457
|
+
type DescriptionHeaderResource = z.infer<typeof DescriptionHeaderResourceSchema>;
|
|
458
|
+
|
|
459
|
+
declare const ModalTriggerResourceSchema: z.ZodObject<{
|
|
460
|
+
resource: z.ZodAny;
|
|
461
|
+
data: z.ZodOptional<z.ZodAny>;
|
|
462
|
+
triggerLabel: z.ZodString;
|
|
463
|
+
triggerIcon: z.ZodOptional<z.ZodString>;
|
|
464
|
+
loading: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
465
|
+
variant: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
466
|
+
primary: "primary";
|
|
467
|
+
secondary: "secondary";
|
|
468
|
+
danger: "danger";
|
|
469
|
+
ghost: "ghost";
|
|
470
|
+
outline: "outline";
|
|
471
|
+
}>>>;
|
|
472
|
+
disabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
473
|
+
}, z.core.$strip>;
|
|
474
|
+
type ModalTriggerResource = z.infer<typeof ModalTriggerResourceSchema>;
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* Componente Molecular Description Header
|
|
478
|
+
*
|
|
479
|
+
* Molécula que compone múltiples átomos (títulos, botones, iconos) para
|
|
480
|
+
* crear un header descriptivo reutilizable con títulos acentuados,
|
|
481
|
+
* subtítulos y botones de acción dinámicos.
|
|
482
|
+
*
|
|
483
|
+
* @example
|
|
484
|
+
* ```html
|
|
485
|
+
* <ad-description-header [resource]="headerResource"></ad-description-header>
|
|
486
|
+
* ```
|
|
487
|
+
*/
|
|
488
|
+
declare class AdDescriptionHeaderComponent {
|
|
489
|
+
/** Recurso de configuración del header */
|
|
490
|
+
resource: _angular_core.InputSignal<{
|
|
491
|
+
title: string;
|
|
492
|
+
accentedTitle?: string | undefined;
|
|
493
|
+
subtitle?: string | undefined;
|
|
494
|
+
buttons?: {
|
|
495
|
+
label: string;
|
|
496
|
+
variant?: "primary" | "secondary" | "danger" | "ghost" | "outline" | undefined;
|
|
497
|
+
type?: "button" | "submit" | "reset" | undefined;
|
|
498
|
+
icon?: string | undefined;
|
|
499
|
+
onClick?: (() => void) | undefined;
|
|
500
|
+
disabled?: boolean | undefined;
|
|
501
|
+
isModalTrigger?: boolean | undefined;
|
|
502
|
+
modalResource?: _cerca_design_system.ScreenResource | undefined;
|
|
503
|
+
modalData?: any;
|
|
504
|
+
onModalConfirm?: ((result: any) => void) | undefined;
|
|
505
|
+
onModalCancel?: (() => void) | undefined;
|
|
506
|
+
}[] | undefined;
|
|
507
|
+
showDivider?: boolean | undefined;
|
|
508
|
+
}>;
|
|
509
|
+
title: _angular_core.Signal<string>;
|
|
510
|
+
accentedTitle: _angular_core.Signal<string | undefined>;
|
|
511
|
+
subtitle: _angular_core.Signal<string | undefined>;
|
|
512
|
+
buttons: _angular_core.Signal<{
|
|
513
|
+
label: string;
|
|
514
|
+
variant?: "primary" | "secondary" | "danger" | "ghost" | "outline" | undefined;
|
|
515
|
+
type?: "button" | "submit" | "reset" | undefined;
|
|
516
|
+
icon?: string | undefined;
|
|
517
|
+
onClick?: (() => void) | undefined;
|
|
518
|
+
disabled?: boolean | undefined;
|
|
519
|
+
isModalTrigger?: boolean | undefined;
|
|
520
|
+
modalResource?: _cerca_design_system.ScreenResource | undefined;
|
|
521
|
+
modalData?: any;
|
|
522
|
+
onModalConfirm?: ((result: any) => void) | undefined;
|
|
523
|
+
onModalCancel?: (() => void) | undefined;
|
|
524
|
+
}[] | undefined>;
|
|
525
|
+
showDivider: _angular_core.Signal<boolean | undefined>;
|
|
526
|
+
getModalTriggerResource(button: DescriptionHeaderButton): ModalTriggerResource;
|
|
527
|
+
/**
|
|
528
|
+
* Maneja el clic en un botón
|
|
529
|
+
* @param onClick Callback del botón
|
|
530
|
+
*/
|
|
531
|
+
handleButtonClick(onClick: (() => void) | undefined): void;
|
|
532
|
+
/**
|
|
533
|
+
* Maneja la confirmación de un modal
|
|
534
|
+
* @param onConfirm Callback de confirmación
|
|
535
|
+
* @param result Resultado del modal
|
|
536
|
+
*/
|
|
537
|
+
handleModalConfirm(onConfirm: ((result: any) => void) | undefined, result: any): void;
|
|
538
|
+
/**
|
|
539
|
+
* Maneja la cancelación de un modal
|
|
540
|
+
* @param onCancel Callback de cancelación
|
|
541
|
+
*/
|
|
542
|
+
handleModalCancel(onCancel: (() => void) | undefined): void;
|
|
543
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdDescriptionHeaderComponent, never>;
|
|
544
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdDescriptionHeaderComponent, "ad-description-header", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
declare class AdFormFieldComponent {
|
|
548
|
+
resource: _angular_core.InputSignal<{
|
|
549
|
+
label?: string | undefined;
|
|
550
|
+
hint?: string | undefined;
|
|
551
|
+
errorMessage?: string | null | undefined;
|
|
552
|
+
required?: boolean | undefined;
|
|
553
|
+
error?: boolean | undefined;
|
|
554
|
+
for?: string | undefined;
|
|
555
|
+
}>;
|
|
556
|
+
label: _angular_core.Signal<string>;
|
|
557
|
+
hint: _angular_core.Signal<string>;
|
|
558
|
+
errorMessage: _angular_core.Signal<string | null>;
|
|
559
|
+
required: _angular_core.Signal<boolean>;
|
|
560
|
+
error: _angular_core.Signal<boolean>;
|
|
561
|
+
forAttr: _angular_core.Signal<string>;
|
|
562
|
+
hasError: _angular_core.Signal<boolean>;
|
|
563
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdFormFieldComponent, never>;
|
|
564
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdFormFieldComponent, "ad-form-field", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
declare const FormFieldResourceSchema: z.ZodObject<{
|
|
568
|
+
label: z.ZodOptional<z.ZodString>;
|
|
569
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
570
|
+
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
571
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
572
|
+
error: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
573
|
+
for: z.ZodOptional<z.ZodString>;
|
|
574
|
+
}, z.core.$strip>;
|
|
575
|
+
type FormFieldResource = z.infer<typeof FormFieldResourceSchema>;
|
|
576
|
+
|
|
577
|
+
declare class AdModalTriggerComponent {
|
|
578
|
+
resource: _angular_core.InputSignal<{
|
|
579
|
+
resource: any;
|
|
580
|
+
triggerLabel: string;
|
|
581
|
+
data?: any;
|
|
582
|
+
triggerIcon?: string | undefined;
|
|
583
|
+
loading?: boolean | undefined;
|
|
584
|
+
variant?: "primary" | "secondary" | "danger" | "ghost" | "outline" | undefined;
|
|
585
|
+
disabled?: boolean | undefined;
|
|
586
|
+
}>;
|
|
587
|
+
screenResource: _angular_core.Signal<any>;
|
|
588
|
+
data: _angular_core.Signal<any>;
|
|
589
|
+
triggerLabel: _angular_core.Signal<string>;
|
|
590
|
+
triggerIcon: _angular_core.Signal<string | undefined>;
|
|
591
|
+
loading: _angular_core.Signal<boolean>;
|
|
592
|
+
variant: _angular_core.Signal<"primary" | "secondary" | "danger" | "ghost" | "outline">;
|
|
593
|
+
disabled: _angular_core.Signal<boolean>;
|
|
594
|
+
confirm: _angular_core.OutputEmitterRef<any>;
|
|
595
|
+
cancel: _angular_core.OutputEmitterRef<void>;
|
|
596
|
+
private modalService;
|
|
597
|
+
openModal(): void;
|
|
598
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdModalTriggerComponent, never>;
|
|
599
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdModalTriggerComponent, "ad-modal-trigger", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, { "confirm": "confirm"; "cancel": "cancel"; }, never, never, true, never>;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
declare class AdSearchBarComponent implements OnInit, OnDestroy {
|
|
603
|
+
resource: _angular_core.InputSignal<{
|
|
604
|
+
placeholder?: string | undefined;
|
|
605
|
+
debounce?: number | undefined;
|
|
606
|
+
loading?: boolean | undefined;
|
|
607
|
+
variant?: "standalone" | "header" | undefined;
|
|
608
|
+
}>;
|
|
609
|
+
placeholder: _angular_core.Signal<string>;
|
|
610
|
+
debounce: _angular_core.Signal<number>;
|
|
611
|
+
loading: _angular_core.Signal<boolean>;
|
|
612
|
+
variant: _angular_core.Signal<"standalone" | "header">;
|
|
613
|
+
search: _angular_core.OutputEmitterRef<string>;
|
|
128
614
|
searchQuery: string;
|
|
129
615
|
private searchSubject;
|
|
130
616
|
private subscription;
|
|
@@ -132,104 +618,216 @@ declare class CcSearchBarComponent implements OnInit, OnDestroy {
|
|
|
132
618
|
onQueryChange(): void;
|
|
133
619
|
clear(): void;
|
|
134
620
|
ngOnDestroy(): void;
|
|
135
|
-
static ɵfac:
|
|
136
|
-
static ɵcmp:
|
|
621
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdSearchBarComponent, never>;
|
|
622
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdSearchBarComponent, "ad-search-bar", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, { "search": "search"; }, never, never, true, never>;
|
|
137
623
|
}
|
|
138
624
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
}
|
|
166
|
-
declare class CcSidebarComponent {
|
|
167
|
-
menuItems: NavItem[];
|
|
168
|
-
collapsed: boolean;
|
|
169
|
-
activeRoute: string;
|
|
170
|
-
navigate: EventEmitter<NavItem>;
|
|
171
|
-
toggleCollapse: EventEmitter<void>;
|
|
172
|
-
onItemClick(item: NavItem): void;
|
|
173
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CcSidebarComponent, never>;
|
|
174
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CcSidebarComponent, "cc-sidebar", never, { "menuItems": { "alias": "menuItems"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; "activeRoute": { "alias": "activeRoute"; "required": false; }; }, { "navigate": "navigate"; "toggleCollapse": "toggleCollapse"; }, never, ["[logo]", "[footer]"], true, never>;
|
|
625
|
+
declare const SearchBarResourceSchema: z.ZodObject<{
|
|
626
|
+
placeholder: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
627
|
+
debounce: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
628
|
+
loading: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
629
|
+
variant: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
630
|
+
standalone: "standalone";
|
|
631
|
+
header: "header";
|
|
632
|
+
}>>>;
|
|
633
|
+
}, z.core.$strip>;
|
|
634
|
+
type SearchBarResource = z.infer<typeof SearchBarResourceSchema>;
|
|
635
|
+
|
|
636
|
+
declare class AdStatCardComponent {
|
|
637
|
+
resource: _angular_core.InputSignal<{
|
|
638
|
+
title: string;
|
|
639
|
+
value: string | number;
|
|
640
|
+
icon?: string | undefined;
|
|
641
|
+
color?: "blue" | "green" | "red" | "yellow" | "purple" | "orange" | undefined;
|
|
642
|
+
loading?: boolean | undefined;
|
|
643
|
+
}>;
|
|
644
|
+
title: _angular_core.Signal<string>;
|
|
645
|
+
value: _angular_core.Signal<string | number>;
|
|
646
|
+
icon: _angular_core.Signal<string | undefined>;
|
|
647
|
+
readonly colorClass: _angular_core.Signal<string>;
|
|
648
|
+
readonly labelColorClass: _angular_core.Signal<string>;
|
|
649
|
+
readonly isLoading: _angular_core.Signal<boolean>;
|
|
650
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdStatCardComponent, never>;
|
|
651
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdStatCardComponent, "ad-stat-card", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
175
652
|
}
|
|
176
653
|
|
|
177
|
-
|
|
178
|
-
|
|
654
|
+
declare const StatCardColorSchema: z.ZodEnum<{
|
|
655
|
+
blue: "blue";
|
|
656
|
+
green: "green";
|
|
657
|
+
red: "red";
|
|
658
|
+
yellow: "yellow";
|
|
659
|
+
purple: "purple";
|
|
660
|
+
orange: "orange";
|
|
661
|
+
}>;
|
|
662
|
+
declare const StatCardResourceSchema: z.ZodObject<{
|
|
663
|
+
title: z.ZodString;
|
|
664
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
665
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
666
|
+
color: z.ZodOptional<z.ZodEnum<{
|
|
667
|
+
blue: "blue";
|
|
668
|
+
green: "green";
|
|
669
|
+
red: "red";
|
|
670
|
+
yellow: "yellow";
|
|
671
|
+
purple: "purple";
|
|
672
|
+
orange: "orange";
|
|
673
|
+
}>>;
|
|
674
|
+
loading: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
675
|
+
}, z.core.$strip>;
|
|
676
|
+
type StatCardColor = z.infer<typeof StatCardColorSchema>;
|
|
677
|
+
type StatCardResource = z.infer<typeof StatCardResourceSchema>;
|
|
678
|
+
declare const STAT_CARD_COLOR_MAP: Record<StatCardColor, {
|
|
679
|
+
bg: string;
|
|
179
680
|
label: string;
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
681
|
+
}>;
|
|
682
|
+
|
|
683
|
+
declare class AdDataTableComponent {
|
|
684
|
+
resource: _angular_core.InputSignal<{
|
|
685
|
+
data: any[];
|
|
686
|
+
columns: {
|
|
687
|
+
key: string;
|
|
688
|
+
label: string;
|
|
689
|
+
type?: "number" | "custom" | "text" | "date" | "badge" | undefined;
|
|
690
|
+
sortable?: boolean | undefined;
|
|
691
|
+
}[];
|
|
692
|
+
loading?: boolean | undefined;
|
|
693
|
+
showSearch?: boolean | undefined;
|
|
694
|
+
searchPlaceholder?: string | undefined;
|
|
695
|
+
}>;
|
|
696
|
+
data: _angular_core.Signal<any[]>;
|
|
697
|
+
columns: _angular_core.Signal<{
|
|
698
|
+
key: string;
|
|
699
|
+
label: string;
|
|
700
|
+
type?: "number" | "custom" | "text" | "date" | "badge" | undefined;
|
|
701
|
+
sortable?: boolean | undefined;
|
|
702
|
+
}[]>;
|
|
703
|
+
loading: _angular_core.Signal<boolean>;
|
|
704
|
+
showSearch: _angular_core.Signal<boolean>;
|
|
705
|
+
searchPlaceholder: _angular_core.Signal<string>;
|
|
706
|
+
rowClick: _angular_core.OutputEmitterRef<any>;
|
|
707
|
+
search: _angular_core.OutputEmitterRef<string>;
|
|
708
|
+
actionClick: _angular_core.OutputEmitterRef<{
|
|
192
709
|
action: string;
|
|
193
710
|
row: any;
|
|
194
711
|
}>;
|
|
195
712
|
customCellTemplate?: TemplateRef<any>;
|
|
196
713
|
rowActionsTemplate?: TemplateRef<any>;
|
|
197
714
|
get skeletonRows(): any[];
|
|
198
|
-
static ɵfac:
|
|
199
|
-
static ɵcmp:
|
|
715
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdDataTableComponent, never>;
|
|
716
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdDataTableComponent, "ad-data-table", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, { "rowClick": "rowClick"; "search": "search"; "actionClick": "actionClick"; }, ["customCellTemplate", "rowActionsTemplate"], never, true, never>;
|
|
200
717
|
}
|
|
201
718
|
|
|
202
|
-
declare
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
719
|
+
declare const DataTableColumnSchema: z.ZodObject<{
|
|
720
|
+
key: z.ZodString;
|
|
721
|
+
label: z.ZodString;
|
|
722
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
723
|
+
number: "number";
|
|
724
|
+
custom: "custom";
|
|
725
|
+
text: "text";
|
|
726
|
+
date: "date";
|
|
727
|
+
badge: "badge";
|
|
728
|
+
}>>;
|
|
729
|
+
sortable: z.ZodOptional<z.ZodBoolean>;
|
|
730
|
+
}, z.core.$strip>;
|
|
731
|
+
type DataTableColumn = z.infer<typeof DataTableColumnSchema>;
|
|
732
|
+
declare const DataTableResourceSchema: z.ZodObject<{
|
|
733
|
+
data: z.ZodDefault<z.ZodArray<z.ZodAny>>;
|
|
734
|
+
columns: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
735
|
+
key: z.ZodString;
|
|
736
|
+
label: z.ZodString;
|
|
737
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
738
|
+
number: "number";
|
|
739
|
+
custom: "custom";
|
|
740
|
+
text: "text";
|
|
741
|
+
date: "date";
|
|
742
|
+
badge: "badge";
|
|
743
|
+
}>>;
|
|
744
|
+
sortable: z.ZodOptional<z.ZodBoolean>;
|
|
745
|
+
}, z.core.$strip>>>;
|
|
746
|
+
loading: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
747
|
+
showSearch: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
748
|
+
searchPlaceholder: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
749
|
+
}, z.core.$strip>;
|
|
750
|
+
type DataTableResource = z.infer<typeof DataTableResourceSchema>;
|
|
751
|
+
|
|
752
|
+
declare class AdHeaderComponent {
|
|
753
|
+
resource: _angular_core.InputSignal<{
|
|
754
|
+
user: {
|
|
755
|
+
name: string;
|
|
756
|
+
role: string;
|
|
757
|
+
avatarUrl?: string | undefined;
|
|
758
|
+
};
|
|
759
|
+
notificationsCount?: number | undefined;
|
|
760
|
+
}>;
|
|
761
|
+
user: _angular_core.Signal<{
|
|
762
|
+
name: string;
|
|
763
|
+
role: string;
|
|
764
|
+
avatarUrl?: string | undefined;
|
|
765
|
+
}>;
|
|
766
|
+
notificationsCount: _angular_core.Signal<number>;
|
|
767
|
+
toggleSidebar: _angular_core.OutputEmitterRef<void>;
|
|
768
|
+
toggleMobileMenu: _angular_core.OutputEmitterRef<void>;
|
|
769
|
+
logout: _angular_core.OutputEmitterRef<void>;
|
|
770
|
+
navigateProfile: _angular_core.OutputEmitterRef<void>;
|
|
771
|
+
toggleTheme: _angular_core.OutputEmitterRef<boolean>;
|
|
772
|
+
isUserMenuOpen: _angular_core.WritableSignal<boolean>;
|
|
773
|
+
isDarkMode: _angular_core.WritableSignal<boolean>;
|
|
774
|
+
onToggleSidebar(): void;
|
|
775
|
+
onToggleMobileMenu(): void;
|
|
776
|
+
toggleUserMenu(): void;
|
|
777
|
+
closeUserMenu(): void;
|
|
778
|
+
onLogoutClick(): void;
|
|
779
|
+
onProfileClick(): void;
|
|
780
|
+
onToggleThemeClick(): void;
|
|
781
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdHeaderComponent, never>;
|
|
782
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdHeaderComponent, "ad-header", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, { "toggleSidebar": "toggleSidebar"; "toggleMobileMenu": "toggleMobileMenu"; "logout": "logout"; "navigateProfile": "navigateProfile"; "toggleTheme": "toggleTheme"; }, never, never, true, never>;
|
|
213
783
|
}
|
|
214
784
|
|
|
215
|
-
declare
|
|
785
|
+
declare const UserSchema: z.ZodObject<{
|
|
786
|
+
name: z.ZodString;
|
|
787
|
+
role: z.ZodString;
|
|
788
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
789
|
+
}, z.core.$strip>;
|
|
790
|
+
type User = z.infer<typeof UserSchema>;
|
|
791
|
+
declare const HeaderResourceSchema: z.ZodObject<{
|
|
792
|
+
user: z.ZodObject<{
|
|
793
|
+
name: z.ZodString;
|
|
794
|
+
role: z.ZodString;
|
|
795
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
796
|
+
}, z.core.$strip>;
|
|
797
|
+
notificationsCount: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
798
|
+
}, z.core.$strip>;
|
|
799
|
+
type HeaderResource = z.infer<typeof HeaderResourceSchema>;
|
|
800
|
+
|
|
801
|
+
declare class AdLoginComponent {
|
|
216
802
|
private fb;
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
803
|
+
resource: _angular_core.InputSignal<{
|
|
804
|
+
title?: string | undefined;
|
|
805
|
+
titleAccent?: string | undefined;
|
|
806
|
+
subtitle?: string | undefined;
|
|
807
|
+
logo?: string | undefined;
|
|
808
|
+
icon?: string | undefined;
|
|
809
|
+
loading?: boolean | undefined;
|
|
810
|
+
errorMessage?: string | null | undefined;
|
|
811
|
+
supportEmail?: string | undefined;
|
|
812
|
+
recoverPasswordUrl?: string | undefined;
|
|
813
|
+
forgotPasswordLabel?: string | undefined;
|
|
814
|
+
}>;
|
|
815
|
+
title: _angular_core.Signal<string>;
|
|
816
|
+
titleAccent: _angular_core.Signal<string | undefined>;
|
|
817
|
+
subtitle: _angular_core.Signal<string>;
|
|
818
|
+
logo: _angular_core.Signal<string | undefined>;
|
|
819
|
+
icon: _angular_core.Signal<string | undefined>;
|
|
820
|
+
loading: _angular_core.Signal<boolean>;
|
|
821
|
+
errorMessage: _angular_core.Signal<string | null>;
|
|
822
|
+
supportEmail: _angular_core.Signal<string>;
|
|
823
|
+
recoverPasswordUrl: _angular_core.Signal<string | undefined>;
|
|
824
|
+
forgotPasswordLabel: _angular_core.Signal<string>;
|
|
825
|
+
loginSubmit: _angular_core.OutputEmitterRef<{
|
|
228
826
|
email: string;
|
|
229
827
|
password: string;
|
|
230
828
|
remember: boolean;
|
|
231
829
|
}>;
|
|
232
|
-
forgotPasswordClick:
|
|
830
|
+
forgotPasswordClick: _angular_core.OutputEmitterRef<void>;
|
|
233
831
|
loginForm: _angular_forms.FormGroup<{
|
|
234
832
|
email: _angular_forms.FormControl<string | null>;
|
|
235
833
|
password: _angular_forms.FormControl<string | null>;
|
|
@@ -237,101 +835,514 @@ declare class CcLoginComponent {
|
|
|
237
835
|
}>;
|
|
238
836
|
submitForm(): void;
|
|
239
837
|
fieldInvalid(field: string): boolean;
|
|
240
|
-
|
|
241
|
-
static
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
838
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdLoginComponent, never>;
|
|
839
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdLoginComponent, "ad-login", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, { "loginSubmit": "loginSubmit"; "forgotPasswordClick": "forgotPasswordClick"; }, never, never, true, never>;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
declare const LoginResourceSchema: z.ZodObject<{
|
|
843
|
+
title: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
844
|
+
titleAccent: z.ZodOptional<z.ZodString>;
|
|
845
|
+
subtitle: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
846
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
847
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
848
|
+
loading: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
849
|
+
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
850
|
+
supportEmail: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
851
|
+
recoverPasswordUrl: z.ZodOptional<z.ZodString>;
|
|
852
|
+
forgotPasswordLabel: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
853
|
+
}, z.core.$strip>;
|
|
854
|
+
type LoginResource = z.infer<typeof LoginResourceSchema>;
|
|
855
|
+
|
|
856
|
+
declare class AdModalComponent {
|
|
857
|
+
resource: _angular_core.InputSignal<{
|
|
858
|
+
isOpen?: boolean | undefined;
|
|
859
|
+
title?: string | undefined;
|
|
860
|
+
accentedTitle?: string | undefined;
|
|
861
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
862
|
+
closeOnOverlay?: boolean | undefined;
|
|
863
|
+
showFooter?: boolean | undefined;
|
|
864
|
+
}>;
|
|
865
|
+
isOpen: _angular_core.Signal<boolean>;
|
|
866
|
+
title: _angular_core.Signal<string>;
|
|
867
|
+
accentedTitle: _angular_core.Signal<string | undefined>;
|
|
868
|
+
size: _angular_core.Signal<"sm" | "md" | "lg">;
|
|
869
|
+
closeOnOverlay: _angular_core.Signal<boolean>;
|
|
870
|
+
showFooter: _angular_core.Signal<boolean>;
|
|
871
|
+
close: _angular_core.OutputEmitterRef<void>;
|
|
872
|
+
onOverlayClick(event: MouseEvent): void;
|
|
873
|
+
onEscape(): void;
|
|
874
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdModalComponent, never>;
|
|
875
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdModalComponent, "ad-modal", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, { "close": "close"; }, never, ["*", "[footer]"], true, never>;
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
declare const ModalResourceSchema: z.ZodObject<{
|
|
879
|
+
isOpen: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
880
|
+
title: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
881
|
+
accentedTitle: z.ZodOptional<z.ZodString>;
|
|
882
|
+
size: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
883
|
+
sm: "sm";
|
|
884
|
+
md: "md";
|
|
885
|
+
lg: "lg";
|
|
886
|
+
}>>>;
|
|
887
|
+
closeOnOverlay: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
888
|
+
showFooter: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
889
|
+
}, z.core.$strip>;
|
|
890
|
+
type ModalResource = z.infer<typeof ModalResourceSchema>;
|
|
891
|
+
|
|
892
|
+
declare const NavItemSchema: z.ZodType<any>;
|
|
893
|
+
type NavItem = z.infer<typeof NavItemSchema>;
|
|
894
|
+
declare const SidebarResourceSchema: z.ZodObject<{
|
|
895
|
+
menuItems: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
896
|
+
collapsed: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
897
|
+
}, z.core.$strip>;
|
|
898
|
+
type SidebarResource = z.infer<typeof SidebarResourceSchema>;
|
|
899
|
+
|
|
900
|
+
declare class AdSidebarComponent {
|
|
901
|
+
private router;
|
|
902
|
+
resource: _angular_core.InputSignal<{
|
|
903
|
+
menuItems: any[];
|
|
904
|
+
collapsed?: boolean | undefined;
|
|
905
|
+
}>;
|
|
906
|
+
menuItems: _angular_core.Signal<any[]>;
|
|
907
|
+
collapsed: _angular_core.Signal<boolean>;
|
|
908
|
+
toggleCollapse: _angular_core.OutputEmitterRef<void>;
|
|
909
|
+
navigate: _angular_core.OutputEmitterRef<any>;
|
|
910
|
+
expandedItems: _angular_core.WritableSignal<Set<string>>;
|
|
911
|
+
constructor(router: Router);
|
|
912
|
+
onItemClick(item: NavItem): void;
|
|
913
|
+
toggleSubmenu(item: NavItem): void;
|
|
914
|
+
isExpanded(item: NavItem): boolean;
|
|
915
|
+
hasActiveChild(item: NavItem): boolean;
|
|
916
|
+
onToggle(): void;
|
|
917
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdSidebarComponent, never>;
|
|
918
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdSidebarComponent, "ad-sidebar", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, { "toggleCollapse": "toggleCollapse"; "navigate": "navigate"; }, never, never, true, never>;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
declare const AdTableColumnSchema: z.ZodObject<{
|
|
922
|
+
key: z.ZodString;
|
|
923
|
+
label: z.ZodString;
|
|
924
|
+
width: z.ZodOptional<z.ZodString>;
|
|
925
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
926
|
+
left: "left";
|
|
927
|
+
center: "center";
|
|
928
|
+
right: "right";
|
|
929
|
+
}>>;
|
|
930
|
+
pipe_to_apply: z.ZodOptional<z.ZodString>;
|
|
931
|
+
function_to_exec: z.ZodOptional<z.ZodString>;
|
|
932
|
+
}, z.core.$strip>;
|
|
933
|
+
type AdTableColumn = z.infer<typeof AdTableColumnSchema>;
|
|
934
|
+
declare const TableResourceSchema: z.ZodObject<{
|
|
935
|
+
data: z.ZodArray<z.ZodAny>;
|
|
936
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
937
|
+
key: z.ZodString;
|
|
938
|
+
label: z.ZodString;
|
|
939
|
+
width: z.ZodOptional<z.ZodString>;
|
|
940
|
+
align: z.ZodOptional<z.ZodEnum<{
|
|
941
|
+
left: "left";
|
|
942
|
+
center: "center";
|
|
943
|
+
right: "right";
|
|
944
|
+
}>>;
|
|
945
|
+
pipe_to_apply: z.ZodOptional<z.ZodString>;
|
|
946
|
+
function_to_exec: z.ZodOptional<z.ZodString>;
|
|
947
|
+
}, z.core.$strip>>;
|
|
948
|
+
total: z.ZodNumber;
|
|
949
|
+
loading: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
950
|
+
pageIndex: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
951
|
+
pageSize: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
952
|
+
searchPlaceholder: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
953
|
+
context: z.ZodOptional<z.ZodAny>;
|
|
954
|
+
}, z.core.$strip>;
|
|
955
|
+
type TableResource = z.infer<typeof TableResourceSchema>;
|
|
956
|
+
|
|
957
|
+
declare class AdTableComponent implements OnInit, OnDestroy {
|
|
958
|
+
resource: _angular_core.InputSignal<{
|
|
959
|
+
data: any[];
|
|
960
|
+
columns: {
|
|
961
|
+
key: string;
|
|
962
|
+
label: string;
|
|
963
|
+
width?: string | undefined;
|
|
964
|
+
align?: "left" | "center" | "right" | undefined;
|
|
965
|
+
pipe_to_apply?: string | undefined;
|
|
966
|
+
function_to_exec?: string | undefined;
|
|
967
|
+
}[];
|
|
968
|
+
total: number;
|
|
969
|
+
loading?: boolean | undefined;
|
|
970
|
+
pageIndex?: number | undefined;
|
|
971
|
+
pageSize?: number | undefined;
|
|
972
|
+
searchPlaceholder?: string | undefined;
|
|
973
|
+
context?: any;
|
|
974
|
+
}>;
|
|
975
|
+
data: _angular_core.Signal<any[]>;
|
|
976
|
+
columns: _angular_core.Signal<{
|
|
977
|
+
key: string;
|
|
978
|
+
label: string;
|
|
979
|
+
width?: string | undefined;
|
|
980
|
+
align?: "left" | "center" | "right" | undefined;
|
|
981
|
+
pipe_to_apply?: string | undefined;
|
|
982
|
+
function_to_exec?: string | undefined;
|
|
983
|
+
}[]>;
|
|
984
|
+
total: _angular_core.Signal<number>;
|
|
985
|
+
loading: _angular_core.Signal<boolean>;
|
|
986
|
+
pageIndex: _angular_core.Signal<number>;
|
|
987
|
+
pageSize: _angular_core.Signal<number>;
|
|
988
|
+
searchPlaceholder: _angular_core.Signal<string>;
|
|
989
|
+
pageChange: _angular_core.OutputEmitterRef<number>;
|
|
990
|
+
search: _angular_core.OutputEmitterRef<string>;
|
|
991
|
+
searchInput: FormControl<string | null>;
|
|
992
|
+
private destroy$;
|
|
993
|
+
private datePipe;
|
|
994
|
+
private currencyPipe;
|
|
995
|
+
private decimalPipe;
|
|
996
|
+
private percentPipe;
|
|
997
|
+
totalPages: _angular_core.Signal<number>;
|
|
998
|
+
isFirstPage: _angular_core.Signal<boolean>;
|
|
999
|
+
isLastPage: _angular_core.Signal<boolean>;
|
|
1000
|
+
ngOnInit(): void;
|
|
1001
|
+
ngOnDestroy(): void;
|
|
1002
|
+
onPageChange(newPage: number): void;
|
|
1003
|
+
getAlignClass(align?: 'left' | 'center' | 'right'): string;
|
|
1004
|
+
getCellValue(row: any, col: AdTableColumn): any;
|
|
1005
|
+
private applyPipe;
|
|
1006
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdTableComponent, never>;
|
|
1007
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdTableComponent, "ad-table", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, { "pageChange": "pageChange"; "search": "search"; }, never, never, true, never>;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
declare const ComponentApiInputSchema: z.ZodObject<{
|
|
1011
|
+
name: z.ZodString;
|
|
1012
|
+
type: z.ZodString;
|
|
1013
|
+
required: z.ZodBoolean;
|
|
1014
|
+
defaultValue: z.ZodString;
|
|
1015
|
+
description: z.ZodString;
|
|
1016
|
+
}, z.core.$strip>;
|
|
1017
|
+
declare const ComponentApiOutputSchema: z.ZodObject<{
|
|
1018
|
+
name: z.ZodString;
|
|
1019
|
+
eventType: z.ZodString;
|
|
1020
|
+
description: z.ZodString;
|
|
1021
|
+
}, z.core.$strip>;
|
|
1022
|
+
declare const ComponentVariantSchema: z.ZodObject<{
|
|
1023
|
+
label: z.ZodString;
|
|
1024
|
+
resource: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1025
|
+
}, z.core.$strip>;
|
|
1026
|
+
declare const DocViewerResourceSchema: z.ZodObject<{
|
|
1027
|
+
id: z.ZodString;
|
|
1028
|
+
name: z.ZodString;
|
|
1029
|
+
category: z.ZodEnum<{
|
|
1030
|
+
atom: "atom";
|
|
1031
|
+
molecule: "molecule";
|
|
1032
|
+
organism: "organism";
|
|
1033
|
+
template: "template";
|
|
1034
|
+
}>;
|
|
1035
|
+
description: z.ZodString;
|
|
1036
|
+
selector: z.ZodString;
|
|
1037
|
+
component: z.ZodCustom<Type<unknown>, Type<unknown>>;
|
|
1038
|
+
codeSnippet: z.ZodString;
|
|
1039
|
+
api: z.ZodObject<{
|
|
1040
|
+
inputs: z.ZodArray<z.ZodObject<{
|
|
1041
|
+
name: z.ZodString;
|
|
1042
|
+
type: z.ZodString;
|
|
1043
|
+
required: z.ZodBoolean;
|
|
1044
|
+
defaultValue: z.ZodString;
|
|
1045
|
+
description: z.ZodString;
|
|
1046
|
+
}, z.core.$strip>>;
|
|
1047
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
1048
|
+
name: z.ZodString;
|
|
1049
|
+
eventType: z.ZodString;
|
|
1050
|
+
description: z.ZodString;
|
|
1051
|
+
}, z.core.$strip>>;
|
|
1052
|
+
}, z.core.$strip>;
|
|
1053
|
+
previewResource: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1054
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1055
|
+
label: z.ZodString;
|
|
1056
|
+
resource: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1057
|
+
}, z.core.$strip>>>;
|
|
1058
|
+
}, z.core.$strip>;
|
|
1059
|
+
type ComponentApiInput = z.infer<typeof ComponentApiInputSchema>;
|
|
1060
|
+
type ComponentApiOutput = z.infer<typeof ComponentApiOutputSchema>;
|
|
1061
|
+
type ComponentVariant = z.infer<typeof ComponentVariantSchema>;
|
|
1062
|
+
type DocViewerResource = z.infer<typeof DocViewerResourceSchema>;
|
|
1063
|
+
type DocTab = 'preview' | 'api' | 'code';
|
|
1064
|
+
|
|
1065
|
+
declare class AdDocViewerComponent implements AfterViewInit {
|
|
1066
|
+
private readonly injector;
|
|
1067
|
+
resource: _angular_core.InputSignal<{
|
|
1068
|
+
id: string;
|
|
1069
|
+
name: string;
|
|
1070
|
+
category: "atom" | "molecule" | "organism" | "template";
|
|
1071
|
+
description: string;
|
|
1072
|
+
selector: string;
|
|
1073
|
+
component: _angular_core.Type<unknown>;
|
|
1074
|
+
codeSnippet: string;
|
|
1075
|
+
api: {
|
|
1076
|
+
inputs: {
|
|
1077
|
+
name: string;
|
|
1078
|
+
type: string;
|
|
1079
|
+
required: boolean;
|
|
1080
|
+
defaultValue: string;
|
|
1081
|
+
description: string;
|
|
1082
|
+
}[];
|
|
1083
|
+
outputs: {
|
|
1084
|
+
name: string;
|
|
1085
|
+
eventType: string;
|
|
1086
|
+
description: string;
|
|
1087
|
+
}[];
|
|
1088
|
+
};
|
|
1089
|
+
previewResource?: Record<string, unknown> | undefined;
|
|
1090
|
+
variants?: {
|
|
1091
|
+
label: string;
|
|
1092
|
+
resource: Record<string, unknown>;
|
|
1093
|
+
}[] | undefined;
|
|
1094
|
+
}>;
|
|
1095
|
+
showCode: _angular_core.InputSignal<boolean>;
|
|
1096
|
+
showApi: _angular_core.InputSignal<boolean>;
|
|
1097
|
+
id: _angular_core.Signal<string>;
|
|
1098
|
+
name: _angular_core.Signal<string>;
|
|
1099
|
+
category: _angular_core.Signal<"atom" | "molecule" | "organism" | "template">;
|
|
1100
|
+
description: _angular_core.Signal<string>;
|
|
1101
|
+
selector: _angular_core.Signal<string>;
|
|
1102
|
+
codeSnippet: _angular_core.Signal<string>;
|
|
1103
|
+
api: _angular_core.Signal<{
|
|
1104
|
+
inputs: {
|
|
1105
|
+
name: string;
|
|
1106
|
+
type: string;
|
|
1107
|
+
required: boolean;
|
|
1108
|
+
defaultValue: string;
|
|
1109
|
+
description: string;
|
|
1110
|
+
}[];
|
|
1111
|
+
outputs: {
|
|
1112
|
+
name: string;
|
|
1113
|
+
eventType: string;
|
|
1114
|
+
description: string;
|
|
1115
|
+
}[];
|
|
1116
|
+
}>;
|
|
1117
|
+
variants: _angular_core.Signal<{
|
|
1118
|
+
label: string;
|
|
1119
|
+
resource: Record<string, unknown>;
|
|
1120
|
+
}[] | undefined>;
|
|
1121
|
+
tabChange: _angular_core.OutputEmitterRef<DocTab>;
|
|
1122
|
+
activeTab: _angular_core.WritableSignal<DocTab>;
|
|
1123
|
+
activeVariant: _angular_core.WritableSignal<string>;
|
|
1124
|
+
copied: _angular_core.WritableSignal<boolean>;
|
|
1125
|
+
viewReady: _angular_core.WritableSignal<boolean>;
|
|
1126
|
+
readonly tabs: _angular_core.Signal<{
|
|
1127
|
+
id: DocTab;
|
|
1128
|
+
label: string;
|
|
1129
|
+
}[]>;
|
|
1130
|
+
previewHost: ViewContainerRef;
|
|
1131
|
+
constructor(injector: EnvironmentInjector);
|
|
1132
|
+
ngAfterViewInit(): void;
|
|
1133
|
+
setTab(tab: DocTab): void;
|
|
1134
|
+
setVariant(variant: ComponentVariant): void;
|
|
1135
|
+
copyCode(): void;
|
|
1136
|
+
private renderPreview;
|
|
1137
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdDocViewerComponent, never>;
|
|
1138
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdDocViewerComponent, "ad-doc-viewer", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; "showCode": { "alias": "showCode"; "required": false; "isSignal": true; }; "showApi": { "alias": "showApi"; "required": false; "isSignal": true; }; }, { "tabChange": "tabChange"; }, never, never, true, never>;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
declare class AdAdminLayoutComponent {
|
|
1142
|
+
resource: _angular_core.InputSignal<{
|
|
1143
|
+
user: {
|
|
1144
|
+
name: string;
|
|
1145
|
+
role: string;
|
|
1146
|
+
avatarUrl?: string | undefined;
|
|
1147
|
+
};
|
|
1148
|
+
menuItems: any[];
|
|
1149
|
+
notificationsCount?: number | undefined;
|
|
1150
|
+
}>;
|
|
1151
|
+
user: _angular_core.Signal<{
|
|
1152
|
+
name: string;
|
|
1153
|
+
role: string;
|
|
1154
|
+
avatarUrl?: string | undefined;
|
|
1155
|
+
}>;
|
|
1156
|
+
menuItems: _angular_core.Signal<any[]>;
|
|
1157
|
+
notificationsCount: _angular_core.Signal<number>;
|
|
1158
|
+
headerResource: _angular_core.Signal<{
|
|
1159
|
+
user: {
|
|
1160
|
+
name: string;
|
|
1161
|
+
role: string;
|
|
1162
|
+
avatarUrl?: string | undefined;
|
|
1163
|
+
};
|
|
1164
|
+
notificationsCount: number;
|
|
1165
|
+
}>;
|
|
1166
|
+
sidebarResource: _angular_core.Signal<{
|
|
1167
|
+
menuItems: any[];
|
|
1168
|
+
collapsed?: boolean | undefined;
|
|
1169
|
+
}>;
|
|
1170
|
+
logout: _angular_core.OutputEmitterRef<void>;
|
|
1171
|
+
navigateProfile: _angular_core.OutputEmitterRef<void>;
|
|
1172
|
+
toggleTheme: _angular_core.OutputEmitterRef<boolean>;
|
|
1173
|
+
isMobileMenuOpen: _angular_core.WritableSignal<boolean>;
|
|
1174
|
+
isSidebarCollapsed: _angular_core.WritableSignal<boolean>;
|
|
293
1175
|
toggleMobileMenu(): void;
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
static ɵfac:
|
|
297
|
-
static ɵcmp:
|
|
1176
|
+
closeMobileMenu(): void;
|
|
1177
|
+
toggleSidebar(): void;
|
|
1178
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdAdminLayoutComponent, never>;
|
|
1179
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdAdminLayoutComponent, "ad-admin-layout", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, { "logout": "logout"; "navigateProfile": "navigateProfile"; "toggleTheme": "toggleTheme"; }, never, ["*"], true, never>;
|
|
298
1180
|
}
|
|
299
1181
|
|
|
300
|
-
declare
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
1182
|
+
declare const AdminLayoutResourceSchema: z.ZodObject<{
|
|
1183
|
+
user: z.ZodObject<{
|
|
1184
|
+
name: z.ZodString;
|
|
1185
|
+
role: z.ZodString;
|
|
1186
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
1187
|
+
}, z.core.$strip>;
|
|
1188
|
+
menuItems: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
1189
|
+
notificationsCount: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1190
|
+
}, z.core.$strip>;
|
|
1191
|
+
type AdminLayoutResource = z.infer<typeof AdminLayoutResourceSchema>;
|
|
1192
|
+
|
|
1193
|
+
declare class AdAuthLayoutComponent {
|
|
1194
|
+
resource: _angular_core.InputSignal<{
|
|
1195
|
+
backgroundType?: "gradient" | "image" | "simple" | undefined;
|
|
1196
|
+
}>;
|
|
1197
|
+
backgroundType: _angular_core.Signal<"gradient" | "image" | "simple">;
|
|
1198
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdAuthLayoutComponent, never>;
|
|
1199
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdAuthLayoutComponent, "ad-auth-layout", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
304
1200
|
}
|
|
305
1201
|
|
|
306
|
-
declare
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
1202
|
+
declare const AuthLayoutResourceSchema: z.ZodObject<{
|
|
1203
|
+
backgroundType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
1204
|
+
gradient: "gradient";
|
|
1205
|
+
image: "image";
|
|
1206
|
+
simple: "simple";
|
|
1207
|
+
}>>>;
|
|
1208
|
+
}, z.core.$strip>;
|
|
1209
|
+
type AuthLayoutResource = z.infer<typeof AuthLayoutResourceSchema>;
|
|
1210
|
+
|
|
1211
|
+
declare class AdDashboardTemplateComponent {
|
|
1212
|
+
resource: _angular_core.InputSignal<{
|
|
1213
|
+
title?: string | undefined;
|
|
1214
|
+
subtitle?: string | undefined;
|
|
1215
|
+
}>;
|
|
1216
|
+
title: _angular_core.Signal<string>;
|
|
1217
|
+
subtitle: _angular_core.Signal<string | undefined>;
|
|
1218
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdDashboardTemplateComponent, never>;
|
|
1219
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdDashboardTemplateComponent, "ad-dashboard-template", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, {}, never, ["[actions]", "[metrics]", "[main-content]", "[sidebar-content]"], true, never>;
|
|
311
1220
|
}
|
|
312
1221
|
|
|
313
|
-
declare
|
|
314
|
-
title:
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
1222
|
+
declare const DashboardTemplateResourceSchema: z.ZodObject<{
|
|
1223
|
+
title: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1224
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
1225
|
+
}, z.core.$strip>;
|
|
1226
|
+
type DashboardTemplateResource = z.infer<typeof DashboardTemplateResourceSchema>;
|
|
1227
|
+
|
|
1228
|
+
declare class AdDocumentationWrapperComponent {
|
|
1229
|
+
wrapperResource: _angular_core.InputSignal<{
|
|
1230
|
+
title: string;
|
|
1231
|
+
description: string;
|
|
1232
|
+
code?: string | undefined;
|
|
1233
|
+
componentResource?: string | undefined;
|
|
1234
|
+
status?: "new" | "updated" | "stable" | undefined;
|
|
1235
|
+
}>;
|
|
1236
|
+
title: _angular_core.Signal<string>;
|
|
1237
|
+
description: _angular_core.Signal<string>;
|
|
1238
|
+
code: _angular_core.Signal<string | undefined>;
|
|
1239
|
+
componentResource: _angular_core.Signal<string | undefined>;
|
|
1240
|
+
status: _angular_core.Signal<"new" | "updated" | "stable">;
|
|
1241
|
+
activeTab: _angular_core.WritableSignal<"resource" | "code" | "preview">;
|
|
1242
|
+
copyToClipboard(text: string): void;
|
|
1243
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdDocumentationWrapperComponent, never>;
|
|
1244
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdDocumentationWrapperComponent, "ad-documentation-wrapper", never, { "wrapperResource": { "alias": "resource"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
320
1245
|
}
|
|
321
1246
|
|
|
322
|
-
declare
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
1247
|
+
declare const DocStatusSchema: z.ZodEnum<{
|
|
1248
|
+
new: "new";
|
|
1249
|
+
updated: "updated";
|
|
1250
|
+
stable: "stable";
|
|
1251
|
+
}>;
|
|
1252
|
+
type DocStatus = z.infer<typeof DocStatusSchema>;
|
|
1253
|
+
declare const DocumentationWrapperResourceSchema: z.ZodObject<{
|
|
1254
|
+
title: z.ZodString;
|
|
1255
|
+
description: z.ZodString;
|
|
1256
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1257
|
+
componentResource: z.ZodOptional<z.ZodString>;
|
|
1258
|
+
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
1259
|
+
new: "new";
|
|
1260
|
+
updated: "updated";
|
|
1261
|
+
stable: "stable";
|
|
1262
|
+
}>>>;
|
|
1263
|
+
}, z.core.$strip>;
|
|
1264
|
+
type DocumentationWrapperResource = z.infer<typeof DocumentationWrapperResourceSchema>;
|
|
1265
|
+
|
|
1266
|
+
declare class AdFormLayoutComponent {
|
|
1267
|
+
resource: _angular_core.InputSignal<{
|
|
1268
|
+
gap?: "sm" | "md" | "lg" | undefined;
|
|
1269
|
+
}>;
|
|
1270
|
+
gap: _angular_core.Signal<"sm" | "md" | "lg">;
|
|
1271
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdFormLayoutComponent, never>;
|
|
1272
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdFormLayoutComponent, "ad-form-layout", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, {}, never, ["*", "[footer-actions]"], true, never>;
|
|
328
1273
|
}
|
|
329
1274
|
|
|
330
|
-
declare
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
1275
|
+
declare const FormLayoutResourceSchema: z.ZodObject<{
|
|
1276
|
+
gap: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
1277
|
+
sm: "sm";
|
|
1278
|
+
md: "md";
|
|
1279
|
+
lg: "lg";
|
|
1280
|
+
}>>>;
|
|
1281
|
+
}, z.core.$strip>;
|
|
1282
|
+
type FormLayoutResource = z.infer<typeof FormLayoutResourceSchema>;
|
|
1283
|
+
|
|
1284
|
+
declare class AdFormPageTemplateComponent {
|
|
1285
|
+
resource: _angular_core.InputSignal<{
|
|
1286
|
+
title: string;
|
|
1287
|
+
backUrl?: string | undefined;
|
|
1288
|
+
loading?: boolean | undefined;
|
|
1289
|
+
}>;
|
|
1290
|
+
title: _angular_core.Signal<string>;
|
|
1291
|
+
backUrl: _angular_core.Signal<string | undefined>;
|
|
1292
|
+
loading: _angular_core.Signal<boolean>;
|
|
1293
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdFormPageTemplateComponent, never>;
|
|
1294
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdFormPageTemplateComponent, "ad-form-page-template", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, {}, never, ["[back-button]", "[header-actions]", "[form-content]", "[form-actions]"], true, never>;
|
|
334
1295
|
}
|
|
335
1296
|
|
|
336
|
-
|
|
337
|
-
|
|
1297
|
+
declare const FormPageTemplateResourceSchema: z.ZodObject<{
|
|
1298
|
+
title: z.ZodDefault<z.ZodString>;
|
|
1299
|
+
backUrl: z.ZodOptional<z.ZodString>;
|
|
1300
|
+
loading: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1301
|
+
}, z.core.$strip>;
|
|
1302
|
+
type FormPageTemplateResource = z.infer<typeof FormPageTemplateResourceSchema>;
|
|
1303
|
+
|
|
1304
|
+
declare class AdFormSectionComponent {
|
|
1305
|
+
resource: _angular_core.InputSignal<{
|
|
1306
|
+
title?: string | undefined;
|
|
1307
|
+
cols?: number | undefined;
|
|
1308
|
+
loading?: boolean | undefined;
|
|
1309
|
+
}>;
|
|
1310
|
+
title: _angular_core.Signal<string | undefined>;
|
|
1311
|
+
cols: _angular_core.Signal<number>;
|
|
1312
|
+
loading: _angular_core.Signal<boolean>;
|
|
1313
|
+
readonly colSpanMap: Record<number, string>;
|
|
1314
|
+
hostClasses: _angular_core.Signal<string>;
|
|
1315
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdFormSectionComponent, never>;
|
|
1316
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdFormSectionComponent, "ad-form-section", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
declare const FormSectionResourceSchema: z.ZodObject<{
|
|
1320
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1321
|
+
cols: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1322
|
+
loading: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1323
|
+
}, z.core.$strip>;
|
|
1324
|
+
type FormSectionResource = z.infer<typeof FormSectionResourceSchema>;
|
|
1325
|
+
|
|
1326
|
+
declare class AdListPageTemplateComponent {
|
|
1327
|
+
resource: _angular_core.InputSignal<{
|
|
1328
|
+
title: string;
|
|
1329
|
+
description?: string | undefined;
|
|
1330
|
+
hasFilters?: boolean | undefined;
|
|
1331
|
+
}>;
|
|
1332
|
+
title: _angular_core.Signal<string>;
|
|
1333
|
+
description: _angular_core.Signal<string | undefined>;
|
|
1334
|
+
hasFilters: _angular_core.Signal<boolean>;
|
|
1335
|
+
filtersTemplate?: TemplateRef<any>;
|
|
1336
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdListPageTemplateComponent, never>;
|
|
1337
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdListPageTemplateComponent, "ad-list-page-template", never, { "resource": { "alias": "resource"; "required": true; "isSignal": true; }; }, {}, ["filtersTemplate"], ["[actions]", "[filters]", "[table]", "[pagination]"], true, never>;
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
declare const ListPageTemplateResourceSchema: z.ZodObject<{
|
|
1341
|
+
title: z.ZodDefault<z.ZodString>;
|
|
1342
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1343
|
+
hasFilters: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1344
|
+
}, z.core.$strip>;
|
|
1345
|
+
type ListPageTemplateResource = z.infer<typeof ListPageTemplateResourceSchema>;
|
|
1346
|
+
|
|
1347
|
+
export { AdAdminLayoutComponent, AdAuthLayoutComponent, AdBadgeComponent, AdButtonComponent, AdCardComponent, AdDashboardTemplateComponent, AdDataTableComponent, AdDescriptionHeaderComponent, AdDocViewerComponent, AdDocumentationWrapperComponent, AdFormFieldComponent, AdFormLayoutComponent, AdFormPageTemplateComponent, AdFormSectionComponent, AdHeaderComponent, AdIconComponent, AdInputComponent, AdLabelComponent, AdListPageTemplateComponent, AdLoadingComponent, AdLoginComponent, AdModalComponent, AdModalService, AdModalTriggerComponent, AdModalWrapperComponent, AdSearchBarComponent, AdSelectComponent, AdSidebarComponent, AdStatCardComponent, AdSwitchComponent, AdTableColumnSchema, AdTableComponent, AdminLayoutResourceSchema, AdminSectionCardActionSchema, AdminSectionCardComponent, AdminSectionCardResourceSchema, AuthLayoutResourceSchema, CardResourceSchema, ComponentApiInputSchema, ComponentApiOutputSchema, ComponentVariantSchema, DashboardTemplateResourceSchema, DataTableColumnSchema, DataTableResourceSchema, DescriptionHeaderButtonSchema, DescriptionHeaderResourceSchema, DesignSystem, DocStatusSchema, DocViewerResourceSchema, DocumentationWrapperResourceSchema, FieldRendererRegistry, FormEngineComponent, FormEngineService, FormFieldResourceSchema, FormLayoutResourceSchema, FormPageTemplateResourceSchema, FormSectionResourceSchema, HeaderResourceSchema, ListPageTemplateResourceSchema, LoginResourceSchema, ModalResourceSchema, ModalTriggerResourceSchema, NavItemSchema, STAT_CARD_COLOR_MAP, SearchBarResourceSchema, SidebarResourceSchema, StatCardColorSchema, StatCardResourceSchema, TableEngineComponent, TableResourceSchema, UserSchema, ValidatorRegistry };
|
|
1348
|
+
export type { AdTableColumn, AdminLayoutResource, AdminSectionCardAction, AdminSectionCardResource, AuthLayoutResource, BadgeType, BadgeVariant, BaseSchema, CardResource, ColumnType, ComponentApiInput, ComponentApiOutput, ComponentVariant, DashboardTemplateResource, DataTableColumn, DataTableResource, DescriptionHeaderButton, DescriptionHeaderResource, DocStatus, DocTab, DocViewerResource, DocumentationWrapperResource, FieldOption, FieldSchema, FieldType, FormFieldResource, FormLayoutResource, FormPageTemplateResource, FormSchema, FormSectionResource, HeaderResource, LayoutSchema, LayoutType, ListPageTemplateResource, LoginResource, ModalResource, ModalTriggerResource, NavItem, ResourceType, ScreenResource, SearchBarResource, SectionSchema, SelectOption, SidebarResource, StatCardColor, StatCardResource, SwitchOption, TableAction, TableColumn, TableResource, TableSchema, User };
|