@ironsource/shared-ui 2.2.0-test.7 → 2.2.0-test.89

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.
Files changed (55) hide show
  1. package/Chart.vue_vue_type_style_index_0_scoped_a4d7b67a_lang.css +1 -0
  2. package/FormCard.vue_vue_type_style_index_0_scoped_98458a8f_lang.css +1 -0
  3. package/OptionV4.vue_vue_type_style_index_0_scoped_771e1980_lang.css +1 -0
  4. package/PopoverV4.vue_vue_type_style_index_0_scoped_9ae00876_lang.css +1 -0
  5. package/Tag.vue_vue_type_style_index_0_scoped_b0662035_lang.css +1 -0
  6. package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
  7. package/TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css +1 -0
  8. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  9. package/components/chart/Chart.vue.d.ts +5 -0
  10. package/components/chart/Chart.vue.js +3 -3
  11. package/components/chart/Chart.vue2.js +17 -15
  12. package/components/chart/composables/useChartHeight.d.ts +1 -1
  13. package/components/chart/composables/useChartHeight.js +16 -15
  14. package/components/chart/index.d.ts +20 -1
  15. package/components/chart/types.d.ts +1 -0
  16. package/components/dateRange/common/DateRange.common.js +1 -1
  17. package/components/dateRange/common/consts.common.d.ts +5 -0
  18. package/components/dateRange/common/consts.common.js +9 -0
  19. package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
  20. package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
  21. package/components/dateRange/v3/index.d.ts +7 -7
  22. package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
  23. package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
  24. package/components/dateRange/v4/index.d.ts +7 -7
  25. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -1
  26. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  27. package/components/dropdown/v4/OptionV4.vue2.js +13 -12
  28. package/components/forms/FormCard.vue.js +3 -3
  29. package/components/forms/FormCard.vue2.js +5 -5
  30. package/components/popover/v4/PopoverV4.vue.d.ts +14 -0
  31. package/components/popover/v4/PopoverV4.vue.js +2 -2
  32. package/components/popover/v4/PopoverV4.vue2.js +11 -9
  33. package/components/popover/v4/index.d.ts +41 -1
  34. package/components/tag/Tag.vue.d.ts +131 -0
  35. package/components/tag/Tag.vue.js +7 -0
  36. package/components/tag/Tag.vue2.js +295 -0
  37. package/components/tag/index.d.ts +192 -0
  38. package/components/tag/index.js +6 -0
  39. package/components/tagsField/TagsFieldChip.vue.d.ts +0 -41
  40. package/components/tagsField/TagsFieldChip.vue.js +5 -5
  41. package/components/tagsField/TagsFieldChip.vue2.js +54 -96
  42. package/components/tagsField/index.d.ts +0 -72
  43. package/components/tooltip/v4/TooltipV4.vue.d.ts +5 -0
  44. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  45. package/components/tooltip/v4/TooltipV4.vue2.js +76 -36
  46. package/components/tooltip/v4/index.d.ts +20 -1
  47. package/index.d.ts +157 -38
  48. package/index.js +84 -80
  49. package/package.json +6 -2
  50. package/Chart.vue_vue_type_style_index_0_scoped_22477735_lang.css +0 -1
  51. package/FormCard.vue_vue_type_style_index_0_scoped_86feae7b_lang.css +0 -1
  52. package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +0 -1
  53. package/PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css +0 -1
  54. package/TagsFieldChip.vue_vue_type_style_index_0_scoped_a5f2dd8b_lang.css +0 -1
  55. package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +0 -1
