@sumaris-net/ngx-components 1.9.8 → 1.10.1

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.
Files changed (47) hide show
  1. package/bundles/sumaris-net.ngx-components.umd.js +116 -34
  2. package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
  3. package/bundles/sumaris-net.ngx-components.umd.min.js +2 -2
  4. package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
  5. package/doc/changelog.md +4 -0
  6. package/esm2015/public_api.js +2 -2
  7. package/esm2015/src/app/core/form/editor.class.js +2 -2
  8. package/esm2015/src/app/core/graphql/graphql.service.js +4 -4
  9. package/esm2015/src/app/core/home/home.js +2 -2
  10. package/esm2015/src/app/core/install/install-upgrade-card.component.js +2 -2
  11. package/esm2015/src/app/core/services/account.service.js +8 -4
  12. package/esm2015/src/app/core/services/config.service.js +2 -2
  13. package/esm2015/src/app/core/services/network.service.js +5 -5
  14. package/esm2015/src/app/core/services/platform.service.js +3 -4
  15. package/esm2015/src/app/core/services/testing/referential-filter.model.js +23 -0
  16. package/esm2015/src/app/core/services/testing/referential.validator.js +44 -0
  17. package/esm2015/src/app/core/table/table.class.js +32 -20
  18. package/esm2015/src/app/shared/shared.testing.module.js +9 -3
  19. package/esm2015/src/app/shared/toast/toast.testing.js +39 -0
  20. package/esm2015/src/app/shared/toast/toast.testing.module.js +33 -0
  21. package/esm2015/src/app/shared/toast/toasts.js +119 -0
  22. package/esm2015/src/app/social/services/user-event.service.js +2 -2
  23. package/esm2015/sumaris-net.ngx-components.js +9 -7
  24. package/fesm2015/sumaris-net.ngx-components.js +114 -32
  25. package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
  26. package/package.json +1 -1
  27. package/public_api.d.ts +1 -1
  28. package/src/app/core/form/editor.class.d.ts +1 -1
  29. package/src/app/core/home/home.d.ts +1 -1
  30. package/src/app/core/services/account.service.d.ts +4 -2
  31. package/src/app/core/services/config.service.d.ts +1 -1
  32. package/src/app/core/services/network.service.d.ts +1 -1
  33. package/src/app/core/services/platform.service.d.ts +1 -1
  34. package/src/app/core/services/testing/referential-filter.model.d.ts +9 -0
  35. package/src/app/core/services/testing/referential.validator.d.ts +19 -0
  36. package/src/app/core/table/table.class.d.ts +1 -1
  37. package/src/app/shared/shared.testing.module.d.ts +2 -0
  38. package/src/app/shared/toast/toast.testing.d.ts +14 -0
  39. package/src/app/shared/toast/toast.testing.module.d.ts +2 -0
  40. package/src/app/shared/{toasts.d.ts → toast/toasts.d.ts} +0 -0
  41. package/src/app/social/services/user-event.service.d.ts +1 -1
  42. package/src/assets/i18n/en-US.json +4 -1
  43. package/src/assets/i18n/en.json +4 -1
  44. package/src/assets/i18n/fr.json +4 -1
  45. package/sumaris-net.ngx-components.d.ts +8 -6
  46. package/sumaris-net.ngx-components.metadata.json +1 -1
  47. package/esm2015/src/app/shared/toasts.js +0 -119
@@ -10842,7 +10842,7 @@ class NetworkService extends StartableService {
10842
10842
  this.onNetworkStatusChanges.next(currentConnectionType);
10843
10843
  // Offline mode: alert the user
10844
10844
  if (currentConnectionType === 'none' && (!opts || opts.showToast !== false)) {
10845
- this.showToast({ message: 'NETWORK.INFO.OFFLINE_HELP' });
10845
+ this.showToast({ message: 'NETWORK.INFO.OFFLINE_HELP', type: 'warning' });
10846
10846
  }
10847
10847
  }
10848
10848
  }
@@ -11042,11 +11042,11 @@ class NetworkService extends StartableService {
11042
11042
  // Force offline mode
11043
11043
  this._forceOffline = true;
11044
11044
  // Alert the user
11045
- this.showToast({ message: 'NETWORK.INFO.OFFLINE_HELP' });
11045
+ this.showToast({ message: 'NETWORK.INFO.OFFLINE_HELP', type: 'warning' });
11046
11046
  }
