@ironsource/shared-ui 1.4.3-rc.3 → 1.4.3-rc.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.
- package/Editable.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Table.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/components/button/index.d.ts +6 -6
- package/components/dateRange/consts.d.ts +5 -0
- package/components/dateRange/consts.vue.js +8 -0
- package/components/dateRange/index.d.ts +3 -3
- package/components/emptyState/index.d.ts +3 -3
- package/components/icon/Icon.vue.js +1 -0
- package/components/icon/icons/TableEdit.vue.d.ts +2 -0
- package/components/icon/icons/TableEdit.vue.js +24 -0
- package/components/icon/icons/index.d.ts +3 -3
- package/components/icon/icons/index.vue.js +3 -3
- package/components/icon/index.d.ts +3 -3
- package/components/includeExclude/IncludeExclude.vue.js +2 -2
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +7 -4
- package/components/includeExclude/IncludeExcludeChipFilter.vue.js +6 -4
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +125 -0
- package/components/includeExclude/IncludeExcludeDragDrop.vue.js +610 -0
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +43 -0
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +126 -0
- package/components/includeExclude/includeExcludeMocks.d.ts +12 -0
- package/components/includeExclude/index.d.ts +228 -7
- package/components/includeExclude/index.vue.js +6 -0
- package/components/table/Table.types.d.ts +1 -0
- package/components/table/Table.vue.d.ts +13 -0
- package/components/table/Table.vue.js +33 -11
- package/components/table/index.d.ts +25 -0
- package/components/table-cells/Editable.vue.js +1 -1
- package/index.vue.js +3 -1
- package/package.json +3 -2
|
@@ -26,6 +26,11 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
|
|
|
26
26
|
} & {
|
|
27
27
|
default: boolean;
|
|
28
28
|
};
|
|
29
|
+
isStickyHeader: {
|
|
30
|
+
type: import("vue").PropType<boolean>;
|
|
31
|
+
} & {
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
29
34
|
sections: {
|
|
30
35
|
type: import("vue").PropType<import("./Table.types").Section[]>;
|
|
31
36
|
} & {
|
|
@@ -61,12 +66,19 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
|
|
|
61
66
|
} & {
|
|
62
67
|
default: number;
|
|
63
68
|
};
|
|
69
|
+
defaultScrollPosition: {
|
|
70
|
+
type: import("vue").PropType<number>;
|
|
71
|
+
} & {
|
|
72
|
+
default: any;
|
|
73
|
+
};
|
|
64
74
|
rows: {
|
|
65
75
|
type: import("vue").PropType<unknown[][]>;
|
|
66
76
|
required: true;
|
|
67
77
|
};
|
|
68
78
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
69
79
|
"update:sort": (newSort: import("./Table.types").Sort) => void;
|
|
80
|
+
} & {
|
|
81
|
+
onScroll: (event: Event) => void;
|
|
70
82
|
} & {
|
|
71
83
|
saveRow: (payload_0: {
|
|
72
84
|
value: unknown;
|
|
@@ -104,6 +116,11 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
|
|
|
104
116
|
} & {
|
|
105
117
|
default: boolean;
|
|
106
118
|
};
|
|
119
|
+
isStickyHeader: {
|
|
120
|
+
type: import("vue").PropType<boolean>;
|
|
121
|
+
} & {
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
107
124
|
sections: {
|
|
108
125
|
type: import("vue").PropType<import("./Table.types").Section[]>;
|
|
109
126
|
} & {
|
|
@@ -139,11 +156,17 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
|
|
|
139
156
|
} & {
|
|
140
157
|
default: number;
|
|
141
158
|
};
|
|
159
|
+
defaultScrollPosition: {
|
|
160
|
+
type: import("vue").PropType<number>;
|
|
161
|
+
} & {
|
|
162
|
+
default: any;
|
|
163
|
+
};
|
|
142
164
|
rows: {
|
|
143
165
|
type: import("vue").PropType<unknown[][]>;
|
|
144
166
|
required: true;
|
|
145
167
|
};
|
|
146
168
|
}>> & {
|
|
169
|
+
onOnScroll?: (event: Event) => any;
|
|
147
170
|
"onUpdate:sort"?: (newSort: import("./Table.types").Sort) => any;
|
|
148
171
|
onSaveRow?: (args_0: {
|
|
149
172
|
value: unknown;
|
|
@@ -156,6 +179,7 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
|
|
|
156
179
|
testId: string;
|
|
157
180
|
isLoading: boolean;
|
|
158
181
|
isSticky: boolean;
|
|
182
|
+
isStickyHeader: boolean;
|
|
159
183
|
sections: import("./Table.types").Section[];
|
|
160
184
|
emptyStateTitle: string;
|
|
161
185
|
emptyStateSubtitle: string;
|
|
@@ -163,6 +187,7 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
|
|
|
163
187
|
infiniteScrollThreshold: number;
|
|
164
188
|
rowHeight: number | ((index: number) => number);
|
|
165
189
|
loadingRowCount: number;
|
|
190
|
+
defaultScrollPosition: number;
|
|
166
191
|
}>)[];
|
|
167
192
|
export { default as Table } from './Table.vue';
|
|
168
193
|
export { TableContext } from './TableContext';
|
|
@@ -84,6 +84,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
|
-
var Editable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
87
|
+
var Editable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5bc75a92"]]);
|
|
88
88
|
|
|
89
89
|
export { Editable as default };
|
package/index.vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './
|
|
1
|
+
import './Button.vue_vue_type_style_index_0_scoped_true_lang.css';
|
|
2
2
|
export { AppTriggerTypes } from './components/appTrigger/index.vue.js';
|
|
3
3
|
export { AutocompleteDropdownTypes } from './components/autocompleteDropdown/index.vue.js';
|
|
4
4
|
export { MenuItemTypes } from './components/menuItem/index.vue.js';
|
|
@@ -49,7 +49,9 @@ export { default as RadioGroup } from './components/radioButton/RadioGroup.vue.j
|
|
|
49
49
|
export { snackbarEmits, snackbarTypes } from './components/snackbar/snackbar.types.vue.js';
|
|
50
50
|
export { default as FloatingToolbar } from './components/floatingToolbar/FloatingToolbar.vue.js';
|
|
51
51
|
export { default as IncludeExclude } from './components/includeExclude/IncludeExclude.vue.js';
|
|
52
|
+
export { default as IncludeExcludeDragDrop } from './components/includeExclude/IncludeExcludeDragDrop.vue.js';
|
|
52
53
|
export { default as IncludeExcludeOption } from './components/includeExclude/IncludeExcludeOption.vue.js';
|
|
54
|
+
export { default as IncludeExcludeOptionDraggable } from './components/includeExclude/IncludeExcludeOptionDraggable.vue.js';
|
|
53
55
|
export { default as IncludeExcludeAppTrigger } from './components/includeExclude/IncludeExcludeAppTrigger.vue.js';
|
|
54
56
|
export { default as IncludeExcludeAppHeader } from './components/includeExclude/IncludeExcludeAppHeader.vue.js';
|
|
55
57
|
export { default as IncludeExcludeChipFilter } from './components/includeExclude/IncludeExcludeChipFilter.vue.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ironsource/shared-ui",
|
|
3
|
-
"version": "1.4.3-rc.
|
|
3
|
+
"version": "1.4.3-rc.5",
|
|
4
4
|
"engines": {
|
|
5
5
|
"npm": ">=7.0.0",
|
|
6
6
|
"node": ">=16.0.0"
|
|
@@ -49,7 +49,8 @@
|
|
|
49
49
|
"date-fns": "^2.29.1",
|
|
50
50
|
"floating-vue": "2.0.0-beta.20",
|
|
51
51
|
"focus-trap": "^6.9.4",
|
|
52
|
-
"vue": "^3.2.31"
|
|
52
|
+
"vue": "^3.2.31",
|
|
53
|
+
"vuedraggable": "^4.1.0"
|
|
53
54
|
},
|
|
54
55
|
"peerDependencies": {
|
|
55
56
|
"@vueuse/core": "^8.7.5",
|