@sumaris-net/ngx-components 1.12.11 → 1.13.0

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.
@@ -36,7 +36,7 @@ import { MatAutocomplete, MatAutocompleteTrigger, MatAutocompleteModule, MAT_AUT
36
36
  import { __awaiter, __decorate } from 'tslib';
37
37
  import * as i1$6 from '@angular/forms';
38
38
  import { NG_VALUE_ACCESSOR, FormGroupDirective, AbstractControl, FormGroup, FormArray, FormControl, ReactiveFormsModule, Validators, FormBuilder } from '@angular/forms';
39
- import { timer, merge, fromEvent, BehaviorSubject, Subscription, Subject, isObservable, noop as noop$9, Observable, defer, of, from, forkJoin, combineLatest, EMPTY } from 'rxjs';
39
+ import { timer, merge, Subject, fromEvent, BehaviorSubject, Subscription, isObservable, of, noop as noop$9, Observable, defer, from, forkJoin, combineLatest, EMPTY } from 'rxjs';
40
40
  import { filter, first, map, takeUntil, switchMap, startWith, debounceTime, takeWhile, tap, distinctUntilChanged, mergeMap, catchError, throttleTime, skip } from 'rxjs/operators';
41
41
  import * as i1$1 from '@ngx-translate/core';
42
42
  import { TranslateService, TranslateModule } from '@ngx-translate/core';
@@ -902,6 +902,16 @@ function waitForTrue(observable, opts) {
902
902
  return firstTrueObservable.toPromise();
903
903
  });
904
904
  }
905
+ function fromPromise(promise) {
906
+ const $observable = new Subject();
907
+ promise
908
+ .then((errors) => {
909
+ $observable.next(errors);
910
+ $observable.complete();
911
+ })
912
+ .catch(err => $observable.error(err));
913
+ return $observable;
914
+ }
905
915
 
906
916
  function createPromiseEventEmitter() {
907
917
  return new EventEmitter(true);
@@ -2528,6 +2538,18 @@ StrLengthPipe.decorators = [
2528
2538
  },] },
2529
2539
  { type: Injectable, args: [{ providedIn: 'root' },] }
2530
2540
  ];
2541
+ class StrIncludesPipe {
2542
+ transform(value, searchString, position) {
2543
+ return (value === null || value === void 0 ? void 0 : value.includes(searchString, position)) || false;
2544
+ }
2545
+ }
2546
+ StrIncludesPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function StrIncludesPipe_Factory() { return new StrIncludesPipe(); }, token: StrIncludesPipe, providedIn: "root" });
2547
+ StrIncludesPipe.decorators = [
2548
+ { type: Pipe, args: [{
2549
+ name: 'strIncludes'
2550
+ },] },
2551
+ { type: Injectable, args: [{ providedIn: 'root' },] }
2552
+ ];
2531
2553
 
2532
2554
  class TranslateContextService {
2533
2555
  constructor(translate) {
@@ -3088,6 +3110,104 @@ class SharedFormArrayValidators {
3088
3110
  };
3089
3111
  }
3090
3112
  }
