@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.
- package/components/dateRange/common/DateServices.common.d.ts +9 -1
- package/components/dateRange/common/DateServices.common.js +1 -0
- package/components/dateRange/v4/index.d.ts +2 -1
- package/components/dateRange/v4/index.js +4 -2
- package/index.d.ts +2 -0
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,15 @@ export type Day = {
|
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
};
|
|
8
8
|
export type Week = Day[];
|
|
9
|
-
|
|
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;
|
|
@@ -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 };
|
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 './
|
|
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";
|