baaz-custom-components 5.0.20 → 5.0.23
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/dist/index.css +112 -26
- package/dist/index.d.mts +19 -7
- package/dist/index.d.ts +19 -7
- package/dist/index.js +378 -286
- package/dist/index.mjs +380 -287
- package/dist/styles.css +1 -1
- package/package.json +2 -3
package/dist/index.css
CHANGED
|
@@ -46,7 +46,9 @@
|
|
|
46
46
|
--tracking-widest: 0.1em;
|
|
47
47
|
--radius-xs: 0.125rem;
|
|
48
48
|
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
49
|
+
--animate-spin: spin 1s linear infinite;
|
|
49
50
|
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
51
|
+
--blur-sm: 8px;
|
|
50
52
|
--default-transition-duration: 150ms;
|
|
51
53
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
52
54
|
--default-font-family: var(--font-sans);
|
|
@@ -347,6 +349,24 @@
|
|
|
347
349
|
.z-\[1\] {
|
|
348
350
|
z-index: 1;
|
|
349
351
|
}
|
|
352
|
+
.container {
|
|
353
|
+
width: 100%;
|
|
354
|
+
@media (width >= 40rem) {
|
|
355
|
+
max-width: 40rem;
|
|
356
|
+
}
|
|
357
|
+
@media (width >= 48rem) {
|
|
358
|
+
max-width: 48rem;
|
|
359
|
+
}
|
|
360
|
+
@media (width >= 64rem) {
|
|
361
|
+
max-width: 64rem;
|
|
362
|
+
}
|
|
363
|
+
@media (width >= 80rem) {
|
|
364
|
+
max-width: 80rem;
|
|
365
|
+
}
|
|
366
|
+
@media (width >= 96rem) {
|
|
367
|
+
max-width: 96rem;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
350
370
|
.-mx-1 {
|
|
351
371
|
margin-inline: calc(var(--spacing) * -1);
|
|
352
372
|
}
|
|
@@ -383,9 +403,6 @@
|
|
|
383
403
|
.mt-auto {
|
|
384
404
|
margin-top: auto;
|
|
385
405
|
}
|
|
386
|
-
.mr-auto {
|
|
387
|
-
margin-right: auto;
|
|
388
|
-
}
|
|
389
406
|
.ml-1 {
|
|
390
407
|
margin-left: calc(var(--spacing) * 1);
|
|
391
408
|
}
|
|
@@ -492,6 +509,9 @@
|
|
|
492
509
|
.h-96 {
|
|
493
510
|
height: calc(var(--spacing) * 96);
|
|
494
511
|
}
|
|
512
|
+
.h-\[40px\] {
|
|
513
|
+
height: 40px;
|
|
514
|
+
}
|
|
495
515
|
.h-\[calc\(100dvh-3rem\)\] {
|
|
496
516
|
height: calc(100dvh - 3rem);
|
|
497
517
|
}
|
|
@@ -561,8 +581,11 @@
|
|
|
561
581
|
.w-80 {
|
|
562
582
|
width: calc(var(--spacing) * 80);
|
|
563
583
|
}
|
|
564
|
-
.w-\[
|
|
565
|
-
width:
|
|
584
|
+
.w-\[40px\] {
|
|
585
|
+
width: 40px;
|
|
586
|
+
}
|
|
587
|
+
.w-\[90px\] {
|
|
588
|
+
width: 90px;
|
|
566
589
|
}
|
|
567
590
|
.w-\[94\%\] {
|
|
568
591
|
width: 94%;
|
|
@@ -570,6 +593,12 @@
|
|
|
570
593
|
.w-\[100px\] {
|
|
571
594
|
width: 100px;
|
|
572
595
|
}
|
|
596
|
+
.w-\[250px\] {
|
|
597
|
+
width: 250px;
|
|
598
|
+
}
|
|
599
|
+
.w-\[650px\] {
|
|
600
|
+
width: 650px;
|
|
601
|
+
}
|
|
573
602
|
.w-auto {
|
|
574
603
|
width: auto;
|
|
575
604
|
}
|
|
@@ -579,15 +608,15 @@
|
|
|
579
608
|
.w-full {
|
|
580
609
|
width: 100%;
|
|
581
610
|
}
|
|
582
|
-
.w-grid {
|
|
583
|
-
width: calc(100% - 2px);
|
|
584
|
-
}
|
|
585
611
|
.w-max {
|
|
586
612
|
width: max-content;
|
|
587
613
|
}
|
|
588
614
|
.max-w-\(--skeleton-width\) {
|
|
589
615
|
max-width: var(--skeleton-width);
|
|
590
616
|
}
|
|
617
|
+
.max-w-\[95vw\] {
|
|
618
|
+
max-width: 95vw;
|
|
619
|
+
}
|
|
591
620
|
.max-w-\[calc\(100\%-2rem\)\] {
|
|
592
621
|
max-width: calc(100% - 2rem);
|
|
593
622
|
}
|
|
@@ -666,6 +695,9 @@
|
|
|
666
695
|
.animate-pulse {
|
|
667
696
|
animation: var(--animate-pulse);
|
|
668
697
|
}
|
|
698
|
+
.animate-spin {
|
|
699
|
+
animation: var(--animate-spin);
|
|
700
|
+
}
|
|
669
701
|
.cursor-default {
|
|
670
702
|
cursor: default;
|
|
671
703
|
}
|
|
@@ -675,9 +707,6 @@
|
|
|
675
707
|
.touch-none {
|
|
676
708
|
touch-action: none;
|
|
677
709
|
}
|
|
678
|
-
.resize {
|
|
679
|
-
resize: both;
|
|
680
|
-
}
|
|
681
710
|
.scroll-my-1 {
|
|
682
711
|
scroll-margin-block: calc(var(--spacing) * 1);
|
|
683
712
|
}
|
|
@@ -705,9 +734,6 @@
|
|
|
705
734
|
.justify-center {
|
|
706
735
|
justify-content: center;
|
|
707
736
|
}
|
|
708
|
-
.justify-end {
|
|
709
|
-
justify-content: flex-end;
|
|
710
|
-
}
|
|
711
737
|
.gap-1 {
|
|
712
738
|
gap: calc(var(--spacing) * 1);
|
|
713
739
|
}
|
|
@@ -729,6 +755,20 @@
|
|
|
729
755
|
.gap-8 {
|
|
730
756
|
gap: calc(var(--spacing) * 8);
|
|
731
757
|
}
|
|
758
|
+
.space-y-3 {
|
|
759
|
+
:where(& > :not(:last-child)) {
|
|
760
|
+
--tw-space-y-reverse: 0;
|
|
761
|
+
margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
|
|
762
|
+
margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
.space-y-4 {
|
|
766
|
+
:where(& > :not(:last-child)) {
|
|
767
|
+
--tw-space-y-reverse: 0;
|
|
768
|
+
margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
|
|
769
|
+
margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
|
|
770
|
+
}
|
|
771
|
+
}
|
|
732
772
|
.overflow-auto {
|
|
733
773
|
overflow: auto;
|
|
734
774
|
}
|
|
@@ -769,6 +809,10 @@
|
|
|
769
809
|
border-style: var(--tw-border-style);
|
|
770
810
|
border-width: 1px;
|
|
771
811
|
}
|
|
812
|
+
.border-2 {
|
|
813
|
+
border-style: var(--tw-border-style);
|
|
814
|
+
border-width: 2px;
|
|
815
|
+
}
|
|
772
816
|
.border-t {
|
|
773
817
|
border-top-style: var(--tw-border-style);
|
|
774
818
|
border-top-width: 1px;
|
|
@@ -821,6 +865,12 @@
|
|
|
821
865
|
.bg-background {
|
|
822
866
|
background-color: var(--background);
|
|
823
867
|
}
|
|
868
|
+
.bg-background\/60 {
|
|
869
|
+
background-color: var(--background);
|
|
870
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
871
|
+
background-color: color-mix(in oklab, var(--background) 60%, transparent);
|
|
872
|
+
}
|
|
873
|
+
}
|
|
824
874
|
.bg-black\/50 {
|
|
825
875
|
background-color: color-mix(in srgb, #000 50%, transparent);
|
|
826
876
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -848,12 +898,6 @@
|
|
|
848
898
|
.bg-destructive {
|
|
849
899
|
background-color: var(--destructive);
|
|
850
900
|
}
|
|
851
|
-
.bg-destructive\/40 {
|
|
852
|
-
background-color: var(--destructive);
|
|
853
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
854
|
-
background-color: color-mix(in oklab, var(--destructive) 40%, transparent);
|
|
855
|
-
}
|
|
856
|
-
}
|
|
857
901
|
.bg-input {
|
|
858
902
|
background-color: var(--input);
|
|
859
903
|
}
|
|
@@ -905,9 +949,6 @@
|
|
|
905
949
|
.p-2 {
|
|
906
950
|
padding: calc(var(--spacing) * 2);
|
|
907
951
|
}
|
|
908
|
-
.p-3 {
|
|
909
|
-
padding: calc(var(--spacing) * 3);
|
|
910
|
-
}
|
|
911
952
|
.p-4 {
|
|
912
953
|
padding: calc(var(--spacing) * 4);
|
|
913
954
|
}
|
|
@@ -1184,6 +1225,11 @@
|
|
|
1184
1225
|
.filter {
|
|
1185
1226
|
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
|
1186
1227
|
}
|
|
1228
|
+
.backdrop-blur-sm {
|
|
1229
|
+
--tw-backdrop-blur: blur(var(--blur-sm));
|
|
1230
|
+
-webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
1231
|
+
backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
1232
|
+
}
|
|
1187
1233
|
.transition {
|
|
1188
1234
|
transition-property:
|
|
1189
1235
|
color,
|
|
@@ -1673,10 +1719,13 @@
|
|
|
1673
1719
|
}
|
|
1674
1720
|
}
|
|
1675
1721
|
}
|
|
1676
|
-
.hover\:bg-destructive {
|
|
1722
|
+
.hover\:bg-destructive\/30 {
|
|
1677
1723
|
&:hover {
|
|
1678
1724
|
@media (hover: hover) {
|
|
1679
1725
|
background-color: var(--destructive);
|
|
1726
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1727
|
+
background-color: color-mix(in oklab, var(--destructive) 30%, transparent);
|
|
1728
|
+
}
|
|
1680
1729
|
}
|
|
1681
1730
|
}
|
|
1682
1731
|
}
|
|
@@ -1690,6 +1739,13 @@
|
|
|
1690
1739
|
}
|
|
1691
1740
|
}
|
|
1692
1741
|
}
|
|
1742
|
+
.hover\:bg-input {
|
|
1743
|
+
&:hover {
|
|
1744
|
+
@media (hover: hover) {
|
|
1745
|
+
background-color: var(--input);
|
|
1746
|
+
}
|
|
1747
|
+
}
|
|
1748
|
+
}
|
|
1693
1749
|
.hover\:bg-muted {
|
|
1694
1750
|
&:hover {
|
|
1695
1751
|
@media (hover: hover) {
|
|
@@ -7394,6 +7450,9 @@ i.wx-U0Bx7pIR {
|
|
|
7394
7450
|
box-shadow: 0 4px 16px #0009;
|
|
7395
7451
|
outline: var(--wx-border);
|
|
7396
7452
|
}
|
|
7453
|
+
* {
|
|
7454
|
+
box-sizing: border-box;
|
|
7455
|
+
}
|
|
7397
7456
|
:root {
|
|
7398
7457
|
--radius: 0.625rem;
|
|
7399
7458
|
--background: oklch(0.2758 0.0182 262.2);
|
|
@@ -7410,6 +7469,7 @@ i.wx-U0Bx7pIR {
|
|
|
7410
7469
|
--muted-foreground: oklch(0.9851 0 0);
|
|
7411
7470
|
--accent: oklch(0.6437 0.1913 274.74);
|
|
7412
7471
|
--accent-foreground: oklch(0.9851 0 0);
|
|
7472
|
+
--surface-alt: oklch(0.305 0.02 260);
|
|
7413
7473
|
--destructive: oklch(0.577 0.245 27.325);
|
|
7414
7474
|
--border: oklch(0.4448 0.0409 263.25);
|
|
7415
7475
|
--input: oklch(0.4448 0.0409 263.25);
|
|
@@ -7502,7 +7562,7 @@ i.wx-U0Bx7pIR {
|
|
|
7502
7562
|
}
|
|
7503
7563
|
}
|
|
7504
7564
|
.wx-willow-dark-theme {
|
|
7505
|
-
--wx-table-header-background: var(--
|
|
7565
|
+
--wx-table-header-background: var(--surface-alt);
|
|
7506
7566
|
--wx-table-select-background: var(--popover);
|
|
7507
7567
|
--wx-table-select-focus-background: var(--card-foreground);
|
|
7508
7568
|
--wx-table-select-border: inset 3px 0 var(--primary);
|
|
@@ -7520,7 +7580,8 @@ i.wx-U0Bx7pIR {
|
|
|
7520
7580
|
}
|
|
7521
7581
|
.wx-theme {
|
|
7522
7582
|
height: 100%;
|
|
7523
|
-
|
|
7583
|
+
width: 100%;
|
|
7584
|
+
max-width: 100%;
|
|
7524
7585
|
}
|
|
7525
7586
|
.wx-willow-dark-theme .menu {
|
|
7526
7587
|
box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.6);
|
|
@@ -7545,6 +7606,7 @@ i.wx-U0Bx7pIR {
|
|
|
7545
7606
|
@property --tw-rotate-z { syntax: "*"; inherits: false; }
|
|
7546
7607
|
@property --tw-skew-x { syntax: "*"; inherits: false; }
|
|
7547
7608
|
@property --tw-skew-y { syntax: "*"; inherits: false; }
|
|
7609
|
+
@property --tw-space-y-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
7548
7610
|
@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }
|
|
7549
7611
|
@property --tw-leading { syntax: "*"; inherits: false; }
|
|
7550
7612
|
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
@@ -7582,9 +7644,23 @@ i.wx-U0Bx7pIR {
|
|
|
7582
7644
|
@property --tw-drop-shadow-color { syntax: "*"; inherits: false; }
|
|
7583
7645
|
@property --tw-drop-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
7584
7646
|
@property --tw-drop-shadow-size { syntax: "*"; inherits: false; }
|
|
7647
|
+
@property --tw-backdrop-blur { syntax: "*"; inherits: false; }
|
|
7648
|
+
@property --tw-backdrop-brightness { syntax: "*"; inherits: false; }
|
|
7649
|
+
@property --tw-backdrop-contrast { syntax: "*"; inherits: false; }
|
|
7650
|
+
@property --tw-backdrop-grayscale { syntax: "*"; inherits: false; }
|
|
7651
|
+
@property --tw-backdrop-hue-rotate { syntax: "*"; inherits: false; }
|
|
7652
|
+
@property --tw-backdrop-invert { syntax: "*"; inherits: false; }
|
|
7653
|
+
@property --tw-backdrop-opacity { syntax: "*"; inherits: false; }
|
|
7654
|
+
@property --tw-backdrop-saturate { syntax: "*"; inherits: false; }
|
|
7655
|
+
@property --tw-backdrop-sepia { syntax: "*"; inherits: false; }
|
|
7585
7656
|
@property --tw-duration { syntax: "*"; inherits: false; }
|
|
7586
7657
|
@property --tw-ease { syntax: "*"; inherits: false; }
|
|
7587
7658
|
@property --tw-content { syntax: "*"; initial-value: ""; inherits: false; }
|
|
7659
|
+
@keyframes spin {
|
|
7660
|
+
to {
|
|
7661
|
+
transform: rotate(360deg);
|
|
7662
|
+
}
|
|
7663
|
+
}
|
|
7588
7664
|
@keyframes pulse {
|
|
7589
7665
|
50% {
|
|
7590
7666
|
opacity: 0.5;
|
|
@@ -7618,6 +7694,7 @@ i.wx-U0Bx7pIR {
|
|
|
7618
7694
|
--tw-rotate-z: initial;
|
|
7619
7695
|
--tw-skew-x: initial;
|
|
7620
7696
|
--tw-skew-y: initial;
|
|
7697
|
+
--tw-space-y-reverse: 0;
|
|
7621
7698
|
--tw-border-style: solid;
|
|
7622
7699
|
--tw-leading: initial;
|
|
7623
7700
|
--tw-font-weight: initial;
|
|
@@ -7655,6 +7732,15 @@ i.wx-U0Bx7pIR {
|
|
|
7655
7732
|
--tw-drop-shadow-color: initial;
|
|
7656
7733
|
--tw-drop-shadow-alpha: 100%;
|
|
7657
7734
|
--tw-drop-shadow-size: initial;
|
|
7735
|
+
--tw-backdrop-blur: initial;
|
|
7736
|
+
--tw-backdrop-brightness: initial;
|
|
7737
|
+
--tw-backdrop-contrast: initial;
|
|
7738
|
+
--tw-backdrop-grayscale: initial;
|
|
7739
|
+
--tw-backdrop-hue-rotate: initial;
|
|
7740
|
+
--tw-backdrop-invert: initial;
|
|
7741
|
+
--tw-backdrop-opacity: initial;
|
|
7742
|
+
--tw-backdrop-saturate: initial;
|
|
7743
|
+
--tw-backdrop-sepia: initial;
|
|
7658
7744
|
--tw-duration: initial;
|
|
7659
7745
|
--tw-ease: initial;
|
|
7660
7746
|
--tw-content: "";
|
package/dist/index.d.mts
CHANGED
|
@@ -68,7 +68,10 @@ type GridColumn = {
|
|
|
68
68
|
resize?: boolean;
|
|
69
69
|
};
|
|
70
70
|
type Filters = {
|
|
71
|
-
columnName:
|
|
71
|
+
columnName: {
|
|
72
|
+
label: string;
|
|
73
|
+
value: string;
|
|
74
|
+
};
|
|
72
75
|
operators: {
|
|
73
76
|
label: string;
|
|
74
77
|
value: "input" | "date" | "select" | "date-range" | null;
|
|
@@ -92,13 +95,11 @@ type GridProps = {
|
|
|
92
95
|
fonts?: boolean;
|
|
93
96
|
autoConfig?: boolean | {};
|
|
94
97
|
downloadable?: boolean;
|
|
95
|
-
|
|
98
|
+
fileName?: string;
|
|
96
99
|
search: boolean;
|
|
97
100
|
searchkey: string;
|
|
98
101
|
searchValue: string;
|
|
99
|
-
|
|
100
|
-
autoResizeMode?: boolean | "data" | "header" | undefined;
|
|
101
|
-
defaultMinWidth?: number;
|
|
102
|
+
loading: boolean;
|
|
102
103
|
onExportPdf?: () => void;
|
|
103
104
|
onExportExcel?: () => void;
|
|
104
105
|
onSearch: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
@@ -114,7 +115,18 @@ type ActiveFilter = {
|
|
|
114
115
|
endDate?: string | null;
|
|
115
116
|
};
|
|
116
117
|
|
|
117
|
-
declare
|
|
118
|
+
declare const Grid: react.ForwardRefExoticComponent<GridProps & react.RefAttributes<IApi | null>>;
|
|
119
|
+
|
|
120
|
+
type Props = {
|
|
121
|
+
cell: {
|
|
122
|
+
id?: string;
|
|
123
|
+
text?: string;
|
|
124
|
+
};
|
|
125
|
+
sortKey?: string | null;
|
|
126
|
+
sortOrder?: SortOrder | null;
|
|
127
|
+
onSortChange?: (key: string, order: SortOrder) => void;
|
|
128
|
+
};
|
|
129
|
+
declare function SortableHeaderCell({ cell, sortKey, sortOrder, onSortChange }: Props): react.JSX.Element;
|
|
118
130
|
|
|
119
131
|
type Pagination$1 = {
|
|
120
132
|
totalCount: number;
|
|
@@ -130,4 +142,4 @@ type Pagination$1 = {
|
|
|
130
142
|
|
|
131
143
|
declare function Pagination({ totalCount, count, currentPage, totalPages, pageSize, onPageChange, onPageSizeChange, showSizeChanger, sizeChangerOptions, }: Pagination$1): react.JSX.Element | null;
|
|
132
144
|
|
|
133
|
-
export { type BreadcrumbProps, CustomBreadcrumb, Grid, type GridProps, Navbar, type NavbarData, type NavbarEntry, type NavbarProps, type NotificationDataTypes, Pagination, type Pagination$1 as PaginationProps, type RouteTree, type RouterAdapter, type UserData };
|
|
145
|
+
export { type BreadcrumbProps, CustomBreadcrumb, Grid, type GridProps, Navbar, type NavbarData, type NavbarEntry, type NavbarProps, type NotificationDataTypes, Pagination, type Pagination$1 as PaginationProps, type RouteTree, type RouterAdapter, SortableHeaderCell, type UserData };
|
package/dist/index.d.ts
CHANGED
|
@@ -68,7 +68,10 @@ type GridColumn = {
|
|
|
68
68
|
resize?: boolean;
|
|
69
69
|
};
|
|
70
70
|
type Filters = {
|
|
71
|
-
columnName:
|
|
71
|
+
columnName: {
|
|
72
|
+
label: string;
|
|
73
|
+
value: string;
|
|
74
|
+
};
|
|
72
75
|
operators: {
|
|
73
76
|
label: string;
|
|
74
77
|
value: "input" | "date" | "select" | "date-range" | null;
|
|
@@ -92,13 +95,11 @@ type GridProps = {
|
|
|
92
95
|
fonts?: boolean;
|
|
93
96
|
autoConfig?: boolean | {};
|
|
94
97
|
downloadable?: boolean;
|
|
95
|
-
|
|
98
|
+
fileName?: string;
|
|
96
99
|
search: boolean;
|
|
97
100
|
searchkey: string;
|
|
98
101
|
searchValue: string;
|
|
99
|
-
|
|
100
|
-
autoResizeMode?: boolean | "data" | "header" | undefined;
|
|
101
|
-
defaultMinWidth?: number;
|
|
102
|
+
loading: boolean;
|
|
102
103
|
onExportPdf?: () => void;
|
|
103
104
|
onExportExcel?: () => void;
|
|
104
105
|
onSearch: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
@@ -114,7 +115,18 @@ type ActiveFilter = {
|
|
|
114
115
|
endDate?: string | null;
|
|
115
116
|
};
|
|
116
117
|
|
|
117
|
-
declare
|
|
118
|
+
declare const Grid: react.ForwardRefExoticComponent<GridProps & react.RefAttributes<IApi | null>>;
|
|
119
|
+
|
|
120
|
+
type Props = {
|
|
121
|
+
cell: {
|
|
122
|
+
id?: string;
|
|
123
|
+
text?: string;
|
|
124
|
+
};
|
|
125
|
+
sortKey?: string | null;
|
|
126
|
+
sortOrder?: SortOrder | null;
|
|
127
|
+
onSortChange?: (key: string, order: SortOrder) => void;
|
|
128
|
+
};
|
|
129
|
+
declare function SortableHeaderCell({ cell, sortKey, sortOrder, onSortChange }: Props): react.JSX.Element;
|
|
118
130
|
|
|
119
131
|
type Pagination$1 = {
|
|
120
132
|
totalCount: number;
|
|
@@ -130,4 +142,4 @@ type Pagination$1 = {
|
|
|
130
142
|
|
|
131
143
|
declare function Pagination({ totalCount, count, currentPage, totalPages, pageSize, onPageChange, onPageSizeChange, showSizeChanger, sizeChangerOptions, }: Pagination$1): react.JSX.Element | null;
|
|
132
144
|
|
|
133
|
-
export { type BreadcrumbProps, CustomBreadcrumb, Grid, type GridProps, Navbar, type NavbarData, type NavbarEntry, type NavbarProps, type NotificationDataTypes, Pagination, type Pagination$1 as PaginationProps, type RouteTree, type RouterAdapter, type UserData };
|
|
145
|
+
export { type BreadcrumbProps, CustomBreadcrumb, Grid, type GridProps, Navbar, type NavbarData, type NavbarEntry, type NavbarProps, type NotificationDataTypes, Pagination, type Pagination$1 as PaginationProps, type RouteTree, type RouterAdapter, SortableHeaderCell, type UserData };
|