onshore-forms 1.1.8 → 1.1.10
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 +238 -42
- package/fesm2022/onshore-forms.mjs.map +1 -1
- package/package.json +1 -1
- package/types/onshore-forms.d.ts +54 -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,55 +240,66 @@ 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;
|
|
249
255
|
multiple: boolean | undefined;
|
|
256
|
+
multipleItemSeverity: 'secondary' | 'danger' | 'info' | 'success' | 'warn' | 'contrast' | null | undefined;
|
|
250
257
|
showClear: boolean | undefined;
|
|
258
|
+
showMultiClear: boolean | undefined;
|
|
251
259
|
group: boolean | undefined;
|
|
252
260
|
selectionLimit?: number;
|
|
253
261
|
minLength?: number;
|
|
254
262
|
optionLabel?: string;
|
|
255
263
|
optionValue?: string;
|
|
256
264
|
dataKey?: string;
|
|
265
|
+
secondOptionLabel?: string;
|
|
266
|
+
thirdOptionLabel?: string;
|
|
267
|
+
optionLabelDivider?: string;
|
|
257
268
|
optionGroupLabel?: string;
|
|
258
269
|
actionButtonDisabled: boolean;
|
|
259
270
|
createEnabled: boolean;
|
|
260
271
|
options: any[];
|
|
261
|
-
|
|
272
|
+
exclude?: boolean;
|
|
262
273
|
valueChange: EventEmitter<boolean>;
|
|
263
274
|
actionButtonClick: EventEmitter<any>;
|
|
264
275
|
entryCreated: EventEmitter<any>;
|
|
265
|
-
disabled: boolean
|
|
276
|
+
disabled: boolean;
|
|
266
277
|
writeValue(obj: any): void;
|
|
267
278
|
registerOnChange(fn: any): void;
|
|
268
279
|
registerOnTouched(fn: any): void;
|
|
269
280
|
setDisabledState?(isDisabled: boolean): void;
|
|
270
281
|
clearSelection(): void;
|
|
271
282
|
get formControl(): FormControl;
|
|
283
|
+
findValue(item: any, key: string): string;
|
|
272
284
|
ngOnInit(): void;
|
|
273
285
|
ngOnDestroy(): void;
|
|
286
|
+
checkExclude(): void;
|
|
287
|
+
removeSelected(value: any, event: MouseEvent): void;
|
|
288
|
+
ngAfterViewInit(): void;
|
|
274
289
|
ngOnChanges(changes: SimpleChanges): void;
|
|
275
290
|
constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
|
|
276
291
|
protected readonly OnshoreFormTemplateType: typeof OnshoreFormTemplateType;
|
|
277
292
|
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; }; "
|
|
293
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnshoreFormDropdownItemComponent, "onshore-form-dropdown-item", never, { "formTemplate": { "alias": "formTemplate"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "multipleItemSeverity": { "alias": "multipleItemSeverity"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "showMultiClear": { "alias": "showMultiClear"; "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; }; "secondOptionLabel": { "alias": "secondOptionLabel"; "required": false; }; "thirdOptionLabel": { "alias": "thirdOptionLabel"; "required": false; }; "optionLabelDivider": { "alias": "optionLabelDivider"; "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
294
|
}
|
|
280
295
|
|
|
281
|
-
declare class OnshoreFormImageItemComponent implements ControlValueAccessor, OnInit, OnDestroy, OnChanges {
|
|
296
|
+
declare class OnshoreFormImageItemComponent implements ControlValueAccessor, OnInit, OnDestroy, OnChanges, AfterViewInit {
|
|
282
297
|
cdr: ChangeDetectorRef;
|
|
283
298
|
ngControl: NgControl;
|
|
284
299
|
formTemplate: OnshoreFormTemplateItem;
|
|
285
300
|
imageSettings: OnshoreFormImageSettings | undefined;
|
|
286
301
|
actionButtonDisabled: boolean;
|
|
287
|
-
|
|
302
|
+
exclude?: boolean;
|
|
288
303
|
imageDeleted: EventEmitter<string>;
|
|
289
304
|
imageCleared: EventEmitter<any>;
|
|
290
305
|
imageReady: EventEmitter<string>;
|
|
@@ -306,10 +321,12 @@ declare class OnshoreFormImageItemComponent implements ControlValueAccessor, OnI
|
|
|
306
321
|
setDisabledState?(isDisabled: boolean): void;
|
|
307
322
|
ngOnInit(): void;
|
|
308
323
|
ngOnDestroy(): void;
|
|
324
|
+
checkExclude(): void;
|
|
325
|
+
ngAfterViewInit(): void;
|
|
309
326
|
ngOnChanges(changes: SimpleChanges): void;
|
|
310
327
|
constructor(cdr: ChangeDetectorRef, ngControl: NgControl);
|
|
311
328
|
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; }; "
|
|
329
|
+
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
330
|
}
|
|
314
331
|
|
|
315
332
|
declare class OnshoreFormInputItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy, AfterViewInit {
|
|
@@ -347,12 +364,12 @@ declare class OnshoreFormInputItemComponent implements OnInit, ControlValueAcces
|
|
|
347
364
|
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
365
|
}
|
|
349
366
|
|
|
350
|
-
declare class OnshoreFormSwitchItemComponent implements OnInit, ControlValueAccessor, OnDestroy, OnChanges {
|
|
367
|
+
declare class OnshoreFormSwitchItemComponent implements OnInit, ControlValueAccessor, OnDestroy, OnChanges, AfterViewInit {
|
|
351
368
|
ngControl: NgControl;
|
|
352
369
|
private cdr;
|
|
353
370
|
formTemplate: OnshoreFormTemplateItem;
|
|
354
371
|
actionButtonDisabled: boolean;
|
|
355
|
-
|
|
372
|
+
exclude?: boolean;
|
|
356
373
|
valueChange: EventEmitter<boolean>;
|
|
357
374
|
actionButtonClick: EventEmitter<any>;
|
|
358
375
|
disabled: boolean;
|
|
@@ -362,19 +379,21 @@ declare class OnshoreFormSwitchItemComponent implements OnInit, ControlValueAcce
|
|
|
362
379
|
setDisabledState?(isDisabled: boolean): void;
|
|
363
380
|
get formControl(): FormControl;
|
|
364
381
|
ngOnInit(): void;
|
|
382
|
+
checkExclude(): void;
|
|
383
|
+
ngAfterViewInit(): void;
|
|
365
384
|
ngOnChanges(changes: SimpleChanges): void;
|
|
366
385
|
ngOnDestroy(): void;
|
|
367
386
|
constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
|
|
368
387
|
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; }; "
|
|
388
|
+
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
389
|
}
|
|
371
390
|
|
|
372
|
-
declare class OnshoreFormDatetimeItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy {
|
|
391
|
+
declare class OnshoreFormDatetimeItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy, AfterViewInit {
|
|
373
392
|
ngControl: NgControl;
|
|
374
393
|
private cdr;
|
|
375
394
|
formTemplate: OnshoreFormTemplateItem;
|
|
376
395
|
actionButtonDisabled: boolean;
|
|
377
|
-
|
|
396
|
+
exclude?: boolean;
|
|
378
397
|
actionButtonClick: EventEmitter<any>;
|
|
379
398
|
dateFormat?: string;
|
|
380
399
|
hourFormat?: string;
|
|
@@ -387,19 +406,21 @@ declare class OnshoreFormDatetimeItemComponent implements OnInit, ControlValueAc
|
|
|
387
406
|
setDisabledState?(isDisabled: boolean): void;
|
|
388
407
|
get formControl(): FormControl;
|
|
389
408
|
ngOnInit(): void;
|
|
409
|
+
checkExclude(): void;
|
|
410
|
+
ngAfterViewInit(): void;
|
|
390
411
|
ngOnChanges(changes: SimpleChanges): void;
|
|
391
412
|
ngOnDestroy(): void;
|
|
392
413
|
constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
|
|
393
414
|
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; }; "
|
|
415
|
+
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
416
|
}
|
|
396
417
|
|
|
397
|
-
declare class OnshoreFormSortItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy {
|
|
418
|
+
declare class OnshoreFormSortItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy, AfterViewInit {
|
|
398
419
|
ngControl: NgControl;
|
|
399
420
|
private cdr;
|
|
400
421
|
formTemplate: OnshoreFormTemplateItem;
|
|
401
422
|
actionButtonDisabled: boolean;
|
|
402
|
-
|
|
423
|
+
exclude?: boolean;
|
|
403
424
|
actionButtonClick: EventEmitter<any>;
|
|
404
425
|
sortItems?: any[];
|
|
405
426
|
tempLockValue?: any[] | undefined;
|
|
@@ -412,11 +433,13 @@ declare class OnshoreFormSortItemComponent implements OnInit, ControlValueAccess
|
|
|
412
433
|
registerOnTouched(fn: any): void;
|
|
413
434
|
setDisabledState?(isDisabled: boolean): void;
|
|
414
435
|
ngOnInit(): void;
|
|
436
|
+
checkExclude(): void;
|
|
437
|
+
ngAfterViewInit(): void;
|
|
415
438
|
ngOnChanges(changes: SimpleChanges): void;
|
|
416
439
|
ngOnDestroy(): void;
|
|
417
440
|
constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
|
|
418
441
|
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; }; "
|
|
442
|
+
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
443
|
}
|
|
421
444
|
|
|
422
445
|
declare class OnshoreFormValidationOutputComponent implements OnChanges {
|
|
@@ -431,7 +454,7 @@ declare class OnshoreFormValidationOutputComponent implements OnChanges {
|
|
|
431
454
|
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
455
|
}
|
|
433
456
|
|
|
434
|
-
declare class OnshoreFormScannerItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy {
|
|
457
|
+
declare class OnshoreFormScannerItemComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy, AfterViewInit {
|
|
435
458
|
ngControl: NgControl;
|
|
436
459
|
private cdr;
|
|
437
460
|
scanPopover: Popover;
|
|
@@ -444,7 +467,7 @@ declare class OnshoreFormScannerItemComponent implements OnInit, ControlValueAcc
|
|
|
444
467
|
integerOnly: boolean;
|
|
445
468
|
autofocus: boolean;
|
|
446
469
|
length?: number;
|
|
447
|
-
|
|
470
|
+
exclude?: boolean;
|
|
448
471
|
actionButtonClick: EventEmitter<any>;
|
|
449
472
|
webcamClick: EventEmitter<any>;
|
|
450
473
|
scannerClick: EventEmitter<any>;
|
|
@@ -456,11 +479,13 @@ declare class OnshoreFormScannerItemComponent implements OnInit, ControlValueAcc
|
|
|
456
479
|
get formControl(): FormControl;
|
|
457
480
|
ngOnInit(): void;
|
|
458
481
|
ngOnDestroy(): void;
|
|
482
|
+
checkExclude(): void;
|
|
483
|
+
ngAfterViewInit(): void;
|
|
459
484
|
ngOnChanges(changes: SimpleChanges): void;
|
|
460
485
|
constructor(ngControl: NgControl, cdr: ChangeDetectorRef);
|
|
461
486
|
protected readonly OnshoreFormTemplateType: typeof OnshoreFormTemplateType;
|
|
462
487
|
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; }; "
|
|
488
|
+
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
489
|
}
|
|
465
490
|
|
|
466
491
|
declare class OnshoreFormItemContainer implements OnInit, OnChanges, AfterViewInit {
|