@@ -1,123 +1,81 @@
1
- import "../../TagsFieldChip.vue_vue_type_style_index_0_scoped_a5f2dd8b_lang.css"; import { defineComponent as V, ref as r, computed as b, watch as M, nextTick as k, openBlock as n, createBlock as g, unref as a, normalizeClass as d, normalizeStyle as C, withModifiers as u, withCtx as w, createElementVNode as N, createTextVNode as S, toDisplayString as z, withDirectives as x, createElementBlock as I, isRef as K, withKeys as B, vModelText as D, createCommentVNode as W, createVNode as F, vShow as L } from "vue";
2
- import O from "../typography/v4/Typography.vue.js";
3
- import U from "../icon/v4/IconV4.vue.js";
1
+ import "../../TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css"; import { defineComponent as k, ref as p, computed as x, openBlock as C, createBlock as I, unref as t, normalizeClass as c, withModifiers as s, withCtx as f, createElementVNode as v, createVNode as m, createTextVNode as w, toDisplayString as T, withDirectives as B, isRef as E, withKeys as h, vShow as V, vModelText as K, nextTick as N } from "vue";
2
+ import R from "../typography/v4/Typography.vue.js";
3
+ import z from "../icon/v4/IconV4.vue.js";
4
4
  import "../icon/v4/IconFlag.vue.js";
