I have a typescript class that has methods for displaying various types of pop up dialogs. For example, it has a method :
static yesNo(msg: string, title: string, callback: (button: string, arg?: Object) => void, arg?: Object)
That displays a dialog with a Yes/No button and calls the callback with the response.
I need this library converted over to use the salesforce lightening dialog format. What does that mean?
1. Modify the library so that it generates HTML in a different format than required for JQueryUI.
See [login to view URL] for details of the new HTML format that must be generated. It isn't hugely different than JQueryUI.
There are six different dialog functions in the library, one of them we can drop, four are pretty similar to "yesNo", and one of them is a bit more complicated because it allows input via text box/checkbox/select, based on a set of options.
Realistically though, I'd say a decent programmer should be looking at 5-10 to get this job done. Less if you are already familiar with salesforce lightening.
I will supply the .ts file for the current library [login to view URL], and you will provide back an equivalent [login to view URL] that implements the Salesforce equivalent, along with a test file that will demonstrate it working.
I am looking for someone to help with the bigger project, so this may lead to considerably more work, especially so if you are familiar with Salesforce lightening.