@weni/unnnic-system 2.0.15 → 2.0.16
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/unnnic.mjs
CHANGED
|
@@ -12955,6 +12955,9 @@ const eU = {
|
|
|
12955
12955
|
methods: {
|
|
12956
12956
|
closeClicked() {
|
|
12957
12957
|
this.closeClicked && this.$emit("close-click");
|
|
12958
|
+
},
|
|
12959
|
+
emitClose() {
|
|
12960
|
+
this.$emit("close");
|
|
12958
12961
|
}
|
|
12959
12962
|
}
|
|
12960
12963
|
};
|
|
@@ -12970,17 +12973,20 @@ function nU(e, i, n, s, r, o) {
|
|
|
12970
12973
|
${n.hasCloseIcon ? "unnnic-tag__label--hasIcon" : ""}
|
|
12971
12974
|
${n.disabled ? "unnnic-tag__label--disabled" : ""}`)
|
|
12972
12975
|
}, D(n.text), 3),
|
|
12973
|
-
n.hasCloseIcon ? (u(),
|
|
12976
|
+
n.hasCloseIcon ? (u(), m("div", {
|
|
12974
12977
|
key: 0,
|
|
12975
|
-
|
|
12976
|
-
class: "unnnic-tag__icon"
|
|
12977
|
-
|
|
12978
|
-
|
|
12979
|
-
|
|
12980
|
-
|
|
12978
|
+
onClick: i[0] || (i[0] = Ke((...h) => o.emitClose && o.emitClose(...h), ["stop"])),
|
|
12979
|
+
class: "unnnic-tag__icon"
|
|
12980
|
+
}, [
|
|
12981
|
+
O(l, {
|
|
12982
|
+
icon: "close-1",
|
|
12983
|
+
scheme: "neutral-darkest",
|
|
12984
|
+
size: "xs"
|
|
12985
|
+
})
|
|
12986
|
+
])) : B("", !0)
|
|
12981
12987
|
], 2);
|
|
12982
12988
|
}
|
|
12983
|
-
const iU = /* @__PURE__ */ C(eU, [["render", nU], ["__scopeId", "data-v-
|
|
12989
|
+
const iU = /* @__PURE__ */ C(eU, [["render", nU], ["__scopeId", "data-v-9aecc72a"]]);
|
|
12984
12990
|
const tU = {
|
|
12985
12991
|
name: "unnnic-tag",
|
|
12986
12992
|
components: {
|
|
@@ -14945,6 +14951,10 @@ const NY = {
|
|
|
14945
14951
|
selectFirst: {
|
|
14946
14952
|
type: Boolean,
|
|
14947
14953
|
default: !0
|
|
14954
|
+
},
|
|
14955
|
+
placeholder: {
|
|
14956
|
+
type: String,
|
|
14957
|
+
default: null
|
|
14948
14958
|
}
|
|
14949
14959
|
},
|
|
14950
14960
|
data() {
|
|
@@ -15190,7 +15200,7 @@ function EY(e, i, n, s, r, o) {
|
|
|
15190
15200
|
class: "unnnic-select-smart__input",
|
|
15191
15201
|
ref: "selectSmartInput",
|
|
15192
15202
|
modelValue: o.inputValue,
|
|
15193
|
-
placeholder: o.autocompletePlaceholder || o.selectedLabel,
|
|
15203
|
+
placeholder: n.placeholder || o.autocompletePlaceholder || o.selectedLabel,
|
|
15194
15204
|
type: n.type,
|
|
15195
15205
|
size: n.size,
|
|
15196
15206
|
disabled: n.disabled,
|