Socket
Socket
Sign inDemoInstall

my-component-agadir

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

my-component-agadir - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

33

dist/index.es.js

@@ -1,3 +0,3 @@

import { mergeModels as s, useModel as c, openBlock as r, createElementBlock as m, createElementVNode as t, createBlock as n, resolveDynamicComponent as l, withDirectives as u, mergeProps as p, vModelDynamic as g } from "vue";
const y = { class: "relative" }, f = { class: "absolute inset-y-0 start-0 flex items-center ps-3.5 pointer-events-none" }, v = { class: "absolute inset-y-0 end-0 flex items-center pe-4 pointer-events-none" }, x = /* @__PURE__ */ Object.assign({
import { mergeModels as s, useModel as m, openBlock as r, createElementBlock as u, createElementVNode as t, createBlock as a, resolveDynamicComponent as l, withDirectives as p, mergeProps as g, vModelDynamic as y } from "vue";
const f = { class: "relative" }, v = { class: "absolute inset-y-0 start-0 flex items-center ps-3.5 pointer-events-none" }, x = { class: "absolute inset-y-0 end-0 flex items-center pe-4 pointer-events-none" }, b = /* @__PURE__ */ Object.assign({
inheritAttrs: !1

@@ -11,17 +11,17 @@ }, {

emits: /* @__PURE__ */ s(["update:modelValue"], ["update:modelValue"]),
setup(e, { emit: b }) {
const o = c(e, "modelValue");
return (d, a) => (r(), m("div", y, [
t("div", f, [
(r(), n(l(e.startIcon), { class: "w-4 h-4 text-gray-700" }))
]),
setup(e, { emit: d }) {
const o = m(e, "modelValue");
return (i, n) => (r(), u("div", f, [
t("div", v, [
(r(), n(l(e.endIcon), { class: "w-4 h-4 text-gray-700" }))
(r(), a(l(e.startIcon), { class: "w-4 h-4 text-gray-700" }))
]),
t("div", x, [
(r(), a(l(e.endIcon), { class: "w-4 h-4 text-gray-700" }))
]),
t("div", null, [
u(t("input", p(d.$attrs, {
"onUpdate:modelValue": a[0] || (a[0] = (i) => o.value = i),
p(t("input", g(i.$attrs, {
"onUpdate:modelValue": n[0] || (n[0] = (c) => o.value = c),
class: ["bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary focus:border-primary focus:ring-1 block w-full p-2.5 dark:bg-gray-800 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary dark:focus:border-primary", { "ps-10": e.startIcon, "pe-10": e.endIcon }]
}), null, 16), [
[g, o.value]
[y, o.value]
])

@@ -31,6 +31,11 @@ ])

}
});
}), I = {
install: (e, d) => {
e.component("InputText", b);
}
};
export {
x as InputText
b as InputText,
I as default
};
//# sourceMappingURL=index.es.js.map

@@ -1,2 +0,2 @@

(function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t["my-component-agadir"]={},t.Vue))})(this,function(t,e){"use strict";const s={class:"relative"},a={class:"absolute inset-y-0 start-0 flex items-center ps-3.5 pointer-events-none"},d={class:"absolute inset-y-0 end-0 flex items-center pe-4 pointer-events-none"},l=Object.assign({inheritAttrs:!1},{__name:"InputText",props:e.mergeModels(["startIcon","endIcon"],{modelValue:{},modelModifiers:{}}),emits:e.mergeModels(["update:modelValue"],["update:modelValue"]),setup(o,{emit:m}){const n=e.useModel(o,"modelValue");return(i,r)=>(e.openBlock(),e.createElementBlock("div",s,[e.createElementVNode("div",a,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.startIcon),{class:"w-4 h-4 text-gray-700"}))]),e.createElementVNode("div",d,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.endIcon),{class:"w-4 h-4 text-gray-700"}))]),e.createElementVNode("div",null,[e.withDirectives(e.createElementVNode("input",e.mergeProps(i.$attrs,{"onUpdate:modelValue":r[0]||(r[0]=c=>n.value=c),class:["bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary focus:border-primary focus:ring-1 block w-full p-2.5 dark:bg-gray-800 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary dark:focus:border-primary",{"ps-10":o.startIcon,"pe-10":o.endIcon}]}),null,16),[[e.vModelDynamic,n.value]])])]))}});t.InputText=l,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
(function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t["my-component-agadir"]={},t.Vue))})(this,function(t,e){"use strict";const a={class:"relative"},l={class:"absolute inset-y-0 start-0 flex items-center ps-3.5 pointer-events-none"},d={class:"absolute inset-y-0 end-0 flex items-center pe-4 pointer-events-none"},o=Object.assign({inheritAttrs:!1},{__name:"InputText",props:e.mergeModels(["startIcon","endIcon"],{modelValue:{},modelModifiers:{}}),emits:e.mergeModels(["update:modelValue"],["update:modelValue"]),setup(n,{emit:c}){const r=e.useModel(n,"modelValue");return(m,s)=>(e.openBlock(),e.createElementBlock("div",a,[e.createElementVNode("div",l,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.startIcon),{class:"w-4 h-4 text-gray-700"}))]),e.createElementVNode("div",d,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.endIcon),{class:"w-4 h-4 text-gray-700"}))]),e.createElementVNode("div",null,[e.withDirectives(e.createElementVNode("input",e.mergeProps(m.$attrs,{"onUpdate:modelValue":s[0]||(s[0]=p=>r.value=p),class:["bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary focus:border-primary focus:ring-1 block w-full p-2.5 dark:bg-gray-800 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary dark:focus:border-primary",{"ps-10":n.startIcon,"pe-10":n.endIcon}]}),null,16),[[e.vModelDynamic,r.value]])])]))}}),i={install:(n,c)=>{n.component("InputText",o)}};t.InputText=o,t.default=i,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
//# sourceMappingURL=index.umd.js.map
{
"name": "my-component-agadir",
"private": false,
"version": "1.0.6",
"version": "1.0.7",
"type": "module",

@@ -17,3 +17,4 @@ "files": [

"types": "./dist/index.d.js"
}
},
"./dist/style.css": "./dist/style.css"
},

@@ -20,0 +21,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc