@sumaris-net/ngx-components 1.22.11-rc14 → 1.22.11-rc15

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.
@@ -1,106 +1,2 @@
1
- var UserEvent_1;
2
- import { __decorate } from "tslib";
3
- import { Entity } from '../../core/services/model/entity.model';
4
- import { fromDateISOString, toDateISOString } from '../../shared/dates';
5
- import { EntityClass } from '../../core/services/model/entity.decorators';
6
- import { EntityFilter } from '../../core/services/model/filter.model';
7
- import { isNil, isNotEmptyArray, isNotNil } from '../../shared/functions';
8
- export const UserEventTypes = {
9
- DEBUG_DATA: 'DEBUG_DATA',
10
- INBOX_MESSAGE: 'INBOX_MESSAGE'
11
- };
12
- // @dynamic
13
- let UserEvent = UserEvent_1 = class UserEvent extends Entity {
14
- constructor() {
15
- super(UserEvent_1.TYPENAME);
16
- }
17
- asObject(opts) {
18
- const target = super.asObject(opts);
19
- target.creationDate = toDateISOString(this.creationDate);
20
- target.readDate = toDateISOString(this.readDate);
21
- // Serialize content
22
- if (typeof target.content === 'object') {
23
- target.content = JSON.stringify(target.content);
24
- }
25
- delete target.avatar;
26
- delete target.avatarIcon;
27
- delete target.icon;
28
- delete target.actions;
29
- return target;
30
- }
31
- fromObject(source) {
32
- Object.assign(this, source); // Copy all properties
33
- super.fromObject(source);
34
- this.creationDate = fromDateISOString(source.creationDate);
35
- this.readDate = fromDateISOString(source.readDate);
36
- try {
37
- // Deserialize content
38
- if (typeof source.content === 'string' && source.content.startsWith('{')) {
39
- this.content = JSON.parse(source.content);
40
- }
41
- // Deserialize content.context
42
- if (this.content && typeof this.content.context === 'string' && this.content.context.startsWith('{')) {
43
- this.content.context = JSON.parse(this.content.context);
44
- }
45
- }
46
- catch (err) {
47
- console.error('Error during UserEvent deserialization', err);
48
- }
49
- }
50
- };
51
- UserEvent = UserEvent_1 = __decorate([
52
- EntityClass({ typename: 'UserEventVO' })
53
- ], UserEvent);
54
- export { UserEvent };
55
- // @dynamic
56
- let UserEventFilter = class UserEventFilter extends EntityFilter {
57
- constructor() {
58
- super(...arguments);
59
- this.types = [];
60
- this.levels = [];
61
- this.issuers = [];
62
- this.recipients = [];
63
- this.startDate = null;
64
- this.excludeRead = false;
65
- }
66
- fromObject(source, opts) {
67
- super.fromObject(source, opts);
68
- this.types = source.types || [];
69
- this.levels = source.levels || [];
70
- this.issuers = source.issuers || [];
71
- this.recipients = source.recipients || [];
72
- this.startDate = fromDateISOString(source.startDate);
73
- this.excludeRead = source.excludeRead || false;
74
- }
75
- buildFilter() {
76
- const filterFns = super.buildFilter();
77
- if (isNotEmptyArray(this.types)) {
78
- filterFns.push(t => this.types.includes(t.type));
79
- }
80
- if (isNotEmptyArray(this.levels)) {
81
- filterFns.push(t => this.levels.includes(t.level));
82
- }
83
- if (isNotEmptyArray(this.issuers)) {
84
- filterFns.push(t => this.issuers.includes(t.issuer));
85
- }
86
- if (isNotEmptyArray(this.recipients)) {
87
- filterFns.push(t => this.recipients.includes(t.recipient));
88
- }
89
- if (isNotNil(this.startDate)) {
90
- filterFns.push(t => this.startDate.isSameOrBefore(t.creationDate));
91
- }
92
- if (this.excludeRead === true) {
93
- filterFns.push(t => isNil(t.readSignature)); // todo or t.signature ?
94
- }
95
- return filterFns;
96
- }
97
- asObject(opts) {
98
- const target = super.asObject(opts);
99
- return target;
100
- }
101
- };
102
- UserEventFilter = __decorate([
103
- EntityClass({ typename: 'UserEventFilterVO' })
104
- ], UserEventFilter);
105
- export { UserEventFilter };
106
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1ldmVudC5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvc29jaWFsL3VzZXItZXZlbnQvdXNlci1ldmVudC5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLE9BQU8sRUFBRSxNQUF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0aW9uIGV4dGVuZHMgSVVzZXJFdmVudEFjdGlvbiB7XG5cbn1cbiJdfQ==
@@ -27308,130 +27308,6 @@ SocialModule.decorators = [
27308
27308
  },] }
27309
27309
  ];
27310
27310
 
27311
- var UserEvent_1;
27312
- const UserEventTypes = {
27313
- DEBUG_DATA: 'DEBUG_DATA',
27314
- INBOX_MESSAGE: 'INBOX_MESSAGE'
27315
- };
27316
- // @dynamic
27317
- let UserEvent = UserEvent_1 = class UserEvent extends Entity {
27318
- constructor() {
27319
- super(UserEvent_1.TYPENAME);
27320
- }
27321
- asObject(opts) {
27322
- const target = super.asObject(opts);
27323
- target.creationDate = toDateISOString(this.creationDate);
27324
- target.readDate = toDateISOString(this.readDate);
27325
- // Serialize content
27326
- if (typeof target.content === 'object') {
27327
- target.content = JSON.stringify(target.content);
27328
- }
27329
- delete target.avatar;
27330
- delete target.avatarIcon;
27331
- delete target.icon;
27332
- delete target.actions;
27333
- return target;
27334
- }
27335
- fromObject(source) {
27336
- Object.assign(this, source); // Copy all properties
27337
- super.fromObject(source);
27338
- this.creationDate = fromDateISOString(source.creationDate);
27339
- this.readDate = fromDateISOString(source.readDate);
27340
- try {
27341
- // Deserialize content
27342
- if (typeof source.content === 'string' && source.content.startsWith('{')) {
27343
- this.content = JSON.parse(source.content);
27344
- }
27345
- // Deserialize content.context
27346
- if (this.content && typeof this.content.context === 'string' && this.content.context.startsWith('{')) {
27347
- this.content.context = JSON.parse(this.content.context);
27348
- }
27349
- }
27350
- catch (err) {
27351
- console.error('Error during UserEvent deserialization', err);
27352
- }
27353
- }
27354
- };
27355
- UserEvent = UserEvent_1 = __decorate([
27356
- EntityClass({ typename: 'UserEventVO' })
27357
- ], UserEvent);
27358
- // @dynamic
27359
- let UserEventFilter = class UserEventFilter extends EntityFilter {
27360
- constructor() {
27361
- super(...arguments);
27362
- this.types = [];
27363
- this.levels = [];
27364
- this.issuers = [];
27365
- this.recipients = [];
27366
- this.startDate = null;
27367
- this.excludeRead = false;
27368
- }
27369
- fromObject(source, opts) {
27370
- super.fromObject(source, opts);
27371
- this.types = source.types || [];
27372
- this.levels = source.levels || [];
27373
- this.issuers = source.issuers || [];
27374
- this.recipients = source.recipients || [];
27375
- this.startDate = fromDateISOString(source.startDate);
27376
- this.excludeRead = source.excludeRead || false;
27377
- }
27378
- buildFilter() {
27379
- const filterFns = super.buildFilter();
27380
- if (isNotEmptyArray(this.types)) {
27381
- filterFns.push(t => this.types.includes(t.type));
27382
- }
27383
- if (isNotEmptyArray(this.levels)) {
27384
- filterFns.push(t => this.levels.includes(t.level));
27385
- }
27386
- if (isNotEmptyArray(this.issuers)) {
27387
- filterFns.push(t => this.issuers.includes(t.issuer));
27388
- }
27389
- if (isNotEmptyArray(this.recipients)) {
27390
- filterFns.push(t => this.recipients.includes(t.recipient));
27391
- }
27392
- if (isNotNil(this.startDate)) {
27393
- filterFns.push(t => this.startDate.isSameOrBefore(t.creationDate));
27394
- }
27395
- if (this.excludeRead === true) {
27396
- filterFns.push(t => isNil(t.readSignature)); // todo or t.signature ?
27397
- }
27398
- return filterFns;
27399
- }
27400
- asObject(opts) {
27401
- const target = super.asObject(opts);
27402
- return target;
27403
- }
27404
- };
27405
- UserEventFilter = __decorate([
27406
- EntityClass({ typename: 'UserEventFilterVO' })
27407
- ], UserEventFilter);
27408
-
27409
- const UserEventFragments = {
27410
- userEvent: gql `fragment UserEventFragment on UserEventVO {
27411
- id
27412
- issuer
27413
- updateDate
27414
- creationDate
27415
- eventType
27416
- recipient
27417
- content
27418
- hash
27419
- signature
27420
- readSignature
27421
- __typename
27422
- }`,
27423
- lightUserEvent: gql `fragment LightUserEventFragment on UserEventVO {
27424
- id
27425
- issuer
27426
- recipient
27427
- updateDate
27428
- creationDate
27429
- eventType
27430
- readSignature
27431
- __typename
27432
- }`
27433
- };
27434
-
27435
27311
  const Mutations = {
27436
27312
  send: gql `mutation SendMessage($data: MessageVOInput){
27437
27313
  done: sendMessage(message: $data)
@@ -29446,6 +29322,100 @@ JobTestingModule.decorators = [
29446
29322
  },] }
29447
29323
  ];
29448
29324
 
29325
+ var UserEventTest_1;
29326
+ // @dynamic
29327
+ let UserEventTest = UserEventTest_1 = class UserEventTest extends Entity {
29328
+ constructor() {
29329
+ super(UserEventTest_1.TYPENAME);
29330
+ }
29331
+ asObject(opts) {
29332
+ const target = super.asObject(opts);
29333
+ target.creationDate = toDateISOString(this.creationDate);
29334
+ target.readDate = toDateISOString(this.readDate);
29335
+ // Serialize content
29336
+ if (typeof target.content === 'object') {
29337
+ target.content = JSON.stringify(target.content);
29338
+ }
29339
+ delete target.avatar;
29340
+ delete target.avatarIcon;
29341
+ delete target.icon;
29342
+ delete target.actions;
29343
+ return target;
29344
+ }
29345
+ fromObject(source) {
29346
+ Object.assign(this, source); // Copy all properties
29347
+ super.fromObject(source);
29348
+ this.creationDate = fromDateISOString(source.creationDate);
29349
+ this.readDate = fromDateISOString(source.readDate);
29350
+ try {
29351
+ // Deserialize content
29352
+ if (typeof source.content === 'string' && source.content.startsWith('{')) {
29353
+ this.content = JSON.parse(source.content);
29354
+ }
29355
+ // Deserialize content.context
29356
+ if (this.content && typeof this.content.context === 'string' && this.content.context.startsWith('{')) {
29357
+ this.content.context = JSON.parse(this.content.context);
29358
+ }
29359
+ }
29360
+ catch (err) {
29361
+ console.error('Error during UserEvent deserialization', err);
29362
+ }
29363
+ }
29364
+ };
29365
+ UserEventTest = UserEventTest_1 = __decorate([
29366
+ EntityClass({ typename: 'UserEventTestVO' })
29367
+ ], UserEventTest);
29368
+ // @dynamic
29369
+ let UserEventTestFilter = class UserEventTestFilter extends EntityFilter {
29370
+ constructor() {
29371
+ super(...arguments);
29372
+ this.types = [];
29373
+ this.levels = [];
29374
+ this.issuers = [];
29375
+ this.recipients = [];
29376
+ this.startDate = null;
29377
+ this.excludeRead = false;
29378
+ }
29379
+ fromObject(source, opts) {
29380
+ super.fromObject(source, opts);
29381
+ this.types = source.types || [];
29382
+ this.levels = source.levels || [];
29383
+ this.issuers = source.issuers || [];
29384
+ this.recipients = source.recipients || [];
29385
+ this.startDate = fromDateISOString(source.startDate);
29386
+ this.excludeRead = source.excludeRead || false;
29387
+ }
29388
+ buildFilter() {
29389
+ const filterFns = super.buildFilter();
29390
+ if (isNotEmptyArray(this.types)) {
29391
+ filterFns.push(t => this.types.includes(t.type));
29392
+ }
29393
+ if (isNotEmptyArray(this.levels)) {
29394
+ filterFns.push(t => this.levels.includes(t.level));
29395
+ }
29396
+ if (isNotEmptyArray(this.issuers)) {
29397
+ filterFns.push(t => this.issuers.includes(t.issuer));
29398
+ }
29399
+ if (isNotEmptyArray(this.recipients)) {
29400
+ filterFns.push(t => this.recipients.includes(t.recipient));
29401
+ }
29402
+ if (isNotNil(this.startDate)) {
29403
+ filterFns.push(t => this.startDate.isSameOrBefore(t.creationDate));
29404
+ }
29405
+ if (this.excludeRead === true) {
29406
+ filterFns.push(t => isNil(t.readSignature)); // todo or t.signature ?
29407
+ }
29408
+ return filterFns;
29409
+ }
29410
+ asObject(opts) {
29411
+ const target = super.asObject(opts);
29412
+ return target;
29413
+ }
29414
+ };
29415
+ UserEventTestFilter = __decorate([
29416
+ EntityClass({ typename: 'UserEventTestFilterVO' })
29417
+ ], UserEventTestFilter);
29418
+
29449
29419
  class UserEventTestService extends AbstractUserEventService {
29450
29420
  constructor(graphql, accountService, network, translate, environment) {
29451
29421
  super(graphql, accountService, network, translate, {
@@ -29464,7 +29434,7 @@ class UserEventTestService extends AbstractUserEventService {
29464
29434
  this.$newUserEvents = new Subject();
29465
29435
  }
29466
29436
  fromObject(source) {
29467
- return UserEvent.fromObject(source);
29437
+ return UserEventTest.fromObject(source);
29468
29438
  }
29469
29439
  add(entity) {
29470
29440
  var _a;
@@ -29606,7 +29576,7 @@ class UserEventTestingPage {
29606
29576
  }
29607
29577
  }
29608
29578
  addNotification() {
29609
- this.userEventService.add(UserEvent.fromObject({
29579
+ this.userEventService.add(UserEventTest.fromObject({
29610
29580
  issuer: 'system',
29611
29581
  recipient: 'me',
29612
29582
  type: 'message',
@@ -29616,7 +29586,7 @@ class UserEventTestingPage {
29616
29586
  }));
29617
29587
  }
29618
29588
  addError() {
29619
- this.userEventService.add(UserEvent.fromObject({
29589
+ this.userEventService.add(UserEventTest.fromObject({
29620
29590
  issuer: 'system',
29621
29591
  recipient: 'me',
29622
29592
  type: 'upload',
@@ -29626,7 +29596,7 @@ class UserEventTestingPage {
29626
29596
  }));
29627
29597
  }
29628
29598
  addWarning() {
29629
- this.userEventService.add(UserEvent.fromObject({
29599
+ this.userEventService.add(UserEventTest.fromObject({
29630
29600
  issuer: 'system',
29631
29601
  recipient: 'me',
29632
29602
  type: 'download',
@@ -29636,7 +29606,7 @@ class UserEventTestingPage {
29636
29606
  }));
29637
29607
  }
29638
29608
  addDebug() {
29639
- this.userEventService.add(UserEvent.fromObject({
29609
+ this.userEventService.add(UserEventTest.fromObject({
29640
29610
  issuer: 'system',
29641
29611
  recipient: 'me',
29642
29612
  type: 'debug',
@@ -29646,7 +29616,7 @@ class UserEventTestingPage {
29646
29616
  }));
29647
29617
  }
29648
29618
  addNotificationWithLink() {
29649
- this.userEventService.add(UserEvent.fromObject({
29619
+ this.userEventService.add(UserEventTest.fromObject({
29650
29620
  issuer: 'system',
29651
29621
  recipient: 'me',
29652
29622
  type: 'message',
@@ -29663,7 +29633,7 @@ class UserEventTestingPage {
29663
29633
  }));
29664
29634
  }
29665
29635
  addNotificationWithAction() {
29666
- this.userEventService.add(UserEvent.fromObject({
29636
+ this.userEventService.add(UserEventTest.fromObject({
29667
29637
  issuer: 'system',
29668
29638
  recipient: 'me',
29669
29639
  type: 'message',
@@ -29735,7 +29705,7 @@ class UserEventTestingPage {
29735
29705
  }
29736
29706
  }
29737
29707
  addNotificationWithDefaultAction() {
29738
- this.userEventService.add(UserEvent.fromObject({
29708
+ this.userEventService.add(UserEventTest.fromObject({
29739
29709
  issuer: 'system',
29740
29710
  recipient: 'me',
29741
29711
  type: 'message',
@@ -29827,5 +29797,5 @@ SocialTestingModule.decorators = [
29827
29797
  * Generated bundle index. Do not edit.
29828
29798
  */
29829
29799
 
29830
- 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_MENU_OPTIONS, APP_TESTING_PAGES, AboutModal, AbstractUserEventService, Account, AccountPage, AccountService, AccountToStringPipe, ActionsColumnComponent, AdminModule, AdminRoutingModule, Alerts, AndroidOsEnvironment, AnimationState, AppEditor, AppEditorOptions, AppEntityEditor, AppEntityEditorModal, AppEntityEditorModalOptions, AppForm, AppFormField, AppFormProvider, AppFormUtils, AppGestureConfig, AppGraphQLModule, AppHelpModal, AppIconComponent, AppIconModule, AppInMemoryTable, AppInstallUpgradeCard, AppListForm, AppLoadingSpinner, AppMenuModule, AppNullForm, AppPropertiesForm, AppTabEditor, AppTabEditorOptions, AppTable, AppTableDataSourceOptions, AppTableUtils, AppUserEventNotificationIcon, AppValidatorService, AppendToInputDirective, ArrayFilterPipe, ArrayFirstPipe, ArrayIncludesPipe, ArrayLengthPipe, ArrayPluckPipe, AudioProvider, AuthForm, AuthGuardService, AuthModal, AutoTitleDirective, AutocompleteTestPage, AutofocusDirective, Base58, BaseEntityService, BaseGraphqlService, BaseGraphqlServiceOptions, BaseReferential, Beans, CORE_CONFIG_OPTIONS, CORE_TESTING_PAGES, CellValueChangeListener, ChipsTestPage, Color, ColorScale, ComponentDirtyGuard, ConfigService, Configuration, CoreModule, CoreTestingModule, CryptoService, CsvUtils, DATE_ISO_PATTERN, DATE_UNIX_MS_TIMESTAMP, DATE_UNIX_TIMESTAMP, DEFAULT_MENU_SHOW_WHEN, 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, FormGetGroupPipe, FormGetPipe, FormGetValuePipe, Fragments$1 as Fragments, GraphqlService, HAMMER_PRESS_TIME, HAMMER_TAP_TIME, HighlightPipe, HomePage, Hotkeys, HotkeysDialogComponent, InMemoryEntitiesService, IsLoginAccountPipe, IsNilOrBlankPipe, IsNotNilOrBlankPipe, IsNotOnFieldModePipe, IsOnFieldModePipe, Job, JobModule, JobProgression, JobProgressionComponent, JobProgressionService, JobProgressionServiceToken, JobProgressionTestService, JobProgressionTestingPage, JobTestingModule, 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, MenuOptions, MenuService, Message, MessageFilter, MessageForm, MessageModal, MessageModule, MessageService, MessageTypeList, MessageTypes, MimeTypes, ModalToolbarComponent, NetworkService, NgInitDirective, NgVarDirective, NotEmptyArrayPipe, NumberFormatPipe, NumpadDirective, OddPipe, PRIORITIZED_AUTHORITIES, PUBKEY_REGEXP, Peer, Person, PersonFilter, PersonFragments, PersonService, PersonToStringPipe, PersonUtils, PersonValidatorService, PlatformService, ProgressBarService, ProgressInterceptor, PropertyFormatPipe, PropertyGetPipe, RESERVED_END_COLUMNS, RESERVED_START_COLUMNS, Referential, ReferentialFilter, ReferentialRef, ReferentialUtils, ReferentialValidatorService, RegisterConfirmPage, ResizableComponent, ResizableDirective, ResizableModule, SETTINGS_DISPLAY_COLUMNS, SETTINGS_FILTER, SETTINGS_PAGE_SIZE, SETTINGS_SORTED_COLUMN, SETTINGS_STORAGE_KEY, SETTINGS_TRANSIENT_PROPERTIES, SHARED_MATERIAL_TESTING_PAGES, SHARED_TESTING_PAGES, SOCIAL_TESTING_PAGES, SPACE_PLACEHOLDER_CHAR, SelectPeerModal, ServerErrorCodes, SettingsPage, SharedAsyncValidators, SharedDirectivesModule, SharedFormArrayValidators, SharedFormGroupValidators, SharedHotkeysModule, SharedMatAutocompleteModule, SharedMatBadgeIconModule, SharedMatBooleanModule, SharedMatChipsModule, SharedMatDateTimeModule, SharedMatDurationModule, SharedMatLatLongModule, SharedMatNumpadModule, SharedMatSwipeModule, SharedMaterialModule, SharedModule, SharedPipesModule, SharedRoutingModule, SharedTestingModule, SharedTestsPage, SharedValidators, SocialErrorCodes, SocialModule, SocialModuleOptionsToken, SocialTestingModule, Software, StartableService, StatusById, StatusIds, StatusList, StrIncludesPipe, StrLengthPipe, SwipeTestPage, TableSelectColumnsComponent, TableTestPage, TableTestingModule, TextForm, TextPopover, TextPopoverTestingModule, TextPopoverTestingPage, ToStringPipe, Toasts, ToolbarComponent, ToolbarToken, TranslatablePipe, TranslateContextPipe, TranslateContextService, USER_EVENT_SERVICE, UploadFile, UploadFileComponent, UploadFilePopover, UploadFileTestingModule, UploadFileTestingPage, UriUtils, UserEvent, UserEventFilter, UserEventFragments, UserEventModule, UserEventTestService, UserEventTestingModule, UserEventTestingPage, UserEventTypes, UserSettings, UsersPage, accountToString, adaptValueToControl, addValueInArray, arrayDistinct, arrayGroupBy, arraySize, asInputElement, canHaveFocus, capitalizeFirstLetter, chainPromises, changeCaseToUnderscore, clearValueInArray, copyEntity2Form, createPromiseEvent, createPromiseEventEmitter, departmentToString, departmentsToString, disableControls, emitPromiseEvent, entityToString, equals, equalsOrNil, escapeRegExp, 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, isBlankString, isControlHasInput, isCordova, isEmptyArray, isIOS, isInputElement, isInstanceOf, isInt, isMobile, isNil, isNilOrBlank, isNilOrNaN, isNotEmptyArray, isNotNil, isNotNilBoolean, isNotNilOrBlank, isNotNilOrNaN, isNotNilString, isNumber, isNumberRange, isProgressEvent, isResponseEvent, isTouchUi, isWindows, joinProperties, joinPropertiesPath, logFormErrors, markAllAsTouched, markAsUntouched, markControlAsTouched, markFormGroupAsTouched, matchMedia, matchUpperCase, mergeLoadResult, mixHex, moment$5 as moment, 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, tz, uncapitalizeFirstLetter, updateValueAndValidity, waitFor, waitForFalse, waitForTrue, waitIdle, waitWhilePending, ɵ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, AppUpdateOfflineModeCard as ɵi, UserEventNotificationList as ɵj, JobProgressionList as ɵk, DateTestPage as ɵl, NumpadTestPage as ɵm, MatBadgeIconTestPage as ɵn, ToastTestingModule as ɵo, ToastTestingPage as ɵp };
29800
+ 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_MENU_OPTIONS, APP_TESTING_PAGES, AboutModal, AbstractUserEventService, Account, AccountPage, AccountService, AccountToStringPipe, ActionsColumnComponent, AdminModule, AdminRoutingModule, Alerts, AndroidOsEnvironment, AnimationState, AppEditor, AppEditorOptions, AppEntityEditor, AppEntityEditorModal, AppEntityEditorModalOptions, AppForm, AppFormField, AppFormProvider, AppFormUtils, AppGestureConfig, AppGraphQLModule, AppHelpModal, AppIconComponent, AppIconModule, AppInMemoryTable, AppInstallUpgradeCard, AppListForm, AppLoadingSpinner, AppMenuModule, AppNullForm, AppPropertiesForm, AppTabEditor, AppTabEditorOptions, AppTable, AppTableDataSourceOptions, AppTableUtils, AppUserEventNotificationIcon, AppValidatorService, AppendToInputDirective, ArrayFilterPipe, ArrayFirstPipe, ArrayIncludesPipe, ArrayLengthPipe, ArrayPluckPipe, AudioProvider, AuthForm, AuthGuardService, AuthModal, AutoTitleDirective, AutocompleteTestPage, AutofocusDirective, Base58, BaseEntityService, BaseGraphqlService, BaseGraphqlServiceOptions, BaseReferential, Beans, CORE_CONFIG_OPTIONS, CORE_TESTING_PAGES, CellValueChangeListener, ChipsTestPage, Color, ColorScale, ComponentDirtyGuard, ConfigService, Configuration, CoreModule, CoreTestingModule, CryptoService, CsvUtils, DATE_ISO_PATTERN, DATE_UNIX_MS_TIMESTAMP, DATE_UNIX_TIMESTAMP, DEFAULT_MENU_SHOW_WHEN, 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, FormGetGroupPipe, FormGetPipe, FormGetValuePipe, Fragments$1 as Fragments, GraphqlService, HAMMER_PRESS_TIME, HAMMER_TAP_TIME, HighlightPipe, HomePage, Hotkeys, HotkeysDialogComponent, InMemoryEntitiesService, IsLoginAccountPipe, IsNilOrBlankPipe, IsNotNilOrBlankPipe, IsNotOnFieldModePipe, IsOnFieldModePipe, Job, JobModule, JobProgression, JobProgressionComponent, JobProgressionService, JobProgressionServiceToken, JobProgressionTestService, JobProgressionTestingPage, JobTestingModule, 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, MenuOptions, MenuService, Message, MessageFilter, MessageForm, MessageModal, MessageModule, MessageService, MessageTypeList, MessageTypes, MimeTypes, ModalToolbarComponent, NetworkService, NgInitDirective, NgVarDirective, NotEmptyArrayPipe, NumberFormatPipe, NumpadDirective, OddPipe, PRIORITIZED_AUTHORITIES, PUBKEY_REGEXP, Peer, Person, PersonFilter, PersonFragments, PersonService, PersonToStringPipe, PersonUtils, PersonValidatorService, PlatformService, ProgressBarService, ProgressInterceptor, PropertyFormatPipe, PropertyGetPipe, RESERVED_END_COLUMNS, RESERVED_START_COLUMNS, Referential, ReferentialFilter, ReferentialRef, ReferentialUtils, ReferentialValidatorService, RegisterConfirmPage, ResizableComponent, ResizableDirective, ResizableModule, SETTINGS_DISPLAY_COLUMNS, SETTINGS_FILTER, SETTINGS_PAGE_SIZE, SETTINGS_SORTED_COLUMN, SETTINGS_STORAGE_KEY, SETTINGS_TRANSIENT_PROPERTIES, SHARED_MATERIAL_TESTING_PAGES, SHARED_TESTING_PAGES, SOCIAL_TESTING_PAGES, SPACE_PLACEHOLDER_CHAR, SelectPeerModal, ServerErrorCodes, SettingsPage, SharedAsyncValidators, SharedDirectivesModule, SharedFormArrayValidators, SharedFormGroupValidators, SharedHotkeysModule, SharedMatAutocompleteModule, SharedMatBadgeIconModule, SharedMatBooleanModule, SharedMatChipsModule, SharedMatDateTimeModule, SharedMatDurationModule, SharedMatLatLongModule, SharedMatNumpadModule, SharedMatSwipeModule, SharedMaterialModule, SharedModule, SharedPipesModule, SharedRoutingModule, SharedTestingModule, SharedTestsPage, SharedValidators, SocialErrorCodes, SocialModule, SocialModuleOptionsToken, SocialTestingModule, Software, StartableService, StatusById, StatusIds, StatusList, StrIncludesPipe, StrLengthPipe, SwipeTestPage, TableSelectColumnsComponent, TableTestPage, TableTestingModule, TextForm, TextPopover, TextPopoverTestingModule, TextPopoverTestingPage, ToStringPipe, Toasts, ToolbarComponent, ToolbarToken, TranslatablePipe, TranslateContextPipe, TranslateContextService, USER_EVENT_SERVICE, UploadFile, UploadFileComponent, UploadFilePopover, UploadFileTestingModule, UploadFileTestingPage, UriUtils, UserEventModule, UserEventTestService, UserEventTestingModule, UserEventTestingPage, UserSettings, UsersPage, accountToString, adaptValueToControl, addValueInArray, arrayDistinct, arrayGroupBy, arraySize, asInputElement, canHaveFocus, capitalizeFirstLetter, chainPromises, changeCaseToUnderscore, clearValueInArray, copyEntity2Form, createPromiseEvent, createPromiseEventEmitter, departmentToString, departmentsToString, disableControls, emitPromiseEvent, entityToString, equals, equalsOrNil, escapeRegExp, 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, isBlankString, isControlHasInput, isCordova, isEmptyArray, isIOS, isInputElement, isInstanceOf, isInt, isMobile, isNil, isNilOrBlank, isNilOrNaN, isNotEmptyArray, isNotNil, isNotNilBoolean, isNotNilOrBlank, isNotNilOrNaN, isNotNilString, isNumber, isNumberRange, isProgressEvent, isResponseEvent, isTouchUi, isWindows, joinProperties, joinPropertiesPath, logFormErrors, markAllAsTouched, markAsUntouched, markControlAsTouched, markFormGroupAsTouched, matchMedia, matchUpperCase, mergeLoadResult, mixHex, moment$5 as moment, 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, tz, uncapitalizeFirstLetter, updateValueAndValidity, waitFor, waitForFalse, waitForTrue, waitIdle, waitWhilePending, ɵ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, AppUpdateOfflineModeCard as ɵi, UserEventNotificationList as ɵj, JobProgressionList as ɵk, DateTestPage as ɵl, NumpadTestPage as ɵm, MatBadgeIconTestPage as ɵn, ToastTestingModule as ɵo, ToastTestingPage as ɵp };
29831
29801
  //# sourceMappingURL=sumaris-net.ngx-components.js.map