@ironsource/shared-ui 2.2.0-rc.2 → 2.2.0-rc.4

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 (43) hide show
  1. package/Chart.vue_vue_type_style_index_0_scoped_22477735_lang.css +1 -0
  2. package/ChartHeader.vue_vue_type_style_index_0_scoped_9a603520_lang.css +1 -0
  3. package/ChartPlane.vue_vue_type_style_index_0_scoped_6de5cddb_lang.css +1 -0
  4. package/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +1 -0
  5. package/SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css +1 -0
  6. package/components/button/v3/Button.vue.d.ts +6 -6
  7. package/components/button/v3/index.d.ts +14 -14
  8. package/components/chart/Chart.vue.d.ts +5 -0
  9. package/components/chart/Chart.vue.js +3 -3
  10. package/components/chart/Chart.vue2.js +10 -8
  11. package/components/chart/ChartHeader.vue.d.ts +5 -0
  12. package/components/chart/ChartHeader.vue.js +3 -3
  13. package/components/chart/ChartHeader.vue2.js +73 -49
  14. package/components/chart/ChartPlane.vue.d.ts +5 -0
  15. package/components/chart/ChartPlane.vue.js +3 -3
  16. package/components/chart/ChartPlane.vue2.js +33 -31
  17. package/components/chart/ChartStoryArgs.d.ts +6 -0
  18. package/components/chart/index.d.ts +20 -1
  19. package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
  20. package/components/emptyState/v3/index.d.ts +7 -7
  21. package/components/includeExclude/index.d.ts +16 -16
  22. package/components/inlineCopy/InlineCopy.vue.d.ts +15 -0
  23. package/components/inlineCopy/InlineCopy.vue.js +2 -2
  24. package/components/inlineCopy/InlineCopy.vue2.js +80 -51
  25. package/components/inlineCopy/index.d.ts +27 -0
  26. package/components/snackbar/common/notify.js +25 -25
  27. package/components/snackbar/common/snackbar.common.js +19 -19
  28. package/components/snackbar/common/snackbar.types.d.ts +2 -1
  29. package/components/snackbar/v4/SnackbarV4.vue.d.ts +8 -1
  30. package/components/snackbar/v4/SnackbarV4.vue.js +2 -2
  31. package/components/snackbar/v4/SnackbarV4.vue2.js +85 -64
  32. package/components/table-cells/v3/Editable.vue.d.ts +1 -1
  33. package/components/table-cells/v3/index.d.ts +20 -20
  34. package/components/table-cells/v4/EditableV4.vue.d.ts +1 -1
  35. package/components/table-cells/v4/index.d.ts +20 -20
  36. package/index.d.ts +94 -40
  37. package/index.js +1 -1
  38. package/package.json +1 -1
  39. package/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +0 -1
  40. package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +0 -1
  41. package/ChartPlane.vue_vue_type_style_index_0_scoped_3c887f7e_lang.css +0 -1
  42. package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +0 -1
  43. package/SnackbarV4.vue_vue_type_style_index_0_scoped_1b650c39_lang.css +0 -1
@@ -1,4 +1,4 @@
1
- import { isVNode as x, createVNode as N, render as v } from "vue";
1
+ import { isVNode as x, createVNode as b, render as h } from "vue";
2
2
  import { snackbarTypes as C } from "./snackbar.types.js";
