@magic-xpa/angular-material-core 4.1300.0-dev4130.2 → 4.1300.0-dev4130.200

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.
@@ -0,0 +1,392 @@
1
+ import * as _angular_material_core from '@angular/material/core';
2
+ import { MatNativeDateModule } from '@angular/material/core';
3
+ import * as i19 from '@angular/material/autocomplete';
4
+ import { MatAutocompleteSelectedEvent, MatAutocomplete, MatAutocompleteTrigger } from '@angular/material/autocomplete';
5
+ import * as i0 from '@angular/core';
6
+ import { ElementRef, ChangeDetectorRef, OnInit, OnDestroy } from '@angular/core';
7
+ import * as _magic_xpa_angular from '@magic-xpa/angular';
8
+ import { MagicDirective, TaskMagicService, ComboboxMagicDirective, TaskBaseMagicComponent, MagicServices, AccessorMagicService, TableMagicService, ComponentListMagicService } from '@magic-xpa/angular';
9
+ import { GuiCommand } from '@magic-xpa/gui';
10
+ import * as i14 from '@angular/material/checkbox';
11
+ import { MatCheckbox } from '@angular/material/checkbox';
12
+ import { MatSort } from '@angular/material/sort';
13
+ import * as i10 from '@angular/material/paginator';
14
+ import { MatPaginator } from '@angular/material/paginator';
15
+ import * as i8 from '@angular/forms';
16
+ import { ControlValueAccessor, NgControl, FormGroup } from '@angular/forms';
17
+ import { MatFormFieldControl } from '@angular/material/form-field';
18
+ import { FocusMonitor } from '@angular/cdk/a11y';
19
+ import { Subject } from 'rxjs';
20
+ import * as i7 from '@angular/common';
21
+ import * as i9 from '@angular/material/table';
22
+ import { MatTableDataSource } from '@angular/material/table';
23
+ import * as i11 from '@angular/material/input';
24
+ import * as i12 from '@angular/material/button';
25
+ import * as i13 from '@angular/material/list';
26
+ import * as i15 from '@angular/material/tabs';
27
+ import * as i16 from '@angular/material/select';
28
+ import * as i17 from '@angular/material/datepicker';
29
+ import { SelectionModel } from '@angular/cdk/collections';
30
+
31
+ /**
32
+ * Directive for material-design checkboxes not on material-design table
33
+ */
34
+ declare class MatCheckboxDirective {
35
+ protected magicDirective: MagicDirective;
36
+ private matCheckbox;
37
+ protected task: TaskMagicService;
38
+ protected element: ElementRef;
39
+ threeState: boolean;
40
+ private subscribeRefreshDom;
41
+ private indeterminate;
42
+ /**
43
+ * @ignore
44
+ */
45
+ constructor(magicDirective: MagicDirective, matCheckbox: MatCheckbox, task: TaskMagicService, element: ElementRef);
46
+ /**
47
+ * Handles the Checkbox 'change' event - pass it to the Magic engine
48
+ */
49
+ onChange($event: Event): void;
50
+ ngOnInit(): void;
51
+ private regUpdatesUI;
52
+ handleCommand(command: GuiCommand): void;
53
+ private handleThreeState;
54
+ /**
55
+ * Cleanup
56
+ */
57
+ ngOnDestroy(): void;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCheckboxDirective, never>;
59
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatCheckboxDirective, " mat-checkbox[magic]:not([noFormControl]) ", never, { "threeState": { "alias": "threeState"; "required": false; }; }, {}, never, never, false, never>;
60
+ }
61
+
62
+ /**
63
+ * Directive for material-design comboboxes not on material-design table
64
+ */
65
+ declare class MatComboboxDirective extends ComboboxMagicDirective {
66
+ /**
67
+ * Handles the "selectionChange" event - pass it to the "change" event handler
68
+ * @param $event
69
+ */
70
+ onChange($event: any): void;
71
+ onOpenedChanged($event: any): void;
72
+ /**
73
+ * For mat-select do nothing
74
+ */
75
+ onComboboxItemsListChanged(): void;
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatComboboxDirective, never>;
77
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatComboboxDirective, "mat-select[magic]", never, {}, {}, never, never, false, never>;
78
+ }
79
+
80
+ /**
81
+ * Directive for material-design listboxes not on material-design table
82
+ */
83
+ declare class MatListboxDirective {
84
+ protected magicDirective: MagicDirective;
85
+ constructor(magicDirective: MagicDirective);
86
+ /**
87
+ * Handles the "selectionChange" event - pass it to the "change" event handler
88
+ * @param $event
89
+ */
90
+ onChange($event: any): void;
91
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatListboxDirective, never>;
92
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatListboxDirective, "mat-selection-list[magic]", never, {}, {}, never, never, false, never>;
93
+ }
94
+
95
+ /**
96
+ * Directive for material-design autocomplete not on material-design table
97
+ */
98
+ declare class MatMagicAutocompleteDirective {
99
+ onOpenedChanged($event: any): void;
100
+ onClosedChanged($event: any): void;
101
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatMagicAutocompleteDirective, never>;
102
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatMagicAutocompleteDirective, "mat-autocomplete[magic]", never, {}, {}, never, never, false, never>;
103
+ }
104
+
105
+ /**
106
+ * This component is the base component for forms which has a material-design table (grid)
107
+ */
108
+ declare class BaseMatTableMagicComponent extends TaskBaseMagicComponent {
109
+ protected ref: ChangeDetectorRef;
110
+ magicService: MagicServices;
111
+ /**
112
+ * Paginator to enable changing pages in the table
113
+ */
114
+ paginator: MatPaginator;
115
+ /**
116
+ * Provides the table sort capabilities
117
+ */
118
+ sort: MatSort;
119
+ /**
120
+ * List of table columns to be displayed
121
+ */
122
+ displayedColumns: any;
123
+ /**
124
+ * Table data source
125
+ */
126
+ dataSource: any;
127
+ /**
128
+ * Provides selection options for the table
129
+ */
130
+ selection: any;
131
+ /**
132
+ * @ignore
133
+ */
134
+ constructor(ref: ChangeDetectorRef, magicService: MagicServices);
135
+ /**
136
+ * Initializer
137
+ */
138
+ ngOnInit(): void;
139
+ /**
140
+ * AfterContentChecked implementation
141
+ */
142
+ ngAfterContentChecked(): void;
143
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseMatTableMagicComponent, never>;
144
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseMatTableMagicComponent, "ng-component", never, {}, {}, never, never, false, never>;
145
+ }
146
+
147
+ declare class EditableComboComponent implements ControlValueAccessor, MatFormFieldControl<number>, OnInit, OnDestroy {
148
+ magicServices: MagicServices;
149
+ private fm;
150
+ private elRef;
151
+ ngControl: NgControl;
152
+ /**
153
+ * @ignore
154
+ */
155
+ controlId: string;
156
+ rowId: string;
157
+ combo_input: ElementRef;
158
+ /**
159
+ * @ignore
160
+ */
161
+ set magic(val: string);
162
+ set rowId1(val: string);
163
+ placeholder: string;
164
+ formGroup: FormGroup;
165
+ isPanelOpen: boolean;
166
+ private onChange;
167
+ private onTouched;
168
+ static nextId: number;
169
+ id: string;
170
+ stateChanges: Subject<void>;
171
+ focused: boolean;
172
+ touched: boolean;
173
+ controlType: string;
174
+ value: number;
175
+ private _required;
176
+ get required(): boolean;
177
+ set required(val: boolean | string);
178
+ private _disabled;
179
+ get disabled(): boolean;
180
+ set disabled(val: boolean | string);
181
+ get empty(): boolean;
182
+ get shouldLabelFloat(): boolean;
183
+ get errorState(): boolean;
184
+ constructor(magicServices: MagicServices, fm: FocusMonitor, elRef: ElementRef, ngControl: NgControl);
185
+ /**
186
+ * Returns the Magic accessor service
187
+ * @returns
188
+ */
189
+ get mg(): AccessorMagicService;
190
+ /**
191
+ * Returns the Magic task service
192
+ * @returns
193
+ */
194
+ get task(): TaskMagicService;
195
+ ngOnInit(): void;
196
+ ngOnDestroy(): void;
197
+ setDescribedByIds(ids: string[]): void;
198
+ onContainerClick(event: MouseEvent): void;
199
+ writeValue(value: number): void;
200
+ registerOnChange(fn: (value: number) => void): void;
201
+ registerOnTouched(fn: () => void): void;
202
+ onBlur(): void;
203
+ setDisabledState(isDisabled: boolean): void;
204
+ onOptionSelected(event: MatAutocompleteSelectedEvent): void;
205
+ onOpened(): void;
206
+ onClosed(): void;
207
+ getFilteredListForChoiceControl(): Array<{
208
+ index: number;
209
+ displayValue: string;
210
+ }>;
211
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditableComboComponent, [null, null, null, { optional: true; self: true; }]>;
212
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditableComboComponent, "editable-combo", never, { "magic": { "alias": "magic"; "required": false; }; "rowId1": { "alias": "rowId"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never>;
213
+ }
214
+
215
+ /**
216
+ * @ignore
217
+ */
218
+ declare const materialModules: (typeof MatNativeDateModule | typeof MatAutocomplete | typeof MatAutocompleteTrigger)[];
219
+ /**
220
+ * @ignore
221
+ */
222
+ declare class MagicAngularMaterialModule {
223
+ static ɵfac: i0.ɵɵFactoryDeclaration<MagicAngularMaterialModule, never>;
224
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MagicAngularMaterialModule, [typeof MatCheckboxDirective, typeof MatComboboxDirective, typeof MatListboxDirective, typeof MatMagicAutocompleteDirective, typeof BaseMatTableMagicComponent, typeof EditableComboComponent], [typeof i7.CommonModule, typeof i8.FormsModule, typeof i9.MatTableModule, typeof i10.MatPaginatorModule, typeof i11.MatInputModule, typeof i12.MatButtonModule, typeof i13.MatListModule, typeof i14.MatCheckboxModule, typeof i15.MatTabsModule, typeof i16.MatSelectModule, typeof i17.MatDatepickerModule, typeof _angular_material_core.MatNativeDateModule, typeof i19.MatAutocompleteTrigger, typeof i19.MatAutocomplete, typeof _magic_xpa_angular.MagicModule, typeof i8.ReactiveFormsModule], [typeof MatCheckboxDirective, typeof MatComboboxDirective, typeof MatListboxDirective, typeof MatMagicAutocompleteDirective, typeof BaseMatTableMagicComponent, typeof EditableComboComponent]>;
225
+ static ɵinj: i0.ɵɵInjectorDeclaration<MagicAngularMaterialModule>;
226
+ }
227
+
228
+ /**
229
+ * Extends the Magic table service to supply functionality for Material Design tables
230
+ */
231
+ declare class MgMatTableService extends TableMagicService {
232
+ protected componentList: ComponentListMagicService;
233
+ protected task: TaskMagicService;
234
+ /**
235
+ * Table data source
236
+ */
237
+ dataSource: MatTableDataSource<Element>;
238
+ /**
239
+ * @ignore
240
+ */
241
+ get DataSource(): MatTableDataSource<Element>;
242
+ /**
243
+ * @ignore
244
+ */
245
+ set DataSource(dataSource: MatTableDataSource<Element>);
246
+ /**
247
+ * Provides selection options for the table
248
+ */
249
+ selection: SelectionModel<Element>;
250
+ /**
251
+ * @ignore
252
+ */
253
+ get Selection(): SelectionModel<Element>;
254
+ /**
255
+ * @ignore
256
+ */
257
+ set Selection(selection: SelectionModel<Element>);
258
+ /**
259
+ * Paginator to enable changing pages in the table
260
+ */
261
+ paginator: MatPaginator;
262
+ /**
263
+ * @ignore
264
+ */
265
+ get Paginator(): MatPaginator;
266
+ /**
267
+ * @ignore
268
+ */
269
+ set Paginator(paginator: MatPaginator);
270
+ /**
271
+ * @ignore
272
+ */
273
+ constructor(componentList: ComponentListMagicService, task: TaskMagicService);
274
+ /**
275
+ * Connects the service to the elements of the table component
276
+ * @param dataSource Table data source
277
+ * @param paginator Table paginator
278
+ * @param selection table SelectionModel
279
+ */
280
+ connect(dataSource: MatTableDataSource<Element>, paginator: MatPaginator, selection: SelectionModel<Element>): void;
281
+ /**
282
+ * @ignore
283
+ */
284
+ refreshDataSource(): void;
285
+ /**
286
+ * returns the page size of the table
287
+ * @returns
288
+ */
289
+ getPageSize(): number;
290
+ /**
291
+ * Selects a table row
292
+ * @param guiRowid Id of row to be selected
293
+ */
294
+ selectRow(guiRowid: string): void;
295
+ /**
296
+ * Displays the requested table page
297
+ * @param pageId Id of page to be selected
298
+ */
299
+ selectPage(pageId: number): void;
300
+ /**
301
+ * Returns the currently seleted row
302
+ * @returns
303
+ */
304
+ selectedRow(): any;
305
+ /**
306
+ * Handle the paginator's "page" event
307
+ * @param e The event received from the UI
308
+ * @param changeSelectedRow The flag true or false to indicate change the row
309
+ */
310
+ mgOnPaginateChange(e: any, changeSelectedRow?: boolean): void;
311
+ /**
312
+ * Handle resize and set table top index.
313
+ * @param pageIndex : New page index.
314
+ * @param prevPageIndex : Prev page index
315
+ * @param pageSize : PageSize
316
+ */
317
+ handleResize(pageIndex: number, prevPageIndex: number, pageSize: number): void;
318
+ /**
319
+ * Execute getRows to fetch required chunk of records.
320
+ * @param pageIndex : New page index.
321
+ * @param prevPageIndex : Prev page index
322
+ * @param pageSize : PageSize
323
+ */
324
+ getRowsIfNeeded(pageIndex: number, prevPageIndex: number, pageSize: number): void;
325
+ /**
326
+ * Handles the "matSortChange" event
327
+ * @param e The event received from the UI
328
+ */
329
+ sortData(e: any): void;
330
+ /**
331
+ * Change the number of lines in a table
332
+ * @param size New number of lines in table
333
+ */
334
+ updateTableSize(size: number): void;
335
+ /**
336
+ * Handle the selection of row and if needed move to respective page.
337
+ * @param guiRowId New number of lines in table
338
+ */
339
+ protected selectPageForGuiRowId(guiRowId: number): void;
340
+ /**
341
+ * @ignore
342
+ */
343
+ setTableTopIndex(value: number): void;
344
+ /**
345
+ * @ignore
346
+ */
347
+ getTableTopIndex(): number;
348
+ static ɵfac: i0.ɵɵFactoryDeclaration<MgMatTableService, never>;
349
+ static ɵprov: i0.ɵɵInjectableDeclaration<MgMatTableService>;
350
+ }
351
+
352
+ /**
353
+ * @ignore
354
+ */
355
+ declare const matMagicProviders: (typeof _magic_xpa_angular.SubformMagicService | typeof _magic_xpa_angular.TitleMagicService | typeof _magic_xpa_angular.AccessorMagicService | typeof _magic_xpa_angular.TaskMagicService | typeof _magic_xpa_angular.MagicServices | ({
356
+ provide: typeof _angular_material_core.DateAdapter;
357
+ useClass: typeof _magic_xpa_angular.MgDateAdapter;
358
+ useValue?: undefined;
359
+ } | {
360
+ provide: i0.InjectionToken<_angular_material_core.MatDateFormats>;
361
+ useValue: {
362
+ parse: {
363
+ dateInput: {
364
+ month: string;
365
+ year: string;
366
+ day: string;
367
+ };
368
+ };
369
+ display: {
370
+ dateInput: string;
371
+ monthYearLabel: {
372
+ year: string;
373
+ month: string;
374
+ };
375
+ dateA11yLabel: {
376
+ year: string;
377
+ month: string;
378
+ day: string;
379
+ };
380
+ monthYearA11yLabel: {
381
+ year: string;
382
+ month: string;
383
+ };
384
+ };
385
+ };
386
+ useClass?: undefined;
387
+ })[] | {
388
+ provide: typeof TableMagicService;
389
+ useClass: typeof MgMatTableService;
390
+ })[];
391
+
392
+ export { BaseMatTableMagicComponent, EditableComboComponent, MagicAngularMaterialModule, MatCheckboxDirective, MatComboboxDirective, MatListboxDirective, MatMagicAutocompleteDirective, MgMatTableService, matMagicProviders, materialModules };
package/index.d.ts DELETED
@@ -1,12 +0,0 @@
1
- /**
2
- * @file Automatically generated by barrelsby.
3
- */
4
- export * from "./src/angular-material.module";
5
- export * from "./src/components/base-mat-table-magic.component";
6
- export * from "./src/components/editable-combo-component";
7
- export * from "./src/directives/magic/form-controls/mat-magic-autocomplete.directive";
8
- export * from "./src/directives/magic/form-controls/mat-magic-checkbox.directive";
9
- export * from "./src/directives/magic/form-controls/mat-magic-combobox.directive";
10
- export * from "./src/directives/magic/form-controls/mat-magic-listbox.directive";
11
- export * from "./src/services/mat.magic.providers";
12
- export * from "./src/services/mattable.magic.service";
@@ -1,35 +0,0 @@
1
- import { MatNativeDateModule } from '@angular/material/core';
2
- import { MatAutocomplete, MatAutocompleteTrigger } from "@angular/material/autocomplete";
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "./directives/magic/form-controls/mat-magic-checkbox.directive";
5
- import * as i2 from "./directives/magic/form-controls/mat-magic-combobox.directive";
6
- import * as i3 from "./directives/magic/form-controls/mat-magic-listbox.directive";
7
- import * as i4 from "./directives/magic/form-controls/mat-magic-autocomplete.directive";
8
- import * as i5 from "./components/base-mat-table-magic.component";
9
- import * as i6 from "./components/editable-combo-component";
10
- import * as i7 from "@angular/common";
11
- import * as i8 from "@angular/forms";
12
- import * as i9 from "@angular/material/table";
13
- import * as i10 from "@angular/material/paginator";
14
- import * as i11 from "@angular/material/input";
15
- import * as i12 from "@angular/material/button";
16
- import * as i13 from "@angular/material/list";
17
- import * as i14 from "@angular/material/checkbox";
18
- import * as i15 from "@angular/material/tabs";
19
- import * as i16 from "@angular/material/select";
20
- import * as i17 from "@angular/material/datepicker";
21
- import * as i18 from "@angular/material/core";
22
- import * as i19 from "@angular/material/autocomplete";
23
- import * as i20 from "@magic-xpa/angular";
24
- /**
25
- * @ignore
26
- */
27
- export declare const materialModules: (typeof MatNativeDateModule | typeof MatAutocomplete | typeof MatAutocompleteTrigger)[];
28
- /**
29
- * @ignore
30
- */
31
- export declare class MagicAngularMaterialModule {
32
- static ɵfac: i0.ɵɵFactoryDeclaration<MagicAngularMaterialModule, never>;
33
- static ɵmod: i0.ɵɵNgModuleDeclaration<MagicAngularMaterialModule, [typeof i1.MatCheckboxDirective, typeof i2.MatComboboxDirective, typeof i3.MatListboxDirective, typeof i4.MatMagicAutocompleteDirective, typeof i5.BaseMatTableMagicComponent, typeof i6.EditableComboComponent], [typeof i7.CommonModule, typeof i8.FormsModule, typeof i9.MatTableModule, typeof i10.MatPaginatorModule, typeof i11.MatInputModule, typeof i12.MatButtonModule, typeof i13.MatListModule, typeof i14.MatCheckboxModule, typeof i15.MatTabsModule, typeof i16.MatSelectModule, typeof i17.MatDatepickerModule, typeof i18.MatNativeDateModule, typeof i19.MatAutocompleteTrigger, typeof i19.MatAutocomplete, typeof i20.MagicModule, typeof i8.ReactiveFormsModule], [typeof i1.MatCheckboxDirective, typeof i2.MatComboboxDirective, typeof i3.MatListboxDirective, typeof i4.MatMagicAutocompleteDirective, typeof i5.BaseMatTableMagicComponent, typeof i6.EditableComboComponent]>;
34
- static ɵinj: i0.ɵɵInjectorDeclaration<MagicAngularMaterialModule>;
35
- }
@@ -1,46 +0,0 @@
1
- import { MagicServices, TaskBaseMagicComponent } from '@magic-xpa/angular';
2
- import { MatSort } from '@angular/material/sort';
3
- import { ChangeDetectorRef } from '@angular/core';
4
- import { MatPaginator } from '@angular/material/paginator';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * This component is the base component for forms which has a material-design table (grid)
8
- */
9
- export declare class BaseMatTableMagicComponent extends TaskBaseMagicComponent {
10
- protected ref: ChangeDetectorRef;
11
- magicService: MagicServices;
12
- /**
13
- * Paginator to enable changing pages in the table
14
- */
15
- paginator: MatPaginator;
16
- /**
17
- * Provides the table sort capabilities
18
- */
19
- sort: MatSort;
20
- /**
21
- * List of table columns to be displayed
22
- */
23
- displayedColumns: any;
24
- /**
25
- * Table data source
26
- */
27
- dataSource: any;
28
- /**
29
- * Provides selection options for the table
30
- */
31
- selection: any;
32
- /**
33
- * @ignore
34
- */
35
- constructor(ref: ChangeDetectorRef, magicService: MagicServices);
36
- /**
37
- * Initializer
38
- */
39
- ngOnInit(): void;
40
- /**
41
- * AfterContentChecked implementation
42
- */
43
- ngAfterContentChecked(): void;
44
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseMatTableMagicComponent, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<BaseMatTableMagicComponent, "ng-component", never, {}, {}, never, never, false, never>;
46
- }
@@ -1,48 +0,0 @@
1
- import { ElementRef, OnInit } from '@angular/core';
2
- import { ControlValueAccessor, FormGroup } from '@angular/forms';
3
- import { AccessorMagicService, MagicServices, TaskMagicService } from "@magic-xpa/angular";
4
- import { MatAutocompleteSelectedEvent } from "@angular/material/autocomplete";
5
- import * as i0 from "@angular/core";
6
- export declare class EditableComboComponent implements ControlValueAccessor, OnInit {
7
- magicServices: MagicServices;
8
- /**
9
- * @ignore
10
- */
11
- controlId: string;
12
- rowId: string;
13
- combo_input: ElementRef;
14
- /**
15
- * @ignore
16
- */
17
- set magic(val: string);
18
- set rowId1(val: string);
19
- placeholder: string;
20
- formGroup: FormGroup;
21
- private onChange;
22
- private onTouched;
23
- constructor(magicServices: MagicServices);
24
- /**
25
- * Returns the Magic accessor service
26
- * @returns
27
- */
28
- get mg(): AccessorMagicService;
29
- /**
30
- * Returns the Magic task service
31
- * @returns
32
- */
33
- get task(): TaskMagicService;
34
- ngOnInit(): void;
35
- writeValue(value: number): void;
36
- registerOnChange(fn: (value: number) => void): void;
37
- registerOnTouched(fn: () => void): void;
38
- onBlur(): void;
39
- onOptionSelected(event: MatAutocompleteSelectedEvent): void;
40
- onOpened(): void;
41
- onClosed(): void;
42
- getFilteredListForChoiceControl(): Array<{
43
- index: number;
44
- displayValue: string;
45
- }>;
46
- static ɵfac: i0.ɵɵFactoryDeclaration<EditableComboComponent, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<EditableComboComponent, "editable-combo", never, { "magic": { "alias": "magic"; "required": false; }; "rowId1": { "alias": "rowId"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, false, never>;
48
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * Directive for material-design autocomplete not on material-design table
4
- */
5
- export declare class MatMagicAutocompleteDirective {
6
- onOpenedChanged($event: any): void;
7
- onClosedChanged($event: any): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<MatMagicAutocompleteDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatMagicAutocompleteDirective, "mat-autocomplete[magic]", never, {}, {}, never, never, false, never>;
10
- }
@@ -1,35 +0,0 @@
1
- import { ElementRef } from "@angular/core";
2
- import { MagicDirective, TaskMagicService } from "@magic-xpa/angular";
3
- import { GuiCommand } from "@magic-xpa/gui";
4
- import { MatCheckbox } from "@angular/material/checkbox";
5
- import * as i0 from "@angular/core";
6
- /**
7
- * Directive for material-design checkboxes not on material-design table
8
- */
9
- export declare class MatCheckboxDirective {
10
- protected magicDirective: MagicDirective;
11
- private matCheckbox;
12
- protected task: TaskMagicService;
13
- protected element: ElementRef;
14
- threeState: boolean;
15
- private subscribeRefreshDom;
16
- private indeterminate;
17
- /**
18
- * @ignore
19
- */
20
- constructor(magicDirective: MagicDirective, matCheckbox: MatCheckbox, task: TaskMagicService, element: ElementRef);
21
- /**
22
- * Handles the Checkbox 'change' event - pass it to the Magic engine
23
- */
24
- onChange($event: Event): void;
25
- ngOnInit(): void;
26
- private regUpdatesUI;
27
- handleCommand(command: GuiCommand): void;
28
- private handleThreeState;
29
- /**
30
- * Cleanup
31
- */
32
- ngOnDestroy(): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<MatCheckboxDirective, never>;
34
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatCheckboxDirective, " mat-checkbox[magic]:not([noFormControl]) ", never, { "threeState": { "alias": "threeState"; "required": false; }; }, {}, never, never, false, never>;
35
- }
@@ -1,19 +0,0 @@
1
- import { ComboboxMagicDirective } from "@magic-xpa/angular";
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Directive for material-design comboboxes not on material-design table
5
- */
6
- export declare class MatComboboxDirective extends ComboboxMagicDirective {
7
- /**
8
- * Handles the "selectionChange" event - pass it to the "change" event handler
9
- * @param $event
10
- */
11
- onChange($event: any): void;
12
- onOpenedChanged($event: any): void;
13
- /**
14
- * For mat-select do nothing
15
- */
16
- onComboboxItemsListChanged(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<MatComboboxDirective, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatComboboxDirective, "mat-select[magic]", never, {}, {}, never, never, false, never>;
19
- }
@@ -1,16 +0,0 @@
1
- import { MagicDirective } from "@magic-xpa/angular";
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Directive for material-design listboxes not on material-design table
5
- */
6
- export declare class MatListboxDirective {
7
- protected magicDirective: MagicDirective;
8
- constructor(magicDirective: MagicDirective);
9
- /**
10
- * Handles the "selectionChange" event - pass it to the "change" event handler
11
- * @param $event
12
- */
13
- onChange($event: any): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<MatListboxDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatListboxDirective, "mat-selection-list[magic]", never, {}, {}, never, never, false, never>;
16
- }
@@ -1,41 +0,0 @@
1
- import { TableMagicService } from "@magic-xpa/angular";
2
- import { MgMatTableService } from "./mattable.magic.service";
3
- /**
4
- * @ignore
5
- */
6
- export declare const matMagicProviders: (typeof import("@magic-xpa/angular").SubformMagicService | typeof import("@magic-xpa/angular").TitleMagicService | typeof import("@magic-xpa/angular").AccessorMagicService | typeof import("@magic-xpa/angular").TaskMagicService | typeof import("@magic-xpa/angular").MagicServices | ({
7
- provide: typeof import("@angular/material/date-adapter.d-CtKXIxk0").D;
8
- useClass: typeof import("@magic-xpa/angular").MgDateAdapter;
9
- useValue?: undefined;
10
- } | {
11
- provide: import("@angular/core").InjectionToken<import("@angular/material/core").MatDateFormats>;
12
- useValue: {
13
- parse: {
14
- dateInput: {
15
- month: string;
16
- year: string;
17
- day: string;
18
- };
19
- };
20
- display: {
21
- dateInput: string;
22
- monthYearLabel: {
23
- year: string;
24
- month: string;
25
- };
26
- dateA11yLabel: {
27
- year: string;
28
- month: string;
29
- day: string;
30
- };
31
- monthYearA11yLabel: {
32
- year: string;
33
- month: string;
34
- };
35
- };
36
- };
37
- useClass?: undefined;
38
- })[] | {
39
- provide: typeof TableMagicService;
40
- useClass: typeof MgMatTableService;
41
- })[];