@anglr/common 8.0.0 → 10.0.0-beta.20220215124944
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/appveyor.yml +67 -0
- package/changelog.md +168 -33
- package/common.d.ts +4 -1396
- package/common.d.ts.map +1 -0
- package/common.metadata.json +1 -0
- package/date-fns/dist/es2015/date-fns/index.js +10 -0
- package/date-fns/dist/es2015/date-fns/public_api.js +7 -0
- package/date-fns/dist/es2015/date-fns/src/date-fns.js +7 -0
- package/date-fns/dist/es2015/date-fns/src/misc/utils.js +38 -0
- package/date-fns/dist/es2015/forms/src/directives/groupHasError/groupHasError.directive.js +128 -0
- package/date-fns/dist/es2015/forms/src/directives/hasError/hasError.directive.js +300 -0
- package/date-fns/dist/es2015/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +104 -0
- package/date-fns/dist/es2015/forms/src/directives/numberInput/minValueNumberValidator.directive.js +104 -0
- package/date-fns/dist/es2015/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +125 -0
- package/date-fns/dist/es2015/forms/src/directives/numberInput/numberInputValidator.directive.js +41 -0
- package/date-fns/dist/es2015/forms/src/directives/requiredClass/requiredClass.directive.js +89 -0
- package/date-fns/dist/es2015/forms/src/forms.js +25 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/decorators/asyncValidator.decorator.js +17 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/decorators/controlOptions.decorator.js +17 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/decorators/disabled.decorator.js +16 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/decorators/email.decorator.js +17 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/decorators/formArrayProperty.decorator.js +17 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/decorators/formGroupAsyncValidator.decorator.js +34 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/decorators/formGroupProperty.decorator.js +17 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/decorators/formGroupValidator.decorator.js +34 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/decorators/index.js +25 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/decorators/invalidateOnChange.decorator.js +60 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/decorators/maxLength.decorator.js +18 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/decorators/maxValue.decorator.js +18 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/decorators/minLength.decorator.js +18 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/decorators/minValue.decorator.js +18 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/decorators/modelPropertyMetadata.decorator.js +52 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/decorators/number.decorator.js +17 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/decorators/pattern.decorator.js +18 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/decorators/required.decorator.js +17 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/decorators/requiredIf.decorator.js +39 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/decorators/validator.decorator.js +17 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/index.js +13 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/interfaces/modelDecoratorMetadata.js +29 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/interfaces/modelPropertyDecoratorMetadata.js +49 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/interfaces/validator.interface.js +18 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/misc/currentValue.js +40 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/misc/defaults.js +19 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/misc/utils.js +134 -0
- package/date-fns/dist/es2015/forms/src/misc/formModel/misc/validatorFactories.js +64 -0
- package/date-fns/dist/es2015/forms/src/misc/types.js +12 -0
- package/date-fns/dist/es2015/forms/src/misc/utils.js +135 -0
- package/date-fns/dist/es2015/forms/src/misc/validators.js +65 -0
- package/date-fns/dist/es2015/forms/src/modules/hasError.module.js +22 -0
- package/date-fns/dist/es2015/forms/src/modules/numberInput.module.js +28 -0
- package/date-fns/dist/es2015/forms/src/modules/requiredClass.module.js +19 -0
- package/date-fns/dist/es2015/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.interface.js +23 -0
- package/date-fns/dist/es2015/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +107 -0
- package/date-fns/dist/es2015/forms/src/services/submitted/submitted.service.js +69 -0
- package/date-fns/dist/es2015/forms/src/services/validationErrorRenderer/validationErrorRenderer.interface.js +109 -0
- package/date-fns/dist/es2015/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +371 -0
- package/date-fns/dist/es5/date-fns/index.js +10 -0
- package/date-fns/dist/es5/date-fns/public_api.js +7 -0
- package/date-fns/dist/es5/date-fns/src/date-fns.js +7 -0
- package/date-fns/dist/es5/date-fns/src/misc/utils.js +38 -0
- package/date-fns/dist/es5/forms/src/directives/groupHasError/groupHasError.directive.js +159 -0
- package/date-fns/dist/es5/forms/src/directives/hasError/hasError.directive.js +368 -0
- package/date-fns/dist/es5/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +123 -0
- package/date-fns/dist/es5/forms/src/directives/numberInput/minValueNumberValidator.directive.js +123 -0
- package/date-fns/dist/es5/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +150 -0
- package/date-fns/dist/es5/forms/src/directives/numberInput/numberInputValidator.directive.js +58 -0
- package/date-fns/dist/es5/forms/src/directives/requiredClass/requiredClass.directive.js +105 -0
- package/date-fns/dist/es5/forms/src/forms.js +25 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/decorators/asyncValidator.decorator.js +17 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/decorators/controlOptions.decorator.js +17 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/decorators/disabled.decorator.js +16 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/decorators/email.decorator.js +17 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/decorators/formArrayProperty.decorator.js +17 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/decorators/formGroupAsyncValidator.decorator.js +34 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/decorators/formGroupProperty.decorator.js +17 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/decorators/formGroupValidator.decorator.js +34 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/decorators/index.js +25 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/decorators/invalidateOnChange.decorator.js +60 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/decorators/maxLength.decorator.js +18 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/decorators/maxValue.decorator.js +18 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/decorators/minLength.decorator.js +18 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/decorators/minValue.decorator.js +18 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/decorators/modelPropertyMetadata.decorator.js +62 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/decorators/number.decorator.js +17 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/decorators/pattern.decorator.js +18 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/decorators/required.decorator.js +17 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/decorators/requiredIf.decorator.js +39 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/decorators/validator.decorator.js +17 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/index.js +13 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/interfaces/modelDecoratorMetadata.js +29 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/interfaces/modelPropertyDecoratorMetadata.js +49 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/interfaces/validator.interface.js +18 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/misc/currentValue.js +50 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/misc/defaults.js +19 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/misc/utils.js +150 -0
- package/date-fns/dist/es5/forms/src/misc/formModel/misc/validatorFactories.js +104 -0
- package/date-fns/dist/es5/forms/src/misc/types.js +12 -0
- package/date-fns/dist/es5/forms/src/misc/utils.js +139 -0
- package/date-fns/dist/es5/forms/src/misc/validators.js +102 -0
- package/date-fns/dist/es5/forms/src/modules/hasError.module.js +26 -0
- package/date-fns/dist/es5/forms/src/modules/numberInput.module.js +32 -0
- package/date-fns/dist/es5/forms/src/modules/requiredClass.module.js +23 -0
- package/date-fns/dist/es5/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.interface.js +23 -0
- package/date-fns/dist/es5/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +120 -0
- package/date-fns/dist/es5/forms/src/services/submitted/submitted.service.js +100 -0
- package/date-fns/dist/es5/forms/src/services/validationErrorRenderer/validationErrorRenderer.interface.js +109 -0
- package/date-fns/dist/es5/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +492 -0
- package/date-fns/index.d.ts +5 -0
- package/date-fns/index.d.ts.map +1 -0
- package/date-fns/index.metadata.json +1 -0
- package/date-fns/package.json +6 -7
- package/date-fns/public_api.d.ts +2 -0
- package/date-fns/public_api.d.ts.map +1 -0
- package/date-fns/src/date-fns.d.ts +2 -0
- package/date-fns/src/date-fns.d.ts.map +1 -0
- package/date-fns/src/misc/utils.d.ts +6 -6
- package/dist/es2015/common.js +11 -0
- package/dist/es2015/public_api.js +7 -0
- package/dist/es2015/src/common.js +41 -0
- package/dist/es2015/src/decorators/hmrData.decorator.js +22 -0
- package/dist/es2015/src/decorators/hmrServiceData.decorator.js +22 -0
- package/dist/es2015/src/decorators/hmrServiceDataConstructor.decorator.js +21 -0
- package/dist/es2015/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +148 -0
- package/dist/es2015/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js +111 -0
- package/dist/es2015/src/modules/clickOutside/modules/clickOutside.module.js +24 -0
- package/dist/es2015/src/modules/common.module.js +39 -0
- package/dist/es2015/src/modules/debugData/components/debugData/debugData.component.js +121 -0
- package/dist/es2015/src/modules/debugData/modules/debugData.module.js +27 -0
- package/dist/es2015/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js +71 -0
- package/dist/es2015/src/modules/multiButton/components/multiButton/multiButton.component.js +196 -0
- package/dist/es2015/src/modules/multiButton/components/multiButton/multiButton.interface.js +43 -0
- package/dist/es2015/src/modules/multiButton/misc/tokens.js +12 -0
- package/dist/es2015/src/modules/multiButton/modules/multiButton.module.js +27 -0
- package/dist/es2015/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js +121 -0
- package/dist/es2015/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js +229 -0
- package/dist/es2015/src/modules/progressIndicator/interceptors/progressInterceptor.js +85 -0
- package/dist/es2015/src/modules/progressIndicator/misc/types.js +18 -0
- package/dist/es2015/src/modules/progressIndicator/modules/progressIndicator.module.js +32 -0
- package/dist/es2015/src/modules/progressIndicator/services/progressIndicator.service.js +366 -0
- package/dist/es2015/src/modules/progressIndicator/services/progressIndicatorOptions.js +46 -0
- package/dist/es2015/src/pipes/isNaN/isNaN.pipe.js +26 -0
- package/dist/es2015/src/pipes/isPresent/isPresent.pipe.js +27 -0
- package/dist/es2015/src/pipes/localize/localize.pipe.js +85 -0
- package/dist/es2015/src/pipes/urlEncode/urlEncode.pipe.js +28 -0
- package/dist/es2015/src/services/cookies/cookies.service.js +132 -0
- package/dist/es2015/src/services/globalization/globalization.service.js +26 -0
- package/dist/es2015/src/services/ignoredInterceptors/ignoredInterceptors.service.js +97 -0
- package/dist/es2015/src/services/logger/index.js +8 -0
- package/dist/es2015/src/services/logger/logger.interface.js +103 -0
- package/dist/es2015/src/services/logger/logger.service.js +53 -0
- package/dist/es2015/src/services/notifications/defaultNotifications.service.js +335 -0
- package/dist/es2015/src/services/notifications/index.js +9 -0
- package/dist/es2015/src/services/notifications/notifications.interface.js +182 -0
- package/dist/es2015/src/services/notifications/notificationsOptions.js +33 -0
- package/dist/es2015/src/services/permanentStorage/cookiePermanentStorage.service.js +62 -0
- package/dist/es2015/src/services/permanentStorage/index.js +8 -0
- package/dist/es2015/src/services/permanentStorage/permanentStorage.interface.js +41 -0
- package/dist/es2015/src/services/positioning/index.js +7 -0
- package/dist/es2015/src/services/positioning/positioning.interface.js +11 -0
- package/dist/es2015/src/services/statusCode/statusCode.service.js +42 -0
- package/dist/es2015/src/services/stringLocalization/index.js +8 -0
- package/dist/es2015/src/services/stringLocalization/noStringLocalization.service.js +60 -0
- package/dist/es2015/src/services/stringLocalization/stringLocalization.interface.js +25 -0
- package/dist/es2015/src/services/temporaryStorage/index.js +8 -0
- package/dist/es2015/src/services/temporaryStorage/memoryTemporaryStorage.service.js +58 -0
- package/dist/es2015/src/services/temporaryStorage/temporaryStorage.interface.js +33 -0
- package/dist/es2015/src/types/additionalInfo.js +19 -0
- package/dist/es2015/src/types/tokens.js +69 -0
- package/dist/es2015/src/utils/httpRequest.extension.js +26 -0
- package/dist/es2015/src/utils/index.js +80 -0
- package/dist/es5/common.js +11 -0
- package/dist/es5/public_api.js +7 -0
- package/dist/es5/src/common.js +41 -0
- package/dist/es5/src/decorators/hmrData.decorator.js +22 -0
- package/dist/es5/src/decorators/hmrServiceData.decorator.js +22 -0
- package/dist/es5/src/decorators/hmrServiceDataConstructor.decorator.js +21 -0
- package/dist/es5/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +169 -0
- package/dist/es5/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js +130 -0
- package/dist/es5/src/modules/clickOutside/modules/clickOutside.module.js +28 -0
- package/dist/es5/src/modules/common.module.js +43 -0
- package/dist/es5/src/modules/debugData/components/debugData/debugData.component.js +150 -0
- package/dist/es5/src/modules/debugData/modules/debugData.module.js +31 -0
- package/dist/es5/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js +102 -0
- package/dist/es5/src/modules/multiButton/components/multiButton/multiButton.component.js +229 -0
- package/dist/es5/src/modules/multiButton/components/multiButton/multiButton.interface.js +43 -0
- package/dist/es5/src/modules/multiButton/misc/tokens.js +12 -0
- package/dist/es5/src/modules/multiButton/modules/multiButton.module.js +31 -0
- package/dist/es5/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js +148 -0
- package/dist/es5/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js +266 -0
- package/dist/es5/src/modules/progressIndicator/interceptors/progressInterceptor.js +98 -0
- package/dist/es5/src/modules/progressIndicator/misc/types.js +18 -0
- package/dist/es5/src/modules/progressIndicator/modules/progressIndicator.module.js +36 -0
- package/dist/es5/src/modules/progressIndicator/services/progressIndicator.service.js +489 -0
- package/dist/es5/src/modules/progressIndicator/services/progressIndicatorOptions.js +50 -0
- package/dist/es5/src/pipes/isNaN/isNaN.pipe.js +42 -0
- package/dist/es5/src/pipes/isPresent/isPresent.pipe.js +43 -0
- package/dist/es5/src/pipes/localize/localize.pipe.js +118 -0
- package/dist/es5/src/pipes/urlEncode/urlEncode.pipe.js +44 -0
- package/dist/es5/src/services/cookies/cookies.service.js +183 -0
- package/dist/es5/src/services/globalization/globalization.service.js +38 -0
- package/dist/es5/src/services/ignoredInterceptors/ignoredInterceptors.service.js +133 -0
- package/dist/es5/src/services/logger/index.js +8 -0
- package/dist/es5/src/services/logger/logger.interface.js +103 -0
- package/dist/es5/src/services/logger/logger.service.js +117 -0
- package/dist/es5/src/services/notifications/defaultNotifications.service.js +469 -0
- package/dist/es5/src/services/notifications/index.js +9 -0
- package/dist/es5/src/services/notifications/notifications.interface.js +204 -0
- package/dist/es5/src/services/notifications/notificationsOptions.js +38 -0
- package/dist/es5/src/services/permanentStorage/cookiePermanentStorage.service.js +96 -0
- package/dist/es5/src/services/permanentStorage/index.js +8 -0
- package/dist/es5/src/services/permanentStorage/permanentStorage.interface.js +41 -0
- package/dist/es5/src/services/positioning/index.js +7 -0
- package/dist/es5/src/services/positioning/positioning.interface.js +11 -0
- package/dist/es5/src/services/statusCode/statusCode.service.js +67 -0
- package/dist/es5/src/services/stringLocalization/index.js +8 -0
- package/dist/es5/src/services/stringLocalization/noStringLocalization.service.js +85 -0
- package/dist/es5/src/services/stringLocalization/stringLocalization.interface.js +25 -0
- package/dist/es5/src/services/temporaryStorage/index.js +8 -0
- package/dist/es5/src/services/temporaryStorage/memoryTemporaryStorage.service.js +93 -0
- package/dist/es5/src/services/temporaryStorage/temporaryStorage.interface.js +33 -0
- package/dist/es5/src/types/additionalInfo.js +19 -0
- package/dist/es5/src/types/tokens.js +69 -0
- package/dist/es5/src/utils/httpRequest.extension.js +26 -0
- package/dist/es5/src/utils/index.js +80 -0
- package/forms/dist/es2015/forms/index.js +10 -0
- package/forms/dist/es2015/forms/public_api.js +7 -0
- package/forms/dist/es2015/forms/src/directives/groupHasError/groupHasError.directive.js +128 -0
- package/forms/dist/es2015/forms/src/directives/hasError/hasError.directive.js +300 -0
- package/forms/dist/es2015/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +104 -0
- package/forms/dist/es2015/forms/src/directives/numberInput/minValueNumberValidator.directive.js +104 -0
- package/forms/dist/es2015/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +125 -0
- package/forms/dist/es2015/forms/src/directives/numberInput/numberInputValidator.directive.js +41 -0
- package/forms/dist/es2015/forms/src/directives/requiredClass/requiredClass.directive.js +89 -0
- package/forms/dist/es2015/forms/src/forms.js +25 -0
- package/forms/dist/es2015/forms/src/misc/formModel/decorators/asyncValidator.decorator.js +17 -0
- package/forms/dist/es2015/forms/src/misc/formModel/decorators/controlOptions.decorator.js +17 -0
- package/forms/dist/es2015/forms/src/misc/formModel/decorators/disabled.decorator.js +16 -0
- package/forms/dist/es2015/forms/src/misc/formModel/decorators/email.decorator.js +17 -0
- package/forms/dist/es2015/forms/src/misc/formModel/decorators/formArrayProperty.decorator.js +17 -0
- package/forms/dist/es2015/forms/src/misc/formModel/decorators/formGroupAsyncValidator.decorator.js +34 -0
- package/forms/dist/es2015/forms/src/misc/formModel/decorators/formGroupProperty.decorator.js +17 -0
- package/forms/dist/es2015/forms/src/misc/formModel/decorators/formGroupValidator.decorator.js +34 -0
- package/forms/dist/es2015/forms/src/misc/formModel/decorators/index.js +25 -0
- package/forms/dist/es2015/forms/src/misc/formModel/decorators/invalidateOnChange.decorator.js +60 -0
- package/forms/dist/es2015/forms/src/misc/formModel/decorators/maxLength.decorator.js +18 -0
- package/forms/dist/es2015/forms/src/misc/formModel/decorators/maxValue.decorator.js +18 -0
- package/forms/dist/es2015/forms/src/misc/formModel/decorators/minLength.decorator.js +18 -0
- package/forms/dist/es2015/forms/src/misc/formModel/decorators/minValue.decorator.js +18 -0
- package/forms/dist/es2015/forms/src/misc/formModel/decorators/modelPropertyMetadata.decorator.js +52 -0
- package/forms/dist/es2015/forms/src/misc/formModel/decorators/number.decorator.js +17 -0
- package/forms/dist/es2015/forms/src/misc/formModel/decorators/pattern.decorator.js +18 -0
- package/forms/dist/es2015/forms/src/misc/formModel/decorators/required.decorator.js +17 -0
- package/forms/dist/es2015/forms/src/misc/formModel/decorators/requiredIf.decorator.js +39 -0
- package/forms/dist/es2015/forms/src/misc/formModel/decorators/validator.decorator.js +17 -0
- package/forms/dist/es2015/forms/src/misc/formModel/index.js +13 -0
- package/forms/dist/es2015/forms/src/misc/formModel/interfaces/modelDecoratorMetadata.js +29 -0
- package/forms/dist/es2015/forms/src/misc/formModel/interfaces/modelPropertyDecoratorMetadata.js +49 -0
- package/forms/dist/es2015/forms/src/misc/formModel/interfaces/validator.interface.js +18 -0
- package/forms/dist/es2015/forms/src/misc/formModel/misc/currentValue.js +40 -0
- package/forms/dist/es2015/forms/src/misc/formModel/misc/defaults.js +19 -0
- package/forms/dist/es2015/forms/src/misc/formModel/misc/utils.js +134 -0
- package/forms/dist/es2015/forms/src/misc/formModel/misc/validatorFactories.js +64 -0
- package/forms/dist/es2015/forms/src/misc/types.js +12 -0
- package/forms/dist/es2015/forms/src/misc/utils.js +135 -0
- package/forms/dist/es2015/forms/src/misc/validators.js +65 -0
- package/forms/dist/es2015/forms/src/modules/hasError.module.js +22 -0
- package/forms/dist/es2015/forms/src/modules/numberInput.module.js +28 -0
- package/forms/dist/es2015/forms/src/modules/requiredClass.module.js +19 -0
- package/forms/dist/es2015/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.interface.js +23 -0
- package/forms/dist/es2015/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +107 -0
- package/forms/dist/es2015/forms/src/services/submitted/submitted.service.js +69 -0
- package/forms/dist/es2015/forms/src/services/validationErrorRenderer/validationErrorRenderer.interface.js +109 -0
- package/forms/dist/es2015/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +371 -0
- package/forms/dist/es5/forms/index.js +10 -0
- package/forms/dist/es5/forms/public_api.js +7 -0
- package/forms/dist/es5/forms/src/directives/groupHasError/groupHasError.directive.js +159 -0
- package/forms/dist/es5/forms/src/directives/hasError/hasError.directive.js +368 -0
- package/forms/dist/es5/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +123 -0
- package/forms/dist/es5/forms/src/directives/numberInput/minValueNumberValidator.directive.js +123 -0
- package/forms/dist/es5/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +150 -0
- package/forms/dist/es5/forms/src/directives/numberInput/numberInputValidator.directive.js +58 -0
- package/forms/dist/es5/forms/src/directives/requiredClass/requiredClass.directive.js +105 -0
- package/forms/dist/es5/forms/src/forms.js +25 -0
- package/forms/dist/es5/forms/src/misc/formModel/decorators/asyncValidator.decorator.js +17 -0
- package/forms/dist/es5/forms/src/misc/formModel/decorators/controlOptions.decorator.js +17 -0
- package/forms/dist/es5/forms/src/misc/formModel/decorators/disabled.decorator.js +16 -0
- package/forms/dist/es5/forms/src/misc/formModel/decorators/email.decorator.js +17 -0
- package/forms/dist/es5/forms/src/misc/formModel/decorators/formArrayProperty.decorator.js +17 -0
- package/forms/dist/es5/forms/src/misc/formModel/decorators/formGroupAsyncValidator.decorator.js +34 -0
- package/forms/dist/es5/forms/src/misc/formModel/decorators/formGroupProperty.decorator.js +17 -0
- package/forms/dist/es5/forms/src/misc/formModel/decorators/formGroupValidator.decorator.js +34 -0
- package/forms/dist/es5/forms/src/misc/formModel/decorators/index.js +25 -0
- package/forms/dist/es5/forms/src/misc/formModel/decorators/invalidateOnChange.decorator.js +60 -0
- package/forms/dist/es5/forms/src/misc/formModel/decorators/maxLength.decorator.js +18 -0
- package/forms/dist/es5/forms/src/misc/formModel/decorators/maxValue.decorator.js +18 -0
- package/forms/dist/es5/forms/src/misc/formModel/decorators/minLength.decorator.js +18 -0
- package/forms/dist/es5/forms/src/misc/formModel/decorators/minValue.decorator.js +18 -0
- package/forms/dist/es5/forms/src/misc/formModel/decorators/modelPropertyMetadata.decorator.js +62 -0
- package/forms/dist/es5/forms/src/misc/formModel/decorators/number.decorator.js +17 -0
- package/forms/dist/es5/forms/src/misc/formModel/decorators/pattern.decorator.js +18 -0
- package/forms/dist/es5/forms/src/misc/formModel/decorators/required.decorator.js +17 -0
- package/forms/dist/es5/forms/src/misc/formModel/decorators/requiredIf.decorator.js +39 -0
- package/forms/dist/es5/forms/src/misc/formModel/decorators/validator.decorator.js +17 -0
- package/forms/dist/es5/forms/src/misc/formModel/index.js +13 -0
- package/forms/dist/es5/forms/src/misc/formModel/interfaces/modelDecoratorMetadata.js +29 -0
- package/forms/dist/es5/forms/src/misc/formModel/interfaces/modelPropertyDecoratorMetadata.js +49 -0
- package/forms/dist/es5/forms/src/misc/formModel/interfaces/validator.interface.js +18 -0
- package/forms/dist/es5/forms/src/misc/formModel/misc/currentValue.js +50 -0
- package/forms/dist/es5/forms/src/misc/formModel/misc/defaults.js +19 -0
- package/forms/dist/es5/forms/src/misc/formModel/misc/utils.js +150 -0
- package/forms/dist/es5/forms/src/misc/formModel/misc/validatorFactories.js +104 -0
- package/forms/dist/es5/forms/src/misc/types.js +12 -0
- package/forms/dist/es5/forms/src/misc/utils.js +139 -0
- package/forms/dist/es5/forms/src/misc/validators.js +102 -0
- package/forms/dist/es5/forms/src/modules/hasError.module.js +26 -0
- package/forms/dist/es5/forms/src/modules/numberInput.module.js +32 -0
- package/forms/dist/es5/forms/src/modules/requiredClass.module.js +23 -0
- package/forms/dist/es5/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.interface.js +23 -0
- package/forms/dist/es5/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +120 -0
- package/forms/dist/es5/forms/src/services/submitted/submitted.service.js +100 -0
- package/forms/dist/es5/forms/src/services/validationErrorRenderer/validationErrorRenderer.interface.js +109 -0
- package/forms/dist/es5/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +492 -0
- package/forms/index.d.ts +5 -0
- package/forms/index.d.ts.map +1 -0
- package/forms/index.metadata.json +1 -0
- package/forms/package.json +6 -7
- package/forms/public_api.d.ts +2 -0
- package/forms/public_api.d.ts.map +1 -0
- package/forms/src/directives/groupHasError/groupHasError.directive.d.ts +39 -42
- package/forms/src/directives/groupHasError/groupHasError.directive.d.ts.map +1 -1
- package/forms/src/directives/groupHasError/groupHasError.directive.ngfactory.d.ts.map +1 -0
- package/forms/src/directives/hasError/hasError.directive.d.ts +83 -86
- package/forms/src/directives/hasError/hasError.directive.d.ts.map +1 -1
- package/forms/src/directives/hasError/hasError.directive.ngfactory.d.ts.map +1 -0
- package/forms/src/directives/numberInput/maxValueNumberValidator.directive.d.ts +31 -34
- package/forms/src/directives/numberInput/maxValueNumberValidator.directive.d.ts.map +1 -1
- package/forms/src/directives/numberInput/maxValueNumberValidator.directive.ngfactory.d.ts.map +1 -0
- package/forms/src/directives/numberInput/minValueNumberValidator.directive.d.ts +31 -34
- package/forms/src/directives/numberInput/minValueNumberValidator.directive.d.ts.map +1 -1
- package/forms/src/directives/numberInput/minValueNumberValidator.directive.ngfactory.d.ts.map +1 -0
- package/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.d.ts +27 -30
- package/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.d.ts.map +1 -1
- package/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.ngfactory.d.ts.map +1 -0
- package/forms/src/directives/numberInput/numberInputValidator.directive.d.ts +12 -15
- package/forms/src/directives/numberInput/numberInputValidator.directive.d.ts.map +1 -1
- package/forms/src/directives/numberInput/numberInputValidator.directive.ngfactory.d.ts.map +1 -0
- package/forms/src/directives/requiredClass/requiredClass.directive.d.ts +23 -26
- package/forms/src/directives/requiredClass/requiredClass.directive.d.ts.map +1 -1
- package/forms/src/directives/requiredClass/requiredClass.directive.ngfactory.d.ts.map +1 -0
- package/forms/src/forms.d.ts +20 -0
- package/forms/src/forms.d.ts.map +1 -0
- package/forms/src/misc/formModel/decorators/asyncValidator.decorator.d.ts +7 -7
- package/forms/src/misc/formModel/decorators/controlOptions.decorator.d.ts +6 -6
- package/forms/src/misc/formModel/decorators/disabled.decorator.d.ts +4 -4
- package/forms/src/misc/formModel/decorators/email.decorator.d.ts +4 -4
- package/forms/src/misc/formModel/decorators/formArrayProperty.decorator.d.ts +4 -4
- package/forms/src/misc/formModel/decorators/formGroupAsyncValidator.decorator.d.ts +7 -7
- package/forms/src/misc/formModel/decorators/formGroupProperty.decorator.d.ts +4 -4
- package/forms/src/misc/formModel/decorators/formGroupValidator.decorator.d.ts +7 -7
- package/forms/src/misc/formModel/decorators/index.d.ts +19 -19
- package/forms/src/misc/formModel/decorators/invalidateOnChange.decorator.d.ts +20 -20
- package/forms/src/misc/formModel/decorators/maxLength.decorator.d.ts +5 -5
- package/forms/src/misc/formModel/decorators/maxValue.decorator.d.ts +5 -5
- package/forms/src/misc/formModel/decorators/minLength.decorator.d.ts +5 -5
- package/forms/src/misc/formModel/decorators/minValue.decorator.d.ts +5 -5
- package/forms/src/misc/formModel/decorators/modelPropertyMetadata.decorator.d.ts +7 -7
- package/forms/src/misc/formModel/decorators/modelPropertyMetadata.decorator.d.ts.map +1 -1
- package/forms/src/misc/formModel/decorators/number.decorator.d.ts +4 -4
- package/forms/src/misc/formModel/decorators/pattern.decorator.d.ts +4 -4
- package/forms/src/misc/formModel/decorators/required.decorator.d.ts +4 -4
- package/forms/src/misc/formModel/decorators/requiredIf.decorator.d.ts +5 -5
- package/forms/src/misc/formModel/decorators/validator.decorator.d.ts +7 -7
- package/forms/src/misc/formModel/index.d.ts +7 -7
- package/forms/src/misc/formModel/interfaces/modelDecoratorMetadata.d.ts +20 -20
- package/forms/src/misc/formModel/interfaces/modelPropertyDecoratorMetadata.d.ts +40 -40
- package/forms/src/misc/formModel/interfaces/validator.interface.d.ts +22 -22
- package/forms/src/misc/formModel/misc/currentValue.d.ts +17 -17
- package/forms/src/misc/formModel/misc/defaults.d.ts +5 -5
- package/forms/src/misc/formModel/misc/utils.d.ts +8 -8
- package/forms/src/misc/formModel/misc/utils.d.ts.map +1 -1
- package/forms/src/misc/formModel/misc/validatorFactories.d.ts +32 -32
- package/forms/src/misc/types.d.ts +6 -6
- package/forms/src/misc/utils.d.ts +41 -42
- package/forms/src/misc/utils.d.ts.map +1 -1
- package/forms/src/misc/validators.d.ts +21 -21
- package/forms/src/modules/hasError.module.d.ts +5 -11
- package/forms/src/modules/hasError.module.d.ts.map +1 -1
- package/forms/src/modules/hasError.module.ngfactory.d.ts.map +1 -0
- package/forms/src/modules/numberInput.module.d.ts +5 -13
- package/forms/src/modules/numberInput.module.d.ts.map +1 -1
- package/forms/src/modules/numberInput.module.ngfactory.d.ts.map +1 -0
- package/forms/src/modules/requiredClass.module.d.ts +5 -10
- package/forms/src/modules/requiredClass.module.d.ts.map +1 -1
- package/forms/src/modules/requiredClass.module.ngfactory.d.ts.map +1 -0
- package/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.interface.d.ts +13 -13
- package/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.d.ts +25 -28
- package/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.d.ts.map +1 -1
- package/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.ngfactory.d.ts.map +1 -0
- package/forms/src/services/submitted/submitted.service.d.ts +27 -30
- package/forms/src/services/submitted/submitted.service.d.ts.map +1 -1
- package/forms/src/services/submitted/submitted.service.ngfactory.d.ts.map +1 -0
- package/forms/src/services/validationErrorRenderer/validationErrorRenderer.interface.d.ts +105 -105
- package/forms/src/services/validationErrorRenderer/validationErrorRenderer.interface.d.ts.map +1 -1
- package/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.d.ts +106 -109
- package/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.d.ts.map +1 -1
- package/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.ngfactory.d.ts.map +1 -0
- package/hmr/dist/es2015/hmr/index.js +10 -0
- package/hmr/dist/es2015/hmr/public_api.js +7 -0
- package/hmr/dist/es2015/hmr/src/hmr.js +84 -0
- package/hmr/dist/es5/hmr/index.js +10 -0
- package/hmr/dist/es5/hmr/public_api.js +7 -0
- package/hmr/dist/es5/hmr/src/hmr.js +85 -0
- package/hmr/index.d.ts +5 -0
- package/hmr/index.d.ts.map +1 -0
- package/hmr/index.metadata.json +1 -0
- package/hmr/package.json +6 -7
- package/hmr/public_api.d.ts +2 -0
- package/hmr/public_api.d.ts.map +1 -0
- package/hmr/src/hmr.d.ts +13 -0
- package/hmr/src/hmr.d.ts.map +1 -0
- package/hotkeys/dist/es2015/hotkeys/index.js +10 -0
- package/hotkeys/dist/es2015/hotkeys/public_api.js +7 -0
- package/hotkeys/dist/es2015/hotkeys/src/hotkeys.js +7 -0
- package/hotkeys/dist/es2015/hotkeys/src/services/appHotkeys.service.js +205 -0
- package/hotkeys/dist/es5/hotkeys/index.js +10 -0
- package/hotkeys/dist/es5/hotkeys/public_api.js +7 -0
- package/hotkeys/dist/es5/hotkeys/src/hotkeys.js +7 -0
- package/hotkeys/dist/es5/hotkeys/src/services/appHotkeys.service.js +241 -0
- package/hotkeys/index.d.ts +5 -0
- package/hotkeys/index.d.ts.map +1 -0
- package/hotkeys/index.metadata.json +1 -0
- package/hotkeys/package.json +6 -7
- package/hotkeys/public_api.d.ts +2 -0
- package/hotkeys/public_api.d.ts.map +1 -0
- package/hotkeys/src/hotkeys.d.ts +2 -0
- package/hotkeys/src/hotkeys.d.ts.map +1 -0
- package/hotkeys/src/services/appHotkeys.service.d.ts +43 -50
- package/hotkeys/src/services/appHotkeys.service.d.ts.map +1 -1
- package/material/dist/es2015/material/index.js +11 -0
- package/material/dist/es2015/material/public_api.js +7 -0
- package/material/dist/es2015/material/src/components/confirmationDialog/confirmationDialog.component.js +66 -0
- package/material/dist/es2015/material/src/components/titledDialog/titledDialog.component.js +65 -0
- package/material/dist/es2015/material/src/directives/confirmationDialog/confirmationDialog.directive.js +163 -0
- package/material/dist/es2015/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +70 -0
- package/material/dist/es2015/material/src/material.js +15 -0
- package/material/dist/es2015/material/src/misc/interfaces/confirmationDialog.interface.js +65 -0
- package/material/dist/es2015/material/src/misc/interfaces/titledDialog.interface.js +47 -0
- package/material/dist/es2015/material/src/misc/tokens.js +12 -0
- package/material/dist/es2015/material/src/modules/confirmationDialog.module.js +33 -0
- package/material/dist/es2015/material/src/modules/debugDataCopyClick.module.js +26 -0
- package/material/dist/es2015/material/src/modules/titledDialog.module.js +30 -0
- package/material/dist/es2015/material/src/services/titledDialog/titledDialog.service.js +55 -0
- package/material/dist/es5/material/index.js +11 -0
- package/material/dist/es5/material/public_api.js +7 -0
- package/material/dist/es5/material/src/components/confirmationDialog/confirmationDialog.component.js +63 -0
- package/material/dist/es5/material/src/components/titledDialog/titledDialog.component.js +66 -0
- package/material/dist/es5/material/src/directives/confirmationDialog/confirmationDialog.directive.js +208 -0
- package/material/dist/es5/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +83 -0
- package/material/dist/es5/material/src/material.js +15 -0
- package/material/dist/es5/material/src/misc/interfaces/confirmationDialog.interface.js +65 -0
- package/material/dist/es5/material/src/misc/interfaces/titledDialog.interface.js +47 -0
- package/material/dist/es5/material/src/misc/tokens.js +12 -0
- package/material/dist/es5/material/src/modules/confirmationDialog.module.js +37 -0
- package/material/dist/es5/material/src/modules/debugDataCopyClick.module.js +30 -0
- package/material/dist/es5/material/src/modules/titledDialog.module.js +34 -0
- package/material/dist/es5/material/src/services/titledDialog/titledDialog.service.js +70 -0
- package/material/index.d.ts +7 -0
- package/material/index.d.ts.map +1 -0
- package/material/index.metadata.json +1 -0
- package/material/package.json +6 -7
- package/material/public_api.d.ts +2 -0
- package/material/public_api.d.ts.map +1 -0
- package/material/src/components/confirmationDialog/confirmationDialog.component.d.ts +14 -17
- package/material/src/components/confirmationDialog/confirmationDialog.component.d.ts.map +1 -1
- package/material/src/components/confirmationDialog/confirmationDialog.component.ngfactory.d.ts.map +1 -0
- package/material/src/components/titledDialog/titledDialog.component.css.shim.ngstyle.d.ts.map +1 -0
- package/material/src/components/titledDialog/titledDialog.component.d.ts +17 -20
- package/material/src/components/titledDialog/titledDialog.component.d.ts.map +1 -1
- package/material/src/components/titledDialog/titledDialog.component.ngfactory.d.ts.map +1 -0
- package/material/src/directives/confirmationDialog/confirmationDialog.directive.d.ts +46 -49
- package/material/src/directives/confirmationDialog/confirmationDialog.directive.d.ts.map +1 -1
- package/material/src/directives/confirmationDialog/confirmationDialog.directive.ngfactory.d.ts.map +1 -0
- package/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.d.ts +24 -27
- package/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.d.ts.map +1 -1
- package/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.ngfactory.d.ts.map +1 -0
- package/material/src/material.d.ts +11 -0
- package/material/src/material.d.ts.map +1 -0
- package/material/src/misc/interfaces/confirmationDialog.interface.d.ts +46 -46
- package/material/src/misc/interfaces/titledDialog.interface.d.ts +33 -33
- package/material/src/misc/tokens.d.ts +6 -6
- package/material/src/modules/confirmationDialog.module.d.ts +5 -14
- package/material/src/modules/confirmationDialog.module.d.ts.map +1 -1
- package/material/src/modules/confirmationDialog.module.ngfactory.d.ts.map +1 -0
- package/material/src/modules/debugDataCopyClick.module.d.ts +5 -11
- package/material/src/modules/debugDataCopyClick.module.d.ts.map +1 -1
- package/material/src/modules/debugDataCopyClick.module.ngfactory.d.ts.map +1 -0
- package/material/src/modules/titledDialog.module.d.ts +5 -12
- package/material/src/modules/titledDialog.module.d.ts.map +1 -1
- package/material/src/modules/titledDialog.module.ngfactory.d.ts.map +1 -0
- package/material/src/services/titledDialog/titledDialog.service.d.ts +18 -21
- package/material/src/services/titledDialog/titledDialog.service.d.ts.map +1 -1
- package/material/src/services/titledDialog/titledDialog.service.ngfactory.d.ts.map +1 -0
- package/moment/dist/es2015/forms/src/directives/groupHasError/groupHasError.directive.js +128 -0
- package/moment/dist/es2015/forms/src/directives/hasError/hasError.directive.js +300 -0
- package/moment/dist/es2015/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +104 -0
- package/moment/dist/es2015/forms/src/directives/numberInput/minValueNumberValidator.directive.js +104 -0
- package/moment/dist/es2015/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +125 -0
- package/moment/dist/es2015/forms/src/directives/numberInput/numberInputValidator.directive.js +41 -0
- package/moment/dist/es2015/forms/src/directives/requiredClass/requiredClass.directive.js +89 -0
- package/moment/dist/es2015/forms/src/forms.js +25 -0
- package/moment/dist/es2015/forms/src/misc/formModel/decorators/asyncValidator.decorator.js +17 -0
- package/moment/dist/es2015/forms/src/misc/formModel/decorators/controlOptions.decorator.js +17 -0
- package/moment/dist/es2015/forms/src/misc/formModel/decorators/disabled.decorator.js +16 -0
- package/moment/dist/es2015/forms/src/misc/formModel/decorators/email.decorator.js +17 -0
- package/moment/dist/es2015/forms/src/misc/formModel/decorators/formArrayProperty.decorator.js +17 -0
- package/moment/dist/es2015/forms/src/misc/formModel/decorators/formGroupAsyncValidator.decorator.js +34 -0
- package/moment/dist/es2015/forms/src/misc/formModel/decorators/formGroupProperty.decorator.js +17 -0
- package/moment/dist/es2015/forms/src/misc/formModel/decorators/formGroupValidator.decorator.js +34 -0
- package/moment/dist/es2015/forms/src/misc/formModel/decorators/index.js +25 -0
- package/moment/dist/es2015/forms/src/misc/formModel/decorators/invalidateOnChange.decorator.js +60 -0
- package/moment/dist/es2015/forms/src/misc/formModel/decorators/maxLength.decorator.js +18 -0
- package/moment/dist/es2015/forms/src/misc/formModel/decorators/maxValue.decorator.js +18 -0
- package/moment/dist/es2015/forms/src/misc/formModel/decorators/minLength.decorator.js +18 -0
- package/moment/dist/es2015/forms/src/misc/formModel/decorators/minValue.decorator.js +18 -0
- package/moment/dist/es2015/forms/src/misc/formModel/decorators/modelPropertyMetadata.decorator.js +52 -0
- package/moment/dist/es2015/forms/src/misc/formModel/decorators/number.decorator.js +17 -0
- package/moment/dist/es2015/forms/src/misc/formModel/decorators/pattern.decorator.js +18 -0
- package/moment/dist/es2015/forms/src/misc/formModel/decorators/required.decorator.js +17 -0
- package/moment/dist/es2015/forms/src/misc/formModel/decorators/requiredIf.decorator.js +39 -0
- package/moment/dist/es2015/forms/src/misc/formModel/decorators/validator.decorator.js +17 -0
- package/moment/dist/es2015/forms/src/misc/formModel/index.js +13 -0
- package/moment/dist/es2015/forms/src/misc/formModel/interfaces/modelDecoratorMetadata.js +29 -0
- package/moment/dist/es2015/forms/src/misc/formModel/interfaces/modelPropertyDecoratorMetadata.js +49 -0
- package/moment/dist/es2015/forms/src/misc/formModel/interfaces/validator.interface.js +18 -0
- package/moment/dist/es2015/forms/src/misc/formModel/misc/currentValue.js +40 -0
- package/moment/dist/es2015/forms/src/misc/formModel/misc/defaults.js +19 -0
- package/moment/dist/es2015/forms/src/misc/formModel/misc/utils.js +134 -0
- package/moment/dist/es2015/forms/src/misc/formModel/misc/validatorFactories.js +64 -0
- package/moment/dist/es2015/forms/src/misc/types.js +12 -0
- package/moment/dist/es2015/forms/src/misc/utils.js +135 -0
- package/moment/dist/es2015/forms/src/misc/validators.js +65 -0
- package/moment/dist/es2015/forms/src/modules/hasError.module.js +22 -0
- package/moment/dist/es2015/forms/src/modules/numberInput.module.js +28 -0
- package/moment/dist/es2015/forms/src/modules/requiredClass.module.js +19 -0
- package/moment/dist/es2015/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.interface.js +23 -0
- package/moment/dist/es2015/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +107 -0
- package/moment/dist/es2015/forms/src/services/submitted/submitted.service.js +69 -0
- package/moment/dist/es2015/forms/src/services/validationErrorRenderer/validationErrorRenderer.interface.js +109 -0
- package/moment/dist/es2015/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +371 -0
- package/moment/dist/es2015/moment/index.js +12 -0
- package/moment/dist/es2015/moment/public_api.js +7 -0
- package/moment/dist/es2015/moment/src/misc/utils.js +41 -0
- package/moment/dist/es2015/moment/src/modules/moment.module.js +26 -0
- package/moment/dist/es2015/moment/src/moment.js +8 -0
- package/moment/dist/es2015/moment/src/pipes/momentConvert/momentConvert.pipe.js +34 -0
- package/moment/dist/es2015/moment/src/pipes/momentFormat/momentFormat.pipe.js +38 -0
- package/moment/dist/es5/forms/src/directives/groupHasError/groupHasError.directive.js +159 -0
- package/moment/dist/es5/forms/src/directives/hasError/hasError.directive.js +368 -0
- package/moment/dist/es5/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +123 -0
- package/moment/dist/es5/forms/src/directives/numberInput/minValueNumberValidator.directive.js +123 -0
- package/moment/dist/es5/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +150 -0
- package/moment/dist/es5/forms/src/directives/numberInput/numberInputValidator.directive.js +58 -0
- package/moment/dist/es5/forms/src/directives/requiredClass/requiredClass.directive.js +105 -0
- package/moment/dist/es5/forms/src/forms.js +25 -0
- package/moment/dist/es5/forms/src/misc/formModel/decorators/asyncValidator.decorator.js +17 -0
- package/moment/dist/es5/forms/src/misc/formModel/decorators/controlOptions.decorator.js +17 -0
- package/moment/dist/es5/forms/src/misc/formModel/decorators/disabled.decorator.js +16 -0
- package/moment/dist/es5/forms/src/misc/formModel/decorators/email.decorator.js +17 -0
- package/moment/dist/es5/forms/src/misc/formModel/decorators/formArrayProperty.decorator.js +17 -0
- package/moment/dist/es5/forms/src/misc/formModel/decorators/formGroupAsyncValidator.decorator.js +34 -0
- package/moment/dist/es5/forms/src/misc/formModel/decorators/formGroupProperty.decorator.js +17 -0
- package/moment/dist/es5/forms/src/misc/formModel/decorators/formGroupValidator.decorator.js +34 -0
- package/moment/dist/es5/forms/src/misc/formModel/decorators/index.js +25 -0
- package/moment/dist/es5/forms/src/misc/formModel/decorators/invalidateOnChange.decorator.js +60 -0
- package/moment/dist/es5/forms/src/misc/formModel/decorators/maxLength.decorator.js +18 -0
- package/moment/dist/es5/forms/src/misc/formModel/decorators/maxValue.decorator.js +18 -0
- package/moment/dist/es5/forms/src/misc/formModel/decorators/minLength.decorator.js +18 -0
- package/moment/dist/es5/forms/src/misc/formModel/decorators/minValue.decorator.js +18 -0
- package/moment/dist/es5/forms/src/misc/formModel/decorators/modelPropertyMetadata.decorator.js +62 -0
- package/moment/dist/es5/forms/src/misc/formModel/decorators/number.decorator.js +17 -0
- package/moment/dist/es5/forms/src/misc/formModel/decorators/pattern.decorator.js +18 -0
- package/moment/dist/es5/forms/src/misc/formModel/decorators/required.decorator.js +17 -0
- package/moment/dist/es5/forms/src/misc/formModel/decorators/requiredIf.decorator.js +39 -0
- package/moment/dist/es5/forms/src/misc/formModel/decorators/validator.decorator.js +17 -0
- package/moment/dist/es5/forms/src/misc/formModel/index.js +13 -0
- package/moment/dist/es5/forms/src/misc/formModel/interfaces/modelDecoratorMetadata.js +29 -0
- package/moment/dist/es5/forms/src/misc/formModel/interfaces/modelPropertyDecoratorMetadata.js +49 -0
- package/moment/dist/es5/forms/src/misc/formModel/interfaces/validator.interface.js +18 -0
- package/moment/dist/es5/forms/src/misc/formModel/misc/currentValue.js +50 -0
- package/moment/dist/es5/forms/src/misc/formModel/misc/defaults.js +19 -0
- package/moment/dist/es5/forms/src/misc/formModel/misc/utils.js +150 -0
- package/moment/dist/es5/forms/src/misc/formModel/misc/validatorFactories.js +104 -0
- package/moment/dist/es5/forms/src/misc/types.js +12 -0
- package/moment/dist/es5/forms/src/misc/utils.js +139 -0
- package/moment/dist/es5/forms/src/misc/validators.js +102 -0
- package/moment/dist/es5/forms/src/modules/hasError.module.js +26 -0
- package/moment/dist/es5/forms/src/modules/numberInput.module.js +32 -0
- package/moment/dist/es5/forms/src/modules/requiredClass.module.js +23 -0
- package/moment/dist/es5/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.interface.js +23 -0
- package/moment/dist/es5/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +120 -0
- package/moment/dist/es5/forms/src/services/submitted/submitted.service.js +100 -0
- package/moment/dist/es5/forms/src/services/validationErrorRenderer/validationErrorRenderer.interface.js +109 -0
- package/moment/dist/es5/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +492 -0
- package/moment/dist/es5/moment/index.js +12 -0
- package/moment/dist/es5/moment/public_api.js +7 -0
- package/moment/dist/es5/moment/src/misc/utils.js +42 -0
- package/moment/dist/es5/moment/src/modules/moment.module.js +30 -0
- package/moment/dist/es5/moment/src/moment.js +8 -0
- package/moment/dist/es5/moment/src/pipes/momentConvert/momentConvert.pipe.js +50 -0
- package/moment/dist/es5/moment/src/pipes/momentFormat/momentFormat.pipe.js +57 -0
- package/moment/index.d.ts +7 -0
- package/moment/index.d.ts.map +1 -0
- package/moment/index.metadata.json +1 -0
- package/moment/package.json +6 -7
- package/moment/public_api.d.ts +2 -0
- package/moment/public_api.d.ts.map +1 -0
- package/moment/src/misc/utils.d.ts +7 -7
- package/moment/src/modules/moment.module.d.ts +5 -11
- package/moment/src/modules/moment.module.d.ts.map +1 -1
- package/moment/src/modules/moment.module.ngfactory.d.ts.map +1 -0
- package/moment/src/moment.d.ts +3 -0
- package/moment/src/moment.d.ts.map +1 -0
- package/moment/src/pipes/momentConvert/momentConvert.pipe.d.ts +12 -15
- package/moment/src/pipes/momentConvert/momentConvert.pipe.d.ts.map +1 -1
- package/moment/src/pipes/momentConvert/momentConvert.pipe.ngfactory.d.ts.map +1 -0
- package/moment/src/pipes/momentFormat/momentFormat.pipe.d.ts +13 -16
- package/moment/src/pipes/momentFormat/momentFormat.pipe.d.ts.map +1 -1
- package/moment/src/pipes/momentFormat/momentFormat.pipe.ngfactory.d.ts.map +1 -0
- package/numeral/dist/es2015/numeral/index.js +10 -0
- package/numeral/dist/es2015/numeral/public_api.js +7 -0
- package/numeral/dist/es2015/numeral/src/modules/numeral.module.js +19 -0
- package/numeral/dist/es2015/numeral/src/numeral.js +8 -0
- package/numeral/dist/es2015/numeral/src/pipes/numeral.pipe.js +70 -0
- package/numeral/dist/es5/numeral/index.js +10 -0
- package/numeral/dist/es5/numeral/public_api.js +7 -0
- package/numeral/dist/es5/numeral/src/modules/numeral.module.js +23 -0
- package/numeral/dist/es5/numeral/src/numeral.js +8 -0
- package/numeral/dist/es5/numeral/src/pipes/numeral.pipe.js +93 -0
- package/numeral/index.d.ts +5 -0
- package/numeral/index.d.ts.map +1 -0
- package/numeral/index.metadata.json +1 -0
- package/numeral/package.json +6 -7
- package/numeral/public_api.d.ts +2 -0
- package/numeral/public_api.d.ts.map +1 -0
- package/numeral/src/modules/numeral.module.d.ts +5 -10
- package/numeral/src/modules/numeral.module.d.ts.map +1 -1
- package/numeral/src/modules/numeral.module.ngfactory.d.ts.map +1 -0
- package/numeral/src/numeral.d.ts +3 -0
- package/numeral/src/numeral.d.ts.map +1 -0
- package/numeral/src/pipes/numeral.pipe.d.ts +22 -25
- package/numeral/src/pipes/numeral.pipe.d.ts.map +1 -1
- package/numeral/src/pipes/numeral.pipe.ngfactory.d.ts.map +1 -0
- package/package.json +89 -200
- package/positions/dist/es2015/positions/index.js +10 -0
- package/positions/dist/es2015/positions/public_api.js +7 -0
- package/positions/dist/es2015/positions/src/misc/utils.js +148 -0
- package/positions/dist/es2015/positions/src/modules/positions/directives/positionTo/positionTo.directive.js +99 -0
- package/positions/dist/es2015/positions/src/modules/positions/modules/positions.module.js +24 -0
- package/positions/dist/es2015/positions/src/modules/tooltip/components/tooltip/tooltip.component.js +161 -0
- package/positions/dist/es2015/positions/src/modules/tooltip/directives/tooltip/tooltip.directive.js +352 -0
- package/positions/dist/es2015/positions/src/modules/tooltip/misc/tokens.js +12 -0
- package/positions/dist/es2015/positions/src/modules/tooltip/misc/tooltip.interface.js +94 -0
- package/positions/dist/es2015/positions/src/modules/tooltip/modules/tooltip.module.js +29 -0
- package/positions/dist/es2015/positions/src/positions.js +14 -0
- package/positions/dist/es5/positions/index.js +10 -0
- package/positions/dist/es5/positions/public_api.js +7 -0
- package/positions/dist/es5/positions/src/misc/utils.js +151 -0
- package/positions/dist/es5/positions/src/modules/positions/directives/positionTo/positionTo.directive.js +109 -0
- package/positions/dist/es5/positions/src/modules/positions/modules/positions.module.js +28 -0
- package/positions/dist/es5/positions/src/modules/tooltip/components/tooltip/tooltip.component.js +201 -0
- package/positions/dist/es5/positions/src/modules/tooltip/directives/tooltip/tooltip.directive.js +448 -0
- package/positions/dist/es5/positions/src/modules/tooltip/misc/tokens.js +12 -0
- package/positions/dist/es5/positions/src/modules/tooltip/misc/tooltip.interface.js +94 -0
- package/positions/dist/es5/positions/src/modules/tooltip/modules/tooltip.module.js +33 -0
- package/positions/dist/es5/positions/src/positions.js +14 -0
- package/positions/index.d.ts +5 -0
- package/positions/index.d.ts.map +1 -0
- package/positions/index.metadata.json +1 -0
- package/positions/package.json +6 -7
- package/positions/public_api.d.ts +2 -0
- package/positions/public_api.d.ts.map +1 -0
- package/positions/src/misc/utils.d.ts +21 -21
- package/positions/src/misc/utils.d.ts.map +1 -1
- package/positions/src/modules/positions/directives/positionTo/positionTo.directive.d.ts +30 -33
- package/positions/src/modules/positions/directives/positionTo/positionTo.directive.d.ts.map +1 -1
- package/positions/src/modules/positions/modules/positions.module.d.ts +5 -10
- package/positions/src/modules/positions/modules/positions.module.d.ts.map +1 -1
- package/positions/src/modules/tooltip/components/tooltip/tooltip.component.d.ts +59 -62
- package/positions/src/modules/tooltip/components/tooltip/tooltip.component.d.ts.map +1 -1
- package/positions/src/modules/tooltip/directives/tooltip/tooltip.directive.d.ts +102 -105
- package/positions/src/modules/tooltip/directives/tooltip/tooltip.directive.d.ts.map +1 -1
- package/positions/src/modules/tooltip/misc/tokens.d.ts +6 -6
- package/positions/src/modules/tooltip/misc/tooltip.interface.d.ts +70 -70
- package/positions/src/modules/tooltip/misc/tooltip.interface.d.ts.map +1 -1
- package/positions/src/modules/tooltip/modules/tooltip.module.d.ts +5 -12
- package/positions/src/modules/tooltip/modules/tooltip.module.d.ts.map +1 -1
- package/positions/src/positions.d.ts +9 -0
- package/positions/src/positions.d.ts.map +1 -0
- package/public_api.d.ts +2 -0
- package/public_api.d.ts.map +1 -0
- package/router/dist/es2015/router/index.js +10 -0
- package/router/dist/es2015/router/public_api.js +7 -0
- package/router/dist/es2015/router/src/decorators/componentRedirectRoute.decorator.js +67 -0
- package/router/dist/es2015/router/src/decorators/componentRoute.decorator.js +46 -0
- package/router/dist/es2015/router/src/decorators/moduleRoutes.decorator.js +96 -0
- package/router/dist/es2015/router/src/misc/utils.js +49 -0
- package/router/dist/es2015/router/src/router.js +12 -0
- package/router/dist/es2015/router/src/services/routing/dataRouter.js +130 -0
- package/router/dist/es2015/router/src/services/routing/dataRouterData.js +35 -0
- package/router/dist/es5/router/index.js +10 -0
- package/router/dist/es5/router/public_api.js +7 -0
- package/router/dist/es5/router/src/decorators/componentRedirectRoute.decorator.js +67 -0
- package/router/dist/es5/router/src/decorators/componentRoute.decorator.js +46 -0
- package/router/dist/es5/router/src/decorators/moduleRoutes.decorator.js +96 -0
- package/router/dist/es5/router/src/misc/utils.js +49 -0
- package/router/dist/es5/router/src/router.js +12 -0
- package/router/dist/es5/router/src/services/routing/dataRouter.js +154 -0
- package/router/dist/es5/router/src/services/routing/dataRouterData.js +34 -0
- package/router/index.d.ts +5 -0
- package/router/index.d.ts.map +1 -0
- package/router/index.metadata.json +1 -0
- package/router/package.json +6 -7
- package/router/public_api.d.ts +2 -0
- package/router/public_api.d.ts.map +1 -0
- package/router/src/decorators/componentRedirectRoute.decorator.d.ts +18 -18
- package/router/src/decorators/componentRoute.decorator.d.ts +15 -19
- package/router/src/decorators/componentRoute.decorator.d.ts.map +1 -1
- package/router/src/decorators/moduleRoutes.decorator.d.ts +38 -38
- package/router/src/misc/utils.d.ts +7 -7
- package/router/src/router.d.ts +7 -0
- package/router/src/router.d.ts.map +1 -0
- package/router/src/services/routing/dataRouter.d.ts +31 -34
- package/router/src/services/routing/dataRouter.d.ts.map +1 -1
- package/router/src/services/routing/dataRouterData.d.ts +12 -15
- package/router/src/services/routing/dataRouterData.d.ts.map +1 -1
- package/src/common.d.ts +39 -0
- package/src/common.d.ts.map +1 -0
- package/src/decorators/hmrData.decorator.d.ts +7 -0
- package/src/decorators/hmrData.decorator.d.ts.map +1 -0
- package/src/decorators/hmrServiceData.decorator.d.ts +7 -0
- package/src/decorators/hmrServiceData.decorator.d.ts.map +1 -0
- package/src/decorators/hmrServiceDataConstructor.decorator.d.ts +7 -0
- package/src/decorators/hmrServiceDataConstructor.decorator.d.ts.map +1 -0
- package/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.d.ts +42 -36
- package/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.d.ts.map +1 -1
- package/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.ngfactory.d.ts.map +1 -0
- package/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.d.ts +34 -37
- package/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.d.ts.map +1 -1
- package/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.ngfactory.d.ts.map +1 -0
- package/src/modules/clickOutside/modules/clickOutside.module.d.ts +5 -10
- package/src/modules/clickOutside/modules/clickOutside.module.d.ts.map +1 -1
- package/src/modules/clickOutside/modules/clickOutside.module.ngfactory.d.ts.map +1 -0
- package/src/modules/common.module.d.ts +6 -0
- package/src/modules/common.module.d.ts.map +1 -0
- package/src/modules/common.module.ngfactory.d.ts.map +1 -0
- package/src/modules/debugData/components/debugData/debugData.component.css.shim.ngstyle.d.ts.map +1 -0
- package/src/modules/debugData/components/debugData/debugData.component.d.ts +34 -37
- package/src/modules/debugData/components/debugData/debugData.component.d.ts.map +1 -1
- package/src/modules/debugData/components/debugData/debugData.component.ngfactory.d.ts.map +1 -0
- package/src/modules/debugData/modules/debugData.module.d.ts +5 -11
- package/src/modules/debugData/modules/debugData.module.d.ts.map +1 -1
- package/src/modules/debugData/modules/debugData.module.ngfactory.d.ts.map +1 -0
- package/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.d.ts +27 -30
- package/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.d.ts.map +1 -1
- package/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.ngfactory.d.ts.map +1 -0
- package/src/modules/multiButton/components/multiButton/multiButton.component.css.shim.ngstyle.d.ts.map +1 -0
- package/src/modules/multiButton/components/multiButton/multiButton.component.d.ts +58 -61
- package/src/modules/multiButton/components/multiButton/multiButton.component.d.ts.map +1 -1
- package/src/modules/multiButton/components/multiButton/multiButton.component.ngfactory.d.ts.map +1 -0
- package/src/modules/multiButton/components/multiButton/multiButton.interface.d.ts +29 -29
- package/src/modules/multiButton/components/multiButton/multiButton.interface.d.ts.map +1 -1
- package/src/modules/multiButton/misc/tokens.d.ts +6 -6
- package/src/modules/multiButton/modules/multiButton.module.d.ts +5 -11
- package/src/modules/multiButton/modules/multiButton.module.d.ts.map +1 -1
- package/src/modules/multiButton/modules/multiButton.module.ngfactory.d.ts.map +1 -0
- package/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.css.shim.ngstyle.d.ts.map +1 -0
- package/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.d.ts +38 -41
- package/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.d.ts.map +1 -1
- package/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.ngfactory.d.ts.map +1 -0
- package/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.d.ts +65 -68
- package/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.d.ts.map +1 -1
- package/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.ngfactory.d.ts.map +1 -0
- package/src/modules/progressIndicator/interceptors/progressInterceptor.d.ts +25 -24
- package/src/modules/progressIndicator/interceptors/progressInterceptor.d.ts.map +1 -1
- package/src/modules/progressIndicator/interceptors/progressInterceptor.ngfactory.d.ts.map +1 -0
- package/src/modules/progressIndicator/misc/types.d.ts +10 -0
- package/src/modules/progressIndicator/misc/types.d.ts.map +1 -0
- package/src/modules/progressIndicator/modules/progressIndicator.module.d.ts +5 -13
- package/src/modules/progressIndicator/modules/progressIndicator.module.d.ts.map +1 -1
- package/src/modules/progressIndicator/modules/progressIndicator.module.ngfactory.d.ts.map +1 -0
- package/src/modules/progressIndicator/services/progressIndicator.service.d.ts +135 -138
- package/src/modules/progressIndicator/services/progressIndicator.service.d.ts.map +1 -1
- package/src/modules/progressIndicator/services/progressIndicator.service.ngfactory.d.ts.map +1 -0
- package/src/modules/progressIndicator/services/progressIndicatorOptions.d.ts +14 -14
- package/src/pipes/isNaN/isNaN.pipe.d.ts +11 -14
- package/src/pipes/isNaN/isNaN.pipe.d.ts.map +1 -1
- package/src/pipes/isNaN/isNaN.pipe.ngfactory.d.ts.map +1 -0
- package/src/pipes/isPresent/isPresent.pipe.d.ts +11 -14
- package/src/pipes/isPresent/isPresent.pipe.d.ts.map +1 -1
- package/src/pipes/isPresent/isPresent.pipe.ngfactory.d.ts.map +1 -0
- package/src/pipes/localize/localize.pipe.d.ts +28 -31
- package/src/pipes/localize/localize.pipe.d.ts.map +1 -1
- package/src/pipes/localize/localize.pipe.ngfactory.d.ts.map +1 -0
- package/src/pipes/urlEncode/urlEncode.pipe.d.ts +11 -14
- package/src/pipes/urlEncode/urlEncode.pipe.d.ts.map +1 -1
- package/src/pipes/urlEncode/urlEncode.pipe.ngfactory.d.ts.map +1 -0
- package/src/services/cookies/cookies.service.d.ts +38 -41
- package/src/services/cookies/cookies.service.d.ts.map +1 -1
- package/src/services/cookies/cookies.service.ngfactory.d.ts.map +1 -0
- package/src/services/globalization/globalization.service.d.ts +14 -14
- package/src/services/ignoredInterceptors/ignoredInterceptors.service.d.ts +36 -0
- package/src/services/ignoredInterceptors/ignoredInterceptors.service.d.ts.map +1 -0
- package/src/services/ignoredInterceptors/ignoredInterceptors.service.ngfactory.d.ts.map +1 -0
- package/src/services/logger/index.d.ts +2 -2
- package/src/services/logger/logger.interface.d.ts +83 -83
- package/src/services/logger/logger.interface.d.ts.map +1 -1
- package/src/services/logger/logger.service.d.ts +84 -84
- package/src/services/logger/logger.service.d.ts.map +1 -1
- package/src/services/notifications/defaultNotifications.service.d.ts +96 -99
- package/src/services/notifications/defaultNotifications.service.d.ts.map +1 -1
- package/src/services/notifications/defaultNotifications.service.ngfactory.d.ts.map +1 -0
- package/src/services/notifications/index.d.ts +3 -3
- package/src/services/notifications/notifications.interface.d.ts +142 -142
- package/src/services/notifications/notificationsOptions.d.ts +10 -10
- package/src/services/permanentStorage/cookiePermanentStorage.service.d.ts +32 -35
- package/src/services/permanentStorage/cookiePermanentStorage.service.d.ts.map +1 -1
- package/src/services/permanentStorage/cookiePermanentStorage.service.ngfactory.d.ts.map +1 -0
- package/src/services/permanentStorage/index.d.ts +2 -2
- package/src/services/permanentStorage/permanentStorage.interface.d.ts +28 -28
- package/src/services/permanentStorage/permanentStorage.interface.d.ts.map +1 -1
- package/src/services/positioning/index.d.ts +2 -0
- package/src/services/positioning/index.d.ts.map +1 -0
- package/src/services/positioning/positioning.interface.d.ts +6 -0
- package/src/services/positioning/positioning.interface.d.ts.map +1 -0
- package/src/services/statusCode/statusCode.service.d.ts +18 -21
- package/src/services/statusCode/statusCode.service.d.ts.map +1 -1
- package/src/services/statusCode/statusCode.service.ngfactory.d.ts.map +1 -0
- package/src/services/stringLocalization/index.d.ts +2 -2
- package/src/services/stringLocalization/noStringLocalization.service.d.ts +21 -25
- package/src/services/stringLocalization/noStringLocalization.service.d.ts.map +1 -1
- package/src/services/stringLocalization/noStringLocalization.service.ngfactory.d.ts.map +1 -0
- package/src/services/stringLocalization/stringLocalization.interface.d.ts +16 -16
- package/src/services/temporaryStorage/index.d.ts +2 -2
- package/src/services/temporaryStorage/memoryTemporaryStorage.service.d.ts +26 -29
- package/src/services/temporaryStorage/memoryTemporaryStorage.service.d.ts.map +1 -1
- package/src/services/temporaryStorage/memoryTemporaryStorage.service.ngfactory.d.ts.map +1 -0
- package/src/services/temporaryStorage/temporaryStorage.interface.d.ts +21 -21
- package/src/types/additionalInfo.d.ts +11 -0
- package/src/types/additionalInfo.d.ts.map +1 -0
- package/src/types/tokens.d.ts +47 -52
- package/src/types/tokens.d.ts.map +1 -1
- package/src/utils/httpRequest.extension.d.ts +5 -0
- package/src/utils/httpRequest.extension.d.ts.map +1 -0
- package/src/utils/index.d.ts +23 -23
- package/src/utils/index.d.ts.map +1 -1
- package/store/dist/es2015/store/index.js +10 -0
- package/store/dist/es2015/store/public_api.js +7 -0
- package/store/dist/es2015/store/src/services/index.js +8 -0
- package/store/dist/es2015/store/src/services/permanentStorage/localPermanentStorage.service.js +56 -0
- package/store/dist/es2015/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +43 -0
- package/store/dist/es2015/store/src/store.js +7 -0
- package/store/dist/es5/store/index.js +10 -0
- package/store/dist/es5/store/public_api.js +7 -0
- package/store/dist/es5/store/src/services/index.js +8 -0
- package/store/dist/es5/store/src/services/permanentStorage/localPermanentStorage.service.js +93 -0
- package/store/dist/es5/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +80 -0
- package/store/dist/es5/store/src/store.js +7 -0
- package/store/index.d.ts +5 -0
- package/store/index.d.ts.map +1 -0
- package/store/index.metadata.json +1 -0
- package/store/package.json +6 -7
- package/store/public_api.d.ts +2 -0
- package/store/public_api.d.ts.map +1 -0
- package/store/src/services/index.d.ts +2 -2
- package/store/src/services/permanentStorage/localPermanentStorage.service.d.ts +30 -33
- package/store/src/services/permanentStorage/localPermanentStorage.service.d.ts.map +1 -1
- package/store/src/services/permanentStorage/localPermanentStorage.service.ngfactory.d.ts.map +1 -0
- package/store/src/services/temporaryStorage/sessionTemporaryStorage.service.d.ts +22 -25
- package/store/src/services/temporaryStorage/sessionTemporaryStorage.service.d.ts.map +1 -1
- package/store/src/services/temporaryStorage/sessionTemporaryStorage.service.ngfactory.d.ts.map +1 -0
- package/store/src/store.d.ts +2 -0
- package/store/src/store.d.ts.map +1 -0
- package/structured-log/dist/es2015/structured-log/index.js +10 -0
- package/structured-log/dist/es2015/structured-log/public_api.js +7 -0
- package/structured-log/dist/es2015/structured-log/src/components/console/console.component.animations.js +37 -0
- package/structured-log/dist/es2015/structured-log/src/components/console/console.component.js +156 -0
- package/structured-log/dist/es2015/structured-log/src/misc/utils.js +47 -0
- package/structured-log/dist/es2015/structured-log/src/modules/consoleLog.module.js +43 -0
- package/structured-log/dist/es2015/structured-log/src/services/console/consoleComponentSink.service.js +150 -0
- package/structured-log/dist/es2015/structured-log/src/services/console/consoleSinkConfig.service.js +56 -0
- package/structured-log/dist/es2015/structured-log/src/services/logger.service.js +93 -0
- package/structured-log/dist/es2015/structured-log/src/services/rest/restSink.service.js +176 -0
- package/structured-log/dist/es2015/structured-log/src/services/rest/restSinkConfig.service.js +67 -0
- package/structured-log/dist/es2015/structured-log/src/structured-log.js +17 -0
- package/structured-log/dist/es2015/structured-log/src/types/logger.interface.js +85 -0
- package/structured-log/dist/es2015/structured-log/src/types/tokens.js +70 -0
- package/structured-log/dist/es5/structured-log/index.js +10 -0
- package/structured-log/dist/es5/structured-log/public_api.js +7 -0
- package/structured-log/dist/es5/structured-log/src/components/console/console.component.animations.js +37 -0
- package/structured-log/dist/es5/structured-log/src/components/console/console.component.js +209 -0
- package/structured-log/dist/es5/structured-log/src/misc/utils.js +47 -0
- package/structured-log/dist/es5/structured-log/src/modules/consoleLog.module.js +57 -0
- package/structured-log/dist/es5/structured-log/src/services/console/consoleComponentSink.service.js +198 -0
- package/structured-log/dist/es5/structured-log/src/services/console/consoleSinkConfig.service.js +58 -0
- package/structured-log/dist/es5/structured-log/src/services/logger.service.js +146 -0
- package/structured-log/dist/es5/structured-log/src/services/rest/restSink.service.js +216 -0
- package/structured-log/dist/es5/structured-log/src/services/rest/restSinkConfig.service.js +69 -0
- package/structured-log/dist/es5/structured-log/src/structured-log.js +17 -0
- package/structured-log/dist/es5/structured-log/src/types/logger.interface.js +85 -0
- package/structured-log/dist/es5/structured-log/src/types/tokens.js +70 -0
- package/structured-log/index.d.ts +5 -0
- package/structured-log/index.d.ts.map +1 -0
- package/structured-log/index.metadata.json +1 -0
- package/structured-log/package.json +6 -7
- package/structured-log/public_api.d.ts +2 -0
- package/structured-log/public_api.d.ts.map +1 -0
- package/structured-log/src/components/console/console.component.animations.d.ts +4 -4
- package/structured-log/src/components/console/console.component.css.shim.ngstyle.d.ts.map +1 -0
- package/structured-log/src/components/console/console.component.d.ts +51 -54
- package/structured-log/src/components/console/console.component.d.ts.map +1 -1
- package/structured-log/src/components/console/console.component.ngfactory.d.ts.map +1 -0
- package/structured-log/src/misc/utils.d.ts +13 -13
- package/structured-log/src/modules/consoleLog.module.d.ts +10 -16
- package/structured-log/src/modules/consoleLog.module.d.ts.map +1 -1
- package/structured-log/src/modules/consoleLog.module.ngfactory.d.ts.map +1 -0
- package/structured-log/src/services/console/consoleComponentSink.service.d.ts +41 -44
- package/structured-log/src/services/console/consoleComponentSink.service.d.ts.map +1 -1
- package/structured-log/src/services/console/consoleComponentSink.service.ngfactory.d.ts.map +1 -0
- package/structured-log/src/services/console/consoleSinkConfig.service.d.ts +14 -17
- package/structured-log/src/services/console/consoleSinkConfig.service.d.ts.map +1 -1
- package/structured-log/src/services/console/consoleSinkConfig.service.ngfactory.d.ts.map +1 -0
- package/structured-log/src/services/logger.service.d.ts +90 -93
- package/structured-log/src/services/logger.service.d.ts.map +1 -1
- package/structured-log/src/services/logger.service.ngfactory.d.ts.map +1 -0
- package/structured-log/src/services/rest/restSink.service.d.ts +40 -43
- package/structured-log/src/services/rest/restSink.service.d.ts.map +1 -1
- package/structured-log/src/services/rest/restSink.service.ngfactory.d.ts.map +1 -0
- package/structured-log/src/services/rest/restSinkConfig.service.d.ts +18 -21
- package/structured-log/src/services/rest/restSinkConfig.service.d.ts.map +1 -1
- package/structured-log/src/services/rest/restSinkConfig.service.ngfactory.d.ts.map +1 -0
- package/structured-log/src/structured-log.d.ts +12 -0
- package/structured-log/src/structured-log.d.ts.map +1 -0
- package/structured-log/src/types/logger.interface.d.ts +62 -62
- package/structured-log/src/types/logger.interface.d.ts.map +1 -1
- package/structured-log/src/types/tokens.d.ts +37 -37
- package/structured-log/src/types/tokens.d.ts.map +1 -1
- package/version.bak +1 -1
- package/common.internal.d.ts +0 -1438
- package/date-fns/common-date-fns.d.ts +0 -8
- package/date-fns/common-date-fns.internal.d.ts +0 -8
- package/date-fns/src/index.d.ts +0 -2
- package/date-fns/src/index.d.ts.map +0 -1
- package/date-fns/temp/common-date-fns.api.md +0 -12
- package/es2015/date-fns/src/index.js +0 -2
- package/es2015/date-fns/src/index.js.map +0 -1
- package/es2015/date-fns/src/misc/utils.js +0 -24
- package/es2015/date-fns/src/misc/utils.js.map +0 -1
- package/es2015/forms/src/directives/groupHasError/groupHasError.directive.js +0 -72
- package/es2015/forms/src/directives/groupHasError/groupHasError.directive.js.map +0 -1
- package/es2015/forms/src/directives/hasError/hasError.directive.js +0 -164
- package/es2015/forms/src/directives/hasError/hasError.directive.js.map +0 -1
- package/es2015/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +0 -64
- package/es2015/forms/src/directives/numberInput/maxValueNumberValidator.directive.js.map +0 -1
- package/es2015/forms/src/directives/numberInput/minValueNumberValidator.directive.js +0 -64
- package/es2015/forms/src/directives/numberInput/minValueNumberValidator.directive.js.map +0 -1
- package/es2015/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +0 -74
- package/es2015/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js.map +0 -1
- package/es2015/forms/src/directives/numberInput/numberInputValidator.directive.js +0 -36
- package/es2015/forms/src/directives/numberInput/numberInputValidator.directive.js.map +0 -1
- package/es2015/forms/src/directives/requiredClass/requiredClass.directive.js +0 -56
- package/es2015/forms/src/directives/requiredClass/requiredClass.directive.js.map +0 -1
- package/es2015/forms/src/index.js +0 -20
- package/es2015/forms/src/index.js.map +0 -1
- package/es2015/forms/src/misc/formModel/decorators/asyncValidator.decorator.js +0 -11
- package/es2015/forms/src/misc/formModel/decorators/asyncValidator.decorator.js.map +0 -1
- package/es2015/forms/src/misc/formModel/decorators/controlOptions.decorator.js +0 -11
- package/es2015/forms/src/misc/formModel/decorators/controlOptions.decorator.js.map +0 -1
- package/es2015/forms/src/misc/formModel/decorators/disabled.decorator.js +0 -10
- package/es2015/forms/src/misc/formModel/decorators/disabled.decorator.js.map +0 -1
- package/es2015/forms/src/misc/formModel/decorators/email.decorator.js +0 -11
- package/es2015/forms/src/misc/formModel/decorators/email.decorator.js.map +0 -1
- package/es2015/forms/src/misc/formModel/decorators/formArrayProperty.decorator.js +0 -11
- package/es2015/forms/src/misc/formModel/decorators/formArrayProperty.decorator.js.map +0 -1
- package/es2015/forms/src/misc/formModel/decorators/formGroupAsyncValidator.decorator.js +0 -22
- package/es2015/forms/src/misc/formModel/decorators/formGroupAsyncValidator.decorator.js.map +0 -1
- package/es2015/forms/src/misc/formModel/decorators/formGroupProperty.decorator.js +0 -11
- package/es2015/forms/src/misc/formModel/decorators/formGroupProperty.decorator.js.map +0 -1
- package/es2015/forms/src/misc/formModel/decorators/formGroupValidator.decorator.js +0 -22
- package/es2015/forms/src/misc/formModel/decorators/formGroupValidator.decorator.js.map +0 -1
- package/es2015/forms/src/misc/formModel/decorators/index.js +0 -20
- package/es2015/forms/src/misc/formModel/decorators/index.js.map +0 -1
- package/es2015/forms/src/misc/formModel/decorators/invalidateOnChange.decorator.js +0 -42
- package/es2015/forms/src/misc/formModel/decorators/invalidateOnChange.decorator.js.map +0 -1
- package/es2015/forms/src/misc/formModel/decorators/maxLength.decorator.js +0 -12
- package/es2015/forms/src/misc/formModel/decorators/maxLength.decorator.js.map +0 -1
- package/es2015/forms/src/misc/formModel/decorators/maxValue.decorator.js +0 -12
- package/es2015/forms/src/misc/formModel/decorators/maxValue.decorator.js.map +0 -1
- package/es2015/forms/src/misc/formModel/decorators/minLength.decorator.js +0 -12
- package/es2015/forms/src/misc/formModel/decorators/minLength.decorator.js.map +0 -1
- package/es2015/forms/src/misc/formModel/decorators/minValue.decorator.js +0 -12
- package/es2015/forms/src/misc/formModel/decorators/minValue.decorator.js.map +0 -1
- package/es2015/forms/src/misc/formModel/decorators/modelPropertyMetadata.decorator.js +0 -38
- package/es2015/forms/src/misc/formModel/decorators/modelPropertyMetadata.decorator.js.map +0 -1
- package/es2015/forms/src/misc/formModel/decorators/number.decorator.js +0 -11
- package/es2015/forms/src/misc/formModel/decorators/number.decorator.js.map +0 -1
- package/es2015/forms/src/misc/formModel/decorators/pattern.decorator.js +0 -11
- package/es2015/forms/src/misc/formModel/decorators/pattern.decorator.js.map +0 -1
- package/es2015/forms/src/misc/formModel/decorators/required.decorator.js +0 -11
- package/es2015/forms/src/misc/formModel/decorators/required.decorator.js.map +0 -1
- package/es2015/forms/src/misc/formModel/decorators/requiredIf.decorator.js +0 -24
- package/es2015/forms/src/misc/formModel/decorators/requiredIf.decorator.js.map +0 -1
- package/es2015/forms/src/misc/formModel/decorators/validator.decorator.js +0 -11
- package/es2015/forms/src/misc/formModel/decorators/validator.decorator.js.map +0 -1
- package/es2015/forms/src/misc/formModel/index.js +0 -8
- package/es2015/forms/src/misc/formModel/index.js.map +0 -1
- package/es2015/forms/src/misc/formModel/interfaces/modelDecoratorMetadata.js +0 -2
- package/es2015/forms/src/misc/formModel/interfaces/modelDecoratorMetadata.js.map +0 -1
- package/es2015/forms/src/misc/formModel/interfaces/modelPropertyDecoratorMetadata.js +0 -2
- package/es2015/forms/src/misc/formModel/interfaces/modelPropertyDecoratorMetadata.js.map +0 -1
- package/es2015/forms/src/misc/formModel/interfaces/validator.interface.js +0 -2
- package/es2015/forms/src/misc/formModel/interfaces/validator.interface.js.map +0 -1
- package/es2015/forms/src/misc/formModel/misc/currentValue.js +0 -29
- package/es2015/forms/src/misc/formModel/misc/currentValue.js.map +0 -1
- package/es2015/forms/src/misc/formModel/misc/defaults.js +0 -13
- package/es2015/forms/src/misc/formModel/misc/defaults.js.map +0 -1
- package/es2015/forms/src/misc/formModel/misc/utils.js +0 -89
- package/es2015/forms/src/misc/formModel/misc/utils.js.map +0 -1
- package/es2015/forms/src/misc/formModel/misc/validatorFactories.js +0 -41
- package/es2015/forms/src/misc/formModel/misc/validatorFactories.js.map +0 -1
- package/es2015/forms/src/misc/types.js +0 -6
- package/es2015/forms/src/misc/types.js.map +0 -1
- package/es2015/forms/src/misc/utils.js +0 -103
- package/es2015/forms/src/misc/utils.js.map +0 -1
- package/es2015/forms/src/misc/validators.js +0 -49
- package/es2015/forms/src/misc/validators.js.map +0 -1
- package/es2015/forms/src/modules/hasError.module.js +0 -28
- package/es2015/forms/src/modules/hasError.module.js.map +0 -1
- package/es2015/forms/src/modules/numberInput.module.js +0 -38
- package/es2015/forms/src/modules/numberInput.module.js.map +0 -1
- package/es2015/forms/src/modules/requiredClass.module.js +0 -19
- package/es2015/forms/src/modules/requiredClass.module.js.map +0 -1
- package/es2015/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.interface.js +0 -2
- package/es2015/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.interface.js.map +0 -1
- package/es2015/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +0 -72
- package/es2015/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js.map +0 -1
- package/es2015/forms/src/services/submitted/submitted.service.js +0 -49
- package/es2015/forms/src/services/submitted/submitted.service.js.map +0 -1
- package/es2015/forms/src/services/validationErrorRenderer/validationErrorRenderer.interface.js +0 -2
- package/es2015/forms/src/services/validationErrorRenderer/validationErrorRenderer.interface.js.map +0 -1
- package/es2015/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +0 -229
- package/es2015/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js.map +0 -1
- package/es2015/hmr/src/index.js +0 -35
- package/es2015/hmr/src/index.js.map +0 -1
- package/es2015/hotkeys/src/index.js +0 -2
- package/es2015/hotkeys/src/index.js.map +0 -1
- package/es2015/hotkeys/src/services/appHotkeys.service.js +0 -132
- package/es2015/hotkeys/src/services/appHotkeys.service.js.map +0 -1
- package/es2015/material/src/components/confirmationDialog/confirmationDialog.component.js +0 -50
- package/es2015/material/src/components/confirmationDialog/confirmationDialog.component.js.map +0 -1
- package/es2015/material/src/components/titledDialog/titledDialog.component.js +0 -39
- package/es2015/material/src/components/titledDialog/titledDialog.component.js.map +0 -1
- package/es2015/material/src/directives/confirmationDialog/confirmationDialog.directive.js +0 -107
- package/es2015/material/src/directives/confirmationDialog/confirmationDialog.directive.js.map +0 -1
- package/es2015/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +0 -47
- package/es2015/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js.map +0 -1
- package/es2015/material/src/index.js +0 -10
- package/es2015/material/src/index.js.map +0 -1
- package/es2015/material/src/misc/interfaces/confirmationDialog.interface.js +0 -2
- package/es2015/material/src/misc/interfaces/confirmationDialog.interface.js.map +0 -1
- package/es2015/material/src/misc/interfaces/titledDialog.interface.js +0 -6
- package/es2015/material/src/misc/interfaces/titledDialog.interface.js.map +0 -1
- package/es2015/material/src/misc/tokens.js +0 -6
- package/es2015/material/src/misc/tokens.js.map +0 -1
- package/es2015/material/src/modules/confirmationDialog.module.js +0 -40
- package/es2015/material/src/modules/confirmationDialog.module.js.map +0 -1
- package/es2015/material/src/modules/debugDataCopyClick.module.js +0 -27
- package/es2015/material/src/modules/debugDataCopyClick.module.js.map +0 -1
- package/es2015/material/src/modules/titledDialog.module.js +0 -36
- package/es2015/material/src/modules/titledDialog.module.js.map +0 -1
- package/es2015/material/src/services/titledDialog/titledDialog.service.js +0 -39
- package/es2015/material/src/services/titledDialog/titledDialog.service.js.map +0 -1
- package/es2015/moment/src/index.js +0 -3
- package/es2015/moment/src/index.js.map +0 -1
- package/es2015/moment/src/misc/utils.js +0 -27
- package/es2015/moment/src/misc/utils.js.map +0 -1
- package/es2015/moment/src/modules/moment.module.js +0 -28
- package/es2015/moment/src/modules/moment.module.js.map +0 -1
- package/es2015/moment/src/pipes/momentConvert/momentConvert.pipe.js +0 -32
- package/es2015/moment/src/pipes/momentConvert/momentConvert.pipe.js.map +0 -1
- package/es2015/moment/src/pipes/momentFormat/momentFormat.pipe.js +0 -36
- package/es2015/moment/src/pipes/momentFormat/momentFormat.pipe.js.map +0 -1
- package/es2015/numeral/src/index.js +0 -3
- package/es2015/numeral/src/index.js.map +0 -1
- package/es2015/numeral/src/modules/numeral.module.js +0 -19
- package/es2015/numeral/src/modules/numeral.module.js.map +0 -1
- package/es2015/numeral/src/pipes/numeral.pipe.js +0 -50
- package/es2015/numeral/src/pipes/numeral.pipe.js.map +0 -1
- package/es2015/positions/src/index.js +0 -9
- package/es2015/positions/src/index.js.map +0 -1
- package/es2015/positions/src/misc/utils.js +0 -109
- package/es2015/positions/src/misc/utils.js.map +0 -1
- package/es2015/positions/src/modules/positions/directives/positionTo/positionTo.directive.js +0 -58
- package/es2015/positions/src/modules/positions/directives/positionTo/positionTo.directive.js.map +0 -1
- package/es2015/positions/src/modules/positions/modules/positions.module.js +0 -24
- package/es2015/positions/src/modules/positions/modules/positions.module.js.map +0 -1
- package/es2015/positions/src/modules/tooltip/components/tooltip/tooltip.component.js +0 -98
- package/es2015/positions/src/modules/tooltip/components/tooltip/tooltip.component.js.map +0 -1
- package/es2015/positions/src/modules/tooltip/directives/tooltip/tooltip.directive.js +0 -230
- package/es2015/positions/src/modules/tooltip/directives/tooltip/tooltip.directive.js.map +0 -1
- package/es2015/positions/src/modules/tooltip/misc/tokens.js +0 -6
- package/es2015/positions/src/modules/tooltip/misc/tokens.js.map +0 -1
- package/es2015/positions/src/modules/tooltip/misc/tooltip.interface.js +0 -2
- package/es2015/positions/src/modules/tooltip/misc/tooltip.interface.js.map +0 -1
- package/es2015/positions/src/modules/tooltip/modules/tooltip.module.js +0 -32
- package/es2015/positions/src/modules/tooltip/modules/tooltip.module.js.map +0 -1
- package/es2015/positions/src/types/positions.typings.js +0 -2
- package/es2015/positions/src/types/positions.typings.js.map +0 -1
- package/es2015/router/src/decorators/componentRedirectRoute.decorator.js +0 -43
- package/es2015/router/src/decorators/componentRedirectRoute.decorator.js.map +0 -1
- package/es2015/router/src/decorators/componentRoute.decorator.js +0 -23
- package/es2015/router/src/decorators/componentRoute.decorator.js.map +0 -1
- package/es2015/router/src/decorators/moduleRoutes.decorator.js +0 -42
- package/es2015/router/src/decorators/moduleRoutes.decorator.js.map +0 -1
- package/es2015/router/src/index.js +0 -7
- package/es2015/router/src/index.js.map +0 -1
- package/es2015/router/src/misc/utils.js +0 -26
- package/es2015/router/src/misc/utils.js.map +0 -1
- package/es2015/router/src/services/routing/dataRouter.js +0 -89
- package/es2015/router/src/services/routing/dataRouter.js.map +0 -1
- package/es2015/router/src/services/routing/dataRouterData.js +0 -20
- package/es2015/router/src/services/routing/dataRouterData.js.map +0 -1
- package/es2015/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +0 -62
- package/es2015/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js.map +0 -1
- package/es2015/src/index.js +0 -34
- package/es2015/src/index.js.map +0 -1
- package/es2015/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js +0 -67
- package/es2015/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js.map +0 -1
- package/es2015/src/modules/clickOutside/modules/clickOutside.module.js +0 -24
- package/es2015/src/modules/clickOutside/modules/clickOutside.module.js.map +0 -1
- package/es2015/src/modules/commonDynamic.module.js +0 -23
- package/es2015/src/modules/commonDynamic.module.js.map +0 -1
- package/es2015/src/modules/commonLocalize.js +0 -23
- package/es2015/src/modules/commonLocalize.js.map +0 -1
- package/es2015/src/modules/commonUtils.module.js +0 -35
- package/es2015/src/modules/commonUtils.module.js.map +0 -1
- package/es2015/src/modules/debugData/components/debugData/debugData.component.js +0 -68
- package/es2015/src/modules/debugData/components/debugData/debugData.component.js.map +0 -1
- package/es2015/src/modules/debugData/modules/debugData.module.js +0 -29
- package/es2015/src/modules/debugData/modules/debugData.module.js.map +0 -1
- package/es2015/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js +0 -51
- package/es2015/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js.map +0 -1
- package/es2015/src/modules/goBack/directives/goBack/goBack.directive.js +0 -35
- package/es2015/src/modules/goBack/directives/goBack/goBack.directive.js.map +0 -1
- package/es2015/src/modules/goBack/directives/index.js +0 -2
- package/es2015/src/modules/goBack/directives/index.js.map +0 -1
- package/es2015/src/modules/goBack/index.js +0 -3
- package/es2015/src/modules/goBack/index.js.map +0 -1
- package/es2015/src/modules/goBack/modules/goBack.module.js +0 -23
- package/es2015/src/modules/goBack/modules/goBack.module.js.map +0 -1
- package/es2015/src/modules/goBack/modules/index.js +0 -2
- package/es2015/src/modules/goBack/modules/index.js.map +0 -1
- package/es2015/src/modules/multiButton/components/multiButton/multiButton.component.js +0 -119
- package/es2015/src/modules/multiButton/components/multiButton/multiButton.component.js.map +0 -1
- package/es2015/src/modules/multiButton/components/multiButton/multiButton.interface.js +0 -2
- package/es2015/src/modules/multiButton/components/multiButton/multiButton.interface.js.map +0 -1
- package/es2015/src/modules/multiButton/misc/tokens.js +0 -6
- package/es2015/src/modules/multiButton/misc/tokens.js.map +0 -1
- package/es2015/src/modules/multiButton/modules/multiButton.module.js +0 -29
- package/es2015/src/modules/multiButton/modules/multiButton.module.js.map +0 -1
- package/es2015/src/modules/progressIndicator/components/index.js +0 -2
- package/es2015/src/modules/progressIndicator/components/index.js.map +0 -1
- package/es2015/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js +0 -66
- package/es2015/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js.map +0 -1
- package/es2015/src/modules/progressIndicator/directives/index.js +0 -2
- package/es2015/src/modules/progressIndicator/directives/index.js.map +0 -1
- package/es2015/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js +0 -124
- package/es2015/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js.map +0 -1
- package/es2015/src/modules/progressIndicator/index.js +0 -6
- package/es2015/src/modules/progressIndicator/index.js.map +0 -1
- package/es2015/src/modules/progressIndicator/interceptors/progressInterceptor.js +0 -54
- package/es2015/src/modules/progressIndicator/interceptors/progressInterceptor.js.map +0 -1
- package/es2015/src/modules/progressIndicator/misc/tokens.js +0 -6
- package/es2015/src/modules/progressIndicator/misc/tokens.js.map +0 -1
- package/es2015/src/modules/progressIndicator/modules/index.js +0 -2
- package/es2015/src/modules/progressIndicator/modules/index.js.map +0 -1
- package/es2015/src/modules/progressIndicator/modules/progressIndicator.module.js +0 -38
- package/es2015/src/modules/progressIndicator/modules/progressIndicator.module.js.map +0 -1
- package/es2015/src/modules/progressIndicator/services/progressIndicator.service.js +0 -255
- package/es2015/src/modules/progressIndicator/services/progressIndicator.service.js.map +0 -1
- package/es2015/src/modules/progressIndicator/services/progressIndicatorOptions.js +0 -25
- package/es2015/src/modules/progressIndicator/services/progressIndicatorOptions.js.map +0 -1
- package/es2015/src/pipes/index.js +0 -6
- package/es2015/src/pipes/index.js.map +0 -1
- package/es2015/src/pipes/isNaN/isNaN.pipe.js +0 -24
- package/es2015/src/pipes/isNaN/isNaN.pipe.js.map +0 -1
- package/es2015/src/pipes/isPresent/isPresent.pipe.js +0 -25
- package/es2015/src/pipes/isPresent/isPresent.pipe.js.map +0 -1
- package/es2015/src/pipes/localize/localize.pipe.js +0 -54
- package/es2015/src/pipes/localize/localize.pipe.js.map +0 -1
- package/es2015/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +0 -43
- package/es2015/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js.map +0 -1
- package/es2015/src/pipes/urlEncode/urlEncode.pipe.js +0 -26
- package/es2015/src/pipes/urlEncode/urlEncode.pipe.js.map +0 -1
- package/es2015/src/services/alignment/alignment.interface.js +0 -2
- package/es2015/src/services/alignment/alignment.interface.js.map +0 -1
- package/es2015/src/services/alignment/index.js +0 -2
- package/es2015/src/services/alignment/index.js.map +0 -1
- package/es2015/src/services/cookies/cookies.service.js +0 -106
- package/es2015/src/services/cookies/cookies.service.js.map +0 -1
- package/es2015/src/services/globalization/globalization.service.js +0 -6
- package/es2015/src/services/globalization/globalization.service.js.map +0 -1
- package/es2015/src/services/logger/index.js +0 -3
- package/es2015/src/services/logger/index.js.map +0 -1
- package/es2015/src/services/logger/logger.interface.js +0 -2
- package/es2015/src/services/logger/logger.interface.js.map +0 -1
- package/es2015/src/services/logger/logger.service.js +0 -18
- package/es2015/src/services/logger/logger.service.js.map +0 -1
- package/es2015/src/services/notifications/defaultNotifications.service.js +0 -228
- package/es2015/src/services/notifications/defaultNotifications.service.js.map +0 -1
- package/es2015/src/services/notifications/index.js +0 -4
- package/es2015/src/services/notifications/index.js.map +0 -1
- package/es2015/src/services/notifications/notifications.interface.js +0 -55
- package/es2015/src/services/notifications/notifications.interface.js.map +0 -1
- package/es2015/src/services/notifications/notificationsOptions.js +0 -18
- package/es2015/src/services/notifications/notificationsOptions.js.map +0 -1
- package/es2015/src/services/permanentStorage/cookiePermanentStorage.service.js +0 -43
- package/es2015/src/services/permanentStorage/cookiePermanentStorage.service.js.map +0 -1
- package/es2015/src/services/permanentStorage/index.js +0 -3
- package/es2015/src/services/permanentStorage/index.js.map +0 -1
- package/es2015/src/services/permanentStorage/permanentStorage.interface.js +0 -2
- package/es2015/src/services/permanentStorage/permanentStorage.interface.js.map +0 -1
- package/es2015/src/services/statusCode/statusCode.service.js +0 -29
- package/es2015/src/services/statusCode/statusCode.service.js.map +0 -1
- package/es2015/src/services/stringLocalization/index.js +0 -3
- package/es2015/src/services/stringLocalization/index.js.map +0 -1
- package/es2015/src/services/stringLocalization/noStringLocalization.service.js +0 -43
- package/es2015/src/services/stringLocalization/noStringLocalization.service.js.map +0 -1
- package/es2015/src/services/stringLocalization/stringLocalization.interface.js +0 -2
- package/es2015/src/services/stringLocalization/stringLocalization.interface.js.map +0 -1
- package/es2015/src/services/temporaryStorage/index.js +0 -3
- package/es2015/src/services/temporaryStorage/index.js.map +0 -1
- package/es2015/src/services/temporaryStorage/memoryTemporaryStorage.service.js +0 -43
- package/es2015/src/services/temporaryStorage/memoryTemporaryStorage.service.js.map +0 -1
- package/es2015/src/services/temporaryStorage/temporaryStorage.interface.js +0 -2
- package/es2015/src/services/temporaryStorage/temporaryStorage.interface.js.map +0 -1
- package/es2015/src/types/tokens.js +0 -50
- package/es2015/src/types/tokens.js.map +0 -1
- package/es2015/src/utils/index.js +0 -51
- package/es2015/src/utils/index.js.map +0 -1
- package/es2015/store/src/index.js +0 -2
- package/es2015/store/src/index.js.map +0 -1
- package/es2015/store/src/services/index.js +0 -3
- package/es2015/store/src/services/index.js.map +0 -1
- package/es2015/store/src/services/permanentStorage/localPermanentStorage.service.js +0 -49
- package/es2015/store/src/services/permanentStorage/localPermanentStorage.service.js.map +0 -1
- package/es2015/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +0 -37
- package/es2015/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js.map +0 -1
- package/es2015/store/src/types/store.typings.js +0 -2
- package/es2015/store/src/types/store.typings.js.map +0 -1
- package/es2015/structured-log/src/components/console/console.component.animations.js +0 -31
- package/es2015/structured-log/src/components/console/console.component.animations.js.map +0 -1
- package/es2015/structured-log/src/components/console/console.component.js +0 -95
- package/es2015/structured-log/src/components/console/console.component.js.map +0 -1
- package/es2015/structured-log/src/index.js +0 -12
- package/es2015/structured-log/src/index.js.map +0 -1
- package/es2015/structured-log/src/misc/utils.js +0 -39
- package/es2015/structured-log/src/misc/utils.js.map +0 -1
- package/es2015/structured-log/src/modules/consoleLog.module.js +0 -44
- package/es2015/structured-log/src/modules/consoleLog.module.js.map +0 -1
- package/es2015/structured-log/src/services/console/consoleComponentSink.service.js +0 -96
- package/es2015/structured-log/src/services/console/consoleComponentSink.service.js.map +0 -1
- package/es2015/structured-log/src/services/console/consoleSinkConfig.service.js +0 -44
- package/es2015/structured-log/src/services/console/consoleSinkConfig.service.js.map +0 -1
- package/es2015/structured-log/src/services/logger.service.js +0 -44
- package/es2015/structured-log/src/services/logger.service.js.map +0 -1
- package/es2015/structured-log/src/services/rest/restSink.service.js +0 -118
- package/es2015/structured-log/src/services/rest/restSink.service.js.map +0 -1
- package/es2015/structured-log/src/services/rest/restSinkConfig.service.js +0 -55
- package/es2015/structured-log/src/services/rest/restSinkConfig.service.js.map +0 -1
- package/es2015/structured-log/src/types/logger.interface.js +0 -2
- package/es2015/structured-log/src/types/logger.interface.js.map +0 -1
- package/es2015/structured-log/src/types/structured-log.typings.js +0 -2
- package/es2015/structured-log/src/types/structured-log.typings.js.map +0 -1
- package/es2015/structured-log/src/types/tokens.js +0 -56
- package/es2015/structured-log/src/types/tokens.js.map +0 -1
- package/es2020/date-fns/src/index.js +0 -2
- package/es2020/date-fns/src/index.js.map +0 -1
- package/es2020/date-fns/src/misc/utils.js +0 -24
- package/es2020/date-fns/src/misc/utils.js.map +0 -1
- package/es2020/forms/src/directives/groupHasError/groupHasError.directive.js +0 -72
- package/es2020/forms/src/directives/groupHasError/groupHasError.directive.js.map +0 -1
- package/es2020/forms/src/directives/hasError/hasError.directive.js +0 -161
- package/es2020/forms/src/directives/hasError/hasError.directive.js.map +0 -1
- package/es2020/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +0 -64
- package/es2020/forms/src/directives/numberInput/maxValueNumberValidator.directive.js.map +0 -1
- package/es2020/forms/src/directives/numberInput/minValueNumberValidator.directive.js +0 -64
- package/es2020/forms/src/directives/numberInput/minValueNumberValidator.directive.js.map +0 -1
- package/es2020/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +0 -74
- package/es2020/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js.map +0 -1
- package/es2020/forms/src/directives/numberInput/numberInputValidator.directive.js +0 -36
- package/es2020/forms/src/directives/numberInput/numberInputValidator.directive.js.map +0 -1
- package/es2020/forms/src/directives/requiredClass/requiredClass.directive.js +0 -56
- package/es2020/forms/src/directives/requiredClass/requiredClass.directive.js.map +0 -1
- package/es2020/forms/src/index.js +0 -20
- package/es2020/forms/src/index.js.map +0 -1
- package/es2020/forms/src/misc/formModel/decorators/asyncValidator.decorator.js +0 -11
- package/es2020/forms/src/misc/formModel/decorators/asyncValidator.decorator.js.map +0 -1
- package/es2020/forms/src/misc/formModel/decorators/controlOptions.decorator.js +0 -11
- package/es2020/forms/src/misc/formModel/decorators/controlOptions.decorator.js.map +0 -1
- package/es2020/forms/src/misc/formModel/decorators/disabled.decorator.js +0 -10
- package/es2020/forms/src/misc/formModel/decorators/disabled.decorator.js.map +0 -1
- package/es2020/forms/src/misc/formModel/decorators/email.decorator.js +0 -11
- package/es2020/forms/src/misc/formModel/decorators/email.decorator.js.map +0 -1
- package/es2020/forms/src/misc/formModel/decorators/formArrayProperty.decorator.js +0 -11
- package/es2020/forms/src/misc/formModel/decorators/formArrayProperty.decorator.js.map +0 -1
- package/es2020/forms/src/misc/formModel/decorators/formGroupAsyncValidator.decorator.js +0 -22
- package/es2020/forms/src/misc/formModel/decorators/formGroupAsyncValidator.decorator.js.map +0 -1
- package/es2020/forms/src/misc/formModel/decorators/formGroupProperty.decorator.js +0 -11
- package/es2020/forms/src/misc/formModel/decorators/formGroupProperty.decorator.js.map +0 -1
- package/es2020/forms/src/misc/formModel/decorators/formGroupValidator.decorator.js +0 -22
- package/es2020/forms/src/misc/formModel/decorators/formGroupValidator.decorator.js.map +0 -1
- package/es2020/forms/src/misc/formModel/decorators/index.js +0 -20
- package/es2020/forms/src/misc/formModel/decorators/index.js.map +0 -1
- package/es2020/forms/src/misc/formModel/decorators/invalidateOnChange.decorator.js +0 -40
- package/es2020/forms/src/misc/formModel/decorators/invalidateOnChange.decorator.js.map +0 -1
- package/es2020/forms/src/misc/formModel/decorators/maxLength.decorator.js +0 -12
- package/es2020/forms/src/misc/formModel/decorators/maxLength.decorator.js.map +0 -1
- package/es2020/forms/src/misc/formModel/decorators/maxValue.decorator.js +0 -12
- package/es2020/forms/src/misc/formModel/decorators/maxValue.decorator.js.map +0 -1
- package/es2020/forms/src/misc/formModel/decorators/minLength.decorator.js +0 -12
- package/es2020/forms/src/misc/formModel/decorators/minLength.decorator.js.map +0 -1
- package/es2020/forms/src/misc/formModel/decorators/minValue.decorator.js +0 -12
- package/es2020/forms/src/misc/formModel/decorators/minValue.decorator.js.map +0 -1
- package/es2020/forms/src/misc/formModel/decorators/modelPropertyMetadata.decorator.js +0 -42
- package/es2020/forms/src/misc/formModel/decorators/modelPropertyMetadata.decorator.js.map +0 -1
- package/es2020/forms/src/misc/formModel/decorators/number.decorator.js +0 -11
- package/es2020/forms/src/misc/formModel/decorators/number.decorator.js.map +0 -1
- package/es2020/forms/src/misc/formModel/decorators/pattern.decorator.js +0 -11
- package/es2020/forms/src/misc/formModel/decorators/pattern.decorator.js.map +0 -1
- package/es2020/forms/src/misc/formModel/decorators/required.decorator.js +0 -11
- package/es2020/forms/src/misc/formModel/decorators/required.decorator.js.map +0 -1
- package/es2020/forms/src/misc/formModel/decorators/requiredIf.decorator.js +0 -24
- package/es2020/forms/src/misc/formModel/decorators/requiredIf.decorator.js.map +0 -1
- package/es2020/forms/src/misc/formModel/decorators/validator.decorator.js +0 -11
- package/es2020/forms/src/misc/formModel/decorators/validator.decorator.js.map +0 -1
- package/es2020/forms/src/misc/formModel/index.js +0 -8
- package/es2020/forms/src/misc/formModel/index.js.map +0 -1
- package/es2020/forms/src/misc/formModel/interfaces/modelDecoratorMetadata.js +0 -2
- package/es2020/forms/src/misc/formModel/interfaces/modelDecoratorMetadata.js.map +0 -1
- package/es2020/forms/src/misc/formModel/interfaces/modelPropertyDecoratorMetadata.js +0 -2
- package/es2020/forms/src/misc/formModel/interfaces/modelPropertyDecoratorMetadata.js.map +0 -1
- package/es2020/forms/src/misc/formModel/interfaces/validator.interface.js +0 -2
- package/es2020/forms/src/misc/formModel/interfaces/validator.interface.js.map +0 -1
- package/es2020/forms/src/misc/formModel/misc/currentValue.js +0 -29
- package/es2020/forms/src/misc/formModel/misc/currentValue.js.map +0 -1
- package/es2020/forms/src/misc/formModel/misc/defaults.js +0 -13
- package/es2020/forms/src/misc/formModel/misc/defaults.js.map +0 -1
- package/es2020/forms/src/misc/formModel/misc/utils.js +0 -100
- package/es2020/forms/src/misc/formModel/misc/utils.js.map +0 -1
- package/es2020/forms/src/misc/formModel/misc/validatorFactories.js +0 -41
- package/es2020/forms/src/misc/formModel/misc/validatorFactories.js.map +0 -1
- package/es2020/forms/src/misc/types.js +0 -6
- package/es2020/forms/src/misc/types.js.map +0 -1
- package/es2020/forms/src/misc/utils.js +0 -103
- package/es2020/forms/src/misc/utils.js.map +0 -1
- package/es2020/forms/src/misc/validators.js +0 -49
- package/es2020/forms/src/misc/validators.js.map +0 -1
- package/es2020/forms/src/modules/hasError.module.js +0 -28
- package/es2020/forms/src/modules/hasError.module.js.map +0 -1
- package/es2020/forms/src/modules/numberInput.module.js +0 -38
- package/es2020/forms/src/modules/numberInput.module.js.map +0 -1
- package/es2020/forms/src/modules/requiredClass.module.js +0 -19
- package/es2020/forms/src/modules/requiredClass.module.js.map +0 -1
- package/es2020/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.interface.js +0 -2
- package/es2020/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.interface.js.map +0 -1
- package/es2020/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +0 -72
- package/es2020/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js.map +0 -1
- package/es2020/forms/src/services/submitted/submitted.service.js +0 -49
- package/es2020/forms/src/services/submitted/submitted.service.js.map +0 -1
- package/es2020/forms/src/services/validationErrorRenderer/validationErrorRenderer.interface.js +0 -2
- package/es2020/forms/src/services/validationErrorRenderer/validationErrorRenderer.interface.js.map +0 -1
- package/es2020/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +0 -227
- package/es2020/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js.map +0 -1
- package/es2020/hmr/src/index.js +0 -35
- package/es2020/hmr/src/index.js.map +0 -1
- package/es2020/hotkeys/src/index.js +0 -2
- package/es2020/hotkeys/src/index.js.map +0 -1
- package/es2020/hotkeys/src/services/appHotkeys.service.js +0 -132
- package/es2020/hotkeys/src/services/appHotkeys.service.js.map +0 -1
- package/es2020/material/src/components/confirmationDialog/confirmationDialog.component.js +0 -50
- package/es2020/material/src/components/confirmationDialog/confirmationDialog.component.js.map +0 -1
- package/es2020/material/src/components/titledDialog/titledDialog.component.js +0 -38
- package/es2020/material/src/components/titledDialog/titledDialog.component.js.map +0 -1
- package/es2020/material/src/directives/confirmationDialog/confirmationDialog.directive.js +0 -104
- package/es2020/material/src/directives/confirmationDialog/confirmationDialog.directive.js.map +0 -1
- package/es2020/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +0 -47
- package/es2020/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js.map +0 -1
- package/es2020/material/src/index.js +0 -10
- package/es2020/material/src/index.js.map +0 -1
- package/es2020/material/src/misc/interfaces/confirmationDialog.interface.js +0 -2
- package/es2020/material/src/misc/interfaces/confirmationDialog.interface.js.map +0 -1
- package/es2020/material/src/misc/interfaces/titledDialog.interface.js +0 -6
- package/es2020/material/src/misc/interfaces/titledDialog.interface.js.map +0 -1
- package/es2020/material/src/misc/tokens.js +0 -6
- package/es2020/material/src/misc/tokens.js.map +0 -1
- package/es2020/material/src/modules/confirmationDialog.module.js +0 -40
- package/es2020/material/src/modules/confirmationDialog.module.js.map +0 -1
- package/es2020/material/src/modules/debugDataCopyClick.module.js +0 -27
- package/es2020/material/src/modules/debugDataCopyClick.module.js.map +0 -1
- package/es2020/material/src/modules/titledDialog.module.js +0 -36
- package/es2020/material/src/modules/titledDialog.module.js.map +0 -1
- package/es2020/material/src/services/titledDialog/titledDialog.service.js +0 -39
- package/es2020/material/src/services/titledDialog/titledDialog.service.js.map +0 -1
- package/es2020/moment/src/index.js +0 -3
- package/es2020/moment/src/index.js.map +0 -1
- package/es2020/moment/src/misc/utils.js +0 -27
- package/es2020/moment/src/misc/utils.js.map +0 -1
- package/es2020/moment/src/modules/moment.module.js +0 -28
- package/es2020/moment/src/modules/moment.module.js.map +0 -1
- package/es2020/moment/src/pipes/momentConvert/momentConvert.pipe.js +0 -32
- package/es2020/moment/src/pipes/momentConvert/momentConvert.pipe.js.map +0 -1
- package/es2020/moment/src/pipes/momentFormat/momentFormat.pipe.js +0 -36
- package/es2020/moment/src/pipes/momentFormat/momentFormat.pipe.js.map +0 -1
- package/es2020/numeral/src/index.js +0 -3
- package/es2020/numeral/src/index.js.map +0 -1
- package/es2020/numeral/src/modules/numeral.module.js +0 -19
- package/es2020/numeral/src/modules/numeral.module.js.map +0 -1
- package/es2020/numeral/src/pipes/numeral.pipe.js +0 -50
- package/es2020/numeral/src/pipes/numeral.pipe.js.map +0 -1
- package/es2020/positions/src/index.js +0 -9
- package/es2020/positions/src/index.js.map +0 -1
- package/es2020/positions/src/misc/utils.js +0 -109
- package/es2020/positions/src/misc/utils.js.map +0 -1
- package/es2020/positions/src/modules/positions/directives/positionTo/positionTo.directive.js +0 -58
- package/es2020/positions/src/modules/positions/directives/positionTo/positionTo.directive.js.map +0 -1
- package/es2020/positions/src/modules/positions/modules/positions.module.js +0 -24
- package/es2020/positions/src/modules/positions/modules/positions.module.js.map +0 -1
- package/es2020/positions/src/modules/tooltip/components/tooltip/tooltip.component.js +0 -98
- package/es2020/positions/src/modules/tooltip/components/tooltip/tooltip.component.js.map +0 -1
- package/es2020/positions/src/modules/tooltip/directives/tooltip/tooltip.directive.js +0 -229
- package/es2020/positions/src/modules/tooltip/directives/tooltip/tooltip.directive.js.map +0 -1
- package/es2020/positions/src/modules/tooltip/misc/tokens.js +0 -6
- package/es2020/positions/src/modules/tooltip/misc/tokens.js.map +0 -1
- package/es2020/positions/src/modules/tooltip/misc/tooltip.interface.js +0 -2
- package/es2020/positions/src/modules/tooltip/misc/tooltip.interface.js.map +0 -1
- package/es2020/positions/src/modules/tooltip/modules/tooltip.module.js +0 -32
- package/es2020/positions/src/modules/tooltip/modules/tooltip.module.js.map +0 -1
- package/es2020/positions/src/types/positions.typings.js +0 -2
- package/es2020/positions/src/types/positions.typings.js.map +0 -1
- package/es2020/router/src/decorators/componentRedirectRoute.decorator.js +0 -43
- package/es2020/router/src/decorators/componentRedirectRoute.decorator.js.map +0 -1
- package/es2020/router/src/decorators/componentRoute.decorator.js +0 -23
- package/es2020/router/src/decorators/componentRoute.decorator.js.map +0 -1
- package/es2020/router/src/decorators/moduleRoutes.decorator.js +0 -42
- package/es2020/router/src/decorators/moduleRoutes.decorator.js.map +0 -1
- package/es2020/router/src/index.js +0 -7
- package/es2020/router/src/index.js.map +0 -1
- package/es2020/router/src/misc/utils.js +0 -26
- package/es2020/router/src/misc/utils.js.map +0 -1
- package/es2020/router/src/services/routing/dataRouter.js +0 -89
- package/es2020/router/src/services/routing/dataRouter.js.map +0 -1
- package/es2020/router/src/services/routing/dataRouterData.js +0 -20
- package/es2020/router/src/services/routing/dataRouterData.js.map +0 -1
- package/es2020/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +0 -62
- package/es2020/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js.map +0 -1
- package/es2020/src/index.js +0 -34
- package/es2020/src/index.js.map +0 -1
- package/es2020/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js +0 -67
- package/es2020/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js.map +0 -1
- package/es2020/src/modules/clickOutside/modules/clickOutside.module.js +0 -24
- package/es2020/src/modules/clickOutside/modules/clickOutside.module.js.map +0 -1
- package/es2020/src/modules/commonDynamic.module.js +0 -23
- package/es2020/src/modules/commonDynamic.module.js.map +0 -1
- package/es2020/src/modules/commonLocalize.js +0 -23
- package/es2020/src/modules/commonLocalize.js.map +0 -1
- package/es2020/src/modules/commonUtils.module.js +0 -35
- package/es2020/src/modules/commonUtils.module.js.map +0 -1
- package/es2020/src/modules/debugData/components/debugData/debugData.component.js +0 -67
- package/es2020/src/modules/debugData/components/debugData/debugData.component.js.map +0 -1
- package/es2020/src/modules/debugData/modules/debugData.module.js +0 -29
- package/es2020/src/modules/debugData/modules/debugData.module.js.map +0 -1
- package/es2020/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js +0 -51
- package/es2020/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js.map +0 -1
- package/es2020/src/modules/goBack/directives/goBack/goBack.directive.js +0 -35
- package/es2020/src/modules/goBack/directives/goBack/goBack.directive.js.map +0 -1
- package/es2020/src/modules/goBack/directives/index.js +0 -2
- package/es2020/src/modules/goBack/directives/index.js.map +0 -1
- package/es2020/src/modules/goBack/index.js +0 -3
- package/es2020/src/modules/goBack/index.js.map +0 -1
- package/es2020/src/modules/goBack/modules/goBack.module.js +0 -23
- package/es2020/src/modules/goBack/modules/goBack.module.js.map +0 -1
- package/es2020/src/modules/goBack/modules/index.js +0 -2
- package/es2020/src/modules/goBack/modules/index.js.map +0 -1
- package/es2020/src/modules/multiButton/components/multiButton/multiButton.component.js +0 -119
- package/es2020/src/modules/multiButton/components/multiButton/multiButton.component.js.map +0 -1
- package/es2020/src/modules/multiButton/components/multiButton/multiButton.interface.js +0 -2
- package/es2020/src/modules/multiButton/components/multiButton/multiButton.interface.js.map +0 -1
- package/es2020/src/modules/multiButton/misc/tokens.js +0 -6
- package/es2020/src/modules/multiButton/misc/tokens.js.map +0 -1
- package/es2020/src/modules/multiButton/modules/multiButton.module.js +0 -29
- package/es2020/src/modules/multiButton/modules/multiButton.module.js.map +0 -1
- package/es2020/src/modules/progressIndicator/components/index.js +0 -2
- package/es2020/src/modules/progressIndicator/components/index.js.map +0 -1
- package/es2020/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js +0 -66
- package/es2020/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js.map +0 -1
- package/es2020/src/modules/progressIndicator/directives/index.js +0 -2
- package/es2020/src/modules/progressIndicator/directives/index.js.map +0 -1
- package/es2020/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js +0 -124
- package/es2020/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js.map +0 -1
- package/es2020/src/modules/progressIndicator/index.js +0 -6
- package/es2020/src/modules/progressIndicator/index.js.map +0 -1
- package/es2020/src/modules/progressIndicator/interceptors/progressInterceptor.js +0 -54
- package/es2020/src/modules/progressIndicator/interceptors/progressInterceptor.js.map +0 -1
- package/es2020/src/modules/progressIndicator/misc/tokens.js +0 -6
- package/es2020/src/modules/progressIndicator/misc/tokens.js.map +0 -1
- package/es2020/src/modules/progressIndicator/modules/index.js +0 -2
- package/es2020/src/modules/progressIndicator/modules/index.js.map +0 -1
- package/es2020/src/modules/progressIndicator/modules/progressIndicator.module.js +0 -38
- package/es2020/src/modules/progressIndicator/modules/progressIndicator.module.js.map +0 -1
- package/es2020/src/modules/progressIndicator/services/progressIndicator.service.js +0 -255
- package/es2020/src/modules/progressIndicator/services/progressIndicator.service.js.map +0 -1
- package/es2020/src/modules/progressIndicator/services/progressIndicatorOptions.js +0 -25
- package/es2020/src/modules/progressIndicator/services/progressIndicatorOptions.js.map +0 -1
- package/es2020/src/pipes/index.js +0 -6
- package/es2020/src/pipes/index.js.map +0 -1
- package/es2020/src/pipes/isNaN/isNaN.pipe.js +0 -24
- package/es2020/src/pipes/isNaN/isNaN.pipe.js.map +0 -1
- package/es2020/src/pipes/isPresent/isPresent.pipe.js +0 -25
- package/es2020/src/pipes/isPresent/isPresent.pipe.js.map +0 -1
- package/es2020/src/pipes/localize/localize.pipe.js +0 -54
- package/es2020/src/pipes/localize/localize.pipe.js.map +0 -1
- package/es2020/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +0 -43
- package/es2020/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js.map +0 -1
- package/es2020/src/pipes/urlEncode/urlEncode.pipe.js +0 -26
- package/es2020/src/pipes/urlEncode/urlEncode.pipe.js.map +0 -1
- package/es2020/src/services/alignment/alignment.interface.js +0 -2
- package/es2020/src/services/alignment/alignment.interface.js.map +0 -1
- package/es2020/src/services/alignment/index.js +0 -2
- package/es2020/src/services/alignment/index.js.map +0 -1
- package/es2020/src/services/cookies/cookies.service.js +0 -106
- package/es2020/src/services/cookies/cookies.service.js.map +0 -1
- package/es2020/src/services/globalization/globalization.service.js +0 -6
- package/es2020/src/services/globalization/globalization.service.js.map +0 -1
- package/es2020/src/services/logger/index.js +0 -3
- package/es2020/src/services/logger/index.js.map +0 -1
- package/es2020/src/services/logger/logger.interface.js +0 -2
- package/es2020/src/services/logger/logger.interface.js.map +0 -1
- package/es2020/src/services/logger/logger.service.js +0 -18
- package/es2020/src/services/logger/logger.service.js.map +0 -1
- package/es2020/src/services/notifications/defaultNotifications.service.js +0 -228
- package/es2020/src/services/notifications/defaultNotifications.service.js.map +0 -1
- package/es2020/src/services/notifications/index.js +0 -4
- package/es2020/src/services/notifications/index.js.map +0 -1
- package/es2020/src/services/notifications/notifications.interface.js +0 -55
- package/es2020/src/services/notifications/notifications.interface.js.map +0 -1
- package/es2020/src/services/notifications/notificationsOptions.js +0 -18
- package/es2020/src/services/notifications/notificationsOptions.js.map +0 -1
- package/es2020/src/services/permanentStorage/cookiePermanentStorage.service.js +0 -43
- package/es2020/src/services/permanentStorage/cookiePermanentStorage.service.js.map +0 -1
- package/es2020/src/services/permanentStorage/index.js +0 -3
- package/es2020/src/services/permanentStorage/index.js.map +0 -1
- package/es2020/src/services/permanentStorage/permanentStorage.interface.js +0 -2
- package/es2020/src/services/permanentStorage/permanentStorage.interface.js.map +0 -1
- package/es2020/src/services/statusCode/statusCode.service.js +0 -29
- package/es2020/src/services/statusCode/statusCode.service.js.map +0 -1
- package/es2020/src/services/stringLocalization/index.js +0 -3
- package/es2020/src/services/stringLocalization/index.js.map +0 -1
- package/es2020/src/services/stringLocalization/noStringLocalization.service.js +0 -43
- package/es2020/src/services/stringLocalization/noStringLocalization.service.js.map +0 -1
- package/es2020/src/services/stringLocalization/stringLocalization.interface.js +0 -2
- package/es2020/src/services/stringLocalization/stringLocalization.interface.js.map +0 -1
- package/es2020/src/services/temporaryStorage/index.js +0 -3
- package/es2020/src/services/temporaryStorage/index.js.map +0 -1
- package/es2020/src/services/temporaryStorage/memoryTemporaryStorage.service.js +0 -43
- package/es2020/src/services/temporaryStorage/memoryTemporaryStorage.service.js.map +0 -1
- package/es2020/src/services/temporaryStorage/temporaryStorage.interface.js +0 -2
- package/es2020/src/services/temporaryStorage/temporaryStorage.interface.js.map +0 -1
- package/es2020/src/types/tokens.js +0 -50
- package/es2020/src/types/tokens.js.map +0 -1
- package/es2020/src/utils/index.js +0 -51
- package/es2020/src/utils/index.js.map +0 -1
- package/es2020/store/src/index.js +0 -2
- package/es2020/store/src/index.js.map +0 -1
- package/es2020/store/src/services/index.js +0 -3
- package/es2020/store/src/services/index.js.map +0 -1
- package/es2020/store/src/services/permanentStorage/localPermanentStorage.service.js +0 -49
- package/es2020/store/src/services/permanentStorage/localPermanentStorage.service.js.map +0 -1
- package/es2020/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +0 -37
- package/es2020/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js.map +0 -1
- package/es2020/store/src/types/store.typings.js +0 -2
- package/es2020/store/src/types/store.typings.js.map +0 -1
- package/es2020/structured-log/src/components/console/console.component.animations.js +0 -31
- package/es2020/structured-log/src/components/console/console.component.animations.js.map +0 -1
- package/es2020/structured-log/src/components/console/console.component.js +0 -95
- package/es2020/structured-log/src/components/console/console.component.js.map +0 -1
- package/es2020/structured-log/src/index.js +0 -12
- package/es2020/structured-log/src/index.js.map +0 -1
- package/es2020/structured-log/src/misc/utils.js +0 -39
- package/es2020/structured-log/src/misc/utils.js.map +0 -1
- package/es2020/structured-log/src/modules/consoleLog.module.js +0 -44
- package/es2020/structured-log/src/modules/consoleLog.module.js.map +0 -1
- package/es2020/structured-log/src/services/console/consoleComponentSink.service.js +0 -96
- package/es2020/structured-log/src/services/console/consoleComponentSink.service.js.map +0 -1
- package/es2020/structured-log/src/services/console/consoleSinkConfig.service.js +0 -44
- package/es2020/structured-log/src/services/console/consoleSinkConfig.service.js.map +0 -1
- package/es2020/structured-log/src/services/logger.service.js +0 -44
- package/es2020/structured-log/src/services/logger.service.js.map +0 -1
- package/es2020/structured-log/src/services/rest/restSink.service.js +0 -118
- package/es2020/structured-log/src/services/rest/restSink.service.js.map +0 -1
- package/es2020/structured-log/src/services/rest/restSinkConfig.service.js +0 -55
- package/es2020/structured-log/src/services/rest/restSinkConfig.service.js.map +0 -1
- package/es2020/structured-log/src/types/logger.interface.js +0 -2
- package/es2020/structured-log/src/types/logger.interface.js.map +0 -1
- package/es2020/structured-log/src/types/structured-log.typings.js +0 -2
- package/es2020/structured-log/src/types/structured-log.typings.js.map +0 -1
- package/es2020/structured-log/src/types/tokens.js +0 -56
- package/es2020/structured-log/src/types/tokens.js.map +0 -1
- package/forms/common-forms.d.ts +0 -966
- package/forms/common-forms.internal.d.ts +0 -966
- package/forms/src/index.d.ts +0 -20
- package/forms/src/index.d.ts.map +0 -1
- package/forms/temp/common-forms.api.md +0 -445
- package/hmr/common-hmr.d.ts +0 -6
- package/hmr/common-hmr.internal.d.ts +0 -6
- package/hmr/src/index.d.ts +0 -6
- package/hmr/src/index.d.ts.map +0 -1
- package/hmr/temp/common-hmr.api.md +0 -12
- package/hotkeys/common-hotkeys.d.ts +0 -53
- package/hotkeys/common-hotkeys.internal.d.ts +0 -53
- package/hotkeys/src/index.d.ts +0 -2
- package/hotkeys/src/index.d.ts.map +0 -1
- package/hotkeys/temp/common-hotkeys.api.md +0 -25
- package/material/common-material.d.ts +0 -264
- package/material/common-material.internal.d.ts +0 -278
- package/material/src/index.d.ts +0 -11
- package/material/src/index.d.ts.map +0 -1
- package/material/temp/common-material.api.md +0 -164
- package/moment/common-moment.d.ts +0 -61
- package/moment/common-moment.internal.d.ts +0 -61
- package/moment/src/index.d.ts +0 -3
- package/moment/src/index.d.ts.map +0 -1
- package/moment/temp/common-moment.api.md +0 -47
- package/numeral/common-numeral.d.ts +0 -44
- package/numeral/common-numeral.internal.d.ts +0 -44
- package/numeral/src/index.d.ts +0 -3
- package/numeral/src/index.d.ts.map +0 -1
- package/numeral/temp/common-numeral.api.md +0 -37
- package/positions/common-positions.d.ts +0 -324
- package/positions/common-positions.internal.d.ts +0 -346
- package/positions/src/index.d.ts +0 -9
- package/positions/src/index.d.ts.map +0 -1
- package/positions/src/types/positions.typings.d.ts +0 -33
- package/positions/src/types/positions.typings.d.ts.map +0 -1
- package/positions/temp/common-positions.api.md +0 -170
- package/router/common-router.d.ts +0 -140
- package/router/common-router.internal.d.ts +0 -140
- package/router/src/index.d.ts +0 -7
- package/router/src/index.d.ts.map +0 -1
- package/router/temp/common-router.api.md +0 -74
- package/src/index.d.ts +0 -34
- package/src/index.d.ts.map +0 -1
- package/src/modules/commonDynamic.module.d.ts +0 -11
- package/src/modules/commonDynamic.module.d.ts.map +0 -1
- package/src/modules/commonLocalize.d.ts +0 -11
- package/src/modules/commonLocalize.d.ts.map +0 -1
- package/src/modules/commonUtils.module.d.ts +0 -14
- package/src/modules/commonUtils.module.d.ts.map +0 -1
- package/src/modules/goBack/directives/goBack/goBack.directive.d.ts +0 -17
- package/src/modules/goBack/directives/goBack/goBack.directive.d.ts.map +0 -1
- package/src/modules/goBack/directives/index.d.ts +0 -2
- package/src/modules/goBack/directives/index.d.ts.map +0 -1
- package/src/modules/goBack/index.d.ts +0 -3
- package/src/modules/goBack/index.d.ts.map +0 -1
- package/src/modules/goBack/modules/goBack.module.d.ts +0 -11
- package/src/modules/goBack/modules/goBack.module.d.ts.map +0 -1
- package/src/modules/goBack/modules/index.d.ts +0 -2
- package/src/modules/goBack/modules/index.d.ts.map +0 -1
- package/src/modules/progressIndicator/components/index.d.ts +0 -2
- package/src/modules/progressIndicator/components/index.d.ts.map +0 -1
- package/src/modules/progressIndicator/directives/index.d.ts +0 -2
- package/src/modules/progressIndicator/directives/index.d.ts.map +0 -1
- package/src/modules/progressIndicator/index.d.ts +0 -6
- package/src/modules/progressIndicator/index.d.ts.map +0 -1
- package/src/modules/progressIndicator/misc/tokens.d.ts +0 -6
- package/src/modules/progressIndicator/misc/tokens.d.ts.map +0 -1
- package/src/modules/progressIndicator/modules/index.d.ts +0 -2
- package/src/modules/progressIndicator/modules/index.d.ts.map +0 -1
- package/src/pipes/index.d.ts +0 -6
- package/src/pipes/index.d.ts.map +0 -1
- package/src/pipes/mergeCssClasses/mergeCssClasses.pipe.d.ts +0 -21
- package/src/pipes/mergeCssClasses/mergeCssClasses.pipe.d.ts.map +0 -1
- package/src/services/alignment/alignment.interface.d.ts +0 -6
- package/src/services/alignment/alignment.interface.d.ts.map +0 -1
- package/src/services/alignment/index.d.ts +0 -2
- package/src/services/alignment/index.d.ts.map +0 -1
- package/store/common-store.d.ts +0 -61
- package/store/common-store.internal.d.ts +0 -61
- package/store/src/index.d.ts +0 -2
- package/store/src/index.d.ts.map +0 -1
- package/store/src/types/store.typings.d.ts +0 -4
- package/store/src/types/store.typings.d.ts.map +0 -1
- package/store/temp/common-store.api.md +0 -37
- package/structured-log/common-structured-log.d.ts +0 -418
- package/structured-log/common-structured-log.internal.d.ts +0 -418
- package/structured-log/src/index.d.ts +0 -12
- package/structured-log/src/index.d.ts.map +0 -1
- package/structured-log/src/types/structured-log.typings.d.ts +0 -355
- package/structured-log/src/types/structured-log.typings.d.ts.map +0 -1
- package/structured-log/temp/common-structured-log.api.md +0 -193
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { PLATFORM_ID, Inject, Optional, Injectable } from '@angular/core';
|
|
2
|
-
import { isPlatformBrowser } from '@angular/common';
|
|
3
|
-
import { isBlank } from '@jscrpt/common';
|
|
4
|
-
import { HTTP_REQUEST_COOKIE_HEADER } from '../../types/tokens';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Class that is used as wrapper for working with cookies
|
|
8
|
-
*/
|
|
9
|
-
export class CookieService {
|
|
10
|
-
//######################### constructor #########################
|
|
11
|
-
constructor(platformId, _serverCookies) {
|
|
12
|
-
this._serverCookies = _serverCookies;
|
|
13
|
-
//######################### private fields #########################
|
|
14
|
-
/**
|
|
15
|
-
* Indication that current code is running in browser
|
|
16
|
-
*/
|
|
17
|
-
this._isBrowser = false;
|
|
18
|
-
this._isBrowser = isPlatformBrowser(platformId);
|
|
19
|
-
}
|
|
20
|
-
//######################### public methods #########################
|
|
21
|
-
/**
|
|
22
|
-
* Retrieves a single cookie by it's name
|
|
23
|
-
*
|
|
24
|
-
* @param name - Identification of the Cookie
|
|
25
|
-
* @param skipSerialization - Indication whether skip deserialization from json string
|
|
26
|
-
* @returns The Cookie's value
|
|
27
|
-
*/
|
|
28
|
-
getCookie(name, skipSerialization) {
|
|
29
|
-
if (!this._isBrowser && isBlank(this._serverCookies)) {
|
|
30
|
-
return null;
|
|
31
|
-
}
|
|
32
|
-
name = encodeURIComponent(name);
|
|
33
|
-
const regexp = new RegExp('(?:^' + name + '|;\\s*' + name + ')=(.*?)(?:;|$)', 'g');
|
|
34
|
-
let result;
|
|
35
|
-
if (isBlank(this._serverCookies)) {
|
|
36
|
-
result = regexp.exec(document.cookie);
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
result = regexp.exec(this._serverCookies);
|
|
40
|
-
}
|
|
41
|
-
if (result === null) {
|
|
42
|
-
return null;
|
|
43
|
-
}
|
|
44
|
-
const val = decodeURIComponent(result[1]);
|
|
45
|
-
return skipSerialization ? val : JSON.parse(val);
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Save the Cookie
|
|
49
|
-
*
|
|
50
|
-
* @param name - Cookie's identification
|
|
51
|
-
* @param value - Cookie's value
|
|
52
|
-
* @param expires - Cookie's expiration date in days from now. If it's undefined the cookie is a session Cookie
|
|
53
|
-
* @param path - Path relative to the domain where the cookie should be avaiable. Default /
|
|
54
|
-
* @param domain - Domain where the cookie should be avaiable. Default current domain
|
|
55
|
-
* @param skipSerialization - Indication whether skip serialization to json string
|
|
56
|
-
*/
|
|
57
|
-
setCookie(name, value, expires, path, domain, skipSerialization) {
|
|
58
|
-
if (!this._isBrowser) {
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
const val = skipSerialization ? value : JSON.stringify(value);
|
|
62
|
-
let cookieStr = encodeURIComponent(name) + '=' + encodeURIComponent(val) + ';';
|
|
63
|
-
if (expires) {
|
|
64
|
-
const dtExpires = new Date(new Date().getTime() + expires * 1000 * 60 * 60 * 24);
|
|
65
|
-
cookieStr += 'expires=' + dtExpires.toUTCString() + ';';
|
|
66
|
-
}
|
|
67
|
-
if (path) {
|
|
68
|
-
cookieStr += 'path=' + path + ';';
|
|
69
|
-
}
|
|
70
|
-
if (domain) {
|
|
71
|
-
cookieStr += 'domain=' + domain + ';';
|
|
72
|
-
}
|
|
73
|
-
document.cookie = cookieStr;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Removes specified Cookie
|
|
77
|
-
*
|
|
78
|
-
* @param name - Cookie's identification
|
|
79
|
-
* @param path - Path relative to the domain where the cookie should be avaiable. Default /
|
|
80
|
-
* @param domain - Domain where the cookie should be avaiable. Default current domain
|
|
81
|
-
*/
|
|
82
|
-
deleteCookie(name, path, domain) {
|
|
83
|
-
if (!this._isBrowser) {
|
|
84
|
-
return;
|
|
85
|
-
}
|
|
86
|
-
// If the cookie exists
|
|
87
|
-
if (this.getCookie(name)) {
|
|
88
|
-
this.setCookie(name, '', -1, path, domain);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
CookieService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: CookieService, deps: [{ token: PLATFORM_ID }, { token: HTTP_REQUEST_COOKIE_HEADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
93
|
-
CookieService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: CookieService, providedIn: 'root' });
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: CookieService, decorators: [{
|
|
95
|
-
type: Injectable,
|
|
96
|
-
args: [{ providedIn: 'root' }]
|
|
97
|
-
}], ctorParameters: function () { return [{ type: Object, decorators: [{
|
|
98
|
-
type: Inject,
|
|
99
|
-
args: [PLATFORM_ID]
|
|
100
|
-
}] }, { type: undefined, decorators: [{
|
|
101
|
-
type: Optional
|
|
102
|
-
}, {
|
|
103
|
-
type: Inject,
|
|
104
|
-
args: [HTTP_REQUEST_COOKIE_HEADER]
|
|
105
|
-
}] }]; } });
|
|
106
|
-
//# sourceMappingURL=cookies.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cookies.service.js","sourceRoot":"","sources":["../../../../src/services/cookies/cookies.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAC,MAAM,eAAe,CAAC;AACxE,OAAO,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAEvC,OAAO,EAAC,0BAA0B,EAAC,MAAM,oBAAoB,CAAC;;AAE9D;;GAEG;AAEH,MAAM,OAAO,aAAa;IAStB,iEAAiE;IACjE,YAAiC,UAAkB,EACiB,cAAsB;QAAtB,mBAAc,GAAd,cAAc,CAAQ;QAT1F,oEAAoE;QAEpE;;WAEG;QACK,eAAU,GAAY,KAAK,CAAC;QAMhC,IAAI,CAAC,UAAU,GAAG,iBAAiB,CAAC,UAAU,CAAC,CAAC;IACpD,CAAC;IAED,oEAAoE;IAEpE;;;;;;OAMG;IACI,SAAS,CAAC,IAAY,EAAE,iBAA2B;QAEtD,IAAG,CAAC,IAAI,CAAC,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EACnD;YACI,OAAO,IAAI,CAAC;SACf;QAED,IAAI,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC;QAEhC,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,MAAM,GAAG,IAAI,GAAG,QAAQ,GAAG,IAAI,GAAG,gBAAgB,EAAE,GAAG,CAAC,CAAC;QACnF,IAAI,MAAM,CAAC;QAEX,IAAG,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAC/B;YACI,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;SACzC;aAED;YACI,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;SAC7C;QAED,IAAG,MAAM,KAAK,IAAI,EAClB;YACI,OAAO,IAAI,CAAC;SACf;QAED,MAAM,GAAG,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;QAE1C,OAAO,iBAAiB,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACrD,CAAC;IAED;;;;;;;;;OASG;IACI,SAAS,CAAC,IAAY,EAAE,KAAU,EAAE,OAAgB,EAAE,IAAa,EAAE,MAAe,EAAE,iBAA2B;QAEpH,IAAG,CAAC,IAAI,CAAC,UAAU,EACnB;YACI,OAAO;SACV;QAED,MAAM,GAAG,GAAG,iBAAiB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QAC9D,IAAI,SAAS,GAAG,kBAAkB,CAAC,IAAI,CAAC,GAAG,GAAG,GAAG,kBAAkB,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC;QAE/E,IAAI,OAAO,EACX;YACI,MAAM,SAAS,GAAG,IAAI,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,GAAG,OAAO,GAAG,IAAI,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;YACjF,SAAS,IAAI,UAAU,GAAG,SAAS,CAAC,WAAW,EAAE,GAAG,GAAG,CAAC;SAC3D;QAED,IAAI,IAAI,EACR;YACI,SAAS,IAAI,OAAO,GAAG,IAAI,GAAG,GAAG,CAAC;SACrC;QAED,IAAI,MAAM,EACV;YACI,SAAS,IAAI,SAAS,GAAG,MAAM,GAAG,GAAG,CAAC;SACzC;QAED,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;IAChC,CAAC;IAED;;;;;;OAMG;IACI,YAAY,CAAC,IAAY,EAAE,IAAa,EAAE,MAAe;QAE5D,IAAG,CAAC,IAAI,CAAC,UAAU,EACnB;YACI,OAAO;SACV;QAED,uBAAuB;QACvB,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EACxB;YACI,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;SAC9C;IACL,CAAC;;0GAlHQ,aAAa,kBAUF,WAAW,aACC,0BAA0B;8GAXjD,aAAa,cADD,MAAM;2FAClB,aAAa;kBADzB,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC;0DAWiB,MAAM;0BAAtC,MAAM;2BAAC,WAAW;;0BAClB,QAAQ;;0BAAI,MAAM;2BAAC,0BAA0B","sourcesContent":["import {PLATFORM_ID, Inject, Optional, Injectable} from '@angular/core';\nimport {isPlatformBrowser} from '@angular/common';\nimport {isBlank} from '@jscrpt/common';\n\nimport {HTTP_REQUEST_COOKIE_HEADER} from '../../types/tokens';\n\n/**\n * Class that is used as wrapper for working with cookies\n */\n@Injectable({providedIn: 'root'})\nexport class CookieService\n{\n //######################### private fields #########################\n\n /**\n * Indication that current code is running in browser\n */\n private _isBrowser: boolean = false;\n\n //######################### constructor #########################\n constructor(@Inject(PLATFORM_ID) platformId: Object,\n @Optional() @Inject(HTTP_REQUEST_COOKIE_HEADER) private _serverCookies: string)\n {\n this._isBrowser = isPlatformBrowser(platformId);\n }\n\n //######################### public methods #########################\n\n /**\n * Retrieves a single cookie by it's name\n *\n * @param name - Identification of the Cookie\n * @param skipSerialization - Indication whether skip deserialization from json string\n * @returns The Cookie's value\n */\n public getCookie(name: string, skipSerialization?: boolean): any\n {\n if(!this._isBrowser && isBlank(this._serverCookies))\n {\n return null;\n }\n\n name = encodeURIComponent(name);\n \n const regexp = new RegExp('(?:^' + name + '|;\\\\s*' + name + ')=(.*?)(?:;|$)', 'g');\n let result;\n\n if(isBlank(this._serverCookies))\n {\n result = regexp.exec(document.cookie);\n }\n else\n {\n result = regexp.exec(this._serverCookies);\n }\n\n if(result === null)\n {\n return null;\n }\n\n const val = decodeURIComponent(result[1]);\n\n return skipSerialization ? val : JSON.parse(val);\n }\n\n /**\n * Save the Cookie\n *\n * @param name - Cookie's identification\n * @param value - Cookie's value\n * @param expires - Cookie's expiration date in days from now. If it's undefined the cookie is a session Cookie\n * @param path - Path relative to the domain where the cookie should be avaiable. Default /\n * @param domain - Domain where the cookie should be avaiable. Default current domain\n * @param skipSerialization - Indication whether skip serialization to json string\n */\n public setCookie(name: string, value: any, expires?: number, path?: string, domain?: string, skipSerialization?: boolean): void\n {\n if(!this._isBrowser)\n {\n return;\n }\n\n const val = skipSerialization ? value : JSON.stringify(value);\n let cookieStr = encodeURIComponent(name) + '=' + encodeURIComponent(val) + ';';\n\n if (expires)\n {\n const dtExpires = new Date(new Date().getTime() + expires * 1000 * 60 * 60 * 24);\n cookieStr += 'expires=' + dtExpires.toUTCString() + ';';\n }\n \n if (path)\n {\n cookieStr += 'path=' + path + ';';\n }\n \n if (domain)\n {\n cookieStr += 'domain=' + domain + ';';\n }\n\n document.cookie = cookieStr;\n }\n\n /**\n * Removes specified Cookie\n *\n * @param name - Cookie's identification\n * @param path - Path relative to the domain where the cookie should be avaiable. Default /\n * @param domain - Domain where the cookie should be avaiable. Default current domain\n */\n public deleteCookie(name: string, path?: string, domain?: string): void\n {\n if(!this._isBrowser)\n {\n return;\n }\n\n // If the cookie exists\n if (this.getCookie(name))\n {\n this.setCookie(name, '', -1, path, domain);\n }\n }\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"globalization.service.js","sourceRoot":"","sources":["../../../../src/services/globalization/globalization.service.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,OAAgB,oBAAoB;CAWzC","sourcesContent":["import {Observable} from 'rxjs';\n\n/**\n * Globalization service for handling globalization changes\n */\nexport abstract class GlobalizationService\n{\n /**\n * Gets current name of locale, that is used within application\n */\n public abstract get locale(): string;\n \n /**\n * Gets observable that emits when locale changes and change should be applied to application\n */\n public abstract get localeChange(): Observable<void>;\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/services/logger/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC","sourcesContent":["export * from './logger.interface';\nexport * from './logger.service';"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logger.interface.js","sourceRoot":"","sources":["../../../../src/services/logger/logger.interface.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Interface for general logger\n */\nexport interface Logger\n{\n //######################### public methods #########################\n\n /**\n * Logs an event with the LogEventLevel.fatal severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n fatal(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.fatal severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n fatal(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.error severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n error(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.error severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n error(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.warning severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n warn(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.warning severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n warn(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.information severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n info(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.information severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n info(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.debug severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n debug(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.debug severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n debug(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.verbose severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n verbose(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.verbose severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n verbose(error: Error, messageTemplate: string, ...properties: any[]): void;\n}"]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dummy service used as default logger interface doing nothing
|
|
3
|
-
*/
|
|
4
|
-
export class DummyLoggerService {
|
|
5
|
-
fatal(_errorOrMessageTemplate, ..._properties) {
|
|
6
|
-
}
|
|
7
|
-
error(_errorOrMessageTemplate, ..._properties) {
|
|
8
|
-
}
|
|
9
|
-
warn(_errorOrMessageTemplate, ..._properties) {
|
|
10
|
-
}
|
|
11
|
-
info(_errorOrMessageTemplate, ..._properties) {
|
|
12
|
-
}
|
|
13
|
-
debug(_errorOrMessageTemplate, ..._properties) {
|
|
14
|
-
}
|
|
15
|
-
verbose(_errorOrMessageTemplate, ..._properties) {
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=logger.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logger.service.js","sourceRoot":"","sources":["../../../../src/services/logger/logger.service.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,OAAO,kBAAkB;IAmB3B,KAAK,CAAC,uBAA4B,EAAE,GAAG,WAAkB;IAEzD,CAAC;IAiBD,KAAK,CAAC,uBAA4B,EAAE,GAAG,WAAkB;IAEzD,CAAC;IAiBD,IAAI,CAAC,uBAA4B,EAAE,GAAG,WAAkB;IAExD,CAAC;IAiBD,IAAI,CAAC,uBAA4B,EAAE,GAAG,WAAkB;IAExD,CAAC;IAiBD,KAAK,CAAC,uBAA4B,EAAE,GAAG,WAAkB;IAEzD,CAAC;IAiBD,OAAO,CAAC,uBAA4B,EAAE,GAAG,WAAkB;IAE3D,CAAC;CACJ","sourcesContent":["import {Logger} from './logger.interface';\n\n/**\n * Dummy service used as default logger interface doing nothing\n */\nexport class DummyLoggerService implements Logger\n{\n //######################### public methods #########################\n\n /**\n * Logs an event with the LogEventLevel.fatal severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n fatal(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.fatal severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n fatal(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n fatal(_errorOrMessageTemplate: any, ..._properties: any[]): void\n {\n }\n\n /**\n * Logs an event with the LogEventLevel.error severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n error(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.error severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n error(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n error(_errorOrMessageTemplate: any, ..._properties: any[]): void\n {\n }\n\n /**\n * Logs an event with the LogEventLevel.warning severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n warn(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.warning severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n warn(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n warn(_errorOrMessageTemplate: any, ..._properties: any[]): void\n {\n }\n\n /**\n * Logs an event with the LogEventLevel.information severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n info(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.information severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n info(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n info(_errorOrMessageTemplate: any, ..._properties: any[]): void\n {\n }\n\n /**\n * Logs an event with the LogEventLevel.debug severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n debug(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.debug severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n debug(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n debug(_errorOrMessageTemplate: any, ..._properties: any[]): void\n {\n }\n\n /**\n * Logs an event with the LogEventLevel.verbose severity.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n verbose(messageTemplate: string, ...properties: any[]): void;\n\n /**\n * Logs an event with the LogEventLevel.verbose severity.\n * @param error - Error for the log event.\n * @param messageTemplate - Message template for the log event.\n * @param properties - Properties that can be used to render the message template.\n */\n verbose(error: Error, messageTemplate: string, ...properties: any[]): void;\n\n verbose(_errorOrMessageTemplate: any, ..._properties: any[]): void\n {\n }\n}"]}
|
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
import { Injectable, Optional, SkipSelf } from '@angular/core';
|
|
2
|
-
import { generateId } from '@jscrpt/common';
|
|
3
|
-
import { Subject, Subscription } from 'rxjs';
|
|
4
|
-
import { NOTIFICATIONS, NOTIFICATIONS_SCOPE } from '../../types/tokens';
|
|
5
|
-
import { Notification, NotificationSeverity } from './notifications.interface';
|
|
6
|
-
import { NotificationsOptions } from './notificationsOptions';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "./notificationsOptions";
|
|
9
|
-
/**
|
|
10
|
-
* Default notifications service implementation
|
|
11
|
-
*/
|
|
12
|
-
export class DefaultNotificationsService {
|
|
13
|
-
//######################### constructor #########################
|
|
14
|
-
constructor(_options) {
|
|
15
|
-
this._options = _options;
|
|
16
|
-
//######################### protected fields #########################
|
|
17
|
-
/**
|
|
18
|
-
* Array of notifications
|
|
19
|
-
*/
|
|
20
|
-
this._notifications = [];
|
|
21
|
-
/**
|
|
22
|
-
* Array of notifications timeouts
|
|
23
|
-
*/
|
|
24
|
-
this._notificationsTimeouts = [];
|
|
25
|
-
/**
|
|
26
|
-
* Subject used for emitting changes of current notifications
|
|
27
|
-
*/
|
|
28
|
-
this._notificationsChange = new Subject();
|
|
29
|
-
/**
|
|
30
|
-
* Subject used for emitting event when instance is being destroyed
|
|
31
|
-
*/
|
|
32
|
-
this._destroy = new Subject();
|
|
33
|
-
/**
|
|
34
|
-
* Array of scoped notifications
|
|
35
|
-
*/
|
|
36
|
-
this._scopes = {};
|
|
37
|
-
if (!this._options || !(this._options instanceof NotificationsOptions)) {
|
|
38
|
-
this._options = new NotificationsOptions();
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
//######################### public properties #########################
|
|
42
|
-
/**
|
|
43
|
-
* @inheritdoc
|
|
44
|
-
*/
|
|
45
|
-
get notifications() {
|
|
46
|
-
return [...this._notifications];
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* @inheritdoc
|
|
50
|
-
*/
|
|
51
|
-
get notificationsChange() {
|
|
52
|
-
return this._notificationsChange.asObservable();
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* @inheritdoc
|
|
56
|
-
*/
|
|
57
|
-
get destroy() {
|
|
58
|
-
return this._destroy.asObservable();
|
|
59
|
-
}
|
|
60
|
-
//######################### public methods - implementation of Notifications #########################
|
|
61
|
-
/**
|
|
62
|
-
* @inheritdoc
|
|
63
|
-
*/
|
|
64
|
-
message(message, severity) {
|
|
65
|
-
const notification = new Notification(message, severity);
|
|
66
|
-
this._notifications.push(notification);
|
|
67
|
-
this._notificationsChange.next();
|
|
68
|
-
// set timeout
|
|
69
|
-
if (this._options.timeout > 0) {
|
|
70
|
-
this._notificationsTimeouts.push(setTimeout(() => {
|
|
71
|
-
this.remove(notification);
|
|
72
|
-
}, this._options.timeout));
|
|
73
|
-
}
|
|
74
|
-
return this;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* @inheritdoc
|
|
78
|
-
*/
|
|
79
|
-
default(message) {
|
|
80
|
-
return this.message(message, NotificationSeverity.Default);
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* @inheritdoc
|
|
84
|
-
*/
|
|
85
|
-
success(message) {
|
|
86
|
-
return this.message(message, NotificationSeverity.Success);
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* @inheritdoc
|
|
90
|
-
*/
|
|
91
|
-
error(message) {
|
|
92
|
-
return this.message(message, NotificationSeverity.Error);
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* @inheritdoc
|
|
96
|
-
*/
|
|
97
|
-
info(message) {
|
|
98
|
-
return this.message(message, NotificationSeverity.Info);
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* @inheritdoc
|
|
102
|
-
*/
|
|
103
|
-
warning(message) {
|
|
104
|
-
return this.message(message, NotificationSeverity.Warning);
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* @inheritdoc
|
|
108
|
-
*/
|
|
109
|
-
clearNotifications() {
|
|
110
|
-
while (this._notifications[0]) {
|
|
111
|
-
this._remove(this._notifications[0], false);
|
|
112
|
-
}
|
|
113
|
-
this._notificationsChange.next();
|
|
114
|
-
return this;
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* @inheritdoc
|
|
118
|
-
*/
|
|
119
|
-
remove(notification) {
|
|
120
|
-
return this._remove(notification);
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* @inheritdoc
|
|
124
|
-
*/
|
|
125
|
-
getScope(scopeName) {
|
|
126
|
-
const scopeObj = this._scopes[scopeName];
|
|
127
|
-
let scope;
|
|
128
|
-
// no scope yet
|
|
129
|
-
if (!scopeObj) {
|
|
130
|
-
scope = new DefaultNotificationsService(this._options);
|
|
131
|
-
const subscription = new Subscription();
|
|
132
|
-
this._scopes[scopeName] = [scope, subscription];
|
|
133
|
-
//destroys and removes scope
|
|
134
|
-
subscription.add(scope.destroy.subscribe(() => {
|
|
135
|
-
delete this._scopes[scopeName];
|
|
136
|
-
subscription.unsubscribe();
|
|
137
|
-
}));
|
|
138
|
-
}
|
|
139
|
-
else {
|
|
140
|
-
scope = scopeObj[0];
|
|
141
|
-
}
|
|
142
|
-
return scope;
|
|
143
|
-
}
|
|
144
|
-
/**
|
|
145
|
-
* @inheritdoc
|
|
146
|
-
*
|
|
147
|
-
* Call this manualy for scoped instances until this is fixed https://github.com/angular/angular/issues/28738
|
|
148
|
-
*/
|
|
149
|
-
ngOnDestroy() {
|
|
150
|
-
this._destroy.next();
|
|
151
|
-
this._destroy.complete();
|
|
152
|
-
this._notificationsChange.complete();
|
|
153
|
-
Object.keys(this._scopes).forEach(scopeName => {
|
|
154
|
-
const [scope] = this._scopes[scopeName];
|
|
155
|
-
scope.ngOnDestroy();
|
|
156
|
-
});
|
|
157
|
-
}
|
|
158
|
-
//######################### protected methods #########################
|
|
159
|
-
/**
|
|
160
|
-
* Removes notification from array of notifications
|
|
161
|
-
* @param notification - Notification to be removed
|
|
162
|
-
* @param emitEvent - Indication whether emit event on removal
|
|
163
|
-
*/
|
|
164
|
-
_remove(notification, emitEvent = true) {
|
|
165
|
-
const index = this._notifications.indexOf(notification);
|
|
166
|
-
if (index < 0) {
|
|
167
|
-
return this;
|
|
168
|
-
}
|
|
169
|
-
this._notifications.splice(index, 1);
|
|
170
|
-
if (emitEvent) {
|
|
171
|
-
this._notificationsChange.next();
|
|
172
|
-
}
|
|
173
|
-
// clear timeout
|
|
174
|
-
if (this._options.timeout > 0) {
|
|
175
|
-
clearTimeout(this._notificationsTimeouts[index]);
|
|
176
|
-
this._notificationsTimeouts.splice(index, 1);
|
|
177
|
-
}
|
|
178
|
-
return this;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
DefaultNotificationsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DefaultNotificationsService, deps: [{ token: i1.NotificationsOptions, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
182
|
-
DefaultNotificationsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DefaultNotificationsService });
|
|
183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DefaultNotificationsService, decorators: [{
|
|
184
|
-
type: Injectable
|
|
185
|
-
}], ctorParameters: function () { return [{ type: i1.NotificationsOptions, decorators: [{
|
|
186
|
-
type: Optional
|
|
187
|
-
}] }]; } });
|
|
188
|
-
/**
|
|
189
|
-
* Default notifications provider
|
|
190
|
-
*/
|
|
191
|
-
const DEFAULT_NOTIFICATIONS = {
|
|
192
|
-
provide: NOTIFICATIONS,
|
|
193
|
-
useClass: DefaultNotificationsService
|
|
194
|
-
};
|
|
195
|
-
//TODO: add options to notifications factory
|
|
196
|
-
/**
|
|
197
|
-
* Factory that creates notifications provider for scope
|
|
198
|
-
*/
|
|
199
|
-
const notificationsFactory = (scopeName, token) => {
|
|
200
|
-
return [
|
|
201
|
-
{
|
|
202
|
-
provide: NOTIFICATIONS_SCOPE,
|
|
203
|
-
useValue: scopeName
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
provide: token !== null && token !== void 0 ? token : NOTIFICATIONS,
|
|
207
|
-
useFactory: (notifications) => {
|
|
208
|
-
return notifications.getScope(scopeName);
|
|
209
|
-
},
|
|
210
|
-
deps: [[new SkipSelf(), NOTIFICATIONS]]
|
|
211
|
-
}
|
|
212
|
-
];
|
|
213
|
-
};
|
|
214
|
-
Object.defineProperty(DEFAULT_NOTIFICATIONS, 'scope', {
|
|
215
|
-
get() {
|
|
216
|
-
const func = (scopeName, token) => {
|
|
217
|
-
return notificationsFactory(scopeName, token);
|
|
218
|
-
};
|
|
219
|
-
Object.defineProperty(func, 'random', {
|
|
220
|
-
get() {
|
|
221
|
-
return notificationsFactory(generateId(6));
|
|
222
|
-
}
|
|
223
|
-
});
|
|
224
|
-
return func;
|
|
225
|
-
}
|
|
226
|
-
});
|
|
227
|
-
export { DEFAULT_NOTIFICATIONS };
|
|
228
|
-
//# sourceMappingURL=defaultNotifications.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaultNotifications.service.js","sourceRoot":"","sources":["../../../../src/services/notifications/defaultNotifications.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAkB,QAAQ,EAAE,QAAQ,EAAO,MAAM,eAAe,CAAC;AACnF,OAAO,EAAa,UAAU,EAAC,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAa,OAAO,EAAE,YAAY,EAAC,MAAM,MAAM,CAAC;AAEvD,OAAO,EAAC,aAAa,EAAE,mBAAmB,EAAC,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAgB,YAAY,EAAE,oBAAoB,EAAuF,MAAM,2BAA2B,CAAC;AAClL,OAAO,EAAC,oBAAoB,EAAC,MAAM,wBAAwB,CAAC;;;AAE5D;;GAEG;AAEH,MAAM,OAAO,2BAA2B;IAuDpC,iEAAiE;IACjE,YAAkC,QAA8B;QAA9B,aAAQ,GAAR,QAAQ,CAAsB;QAtDhE,sEAAsE;QAEtE;;WAEG;QACO,mBAAc,GAAmB,EAAE,CAAC;QAE9C;;WAEG;QACO,2BAAsB,GAAa,EAAE,CAAC;QAEhD;;WAEG;QACO,yBAAoB,GAAkB,IAAI,OAAO,EAAQ,CAAC;QAEpE;;WAEG;QACO,aAAQ,GAAkB,IAAI,OAAO,EAAQ,CAAC;QAExD;;WAEG;QACO,YAAO,GAA8C,EAAE,CAAC;QA+B9D,IAAG,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAC,QAAQ,YAAY,oBAAoB,CAAC,EACrE;YACI,IAAI,CAAC,QAAQ,GAAG,IAAI,oBAAoB,EAAE,CAAC;SAC9C;IACL,CAAC;IAjCD,uEAAuE;IAEvE;;OAEG;IACH,IAAW,aAAa;QAEpB,OAAO,CAAC,GAAG,IAAI,CAAC,cAAc,CAAC,CAAC;IACpC,CAAC;IAED;;OAEG;IACH,IAAW,mBAAmB;QAE1B,OAAO,IAAI,CAAC,oBAAoB,CAAC,YAAY,EAAE,CAAC;IACpD,CAAC;IAED;;OAEG;IACH,IAAW,OAAO;QAEd,OAAO,IAAI,CAAC,QAAQ,CAAC,YAAY,EAAE,CAAC;IACxC,CAAC;IAWD,sGAAsG;IAEtG;;OAEG;IACI,OAAO,CAAC,OAAe,EAAE,QAA8B;QAE1D,MAAM,YAAY,GAAG,IAAI,YAAY,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QAEzD,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACvC,IAAI,CAAC,oBAAoB,CAAC,IAAI,EAAE,CAAC;QAEjC,cAAc;QACd,IAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,GAAG,CAAC,EAC5B;YACI,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE;gBAE7C,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;YAC9B,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAQ,CAAC,CAAC;SACrC;QAED,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;OAEG;IACI,OAAO,CAAC,OAAe;QAE1B,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACI,OAAO,CAAC,OAAe;QAE1B,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,OAAe;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,oBAAoB,CAAC,KAAK,CAAC,CAAC;IAC7D,CAAC;IAED;;OAEG;IACI,IAAI,CAAC,OAAe;QAEvB,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAC5D,CAAC;IAED;;OAEG;IACI,OAAO,CAAC,OAAe;QAE1B,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACI,kBAAkB;QAErB,OAAM,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,EAC5B;YACI,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;SAC/C;QAED,IAAI,CAAC,oBAAoB,CAAC,IAAI,EAAE,CAAC;QAEjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,YAA0B;QAEpC,OAAO,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACtC,CAAC;IAED;;OAEG;IACI,QAAQ,CAAC,SAAiB;QAE7B,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QACzC,IAAI,KAAoB,CAAC;QAEzB,eAAe;QACf,IAAG,CAAC,QAAQ,EACZ;YACI,KAAK,GAAG,IAAI,2BAA2B,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACvD,MAAM,YAAY,GAAG,IAAI,YAAY,EAAE,CAAC;YAExC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC;YAEhD,4BAA4B;YAC5B,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,EAAE;gBAE1C,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;gBAC/B,YAAY,CAAC,WAAW,EAAE,CAAC;YAC/B,CAAC,CAAC,CAAC,CAAC;SACP;aAED;YACI,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;SACvB;QAED,OAAO,KAAK,CAAC;IACjB,CAAC;IAED;;;;OAIG;IACI,WAAW;QAEd,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;QACrB,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC;QACzB,IAAI,CAAC,oBAAoB,CAAC,QAAQ,EAAE,CAAC;QAErC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE;YAE1C,MAAM,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;YAExC,KAAK,CAAC,WAAW,EAAE,CAAC;QACxB,CAAC,CAAC,CAAC;IACP,CAAC;IAED,uEAAuE;IAEvE;;;;OAIG;IACO,OAAO,CAAC,YAA0B,EAAE,YAAqB,IAAI;QAEnE,MAAM,KAAK,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;QAExD,IAAG,KAAK,GAAG,CAAC,EACZ;YACI,OAAO,IAAI,CAAC;SACf;QAED,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;QAErC,IAAG,SAAS,EACZ;YACI,IAAI,CAAC,oBAAoB,CAAC,IAAI,EAAE,CAAC;SACpC;QAED,gBAAgB;QAChB,IAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,GAAG,CAAC,EAC5B;YACI,YAAY,CAAC,IAAI,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC,CAAC;YACjD,IAAI,CAAC,sBAAsB,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;SAChD;QAED,OAAO,IAAI,CAAC;IAChB,CAAC;;wHAxOQ,2BAA2B;4HAA3B,2BAA2B;2FAA3B,2BAA2B;kBADvC,UAAU;;0BAyDM,QAAQ;;AAmLzB;;GAEG;AACH,MAAM,qBAAqB,GAC3B;IACI,OAAO,EAAE,aAAa;IACtB,QAAQ,EAAE,2BAA2B;CACxC,CAAC;AAEF,4CAA4C;AAE5C;;GAEG;AACH,MAAM,oBAAoB,GAAG,CAAC,SAAiB,EAAE,KAAsD,EAAE,EAAE;IAEvG,OAAoC;QAChC;YACI,OAAO,EAAE,mBAAmB;YAC5B,QAAQ,EAAE,SAAS;SACtB;QACD;YACI,OAAO,EAAE,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,aAAa;YAC/B,UAAU,EAAE,CAAC,aAA4B,EAAE,EAAE;gBAEzC,OAAO,aAAa,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;YAC7C,CAAC;YACD,IAAI,EAAE,CAAC,CAAC,IAAI,QAAQ,EAAE,EAAE,aAAa,CAAC,CAAC;SAC1C;KACJ,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,cAAc,CAAC,qBAAqB,EAAE,OAAO,EACpD;IACI,GAAG;QAEC,MAAM,IAAI,GAAsC,CAAC,SAAiB,EAAE,KAAsD,EAAE,EAAE;YAE1H,OAAO,oBAAoB,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;QAClD,CAAC,CAAC;QAEF,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,QAAQ,EACpC;YACI,GAAG;gBAEC,OAAO,oBAAoB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;YAC/C,CAAC;SACJ,CAAC,CAAC;QAEH,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ,CAAC,CAAC;AAEH,OAAO,EAAC,qBAAqB,EAAC,CAAC","sourcesContent":["import {Injectable, InjectionToken, Optional, SkipSelf, Type} from '@angular/core';\nimport {Dictionary, generateId} from '@jscrpt/common';\nimport {Observable, Subject, Subscription} from 'rxjs';\n\nimport {NOTIFICATIONS, NOTIFICATIONS_SCOPE} from '../../types/tokens';\nimport {Notifications, Notification, NotificationSeverity, NotificationsProvider, NotificationsScopeProviderFactory, NotificationsScopeProvider} from './notifications.interface';\nimport {NotificationsOptions} from './notificationsOptions';\n\n/**\n * Default notifications service implementation\n */\n@Injectable()\nexport class DefaultNotificationsService implements Notifications\n{\n //######################### protected fields #########################\n\n /**\n * Array of notifications\n */\n protected _notifications: Notification[] = [];\n\n /**\n * Array of notifications timeouts\n */\n protected _notificationsTimeouts: number[] = [];\n\n /**\n * Subject used for emitting changes of current notifications\n */\n protected _notificationsChange: Subject<void> = new Subject<void>();\n\n /**\n * Subject used for emitting event when instance is being destroyed\n */\n protected _destroy: Subject<void> = new Subject<void>();\n\n /**\n * Array of scoped notifications\n */\n protected _scopes: Dictionary<[Notifications, Subscription]> = {};\n\n //######################### public properties #########################\n\n /**\n * @inheritdoc\n */\n public get notifications(): readonly Notification[]\n {\n return [...this._notifications];\n }\n\n /**\n * @inheritdoc\n */\n public get notificationsChange(): Observable<void>\n {\n return this._notificationsChange.asObservable();\n }\n\n /**\n * @inheritdoc\n */\n public get destroy(): Observable<void>\n {\n return this._destroy.asObservable();\n }\n\n //######################### constructor #########################\n constructor(@Optional() protected _options: NotificationsOptions)\n {\n if(!this._options || !(this._options instanceof NotificationsOptions))\n {\n this._options = new NotificationsOptions();\n }\n }\n\n //######################### public methods - implementation of Notifications #########################\n \n /**\n * @inheritdoc\n */\n public message(message: string, severity: NotificationSeverity): Notifications\n {\n const notification = new Notification(message, severity);\n \n this._notifications.push(notification);\n this._notificationsChange.next();\n\n // set timeout\n if(this._options.timeout > 0)\n {\n this._notificationsTimeouts.push(setTimeout(() =>\n {\n this.remove(notification);\n }, this._options.timeout) as any);\n }\n\n return this;\n }\n\n /**\n * @inheritdoc\n */\n public default(message: string): Notifications\n {\n return this.message(message, NotificationSeverity.Default);\n }\n\n /**\n * @inheritdoc\n */\n public success(message: string): Notifications\n {\n return this.message(message, NotificationSeverity.Success);\n }\n \n /**\n * @inheritdoc\n */\n public error(message: string): Notifications\n {\n return this.message(message, NotificationSeverity.Error);\n }\n \n /**\n * @inheritdoc\n */\n public info(message: string): Notifications\n {\n return this.message(message, NotificationSeverity.Info);\n }\n \n /**\n * @inheritdoc\n */\n public warning(message: string): Notifications\n {\n return this.message(message, NotificationSeverity.Warning);\n }\n\n /**\n * @inheritdoc\n */\n public clearNotifications(): Notifications\n {\n while(this._notifications[0])\n {\n this._remove(this._notifications[0], false);\n }\n\n this._notificationsChange.next();\n\n return this;\n }\n\n /**\n * @inheritdoc\n */\n public remove(notification: Notification): Notifications\n {\n return this._remove(notification);\n }\n\n /**\n * @inheritdoc\n */\n public getScope(scopeName: string): Notifications\n {\n const scopeObj = this._scopes[scopeName];\n let scope: Notifications;\n\n // no scope yet\n if(!scopeObj)\n {\n scope = new DefaultNotificationsService(this._options);\n const subscription = new Subscription();\n\n this._scopes[scopeName] = [scope, subscription];\n\n //destroys and removes scope\n subscription.add(scope.destroy.subscribe(() =>\n {\n delete this._scopes[scopeName];\n subscription.unsubscribe();\n }));\n }\n else\n {\n scope = scopeObj[0];\n }\n\n return scope;\n }\n\n /**\n * @inheritdoc\n * \n * Call this manualy for scoped instances until this is fixed https://github.com/angular/angular/issues/28738\n */\n public ngOnDestroy(): void\n {\n this._destroy.next();\n this._destroy.complete();\n this._notificationsChange.complete();\n\n Object.keys(this._scopes).forEach(scopeName =>\n {\n const [scope] = this._scopes[scopeName];\n\n scope.ngOnDestroy();\n });\n }\n\n //######################### protected methods #########################\n\n /**\n * Removes notification from array of notifications\n * @param notification - Notification to be removed\n * @param emitEvent - Indication whether emit event on removal\n */\n protected _remove(notification: Notification, emitEvent: boolean = true): Notifications\n {\n const index = this._notifications.indexOf(notification);\n\n if(index < 0)\n {\n return this;\n }\n\n this._notifications.splice(index, 1);\n\n if(emitEvent)\n {\n this._notificationsChange.next();\n }\n\n // clear timeout\n if(this._options.timeout > 0)\n {\n clearTimeout(this._notificationsTimeouts[index]);\n this._notificationsTimeouts.splice(index, 1);\n }\n\n return this;\n }\n}\n\n/**\n * Default notifications provider\n */\nconst DEFAULT_NOTIFICATIONS: NotificationsProvider =\n{\n provide: NOTIFICATIONS,\n useClass: DefaultNotificationsService\n};\n\n//TODO: add options to notifications factory\n\n/**\n * Factory that creates notifications provider for scope\n */\nconst notificationsFactory = (scopeName: string, token?: Function | Type<any> | InjectionToken<unknown>) =>\n{\n return <NotificationsScopeProvider> [\n {\n provide: NOTIFICATIONS_SCOPE,\n useValue: scopeName\n },\n {\n provide: token ?? NOTIFICATIONS,\n useFactory: (notifications: Notifications) =>\n {\n return notifications.getScope(scopeName);\n },\n deps: [[new SkipSelf(), NOTIFICATIONS]]\n }\n ];\n};\n\nObject.defineProperty(DEFAULT_NOTIFICATIONS, 'scope', \n{\n get()\n {\n const func: NotificationsScopeProviderFactory = (scopeName: string, token?: Function | Type<any> | InjectionToken<unknown>) =>\n {\n return notificationsFactory(scopeName, token);\n };\n\n Object.defineProperty(func, 'random', \n {\n get()\n {\n return notificationsFactory(generateId(6));\n }\n });\n\n return func;\n }\n});\n\nexport {DEFAULT_NOTIFICATIONS};"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/services/notifications/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC","sourcesContent":["export * from './notifications.interface';\nexport * from './notificationsOptions';\nexport * from './defaultNotifications.service';"]}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
//TODO: allow changing and merging options
|
|
2
|
-
/**
|
|
3
|
-
* Severity of notification message
|
|
4
|
-
*/
|
|
5
|
-
export var NotificationSeverity;
|
|
6
|
-
(function (NotificationSeverity) {
|
|
7
|
-
/**
|
|
8
|
-
* Default severity of message, no special meaning
|
|
9
|
-
*/
|
|
10
|
-
NotificationSeverity[NotificationSeverity["Default"] = 0] = "Default";
|
|
11
|
-
/**
|
|
12
|
-
* Information severity of message
|
|
13
|
-
*/
|
|
14
|
-
NotificationSeverity[NotificationSeverity["Info"] = 1] = "Info";
|
|
15
|
-
/**
|
|
16
|
-
* Success severity of message
|
|
17
|
-
*/
|
|
18
|
-
NotificationSeverity[NotificationSeverity["Success"] = 2] = "Success";
|
|
19
|
-
/**
|
|
20
|
-
* Warning severity of message
|
|
21
|
-
*/
|
|
22
|
-
NotificationSeverity[NotificationSeverity["Warning"] = 3] = "Warning";
|
|
23
|
-
/**
|
|
24
|
-
* Error severity of message
|
|
25
|
-
*/
|
|
26
|
-
NotificationSeverity[NotificationSeverity["Error"] = 4] = "Error";
|
|
27
|
-
})(NotificationSeverity || (NotificationSeverity = {}));
|
|
28
|
-
/**
|
|
29
|
-
* Instance of notification that is being displayed
|
|
30
|
-
*/
|
|
31
|
-
export class Notification {
|
|
32
|
-
//######################### constructor #########################
|
|
33
|
-
/**
|
|
34
|
-
* Creates instance of `Notification`
|
|
35
|
-
* @param _message - Message that this notification represents
|
|
36
|
-
* @param _severity - Severity of notification message
|
|
37
|
-
*/
|
|
38
|
-
constructor(_message, _severity) {
|
|
39
|
-
this._message = _message;
|
|
40
|
-
this._severity = _severity;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Gets message that this notification represents
|
|
44
|
-
*/
|
|
45
|
-
get message() {
|
|
46
|
-
return this._message;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Gets severity of notification message
|
|
50
|
-
*/
|
|
51
|
-
get severity() {
|
|
52
|
-
return this._severity;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
//# sourceMappingURL=notifications.interface.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.interface.js","sourceRoot":"","sources":["../../../../src/services/notifications/notifications.interface.ts"],"names":[],"mappings":"AAGA,0CAA0C;AAE1C;;GAEG;AACH,MAAM,CAAN,IAAY,oBA0BX;AA1BD,WAAY,oBAAoB;IAE5B;;OAEG;IACH,qEAAO,CAAA;IAEP;;OAEG;IACH,+DAAI,CAAA;IAEJ;;OAEG;IACH,qEAAO,CAAA;IAEP;;OAEG;IACH,qEAAO,CAAA;IAEP;;OAEG;IACH,iEAAK,CAAA;AACT,CAAC,EA1BW,oBAAoB,KAApB,oBAAoB,QA0B/B;AAED;;GAEG;AACH,MAAM,OAAO,YAAY;IAkBrB,iEAAiE;IAEjE;;;;OAIG;IACH,YAAoB,QAAgB,EAChB,SAA+B;QAD/B,aAAQ,GAAR,QAAQ,CAAQ;QAChB,cAAS,GAAT,SAAS,CAAsB;IAEnD,CAAC;IA1BD;;OAEG;IACH,IAAW,OAAO;QAEd,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,IAAW,QAAQ;QAEf,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;CAaJ","sourcesContent":["import {ClassProvider, FactoryProvider, InjectionToken, Type, ValueProvider} from '@angular/core';\nimport {Observable} from 'rxjs';\n\n//TODO: allow changing and merging options\n\n/**\n * Severity of notification message\n */\nexport enum NotificationSeverity\n{\n /**\n * Default severity of message, no special meaning\n */\n Default,\n\n /**\n * Information severity of message\n */\n Info,\n\n /**\n * Success severity of message\n */\n Success,\n\n /**\n * Warning severity of message\n */\n Warning,\n\n /**\n * Error severity of message\n */\n Error\n}\n\n/**\n * Instance of notification that is being displayed\n */\nexport class Notification\n{\n /**\n * Gets message that this notification represents\n */\n public get message(): string\n {\n return this._message;\n }\n\n /**\n * Gets severity of notification message\n */\n public get severity(): NotificationSeverity\n {\n return this._severity;\n }\n\n //######################### constructor #########################\n \n /**\n * Creates instance of `Notification`\n * @param _message - Message that this notification represents\n * @param _severity - Severity of notification message\n */\n constructor(private _message: string,\n private _severity: NotificationSeverity)\n {\n }\n}\n\n/**\n * Manages currently displayed notifications\n */\nexport interface Notifications\n{\n //######################### properties #########################\n\n /**\n * Gets array of notifications\n */\n readonly notifications: readonly Notification[];\n\n /**\n * Gets observable that emits changes of current notifications\n */\n readonly notificationsChange: Observable<void>;\n\n /**\n * Gets observable that emits event when instance is being destroyed\n */\n readonly destroy: Observable<void>;\n\n //######################### methods #########################\n \n /**\n * Displays message with specified severity\n * @param message - Message to be displayed\n * @param severity - Severity of displayed notification\n */\n message(message: string, severity: NotificationSeverity): Notifications;\n\n /**\n * Displays default notification\n * @param message - Message to be displayed\n */\n default(message: string): Notifications;\n\n /**\n * Displays success notification\n * @param message - Message to be displayed\n */\n success(message: string): Notifications;\n \n /**\n * Displays error notification\n * @param message - Message to be displayed\n */\n error(message: string): Notifications;\n \n /**\n * Displays info notification\n * @param message - Message to be displayed\n */\n info(message: string): Notifications;\n \n /**\n * Displays warning notification\n * @param message - Message to be displayed\n */\n warning(message: string): Notifications;\n\n /**\n * Clears all displayed notifications\n */\n clearNotifications(): Notifications;\n\n /**\n * Removes notification\n * @param notification - Notification to be removed\n */\n remove(notification: Notification): Notifications;\n\n /**\n * Gets scoped instance of `Notifications`\n * @param scopeName - Name of scope to be returned\n */\n getScope(scopeName: string): Notifications;\n\n /**\n * Destroys service and clears all used resources\n */\n ngOnDestroy(): void;\n}\n\n/**\n * Tuple that will hold notification provider and notifications scope provider\n */\nexport type NotificationsScopeProvider = [ValueProvider, FactoryProvider];\n\n/**\n * Factory for creating `NotificationsScopeProvider`\n */\nexport interface NotificationsScopeProviderFactory\n{\n /**\n * Creates `NotificationsScopeProvider` with specified `scopeName`\n * @param scopeName - Name of scope to be created\n * @param token - Custom token that can be used for injecting Notifications under custom provider\n */\n (scopeName: string, token?: Function | Type<any> | InjectionToken<unknown>): NotificationsScopeProvider;\n\n /**\n * Creates `NotificationsScopeProvider` with random scope name\n */\n random?: NotificationsScopeProvider;\n}\n\n/**\n * Notifications provider that allows to create scoped notifications provider\n */\nexport interface NotificationsProvider extends ClassProvider\n{\n /**\n * Gets scoped providers\n */\n scope?: NotificationsScopeProviderFactory;\n}"]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { isPresent } from '@jscrpt/common';
|
|
2
|
-
/**
|
|
3
|
-
* Configuration object that is used by `Notifications` default implementation
|
|
4
|
-
*/
|
|
5
|
-
export class NotificationsOptions {
|
|
6
|
-
//######################### constructor #########################
|
|
7
|
-
constructor(timeout) {
|
|
8
|
-
//######################### public properties #########################
|
|
9
|
-
/**
|
|
10
|
-
* Timeout in ms, after which will be notification closed, if set to 0, message will stay permanently until closed by user
|
|
11
|
-
*/
|
|
12
|
-
this.timeout = 10000;
|
|
13
|
-
if (isPresent(timeout)) {
|
|
14
|
-
this.timeout = timeout;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=notificationsOptions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notificationsOptions.js","sourceRoot":"","sources":["../../../../src/services/notifications/notificationsOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAEzC;;GAEG;AACH,MAAM,OAAO,oBAAoB;IAS7B,iEAAiE;IACjE,YAAY,OAAgB;QAR5B,uEAAuE;QAEvE;;WAEG;QACI,YAAO,GAAW,KAAK,CAAC;QAK3B,IAAG,SAAS,CAAC,OAAO,CAAC,EACrB;YACI,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;SAC1B;IACL,CAAC;CACJ","sourcesContent":["import {isPresent} from '@jscrpt/common';\n\n/**\n * Configuration object that is used by `Notifications` default implementation\n */\nexport class NotificationsOptions\n{\n //######################### public properties #########################\n \n /**\n * Timeout in ms, after which will be notification closed, if set to 0, message will stay permanently until closed by user\n */\n public timeout: number = 10000;\n \n //######################### constructor #########################\n constructor(timeout?: number)\n {\n if(isPresent(timeout))\n {\n this.timeout = timeout;\n }\n }\n}"]}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { CookieService } from '../cookies/cookies.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../cookies/cookies.service";
|
|
5
|
-
/**
|
|
6
|
-
* Implementation of permanent storage using cookies
|
|
7
|
-
*/
|
|
8
|
-
export class CookiePermanentStorageService {
|
|
9
|
-
//######################### constructor #########################
|
|
10
|
-
constructor(_cookies) {
|
|
11
|
-
this._cookies = _cookies;
|
|
12
|
-
}
|
|
13
|
-
//######################### public methods - implementation of StringLocalization #########################
|
|
14
|
-
/**
|
|
15
|
-
* Gets value that was stored with 'name' from permanent storage
|
|
16
|
-
* @param name - Name with which was value stored
|
|
17
|
-
*/
|
|
18
|
-
get(name) {
|
|
19
|
-
return this._cookies.getCookie(name);
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Sets value that will be stored with 'name' in permanent storage until expiration date
|
|
23
|
-
* @param name - Name with which will be value stored
|
|
24
|
-
* @param value - Value to be stored
|
|
25
|
-
* @param expires - Time when value should expire
|
|
26
|
-
*/
|
|
27
|
-
set(name, value, expires) {
|
|
28
|
-
this._cookies.setCookie(name, value, expires ? expires.valueOf() : null, '/');
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Removes value stored with 'name' from permanent storage
|
|
32
|
-
* @param name - Name of stored value that will be removed
|
|
33
|
-
*/
|
|
34
|
-
remove(name) {
|
|
35
|
-
this._cookies.deleteCookie(name, '/');
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
CookiePermanentStorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: CookiePermanentStorageService, deps: [{ token: i1.CookieService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
39
|
-
CookiePermanentStorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: CookiePermanentStorageService });
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: CookiePermanentStorageService, decorators: [{
|
|
41
|
-
type: Injectable
|
|
42
|
-
}], ctorParameters: function () { return [{ type: i1.CookieService }]; } });
|
|
43
|
-
//# sourceMappingURL=cookiePermanentStorage.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cookiePermanentStorage.service.js","sourceRoot":"","sources":["../../../../src/services/permanentStorage/cookiePermanentStorage.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AAGzC,OAAO,EAAC,aAAa,EAAC,MAAM,4BAA4B,CAAC;;;AAEzD;;GAEG;AAEH,MAAM,OAAO,6BAA6B;IAEtC,iEAAiE;IACjE,YAAoB,QAAuB;QAAvB,aAAQ,GAAR,QAAQ,CAAe;IAE3C,CAAC;IAED,2GAA2G;IAE3G;;;OAGG;IACI,GAAG,CAAU,IAAY;QAE5B,OAAO,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACzC,CAAC;IAiBD;;;;;OAKG;IACI,GAAG,CAAC,IAAY,EAAE,KAAU,EAAE,OAAc;QAE/C,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAClF,CAAC;IAED;;;OAGG;IACI,MAAM,CAAC,IAAY;QAEtB,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1C,CAAC;;0HAnDQ,6BAA6B;8HAA7B,6BAA6B;2FAA7B,6BAA6B;kBADzC,UAAU","sourcesContent":["import {Injectable} from '@angular/core';\n\nimport {PermanentStorage} from './permanentStorage.interface';\nimport {CookieService} from '../cookies/cookies.service';\n\n/**\n * Implementation of permanent storage using cookies\n */\n@Injectable()\nexport class CookiePermanentStorageService implements PermanentStorage\n{\n //######################### constructor #########################\n constructor(private _cookies: CookieService)\n {\n }\n\n //######################### public methods - implementation of StringLocalization #########################\n\n /**\n * Gets value that was stored with 'name' from permanent storage\n * @param name - Name with which was value stored\n */\n public get<TResult>(name: string): TResult\n {\n return this._cookies.getCookie(name);\n }\n\n /**\n * Sets value that will be stored with 'name'e in permanent storage\n * @param name - Name with which will be value stored\n * @param value - Value to be stored\n */\n public set(name: string, value: any): void;\n\n /**\n * Sets value that will be stored with 'name' in permanent storage until expiration date\n * @param name - Name with which will be value stored\n * @param value - Value to be stored\n * @param expires - Time when value should expire\n */\n public set(name: string, value: any, expires: Date): void;\n\n /**\n * Sets value that will be stored with 'name' in permanent storage until expiration date\n * @param name - Name with which will be value stored\n * @param value - Value to be stored\n * @param expires - Time when value should expire\n */\n public set(name: string, value: any, expires?: Date): void\n {\n this._cookies.setCookie(name, value, expires ? expires.valueOf() : null, '/');\n }\n\n /**\n * Removes value stored with 'name' from permanent storage\n * @param name - Name of stored value that will be removed\n */\n public remove(name: string): void\n {\n this._cookies.deleteCookie(name, '/');\n }\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/services/permanentStorage/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC","sourcesContent":["export * from './cookiePermanentStorage.service';\nexport * from './permanentStorage.interface';"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"permanentStorage.interface.js","sourceRoot":"","sources":["../../../../src/services/permanentStorage/permanentStorage.interface.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Provides api for implementing permanent storage\n */\nexport interface PermanentStorage\n{\n /**\n * Gets value that was stored with 'name' from permanent storage\n * @param name - Name with which was value stored\n */\n get<TResult>(name: string): TResult;\n\n /**\n * Sets value that will be stored with 'name'e in permanent storage\n * @param name - Name with which will be value stored\n * @param value - Value to be stored\n */\n set(name: string, value: any): void;\n\n /**\n * Sets value that will be stored with 'name' in permanent storage until expiration date\n * @param name - Name with which will be value stored\n * @param value - Value to be stored\n * @param expires - Time when value should expire\n */\n set(name: string, value: any, expires: Date): void;\n\n /**\n * Removes value stored with 'name' from permanent storage\n * @param name - Name of stored value that will be removed\n */\n remove(name: string): void;\n}"]}
|