@anglr/common 20.0.0-beta.20240529082303 → 20.0.0-beta.20240530105358
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 +68 -0
- package/es2022/date-fns/src/misc/utils.js.map +1 -1
- package/es2022/floating-ui/src/services/floatingUiDomPosition.service.js +3 -3
- package/es2022/floating-ui/src/services/floatingUiDomPosition.service.js.map +1 -1
- package/es2022/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.js +14 -24
- package/es2022/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.js.map +1 -1
- package/es2022/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.js +4 -24
- package/es2022/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.js.map +1 -1
- package/es2022/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.js +4 -28
- package/es2022/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.js.map +1 -1
- package/es2022/forms/src/directives/groupHasError/groupHasError.directive.js +14 -14
- package/es2022/forms/src/directives/groupHasError/groupHasError.directive.js.map +1 -1
- package/es2022/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.js +5 -4
- package/es2022/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.js.map +1 -1
- package/es2022/forms/src/directives/hasError/hasError.directive.js +72 -111
- package/es2022/forms/src/directives/hasError/hasError.directive.js.map +1 -1
- package/es2022/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +7 -21
- package/es2022/forms/src/directives/numberInput/maxValueNumberValidator.directive.js.map +1 -1
- package/es2022/forms/src/directives/numberInput/minValueNumberValidator.directive.js +7 -21
- package/es2022/forms/src/directives/numberInput/minValueNumberValidator.directive.js.map +1 -1
- package/es2022/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +13 -15
- package/es2022/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js.map +1 -1
- package/es2022/forms/src/directives/numberInput/numberInputValidator.directive.js +3 -3
- package/es2022/forms/src/directives/numberInput/numberInputValidator.directive.js.map +1 -1
- package/es2022/forms/src/directives/requiredClass/requiredClass.directive.js +32 -27
- package/es2022/forms/src/directives/requiredClass/requiredClass.directive.js.map +1 -1
- package/es2022/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.js +5 -4
- package/es2022/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.js.map +1 -1
- package/es2022/forms/src/index.js +0 -1
- package/es2022/forms/src/index.js.map +1 -1
- package/es2022/forms/src/misc/formModel/decorators/formGroupAsyncValidator.decorator.js.map +1 -1
- package/es2022/forms/src/misc/formModel/decorators/formGroupValidator.decorator.js.map +1 -1
- package/es2022/forms/src/misc/formModel/decorators/invalidateOnChange.decorator.js.map +1 -1
- package/es2022/forms/src/misc/formModel/decorators/modelPropertyMetadata.decorator.js.map +1 -1
- package/es2022/forms/src/misc/formModel/decorators/requiredIf.decorator.js.map +1 -1
- package/es2022/forms/src/misc/formModel/misc/currentValue.js +0 -1
- package/es2022/forms/src/misc/formModel/misc/currentValue.js.map +1 -1
- package/es2022/forms/src/misc/formModel/misc/utils.js.map +1 -1
- package/es2022/forms/src/misc/formModel/misc/validatorFactories.js +0 -4
- package/es2022/forms/src/misc/formModel/misc/validatorFactories.js.map +1 -1
- package/es2022/forms/src/misc/utils.js.map +1 -1
- package/es2022/forms/src/misc/validationErrorsContainerView.js +7 -9
- package/es2022/forms/src/misc/validationErrorsContainerView.js.map +1 -1
- package/es2022/forms/src/misc/validators.js.map +1 -1
- package/es2022/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js +7 -29
- package/es2022/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js.map +1 -1
- package/es2022/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js +8 -20
- package/es2022/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.js.map +1 -1
- package/es2022/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js +3 -4
- package/es2022/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.js.map +1 -1
- package/es2022/forms/src/modules/errorMessage/modules/errorMessage.module.js +6 -6
- package/es2022/forms/src/modules/errorMessage/modules/errorMessage.module.js.map +1 -1
- package/es2022/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js +3 -4
- package/es2022/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.js.map +1 -1
- package/es2022/forms/src/modules/formPipes/modules/formPipes.module.js +5 -5
- package/es2022/forms/src/modules/formPipes/modules/formPipes.module.js.map +1 -1
- package/es2022/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js +3 -4
- package/es2022/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js.map +1 -1
- package/es2022/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js +3 -4
- package/es2022/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js.map +1 -1
- package/es2022/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js +3 -4
- package/es2022/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js.map +1 -1
- package/es2022/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js +3 -3
- package/es2022/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js.map +1 -1
- package/es2022/forms/src/modules/hasError.module.js +6 -17
- package/es2022/forms/src/modules/hasError.module.js.map +1 -1
- package/es2022/forms/src/modules/numberInput.module.js +5 -5
- package/es2022/forms/src/modules/numberInput.module.js.map +1 -1
- package/es2022/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +3 -10
- package/es2022/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js.map +1 -1
- package/es2022/forms/src/services/formModelBuilder/formModelBuilder.service.js +3 -4
- package/es2022/forms/src/services/formModelBuilder/formModelBuilder.service.js.map +1 -1
- package/es2022/forms/src/services/submitted/submitted.service.js +14 -12
- package/es2022/forms/src/services/submitted/submitted.service.js.map +1 -1
- package/es2022/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +3 -24
- package/es2022/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js.map +1 -1
- package/es2022/hotkeys/src/components/cheatSheet/cheatSheet.component.js +18 -21
- package/es2022/hotkeys/src/components/cheatSheet/cheatSheet.component.js.map +1 -1
- package/es2022/hotkeys/src/services/appHotkeys.service.js +20 -26
- package/es2022/hotkeys/src/services/appHotkeys.service.js.map +1 -1
- package/es2022/material/src/components/confirmationDialog/confirmationDialog.component.js +3 -10
- package/es2022/material/src/components/confirmationDialog/confirmationDialog.component.js.map +1 -1
- package/es2022/material/src/components/movableTitledDialog/movableTitledDialog.component.js +3 -3
- package/es2022/material/src/components/movableTitledDialog/movableTitledDialog.component.js.map +1 -1
- package/es2022/material/src/components/titledDialog/titledDialog.component.js +3 -10
- package/es2022/material/src/components/titledDialog/titledDialog.component.js.map +1 -1
- package/es2022/material/src/directives/confirmationDialog/confirmationDialog.directive.js +37 -38
- package/es2022/material/src/directives/confirmationDialog/confirmationDialog.directive.js.map +1 -1
- package/es2022/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +10 -16
- package/es2022/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js.map +1 -1
- package/es2022/material/src/modules/confirmationDialog.module.js +6 -6
- package/es2022/material/src/modules/confirmationDialog.module.js.map +1 -1
- package/es2022/material/src/modules/debugDataCopyClick.module.js +5 -5
- package/es2022/material/src/modules/debugDataCopyClick.module.js.map +1 -1
- package/es2022/material/src/modules/movableTitledDialog.module.js +6 -6
- package/es2022/material/src/modules/movableTitledDialog.module.js.map +1 -1
- package/es2022/material/src/modules/titledDialog.module.js +6 -6
- package/es2022/material/src/modules/titledDialog.module.js.map +1 -1
- package/es2022/material/src/services/titledDialog/titledDialog.service.js +3 -5
- package/es2022/material/src/services/titledDialog/titledDialog.service.js.map +1 -1
- package/es2022/material/src/services/titledDialog/titledDialogService.options.js +5 -5
- package/es2022/material/src/services/titledDialog/titledDialogService.options.js.map +1 -1
- package/es2022/moment/src/misc/utils.js.map +1 -1
- package/es2022/moment/src/modules/moment.module.js +5 -5
- package/es2022/moment/src/modules/moment.module.js.map +1 -1
- package/es2022/moment/src/pipes/momentConvert/momentConvert.pipe.js +3 -3
- package/es2022/moment/src/pipes/momentConvert/momentConvert.pipe.js.map +1 -1
- package/es2022/moment/src/pipes/momentFormat/momentFormat.pipe.js +3 -3
- package/es2022/moment/src/pipes/momentFormat/momentFormat.pipe.js.map +1 -1
- package/es2022/router/src/decorators/componentRedirectRoute.decorator.js.map +1 -1
- package/es2022/router/src/decorators/componentRoute.decorator.js.map +1 -1
- package/es2022/router/src/decorators/moduleRoutes.decorator.js.map +1 -1
- package/es2022/router/src/misc/utils.js.map +1 -1
- package/es2022/router/src/services/routing/dataRouter.js +16 -17
- package/es2022/router/src/services/routing/dataRouter.js.map +1 -1
- package/es2022/router/src/services/routing/dataRouterData.js +3 -8
- package/es2022/router/src/services/routing/dataRouterData.js.map +1 -1
- package/es2022/src/components/collapsibleIcon/collapsibleIcon.component.js +20 -22
- package/es2022/src/components/collapsibleIcon/collapsibleIcon.component.js.map +1 -1
- package/es2022/src/components/collapsibleTitle/collapsibleTitle.component.js +18 -20
- package/es2022/src/components/collapsibleTitle/collapsibleTitle.component.js.map +1 -1
- package/es2022/src/decorators/asSignal/asSignal.decorator.js.map +1 -1
- package/es2022/src/decorators/componentHostStyle/componentHostStyle.decorator.js.map +1 -1
- package/es2022/src/decorators/typeProvider/typeProvider.decorator.js.map +1 -1
- package/es2022/src/directives/bodyRender/bodyRender.directive.js +4 -23
- package/es2022/src/directives/bodyRender/bodyRender.directive.js.map +1 -1
- package/es2022/src/directives/clickOutside/clickOutside.directive.js +27 -39
- package/es2022/src/directives/clickOutside/clickOutside.directive.js.map +1 -1
- package/es2022/src/directives/ellipsisTooltip/ellipsisTooltip.directive.js +33 -48
- package/es2022/src/directives/ellipsisTooltip/ellipsisTooltip.directive.js.map +1 -1
- package/es2022/src/directives/goBack/goBack.directive.js +4 -5
- package/es2022/src/directives/goBack/goBack.directive.js.map +1 -1
- package/es2022/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +13 -27
- package/es2022/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js.map +1 -1
- package/es2022/src/directives/positionTo/positionTo.directive.js +20 -45
- package/es2022/src/directives/positionTo/positionTo.directive.js.map +1 -1
- package/es2022/src/modules/castPipes/modules/castPipes.module.js +5 -5
- package/es2022/src/modules/castPipes/modules/castPipes.module.js.map +1 -1
- package/es2022/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.js +3 -3
- package/es2022/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.js.map +1 -1
- package/es2022/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.js +3 -3
- package/es2022/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.js.map +1 -1
- package/es2022/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js +3 -3
- package/es2022/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js.map +1 -1
- package/es2022/src/modules/castPipes/pipes/castType/castType.pipe.js +8 -9
- package/es2022/src/modules/castPipes/pipes/castType/castType.pipe.js.map +1 -1
- package/es2022/src/modules/commonDynamic.module.js +4 -4
- package/es2022/src/modules/commonDynamic.module.js.map +1 -1
- package/es2022/src/modules/commonLocalize.module.js +4 -4
- package/es2022/src/modules/commonLocalize.module.js.map +1 -1
- package/es2022/src/modules/commonUtils.module.js +21 -21
- package/es2022/src/modules/commonUtils.module.js.map +1 -1
- package/es2022/src/modules/debugData/components/debugData/debugData.component.js +3 -5
- package/es2022/src/modules/debugData/components/debugData/debugData.component.js.map +1 -1
- package/es2022/src/modules/debugData/modules/debugData.module.js +4 -4
- package/es2022/src/modules/debugData/modules/debugData.module.js.map +1 -1
- package/es2022/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js +10 -8
- package/es2022/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js.map +1 -1
- package/es2022/src/modules/logger/components/console/console.component.js +16 -23
- package/es2022/src/modules/logger/components/console/console.component.js.map +1 -1
- package/es2022/src/modules/logger/decorators/loggerSink.decorator.js.map +1 -1
- package/es2022/src/modules/logger/misc/utils.js.map +1 -1
- package/es2022/src/modules/logger/services/console/consoleComponent.service.js +18 -16
- package/es2022/src/modules/logger/services/console/consoleComponent.service.js.map +1 -1
- package/es2022/src/modules/logger/services/console/consoleComponent.sink.js +7 -5
- package/es2022/src/modules/logger/services/console/consoleComponent.sink.js.map +1 -1
- package/es2022/src/modules/logger/services/console/consoleComponentService.options.js +8 -8
- package/es2022/src/modules/logger/services/console/consoleComponentService.options.js.map +1 -1
- package/es2022/src/modules/logger/services/developmentConsoleSink/developmentConsole.sink.js.map +1 -1
- package/es2022/src/modules/logger/services/logLevelEnricher/logLevelEnricher.enricher.js.map +1 -1
- package/es2022/src/modules/logger/services/logger/logger.service.js +3 -4
- package/es2022/src/modules/logger/services/logger/logger.service.js.map +1 -1
- package/es2022/src/modules/logger/services/rest/rest.sink.js +17 -21
- package/es2022/src/modules/logger/services/rest/rest.sink.js.map +1 -1
- package/es2022/src/modules/logger/services/rest/restSink.options.js +16 -16
- package/es2022/src/modules/logger/services/rest/restSink.options.js.map +1 -1
- package/es2022/src/modules/logger/services/subLoggerSink/subLogger.sink.js +0 -1
- package/es2022/src/modules/logger/services/subLoggerSink/subLogger.sink.js.map +1 -1
- package/es2022/src/modules/logger/types/loggerConfiguration.js +8 -17
- package/es2022/src/modules/logger/types/loggerConfiguration.js.map +1 -1
- package/es2022/src/modules/logger/types/loggerOptions.js +30 -28
- package/es2022/src/modules/logger/types/loggerOptions.js.map +1 -1
- package/es2022/src/modules/logger/types/messageLog.js +5 -18
- package/es2022/src/modules/logger/types/messageLog.js.map +1 -1
- package/es2022/src/modules/multiButton/components/multiButton/multiButton.component.js +33 -46
- package/es2022/src/modules/multiButton/components/multiButton/multiButton.component.js.map +1 -1
- package/es2022/src/modules/multiButton/modules/multiButton.module.js +4 -4
- package/es2022/src/modules/multiButton/modules/multiButton.module.js.map +1 -1
- package/es2022/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js +9 -21
- package/es2022/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js.map +1 -1
- package/es2022/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js +7 -45
- package/es2022/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js.map +1 -1
- package/es2022/src/modules/progressIndicator/interceptors/progressInterceptor.js +3 -4
- package/es2022/src/modules/progressIndicator/interceptors/progressInterceptor.js.map +1 -1
- package/es2022/src/modules/progressIndicator/modules/progressIndicator.module.js +6 -6
- package/es2022/src/modules/progressIndicator/modules/progressIndicator.module.js.map +1 -1
- package/es2022/src/modules/progressIndicator/services/progressIndicator.service.js +29 -30
- package/es2022/src/modules/progressIndicator/services/progressIndicator.service.js.map +1 -1
- package/es2022/src/modules/progressIndicator/services/progressIndicatorOptions.js +9 -9
- package/es2022/src/modules/progressIndicator/services/progressIndicatorOptions.js.map +1 -1
- package/es2022/src/modules/tooltip/components/tooltip/tooltip.component.js +16 -31
- package/es2022/src/modules/tooltip/components/tooltip/tooltip.component.js.map +1 -1
- package/es2022/src/modules/tooltip/directives/tooltip/tooltip.directive.js +20 -77
- package/es2022/src/modules/tooltip/directives/tooltip/tooltip.directive.js.map +1 -1
- package/es2022/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js +3 -4
- package/es2022/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js.map +1 -1
- package/es2022/src/modules/tooltip/modules/tooltip.module.js +5 -5
- package/es2022/src/modules/tooltip/modules/tooltip.module.js.map +1 -1
- package/es2022/src/pipes/displayProperties/displayProperties.pipe.js +4 -4
- package/es2022/src/pipes/displayProperties/displayProperties.pipe.js.map +1 -1
- package/es2022/src/pipes/firstUppercase/firstUppercase.pipe.js +3 -3
- package/es2022/src/pipes/firstUppercase/firstUppercase.pipe.js.map +1 -1
- package/es2022/src/pipes/firstUppercaseLocalize/firstUppercaseLocalize.pipe.js +3 -18
- package/es2022/src/pipes/firstUppercaseLocalize/firstUppercaseLocalize.pipe.js.map +1 -1
- package/es2022/src/pipes/index.js +1 -0
- package/es2022/src/pipes/index.js.map +1 -1
- package/es2022/src/pipes/isNaN/isNaN.pipe.js +4 -4
- package/es2022/src/pipes/isNaN/isNaN.pipe.js.map +1 -1
- package/es2022/src/pipes/isPresent/isPresent.pipe.js +4 -4
- package/es2022/src/pipes/isPresent/isPresent.pipe.js.map +1 -1
- package/es2022/src/pipes/keys/keys.pipe.js +4 -4
- package/es2022/src/pipes/keys/keys.pipe.js.map +1 -1
- package/es2022/src/pipes/localize/localize.pipe.js +3 -10
- package/es2022/src/pipes/localize/localize.pipe.js.map +1 -1
- package/es2022/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +3 -3
- package/es2022/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js.map +1 -1
- package/es2022/{numeral/src/pipes → src/pipes/numeral}/numeral.pipe.js +8 -15
- package/es2022/src/pipes/numeral/numeral.pipe.js.map +1 -0
- package/es2022/src/pipes/trimText/trimText.pipe.js +3 -3
- package/es2022/src/pipes/trimText/trimText.pipe.js.map +1 -1
- package/es2022/src/pipes/urlEncode/urlEncode.pipe.js +4 -4
- package/es2022/src/pipes/urlEncode/urlEncode.pipe.js.map +1 -1
- package/es2022/src/services/cookies/cookies.service.js +8 -9
- package/es2022/src/services/cookies/cookies.service.js.map +1 -1
- package/es2022/src/services/notifications/defaultNotifications.service.js +24 -25
- package/es2022/src/services/notifications/defaultNotifications.service.js.map +1 -1
- package/es2022/src/services/notifications/notifications.interface.js +0 -3
- package/es2022/src/services/notifications/notifications.interface.js.map +1 -1
- package/es2022/src/services/notifications/notificationsOptions.js +5 -5
- package/es2022/src/services/notifications/notificationsOptions.js.map +1 -1
- package/es2022/src/services/permanentStorage/cookiePermanentStorage.service.js +3 -4
- package/es2022/src/services/permanentStorage/cookiePermanentStorage.service.js.map +1 -1
- package/es2022/src/services/position/position.interface.js.map +1 -1
- package/es2022/src/services/statusCode/statusCode.service.js +3 -8
- package/es2022/src/services/statusCode/statusCode.service.js.map +1 -1
- package/es2022/src/services/stringLocalization/noStringLocalization.service.js +10 -8
- package/es2022/src/services/stringLocalization/noStringLocalization.service.js.map +1 -1
- package/es2022/src/services/temporaryStorage/memoryTemporaryStorage.service.js +10 -8
- package/es2022/src/services/temporaryStorage/memoryTemporaryStorage.service.js.map +1 -1
- package/es2022/src/utils/index.js.map +1 -1
- package/es2022/store/src/services/permanentStorage/localPermanentStorage.service.js +3 -3
- package/es2022/store/src/services/permanentStorage/localPermanentStorage.service.js.map +1 -1
- package/es2022/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +3 -3
- package/es2022/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js.map +1 -1
- package/floating-ui/src/services/floatingUiDomPosition.service.d.ts +5 -5
- package/floating-ui/src/services/floatingUiDomPosition.service.d.ts.map +1 -1
- package/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.d.ts +1 -1
- package/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.d.ts.map +1 -1
- package/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.html +9 -3
- package/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.d.ts +1 -1
- package/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.d.ts.map +1 -1
- package/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.d.ts +1 -1
- package/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.d.ts.map +1 -1
- package/forms/src/directives/groupHasError/groupHasError.directive.d.ts +1 -1
- package/forms/src/directives/groupHasError/groupHasError.directive.d.ts.map +1 -1
- package/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.d.ts +1 -1
- package/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.d.ts.map +1 -1
- package/forms/src/directives/hasError/hasError.directive.d.ts +24 -32
- package/forms/src/directives/hasError/hasError.directive.d.ts.map +1 -1
- package/forms/src/directives/requiredClass/requiredClass.directive.d.ts +14 -12
- package/forms/src/directives/requiredClass/requiredClass.directive.d.ts.map +1 -1
- package/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.d.ts +1 -1
- package/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.d.ts.map +1 -1
- package/forms/src/index.d.ts +0 -1
- package/forms/src/index.d.ts.map +1 -1
- package/forms/src/modules/hasError.module.d.ts +1 -5
- package/forms/src/modules/hasError.module.d.ts.map +1 -1
- package/hotkeys/src/components/cheatSheet/cheatSheet.component.d.ts +3 -3
- package/hotkeys/src/components/cheatSheet/cheatSheet.component.d.ts.map +1 -1
- package/hotkeys/src/components/cheatSheet/cheatSheet.component.html +13 -7
- package/lerna.json +4 -0
- package/package.json +54 -57
- package/readme.md +0 -1
- package/router/src/decorators/moduleRoutes.decorator.d.ts.map +1 -1
- package/src/components/collapsibleIcon/collapsibleIcon.component.d.ts +3 -3
- package/src/components/collapsibleIcon/collapsibleIcon.component.d.ts.map +1 -1
- package/src/components/collapsibleTitle/collapsibleTitle.component.d.ts +3 -3
- package/src/components/collapsibleTitle/collapsibleTitle.component.d.ts.map +1 -1
- package/src/directives/bodyRender/bodyRender.directive.d.ts +3 -3
- package/src/directives/bodyRender/bodyRender.directive.d.ts.map +1 -1
- package/src/directives/ellipsisTooltip/ellipsisTooltip.directive.d.ts +3 -3
- package/src/directives/ellipsisTooltip/ellipsisTooltip.directive.d.ts.map +1 -1
- package/src/directives/goBack/goBack.directive.d.ts +3 -3
- package/src/directives/goBack/goBack.directive.d.ts.map +1 -1
- package/src/directives/positionTo/positionTo.directive.d.ts +2 -2
- package/src/directives/positionTo/positionTo.directive.d.ts.map +1 -1
- package/src/modules/commonUtils.module.d.ts +1 -1
- package/src/modules/tooltip/directives/tooltip/tooltip.directive.d.ts +3 -3
- package/src/modules/tooltip/directives/tooltip/tooltip.directive.d.ts.map +1 -1
- package/src/pipes/displayProperties/displayProperties.pipe.d.ts +3 -3
- package/src/pipes/displayProperties/displayProperties.pipe.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/isNaN/isNaN.pipe.d.ts +3 -3
- package/src/pipes/isNaN/isNaN.pipe.d.ts.map +1 -1
- package/src/pipes/isPresent/isPresent.pipe.d.ts +3 -3
- package/src/pipes/isPresent/isPresent.pipe.d.ts.map +1 -1
- package/src/pipes/keys/keys.pipe.d.ts +3 -3
- package/src/pipes/keys/keys.pipe.d.ts.map +1 -1
- package/{numeral/src/pipes → src/pipes/numeral}/numeral.pipe.d.ts +4 -4
- package/{numeral/src/pipes → src/pipes/numeral}/numeral.pipe.d.ts.map +1 -1
- package/src/pipes/urlEncode/urlEncode.pipe.d.ts +3 -3
- package/src/pipes/urlEncode/urlEncode.pipe.d.ts.map +1 -1
- package/src/services/position/position.interface.d.ts +10 -10
- package/src/services/position/position.interface.d.ts.map +1 -1
- package/version.bak +1 -1
- package/es2022/forms/src/modules/requiredClass.module.js +0 -19
- package/es2022/forms/src/modules/requiredClass.module.js.map +0 -1
- package/es2022/numeral/src/index.js +0 -2
- package/es2022/numeral/src/index.js.map +0 -1
- package/es2022/numeral/src/pipes/numeral.pipe.js.map +0 -1
- package/forms/src/modules/requiredClass.module.d.ts +0 -11
- package/forms/src/modules/requiredClass.module.d.ts.map +0 -1
- package/numeral/package.json +0 -8
- package/numeral/src/index.d.ts +0 -2
- package/numeral/src/index.d.ts.map +0 -1
|
@@ -8,44 +8,43 @@ import * as i1 from "../../services/titledDialog/titledDialog.service";
|
|
|
8
8
|
* Directive that enables confirmation dialog on click
|
|
9
9
|
*/
|
|
10
10
|
export class ConfirmationDialogDirective {
|
|
11
|
-
_dialog;
|
|
12
|
-
//######################### public properties - inputs #########################
|
|
13
|
-
/**
|
|
14
|
-
* Confirmation text that is displayed in dialog
|
|
15
|
-
*/
|
|
16
|
-
confirmationText = undefined;
|
|
17
|
-
/**
|
|
18
|
-
* Title for confirmation dialog
|
|
19
|
-
*/
|
|
20
|
-
confirmationTitle = 'Confirmation';
|
|
21
|
-
/**
|
|
22
|
-
* Text for confirm confirmation button
|
|
23
|
-
*/
|
|
24
|
-
confirmationConfirm = undefined;
|
|
25
|
-
/**
|
|
26
|
-
* Text for cancel confirmation button
|
|
27
|
-
*/
|
|
28
|
-
confirmationCancel = undefined;
|
|
29
|
-
/**
|
|
30
|
-
* Object with css classes to be applied to confirmation dialog component
|
|
31
|
-
*/
|
|
32
|
-
confirmationCssClasses = undefined;
|
|
33
|
-
/**
|
|
34
|
-
* Condidition that determines whether display confirmation dialog or skip it and run confirm directly
|
|
35
|
-
*/
|
|
36
|
-
skipConfirmation = false;
|
|
37
|
-
/**
|
|
38
|
-
* Indication whether prevent default and stop propagation of click event, defaults to true
|
|
39
|
-
*/
|
|
40
|
-
preventDefaultsAndPropagation = true;
|
|
41
|
-
//######################### public properties - outputs #########################
|
|
42
|
-
/**
|
|
43
|
-
* Occurs when user confirms confirmation
|
|
44
|
-
*/
|
|
45
|
-
confirm = new EventEmitter();
|
|
46
11
|
//######################### constructor #########################
|
|
47
12
|
constructor(_dialog) {
|
|
48
13
|
this._dialog = _dialog;
|
|
14
|
+
//######################### public properties - inputs #########################
|
|
15
|
+
/**
|
|
16
|
+
* Confirmation text that is displayed in dialog
|
|
17
|
+
*/
|
|
18
|
+
this.confirmationText = undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Title for confirmation dialog
|
|
21
|
+
*/
|
|
22
|
+
this.confirmationTitle = 'Confirmation';
|
|
23
|
+
/**
|
|
24
|
+
* Text for confirm confirmation button
|
|
25
|
+
*/
|
|
26
|
+
this.confirmationConfirm = undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Text for cancel confirmation button
|
|
29
|
+
*/
|
|
30
|
+
this.confirmationCancel = undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Object with css classes to be applied to confirmation dialog component
|
|
33
|
+
*/
|
|
34
|
+
this.confirmationCssClasses = undefined;
|
|
35
|
+
/**
|
|
36
|
+
* Condidition that determines whether display confirmation dialog or skip it and run confirm directly
|
|
37
|
+
*/
|
|
38
|
+
this.skipConfirmation = false;
|
|
39
|
+
/**
|
|
40
|
+
* Indication whether prevent default and stop propagation of click event, defaults to true
|
|
41
|
+
*/
|
|
42
|
+
this.preventDefaultsAndPropagation = true;
|
|
43
|
+
//######################### public properties - outputs #########################
|
|
44
|
+
/**
|
|
45
|
+
* Occurs when user confirms confirmation
|
|
46
|
+
*/
|
|
47
|
+
this.confirm = new EventEmitter();
|
|
49
48
|
}
|
|
50
49
|
//######################### public methods - host #########################
|
|
51
50
|
/**
|
|
@@ -74,10 +73,10 @@ export class ConfirmationDialogDirective {
|
|
|
74
73
|
this.confirm.emit();
|
|
75
74
|
}
|
|
76
75
|
}
|
|
77
|
-
static
|
|
78
|
-
static
|
|
76
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ConfirmationDialogDirective, deps: [{ token: i1.TitledDialogService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
77
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: ConfirmationDialogDirective, isStandalone: true, 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
78
|
}
|
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ConfirmationDialogDirective, decorators: [{
|
|
81
80
|
type: Directive,
|
|
82
81
|
args: [{
|
|
83
82
|
selector: '[confirmation]',
|
package/es2022/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;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;AAMH,MAAM,OAAO,2BAA2B;
|
|
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;AAMH,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,CAAC;YACG,KAAK,CAAC,eAAe,EAAE,CAAC;YACxB,KAAK,CAAC,cAAc,EAAE,CAAC;QAC3B,CAAC;QAED,IAAG,IAAI,CAAC,gBAAgB,EACxB,CAAC;YACG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YAEpB,OAAO;QACX,CAAC;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,SAAS;gBACtD,iBAAiB,EAAE,IAAI,CAAC,mBAAmB,IAAI,SAAS;gBACxD,UAAU,EAAE,IAAI,CAAC,sBAAsB,IAAI,EAAE;aAChD;SACJ,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;QAElB,IAAG,MAAM,EACT,CAAC;YACG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;IACL,CAAC;8GAjGQ,2BAA2B;kGAA3B,2BAA2B;;2FAA3B,2BAA2B;kBALvC,SAAS;mBACV;oBACI,QAAQ,EAAE,gBAAgB;oBAC1B,UAAU,EAAE,IAAI;iBACnB;wFASU,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 standalone: true,\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 ?? undefined,\n dialogConfirmText: this.confirmationConfirm ?? undefined,\n cssClasses: this.confirmationCssClasses ?? {},\n }\n }).afterClosed());\n\n if(result)\n {\n this.confirm.emit();\n }\n }\n}"]}
|
|
@@ -6,22 +6,16 @@ import * as i1 from "@angular/cdk/clipboard";
|
|
|
6
6
|
* Directive that allows to copy data to clipboard on click on debug-data
|
|
7
7
|
*/
|
|
8
8
|
export class DebugDataCopyClickDirective {
|
|
9
|
-
_clipboard;
|
|
10
|
-
//######################### public properties - inputs #########################
|
|
11
|
-
/**
|
|
12
|
-
* Data to be copied as serialized json
|
|
13
|
-
*/
|
|
14
|
-
data;
|
|
15
|
-
//######################### public properties - host #########################
|
|
16
|
-
/**
|
|
17
|
-
* Adds css class clickable to this element
|
|
18
|
-
*
|
|
19
|
-
* @internal
|
|
20
|
-
*/
|
|
21
|
-
clickable = true;
|
|
22
9
|
//######################### constructor #########################
|
|
23
10
|
constructor(_clipboard) {
|
|
24
11
|
this._clipboard = _clipboard;
|
|
12
|
+
//######################### public properties - host #########################
|
|
13
|
+
/**
|
|
14
|
+
* Adds css class clickable to this element
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
this.clickable = true;
|
|
25
19
|
}
|
|
26
20
|
//######################### public methods - host #########################
|
|
27
21
|
/**
|
|
@@ -32,10 +26,10 @@ export class DebugDataCopyClickDirective {
|
|
|
32
26
|
copyData() {
|
|
33
27
|
this._clipboard.copy(JSON.stringify(this.data, null, 4));
|
|
34
28
|
}
|
|
35
|
-
static
|
|
36
|
-
static
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: DebugDataCopyClickDirective, deps: [{ token: i1.Clipboard }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
30
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: DebugDataCopyClickDirective, isStandalone: true, selector: "debug-data[copyClick]", inputs: { data: ["copyClick", "data"] }, host: { listeners: { "click": "copyData()" }, properties: { "class.clickable": "this.clickable" } }, ngImport: i0 }); }
|
|
37
31
|
}
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: DebugDataCopyClickDirective, decorators: [{
|
|
39
33
|
type: Directive,
|
|
40
34
|
args: [{
|
|
41
35
|
selector: 'debug-data[copyClick]',
|
package/es2022/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debugDataCopyClick.directive.js","sourceRoot":"","sources":["../../../../../material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,KAAK,EAAC,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;;;AAEjD;;GAEG;AAMH,MAAM,OAAO,2BAA2B;
|
|
1
|
+
{"version":3,"file":"debugDataCopyClick.directive.js","sourceRoot":"","sources":["../../../../../material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,KAAK,EAAC,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;;;AAEjD;;GAEG;AAMH,MAAM,OAAO,2BAA2B;IAoBpC,iEAAiE;IACjE,YAAsB,UAAqB;QAArB,eAAU,GAAV,UAAU,CAAW;QAX3C,8EAA8E;QAE9E;;;;WAIG;QAEI,cAAS,GAAY,IAAI,CAAC;IAKjC,CAAC;IAED,2EAA2E;IAE3E;;;;OAIG;IAEI,QAAQ;QAEX,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IAC7D,CAAC;8GApCQ,2BAA2B;kGAA3B,2BAA2B;;2FAA3B,2BAA2B;kBALvC,SAAS;mBACV;oBACI,QAAQ,EAAE,uBAAuB;oBACjC,UAAU,EAAE,IAAI;iBACnB;8EASU,IAAI;sBADV,KAAK;uBAAC,WAAW;gBAWX,SAAS;sBADf,WAAW;uBAAC,iBAAiB;gBAgBvB,QAAQ;sBADd,YAAY;uBAAC,OAAO","sourcesContent":["import {Directive, HostBinding, HostListener, Input} from '@angular/core';\nimport {Clipboard} from '@angular/cdk/clipboard';\n\n/**\n * Directive that allows to copy data to clipboard on click on debug-data\n */\n@Directive(\n{\n selector: 'debug-data[copyClick]',\n standalone: true,\n})\nexport class DebugDataCopyClickDirective\n{\n //######################### public properties - inputs #########################\n\n /**\n * Data to be copied as serialized json\n */\n @Input('copyClick')\n public data: unknown;\n\n //######################### public properties - host #########################\n\n /**\n * Adds css class clickable to this element\n * \n * @internal\n */\n @HostBinding('class.clickable')\n public clickable: boolean = true;\n\n //######################### constructor #########################\n constructor(protected _clipboard: Clipboard)\n {\n }\n\n //######################### public methods - host #########################\n\n /**\n * Copies data to clipboard on click\n * \n * @internal\n */\n @HostListener('click')\n public copyData(): void\n {\n this._clipboard.copy(JSON.stringify(this.data, null, 4));\n }\n}"]}
|
|
@@ -9,16 +9,16 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
* Module containing confirmation dialog component and directive
|
|
10
10
|
*/
|
|
11
11
|
export class ConfirmationDialogModule {
|
|
12
|
-
static
|
|
13
|
-
static
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ConfirmationDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
13
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.1", ngImport: i0, type: ConfirmationDialogModule, declarations: [ConfirmationDialogComponent], imports: [CommonModule,
|
|
14
14
|
CommonLocalizeModule,
|
|
15
15
|
TitledDialogModule,
|
|
16
|
-
ConfirmationDialogDirective], exports: [ConfirmationDialogDirective] });
|
|
17
|
-
static
|
|
16
|
+
ConfirmationDialogDirective], exports: [ConfirmationDialogDirective] }); }
|
|
17
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ConfirmationDialogModule, imports: [CommonModule,
|
|
18
18
|
CommonLocalizeModule,
|
|
19
|
-
TitledDialogModule] });
|
|
19
|
+
TitledDialogModule] }); }
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ConfirmationDialogModule, decorators: [{
|
|
22
22
|
type: NgModule,
|
|
23
23
|
args: [{
|
|
24
24
|
imports: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirmationDialog.module.js","sourceRoot":"","sources":["../../../../material/src/modules/confirmationDialog.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,oBAAoB,EAAC,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAC,2BAA2B,EAAC,MAAM,+DAA+D,CAAC;AAC1G,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAC,2BAA2B,EAAC,MAAM,+DAA+D,CAAC;;AAE1G;;GAEG;AAmBH,MAAM,OAAO,wBAAwB;
|
|
1
|
+
{"version":3,"file":"confirmationDialog.module.js","sourceRoot":"","sources":["../../../../material/src/modules/confirmationDialog.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,oBAAoB,EAAC,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAC,2BAA2B,EAAC,MAAM,+DAA+D,CAAC;AAC1G,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAC,2BAA2B,EAAC,MAAM,+DAA+D,CAAC;;AAE1G;;GAEG;AAmBH,MAAM,OAAO,wBAAwB;8GAAxB,wBAAwB;+GAAxB,wBAAwB,iBAP7B,2BAA2B,aAP3B,YAAY;YACZ,oBAAoB;YACpB,kBAAkB;YAClB,2BAA2B,aAQ3B,2BAA2B;+GAGtB,wBAAwB,YAd7B,YAAY;YACZ,oBAAoB;YACpB,kBAAkB;;2FAYb,wBAAwB;kBAlBpC,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,YAAY;wBACZ,oBAAoB;wBACpB,kBAAkB;wBAClB,2BAA2B;qBAC9B;oBACD,YAAY,EACZ;wBACI,2BAA2B;qBAC9B;oBACD,OAAO,EACP;wBACI,2BAA2B;qBAC9B;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {CommonLocalizeModule} from '@anglr/common';\n\nimport {ConfirmationDialogComponent} from '../components/confirmationDialog/confirmationDialog.component';\nimport {TitledDialogModule} from './titledDialog.module';\nimport {ConfirmationDialogDirective} from '../directives/confirmationDialog/confirmationDialog.directive';\n\n/**\n * Module containing confirmation dialog component and directive\n */\n@NgModule(\n{\n imports:\n [\n CommonModule,\n CommonLocalizeModule,\n TitledDialogModule,\n ConfirmationDialogDirective,\n ],\n declarations:\n [\n ConfirmationDialogComponent,\n ],\n exports:\n [\n ConfirmationDialogDirective,\n ]\n})\nexport class ConfirmationDialogModule\n{\n}"]}
|
|
@@ -6,13 +6,13 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
* Module for debug data copy click directive
|
|
7
7
|
*/
|
|
8
8
|
export class DebugDataCopyClickModule {
|
|
9
|
-
static
|
|
10
|
-
static
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: DebugDataCopyClickModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.1", ngImport: i0, type: DebugDataCopyClickModule, imports: [DebugDataComponent,
|
|
11
11
|
DebugDataCopyClickDirective], exports: [DebugDataCopyClickDirective,
|
|
12
|
-
DebugDataComponent] });
|
|
13
|
-
static
|
|
12
|
+
DebugDataComponent] }); }
|
|
13
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: DebugDataCopyClickModule }); }
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: DebugDataCopyClickModule, decorators: [{
|
|
16
16
|
type: NgModule,
|
|
17
17
|
args: [{
|
|
18
18
|
imports: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debugDataCopyClick.module.js","sourceRoot":"","sources":["../../../../material/src/modules/debugDataCopyClick.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,kBAAkB,EAAC,MAAM,eAAe,CAAC;AAEjD,OAAO,EAAC,2BAA2B,EAAC,MAAM,+DAA+D,CAAC;;AAE1G;;GAEG;AAcH,MAAM,OAAO,wBAAwB;
|
|
1
|
+
{"version":3,"file":"debugDataCopyClick.module.js","sourceRoot":"","sources":["../../../../material/src/modules/debugDataCopyClick.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,kBAAkB,EAAC,MAAM,eAAe,CAAC;AAEjD,OAAO,EAAC,2BAA2B,EAAC,MAAM,+DAA+D,CAAC;;AAE1G;;GAEG;AAcH,MAAM,OAAO,wBAAwB;8GAAxB,wBAAwB;+GAAxB,wBAAwB,YAT7B,kBAAkB;YAClB,2BAA2B,aAI3B,2BAA2B;YAC3B,kBAAkB;+GAGb,wBAAwB;;2FAAxB,wBAAwB;kBAbpC,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,kBAAkB;wBAClB,2BAA2B;qBAC9B;oBACD,OAAO,EACP;wBACI,2BAA2B;wBAC3B,kBAAkB;qBACrB;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\nimport {DebugDataComponent} from '@anglr/common';\n\nimport {DebugDataCopyClickDirective} from '../directives/debugDataCopyClick/debugDataCopyClick.directive';\n\n/**\n * Module for debug data copy click directive\n */\n@NgModule(\n{\n imports:\n [\n DebugDataComponent,\n DebugDataCopyClickDirective,\n ],\n exports:\n [\n DebugDataCopyClickDirective,\n DebugDataComponent,\n ]\n})\nexport class DebugDataCopyClickModule\n{\n}\n"]}
|
|
@@ -8,17 +8,17 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
* Module for components for displaying movable titled dialog
|
|
9
9
|
*/
|
|
10
10
|
export class MovableTitledDialogModule {
|
|
11
|
-
static
|
|
12
|
-
static
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: MovableTitledDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.1", ngImport: i0, type: MovableTitledDialogModule, declarations: [MovableTitledDialogComponent], imports: [CommonDynamicModule,
|
|
13
13
|
CommonLocalizeModule,
|
|
14
14
|
MatDialogModule,
|
|
15
|
-
DragDropModule] });
|
|
16
|
-
static
|
|
15
|
+
DragDropModule] }); }
|
|
16
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: MovableTitledDialogModule, imports: [CommonDynamicModule,
|
|
17
17
|
CommonLocalizeModule,
|
|
18
18
|
MatDialogModule,
|
|
19
|
-
DragDropModule] });
|
|
19
|
+
DragDropModule] }); }
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: MovableTitledDialogModule, decorators: [{
|
|
22
22
|
type: NgModule,
|
|
23
23
|
args: [{
|
|
24
24
|
imports: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"movableTitledDialog.module.js","sourceRoot":"","sources":["../../../../material/src/modules/movableTitledDialog.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAC,mBAAmB,EAAE,oBAAoB,EAAC,MAAM,eAAe,CAAC;AAExE,OAAO,EAAC,4BAA4B,EAAC,MAAM,iEAAiE,CAAC;;AAE7G;;GAEG;AAeH,MAAM,OAAO,yBAAyB;
|
|
1
|
+
{"version":3,"file":"movableTitledDialog.module.js","sourceRoot":"","sources":["../../../../material/src/modules/movableTitledDialog.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAC,mBAAmB,EAAE,oBAAoB,EAAC,MAAM,eAAe,CAAC;AAExE,OAAO,EAAC,4BAA4B,EAAC,MAAM,iEAAiE,CAAC;;AAE7G;;GAEG;AAeH,MAAM,OAAO,yBAAyB;8GAAzB,yBAAyB;+GAAzB,yBAAyB,iBAH9B,4BAA4B,aAP5B,mBAAmB;YACnB,oBAAoB;YACpB,eAAe;YACf,cAAc;+GAOT,yBAAyB,YAV9B,mBAAmB;YACnB,oBAAoB;YACpB,eAAe;YACf,cAAc;;2FAOT,yBAAyB;kBAdrC,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,mBAAmB;wBACnB,oBAAoB;wBACpB,eAAe;wBACf,cAAc;qBACjB;oBACD,YAAY,EACZ;wBACI,4BAA4B;qBAC/B;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\nimport {MatDialogModule} from '@angular/material/dialog';\nimport {DragDropModule} from '@angular/cdk/drag-drop';\nimport {CommonDynamicModule, CommonLocalizeModule} from '@anglr/common';\n\nimport {MovableTitledDialogComponent} from '../components/movableTitledDialog/movableTitledDialog.component';\n\n/**\n * Module for components for displaying movable titled dialog\n */\n@NgModule(\n{\n imports:\n [\n CommonDynamicModule,\n CommonLocalizeModule,\n MatDialogModule,\n DragDropModule,\n ],\n declarations:\n [\n MovableTitledDialogComponent\n ],\n})\nexport class MovableTitledDialogModule\n{\n}\n"]}
|
|
@@ -8,17 +8,17 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
* Module for components and service for displaying titled dialog
|
|
9
9
|
*/
|
|
10
10
|
export class TitledDialogModule {
|
|
11
|
-
static
|
|
12
|
-
static
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: TitledDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.1", ngImport: i0, type: TitledDialogModule, declarations: [TitledDialogComponent], imports: [CommonDynamicModule,
|
|
13
13
|
CommonLocalizeModule,
|
|
14
|
-
MatDialogModule] });
|
|
15
|
-
static
|
|
14
|
+
MatDialogModule] }); }
|
|
15
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: TitledDialogModule, providers: [
|
|
16
16
|
TitledDialogService
|
|
17
17
|
], imports: [CommonDynamicModule,
|
|
18
18
|
CommonLocalizeModule,
|
|
19
|
-
MatDialogModule] });
|
|
19
|
+
MatDialogModule] }); }
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: TitledDialogModule, decorators: [{
|
|
22
22
|
type: NgModule,
|
|
23
23
|
args: [{
|
|
24
24
|
imports: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"titledDialog.module.js","sourceRoot":"","sources":["../../../../material/src/modules/titledDialog.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAC,mBAAmB,EAAE,oBAAoB,EAAC,MAAM,eAAe,CAAC;AAExE,OAAO,EAAC,qBAAqB,EAAC,MAAM,mDAAmD,CAAC;AACxF,OAAO,EAAC,mBAAmB,EAAC,MAAM,+CAA+C,CAAC;;AAElF;;GAEG;AAkBH,MAAM,OAAO,kBAAkB;
|
|
1
|
+
{"version":3,"file":"titledDialog.module.js","sourceRoot":"","sources":["../../../../material/src/modules/titledDialog.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAC,mBAAmB,EAAE,oBAAoB,EAAC,MAAM,eAAe,CAAC;AAExE,OAAO,EAAC,qBAAqB,EAAC,MAAM,mDAAmD,CAAC;AACxF,OAAO,EAAC,mBAAmB,EAAC,MAAM,+CAA+C,CAAC;;AAElF;;GAEG;AAkBH,MAAM,OAAO,kBAAkB;8GAAlB,kBAAkB;+GAAlB,kBAAkB,iBAPvB,qBAAqB,aANrB,mBAAmB;YACnB,oBAAoB;YACpB,eAAe;+GAWV,kBAAkB,aAJ3B;YACI,mBAAmB;SACtB,YAXG,mBAAmB;YACnB,oBAAoB;YACpB,eAAe;;2FAWV,kBAAkB;kBAjB9B,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,mBAAmB;wBACnB,oBAAoB;wBACpB,eAAe;qBAClB;oBACD,YAAY,EACZ;wBACI,qBAAqB;qBACxB;oBACD,SAAS,EACT;wBACI,mBAAmB;qBACtB;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\nimport {MatDialogModule} from '@angular/material/dialog';\nimport {CommonDynamicModule, CommonLocalizeModule} from '@anglr/common';\n\nimport {TitledDialogComponent} from '../components/titledDialog/titledDialog.component';\nimport {TitledDialogService} from '../services/titledDialog/titledDialog.service';\n\n/**\n * Module for components and service for displaying titled dialog\n */\n@NgModule(\n{\n imports:\n [\n CommonDynamicModule,\n CommonLocalizeModule,\n MatDialogModule,\n ],\n declarations:\n [\n TitledDialogComponent\n ],\n providers:\n [\n TitledDialogService\n ]\n})\nexport class TitledDialogModule\n{\n}"]}
|
|
@@ -8,8 +8,6 @@ import * as i2 from "./titledDialogService.options";
|
|
|
8
8
|
* Titled dialog service used for displaying components in dialog
|
|
9
9
|
*/
|
|
10
10
|
export class TitledDialogService {
|
|
11
|
-
_dialog;
|
|
12
|
-
_options;
|
|
13
11
|
//######################### constructor #########################
|
|
14
12
|
constructor(_dialog, _options) {
|
|
15
13
|
this._dialog = _dialog;
|
|
@@ -37,10 +35,10 @@ export class TitledDialogService {
|
|
|
37
35
|
};
|
|
38
36
|
return this._dialog.open(this._options.titledDialogComponent, config);
|
|
39
37
|
}
|
|
40
|
-
static
|
|
41
|
-
static
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: TitledDialogService, deps: [{ token: i1.MatDialog }, { token: i2.TitledDialogServiceOptions, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
39
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: TitledDialogService }); }
|
|
42
40
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: TitledDialogService, decorators: [{
|
|
44
42
|
type: Injectable
|
|
45
43
|
}], ctorParameters: () => [{ type: i1.MatDialog }, { type: i2.TitledDialogServiceOptions, decorators: [{
|
|
46
44
|
type: Optional
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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,CAAC;YACG,IAAI,CAAC,QAAQ,GAAG,IAAI,0BAA0B,EAAE,CAAC;QACrD,CAAC;IACL,CAAC;IAED,oEAAoE;IAEpE;;;;;OAKG;IACI,IAAI,CAAsB,sBAAyD,EAAE,MAA8B;QAEtH,IAAG,CAAC,MAAM,EACV,CAAC;YACG,MAAM,GAAG,EAAE,CAAC;QAChB,CAAC;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;8GApCQ,mBAAmB;kHAAnB,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}"]}
|
|
@@ -4,13 +4,13 @@ import { TitledDialogComponent } from '../../components/titledDialog/titledDialo
|
|
|
4
4
|
* Options for `TitledDialogService`
|
|
5
5
|
*/
|
|
6
6
|
export class TitledDialogServiceOptions {
|
|
7
|
-
//######################### public properties #########################
|
|
8
|
-
/**
|
|
9
|
-
* Type of component used for rendering titled dialog
|
|
10
|
-
*/
|
|
11
|
-
titledDialogComponent = TitledDialogComponent;
|
|
12
7
|
//######################### constructor #########################
|
|
13
8
|
constructor(titledDialogComponent) {
|
|
9
|
+
//######################### public properties #########################
|
|
10
|
+
/**
|
|
11
|
+
* Type of component used for rendering titled dialog
|
|
12
|
+
*/
|
|
13
|
+
this.titledDialogComponent = TitledDialogComponent;
|
|
14
14
|
if (isPresent(titledDialogComponent)) {
|
|
15
15
|
this.titledDialogComponent = titledDialogComponent;
|
|
16
16
|
}
|
|
@@ -1 +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;
|
|
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,CAAC;YACG,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;QACvD,CAAC;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"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../moment/src/misc/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AACxC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B;;;;;GAKG;AACH,MAAM,UAAU,0BAA0B,CAAU,YAAqB,EAAE,WAAmB,EAAE,oBAA6B,IAAI;IAE7H,MAAM,SAAS,GAAG,wCAAwC,CAAC;IAE3D,OAAO,iBAAiB,CAAC,YAAY,EAAE,WAAW,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;QAEhE,kBAAkB;QAClB,IAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,EAC3C;
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../moment/src/misc/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AACxC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B;;;;;GAKG;AACH,MAAM,UAAU,0BAA0B,CAAU,YAAqB,EAAE,WAAmB,EAAE,oBAA6B,IAAI;IAE7H,MAAM,SAAS,GAAG,wCAAwC,CAAC;IAE3D,OAAO,iBAAiB,CAAC,YAAY,EAAE,WAAW,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;QAEhE,kBAAkB;QAClB,IAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,EAC3C,CAAC;YACG,MAAM,GAAG,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;YAE1B,IAAG,CAAC,GAAG,CAAC,OAAO,EACf,CAAC;gBACG,OAAO,IAAI,CAAC;YAChB,CAAC;YAED,IAAG,iBAAiB,EACpB,CAAC;gBACG,OAAO,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,SAAS,EAAE,EAAE,SAAS,CAAC,CAAC;YACpD,CAAC;YAED,OAAO,GAAG,CAAC;QACf,CAAC;QAED,OAAO,KAAK,CAAC;IACjB,CAAC,CAAC,CAAC;AACP,CAAC","sourcesContent":["import {readEncodedFilter} from '@anglr/common/forms';\nimport {isString} from '@jscrpt/common';\nimport moment from 'moment';\n\n/**\n * Reads filter value from encoded string, deserialize date properties into moment\n * @param defaultValue - Default value of filter, which is overriden by values from filterValue\n * @param filterValue - Encoded string containing filter value\n * @param offsetCorrelation - Indication whether perform timezone offset correlation, defaults to true\n */\nexport function readEncodedFilterWithDates<TFilter>(defaultValue: TFilter, filterValue: string, offsetCorrelation: boolean = true): TFilter\n{\n const dateRegex = /^(\\d+-){2}\\d+(T(\\d+:){2}\\d+(\\.\\d+)?)?/g;\n\n return readEncodedFilter(defaultValue, filterValue, (_key, value) =>\n {\n //it is date value\n if(isString(value) && dateRegex.test(value))\n {\n const val = moment(value);\n \n if(!val.isValid)\n {\n return null;\n }\n\n if(offsetCorrelation)\n {\n return val.subtract(val.utcOffset(), 'minutes');\n }\n\n return val;\n }\n\n return value;\n });\n}"]}
|
|
@@ -6,13 +6,13 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
* Module containing common stuff for moment.js in angular
|
|
7
7
|
*/
|
|
8
8
|
export class MomentModule {
|
|
9
|
-
static
|
|
10
|
-
static
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: MomentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.1", ngImport: i0, type: MomentModule, declarations: [MomentConvertPipe,
|
|
11
11
|
MomentFormatPipe], exports: [MomentConvertPipe,
|
|
12
|
-
MomentFormatPipe] });
|
|
13
|
-
static
|
|
12
|
+
MomentFormatPipe] }); }
|
|
13
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: MomentModule }); }
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: MomentModule, decorators: [{
|
|
16
16
|
type: NgModule,
|
|
17
17
|
args: [{
|
|
18
18
|
declarations: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"moment.module.js","sourceRoot":"","sources":["../../../../moment/src/modules/moment.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAC,iBAAiB,EAAC,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EAAC,gBAAgB,EAAC,MAAM,yCAAyC,CAAC;;AAEzE;;GAEG;AAcH,MAAM,OAAO,YAAY;
|
|
1
|
+
{"version":3,"file":"moment.module.js","sourceRoot":"","sources":["../../../../moment/src/modules/moment.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAC,iBAAiB,EAAC,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EAAC,gBAAgB,EAAC,MAAM,yCAAyC,CAAC;;AAEzE;;GAEG;AAcH,MAAM,OAAO,YAAY;8GAAZ,YAAY;+GAAZ,YAAY,iBATjB,iBAAiB;YACjB,gBAAgB,aAIhB,iBAAiB;YACjB,gBAAgB;+GAGX,YAAY;;2FAAZ,YAAY;kBAbxB,QAAQ;mBACT;oBACI,YAAY,EACZ;wBACI,iBAAiB;wBACjB,gBAAgB;qBACnB;oBACD,OAAO,EACP;wBACI,iBAAiB;wBACjB,gBAAgB;qBACnB;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\n\nimport {MomentConvertPipe} from '../pipes/momentConvert/momentConvert.pipe';\nimport {MomentFormatPipe} from '../pipes/momentFormat/momentFormat.pipe';\n\n/**\n * Module containing common stuff for moment.js in angular\n */\n@NgModule(\n{\n declarations:\n [\n MomentConvertPipe,\n MomentFormatPipe\n ],\n exports:\n [\n MomentConvertPipe,\n MomentFormatPipe\n ]\n})\nexport class MomentModule\n{\n}"]}
|
|
@@ -20,10 +20,10 @@ export class MomentConvertPipe {
|
|
|
20
20
|
}
|
|
21
21
|
return value;
|
|
22
22
|
}
|
|
23
|
-
static
|
|
24
|
-
static
|
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: MomentConvertPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
24
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.1", ngImport: i0, type: MomentConvertPipe, name: "momentConvert" }); }
|
|
25
25
|
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: MomentConvertPipe, decorators: [{
|
|
27
27
|
type: Pipe,
|
|
28
28
|
args: [{
|
|
29
29
|
name: 'momentConvert'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"momentConvert.pipe.js","sourceRoot":"","sources":["../../../../../moment/src/pipes/momentConvert/momentConvert.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAgB,MAAM,eAAe,CAAC;AAClD,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AACzC,OAAO,MAAM,MAAM,QAAQ,CAAC;;AAE5B;;GAEG;AAKH,MAAM,OAAO,iBAAiB;IAE1B,oEAAoE;IAEpE;;;OAGG;IACI,SAAS,CAAC,KAA6B;QAE1C,IAAG,SAAS,CAAC,KAAK,CAAC,EACnB;
|
|
1
|
+
{"version":3,"file":"momentConvert.pipe.js","sourceRoot":"","sources":["../../../../../moment/src/pipes/momentConvert/momentConvert.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAgB,MAAM,eAAe,CAAC;AAClD,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AACzC,OAAO,MAAM,MAAM,QAAQ,CAAC;;AAE5B;;GAEG;AAKH,MAAM,OAAO,iBAAiB;IAE1B,oEAAoE;IAEpE;;;OAGG;IACI,SAAS,CAAC,KAA6B;QAE1C,IAAG,SAAS,CAAC,KAAK,CAAC,EACnB,CAAC;YACG,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;YAEtB,IAAG,CAAC,KAAK,CAAC,OAAO,EACjB,CAAC;gBACG,KAAK,GAAG,IAAI,CAAC;YACjB,CAAC;QACL,CAAC;QAED,OAAO,KAAsB,CAAC;IAClC,CAAC;8GArBQ,iBAAiB;4GAAjB,iBAAiB;;2FAAjB,iBAAiB;kBAJ7B,IAAI;mBACL;oBACI,IAAI,EAAE,eAAe;iBACxB","sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {isPresent} from '@jscrpt/common';\nimport moment from 'moment';\n\n/**\n * Performs moment conversion\n */\n@Pipe(\n{\n name: 'momentConvert'\n})\nexport class MomentConvertPipe implements PipeTransform\n{\n //######################### public methods #########################\n\n /**\n * Transforms 'date' string to moment\n * @param value - Value to be converted to moment\n */\n public transform(value: string | moment.Moment): moment.Moment\n {\n if(isPresent(value))\n {\n value = moment(value);\n \n if(!value.isValid)\n {\n value = null;\n }\n }\n\n return value as moment.Moment;\n }\n}"]}
|
|
@@ -24,10 +24,10 @@ export class MomentFormatPipe {
|
|
|
24
24
|
}
|
|
25
25
|
return null;
|
|
26
26
|
}
|
|
27
|
-
static
|
|
28
|
-
static
|
|
27
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: MomentFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
28
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.1", ngImport: i0, type: MomentFormatPipe, name: "momentFormat" }); }
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: MomentFormatPipe, decorators: [{
|
|
31
31
|
type: Pipe,
|
|
32
32
|
args: [{
|
|
33
33
|
name: 'momentFormat'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"momentFormat.pipe.js","sourceRoot":"","sources":["../../../../../moment/src/pipes/momentFormat/momentFormat.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAgB,MAAM,eAAe,CAAC;AAClD,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AACzC,OAAO,MAAM,MAAM,QAAQ,CAAC;;AAE5B;;GAEG;AAKH,MAAM,OAAO,gBAAgB;IAEzB,oEAAoE;IAEpE;;;;OAIG;IACI,SAAS,CAAC,KAA6B,EAAE,SAAiB,GAAG;QAEhE,IAAG,SAAS,CAAC,KAAK,CAAC,EACnB;
|
|
1
|
+
{"version":3,"file":"momentFormat.pipe.js","sourceRoot":"","sources":["../../../../../moment/src/pipes/momentFormat/momentFormat.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAgB,MAAM,eAAe,CAAC;AAClD,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AACzC,OAAO,MAAM,MAAM,QAAQ,CAAC;;AAE5B;;GAEG;AAKH,MAAM,OAAO,gBAAgB;IAEzB,oEAAoE;IAEpE;;;;OAIG;IACI,SAAS,CAAC,KAA6B,EAAE,SAAiB,GAAG;QAEhE,IAAG,SAAS,CAAC,KAAK,CAAC,EACnB,CAAC;YACG,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;YAEtB,IAAG,CAAC,KAAK,CAAC,OAAO,EACjB,CAAC;gBACG,KAAK,GAAG,IAAI,CAAC;YACjB,CAAC;QACL,CAAC;QAED,IAAG,KAAK,EACR,CAAC;YACG,OAAQ,KAAuB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACnD,CAAC;QAED,OAAO,IAAI,CAAC;IAChB,CAAC;8GA3BQ,gBAAgB;4GAAhB,gBAAgB;;2FAAhB,gBAAgB;kBAJ5B,IAAI;mBACL;oBACI,IAAI,EAAE,cAAc;iBACvB","sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {isPresent} from '@jscrpt/common';\nimport moment from 'moment';\n\n/**\n * Performs moment conversion and formats result\n */\n@Pipe(\n{\n name: 'momentFormat'\n})\nexport class MomentFormatPipe implements PipeTransform\n{\n //######################### public methods #########################\n\n /**\n * Transforms 'date' string to moment and formats it\n * @param value - Value to be converted to moment\n * @param format - Formats used for formatting moment\n */\n public transform(value: string | moment.Moment, format: string = 'L'): string\n {\n if(isPresent(value))\n {\n value = moment(value);\n \n if(!value.isValid)\n {\n value = null;\n }\n }\n\n if(value)\n {\n return (value as moment.Moment).format(format);\n }\n\n return null;\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"componentRedirectRoute.decorator.js","sourceRoot":"","sources":["../../../../router/src/decorators/componentRedirectRoute.decorator.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,OAAO,EAAE,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAelD;;;;;;GAMG;AACH,MAAM,UAAU,sBAAsB,CAAC,YAAoB,EAAE,UAAmB,EAAE,aAAuB;IAErG,OAAO,UAAuC,MAAiB;QAE3D,MAAM,uBAAuB,GAAiC,MAAM,CAAC;QAErE,IAAG,OAAO,CAAC,uBAAuB,CAAC,WAAW,CAAC,IAAI,OAAO,CAAC,UAAU,CAAC,EACtE;
|
|
1
|
+
{"version":3,"file":"componentRedirectRoute.decorator.js","sourceRoot":"","sources":["../../../../router/src/decorators/componentRedirectRoute.decorator.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,OAAO,EAAE,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAelD;;;;;;GAMG;AACH,MAAM,UAAU,sBAAsB,CAAC,YAAoB,EAAE,UAAmB,EAAE,aAAuB;IAErG,OAAO,UAAuC,MAAiB;QAE3D,MAAM,uBAAuB,GAAiC,MAAM,CAAC;QAErE,IAAG,OAAO,CAAC,uBAAuB,CAAC,WAAW,CAAC,IAAI,OAAO,CAAC,UAAU,CAAC,EACtE,CAAC;YACG,OAAO,CAAC,IAAI,CAAC,4GAA4G,CAAC,CAAC;YAE3H,OAAO,MAAM,CAAC;QAClB,CAAC;QAED,IAAG,OAAO,CAAC,UAAU,CAAC,IAAI,SAAS,CAAC,uBAAuB,CAAC,WAAW,CAAC,IAAI,uBAAuB,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,EAC1H,CAAC;YACG,OAAO,CAAC,IAAI,CAAC,yDAAyD,CAAC,CAAC;YAExE,OAAO,MAAM,CAAC;QAClB,CAAC;QAED,MAAM,+BAA+B,GAAyC,MAAM,CAAC;QAErF,IAAG,OAAO,CAAC,+BAA+B,CAAC,mBAAmB,CAAC,EAC/D,CAAC;YACG,MAAM,CAAC,cAAc,CAAC,MAAM,EACN,qBAAqB,EACrB;gBACI,UAAU,EAAE,IAAI;gBAChB,YAAY,EAAE,KAAK;gBACnB,QAAQ,EAAE,KAAK;gBACf,KAAK,EAAE,EAAE;aACZ,CAAC,CAAC;QAC7B,CAAC;QAED,IAAG,OAAO,CAAC,aAAa,CAAC,EACzB,CAAC;YACG,aAAa,GAAG,IAAI,CAAC;QACzB,CAAC;QAED,IAAG,OAAO,CAAC,UAAU,CAAC,EACtB,CAAC;YACG,UAAU,GAAG,uBAAuB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAC7D,CAAC;QAED,+BAA+B,CAAC,mBAAmB,CAAC,IAAI,CACxD;YACI,IAAI,EAAE,YAAY;YAClB,UAAU,EAAE,UAAU;YACtB,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ;SAC/C,CAAC,CAAC;QAEH,OAAO,MAAM,CAAC;IAClB,CAAC,CAAC;AACN,CAAC","sourcesContent":["import {Route} from '@angular/router';\nimport {isBlank, isPresent} from '@jscrpt/common';\n\nimport {RouteDecoratedComponent} from './componentRoute.decorator';\n\n/**\n * Extended type with redirect route definition\n */\nexport interface RedirectRouteDecoratedComponent\n{\n /**\n * Definition of redirection routes that are assigned to this type\n */\n redirectRouteValues: Route[];\n}\n\n/**\n * Defines redirection route to component's route on which is this decorator applied\n * @param redirectFrom - Path from which should redirection occur\n * @param redirectTo - Path to which should be redirect performed, if not specified and only one route is defined, its path will be used\n * @param pathMatchFull - Indication that full path match should be used, default is true\n * @returns ClassDecorator\n */\nexport function ComponentRedirectRoute(redirectFrom: string, redirectTo?: string, pathMatchFull?: boolean): ClassDecorator\n{\n return function <TFunction extends Function> (target: TFunction): TFunction\n {\n const routeDecoratedComponent: RouteDecoratedComponent = <any>target;\n\n if(isBlank(routeDecoratedComponent.routeValues) && isBlank(redirectTo))\n {\n console.warn('Missing \\'ComponentRoute\\' or wrong order of decorators \\'ComponentRoute\\' and \\'ComponentRedirectRoute\\'!');\n\n return target;\n }\n\n if(isBlank(redirectTo) && isPresent(routeDecoratedComponent.routeValues) && routeDecoratedComponent.routeValues.length > 1)\n {\n console.warn('Multiple routes defined. Unable to set proper redirect!');\n\n return target;\n }\n\n const redirectRouteDecoratedComponent: RedirectRouteDecoratedComponent = <any>target;\n\n if(isBlank(redirectRouteDecoratedComponent.redirectRouteValues))\n {\n Object.defineProperty(target,\n 'redirectRouteValues',\n {\n enumerable: true,\n configurable: false,\n writable: false,\n value: []\n });\n }\n\n if(isBlank(pathMatchFull))\n {\n pathMatchFull = true;\n }\n\n if(isBlank(redirectTo))\n {\n redirectTo = routeDecoratedComponent.routeValues[0].path;\n }\n\n redirectRouteDecoratedComponent.redirectRouteValues.push(\n {\n path: redirectFrom,\n redirectTo: redirectTo,\n pathMatch: pathMatchFull ? 'full' : 'prefix'\n });\n\n return target;\n };\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"componentRoute.decorator.js","sourceRoot":"","sources":["../../../../router/src/decorators/componentRoute.decorator.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAkBvC;;;GAGG;AACH,MAAM,UAAU,cAAc,CAAC,KAA+B;IAE1D,OAAO,UAAuC,MAAiB;QAE3D,MAAM,EAAE,GAAG,KAAc,CAAC;QAE1B,EAAE,CAAC,SAAS,GAAQ,MAAM,CAAC;QAE3B,MAAM,uBAAuB,GAAiC,MAAM,CAAC;QAErE,IAAG,OAAO,CAAC,uBAAuB,CAAC,WAAW,CAAC,EAC/C;
|
|
1
|
+
{"version":3,"file":"componentRoute.decorator.js","sourceRoot":"","sources":["../../../../router/src/decorators/componentRoute.decorator.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAkBvC;;;GAGG;AACH,MAAM,UAAU,cAAc,CAAC,KAA+B;IAE1D,OAAO,UAAuC,MAAiB;QAE3D,MAAM,EAAE,GAAG,KAAc,CAAC;QAE1B,EAAE,CAAC,SAAS,GAAQ,MAAM,CAAC;QAE3B,MAAM,uBAAuB,GAAiC,MAAM,CAAC;QAErE,IAAG,OAAO,CAAC,uBAAuB,CAAC,WAAW,CAAC,EAC/C,CAAC;YACG,MAAM,CAAC,cAAc,CAAC,MAAM,EACN,aAAa,EACb;gBACI,UAAU,EAAE,IAAI;gBAChB,YAAY,EAAE,KAAK;gBACnB,QAAQ,EAAE,KAAK;gBACf,KAAK,EAAE,EAAE;aACZ,CAAC,CAAC;QAC7B,CAAC;QAED,uBAAuB,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAE7C,OAAO,MAAM,CAAC;IAClB,CAAC,CAAC;AACN,CAAC","sourcesContent":["import {Route} from '@angular/router';\nimport {isBlank} from '@jscrpt/common';\n\n/**\n * Extended type with route definition\n */\nexport interface RouteDecoratedComponent\n{\n /**\n * Definition of routes that are assigned to this type\n */\n routeValues: Route[];\n}\n\n/**\n * Type that represents options that can be passed to control represented by model property\n */\nexport type ComponentRouteDefinition = Omit<Route, keyof Pick<Route, 'component'>>;\n\n/**\n * Defines route for component on which is this decorator applied\n * @param route - route Definition of route, does not require component to be set\n */\nexport function ComponentRoute(route: ComponentRouteDefinition): ClassDecorator\n{\n return function <TFunction extends Function> (target: TFunction): TFunction\n {\n const rt = route as Route;\n\n rt.component = <any>target;\n\n const routeDecoratedComponent: RouteDecoratedComponent = <any>target;\n\n if(isBlank(routeDecoratedComponent.routeValues))\n {\n Object.defineProperty(target,\n 'routeValues',\n {\n enumerable: true,\n configurable: false,\n writable: false,\n value: []\n });\n }\n\n routeDecoratedComponent.routeValues.push(rt);\n\n return target;\n };\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"moduleRoutes.decorator.js","sourceRoot":"","sources":["../../../../router/src/decorators/moduleRoutes.decorator.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAsB,MAAM,iBAAiB,CAAC;AAElE,OAAO,EAAC,aAAa,EAAC,MAAM,eAAe,CAAC;AAuC5C;;;GAGG;AACH,SAAS,yBAAyB,CAAC,KAA6B;IAE5D,IAAG,KAAK,CAAC,kBAAkB,IAAI,KAAK,CAAC,kBAAkB,CAAC,MAAM,EAC9D;
|
|
1
|
+
{"version":3,"file":"moduleRoutes.decorator.js","sourceRoot":"","sources":["../../../../router/src/decorators/moduleRoutes.decorator.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAsB,MAAM,iBAAiB,CAAC;AAElE,OAAO,EAAC,aAAa,EAAC,MAAM,eAAe,CAAC;AAuC5C;;;GAGG;AACH,SAAS,yBAAyB,CAAC,KAA6B;IAE5D,IAAG,KAAK,CAAC,kBAAkB,IAAI,KAAK,CAAC,kBAAkB,CAAC,MAAM,EAC9D,CAAC;QACG,MAAM,MAAM,GAA6B,aAAa,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;QAEhH,IAAG,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,QAAQ,CAAC,MAAM,EAC1C,CAAC;YACG,KAAK,CAAC,QAAQ;gBACd;oBACI,GAAG,KAAK,CAAC,QAAQ;oBACjB,GAAG,MAAM;iBACZ,CAAC;QACN,CAAC;aAED,CAAC;YACG,KAAK,CAAC,QAAQ,GAAG,MAAM,CAAC;QAC5B,CAAC;IACL,CAAC;IAED,OAAO,KAAK,CAAC;AACjB,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAAC,gBAA6B,EAAE,UAA+B,EAAC,UAAU,EAAE,KAAK,EAAE,iBAAiB,EAAE,EAAE,EAAE,kBAAkB,EAAE,EAAE,EAAC;IAEzJ,OAAO,UAAsC,MAAiB;QAE1D,MAAM,QAAQ,GAMV,MAAa,CAAC;QAElB,IAAG,QAAQ,CAAC,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,EACxD,CAAC;YACG,MAAM,MAAM,GACZ;gBACI,GAAG,CAAC,OAAO,CAAC,kBAAkB,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,yBAAyB,CAAC;gBACpE,GAAG,aAAa,CAAC,gBAAgB,CAAC,CAAC,GAAG,CAAC,yBAAyB,CAAC;gBACjE,GAAG,CAAC,OAAO,CAAC,iBAAiB,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,yBAAyB,CAAC;aACtE,CAAC;YAEF,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,YAAY,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;QAC5I,CAAC;QAED,OAAO,MAAM,CAAC;IAClB,CAAC,CAAC;AACN,CAAC","sourcesContent":["import {Type} from '@angular/core';\nimport {RouterModule, Route, ExtraOptions} from '@angular/router';\n\nimport {extractRoutes} from '../misc/utils';\n\n/**\n * Extended route with possibility to extract children from components\n */\nexport interface ComponentRouteChildren extends Route\n{\n /**\n * Array of components which contains routes\n */\n childrenComponents?: Type<any>[];\n}\n\n/**\n * Describes options for ModuleRoutes decorator\n */\nexport interface ModuleRoutesOptions\n{\n /**\n * Indication that `forRoot` should be used during registration of routes\n */\n rootModule?: boolean;\n\n /**\n * Extra options used for `forRoot` module creation\n */\n rootModuleConfig?: ExtraOptions;\n\n /**\n * Routes that will be set before routedComponents\n */\n staticRoutesBefore?: ComponentRouteChildren[];\n\n /**\n * Routes that will be set after routedComponents\n */\n staticRoutesAfter?: ComponentRouteChildren[];\n}\n\n/**\n * Extracts routes from children components\n * @param route - Route which can contain array of components with routes\n */\nfunction extractChildrenComponents(route: ComponentRouteChildren): Route\n{\n if(route.childrenComponents && route.childrenComponents.length)\n {\n const routes: ComponentRouteChildren[] = extractRoutes(route.childrenComponents).map(extractChildrenComponents);\n\n if(route.children && route.children.length)\n {\n route.children =\n [\n ...route.children,\n ...routes\n ];\n }\n else\n {\n route.children = routes;\n }\n }\n\n return route;\n}\n\n/**\n * Registers routes for module to which is attached\n * @param routedComponents - Array of components that will be used for routes extration\n * @param options - Optional options for defining routes\n */\nexport function ModuleRoutes(routedComponents: Type<any>[], options: ModuleRoutesOptions = {rootModule: false, staticRoutesAfter: [], staticRoutesBefore: []})\n{\n return function<TFunction extends Function> (target: TFunction): TFunction\n {\n const ngModule: \n {\n ɵinj:\n {\n imports: any[]\n }\n } = target as any;\n \n if(ngModule.ɵinj && Array.isArray(ngModule.ɵinj.imports))\n {\n const routes = \n [\n ...(options.staticRoutesBefore || []).map(extractChildrenComponents),\n ...extractRoutes(routedComponents).map(extractChildrenComponents),\n ...(options.staticRoutesAfter || []).map(extractChildrenComponents)\n ];\n\n ngModule.ɵinj.imports.push(options.rootModule ? RouterModule.forRoot(routes, options.rootModuleConfig) : RouterModule.forChild(routes));\n }\n\n return target;\n };\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../router/src/misc/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAYzC;;;;GAIG;AACH,MAAM,UAAU,aAAa,CAAC,UAAuB;IAEjD,MAAM,MAAM,GAAY,EAAE,CAAC;IAE3B,IAAG,CAAC,UAAU,EACd;
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../router/src/misc/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAYzC;;;;GAIG;AACH,MAAM,UAAU,aAAa,CAAC,UAAuB;IAEjD,MAAM,MAAM,GAAY,EAAE,CAAC;IAE3B,IAAG,CAAC,UAAU,EACd,CAAC;QACG,OAAO,MAAM,CAAC;IAClB,CAAC;IAEA,UAAoB,CAAC,OAAO,CAAC,CAAC,SAAmC,EAAE,EAAE;QAElE,IAAG,SAAS,CAAC,SAAS,CAAC,WAAW,CAAC,EACnC,CAAC;YACG,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;gBAElC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACvB,CAAC,CAAC,CAAC;QACP,CAAC;QAED,IAAG,SAAS,CAAC,SAAS,CAAC,mBAAmB,CAAC,EAC3C,CAAC;YACG,SAAS,CAAC,mBAAmB,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;gBAE1C,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACvB,CAAC,CAAC,CAAC;QACP,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAClB,CAAC","sourcesContent":["import {Type} from '@angular/core';\nimport {Route} from '@angular/router';\nimport {isPresent} from '@jscrpt/common';\n\nimport {RouteDecoratedComponent} from '../decorators/componentRoute.decorator';\nimport {RedirectRouteDecoratedComponent} from '../decorators/componentRedirectRoute.decorator';\n\n/**\n * All types of route decorated components\n */\ninterface RoutesDecoratedComponent extends RouteDecoratedComponent, RedirectRouteDecoratedComponent\n{\n}\n\n/**\n * Extracts route definitions from components if routes are set using decorator ComponentRoute\n * @param components - Array of components to be used for extraction\n * @returns RouteDefinition Extracted routes\n */\nexport function extractRoutes(components: Type<any>[]): Route[]\n{\n const result: Route[] = [];\n \n if(!components)\n {\n return result;\n }\n \n (components as any[]).forEach((component: RoutesDecoratedComponent) =>\n {\n if(isPresent(component.routeValues))\n {\n component.routeValues.forEach(route =>\n {\n result.push(route);\n });\n }\n\n if(isPresent(component.redirectRouteValues))\n {\n component.redirectRouteValues.forEach(route =>\n {\n result.push(route);\n });\n }\n });\n \n return result;\n}"]}
|