How to use the @angular/material.MatDialog function in @angular/material

To help you get started, we’ve selected a few @angular/material examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / components / administration / workflow / nf-registry-workflow-administration.js View on Github external
NfRegistryWorkflowAdministration.annotations = [
    new ngCore.Component({
        template: require('./nf-registry-workflow-administration.html!text'),
        animations: [nfRegistryAnimations.slideInLeftAnimation],
        host: {
            '[@routeAnimation]': 'routeAnimation'
        }
    })
];

NfRegistryWorkflowAdministration.parameters = [
    NfRegistryApi,
    NfStorage,
    NfRegistryService,
    ngRouter.ActivatedRoute,
    ngMaterial.MatDialog
];

module.exports = NfRegistryWorkflowAdministration;
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / components / login / nf-registry-login.js View on Github external
}
};

NfLoginComponent.annotations = [
    new ngCore.Component({
        template: require('./nf-registry-login.html!text'),
        animations: [nfRegistryAnimations.slideInLeftAnimation],
        host: {
            '[@routeAnimation]': 'routeAnimation'
        }
    })
];

NfLoginComponent.parameters = [
    NfRegistryService,
    ngMaterial.MatDialog
];

module.exports = NfLoginComponent;
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / components / administration / users / sidenav / manage-user / nf-registry-manage-user.js View on Github external
NfRegistryManageUser.annotations = [
    new ngCore.Component({
        template: require('./nf-registry-manage-user.html!text')
    })
];

NfRegistryManageUser.parameters = [
    NfRegistryApi,
    NfRegistryService,
    covalentCore.TdDataTableService,
    fdsDialogsModule.FdsDialogService,
    fdsSnackBarsModule.FdsSnackBarService,
    ngRouter.ActivatedRoute,
    ngRouter.Router,
    ngMaterial.MatDialog
];

module.exports = NfRegistryManageUser;
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / components / administration / users / nf-registry-users-administration.js View on Github external
template: require('./nf-registry-users-administration.html!text'),
        animations: [nfRegistryAnimations.slideInLeftAnimation],
        host: {
            '[@routeAnimation]': 'routeAnimation'
        }
    })
];

NfRegistryUsersAdministration.parameters = [
    NfRegistryApi,
    NfStorage,
    NfRegistryService,
    ngRouter.ActivatedRoute,
    ngRouter.Router,
    fdsDialogsModule.FdsDialogService,
    ngMaterial.MatDialog
];

module.exports = NfRegistryUsersAdministration;
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / components / administration / workflow / sidenav / manage-bucket / nf-registry-manage-bucket.js View on Github external
NfRegistryManageBucket.annotations = [
    new ngCore.Component({
        template: require('./nf-registry-manage-bucket.html!text')
    })
];

NfRegistryManageBucket.parameters = [
    NfRegistryApi,
    NfRegistryService,
    covalentCore.TdDataTableService,
    fdsDialogsModule.FdsDialogService,
    fdsSnackBarsModule.FdsSnackBarService,
    ngRouter.ActivatedRoute,
    ngRouter.Router,
    ngMaterial.MatDialog
];

module.exports = NfRegistryManageBucket;
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / components / fluid-design-system / fds-demo.js View on Github external
//
};

FdsDemo.annotations = [
    new ngCore.Component({
        template: require('./fds-demo.html!text'),
        animations: [nfRegistryAnimations.slideInLeftAnimation],
        host: {
            '[@routeAnimation]': 'routeAnimation'
        }
    })
];

FdsDemo.parameters = [
    fdsSnackBarsModule.FdsSnackBarService,
    ngMaterial.MatDialog,
    covalentCore.TdDataTableService,
    fdsDialogsModule.FdsDialogService
];

module.exports = FdsDemo;
github protacon / ng-virtual-keyboard / dist / virtual-keyboard.directive.js View on Github external
NgVirtualKeyboardDirective.ctorParameters = function () { return [
        { type: core_1.ElementRef },
        { type: material_1.MatDialog }
    ]; };
    NgVirtualKeyboardDirective.propDecorators = {
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / components / administration / users / sidenav / manage-group / nf-registry-manage-group.js View on Github external
NfRegistryManageGroup.annotations = [
    new ngCore.Component({
        template: require('./nf-registry-manage-group.html!text')
    })
];

NfRegistryManageGroup.parameters = [
    NfRegistryApi,
    NfRegistryService,
    covalentCore.TdDataTableService,
    fdsDialogsModule.FdsDialogService,
    fdsSnackBarsModule.FdsSnackBarService,
    ngRouter.ActivatedRoute,
    ngRouter.Router,
    ngMaterial.MatDialog
];

module.exports = NfRegistryManageGroup;
github apache / nifi-registry / nifi-registry-web-ui / src / main / platform / core / dialogs / services / dialog.service.js View on Github external
confirmDialogComponent.acceptButton = config.acceptButton;
        }
        if (config.acceptButtonColor) {
            confirmDialogComponent.acceptButtonColor = config.acceptButtonColor;
        }
        if (config.cancelButton) {
            confirmDialogComponent.cancelButton = config.cancelButton;
        }
        if (config.cancelButtonColor) {
            confirmDialogComponent.cancelButtonColor = config.cancelButtonColor;
        }
        return dialogRef;
    },
}

FdsDialogService.parameters = [ngMaterial.MatDialog];

module.exports = {
    IDialogConfig: IDialogConfig,
    IConfirmConfig: IConfirmConfig,
    FdsDialogService: FdsDialogService
};