@anglr/common 14.2.0-beta.20221025042231 → 15.0.0-beta.20221026052356
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 +44 -0
- package/es2015/floating-ui/src/services/floatingUiDomPosition.service.js +83 -65
- package/es2015/floating-ui/src/services/floatingUiDomPosition.service.js.map +1 -1
- package/es2015/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.js +3 -3
- package/es2015/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.js +3 -3
- package/es2015/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.js +3 -3
- package/es2015/forms/src/directives/groupHasError/groupHasError.directive.js +3 -3
- package/es2015/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.js +3 -3
- package/es2015/forms/src/directives/hasError/hasError.directive.js +3 -3
- package/es2015/forms/src/directives/hasError/hasError.directive.js.map +1 -1
- 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/directives/validationErrorsContainer/validationErrorsContainer.directive.js +3 -3
- package/es2015/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js +3 -3
- package/es2015/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js +3 -3
- package/es2015/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js +3 -3
- package/es2015/forms/src/modules/errorMessage/modules/errorMessage.module.js +4 -4
- package/es2015/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js +3 -3
- 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/formModelBuilder/formModelBuilder.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 +3 -3
- package/es2015/material/src/components/movableTitledDialog/movableTitledDialog.component.js +3 -3
- package/es2015/material/src/components/titledDialog/titledDialog.component.js +3 -3
- package/es2015/material/src/directives/confirmationDialog/confirmationDialog.directive.js +10 -8
- package/es2015/material/src/directives/confirmationDialog/confirmationDialog.directive.js.map +1 -1
- package/es2015/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +3 -3
- 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 +4 -4
- package/es2015/material/src/modules/titledDialog.module.js +4 -4
- package/es2015/material/src/services/titledDialog/titledDialog.service.js +3 -3
- 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/router/src/services/routing/dataRouter.js +3 -3
- package/es2015/router/src/services/routing/dataRouterData.js +3 -3
- package/es2015/src/directives/bodyRender/bodyRender.directive.js +3 -3
- package/es2015/src/directives/bodyRender/bodyRender.directive.js.map +1 -1
- 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 +3 -3
- 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 +4 -4
- 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/components/multiButton/multiButton.component.js.map +1 -1
- package/es2015/src/modules/multiButton/modules/multiButton.module.js +4 -4
- package/es2015/src/modules/position/directives/positionTo/positionTo.directive.js +57 -21
- package/es2015/src/modules/position/directives/positionTo/positionTo.directive.js.map +1 -1
- 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/directives/progressOverlay/progressOverlay.directive.js.map +1 -1
- package/es2015/src/modules/progressIndicator/interceptors/progressInterceptor.js +4 -4
- package/es2015/src/modules/progressIndicator/interceptors/progressInterceptor.js.map +1 -1
- 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/progressIndicator/services/progressIndicator.service.js.map +1 -1
- package/es2015/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
- package/es2015/src/modules/tooltip/directives/tooltip/tooltip.directive.js +9 -9
- package/es2015/src/modules/tooltip/directives/tooltip/tooltip.directive.js.map +1 -1
- 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/isNaN/isNaN.pipe.js +3 -3
- package/es2015/src/pipes/isPresent/isPresent.pipe.js +3 -3
- package/es2015/src/pipes/keys/keys.pipe.js +3 -3
- 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/cookies/cookies.service.js.map +1 -1
- package/es2015/src/services/notifications/defaultNotifications.service.js +3 -3
- package/es2015/src/services/permanentStorage/cookiePermanentStorage.service.js +3 -3
- package/es2015/src/services/position/position.interface.js.map +1 -1
- package/es2015/src/services/position/position.types.js.map +1 -1
- 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/src/utils/index.js +1 -1
- package/es2015/src/utils/index.js.map +1 -1
- 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 +7 -5
- package/es2015/structured-log/src/services/rest/restSink.service.js.map +1 -1
- package/es2015/structured-log/src/services/rest/restSinkConfig.service.js +3 -3
- package/es2020/floating-ui/src/services/floatingUiDomPosition.service.js +83 -65
- package/es2020/floating-ui/src/services/floatingUiDomPosition.service.js.map +1 -1
- package/es2020/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.js +3 -3
- package/es2020/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.js +3 -3
- package/es2020/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.js +3 -3
- package/es2020/forms/src/directives/groupHasError/groupHasError.directive.js +3 -3
- package/es2020/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.js +3 -3
- package/es2020/forms/src/directives/hasError/hasError.directive.js +3 -3
- package/es2020/forms/src/directives/hasError/hasError.directive.js.map +1 -1
- 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/directives/validationErrorsContainer/validationErrorsContainer.directive.js +3 -3
- package/es2020/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js +3 -3
- package/es2020/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js +3 -3
- package/es2020/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js +3 -3
- package/es2020/forms/src/modules/errorMessage/modules/errorMessage.module.js +4 -4
- package/es2020/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js +3 -3
- 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/formModelBuilder/formModelBuilder.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 +3 -3
- package/es2020/material/src/components/movableTitledDialog/movableTitledDialog.component.js +3 -3
- package/es2020/material/src/components/titledDialog/titledDialog.component.js +3 -3
- package/es2020/material/src/directives/confirmationDialog/confirmationDialog.directive.js +9 -8
- package/es2020/material/src/directives/confirmationDialog/confirmationDialog.directive.js.map +1 -1
- package/es2020/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +3 -3
- 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 +4 -4
- package/es2020/material/src/modules/titledDialog.module.js +4 -4
- package/es2020/material/src/services/titledDialog/titledDialog.service.js +3 -3
- 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/router/src/services/routing/dataRouter.js +3 -3
- package/es2020/router/src/services/routing/dataRouterData.js +3 -3
- package/es2020/src/directives/bodyRender/bodyRender.directive.js +3 -3
- package/es2020/src/directives/bodyRender/bodyRender.directive.js.map +1 -1
- 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 +3 -3
- 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 +4 -4
- 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/components/multiButton/multiButton.component.js.map +1 -1
- package/es2020/src/modules/multiButton/modules/multiButton.module.js +4 -4
- package/es2020/src/modules/position/directives/positionTo/positionTo.directive.js +58 -21
- package/es2020/src/modules/position/directives/positionTo/positionTo.directive.js.map +1 -1
- 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/directives/progressOverlay/progressOverlay.directive.js.map +1 -1
- package/es2020/src/modules/progressIndicator/interceptors/progressInterceptor.js +4 -4
- package/es2020/src/modules/progressIndicator/interceptors/progressInterceptor.js.map +1 -1
- 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/progressIndicator/services/progressIndicator.service.js.map +1 -1
- package/es2020/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
- package/es2020/src/modules/tooltip/directives/tooltip/tooltip.directive.js +9 -9
- package/es2020/src/modules/tooltip/directives/tooltip/tooltip.directive.js.map +1 -1
- 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/isNaN/isNaN.pipe.js +3 -3
- package/es2020/src/pipes/isPresent/isPresent.pipe.js +3 -3
- package/es2020/src/pipes/keys/keys.pipe.js +3 -3
- 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/cookies/cookies.service.js.map +1 -1
- package/es2020/src/services/notifications/defaultNotifications.service.js +3 -3
- package/es2020/src/services/permanentStorage/cookiePermanentStorage.service.js +3 -3
- package/es2020/src/services/position/position.interface.js.map +1 -1
- package/es2020/src/services/position/position.types.js.map +1 -1
- 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/src/utils/index.js +1 -1
- package/es2020/src/utils/index.js.map +1 -1
- 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 +6 -5
- package/es2020/structured-log/src/services/rest/restSink.service.js.map +1 -1
- package/es2020/structured-log/src/services/rest/restSinkConfig.service.js +3 -3
- package/floating-ui/src/services/floatingUiDomPosition.service.d.ts.map +1 -1
- package/material/src/directives/confirmationDialog/confirmationDialog.directive.d.ts +4 -4
- package/material/src/directives/confirmationDialog/confirmationDialog.directive.d.ts.map +1 -1
- package/package.json +31 -28
- package/src/modules/position/directives/positionTo/positionTo.directive.d.ts +35 -14
- package/src/modules/position/directives/positionTo/positionTo.directive.d.ts.map +1 -1
- package/src/modules/progressIndicator/interceptors/progressInterceptor.d.ts.map +1 -1
- package/src/modules/tooltip/directives/tooltip/tooltip.directive.d.ts.map +1 -1
- package/src/services/position/position.interface.d.ts +51 -3
- package/src/services/position/position.interface.d.ts.map +1 -1
- package/src/services/position/position.types.d.ts +4 -0
- package/src/services/position/position.types.d.ts.map +1 -1
- package/structured-log/src/services/rest/restSink.service.d.ts.map +1 -1
- package/{positions/src/types/positions.typings.d.ts → typings/positions/index.d.ts} +12 -4
- package/typings/store/index.d.ts +5 -0
- package/{structured-log/src/types/structured-log.typings.d.ts → typings/structured-log/index.d.ts} +49 -13
- package/version.bak +1 -1
- package/es2015/positions/src/types/positions.typings.js +0 -2
- package/es2015/positions/src/types/positions.typings.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/types/structured-log.typings.js +0 -2
- package/es2015/structured-log/src/types/structured-log.typings.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/store/src/types/store.typings.js +0 -2
- package/es2020/store/src/types/store.typings.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/positions/src/types/positions.typings.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/structured-log/src/types/structured-log.typings.d.ts.map +0 -1
|
@@ -38,9 +38,9 @@ export class RequiredClassDirective {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
RequiredClassDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
42
|
-
RequiredClassDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
41
|
+
RequiredClassDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: RequiredClassDirective, deps: [{ token: i1.FormControlDirective, optional: true }, { token: i1.FormControlName, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
42
|
+
RequiredClassDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: RequiredClassDirective, selector: "[requiredClass]", host: { properties: { "class.required": "this.required" } }, ngImport: i0 });
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: RequiredClassDirective, decorators: [{
|
|
44
44
|
type: Directive,
|
|
45
45
|
args: [{
|
|
46
46
|
selector: '[requiredClass]'
|
package/es2020/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.js
CHANGED
|
@@ -11,9 +11,9 @@ export class ValidationErrorsContainerDirective {
|
|
|
11
11
|
containerView.viewContainer = viewContainer;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
ValidationErrorsContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
15
|
-
ValidationErrorsContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
14
|
+
ValidationErrorsContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ValidationErrorsContainerDirective, deps: [{ token: i1.ValidationErrorsContainerView, skipSelf: true }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15
|
+
ValidationErrorsContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: ValidationErrorsContainerDirective, selector: "[validationErrorsContainer]", ngImport: i0 });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ValidationErrorsContainerDirective, decorators: [{
|
|
17
17
|
type: Directive,
|
|
18
18
|
args: [{
|
|
19
19
|
selector: '[validationErrorsContainer]'
|
package/es2020/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js
CHANGED
|
@@ -55,9 +55,9 @@ export class GroupErrorsComponent {
|
|
|
55
55
|
this._initSubscriptions = null;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
GroupErrorsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
59
|
-
GroupErrorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
58
|
+
GroupErrorsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: GroupErrorsComponent, deps: [{ token: i1.FormGroupDirective, optional: true }, { token: i1.FormGroupName, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
59
|
+
GroupErrorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: GroupErrorsComponent, selector: "form-group-errors", inputs: { cssClass: "cssClass" }, queries: [{ propertyName: "template", first: true, predicate: GroupErrorsTemplateDirective, descendants: true }], ngImport: i0, template: "<ng-template #defaultTemplate let-errorName>\n <div [ngClass]=\"cssClass\" [errorMessage]=\"errorName\" [errors]=\"formGroup.errors\" @slideInOut></div>\n</ng-template>\n\n<ng-container *ngFor=\"let errorName of formGroup.errors | keys | withErrorMessage; let first=first; let last=last; let index=index\">\n <ng-container *ngTemplateOutlet=\"template?.template ?? defaultTemplate; context: {$implicit: errorName, first, last, index, errors: formGroup.errors}\"></ng-container>\n</ng-container>", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.ErrorMessageDirective, selector: "[errorMessage]", inputs: ["errorMessage", "errors"], exportAs: ["errorMessage"] }, { kind: "pipe", type: i4.KeysPipe, name: "keys" }, { kind: "pipe", type: i5.WithErrorMessagePipe, name: "withErrorMessage" }], animations: [slideInOutTrigger], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: GroupErrorsComponent, decorators: [{
|
|
61
61
|
type: Component,
|
|
62
62
|
args: [{ selector: 'form-group-errors', animations: [slideInOutTrigger], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #defaultTemplate let-errorName>\n <div [ngClass]=\"cssClass\" [errorMessage]=\"errorName\" [errors]=\"formGroup.errors\" @slideInOut></div>\n</ng-template>\n\n<ng-container *ngFor=\"let errorName of formGroup.errors | keys | withErrorMessage; let first=first; let last=last; let index=index\">\n <ng-container *ngTemplateOutlet=\"template?.template ?? defaultTemplate; context: {$implicit: errorName, first, last, index, errors: formGroup.errors}\"></ng-container>\n</ng-container>" }]
|
|
63
63
|
}], ctorParameters: function () { return [{ type: i1.FormGroupDirective, decorators: [{
|
package/es2020/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js
CHANGED
|
@@ -51,9 +51,9 @@ export class ErrorMessageDirective {
|
|
|
51
51
|
this._element.nativeElement.innerHTML = message;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
ErrorMessageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
55
|
-
ErrorMessageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
54
|
+
ErrorMessageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ErrorMessageDirective, deps: [{ token: i0.ElementRef }, { token: STRING_LOCALIZATION }, { token: VALIDATION_ERROR_MESSAGES }], target: i0.ɵɵFactoryTarget.Directive });
|
|
55
|
+
ErrorMessageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: ErrorMessageDirective, selector: "[errorMessage]", inputs: { errorName: ["errorMessage", "errorName"], errors: "errors" }, exportAs: ["errorMessage"], usesOnChanges: true, ngImport: i0 });
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ErrorMessageDirective, decorators: [{
|
|
57
57
|
type: Directive,
|
|
58
58
|
args: [{
|
|
59
59
|
selector: '[errorMessage]',
|
|
@@ -16,9 +16,9 @@ export class GroupErrorsTemplateDirective {
|
|
|
16
16
|
return true;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
GroupErrorsTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
20
|
-
GroupErrorsTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
19
|
+
GroupErrorsTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: GroupErrorsTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
GroupErrorsTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: GroupErrorsTemplateDirective, selector: "[formGroupError]", ngImport: i0 });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: GroupErrorsTemplateDirective, decorators: [{
|
|
22
22
|
type: Directive,
|
|
23
23
|
args: [{
|
|
24
24
|
selector: '[formGroupError]'
|
|
@@ -10,8 +10,8 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
*/
|
|
11
11
|
export class ErrorMessageModule {
|
|
12
12
|
}
|
|
13
|
-
ErrorMessageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
14
|
-
ErrorMessageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
13
|
+
ErrorMessageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ErrorMessageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14
|
+
ErrorMessageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: ErrorMessageModule, declarations: [WithErrorMessagePipe,
|
|
15
15
|
ErrorMessageDirective,
|
|
16
16
|
GroupErrorsTemplateDirective,
|
|
17
17
|
GroupErrorsComponent], imports: [CommonModule,
|
|
@@ -19,9 +19,9 @@ ErrorMessageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", vers
|
|
|
19
19
|
ErrorMessageDirective,
|
|
20
20
|
GroupErrorsTemplateDirective,
|
|
21
21
|
GroupErrorsComponent] });
|
|
22
|
-
ErrorMessageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
22
|
+
ErrorMessageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ErrorMessageModule, imports: [CommonModule,
|
|
23
23
|
CommonUtilsModule] });
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ErrorMessageModule, decorators: [{
|
|
25
25
|
type: NgModule,
|
|
26
26
|
args: [{
|
|
27
27
|
imports: [
|
package/es2020/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js
CHANGED
|
@@ -21,9 +21,9 @@ export class WithErrorMessagePipe {
|
|
|
21
21
|
return value.filter(itm => this._errorMessages[itm]);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
WithErrorMessagePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
25
|
-
WithErrorMessagePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
24
|
+
WithErrorMessagePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: WithErrorMessagePipe, deps: [{ token: VALIDATION_ERROR_MESSAGES }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
25
|
+
WithErrorMessagePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: WithErrorMessagePipe, name: "withErrorMessage" });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: WithErrorMessagePipe, decorators: [{
|
|
27
27
|
type: Pipe,
|
|
28
28
|
args: [{ name: 'withErrorMessage' }]
|
|
29
29
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -6,16 +6,16 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export class FormPipesModule {
|
|
8
8
|
}
|
|
9
|
-
FormPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
10
|
-
FormPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
9
|
+
FormPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
FormPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: FormPipesModule, declarations: [AsFormArrayPipe,
|
|
11
11
|
AsFormControlPipe,
|
|
12
12
|
AsFormGroupPipe,
|
|
13
13
|
GetControlPipe], exports: [AsFormArrayPipe,
|
|
14
14
|
AsFormControlPipe,
|
|
15
15
|
AsFormGroupPipe,
|
|
16
16
|
GetControlPipe] });
|
|
17
|
-
FormPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
17
|
+
FormPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormPipesModule });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormPipesModule, decorators: [{
|
|
19
19
|
type: NgModule,
|
|
20
20
|
args: [{
|
|
21
21
|
declarations: [
|
|
@@ -28,9 +28,9 @@ export class AsFormArrayPipe {
|
|
|
28
28
|
return null;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
AsFormArrayPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
32
|
-
AsFormArrayPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
31
|
+
AsFormArrayPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AsFormArrayPipe, deps: [{ token: LOGGER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
32
|
+
AsFormArrayPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: AsFormArrayPipe, name: "asFormArray" });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AsFormArrayPipe, decorators: [{
|
|
34
34
|
type: Pipe,
|
|
35
35
|
args: [{ name: 'asFormArray' }]
|
|
36
36
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -28,9 +28,9 @@ export class AsFormControlPipe {
|
|
|
28
28
|
return null;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
AsFormControlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
32
|
-
AsFormControlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
31
|
+
AsFormControlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AsFormControlPipe, deps: [{ token: LOGGER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
32
|
+
AsFormControlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: AsFormControlPipe, name: "asFormControl" });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AsFormControlPipe, decorators: [{
|
|
34
34
|
type: Pipe,
|
|
35
35
|
args: [{ name: 'asFormControl' }]
|
|
36
36
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -28,9 +28,9 @@ export class AsFormGroupPipe {
|
|
|
28
28
|
return null;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
AsFormGroupPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
32
|
-
AsFormGroupPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
31
|
+
AsFormGroupPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AsFormGroupPipe, deps: [{ token: LOGGER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
32
|
+
AsFormGroupPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: AsFormGroupPipe, name: "asFormGroup" });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AsFormGroupPipe, decorators: [{
|
|
34
34
|
type: Pipe,
|
|
35
35
|
args: [{ name: 'asFormGroup' }]
|
|
36
36
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -22,9 +22,9 @@ export class GetControlPipe {
|
|
|
22
22
|
return value.get(control);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
GetControlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
26
|
-
GetControlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
25
|
+
GetControlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: GetControlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
26
|
+
GetControlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: GetControlPipe, name: "getControl" });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: GetControlPipe, decorators: [{
|
|
28
28
|
type: Pipe,
|
|
29
29
|
args: [{ name: 'getControl' }]
|
|
30
30
|
}] });
|
|
@@ -10,8 +10,8 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
*/
|
|
11
11
|
export class HasErrorModule {
|
|
12
12
|
}
|
|
13
|
-
HasErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
14
|
-
HasErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
13
|
+
HasErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: HasErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14
|
+
HasErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: HasErrorModule, declarations: [HasErrorDirective,
|
|
15
15
|
GroupHasErrorDirective,
|
|
16
16
|
GroupHasErrorContainerDirective,
|
|
17
17
|
ValidationErrorsContainerDirective,
|
|
@@ -21,8 +21,8 @@ HasErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
|
|
|
21
21
|
GroupHasErrorDirective,
|
|
22
22
|
GroupHasErrorContainerDirective,
|
|
23
23
|
ValidationErrorsContainerDirective] });
|
|
24
|
-
HasErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
24
|
+
HasErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: HasErrorModule, imports: [CommonModule] });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: HasErrorModule, decorators: [{
|
|
26
26
|
type: NgModule,
|
|
27
27
|
args: [{
|
|
28
28
|
imports: [
|
|
@@ -9,16 +9,16 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
*/
|
|
10
10
|
export class NumberInputModule {
|
|
11
11
|
}
|
|
12
|
-
NumberInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
13
|
-
NumberInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
12
|
+
NumberInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: NumberInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
+
NumberInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: NumberInputModule, declarations: [MaxValueNumberValidatorDirective,
|
|
14
14
|
MinValueNumberValidatorDirective,
|
|
15
15
|
NumberInputControlValueAccessor,
|
|
16
16
|
NumberInputValidatorDirective], exports: [MaxValueNumberValidatorDirective,
|
|
17
17
|
MinValueNumberValidatorDirective,
|
|
18
18
|
NumberInputControlValueAccessor,
|
|
19
19
|
NumberInputValidatorDirective] });
|
|
20
|
-
NumberInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
20
|
+
NumberInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: NumberInputModule });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: NumberInputModule, decorators: [{
|
|
22
22
|
type: NgModule,
|
|
23
23
|
args: [{
|
|
24
24
|
declarations: [
|
|
@@ -6,10 +6,10 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export class RequiredClassModule {
|
|
8
8
|
}
|
|
9
|
-
RequiredClassModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
10
|
-
RequiredClassModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
11
|
-
RequiredClassModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
9
|
+
RequiredClassModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: RequiredClassModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
RequiredClassModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: RequiredClassModule, declarations: [RequiredClassDirective], exports: [RequiredClassDirective] });
|
|
11
|
+
RequiredClassModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: RequiredClassModule });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: RequiredClassModule, decorators: [{
|
|
13
13
|
type: NgModule,
|
|
14
14
|
args: [{
|
|
15
15
|
declarations: [RequiredClassDirective],
|
|
@@ -63,9 +63,9 @@ export class ErrorMessagesExtractor {
|
|
|
63
63
|
return result;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
ErrorMessagesExtractor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
67
|
-
ErrorMessagesExtractor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
66
|
+
ErrorMessagesExtractor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ErrorMessagesExtractor, deps: [{ token: STRING_LOCALIZATION }, { token: IGNORED_VALIDATION_ERRORS }, { token: VALIDATION_ERROR_MESSAGES, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
67
|
+
ErrorMessagesExtractor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ErrorMessagesExtractor, providedIn: 'root' });
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ErrorMessagesExtractor, decorators: [{
|
|
69
69
|
type: Injectable,
|
|
70
70
|
args: [{ providedIn: 'root' }]
|
|
71
71
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -22,9 +22,9 @@ export class FormModelBuilder {
|
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
FormModelBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
26
|
-
FormModelBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
25
|
+
FormModelBuilder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormModelBuilder, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
26
|
+
FormModelBuilder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormModelBuilder });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormModelBuilder, decorators: [{
|
|
28
28
|
type: Injectable
|
|
29
29
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
30
30
|
//# sourceMappingURL=formModelBuilder.service.js.map
|
|
@@ -41,9 +41,9 @@ export class SubmittedService {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
SubmittedService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
45
|
-
SubmittedService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
44
|
+
SubmittedService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: SubmittedService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
45
|
+
SubmittedService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: SubmittedService });
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: SubmittedService, decorators: [{
|
|
47
47
|
type: Injectable
|
|
48
48
|
}] });
|
|
49
49
|
//# sourceMappingURL=submitted.service.js.map
|
package/es2020/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js
CHANGED
|
@@ -26,9 +26,9 @@ export class ValidationErrorRendererFactory {
|
|
|
26
26
|
return new this._options.rendererType(this._errorMessagesExtractor, control, containerView, injector, isSubmittedOrDirty, this._options);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
ValidationErrorRendererFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
30
|
-
ValidationErrorRendererFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
29
|
+
ValidationErrorRendererFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ValidationErrorRendererFactory, deps: [{ token: i1.ErrorMessagesExtractor }, { token: VALIDATION_ERROR_RENDERER_FACTORY_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
30
|
+
ValidationErrorRendererFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ValidationErrorRendererFactory, providedIn: 'root' });
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ValidationErrorRendererFactory, decorators: [{
|
|
32
32
|
type: Injectable,
|
|
33
33
|
args: [{ providedIn: 'root' }]
|
|
34
34
|
}], ctorParameters: function () { return [{ type: i1.ErrorMessagesExtractor }, { type: undefined, decorators: [{
|
|
@@ -124,9 +124,9 @@ export class AppHotkeysService {
|
|
|
124
124
|
this._hotkeys.push(hotkey);
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
AppHotkeysService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
128
|
-
AppHotkeysService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
127
|
+
AppHotkeysService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AppHotkeysService, deps: [{ token: i1.HotkeysService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
128
|
+
AppHotkeysService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AppHotkeysService });
|
|
129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: AppHotkeysService, decorators: [{
|
|
130
130
|
type: Injectable
|
|
131
131
|
}], ctorParameters: function () { return [{ type: i1.HotkeysService }]; } });
|
|
132
132
|
//# sourceMappingURL=appHotkeys.service.js.map
|
|
@@ -33,9 +33,9 @@ export class ConfirmationDialogComponent {
|
|
|
33
33
|
this.options = extend(true, {}, defaultOptions, options ?? {}, data);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
ConfirmationDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
37
|
-
ConfirmationDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
36
|
+
ConfirmationDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ConfirmationDialogComponent, deps: [{ token: TITLED_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: CONFIRMATION_DIALOG_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
+
ConfirmationDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: ConfirmationDialogComponent, selector: "confirmation-dialog", ngImport: i0, template: "<div>{{options?.confirmationText | localize}}</div>\r\n\r\n<div [ngClass]=\"options?.cssClasses?.buttonsContainerDiv\">\r\n <button [ngClass]=\"options?.cssClasses?.closeButton\" (click)=\"dialog.close(false)\">\r\n <span [ngClass]=\"options?.cssClasses?.closeButtonIcon\"></span>\r\n <span>{{options?.dialogCancelText | localize}}</span>\r\n </button>\r\n \r\n <button [ngClass]=\"options?.cssClasses?.confirmButton\" (click)=\"dialog.close(true)\">\r\n <span [ngClass]=\"options?.cssClasses?.confirmButtonIcon\"></span>\r\n <span>{{options?.dialogConfirmText | localize}}</span>\r\n </button>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: i3.LocalizePipe, name: "localize" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ConfirmationDialogComponent, decorators: [{
|
|
39
39
|
type: Component,
|
|
40
40
|
args: [{ selector: 'confirmation-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div>{{options?.confirmationText | localize}}</div>\r\n\r\n<div [ngClass]=\"options?.cssClasses?.buttonsContainerDiv\">\r\n <button [ngClass]=\"options?.cssClasses?.closeButton\" (click)=\"dialog.close(false)\">\r\n <span [ngClass]=\"options?.cssClasses?.closeButtonIcon\"></span>\r\n <span>{{options?.dialogCancelText | localize}}</span>\r\n </button>\r\n \r\n <button [ngClass]=\"options?.cssClasses?.confirmButton\" (click)=\"dialog.close(true)\">\r\n <span [ngClass]=\"options?.cssClasses?.confirmButtonIcon\"></span>\r\n <span>{{options?.dialogConfirmText | localize}}</span>\r\n </button>\r\n</div>\r\n" }]
|
|
41
41
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -9,9 +9,9 @@ import * as i3 from "../../../../src/pipes/localize/localize.pipe";
|
|
|
9
9
|
*/
|
|
10
10
|
export class MovableTitledDialogComponent extends TitledDialogComponent {
|
|
11
11
|
}
|
|
12
|
-
MovableTitledDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
13
|
-
MovableTitledDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
12
|
+
MovableTitledDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MovableTitledDialogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
+
MovableTitledDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: MovableTitledDialogComponent, selector: "movable-titled-dialog", usesInheritance: true, ngImport: i0, template: "<div class=\"flex-row titled-dialog-title\"\r\n cdkDrag\r\n cdkDragRootElement=\".cdk-overlay-pane\" \r\n cdkDragHandle>\r\n <div class=\"flex-1\">{{data.title | localize}}</div>\r\n\r\n <div class=\"pointer-cursor align-self-center close-dialog\" (click)=\"dialogRef.close()\">\r\n <div class=\"fa fa-times\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"titled-dialog-content\">\r\n <ng-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>", styles: [".titled-dialog-title\r\n{\r\n padding: 10px;\r\n text-transform: capitalize;\r\n font-size: 14px;\r\n font-weight: bold;\r\n}\r\n.titled-dialog-title .close-dialog\r\n{\r\n margin-left: 10px;\r\n}\r\n\r\n.titled-dialog-content\r\n{\r\n padding: 10px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n}"], dependencies: [{ kind: "directive", type: i1.NgComponentOutletEx, selector: "[ngComponentOutletEx]", inputs: ["ngComponentOutletEx", "ngComponentOutletExInjector", "ngComponentOutletExContent"], outputs: ["ngComponentOutletExCreated"], exportAs: ["ngComponentOutletEx"] }, { kind: "directive", type: i2.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i2.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "pipe", type: i3.LocalizePipe, name: "localize" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MovableTitledDialogComponent, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
16
|
args: [{ selector: 'movable-titled-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"flex-row titled-dialog-title\"\r\n cdkDrag\r\n cdkDragRootElement=\".cdk-overlay-pane\" \r\n cdkDragHandle>\r\n <div class=\"flex-1\">{{data.title | localize}}</div>\r\n\r\n <div class=\"pointer-cursor align-self-center close-dialog\" (click)=\"dialogRef.close()\">\r\n <div class=\"fa fa-times\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"titled-dialog-content\">\r\n <ng-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>", styles: [".titled-dialog-title\r\n{\r\n padding: 10px;\r\n text-transform: capitalize;\r\n font-size: 14px;\r\n font-weight: bold;\r\n}\r\n.titled-dialog-title .close-dialog\r\n{\r\n margin-left: 10px;\r\n}\r\n\r\n.titled-dialog-content\r\n{\r\n padding: 10px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n}"] }]
|
|
17
17
|
}] });
|
|
@@ -33,9 +33,9 @@ export class TitledDialogComponent {
|
|
|
33
33
|
return this.data.componentOrTemplateRef;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
TitledDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
37
|
-
TitledDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
36
|
+
TitledDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TitledDialogComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
+
TitledDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: TitledDialogComponent, selector: "titled-dialog", ngImport: i0, template: "<div class=\"flex-row titled-dialog-title\">\r\n <div class=\"flex-1\">{{data.title | localize}}</div>\r\n\r\n <div class=\"pointer-cursor align-self-center close-dialog\" (click)=\"dialogRef.close()\">\r\n <div class=\"fa fa-times\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"titled-dialog-content\">\r\n <ng-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>", styles: [".titled-dialog-title\r\n{\r\n padding: 10px;\r\n text-transform: capitalize;\r\n font-size: 14px;\r\n font-weight: bold;\r\n}\r\n.titled-dialog-title .close-dialog\r\n{\r\n margin-left: 10px;\r\n}\r\n\r\n.titled-dialog-content\r\n{\r\n padding: 10px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n}"], dependencies: [{ kind: "directive", type: i2.NgComponentOutletEx, selector: "[ngComponentOutletEx]", inputs: ["ngComponentOutletEx", "ngComponentOutletExInjector", "ngComponentOutletExContent"], outputs: ["ngComponentOutletExCreated"], exportAs: ["ngComponentOutletEx"] }, { kind: "pipe", type: i3.LocalizePipe, name: "localize" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TitledDialogComponent, decorators: [{
|
|
39
39
|
type: Component,
|
|
40
40
|
args: [{ selector: 'titled-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"flex-row titled-dialog-title\">\r\n <div class=\"flex-1\">{{data.title | localize}}</div>\r\n\r\n <div class=\"pointer-cursor align-self-center close-dialog\" (click)=\"dialogRef.close()\">\r\n <div class=\"fa fa-times\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"titled-dialog-content\">\r\n <ng-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>", styles: [".titled-dialog-title\r\n{\r\n padding: 10px;\r\n text-transform: capitalize;\r\n font-size: 14px;\r\n font-weight: bold;\r\n}\r\n.titled-dialog-title .close-dialog\r\n{\r\n margin-left: 10px;\r\n}\r\n\r\n.titled-dialog-content\r\n{\r\n padding: 10px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n}"] }]
|
|
41
41
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Directive, Input, EventEmitter, Output, HostListener } from '@angular/core';
|
|
2
|
+
import { lastValueFrom } from 'rxjs';
|
|
2
3
|
import { TitledDialogService } from '../../services/titledDialog/titledDialog.service';
|
|
3
4
|
import { ConfirmationDialogComponent } from '../../components/confirmationDialog/confirmationDialog.component';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
@@ -58,24 +59,24 @@ export class ConfirmationDialogDirective {
|
|
|
58
59
|
this.confirm.emit();
|
|
59
60
|
return;
|
|
60
61
|
}
|
|
61
|
-
const result = await this._dialog.open(ConfirmationDialogComponent, {
|
|
62
|
+
const result = await lastValueFrom(this._dialog.open(ConfirmationDialogComponent, {
|
|
62
63
|
title: this.confirmationTitle,
|
|
63
64
|
width: '33vw',
|
|
64
65
|
data: {
|
|
65
66
|
confirmationText: this.confirmationText || undefined,
|
|
66
|
-
dialogCancelText: this.confirmationCancel,
|
|
67
|
-
dialogConfirmText: this.confirmationConfirm,
|
|
68
|
-
cssClasses: this.confirmationCssClasses,
|
|
67
|
+
dialogCancelText: this.confirmationCancel ?? '',
|
|
68
|
+
dialogConfirmText: this.confirmationConfirm ?? '',
|
|
69
|
+
cssClasses: this.confirmationCssClasses ?? {},
|
|
69
70
|
}
|
|
70
|
-
}).afterClosed()
|
|
71
|
+
}).afterClosed());
|
|
71
72
|
if (result) {
|
|
72
73
|
this.confirm.emit();
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
76
|
}
|
|
76
|
-
ConfirmationDialogDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
77
|
-
ConfirmationDialogDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
77
|
+
ConfirmationDialogDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ConfirmationDialogDirective, deps: [{ token: i1.TitledDialogService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
78
|
+
ConfirmationDialogDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: ConfirmationDialogDirective, selector: "[confirmation]", inputs: { confirmationText: ["confirmation", "confirmationText"], confirmationTitle: "confirmationTitle", confirmationConfirm: "confirmationConfirm", confirmationCancel: "confirmationCancel", confirmationCssClasses: "confirmationCssClasses", skipConfirmation: "skipConfirmation", preventDefaultsAndPropagation: "preventDefaultsAndPropagation" }, outputs: { confirm: "confirm" }, host: { listeners: { "click": "click($event)" } }, ngImport: i0 });
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ConfirmationDialogDirective, decorators: [{
|
|
79
80
|
type: Directive,
|
|
80
81
|
args: [{
|
|
81
82
|
selector: '[confirmation]'
|
package/es2020/material/src/directives/confirmationDialog/confirmationDialog.directive.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirmationDialog.directive.js","sourceRoot":"","sources":["../../../../../material/src/directives/confirmationDialog/confirmationDialog.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"confirmationDialog.directive.js","sourceRoot":"","sources":["../../../../../material/src/directives/confirmationDialog/confirmationDialog.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AACnF,OAAO,EAAC,aAAa,EAAC,MAAM,MAAM,CAAC;AAEnC,OAAO,EAAC,mBAAmB,EAAC,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAC,2BAA2B,EAAC,MAAM,kEAAkE,CAAC;;;AAG7G;;GAEG;AAKH,MAAM,OAAO,2BAA2B;IAsDpC,iEAAiE;IACjE,YAAoB,OAA4B;QAA5B,YAAO,GAAP,OAAO,CAAqB;QArDhD,gFAAgF;QAEhF;;WAEG;QAEI,qBAAgB,GAA0B,SAAS,CAAC;QAE3D;;WAEG;QAEI,sBAAiB,GAAW,cAAc,CAAC;QAElD;;WAEG;QAEI,wBAAmB,GAA0B,SAAS,CAAC;QAE9D;;WAEG;QAEI,uBAAkB,GAA0B,SAAS,CAAC;QAE7D;;WAEG;QAEI,2BAAsB,GAAgD,SAAS,CAAC;QAEvF;;WAEG;QAEI,qBAAgB,GAAY,KAAK,CAAC;QAEzC;;WAEG;QAEI,kCAA6B,GAAY,IAAI,CAAC;QAErD,iFAAiF;QAEjF;;WAEG;QAEI,YAAO,GAAuB,IAAI,YAAY,EAAQ,CAAC;IAK9D,CAAC;IAED,2EAA2E;IAE3E;;OAEG;IAEI,KAAK,CAAC,KAAK,CAAC,KAAiB;QAEhC,IAAG,IAAI,CAAC,6BAA6B,EACrC;YACI,KAAK,CAAC,eAAe,EAAE,CAAC;YACxB,KAAK,CAAC,cAAc,EAAE,CAAC;SAC1B;QAED,IAAG,IAAI,CAAC,gBAAgB,EACxB;YACI,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YAEpB,OAAO;SACV;QAED,MAAM,MAAM,GAAG,MAAM,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAkE,2BAA2B,EACjJ;YACI,KAAK,EAAE,IAAI,CAAC,iBAAiB;YAC7B,KAAK,EAAE,MAAM;YACb,IAAI,EACJ;gBACI,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,IAAI,SAAS;gBACpD,gBAAgB,EAAE,IAAI,CAAC,kBAAkB,IAAI,EAAE;gBAC/C,iBAAiB,EAAE,IAAI,CAAC,mBAAmB,IAAI,EAAE;gBACjD,UAAU,EAAE,IAAI,CAAC,sBAAsB,IAAI,EAAE;aAChD;SACJ,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;QAElB,IAAG,MAAM,EACT;YACI,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;SACvB;IACL,CAAC;;wHAjGQ,2BAA2B;4GAA3B,2BAA2B;2FAA3B,2BAA2B;kBAJvC,SAAS;mBACV;oBACI,QAAQ,EAAE,gBAAgB;iBAC7B;0GASU,gBAAgB;sBADtB,KAAK;uBAAC,cAAc;gBAOd,iBAAiB;sBADvB,KAAK;gBAOC,mBAAmB;sBADzB,KAAK;gBAOC,kBAAkB;sBADxB,KAAK;gBAOC,sBAAsB;sBAD5B,KAAK;gBAOC,gBAAgB;sBADtB,KAAK;gBAOC,6BAA6B;sBADnC,KAAK;gBASC,OAAO;sBADb,MAAM;gBAcM,KAAK;sBADjB,YAAY;uBAAC,OAAO,EAAE,CAAC,QAAQ,CAAC","sourcesContent":["import {Directive, Input, EventEmitter, Output, HostListener} from '@angular/core';\nimport {lastValueFrom} from 'rxjs';\n\nimport {TitledDialogService} from '../../services/titledDialog/titledDialog.service';\nimport {ConfirmationDialogComponent} from '../../components/confirmationDialog/confirmationDialog.component';\nimport {ConfirmationDialogOptions, ConfirmationDialogCssClasses} from '../../misc/interfaces/confirmationDialog.interface';\n\n/**\n * Directive that enables confirmation dialog on click\n */\n@Directive(\n{\n selector: '[confirmation]'\n})\nexport class ConfirmationDialogDirective\n{\n //######################### public properties - inputs #########################\n\n /**\n * Confirmation text that is displayed in dialog\n */\n @Input('confirmation')\n public confirmationText: string|undefined|null = undefined;\n\n /**\n * Title for confirmation dialog\n */\n @Input()\n public confirmationTitle: string = 'Confirmation';\n\n /**\n * Text for confirm confirmation button\n */\n @Input()\n public confirmationConfirm: string|undefined|null = undefined;\n\n /**\n * Text for cancel confirmation button\n */\n @Input()\n public confirmationCancel: string|undefined|null = undefined;\n\n /**\n * Object with css classes to be applied to confirmation dialog component\n */\n @Input()\n public confirmationCssClasses: ConfirmationDialogCssClasses|undefined|null = undefined;\n\n /**\n * Condidition that determines whether display confirmation dialog or skip it and run confirm directly\n */\n @Input()\n public skipConfirmation: boolean = false;\n\n /**\n * Indication whether prevent default and stop propagation of click event, defaults to true\n */\n @Input()\n public preventDefaultsAndPropagation: boolean = true;\n\n //######################### public properties - outputs #########################\n\n /**\n * Occurs when user confirms confirmation\n */\n @Output()\n public confirm: EventEmitter<void> = new EventEmitter<void>();\n\n //######################### constructor #########################\n constructor(private _dialog: TitledDialogService)\n {\n }\n\n //######################### public methods - host #########################\n\n /**\n * Method called when user clicks on element\n */\n @HostListener('click', ['$event'])\n public async click(event: MouseEvent): Promise<void>\n {\n if(this.preventDefaultsAndPropagation)\n {\n event.stopPropagation();\n event.preventDefault();\n }\n\n if(this.skipConfirmation)\n {\n this.confirm.emit();\n\n return;\n }\n\n const result = await lastValueFrom(this._dialog.open<ConfirmationDialogComponent, ConfirmationDialogOptions, boolean>(ConfirmationDialogComponent,\n {\n title: this.confirmationTitle,\n width: '33vw',\n data:\n {\n confirmationText: this.confirmationText || undefined,\n dialogCancelText: this.confirmationCancel ?? '',\n dialogConfirmText: this.confirmationConfirm ?? '',\n cssClasses: this.confirmationCssClasses ?? {},\n }\n }).afterClosed());\n\n if(result)\n {\n this.confirm.emit();\n }\n }\n}"]}
|
|
@@ -27,9 +27,9 @@ export class DebugDataCopyClickDirective {
|
|
|
27
27
|
this._clipboard.copy(JSON.stringify(this.data, null, 4));
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
DebugDataCopyClickDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
31
|
-
DebugDataCopyClickDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
30
|
+
DebugDataCopyClickDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: DebugDataCopyClickDirective, deps: [{ token: i1.Clipboard }], target: i0.ɵɵFactoryTarget.Directive });
|
|
31
|
+
DebugDataCopyClickDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: DebugDataCopyClickDirective, selector: "debug-data[copyClick]", inputs: { data: ["copyClick", "data"] }, host: { listeners: { "click": "copyData()" }, properties: { "class.clickable": "this.clickable" } }, ngImport: i0 });
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: DebugDataCopyClickDirective, decorators: [{
|
|
33
33
|
type: Directive,
|
|
34
34
|
args: [{
|
|
35
35
|
selector: 'debug-data[copyClick]'
|
|
@@ -10,15 +10,15 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
*/
|
|
11
11
|
export class ConfirmationDialogModule {
|
|
12
12
|
}
|
|
13
|
-
ConfirmationDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
14
|
-
ConfirmationDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
13
|
+
ConfirmationDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ConfirmationDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14
|
+
ConfirmationDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: ConfirmationDialogModule, declarations: [ConfirmationDialogComponent,
|
|
15
15
|
ConfirmationDialogDirective], imports: [CommonModule,
|
|
16
16
|
CommonLocalizeModule,
|
|
17
17
|
TitledDialogModule], exports: [ConfirmationDialogDirective] });
|
|
18
|
-
ConfirmationDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
18
|
+
ConfirmationDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ConfirmationDialogModule, imports: [CommonModule,
|
|
19
19
|
CommonLocalizeModule,
|
|
20
20
|
TitledDialogModule] });
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ConfirmationDialogModule, decorators: [{
|
|
22
22
|
type: NgModule,
|
|
23
23
|
args: [{
|
|
24
24
|
imports: [
|
|
@@ -7,11 +7,11 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
*/
|
|
8
8
|
export class DebugDataCopyClickModule {
|
|
9
9
|
}
|
|
10
|
-
DebugDataCopyClickModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
11
|
-
DebugDataCopyClickModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
10
|
+
DebugDataCopyClickModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: DebugDataCopyClickModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
+
DebugDataCopyClickModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: DebugDataCopyClickModule, declarations: [DebugDataCopyClickDirective], exports: [DebugDataCopyClickDirective,
|
|
12
12
|
DebugDataModule] });
|
|
13
|
-
DebugDataCopyClickModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
13
|
+
DebugDataCopyClickModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: DebugDataCopyClickModule, imports: [DebugDataModule] });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: DebugDataCopyClickModule, decorators: [{
|
|
15
15
|
type: NgModule,
|
|
16
16
|
args: [{
|
|
17
17
|
imports: [],
|
|
@@ -9,16 +9,16 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
*/
|
|
10
10
|
export class MovableTitledDialogModule {
|
|
11
11
|
}
|
|
12
|
-
MovableTitledDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
13
|
-
MovableTitledDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
12
|
+
MovableTitledDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MovableTitledDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
+
MovableTitledDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: MovableTitledDialogModule, declarations: [MovableTitledDialogComponent], imports: [CommonDynamicModule,
|
|
14
14
|
CommonLocalizeModule,
|
|
15
15
|
MatDialogModule,
|
|
16
16
|
DragDropModule] });
|
|
17
|
-
MovableTitledDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
17
|
+
MovableTitledDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MovableTitledDialogModule, imports: [CommonDynamicModule,
|
|
18
18
|
CommonLocalizeModule,
|
|
19
19
|
MatDialogModule,
|
|
20
20
|
DragDropModule] });
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MovableTitledDialogModule, decorators: [{
|
|
22
22
|
type: NgModule,
|
|
23
23
|
args: [{
|
|
24
24
|
imports: [
|