@anglr/common 11.3.0-beta.20220302063757 → 11.3.0-beta.20220413045755
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/changelog.md +37 -1
- package/es2015/floating-ui/src/services/floatingUiDomPosition.service.js +3 -3
- package/es2015/forms/src/directives/groupHasError/groupHasError.directive.js +3 -3
- package/es2015/forms/src/directives/hasError/hasError.directive.js +3 -3
- package/es2015/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +3 -3
- package/es2015/forms/src/directives/numberInput/minValueNumberValidator.directive.js +3 -3
- package/es2015/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +3 -3
- package/es2015/forms/src/directives/numberInput/numberInputValidator.directive.js +3 -3
- package/es2015/forms/src/directives/requiredClass/requiredClass.directive.js +3 -3
- package/es2015/forms/src/index.js +1 -0
- package/es2015/forms/src/index.js.map +1 -1
- package/es2015/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js +74 -0
- package/es2015/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js.map +1 -0
- package/es2015/forms/src/modules/errorMessage/components/index.js +2 -0
- package/es2015/forms/src/modules/errorMessage/components/index.js.map +1 -0
- package/es2015/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js +75 -0
- package/es2015/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js.map +1 -0
- package/es2015/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorTemplate.context.js +2 -0
- package/es2015/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorTemplate.context.js.map +1 -0
- package/es2015/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js +27 -0
- package/es2015/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js.map +1 -0
- package/es2015/forms/src/modules/errorMessage/directives/index.js +4 -0
- package/es2015/forms/src/modules/errorMessage/directives/index.js.map +1 -0
- package/es2015/forms/src/modules/errorMessage/index.js +5 -0
- package/es2015/forms/src/modules/errorMessage/index.js.map +1 -0
- package/es2015/forms/src/modules/errorMessage/modules/errorMessage.module.js +47 -0
- package/es2015/forms/src/modules/errorMessage/modules/errorMessage.module.js.map +1 -0
- package/es2015/forms/src/modules/errorMessage/modules/index.js +2 -0
- package/es2015/forms/src/modules/errorMessage/modules/index.js.map +1 -0
- package/es2015/forms/src/modules/errorMessage/pipes/index.js +2 -0
- package/es2015/forms/src/modules/errorMessage/pipes/index.js.map +1 -0
- package/es2015/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js +33 -0
- package/es2015/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js.map +1 -0
- package/es2015/forms/src/modules/formPipes/modules/formPipes.module.js +4 -4
- package/es2015/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js +3 -3
- package/es2015/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js +3 -3
- package/es2015/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js +3 -3
- package/es2015/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js +3 -3
- package/es2015/forms/src/modules/hasError.module.js +4 -4
- package/es2015/forms/src/modules/numberInput.module.js +4 -4
- package/es2015/forms/src/modules/requiredClass.module.js +4 -4
- package/es2015/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +3 -3
- package/es2015/forms/src/services/submitted/submitted.service.js +3 -3
- package/es2015/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +3 -3
- package/es2015/hotkeys/src/services/appHotkeys.service.js +3 -3
- package/es2015/material/src/components/confirmationDialog/confirmationDialog.component.js +4 -4
- package/es2015/material/src/components/confirmationDialog/confirmationDialog.component.js.map +1 -1
- package/es2015/material/src/components/movableTitledDialog/movableTitledDialog.component.js +18 -0
- package/es2015/material/src/components/movableTitledDialog/movableTitledDialog.component.js.map +1 -0
- package/es2015/material/src/components/titledDialog/titledDialog.component.js +7 -4
- package/es2015/material/src/components/titledDialog/titledDialog.component.js.map +1 -1
- package/es2015/material/src/directives/confirmationDialog/confirmationDialog.directive.js +3 -3
- package/es2015/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +3 -3
- package/es2015/material/src/index.js +5 -2
- package/es2015/material/src/index.js.map +1 -1
- package/es2015/material/src/misc/interfaces/titledDialog.interface.js +1 -5
- package/es2015/material/src/misc/interfaces/titledDialog.interface.js.map +1 -1
- package/es2015/material/src/misc/tokens.js +4 -0
- package/es2015/material/src/misc/tokens.js.map +1 -1
- package/es2015/material/src/modules/confirmationDialog.module.js +4 -4
- package/es2015/material/src/modules/debugDataCopyClick.module.js +4 -4
- package/es2015/material/src/modules/movableTitledDialog.module.js +37 -0
- package/es2015/material/src/modules/movableTitledDialog.module.js.map +1 -0
- package/es2015/material/src/modules/titledDialog.module.js +4 -4
- package/es2015/material/src/services/titledDialog/titledDialog.service.js +15 -8
- package/es2015/material/src/services/titledDialog/titledDialog.service.js.map +1 -1
- package/es2015/material/src/services/titledDialog/titledDialogService.options.js +19 -0
- package/es2015/material/src/services/titledDialog/titledDialogService.options.js.map +1 -0
- package/es2015/moment/src/modules/moment.module.js +4 -4
- package/es2015/moment/src/pipes/momentConvert/momentConvert.pipe.js +3 -3
- package/es2015/moment/src/pipes/momentFormat/momentFormat.pipe.js +3 -3
- package/es2015/numeral/src/modules/numeral.module.js +4 -4
- package/es2015/numeral/src/pipes/numeral.pipe.js +3 -3
- package/es2015/positions/src/modules/positions/directives/positionTo/positionTo.directive.js +3 -3
- package/es2015/positions/src/modules/positions/modules/positions.module.js +4 -4
- package/es2015/positions/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
- package/es2015/positions/src/modules/tooltip/directives/tooltip/tooltip.directive.js +3 -3
- package/es2015/positions/src/modules/tooltip/modules/tooltip.module.js +4 -4
- package/es2015/router/src/services/routing/dataRouter.js +3 -3
- package/es2015/router/src/services/routing/dataRouterData.js +3 -3
- package/es2015/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +3 -3
- package/es2015/src/modules/castPipes/modules/castPipes.module.js +4 -4
- package/es2015/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.js +3 -3
- package/es2015/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.js +3 -3
- package/es2015/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js +3 -3
- package/es2015/src/modules/castPipes/pipes/castType/castType.pipe.js +3 -3
- package/es2015/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js +19 -5
- package/es2015/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js.map +1 -1
- package/es2015/src/modules/clickOutside/modules/clickOutside.module.js +4 -4
- package/es2015/src/modules/commonDynamic.module.js +4 -4
- package/es2015/src/modules/commonLocalize.module.js +4 -4
- package/es2015/src/modules/commonUtils.module.js +11 -7
- package/es2015/src/modules/commonUtils.module.js.map +1 -1
- package/es2015/src/modules/debugData/components/debugData/debugData.component.js +3 -3
- package/es2015/src/modules/debugData/modules/debugData.module.js +4 -4
- package/es2015/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js +3 -3
- package/es2015/src/modules/goBack/directives/goBack/goBack.directive.js +3 -3
- package/es2015/src/modules/goBack/modules/goBack.module.js +4 -4
- package/es2015/src/modules/multiButton/components/multiButton/multiButton.component.js +3 -3
- package/es2015/src/modules/multiButton/modules/multiButton.module.js +4 -4
- package/es2015/src/modules/position/directives/positionTo/positionTo.directive.js +3 -3
- package/es2015/src/modules/position/modules/position.module.js +4 -4
- package/es2015/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js +3 -3
- package/es2015/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js +3 -3
- package/es2015/src/modules/progressIndicator/interceptors/progressInterceptor.js +3 -3
- package/es2015/src/modules/progressIndicator/modules/progressIndicator.module.js +4 -4
- package/es2015/src/modules/progressIndicator/services/progressIndicator.service.js +3 -3
- package/es2015/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
- package/es2015/src/modules/tooltip/directives/tooltip/tooltip.directive.js +3 -3
- package/es2015/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js +3 -3
- package/es2015/src/modules/tooltip/modules/tooltip.module.js +4 -4
- package/es2015/src/pipes/index.js +1 -0
- package/es2015/src/pipes/index.js.map +1 -1
- package/es2015/src/pipes/isNaN/isNaN.pipe.js +3 -3
- package/es2015/src/pipes/isPresent/isPresent.pipe.js +3 -3
- package/es2015/src/pipes/keys/keys.pipe.js +25 -0
- package/es2015/src/pipes/keys/keys.pipe.js.map +1 -0
- package/es2015/src/pipes/localize/localize.pipe.js +3 -3
- package/es2015/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +3 -3
- package/es2015/src/pipes/urlEncode/urlEncode.pipe.js +3 -3
- package/es2015/src/services/cookies/cookies.service.js +3 -3
- package/es2015/src/services/notifications/defaultNotifications.service.js +3 -3
- package/es2015/src/services/permanentStorage/cookiePermanentStorage.service.js +3 -3
- package/es2015/src/services/statusCode/statusCode.service.js +3 -3
- package/es2015/src/services/stringLocalization/noStringLocalization.service.js +3 -3
- package/es2015/src/services/temporaryStorage/memoryTemporaryStorage.service.js +3 -3
- package/es2015/store/src/services/permanentStorage/localPermanentStorage.service.js +3 -3
- package/es2015/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +3 -3
- package/es2015/structured-log/src/components/console/console.component.js +3 -3
- package/es2015/structured-log/src/modules/consoleLog.module.js +4 -4
- package/es2015/structured-log/src/services/console/consoleComponentSink.service.js +3 -3
- package/es2015/structured-log/src/services/console/consoleSinkConfig.service.js +3 -3
- package/es2015/structured-log/src/services/logger.service.js +3 -3
- package/es2015/structured-log/src/services/rest/restSink.service.js +3 -3
- package/es2015/structured-log/src/services/rest/restSinkConfig.service.js +3 -3
- package/es2020/floating-ui/src/services/floatingUiDomPosition.service.js +3 -3
- package/es2020/forms/src/directives/groupHasError/groupHasError.directive.js +3 -3
- package/es2020/forms/src/directives/hasError/hasError.directive.js +3 -3
- package/es2020/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +3 -3
- package/es2020/forms/src/directives/numberInput/minValueNumberValidator.directive.js +3 -3
- package/es2020/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +3 -3
- package/es2020/forms/src/directives/numberInput/numberInputValidator.directive.js +3 -3
- package/es2020/forms/src/directives/requiredClass/requiredClass.directive.js +3 -3
- package/es2020/forms/src/index.js +1 -0
- package/es2020/forms/src/index.js.map +1 -1
- package/es2020/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js +72 -0
- package/es2020/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js.map +1 -0
- package/es2020/forms/src/modules/errorMessage/components/index.js +2 -0
- package/es2020/forms/src/modules/errorMessage/components/index.js.map +1 -0
- package/es2020/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js +74 -0
- package/es2020/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js.map +1 -0
- package/es2020/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorTemplate.context.js +2 -0
- package/es2020/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorTemplate.context.js.map +1 -0
- package/es2020/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js +27 -0
- package/es2020/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js.map +1 -0
- package/es2020/forms/src/modules/errorMessage/directives/index.js +4 -0
- package/es2020/forms/src/modules/errorMessage/directives/index.js.map +1 -0
- package/es2020/forms/src/modules/errorMessage/index.js +5 -0
- package/es2020/forms/src/modules/errorMessage/index.js.map +1 -0
- package/es2020/forms/src/modules/errorMessage/modules/errorMessage.module.js +47 -0
- package/es2020/forms/src/modules/errorMessage/modules/errorMessage.module.js.map +1 -0
- package/es2020/forms/src/modules/errorMessage/modules/index.js +2 -0
- package/es2020/forms/src/modules/errorMessage/modules/index.js.map +1 -0
- package/es2020/forms/src/modules/errorMessage/pipes/index.js +2 -0
- package/es2020/forms/src/modules/errorMessage/pipes/index.js.map +1 -0
- package/es2020/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js +33 -0
- package/es2020/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js.map +1 -0
- package/es2020/forms/src/modules/formPipes/modules/formPipes.module.js +4 -4
- package/es2020/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js +3 -3
- package/es2020/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js +3 -3
- package/es2020/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js +3 -3
- package/es2020/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js +3 -3
- package/es2020/forms/src/modules/hasError.module.js +4 -4
- package/es2020/forms/src/modules/numberInput.module.js +4 -4
- package/es2020/forms/src/modules/requiredClass.module.js +4 -4
- package/es2020/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +3 -3
- package/es2020/forms/src/services/submitted/submitted.service.js +3 -3
- package/es2020/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +3 -3
- package/es2020/hotkeys/src/services/appHotkeys.service.js +3 -3
- package/es2020/material/src/components/confirmationDialog/confirmationDialog.component.js +4 -4
- package/es2020/material/src/components/confirmationDialog/confirmationDialog.component.js.map +1 -1
- package/es2020/material/src/components/movableTitledDialog/movableTitledDialog.component.js +18 -0
- package/es2020/material/src/components/movableTitledDialog/movableTitledDialog.component.js.map +1 -0
- package/es2020/material/src/components/titledDialog/titledDialog.component.js +7 -4
- package/es2020/material/src/components/titledDialog/titledDialog.component.js.map +1 -1
- package/es2020/material/src/directives/confirmationDialog/confirmationDialog.directive.js +3 -3
- package/es2020/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +3 -3
- package/es2020/material/src/index.js +5 -2
- package/es2020/material/src/index.js.map +1 -1
- package/es2020/material/src/misc/interfaces/titledDialog.interface.js +1 -5
- package/es2020/material/src/misc/interfaces/titledDialog.interface.js.map +1 -1
- package/es2020/material/src/misc/tokens.js +4 -0
- package/es2020/material/src/misc/tokens.js.map +1 -1
- package/es2020/material/src/modules/confirmationDialog.module.js +4 -4
- package/es2020/material/src/modules/debugDataCopyClick.module.js +4 -4
- package/es2020/material/src/modules/movableTitledDialog.module.js +37 -0
- package/es2020/material/src/modules/movableTitledDialog.module.js.map +1 -0
- package/es2020/material/src/modules/titledDialog.module.js +4 -4
- package/es2020/material/src/services/titledDialog/titledDialog.service.js +15 -8
- package/es2020/material/src/services/titledDialog/titledDialog.service.js.map +1 -1
- package/es2020/material/src/services/titledDialog/titledDialogService.options.js +19 -0
- package/es2020/material/src/services/titledDialog/titledDialogService.options.js.map +1 -0
- package/es2020/moment/src/modules/moment.module.js +4 -4
- package/es2020/moment/src/pipes/momentConvert/momentConvert.pipe.js +3 -3
- package/es2020/moment/src/pipes/momentFormat/momentFormat.pipe.js +3 -3
- package/es2020/numeral/src/modules/numeral.module.js +4 -4
- package/es2020/numeral/src/pipes/numeral.pipe.js +3 -3
- package/es2020/positions/src/modules/positions/directives/positionTo/positionTo.directive.js +3 -3
- package/es2020/positions/src/modules/positions/modules/positions.module.js +4 -4
- package/es2020/positions/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
- package/es2020/positions/src/modules/tooltip/directives/tooltip/tooltip.directive.js +3 -3
- package/es2020/positions/src/modules/tooltip/modules/tooltip.module.js +4 -4
- package/es2020/router/src/services/routing/dataRouter.js +3 -3
- package/es2020/router/src/services/routing/dataRouterData.js +3 -3
- package/es2020/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +3 -3
- package/es2020/src/modules/castPipes/modules/castPipes.module.js +4 -4
- package/es2020/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.js +3 -3
- package/es2020/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.js +3 -3
- package/es2020/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js +3 -3
- package/es2020/src/modules/castPipes/pipes/castType/castType.pipe.js +3 -3
- package/es2020/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js +19 -5
- package/es2020/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js.map +1 -1
- package/es2020/src/modules/clickOutside/modules/clickOutside.module.js +4 -4
- package/es2020/src/modules/commonDynamic.module.js +4 -4
- package/es2020/src/modules/commonLocalize.module.js +4 -4
- package/es2020/src/modules/commonUtils.module.js +11 -7
- package/es2020/src/modules/commonUtils.module.js.map +1 -1
- package/es2020/src/modules/debugData/components/debugData/debugData.component.js +3 -3
- package/es2020/src/modules/debugData/modules/debugData.module.js +4 -4
- package/es2020/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js +3 -3
- package/es2020/src/modules/goBack/directives/goBack/goBack.directive.js +3 -3
- package/es2020/src/modules/goBack/modules/goBack.module.js +4 -4
- package/es2020/src/modules/multiButton/components/multiButton/multiButton.component.js +3 -3
- package/es2020/src/modules/multiButton/modules/multiButton.module.js +4 -4
- package/es2020/src/modules/position/directives/positionTo/positionTo.directive.js +3 -3
- package/es2020/src/modules/position/modules/position.module.js +4 -4
- package/es2020/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js +3 -3
- package/es2020/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js +3 -3
- package/es2020/src/modules/progressIndicator/interceptors/progressInterceptor.js +3 -3
- package/es2020/src/modules/progressIndicator/modules/progressIndicator.module.js +4 -4
- package/es2020/src/modules/progressIndicator/services/progressIndicator.service.js +3 -3
- package/es2020/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
- package/es2020/src/modules/tooltip/directives/tooltip/tooltip.directive.js +3 -3
- package/es2020/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js +3 -3
- package/es2020/src/modules/tooltip/modules/tooltip.module.js +4 -4
- package/es2020/src/pipes/index.js +1 -0
- package/es2020/src/pipes/index.js.map +1 -1
- package/es2020/src/pipes/isNaN/isNaN.pipe.js +3 -3
- package/es2020/src/pipes/isPresent/isPresent.pipe.js +3 -3
- package/es2020/src/pipes/keys/keys.pipe.js +25 -0
- package/es2020/src/pipes/keys/keys.pipe.js.map +1 -0
- package/es2020/src/pipes/localize/localize.pipe.js +3 -3
- package/es2020/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +3 -3
- package/es2020/src/pipes/urlEncode/urlEncode.pipe.js +3 -3
- package/es2020/src/services/cookies/cookies.service.js +3 -3
- package/es2020/src/services/notifications/defaultNotifications.service.js +3 -3
- package/es2020/src/services/permanentStorage/cookiePermanentStorage.service.js +3 -3
- package/es2020/src/services/statusCode/statusCode.service.js +3 -3
- package/es2020/src/services/stringLocalization/noStringLocalization.service.js +3 -3
- package/es2020/src/services/temporaryStorage/memoryTemporaryStorage.service.js +3 -3
- package/es2020/store/src/services/permanentStorage/localPermanentStorage.service.js +3 -3
- package/es2020/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +3 -3
- package/es2020/structured-log/src/components/console/console.component.js +3 -3
- package/es2020/structured-log/src/modules/consoleLog.module.js +4 -4
- package/es2020/structured-log/src/services/console/consoleComponentSink.service.js +3 -3
- package/es2020/structured-log/src/services/console/consoleSinkConfig.service.js +3 -3
- package/es2020/structured-log/src/services/logger.service.js +3 -3
- package/es2020/structured-log/src/services/rest/restSink.service.js +3 -3
- package/es2020/structured-log/src/services/rest/restSinkConfig.service.js +3 -3
- package/forms/src/index.d.ts +1 -0
- package/forms/src/index.d.ts.map +1 -1
- package/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.d.ts +50 -0
- package/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.d.ts.map +1 -0
- package/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.html +7 -0
- package/forms/src/modules/errorMessage/components/index.d.ts +2 -0
- package/forms/src/modules/errorMessage/components/index.d.ts.map +1 -0
- package/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.d.ts +41 -0
- package/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.d.ts.map +1 -0
- package/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorTemplate.context.d.ts +27 -0
- package/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorTemplate.context.d.ts.map +1 -0
- package/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.d.ts +17 -0
- package/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.d.ts.map +1 -0
- package/forms/src/modules/errorMessage/directives/index.d.ts +4 -0
- package/forms/src/modules/errorMessage/directives/index.d.ts.map +1 -0
- package/forms/src/modules/errorMessage/index.d.ts +5 -0
- package/forms/src/modules/errorMessage/index.d.ts.map +1 -0
- package/forms/src/modules/errorMessage/modules/errorMessage.module.d.ts +16 -0
- package/forms/src/modules/errorMessage/modules/errorMessage.module.d.ts.map +1 -0
- package/forms/src/modules/errorMessage/modules/index.d.ts +2 -0
- package/forms/src/modules/errorMessage/modules/index.d.ts.map +1 -0
- package/forms/src/modules/errorMessage/pipes/index.d.ts +2 -0
- package/forms/src/modules/errorMessage/pipes/index.d.ts.map +1 -0
- package/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.d.ts +18 -0
- package/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.d.ts.map +1 -0
- package/material/src/components/movableTitledDialog/movableTitledDialog.component.d.ts +10 -0
- package/material/src/components/movableTitledDialog/movableTitledDialog.component.d.ts.map +1 -0
- package/material/src/components/movableTitledDialog/movableTitledDialog.component.html +14 -0
- package/material/src/components/titledDialog/titledDialog.component.d.ts +3 -0
- package/material/src/components/titledDialog/titledDialog.component.d.ts.map +1 -1
- package/material/src/index.d.ts +6 -2
- package/material/src/index.d.ts.map +1 -1
- package/material/src/misc/interfaces/titledDialog.interface.d.ts +1 -5
- package/material/src/misc/interfaces/titledDialog.interface.d.ts.map +1 -1
- package/material/src/misc/tokens.d.ts +4 -0
- package/material/src/misc/tokens.d.ts.map +1 -1
- package/material/src/modules/movableTitledDialog.module.d.ts +14 -0
- package/material/src/modules/movableTitledDialog.module.d.ts.map +1 -0
- package/material/src/services/titledDialog/titledDialog.service.d.ts +5 -3
- package/material/src/services/titledDialog/titledDialog.service.d.ts.map +1 -1
- package/material/src/services/titledDialog/titledDialogService.options.d.ts +12 -0
- package/material/src/services/titledDialog/titledDialogService.options.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.d.ts +12 -3
- package/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.d.ts.map +1 -1
- package/src/modules/commonUtils.module.d.ts +2 -1
- package/src/modules/commonUtils.module.d.ts.map +1 -1
- package/src/pipes/index.d.ts +1 -0
- package/src/pipes/index.d.ts.map +1 -1
- package/src/pipes/keys/keys.pipe.d.ts +16 -0
- package/src/pipes/keys/keys.pipe.d.ts.map +1 -0
- package/version.bak +1 -1
|
@@ -9,18 +9,18 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
*/
|
|
10
10
|
export class TitledDialogModule {
|
|
11
11
|
}
|
|
12
|
-
TitledDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
13
|
-
TitledDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
12
|
+
TitledDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TitledDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
+
TitledDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TitledDialogModule, declarations: [TitledDialogComponent], imports: [CommonDynamicModule,
|
|
14
14
|
CommonLocalizeModule,
|
|
15
15
|
MatDialogModule] });
|
|
16
|
-
TitledDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
16
|
+
TitledDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TitledDialogModule, providers: [
|
|
17
17
|
TitledDialogService
|
|
18
18
|
], imports: [[
|
|
19
19
|
CommonDynamicModule,
|
|
20
20
|
CommonLocalizeModule,
|
|
21
21
|
MatDialogModule,
|
|
22
22
|
]] });
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TitledDialogModule, decorators: [{
|
|
24
24
|
type: NgModule,
|
|
25
25
|
args: [{
|
|
26
26
|
imports: [
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
1
|
+
import { Injectable, Optional } from '@angular/core';
|
|
2
2
|
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import {
|
|
3
|
+
import { TitledDialogServiceOptions } from './titledDialogService.options';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@angular/material/dialog";
|
|
6
|
+
import * as i2 from "./titledDialogService.options";
|
|
6
7
|
/**
|
|
7
8
|
* Titled dialog service used for displaying components in dialog
|
|
8
9
|
*/
|
|
9
10
|
export class TitledDialogService {
|
|
10
11
|
//######################### constructor #########################
|
|
11
|
-
constructor(_dialog) {
|
|
12
|
+
constructor(_dialog, _options) {
|
|
12
13
|
this._dialog = _dialog;
|
|
14
|
+
this._options = _options;
|
|
15
|
+
if (!this._options || !(this._options instanceof TitledDialogServiceOptions)) {
|
|
16
|
+
this._options = new TitledDialogServiceOptions();
|
|
17
|
+
}
|
|
13
18
|
}
|
|
14
19
|
//######################### public methods #########################
|
|
15
20
|
/**
|
|
@@ -28,12 +33,14 @@ export class TitledDialogService {
|
|
|
28
33
|
data: config.data,
|
|
29
34
|
title: config.title
|
|
30
35
|
};
|
|
31
|
-
return this._dialog.open(
|
|
36
|
+
return this._dialog.open(this._options.titledDialogComponent, config);
|
|
32
37
|
}
|
|
33
38
|
}
|
|
34
|
-
TitledDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
35
|
-
TitledDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
39
|
+
TitledDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TitledDialogService, deps: [{ token: i1.MatDialog }, { token: i2.TitledDialogServiceOptions, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
40
|
+
TitledDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TitledDialogService });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TitledDialogService, decorators: [{
|
|
37
42
|
type: Injectable
|
|
38
|
-
}], ctorParameters: function () { return [{ type: i1.MatDialog }
|
|
43
|
+
}], ctorParameters: function () { return [{ type: i1.MatDialog }, { type: i2.TitledDialogServiceOptions, decorators: [{
|
|
44
|
+
type: Optional
|
|
45
|
+
}] }]; } });
|
|
39
46
|
//# sourceMappingURL=titledDialog.service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"titledDialog.service.js","sourceRoot":"","sources":["../../../../../material/src/services/titledDialog/titledDialog.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAc,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"titledDialog.service.js","sourceRoot":"","sources":["../../../../../material/src/services/titledDialog/titledDialog.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,QAAQ,EAAc,MAAM,eAAe,CAAC;AAChE,OAAO,EAAC,SAAS,EAAe,MAAM,0BAA0B,CAAC;AAIjE,OAAO,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;;;;AAEzE;;GAEG;AAEH,MAAM,OAAO,mBAAmB;IAE5B,iEAAiE;IACjE,YAAsB,OAAkB,EACN,QAAoC;QADhD,YAAO,GAAP,OAAO,CAAW;QACN,aAAQ,GAAR,QAAQ,CAA4B;QAElE,IAAG,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAC,QAAQ,YAAY,0BAA0B,CAAC,EAC3E;YACI,IAAI,CAAC,QAAQ,GAAG,IAAI,0BAA0B,EAAE,CAAC;SACpD;IACL,CAAC;IAED,oEAAoE;IAEpE;;;;;OAKG;IACI,IAAI,CAAsB,sBAAyD,EAAE,MAA8B;QAEtH,IAAG,CAAC,MAAM,EACV;YACI,MAAM,GAAG,EAAE,CAAC;SACf;QAED,MAAM,CAAC,IAAI;YAEX;gBACI,sBAAsB,EAAE,sBAAsB;gBAC9C,IAAI,EAAE,MAAM,CAAC,IAAI;gBACjB,KAAK,EAAE,MAAM,CAAC,KAAK;aACf,CAAC;QAET,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAyB,CAAC;IAClG,CAAC;;gHApCQ,mBAAmB;oHAAnB,mBAAmB;2FAAnB,mBAAmB;kBAD/B,UAAU;;0BAKM,QAAQ","sourcesContent":["import {Injectable, Optional, TemplateRef} from '@angular/core';\nimport {MatDialog, MatDialogRef} from '@angular/material/dialog';\nimport {ComponentType} from '@angular/cdk/portal';\n\nimport {TitledDialogConfig, ɵTitledDialogOptions} from '../../misc/interfaces/titledDialog.interface';\nimport {TitledDialogServiceOptions} from './titledDialogService.options';\n\n/**\n * Titled dialog service used for displaying components in dialog\n */\n@Injectable()\nexport class TitledDialogService\n{\n //######################### constructor #########################\n constructor(protected _dialog: MatDialog,\n @Optional() protected _options: TitledDialogServiceOptions)\n {\n if(!this._options || !(this._options instanceof TitledDialogServiceOptions))\n {\n this._options = new TitledDialogServiceOptions();\n }\n }\n\n //######################### public methods #########################\n\n /**\n * Opens a modal dialog containing the given component.\n * @param componentOrTemplateRef - Type of the component to load into the dialog, or a TemplateRef to instantiate as the dialog content.\n * @param config - Extra configuration options.\n * @returns Reference to the newly-opened dialog.\n */\n public open<T, D = any, R = any>(componentOrTemplateRef: ComponentType<T> | TemplateRef<T>, config?: TitledDialogConfig<D>): MatDialogRef<T, R>\n {\n if(!config)\n {\n config = {};\n }\n\n config.data =\n <ɵTitledDialogOptions>\n {\n componentOrTemplateRef: componentOrTemplateRef,\n data: config.data,\n title: config.title\n } as any;\n\n return this._dialog.open(this._options.titledDialogComponent, config) as MatDialogRef<any, R>;\n }\n}"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { isPresent } from '@jscrpt/common';
|
|
2
|
+
import { TitledDialogComponent } from '../../components/titledDialog/titledDialog.component';
|
|
3
|
+
/**
|
|
4
|
+
* Options for `TitledDialogService`
|
|
5
|
+
*/
|
|
6
|
+
export class TitledDialogServiceOptions {
|
|
7
|
+
//######################### constructor #########################
|
|
8
|
+
constructor(titledDialogComponent) {
|
|
9
|
+
//######################### public properties #########################
|
|
10
|
+
/**
|
|
11
|
+
* Type of component used for rendering titled dialog
|
|
12
|
+
*/
|
|
13
|
+
this.titledDialogComponent = TitledDialogComponent;
|
|
14
|
+
if (isPresent(titledDialogComponent)) {
|
|
15
|
+
this.titledDialogComponent = titledDialogComponent;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=titledDialogService.options.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"titledDialogService.options.js","sourceRoot":"","sources":["../../../../../material/src/services/titledDialog/titledDialogService.options.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAEzC,OAAO,EAAC,qBAAqB,EAAC,MAAM,sDAAsD,CAAC;AAE3F;;GAEG;AACH,MAAM,OAAO,0BAA0B;IASnC,iEAAiE;IACjE,YAAY,qBAAiC;QAR7C,uEAAuE;QAEvE;;WAEG;QACI,0BAAqB,GAAc,qBAAqB,CAAC;QAK5D,IAAG,SAAS,CAAC,qBAAqB,CAAC,EACnC;YACI,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;SACtD;IACL,CAAC;CACJ","sourcesContent":["import {Type} from '@angular/core';\nimport {isPresent} from '@jscrpt/common';\n\nimport {TitledDialogComponent} from '../../components/titledDialog/titledDialog.component';\n\n/**\n * Options for `TitledDialogService`\n */\nexport class TitledDialogServiceOptions\n{\n //######################### public properties #########################\n\n /**\n * Type of component used for rendering titled dialog\n */\n public titledDialogComponent: Type<any> = TitledDialogComponent;\n\n //######################### constructor #########################\n constructor(titledDialogComponent?: Type<any>)\n {\n if(isPresent(titledDialogComponent))\n {\n this.titledDialogComponent = titledDialogComponent;\n }\n }\n}\n"]}
|
|
@@ -7,12 +7,12 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
*/
|
|
8
8
|
export class MomentModule {
|
|
9
9
|
}
|
|
10
|
-
MomentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
11
|
-
MomentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
10
|
+
MomentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MomentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
+
MomentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MomentModule, declarations: [MomentConvertPipe,
|
|
12
12
|
MomentFormatPipe], exports: [MomentConvertPipe,
|
|
13
13
|
MomentFormatPipe] });
|
|
14
|
-
MomentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
14
|
+
MomentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MomentModule });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MomentModule, decorators: [{
|
|
16
16
|
type: NgModule,
|
|
17
17
|
args: [{
|
|
18
18
|
declarations: [
|
|
@@ -21,9 +21,9 @@ export class MomentConvertPipe {
|
|
|
21
21
|
return value;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
MomentConvertPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
25
|
-
MomentConvertPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
24
|
+
MomentConvertPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MomentConvertPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
25
|
+
MomentConvertPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MomentConvertPipe, name: "momentConvert" });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MomentConvertPipe, decorators: [{
|
|
27
27
|
type: Pipe,
|
|
28
28
|
args: [{
|
|
29
29
|
name: 'momentConvert'
|
|
@@ -25,9 +25,9 @@ export class MomentFormatPipe {
|
|
|
25
25
|
return null;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
MomentFormatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
29
|
-
MomentFormatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
28
|
+
MomentFormatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MomentFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
29
|
+
MomentFormatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MomentFormatPipe, name: "momentFormat" });
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MomentFormatPipe, decorators: [{
|
|
31
31
|
type: Pipe,
|
|
32
32
|
args: [{
|
|
33
33
|
name: 'momentFormat'
|
|
@@ -6,10 +6,10 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export class NumeralModule {
|
|
8
8
|
}
|
|
9
|
-
NumeralModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
10
|
-
NumeralModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
11
|
-
NumeralModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
9
|
+
NumeralModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumeralModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
NumeralModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumeralModule, declarations: [NumeralPipe], exports: [NumeralPipe] });
|
|
11
|
+
NumeralModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumeralModule });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumeralModule, decorators: [{
|
|
13
13
|
type: NgModule,
|
|
14
14
|
args: [{
|
|
15
15
|
declarations: [NumeralPipe],
|
|
@@ -41,9 +41,9 @@ export class NumeralPipe {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
NumeralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
45
|
-
NumeralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
44
|
+
NumeralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumeralPipe, deps: [{ token: i1.GlobalizationService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
45
|
+
NumeralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumeralPipe, name: "numeral" });
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumeralPipe, decorators: [{
|
|
47
47
|
type: Pipe,
|
|
48
48
|
args: [{ name: 'numeral' }]
|
|
49
49
|
}], ctorParameters: function () { return [{ type: i1.GlobalizationService }]; } });
|
package/es2020/positions/src/modules/positions/directives/positionTo/positionTo.directive.js
CHANGED
|
@@ -35,9 +35,9 @@ export class PositionToDirective {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
PositionToDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
39
|
-
PositionToDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
38
|
+
PositionToDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: PositionToDirective, deps: [{ token: i0.ElementRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
|
|
39
|
+
PositionToDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: PositionToDirective, selector: "[positionTo]", inputs: { target: ["positionTo", "target"], elementCoordinates: "elementCoordinates", targetCoordinates: "targetCoordinates" }, outputs: { flip: "flip" }, usesOnChanges: true, ngImport: i0 });
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: PositionToDirective, decorators: [{
|
|
41
41
|
type: Directive,
|
|
42
42
|
args: [{
|
|
43
43
|
selector: '[positionTo]'
|
|
@@ -6,10 +6,10 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export class PositionsModule {
|
|
8
8
|
}
|
|
9
|
-
PositionsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
10
|
-
PositionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
11
|
-
PositionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
9
|
+
PositionsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: PositionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
PositionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: PositionsModule, declarations: [PositionToDirective], exports: [PositionToDirective] });
|
|
11
|
+
PositionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: PositionsModule, imports: [[]] });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: PositionsModule, decorators: [{
|
|
13
13
|
type: NgModule,
|
|
14
14
|
args: [{
|
|
15
15
|
imports: [],
|
|
@@ -62,8 +62,8 @@ export class TooltipComponent {
|
|
|
62
62
|
this._leaveFn();
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
TooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
66
|
-
TooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
65
|
+
TooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TooltipComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
66
|
+
TooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: TooltipComponent, selector: "tooltip-popup", host: { listeners: { "mouseenter": "mouseEnter()", "mouseleave": "mouseLeave()" }, properties: { "@fadeInOut": "this.animation" } }, ngImport: i0, template: "<div *ngIf=\"!template && !allowHtml\">{{data}}</div>\r\n<div *ngIf=\"!template && allowHtml\" [innerHTML]=\"data\"></div>\r\n\r\n<ng-template [ngIf]=\"template\">\r\n <ng-container *ngTemplateOutlet=\"template; context: {$implicit: data}\"></ng-container>\r\n</ng-template>", styles: [":host\r\n{\r\n display: block;\r\n position: absolute;\r\n padding: 2px 4px;\r\n border-radius: 3px;\r\n font-size: 0.9em;\r\n max-width: 300px;\r\n user-select: text;\r\n}"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], animations: [
|
|
67
67
|
trigger('fadeInOut', [
|
|
68
68
|
transition(':enter', [
|
|
69
69
|
useAnimation(fadeInAnimation, { params: { duration: '260ms' } })
|
|
@@ -73,7 +73,7 @@ TooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
73
73
|
])
|
|
74
74
|
])
|
|
75
75
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
76
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
76
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TooltipComponent, decorators: [{
|
|
77
77
|
type: Component,
|
|
78
78
|
args: [{ selector: 'tooltip-popup', animations: [
|
|
79
79
|
trigger('fadeInOut', [
|
|
@@ -194,9 +194,9 @@ export class TooltipDirective {
|
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
TooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
198
|
-
TooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
199
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
197
|
+
TooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TooltipDirective, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: i0.Injector }, { token: i0.ElementRef }, { token: TOOLTIP_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
198
|
+
TooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: TooltipDirective, selector: "[tooltip]", inputs: { tooltip: "tooltip", allowHtml: "allowHtml", tooltipTemplate: "tooltipTemplate", tooltipOptions: "tooltipOptions", tooltipVisible: "tooltipVisible" }, host: { listeners: { "mouseleave": "mouseLeave($event)", "mousemove": "mouseMove($event)" } }, queries: [{ propertyName: "tooltipTemplateChild", first: true, predicate: ["tooltipTemplate"], descendants: true }], usesOnChanges: true, ngImport: i0 });
|
|
199
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TooltipDirective, decorators: [{
|
|
200
200
|
type: Directive,
|
|
201
201
|
args: [{
|
|
202
202
|
selector: '[tooltip]'
|
|
@@ -8,13 +8,13 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
*/
|
|
9
9
|
export class TooltipModule {
|
|
10
10
|
}
|
|
11
|
-
TooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
12
|
-
TooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
11
|
+
TooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
+
TooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TooltipModule, declarations: [TooltipDirective,
|
|
13
13
|
TooltipComponent], imports: [CommonModule], exports: [TooltipDirective] });
|
|
14
|
-
TooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
14
|
+
TooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TooltipModule, imports: [[
|
|
15
15
|
CommonModule
|
|
16
16
|
]] });
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TooltipModule, decorators: [{
|
|
18
18
|
type: NgModule,
|
|
19
19
|
args: [{
|
|
20
20
|
imports: [
|
|
@@ -80,9 +80,9 @@ export class DataRouter {
|
|
|
80
80
|
return this._router.navigate(linkParams);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
DataRouter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
84
|
-
DataRouter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
83
|
+
DataRouter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DataRouter, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
84
|
+
DataRouter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DataRouter, providedIn: 'root' });
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DataRouter, decorators: [{
|
|
86
86
|
type: Injectable,
|
|
87
87
|
args: [{ providedIn: 'root' }]
|
|
88
88
|
}], ctorParameters: function () { return [{ type: i1.Router }]; } });
|
|
@@ -12,9 +12,9 @@ export class DataRouterData {
|
|
|
12
12
|
this.value = dataRouter.valuePromise;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
DataRouterData.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
16
|
-
DataRouterData.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
15
|
+
DataRouterData.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DataRouterData, deps: [{ token: i1.DataRouter }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16
|
+
DataRouterData.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DataRouterData });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DataRouterData, decorators: [{
|
|
18
18
|
type: Injectable
|
|
19
19
|
}], ctorParameters: function () { return [{ type: i1.DataRouter }]; } });
|
|
20
20
|
//# sourceMappingURL=dataRouterData.js.map
|
|
@@ -43,9 +43,9 @@ export class NgComponentOutletEx {
|
|
|
43
43
|
this.ngComponentOutletExCreated.emit(this.component);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
NgComponentOutletEx.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
47
|
-
NgComponentOutletEx.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
46
|
+
NgComponentOutletEx.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NgComponentOutletEx, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
47
|
+
NgComponentOutletEx.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: NgComponentOutletEx, selector: "[ngComponentOutletEx]", inputs: { ngComponentOutletEx: "ngComponentOutletEx", ngComponentOutletExInjector: "ngComponentOutletExInjector", ngComponentOutletExContent: "ngComponentOutletExContent" }, outputs: { ngComponentOutletExCreated: "ngComponentOutletExCreated" }, exportAs: ["ngComponentOutletEx"], usesOnChanges: true, ngImport: i0 });
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NgComponentOutletEx, decorators: [{
|
|
49
49
|
type: Directive,
|
|
50
50
|
args: [{
|
|
51
51
|
selector: '[ngComponentOutletEx]',
|
|
@@ -6,16 +6,16 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export class CastPipesModule {
|
|
8
8
|
}
|
|
9
|
-
CastPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
10
|
-
CastPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
9
|
+
CastPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CastPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
CastPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CastPipesModule, declarations: [AsHtmlElementPipe,
|
|
11
11
|
AsNgClassRequiredPipe,
|
|
12
12
|
AsRequiredTypePipe,
|
|
13
13
|
CastTypePipe], exports: [AsHtmlElementPipe,
|
|
14
14
|
AsNgClassRequiredPipe,
|
|
15
15
|
AsRequiredTypePipe,
|
|
16
16
|
CastTypePipe] });
|
|
17
|
-
CastPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
17
|
+
CastPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CastPipesModule });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CastPipesModule, decorators: [{
|
|
19
19
|
type: NgModule,
|
|
20
20
|
args: [{
|
|
21
21
|
declarations: [
|
|
@@ -6,9 +6,9 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export class AsHtmlElementPipe extends CastTypePipe {
|
|
8
8
|
}
|
|
9
|
-
AsHtmlElementPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
10
|
-
AsHtmlElementPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
9
|
+
AsHtmlElementPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsHtmlElementPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
|
|
10
|
+
AsHtmlElementPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsHtmlElementPipe, name: "asHtmlElement" });
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsHtmlElementPipe, decorators: [{
|
|
12
12
|
type: Pipe,
|
|
13
13
|
args: [{ name: 'asHtmlElement' }]
|
|
14
14
|
}] });
|
|
@@ -12,9 +12,9 @@ export class AsNgClassRequiredPipe extends AsRequiredTypePipe {
|
|
|
12
12
|
return super.transform(value, '', valueHash);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
AsNgClassRequiredPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
16
|
-
AsNgClassRequiredPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
15
|
+
AsNgClassRequiredPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsNgClassRequiredPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
|
|
16
|
+
AsNgClassRequiredPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsNgClassRequiredPipe, name: "asNgClassRequired" });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsNgClassRequiredPipe, decorators: [{
|
|
18
18
|
type: Pipe,
|
|
19
19
|
args: [{ name: 'asNgClassRequired' }]
|
|
20
20
|
}] });
|
|
@@ -14,9 +14,9 @@ export class AsRequiredTypePipe {
|
|
|
14
14
|
return value ?? defaultValue;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
AsRequiredTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
18
|
-
AsRequiredTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
17
|
+
AsRequiredTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsRequiredTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
18
|
+
AsRequiredTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsRequiredTypePipe, name: "asRequired" });
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsRequiredTypePipe, decorators: [{
|
|
20
20
|
type: Pipe,
|
|
21
21
|
args: [{ name: 'asRequired' }]
|
|
22
22
|
}] });
|
|
@@ -40,9 +40,9 @@ export class CastTypePipe {
|
|
|
40
40
|
return this._isInstanceOfPredicate(value);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
CastTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
44
|
-
CastTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
43
|
+
CastTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CastTypePipe, deps: [{ token: LOGGER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
44
|
+
CastTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CastTypePipe, name: "castType" });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CastTypePipe, decorators: [{
|
|
46
46
|
type: Pipe,
|
|
47
47
|
args: [{ name: 'castType' }]
|
|
48
48
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Directive, Input, EventEmitter, Output, ElementRef, Inject } from '@angular/core';
|
|
2
2
|
import { DOCUMENT } from '@angular/common';
|
|
3
|
-
import { isDescendant } from '@jscrpt/common';
|
|
3
|
+
import { isDescendant, isString } from '@jscrpt/common';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Directive that handles click outside of element
|
|
@@ -15,7 +15,7 @@ export class ClickOutsideDirective {
|
|
|
15
15
|
* Used for emitting event when click outside occurs
|
|
16
16
|
*/
|
|
17
17
|
this.clickOutsideConditionChange = new EventEmitter();
|
|
18
|
-
//#########################
|
|
18
|
+
//######################### protected methods #########################
|
|
19
19
|
/**
|
|
20
20
|
* Handles click outside of element
|
|
21
21
|
* @param event - Mouse event object
|
|
@@ -30,6 +30,20 @@ export class ClickOutsideDirective {
|
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
+
//######################### public properties - inputs #########################
|
|
34
|
+
/**
|
|
35
|
+
* Variable that is used for displaying element that handles click outside
|
|
36
|
+
*/
|
|
37
|
+
get clickOutsideCondition() {
|
|
38
|
+
return this._clickOutsideCondition;
|
|
39
|
+
}
|
|
40
|
+
set clickOutsideCondition(value) {
|
|
41
|
+
if (isString(value) && value === '') {
|
|
42
|
+
this._clickOutsideCondition = true;
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
this._clickOutsideCondition = value;
|
|
46
|
+
}
|
|
33
47
|
//######################### public methods - implementation of OnInit #########################
|
|
34
48
|
/**
|
|
35
49
|
* Initialize component
|
|
@@ -45,9 +59,9 @@ export class ClickOutsideDirective {
|
|
|
45
59
|
this._document.removeEventListener('mouseup', this._handleClickOutside);
|
|
46
60
|
}
|
|
47
61
|
}
|
|
48
|
-
ClickOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
49
|
-
ClickOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
62
|
+
ClickOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ClickOutsideDirective, deps: [{ token: i0.ElementRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
|
|
63
|
+
ClickOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: ClickOutsideDirective, selector: "[clickOutside]", inputs: { clickOutsideCondition: ["clickOutside", "clickOutsideCondition"], clickOutsideElement: "clickOutsideElement" }, outputs: { clickOutsideConditionChange: "clickOutsideChange" }, ngImport: i0 });
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ClickOutsideDirective, decorators: [{
|
|
51
65
|
type: Directive,
|
|
52
66
|
args: [{
|
|
53
67
|
selector: '[clickOutside]'
|
package/es2020/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clickOutside.directive.js","sourceRoot":"","sources":["../../../../../../src/modules/clickOutside/directives/clickOutside/clickOutside.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAqB,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AAC5G,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;;
|
|
1
|
+
{"version":3,"file":"clickOutside.directive.js","sourceRoot":"","sources":["../../../../../../src/modules/clickOutside/directives/clickOutside/clickOutside.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAqB,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AAC5G,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAC,YAAY,EAAE,QAAQ,EAAC,MAAM,gBAAgB,CAAC;;AAEtD;;GAEG;AAKH,MAAM,OAAO,qBAAqB;IA6C9B,iEAAiE;IACjE,YAAsB,QAAiC,EACf,SAAmB;QADrC,aAAQ,GAAR,QAAQ,CAAyB;QACf,cAAS,GAAT,SAAS,CAAU;QAV3D,iFAAiF;QAEjF;;WAEG;QAEI,gCAA2B,GAA0B,IAAI,YAAY,EAAW,CAAC;QA4BxF,uEAAuE;QAEvE;;;WAGG;QACO,wBAAmB,GAAG,CAAC,KAAiB,EAAE,EAAE;YAElD,IAAG,IAAI,CAAC,QAAQ,CAAC,aAAa,IAAI,KAAK,CAAC,MAAM;gBAC3C,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,aAAa,EAAE,KAAK,CAAC,MAAqB,CAAC;gBACvE,CAAC,CAAC,IAAI,CAAC,mBAAmB,IAAI,CAAC,IAAI,CAAC,mBAAmB,IAAI,KAAK,CAAC,MAAM;oBACxC,CAAC,YAAY,CAAC,IAAI,CAAC,mBAAmB,EAAE,KAAK,CAAC,MAAqB,CAAC,CAAC,CAAC,EACxG;gBACI,IAAI,CAAC,qBAAqB,GAAG,CAAC,IAAI,CAAC,qBAAqB,CAAC;gBACzD,IAAI,CAAC,2BAA2B,CAAC,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;aACrE;QACL,CAAC,CAAA;IAtCD,CAAC;IAxCD,gFAAgF;IAEhF;;OAEG;IACH,IACW,qBAAqB;QAE5B,OAAO,IAAI,CAAC,sBAAsB,CAAC;IACvC,CAAC;IACD,IAAW,qBAAqB,CAAC,KAAc;QAE3C,IAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,KAAK,EAAE,EAClC;YACI,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;YAEnC,OAAO;SACV;QAED,IAAI,CAAC,sBAAsB,GAAG,KAAK,CAAC;IACxC,CAAC;IAsBD,+FAA+F;IAE/F;;OAEG;IACI,QAAQ;QAEX,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,SAAS,EAAE,IAAI,CAAC,mBAAmB,CAAC,CAAC;IACzE,CAAC;IAED,kGAAkG;IAElG;;OAEG;IACI,WAAW;QAEd,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,SAAS,EAAE,IAAI,CAAC,mBAAmB,CAAC,CAAC;IAC5E,CAAC;;kHArEQ,qBAAqB,4CA+CV,QAAQ;sGA/CnB,qBAAqB;2FAArB,qBAAqB;kBAJjC,SAAS;mBACV;oBACI,QAAQ,EAAE,gBAAgB;iBAC7B;mFAgDsD,QAAQ;0BAA9C,MAAM;2BAAC,QAAQ;4CAhCjB,qBAAqB;sBAD/B,KAAK;uBAAC,cAAc;gBAqBd,mBAAmB;sBADzB,KAAK;gBASC,2BAA2B;sBADjC,MAAM;uBAAC,oBAAoB","sourcesContent":["import {Directive, OnInit, OnDestroy, Input, EventEmitter, Output, ElementRef, Inject} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\nimport {isDescendant, isString} from '@jscrpt/common';\n\n/**\n * Directive that handles click outside of element\n */\n@Directive(\n{\n selector: '[clickOutside]'\n})\nexport class ClickOutsideDirective implements OnInit, OnDestroy\n{\n //######################### protected fields #########################\n\n /**\n * Variable that is used for displaying element that handles click outside\n */\n protected _clickOutsideCondition: boolean;\n\n //######################### public properties - inputs #########################\n\n /**\n * Variable that is used for displaying element that handles click outside\n */\n @Input('clickOutside')\n public get clickOutsideCondition(): boolean\n {\n return this._clickOutsideCondition;\n }\n public set clickOutsideCondition(value: boolean)\n {\n if(isString(value) && value === '')\n {\n this._clickOutsideCondition = true;\n\n return;\n }\n\n this._clickOutsideCondition = value;\n }\n\n /**\n * Additional element that is checked for click\n */\n @Input()\n public clickOutsideElement: HTMLElement;\n\n //######################### public properties - outputs #########################\n\n /**\n * Used for emitting event when click outside occurs\n */\n @Output('clickOutsideChange')\n public clickOutsideConditionChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n //######################### constructor #########################\n constructor(protected _element: ElementRef<HTMLElement>,\n @Inject(DOCUMENT) protected _document: Document)\n {\n }\n\n //######################### public methods - implementation of OnInit #########################\n \n /**\n * Initialize component\n */\n public ngOnInit(): void\n {\n this._document.addEventListener('mouseup', this._handleClickOutside);\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n \n /**\n * Called when component is destroyed\n */\n public ngOnDestroy(): void\n {\n this._document.removeEventListener('mouseup', this._handleClickOutside);\n }\n\n //######################### protected methods #########################\n\n /**\n * Handles click outside of element\n * @param event - Mouse event object\n */\n protected _handleClickOutside = (event: MouseEvent) =>\n {\n if(this._element.nativeElement != event.target &&\n !isDescendant(this._element.nativeElement, event.target as HTMLElement) &&\n (!this.clickOutsideElement || (this.clickOutsideElement != event.target &&\n !isDescendant(this.clickOutsideElement, event.target as HTMLElement))))\n { \n this.clickOutsideCondition = !this.clickOutsideCondition;\n this.clickOutsideConditionChange.emit(this.clickOutsideCondition);\n }\n }\n\n //######################### ng language server #########################\n \n /**\n * Custom input type for `clickOutsideCondition` input\n */\n public static ngAcceptInputType_clickOutsideCondition: boolean|'';\n}"]}
|
|
@@ -6,10 +6,10 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export class ClickOutsideModule {
|
|
8
8
|
}
|
|
9
|
-
ClickOutsideModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
10
|
-
ClickOutsideModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
11
|
-
ClickOutsideModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
9
|
+
ClickOutsideModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ClickOutsideModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
ClickOutsideModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ClickOutsideModule, declarations: [ClickOutsideDirective], exports: [ClickOutsideDirective] });
|
|
11
|
+
ClickOutsideModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ClickOutsideModule, imports: [[]] });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ClickOutsideModule, decorators: [{
|
|
13
13
|
type: NgModule,
|
|
14
14
|
args: [{
|
|
15
15
|
imports: [],
|
|
@@ -6,10 +6,10 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export class CommonDynamicModule {
|
|
8
8
|
}
|
|
9
|
-
CommonDynamicModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
10
|
-
CommonDynamicModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
11
|
-
CommonDynamicModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
9
|
+
CommonDynamicModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CommonDynamicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
CommonDynamicModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CommonDynamicModule, declarations: [NgComponentOutletEx], exports: [NgComponentOutletEx] });
|
|
11
|
+
CommonDynamicModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CommonDynamicModule });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CommonDynamicModule, decorators: [{
|
|
13
13
|
type: NgModule,
|
|
14
14
|
args: [{
|
|
15
15
|
declarations: [
|
|
@@ -6,10 +6,10 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export class CommonLocalizeModule {
|
|
8
8
|
}
|
|
9
|
-
CommonLocalizeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
10
|
-
CommonLocalizeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
11
|
-
CommonLocalizeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
9
|
+
CommonLocalizeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CommonLocalizeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
CommonLocalizeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CommonLocalizeModule, declarations: [LocalizePipe], exports: [LocalizePipe] });
|
|
11
|
+
CommonLocalizeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CommonLocalizeModule });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CommonLocalizeModule, decorators: [{
|
|
13
13
|
type: NgModule,
|
|
14
14
|
args: [{
|
|
15
15
|
declarations: [
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
|
-
import { IsNaNPipe, IsPresentPipe, UrlEncodePipe, MergeCssClassesPipe } from '../pipes';
|
|
2
|
+
import { IsNaNPipe, IsPresentPipe, UrlEncodePipe, MergeCssClassesPipe, KeysPipe } from '../pipes';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* Module for common utility stuff
|
|
6
6
|
*/
|
|
7
7
|
export class CommonUtilsModule {
|
|
8
8
|
}
|
|
9
|
-
CommonUtilsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
10
|
-
CommonUtilsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
9
|
+
CommonUtilsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CommonUtilsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
CommonUtilsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CommonUtilsModule, declarations: [IsNaNPipe,
|
|
11
11
|
IsPresentPipe,
|
|
12
12
|
UrlEncodePipe,
|
|
13
|
-
MergeCssClassesPipe
|
|
13
|
+
MergeCssClassesPipe,
|
|
14
|
+
KeysPipe], exports: [IsNaNPipe,
|
|
14
15
|
IsPresentPipe,
|
|
15
16
|
UrlEncodePipe,
|
|
16
|
-
MergeCssClassesPipe
|
|
17
|
-
|
|
18
|
-
i0.ɵɵ
|
|
17
|
+
MergeCssClassesPipe,
|
|
18
|
+
KeysPipe] });
|
|
19
|
+
CommonUtilsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CommonUtilsModule });
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: CommonUtilsModule, decorators: [{
|
|
19
21
|
type: NgModule,
|
|
20
22
|
args: [{
|
|
21
23
|
declarations: [
|
|
@@ -23,12 +25,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImpor
|
|
|
23
25
|
IsPresentPipe,
|
|
24
26
|
UrlEncodePipe,
|
|
25
27
|
MergeCssClassesPipe,
|
|
28
|
+
KeysPipe,
|
|
26
29
|
],
|
|
27
30
|
exports: [
|
|
28
31
|
IsNaNPipe,
|
|
29
32
|
IsPresentPipe,
|
|
30
33
|
UrlEncodePipe,
|
|
31
34
|
MergeCssClassesPipe,
|
|
35
|
+
KeysPipe,
|
|
32
36
|
]
|
|
33
37
|
}]
|
|
34
38
|
}] });
|