@natoora-libs/core 0.0.33 → 0.0.35

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,659 +0,0 @@
1
- import React, { ReactNode, FC, ComponentType } from 'react';
2
- import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import * as prop_types from 'prop-types';
4
- import prop_types__default, { any } from 'prop-types';
5
-
6
- interface AlertDialogProps {
7
- open: boolean;
8
- alertTitle?: string;
9
- description?: string;
10
- maxWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
11
- fullWidth?: boolean;
12
- content?: ReactNode;
13
- fullScreen?: boolean;
14
- handleAlertAccept?: () => void;
15
- handleAlertReject?: () => void;
16
- rejectCopy?: string;
17
- acceptCopy?: string;
18
- }
19
- declare const AlertDialog: React.FC<AlertDialogProps>;
20
-
21
- declare function AlertDialogFullScreen({ handleAlertAccept, handleAlertReject, fullScreen, open, rejectCopy, acceptCopy, content, }: {
22
- handleAlertAccept: any;
23
- handleAlertReject: any;
24
- fullScreen: any;
25
- open: any;
26
- rejectCopy: any;
27
- acceptCopy: any;
28
- content: any;
29
- }): react_jsx_runtime.JSX.Element;
30
- declare namespace AlertDialogFullScreen {
31
- namespace propTypes {
32
- export { any as acceptCopy };
33
- export { any as content };
34
- export { any as fullScreen };
35
- export { any as handleAlertAccept };
36
- export { any as handleAlertReject };
37
- export { any as open };
38
- export { any as rejectCopy };
39
- }
40
- }
41
-
42
- interface IAppLabel {
43
- appName: string;
44
- }
45
- declare const AppLabel: ({ appName }: IAppLabel) => react_jsx_runtime.JSX.Element;
46
-
47
- interface BackHeaderProps {
48
- appName: string;
49
- onGoBackClick?: () => void;
50
- }
51
- declare const BackHeader: React.FC<BackHeaderProps>;
52
-
53
- declare const BottomBar: {
54
- ({ className, children, isLoading, onRefreshClick }: {
55
- className: any;
56
- children: any;
57
- isLoading: any;
58
- onRefreshClick: any;
59
- }): react_jsx_runtime.JSX.Element;
60
- defaultProps: {
61
- className: string;
62
- children: null;
63
- isLoading: boolean;
64
- onRefreshClick: null;
65
- };
66
- propTypes: {
67
- className: prop_types.Requireable<string>;
68
- children: prop_types.Requireable<prop_types.ReactNodeLike>;
69
- isLoading: prop_types.Requireable<boolean>;
70
- onRefreshClick: prop_types.Requireable<(...args: any[]) => any>;
71
- };
72
- };
73
-
74
- declare const _default$g: React.MemoExoticComponent<{
75
- (props: any): react_jsx_runtime.JSX.Element;
76
- propTypes: {
77
- label: prop_types__default.Requireable<any>;
78
- onClick: prop_types__default.Requireable<any>;
79
- main: prop_types__default.Requireable<any>;
80
- extra: prop_types__default.Requireable<any>;
81
- borderColor: prop_types__default.Requireable<any>;
82
- };
83
- }>;
84
-
85
- declare const _default$f: React.MemoExoticComponent<{
86
- ({ buttonType, className, color, copy, disabled, href, onClick, subcopy, type, variant, component, tooltip, }: {
87
- buttonType: any;
88
- className: any;
89
- color: any;
90
- copy: any;
91
- disabled: any;
92
- href: any;
93
- onClick: any;
94
- subcopy: any;
95
- type: any;
96
- variant: any;
97
- component: any;
98
- tooltip: any;
99
- }): react_jsx_runtime.JSX.Element;
100
- defaultProps: {
101
- buttonType: string;
102
- color: string;
103
- disabled: boolean;
104
- href: string;
105
- tooltip: string;
106
- component: string;
107
- type: undefined;
108
- className: undefined;
109
- onClick: undefined;
110
- subcopy: undefined;
111
- variant: string;
112
- };
113
- propTypes: {
114
- buttonType: prop_types.Requireable<string>;
115
- className: prop_types.Requireable<string>;
116
- color: prop_types.Requireable<string>;
117
- copy: prop_types.Validator<string>;
118
- disabled: prop_types.Requireable<boolean>;
119
- href: prop_types.Requireable<string>;
120
- onClick: prop_types.Requireable<(...args: any[]) => any>;
121
- subcopy: prop_types.Requireable<string>;
122
- tooltip: prop_types.Requireable<string>;
123
- component: prop_types.Requireable<string>;
124
- type: prop_types.Requireable<string>;
125
- variant: prop_types.Requireable<string>;
126
- };
127
- }>;
128
-
129
- declare const _default$e: React.MemoExoticComponent<{
130
- ({ autoFocus, className, color, copy, disabled, href, isLoading, onClick, type, variant, }: {
131
- autoFocus?: boolean | undefined;
132
- className: any;
133
- color?: string | undefined;
134
- copy: any;
135
- disabled?: boolean | undefined;
136
- href?: string | undefined;
137
- isLoading?: boolean | undefined;
138
- onClick: any;
139
- type: any;
140
- variant?: string | undefined;
141
- }): react_jsx_runtime.JSX.Element;
142
- propTypes: {
143
- autoFocus: prop_types.Requireable<boolean>;
144
- className: prop_types.Requireable<string>;
145
- color: prop_types.Requireable<string>;
146
- copy: prop_types.Validator<string>;
147
- isLoading: prop_types.Requireable<boolean>;
148
- disabled: prop_types.Requireable<boolean>;
149
- href: prop_types.Requireable<string>;
150
- onClick: prop_types.Requireable<(...args: any[]) => any>;
151
- type: prop_types.Requireable<string>;
152
- variant: prop_types.Requireable<string>;
153
- };
154
- }>;
155
-
156
- declare const _default$d: React.MemoExoticComponent<{
157
- ({ classes, disabled, variant, color, copy, handleClick, loading, loadingProps, }: {
158
- classes: any;
159
- disabled: any;
160
- variant: any;
161
- color: any;
162
- copy: any;
163
- handleClick: any;
164
- loading?: boolean | undefined;
165
- loadingProps: any;
166
- }): react_jsx_runtime.JSX.Element;
167
- propTypes: {
168
- classes: prop_types__default.Requireable<any>;
169
- disabled: prop_types__default.Requireable<any>;
170
- variant: prop_types__default.Requireable<string>;
171
- color: prop_types__default.Requireable<string>;
172
- copy: prop_types__default.Requireable<any>;
173
- handleClick: prop_types__default.Requireable<any>;
174
- loading: prop_types__default.Requireable<boolean>;
175
- loadingProps: prop_types__default.Requireable<prop_types__default.InferProps<{
176
- color: prop_types__default.Requireable<string>;
177
- size: prop_types__default.Requireable<number>;
178
- style: prop_types__default.Requireable<string>;
179
- }>>;
180
- };
181
- }>;
182
-
183
- declare const _default$c: React.MemoExoticComponent<{
184
- ({ className, color, copy, disabled, href, isLoading, onClick, startIcon, style, subcopy, type, }: {
185
- className: any;
186
- color: any;
187
- copy: any;
188
- disabled: any;
189
- href?: string | undefined;
190
- isLoading: any;
191
- onClick: any;
192
- startIcon: any;
193
- style: any;
194
- subcopy: any;
195
- type?: string | undefined;
196
- }): react_jsx_runtime.JSX.Element;
197
- propTypes: {
198
- className: prop_types.Requireable<string>;
199
- color: prop_types.Requireable<string>;
200
- copy: prop_types.Validator<NonNullable<NonNullable<string | number | null | undefined>>>;
201
- disabled: prop_types.Requireable<boolean>;
202
- href: prop_types.Requireable<string>;
203
- isLoading: prop_types.Requireable<boolean>;
204
- onClick: prop_types.Requireable<(...args: any[]) => any>;
205
- startIcon: prop_types.Requireable<prop_types.ReactNodeLike>;
206
- style: prop_types.Requireable<prop_types.InferProps<{}>>;
207
- subcopy: prop_types.Requireable<string>;
208
- type: prop_types.Requireable<string>;
209
- };
210
- }>;
211
-
212
- interface IRoundButton {
213
- active?: boolean;
214
- children?: string;
215
- className?: string;
216
- disabled?: boolean;
217
- focused?: boolean;
218
- icon?: 'add' | 'apps' | 'arrowBack' | 'arrowForward' | 'avocado' | 'backspaceOutlined' | 'banana' | 'block' | 'bulk' | 'callSplit' | 'chevronRight' | 'chevronUp' | 'chevronDown' | 'close' | 'delete' | 'done' | 'edit' | 'email' | 'grape' | 'groupAdd' | 'history' | 'menu' | 'notes' | 'refresh' | 'remove' | 'search' | 'send' | 'strawberry' | 'thumbDown' | 'threeDots' | 'thumbUp' | 'undo' | 'play' | 'snail' | 'bus' | 'spoon' | 'fork' | 'car' | 'knife' | 'bicycle' | 'heart' | 'airplane';
219
- iconColor?: 'inherit' | 'disabled' | 'primary' | 'secondary' | 'action' | 'error';
220
- isContrast?: boolean;
221
- isTableButton?: boolean;
222
- noStrokes?: boolean;
223
- onClick?: (event: any) => void;
224
- size?: 'small' | 'medium' | 'large' | 'double';
225
- tooltip?: string;
226
- variant?: 'default' | 'defaultPrimary' | 'defaultError' | 'filled' | 'primary' | 'secondary';
227
- testID?: string;
228
- }
229
- /**
230
- * A Rounded button component that is abstracted from MUI Fab component.
231
- * Can render an icon or a single character.
232
- * https://v4.mui.com/api/fab/#fab-api.
233
- */
234
- declare const RoundButton: ({ active, children, className, disabled, focused, icon, iconColor, isContrast, isTableButton, noStrokes, onClick, size, tooltip, variant, testID, }: IRoundButton) => react_jsx_runtime.JSX.Element;
235
-
236
- interface ICompanyLogo {
237
- size: 'small' | 'medium';
238
- color: 'light' | 'dark';
239
- imageLogoDarkSmall: string;
240
- imageLogoLightSmall: string;
241
- }
242
- declare const CompanyLogo: ({ size, color, imageLogoDarkSmall, imageLogoLightSmall, }: ICompanyLogo) => react_jsx_runtime.JSX.Element;
243
-
244
- interface DateProps {
245
- datetime: string | Date;
246
- format?: string;
247
- }
248
- declare const Date: React.FC<DateProps>;
249
-
250
- interface IDeleteSubstitutionDialogContent {
251
- closeDialog: () => void;
252
- deleteSubstitution: () => void;
253
- substitutionName: string;
254
- }
255
- declare const _default$b: React.MemoExoticComponent<({ closeDialog, substitutionName, deleteSubstitution, }: IDeleteSubstitutionDialogContent) => react_jsx_runtime.JSX.Element>;
256
-
257
- interface IDeleteUserDialogContent {
258
- closeDialog: () => void;
259
- deleteUser: () => void;
260
- userName: string;
261
- }
262
- declare const _default$a: React.MemoExoticComponent<({ closeDialog, userName, deleteUser, }: IDeleteUserDialogContent) => react_jsx_runtime.JSX.Element>;
263
-
264
- type Props$1 = {
265
- children: React.ReactNode;
266
- imageLogoDarkSmall: string;
267
- imageLogoLightSmall: string;
268
- };
269
- declare const DesktopContainer: ({ imageLogoDarkSmall, imageLogoLightSmall, children, }: Props$1) => react_jsx_runtime.JSX.Element;
270
-
271
- interface ITwoButtonDialogProps {
272
- confirmButton: () => void;
273
- dialogLoading?: boolean;
274
- title: string;
275
- subtitle1?: string | React.ReactNode;
276
- subtitle2?: string | React.ReactNode;
277
- open: boolean;
278
- setOpen: (open: boolean) => void;
279
- }
280
- declare const TwoButtonDialog: FC<ITwoButtonDialogProps>;
281
-
282
- declare function SvgSamsaraLogo(props: any): react_jsx_runtime.JSX.Element;
283
-
284
- declare function SvgIconHome(props: any): react_jsx_runtime.JSX.Element;
285
-
286
- declare function SvgIconNotification(props: any): react_jsx_runtime.JSX.Element;
287
-
288
- declare function SvgIconPhone(props: any): react_jsx_runtime.JSX.Element;
289
-
290
- declare function SvgIconAccount(props: any): react_jsx_runtime.JSX.Element;
291
-
292
- declare function SvgIconOrders(props: any): react_jsx_runtime.JSX.Element;
293
-
294
- declare function SvgIconPriceList(props: any): react_jsx_runtime.JSX.Element;
295
-
296
- declare function SvgIconSpecialPrice(props: any): react_jsx_runtime.JSX.Element;
297
-
298
- declare function SvgIconBuying(props: any): react_jsx_runtime.JSX.Element;
299
-
300
- declare function IconContentManagement(props: any): react_jsx_runtime.JSX.Element;
301
-
302
- declare function SvgIconProducts(props: any): react_jsx_runtime.JSX.Element;
303
-
304
- declare function SvgIconStock(props: any): react_jsx_runtime.JSX.Element;
305
-
306
- declare function SvgIconSupplier(props: any): react_jsx_runtime.JSX.Element;
307
-
308
- declare function SvgIconSupplierPrices(props: any): react_jsx_runtime.JSX.Element;
309
-
310
- declare function SvgIconGoodsin(props: any): react_jsx_runtime.JSX.Element;
311
-
312
- declare function SvgIconVkc(props: any): react_jsx_runtime.JSX.Element;
313
-
314
- declare function SvgIconLocation(props: any): react_jsx_runtime.JSX.Element;
315
-
316
- declare function SvgIconScales(props: any): react_jsx_runtime.JSX.Element;
317
-
318
- declare function SvgIconQc(props: any): react_jsx_runtime.JSX.Element;
319
-
320
- declare function SvgIconRetail(props: any): react_jsx_runtime.JSX.Element;
321
-
322
- declare function SvgIconRuns(props: any): react_jsx_runtime.JSX.Element;
323
-
324
- declare function SvgIconAccounts(props: any): react_jsx_runtime.JSX.Element;
325
-
326
- declare function SvgIconReports(props: any): react_jsx_runtime.JSX.Element;
327
-
328
- declare function SvgIconSetting(props: any): react_jsx_runtime.JSX.Element;
329
-
330
- declare function SvgIconLogin(props: any): react_jsx_runtime.JSX.Element;
331
-
332
- declare function SvgBallsLogo(props: any): react_jsx_runtime.JSX.Element;
333
-
334
- declare function SvgIconAvocado(): react_jsx_runtime.JSX.Element;
335
-
336
- declare function SvgIconBanana(): react_jsx_runtime.JSX.Element;
337
-
338
- declare function SvgIconGrape(props: any): react_jsx_runtime.JSX.Element;
339
-
340
- declare function SvgIconStrawberry(): react_jsx_runtime.JSX.Element;
341
-
342
- declare function SvgIconPromoCode(props: any): react_jsx_runtime.JSX.Element;
343
-
344
- declare function SvgIconOpsMetrics(props: any): react_jsx_runtime.JSX.Element;
345
-
346
- declare function SvgIconSearchCategories(props: any): react_jsx_runtime.JSX.Element;
347
-
348
- declare function SvgIconImport(props: any): react_jsx_runtime.JSX.Element;
349
-
350
- declare function SvgIconSnail(props: any): react_jsx_runtime.JSX.Element;
351
-
352
- declare function SvgEmptyGlassIcon(props: any): react_jsx_runtime.JSX.Element;
353
-
354
- declare const SvgIconUserManagement: () => react_jsx_runtime.JSX.Element;
355
-
356
- declare namespace icons {
357
- export { SvgSamsaraLogo };
358
- export { SvgIconHome };
359
- export { SvgIconNotification };
360
- export { SvgIconPhone };
361
- export { SvgIconAccount };
362
- export { SvgIconOrders };
363
- export { SvgIconPriceList };
364
- export { SvgIconSpecialPrice };
365
- export { SvgIconBuying };
366
- export { IconContentManagement as SvgIconContentManagement };
367
- export { SvgIconProducts };
368
- export { SvgIconStock };
369
- export { SvgIconSupplier };
370
- export { SvgIconSupplierPrices };
371
- export { SvgIconGoodsin };
372
- export { SvgIconVkc };
373
- export { SvgIconLocation };
374
- export { SvgIconScales };
375
- export { SvgIconQc };
376
- export { SvgIconRetail };
377
- export { SvgIconRuns };
378
- export { SvgIconAccounts };
379
- export { SvgIconReports };
380
- export { SvgIconSetting };
381
- export { SvgIconLogin };
382
- export { SvgBallsLogo };
383
- export { SvgIconAvocado };
384
- export { SvgIconBanana };
385
- export { SvgIconGrape };
386
- export { SvgIconStrawberry };
387
- export { SvgIconPromoCode };
388
- export { SvgIconOpsMetrics };
389
- export { SvgIconSearchCategories };
390
- export { SvgIconImport };
391
- export { SvgIconSnail };
392
- export { SvgEmptyGlassIcon };
393
- export { SvgIconUserManagement };
394
- }
395
-
396
- interface ILeftDrawer {
397
- open: boolean;
398
- handleOpen: () => void;
399
- handleClose: () => void;
400
- }
401
- declare const _default$9: React.MemoExoticComponent<({ handleClose, handleOpen, open }: ILeftDrawer) => react_jsx_runtime.JSX.Element>;
402
-
403
- interface ILoading {
404
- isLoading: boolean;
405
- }
406
- declare const Loading: ({ isLoading }: ILoading) => react_jsx_runtime.JSX.Element;
407
-
408
- declare const PaginationForTable: {
409
- ({ appliedFilters, className, page, pagination, position, style, updateFilters, }: {
410
- appliedFilters: any;
411
- className: any;
412
- page: any;
413
- pagination: any;
414
- position?: string | undefined;
415
- style: any;
416
- updateFilters: any;
417
- }): react_jsx_runtime.JSX.Element;
418
- defaultProps: {
419
- className: string;
420
- };
421
- propTypes: {
422
- appliedFilters: prop_types.Requireable<any>;
423
- className: prop_types.Requireable<string>;
424
- page: prop_types.Requireable<any>;
425
- pagination: prop_types.Requireable<object>;
426
- position: prop_types.Requireable<string>;
427
- style: prop_types.Requireable<any>;
428
- updateFilters: prop_types.Validator<(...args: any[]) => any>;
429
- };
430
- };
431
-
432
- declare const ProductImage: {
433
- ({ classes, image, size, status, }: {
434
- classes: any;
435
- image: any;
436
- size?: string | undefined;
437
- status: any;
438
- }): react_jsx_runtime.JSX.Element;
439
- propTypes: {
440
- classes: prop_types.Requireable<any>;
441
- image: prop_types.Requireable<string>;
442
- size: prop_types.Requireable<string>;
443
- status: prop_types.Requireable<any>;
444
- };
445
- };
446
-
447
- interface IRenderContentList {
448
- items: string[];
449
- activeSection: string;
450
- }
451
- declare const RenderContentList: ({ items, activeSection }: IRenderContentList) => react_jsx_runtime.JSX.Element;
452
-
453
- /**
454
- * A card on row format that can display informations about a product
455
- * It can be very detailed or lean
456
- */
457
- declare const RowProductCard: {
458
- ({ children, columns, location, product, size }: {
459
- children: any;
460
- columns: any;
461
- location: any;
462
- product: any;
463
- size: any;
464
- }): react_jsx_runtime.JSX.Element;
465
- defaultProps: {
466
- children: null;
467
- columns: never[];
468
- location: string;
469
- size: string;
470
- };
471
- propTypes: {
472
- /**
473
- * Possible actions or buttons that the card can have
474
- */
475
- children: prop_types.Requireable<prop_types.ReactNodeLike>;
476
- /**
477
- * Details about the product
478
- */
479
- columns: prop_types.Requireable<(prop_types.InferProps<{
480
- title: prop_types.Requireable<string>;
481
- value: prop_types.Requireable<NonNullable<prop_types.ReactNodeLike>>;
482
- }> | null | undefined)[]>;
483
- /**
484
- * Where is the product location
485
- */
486
- location: prop_types.Requireable<string>;
487
- /**
488
- * Product information
489
- */
490
- product: prop_types.Validator<NonNullable<prop_types.InferProps<{
491
- image: prop_types.Validator<string>;
492
- name: prop_types.Validator<string>;
493
- status: prop_types.Requireable<string>;
494
- }>>>;
495
- size: prop_types.Requireable<string>;
496
- };
497
- };
498
-
499
- declare const _default$8: React.MemoExoticComponent<{
500
- (props: any): react_jsx_runtime.JSX.Element;
501
- propTypes: {
502
- appName: prop_types__default.Requireable<string>;
503
- button: prop_types__default.Requireable<prop_types__default.ReactNodeLike>;
504
- copy: prop_types__default.Requireable<string>;
505
- enterPressedInSearch: prop_types__default.Requireable<(...args: any[]) => any>;
506
- isOpen: prop_types__default.Requireable<boolean>;
507
- onFilterButtonClick: prop_types__default.Requireable<(...args: any[]) => any>;
508
- searchedValue: prop_types__default.Requireable<string>;
509
- showFilterButton: prop_types__default.Requireable<boolean>;
510
- updateSearch: prop_types__default.Requireable<(...args: any[]) => any>;
511
- };
512
- }>;
513
-
514
- interface ISearchWithFiltersProps {
515
- enterPressedInSearch?: () => void;
516
- filterClick?: React.MouseEventHandler<HTMLButtonElement>;
517
- handleClick?: () => void;
518
- searchValue?: string;
519
- showFilters: boolean;
520
- updateFilters?: (filters: {
521
- search: string;
522
- }) => void;
523
- disabled?: boolean;
524
- }
525
- declare const _default$7: React.MemoExoticComponent<({ enterPressedInSearch, filterClick, handleClick, searchValue, showFilters, updateFilters, disabled, }: ISearchWithFiltersProps) => react_jsx_runtime.JSX.Element>;
526
-
527
- declare const _default$6: React.MemoExoticComponent<{
528
- (props: any): react_jsx_runtime.JSX.Element;
529
- propTypes: {
530
- onFilterButtonClick: prop_types__default.Requireable<(...args: any[]) => any>;
531
- isOpen: prop_types__default.Requireable<boolean>;
532
- updateSearch: prop_types__default.Requireable<(...args: any[]) => any>;
533
- enterPressedInSearch: prop_types__default.Requireable<(...args: any[]) => any>;
534
- showFilterButton: prop_types__default.Requireable<boolean>;
535
- searchedValue: prop_types__default.Requireable<string>;
536
- };
537
- }>;
538
-
539
- interface ISectionName {
540
- name: string;
541
- tooltipDescription?: string;
542
- sectionId?: string;
543
- buttonText?: string;
544
- handleButtonClick?: () => void;
545
- buttonDisabled?: boolean;
546
- }
547
- declare const SectionName: ({ name, tooltipDescription, sectionId, handleButtonClick, buttonText, buttonDisabled, }: ISectionName) => react_jsx_runtime.JSX.Element;
548
-
549
- declare const Shift: {
550
- ({ shift }: {
551
- shift: any;
552
- }): react_jsx_runtime.JSX.Element;
553
- propTypes: {
554
- shift: prop_types.Requireable<string>;
555
- };
556
- };
557
-
558
- declare const _default$5: React.MemoExoticComponent<{
559
- ({ justifyContent, children }: {
560
- justifyContent: any;
561
- children: any;
562
- }): react_jsx_runtime.JSX.Element;
563
- propTypes: {
564
- children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
565
- justifyContent: PropTypes.Requireable<string>;
566
- };
567
- }>;
568
-
569
- declare const _default$4: React.MemoExoticComponent<{
570
- (props: any): react_jsx_runtime.JSX.Element;
571
- propTypes: {
572
- order: PropTypes.Requireable<string>;
573
- orderBy: PropTypes.Requireable<string>;
574
- onRequestSort: PropTypes.Requireable<(...args: any[]) => any>;
575
- headCells: PropTypes.Requireable<any>;
576
- };
577
- }>;
578
-
579
- interface IHeadCell {
580
- id: string;
581
- numeric: boolean;
582
- disablePadding: boolean;
583
- label: string;
584
- }
585
- interface ITableDesktopProps {
586
- appliedFilters?: any;
587
- children?: React.ReactNode;
588
- data: any[];
589
- headCells: IHeadCell[];
590
- height?: number | string;
591
- isLoading: boolean;
592
- RenderItem: ComponentType<any>;
593
- rowsPerPage: number;
594
- updateSort: (sortField: string, sortDir: 'asc' | 'desc') => void;
595
- showClearFilterButton?: boolean;
596
- handleClickOnClearFiltersButton?: () => void;
597
- deleteItem?: (id: string) => void;
598
- keyField: string;
599
- }
600
- declare const TableDesktop: ({ appliedFilters, children, data, headCells, height, isLoading, RenderItem, rowsPerPage, updateSort, showClearFilterButton, handleClickOnClearFiltersButton, deleteItem, keyField, }: ITableDesktopProps) => react_jsx_runtime.JSX.Element;
601
-
602
- interface ITableEmptyResult {
603
- showClearFilterButton?: boolean;
604
- handleClickOnClearFiltersButton?: () => void;
605
- }
606
- declare const TableEmptyResult: ({ showClearFilterButton, handleClickOnClearFiltersButton, }: ITableEmptyResult) => react_jsx_runtime.JSX.Element;
607
-
608
- declare const _default$3: React.MemoExoticComponent<{
609
- ({ cells, onSort }: {
610
- cells: any;
611
- onSort: any;
612
- }): react_jsx_runtime.JSX.Element;
613
- defaultProps: {
614
- onSort: null;
615
- };
616
- propTypes: {
617
- cells: prop_types.Validator<(prop_types.InferProps<{
618
- direction: prop_types.Requireable<string>;
619
- isSortable: prop_types.Requireable<boolean>;
620
- label: prop_types.Requireable<string>;
621
- name: prop_types.Requireable<string>;
622
- }> | null | undefined)[]>;
623
- onSort: prop_types.Requireable<(...args: any[]) => any>;
624
- };
625
- }>;
626
-
627
- type Props = {
628
- imageLogoDarkSmall: string;
629
- imageLogoLightSmall: string;
630
- };
631
- declare const _default$2: React.MemoExoticComponent<({ imageLogoDarkSmall, imageLogoLightSmall }: Props) => react_jsx_runtime.JSX.Element>;
632
-
633
- declare const _default$1: React.MemoExoticComponent<{
634
- ({ src, width, height }: {
635
- src: any;
636
- width: any;
637
- height: any;
638
- }): react_jsx_runtime.JSX.Element;
639
- propTypes: {
640
- src: prop_types__default.Requireable<any>;
641
- width: prop_types__default.Requireable<any>;
642
- height: prop_types__default.Requireable<any>;
643
- };
644
- }>;
645
-
646
- declare const _default: React.MemoExoticComponent<{
647
- ({ user, avatarProps, typographyProps }: {
648
- user: any;
649
- avatarProps: any;
650
- typographyProps: any;
651
- }): react_jsx_runtime.JSX.Element;
652
- propTypes: {
653
- user: prop_types__default.Requireable<any>;
654
- avatarProps: prop_types__default.Requireable<any>;
655
- typographyProps: prop_types__default.Requireable<any>;
656
- };
657
- }>;
658
-
659
- export { AlertDialog, AlertDialogFullScreen, AppLabel, BackHeader, BottomBar, _default$g as BoxButton, CompanyLogo, Date, _default$b as DeleteSubstitutionDialogContent, _default$a as DeleteUserDialogContent, DesktopContainer, _default$f as ExtendedButton, _default$e as FilledButton, _default$d as FilledButtonLg, _default$5 as FixedFooter, _default$9 as LeftDrawer, Loading, _default$c as OutlinedButton, PaginationForTable as Pagination, ProductImage, RenderContentList, RoundButton, RowProductCard, _default$8 as SearchAndFilterHeaderForTable, _default$7 as SearchWithFilters, _default$6 as SearchWithFiltersForTable, SectionName, Shift, _default$4 as SmartTableHeader, TableDesktop, TableEmptyResult, _default$3 as TableHeader, _default$2 as TheToolbar, TwoButtonDialog, _default$1 as UserAvatar, _default as UserBust, icons };
@@ -1,7 +0,0 @@
1
- declare const useCheckPermissionToAccess: ({ featureSettings, pageName, requireAll, }: {
2
- featureSettings: any;
3
- pageName: any;
4
- requireAll?: boolean | undefined;
5
- }) => boolean;
6
-
7
- export { useCheckPermissionToAccess };
@@ -1,7 +0,0 @@
1
- declare const useCheckPermissionToAccess: ({ featureSettings, pageName, requireAll, }: {
2
- featureSettings: any;
3
- pageName: any;
4
- requireAll?: boolean | undefined;
5
- }) => boolean;
6
-
7
- export { useCheckPermissionToAccess };
package/dist/index.d.cts DELETED
@@ -1,3 +0,0 @@
1
- declare const _default: "@natoora-libs/core";
2
-
3
- export { _default as default };
package/dist/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- declare const _default: "@natoora-libs/core";
2
-
3
- export { _default as default };