@ironsource/shared-ui 2.1.7-test.4 → 2.1.7-test.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.
Files changed (58) hide show
  1. package/DataGrid.vue_vue_type_style_index_0_scoped_5273976b_lang.css +1 -0
  2. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +1 -0
  3. package/EditableV4.vue_vue_type_style_index_0_scoped_e0c047b4_lang.css +1 -0
  4. package/IconV4.vue_vue_type_style_index_0_scoped_1eea7671_lang.css +1 -0
  5. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_82ba0e12_lang.css +1 -0
  6. package/SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_lang.css +1 -0
  7. package/TabsV4.vue_vue_type_style_index_0_scoped_f9433b11_lang.css +1 -0
  8. package/TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css +1 -0
  9. package/ThemeWrapper.vue_vue_type_style_index_0_scoped_66bd448a_lang.css +1 -0
  10. package/components/ThemeWrapper/ThemeWrapper.vue.js +2 -2
  11. package/components/ThemeWrapper/ThemeWrapper.vue2.js +5 -5
  12. package/components/appHeader/AppHeader.vue.d.ts +1 -1
  13. package/components/appHeader/index.d.ts +9 -9
  14. package/components/icon/v4/IconV4.vue.d.ts +0 -5
  15. package/components/icon/v4/IconV4.vue.js +4 -4
  16. package/components/icon/v4/IconV4.vue2.js +26 -29
  17. package/components/icon/v4/index.d.ts +1 -20
  18. package/components/input/v4/TextField.vue.js +3 -3
  19. package/components/input/v4/TextField.vue2.js +1 -1
  20. package/components/sortableList/SortableList.vue.d.ts +25 -0
  21. package/components/sortableList/SortableList.vue.js +4 -4
  22. package/components/sortableList/SortableList.vue2.js +129 -89
  23. package/components/sortableList/index.d.ts +88 -2
  24. package/components/table/common/Table.common.js +71 -68
  25. package/components/table/v3/Table.vue.d.ts +2 -2
  26. package/components/table/v3/index.d.ts +39 -39
  27. package/components/table/v4/DataGrid.vue.d.ts +12 -2
  28. package/components/table/v4/DataGrid.vue.js +4 -4
  29. package/components/table/v4/DataGrid.vue2.js +103 -100
  30. package/components/table/v4/DataGridRowsCounter.vue.js +2 -2
  31. package/components/table/v4/DataGridRowsCounter.vue2.js +14 -13
  32. package/components/table/v4/MultipleDataGrid.vue.d.ts +16 -3
  33. package/components/table/v4/MultipleDataGrid.vue.js +5 -5
  34. package/components/table/v4/MultipleDataGrid.vue2.js +112 -69
  35. package/components/table/v4/index.d.ts +126 -75
  36. package/components/table/v4/storyUtils.d.ts +4 -0
  37. package/components/table-cells/common/Editable.common.js +37 -26
  38. package/components/table-cells/common/EditableContext.d.ts +1 -0
  39. package/components/table-cells/v4/EditableV4.vue.d.ts +5 -0
  40. package/components/table-cells/v4/EditableV4.vue.js +5 -5
  41. package/components/table-cells/v4/EditableV4.vue2.js +18 -17
  42. package/components/table-cells/v4/index.d.ts +20 -1
  43. package/components/tabs/v4/TabsV4.vue.js +4 -4
  44. package/components/tabs/v4/TabsV4.vue2.js +37 -40
  45. package/design-foundation.stories/icons/iconsData.d.ts +2 -6
  46. package/index.d.ts +566 -292
  47. package/package.json +1 -1
  48. package/utils/formatNumbers.d.ts +4 -0
  49. package/utils/formatNumbers.js +11 -0
  50. package/DataGrid.vue_vue_type_style_index_0_scoped_63aaf3be_lang.css +0 -1
  51. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_0ce71f73_lang.css +0 -1
  52. package/EditableV4.vue_vue_type_style_index_0_scoped_31bfb722_lang.css +0 -1
  53. package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +0 -1
  54. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_1bdca43d_lang.css +0 -1
  55. package/SortableList.vue_vue_type_style_index_0_scoped_21842d59_lang.css +0 -1
  56. package/TabsV4.vue_vue_type_style_index_0_scoped_bab40cfe_lang.css +0 -1
  57. package/TextField.vue_vue_type_style_index_0_scoped_eb472aa3_lang.css +0 -1
  58. package/ThemeWrapper.vue_vue_type_style_index_0_scoped_b62ee695_lang.css +0 -1
