From ae88e2e4c9b97aa1f52e6c1543ec9095e866134b Mon Sep 17 00:00:00 2001 From: stuzer05 Date: Wed, 30 Oct 2024 14:13:45 +0200 Subject: [PATCH] Add yaml formatter tool --- bun.lockb | Bin 142895 -> 143279 bytes package.json | 3 +- src/router/index.js | 15 +- src/stores/toolsStore.js | 3 + .../json/{JSONFormatter.vue => Formatter.vue} | 0 .../json/{JSONMinifier.vue => Minifier.vue} | 0 src/views/yaml/Formatter.vue | 157 ++++++++++++++++++ 7 files changed, 174 insertions(+), 4 deletions(-) rename src/views/json/{JSONFormatter.vue => Formatter.vue} (100%) rename src/views/json/{JSONMinifier.vue => Minifier.vue} (100%) create mode 100644 src/views/yaml/Formatter.vue diff --git a/bun.lockb b/bun.lockb index ff974ad50a656bc01e87c0998a571b0ce2444f66..2f499f1663aaaa5a8b9ca912d124011a2a5af1db 100755 GIT binary patch delta 25068 zcmeI4cX(9Q_V;H`GLQj7krIZ`0s*8&LI^_$Waw=OMT8I#F+h|6fsi0Y2#Fm;q-<~# zB@_{)ND~xM5Ns$aBKDx5D2j-9MX?|v?`NHJ26FEY@4e6a{NCqz|L{Edp0&Sg*R|Jf zGiP$Pd>XOkvxo(8O%_#oZTj9?yN>PYc3`<9k=_^^!W90N7CCY>GQ`gZ`8fs z?UE~ZVOrgSrW2G!>{~^bt8jWo_IP36f^zUFw`W?BM@d)}z7km;*@IFlBR9fD)(LaD zu0<|FMk4QZWafm)S(CFe^QJlc$#9qJ8sZ~8E?4~m0zaaNMjoV~O32P-TrO!yJW>iC zm6tbpdQPTmw^LEh#JtJqTuaN^4V;iMVPe*3munDQ3LY6@mv@Vk{y5F|q7NBTx}E~5 zC}dHn!jPr^$-87V%$6)6Re$;g{Hb%M+FERGkS)^y@?vTmI&gQ5&v#zZ@( z!0VCHz*t9S<+ZqN{KS#2UDfS!YoeF(lWDz_S80f&*pEV5JTf<9RA!#b)uD!+@NT3u zHz`uc)ToA43^lGBVa8#o@2(Nnv#ha%oFM749V<8UIs3zc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cmrsJt?KhSW= z|6TjqW8e9C+8ayYG$Q+-leeUH?^^qjm*IR#o89Nj;~8^4AL6dI-*nxlst^3o(SP*( zkH6PDo)sU$B$9Hb{M4y(%?r6}%EP6c-gC{^cOveNs}GlQKEHHrXTvSuPig^|Q_*+R e_uspxYW(Z-_uBnnqH import("../views/json/JSONFormatter.vue"), + component: () => import("../views/json/Formatter.vue"), }, { path: "/json_minifier", name: "json_minifier", - component: () => import("../views/json/JSONMinifier.vue"), + component: () => import("../views/json/Minifier.vue"), + }, + + /** + * YAML + */ + { + path: "/yaml_formatter", + name: "yaml_formatter", + component: () => import("../views/yaml/Formatter.vue"), }, /** diff --git a/src/stores/toolsStore.js b/src/stores/toolsStore.js index 94a5a66..b54da52 100644 --- a/src/stores/toolsStore.js +++ b/src/stores/toolsStore.js @@ -38,6 +38,9 @@ export const useToolsStore = defineStore("tools", { json_minifier: "JSON minifier", json_formatter: "JSON formatter", }, + YAML: { + yaml_formatter: "YAML formatter", + }, PHP: { str_to_php_array: "Str to PHP array", php_array_to_json: "PHP array to Json", diff --git a/src/views/json/JSONFormatter.vue b/src/views/json/Formatter.vue similarity index 100% rename from src/views/json/JSONFormatter.vue rename to src/views/json/Formatter.vue diff --git a/src/views/json/JSONMinifier.vue b/src/views/json/Minifier.vue similarity index 100% rename from src/views/json/JSONMinifier.vue rename to src/views/json/Minifier.vue diff --git a/src/views/yaml/Formatter.vue b/src/views/yaml/Formatter.vue new file mode 100644 index 0000000..b9dc5ee --- /dev/null +++ b/src/views/yaml/Formatter.vue @@ -0,0 +1,157 @@ + + + + +