3113
+ // @dynamic
3114
+ class SharedAsyncValidators {
3115
+ /**
3116
+ * Create an observable validator function. Will execute the validator, then cnvert the result into an observable
3117
+ * @param validatorFn any validator
3118
+ */
3119
+ static of(validatorFn) {
3120
+ return (control) => {
3121
+ const res = validatorFn(control);
3122
+ if (isObservable(res)) {
3123
+ return res;
3124
+ } // Already an observable
3125
+ if (res instanceof Promise)
3126
+ return fromPromise(res);
3127
+ return of(res);
3128
+ };
3129
+ }
3130
+ /**
3131
+ * Add a debounce time to a validator.
3132
+ * @param form
3133
+ * @param validatorFn
3134
+ * @param opts Use opts.stopSubject to stop the validator, before end
3135
+ */
3136
+ static debounceTime(validatorFn, opts) {
3137
+ // DEBUG only
3138
+ const debug = (opts === null || opts === void 0 ? void 0 : opts.debug) || false;
3139
+ const logPrefix = debug && `[debounceTime-validator] #${SharedAsyncValidators.DEBOUNCE_TIME_VALIDATOR_ID++} - `;
3140
+ const debounceTime = toNumber(opts === null || opts === void 0 ? void 0 : opts.debounceTime, 250);
3141
+ // DEBUG
3142
+ if (debug)
3143
+ console.debug(logPrefix + `New validator with a debounceTime at ${debounceTime}ms`);
3144
+ const $disposeSubject = new Subject();
3145
+ const disposeEvent$ = (opts === null || opts === void 0 ? void 0 : opts.dispose) ? merge($disposeSubject, opts === null || opts === void 0 ? void 0 : opts.dispose)
3146
+ : $disposeSubject;
3147
+ // Make sure validator will return an Observable - This is need by the switchMap()
3148
+ const asyncValidatorFn = SharedAsyncValidators.of(validatorFn);
3149
+ // DEBUG
3150
+ if (debug && (opts === null || opts === void 0 ? void 0 : opts.dispose)) {
3151
+ opts === null || opts === void 0 ? void 0 : opts.dispose.pipe(first()).subscribe(() => {
3152
+ console.debug(logPrefix + 'Stopping');
3153
+ });
3154
+ }
3155
+ return (control) => {
3156
+ if (debug)
3157
+ console.debug(logPrefix + 'Form ask validation...');
3158
+ // Stop previous observables
3159
+ $disposeSubject.next();
3160
+ let now;
3161
+ // Add a delay before execution
3162
+ return timer(debounceTime)
3163
+ .pipe(
3164
+ // DEBUG
3165
+ tap(_ => {
3166
+ if (debug) {
3167
+ console.debug(logPrefix + 'Executing...');
3168
+ now = Date.now();
3169
+ }
3170
+ }), switchMap((_) => asyncValidatorFn(control)),
3171
+ // DEBUG
3172
+ tap(res => debug && console.debug(logPrefix + `Finished in ${Date.now() - now}ms (${res ? 'with errors' : 'no error'})`, res)), catchError(error => {
3173
+ console.error('[debounceTime-validator] Error while executing validator. Stopping job', error);
3174
+ $disposeSubject.next();
3175
+ throw error;
3176
+ }),
3177
+ // Refresh UI, after a successful execution
3178
+ tap(() => (opts === null || opts === void 0 ? void 0 : opts.markForCheck) && (opts === null || opts === void 0 ? void 0 : opts.markForCheck())),
3179
+ // Make sure to stop, because of the switchMap
3180
+ takeUntil(disposeEvent$));
3181
+ };
3182
+ }
3183
+ /**
3184
+ * Add an async validator, that can be disposed by the returned subscription
3185
+ * @param form
3186
+ * @param validatorFn the validator or job to execute
3187
+ * @param opts
3188
+ */
3189
+ static registerAsyncValidator(form, validatorFn, opts) {
3190
+ if (form.asyncValidator)
3191
+ throw Error('Form already have an async validator. Cannot configure job');
3192
+ const debounceTime = toNumber(opts === null || opts === void 0 ? void 0 : opts.debounceTime, 250);
3193
+ const $dispose = new Subject();
3194
+ const asyncValidatorFn = SharedAsyncValidators.debounceTime(validatorFn, Object.assign(Object.assign({}, opts), { debounceTime, dispose: $dispose }));
3195
+ form.setAsyncValidators(asyncValidatorFn);
3196
+ const subscription = new Subscription();
3197
+ // When unsubscribing, remove async validator
3198
+ subscription.add(() => {
3199
+ // Clear added validator. Must be done NOW (without delay) because generally a new Job is given just after
3200
+ form.clearAsyncValidators();
3201
+ // Stop the job, with a delay to let the last execution finished
3202
+ setTimeout(() => {
3203
+ $dispose.next();
3204
+ $dispose.unsubscribe();
3205
+ }, debounceTime);
3206
+ });
3207
+ return subscription;
3208
+ }
3209
+ }
3210
+ SharedAsyncValidators.DEBOUNCE_TIME_VALIDATOR_ID = 0;
3091
3211
 
