@lenne.tech/ng-base 13.1.0 → 13.2.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/base-components/base-components.module.d.ts +12 -0
- package/base-components/components/checkbox/checkbox.component.d.ts +11 -0
- package/base-components/components/input/input.component.d.ts +14 -0
- package/base-components/components/select/select.component.d.ts +19 -0
- package/base-components/components/textarea/textarea.component.d.ts +13 -0
- package/base-components/lenne.tech-ng-base-base-components.d.ts +5 -0
- package/base-components/package.json +10 -0
- package/base-components/public-api.d.ts +8 -0
- package/base-prototype/base-prototype.module.d.ts +12 -0
- package/{src/lib/base/lenne.tech-ng-base-src-lib-base.d.ts → base-prototype/lenne.tech-ng-base-base-prototype.d.ts} +1 -1
- package/base-prototype/package.json +10 -0
- package/base-prototype/pages/login/login.component.d.ts +20 -0
- package/base-prototype/pages/register/register.component.d.ts +20 -0
- package/base-prototype/public-api.d.ts +6 -0
- package/esm2020/base-components/base-components.module.mjs +42 -0
- package/esm2020/base-components/components/checkbox/checkbox.component.mjs +28 -0
- package/esm2020/base-components/components/input/input.component.mjs +36 -0
- package/esm2020/base-components/components/select/select.component.mjs +37 -0
- package/esm2020/base-components/components/textarea/textarea.component.mjs +35 -0
- package/esm2020/base-components/lenne.tech-ng-base-base-components.mjs +5 -0
- package/esm2020/base-components/public-api.mjs +11 -0
- package/esm2020/base-prototype/base-prototype.module.mjs +36 -0
- package/esm2020/base-prototype/lenne.tech-ng-base-base-prototype.mjs +5 -0
- package/esm2020/base-prototype/pages/login/login.component.mjs +39 -0
- package/esm2020/base-prototype/pages/register/register.component.mjs +45 -0
- package/esm2020/base-prototype/public-api.mjs +9 -0
- package/esm2020/lenne.tech-ng-base.mjs +1 -1
- package/esm2020/public-api.mjs +66 -3
- package/esm2020/src/base.module.mjs +101 -0
- package/esm2020/src/classes/basic-user.class.mjs +51 -0
- package/esm2020/src/classes/graphql-enum.class.mjs +9 -0
- package/esm2020/src/classes/graphql-meta.class.mjs +171 -0
- package/esm2020/src/classes/graphql-type.class.mjs +13 -0
- package/esm2020/src/classes/helper.class.mjs +304 -0
- package/esm2020/src/classes/standard.class.mjs +40 -0
- package/esm2020/src/directives/context-menu.directive.mjs +109 -0
- package/esm2020/src/directives/lazy-load.directive.mjs +45 -0
- package/esm2020/src/directives/match-height.directive.mjs +79 -0
- package/esm2020/src/directives/resizable.directive.mjs +90 -0
- package/esm2020/src/enums/comparison-operator.enum.mjs +16 -0
- package/esm2020/src/enums/graphql-request-type.enum.mjs +10 -0
- package/esm2020/src/enums/logical-operator.enum.mjs +10 -0
- package/esm2020/src/enums/sort-order.enum.mjs +6 -0
- package/esm2020/src/factories/apollo-options.factory.mjs +61 -0
- package/esm2020/src/guards/auth.guard.mjs +61 -0
- package/esm2020/src/guards/can-deactivate.guard.mjs +16 -0
- package/esm2020/src/guards/logout.guard.mjs +32 -0
- package/esm2020/src/interfaces/base-module-config.interface.mjs +3 -0
- package/esm2020/src/interfaces/can-component-deactivate.interface.mjs +2 -0
- package/esm2020/src/interfaces/combined-filter-input.interface.mjs +2 -0
- package/esm2020/src/interfaces/field-object.interface.mjs +2 -0
- package/esm2020/src/interfaces/field.interface.mjs +2 -0
- package/esm2020/src/interfaces/filter-input.interface.mjs +2 -0
- package/esm2020/src/interfaces/find-args.interface.mjs +2 -0
- package/esm2020/src/interfaces/graphql-fields-object.interface.mjs +2 -0
- package/esm2020/src/interfaces/graphql-options.interface.mjs +2 -0
- package/esm2020/src/interfaces/graphql-plus-options.interfacen.mjs +2 -0
- package/esm2020/src/interfaces/graphql-type-collection.interface.mjs +2 -0
- package/esm2020/src/interfaces/single-filter-input.interface.mjs +2 -0
- package/esm2020/src/interfaces/sort-input.interface.mjs +2 -0
- package/esm2020/src/pipes/date-ago.pipe.mjs +65 -0
- package/esm2020/src/pipes/ellipses.pipe.mjs +22 -0
- package/esm2020/src/pipes/safe-html.pipe.mjs +21 -0
- package/esm2020/src/services/auth.service.mjs +71 -0
- package/esm2020/src/services/forms.service.mjs +26 -0
- package/esm2020/src/services/fullscreen.service.mjs +51 -0
- package/esm2020/src/services/graphql-meta.service.mjs +123 -0
- package/esm2020/src/services/graphql-plus.service.mjs +84 -0
- package/esm2020/src/services/graphql.service.mjs +441 -0
- package/esm2020/src/services/image.service.mjs +102 -0
- package/esm2020/src/services/loader.service.mjs +29 -0
- package/esm2020/src/services/scroll.service.mjs +179 -0
- package/esm2020/src/services/seo.service.mjs +97 -0
- package/esm2020/src/services/storage.service.mjs +132 -0
- package/esm2020/src/services/theme.service.mjs +43 -0
- package/esm2020/src/services/ws.service.mjs +17 -0
- package/esm2020/src/types/graphql-fields.type.mjs +2 -0
- package/esm2020/src/types/storage.type.mjs +2 -0
- package/esm2020/src/validators/must-match.validator.mjs +22 -0
- package/fesm2015/lenne.tech-ng-base-base-components.mjs +173 -0
- package/fesm2015/lenne.tech-ng-base-base-components.mjs.map +1 -0
- package/fesm2015/lenne.tech-ng-base-base-prototype.mjs +122 -0
- package/fesm2015/lenne.tech-ng-base-base-prototype.mjs.map +1 -0
- package/fesm2015/lenne.tech-ng-base.mjs +213 -77
- package/fesm2015/lenne.tech-ng-base.mjs.map +1 -1
- package/fesm2020/lenne.tech-ng-base-base-components.mjs +171 -0
- package/fesm2020/lenne.tech-ng-base-base-components.mjs.map +1 -0
- package/fesm2020/lenne.tech-ng-base-base-prototype.mjs +120 -0
- package/fesm2020/lenne.tech-ng-base-base-prototype.mjs.map +1 -0
- package/fesm2020/lenne.tech-ng-base.mjs +213 -77
- package/fesm2020/lenne.tech-ng-base.mjs.map +1 -1
- package/package.json +24 -15
- package/public-api.d.ts +54 -1
- package/{lib/base → src}/base.module.d.ts +2 -1
- package/{lib/base → src}/classes/basic-user.class.d.ts +0 -0
- package/{lib/base → src}/classes/graphql-enum.class.d.ts +0 -0
- package/{lib/base → src}/classes/graphql-meta.class.d.ts +0 -0
- package/{lib/base → src}/classes/graphql-type.class.d.ts +0 -0
- package/{lib/base → src}/classes/helper.class.d.ts +1 -0
- package/{lib/base → src}/classes/standard.class.d.ts +0 -0
- package/{lib/base → src}/directives/context-menu.directive.d.ts +0 -0
- package/{lib/base → src}/directives/lazy-load.directive.d.ts +0 -0
- package/{lib/base → src}/directives/match-height.directive.d.ts +0 -0
- package/{lib/base → src}/directives/resizable.directive.d.ts +0 -0
- package/{lib/base → src}/enums/comparison-operator.enum.d.ts +0 -0
- package/{lib/base → src}/enums/graphql-request-type.enum.d.ts +0 -0
- package/{lib/base → src}/enums/logical-operator.enum.d.ts +0 -0
- package/{lib/base → src}/enums/sort-order.enum.d.ts +0 -0
- package/{lib/base → src}/factories/apollo-options.factory.d.ts +0 -0
- package/{lib/base → src}/guards/auth.guard.d.ts +0 -0
- package/{lib/base → src}/guards/can-deactivate.guard.d.ts +0 -0
- package/{lib/base → src}/guards/logout.guard.d.ts +0 -0
- package/{lib/base → src}/interfaces/base-module-config.interface.d.ts +0 -0
- package/{lib/base → src}/interfaces/can-component-deactivate.interface.d.ts +0 -0
- package/{lib/base → src}/interfaces/combined-filter-input.interface.d.ts +0 -0
- package/{lib/base → src}/interfaces/field-object.interface.d.ts +0 -0
- package/{lib/base → src}/interfaces/field.interface.d.ts +0 -0
- package/{lib/base → src}/interfaces/filter-input.interface.d.ts +0 -0
- package/{lib/base → src}/interfaces/find-args.interface.d.ts +0 -0
- package/src/interfaces/graphql-fields-object.interface.d.ts +6 -0
- package/{lib/base → src}/interfaces/graphql-options.interface.d.ts +0 -0
- package/{lib/base → src}/interfaces/graphql-plus-options.interfacen.d.ts +0 -0
- package/{lib/base → src}/interfaces/graphql-type-collection.interface.d.ts +0 -0
- package/{lib/base → src}/interfaces/single-filter-input.interface.d.ts +0 -0
- package/{lib/base → src}/interfaces/sort-input.interface.d.ts +0 -0
- package/src/pipes/date-ago.pipe.d.ts +34 -0
- package/{lib/base → src}/pipes/ellipses.pipe.d.ts +0 -0
- package/{lib/base → src}/pipes/safe-html.pipe.d.ts +0 -0
- package/{lib/base → src}/services/auth.service.d.ts +0 -0
- package/src/services/forms.service.d.ts +8 -0
- package/{lib/base → src}/services/fullscreen.service.d.ts +0 -0
- package/{lib/base → src}/services/graphql-meta.service.d.ts +0 -0
- package/{lib/base → src}/services/graphql-plus.service.d.ts +0 -0
- package/{lib/base → src}/services/graphql.service.d.ts +0 -0
- package/{lib/base → src}/services/image.service.d.ts +0 -0
- package/{lib/base → src}/services/loader.service.d.ts +0 -0
- package/{lib/base → src}/services/scroll.service.d.ts +0 -0
- package/{lib/base → src}/services/seo.service.d.ts +0 -0
- package/{lib/base → src}/services/storage.service.d.ts +0 -0
- package/src/services/theme.service.d.ts +17 -0
- package/{lib/base → src}/services/ws.service.d.ts +0 -0
- package/src/types/graphql-fields.type.d.ts +5 -0
- package/{lib/base → src}/types/storage.type.d.ts +0 -0
- package/{lib/base → src}/validators/must-match.validator.d.ts +2 -2
- package/esm2020/lib/base/base.module.mjs +0 -97
- package/esm2020/lib/base/classes/basic-user.class.mjs +0 -51
- package/esm2020/lib/base/classes/graphql-enum.class.mjs +0 -9
- package/esm2020/lib/base/classes/graphql-meta.class.mjs +0 -171
- package/esm2020/lib/base/classes/graphql-type.class.mjs +0 -13
- package/esm2020/lib/base/classes/helper.class.mjs +0 -295
- package/esm2020/lib/base/classes/standard.class.mjs +0 -40
- package/esm2020/lib/base/directives/context-menu.directive.mjs +0 -109
- package/esm2020/lib/base/directives/lazy-load.directive.mjs +0 -45
- package/esm2020/lib/base/directives/match-height.directive.mjs +0 -79
- package/esm2020/lib/base/directives/resizable.directive.mjs +0 -90
- package/esm2020/lib/base/enums/comparison-operator.enum.mjs +0 -16
- package/esm2020/lib/base/enums/graphql-request-type.enum.mjs +0 -10
- package/esm2020/lib/base/enums/logical-operator.enum.mjs +0 -10
- package/esm2020/lib/base/enums/sort-order.enum.mjs +0 -6
- package/esm2020/lib/base/factories/apollo-options.factory.mjs +0 -61
- package/esm2020/lib/base/guards/auth.guard.mjs +0 -61
- package/esm2020/lib/base/guards/can-deactivate.guard.mjs +0 -16
- package/esm2020/lib/base/guards/logout.guard.mjs +0 -32
- package/esm2020/lib/base/index.mjs +0 -2
- package/esm2020/lib/base/interfaces/base-module-config.interface.mjs +0 -3
- package/esm2020/lib/base/interfaces/can-component-deactivate.interface.mjs +0 -2
- package/esm2020/lib/base/interfaces/combined-filter-input.interface.mjs +0 -2
- package/esm2020/lib/base/interfaces/field-object.interface.mjs +0 -2
- package/esm2020/lib/base/interfaces/field.interface.mjs +0 -2
- package/esm2020/lib/base/interfaces/filter-input.interface.mjs +0 -2
- package/esm2020/lib/base/interfaces/find-args.interface.mjs +0 -2
- package/esm2020/lib/base/interfaces/graphql-options.interface.mjs +0 -2
- package/esm2020/lib/base/interfaces/graphql-plus-options.interfacen.mjs +0 -2
- package/esm2020/lib/base/interfaces/graphql-type-collection.interface.mjs +0 -2
- package/esm2020/lib/base/interfaces/single-filter-input.interface.mjs +0 -2
- package/esm2020/lib/base/interfaces/sort-input.interface.mjs +0 -2
- package/esm2020/lib/base/pipes/ellipses.pipe.mjs +0 -22
- package/esm2020/lib/base/pipes/safe-html.pipe.mjs +0 -21
- package/esm2020/lib/base/public-api.mjs +0 -61
- package/esm2020/lib/base/services/auth.service.mjs +0 -71
- package/esm2020/lib/base/services/fullscreen.service.mjs +0 -51
- package/esm2020/lib/base/services/graphql-meta.service.mjs +0 -123
- package/esm2020/lib/base/services/graphql-plus.service.mjs +0 -84
- package/esm2020/lib/base/services/graphql.service.mjs +0 -441
- package/esm2020/lib/base/services/image.service.mjs +0 -102
- package/esm2020/lib/base/services/loader.service.mjs +0 -29
- package/esm2020/lib/base/services/scroll.service.mjs +0 -179
- package/esm2020/lib/base/services/seo.service.mjs +0 -97
- package/esm2020/lib/base/services/storage.service.mjs +0 -132
- package/esm2020/lib/base/services/ws.service.mjs +0 -17
- package/esm2020/lib/base/types/storage.type.mjs +0 -2
- package/esm2020/lib/base/validators/must-match.validator.mjs +0 -22
- package/esm2020/src/lib/base/base.module.mjs +0 -97
- package/esm2020/src/lib/base/classes/basic-user.class.mjs +0 -51
- package/esm2020/src/lib/base/classes/graphql-enum.class.mjs +0 -9
- package/esm2020/src/lib/base/classes/graphql-meta.class.mjs +0 -171
- package/esm2020/src/lib/base/classes/graphql-type.class.mjs +0 -13
- package/esm2020/src/lib/base/classes/helper.class.mjs +0 -295
- package/esm2020/src/lib/base/classes/standard.class.mjs +0 -40
- package/esm2020/src/lib/base/directives/context-menu.directive.mjs +0 -109
- package/esm2020/src/lib/base/directives/lazy-load.directive.mjs +0 -45
- package/esm2020/src/lib/base/directives/match-height.directive.mjs +0 -79
- package/esm2020/src/lib/base/directives/resizable.directive.mjs +0 -90
- package/esm2020/src/lib/base/enums/comparison-operator.enum.mjs +0 -16
- package/esm2020/src/lib/base/enums/graphql-request-type.enum.mjs +0 -10
- package/esm2020/src/lib/base/enums/logical-operator.enum.mjs +0 -10
- package/esm2020/src/lib/base/enums/sort-order.enum.mjs +0 -6
- package/esm2020/src/lib/base/factories/apollo-options.factory.mjs +0 -61
- package/esm2020/src/lib/base/guards/auth.guard.mjs +0 -61
- package/esm2020/src/lib/base/guards/can-deactivate.guard.mjs +0 -16
- package/esm2020/src/lib/base/guards/logout.guard.mjs +0 -32
- package/esm2020/src/lib/base/interfaces/base-module-config.interface.mjs +0 -3
- package/esm2020/src/lib/base/interfaces/can-component-deactivate.interface.mjs +0 -2
- package/esm2020/src/lib/base/interfaces/combined-filter-input.interface.mjs +0 -2
- package/esm2020/src/lib/base/interfaces/field-object.interface.mjs +0 -2
- package/esm2020/src/lib/base/interfaces/field.interface.mjs +0 -2
- package/esm2020/src/lib/base/interfaces/filter-input.interface.mjs +0 -2
- package/esm2020/src/lib/base/interfaces/find-args.interface.mjs +0 -2
- package/esm2020/src/lib/base/interfaces/graphql-options.interface.mjs +0 -2
- package/esm2020/src/lib/base/interfaces/graphql-plus-options.interfacen.mjs +0 -2
- package/esm2020/src/lib/base/interfaces/graphql-type-collection.interface.mjs +0 -2
- package/esm2020/src/lib/base/interfaces/single-filter-input.interface.mjs +0 -2
- package/esm2020/src/lib/base/interfaces/sort-input.interface.mjs +0 -2
- package/esm2020/src/lib/base/lenne.tech-ng-base-src-lib-base.mjs +0 -5
- package/esm2020/src/lib/base/pipes/ellipses.pipe.mjs +0 -22
- package/esm2020/src/lib/base/pipes/safe-html.pipe.mjs +0 -21
- package/esm2020/src/lib/base/public-api.mjs +0 -61
- package/esm2020/src/lib/base/services/auth.service.mjs +0 -71
- package/esm2020/src/lib/base/services/fullscreen.service.mjs +0 -51
- package/esm2020/src/lib/base/services/graphql-meta.service.mjs +0 -123
- package/esm2020/src/lib/base/services/graphql-plus.service.mjs +0 -84
- package/esm2020/src/lib/base/services/graphql.service.mjs +0 -441
- package/esm2020/src/lib/base/services/image.service.mjs +0 -102
- package/esm2020/src/lib/base/services/loader.service.mjs +0 -29
- package/esm2020/src/lib/base/services/scroll.service.mjs +0 -179
- package/esm2020/src/lib/base/services/seo.service.mjs +0 -97
- package/esm2020/src/lib/base/services/storage.service.mjs +0 -132
- package/esm2020/src/lib/base/services/ws.service.mjs +0 -17
- package/esm2020/src/lib/base/types/storage.type.mjs +0 -2
- package/esm2020/src/lib/base/validators/must-match.validator.mjs +0 -22
- package/fesm2015/lenne.tech-ng-base-src-lib-base.mjs +0 -2470
- package/fesm2015/lenne.tech-ng-base-src-lib-base.mjs.map +0 -1
- package/fesm2020/lenne.tech-ng-base-src-lib-base.mjs +0 -2524
- package/fesm2020/lenne.tech-ng-base-src-lib-base.mjs.map +0 -1
- package/lib/base/index.d.ts +0 -1
- package/lib/base/public-api.d.ts +0 -49
- package/src/lib/base/base.module.d.ts +0 -21
- package/src/lib/base/classes/basic-user.class.d.ts +0 -26
- package/src/lib/base/classes/graphql-enum.class.d.ts +0 -7
- package/src/lib/base/classes/graphql-meta.class.d.ts +0 -46
- package/src/lib/base/classes/graphql-type.class.d.ts +0 -9
- package/src/lib/base/classes/helper.class.d.ts +0 -98
- package/src/lib/base/classes/standard.class.d.ts +0 -32
- package/src/lib/base/directives/context-menu.directive.d.ts +0 -22
- package/src/lib/base/directives/lazy-load.directive.d.ts +0 -17
- package/src/lib/base/directives/match-height.directive.d.ts +0 -19
- package/src/lib/base/directives/resizable.directive.d.ts +0 -26
- package/src/lib/base/enums/comparison-operator.enum.d.ts +0 -14
- package/src/lib/base/enums/graphql-request-type.enum.d.ts +0 -8
- package/src/lib/base/enums/logical-operator.enum.d.ts +0 -8
- package/src/lib/base/enums/sort-order.enum.d.ts +0 -4
- package/src/lib/base/factories/apollo-options.factory.d.ts +0 -18
- package/src/lib/base/guards/auth.guard.d.ts +0 -27
- package/src/lib/base/guards/can-deactivate.guard.d.ts +0 -11
- package/src/lib/base/guards/logout.guard.d.ts +0 -16
- package/src/lib/base/interfaces/base-module-config.interface.d.ts +0 -57
- package/src/lib/base/interfaces/can-component-deactivate.interface.d.ts +0 -7
- package/src/lib/base/interfaces/combined-filter-input.interface.d.ts +0 -9
- package/src/lib/base/interfaces/field-object.interface.d.ts +0 -6
- package/src/lib/base/interfaces/field.interface.d.ts +0 -5
- package/src/lib/base/interfaces/filter-input.interface.d.ts +0 -9
- package/src/lib/base/interfaces/find-args.interface.d.ts +0 -10
- package/src/lib/base/interfaces/graphql-options.interface.d.ts +0 -11
- package/src/lib/base/interfaces/graphql-plus-options.interfacen.d.ts +0 -9
- package/src/lib/base/interfaces/graphql-type-collection.interface.d.ts +0 -7
- package/src/lib/base/interfaces/single-filter-input.interface.d.ts +0 -11
- package/src/lib/base/interfaces/sort-input.interface.d.ts +0 -5
- package/src/lib/base/package.json +0 -10
- package/src/lib/base/pipes/ellipses.pipe.d.ts +0 -10
- package/src/lib/base/pipes/safe-html.pipe.d.ts +0 -13
- package/src/lib/base/public-api.d.ts +0 -49
- package/src/lib/base/services/auth.service.d.ts +0 -32
- package/src/lib/base/services/fullscreen.service.d.ts +0 -18
- package/src/lib/base/services/graphql-meta.service.d.ts +0 -45
- package/src/lib/base/services/graphql-plus.service.d.ts +0 -25
- package/src/lib/base/services/graphql.service.d.ts +0 -56
- package/src/lib/base/services/image.service.d.ts +0 -27
- package/src/lib/base/services/loader.service.d.ts +0 -13
- package/src/lib/base/services/scroll.service.d.ts +0 -85
- package/src/lib/base/services/seo.service.d.ts +0 -49
- package/src/lib/base/services/storage.service.d.ts +0 -48
- package/src/lib/base/services/ws.service.d.ts +0 -8
- package/src/lib/base/types/storage.type.d.ts +0 -4
- package/src/lib/base/validators/must-match.validator.d.ts +0 -6
|
@@ -11,6 +11,7 @@ import { getMainDefinition } from '@apollo/client/utilities';
|
|
|
11
11
|
import { isPlatformBrowser } from '@angular/common';
|
|
12
12
|
import * as i1 from '@angular/platform-browser';
|
|
13
13
|
import * as i1$1 from '@angular/router';
|
|
14
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
14
15
|
import { buildClientSchema, getIntrospectionQuery } from 'graphql';
|
|
15
16
|
import { map } from 'rxjs/operators';
|
|
16
17
|
|
|
@@ -133,9 +134,9 @@ class StorageService {
|
|
|
133
134
|
this.storage.clear();
|
|
134
135
|
}
|
|
135
136
|
}
|
|
136
|
-
StorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
137
|
-
StorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.
|
|
138
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
137
|
+
StorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: StorageService, deps: [{ token: BASE_MODULE_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
138
|
+
StorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: StorageService, providedIn: 'root' });
|
|
139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: StorageService, decorators: [{
|
|
139
140
|
type: Injectable,
|
|
140
141
|
args: [{
|
|
141
142
|
providedIn: 'root',
|
|
@@ -151,9 +152,9 @@ class WsService {
|
|
|
151
152
|
this.client?.connect();
|
|
152
153
|
}
|
|
153
154
|
}
|
|
154
|
-
WsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
155
|
-
WsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.
|
|
156
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
155
|
+
WsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: WsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
156
|
+
WsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: WsService, providedIn: 'root' });
|
|
157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: WsService, decorators: [{
|
|
157
158
|
type: Injectable,
|
|
158
159
|
args: [{
|
|
159
160
|
providedIn: 'root',
|
|
@@ -213,9 +214,9 @@ class AuthService {
|
|
|
213
214
|
return this._token.asObservable();
|
|
214
215
|
}
|
|
215
216
|
}
|
|
216
|
-
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
217
|
-
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.
|
|
218
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
217
|
+
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: AuthService, deps: [{ token: BASE_MODULE_CONFIG }, { token: StorageService }, { token: WsService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
218
|
+
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: AuthService, providedIn: 'root' });
|
|
219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: AuthService, decorators: [{
|
|
219
220
|
type: Injectable,
|
|
220
221
|
args: [{
|
|
221
222
|
providedIn: 'root',
|
|
@@ -365,9 +366,9 @@ class ContextMenuDirective {
|
|
|
365
366
|
}
|
|
366
367
|
}
|
|
367
368
|
}
|
|
368
|
-
ContextMenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
369
|
-
ContextMenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.
|
|
370
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
369
|
+
ContextMenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: ContextMenuDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
370
|
+
ContextMenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.3", type: ContextMenuDirective, selector: "[ltContextMenu]", inputs: { contextMenuData: "contextMenuData", ltContextMenu: "ltContextMenu", xGap: "xGap", yGap: "yGap", overflowSpace: "overflowSpace", selectors: "selectors" }, outputs: { clickedElement: "clickedElement" }, exportAs: ["contextMenuData"], ngImport: i0 });
|
|
371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: ContextMenuDirective, decorators: [{
|
|
371
372
|
type: Directive,
|
|
372
373
|
args: [{
|
|
373
374
|
selector: '[ltContextMenu]',
|
|
@@ -418,9 +419,9 @@ class LazyLoadDirective {
|
|
|
418
419
|
this.srcAttr = this.src;
|
|
419
420
|
}
|
|
420
421
|
}
|
|
421
|
-
LazyLoadDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
422
|
-
LazyLoadDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.
|
|
423
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
422
|
+
LazyLoadDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: LazyLoadDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
423
|
+
LazyLoadDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.3", type: LazyLoadDirective, selector: "img[ltLazyLoad]", inputs: { src: "src" }, host: { properties: { "attr.src": "this.srcAttr" } }, ngImport: i0 });
|
|
424
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: LazyLoadDirective, decorators: [{
|
|
424
425
|
type: Directive,
|
|
425
426
|
args: [{
|
|
426
427
|
selector: 'img[ltLazyLoad]',
|
|
@@ -725,6 +726,15 @@ class Helper {
|
|
|
725
726
|
return false;
|
|
726
727
|
}
|
|
727
728
|
}
|
|
729
|
+
static arrayBufferToBase64(buffer) {
|
|
730
|
+
let binary = '';
|
|
731
|
+
const bytes = new Uint8Array(buffer);
|
|
732
|
+
const len = bytes.byteLength;
|
|
733
|
+
for (let i = 0; i < len; i++) {
|
|
734
|
+
binary += String.fromCharCode(bytes[i]);
|
|
735
|
+
}
|
|
736
|
+
return `data:image/*;base64, ${window.btoa(binary)}`;
|
|
737
|
+
}
|
|
728
738
|
}
|
|
729
739
|
|
|
730
740
|
/**
|
|
@@ -817,9 +827,9 @@ class ImageService {
|
|
|
817
827
|
});
|
|
818
828
|
}
|
|
819
829
|
}
|
|
820
|
-
ImageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
821
|
-
ImageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.
|
|
822
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
830
|
+
ImageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: ImageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
831
|
+
ImageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: ImageService, providedIn: 'root' });
|
|
832
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: ImageService, decorators: [{
|
|
823
833
|
type: Injectable,
|
|
824
834
|
args: [{
|
|
825
835
|
providedIn: 'root',
|
|
@@ -882,9 +892,9 @@ class MatchHeightDirective {
|
|
|
882
892
|
}
|
|
883
893
|
}
|
|
884
894
|
}
|
|
885
|
-
MatchHeightDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
886
|
-
MatchHeightDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.
|
|
887
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
895
|
+
MatchHeightDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: MatchHeightDirective, deps: [{ token: i0.ElementRef }, { token: ImageService }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Directive });
|
|
896
|
+
MatchHeightDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.3", type: MatchHeightDirective, selector: "[ltMatchHeight]", inputs: { ltMatchHeight: "ltMatchHeight", loadImages: "loadImages" }, host: { listeners: { "window:resize": "onResize()" } }, ngImport: i0 });
|
|
897
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: MatchHeightDirective, decorators: [{
|
|
888
898
|
type: Directive,
|
|
889
899
|
args: [{
|
|
890
900
|
selector: '[ltMatchHeight]',
|
|
@@ -976,9 +986,9 @@ class ResizableDirective {
|
|
|
976
986
|
}, true);
|
|
977
987
|
}
|
|
978
988
|
}
|
|
979
|
-
ResizableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
980
|
-
ResizableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.
|
|
981
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
989
|
+
ResizableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: ResizableDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
990
|
+
ResizableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.3", type: ResizableDirective, selector: "[ltResizable]", inputs: { resizableGrabWidth: "resizableGrabWidth", resizableMinWidth: "resizableMinWidth" }, ngImport: i0 });
|
|
991
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: ResizableDirective, decorators: [{
|
|
982
992
|
type: Directive,
|
|
983
993
|
args: [{
|
|
984
994
|
selector: '[ltResizable]',
|
|
@@ -1000,9 +1010,9 @@ class EllipsesPipe {
|
|
|
1000
1010
|
return value.length > limit ? value.substring(0, limit) + '...' : value;
|
|
1001
1011
|
}
|
|
1002
1012
|
}
|
|
1003
|
-
EllipsesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
1004
|
-
EllipsesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.
|
|
1005
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
1013
|
+
EllipsesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: EllipsesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1014
|
+
EllipsesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: EllipsesPipe, name: "ltEllipses" });
|
|
1015
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: EllipsesPipe, decorators: [{
|
|
1006
1016
|
type: Pipe,
|
|
1007
1017
|
args: [{
|
|
1008
1018
|
name: 'ltEllipses',
|
|
@@ -1020,13 +1030,76 @@ class SafeHtmlPipe {
|
|
|
1020
1030
|
return this.sanitized.bypassSecurityTrustHtml(value);
|
|
1021
1031
|
}
|
|
1022
1032
|
}
|
|
1023
|
-
SafeHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
1024
|
-
SafeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.
|
|
1025
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
1033
|
+
SafeHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1034
|
+
SafeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: SafeHtmlPipe, name: "ltSafeHtml" });
|
|
1035
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
1026
1036
|
type: Pipe,
|
|
1027
1037
|
args: [{ name: 'ltSafeHtml' }]
|
|
1028
1038
|
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });
|
|
1029
1039
|
|
|
1040
|
+
class DateAgoPipe {
|
|
1041
|
+
constructor() {
|
|
1042
|
+
this.intervals = {
|
|
1043
|
+
year: 31536000,
|
|
1044
|
+
month: 2592000,
|
|
1045
|
+
week: 604800,
|
|
1046
|
+
day: 86400,
|
|
1047
|
+
hour: 3600,
|
|
1048
|
+
minute: 60,
|
|
1049
|
+
second: 1,
|
|
1050
|
+
};
|
|
1051
|
+
this.singular = {
|
|
1052
|
+
year: 'Jahr',
|
|
1053
|
+
month: 'Monat',
|
|
1054
|
+
week: 'Woche',
|
|
1055
|
+
day: 'Tag',
|
|
1056
|
+
hour: 'Stunde',
|
|
1057
|
+
minute: 'Minute',
|
|
1058
|
+
second: 'Sekunde',
|
|
1059
|
+
};
|
|
1060
|
+
this.plural = {
|
|
1061
|
+
year: 'Jahren',
|
|
1062
|
+
month: 'Monaten',
|
|
1063
|
+
week: 'Wochen',
|
|
1064
|
+
day: 'Tagen',
|
|
1065
|
+
hour: 'Stunden',
|
|
1066
|
+
minute: 'Minuten',
|
|
1067
|
+
second: 'Sekunden',
|
|
1068
|
+
};
|
|
1069
|
+
}
|
|
1070
|
+
transform(value, currentDate) {
|
|
1071
|
+
const now = currentDate ?? new Date();
|
|
1072
|
+
if (value) {
|
|
1073
|
+
const seconds = Math.floor((+now - +new Date(value)) / 1000);
|
|
1074
|
+
if (seconds < 29) {
|
|
1075
|
+
return 'gerade eben'; // less than 30 seconds ago will show as 'Just now'
|
|
1076
|
+
}
|
|
1077
|
+
let counter;
|
|
1078
|
+
for (const i of Object.keys(this.intervals)) {
|
|
1079
|
+
counter = Math.floor(seconds / this.intervals[i]);
|
|
1080
|
+
if (counter > 0) {
|
|
1081
|
+
if (counter === 1) {
|
|
1082
|
+
return 'vor ' + counter + ' ' + this.singular[i]; // singular (1 day ago)
|
|
1083
|
+
}
|
|
1084
|
+
else {
|
|
1085
|
+
return 'vor ' + counter + ' ' + this.plural[i]; // plural (2 days ago)
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
return value;
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
DateAgoPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: DateAgoPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
1094
|
+
DateAgoPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: DateAgoPipe, name: "dateAgo" });
|
|
1095
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: DateAgoPipe, decorators: [{
|
|
1096
|
+
type: Pipe,
|
|
1097
|
+
args: [{
|
|
1098
|
+
name: 'dateAgo',
|
|
1099
|
+
pure: true,
|
|
1100
|
+
}]
|
|
1101
|
+
}] });
|
|
1102
|
+
|
|
1030
1103
|
// Imported and exported elements
|
|
1031
1104
|
const elements = [
|
|
1032
1105
|
// Directives
|
|
@@ -1037,6 +1110,7 @@ const elements = [
|
|
|
1037
1110
|
// Pipes
|
|
1038
1111
|
EllipsesPipe,
|
|
1039
1112
|
SafeHtmlPipe,
|
|
1113
|
+
DateAgoPipe,
|
|
1040
1114
|
];
|
|
1041
1115
|
/**
|
|
1042
1116
|
* Base module
|
|
@@ -1083,8 +1157,8 @@ class BaseModule {
|
|
|
1083
1157
|
};
|
|
1084
1158
|
}
|
|
1085
1159
|
}
|
|
1086
|
-
BaseModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
1087
|
-
BaseModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.
|
|
1160
|
+
BaseModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: BaseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1161
|
+
BaseModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: BaseModule, declarations: [
|
|
1088
1162
|
// Directives
|
|
1089
1163
|
ContextMenuDirective,
|
|
1090
1164
|
LazyLoadDirective,
|
|
@@ -1092,7 +1166,8 @@ BaseModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13
|
|
|
1092
1166
|
ResizableDirective,
|
|
1093
1167
|
// Pipes
|
|
1094
1168
|
EllipsesPipe,
|
|
1095
|
-
SafeHtmlPipe
|
|
1169
|
+
SafeHtmlPipe,
|
|
1170
|
+
DateAgoPipe], exports: [
|
|
1096
1171
|
// Directives
|
|
1097
1172
|
ContextMenuDirective,
|
|
1098
1173
|
LazyLoadDirective,
|
|
@@ -1100,9 +1175,10 @@ BaseModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13
|
|
|
1100
1175
|
ResizableDirective,
|
|
1101
1176
|
// Pipes
|
|
1102
1177
|
EllipsesPipe,
|
|
1103
|
-
SafeHtmlPipe
|
|
1104
|
-
|
|
1105
|
-
i0.ɵɵ
|
|
1178
|
+
SafeHtmlPipe,
|
|
1179
|
+
DateAgoPipe] });
|
|
1180
|
+
BaseModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: BaseModule });
|
|
1181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: BaseModule, decorators: [{
|
|
1106
1182
|
type: NgModule,
|
|
1107
1183
|
args: [{
|
|
1108
1184
|
declarations: elements,
|
|
@@ -1434,9 +1510,9 @@ class AuthGuard {
|
|
|
1434
1510
|
return this.canActivate(route, state);
|
|
1435
1511
|
}
|
|
1436
1512
|
}
|
|
1437
|
-
AuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
1438
|
-
AuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.
|
|
1439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
1513
|
+
AuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: AuthGuard, deps: [{ token: i1$1.Router }, { token: AuthService }, { token: BASE_MODULE_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1514
|
+
AuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: AuthGuard });
|
|
1515
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: AuthGuard, decorators: [{
|
|
1440
1516
|
type: Injectable
|
|
1441
1517
|
}], ctorParameters: function () { return [{ type: i1$1.Router }, { type: AuthService }, { type: undefined, decorators: [{
|
|
1442
1518
|
type: Inject,
|
|
@@ -1451,9 +1527,9 @@ class CanDeactivateGuard {
|
|
|
1451
1527
|
return component.canDeactivate ? component.canDeactivate() : true;
|
|
1452
1528
|
}
|
|
1453
1529
|
}
|
|
1454
|
-
CanDeactivateGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
1455
|
-
CanDeactivateGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.
|
|
1456
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
1530
|
+
CanDeactivateGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: CanDeactivateGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1531
|
+
CanDeactivateGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: CanDeactivateGuard });
|
|
1532
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: CanDeactivateGuard, decorators: [{
|
|
1457
1533
|
type: Injectable
|
|
1458
1534
|
}] });
|
|
1459
1535
|
|
|
@@ -1478,9 +1554,9 @@ class LogoutGuard {
|
|
|
1478
1554
|
return this.canActivate(route, state);
|
|
1479
1555
|
}
|
|
1480
1556
|
}
|
|
1481
|
-
LogoutGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
1482
|
-
LogoutGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.
|
|
1483
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
1557
|
+
LogoutGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: LogoutGuard, deps: [{ token: i1$1.Router }, { token: AuthService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1558
|
+
LogoutGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: LogoutGuard });
|
|
1559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: LogoutGuard, decorators: [{
|
|
1484
1560
|
type: Injectable
|
|
1485
1561
|
}], ctorParameters: function () { return [{ type: i1$1.Router }, { type: AuthService }]; } });
|
|
1486
1562
|
|
|
@@ -1526,6 +1602,29 @@ var SortOrderEnum;
|
|
|
1526
1602
|
SortOrderEnum["DESC"] = "DESC";
|
|
1527
1603
|
})(SortOrderEnum || (SortOrderEnum = {}));
|
|
1528
1604
|
|
|
1605
|
+
class FormsService {
|
|
1606
|
+
constructor() { }
|
|
1607
|
+
validateAllFormFields(formGroup) {
|
|
1608
|
+
Object.keys(formGroup.controls).forEach((field) => {
|
|
1609
|
+
const control = formGroup.get(field);
|
|
1610
|
+
if (control instanceof FormControl) {
|
|
1611
|
+
control.markAsTouched({ onlySelf: true });
|
|
1612
|
+
}
|
|
1613
|
+
else if (control instanceof FormGroup) {
|
|
1614
|
+
this.validateAllFormFields(control);
|
|
1615
|
+
}
|
|
1616
|
+
});
|
|
1617
|
+
}
|
|
1618
|
+
}
|
|
1619
|
+
FormsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: FormsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1620
|
+
FormsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: FormsService, providedIn: 'root' });
|
|
1621
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: FormsService, decorators: [{
|
|
1622
|
+
type: Injectable,
|
|
1623
|
+
args: [{
|
|
1624
|
+
providedIn: 'root',
|
|
1625
|
+
}]
|
|
1626
|
+
}], ctorParameters: function () { return []; } });
|
|
1627
|
+
|
|
1529
1628
|
/**
|
|
1530
1629
|
* Fullscreen service
|
|
1531
1630
|
*/
|
|
@@ -1565,9 +1664,9 @@ class FullscreenService {
|
|
|
1565
1664
|
});
|
|
1566
1665
|
}
|
|
1567
1666
|
}
|
|
1568
|
-
FullscreenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
1569
|
-
FullscreenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.
|
|
1570
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
1667
|
+
FullscreenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: FullscreenService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1668
|
+
FullscreenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: FullscreenService, providedIn: 'root' });
|
|
1669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: FullscreenService, decorators: [{
|
|
1571
1670
|
type: Injectable,
|
|
1572
1671
|
args: [{
|
|
1573
1672
|
providedIn: 'root',
|
|
@@ -1679,9 +1778,9 @@ class GraphQLMetaService {
|
|
|
1679
1778
|
return observable;
|
|
1680
1779
|
}
|
|
1681
1780
|
}
|
|
1682
|
-
GraphQLMetaService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
1683
|
-
GraphQLMetaService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.
|
|
1684
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
1781
|
+
GraphQLMetaService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: GraphQLMetaService, deps: [{ token: i1$2.Apollo }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1782
|
+
GraphQLMetaService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: GraphQLMetaService, providedIn: 'root' });
|
|
1783
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: GraphQLMetaService, decorators: [{
|
|
1685
1784
|
type: Injectable,
|
|
1686
1785
|
args: [{
|
|
1687
1786
|
providedIn: 'root',
|
|
@@ -2111,9 +2210,9 @@ class GraphQLService {
|
|
|
2111
2210
|
return { fieldsString, schemaFields, usedFields };
|
|
2112
2211
|
}
|
|
2113
2212
|
}
|
|
2114
|
-
GraphQLService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
2115
|
-
GraphQLService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.
|
|
2116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
2213
|
+
GraphQLService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: GraphQLService, deps: [{ token: i1$2.Apollo }, { token: GraphQLMetaService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2214
|
+
GraphQLService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: GraphQLService, providedIn: 'root' });
|
|
2215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: GraphQLService, decorators: [{
|
|
2117
2216
|
type: Injectable,
|
|
2118
2217
|
args: [{
|
|
2119
2218
|
providedIn: 'root',
|
|
@@ -2137,9 +2236,9 @@ class LoaderService {
|
|
|
2137
2236
|
return this.isLoading.asObservable();
|
|
2138
2237
|
}
|
|
2139
2238
|
}
|
|
2140
|
-
LoaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
2141
|
-
LoaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.
|
|
2142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
2239
|
+
LoaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: LoaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2240
|
+
LoaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: LoaderService, providedIn: 'root' });
|
|
2241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: LoaderService, decorators: [{
|
|
2143
2242
|
type: Injectable,
|
|
2144
2243
|
args: [{
|
|
2145
2244
|
providedIn: 'root',
|
|
@@ -2213,9 +2312,9 @@ class GraphQLPlusService extends GraphQLService {
|
|
|
2213
2312
|
console.error(error);
|
|
2214
2313
|
}
|
|
2215
2314
|
}
|
|
2216
|
-
GraphQLPlusService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
2217
|
-
GraphQLPlusService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.
|
|
2218
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
2315
|
+
GraphQLPlusService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: GraphQLPlusService, deps: [{ token: i1$2.Apollo }, { token: GraphQLMetaService }, { token: LoaderService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2316
|
+
GraphQLPlusService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: GraphQLPlusService, providedIn: 'root' });
|
|
2317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: GraphQLPlusService, decorators: [{
|
|
2219
2318
|
type: Injectable,
|
|
2220
2319
|
args: [{
|
|
2221
2320
|
providedIn: 'root',
|
|
@@ -2384,9 +2483,9 @@ class ScrollService {
|
|
|
2384
2483
|
return this.scrollPromise;
|
|
2385
2484
|
}
|
|
2386
2485
|
}
|
|
2387
|
-
ScrollService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
2388
|
-
ScrollService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.
|
|
2389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
2486
|
+
ScrollService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: ScrollService, deps: [{ token: i1$1.Router }, { token: BASE_MODULE_CONFIG }, { token: ImageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2487
|
+
ScrollService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: ScrollService, providedIn: 'root' });
|
|
2488
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: ScrollService, decorators: [{
|
|
2390
2489
|
type: Injectable,
|
|
2391
2490
|
args: [{
|
|
2392
2491
|
providedIn: 'root',
|
|
@@ -2481,46 +2580,83 @@ class SEOService {
|
|
|
2481
2580
|
this.metaTagService.updateTag({ name: 'keywords', content: keywords });
|
|
2482
2581
|
}
|
|
2483
2582
|
}
|
|
2484
|
-
SEOService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.
|
|
2485
|
-
SEOService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.
|
|
2486
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.
|
|
2583
|
+
SEOService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: SEOService, deps: [{ token: i1.Title }, { token: i1.Meta }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2584
|
+
SEOService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: SEOService, providedIn: 'root' });
|
|
2585
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: SEOService, decorators: [{
|
|
2487
2586
|
type: Injectable,
|
|
2488
2587
|
args: [{
|
|
2489
2588
|
providedIn: 'root',
|
|
2490
2589
|
}]
|
|
2491
2590
|
}], ctorParameters: function () { return [{ type: i1.Title }, { type: i1.Meta }]; } });
|
|
2492
2591
|
|
|
2592
|
+
class ThemeService {
|
|
2593
|
+
constructor(storageService) {
|
|
2594
|
+
this.storageService = storageService;
|
|
2595
|
+
this._theme = new BehaviorSubject('light');
|
|
2596
|
+
// Load from storage
|
|
2597
|
+
this.theme = this.storageService.load('theme');
|
|
2598
|
+
// Use system theme if no theme is set
|
|
2599
|
+
if (!this.theme) {
|
|
2600
|
+
this.checkSystemTheme();
|
|
2601
|
+
}
|
|
2602
|
+
}
|
|
2603
|
+
get theme() {
|
|
2604
|
+
return this._theme.value;
|
|
2605
|
+
}
|
|
2606
|
+
set theme(theme) {
|
|
2607
|
+
this._theme.next(theme);
|
|
2608
|
+
this.storageService.save('theme', theme);
|
|
2609
|
+
}
|
|
2610
|
+
get themeObservable() {
|
|
2611
|
+
return this._theme.asObservable();
|
|
2612
|
+
}
|
|
2613
|
+
/**
|
|
2614
|
+
* Check theme from system
|
|
2615
|
+
*/
|
|
2616
|
+
checkSystemTheme() {
|
|
2617
|
+
if (window.matchMedia) {
|
|
2618
|
+
this.theme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
|
|
2619
|
+
}
|
|
2620
|
+
}
|
|
2621
|
+
}
|
|
2622
|
+
ThemeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: ThemeService, deps: [{ token: StorageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2623
|
+
ThemeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: ThemeService, providedIn: 'root' });
|
|
2624
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.3", ngImport: i0, type: ThemeService, decorators: [{
|
|
2625
|
+
type: Injectable,
|
|
2626
|
+
args: [{
|
|
2627
|
+
providedIn: 'root',
|
|
2628
|
+
}]
|
|
2629
|
+
}], ctorParameters: function () { return [{ type: StorageService }]; } });
|
|
2630
|
+
|
|
2493
2631
|
/**
|
|
2494
2632
|
* Custom validator to check that two fields match
|
|
2495
2633
|
* (inspirated by https://jasonwatmore.com/post/2018/11/07/angular-7-reactive-forms-validation-example)
|
|
2496
2634
|
*/
|
|
2497
|
-
|
|
2635
|
+
const MustMatch = (control) => {
|
|
2498
2636
|
return (formGroup) => {
|
|
2499
|
-
const
|
|
2500
|
-
const matchingControl =
|
|
2637
|
+
const baseControl = control.get('password');
|
|
2638
|
+
const matchingControl = control.get('passwordConfirm');
|
|
2501
2639
|
if (matchingControl.errors && !matchingControl.errors.mustMatch) {
|
|
2502
2640
|
// return if another validator has already found an error on the matchingControl
|
|
2503
|
-
return;
|
|
2641
|
+
return null;
|
|
2504
2642
|
}
|
|
2505
2643
|
// set error on matchingControl if validation fails
|
|
2506
|
-
if (
|
|
2507
|
-
|
|
2644
|
+
if (baseControl.value !== matchingControl.value) {
|
|
2645
|
+
return { mustMatch: true };
|
|
2508
2646
|
}
|
|
2509
2647
|
else {
|
|
2510
|
-
|
|
2648
|
+
return null;
|
|
2511
2649
|
}
|
|
2512
2650
|
};
|
|
2513
|
-
}
|
|
2651
|
+
};
|
|
2514
2652
|
|
|
2515
2653
|
/**
|
|
2516
2654
|
* Exports for public API
|
|
2517
2655
|
*/
|
|
2518
2656
|
|
|
2519
|
-
// Export libs
|
|
2520
|
-
|
|
2521
2657
|
/**
|
|
2522
2658
|
* Generated bundle index. Do not edit.
|
|
2523
2659
|
*/
|
|
2524
2660
|
|
|
2525
|
-
export { AuthGuard, AuthService, BASE_MODULE_CONFIG, BaseModule, BasicUser, CanDeactivateGuard, ComparisonOperatorEnum, ContextMenuDirective, EllipsesPipe, FullscreenService, GraphQLEnum, GraphQLMeta, GraphQLMetaService, GraphQLPlusService, GraphQLRequestType, GraphQLService, GraphQLType, Helper, ImageService, LazyLoadDirective, LoaderService, LogicalOperatorEnum, LogoutGuard, MatchHeightDirective, MustMatch, ResizableDirective, SEOService, SafeHtmlPipe, ScrollService, SortOrderEnum, Standard, StorageService, WsService, apolloOptionsFactory };
|
|
2661
|
+
export { AuthGuard, AuthService, BASE_MODULE_CONFIG, BaseModule, BasicUser, CanDeactivateGuard, ComparisonOperatorEnum, ContextMenuDirective, DateAgoPipe, EllipsesPipe, FormsService, FullscreenService, GraphQLEnum, GraphQLMeta, GraphQLMetaService, GraphQLPlusService, GraphQLRequestType, GraphQLService, GraphQLType, Helper, ImageService, LazyLoadDirective, LoaderService, LogicalOperatorEnum, LogoutGuard, MatchHeightDirective, MustMatch, ResizableDirective, SEOService, SafeHtmlPipe, ScrollService, SortOrderEnum, Standard, StorageService, ThemeService, WsService, apolloOptionsFactory };
|
|
2526
2662
|
//# sourceMappingURL=lenne.tech-ng-base.mjs.map
|