@ironsource/shared-ui 2.0.0-rc.8 → 2.0.0-rc.9

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 (52) hide show
  1. package/Button.vue_vue_type_style_index_0_scoped_35545b8c_lang.css +1 -0
  2. package/CardPanel.vue_vue_type_style_index_0_scoped_3cda0f04_lang.css +1 -0
  3. package/FoldableSection.vue_vue_type_style_index_0_scoped_51b5b56d_lang.css +1 -0
  4. package/FormCard.vue_vue_type_style_index_0_scoped_bb7d27f9_lang.css +1 -0
  5. package/MenuItem.vue_vue_type_style_index_0_scoped_67e53b85_lang.css +1 -0
  6. package/ToggleV4.vue_vue_type_style_index_0_scoped_ef31fecc_lang.css +1 -0
  7. package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +1 -0
  8. package/TooltipV4.vue_vue_type_style_index_0_scoped_21f12d1a_lang.css +1 -0
  9. package/components/appTrigger/AppTrigger.vue2.js +19 -20
  10. package/components/button/v3/Button.vue.js +3 -3
  11. package/components/button/v3/Button.vue2.js +1 -1
  12. package/components/button/v3/ScrollButton.vue2.js +4 -5
  13. package/components/includeExclude/IncludeExcludeAppTrigger.vue2.js +15 -16
  14. package/components/includeExclude/IncludeExcludeOption.vue2.js +6 -7
  15. package/components/includeExclude/IncludeExcludeOptionDraggable.vue2.js +16 -17
  16. package/components/input/v3/Input.vue2.js +3 -4
  17. package/components/input/v4/TextField.vue2.js +8 -8
  18. package/components/layout/CardPanel.vue.d.ts +36 -0
  19. package/components/layout/CardPanel.vue.js +7 -0
  20. package/components/layout/CardPanel.vue2.js +25 -0
  21. package/components/layout/FoldableSection.vue.d.ts +50 -0
  22. package/components/layout/FoldableSection.vue.js +7 -0
  23. package/components/layout/FoldableSection.vue2.js +57 -0
  24. package/components/layout/FormCard.vue.d.ts +74 -0
  25. package/components/layout/FormCard.vue.js +7 -0
  26. package/components/layout/FormCard.vue2.js +74 -0
  27. package/components/layout/index.d.ts +405 -0
  28. package/components/layout/index.js +10 -0
  29. package/components/menuItem/MenuItem.vue.js +5 -24
  30. package/components/menuItem/MenuItem.vue2.js +23 -0
  31. package/components/shared/FieldLabel.vue2.js +3 -3
  32. package/components/table/common/Table.common.js +20 -20
  33. package/components/toggle/v4/ToggleV4.vue.js +7 -0
  34. package/components/toggle/v4/ToggleV4.vue2.js +95 -0
  35. package/components/toggle/v4/index.d.ts +313 -0
  36. package/components/toggle/v4/index.js +6 -0
  37. package/components/tooltip/v3/Tooltip.vue.js +6 -3
  38. package/components/tooltip/v3/Tooltip.vue2.js +3 -3
  39. package/components/tooltip/v3/index.js +3 -4
  40. package/components/tooltip/v4/TooltipV4.vue.js +6 -65
  41. package/components/tooltip/v4/TooltipV4.vue2.js +67 -0
  42. package/components/tooltip/v4/index.js +2 -2
  43. package/index.d.ts +623 -1
  44. package/index.js +137 -129
  45. package/package.json +17 -5
  46. package/testids/index.d.ts +11 -0
  47. package/testids/index.js +16 -14
  48. package/Button.vue_vue_type_style_index_0_scoped_bfe31a93_lang.css +0 -1
  49. package/MenuItem.vue_vue_type_style_index_0_scoped_c7e837fa_lang.css +0 -1
  50. package/components/tooltip/v4/TooltipV4.vue3.js +0 -4
  51. /package/{Tooltip.vue_vue_type_style_index_0_lang.css → Tooltip.vue_vue_type_style_index_1_lang.css} +0 -0
  52. /package/{TooltipV4.vue_vue_type_style_index_0_lang.css → TooltipV4.vue_vue_type_style_index_1_lang.css} +0 -0
