Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nextcloud/dialogs

Package Overview
Dependencies
Maintainers
4
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nextcloud/dialogs - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

CHANGELOG.md

2

dist/doc/assets/js/search.js
var typedoc = typedoc || {};
typedoc.search = typedoc.search || {};
typedoc.search.data = {"kinds":{"1":"External module","4":"Enumeration","16":"Enumeration member","32":"Variable","64":"Function","128":"Class","512":"Constructor","1024":"Property","2048":"Method"},"rows":[{"id":0,"kind":1,"name":"\"filepicker\"","url":"modules/_filepicker_.html","classes":"tsd-kind-external-module"},{"id":1,"kind":4,"name":"FilePickerType","url":"enums/_filepicker_.filepickertype.html","classes":"tsd-kind-enum tsd-parent-kind-external-module","parent":"\"filepicker\""},{"id":2,"kind":16,"name":"Choose","url":"enums/_filepicker_.filepickertype.html#choose","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"\"filepicker\".FilePickerType"},{"id":3,"kind":16,"name":"Move","url":"enums/_filepicker_.filepickertype.html#move","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"\"filepicker\".FilePickerType"},{"id":4,"kind":16,"name":"Copy","url":"enums/_filepicker_.filepickertype.html#copy","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"\"filepicker\".FilePickerType"},{"id":5,"kind":16,"name":"CopyMove","url":"enums/_filepicker_.filepickertype.html#copymove","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"\"filepicker\".FilePickerType"},{"id":6,"kind":128,"name":"FilePicker","url":"classes/_filepicker_.filepicker.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"filepicker\""},{"id":7,"kind":1024,"name":"title","url":"classes/_filepicker_.filepicker.html#title","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePicker"},{"id":8,"kind":1024,"name":"multiSelect","url":"classes/_filepicker_.filepicker.html#multiselect","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePicker"},{"id":9,"kind":1024,"name":"mimeTypeFiler","url":"classes/_filepicker_.filepicker.html#mimetypefiler","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePicker"},{"id":10,"kind":1024,"name":"modal","url":"classes/_filepicker_.filepicker.html#modal","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePicker"},{"id":11,"kind":1024,"name":"type","url":"classes/_filepicker_.filepicker.html#type","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePicker"},{"id":12,"kind":1024,"name":"directoriesAllowed","url":"classes/_filepicker_.filepicker.html#directoriesallowed","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePicker"},{"id":13,"kind":1024,"name":"path","url":"classes/_filepicker_.filepicker.html#path","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePicker"},{"id":14,"kind":512,"name":"constructor","url":"classes/_filepicker_.filepicker.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"filepicker\".FilePicker"},{"id":15,"kind":2048,"name":"pick","url":"classes/_filepicker_.filepicker.html#pick","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"filepicker\".FilePicker"},{"id":16,"kind":128,"name":"FilePickerBuilder","url":"classes/_filepicker_.filepickerbuilder.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"filepicker\""},{"id":17,"kind":1024,"name":"title","url":"classes/_filepicker_.filepickerbuilder.html#title","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePickerBuilder"},{"id":18,"kind":1024,"name":"multiSelect","url":"classes/_filepicker_.filepickerbuilder.html#multiselect","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePickerBuilder"},{"id":19,"kind":1024,"name":"mimeTypeFiler","url":"classes/_filepicker_.filepickerbuilder.html#mimetypefiler","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePickerBuilder"},{"id":20,"kind":1024,"name":"modal","url":"classes/_filepicker_.filepickerbuilder.html#modal","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePickerBuilder"},{"id":21,"kind":1024,"name":"type","url":"classes/_filepicker_.filepickerbuilder.html#type","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePickerBuilder"},{"id":22,"kind":1024,"name":"directoriesAllowed","url":"classes/_filepicker_.filepickerbuilder.html#directoriesallowed","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePickerBuilder"},{"id":23,"kind":1024,"name":"path","url":"classes/_filepicker_.filepickerbuilder.html#path","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePickerBuilder"},{"id":24,"kind":512,"name":"constructor","url":"classes/_filepicker_.filepickerbuilder.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"filepicker\".FilePickerBuilder"},{"id":25,"kind":2048,"name":"setMultiSelect","url":"classes/_filepicker_.filepickerbuilder.html#setmultiselect","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"filepicker\".FilePickerBuilder"},{"id":26,"kind":2048,"name":"addMimeTypeFilter","url":"classes/_filepicker_.filepickerbuilder.html#addmimetypefilter","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"filepicker\".FilePickerBuilder"},{"id":27,"kind":2048,"name":"setMimeTypeFilter","url":"classes/_filepicker_.filepickerbuilder.html#setmimetypefilter","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"filepicker\".FilePickerBuilder"},{"id":28,"kind":2048,"name":"setModal","url":"classes/_filepicker_.filepickerbuilder.html#setmodal","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"filepicker\".FilePickerBuilder"},{"id":29,"kind":2048,"name":"setType","url":"classes/_filepicker_.filepickerbuilder.html#settype","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"filepicker\".FilePickerBuilder"},{"id":30,"kind":2048,"name":"allowDirectories","url":"classes/_filepicker_.filepickerbuilder.html#allowdirectories","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"filepicker\".FilePickerBuilder"},{"id":31,"kind":2048,"name":"startAt","url":"classes/_filepicker_.filepickerbuilder.html#startat","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"filepicker\".FilePickerBuilder"},{"id":32,"kind":2048,"name":"build","url":"classes/_filepicker_.filepickerbuilder.html#build","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"filepicker\".FilePickerBuilder"},{"id":33,"kind":32,"name":"OC","url":"modules/_filepicker_.html#oc","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"filepicker\""},{"id":34,"kind":64,"name":"getFilePickerBuilder","url":"modules/_filepicker_.html#getfilepickerbuilder","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"filepicker\""},{"id":35,"kind":1,"name":"\"index\"","url":"modules/_index_.html","classes":"tsd-kind-external-module"}]};
typedoc.search.data = {"kinds":{"1":"External module","2":"Module","4":"Enumeration","16":"Enumeration member","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","16777216":"Reference"},"rows":[{"id":0,"kind":1,"name":"\"filepicker\"","url":"modules/_filepicker_.html","classes":"tsd-kind-external-module"},{"id":1,"kind":4,"name":"FilePickerType","url":"enums/_filepicker_.filepickertype.html","classes":"tsd-kind-enum tsd-parent-kind-external-module","parent":"\"filepicker\""},{"id":2,"kind":16,"name":"Choose","url":"enums/_filepicker_.filepickertype.html#choose","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"\"filepicker\".FilePickerType"},{"id":3,"kind":16,"name":"Move","url":"enums/_filepicker_.filepickertype.html#move","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"\"filepicker\".FilePickerType"},{"id":4,"kind":16,"name":"Copy","url":"enums/_filepicker_.filepickertype.html#copy","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"\"filepicker\".FilePickerType"},{"id":5,"kind":16,"name":"CopyMove","url":"enums/_filepicker_.filepickertype.html#copymove","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"\"filepicker\".FilePickerType"},{"id":6,"kind":128,"name":"FilePicker","url":"classes/_filepicker_.filepicker.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"filepicker\""},{"id":7,"kind":1024,"name":"title","url":"classes/_filepicker_.filepicker.html#title","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePicker"},{"id":8,"kind":1024,"name":"multiSelect","url":"classes/_filepicker_.filepicker.html#multiselect","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePicker"},{"id":9,"kind":1024,"name":"mimeTypeFiler","url":"classes/_filepicker_.filepicker.html#mimetypefiler","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePicker"},{"id":10,"kind":1024,"name":"modal","url":"classes/_filepicker_.filepicker.html#modal","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePicker"},{"id":11,"kind":1024,"name":"type","url":"classes/_filepicker_.filepicker.html#type","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePicker"},{"id":12,"kind":1024,"name":"directoriesAllowed","url":"classes/_filepicker_.filepicker.html#directoriesallowed","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePicker"},{"id":13,"kind":1024,"name":"path","url":"classes/_filepicker_.filepicker.html#path","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePicker"},{"id":14,"kind":512,"name":"constructor","url":"classes/_filepicker_.filepicker.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"filepicker\".FilePicker"},{"id":15,"kind":2048,"name":"pick","url":"classes/_filepicker_.filepicker.html#pick","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"filepicker\".FilePicker"},{"id":16,"kind":128,"name":"FilePickerBuilder","url":"classes/_filepicker_.filepickerbuilder.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"filepicker\""},{"id":17,"kind":1024,"name":"title","url":"classes/_filepicker_.filepickerbuilder.html#title","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePickerBuilder"},{"id":18,"kind":1024,"name":"multiSelect","url":"classes/_filepicker_.filepickerbuilder.html#multiselect","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePickerBuilder"},{"id":19,"kind":1024,"name":"mimeTypeFiler","url":"classes/_filepicker_.filepickerbuilder.html#mimetypefiler","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePickerBuilder"},{"id":20,"kind":1024,"name":"modal","url":"classes/_filepicker_.filepickerbuilder.html#modal","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePickerBuilder"},{"id":21,"kind":1024,"name":"type","url":"classes/_filepicker_.filepickerbuilder.html#type","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePickerBuilder"},{"id":22,"kind":1024,"name":"directoriesAllowed","url":"classes/_filepicker_.filepickerbuilder.html#directoriesallowed","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePickerBuilder"},{"id":23,"kind":1024,"name":"path","url":"classes/_filepicker_.filepickerbuilder.html#path","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"filepicker\".FilePickerBuilder"},{"id":24,"kind":512,"name":"constructor","url":"classes/_filepicker_.filepickerbuilder.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"filepicker\".FilePickerBuilder"},{"id":25,"kind":2048,"name":"setMultiSelect","url":"classes/_filepicker_.filepickerbuilder.html#setmultiselect","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"filepicker\".FilePickerBuilder"},{"id":26,"kind":2048,"name":"addMimeTypeFilter","url":"classes/_filepicker_.filepickerbuilder.html#addmimetypefilter","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"filepicker\".FilePickerBuilder"},{"id":27,"kind":2048,"name":"setMimeTypeFilter","url":"classes/_filepicker_.filepickerbuilder.html#setmimetypefilter","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"filepicker\".FilePickerBuilder"},{"id":28,"kind":2048,"name":"setModal","url":"classes/_filepicker_.filepickerbuilder.html#setmodal","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"filepicker\".FilePickerBuilder"},{"id":29,"kind":2048,"name":"setType","url":"classes/_filepicker_.filepickerbuilder.html#settype","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"filepicker\".FilePickerBuilder"},{"id":30,"kind":2048,"name":"allowDirectories","url":"classes/_filepicker_.filepickerbuilder.html#allowdirectories","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"filepicker\".FilePickerBuilder"},{"id":31,"kind":2048,"name":"startAt","url":"classes/_filepicker_.filepickerbuilder.html#startat","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"filepicker\".FilePickerBuilder"},{"id":32,"kind":2048,"name":"build","url":"classes/_filepicker_.filepickerbuilder.html#build","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"filepicker\".FilePickerBuilder"},{"id":33,"kind":32,"name":"OC","url":"modules/_filepicker_.html#oc","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"filepicker\""},{"id":34,"kind":64,"name":"getFilePickerBuilder","url":"modules/_filepicker_.html#getfilepickerbuilder","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"filepicker\""},{"id":35,"kind":1,"name":"\"toast\"","url":"modules/_toast_.html","classes":"tsd-kind-external-module"},{"id":36,"kind":128,"name":"ToastType","url":"classes/_toast_.toasttype.html","classes":"tsd-kind-class tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"toast\""},{"id":37,"kind":1024,"name":"ERROR","url":"classes/_toast_.toasttype.html#error","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-not-exported","parent":"\"toast\".ToastType"},{"id":38,"kind":1024,"name":"WARNING","url":"classes/_toast_.toasttype.html#warning","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-not-exported","parent":"\"toast\".ToastType"},{"id":39,"kind":1024,"name":"INFO","url":"classes/_toast_.toasttype.html#info","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-not-exported","parent":"\"toast\".ToastType"},{"id":40,"kind":1024,"name":"SUCCESS","url":"classes/_toast_.toasttype.html#success","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-not-exported","parent":"\"toast\".ToastType"},{"id":41,"kind":1024,"name":"PERMANENT","url":"classes/_toast_.toasttype.html#permanent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static tsd-is-not-exported","parent":"\"toast\".ToastType"},{"id":42,"kind":256,"name":"ToastOptions","url":"interfaces/_toast_.toastoptions.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"toast\""},{"id":43,"kind":1024,"name":"timeout","url":"interfaces/_toast_.toastoptions.html#timeout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toast\".ToastOptions"},{"id":44,"kind":1024,"name":"isHTML","url":"interfaces/_toast_.toastoptions.html#ishtml","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toast\".ToastOptions"},{"id":45,"kind":1024,"name":"type","url":"interfaces/_toast_.toastoptions.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toast\".ToastOptions"},{"id":46,"kind":1024,"name":"onShow","url":"interfaces/_toast_.toastoptions.html#onshow","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toast\".ToastOptions"},{"id":47,"kind":1024,"name":"onClick","url":"interfaces/_toast_.toastoptions.html#onclick","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toast\".ToastOptions"},{"id":48,"kind":1024,"name":"close","url":"interfaces/_toast_.toastoptions.html#close","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toast\".ToastOptions"},{"id":49,"kind":64,"name":"showMessage","url":"modules/_toast_.html#showmessage","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"toast\""},{"id":50,"kind":64,"name":"showError","url":"modules/_toast_.html#showerror","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"toast\""},{"id":51,"kind":64,"name":"showWarning","url":"modules/_toast_.html#showwarning","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"toast\""},{"id":52,"kind":64,"name":"showInfo","url":"modules/_toast_.html#showinfo","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"toast\""},{"id":53,"kind":64,"name":"showSuccess","url":"modules/_toast_.html#showsuccess","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"toast\""},{"id":54,"kind":1,"name":"\"index\"","url":"modules/_index_.html","classes":"tsd-kind-external-module"},{"id":55,"kind":16777216,"name":"FilePicker","url":"modules/_index_.html#filepicker","classes":"tsd-kind-reference tsd-parent-kind-external-module","parent":"\"index\""},{"id":56,"kind":16777216,"name":"FilePickerBuilder","url":"modules/_index_.html#filepickerbuilder","classes":"tsd-kind-reference tsd-parent-kind-external-module","parent":"\"index\""},{"id":57,"kind":16777216,"name":"getFilePickerBuilder","url":"modules/_index_.html#getfilepickerbuilder","classes":"tsd-kind-reference tsd-parent-kind-external-module","parent":"\"index\""},{"id":58,"kind":16777216,"name":"showMessage","url":"modules/_index_.html#showmessage","classes":"tsd-kind-reference tsd-parent-kind-external-module","parent":"\"index\""},{"id":59,"kind":16777216,"name":"showSuccess","url":"modules/_index_.html#showsuccess","classes":"tsd-kind-reference tsd-parent-kind-external-module","parent":"\"index\""},{"id":60,"kind":16777216,"name":"showWarning","url":"modules/_index_.html#showwarning","classes":"tsd-kind-reference tsd-parent-kind-external-module","parent":"\"index\""},{"id":61,"kind":16777216,"name":"showInfo","url":"modules/_index_.html#showinfo","classes":"tsd-kind-reference tsd-parent-kind-external-module","parent":"\"index\""},{"id":62,"kind":16777216,"name":"showError","url":"modules/_index_.html#showerror","classes":"tsd-kind-reference tsd-parent-kind-external-module","parent":"\"index\""},{"id":63,"kind":1,"name":"\"toastify.d\"","url":"modules/_toastify_d_.html","classes":"tsd-kind-external-module"},{"id":64,"kind":256,"name":"Toast","url":"interfaces/_toastify_d_.toast.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"toastify.d\""},{"id":65,"kind":1024,"name":"toastElement","url":"interfaces/_toastify_d_.toast.html#toastelement","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toastify.d\".Toast"},{"id":66,"kind":2048,"name":"showToast","url":"interfaces/_toastify_d_.toast.html#showtoast","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"toastify.d\".Toast"},{"id":67,"kind":2048,"name":"hideToast","url":"interfaces/_toastify_d_.toast.html#hidetoast","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"toastify.d\".Toast"},{"id":68,"kind":256,"name":"ToastElement","url":"interfaces/_toastify_d_.toastelement.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"toastify.d\""},{"id":69,"kind":1024,"name":"toastify","url":"interfaces/_toastify_d_.toastelement.html#toastify","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toastify.d\".ToastElement"},{"id":70,"kind":2,"name":"\"toastify-js\"","url":"modules/_toastify_d_._toastify_js_.html","classes":"tsd-kind-module tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"toastify.d\""},{"id":71,"kind":256,"name":"ToastifyOptions","url":"interfaces/_toastify_d_._toastify_js_.toastifyoptions.html","classes":"tsd-kind-interface tsd-parent-kind-module","parent":"\"toastify.d\".\"toastify-js\""},{"id":72,"kind":1024,"name":"text","url":"interfaces/_toastify_d_._toastify_js_.toastifyoptions.html#text","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toastify.d\".\"toastify-js\".ToastifyOptions"},{"id":73,"kind":1024,"name":"duration","url":"interfaces/_toastify_d_._toastify_js_.toastifyoptions.html#duration","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toastify.d\".\"toastify-js\".ToastifyOptions"},{"id":74,"kind":1024,"name":"destination","url":"interfaces/_toastify_d_._toastify_js_.toastifyoptions.html#destination","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toastify.d\".\"toastify-js\".ToastifyOptions"},{"id":75,"kind":1024,"name":"newWindow","url":"interfaces/_toastify_d_._toastify_js_.toastifyoptions.html#newwindow","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toastify.d\".\"toastify-js\".ToastifyOptions"},{"id":76,"kind":1024,"name":"close","url":"interfaces/_toastify_d_._toastify_js_.toastifyoptions.html#close","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toastify.d\".\"toastify-js\".ToastifyOptions"},{"id":77,"kind":1024,"name":"gravity","url":"interfaces/_toastify_d_._toastify_js_.toastifyoptions.html#gravity","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toastify.d\".\"toastify-js\".ToastifyOptions"},{"id":78,"kind":1024,"name":"selector","url":"interfaces/_toastify_d_._toastify_js_.toastifyoptions.html#selector","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toastify.d\".\"toastify-js\".ToastifyOptions"},{"id":79,"kind":1024,"name":"positionLeft","url":"interfaces/_toastify_d_._toastify_js_.toastifyoptions.html#positionleft","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toastify.d\".\"toastify-js\".ToastifyOptions"},{"id":80,"kind":1024,"name":"position","url":"interfaces/_toastify_d_._toastify_js_.toastifyoptions.html#position","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toastify.d\".\"toastify-js\".ToastifyOptions"},{"id":81,"kind":1024,"name":"avatar","url":"interfaces/_toastify_d_._toastify_js_.toastifyoptions.html#avatar","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toastify.d\".\"toastify-js\".ToastifyOptions"},{"id":82,"kind":1024,"name":"backgroundColor","url":"interfaces/_toastify_d_._toastify_js_.toastifyoptions.html#backgroundcolor","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toastify.d\".\"toastify-js\".ToastifyOptions"},{"id":83,"kind":1024,"name":"className","url":"interfaces/_toastify_d_._toastify_js_.toastifyoptions.html#classname","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toastify.d\".\"toastify-js\".ToastifyOptions"},{"id":84,"kind":1024,"name":"stopOnFocus","url":"interfaces/_toastify_d_._toastify_js_.toastifyoptions.html#stoponfocus","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toastify.d\".\"toastify-js\".ToastifyOptions"},{"id":85,"kind":1024,"name":"callback","url":"interfaces/_toastify_d_._toastify_js_.toastifyoptions.html#callback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toastify.d\".\"toastify-js\".ToastifyOptions"},{"id":86,"kind":1024,"name":"onClick","url":"interfaces/_toastify_d_._toastify_js_.toastifyoptions.html#onclick","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"toastify.d\".\"toastify-js\".ToastifyOptions"},{"id":87,"kind":64,"name":"Toastify","url":"modules/_toastify_d_._toastify_js_.html#toastify","classes":"tsd-kind-function tsd-parent-kind-module","parent":"\"toastify.d\".\"toastify-js\""}]};
export { FilePicker, FilePickerBuilder, getFilePickerBuilder } from './filepicker';
export { showMessage, showSuccess, showWarning, showInfo, showError } from './toast';

