@ironsource/shared-ui 2.1.12-test.96 → 2.1.12-test.97
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 -2
- package/components/dateRange/v4/index.d.ts +0 -3
- package/components/dateRange/v4/index.js +2 -4
- package/composables/useDateService.d.ts +7 -0
- package/composables/useDateService.js +10 -0
- package/index.d.ts +1 -2
- package/index.js +87 -85
- package/package.json +5 -1
- package/components/dateRange/common/dateRange.types.d.ts +0 -8
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { DateServicesInterface } from '@/components/dateRange/common/dateRange.types';
|
|
2
1
|
export type Day = {
|
|
3
2
|
value?: number;
|
|
4
3
|
isToday?: boolean;
|
|
@@ -7,7 +6,7 @@ export type Day = {
|
|
|
7
6
|
disabled?: boolean;
|
|
8
7
|
};
|
|
9
8
|
export type Week = Day[];
|
|
10
|
-
export declare class DateServices
|
|
9
|
+
export declare class DateServices {
|
|
11
10
|
getCurrentTimeUTC(): Date;
|
|
12
11
|
daysInMonth(month: any, year: any): number;
|
|
13
12
|
getDateRangeString(dateRange: any): string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { DateServicesInterface } from '../common/dateRange.types';
|
|
2
1
|
declare const DateRangeTypes: () => ({
|
|
3
2
|
new (...args: any[]): {
|
|
4
3
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -405,7 +404,5 @@ declare const DateRangeTypes: () => ({
|
|
|
405
404
|
footer?(_: {}): any;
|
|
406
405
|
};
|
|
407
406
|
}))[];
|
|
408
|
-
export declare const dateService: DateServicesInterface;
|
|
409
407
|
export { default as DateRange } from './DateRangeV4.vue';
|
|
410
408
|
export { DateRangeTypes };
|
|
411
|
-
export * from '../common/dateRange.types';
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import e from "./DateRangeV4.vue.js";
|
|
2
|
-
|
|
3
|
-
const a = () => [e], n = new t();
|
|
2
|
+
const a = () => [e];
|
|
4
3
|
export {
|
|
5
4
|
e as DateRange,
|
|
6
|
-
a as DateRangeTypes
|
|
7
|
-
n as dateService
|
|
5
|
+
a as DateRangeTypes
|
|
8
6
|
};
|
package/index.d.ts
CHANGED
|
@@ -18,7 +18,6 @@ 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';
|
|
22
21
|
declare const _default: {
|
|
23
22
|
nFormatter(num: number, formatLowDigits?: boolean): string;
|
|
24
23
|
DEFAULT_FALLBACK: "N/A";
|
|
@@ -550,7 +549,6 @@ declare const _default: {
|
|
|
550
549
|
content?(_: {}): any;
|
|
551
550
|
};
|
|
552
551
|
}))[];
|
|
553
|
-
dateService: dateRangeV4.DateServicesInterface;
|
|
554
552
|
DateRange: {
|
|
555
553
|
new (...args: any[]): {
|
|
556
554
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -27125,6 +27123,7 @@ export default _default;
|
|
|
27125
27123
|
export * from '@/composables/useToggle';
|
|
27126
27124
|
export * from '@/composables/useSearch';
|
|
27127
27125
|
export * from '@/composables/useFormValidation';
|
|
27126
|
+
export * from '@/composables/useDateService';
|
|
27128
27127
|
export * from '@/components/banner';
|
|
27129
27128
|
export * from '@/components/alert';
|
|
27130
27129
|
export * from '@/components/autocomplete';
|
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";
|
|
@@ -9,7 +9,7 @@ import { IncludeExcludeTypes as $o } from "./components/includeExclude/index.js"
|
|
|
9
9
|
import { ID_INJECTION_KEY as co, useId as yo } from "./composables/useId.js";
|
|
10
10
|
import { FilterDropdownTypes as Fo } from "./components/filterDropdown/index.js";
|
|
11
11
|
import { TypographyTypes as Ao } from "./components/typography/index.js";
|
|
12
|
-
import { TypographyTypesV4 as
|
|
12
|
+
import { TypographyTypesV4 as Do } from "./components/typography/v4/index.js";
|
|
13
13
|
import { MultiBarTypes as ho } from "./components/multibar/index.js";
|
|
14
14
|
import { FoldableSectionTypes as Mo } from "./components/layout/index.js";
|
|
15
15
|
import { FormCardTypes as wo, FormFieldTypes as Oo } from "./components/forms/index.js";
|
|
@@ -37,19 +37,19 @@ import * as F from "./components/dialog/v3/index.js";
|
|
|
37
37
|
import * as I from "./components/dialog/v4/index.js";
|
|
38
38
|
import * as A from "./components/toggle/v3/index.js";
|
|
39
39
|
import * as E from "./components/toggle/v4/index.js";
|
|
40
|
-
import * as
|
|
41
|
-
import * as
|
|
40
|
+
import * as D from "./components/tooltip/v3/index.js";
|
|
41
|
+
import * as C from "./components/tooltip/v4/index.js";
|
|
42
42
|
import * as h from "./components/table/v3/index.js";
|
|
43
43
|
import * as B from "./components/table/v4/index.js";
|
|
44
44
|
import * as M from "./components/table-cells/v3/index.js";
|
|
45
45
|
import * as b from "./components/table-cells/v4/index.js";
|
|
46
46
|
import * as w from "./components/skeleton/v3/index.js";
|
|
47
47
|
import * as O from "./components/skeleton/v4/index.js";
|
|
48
|
-
import * as
|
|
49
|
-
import * as
|
|
50
|
-
import * as
|
|
51
|
-
import * as
|
|
52
|
-
import * as
|
|
48
|
+
import * as S from "./components/loader/v4/index.js";
|
|
49
|
+
import * as v from "./components/emptyState/v3/index.js";
|
|
50
|
+
import * as H from "./components/emptyState/v4/index.js";
|
|
51
|
+
import * as N from "./components/snackbar/v3/index.js";
|
|
52
|
+
import * as V from "./components/snackbar/v4/index.js";
|
|
53
53
|
import * as J from "./components/radioButton/v3/index.js";
|
|
54
54
|
import * as K from "./components/radioButton/v4/index.js";
|
|
55
55
|
import * as P from "./components/textArea/v3/index.js";
|
|
@@ -66,42 +66,43 @@ import * as Y from "./components/dateRange/v4/index.js";
|
|
|
66
66
|
import * as U from "./components/popover/v3/index.js";
|
|
67
67
|
import * as W from "./components/popover/v4/index.js";
|
|
68
68
|
import * as X from "./utils/index.js";
|
|
69
|
-
import { useToggle as
|
|
70
|
-
import { useSearch as
|
|
69
|
+
import { useToggle as vo } from "./composables/useToggle.js";
|
|
70
|
+
import { useSearch as No } from "./composables/useSearch.js";
|
|
71
71
|
import { scrollToElementByClass as Jo, scrollToFirstInvalidElement as Ko, useFormValidation as Po, yupValidation as Ro } from "./composables/useFormValidation.js";
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import { default as Xo } from "./components/
|
|
78
|
-
import { default as or } from "./components/
|
|
79
|
-
import { default as er } from "./components/
|
|
80
|
-
import { default as mr } from "./components/
|
|
81
|
-
import { default as ar } from "./components/
|
|
82
|
-
import { default as fr } from "./components/
|
|
83
|
-
import { default as xr } from "./components/includeExclude/
|
|
84
|
-
import { default as nr } from "./components/includeExclude/
|
|
85
|
-
import { default as ur } from "./components/includeExclude/
|
|
86
|
-
import { default as Tr } from "./components/includeExclude/
|
|
87
|
-
import { default as yr } from "./components/includeExclude/
|
|
88
|
-
import { default as Fr } from "./components/includeExclude/
|
|
89
|
-
import { default as Ar } from "./components/
|
|
90
|
-
import { default as
|
|
91
|
-
import { default as hr } from "./components/
|
|
92
|
-
import { default as Mr } from "./components/typography/
|
|
93
|
-
import { default as wr } from "./components/typography/
|
|
72
|
+
import { useDateService as jo } from "./composables/useDateService.js";
|
|
73
|
+
import { BannerTypes as qo } from "./components/banner/index.js";
|
|
74
|
+
import { AlertTypes as Go } from "./components/alert/index.js";
|
|
75
|
+
import { AutocompleteTypes as Qo } from "./components/autocomplete/index.js";
|
|
76
|
+
import { ChartTypes as Uo } from "./components/chart/index.js";
|
|
77
|
+
import { default as Xo } from "./components/appTrigger/AppTrigger.vue.js";
|
|
78
|
+
import { default as or } from "./components/autocompleteDropdown/AutocompleteDropdown.vue.js";
|
|
79
|
+
import { default as er } from "./components/menuItem/MenuItem.vue.js";
|
|
80
|
+
import { default as mr } from "./components/menu/Menu.vue.js";
|
|
81
|
+
import { default as ar } from "./components/appIcon/AppIcon.vue.js";
|
|
82
|
+
import { default as fr } from "./components/floatingToolbar/FloatingToolbar.vue.js";
|
|
83
|
+
import { default as xr } from "./components/includeExclude/IncludeExclude.vue.js";
|
|
84
|
+
import { default as nr } from "./components/includeExclude/IncludeExcludeDragDrop.vue.js";
|
|
85
|
+
import { default as ur } from "./components/includeExclude/IncludeExcludeOption.vue.js";
|
|
86
|
+
import { default as Tr } from "./components/includeExclude/IncludeExcludeOptionDraggable.vue.js";
|
|
87
|
+
import { default as yr } from "./components/includeExclude/IncludeExcludeAppTrigger.vue.js";
|
|
88
|
+
import { default as Fr } from "./components/includeExclude/IncludeExcludeAppHeader.vue.js";
|
|
89
|
+
import { default as Ar } from "./components/includeExclude/IncludeExcludeChipFilter.vue.js";
|
|
90
|
+
import { default as Dr } from "./components/filterDropdown/FilterDropdown.vue.js";
|
|
91
|
+
import { default as hr } from "./components/filterDropdown/AddFilterButton.vue.js";
|
|
92
|
+
import { default as Mr } from "./components/typography/Heading.vue.js";
|
|
93
|
+
import { default as wr } from "./components/typography/Text.vue.js";
|
|
94
|
+
import { default as Sr } from "./components/typography/v4/Typography.vue.js";
|
|
94
95
|
import { default as Hr } from "./components/multibar/MultiBar.vue.js";
|
|
95
|
-
import { default as
|
|
96
|
-
import { default as
|
|
97
|
-
import { default as
|
|
98
|
-
import { default as
|
|
99
|
-
import { default as
|
|
100
|
-
import { default as
|
|
101
|
-
import { default as
|
|
102
|
-
import { default as
|
|
103
|
-
import { default as
|
|
104
|
-
import { ChartType as
|
|
96
|
+
import { default as Vr } from "./components/layout/FoldableSection.vue.js";
|
|
97
|
+
import { default as Kr } from "./components/forms/FormRow.vue.js";
|
|
98
|
+
import { default as Rr } from "./components/forms/FormCard.vue.js";
|
|
99
|
+
import { default as jr } from "./components/forms/CardPanel.vue.js";
|
|
100
|
+
import { default as qr } from "./components/forms/FormField.vue.js";
|
|
101
|
+
import { default as Gr } from "./components/banner/Banner.vue.js";
|
|
102
|
+
import { default as Qr } from "./components/alert/Alert.vue.js";
|
|
103
|
+
import { default as Ur } from "./components/autocomplete/Autocomplete.vue.js";
|
|
104
|
+
import { default as Xr } from "./components/chart/Chart.vue.js";
|
|
105
|
+
import { ChartType as oe, TooltipOrder as re, TrendDirection as ee } from "./components/chart/types.js";
|
|
105
106
|
const Z = {
|
|
106
107
|
...e,
|
|
107
108
|
...t,
|
|
@@ -123,21 +124,21 @@ const Z = {
|
|
|
123
124
|
...g,
|
|
124
125
|
...F,
|
|
125
126
|
...I,
|
|
126
|
-
...C,
|
|
127
127
|
...D,
|
|
128
|
+
...C,
|
|
128
129
|
...A,
|
|
129
130
|
...E,
|
|
130
131
|
...h,
|
|
131
132
|
...B,
|
|
132
133
|
...M,
|
|
133
134
|
...b,
|
|
134
|
-
...
|
|
135
|
-
...
|
|
135
|
+
...v,
|
|
136
|
+
...H,
|
|
136
137
|
...w,
|
|
137
138
|
...O,
|
|
138
|
-
...
|
|
139
|
+
...S,
|
|
140
|
+
...N,
|
|
139
141
|
...V,
|
|
140
|
-
...v,
|
|
141
142
|
...n,
|
|
142
143
|
...l,
|
|
143
144
|
...P,
|
|
@@ -158,62 +159,63 @@ const Z = {
|
|
|
158
159
|
...X
|
|
159
160
|
};
|
|
160
161
|
export {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
hr as AddFilterButton,
|
|
163
|
+
Qr as Alert,
|
|
164
|
+
Go as AlertTypes,
|
|
165
|
+
ar as AppIcon,
|
|
165
166
|
so as AppIconTypes,
|
|
166
|
-
|
|
167
|
+
Xo as AppTrigger,
|
|
167
168
|
eo as AppTriggerTypes,
|
|
168
|
-
|
|
169
|
-
|
|
169
|
+
Ur as Autocomplete,
|
|
170
|
+
or as AutocompleteDropdown,
|
|
170
171
|
mo as AutocompleteDropdownTypes,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
172
|
+
Qo as AutocompleteTypes,
|
|
173
|
+
Gr as Banner,
|
|
174
|
+
qo as BannerTypes,
|
|
175
|
+
jr as CardPanel,
|
|
176
|
+
Xr as Chart,
|
|
177
|
+
oe as ChartType,
|
|
178
|
+
Uo as ChartTypes,
|
|
179
|
+
Dr as FilterDropdown,
|
|
179
180
|
Fo as FilterDropdownTypes,
|
|
180
|
-
|
|
181
|
+
fr as FloatingToolbar,
|
|
181
182
|
lo as FloatingToolbarTypes,
|
|
182
|
-
|
|
183
|
+
Vr as FoldableSection,
|
|
183
184
|
Mo as FoldableSectionTypes,
|
|
184
|
-
|
|
185
|
+
Rr as FormCard,
|
|
185
186
|
wo as FormCardTypes,
|
|
186
|
-
|
|
187
|
+
qr as FormField,
|
|
187
188
|
Oo as FormFieldTypes,
|
|
188
|
-
|
|
189
|
-
|
|
189
|
+
Kr as FormRow,
|
|
190
|
+
Mr as Heading,
|
|
190
191
|
co as ID_INJECTION_KEY,
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
192
|
+
xr as IncludeExclude,
|
|
193
|
+
Fr as IncludeExcludeAppHeader,
|
|
194
|
+
yr as IncludeExcludeAppTrigger,
|
|
195
|
+
Ar as IncludeExcludeChipFilter,
|
|
196
|
+
nr as IncludeExcludeDragDrop,
|
|
197
|
+
ur as IncludeExcludeOption,
|
|
198
|
+
Tr as IncludeExcludeOptionDraggable,
|
|
198
199
|
$o as IncludeExcludeTypes,
|
|
199
|
-
|
|
200
|
-
|
|
200
|
+
mr as Menu,
|
|
201
|
+
er as MenuItem,
|
|
201
202
|
ao as MenuItemTypes,
|
|
202
203
|
fo as MenuTypes,
|
|
203
204
|
Hr as MultiBar,
|
|
204
205
|
ho as MultiBarTypes,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
206
|
+
wr as Text,
|
|
207
|
+
re as TooltipOrder,
|
|
208
|
+
ee as TrendDirection,
|
|
209
|
+
Sr as Typography,
|
|
209
210
|
Ao as TypographyTypes,
|
|
210
|
-
|
|
211
|
+
Do as TypographyTypesV4,
|
|
211
212
|
Z as default,
|
|
212
213
|
Jo as scrollToElementByClass,
|
|
213
214
|
Ko as scrollToFirstInvalidElement,
|
|
215
|
+
jo as useDateService,
|
|
214
216
|
Po as useFormValidation,
|
|
215
217
|
yo as useId,
|
|
216
|
-
|
|
217
|
-
|
|
218
|
+
No as useSearch,
|
|
219
|
+
vo as useToggle,
|
|
218
220
|
Ro as yupValidation
|
|
219
221
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ironsource/shared-ui",
|
|
3
|
-
"version": "2.1.12-test.
|
|
3
|
+
"version": "2.1.12-test.97",
|
|
4
4
|
"engines": {
|
|
5
5
|
"npm": ">=7.0.0",
|
|
6
6
|
"node": ">=16.0.0"
|
|
@@ -231,6 +231,7 @@
|
|
|
231
231
|
"./statusDot": "./components/statusDot/index.js",
|
|
232
232
|
"./sortableList": "./components/sortableList/index.js",
|
|
233
233
|
"./composables/useFormValidation": "./composables/useFormValidation.js",
|
|
234
|
+
"./composables/useDateService": "./composables/useDateService.js",
|
|
234
235
|
"./utils/": "./utils/index.ts"
|
|
235
236
|
},
|
|
236
237
|
"typesVersions": {
|
|
@@ -468,6 +469,9 @@
|
|
|
468
469
|
],
|
|
469
470
|
"composables/useFormValidation": [
|
|
470
471
|
"./composables/useFormValidation.d.ts"
|
|
472
|
+
],
|
|
473
|
+
"composables/useDateService": [
|
|
474
|
+
"./composables/useDateService.d.ts"
|
|
471
475
|
]
|
|
472
476
|
}
|
|
473
477
|
},
|