Updated .env

This commit is contained in:
m.razaghi
2026-08-20 18:17:56 +03:30
parent 0771bb16f2
commit 2b5d218f42
20 changed files with 1448 additions and 1448 deletions

View File

@@ -68,9 +68,9 @@ function () {
_createClass(Emitter, [{
key: "on",
// Add an event listener for given event
// Add an Events listener for given Events
value: function on(event, fn) {
this._callbacks = this._callbacks || {}; // Create namespace for this event
this._callbacks = this._callbacks || {}; // Create namespace for this Events
if (!this._callbacks[event]) {
this._callbacks[event] = [];
@@ -117,9 +117,9 @@ function () {
}
return this;
} // Remove event listener for given event. If fn is not provided, all event
// listeners for that event will be removed. If neither is provided, all
// event listeners will be removed.
} // Remove Events listener for given Events. If fn is not provided, all Events
// listeners for that Events will be removed. If neither is provided, all
// Events listeners will be removed.
}, {
key: "off",
@@ -127,7 +127,7 @@ function () {
if (!this._callbacks || arguments.length === 0) {
this._callbacks = {};
return this;
} // specific event
} // specific Events
var callbacks = this._callbacks[event];
@@ -171,7 +171,7 @@ function (_Emitter) {
this.prototype.Emitter = Emitter;
/*
This is a list of all available events you can register on a dropzone object.
You can register an event handler like this:
You can register an Events handler like this:
dropzone.on("dragEnter", function() { });
*/
@@ -253,7 +253,7 @@ function (_Emitter) {
/**
* If not `null` defines how many files this Dropzone handles. If it exceeds,
* the event `maxfilesexceeded` will be called. The dropzone element gets the
* the Events `maxfilesexceeded` will be called. The dropzone element gets the
* class `dz-max-files-reached` accordingly so you can provide visual feedback.
*/
maxFilesize: 256,
@@ -528,7 +528,7 @@ function (_Emitter) {
/**
* Called when dropzone initialized
* You can add event listeners here
* You can add Events listeners here
*/
init: function init() {},
@@ -739,7 +739,7 @@ function (_Emitter) {
the user interface specific stuff. Overwriting them won't break the upload
but can break the way it's displayed.
You can overwrite them if you don't like the default behavior. If you just
want to add an additional event handler, register it on the dropzone object
want to add an additional Events handler, register it on the dropzone object
and don't overwrite those options.
*/
// Those are self explanatory and simply concern the DragnDrop.
@@ -1214,7 +1214,7 @@ function (_Emitter) {
return file;
});
} // The function that gets called when Dropzone is initialized. You
// can (and should) setup event listeners inside this function.
// can (and should) setup Events listeners inside this function.
}, {
key: "init",
@@ -1302,7 +1302,7 @@ function (_Emitter) {
setupHiddenFileInput();
}
this.URL = window.URL !== null ? window.URL : window.webkitURL; // Setup all event listeners on the Dropzone object itself.
this.URL = window.URL !== null ? window.URL : window.webkitURL; // Setup all Events listeners on the Dropzone object itself.
// They're not in @setupEventListeners() because they shouldn't be removed
// again when the dropzone gets disabled.
@@ -1338,7 +1338,7 @@ function (_Emitter) {
});
this.on("canceled", function (file) {
return _this3.emit("complete", file);
}); // Emit a `queuecomplete` event if all files finished uploading.
}); // Emit a `queuecomplete` Events if all files finished uploading.
this.on("complete", function (file) {
if (_this3.getAddedFiles().length === 0 && _this3.getUploadingFiles().length === 0 && _this3.getQueuedFiles().length === 0) {
@@ -1617,7 +1617,7 @@ function (_Emitter) {
return result;
}();
});
} // Removes all event listeners and cancels all files in the queue or being processed.
} // Removes all Events listeners and cancels all files in the queue or being processed.
}, {
key: "disable",
@@ -2122,7 +2122,7 @@ function (_Emitter) {
fileReader.readAsDataURL(file);
} // `mockFile` needs to have these attributes:
//
//
// { name: 'name', size: 12345, imageUrl: '' }
//
// `callback` will be invoked when the image has been downloaded and displayed.
@@ -3842,4 +3842,4 @@ function __guardMethod__(obj, methodName, transform) {
}
return module.exports;
}));
}));

