@ironsource/shared-ui 2.1.12-test.92 → 2.1.12-test.94

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.
@@ -6,7 +6,15 @@ export type Day = {
6
6
  disabled?: boolean;
7
7
  };
8
8
  export type Week = Day[];
9
- declare class DateServices {
9
+ interface DateServicesInterface {
10
+ getPresetsFunctions(shouldIncludeToday: boolean): Record<string, {
11
+ dates: () => {
12
+ from?: Date;
13
+ to?: Date;
14
+ };
15
+ }>;
16
+ }
17
+ export declare class DateServices implements DateServicesInterface {
10
18
  getCurrentTimeUTC(): Date;
11
19
  daysInMonth(month: any, year: any): number;
12
20
  getDateRangeString(dateRange: any): string;
@@ -239,5 +239,6 @@ class C {
239
239
  }
240
240
  const U = new C();
241
241
  export {
242
+ C as DateServices,
242
243
  U as default
243
244
  };
@@ -1,3 +1,4 @@
1
+ import { DateServices } from '@/components/dateRange/common/DateServices.common';
1
2
  declare const DateRangeTypes: () => ({
2
3
  new (...args: any[]): {
3
4
  $: import("vue").ComponentInternalInstance;
@@ -405,4 +406,4 @@ declare const DateRangeTypes: () => ({
405
406
  };
406
407
  }))[];
407
408
  export { default as DateRange } from './DateRangeV4.vue';
408
- export { DateRangeTypes };
409
+ export { DateRangeTypes, DateServices };
@@ -1,6 +1,8 @@
1
1
  import e from "./DateRangeV4.vue.js";
2
- const a = () => [e];
2
+ import { DateServices as p } from "../common/DateServices.common.js";
3
+ const o = () => [e];
3
4
  export {
4
5
  e as DateRange,
5
- a as DateRangeTypes
6
+ o as DateRangeTypes,
7
+ p as DateServices
6
8
  };
package/index.d.ts CHANGED
@@ -18,6 +18,7 @@ import * as tableV3 from '@/components/table/v3';
18
18
  import * as tableV4 from '@/components/table/v4';
19
19
  import * as tableCellsV3 from '@/components/table-cells/v3';
20
20
  import * as snackbarV3 from '@/components/snackbar/v3';
21
+ import * as dateRangeV4 from '@/components/dateRange/v4';
21
22
  declare const _default: {
22
23
  nFormatter(num: number, formatLowDigits?: boolean): string;
23
24
  DEFAULT_FALLBACK: "N/A";
@@ -1361,6 +1362,7 @@ declare const _default: {
1361
1362
  footer?(_: {}): any;
1362
1363
  };
1363
1364
  }))[];
1365
+ DateServices: typeof dateRangeV4.DateServices;
1364
1366
  DatePicker: {
1365
1367
  new (...args: any[]): {
1366
1368
  $: import("vue").ComponentInternalInstance;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './AutocompleteDropdown.vue_vue_type_style_index_0_scoped_214ddaf4_lang.css';
1
+ import './MenuItem.vue_vue_type_style_index_0_scoped_67e53b85_lang.css';
2
2
  import { AppTriggerTypes as eo } from "./components/appTrigger/index.js";
3
3
  import { AutocompleteDropdownTypes as mo } from "./components/autocompleteDropdown/index.js";
4
4
  import { MenuItemTypes as ao } from "./components/menuItem/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironsource/shared-ui",
3
- "version": "2.1.12-test.92",
3
+ "version": "2.1.12-test.94",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"