@deskhero/dh_ui 2.6.4 → 2.6.6
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/dh_ui.es.js +18 -5
- package/dist/dh_ui.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dh_ui.es.js
CHANGED
|
@@ -18286,6 +18286,11 @@ const Z2 = /* @__PURE__ */ V("label", { for: "upload_pdf" }, [
|
|
|
18286
18286
|
DhIcon: Ye
|
|
18287
18287
|
},
|
|
18288
18288
|
props: {
|
|
18289
|
+
title: {
|
|
18290
|
+
type: String,
|
|
18291
|
+
required: !1,
|
|
18292
|
+
default: ""
|
|
18293
|
+
},
|
|
18289
18294
|
iconName: {
|
|
18290
18295
|
type: String,
|
|
18291
18296
|
required: !1,
|
|
@@ -18345,9 +18350,15 @@ const Z2 = /* @__PURE__ */ V("label", { for: "upload_pdf" }, [
|
|
|
18345
18350
|
required: !1,
|
|
18346
18351
|
default: !1
|
|
18347
18352
|
}
|
|
18353
|
+
},
|
|
18354
|
+
emits: ["error"],
|
|
18355
|
+
methods: {
|
|
18356
|
+
emitError() {
|
|
18357
|
+
this.$emit("error");
|
|
18358
|
+
}
|
|
18348
18359
|
}
|
|
18349
18360
|
});
|
|
18350
|
-
const db = ["src"];
|
|
18361
|
+
const db = ["src", "title"];
|
|
18351
18362
|
function fb(i, n, e, r, t, o) {
|
|
18352
18363
|
const a = Si("DhIcon");
|
|
18353
18364
|
return W(), F("div", {
|
|
@@ -18363,19 +18374,21 @@ function fb(i, n, e, r, t, o) {
|
|
|
18363
18374
|
key: 0,
|
|
18364
18375
|
alt: "icon image",
|
|
18365
18376
|
class: "icon-with-text-icon icon-url",
|
|
18366
|
-
src: i.iconUrl
|
|
18367
|
-
|
|
18377
|
+
src: i.iconUrl,
|
|
18378
|
+
title: i.title,
|
|
18379
|
+
onError: n[0] || (n[0] = (s) => i.emitError())
|
|
18380
|
+
}, null, 40, db)) : J("", !0),
|
|
18368
18381
|
i.iconUrl ? J("", !0) : (W(), me(a, mt({
|
|
18369
18382
|
key: 1,
|
|
18370
18383
|
class: "icon-with-text-icon icon-3"
|
|
18371
|
-
}, { iconName: i.iconName, size: i.size }), null, 16)),
|
|
18384
|
+
}, { iconName: i.iconName, size: i.size, title: i.title }), null, 16)),
|
|
18372
18385
|
i.hideText ? J("", !0) : (W(), F("span", {
|
|
18373
18386
|
key: 2,
|
|
18374
18387
|
class: ue(["", `icon-with-text-label ${i.labelKlass} ${i.textEllipsis ? "text-ellipsis" : ""}`])
|
|
18375
18388
|
}, ye(i.text), 3))
|
|
18376
18389
|
], 2);
|
|
18377
18390
|
}
|
|
18378
|
-
const yb = /* @__PURE__ */ Tt(gb, [["render", fb], ["__scopeId", "data-v-
|
|
18391
|
+
const yb = /* @__PURE__ */ Tt(gb, [["render", fb], ["__scopeId", "data-v-857fab4c"]]);
|
|
18379
18392
|
const Nb = { class: "input__dropdown" }, jb = ["placeholder", "value"], hb = { class: "input__dropdown_second" }, Ib = ["tabindex"], pb = ["onClick"], Db = ["onClick"], xb = {
|
|
18380
18393
|
key: 2,
|
|
18381
18394
|
class: "button__clear"
|