@ballistix.digital/react-components 6.0.3-next-43.0 → 6.0.3
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.d.ts +1 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +142 -194
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +141 -193
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -9
package/dist/index.esm.js
CHANGED
|
@@ -14,7 +14,7 @@ import {useFloating as $4MPRY$useFloating, offset as $4MPRY$offset, flip as $4MP
|
|
|
14
14
|
import {Menu as $4MPRY$Menu, MenuButton as $4MPRY$MenuButton, Transition as $4MPRY$Transition, MenuItems as $4MPRY$MenuItems, Dialog as $4MPRY$Dialog, Popover as $4MPRY$Popover, PopoverButton as $4MPRY$PopoverButton, PopoverPanel as $4MPRY$PopoverPanel, Switch as $4MPRY$Switch} from "@headlessui/react";
|
|
15
15
|
import {useMask as $4MPRY$useMask} from "@react-input/mask";
|
|
16
16
|
import {ViewColumnsIcon as $4MPRY$ViewColumnsIcon, ChevronDownIcon as $4MPRY$ChevronDownIcon1, TableCellsIcon as $4MPRY$TableCellsIcon, XMarkIcon as $4MPRY$XMarkIcon, PlusIcon as $4MPRY$PlusIcon} from "@heroicons/react/24/outline";
|
|
17
|
-
import {useReactTable as $4MPRY$useReactTable, getCoreRowModel as $4MPRY$getCoreRowModel, flexRender as $4MPRY$flexRender,
|
|
17
|
+
import {useReactTable as $4MPRY$useReactTable, getCoreRowModel as $4MPRY$getCoreRowModel, flexRender as $4MPRY$flexRender, createColumnHelper as $4MPRY$createColumnHelper} from "@tanstack/react-table";
|
|
18
18
|
import $4MPRY$reacttailwindcssselect from "react-tailwindcss-select";
|
|
19
19
|
import {utils as $4MPRY$utils, writeFile as $4MPRY$writeFile} from "xlsx";
|
|
20
20
|
import {useSensors as $4MPRY$useSensors, useSensor as $4MPRY$useSensor, MouseSensor as $4MPRY$MouseSensor, TouchSensor as $4MPRY$TouchSensor, KeyboardSensor as $4MPRY$KeyboardSensor, DndContext as $4MPRY$DndContext, closestCenter as $4MPRY$closestCenter} from "@dnd-kit/core";
|
|
@@ -149,7 +149,7 @@ var $b3fc44f26b625a32$export$e2d2075c69d9100d = function(object) {
|
|
|
149
149
|
|
|
150
150
|
var $8c8429f872d72c06$var$base = {
|
|
151
151
|
loading: 'relative overflow-hidden bg-gray-50 flex items-center justify-center',
|
|
152
|
-
spinner: 'animate-spin text-gray-400',
|
|
152
|
+
spinner: 'w-5 h-5 animate-spin text-gray-400',
|
|
153
153
|
empty: 'inline-block relative overflow-hidden bg-gray-50 text-red-400',
|
|
154
154
|
placeholder: 'relative inline-flex items-center justify-center bg-gray-500',
|
|
155
155
|
container: 'inline-block bg-gray-100 bg-cover bg-center',
|
|
@@ -157,7 +157,7 @@ var $8c8429f872d72c06$var$base = {
|
|
|
157
157
|
};
|
|
158
158
|
var $8c8429f872d72c06$var$xs = {
|
|
159
159
|
loading: 'h-6 w-6',
|
|
160
|
-
spinner: 'h-
|
|
160
|
+
spinner: 'h-6 w-6',
|
|
161
161
|
empty: 'h-6 w-6',
|
|
162
162
|
placeholder: 'h-6 w-6',
|
|
163
163
|
container: 'h-6 w-6',
|
|
@@ -165,7 +165,7 @@ var $8c8429f872d72c06$var$xs = {
|
|
|
165
165
|
};
|
|
166
166
|
var $8c8429f872d72c06$var$sm = {
|
|
167
167
|
loading: 'h-8 w-8',
|
|
168
|
-
spinner: 'h-
|
|
168
|
+
spinner: 'h-8 w-8',
|
|
169
169
|
empty: 'h-8 w-8',
|
|
170
170
|
placeholder: 'h-8 w-8',
|
|
171
171
|
container: 'h-8 w-8',
|
|
@@ -173,7 +173,7 @@ var $8c8429f872d72c06$var$sm = {
|
|
|
173
173
|
};
|
|
174
174
|
var $8c8429f872d72c06$var$md = {
|
|
175
175
|
loading: 'h-10 w-10',
|
|
176
|
-
spinner: 'h-
|
|
176
|
+
spinner: 'h-10 w-10',
|
|
177
177
|
empty: 'h-10 w-10',
|
|
178
178
|
placeholder: 'h-10 w-10',
|
|
179
179
|
container: 'h-10 w-10',
|
|
@@ -181,7 +181,7 @@ var $8c8429f872d72c06$var$md = {
|
|
|
181
181
|
};
|
|
182
182
|
var $8c8429f872d72c06$var$lg = {
|
|
183
183
|
loading: 'h-12 w-12',
|
|
184
|
-
spinner: 'h-
|
|
184
|
+
spinner: 'h-12 w-12',
|
|
185
185
|
empty: 'h-12 w-12',
|
|
186
186
|
placeholder: 'h-12 w-12',
|
|
187
187
|
container: 'h-12 w-12',
|
|
@@ -189,7 +189,7 @@ var $8c8429f872d72c06$var$lg = {
|
|
|
189
189
|
};
|
|
190
190
|
var $8c8429f872d72c06$var$xl = {
|
|
191
191
|
loading: 'h-14 w-14',
|
|
192
|
-
spinner: 'h-
|
|
192
|
+
spinner: 'h-14 w-14',
|
|
193
193
|
empty: 'h-14 w-14',
|
|
194
194
|
placeholder: 'h-14 w-14',
|
|
195
195
|
container: 'h-14 w-14',
|
|
@@ -403,15 +403,15 @@ var $77cd4416ca4a0639$export$2e2bcd8739ae039 = $77cd4416ca4a0639$var$IconElement
|
|
|
403
403
|
|
|
404
404
|
|
|
405
405
|
var $a8e9e4c588ab42de$var$base = {
|
|
406
|
-
container: 'rounded-
|
|
406
|
+
container: 'rounded-sm p-4 border-l-4',
|
|
407
407
|
icon: 'h-5 w-5',
|
|
408
408
|
content: {
|
|
409
409
|
container: 'ml-3 flex-1 md:flex md:justify-between ease-in-out transition-transform h-full items-center',
|
|
410
|
-
iconContainer: 'shrink-0',
|
|
410
|
+
iconContainer: 'flex-shrink-0',
|
|
411
411
|
title: 'text-md font-semibold',
|
|
412
412
|
message: 'text-sm',
|
|
413
413
|
actions: 'flex gap-2',
|
|
414
|
-
action: 'h-5 w-5 p-0
|
|
414
|
+
action: 'h-5 w-5 !p-0 hover:opacity-60 cursor-pointer',
|
|
415
415
|
inverted: 'rotate-180'
|
|
416
416
|
}
|
|
417
417
|
};
|
|
@@ -567,7 +567,7 @@ var $9a29d5e0e3b54abe$export$2e2bcd8739ae039 = $9a29d5e0e3b54abe$var$AlertElemen
|
|
|
567
567
|
var $0b2d04c7befe535a$var$base = {
|
|
568
568
|
container: 'inline-flex items-center font-medium py-0.5',
|
|
569
569
|
indicator: '',
|
|
570
|
-
button: 'shrink-0 ml-0.5 h-4 w-4 rounded-full inline-flex items-center justify-center focus:text-white focus:outline-
|
|
570
|
+
button: 'flex-shrink-0 ml-0.5 h-4 w-4 rounded-full inline-flex items-center justify-center focus:text-white focus:outline-none'
|
|
571
571
|
};
|
|
572
572
|
var $0b2d04c7befe535a$var$normal = {
|
|
573
573
|
container: 'px-2.5'
|
|
@@ -579,7 +579,7 @@ var $0b2d04c7befe535a$var$close = {
|
|
|
579
579
|
container: 'pl-2.5 pr-1'
|
|
580
580
|
};
|
|
581
581
|
var $0b2d04c7befe535a$var$primary = {
|
|
582
|
-
container: "shadow-
|
|
582
|
+
container: "shadow-sm text-white bg-primary-600 hover:bg-primary-700"
|
|
583
583
|
};
|
|
584
584
|
var $0b2d04c7befe535a$var$secondary = {
|
|
585
585
|
container: "shadow-none text-primary-700 bg-primary-100 hover:bg-primary-200"
|
|
@@ -629,7 +629,7 @@ var $0b2d04c7befe535a$var$blue = {
|
|
|
629
629
|
var $0b2d04c7befe535a$var$indigo = {
|
|
630
630
|
container: 'bg-primary-100 text-primary-800',
|
|
631
631
|
indicator: 'text-primary-400',
|
|
632
|
-
button: 'text-primary-400 hover:bg-primary-200 hover:text-primary-500 focus:outline-
|
|
632
|
+
button: 'text-primary-400 hover:bg-primary-200 hover:text-primary-500 focus:outline-none focus:bg-primary-500'
|
|
633
633
|
};
|
|
634
634
|
var $0b2d04c7befe535a$var$purple = {
|
|
635
635
|
container: 'bg-purple-100 text-purple-800',
|
|
@@ -750,7 +750,7 @@ var $a5045567c9b3a96e$export$2e2bcd8739ae039 = $a5045567c9b3a96e$var$BadgeElemen
|
|
|
750
750
|
|
|
751
751
|
var $1cab1d6bde3e8d5f$var$base = {
|
|
752
752
|
container: 'w-fit h-fit relative group/tooltip',
|
|
753
|
-
content: 'absolute flex justify-center items-center z-200 tooltip-animate px-4 py-2 border whitespace-nowrap border-palette-grayDarker bg-white font-light text-xs rounded-
|
|
753
|
+
content: 'absolute flex justify-center items-center z-200 tooltip-animate px-4 py-2 border whitespace-nowrap border-palette-grayDarker bg-white font-light text-xs rounded-sm',
|
|
754
754
|
arrow: {
|
|
755
755
|
stroke: '#e5e7eb',
|
|
756
756
|
fill: 'white',
|
|
@@ -861,13 +861,13 @@ var $b237e6d2d86a5c92$export$2e2bcd8739ae039 = $b237e6d2d86a5c92$var$TooltipElem
|
|
|
861
861
|
|
|
862
862
|
|
|
863
863
|
var $67205466403f8c2c$var$base = {
|
|
864
|
-
container: 'inline-flex items-center border border-transparent font-medium focus:outline-
|
|
864
|
+
container: 'inline-flex items-center border border-transparent font-medium focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500 duration-300',
|
|
865
865
|
content: 'flex gap-2',
|
|
866
866
|
icon: '',
|
|
867
867
|
spinner: 'animate-spin'
|
|
868
868
|
};
|
|
869
869
|
var $67205466403f8c2c$var$primary = {
|
|
870
|
-
container: "shadow-
|
|
870
|
+
container: "shadow-sm text-white bg-primary-600 hover:bg-primary-700"
|
|
871
871
|
};
|
|
872
872
|
var $67205466403f8c2c$var$secondary = {
|
|
873
873
|
container: "shadow-none text-primary-700 bg-primary-100 hover:bg-primary-200"
|
|
@@ -902,15 +902,15 @@ var $67205466403f8c2c$var$loading = {
|
|
|
902
902
|
content: 'flex items-center'
|
|
903
903
|
};
|
|
904
904
|
var $67205466403f8c2c$var$success = {
|
|
905
|
-
container: 'bg-emerald-500
|
|
905
|
+
container: '!bg-emerald-500 hover:bg-emerald-600 !text-white duration-300',
|
|
906
906
|
content: 'flex items-center'
|
|
907
907
|
};
|
|
908
908
|
var $67205466403f8c2c$var$error = {
|
|
909
|
-
container: 'bg-rose-400 hover:bg-rose-500 text-white
|
|
909
|
+
container: 'bg-rose-400 hover:bg-rose-500 !text-white duration-300',
|
|
910
910
|
content: 'flex items-center'
|
|
911
911
|
};
|
|
912
912
|
var $67205466403f8c2c$var$disabled = {
|
|
913
|
-
container: 'opacity-20!
|
|
913
|
+
container: '!opacity-20 !cursor-not-allowed'
|
|
914
914
|
};
|
|
915
915
|
var $67205466403f8c2c$var$styles = {
|
|
916
916
|
base: $67205466403f8c2c$var$base,
|
|
@@ -1007,10 +1007,10 @@ var $bc407adcad543f74$export$2e2bcd8739ae039 = $bc407adcad543f74$var$ButtonEleme
|
|
|
1007
1007
|
|
|
1008
1008
|
|
|
1009
1009
|
var $0d9883a5deceb7f9$var$base = {
|
|
1010
|
-
container: 'relative z-0 inline-flex shadow-
|
|
1011
|
-
firstButton: 'relative inline-flex items-center px-4 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:outline-
|
|
1012
|
-
button: '-ml-px relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:outline-
|
|
1013
|
-
lastButton: '-ml-px relative inline-flex items-center px-4 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:outline-
|
|
1010
|
+
container: 'relative z-0 inline-flex shadow-sm rounded-md',
|
|
1011
|
+
firstButton: 'relative inline-flex items-center px-4 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:outline-none focus:ring-1 focus:ring-primary-500 focus:border-primary-500',
|
|
1012
|
+
button: '-ml-px relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:outline-none focus:ring-1 focus:ring-primary-500 focus:border-primary-500',
|
|
1013
|
+
lastButton: '-ml-px relative inline-flex items-center px-4 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:z-10 focus:outline-none focus:ring-1 focus:ring-primary-500 focus:border-primary-500'
|
|
1014
1014
|
};
|
|
1015
1015
|
var $0d9883a5deceb7f9$var$styles = {
|
|
1016
1016
|
base: $0d9883a5deceb7f9$var$base
|
|
@@ -1056,10 +1056,10 @@ var $c827cec2b56530a4$export$2e2bcd8739ae039 = $c827cec2b56530a4$var$ButtonGroup
|
|
|
1056
1056
|
|
|
1057
1057
|
var $dbe7e68c049007c5$var$base = {
|
|
1058
1058
|
container: 'inline-block text-left',
|
|
1059
|
-
button: 'inline-flex justify-center w-full rounded-md border border-gray-300 shadow-
|
|
1060
|
-
compact: 'bg-gray-100 rounded-full flex items-center text-gray-400 hover:text-gray-600 focus:outline-
|
|
1059
|
+
button: 'inline-flex justify-center w-full rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-primary-500',
|
|
1060
|
+
compact: 'bg-gray-100 rounded-full flex items-center text-gray-400 hover:text-gray-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-primary-500',
|
|
1061
1061
|
dots: 'h-7 w-7 p-1',
|
|
1062
|
-
items: 'z-10 absolute mt-2 w-56 rounded-md shadow-lg bg-white ring-1 ring-black
|
|
1062
|
+
items: 'z-10 absolute mt-2 w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 divide-y divide-gray-100 focus:outline-none'
|
|
1063
1063
|
};
|
|
1064
1064
|
var $dbe7e68c049007c5$var$button = {};
|
|
1065
1065
|
var $dbe7e68c049007c5$var$compact = {};
|
|
@@ -1075,10 +1075,6 @@ var $dbe7e68c049007c5$var$topLeft = {
|
|
|
1075
1075
|
var $dbe7e68c049007c5$var$topRight = {
|
|
1076
1076
|
items: 'origin-bottom-left left-0 bottom-0'
|
|
1077
1077
|
};
|
|
1078
|
-
var $dbe7e68c049007c5$var$disabled = {
|
|
1079
|
-
button: 'opacity-50 cursor-not-allowed',
|
|
1080
|
-
compact: 'opacity-50 cursor-not-allowed'
|
|
1081
|
-
};
|
|
1082
1078
|
var $dbe7e68c049007c5$var$styles = {
|
|
1083
1079
|
base: $dbe7e68c049007c5$var$base,
|
|
1084
1080
|
button: $dbe7e68c049007c5$var$button,
|
|
@@ -1086,19 +1082,18 @@ var $dbe7e68c049007c5$var$styles = {
|
|
|
1086
1082
|
'bottom-left': $dbe7e68c049007c5$var$bottomLeft,
|
|
1087
1083
|
'bottom-right': $dbe7e68c049007c5$var$bottomRight,
|
|
1088
1084
|
'top-left': $dbe7e68c049007c5$var$topLeft,
|
|
1089
|
-
'top-right': $dbe7e68c049007c5$var$topRight
|
|
1090
|
-
disabled: $dbe7e68c049007c5$var$disabled
|
|
1085
|
+
'top-right': $dbe7e68c049007c5$var$topRight
|
|
1091
1086
|
};
|
|
1092
1087
|
var $dbe7e68c049007c5$export$2e2bcd8739ae039 = $dbe7e68c049007c5$var$styles;
|
|
1093
1088
|
|
|
1094
1089
|
|
|
1095
1090
|
var $edc4ba41affb9483$var$Container = function(props) {
|
|
1096
|
-
var children = props.children, label = props.label, trigger = props.trigger, dataCy = props.dataCy, _a = props.type, type = _a === void 0 ? 'button' : _a, _b = props.direction, direction = _b === void 0 ? 'bottom end' : _b, _c = props.
|
|
1091
|
+
var children = props.children, label = props.label, trigger = props.trigger, dataCy = props.dataCy, _a = props.type, type = _a === void 0 ? 'button' : _a, _b = props.direction, direction = _b === void 0 ? 'bottom end' : _b, _c = props.isEscapingOverflow, isEscapingOverflow = _c === void 0 ? false : _c, stylesOverrides = props.styles;
|
|
1097
1092
|
var handleGenerateStyle = function() {
|
|
1098
1093
|
var result = (0, $b3fc44f26b625a32$export$e2d2075c69d9100d)((0, $dbe7e68c049007c5$export$2e2bcd8739ae039).base);
|
|
1099
1094
|
var keys = (0, $ba1db6dce71c3f25$export$be5d6ab3c5b84767)((0, $dbe7e68c049007c5$export$2e2bcd8739ae039).base);
|
|
1100
1095
|
keys.forEach(function(key) {
|
|
1101
|
-
(0, $4MPRY$set)(result, key, (0, $66c3dcaaa74b5389$export$4370d69198e9314a)((0, $4MPRY$get)((0, $dbe7e68c049007c5$export$2e2bcd8739ae039).base, key), type && (0, $4MPRY$get)((0, $dbe7e68c049007c5$export$2e2bcd8739ae039)[type], key),
|
|
1096
|
+
(0, $4MPRY$set)(result, key, (0, $66c3dcaaa74b5389$export$4370d69198e9314a)((0, $4MPRY$get)((0, $dbe7e68c049007c5$export$2e2bcd8739ae039).base, key), type && (0, $4MPRY$get)((0, $dbe7e68c049007c5$export$2e2bcd8739ae039)[type], key), (0, $4MPRY$get)(stylesOverrides, key)));
|
|
1102
1097
|
});
|
|
1103
1098
|
return result;
|
|
1104
1099
|
};
|
|
@@ -1110,7 +1105,6 @@ var $edc4ba41affb9483$var$Container = function(props) {
|
|
|
1110
1105
|
(0, $4MPRY$jsxs)("div", {
|
|
1111
1106
|
children: [
|
|
1112
1107
|
type === 'button' && (!trigger ? (0, $4MPRY$jsxs)((0, $4MPRY$MenuButton), {
|
|
1113
|
-
disabled: isDisabled,
|
|
1114
1108
|
className: styles.button,
|
|
1115
1109
|
"data-cy": dataCy,
|
|
1116
1110
|
children: [
|
|
@@ -1121,12 +1115,10 @@ var $edc4ba41affb9483$var$Container = function(props) {
|
|
|
1121
1115
|
})
|
|
1122
1116
|
]
|
|
1123
1117
|
}) : (0, $4MPRY$jsx)((0, $4MPRY$MenuButton), {
|
|
1124
|
-
disabled: isDisabled,
|
|
1125
1118
|
"data-cy": dataCy,
|
|
1126
1119
|
children: trigger
|
|
1127
1120
|
})),
|
|
1128
1121
|
type === 'compact' && (0, $4MPRY$jsxs)((0, $4MPRY$MenuButton), {
|
|
1129
|
-
disabled: isDisabled,
|
|
1130
1122
|
className: styles.compact,
|
|
1131
1123
|
"data-cy": dataCy,
|
|
1132
1124
|
children: [
|
|
@@ -1197,15 +1189,15 @@ var $0249406a6f5edb4d$var$normal = {
|
|
|
1197
1189
|
label: 'leading-6 text-sm mb-2',
|
|
1198
1190
|
hint: 'leading-6',
|
|
1199
1191
|
leading: 'pl-3',
|
|
1200
|
-
input: 'rounded-md border-gray-200 shadow-
|
|
1192
|
+
input: 'rounded-md border-gray-200 shadow-sm focus:border-primary-500 focus:ring-primary-500 sm:text-sm placeholder-gray-300',
|
|
1201
1193
|
trailing: 'pr-3',
|
|
1202
1194
|
description: 'mt-2 text-sm'
|
|
1203
1195
|
};
|
|
1204
1196
|
var $0249406a6f5edb4d$var$inset = {
|
|
1205
|
-
container: 'rounded-md px-3 pt-2.5 pb-1.5 shadow-
|
|
1197
|
+
container: 'rounded-md px-3 pt-2.5 pb-1.5 shadow-sm ring-1 ring-inset ring-gray-300 focus-within:ring-2 focus-within:ring-primary-600',
|
|
1206
1198
|
label: 'text-xs',
|
|
1207
1199
|
hint: 'text-xs',
|
|
1208
|
-
input: 'border-0 ring-0
|
|
1200
|
+
input: 'border-0 !ring-0 p-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm pl-0',
|
|
1209
1201
|
description: 'hidden'
|
|
1210
1202
|
};
|
|
1211
1203
|
var $0249406a6f5edb4d$var$overlapping = {
|
|
@@ -1213,13 +1205,13 @@ var $0249406a6f5edb4d$var$overlapping = {
|
|
|
1213
1205
|
head: ' absolute flex justify-between items-center left-0 -top-2 right-0 mx-2 z-10 w-full',
|
|
1214
1206
|
label: 'inline-block bg-white px-1 text-xs font-medium text-gray-900 ',
|
|
1215
1207
|
hint: 'text-xs mr-4 bg-white px-1',
|
|
1216
|
-
input: 'block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-
|
|
1208
|
+
input: 'block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 sm:text-sm sm:leading-6',
|
|
1217
1209
|
description: 'hidden'
|
|
1218
1210
|
};
|
|
1219
1211
|
var $0249406a6f5edb4d$var$pill = {
|
|
1220
1212
|
head: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mb-1 pr-6',
|
|
1221
1213
|
foot: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mt-1 pr-6',
|
|
1222
|
-
input: 'block w-full rounded-full border-0 px-4 py-1.5 text-gray-900 shadow-
|
|
1214
|
+
input: 'block w-full rounded-full border-0 px-4 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 sm:text-sm sm:leading-6',
|
|
1223
1215
|
trailing: 'pr-2',
|
|
1224
1216
|
description: 'text-xs'
|
|
1225
1217
|
};
|
|
@@ -1236,7 +1228,7 @@ var $0249406a6f5edb4d$var$invalid = {
|
|
|
1236
1228
|
description: 'text-sm text-red-600'
|
|
1237
1229
|
};
|
|
1238
1230
|
var $0249406a6f5edb4d$var$disabled = {
|
|
1239
|
-
input: 'block w-full rounded-md border-0 text-gray-900 shadow-
|
|
1231
|
+
input: 'block w-full rounded-md border-0 text-gray-900 shadow-sm ring-1 ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 disabled:cursor-not-allowed disabled:bg-gray-50 disabled:text-gray-500 disabled:ring-gray-200'
|
|
1240
1232
|
};
|
|
1241
1233
|
var $0249406a6f5edb4d$var$styles = {
|
|
1242
1234
|
base: $0249406a6f5edb4d$var$base,
|
|
@@ -1322,7 +1314,7 @@ var $7b4ae85c2b92d7dd$var$InputGroupForm = function(props) {
|
|
|
1322
1314
|
name: name,
|
|
1323
1315
|
id: name,
|
|
1324
1316
|
"data-cy": inputDataCy,
|
|
1325
|
-
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.input, htmlType === 'color' && 'h-10
|
|
1317
|
+
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.input, htmlType === 'color' && '!h-10'),
|
|
1326
1318
|
placeholder: placeholder,
|
|
1327
1319
|
defaultValue: isSolo ? value : undefined,
|
|
1328
1320
|
value: isSolo ? undefined : value,
|
|
@@ -1560,22 +1552,22 @@ var $0dc9d1b1691a48fd$var$fillSticky = {
|
|
|
1560
1552
|
item: 'px-4 py-4 sm:px-0'
|
|
1561
1553
|
};
|
|
1562
1554
|
var $0dc9d1b1691a48fd$var$center = {
|
|
1563
|
-
container: 'bg-white shadow
|
|
1555
|
+
container: 'bg-white shadow overflow-hidden rounded-md',
|
|
1564
1556
|
list: 'divide-y divide-gray-200',
|
|
1565
1557
|
item: 'px-6 py-4'
|
|
1566
1558
|
};
|
|
1567
1559
|
var $0dc9d1b1691a48fd$var$centerSticky = {
|
|
1568
|
-
container: 'bg-white shadow
|
|
1560
|
+
container: 'bg-white shadow overflow-hidden sm:rounded-md',
|
|
1569
1561
|
list: 'divide-y divide-gray-200',
|
|
1570
1562
|
item: 'px-4 py-4 sm:px-6'
|
|
1571
1563
|
};
|
|
1572
1564
|
var $0dc9d1b1691a48fd$var$card = {
|
|
1573
1565
|
list: 'space-y-3',
|
|
1574
|
-
item: 'bg-white shadow
|
|
1566
|
+
item: 'bg-white shadow overflow-hidden rounded-md px-6 py-4'
|
|
1575
1567
|
};
|
|
1576
1568
|
var $0dc9d1b1691a48fd$var$cardSticky = {
|
|
1577
1569
|
list: 'space-y-3',
|
|
1578
|
-
item: 'bg-white shadow
|
|
1570
|
+
item: 'bg-white shadow overflow-hidden px-4 py-4 sm:px-6 sm:rounded-md'
|
|
1579
1571
|
};
|
|
1580
1572
|
var $0dc9d1b1691a48fd$var$styles = {
|
|
1581
1573
|
base: $0dc9d1b1691a48fd$var$base,
|
|
@@ -1625,7 +1617,7 @@ var $40af42a6ff486398$export$2e2bcd8739ae039 = $40af42a6ff486398$var$ListContain
|
|
|
1625
1617
|
|
|
1626
1618
|
var $195ca578a80f15e9$var$base = {
|
|
1627
1619
|
container: '',
|
|
1628
|
-
figure: 'mr-4 shrink-0',
|
|
1620
|
+
figure: 'mr-4 flex-shrink-0',
|
|
1629
1621
|
svg: 'h-16 w-16 border border-gray-300 bg-white text-gray-300',
|
|
1630
1622
|
title: 'text-lg font-bold',
|
|
1631
1623
|
paragraph: 'mt-1'
|
|
@@ -1759,7 +1751,7 @@ var $d8086708b0fe8d97$export$2e2bcd8739ae039 = $d8086708b0fe8d97$var$MediaObject
|
|
|
1759
1751
|
|
|
1760
1752
|
|
|
1761
1753
|
var $6608476f62547c9b$var$base = {
|
|
1762
|
-
container: 'bg-white overflow-hidden shadow
|
|
1754
|
+
container: 'bg-white overflow-hidden shadow',
|
|
1763
1755
|
section: 'px-4 py-5 sm:px-6'
|
|
1764
1756
|
};
|
|
1765
1757
|
var $6608476f62547c9b$var$normal = {
|
|
@@ -1851,16 +1843,16 @@ var $9ff97c477ac85f31$var$base = {
|
|
|
1851
1843
|
leading: 'pointer-events-none absolute inset-y-0 left-0 flex items-center',
|
|
1852
1844
|
input: 'block w-full flex border',
|
|
1853
1845
|
menuButton: '',
|
|
1854
|
-
menu: 'z-10 px-0!
|
|
1855
|
-
tagItem: 'bg-gray-200 px-2 py-1 flex flex-row gap-x-1 items-center justify-between rounded-
|
|
1846
|
+
menu: 'z-10 !px-0 !py-0 !w-full rounded-md overflow-hidden border !mt-1 absolute bg-white',
|
|
1847
|
+
tagItem: 'bg-gray-200 px-2 py-1 flex flex-row gap-x-1 items-center justify-between rounded-sm',
|
|
1856
1848
|
tagItemText: 'text-xs',
|
|
1857
|
-
tagItemIconContainer: 'p-0
|
|
1849
|
+
tagItemIconContainer: '!p-0 rounded-full hover:bg-gray-400 text-sm hover:text-white aspect-square w-4 flex items-center justify-center cursor-pointer',
|
|
1858
1850
|
tagItemIcon: '',
|
|
1859
|
-
list: 'px-0!
|
|
1851
|
+
list: '!px-0 !w-full [&>*]:px-0 max-h-56 overflow-scroll !py-1',
|
|
1860
1852
|
listGroupLabel: '',
|
|
1861
|
-
listItem: 'w-full!
|
|
1853
|
+
listItem: '!w-full !list-none hover:bg-primary-500 hover:text-white !py-2 !px-2',
|
|
1862
1854
|
listDisabledItem: '',
|
|
1863
|
-
searchContainer: 'w-full!
|
|
1855
|
+
searchContainer: '!w-full !px-2 !py-2 border-b',
|
|
1864
1856
|
searchBox: '',
|
|
1865
1857
|
searchIcon: '',
|
|
1866
1858
|
closeIcon: '',
|
|
@@ -1877,15 +1869,15 @@ var $9ff97c477ac85f31$var$normal = {
|
|
|
1877
1869
|
label: 'leading-6 text-sm mb-2',
|
|
1878
1870
|
hint: 'leading-6',
|
|
1879
1871
|
leading: 'pl-3',
|
|
1880
|
-
input: 'rounded-md border-gray-200 shadow-
|
|
1872
|
+
input: 'rounded-md border-gray-200 shadow-sm focus:border-primary-500 focus:ring-primary-500 sm:text-sm placeholder-gray-300',
|
|
1881
1873
|
trailing: '',
|
|
1882
1874
|
description: 'mt-2 text-sm'
|
|
1883
1875
|
};
|
|
1884
1876
|
var $9ff97c477ac85f31$var$inset = {
|
|
1885
|
-
container: 'rounded-md px-3 pt-2.5 pb-1.5 shadow-
|
|
1877
|
+
container: 'rounded-md px-3 pt-2.5 pb-1.5 shadow-sm ring-1 ring-inset ring-gray-300 focus-within:ring-2 focus-within:ring-primary-600',
|
|
1886
1878
|
label: 'text-xs',
|
|
1887
1879
|
hint: 'text-xs',
|
|
1888
|
-
input: 'border-0 ring-0
|
|
1880
|
+
input: 'border-0 !ring-0 p-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm pl-0',
|
|
1889
1881
|
description: 'hidden'
|
|
1890
1882
|
};
|
|
1891
1883
|
var $9ff97c477ac85f31$var$overlapping = {
|
|
@@ -1893,13 +1885,13 @@ var $9ff97c477ac85f31$var$overlapping = {
|
|
|
1893
1885
|
head: ' absolute flex justify-between items-center left-0 -top-2 right-0 mx-2 z-10 w-full',
|
|
1894
1886
|
label: 'inline-block bg-white px-1 text-xs font-medium text-gray-900 ',
|
|
1895
1887
|
hint: 'text-xs mr-4 bg-white px-1',
|
|
1896
|
-
input: 'block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-
|
|
1888
|
+
input: 'block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 sm:text-sm sm:leading-6',
|
|
1897
1889
|
description: 'hidden'
|
|
1898
1890
|
};
|
|
1899
1891
|
var $9ff97c477ac85f31$var$pill = {
|
|
1900
1892
|
head: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mb-1 pr-6',
|
|
1901
1893
|
foot: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mt-1 pr-6',
|
|
1902
|
-
input: 'block w-full rounded-full border-0 px-4 py-1.5 text-gray-900 shadow-
|
|
1894
|
+
input: 'block w-full rounded-full border-0 px-4 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 sm:text-sm sm:leading-6',
|
|
1903
1895
|
trailing: 'pr-2',
|
|
1904
1896
|
description: 'text-xs'
|
|
1905
1897
|
};
|
|
@@ -1916,7 +1908,7 @@ var $9ff97c477ac85f31$var$invalid = {
|
|
|
1916
1908
|
description: 'text-sm text-red-600'
|
|
1917
1909
|
};
|
|
1918
1910
|
var $9ff97c477ac85f31$var$disabled = {
|
|
1919
|
-
input: 'block w-full rounded-md border-0 text-gray-900 shadow-
|
|
1911
|
+
input: 'block w-full rounded-md border-0 text-gray-900 shadow-sm ring-1 ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 cursor-not-allowed bg-gray-50 text-gray-500 ring-gray-200'
|
|
1920
1912
|
};
|
|
1921
1913
|
var $9ff97c477ac85f31$var$styles = {
|
|
1922
1914
|
base: $9ff97c477ac85f31$var$base,
|
|
@@ -2024,7 +2016,7 @@ var $40038b27a5148d69$var$SelectMenuForm = function(props) {
|
|
|
2024
2016
|
//
|
|
2025
2017
|
classNames: {
|
|
2026
2018
|
menuButton: function() {
|
|
2027
|
-
return (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.input, state === null && '
|
|
2019
|
+
return (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.input, state === null && '[&>*]:!text-gray-300 ', state === null && !isValid && isTouched && '[&>*]:!text-red-300');
|
|
2028
2020
|
},
|
|
2029
2021
|
menu: styles.menu,
|
|
2030
2022
|
tagItem: function() {
|
|
@@ -2085,7 +2077,7 @@ var $e3009f3eac14483c$var$base = {
|
|
|
2085
2077
|
outerRightButton: 'relative inline-flex items-center rounded-r-md border border-gray-300 bg-white px-2 py-2 text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-20',
|
|
2086
2078
|
outerLeftButton: 'relative inline-flex items-center rounded-l-md border border-gray-300 bg-white px-2 py-2 text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-20',
|
|
2087
2079
|
innerButton: 'relative inline-flex items-center border border-gray-300 bg-white px-2 py-2 text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-20',
|
|
2088
|
-
navigation: 'isolate inline-flex -space-x-px rounded-md shadow-
|
|
2080
|
+
navigation: 'isolate inline-flex -space-x-px rounded-md shadow-sm'
|
|
2089
2081
|
},
|
|
2090
2082
|
button: {
|
|
2091
2083
|
default: 'relative inline-flex items-center border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-500 hover:bg-gray-50',
|
|
@@ -2095,7 +2087,7 @@ var $e3009f3eac14483c$var$base = {
|
|
|
2095
2087
|
divider: 'relative inline-flex items-center border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-500',
|
|
2096
2088
|
label: 'sr-only',
|
|
2097
2089
|
icon: 'w-5 h-5',
|
|
2098
|
-
pageSizeList: 'overflow-hidden
|
|
2090
|
+
pageSizeList: '!overflow-hidden'
|
|
2099
2091
|
};
|
|
2100
2092
|
var $e3009f3eac14483c$var$styles = {
|
|
2101
2093
|
base: $e3009f3eac14483c$var$base
|
|
@@ -2615,19 +2607,19 @@ var $fb5a78a09a8b15b6$var$base = {
|
|
|
2615
2607
|
container: '',
|
|
2616
2608
|
row: '',
|
|
2617
2609
|
cell: 'py-3.5 px-3 text-left text-sm font-semibold text-gray-900 group',
|
|
2618
|
-
checkbox: 'absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded
|
|
2610
|
+
checkbox: 'absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-primary-600 focus:ring-primary-500 sm:left-6'
|
|
2619
2611
|
},
|
|
2620
2612
|
body: {
|
|
2621
2613
|
container: 'divide-y divide-gray-200',
|
|
2622
2614
|
row: '',
|
|
2623
2615
|
cell: 'whitespace-nowrap py-4 px-3 text-sm text-gray-500',
|
|
2624
|
-
checkbox: 'absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded
|
|
2616
|
+
checkbox: 'absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-primary-600 focus:ring-primary-500 sm:left-6',
|
|
2625
2617
|
indicator: 'absolute inset-y-0 left-0 w-0.5 bg-primary-600'
|
|
2626
2618
|
}
|
|
2627
2619
|
}
|
|
2628
2620
|
},
|
|
2629
2621
|
sortIndicator: {
|
|
2630
|
-
container: 'ml-2 translate-y-1 inline-flex items-center flex-none rounded
|
|
2622
|
+
container: 'ml-2 translate-y-1 inline-flex items-center flex-none rounded',
|
|
2631
2623
|
isSorted: 'bg-gray-100 text-gray-900 group-hover:bg-gray-200',
|
|
2632
2624
|
isNotSorted: 'invisible text-gray-400 group-hover:visible group-focus:visible',
|
|
2633
2625
|
icon: {
|
|
@@ -2658,7 +2650,7 @@ var $fb5a78a09a8b15b6$var$normal = {
|
|
|
2658
2650
|
var $fb5a78a09a8b15b6$var$panel = {
|
|
2659
2651
|
body: {
|
|
2660
2652
|
content: 'inline-block min-w-full py-2 align-middle md:px-6 lg:px-8',
|
|
2661
|
-
styleWrapper: 'relative overflow-hidden shadow
|
|
2653
|
+
styleWrapper: 'relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg',
|
|
2662
2654
|
table: {
|
|
2663
2655
|
head: {
|
|
2664
2656
|
container: 'bg-gray-50'
|
|
@@ -2672,7 +2664,7 @@ var $fb5a78a09a8b15b6$var$panel = {
|
|
|
2672
2664
|
var $fb5a78a09a8b15b6$var$full = {
|
|
2673
2665
|
body: {
|
|
2674
2666
|
content: 'inline-block min-w-full py-2 align-middle',
|
|
2675
|
-
styleWrapper: 'relative overflow-hidden shadow-
|
|
2667
|
+
styleWrapper: 'relative overflow-hidden shadow-sm ring-1 ring-black ring-opacity-5',
|
|
2676
2668
|
table: {
|
|
2677
2669
|
head: {
|
|
2678
2670
|
container: 'bg-gray-50'
|
|
@@ -2685,7 +2677,7 @@ var $fb5a78a09a8b15b6$var$sticky = {
|
|
|
2685
2677
|
table: {
|
|
2686
2678
|
container: 'min-w-full border-separate',
|
|
2687
2679
|
head: {
|
|
2688
|
-
cell: 'sticky top-0 z-10 border-b border-gray-300 bg-gray-50
|
|
2680
|
+
cell: 'sticky top-0 z-10 border-b border-gray-300 bg-gray-50 bg-opacity-75 backdrop-blur backdrop-filter sm:table-cell'
|
|
2689
2681
|
}
|
|
2690
2682
|
}
|
|
2691
2683
|
}
|
|
@@ -2704,7 +2696,7 @@ var $fb5a78a09a8b15b6$var$separated = {
|
|
|
2704
2696
|
};
|
|
2705
2697
|
var $fb5a78a09a8b15b6$var$controlled = {
|
|
2706
2698
|
controls: {
|
|
2707
|
-
container: 'flex
|
|
2699
|
+
container: '!flex'
|
|
2708
2700
|
}
|
|
2709
2701
|
};
|
|
2710
2702
|
var $fb5a78a09a8b15b6$var$styles = {
|
|
@@ -2919,7 +2911,7 @@ var $4421fdc946e7dd6c$var$TableList = function(props) {
|
|
|
2919
2911
|
}),
|
|
2920
2912
|
(0, $4MPRY$jsx)((0, $bc407adcad543f74$export$2e2bcd8739ae039), {
|
|
2921
2913
|
styles: ((_b = stylesOverrides === null || stylesOverrides === void 0 ? void 0 : stylesOverrides.components) === null || _b === void 0 ? void 0 : _b.buttonElement) ? (_c = stylesOverrides === null || stylesOverrides === void 0 ? void 0 : stylesOverrides.components) === null || _c === void 0 ? void 0 : _c.buttonElement : {
|
|
2922
|
-
container: 'py-1.5!
|
|
2914
|
+
container: '!py-1.5 !px-3'
|
|
2923
2915
|
},
|
|
2924
2916
|
onClick: function() {
|
|
2925
2917
|
var sheets = generate(table);
|
|
@@ -3097,7 +3089,7 @@ var $a159f18e2839f1e6$var$base = {
|
|
|
3097
3089
|
head: {
|
|
3098
3090
|
container: '',
|
|
3099
3091
|
row: '',
|
|
3100
|
-
checkbox: 'absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded
|
|
3092
|
+
checkbox: 'absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-primary-600 focus:ring-primary-500 sm:left-6',
|
|
3101
3093
|
column: {
|
|
3102
3094
|
pinned: {
|
|
3103
3095
|
cell: 'bg-white sticky z-10 overflow-hidden text-ellipsis'
|
|
@@ -3108,7 +3100,7 @@ var $a159f18e2839f1e6$var$base = {
|
|
|
3108
3100
|
wrapper: 'grid gap-x-1 items-center',
|
|
3109
3101
|
text: 'whitespace-normal break-words',
|
|
3110
3102
|
sortIndicator: {
|
|
3111
|
-
container: 'ml-2 inline-flex items-center rounded
|
|
3103
|
+
container: 'ml-2 inline-flex items-center rounded',
|
|
3112
3104
|
isSorted: 'bg-gray-100 text-gray-900 group-hover:bg-gray-200',
|
|
3113
3105
|
isNotSorted: 'text-gray-400 group-hover:text-gray-900 group-hover:bg-gray-200',
|
|
3114
3106
|
icon: {
|
|
@@ -3128,7 +3120,7 @@ var $a159f18e2839f1e6$var$base = {
|
|
|
3128
3120
|
},
|
|
3129
3121
|
cell: 'whitespace-nowrap py-2.5 px-3 text-sm text-gray-500',
|
|
3130
3122
|
sticky: 'border-b border-gray-200',
|
|
3131
|
-
checkbox: 'absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded
|
|
3123
|
+
checkbox: 'absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-primary-600 focus:ring-primary-500 sm:left-6',
|
|
3132
3124
|
indicator: 'absolute inset-y-0 left-0 w-0.5 bg-primary-600'
|
|
3133
3125
|
}
|
|
3134
3126
|
}
|
|
@@ -3171,12 +3163,11 @@ var $df469b72efb8986e$var$__spreadArray = undefined && undefined.__spreadArray |
|
|
|
3171
3163
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
3172
3164
|
};
|
|
3173
3165
|
var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
3174
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0
|
|
3166
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
|
|
3175
3167
|
var id = props.id, config = props.table, head = props.head, foot = props.foot, leftSide = props.leftSide, isLoading = props.isLoading, onRowClick = props.onRowClick, onChange = props.onChange, stylesOverrides = props.styles, dragConfig = props.dragConfig;
|
|
3176
|
-
var
|
|
3177
|
-
var
|
|
3178
|
-
var
|
|
3179
|
-
var _11 = (0, $4MPRY$useState)((_e = (_d = (_c = config.options) === null || _c === void 0 ? void 0 : _c.grouping) === null || _d === void 0 ? void 0 : _d.defaultGrouping) !== null && _e !== void 0 ? _e : []), grouping = _11[0], setGrouping = _11[1];
|
|
3168
|
+
var _1 = (0, $4MPRY$useState)({}), columnVisibility = _1[0], setColumnVisibility = _1[1];
|
|
3169
|
+
var _2 = (0, $4MPRY$useState)([]), columnOrder = _2[0], setColumnOrder = _2[1];
|
|
3170
|
+
var _3 = (0, $4MPRY$useState)((_b = (_a = config.options) === null || _a === void 0 ? void 0 : _a.defaultSorting) !== null && _b !== void 0 ? _b : []), sorting = _3[0], setSorting = _3[1];
|
|
3180
3171
|
var handleGenerateStyle = function() {
|
|
3181
3172
|
var result = (0, $b3fc44f26b625a32$export$e2d2075c69d9100d)((0, $a159f18e2839f1e6$export$2e2bcd8739ae039).base);
|
|
3182
3173
|
var keys = (0, $ba1db6dce71c3f25$export$be5d6ab3c5b84767)((0, $a159f18e2839f1e6$export$2e2bcd8739ae039).base);
|
|
@@ -3232,11 +3223,9 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3232
3223
|
return visibilityState;
|
|
3233
3224
|
}, [
|
|
3234
3225
|
config.columns,
|
|
3235
|
-
(
|
|
3226
|
+
(_c = config.options) === null || _c === void 0 ? void 0 : _c.defaultVisibility
|
|
3236
3227
|
]);
|
|
3237
3228
|
var table = (0, $4MPRY$useReactTable)({
|
|
3238
|
-
getExpandedRowModel: (0, $4MPRY$getExpandedRowModel)(),
|
|
3239
|
-
getGroupedRowModel: (0, $4MPRY$getGroupedRowModel)(),
|
|
3240
3229
|
getCoreRowModel: (0, $4MPRY$getCoreRowModel)(),
|
|
3241
3230
|
columns: isDraggable ? $df469b72efb8986e$var$__spreadArray([
|
|
3242
3231
|
{
|
|
@@ -3255,8 +3244,7 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3255
3244
|
state: {
|
|
3256
3245
|
sorting: sorting,
|
|
3257
3246
|
columnVisibility: columnVisibility,
|
|
3258
|
-
columnOrder: columnOrder
|
|
3259
|
-
grouping: grouping
|
|
3247
|
+
columnOrder: columnOrder
|
|
3260
3248
|
},
|
|
3261
3249
|
initialState: {
|
|
3262
3250
|
columnVisibility: isDraggable ? $df469b72efb8986e$var$__assign({
|
|
@@ -3264,20 +3252,17 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3264
3252
|
}, initialVisibilityState) : initialVisibilityState,
|
|
3265
3253
|
columnOrder: isDraggable ? $df469b72efb8986e$var$__spreadArray([
|
|
3266
3254
|
'drag-handle'
|
|
3267
|
-
], (
|
|
3255
|
+
], (_e = (_d = config.options) === null || _d === void 0 ? void 0 : _d.defaultOrder) !== null && _e !== void 0 ? _e : [], true) : (_f = config.options) === null || _f === void 0 ? void 0 : _f.defaultOrder,
|
|
3268
3256
|
columnPinning: {
|
|
3269
|
-
left: (
|
|
3270
|
-
right: (
|
|
3271
|
-
}
|
|
3272
|
-
grouping: (_s = (_r = config.options) === null || _r === void 0 ? void 0 : _r.grouping) === null || _s === void 0 ? void 0 : _s.defaultGrouping,
|
|
3273
|
-
expanded: (_u = (_t = config.options) === null || _t === void 0 ? void 0 : _t.grouping) === null || _u === void 0 ? void 0 : _u.defaultExpanded
|
|
3257
|
+
left: (_j = (0, $4MPRY$map)((_h = (_g = config.options) === null || _g === void 0 ? void 0 : _g.columnPinning) === null || _h === void 0 ? void 0 : _h.left, 'name')) !== null && _j !== void 0 ? _j : [],
|
|
3258
|
+
right: (_m = (0, $4MPRY$map)((_l = (_k = config.options) === null || _k === void 0 ? void 0 : _k.columnPinning) === null || _l === void 0 ? void 0 : _l.right, 'name')) !== null && _m !== void 0 ? _m : []
|
|
3259
|
+
}
|
|
3274
3260
|
},
|
|
3275
3261
|
manualPagination: true,
|
|
3276
3262
|
manualSorting: true,
|
|
3277
3263
|
onSortingChange: setSorting,
|
|
3278
3264
|
onColumnVisibilityChange: setColumnVisibility,
|
|
3279
3265
|
onColumnOrderChange: setColumnOrder,
|
|
3280
|
-
onGroupingChange: setGrouping,
|
|
3281
3266
|
getRowId: function(row) {
|
|
3282
3267
|
return (0, $4MPRY$get)(row, dragConfig === null || dragConfig === void 0 ? void 0 : dragConfig.rowIdentifierKey);
|
|
3283
3268
|
}
|
|
@@ -3289,18 +3274,15 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3289
3274
|
sorting: sorting,
|
|
3290
3275
|
columnVisibility: columnVisibility,
|
|
3291
3276
|
columnOrder: columnOrder,
|
|
3292
|
-
grouping: grouping,
|
|
3293
3277
|
//
|
|
3294
3278
|
setSorting: setSorting,
|
|
3295
3279
|
setColumnVisibility: setColumnVisibility,
|
|
3296
|
-
setColumnOrder: setColumnOrder
|
|
3297
|
-
setGrouping: setGrouping
|
|
3280
|
+
setColumnOrder: setColumnOrder
|
|
3298
3281
|
};
|
|
3299
3282
|
}, [
|
|
3300
3283
|
columnOrder,
|
|
3301
3284
|
columnVisibility,
|
|
3302
3285
|
sorting,
|
|
3303
|
-
grouping,
|
|
3304
3286
|
table
|
|
3305
3287
|
]);
|
|
3306
3288
|
// Trigger onChange handler when state changes.
|
|
@@ -3334,7 +3316,7 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3334
3316
|
setColumnVisibility(visibility_1);
|
|
3335
3317
|
}
|
|
3336
3318
|
}, [
|
|
3337
|
-
(
|
|
3319
|
+
(_o = config === null || config === void 0 ? void 0 : config.options) === null || _o === void 0 ? void 0 : _o.defaultVisibility,
|
|
3338
3320
|
id,
|
|
3339
3321
|
table
|
|
3340
3322
|
]);
|
|
@@ -3359,7 +3341,7 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3359
3341
|
}
|
|
3360
3342
|
}, [
|
|
3361
3343
|
config.columns,
|
|
3362
|
-
(
|
|
3344
|
+
(_p = config === null || config === void 0 ? void 0 : config.options) === null || _p === void 0 ? void 0 : _p.defaultOrder,
|
|
3363
3345
|
id,
|
|
3364
3346
|
isDraggable
|
|
3365
3347
|
]);
|
|
@@ -3404,18 +3386,7 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3404
3386
|
return onRowClick && onRowClick(row);
|
|
3405
3387
|
},
|
|
3406
3388
|
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.body.table.body.row, ((_b = config.options) === null || _b === void 0 ? void 0 : _b.isStriped) && index % 2 === 0 && styles.body.table.body.striped),
|
|
3407
|
-
children:
|
|
3408
|
-
colSpan: row.getVisibleCells().length,
|
|
3409
|
-
children: (0, $4MPRY$jsx)("div", {
|
|
3410
|
-
className: styles.body.table.body.groupedRow,
|
|
3411
|
-
children: (0, $4MPRY$map)(row.getVisibleCells(), function(cell) {
|
|
3412
|
-
return (0, $4MPRY$jsx)("div", {
|
|
3413
|
-
className: styles.body.table.body.groupedRowCell,
|
|
3414
|
-
children: (0, $4MPRY$flexRender)(cell.column.columnDef.cell, cell.getContext())
|
|
3415
|
-
}, cell.id);
|
|
3416
|
-
})
|
|
3417
|
-
})
|
|
3418
|
-
}) : (0, $4MPRY$map)(row.getVisibleCells(), function(cell) {
|
|
3389
|
+
children: (0, $4MPRY$map)(row.getVisibleCells(), function(cell) {
|
|
3419
3390
|
var _a, _b, _c;
|
|
3420
3391
|
return (0, $4MPRY$jsx)("td", {
|
|
3421
3392
|
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.body.table.body.cell, ((_a = config === null || config === void 0 ? void 0 : config.options) === null || _a === void 0 ? void 0 : _a.hasStickyHeader) && index !== ((_c = (_b = table === null || table === void 0 ? void 0 : table.getState()) === null || _b === void 0 ? void 0 : _b.pagination) === null || _c === void 0 ? void 0 : _c.pageSize) - 1 && styles.body.table.body.sticky),
|
|
@@ -3441,7 +3412,7 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3441
3412
|
return acc + size;
|
|
3442
3413
|
}, 0);
|
|
3443
3414
|
}, [
|
|
3444
|
-
(
|
|
3415
|
+
(_q = config.options) === null || _q === void 0 ? void 0 : _q.columnPinning
|
|
3445
3416
|
]);
|
|
3446
3417
|
var getCommonPinningStyles = (0, $4MPRY$useCallback)(function(column) {
|
|
3447
3418
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
@@ -3462,10 +3433,10 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3462
3433
|
right: isPinned === 'right' ? "".concat(getPinnedColumnsWidth('right', column.id), "px") : undefined
|
|
3463
3434
|
};
|
|
3464
3435
|
}, [
|
|
3465
|
-
(
|
|
3466
|
-
(
|
|
3467
|
-
(
|
|
3468
|
-
(
|
|
3436
|
+
(_s = (_r = config.options) === null || _r === void 0 ? void 0 : _r.columnPinning) === null || _s === void 0 ? void 0 : _s.customShadow,
|
|
3437
|
+
(_u = (_t = config.options) === null || _t === void 0 ? void 0 : _t.columnPinning) === null || _u === void 0 ? void 0 : _u.disableShadow,
|
|
3438
|
+
(_w = (_v = config.options) === null || _v === void 0 ? void 0 : _v.columnPinning) === null || _w === void 0 ? void 0 : _w.left,
|
|
3439
|
+
(_y = (_x = config.options) === null || _x === void 0 ? void 0 : _x.columnPinning) === null || _y === void 0 ? void 0 : _y.right,
|
|
3469
3440
|
styles.body.table.pinnedColumns.left,
|
|
3470
3441
|
styles.body.table.pinnedColumns.right,
|
|
3471
3442
|
getPinnedColumnsWidth
|
|
@@ -3556,32 +3527,13 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3556
3527
|
},
|
|
3557
3528
|
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.body.table.body.row, ((_a = config.options) === null || _a === void 0 ? void 0 : _a.isStriped) && index % 2 === 0 && styles.body.table.body.striped),
|
|
3558
3529
|
children: (0, $4MPRY$map)(row.getVisibleCells(), function(cell) {
|
|
3559
|
-
var _a, _b, _c
|
|
3530
|
+
var _a, _b, _c;
|
|
3560
3531
|
return (0, $4MPRY$jsx)("td", {
|
|
3561
3532
|
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.body.table.body.cell, ((_a = config === null || config === void 0 ? void 0 : config.options) === null || _a === void 0 ? void 0 : _a.hasStickyHeader) && index !== ((_c = (_b = table === null || table === void 0 ? void 0 : table.getState()) === null || _b === void 0 ? void 0 : _b.pagination) === null || _c === void 0 ? void 0 : _c.pageSize) - 1 && styles.body.table.body.sticky, cell.column.getIsPinned() && styles.body.table.body.column.pinned.cell),
|
|
3562
3533
|
style: $df469b72efb8986e$var$__assign({
|
|
3563
3534
|
width: cell.column.getSize()
|
|
3564
3535
|
}, getCommonPinningStyles(cell.column)),
|
|
3565
|
-
children:
|
|
3566
|
-
(0, $4MPRY$jsxs)("button", {
|
|
3567
|
-
onClick: row.getToggleExpandedHandler(),
|
|
3568
|
-
style: {
|
|
3569
|
-
cursor: row.getCanExpand() ? 'pointer' : 'normal'
|
|
3570
|
-
},
|
|
3571
|
-
children: [
|
|
3572
|
-
(0, $4MPRY$jsx)((0, $77cd4416ca4a0639$export$2e2bcd8739ae039), {
|
|
3573
|
-
accessor: row.getIsExpanded() ? (_f = (_e = (_d = config === null || config === void 0 ? void 0 : config.options) === null || _d === void 0 ? void 0 : _d.grouping) === null || _e === void 0 ? void 0 : _e.collapseIconAccessor) !== null && _f !== void 0 ? _f : "chevron-down" : (_j = (_h = (_g = config === null || config === void 0 ? void 0 : config.options) === null || _g === void 0 ? void 0 : _g.grouping) === null || _h === void 0 ? void 0 : _h.expandIconAccessor) !== null && _j !== void 0 ? _j : "chevron-right"
|
|
3574
|
-
}),
|
|
3575
|
-
' ',
|
|
3576
|
-
(0, $4MPRY$flexRender)(cell.column.columnDef.cell, cell.getContext()),
|
|
3577
|
-
" (",
|
|
3578
|
-
row.subRows.length,
|
|
3579
|
-
")"
|
|
3580
|
-
]
|
|
3581
|
-
}) : cell.getIsAggregated() ? // If the cell is aggregated, use the Aggregated
|
|
3582
|
-
// renderer for cell
|
|
3583
|
-
(0, $4MPRY$flexRender)((_k = cell.column.columnDef.aggregatedCell) !== null && _k !== void 0 ? _k : cell.column.columnDef.cell, cell.getContext()) : cell.getIsPlaceholder() ? null : // Otherwise, just render the regular cell
|
|
3584
|
-
(0, $4MPRY$flexRender)(cell.column.columnDef.cell, cell.getContext())
|
|
3536
|
+
children: (0, $4MPRY$flexRender)(cell.column.columnDef.cell, cell.getContext())
|
|
3585
3537
|
}, cell.id);
|
|
3586
3538
|
})
|
|
3587
3539
|
}, row.id);
|
|
@@ -3590,7 +3542,7 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3590
3542
|
]
|
|
3591
3543
|
}),
|
|
3592
3544
|
(0, $4MPRY$isEmpty)(table === null || table === void 0 ? void 0 : table.getRowModel().rows) && !isLoading && (0, $4MPRY$jsx)((0, $4MPRY$Fragment), {
|
|
3593
|
-
children: ((
|
|
3545
|
+
children: ((_z = config === null || config === void 0 ? void 0 : config.options) === null || _z === void 0 ? void 0 : _z.emptyComponent) ? (_0 = config === null || config === void 0 ? void 0 : config.options) === null || _0 === void 0 ? void 0 : _0.emptyComponent : (0, $4MPRY$jsx)("div", {
|
|
3594
3546
|
className: (0, $a159f18e2839f1e6$export$2e2bcd8739ae039).empty,
|
|
3595
3547
|
children: "There is no data to show..."
|
|
3596
3548
|
})
|
|
@@ -3658,7 +3610,7 @@ var $d35063ed95f33643$var$base = {
|
|
|
3658
3610
|
container: 'flex',
|
|
3659
3611
|
content: 'flex items-center',
|
|
3660
3612
|
link: 'text-gray-400 hover:text-gray-500',
|
|
3661
|
-
icon: 'h-5 w-5 shrink-0',
|
|
3613
|
+
icon: 'h-5 w-5 flex-shrink-0',
|
|
3662
3614
|
span: 'sr-only'
|
|
3663
3615
|
},
|
|
3664
3616
|
page: {
|
|
@@ -3670,7 +3622,7 @@ var $d35063ed95f33643$var$base = {
|
|
|
3670
3622
|
var $d35063ed95f33643$var$slashes = {
|
|
3671
3623
|
container: '',
|
|
3672
3624
|
list: 'items-center space-x-4',
|
|
3673
|
-
separator: 'h-5 w-5 shrink-0 text-gray-400',
|
|
3625
|
+
separator: 'h-5 w-5 flex-shrink-0 text-gray-400',
|
|
3674
3626
|
home: {
|
|
3675
3627
|
container: '',
|
|
3676
3628
|
content: '',
|
|
@@ -3687,7 +3639,7 @@ var $d35063ed95f33643$var$slashes = {
|
|
|
3687
3639
|
var $d35063ed95f33643$var$chevrons = {
|
|
3688
3640
|
container: '',
|
|
3689
3641
|
list: 'items-center space-x-4',
|
|
3690
|
-
separator: 'h-5 w-5 shrink-0 text-gray-400',
|
|
3642
|
+
separator: 'h-5 w-5 flex-shrink-0 text-gray-400',
|
|
3691
3643
|
home: {
|
|
3692
3644
|
container: '',
|
|
3693
3645
|
content: '',
|
|
@@ -3703,8 +3655,8 @@ var $d35063ed95f33643$var$chevrons = {
|
|
|
3703
3655
|
};
|
|
3704
3656
|
var $d35063ed95f33643$var$panel = {
|
|
3705
3657
|
container: '',
|
|
3706
|
-
list: 'space-x-4 rounded-md bg-white px-6 shadow
|
|
3707
|
-
separator: 'h-full w-6 shrink-0 text-gray-200',
|
|
3658
|
+
list: 'space-x-4 rounded-md bg-white px-6 shadow',
|
|
3659
|
+
separator: 'h-full w-6 flex-shrink-0 text-gray-200',
|
|
3708
3660
|
home: {
|
|
3709
3661
|
container: '',
|
|
3710
3662
|
content: '',
|
|
@@ -3720,8 +3672,8 @@ var $d35063ed95f33643$var$panel = {
|
|
|
3720
3672
|
};
|
|
3721
3673
|
var $d35063ed95f33643$var$bar = {
|
|
3722
3674
|
container: 'border-b border-gray-200 bg-white',
|
|
3723
|
-
list: 'mx-auto w-full max-w-
|
|
3724
|
-
separator: 'h-full w-6 shrink-0 text-gray-200',
|
|
3675
|
+
list: 'mx-auto w-full max-w-screen-xl space-x-4 px-4 sm:px-6 lg:px-8',
|
|
3676
|
+
separator: 'h-full w-6 flex-shrink-0 text-gray-200',
|
|
3725
3677
|
home: {
|
|
3726
3678
|
container: '',
|
|
3727
3679
|
content: '',
|
|
@@ -4152,7 +4104,7 @@ var $579a3cb18d8026e0$var$defaultStyles = {
|
|
|
4152
4104
|
head: 'sm:hidden',
|
|
4153
4105
|
body: 'hidden sm:block',
|
|
4154
4106
|
label: 'sr-only',
|
|
4155
|
-
select: 'block w-full rounded-md border border-gray-300 py-2 px-3 text-base focus:border-primary-500 focus:outline-
|
|
4107
|
+
select: 'block w-full rounded-md border border-gray-300 py-2 px-3 text-base focus:border-primary-500 focus:outline-none focus:ring-primary-500 sm:text-sm',
|
|
4156
4108
|
navigation: 'border-b border-gray-200 -mb-px flex space-x-8'
|
|
4157
4109
|
},
|
|
4158
4110
|
tab: {
|
|
@@ -4324,7 +4276,7 @@ var $fa0fc9b7e04a1799$var$Item = function(props) {
|
|
|
4324
4276
|
var styles = handleGenerateStyle();
|
|
4325
4277
|
if (href && LinkComponent) return (0, $4MPRY$jsxs)(LinkComponent, {
|
|
4326
4278
|
href: href,
|
|
4327
|
-
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.tab.base, isCurrent ? styles.tab.active : styles.tab.inactive, isLoading && 'opacity-30 text-gray-300!
|
|
4279
|
+
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.tab.base, isCurrent ? styles.tab.active : styles.tab.inactive, isLoading && 'opacity-30 !text-gray-300 !cursor-default', isLoading && styles.tab.inactive),
|
|
4328
4280
|
onClick: onClick,
|
|
4329
4281
|
children: [
|
|
4330
4282
|
icon,
|
|
@@ -4332,7 +4284,7 @@ var $fa0fc9b7e04a1799$var$Item = function(props) {
|
|
|
4332
4284
|
]
|
|
4333
4285
|
});
|
|
4334
4286
|
return (0, $4MPRY$jsxs)("div", {
|
|
4335
|
-
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.tab.base, isCurrent ? styles.tab.active : styles.tab.inactive, isLoading && 'opacity-30 text-gray-300!
|
|
4287
|
+
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.tab.base, isCurrent ? styles.tab.active : styles.tab.inactive, isLoading && 'opacity-30 !text-gray-300 !cursor-default', isLoading && styles.tab.inactive),
|
|
4336
4288
|
onClick: !isLoading ? onClick : function() {
|
|
4337
4289
|
return null;
|
|
4338
4290
|
},
|
|
@@ -4438,7 +4390,7 @@ var $860faaa2c7bb1f36$export$2e2bcd8739ae039 = $860faaa2c7bb1f36$var$VerticalNav
|
|
|
4438
4390
|
var $35edca6e99ea4ea0$var$base = {
|
|
4439
4391
|
container: 'relative z-20',
|
|
4440
4392
|
background: {
|
|
4441
|
-
container: 'fixed inset-0 bg-gray-500
|
|
4393
|
+
container: 'fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity',
|
|
4442
4394
|
transition: {
|
|
4443
4395
|
enter: 'ease-out duration-300',
|
|
4444
4396
|
enterFrom: 'opacity-0',
|
|
@@ -4606,7 +4558,7 @@ var $3bf3edb7ee8a22f4$var$base = {
|
|
|
4606
4558
|
inner: 'pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10'
|
|
4607
4559
|
},
|
|
4608
4560
|
panel: {
|
|
4609
|
-
container: 'pointer-events-auto w-full max-w-sm overflow-hidden rounded-lg bg-white shadow-lg ring-1 ring-black
|
|
4561
|
+
container: 'pointer-events-auto w-full max-w-sm overflow-hidden rounded-lg bg-white shadow-lg ring-1 ring-black ring-opacity-5',
|
|
4610
4562
|
transition: {
|
|
4611
4563
|
enter: 'transform ease-out duration-300 transition',
|
|
4612
4564
|
enterFrom: 'translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2',
|
|
@@ -4743,7 +4695,7 @@ var $0a39296cb800ec26$export$2e2bcd8739ae039 = $0a39296cb800ec26$var$Notificatio
|
|
|
4743
4695
|
var $19b812b9e566cf40$var$base = {
|
|
4744
4696
|
container: 'relative z-20',
|
|
4745
4697
|
background: {
|
|
4746
|
-
container: 'fixed inset-0 bg-gray-500
|
|
4698
|
+
container: 'fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity',
|
|
4747
4699
|
transition: {
|
|
4748
4700
|
enter: 'ease-in-out duration-500',
|
|
4749
4701
|
enterFrom: 'opacity-0',
|
|
@@ -5204,15 +5156,15 @@ var $e0c8c7fe3fab83be$var$normal = {
|
|
|
5204
5156
|
label: 'leading-6 text-sm mb-2',
|
|
5205
5157
|
hint: 'leading-6',
|
|
5206
5158
|
leading: 'pl-3',
|
|
5207
|
-
input: 'rounded-md border-gray-200 shadow-
|
|
5159
|
+
input: 'rounded-md border-gray-200 shadow-sm focus:border-primary-500 focus:ring-primary-500 sm:text-sm placeholder-gray-300',
|
|
5208
5160
|
trailing: 'pr-3',
|
|
5209
5161
|
description: 'mt-2 text-sm'
|
|
5210
5162
|
};
|
|
5211
5163
|
var $e0c8c7fe3fab83be$var$inset = {
|
|
5212
|
-
container: 'rounded-md px-3 pt-2.5 pb-1.5 shadow-
|
|
5164
|
+
container: 'rounded-md px-3 pt-2.5 pb-1.5 shadow-sm ring-1 ring-inset ring-gray-300 focus-within:ring-2 focus-within:ring-primary-600',
|
|
5213
5165
|
label: 'text-xs',
|
|
5214
5166
|
hint: 'text-xs',
|
|
5215
|
-
input: 'border-0 ring-0
|
|
5167
|
+
input: 'border-0 !ring-0 p-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm pl-0',
|
|
5216
5168
|
description: 'hidden'
|
|
5217
5169
|
};
|
|
5218
5170
|
var $e0c8c7fe3fab83be$var$overlapping = {
|
|
@@ -5220,13 +5172,13 @@ var $e0c8c7fe3fab83be$var$overlapping = {
|
|
|
5220
5172
|
head: ' absolute flex justify-between items-center left-0 -top-2 right-0 mx-2 z-10 w-full',
|
|
5221
5173
|
label: 'inline-block bg-white px-1 text-xs font-medium text-gray-900 ',
|
|
5222
5174
|
hint: 'text-xs mr-4 bg-white px-1',
|
|
5223
|
-
input: 'block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-
|
|
5175
|
+
input: 'block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 sm:text-sm sm:leading-6',
|
|
5224
5176
|
description: 'hidden'
|
|
5225
5177
|
};
|
|
5226
5178
|
var $e0c8c7fe3fab83be$var$pill = {
|
|
5227
5179
|
head: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mb-1 pr-6',
|
|
5228
5180
|
foot: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mt-1 pr-6',
|
|
5229
|
-
input: 'block w-full rounded-full border-0 px-4 py-1.5 text-gray-900 shadow-
|
|
5181
|
+
input: 'block w-full rounded-full border-0 px-4 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 sm:text-sm sm:leading-6',
|
|
5230
5182
|
trailing: 'pr-2',
|
|
5231
5183
|
description: 'text-xs'
|
|
5232
5184
|
};
|
|
@@ -5237,13 +5189,13 @@ var $e0c8c7fe3fab83be$var$floored = {
|
|
|
5237
5189
|
description: 'text-xs mt-2'
|
|
5238
5190
|
};
|
|
5239
5191
|
var $e0c8c7fe3fab83be$var$invalid = {
|
|
5240
|
-
container: 'ring-red-500
|
|
5192
|
+
container: '!ring-red-500',
|
|
5241
5193
|
input: // 'block w-full border border-transparent text-red-900 ring-1 ring-inset ring-red-300 placeholder:text-red-300 focus:ring-2 focus:ring-inset focus:ring-red-500 sm:leading-6 pr-10',
|
|
5242
5194
|
'block w-full border border-transparent text-red-900 ring-1 ring-inset ring-red-300 placeholder:text-red-300 focus:ring-2 focus:ring-inset focus:ring-red-500 pr-10',
|
|
5243
5195
|
description: 'text-sm text-red-600'
|
|
5244
5196
|
};
|
|
5245
5197
|
var $e0c8c7fe3fab83be$var$disabled = {
|
|
5246
|
-
input: 'block w-full rounded-md border-0 text-gray-900 shadow-
|
|
5198
|
+
input: 'block w-full rounded-md border-0 text-gray-900 shadow-sm ring-1 ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 disabled:cursor-not-allowed disabled:bg-gray-50 disabled:text-gray-500 disabled:ring-gray-200'
|
|
5247
5199
|
};
|
|
5248
5200
|
var $e0c8c7fe3fab83be$var$styles = {
|
|
5249
5201
|
base: $e0c8c7fe3fab83be$var$base,
|
|
@@ -5477,14 +5429,14 @@ var $901cc167fb8bbd92$var$base = {
|
|
|
5477
5429
|
container: 'relative flex items-start',
|
|
5478
5430
|
head: 'flex h-6 items-center',
|
|
5479
5431
|
body: 'ml-3 text-sm leading-6',
|
|
5480
|
-
input: 'h-4 w-4 rounded
|
|
5432
|
+
input: 'h-4 w-4 rounded border-gray-300 text-primary-600 focus:ring-primary-600',
|
|
5481
5433
|
label: 'font-medium text-gray-900',
|
|
5482
5434
|
description: 'text-gray-500'
|
|
5483
5435
|
}
|
|
5484
5436
|
};
|
|
5485
5437
|
var $901cc167fb8bbd92$var$disabled = {
|
|
5486
5438
|
item: {
|
|
5487
|
-
input: 'block rounded-md border-0 text-gray-900 shadow-
|
|
5439
|
+
input: 'block rounded-md border-0 text-gray-900 shadow-sm ring-1 ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 disabled:cursor-not-allowed disabled:bg-gray-50 disabled:text-gray-500 disabled:ring-gray-200'
|
|
5488
5440
|
}
|
|
5489
5441
|
};
|
|
5490
5442
|
var $901cc167fb8bbd92$var$styles = {
|
|
@@ -5588,14 +5540,14 @@ var $9ad148e334dfe9e5$var$base = {
|
|
|
5588
5540
|
container: 'relative flex items-start',
|
|
5589
5541
|
head: 'flex h-6 items-center select-none',
|
|
5590
5542
|
body: 'ml-3 text-sm leading-6',
|
|
5591
|
-
input: 'h-4 w-4 rounded
|
|
5543
|
+
input: 'h-4 w-4 rounded border-gray-300 text-primary-600 focus:ring-primary-600',
|
|
5592
5544
|
inputHidden: 'hidden',
|
|
5593
5545
|
replacement: 'flex',
|
|
5594
5546
|
label: 'font-medium text-gray-900',
|
|
5595
5547
|
description: 'text-gray-500'
|
|
5596
5548
|
};
|
|
5597
5549
|
var $9ad148e334dfe9e5$var$disabled = {
|
|
5598
|
-
input: 'block rounded-md border-0 text-gray-900 shadow-
|
|
5550
|
+
input: 'block rounded-md border-0 text-gray-900 shadow-sm ring-1 ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 disabled:cursor-not-allowed disabled:bg-gray-500 disabled:text-gray-500 disabled:ring-gray-200'
|
|
5599
5551
|
};
|
|
5600
5552
|
var $9ad148e334dfe9e5$var$styles = {
|
|
5601
5553
|
base: $9ad148e334dfe9e5$var$base,
|
|
@@ -5720,14 +5672,14 @@ var $f0d9d349d6a2ba53$var$base = {
|
|
|
5720
5672
|
description: 'text-gray-400 text-xs mt-1',
|
|
5721
5673
|
switch: {
|
|
5722
5674
|
container: 'flex flex-col',
|
|
5723
|
-
base: 'relative inline-flex w-11 shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out',
|
|
5675
|
+
base: 'relative inline-flex w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out',
|
|
5724
5676
|
screenreader: 'sr-only',
|
|
5725
|
-
checked: 'bg-primary-600 focus:outline-
|
|
5726
|
-
unchecked: 'bg-gray-200 focus:outline-
|
|
5727
|
-
disabled: 'opacity-50 cursor-not-allowed
|
|
5677
|
+
checked: 'bg-primary-600 focus:outline-none focus:ring-0 focus:ring-primary-600 focus:ring-offset-2',
|
|
5678
|
+
unchecked: 'bg-gray-200 focus:outline-none focus:ring-0 focus:ring-primary-600 focus:ring-offset-2',
|
|
5679
|
+
disabled: 'opacity-50 !cursor-not-allowed'
|
|
5728
5680
|
},
|
|
5729
5681
|
toggle: {
|
|
5730
|
-
base: 'pointer-events-none relative inline-block my-auto transform rounded-full bg-white shadow
|
|
5682
|
+
base: 'pointer-events-none relative inline-block my-auto transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out',
|
|
5731
5683
|
checked: 'translate-x-5',
|
|
5732
5684
|
unchecked: 'translate-x-0'
|
|
5733
5685
|
},
|
|
@@ -5887,15 +5839,15 @@ var $43437b181b294db2$var$normal = {
|
|
|
5887
5839
|
label: 'leading-6 text-sm mb-2',
|
|
5888
5840
|
hint: 'leading-6',
|
|
5889
5841
|
leading: 'pl-3',
|
|
5890
|
-
input: 'rounded-md border-gray-200 shadow-
|
|
5842
|
+
input: 'rounded-md border-gray-200 shadow-sm focus:border-primary-500 focus:ring-primary-500 sm:text-sm placeholder-gray-300',
|
|
5891
5843
|
trailing: 'pr-3',
|
|
5892
5844
|
description: 'mt-2 text-sm'
|
|
5893
5845
|
};
|
|
5894
5846
|
var $43437b181b294db2$var$inset = {
|
|
5895
|
-
container: 'rounded-md px-3 pt-2.5 pb-1.5 shadow-
|
|
5847
|
+
container: 'rounded-md px-3 pt-2.5 pb-1.5 shadow-sm ring-1 ring-inset ring-gray-300 focus-within:ring-2 focus-within:ring-primary-600',
|
|
5896
5848
|
label: 'text-xs',
|
|
5897
5849
|
hint: 'text-xs',
|
|
5898
|
-
input: 'border-0 ring-0
|
|
5850
|
+
input: 'border-0 !ring-0 p-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm pl-0',
|
|
5899
5851
|
description: 'hidden'
|
|
5900
5852
|
};
|
|
5901
5853
|
var $43437b181b294db2$var$overlapping = {
|
|
@@ -5903,13 +5855,13 @@ var $43437b181b294db2$var$overlapping = {
|
|
|
5903
5855
|
head: ' absolute flex justify-between items-center left-0 -top-2 right-0 mx-2 z-10 w-full',
|
|
5904
5856
|
label: 'inline-block bg-white px-1 text-xs font-medium text-gray-900 ',
|
|
5905
5857
|
hint: 'text-xs mr-4 bg-white px-1',
|
|
5906
|
-
input: 'block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-
|
|
5858
|
+
input: 'block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 sm:text-sm sm:leading-6',
|
|
5907
5859
|
description: 'hidden'
|
|
5908
5860
|
};
|
|
5909
5861
|
var $43437b181b294db2$var$pill = {
|
|
5910
5862
|
head: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mb-1 pr-6',
|
|
5911
5863
|
foot: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mt-1 pr-6',
|
|
5912
|
-
input: 'block w-full rounded-full border-0 px-4 py-1.5 text-gray-900 shadow-
|
|
5864
|
+
input: 'block w-full rounded-full border-0 px-4 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 sm:text-sm sm:leading-6',
|
|
5913
5865
|
trailing: 'pr-2',
|
|
5914
5866
|
description: 'text-xs'
|
|
5915
5867
|
};
|
|
@@ -5926,7 +5878,7 @@ var $43437b181b294db2$var$invalid = {
|
|
|
5926
5878
|
description: 'text-sm text-red-600'
|
|
5927
5879
|
};
|
|
5928
5880
|
var $43437b181b294db2$var$disabled = {
|
|
5929
|
-
input: 'block w-full rounded-md border-0 text-gray-900 shadow-
|
|
5881
|
+
input: 'block w-full rounded-md border-0 text-gray-900 shadow-sm ring-1 ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 disabled:cursor-not-allowed disabled:bg-gray-50 disabled:text-gray-500 disabled:ring-gray-200'
|
|
5930
5882
|
};
|
|
5931
5883
|
var $43437b181b294db2$var$styles = {
|
|
5932
5884
|
base: $43437b181b294db2$var$base,
|
|
@@ -6206,7 +6158,7 @@ var $2faf095044a1ccf8$var$OpeningHourItem = function(props) {
|
|
|
6206
6158
|
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)('-mt-2 flex gap-4 items-end', !isCreating && 'opacity-100'),
|
|
6207
6159
|
children: [
|
|
6208
6160
|
(0, $4MPRY$jsx)("div", {
|
|
6209
|
-
className:
|
|
6161
|
+
className: "flex-grow",
|
|
6210
6162
|
children: (0, $4MPRY$jsx)((0, $40038b27a5148d69$export$2e2bcd8739ae039), {
|
|
6211
6163
|
name: "day",
|
|
6212
6164
|
//
|
|
@@ -6373,14 +6325,11 @@ var $2faf095044a1ccf8$export$2e2bcd8739ae039 = $2faf095044a1ccf8$var$OpeningHour
|
|
|
6373
6325
|
|
|
6374
6326
|
var $99ef0e378c886c3a$var$styles = {
|
|
6375
6327
|
container: '',
|
|
6376
|
-
selectMenu: {
|
|
6377
|
-
container: "grow"
|
|
6378
|
-
},
|
|
6379
6328
|
control: {
|
|
6380
6329
|
container: 'flex items-center',
|
|
6381
6330
|
label: 'text-sm mr-2 font-medium w-36',
|
|
6382
|
-
action: 'relative inline-flex h-6 w-11 shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-
|
|
6383
|
-
span: 'pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow
|
|
6331
|
+
action: 'relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2',
|
|
6332
|
+
span: 'pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out',
|
|
6384
6333
|
sr: 'sr-only'
|
|
6385
6334
|
}
|
|
6386
6335
|
};
|
|
@@ -6412,15 +6361,15 @@ var $2109d011c77499b4$var$normal = {
|
|
|
6412
6361
|
label: 'leading-6 text-sm mb-2',
|
|
6413
6362
|
hint: 'leading-6',
|
|
6414
6363
|
leading: 'pl-3',
|
|
6415
|
-
input: 'rounded-md border-gray-200 shadow-
|
|
6364
|
+
input: 'rounded-md border-gray-200 shadow-sm focus:border-primary-500 focus:ring-primary-500 sm:text-sm placeholder-gray-300',
|
|
6416
6365
|
trailing: 'pr-3',
|
|
6417
6366
|
description: 'mt-2 text-sm'
|
|
6418
6367
|
};
|
|
6419
6368
|
var $2109d011c77499b4$var$inset = {
|
|
6420
|
-
container: 'rounded-md px-3 pt-2.5 pb-1.5 shadow-
|
|
6369
|
+
container: 'rounded-md px-3 pt-2.5 pb-1.5 shadow-sm ring-1 ring-inset ring-gray-300 focus-within:ring-2 focus-within:ring-primary-600',
|
|
6421
6370
|
label: 'text-xs',
|
|
6422
6371
|
hint: 'text-xs',
|
|
6423
|
-
input: 'border-0 ring-0
|
|
6372
|
+
input: 'border-0 !ring-0 p-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm pl-0',
|
|
6424
6373
|
description: 'hidden'
|
|
6425
6374
|
};
|
|
6426
6375
|
var $2109d011c77499b4$var$overlapping = {
|
|
@@ -6428,13 +6377,13 @@ var $2109d011c77499b4$var$overlapping = {
|
|
|
6428
6377
|
head: ' absolute flex justify-between items-center left-0 -top-2 right-0 mx-2 z-10 w-full',
|
|
6429
6378
|
label: 'inline-block bg-white px-1 text-xs font-medium text-gray-900 ',
|
|
6430
6379
|
hint: 'text-xs mr-4 bg-white px-1',
|
|
6431
|
-
input: 'block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-
|
|
6380
|
+
input: 'block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 sm:text-sm sm:leading-6',
|
|
6432
6381
|
description: 'hidden'
|
|
6433
6382
|
};
|
|
6434
6383
|
var $2109d011c77499b4$var$pill = {
|
|
6435
6384
|
head: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mb-1 pr-6',
|
|
6436
6385
|
foot: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mt-1 pr-6',
|
|
6437
|
-
input: 'block w-full rounded-full border-0 px-4 py-1.5 text-gray-900 shadow-
|
|
6386
|
+
input: 'block w-full rounded-full border-0 px-4 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 sm:text-sm sm:leading-6',
|
|
6438
6387
|
trailing: 'pr-2',
|
|
6439
6388
|
description: 'text-xs'
|
|
6440
6389
|
};
|
|
@@ -6451,7 +6400,7 @@ var $2109d011c77499b4$var$invalid = {
|
|
|
6451
6400
|
description: 'text-sm text-red-600'
|
|
6452
6401
|
};
|
|
6453
6402
|
var $2109d011c77499b4$var$disabled = {
|
|
6454
|
-
input: 'block w-full rounded-md border-0 text-gray-900 shadow-
|
|
6403
|
+
input: 'block w-full rounded-md border-0 text-gray-900 shadow-sm ring-1 ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 disabled:cursor-not-allowed disabled:bg-gray-50 disabled:text-gray-500 disabled:ring-gray-200'
|
|
6455
6404
|
};
|
|
6456
6405
|
var $2109d011c77499b4$var$styles = {
|
|
6457
6406
|
base: $2109d011c77499b4$var$base,
|
|
@@ -6594,7 +6543,7 @@ var $0ef1dab9988818f3$var$base = {
|
|
|
6594
6543
|
description: 'text-gray-400 text-xs mt-1',
|
|
6595
6544
|
error: 'text-red-500 text-xs mt-1',
|
|
6596
6545
|
geosuggest: {
|
|
6597
|
-
suggestsClassName: 'absolute w-full z-10 bg-white border border-gray-200 shadow-
|
|
6546
|
+
suggestsClassName: 'absolute w-full z-10 bg-white border border-gray-200 shadow-sm text-sm',
|
|
6598
6547
|
suggestItemClassName: 'px-4 py-2 hover:bg-gray-50 cursor-pointer',
|
|
6599
6548
|
suggestsHiddenClassName: 'hidden'
|
|
6600
6549
|
}
|
|
@@ -6607,15 +6556,15 @@ var $0ef1dab9988818f3$var$normal = {
|
|
|
6607
6556
|
label: 'leading-6 text-sm mb-2',
|
|
6608
6557
|
hint: 'leading-6',
|
|
6609
6558
|
leading: 'pl-3',
|
|
6610
|
-
input: 'rounded-md border-gray-200 shadow-
|
|
6559
|
+
input: 'rounded-md border-gray-200 shadow-sm focus:border-primary-500 focus:ring-primary-500 sm:text-sm placeholder-gray-300',
|
|
6611
6560
|
trailing: 'pr-3',
|
|
6612
6561
|
description: 'mt-2 text-sm'
|
|
6613
6562
|
};
|
|
6614
6563
|
var $0ef1dab9988818f3$var$inset = {
|
|
6615
|
-
container: 'rounded-md px-3 pt-2.5 pb-1.5 shadow-
|
|
6564
|
+
container: 'rounded-md px-3 pt-2.5 pb-1.5 shadow-sm ring-1 ring-inset ring-gray-300 focus-within:ring-2 focus-within:ring-primary-600',
|
|
6616
6565
|
label: 'text-xs',
|
|
6617
6566
|
hint: 'text-xs',
|
|
6618
|
-
input: 'border-0 ring-0
|
|
6567
|
+
input: 'border-0 !ring-0 p-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm pl-0',
|
|
6619
6568
|
description: 'hidden'
|
|
6620
6569
|
};
|
|
6621
6570
|
var $0ef1dab9988818f3$var$overlapping = {
|
|
@@ -6623,13 +6572,13 @@ var $0ef1dab9988818f3$var$overlapping = {
|
|
|
6623
6572
|
head: ' absolute flex justify-between items-center left-0 -top-2 right-0 mx-2 z-10 w-full',
|
|
6624
6573
|
label: 'inline-block bg-white px-1 text-xs font-medium text-gray-900 ',
|
|
6625
6574
|
hint: 'text-xs mr-4 bg-white px-1',
|
|
6626
|
-
input: 'block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-
|
|
6575
|
+
input: 'block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 sm:text-sm sm:leading-6',
|
|
6627
6576
|
description: 'hidden'
|
|
6628
6577
|
};
|
|
6629
6578
|
var $0ef1dab9988818f3$var$pill = {
|
|
6630
6579
|
head: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mb-1 pr-6',
|
|
6631
6580
|
foot: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mt-1 pr-6',
|
|
6632
|
-
input: 'block w-full rounded-full border-0 px-4 py-1.5 text-gray-900 shadow-
|
|
6581
|
+
input: 'block w-full rounded-full border-0 px-4 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 sm:text-sm sm:leading-6',
|
|
6633
6582
|
trailing: 'pr-2',
|
|
6634
6583
|
description: 'text-xs'
|
|
6635
6584
|
};
|
|
@@ -6646,7 +6595,7 @@ var $0ef1dab9988818f3$var$invalid = {
|
|
|
6646
6595
|
description: 'text-sm text-red-600'
|
|
6647
6596
|
};
|
|
6648
6597
|
var $0ef1dab9988818f3$var$disabled = {
|
|
6649
|
-
input: 'block w-full rounded-md border-0 text-gray-900 shadow-
|
|
6598
|
+
input: 'block w-full rounded-md border-0 text-gray-900 shadow-sm ring-1 ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 disabled:cursor-not-allowed disabled:bg-gray-50 disabled:text-gray-500 disabled:ring-gray-200'
|
|
6650
6599
|
};
|
|
6651
6600
|
var $0ef1dab9988818f3$var$styles = {
|
|
6652
6601
|
base: $0ef1dab9988818f3$var$base,
|
|
@@ -6858,9 +6807,8 @@ var $3f6ca002faff40a3$var$useColumnHelpers = function(t) {
|
|
|
6858
6807
|
return "overflow-hidden text-ellipsis ".concat((0, $4MPRY$get)(sizes, size, ''), " block");
|
|
6859
6808
|
}, []);
|
|
6860
6809
|
var createAccessor = (0, $4MPRY$useCallback)(function(key, getCellContent, excelMapper, options) {
|
|
6861
|
-
var _a;
|
|
6862
6810
|
return accessor(key, {
|
|
6863
|
-
header:
|
|
6811
|
+
header: t("component.form.label.".concat(key)),
|
|
6864
6812
|
enableSorting: (0, $4MPRY$get)(options, 'enableSorting', true),
|
|
6865
6813
|
cell: function(cell) {
|
|
6866
6814
|
return getCellContent(cell, options);
|