11047
11047
  else {
11048
11048
  // Alert the user
11049
- this.showToast({ message: 'NETWORK.INFO.OFFLINE' });
11049
+ this.showToast({ message: 'NETWORK.INFO.OFFLINE', type: 'warning' });
11050
11050
  }
11051
11051
  // Stop the network service
11052
11052
  this.stop();
@@ -12979,12 +12979,12 @@ class GraphqlService extends StartableService {
12979
12979
  return __awaiter(this, void 0, void 0, function* () {
12980
12980
  client = (client || this.client);
12981
12981
  if (client) {
12982
- console.info('[graphql] Clearing Apollo client\'s cache... ');
12982
+ console.info('[graphql] Cleaning cache... ');
12983
12983
  const now = this._debug && Date.now();
12984
12984
  // Clearing the cache
12985
12985
  yield client.cache.reset();
12986
12986
  if (this._debug)
12987
- console.debug(`[graphql] Apollo client's cache cleared, in ${Date.now() - now}ms`);
12987
+ console.debug(`[graphql] Cleaning cache [OK] in ${Date.now() - now}ms`);
12988
12988
  }
12989
12989
  });
12990
12990
  }
@@ -13146,7 +13146,7 @@ class GraphqlService extends StartableService {
13146
13146
  client = (client || this.apollo.client);
13147
13147
  if (!client)
13148
13148
  return;
13149
- console.info('[graphql] Resetting apollo client...');
13149
+ console.info('[graphql] Resetting Apollo client...');
13150
13150
  client.stop();
13151
13151
  yield Promise.all([
13152
13152
  client.clearStore(),
@@ -13931,7 +13931,7 @@ class AccountService extends BaseGraphqlService {
13931
13931
  return this._data;
13932
13932
  });
13933
13933
  }
13934
- reload() {
13934
+ reload(opts) {
13935
13935
  return __awaiter(this, void 0, void 0, function* () {
13936
13936
  if (!this._cache.pubkey)
13937
13937
  throw new Error('User not logged');
@@ -13947,6 +13947,10 @@ class AccountService extends BaseGraphqlService {
13947
13947
  // Emit login event to subscribers
13948
13948
  this.onLogin.next(this._data);
13949
13949
  this.onChange.next(this._data);
13950
+ // Display toast (without await, because not need to wait toast close event)
13951
+ if (!opts || opts.showToast !== false) {
13952
+ this.showToast({ message: 'ACCOUNT.INFO.RELOADED', type: 'info' });
13953
+ }
13950
13954
  return this._data;
13951
13955
  }
13952
13956
  catch (error) {
@@ -14551,7 +14555,7 @@ class AccountService extends BaseGraphqlService {
14551
14555
  variables,
14552
14556
  error: {
14553
14557
  code: ErrorCodes$2.SUBSCRIBE_ACCOUNT_ERROR,
14554
- message: 'ERROR.ACCOUNT.SUBSCRIBE_ACCOUNT_ERROR'
14558
+ message: 'ERROR.ACCOUNT.SUBSCRIBE_ERROR'
14555
14559
  }
14556
14560
  }).pipe(map(({ data }) => data),
14557
14561
  // Keep only if newer
@@ -15469,8 +15473,7 @@ class PlatformService extends StartableService {
15469
15473
  else {
15470
15474
  const now = Date.now();
15471
15475
  console.info(`[platform] Starting storage migration...`);
15472
- const toast = yield this.showToast({ message: 'INFO.DATA_MIGRATION_STARTED',
15473
- duration: 30000 });
15476
+ const toast = yield this.showToast({ message: 'INFO.DATA_MIGRATION_STARTED', type: 'info', duration: 30000 });
15474
15477
  try {
15475
15478
  yield StorageUtils.copy(oldForage, storage, { keys, deleteAfterCopy: false });
15476
15479
  const duration = Date.now() - now;
@@ -17284,7 +17287,7 @@ MatBadgeIconTestPage.decorators = [
17284
17287
  },] }
17285
17288
  ];
17286
17289
 
17287
- const routes$1 = [
17290
+ const routes$2 = [
17288
17291
  {
17289
17292
  path: '',
17290
17293
  pathMatch: 'full',
@@ -17336,7 +17339,7 @@ MaterialTestingModule.decorators = [
17336
17339
  ReactiveFormsModule,
17337
17340
  SharedMaterialModule,
17338
17341
  TranslateModule.forChild(),
17339
- RouterModule.forChild(routes$1)
17342
+ RouterModule.forChild(routes$2)
17340
17343
  ],
17341
17344
  declarations: [
17342
17345
  MaterialTestingPage,
@@ -17362,6 +17365,71 @@ MaterialTestingModule.decorators = [
17362
17365
  },] }
17363
17366
  ];
17364
17367
 
17368
+ class ToastTestingPage {
17369
+ constructor(toastController, translate) {
17370
+ this.toastController = toastController;
17371
+ this.translate = translate;
17372
+ this.defaultOptions = {
17373
+ showCloseButton: false
17374
+ };
17375
+ }
17376
+ showToast(opts) {
17377
+ return Toasts.show(this.toastController, this.translate, Object.assign(Object.assign(Object.assign({}, this.defaultOptions), { message: 'This is a message' }), opts));
17378
+ }
17379
+ showInfo(opts) {
17380
+ return this.showToast(Object.assign({ type: 'info', message: 'This is a info text !' }, opts));
17381
+ }
17382
+ showWarning(opts) {
17383
+ return this.showToast(Object.assign({ type: 'warning', message: 'This is a warning text !' }, opts));
17384
+ }
17385
+ showError(opts) {
17386
+ return this.showToast(Object.assign({ type: 'error', message: 'This is a error text !' }, opts));
17387
+ }
17388
+ toggleCloseButton() {
17389
+ this.defaultOptions.showCloseButton = !this.defaultOptions.showCloseButton;
17390
+ }
17391
+ }
17392
+ ToastTestingPage.decorators = [
17393
+ { type: Component, args: [{
17394
+ selector: 'toast-testing',
17395
+ template: "<ion-toolbar color=\"primary\">\n <ion-title>Toasts</ion-title>\n</ion-toolbar>\n\n<ion-content class=\"ion-padding\">\n\n <p>Toast examples:</p>\n\n <ion-button (click)=\"showToast()\" color=\"dark\">\n default\n </ion-button>\n\n <ion-button (click)=\"showInfo({duration: 100000})\" color=\"secondary\">\n info\n </ion-button>\n\n <ion-button (click)=\"showWarning()\" color=\"accent\">\n warning\n </ion-button>\n\n <ion-button (click)=\"showError()\" color=\"danger\">\n error\n </ion-button>\n\n <br/>\n\n\n <ion-list>\n\n\n <ion-item>\n <ion-checkbox slot=\"start\" [value]=\"defaultOptions.showCloseButton\" (ionChange)=\"toggleCloseButton()\"></ion-checkbox>\n <ion-label>Close button ?</ion-label>\n </ion-item>\n </ion-list>\n\n\n</ion-content>\n"
17396
+ },] }
17397
+ ];
17398
+ ToastTestingPage.ctorParameters = () => [
17399
+ { type: ToastController },
17400
+ { type: TranslateService }
17401
+ ];
17402
+
17403
+ const routes$1 = [
17404
+ {
17405
+ path: 'toast',
17406
+ pathMatch: 'full',
17407
+ component: ToastTestingPage
17408
+ }
17409
+ ];
17410
+ class ToastTestingModule {
17411
+ }
17412
+ ToastTestingModule.decorators = [
17413
+ { type: NgModule, args: [{
17414
+ imports: [
17415
+ CommonModule,
17416
+ IonicModule,
17417
+ TranslateModule.forChild(),
17418
+ RouterModule.forChild(routes$1)
17419
+ ],
17420
+ declarations: [
17421
+ ToastTestingPage
17422
+ ],
17423
+ exports: [
17424
+ RouterModule,
17425
+ ToastTestingPage
17426
+ ]
17427
+ },] }
17428
+ ];
17429
+
17430
+ const SHARED_TESTING_PAGES = [
17431
+ { label: 'Toast', page: '/testing/shared/toast' }
17432
+ ];
17365
17433
  class SharedTestingModule {
17366
17434
  }
17367
17435
  SharedTestingModule.decorators = [
@@ -17369,10 +17437,12 @@ SharedTestingModule.decorators = [
17369
17437
  imports: [
17370
17438
  CommonModule,
17371
17439
  TranslateModule.forChild(),
17372
- MaterialTestingModule
17440
+ MaterialTestingModule,
17441
+ ToastTestingModule
17373
17442
  ],
17374
17443
  exports: [
17375
- MaterialTestingModule
17444
+ MaterialTestingModule,
17445
+ ToastTestingModule
17376
17446
  ]
17377
17447
  },] }
17378
17448
  ];
@@ -22138,6 +22208,7 @@ class AppTable {
22138
22208
  const canDelete = yield this.canDeleteRows(rows, opts);
22139
22209
  if (!canDelete)
22140
22210
  return 0; // Cannot delete
22211
+ // If data need to be saved first
22141
22212
  if (this.saveBeforeDelete) {
22142
22213
  // Cancel invalid rows (because of save() will fail, if invalid rows exists)
22143
22214
  rows = rows.reduce((res, row) => {
@@ -22148,30 +22219,40 @@ class AppTable {
22148
22219
  if (deleted) {
22149
22220
  this.visibleRowCount--;
22150
22221
  this.totalRowCount--;
22222
+ // Forget is was the edited row
22223
+ if (row === this.editedRow) {
22224
+ this.editedRow = undefined;
22225
+ }
22151
22226
  return res;
22152
22227
  }
22153
22228
  }
22154
22229
  return res.concat(row);
22155
22230
  }, []);
22156
- if (isEmptyArray(rows))
22157
- return 0;
22158
- // If data need to be saved first: do it
22159
- const saved = yield this.saveBeforeAction('delete');
22160
- if (!saved) {
22161
- // Stop if save cancelled or save failed
22162
- return;
22231
+ // Apply save, only if there is still some rows to delete
22232
+ // WARN: If no more rows (e.g. because all has been cancelled) then continue anyway to clear editedRow and selection (issue IMAGINE-669)
22233
+ if (isNotEmptyArray(rows)) {
22234
+ // Save data (e.g. when using memory service)
22235
+ const saved = yield this.saveBeforeAction('delete');
22236
+ if (!saved) {
22237
+ // Stop if save cancelled or save failed
22238
+ return;
22239
+ }
22163
22240
  }
22164
22241
  }
22165
- if (this.debug)
22166
- console.debug('[table] Delete selection...');
22167
- const rowsToDelete = rows.slice()
22168
- // Reverse row order
22169
- // This is a workaround, need because row.delete() has async execution
22170
- // and index cache is updated with a delay)
22171
- .sort((a, b) => a.id > b.id ? -1 : 1);
22172
22242
  try {
22173
- const deleteCount = rowsToDelete.length;
22174
- yield this._dataSource.deleteAll(rowsToDelete);
22243
+ const deleteCount = rows.length;
22244
+ // Apply deletion on datasource
22245
+ // If no more rows to delete, continue anyway to clear editedRow and selection (issue IMAGINE-669)
22246
+ if (deleteCount) {
22247
+ if (this.debug)
22248
+ console.debug('[table] Delete selected rows...');
22249
+ // Reverse row order (on a copy)
22250
+ // This is a workaround, need because row.delete() has async execution
22251
+ // and index cache is updated with a delay
22252
+ rows = rows.slice()
22253
+ .sort((a, b) => a.id > b.id ? -1 : 1);
22254
+ yield this._dataSource.deleteAll(rows);
22255
+ }
22175
22256
  // DO not update manually, because watchALl().subscribe() will update this count
22176
22257
  //this.totalRowCount -= deleteCount;
22177
22258
  //this.visibleRowCount -= deleteCount;
@@ -22179,7 +22260,8 @@ class AppTable {
22179
22260
  this.editedRow = undefined;
22180
22261
  this.markAsDirty({ emitEvent: false /*markForCheck() is called just after*/ });
22181
22262
  this.markForCheck();
22182
- this.onAfterDeletedRows.next(rowsToDelete);
22263
+ if (deleteCount)
22264
+ this.onAfterDeletedRows.next(rows);
22183
22265
  return deleteCount;
22184
22266
  }
22185
22267
  catch (err) {
@@ -25223,5 +25305,5 @@ const ErrorCodes = {
25223
25305
  * Generated bundle index. Do not edit.
25224
25306
  */
25225
25307
 
25226
- 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, CellValueChangeListener, ChipsTestPage, Color, ColorScale, ComponentDirtyGuard, ConfigService, Configuration, CoreModule, 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, DurationPipe, ENTITIES_STORAGE_KEY_PREFIX, ENVIRONMENT, EmptyArrayPipe, EntitiesService, EntitiesStorage, EntitiesTableDataSource, Entity, EntityClass, EntityClasses, EntityFilter, EntityFilterUtils, EntityMetadataComponent, EntityStore, EntityUtils, Environment, ErrorCodes, EvenPipe, FileService, FileSizePipe, FormArrayHelper, FormButtonsBarComponent, FormButtonsBarToken, 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, MatBooleanField, MatChipsField, MatDate, MatDateShort, MatDateTime, MatDuration, MatLatLongField, MatNumpadComponent, MatNumpadContainerComponent, MatNumpadContent, MatPaginatorI18n, MatStepperI18n, MatSwipeField, MaterialChipsModule, MaterialTestingModule, MaterialTestingPage, 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, ReferentialRef, ReferentialUtils, RegisterConfirmPage, SETTINGS_DISPLAY_COLUMNS, SETTINGS_FILTER, SETTINGS_PAGE_SIZE, SETTINGS_SORTED_COLUMN, SETTINGS_STORAGE_KEY, SETTINGS_TRANSIENT_PROPERTIES, SPACE_PLACEHOLDER_CHAR, SelectPeerModal, SettingsPage, SharedDirectivesModule, SharedFormArrayValidators, SharedFormGroupValidators, SharedHotkeysModule, SharedMatAutocompleteModule, SharedMatBooleanModule, SharedMatDateTimeModule, SharedMatDurationModule, SharedMatLatLongModule, SharedMatNumpadModule, SharedMatSwipeModule, SharedMaterialModule, SharedModule, SharedPipesModule, SharedRoutingModule, SharedTestingModule, SharedValidators, SocialModule, Software, StartableService, StatusById, StatusIds, StatusList, StrLengthPipe, SwipeTestPage, TableSelectColumnsComponent, ToStringPipe, Toasts, ToolbarComponent, ToolbarToken, TranslatablePipe, TranslateContextPipe, TranslateContextService, 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, SharedMatBadgeIconModule as ɵc, MatBadgeIconDirective as ɵd, isFocusableElement as ɵe, MatBadgeIconTestPage as ɵf, RegisterForm as ɵg, AccountValidatorService as ɵh, RegisterModal as ɵi, UserSettingsValidatorService as ɵj, LocalSettingsValidatorService as ɵk, AppIconComponent as ɵl };
25308
+ 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, CellValueChangeListener, ChipsTestPage, Color, ColorScale, ComponentDirtyGuard, ConfigService, Configuration, CoreModule, 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, DurationPipe, ENTITIES_STORAGE_KEY_PREFIX, ENVIRONMENT, EmptyArrayPipe, EntitiesService, EntitiesStorage, EntitiesTableDataSource, Entity, EntityClass, EntityClasses, EntityFilter, EntityFilterUtils, EntityMetadataComponent, EntityStore, EntityUtils, Environment, ErrorCodes, EvenPipe, FileService, FileSizePipe, FormArrayHelper, FormButtonsBarComponent, FormButtonsBarToken, 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, MatBooleanField, MatChipsField, MatDate, MatDateShort, MatDateTime, MatDuration, MatLatLongField, MatNumpadComponent, MatNumpadContainerComponent, MatNumpadContent, MatPaginatorI18n, MatStepperI18n, MatSwipeField, MaterialChipsModule, MaterialTestingModule, MaterialTestingPage, 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, ReferentialRef, ReferentialUtils, RegisterConfirmPage, SETTINGS_DISPLAY_COLUMNS, SETTINGS_FILTER, SETTINGS_PAGE_SIZE, SETTINGS_SORTED_COLUMN, SETTINGS_STORAGE_KEY, SETTINGS_TRANSIENT_PROPERTIES, SHARED_TESTING_PAGES, SPACE_PLACEHOLDER_CHAR, SelectPeerModal, SettingsPage, SharedDirectivesModule, SharedFormArrayValidators, SharedFormGroupValidators, SharedHotkeysModule, SharedMatAutocompleteModule, SharedMatBooleanModule, SharedMatDateTimeModule, SharedMatDurationModule, SharedMatLatLongModule, SharedMatNumpadModule, SharedMatSwipeModule, SharedMaterialModule, SharedModule, SharedPipesModule, SharedRoutingModule, SharedTestingModule, SharedValidators, SocialModule, Software, StartableService, StatusById, StatusIds, StatusList, StrLengthPipe, SwipeTestPage, TableSelectColumnsComponent, ToStringPipe, Toasts, ToolbarComponent, ToolbarToken, TranslatablePipe, TranslateContextPipe, TranslateContextService, 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, SharedMatBadgeIconModule as ɵc, MatBadgeIconDirective as ɵd, isFocusableElement as ɵe, MatBadgeIconTestPage as ɵf, ToastTestingModule as ɵg, ToastTestingPage as ɵh, RegisterForm as ɵi, AccountValidatorService as ɵj, RegisterModal as ɵk, UserSettingsValidatorService as ɵl, LocalSettingsValidatorService as ɵm, AppIconComponent as ɵn };
25227
25309
  //# sourceMappingURL=sumaris-net.ngx-components.js.map