@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
package/README.md
CHANGED
|
@@ -23,21 +23,7 @@ $ npm install @ng-matero/extensions --save
|
|
|
23
23
|
|
|
24
24
|
## Setup
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
```ts
|
|
29
|
-
import { MaterialExtensionsModule, MaterialExtensionsExperimentalModule } from '@ng-matero/extensions';
|
|
30
|
-
|
|
31
|
-
@NgModule({
|
|
32
|
-
...
|
|
33
|
-
imports: [MaterialExtensionsModule, MaterialExtensionsExperimentalModule, ...],
|
|
34
|
-
...
|
|
35
|
-
})
|
|
36
|
-
export class YourAppModule {
|
|
37
|
-
}
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
Alternatively you could only import modules you need, e.g. data-grid and select.
|
|
26
|
+
Import the modules you need, e.g. data-grid and select.
|
|
41
27
|
|
|
42
28
|
```ts
|
|
43
29
|
import { MtxGridModule } from '@ng-matero/extensions/grid';
|
|
@@ -57,7 +43,7 @@ export class YourAppModule {
|
|
|
57
43
|
After import modules, you must define a theme. [More details about theming](https://material.angular.io/guide/theming).
|
|
58
44
|
|
|
59
45
|
```scss
|
|
60
|
-
@use '
|
|
46
|
+
@use '@ng-matero/extensions' as mtx;
|
|
61
47
|
|
|
62
48
|
@include mtx.all-component-themes($theme);
|
|
63
49
|
@include mtx.all-experimental-component-themes($theme);
|
package/_all-color.scss
CHANGED
package/_all-theme.scss
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// Import all the theming functionality.
|
|
2
2
|
@use './alert/alert-theme';
|
|
3
|
+
@use './colorpicker/colorpicker-theme';
|
|
3
4
|
@use './datetimepicker/datetimepicker-theme';
|
|
4
5
|
@use './grid/grid-theme';
|
|
5
6
|
@use './loader/loader-theme';
|
|
@@ -15,6 +16,7 @@
|
|
|
15
16
|
// Create a theme.
|
|
16
17
|
@mixin all-component-themes($theme) {
|
|
17
18
|
@include alert-theme.theme($theme);
|
|
19
|
+
@include colorpicker-theme.theme($theme);
|
|
18
20
|
@include datetimepicker-theme.theme($theme);
|
|
19
21
|
@include grid-theme.theme($theme);
|
|
20
22
|
@include loader-theme.theme($theme);
|
package/_index.scss
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
@forward '
|
|
1
|
+
@forward 'photoviewer/dist/photoviewer';
|
|
2
2
|
|
|
3
3
|
@forward './button/button-loading';
|
|
4
|
+
|
|
4
5
|
@forward './alert/alert-theme' as alert-* show alert-theme;
|
|
6
|
+
@forward './colorpicker/colorpicker-theme' as colorpicker-* show colorpicker-theme;
|
|
5
7
|
@forward './datetimepicker/datetimepicker-theme' as datetimepicker-* show datetimepicker-theme;
|
|
6
8
|
@forward './grid/grid-theme' as grid-* show grid-theme;
|
|
7
9
|
@forward './loader/loader-theme' as loader-* show loader-theme;
|
package/_theming.scss
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
@forward '
|
|
1
|
+
@forward 'photoviewer/dist/photoviewer';
|
|
2
2
|
|
|
3
3
|
@forward './button/button-loading';
|
|
4
|
+
|
|
4
5
|
@forward './alert/alert-theme.import';
|
|
6
|
+
@forward './colorpicker/colorpicker-theme.import';
|
|
5
7
|
@forward './datetimepicker/datetimepicker-theme.import';
|
|
6
8
|
@forward './grid/grid-theme.import';
|
|
7
9
|
@forward './loader/loader-theme.import';
|
package/alert/_alert-theme.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@use '
|
|
3
|
-
@use '
|
|
2
|
+
@use '../core/theming/theming';
|
|
3
|
+
@use '../core/theming/palette';
|
|
4
4
|
|
|
5
5
|
@mixin color($config-or-theme) {
|
|
6
6
|
$config: theming.get-color-config($config-or-theme);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare type MtxAlertType = 'default' | 'info' | 'success' | 'warning' | 'danger';
|
|
4
5
|
export declare class MtxAlertComponent {
|
|
5
6
|
private _changeDetectorRef;
|
|
@@ -17,4 +18,6 @@ export declare class MtxAlertComponent {
|
|
|
17
18
|
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
18
19
|
_onClosed(): void;
|
|
19
20
|
static ngAcceptInputType_dismissible: BooleanInput;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxAlertComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxAlertComponent, "mtx-alert", ["mtxAlert"], { "type": "type"; "dismissible": "dismissible"; "elevation": "elevation"; }, { "closed": "closed"; }, never, ["*"]>;
|
|
20
23
|
}
|
package/alert/alert.module.d.ts
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./alert.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
1
4
|
export declare class MtxAlertModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxAlertModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxAlertModule, [typeof i1.MtxAlertComponent], [typeof i2.CommonModule], [typeof i1.MtxAlertComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MtxAlertModule>;
|
|
2
8
|
}
|
package/alert/mtxAlert.d.ts
CHANGED
package/alert/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"fesm2015": "../fesm2015/mtxAlert.
|
|
2
|
+
"module": "../fesm2015/mtxAlert.mjs",
|
|
3
|
+
"es2020": "../fesm2020/mtxAlert.mjs",
|
|
4
|
+
"esm2020": "../esm2020/alert/mtxAlert.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/mtxAlert.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/mtxAlert.mjs",
|
|
7
7
|
"typings": "mtxAlert.d.ts",
|
|
8
|
-
"metadata": "mtxAlert.metadata.json",
|
|
9
8
|
"sideEffects": false,
|
|
10
9
|
"name": "@ng-matero/extensions/alert"
|
|
11
10
|
}
|
|
@@ -2,6 +2,7 @@ import { ComponentFactoryResolver, OnChanges, Renderer2, SimpleChanges, ViewCont
|
|
|
2
2
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
3
|
import { ThemePalette } from '@angular/material/core';
|
|
4
4
|
import { MatButton } from '@angular/material/button';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class MatButtonLoadingDirective implements OnChanges {
|
|
6
7
|
private matButton;
|
|
7
8
|
private componentFactoryResolver;
|
|
@@ -22,4 +23,6 @@ export declare class MatButtonLoadingDirective implements OnChanges {
|
|
|
22
23
|
private destroySpinner;
|
|
23
24
|
static ngAcceptInputType_loading: BooleanInput;
|
|
24
25
|
static ngAcceptInputType_disabled: BooleanInput;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonLoadingDirective, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatButtonLoadingDirective, "button[mat-button][loading], button[mat-raised-button][loading], button[mat-stroked-button][loading], button[mat-flat-button][loading], button[mat-icon-button][loading], button[mat-fab][loading], button[mat-mini-fab][loading]", never, { "loading": "loading"; "disabled": "disabled"; "color": "color"; }, {}, never>;
|
|
25
28
|
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./button-loading.directive";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/button";
|
|
5
|
+
import * as i4 from "@angular/material/progress-spinner";
|
|
1
6
|
export declare class MtxButtonModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxButtonModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxButtonModule, [typeof i1.MatButtonLoadingDirective], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.MatProgressSpinnerModule], [typeof i1.MatButtonLoadingDirective]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MtxButtonModule>;
|
|
2
10
|
}
|
package/button/mtxButton.d.ts
CHANGED
package/button/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"fesm2015": "../fesm2015/mtxButton.
|
|
2
|
+
"module": "../fesm2015/mtxButton.mjs",
|
|
3
|
+
"es2020": "../fesm2020/mtxButton.mjs",
|
|
4
|
+
"esm2020": "../esm2020/button/mtxButton.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/mtxButton.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/mtxButton.mjs",
|
|
7
7
|
"typings": "mtxButton.d.ts",
|
|
8
|
-
"metadata": "mtxButton.metadata.json",
|
|
9
8
|
"sideEffects": false,
|
|
10
9
|
"name": "@ng-matero/extensions/button"
|
|
11
10
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { EventEmitter, ChangeDetectorRef, AfterViewInit, QueryList, ElementRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
4
|
-
import { ThemePalette } from '@angular/material/core';
|
|
5
4
|
import { MatCheckbox, MatCheckboxChange } from '@angular/material/checkbox';
|
|
6
5
|
import { MtxCheckboxGroupOption } from './checkbox-group.interface';
|
|
7
6
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class MtxCheckboxBase {
|
|
9
9
|
label?: any;
|
|
10
10
|
value?: any;
|
|
@@ -37,7 +37,6 @@ export declare class MtxCheckboxGroupComponent implements AfterViewInit, OnDestr
|
|
|
37
37
|
}>;
|
|
38
38
|
selectAll: boolean;
|
|
39
39
|
selectAllIndeterminate: boolean;
|
|
40
|
-
color: ThemePalette;
|
|
41
40
|
selectedItems: MtxCheckboxGroupOption[];
|
|
42
41
|
_onChange: (value: MtxCheckboxGroupOption[]) => void;
|
|
43
42
|
_onTouched: () => void;
|
|
@@ -59,13 +58,13 @@ export declare class MtxCheckboxGroupComponent implements AfterViewInit, OnDestr
|
|
|
59
58
|
* Implemented as part of ControlValueAccessor.
|
|
60
59
|
* @param fn Callback to be registered.
|
|
61
60
|
*/
|
|
62
|
-
registerOnChange(fn: (value: MtxCheckboxGroupOption[]) =>
|
|
61
|
+
registerOnChange(fn: (value: MtxCheckboxGroupOption[]) => Record<string, unknown>): void;
|
|
63
62
|
/**
|
|
64
63
|
* Registers a callback to be triggered when the control is touched.
|
|
65
64
|
* Implemented as part of ControlValueAccessor.
|
|
66
65
|
* @param fn Callback to be registered.
|
|
67
66
|
*/
|
|
68
|
-
registerOnTouched(fn: () =>
|
|
67
|
+
registerOnTouched(fn: () => Record<string, unknown>): void;
|
|
69
68
|
/**
|
|
70
69
|
* Sets the disabled state of the control. Implemented as a part of ControlValueAccessor.
|
|
71
70
|
* @param isDisabled Whether the control should be disabled.
|
|
@@ -79,4 +78,6 @@ export declare class MtxCheckboxGroupComponent implements AfterViewInit, OnDestr
|
|
|
79
78
|
_updateMasterCheckboxState(e: MatCheckboxChange, index: number): void;
|
|
80
79
|
static ngAcceptInputType_showSelectAll: BooleanInput;
|
|
81
80
|
static ngAcceptInputType_disabled: BooleanInput;
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxCheckboxGroupComponent, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxCheckboxGroupComponent, "mtx-checkbox-group", ["mtxCheckboxGroup"], { "items": "items"; "bindLabel": "bindLabel"; "bindValue": "bindValue"; "showSelectAll": "showSelectAll"; "selectAllLabel": "selectAllLabel"; "compareWith": "compareWith"; "disabled": "disabled"; }, { "change": "change"; }, ["_checkboxes"], never>;
|
|
82
83
|
}
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./checkbox-group.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@angular/material/checkbox";
|
|
6
|
+
import * as i5 from "@ng-matero/extensions/core";
|
|
1
7
|
export declare class MtxCheckboxGroupModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxCheckboxGroupModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxCheckboxGroupModule, [typeof i1.MtxCheckboxGroupComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MatCheckboxModule, typeof i5.MtxPipesModule], [typeof i1.MtxCheckboxGroupComponent, typeof i5.MtxPipesModule]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MtxCheckboxGroupModule>;
|
|
2
11
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"fesm2015": "../fesm2015/mtxCheckboxGroup.
|
|
2
|
+
"module": "../fesm2015/mtxCheckboxGroup.mjs",
|
|
3
|
+
"es2020": "../fesm2020/mtxCheckboxGroup.mjs",
|
|
4
|
+
"esm2020": "../esm2020/checkbox-group/mtxCheckboxGroup.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/mtxCheckboxGroup.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/mtxCheckboxGroup.mjs",
|
|
7
7
|
"typings": "mtxCheckboxGroup.d.ts",
|
|
8
|
-
"metadata": "mtxCheckboxGroup.metadata.json",
|
|
9
8
|
"sideEffects": false,
|
|
10
9
|
"name": "@ng-matero/extensions/checkbox-group"
|
|
11
10
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../core/theming/theming';
|
|
3
|
+
@use '../core/theming/palette';
|
|
4
|
+
|
|
5
|
+
@mixin color($config-or-theme) {
|
|
6
|
+
$config: theming.get-color-config($config-or-theme);
|
|
7
|
+
$background: map.get($config, background);
|
|
8
|
+
|
|
9
|
+
.mtx-colorpicker-toggle-active {
|
|
10
|
+
color: theming.get-color-from-palette(map.get($config, primary), text);
|
|
11
|
+
|
|
12
|
+
&.mat-accent {
|
|
13
|
+
color: theming.get-color-from-palette(map.get($config, accent), text);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&.mat-warn {
|
|
17
|
+
color: theming.get-color-from-palette(map.get($config, warn), text);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@mixin typography($config-or-theme) {}
|
|
23
|
+
|
|
24
|
+
@mixin _density($config-or-theme) {}
|
|
25
|
+
|
|
26
|
+
@mixin theme($theme-or-color-config) {
|
|
27
|
+
$theme: theming.private-legacy-get-theme($theme-or-color-config);
|
|
28
|
+
@include theming.private-check-duplicate-theme-styles($theme, 'mtx-colorpicker') {
|
|
29
|
+
$color: theming.get-color-config($theme);
|
|
30
|
+
$density: theming.get-density-config($theme);
|
|
31
|
+
$typography: theming.get-typography-config($theme);
|
|
32
|
+
|
|
33
|
+
@if $color != null {
|
|
34
|
+
@include color($color);
|
|
35
|
+
}
|
|
36
|
+
@if $density != null {
|
|
37
|
+
@include _density($density);
|
|
38
|
+
}
|
|
39
|
+
@if $typography != null {
|
|
40
|
+
@include typography($typography);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
3
|
+
import { AbstractControl, ControlValueAccessor, ValidationErrors } from '@angular/forms';
|
|
4
|
+
import { ThemePalette } from '@angular/material/core';
|
|
5
|
+
import { MatFormField } from '@angular/material/form-field';
|
|
6
|
+
import { MtxColorpicker } from './colorpicker';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class MtxColorPickerInputEvent {
|
|
9
|
+
/** Reference to the colorpicker input component that emitted the event. */
|
|
10
|
+
target: MtxColorpickerInput;
|
|
11
|
+
/** Reference to the native input element associated with the colorpicker input. */
|
|
12
|
+
targetElement: HTMLElement;
|
|
13
|
+
/** The new value for the target colorpicker input. */
|
|
14
|
+
value: string | null;
|
|
15
|
+
constructor(
|
|
16
|
+
/** Reference to the colorpicker input component that emitted the event. */
|
|
17
|
+
target: MtxColorpickerInput,
|
|
18
|
+
/** Reference to the native input element associated with the colorpicker input. */
|
|
19
|
+
targetElement: HTMLElement);
|
|
20
|
+
}
|
|
21
|
+
export declare const MTX_COLORPICKER_VALUE_ACCESSOR: any;
|
|
22
|
+
export declare const MTX_COLORPICKER_VALIDATORS: any;
|
|
23
|
+
export declare type ColorFormat = 'hex' | 'rgb' | 'hsl' | 'hsv';
|
|
24
|
+
export declare class MtxColorpickerInput implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
25
|
+
private _elementRef;
|
|
26
|
+
private _formField;
|
|
27
|
+
/** Whether the component has been initialized. */
|
|
28
|
+
private _isInitialized;
|
|
29
|
+
set mtxColorpicker(value: MtxColorpicker);
|
|
30
|
+
_picker: MtxColorpicker;
|
|
31
|
+
/** Whether the colorpicker-input is disabled. */
|
|
32
|
+
get disabled(): boolean;
|
|
33
|
+
set disabled(value: boolean);
|
|
34
|
+
private _disabled;
|
|
35
|
+
/** The value of the input. */
|
|
36
|
+
get value(): string | null;
|
|
37
|
+
set value(value: string | null);
|
|
38
|
+
private _value;
|
|
39
|
+
/** The input and output color format. */
|
|
40
|
+
format: ColorFormat;
|
|
41
|
+
/** Emits when a `change` event is fired on this `<input>`. */
|
|
42
|
+
readonly colorChange: EventEmitter<MtxColorPickerInputEvent>;
|
|
43
|
+
/** Emits when an `input` event is fired on this `<input>`. */
|
|
44
|
+
readonly colorInput: EventEmitter<MtxColorPickerInputEvent>;
|
|
45
|
+
/** Emits when the disabled state has changed */
|
|
46
|
+
_disabledChange: EventEmitter<boolean>;
|
|
47
|
+
/** Emits when the value changes (either due to user input or programmatic change). */
|
|
48
|
+
_valueChange: EventEmitter<string | null>;
|
|
49
|
+
_onTouched: () => void;
|
|
50
|
+
_validatorOnChange: () => void;
|
|
51
|
+
private _cvaOnChange;
|
|
52
|
+
private _pickerSubscription;
|
|
53
|
+
/** The combined form control validator for this input. */
|
|
54
|
+
private _validator;
|
|
55
|
+
/** Whether the last value set on the input was valid. */
|
|
56
|
+
private _lastValueValid;
|
|
57
|
+
constructor(_elementRef: ElementRef<HTMLInputElement>, _formField: MatFormField);
|
|
58
|
+
ngAfterViewInit(): void;
|
|
59
|
+
ngOnDestroy(): void;
|
|
60
|
+
registerOnValidatorChange(fn: () => void): void;
|
|
61
|
+
/** @docs-private */
|
|
62
|
+
validate(c: AbstractControl): ValidationErrors | null;
|
|
63
|
+
/**
|
|
64
|
+
* @deprecated
|
|
65
|
+
* @breaking-change 8.0.0 Use `getConnectedOverlayOrigin` instead
|
|
66
|
+
*/
|
|
67
|
+
getPopupConnectionElementRef(): ElementRef;
|
|
68
|
+
/**
|
|
69
|
+
* Gets the element that the colorpicker popup should be connected to.
|
|
70
|
+
* @return The element to connect the popup to.
|
|
71
|
+
*/
|
|
72
|
+
getConnectedOverlayOrigin(): ElementRef;
|
|
73
|
+
/** Gets the ID of an element that should be used a description for the overlay. */
|
|
74
|
+
getOverlayLabelId(): string | null;
|
|
75
|
+
writeValue(value: string): void;
|
|
76
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
77
|
+
registerOnTouched(fn: () => void): void;
|
|
78
|
+
setDisabledState(isDisabled: boolean): void;
|
|
79
|
+
_onKeydown(event: KeyboardEvent): void;
|
|
80
|
+
/** Handles blur events on the input. */
|
|
81
|
+
_onBlur(): void;
|
|
82
|
+
_onInput(value: string): void;
|
|
83
|
+
_onChange(): void;
|
|
84
|
+
/** Returns the palette used by the input's form field, if any. */
|
|
85
|
+
getThemePalette(): ThemePalette;
|
|
86
|
+
/** TODO: Formats a value and sets it on the input element. */
|
|
87
|
+
private _formatValue;
|
|
88
|
+
static ngAcceptInputType_value: any;
|
|
89
|
+
static ngAcceptInputType_disabled: BooleanInput;
|
|
90
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpickerInput, [null, { optional: true; }]>;
|
|
91
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MtxColorpickerInput, "input[mtxColorpicker]", ["mtxColorpickerInput"], { "mtxColorpicker": "mtxColorpicker"; "disabled": "disabled"; "value": "value"; "format": "format"; }, { "colorChange": "colorChange"; "colorInput": "colorInput"; }, never>;
|
|
92
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./colorpicker";
|
|
3
|
+
import * as i2 from "./colorpicker-input";
|
|
4
|
+
import * as i3 from "./colorpicker-toggle";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/cdk/overlay";
|
|
7
|
+
import * as i6 from "@angular/cdk/a11y";
|
|
8
|
+
import * as i7 from "@angular/cdk/portal";
|
|
9
|
+
import * as i8 from "@angular/material/button";
|
|
10
|
+
import * as i9 from "ngx-color/chrome";
|
|
11
|
+
export declare class MtxColorpickerModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpickerModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxColorpickerModule, [typeof i1.MtxColorpicker, typeof i1.MtxColorpickerContent, typeof i2.MtxColorpickerInput, typeof i3.MtxColorpickerToggle, typeof i3.MtxColorpickerToggleIcon], [typeof i4.CommonModule, typeof i5.OverlayModule, typeof i6.A11yModule, typeof i7.PortalModule, typeof i8.MatButtonModule, typeof i9.ColorChromeModule], [typeof i1.MtxColorpicker, typeof i1.MtxColorpickerContent, typeof i2.MtxColorpickerInput, typeof i3.MtxColorpickerToggle, typeof i3.MtxColorpickerToggleIcon]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MtxColorpickerModule>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
+
import { AfterContentInit, ChangeDetectorRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { MatButton } from '@angular/material/button';
|
|
4
|
+
import { MtxColorpicker } from './colorpicker';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/** Can be used to override the icon of a `mtxColorpickerToggle`. */
|
|
7
|
+
export declare class MtxColorpickerToggleIcon {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpickerToggleIcon, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MtxColorpickerToggleIcon, "[mtxColorpickerToggleIcon]", never, {}, {}, never>;
|
|
10
|
+
}
|
|
11
|
+
export declare class MtxColorpickerToggle implements AfterContentInit, OnChanges, OnDestroy {
|
|
12
|
+
private _changeDetectorRef;
|
|
13
|
+
private _stateChanges;
|
|
14
|
+
/** Colorpicker instance that the button will toggle. */
|
|
15
|
+
picker: MtxColorpicker;
|
|
16
|
+
/** Tabindex for the toggle. */
|
|
17
|
+
tabIndex: number;
|
|
18
|
+
/** Whether the toggle button is disabled. */
|
|
19
|
+
get disabled(): boolean;
|
|
20
|
+
set disabled(value: boolean);
|
|
21
|
+
private _disabled;
|
|
22
|
+
/** Whether ripples on the toggle should be disabled. */
|
|
23
|
+
disableRipple: boolean;
|
|
24
|
+
/** Custom icon set by the consumer. */
|
|
25
|
+
_customIcon: MtxColorpickerToggleIcon;
|
|
26
|
+
/** Underlying button element. */
|
|
27
|
+
_button: MatButton;
|
|
28
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
29
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
30
|
+
ngOnDestroy(): void;
|
|
31
|
+
ngAfterContentInit(): void;
|
|
32
|
+
open(event: Event): void;
|
|
33
|
+
private _watchStateChanges;
|
|
34
|
+
static ngAcceptInputType_disabled: BooleanInput;
|
|
35
|
+
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpickerToggle, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxColorpickerToggle, "mtx-colorpicker-toggle", ["mtxColorpickerToggle"], { "picker": "for"; "tabIndex": "tabIndex"; "disabled": "disabled"; "disableRipple": "disableRipple"; }, {}, ["_customIcon"], ["[mtxColorpickerToggleIcon]"]>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.mat-form-field-appearance-legacy {
|
|
2
|
+
.mat-form-field-prefix,
|
|
3
|
+
.mat-form-field-suffix {
|
|
4
|
+
.mtx-colorpicker-toggle-default-icon {
|
|
5
|
+
width: 1em;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.mat-form-field:not(.mat-form-field-appearance-legacy) {
|
|
11
|
+
.mat-form-field-prefix,
|
|
12
|
+
.mat-form-field-suffix {
|
|
13
|
+
.mtx-colorpicker-toggle-default-icon {
|
|
14
|
+
display: block;
|
|
15
|
+
width: 1.5em;
|
|
16
|
+
height: 1.5em;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.mat-icon-button .mtx-colorpicker-toggle-default-icon {
|
|
20
|
+
margin: auto;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { Directionality } from '@angular/cdk/bidi';
|
|
2
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
|
+
import { ScrollStrategy, Overlay } from '@angular/cdk/overlay';
|
|
4
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, NgZone, OnChanges, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
5
|
+
import { CanColor, ThemePalette } from '@angular/material/core';
|
|
6
|
+
import { Subject } from 'rxjs';
|
|
7
|
+
import { ColorFormat, MtxColorpickerInput } from './colorpicker-input';
|
|
8
|
+
import { ColorEvent } from 'ngx-color';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
/** Injection token that determines the scroll handling while the panel is open. */
|
|
11
|
+
export declare const MTX_COLORPICKER_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
|
|
12
|
+
export declare function MTX_COLORPICKER_SCROLL_STRATEGY_FACTORY(overlay: Overlay): () => ScrollStrategy;
|
|
13
|
+
/** Possible positions for the colorpicker dropdown along the X axis. */
|
|
14
|
+
export declare type ColorpickerDropdownPositionX = 'start' | 'end';
|
|
15
|
+
/** Possible positions for the colorpicker dropdown along the Y axis. */
|
|
16
|
+
export declare type ColorpickerDropdownPositionY = 'above' | 'below';
|
|
17
|
+
export declare const MTX_COLORPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER: {
|
|
18
|
+
provide: InjectionToken<() => ScrollStrategy>;
|
|
19
|
+
deps: (typeof Overlay)[];
|
|
20
|
+
useFactory: typeof MTX_COLORPICKER_SCROLL_STRATEGY_FACTORY;
|
|
21
|
+
};
|
|
22
|
+
/** @docs-private */
|
|
23
|
+
declare const _MtxColorpickerContentBase: import("@angular/material/core")._Constructor<CanColor> & import("@angular/material/core")._AbstractConstructor<CanColor> & {
|
|
24
|
+
new (_elementRef: ElementRef): {
|
|
25
|
+
_elementRef: ElementRef;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export declare class MtxColorpickerContent extends _MtxColorpickerContentBase implements OnDestroy, CanColor {
|
|
29
|
+
private _changeDetectorRef;
|
|
30
|
+
picker: MtxColorpicker;
|
|
31
|
+
/** Current state of the animation. */
|
|
32
|
+
_animationState: 'enter-dropdown' | 'void';
|
|
33
|
+
/** Emits when an animation has finished. */
|
|
34
|
+
readonly _animationDone: Subject<void>;
|
|
35
|
+
constructor(elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef);
|
|
36
|
+
_startExitAnimation(): void;
|
|
37
|
+
ngOnDestroy(): void;
|
|
38
|
+
getColorString(e: ColorEvent): string;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpickerContent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxColorpickerContent, "mtx-colorpicker-content", ["mtxColorpickerContent"], { "color": "color"; }, {}, never, never>;
|
|
41
|
+
}
|
|
42
|
+
export declare class MtxColorpicker implements OnChanges, OnDestroy {
|
|
43
|
+
private _overlay;
|
|
44
|
+
private _ngZone;
|
|
45
|
+
private _viewContainerRef;
|
|
46
|
+
private _dir;
|
|
47
|
+
private _document;
|
|
48
|
+
private _scrollStrategy;
|
|
49
|
+
private _inputStateChanges;
|
|
50
|
+
/** Custom colorpicker content set by the consumer. */
|
|
51
|
+
content: TemplateRef<any>;
|
|
52
|
+
/** Emits when the colorpicker has been opened. */
|
|
53
|
+
openedStream: EventEmitter<void>;
|
|
54
|
+
/** Emits when the colorpicker has been closed. */
|
|
55
|
+
closedStream: EventEmitter<void>;
|
|
56
|
+
get disabled(): boolean;
|
|
57
|
+
set disabled(value: boolean);
|
|
58
|
+
private _disabled;
|
|
59
|
+
/** Preferred position of the colorpicker in the X axis. */
|
|
60
|
+
xPosition: ColorpickerDropdownPositionX;
|
|
61
|
+
/** Preferred position of the colorpicker in the Y axis. */
|
|
62
|
+
yPosition: ColorpickerDropdownPositionY;
|
|
63
|
+
/**
|
|
64
|
+
* Whether to restore focus to the previously-focused element when the panel is closed.
|
|
65
|
+
* Note that automatic focus restoration is an accessibility feature and it is recommended that
|
|
66
|
+
* you provide your own equivalent, if you decide to turn it off.
|
|
67
|
+
*/
|
|
68
|
+
get restoreFocus(): boolean;
|
|
69
|
+
set restoreFocus(value: boolean);
|
|
70
|
+
private _restoreFocus;
|
|
71
|
+
/** Whether the panel is open. */
|
|
72
|
+
get opened(): boolean;
|
|
73
|
+
set opened(value: boolean);
|
|
74
|
+
private _opened;
|
|
75
|
+
/** The id for the colorpicker panel. */
|
|
76
|
+
id: string;
|
|
77
|
+
/** Color palette to use on the colorpicker's panel. */
|
|
78
|
+
get color(): ThemePalette;
|
|
79
|
+
set color(value: ThemePalette);
|
|
80
|
+
private _color;
|
|
81
|
+
/** The input and output color format. */
|
|
82
|
+
get format(): ColorFormat;
|
|
83
|
+
set format(value: ColorFormat);
|
|
84
|
+
_format: ColorFormat;
|
|
85
|
+
/** The currently selected color. */
|
|
86
|
+
get selected(): string;
|
|
87
|
+
set selected(value: string);
|
|
88
|
+
private _validSelected;
|
|
89
|
+
/** A reference to the overlay when the picker is opened as a popup. */
|
|
90
|
+
private _overlayRef;
|
|
91
|
+
/** Reference to the component instance rendered in the overlay. */
|
|
92
|
+
private _componentRef;
|
|
93
|
+
/** The element that was focused before the colorpicker was opened. */
|
|
94
|
+
private _focusedElementBeforeOpen;
|
|
95
|
+
/** Unique class that will be added to the backdrop so that the test harnesses can look it up. */
|
|
96
|
+
private _backdropHarnessClass;
|
|
97
|
+
/** The input element this colorpicker is associated with. */
|
|
98
|
+
pickerInput: MtxColorpickerInput;
|
|
99
|
+
/** Emits when the datepicker is disabled. */
|
|
100
|
+
readonly _disabledChange: Subject<boolean>;
|
|
101
|
+
/** Emits new selected color when selected color changes. */
|
|
102
|
+
readonly _selectedChanged: Subject<string>;
|
|
103
|
+
constructor(_overlay: Overlay, _ngZone: NgZone, _viewContainerRef: ViewContainerRef, scrollStrategy: any, _dir: Directionality, _document: any);
|
|
104
|
+
ngOnChanges(): void;
|
|
105
|
+
ngOnDestroy(): void;
|
|
106
|
+
/** Selects the given color */
|
|
107
|
+
select(nextVal: string): void;
|
|
108
|
+
/**
|
|
109
|
+
* Register an input with this colorpicker.
|
|
110
|
+
* @param input The colorpicker input to register with this colorpicker.
|
|
111
|
+
*/
|
|
112
|
+
registerInput(input: MtxColorpickerInput): void;
|
|
113
|
+
open(): void;
|
|
114
|
+
/** Close the panel. */
|
|
115
|
+
close(): void;
|
|
116
|
+
/** Forwards relevant values from the colorpicker to the colorpicker content inside the overlay. */
|
|
117
|
+
protected _forwardContentValues(instance: MtxColorpickerContent): void;
|
|
118
|
+
/** Open the colopicker as a popup. */
|
|
119
|
+
private _openOverlay;
|
|
120
|
+
private _destroyOverlay;
|
|
121
|
+
/** Gets a position strategy that will open the panel as a dropdown. */
|
|
122
|
+
private _getDropdownStrategy;
|
|
123
|
+
/** Sets the positions of the colorpicker in dropdown mode based on the current configuration. */
|
|
124
|
+
private _setConnectedPositions;
|
|
125
|
+
/** Gets an observable that will emit when the overlay is supposed to be closed. */
|
|
126
|
+
private _getCloseStream;
|
|
127
|
+
static ngAcceptInputType_disabled: BooleanInput;
|
|
128
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpicker, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
129
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxColorpicker, "mtx-colorpicker", ["mtxColorpicker"], { "content": "content"; "disabled": "disabled"; "xPosition": "xPosition"; "yPosition": "yPosition"; "restoreFocus": "restoreFocus"; "opened": "opened"; "color": "color"; "format": "format"; }, { "openedStream": "opened"; "closedStream": "closed"; }, never, never>;
|
|
130
|
+
}
|
|
131
|
+
export {};
|