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

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.
@@ -1,3 +1,4 @@
1
+ import DateRangeServices 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, DateRangeServices };
@@ -1,6 +1,8 @@
1
1
  import e from "./DateRangeV4.vue.js";
2
- const a = () => [e];
2
+ import { default as n } from "../common/DateServices.common.js";
3
+ const t = () => [e];
3
4
  export {
4
5
  e as DateRange,
5
- a as DateRangeTypes
6
+ n as DateRangeServices,
7
+ t as DateRangeTypes
6
8
  };
package/index.d.ts CHANGED
@@ -1361,6 +1361,143 @@ declare const _default: {
1361
1361
  footer?(_: {}): any;
1362
1362
  };
1363
1363
  }))[];
1364
+ DateRangeServices: {
1365
+ getCurrentTimeUTC(): Date;
1366
+ daysInMonth(month: any, year: any): number;
1367
+ getDateRangeString(dateRange: any): string;
1368
+ getFirstDayOfWeek(date: any): Date;
1369
+ getLastDayOfWeek(date: any): Date;
1370
+ getLastDayOfMonth(date: any): Date;
1371
+ createMonth(month: any, year: any, includeToday?: boolean, setFuture?: boolean): {
1372
+ weeks: import("./components/dateRange/common/DateServices.common").Week[];
1373
+ days: Record<string, import("./components/dateRange/common/DateServices.common").Day>;
1374
+ month: number;
1375
+ year: number;
1376
+ };
1377
+ isWeekEmpty(week: any): any;
1378
+ getPresetsFunctions(shouldIncludeToday?: boolean): {
1379
+ today: {
1380
+ dates(): {
1381
+ from?: Date;
1382
+ to?: Date;
1383
+ };
1384
+ };
1385
+ yesterday: {
1386
+ dates(): {
1387
+ from?: Date;
1388
+ to?: Date;
1389
+ };
1390
+ };
1391
+ last7days: {
1392
+ dates(): {
1393
+ from?: Date;
1394
+ to?: Date;
1395
+ };
1396
+ };
1397
+ last14days: {
1398
+ dates(): {
1399
+ from?: Date;
1400
+ to?: Date;
1401
+ };
1402
+ };
1403
+ last30days: {
1404
+ dates(): {
1405
+ from?: Date;
1406
+ to?: Date;
1407
+ };
1408
+ };
1409
+ last31days: {
1410
+ dates(): {
1411
+ from?: Date;
1412
+ to?: Date;
1413
+ };
1414
+ };
1415
+ last60days: {
1416
+ dates(): {
1417
+ from?: Date;
1418
+ to?: Date;
1419
+ };
1420
+ };
1421
+ last90days: {
1422
+ dates(): {
1423
+ from?: Date;
1424
+ to?: Date;
1425
+ };
1426
+ };
1427
+ thisMonth: {
1428
+ dates(): {
1429
+ from?: Date;
1430
+ to?: Date;
1431
+ };
1432
+ };
1433
+ lastMonth: {
1434
+ dates(): {
1435
+ from?: Date;
1436
+ to?: Date;
1437
+ };
1438
+ };
1439
+ last4weeks: {
1440
+ dates(): {
1441
+ from?: Date;
1442
+ to?: Date;
1443
+ };
1444
+ };
1445
+ last12weeks: {
1446
+ dates(): {
1447
+ from?: Date;
1448
+ to?: Date;
1449
+ };
1450
+ };
1451
+ last26weeks: {
1452
+ dates(): {
1453
+ from?: Date;
1454
+ to?: Date;
1455
+ };
1456
+ };
1457
+ last52weeks: {
1458
+ dates(): {
1459
+ from?: Date;
1460
+ to?: Date;
1461
+ };
1462
+ };
1463
+ last3months: {
1464
+ dates(): {
1465
+ from?: Date;
1466
+ to?: Date;
1467
+ };
1468
+ };
1469
+ last6months: {
1470
+ dates(): {
1471
+ from?: Date;
1472
+ to?: Date;
1473
+ };
1474
+ };
1475
+ last9months: {
1476
+ dates(): {
1477
+ from?: Date;
1478
+ to?: Date;
1479
+ };
1480
+ };
1481
+ last12months: {
1482
+ dates(): {
1483
+ from?: Date;
1484
+ to?: Date;
1485
+ };
1486
+ };
1487
+ last24months: {
1488
+ dates(): {
1489
+ from?: Date;
1490
+ to?: Date;
1491
+ };
1492
+ };
1493
+ last36months: {
1494
+ dates(): {
1495
+ from?: Date;
1496
+ to?: Date;
1497
+ };
1498
+ };
1499
+ };
1500
+ };
1364
1501
  DatePicker: {
1365
1502
  new (...args: any[]): {
1366
1503
  $: 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 './FloatingToolbar.vue_vue_type_style_index_0_scoped_04d485be_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.93",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"