onshore-forms 1.1.7 → 1.1.9
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/fesm2022/onshore-forms.mjs +211 -42
- package/fesm2022/onshore-forms.mjs.map +1 -1
- package/package.json +1 -1
- package/types/onshore-forms.d.ts +49 -29
package/package.json
CHANGED
package/types/onshore-forms.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FormGroup, FormArray, FormControl, ValidatorFn, ControlValueAccessor, NgControl, ValidationErrors } from '@angular/forms';
|
|
2
2
|
import { Subscription, Subject, Observable } from 'rxjs';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { OnDestroy, OnInit, OnChanges, EventEmitter, SimpleChanges, ChangeDetectorRef,
|
|
4
|
+
import { OnDestroy, OnInit, OnChanges, AfterViewInit, EventEmitter, SimpleChanges, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
5
5
|
import { TranslateService } from '@ngx-translate/core';
|
|
6
6
|
import { Popover } from 'primeng/popover';
|
|
7
7
|
import { ImageCroppedEvent } from 'ngx-image-cropper';
|
|
@@ -159,7 +159,7 @@ declare class OnshoreValidators {
|
|
|
159
159
|
static cleanComment: ValidatorFn;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
declare class OnshoreFormAutocompleteItemComponent implements ControlValueAccessor, OnDestroy, OnInit, OnChanges {
|
|
162
|
+
declare class OnshoreFormAutocompleteItemComponent implements ControlValueAccessor, OnDestroy, OnInit, OnChanges, AfterViewInit {
|
|
163
163
|
private cdr;
|
|
164
164
|
ngControl: NgControl;
|
|
165
165
|
formTemplate: OnshoreFormTemplateItem;
|
|
@@ -173,7 +173,7 @@ declare class OnshoreFormAutocompleteItemComponent implements ControlValueAccess
|
|
|
173
173
|
secondOptionLabel?: string;
|
|
174
174
|
thirdOptionLabel?: string;
|
|
175
175
|
optionLabelDivider?: string;
|
|
176
|
-
|
|
176
|
+
exclude?: boolean;
|
|
177
177
|
onSearch: EventEmitter<string>;
|
|
178
178
|
onSelect: EventEmitter<OnshoreFormAutocompleteItem>;
|
|
179
179
|
actionButtonClick: EventEmitter<any>;
|
|
@@ -189,18 +189,20 @@ declare class OnshoreFormAutocompleteItemComponent implements ControlValueAccess
|
|
|
189
189
|
ngOnInit(): void;
|
|
190
190
|
get formControl(): FormControl;
|
|
191
191
|
ngOnDestroy(): void;
|
|
192
|
+
checkExclude(): void;
|
|
193
|
+
ngAfterViewInit(): void;
|
|
192
194
|
ngOnChanges(changes: SimpleChanges): void;
|
|
193
195
|
constructor(cdr: ChangeDetectorRef, ngControl: NgControl);
|
|
194
196
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnshoreFormAutocompleteItemComponent, [null, { optional: true; self: true; }]>;
|
|
195
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormAutocompleteItemComponent, "onshore-form-autocomplete-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "searchedData": { "alias": "searchedData"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "dataKey": { "alias": "dataKey"; "required": false; }; "secondOptionLabel": { "alias": "secondOptionLabel"; "required": false; }; "thirdOptionLabel": { "alias": "thirdOptionLabel"; "required": false; }; "optionLabelDivider": { "alias": "optionLabelDivider"; "required": false; }; "
|
|
197
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormAutocompleteItemComponent, "onshore-form-autocomplete-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "searchedData": { "alias": "searchedData"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "dataKey": { "alias": "dataKey"; "required": false; }; "secondOptionLabel": { "alias": "secondOptionLabel"; "required": false; }; "thirdOptionLabel": { "alias": "thirdOptionLabel"; "required": false; }; "optionLabelDivider": { "alias": "optionLabelDivider"; "required": false; }; "exclude": { "alias": "exclude"; "required": false; }; }, { "onSearch": "onSearch"; "onSelect": "onSelect"; "actionButtonClick": "actionButtonClick"; }, never, never, true, never>;
|
|
196
198
|
}
|
|
197
199
|
|
|
198
|
-
declare class OnshoreFormCheckboxItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy {
|
|
200
|
+
declare class OnshoreFormCheckboxItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy, AfterViewInit {
|
|
199
201
|
ngControl: NgControl;
|
|
200
202
|
private cdr;
|
|
201
203
|
formTemplate: OnshoreFormTemplateItem;
|
|
202
204
|
actionButtonDisabled: boolean;
|
|
203
|
-
|
|
205
|
+
exclude?: boolean;
|
|
204
206
|
actionButtonClick: EventEmitter<any>;
|
|
205
207
|
disabled: boolean;
|
|
206
208
|
writeValue(obj: any): void;
|
|
@@ -210,19 +212,21 @@ declare class OnshoreFormCheckboxItemComponent implements OnInit, ControlValueAc
|
|
|
210
212
|
changeCheck(value: any): void;
|
|
211
213
|
get formControl(): FormControl;
|
|
212
214
|
ngOnInit(): void;
|
|
215
|
+
checkExclude(): void;
|
|
216
|
+
ngAfterViewInit(): void;
|
|
213
217
|
ngOnChanges(changes: SimpleChanges): void;
|
|
214
218
|
ngOnDestroy(): void;
|
|
215
219
|
constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
|
|
216
220
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnshoreFormCheckboxItemComponent, [{ optional: true; self: true; }, null]>;
|
|
217
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormCheckboxItemComponent, "onshore-form-checkbox-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "
|
|
221
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormCheckboxItemComponent, "onshore-form-checkbox-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "exclude": { "alias": "exclude"; "required": false; }; }, { "actionButtonClick": "actionButtonClick"; }, never, never, true, never>;
|
|
218
222
|
}
|
|
219
223
|
|
|
220
|
-
declare class OnshoreFormColorpickerItemComponent implements OnInit, OnChanges, ControlValueAccessor, OnDestroy {
|
|
224
|
+
declare class OnshoreFormColorpickerItemComponent implements OnInit, OnChanges, ControlValueAccessor, OnDestroy, AfterViewInit {
|
|
221
225
|
ngControl: NgControl;
|
|
222
226
|
private cdr;
|
|
223
227
|
formTemplate: OnshoreFormTemplateItem;
|
|
224
228
|
actionButtonDisabled: boolean;
|
|
225
|
-
|
|
229
|
+
exclude?: boolean;
|
|
226
230
|
actionButtonClick: EventEmitter<any>;
|
|
227
231
|
disabled: boolean;
|
|
228
232
|
colorPickerValue: string;
|
|
@@ -236,13 +240,15 @@ declare class OnshoreFormColorpickerItemComponent implements OnInit, OnChanges,
|
|
|
236
240
|
changeLayoutPreset(): void;
|
|
237
241
|
ngOnInit(): void;
|
|
238
242
|
ngOnDestroy(): void;
|
|
243
|
+
checkExclude(): void;
|
|
244
|
+
ngAfterViewInit(): void;
|
|
239
245
|
ngOnChanges(changes: SimpleChanges): void;
|
|
240
246
|
constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
|
|
241
247
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnshoreFormColorpickerItemComponent, [{ optional: true; self: true; }, null]>;
|
|
242
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormColorpickerItemComponent, "onshore-form-colorpicker-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "
|
|
248
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormColorpickerItemComponent, "onshore-form-colorpicker-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "exclude": { "alias": "exclude"; "required": false; }; }, { "actionButtonClick": "actionButtonClick"; }, never, never, true, never>;
|
|
243
249
|
}
|
|
244
250
|
|
|
245
|
-
declare class OnshoreFormDropdownItemComponent implements OnInit, OnChanges, ControlValueAccessor, OnChanges, OnDestroy {
|
|
251
|
+
declare class OnshoreFormDropdownItemComponent implements OnInit, OnChanges, ControlValueAccessor, OnChanges, OnDestroy, AfterViewInit {
|
|
246
252
|
ngControl: NgControl;
|
|
247
253
|
private cdr;
|
|
248
254
|
formTemplate: OnshoreFormTemplateItem;
|
|
@@ -258,7 +264,7 @@ declare class OnshoreFormDropdownItemComponent implements OnInit, OnChanges, Con
|
|
|
258
264
|
actionButtonDisabled: boolean;
|
|
259
265
|
createEnabled: boolean;
|
|
260
266
|
options: any[];
|
|
261
|
-
|
|
267
|
+
exclude?: boolean;
|
|
262
268
|
valueChange: EventEmitter<boolean>;
|
|
263
269
|
actionButtonClick: EventEmitter<any>;
|
|
264
270
|
entryCreated: EventEmitter<any>;
|
|
@@ -271,20 +277,22 @@ declare class OnshoreFormDropdownItemComponent implements OnInit, OnChanges, Con
|
|
|
271
277
|
get formControl(): FormControl;
|
|
272
278
|
ngOnInit(): void;
|
|
273
279
|
ngOnDestroy(): void;
|
|
280
|
+
checkExclude(): void;
|
|
281
|
+
ngAfterViewInit(): void;
|
|
274
282
|
ngOnChanges(changes: SimpleChanges): void;
|
|
275
283
|
constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
|
|
276
284
|
protected readonly OnshoreFormTemplateType: typeof OnshoreFormTemplateType;
|
|
277
285
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnshoreFormDropdownItemComponent, [{ optional: true; self: true; }, null]>;
|
|
278
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormDropdownItemComponent, "onshore-form-dropdown-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "group": { "alias": "group"; "required": false; }; "selectionLimit": { "alias": "selectionLimit"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "dataKey": { "alias": "dataKey"; "required": false; }; "optionGroupLabel": { "alias": "optionGroupLabel"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "createEnabled": { "alias": "createEnabled"; "required": false; }; "options": { "alias": "options"; "required": false; }; "
|
|
286
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormDropdownItemComponent, "onshore-form-dropdown-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "group": { "alias": "group"; "required": false; }; "selectionLimit": { "alias": "selectionLimit"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "dataKey": { "alias": "dataKey"; "required": false; }; "optionGroupLabel": { "alias": "optionGroupLabel"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "createEnabled": { "alias": "createEnabled"; "required": false; }; "options": { "alias": "options"; "required": false; }; "exclude": { "alias": "exclude"; "required": false; }; }, { "valueChange": "valueChange"; "actionButtonClick": "actionButtonClick"; "entryCreated": "entryCreated"; }, never, never, true, never>;
|
|
279
287
|
}
|
|
280
288
|
|
|
281
|
-
declare class OnshoreFormImageItemComponent implements ControlValueAccessor, OnInit, OnDestroy, OnChanges {
|
|
289
|
+
declare class OnshoreFormImageItemComponent implements ControlValueAccessor, OnInit, OnDestroy, OnChanges, AfterViewInit {
|
|
282
290
|
cdr: ChangeDetectorRef;
|
|
283
291
|
ngControl: NgControl;
|
|
284
292
|
formTemplate: OnshoreFormTemplateItem;
|
|
285
293
|
imageSettings: OnshoreFormImageSettings | undefined;
|
|
286
294
|
actionButtonDisabled: boolean;
|
|
287
|
-
|
|
295
|
+
exclude?: boolean;
|
|
288
296
|
imageDeleted: EventEmitter<string>;
|
|
289
297
|
imageCleared: EventEmitter<any>;
|
|
290
298
|
imageReady: EventEmitter<string>;
|
|
@@ -306,13 +314,15 @@ declare class OnshoreFormImageItemComponent implements ControlValueAccessor, OnI
|
|
|
306
314
|
setDisabledState?(isDisabled: boolean): void;
|
|
307
315
|
ngOnInit(): void;
|
|
308
316
|
ngOnDestroy(): void;
|
|
317
|
+
checkExclude(): void;
|
|
318
|
+
ngAfterViewInit(): void;
|
|
309
319
|
ngOnChanges(changes: SimpleChanges): void;
|
|
310
320
|
constructor(cdr: ChangeDetectorRef, ngControl: NgControl);
|
|
311
321
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnshoreFormImageItemComponent, [null, { optional: true; self: true; }]>;
|
|
312
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormImageItemComponent, "onshore-form-image-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "imageSettings": { "alias": "imageSettings"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "
|
|
322
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormImageItemComponent, "onshore-form-image-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "imageSettings": { "alias": "imageSettings"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "exclude": { "alias": "exclude"; "required": false; }; }, { "imageDeleted": "imageDeleted"; "imageCleared": "imageCleared"; "imageReady": "imageReady"; "selectFromMedia": "selectFromMedia"; "isLoading": "isLoading"; }, never, never, true, never>;
|
|
313
323
|
}
|
|
314
324
|
|
|
315
|
-
declare class OnshoreFormInputItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy {
|
|
325
|
+
declare class OnshoreFormInputItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy, AfterViewInit {
|
|
316
326
|
ngControl: NgControl;
|
|
317
327
|
private cdr;
|
|
318
328
|
formTemplate: OnshoreFormTemplateItem;
|
|
@@ -338,6 +348,8 @@ declare class OnshoreFormInputItemComponent implements OnInit, ControlValueAcces
|
|
|
338
348
|
ngOnInit(): void;
|
|
339
349
|
onNumberInput(event: any): void;
|
|
340
350
|
get formControl(): FormControl;
|
|
351
|
+
checkExclude(): void;
|
|
352
|
+
ngAfterViewInit(): void;
|
|
341
353
|
ngOnChanges(changes: SimpleChanges): void;
|
|
342
354
|
ngOnDestroy(): void;
|
|
343
355
|
constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
|
|
@@ -345,12 +357,12 @@ declare class OnshoreFormInputItemComponent implements OnInit, ControlValueAcces
|
|
|
345
357
|
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormInputItemComponent, "onshore-form-input-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "step": { "alias": "step"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "useGrouping": { "alias": "useGrouping"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "keyFilter": { "alias": "keyFilter"; "required": false; }; "exclude": { "alias": "exclude"; "required": false; }; }, { "actionButtonClick": "actionButtonClick"; }, never, never, true, never>;
|
|
346
358
|
}
|
|
347
359
|
|
|
348
|
-
declare class OnshoreFormSwitchItemComponent implements OnInit, ControlValueAccessor, OnDestroy, OnChanges {
|
|
360
|
+
declare class OnshoreFormSwitchItemComponent implements OnInit, ControlValueAccessor, OnDestroy, OnChanges, AfterViewInit {
|
|
349
361
|
ngControl: NgControl;
|
|
350
362
|
private cdr;
|
|
351
363
|
formTemplate: OnshoreFormTemplateItem;
|
|
352
364
|
actionButtonDisabled: boolean;
|
|
353
|
-
|
|
365
|
+
exclude?: boolean;
|
|
354
366
|
valueChange: EventEmitter<boolean>;
|
|
355
367
|
actionButtonClick: EventEmitter<any>;
|
|
356
368
|
disabled: boolean;
|
|
@@ -360,19 +372,21 @@ declare class OnshoreFormSwitchItemComponent implements OnInit, ControlValueAcce
|
|
|
360
372
|
setDisabledState?(isDisabled: boolean): void;
|
|
361
373
|
get formControl(): FormControl;
|
|
362
374
|
ngOnInit(): void;
|
|
375
|
+
checkExclude(): void;
|
|
376
|
+
ngAfterViewInit(): void;
|
|
363
377
|
ngOnChanges(changes: SimpleChanges): void;
|
|
364
378
|
ngOnDestroy(): void;
|
|
365
379
|
constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
|
|
366
380
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnshoreFormSwitchItemComponent, [{ optional: true; self: true; }, null]>;
|
|
367
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormSwitchItemComponent, "onshore-form-switch-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "
|
|
381
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormSwitchItemComponent, "onshore-form-switch-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "exclude": { "alias": "exclude"; "required": false; }; }, { "valueChange": "valueChange"; "actionButtonClick": "actionButtonClick"; }, never, never, true, never>;
|
|
368
382
|
}
|
|
369
383
|
|
|
370
|
-
declare class OnshoreFormDatetimeItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy {
|
|
384
|
+
declare class OnshoreFormDatetimeItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy, AfterViewInit {
|
|
371
385
|
ngControl: NgControl;
|
|
372
386
|
private cdr;
|
|
373
387
|
formTemplate: OnshoreFormTemplateItem;
|
|
374
388
|
actionButtonDisabled: boolean;
|
|
375
|
-
|
|
389
|
+
exclude?: boolean;
|
|
376
390
|
actionButtonClick: EventEmitter<any>;
|
|
377
391
|
dateFormat?: string;
|
|
378
392
|
hourFormat?: string;
|
|
@@ -385,19 +399,21 @@ declare class OnshoreFormDatetimeItemComponent implements OnInit, ControlValueAc
|
|
|
385
399
|
setDisabledState?(isDisabled: boolean): void;
|
|
386
400
|
get formControl(): FormControl;
|
|
387
401
|
ngOnInit(): void;
|
|
402
|
+
checkExclude(): void;
|
|
403
|
+
ngAfterViewInit(): void;
|
|
388
404
|
ngOnChanges(changes: SimpleChanges): void;
|
|
389
405
|
ngOnDestroy(): void;
|
|
390
406
|
constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
|
|
391
407
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnshoreFormDatetimeItemComponent, [{ optional: true; self: true; }, null]>;
|
|
392
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormDatetimeItemComponent, "onshore-form-datetime-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "
|
|
408
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormDatetimeItemComponent, "onshore-form-datetime-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "exclude": { "alias": "exclude"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "hourFormat": { "alias": "hourFormat"; "required": false; }; "dataType": { "alias": "dataType"; "required": false; }; }, { "actionButtonClick": "actionButtonClick"; }, never, never, true, never>;
|
|
393
409
|
}
|
|
394
410
|
|
|
395
|
-
declare class OnshoreFormSortItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy {
|
|
411
|
+
declare class OnshoreFormSortItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy, AfterViewInit {
|
|
396
412
|
ngControl: NgControl;
|
|
397
413
|
private cdr;
|
|
398
414
|
formTemplate: OnshoreFormTemplateItem;
|
|
399
415
|
actionButtonDisabled: boolean;
|
|
400
|
-
|
|
416
|
+
exclude?: boolean;
|
|
401
417
|
actionButtonClick: EventEmitter<any>;
|
|
402
418
|
sortItems?: any[];
|
|
403
419
|
tempLockValue?: any[] | undefined;
|
|
@@ -410,11 +426,13 @@ declare class OnshoreFormSortItemComponent implements OnInit, ControlValueAccess
|
|
|
410
426
|
registerOnTouched(fn: any): void;
|
|
411
427
|
setDisabledState?(isDisabled: boolean): void;
|
|
412
428
|
ngOnInit(): void;
|
|
429
|
+
checkExclude(): void;
|
|
430
|
+
ngAfterViewInit(): void;
|
|
413
431
|
ngOnChanges(changes: SimpleChanges): void;
|
|
414
432
|
ngOnDestroy(): void;
|
|
415
433
|
constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
|
|
416
434
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnshoreFormSortItemComponent, [{ optional: true; self: true; }, null]>;
|
|
417
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormSortItemComponent, "onshore-form-sort-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "
|
|
435
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormSortItemComponent, "onshore-form-sort-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "exclude": { "alias": "exclude"; "required": false; }; }, { "actionButtonClick": "actionButtonClick"; }, never, never, true, never>;
|
|
418
436
|
}
|
|
419
437
|
|
|
420
438
|
declare class OnshoreFormValidationOutputComponent implements OnChanges {
|
|
@@ -429,7 +447,7 @@ declare class OnshoreFormValidationOutputComponent implements OnChanges {
|
|
|
429
447
|
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormValidationOutputComponent, "onshore-form-validation-output", never, { "validationErrors": { "alias": "validationErrors"; "required": false; }; "validationItems": { "alias": "validationItems"; "required": false; }; }, {}, never, never, true, never>;
|
|
430
448
|
}
|
|
431
449
|
|
|
432
|
-
declare class OnshoreFormScannerItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy {
|
|
450
|
+
declare class OnshoreFormScannerItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy, AfterViewInit {
|
|
433
451
|
ngControl: NgControl;
|
|
434
452
|
private cdr;
|
|
435
453
|
scanPopover: Popover;
|
|
@@ -442,7 +460,7 @@ declare class OnshoreFormScannerItemComponent implements OnInit, ControlValueAcc
|
|
|
442
460
|
integerOnly: boolean;
|
|
443
461
|
autofocus: boolean;
|
|
444
462
|
length?: number;
|
|
445
|
-
|
|
463
|
+
exclude?: boolean;
|
|
446
464
|
actionButtonClick: EventEmitter<any>;
|
|
447
465
|
webcamClick: EventEmitter<any>;
|
|
448
466
|
scannerClick: EventEmitter<any>;
|
|
@@ -454,11 +472,13 @@ declare class OnshoreFormScannerItemComponent implements OnInit, ControlValueAcc
|
|
|
454
472
|
get formControl(): FormControl;
|
|
455
473
|
ngOnInit(): void;
|
|
456
474
|
ngOnDestroy(): void;
|
|
475
|
+
checkExclude(): void;
|
|
476
|
+
ngAfterViewInit(): void;
|
|
457
477
|
ngOnChanges(changes: SimpleChanges): void;
|
|
458
478
|
constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
|
|
459
479
|
protected readonly OnshoreFormTemplateType: typeof OnshoreFormTemplateType;
|
|
460
480
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnshoreFormScannerItemComponent, [{ optional: true; self: true; }, null]>;
|
|
461
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormScannerItemComponent, "onshore-form-scanner-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "webcamDisabled": { "alias": "webcamDisabled"; "required": false; }; "scannerDisabled": { "alias": "scannerDisabled"; "required": false; }; "editDisabled": { "alias": "editDisabled"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "integerOnly": { "alias": "integerOnly"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "length": { "alias": "length"; "required": false; }; "
|
|
481
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormScannerItemComponent, "onshore-form-scanner-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "actionButtonDisabled": { "alias": "actionButtonDisabled"; "required": false; }; "webcamDisabled": { "alias": "webcamDisabled"; "required": false; }; "scannerDisabled": { "alias": "scannerDisabled"; "required": false; }; "editDisabled": { "alias": "editDisabled"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "integerOnly": { "alias": "integerOnly"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "length": { "alias": "length"; "required": false; }; "exclude": { "alias": "exclude"; "required": false; }; }, { "actionButtonClick": "actionButtonClick"; "webcamClick": "webcamClick"; "scannerClick": "scannerClick"; }, never, never, true, never>;
|
|
462
482
|
}
|
|
463
483
|
|
|
464
484
|
declare class OnshoreFormItemContainer implements OnInit, OnChanges, AfterViewInit {
|