@@ -0,0 +1,10 @@
1
+ import o from "./FormCard.vue.js";
2
+ import r from "./CardPanel.vue.js";
3
+ import m from "./FoldableSection.vue.js";
4
+ const p = () => [o, r, m];
5
+ export {
6
+ r as CardPanel,
7
+ m as FoldableSection,
8
+ o as FormCard,
9
+ p as FormCardTypes
10
+ };
@@ -1,26 +1,7 @@
1
- import "../typography/Heading.vue.js";
2
- import n from "../typography/Text.vue.js";
3
- import { resolveComponent as s, openBlock as r, createElementBlock as c, createElementVNode as d, renderSlot as t, createVNode as i, withCtx as a } from "vue";
4
- /* empty css */import m from "../../_virtual/_plugin-vue_export-helper.js";
5
- const p = {
6
- components: { Text: n }
7
- }, f = { class: "menu-item" }, l = { class: "start-icon" };
8
- function u(e, _, $, h, v, x) {
9
- const o = s("Text");
10
- return r(), c("div", f, [
11
- d("div", l, [
12
- t(e.$slots, "start-icon", {}, void 0, !0)
13
- ]),
14
- i(o, { size: "sm" }, {
15
- default: a(() => [
16
- t(e.$slots, "default", {}, void 0, !0)
17
- ]),
18
- _: 3
19
- }),
20
- t(e.$slots, "end-icon", {}, void 0, !0)
21
- ]);
22
- }
23
- const I = /* @__PURE__ */ m(p, [["render", u], ["__scopeId", "data-v-c7e837fa"]]);
1
+ import e from "./MenuItem.vue2.js";
2
+ /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../MenuItem.vue_vue_type_style_index_0_scoped_67e53b85_lang.css"; //*');
4
+ const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-67e53b85"]]);
24
5
  export {
25
- I as default
6
+ p as default
26
7
  };
@@ -0,0 +1,23 @@
1
+ import "../../MenuItem.vue_vue_type_style_index_0_scoped_67e53b85_lang.css"; import { defineComponent as o, openBlock as s, createElementBlock as r, createElementVNode as n, renderSlot as t, createVNode as i, unref as d, withCtx as a } from "vue";
2
+ import "../typography/Heading.vue.js";
3
+ import c from "../typography/Text.vue.js";
4
+ const m = { class: "menu-item" }, l = { class: "start-icon" }, h = /* @__PURE__ */ o({
5
+ __name: "MenuItem",
6
+ setup(u) {
7
+ return (e, _) => (s(), r("div", m, [
8
+ n("div", l, [
9
+ t(e.$slots, "start-icon", {}, void 0, !0)
10
+ ]),
11
+ i(d(c), { size: "sm" }, {
12
+ default: a(() => [
13
+ t(e.$slots, "default", {}, void 0, !0)
14
+ ]),
15
+ _: 3
16
+ }),
17
+ t(e.$slots, "end-icon", {}, void 0, !0)
18
+ ]));
19
+ }
20
+ });
21
+ export {
22
+ h as default
23
+ };
@@ -1,10 +1,10 @@
1
1
  import "../../FieldLabel.vue_vue_type_style_index_0_scoped_526af548_lang.css"; import { defineComponent as c, openBlock as r, createElementBlock as u, mergeProps as o, unref as e, createVNode as n, withCtx as d, createTextVNode as s, toDisplayString as p, createBlock as i, createCommentVNode as m } from "vue";
2
2
  import T from "../icon/v3/Icon.vue.js";
3
3
  import b from "../tooltip/v4/TooltipV4.vue.js";
4
- /* empty css */import f from "../typography/v4/Typography.vue.js";
4
+ import f from "../typography/v4/Typography.vue.js";
5
5
  import { FieldLabelTestIdModifiers as a } from "../../testids/index.js";
6
6
  import { useTestIdAttrs as x } from "../../utils/testIds.js";
