{"_id":"b-dialogs","_rev":"2-6fc66c350f5b6319c67a028a5f32378e","name":"b-dialogs","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"b-dialogs","version":"1.0.0","description":"A bootstrap plugin to generate dialogs easily","main":"webpack.config.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"webpack --mode production"},"repository":{"type":"git","url":"git+https://github.com/Vusumzi123/b-dialogs.js.git"},"keywords":["Bootstrap","4","Dialog","modals","jquery"],"author":{"name":"Vusuzmi123"},"license":"MIT","bugs":{"url":"https://github.com/Vusumzi123/b-dialogs.js/issues"},"homepage":"https://github.com/Vusumzi123/b-dialogs.js#readme","dependencies":{"bootstrap":"^4.3.1","html-webpack-plugin":"^3.2.0","jquery":"^3.4.1","path":"^0.12.7"},"devDependencies":{"@babel/core":"^7.5.5","@babel/plugin-proposal-object-rest-spread":"^7.5.5","@babel/preset-env":"^7.5.5","babel-loader":"^8.0.6","webpack":"^4.39.1","webpack-cli":"^3.3.6"},"gitHead":"337b4b9ae599d618bd5268d0ac824f5f94f6f24f","_id":"b-dialogs@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"vusumzi","email":"vusumzibelmontit@gmail.com"},"dist":{"integrity":"sha512-njKk4+a7kiG5xwi4mkVf02HrSPdVl7TU7jdwmF3HMKGf46Ieql3eNEvWkFhlzHwGLEQvKOtgshjtwhnwYn0arw==","shasum":"52e9dfb12f23a729bdd717e69b3dfdb35755928e","tarball":"https://registry.npmjs.org/b-dialogs/-/b-dialogs-1.0.0.tgz","fileCount":14,"unpackedSize":30677,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdR7HYCRA9TVsSAnZWagAAqokP/2iRI3oolDVGq9kcWsCb\nQtdJc854pZaYYyPH1EFJQqxH14CV+U7diaq893wAlSXkRFigNzItcSiN9Eg6\nj5F+FONCGWcHb6ThBi/jDgrNDCxOAKzUe+NBuoJY3H/bsbr5sLbTgh8rvhvU\nUeLx0BV1rolIv64tRVER2G8Ust+sgAOkIaKThqJOJCupDJadrlW5QWChCyye\nZ6xzKnY+4WGb38gYYotDrz1ZR8x+iVUKK1koJolrbkXIFuRTFdL5xnJ/IpkF\nGymBtPh2IrHQjE6UWEnUYLE8UwDWKwJVCv2gGyouVfd1eCviqZKKDi/8Gioy\nFHx+KCSLrUetXgN9QrDK8skNqXul4YqahMiUFi1YPpQgiHBl9OrOJAI7cK4X\n05oK123/ByDzZghY30KldaFGQR+FLmDedsf/pArH0DJyzZ7cVhFyaNoIvYe1\nGh9L8hccwc1UJocOGb9TQlUxdNqPj/rxtPLTF4me4qckWRiWg2MWzt6Dr3tE\ncvtRniwyxWWFH1oYqB3SxRjMSmNh3gC641ukMRPLa5KgqUuSvZgQ+hRz3eKD\nllaM9UFwdIO5EPjXpFDbKnJVvryHQVWqgWVJk7j6PArgDEG+lvUkKFpavm7A\nxYYq+podbE6yjafUH3MBKoo25VgHneKOHvSL7qR/m9mPKwWm62czhvlmi/iy\noEK3\r\n=p5aL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE63WGd6NruM1HjdpkGblJ7rdsYByBW9qXmH3xZ1yzGNAiABVGhVnIrfeSyn4xtR0fHorpIEmjWAOD/1UokCyAXNSg=="}]},"maintainers":[{"name":"vusumzi","email":"vusumzibelmontit@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b-dialogs_1.0.0_1564979672099_0.706571565547681"},"_hasShrinkwrap":false},"1.1.0":{"name":"b-dialogs","version":"1.1.0","description":"A bootstrap plugin to generate dialogs easily","main":"webpack.config.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"webpack --mode production"},"repository":{"type":"git","url":"git+https://github.com/Vusumzi123/b-dialogs.js.git"},"keywords":["Bootstrap","4","Dialog","modals","jquery"],"author":{"name":"Vusuzmi123"},"license":"MIT","bugs":{"url":"https://github.com/Vusumzi123/b-dialogs.js/issues"},"homepage":"https://github.com/Vusumzi123/b-dialogs.js#readme","dependencies":{"bootstrap":"^4.3.1","html-webpack-plugin":"^3.2.0","jquery":"^3.4.1","path":"^0.12.7"},"devDependencies":{"@babel/core":"^7.5.5","@babel/plugin-proposal-object-rest-spread":"^7.5.5","@babel/preset-env":"^7.5.5","babel-loader":"^8.0.6","webpack":"^4.39.1","webpack-cli":"^3.3.6"},"gitHead":"5205622f95bcd4396575266e49535d7602abf96e","_id":"b-dialogs@1.1.0","_nodeVersion":"10.15.1","_npmVersion":"6.10.0","dist":{"integrity":"sha512-hu6fz9LZQK1MAJNqhHzNLCgktCkK4SoCVUf6vF8f+F4WXdUwAhdP3D8TeI0QqWBu3WPeOJyXZspmHmQ+romzbw==","shasum":"a5cedfdef6c1de6d840d68d9c5f0d51c32f47b88","tarball":"https://registry.npmjs.org/b-dialogs/-/b-dialogs-1.1.0.tgz","fileCount":14,"unpackedSize":32263,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSJFMCRA9TVsSAnZWagAAp0UP/iO2Zpiqo9Zq8DuruaAy\nCMu/YuwDpjanUP13FhJruUy/HI0W7YPpHlFn6iSmqYUCSkdOJUnuQ8XyQtpT\nOTk4+AlMJcOSkHPxfoJmSb9HbMLwM3nAsqJTnaOEfHh/ivADE3GGmozlvLiu\nzkuVriTXmwl+1yxm00b/ARsBtjYd62/raDDGrXfP4V4b/xDYbkbtNbd6HJP7\n27Le6mTVTY0t14Fk473LKJfJbv0f9ObyMfoiS4KAcAWUUizKFtImSfdsLo8F\nR0AUDa5gfpYUvnwJOKu8t4tNdiXRDbCuvkTTTrxt26znq+iEYNZuGk/TCjQl\nr3iobycjUKln/Bk7sxXgGrrEEafwQ7IRhtlaEneuJs0yT7tPA9Rm9Umj/l/0\nbrrYlGlGWh6q3srR/Sxu1VD7uG+NE8C2E61QWXfX6SDkjHxZBwj7Y2yvGtwI\nftLBvjRF0OszJ/qJOikr/q2L+cu9EFvbBwDYp3UrQNZppXv9haOG/WVo6S7o\nj7szMzJBh5PuVhf4wgvTab2MGkM7hg6/M6gEK5fxoi+m3CnyOZd4yE1AYz6C\n/L3YiVRllRojxIBKk3mA/lxQYnH4CWVaW6Lf0JJDH8Rnz+wgo6zVZ8VNhHNJ\nuZ9Cj3O/ttn5Sfg/2J+wJgsjYha9Ttawlwg39McclbM2Zg97Q82bu0ofjVCO\np3f3\r\n=GHvH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGgb9ayvgIZsh/LOwFhvT7ooTg4RnvExropwVA3gCrjrAiAcrfgtS2g5NP19hzmbh6KRhKPCO27R9U/IyE6T4fesIQ=="}]},"maintainers":[{"name":"vusumzi","email":"vusumzibelmontit@gmail.com"}],"_npmUser":{"name":"vusumzi","email":"vusumzibelmontit@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b-dialogs_1.1.0_1565036875906_0.3103588757733635"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-05T04:34:31.881Z","1.0.0":"2019-08-05T04:34:32.247Z","modified":"2022-04-11T16:31:58.030Z","1.1.0":"2019-08-05T20:27:56.044Z"},"maintainers":[{"name":"vusumzi","email":"vusumzibelmontit@gmail.com"}],"description":"A bootstrap plugin to generate dialogs easily","homepage":"https://github.com/Vusumzi123/b-dialogs.js#readme","keywords":["Bootstrap","4","Dialog","modals","jquery"],"repository":{"type":"git","url":"git+https://github.com/Vusumzi123/b-dialogs.js.git"},"author":{"name":"Vusuzmi123"},"bugs":{"url":"https://github.com/Vusumzi123/b-dialogs.js/issues"},"license":"MIT","readme":"# b-dialogs.js\r\nbootstrap plugin to generate dialogs easily\r\n\r\n## Get Started\r\nyou just need to add as a dependency in your web page, like this:\r\n\r\n```html\r\n<script src=\"https://cdn.jsdelivr.net/gh/Vusumzi123/b-dialogs.js@master/dist/b-dialog.min.js\"></script>\r\n```\r\n* just add it after bootstrap and jquery\r\n\r\nto use just call the object with the dislog method like this:\r\n\r\n```js\r\n$notifications.dialog()\r\n```\r\n\r\nit will show the default dialog template\r\n\r\n##Basic Usage\r\nto customize add an object to the parameter of the dialog function with the properties: tittle and body\r\nthey are both strings and can have html sintax\r\nlike this:\r\n\r\n```js\r\n  $notification.dialog({\r\n    tittle: \"A title:\",\r\n    body: \"<h1>This is an HTML body example </h1>\"\r\n  });\r\n```\r\n\r\nthat will generate a dialog with the text yo inserted into the onject's parameters\r\n\r\nTo add functionality to the buttons you jus need to use the then() and catch() methods, both receive a function as parameter.\r\n\r\n## Advanced usage\r\n\r\n//TODO\r\n","readmeFilename":"README.md"}