@sumaris-net/ngx-components 1.8.2 → 1.9.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.
- package/bundles/sumaris-net.ngx-components.umd.js +134 -97
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +2 -2
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/doc/changelog.md +4 -0
- package/esm2015/public_api.js +2 -1
- package/esm2015/src/app/core/home/home.js +2 -2
- package/esm2015/src/app/core/services/local-settings.service.js +18 -14
- package/esm2015/src/app/core/services/model/settings.model.js +1 -1
- package/esm2015/src/app/core/services/platform.service.js +35 -31
- package/esm2015/src/app/shared/directives/autofocus.directive.js +15 -24
- package/esm2015/src/app/shared/platforms.js +36 -0
- package/fesm2015/sumaris-net.ngx-components.js +99 -67
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
- package/src/app/core/services/local-settings.service.d.ts +0 -2
- package/src/app/core/services/model/settings.model.d.ts +0 -1
- package/src/app/core/services/platform.service.d.ts +8 -5
- package/src/app/shared/directives/autofocus.directive.d.ts +4 -5
- package/src/app/shared/platforms.d.ts +13 -0
- package/sumaris-net.ngx-components.metadata.json +1 -1
|
@@ -992,7 +992,7 @@ class MatAutocompleteConfigHolder {
|
|
|
992
992
|
}
|
|
993
993
|
}
|
|
994
994
|
const noop$8 = (_) => { };
|
|
995
|
-
const ɵ0$
|
|
995
|
+
const ɵ0$c = noop$8;
|
|
996
996
|
class MatAutocompleteField {
|
|
997
997
|
constructor(cd, formGroupDir) {
|
|
998
998
|
this.cd = cd;
|
|
@@ -3918,26 +3918,56 @@ SharedPipesModule.decorators = [
|
|
|
3918
3918
|
},] }
|
|
3919
3919
|
];
|
|
3920
3920
|
|
|
3921
|
+
/* ---
|
|
3922
|
+
* Source: https://github.com/ionic-team/ionic-framework/blob/b0d53ca73619585671d8cf4dc24e47f826495a0a/core/src/utils/platform.ts
|
|
3923
|
+
* --- */
|
|
3924
|
+
const matchMedia = (win, query) => win.matchMedia(query).matches;
|
|
3925
|
+
const testUserAgent = (win, expr) => {
|
|
3926
|
+
const userAgent = win.navigator.userAgent || win.navigator.vendor || window.opera;
|
|
3927
|
+
return expr.test(userAgent);
|
|
3928
|
+
};
|
|
3929
|
+
const isWindow = (win) => {
|
|
3930
|
+
const userAgent = win.navigator.userAgent || win.navigator.vendor || window.opera;
|
|
3931
|
+
return /windows/i.test(userAgent);
|
|
3932
|
+
};
|
|
3933
|
+
/**
|
|
3934
|
+
* Detect desktop, by fine cursor. See https://github.com/ionic-team/ionic-framework/issues/19942
|
|
3935
|
+
* @param win
|
|
3936
|
+
*/
|
|
3937
|
+
const isDesktop = (win) => matchMedia(win, '(any-pointer:fine)');
|
|
3938
|
+
const isTouchUi = (win) => matchMedia(win, '(any-pointer:coarse)');
|
|
3939
|
+
const isMobile = (win) => isTouchUi(win) && !isDesktop(win);
|
|
3940
|
+
const isIpad = (win) => {
|
|
3941
|
+
// iOS 12 and below
|
|
3942
|
+
if (testUserAgent(win, /iPad/i)) {
|
|
3943
|
+
return true;
|
|
3944
|
+
}
|
|
3945
|
+
// iOS 13+
|
|
3946
|
+
if (testUserAgent(win, /Macintosh/i) && isMobile(win)) {
|
|
3947
|
+
return true;
|
|
3948
|
+
}
|
|
3949
|
+
return false;
|
|
3950
|
+
};
|
|
3951
|
+
const ɵ0$b = isIpad;
|
|
3952
|
+
const isIOS = (win) => testUserAgent(win, /iPhone|iPod/i) || isIpad(win);
|
|
3953
|
+
const isAndroid = (win) => testUserAgent(win, /android|sink/i);
|
|
3954
|
+
const isCordova = (win) => !!(win['cordova'] || win['phonegap'] || win['PhoneGap']);
|
|
3955
|
+
|
|
3921
3956
|
// Import the core angular services.
|
|
3922
3957
|
// ----------------------------------------------------------------------------------- //
|
|
3923
3958
|
// ----------------------------------------------------------------------------------- //
|
|
3924
3959
|
const BASE_TIMER_DELAY = 100;
|
|
3925
3960
|
class AutofocusDirective {
|
|
3926
3961
|
// I initialize the autofocus directive.
|
|
3927
|
-
constructor(elementRef,
|
|
3962
|
+
constructor(elementRef, keyboard) {
|
|
3928
3963
|
this.keyboard = keyboard;
|
|
3929
|
-
this.
|
|
3930
|
-
this.
|
|
3964
|
+
this._timer = null;
|
|
3965
|
+
this._elementRef = elementRef;
|
|
3931
3966
|
this.shouldFocusElement = '';
|
|
3932
|
-
this.
|
|
3967
|
+
this._timer = null;
|
|
3933
3968
|
this.timerDelay = BASE_TIMER_DELAY;
|
|
3934
|
-
|
|
3935
|
-
this.touchUi = platform.is('mobile') || platform.is('tablet');
|
|
3936
|
-
});
|
|
3969
|
+
this._mobile = isMobile(window);
|
|
3937
3970
|
}
|
|
3938
|
-
// ---
|
|
3939
|
-
// PUBLIC METHODS.
|
|
3940
|
-
// ---
|
|
3941
3971
|
// I get called once after the contents have been fully initialized.
|
|
3942
3972
|
ngAfterContentInit() {
|
|
3943
3973
|
// Because this directive can act on the stand-only "autofocus" attribute or
|
|
@@ -3972,29 +4002,26 @@ class AutofocusDirective {
|
|
|
3972
4002
|
ngOnDestroy() {
|
|
3973
4003
|
this.stopFocusWorkflow();
|
|
3974
4004
|
}
|
|
3975
|
-
|
|
3976
|
-
// PRIVATE METHODS.
|
|
3977
|
-
// ---
|
|
4005
|
+
/* --- private functions -- */
|
|
3978
4006
|
// I start the timer-based workflow that will focus the current element.
|
|
3979
4007
|
startFocusWorkflow() {
|
|
3980
4008
|
// if touch UI: do NOT focus when keyboard hide
|
|
3981
|
-
if (this.
|
|
4009
|
+
if (this._mobile && this.keyboard && this.keyboard.isVisible === false)
|
|
3982
4010
|
return;
|
|
3983
4011
|
// If there is already a timer running for this element, just let it play out -
|
|
3984
4012
|
// resetting it at this point will only push-out the time at which the focus is
|
|
3985
4013
|
// applied to the element.
|
|
3986
|
-
if (this.
|
|
4014
|
+
if (this._timer)
|
|
3987
4015
|
return;
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
this.
|
|
3991
|
-
this.elementRef.nativeElement.focus();
|
|
4016
|
+
this._timer = setTimeout(() => {
|
|
4017
|
+
this._timer = null;
|
|
4018
|
+
this._elementRef.nativeElement.focus();
|
|
3992
4019
|
}, this.timerDelay);
|
|
3993
4020
|
}
|
|
3994
4021
|
// I stop the timer-based workflow, preventing focus from taking place.
|
|
3995
4022
|
stopFocusWorkflow() {
|
|
3996
|
-
clearTimeout(this.
|
|
3997
|
-
this.
|
|
4023
|
+
clearTimeout(this._timer);
|
|
4024
|
+
this._timer = null;
|
|
3998
4025
|
}
|
|
3999
4026
|
}
|
|
4000
4027
|
AutofocusDirective.decorators = [
|
|
@@ -4008,7 +4035,6 @@ AutofocusDirective.decorators = [
|
|
|
4008
4035
|
];
|
|
4009
4036
|
AutofocusDirective.ctorParameters = () => [
|
|
4010
4037
|
{ type: ElementRef },
|
|
4011
|
-
{ type: Platform },
|
|
4012
4038
|
{ type: Keyboard, decorators: [{ type: Optional }] }
|
|
4013
4039
|
];
|
|
4014
4040
|
|
|
@@ -9980,7 +10006,7 @@ SelectPeerModal.propDecorators = {
|
|
|
9980
10006
|
|
|
9981
10007
|
const moment$3 = momentImported;
|
|
9982
10008
|
const SETTINGS_STORAGE_KEY = 'settings';
|
|
9983
|
-
const SETTINGS_TRANSIENT_PROPERTIES = ['mobile', 'touchUi'];
|
|
10009
|
+
const SETTINGS_TRANSIENT_PROPERTIES = ['mobile', 'touchUi' /*deprecated*/];
|
|
9984
10010
|
// fixme: this constant points to static environment
|
|
9985
10011
|
const DEFAULT_SETTINGS = {
|
|
9986
10012
|
accountInheritance: true,
|
|
@@ -10016,29 +10042,32 @@ class LocalSettingsService extends StartableService {
|
|
|
10016
10042
|
return this._data && this._data.latLongFormat || 'DDMM';
|
|
10017
10043
|
}
|
|
10018
10044
|
get usageMode() {
|
|
10019
|
-
|
|
10045
|
+
var _a;
|
|
10046
|
+
if (isNil((_a = this._data) === null || _a === void 0 ? void 0 : _a.mobile)) {
|
|
10047
|
+
console.warn("[settings] Accessing to property 'usageMode' BEFORE service started! Please use ready()");
|
|
10048
|
+
return isCordova(window) ? 'FIELD' : 'DESK';
|
|
10049
|
+
}
|
|
10050
|
+
return this._data.usageMode;
|
|
10020
10051
|
}
|
|
10021
10052
|
get mobile() {
|
|
10022
|
-
|
|
10053
|
+
var _a;
|
|
10054
|
+
if (isNil((_a = this._data) === null || _a === void 0 ? void 0 : _a.mobile)) {
|
|
10055
|
+
console.warn("[settings] Accessing to property 'mobile' BEFORE service started! Please use ready()");
|
|
10056
|
+
return isMobile(window);
|
|
10057
|
+
}
|
|
10058
|
+
return this._data.mobile;
|
|
10023
10059
|
}
|
|
10024
10060
|
set mobile(value) {
|
|
10025
10061
|
this._data.mobile = value;
|
|
10026
10062
|
}
|
|
10027
|
-
get touchUi() {
|
|
10028
|
-
return this._data.touchUi;
|
|
10029
|
-
}
|
|
10030
|
-
set touchUi(value) {
|
|
10031
|
-
this._data.touchUi = value;
|
|
10032
|
-
}
|
|
10033
10063
|
get pageHistory() {
|
|
10034
10064
|
return (this._data && this._data.pageHistory || []);
|
|
10035
10065
|
}
|
|
10036
10066
|
ngOnStart() {
|
|
10037
10067
|
console.info('[settings] Starting service...');
|
|
10038
10068
|
// Restoring local settings
|
|
10039
|
-
this._data.mobile =
|
|
10040
|
-
this._data.
|
|
10041
|
-
this._data.usageMode = this.platform.is('android') || this.platform.is('ios') ? 'FIELD' : 'DESK'; // FIELD by default if Android or iOs
|
|
10069
|
+
this._data.mobile = isNotNil(this._data.mobile) ? this._data.mobile : isMobile(window);
|
|
10070
|
+
this._data.usageMode = (isAndroid(window) || isIOS(window)) ? 'FIELD' : 'DESK'; // FIELD by default if Android or iOS
|
|
10042
10071
|
// Restoring local settings
|
|
10043
10072
|
return this.restoreLocally();
|
|
10044
10073
|
}
|
|
@@ -15136,24 +15165,39 @@ class PlatformService extends StartableService {
|
|
|
15136
15165
|
if (this._debug)
|
|
15137
15166
|
console.debug('[platform] Creating service');
|
|
15138
15167
|
}
|
|
15139
|
-
get mobile() {
|
|
15140
|
-
return isNotNil(this._mobile) ? this._mobile : this.platform.is('mobile');
|
|
15141
|
-
}
|
|
15142
15168
|
is(platformName) {
|
|
15143
|
-
|
|
15169
|
+
switch (platformName) {
|
|
15170
|
+
case 'mobile':
|
|
15171
|
+
// Use custom mobile detection - see SUMARIS issue #323
|
|
15172
|
+
return isMobile(window);
|
|
15173
|
+
default:
|
|
15174
|
+
return this.platform.is(platformName);
|
|
15175
|
+
}
|
|
15176
|
+
}
|
|
15177
|
+
get mobile() {
|
|
15178
|
+
return isNotNil(this._mobile) ? this._mobile : isMobile(window);
|
|
15144
15179
|
}
|
|
15145
15180
|
/**
|
|
15146
|
-
* Say if opened has been opened
|
|
15181
|
+
* Say if opened has been opened inside an Android or iOs App.
|
|
15147
15182
|
* This is used to known if there is cordova features
|
|
15148
15183
|
*/
|
|
15149
|
-
|
|
15150
|
-
return
|
|
15184
|
+
isCordova() {
|
|
15185
|
+
return this._cordova;
|
|
15151
15186
|
}
|
|
15152
15187
|
isAndroidCordova() {
|
|
15153
15188
|
return this._android && this._cordova || false;
|
|
15154
15189
|
}
|
|
15190
|
+
isIOSCordova() {
|
|
15191
|
+
return this._ios && this._cordova || false;
|
|
15192
|
+
}
|
|
15193
|
+
isWeb() {
|
|
15194
|
+
return !this._cordova || (!this._android && !this._ios);
|
|
15195
|
+
}
|
|
15196
|
+
isApp() {
|
|
15197
|
+
return this._cordova && (this._android || this._ios);
|
|
15198
|
+
}
|
|
15155
15199
|
get canDownload() {
|
|
15156
|
-
return this.
|
|
15200
|
+
return !!this.downloader && this.isAndroidCordova();
|
|
15157
15201
|
}
|
|
15158
15202
|
get canOpenFile() {
|
|
15159
15203
|
return false;
|
|
@@ -15170,16 +15214,13 @@ class PlatformService extends StartableService {
|
|
|
15170
15214
|
this.accountService.tokenType = undefined;
|
|
15171
15215
|
console.info('[platform] Starting platform...');
|
|
15172
15216
|
try {
|
|
15173
|
-
this._mobile = this.
|
|
15174
|
-
this._cordova = this.
|
|
15175
|
-
this._android = this.
|
|
15176
|
-
this.
|
|
15177
|
-
this.
|
|
15178
|
-
// Force
|
|
15179
|
-
|
|
15180
|
-
this.settings.mobile = this._mobile;
|
|
15181
|
-
this.settings.touchUi = this.touchUi;
|
|
15182
|
-
}
|
|
15217
|
+
this._mobile = this.is('mobile');
|
|
15218
|
+
this._cordova = this.is('cordova');
|
|
15219
|
+
this._android = this.is('android');
|
|
15220
|
+
this._ios = this.is('ios');
|
|
15221
|
+
this.configureCordovaPlugins();
|
|
15222
|
+
// Force some settings
|
|
15223
|
+
this.settings.mobile = this._mobile;
|
|
15183
15224
|
// Configure translation
|
|
15184
15225
|
yield this.configureTranslate();
|
|
15185
15226
|
// Configure storage
|
|
@@ -15193,7 +15234,7 @@ class PlatformService extends StartableService {
|
|
|
15193
15234
|
this.networkService.ready(),
|
|
15194
15235
|
this.audioProvider.ready()
|
|
15195
15236
|
]);
|
|
15196
|
-
console.info(`[platform] Starting platform [OK] {mobile: ${this._mobile},
|
|
15237
|
+
console.info(`[platform] Starting platform [OK] {mobile: ${this._mobile}, downloader: ${this.canDownload}, fileOpener: ${this.canOpenFile}} in ${Date.now() - now}ms`);
|
|
15197
15238
|
// Update cache configuration when network changed
|
|
15198
15239
|
this.networkService.onNetworkStatusChanges
|
|
15199
15240
|
.pipe(skip(1)) // Skip the first event (behavior subject send event immediately)
|
|
@@ -15205,7 +15246,7 @@ class PlatformService extends StartableService {
|
|
|
15205
15246
|
console.info(`[platform] Using auth token type {${tokenType}}`);
|
|
15206
15247
|
this.accountService.tokenType = tokenType;
|
|
15207
15248
|
});
|
|
15208
|
-
// Hide the splashscreen (if mobile) - after 1s
|
|
15249
|
+
// Hide the splashscreen (if mobile) - after 1s - and play start sound
|
|
15209
15250
|
if (this.mobile) {
|
|
15210
15251
|
setTimeout(() => {
|
|
15211
15252
|
var _a;
|
|
@@ -15280,7 +15321,7 @@ class PlatformService extends StartableService {
|
|
|
15280
15321
|
//}
|
|
15281
15322
|
}
|
|
15282
15323
|
/* -- protected methods -- */
|
|
15283
|
-
configureCordovaPlugins(
|
|
15324
|
+
configureCordovaPlugins() {
|
|
15284
15325
|
console.info('[platform] Configuring Cordova plugins...');
|
|
15285
15326
|
if (this.statusBar) {
|
|
15286
15327
|
this.statusBar.styleDefault();
|
|
@@ -15289,15 +15330,6 @@ class PlatformService extends StartableService {
|
|
|
15289
15330
|
if (this.keyboard) {
|
|
15290
15331
|
this.keyboard.hideFormAccessoryBar(true);
|
|
15291
15332
|
}
|
|
15292
|
-
// Force to use InAppBrowser instead of default window.open()
|
|
15293
|
-
if (this.browser) {
|
|
15294
|
-
// FIXME: this create a infinite loop (e.g. when downloading an extraction file)
|
|
15295
|
-
// window.open = (url?: string, target?: string, features?: string, replace?: boolean) => {
|
|
15296
|
-
// console.debug("[platform] Call to window.open() redirected to InAppBrowser.open()");
|
|
15297
|
-
// this.browser.create(url, target, features).show();
|
|
15298
|
-
// return window;
|
|
15299
|
-
// };
|
|
15300
|
-
}
|
|
15301
15333
|
}
|
|
15302
15334
|
configureTranslate() {
|
|
15303
15335
|
console.info('[platform] Configuring i18n ...');
|
|
@@ -18017,7 +18049,7 @@ class HomePage {
|
|
|
18017
18049
|
this.appName = config.label || this.environment.defaultAppName || 'SUMARiS';
|
|
18018
18050
|
this.logo = config.largeLogo || config.smallLogo || undefined;
|
|
18019
18051
|
this.description = config.name;
|
|
18020
|
-
this.isWeb = this.platform.
|
|
18052
|
+
this.isWeb = this.platform.isWeb();
|
|
18021
18053
|
this.canRegister = config.getPropertyAsBoolean(CORE_CONFIG_OPTIONS.REGISTRATION_ENABLE);
|
|
18022
18054
|
const partners = (config.partners || []).filter(p => p && p.logo);
|
|
18023
18055
|
this.$partners.next(partners);
|
|
@@ -25143,5 +25175,5 @@ const ErrorCodes = {
|
|
|
25143
25175
|
* Generated bundle index. Do not edit.
|
|
25144
25176
|
*/
|
|
25145
25177
|
|
|
25146
|
-
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, isControlHasInput, isEmptyArray, isInputElement, isInstanceOf, isInt, isNil, isNilOrBlank, isNilOrNaN, isNotEmptyArray, isNotNil, isNotNilOrBlank, isNotNilOrNaN, isNotNilString, isNumber, isNumberRange, joinProperties, joinPropertiesPath, logFormErrors, markAllAsTouched, markAsUntouched, markControlAsTouched, markFormGroupAsTouched, 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, toBoolean, toDateISOString, toDuration, toFloat, toInt, toNotNil, toNumber, trimEmptyToNull, uncapitalizeFirstLetter, updateValueAndValidity, waitFor, waitForTrue, waitIdle, waitWhilePending, 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 };
|
|
25178
|
+
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 };
|
|
25147
25179
|
//# sourceMappingURL=sumaris-net.ngx-components.js.map
|