I have tried number of methods posted on StackOverflow to use jquery-ui in angular 6 component but none of them worked. For example,
Please update your scripts part in angular.json file
"scripts": [ "../node_modules/jquery/dist/jquery.min.js", "../node_modules/jquery-ui-dist/jquery-ui.js" ]