@deskhero/dh_ui 2.6.3 → 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
@@ -8986,6 +8986,11 @@ const G1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iOSIgdmlld0
8986
8986
  required: !1,
8987
8987
  default: ""
8988
8988
  },
8989
+ title: {
8990
+ type: String,
8991
+ required: !1,
8992
+ default: ""
8993
+ },
8989
8994
  size: {
8990
8995
  type: Number,
8991
8996
  required: !0,
@@ -9007,9 +9012,13 @@ const G1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iOSIgdmlld0
9007
9012
  default: !1
9008
9013
  }
9009
9014
  },
9015
+ emits: ["error"],
9010
9016
  methods: {
9011
9017
  getIconUrl() {
9012
9018
  return new URL((/* @__PURE__ */ Object.assign({ "../assets/icons/A-Z.svg": G1, "../assets/icons/Toggle.svg": W1, "../assets/icons/accept.svg": V1, "../assets/icons/ai.svg": H1, "../assets/icons/appearance.svg": F1, "../assets/icons/arrow-down-outline.svg": $1, "../assets/icons/arrow-down.svg": J1, "../assets/icons/arrow-left.svg": X1, "../assets/icons/arrow-right.svg": K1, "../assets/icons/arrow-up.svg": q1, "../assets/icons/asterisk.svg": ex, "../assets/icons/attachment.svg": tx, "../assets/icons/automation.svg": nx, "../assets/icons/bar-chart.svg": ix, "../assets/icons/billing.svg": rx, "../assets/icons/bookmark.svg": ox, "../assets/icons/calendar.svg": ax, "../assets/icons/checkbox.svg": sx, "../assets/icons/clock.svg": ux, "../assets/icons/close.svg": lx, "../assets/icons/cloud-offline.svg": cx, "../assets/icons/cloud.svg": Mx, "../assets/icons/columns.svg": gx, "../assets/icons/copy.svg": dx, "../assets/icons/danger.svg": fx, "../assets/icons/dashboard.svg": yx, "../assets/icons/delete.svg": Nx, "../assets/icons/deskHeroLogo.svg": jx, "../assets/icons/dot.svg": hx, "../assets/icons/download.svg": Ix, "../assets/icons/draft.svg": px, "../assets/icons/drag-mark.svg": Dx, "../assets/icons/edit.svg": xx, "../assets/icons/email-templates.svg": zx, "../assets/icons/email.svg": vx, "../assets/icons/emoji.svg": mx, "../assets/icons/enter.svg": Ax, "../assets/icons/error.svg": Tx, "../assets/icons/expand-collapse.svg": Lx, "../assets/icons/expand.svg": bx, "../assets/icons/export.svg": Ox, "../assets/icons/field.svg": wx, "../assets/icons/file-csv.svg": kx, "../assets/icons/file-doc.svg": Ex, "../assets/icons/file-jpeg.svg": Sx, "../assets/icons/file-jpg.svg": Cx, "../assets/icons/file-mp4.svg": Qx, "../assets/icons/file-pdf.svg": Yx, "../assets/icons/file-png.svg": Ux, "../assets/icons/file-txt.svg": _x, "../assets/icons/file-unknown.svg": Px, "../assets/icons/file-xls.svg": Rx, "../assets/icons/filter.svg": Bx, "../assets/icons/folder.svg": Zx, "../assets/icons/forms.svg": Gx, "../assets/icons/groups.svg": Wx, "../assets/icons/happy.svg": Vx, "../assets/icons/help-section.svg": Hx, "../assets/icons/help.svg": Fx, "../assets/icons/home.svg": $x, "../assets/icons/info.svg": Jx, "../assets/icons/invisible.svg": Xx, "../assets/icons/kanban.svg": Kx, "../assets/icons/key.svg": qx, "../assets/icons/knowledgeBase.svg": ez, "../assets/icons/link.svg": tz, "../assets/icons/lists.svg": nz, "../assets/icons/loader.svg": iz, "../assets/icons/logout.svg": rz, "../assets/icons/menu.svg": oz, "../assets/icons/minus.svg": az, "../assets/icons/more.svg": sz, "../assets/icons/newItem.svg": uz, "../assets/icons/newList.svg": lz, "../assets/icons/next.svg": cz, "../assets/icons/notification.svg": Mz, "../assets/icons/notifications.svg": gz, "../assets/icons/number.svg": dz, "../assets/icons/open.svg": fz, "../assets/icons/options.svg": yz, "../assets/icons/phone.svg": Nz, "../assets/icons/plans.svg": jz, "../assets/icons/plus.svg": hz, "../assets/icons/previous.svg": Iz, "../assets/icons/processing.svg": pz, "../assets/icons/radio.svg": Dz, "../assets/icons/regex.svg": xz, "../assets/icons/retry.svg": zz, "../assets/icons/roles.svg": vz, "../assets/icons/save.svg": mz, "../assets/icons/search.svg": Az, "../assets/icons/select.svg": Tz, "../assets/icons/settings.svg": Lz, "../assets/icons/shortcut.svg": bz, "../assets/icons/sort.svg": Oz, "../assets/icons/star-empty.svg": wz, "../assets/icons/star.svg": kz, "../assets/icons/states.svg": Ez, "../assets/icons/success.svg": Sz, "../assets/icons/text.svg": Cz, "../assets/icons/tickets.svg": Qz, "../assets/icons/upload.svg": Yz, "../assets/icons/user.svg": Uz, "../assets/icons/validation.svg": _z, "../assets/icons/view.svg": Pz, "../assets/icons/visible.svg": Rz, "../assets/icons/wait.svg": Bz, "../assets/icons/warning-outlined.svg": Zz, "../assets/icons/warning.svg": Gz, "../assets/icons/web.svg": Wz }))[`../assets/icons/${this.iconName}.svg`], self.location).href;
9019
+ },
9020
+ emitError() {
9021
+ this.$emit("error");
9013
9022
  }
9014
9023
  }