3092
3212
  /**
3093
3213
  * Fill a form using a source entity
@@ -3840,18 +3960,42 @@ FormErrorTranslatePipe.ctorParameters = () => [
3840
3960
  { type: FormErrorTranslator },
3841
3961
  { type: ChangeDetectorRef }
3842
3962
  ];
3843
- class FormControlGetPipe {
3963
+ class FormGetPipe {
3844
3964
  transform(form, path) {
3845
3965
  return form.get(path);
3846
3966
  }
3847
3967
  }
3848
- FormControlGetPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function FormControlGetPipe_Factory() { return new FormControlGetPipe(); }, token: FormControlGetPipe, providedIn: "root" });
3849
- FormControlGetPipe.decorators = [
3968
+ FormGetPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function FormGetPipe_Factory() { return new FormGetPipe(); }, token: FormGetPipe, providedIn: "root" });
3969
+ FormGetPipe.decorators = [
3850
3970
  { type: Pipe, args: [{
3851
3971
  name: 'formGet'
3852
3972
  },] },
3853
3973
  { type: Injectable, args: [{ providedIn: 'root' },] }
3854
3974
  ];
3975
+ class FormGetControlPipe {
3976
+ transform(form, path) {
3977
+ return form.get(path);
3978
+ }
3979
+ }
3980
+ FormGetControlPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function FormGetControlPipe_Factory() { return new FormGetControlPipe(); }, token: FormGetControlPipe, providedIn: "root" });
3981
+ FormGetControlPipe.decorators = [
3982
+ { type: Pipe, args: [{
3983
+ name: 'formGetControl'
3984
+ },] },
3985
+ { type: Injectable, args: [{ providedIn: 'root' },] }
3986
+ ];
3987
+ class FormGetArrayPipe {
3988
+ transform(form, path) {
3989
+ return form.get(path);
3990
+ }
3991
+ }
3992
+ FormGetArrayPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function FormGetArrayPipe_Factory() { return new FormGetArrayPipe(); }, token: FormGetArrayPipe, providedIn: "root" });
3993
+ FormGetArrayPipe.decorators = [
3994
+ { type: Pipe, args: [{
3995
+ name: 'formGetArray'
3996
+ },] },
3997
+ { type: Injectable, args: [{ providedIn: 'root' },] }
3998
+ ];
3855
3999
 
3856
4000
  class SharedPipesModule {
3857
4001
  }
@@ -3891,11 +4035,14 @@ SharedPipesModule.decorators = [
3891
4035
  IsNotNilOrBlankPipe,
3892
4036
  ToStringPipe,
3893
4037
  StrLengthPipe,
4038
+ StrIncludesPipe,
3894
4039
  TranslateContextPipe,
3895
4040
  TranslatablePipe,
3896
4041
  NgInitDirective,
3897
4042
  FormErrorTranslatePipe,
3898
- FormControlGetPipe
4043
+ FormGetPipe,
4044
+ FormGetControlPipe,
4045
+ FormGetArrayPipe
3899
4046
  ],
3900
4047
  exports: [
3901
4048
  PropertyGetPipe,
@@ -3924,13 +4071,16 @@ SharedPipesModule.decorators = [
3924
4071
  IsNotNilOrBlankPipe,
3925
4072
  ToStringPipe,
3926
4073
  StrLengthPipe,
4074
+ StrIncludesPipe,
3927
4075
  ArrayIncludesPipe,
3928
4076
  ArrayFilterPipe,
3929
4077
  TranslateContextPipe,
3930
4078
  TranslatablePipe,
3931
4079
  NgInitDirective,
3932
4080
  FormErrorTranslatePipe,
3933
- FormControlGetPipe
4081
+ FormGetPipe,
4082
+ FormGetControlPipe,
4083
+ FormGetArrayPipe
3934
4084
  ]
3935
4085
  },] }
3936
4086
  ];
@@ -26493,5 +26643,5 @@ CoreTestingModule.decorators = [
26493
26643
  * Generated bundle index. Do not edit.
26494
26644
  */
