@anglr/common 11.3.0-beta.20220302063757 → 11.3.0-beta.20220412054621
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 +9 -1
- package/es2015/floating-ui/src/services/floatingUiDomPosition.service.js +3 -3
- package/es2015/forms/src/directives/groupHasError/groupHasError.directive.js +3 -3
- package/es2015/forms/src/directives/hasError/hasError.directive.js +3 -3
- package/es2015/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +3 -3
- package/es2015/forms/src/directives/numberInput/minValueNumberValidator.directive.js +3 -3
- package/es2015/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +3 -3
- package/es2015/forms/src/directives/numberInput/numberInputValidator.directive.js +3 -3
- package/es2015/forms/src/directives/requiredClass/requiredClass.directive.js +3 -3
- package/es2015/forms/src/modules/formPipes/modules/formPipes.module.js +4 -4
- package/es2015/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js +3 -3
- package/es2015/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js +3 -3
- package/es2015/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js +3 -3
- package/es2015/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js +3 -3
- package/es2015/forms/src/modules/hasError.module.js +4 -4
- package/es2015/forms/src/modules/numberInput.module.js +4 -4
- package/es2015/forms/src/modules/requiredClass.module.js +4 -4
- package/es2015/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +3 -3
- package/es2015/forms/src/services/submitted/submitted.service.js +3 -3
- package/es2015/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +3 -3
- package/es2015/hotkeys/src/services/appHotkeys.service.js +3 -3
- package/es2015/material/src/components/confirmationDialog/confirmationDialog.component.js +4 -4
- package/es2015/material/src/components/confirmationDialog/confirmationDialog.component.js.map +1 -1
- package/es2015/material/src/components/movableTitledDialog/movableTitledDialog.component.js +18 -0
- package/es2015/material/src/components/movableTitledDialog/movableTitledDialog.component.js.map +1 -0
- package/es2015/material/src/components/titledDialog/titledDialog.component.js +7 -4
- package/es2015/material/src/components/titledDialog/titledDialog.component.js.map +1 -1
- package/es2015/material/src/directives/confirmationDialog/confirmationDialog.directive.js +3 -3
- package/es2015/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +3 -3
- package/es2015/material/src/index.js +5 -2
- package/es2015/material/src/index.js.map +1 -1
- package/es2015/material/src/misc/interfaces/titledDialog.interface.js +1 -5
- package/es2015/material/src/misc/interfaces/titledDialog.interface.js.map +1 -1
- package/es2015/material/src/misc/tokens.js +4 -0
- package/es2015/material/src/misc/tokens.js.map +1 -1
- package/es2015/material/src/modules/confirmationDialog.module.js +4 -4
- package/es2015/material/src/modules/debugDataCopyClick.module.js +4 -4
- package/es2015/material/src/modules/movableTitledDialog.module.js +37 -0
- package/es2015/material/src/modules/movableTitledDialog.module.js.map +1 -0
- package/es2015/material/src/modules/titledDialog.module.js +4 -4
- package/es2015/material/src/services/titledDialog/titledDialog.service.js +15 -8
- package/es2015/material/src/services/titledDialog/titledDialog.service.js.map +1 -1
- package/es2015/material/src/services/titledDialog/titledDialogService.options.js +19 -0
- package/es2015/material/src/services/titledDialog/titledDialogService.options.js.map +1 -0
- package/es2015/moment/src/modules/moment.module.js +4 -4
- package/es2015/moment/src/pipes/momentConvert/momentConvert.pipe.js +3 -3
- package/es2015/moment/src/pipes/momentFormat/momentFormat.pipe.js +3 -3
- package/es2015/numeral/src/modules/numeral.module.js +4 -4
- package/es2015/numeral/src/pipes/numeral.pipe.js +3 -3
- package/es2015/positions/src/modules/positions/directives/positionTo/positionTo.directive.js +3 -3
- package/es2015/positions/src/modules/positions/modules/positions.module.js +4 -4
- package/es2015/positions/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
- package/es2015/positions/src/modules/tooltip/directives/tooltip/tooltip.directive.js +3 -3
- package/es2015/positions/src/modules/tooltip/modules/tooltip.module.js +4 -4
- package/es2015/router/src/services/routing/dataRouter.js +3 -3
- package/es2015/router/src/services/routing/dataRouterData.js +3 -3
- package/es2015/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +3 -3
- package/es2015/src/modules/castPipes/modules/castPipes.module.js +4 -4
- package/es2015/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.js +3 -3
- package/es2015/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.js +3 -3
- package/es2015/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js +3 -3
- package/es2015/src/modules/castPipes/pipes/castType/castType.pipe.js +3 -3
- package/es2015/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js +3 -3
- package/es2015/src/modules/clickOutside/modules/clickOutside.module.js +4 -4
- package/es2015/src/modules/commonDynamic.module.js +4 -4
- package/es2015/src/modules/commonLocalize.module.js +4 -4
- package/es2015/src/modules/commonUtils.module.js +4 -4
- package/es2015/src/modules/debugData/components/debugData/debugData.component.js +3 -3
- package/es2015/src/modules/debugData/modules/debugData.module.js +4 -4
- package/es2015/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js +3 -3
- package/es2015/src/modules/goBack/directives/goBack/goBack.directive.js +3 -3
- package/es2015/src/modules/goBack/modules/goBack.module.js +4 -4
- package/es2015/src/modules/multiButton/components/multiButton/multiButton.component.js +3 -3
- package/es2015/src/modules/multiButton/modules/multiButton.module.js +4 -4
- package/es2015/src/modules/position/directives/positionTo/positionTo.directive.js +3 -3
- package/es2015/src/modules/position/modules/position.module.js +4 -4
- package/es2015/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js +3 -3
- package/es2015/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js +3 -3
- package/es2015/src/modules/progressIndicator/interceptors/progressInterceptor.js +3 -3
- package/es2015/src/modules/progressIndicator/modules/progressIndicator.module.js +4 -4
- package/es2015/src/modules/progressIndicator/services/progressIndicator.service.js +3 -3
- package/es2015/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
- package/es2015/src/modules/tooltip/directives/tooltip/tooltip.directive.js +3 -3
- package/es2015/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js +3 -3
- package/es2015/src/modules/tooltip/modules/tooltip.module.js +4 -4
- package/es2015/src/pipes/isNaN/isNaN.pipe.js +3 -3
- package/es2015/src/pipes/isPresent/isPresent.pipe.js +3 -3
- package/es2015/src/pipes/localize/localize.pipe.js +3 -3
- package/es2015/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +3 -3
- package/es2015/src/pipes/urlEncode/urlEncode.pipe.js +3 -3
- package/es2015/src/services/cookies/cookies.service.js +3 -3
- package/es2015/src/services/notifications/defaultNotifications.service.js +3 -3
- package/es2015/src/services/permanentStorage/cookiePermanentStorage.service.js +3 -3
- package/es2015/src/services/statusCode/statusCode.service.js +3 -3
- package/es2015/src/services/stringLocalization/noStringLocalization.service.js +3 -3
- package/es2015/src/services/temporaryStorage/memoryTemporaryStorage.service.js +3 -3
- package/es2015/store/src/services/permanentStorage/localPermanentStorage.service.js +3 -3
- package/es2015/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +3 -3
- package/es2015/structured-log/src/components/console/console.component.js +3 -3
- package/es2015/structured-log/src/modules/consoleLog.module.js +4 -4
- package/es2015/structured-log/src/services/console/consoleComponentSink.service.js +3 -3
- package/es2015/structured-log/src/services/console/consoleSinkConfig.service.js +3 -3
- package/es2015/structured-log/src/services/logger.service.js +3 -3
- package/es2015/structured-log/src/services/rest/restSink.service.js +3 -3
- package/es2015/structured-log/src/services/rest/restSinkConfig.service.js +3 -3
- package/es2020/floating-ui/src/services/floatingUiDomPosition.service.js +3 -3
- package/es2020/forms/src/directives/groupHasError/groupHasError.directive.js +3 -3
- package/es2020/forms/src/directives/hasError/hasError.directive.js +3 -3
- package/es2020/forms/src/directives/numberInput/maxValueNumberValidator.directive.js +3 -3
- package/es2020/forms/src/directives/numberInput/minValueNumberValidator.directive.js +3 -3
- package/es2020/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js +3 -3
- package/es2020/forms/src/directives/numberInput/numberInputValidator.directive.js +3 -3
- package/es2020/forms/src/directives/requiredClass/requiredClass.directive.js +3 -3
- package/es2020/forms/src/modules/formPipes/modules/formPipes.module.js +4 -4
- package/es2020/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js +3 -3
- package/es2020/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js +3 -3
- package/es2020/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js +3 -3
- package/es2020/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js +3 -3
- package/es2020/forms/src/modules/hasError.module.js +4 -4
- package/es2020/forms/src/modules/numberInput.module.js +4 -4
- package/es2020/forms/src/modules/requiredClass.module.js +4 -4
- package/es2020/forms/src/services/errorMessagesExtractor/errorMessagesExtractor.service.js +3 -3
- package/es2020/forms/src/services/submitted/submitted.service.js +3 -3
- package/es2020/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js +3 -3
- package/es2020/hotkeys/src/services/appHotkeys.service.js +3 -3
- package/es2020/material/src/components/confirmationDialog/confirmationDialog.component.js +4 -4
- package/es2020/material/src/components/confirmationDialog/confirmationDialog.component.js.map +1 -1
- package/es2020/material/src/components/movableTitledDialog/movableTitledDialog.component.js +18 -0
- package/es2020/material/src/components/movableTitledDialog/movableTitledDialog.component.js.map +1 -0
- package/es2020/material/src/components/titledDialog/titledDialog.component.js +7 -4
- package/es2020/material/src/components/titledDialog/titledDialog.component.js.map +1 -1
- package/es2020/material/src/directives/confirmationDialog/confirmationDialog.directive.js +3 -3
- package/es2020/material/src/directives/debugDataCopyClick/debugDataCopyClick.directive.js +3 -3
- package/es2020/material/src/index.js +5 -2
- package/es2020/material/src/index.js.map +1 -1
- package/es2020/material/src/misc/interfaces/titledDialog.interface.js +1 -5
- package/es2020/material/src/misc/interfaces/titledDialog.interface.js.map +1 -1
- package/es2020/material/src/misc/tokens.js +4 -0
- package/es2020/material/src/misc/tokens.js.map +1 -1
- package/es2020/material/src/modules/confirmationDialog.module.js +4 -4
- package/es2020/material/src/modules/debugDataCopyClick.module.js +4 -4
- package/es2020/material/src/modules/movableTitledDialog.module.js +37 -0
- package/es2020/material/src/modules/movableTitledDialog.module.js.map +1 -0
- package/es2020/material/src/modules/titledDialog.module.js +4 -4
- package/es2020/material/src/services/titledDialog/titledDialog.service.js +15 -8
- package/es2020/material/src/services/titledDialog/titledDialog.service.js.map +1 -1
- package/es2020/material/src/services/titledDialog/titledDialogService.options.js +19 -0
- package/es2020/material/src/services/titledDialog/titledDialogService.options.js.map +1 -0
- package/es2020/moment/src/modules/moment.module.js +4 -4
- package/es2020/moment/src/pipes/momentConvert/momentConvert.pipe.js +3 -3
- package/es2020/moment/src/pipes/momentFormat/momentFormat.pipe.js +3 -3
- package/es2020/numeral/src/modules/numeral.module.js +4 -4
- package/es2020/numeral/src/pipes/numeral.pipe.js +3 -3
- package/es2020/positions/src/modules/positions/directives/positionTo/positionTo.directive.js +3 -3
- package/es2020/positions/src/modules/positions/modules/positions.module.js +4 -4
- package/es2020/positions/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
- package/es2020/positions/src/modules/tooltip/directives/tooltip/tooltip.directive.js +3 -3
- package/es2020/positions/src/modules/tooltip/modules/tooltip.module.js +4 -4
- package/es2020/router/src/services/routing/dataRouter.js +3 -3
- package/es2020/router/src/services/routing/dataRouterData.js +3 -3
- package/es2020/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +3 -3
- package/es2020/src/modules/castPipes/modules/castPipes.module.js +4 -4
- package/es2020/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.js +3 -3
- package/es2020/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.js +3 -3
- package/es2020/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js +3 -3
- package/es2020/src/modules/castPipes/pipes/castType/castType.pipe.js +3 -3
- package/es2020/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js +3 -3
- package/es2020/src/modules/clickOutside/modules/clickOutside.module.js +4 -4
- package/es2020/src/modules/commonDynamic.module.js +4 -4
- package/es2020/src/modules/commonLocalize.module.js +4 -4
- package/es2020/src/modules/commonUtils.module.js +4 -4
- package/es2020/src/modules/debugData/components/debugData/debugData.component.js +3 -3
- package/es2020/src/modules/debugData/modules/debugData.module.js +4 -4
- package/es2020/src/modules/debugData/services/debugDataEnabled/debugDataEnabled.service.js +3 -3
- package/es2020/src/modules/goBack/directives/goBack/goBack.directive.js +3 -3
- package/es2020/src/modules/goBack/modules/goBack.module.js +4 -4
- package/es2020/src/modules/multiButton/components/multiButton/multiButton.component.js +3 -3
- package/es2020/src/modules/multiButton/modules/multiButton.module.js +4 -4
- package/es2020/src/modules/position/directives/positionTo/positionTo.directive.js +3 -3
- package/es2020/src/modules/position/modules/position.module.js +4 -4
- package/es2020/src/modules/progressIndicator/components/progressIndicator/progressIndicator.component.js +3 -3
- package/es2020/src/modules/progressIndicator/directives/progressOverlay/progressOverlay.directive.js +3 -3
- package/es2020/src/modules/progressIndicator/interceptors/progressInterceptor.js +3 -3
- package/es2020/src/modules/progressIndicator/modules/progressIndicator.module.js +4 -4
- package/es2020/src/modules/progressIndicator/services/progressIndicator.service.js +3 -3
- package/es2020/src/modules/tooltip/components/tooltip/tooltip.component.js +3 -3
- package/es2020/src/modules/tooltip/directives/tooltip/tooltip.directive.js +3 -3
- package/es2020/src/modules/tooltip/directives/tooltipTemplate/tooltipTemplate.directive.js +3 -3
- package/es2020/src/modules/tooltip/modules/tooltip.module.js +4 -4
- package/es2020/src/pipes/isNaN/isNaN.pipe.js +3 -3
- package/es2020/src/pipes/isPresent/isPresent.pipe.js +3 -3
- package/es2020/src/pipes/localize/localize.pipe.js +3 -3
- package/es2020/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +3 -3
- package/es2020/src/pipes/urlEncode/urlEncode.pipe.js +3 -3
- package/es2020/src/services/cookies/cookies.service.js +3 -3
- package/es2020/src/services/notifications/defaultNotifications.service.js +3 -3
- package/es2020/src/services/permanentStorage/cookiePermanentStorage.service.js +3 -3
- package/es2020/src/services/statusCode/statusCode.service.js +3 -3
- package/es2020/src/services/stringLocalization/noStringLocalization.service.js +3 -3
- package/es2020/src/services/temporaryStorage/memoryTemporaryStorage.service.js +3 -3
- package/es2020/store/src/services/permanentStorage/localPermanentStorage.service.js +3 -3
- package/es2020/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +3 -3
- package/es2020/structured-log/src/components/console/console.component.js +3 -3
- package/es2020/structured-log/src/modules/consoleLog.module.js +4 -4
- package/es2020/structured-log/src/services/console/consoleComponentSink.service.js +3 -3
- package/es2020/structured-log/src/services/console/consoleSinkConfig.service.js +3 -3
- package/es2020/structured-log/src/services/logger.service.js +3 -3
- package/es2020/structured-log/src/services/rest/restSink.service.js +3 -3
- package/es2020/structured-log/src/services/rest/restSinkConfig.service.js +3 -3
- package/material/src/components/movableTitledDialog/movableTitledDialog.component.d.ts +10 -0
- package/material/src/components/movableTitledDialog/movableTitledDialog.component.d.ts.map +1 -0
- package/material/src/components/movableTitledDialog/movableTitledDialog.component.html +14 -0
- package/material/src/components/titledDialog/titledDialog.component.d.ts +3 -0
- package/material/src/components/titledDialog/titledDialog.component.d.ts.map +1 -1
- package/material/src/index.d.ts +6 -2
- package/material/src/index.d.ts.map +1 -1
- package/material/src/misc/interfaces/titledDialog.interface.d.ts +1 -5
- package/material/src/misc/interfaces/titledDialog.interface.d.ts.map +1 -1
- package/material/src/misc/tokens.d.ts +4 -0
- package/material/src/misc/tokens.d.ts.map +1 -1
- package/material/src/modules/movableTitledDialog.module.d.ts +14 -0
- package/material/src/modules/movableTitledDialog.module.d.ts.map +1 -0
- package/material/src/services/titledDialog/titledDialog.service.d.ts +5 -3
- package/material/src/services/titledDialog/titledDialog.service.d.ts.map +1 -1
- package/material/src/services/titledDialog/titledDialogService.options.d.ts +12 -0
- package/material/src/services/titledDialog/titledDialogService.options.d.ts.map +1 -0
- package/package.json +1 -1
- package/version.bak +1 -1
package/changelog.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## Version 11.3.0 (2022-
|
|
3
|
+
## Version 11.3.0 (2022-04-12)
|
|
4
4
|
|
|
5
5
|
### Features
|
|
6
6
|
|
|
@@ -36,6 +36,14 @@
|
|
|
36
36
|
- property `tooltipCssClass` css class that is applied to tooltip renderer component
|
|
37
37
|
- property `stopPropagation` indication whether stop propagation of "hover" event
|
|
38
38
|
- property `tooltipRenderer` type of tooltip renderer that is used for rendering tooltip
|
|
39
|
+
- *subpackage* `@anglr/common/material`
|
|
40
|
+
- **TITLED DIALOG**
|
|
41
|
+
- new `TitledDialogServiceOptions` class that represents, options for `TitledDialogService`
|
|
42
|
+
- `titledDialogComponent` property, type of component used for rendering titled dialog
|
|
43
|
+
- updated `TitledDialogService` service
|
|
44
|
+
- now using `TitledDialogServiceOptions`, using type of component for dialog from options
|
|
45
|
+
- new `MovableTitledDialogComponent` component, that is used as wrapper for material dialog enhanced with title, which is movable
|
|
46
|
+
- new `MovableTitledDialogModule` module for components for displaying movable titled dialog
|
|
39
47
|
|
|
40
48
|
## Version 11.2.0 (2022-03-01)
|
|
41
49
|
|
|
@@ -210,9 +210,9 @@ export class FloatingUiDomPosition {
|
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
FloatingUiDomPosition.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
214
|
-
FloatingUiDomPosition.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
213
|
+
FloatingUiDomPosition.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FloatingUiDomPosition, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
214
|
+
FloatingUiDomPosition.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FloatingUiDomPosition });
|
|
215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FloatingUiDomPosition, decorators: [{
|
|
216
216
|
type: Injectable
|
|
217
217
|
}] });
|
|
218
218
|
/**
|
|
@@ -61,9 +61,9 @@ export class GroupHasErrorDirective {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
GroupHasErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
65
|
-
GroupHasErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
66
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
64
|
+
GroupHasErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: GroupHasErrorDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
65
|
+
GroupHasErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: GroupHasErrorDirective, selector: "[groupHasError]", ngImport: i0 });
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: GroupHasErrorDirective, decorators: [{
|
|
67
67
|
type: Directive,
|
|
68
68
|
args: [{
|
|
69
69
|
selector: '[groupHasError]'
|
|
@@ -130,15 +130,15 @@ export class HasErrorDirective {
|
|
|
130
130
|
});
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
|
-
HasErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
134
|
-
HasErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
133
|
+
HasErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasErrorDirective, deps: [{ token: i0.ElementRef }, { token: i1.ValidationErrorRendererFactory }, { token: i2.GroupHasErrorDirective, optional: true, skipSelf: true }, { token: i3.FormControlDirective, optional: true }, { token: i3.FormControlName, optional: true }, { token: i3.NgModel, optional: true }, { token: i4.SubmittedService, optional: true }, { token: STRING_LOCALIZATION }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
|
|
134
|
+
HasErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: HasErrorDirective, selector: "[hasError]", inputs: { errorMessages: "errorMessages" }, ngImport: i0 });
|
|
135
135
|
__decorate([
|
|
136
136
|
BindThis,
|
|
137
137
|
__metadata("design:type", Function),
|
|
138
138
|
__metadata("design:paramtypes", [Function, Function, Boolean]),
|
|
139
139
|
__metadata("design:returntype", void 0)
|
|
140
140
|
], HasErrorDirective.prototype, "_isSubmittedOrDirty", null);
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasErrorDirective, decorators: [{
|
|
142
142
|
type: Directive,
|
|
143
143
|
args: [{
|
|
144
144
|
selector: '[hasError]'
|
|
@@ -47,9 +47,9 @@ export class MaxValueNumberValidatorDirective {
|
|
|
47
47
|
return this._validator(control);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
MaxValueNumberValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
51
|
-
MaxValueNumberValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
50
|
+
MaxValueNumberValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MaxValueNumberValidatorDirective, deps: [{ token: 'maxValue', attribute: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
51
|
+
MaxValueNumberValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: MaxValueNumberValidatorDirective, selector: "input[number][maxValue][formControlName],input[number][maxValue][formControl],input[number][maxValue][ngModel]", inputs: { maxValue: "maxValue" }, providers: [MAX_NUMBER_VALIDATOR], usesOnChanges: true, ngImport: i0 });
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MaxValueNumberValidatorDirective, decorators: [{
|
|
53
53
|
type: Directive,
|
|
54
54
|
args: [{
|
|
55
55
|
selector: 'input[number][maxValue][formControlName],input[number][maxValue][formControl],input[number][maxValue][ngModel]',
|
|
@@ -47,9 +47,9 @@ export class MinValueNumberValidatorDirective {
|
|
|
47
47
|
return this._validator(control);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
MinValueNumberValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
51
|
-
MinValueNumberValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
50
|
+
MinValueNumberValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MinValueNumberValidatorDirective, deps: [{ token: 'minValue', attribute: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
51
|
+
MinValueNumberValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: MinValueNumberValidatorDirective, selector: "input[number][minValue][formControlName],input[number][minValue][formControl],input[number][minValue][ngModel]", inputs: { minValue: "minValue" }, providers: [MIN_NUMBER_VALIDATOR], usesOnChanges: true, ngImport: i0 });
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MinValueNumberValidatorDirective, decorators: [{
|
|
53
53
|
type: Directive,
|
|
54
54
|
args: [{
|
|
55
55
|
selector: 'input[number][minValue][formControlName],input[number][minValue][formControl],input[number][minValue][ngModel]',
|
package/es2015/forms/src/directives/numberInput/numberInputControlValueAccessor.directive.js
CHANGED
|
@@ -57,9 +57,9 @@ export class NumberInputControlValueAccessor {
|
|
|
57
57
|
this.onTouched = fn;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
NumberInputControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
61
|
-
NumberInputControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
60
|
+
NumberInputControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberInputControlValueAccessor, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
61
|
+
NumberInputControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: NumberInputControlValueAccessor, selector: "input[number][formControlName],input[number][formControl],input[number][ngModel]", host: { listeners: { "change": "onChange($event.target.value)", "input": "onChange($event.target.value)", "blur": "onTouched()" } }, providers: [NUMBER_INPUT_VALUE_ACCESSOR], ngImport: i0 });
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberInputControlValueAccessor, decorators: [{
|
|
63
63
|
type: Directive,
|
|
64
64
|
args: [{
|
|
65
65
|
selector: 'input[number][formControlName],input[number][formControl],input[number][ngModel]',
|
|
@@ -24,9 +24,9 @@ export class NumberInputValidatorDirective {
|
|
|
24
24
|
return Validators.number(control);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
NumberInputValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
28
|
-
NumberInputValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
27
|
+
NumberInputValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberInputValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
28
|
+
NumberInputValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: NumberInputValidatorDirective, selector: "input[number][formControlName],input[number][formControl],input[number][ngModel]", providers: [NUMBER_VALIDATOR], ngImport: i0 });
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberInputValidatorDirective, decorators: [{
|
|
30
30
|
type: Directive,
|
|
31
31
|
args: [{
|
|
32
32
|
selector: 'input[number][formControlName],input[number][formControl],input[number][ngModel]',
|
|
@@ -38,9 +38,9 @@ export class RequiredClassDirective {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
RequiredClassDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
42
|
-
RequiredClassDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
41
|
+
RequiredClassDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: RequiredClassDirective, deps: [{ token: i1.FormControlDirective, optional: true }, { token: i1.FormControlName, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
42
|
+
RequiredClassDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: RequiredClassDirective, selector: "[requiredClass]", host: { properties: { "class.required": "this.required" } }, ngImport: i0 });
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: RequiredClassDirective, decorators: [{
|
|
44
44
|
type: Directive,
|
|
45
45
|
args: [{
|
|
46
46
|
selector: '[requiredClass]'
|
|
@@ -6,16 +6,16 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export class FormPipesModule {
|
|
8
8
|
}
|
|
9
|
-
FormPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
10
|
-
FormPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
9
|
+
FormPipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FormPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
FormPipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FormPipesModule, declarations: [AsFormArrayPipe,
|
|
11
11
|
AsFormControlPipe,
|
|
12
12
|
AsFormGroupPipe,
|
|
13
13
|
GetControlPipe], exports: [AsFormArrayPipe,
|
|
14
14
|
AsFormControlPipe,
|
|
15
15
|
AsFormGroupPipe,
|
|
16
16
|
GetControlPipe] });
|
|
17
|
-
FormPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
17
|
+
FormPipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FormPipesModule });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: FormPipesModule, decorators: [{
|
|
19
19
|
type: NgModule,
|
|
20
20
|
args: [{
|
|
21
21
|
declarations: [
|
|
@@ -15,9 +15,9 @@ export class AsFormArrayPipe extends CastTypePipe {
|
|
|
15
15
|
this._isInstanceOfPredicate = value => value instanceof FormArray;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
AsFormArrayPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
19
|
-
AsFormArrayPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
18
|
+
AsFormArrayPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormArrayPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
|
|
19
|
+
AsFormArrayPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormArrayPipe, name: "asFormArray" });
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormArrayPipe, decorators: [{
|
|
21
21
|
type: Pipe,
|
|
22
22
|
args: [{ name: 'asFormArray' }]
|
|
23
23
|
}] });
|
|
@@ -15,9 +15,9 @@ export class AsFormControlPipe extends CastTypePipe {
|
|
|
15
15
|
this._isInstanceOfPredicate = value => value instanceof FormControl;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
AsFormControlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
19
|
-
AsFormControlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
18
|
+
AsFormControlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormControlPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
|
|
19
|
+
AsFormControlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormControlPipe, name: "asFormControl" });
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormControlPipe, decorators: [{
|
|
21
21
|
type: Pipe,
|
|
22
22
|
args: [{ name: 'asFormControl' }]
|
|
23
23
|
}] });
|
|
@@ -15,9 +15,9 @@ export class AsFormGroupPipe extends CastTypePipe {
|
|
|
15
15
|
this._isInstanceOfPredicate = value => value instanceof FormGroup;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
AsFormGroupPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
19
|
-
AsFormGroupPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
18
|
+
AsFormGroupPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormGroupPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe });
|
|
19
|
+
AsFormGroupPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormGroupPipe, name: "asFormGroup" });
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AsFormGroupPipe, decorators: [{
|
|
21
21
|
type: Pipe,
|
|
22
22
|
args: [{ name: 'asFormGroup' }]
|
|
23
23
|
}] });
|
|
@@ -22,9 +22,9 @@ export class GetControlPipe {
|
|
|
22
22
|
return value.get(control);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
GetControlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
26
|
-
GetControlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
25
|
+
GetControlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: GetControlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
26
|
+
GetControlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: GetControlPipe, name: "getControl" });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: GetControlPipe, decorators: [{
|
|
28
28
|
type: Pipe,
|
|
29
29
|
args: [{ name: 'getControl' }]
|
|
30
30
|
}] });
|
|
@@ -7,12 +7,12 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
*/
|
|
8
8
|
export class HasErrorModule {
|
|
9
9
|
}
|
|
10
|
-
HasErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
11
|
-
HasErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
10
|
+
HasErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
+
HasErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasErrorModule, declarations: [HasErrorDirective,
|
|
12
12
|
GroupHasErrorDirective], exports: [HasErrorDirective,
|
|
13
13
|
GroupHasErrorDirective] });
|
|
14
|
-
HasErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
14
|
+
HasErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasErrorModule });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: HasErrorModule, decorators: [{
|
|
16
16
|
type: NgModule,
|
|
17
17
|
args: [{
|
|
18
18
|
declarations: [
|
|
@@ -9,16 +9,16 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
*/
|
|
10
10
|
export class NumberInputModule {
|
|
11
11
|
}
|
|
12
|
-
NumberInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
13
|
-
NumberInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
12
|
+
NumberInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
+
NumberInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberInputModule, declarations: [MaxValueNumberValidatorDirective,
|
|
14
14
|
MinValueNumberValidatorDirective,
|
|
15
15
|
NumberInputControlValueAccessor,
|
|
16
16
|
NumberInputValidatorDirective], exports: [MaxValueNumberValidatorDirective,
|
|
17
17
|
MinValueNumberValidatorDirective,
|
|
18
18
|
NumberInputControlValueAccessor,
|
|
19
19
|
NumberInputValidatorDirective] });
|
|
20
|
-
NumberInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
20
|
+
NumberInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberInputModule });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NumberInputModule, decorators: [{
|
|
22
22
|
type: NgModule,
|
|
23
23
|
args: [{
|
|
24
24
|
declarations: [
|
|
@@ -6,10 +6,10 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export class RequiredClassModule {
|
|
8
8
|
}
|
|
9
|
-
RequiredClassModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
10
|
-
RequiredClassModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
11
|
-
RequiredClassModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
9
|
+
RequiredClassModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: RequiredClassModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
RequiredClassModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: RequiredClassModule, declarations: [RequiredClassDirective], exports: [RequiredClassDirective] });
|
|
11
|
+
RequiredClassModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: RequiredClassModule });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: RequiredClassModule, decorators: [{
|
|
13
13
|
type: NgModule,
|
|
14
14
|
args: [{
|
|
15
15
|
declarations: [RequiredClassDirective],
|
|
@@ -58,9 +58,9 @@ export class ErrorMessagesExtractor {
|
|
|
58
58
|
return result;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
ErrorMessagesExtractor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
62
|
-
ErrorMessagesExtractor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
61
|
+
ErrorMessagesExtractor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ErrorMessagesExtractor, deps: [{ token: i0.Injector }, { token: VALIDATION_ERROR_MESSAGES, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
62
|
+
ErrorMessagesExtractor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ErrorMessagesExtractor, providedIn: 'root' });
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ErrorMessagesExtractor, decorators: [{
|
|
64
64
|
type: Injectable,
|
|
65
65
|
args: [{ providedIn: 'root' }]
|
|
66
66
|
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
@@ -41,9 +41,9 @@ export class SubmittedService {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
SubmittedService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
45
|
-
SubmittedService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
44
|
+
SubmittedService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SubmittedService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
45
|
+
SubmittedService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SubmittedService });
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: SubmittedService, decorators: [{
|
|
47
47
|
type: Injectable
|
|
48
48
|
}] });
|
|
49
49
|
//# sourceMappingURL=submitted.service.js.map
|
package/es2015/forms/src/services/validationErrorRenderer/validationErrorRenderer.service.js
CHANGED
|
@@ -31,9 +31,9 @@ export class ValidationErrorRendererFactory {
|
|
|
31
31
|
return new opts.rendererType(this._errorMessagesExtractor, control, controlElement, this._document, injector, isSubmittedOrDirty, opts);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
ValidationErrorRendererFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
35
|
-
ValidationErrorRendererFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
34
|
+
ValidationErrorRendererFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ValidationErrorRendererFactory, deps: [{ token: i1.ErrorMessagesExtractor }, { token: DOCUMENT }, { token: VALIDATION_ERROR_RENDERER_FACTORY_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
35
|
+
ValidationErrorRendererFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ValidationErrorRendererFactory, providedIn: 'root' });
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ValidationErrorRendererFactory, decorators: [{
|
|
37
37
|
type: Injectable,
|
|
38
38
|
args: [{ providedIn: 'root' }]
|
|
39
39
|
}], ctorParameters: function () { return [{ type: i1.ErrorMessagesExtractor }, { type: Document, decorators: [{
|
|
@@ -124,9 +124,9 @@ export class AppHotkeysService {
|
|
|
124
124
|
this._hotkeys.push(hotkey);
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
AppHotkeysService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
128
|
-
AppHotkeysService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
129
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
127
|
+
AppHotkeysService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AppHotkeysService, deps: [{ token: i1.HotkeysService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
128
|
+
AppHotkeysService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AppHotkeysService });
|
|
129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AppHotkeysService, decorators: [{
|
|
130
130
|
type: Injectable
|
|
131
131
|
}], ctorParameters: function () { return [{ type: i1.HotkeysService }]; } });
|
|
132
132
|
//# sourceMappingURL=appHotkeys.service.js.map
|
|
@@ -2,7 +2,7 @@ import { Component, ChangeDetectionStrategy, Inject, Optional } from '@angular/c
|
|
|
2
2
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
3
|
import { extend } from '@jscrpt/common';
|
|
4
4
|
import { CONFIRMATION_DIALOG_OPTIONS } from '../../misc/tokens';
|
|
5
|
-
import { TITLED_DIALOG_DATA } from '../../misc/
|
|
5
|
+
import { TITLED_DIALOG_DATA } from '../../misc/tokens';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
import * as i1 from "@angular/material/dialog";
|
|
8
8
|
import * as i2 from "@angular/common";
|
|
@@ -33,9 +33,9 @@ export class ConfirmationDialogComponent {
|
|
|
33
33
|
this.options = extend(true, {}, defaultOptions, options !== null && options !== void 0 ? options : {}, data);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
ConfirmationDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
37
|
-
ConfirmationDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
36
|
+
ConfirmationDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConfirmationDialogComponent, deps: [{ token: TITLED_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: CONFIRMATION_DIALOG_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
+
ConfirmationDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: ConfirmationDialogComponent, selector: "confirmation-dialog", ngImport: i0, template: "<div>{{options?.confirmationText | localize}}</div>\r\n\r\n<div [ngClass]=\"options?.cssClasses?.buttonsContainerDiv\">\r\n <button [ngClass]=\"options?.cssClasses?.closeButton\" (click)=\"dialog.close(false)\">\r\n <span [ngClass]=\"options?.cssClasses?.closeButtonIcon\"></span>\r\n <span>{{options?.dialogCancelText | localize}}</span>\r\n </button>\r\n \r\n <button [ngClass]=\"options?.cssClasses?.confirmButton\" (click)=\"dialog.close(true)\">\r\n <span [ngClass]=\"options?.cssClasses?.confirmButtonIcon\"></span>\r\n <span>{{options?.dialogConfirmText | localize}}</span>\r\n </button>\r\n</div>\r\n", directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "localize": i3.LocalizePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConfirmationDialogComponent, decorators: [{
|
|
39
39
|
type: Component,
|
|
40
40
|
args: [{ selector: 'confirmation-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div>{{options?.confirmationText | localize}}</div>\r\n\r\n<div [ngClass]=\"options?.cssClasses?.buttonsContainerDiv\">\r\n <button [ngClass]=\"options?.cssClasses?.closeButton\" (click)=\"dialog.close(false)\">\r\n <span [ngClass]=\"options?.cssClasses?.closeButtonIcon\"></span>\r\n <span>{{options?.dialogCancelText | localize}}</span>\r\n </button>\r\n \r\n <button [ngClass]=\"options?.cssClasses?.confirmButton\" (click)=\"dialog.close(true)\">\r\n <span [ngClass]=\"options?.cssClasses?.confirmButtonIcon\"></span>\r\n <span>{{options?.dialogConfirmText | localize}}</span>\r\n </button>\r\n</div>\r\n" }]
|
|
41
41
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
package/es2015/material/src/components/confirmationDialog/confirmationDialog.component.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirmationDialog.component.js","sourceRoot":"","sources":["../../../../../material/src/components/confirmationDialog/confirmationDialog.component.ts","../../../../../material/src/components/confirmationDialog/confirmationDialog.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,eAAe,CAAC;AACnF,OAAO,EAAC,YAAY,EAAC,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AAEtC,OAAO,EAAC,2BAA2B,EAAC,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAC,kBAAkB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"confirmationDialog.component.js","sourceRoot":"","sources":["../../../../../material/src/components/confirmationDialog/confirmationDialog.component.ts","../../../../../material/src/components/confirmationDialog/confirmationDialog.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,eAAe,CAAC;AACnF,OAAO,EAAC,YAAY,EAAC,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AAEtC,OAAO,EAAC,2BAA2B,EAAC,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAC,kBAAkB,EAAC,MAAM,mBAAmB,CAAC;;;;;AAGrD;;;GAGG;AACH,MAAM,cAAc,GACpB;IACI,gBAAgB,EAAE,0BAA0B;IAC5C,gBAAgB,EAAE,IAAI;IACtB,iBAAiB,EAAE,KAAK;IACxB,UAAU,EACV;QACI,mBAAmB,EAAE,kCAAkC;QACvD,WAAW,EAAE,yCAAyC;QACtD,eAAe,EAAE,WAAW;QAC5B,aAAa,EAAE,iBAAiB;QAChC,iBAAiB,EAAE,aAAa;KACnC;CACJ,CAAC;AAEF;;GAEG;AAOH,MAAM,OAAO,2BAA2B;IAUpC,iEAAiE;IACjE,YAAwC,IAA+B,EACpD,MAAwD,EACd,OAAkC;QAD5E,WAAM,GAAN,MAAM,CAAkD;QAGvE,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,IAAI,EAAE,EAAE,EAAE,cAAc,EAAE,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;wHAhBQ,2BAA2B,kBAWhB,kBAAkB,yCAElB,2BAA2B;4GAbtC,2BAA2B,2DCpCxC,6oBAaA;2FDuBa,2BAA2B;kBANvC,SAAS;+BAEI,qBAAqB,mBAEd,uBAAuB,CAAC,MAAM;;0BAalC,MAAM;2BAAC,kBAAkB;;0BAEzB,MAAM;2BAAC,2BAA2B;;0BAAG,QAAQ","sourcesContent":["import {Component, ChangeDetectionStrategy, Inject, Optional} from '@angular/core';\nimport {MatDialogRef} from '@angular/material/dialog';\nimport {extend} from '@jscrpt/common';\n\nimport {CONFIRMATION_DIALOG_OPTIONS} from '../../misc/tokens';\nimport {TITLED_DIALOG_DATA} from '../../misc/tokens';\nimport {ConfirmationDialogOptions} from '../../misc/interfaces/confirmationDialog.interface';\n\n/**\n * Default options for dialog\n * @internal\n */\nconst defaultOptions: ConfirmationDialogOptions =\n{\n confirmationText: 'Do you wish to continue?',\n dialogCancelText: 'No',\n dialogConfirmText: 'Yes',\n cssClasses:\n {\n buttonsContainerDiv: 'flex-row flex-end margin-top-big',\n closeButton: 'btn btn-danger margin-right-extra-small',\n closeButtonIcon: 'fa fa-ban',\n confirmButton: 'btn btn-primary',\n confirmButtonIcon: 'fa fa-check'\n }\n};\n\n/**\n * Confirmation dialog component\n */\n@Component(\n{\n selector: 'confirmation-dialog',\n templateUrl: 'confirmationDialog.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ConfirmationDialogComponent\n{\n //######################### public properties - template bindings #########################\n\n /**\n * Options used for confirmation dialog component\n * @internal\n */\n public options: ConfirmationDialogOptions;\n\n //######################### constructor #########################\n constructor(@Inject(TITLED_DIALOG_DATA) data: ConfirmationDialogOptions,\n public dialog: MatDialogRef<ConfirmationDialogOptions, boolean>,\n @Inject(CONFIRMATION_DIALOG_OPTIONS) @Optional() options: ConfirmationDialogOptions)\n {\n this.options = extend(true, {}, defaultOptions, options ?? {}, data);\n }\n}\n","<div>{{options?.confirmationText | localize}}</div>\r\n\r\n<div [ngClass]=\"options?.cssClasses?.buttonsContainerDiv\">\r\n <button [ngClass]=\"options?.cssClasses?.closeButton\" (click)=\"dialog.close(false)\">\r\n <span [ngClass]=\"options?.cssClasses?.closeButtonIcon\"></span>\r\n <span>{{options?.dialogCancelText | localize}}</span>\r\n </button>\r\n \r\n <button [ngClass]=\"options?.cssClasses?.confirmButton\" (click)=\"dialog.close(true)\">\r\n <span [ngClass]=\"options?.cssClasses?.confirmButtonIcon\"></span>\r\n <span>{{options?.dialogConfirmText | localize}}</span>\r\n </button>\r\n</div>\r\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
+
import { TitledDialogComponent } from '../titledDialog/titledDialog.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/cdk/drag-drop";
|
|
5
|
+
import * as i2 from "../../../../src/directives/ngComponentOutletEx/ngComponentOutletEx.directive";
|
|
6
|
+
import * as i3 from "../../../../src/pipes/localize/localize.pipe";
|
|
7
|
+
/**
|
|
8
|
+
* Component used as wrapper for material dialog enhanced with title, which is movable
|
|
9
|
+
*/
|
|
10
|
+
export class MovableTitledDialogComponent extends TitledDialogComponent {
|
|
11
|
+
}
|
|
12
|
+
MovableTitledDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MovableTitledDialogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
+
MovableTitledDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: MovableTitledDialogComponent, selector: "movable-titled-dialog", usesInheritance: true, ngImport: i0, template: "<div class=\"flex-row titled-dialog-title\"\r\n cdkDrag\r\n cdkDragRootElement=\".cdk-overlay-pane\" \r\n cdkDragHandle>\r\n <div class=\"flex-1\">{{data.title | localize}}</div>\r\n\r\n <div class=\"pointer-cursor align-self-center close-dialog\" (click)=\"dialogRef.close()\">\r\n <div class=\"fa fa-times\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"titled-dialog-content\">\r\n <ng-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>", styles: [".titled-dialog-title\r\n{\r\n padding: 10px;\r\n text-transform: capitalize;\r\n font-size: 14px;\r\n font-weight: bold;\r\n}\r\n.titled-dialog-title .close-dialog\r\n{\r\n margin-left: 10px;\r\n}\r\n\r\n.titled-dialog-content\r\n{\r\n padding: 10px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n}"], directives: [{ type: i1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i2.NgComponentOutletEx, selector: "[ngComponentOutletEx]", inputs: ["ngComponentOutletEx", "ngComponentOutletExInjector", "ngComponentOutletExContent"], outputs: ["ngComponentOutletExCreated"], exportAs: ["ngComponentOutletEx"] }], pipes: { "localize": i3.LocalizePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: MovableTitledDialogComponent, decorators: [{
|
|
15
|
+
type: Component,
|
|
16
|
+
args: [{ selector: 'movable-titled-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"flex-row titled-dialog-title\"\r\n cdkDrag\r\n cdkDragRootElement=\".cdk-overlay-pane\" \r\n cdkDragHandle>\r\n <div class=\"flex-1\">{{data.title | localize}}</div>\r\n\r\n <div class=\"pointer-cursor align-self-center close-dialog\" (click)=\"dialogRef.close()\">\r\n <div class=\"fa fa-times\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"titled-dialog-content\">\r\n <ng-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>", styles: [".titled-dialog-title\r\n{\r\n padding: 10px;\r\n text-transform: capitalize;\r\n font-size: 14px;\r\n font-weight: bold;\r\n}\r\n.titled-dialog-title .close-dialog\r\n{\r\n margin-left: 10px;\r\n}\r\n\r\n.titled-dialog-content\r\n{\r\n padding: 10px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n}"] }]
|
|
17
|
+
}] });
|
|
18
|
+
//# sourceMappingURL=movableTitledDialog.component.js.map
|
package/es2015/material/src/components/movableTitledDialog/movableTitledDialog.component.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"movableTitledDialog.component.js","sourceRoot":"","sources":["../../../../../material/src/components/movableTitledDialog/movableTitledDialog.component.ts","../../../../../material/src/components/movableTitledDialog/movableTitledDialog.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAC,MAAM,eAAe,CAAC;AAEjE,OAAO,EAAC,qBAAqB,EAAC,MAAM,wCAAwC,CAAC;;;;;AAE7E;;GAEG;AAQH,MAAM,OAAO,4BAA6B,SAAQ,qBAAqB;;yHAA1D,4BAA4B;6GAA5B,4BAA4B,oFCdzC,whBAaM;2FDCO,4BAA4B;kBAPxC,SAAS;+BAEI,uBAAuB,mBAGhB,uBAAuB,CAAC,MAAM","sourcesContent":["import {Component, ChangeDetectionStrategy} from '@angular/core';\n\nimport {TitledDialogComponent} from '../titledDialog/titledDialog.component';\n\n/**\n * Component used as wrapper for material dialog enhanced with title, which is movable\n */\n@Component(\n{\n selector: 'movable-titled-dialog',\n templateUrl: 'movableTitledDialog.component.html',\n styleUrls: ['../titledDialog/titledDialog.component.css'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class MovableTitledDialogComponent extends TitledDialogComponent\n{\n}\n","<div class=\"flex-row titled-dialog-title\"\r\n cdkDrag\r\n cdkDragRootElement=\".cdk-overlay-pane\" \r\n cdkDragHandle>\r\n <div class=\"flex-1\">{{data.title | localize}}</div>\r\n\r\n <div class=\"pointer-cursor align-self-center close-dialog\" (click)=\"dialogRef.close()\">\r\n <div class=\"fa fa-times\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"titled-dialog-content\">\r\n <ng-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Component, ChangeDetectionStrategy, Inject, Injector, TemplateRef } from '@angular/core';
|
|
2
2
|
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { TITLED_DIALOG_DATA } from '../../misc/
|
|
3
|
+
import { TITLED_DIALOG_DATA } from '../../misc/tokens';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@angular/material/dialog";
|
|
6
6
|
import * as i2 from "../../../../src/directives/ngComponentOutletEx/ngComponentOutletEx.directive";
|
|
@@ -23,6 +23,9 @@ export class TitledDialogComponent {
|
|
|
23
23
|
parent: injector
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Instance of component that will be rendered in dialog
|
|
28
|
+
*/
|
|
26
29
|
get component() {
|
|
27
30
|
var _a;
|
|
28
31
|
if (((_a = this.data) === null || _a === void 0 ? void 0 : _a.componentOrTemplateRef) instanceof TemplateRef) {
|
|
@@ -31,9 +34,9 @@ export class TitledDialogComponent {
|
|
|
31
34
|
return this.data.componentOrTemplateRef;
|
|
32
35
|
}
|
|
33
36
|
}
|
|
34
|
-
TitledDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
35
|
-
TitledDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
37
|
+
TitledDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TitledDialogComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
38
|
+
TitledDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: TitledDialogComponent, selector: "titled-dialog", ngImport: i0, template: "<div class=\"flex-row titled-dialog-title\">\r\n <div class=\"flex-1\">{{data.title | localize}}</div>\r\n\r\n <div class=\"pointer-cursor align-self-center close-dialog\" (click)=\"dialogRef.close()\">\r\n <div class=\"fa fa-times\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"titled-dialog-content\">\r\n <ng-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>", styles: [".titled-dialog-title\r\n{\r\n padding: 10px;\r\n text-transform: capitalize;\r\n font-size: 14px;\r\n font-weight: bold;\r\n}\r\n.titled-dialog-title .close-dialog\r\n{\r\n margin-left: 10px;\r\n}\r\n\r\n.titled-dialog-content\r\n{\r\n padding: 10px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n}"], directives: [{ type: i2.NgComponentOutletEx, selector: "[ngComponentOutletEx]", inputs: ["ngComponentOutletEx", "ngComponentOutletExInjector", "ngComponentOutletExContent"], outputs: ["ngComponentOutletExCreated"], exportAs: ["ngComponentOutletEx"] }], pipes: { "localize": i3.LocalizePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TitledDialogComponent, decorators: [{
|
|
37
40
|
type: Component,
|
|
38
41
|
args: [{ selector: 'titled-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"flex-row titled-dialog-title\">\r\n <div class=\"flex-1\">{{data.title | localize}}</div>\r\n\r\n <div class=\"pointer-cursor align-self-center close-dialog\" (click)=\"dialogRef.close()\">\r\n <div class=\"fa fa-times\"></div>\r\n </div>\r\n</div>\r\n\r\n<div class=\"titled-dialog-content\">\r\n <ng-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>", styles: [".titled-dialog-title\r\n{\r\n padding: 10px;\r\n text-transform: capitalize;\r\n font-size: 14px;\r\n font-weight: bold;\r\n}\r\n.titled-dialog-title .close-dialog\r\n{\r\n margin-left: 10px;\r\n}\r\n\r\n.titled-dialog-content\r\n{\r\n padding: 10px;\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n}"] }]
|
|
39
42
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -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;AAGvE,OAAO,
|
|
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;AAGvE,OAAO,EAAC,kBAAkB,EAAC,MAAM,mBAAmB,CAAC;;;;;AAGrD;;GAEG;AAQH,MAAM,OAAO,qBAAqB;IAsB9B,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;IA9BD;;OAEG;IACH,IAAW,SAAS;;QAEhB,IAAG,CAAA,MAAA,IAAI,CAAC,IAAI,0CAAE,sBAAsB,aAAY,WAAW,EAC3D;YACI,OAAO,IAAI,CAAC;SACf;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,sBAAsB,CAAC;IAC5C,CAAC;;kHApBQ,qBAAqB,kBAuBV,eAAe;sGAvB1B,qBAAqB,qDCjBlC,gcAUM;2FDOO,qBAAqB;kBAPjC,SAAS;+BAEI,eAAe,mBAGR,uBAAuB,CAAC,MAAM;;0BAyBlC,MAAM;2BAAC,eAAe","sourcesContent":["import {Component, ChangeDetectionStrategy, Inject, Injector, ValueProvider, TemplateRef} from '@angular/core';\nimport {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog';\nimport {ComponentType} from '@angular/cdk/portal';\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 styleUrls: ['titledDialog.component.css'],\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-template [ngComponentOutletEx]=\"component\" [ngComponentOutletExInjector]=\"injector\"></ng-template>\r\n</div>"]}
|
|
@@ -76,9 +76,9 @@ export class ConfirmationDialogDirective {
|
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
ConfirmationDialogDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
80
|
-
ConfirmationDialogDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
79
|
+
ConfirmationDialogDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConfirmationDialogDirective, deps: [{ token: i1.TitledDialogService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
80
|
+
ConfirmationDialogDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: ConfirmationDialogDirective, selector: "[confirmation]", inputs: { confirmationText: ["confirmation", "confirmationText"], confirmationTitle: "confirmationTitle", confirmationConfirm: "confirmationConfirm", confirmationCancel: "confirmationCancel", confirmationCssClasses: "confirmationCssClasses", skipConfirmation: "skipConfirmation", preventDefaultsAndPropagation: "preventDefaultsAndPropagation" }, outputs: { confirm: "confirm" }, host: { listeners: { "click": "click($event)" } }, ngImport: i0 });
|
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: ConfirmationDialogDirective, decorators: [{
|
|
82
82
|
type: Directive,
|
|
83
83
|
args: [{
|
|
84
84
|
selector: '[confirmation]'
|
|
@@ -27,9 +27,9 @@ export class DebugDataCopyClickDirective {
|
|
|
27
27
|
this._clipboard.copy(JSON.stringify(this.data, null, 4));
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
DebugDataCopyClickDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
31
|
-
DebugDataCopyClickDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
30
|
+
DebugDataCopyClickDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DebugDataCopyClickDirective, deps: [{ token: i1.Clipboard }], target: i0.ɵɵFactoryTarget.Directive });
|
|
31
|
+
DebugDataCopyClickDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DebugDataCopyClickDirective, selector: "debug-data[copyClick]", inputs: { data: ["copyClick", "data"] }, host: { listeners: { "click": "copyData()" }, properties: { "class.clickable": "this.clickable" } }, ngImport: i0 });
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DebugDataCopyClickDirective, decorators: [{
|
|
33
33
|
type: Directive,
|
|
34
34
|
args: [{
|
|
35
35
|
selector: 'debug-data[copyClick]'
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
export { TitledDialogModule } from './modules/titledDialog.module';
|
|
2
2
|
export { DebugDataCopyClickModule } from './modules/debugDataCopyClick.module';
|
|
3
|
+
export { MovableTitledDialogModule } from './modules/movableTitledDialog.module';
|
|
3
4
|
export { TitledDialogService } from './services/titledDialog/titledDialog.service';
|
|
4
|
-
export {
|
|
5
|
+
export { TitledDialogServiceOptions } from './services/titledDialog/titledDialogService.options';
|
|
5
6
|
export { ConfirmationDialogModule } from './modules/confirmationDialog.module';
|
|
7
|
+
export { TitledDialogComponent } from './components/titledDialog/titledDialog.component';
|
|
8
|
+
export { MovableTitledDialogComponent } from './components/movableTitledDialog/movableTitledDialog.component';
|
|
6
9
|
export { ConfirmationDialogComponent } from './components/confirmationDialog/confirmationDialog.component';
|
|
7
10
|
export { ConfirmationDialogDirective } from './directives/confirmationDialog/confirmationDialog.directive';
|
|
8
11
|
export { DebugDataCopyClickDirective } from './directives/debugDataCopyClick/debugDataCopyClick.directive';
|
|
9
|
-
export { CONFIRMATION_DIALOG_OPTIONS } from './misc/tokens';
|
|
12
|
+
export { CONFIRMATION_DIALOG_OPTIONS, TITLED_DIALOG_DATA } from './misc/tokens';
|
|
10
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../material/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAC,wBAAwB,EAAC,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAC,mBAAmB,EAAC,MAAM,8CAA8C,CAAC;AACjF,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../material/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAC,wBAAwB,EAAC,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAC,yBAAyB,EAAC,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAC,mBAAmB,EAAC,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAC,0BAA0B,EAAC,MAAM,qDAAqD,CAAC;AAE/F,OAAO,EAAC,wBAAwB,EAAC,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAC,qBAAqB,EAAC,MAAM,kDAAkD,CAAC;AACvF,OAAO,EAAC,4BAA4B,EAAC,MAAM,gEAAgE,CAAC;AAC5G,OAAO,EAAC,2BAA2B,EAAC,MAAM,8DAA8D,CAAC;AACzG,OAAO,EAAC,2BAA2B,EAAC,MAAM,8DAA8D,CAAC;AACzG,OAAO,EAAC,2BAA2B,EAAC,MAAM,8DAA8D,CAAC;AAEzG,OAAO,EAAC,2BAA2B,EAAE,kBAAkB,EAAC,MAAM,eAAe,CAAC","sourcesContent":["export {TitledDialogModule} from './modules/titledDialog.module';\nexport {DebugDataCopyClickModule} from './modules/debugDataCopyClick.module';\nexport {MovableTitledDialogModule} from './modules/movableTitledDialog.module';\nexport {TitledDialogService} from './services/titledDialog/titledDialog.service';\nexport {TitledDialogServiceOptions} from './services/titledDialog/titledDialogService.options';\nexport {TitledDialogConfig} from './misc/interfaces/titledDialog.interface';\nexport {ConfirmationDialogModule} from './modules/confirmationDialog.module';\nexport {TitledDialogComponent} from './components/titledDialog/titledDialog.component';\nexport {MovableTitledDialogComponent} from './components/movableTitledDialog/movableTitledDialog.component';\nexport {ConfirmationDialogComponent} from './components/confirmationDialog/confirmationDialog.component';\nexport {ConfirmationDialogDirective} from './directives/confirmationDialog/confirmationDialog.directive';\nexport {DebugDataCopyClickDirective} from './directives/debugDataCopyClick/debugDataCopyClick.directive';\nexport {ConfirmationDialogOptions, ConfirmationDialogCssClasses} from './misc/interfaces/confirmationDialog.interface';\nexport {CONFIRMATION_DIALOG_OPTIONS, TITLED_DIALOG_DATA} from './misc/tokens';\n"]}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* Injection token that can be used to access the data that was passed in to a titled dialog.
|
|
4
|
-
*/
|
|
5
|
-
export const TITLED_DIALOG_DATA = new InjectionToken('TITLED_DIALOG_DATA');
|
|
1
|
+
export {};
|
|
6
2
|
//# sourceMappingURL=titledDialog.interface.js.map
|