myrta-ui 1.1.13 → 14.0.0-beta.2
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/README.md +1 -0
- package/esm2020/lib/components/alert/alert.component.mjs +3 -3
- package/esm2020/lib/components/alert/alert.module.mjs +5 -5
- package/esm2020/lib/components/badges/badges.module.mjs +5 -7
- package/esm2020/lib/components/badges/components/badge/badge.component.mjs +3 -3
- package/esm2020/lib/components/badges/components/badge-group/badge-group.component.mjs +3 -3
- package/esm2020/lib/components/breadcrumbs/breadcrumbs.component.mjs +3 -3
- package/esm2020/lib/components/breadcrumbs/breadcrumbs.module.mjs +5 -7
- package/esm2020/lib/components/button/button.component.mjs +5 -5
- package/esm2020/lib/components/button/button.module.mjs +5 -5
- package/esm2020/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.mjs +3 -3
- package/esm2020/lib/components/cdk-tooltip/cdk-tooltip.directive.mjs +3 -3
- package/esm2020/lib/components/cdk-tooltip/cdk-tooltip.module.mjs +5 -5
- package/esm2020/lib/components/chars-left/chars-left.component.mjs +3 -3
- package/esm2020/lib/components/chars-left/chars-left.module.mjs +5 -5
- package/esm2020/lib/components/context-menu/components/context-menu/context-menu.component.mjs +5 -27
- package/esm2020/lib/components/context-menu/components/context-menu-content/context-menu-content.component.mjs +7 -26
- package/esm2020/lib/components/context-menu/context-menu.module.mjs +5 -5
- package/esm2020/lib/components/context-menu/directives/context-menu/context-menu.directive.mjs +3 -3
- package/esm2020/lib/components/context-menu/directives/context-menu-item/context-menu-item.directive.mjs +3 -3
- package/esm2020/lib/components/context-menu/services/context-menu/context-menu-fixed.service.mjs +3 -3
- package/esm2020/lib/components/context-menu/services/context-menu/context-menu.service.mjs +3 -3
- package/esm2020/lib/components/dropdown/directives/hide-after-click.directive.mjs +3 -3
- package/esm2020/lib/components/dropdown/dropdown.component.mjs +3 -3
- package/esm2020/lib/components/dropdown/dropdown.module.mjs +5 -5
- package/esm2020/lib/components/error-message/error-message.component.mjs +3 -3
- package/esm2020/lib/components/error-message/error-message.module.mjs +5 -5
- package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +8 -8
- package/esm2020/lib/components/form/checkbox/checkbox.module.mjs +5 -5
- package/esm2020/lib/components/form/checkbox-group/checkbox-group.component.mjs +8 -8
- package/esm2020/lib/components/form/checkbox-group/checkbox-group.module.mjs +11 -13
- package/esm2020/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.mjs +7 -7
- package/esm2020/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.mjs +7 -7
- package/esm2020/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.mjs +5 -5
- package/esm2020/lib/components/form/document-editor/document-editor.component.mjs +8 -8
- package/esm2020/lib/components/form/document-editor/document-editor.module.mjs +9 -11
- package/esm2020/lib/components/form/editor/editor.component.mjs +10 -10
- package/esm2020/lib/components/form/editor/editor.module.mjs +11 -13
- package/esm2020/lib/components/form/input-date-time/input-date-time.component.mjs +8 -8
- package/esm2020/lib/components/form/input-date-time/input-date-time.module.mjs +10 -12
- package/esm2020/lib/components/form/input-datepicker/input-datepicker.component.mjs +8 -8
- package/esm2020/lib/components/form/input-datepicker/input-datepicker.module.mjs +10 -12
- package/esm2020/lib/components/form/input-file/input-file.component.mjs +6 -6
- package/esm2020/lib/components/form/input-file/input-file.module.mjs +5 -5
- package/esm2020/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.mjs +5 -5
- package/esm2020/lib/components/form/input-file-image/input-file-image.component.mjs +5 -5
- package/esm2020/lib/components/form/input-file-image/input-file-image.module.mjs +14 -16
- package/esm2020/lib/components/form/input-number/input-number.component.mjs +7 -7
- package/esm2020/lib/components/form/input-number/input-number.module.mjs +11 -13
- package/esm2020/lib/components/form/input-opt/components/input-opt/input-opt.component.mjs +8 -8
- package/esm2020/lib/components/form/input-opt/directives/opt-pattern.directive.mjs +3 -3
- package/esm2020/lib/components/form/input-opt/input-opt.module.mjs +8 -10
- package/esm2020/lib/components/form/input-opt/services/input-opt.service.mjs +3 -3
- package/esm2020/lib/components/form/input-password/input-password.component.mjs +9 -9
- package/esm2020/lib/components/form/input-password/input-password.module.mjs +10 -12
- package/esm2020/lib/components/form/input-phone/data/country-code.mjs +3 -3
- package/esm2020/lib/components/form/input-phone/directives/native-element-injector.directive.mjs +3 -3
- package/esm2020/lib/components/form/input-phone/input-phone.component.mjs +9 -9
- package/esm2020/lib/components/form/input-phone/input-phone.module.mjs +11 -13
- package/esm2020/lib/components/form/input-search/input-search.component.mjs +9 -9
- package/esm2020/lib/components/form/input-search/input-search.module.mjs +10 -12
- package/esm2020/lib/components/form/input-select/input-select.component.mjs +9 -9
- package/esm2020/lib/components/form/input-select/input-select.module.mjs +11 -13
- package/esm2020/lib/components/form/input-tel/directives/input-tel.directive.mjs +3 -3
- package/esm2020/lib/components/form/input-tel/input-tel.component.mjs +12 -12
- package/esm2020/lib/components/form/input-tel/input-tel.module.mjs +10 -12
- package/esm2020/lib/components/form/input-text/input-text.component.mjs +10 -10
- package/esm2020/lib/components/form/input-text/input-text.module.mjs +11 -13
- package/esm2020/lib/components/form/input-textarea/input-textarea.component.mjs +10 -10
- package/esm2020/lib/components/form/input-textarea/input-textarea.module.mjs +11 -13
- package/esm2020/lib/components/form/input-timepicker/input-timepicker.component.mjs +9 -9
- package/esm2020/lib/components/form/input-timepicker/input-timepicker.module.mjs +10 -12
- package/esm2020/lib/components/form/radio/radio.component.mjs +6 -6
- package/esm2020/lib/components/form/radio/radio.module.mjs +5 -5
- package/esm2020/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.mjs +7 -7
- package/esm2020/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.mjs +7 -7
- package/esm2020/lib/components/form/radio-group/radio-group.component.mjs +10 -10
- package/esm2020/lib/components/form/radio-group/radio-group.module.mjs +11 -13
- package/esm2020/lib/components/form/rating/rating.component.mjs +6 -6
- package/esm2020/lib/components/form/rating/rating.module.mjs +6 -8
- package/esm2020/lib/components/form/switch/switch.component.mjs +7 -7
- package/esm2020/lib/components/form/switch/switch.module.mjs +5 -5
- package/esm2020/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.mjs +5 -5
- package/esm2020/lib/components/gallery/components/gallery-item/gallery-item.component.mjs +7 -7
- package/esm2020/lib/components/gallery/gallery.component.mjs +6 -6
- package/esm2020/lib/components/gallery/gallery.module.mjs +11 -13
- package/esm2020/lib/components/gallery/services/gallery.service.mjs +3 -3
- package/esm2020/lib/components/hint-error-message/hint-error-message.component.mjs +3 -3
- package/esm2020/lib/components/hint-error-message/hint-error-message.module.mjs +5 -5
- package/esm2020/lib/components/icon-button/icon-button.component.mjs +3 -3
- package/esm2020/lib/components/icon-button/icon-button.module.mjs +5 -5
- package/esm2020/lib/components/label/label.component.mjs +12 -12
- package/esm2020/lib/components/label/label.module.mjs +5 -5
- package/esm2020/lib/components/link/link.component.mjs +3 -3
- package/esm2020/lib/components/link/link.module.mjs +5 -5
- package/esm2020/lib/components/loader/loader.component.mjs +3 -3
- package/esm2020/lib/components/loader/loader.module.mjs +5 -5
- package/esm2020/lib/components/modal/modal.component.mjs +6 -6
- package/esm2020/lib/components/modal/modal.module.mjs +5 -5
- package/esm2020/lib/components/pages-nav/pages-nav.component.mjs +3 -3
- package/esm2020/lib/components/pages-nav/pages-nav.module.mjs +5 -7
- package/esm2020/lib/components/paginator/paginator.component.mjs +6 -6
- package/esm2020/lib/components/paginator/paginator.module.mjs +7 -9
- package/esm2020/lib/components/progress/progress.component.mjs +3 -3
- package/esm2020/lib/components/progress/progress.module.mjs +5 -5
- package/esm2020/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.mjs +3 -3
- package/esm2020/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.mjs +3 -3
- package/esm2020/lib/components/save-state/components/save-state-editor/save-state-editor.component.mjs +3 -3
- package/esm2020/lib/components/save-state/components/save-state-input/save-state-input.component.mjs +3 -3
- package/esm2020/lib/components/save-state/components/save-state-switch/save-state-switch.component.mjs +3 -3
- package/esm2020/lib/components/save-state/save-state.component.mjs +10 -10
- package/esm2020/lib/components/save-state/save-state.module.mjs +5 -7
- package/esm2020/lib/components/stepper/stepper.component.mjs +5 -5
- package/esm2020/lib/components/stepper/stepper.module.mjs +5 -5
- package/esm2020/lib/components/table/components/column/column.component.mjs +3 -3
- package/esm2020/lib/components/table/table.component.mjs +7 -7
- package/esm2020/lib/components/table/table.module.mjs +10 -12
- package/esm2020/lib/components/tabs/tab/tab.component.mjs +3 -3
- package/esm2020/lib/components/tabs/tabs-group/tabs-group.component.mjs +3 -3
- package/esm2020/lib/components/tabs/tabs.module.mjs +5 -5
- package/esm2020/lib/components/tooltip/services/tooltip.service.mjs +3 -3
- package/esm2020/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.mjs +3 -3
- package/esm2020/lib/components/tooltip/tooltip.component.mjs +3 -3
- package/esm2020/lib/components/tooltip/tooltip.module.mjs +5 -5
- package/esm2020/lib/components/truncate-text/directives/truncate-text.directive.mjs +3 -3
- package/esm2020/lib/components/truncate-text/truncate-text.component.mjs +6 -6
- package/esm2020/lib/components/truncate-text/truncate-text.module.mjs +5 -5
- package/esm2020/lib/components/warning-message/warning-message.component.mjs +3 -3
- package/esm2020/lib/components/warning-message/warning-message.module.mjs +5 -5
- package/esm2020/lib/components/wrappers/content-wrapper/content-wrapper.component.mjs +3 -3
- package/esm2020/lib/components/wrappers/content-wrapper/content-wrapper.module.mjs +5 -5
- package/esm2020/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.mjs +3 -3
- package/esm2020/lib/components/wrappers/controls-wrapper/controls-wrapper.component.mjs +3 -3
- package/esm2020/lib/components/wrappers/controls-wrapper/controls-wrapper.module.mjs +5 -5
- package/esm2020/lib/components/wrappers/widget-wrapper/widget-wrapper.component.mjs +4 -4
- package/esm2020/lib/components/wrappers/widget-wrapper/widget-wrapper.module.mjs +5 -7
- package/esm2020/lib/directives/autosize/autosize.directive.mjs +3 -3
- package/esm2020/lib/directives/autosize/autosize.module.mjs +5 -7
- package/esm2020/lib/directives/truncate/truncate.directive.mjs +3 -3
- package/esm2020/lib/directives/truncate/truncate.module.mjs +5 -5
- package/esm2020/lib/enums/typed.input.state.mjs +1 -1
- package/esm2020/lib/pipes/currency/currency.module.mjs +5 -7
- package/esm2020/lib/pipes/currency/currency.pipe.mjs +3 -3
- package/esm2020/lib/pipes/date/date-format.module.mjs +5 -5
- package/esm2020/lib/pipes/date/date-format.pipe.mjs +3 -3
- package/esm2020/lib/pipes/date/date-time-format.pipe.mjs +3 -3
- package/esm2020/lib/pipes/phone/phone-format.module.mjs +5 -5
- package/esm2020/lib/pipes/phone/phone-format.pipe.mjs +3 -3
- package/esm2020/lib/pipes/safe/safe.module.mjs +5 -7
- package/esm2020/lib/pipes/safe/safe.pipe.mjs +3 -3
- package/esm2020/lib/pipes/truncate/truncate.module.mjs +5 -7
- package/esm2020/lib/pipes/truncate/truncate.pipe.mjs +3 -3
- package/esm2020/lib/services/file-upload/file-upload.service.mjs +3 -3
- package/esm2020/lib/services/mrx-autosave/mrx-autosave.service.mjs +3 -3
- package/esm2020/lib/services/save-store/save-store.module.mjs +7 -9
- package/esm2020/lib/services/save-store/store/effect.mjs +3 -3
- package/fesm2015/myrta-ui.mjs +830 -933
- package/fesm2015/myrta-ui.mjs.map +1 -1
- package/fesm2020/myrta-ui.mjs +830 -933
- package/fesm2020/myrta-ui.mjs.map +1 -1
- package/lib/components/alert/alert.component.d.ts +1 -1
- package/lib/components/badges/components/badge/badge.component.d.ts +1 -1
- package/lib/components/badges/components/badge-group/badge-group.component.d.ts +1 -1
- package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +1 -1
- package/lib/components/button/button.component.d.ts +1 -1
- package/lib/components/cdk-tooltip/cdk-tooltip/tooltip-container.component.d.ts +1 -1
- package/lib/components/cdk-tooltip/cdk-tooltip.directive.d.ts +1 -1
- package/lib/components/chars-left/chars-left.component.d.ts +1 -1
- package/lib/components/context-menu/components/context-menu/context-menu.component.d.ts +1 -1
- package/lib/components/context-menu/components/context-menu-content/context-menu-content.component.d.ts +1 -1
- package/lib/components/context-menu/directives/context-menu/context-menu.directive.d.ts +1 -1
- package/lib/components/context-menu/directives/context-menu-item/context-menu-item.directive.d.ts +1 -1
- package/lib/components/dropdown/directives/hide-after-click.directive.d.ts +1 -1
- package/lib/components/dropdown/dropdown.component.d.ts +1 -1
- package/lib/components/error-message/error-message.component.d.ts +1 -1
- package/lib/components/form/checkbox/checkbox.component.d.ts +1 -1
- package/lib/components/form/checkbox-group/checkbox-group.component.d.ts +1 -1
- package/lib/components/form/checkbox-group/components/checkbox-group-header/checkbox-group-header.component.d.ts +1 -1
- package/lib/components/form/checkbox-group/components/checkbox-group-item/checkbox-group-item.component.d.ts +1 -1
- package/lib/components/form/document-editor/components/document-editor-preview-modal/document-editor-preview-modal.component.d.ts +1 -1
- package/lib/components/form/document-editor/document-editor.component.d.ts +1 -1
- package/lib/components/form/editor/editor.component.d.ts +1 -1
- package/lib/components/form/input-date-time/input-date-time.component.d.ts +1 -1
- package/lib/components/form/input-datepicker/input-datepicker.component.d.ts +1 -1
- package/lib/components/form/input-file/input-file.component.d.ts +1 -1
- package/lib/components/form/input-file-image/components/file-image-edit-modal/file-image-edit-modal.component.d.ts +1 -1
- package/lib/components/form/input-file-image/input-file-image.component.d.ts +1 -1
- package/lib/components/form/input-number/input-number.component.d.ts +2 -2
- package/lib/components/form/input-opt/components/input-opt/input-opt.component.d.ts +3 -3
- package/lib/components/form/input-opt/directives/opt-pattern.directive.d.ts +1 -1
- package/lib/components/form/input-password/input-password.component.d.ts +1 -1
- package/lib/components/form/input-phone/directives/native-element-injector.directive.d.ts +1 -1
- package/lib/components/form/input-phone/input-phone.component.d.ts +1 -1
- package/lib/components/form/input-search/input-search.component.d.ts +1 -1
- package/lib/components/form/input-select/input-select.component.d.ts +1 -1
- package/lib/components/form/input-tel/directives/input-tel.directive.d.ts +1 -1
- package/lib/components/form/input-tel/input-tel.component.d.ts +1 -1
- package/lib/components/form/input-text/input-text.component.d.ts +1 -1
- package/lib/components/form/input-textarea/input-textarea.component.d.ts +1 -1
- package/lib/components/form/input-timepicker/input-timepicker.component.d.ts +1 -1
- package/lib/components/form/radio/radio.component.d.ts +1 -1
- package/lib/components/form/radio-group/components/radio-group-header/radio-group-header.component.d.ts +1 -1
- package/lib/components/form/radio-group/components/radio-group-item/radio-group-item.component.d.ts +1 -1
- package/lib/components/form/radio-group/radio-group.component.d.ts +1 -1
- package/lib/components/form/rating/rating.component.d.ts +1 -1
- package/lib/components/form/switch/switch.component.d.ts +1 -1
- package/lib/components/gallery/components/gallery-confirm-modal/gallery-confirm-modal.component.d.ts +1 -1
- package/lib/components/gallery/components/gallery-item/gallery-item.component.d.ts +1 -1
- package/lib/components/gallery/gallery.component.d.ts +1 -1
- package/lib/components/hint-error-message/hint-error-message.component.d.ts +1 -1
- package/lib/components/icon-button/icon-button.component.d.ts +1 -1
- package/lib/components/label/label.component.d.ts +1 -1
- package/lib/components/link/link.component.d.ts +1 -1
- package/lib/components/loader/loader.component.d.ts +1 -1
- package/lib/components/modal/modal.component.d.ts +1 -1
- package/lib/components/pages-nav/pages-nav.component.d.ts +1 -1
- package/lib/components/paginator/paginator.component.d.ts +1 -1
- package/lib/components/progress/progress.component.d.ts +1 -1
- package/lib/components/save-state/components/save-state-checkbox/save-state-checkbox.component.d.ts +1 -1
- package/lib/components/save-state/components/save-state-checkbox-group/save-state-checkbox-group.component.d.ts +1 -1
- package/lib/components/save-state/components/save-state-editor/save-state-editor.component.d.ts +1 -1
- package/lib/components/save-state/components/save-state-input/save-state-input.component.d.ts +1 -1
- package/lib/components/save-state/components/save-state-switch/save-state-switch.component.d.ts +1 -1
- package/lib/components/save-state/save-state.component.d.ts +1 -1
- package/lib/components/stepper/stepper.component.d.ts +1 -1
- package/lib/components/table/components/column/column.component.d.ts +1 -1
- package/lib/components/table/table.component.d.ts +1 -1
- package/lib/components/tabs/tab/tab.component.d.ts +1 -1
- package/lib/components/tabs/tabs-group/tabs-group.component.d.ts +1 -1
- package/lib/components/tooltip/tooltip-trigger/tooltip-trigger.component.d.ts +1 -1
- package/lib/components/tooltip/tooltip.component.d.ts +1 -1
- package/lib/components/truncate-text/directives/truncate-text.directive.d.ts +1 -1
- package/lib/components/truncate-text/truncate-text.component.d.ts +1 -1
- package/lib/components/warning-message/warning-message.component.d.ts +1 -1
- package/lib/components/wrappers/content-wrapper/content-wrapper.component.d.ts +1 -1
- package/lib/components/wrappers/controls-wrapper/components/controls-item/controls-item.component.d.ts +1 -1
- package/lib/components/wrappers/controls-wrapper/controls-wrapper.component.d.ts +1 -1
- package/lib/components/wrappers/widget-wrapper/widget-wrapper.component.d.ts +1 -1
- package/lib/directives/autosize/autosize.directive.d.ts +1 -1
- package/lib/directives/truncate/truncate.directive.d.ts +1 -1
- package/lib/pipes/currency/currency.pipe.d.ts +1 -1
- package/lib/pipes/date/date-format.pipe.d.ts +1 -1
- package/lib/pipes/date/date-time-format.pipe.d.ts +1 -1
- package/lib/pipes/phone/phone-format.pipe.d.ts +1 -1
- package/lib/pipes/safe/safe.pipe.d.ts +1 -1
- package/lib/pipes/truncate/truncate.pipe.d.ts +1 -1
- package/package.json +16 -16
- /package/{myrta-ui.d.ts → index.d.ts} +0 -0
|
@@ -10,23 +10,21 @@ import { SaveStateModule } from '../../save-state/save-state.module';
|
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export class InputTelModule {
|
|
12
12
|
}
|
|
13
|
-
InputTelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
InputTelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
13
|
+
InputTelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputTelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14
|
+
InputTelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: InputTelModule, declarations: [InputTelComponent,
|
|
15
15
|
MaskedInputTelDirective], imports: [CommonModule,
|
|
16
16
|
FormsModule,
|
|
17
17
|
DropdownModule,
|
|
18
18
|
ErrorMessageModule,
|
|
19
19
|
NgxMaskModule,
|
|
20
20
|
SaveStateModule], exports: [InputTelComponent] });
|
|
21
|
-
InputTelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
]] });
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: InputTelModule, decorators: [{
|
|
21
|
+
InputTelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputTelModule, imports: [CommonModule,
|
|
22
|
+
FormsModule,
|
|
23
|
+
DropdownModule,
|
|
24
|
+
ErrorMessageModule,
|
|
25
|
+
NgxMaskModule,
|
|
26
|
+
SaveStateModule] });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputTelModule, decorators: [{
|
|
30
28
|
type: NgModule,
|
|
31
29
|
args: [{
|
|
32
30
|
declarations: [
|
|
@@ -46,4 +44,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
46
44
|
]
|
|
47
45
|
}]
|
|
48
46
|
}] });
|
|
49
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdGVsLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4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xuICAgIE1hc2tlZElucHV0VGVsRGlyZWN0aXZlXHJcbiAgXSxcclxuICBpbXBvcnRzOiBbXHJcbiAgICBDb21tb25Nb2R1bGUsXHJcbiAgICBGb3Jtc01vZHVsZSxcclxuICAgIERyb3Bkb3duTW9kdWxlLFxyXG4gICAgRXJyb3JNZXNzYWdlTW9kdWxlLFxyXG4gICAgTmd4TWFza01vZHVsZSxcclxuICAgIFNhdmVTdGF0ZU1vZHVsZSxcclxuICBdLFxyXG4gIGV4cG9ydHM6IFtcclxuICAgIElucHV0VGVsQ29tcG9uZW50XHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgSW5wdXRUZWxNb2R1bGUgeyB9XHJcbiJdfQ==
|
|
@@ -3,12 +3,12 @@ import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
|
3
3
|
import { InputTextIconColorEnum, InputTextSizesEnum } from './input-text.enum';
|
|
4
4
|
import { v4 as uuidv4 } from 'uuid';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "
|
|
7
|
-
import * as i2 from "
|
|
8
|
-
import * as i3 from "../../
|
|
9
|
-
import * as i4 from "../../
|
|
10
|
-
import * as i5 from "
|
|
11
|
-
import * as i6 from "
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i2 from "@angular/forms";
|
|
8
|
+
import * as i3 from "../../chars-left/chars-left.component";
|
|
9
|
+
import * as i4 from "../../error-message/error-message.component";
|
|
10
|
+
import * as i5 from "../../save-state/save-state.component";
|
|
11
|
+
import * as i6 from "../../cdk-tooltip/cdk-tooltip.directive";
|
|
12
12
|
import * as i7 from "ngx-mask";
|
|
13
13
|
export class InputTextComponent {
|
|
14
14
|
constructor() {
|
|
@@ -124,15 +124,15 @@ export class InputTextComponent {
|
|
|
124
124
|
this.blurred.emit({ value: this.formatValue(this.value), id: this.uuid });
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
InputTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
128
|
-
InputTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
127
|
+
InputTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
128
|
+
InputTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: InputTextComponent, selector: "mrx-input-text", inputs: { fields: "fields", disabled: "disabled", required: "required", readonly: "readonly", maxlength: "maxlength", minlength: "minlength", placeholder: "placeholder", customClasses: "customClasses", size: "size", isTooltipValue: "isTooltipValue", icon: "icon", iconColor: "iconColor", invalid: "invalid", invalidMessage: "invalidMessage", checkInvalid: "checkInvalid", restrictInput: "restrictInput", mask: "mask", maskPrefix: "maskPrefix", showMaskTyped: "showMaskTyped", maskDropSpecialCharacters: "maskDropSpecialCharacters" }, outputs: { changed: "changed", blurred: "blurred", modelChange: "modelChange" }, providers: [
|
|
129
129
|
{
|
|
130
130
|
provide: NG_VALUE_ACCESSOR,
|
|
131
131
|
useExisting: forwardRef(() => InputTextComponent),
|
|
132
132
|
multi: true,
|
|
133
133
|
},
|
|
134
|
-
], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true }], ngImport: i0, template: "<div\r\n class=\"mrx-input-text\"\r\n [class]=\"getClasses\"\r\n [class.mrx-input-error]=\"getInvalid\"\r\n [class.mrx-input-text-with-icon]=\"icon\"\r\n [class.-disabled]=\"disabled\"\r\n [class.-readonly]=\"readonly\"\r\n [mrxCdkTooltip]=\"getTooltipValue\"\r\n [tooltipPosition]=\"'top-start'\"\r\n>\r\n <div class=\"mrx-input-text__wrapper\">\r\n <span *ngIf=\"icon\" class=\"mrx-icon mrx-input-text-icon\" [class]=\"getIconClass\"></span>\r\n\r\n <input\r\n autocomplete=\"nope\"\r\n #inputElement\r\n [type]=\"'text'\"\r\n [id]=\"uuid\"\r\n [ngModel]=\"value\"\r\n [title]=\"placeholder || ''\"\r\n [disabled]=\"disabled\"\r\n [readOnly]=\"readonly\"\r\n [placeholder]=\"!disabled && placeholder ? placeholder : ''\"\r\n [mask]=\"mask\"\r\n [prefix]=\"maskPrefix\"\r\n [showMaskTyped]=\"showMaskTyped\"\r\n [dropSpecialCharacters]=\"maskDropSpecialCharacters\"\r\n [minlength]=\"minlength > 0 && restrictInput ? minlength : null\"\r\n [maxlength]=\"maxlength > 0 && restrictInput ? maxlength : null\"\r\n (ngModelChange)=\"updateValue($event)\"\r\n (blur)=\"onBlur($event)\"\r\n />\r\n\r\n <mrx-chars-left\r\n *ngIf=\"!disabled && maxlength\"\r\n [value]=\"value\"\r\n [maxlength]=\"maxlength\"\r\n ></mrx-chars-left>\r\n </div>\r\n\r\n <mrx-error-message\r\n *ngIf=\"getInvalid && getInvalidMessage\"\r\n [invalidMessage]=\"getInvalidMessage\"\r\n ></mrx-error-message>\r\n\r\n <mrx-save-state [id]=\"uuid\" [fields]=\"fields\"></mrx-save-state>\r\n</div>\r\n", styles: [".mrx-input-text{width:100%;position:relative}.mrx-input-text .mrx-input-text__wrapper{position:relative}.mrx-input-text input{box-sizing:border-box;border:var(--border-width-default) solid var(--neutral-bg-stroke-default);border-radius:var(--border-radius-1);width:100%;outline:none;color:var(--neutral-text-primary, #262626);transition:outline-width .2s,border .2s}.mrx-input-text input:focus,.mrx-input-text input:active{outline:var(--neutral-bg-island-default) solid var(--border-width-focused)}.mrx-input-text input:hover{border:var(--border-width-default) solid var(--neutral-bg-stroke-hover)}.mrx-input-text input::-webkit-input-placeholder{color:var(--neutral-text-tertiary)}.mrx-input-text input::-moz-placeholder{color:var(--neutral-text-tertiary)}.mrx-input-text input:-ms-input-placeholder{color:var(--neutral-text-tertiary)}.mrx-input-text input:-moz-placeholder{color:var(--neutral-text-tertiary)}.mrx-input-text.mrx-input-text-lg input{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-input-text.mrx-input-text-lg:not(.mrx-input-text-with-icon) input{padding:calc(var(--spacing-3) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4)}.mrx-input-text.mrx-input-text-lg.mrx-input-text-with-icon input{padding:calc(var(--spacing-3) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4) calc(var(--spacing-3) + var(--spacing-half) - var(--border-width-default)) calc(var(--spacing-module) * 10)}.mrx-input-text.mrx-input-text-md input{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-input-text.mrx-input-text-md:not(.mrx-input-text-with-icon) input{padding:calc(var(--spacing-2) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4)}.mrx-input-text.mrx-input-text-md.mrx-input-text-with-icon input{padding:calc(var(--spacing-2) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4) calc(var(--spacing-2) + var(--spacing-half) - var(--border-width-default)) calc(var(--spacing-module) * 10)}.mrx-input-text.mrx-input-text-sm input{font-family:var(--body-sm-font-family);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height)}.mrx-input-text.mrx-input-text-sm:not(.mrx-input-text-with-icon) input{padding:calc(var(--spacing-2) - var(--border-width-default)) var(--spacing-4)}.mrx-input-text.mrx-input-text-sm.mrx-input-text-with-icon input{padding:calc(var(--spacing-2) - var(--border-width-default)) var(--spacing-4) calc(var(--spacing-2) - var(--border-width-default)) var(--spacing-8)}.mrx-input-text.mrx-input-error input{border-color:var(--system-bg-controls-negative-default)}.mrx-input-text.mrx-input-error input:hover{border:var(--border-width-default) solid var(--system-bg-controls-negative-default)}.mrx-input-text.mrx-input-checked-error input{border-color:var(--system-bg-controls-negative-default);background-color:var(--system-bg-negative-secondary)}.mrx-input-text.mrx-input-checked-error input:hover{border:var(--border-width-default) solid var(--system-bg-controls-negative-default)}.mrx-input-text.mrx-input-checked-success input{background-color:var(--system-bg-positive-secondary);border-color:var(--system-bg-controls-positive-default)}.mrx-input-text.mrx-input-checked-success input:hover{border:var(--border-width-default) solid var(--system-bg-controls-positive-default)}.mrx-input-text.mrx-input-text-with-icon.mrx-input-text-lg .mrx-input-text-icon{position:absolute;top:calc(var(--spacing-3) - 1px);left:calc(var(--spacing-3) - 1px)}.mrx-input-text.mrx-input-text-with-icon.mrx-input-text-md .mrx-input-text-icon,.mrx-input-text.mrx-input-text-with-icon.mrx-input-text-sm .mrx-input-text-icon{position:absolute;top:calc(var(--spacing-2) - 1px);left:calc(var(--spacing-2) - 1px)}.mrx-input-text.-disabled input{background-color:var(--neutral-bg-disabled, #EEF0F4);color:var(--neutral-text-tertiary, #71767E)}.mrx-input-text.-readonly input{background-color:var(--neutral-bg-disabled, #EEF0F4);color:var(--neutral-text-primary, #262626)}\n"],
|
|
135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
134
|
+
], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true }], ngImport: i0, template: "<div\r\n class=\"mrx-input-text\"\r\n [class]=\"getClasses\"\r\n [class.mrx-input-error]=\"getInvalid\"\r\n [class.mrx-input-text-with-icon]=\"icon\"\r\n [class.-disabled]=\"disabled\"\r\n [class.-readonly]=\"readonly\"\r\n [mrxCdkTooltip]=\"getTooltipValue\"\r\n [tooltipPosition]=\"'top-start'\"\r\n>\r\n <div class=\"mrx-input-text__wrapper\">\r\n <span *ngIf=\"icon\" class=\"mrx-icon mrx-input-text-icon\" [class]=\"getIconClass\"></span>\r\n\r\n <input\r\n autocomplete=\"nope\"\r\n #inputElement\r\n [type]=\"'text'\"\r\n [id]=\"uuid\"\r\n [ngModel]=\"value\"\r\n [title]=\"placeholder || ''\"\r\n [disabled]=\"disabled\"\r\n [readOnly]=\"readonly\"\r\n [placeholder]=\"!disabled && placeholder ? placeholder : ''\"\r\n [mask]=\"mask\"\r\n [prefix]=\"maskPrefix\"\r\n [showMaskTyped]=\"showMaskTyped\"\r\n [dropSpecialCharacters]=\"maskDropSpecialCharacters\"\r\n [minlength]=\"minlength > 0 && restrictInput ? minlength : null\"\r\n [maxlength]=\"maxlength > 0 && restrictInput ? maxlength : null\"\r\n (ngModelChange)=\"updateValue($event)\"\r\n (blur)=\"onBlur($event)\"\r\n />\r\n\r\n <mrx-chars-left\r\n *ngIf=\"!disabled && maxlength\"\r\n [value]=\"value\"\r\n [maxlength]=\"maxlength\"\r\n ></mrx-chars-left>\r\n </div>\r\n\r\n <mrx-error-message\r\n *ngIf=\"getInvalid && getInvalidMessage\"\r\n [invalidMessage]=\"getInvalidMessage\"\r\n ></mrx-error-message>\r\n\r\n <mrx-save-state [id]=\"uuid\" [fields]=\"fields\"></mrx-save-state>\r\n</div>\r\n", styles: [".mrx-input-text{width:100%;position:relative}.mrx-input-text .mrx-input-text__wrapper{position:relative}.mrx-input-text input{box-sizing:border-box;border:var(--border-width-default) solid var(--neutral-bg-stroke-default);border-radius:var(--border-radius-1);width:100%;outline:none;color:var(--neutral-text-primary, #262626);transition:outline-width .2s,border .2s}.mrx-input-text input:focus,.mrx-input-text input:active{outline:var(--neutral-bg-island-default) solid var(--border-width-focused)}.mrx-input-text input:hover{border:var(--border-width-default) solid var(--neutral-bg-stroke-hover)}.mrx-input-text input::-webkit-input-placeholder{color:var(--neutral-text-tertiary)}.mrx-input-text input::-moz-placeholder{color:var(--neutral-text-tertiary)}.mrx-input-text input:-ms-input-placeholder{color:var(--neutral-text-tertiary)}.mrx-input-text input:-moz-placeholder{color:var(--neutral-text-tertiary)}.mrx-input-text.mrx-input-text-lg input{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-input-text.mrx-input-text-lg:not(.mrx-input-text-with-icon) input{padding:calc(var(--spacing-3) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4)}.mrx-input-text.mrx-input-text-lg.mrx-input-text-with-icon input{padding:calc(var(--spacing-3) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4) calc(var(--spacing-3) + var(--spacing-half) - var(--border-width-default)) calc(var(--spacing-module) * 10)}.mrx-input-text.mrx-input-text-md input{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-input-text.mrx-input-text-md:not(.mrx-input-text-with-icon) input{padding:calc(var(--spacing-2) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4)}.mrx-input-text.mrx-input-text-md.mrx-input-text-with-icon input{padding:calc(var(--spacing-2) + var(--spacing-half) - var(--border-width-default)) var(--spacing-4) calc(var(--spacing-2) + var(--spacing-half) - var(--border-width-default)) calc(var(--spacing-module) * 10)}.mrx-input-text.mrx-input-text-sm input{font-family:var(--body-sm-font-family);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height)}.mrx-input-text.mrx-input-text-sm:not(.mrx-input-text-with-icon) input{padding:calc(var(--spacing-2) - var(--border-width-default)) var(--spacing-4)}.mrx-input-text.mrx-input-text-sm.mrx-input-text-with-icon input{padding:calc(var(--spacing-2) - var(--border-width-default)) var(--spacing-4) calc(var(--spacing-2) - var(--border-width-default)) var(--spacing-8)}.mrx-input-text.mrx-input-error input{border-color:var(--system-bg-controls-negative-default)}.mrx-input-text.mrx-input-error input:hover{border:var(--border-width-default) solid var(--system-bg-controls-negative-default)}.mrx-input-text.mrx-input-checked-error input{border-color:var(--system-bg-controls-negative-default);background-color:var(--system-bg-negative-secondary)}.mrx-input-text.mrx-input-checked-error input:hover{border:var(--border-width-default) solid var(--system-bg-controls-negative-default)}.mrx-input-text.mrx-input-checked-success input{background-color:var(--system-bg-positive-secondary);border-color:var(--system-bg-controls-positive-default)}.mrx-input-text.mrx-input-checked-success input:hover{border:var(--border-width-default) solid var(--system-bg-controls-positive-default)}.mrx-input-text.mrx-input-text-with-icon.mrx-input-text-lg .mrx-input-text-icon{position:absolute;top:calc(var(--spacing-3) - 1px);left:calc(var(--spacing-3) - 1px)}.mrx-input-text.mrx-input-text-with-icon.mrx-input-text-md .mrx-input-text-icon,.mrx-input-text.mrx-input-text-with-icon.mrx-input-text-sm .mrx-input-text-icon{position:absolute;top:calc(var(--spacing-2) - 1px);left:calc(var(--spacing-2) - 1px)}.mrx-input-text.-disabled input{background-color:var(--neutral-bg-disabled, #EEF0F4);color:var(--neutral-text-tertiary, #71767E)}.mrx-input-text.-readonly input{background-color:var(--neutral-bg-disabled, #EEF0F4);color:var(--neutral-text-primary, #262626)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.MinLengthValidator, selector: "[minlength][formControlName],[minlength][formControl],[minlength][ngModel]", inputs: ["minlength"] }, { kind: "directive", type: i2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.CharsLeftComponent, selector: "mrx-chars-left", inputs: ["maxlength", "valueLength", "value"] }, { kind: "component", type: i4.ErrorMessageComponent, selector: "mrx-error-message", inputs: ["invalid", "invalidMessage", "customClasses"] }, { kind: "component", type: i5.SaveStateComponent, selector: "mrx-save-state", inputs: ["type", "fields", "id"] }, { kind: "directive", type: i6.CdkTooltipDirective, selector: "[mrxCdkTooltip]", inputs: ["mrxCdkTooltip", "tooltipActive", "autoCloseByScroll", "tooltipPosition", "tooltipMaxWidth"] }, { kind: "directive", type: i7.NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions"], outputs: ["maskFilled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputTextComponent, decorators: [{
|
|
136
136
|
type: Component,
|
|
137
137
|
args: [{ selector: 'mrx-input-text', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
138
138
|
{
|
|
@@ -16,23 +16,21 @@ const maskConfigFunction = () => {
|
|
|
16
16
|
};
|
|
17
17
|
export class InputTextModule {
|
|
18
18
|
}
|
|
19
|
-
InputTextModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
InputTextModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
19
|
+
InputTextModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputTextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20
|
+
InputTextModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: InputTextModule, declarations: [InputTextComponent], imports: [CommonModule,
|
|
21
21
|
FormsModule,
|
|
22
22
|
CharsLeftModule,
|
|
23
23
|
ErrorMessageModule,
|
|
24
24
|
SaveStateModule,
|
|
25
25
|
CdkTooltipModule, i1.NgxMaskModule], exports: [InputTextComponent] });
|
|
26
|
-
InputTextModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
]] });
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: InputTextModule, decorators: [{
|
|
26
|
+
InputTextModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputTextModule, imports: [CommonModule,
|
|
27
|
+
FormsModule,
|
|
28
|
+
CharsLeftModule,
|
|
29
|
+
ErrorMessageModule,
|
|
30
|
+
SaveStateModule,
|
|
31
|
+
CdkTooltipModule,
|
|
32
|
+
NgxMaskModule.forRoot(maskConfigFunction)] });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputTextModule, decorators: [{
|
|
36
34
|
type: NgModule,
|
|
37
35
|
args: [{
|
|
38
36
|
declarations: [InputTextComponent],
|
|
@@ -48,4 +46,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
48
46
|
exports: [InputTextComponent],
|
|
49
47
|
}]
|
|
50
48
|
}] });
|
|
51
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
49
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdGV4dC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9pbnB1dC10ZXh0L2lucHV0LXRleHQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0F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mV0dXJuIHtcclxuICAgIHZhbGlkYXRpb246IGZhbHNlLFxyXG4gIH07XHJcbn07XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW0lucHV0VGV4dENvbXBvbmVudF0sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgRm9ybXNNb2R1bGUsXHJcbiAgICBDaGFyc0xlZnRNb2R1bGUsXHJcbiAgICBFcnJvck1lc3NhZ2VNb2R1bGUsXHJcbiAgICBTYXZlU3RhdGVNb2R1bGUsXHJcbiAgICBDZGtUb29sdGlwTW9kdWxlLFxyXG4gICAgTmd4TWFza01vZHVsZS5mb3JSb290KG1hc2tDb25maWdGdW5jdGlvbilcclxuICBdLFxyXG4gIGV4cG9ydHM6IFtJbnB1dFRleHRDb21wb25lbnRdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgSW5wdXRUZXh0TW9kdWxlIHt9XHJcbiJdfQ==
|
|
@@ -3,12 +3,12 @@ import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
|
3
3
|
import { InputTextareaSizesEnum } from './input-textarea.enum';
|
|
4
4
|
import { v4 as uuidv4 } from 'uuid';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "
|
|
7
|
-
import * as i2 from "
|
|
8
|
-
import * as i3 from "../../
|
|
9
|
-
import * as i4 from "
|
|
10
|
-
import * as i5 from "
|
|
11
|
-
import * as i6 from "
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i2 from "@angular/forms";
|
|
8
|
+
import * as i3 from "../../chars-left/chars-left.component";
|
|
9
|
+
import * as i4 from "../../error-message/error-message.component";
|
|
10
|
+
import * as i5 from "../../save-state/save-state.component";
|
|
11
|
+
import * as i6 from "../../../directives/autosize/autosize.directive";
|
|
12
12
|
export class InputTextareaComponent {
|
|
13
13
|
constructor() {
|
|
14
14
|
this.value = '';
|
|
@@ -114,15 +114,15 @@ export class InputTextareaComponent {
|
|
|
114
114
|
this.blurred.emit({ value: this.value, id: this.uuid });
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
InputTextareaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
118
|
-
InputTextareaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
117
|
+
InputTextareaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputTextareaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
118
|
+
InputTextareaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: InputTextareaComponent, selector: "mrx-input-textarea", inputs: { fields: "fields", disabled: "disabled", readonly: "readonly", autosize: "autosize", maxlength: "maxlength", minlength: "minlength", rows: "rows", placeholder: "placeholder", customClasses: "customClasses", mask: "mask", size: "size", invalid: "invalid", invalidMessage: "invalidMessage", checkInvalid: "checkInvalid", restrictInput: "restrictInput" }, outputs: { changed: "changed", blurred: "blurred", modelChange: "modelChange" }, providers: [
|
|
119
119
|
{
|
|
120
120
|
provide: NG_VALUE_ACCESSOR,
|
|
121
121
|
useExisting: forwardRef(() => InputTextareaComponent),
|
|
122
122
|
multi: true,
|
|
123
123
|
},
|
|
124
|
-
], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true }], ngImport: i0, template: "<div\r\n class=\"mrx-input-textarea\"\r\n [class]=\"getClasses\"\r\n [class.-disabled]=\"disabled\"\r\n [class.-readonly]=\"readonly\"\r\n [class.mrx-input-error]=\"getInvalid\"\r\n>\r\n <div class=\"mrx-input-textarea__wrapper\">\r\n <textarea\r\n #inputElement\r\n mrxAutosize\r\n [id]=\"uuid\"\r\n [ngModel]=\"value\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [rows]=\"rows\"\r\n [autosize]=\"autosize\"\r\n [placeholder]=\"placeholder\"\r\n [minlength]=\"minlength > 0 && restrictInput ? minlength : null\"\r\n [maxlength]=\"maxlength > 0 && restrictInput ? maxlength : null\"\r\n (ngModelChange)=\"updateValue($event)\"\r\n (blur)=\"onBlur($event)\"\r\n ></textarea>\r\n\r\n <mrx-chars-left\r\n *ngIf=\"!disabled && maxlength\"\r\n [value]=\"value\"\r\n [maxlength]=\"maxlength\"\r\n ></mrx-chars-left>\r\n\r\n <mrx-save-state [id]=\"uuid\" [fields]=\"fields\"></mrx-save-state>\r\n </div>\r\n\r\n <mrx-error-message\r\n *ngIf=\"getInvalid && getInvalidMessage\"\r\n [invalidMessage]=\"getInvalidMessage\"\r\n ></mrx-error-message>\r\n</div>\r\n", styles: [".mrx-input-textarea.mrx-input-textarea .mrx-input-textarea__wrapper{position:relative}.mrx-input-textarea.mrx-input-textarea textarea{display:block;box-sizing:border-box;border:var(--border-width-default) solid var(--neutral-bg-stroke-default);color:var(--neutral-text-primary);width:100%;overflow:auto;resize:none;transition:outline-width .2s,border .2s}.mrx-input-textarea.mrx-input-textarea textarea:focus,.mrx-input-textarea.mrx-input-textarea textarea:active{outline:var(--neutral-bg-island-default) solid var(--border-width-focused)}.mrx-input-textarea.mrx-input-textarea textarea:hover{border:var(--border-width-default) solid var(--neutral-bg-stroke-hover)}.mrx-input-textarea.mrx-input-textarea textarea::-webkit-input-placeholder{color:var(--neutral-text-tertiary)}.mrx-input-textarea.mrx-input-textarea textarea::-moz-placeholder{color:var(--neutral-text-tertiary)}.mrx-input-textarea.mrx-input-textarea textarea:-ms-input-placeholder{color:var(--neutral-text-tertiary)}.mrx-input-textarea.mrx-input-textarea textarea:-moz-placeholder{color:var(--neutral-text-tertiary)}.mrx-input-textarea.mrx-input-textarea.mrx-input-lg textarea{padding:calc(var(--spacing-3) + 1px) var(--spacing-4);border-radius:var(--border-radius-1);font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-input-textarea.mrx-input-textarea.mrx-input-md textarea{padding:calc(var(--sizing-2) + 1px) var(--spacing-3);border-radius:var(--border-radius-1);font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-input-textarea.mrx-input-textarea.mrx-input-sm textarea{padding:calc(var(--sizing-2) - 1px) var(--spacing-2);border-radius:var(--border-radius-1);font-family:var(--body-sm-font-family);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height)}.mrx-input-textarea.mrx-input-textarea.-disabled textarea{background-color:var(--neutral-bg-disabled, #EEF0F4);color:var(--neutral-text-tertiary, #71767E)}.mrx-input-textarea.mrx-input-textarea.-readonly textarea{background-color:var(--neutral-bg-disabled, #EEF0F4);color:var(--neutral-text-primary, #262626)}.mrx-input-textarea.mrx-input-textarea.mrx-input-error textarea{border-color:var(--system-bg-controls-negative-default)}.mrx-input-textarea.mrx-input-textarea.mrx-input-checked-error textarea{border-color:var(--system-bg-controls-negative-default);background-color:var(--system-bg-negative-secondary)}.mrx-input-textarea.mrx-input-textarea.mrx-input-checked-success textarea{background-color:var(--system-bg-positive-secondary);border-color:var(--system-bg-controls-positive-default)}\n"],
|
|
125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
124
|
+
], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true }], ngImport: i0, template: "<div\r\n class=\"mrx-input-textarea\"\r\n [class]=\"getClasses\"\r\n [class.-disabled]=\"disabled\"\r\n [class.-readonly]=\"readonly\"\r\n [class.mrx-input-error]=\"getInvalid\"\r\n>\r\n <div class=\"mrx-input-textarea__wrapper\">\r\n <textarea\r\n #inputElement\r\n mrxAutosize\r\n [id]=\"uuid\"\r\n [ngModel]=\"value\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [rows]=\"rows\"\r\n [autosize]=\"autosize\"\r\n [placeholder]=\"placeholder\"\r\n [minlength]=\"minlength > 0 && restrictInput ? minlength : null\"\r\n [maxlength]=\"maxlength > 0 && restrictInput ? maxlength : null\"\r\n (ngModelChange)=\"updateValue($event)\"\r\n (blur)=\"onBlur($event)\"\r\n ></textarea>\r\n\r\n <mrx-chars-left\r\n *ngIf=\"!disabled && maxlength\"\r\n [value]=\"value\"\r\n [maxlength]=\"maxlength\"\r\n ></mrx-chars-left>\r\n\r\n <mrx-save-state [id]=\"uuid\" [fields]=\"fields\"></mrx-save-state>\r\n </div>\r\n\r\n <mrx-error-message\r\n *ngIf=\"getInvalid && getInvalidMessage\"\r\n [invalidMessage]=\"getInvalidMessage\"\r\n ></mrx-error-message>\r\n</div>\r\n", styles: [".mrx-input-textarea.mrx-input-textarea .mrx-input-textarea__wrapper{position:relative}.mrx-input-textarea.mrx-input-textarea textarea{display:block;box-sizing:border-box;border:var(--border-width-default) solid var(--neutral-bg-stroke-default);color:var(--neutral-text-primary);width:100%;overflow:auto;resize:none;transition:outline-width .2s,border .2s}.mrx-input-textarea.mrx-input-textarea textarea:focus,.mrx-input-textarea.mrx-input-textarea textarea:active{outline:var(--neutral-bg-island-default) solid var(--border-width-focused)}.mrx-input-textarea.mrx-input-textarea textarea:hover{border:var(--border-width-default) solid var(--neutral-bg-stroke-hover)}.mrx-input-textarea.mrx-input-textarea textarea::-webkit-input-placeholder{color:var(--neutral-text-tertiary)}.mrx-input-textarea.mrx-input-textarea textarea::-moz-placeholder{color:var(--neutral-text-tertiary)}.mrx-input-textarea.mrx-input-textarea textarea:-ms-input-placeholder{color:var(--neutral-text-tertiary)}.mrx-input-textarea.mrx-input-textarea textarea:-moz-placeholder{color:var(--neutral-text-tertiary)}.mrx-input-textarea.mrx-input-textarea.mrx-input-lg textarea{padding:calc(var(--spacing-3) + 1px) var(--spacing-4);border-radius:var(--border-radius-1);font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-input-textarea.mrx-input-textarea.mrx-input-md textarea{padding:calc(var(--sizing-2) + 1px) var(--spacing-3);border-radius:var(--border-radius-1);font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-input-textarea.mrx-input-textarea.mrx-input-sm textarea{padding:calc(var(--sizing-2) - 1px) var(--spacing-2);border-radius:var(--border-radius-1);font-family:var(--body-sm-font-family);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height)}.mrx-input-textarea.mrx-input-textarea.-disabled textarea{background-color:var(--neutral-bg-disabled, #EEF0F4);color:var(--neutral-text-tertiary, #71767E)}.mrx-input-textarea.mrx-input-textarea.-readonly textarea{background-color:var(--neutral-bg-disabled, #EEF0F4);color:var(--neutral-text-primary, #262626)}.mrx-input-textarea.mrx-input-textarea.mrx-input-error textarea{border-color:var(--system-bg-controls-negative-default)}.mrx-input-textarea.mrx-input-textarea.mrx-input-checked-error textarea{border-color:var(--system-bg-controls-negative-default);background-color:var(--system-bg-negative-secondary)}.mrx-input-textarea.mrx-input-textarea.mrx-input-checked-success textarea{background-color:var(--system-bg-positive-secondary);border-color:var(--system-bg-controls-positive-default)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.MinLengthValidator, selector: "[minlength][formControlName],[minlength][formControl],[minlength][ngModel]", inputs: ["minlength"] }, { kind: "directive", type: i2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.CharsLeftComponent, selector: "mrx-chars-left", inputs: ["maxlength", "valueLength", "value"] }, { kind: "component", type: i4.ErrorMessageComponent, selector: "mrx-error-message", inputs: ["invalid", "invalidMessage", "customClasses"] }, { kind: "component", type: i5.SaveStateComponent, selector: "mrx-save-state", inputs: ["type", "fields", "id"] }, { kind: "directive", type: i6.AutosizeDirective, selector: "[mrxAutosize]", inputs: ["rows", "autosize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputTextareaComponent, decorators: [{
|
|
126
126
|
type: Component,
|
|
127
127
|
args: [{ selector: 'mrx-input-textarea', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
128
128
|
{
|
|
@@ -16,22 +16,20 @@ const maskConfigFunction = () => {
|
|
|
16
16
|
};
|
|
17
17
|
export class InputTextareaModule {
|
|
18
18
|
}
|
|
19
|
-
InputTextareaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
InputTextareaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
19
|
+
InputTextareaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20
|
+
InputTextareaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: InputTextareaModule, declarations: [InputTextareaComponent], imports: [CommonModule,
|
|
21
21
|
FormsModule,
|
|
22
22
|
CharsLeftModule,
|
|
23
23
|
ErrorMessageModule,
|
|
24
24
|
SaveStateModule, i1.NgxMaskModule, AutosizeModule], exports: [InputTextareaComponent] });
|
|
25
|
-
InputTextareaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
]] });
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: InputTextareaModule, decorators: [{
|
|
25
|
+
InputTextareaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputTextareaModule, imports: [CommonModule,
|
|
26
|
+
FormsModule,
|
|
27
|
+
CharsLeftModule,
|
|
28
|
+
ErrorMessageModule,
|
|
29
|
+
SaveStateModule,
|
|
30
|
+
NgxMaskModule.forRoot(maskConfigFunction),
|
|
31
|
+
AutosizeModule] });
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputTextareaModule, decorators: [{
|
|
35
33
|
type: NgModule,
|
|
36
34
|
args: [{
|
|
37
35
|
declarations: [InputTextareaComponent],
|
|
@@ -47,4 +45,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
47
45
|
exports: [InputTextareaComponent],
|
|
48
46
|
}]
|
|
49
47
|
}] });
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdGV4dGFyZWEubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlydGEtdWkvc3JjL2xpYi9jb21wb25lbnRzL2Zvcm0vaW5wdXQtdGV4dGFyZWEvaW5wdXQtdGV4dGFyZWEubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9B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xlJztcclxuXHJcbmNvbnN0IG1hc2tDb25maWdGdW5jdGlvbjogKCkgPT4gUGFydGlhbDxJQ29uZmlnPiA9ICgpID0+IHtcclxuICByZXR1cm4ge1xyXG4gICAgdmFsaWRhdGlvbjogZmFsc2UsXHJcbiAgfTtcclxufTtcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbSW5wdXRUZXh0YXJlYUNvbXBvbmVudF0sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgRm9ybXNNb2R1bGUsXHJcbiAgICBDaGFyc0xlZnRNb2R1bGUsXHJcbiAgICBFcnJvck1lc3NhZ2VNb2R1bGUsXHJcbiAgICBTYXZlU3RhdGVNb2R1bGUsXHJcbiAgICBOZ3hNYXNrTW9kdWxlLmZvclJvb3QobWFza0NvbmZpZ0Z1bmN0aW9uKSxcclxuICAgIEF1dG9zaXplTW9kdWxlXHJcbiAgXSxcclxuICBleHBvcnRzOiBbSW5wdXRUZXh0YXJlYUNvbXBvbmVudF0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBJbnB1dFRleHRhcmVhTW9kdWxlIHt9XHJcbiJdfQ==
|
|
@@ -13,11 +13,11 @@ import { v4 as uuidv4 } from 'uuid';
|
|
|
13
13
|
import { createPopper } from '@popperjs/core';
|
|
14
14
|
import { getDateObject } from './helpers/get-date-object';
|
|
15
15
|
import * as i0 from "@angular/core";
|
|
16
|
-
import * as i1 from "
|
|
17
|
-
import * as i2 from "
|
|
18
|
-
import * as i3 from "
|
|
19
|
-
import * as i4 from "
|
|
20
|
-
import * as i5 from "
|
|
16
|
+
import * as i1 from "@angular/common";
|
|
17
|
+
import * as i2 from "@angular/forms";
|
|
18
|
+
import * as i3 from "../../save-state/save-state.component";
|
|
19
|
+
import * as i4 from "../../error-message/error-message.component";
|
|
20
|
+
import * as i5 from "ngx-mask";
|
|
21
21
|
export class InputTimepickerComponent {
|
|
22
22
|
constructor() {
|
|
23
23
|
this.value = '';
|
|
@@ -234,11 +234,11 @@ export class InputTimepickerComponent {
|
|
|
234
234
|
this.onTouched();
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
|
-
InputTimepickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
238
|
-
InputTimepickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
237
|
+
InputTimepickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputTimepickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
238
|
+
InputTimepickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: InputTimepickerComponent, selector: "mrx-input-timepicker", inputs: { fields: "fields", size: "size", format: "format", customClasses: "customClasses", placeholder: "placeholder", disabled: "disabled", readonly: "readonly", required: "required", minValue: "minValue", maxValue: "maxValue", inline: "inline", closable: "closable", leadZeroDateTime: "leadZeroDateTime", mask: "mask", container: "container", invalid: "invalid", invalidMessage: "invalidMessage", checkInvalid: "checkInvalid" }, outputs: { changed: "changed", modelChange: "modelChange" }, providers: [
|
|
239
239
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => InputTimepickerComponent), multi: true }
|
|
240
|
-
], viewQueries: [{ propertyName: "dateInput", first: true, predicate: ["dateInput"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\r\n class=\"mrx-input-date\"\r\n [class.mrx-input-error]=\"invalid || innerInvalid\"\r\n [class.mrx-input-readonly]=\"readonly\"\r\n [class]=\"getClasses\"\r\n>\r\n <div class=\"\">\r\n <div class=\"mrx-input-date__wrapper\">\r\n <input\r\n #dateInput\r\n type=\"text\"\r\n autocomplete=\"nope\"\r\n class=\"mrx-input-date__input mrx-input-date__date\"\r\n [placeholder]=\"placeholder\"\r\n [ngModel]=\"getDateValue\"\r\n [mask]=\"mask\"\r\n [leadZeroDateTime]=\"true\"\r\n [validation]=\"false\"\r\n [disabled]=\"disabled\"\r\n (input)=\"updateDateValue(dateInput)\"\r\n (click)=\"clickToInput(dateInput)\"\r\n />\r\n <div *ngIf=\"!disabled\" class=\"mrx-input-date__icons\">\r\n <span\r\n class=\"mrx-icon icon-close\"\r\n *ngIf=\"isViewCleanIcon\"\r\n (click)=\"clickToIconClear()\"\r\n [class.icon-font-16]=\"size === 'small'\"\r\n [class.icon-font-24]=\"size === 'medium' || size === 'large'\"\r\n ></span>\r\n <span\r\n class=\"mrx-icon icon-calendar\"\r\n (click)=\"clickToIconCalendar()\"\r\n [class.icon-font-16]=\"size === 'small'\"\r\n [class.icon-font-24]=\"size === 'medium' || size === 'large'\"\r\n ></span>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <mrx-error-message\r\n *ngIf=\"invalid; else innerInvalidTemplate\"\r\n [invalidMessage]=\"invalidMessage\"\r\n ></mrx-error-message>\r\n\r\n <ng-template #innerInvalidTemplate>\r\n <mrx-error-message\r\n *ngIf=\"innerInvalid\"\r\n [invalidMessage]=\"innerInvalidMessage\"\r\n ></mrx-error-message>\r\n </ng-template>\r\n\r\n <mrx-save-state [id]=\"uuid\" [fields]=\"fields\"></mrx-save-state>\r\n</div>\r\n\r\n\r\n\r\n", styles: [".mrx-input-date.mrx-input-date{width:100%;position:relative}.mrx-input-date.mrx-input-date .mrx-input-date__wrapper{position:relative}.mrx-input-date.mrx-input-date .mrx-input-date__input{border:var(--border-width-default) solid var(--neutral-bg-stroke-default);border-radius:var(--border-radius-1);width:100%;transition:outline-width .2s,border .2s}.mrx-input-date.mrx-input-date .mrx-input-date__input:focus,.mrx-input-date.mrx-input-date .mrx-input-date__input:active{outline:var(--neutral-bg-island-default) solid var(--border-width-focused)}.mrx-input-date.mrx-input-date .mrx-input-date__input:hover{border:var(--border-width-default) solid var(--neutral-bg-stroke-hover)}.mrx-input-date.mrx-input-date .mrx-input-date__input:disabled{background-color:var(--neutral-bg-disabled)}.mrx-input-date.mrx-input-date.mrx-input-date-lg .mrx-input-date__input{padding:calc(var(--spacing-3) + var(--spacing-half) - var(--border-width-default)) calc(var(--spacing-4) - var(--border-width-default));font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-input-date.mrx-input-date.mrx-input-date-md .mrx-input-date__input{padding:calc(var(--spacing-2) + var(--spacing-half) - var(--border-width-default)) calc(var(--spacing-3) - var(--border-width-default));font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-input-date.mrx-input-date.mrx-input-date-sm .mrx-input-date__input{padding:calc(var(--spacing-2) - var(--border-width-default)) calc(var(--spacing-2) - var(--border-width-default));font-family:var(--body-sm-font-family);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height)}.mrx-input-date.mrx-input-date.mrx-input-error .mrx-input-date__input{border-color:var(--system-bg-controls-negative-default)!important}.mrx-input-date.mrx-input-date.mrx-input-checked-error .mrx-input-date__input{border-color:var(--system-bg-controls-negative-default)!important;background-color:var(--system-bg-negative-secondary)!important}.mrx-input-date.mrx-input-date.mrx-input-checked-success .mrx-input-date__input{background-color:var(--system-bg-positive-secondary)!important;border-color:var(--system-bg-controls-positive-default)!important}.mrx-input-date.mrx-input-date .mrx-input-date__icons{position:absolute;top:0;right:0;display:flex;align-items:center}.mrx-input-date.mrx-input-date .mrx-input-date__icons-item,.mrx-input-date.mrx-input-date .mrx-input-date__icons .mrx-icon{cursor:pointer}.mrx-input-date.mrx-input-date.mrx-input-date-lg .mrx-icon{margin-top:calc(var(--spacing-3) - var(--border-width-default));margin-right:var(--spacing-3)}.mrx-input-date.mrx-input-date.mrx-input-date-md .mrx-icon{margin-top:calc(var(--spacing-2) - var(--border-width-default));margin-right:var(--spacing-3)}.mrx-input-date.mrx-input-date.mrx-input-date-sm .mrx-icon{margin-top:calc(var(--spacing-2) - var(--border-width-default));margin-right:var(--spacing-2)}\n"],
|
|
241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
240
|
+
], viewQueries: [{ propertyName: "dateInput", first: true, predicate: ["dateInput"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\r\n class=\"mrx-input-date\"\r\n [class.mrx-input-error]=\"invalid || innerInvalid\"\r\n [class.mrx-input-readonly]=\"readonly\"\r\n [class]=\"getClasses\"\r\n>\r\n <div class=\"\">\r\n <div class=\"mrx-input-date__wrapper\">\r\n <input\r\n #dateInput\r\n type=\"text\"\r\n autocomplete=\"nope\"\r\n class=\"mrx-input-date__input mrx-input-date__date\"\r\n [placeholder]=\"placeholder\"\r\n [ngModel]=\"getDateValue\"\r\n [mask]=\"mask\"\r\n [leadZeroDateTime]=\"true\"\r\n [validation]=\"false\"\r\n [disabled]=\"disabled\"\r\n (input)=\"updateDateValue(dateInput)\"\r\n (click)=\"clickToInput(dateInput)\"\r\n />\r\n <div *ngIf=\"!disabled\" class=\"mrx-input-date__icons\">\r\n <span\r\n class=\"mrx-icon icon-close\"\r\n *ngIf=\"isViewCleanIcon\"\r\n (click)=\"clickToIconClear()\"\r\n [class.icon-font-16]=\"size === 'small'\"\r\n [class.icon-font-24]=\"size === 'medium' || size === 'large'\"\r\n ></span>\r\n <span\r\n class=\"mrx-icon icon-calendar\"\r\n (click)=\"clickToIconCalendar()\"\r\n [class.icon-font-16]=\"size === 'small'\"\r\n [class.icon-font-24]=\"size === 'medium' || size === 'large'\"\r\n ></span>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <mrx-error-message\r\n *ngIf=\"invalid; else innerInvalidTemplate\"\r\n [invalidMessage]=\"invalidMessage\"\r\n ></mrx-error-message>\r\n\r\n <ng-template #innerInvalidTemplate>\r\n <mrx-error-message\r\n *ngIf=\"innerInvalid\"\r\n [invalidMessage]=\"innerInvalidMessage\"\r\n ></mrx-error-message>\r\n </ng-template>\r\n\r\n <mrx-save-state [id]=\"uuid\" [fields]=\"fields\"></mrx-save-state>\r\n</div>\r\n\r\n\r\n\r\n", styles: [".mrx-input-date.mrx-input-date{width:100%;position:relative}.mrx-input-date.mrx-input-date .mrx-input-date__wrapper{position:relative}.mrx-input-date.mrx-input-date .mrx-input-date__input{border:var(--border-width-default) solid var(--neutral-bg-stroke-default);border-radius:var(--border-radius-1);width:100%;transition:outline-width .2s,border .2s}.mrx-input-date.mrx-input-date .mrx-input-date__input:focus,.mrx-input-date.mrx-input-date .mrx-input-date__input:active{outline:var(--neutral-bg-island-default) solid var(--border-width-focused)}.mrx-input-date.mrx-input-date .mrx-input-date__input:hover{border:var(--border-width-default) solid var(--neutral-bg-stroke-hover)}.mrx-input-date.mrx-input-date .mrx-input-date__input:disabled{background-color:var(--neutral-bg-disabled)}.mrx-input-date.mrx-input-date.mrx-input-date-lg .mrx-input-date__input{padding:calc(var(--spacing-3) + var(--spacing-half) - var(--border-width-default)) calc(var(--spacing-4) - var(--border-width-default));font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-input-date.mrx-input-date.mrx-input-date-md .mrx-input-date__input{padding:calc(var(--spacing-2) + var(--spacing-half) - var(--border-width-default)) calc(var(--spacing-3) - var(--border-width-default));font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:var(--body-md-font-weight);line-height:var(--body-md-line-height)}.mrx-input-date.mrx-input-date.mrx-input-date-sm .mrx-input-date__input{padding:calc(var(--spacing-2) - var(--border-width-default)) calc(var(--spacing-2) - var(--border-width-default));font-family:var(--body-sm-font-family);font-size:var(--body-sm-font-size);font-weight:var(--body-sm-font-weight);line-height:var(--body-sm-line-height)}.mrx-input-date.mrx-input-date.mrx-input-error .mrx-input-date__input{border-color:var(--system-bg-controls-negative-default)!important}.mrx-input-date.mrx-input-date.mrx-input-checked-error .mrx-input-date__input{border-color:var(--system-bg-controls-negative-default)!important;background-color:var(--system-bg-negative-secondary)!important}.mrx-input-date.mrx-input-date.mrx-input-checked-success .mrx-input-date__input{background-color:var(--system-bg-positive-secondary)!important;border-color:var(--system-bg-controls-positive-default)!important}.mrx-input-date.mrx-input-date .mrx-input-date__icons{position:absolute;top:0;right:0;display:flex;align-items:center}.mrx-input-date.mrx-input-date .mrx-input-date__icons-item,.mrx-input-date.mrx-input-date .mrx-input-date__icons .mrx-icon{cursor:pointer}.mrx-input-date.mrx-input-date.mrx-input-date-lg .mrx-icon{margin-top:calc(var(--spacing-3) - var(--border-width-default));margin-right:var(--spacing-3)}.mrx-input-date.mrx-input-date.mrx-input-date-md .mrx-icon{margin-top:calc(var(--spacing-2) - var(--border-width-default));margin-right:var(--spacing-3)}.mrx-input-date.mrx-input-date.mrx-input-date-sm .mrx-icon{margin-top:calc(var(--spacing-2) - var(--border-width-default));margin-right:var(--spacing-2)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.SaveStateComponent, selector: "mrx-save-state", inputs: ["type", "fields", "id"] }, { kind: "component", type: i4.ErrorMessageComponent, selector: "mrx-error-message", inputs: ["invalid", "invalidMessage", "customClasses"] }, { kind: "directive", type: i5.NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions"], outputs: ["maskFilled"] }] });
|
|
241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputTimepickerComponent, decorators: [{
|
|
242
242
|
type: Component,
|
|
243
243
|
args: [{ selector: 'mrx-input-timepicker', providers: [
|
|
244
244
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => InputTimepickerComponent), multi: true }
|
|
@@ -15,21 +15,19 @@ const maskConfigFunction = () => {
|
|
|
15
15
|
};
|
|
16
16
|
export class InputTimepickerModule {
|
|
17
17
|
}
|
|
18
|
-
InputTimepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
19
|
-
InputTimepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
18
|
+
InputTimepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputTimepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19
|
+
InputTimepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: InputTimepickerModule, declarations: [InputTimepickerComponent], imports: [CommonModule,
|
|
20
20
|
FormsModule,
|
|
21
21
|
SaveStateModule,
|
|
22
22
|
ErrorMessageModule,
|
|
23
23
|
LabelModule, i1.NgxMaskModule], exports: [InputTimepickerComponent] });
|
|
24
|
-
InputTimepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
]] });
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: InputTimepickerModule, decorators: [{
|
|
24
|
+
InputTimepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputTimepickerModule, imports: [CommonModule,
|
|
25
|
+
FormsModule,
|
|
26
|
+
SaveStateModule,
|
|
27
|
+
ErrorMessageModule,
|
|
28
|
+
LabelModule,
|
|
29
|
+
NgxMaskModule.forRoot(maskConfigFunction)] });
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: InputTimepickerModule, decorators: [{
|
|
33
31
|
type: NgModule,
|
|
34
32
|
args: [{
|
|
35
33
|
declarations: [InputTimepickerComponent],
|
|
@@ -45,4 +43,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
45
43
|
exports: [InputTimepickerComponent],
|
|
46
44
|
}]
|
|
47
45
|
}] });
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdGltZXBpY2tlci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9teXJ0YS11aS9zcmMvbGliL2NvbXBvbmVudHMvZm9ybS9pbnB1dC10aW1lcGlja2VyL2lucHV0LXRpbWVwaWNrZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQ3hFLE9BQU8sRUFBR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EVycm9yTWVzc2FnZU1vZHVsZSxcclxuICAgIExhYmVsTW9kdWxlLFxyXG4gICAgTmd4TWFza01vZHVsZS5mb3JSb290KG1hc2tDb25maWdGdW5jdGlvbiksXHJcbiAgXSxcclxuICBzY2hlbWFzOiBbQ1VTVE9NX0VMRU1FTlRTX1NDSEVNQV0sXHJcbiAgZXhwb3J0czogW0lucHV0VGltZXBpY2tlckNvbXBvbmVudF0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBJbnB1dFRpbWVwaWNrZXJNb2R1bGUge31cclxuIl19
|
|
@@ -2,8 +2,8 @@ import { ChangeDetectionStrategy, Component, forwardRef, Input } from '@angular/
|
|
|
2
2
|
import { NG_VALUE_ACCESSOR } from "@angular/forms";
|
|
3
3
|
import { RadioTypesEnum } from "./radio.enum";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/
|
|
6
|
-
import * as i2 from "@angular/
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "@angular/forms";
|
|
7
7
|
export class RadioComponent {
|
|
8
8
|
constructor() {
|
|
9
9
|
this.required = false;
|
|
@@ -47,15 +47,15 @@ export class RadioComponent {
|
|
|
47
47
|
this.onChange(this.modelValue);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
RadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
51
|
-
RadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
50
|
+
RadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
51
|
+
RadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: RadioComponent, selector: "mrx-radio", inputs: { required: "required", type: "type", name: "name", boldLabel: "boldLabel", disabled: "disabled", readonly: "readonly", placeholder: "placeholder", label: "label", customClasses: "customClasses", invalid: "invalid", _value: ["value", "_value"] }, providers: [
|
|
52
52
|
{
|
|
53
53
|
provide: NG_VALUE_ACCESSOR,
|
|
54
54
|
useExisting: forwardRef(() => RadioComponent),
|
|
55
55
|
multi: true,
|
|
56
56
|
},
|
|
57
|
-
], ngImport: i0, template: "<div class=\"mrx-radio__wrapper\">\r\n <label\r\n class=\"mrx-radio\"\r\n [class]=\"getClasses\"\r\n [class.mrx-input-error]=\"invalid\"\r\n >\r\n <input\r\n type=\"radio\"\r\n [name]=\"name\"\r\n [value]=\"value\"\r\n [(ngModel)]=\"modelValue\"\r\n [disabled]=\"disabled || readonly\"\r\n [readonly]=\"readonly\"\r\n (change)=\"valueChanged(value)\"\r\n />\r\n\r\n <span class=\"mrx-radio__mark\"><span class=\"mrx-radio__mark__inner\"></span></span>\r\n\r\n <span class=\"ml-1\" [class]=\"boldLabel ? 'mrx-radio__label--bold' : 'mrx-radio__label'\">\r\n {{label}}\r\n <ng-content></ng-content>\r\n <span *ngIf=\"required && !disabled\" class=\"required-active\">*</span>\r\n </span>\r\n </label>\r\n</div>\r\n", styles: [".mrx-radio.mrx-radio{display:flex!important;align-items:center;min-height:auto!important;margin-bottom:0!important;overflow:visible;background-color:transparent;cursor:pointer;box-sizing:border-box;position:relative}.mrx-radio input[type=radio]{position:absolute;z-index:-1;opacity:0;width:0;height:0;margin:0}.mrx-radio.mrx-radio.mrx-radio-default .mrx-radio__mark{display:flex;align-items:center;justify-content:center;height:var(--sizing-4);width:var(--sizing-4);min-width:var(--sizing-4);border:var(--border-width-checkbox) solid var(--neutral-bg-stroke-default, #DBDFE5);border-radius:50%;transition:border .2s;position:relative}.mrx-radio.mrx-radio.mrx-radio-default .mrx-radio__mark .mrx-radio__mark__inner{display:block;width:6px;height:6px;border-radius:50%;background:var(--brand-bg-primary-default, #2A6AB8);opacity:0;transition:opacity .2s}.mrx-radio.mrx-radio.mrx-radio-default:hover .mrx-radio__mark{border-color:var(--neutral-bg-stroke-hover, #0F54AA)}.mrx-radio.mrx-radio.mrx-radio-default input[type=radio]:checked+.mrx-radio__mark{border-color:var(--brand-bg-primary-default, #2A6AB8)}.mrx-radio.mrx-radio.mrx-radio-default input[type=radio]:checked+.mrx-radio__mark .mrx-radio__mark__inner{opacity:1}.mrx-radio.mrx-radio.mrx-radio-default input[type=radio]:not(:checked):disabled+.mrx-radio__mark{background:var(--neutral-control-bg-accent-disabled, #71767E)}.mrx-radio.mrx-radio.mrx-radio-default input[type=radio]:disabled+.mrx-radio__mark{border-color:var(--neutral-control-bg-accent-disabled, #71767E)}.mrx-radio.mrx-radio.mrx-radio-default input[type=radio]:disabled+.mrx-radio__mark .mrx-radio__mark__inner{background:var(--neutral-control-bg-accent-disabled, #71767E)}.mrx-radio.mrx-radio.mrx-input-error.mrx-radio-default .mrx-radio__mark{border-color:var(--system-bg-controls-negative-default, #B83B15)}.mrx-radio.mrx-radio .mrx-radio__label{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:400;line-height:var(--body-md-line-height)}.mrx-radio.mrx-radio .mrx-radio__label--bold{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:700;line-height:var(--body-md-line-height)}.mrx-radio.mrx-radio .required-active{font-family:var(--body-md-bold-font-family);font-size:var(--body-md-bold-font-size);font-weight:var(--body-md-bold-font-weight);line-height:var(--body-md-bold-line-height);color:var(--system-icon-negative, #C65836);margin-left:var(--spacing-1);position:relative;display:inline-block}.mrx-radio__wrapper.mrx-radio__wrapper{display:flex;align-items:center;justify-content:flex-start}\n"],
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
57
|
+
], ngImport: i0, template: "<div class=\"mrx-radio__wrapper\">\r\n <label\r\n class=\"mrx-radio\"\r\n [class]=\"getClasses\"\r\n [class.mrx-input-error]=\"invalid\"\r\n >\r\n <input\r\n type=\"radio\"\r\n [name]=\"name\"\r\n [value]=\"value\"\r\n [(ngModel)]=\"modelValue\"\r\n [disabled]=\"disabled || readonly\"\r\n [readonly]=\"readonly\"\r\n (change)=\"valueChanged(value)\"\r\n />\r\n\r\n <span class=\"mrx-radio__mark\"><span class=\"mrx-radio__mark__inner\"></span></span>\r\n\r\n <span class=\"ml-1\" [class]=\"boldLabel ? 'mrx-radio__label--bold' : 'mrx-radio__label'\">\r\n {{label}}\r\n <ng-content></ng-content>\r\n <span *ngIf=\"required && !disabled\" class=\"required-active\">*</span>\r\n </span>\r\n </label>\r\n</div>\r\n", styles: [".mrx-radio.mrx-radio{display:flex!important;align-items:center;min-height:auto!important;margin-bottom:0!important;overflow:visible;background-color:transparent;cursor:pointer;box-sizing:border-box;position:relative}.mrx-radio input[type=radio]{position:absolute;z-index:-1;opacity:0;width:0;height:0;margin:0}.mrx-radio.mrx-radio.mrx-radio-default .mrx-radio__mark{display:flex;align-items:center;justify-content:center;height:var(--sizing-4);width:var(--sizing-4);min-width:var(--sizing-4);border:var(--border-width-checkbox) solid var(--neutral-bg-stroke-default, #DBDFE5);border-radius:50%;transition:border .2s;position:relative}.mrx-radio.mrx-radio.mrx-radio-default .mrx-radio__mark .mrx-radio__mark__inner{display:block;width:6px;height:6px;border-radius:50%;background:var(--brand-bg-primary-default, #2A6AB8);opacity:0;transition:opacity .2s}.mrx-radio.mrx-radio.mrx-radio-default:hover .mrx-radio__mark{border-color:var(--neutral-bg-stroke-hover, #0F54AA)}.mrx-radio.mrx-radio.mrx-radio-default input[type=radio]:checked+.mrx-radio__mark{border-color:var(--brand-bg-primary-default, #2A6AB8)}.mrx-radio.mrx-radio.mrx-radio-default input[type=radio]:checked+.mrx-radio__mark .mrx-radio__mark__inner{opacity:1}.mrx-radio.mrx-radio.mrx-radio-default input[type=radio]:not(:checked):disabled+.mrx-radio__mark{background:var(--neutral-control-bg-accent-disabled, #71767E)}.mrx-radio.mrx-radio.mrx-radio-default input[type=radio]:disabled+.mrx-radio__mark{border-color:var(--neutral-control-bg-accent-disabled, #71767E)}.mrx-radio.mrx-radio.mrx-radio-default input[type=radio]:disabled+.mrx-radio__mark .mrx-radio__mark__inner{background:var(--neutral-control-bg-accent-disabled, #71767E)}.mrx-radio.mrx-radio.mrx-input-error.mrx-radio-default .mrx-radio__mark{border-color:var(--system-bg-controls-negative-default, #B83B15)}.mrx-radio.mrx-radio .mrx-radio__label{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:400;line-height:var(--body-md-line-height)}.mrx-radio.mrx-radio .mrx-radio__label--bold{font-family:var(--body-md-font-family);font-size:var(--body-md-font-size);font-weight:700;line-height:var(--body-md-line-height)}.mrx-radio.mrx-radio .required-active{font-family:var(--body-md-bold-font-family);font-size:var(--body-md-bold-font-size);font-weight:var(--body-md-bold-font-weight);line-height:var(--body-md-bold-line-height);color:var(--system-icon-negative, #C65836);margin-left:var(--spacing-1);position:relative;display:inline-block}.mrx-radio__wrapper.mrx-radio__wrapper{display:flex;align-items:center;justify-content:flex-start}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RadioComponent, decorators: [{
|
|
59
59
|
type: Component,
|
|
60
60
|
args: [{ selector: 'mrx-radio', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
61
61
|
{
|
|
@@ -5,10 +5,10 @@ import { FormsModule } from '@angular/forms';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class RadioModule {
|
|
7
7
|
}
|
|
8
|
-
RadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9
|
-
RadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
10
|
-
RadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8
|
+
RadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
RadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: RadioModule, declarations: [RadioComponent], imports: [CommonModule, FormsModule], exports: [RadioComponent] });
|
|
10
|
+
RadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RadioModule, imports: [CommonModule, FormsModule] });
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RadioModule, decorators: [{
|
|
12
12
|
type: NgModule,
|
|
13
13
|
args: [{
|
|
14
14
|
declarations: [RadioComponent],
|
|
@@ -17,4 +17,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
17
17
|
exports: [RadioComponent]
|
|
18
18
|
}]
|
|
19
19
|
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIj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bnQgfSBmcm9tICcuL3JhZGlvLmNvbXBvbmVudCc7XHJcbmltcG9ydCB7IEZvcm1zTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvZm9ybXMnO1xyXG5cclxuXHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW1JhZGlvQ29tcG9uZW50XSxcclxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBGb3Jtc01vZHVsZV0sXHJcbiAgc2NoZW1hczogW0NVU1RPTV9FTEVNRU5UU19TQ0hFTUFdLFxyXG4gIGV4cG9ydHM6IFtSYWRpb0NvbXBvbmVudF1cclxufSlcclxuZXhwb3J0IGNsYXNzIFJhZGlvTW9kdWxlIHsgfVxyXG4iXX0=
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "
|
|
4
|
-
import * as i2 from "
|
|
5
|
-
import * as i3 from "
|
|
6
|
-
import * as i4 from "
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "@angular/forms";
|
|
5
|
+
import * as i3 from "../../../input-search/input-search.component";
|
|
6
|
+
import * as i4 from "../../../../label/label.component";
|
|
7
7
|
export class RadioGroupHeaderComponent {
|
|
8
8
|
constructor() {
|
|
9
9
|
this.searchValue = '';
|
|
@@ -22,9 +22,9 @@ export class RadioGroupHeaderComponent {
|
|
|
22
22
|
this.updateradioGroupSearchValue.emit(searchValue);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
RadioGroupHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
26
|
-
RadioGroupHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
25
|
+
RadioGroupHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RadioGroupHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
+
RadioGroupHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: RadioGroupHeaderComponent, selector: "mrx-radio-group-header", inputs: { searchSize: "searchSize", searchable: "searchable", searchPlaceholder: "searchPlaceholder", tooltip: "tooltip", labelText: "labelText", linkText: "linkText", checkedItemsCount: "checkedItemsCount", required: "required" }, outputs: { updateradioGroupSearchValue: "updateradioGroupSearchValue" }, ngImport: i0, template: "<mrx-label\r\n *ngIf=\"labelText\"\r\n [tooltip]=\"tooltip\"\r\n [required]=\"required\"\r\n>{{ labelText }}</mrx-label>\r\n\r\n<div class=\"mrx-radio-group-head--search mb-12px\" *ngIf=\"searchable\">\r\n <mrx-input-search\r\n [ngModel]=\"searchValue\"\r\n [size]=\"searchSize\"\r\n [placeholder]=\"searchPlaceholder\"\r\n (ngModelChange)=\"changeSearchValue($event)\"\r\n ></mrx-input-search>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.InputSearchComponent, selector: "mrx-input-search", inputs: ["fields", "disabled", "required", "readonly", "maxlength", "minlength", "placeholder", "customClasses", "mask", "size", "invalid", "invalidMessage", "checkInvalid", "restrictInput"], outputs: ["changed", "modelChange", "blurred", "cleared", "searched"] }, { kind: "component", type: i4.LabelComponent, selector: "mrx-label", inputs: ["requiredHidden", "required", "boldLabel", "disabled", "placeholder", "label", "customClasses", "triggerTextPosition", "isPublicInfo", "publicInfoTooltip", "isSwitch", "switchLabel", "switchValue", "counter", "linkText", "linkPrevent", "linkType", "linkMonochrome", "href", "triggerType", "tooltip", "tooltipInitialVisible", "isSaveToStorage"], outputs: ["changeCheckboxValue", "clickedLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RadioGroupHeaderComponent, decorators: [{
|
|
28
28
|
type: Component,
|
|
29
29
|
args: [{ selector: 'mrx-radio-group-header', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mrx-label\r\n *ngIf=\"labelText\"\r\n [tooltip]=\"tooltip\"\r\n [required]=\"required\"\r\n>{{ labelText }}</mrx-label>\r\n\r\n<div class=\"mrx-radio-group-head--search mb-12px\" *ngIf=\"searchable\">\r\n <mrx-input-search\r\n [ngModel]=\"searchValue\"\r\n [size]=\"searchSize\"\r\n [placeholder]=\"searchPlaceholder\"\r\n (ngModelChange)=\"changeSearchValue($event)\"\r\n ></mrx-input-search>\r\n</div>\r\n" }]
|
|
30
30
|
}], ctorParameters: function () { return []; }, propDecorators: { searchSize: [{
|