26495
26645
 
26496
- export { APP_ABOUT_DEVELOPERS, APP_ABOUT_PARTNERS, APP_CONFIG_OPTIONS, APP_FORM_ERROR_I18N_KEYS, APP_GRAPHQL_TYPE_POLICIES, APP_HOME_BUTTONS, APP_LOCALES, APP_LOCAL_SETTINGS, APP_LOCAL_SETTINGS_OPTIONS, APP_LOCAL_STORAGE_TYPE_POLICIES, APP_MENU_ITEMS, APP_TESTING_PAGES, AboutModal, Account, AccountPage, AccountService, AccountToStringPipe, ActionsColumnComponent, AdminModule, AdminRoutingModule, Alerts, AnimationState, AppEditor, AppEditorOptions, AppEntityEditor, AppForm, AppFormField, AppFormProvider, AppFormUtils, AppGestureConfig, AppGraphQLModule, AppHelpModal, AppInMemoryTable, AppInstallUpgradeCard, AppListForm, AppLoadingSpinner, AppMenuModule, AppNullForm, AppPropertiesForm, AppTabEditor, AppTabEditorOptions, AppTable, AppTableDataSourceOptions, AppTableUtils, AppValidatorService, AppendToInputDirective, ArrayFilterPipe, ArrayFirstPipe, ArrayIncludesPipe, ArrayLengthPipe, ArrayPluckPipe, AudioProvider, AuthForm, AuthGuardService, AuthModal, AutocompleteTestPage, AutofocusDirective, Base58, BaseEntityService, BaseGraphqlService, BaseGraphqlServiceOptions, BaseReferential, Beans, CORE_CONFIG_OPTIONS, CORE_TESTING_PAGES, CellValueChangeListener, ChipsTestPage, Color, ColorScale, ComponentDirtyGuard, ConfigService, Configuration, CoreModule, CoreTestingModule, CryptoService, DATE_ISO_PATTERN, DATE_UNIX_MS_TIMESTAMP, DATE_UNIX_TIMESTAMP, DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZE_OPTIONS, DEFAULT_PLACEHOLDER_CHAR, DEFAULT_REQUIRED_COLUMNS, DateDiffDurationPipe, DateFormatPipe, DateFromNowPipe, DateTimeTestPage, DateUtils, Department, DepartmentToStringPipe, DragAndDropDirective, DurationPipe, ENTITIES_STORAGE_KEY_PREFIX, ENVIRONMENT, EmptyArrayPipe, EntitiesService, EntitiesStorage, EntitiesTableDataSource, Entity, EntityClass, EntityClasses, EntityFilter, EntityFilterUtils, EntityMetadataComponent, EntityStore, EntityUtils, Environment, ErrorCodes, EvenPipe, FileResponse, FileService, FileSizePipe, FilesUtils, FormArrayHelper, FormButtonsBarComponent, FormButtonsBarToken, FormControlGetPipe, FormErrorTranslatePipe, FormErrorTranslator, FormFieldValuesHolder, Fragments, GraphqlService, HAMMER_PRESS_TIME, HAMMER_TAP_TIME, HighlightPipe, HomePage, Hotkeys, HotkeysDialogComponent, InMemoryEntitiesService, IsLoginAccountPipe, IsNilOrBlankPipe, IsNotNilOrBlankPipe, IsNotOnFieldModePipe, IsOnFieldModePipe, JobUtils, KEYBOARD_HIDE_DELAY_MS, LAT_LONG_DEFAULT_MAX_DECIMALS, LAT_LONG_PATTERNS, LatLongFormatPipe, LatLongTestPage, LatitudeFormatPipe, LocalSettingsService, LongitudeFormatPipe, MINIFY_ENTITY_FOR_LOCAL_STORAGE, MINIFY_ENTITY_FOR_POD, MapGetPipe, MapKeysPipe, MapValuesPipe, MatAutocompleteConfigHolder, MatAutocompleteField, MatBadgeIconDirective, MatBooleanField, MatChipsField, MatDate, MatDateShort, MatDateTime, MatDuration, MatLatLongField, MatNumpadComponent, MatNumpadContainerComponent, MatNumpadContent, MatPaginatorI18n, MatStepperI18n, MatSwipeField, MaterialTestingModule, MathAbsPipe, MenuComponent, MenuItems, MenuService, ModalToolbarComponent, NetworkService, NgInitDirective, NgVarDirective, NotEmptyArrayPipe, NumberFormatPipe, NumpadDirective, OddPipe, PRIORITIZED_AUTHORITIES, PUBKEY_REGEXP, Peer, Person, PersonFilter, PersonFragments, PersonService, PersonToStringPipe, PersonUtils, PersonValidatorService, PlatformService, ProgressBarService, ProgressInterceptor, PropertyGetPipe, RESERVED_END_COLUMNS, RESERVED_START_COLUMNS, Referential, ReferentialFilter, ReferentialRef, ReferentialUtils, ReferentialValidatorService, RegisterConfirmPage, SETTINGS_DISPLAY_COLUMNS, SETTINGS_FILTER, SETTINGS_PAGE_SIZE, SETTINGS_SORTED_COLUMN, SETTINGS_STORAGE_KEY, SETTINGS_TRANSIENT_PROPERTIES, SHARED_MATERIAL_TESTING_PAGES, SHARED_TESTING_PAGES, SPACE_PLACEHOLDER_CHAR, SelectPeerModal, SettingsPage, SharedDirectivesModule, SharedFormArrayValidators, SharedFormGroupValidators, SharedHotkeysModule, SharedMatAutocompleteModule, SharedMatBadgeIconModule, SharedMatBooleanModule, SharedMatChipsModule, SharedMatDateTimeModule, SharedMatDurationModule, SharedMatLatLongModule, SharedMatNumpadModule, SharedMatSwipeModule, SharedMaterialModule, SharedModule, SharedPipesModule, SharedRoutingModule, SharedTestingModule, SharedTestsPage, SharedValidators, SocialModule, Software, StartableService, StatusById, StatusIds, StatusList, StrLengthPipe, SwipeTestPage, TableSelectColumnsComponent, TableTestPage, TableTestingModule, TextForm, TextPopover, TextPopoverTestingModule, TextPopoverTestingPage, ToStringPipe, Toasts, ToolbarComponent, ToolbarToken, TranslatablePipe, TranslateContextPipe, TranslateContextService, UploadFile, UploadFileComponent, UploadFilePopover, UploadFileTestingModule, UploadFileTestingPage, UserEvent, UserEventFilter, UserEventService, UserEventTypes, UserEventsTable, UserSettings, UsersPage, accountToString, adaptValueToControl, addValueInArray, arrayDistinct, arrayGroupBy, arraySize, asInputElement, canHaveFocus, capitalizeFirstLetter, chainPromises, changeCaseToUnderscore, clearValueInArray, copyEntity2Form, createPromiseEvent, createPromiseEventEmitter, departmentToString, departmentsToString, disableControls, emitPromiseEvent, entityToString, equals, equalsOrNil, fadeInAnimation, fadeInOutAnimation, filterFalse, filterNotNil, filterNumberInput, filterTrue, firstArrayValue, firstFalse, firstFalsePromise, firstNotNil, firstNotNilPromise, firstTrue, firstTruePromise, focusInput, focusNextInput, focusPreviousInput, formatLatitude, formatLongitude, fromDateISOString, fromScrollEndEvent, fromUnixMsTimestamp, fromUnixTimestamp, getCaretPosition, getColorContrast, getColorShade, getColorTint, getConnectionType, getControlFromPath, getFocusableInputElements, getFormErrors, getFormValueFromEntity, getProperty, getPropertyByPath, getPropertyByPathAsString, getRandomImage, hexToRgb, hexToRgbArray, isAndroid, isControlHasInput, isCordova, isDesktop, isEmptyArray, isIOS, isInputElement, isInstanceOf, isInt, isMobile, isNil, isNilOrBlank, isNilOrNaN, isNotEmptyArray, isNotNil, isNotNilOrBlank, isNotNilOrNaN, isNotNilString, isNumber, isNumberRange, isTouchUi, isWindow, joinProperties, joinPropertiesPath, logFormErrors, markAllAsTouched, markAsUntouched, markControlAsTouched, markFormGroupAsTouched, matchMedia, matchUpperCase, mergeLoadResult, mixHex, moveInputCaretToSeparator, noTrailingSlash, notNilOrDefault, nullIfUndefined, parseLatitudeOrLongitude, propertiesPathComparator, propertyComparator, propertyPathComparator, referentialToString, referentialsToString, remove, removeAll, removeDiacritics, removeDuplicatesFromArray, removeEnd, removeValueInArray, replaceAll, resetCalculatedValue, resizeArray, rgbArrayToHex, rgbToHex, round, scrollFactory, selectInputContent, selectInputRange, setCalculatedValue, setTabIndex, sleep, slideInOutAnimation, slideUpDownAnimation, sort, splitById, splitByProperty, startsWithUpperCase, suggestFromArray, suggestFromStringArray, tabindexComparator, testUserAgent, toBoolean, toDateISOString, toDuration, toFloat, toInt, toNotNil, toNumber, trimEmptyToNull, uncapitalizeFirstLetter, updateValueAndValidity, waitFor, waitForTrue, waitIdle, waitWhilePending, ɵ0$b as ɵ0, CustomReuseStrategy as ɵa, MatNumpadDomService as ɵb, isFocusableElement as ɵc, RegisterForm as ɵd, AccountValidatorService as ɵe, RegisterModal as ɵf, UserSettingsValidatorService as ɵg, LocalSettingsValidatorService as ɵh, AppIconComponent as ɵi, NumpadTestPage as ɵj, MatBadgeIconTestPage as ɵk, ToastTestingModule as ɵl, ToastTestingPage as ɵm };
26646
+ export { APP_ABOUT_DEVELOPERS, APP_ABOUT_PARTNERS, APP_CONFIG_OPTIONS, APP_FORM_ERROR_I18N_KEYS, APP_GRAPHQL_TYPE_POLICIES, APP_HOME_BUTTONS, APP_LOCALES, APP_LOCAL_SETTINGS, APP_LOCAL_SETTINGS_OPTIONS, APP_LOCAL_STORAGE_TYPE_POLICIES, APP_MENU_ITEMS, APP_TESTING_PAGES, AboutModal, Account, AccountPage, AccountService, AccountToStringPipe, ActionsColumnComponent, AdminModule, AdminRoutingModule, Alerts, AnimationState, AppEditor, AppEditorOptions, AppEntityEditor, AppForm, AppFormField, AppFormProvider, AppFormUtils, AppGestureConfig, AppGraphQLModule, AppHelpModal, AppInMemoryTable, AppInstallUpgradeCard, AppListForm, AppLoadingSpinner, AppMenuModule, AppNullForm, AppPropertiesForm, AppTabEditor, AppTabEditorOptions, AppTable, AppTableDataSourceOptions, AppTableUtils, AppValidatorService, AppendToInputDirective, ArrayFilterPipe, ArrayFirstPipe, ArrayIncludesPipe, ArrayLengthPipe, ArrayPluckPipe, AudioProvider, AuthForm, AuthGuardService, AuthModal, AutocompleteTestPage, AutofocusDirective, Base58, BaseEntityService, BaseGraphqlService, BaseGraphqlServiceOptions, BaseReferential, Beans, CORE_CONFIG_OPTIONS, CORE_TESTING_PAGES, CellValueChangeListener, ChipsTestPage, Color, ColorScale, ComponentDirtyGuard, ConfigService, Configuration, CoreModule, CoreTestingModule, CryptoService, DATE_ISO_PATTERN, DATE_UNIX_MS_TIMESTAMP, DATE_UNIX_TIMESTAMP, DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZE_OPTIONS, DEFAULT_PLACEHOLDER_CHAR, DEFAULT_REQUIRED_COLUMNS, DateDiffDurationPipe, DateFormatPipe, DateFromNowPipe, DateTimeTestPage, DateUtils, Department, DepartmentToStringPipe, DragAndDropDirective, DurationPipe, ENTITIES_STORAGE_KEY_PREFIX, ENVIRONMENT, EmptyArrayPipe, EntitiesService, EntitiesStorage, EntitiesTableDataSource, Entity, EntityClass, EntityClasses, EntityFilter, EntityFilterUtils, EntityMetadataComponent, EntityStore, EntityUtils, Environment, ErrorCodes, EvenPipe, FileResponse, FileService, FileSizePipe, FilesUtils, FormArrayHelper, FormButtonsBarComponent, FormButtonsBarToken, FormErrorTranslatePipe, FormErrorTranslator, FormFieldValuesHolder, FormGetArrayPipe, FormGetControlPipe, FormGetPipe, Fragments, GraphqlService, HAMMER_PRESS_TIME, HAMMER_TAP_TIME, HighlightPipe, HomePage, Hotkeys, HotkeysDialogComponent, InMemoryEntitiesService, IsLoginAccountPipe, IsNilOrBlankPipe, IsNotNilOrBlankPipe, IsNotOnFieldModePipe, IsOnFieldModePipe, JobUtils, KEYBOARD_HIDE_DELAY_MS, LAT_LONG_DEFAULT_MAX_DECIMALS, LAT_LONG_PATTERNS, LatLongFormatPipe, LatLongTestPage, LatitudeFormatPipe, LocalSettingsService, LongitudeFormatPipe, MINIFY_ENTITY_FOR_LOCAL_STORAGE, MINIFY_ENTITY_FOR_POD, MapGetPipe, MapKeysPipe, MapValuesPipe, MatAutocompleteConfigHolder, MatAutocompleteField, MatBadgeIconDirective, MatBooleanField, MatChipsField, MatDate, MatDateShort, MatDateTime, MatDuration, MatLatLongField, MatNumpadComponent, MatNumpadContainerComponent, MatNumpadContent, MatPaginatorI18n, MatStepperI18n, MatSwipeField, MaterialTestingModule, MathAbsPipe, MenuComponent, MenuItems, MenuService, ModalToolbarComponent, NetworkService, NgInitDirective, NgVarDirective, NotEmptyArrayPipe, NumberFormatPipe, NumpadDirective, OddPipe, PRIORITIZED_AUTHORITIES, PUBKEY_REGEXP, Peer, Person, PersonFilter, PersonFragments, PersonService, PersonToStringPipe, PersonUtils, PersonValidatorService, PlatformService, ProgressBarService, ProgressInterceptor, PropertyGetPipe, RESERVED_END_COLUMNS, RESERVED_START_COLUMNS, Referential, ReferentialFilter, ReferentialRef, ReferentialUtils, ReferentialValidatorService, RegisterConfirmPage, SETTINGS_DISPLAY_COLUMNS, SETTINGS_FILTER, SETTINGS_PAGE_SIZE, SETTINGS_SORTED_COLUMN, SETTINGS_STORAGE_KEY, SETTINGS_TRANSIENT_PROPERTIES, SHARED_MATERIAL_TESTING_PAGES, SHARED_TESTING_PAGES, SPACE_PLACEHOLDER_CHAR, SelectPeerModal, SettingsPage, SharedAsyncValidators, SharedDirectivesModule, SharedFormArrayValidators, SharedFormGroupValidators, SharedHotkeysModule, SharedMatAutocompleteModule, SharedMatBadgeIconModule, SharedMatBooleanModule, SharedMatChipsModule, SharedMatDateTimeModule, SharedMatDurationModule, SharedMatLatLongModule, SharedMatNumpadModule, SharedMatSwipeModule, SharedMaterialModule, SharedModule, SharedPipesModule, SharedRoutingModule, SharedTestingModule, SharedTestsPage, SharedValidators, SocialModule, Software, StartableService, StatusById, StatusIds, StatusList, StrIncludesPipe, StrLengthPipe, SwipeTestPage, TableSelectColumnsComponent, TableTestPage, TableTestingModule, TextForm, TextPopover, TextPopoverTestingModule, TextPopoverTestingPage, ToStringPipe, Toasts, ToolbarComponent, ToolbarToken, TranslatablePipe, TranslateContextPipe, TranslateContextService, UploadFile, UploadFileComponent, UploadFilePopover, UploadFileTestingModule, UploadFileTestingPage, UserEvent, UserEventFilter, UserEventService, UserEventTypes, UserEventsTable, UserSettings, UsersPage, accountToString, adaptValueToControl, addValueInArray, arrayDistinct, arrayGroupBy, arraySize, asInputElement, canHaveFocus, capitalizeFirstLetter, chainPromises, changeCaseToUnderscore, clearValueInArray, copyEntity2Form, createPromiseEvent, createPromiseEventEmitter, departmentToString, departmentsToString, disableControls, emitPromiseEvent, entityToString, equals, equalsOrNil, fadeInAnimation, fadeInOutAnimation, filterFalse, filterNotNil, filterNumberInput, filterTrue, firstArrayValue, firstFalse, firstFalsePromise, firstNotNil, firstNotNilPromise, firstTrue, firstTruePromise, focusInput, focusNextInput, focusPreviousInput, formatLatitude, formatLongitude, fromDateISOString, fromPromise, fromScrollEndEvent, fromUnixMsTimestamp, fromUnixTimestamp, getCaretPosition, getColorContrast, getColorShade, getColorTint, getConnectionType, getControlFromPath, getFocusableInputElements, getFormErrors, getFormValueFromEntity, getProperty, getPropertyByPath, getPropertyByPathAsString, getRandomImage, hexToRgb, hexToRgbArray, isAndroid, isControlHasInput, isCordova, isDesktop, isEmptyArray, isIOS, isInputElement, isInstanceOf, isInt, isMobile, isNil, isNilOrBlank, isNilOrNaN, isNotEmptyArray, isNotNil, isNotNilOrBlank, isNotNilOrNaN, isNotNilString, isNumber, isNumberRange, isTouchUi, isWindow, joinProperties, joinPropertiesPath, logFormErrors, markAllAsTouched, markAsUntouched, markControlAsTouched, markFormGroupAsTouched, matchMedia, matchUpperCase, mergeLoadResult, mixHex, moveInputCaretToSeparator, noTrailingSlash, notNilOrDefault, nullIfUndefined, parseLatitudeOrLongitude, propertiesPathComparator, propertyComparator, propertyPathComparator, referentialToString, referentialsToString, remove, removeAll, removeDiacritics, removeDuplicatesFromArray, removeEnd, removeValueInArray, replaceAll, resetCalculatedValue, resizeArray, rgbArrayToHex, rgbToHex, round, scrollFactory, selectInputContent, selectInputRange, setCalculatedValue, setTabIndex, sleep, slideInOutAnimation, slideUpDownAnimation, sort, splitById, splitByProperty, startsWithUpperCase, suggestFromArray, suggestFromStringArray, tabindexComparator, testUserAgent, toBoolean, toDateISOString, toDuration, toFloat, toInt, toNotNil, toNumber, trimEmptyToNull, uncapitalizeFirstLetter, updateValueAndValidity, waitFor, waitForTrue, waitIdle, waitWhilePending, ɵ0$b as ɵ0, CustomReuseStrategy as ɵa, MatNumpadDomService as ɵb, isFocusableElement as ɵc, RegisterForm as ɵd, AccountValidatorService as ɵe, RegisterModal as ɵf, UserSettingsValidatorService as ɵg, LocalSettingsValidatorService as ɵh, AppIconComponent as ɵi, NumpadTestPage as ɵj, MatBadgeIconTestPage as ɵk, ToastTestingModule as ɵl, ToastTestingPage as ɵm };
26497
26647
  //# sourceMappingURL=sumaris-net.ngx-components.js.map