@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
package/extensions.metadata.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"exports":[{"from":"@ng-matero/extensions/alert"},{"from":"@ng-matero/extensions/button"},{"from":"@ng-matero/extensions/checkbox-group"},{"from":"@ng-matero/extensions/colorpicker"},{"from":"@ng-matero/extensions/column-resize"},{"from":"@ng-matero/extensions/grid"},{"from":"@ng-matero/extensions/datetimepicker"},{"from":"@ng-matero/extensions/dialog"},{"from":"@ng-matero/extensions/loader"},{"from":"@ng-matero/extensions/popover"},{"from":"@ng-matero/extensions/progress"},{"from":"@ng-matero/extensions/select"},{"from":"@ng-matero/extensions/slider"},{"from":"@ng-matero/extensions/split"},{"from":"@ng-matero/extensions/tooltip"},{"from":"@ng-matero/extensions/form-group"},{"from":"@ng-matero/extensions/text3d"}],"metadata":{"MaterialExtensionsExperimentalModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"exports":[{"__symbolic":"reference","module":"@ng-matero/extensions/form-group","name":"MtxFormGroupModule","line":6,"character":12},{"__symbolic":"reference","module":"@ng-matero/extensions/text3d","name":"MtxText3dModule","line":6,"character":32}],"declarations":[]}]}],"members":{}},"MaterialExtensionsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":17,"character":1},"arguments":[{"exports":[{"__symbolic":"reference","module":"@ng-matero/extensions/alert","name":"MtxAlertModule","line":19,"character":4},{"__symbolic":"reference","module":"@ng-matero/extensions/button","name":"MtxButtonModule","line":20,"character":4},{"__symbolic":"reference","module":"@ng-matero/extensions/checkbox-group","name":"MtxCheckboxGroupModule","line":21,"character":4},{"__symbolic":"reference","module":"@ng-matero/extensions/colorpicker","name":"MtxColorpickerModule","line":22,"character":4},{"__symbolic":"reference","module":"@ng-matero/extensions/grid","name":"MtxGridModule","line":23,"character":4},{"__symbolic":"reference","module":"@ng-matero/extensions/datetimepicker","name":"MtxDatetimepickerModule","line":24,"character":4},{"__symbolic":"reference","module":"@ng-matero/extensions/dialog","name":"MtxDialogModule","line":25,"character":4},{"__symbolic":"reference","module":"@ng-matero/extensions/loader","name":"MtxLoaderModule","line":26,"character":4},{"__symbolic":"reference","module":"@ng-matero/extensions/popover","name":"MtxPopoverModule","line":27,"character":4},{"__symbolic":"reference","module":"@ng-matero/extensions/progress","name":"MtxProgressModule","line":28,"character":4},{"__symbolic":"reference","module":"@ng-matero/extensions/select","name":"MtxSelectModule","line":29,"character":4},{"__symbolic":"reference","module":"@ng-matero/extensions/slider","name":"MtxSliderModule","line":30,"character":4},{"__symbolic":"reference","module":"@ng-matero/extensions/split","name":"MtxSplitModule","line":31,"character":4},{"__symbolic":"reference","module":"@ng-matero/extensions/tooltip","name":"MtxTooltipModule","line":32,"character":4}],"declarations":[]}]}],"members":{}}},"origins":{"MaterialExtensionsExperimentalModule":"./extensions-experimental.module","MaterialExtensionsModule":"./extensions.module"},"importAs":"@ng-matero/extensions"}
|
package/extensions.module.d.ts
DELETED
package/fesm2015/extensions.js
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { MtxAlertModule } from '@ng-matero/extensions/alert';
|
|
2
|
-
export * from '@ng-matero/extensions/alert';
|
|
3
|
-
import { MtxButtonModule } from '@ng-matero/extensions/button';
|
|
4
|
-
export * from '@ng-matero/extensions/button';
|
|
5
|
-
import { MtxCheckboxGroupModule } from '@ng-matero/extensions/checkbox-group';
|
|
6
|
-
export * from '@ng-matero/extensions/checkbox-group';
|
|
7
|
-
import { MtxColorpickerModule } from '@ng-matero/extensions/colorpicker';
|
|
8
|
-
export * from '@ng-matero/extensions/colorpicker';
|
|
9
|
-
export * from '@ng-matero/extensions/column-resize';
|
|
10
|
-
import { MtxGridModule } from '@ng-matero/extensions/grid';
|
|
11
|
-
export * from '@ng-matero/extensions/grid';
|
|
12
|
-
import { MtxDatetimepickerModule } from '@ng-matero/extensions/datetimepicker';
|
|
13
|
-
export * from '@ng-matero/extensions/datetimepicker';
|
|
14
|
-
import { MtxDialogModule } from '@ng-matero/extensions/dialog';
|
|
15
|
-
export * from '@ng-matero/extensions/dialog';
|
|
16
|
-
import { MtxLoaderModule } from '@ng-matero/extensions/loader';
|
|
17
|
-
export * from '@ng-matero/extensions/loader';
|
|
18
|
-
import { MtxPopoverModule } from '@ng-matero/extensions/popover';
|
|
19
|
-
export * from '@ng-matero/extensions/popover';
|
|
20
|
-
import { MtxProgressModule } from '@ng-matero/extensions/progress';
|
|
21
|
-
export * from '@ng-matero/extensions/progress';
|
|
22
|
-
import { MtxSelectModule } from '@ng-matero/extensions/select';
|
|
23
|
-
export * from '@ng-matero/extensions/select';
|
|
24
|
-
import { MtxSliderModule } from '@ng-matero/extensions/slider';
|
|
25
|
-
export * from '@ng-matero/extensions/slider';
|
|
26
|
-
import { MtxSplitModule } from '@ng-matero/extensions/split';
|
|
27
|
-
export * from '@ng-matero/extensions/split';
|
|
28
|
-
import { MtxTooltipModule } from '@ng-matero/extensions/tooltip';
|
|
29
|
-
export * from '@ng-matero/extensions/tooltip';
|
|
30
|
-
import { MtxFormGroupModule } from '@ng-matero/extensions/form-group';
|
|
31
|
-
export * from '@ng-matero/extensions/form-group';
|
|
32
|
-
import { MtxText3dModule } from '@ng-matero/extensions/text3d';
|
|
33
|
-
export * from '@ng-matero/extensions/text3d';
|
|
34
|
-
import { NgModule } from '@angular/core';
|
|
35
|
-
|
|
36
|
-
class MaterialExtensionsExperimentalModule {
|
|
37
|
-
}
|
|
38
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
39
|
-
MaterialExtensionsExperimentalModule.decorators = [
|
|
40
|
-
{ type: NgModule, args: [{
|
|
41
|
-
exports: [MtxFormGroupModule, MtxText3dModule],
|
|
42
|
-
declarations: [],
|
|
43
|
-
},] }
|
|
44
|
-
];
|
|
45
|
-
|
|
46
|
-
class MaterialExtensionsModule {
|
|
47
|
-
}
|
|
48
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
49
|
-
MaterialExtensionsModule.decorators = [
|
|
50
|
-
{ type: NgModule, args: [{
|
|
51
|
-
exports: [
|
|
52
|
-
MtxAlertModule,
|
|
53
|
-
MtxButtonModule,
|
|
54
|
-
MtxCheckboxGroupModule,
|
|
55
|
-
MtxColorpickerModule,
|
|
56
|
-
MtxGridModule,
|
|
57
|
-
MtxDatetimepickerModule,
|
|
58
|
-
MtxDialogModule,
|
|
59
|
-
MtxLoaderModule,
|
|
60
|
-
MtxPopoverModule,
|
|
61
|
-
MtxProgressModule,
|
|
62
|
-
MtxSelectModule,
|
|
63
|
-
MtxSliderModule,
|
|
64
|
-
MtxSplitModule,
|
|
65
|
-
MtxTooltipModule,
|
|
66
|
-
],
|
|
67
|
-
declarations: [],
|
|
68
|
-
},] }
|
|
69
|
-
];
|
|
70
|
-
|
|
71
|
-
/*
|
|
72
|
-
* Public API Surface of components
|
|
73
|
-
*/
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Generated bundle index. Do not edit.
|
|
77
|
-
*/
|
|
78
|
-
|
|
79
|
-
export { MaterialExtensionsExperimentalModule, MaterialExtensionsModule };
|
|
80
|
-
//# sourceMappingURL=extensions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extensions.js","sources":["../../../projects/extensions/extensions-experimental.module.ts","../../../projects/extensions/extensions.module.ts","../../../projects/extensions/public-api.ts","../../../projects/extensions/extensions.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\n\nimport { MtxFormGroupModule } from '@ng-matero/extensions/form-group';\nimport { MtxText3dModule } from '@ng-matero/extensions/text3d';\n\n@NgModule({\n exports: [MtxFormGroupModule, MtxText3dModule],\n declarations: [],\n})\nexport class MaterialExtensionsExperimentalModule {}\n","import { NgModule } from '@angular/core';\n\nimport { MtxAlertModule } from '@ng-matero/extensions/alert';\nimport { MtxButtonModule } from '@ng-matero/extensions/button';\nimport { MtxCheckboxGroupModule } from '@ng-matero/extensions/checkbox-group';\nimport { MtxColorpickerModule } from '@ng-matero/extensions/colorpicker';\nimport { MtxGridModule } from '@ng-matero/extensions/grid';\nimport { MtxDatetimepickerModule } from '@ng-matero/extensions/datetimepicker';\nimport { MtxDialogModule } from '@ng-matero/extensions/dialog';\nimport { MtxLoaderModule } from '@ng-matero/extensions/loader';\nimport { MtxPopoverModule } from '@ng-matero/extensions/popover';\nimport { MtxProgressModule } from '@ng-matero/extensions/progress';\nimport { MtxSelectModule } from '@ng-matero/extensions/select';\nimport { MtxSliderModule } from '@ng-matero/extensions/slider';\nimport { MtxSplitModule } from '@ng-matero/extensions/split';\nimport { MtxTooltipModule } from '@ng-matero/extensions/tooltip';\n\n@NgModule({\n exports: [\n MtxAlertModule,\n MtxButtonModule,\n MtxCheckboxGroupModule,\n MtxColorpickerModule,\n MtxGridModule,\n MtxDatetimepickerModule,\n MtxDialogModule,\n MtxLoaderModule,\n MtxPopoverModule,\n MtxProgressModule,\n MtxSelectModule,\n MtxSliderModule,\n MtxSplitModule,\n MtxTooltipModule,\n ],\n declarations: [],\n})\nexport class MaterialExtensionsModule {}\n","/*\n * Public API Surface of components\n */\n\nexport * from '@ng-matero/extensions/alert';\nexport * from '@ng-matero/extensions/button';\nexport * from '@ng-matero/extensions/checkbox-group';\nexport * from '@ng-matero/extensions/colorpicker';\nexport * from '@ng-matero/extensions/column-resize';\nexport * from '@ng-matero/extensions/grid';\nexport * from '@ng-matero/extensions/datetimepicker';\nexport * from '@ng-matero/extensions/dialog';\nexport * from '@ng-matero/extensions/loader';\nexport * from '@ng-matero/extensions/popover';\nexport * from '@ng-matero/extensions/progress';\nexport * from '@ng-matero/extensions/select';\nexport * from '@ng-matero/extensions/slider';\nexport * from '@ng-matero/extensions/split';\nexport * from '@ng-matero/extensions/tooltip';\n\nexport * from '@ng-matero/extensions/form-group';\nexport * from '@ng-matero/extensions/text3d';\n\nexport * from './extensions-experimental.module';\nexport * from './extensions.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MASa,oCAAoC;;;;YAJhD,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,kBAAkB,EAAE,eAAe,CAAC;gBAC9C,YAAY,EAAE,EAAE;aACjB;;;MC4BY,wBAAwB;;;;YAnBpC,QAAQ,SAAC;gBACR,OAAO,EAAE;oBACP,cAAc;oBACd,eAAe;oBACf,sBAAsB;oBACtB,oBAAoB;oBACpB,aAAa;oBACb,uBAAuB;oBACvB,eAAe;oBACf,eAAe;oBACf,gBAAgB;oBAChB,iBAAiB;oBACjB,eAAe;oBACf,eAAe;oBACf,cAAc;oBACd,gBAAgB;iBACjB;gBACD,YAAY,EAAE,EAAE;aACjB;;;ACnCD;;;;ACAA;;;;;;"}
|
package/fesm2015/mtxAlert.js
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, ChangeDetectorRef, HostBinding, Input, Output, NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
4
|
-
|
|
5
|
-
class MtxAlertComponent {
|
|
6
|
-
constructor(_changeDetectorRef) {
|
|
7
|
-
this._changeDetectorRef = _changeDetectorRef;
|
|
8
|
-
/** The alert type */
|
|
9
|
-
this.type = 'default';
|
|
10
|
-
this._dismissible = false;
|
|
11
|
-
/** Material elevation */
|
|
12
|
-
this.elevation = 0;
|
|
13
|
-
/** This event fires when alert closed, $event is an instance of Alert component */
|
|
14
|
-
this.closed = new EventEmitter();
|
|
15
|
-
}
|
|
16
|
-
get hostClassList() {
|
|
17
|
-
return `mtx-alert-${this.type} mat-elevation-z${this.elevation}`;
|
|
18
|
-
}
|
|
19
|
-
/** Whether displays an inline `Close` button */
|
|
20
|
-
get dismissible() {
|
|
21
|
-
return this._dismissible;
|
|
22
|
-
}
|
|
23
|
-
set dismissible(value) {
|
|
24
|
-
this._dismissible = coerceBooleanProperty(value);
|
|
25
|
-
}
|
|
26
|
-
_onClosed() {
|
|
27
|
-
this._changeDetectorRef.markForCheck();
|
|
28
|
-
this.closed.emit(this);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
32
|
-
MtxAlertComponent.decorators = [
|
|
33
|
-
{ type: Component, args: [{
|
|
34
|
-
selector: 'mtx-alert',
|
|
35
|
-
exportAs: 'mtxAlert',
|
|
36
|
-
host: {
|
|
37
|
-
'[class.mtx-alert]': 'true',
|
|
38
|
-
'[class.mtx-alert-dismissible]': 'dismissible',
|
|
39
|
-
'role': 'alert',
|
|
40
|
-
},
|
|
41
|
-
template: "<ng-content></ng-content>\n<ng-template [ngIf]=\"dismissible\">\n <button type=\"button\" class=\"mtx-alert-close\" aria-label=\"Close\" (click)=\"_onClosed()\">\n <span aria-hidden=\"true\">×</span>\n </button>\n</ng-template>\n",
|
|
42
|
-
encapsulation: ViewEncapsulation.None,
|
|
43
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
44
|
-
styles: [".mtx-alert{position:relative;display:block;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.mtx-alert-close{position:absolute;top:0;bottom:0;right:0;padding:0 1.25rem;font-size:1.5rem;line-height:1;color:inherit;opacity:.5;background-color:transparent;border:0;cursor:pointer}[dir=rtl] .mtx-alert-close{right:auto;left:0}.mtx-alert-close:hover{opacity:.75}.mtx-alert-dismissible{padding-right:4rem}\n"]
|
|
45
|
-
},] }
|
|
46
|
-
];
|
|
47
|
-
/**
|
|
48
|
-
* @type {function(): !Array<(null|{
|
|
49
|
-
* type: ?,
|
|
50
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
51
|
-
* })>}
|
|
52
|
-
* @nocollapse
|
|
53
|
-
*/
|
|
54
|
-
MtxAlertComponent.ctorParameters = () => [
|
|
55
|
-
{ type: ChangeDetectorRef }
|
|
56
|
-
];
|
|
57
|
-
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
58
|
-
MtxAlertComponent.propDecorators = {
|
|
59
|
-
hostClassList: [{ type: HostBinding, args: ['class',] }],
|
|
60
|
-
type: [{ type: Input }],
|
|
61
|
-
dismissible: [{ type: Input }],
|
|
62
|
-
elevation: [{ type: Input }],
|
|
63
|
-
closed: [{ type: Output }]
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
class MtxAlertModule {
|
|
67
|
-
}
|
|
68
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
69
|
-
MtxAlertModule.decorators = [
|
|
70
|
-
{ type: NgModule, args: [{
|
|
71
|
-
imports: [CommonModule],
|
|
72
|
-
exports: [MtxAlertComponent],
|
|
73
|
-
declarations: [MtxAlertComponent],
|
|
74
|
-
},] }
|
|
75
|
-
];
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Generated bundle index. Do not edit.
|
|
79
|
-
*/
|
|
80
|
-
|
|
81
|
-
export { MtxAlertComponent, MtxAlertModule };
|
|
82
|
-
//# sourceMappingURL=mtxAlert.js.map
|
package/fesm2015/mtxAlert.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mtxAlert.js","sources":["../../../projects/extensions/alert/alert.component.ts","../../../projects/extensions/alert/alert.module.ts","../../../projects/extensions/alert/mtxAlert.ts"],"sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n ViewEncapsulation,\n Input,\n Output,\n EventEmitter,\n ChangeDetectorRef,\n HostBinding,\n} from '@angular/core';\nimport { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\n\nexport type MtxAlertType = 'default' | 'info' | 'success' | 'warning' | 'danger';\n\n@Component({\n selector: 'mtx-alert',\n exportAs: 'mtxAlert',\n host: {\n '[class.mtx-alert]': 'true',\n '[class.mtx-alert-dismissible]': 'dismissible',\n 'role': 'alert',\n },\n templateUrl: './alert.component.html',\n styleUrls: ['./alert.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MtxAlertComponent {\n @HostBinding('class') get hostClassList() {\n return `mtx-alert-${this.type} mat-elevation-z${this.elevation}`;\n }\n\n /** The alert type */\n @Input() type: MtxAlertType = 'default';\n\n /** Whether displays an inline `Close` button */\n @Input()\n get dismissible(): boolean {\n return this._dismissible;\n }\n set dismissible(value: boolean) {\n this._dismissible = coerceBooleanProperty(value);\n }\n private _dismissible = false;\n\n /** Material elevation */\n @Input() elevation = 0;\n\n /** This event fires when alert closed, $event is an instance of Alert component */\n @Output() closed = new EventEmitter<MtxAlertComponent>();\n\n constructor(private _changeDetectorRef: ChangeDetectorRef) {}\n\n _onClosed(): void {\n this._changeDetectorRef.markForCheck();\n this.closed.emit(this);\n }\n\n static ngAcceptInputType_dismissible: BooleanInput;\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { MtxAlertComponent } from './alert.component';\n\n@NgModule({\n imports: [CommonModule],\n exports: [MtxAlertComponent],\n declarations: [MtxAlertComponent],\n})\nexport class MtxAlertModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MA2Ba,iBAAiB;IAwB5B,YAAoB,kBAAqC;QAArC,uBAAkB,GAAlB,kBAAkB,CAAmB;;QAlBhD,SAAI,GAAiB,SAAS,CAAC;QAUhC,iBAAY,GAAG,KAAK,CAAC;;QAGpB,cAAS,GAAG,CAAC,CAAC;;QAGb,WAAM,GAAG,IAAI,YAAY,EAAqB,CAAC;KAEI;IAvB7D,IAA0B,aAAa;QACrC,OAAO,aAAa,IAAI,CAAC,IAAI,mBAAmB,IAAI,CAAC,SAAS,EAAE,CAAC;KAClE;;IAMD,IACI,WAAW;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;KAC1B;IACD,IAAI,WAAW,CAAC,KAAc;QAC5B,IAAI,CAAC,YAAY,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;KAClD;IAWD,SAAS;QACP,IAAI,CAAC,kBAAkB,CAAC,YAAY,EAAE,CAAC;QACvC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACxB;;;;YA1CF,SAAS,SAAC;gBACT,QAAQ,EAAE,WAAW;gBACrB,QAAQ,EAAE,UAAU;gBACpB,IAAI,EAAE;oBACJ,mBAAmB,EAAE,MAAM;oBAC3B,+BAA+B,EAAE,aAAa;oBAC9C,MAAM,EAAE,OAAO;iBAChB;gBACD,4PAAqC;gBAErC,aAAa,EAAE,iBAAiB,CAAC,IAAI;gBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;;aAChD;;;;;;;;;;YAnBC,iBAAiB;;;;4BAqBhB,WAAW,SAAC,OAAO;mBAKnB,KAAK;0BAGL,KAAK;wBAUL,KAAK;qBAGL,MAAM;;;MCvCI,cAAc;;;;YAL1B,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,OAAO,EAAE,CAAC,iBAAiB,CAAC;gBAC5B,YAAY,EAAE,CAAC,iBAAiB,CAAC;aAClC;;;ACTD;;;;;;"}
|
package/fesm2015/mtxButton.js
DELETED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { Directive, ComponentFactoryResolver, ViewContainerRef, Renderer2, Input, NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { MatButton, MatButtonModule } from '@angular/material/button';
|
|
4
|
-
import { MatProgressSpinner, MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
5
|
-
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
6
|
-
|
|
7
|
-
class MatButtonLoadingDirective {
|
|
8
|
-
constructor(matButton, componentFactoryResolver, viewContainerRef, renderer) {
|
|
9
|
-
this.matButton = matButton;
|
|
10
|
-
this.componentFactoryResolver = componentFactoryResolver;
|
|
11
|
-
this.viewContainerRef = viewContainerRef;
|
|
12
|
-
this.renderer = renderer;
|
|
13
|
-
this._loading = false;
|
|
14
|
-
this._disabled = false;
|
|
15
|
-
this.spinnerFactory = this.componentFactoryResolver.resolveComponentFactory(MatProgressSpinner);
|
|
16
|
-
}
|
|
17
|
-
get loading() {
|
|
18
|
-
return this._loading;
|
|
19
|
-
}
|
|
20
|
-
set loading(value) {
|
|
21
|
-
this._loading = coerceBooleanProperty(value);
|
|
22
|
-
}
|
|
23
|
-
get disabled() {
|
|
24
|
-
return this._disabled;
|
|
25
|
-
}
|
|
26
|
-
set disabled(value) {
|
|
27
|
-
this._disabled = coerceBooleanProperty(value);
|
|
28
|
-
}
|
|
29
|
-
ngOnChanges(changes) {
|
|
30
|
-
if (!changes.loading) {
|
|
31
|
-
return;
|
|
32
|
-
}
|
|
33
|
-
if (changes.loading.currentValue) {
|
|
34
|
-
this.matButton._elementRef.nativeElement.classList.add('mat-button-loading');
|
|
35
|
-
this.matButton.disabled = true;
|
|
36
|
-
this.createSpinner();
|
|
37
|
-
}
|
|
38
|
-
else if (!changes.loading.firstChange) {
|
|
39
|
-
this.matButton._elementRef.nativeElement.classList.remove('mat-button-loading');
|
|
40
|
-
this.matButton.disabled = this.disabled;
|
|
41
|
-
this.destroySpinner();
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
createSpinner() {
|
|
45
|
-
if (!this.spinner) {
|
|
46
|
-
this.spinner = this.viewContainerRef.createComponent(this.spinnerFactory);
|
|
47
|
-
this.spinner.instance.color = this.color;
|
|
48
|
-
this.spinner.instance.diameter = 20;
|
|
49
|
-
this.spinner.instance.mode = 'indeterminate';
|
|
50
|
-
this.renderer.appendChild(this.matButton._elementRef.nativeElement, this.spinner.instance._elementRef.nativeElement);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
destroySpinner() {
|
|
54
|
-
if (this.spinner) {
|
|
55
|
-
this.spinner.destroy();
|
|
56
|
-
this.spinner = null;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
61
|
-
MatButtonLoadingDirective.decorators = [
|
|
62
|
-
{ type: Directive, args: [{
|
|
63
|
-
selector: `button[mat-button][loading],
|
|
64
|
-
button[mat-raised-button][loading],
|
|
65
|
-
button[mat-stroked-button][loading],
|
|
66
|
-
button[mat-flat-button][loading],
|
|
67
|
-
button[mat-icon-button][loading],
|
|
68
|
-
button[mat-fab][loading],
|
|
69
|
-
button[mat-mini-fab][loading]`,
|
|
70
|
-
},] }
|
|
71
|
-
];
|
|
72
|
-
/**
|
|
73
|
-
* @type {function(): !Array<(null|{
|
|
74
|
-
* type: ?,
|
|
75
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
76
|
-
* })>}
|
|
77
|
-
* @nocollapse
|
|
78
|
-
*/
|
|
79
|
-
MatButtonLoadingDirective.ctorParameters = () => [
|
|
80
|
-
{ type: MatButton },
|
|
81
|
-
{ type: ComponentFactoryResolver },
|
|
82
|
-
{ type: ViewContainerRef },
|
|
83
|
-
{ type: Renderer2 }
|
|
84
|
-
];
|
|
85
|
-
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
86
|
-
MatButtonLoadingDirective.propDecorators = {
|
|
87
|
-
loading: [{ type: Input }],
|
|
88
|
-
disabled: [{ type: Input }],
|
|
89
|
-
color: [{ type: Input }]
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
class MtxButtonModule {
|
|
93
|
-
}
|
|
94
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
95
|
-
MtxButtonModule.decorators = [
|
|
96
|
-
{ type: NgModule, args: [{
|
|
97
|
-
imports: [CommonModule, MatButtonModule, MatProgressSpinnerModule],
|
|
98
|
-
exports: [MatButtonLoadingDirective],
|
|
99
|
-
declarations: [MatButtonLoadingDirective],
|
|
100
|
-
},] }
|
|
101
|
-
];
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Generated bundle index. Do not edit.
|
|
105
|
-
*/
|
|
106
|
-
|
|
107
|
-
export { MatButtonLoadingDirective, MtxButtonModule };
|
|
108
|
-
//# sourceMappingURL=mtxButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mtxButton.js","sources":["../../../projects/extensions/button/button-loading.directive.ts","../../../projects/extensions/button/button.module.ts","../../../projects/extensions/button/mtxButton.ts"],"sourcesContent":["import {\n ComponentFactory,\n ComponentFactoryResolver,\n ComponentRef,\n Directive,\n Input,\n OnChanges,\n Renderer2,\n SimpleChanges,\n ViewContainerRef,\n} from '@angular/core';\nimport { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { ThemePalette } from '@angular/material/core';\nimport { MatButton } from '@angular/material/button';\nimport { MatProgressSpinner } from '@angular/material/progress-spinner';\n\n@Directive({\n selector: `button[mat-button][loading],\n button[mat-raised-button][loading],\n button[mat-stroked-button][loading],\n button[mat-flat-button][loading],\n button[mat-icon-button][loading],\n button[mat-fab][loading],\n button[mat-mini-fab][loading]`,\n})\nexport class MatButtonLoadingDirective implements OnChanges {\n private spinnerFactory: ComponentFactory<MatProgressSpinner>;\n private spinner!: ComponentRef<MatProgressSpinner> | null;\n\n @Input()\n get loading(): boolean {\n return this._loading;\n }\n set loading(value: boolean) {\n this._loading = coerceBooleanProperty(value);\n }\n private _loading = false;\n\n @Input()\n get disabled(): boolean {\n return this._disabled;\n }\n set disabled(value: boolean) {\n this._disabled = coerceBooleanProperty(value);\n }\n private _disabled = false;\n\n @Input()\n color: ThemePalette;\n\n constructor(\n private matButton: MatButton,\n private componentFactoryResolver: ComponentFactoryResolver,\n private viewContainerRef: ViewContainerRef,\n private renderer: Renderer2\n ) {\n this.spinnerFactory = this.componentFactoryResolver.resolveComponentFactory(MatProgressSpinner);\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (!changes.loading) {\n return;\n }\n\n if (changes.loading.currentValue) {\n this.matButton._elementRef.nativeElement.classList.add('mat-button-loading');\n this.matButton.disabled = true;\n this.createSpinner();\n } else if (!changes.loading.firstChange) {\n this.matButton._elementRef.nativeElement.classList.remove('mat-button-loading');\n this.matButton.disabled = this.disabled;\n this.destroySpinner();\n }\n }\n\n private createSpinner(): void {\n if (!this.spinner) {\n this.spinner = this.viewContainerRef.createComponent(this.spinnerFactory);\n this.spinner.instance.color = this.color;\n this.spinner.instance.diameter = 20;\n this.spinner.instance.mode = 'indeterminate';\n this.renderer.appendChild(\n this.matButton._elementRef.nativeElement,\n this.spinner.instance._elementRef.nativeElement\n );\n }\n }\n\n private destroySpinner(): void {\n if (this.spinner) {\n this.spinner.destroy();\n this.spinner = null;\n }\n }\n\n static ngAcceptInputType_loading: BooleanInput;\n static ngAcceptInputType_disabled: BooleanInput;\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { MatButtonLoadingDirective } from './button-loading.directive';\n\n@NgModule({\n imports: [CommonModule, MatButtonModule, MatProgressSpinnerModule],\n exports: [MatButtonLoadingDirective],\n declarations: [MatButtonLoadingDirective],\n})\nexport class MtxButtonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAyBa,yBAAyB;IAyBpC,YACU,SAAoB,EACpB,wBAAkD,EAClD,gBAAkC,EAClC,QAAmB;QAHnB,cAAS,GAAT,SAAS,CAAW;QACpB,6BAAwB,GAAxB,wBAAwB,CAA0B;QAClD,qBAAgB,GAAhB,gBAAgB,CAAkB;QAClC,aAAQ,GAAR,QAAQ,CAAW;QAlBrB,aAAQ,GAAG,KAAK,CAAC;QASjB,cAAS,GAAG,KAAK,CAAC;QAWxB,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,wBAAwB,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,CAAC;KACjG;IA5BD,IACI,OAAO;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC;KACtB;IACD,IAAI,OAAO,CAAC,KAAc;QACxB,IAAI,CAAC,QAAQ,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;KAC9C;IAGD,IAC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C,QAAQ,CAAC,WAAW,CAAC,aAAa,CAChD,CAAC;SACH;KACF;IAEO,cAAc;QACpB,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;YACvB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;SACrB;KACF;;;;YA7EF,SAAS,SAAC;gBACT,QAAQ,EAAE;;;;;;2CAM+B;aAC1C;;;;;;;;;;YAXQ,SAAS;YAXhB,wBAAwB;YAOxB,gBAAgB;YAFhB,SAAS;;;;sBAsBR,KAAK;uBASL,KAAK;oBASL,KAAK;;;MCnCK,eAAe;;;;YAL3B,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,EAAE,eAAe,EAAE,wBAAwB,CAAC;gBAClE,OAAO,EAAE,CAAC,yBAAyB,CAAC;gBACpC,YAAY,EAAE,CAAC,yBAAyB,CAAC;aAC1C;;;ACXD;;;;;;"}
|
|
@@ -1,255 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, forwardRef, ChangeDetectorRef, ElementRef, ContentChildren, Input, Output, NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
|
4
|
-
import { MatCheckbox, MatCheckboxModule } from '@angular/material/checkbox';
|
|
5
|
-
import { MtxPipesModule } from '@ng-matero/extensions/pipes';
|
|
6
|
-
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
7
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
8
|
-
|
|
9
|
-
class MtxCheckboxBase {
|
|
10
|
-
constructor(label, value) {
|
|
11
|
-
this.label = label;
|
|
12
|
-
this.value = value;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
class MtxCheckboxGroupComponent {
|
|
16
|
-
constructor(_changeDetectorRef, _focusMonitor, _elementRef) {
|
|
17
|
-
this._changeDetectorRef = _changeDetectorRef;
|
|
18
|
-
this._focusMonitor = _focusMonitor;
|
|
19
|
-
this._elementRef = _elementRef;
|
|
20
|
-
this._items = [];
|
|
21
|
-
this._originalItems = [];
|
|
22
|
-
this.bindLabel = 'label';
|
|
23
|
-
this.bindValue = 'value';
|
|
24
|
-
this._showSelectAll = false;
|
|
25
|
-
this.selectAllLabel = 'Select All';
|
|
26
|
-
this._disabled = false;
|
|
27
|
-
this.change = new EventEmitter();
|
|
28
|
-
this.selectAll = false;
|
|
29
|
-
this.selectAllIndeterminate = false;
|
|
30
|
-
this.selectedItems = [];
|
|
31
|
-
this._onChange = () => null;
|
|
32
|
-
this._onTouched = () => null;
|
|
33
|
-
}
|
|
34
|
-
get items() {
|
|
35
|
-
return this._items;
|
|
36
|
-
}
|
|
37
|
-
set items(value) {
|
|
38
|
-
// TODO: Deep clone
|
|
39
|
-
this._originalItems = JSON.parse(JSON.stringify(value));
|
|
40
|
-
this._items = value.map(option => {
|
|
41
|
-
return option instanceof Object ? option : new MtxCheckboxBase(option, option);
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
get showSelectAll() {
|
|
45
|
-
return this._showSelectAll;
|
|
46
|
-
}
|
|
47
|
-
set showSelectAll(value) {
|
|
48
|
-
this._showSelectAll = coerceBooleanProperty(value);
|
|
49
|
-
}
|
|
50
|
-
get compareWith() {
|
|
51
|
-
return this._compareWith;
|
|
52
|
-
}
|
|
53
|
-
set compareWith(fn) {
|
|
54
|
-
if (typeof fn !== 'function') {
|
|
55
|
-
throw Error('`compareWith` must be a function.');
|
|
56
|
-
}
|
|
57
|
-
if (fn) {
|
|
58
|
-
this._compareWith = fn;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
get disabled() {
|
|
62
|
-
return this._disabled;
|
|
63
|
-
}
|
|
64
|
-
set disabled(value) {
|
|
65
|
-
this._disabled = coerceBooleanProperty(value);
|
|
66
|
-
}
|
|
67
|
-
ngAfterViewInit() {
|
|
68
|
-
this._focusMonitor.monitor(this._elementRef, true).subscribe(focusOrigin => {
|
|
69
|
-
if (!focusOrigin) {
|
|
70
|
-
// When a focused element becomes disabled, the browser *immediately* fires a blur event.
|
|
71
|
-
// Angular does not expect events to be raised during change detection, so any state change
|
|
72
|
-
// (such as a form control's 'ng-touched') will cause a changed-after-checked error.
|
|
73
|
-
// See https://github.com/angular/angular/issues/17793. To work around this, we defer
|
|
74
|
-
// telling the form control it has been touched until the next tick.
|
|
75
|
-
Promise.resolve().then(() => {
|
|
76
|
-
this._onTouched();
|
|
77
|
-
this._changeDetectorRef.markForCheck();
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
ngOnDestroy() {
|
|
83
|
-
this._focusMonitor.stopMonitoring(this._elementRef);
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Finds and selects and option based on its value.
|
|
87
|
-
* @returns Option that has the corresponding value.
|
|
88
|
-
*/
|
|
89
|
-
_selectValue(value) {
|
|
90
|
-
const correspondingOption = this.items.find(option => {
|
|
91
|
-
try {
|
|
92
|
-
const compareValue = option[this.bindValue] === value;
|
|
93
|
-
return this._compareWith ? this._compareWith(option, value) : compareValue;
|
|
94
|
-
}
|
|
95
|
-
catch (error) {
|
|
96
|
-
console.warn(error);
|
|
97
|
-
return false;
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
if (correspondingOption) {
|
|
101
|
-
correspondingOption.checked = true;
|
|
102
|
-
}
|
|
103
|
-
return correspondingOption;
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* Sets the model value. Implemented as part of ControlValueAccessor.
|
|
107
|
-
* @param value New value to be written to the model.
|
|
108
|
-
*/
|
|
109
|
-
writeValue(value) {
|
|
110
|
-
if (value) {
|
|
111
|
-
if (!Array.isArray(value)) {
|
|
112
|
-
throw Error('Value must be an array.');
|
|
113
|
-
}
|
|
114
|
-
value.forEach((currentValue) => this._selectValue(currentValue));
|
|
115
|
-
this.selectedItems = value;
|
|
116
|
-
}
|
|
117
|
-
this._checkMasterCheckboxState();
|
|
118
|
-
this._changeDetectorRef.markForCheck();
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* Registers a callback to be triggered when the model value changes.
|
|
122
|
-
* Implemented as part of ControlValueAccessor.
|
|
123
|
-
* @param fn Callback to be registered.
|
|
124
|
-
*/
|
|
125
|
-
registerOnChange(fn) {
|
|
126
|
-
this._onChange = fn;
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* Registers a callback to be triggered when the control is touched.
|
|
130
|
-
* Implemented as part of ControlValueAccessor.
|
|
131
|
-
* @param fn Callback to be registered.
|
|
132
|
-
*/
|
|
133
|
-
registerOnTouched(fn) {
|
|
134
|
-
this._onTouched = fn;
|
|
135
|
-
}
|
|
136
|
-
/**
|
|
137
|
-
* Sets the disabled state of the control. Implemented as a part of ControlValueAccessor.
|
|
138
|
-
* @param isDisabled Whether the control should be disabled.
|
|
139
|
-
*/
|
|
140
|
-
setDisabledState(isDisabled) {
|
|
141
|
-
this._disabled = isDisabled;
|
|
142
|
-
}
|
|
143
|
-
_checkMasterCheckboxState() {
|
|
144
|
-
if (this.items
|
|
145
|
-
.filter(option => option.checked || !option.disabled)
|
|
146
|
-
.every(option => !option.checked)) {
|
|
147
|
-
this.selectAll = false;
|
|
148
|
-
this.selectAllIndeterminate = false;
|
|
149
|
-
}
|
|
150
|
-
else if (this.items
|
|
151
|
-
.filter(option => option.checked || !option.disabled)
|
|
152
|
-
.every(option => option.checked)) {
|
|
153
|
-
this.selectAll = true;
|
|
154
|
-
this.selectAllIndeterminate = false;
|
|
155
|
-
}
|
|
156
|
-
else {
|
|
157
|
-
this.selectAllIndeterminate = true;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
_getSelectedItems(index) {
|
|
161
|
-
this.selectedItems = this.items.filter(option => option.checked);
|
|
162
|
-
if (this._compareWith) {
|
|
163
|
-
this.selectedItems = this._originalItems.filter(option => this.selectedItems.find(selectedOption => this._compareWith(option, selectedOption)));
|
|
164
|
-
}
|
|
165
|
-
else {
|
|
166
|
-
this.selectedItems = this.selectedItems.map(option => option[this.bindValue]);
|
|
167
|
-
}
|
|
168
|
-
this._onChange(this.selectedItems);
|
|
169
|
-
this.change.emit({ model: this.selectedItems, index });
|
|
170
|
-
}
|
|
171
|
-
/** Handle normal checkbox toggle */
|
|
172
|
-
_updateNormalCheckboxState(e, index) {
|
|
173
|
-
this._checkMasterCheckboxState();
|
|
174
|
-
this._getSelectedItems(index);
|
|
175
|
-
}
|
|
176
|
-
/** Handle master checkbox toggle */
|
|
177
|
-
_updateMasterCheckboxState(e, index) {
|
|
178
|
-
this.selectAll = !this.selectAll;
|
|
179
|
-
this.selectAllIndeterminate = false;
|
|
180
|
-
if (this.selectAll) {
|
|
181
|
-
this.items
|
|
182
|
-
.filter(option => option.checked || !option.disabled)
|
|
183
|
-
.forEach(option => (option.checked = true));
|
|
184
|
-
}
|
|
185
|
-
else {
|
|
186
|
-
this.items
|
|
187
|
-
.filter(option => option.checked || !option.disabled)
|
|
188
|
-
.forEach(option => (option.checked = !!option.disabled));
|
|
189
|
-
}
|
|
190
|
-
this._getSelectedItems(index);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
194
|
-
MtxCheckboxGroupComponent.decorators = [
|
|
195
|
-
{ type: Component, args: [{
|
|
196
|
-
selector: 'mtx-checkbox-group',
|
|
197
|
-
exportAs: 'mtxCheckboxGroup',
|
|
198
|
-
host: {
|
|
199
|
-
class: 'mtx-checkbox-group',
|
|
200
|
-
},
|
|
201
|
-
template: "<mat-checkbox class=\"mtx-checkbox-master\"\n *ngIf=\"showSelectAll\"\n [checked]=\"selectAll\"\n [(indeterminate)]=\"selectAllIndeterminate\"\n [disabled]=\"disabled\"\n (change)=\"_updateMasterCheckboxState($event, -1);\">\n {{selectAllLabel}}\n</mat-checkbox>\n\n<mat-checkbox class=\"mtx-checkbox-normal\"\n *ngFor=\"let option of items; let i = index;\"\n [(ngModel)]=\"option.checked\"\n [aria-describedby]=\"option.ariaDescribedby\"\n [aria-label]=\"option.ariaLabel\"\n [aria-labelledby]=\"option.ariaLabelledby\"\n [color]=\"option.color\"\n [disabled]=\"option.disabled || disabled\"\n [disableRipple]=\"option.disableRipple\"\n [labelPosition]=\"option.labelPosition\"\n [required]=\"option.required\"\n (change)=\"_updateNormalCheckboxState($event, i)\">\n {{option[bindLabel] | toObservable | async}}\n</mat-checkbox>\n",
|
|
202
|
-
encapsulation: ViewEncapsulation.None,
|
|
203
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
204
|
-
providers: [
|
|
205
|
-
{
|
|
206
|
-
provide: NG_VALUE_ACCESSOR,
|
|
207
|
-
useExisting: forwardRef(() => MtxCheckboxGroupComponent),
|
|
208
|
-
multi: true,
|
|
209
|
-
},
|
|
210
|
-
],
|
|
211
|
-
styles: [".mtx-checkbox-group{display:block}.mtx-checkbox-group .mat-checkbox{margin-right:16px}[dir=rtl] .mtx-checkbox-group .mat-checkbox{margin-right:auto;margin-left:16px}\n"]
|
|
212
|
-
},] }
|
|
213
|
-
];
|
|
214
|
-
/**
|
|
215
|
-
* @type {function(): !Array<(null|{
|
|
216
|
-
* type: ?,
|
|
217
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
218
|
-
* })>}
|
|
219
|
-
* @nocollapse
|
|
220
|
-
*/
|
|
221
|
-
MtxCheckboxGroupComponent.ctorParameters = () => [
|
|
222
|
-
{ type: ChangeDetectorRef },
|
|
223
|
-
{ type: FocusMonitor },
|
|
224
|
-
{ type: ElementRef }
|
|
225
|
-
];
|
|
226
|
-
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
227
|
-
MtxCheckboxGroupComponent.propDecorators = {
|
|
228
|
-
_checkboxes: [{ type: ContentChildren, args: [forwardRef(() => MatCheckbox), { descendants: true },] }],
|
|
229
|
-
items: [{ type: Input }],
|
|
230
|
-
bindLabel: [{ type: Input }],
|
|
231
|
-
bindValue: [{ type: Input }],
|
|
232
|
-
showSelectAll: [{ type: Input }],
|
|
233
|
-
selectAllLabel: [{ type: Input }],
|
|
234
|
-
compareWith: [{ type: Input }],
|
|
235
|
-
disabled: [{ type: Input }],
|
|
236
|
-
change: [{ type: Output }]
|
|
237
|
-
};
|
|
238
|
-
|
|
239
|
-
class MtxCheckboxGroupModule {
|
|
240
|
-
}
|
|
241
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
242
|
-
MtxCheckboxGroupModule.decorators = [
|
|
243
|
-
{ type: NgModule, args: [{
|
|
244
|
-
imports: [CommonModule, FormsModule, MatCheckboxModule, MtxPipesModule],
|
|
245
|
-
exports: [MtxCheckboxGroupComponent, MtxPipesModule],
|
|
246
|
-
declarations: [MtxCheckboxGroupComponent],
|
|
247
|
-
},] }
|
|
248
|
-
];
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* Generated bundle index. Do not edit.
|
|
252
|
-
*/
|
|
253
|
-
|
|
254
|
-
export { MtxCheckboxBase, MtxCheckboxGroupComponent, MtxCheckboxGroupModule };
|
|
255
|
-
//# sourceMappingURL=mtxCheckboxGroup.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mtxCheckboxGroup.js","sources":["../../../projects/extensions/checkbox-group/checkbox-group.component.ts","../../../projects/extensions/checkbox-group/checkbox-group.module.ts","../../../projects/extensions/checkbox-group/mtxCheckboxGroup.ts"],"sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n ViewEncapsulation,\n Input,\n Output,\n EventEmitter,\n ChangeDetectorRef,\n forwardRef,\n AfterViewInit,\n ContentChildren,\n QueryList,\n ElementRef,\n OnDestroy,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR, ControlValueAccessor } from '@angular/forms';\nimport { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { MatCheckbox, MatCheckboxChange } from '@angular/material/checkbox';\nimport { MtxCheckboxGroupOption } from './checkbox-group.interface';\nimport { FocusMonitor } from '@angular/cdk/a11y';\n\nexport class MtxCheckboxBase {\n constructor(public label?: any, public value?: any) {}\n}\n\n@Component({\n selector: 'mtx-checkbox-group',\n exportAs: 'mtxCheckboxGroup',\n host: {\n class: 'mtx-checkbox-group',\n },\n templateUrl: './checkbox-group.component.html',\n styleUrls: ['./checkbox-group.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MtxCheckboxGroupComponent),\n multi: true,\n },\n ],\n})\nexport class MtxCheckboxGroupComponent implements AfterViewInit, OnDestroy, ControlValueAccessor {\n @ContentChildren(forwardRef(() => MatCheckbox), { descendants: true })\n _checkboxes!: QueryList<MatCheckbox>;\n\n @Input()\n get items() {\n return this._items;\n }\n set items(value: any[]) {\n // TODO: Deep clone\n this._originalItems = JSON.parse(JSON.stringify(value));\n this._items = value.map(option => {\n return option instanceof Object ? option : new MtxCheckboxBase(option, option);\n });\n }\n private _items: any[] = [];\n private _originalItems: any[] = [];\n\n @Input() bindLabel = 'label';\n\n @Input() bindValue = 'value';\n\n @Input()\n get showSelectAll(): boolean {\n return this._showSelectAll;\n }\n set showSelectAll(value: boolean) {\n this._showSelectAll = coerceBooleanProperty(value);\n }\n private _showSelectAll = false;\n\n @Input() selectAllLabel = 'Select All';\n\n @Input()\n get compareWith() {\n return this._compareWith;\n }\n set compareWith(fn: (o1: any, o2: any) => boolean) {\n if (typeof fn !== 'function') {\n throw Error('`compareWith` must be a function.');\n }\n\n if (fn) {\n this._compareWith = fn;\n }\n }\n private _compareWith!: (o1: any, o2: any) => boolean;\n\n @Input()\n get disabled(): boolean {\n return this._disabled;\n }\n set disabled(value: boolean) {\n this._disabled = coerceBooleanProperty(value);\n }\n private _disabled = false;\n\n @Output() change = new EventEmitter<{ model: MtxCheckboxGroupOption[]; index: number }>();\n\n selectAll = false;\n selectAllIndeterminate = false;\n\n selectedItems: MtxCheckboxGroupOption[] = [];\n\n _onChange: (value: MtxCheckboxGroupOption[]) => void = () => null;\n _onTouched: () => void = () => null;\n\n constructor(\n private _changeDetectorRef: ChangeDetectorRef,\n private _focusMonitor: FocusMonitor,\n private _elementRef: ElementRef<HTMLElement>\n ) {}\n\n ngAfterViewInit() {\n this._focusMonitor.monitor(this._elementRef, true).subscribe(focusOrigin => {\n if (!focusOrigin) {\n // When a focused element becomes disabled, the browser *immediately* fires a blur event.\n // Angular does not expect events to be raised during change detection, so any state change\n // (such as a form control's 'ng-touched') will cause a changed-after-checked error.\n // See https://github.com/angular/angular/issues/17793. To work around this, we defer\n // telling the form control it has been touched until the next tick.\n Promise.resolve().then(() => {\n this._onTouched();\n this._changeDetectorRef.markForCheck();\n });\n }\n });\n }\n\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this._elementRef);\n }\n\n /**\n * Finds and selects and option based on its value.\n * @returns Option that has the corresponding value.\n */\n private _selectValue(value: MtxCheckboxGroupOption) {\n const correspondingOption = (this.items as MtxCheckboxGroupOption[]).find(option => {\n try {\n const compareValue = option[this.bindValue] === value;\n return this._compareWith ? this._compareWith(option, value) : compareValue;\n } catch (error) {\n console.warn(error);\n return false;\n }\n });\n\n if (correspondingOption) {\n correspondingOption.checked = true;\n }\n\n return correspondingOption;\n }\n\n /**\n * Sets the model value. Implemented as part of ControlValueAccessor.\n * @param value New value to be written to the model.\n */\n writeValue(value: any[]): void {\n if (value) {\n if (!Array.isArray(value)) {\n throw Error('Value must be an array.');\n }\n\n value.forEach((currentValue: any) => this._selectValue(currentValue));\n this.selectedItems = value;\n }\n\n this._checkMasterCheckboxState();\n this._changeDetectorRef.markForCheck();\n }\n\n /**\n * Registers a callback to be triggered when the model value changes.\n * Implemented as part of ControlValueAccessor.\n * @param fn Callback to be registered.\n */\n registerOnChange(fn: (value: MtxCheckboxGroupOption[]) => Record<string, unknown>): void {\n this._onChange = fn;\n }\n\n /**\n * Registers a callback to be triggered when the control is touched.\n * Implemented as part of ControlValueAccessor.\n * @param fn Callback to be registered.\n */\n registerOnTouched(fn: () => Record<string, unknown>): void {\n this._onTouched = fn;\n }\n\n /**\n * Sets the disabled state of the control. Implemented as a part of ControlValueAccessor.\n * @param isDisabled Whether the control should be disabled.\n */\n setDisabledState(isDisabled: boolean) {\n this._disabled = isDisabled;\n }\n\n private _checkMasterCheckboxState() {\n if (\n (this.items as MtxCheckboxGroupOption[])\n .filter(option => option.checked || !option.disabled)\n .every(option => !option.checked)\n ) {\n this.selectAll = false;\n this.selectAllIndeterminate = false;\n } else if (\n (this.items as MtxCheckboxGroupOption[])\n .filter(option => option.checked || !option.disabled)\n .every(option => option.checked)\n ) {\n this.selectAll = true;\n this.selectAllIndeterminate = false;\n } else {\n this.selectAllIndeterminate = true;\n }\n }\n\n private _getSelectedItems(index: number) {\n this.selectedItems = (this.items as MtxCheckboxGroupOption[]).filter(option => option.checked);\n\n if (this._compareWith) {\n this.selectedItems = (this._originalItems as MtxCheckboxGroupOption[]).filter(option =>\n this.selectedItems.find(selectedOption => this._compareWith(option, selectedOption))\n );\n } else {\n this.selectedItems = this.selectedItems.map(option => option[this.bindValue]);\n }\n\n this._onChange(this.selectedItems);\n\n this.change.emit({ model: this.selectedItems, index });\n }\n\n /** Handle normal checkbox toggle */\n _updateNormalCheckboxState(e: MatCheckboxChange, index: number): void {\n this._checkMasterCheckboxState();\n this._getSelectedItems(index);\n }\n\n /** Handle master checkbox toggle */\n _updateMasterCheckboxState(e: MatCheckboxChange, index: number): void {\n this.selectAll = !this.selectAll;\n this.selectAllIndeterminate = false;\n\n if (this.selectAll) {\n (this.items as MtxCheckboxGroupOption[])\n .filter(option => option.checked || !option.disabled)\n .forEach(option => (option.checked = true));\n } else {\n (this.items as MtxCheckboxGroupOption[])\n .filter(option => option.checked || !option.disabled)\n .forEach(option => (option.checked = !!option.disabled));\n }\n\n this._getSelectedItems(index);\n }\n\n static ngAcceptInputType_showSelectAll: BooleanInput;\n static ngAcceptInputType_disabled: BooleanInput;\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\n\nimport { MtxPipesModule } from '@ng-matero/extensions/pipes';\nimport { MtxCheckboxGroupComponent } from './checkbox-group.component';\n\n@NgModule({\n imports: [CommonModule, FormsModule, MatCheckboxModule, MtxPipesModule],\n exports: [MtxCheckboxGroupComponent, MtxPipesModule],\n declarations: [MtxCheckboxGroupComponent],\n})\nexport class MtxCheckboxGroupModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;MAqBa,eAAe;IAC1B,YAAmB,KAAW,EAAS,KAAW;QAA/B,UAAK,GAAL,KAAK,CAAM;QAAS,UAAK,GAAL,KAAK,CAAM;KAAI;CACvD;MAoBY,yBAAyB;IAmEpC,YACU,kBAAqC,EACrC,aAA2B,EAC3B,WAAoC;QAFpC,uBAAkB,GAAlB,kBAAkB,CAAmB;QACrC,kBAAa,GAAb,aAAa,CAAc;QAC3B,gBAAW,GAAX,WAAW,CAAyB;QAvDtC,WAAM,GAAU,EAAE,CAAC;QACnB,mBAAc,GAAU,EAAE,CAAC;QAE1B,cAAS,GAAG,OAAO,CAAC;QAEpB,cAAS,GAAG,OAAO,CAAC;QASrB,mBAAc,GAAG,KAAK,CAAC;QAEtB,mBAAc,GAAG,YAAY,CAAC;QAwB/B,cAAS,GAAG,KAAK,CAAC;QAEhB,WAAM,GAAG,IAAI,YAAY,EAAsD,CAAC;QAE1F,cAAS,GAAG,KAAK,CAAC;QAClB,2BAAsB,GAAG,KAAK,CAAC;QAE/B,kBAAa,GAA6B,EAAE,CAAC;QAE7C,cAAS,GAA8C,MAAM,IAAI,CAAC;QAClE,eAAU,GAAe,MAAM,IAAI,CAAC;KAMhC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