@@ -1,13 +1,21 @@
1
- import "../../SortableList.vue_vue_type_style_index_0_scoped_21842d59_lang.css"; import { defineComponent as $, computed as p, ref as F, openBlock as c, createElementBlock as m, mergeProps as v, unref as t, createBlock as y, isRef as E, createCommentVNode as P, createVNode as w, withCtx as C, Fragment as x, renderList as B, renderSlot as D, createElementVNode as G } from "vue";
2
- import { VueDraggable as U } from "vue-draggable-plus";
3
- import R from "./SortableItem.vue.js";
4
- import M from "../search/v4/SearchV4.vue.js";
5
- import { useVModel as K } from "@vueuse/core";
6
- import { matchString as q } from "../../utils/search.js";
7
- import { useTestIdAttrs as Q } from "../../utils/testIds.js";
8
- import { SortableListTestIdModifiers as f } from "../../testids/index.js";
9
- import { DRAG_CURSOR_CSS_CLASS as H } from "./consts.js";
10
- const le = /* @__PURE__ */ $({
1
+ import "../../SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_lang.css"; import { defineComponent as F, computed as f, ref as P, openBlock as s, createElementBlock as i, mergeProps as T, unref as l, createBlock as g, isRef as N, createCommentVNode as y, withCtx as m, Fragment as V, renderList as D, renderSlot as S, createElementVNode as G, createVNode as $, createTextVNode as U, toDisplayString as M } from "vue";
2
+ import { VueDraggable as K } from "vue-draggable-plus";
3
+ import w from "./SortableItem.vue.js";
4
+ import Q from "../search/v4/SearchV4.vue.js";
5
+ import j from "../typography/v4/Typography.vue.js";
6
+ import z from "../skeleton/v4/SkeletonV4.vue.js";
7
+ import { useVModel as J } from "@vueuse/core";
8
+ import { matchString as x } from "../../utils/search.js";
9
+ import { useTestIdAttrs as W } from "../../utils/testIds.js";
10
+ import { SortableListTestIdModifiers as I } from "../../testids/index.js";
11
+ import { DRAG_CURSOR_CSS_CLASS as q } from "./consts.js";
12
+ const X = {
13
+ key: 1,
14
+ class: "sortable-list-container"
15
+ }, Y = { class: "loader-bars" }, Z = {
16
+ key: 3,
17
+ class: "empty-state-title"
18
+ }, ue = /* @__PURE__ */ F({
11
19
  __name: "SortableList",
12
20
  props: {
13
21
  items: { default: () => [] },
@@ -19,102 +27,134 @@ const le = /* @__PURE__ */ $({
19
27
  showSearch: { type: Boolean, default: !1 },
20
28
  searchPlaceholder: { default: "Search" },
21
29
  searchHandler: { type: Function, default: null },
30
+ isLoading: { type: Boolean, default: !1 },
31
+ loadingRowCount: { default: 3 },
32
+ emptyStateTitle: { default: "No results" },
22
33
  testId: { default: "" }
23
34
  },
24
- emits: ["update:items", "update:openId", "update:selectedId", "update:selectedChildId", "update:search", "clearSearch"],
25
- setup(d, { emit: s }) {
26
- const r = d, o = K(r, "search", s), S = p(() => !!o.value?.trim()), L = p(() => S.value ? r.items.filter((l) => {
27
- const a = l.children || [], e = o.value;
28
- return r.searchHandler ? r.searchHandler(l, e) : q(l.displayText, e) || // match parent item
29
- a.some((n) => q(n.displayText, e));
30
- }) : r.items), u = p({
35
+ emits: ["sortableItemDragged", "update:items", "update:openId", "update:selectedId", "update:selectedChildId", "update:search", "clearSearch"],
36
+ setup(d, { emit: o }) {
37
+ const n = d, u = J(n, "search", o), v = f(() => !!u.value?.trim()), C = f(() => v.value ? n.items.filter((t) => {
38
+ const a = t.children || [], e = u.value;
39
+ return n.searchHandler ? n.searchHandler(t, e) : x(t.displayText, e) || // match parent item
40
+ a.some((r) => x(r.displayText, e));
41
+ }) : n.items), h = f({
31
42
  get() {
32
- return L.value.filter((l) => !l.isLocked);
43
+ return C.value.filter((t) => !t.isLocked);
33
44
  },
34
- set(l) {
35
- s("update:items", [...l, ...V.value]);
45
+ set(t) {
46
+ o("update:items", [...t, ...b.value]);
36
47
  }
37
- }), V = p(
38
- () => L.value.filter((l) => l.isLocked)
39
- ), I = F(!1), N = (l) => {
40
- I.value = !0, setTimeout(() => l.target.classList.add(H), 50);
41
- }, O = (l) => {
42
- I.value = !1, l.target.classList.remove(H);
43
- }, T = (l) => (S.value || l.id === r.openId) && !I.value, b = (l, a) => {
44
- a ? s("update:openId", l.id) : s("update:openId", null);
45
- }, i = (l) => l.id === r.selectedId, k = (l) => {
46
- s("update:selectedId", l.id), s("update:selectedChildId", null);
47
- }, A = (l, a) => {
48
- s("update:selectedChildId", l.id), s("update:selectedId", a.id), s("update:openId", a.id);
49
- }, g = Q(r.testId, f);
50
- return (l, a) => (c(), m("div", v({ class: "sortable-list-container" }, t(g)[t(f).CONTAINER]), [
51
- d.showSearch ? (c(), y(t(M), {
48
+ }), b = f(
49
+ () => C.value.filter((t) => t.isLocked)
50
+ ), k = P(!1), H = (t) => {
51
+ k.value = !0, setTimeout(() => t.target.classList.add(q), 50);
52
+ }, O = (t) => {
53
+ const { target: a, item: e, newIndex: r } = t;
54
+ k.value = !1, a.classList.remove(q);
55
+ const c = e.attributes["data-id"]?.value;
56
+ o("sortableItemDragged", { id: c, newIndex: r });
57
+ }, R = (t) => (v.value || t.id === n.openId) && !k.value, A = (t, a) => {
58
+ a ? o("update:openId", t.id) : o("update:openId", null);
59
+ }, p = (t) => t.id === n.selectedId, B = (t) => {
60
+ o("update:selectedId", t.id), o("update:selectedChildId", null);
61
+ }, E = (t, a) => {
62
+ o("update:selectedChildId", t.id), o("update:selectedId", a.id), o("update:openId", a.id);
63
+ }, L = W(n.testId, I);
64
+ return (t, a) => (s(), i("div", T({ class: "sortable-list-and-search-container" }, l(L)[l(I).CONTAINER]), [
65
+ d.showSearch ? (s(), g(l(Q), {
52
66
  key: 0,
53
- modelValue: t(o),
54
- "onUpdate:modelValue": a[0] || (a[0] = (e) => E(o) ? o.value = e : null),
67
+ modelValue: l(u),
68
+ "onUpdate:modelValue": a[0] || (a[0] = (e) => N(u) ? u.value = e : null),
55
69
  class: "list-search",
56
70
  placeholder: d.searchPlaceholder,
57
71
  "test-id": d.testId,
58
- onOnClear: a[1] || (a[1] = (e) => s("clearSearch"))
59
- }, null, 8, ["modelValue", "placeholder", "test-id"])) : P("", !0),
60
- w(t(U), v({
61
- modelValue: t(u),
62
- "onUpdate:modelValue": a[2] || (a[2] = (e) => E(u) ? u.value = e : null),
63
- class: "sortable-list",
64
- filter: ".expand-icon",
65
- animation: 150,
66
- handle: ".draggable-handle",
67
- disabled: t(S)
68
- }, t(g)[t(f).DRAGGABLE_LIST], {
69
- onStart: N,
70
- onEnd: O
71
- }), {
72
- default: C(() => [
73
- (c(!0), m(x, null, B(t(u), (e, n) => (c(), y(R, {
72
+ onOnClear: a[1] || (a[1] = (e) => o("clearSearch"))
73
+ }, null, 8, ["modelValue", "placeholder", "test-id"])) : y("", !0),
74
+ d.isLoading ? S(t.$slots, "loader", { key: 2 }, () => [
75
+ G("div", Y, [
76
+ (s(!0), i(V, null, D(d.loadingRowCount, (e) => (s(), i("div", { key: e }, [
77
+ $(l(z), {
78
+ round: "",
79
+ class: "loader-bar"
80
+ })
81
+ ]))), 128))
82
+ ])
83
+ ], !0) : (s(), i("div", X, [
84
+ l(h).length ? (s(), g(l(K), T({
85
+ key: 0,
86
+ modelValue: l(h),
87
+ "onUpdate:modelValue": a[2] || (a[2] = (e) => N(h) ? h.value = e : null),
88
+ class: "sortable-list",
89
+ filter: ".expand-icon",
90
+ animation: 150,
91
+ handle: ".draggable-handle",
92
+ disabled: l(v)
93
+ }, l(L)[l(I).DRAGGABLE_LIST], {
94
+ onStart: H,
95
+ onEnd: O
96
+ }), {
97
+ default: m(() => [
98
+ (s(!0), i(V, null, D(l(h), (e, r) => (s(), g(w, {
99
+ key: e.id,
100
+ "data-id": e.id,
101
+ item: e,
102
+ index: r,
103
+ "is-open": R(e),
104
+ "is-selected": p(e),
105
+ "selected-child-id": p(e) ? d.selectedChildId : null,
106
+ "display-value": d.displayValue,
107
+ "search-query": l(u),
108
+ "search-handler": d.searchHandler,
109
+ onToggle: (c) => A(e, c),
110
+ onSelect: (c) => B(e),
111
+ onSelectChild: (c) => E(c, e)
112
+ }, {
113
+ menu: m(() => [
114
+ S(t.$slots, "menu", { item: e }, void 0, !0)
115
+ ]),
116
+ _: 2
117
+ }, 1032, ["data-id", "item", "index", "is-open", "is-selected", "selected-child-id", "display-value", "search-query", "search-handler", "onToggle", "onSelect", "onSelectChild"]))), 128))
118
+ ]),
119
+ _: 3
120
+ }, 16, ["modelValue", "disabled"])) : y("", !0),
121
+ l(b).length ? (s(), i("div", T({
122
+ key: 1,
123
+ class: "locked-list"
124
+ }, l(L)[l(I).LOCKED_LIST]), [
125
+ (s(!0), i(V, null, D(l(b), (e) => (s(), g(w, {
74
126
  key: e.id,
75
127
  item: e,
76
- index: n,
77
- "is-open": T(e),
78
- "is-selected": i(e),
79
- "selected-child-id": i(e) ? d.selectedChildId : null,
128
+ "is-open": R(e),
129
+ "is-selected": p(e),
130
+ "selected-child-id": p(e) ? d.selectedChildId : null,
80
131
  "display-value": d.displayValue,
81
- "search-query": t(o),
82
- "search-handler": d.searchHandler,
83
- onToggle: (h) => b(e, h),
84
- onSelect: (h) => k(e),
85
- onSelectChild: (h) => A(h, e)
132
+ "search-query": l(u),
133
+ "on-search": d.searchHandler,
134
+ onToggle: (r) => A(e, r),
135
+ onSelect: (r) => B(e),
136
+ onSelectChild: (r) => E(r, e)
86
137
  }, {
87
- menu: C(() => [
88
- D(l.$slots, "menu", { item: e }, void 0, !0)
138
+ menu: m(() => [
139
+ S(t.$slots, "menu", { item: e }, void 0, !0)
89
140
  ]),
90
141
  _: 2
91
- }, 1032, ["item", "index", "is-open", "is-selected", "selected-child-id", "display-value", "search-query", "search-handler", "onToggle", "onSelect", "onSelectChild"]))), 128))
92
- ]),
93
- _: 3
94
- }, 16, ["modelValue", "disabled"]),
95
- G("div", v({ class: "locked-list" }, t(g)[t(f).LOCKED_LIST]), [
96
- (c(!0), m(x, null, B(t(V), (e) => (c(), y(R, {
97
- key: e.id,
98
- item: e,
99
- "is-open": T(e),
100
- "is-selected": i(e),
101
- "selected-child-id": i(e) ? d.selectedChildId : null,
102
- "display-value": d.displayValue,
103
- "search-query": t(o),
104
- "on-search": d.searchHandler,
105
- onToggle: (n) => b(e, n),
106
- onSelect: (n) => k(e),
107
- onSelectChild: (n) => A(n, e)
108
- }, {
109
- menu: C(() => [
110
- D(l.$slots, "menu", { item: e }, void 0, !0)
111
- ]),
112
- _: 2
113
- }, 1032, ["item", "is-open", "is-selected", "selected-child-id", "display-value", "search-query", "on-search", "onToggle", "onSelect", "onSelectChild"]))), 128))
114
- ], 16)
142
+ }, 1032, ["item", "is-open", "is-selected", "selected-child-id", "display-value", "search-query", "on-search", "onToggle", "onSelect", "onSelectChild"]))), 128))
143
+ ], 16)) : y("", !0)
144
+ ])),
145
+ !l(C).length && !d.isLoading ? (s(), i("div", Z, [
146
+ S(t.$slots, "empty-state", {}, () => [
147
+ $(l(j), { variant: "body2" }, {
148
+ default: m(() => [
149
+ U(M(d.emptyStateTitle), 1)
150
+ ]),
151
+ _: 1
152
+ })
153
+ ], !0)
154
+ ])) : y("", !0)
115
155
  ], 16));
116
156
  }
117
157
  });
118
158
  export {
119
- le as default
159
+ ue as default
120
160
  };
@@ -6,6 +6,7 @@ declare const SortableListTypes: () => ({
6
6
  $props: Partial<{
7
7
  search: string;
8
8
  testId: string;
9
+ isLoading: boolean;
9
10
  displayValue: (item: import("./SortableList.types").SortableListItem) => string;
10
11
  searchPlaceholder: string;
11
12
  items: import("./SortableList.types").SortableListItem[];
@@ -14,6 +15,8 @@ declare const SortableListTypes: () => ({
14
15
  openId: string | number;
15
16
  selectedId: string | number;
16
17
  showSearch: boolean;
18
+ loadingRowCount: number;
19
+ emptyStateTitle: string;
17
20
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
18
21
  search: {
19
22
  type: import("vue").PropType<string>;
@@ -23,6 +26,10 @@ declare const SortableListTypes: () => ({
23
26
  type: import("vue").PropType<string>;
24
27
  default: string;
25
28
  };
29
+ isLoading: {
30
+ type: import("vue").PropType<boolean>;
31
+ default: boolean;
32
+ };
26
33
  displayValue: {
27
34
  type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem) => string>;
28
35
  required: true;
@@ -57,14 +64,26 @@ declare const SortableListTypes: () => ({
57
64
  type: import("vue").PropType<boolean>;
58
65
  default: boolean;
59
66
  };
67
+ loadingRowCount: {
68
+ type: import("vue").PropType<number>;
69
+ default: number;
70
+ };
71
+ emptyStateTitle: {
72
+ type: import("vue").PropType<string>;
73
+ default: string;
74
+ };
60
75
  }>> & {
76
+ onSortableItemDragged?: (event: {
77
+ id: string;
78
+ newIndex: number;
79
+ }) => any;
61
80
  "onUpdate:items"?: (items: import("./SortableList.types").SortableListItem[]) => any;
62
81
  "onUpdate:openId"?: (id: string | number) => any;
63
82
  "onUpdate:selectedId"?: (id: string | number) => any;
64
83
  "onUpdate:selectedChildId"?: (id: string | number) => any;
65
84
  "onUpdate:search"?: (query: string) => any;
66
85
  onClearSearch?: () => any;
67
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "displayValue" | "searchPlaceholder" | "items" | "selectedChildId" | "searchHandler" | "openId" | "selectedId" | "showSearch">;
86
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "isLoading" | "displayValue" | "searchPlaceholder" | "items" | "selectedChildId" | "searchHandler" | "openId" | "selectedId" | "showSearch" | "loadingRowCount" | "emptyStateTitle">;
68
87
  $attrs: {
69
88
  [x: string]: unknown;
70
89
  };
@@ -76,7 +95,10 @@ declare const SortableListTypes: () => ({
76
95
  }>;
77
96
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
78
97
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
79
- $emit: ((event: "update:items", items: import("./SortableList.types").SortableListItem[]) => void) & ((event: "update:openId", id: string | number) => void) & ((event: "update:selectedId", id: string | number) => void) & ((event: "update:selectedChildId", id: string | number) => void) & ((event: "update:search", query: string) => void) & ((event: "clearSearch") => void);
98
+ $emit: ((event: "sortableItemDragged", event: {
99
+ id: string;
100
+ newIndex: number;
101
+ }) => void) & ((event: "update:items", items: import("./SortableList.types").SortableListItem[]) => void) & ((event: "update:openId", id: string | number) => void) & ((event: "update:selectedId", id: string | number) => void) & ((event: "update:selectedChildId", id: string | number) => void) & ((event: "update:search", query: string) => void) & ((event: "clearSearch") => void);
80
102
  $el: any;
81
103
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
82
104
  search: {
@@ -87,6 +109,10 @@ declare const SortableListTypes: () => ({
87
109
  type: import("vue").PropType<string>;
88
110
  default: string;
89
111
  };
112
+ isLoading: {
113
+ type: import("vue").PropType<boolean>;
114
+ default: boolean;
115
+ };
90
116
  displayValue: {
91
117
  type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem) => string>;
92
118
  required: true;
@@ -121,7 +147,19 @@ declare const SortableListTypes: () => ({
121
147
  type: import("vue").PropType<boolean>;
122
148
  default: boolean;
123
149
  };
150
+ loadingRowCount: {
151
+ type: import("vue").PropType<number>;
152
+ default: number;
153
+ };
154
+ emptyStateTitle: {
155
+ type: import("vue").PropType<string>;
156
+ default: string;
157
+ };
124
158
  }>> & {
159
+ onSortableItemDragged?: (event: {
160
+ id: string;
161
+ newIndex: number;
162
+ }) => any;
125
163
  "onUpdate:items"?: (items: import("./SortableList.types").SortableListItem[]) => any;
126
164
  "onUpdate:openId"?: (id: string | number) => any;
127
165
  "onUpdate:selectedId"?: (id: string | number) => any;
@@ -129,6 +167,10 @@ declare const SortableListTypes: () => ({
129
167
  "onUpdate:search"?: (query: string) => any;
130
168
  onClearSearch?: () => any;
131
169
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
170
+ sortableItemDragged: (event: {
171
+ id: string;
172
+ newIndex: number;
173
+ }) => void;
132
174
  "update:items": (items: import("./SortableList.types").SortableListItem[]) => void;
133
175
  "update:openId": (id: string | number) => void;
134
176
  "update:selectedId": (id: string | number) => void;
@@ -138,6 +180,7 @@ declare const SortableListTypes: () => ({
138
180
  }, string, {
139
181
  search: string;
140
182
  testId: string;
183
+ isLoading: boolean;
141
184
  displayValue: (item: import("./SortableList.types").SortableListItem) => string;
142
185
  searchPlaceholder: string;
143
186
  items: import("./SortableList.types").SortableListItem[];
@@ -146,6 +189,8 @@ declare const SortableListTypes: () => ({
146
189
  openId: string | number;
147
190
  selectedId: string | number;
148
191
  showSearch: boolean;
192
+ loadingRowCount: number;
193
+ emptyStateTitle: string;
149
194
  }, {}, string> & {
150
195
  beforeCreate?: (() => void) | (() => void)[];
151
196
  created?: (() => void) | (() => void)[];
@@ -175,6 +220,10 @@ declare const SortableListTypes: () => ({
175
220
  type: import("vue").PropType<string>;
176
221
  default: string;
177
222
  };
223
+ isLoading: {
224
+ type: import("vue").PropType<boolean>;
225
+ default: boolean;
226
+ };
178
227
  displayValue: {
179
228
  type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem) => string>;
180
229
  required: true;
@@ -209,7 +258,19 @@ declare const SortableListTypes: () => ({
209
258
  type: import("vue").PropType<boolean>;
210
259
  default: boolean;
211
260
  };
261
+ loadingRowCount: {
262
+ type: import("vue").PropType<number>;
263
+ default: number;
264
+ };
265
+ emptyStateTitle: {
266
+ type: import("vue").PropType<string>;
267
+ default: string;
268
+ };
212
269
  }>> & {
270
+ onSortableItemDragged?: (event: {
271
+ id: string;
272
+ newIndex: number;
273
+ }) => any;
213
274
  "onUpdate:items"?: (items: import("./SortableList.types").SortableListItem[]) => any;
214
275
  "onUpdate:openId"?: (id: string | number) => any;
215
276
  "onUpdate:selectedId"?: (id: string | number) => any;
@@ -229,6 +290,10 @@ declare const SortableListTypes: () => ({
229
290
  type: import("vue").PropType<string>;
230
291
  default: string;
231
292
  };
293
+ isLoading: {
294
+ type: import("vue").PropType<boolean>;
295
+ default: boolean;
296
+ };
232
297
  displayValue: {
233
298
  type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem) => string>;
234
299
  required: true;
@@ -263,7 +328,19 @@ declare const SortableListTypes: () => ({
263
328
  type: import("vue").PropType<boolean>;
264
329
  default: boolean;
265
330
  };
331
+ loadingRowCount: {
332
+ type: import("vue").PropType<number>;
333
+ default: number;
334
+ };
335
+ emptyStateTitle: {
336
+ type: import("vue").PropType<string>;
337
+ default: string;
338
+ };
266
339
  }>> & {
340
+ onSortableItemDragged?: (event: {
341
+ id: string;
342
+ newIndex: number;
343
+ }) => any;
267
344
  "onUpdate:items"?: (items: import("./SortableList.types").SortableListItem[]) => any;
268
345
  "onUpdate:openId"?: (id: string | number) => any;
269
346
  "onUpdate:selectedId"?: (id: string | number) => any;
@@ -271,6 +348,10 @@ declare const SortableListTypes: () => ({
271
348
  "onUpdate:search"?: (query: string) => any;
272
349
  onClearSearch?: () => any;
273
350
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
351
+ sortableItemDragged: (event: {
352
+ id: string;
353
+ newIndex: number;
354
+ }) => void;
274
355
  "update:items": (items: import("./SortableList.types").SortableListItem[]) => void;
275
356
  "update:openId": (id: string | number) => void;
276
357
  "update:selectedId": (id: string | number) => void;
@@ -280,6 +361,7 @@ declare const SortableListTypes: () => ({
280
361
  }, string, {
281
362
  search: string;
282
363
  testId: string;
364
+ isLoading: boolean;
283
365
  displayValue: (item: import("./SortableList.types").SortableListItem) => string;
284
366
  searchPlaceholder: string;
285
367
  items: import("./SortableList.types").SortableListItem[];
@@ -288,11 +370,15 @@ declare const SortableListTypes: () => ({
288
370
  openId: string | number;
289
371
  selectedId: string | number;
290
372
  showSearch: boolean;
373
+ loadingRowCount: number;
374
+ emptyStateTitle: string;
291
375
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
292
376
  $slots: {
293
377
  menu?(_: {
294
378
  item: import("./SortableList.types").SortableListItem;
295
379
  }): any;
380
+ loader?(_: {}): any;
381
+ "empty-state"?(_: {}): any;
296
382
  };
297
383
  }))[];
298
384
  export { SortableList, SortableListTypes };