7
- const C = /* @__PURE__ */ c({
7
+ const H = /* @__PURE__ */ c({
8
8
  __name: "FieldLabel",
9
9
  props: {
10
10
  label: { default: "" },
@@ -57,5 +57,5 @@ const C = /* @__PURE__ */ c({
57
57
  }
58
58
  });
59
59
  export {
60
- C as default
60
+ H as default
61
61
  };
@@ -1,11 +1,11 @@
1
- import { ref as u, provide as z, computed as l, useSlots as G, onMounted as K, nextTick as N } from "vue";
1
+ import { ref as a, provide as z, computed as i, useSlots as G, onMounted as K, nextTick as N } from "vue";
2
2
  import { useVirtualList as V, useInfiniteScroll as j } from "@vueuse/core";
3
3
  import { TableContext as q } from "./TableContext.js";
4
- const F = 46, J = 46, Z = (o, a) => {
5
- const c = u([]);
4
+ const F = 46, J = 46, Z = (o, u) => {
5
+ const c = a([]);
6
6
  z(q, {
7
7
  onClose({ rowIndex: t, cellIndex: e, value: n } = {}) {
8
- n && (c.value = [...c.value, t], a("saveRow", {
8
+ n && (c.value = [...c.value, t], u("saveRow", {
9
9
  rowIndex: t,
10
10
  cellIndex: e,
11
11
  value: n,
@@ -17,40 +17,40 @@ const F = 46, J = 46, Z = (o, a) => {
17
17
  }));
18
18
  }
19
19
  });
20
- const m = l(() => o.selection !== null), T = l(() => {
20
+ const m = i(() => !!o.selection), T = i(() => {
21
21
  const t = (m.value ? `${J}px ` : "") + (C.value ? `${F}px ` : "");
22
22
  return o.columns.reduce((e, n) => {
23
23
  const s = n.width ? `${n.width}px` : `${n.colSpan || 1}fr`;
24
24
  return `${e} ${s}`;
25
25
  }, t);
26
- }), R = u(null), y = l(() => Array(o.loadingRowCount).fill(
26
+ }), R = a(null), y = i(() => Array(o.loadingRowCount).fill(
27
27
  Array(o.columns.length).fill("")
28
- )), $ = l(() => o.isLoading ? [...o.rows, ...y.value] : o.rows), { list: v, containerProps: i, wrapperProps: b } = V($, {
28
+ )), $ = i(() => o.isLoading ? [...o.rows, ...y.value] : o.rows), { list: v, containerProps: l, wrapperProps: b } = V($, {
29
29
  itemHeight: (t) => h[t] ?? o.rowHeight
30
- }), H = u(null), g = u(0), x = G(), k = l(() => !!x.search), B = (t) => {
31
- i.onScroll(), g.value = t.target.scrollLeft + t.target.getBoundingClientRect().width, a("onScroll", t.target.scrollTop);
30
+ }), H = a(null), g = a(0), x = G(), k = i(() => !!x.search), B = (t) => {
31
+ l.onScroll(), g.value = t.target.scrollLeft + t.target.getBoundingClientRect().width, u("onScroll", t.target.scrollTop);
32
32
  };
33
33
  K(() => {
34
- g.value = i.ref.value?.getBoundingClientRect().width, o.defaultScrollPosition && setTimeout(() => {
35
- i.ref.value?.scrollTo({
34
+ g.value = l.ref.value?.getBoundingClientRect().width, o.defaultScrollPosition && setTimeout(() => {
35
+ l.ref.value?.scrollTo({
36
36
  top: o.defaultScrollPosition,
37
37
  behavior: "smooth"
38
38
  });
39
39
  }, 300);
40
40
  });
41
- const I = l(() => {
41
+ const I = i(() => {
42
42
  const [t] = v.value;
43
43
  return t && t.index > 0;
44
- }), O = l(() => i.style), P = l(() => o.columns.reduce((t, e) => (e.isSticky && (t[e.id] = A(e)), t), {}));
44
+ }), O = i(() => l.style), P = i(() => o.columns.reduce((t, e) => (e.isSticky && (t[e.id] = A(e)), t), {}));
45
45
  j(
46
- i.ref,
46
+ l.ref,
47
47
  () => {
48
- o.isInfiniteScroll && a("loadMore");
48
+ o.isInfiniteScroll && u("loadMore");
49
49
  },
50
50
  { distance: o.infiniteScrollThreshold }
51
51
  );
52
52
  function E() {
53
- i.ref.value?.scrollTo({
53
+ l.ref.value?.scrollTo({
54
54
  top: 0,
55
55
  behavior: "smooth"
56
56
  });
@@ -62,7 +62,7 @@ const F = 46, J = 46, Z = (o, a) => {
62
62
  if (!(t.isSortable || t.isSortable === void 0))
63
63
  return;
64
64
  let s = o.sort.sortOrder, f = o.sort.sortBy;
65
- e ? s = o.sort.sortOrder === "asc" ? "desc" : "asc" : f = t.id, a("update:sort", { sortBy: f, sortOrder: s });
65
+ e ? s = o.sort.sortOrder === "asc" ? "desc" : "asc" : f = t.id, u("update:sort", { sortBy: f, sortOrder: s });
66
66
  }
67
67
  function A(t) {
68
68
  const { isSticky: e, width: n } = t;
@@ -74,7 +74,7 @@ const F = 46, J = 46, Z = (o, a) => {
74
74
  zIndex: 1
75
75
  };
76
76
  }
77
- const d = u([]), h = {}, _ = (t) => d.value.includes(t), D = async (t, e) => {
77
+ const d = a([]), h = {}, _ = (t) => d.value.includes(t), D = async (t, e) => {
78
78
  const n = d.value.indexOf(t);
79
79
  if (n === -1) {
80
80
  d.value.push(t);
@@ -82,12 +82,12 @@ const F = 46, J = 46, Z = (o, a) => {
82
82
  await N(), s && (h[t] = s.offsetHeight);
83
83
  } else
84
84
  d.value.splice(n, 1), delete h[t];
85
- }, C = l(() => !!x.expanded), M = l(() => `${o.rowHeight}px`), W = l(
85
+ }, C = i(() => !!x.expanded), M = i(() => `${o.rowHeight}px`), W = i(
86
86
  () => `1 / span ${o.columns.length + 1}`
87
87
  );
88
88
  return {
89
89
  list: v,
90
- containerProps: i,
90
+ containerProps: l,
91
91
  wrapperProps: b,
92
92
  activeRow: R,
93
93
  gridColumnTemplate: T,
@@ -0,0 +1,7 @@
1
+ import e from "./ToggleV4.vue2.js";
2
+ /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../ToggleV4.vue_vue_type_style_index_0_scoped_ef31fecc_lang.css"; //*');
4
+ const t = /* @__PURE__ */ o(e, [["__scopeId", "data-v-ef31fecc"]]);
5
+ export {
6
+ t as default
7
+ };
@@ -0,0 +1,95 @@
1
+ import "../../../ToggleV4.vue_vue_type_style_index_0_scoped_ef31fecc_lang.css"; import { defineComponent as k, computed as h, openBlock as i, createElementBlock as m, normalizeClass as f, createElementVNode as s, mergeProps as d, unref as t, createCommentVNode as l, renderSlot as g, createBlock as u, withCtx as v, createTextVNode as y, toDisplayString as b, createVNode as V } from "vue";
2
+ import E from "../../typography/v4/Typography.vue.js";
3
+ import { ToggleTestIdModifiers as a } from "../../../testids/index.js";
4
+ import B from "../../shared/FieldHelpText.vue.js";
5
+ import { useTestIdAttrs as H } from "../../../utils/testIds.js";
6
+ import I from "../../icon/v4/IconV4.vue.js";
7
+ import D from "../../tooltip/v4/TooltipV4.vue.js";
8
+ const L = { class: "toggle-head" }, P = ["disabled", "checked"], F = /* @__PURE__ */ k({
9
+ __name: "ToggleV4",
10
+ props: {
11
+ modelValue: { type: Boolean },
12
+ text: { default: void 0 },
13
+ activeText: { default: void 0 },
14
+ inactiveText: { default: void 0 },
15
+ hoverHelpText: { default: "" },
16
+ hoverHelpTextPlacement: { default: "top" },
17
+ feedbackText: { default: "" },
18
+ feedbackVariant: { default: null },
19
+ isDisabled: { type: Boolean, default: !1 },
20
+ isLoading: { type: Boolean, default: !1 },
21
+ color: { default: "primary" },
22
+ size: { default: "small" },
23
+ testId: { default: "" }
24
+ },
25
+ emits: ["update:modelValue"],
26
+ setup(e, { emit: x }) {
27
+ const c = e, T = () => {
28
+ r.value || x("update:modelValue", !c.modelValue);
29
+ }, o = H(c.testId, a), r = h(() => c.isDisabled || c.isLoading);
30
+ return (n, $) => (i(), m("div", {
31
+ class: f(["toggle", [`toggle--color-${e.color}`, `toggle--size-${e.size}`]])
32
+ }, [
33
+ s("div", d({ class: "toggle-wrap" }, t(o)[t(a).WRAPPER]), [
34
+ s("div", d({
35
+ class: ["toggle-body", {
36
+ "toggle-active": e.modelValue,
37
+ "toggle-disabled": t(r)
38
+ }]
39
+ }, t(o)[t(a).BODY], { onClick: T }), [
40
+ s("div", L, [
41
+ e.isLoading ? (i(), m("span", {
42
+ key: 0,
43
+ class: f(["loader", { "loader-active": e.modelValue }])
44
+ }, null, 2)) : l("", !0)
45
+ ])
46
+ ], 16),
47
+ s("input", d({
48
+ type: "checkbox",
49
+ class: "toggle-checkbox",
50
+ disabled: t(r),
51
+ checked: e.modelValue
52
+ }, t(o)[t(a).FIELD]), null, 16, P),
53
+ n.$slots["icon-left"] ? g(n.$slots, "icon-left", { key: 0 }, void 0, !0) : l("", !0),
54
+ e.text || e.activeText || e.inactiveText ? (i(), u(t(E), d({
55
+ key: 1,
56
+ variant: "body1",
57
+ "is-truncated": "",
58
+ class: "toggle-text"
59
+ }, t(o)[t(a).TEXT]), {
60
+ default: v(() => [
61
+ y(b(e.text ?? (e.modelValue ? e.activeText : e.inactiveText)), 1)
62
+ ]),
63
+ _: 1
64
+ }, 16)) : l("", !0),
65
+ n.$slots["icon-right"] ? g(n.$slots, "icon-right", { key: 2 }, void 0, !0) : l("", !0),
66
+ e.hoverHelpText ? (i(), u(t(D), {
67
+ key: 3,
68
+ triggers: ["hover"],
69
+ text: e.hoverHelpText,
70
+ placement: e.hoverHelpTextPlacement
71
+ }, {
72
+ default: v(() => [
73
+ V(t(I), {
74
+ class: "info-icon",
75
+ name: "question",
76
+ type: "fill",
77
+ size: "1rem"
78
+ })
79
+ ]),
80
+ _: 1
81
+ }, 8, ["text", "placement"])) : l("", !0)
82
+ ], 16),
83
+ e.feedbackText ? (i(), u(B, d({
84
+ key: 0,
85
+ class: "feedback-text",
86
+ text: e.feedbackText,
87
+ variant: e.feedbackVariant,
88
+ "show-icon": !1
89
+ }, t(o)[t(a).HELPER_TEXT]), null, 16, ["text", "variant"])) : l("", !0)
90
+ ], 2));
91
+ }
92
+ });
93
+ export {
94
+ F as default
95
+ };
@@ -0,0 +1,313 @@
1
+ declare const ToggleTypes: () => ({
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ text: string;
7
+ size: "small" | "medium";
8
+ testId: string;
9
+ color: "primary" | "test";
10
+ feedbackVariant: "error" | "success" | "warning";
11
+ hoverHelpText: string;
12
+ hoverHelpTextPlacement: "auto" | "auto-start" | "auto-end" | "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
13
+ feedbackText: string;
14
+ isLoading: boolean;
15
+ activeText: string;
16
+ inactiveText: string;
17
+ isDisabled: boolean;
18
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
19
+ text: {
20
+ type: import("vue").PropType<string>;
21
+ default: any;
22
+ };
23
+ size: {
24
+ type: import("vue").PropType<"small" | "medium">;
25
+ default: string;
26
+ };
27
+ testId: {
28
+ type: import("vue").PropType<string>;
29
+ default: string;
30
+ };
31
+ modelValue: {
32
+ type: import("vue").PropType<boolean>;
33
+ required: true;
34
+ };
35
+ color: {
36
+ type: import("vue").PropType<"primary" | "test">;
37
+ default: string;
38
+ };
39
+ feedbackVariant: {
40
+ type: import("vue").PropType<"error" | "success" | "warning">;
41
+ default: any;
42
+ };
43
+ hoverHelpText: {
44
+ type: import("vue").PropType<string>;
45
+ default: string;
46
+ };
47
+ hoverHelpTextPlacement: {
48
+ type: import("vue").PropType<"auto" | "auto-start" | "auto-end" | "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
49
+ default: string;
50
+ };
51
+ feedbackText: {
52
+ type: import("vue").PropType<string>;
53
+ default: string;
54
+ };
55
+ isLoading: {
56
+ type: import("vue").PropType<boolean>;
57
+ default: boolean;
58
+ };
59
+ activeText: {
60
+ type: import("vue").PropType<string>;
61
+ default: any;
62
+ };
63
+ inactiveText: {
64
+ type: import("vue").PropType<string>;
65
+ default: any;
66
+ };
67
+ isDisabled: {
68
+ type: import("vue").PropType<boolean>;
69
+ default: boolean;
70
+ };
71
+ }>> & {
72
+ "onUpdate:modelValue"?: (value: boolean) => any;
73
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "text" | "size" | "testId" | "color" | "feedbackVariant" | "hoverHelpText" | "hoverHelpTextPlacement" | "feedbackText" | "isLoading" | "activeText" | "inactiveText" | "isDisabled">;
74
+ $attrs: {
75
+ [x: string]: unknown;
76
+ };
77
+ $refs: {
78
+ [x: string]: unknown;
79
+ };
80
+ $slots: Readonly<{
81
+ [name: string]: import("vue").Slot;
82
+ }>;
83
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
84
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
85
+ $emit: (event: "update:modelValue", value: boolean) => void;
86
+ $el: any;
87
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
88
+ text: {
89
+ type: import("vue").PropType<string>;
90
+ default: any;
91
+ };
92
+ size: {
93
+ type: import("vue").PropType<"small" | "medium">;
94
+ default: string;
95
+ };
96
+ testId: {
97
+ type: import("vue").PropType<string>;
98
+ default: string;
99
+ };
100
+ modelValue: {
101
+ type: import("vue").PropType<boolean>;
102
+ required: true;
103
+ };
104
+ color: {
105
+ type: import("vue").PropType<"primary" | "test">;
106
+ default: string;
107
+ };
108
+ feedbackVariant: {
109
+ type: import("vue").PropType<"error" | "success" | "warning">;
110
+ default: any;
111
+ };
112
+ hoverHelpText: {
113
+ type: import("vue").PropType<string>;
114
+ default: string;
115
+ };
116
+ hoverHelpTextPlacement: {
117
+ type: import("vue").PropType<"auto" | "auto-start" | "auto-end" | "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
118
+ default: string;
119
+ };
120
+ feedbackText: {
121
+ type: import("vue").PropType<string>;
122
+ default: string;
123
+ };
124
+ isLoading: {
125
+ type: import("vue").PropType<boolean>;
126
+ default: boolean;
127
+ };
128
+ activeText: {
129
+ type: import("vue").PropType<string>;
130
+ default: any;
131
+ };
132
+ inactiveText: {
133
+ type: import("vue").PropType<string>;
134
+ default: any;
135
+ };
136
+ isDisabled: {
137
+ type: import("vue").PropType<boolean>;
138
+ default: boolean;
139
+ };
140
+ }>> & {
141
+ "onUpdate:modelValue"?: (value: boolean) => any;
142
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
143
+ "update:modelValue": (value: boolean) => void;
144
+ }, string, {
145
+ text: string;
146
+ size: "small" | "medium";
147
+ testId: string;
148
+ color: "primary" | "test";
149
+ feedbackVariant: "error" | "success" | "warning";
150
+ hoverHelpText: string;
151
+ hoverHelpTextPlacement: "auto" | "auto-start" | "auto-end" | "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
152
+ feedbackText: string;
153
+ isLoading: boolean;
154
+ activeText: string;
155
+ inactiveText: string;
156
+ isDisabled: boolean;
157
+ }, {}, string> & {
158
+ beforeCreate?: (() => void) | (() => void)[];
159
+ created?: (() => void) | (() => void)[];
160
+ beforeMount?: (() => void) | (() => void)[];
161
+ mounted?: (() => void) | (() => void)[];
162
+ beforeUpdate?: (() => void) | (() => void)[];
163
+ updated?: (() => void) | (() => void)[];
164
+ activated?: (() => void) | (() => void)[];
165
+ deactivated?: (() => void) | (() => void)[];
166
+ beforeDestroy?: (() => void) | (() => void)[];
167
+ beforeUnmount?: (() => void) | (() => void)[];
168
+ destroyed?: (() => void) | (() => void)[];
169
+ unmounted?: (() => void) | (() => void)[];
170
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
171
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
172
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
173
+ };
174
+ $forceUpdate: () => void;
175
+ $nextTick: typeof import("vue").nextTick;
176
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
177
+ } & Readonly<import("vue").ExtractPropTypes<{
178
+ text: {
179
+ type: import("vue").PropType<string>;
180
+ default: any;
181
+ };
182
+ size: {
183
+ type: import("vue").PropType<"small" | "medium">;
184
+ default: string;
185
+ };
186
+ testId: {
187
+ type: import("vue").PropType<string>;
188
+ default: string;
189
+ };
190
+ modelValue: {
191
+ type: import("vue").PropType<boolean>;
192
+ required: true;
193
+ };
194
+ color: {
195
+ type: import("vue").PropType<"primary" | "test">;
196
+ default: string;
197
+ };
198
+ feedbackVariant: {
199
+ type: import("vue").PropType<"error" | "success" | "warning">;
200
+ default: any;
201
+ };
202
+ hoverHelpText: {
203
+ type: import("vue").PropType<string>;
204
+ default: string;
205
+ };
206
+ hoverHelpTextPlacement: {
207
+ type: import("vue").PropType<"auto" | "auto-start" | "auto-end" | "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
208
+ default: string;
209
+ };
210
+ feedbackText: {
211
+ type: import("vue").PropType<string>;
212
+ default: string;
213
+ };
214
+ isLoading: {
215
+ type: import("vue").PropType<boolean>;
216
+ default: boolean;
217
+ };
218
+ activeText: {
219
+ type: import("vue").PropType<string>;
220
+ default: any;
221
+ };
222
+ inactiveText: {
223
+ type: import("vue").PropType<string>;
224
+ default: any;
225
+ };
226
+ isDisabled: {
227
+ type: import("vue").PropType<boolean>;
228
+ default: boolean;
229
+ };
230
+ }>> & {
231
+ "onUpdate:modelValue"?: (value: boolean) => any;
232
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
233
+ __isFragment?: never;
234
+ __isTeleport?: never;
235
+ __isSuspense?: never;
236
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
237
+ text: {
238
+ type: import("vue").PropType<string>;
239
+ default: any;
240
+ };
241
+ size: {
242
+ type: import("vue").PropType<"small" | "medium">;
243
+ default: string;
244
+ };
245
+ testId: {
246
+ type: import("vue").PropType<string>;
247
+ default: string;
248
+ };
249
+ modelValue: {
250
+ type: import("vue").PropType<boolean>;
251
+ required: true;
252
+ };
253
+ color: {
254
+ type: import("vue").PropType<"primary" | "test">;
255
+ default: string;
256
+ };
257
+ feedbackVariant: {
258
+ type: import("vue").PropType<"error" | "success" | "warning">;
259
+ default: any;
260
+ };
261
+ hoverHelpText: {
262
+ type: import("vue").PropType<string>;
263
+ default: string;
264
+ };
265
+ hoverHelpTextPlacement: {
266
+ type: import("vue").PropType<"auto" | "auto-start" | "auto-end" | "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
267
+ default: string;
268
+ };
269
+ feedbackText: {
270
+ type: import("vue").PropType<string>;
271
+ default: string;
272
+ };
273
+ isLoading: {
274
+ type: import("vue").PropType<boolean>;
275
+ default: boolean;
276
+ };
277
+ activeText: {
278
+ type: import("vue").PropType<string>;
279
+ default: any;
280
+ };
281
+ inactiveText: {
282
+ type: import("vue").PropType<string>;
283
+ default: any;
284
+ };
285
+ isDisabled: {
286
+ type: import("vue").PropType<boolean>;
287
+ default: boolean;
288
+ };
289
+ }>> & {
290
+ "onUpdate:modelValue"?: (value: boolean) => any;
291
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
292
+ "update:modelValue": (value: boolean) => void;
293
+ }, string, {
294
+ text: string;
295
+ size: "small" | "medium";
296
+ testId: string;
297
+ color: "primary" | "test";
298
+ feedbackVariant: "error" | "success" | "warning";
299
+ hoverHelpText: string;
300
+ hoverHelpTextPlacement: "auto" | "auto-start" | "auto-end" | "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
301
+ feedbackText: string;
302
+ isLoading: boolean;
303
+ activeText: string;
304
+ inactiveText: string;
305
+ isDisabled: boolean;
306
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
307
+ $slots: {
308
+ "icon-left"?(_: {}): any;
309
+ "icon-right"?(_: {}): any;
310
+ };
311
+ }))[];
312
+ export { default as Toggle } from './ToggleV4.vue';
313
+ export { ToggleTypes };
@@ -0,0 +1,6 @@
1
+ import o from "./ToggleV4.vue.js";
2
+ const g = () => [o];
3
+ export {
4
+ o as Toggle,
5
+ g as ToggleTypes
6
+ };
@@ -1,5 +1,8 @@
1
- import e from "./Tooltip.vue2.js";
2
- /* empty css */// import "../../../Tooltip.vue_vue_type_style_index_0_lang.css"; //');
1
+ import o from "./Tooltip.vue2.js";
2
+ /* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css"; //*');
4
+ // import "../../../Tooltip.vue_vue_type_style_index_1_lang.css"; //');
5
+ const l = /* @__PURE__ */ _(o, [["__scopeId", "data-v-9020a179"]]);
3
6
  export {
4
- e as default
7
+ l as default
5
8
  };
@@ -1,4 +1,4 @@
1
- import "../../../Tooltip.vue_vue_type_style_index_0_lang.css"; import { defineComponent as y, ref as s, useSlots as g, watch as h, openBlock as r, createBlock as n, unref as a, mergeProps as w, withCtx as u, createElementVNode as m, renderSlot as p, createTextVNode as S, toDisplayString as k, nextTick as $ } from "vue";
1
+ import "../../../Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css"; import "../../../Tooltip.vue_vue_type_style_index_1_lang.css"; import { defineComponent as y, ref as s, useSlots as g, watch as h, openBlock as r, createBlock as n, unref as a, mergeProps as w, withCtx as u, createElementVNode as m, renderSlot as p, createTextVNode as S, toDisplayString as k, nextTick as $ } from "vue";
2
2
  import I from "./TextWithTitleContent.vue.js";
3
3
  import "../../typography/Heading.vue.js";
4
4
  import W from "../../typography/Text.vue.js";
@@ -66,7 +66,7 @@ const B = { class: "light-theme-v4" }, O = /* @__PURE__ */ y({
66
66
  ]),
67
67
  _: 1
68
68
  }, 8, ["test-id"]))
69
- ])
69
+ ], !0)
70
70
  ])
71
71
  ]),
72
72
  default: u(() => [
@@ -75,7 +75,7 @@ const B = { class: "light-theme-v4" }, O = /* @__PURE__ */ y({
75
75
  ref: d,
76
76
  class: "container"
77
77
  }, [
78
- p(t.$slots, "default")
78
+ p(t.$slots, "default", {}, void 0, !0)
79
79
  ], 512)
80
80
  ]),
81
81
  _: 3
@@ -1,7 +1,6 @@
1
- import "./Tooltip.vue.js";
2
- import o from "./Tooltip.vue2.js";
3
- const i = () => [o];
1
+ import o from "./Tooltip.vue.js";
2
+ const t = () => [o];
4
3
  export {
5
4
  o as Tooltip,
6
- i as TooltipTypes
5
+ t as TooltipTypes
7
6
  };