@wikicasa-dev/components 1.7.42 → 1.7.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BaseInput.js +12 -12
- package/dist/assets/BaseInput.css +1 -1
- package/package.json +1 -1
package/dist/BaseInput.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as N, mergeModels as M, useModel as O, ref as p, watch as $, useAttrs as j, openBlock as s, createElementBlock as d, normalizeClass as m, unref as o, renderSlot as v, createElementVNode as
|
|
1
|
+
import { defineComponent as N, mergeModels as M, useModel as O, ref as p, watch as $, useAttrs as j, openBlock as s, createElementBlock as d, normalizeClass as m, unref as o, renderSlot as v, createElementVNode as c, withModifiers as g, withKeys as D, createBlock as G, createCommentVNode as w, Fragment as C, renderList as B } from "vue";
|
|
2
2
|
import J from "./BaseFloatingLabel.js";
|
|
3
3
|
import { useFloatingLabel as Q } from "./useFloatingLabel.js";
|
|
4
4
|
import { _ as R } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
@@ -103,7 +103,7 @@ import './assets/BaseInput.css';const W = ["id", "data-cy", "name", "autocomplet
|
|
|
103
103
|
handleShowPasswd: A,
|
|
104
104
|
curType: n.value
|
|
105
105
|
}, void 0, !0),
|
|
106
|
-
|
|
106
|
+
c("input", {
|
|
107
107
|
id: e.$attrs.id,
|
|
108
108
|
ref_key: "baseInputEl",
|
|
109
109
|
ref: b,
|
|
@@ -144,9 +144,9 @@ import './assets/BaseInput.css';const W = ["id", "data-cy", "name", "autocomplet
|
|
|
144
144
|
i[4] || (i[4] = (a) => f("keydown", a))
|
|
145
145
|
]
|
|
146
146
|
}, null, 42, W),
|
|
147
|
-
|
|
148
|
-
class: m(["uikit-pointer-events-none uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-m-0 uikit-box-border uikit-h-12 uikit-overflow-hidden uikit-rounded-xs uikit-border uikit-border-solid uikit-
|
|
149
|
-
|
|
147
|
+
c("fieldset", {
|
|
148
|
+
class: m(["uikit-pointer-events-none uikit-absolute uikit-bottom-0 uikit-left-0 uikit-right-0 uikit-m-0 uikit-box-border uikit-h-12 uikit-overflow-hidden uikit-rounded-xs uikit-border uikit-border-solid uikit-px-2 uikit-py-0 uikit-text-left uikit-transition-[border] uikit-duration-100 uikit-ease-out peer-focus:uikit-border-2 peer-focus:uikit-border-w-primary peer-focus:[&.is-invalid]:uikit-border-w-danger", [
|
|
149
|
+
e.$attrs.disabled ? "uikit-bg-w-cultured" : "uikit-bg-white",
|
|
150
150
|
{
|
|
151
151
|
"is-invalid uikit-border-w-danger": e.isValid === !1,
|
|
152
152
|
"is-valid uikit-border-w-primary": e.isValid,
|
|
@@ -156,8 +156,8 @@ import './assets/BaseInput.css';const W = ["id", "data-cy", "name", "autocomplet
|
|
|
156
156
|
e.$attrs["fieldset-classes"]
|
|
157
157
|
]])
|
|
158
158
|
}, [
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
c("legend", X, [
|
|
160
|
+
c("span", {
|
|
161
161
|
class: m(["visible-label uikit-opacity-0", [
|
|
162
162
|
{ "uikit-mx-5px": e.labelText },
|
|
163
163
|
{
|
|
@@ -185,12 +185,12 @@ import './assets/BaseInput.css';const W = ["id", "data-cy", "name", "autocomplet
|
|
|
185
185
|
]
|
|
186
186
|
}, null, 8, ["for", "label-text", "label-state", "is-valid", "required", "disabled", "label-classes"])) : w("", !0),
|
|
187
187
|
v(e.$slots, "feedback", {}, () => [
|
|
188
|
-
e.isValid === !1 ? (s(!0), d(C, { key: 0 }, B(k.value.invalid, (a,
|
|
189
|
-
key: `${e.$attrs.id}_invalid_${
|
|
188
|
+
e.isValid === !1 ? (s(!0), d(C, { key: 0 }, B(k.value.invalid, (a, h) => (s(), d("div", {
|
|
189
|
+
key: `${e.$attrs.id}_invalid_${h}`,
|
|
190
190
|
class: "uikit-mt-1 uikit-text-12 uikit-text-w-danger",
|
|
191
191
|
innerHTML: a
|
|
192
|
-
}, null, 8, Z))), 128)) : e.isValid === !0 ? (s(!0), d(C, { key: 1 }, B(k.value.valid, (a,
|
|
193
|
-
key: `${e.$attrs.id}_valid_${
|
|
192
|
+
}, null, 8, Z))), 128)) : e.isValid === !0 ? (s(!0), d(C, { key: 1 }, B(k.value.valid, (a, h) => (s(), d("div", {
|
|
193
|
+
key: `${e.$attrs.id}_valid_${h}`,
|
|
194
194
|
class: "uikit-mt-1 uikit-text-12 uikit-text-w-primary",
|
|
195
195
|
innerHTML: a
|
|
196
196
|
}, null, 8, U))), 128)) : w("", !0)
|
|
@@ -200,7 +200,7 @@ import './assets/BaseInput.css';const W = ["id", "data-cy", "name", "autocomplet
|
|
|
200
200
|
])) : w("", !0)
|
|
201
201
|
], 2));
|
|
202
202
|
}
|
|
203
|
-
}), ne = /* @__PURE__ */ R(_, [["__scopeId", "data-v-
|
|
203
|
+
}), ne = /* @__PURE__ */ R(_, [["__scopeId", "data-v-4a4fc4c7"]]);
|
|
204
204
|
export {
|
|
205
205
|
ne as default
|
|
206
206
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.input-wrapper[data-v-
|
|
1
|
+
.input-wrapper[data-v-4a4fc4c7]{--icon-default-size: 44px}.invalid-bg[data-v-4a4fc4c7]{--invalid-img: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxMicgaGVpZ2h0PScxMicgZmlsbD0nbm9uZScgc3Ryb2tlPScjRkE0RjY0Jz48Y2lyY2xlIGN4PSc2JyBjeT0nNicgcj0nNC41Jy8+PHBhdGggc3Ryb2tlLWxpbmVqb2luPSdyb3VuZCcgZD0nTTUuOCAzLjZoLjRMNiA2LjV6Jy8+PGNpcmNsZSBjeD0nNicgY3k9JzguMicgcj0nLjYnIGZpbGw9JyNGQTRGNjQnIHN0cm9rZT0nbm9uZScvPjwvc3ZnPg==);background-image:var(--invalid-img)}.valid-bg[data-v-4a4fc4c7]{--valid-img: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA4IDgnPjxwYXRoIGZpbGw9JyMyQjVERkYnIGQ9J00yLjMgNi43My42IDQuNTNjLS40LTEuMDQuNDYtMS40IDEuMS0uOGwxLjEgMS40IDMuNC0zLjhjLjYtLjYzIDEuNi0uMjcgMS4yLjdsLTQgNC42Yy0uNDMuNS0uOC40LTEuMS4xeicvPjwvc3ZnPg==);background-image:var(--valid-img)}.invalid-bg[data-v-4a4fc4c7],.valid-bg[data-v-4a4fc4c7]{background-position:top 17px right 12px;background-size:20px}.has-right-icon[data-v-4a4fc4c7]>label.inline-label{right:var(--icon-default-size)}.has-left-icon[data-v-4a4fc4c7]>label.inline-label{left:var(--icon-default-size)}[data-v-4a4fc4c7] .text-input-icon{position:absolute;z-index:20;box-sizing:border-box;--icon-size-sm: 16px;--icon-size-md: 20px;--icon-size-lg: 25px}[data-v-4a4fc4c7] .text-input-icon.left{left:5px}[data-v-4a4fc4c7] .text-input-icon.right{right:5px}[data-v-4a4fc4c7] .text-input-icon{--icon-top: 5px;--icon-size: var(--icon-size-sm);width:var(--icon-default-size);height:var(--icon-default-size);padding:calc((var(--icon-default-size) - var(--icon-size)) / 2);top:var(--icon-top)}[data-v-4a4fc4c7] .text-input-icon.md{--icon-size: var(--icon-size-md)}[data-v-4a4fc4c7] .text-input-icon.lg{--icon-top: 0;--icon-size: var(--icon-size-lg)}.under-label[data-v-4a4fc4c7]{left:4px;font-style:italic}
|