xctuality-chat-box
Advanced tools
Comparing version 0.0.1 to 0.0.2
export * from "/Users/rouvinramoda/Documents/xtuality/Actual Projects/xctuality-packages/chat-box-vue/src/components/special-upload.vue?vue&type=script&setup=true&lang.ts"; | ||
import "/Users/rouvinramoda/Documents/xtuality/Actual Projects/xctuality-packages/chat-box-vue/src/components/special-upload.vue?vue&type=style&index=0&scoped=9b155a5e&lang.css"; | ||
import "/Users/rouvinramoda/Documents/xtuality/Actual Projects/xctuality-packages/chat-box-vue/src/components/special-upload.vue?vue&type=style&index=0&scoped=934d926d&lang.css"; | ||
declare const _default: any; | ||
export default _default; | ||
//# sourceMappingURL=special-upload.vue.d.ts.map |
@@ -1,48 +0,53 @@ | ||
import { defineComponent as r, inject as _, ref as u, openBlock as m, createElementBlock as f, createElementVNode as s, pushScopeId as g, popScopeId as v } from "vue"; | ||
const h = (e) => (g("data-v-9b155a5e"), e = e(), v(), e), U = { class: "image-uploader" }, I = /* @__PURE__ */ h(() => /* @__PURE__ */ s("h1", null, "File Uploader", -1)), S = { class: "your-file" }, y = ["src"], b = /* @__PURE__ */ r({ | ||
__name: "special-upload", | ||
props: { | ||
customImg: null | ||
}, | ||
setup(e) { | ||
const t = e, o = _("specialUploadImage"), n = o != null ? o : t.customImg, c = u(n); | ||
function i(l) { | ||
console.log("hawer"); | ||
const a = l.target, d = a == null ? void 0 : a.files[0]; | ||
p(d); | ||
} | ||
function p(l) { | ||
c.value = URL.createObjectURL(l); | ||
} | ||
return (l, a) => (m(), f("div", U, [ | ||
I, | ||
s("input", { | ||
onChange: i, | ||
type: "file", | ||
id: "file-upload", | ||
name: "fileUpload", | ||
accept: "image/*" | ||
}, null, 32), | ||
s("div", S, [ | ||
s("img", { | ||
src: c.value, | ||
alt: "" | ||
}, null, 8, y) | ||
]) | ||
])); | ||
} | ||
}); | ||
const x = (e, t) => { | ||
const o = e.__vccOpts || e; | ||
for (const [n, c] of t) | ||
o[n] = c; | ||
import { resolveComponent as c, openBlock as s, createElementBlock as r, createElementVNode as e, createVNode as i } from "vue"; | ||
const _ = (t, n) => { | ||
const o = t.__vccOpts || t; | ||
for (const [l, a] of n) | ||
o[l] = a; | ||
return o; | ||
}, k = /* @__PURE__ */ x(b, [["__scopeId", "data-v-9b155a5e"]]), V = { | ||
install: (e, t = { img: "" }) => { | ||
e.component("SpecialUploader", k), e.provide("specialUploadImage", t.img); | ||
}, p = {}, u = /* @__PURE__ */ e("input", { | ||
type: "checkbox", | ||
id: "show" | ||
}, null, -1), d = { | ||
for: "show", | ||
class: "show-btn" | ||
}, h = /* @__PURE__ */ e("div", { class: "wrapper" }, [ | ||
/* @__PURE__ */ e("h5", null, "Let's Chat? - Online"), | ||
/* @__PURE__ */ e("p", null, "Please fill form below to start chat with the next available agent."), | ||
/* @__PURE__ */ e("form", null, [ | ||
/* @__PURE__ */ e("input", { | ||
type: "text", | ||
placeholder: "Your Name" | ||
}), | ||
/* @__PURE__ */ e("input", { | ||
type: "email", | ||
placeholder: "Your Email" | ||
}), | ||
/* @__PURE__ */ e("input", { | ||
type: "text", | ||
placeholder: "Enter Queries" | ||
}), | ||
/* @__PURE__ */ e("button", null, "Start Chat") | ||
]) | ||
], -1); | ||
function f(t, n) { | ||
const o = c("font-awesome-icon"); | ||
return s(), r("div", null, [ | ||
u, | ||
e("label", d, [ | ||
i(o, { | ||
class: "icon", | ||
icon: "fa-brands fa-facebook-messenger" | ||
}) | ||
]), | ||
h | ||
]); | ||
} | ||
const m = /* @__PURE__ */ _(p, [["render", f]]), w = { | ||
install: (t) => { | ||
t.component("XctualityChatBox", m); | ||
} | ||
}; | ||
export { | ||
k as SpecialUploader, | ||
V as default | ||
m as ChatBox, | ||
w as default | ||
}; |
{ | ||
"name": "xctuality-chat-box", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"type": "module", | ||
@@ -27,2 +27,8 @@ "exports": { | ||
"dependencies": { | ||
"@fortawesome/fontawesome-svg-core": "^6.2.0", | ||
"@fortawesome/free-brands-svg-icons": "^6.2.0", | ||
"@fortawesome/free-regular-svg-icons": "^6.2.0", | ||
"@fortawesome/free-solid-svg-icons": "^6.2.0", | ||
"@fortawesome/sharp-solid-svg-icons": "^6.2.0", | ||
"@fortawesome/vue-fontawesome": "^3.0.1", | ||
"pinia": "^2.0.21", | ||
@@ -29,0 +35,0 @@ "vue": "^3.2.38" |
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
10352
9
61
8
+ Added@fortawesome/fontawesome-common-types@6.7.1(transitive)
+ Added@fortawesome/fontawesome-svg-core@6.7.1(transitive)
+ Added@fortawesome/free-brands-svg-icons@6.7.1(transitive)
+ Added@fortawesome/free-regular-svg-icons@6.7.1(transitive)
+ Added@fortawesome/free-solid-svg-icons@6.7.1(transitive)
+ Added@fortawesome/vue-fontawesome@3.0.8(transitive)