How to use the @angular/material.MatDialogRef 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 / users / dialogs / add-user / nf-registry-add-user.js View on Github external
};

NfRegistryAddUser.annotations = [
    new ngCore.Component({
        template: require('./nf-registry-add-user.html!text'),
        queries: {
            newUserInput: new ngCore.ViewChild('newUserInput')
        }
    })
];

NfRegistryAddUser.parameters = [
    NfRegistryApi,
    NfRegistryService,
    fdsSnackBarsModule.FdsSnackBarService,
    ngMaterial.MatDialogRef
];

module.exports = NfRegistryAddUser;
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / components / administration / workflow / dialogs / create-bucket / nf-registry-create-bucket.js View on Github external
};

NfRegistryCreateBucket.annotations = [
    new ngCore.Component({
        template: require('./nf-registry-create-bucket.html!text'),
        queries: {
            newBucketInput: new ngCore.ViewChild('newBucketInput')
        }
    })
];

NfRegistryCreateBucket.parameters = [
    NfRegistryApi,
    fdsSnackBarsModule.FdsSnackBarService,
    NfRegistryService,
    ngMaterial.MatDialogRef
];

module.exports = NfRegistryCreateBucket;
github protacon / ng-virtual-keyboard / dist / virtual-keyboard.component.js View on Github external
VirtualKeyboardComponent.ctorParameters = function () { return [
        { type: material_1.MatDialogRef },
        { type: virtual_keyboard_service_1.VirtualKeyboardService }
    ]; };
    VirtualKeyboardComponent.propDecorators = {
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / components / login / dialogs / nf-registry-user-login.js View on Github external
self.nfRegistryLoginAuthGuard.checkLogin(self.nfRegistryService.redirectUrl)
            }
        });
    }
};

NfRegistryUserLogin.annotations = [
    new ngCore.Component({
        template: require('./nf-registry-user-login.html!text')
    })
];

NfRegistryUserLogin.parameters = [
    NfRegistryApi,
    NfRegistryService,
    ngMaterial.MatDialogRef,
    nfRegistryAuthGuardService.NfRegistryLoginAuthGuard
];

module.exports = NfRegistryUserLogin;
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / components / administration / workflow / dialogs / add-policy-to-bucket / nf-registry-add-policy-to-bucket.js View on Github external
template: require('./nf-registry-add-policy-to-bucket.html!text'),
        queries: {
            readCheckbox: new ngCore.ViewChild('readCheckbox'),
            writeCheckbox: new ngCore.ViewChild('writeCheckbox'),
            deleteCheckbox: new ngCore.ViewChild('deleteCheckbox')
        }
    })
];

NfRegistryAddPolicyToBucket.parameters = [
    NfRegistryApi,
    covalentCore.TdDataTableService,
    fdsSnackBarsModule.FdsSnackBarService,
    NfRegistryService,
    ngRouter.ActivatedRoute,
    ngMaterial.MatDialogRef,
    ngMaterial.MAT_DIALOG_DATA
];

module.exports = NfRegistryAddPolicyToBucket;
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / components / administration / users / dialogs / create-new-group / nf-registry-create-new-group.js View on Github external
};

NfRegistryCreateNewGroup.annotations = [
    new ngCore.Component({
        template: require('./nf-registry-create-new-group.html!text'),
        queries: {
            createNewGroupInput: new ngCore.ViewChild('createNewGroupInput')
        }
    })
];

NfRegistryCreateNewGroup.parameters = [
    NfRegistryApi,
    fdsSnackBarsModule.FdsSnackBarService,
    NfRegistryService,
    ngMaterial.MatDialogRef
];

module.exports = NfRegistryCreateNewGroup;
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / components / administration / users / dialogs / add-user-to-groups / nf-registry-add-user-to-groups.js View on Github external
cancel: function () {
        this.dialogRef.close();
    }
};

NfRegistryAddUserToGroups.annotations = [
    new ngCore.Component({
        template: require('./nf-registry-add-user-to-groups.html!text')
    })
];

NfRegistryAddUserToGroups.parameters = [
    NfRegistryApi,
    covalentCore.TdDataTableService,
    NfRegistryService,
    ngMaterial.MatDialogRef,
    fdsSnackBarsModule.FdsSnackBarService,
    ngMaterial.MAT_DIALOG_DATA
];

module.exports = NfRegistryAddUserToGroups;
github apache / nifi-registry / nifi-registry-web-ui / src / main / webapp / components / administration / users / dialogs / add-users-to-group / nf-registry-add-users-to-group.js View on Github external
cancel: function () {
        this.dialogRef.close();
    }
};

NfRegistryAddUsersToGroup.annotations = [
    new ngCore.Component({
        template: require('./nf-registry-add-users-to-group.html!text')
    })
];

NfRegistryAddUsersToGroup.parameters = [
    NfRegistryApi,
    covalentCore.TdDataTableService,
    NfRegistryService,
    ngMaterial.MatDialogRef,
    fdsSnackBarsModule.FdsSnackBarService,
    ngMaterial.MAT_DIALOG_DATA
];

module.exports = NfRegistryAddUsersToGroup;