@ng-matero/extensions 12.7.0 → 13.0.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 +2 -16
- package/_all-color.scss +1 -1
- package/_index.scss +1 -1
- package/_theming.scss +1 -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 +3 -0
- 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.scss +2 -2
- package/colorpicker/colorpicker-input.d.ts +3 -0
- package/colorpicker/colorpicker-module.d.ts +13 -0
- package/colorpicker/colorpicker-toggle.d.ts +5 -0
- package/colorpicker/colorpicker.d.ts +6 -1
- package/colorpicker/mtxColorpicker.d.ts +1 -0
- package/colorpicker/package.json +5 -6
- 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 +5 -5
- package/datetimepicker/calendar-body.d.ts +3 -0
- package/datetimepicker/calendar-body.scss +5 -4
- package/datetimepicker/calendar.d.ts +4 -1
- package/datetimepicker/clock.d.ts +3 -0
- package/datetimepicker/datetimepicker-input.d.ts +3 -0
- package/datetimepicker/datetimepicker-module.d.ts +18 -0
- package/datetimepicker/datetimepicker-toggle.d.ts +5 -0
- package/datetimepicker/datetimepicker-types.d.ts +1 -0
- package/datetimepicker/datetimepicker.d.ts +7 -2
- package/datetimepicker/month-view.d.ts +4 -1
- package/datetimepicker/mtxDatetimepicker.d.ts +1 -0
- package/datetimepicker/multi-year-view.d.ts +4 -1
- package/datetimepicker/package.json +5 -6
- package/datetimepicker/public-api.d.ts +1 -0
- package/datetimepicker/year-view.d.ts +4 -1
- package/dialog/dialog.component.d.ts +3 -0
- package/dialog/dialog.d.ts +3 -0
- package/dialog/dialog.module.d.ts +10 -0
- package/dialog/mtxDialog.d.ts +1 -0
- package/dialog/package.json +5 -6
- 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/{esm2015/colorpicker/colorpicker-animations.js → esm2020/colorpicker/colorpicker-animations.mjs} +0 -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/{esm2015/colorpicker/mtxColorpicker.js → esm2020/colorpicker/mtxColorpicker.mjs} +0 -0
- package/{esm2015/colorpicker/public-api.js → esm2020/colorpicker/public-api.mjs} +0 -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/{esm2015/datetimepicker/datetimepicker-animations.js → esm2020/datetimepicker/datetimepicker-animations.mjs} +0 -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/{esm2015/datetimepicker/mtxDatetimepicker.js → esm2020/datetimepicker/mtxDatetimepicker.mjs} +0 -0
- package/esm2020/datetimepicker/multi-year-view.mjs +214 -0
- package/{esm2015/datetimepicker/public-api.js → esm2020/datetimepicker/public-api.mjs} +2 -1
- package/esm2020/datetimepicker/year-view.mjs +138 -0
- package/{esm2015/dialog/dialog-config.js → esm2020/dialog/dialog-config.mjs} +0 -0
- 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/{esm2015/dialog/public-api.js → esm2020/dialog/public-api.mjs} +0 -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 +459 -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} +0 -0
- 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/{esm2015/split/utils.js → esm2020/split/utils.mjs} +0 -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 +713 -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} +75 -85
- 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} +83 -86
- 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/{fesm2015/mtxColorpicker.js → fesm2020/mtxColorpicker.mjs} +420 -413
- 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/{fesm2015/mtxDatetimepicker.js → fesm2020/mtxDatetimepicker.mjs} +1300 -1306
- 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 +710 -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 +3 -0
- 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 +3 -0
- package/loader/loader.module.d.ts +8 -0
- package/loader/mtxLoader.d.ts +1 -0
- package/loader/package.json +5 -6
- package/{extensions.d.ts → ng-matero-extensions.d.ts} +1 -0
- package/package.json +178 -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 +3 -0
- 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 +3 -0
- 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 +4 -4
- 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 +7 -7
- package/split/_split-theme.scss +1 -1
- 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 +4 -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 -0
- 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 -164
- 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 -284
- package/bundles/mtxCheckboxGroup.umd.js.map +0 -1
- package/bundles/mtxColorpicker.umd.js +0 -1123
- 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 -3045
- package/bundles/mtxDatetimepicker.umd.js.map +0 -1
- package/bundles/mtxDialog.umd.js +0 -158
- package/bundles/mtxDialog.umd.js.map +0 -1
- package/bundles/mtxFormGroup.umd.js +0 -73
- package/bundles/mtxFormGroup.umd.js.map +0 -1
- package/bundles/mtxGrid.umd.js +0 -1581
- package/bundles/mtxGrid.umd.js.map +0 -1
- package/bundles/mtxLoader.umd.js +0 -107
- 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 -1431
- package/bundles/mtxSplit.umd.js.map +0 -1
- package/bundles/mtxText3d.umd.js +0 -84
- package/bundles/mtxText3d.umd.js.map +0 -1
- package/bundles/mtxTooltip.umd.js +0 -1083
- package/bundles/mtxTooltip.umd.js.map +0 -1
- package/button/mtxButton.metadata.json +0 -1
- package/checkbox-group/mtxCheckboxGroup.metadata.json +0 -1
- package/colorpicker/mtxColorpicker.metadata.json +0 -1
- package/column-resize/mtxColumnResize.metadata.json +0 -1
- package/core/mtxCore.metadata.json +0 -1
- 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 -235
- package/esm2015/checkbox-group/checkbox-group.module.js +0 -17
- package/esm2015/colorpicker/colorpicker-input.js +0 -228
- package/esm2015/colorpicker/colorpicker-module.js +0 -41
- package/esm2015/colorpicker/colorpicker-toggle.js +0 -97
- package/esm2015/colorpicker/colorpicker.js +0 -372
- 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 -76
- package/esm2015/datetimepicker/calendar.js +0 -614
- package/esm2015/datetimepicker/clock.js +0 -283
- package/esm2015/datetimepicker/datetimepicker-input.js +0 -336
- package/esm2015/datetimepicker/datetimepicker-module.js +0 -52
- package/esm2015/datetimepicker/datetimepicker-toggle.js +0 -103
- package/esm2015/datetimepicker/datetimepicker.js +0 -490
- package/esm2015/datetimepicker/month-view.js +0 -150
- package/esm2015/datetimepicker/multi-year-view.js +0 -215
- package/esm2015/datetimepicker/year-view.js +0 -141
- 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/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 -40
- 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 -69
- 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 -624
- package/esm2015/split/split.module.js +0 -15
- package/esm2015/text3d/text3d.component.js +0 -45
- package/esm2015/text3d/text3d.module.js +0 -14
- package/esm2015/tooltip/tooltip-module.js +0 -20
- package/esm2015/tooltip/tooltip.js +0 -683
- 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 -255
- package/fesm2015/mtxCheckboxGroup.js.map +0 -1
- 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.map +0 -1
- package/fesm2015/mtxDialog.js +0 -141
- package/fesm2015/mtxDialog.js.map +0 -1
- package/fesm2015/mtxFormGroup.js +0 -59
- 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 -90
- 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 -64
- 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
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'typography-utils';
|
|
3
|
+
@use '../theming/theming';
|
|
4
|
+
|
|
5
|
+
/// Defines a typography level from the Material Design spec.
|
|
6
|
+
/// @param {String} $font-size The font-size for this level.
|
|
7
|
+
/// @param {String | Number} $line-height The line-height for this level.
|
|
8
|
+
/// @param {String | Number} $font-weight The font-weight for this level.
|
|
9
|
+
/// @param {String} $font-family The font-family for this level.
|
|
10
|
+
/// @param {String} $letter-spacing The letter-spacing for this level.
|
|
11
|
+
/// @returns {Map} A map representing the definition of this typpographic level.
|
|
12
|
+
@function define-typography-level(
|
|
13
|
+
$font-size,
|
|
14
|
+
$line-height: $font-size,
|
|
15
|
+
$font-weight: 400,
|
|
16
|
+
$font-family: null,
|
|
17
|
+
$letter-spacing: normal) {
|
|
18
|
+
|
|
19
|
+
@return (
|
|
20
|
+
font-size: $font-size,
|
|
21
|
+
line-height: $line-height,
|
|
22
|
+
font-weight: $font-weight,
|
|
23
|
+
font-family: $font-family,
|
|
24
|
+
letter-spacing: $letter-spacing
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/// Defines a collection of typography levels to configure typography for an application.
|
|
29
|
+
/// Any level not specified defaults to the values defined in the Material Design specification:
|
|
30
|
+
/// https://material.io/guidelines/style/typography.html.
|
|
31
|
+
///
|
|
32
|
+
/// Note that the Material Design specification does not describe explicit letter-spacing values.
|
|
33
|
+
/// The values here come from reverse engineering the Material Design examples.
|
|
34
|
+
/// @param {String} $font-family Default font-family for levels that don't specify font-family.
|
|
35
|
+
/// @param {Map} $display-4 Configuration for the "display-4" typographic level.
|
|
36
|
+
/// @param {Map} $display-3 Configuration for the "display-3" typographic level.
|
|
37
|
+
/// @param {Map} $display-2 Configuration for the "display-2" typographic level.
|
|
38
|
+
/// @param {Map} $display-1 Configuration for the "display-1" typographic level.
|
|
39
|
+
/// @param {Map} $headline Configuration for the "headline" typographic level.
|
|
40
|
+
/// @param {Map} $title Configuration for the "title" typographic level.
|
|
41
|
+
/// @param {Map} $subheading-2 Configuration for the "subheading-2" typographic level.
|
|
42
|
+
/// @param {Map} $subheading-1 Configuration for the "subheading-1" typographic level.
|
|
43
|
+
/// @param {Map} $body-2 Configuration for the "body-2" typographic level.
|
|
44
|
+
/// @param {Map} $body-1 Configuration for the "body-1" typographic level.
|
|
45
|
+
/// @param {Map} $caption Configuration for the "caption" typographic level.
|
|
46
|
+
/// @param {Map} $button Configuration for the "button" typographic level.
|
|
47
|
+
/// @param {Map} $input Configuration for the "input" typographic level.
|
|
48
|
+
/// @returns {Map} A typography config for the application.
|
|
49
|
+
@function define-typography-config(
|
|
50
|
+
$font-family: 'Roboto, "Helvetica Neue", sans-serif',
|
|
51
|
+
$display-4: define-typography-level(112px, 112px, 300, $letter-spacing: -.05em),
|
|
52
|
+
$display-3: define-typography-level(56px, 56px, 400, $letter-spacing: -.02em),
|
|
53
|
+
$display-2: define-typography-level(45px, 48px, 400, $letter-spacing: -.005em),
|
|
54
|
+
$display-1: define-typography-level(34px, 40px, 400),
|
|
55
|
+
$headline: define-typography-level(24px, 32px, 400),
|
|
56
|
+
$title: define-typography-level(20px, 32px, 500),
|
|
57
|
+
$subheading-2: define-typography-level(16px, 28px, 400),
|
|
58
|
+
$subheading-1: define-typography-level(15px, 24px, 400),
|
|
59
|
+
$body-2: define-typography-level(14px, 24px, 500),
|
|
60
|
+
$body-1: define-typography-level(14px, 20px, 400),
|
|
61
|
+
$caption: define-typography-level(12px, 20px, 400),
|
|
62
|
+
$button: define-typography-level(14px, 14px, 500),
|
|
63
|
+
|
|
64
|
+
$input: define-typography-level(inherit, 1.125, 400)
|
|
65
|
+
) {
|
|
66
|
+
|
|
67
|
+
// Declare an initial map with all of the levels.
|
|
68
|
+
$config: (
|
|
69
|
+
display-4: $display-4,
|
|
70
|
+
display-3: $display-3,
|
|
71
|
+
display-2: $display-2,
|
|
72
|
+
display-1: $display-1,
|
|
73
|
+
headline: $headline,
|
|
74
|
+
title: $title,
|
|
75
|
+
subheading-2: $subheading-2,
|
|
76
|
+
subheading-1: $subheading-1,
|
|
77
|
+
body-2: $body-2,
|
|
78
|
+
body-1: $body-1,
|
|
79
|
+
caption: $caption,
|
|
80
|
+
button: $button,
|
|
81
|
+
input: $input,
|
|
82
|
+
);
|
|
83
|
+
|
|
84
|
+
// Loop through the levels and set the `font-family` of the ones that don't have one to the base.
|
|
85
|
+
// Note that Sass can't modify maps in place, which means that we need to merge and re-assign.
|
|
86
|
+
@each $key, $level in $config {
|
|
87
|
+
@if map.get($level, font-family) == null {
|
|
88
|
+
$new-level: map.merge($level, (font-family: $font-family));
|
|
89
|
+
$config: map.merge($config, ($key: $new-level));
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// Add the base font family to the config.
|
|
94
|
+
@return map.merge($config, (font-family: $font-family));
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// Whether a config is for the Material Design 2018 typography system.
|
|
98
|
+
@function private-typography-is-2018-config($config) {
|
|
99
|
+
@return map.get($config, headline-1) != null;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// Whether a config is for the Material Design 2014 typography system.
|
|
103
|
+
@function private-typography-is-2014-config($config) {
|
|
104
|
+
@return map.get($config, headline) != null;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// Given a config for either the 2014 or 2018 Material Design typography system,
|
|
108
|
+
// produces a normalized typography config for the 2014 Material Design typography system.
|
|
109
|
+
// 2014 - https://material.io/archive/guidelines/style/typography.html#typography-styles
|
|
110
|
+
// 2018 - https://material.io/design/typography/the-type-system.html#type-scale
|
|
111
|
+
//
|
|
112
|
+
// Components using this function should be migrated to normalize to the 2018 style config instead.
|
|
113
|
+
// New components should not use this function.
|
|
114
|
+
@function private-typography-to-2014-config($config) {
|
|
115
|
+
@if $config == null {
|
|
116
|
+
@return null;
|
|
117
|
+
}
|
|
118
|
+
@if not private-typography-is-2014-config($config) {
|
|
119
|
+
$args: (
|
|
120
|
+
display-4: map.get($config, headline-1),
|
|
121
|
+
display-3: map.get($config, headline-2),
|
|
122
|
+
display-2: map.get($config, headline-3),
|
|
123
|
+
display-1: map.get($config, headline-4),
|
|
124
|
+
headline: map.get($config, headline-5),
|
|
125
|
+
title: map.get($config, headline-6),
|
|
126
|
+
subheading-2: map.get($config, subtitle-1),
|
|
127
|
+
subheading-1: map.get($config, subtitle-2),
|
|
128
|
+
body-2: map.get($config, body-1),
|
|
129
|
+
body-1: map.get($config, body-2),
|
|
130
|
+
button: map.get($config, button),
|
|
131
|
+
caption: map.get($config, caption),
|
|
132
|
+
);
|
|
133
|
+
$non-null-args: ();
|
|
134
|
+
@each $key, $value in $args {
|
|
135
|
+
@if $value != null {
|
|
136
|
+
$non-null-args: map.merge($non-null-args, ($key: $value));
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
@return define-typography-config($non-null-args...);
|
|
140
|
+
}
|
|
141
|
+
@return $config;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
// Given a config for either the 2014 or 2018 Material Design typography system,
|
|
145
|
+
// produces a normalized typography config for the 2018 Material Design typography system.
|
|
146
|
+
// 2014 - https://material.io/archive/guidelines/style/typography.html#typography-styles
|
|
147
|
+
// 2018 - https://material.io/design/typography/the-type-system.html#type-scale
|
|
148
|
+
@function private-typography-to-2018-config($config) {
|
|
149
|
+
@if $config == null {
|
|
150
|
+
@return null;
|
|
151
|
+
}
|
|
152
|
+
@if not private-typography-is-2018-config($config) {
|
|
153
|
+
@return (
|
|
154
|
+
headline-1: map.get($config, display-4),
|
|
155
|
+
headline-2: map.get($config, display-3),
|
|
156
|
+
headline-3: map.get($config, display-2),
|
|
157
|
+
headline-4: map.get($config, display-1),
|
|
158
|
+
headline-5: map.get($config, headline),
|
|
159
|
+
headline-6: map.get($config, title),
|
|
160
|
+
subtitle-1: map.get($config, subheading-2),
|
|
161
|
+
|
|
162
|
+
subtitle-2: map.get($config, body-2),
|
|
163
|
+
body-1: map.get($config, subheading-1),
|
|
164
|
+
|
|
165
|
+
body-2: map.get($config, body-1),
|
|
166
|
+
button: map.get($config, button),
|
|
167
|
+
caption: map.get($config, caption),
|
|
168
|
+
overline: if(map.get($config, overline), map.get($config, overline), define-typography-level(12px, 32px, 500))
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
@return $config;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/// Emits baseline typographic styles based on a given config.
|
|
175
|
+
/// @param {Map} $config-or-theme A typography config for an entire theme.
|
|
176
|
+
/// @param {String} $selector Ancestor selector under which native elements, such as h1, will
|
|
177
|
+
/// be styled.
|
|
178
|
+
@mixin typography-hierarchy($config-or-theme, $selector: '.mat-typography') {
|
|
179
|
+
$config: private-typography-to-2014-config(theming.get-typography-config($config-or-theme));
|
|
180
|
+
|
|
181
|
+
.mat-h1, .mat-headline, #{$selector} h1 {
|
|
182
|
+
@include typography-utils.typography-level($config, headline);
|
|
183
|
+
|
|
184
|
+
margin: 0 0 16px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.mat-h2, .mat-title, #{$selector} h2 {
|
|
188
|
+
@include typography-utils.typography-level($config, title);
|
|
189
|
+
|
|
190
|
+
margin: 0 0 16px;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.mat-h3, .mat-subheading-2, #{$selector} h3 {
|
|
194
|
+
@include typography-utils.typography-level($config, subheading-2);
|
|
195
|
+
|
|
196
|
+
margin: 0 0 16px;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.mat-h4, .mat-subheading-1, #{$selector} h4 {
|
|
200
|
+
@include typography-utils.typography-level($config, subheading-1);
|
|
201
|
+
|
|
202
|
+
margin: 0 0 16px;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
// Note: the spec doesn't have anything that would correspond to h5 and h6, but we add these for
|
|
206
|
+
// consistency. The font sizes come from the Chrome user agent styles which have h5 at 0.83em
|
|
207
|
+
// and h6 at 0.67em.
|
|
208
|
+
.mat-h5, #{$selector} h5 {
|
|
209
|
+
@include typography-utils.font-shorthand(
|
|
210
|
+
|
|
211
|
+
calc(#{typography-utils.font-size($config, body-1)} * .83),
|
|
212
|
+
typography-utils.font-weight($config, body-1),
|
|
213
|
+
typography-utils.line-height($config, body-1),
|
|
214
|
+
typography-utils.font-family($config, body-1)
|
|
215
|
+
);
|
|
216
|
+
|
|
217
|
+
margin: 0 0 12px;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.mat-h6, #{$selector} h6 {
|
|
221
|
+
@include typography-utils.font-shorthand(
|
|
222
|
+
|
|
223
|
+
calc(#{typography-utils.font-size($config, body-1)} * .67),
|
|
224
|
+
typography-utils.font-weight($config, body-1),
|
|
225
|
+
typography-utils.line-height($config, body-1),
|
|
226
|
+
typography-utils.font-family($config, body-1)
|
|
227
|
+
);
|
|
228
|
+
|
|
229
|
+
margin: 0 0 12px;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.mat-body-strong,
|
|
233
|
+
.mat-body-2 {
|
|
234
|
+
@include typography-utils.typography-level($config, body-2);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.mat-body, .mat-body-1, #{$selector} {
|
|
238
|
+
@include typography-utils.typography-level($config, body-1);
|
|
239
|
+
|
|
240
|
+
p {
|
|
241
|
+
margin: 0 0 12px;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.mat-small,
|
|
246
|
+
.mat-caption {
|
|
247
|
+
@include typography-utils.typography-level($config, caption);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.mat-display-4, #{$selector} .mat-display-4 {
|
|
251
|
+
@include typography-utils.typography-level($config, display-4);
|
|
252
|
+
|
|
253
|
+
margin: 0 0 56px;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.mat-display-3, #{$selector} .mat-display-3 {
|
|
257
|
+
@include typography-utils.typography-level($config, display-3);
|
|
258
|
+
|
|
259
|
+
margin: 0 0 64px;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.mat-display-2, #{$selector} .mat-display-2 {
|
|
263
|
+
@include typography-utils.typography-level($config, display-2);
|
|
264
|
+
|
|
265
|
+
margin: 0 0 64px;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.mat-display-1, #{$selector} .mat-display-1 {
|
|
269
|
+
@include typography-utils.typography-level($config, display-1);
|
|
270
|
+
|
|
271
|
+
margin: 0 0 64px;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@use '
|
|
3
|
-
@use '
|
|
4
|
-
@use '
|
|
5
|
-
@use '
|
|
6
|
-
@use '
|
|
2
|
+
@use '../core/theming/theming';
|
|
3
|
+
@use '../core/theming/palette';
|
|
4
|
+
@use '../core/style/private';
|
|
5
|
+
@use '../core/typography/typography';
|
|
6
|
+
@use '../core/typography/typography-utils';
|
|
7
7
|
|
|
8
8
|
$selected-today-box-shadow-width: 1px;
|
|
9
9
|
$calendar-body-font-size: 13px !default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
/**
|
|
3
4
|
* An internal class that represents the data corresponding to a single calendar cell.
|
|
4
5
|
* @docs-private
|
|
@@ -37,4 +38,6 @@ export declare class MtxCalendarBody {
|
|
|
37
38
|
get _firstRowOffset(): number;
|
|
38
39
|
_cellClicked(cell: MtxCalendarCell): void;
|
|
39
40
|
_isActiveCell(rowIndex: number, colIndex: number): boolean;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxCalendarBody, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxCalendarBody, "[mtx-calendar-body]", ["mtxCalendarBody"], { "label": "label"; "rows": "rows"; "todayValue": "todayValue"; "selectedValue": "selectedValue"; "labelMinRequiredCells": "labelMinRequiredCells"; "numCols": "numCols"; "allowDisabledSelection": "allowDisabledSelection"; "activeCell": "activeCell"; }, { "selectedValueChange": "selectedValueChange"; }, never, never>;
|
|
40
43
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
@use '
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use '../core/style/private';
|
|
2
3
|
|
|
3
4
|
$calendar-body-label-padding-start: 5% !default;
|
|
4
|
-
$calendar-body-label-side-padding:
|
|
5
|
+
$calendar-body-label-side-padding: math.div(33%, 7) !default;
|
|
5
6
|
$calendar-body-cell-min-size: 32px !default;
|
|
6
|
-
$calendar-body-cell-size:
|
|
7
|
-
$calendar-body-cell-padding:
|
|
7
|
+
$calendar-body-cell-size: math.div(100%, 7) !default;
|
|
8
|
+
$calendar-body-cell-padding: math.div($calendar-body-cell-size, 2) !default;
|
|
8
9
|
$calendar-body-cell-content-margin: 5% !default;
|
|
9
10
|
$calendar-body-cell-content-border-width: 1px !default;
|
|
10
11
|
$calendar-body-cell-radius: 999px !default;
|
|
@@ -3,8 +3,9 @@ import { BooleanInput } from '@angular/cdk/coercion';
|
|
|
3
3
|
import { MatDatepickerIntl } from '@angular/material/datepicker';
|
|
4
4
|
import { DatetimeAdapter, MtxDatetimeFormats } from '@ng-matero/extensions/core';
|
|
5
5
|
import { MtxClockView } from './clock';
|
|
6
|
-
import { MtxDatetimepickerType } from './datetimepicker';
|
|
7
6
|
import { MtxDatetimepickerFilterType } from './datetimepicker-filtertype';
|
|
7
|
+
import { MtxDatetimepickerType } from './datetimepicker-types';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
export declare type MtxCalendarView = 'clock' | 'month' | 'year' | 'multi-year';
|
|
9
10
|
/**
|
|
10
11
|
* A calendar that is used as part of the datetimepicker.
|
|
@@ -134,4 +135,6 @@ export declare class MtxCalendar<D> implements AfterContentInit, OnDestroy {
|
|
|
134
135
|
private _2digit;
|
|
135
136
|
static ngAcceptInputType_multiYearSelector: BooleanInput;
|
|
136
137
|
static ngAcceptInputType_twelvehour: BooleanInput;
|
|
138
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxCalendar<any>, [null, null, null, { optional: true; }, { optional: true; }, null]>;
|
|
139
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxCalendar<any>, "mtx-calendar", ["mtxCalendar"], { "multiYearSelector": "multiYearSelector"; "twelvehour": "twelvehour"; "startView": "startView"; "timeInterval": "timeInterval"; "dateFilter": "dateFilter"; "preventSameDateTimeSelection": "preventSameDateTimeSelection"; "type": "type"; "startAt": "startAt"; "selected": "selected"; "minDate": "minDate"; "maxDate": "maxDate"; }, { "selectedChange": "selectedChange"; "viewChanged": "viewChanged"; "_userSelection": "_userSelection"; }, never, never>;
|
|
137
140
|
}
|
|
@@ -2,6 +2,7 @@ import { BooleanInput } from '@angular/cdk/coercion';
|
|
|
2
2
|
import { AfterContentInit, ElementRef, EventEmitter } from '@angular/core';
|
|
3
3
|
import { DatetimeAdapter } from '@ng-matero/extensions/core';
|
|
4
4
|
import { MtxDatetimepickerFilterType } from './datetimepicker-filtertype';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare const CLOCK_RADIUS = 50;
|
|
6
7
|
export declare const CLOCK_INNER_RADIUS = 27.5;
|
|
7
8
|
export declare const CLOCK_OUTER_RADIUS = 41.25;
|
|
@@ -69,4 +70,6 @@ export declare class MtxClock<D> implements AfterContentInit {
|
|
|
69
70
|
*/
|
|
70
71
|
private setTime;
|
|
71
72
|
static ngAcceptInputType_twelvehour: BooleanInput;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxClock<any>, never>;
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxClock<any>, "mtx-clock", ["mtxClock"], { "dateFilter": "dateFilter"; "interval": "interval"; "twelvehour": "twelvehour"; "activeDate": "activeDate"; "selected": "selected"; "minDate": "minDate"; "maxDate": "maxDate"; "startView": "startView"; }, { "selectedChange": "selectedChange"; "activeDateChange": "activeDateChange"; "_userSelection": "_userSelection"; }, never, never>;
|
|
72
75
|
}
|
|
@@ -6,6 +6,7 @@ import { MatFormField } from '@angular/material/form-field';
|
|
|
6
6
|
import { DatetimeAdapter, MtxDatetimeFormats } from '@ng-matero/extensions/core';
|
|
7
7
|
import { MtxDatetimepicker } from './datetimepicker';
|
|
8
8
|
import { MtxDatetimepickerFilterType } from './datetimepicker-filtertype';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
9
10
|
export declare const MAT_DATETIMEPICKER_VALUE_ACCESSOR: any;
|
|
10
11
|
export declare const MAT_DATETIMEPICKER_VALIDATORS: any;
|
|
11
12
|
/**
|
|
@@ -101,4 +102,6 @@ export declare class MtxDatetimepickerInput<D> implements AfterContentInit, Cont
|
|
|
101
102
|
/** Returns the palette used by the input's form field, if any. */
|
|
102
103
|
getThemePalette(): ThemePalette;
|
|
103
104
|
static ngAcceptInputType_disabled: BooleanInput;
|
|
105
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDatetimepickerInput<any>, [null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
106
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MtxDatetimepickerInput<any>, "input[mtxDatetimepicker]", ["mtxDatetimepickerInput"], { "mtxDatetimepicker": "mtxDatetimepicker"; "mtxDatetimepickerFilter": "mtxDatetimepickerFilter"; "value": "value"; "min": "min"; "max": "max"; "disabled": "disabled"; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never>;
|
|
104
107
|
}
|
|
@@ -1,2 +1,20 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./calendar";
|
|
3
|
+
import * as i2 from "./calendar-body";
|
|
4
|
+
import * as i3 from "./clock";
|
|
5
|
+
import * as i4 from "./datetimepicker";
|
|
6
|
+
import * as i5 from "./datetimepicker-toggle";
|
|
7
|
+
import * as i6 from "./datetimepicker-input";
|
|
8
|
+
import * as i7 from "./month-view";
|
|
9
|
+
import * as i8 from "./year-view";
|
|
10
|
+
import * as i9 from "./multi-year-view";
|
|
11
|
+
import * as i10 from "@angular/common";
|
|
12
|
+
import * as i11 from "@angular/material/button";
|
|
13
|
+
import * as i12 from "@angular/cdk/overlay";
|
|
14
|
+
import * as i13 from "@angular/cdk/a11y";
|
|
15
|
+
import * as i14 from "@angular/cdk/portal";
|
|
1
16
|
export declare class MtxDatetimepickerModule {
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDatetimepickerModule, never>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxDatetimepickerModule, [typeof i1.MtxCalendar, typeof i2.MtxCalendarBody, typeof i3.MtxClock, typeof i4.MtxDatetimepicker, typeof i5.MtxDatetimepickerToggle, typeof i5.MtxDatetimepickerToggleIcon, typeof i6.MtxDatetimepickerInput, typeof i4.MtxDatetimepickerContent, typeof i7.MtxMonthView, typeof i8.MtxYearView, typeof i9.MtxMultiYearView], [typeof i10.CommonModule, typeof i11.MatButtonModule, typeof i12.OverlayModule, typeof i13.A11yModule, typeof i14.PortalModule], [typeof i1.MtxCalendar, typeof i2.MtxCalendarBody, typeof i3.MtxClock, typeof i4.MtxDatetimepicker, typeof i5.MtxDatetimepickerToggle, typeof i5.MtxDatetimepickerToggleIcon, typeof i6.MtxDatetimepickerInput, typeof i4.MtxDatetimepickerContent, typeof i7.MtxMonthView, typeof i8.MtxYearView, typeof i9.MtxMultiYearView]>;
|
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MtxDatetimepickerModule>;
|
|
2
20
|
}
|
|
@@ -3,8 +3,11 @@ import { BooleanInput } from '@angular/cdk/coercion';
|
|
|
3
3
|
import { MatButton } from '@angular/material/button';
|
|
4
4
|
import { MatDatepickerIntl } from '@angular/material/datepicker';
|
|
5
5
|
import { MtxDatetimepicker } from './datetimepicker';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
/** Can be used to override the icon of a `mtxDatetimepickerToggle`. */
|
|
7
8
|
export declare class MtxDatetimepickerToggleIcon {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDatetimepickerToggleIcon, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MtxDatetimepickerToggleIcon, "[mtxDatetimepickerToggleIcon]", never, {}, {}, never>;
|
|
8
11
|
}
|
|
9
12
|
export declare class MtxDatetimepickerToggle<D> implements AfterContentInit, OnChanges, OnDestroy {
|
|
10
13
|
_intl: MatDatepickerIntl;
|
|
@@ -32,4 +35,6 @@ export declare class MtxDatetimepickerToggle<D> implements AfterContentInit, OnC
|
|
|
32
35
|
private _watchStateChanges;
|
|
33
36
|
static ngAcceptInputType_disabled: BooleanInput;
|
|
34
37
|
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxDatetimepickerToggle<any>, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxDatetimepickerToggle<any>, "mtx-datetimepicker-toggle", ["mtxDatetimepickerToggle"], { "datetimepicker": "for"; "tabIndex": "tabIndex"; "disabled": "disabled"; "disableRipple": "disableRipple"; }, {}, ["_customIcon"], ["[mtxDatetimepickerToggleIcon]"]>;
|
|
35
40
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type MtxDatetimepickerType = 'date' | 'time' | 'month' | 'year' | 'datetime';
|
|
@@ -8,7 +8,8 @@ import { DatetimeAdapter } from '@ng-matero/extensions/core';
|
|
|
8
8
|
import { MtxCalendarView, MtxCalendar } from './calendar';
|
|
9
9
|
import { MtxDatetimepickerFilterType } from './datetimepicker-filtertype';
|
|
10
10
|
import { MtxDatetimepickerInput } from './datetimepicker-input';
|
|
11
|
-
|
|
11
|
+
import { MtxDatetimepickerType } from './datetimepicker-types';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
12
13
|
export declare type MtxDatetimepickerMode = 'auto' | 'portrait' | 'landscape';
|
|
13
14
|
/** Possible positions for the colorpicker dropdown along the X axis. */
|
|
14
15
|
export declare type DatetimepickerDropdownPositionX = 'start' | 'end';
|
|
@@ -23,7 +24,7 @@ export declare const MTX_DATETIMEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER: {
|
|
|
23
24
|
useFactory: typeof MTX_DATETIMEPICKER_SCROLL_STRATEGY_FACTORY;
|
|
24
25
|
};
|
|
25
26
|
/** @docs-private */
|
|
26
|
-
declare const _MtxDatetimepickerContentBase: import("@angular/material/core
|
|
27
|
+
declare const _MtxDatetimepickerContentBase: import("@angular/material/core")._Constructor<CanColor> & import("@angular/material/core")._AbstractConstructor<CanColor> & {
|
|
27
28
|
new (_elementRef: ElementRef): {
|
|
28
29
|
_elementRef: ElementRef;
|
|
29
30
|
};
|
|
@@ -50,6 +51,8 @@ export declare class MtxDatetimepickerContent<D> extends _MtxDatetimepickerConte
|
|
|
50
51
|
ngAfterContentInit(): void;
|
|
51
52
|
_startExitAnimation(): void;
|
|
52
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>;
|
|
53
56
|
}
|
|
54
57
|
export declare class MtxDatetimepicker<D> implements OnDestroy {
|
|
55
58
|
private _overlay;
|
|
@@ -192,5 +195,7 @@ export declare class MtxDatetimepicker<D> implements OnDestroy {
|
|
|
192
195
|
static ngAcceptInputType_opened: BooleanInput;
|
|
193
196
|
static ngAcceptInputType_touchUi: BooleanInput;
|
|
194
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>;
|
|
195
200
|
}
|
|
196
201
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { AfterContentInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { MtxDatetimeFormats, DatetimeAdapter } from '@ng-matero/extensions/core';
|
|
3
3
|
import { MtxCalendarCell } from './calendar-body';
|
|
4
|
-
import { MtxDatetimepickerType } from './datetimepicker';
|
|
4
|
+
import { MtxDatetimepickerType } from './datetimepicker-types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
6
7
|
* An internal component used to display a single month in the datetimepicker.
|
|
7
8
|
* @docs-private
|
|
@@ -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,7 +1,8 @@
|
|
|
1
1
|
import { AfterContentInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { MtxDatetimepickerType } from './datetimepicker';
|
|
3
2
|
import { MtxCalendarCell } from './calendar-body';
|
|
4
3
|
import { MtxDatetimeFormats, DatetimeAdapter } from '@ng-matero/extensions/core';
|
|
4
|
+
import { MtxDatetimepickerType } from './datetimepicker-types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare const yearsPerPage = 24;
|
|
6
7
|
export declare const yearsPerRow = 4;
|
|
7
8
|
/**
|
|
@@ -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,7 +1,8 @@
|
|
|
1
1
|
import { AfterContentInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { MtxDatetimepickerType } from './datetimepicker';
|
|
3
2
|
import { MtxCalendarCell } from './calendar-body';
|
|
4
3
|
import { MtxDatetimeFormats, DatetimeAdapter } from '@ng-matero/extensions/core';
|
|
4
|
+
import { MtxDatetimepickerType } from './datetimepicker-types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
6
7
|
* An internal component used to display a single year in the datetimepicker.
|
|
7
8
|
* @docs-private
|
|
@@ -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
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
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
|
@@ -3,6 +3,7 @@ import { ComponentType } from '@angular/cdk/portal';
|
|
|
3
3
|
import { MatDialog } from '@angular/material/dialog';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
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
|
}
|