9015
9024
  });
@@ -9018,7 +9027,7 @@ const Tt = (i, n) => {
9018
9027
  for (const [r, t] of n)
9019
9028
  e[r] = t;
9020
9029
  return e;
9021
- }, Hz = ["alt", "data-e2e", "height", "src", "width"];
9030
+ }, Hz = ["alt", "data-e2e", "height", "src", "title", "width"];
9022
9031
  function Fz(i, n, e, r, t, o) {
9023
9032
  return W(), F("img", {
9024
9033
  alt: i.alt ?? i.iconName + "-icon",
@@ -9030,10 +9039,12 @@ function Fz(i, n, e, r, t, o) {
9030
9039
  "data-e2e": i.iconName + "-icon",
9031
9040
  height: i.size,
9032
9041
  src: i.getIconUrl(),
9033
- width: i.size
9034
- }, null, 10, Hz);
9042
+ title: i.title,
9043
+ width: i.size,
9044
+ onError: n[0] || (n[0] = (a) => i.emitError())
9045
+ }, null, 42, Hz);
9035
9046
  }
9036
- const Ye = /* @__PURE__ */ Tt(Vz, [["render", Fz], ["__scopeId", "data-v-47de519b"]]), $z = Je({
9047
+ const Ye = /* @__PURE__ */ Tt(Vz, [["render", Fz], ["__scopeId", "data-v-631c465a"]]), $z = Je({
9037
9048
  props: {
9038
9049
  data: {
9039
9050
  type: Boolean,
@@ -18275,6 +18286,11 @@ const Z2 = /* @__PURE__ */ V("label", { for: "upload_pdf" }, [
18275
18286
  DhIcon: Ye
18276
18287
  },
18277
18288
  props: {
18289
+ title: {
18290
+ type: String,
18291
+ required: !1,
18292
+ default: ""
18293
+ },
18278
18294
  iconName: {
18279
18295
  type: String,
18280
18296
  required: !1,
@@ -18334,9 +18350,15 @@ const Z2 = /* @__PURE__ */ V("label", { for: "upload_pdf" }, [
18334
18350
  required: !1,
18335
18351
  default: !1
18336
18352
  }
18353
+ },
18354
+ emits: ["error"],
18355
+ methods: {
18356
+ emitError() {
18357
+ this.$emit("error");
18358
+ }
18337
18359
  }
18338
18360
  });
18339
- const db = ["src"];
18361
+ const db = ["src", "title"];
18340
18362
  function fb(i, n, e, r, t, o) {
18341
18363
  const a = Si("DhIcon");
18342
18364
  return W(), F("div", {
@@ -18352,8 +18374,10 @@ function fb(i, n, e, r, t, o) {
18352
18374
  key: 0,
18353
18375
  alt: "icon image",
18354
18376
  class: "icon-with-text-icon icon-url",
18355
- src: i.iconUrl
18356
- }, 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),
18357
18381
  i.iconUrl ? J("", !0) : (W(), me(a, mt({
18358
18382
  key: 1,
18359
18383
  class: "icon-with-text-icon icon-3"
@@ -18364,7 +18388,7 @@ function fb(i, n, e, r, t, o) {
18364
18388
  }, ye(i.text), 3))
18365
18389
  ], 2);
18366
18390
  }
18367
- const yb = /* @__PURE__ */ Tt(gb, [["render", fb], ["__scopeId", "data-v-3366203b"]]);
18391
+ const yb = /* @__PURE__ */ Tt(gb, [["render", fb], ["__scopeId", "data-v-6e7a9b18"]]);
18368
18392
  const Nb = { class: "input__dropdown" }, jb = ["placeholder", "value"], hb = { class: "input__dropdown_second" }, Ib = ["tabindex"], pb = ["onClick"], Db = ["onClick"], xb = {
18369
18393
  key: 2,
18370
18394
  class: "button__clear"