5
- import $ from "../chip/v4/ChipV4.vue.js";
6
- const j = { class: "chip-content" }, q = ["placeholder", "onKeyup"], Q = /* @__PURE__ */ V({
5
+ import D from "../chip/v4/ChipV4.vue.js";
6
+ const M = { class: "chip-content" }, S = ["onKeyup"], j = /* @__PURE__ */ k({
7
7
  __name: "TagsFieldChip",
8
8
  props: {
9
9
  label: { default: "" },
10
10
  isInvalid: { type: Boolean, default: !1 },
11
- testId: { default: "" },
12
- size: { default: "small" },
13
- rounded: { type: Boolean, default: !0 },
14
- disabled: { type: Boolean, default: !1 },
15
- removable: { type: Boolean, default: !0 },
16
- color: { default: "default" },
17
- iconColor: { default: "var(--action-active)" },
18
- variant: { default: "filled" },
19
- placeholder: { default: "" }
11
+ testId: { default: "" }
20
12
  },
21
13
  emits: ["update:label", "remove"],
22
- setup(e, { emit: c }) {
23
- const i = e, t = r(!1), l = b({
24
- get: () => i.label,
25
- set: (h) => {
26
- c("update:label", h);
14
+ setup(l, { emit: n }) {
15
+ const b = l, i = p(!1), e = x({
16
+ get: () => b.label,
17
+ set: (d) => {
18
+ n("update:label", d);
27
19
  }
28
- }), m = r(null), E = () => m.value?.focus(), R = async () => {
29
- i.disabled || (t.value = !0, await k(), E());
30
- }, s = () => {
31
- t.value = !1, !l.value && !i.placeholder && c("remove");
32
- }, v = r(null), f = r(void 0);
33
- M(
34
- () => [l.value, i.placeholder, t.value],
35
- async () => {
36
- await k(), t.value && v.value ? f.value = v.value.offsetWidth + "px" : f.value = void 0;
37
- },
38
- { immediate: !0 }
39
- );
40
- const p = {
41
- default: "var(--default-outlined-border)",
42
- primary: "var(--primary-main)",
43
- info: "var(--info-dark)",
44
- error: "var(--error-main)",
45
- warning: "var(--warning-main)",
46
- success: "var(--success-main)",
47
- dark: "var(--common-divider)"
48
- }, T = b(() => t.value && i.variant !== "outlined" ? {
49
- "--outline-color": i.isInvalid ? p.error : p[i.color] || "var(--default-outlined-border)"
50
- } : {});
51
- return (h, o) => (n(), g(a($), {
52
- class: d({
53
- "rounded-chip": e.rounded,
54
- "tags-field-chip--editing": t.value && e.variant !== "outlined"
55
- // outlined chips have an outline
56
- }),
57
- label: a(l),
58
- "test-id": e.testId,
59
- color: e.isInvalid ? "error" : e.color,
60
- size: e.size,
61
- variant: e.variant,
62
- disabled: e.disabled,
63
- style: C(a(T)),
64
- onClick: u(R, ["stop"])
20
+ }), r = p(null), g = () => r.value?.focus(), y = async () => {
21
+ i.value = !0, await N(), g();
22
+ }, o = () => {
23
+ i.value = !1, e.value || n("remove");
24
+ };
25
+ return (d, a) => (C(), I(t(D), {
26
+ class: c(["tags-field-chip", {
27
+ "tags-field-chip--editing": i.value,
28
+ "tags-field-chip--invalid": l.isInvalid
29
+ }]),
30
+ label: t(e),
31
+ "test-id": l.testId,
32
+ color: l.isInvalid ? "error" : "default",
33
+ onClick: s(y, ["stop"])
65
34
  }, {
66
- default: w(() => [
67
- N("div", j, [
68
- t.value ? x((n(), I("input", {
69
- key: 1,
35
+ default: f(() => [
36
+ v("div", M, [
37
+ m(t(R), {
38
+ variant: "chipLabel",
39
+ class: c(["chip-label", { "chip-label--hidden": i.value }])
40
+ }, {
41
+ default: f(() => [
42
+ w(T(t(e)), 1)
43
+ ]),
44
+ _: 1
45
+ }, 8, ["class"]),
46
+ B(v("input", {
70
47
  ref_key: "inputRef",
71
- ref: m,
72
- "onUpdate:modelValue": o[0] || (o[0] = (y) => K(l) ? l.value = y : null),
73
- placeholder: e.placeholder,
74
- class: d(["chip-input", { "chip-input-outline": e.variant === "outlined" }]),
48
+ ref: r,
49
+ "onUpdate:modelValue": a[0] || (a[0] = (u) => E(e) ? e.value = u : null),
50
+ class: "chip-input",
75
51
  spellcheck: "false",
76
- style: C({ width: f.value }),
77
- onBlur: s,
52
+ onBlur: o,
78
53
  onKeyup: [
79
- B(u(s, ["prevent"]), ["enter"]),
80
- B(u(s, ["prevent"]), ["esc"])
54
+ h(s(o, ["prevent"]), ["enter"]),
55
+ h(s(o, ["prevent"]), ["esc"])
81
56
  ]
82
- }, null, 46, q)), [
57
+ }, null, 40, S), [
58
+ [V, i.value],
83
59
  [
84
- D,
85
- a(l),
60
+ K,
61
+ t(e),
86
62
  void 0,
87
63
  { trim: !0 }
88
64
  ]
89
- ]) : (n(), g(a(O), {
90
- key: 0,
91
- variant: "chipLabel",
92
- class: d(["chip-label", { "chip-label--placeholder": !a(l) && e.placeholder }])
93
- }, {
94
- default: w(() => [
95
- S(z(a(l) || e.placeholder), 1)
96
- ]),
97
- _: 1
98
- }, 8, ["class"])),
99
- t.value ? (n(), I("span", {
100
- key: 2,
101
- ref_key: "sizerRef",
102
- ref: v,
103
- class: "chip-input-sizer"
104
- }, z(a(l) || e.placeholder || ""), 513)) : W("", !0)
65
+ ])
105
66
  ]),
106
- x(F(a(U), {
107
- class: d(["clear-button", { "clear-button--invalid": e.isInvalid }]),
67
+ m(t(z), {
68
+ class: c(["clear-button", { "clear-button--invalid": l.isInvalid }]),
108
69
  name: "x-circle",
109
70
  size: "16px",
110
71
  type: "fill",
111
- color: e.isInvalid ? "var(--error-dark)" : e.iconColor,
112
- onClick: o[1] || (o[1] = u((y) => c("remove"), ["stop"]))
113
- }, null, 8, ["class", "color"]), [
114
- [L, e.removable]
115
- ])
72
+ onClick: a[1] || (a[1] = s((u) => n("remove"), ["stop"]))
73
+ }, null, 8, ["class"])
116
74
  ]),
117
75
  _: 1
118
- }, 8, ["class", "label", "test-id", "color", "size", "variant", "disabled", "style", "onClick"]));
76
+ }, 8, ["class", "label", "test-id", "color", "onClick"]));
119
77
  }
120
78
  });
121
79
  export {
122
- Q as default
80
+ j as default
123
81
  };
@@ -10,42 +10,10 @@ declare const TagsFieldTypes: () => (import("vue").DefineComponent<{
10
10
  type: import("vue").PropType<string>;
11
11
  default: string;
12
12
  };
13
- variant: {
14
- type: import("vue").PropType<"filled" | "outlined">;
15
- default: string;
16
- };
17
- disabled: {
18
- type: import("vue").PropType<boolean>;
19
- default: boolean;
20
- };
21
- color: {
22
- type: import("vue").PropType<"dark" | "default" | "primary" | "info" | "success" | "warning" | "error">;
23
- default: string;
24
- };
25
- size: {
26
- type: import("vue").PropType<"small" | "medium">;
27
- default: string;
28
- };
29
- rounded: {
30
- type: import("vue").PropType<boolean>;
31
- default: boolean;
32
- };
33
- placeholder: {
34
- type: import("vue").PropType<string>;
35
- default: string;
36
- };
37
13
  isInvalid: {
38
14
  type: import("vue").PropType<boolean>;
39
15
  default: boolean;
40
16
  };
41
- removable: {
42
- type: import("vue").PropType<boolean>;
43
- default: boolean;
44
- };
45
- iconColor: {
46
- type: import("vue").PropType<string>;
47
- default: string;
48
- };
49
17
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
50
18
  "update:label": (value: string) => void;
51
19
  remove: () => void;
@@ -59,57 +27,17 @@ declare const TagsFieldTypes: () => (import("vue").DefineComponent<{
59
27
  type: import("vue").PropType<string>;
60
28
  default: string;
61
29
  };
62
- variant: {
63
- type: import("vue").PropType<"filled" | "outlined">;
64
- default: string;
65
- };
66
- disabled: {
67
- type: import("vue").PropType<boolean>;
68
- default: boolean;
69
- };
70
- color: {
71
- type: import("vue").PropType<"dark" | "default" | "primary" | "info" | "success" | "warning" | "error">;
72
- default: string;
73
- };
74
- size: {
75
- type: import("vue").PropType<"small" | "medium">;
76
- default: string;
77
- };
78
- rounded: {
79
- type: import("vue").PropType<boolean>;
80
- default: boolean;
81
- };
82
- placeholder: {
83
- type: import("vue").PropType<string>;
84
- default: string;
85
- };
86
30
  isInvalid: {
87
31
  type: import("vue").PropType<boolean>;
88
32
  default: boolean;
89
33
  };
90
- removable: {
91
- type: import("vue").PropType<boolean>;
92
- default: boolean;
93
- };
94
- iconColor: {
95
- type: import("vue").PropType<string>;
96
- default: string;
97
- };
98
34
  }>> & {
99
35
  onRemove?: () => any;
100
36
  "onUpdate:label"?: (value: string) => any;
101
37
  }, {
102
38
  label: string;
103
39
  testId: string;
104
- variant: "filled" | "outlined";
105
- disabled: boolean;
106
- color: "dark" | "default" | "primary" | "info" | "success" | "warning" | "error";
107
- size: "small" | "medium";
108
- rounded: boolean;
109
- placeholder: string;
110
40
  isInvalid: boolean;
111
- removable: boolean;
112
- iconColor: string;
113
41
  }> | import("vue").DefineComponent<{
114
42
  testId: {
115
43
  type: import("vue").PropType<string>;
@@ -14,6 +14,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
14
14
  shown?: boolean;
15
15
  autoHide?: boolean;
16
16
  dontWrapDisabled?: boolean;
17
+ maxWidth?: string;
17
18
  }>, {
18
19
  text: any;
19
20
  header: any;
@@ -29,6 +30,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
29
30
  shown: any;
30
31
  autoHide: boolean;
31
32
  dontWrapDisabled: boolean;
33
+ maxWidth: string;
32
34
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
35
  show: () => void;
34
36
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
@@ -46,6 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
46
48
  shown?: boolean;
47
49
  autoHide?: boolean;
48
50
  dontWrapDisabled?: boolean;
51
+ maxWidth?: string;
49
52
  }>, {
50
53
  text: any;
51
54
  header: any;
@@ -61,6 +64,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
61
64
  shown: any;
62
65
  autoHide: boolean;
63
66
  dontWrapDisabled: boolean;
67
+ maxWidth: string;
64
68
  }>>> & {
65
69
  onShow?: () => any;
66
70
  }, {
@@ -78,6 +82,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
78
82
  shown: boolean;
79
83
  autoHide: boolean;
80
84
  dontWrapDisabled: boolean;
85
+ maxWidth: string;
81
86
  }>, {
82
87
  default?(_: {}): any;
83
88
  tooltip?(_: {
@@ -1,8 +1,8 @@
1
1
  import o from "./TooltipV4.vue2.js";
2
2
  /* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css"; //*');
3
+ // import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css"; //*');
4
4
  // import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; //');
5
- const l = /* @__PURE__ */ e(o, [["__scopeId", "data-v-8a451e54"]]);
5
+ const l = /* @__PURE__ */ e(o, [["__scopeId", "data-v-a8aebfee"]]);
6
6
  export {
7
7
  l as default
8
8
  };
@@ -1,14 +1,14 @@
1
- import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css"; import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as c, renderSlot as l, openBlock as d, createBlock as i, unref as t, mergeProps as m, withCtx as n, createTextVNode as y, toDisplayString as p, createElementVNode as T } from "vue";
2
- import g from "./TextWithTitleContent.vue.js";
3
- import { Tooltip as w } from "floating-vue";
4
- import { TooltipTestIdModifiers as r } from "../../../testids/index.js";
5
- import b from "../../typography/v4/Typography.vue.js";
6
- import { tooltipCommon as v } from "../common/Tooltip.common.js";
7
- import { useTestIdAttrs as x } from "../../../utils/testIds.js";
8
- const B = {
1
+ import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css"; import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as T, computed as C, onMounted as N, watch as B, onUnmounted as E, renderSlot as i, openBlock as c, createBlock as u, unref as n, mergeProps as g, withCtx as f, createTextVNode as b, toDisplayString as $, createElementVNode as I } from "vue";
2
+ import V from "./TextWithTitleContent.vue.js";
3
+ import { Tooltip as W } from "floating-vue";
4
+ import { TooltipTestIdModifiers as p } from "../../../testids/index.js";
5
+ import k from "../../typography/v4/Typography.vue.js";
6
+ import { tooltipCommon as S } from "../common/Tooltip.common.js";
7
+ import { useTestIdAttrs as A } from "../../../utils/testIds.js";
8
+ const z = {
9
9
  ref: "container",
10
10
  class: "container"
11
- }, E = /* @__PURE__ */ c({
11
+ }, F = /* @__PURE__ */ T({
12
12
  __name: "TooltipV4",
13
13
  props: {
14
14
  text: { default: null },
@@ -24,45 +24,85 @@ const B = {
24
24
  container: { default: "body" },
25
25
  shown: { type: Boolean, default: null },
26
26
  autoHide: { type: Boolean, default: !0 },
27
- dontWrapDisabled: { type: Boolean, default: !1 }
27
+ dontWrapDisabled: { type: Boolean, default: !1 },
28
+ maxWidth: { default: "21.875rem" }
28
29
  },
29
30
  emits: ["show"],
30
- setup(e, { emit: h }) {
31
- const s = e, { textForDisplay: a } = v(s), u = x(s.testId, r);
32
- return (o, f) => (e.disabled || !e.text) && e.dontWrapDisabled ? l(o.$slots, "default", { key: 0 }, void 0, !0) : (d(), i(t(w), m({ key: 1 }, { ...o.$props, ...t(u)[t(r).TRIGGER] }, {
33
- theme: e.theme,
31
+ setup(t, { emit: v }) {
32
+ const a = t, { textForDisplay: m } = S(a), h = A(a.testId, p), d = (e) => `--tooltip-max-width-${e.replace(/[^a-zA-Z0-9]/g, "-")}`, r = (e) => `max-width-class-${e.replace(/[^a-zA-Z0-9]/g, "-")}`, x = (e) => {
33
+ const o = r(e), l = d(e);
34
+ return `
35
+ .v-popper--theme-light-theme-v4.v4-tooltip.${o} .v-popper__wrapper {
36
+ max-width: var(${l}, 21.875rem)
37
+ }
38
+ `;
39
+ }, w = C(
40
+ () => [
41
+ a.theme,
42
+ a.placement,
43
+ "v4-tooltip",
44
+ a.maxWidth ? r(a.maxWidth) : ""
45
+ // This is the class name that will be used as a selector for the tooltip
46
+ ].filter(Boolean)
47
+ ), y = (e) => {
48
+ const o = d(e), l = r(e);
49
+ if (document.documentElement.style.setProperty(o, e), !document.getElementById(l)) {
50
+ const s = document.createElement("style");
51
+ s.id = l, s.textContent = x(e), document.head.appendChild(s);
52
+ }
53
+ };
54
+ return N(() => {
55
+ a.maxWidth && y(a.maxWidth);
56
+ }), B(
57
+ () => a.maxWidth,
58
+ (e, o) => {
59
+ if (o) {
60
+ const l = d(o);
61
+ document.documentElement.style.removeProperty(l);
62
+ }
63
+ e && y(e);
64
+ }
65
+ ), E(() => {
66
+ if (a.maxWidth) {
67
+ const e = d(a.maxWidth);
68
+ document.documentElement.style.removeProperty(e);
69
+ const o = r(a.maxWidth), l = document.getElementById(o), s = document.getElementsByClassName(o);
70
+ l && s.length === 0 && l.remove();
71
+ }
72
+ }), (e, o) => (t.disabled || !t.text) && t.dontWrapDisabled ? i(e.$slots, "default", { key: 0 }, void 0, !0) : (c(), u(n(W), g({ key: 1 }, { ...e.$props, ...n(h)[n(p).TRIGGER] }, {
73
+ theme: t.theme,
34
74
  "no-auto-focus": "",
35
- triggers: e.triggers,
36
- delay: { show: e.delay, hide: 0 },
37
- placement: e.placement,
38
- disabled: e.disabled || e.text && !t(a),
39
- "popper-class": [e.theme, e.placement, "v4-tooltip"],
75
+ triggers: t.triggers,
76
+ delay: { show: t.delay, hide: 0 },
77
+ placement: t.placement,
78
+ disabled: t.disabled || t.text && !n(m),
79
+ "popper-class": n(w),
40
80
  class: ["v4-tooltip"],
41
- distance: e.distance,
42
- "auto-hide": e.autoHide,
43
- shown: e.shown,
44
- onApplyShow: f[0] || (f[0] = (k) => h("show"))
81
+ distance: t.distance,
82
+ "auto-hide": t.autoHide,
83
+ shown: t.shown,
84
+ onApplyShow: o[0] || (o[0] = (l) => v("show"))
45
85
  }), {
46
- popper: n(() => [
47
- l(o.$slots, "tooltip", { text: t(a) }, () => [
48
- e.header ? (d(), i(g, {
86
+ popper: f(() => [
87
+ i(e.$slots, "tooltip", { text: n(m) }, () => [
88
+ t.header ? (c(), u(V, {
49
89
  key: 1,
50
- text: e.text,
51
- header: e.header
52
- }, null, 8, ["text", "header"])) : (d(), i(t(b), m({
90
+ text: t.text,
91
+ header: t.header
92
+ }, null, 8, ["text", "header"])) : (c(), u(n(k), g({
53
93
  key: 0,
54
94
  variant: "body2"
55
- }, t(u)[t(r).TEXT]), {
56
- default: n(() => [
57
- y(p(t(a)), 1)
95
+ }, n(h)[n(p).TEXT]), {
96
+ default: f(() => [
97
+ b($(n(m)), 1)
58
98
  ]),
59
99
  _: 1
60
100
  }, 16))
61
101
  ], !0)
62
102
  ]),
63
- default: n(() => [
64
- T("div", B, [
65
- l(o.$slots, "default", {}, void 0, !0)
103
+ default: f(() => [
104
+ I("div", z, [
105
+ i(e.$slots, "default", {}, void 0, !0)
66
106
  ], 512)
67
107
  ]),
68
108
  _: 3
@@ -70,5 +110,5 @@ const B = {
70
110
  }
71
111
  });
72
112
  export {
73
- E as default
113
+ F as default
74
114
  };
@@ -18,6 +18,7 @@ declare const TooltipTypes: () => ({
18
18
  shown: boolean;
19
19
  autoHide: boolean;
20
20
  dontWrapDisabled: boolean;
21
+ maxWidth: string;
21
22
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
22
23
  header: {
23
24
  type: import("vue").PropType<string>;
@@ -75,9 +76,13 @@ declare const TooltipTypes: () => ({
75
76
  type: import("vue").PropType<boolean>;
76
77
  default: boolean;
77
78
  };
79
+ maxWidth: {
80
+ type: import("vue").PropType<string>;
81
+ default: string;
82
+ };
78
83
  }>> & {
79
84
  onShow?: () => any;
80
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container" | "shown" | "autoHide" | "dontWrapDisabled">;
85
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container" | "shown" | "autoHide" | "dontWrapDisabled" | "maxWidth">;
81
86
  $attrs: {
82
87
  [x: string]: unknown;
83
88
  };
@@ -148,6 +153,10 @@ declare const TooltipTypes: () => ({
148
153
  type: import("vue").PropType<boolean>;
149
154
  default: boolean;
150
155
  };
156
+ maxWidth: {
157
+ type: import("vue").PropType<string>;
158
+ default: string;
159
+ };
151
160
  }>> & {
152
161
  onShow?: () => any;
153
162
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -167,6 +176,7 @@ declare const TooltipTypes: () => ({
167
176
  shown: boolean;
168
177
  autoHide: boolean;
169
178
  dontWrapDisabled: boolean;
179
+ maxWidth: string;
170
180
  }, {}, string> & {
171
181
  beforeCreate?: (() => void) | (() => void)[];
172
182
  created?: (() => void) | (() => void)[];
@@ -244,6 +254,10 @@ declare const TooltipTypes: () => ({
244
254
  type: import("vue").PropType<boolean>;
245
255
  default: boolean;
246
256
  };
257
+ maxWidth: {
258
+ type: import("vue").PropType<string>;
259
+ default: string;
260
+ };
247
261
  }>> & {
248
262
  onShow?: () => any;
249
263
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
@@ -307,6 +321,10 @@ declare const TooltipTypes: () => ({
307
321
  type: import("vue").PropType<boolean>;
308
322
  default: boolean;
309
323
  };
324
+ maxWidth: {
325
+ type: import("vue").PropType<string>;
326
+ default: string;
327
+ };
310
328
  }>> & {
311
329
  onShow?: () => any;
312
330
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -326,6 +344,7 @@ declare const TooltipTypes: () => ({
326
344
  shown: boolean;
327
345
  autoHide: boolean;
328
346
  dontWrapDisabled: boolean;
347
+ maxWidth: string;
329
348
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
330
349
  $slots: {
331
350
  default?(_: {}): any;