mirror of
https://0xacab.org/sutty/sutty
synced 2025-03-14 23:38:19 +00:00
Merge branch 'production.panel.sutty.nl' of 0xacab.org:sutty/sutty into production.panel.sutty.nl
This commit is contained in:
commit
6ab25b3794
21 changed files with 29 additions and 29 deletions
|
@ -39,13 +39,13 @@ export default class extends Controller {
|
||||||
|
|
||||||
if (!this.element.getAttributeNames().some(x => x.startsWith("hx-"))) this.element.submit();
|
if (!this.element.getAttributeNames().some(x => x.startsWith("hx-"))) this.element.submit();
|
||||||
|
|
||||||
window.dispatchEvent(new CustomEvent("notification:show", { detail: { id: this.submittingIdValue } }));
|
window.dispatchEvent(new CustomEvent("notification:show", { detail: { value: this.submittingIdValue } }));
|
||||||
} else {
|
} else {
|
||||||
event?.stopPropagation();
|
event?.stopPropagation();
|
||||||
|
|
||||||
this.element.classList.add("was-validated");
|
this.element.classList.add("was-validated");
|
||||||
|
|
||||||
window.dispatchEvent(new CustomEvent("notification:show", { detail: { id: this.invalidIdValue } }));
|
window.dispatchEvent(new CustomEvent("notification:show", { detail: { value: this.invalidIdValue } }));
|
||||||
}
|
}
|
||||||
|
|
||||||
this.submitting = false;
|
this.submitting = false;
|
||||||
|
|
|
@ -19,8 +19,8 @@ export default class extends Controller {
|
||||||
* actual, se oculta.
|
* actual, se oculta.
|
||||||
*/
|
*/
|
||||||
show(event = undefined) {
|
show(event = undefined) {
|
||||||
if (event?.detail?.id !== this.element.id) {
|
if (event?.detail?.value !== this.element.id) {
|
||||||
this.hide({ detail: { id: this.element.id } });
|
this.hide({ detail: { value: this.element.id } });
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ export default class extends Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
hide(event = undefined) {
|
hide(event = undefined) {
|
||||||
if (event?.detail?.id !== this.element.id) return;
|
if (event?.detail?.value !== this.element.id) return;
|
||||||
|
|
||||||
this.element.classList.remove(...this.showClasses);
|
this.element.classList.remove(...this.showClasses);
|
||||||
this.element.classList.add(...this.hideClasses);
|
this.element.classList.add(...this.hideClasses);
|
||||||
|
|
|
@ -959,7 +959,7 @@ en:
|
||||||
add: "Add %{layout}"
|
add: "Add %{layout}"
|
||||||
add_new: "Add new option"
|
add_new: "Add new option"
|
||||||
cancel: "Cancel"
|
cancel: "Cancel"
|
||||||
close: "Close"
|
close: "Close without saving"
|
||||||
edit: "Edit"
|
edit: "Edit"
|
||||||
filter: "Start typing to filter..."
|
filter: "Start typing to filter..."
|
||||||
save: "Save"
|
save: "Save"
|
||||||
|
|
|
@ -969,7 +969,7 @@ es:
|
||||||
add: "Agregar %{layout}"
|
add: "Agregar %{layout}"
|
||||||
add_new: "Agregar nueva opción"
|
add_new: "Agregar nueva opción"
|
||||||
cancel: "Cancelar"
|
cancel: "Cancelar"
|
||||||
close: "Cerrar"
|
close: "Cerrar sin guardar"
|
||||||
edit: "Editar"
|
edit: "Editar"
|
||||||
filter: "Empezá a escribir para filtrar..."
|
filter: "Empezá a escribir para filtrar..."
|
||||||
save: "Guardar"
|
save: "Guardar"
|
||||||
|
|
BIN
public/assets/.sprockets-manifest-a1cbb907961024fc033716a7d30668dd.json
(Stored with Git LFS)
BIN
public/assets/.sprockets-manifest-a1cbb907961024fc033716a7d30668dd.json
(Stored with Git LFS)
Binary file not shown.
BIN
public/packs/js/application-8f69d0f11e0ca7be2504.js
(Stored with Git LFS)
BIN
public/packs/js/application-8f69d0f11e0ca7be2504.js
(Stored with Git LFS)
Binary file not shown.
BIN
public/packs/js/application-8f69d0f11e0ca7be2504.js.br
(Stored with Git LFS)
BIN
public/packs/js/application-8f69d0f11e0ca7be2504.js.br
(Stored with Git LFS)
Binary file not shown.
BIN
public/packs/js/application-8f69d0f11e0ca7be2504.js.gz
(Stored with Git LFS)
BIN
public/packs/js/application-8f69d0f11e0ca7be2504.js.gz
(Stored with Git LFS)
Binary file not shown.
BIN
public/packs/js/application-8f69d0f11e0ca7be2504.js.map
(Stored with Git LFS)
BIN
public/packs/js/application-8f69d0f11e0ca7be2504.js.map
(Stored with Git LFS)
Binary file not shown.
BIN
public/packs/js/application-8f69d0f11e0ca7be2504.js.map.br
(Stored with Git LFS)
BIN
public/packs/js/application-8f69d0f11e0ca7be2504.js.map.br
(Stored with Git LFS)
Binary file not shown.
BIN
public/packs/js/application-8f69d0f11e0ca7be2504.js.map.gz
(Stored with Git LFS)
BIN
public/packs/js/application-8f69d0f11e0ca7be2504.js.map.gz
(Stored with Git LFS)
Binary file not shown.
BIN
public/packs/js/application-b4baa487ab2bd8d1019a.js
(Stored with Git LFS)
Normal file
BIN
public/packs/js/application-b4baa487ab2bd8d1019a.js
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/packs/js/application-b4baa487ab2bd8d1019a.js.br
(Stored with Git LFS)
Normal file
BIN
public/packs/js/application-b4baa487ab2bd8d1019a.js.br
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/packs/js/application-b4baa487ab2bd8d1019a.js.gz
(Stored with Git LFS)
Normal file
BIN
public/packs/js/application-b4baa487ab2bd8d1019a.js.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/packs/js/application-b4baa487ab2bd8d1019a.js.map
(Stored with Git LFS)
Normal file
BIN
public/packs/js/application-b4baa487ab2bd8d1019a.js.map
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/packs/js/application-b4baa487ab2bd8d1019a.js.map.br
(Stored with Git LFS)
Normal file
BIN
public/packs/js/application-b4baa487ab2bd8d1019a.js.map.br
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/packs/js/application-b4baa487ab2bd8d1019a.js.map.gz
(Stored with Git LFS)
Normal file
BIN
public/packs/js/application-b4baa487ab2bd8d1019a.js.map.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
public/packs/manifest.json
(Stored with Git LFS)
BIN
public/packs/manifest.json
(Stored with Git LFS)
Binary file not shown.
BIN
public/packs/manifest.json.br
(Stored with Git LFS)
BIN
public/packs/manifest.json.br
(Stored with Git LFS)
Binary file not shown.
BIN
public/packs/manifest.json.gz
(Stored with Git LFS)
BIN
public/packs/manifest.json.gz
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in a new issue