@ironsource/shared-ui 1.4.1-rc.4 → 1.4.1-test.1

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 (53) hide show
  1. package/AppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  2. package/Banner.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  3. package/Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  4. package/EmptyState.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  5. package/FiltersPanel.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  6. package/Table.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  7. package/Tooltip.vue_vue_type_style_index_0_lang.css +1 -1
  8. package/components/appTrigger/AppTrigger.vue.js +8 -3
  9. package/components/banner/Banner.vue.d.ts +9 -0
  10. package/components/banner/Banner.vue.js +16 -7
  11. package/components/banner/index.d.ts +9 -0
  12. package/components/button/index.d.ts +6 -6
  13. package/components/dateRange/CalendarMonth.vue.js +2 -2
  14. package/components/dateRange/DateRange.vue.js +2 -2
  15. package/components/dropdown/Dropdown.vue.d.ts +10 -0
  16. package/components/dropdown/Dropdown.vue.js +56 -35
  17. package/components/dropdown/index.d.ts +22 -0
  18. package/components/emptyState/EmptyState.vue.js +8 -8
  19. package/components/emptyState/index.d.ts +3 -3
  20. package/components/filtersPanel/FilterSearchInput.vue.js +5 -5
  21. package/components/filtersPanel/FiltersPanel.vue.d.ts +4 -2
  22. package/components/filtersPanel/FiltersPanel.vue.js +4 -3
  23. package/components/icon/Icon.vue.js +6 -1
  24. package/components/icon/icons/Adjust.vue.js +52 -0
  25. package/components/icon/icons/CopyToClipboardFilled.vue.d.ts +2 -0
  26. package/components/icon/icons/CopyToClipboardFilled.vue.js +24 -0
  27. package/components/icon/icons/Cube.vue.d.ts +2 -0
  28. package/components/icon/icons/Cube.vue.js +27 -0
  29. package/components/icon/icons/CubeBackground.vue.d.ts +2 -0
  30. package/components/icon/icons/CubeBackground.vue.js +34 -0
  31. package/components/icon/icons/Marketing.vue.d.ts +2 -0
  32. package/components/icon/icons/Marketing.vue.js +30 -0
  33. package/components/icon/icons/WidgetsFlatSquares.vue.d.ts +2 -0
  34. package/components/icon/icons/WidgetsFlatSquares.vue.js +58 -0
  35. package/components/icon/icons/index.d.ts +18 -3
  36. package/components/icon/icons/index.vue.js +18 -3
  37. package/components/icon/index.d.ts +18 -3
  38. package/components/includeExclude/IncludeExclude.vue.js +2 -2
  39. package/components/includeExclude/IncludeExcludeChipFilter.vue.js +2 -2
  40. package/components/includeExclude/index.d.ts +16 -16
  41. package/components/table/Table.vue.d.ts +0 -10
  42. package/components/table/Table.vue.js +30 -42
  43. package/components/table/index.d.ts +0 -22
  44. package/components/tooltip/Tooltip.vue.js +2 -2
  45. package/index.vue.js +1 -1
  46. package/package.json +1 -1
  47. package/utils/array.d.ts +1 -0
  48. package/utils/array.vue.js +13 -0
  49. package/utils/object.d.ts +1 -0
  50. package/utils/object.vue.js +10 -0
  51. package/components/icon/icons/TableEdit.vue.js +0 -24
  52. package/components/table/Pagination.vue.d.ts +0 -43
  53. /package/components/icon/icons/{TableEdit.vue.d.ts → Adjust.vue.d.ts} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironsource/shared-ui",
3
- "version": "1.4.1-rc.4",
3
+ "version": "1.4.1-test.1",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"
@@ -0,0 +1 @@
1
+ export declare const isObjectInArray: (array: any, element: any) => boolean;
@@ -0,0 +1,13 @@
1
+ const isObjectInArray = (array, element) => {
2
+ const foundObject = array.find((obj) => {
3
+ for (const key in element) {
4
+ if (obj[key] !== element[key]) {
5
+ return false;
6
+ }
7
+ }
8
+ return true;
9
+ });
10
+ return !!foundObject;
11
+ };
12
+
13
+ export { isObjectInArray };
@@ -0,0 +1 @@
1
+ export declare const objectsEqual: (objA: any, objB: any) => boolean;
@@ -0,0 +1,10 @@
1
+ const objectsEqual = (objA, objB) => {
2
+ for (const key in objA) {
3
+ if (objA[key] !== objB[key]) {
4
+ return false;
5
+ }
6
+ }
7
+ return true;
8
+ };
9
+
10
+ export { objectsEqual };
@@ -1,24 +0,0 @@
1
- import { openBlock, createElementBlock, createElementVNode } from 'vue';
2
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
3
-
4
- ////import "../../TableEdit.vue_vue_type_style_index_0_scoped_true_lang.css";
5
- const _sfc_main = {};
6
-
7
- const _hoisted_1 = {
8
- fill: "currentColor",
9
- viewBox: "0 0 17 16"
10
- };
11
- const _hoisted_2 = /*#__PURE__*/createElementVNode("path", {
12
- d: "M14.6667 0.5H2.16667C1.25 0.5 0.5 1.25 0.5 2.16667V13.8333C0.5 14.75 1.25 15.5 2.16667 15.5H14.6667C15.5833 15.5 16.3333 14.75 16.3333 13.8333V2.16667C16.3333 1.25 15.5833 0.5 14.6667 0.5ZM14.6667 2.16667V4.66667H2.16667V2.16667H14.6667ZM10.5 13.8333H6.33333V6.33333H10.5V13.8333ZM2.16667 6.33333H4.66667V13.8333H2.16667V6.33333ZM12.1667 13.8333V6.33333H14.6667V13.8333H12.1667Z",
13
- fill: "#53575B"
14
- }, null, -1);
15
- const _hoisted_3 = [
16
- _hoisted_2
17
- ];
18
-
19
- function _sfc_render(_ctx, _cache) {
20
- return (openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_3))
21
- }
22
- var TableEdit = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render]]);
23
-
24
- export { TableEdit as default };
@@ -1,43 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- currentPage?: number;
3
- totalPages?: number;
4
- totalItems?: number | string;
5
- itemsPerPage?: number;
6
- }>, {
7
- currentPage: any;
8
- totalPages: any;
9
- totalItems: any;
10
- itemsPerPage: number;
11
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "page-change"[], "page-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
12
- currentPage?: number;
13
- totalPages?: number;
14
- totalItems?: number | string;
15
- itemsPerPage?: number;
16
- }>, {
17
- currentPage: any;
18
- totalPages: any;
19
- totalItems: any;
20
- itemsPerPage: number;
21
- }>>> & {
22
- "onPage-change"?: (...args: any[]) => any;
23
- }, {
24
- currentPage: number;
25
- totalPages: number;
26
- totalItems: number | string;
27
- itemsPerPage: number;
28
- }>;
29
- export default _default;
30
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
- type __VLS_TypePropsToRuntimeProps<T> = {
32
- [K in keyof T]-?: {} extends Pick<T, K> ? {
33
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
34
- } : {
35
- type: import('vue').PropType<T[K]>;
36
- required: true;
37
- };
38
- };
39
- type __VLS_WithDefaults<P, D> = {
40
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
41
- default: D[K];
42
- } : P[K];
43
- };