@igo2/core 17.0.1-next.2 → 18.0.0-next.2
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/esm2022/activity/activity.interceptor.mjs +4 -4
- package/esm2022/activity/activity.module.mjs +5 -5
- package/esm2022/activity/activity.service.mjs +4 -4
- package/esm2022/analytics/analytics.service.mjs +4 -4
- package/esm2022/config/config.module.mjs +5 -5
- package/esm2022/config/config.service.mjs +4 -4
- package/esm2022/config/version.mjs +3 -3
- package/esm2022/gesture/gesture.module.mjs +5 -5
- package/esm2022/gesture/gesture.provider.mjs +4 -4
- package/esm2022/language/language.module.mjs +5 -5
- package/esm2022/language/shared/language.service.mjs +4 -4
- package/esm2022/lib/core.module.mjs +7 -40
- package/esm2022/media/media.service.mjs +4 -4
- package/esm2022/message/message.module.mjs +5 -5
- package/esm2022/message/shared/message.service.mjs +4 -4
- package/esm2022/network/network.service.mjs +4 -4
- package/esm2022/regex/regex.service.mjs +4 -4
- package/esm2022/request/error.interceptor.mjs +4 -4
- package/esm2022/request/error.module.mjs +5 -5
- package/esm2022/request/logging.interceptor.mjs +4 -4
- package/esm2022/request/logging.module.mjs +5 -5
- package/esm2022/route/route.service.mjs +4 -4
- package/esm2022/storage/storage.service.mjs +4 -4
- package/fesm2022/igo2-core-activity.mjs +10 -10
- package/fesm2022/igo2-core-activity.mjs.map +1 -1
- package/fesm2022/igo2-core-analytics.mjs +3 -3
- package/fesm2022/igo2-core-analytics.mjs.map +1 -1
- package/fesm2022/igo2-core-config.mjs +9 -9
- package/fesm2022/igo2-core-config.mjs.map +1 -1
- package/fesm2022/igo2-core-gesture.mjs +7 -7
- package/fesm2022/igo2-core-gesture.mjs.map +1 -1
- package/fesm2022/igo2-core-language.mjs +7 -7
- package/fesm2022/igo2-core-language.mjs.map +1 -1
- package/fesm2022/igo2-core-media.mjs +3 -3
- package/fesm2022/igo2-core-media.mjs.map +1 -1
- package/fesm2022/igo2-core-message.mjs +7 -7
- package/fesm2022/igo2-core-message.mjs.map +1 -1
- package/fesm2022/igo2-core-network.mjs +3 -3
- package/fesm2022/igo2-core-network.mjs.map +1 -1
- package/fesm2022/igo2-core-regex.mjs +3 -3
- package/fesm2022/igo2-core-regex.mjs.map +1 -1
- package/fesm2022/igo2-core-request.mjs +14 -14
- package/fesm2022/igo2-core-request.mjs.map +1 -1
- package/fesm2022/igo2-core-route.mjs +3 -3
- package/fesm2022/igo2-core-route.mjs.map +1 -1
- package/fesm2022/igo2-core-storage.mjs +3 -3
- package/fesm2022/igo2-core-storage.mjs.map +1 -1
- package/fesm2022/igo2-core.mjs +6 -39
- package/fesm2022/igo2-core.mjs.map +1 -1
- package/lib/core.module.d.ts +2 -3
- package/package.json +2 -4
- package/theming/prebuilt-themes/blue-theme.css +21 -12
- package/theming/prebuilt-themes/bluedark-theme.css +21 -12
- package/theming/prebuilt-themes/bluedq-theme.css +21 -12
- package/theming/prebuilt-themes/bluegrey-theme.css +21 -12
- package/theming/prebuilt-themes/dark-theme.css +23 -14
- package/theming/prebuilt-themes/deeppurple-theme.css +21 -12
- package/theming/prebuilt-themes/indigo-theme.css +21 -12
- package/theming/prebuilt-themes/orange-theme.css +21 -12
- package/theming/prebuilt-themes/teal-theme.css +21 -12
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"igo2-core-request.mjs","sources":["../../../packages/core/request/src/error.interceptor.ts","../../../packages/core/request/src/error.module.ts","../../../packages/core/request/src/logging.interceptor.ts","../../../packages/core/request/src/logging.module.ts","../../../packages/core/request/src/igo2-core-request.ts"],"sourcesContent":["import {\n HttpErrorResponse,\n HttpEvent,\n HttpHandler,\n HttpInterceptor,\n HttpRequest\n} from '@angular/common/http';\nimport { Injectable } from '@angular/core';\n\nimport { MessageService } from '@igo2/core/message';\n\nimport { Observable, throwError } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ErrorInterceptor implements HttpInterceptor {\n constructor(private messageService: MessageService) {}\n\n intercept(\n originalReq: HttpRequest<any>,\n next: HttpHandler\n ): Observable<HttpEvent<any>> {\n const interceptError = originalReq.headers.get('interceptError');\n const req = originalReq.clone({\n headers: originalReq.headers.delete('interceptError')\n });\n if (interceptError === 'false') {\n return next.handle(req);\n }\n const errorContainer = { httpError: undefined };\n return next.handle(req).pipe(\n catchError((error) => this.handleError(error, errorContainer)),\n finalize(() => {\n const httpError = errorContainer.httpError;\n if (!httpError) {\n return;\n }\n\n if (httpError.error.toDisplay) {\n this.handleCaughtError(httpError);\n } else if (!httpError.error.caught) {\n this.handleUncaughtError(httpError);\n }\n })\n );\n }\n\n private handleError(\n httpError: HttpErrorResponse,\n errorContainer: { httpError: HttpErrorResponse }\n ) {\n if (httpError instanceof HttpErrorResponse) {\n const errorObj = httpError.error === 'object' ? httpError.error : {};\n errorObj.message = httpError.error?.message || httpError.statusText;\n errorObj.caught = false;\n\n httpError = new HttpErrorResponse({\n error: errorObj,\n headers: httpError.headers,\n status: httpError.status,\n statusText: httpError.statusText,\n url: httpError.url\n });\n }\n\n errorContainer.httpError = httpError;\n return throwError(httpError);\n }\n\n private handleCaughtError(httpError: HttpErrorResponse) {\n httpError.error.caught = true;\n this.messageService.error(httpError.error.message, httpError.error.title, {\n progressBar: false\n });\n }\n\n private handleUncaughtError(httpError: HttpErrorResponse) {\n httpError.error.caught = true;\n this.messageService.error(\n 'igo.core.errors.uncaught.message',\n 'igo.core.errors.uncaught.title',\n {\n progressBar: false\n }\n );\n }\n}\n","import { HTTP_INTERCEPTORS } from '@angular/common/http';\nimport {\n ModuleWithProviders,\n NgModule,\n Optional,\n SkipSelf\n} from '@angular/core';\n\nimport { ErrorInterceptor } from './error.interceptor';\n\n@NgModule({\n imports: [],\n declarations: [],\n exports: []\n})\nexport class IgoErrorModule {\n static forRoot(): ModuleWithProviders<IgoErrorModule> {\n return {\n ngModule: IgoErrorModule,\n providers: [\n {\n provide: HTTP_INTERCEPTORS,\n useClass: ErrorInterceptor,\n multi: true\n }\n ]\n };\n }\n\n constructor(@Optional() @SkipSelf() parentModule: IgoErrorModule) {\n if (parentModule) {\n throw new Error(\n 'IgoErrorModule is already loaded. Import it in the AppModule only'\n );\n }\n }\n}\n","import {\n HttpEvent,\n HttpHandler,\n HttpInterceptor,\n HttpRequest,\n HttpResponse\n} from '@angular/common/http';\nimport { Injectable } from '@angular/core';\n\nimport { Observable } from 'rxjs';\nimport { finalize, tap } from 'rxjs/operators';\n\n@Injectable()\nexport class LoggingInterceptor implements HttpInterceptor {\n intercept(\n req: HttpRequest<any>,\n next: HttpHandler\n ): Observable<HttpEvent<any>> {\n const started = Date.now();\n let ok: string;\n\n // extend server response observable with logging\n return next.handle(req).pipe(\n tap(\n // Succeeds when there is a response; ignore other events\n (event) => (ok = event instanceof HttpResponse ? 'succeeded' : ''),\n // Operation failed; error is an HttpErrorResponse\n () => (ok = 'failed')\n ),\n // Log when response observable either completes or errors\n finalize(() => {\n const elapsed = Date.now() - started;\n const msg = `${req.method} \"${req.urlWithParams}\"\n ${ok} in ${elapsed} ms.`;\n\n console.log(msg);\n })\n );\n }\n}\n","import { HTTP_INTERCEPTORS } from '@angular/common/http';\nimport { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { LoggingInterceptor } from './logging.interceptor';\n\n@NgModule({\n imports: [],\n declarations: [],\n exports: []\n})\nexport class IgoLoggingModule {\n static forRoot(): ModuleWithProviders<IgoLoggingModule> {\n return {\n ngModule: IgoLoggingModule,\n providers: [\n {\n provide: HTTP_INTERCEPTORS,\n useClass: LoggingInterceptor,\n multi: true\n }\n ]\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;MAiBa,gBAAgB,CAAA;AACP,IAAA,cAAA,CAAA;AAApB,IAAA,WAAA,CAAoB,cAA8B,EAAA;QAA9B,IAAc,CAAA,cAAA,GAAd,cAAc,CAAgB;KAAI;IAEtD,SAAS,CACP,WAA6B,EAC7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,OAAO,IAAI,SAAS,CAAC,UAAU,CAAC;AACpE,YAAA,QAAQ,CAAC,MAAM,GAAG,KAAK,CAAC;YAExB,SAAS,GAAG,IAAI,iBAAiB,CAAC;AAChC,gBAAA,KAAK,EAAE,QAAQ;gBACf,OAAO,EAAE,SAAS,CAAC,OAAO;gBAC1B,MAAM,EAAE,SAAS,CAAC,MAAM;gBACxB,UAAU,EAAE,SAAS,CAAC,UAAU;gBAChC,GAAG,EAAE,SAAS,CAAC,GAAG;AACnB,aAAA,CAAC,CAAC;SACJ;AAED,QAAA,cAAc,CAAC,SAAS,GAAG,SAAS,CAAC;AACrC,QAAA,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;KAC9B;AAEO,IAAA,iBAAiB,CAAC,SAA4B,EAAA;AACpD,QAAA,SAAS,CAAC,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC;AAC9B,QAAA,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE;AACxE,YAAA,WAAW,EAAE,KAAK;AACnB,SAAA,CAAC,CAAC;KACJ;AAEO,IAAA,mBAAmB,CAAC,SAA4B,EAAA;AACtD,QAAA,SAAS,CAAC,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC;QAC9B,IAAI,CAAC,cAAc,CAAC,KAAK,CACvB,kCAAkC,EAClC,gCAAgC,EAChC;AACE,YAAA,WAAW,EAAE,KAAK;AACnB,SAAA,CACF,CAAC;KACH;
|
|
1
|
+
{"version":3,"file":"igo2-core-request.mjs","sources":["../../../packages/core/request/src/error.interceptor.ts","../../../packages/core/request/src/error.module.ts","../../../packages/core/request/src/logging.interceptor.ts","../../../packages/core/request/src/logging.module.ts","../../../packages/core/request/src/igo2-core-request.ts"],"sourcesContent":["import {\n HttpErrorResponse,\n HttpEvent,\n HttpHandler,\n HttpInterceptor,\n HttpRequest\n} from '@angular/common/http';\nimport { Injectable } from '@angular/core';\n\nimport { MessageService } from '@igo2/core/message';\n\nimport { Observable, throwError } from 'rxjs';\nimport { catchError, finalize } from 'rxjs/operators';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ErrorInterceptor implements HttpInterceptor {\n constructor(private messageService: MessageService) {}\n\n intercept(\n originalReq: HttpRequest<any>,\n next: HttpHandler\n ): Observable<HttpEvent<any>> {\n const interceptError = originalReq.headers.get('interceptError');\n const req = originalReq.clone({\n headers: originalReq.headers.delete('interceptError')\n });\n if (interceptError === 'false') {\n return next.handle(req);\n }\n const errorContainer = { httpError: undefined };\n return next.handle(req).pipe(\n catchError((error) => this.handleError(error, errorContainer)),\n finalize(() => {\n const httpError = errorContainer.httpError;\n if (!httpError) {\n return;\n }\n\n if (httpError.error.toDisplay) {\n this.handleCaughtError(httpError);\n } else if (!httpError.error.caught) {\n this.handleUncaughtError(httpError);\n }\n })\n );\n }\n\n private handleError(\n httpError: HttpErrorResponse,\n errorContainer: { httpError: HttpErrorResponse }\n ) {\n if (httpError instanceof HttpErrorResponse) {\n const errorObj = httpError.error === 'object' ? httpError.error : {};\n errorObj.message = httpError.error?.message || httpError.statusText;\n errorObj.caught = false;\n\n httpError = new HttpErrorResponse({\n error: errorObj,\n headers: httpError.headers,\n status: httpError.status,\n statusText: httpError.statusText,\n url: httpError.url\n });\n }\n\n errorContainer.httpError = httpError;\n return throwError(httpError);\n }\n\n private handleCaughtError(httpError: HttpErrorResponse) {\n httpError.error.caught = true;\n this.messageService.error(httpError.error.message, httpError.error.title, {\n progressBar: false\n });\n }\n\n private handleUncaughtError(httpError: HttpErrorResponse) {\n httpError.error.caught = true;\n this.messageService.error(\n 'igo.core.errors.uncaught.message',\n 'igo.core.errors.uncaught.title',\n {\n progressBar: false\n }\n );\n }\n}\n","import { HTTP_INTERCEPTORS } from '@angular/common/http';\nimport {\n ModuleWithProviders,\n NgModule,\n Optional,\n SkipSelf\n} from '@angular/core';\n\nimport { ErrorInterceptor } from './error.interceptor';\n\n@NgModule({\n imports: [],\n declarations: [],\n exports: []\n})\nexport class IgoErrorModule {\n static forRoot(): ModuleWithProviders<IgoErrorModule> {\n return {\n ngModule: IgoErrorModule,\n providers: [\n {\n provide: HTTP_INTERCEPTORS,\n useClass: ErrorInterceptor,\n multi: true\n }\n ]\n };\n }\n\n constructor(@Optional() @SkipSelf() parentModule: IgoErrorModule) {\n if (parentModule) {\n throw new Error(\n 'IgoErrorModule is already loaded. Import it in the AppModule only'\n );\n }\n }\n}\n","import {\n HttpEvent,\n HttpHandler,\n HttpInterceptor,\n HttpRequest,\n HttpResponse\n} from '@angular/common/http';\nimport { Injectable } from '@angular/core';\n\nimport { Observable } from 'rxjs';\nimport { finalize, tap } from 'rxjs/operators';\n\n@Injectable()\nexport class LoggingInterceptor implements HttpInterceptor {\n intercept(\n req: HttpRequest<any>,\n next: HttpHandler\n ): Observable<HttpEvent<any>> {\n const started = Date.now();\n let ok: string;\n\n // extend server response observable with logging\n return next.handle(req).pipe(\n tap(\n // Succeeds when there is a response; ignore other events\n (event) => (ok = event instanceof HttpResponse ? 'succeeded' : ''),\n // Operation failed; error is an HttpErrorResponse\n () => (ok = 'failed')\n ),\n // Log when response observable either completes or errors\n finalize(() => {\n const elapsed = Date.now() - started;\n const msg = `${req.method} \"${req.urlWithParams}\"\n ${ok} in ${elapsed} ms.`;\n\n console.log(msg);\n })\n );\n }\n}\n","import { HTTP_INTERCEPTORS } from '@angular/common/http';\nimport { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { LoggingInterceptor } from './logging.interceptor';\n\n@NgModule({\n imports: [],\n declarations: [],\n exports: []\n})\nexport class IgoLoggingModule {\n static forRoot(): ModuleWithProviders<IgoLoggingModule> {\n return {\n ngModule: IgoLoggingModule,\n providers: [\n {\n provide: HTTP_INTERCEPTORS,\n useClass: LoggingInterceptor,\n multi: true\n }\n ]\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;MAiBa,gBAAg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AA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;yGAAhB,gBAAgB,EAAA,CAAA,CAAA;yGAAhB,gBAAgB,EAAA,CAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE,EAAE;AACZ,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
|
|
@@ -58,10 +58,10 @@ class RouteService {
|
|
|
58
58
|
}
|
|
59
59
|
return this.route.queryParams;
|
|
60
60
|
}
|
|
61
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
62
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
61
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: RouteService, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: ROUTE_SERVICE_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
62
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: RouteService, providedIn: 'root' });
|
|
63
63
|
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: RouteService, decorators: [{
|
|
65
65
|
type: Injectable,
|
|
66
66
|
args: [{
|
|
67
67
|
providedIn: 'root'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"igo2-core-route.mjs","sources":["../../../packages/core/route/src/route.service.ts","../../../packages/core/route/src/igo2-core-route.ts"],"sourcesContent":["import { Inject, Injectable, InjectionToken, Optional } from '@angular/core';\nimport { ActivatedRoute, Params, Router } from '@angular/router';\n\nimport { Observable } from 'rxjs';\n\nimport { RouteServiceOptions } from './route.interface';\n\nexport const ROUTE_SERVICE_OPTIONS = new InjectionToken<RouteServiceOptions>(\n 'routeServiceOptions'\n);\n\nexport function provideRouteServiceOptions(options: RouteServiceOptions) {\n return {\n provide: ROUTE_SERVICE_OPTIONS,\n useValue: options\n };\n}\n\n@Injectable({\n providedIn: 'root'\n})\nexport class RouteService {\n public options: RouteServiceOptions;\n\n constructor(\n private router: Router,\n public route: ActivatedRoute,\n @Inject(ROUTE_SERVICE_OPTIONS)\n @Optional()\n options: RouteServiceOptions\n ) {\n const defaultOptions = {\n centerKey: 'center',\n zoomKey: 'zoom',\n projectionKey: 'projection',\n contextKey: 'context',\n searchKey: 'search',\n visibleOnLayersKey: 'visiblelayers',\n visibleOffLayersKey: 'invisiblelayers',\n directionsCoordKey: 'routing',\n directionsOptionsKey: 'routingOptions',\n toolKey: 'tool',\n wmsUrlKey: 'wmsUrl',\n wmsLayersKey: 'wmsLayers',\n wmtsUrlKey: 'wmtsUrl',\n wmtsLayersKey: 'wmtsLayers',\n arcgisUrlKey: 'arcgisUrl',\n arcgisLayersKey: 'arcgisLayers',\n iarcgisUrlKey: 'iarcgisUrl',\n iarcgisLayersKey: 'iarcgisLayers',\n tarcgisUrlKey: 'tarcgisUrl',\n tarcgisLayersKey: 'tarcgisLayers',\n vectorKey: 'vector'\n };\n this.options = Object.assign({}, defaultOptions, options);\n }\n\n get queryParams(): Observable<Params> {\n let url = decodeURIComponent(location.search);\n if (url.includes('¢er=')) {\n url = url.replace('¢er', '¢er');\n const queryParams: any = url\n .slice(1)\n .split('&')\n .map((p) => p.split('='))\n .reduce((obj, pair) => {\n const [key, value] = pair.map(decodeURIComponent);\n obj[key] = value;\n return obj;\n }, {});\n this.router.navigate([], { queryParams });\n }\n return this.route.queryParams;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings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AAC,CAAC;KAC3D;AAED,IAAA,IAAI,WAAW,GAAA;QACb,IAAI,GAAG,GAAG,kBAAkB,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;AAC9C,QAAA,IAAI,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE;YACxB,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;YACpC,MAAM,WAAW,GAAQ,GAAG;iBACzB,KAAK,CAAC,CAAC,CAAC;iBACR,KAAK,CAAC,GAAG,CAAC;AACV,iBAAA,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AACxB,iBAAA,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,KAAI;AACpB,gBAAA,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;AAClD,gBAAA,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AACjB,gBAAA,OAAO,GAAG,CAAC;aACZ,EAAE,EAAE,CAAC,CAAC;YACT,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC;SAC3C;AACD,QAAA,OAAO,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC;KAC/B;AApDU,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,
|
|
1
|
+
{"version":3,"file":"igo2-core-route.mjs","sources":["../../../packages/core/route/src/route.service.ts","../../../packages/core/route/src/igo2-core-route.ts"],"sourcesContent":["import { Inject, Injectable, InjectionToken, Optional } from '@angular/core';\nimport { ActivatedRoute, Params, Router } from '@angular/router';\n\nimport { Observable } from 'rxjs';\n\nimport { RouteServiceOptions } from './route.interface';\n\nexport const ROUTE_SERVICE_OPTIONS = new InjectionToken<RouteServiceOptions>(\n 'routeServiceOptions'\n);\n\nexport function provideRouteServiceOptions(options: RouteServiceOptions) {\n return {\n provide: ROUTE_SERVICE_OPTIONS,\n useValue: options\n };\n}\n\n@Injectable({\n providedIn: 'root'\n})\nexport class RouteService {\n public options: RouteServiceOptions;\n\n constructor(\n private router: Router,\n public route: ActivatedRoute,\n @Inject(ROUTE_SERVICE_OPTIONS)\n @Optional()\n options: RouteServiceOptions\n ) {\n const defaultOptions = {\n centerKey: 'center',\n zoomKey: 'zoom',\n projectionKey: 'projection',\n contextKey: 'context',\n searchKey: 'search',\n visibleOnLayersKey: 'visiblelayers',\n visibleOffLayersKey: 'invisiblelayers',\n directionsCoordKey: 'routing',\n directionsOptionsKey: 'routingOptions',\n toolKey: 'tool',\n wmsUrlKey: 'wmsUrl',\n wmsLayersKey: 'wmsLayers',\n wmtsUrlKey: 'wmtsUrl',\n wmtsLayersKey: 'wmtsLayers',\n arcgisUrlKey: 'arcgisUrl',\n arcgisLayersKey: 'arcgisLayers',\n iarcgisUrlKey: 'iarcgisUrl',\n iarcgisLayersKey: 'iarcgisLayers',\n tarcgisUrlKey: 'tarcgisUrl',\n tarcgisLayersKey: 'tarcgisLayers',\n vectorKey: 'vector'\n };\n this.options = Object.assign({}, defaultOptions, options);\n }\n\n get queryParams(): Observable<Params> {\n let url = decodeURIComponent(location.search);\n if (url.includes('¢er=')) {\n url = url.replace('¢er', '¢er');\n const queryParams: any = url\n .slice(1)\n .split('&')\n .map((p) => p.split('='))\n .reduce((obj, pair) => {\n const [key, value] = pair.map(decodeURIComponent);\n obj[key] = value;\n return obj;\n }, {});\n this.router.navigate([], { queryParams });\n }\n return this.route.queryParams;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;MAOa,qBAAqB,GAAG,IAAI,cAAc,CACrD,qBAAqB,EACrB;AAEI,SAAU,0BAA0B,CAAC,OAA4B,EAAA;IACrE,OAAO;AACL,QAAA,OAAO,EAAE,qBAAq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,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;0BAOI,MAAM;2BAAC,qBAAqB,CAAA;;0BAC5B,QAAQ;;;AC5Bb;;AAEG;;;;"}
|
|
@@ -96,10 +96,10 @@ class StorageService extends BaseStorage {
|
|
|
96
96
|
super(config);
|
|
97
97
|
this.config = config;
|
|
98
98
|
}
|
|
99
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
100
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
99
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: StorageService, deps: [{ token: i1.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
100
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: StorageService, providedIn: 'root' });
|
|
101
101
|
}
|
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: StorageService, decorators: [{
|
|
103
103
|
type: Injectable,
|
|
104
104
|
args: [{
|
|
105
105
|
providedIn: 'root'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"igo2-core-storage.mjs","sources":["../../../packages/core/storage/src/storage.interface.ts","../../../packages/core/storage/src/storage.ts","../../../packages/core/storage/src/storage.service.ts","../../../packages/core/storage/src/igo2-core-storage.ts"],"sourcesContent":["export enum StorageScope {\n SESSION = 'Session',\n LOCAL = 'Local'\n}\n\nexport interface StorageOptions {\n key: string;\n}\n\nexport interface StorageServiceEvent {\n key?: string;\n scope: StorageScope;\n event: StorageServiceEventEnum;\n previousValue?: any;\n currentValue?: any;\n}\n\nexport enum StorageServiceEventEnum {\n ADDED = 'Added',\n MODIFIED = 'Modified',\n REMOVED = 'Removed',\n CLEARED = 'Cleared'\n}\n","import { ConfigService } from '@igo2/core/config';\n\nimport { BehaviorSubject } from 'rxjs';\n\nimport {\n StorageOptions,\n StorageScope,\n StorageServiceEvent,\n StorageServiceEventEnum\n} from './storage.interface';\n\nexport abstract class BaseStorage<T extends StorageOptions = StorageOptions> {\n protected options?: T;\n\n public storageChange$ = new BehaviorSubject<StorageServiceEvent>(undefined);\n\n constructor(config: ConfigService) {\n this.options = config.getConfig<T>('storage') || ({ key: 'igo' } as T);\n }\n\n /**\n * Use to get the data found in storage file\n */\n get(key: string, scope?: StorageScope): string | object | boolean | number {\n let value: any;\n\n if (!scope || scope === StorageScope.SESSION) {\n value = sessionStorage.getItem(`${this.options.key}.${key}`);\n }\n\n if (scope === StorageScope.LOCAL || (!value && !scope)) {\n value = localStorage.getItem(`${this.options.key}.${key}`);\n }\n\n if (value) {\n try {\n return JSON.parse(value);\n } catch {\n return value;\n }\n }\n\n return value;\n }\n\n set(\n key: string,\n value: string | object | boolean | number,\n scope: StorageScope = StorageScope.LOCAL\n ) {\n const previousValue = this.get(key, scope);\n if (scope === StorageScope.SESSION) {\n sessionStorage.setItem(\n `${this.options.key}.${key}`,\n JSON.stringify(value)\n );\n } else {\n localStorage.setItem(`${this.options.key}.${key}`, JSON.stringify(value));\n }\n const currentValue = this.get(key, scope);\n\n if (currentValue !== previousValue) {\n this.storageChange$.next({\n key,\n scope,\n event:\n previousValue !== undefined\n ? StorageServiceEventEnum.MODIFIED\n : StorageServiceEventEnum.ADDED,\n previousValue,\n currentValue\n });\n }\n }\n\n remove(key: string, scope: StorageScope = StorageScope.LOCAL) {\n const previousValue = this.get(key, scope);\n if (scope === StorageScope.SESSION) {\n sessionStorage.removeItem(`${this.options.key}.${key}`);\n } else {\n localStorage.removeItem(`${this.options.key}.${key}`);\n }\n this.storageChange$.next({\n key,\n scope,\n event: StorageServiceEventEnum.REMOVED,\n previousValue\n });\n }\n\n clear(scope: StorageScope = StorageScope.LOCAL) {\n if (scope === StorageScope.SESSION) {\n sessionStorage.clear();\n } else {\n localStorage.clear();\n }\n this.storageChange$.next({ scope, event: StorageServiceEventEnum.CLEARED });\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { ConfigService } from '@igo2/core/config';\n\nimport { BaseStorage } from './storage';\nimport { StorageOptions } from './storage.interface';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class StorageService extends BaseStorage<StorageOptions> {\n constructor(private config: ConfigService) {\n super(config);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;IAAY,aAGX;AAHD,CAAA,UAAY,YAAY,EAAA;AACtB,IAAA,YAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACnB,IAAA,YAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACjB,CAAC,EAHW,YAAY,KAAZ,YAAY,GAGvB,EAAA,CAAA,CAAA,CAAA;IAcW,wBAKX;AALD,CAAA,UAAY,uBAAuB,EAAA;AACjC,IAAA,uBAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,uBAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACrB,IAAA,uBAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACnB,IAAA,uBAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACrB,CAAC,EALW,uBAAuB,KAAvB,uBAAuB,GAKlC,EAAA,CAAA,CAAA;;MCXqB,WAAW,CAAA;AACrB,IAAA,OAAO,CAAK;AAEf,IAAA,cAAc,GAAG,IAAI,eAAe,CAAsB,SAAS,CAAC,CAAC;AAE5E,IAAA,WAAA,CAAY,MAAqB,EAAA;AAC/B,QAAA,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,SAAS,CAAI,SAAS,CAAC,IAAK,EAAE,GAAG,EAAE,KAAK,EAAQ,CAAC;KACxE;AAED;;AAEG;IACH,GAAG,CAAC,G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AC,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,uBAAuB,CAAC,OAAO,EAAE,CAAC,CAAC;KAC7E;AACF;;ACxFK,MAAO,cAAe,SAAQ,WAA2B,CAAA;AACzC,IAAA,MAAA,CAAA;AAApB,IAAA,WAAA,CAAoB,MAAqB,EAAA;QACvC,KAAK,CAAC,MAAM,CAAC,CAAC;QADI,IAAM,CAAA,MAAA,GAAN,MAAM,CAAe;KAExC;
|
|
1
|
+
{"version":3,"file":"igo2-core-storage.mjs","sources":["../../../packages/core/storage/src/storage.interface.ts","../../../packages/core/storage/src/storage.ts","../../../packages/core/storage/src/storage.service.ts","../../../packages/core/storage/src/igo2-core-storage.ts"],"sourcesContent":["export enum StorageScope {\n SESSION = 'Session',\n LOCAL = 'Local'\n}\n\nexport interface StorageOptions {\n key: string;\n}\n\nexport interface StorageServiceEvent {\n key?: string;\n scope: StorageScope;\n event: StorageServiceEventEnum;\n previousValue?: any;\n currentValue?: any;\n}\n\nexport enum StorageServiceEventEnum {\n ADDED = 'Added',\n MODIFIED = 'Modified',\n REMOVED = 'Removed',\n CLEARED = 'Cleared'\n}\n","import { ConfigService } from '@igo2/core/config';\n\nimport { BehaviorSubject } from 'rxjs';\n\nimport {\n StorageOptions,\n StorageScope,\n StorageServiceEvent,\n StorageServiceEventEnum\n} from './storage.interface';\n\nexport abstract class BaseStorage<T extends StorageOptions = StorageOptions> {\n protected options?: T;\n\n public storageChange$ = new BehaviorSubject<StorageServiceEvent>(undefined);\n\n constructor(config: ConfigService) {\n this.options = config.getConfig<T>('storage') || ({ key: 'igo' } as T);\n }\n\n /**\n * Use to get the data found in storage file\n */\n get(key: string, scope?: StorageScope): string | object | boolean | number {\n let value: any;\n\n if (!scope || scope === StorageScope.SESSION) {\n value = sessionStorage.getItem(`${this.options.key}.${key}`);\n }\n\n if (scope === StorageScope.LOCAL || (!value && !scope)) {\n value = localStorage.getItem(`${this.options.key}.${key}`);\n }\n\n if (value) {\n try {\n return JSON.parse(value);\n } catch {\n return value;\n }\n }\n\n return value;\n }\n\n set(\n key: string,\n value: string | object | boolean | number,\n scope: StorageScope = StorageScope.LOCAL\n ) {\n const previousValue = this.get(key, scope);\n if (scope === StorageScope.SESSION) {\n sessionStorage.setItem(\n `${this.options.key}.${key}`,\n JSON.stringify(value)\n );\n } else {\n localStorage.setItem(`${this.options.key}.${key}`, JSON.stringify(value));\n }\n const currentValue = this.get(key, scope);\n\n if (currentValue !== previousValue) {\n this.storageChange$.next({\n key,\n scope,\n event:\n previousValue !== undefined\n ? StorageServiceEventEnum.MODIFIED\n : StorageServiceEventEnum.ADDED,\n previousValue,\n currentValue\n });\n }\n }\n\n remove(key: string, scope: StorageScope = StorageScope.LOCAL) {\n const previousValue = this.get(key, scope);\n if (scope === StorageScope.SESSION) {\n sessionStorage.removeItem(`${this.options.key}.${key}`);\n } else {\n localStorage.removeItem(`${this.options.key}.${key}`);\n }\n this.storageChange$.next({\n key,\n scope,\n event: StorageServiceEventEnum.REMOVED,\n previousValue\n });\n }\n\n clear(scope: StorageScope = StorageScope.LOCAL) {\n if (scope === StorageScope.SESSION) {\n sessionStorage.clear();\n } else {\n localStorage.clear();\n }\n this.storageChange$.next({ scope, event: StorageServiceEventEnum.CLEARED });\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { ConfigService } from '@igo2/core/config';\n\nimport { BaseStorage } from './storage';\nimport { StorageOptions } from './storage.interface';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class StorageService extends BaseStorage<StorageOptions> {\n constructor(private config: ConfigService) {\n super(config);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;IAAY,aAGX;AAHD,CAAA,UAAY,YAAY,EAAA;AACtB,IAAA,YAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACnB,IAAA,YAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACjB,CAAC,EAHW,YAAY,KAAZ,YAAY,GAGv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EAAA,cAAc,cAFb,MAAM,EAAA,CAAA,CAAA;;4FAEP,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
|
package/fesm2022/igo2-core.mjs
CHANGED
|
@@ -9,38 +9,7 @@ import { provideTranslation, IgoLanguageModule } from '@igo2/core/language';
|
|
|
9
9
|
import { provideMessage } from '@igo2/core/message';
|
|
10
10
|
import * as i2 from '@igo2/core/request';
|
|
11
11
|
import { IgoErrorModule } from '@igo2/core/request';
|
|
12
|
-
import * as i3 from 'ngx-indexed-db';
|
|
13
|
-
import { NgxIndexedDBModule } from 'ngx-indexed-db';
|
|
14
12
|
|
|
15
|
-
const dbConfig = {
|
|
16
|
-
name: 'igo2DB',
|
|
17
|
-
version: 2,
|
|
18
|
-
objectStoresMeta: [
|
|
19
|
-
{
|
|
20
|
-
store: 'geoData',
|
|
21
|
-
storeConfig: { keyPath: 'url', autoIncrement: false },
|
|
22
|
-
storeSchema: [
|
|
23
|
-
{ name: 'regionID', keypath: 'regionID', options: { unique: false } }
|
|
24
|
-
]
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
store: 'layerData',
|
|
28
|
-
storeConfig: { keyPath: 'layerId', autoIncrement: false },
|
|
29
|
-
storeSchema: [
|
|
30
|
-
{
|
|
31
|
-
name: 'layerOptions',
|
|
32
|
-
keypath: 'layerOptions',
|
|
33
|
-
options: { unique: false }
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
name: 'sourceOptions',
|
|
37
|
-
keypath: 'sourceOptions',
|
|
38
|
-
options: { unique: false }
|
|
39
|
-
}
|
|
40
|
-
]
|
|
41
|
-
}
|
|
42
|
-
]
|
|
43
|
-
};
|
|
44
13
|
class IgoCoreModule {
|
|
45
14
|
static forRoot(options = {}) {
|
|
46
15
|
return {
|
|
@@ -48,14 +17,13 @@ class IgoCoreModule {
|
|
|
48
17
|
providers: [provideConfig(options), provideTranslation()]
|
|
49
18
|
};
|
|
50
19
|
}
|
|
51
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
52
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.
|
|
53
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.
|
|
20
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: IgoCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
21
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.11", ngImport: i0, type: IgoCoreModule, imports: [CommonModule, i1.IgoActivityModule, i2.IgoErrorModule], exports: [IgoActivityModule, IgoErrorModule, IgoLanguageModule] });
|
|
22
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: IgoCoreModule, providers: [provideMessage(), provideHttpClient(withInterceptorsFromDi())], imports: [CommonModule,
|
|
54
23
|
IgoActivityModule.forRoot(),
|
|
55
|
-
IgoErrorModule.forRoot(),
|
|
56
|
-
NgxIndexedDBModule.forRoot(dbConfig), IgoActivityModule, IgoErrorModule, IgoLanguageModule] });
|
|
24
|
+
IgoErrorModule.forRoot(), IgoActivityModule, IgoErrorModule, IgoLanguageModule] });
|
|
57
25
|
}
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: IgoCoreModule, decorators: [{
|
|
59
27
|
type: NgModule,
|
|
60
28
|
args: [{
|
|
61
29
|
declarations: [],
|
|
@@ -63,8 +31,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
|
|
|
63
31
|
imports: [
|
|
64
32
|
CommonModule,
|
|
65
33
|
IgoActivityModule.forRoot(),
|
|
66
|
-
IgoErrorModule.forRoot()
|
|
67
|
-
NgxIndexedDBModule.forRoot(dbConfig)
|
|
34
|
+
IgoErrorModule.forRoot()
|
|
68
35
|
],
|
|
69
36
|
providers: [provideMessage(), provideHttpClient(withInterceptorsFromDi())]
|
|
70
37
|
}]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"igo2-core.mjs","sources":["../../../packages/core/src/lib/core.module.ts","../../../packages/core/src/public_api.ts","../../../packages/core/src/igo2-core.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport {\n provideHttpClient,\n withInterceptorsFromDi\n} from '@angular/common/http';\nimport { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { IgoActivityModule } from '@igo2/core/activity';\nimport { ConfigOptions, provideConfig } from '@igo2/core/config';\nimport { IgoLanguageModule, provideTranslation } from '@igo2/core/language';\nimport { provideMessage } from '@igo2/core/message';\nimport { IgoErrorModule } from '@igo2/core/request';\n\
|
|
1
|
+
{"version":3,"file":"igo2-core.mjs","sources":["../../../packages/core/src/lib/core.module.ts","../../../packages/core/src/public_api.ts","../../../packages/core/src/igo2-core.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport {\n provideHttpClient,\n withInterceptorsFromDi\n} from '@angular/common/http';\nimport { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { IgoActivityModule } from '@igo2/core/activity';\nimport { ConfigOptions, provideConfig } from '@igo2/core/config';\nimport { IgoLanguageModule, provideTranslation } from '@igo2/core/language';\nimport { provideMessage } from '@igo2/core/message';\nimport { IgoErrorModule } from '@igo2/core/request';\n\n@NgModule({\n declarations: [],\n exports: [IgoActivityModule, IgoErrorModule, IgoLanguageModule],\n imports: [\n CommonModule,\n IgoActivityModule.forRoot(),\n IgoErrorModule.forRoot()\n ],\n providers: [provideMessage(), provideHttpClient(withInterceptorsFromDi())]\n})\nexport class IgoCoreModule {\n static forRoot(\n options: ConfigOptions = {}\n ): ModuleWithProviders<IgoCoreModule> {\n return {\n ngModule: IgoCoreModule,\n providers: [provideConfig(options), provideTranslation()]\n };\n }\n}\n","/*\n * Public API Surface of core\n */\n\nexport * from './lib/core.module';\n\n/** @deprecated */\n// export * from '@igo2/core/language';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;MAuBa,aAAa,CAAA;AACxB,IAAA,OAAO,OAAO,CACZ,OAAA,GAAyB,EAAE,EAAA;QAE3B,OAAO;AACL,YAAA,QAAQ,EAAE,aAAa;YACvB,SAAS,EAAE,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;SAC1D,CAAC;KACH;wGARU,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAb,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,YANtB,YAAY,EAAA,EAAA,CAAA,iBAAA,EAAA,EAAA,CAAA,cAAA,CAAA,EAAA,OAAA,EAAA,CAFJ,iBAAiB,EAAE,cAAc,EAAE,iBAAiB,CAAA,EAAA,CAAA,CAAA;AAQnD,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,EAFb,SAAA,EAAA,CAAC,cAAc,EAAE,EAAE,iBAAiB,CAAC,sBAAsB,EAAE,CAAC,CAAC,EAAA,OAAA,EAAA,CAJxE,YAAY;YACZ,iBAAiB,CAAC,OAAO,EAAE;YAC3B,cAAc,CAAC,OAAO,EAAE,EAJhB,iBAAiB,EAAE,cAAc,EAAE,iBAAiB,CAAA,EAAA,CAAA,CAAA;;4FAQnD,aAAa,EAAA,UAAA,EAAA,CAAA;kBAVzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE,CAAC,iBAAiB,EAAE,cAAc,EAAE,iBAAiB,CAAC;AAC/D,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,iBAAiB,CAAC,OAAO,EAAE;wBAC3B,cAAc,CAAC,OAAO,EAAE;AACzB,qBAAA;oBACD,SAAS,EAAE,CAAC,cAAc,EAAE,EAAE,iBAAiB,CAAC,sBAAsB,EAAE,CAAC,CAAC;AAC3E,iBAAA,CAAA;;;ACtBD;;AAEG;AAIH;AACA;;ACPA;;AAEG;;;;"}
|
package/lib/core.module.d.ts
CHANGED
|
@@ -4,11 +4,10 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
import * as i1 from "@angular/common";
|
|
5
5
|
import * as i2 from "@igo2/core/activity";
|
|
6
6
|
import * as i3 from "@igo2/core/request";
|
|
7
|
-
import * as i4 from "
|
|
8
|
-
import * as i5 from "@igo2/core/language";
|
|
7
|
+
import * as i4 from "@igo2/core/language";
|
|
9
8
|
export declare class IgoCoreModule {
|
|
10
9
|
static forRoot(options?: ConfigOptions): ModuleWithProviders<IgoCoreModule>;
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgoCoreModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoCoreModule, never, [typeof i1.CommonModule, typeof i2.IgoActivityModule, typeof i3.IgoErrorModule
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgoCoreModule, never, [typeof i1.CommonModule, typeof i2.IgoActivityModule, typeof i3.IgoErrorModule], [typeof i2.IgoActivityModule, typeof i3.IgoErrorModule, typeof i4.IgoLanguageModule]>;
|
|
13
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<IgoCoreModule>;
|
|
14
13
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igo2/core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "18.0.0-next.2",
|
|
4
4
|
"description": "IGO Library",
|
|
5
5
|
"author": "IGO Community",
|
|
6
6
|
"keywords": [
|
|
@@ -137,7 +137,6 @@
|
|
|
137
137
|
}
|
|
138
138
|
},
|
|
139
139
|
"dependencies": {
|
|
140
|
-
"@ngx-translate/core": "^15.0.0",
|
|
141
140
|
"tslib": "^2.6.0"
|
|
142
141
|
},
|
|
143
142
|
"peerDependencies": {
|
|
@@ -146,9 +145,8 @@
|
|
|
146
145
|
"@angular/core": "^18.0.0",
|
|
147
146
|
"@angular/platform-browser": "^18.0.0",
|
|
148
147
|
"@angular/router": "^18.0.0",
|
|
149
|
-
"@igo2/utils": "^
|
|
148
|
+
"@igo2/utils": "^18.0.0-next.2",
|
|
150
149
|
"@sentry/angular": "^8.26.0",
|
|
151
|
-
"ngx-indexed-db": "^19.0.0",
|
|
152
150
|
"ngx-toastr": "^19.0.0",
|
|
153
151
|
"@ngx-translate/core": "^15.0.0",
|
|
154
152
|
"@ngx-translate/http-loader": "^8.0.0",
|
|
@@ -631,8 +631,8 @@ html {
|
|
|
631
631
|
--mdc-filled-text-field-caret-color: #1976d2;
|
|
632
632
|
--mdc-filled-text-field-focus-active-indicator-color: #1976d2;
|
|
633
633
|
--mdc-filled-text-field-focus-label-text-color: rgba(25, 118, 210, 0.87);
|
|
634
|
-
--mdc-filled-text-field-container-color:
|
|
635
|
-
--mdc-filled-text-field-disabled-container-color:
|
|
634
|
+
--mdc-filled-text-field-container-color: rgb(244.8, 244.8, 244.8);
|
|
635
|
+
--mdc-filled-text-field-disabled-container-color: rgb(249.9, 249.9, 249.9);
|
|
636
636
|
--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, 0.6);
|
|
637
637
|
--mdc-filled-text-field-hover-label-text-color: rgba(0, 0, 0, 0.6);
|
|
638
638
|
--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, 0.38);
|
|
@@ -851,10 +851,10 @@ html {
|
|
|
851
851
|
|
|
852
852
|
.mat-mdc-standard-chip {
|
|
853
853
|
--mdc-chip-disabled-label-text-color: #212121;
|
|
854
|
-
--mdc-chip-elevated-container-color:
|
|
855
|
-
--mdc-chip-elevated-selected-container-color:
|
|
856
|
-
--mdc-chip-elevated-disabled-container-color:
|
|
857
|
-
--mdc-chip-flat-disabled-selected-container-color:
|
|
854
|
+
--mdc-chip-elevated-container-color: rgb(224.4, 224.4, 224.4);
|
|
855
|
+
--mdc-chip-elevated-selected-container-color: rgb(224.4, 224.4, 224.4);
|
|
856
|
+
--mdc-chip-elevated-disabled-container-color: rgb(224.4, 224.4, 224.4);
|
|
857
|
+
--mdc-chip-flat-disabled-selected-container-color: rgb(224.4, 224.4, 224.4);
|
|
858
858
|
--mdc-chip-focus-state-layer-color: black;
|
|
859
859
|
--mdc-chip-hover-state-layer-color: black;
|
|
860
860
|
--mdc-chip-selected-hover-state-layer-color: black;
|
|
@@ -1081,6 +1081,7 @@ html {
|
|
|
1081
1081
|
--mdc-radio-disabled-selected-icon-color: black;
|
|
1082
1082
|
--mdc-radio-disabled-unselected-icon-color: black;
|
|
1083
1083
|
--mdc-radio-unselected-hover-icon-color: #212121;
|
|
1084
|
+
--mdc-radio-unselected-focus-icon-color: #212121;
|
|
1084
1085
|
--mdc-radio-unselected-icon-color: rgba(0, 0, 0, 0.54);
|
|
1085
1086
|
--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, 0.54);
|
|
1086
1087
|
--mdc-radio-selected-focus-icon-color: #1976d2;
|
|
@@ -1096,6 +1097,7 @@ html {
|
|
|
1096
1097
|
--mdc-radio-disabled-selected-icon-color: black;
|
|
1097
1098
|
--mdc-radio-disabled-unselected-icon-color: black;
|
|
1098
1099
|
--mdc-radio-unselected-hover-icon-color: #212121;
|
|
1100
|
+
--mdc-radio-unselected-focus-icon-color: #212121;
|
|
1099
1101
|
--mdc-radio-unselected-icon-color: rgba(0, 0, 0, 0.54);
|
|
1100
1102
|
--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, 0.54);
|
|
1101
1103
|
--mdc-radio-selected-focus-icon-color: #90caf9;
|
|
@@ -1111,6 +1113,7 @@ html {
|
|
|
1111
1113
|
--mdc-radio-disabled-selected-icon-color: black;
|
|
1112
1114
|
--mdc-radio-disabled-unselected-icon-color: black;
|
|
1113
1115
|
--mdc-radio-unselected-hover-icon-color: #212121;
|
|
1116
|
+
--mdc-radio-unselected-focus-icon-color: #212121;
|
|
1114
1117
|
--mdc-radio-unselected-icon-color: rgba(0, 0, 0, 0.54);
|
|
1115
1118
|
--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, 0.54);
|
|
1116
1119
|
--mdc-radio-selected-focus-icon-color: #f44336;
|
|
@@ -1285,6 +1288,7 @@ html {
|
|
|
1285
1288
|
--mdc-radio-disabled-selected-icon-color: black;
|
|
1286
1289
|
--mdc-radio-disabled-unselected-icon-color: black;
|
|
1287
1290
|
--mdc-radio-unselected-hover-icon-color: #212121;
|
|
1291
|
+
--mdc-radio-unselected-focus-icon-color: #212121;
|
|
1288
1292
|
--mdc-radio-unselected-icon-color: rgba(0, 0, 0, 0.54);
|
|
1289
1293
|
--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, 0.54);
|
|
1290
1294
|
--mdc-radio-selected-focus-icon-color: #1976d2;
|
|
@@ -1298,6 +1302,7 @@ html {
|
|
|
1298
1302
|
--mdc-radio-disabled-selected-icon-color: black;
|
|
1299
1303
|
--mdc-radio-disabled-unselected-icon-color: black;
|
|
1300
1304
|
--mdc-radio-unselected-hover-icon-color: #212121;
|
|
1305
|
+
--mdc-radio-unselected-focus-icon-color: #212121;
|
|
1301
1306
|
--mdc-radio-unselected-icon-color: rgba(0, 0, 0, 0.54);
|
|
1302
1307
|
--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, 0.54);
|
|
1303
1308
|
--mdc-radio-selected-focus-icon-color: #90caf9;
|
|
@@ -1311,6 +1316,7 @@ html {
|
|
|
1311
1316
|
--mdc-radio-disabled-selected-icon-color: black;
|
|
1312
1317
|
--mdc-radio-disabled-unselected-icon-color: black;
|
|
1313
1318
|
--mdc-radio-unselected-hover-icon-color: #212121;
|
|
1319
|
+
--mdc-radio-unselected-focus-icon-color: #212121;
|
|
1314
1320
|
--mdc-radio-unselected-icon-color: rgba(0, 0, 0, 0.54);
|
|
1315
1321
|
--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, 0.54);
|
|
1316
1322
|
--mdc-radio-selected-focus-icon-color: #f44336;
|
|
@@ -2027,10 +2033,13 @@ html {
|
|
|
2027
2033
|
|
|
2028
2034
|
html {
|
|
2029
2035
|
--mat-badge-text-font: Roboto, sans-serif;
|
|
2036
|
+
--mat-badge-line-height: 22px;
|
|
2030
2037
|
--mat-badge-text-size: 12px;
|
|
2031
2038
|
--mat-badge-text-weight: 600;
|
|
2032
2039
|
--mat-badge-small-size-text-size: 9px;
|
|
2040
|
+
--mat-badge-small-size-line-height: 16px;
|
|
2033
2041
|
--mat-badge-large-size-text-size: 24px;
|
|
2042
|
+
--mat-badge-large-size-line-height: 28px;
|
|
2034
2043
|
}
|
|
2035
2044
|
|
|
2036
2045
|
html {
|
|
@@ -2076,7 +2085,7 @@ html {
|
|
|
2076
2085
|
--mat-standard-button-toggle-disabled-state-background-color: white;
|
|
2077
2086
|
--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, 0.87);
|
|
2078
2087
|
--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;
|
|
2079
|
-
--mat-standard-button-toggle-divider-color:
|
|
2088
|
+
--mat-standard-button-toggle-divider-color: rgb(224.4, 224.4, 224.4);
|
|
2080
2089
|
}
|
|
2081
2090
|
|
|
2082
2091
|
html {
|
|
@@ -2114,7 +2123,7 @@ html {
|
|
|
2114
2123
|
--mat-datepicker-calendar-date-in-range-state-background-color: rgba(25, 118, 210, 0.2);
|
|
2115
2124
|
--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, 0.2);
|
|
2116
2125
|
--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;
|
|
2117
|
-
--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color:
|
|
2126
|
+
--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);
|
|
2118
2127
|
--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, 0.54);
|
|
2119
2128
|
--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, 0.54);
|
|
2120
2129
|
--mat-datepicker-calendar-period-button-text-color: black;
|
|
@@ -2145,7 +2154,7 @@ html {
|
|
|
2145
2154
|
--mat-datepicker-calendar-date-in-range-state-background-color: rgba(144, 202, 249, 0.2);
|
|
2146
2155
|
--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, 0.2);
|
|
2147
2156
|
--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;
|
|
2148
|
-
--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color:
|
|
2157
|
+
--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);
|
|
2149
2158
|
}
|
|
2150
2159
|
.mat-datepicker-content.mat-warn {
|
|
2151
2160
|
--mat-datepicker-calendar-date-selected-state-text-color: white;
|
|
@@ -2157,7 +2166,7 @@ html {
|
|
|
2157
2166
|
--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, 0.2);
|
|
2158
2167
|
--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, 0.2);
|
|
2159
2168
|
--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;
|
|
2160
|
-
--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color:
|
|
2169
|
+
--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);
|
|
2161
2170
|
}
|
|
2162
2171
|
|
|
2163
2172
|
.mat-datepicker-toggle-active.mat-accent {
|
|
@@ -2322,7 +2331,7 @@ html {
|
|
|
2322
2331
|
}
|
|
2323
2332
|
|
|
2324
2333
|
html {
|
|
2325
|
-
--mat-sort-arrow-color:
|
|
2334
|
+
--mat-sort-arrow-color: rgb(117.3, 117.3, 117.3);
|
|
2326
2335
|
}
|
|
2327
2336
|
|
|
2328
2337
|
html {
|
|
@@ -2721,7 +2730,7 @@ igo-feature-details > table.igo-striped tbody tr:nth-child(odd) {
|
|
|
2721
2730
|
}
|
|
2722
2731
|
|
|
2723
2732
|
.mat-datetimepicker-clock-cell.mat-datetimepicker-clock-cell-selected {
|
|
2724
|
-
background-color:
|
|
2733
|
+
background-color: rgb(32.0425531915, 130.7808510638, 228.4574468085);
|
|
2725
2734
|
}
|
|
2726
2735
|
|
|
2727
2736
|
igo-ogc-filter-selection mat-button-toggle.mat-button-toggle-checked {
|
|
@@ -631,8 +631,8 @@ html {
|
|
|
631
631
|
--mdc-filled-text-field-caret-color: #164e62;
|
|
632
632
|
--mdc-filled-text-field-focus-active-indicator-color: #164e62;
|
|
633
633
|
--mdc-filled-text-field-focus-label-text-color: rgba(22, 78, 98, 0.87);
|
|
634
|
-
--mdc-filled-text-field-container-color:
|
|
635
|
-
--mdc-filled-text-field-disabled-container-color:
|
|
634
|
+
--mdc-filled-text-field-container-color: rgb(244.8, 244.8, 244.8);
|
|
635
|
+
--mdc-filled-text-field-disabled-container-color: rgb(249.9, 249.9, 249.9);
|
|
636
636
|
--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, 0.6);
|
|
637
637
|
--mdc-filled-text-field-hover-label-text-color: rgba(0, 0, 0, 0.6);
|
|
638
638
|
--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, 0.38);
|
|
@@ -851,10 +851,10 @@ html {
|
|
|
851
851
|
|
|
852
852
|
.mat-mdc-standard-chip {
|
|
853
853
|
--mdc-chip-disabled-label-text-color: #212121;
|
|
854
|
-
--mdc-chip-elevated-container-color:
|
|
855
|
-
--mdc-chip-elevated-selected-container-color:
|
|
856
|
-
--mdc-chip-elevated-disabled-container-color:
|
|
857
|
-
--mdc-chip-flat-disabled-selected-container-color:
|
|
854
|
+
--mdc-chip-elevated-container-color: rgb(224.4, 224.4, 224.4);
|
|
855
|
+
--mdc-chip-elevated-selected-container-color: rgb(224.4, 224.4, 224.4);
|
|
856
|
+
--mdc-chip-elevated-disabled-container-color: rgb(224.4, 224.4, 224.4);
|
|
857
|
+
--mdc-chip-flat-disabled-selected-container-color: rgb(224.4, 224.4, 224.4);
|
|
858
858
|
--mdc-chip-focus-state-layer-color: black;
|
|
859
859
|
--mdc-chip-hover-state-layer-color: black;
|
|
860
860
|
--mdc-chip-selected-hover-state-layer-color: black;
|
|
@@ -1081,6 +1081,7 @@ html {
|
|
|
1081
1081
|
--mdc-radio-disabled-selected-icon-color: black;
|
|
1082
1082
|
--mdc-radio-disabled-unselected-icon-color: black;
|
|
1083
1083
|
--mdc-radio-unselected-hover-icon-color: #212121;
|
|
1084
|
+
--mdc-radio-unselected-focus-icon-color: #212121;
|
|
1084
1085
|
--mdc-radio-unselected-icon-color: rgba(0, 0, 0, 0.54);
|
|
1085
1086
|
--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, 0.54);
|
|
1086
1087
|
--mdc-radio-selected-focus-icon-color: #164e62;
|
|
@@ -1096,6 +1097,7 @@ html {
|
|
|
1096
1097
|
--mdc-radio-disabled-selected-icon-color: black;
|
|
1097
1098
|
--mdc-radio-disabled-unselected-icon-color: black;
|
|
1098
1099
|
--mdc-radio-unselected-hover-icon-color: #212121;
|
|
1100
|
+
--mdc-radio-unselected-focus-icon-color: #212121;
|
|
1099
1101
|
--mdc-radio-unselected-icon-color: rgba(0, 0, 0, 0.54);
|
|
1100
1102
|
--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, 0.54);
|
|
1101
1103
|
--mdc-radio-selected-focus-icon-color: #8ba7b1;
|
|
@@ -1111,6 +1113,7 @@ html {
|
|
|
1111
1113
|
--mdc-radio-disabled-selected-icon-color: black;
|
|
1112
1114
|
--mdc-radio-disabled-unselected-icon-color: black;
|
|
1113
1115
|
--mdc-radio-unselected-hover-icon-color: #212121;
|
|
1116
|
+
--mdc-radio-unselected-focus-icon-color: #212121;
|
|
1114
1117
|
--mdc-radio-unselected-icon-color: rgba(0, 0, 0, 0.54);
|
|
1115
1118
|
--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, 0.54);
|
|
1116
1119
|
--mdc-radio-selected-focus-icon-color: #f44336;
|
|
@@ -1285,6 +1288,7 @@ html {
|
|
|
1285
1288
|
--mdc-radio-disabled-selected-icon-color: black;
|
|
1286
1289
|
--mdc-radio-disabled-unselected-icon-color: black;
|
|
1287
1290
|
--mdc-radio-unselected-hover-icon-color: #212121;
|
|
1291
|
+
--mdc-radio-unselected-focus-icon-color: #212121;
|
|
1288
1292
|
--mdc-radio-unselected-icon-color: rgba(0, 0, 0, 0.54);
|
|
1289
1293
|
--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, 0.54);
|
|
1290
1294
|
--mdc-radio-selected-focus-icon-color: #164e62;
|
|
@@ -1298,6 +1302,7 @@ html {
|
|
|
1298
1302
|
--mdc-radio-disabled-selected-icon-color: black;
|
|
1299
1303
|
--mdc-radio-disabled-unselected-icon-color: black;
|
|
1300
1304
|
--mdc-radio-unselected-hover-icon-color: #212121;
|
|
1305
|
+
--mdc-radio-unselected-focus-icon-color: #212121;
|
|
1301
1306
|
--mdc-radio-unselected-icon-color: rgba(0, 0, 0, 0.54);
|
|
1302
1307
|
--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, 0.54);
|
|
1303
1308
|
--mdc-radio-selected-focus-icon-color: #8ba7b1;
|
|
@@ -1311,6 +1316,7 @@ html {
|
|
|
1311
1316
|
--mdc-radio-disabled-selected-icon-color: black;
|
|
1312
1317
|
--mdc-radio-disabled-unselected-icon-color: black;
|
|
1313
1318
|
--mdc-radio-unselected-hover-icon-color: #212121;
|
|
1319
|
+
--mdc-radio-unselected-focus-icon-color: #212121;
|
|
1314
1320
|
--mdc-radio-unselected-icon-color: rgba(0, 0, 0, 0.54);
|
|
1315
1321
|
--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, 0.54);
|
|
1316
1322
|
--mdc-radio-selected-focus-icon-color: #f44336;
|
|
@@ -2027,10 +2033,13 @@ html {
|
|
|
2027
2033
|
|
|
2028
2034
|
html {
|
|
2029
2035
|
--mat-badge-text-font: Roboto, sans-serif;
|
|
2036
|
+
--mat-badge-line-height: 22px;
|
|
2030
2037
|
--mat-badge-text-size: 12px;
|
|
2031
2038
|
--mat-badge-text-weight: 600;
|
|
2032
2039
|
--mat-badge-small-size-text-size: 9px;
|
|
2040
|
+
--mat-badge-small-size-line-height: 16px;
|
|
2033
2041
|
--mat-badge-large-size-text-size: 24px;
|
|
2042
|
+
--mat-badge-large-size-line-height: 28px;
|
|
2034
2043
|
}
|
|
2035
2044
|
|
|
2036
2045
|
html {
|
|
@@ -2076,7 +2085,7 @@ html {
|
|
|
2076
2085
|
--mat-standard-button-toggle-disabled-state-background-color: white;
|
|
2077
2086
|
--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, 0.87);
|
|
2078
2087
|
--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;
|
|
2079
|
-
--mat-standard-button-toggle-divider-color:
|
|
2088
|
+
--mat-standard-button-toggle-divider-color: rgb(224.4, 224.4, 224.4);
|
|
2080
2089
|
}
|
|
2081
2090
|
|
|
2082
2091
|
html {
|
|
@@ -2114,7 +2123,7 @@ html {
|
|
|
2114
2123
|
--mat-datepicker-calendar-date-in-range-state-background-color: rgba(22, 78, 98, 0.2);
|
|
2115
2124
|
--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, 0.2);
|
|
2116
2125
|
--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;
|
|
2117
|
-
--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color:
|
|
2126
|
+
--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);
|
|
2118
2127
|
--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, 0.54);
|
|
2119
2128
|
--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, 0.54);
|
|
2120
2129
|
--mat-datepicker-calendar-period-button-text-color: black;
|
|
@@ -2145,7 +2154,7 @@ html {
|
|
|
2145
2154
|
--mat-datepicker-calendar-date-in-range-state-background-color: rgba(139, 167, 177, 0.2);
|
|
2146
2155
|
--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, 0.2);
|
|
2147
2156
|
--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;
|
|
2148
|
-
--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color:
|
|
2157
|
+
--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);
|
|
2149
2158
|
}
|
|
2150
2159
|
.mat-datepicker-content.mat-warn {
|
|
2151
2160
|
--mat-datepicker-calendar-date-selected-state-text-color: white;
|
|
@@ -2157,7 +2166,7 @@ html {
|
|
|
2157
2166
|
--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, 0.2);
|
|
2158
2167
|
--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, 0.2);
|
|
2159
2168
|
--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;
|
|
2160
|
-
--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color:
|
|
2169
|
+
--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: rgb(69.5241935484, 163.4758064516, 93.9516129032);
|
|
2161
2170
|
}
|
|
2162
2171
|
|
|
2163
2172
|
.mat-datepicker-toggle-active.mat-accent {
|
|
@@ -2322,7 +2331,7 @@ html {
|
|
|
2322
2331
|
}
|
|
2323
2332
|
|
|
2324
2333
|
html {
|
|
2325
|
-
--mat-sort-arrow-color:
|
|
2334
|
+
--mat-sort-arrow-color: rgb(117.3, 117.3, 117.3);
|
|
2326
2335
|
}
|
|
2327
2336
|
|
|
2328
2337
|
html {
|
|
@@ -2721,7 +2730,7 @@ igo-feature-details > table.igo-striped tbody tr:nth-child(odd) {
|
|
|
2721
2730
|
}
|
|
2722
2731
|
|
|
2723
2732
|
.mat-datetimepicker-clock-cell.mat-datetimepicker-clock-cell-selected {
|
|
2724
|
-
background-color:
|
|
2733
|
+
background-color: rgb(26.675, 94.575, 118.825);
|
|
2725
2734
|
}
|
|
2726
2735
|
|
|
2727
2736
|
igo-ogc-filter-selection mat-button-toggle.mat-button-toggle-checked {
|