@@ -24,4 +24,36 @@ "use strict";

});
Object.defineProperty(exports, "showMessage", {
enumerable: true,
get: function get() {
return _toast.showMessage;
}
});
Object.defineProperty(exports, "showSuccess", {
enumerable: true,
get: function get() {
return _toast.showSuccess;
}
});
Object.defineProperty(exports, "showWarning", {
enumerable: true,
get: function get() {
return _toast.showWarning;
}
});
Object.defineProperty(exports, "showInfo", {
enumerable: true,
get: function get() {
return _toast.showInfo;
}
});
Object.defineProperty(exports, "showError", {
enumerable: true,
get: function get() {
return _toast.showError;
}
});
var _filepicker = require("./filepicker");
var _toast = require("./toast");
//# sourceMappingURL=index.js.map
export { FilePicker, FilePickerBuilder, getFilePickerBuilder } from './filepicker'
export { showMessage, showSuccess, showWarning, showInfo, showError } from './toast'
{
"name": "@nextcloud/dialogs",
"version": "1.0.0",
"version": "1.1.0",
"description": "",

@@ -9,3 +9,3 @@ "main": "dist/index.js",

"build": "babel ./lib --out-dir dist --extensions '.ts,.tsx' --source-maps && tsc --emitDeclarationOnly",
"build:doc": "typedoc --out dist/doc lib && touch dist/doc/.nojekyll",
"build:doc": "typedoc --includeDeclarations --excludeExternals --out dist/doc lib && touch dist/doc/.nojekyll",
"check-types": "tsc",

@@ -26,14 +26,15 @@ "dev": "babel ./lib --out-dir dist --extensions '.ts,.tsx' --watch",

"dependencies": {
"core-js": "3.5.0"
"core-js": "3.6.4",
"toastify-js": "^1.6.2"
},
"devDependencies": {
"@babel/cli": "7.7.5",
"@babel/core": "7.7.5",
"@babel/preset-env": "7.7.6",
"@babel/preset-typescript": "7.7.4",
"@babel/cli": "7.8.4",
"@babel/core": "7.8.4",
"@babel/preset-env": "7.8.4",
"@babel/preset-typescript": "7.8.3",
"@nextcloud/browserslist-config": "^1.0.0",
"@nextcloud/typings": "^0.1.4",
"babel-plugin-transform-class-properties": "6.24.1",
"typedoc": "^0.15.5",
"typescript": "3.7.3"
"typedoc": "^0.16.7",
"typescript": "3.7.5"
},

@@ -40,0 +41,0 @@ "browserslist": [

# @nextcloud/dialogs
Nextcloud dialog helpers
## Installation
```
npm i -S @nextcloud/dialogs
```
## Usage
### Toasts
```js
import { showMessage, showInfo, showSuccess, showWarning, showError } from '@nextcloud/dialogs'
import '@nextcloud/dialogs/styles/toast'
```
Make sure that the `@nextcloud/dialogs/styles/toast` file is included in your app to make sure that the toasts have a proper styling applied.
There are different toast styles available, that are exposed in separate functions:
```
showMessage('Message without a specific styling')
showInfo('Information')
showSuccess('Success')
showWarning('Warning')
showError('Error')
```
There are several options that can be passed in as a second parameter, like the timeout of a toast:
```
showError('This is an error shown without a timeout', { timeout: 0 })
```
A full list of available options can be found in the documentation.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc