@anglr/common 22.0.0-beta.20241115045223 → 22.0.0-beta.20250123101933
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 +106 -1
- package/es2022/floating-ui/src/services/floatingUiDomPosition.service.js +5 -4
- package/es2022/floating-ui/src/services/floatingUiDomPosition.service.js.map +1 -1
- package/es2022/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.js +4 -4
- package/es2022/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.js.map +1 -1
- package/es2022/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.js +4 -4
- package/es2022/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.js.map +1 -1
- package/es2022/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.js +4 -4
- package/es2022/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.js.map +1 -1
- package/es2022/forms/src/directives/groupHasError/groupHasError.directive.js +4 -5
- package/es2022/forms/src/directives/groupHasError/groupHasError.directive.js.map +1 -1
- package/es2022/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.js +3 -4
- package/es2022/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.js.map +1 -1
- package/es2022/forms/src/directives/hasError/hasError.directive.js +3 -4
- package/es2022/forms/src/directives/hasError/hasError.directive.js.map +1 -1
- package/es2022/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +5 -5
- package/es2022/forms/src/directives/numberInput/maxValueNumberValidator.directive.js.map +1 -1
- package/es2022/forms/src/directives/numberInput/minValueNumberValidator.directive.js +5 -5
- package/es2022/forms/src/directives/numberInput/minValueNumberValidator.directive.js.map +1 -1
- package/es2022/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +4 -4
- package/es2022/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js.map +1 -1
- package/es2022/forms/src/directives/numberInput/numberInputValidator.directive.js +5 -5
- package/es2022/forms/src/directives/numberInput/numberInputValidator.directive.js.map +1 -1
- package/es2022/forms/src/directives/requiredClass/requiredClass.directive.js +3 -4
- package/es2022/forms/src/directives/requiredClass/requiredClass.directive.js.map +1 -1
- package/es2022/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.js +3 -4
- package/es2022/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.js.map +1 -1
- package/es2022/forms/src/misc/utils.js +2 -1
- package/es2022/forms/src/misc/utils.js.map +1 -1
- package/es2022/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js +14 -9
- 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 +4 -4
- 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 +4 -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 +5 -13
- 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 -3
- 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 -3
- package/es2022/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js +3 -3
- package/es2022/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js +3 -3
- package/es2022/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js +3 -3
- package/es2022/forms/src/modules/hasError.module.js +4 -4
- package/es2022/forms/src/modules/numberInput.module.js +7 -7
- package/es2022/forms/src/modules/numberInput.module.js.map +1 -1
- package/es2022/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +5 -4
- package/es2022/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js.map +1 -1
- package/es2022/forms/src/services/formModelBuilder/formModelBuilder.service.js +3 -3
- package/es2022/forms/src/services/submitted/submitted.service.js +3 -3
- package/es2022/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +4 -4
- package/es2022/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js.map +1 -1
- package/es2022/hotkeys/src/components/cheatSheet/cheatSheet.component.js +4 -4
- package/es2022/hotkeys/src/components/cheatSheet/cheatSheet.component.js.map +1 -1
- package/es2022/hotkeys/src/services/appHotkeys.service.js +3 -3
- package/es2022/material/src/components/confirmationDialog/confirmationDialog.component.js +10 -7
- package/es2022/material/src/components/confirmationDialog/confirmationDialog.component.js.map +1 -1
- package/es2022/material/src/components/movableTitledDialog/movableTitledDialog.component.js +12 -7
- package/es2022/material/src/components/movableTitledDialog/movableTitledDialog.component.js.map +1 -1
- package/es2022/material/src/components/titledDialog/titledDialog.component.js +9 -6
- package/es2022/material/src/components/titledDialog/titledDialog.component.js.map +1 -1
- package/es2022/material/src/directives/confirmationDialog/confirmationDialog.directive.js +3 -4
- package/es2022/material/src/directives/confirmationDialog/confirmationDialog.directive.js.map +1 -1
- package/es2022/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +3 -4
- package/es2022/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js.map +1 -1
- package/es2022/material/src/modules/confirmationDialog.module.js +6 -15
- package/es2022/material/src/modules/confirmationDialog.module.js.map +1 -1
- package/es2022/material/src/modules/debugDataCopyClick.module.js +4 -4
- package/es2022/material/src/modules/movableTitledDialog.module.js +7 -8
- package/es2022/material/src/modules/movableTitledDialog.module.js.map +1 -1
- package/es2022/material/src/modules/titledDialog.module.js +5 -16
- package/es2022/material/src/modules/titledDialog.module.js.map +1 -1
- package/es2022/material/src/services/titledDialog/titledDialog.service.js +3 -3
- package/es2022/router/src/services/routing/dataRouter.js +3 -3
- package/es2022/router/src/services/routing/dataRouterData.js +3 -3
- package/es2022/src/components/collapsibleIcon/collapsibleIcon.component.js +6 -6
- package/es2022/src/components/collapsibleIcon/collapsibleIcon.component.js.map +1 -1
- package/es2022/src/components/collapsibleTitle/collapsibleTitle.component.js +4 -4
- 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/componentDisplay/componentDisplay.decorator.js.map +1 -1
- package/es2022/src/decorators/componentDisplayBlock/componentDisplayBlock.decorator.js.map +1 -1
- package/es2022/src/decorators/componentDisplayFlex/componentDisplayFlex.decorator.js.map +1 -1
- package/es2022/src/decorators/componentHostStyle/componentHostStyle.decorator.js.map +1 -1
- package/es2022/src/decorators/scrollableContent/scrollableContent.decorator.js.map +1 -1
- package/es2022/src/decorators/typeProvider/typeProvider.decorator.js +0 -1
- package/es2022/src/decorators/typeProvider/typeProvider.decorator.js.map +1 -1
- package/es2022/src/decorators/withFullscreenContentCssClass/withFullscreenContentCssClass.decorator.js.map +1 -1
- package/es2022/src/directives/bodyRender/bodyRender.directive.js +3 -4
- package/es2022/src/directives/bodyRender/bodyRender.directive.js.map +1 -1
- package/es2022/src/directives/clickOutside/clickOutside.directive.js +4 -5
- package/es2022/src/directives/clickOutside/clickOutside.directive.js.map +1 -1
- package/es2022/src/directives/ellipsisTooltip/ellipsisTooltip.directive.js +3 -4
- package/es2022/src/directives/ellipsisTooltip/ellipsisTooltip.directive.js.map +1 -1
- package/es2022/src/directives/goBack/goBack.directive.js +3 -4
- package/es2022/src/directives/goBack/goBack.directive.js.map +1 -1
- package/es2022/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +3 -4
- package/es2022/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js.map +1 -1
- package/es2022/src/directives/positionTo/positionTo.directive.js +4 -5
- package/es2022/src/directives/positionTo/positionTo.directive.js.map +1 -1
- package/es2022/src/index.js +2 -1
- package/es2022/src/index.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/asNgClassRequired/asNgClassRequired.pipe.js +3 -3
- package/es2022/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js +3 -3
- package/es2022/src/modules/castPipes/pipes/castType/castType.pipe.js +3 -3
- package/es2022/src/modules/commonDynamic.module.js +4 -4
- package/es2022/src/modules/commonLocalize.module.js +7 -7
- package/es2022/src/modules/commonLocalize.module.js.map +1 -1
- package/es2022/src/modules/commonUtils.module.js +9 -9
- package/es2022/src/modules/commonUtils.module.js.map +1 -1
- package/es2022/src/modules/debugData/components/debugData/debugData.component.js +4 -4
- 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/services/debugDataEnabled/debugDataEnabled.service.js +3 -3
- package/es2022/src/modules/file/components/file/file.component.js +119 -0
- package/es2022/src/modules/file/components/file/file.component.js.map +1 -0
- package/es2022/src/modules/file/components/fileInput/fileInput.component.js +62 -0
- package/es2022/src/modules/file/components/fileInput/fileInput.component.js.map +1 -0
- package/es2022/src/modules/file/components/index.js +4 -0
- package/es2022/src/modules/file/components/index.js.map +1 -0
- package/es2022/src/modules/file/components/uploadButton/uploadButton.component.js +59 -0
- package/es2022/src/modules/file/components/uploadButton/uploadButton.component.js.map +1 -0
- package/es2022/src/modules/file/directive/fileInput/fileInput.directive.js +153 -0
- package/es2022/src/modules/file/directive/fileInput/fileInput.directive.js.map +1 -0
- package/es2022/src/modules/file/directive/fileTemplate/fileTemplate.context.js +2 -0
- package/es2022/src/modules/file/directive/fileTemplate/fileTemplate.context.js.map +1 -0
- package/es2022/src/modules/file/directive/fileTemplate/fileTemplate.directive.js +23 -0
- package/es2022/src/modules/file/directive/fileTemplate/fileTemplate.directive.js.map +1 -0
- package/es2022/src/modules/file/directive/index.js +4 -0
- package/es2022/src/modules/file/directive/index.js.map +1 -0
- package/es2022/src/modules/file/index.js +6 -0
- package/es2022/src/modules/file/index.js.map +1 -0
- package/es2022/src/modules/file/interfaces/fileVisual/fileVisual.interface.js +2 -0
- package/es2022/src/modules/file/interfaces/fileVisual/fileVisual.interface.js.map +1 -0
- package/es2022/src/modules/file/interfaces/index.js +2 -0
- package/es2022/src/modules/file/interfaces/index.js.map +1 -0
- package/es2022/src/modules/file/misc/tokens.js +6 -0
- package/es2022/src/modules/file/misc/tokens.js.map +1 -0
- package/es2022/src/modules/file/modules/file.module.js +40 -0
- package/es2022/src/modules/file/modules/file.module.js.map +1 -0
- package/es2022/src/modules/file/modules/index.js +2 -0
- package/es2022/src/modules/file/modules/index.js.map +1 -0
- package/es2022/src/modules/logger/components/console/console.component.js +5 -5
- package/es2022/src/modules/logger/components/console/console.component.js.map +1 -1
- package/es2022/src/modules/logger/services/console/consoleComponent.service.js +3 -3
- package/es2022/src/modules/logger/services/console/consoleComponentService.options.js +3 -3
- package/es2022/src/modules/logger/services/logger/logger.service.js +3 -3
- package/es2022/src/modules/logger/services/rest/restSink.options.js +3 -3
- package/es2022/src/modules/logger/types/loggerOptions.js +3 -3
- package/es2022/src/modules/multiButton/components/multiButton/multiButton.component.js +9 -7
- package/es2022/src/modules/multiButton/components/multiButton/multiButton.component.js.map +1 -1
- package/es2022/src/modules/multiButton/modules/multiButton.module.js +5 -9
- package/es2022/src/modules/multiButton/modules/multiButton.module.js.map +1 -1
- package/es2022/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js +9 -6
- package/es2022/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js.map +1 -1
- package/es2022/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js +4 -4
- package/es2022/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js.map +1 -1
- package/es2022/src/modules/progressIndicator/interceptors/progressInterceptor.js +4 -4
- package/es2022/src/modules/progressIndicator/interceptors/progressInterceptor.js.map +1 -1
- package/es2022/src/modules/progressIndicator/modules/progressIndicator.module.js +7 -15
- package/es2022/src/modules/progressIndicator/modules/progressIndicator.module.js.map +1 -1
- package/es2022/src/modules/progressIndicator/services/progressIndicator.service.js +3 -3
- package/es2022/src/modules/progressIndicator/services/progressIndicatorOptions.js.map +1 -1
- package/es2022/src/modules/tooltip/components/tooltip/tooltip.component.js +7 -5
- package/es2022/src/modules/tooltip/components/tooltip/tooltip.component.js.map +1 -1
- package/es2022/src/modules/tooltip/directives/tooltip/tooltip.directive.js +5 -5
- package/es2022/src/modules/tooltip/directives/tooltip/tooltip.directive.js.map +1 -1
- package/es2022/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js +3 -3
- package/es2022/src/modules/tooltip/modules/tooltip.module.js +6 -10
- package/es2022/src/modules/tooltip/modules/tooltip.module.js.map +1 -1
- package/es2022/src/pipes/displayProperties/displayProperties.pipe.js +3 -4
- package/es2022/src/pipes/displayProperties/displayProperties.pipe.js.map +1 -1
- package/es2022/src/pipes/firstUppercase/firstUppercase.pipe.js +4 -5
- package/es2022/src/pipes/firstUppercase/firstUppercase.pipe.js.map +1 -1
- package/es2022/src/pipes/firstUppercaseLocalize/firstUppercaseLocalize.pipe.js +8 -9
- package/es2022/src/pipes/firstUppercaseLocalize/firstUppercaseLocalize.pipe.js.map +1 -1
- package/es2022/src/pipes/isNaN/isNaN.pipe.js +3 -4
- package/es2022/src/pipes/isNaN/isNaN.pipe.js.map +1 -1
- package/es2022/src/pipes/isPresent/isPresent.pipe.js +3 -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 +4 -5
- package/es2022/src/pipes/localize/localize.pipe.js.map +1 -1
- package/es2022/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +5 -5
- package/es2022/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js.map +1 -1
- package/es2022/src/pipes/numeral/numeral.pipe.js +4 -4
- package/es2022/src/pipes/numeral/numeral.pipe.js.map +1 -1
- package/es2022/src/pipes/trimText/trimText.pipe.js +4 -4
- 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 +3 -3
- package/es2022/src/services/notifications/defaultNotifications.service.js +3 -3
- package/es2022/src/services/permanentStorage/cookiePermanentStorage.service.js +3 -3
- package/es2022/src/services/statusCode/statusCode.service.js +3 -3
- package/es2022/src/services/stringLocalization/noStringLocalization.service.js +3 -3
- package/es2022/src/services/temporaryStorage/memoryTemporaryStorage.service.js +3 -3
- package/es2022/store/src/services/permanentStorage/localPermanentStorage.service.js +3 -3
- package/es2022/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +3 -3
- package/floating-ui/src/services/floatingUiDomPosition.service.d.ts.map +1 -1
- package/forms/src/components/defaultValidationErrors/defaultValidationErrors.component.d.ts.map +1 -1
- package/forms/src/components/defaultValidationErrorsContainer/defaultValidationErrorsContainer.component.d.ts.map +1 -1
- package/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.d.ts.map +1 -1
- package/forms/src/components/reservedSpaceValidationErrorsContainer/reservedSpaceValidationErrorsContainer.component.html +1 -1
- package/forms/src/directives/groupHasError/groupHasError.directive.d.ts.map +1 -1
- package/forms/src/directives/groupHasErrorContainer/groupHasErrorContainer.directive.d.ts.map +1 -1
- package/forms/src/directives/hasError/hasError.directive.d.ts.map +1 -1
- package/forms/src/directives/numberInput/maxValueNumberValidator.directive.d.ts +1 -1
- package/forms/src/directives/numberInput/minValueNumberValidator.directive.d.ts +1 -1
- package/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.d.ts +1 -1
- package/forms/src/directives/numberInput/numberInputValidator.directive.d.ts +1 -1
- package/forms/src/directives/requiredClass/requiredClass.directive.d.ts.map +1 -1
- package/forms/src/directives/validationErrorsContainer/validationErrorsContainer.directive.d.ts.map +1 -1
- package/forms/src/misc/utils.d.ts.map +1 -1
- package/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.d.ts +1 -1
- package/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.d.ts.map +1 -1
- package/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.html +4 -3
- package/forms/src/modules/errorMessage/directives/errorMessage/errorMessage.directive.d.ts +1 -1
- package/forms/src/modules/errorMessage/directives/groupErrorsTemplate/groupErrorsTemplate.directive.d.ts +1 -1
- package/forms/src/modules/errorMessage/modules/errorMessage.module.d.ts +1 -3
- package/forms/src/modules/errorMessage/modules/errorMessage.module.d.ts.map +1 -1
- package/forms/src/modules/errorMessage/pipes/withErrorMessage/withErrorMessage.pipe.d.ts +1 -1
- package/forms/src/modules/formPipes/modules/formPipes.module.d.ts +1 -1
- package/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.d.ts +1 -1
- package/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.d.ts +1 -1
- package/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.d.ts +1 -1
- package/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.d.ts +1 -1
- package/forms/src/modules/numberInput.module.d.ts +1 -1
- package/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.d.ts.map +1 -1
- package/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.d.ts.map +1 -1
- package/hotkeys/src/components/cheatSheet/cheatSheet.component.d.ts.map +1 -1
- package/material/src/components/confirmationDialog/confirmationDialog.component.d.ts +1 -1
- package/material/src/components/confirmationDialog/confirmationDialog.component.d.ts.map +1 -1
- package/material/src/components/movableTitledDialog/movableTitledDialog.component.d.ts +1 -1
- package/material/src/components/movableTitledDialog/movableTitledDialog.component.d.ts.map +1 -1
- package/material/src/components/movableTitledDialog/movableTitledDialog.component.html +1 -1
- package/material/src/components/titledDialog/titledDialog.component.d.ts +1 -1
- package/material/src/components/titledDialog/titledDialog.component.d.ts.map +1 -1
- package/material/src/components/titledDialog/titledDialog.component.html +2 -2
- package/material/src/directives/confirmationDialog/confirmationDialog.directive.d.ts.map +1 -1
- package/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.d.ts.map +1 -1
- package/material/src/modules/confirmationDialog.module.d.ts +4 -6
- package/material/src/modules/confirmationDialog.module.d.ts.map +1 -1
- package/material/src/modules/movableTitledDialog.module.d.ts +5 -5
- package/material/src/modules/movableTitledDialog.module.d.ts.map +1 -1
- package/material/src/modules/titledDialog.module.d.ts +2 -4
- package/material/src/modules/titledDialog.module.d.ts.map +1 -1
- package/package.json +44 -44
- package/router/src/decorators/moduleRoutes.decorator.d.ts.map +1 -1
- package/src/components/collapsibleIcon/collapsibleIcon.component.d.ts.map +1 -1
- package/src/components/collapsibleTitle/collapsibleTitle.component.d.ts.map +1 -1
- package/src/decorators/typeProvider/typeProvider.decorator.d.ts.map +1 -1
- package/src/directives/bodyRender/bodyRender.directive.d.ts.map +1 -1
- package/src/directives/clickOutside/clickOutside.directive.d.ts +3 -3
- package/src/directives/clickOutside/clickOutside.directive.d.ts.map +1 -1
- package/src/directives/ellipsisTooltip/ellipsisTooltip.directive.d.ts.map +1 -1
- package/src/directives/goBack/goBack.directive.d.ts.map +1 -1
- package/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.d.ts.map +1 -1
- package/src/directives/positionTo/positionTo.directive.d.ts +3 -3
- package/src/directives/positionTo/positionTo.directive.d.ts.map +1 -1
- package/src/index.d.ts +2 -1
- package/src/index.d.ts.map +1 -1
- package/src/modules/castPipes/modules/castPipes.module.d.ts +1 -1
- package/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.d.ts +1 -1
- package/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.d.ts +1 -1
- package/src/modules/castPipes/pipes/asRequired/asRequired.pipe.d.ts +1 -1
- package/src/modules/castPipes/pipes/castType/castType.pipe.d.ts +1 -1
- package/src/modules/commonLocalize.module.d.ts +1 -1
- package/src/modules/commonUtils.module.d.ts +1 -1
- package/src/modules/debugData/components/debugData/debugData.component.d.ts.map +1 -1
- package/src/modules/file/components/file/file.component.css +16 -0
- package/src/modules/file/components/file/file.component.d.ts +85 -0
- package/src/modules/file/components/file/file.component.d.ts.map +1 -0
- package/src/modules/file/components/file/file.component.html +14 -0
- package/src/modules/file/components/fileInput/fileInput.component.css +27 -0
- package/src/modules/file/components/fileInput/fileInput.component.d.ts +37 -0
- package/src/modules/file/components/fileInput/fileInput.component.d.ts.map +1 -0
- package/src/modules/file/components/fileInput/fileInput.component.html +7 -0
- package/src/modules/file/components/index.d.ts +4 -0
- package/src/modules/file/components/index.d.ts.map +1 -0
- package/src/modules/file/components/uploadButton/uploadButton.component.css +52 -0
- package/src/modules/file/components/uploadButton/uploadButton.component.d.ts +36 -0
- package/src/modules/file/components/uploadButton/uploadButton.component.d.ts.map +1 -0
- package/src/modules/file/components/uploadButton/uploadButton.component.html +16 -0
- package/src/modules/file/directive/fileInput/fileInput.directive.d.ts +69 -0
- package/src/modules/file/directive/fileInput/fileInput.directive.d.ts.map +1 -0
- package/src/modules/file/directive/fileTemplate/fileTemplate.context.d.ts +30 -0
- package/src/modules/file/directive/fileTemplate/fileTemplate.context.d.ts.map +1 -0
- package/src/modules/file/directive/fileTemplate/fileTemplate.directive.d.ts +14 -0
- package/src/modules/file/directive/fileTemplate/fileTemplate.directive.d.ts.map +1 -0
- package/src/modules/file/directive/index.d.ts +4 -0
- package/src/modules/file/directive/index.d.ts.map +1 -0
- package/src/modules/file/index.d.ts +6 -0
- package/src/modules/file/index.d.ts.map +1 -0
- package/src/modules/file/interfaces/fileVisual/fileVisual.interface.d.ts +12 -0
- package/src/modules/file/interfaces/fileVisual/fileVisual.interface.d.ts.map +1 -0
- package/src/modules/file/interfaces/index.d.ts +2 -0
- package/src/modules/file/interfaces/index.d.ts.map +1 -0
- package/src/modules/file/misc/tokens.d.ts +7 -0
- package/src/modules/file/misc/tokens.d.ts.map +1 -0
- package/src/modules/file/modules/file.module.d.ts +15 -0
- package/src/modules/file/modules/file.module.d.ts.map +1 -0
- package/src/modules/file/modules/index.d.ts +2 -0
- package/src/modules/file/modules/index.d.ts.map +1 -0
- package/src/modules/logger/components/console/console.component.d.ts +3 -3
- package/src/modules/logger/components/console/console.component.d.ts.map +1 -1
- package/src/modules/multiButton/components/multiButton/multiButton.component.d.ts +1 -1
- package/src/modules/multiButton/components/multiButton/multiButton.component.d.ts.map +1 -1
- package/src/modules/multiButton/components/multiButton/multiButton.component.html +1 -1
- package/src/modules/multiButton/modules/multiButton.module.d.ts +1 -2
- package/src/modules/multiButton/modules/multiButton.module.d.ts.map +1 -1
- package/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.d.ts +1 -1
- package/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.d.ts.map +1 -1
- package/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.html +4 -1
- package/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.d.ts +1 -1
- package/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.d.ts.map +1 -1
- package/src/modules/progressIndicator/modules/progressIndicator.module.d.ts +1 -3
- package/src/modules/progressIndicator/modules/progressIndicator.module.d.ts.map +1 -1
- package/src/modules/tooltip/components/tooltip/tooltip.component.d.ts +1 -1
- package/src/modules/tooltip/components/tooltip/tooltip.component.d.ts.map +1 -1
- package/src/modules/tooltip/components/tooltip/tooltip.component.html +13 -5
- package/src/modules/tooltip/directives/tooltip/tooltip.directive.d.ts.map +1 -1
- package/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.d.ts +1 -1
- package/src/modules/tooltip/modules/tooltip.module.d.ts +4 -5
- package/src/modules/tooltip/modules/tooltip.module.d.ts.map +1 -1
- package/src/pipes/displayProperties/displayProperties.pipe.d.ts.map +1 -1
- package/src/pipes/firstUppercase/firstUppercase.pipe.d.ts +4 -4
- package/src/pipes/firstUppercase/firstUppercase.pipe.d.ts.map +1 -1
- package/src/pipes/firstUppercaseLocalize/firstUppercaseLocalize.pipe.d.ts +8 -8
- package/src/pipes/firstUppercaseLocalize/firstUppercaseLocalize.pipe.d.ts.map +1 -1
- package/src/pipes/isNaN/isNaN.pipe.d.ts.map +1 -1
- package/src/pipes/isPresent/isPresent.pipe.d.ts.map +1 -1
- package/src/pipes/localize/localize.pipe.d.ts +3 -3
- package/src/pipes/localize/localize.pipe.d.ts.map +1 -1
- package/src/pipes/mergeCssClasses/mergeCssClasses.pipe.d.ts +3 -3
- package/src/pipes/mergeCssClasses/mergeCssClasses.pipe.d.ts.map +1 -1
- package/version.bak +1 -1
- package/lerna.json +0 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"titledDialog.component.js","sourceRoot":"","sources":["../../../../../material/src/components/titledDialog/titledDialog.component.ts","../../../../../material/src/components/titledDialog/titledDialog.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAE,QAAQ,EAAiB,WAAW,EAAC,MAAM,eAAe,CAAC;AAC/G,OAAO,EAAC,eAAe,EAAE,YAAY,EAAC,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"titledDialog.component.js","sourceRoot":"","sources":["../../../../../material/src/components/titledDialog/titledDialog.component.ts","../../../../../material/src/components/titledDialog/titledDialog.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAE,QAAQ,EAAiB,WAAW,EAAC,MAAM,eAAe,CAAC;AAC/G,OAAO,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAC,eAAe,EAAE,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAEvE,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAC,kBAAkB,EAAC,MAAM,mBAAmB,CAAC;;;AAGrD;;GAEG;AAaH,MAAM,OAAO,qBAAqB;IAS9B;;OAEG;IACH,IAAW,SAAS;QAEhB,IAAG,IAAI,CAAC,IAAI,EAAE,sBAAsB,YAAY,WAAW,EAC3D,CAAC;YACG,OAAO,IAAI,CAAC;QAChB,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,sBAAsB,CAAC;IAC5C,CAAC;IAED,iEAAiE;IACjE,YAA4C,IAA0B,EACnD,SAA6C,EACpD,QAAkB;QAFc,SAAI,GAAJ,IAAI,CAAsB;QACnD,cAAS,GAAT,SAAS,CAAoC;QAG5D,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAC/B;YACI,SAAS,EACT;gBAEI;oBACI,OAAO,EAAE,kBAAkB;oBAC3B,QAAQ,EAAE,IAAI,CAAC,IAAI;iBACtB;aACJ;YACD,MAAM,EAAE,QAAQ;SACnB,CAAC,CAAC;IACP,CAAC;8GAvCQ,qBAAqB,kBAuBV,eAAe;kGAvB1B,qBAAqB,yECxBlC,8ZAWA,qXDQQ,YAAY,iDACZ,iBAAiB;;2FAIZ,qBAAqB;kBAZjC,SAAS;+BAEI,eAAe,WAIzB;wBACI,YAAY;wBACZ,iBAAiB;qBACpB,mBACgB,uBAAuB,CAAC,MAAM;;0BAyBlC,MAAM;2BAAC,eAAe","sourcesContent":["import {Component, ChangeDetectionStrategy, Inject, Injector, ValueProvider, TemplateRef} from '@angular/core';\nimport {NgComponentOutlet} from '@angular/common';\nimport {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog';\nimport {ComponentType} from '@angular/cdk/portal';\nimport {LocalizePipe} from '@anglr/common';\n\nimport {TITLED_DIALOG_DATA} from '../../misc/tokens';\nimport {ɵTitledDialogOptions} from '../../misc/interfaces/titledDialog.interface';\n\n/**\n * Component used as wrapper for material dialog enhanced with title\n */\n@Component(\n{\n selector: 'titled-dialog',\n templateUrl: 'titledDialog.component.html',\n styleUrl: 'titledDialog.component.css',\n imports:\n [\n LocalizePipe,\n NgComponentOutlet,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class TitledDialogComponent\n{\n //######################### public properties - template bindings #########################\n\n /**\n * Injector used for creating component or template\n */\n public injector: Injector;\n\n /**\n * Instance of component that will be rendered in dialog\n */\n public get component(): ComponentType<any>\n {\n if(this.data?.componentOrTemplateRef instanceof TemplateRef)\n {\n return null;\n }\n\n return this.data.componentOrTemplateRef;\n }\n\n //######################### constructor #########################\n constructor(@Inject(MAT_DIALOG_DATA) public data: ɵTitledDialogOptions,\n public dialogRef: MatDialogRef<ɵTitledDialogOptions>,\n injector: Injector)\n {\n this.injector = Injector.create(\n {\n providers:\n [\n <ValueProvider>\n {\n provide: TITLED_DIALOG_DATA,\n useValue: data.data\n }\n ],\n parent: injector\n });\n }\n}","<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-container *ngComponentOutlet=\"component; injector: injector\"/>\r\n</div>\r\n"]}
|
|
@@ -73,14 +73,13 @@ export class ConfirmationDialogDirective {
|
|
|
73
73
|
this.confirm.emit();
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
77
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
76
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: ConfirmationDialogDirective, deps: [{ token: i1.TitledDialogService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
77
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.0", 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 }); }
|
|
78
78
|
}
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: ConfirmationDialogDirective, decorators: [{
|
|
80
80
|
type: Directive,
|
|
81
81
|
args: [{
|
|
82
82
|
selector: '[confirmation]',
|
|
83
|
-
standalone: true,
|
|
84
83
|
}]
|
|
85
84
|
}], ctorParameters: () => [{ type: i1.TitledDialogService }], propDecorators: { confirmationText: [{
|
|
86
85
|
type: Input,
|
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;
|
|
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,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;kBAJvC,SAAS;mBACV;oBACI,QAAQ,EAAE,gBAAgB;iBAC7B;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})\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}"]}
|
|
@@ -26,14 +26,13 @@ export class DebugDataCopyClickDirective {
|
|
|
26
26
|
copyData() {
|
|
27
27
|
this._clipboard.copy(JSON.stringify(this.data, null, 4));
|
|
28
28
|
}
|
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
30
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: DebugDataCopyClickDirective, deps: [{ token: i1.Clipboard }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
30
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.0", type: DebugDataCopyClickDirective, isStandalone: true, selector: "debug-data[copyClick]", inputs: { data: ["copyClick", "data"] }, host: { listeners: { "click": "copyData()" }, properties: { "class.clickable": "this.clickable" } }, ngImport: i0 }); }
|
|
31
31
|
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: DebugDataCopyClickDirective, decorators: [{
|
|
33
33
|
type: Directive,
|
|
34
34
|
args: [{
|
|
35
35
|
selector: 'debug-data[copyClick]',
|
|
36
|
-
standalone: true,
|
|
37
36
|
}]
|
|
38
37
|
}], ctorParameters: () => [{ type: i1.Clipboard }], propDecorators: { data: [{
|
|
39
38
|
type: Input,
|
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;
|
|
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;AAKH,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;kBAJvC,SAAS;mBACV;oBACI,QAAQ,EAAE,uBAAuB;iBACpC;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})\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}"]}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { CommonLocalizeModule } from '@anglr/common';
|
|
4
2
|
import { ConfirmationDialogComponent } from '../components/confirmationDialog/confirmationDialog.component';
|
|
5
3
|
import { TitledDialogModule } from './titledDialog.module';
|
|
6
4
|
import { ConfirmationDialogDirective } from '../directives/confirmationDialog/confirmationDialog.directive';
|
|
@@ -9,25 +7,18 @@ import * as i0 from "@angular/core";
|
|
|
9
7
|
* Module containing confirmation dialog component and directive
|
|
10
8
|
*/
|
|
11
9
|
export class ConfirmationDialogModule {
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: ConfirmationDialogModule, imports: [CommonModule,
|
|
18
|
-
CommonLocalizeModule,
|
|
19
|
-
TitledDialogModule] }); }
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: ConfirmationDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0", ngImport: i0, type: ConfirmationDialogModule, imports: [TitledDialogModule,
|
|
12
|
+
ConfirmationDialogDirective,
|
|
13
|
+
ConfirmationDialogComponent], exports: [ConfirmationDialogDirective] }); }
|
|
14
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: ConfirmationDialogModule, imports: [TitledDialogModule] }); }
|
|
20
15
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: ConfirmationDialogModule, decorators: [{
|
|
22
17
|
type: NgModule,
|
|
23
18
|
args: [{
|
|
24
19
|
imports: [
|
|
25
|
-
CommonModule,
|
|
26
|
-
CommonLocalizeModule,
|
|
27
20
|
TitledDialogModule,
|
|
28
21
|
ConfirmationDialogDirective,
|
|
29
|
-
],
|
|
30
|
-
declarations: [
|
|
31
22
|
ConfirmationDialogComponent,
|
|
32
23
|
],
|
|
33
24
|
exports: [
|
|
@@ -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;
|
|
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;AAEvC,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;AAcH,MAAM,OAAO,wBAAwB;8GAAxB,wBAAwB;+GAAxB,wBAAwB,YAT7B,kBAAkB;YAClB,2BAA2B;YAC3B,2BAA2B,aAI3B,2BAA2B;+GAGtB,wBAAwB,YAT7B,kBAAkB;;2FASb,wBAAwB;kBAbpC,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,kBAAkB;wBAClB,2BAA2B;wBAC3B,2BAA2B;qBAC9B;oBACD,OAAO,EACP;wBACI,2BAA2B;qBAC9B;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\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 TitledDialogModule,\n ConfirmationDialogDirective,\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 { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: DebugDataCopyClickModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0", ngImport: i0, type: DebugDataCopyClickModule, imports: [DebugDataComponent,
|
|
11
11
|
DebugDataCopyClickDirective], exports: [DebugDataCopyClickDirective,
|
|
12
12
|
DebugDataComponent] }); }
|
|
13
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
13
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: DebugDataCopyClickModule }); }
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: DebugDataCopyClickModule, decorators: [{
|
|
16
16
|
type: NgModule,
|
|
17
17
|
args: [{
|
|
18
18
|
imports: [
|
|
@@ -8,17 +8,18 @@ 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 { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: MovableTitledDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0", ngImport: i0, type: MovableTitledDialogModule, imports: [CommonDynamicModule,
|
|
13
13
|
CommonLocalizeModule,
|
|
14
14
|
MatDialogModule,
|
|
15
|
-
DragDropModule
|
|
16
|
-
|
|
15
|
+
DragDropModule,
|
|
16
|
+
MovableTitledDialogComponent] }); }
|
|
17
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: MovableTitledDialogModule, imports: [CommonDynamicModule,
|
|
17
18
|
CommonLocalizeModule,
|
|
18
19
|
MatDialogModule,
|
|
19
20
|
DragDropModule] }); }
|
|
20
21
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: MovableTitledDialogModule, decorators: [{
|
|
22
23
|
type: NgModule,
|
|
23
24
|
args: [{
|
|
24
25
|
imports: [
|
|
@@ -26,9 +27,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImpor
|
|
|
26
27
|
CommonLocalizeModule,
|
|
27
28
|
MatDialogModule,
|
|
28
29
|
DragDropModule,
|
|
29
|
-
|
|
30
|
-
declarations: [
|
|
31
|
-
MovableTitledDialogComponent
|
|
30
|
+
MovableTitledDialogComponent,
|
|
32
31
|
],
|
|
33
32
|
}]
|
|
34
33
|
}] });
|
|
@@ -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;
|
|
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;AAYH,MAAM,OAAO,yBAAyB;8GAAzB,yBAAyB;+GAAzB,yBAAyB,YAP9B,mBAAmB;YACnB,oBAAoB;YACpB,eAAe;YACf,cAAc;YACd,4BAA4B;+GAGvB,yBAAyB,YAP9B,mBAAmB;YACnB,oBAAoB;YACpB,eAAe;YACf,cAAc;;2FAIT,yBAAyB;kBAXrC,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,mBAAmB;wBACnB,oBAAoB;wBACpB,eAAe;wBACf,cAAc;wBACd,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 MovableTitledDialogComponent,\n ],\n})\nexport class MovableTitledDialogModule\n{\n}\n"]}
|
|
@@ -1,34 +1,23 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
import { MatDialogModule } from '@angular/material/dialog';
|
|
3
|
-
import { CommonDynamicModule, CommonLocalizeModule } from '@anglr/common';
|
|
4
|
-
import { TitledDialogComponent } from '../components/titledDialog/titledDialog.component';
|
|
5
3
|
import { TitledDialogService } from '../services/titledDialog/titledDialog.service';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
/**
|
|
8
6
|
* Module for components and service for displaying titled dialog
|
|
9
7
|
*/
|
|
10
8
|
export class TitledDialogModule {
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
13
|
-
|
|
14
|
-
MatDialogModule] }); }
|
|
15
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: TitledDialogModule, providers: [
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: TitledDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0", ngImport: i0, type: TitledDialogModule, imports: [MatDialogModule] }); }
|
|
11
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: TitledDialogModule, providers: [
|
|
16
12
|
TitledDialogService
|
|
17
|
-
], imports: [
|
|
18
|
-
CommonLocalizeModule,
|
|
19
|
-
MatDialogModule] }); }
|
|
13
|
+
], imports: [MatDialogModule] }); }
|
|
20
14
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: TitledDialogModule, decorators: [{
|
|
22
16
|
type: NgModule,
|
|
23
17
|
args: [{
|
|
24
18
|
imports: [
|
|
25
|
-
CommonDynamicModule,
|
|
26
|
-
CommonLocalizeModule,
|
|
27
19
|
MatDialogModule,
|
|
28
20
|
],
|
|
29
|
-
declarations: [
|
|
30
|
-
TitledDialogComponent
|
|
31
|
-
],
|
|
32
21
|
providers: [
|
|
33
22
|
TitledDialogService
|
|
34
23
|
]
|
|
@@ -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;
|
|
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;AAEzD,OAAO,EAAC,mBAAmB,EAAC,MAAM,+CAA+C,CAAC;;AAElF;;GAEG;AAYH,MAAM,OAAO,kBAAkB;8GAAlB,kBAAkB;+GAAlB,kBAAkB,YAPvB,eAAe;+GAOV,kBAAkB,aAJ3B;YACI,mBAAmB;SACtB,YALG,eAAe;;2FAOV,kBAAkB;kBAX9B,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,eAAe;qBAClB;oBACD,SAAS,EACT;wBACI,mBAAmB;qBACtB;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\nimport {MatDialogModule} from '@angular/material/dialog';\n\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 MatDialogModule,\n ],\n providers:\n [\n TitledDialogService\n ]\n})\nexport class TitledDialogModule\n{\n}"]}
|
|
@@ -35,10 +35,10 @@ export class TitledDialogService {
|
|
|
35
35
|
};
|
|
36
36
|
return this._dialog.open(this._options.titledDialogComponent, config);
|
|
37
37
|
}
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
39
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0", 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: "19.1.0", ngImport: i0, type: TitledDialogService }); }
|
|
40
40
|
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: TitledDialogService, decorators: [{
|
|
42
42
|
type: Injectable
|
|
43
43
|
}], ctorParameters: () => [{ type: i1.MatDialog }, { type: i2.TitledDialogServiceOptions, decorators: [{
|
|
44
44
|
type: Optional
|
|
@@ -79,10 +79,10 @@ export class DataRouter {
|
|
|
79
79
|
this._nextUrlPath = this._router.createUrlTree(linkParams).toString();
|
|
80
80
|
return this._router.navigate(linkParams);
|
|
81
81
|
}
|
|
82
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
83
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
82
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: DataRouter, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
83
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: DataRouter, providedIn: 'root' }); }
|
|
84
84
|
}
|
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: DataRouter, decorators: [{
|
|
86
86
|
type: Injectable,
|
|
87
87
|
args: [{ providedIn: 'root' }]
|
|
88
88
|
}], ctorParameters: () => [{ type: i1.Router }] });
|
|
@@ -11,10 +11,10 @@ export class DataRouterData {
|
|
|
11
11
|
constructor(dataRouter) {
|
|
12
12
|
this.value = dataRouter.valuePromise;
|
|
13
13
|
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: DataRouterData, deps: [{ token: i1.DataRouter }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
15
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: DataRouterData }); }
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: DataRouterData, decorators: [{
|
|
18
18
|
type: Injectable
|
|
19
19
|
}], ctorParameters: () => [{ type: i1.DataRouter }] });
|
|
20
20
|
//# sourceMappingURL=dataRouterData.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Component, ChangeDetectionStrategy, Input, Output, EventEmitter } from '@angular/core';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import { TooltipModule } from '../../modules/tooltip';
|
|
4
|
-
import {
|
|
4
|
+
import { LocalizePipe } from '../../pipes';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "@angular/common";
|
|
7
7
|
import * as i2 from "../../modules/tooltip/directives/tooltip/tooltip.directive";
|
|
@@ -25,15 +25,15 @@ export class CollapsibleIconComponent {
|
|
|
25
25
|
*/
|
|
26
26
|
this.visibleChange = new EventEmitter();
|
|
27
27
|
}
|
|
28
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
29
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: CollapsibleIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
29
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.0", type: CollapsibleIconComponent, isStandalone: true, selector: "collapsible-icon", inputs: { visible: "visible", titleText: "titleText", cssClass: "cssClass" }, outputs: { visibleChange: "visibleChange" }, ngImport: i0, template: "<a class=\"btn-icon\" [ngClass]=\"cssClass\" style=\"font-size: 1em;\" (click)=\"visible = !visible; visibleChange.emit(visible)\" [tooltip]=\"titleText | localize\">\r\n <div [class.plus]=\"!visible\" [class.minus]=\"visible\">\r\n <span class=\"vertical\"></span>\r\n <span class=\"horizontal\"></span>\r\n </div>\r\n</a>", styles: [":host\r\n{\r\n display: block;\r\n}\r\n\r\n/** TODO: change somehow, do not use .app-page and btn-icon maybe move into app itself away from this **/\r\n:host-context(.app-page) .btn-icon:active\r\n{\r\n transform: none;\r\n}\r\n\r\na\r\n{\r\n position: relative;\r\n display: block;\r\n width: 1em;\r\n height: 1em;\r\n}\r\n\r\ndiv\r\n{\r\n transform: translateX(calc(0.5em - 0.14em));\r\n}\r\n\r\n.vertical,\r\n.horizontal\r\n{\r\n position: absolute;\r\n border-style: solid;\r\n border-width: 0.15em;\r\n border-radius: 0.3em;\r\n display: block;\r\n height: 1em;\r\n}\r\n\r\n.plus .vertical\r\n{\r\n transition: all 350ms;\r\n transform: rotate(0deg);\r\n}\r\n\r\n.plus .horizontal\r\n{\r\n transition: all 260ms;\r\n transform: rotate(-90deg);\r\n opacity: 1;\r\n}\r\n\r\n.minus .vertical\r\n{\r\n transition: all 350ms;\r\n transform: rotate(-90deg);\r\n}\r\n\r\n.minus .horizontal\r\n{\r\n transition: all 260ms;\r\n transform: rotate(-180deg);\r\n opacity: 0;\r\n}"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i2.TooltipDirective, selector: "[tooltip]", inputs: ["tooltip", "allowHtml", "template", "tooltipOptions", "tooltipVisible", "containerElement"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: CollapsibleIconComponent, decorators: [{
|
|
32
32
|
type: Component,
|
|
33
|
-
args: [{ selector: 'collapsible-icon',
|
|
33
|
+
args: [{ selector: 'collapsible-icon', imports: [
|
|
34
34
|
CommonModule,
|
|
35
35
|
TooltipModule,
|
|
36
|
-
|
|
36
|
+
LocalizePipe,
|
|
37
37
|
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<a class=\"btn-icon\" [ngClass]=\"cssClass\" style=\"font-size: 1em;\" (click)=\"visible = !visible; visibleChange.emit(visible)\" [tooltip]=\"titleText | localize\">\r\n <div [class.plus]=\"!visible\" [class.minus]=\"visible\">\r\n <span class=\"vertical\"></span>\r\n <span class=\"horizontal\"></span>\r\n </div>\r\n</a>", styles: [":host\r\n{\r\n display: block;\r\n}\r\n\r\n/** TODO: change somehow, do not use .app-page and btn-icon maybe move into app itself away from this **/\r\n:host-context(.app-page) .btn-icon:active\r\n{\r\n transform: none;\r\n}\r\n\r\na\r\n{\r\n position: relative;\r\n display: block;\r\n width: 1em;\r\n height: 1em;\r\n}\r\n\r\ndiv\r\n{\r\n transform: translateX(calc(0.5em - 0.14em));\r\n}\r\n\r\n.vertical,\r\n.horizontal\r\n{\r\n position: absolute;\r\n border-style: solid;\r\n border-width: 0.15em;\r\n border-radius: 0.3em;\r\n display: block;\r\n height: 1em;\r\n}\r\n\r\n.plus .vertical\r\n{\r\n transition: all 350ms;\r\n transform: rotate(0deg);\r\n}\r\n\r\n.plus .horizontal\r\n{\r\n transition: all 260ms;\r\n transform: rotate(-90deg);\r\n opacity: 1;\r\n}\r\n\r\n.minus .vertical\r\n{\r\n transition: all 350ms;\r\n transform: rotate(-90deg);\r\n}\r\n\r\n.minus .horizontal\r\n{\r\n transition: all 260ms;\r\n transform: rotate(-180deg);\r\n opacity: 0;\r\n}"] }]
|
|
38
38
|
}], propDecorators: { visible: [{
|
|
39
39
|
type: Input
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collapsibleIcon.component.js","sourceRoot":"","sources":["../../../../src/components/collapsibleIcon/collapsibleIcon.component.ts","../../../../src/components/collapsibleIcon/collapsibleIcon.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AAC9F,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"collapsibleIcon.component.js","sourceRoot":"","sources":["../../../../src/components/collapsibleIcon/collapsibleIcon.component.ts","../../../../src/components/collapsibleIcon/collapsibleIcon.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AAC9F,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;;;;AAEzC;;GAEG;AAcH,MAAM,OAAO,wBAAwB;IAbrC;QAeI,gFAAgF;QAEhF;;WAEG;QAEI,YAAO,GAAY,KAAK,CAAC;QAEhC;;WAEG;QAEI,cAAS,GAAW,kBAAkB,CAAC;QAQ9C,iFAAiF;QAEjF;;WAEG;QAEI,kBAAa,GAA0B,IAAI,YAAY,EAAW,CAAC;KAC7E;8GA7BY,wBAAwB;kGAAxB,wBAAwB,uMCtBrC,yVAKI,0kCDWI,YAAY,4HACZ,aAAa,yMACb,YAAY;;2FAIP,wBAAwB;kBAbpC,SAAS;+BAEI,kBAAkB,WAI5B;wBACI,YAAY;wBACZ,aAAa;wBACb,YAAY;qBACf,mBACgB,uBAAuB,CAAC,MAAM;8BAUxC,OAAO;sBADb,KAAK;gBAOC,SAAS;sBADf,KAAK;gBAOC,QAAQ;sBADd,KAAK;gBASC,aAAa;sBADnB,MAAM","sourcesContent":["import {Component, ChangeDetectionStrategy, Input, Output, EventEmitter} from '@angular/core';\nimport {CommonModule} from '@angular/common';\n\nimport {TooltipModule} from '../../modules/tooltip';\nimport {LocalizePipe} from '../../pipes';\n\n/**\n * Component used for displaying collapsible icon\n */\n@Component(\n{\n selector: 'collapsible-icon',\n templateUrl: 'collapsibleIcon.component.html',\n styleUrl: 'collapsibleIcon.component.css',\n imports:\n [\n CommonModule,\n TooltipModule,\n LocalizePipe,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class CollapsibleIconComponent\n{\n //######################### public properties - inputs #########################\n\n /**\n * Initial value, if visible set to true minus is displayed, otherwise plus is displayed\n */\n @Input()\n public visible: boolean = false;\n\n /**\n * Text of title\n */\n @Input()\n public titleText: string = 'show/hide detail';\n\n /**\n * Css class applied to button\n */\n @Input()\n public cssClass: string|undefined|null;\n\n //######################### public properties - outputs #########################\n\n /**\n * Occurs when visible change\n */\n @Output()\n public visibleChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n}","<a class=\"btn-icon\" [ngClass]=\"cssClass\" style=\"font-size: 1em;\" (click)=\"visible = !visible; visibleChange.emit(visible)\" [tooltip]=\"titleText | localize\">\r\n <div [class.plus]=\"!visible\" [class.minus]=\"visible\">\r\n <span class=\"vertical\"></span>\r\n <span class=\"horizontal\"></span>\r\n </div>\r\n</a>"]}
|
|
@@ -20,12 +20,12 @@ export class CollapsibleTitleComponent {
|
|
|
20
20
|
*/
|
|
21
21
|
this.visibleChange = new EventEmitter();
|
|
22
22
|
}
|
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
24
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: CollapsibleTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
24
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.0", type: CollapsibleTitleComponent, isStandalone: true, selector: "collapsible-title", inputs: { visible: "visible", cssClass: "cssClass" }, outputs: { visibleChange: "visibleChange" }, ngImport: i0, template: "<div class=\"flex-row\" [ngClass]=\"cssClass\">\r\n <collapsible-icon cssClass=\"margin-right-small\" [visible]=\"visible\" (visibleChange)=\"visible = $event; visibleChange.emit($event)\"></collapsible-icon>\r\n\r\n <ng-content></ng-content>\r\n</div>", styles: [":host{display: block;}"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: CollapsibleIconComponent, selector: "collapsible-icon", inputs: ["visible", "titleText", "cssClass"], outputs: ["visibleChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
25
25
|
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: CollapsibleTitleComponent, decorators: [{
|
|
27
27
|
type: Component,
|
|
28
|
-
args: [{ selector: 'collapsible-title',
|
|
28
|
+
args: [{ selector: 'collapsible-title', imports: [
|
|
29
29
|
CommonModule,
|
|
30
30
|
CollapsibleIconComponent,
|
|
31
31
|
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"flex-row\" [ngClass]=\"cssClass\">\r\n <collapsible-icon cssClass=\"margin-right-small\" [visible]=\"visible\" (visibleChange)=\"visible = $event; visibleChange.emit($event)\"></collapsible-icon>\r\n\r\n <ng-content></ng-content>\r\n</div>", styles: [":host{display: block;}"] }]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collapsibleTitle.component.js","sourceRoot":"","sources":["../../../../src/components/collapsibleTitle/collapsibleTitle.component.ts","../../../../src/components/collapsibleTitle/collapsibleTitle.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AAC9F,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAC,qBAAqB,EAAC,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAC,wBAAwB,EAAC,MAAM,8CAA8C,CAAC;;;AAEtF;;GAEG;
|
|
1
|
+
{"version":3,"file":"collapsibleTitle.component.js","sourceRoot":"","sources":["../../../../src/components/collapsibleTitle/collapsibleTitle.component.ts","../../../../src/components/collapsibleTitle/collapsibleTitle.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AAC9F,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAC,qBAAqB,EAAC,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAC,wBAAwB,EAAC,MAAM,8CAA8C,CAAC;;;AAEtF;;GAEG;AAaH,MAAM,OAAO,yBAAyB;IAZtC;QAcI,gFAAgF;QAEhF;;WAEG;QAEI,YAAO,GAAY,KAAK,CAAC;QAQhC,iFAAiF;QAEjF;;WAEG;QAEI,kBAAa,GAA0B,IAAI,YAAY,EAAW,CAAC;KAC7E;8GAvBY,yBAAyB;kGAAzB,yBAAyB,gLCrBtC,oQAIM,+EDYE,YAAY,6HACZ,wBAAwB;;2FAInB,yBAAyB;kBAZrC,SAAS;+BAEI,mBAAmB,WAI7B;wBACI,YAAY;wBACZ,wBAAwB;qBAC3B,mBACgB,uBAAuB,CAAC,MAAM;8BAUxC,OAAO;sBADb,KAAK;gBAOC,QAAQ;sBADd,KAAK;gBASC,aAAa;sBADnB,MAAM","sourcesContent":["import {Component, ChangeDetectionStrategy, Input, Output, EventEmitter} from '@angular/core';\nimport {CommonModule} from '@angular/common';\n\nimport {HostDisplayBlockStyle} from '../../types/styles';\nimport {CollapsibleIconComponent} from '../collapsibleIcon/collapsibleIcon.component';\n\n/**\n * Component used for displaying title with collapsible icon\n */\n@Component(\n{\n selector: 'collapsible-title',\n templateUrl: 'collapsibleTitle.component.html',\n styles: [HostDisplayBlockStyle],\n imports:\n [\n CommonModule,\n CollapsibleIconComponent,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class CollapsibleTitleComponent\n{\n //######################### public properties - inputs #########################\n\n /**\n * Initial value, if visible set to true minus is displayed, otherwise plus is displayed\n */\n @Input()\n public visible: boolean = false;\n\n /**\n * Css class applied to button\n */\n @Input()\n public cssClass: string|undefined|null;\n\n //######################### public properties - outputs #########################\n\n /**\n * Occurs when visible change\n */\n @Output()\n public visibleChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n}","<div class=\"flex-row\" [ngClass]=\"cssClass\">\r\n <collapsible-icon cssClass=\"margin-right-small\" [visible]=\"visible\" (visibleChange)=\"visible = $event; visibleChange.emit($event)\"></collapsible-icon>\r\n\r\n <ng-content></ng-content>\r\n</div>"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asSignal.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/asSignal/asSignal.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,MAAM,EAAC,MAAM,eAAe,CAAC;AAErD;;GAEG;AACH,MAAM,UAAU,QAAQ;IAEpB,OAAO,
|
|
1
|
+
{"version":3,"file":"asSignal.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/asSignal/asSignal.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,MAAM,EAAC,MAAM,eAAe,CAAC;AAErD;;GAEG;AACH,MAAM,UAAU,QAAQ;IAEpB,OAAO,UAAS,MAAc,EAAE,WAA0B;QAEtD,MAAM,YAAY,GAAG,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;QAEpD,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,WAAW,EACzC;YACI,YAAY,EAAE,KAAK;YACnB,UAAU,EAAE,IAAI;YAChB,GAAG,EAAE;gBAED,OAAO,IAAI,CAAC,YAAY,CAAC,EAAE,EAAE,CAAC;YAClC,CAAC;YACD,GAAG,EAAE,UAAyD,KAAc;gBAExE,IAAG,CAAC,MAAM,CAAC,wBAAwB,CAAC,IAAI,EAAE,YAAY,CAAC,EACvD,CAAC;oBACG,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,YAAY,EACxC;wBACI,YAAY,EAAE,KAAK;wBACnB,UAAU,EAAE,KAAK;wBACjB,QAAQ,EAAE,IAAI;wBACd,KAAK,EAAE,MAAM,CAAC,SAAS,CAAC;qBAC3B,CAAC,CAAC;gBACP,CAAC;gBAED,IAAI,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YAClC,CAAC;SACJ,CAAC,CAAC;IACP,CAAC,CAAC;AACN,CAAC","sourcesContent":["import {WritableSignal, signal} from '@angular/core';\n\n/**\n * Creates backing field for this property as WritableSignal, reads and write to it\n */\nexport function AsSignal(): PropertyDecorator\n{\n return function(target: object, propertyKey: string|symbol): void\n {\n const backingField = Symbol(propertyKey.toString());\n\n Object.defineProperty(target, propertyKey,\n {\n configurable: false,\n enumerable: true,\n get: function(this: {[key: symbol]: WritableSignal<unknown>})\n {\n return this[backingField]?.();\n },\n set: function(this: {[key: symbol]: WritableSignal<unknown>}, value: unknown)\n {\n if(!Object.getOwnPropertyDescriptor(this, backingField))\n {\n Object.defineProperty(this, backingField,\n {\n configurable: false,\n enumerable: false,\n writable: true,\n value: signal(undefined),\n });\n }\n\n this[backingField].set(value);\n }\n });\n };\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"componentDisplay.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/componentDisplay/componentDisplay.decorator.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,kBAAkB,EAAC,MAAM,oDAAoD,CAAC;AAEtF;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAAC,OAAmB;IAEhD,OAAO,kBAAkB,CAAC,YAAY,OAAO,EAAE,CAAC,CAAC;AACrD,CAAC","sourcesContent":["import {CssDisplay} from '@jscrpt/common';\n\nimport {ComponentHostStyle} from '../componentHostStyle/componentHostStyle.decorator';\n\n/**\n * Applies css display style to host of component, requires at least empty style on Component\n * @param display - Css display value\n
|
|
1
|
+
{"version":3,"file":"componentDisplay.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/componentDisplay/componentDisplay.decorator.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,kBAAkB,EAAC,MAAM,oDAAoD,CAAC;AAEtF;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAAC,OAAmB;IAEhD,OAAO,kBAAkB,CAAC,YAAY,OAAO,EAAE,CAAC,CAAC;AACrD,CAAC","sourcesContent":["import {CssDisplay} from '@jscrpt/common';\n\nimport {ComponentHostStyle} from '../componentHostStyle/componentHostStyle.decorator';\n\n/**\n * Applies css display style to host of component, requires at least empty style on Component\n * @param display - Css display value\n *\n * @experimental\n */\nexport function ComponentDisplay(display: CssDisplay): ClassDecorator\n{\n return ComponentHostStyle(`display: ${display}`);\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"componentDisplayBlock.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/componentDisplayBlock/componentDisplayBlock.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,gDAAgD,CAAC;AAEhF;;;;GAIG;AACH,MAAM,UAAU,qBAAqB;IAEjC,OAAO,gBAAgB,CAAC,OAAO,CAAC,CAAC;AACrC,CAAC","sourcesContent":["import {ComponentDisplay} from '../componentDisplay/componentDisplay.decorator';\n\n/**\n * Applies css display block style to host of component, requires at least empty style on Component\n
|
|
1
|
+
{"version":3,"file":"componentDisplayBlock.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/componentDisplayBlock/componentDisplayBlock.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,gDAAgD,CAAC;AAEhF;;;;GAIG;AACH,MAAM,UAAU,qBAAqB;IAEjC,OAAO,gBAAgB,CAAC,OAAO,CAAC,CAAC;AACrC,CAAC","sourcesContent":["import {ComponentDisplay} from '../componentDisplay/componentDisplay.decorator';\n\n/**\n * Applies css display block style to host of component, requires at least empty style on Component\n *\n * @experimental\n */\nexport function ComponentDisplayBlock(): ClassDecorator\n{\n return ComponentDisplay('block');\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"componentDisplayFlex.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/componentDisplayFlex/componentDisplayFlex.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,gDAAgD,CAAC;AAEhF;;;;GAIG;AACH,MAAM,UAAU,oBAAoB;IAEhC,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AACpC,CAAC","sourcesContent":["import {ComponentDisplay} from '../componentDisplay/componentDisplay.decorator';\n\n/**\n * Applies css display flex style to host of component, requires at least empty style on Component\n
|
|
1
|
+
{"version":3,"file":"componentDisplayFlex.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/componentDisplayFlex/componentDisplayFlex.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,gDAAgD,CAAC;AAEhF;;;;GAIG;AACH,MAAM,UAAU,oBAAoB;IAEhC,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AACpC,CAAC","sourcesContent":["import {ComponentDisplay} from '../componentDisplay/componentDisplay.decorator';\n\n/**\n * Applies css display flex style to host of component, requires at least empty style on Component\n *\n * @experimental\n */\nexport function ComponentDisplayFlex(): ClassDecorator\n{\n return ComponentDisplay('flex');\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"componentHostStyle.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/componentHostStyle/componentHostStyle.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAgC,MAAM,eAAe,CAAC;AAE/E;;;;;GAKG;AACH,MAAM,UAAU,kBAAkB,CAAC,QAAgB;IAE/C,OAAO,UAAsC,MAAiB;QAE1D,MAAM,eAAe,GAA8B,MAAa,CAAC;QAEjE,IAAG,CAAC,eAAe,CAAC,IAAI,EACxB,CAAC;YACG,MAAM,IAAI,KAAK,CAAC,4CAA4C,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;QAChF,CAAC;QAED,MAAM,MAAM,GAA6B,eAAe,CAAC,IAAgC,CAAC;QAE1F,IAAG,CAAC,MAAM,CAAC,MAAM,EACjB,CAAC;YACG,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;QACnD,CAAC;QAED,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,aAAa,IAAI,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,OAAO,IAAI,QAAQ,GAAG,CAAC,CAAC;QAExH,OAAO,MAAM,CAAC;IAClB,CAAC,CAAC;AACN,CAAC","sourcesContent":["import {ViewEncapsulation, ɵComponentDef, ɵComponentType} from '@angular/core';\n\n/**\n * Applies css styles to host of component, requires at least empty style on Component\n * @param cssStyle - Css style properties to be applied\n
|
|
1
|
+
{"version":3,"file":"componentHostStyle.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/componentHostStyle/componentHostStyle.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAgC,MAAM,eAAe,CAAC;AAE/E;;;;;GAKG;AACH,MAAM,UAAU,kBAAkB,CAAC,QAAgB;IAE/C,OAAO,UAAsC,MAAiB;QAE1D,MAAM,eAAe,GAA8B,MAAa,CAAC;QAEjE,IAAG,CAAC,eAAe,CAAC,IAAI,EACxB,CAAC;YACG,MAAM,IAAI,KAAK,CAAC,4CAA4C,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;QAChF,CAAC;QAED,MAAM,MAAM,GAA6B,eAAe,CAAC,IAAgC,CAAC;QAE1F,IAAG,CAAC,MAAM,CAAC,MAAM,EACjB,CAAC;YACG,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;QACnD,CAAC;QAED,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,aAAa,IAAI,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,OAAO,IAAI,QAAQ,GAAG,CAAC,CAAC;QAExH,OAAO,MAAM,CAAC;IAClB,CAAC,CAAC;AACN,CAAC","sourcesContent":["import {ViewEncapsulation, ɵComponentDef, ɵComponentType} from '@angular/core';\n\n/**\n * Applies css styles to host of component, requires at least empty style on Component\n * @param cssStyle - Css style properties to be applied\n *\n * @experimental\n */\nexport function ComponentHostStyle(cssStyle: string): ClassDecorator\n{\n return function<TFunction extends Function> (target: TFunction): TFunction|void\n {\n const targetComponent: ɵComponentType<TFunction> = target as any;\n\n if(!targetComponent.ɵcmp)\n {\n throw new Error(`Unable to apply 'ComponentHostStyle' to '${target.name}'`);\n }\n\n const cmpDef: ɵComponentDef<TFunction> = targetComponent.ɵcmp as ɵComponentDef<TFunction>;\n\n if(!cmpDef.styles)\n {\n throw new Error('Missing styles on component');\n }\n\n cmpDef.styles.push(`${cmpDef.encapsulation == ViewEncapsulation.Emulated ? '[_nghost-%COMP%]' : ':host'}{${cssStyle}}`);\n\n return target;\n };\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scrollableContent.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/scrollableContent/scrollableContent.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,oDAAoD,CAAC;AAEtF;;;;GAIG;AACH,MAAM,UAAU,iBAAiB;IAE7B,OAAO,kBAAkB,CAAC,qBAAqB,CAAC,CAAC;AACrD,CAAC","sourcesContent":["import {ComponentHostStyle} from '../componentHostStyle/componentHostStyle.decorator';\n\n/**\n * Applies css overflow-y scroll style to host of component, requires at least empty style on Component\n
|
|
1
|
+
{"version":3,"file":"scrollableContent.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/scrollableContent/scrollableContent.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,oDAAoD,CAAC;AAEtF;;;;GAIG;AACH,MAAM,UAAU,iBAAiB;IAE7B,OAAO,kBAAkB,CAAC,qBAAqB,CAAC,CAAC;AACrD,CAAC","sourcesContent":["import {ComponentHostStyle} from '../componentHostStyle/componentHostStyle.decorator';\n\n/**\n * Applies css overflow-y scroll style to host of component, requires at least empty style on Component\n *\n * @experimental\n */\nexport function ScrollableContent(): ClassDecorator\n{\n return ComponentHostStyle('overflow-y: scroll;');\n}\n"]}
|
|
@@ -15,7 +15,6 @@ export function getProviderForType(type) {
|
|
|
15
15
|
* @param provider - Provider to be attached
|
|
16
16
|
*/
|
|
17
17
|
export function TypeProvider(provider) {
|
|
18
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
19
18
|
return function (target) {
|
|
20
19
|
const typeWithProvider = target;
|
|
21
20
|
if (!typeWithProvider.ɵɵprovider) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeProvider.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/typeProvider/typeProvider.decorator.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AAatC;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAAC,IAAmB;IAElD,MAAM,gBAAgB,GAAG,IAA6B,CAAC;IAEvD,IAAG,CAAC,gBAAgB,CAAC,UAAU,EAC/B,CAAC;QACG,MAAM,IAAI,KAAK,CAAC,QAAQ,IAAI,uBAAuB,CAAC,CAAC;IACzD,CAAC;IAED,OAAO,gBAAgB,CAAC,UAAU,CAAC;AACvC,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,YAAY,CAAC,QAAkB;IAE3C,
|
|
1
|
+
{"version":3,"file":"typeProvider.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/typeProvider/typeProvider.decorator.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AAatC;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAAC,IAAmB;IAElD,MAAM,gBAAgB,GAAG,IAA6B,CAAC;IAEvD,IAAG,CAAC,gBAAgB,CAAC,UAAU,EAC/B,CAAC;QACG,MAAM,IAAI,KAAK,CAAC,QAAQ,IAAI,uBAAuB,CAAC,CAAC;IACzD,CAAC;IAED,OAAO,gBAAgB,CAAC,UAAU,CAAC;AACvC,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,YAAY,CAAC,QAAkB;IAE3C,OAAO,UAAqC,MAAiB;QAEzD,MAAM,gBAAgB,GAAG,MAA+B,CAAC;QAEzD,IAAG,CAAC,gBAAgB,CAAC,UAAU,EAC/B,CAAC;YACG,MAAM,CAAC,cAAc,CAAC,gBAAgB,EAAE,MAAM,CAAwB,YAAY,CAAC,EACnF;gBACI,KAAK,EAAE,QAAQ;gBACf,QAAQ,EAAE,KAAK;gBACf,UAAU,EAAE,KAAK;gBACjB,YAAY,EAAE,KAAK;aACtB,CAAC,CAAC;QACP,CAAC;QAED,OAAO,MAAM,CAAC;IAClB,CAAC,CAAC;AACN,CAAC","sourcesContent":["import {Provider, Type} from '@angular/core';\nimport {nameof} from '@jscrpt/common';\n\n/**\n * Type that contains provider\n */\ninterface ProviderDecoratedType\n{\n /**\n * Provider that is attached to type\n */\n ɵɵprovider?: Provider;\n}\n\n/**\n * Gets provider from type\n * @param type - Type that should contain provider\n */\nexport function getProviderForType(type: Type<unknown>): Provider\n{\n const typeWithProvider = type as ProviderDecoratedType;\n\n if(!typeWithProvider.ɵɵprovider)\n {\n throw new Error(`Type ${type} is without provider!`);\n }\n\n return typeWithProvider.ɵɵprovider;\n}\n\n/**\n * Attach provider to type\n * @param provider - Provider to be attached\n */\nexport function TypeProvider(provider: Provider): ClassDecorator\n{\n return function<TFunction extends Function>(target: TFunction): TFunction\n {\n const typeWithProvider = target as ProviderDecoratedType;\n\n if(!typeWithProvider.ɵɵprovider)\n {\n Object.defineProperty(typeWithProvider, nameof<ProviderDecoratedType>('ɵɵprovider'),\n {\n value: provider,\n writable: false,\n enumerable: false,\n configurable: false,\n });\n }\n\n return target;\n };\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withFullscreenContentCssClass.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/withFullscreenContentCssClass/withFullscreenContentCssClass.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAgC,MAAM,eAAe,CAAC;AAGzE;;GAEG;AACH,MAAM,UAAU,6BAA6B;IAEzC,OAAO,
|
|
1
|
+
{"version":3,"file":"withFullscreenContentCssClass.decorator.js","sourceRoot":"","sources":["../../../../src/decorators/withFullscreenContentCssClass/withFullscreenContentCssClass.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAgC,MAAM,eAAe,CAAC;AAGzE;;GAEG;AACH,MAAM,UAAU,6BAA6B;IAEzC,OAAO,UAAqC,MAAiB;QAEzD,MAAM,QAAQ,GAAK,MAA6C,CAAC,IAA+B,CAAC,YAAY,CAAC;QAE5G,MAA6C,CAAC,IAAyC,CAAC,QAAQ,GAAG,CAAG,MAA6C,CAAC,IAA+B,CAAC,QAAQ,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;QACvM,MAA6C,CAAC,IAAyC,CAAC,YAAY,GAAG,SAAS,8BAA8B,CAAC,EAAU,EAAE,IAAa;YAEtK,QAAQ,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;YAErB,IAAG,EAAE,GAAG,CAAC,EACT,CAAC;gBACG,WAAW,CAAC,oBAAoB,EAAE,IAAI,CAAC,CAAC;YAC5C,CAAC;QACL,CAAC,CAAC;QAEF,OAAO,MAAM,CAAC;IAClB,CAAC,CAAC;AACN,CAAC","sourcesContent":["import {ɵɵclassProp, ɵComponentType, ɵComponentDef} from '@angular/core';\nimport {Writable} from '@jscrpt/common';\n\n/**\n * Applies 'fullscreen-content' css class to components host\n */\nexport function WithFullscreenContentCssClass(): ClassDecorator\n{\n return function<TFunction extends Function>(target: TFunction): TFunction\n {\n const original = ((target as unknown as ɵComponentType<unknown>).ɵcmp as ɵComponentDef<unknown>).hostBindings;\n\n ((target as unknown as ɵComponentType<unknown>).ɵcmp as Writable<ɵComponentDef<unknown>>).hostVars = (((target as unknown as ɵComponentType<unknown>).ɵcmp as ɵComponentDef<unknown>).hostVars ?? 0) + 2;\n ((target as unknown as ɵComponentType<unknown>).ɵcmp as Writable<ɵComponentDef<unknown>>).hostBindings = function NotFoundComponent_HostBindings(rf: number, _ctx: unknown)\n {\n original?.(rf, _ctx);\n\n if(rf & 2)\n {\n ɵɵclassProp('fullscreen-content', true);\n }\n };\n\n return target;\n };\n}"]}
|
|
@@ -32,14 +32,13 @@ export class BodyRenderDirective {
|
|
|
32
32
|
this.view?.destroy();
|
|
33
33
|
this.view = null;
|
|
34
34
|
}
|
|
35
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: BodyRenderDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
36
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.0", type: BodyRenderDirective, isStandalone: true, selector: "[bodyRender]", inputs: { targetElement: ["bodyRender", "targetElement"] }, ngImport: i0 }); }
|
|
37
37
|
}
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: BodyRenderDirective, decorators: [{
|
|
39
39
|
type: Directive,
|
|
40
40
|
args: [{
|
|
41
41
|
selector: '[bodyRender]',
|
|
42
|
-
standalone: true
|
|
43
42
|
}]
|
|
44
43
|
}], ctorParameters: () => [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: Document, decorators: [{
|
|
45
44
|
type: Inject,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bodyRender.directive.js","sourceRoot":"","sources":["../../../../src/directives/bodyRender/bodyRender.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAmB,MAAM,EAAE,KAAK,EAAqB,WAAW,EAAE,gBAAgB,EAAC,MAAM,eAAe,CAAC;AAC1H,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;;AAE5C;;GAEG;
|
|
1
|
+
{"version":3,"file":"bodyRender.directive.js","sourceRoot":"","sources":["../../../../src/directives/bodyRender/bodyRender.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAmB,MAAM,EAAE,KAAK,EAAqB,WAAW,EAAE,gBAAgB,EAAC,MAAM,eAAe,CAAC;AAC1H,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;;AAE5C;;GAEG;AAKH,MAAM,OAAO,mBAAmB;IAwB5B,iEAAiE;IACjE,YAAsB,QAA2B,EAC3B,aAA+B,EACb,QAAkB;QAFpC,aAAQ,GAAR,QAAQ,CAAmB;QAC3B,kBAAa,GAAb,aAAa,CAAkB;QACb,aAAQ,GAAR,QAAQ,CAAU;IAE1D,CAAC;IAED,+FAA+F;IAE/F;;OAEG;IACI,QAAQ;QAEX,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,aAAa;aACzB,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAEvC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAgB,CAAC;QAErD,YAAY,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;IAClE,CAAC;IAED,kGAAkG;IAElG;;OAEG;IACI,WAAW;QAEd,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;8GAzDQ,mBAAmB,6EA2BR,QAAQ;kGA3BnB,mBAAmB;;2FAAnB,mBAAmB;kBAJ/B,SAAS;mBACV;oBACI,QAAQ,EAAE,cAAc;iBAC3B;;0BA4BgB,MAAM;2BAAC,QAAQ;yCALrB,aAAa;sBADnB,KAAK;uBAAC,YAAY","sourcesContent":["import {Directive, EmbeddedViewRef, Inject, Input, OnDestroy, OnInit, TemplateRef, ViewContainerRef} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\nimport {renderToBody} from '@jscrpt/common';\n\n/**\n * Renders element into body directly at the end\n */\n@Directive(\n{\n selector: '[bodyRender]',\n})\nexport class BodyRenderDirective implements OnInit, OnDestroy\n{\n //######################### protected properties #########################\n\n /**\n * Instance of created embedded view\n */\n protected view: EmbeddedViewRef<void>|undefined|null;\n\n /**\n * Instance of created element\n */\n protected element: HTMLElement|undefined|null;\n\n //######################### public properties - inputs #########################\n\n /**\n * String that defines element in which should be template rendered, if not specified, body is used\n * \n * Allows also css class to be specified (div.body-box)\n */\n @Input('bodyRender')\n public targetElement: string|undefined|null;\n\n //######################### constructor #########################\n constructor(protected template: TemplateRef<void>,\n protected viewContainer: ViewContainerRef,\n @Inject(DOCUMENT) protected document: Document,)\n {\n }\n\n //######################### public methods - implementation of OnInit #########################\n \n /**\n * Initialize component\n */\n public ngOnInit(): void\n {\n this.view = this.viewContainer\n .createEmbeddedView(this.template);\n\n this.element = this.view.rootNodes[0] as HTMLElement;\n\n renderToBody(this.document, this.element, this.targetElement);\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n \n /**\n * Called when component is destroyed\n */\n public ngOnDestroy(): void\n {\n this.element?.remove();\n this.element = null;\n this.view?.destroy();\n this.view = null;\n }\n}"]}
|