3
3
  const p = {
4
4
  "top-left": [],
@@ -7,38 +7,38 @@ const p = {
7
7
  "bottom-right": []
8
8
  }, g = 16;
9
9
  let A = 1;
10
- const E = 2e3, H = (h) => {
11
- const i = function(e = {}, t = null) {
10
+ const E = 2e3, H = (v) => {
11
+ const l = function(e = {}, t = null) {
12
12
  (typeof e == "string" || x(e)) && (e = { message: e });
13
13
  const o = e.position || "top-right";
14
14
  let n = e.zIndex || E, s = p[o].reduce(
15
- (m, { vm: b }) => m + (b.el?.offsetHeight || 0) + g,
15
+ (m, { vm: N }) => m + (N.el?.offsetHeight || 0) + g,
16
16
  e.offset || 0
17
17
  );
18
18
  s += g;
19
- const l = () => n++, d = `notification_${A++}`, u = e.onClose, f = {
19
+ const f = () => n++, d = `notification_${A++}`, u = e.onClose, i = {
20
20
  ...e,
21
- zIndex: l(),
21
+ zIndex: f(),
22
22
  offset: s,
23
23
  id: d,
24
24
  onClose: () => {
25
25
  y(d, o, u);
26
26
  }
27
- }, c = document.body, a = document.createElement("div"), r = N(
28
- h,
29
- f,
30
- x(f.message) ? {
31
- default: () => f.message
27
+ }, c = document.body, a = document.createElement("div"), r = b(
28
+ v,
29
+ i,
30
+ x(i.message) ? {
31
+ default: () => i.message
32
32
  } : null
33
33
  );
34
- return r.appContext = t ?? i._context, r.props.onDestroy = () => {
35
- v(null, a);
36
- }, v(r, a), p[o].push({ vm: r }), c.appendChild(a?.firstElementChild), {
34
+ return r.appContext = t ?? l._context, r.props.onDestroy = () => {
35
+ h(null, a);
36
+ }, h(r, a), p[o].push({ vm: r }), c.appendChild(a?.firstElementChild), {
37
37
  // instead of calling the onClose function directly, setting this value so that we can have the full lifecycle
38
38
  // for out component, so that all closing steps will not be skipped.
39
39
  close: () => {
40
- const m = r.component?.proxy;
41
- m && (m.visible = !1);
40
+ const m = r.component?.exposed;
41
+ m?.close && m.close();
42
42
  }
43
43
  };
44
44
  };
@@ -48,22 +48,22 @@ const E = 2e3, H = (h) => {
48
48
  );
49
49
  if (s === -1)
50
50
  return;
51
- const { vm: l } = n[s];
52
- if (!l)
51
+ const { vm: f } = n[s];
52
+ if (!f)
53
53
  return;
54
- o?.(l);
55
- const d = l.el?.offsetHeight, u = t.split("-")[0];
54
+ o?.(f);
55
+ const d = f.el?.offsetHeight, u = t.split("-")[0];
56
56
  n.splice(s, 1);
57
- const f = n.length;
58
- for (let c = s; c < f; c++) {
57
+ const i = n.length;
58
+ for (let c = s; c < i; c++) {
59
59
  const { el: a, component: r } = n[c].vm;
60
60
  r.props.offset = Number.parseInt(a.style[u], 10) - d - g;
61
61
  }
62
62
  }
63
63
  C.forEach((e) => {
64
- i[e] = (t = {}) => ((typeof t == "string" || x(t)) && (t = {
64
+ l[e] = (t = {}) => ((typeof t == "string" || x(t)) && (t = {
65
65
  message: t
66
- }), i({
66
+ }), l({
67
67
  ...t,
68
68
  type: e
69
69
  }));
@@ -75,7 +75,7 @@ const E = 2e3, H = (h) => {
75
75
  o && (o.visible = !1);
76
76
  });
77
77
  }
78
- return i.closeAll = I, i._context = null, i;
78
+ return l.closeAll = I, l._context = null, l;
79
79
  };
80
80
  export {
81
81
  H as default
@@ -1,44 +1,44 @@
1
- import { ref as v, computed as n, onMounted as p } from "vue";
2
- import { useEventListener as C, useTimeoutFn as h } from "@vueuse/core";
1
+ import { ref as y, computed as o, onMounted as C } from "vue";
2
+ import { useEventListener as h, useTimeoutFn as p } from "@vueuse/core";
3
3
  import k from "../../icon/v3/icons/Close.vue.js";
4
4
  import x from "../../icon/v3/icons/Check.vue.js";
5
5
  const w = (t) => {
6
6
  const r = {
7
7
  success: x,
8
8
  error: k
9
- }, o = v(!1);
9
+ }, e = y(!1);
10
10
  let c;
11
- const a = n(() => {
12
- const e = t.type;
13
- return e && r[t.type] ? e : "";
14
- }), l = n(() => r[t.type] || t.icon || ""), f = n(
11
+ const a = o(() => {
12
+ const n = t.type;
13
+ return n && r[t.type] ? n : "";
14
+ }), l = o(() => r[t.type] || t.icon || ""), f = o(
15
15
  () => t.position.endsWith("right") ? "right" : "left"
16
- ), m = n(
16
+ ), m = o(
17
17
  () => t.position.startsWith("top") ? "top" : "bottom"
18
- ), y = n(() => ({
18
+ ), d = o(() => ({
19
19
  [m.value]: `${t.offset}px`,
20
20
  zIndex: t.zIndex
21
21
  }));
22
22
  function i() {
23
- t.duration > 0 && ({ stop: c } = h(() => {
24
- o.value && s();
23
+ t.duration > 0 && ({ stop: c } = p(() => {
24
+ e.value && s();
25
25
  }, t.duration));
26
26
  }
27
27
  function u() {
28
28
  c?.();
29
29
  }
30
30
  function s() {
31
- o.value = !1;
31
+ e.value = !1;
32
32
  }
33
- function d({ code: e }) {
34
- e === "Delete" || e === "Backspace" ? u() : e === "Escape" ? o.value && s() : i();
33
+ function v({ code: n }) {
34
+ n === "Delete" || n === "Backspace" ? u() : n === "Escape" ? e.value && s() : i();
35
35
  }
36
- return p(() => {
37
- i(), o.value = !0;
38
- }), C(document, "keydown", d), {
39
- visible: o,
36
+ return C(() => {
37
+ t.isLoading || i(), e.value = !0;
38
+ }), h(document, "keydown", v), {
39
+ visible: e,
40
40
  horizontalClass: f,
41
- positionStyle: y,
41
+ positionStyle: d,
42
42
  clearTimer: u,
43
43
  startTimer: i,
44
44
  iconComponent: l,
@@ -16,13 +16,14 @@ export interface SnackbarProps {
16
16
  offset: number;
17
17
  onClick: () => void;
18
18
  onClose: () => void;
19
- type: 'success' | 'error' | 'info';
19
+ type: 'success' | 'error' | 'info' | 'loading';
20
20
  position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
21
21
  showClose?: boolean;
22
22
  title?: string;
23
23
  actionButtons: ButtonProps[];
24
24
  zIndex?: number;
25
25
  testId?: string;
26
+ isLoading?: boolean;
26
27
  }
27
28
  export type SnackbarOptions = Omit<SnackbarProps, 'id'> & {
28
29
  appendTo?: HTMLElement | string;
@@ -22,6 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
22
22
  zIndex?: number;
23
23
  actionButtons: ButtonProps[];
24
24
  testId: string;
25
+ isLoading: boolean;
25
26
  }>, {
26
27
  type: string;
27
28
  zIndex: number;
@@ -30,7 +31,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
30
31
  title: string;
31
32
  position: string;
32
33
  testId: string;
33
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
34
+ isLoading: boolean;
35
+ }>, {
36
+ close: () => void;
37
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
34
38
  destroy: (...args: any[]) => void;
35
39
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
36
40
  customClass: string;
@@ -50,6 +54,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
50
54
  zIndex?: number;
51
55
  actionButtons: ButtonProps[];
52
56
  testId: string;
57
+ isLoading: boolean;
53
58
  }>, {
54
59
  type: string;
55
60
  zIndex: number;
@@ -58,6 +63,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
58
63
  title: string;
59
64
  position: string;
60
65
  testId: string;
66
+ isLoading: boolean;
61
67
  }>>> & {
62
68
  onDestroy?: (...args: any[]) => any;
63
69
  }, {
@@ -68,6 +74,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
68
74
  zIndex: number;
69
75
  duration: number;
70
76
  showClose: boolean;
77
+ isLoading: boolean;
71
78
  }>, {
72
79
  default?(_: {}): any;
73
80
  actions?(_: {}): any;
@@ -1,7 +1,7 @@
1
1
  import o from "./SnackbarV4.vue2.js";
2
2
  /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../SnackbarV4.vue_vue_type_style_index_0_scoped_1b650c39_lang.css"; //*');
4
- const r = /* @__PURE__ */ _(o, [["__scopeId", "data-v-1b650c39"]]);
3
+ // import "../../../SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css"; //*');
4
+ const r = /* @__PURE__ */ _(o, [["__scopeId", "data-v-35c79635"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,18 +1,22 @@
1
- import "../../../SnackbarV4.vue_vue_type_style_index_0_scoped_1b650c39_lang.css"; import { defineComponent as $, computed as A, openBlock as n, createBlock as d, Transition as O, withCtx as f, withDirectives as I, createElementVNode as a, mergeProps as l, unref as t, createVNode as z, createTextVNode as T, toDisplayString as h, createCommentVNode as u, renderSlot as B, vShow as N, createElementBlock as S, Fragment as V, renderList as x, withModifiers as U } from "vue";
2
- import D from "../../icon/v4/IconV4.vue.js";
1
+ import "../../../SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css"; import { defineComponent as $, computed as O, onMounted as x, nextTick as z, openBlock as s, createBlock as l, Transition as V, withCtx as y, withDirectives as I, createElementVNode as r, mergeProps as c, unref as e, createElementBlock as g, createVNode as U, createTextVNode as b, toDisplayString as B, createCommentVNode as u, renderSlot as N, vShow as S, Fragment as D, renderList as H, withModifiers as q } from "vue";
2
+ import F from "../../icon/v4/IconV4.vue.js";
3
3
  import "../../icon/v4/IconFlag.vue.js";
4
- import H from "../../button/v4/ButtonV4.vue.js";
5
- import F from "../../button/v4/IconButtonV4.vue.js";
4
+ import G from "../../button/v4/ButtonV4.vue.js";
5
+ import P from "../../button/v4/IconButtonV4.vue.js";
6
6
  import "../../button/v4/ButtonGroup.vue.js";
7
7
  import "../../button/v4/ToggleButtonGroupAB.vue.js";
8
- import b from "../../typography/v4/Typography.vue.js";
9
- import { snackbarCommon as G } from "../common/snackbar.common.js";
10
- import { useTestIdAttrs as P } from "../../../utils/testIds.js";
8
+ import p from "../../typography/v4/Typography.vue.js";
9
+ import { snackbarCommon as R } from "../common/snackbar.common.js";
10
+ import { useTestIdAttrs as j } from "../../../utils/testIds.js";
11
11
  import { SnackbarTestIdModifiers as i } from "../../../testids/index.js";
12
- const R = ["id"], j = { class: "container" }, q = { class: "texts" }, J = { class: "message" }, K = { class: "action-wrapper" }, Q = {
12
+ import J from "../../loader/v4/Loader.vue.js";
13
+ const K = ["id"], Q = { class: "container" }, W = { class: "texts" }, X = {
14
+ key: 0,
15
+ class: "snackbar-icon-loading"
16
+ }, Y = { class: "message" }, Z = { class: "action-wrapper" }, _ = {
13
17
  key: 0,
14
18
  class: "actions"
15
- }, W = { class: "close-button-wrapper" }, lt = /* @__PURE__ */ $({
19
+ }, ee = { class: "close-button-wrapper" }, fe = /* @__PURE__ */ $({
16
20
  __name: "SnackbarV4",
17
21
  props: {
18
22
  customClass: null,
@@ -29,18 +33,19 @@ const R = ["id"], j = { class: "container" }, q = { class: "texts" }, J = { clas
29
33
  title: { default: "" },
30
34
  zIndex: { default: 0 },
31
35
  actionButtons: null,
32
- testId: { default: "" }
36
+ testId: { default: "" },
37
+ isLoading: { type: Boolean, default: !1 }
33
38
  },
34
39
  emits: ["destroy"],
35
- setup(e) {
36
- const m = e, {
37
- visible: p,
38
- horizontalClass: w,
39
- positionStyle: L,
40
- clearTimer: k,
41
- startTimer: C,
42
- close: y
43
- } = G(m), E = {
40
+ setup(t, { expose: w }) {
41
+ const m = t, {
42
+ visible: L,
43
+ horizontalClass: A,
44
+ positionStyle: E,
45
+ clearTimer: C,
46
+ startTimer: v,
47
+ close: f
48
+ } = R(m), h = {
44
49
  info: {
45
50
  iconName: "info",
46
51
  class: "snackbar-icon-info"
@@ -52,86 +57,102 @@ const R = ["id"], j = { class: "container" }, q = { class: "texts" }, J = { clas
52
57
  success: {
53
58
  iconName: "check-circle",
54
59
  class: "snackbar-icon-success"
60
+ },
61
+ loading: {
62
+ iconName: "circle-notch"
55
63
  }
56
- }, v = A(() => E[m.type]), r = P(m.testId, i), M = ({ closeOnClick: c, onClick: o }) => () => {
57
- c && y(), o && o();
64
+ }, k = O(() => h[m.type]), d = j(m.testId, i);
65
+ x(() => {
66
+ z(() => {
67
+ document.querySelectorAll(".snackbar-icon-loading circle").forEach((o) => {
68
+ o.setAttribute("r", "45%");
69
+ });
70
+ });
71
+ });
72
+ const M = ({ closeOnClick: a, onClick: o }) => () => {
73
+ a && f(), o && o();
58
74
  };
59
- return (c, o) => (n(), d(O, {
75
+ return w({
76
+ close: f
77
+ }), (a, o) => (s(), l(V, {
60
78
  name: "snackbar",
61
- onBeforeLeave: e.onClose,
62
- onAfterLeave: o[3] || (o[3] = (s) => c.$emit("destroy"))
79
+ onBeforeLeave: t.onClose,
80
+ onAfterLeave: o[3] || (o[3] = (n) => a.$emit("destroy"))
63
81
  }, {
64
- default: f(() => [
65
- I(a("div", l({
66
- id: e.id,
67
- class: ["snackbar light-theme-v4", [e.customClass, t(w)]],
68
- style: t(L),
82
+ default: y(() => [
83
+ I(r("div", c({
84
+ id: t.id,
85
+ class: ["snackbar light-theme-v4", [t.customClass, e(A)]],
86
+ style: e(E),
69
87
  role: "alert"
70
- }, t(r)[t(i).CONTAINER], {
88
+ }, e(d)[e(i).CONTAINER], {
71
89
  onMouseenter: o[0] || (o[0] = //@ts-ignore
72
- (...s) => t(k) && t(k)(...s)),
90
+ (...n) => e(C) && e(C)(...n)),
73
91
  onMouseleave: o[1] || (o[1] = //@ts-ignore
74
- (...s) => t(C) && t(C)(...s)),
92
+ (...n) => e(v) && e(v)(...n)),
75
93
  onClick: o[2] || (o[2] = //@ts-ignore
76
- (...s) => e.onClick && e.onClick(...s))
94
+ (...n) => t.onClick && t.onClick(...n))
77
95
  }), [
78
- a("div", j, [
79
- a("div", q, [
80
- e.title ? (n(), d(t(b), l({
96
+ r("div", Q, [
97
+ r("div", W, [
98
+ t.title ? (s(), l(e(p), c({
81
99
  key: 0,
82
100
  variant: "h4",
83
101
  class: "title"
84
- }, t(r)[t(i).TITLE]), {
85
- default: f(() => [
86
- z(t(D), l({
87
- name: t(v).iconName,
102
+ }, e(d)[e(i).TITLE]), {
103
+ default: y(() => [
104
+ e(k) === h.loading ? (s(), g("div", X, [
105
+ U(J, { "stroke-width": 1 })
106
+ ])) : (s(), l(e(F), c({
107
+ key: 1,
108
+ name: e(k).iconName,
88
109
  type: "fill",
89
110
  size: "20px",
90
- class: [t(v).class, "icon-container"]
91
- }, t(r)[t(i).ICON]), null, 16, ["name", "class"]),
92
- T(" " + h(e.title), 1)
111
+ class: [e(k).class, "icon-container"]
112
+ }, e(d)[e(i).ICON]), null, 16, ["name", "class"])),
113
+ b(" " + B(t.title), 1)
93
114
  ]),
94
115
  _: 1
95
116
  }, 16)) : u("", !0),
96
- I(a("div", J, [
97
- B(c.$slots, "default", {}, () => [
98
- e.dangerouslyUseHTMLString ? u("", !0) : (n(), d(t(b), l({
117
+ I(r("div", Y, [
118
+ N(a.$slots, "default", {}, () => [
119
+ t.dangerouslyUseHTMLString ? u("", !0) : (s(), l(e(p), c({
99
120
  key: 0,
100
121
  variant: "body2"
101
- }, t(r)[t(i).MESSAGE]), {
102
- default: f(() => [
103
- T(h(e.message), 1)
122
+ }, e(d)[e(i).MESSAGE]), {
123
+ default: y(() => [
124
+ b(B(t.message), 1)
104
125
  ]),
105
126
  _: 1
106
127
  }, 16))
107
128
  ], !0)
108
129
  ], 512), [
109
- [N, e.message]
130
+ [S, t.message]
110
131
  ]),
111
- a("div", K, [
112
- B(c.$slots, "actions", {}, () => [
113
- e.actionButtons ? (n(), S("div", Q, [
114
- (n(!0), S(V, null, x(e.actionButtons, (s, g) => (n(), d(t(H), l({
115
- key: g,
116
- "data-testid": e.testId ? `${e.testId}-${t(i).ACTION_BUTTON}-${g}` : "",
132
+ r("div", Z, [
133
+ N(a.$slots, "actions", {}, () => [
134
+ t.actionButtons ? (s(), g("div", _, [
135
+ (s(!0), g(D, null, H(t.actionButtons, (n, T) => (s(), l(e(G), c({
136
+ key: T,
137
+ "data-testid": t.testId ? `${t.testId}-${e(i).ACTION_BUTTON}-${T}` : "",
117
138
  size: "small"
118
- }, { ...s, onClick: M(s) }), null, 16, ["data-testid"]))), 128))
139
+ }, { ...n, onClick: M(n) }), null, 16, ["data-testid"]))), 128))
119
140
  ])) : u("", !0)
120
141
  ], !0)
121
142
  ])
122
143
  ]),
123
- a("div", W, [
124
- e.showClose ? (n(), d(t(F), l({
144
+ r("div", ee, [
145
+ t.showClose ? (s(), l(e(P), c({
125
146
  key: 0,
126
147
  "icon-name": "x",
127
148
  size: "small"
128
- }, t(r)[t(i).CLOSE], {
129
- onClick: U(t(y), ["stop"])
149
+ }, e(d)[e(i).CLOSE], {
150
+ onClick: q(e(f), ["stop"])
130
151
  }), null, 16, ["onClick"])) : u("", !0)
131
152
  ])
132
153
  ])
133
- ], 16, R), [
134
- [N, t(p)]
154
+ ], 16, K), [
155
+ [S, e(L)]
135
156
  ])
136
157
  ]),
137
158
  _: 3
@@ -139,5 +160,5 @@ const R = ["id"], j = { class: "container" }, q = { class: "texts" }, J = { clas
139
160
  }
140
161
  });
141
162
  export {
142
- lt as default
163
+ fe as default
143
164
  };
@@ -24,9 +24,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
24
24
  validateFunction: () => false;
25
25
  }>>>, {
26
26
  cell: string;
27
+ isLoading: boolean;
27
28
  isEditing: boolean;
28
29
  validateFunction: (value: unknown) => string | boolean;
29
- isLoading: boolean;
30
30
  }>, {
31
31
  input?(_: {}): any;
32
32
  content?(_: {}): any;
@@ -4,14 +4,18 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
4
4
  $data: {};
5
5
  $props: Partial<{
6
6
  cell: string;
7
+ isLoading: boolean;
7
8
  isEditing: boolean;
8
9
  validateFunction: (value: unknown) => string | boolean;
9
- isLoading: boolean;
10
10
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
11
11
  cell: {
12
12
  type: import("vue").PropType<string>;
13
13
  default: string;
14
14
  };
15
+ isLoading: {
16
+ type: import("vue").PropType<boolean>;
17
+ default: boolean;
18
+ };
15
19
  isEditing: {
16
20
  type: import("vue").PropType<boolean>;
17
21
  default: boolean;
@@ -20,10 +24,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
20
24
  type: import("vue").PropType<(value: unknown) => string | boolean>;
21
25
  default: () => false;
22
26
  };
23
- isLoading: {
24
- type: import("vue").PropType<boolean>;
25
- default: boolean;
26
- };
27
27
  rowIndex: {
28
28
  type: import("vue").PropType<number>;
29
29
  required: true;
@@ -32,7 +32,7 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
32
32
  type: import("vue").PropType<number>;
33
33
  required: true;
34
34
  };
35
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "cell" | "isEditing" | "validateFunction" | "isLoading">;
35
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "cell" | "isLoading" | "isEditing" | "validateFunction">;
36
36
  $attrs: {
37
37
  [x: string]: unknown;
38
38
  };
@@ -51,6 +51,10 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
51
51
  type: import("vue").PropType<string>;
52
52
  default: string;
53
53
  };
54
+ isLoading: {
55
+ type: import("vue").PropType<boolean>;
56
+ default: boolean;
57
+ };
54
58
  isEditing: {
55
59
  type: import("vue").PropType<boolean>;
56
60
  default: boolean;
@@ -59,10 +63,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
59
63
  type: import("vue").PropType<(value: unknown) => string | boolean>;
60
64
  default: () => false;
61
65
  };
62
- isLoading: {
63
- type: import("vue").PropType<boolean>;
64
- default: boolean;
65
- };
66
66
  rowIndex: {
67
67
  type: import("vue").PropType<number>;
68
68
  required: true;
@@ -73,9 +73,9 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
73
73
  };
74
74
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
75
75
  cell: string;
76
+ isLoading: boolean;
76
77
  isEditing: boolean;
77
78
  validateFunction: (value: unknown) => string | boolean;
78
- isLoading: boolean;
79
79
  }, {}, string> & {
80
80
  beforeCreate?: (() => void) | (() => void)[];
81
81
  created?: (() => void) | (() => void)[];
@@ -101,6 +101,10 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
101
101
  type: import("vue").PropType<string>;
102
102
  default: string;
103
103
  };
104
+ isLoading: {
105
+ type: import("vue").PropType<boolean>;
106
+ default: boolean;
107
+ };
104
108
  isEditing: {
105
109
  type: import("vue").PropType<boolean>;
106
110
  default: boolean;
@@ -109,10 +113,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
109
113
  type: import("vue").PropType<(value: unknown) => string | boolean>;
110
114
  default: () => false;
111
115
  };
112
- isLoading: {
113
- type: import("vue").PropType<boolean>;
114
- default: boolean;
115
- };
116
116
  rowIndex: {
117
117
  type: import("vue").PropType<number>;
118
118
  required: true;
@@ -130,6 +130,10 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
130
130
  type: import("vue").PropType<string>;
131
131
  default: string;
132
132
  };
133
+ isLoading: {
134
+ type: import("vue").PropType<boolean>;
135
+ default: boolean;
136
+ };
133
137
  isEditing: {
134
138
  type: import("vue").PropType<boolean>;
135
139
  default: boolean;
@@ -138,10 +142,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
138
142
  type: import("vue").PropType<(value: unknown) => string | boolean>;
139
143
  default: () => false;
140
144
  };
141
- isLoading: {
142
- type: import("vue").PropType<boolean>;
143
- default: boolean;
144
- };
145
145
  rowIndex: {
146
146
  type: import("vue").PropType<number>;
147
147
  required: true;
@@ -152,9 +152,9 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
152
152
  };
153
153
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
154
154
  cell: string;
155
+ isLoading: boolean;
155
156
  isEditing: boolean;
156
157
  validateFunction: (value: unknown) => string | boolean;
157
- isLoading: boolean;
158
158
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
159
159
  $slots: {
160
160
  input?(_: {}): any;
@@ -37,10 +37,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
37
37
  }>>>, {
38
38
  type: "input" | "dropdown";
39
39
  cell: string;
40
+ isLoading: boolean;
40
41
  withIcons: boolean;
41
42
  saveOnClickOutside: boolean;
42
43
  validateFunction: (value: unknown) => string | boolean;
43
- isLoading: boolean;
44
44
  displayValue: (option: unknown) => unknown;
45
45
  }>, {
46
46
  input?(_: {}): any;