View File

@@ -56,9 +56,9 @@ function () {
_createClass(Emitter, [{
key: "on",
// Add an event listener for given event
// Add an Events listener for given Events
value: function on(event, fn) {
this._callbacks = this._callbacks || {}; // Create namespace for this event
this._callbacks = this._callbacks || {}; // Create namespace for this Events
if (!this._callbacks[event]) {
this._callbacks[event] = [];
@@ -105,9 +105,9 @@ function () {
}
return this;
} // Remove event listener for given event. If fn is not provided, all event
// listeners for that event will be removed. If neither is provided, all
// event listeners will be removed.
} // Remove Events listener for given Events. If fn is not provided, all Events
// listeners for that Events will be removed. If neither is provided, all
// Events listeners will be removed.
}, {
key: "off",
@@ -115,7 +115,7 @@ function () {
if (!this._callbacks || arguments.length === 0) {
this._callbacks = {};
return this;
} // specific event
} // specific Events
var callbacks = this._callbacks[event];
@@ -159,7 +159,7 @@ function (_Emitter) {
this.prototype.Emitter = Emitter;
/*
This is a list of all available events you can register on a dropzone object.
You can register an event handler like this:
You can register an Events handler like this:
dropzone.on("dragEnter", function() { });
*/
@@ -241,7 +241,7 @@ function (_Emitter) {
/**
* If not `null` defines how many files this Dropzone handles. If it exceeds,
* the event `maxfilesexceeded` will be called. The dropzone element gets the
* the Events `maxfilesexceeded` will be called. The dropzone element gets the
* class `dz-max-files-reached` accordingly so you can provide visual feedback.
*/
maxFilesize: 256,
@@ -516,7 +516,7 @@ function (_Emitter) {
/**
* Called when dropzone initialized
* You can add event listeners here
* You can add Events listeners here
*/
init: function init() {},
@@ -727,7 +727,7 @@ function (_Emitter) {
the user interface specific stuff. Overwriting them won't break the upload
but can break the way it's displayed.
You can overwrite them if you don't like the default behavior. If you just
want to add an additional event handler, register it on the dropzone object
want to add an additional Events handler, register it on the dropzone object
and don't overwrite those options.
*/
// Those are self explanatory and simply concern the DragnDrop.
@@ -1202,7 +1202,7 @@ function (_Emitter) {
return file;
});
} // The function that gets called when Dropzone is initialized. You
// can (and should) setup event listeners inside this function.
// can (and should) setup Events listeners inside this function.
}, {
key: "init",
@@ -1290,7 +1290,7 @@ function (_Emitter) {
setupHiddenFileInput();
}
this.URL = window.URL !== null ? window.URL : window.webkitURL; // Setup all event listeners on the Dropzone object itself.
this.URL = window.URL !== null ? window.URL : window.webkitURL; // Setup all Events listeners on the Dropzone object itself.
// They're not in @setupEventListeners() because they shouldn't be removed
// again when the dropzone gets disabled.
@@ -1326,7 +1326,7 @@ function (_Emitter) {
});
this.on("canceled", function (file) {
return _this3.emit("complete", file);
}); // Emit a `queuecomplete` event if all files finished uploading.
}); // Emit a `queuecomplete` Events if all files finished uploading.
this.on("complete", function (file) {
if (_this3.getAddedFiles().length === 0 && _this3.getUploadingFiles().length === 0 && _this3.getQueuedFiles().length === 0) {
@@ -1605,7 +1605,7 @@ function (_Emitter) {
return result;
}();
});
} // Removes all event listeners and cancels all files in the queue or being processed.
} // Removes all Events listeners and cancels all files in the queue or being processed.
}, {
key: "disable",
@@ -2110,7 +2110,7 @@ function (_Emitter) {
fileReader.readAsDataURL(file);
} // `mockFile` needs to have these attributes:
//
//
// { name: 'name', size: 12345, imageUrl: '' }
//
// `callback` will be invoked when the image has been downloaded and displayed.