@project-trans/suggestion-box
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -1,2 +0,2 @@ | ||
import { defineComponent as j, ref as u, watch as B, openBlock as s, createElementBlock as o, withModifiers as U, createElementVNode as t, withDirectives as y, vModelText as k, toDisplayString as p, Fragment as h, renderList as S, createCommentVNode as F, normalizeClass as I, createVNode as L, Transition as P, withCtx as R } from "vue"; | ||
import { defineComponent as j, ref as u, watch as B, openBlock as s, createElementBlock as o, withModifiers as U, createElementVNode as t, withDirectives as y, vModelText as k, toDisplayString as p, Fragment as h, renderList as S, createCommentVNode as P, normalizeClass as F, createVNode as I, Transition as L, withCtx as R } from "vue"; | ||
const V = ["placeholder"], D = { class: "inline-grid items-stretch sb-auto-height" }, E = ["placeholder"], N = { class: "m-2" }, O = { key: 0 }, A = { class: "cursor-pointer appearance-none m-0!" }, M = { class: "flex overflow-x-scroll space-x-4" }, $ = ["onClick"], q = ["src"], G = { | ||
@@ -63,3 +63,3 @@ class: "flex justify-around gap-2 rounded-b-md p-2 !<sm:flex-col", | ||
const n = new FormData(); | ||
if (n.append("textContent", v.value), x.value && n.append("contactContent", x.value), a.value) | ||
if (n.append("textContent", v.value), n.append("referrer", window.location.href), x.value && n.append("contactContent", x.value), a.value) | ||
for (let e = 0; e < a.value.length; e += 1) | ||
@@ -74,3 +74,4 @@ n.append("images", a.value[e]); | ||
// due to the CORS policy | ||
mode: "no-cors" | ||
mode: "no-cors", | ||
referrerPolicy: "unsafe-url" | ||
}), d.value = !1; | ||
@@ -164,3 +165,3 @@ } catch (e) { | ||
]) | ||
])) : F("v-if", !0) | ||
])) : P("v-if", !0) | ||
]), | ||
@@ -216,3 +217,3 @@ t("div", G, [ | ||
"aria-label": i.sendButtonText, | ||
class: I([[ | ||
class: F([[ | ||
!v.value || d.value || r.value || c.value ? "cursor-not-allowed" : "", | ||
@@ -228,3 +229,3 @@ d.value || r.value || c.value ? "text-zinc-700 disabled:text-zinc-700 dark:text-zinc-300 dark:disabled:text-zinc-300" : "text-zinc-700 disabled:text-zinc-400 dark:text-zinc-300 dark:disabled:text-zinc-600" | ||
t("div", Q, [ | ||
L(P, { | ||
I(L, { | ||
mode: "out-in", | ||
@@ -231,0 +232,0 @@ "enter-active-class": "transition-all duration-200 ease-out", |
{ | ||
"name": "@project-trans/suggestion-box", | ||
"type": "module", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Suggestion box for Project Trans", | ||
@@ -77,3 +77,3 @@ "author": { | ||
"dev:server": "pnpm -F server run dev", | ||
"build": "tsx ./script/buildStyle.ts && vue-tsc --declaration --emitDeclarationOnly", | ||
"build": "tsx ./script/build.ts && vue-tsc --declaration --emitDeclarationOnly", | ||
"preview": "vite preview", | ||
@@ -80,0 +80,0 @@ "lint": "eslint --cache . && pnpm -F server run lint", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
363087
6990
4