feat(dependencies): tambahkan editor gambar Filerobot
- Menambahkan paket `filerobot-image-editor` ke dalam `package.json`. - Mengimpor `FilerobotImageEditor` di `app.js` untuk digunakan dalam aplikasi.
This commit is contained in:
parent
6a2fcd6bf8
commit
d555d62f99
@ -23,11 +23,13 @@
|
|||||||
"clipboard": "^2.0.11",
|
"clipboard": "^2.0.11",
|
||||||
"esri-leaflet": "^3.0.12",
|
"esri-leaflet": "^3.0.12",
|
||||||
"esri-leaflet-geocoder": "^3.1.5",
|
"esri-leaflet-geocoder": "^3.1.5",
|
||||||
|
"filerobot-image-editor": "^4.8.1",
|
||||||
"imask": "^7.6.1",
|
"imask": "^7.6.1",
|
||||||
"jquery": "^3.7.1",
|
"jquery": "^3.7.1",
|
||||||
"mini-svg-data-uri": "^1.4.4",
|
"mini-svg-data-uri": "^1.4.4",
|
||||||
"notie": "^4.3.1",
|
"notie": "^4.3.1",
|
||||||
"pdfobject": "^2.3.0",
|
"pdfobject": "^2.3.0",
|
||||||
|
"react-filerobot-image-editor": "^4.9.1",
|
||||||
"sweetalert2": "^11.14.3",
|
"sweetalert2": "^11.14.3",
|
||||||
"toastr": "^2.1.4",
|
"toastr": "^2.1.4",
|
||||||
"tom-select": "^2.3.1"
|
"tom-select": "^2.3.1"
|
||||||
|
@ -7,6 +7,7 @@ import TomSelect from "tom-select";
|
|||||||
import toast from "toastr";
|
import toast from "toastr";
|
||||||
import "toastr/build/toastr.css";
|
import "toastr/build/toastr.css";
|
||||||
import IMask from "imask";
|
import IMask from "imask";
|
||||||
|
import FilerobotImageEditor from "filerobot-image-editor";
|
||||||
|
|
||||||
window.jQuery = $;
|
window.jQuery = $;
|
||||||
window.$ = $;
|
window.$ = $;
|
||||||
@ -15,6 +16,7 @@ window.Swal = Swal;
|
|||||||
window.swal = Swal;
|
window.swal = Swal;
|
||||||
|
|
||||||
window.IMask = IMask;
|
window.IMask = IMask;
|
||||||
|
window.FilerobotImageEditor = FilerobotImageEditor;
|
||||||
|
|
||||||
document.querySelectorAll(".tomselect").forEach((el) => {
|
document.querySelectorAll(".tomselect").forEach((el) => {
|
||||||
let settings = {
|
let settings = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user