@ng-matero/extensions 12.5.2 → 13.0.0
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 +2 -16
- package/_all-color.scss +1 -1
- package/_all-theme.scss +2 -0
- package/_index.scss +3 -1
- package/_theming.scss +3 -1
- package/alert/_alert-theme.scss +2 -2
- package/alert/alert.component.d.ts +3 -0
- package/alert/alert.module.d.ts +6 -0
- package/alert/mtxAlert.d.ts +1 -0
- package/alert/package.json +5 -6
- package/button/button-loading.directive.d.ts +3 -0
- package/button/button.module.d.ts +8 -0
- package/button/mtxButton.d.ts +1 -0
- package/button/package.json +5 -6
- package/checkbox-group/checkbox-group.component.d.ts +5 -4
- package/checkbox-group/checkbox-group.module.d.ts +9 -0
- package/checkbox-group/mtxCheckboxGroup.d.ts +1 -0
- package/checkbox-group/package.json +5 -6
- package/colorpicker/_colorpicker-theme.import.scss +2 -0
- package/colorpicker/_colorpicker-theme.scss +43 -0
- package/colorpicker/colorpicker-animations.d.ts +8 -0
- package/colorpicker/colorpicker-content.scss +4 -0
- package/colorpicker/colorpicker-input.d.ts +92 -0
- package/colorpicker/colorpicker-module.d.ts +15 -0
- package/colorpicker/colorpicker-toggle.d.ts +38 -0
- package/colorpicker/colorpicker-toggle.scss +23 -0
- package/colorpicker/colorpicker.d.ts +131 -0
- package/{extensions.d.ts → colorpicker/mtxColorpicker.d.ts} +1 -0
- package/colorpicker/package.json +10 -0
- package/colorpicker/public-api.d.ts +5 -0
- package/column-resize/column-resize-directives/column-resize-flex.d.ts +3 -0
- package/column-resize/column-resize-directives/column-resize.d.ts +3 -0
- package/column-resize/column-resize-module.d.ts +6 -7
- package/column-resize/column-resize-notifier.d.ts +5 -7
- package/column-resize/column-resize.d.ts +3 -0
- package/column-resize/column-size-store.d.ts +3 -7
- package/column-resize/event-dispatcher.d.ts +3 -0
- package/column-resize/mtxColumnResize.d.ts +1 -0
- package/column-resize/overlay-handle.d.ts +3 -0
- package/column-resize/package.json +5 -6
- package/column-resize/resizable.d.ts +3 -0
- package/column-resize/resize-strategy.d.ts +7 -0
- package/core/datetime/datetime.module.d.ts +8 -0
- package/core/datetime/native-datetime-adapter.d.ts +3 -0
- package/core/density/private/_compatibility.scss +74 -0
- package/core/mtxCore.d.ts +1 -0
- package/core/package.json +5 -6
- package/{pipes/public-api.d.ts → core/pipes/index.d.ts} +0 -0
- package/core/pipes/pipes.module.d.ts +8 -0
- package/{pipes → core/pipes}/to-observable.pipe.d.ts +3 -0
- package/core/public-api.d.ts +1 -0
- package/core/style/_elevation.scss +197 -0
- package/core/style/_private.scss +41 -0
- package/core/style/_variables.scss +44 -0
- package/core/style/_vendor-prefixes.scss +60 -0
- package/core/theming/_palette.scss +746 -0
- package/core/theming/_theming.scss +430 -0
- package/core/typography/_typography-utils.scss +101 -0
- package/core/typography/_typography.scss +273 -0
- package/datetimepicker/_datetimepicker-theme.scss +17 -5
- package/datetimepicker/calendar-body.d.ts +3 -0
- package/datetimepicker/calendar-body.scss +5 -4
- package/datetimepicker/calendar.d.ts +6 -11
- package/datetimepicker/clock.d.ts +13 -9
- package/datetimepicker/datetimepicker-animations.d.ts +7 -5
- package/datetimepicker/datetimepicker-input.d.ts +7 -2
- package/datetimepicker/datetimepicker-module.d.ts +20 -0
- package/datetimepicker/datetimepicker-toggle.d.ts +20 -2
- package/datetimepicker/datetimepicker-toggle.scss +23 -0
- package/datetimepicker/datetimepicker-types.d.ts +1 -0
- package/datetimepicker/datetimepicker.d.ts +73 -25
- package/datetimepicker/month-view.d.ts +7 -4
- package/datetimepicker/mtxDatetimepicker.d.ts +1 -2
- package/datetimepicker/multi-year-view.d.ts +7 -4
- package/datetimepicker/package.json +5 -6
- package/datetimepicker/public-api.d.ts +4 -1
- package/datetimepicker/year-view.d.ts +7 -4
- package/dialog/{dialog.config.d.ts → dialog-config.d.ts} +0 -0
- package/dialog/dialog.component.d.ts +4 -1
- package/dialog/dialog.d.ts +4 -1
- package/dialog/dialog.module.d.ts +10 -0
- package/dialog/mtxDialog.d.ts +1 -0
- package/dialog/package.json +5 -6
- package/dialog/public-api.d.ts +2 -2
- package/esm2020/alert/alert.component.mjs +52 -0
- package/esm2020/alert/alert.module.mjs +18 -0
- package/{esm2015/alert/mtxAlert.js → esm2020/alert/mtxAlert.mjs} +0 -0
- package/{esm2015/alert/public-api.js → esm2020/alert/public-api.mjs} +0 -0
- package/esm2020/button/button-loading.directive.mjs +79 -0
- package/esm2020/button/button.module.mjs +20 -0
- package/{esm2015/button/mtxButton.js → esm2020/button/mtxButton.mjs} +0 -0
- package/{esm2015/button/public-api.js → esm2020/button/public-api.mjs} +0 -0
- package/esm2020/checkbox-group/checkbox-group.component.mjs +234 -0
- package/{esm2015/checkbox-group/checkbox-group.interface.js → esm2020/checkbox-group/checkbox-group.interface.mjs} +0 -0
- package/esm2020/checkbox-group/checkbox-group.module.mjs +21 -0
- package/{esm2015/checkbox-group/mtxCheckboxGroup.js → esm2020/checkbox-group/mtxCheckboxGroup.mjs} +0 -0
- package/{esm2015/checkbox-group/public-api.js → esm2020/checkbox-group/public-api.mjs} +0 -0
- package/esm2020/colorpicker/colorpicker-animations.mjs +16 -0
- package/esm2020/colorpicker/colorpicker-input.mjs +228 -0
- package/esm2020/colorpicker/colorpicker-module.mjs +65 -0
- package/esm2020/colorpicker/colorpicker-toggle.mjs +90 -0
- package/esm2020/colorpicker/colorpicker.mjs +363 -0
- package/esm2020/colorpicker/mtxColorpicker.mjs +5 -0
- package/esm2020/colorpicker/public-api.mjs +6 -0
- package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +45 -0
- package/esm2020/column-resize/column-resize-directives/column-resize.mjs +45 -0
- package/{esm2015/column-resize/column-resize-directives/constants.js → esm2020/column-resize/column-resize-directives/constants.mjs} +0 -0
- package/esm2020/column-resize/column-resize-module.mjs +28 -0
- package/esm2020/column-resize/column-resize-notifier.mjs +47 -0
- package/esm2020/column-resize/column-resize.mjs +82 -0
- package/esm2020/column-resize/column-size-store.mjs +20 -0
- package/esm2020/column-resize/event-dispatcher.mjs +67 -0
- package/{esm2015/column-resize/mtxColumnResize.js → esm2020/column-resize/mtxColumnResize.mjs} +0 -0
- package/esm2020/column-resize/overlay-handle.mjs +146 -0
- package/{esm2015/column-resize/polyfill.js → esm2020/column-resize/polyfill.mjs} +0 -0
- package/{esm2015/column-resize/public-api.js → esm2020/column-resize/public-api.mjs} +0 -0
- package/esm2020/column-resize/resizable.mjs +199 -0
- package/{esm2015/column-resize/resize-ref.js → esm2020/column-resize/resize-ref.mjs} +0 -0
- package/esm2020/column-resize/resize-strategy.mjs +232 -0
- package/{esm2015/column-resize/selectors.js → esm2020/column-resize/selectors.mjs} +0 -0
- package/{esm2015/core/datetime/datetime-adapter.js → esm2020/core/datetime/datetime-adapter.mjs} +0 -0
- package/{esm2015/core/datetime/datetime-formats.js → esm2020/core/datetime/datetime-formats.mjs} +0 -0
- package/esm2020/core/datetime/datetime.module.mjs +42 -0
- package/{esm2015/core/datetime/index.js → esm2020/core/datetime/index.mjs} +0 -0
- package/esm2020/core/datetime/native-datetime-adapter.mjs +138 -0
- package/{esm2015/core/datetime/native-datetime-formats.js → esm2020/core/datetime/native-datetime-formats.mjs} +0 -0
- package/{esm2015/core/mtxCore.js → esm2020/core/mtxCore.mjs} +0 -0
- package/esm2020/core/pipes/index.mjs +3 -0
- package/esm2020/core/pipes/pipes.module.mjs +18 -0
- package/esm2020/core/pipes/to-observable.pipe.mjs +15 -0
- package/{esm2015/core/public-api.js → esm2020/core/public-api.mjs} +2 -1
- package/esm2020/datetimepicker/calendar-body.mjs +78 -0
- package/esm2020/datetimepicker/calendar.mjs +618 -0
- package/esm2020/datetimepicker/clock.mjs +277 -0
- package/esm2020/datetimepicker/datetimepicker-animations.mjs +44 -0
- package/{esm2015/datetimepicker/datetimepicker-errors.js → esm2020/datetimepicker/datetimepicker-errors.mjs} +0 -0
- package/{esm2015/datetimepicker/datetimepicker-filtertype.js → esm2020/datetimepicker/datetimepicker-filtertype.mjs} +0 -0
- package/esm2020/datetimepicker/datetimepicker-input.mjs +344 -0
- package/esm2020/datetimepicker/datetimepicker-module.mjs +75 -0
- package/esm2020/datetimepicker/datetimepicker-toggle.mjs +94 -0
- package/esm2020/datetimepicker/datetimepicker-types.mjs +2 -0
- package/esm2020/datetimepicker/datetimepicker.mjs +492 -0
- package/esm2020/datetimepicker/month-view.mjs +148 -0
- package/esm2020/datetimepicker/mtxDatetimepicker.mjs +5 -0
- package/esm2020/datetimepicker/multi-year-view.mjs +214 -0
- package/esm2020/datetimepicker/public-api.mjs +14 -0
- package/esm2020/datetimepicker/year-view.mjs +138 -0
- package/{esm2015/dialog/dialog.config.js → esm2020/dialog/dialog-config.mjs} +1 -1
- package/esm2020/dialog/dialog.component.mjs +33 -0
- package/esm2020/dialog/dialog.mjs +74 -0
- package/esm2020/dialog/dialog.module.mjs +24 -0
- package/{esm2015/dialog/mtxDialog.js → esm2020/dialog/mtxDialog.mjs} +0 -0
- package/esm2020/dialog/public-api.mjs +5 -0
- package/esm2020/form-group/form-group.component.mjs +37 -0
- package/esm2020/form-group/form-group.module.mjs +18 -0
- package/{esm2015/form-group/mtxFormGroup.js → esm2020/form-group/mtxFormGroup.mjs} +0 -0
- package/{esm2015/form-group/public-api.js → esm2020/form-group/public-api.mjs} +0 -0
- package/esm2020/grid/cell.component.mjs +108 -0
- package/esm2020/grid/column-menu.component.mjs +95 -0
- package/esm2020/grid/column-resize/column-resize-directives/column-resize-flex.mjs +37 -0
- package/esm2020/grid/column-resize/column-resize-directives/column-resize.mjs +37 -0
- package/{esm2015/grid/column-resize/column-resize-directives/common.js → esm2020/grid/column-resize/column-resize-directives/common.mjs} +0 -0
- package/esm2020/grid/column-resize/column-resize-module.mjs +42 -0
- package/esm2020/grid/column-resize/overlay-handle.mjs +60 -0
- package/{esm2015/grid/column-resize/resizable-directives/common.js → esm2020/grid/column-resize/resizable-directives/common.mjs} +0 -0
- package/esm2020/grid/column-resize/resizable-directives/resizable.mjs +62 -0
- package/esm2020/grid/column-resize/resize-strategy.mjs +42 -0
- package/esm2020/grid/expansion-toggle.directive.mjs +64 -0
- package/esm2020/grid/grid.component.mjs +556 -0
- package/{esm2015/grid/grid.interface.js → esm2020/grid/grid.interface.mjs} +0 -0
- package/esm2020/grid/grid.module.mjs +117 -0
- package/esm2020/grid/grid.service.mjs +44 -0
- package/{esm2015/grid/mtxGrid.js → esm2020/grid/mtxGrid.mjs} +0 -0
- package/esm2020/grid/public-api.mjs +16 -0
- package/esm2020/loader/loader.component.mjs +63 -0
- package/esm2020/loader/loader.module.mjs +20 -0
- package/{esm2015/loader/mtxLoader.js → esm2020/loader/mtxLoader.mjs} +0 -0
- package/{esm2015/loader/public-api.js → esm2020/loader/public-api.mjs} +0 -0
- package/esm2020/ng-matero-extensions.mjs +5 -0
- package/{esm2015/popover/mtxPopover.js → esm2020/popover/mtxPopover.mjs} +0 -0
- package/{esm2015/popover/popover-animations.js → esm2020/popover/popover-animations.mjs} +0 -0
- package/{esm2015/popover/popover-errors.js → esm2020/popover/popover-errors.mjs} +0 -0
- package/{esm2015/popover/popover-interfaces.js → esm2020/popover/popover-interfaces.mjs} +0 -0
- package/esm2020/popover/popover-module.mjs +22 -0
- package/esm2020/popover/popover-target.mjs +17 -0
- package/esm2020/popover/popover-trigger.mjs +441 -0
- package/{esm2015/popover/popover-types.js → esm2020/popover/popover-types.mjs} +0 -0
- package/esm2020/popover/popover.mjs +334 -0
- package/{esm2015/popover/public-api.js → esm2020/popover/public-api.mjs} +0 -0
- package/{esm2015/progress/mtxProgress.js → esm2020/progress/mtxProgress.mjs} +0 -0
- package/esm2020/progress/progress.component.mjs +55 -0
- package/esm2020/progress/progress.module.mjs +18 -0
- package/{esm2015/progress/public-api.js → esm2020/progress/public-api.mjs} +0 -0
- package/esm2020/public-api.mjs +5 -0
- package/{esm2015/select/mtxSelect.js → esm2020/select/mtxSelect.mjs} +0 -0
- package/{esm2015/select/option.component.js → esm2020/select/option.component.mjs} +18 -26
- package/{esm2015/select/public-api.js → esm2020/select/public-api.mjs} +0 -0
- package/esm2020/select/select.component.mjs +458 -0
- package/esm2020/select/select.module.mjs +74 -0
- package/esm2020/select/templates.directive.mjs +124 -0
- package/{esm2015/slider/mtxSlider.js → esm2020/slider/mtxSlider.mjs} +0 -0
- package/{esm2015/slider/public-api.js → esm2020/slider/public-api.mjs} +0 -0
- package/esm2020/slider/slider-module.mjs +19 -0
- package/esm2020/slider/slider.mjs +1115 -0
- package/{esm2015/split/interface.js → esm2020/split/interface.mjs} +1 -1
- package/{esm2015/split/mtxSplit.js → esm2020/split/mtxSplit.mjs} +0 -0
- package/{esm2015/split/public-api.js → esm2020/split/public-api.mjs} +0 -0
- package/esm2020/split/split-pane.directive.mjs +149 -0
- package/esm2020/split/split.component.mjs +619 -0
- package/esm2020/split/split.module.mjs +19 -0
- package/esm2020/split/utils.mjs +222 -0
- package/{esm2015/text3d/mtxText3d.js → esm2020/text3d/mtxText3d.mjs} +0 -0
- package/{esm2015/text3d/public-api.js → esm2020/text3d/public-api.mjs} +0 -0
- package/esm2020/text3d/text3d.component.mjs +45 -0
- package/esm2020/text3d/text3d.module.mjs +18 -0
- package/{esm2015/tooltip/mtxTooltip.js → esm2020/tooltip/mtxTooltip.mjs} +0 -0
- package/{esm2015/tooltip/public-api.js → esm2020/tooltip/public-api.mjs} +0 -0
- package/{esm2015/tooltip/tooltip-animations.js → esm2020/tooltip/tooltip-animations.mjs} +0 -0
- package/esm2020/tooltip/tooltip-module.mjs +23 -0
- package/esm2020/tooltip/tooltip.mjs +674 -0
- package/fesm2015/mtxAlert.mjs +74 -0
- package/fesm2015/mtxAlert.mjs.map +1 -0
- package/fesm2015/mtxButton.mjs +102 -0
- package/fesm2015/mtxButton.mjs.map +1 -0
- package/fesm2015/mtxCheckboxGroup.mjs +257 -0
- package/fesm2015/mtxCheckboxGroup.mjs.map +1 -0
- package/fesm2015/mtxColorpicker.mjs +754 -0
- package/fesm2015/mtxColorpicker.mjs.map +1 -0
- package/fesm2015/{mtxColumnResize.js → mtxColumnResize.mjs} +108 -145
- package/fesm2015/mtxColumnResize.mjs.map +1 -0
- package/fesm2015/mtxCore.mjs +362 -0
- package/fesm2015/mtxCore.mjs.map +1 -0
- package/fesm2015/mtxDatetimepicker.mjs +2474 -0
- package/fesm2015/mtxDatetimepicker.mjs.map +1 -0
- package/fesm2015/mtxDialog.mjs +128 -0
- package/fesm2015/mtxDialog.mjs.map +1 -0
- package/fesm2015/mtxFormGroup.mjs +59 -0
- package/fesm2015/mtxFormGroup.mjs.map +1 -0
- package/fesm2015/mtxGrid.mjs +1271 -0
- package/fesm2015/mtxGrid.mjs.map +1 -0
- package/fesm2015/mtxLoader.mjs +87 -0
- package/fesm2015/mtxLoader.mjs.map +1 -0
- package/fesm2015/mtxPopover.mjs +865 -0
- package/fesm2015/mtxPopover.mjs.map +1 -0
- package/fesm2015/mtxProgress.mjs +77 -0
- package/fesm2015/mtxProgress.mjs.map +1 -0
- package/fesm2015/mtxSelect.mjs +712 -0
- package/fesm2015/mtxSelect.mjs.map +1 -0
- package/fesm2015/mtxSlider.mjs +1139 -0
- package/fesm2015/mtxSlider.mjs.map +1 -0
- package/fesm2015/{mtxSplit.js → mtxSplit.mjs} +87 -98
- package/fesm2015/mtxSplit.mjs.map +1 -0
- package/fesm2015/mtxText3d.mjs +67 -0
- package/fesm2015/mtxText3d.mjs.map +1 -0
- package/fesm2015/{mtxTooltip.js → mtxTooltip.mjs} +90 -88
- package/fesm2015/mtxTooltip.mjs.map +1 -0
- package/fesm2015/ng-matero-extensions.mjs +9 -0
- package/fesm2015/ng-matero-extensions.mjs.map +1 -0
- package/fesm2020/mtxAlert.mjs +74 -0
- package/fesm2020/mtxAlert.mjs.map +1 -0
- package/fesm2020/mtxButton.mjs +102 -0
- package/fesm2020/mtxButton.mjs.map +1 -0
- package/fesm2020/mtxCheckboxGroup.mjs +257 -0
- package/fesm2020/mtxCheckboxGroup.mjs.map +1 -0
- package/fesm2020/mtxColorpicker.mjs +750 -0
- package/fesm2020/mtxColorpicker.mjs.map +1 -0
- package/fesm2020/mtxColumnResize.mjs +953 -0
- package/fesm2020/mtxColumnResize.mjs.map +1 -0
- package/{fesm2015/mtxCore.js → fesm2020/mtxCore.mjs} +75 -42
- package/fesm2020/mtxCore.mjs.map +1 -0
- package/fesm2020/mtxDatetimepicker.mjs +2462 -0
- package/fesm2020/mtxDatetimepicker.mjs.map +1 -0
- package/fesm2020/mtxDialog.mjs +129 -0
- package/fesm2020/mtxDialog.mjs.map +1 -0
- package/fesm2020/mtxFormGroup.mjs +59 -0
- package/fesm2020/mtxFormGroup.mjs.map +1 -0
- package/fesm2020/mtxGrid.mjs +1259 -0
- package/fesm2020/mtxGrid.mjs.map +1 -0
- package/fesm2020/mtxLoader.mjs +87 -0
- package/fesm2020/mtxLoader.mjs.map +1 -0
- package/{fesm2015/mtxPopover.js → fesm2020/mtxPopover.mjs} +120 -111
- package/fesm2020/mtxPopover.mjs.map +1 -0
- package/fesm2020/mtxProgress.mjs +77 -0
- package/fesm2020/mtxProgress.mjs.map +1 -0
- package/fesm2020/mtxSelect.mjs +709 -0
- package/fesm2020/mtxSelect.mjs.map +1 -0
- package/{fesm2015/mtxSlider.js → fesm2020/mtxSlider.mjs} +97 -94
- package/fesm2020/mtxSlider.mjs.map +1 -0
- package/fesm2020/mtxSplit.mjs +1007 -0
- package/fesm2020/mtxSplit.mjs.map +1 -0
- package/fesm2020/mtxText3d.mjs +67 -0
- package/fesm2020/mtxText3d.mjs.map +1 -0
- package/fesm2020/mtxTooltip.mjs +718 -0
- package/fesm2020/mtxTooltip.mjs.map +1 -0
- package/fesm2020/ng-matero-extensions.mjs +9 -0
- package/fesm2020/ng-matero-extensions.mjs.map +1 -0
- package/form-group/_form-group-theme.scss +1 -1
- package/form-group/form-group.component.d.ts +5 -4
- package/form-group/form-group.module.d.ts +6 -0
- package/form-group/mtxFormGroup.d.ts +1 -0
- package/form-group/package.json +5 -6
- package/grid/_grid-theme.scss +1 -1
- package/grid/cell.component.d.ts +3 -0
- package/grid/column-menu.component.d.ts +3 -0
- package/grid/column-menu.component.scss +1 -1
- package/grid/column-resize/_column-resize.scss +3 -3
- package/grid/column-resize/column-resize-directives/column-resize-flex.d.ts +3 -0
- package/grid/column-resize/column-resize-directives/column-resize.d.ts +3 -0
- package/grid/column-resize/column-resize-module.d.ts +12 -7
- package/grid/column-resize/overlay-handle.d.ts +3 -0
- package/grid/column-resize/resizable-directives/resizable.d.ts +3 -0
- package/grid/column-resize/resize-strategy.d.ts +3 -0
- package/grid/expansion-toggle.directive.d.ts +3 -0
- package/grid/grid.component.d.ts +20 -1
- package/grid/grid.module.d.ts +26 -0
- package/grid/grid.service.d.ts +3 -0
- package/grid/mtxGrid.d.ts +1 -0
- package/grid/package.json +5 -6
- package/grid/public-api.d.ts +0 -1
- package/loader/_loader-theme.scss +1 -1
- package/loader/loader.component.d.ts +7 -1
- package/loader/loader.module.d.ts +8 -0
- package/loader/mtxLoader.d.ts +1 -0
- package/loader/package.json +5 -6
- package/{color-picker/mtxColorPicker.d.ts → ng-matero-extensions.d.ts} +1 -0
- package/package.json +171 -15
- package/popover/_popover-theme.scss +1 -1
- package/popover/mtxPopover.d.ts +1 -0
- package/popover/package.json +5 -6
- package/popover/popover-module.d.ts +10 -0
- package/popover/popover-target.d.ts +3 -0
- package/popover/popover-trigger.d.ts +3 -0
- package/popover/popover.d.ts +6 -3
- package/progress/_progress-theme.scss +2 -2
- package/progress/mtxProgress.d.ts +1 -0
- package/progress/package.json +5 -6
- package/progress/progress.component.d.ts +3 -0
- package/progress/progress.module.d.ts +6 -0
- package/public-api.d.ts +2 -19
- package/select/_select-theme.scss +1 -1
- package/select/mtxSelect.d.ts +1 -0
- package/select/option.component.d.ts +3 -0
- package/select/package.json +5 -6
- package/select/select.component.d.ts +4 -1
- package/select/select.component.scss +1 -1
- package/select/select.module.d.ts +10 -0
- package/select/templates.directive.d.ts +23 -0
- package/slider/_slider-theme.scss +5 -5
- package/slider/mtxSlider.d.ts +1 -0
- package/slider/package.json +5 -6
- package/slider/slider-module.d.ts +7 -0
- package/slider/slider.d.ts +4 -1
- package/slider/slider.scss +8 -7
- package/split/_split-theme.scss +10 -3
- package/split/interface.d.ts +1 -2
- package/split/mtxSplit.d.ts +1 -0
- package/split/package.json +5 -6
- package/split/split-pane.directive.d.ts +3 -0
- package/split/split.component.d.ts +12 -1
- package/split/split.module.d.ts +7 -0
- package/text3d/_text3d-theme.scss +2 -2
- package/text3d/mtxText3d.d.ts +1 -0
- package/text3d/package.json +5 -6
- package/text3d/text3d.component.d.ts +3 -1
- package/text3d/text3d.module.d.ts +6 -0
- package/tooltip/_tooltip-theme.scss +3 -3
- package/tooltip/mtxTooltip.d.ts +1 -0
- package/tooltip/package.json +5 -6
- package/tooltip/tooltip-module.d.ts +10 -0
- package/tooltip/tooltip.d.ts +5 -0
- package/tooltip/tooltip.scss +1 -1
- package/alert/mtxAlert.metadata.json +0 -1
- package/bundles/extensions.umd.js +0 -198
- package/bundles/extensions.umd.js.map +0 -1
- package/bundles/mtxAlert.umd.js +0 -101
- package/bundles/mtxAlert.umd.js.map +0 -1
- package/bundles/mtxButton.umd.js +0 -119
- package/bundles/mtxButton.umd.js.map +0 -1
- package/bundles/mtxCheckboxGroup.umd.js +0 -285
- package/bundles/mtxCheckboxGroup.umd.js.map +0 -1
- package/bundles/mtxColorPicker.umd.js +0 -337
- package/bundles/mtxColorPicker.umd.js.map +0 -1
- package/bundles/mtxColumnResize.umd.js +0 -1339
- package/bundles/mtxColumnResize.umd.js.map +0 -1
- package/bundles/mtxCore.umd.js +0 -670
- package/bundles/mtxCore.umd.js.map +0 -1
- package/bundles/mtxDatetimepicker.umd.js +0 -2590
- package/bundles/mtxDatetimepicker.umd.js.map +0 -1
- package/bundles/mtxDialog.umd.js +0 -160
- package/bundles/mtxDialog.umd.js.map +0 -1
- package/bundles/mtxFormGroup.umd.js +0 -80
- package/bundles/mtxFormGroup.umd.js.map +0 -1
- package/bundles/mtxGrid.umd.js +0 -1583
- package/bundles/mtxGrid.umd.js.map +0 -1
- package/bundles/mtxLoader.umd.js +0 -104
- package/bundles/mtxLoader.umd.js.map +0 -1
- package/bundles/mtxPipes.umd.js +0 -44
- package/bundles/mtxPipes.umd.js.map +0 -1
- package/bundles/mtxPopover.umd.js +0 -1260
- package/bundles/mtxPopover.umd.js.map +0 -1
- package/bundles/mtxProgress.umd.js +0 -92
- package/bundles/mtxProgress.umd.js.map +0 -1
- package/bundles/mtxSelect.umd.js +0 -1097
- package/bundles/mtxSelect.umd.js.map +0 -1
- package/bundles/mtxSlider.umd.js +0 -1551
- package/bundles/mtxSlider.umd.js.map +0 -1
- package/bundles/mtxSplit.umd.js +0 -1430
- package/bundles/mtxSplit.umd.js.map +0 -1
- package/bundles/mtxText3d.umd.js +0 -92
- package/bundles/mtxText3d.umd.js.map +0 -1
- package/bundles/mtxTooltip.umd.js +0 -1078
- package/bundles/mtxTooltip.umd.js.map +0 -1
- package/button/mtxButton.metadata.json +0 -1
- package/checkbox-group/mtxCheckboxGroup.metadata.json +0 -1
- package/color-picker/color-picker.component.d.ts +0 -120
- package/color-picker/color-picker.module.d.ts +0 -2
- package/color-picker/mtxColorPicker.metadata.json +0 -1
- package/color-picker/package.json +0 -11
- package/color-picker/public-api.d.ts +0 -2
- package/column-resize/mtxColumnResize.metadata.json +0 -1
- package/core/mtxCore.metadata.json +0 -1
- package/datetimepicker/datetimepicker.module.d.ts +0 -2
- package/datetimepicker/mtxDatetimepicker.metadata.json +0 -1
- package/dialog/mtxDialog.metadata.json +0 -1
- package/esm2015/alert/alert.component.js +0 -63
- package/esm2015/alert/alert.module.js +0 -14
- package/esm2015/button/button-loading.directive.js +0 -89
- package/esm2015/button/button.module.js +0 -16
- package/esm2015/checkbox-group/checkbox-group.component.js +0 -236
- package/esm2015/checkbox-group/checkbox-group.module.js +0 -17
- package/esm2015/color-picker/color-picker.component.js +0 -268
- package/esm2015/color-picker/color-picker.module.js +0 -26
- package/esm2015/color-picker/mtxColorPicker.js +0 -5
- package/esm2015/color-picker/public-api.js +0 -3
- package/esm2015/column-resize/column-resize-directives/column-resize-flex.js +0 -54
- package/esm2015/column-resize/column-resize-directives/column-resize.js +0 -54
- package/esm2015/column-resize/column-resize-module.js +0 -24
- package/esm2015/column-resize/column-resize-notifier.js +0 -54
- package/esm2015/column-resize/column-resize.js +0 -80
- package/esm2015/column-resize/column-size-store.js +0 -18
- package/esm2015/column-resize/event-dispatcher.js +0 -75
- package/esm2015/column-resize/overlay-handle.js +0 -144
- package/esm2015/column-resize/resizable.js +0 -197
- package/esm2015/column-resize/resize-strategy.js +0 -245
- package/esm2015/core/datetime/datetime.module.js +0 -32
- package/esm2015/core/datetime/native-datetime-adapter.js +0 -144
- package/esm2015/datetimepicker/calendar-body.js +0 -75
- package/esm2015/datetimepicker/calendar.js +0 -629
- package/esm2015/datetimepicker/clock.js +0 -283
- package/esm2015/datetimepicker/datetimepicker-animations.js +0 -30
- package/esm2015/datetimepicker/datetimepicker-input.js +0 -333
- package/esm2015/datetimepicker/datetimepicker-toggle.js +0 -81
- package/esm2015/datetimepicker/datetimepicker.js +0 -411
- package/esm2015/datetimepicker/datetimepicker.module.js +0 -49
- package/esm2015/datetimepicker/month-view.js +0 -149
- package/esm2015/datetimepicker/mtxDatetimepicker.js +0 -7
- package/esm2015/datetimepicker/multi-year-view.js +0 -214
- package/esm2015/datetimepicker/public-api.js +0 -11
- package/esm2015/datetimepicker/year-view.js +0 -140
- package/esm2015/dialog/dialog.component.js +0 -40
- package/esm2015/dialog/dialog.js +0 -81
- package/esm2015/dialog/dialog.module.js +0 -21
- package/esm2015/dialog/public-api.js +0 -5
- package/esm2015/extensions-experimental.module.js +0 -13
- package/esm2015/extensions.js +0 -5
- package/esm2015/extensions.module.js +0 -40
- package/esm2015/form-group/form-group.component.js +0 -47
- package/esm2015/form-group/form-group.module.js +0 -14
- package/esm2015/grid/cell-selection.directive.js +0 -62
- package/esm2015/grid/cell.component.js +0 -115
- package/esm2015/grid/column-menu.component.js +0 -72
- package/esm2015/grid/column-resize/column-resize-directives/column-resize-flex.js +0 -47
- package/esm2015/grid/column-resize/column-resize-directives/column-resize.js +0 -47
- package/esm2015/grid/column-resize/column-resize-module.js +0 -36
- package/esm2015/grid/column-resize/overlay-handle.js +0 -68
- package/esm2015/grid/column-resize/resizable-directives/resizable.js +0 -75
- package/esm2015/grid/column-resize/resize-strategy.js +0 -45
- package/esm2015/grid/expansion-toggle.directive.js +0 -62
- package/esm2015/grid/grid.component.js +0 -418
- package/esm2015/grid/grid.module.js +0 -69
- package/esm2015/grid/grid.service.js +0 -50
- package/esm2015/grid/public-api.js +0 -17
- package/esm2015/loader/loader.component.js +0 -66
- package/esm2015/loader/loader.module.js +0 -16
- package/esm2015/pipes/mtxPipes.js +0 -5
- package/esm2015/pipes/pipes.module.js +0 -14
- package/esm2015/pipes/public-api.js +0 -3
- package/esm2015/pipes/to-observable.pipe.js +0 -12
- package/esm2015/popover/popover-module.js +0 -18
- package/esm2015/popover/popover-target.js +0 -24
- package/esm2015/popover/popover-trigger.js +0 -434
- package/esm2015/popover/popover.js +0 -326
- package/esm2015/progress/progress.component.js +0 -54
- package/esm2015/progress/progress.module.js +0 -14
- package/esm2015/public-api.js +0 -23
- package/esm2015/select/select.component.js +0 -380
- package/esm2015/select/select.module.js +0 -46
- package/esm2015/select/templates.directive.js +0 -211
- package/esm2015/slider/slider-module.js +0 -15
- package/esm2015/slider/slider.js +0 -1115
- package/esm2015/split/split-pane.directive.js +0 -156
- package/esm2015/split/split.component.js +0 -620
- package/esm2015/split/split.module.js +0 -15
- package/esm2015/split/utils.js +0 -227
- package/esm2015/text3d/text3d.component.js +0 -53
- package/esm2015/text3d/text3d.module.js +0 -14
- package/esm2015/tooltip/tooltip-module.js +0 -20
- package/esm2015/tooltip/tooltip.js +0 -678
- package/extensions-experimental.module.d.ts +0 -2
- package/extensions.metadata.json +0 -1
- package/extensions.module.d.ts +0 -2
- package/fesm2015/extensions.js +0 -80
- package/fesm2015/extensions.js.map +0 -1
- package/fesm2015/mtxAlert.js +0 -82
- package/fesm2015/mtxAlert.js.map +0 -1
- package/fesm2015/mtxButton.js +0 -108
- package/fesm2015/mtxButton.js.map +0 -1
- package/fesm2015/mtxCheckboxGroup.js +0 -256
- package/fesm2015/mtxCheckboxGroup.js.map +0 -1
- package/fesm2015/mtxColorPicker.js +0 -295
- package/fesm2015/mtxColorPicker.js.map +0 -1
- package/fesm2015/mtxColumnResize.js.map +0 -1
- package/fesm2015/mtxCore.js.map +0 -1
- package/fesm2015/mtxDatetimepicker.js +0 -2355
- package/fesm2015/mtxDatetimepicker.js.map +0 -1
- package/fesm2015/mtxDialog.js +0 -141
- package/fesm2015/mtxDialog.js.map +0 -1
- package/fesm2015/mtxFormGroup.js +0 -66
- package/fesm2015/mtxFormGroup.js.map +0 -1
- package/fesm2015/mtxGrid.js +0 -1186
- package/fesm2015/mtxGrid.js.map +0 -1
- package/fesm2015/mtxLoader.js +0 -87
- package/fesm2015/mtxLoader.js.map +0 -1
- package/fesm2015/mtxPipes.js +0 -31
- package/fesm2015/mtxPipes.js.map +0 -1
- package/fesm2015/mtxPopover.js.map +0 -1
- package/fesm2015/mtxProgress.js +0 -73
- package/fesm2015/mtxProgress.js.map +0 -1
- package/fesm2015/mtxSelect.js +0 -700
- package/fesm2015/mtxSelect.js.map +0 -1
- package/fesm2015/mtxSlider.js.map +0 -1
- package/fesm2015/mtxSplit.js.map +0 -1
- package/fesm2015/mtxText3d.js +0 -72
- package/fesm2015/mtxText3d.js.map +0 -1
- package/fesm2015/mtxTooltip.js.map +0 -1
- package/form-group/mtxFormGroup.metadata.json +0 -1
- package/grid/cell-selection.directive.d.ts +0 -17
- package/grid/mtxGrid.metadata.json +0 -1
- package/loader/mtxLoader.metadata.json +0 -1
- package/pipes/mtxPipes.d.ts +0 -4
- package/pipes/mtxPipes.metadata.json +0 -1
- package/pipes/package.json +0 -11
- package/pipes/pipes.module.d.ts +0 -2
- package/popover/mtxPopover.metadata.json +0 -1
- package/progress/mtxProgress.metadata.json +0 -1
- package/select/mtxSelect.metadata.json +0 -1
- package/slider/mtxSlider.metadata.json +0 -1
- package/split/mtxSplit.metadata.json +0 -1
- package/text3d/mtxText3d.metadata.json +0 -1
- package/tooltip/mtxTooltip.metadata.json +0 -1
|
@@ -1,14 +1,34 @@
|
|
|
1
|
-
import { AfterContentInit, EventEmitter, NgZone, OnDestroy, ViewContainerRef } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, NgZone, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { Directionality } from '@angular/cdk/bidi';
|
|
3
3
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
4
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
4
|
+
import { Overlay, ScrollStrategy } from '@angular/cdk/overlay';
|
|
5
|
+
import { CanColor, ThemePalette } from '@angular/material/core';
|
|
5
6
|
import { Subject } from 'rxjs';
|
|
6
7
|
import { DatetimeAdapter } from '@ng-matero/extensions/core';
|
|
7
8
|
import { MtxCalendarView, MtxCalendar } from './calendar';
|
|
8
9
|
import { MtxDatetimepickerFilterType } from './datetimepicker-filtertype';
|
|
9
10
|
import { MtxDatetimepickerInput } from './datetimepicker-input';
|
|
10
|
-
|
|
11
|
+
import { MtxDatetimepickerType } from './datetimepicker-types';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
11
13
|
export declare type MtxDatetimepickerMode = 'auto' | 'portrait' | 'landscape';
|
|
14
|
+
/** Possible positions for the colorpicker dropdown along the X axis. */
|
|
15
|
+
export declare type DatetimepickerDropdownPositionX = 'start' | 'end';
|
|
16
|
+
/** Possible positions for the colorpicker dropdown along the Y axis. */
|
|
17
|
+
export declare type DatetimepickerDropdownPositionY = 'above' | 'below';
|
|
18
|
+
/** Injection token that determines the scroll handling while the calendar is open. */
|
|
19
|
+
export declare const MTX_DATETIMEPICKER_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
|
|
20
|
+
export declare function MTX_DATETIMEPICKER_SCROLL_STRATEGY_FACTORY(overlay: Overlay): () => ScrollStrategy;
|
|
21
|
+
export declare const MTX_DATETIMEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER: {
|
|
22
|
+
provide: InjectionToken<() => ScrollStrategy>;
|
|
23
|
+
deps: (typeof Overlay)[];
|
|
24
|
+
useFactory: typeof MTX_DATETIMEPICKER_SCROLL_STRATEGY_FACTORY;
|
|
25
|
+
};
|
|
26
|
+
/** @docs-private */
|
|
27
|
+
declare const _MtxDatetimepickerContentBase: import("@angular/material/core")._Constructor<CanColor> & import("@angular/material/core")._AbstractConstructor<CanColor> & {
|
|
28
|
+
new (_elementRef: ElementRef): {
|
|
29
|
+
_elementRef: ElementRef;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
12
32
|
/**
|
|
13
33
|
* Component used as the content for the datetimepicker dialog and popup. We use this instead of
|
|
14
34
|
* using MtxCalendar directly as the content so we can control the initial focus. This also gives us
|
|
@@ -16,11 +36,23 @@ export declare type MtxDatetimepickerMode = 'auto' | 'portrait' | 'landscape';
|
|
|
16
36
|
* future. (e.g. confirmation buttons).
|
|
17
37
|
* @docs-private
|
|
18
38
|
*/
|
|
19
|
-
export declare class MtxDatetimepickerContent<D> implements AfterContentInit {
|
|
20
|
-
|
|
39
|
+
export declare class MtxDatetimepickerContent<D> extends _MtxDatetimepickerContentBase implements OnInit, AfterContentInit, OnDestroy, CanColor {
|
|
40
|
+
private _changeDetectorRef;
|
|
21
41
|
_calendar: MtxCalendar<D>;
|
|
42
|
+
datetimepicker: MtxDatetimepicker<D>;
|
|
43
|
+
/** Whether the datetimepicker is above or below the input. */
|
|
44
|
+
_isAbove: boolean;
|
|
45
|
+
/** Current state of the animation. */
|
|
46
|
+
_animationState: 'enter-dropdown' | 'enter-dialog' | 'void';
|
|
47
|
+
/** Emits when an animation has finished. */
|
|
48
|
+
readonly _animationDone: Subject<void>;
|
|
49
|
+
constructor(elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef);
|
|
50
|
+
ngOnInit(): void;
|
|
22
51
|
ngAfterContentInit(): void;
|
|
23
|
-
|
|
52
|
+
_startExitAnimation(): void;
|
|
53
|
+
ngOnDestroy(): void;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDatetimepickerContent<any>, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxDatetimepickerContent<any>, "mtx-datetimepicker-content", never, { "color": "color"; }, {}, never, never>;
|
|
24
56
|
}
|
|
25
57
|
export declare class MtxDatetimepicker<D> implements OnDestroy {
|
|
26
58
|
private _overlay;
|
|
@@ -41,10 +73,6 @@ export declare class MtxDatetimepicker<D> implements OnDestroy {
|
|
|
41
73
|
startView: MtxCalendarView;
|
|
42
74
|
mode: MtxDatetimepickerMode;
|
|
43
75
|
timeInterval: number;
|
|
44
|
-
ariaNextMonthLabel: string;
|
|
45
|
-
ariaPrevMonthLabel: string;
|
|
46
|
-
ariaNextYearLabel: string;
|
|
47
|
-
ariaPrevYearLabel: string;
|
|
48
76
|
/** Prevent user to select same date time */
|
|
49
77
|
preventSameDateTimeSelection: boolean;
|
|
50
78
|
/**
|
|
@@ -52,20 +80,31 @@ export declare class MtxDatetimepicker<D> implements OnDestroy {
|
|
|
52
80
|
* @deprecated Switch to the `dateChange` and `dateInput` binding on the input element.
|
|
53
81
|
*/
|
|
54
82
|
selectedChanged: EventEmitter<D>;
|
|
55
|
-
/** Classes to be passed to the date picker panel. Supports the same syntax as `ngClass`. */
|
|
56
|
-
panelClass: string | string[];
|
|
57
83
|
/** Emits when the datetimepicker has been opened. */
|
|
58
84
|
openedStream: EventEmitter<void>;
|
|
59
85
|
/** Emits when the datetimepicker has been closed. */
|
|
60
86
|
closedStream: EventEmitter<void>;
|
|
61
87
|
/** Emits when the view has been changed. */
|
|
62
88
|
viewChanged: EventEmitter<MtxCalendarView>;
|
|
89
|
+
/**
|
|
90
|
+
* Classes to be passed to the date picker panel.
|
|
91
|
+
* Supports string and string array values, similar to `ngClass`.
|
|
92
|
+
*/
|
|
93
|
+
get panelClass(): string | string[];
|
|
94
|
+
set panelClass(value: string | string[]);
|
|
95
|
+
private _panelClass;
|
|
63
96
|
/** Whether the calendar is open. */
|
|
64
|
-
opened: boolean;
|
|
97
|
+
get opened(): boolean;
|
|
98
|
+
set opened(value: boolean);
|
|
99
|
+
private _opened;
|
|
65
100
|
/** The id for the datetimepicker calendar. */
|
|
66
101
|
id: string;
|
|
102
|
+
/** Color palette to use on the datetimepicker's calendar. */
|
|
103
|
+
get color(): ThemePalette;
|
|
104
|
+
set color(value: ThemePalette);
|
|
105
|
+
private _color;
|
|
67
106
|
/** The input element this datetimepicker is associated with. */
|
|
68
|
-
|
|
107
|
+
datetimepickerInput: MtxDatetimepickerInput<D>;
|
|
69
108
|
/** Emits when the datetimepicker is disabled. */
|
|
70
109
|
_disabledChange: Subject<boolean>;
|
|
71
110
|
private _validSelected;
|
|
@@ -83,9 +122,6 @@ export declare class MtxDatetimepicker<D> implements OnDestroy {
|
|
|
83
122
|
get startAt(): D | null;
|
|
84
123
|
set startAt(date: D | null);
|
|
85
124
|
private _startAt;
|
|
86
|
-
get openOnFocus(): boolean;
|
|
87
|
-
set openOnFocus(value: boolean);
|
|
88
|
-
private _openOnFocus;
|
|
89
125
|
get type(): MtxDatetimepickerType;
|
|
90
126
|
set type(value: MtxDatetimepickerType);
|
|
91
127
|
private _type;
|
|
@@ -100,6 +136,18 @@ export declare class MtxDatetimepicker<D> implements OnDestroy {
|
|
|
100
136
|
get disabled(): boolean;
|
|
101
137
|
set disabled(value: boolean);
|
|
102
138
|
private _disabled;
|
|
139
|
+
/** Preferred position of the datetimepicker in the X axis. */
|
|
140
|
+
xPosition: DatetimepickerDropdownPositionX;
|
|
141
|
+
/** Preferred position of the datetimepicker in the Y axis. */
|
|
142
|
+
yPosition: DatetimepickerDropdownPositionY;
|
|
143
|
+
/**
|
|
144
|
+
* Whether to restore focus to the previously-focused element when the panel is closed.
|
|
145
|
+
* Note that automatic focus restoration is an accessibility feature and it is recommended that
|
|
146
|
+
* you provide your own equivalent, if you decide to turn it off.
|
|
147
|
+
*/
|
|
148
|
+
get restoreFocus(): boolean;
|
|
149
|
+
set restoreFocus(value: boolean);
|
|
150
|
+
private _restoreFocus;
|
|
103
151
|
/** The currently selected date. */
|
|
104
152
|
get _selected(): D | null;
|
|
105
153
|
set _selected(value: D | null);
|
|
@@ -110,10 +158,7 @@ export declare class MtxDatetimepicker<D> implements OnDestroy {
|
|
|
110
158
|
get _dateFilter(): (date: D | null, type: MtxDatetimepickerFilterType) => boolean;
|
|
111
159
|
_viewChanged(type: MtxCalendarView): void;
|
|
112
160
|
ngOnDestroy(): void;
|
|
113
|
-
/**
|
|
114
|
-
* TODO: use model
|
|
115
|
-
* Selects the given date
|
|
116
|
-
*/
|
|
161
|
+
/** Selects the given date */
|
|
117
162
|
_select(date: D): void;
|
|
118
163
|
/**
|
|
119
164
|
* Register an input with this datetimepicker.
|
|
@@ -125,7 +170,6 @@ export declare class MtxDatetimepicker<D> implements OnDestroy {
|
|
|
125
170
|
/** Close the calendar. */
|
|
126
171
|
close(): void;
|
|
127
172
|
/**
|
|
128
|
-
* TODO: add datetimepicker color
|
|
129
173
|
* Forwards relevant values from the datetimepicker to the
|
|
130
174
|
* datetimepicker content inside the overlay.
|
|
131
175
|
*/
|
|
@@ -139,7 +183,6 @@ export declare class MtxDatetimepicker<D> implements OnDestroy {
|
|
|
139
183
|
/** Gets a position strategy that will open the calendar as a dropdown. */
|
|
140
184
|
private _getDropdownStrategy;
|
|
141
185
|
/**
|
|
142
|
-
* TODO: `xPosition` and `yPosition`
|
|
143
186
|
* Sets the positions of the datetimepicker in dropdown mode based on the current configuration.
|
|
144
187
|
*/
|
|
145
188
|
private _setConnectedPositions;
|
|
@@ -147,7 +190,12 @@ export declare class MtxDatetimepicker<D> implements OnDestroy {
|
|
|
147
190
|
private _getCloseStream;
|
|
148
191
|
static ngAcceptInputType_multiYearSelector: BooleanInput;
|
|
149
192
|
static ngAcceptInputType_twelvehour: BooleanInput;
|
|
150
|
-
static
|
|
193
|
+
static ngAcceptInputType_preventSameDateTimeSelection: BooleanInput;
|
|
151
194
|
static ngAcceptInputType_disabled: BooleanInput;
|
|
152
|
-
static
|
|
195
|
+
static ngAcceptInputType_opened: BooleanInput;
|
|
196
|
+
static ngAcceptInputType_touchUi: BooleanInput;
|
|
197
|
+
static ngAcceptInputType_restoreFocus: BooleanInput;
|
|
198
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDatetimepicker<any>, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
199
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxDatetimepicker<any>, "mtx-datetimepicker", ["mtxDatetimepicker"], { "multiYearSelector": "multiYearSelector"; "twelvehour": "twelvehour"; "startView": "startView"; "mode": "mode"; "timeInterval": "timeInterval"; "preventSameDateTimeSelection": "preventSameDateTimeSelection"; "panelClass": "panelClass"; "opened": "opened"; "color": "color"; "startAt": "startAt"; "type": "type"; "touchUi": "touchUi"; "disabled": "disabled"; "xPosition": "xPosition"; "yPosition": "yPosition"; "restoreFocus": "restoreFocus"; }, { "selectedChanged": "selectedChanged"; "openedStream": "opened"; "closedStream": "closed"; "viewChanged": "viewChanged"; }, never, never>;
|
|
153
200
|
}
|
|
201
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AfterContentInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { MtxDatetimeFormats } from '@ng-matero/extensions/core';
|
|
3
|
-
import { DatetimeAdapter } from '@ng-matero/extensions/core';
|
|
2
|
+
import { MtxDatetimeFormats, DatetimeAdapter } from '@ng-matero/extensions/core';
|
|
4
3
|
import { MtxCalendarCell } from './calendar-body';
|
|
5
|
-
import { MtxDatetimepickerType } from './datetimepicker';
|
|
4
|
+
import { MtxDatetimepickerType } from './datetimepicker-types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
7
|
* An internal component used to display a single month in the datetimepicker.
|
|
8
8
|
* @docs-private
|
|
@@ -11,11 +11,12 @@ export declare class MtxMonthView<D> implements AfterContentInit {
|
|
|
11
11
|
_adapter: DatetimeAdapter<D>;
|
|
12
12
|
private _dateFormats;
|
|
13
13
|
type: MtxDatetimepickerType;
|
|
14
|
-
_userSelection: EventEmitter<void>;
|
|
15
14
|
/** A function used to filter which dates are selectable. */
|
|
16
15
|
dateFilter: (date: D) => boolean;
|
|
17
16
|
/** Emits when a new date is selected. */
|
|
18
17
|
selectedChange: EventEmitter<D>;
|
|
18
|
+
/** Emits when any date is selected. */
|
|
19
|
+
readonly _userSelection: EventEmitter<void>;
|
|
19
20
|
/** Grid of calendar cells representing the dates of the month. */
|
|
20
21
|
_weeks: MtxCalendarCell[][];
|
|
21
22
|
/** The number of blank cells in the first row before the 1st of the month. */
|
|
@@ -58,4 +59,6 @@ export declare class MtxMonthView<D> implements AfterContentInit {
|
|
|
58
59
|
*/
|
|
59
60
|
private _getDateInCurrentMonth;
|
|
60
61
|
private calendarState;
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxMonthView<any>, [{ optional: true; }, { optional: true; }]>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxMonthView<any>, "mtx-month-view", ["mtxMonthView"], { "type": "type"; "dateFilter": "dateFilter"; "activeDate": "activeDate"; "selected": "selected"; }, { "selectedChange": "selectedChange"; "_userSelection": "_userSelection"; }, never, never>;
|
|
61
64
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
|
+
/// <amd-module name="@ng-matero/extensions/datetimepicker" />
|
|
4
5
|
export * from './public-api';
|
|
5
|
-
export { slideCalendar as ɵa } from './datetimepicker-animations';
|
|
6
|
-
export { MtxMultiYearView as ɵb } from './multi-year-view';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AfterContentInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { MtxDatetimepickerType } from './datetimepicker';
|
|
3
2
|
import { MtxCalendarCell } from './calendar-body';
|
|
4
|
-
import { MtxDatetimeFormats } from '@ng-matero/extensions/core';
|
|
5
|
-
import {
|
|
3
|
+
import { MtxDatetimeFormats, DatetimeAdapter } from '@ng-matero/extensions/core';
|
|
4
|
+
import { MtxDatetimepickerType } from './datetimepicker-types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
6
|
export declare const yearsPerPage = 24;
|
|
7
7
|
export declare const yearsPerRow = 4;
|
|
8
8
|
/**
|
|
@@ -12,12 +12,13 @@ export declare const yearsPerRow = 4;
|
|
|
12
12
|
export declare class MtxMultiYearView<D> implements AfterContentInit {
|
|
13
13
|
_adapter: DatetimeAdapter<D>;
|
|
14
14
|
private _dateFormats;
|
|
15
|
-
_userSelection: EventEmitter<void>;
|
|
16
15
|
type: MtxDatetimepickerType;
|
|
17
16
|
/** A function used to filter which dates are selectable. */
|
|
18
17
|
dateFilter: (date: D) => boolean;
|
|
19
18
|
/** Emits when a new month is selected. */
|
|
20
19
|
selectedChange: EventEmitter<D>;
|
|
20
|
+
/** Emits when any date is selected. */
|
|
21
|
+
readonly _userSelection: EventEmitter<void>;
|
|
21
22
|
/** Grid of calendar cells representing the years in the range. */
|
|
22
23
|
_years: MtxCalendarCell[][];
|
|
23
24
|
/** The label for this year range (e.g. "2000-2020"). */
|
|
@@ -73,6 +74,8 @@ export declare class MtxMultiYearView<D> implements AfterContentInit {
|
|
|
73
74
|
* @returns The given object if it is both a date instance and valid, otherwise null.
|
|
74
75
|
*/
|
|
75
76
|
private _getValidDateOrNull;
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxMultiYearView<any>, [{ optional: true; }, { optional: true; }]>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxMultiYearView<any>, "mtx-multi-year-view", ["mtxMultiYearView"], { "type": "type"; "dateFilter": "dateFilter"; "activeDate": "activeDate"; "selected": "selected"; "minDate": "minDate"; "maxDate": "maxDate"; }, { "selectedChange": "selectedChange"; "_userSelection": "_userSelection"; }, never, never>;
|
|
76
79
|
}
|
|
77
80
|
export declare function isSameMultiYearView<D>(dateAdapter: DatetimeAdapter<D>, date1: D, date2: D, minDate: D | null, maxDate: D | null): boolean;
|
|
78
81
|
/**
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"fesm2015": "../fesm2015/mtxDatetimepicker.
|
|
2
|
+
"module": "../fesm2015/mtxDatetimepicker.mjs",
|
|
3
|
+
"es2020": "../fesm2020/mtxDatetimepicker.mjs",
|
|
4
|
+
"esm2020": "../esm2020/datetimepicker/mtxDatetimepicker.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/mtxDatetimepicker.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/mtxDatetimepicker.mjs",
|
|
7
7
|
"typings": "mtxDatetimepicker.d.ts",
|
|
8
|
-
"metadata": "mtxDatetimepicker.metadata.json",
|
|
9
8
|
"sideEffects": false,
|
|
10
9
|
"name": "@ng-matero/extensions/datetimepicker"
|
|
11
10
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './datetimepicker
|
|
1
|
+
export * from './datetimepicker-module';
|
|
2
2
|
export * from './clock';
|
|
3
3
|
export * from './calendar';
|
|
4
4
|
export * from './calendar-body';
|
|
@@ -8,3 +8,6 @@ export * from './datetimepicker-input';
|
|
|
8
8
|
export * from './datetimepicker-toggle';
|
|
9
9
|
export * from './month-view';
|
|
10
10
|
export * from './year-view';
|
|
11
|
+
export * from './multi-year-view';
|
|
12
|
+
export * from './datetimepicker-animations';
|
|
13
|
+
export * from './datetimepicker-types';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AfterContentInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { MtxDatetimepickerType } from './datetimepicker';
|
|
3
2
|
import { MtxCalendarCell } from './calendar-body';
|
|
4
|
-
import { MtxDatetimeFormats } from '@ng-matero/extensions/core';
|
|
5
|
-
import {
|
|
3
|
+
import { MtxDatetimeFormats, DatetimeAdapter } from '@ng-matero/extensions/core';
|
|
4
|
+
import { MtxDatetimepickerType } from './datetimepicker-types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
7
|
* An internal component used to display a single year in the datetimepicker.
|
|
8
8
|
* @docs-private
|
|
@@ -10,12 +10,13 @@ import { DatetimeAdapter } from '@ng-matero/extensions/core';
|
|
|
10
10
|
export declare class MtxYearView<D> implements AfterContentInit {
|
|
11
11
|
_adapter: DatetimeAdapter<D>;
|
|
12
12
|
private _dateFormats;
|
|
13
|
-
_userSelection: EventEmitter<void>;
|
|
14
13
|
type: MtxDatetimepickerType;
|
|
15
14
|
/** A function used to filter which dates are selectable. */
|
|
16
15
|
dateFilter: (date: D) => boolean;
|
|
17
16
|
/** Emits when a new month is selected. */
|
|
18
17
|
selectedChange: EventEmitter<D>;
|
|
18
|
+
/** Emits when any date is selected. */
|
|
19
|
+
readonly _userSelection: EventEmitter<void>;
|
|
19
20
|
/** Grid of calendar cells representing the months of the year. */
|
|
20
21
|
_months: MtxCalendarCell[][];
|
|
21
22
|
/** The label for this year (e.g. "2017"). */
|
|
@@ -52,4 +53,6 @@ export declare class MtxYearView<D> implements AfterContentInit {
|
|
|
52
53
|
private _createCellForMonth;
|
|
53
54
|
/** Whether the given month is enabled. */
|
|
54
55
|
private _isMonthEnabled;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxYearView<any>, [{ optional: true; }, { optional: true; }]>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxYearView<any>, "mtx-year-view", ["mtxYearView"], { "type": "type"; "dateFilter": "dateFilter"; "activeDate": "activeDate"; "selected": "selected"; }, { "selectedChange": "selectedChange"; "_userSelection": "_userSelection"; }, never, never>;
|
|
55
58
|
}
|
|
File without changes
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import { MtxDialogData } from './dialog
|
|
2
|
+
import { MtxDialogData } from './dialog-config';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class MtxDialogComponent {
|
|
4
5
|
dialogRef: MatDialogRef<MtxDialogComponent>;
|
|
5
6
|
data: MtxDialogData;
|
|
6
7
|
constructor(dialogRef: MatDialogRef<MtxDialogComponent>, data: MtxDialogData);
|
|
7
8
|
_onClick(fn: () => void): void;
|
|
8
9
|
_onClose(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDialogComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxDialogComponent, "mtx-dialog", ["mtxDialog"], {}, {}, never, never>;
|
|
9
12
|
}
|
package/dialog/dialog.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { ComponentType } from '@angular/cdk/portal';
|
|
3
3
|
import { MatDialog } from '@angular/material/dialog';
|
|
4
|
-
import { MtxDialogData } from './dialog.config';
|
|
5
4
|
import { Observable } from 'rxjs';
|
|
5
|
+
import { MtxDialogData } from './dialog-config';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class MtxDialog {
|
|
7
8
|
dialog: MatDialog;
|
|
8
9
|
constructor(dialog: MatDialog);
|
|
@@ -10,4 +11,6 @@ export declare class MtxDialog {
|
|
|
10
11
|
open(config: MtxDialogData, componentOrTemplateRef?: ComponentType<any> | TemplateRef<any>): import("@angular/material/dialog").MatDialogRef<any, any>;
|
|
11
12
|
alert(title: string | Observable<string>, description?: string | Observable<string>, onOk?: () => void): void;
|
|
12
13
|
confirm(title: string | Observable<string>, description?: string | Observable<string>, onOk?: () => void, onClose?: () => void): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDialog, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MtxDialog>;
|
|
13
16
|
}
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dialog.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/dialog";
|
|
5
|
+
import * as i4 from "@angular/material/button";
|
|
6
|
+
import * as i5 from "@angular/material/icon";
|
|
7
|
+
import * as i6 from "@ng-matero/extensions/core";
|
|
1
8
|
export declare class MtxDialogModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDialogModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxDialogModule, [typeof i1.MtxDialogComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.MatButtonModule, typeof i5.MatIconModule, typeof i6.MtxPipesModule], [typeof i1.MtxDialogComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MtxDialogModule>;
|
|
2
12
|
}
|
package/dialog/mtxDialog.d.ts
CHANGED
package/dialog/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"fesm2015": "../fesm2015/mtxDialog.
|
|
2
|
+
"module": "../fesm2015/mtxDialog.mjs",
|
|
3
|
+
"es2020": "../fesm2020/mtxDialog.mjs",
|
|
4
|
+
"esm2020": "../esm2020/dialog/mtxDialog.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/mtxDialog.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/mtxDialog.mjs",
|
|
7
7
|
"typings": "mtxDialog.d.ts",
|
|
8
|
-
"metadata": "mtxDialog.metadata.json",
|
|
9
8
|
"sideEffects": false,
|
|
10
9
|
"name": "@ng-matero/extensions/dialog"
|
|
11
10
|
}
|
package/dialog/public-api.d.ts
CHANGED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, EventEmitter, HostBinding, } from '@angular/core';
|
|
2
|
+
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export class MtxAlertComponent {
|
|
6
|
+
constructor(_changeDetectorRef) {
|
|
7
|
+
this._changeDetectorRef = _changeDetectorRef;
|
|
8
|
+
/** The alert type */
|
|
9
|
+
this.type = 'default';
|
|
10
|
+
this._dismissible = false;
|
|
11
|
+
/** Material elevation */
|
|
12
|
+
this.elevation = 0;
|
|
13
|
+
/** This event fires when alert closed, $event is an instance of Alert component */
|
|
14
|
+
this.closed = new EventEmitter();
|
|
15
|
+
}
|
|
16
|
+
get hostClassList() {
|
|
17
|
+
return `mtx-alert-${this.type} mat-elevation-z${this.elevation}`;
|
|
18
|
+
}
|
|
19
|
+
/** Whether displays an inline `Close` button */
|
|
20
|
+
get dismissible() {
|
|
21
|
+
return this._dismissible;
|
|
22
|
+
}
|
|
23
|
+
set dismissible(value) {
|
|
24
|
+
this._dismissible = coerceBooleanProperty(value);
|
|
25
|
+
}
|
|
26
|
+
_onClosed() {
|
|
27
|
+
this._changeDetectorRef.markForCheck();
|
|
28
|
+
this.closed.emit(this);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
/** @nocollapse */ /** @nocollapse */ MtxAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MtxAlertComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
32
|
+
/** @nocollapse */ /** @nocollapse */ MtxAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: MtxAlertComponent, selector: "mtx-alert", inputs: { type: "type", dismissible: "dismissible", elevation: "elevation" }, outputs: { closed: "closed" }, host: { attributes: { "role": "alert" }, properties: { "class.mtx-alert": "true", "class.mtx-alert-dismissible": "dismissible", "class": "this.hostClassList" } }, exportAs: ["mtxAlert"], ngImport: i0, template: "<ng-content></ng-content>\n<ng-template [ngIf]=\"dismissible\">\n <button type=\"button\" class=\"mtx-alert-close\" aria-label=\"Close\" (click)=\"_onClosed()\">\n <span aria-hidden=\"true\">×</span>\n </button>\n</ng-template>\n", styles: [".mtx-alert{position:relative;display:block;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.mtx-alert-close{position:absolute;top:0;bottom:0;right:0;padding:0 1.25rem;font-size:1.5rem;line-height:1;color:inherit;opacity:.5;background-color:transparent;border:0;cursor:pointer}[dir=rtl] .mtx-alert-close{right:auto;left:0}.mtx-alert-close:hover{opacity:.75}.mtx-alert-dismissible{padding-right:4rem}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MtxAlertComponent, decorators: [{
|
|
34
|
+
type: Component,
|
|
35
|
+
args: [{ selector: 'mtx-alert', exportAs: 'mtxAlert', host: {
|
|
36
|
+
'[class.mtx-alert]': 'true',
|
|
37
|
+
'[class.mtx-alert-dismissible]': 'dismissible',
|
|
38
|
+
'role': 'alert',
|
|
39
|
+
}, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n<ng-template [ngIf]=\"dismissible\">\n <button type=\"button\" class=\"mtx-alert-close\" aria-label=\"Close\" (click)=\"_onClosed()\">\n <span aria-hidden=\"true\">×</span>\n </button>\n</ng-template>\n", styles: [".mtx-alert{position:relative;display:block;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.mtx-alert-close{position:absolute;top:0;bottom:0;right:0;padding:0 1.25rem;font-size:1.5rem;line-height:1;color:inherit;opacity:.5;background-color:transparent;border:0;cursor:pointer}[dir=rtl] .mtx-alert-close{right:auto;left:0}.mtx-alert-close:hover{opacity:.75}.mtx-alert-dismissible{padding-right:4rem}\n"] }]
|
|
40
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { hostClassList: [{
|
|
41
|
+
type: HostBinding,
|
|
42
|
+
args: ['class']
|
|
43
|
+
}], type: [{
|
|
44
|
+
type: Input
|
|
45
|
+
}], dismissible: [{
|
|
46
|
+
type: Input
|
|
47
|
+
}], elevation: [{
|
|
48
|
+
type: Input
|
|
49
|
+
}], closed: [{
|
|
50
|
+
type: Output
|
|
51
|
+
}] } });
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZXh0ZW5zaW9ucy9hbGVydC9hbGVydC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi9wcm9qZWN0cy9leHRlbnNpb25zL2FsZXJ0L2FsZXJ0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsdUJBQXVCLEVBQ3ZCLGlCQUFpQixFQUNqQixLQUFLLEVBQ0wsTUFBTSxFQUNOLFlBQVksRUFFWixXQUFXLEdBQ1osTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFnQixxQkFBcUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDOzs7QUFpQjVFLE1BQU0sT0FBTyxpQkFBaUI7SUF3QjVCLFlBQW9CLGtCQUFxQztRQUFy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9vbkNsb3NlZCgpOiB2b2lkIHtcbiAgICB0aGlzLl9jaGFuZ2VEZXRlY3RvclJlZi5tYXJrRm9yQ2hlY2soKTtcbiAgICB0aGlzLmNsb3NlZC5lbWl0KHRoaXMpO1xuICB9XG5cbiAgc3RhdGljIG5nQWNjZXB0SW5wdXRUeXBlX2Rpc21pc3NpYmxlOiBCb29sZWFuSW5wdXQ7XG59XG4iLCI8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48bmctdGVtcGxhdGUgW25nSWZdPVwiZGlzbWlzc2libGVcIj5cbiAgPGJ1dHRvbiB0eXBlPVwiYnV0dG9uXCIgY2xhc3M9XCJtdHgtYWxlcnQtY2xvc2VcIiBhcmlhLWxhYmVsPVwiQ2xvc2VcIiAoY2xpY2spPVwiX29uQ2xvc2VkKClcIj5cbiAgICA8c3BhbiBhcmlhLWhpZGRlbj1cInRydWVcIj4mdGltZXM7PC9zcGFuPlxuICA8L2J1dHRvbj5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { MtxAlertComponent } from './alert.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class MtxAlertModule {
|
|
6
|
+
}
|
|
7
|
+
/** @nocollapse */ /** @nocollapse */ MtxAlertModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MtxAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
/** @nocollapse */ /** @nocollapse */ MtxAlertModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MtxAlertModule, declarations: [MtxAlertComponent], imports: [CommonModule], exports: [MtxAlertComponent] });
|
|
9
|
+
/** @nocollapse */ /** @nocollapse */ MtxAlertModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MtxAlertModule, imports: [[CommonModule]] });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MtxAlertModule, decorators: [{
|
|
11
|
+
type: NgModule,
|
|
12
|
+
args: [{
|
|
13
|
+
imports: [CommonModule],
|
|
14
|
+
exports: [MtxAlertComponent],
|
|
15
|
+
declarations: [MtxAlertComponent],
|
|
16
|
+
}]
|
|
17
|
+
}] });
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZXh0ZW5zaW9ucy9hbGVydC9hbGVydC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFFL0MsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sbUJBQW1CLENBQUM7O0FBT3RELE1BQU0sT0FBTyxjQUFjOztpSkFBZCxjQUFjO2tKQUFkLGNBQWMsaUJBRlYsaUJBQWlCLGFBRnRCLFlBQVksYUFDWixpQkFBaUI7a0pBR2hCLGNBQWMsWUFKaEIsQ0FBQyxZQUFZLENBQUM7MkZBSVosY0FBYztrQkFMMUIsUUFBUTttQkFBQztvQkFDUixPQUFPLEVBQUUsQ0FBQyxZQUFZLENBQUM7b0JBQ3ZCLE9BQU8sRUFBRSxDQUFDLGlCQUFpQixDQUFDO29CQUM1QixZQUFZLEVBQUUsQ0FBQyxpQkFBaUIsQ0FBQztpQkFDbEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcblxuaW1wb3J0IHsgTXR4QWxlcnRDb21wb25lbnQgfSBmcm9tICcuL2FsZXJ0LmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGVdLFxuICBleHBvcnRzOiBbTXR4QWxlcnRDb21wb25lbnRdLFxuICBkZWNsYXJhdGlvbnM6IFtNdHhBbGVydENvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIE10eEFsZXJ0TW9kdWxlIHt9XG4iXX0=
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { Directive, Input, } from '@angular/core';
|
|
2
|
+
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
3
|
+
import { MatProgressSpinner } from '@angular/material/progress-spinner';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/material/button";
|
|
6
|
+
export class MatButtonLoadingDirective {
|
|
7
|
+
constructor(matButton, componentFactoryResolver, viewContainerRef, renderer) {
|
|
8
|
+
this.matButton = matButton;
|
|
9
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
10
|
+
this.viewContainerRef = viewContainerRef;
|
|
11
|
+
this.renderer = renderer;
|
|
12
|
+
this._loading = false;
|
|
13
|
+
this._disabled = false;
|
|
14
|
+
this.spinnerFactory = this.componentFactoryResolver.resolveComponentFactory(MatProgressSpinner);
|
|
15
|
+
}
|
|
16
|
+
get loading() {
|
|
17
|
+
return this._loading;
|
|
18
|
+
}
|
|
19
|
+
set loading(value) {
|
|
20
|
+
this._loading = coerceBooleanProperty(value);
|
|
21
|
+
}
|
|
22
|
+
get disabled() {
|
|
23
|
+
return this._disabled;
|
|
24
|
+
}
|
|
25
|
+
set disabled(value) {
|
|
26
|
+
this._disabled = coerceBooleanProperty(value);
|
|
27
|
+
}
|
|
28
|
+
ngOnChanges(changes) {
|
|
29
|
+
if (!changes.loading) {
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
if (changes.loading.currentValue) {
|
|
33
|
+
this.matButton._elementRef.nativeElement.classList.add('mat-button-loading');
|
|
34
|
+
this.matButton.disabled = true;
|
|
35
|
+
this.createSpinner();
|
|
36
|
+
}
|
|
37
|
+
else if (!changes.loading.firstChange) {
|
|
38
|
+
this.matButton._elementRef.nativeElement.classList.remove('mat-button-loading');
|
|
39
|
+
this.matButton.disabled = this.disabled;
|
|
40
|
+
this.destroySpinner();
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
createSpinner() {
|
|
44
|
+
if (!this.spinner) {
|
|
45
|
+
this.spinner = this.viewContainerRef.createComponent(this.spinnerFactory);
|
|
46
|
+
this.spinner.instance.color = this.color;
|
|
47
|
+
this.spinner.instance.diameter = 20;
|
|
48
|
+
this.spinner.instance.mode = 'indeterminate';
|
|
49
|
+
this.renderer.appendChild(this.matButton._elementRef.nativeElement, this.spinner.instance._elementRef.nativeElement);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
destroySpinner() {
|
|
53
|
+
if (this.spinner) {
|
|
54
|
+
this.spinner.destroy();
|
|
55
|
+
this.spinner = null;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
/** @nocollapse */ /** @nocollapse */ MatButtonLoadingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MatButtonLoadingDirective, deps: [{ token: i1.MatButton }, { token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
60
|
+
/** @nocollapse */ /** @nocollapse */ MatButtonLoadingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.0", type: MatButtonLoadingDirective, selector: "button[mat-button][loading],\n button[mat-raised-button][loading],\n button[mat-stroked-button][loading],\n button[mat-flat-button][loading],\n button[mat-icon-button][loading],\n button[mat-fab][loading],\n button[mat-mini-fab][loading]", inputs: { loading: "loading", disabled: "disabled", color: "color" }, usesOnChanges: true, ngImport: i0 });
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MatButtonLoadingDirective, decorators: [{
|
|
62
|
+
type: Directive,
|
|
63
|
+
args: [{
|
|
64
|
+
selector: `button[mat-button][loading],
|
|
65
|
+
button[mat-raised-button][loading],
|
|
66
|
+
button[mat-stroked-button][loading],
|
|
67
|
+
button[mat-flat-button][loading],
|
|
68
|
+
button[mat-icon-button][loading],
|
|
69
|
+
button[mat-fab][loading],
|
|
70
|
+
button[mat-mini-fab][loading]`,
|
|
71
|
+
}]
|
|
72
|
+
}], ctorParameters: function () { return [{ type: i1.MatButton }, { type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: i0.Renderer2 }]; }, propDecorators: { loading: [{
|
|
73
|
+
type: Input
|
|
74
|
+
}], disabled: [{
|
|
75
|
+
type: Input
|
|
76
|
+
}], color: [{
|
|
77
|
+
type: Input
|
|
78
|
+
}] } });
|
|
79
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWxvYWRpbmcuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZXh0ZW5zaW9ucy9idXR0b24vYnV0dG9uLWxvYWRpbmcuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFJTCxTQUFTLEVBQ1QsS0FBSyxHQUtOLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBZ0IscUJBQXFCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztB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eXBlX2xvYWRpbmc6IEJvb2xlYW5JbnB1dDtcbiAgc3RhdGljIG5nQWNjZXB0SW5wdXRUeXBlX2Rpc2FibGVkOiBCb29sZWFuSW5wdXQ7XG59XG4iXX0=
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
4
|
+
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
5
|
+
import { MatButtonLoadingDirective } from './button-loading.directive';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class MtxButtonModule {
|
|
8
|
+
}
|
|
9
|
+
/** @nocollapse */ /** @nocollapse */ MtxButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MtxButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
/** @nocollapse */ /** @nocollapse */ MtxButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MtxButtonModule, declarations: [MatButtonLoadingDirective], imports: [CommonModule, MatButtonModule, MatProgressSpinnerModule], exports: [MatButtonLoadingDirective] });
|
|
11
|
+
/** @nocollapse */ /** @nocollapse */ MtxButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MtxButtonModule, imports: [[CommonModule, MatButtonModule, MatProgressSpinnerModule]] });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MtxButtonModule, decorators: [{
|
|
13
|
+
type: NgModule,
|
|
14
|
+
args: [{
|
|
15
|
+
imports: [CommonModule, MatButtonModule, MatProgressSpinnerModule],
|
|
16
|
+
exports: [MatButtonLoadingDirective],
|
|
17
|
+
declarations: [MatButtonLoadingDirective],
|
|
18
|
+
}]
|
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