magneto365.ui 2.69.0-beta.2 → 2.70.0

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,4 +1,3 @@
1
- import React from "react";
2
1
  declare type PositionY = 'top' | 'bottom';
3
2
  declare type PositionX = 'left' | 'center' | 'right';
4
3
  export interface IPopover {
@@ -31,6 +30,5 @@ export interface IPopover {
31
30
  */
32
31
  staticContent?: boolean;
33
32
  className?: string;
34
- style?: React.CSSProperties;
35
33
  }
36
34
  export {};
@@ -12,6 +12,10 @@ export interface IApplicationSummary {
12
12
  * this property closes the ui
13
13
  */
14
14
  onClose: () => void;
15
+ /**
16
+ * this property sets custom styles
17
+ */
18
+ className?: string;
15
19
  }
16
20
  export declare namespace IApplicationSummary {
17
21
  interface Section {
@@ -16,16 +16,4 @@ export interface IFilterCard extends IFilter, ISearchRenderTypeProps {
16
16
  * This is the switch title and indicate if has switch
17
17
  */
18
18
  switchText?: string;
19
- /**
20
- * Identification Key for each filter card
21
- */
22
- index: number;
23
- /**
24
- *Function to bnotify an open filter
25
- */
26
- setCurrentOpenFilter: (index: number) => void;
27
- /**
28
- * key to know if a filter has changed
29
- */
30
- showFilters: boolean;
31
19
  }
@@ -3,7 +3,6 @@ import { ISearchbar } from '@components/UI/molecules';
3
3
  import { IPopoverRef } from '@components/UI/molecules/MegaMenuPopover/MegaMenuPopover.interface';
4
4
  import { IlistMenuUserProps } from '@components/UI/organism';
5
5
  import React, { ReactNode } from 'react';
6
- import { ISelectOptions } from '@components/UI/organism/Select2/Select2.interface';
7
6
  export interface IMegaMenuLink {
8
7
  label: string;
9
8
  url: string;
@@ -28,7 +27,6 @@ export interface IMegaMenuMainHeader {
28
27
  signUpText: string;
29
28
  onClickSignUp: (event: Event) => Promise<void>;
30
29
  };
31
- selectCountry?: ISelectOptions<unknown>;
32
30
  searchBarProps?: ISearchbar;
33
31
  homeUrl?: string;
34
32
  homeText?: string;
@@ -188,5 +188,3 @@ export { default as WhatsAppDark } from '../assets/Whatsapp.svg';
188
188
  export { default as X } from '../assets/X.svg';
189
189
  export { default as Youtube } from '../assets/Youtube.svg';
190
190
  export { default as YoutubeSolid } from '../assets/YoutubeSolid.svg';
191
- export { default as FilterIcon } from '../assets/filter-search.svg';
192
- export { default as SortIcon } from '../assets/SortIcon.svg';
@@ -33,7 +33,10 @@ export declare const storiesFilters: ({
33
33
  fieldsAlias: {
34
34
  id: string;
35
35
  label: string;
36
+ parentId?: undefined;
36
37
  };
38
+ fieldFullSearch?: undefined;
39
+ sourceName?: undefined;
37
40
  };
38
41
  values: {
39
42
  id: number;
@@ -43,6 +46,90 @@ export declare const storiesFilters: ({
43
46
  isApplied: boolean;
44
47
  }[];
45
48
  searchPlaceholder: string;
49
+ renderChild?: undefined;
50
+ child?: undefined;
51
+ filtersApplied?: undefined;
52
+ } | {
53
+ label: string;
54
+ field: string;
55
+ type: string;
56
+ renderType: string;
57
+ renderChild: string;
58
+ dataType: string;
59
+ multiple: boolean;
60
+ repository: {
61
+ type: string;
62
+ defaultFilter: {
63
+ active?: undefined;
64
+ };
65
+ defaultOrder: {
66
+ name?: undefined;
67
+ };
68
+ defaultOperator: number;
69
+ source: string;
70
+ fieldFullSearch: string;
71
+ sourceName: string;
72
+ fieldsAlias: {
73
+ id: string;
74
+ label: string;
75
+ parentId: null;
76
+ };
77
+ };
78
+ child: {
79
+ label: string;
80
+ field: string;
81
+ type: string;
82
+ renderType: string;
83
+ renderChild: string;
84
+ dataType: string;
85
+ multiple: boolean;
86
+ repository: {
87
+ type: string;
88
+ defaultFilter: {};
89
+ defaultOrder: {};
90
+ defaultOperator: number;
91
+ source: string;
92
+ fieldFullSearch: string;
93
+ sourceName: string;
94
+ fieldsAlias: {
95
+ id: string;
96
+ label: string;
97
+ parentId: string;
98
+ };
99
+ };
100
+ child: {
101
+ label: string;
102
+ field: string;
103
+ type: string;
104
+ renderType: string;
105
+ dataType: string;
106
+ multiple: boolean;
107
+ repository: {
108
+ type: string;
109
+ defaultFilter: {};
110
+ defaultOrder: {};
111
+ defaultOperator: number;
112
+ source: string;
113
+ fieldFullSearch: string;
114
+ sourceName: string;
115
+ fieldsAlias: {
116
+ id: string;
117
+ label: string;
118
+ parentId: string;
119
+ };
120
+ };
121
+ values: never[];
122
+ filtersApplied: string[];
123
+ searchPlaceholder: string;
124
+ };
125
+ values: never[];
126
+ filtersApplied: string[];
127
+ searchPlaceholder: string;
128
+ };
129
+ values: never[];
130
+ filtersApplied: number[];
131
+ searchPlaceholder: string;
132
+ placeholder?: undefined;
46
133
  } | {
47
134
  label: string;
48
135
  field: string;
@@ -63,7 +150,10 @@ export declare const storiesFilters: ({
63
150
  fieldsAlias: {
64
151
  id?: undefined;
65
152
  label?: undefined;
153
+ parentId?: undefined;
66
154
  };
155
+ fieldFullSearch?: undefined;
156
+ sourceName?: undefined;
67
157
  };
68
158
  values: ({
69
159
  operator: number;
@@ -86,6 +176,9 @@ export declare const storiesFilters: ({
86
176
  })[];
87
177
  searchPlaceholder: string;
88
178
  placeholder?: undefined;
179
+ renderChild?: undefined;
180
+ child?: undefined;
181
+ filtersApplied?: undefined;
89
182
  } | {
90
183
  label: string;
91
184
  field: string;
@@ -104,6 +197,8 @@ export declare const storiesFilters: ({
104
197
  defaultOperator: number;
105
198
  source: null;
106
199
  fieldsAlias: null;
200
+ fieldFullSearch?: undefined;
201
+ sourceName?: undefined;
107
202
  };
108
203
  values: ({
109
204
  operator: number;
@@ -135,6 +230,9 @@ export declare const storiesFilters: ({
135
230
  })[];
136
231
  searchPlaceholder: string;
137
232
  placeholder?: undefined;
233
+ renderChild?: undefined;
234
+ child?: undefined;
235
+ filtersApplied?: undefined;
138
236
  } | {
139
237
  label: string;
140
238
  field: string;
@@ -153,6 +251,8 @@ export declare const storiesFilters: ({
153
251
  defaultOperator: number;
154
252
  source: string;
155
253
  fieldsAlias: null;
254
+ fieldFullSearch?: undefined;
255
+ sourceName?: undefined;
156
256
  };
157
257
  values: {
158
258
  id: string;
@@ -165,6 +265,9 @@ export declare const storiesFilters: ({
165
265
  }[];
166
266
  searchPlaceholder: string;
167
267
  placeholder?: undefined;
268
+ renderChild?: undefined;
269
+ child?: undefined;
270
+ filtersApplied?: undefined;
168
271
  } | {
169
272
  label: string;
170
273
  field: string;
@@ -183,6 +286,8 @@ export declare const storiesFilters: ({
183
286
  defaultOperator: number;
184
287
  source: string;
185
288
  fieldsAlias: null;
289
+ fieldFullSearch?: undefined;
290
+ sourceName?: undefined;
186
291
  };
187
292
  values: {
188
293
  id: number;
@@ -193,6 +298,9 @@ export declare const storiesFilters: ({
193
298
  }[];
194
299
  searchPlaceholder: string;
195
300
  placeholder?: undefined;
301
+ renderChild?: undefined;
302
+ child?: undefined;
303
+ filtersApplied?: undefined;
196
304
  } | {
197
305
  label: string;
198
306
  field: string;
@@ -211,6 +319,8 @@ export declare const storiesFilters: ({
211
319
  defaultOperator: number;
212
320
  source: null;
213
321
  fieldsAlias: null;
322
+ fieldFullSearch?: undefined;
323
+ sourceName?: undefined;
214
324
  };
215
325
  values: {
216
326
  operator: number;
@@ -221,6 +331,9 @@ export declare const storiesFilters: ({
221
331
  }[];
222
332
  searchPlaceholder: string;
223
333
  placeholder?: undefined;
334
+ renderChild?: undefined;
335
+ child?: undefined;
336
+ filtersApplied?: undefined;
224
337
  } | {
225
338
  label: string;
226
339
  field: string;
@@ -239,6 +352,8 @@ export declare const storiesFilters: ({
239
352
  defaultOperator: number;
240
353
  source: null;
241
354
  fieldsAlias: null;
355
+ fieldFullSearch?: undefined;
356
+ sourceName?: undefined;
242
357
  };
243
358
  values: {
244
359
  operator: number;
@@ -249,6 +364,9 @@ export declare const storiesFilters: ({
249
364
  }[];
250
365
  searchPlaceholder: string;
251
366
  placeholder?: undefined;
367
+ renderChild?: undefined;
368
+ child?: undefined;
369
+ filtersApplied?: undefined;
252
370
  } | {
253
371
  label: string;
254
372
  field: string;
@@ -267,6 +385,8 @@ export declare const storiesFilters: ({
267
385
  defaultOperator: number;
268
386
  source: null;
269
387
  fieldsAlias: null;
388
+ fieldFullSearch?: undefined;
389
+ sourceName?: undefined;
270
390
  };
271
391
  values: {
272
392
  operator: number;
@@ -278,6 +398,9 @@ export declare const storiesFilters: ({
278
398
  }[];
279
399
  searchPlaceholder: string;
280
400
  placeholder?: undefined;
401
+ renderChild?: undefined;
402
+ child?: undefined;
403
+ filtersApplied?: undefined;
281
404
  })[];
282
405
  export declare const sideFilterProps: {
283
406
  title: string;