@deskhero/dh_ui 2.6.4 → 2.6.5

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.
@@ -0,0 +1,55 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ mainText: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ filterMissingText: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ matchText: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ excludeText: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ }, unknown, {
19
+ activeFilter: boolean;
20
+ isFilterMissing: boolean;
21
+ isMatch: boolean;
22
+ isExclude: boolean;
23
+ }, {}, {
24
+ toggleFilter(): void;
25
+ matchFilter(): void;
26
+ excludeFilter(): void;
27
+ missingFilter(): void;
28
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("match" | "exclude" | "filter_missing")[], "match" | "exclude" | "filter_missing", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
+ mainText: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ filterMissingText: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
37
+ matchText: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ excludeText: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ }>> & {
46
+ onMatch?: ((...args: any[]) => any) | undefined;
47
+ onExclude?: ((...args: any[]) => any) | undefined;
48
+ onFilter_missing?: ((...args: any[]) => any) | undefined;
49
+ }, {
50
+ mainText: string;
51
+ filterMissingText: string;
52
+ matchText: string;
53
+ excludeText: string;
54
+ }>;
55
+ export default _default;
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,8 +18374,10 @@ 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
- }, null, 8, db)) : J("", !0),
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"
@@ -18375,7 +18388,7 @@ function fb(i, n, e, r, t, o) {
18375
18388
  }, ye(i.text), 3))
18376
18389
  ], 2);
18377
18390
  }
18378
- const yb = /* @__PURE__ */ Tt(gb, [["render", fb], ["__scopeId", "data-v-3366203b"]]);
18391
+ const yb = /* @__PURE__ */ Tt(gb, [["render", fb], ["__scopeId", "data-v-6e7a9b18"]]);
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"