@ironsource/shared-ui 2.1.12-test.94 → 2.1.12-test.96
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 +1 -8
- package/components/dateRange/common/dateRange.types.d.ts +8 -0
- package/components/dateRange/v4/index.d.ts +4 -2
- package/components/dateRange/v4/index.js +4 -4
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DateServicesInterface } from '@/components/dateRange/common/dateRange.types';
|
|
1
2
|
export type Day = {
|
|
2
3
|
value?: number;
|
|
3
4
|
isToday?: boolean;
|
|
@@ -6,14 +7,6 @@ export type Day = {
|
|
|
6
7
|
disabled?: boolean;
|
|
7
8
|
};
|
|
8
9
|
export type Week = Day[];
|
|
9
|
-
interface DateServicesInterface {
|
|
10
|
-
getPresetsFunctions(shouldIncludeToday: boolean): Record<string, {
|
|
11
|
-
dates: () => {
|
|
12
|
-
from?: Date;
|
|
13
|
-
to?: Date;
|
|
14
|
-
};
|
|
15
|
-
}>;
|
|
16
|
-
}
|
|
17
10
|
export declare class DateServices implements DateServicesInterface {
|
|
18
11
|
getCurrentTimeUTC(): Date;
|
|
19
12
|
daysInMonth(month: any, year: any): number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DateServicesInterface } from '../common/dateRange.types';
|
|
2
2
|
declare const DateRangeTypes: () => ({
|
|
3
3
|
new (...args: any[]): {
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -405,5 +405,7 @@ declare const DateRangeTypes: () => ({
|
|
|
405
405
|
footer?(_: {}): any;
|
|
406
406
|
};
|
|
407
407
|
}))[];
|
|
408
|
+
export declare const dateService: DateServicesInterface;
|
|
408
409
|
export { default as DateRange } from './DateRangeV4.vue';
|
|
409
|
-
export { DateRangeTypes
|
|
410
|
+
export { DateRangeTypes };
|
|
411
|
+
export * from '../common/dateRange.types';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import e from "./DateRangeV4.vue.js";
|
|
2
|
-
import { DateServices as
|
|
3
|
-
const
|
|
2
|
+
import { DateServices as t } from "../common/DateServices.common.js";
|
|
3
|
+
const a = () => [e], n = new t();
|
|
4
4
|
export {
|
|
5
5
|
e as DateRange,
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
a as DateRangeTypes,
|
|
7
|
+
n as dateService
|
|
8
8
|
};
|
package/index.d.ts
CHANGED
|
@@ -550,6 +550,7 @@ declare const _default: {
|
|
|
550
550
|
content?(_: {}): any;
|
|
551
551
|
};
|
|
552
552
|
}))[];
|
|
553
|
+
dateService: dateRangeV4.DateServicesInterface;
|
|
553
554
|
DateRange: {
|
|
554
555
|
new (...args: any[]): {
|
|
555
556
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -1362,7 +1363,6 @@ declare const _default: {
|
|
|
1362
1363
|
footer?(_: {}): any;
|
|
1363
1364
|
};
|
|
1364
1365
|
}))[];
|
|
1365
|
-
DateServices: typeof dateRangeV4.DateServices;
|
|
1366
1366
|
DatePicker: {
|
|
1367
1367
|
new (...args: any[]): {
|
|
1368
1368
|
$: import("vue").ComponentInternalInstance;
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './
|
|
1
|
+
import './Menu.vue_vue_type_style_index_0_scoped_eb057818_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";
|