onshore-forms 1.1.8 → 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 +198 -36
- package/fesm2022/onshore-forms.mjs.map +1 -1
- package/package.json +1 -1
- package/types/onshore-forms.d.ts +46 -28
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,10 +314,12 @@ 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
325
|
declare class OnshoreFormInputItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy, AfterViewInit {
|
|
@@ -347,12 +357,12 @@ declare class OnshoreFormInputItemComponent implements OnInit, ControlValueAcces
|
|
|
347
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>;
|
|
348
358
|
}
|
|
349
359
|
|
|
350
|
-
declare class OnshoreFormSwitchItemComponent implements OnInit, ControlValueAccessor, OnDestroy, OnChanges {
|
|
360
|
+
declare class OnshoreFormSwitchItemComponent implements OnInit, ControlValueAccessor, OnDestroy, OnChanges, AfterViewInit {
|
|
351
361
|
ngControl: NgControl;
|
|
352
362
|
private cdr;
|
|
353
363
|
formTemplate: OnshoreFormTemplateItem;
|
|
354
364
|
actionButtonDisabled: boolean;
|
|
355
|
-
|
|
365
|
+
exclude?: boolean;
|
|
356
366
|
valueChange: EventEmitter<boolean>;
|
|
357
367
|
actionButtonClick: EventEmitter<any>;
|
|
358
368
|
disabled: boolean;
|
|
@@ -362,19 +372,21 @@ declare class OnshoreFormSwitchItemComponent implements OnInit, ControlValueAcce
|
|
|
362
372
|
setDisabledState?(isDisabled: boolean): void;
|
|
363
373
|
get formControl(): FormControl;
|
|
364
374
|
ngOnInit(): void;
|
|
375
|
+
checkExclude(): void;
|
|
376
|
+
ngAfterViewInit(): void;
|
|
365
377
|
ngOnChanges(changes: SimpleChanges): void;
|
|
366
378
|
ngOnDestroy(): void;
|
|
367
379
|
constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
|
|
368
380
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnshoreFormSwitchItemComponent, [{ optional: true; self: true; }, null]>;
|
|
369
|
-
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>;
|
|
370
382
|
}
|
|
371
383
|
|
|
372
|
-
declare class OnshoreFormDatetimeItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy {
|
|
384
|
+
declare class OnshoreFormDatetimeItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy, AfterViewInit {
|
|
373
385
|
ngControl: NgControl;
|
|
374
386
|
private cdr;
|
|
375
387
|
formTemplate: OnshoreFormTemplateItem;
|
|
376
388
|
actionButtonDisabled: boolean;
|
|
377
|
-
|
|
389
|
+
exclude?: boolean;
|
|
378
390
|
actionButtonClick: EventEmitter<any>;
|
|
379
391
|
dateFormat?: string;
|
|
380
392
|
hourFormat?: string;
|
|
@@ -387,19 +399,21 @@ declare class OnshoreFormDatetimeItemComponent implements OnInit, ControlValueAc
|
|
|
387
399
|
setDisabledState?(isDisabled: boolean): void;
|
|
388
400
|
get formControl(): FormControl;
|
|
389
401
|
ngOnInit(): void;
|
|
402
|
+
checkExclude(): void;
|
|
403
|
+
ngAfterViewInit(): void;
|
|
390
404
|
ngOnChanges(changes: SimpleChanges): void;
|
|
391
405
|
ngOnDestroy(): void;
|
|
392
406
|
constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
|
|
393
407
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnshoreFormDatetimeItemComponent, [{ optional: true; self: true; }, null]>;
|
|
394
|
-
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>;
|
|
395
409
|
}
|
|
396
410
|
|
|
397
|
-
declare class OnshoreFormSortItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy {
|
|
411
|
+
declare class OnshoreFormSortItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy, AfterViewInit {
|
|
398
412
|
ngControl: NgControl;
|
|
399
413
|
private cdr;
|
|
400
414
|
formTemplate: OnshoreFormTemplateItem;
|
|
401
415
|
actionButtonDisabled: boolean;
|
|
402
|
-
|
|
416
|
+
exclude?: boolean;
|
|
403
417
|
actionButtonClick: EventEmitter<any>;
|
|
404
418
|
sortItems?: any[];
|
|
405
419
|
tempLockValue?: any[] | undefined;
|
|
@@ -412,11 +426,13 @@ declare class OnshoreFormSortItemComponent implements OnInit, ControlValueAccess
|
|
|
412
426
|
registerOnTouched(fn: any): void;
|
|
413
427
|
setDisabledState?(isDisabled: boolean): void;
|
|
414
428
|
ngOnInit(): void;
|
|
429
|
+
checkExclude(): void;
|
|
430
|
+
ngAfterViewInit(): void;
|
|
415
431
|
ngOnChanges(changes: SimpleChanges): void;
|
|
416
432
|
ngOnDestroy(): void;
|
|
417
433
|
constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
|
|
418
434
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnshoreFormSortItemComponent, [{ optional: true; self: true; }, null]>;
|
|
419
|
-
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>;
|
|
420
436
|
}
|
|
421
437
|
|
|
422
438
|
declare class OnshoreFormValidationOutputComponent implements OnChanges {
|
|
@@ -431,7 +447,7 @@ declare class OnshoreFormValidationOutputComponent implements OnChanges {
|
|
|
431
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>;
|
|
432
448
|
}
|
|
433
449
|
|
|
434
|
-
declare class OnshoreFormScannerItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy {
|
|
450
|
+
declare class OnshoreFormScannerItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy, AfterViewInit {
|
|
435
451
|
ngControl: NgControl;
|
|
436
452
|
private cdr;
|
|
437
453
|
scanPopover: Popover;
|
|
@@ -444,7 +460,7 @@ declare class OnshoreFormScannerItemComponent implements OnInit, ControlValueAcc
|
|
|
444
460
|
integerOnly: boolean;
|
|
445
461
|
autofocus: boolean;
|
|
446
462
|
length?: number;
|
|
447
|
-
|
|
463
|
+
exclude?: boolean;
|
|
448
464
|
actionButtonClick: EventEmitter<any>;
|
|
449
465
|
webcamClick: EventEmitter<any>;
|
|
450
466
|
scannerClick: EventEmitter<any>;
|
|
@@ -456,11 +472,13 @@ declare class OnshoreFormScannerItemComponent implements OnInit, ControlValueAcc
|
|
|
456
472
|
get formControl(): FormControl;
|
|
457
473
|
ngOnInit(): void;
|
|
458
474
|
ngOnDestroy(): void;
|
|
475
|
+
checkExclude(): void;
|
|
476
|
+
ngAfterViewInit(): void;
|
|
459
477
|
ngOnChanges(changes: SimpleChanges): void;
|
|
460
478
|
constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
|
|
461
479
|
protected readonly OnshoreFormTemplateType: typeof OnshoreFormTemplateType;
|
|
462
480
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnshoreFormScannerItemComponent, [{ optional: true; self: true; }, null]>;
|
|
463
|
-
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>;
|
|
464
482
|
}
|
|
465
483
|
|
|
466
484
|
declare class OnshoreFormItemContainer implements OnInit, OnChanges, AfterViewInit {
|