@ballistix.digital/react-components 6.0.3-next-42.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 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +139 -183
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +138 -182
- 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 = {};
|
|
@@ -1189,15 +1189,15 @@ var $0249406a6f5edb4d$var$normal = {
|
|
|
1189
1189
|
label: 'leading-6 text-sm mb-2',
|
|
1190
1190
|
hint: 'leading-6',
|
|
1191
1191
|
leading: 'pl-3',
|
|
1192
|
-
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',
|
|
1193
1193
|
trailing: 'pr-3',
|
|
1194
1194
|
description: 'mt-2 text-sm'
|
|
1195
1195
|
};
|
|
1196
1196
|
var $0249406a6f5edb4d$var$inset = {
|
|
1197
|
-
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',
|
|
1198
1198
|
label: 'text-xs',
|
|
1199
1199
|
hint: 'text-xs',
|
|
1200
|
-
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',
|
|
1201
1201
|
description: 'hidden'
|
|
1202
1202
|
};
|
|
1203
1203
|
var $0249406a6f5edb4d$var$overlapping = {
|
|
@@ -1205,13 +1205,13 @@ var $0249406a6f5edb4d$var$overlapping = {
|
|
|
1205
1205
|
head: ' absolute flex justify-between items-center left-0 -top-2 right-0 mx-2 z-10 w-full',
|
|
1206
1206
|
label: 'inline-block bg-white px-1 text-xs font-medium text-gray-900 ',
|
|
1207
1207
|
hint: 'text-xs mr-4 bg-white px-1',
|
|
1208
|
-
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',
|
|
1209
1209
|
description: 'hidden'
|
|
1210
1210
|
};
|
|
1211
1211
|
var $0249406a6f5edb4d$var$pill = {
|
|
1212
1212
|
head: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mb-1 pr-6',
|
|
1213
1213
|
foot: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mt-1 pr-6',
|
|
1214
|
-
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',
|
|
1215
1215
|
trailing: 'pr-2',
|
|
1216
1216
|
description: 'text-xs'
|
|
1217
1217
|
};
|
|
@@ -1228,7 +1228,7 @@ var $0249406a6f5edb4d$var$invalid = {
|
|
|
1228
1228
|
description: 'text-sm text-red-600'
|
|
1229
1229
|
};
|
|
1230
1230
|
var $0249406a6f5edb4d$var$disabled = {
|
|
1231
|
-
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'
|
|
1232
1232
|
};
|
|
1233
1233
|
var $0249406a6f5edb4d$var$styles = {
|
|
1234
1234
|
base: $0249406a6f5edb4d$var$base,
|
|
@@ -1314,7 +1314,7 @@ var $7b4ae85c2b92d7dd$var$InputGroupForm = function(props) {
|
|
|
1314
1314
|
name: name,
|
|
1315
1315
|
id: name,
|
|
1316
1316
|
"data-cy": inputDataCy,
|
|
1317
|
-
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.input, htmlType === 'color' && 'h-10
|
|
1317
|
+
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)(styles.input, htmlType === 'color' && '!h-10'),
|
|
1318
1318
|
placeholder: placeholder,
|
|
1319
1319
|
defaultValue: isSolo ? value : undefined,
|
|
1320
1320
|
value: isSolo ? undefined : value,
|
|
@@ -1552,22 +1552,22 @@ var $0dc9d1b1691a48fd$var$fillSticky = {
|
|
|
1552
1552
|
item: 'px-4 py-4 sm:px-0'
|
|
1553
1553
|
};
|
|
1554
1554
|
var $0dc9d1b1691a48fd$var$center = {
|
|
1555
|
-
container: 'bg-white shadow
|
|
1555
|
+
container: 'bg-white shadow overflow-hidden rounded-md',
|
|
1556
1556
|
list: 'divide-y divide-gray-200',
|
|
1557
1557
|
item: 'px-6 py-4'
|
|
1558
1558
|
};
|
|
1559
1559
|
var $0dc9d1b1691a48fd$var$centerSticky = {
|
|
1560
|
-
container: 'bg-white shadow
|
|
1560
|
+
container: 'bg-white shadow overflow-hidden sm:rounded-md',
|
|
1561
1561
|
list: 'divide-y divide-gray-200',
|
|
1562
1562
|
item: 'px-4 py-4 sm:px-6'
|
|
1563
1563
|
};
|
|
1564
1564
|
var $0dc9d1b1691a48fd$var$card = {
|
|
1565
1565
|
list: 'space-y-3',
|
|
1566
|
-
item: 'bg-white shadow
|
|
1566
|
+
item: 'bg-white shadow overflow-hidden rounded-md px-6 py-4'
|
|
1567
1567
|
};
|
|
1568
1568
|
var $0dc9d1b1691a48fd$var$cardSticky = {
|
|
1569
1569
|
list: 'space-y-3',
|
|
1570
|
-
item: 'bg-white shadow
|
|
1570
|
+
item: 'bg-white shadow overflow-hidden px-4 py-4 sm:px-6 sm:rounded-md'
|
|
1571
1571
|
};
|
|
1572
1572
|
var $0dc9d1b1691a48fd$var$styles = {
|
|
1573
1573
|
base: $0dc9d1b1691a48fd$var$base,
|
|
@@ -1617,7 +1617,7 @@ var $40af42a6ff486398$export$2e2bcd8739ae039 = $40af42a6ff486398$var$ListContain
|
|
|
1617
1617
|
|
|
1618
1618
|
var $195ca578a80f15e9$var$base = {
|
|
1619
1619
|
container: '',
|
|
1620
|
-
figure: 'mr-4 shrink-0',
|
|
1620
|
+
figure: 'mr-4 flex-shrink-0',
|
|
1621
1621
|
svg: 'h-16 w-16 border border-gray-300 bg-white text-gray-300',
|
|
1622
1622
|
title: 'text-lg font-bold',
|
|
1623
1623
|
paragraph: 'mt-1'
|
|
@@ -1751,7 +1751,7 @@ var $d8086708b0fe8d97$export$2e2bcd8739ae039 = $d8086708b0fe8d97$var$MediaObject
|
|
|
1751
1751
|
|
|
1752
1752
|
|
|
1753
1753
|
var $6608476f62547c9b$var$base = {
|
|
1754
|
-
container: 'bg-white overflow-hidden shadow
|
|
1754
|
+
container: 'bg-white overflow-hidden shadow',
|
|
1755
1755
|
section: 'px-4 py-5 sm:px-6'
|
|
1756
1756
|
};
|
|
1757
1757
|
var $6608476f62547c9b$var$normal = {
|
|
@@ -1843,16 +1843,16 @@ var $9ff97c477ac85f31$var$base = {
|
|
|
1843
1843
|
leading: 'pointer-events-none absolute inset-y-0 left-0 flex items-center',
|
|
1844
1844
|
input: 'block w-full flex border',
|
|
1845
1845
|
menuButton: '',
|
|
1846
|
-
menu: 'z-10 px-0!
|
|
1847
|
-
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',
|
|
1848
1848
|
tagItemText: 'text-xs',
|
|
1849
|
-
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',
|
|
1850
1850
|
tagItemIcon: '',
|
|
1851
|
-
list: 'px-0!
|
|
1851
|
+
list: '!px-0 !w-full [&>*]:px-0 max-h-56 overflow-scroll !py-1',
|
|
1852
1852
|
listGroupLabel: '',
|
|
1853
|
-
listItem: 'w-full!
|
|
1853
|
+
listItem: '!w-full !list-none hover:bg-primary-500 hover:text-white !py-2 !px-2',
|
|
1854
1854
|
listDisabledItem: '',
|
|
1855
|
-
searchContainer: 'w-full!
|
|
1855
|
+
searchContainer: '!w-full !px-2 !py-2 border-b',
|
|
1856
1856
|
searchBox: '',
|
|
1857
1857
|
searchIcon: '',
|
|
1858
1858
|
closeIcon: '',
|
|
@@ -1869,15 +1869,15 @@ var $9ff97c477ac85f31$var$normal = {
|
|
|
1869
1869
|
label: 'leading-6 text-sm mb-2',
|
|
1870
1870
|
hint: 'leading-6',
|
|
1871
1871
|
leading: 'pl-3',
|
|
1872
|
-
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',
|
|
1873
1873
|
trailing: '',
|
|
1874
1874
|
description: 'mt-2 text-sm'
|
|
1875
1875
|
};
|
|
1876
1876
|
var $9ff97c477ac85f31$var$inset = {
|
|
1877
|
-
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',
|
|
1878
1878
|
label: 'text-xs',
|
|
1879
1879
|
hint: 'text-xs',
|
|
1880
|
-
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',
|
|
1881
1881
|
description: 'hidden'
|
|
1882
1882
|
};
|
|
1883
1883
|
var $9ff97c477ac85f31$var$overlapping = {
|
|
@@ -1885,13 +1885,13 @@ var $9ff97c477ac85f31$var$overlapping = {
|
|
|
1885
1885
|
head: ' absolute flex justify-between items-center left-0 -top-2 right-0 mx-2 z-10 w-full',
|
|
1886
1886
|
label: 'inline-block bg-white px-1 text-xs font-medium text-gray-900 ',
|
|
1887
1887
|
hint: 'text-xs mr-4 bg-white px-1',
|
|
1888
|
-
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',
|
|
1889
1889
|
description: 'hidden'
|
|
1890
1890
|
};
|
|
1891
1891
|
var $9ff97c477ac85f31$var$pill = {
|
|
1892
1892
|
head: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mb-1 pr-6',
|
|
1893
1893
|
foot: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mt-1 pr-6',
|
|
1894
|
-
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',
|
|
1895
1895
|
trailing: 'pr-2',
|
|
1896
1896
|
description: 'text-xs'
|
|
1897
1897
|
};
|
|
@@ -1908,7 +1908,7 @@ var $9ff97c477ac85f31$var$invalid = {
|
|
|
1908
1908
|
description: 'text-sm text-red-600'
|
|
1909
1909
|
};
|
|
1910
1910
|
var $9ff97c477ac85f31$var$disabled = {
|
|
1911
|
-
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'
|
|
1912
1912
|
};
|
|
1913
1913
|
var $9ff97c477ac85f31$var$styles = {
|
|
1914
1914
|
base: $9ff97c477ac85f31$var$base,
|
|
@@ -2016,7 +2016,7 @@ var $40038b27a5148d69$var$SelectMenuForm = function(props) {
|
|
|
2016
2016
|
//
|
|
2017
2017
|
classNames: {
|
|
2018
2018
|
menuButton: function() {
|
|
2019
|
-
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');
|
|
2020
2020
|
},
|
|
2021
2021
|
menu: styles.menu,
|
|
2022
2022
|
tagItem: function() {
|
|
@@ -2077,7 +2077,7 @@ var $e3009f3eac14483c$var$base = {
|
|
|
2077
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',
|
|
2078
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',
|
|
2079
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',
|
|
2080
|
-
navigation: 'isolate inline-flex -space-x-px rounded-md shadow-
|
|
2080
|
+
navigation: 'isolate inline-flex -space-x-px rounded-md shadow-sm'
|
|
2081
2081
|
},
|
|
2082
2082
|
button: {
|
|
2083
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',
|
|
@@ -2087,7 +2087,7 @@ var $e3009f3eac14483c$var$base = {
|
|
|
2087
2087
|
divider: 'relative inline-flex items-center border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-500',
|
|
2088
2088
|
label: 'sr-only',
|
|
2089
2089
|
icon: 'w-5 h-5',
|
|
2090
|
-
pageSizeList: 'overflow-hidden
|
|
2090
|
+
pageSizeList: '!overflow-hidden'
|
|
2091
2091
|
};
|
|
2092
2092
|
var $e3009f3eac14483c$var$styles = {
|
|
2093
2093
|
base: $e3009f3eac14483c$var$base
|
|
@@ -2607,19 +2607,19 @@ var $fb5a78a09a8b15b6$var$base = {
|
|
|
2607
2607
|
container: '',
|
|
2608
2608
|
row: '',
|
|
2609
2609
|
cell: 'py-3.5 px-3 text-left text-sm font-semibold text-gray-900 group',
|
|
2610
|
-
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'
|
|
2611
2611
|
},
|
|
2612
2612
|
body: {
|
|
2613
2613
|
container: 'divide-y divide-gray-200',
|
|
2614
2614
|
row: '',
|
|
2615
2615
|
cell: 'whitespace-nowrap py-4 px-3 text-sm text-gray-500',
|
|
2616
|
-
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',
|
|
2617
2617
|
indicator: 'absolute inset-y-0 left-0 w-0.5 bg-primary-600'
|
|
2618
2618
|
}
|
|
2619
2619
|
}
|
|
2620
2620
|
},
|
|
2621
2621
|
sortIndicator: {
|
|
2622
|
-
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',
|
|
2623
2623
|
isSorted: 'bg-gray-100 text-gray-900 group-hover:bg-gray-200',
|
|
2624
2624
|
isNotSorted: 'invisible text-gray-400 group-hover:visible group-focus:visible',
|
|
2625
2625
|
icon: {
|
|
@@ -2650,7 +2650,7 @@ var $fb5a78a09a8b15b6$var$normal = {
|
|
|
2650
2650
|
var $fb5a78a09a8b15b6$var$panel = {
|
|
2651
2651
|
body: {
|
|
2652
2652
|
content: 'inline-block min-w-full py-2 align-middle md:px-6 lg:px-8',
|
|
2653
|
-
styleWrapper: 'relative overflow-hidden shadow
|
|
2653
|
+
styleWrapper: 'relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg',
|
|
2654
2654
|
table: {
|
|
2655
2655
|
head: {
|
|
2656
2656
|
container: 'bg-gray-50'
|
|
@@ -2664,7 +2664,7 @@ var $fb5a78a09a8b15b6$var$panel = {
|
|
|
2664
2664
|
var $fb5a78a09a8b15b6$var$full = {
|
|
2665
2665
|
body: {
|
|
2666
2666
|
content: 'inline-block min-w-full py-2 align-middle',
|
|
2667
|
-
styleWrapper: 'relative overflow-hidden shadow-
|
|
2667
|
+
styleWrapper: 'relative overflow-hidden shadow-sm ring-1 ring-black ring-opacity-5',
|
|
2668
2668
|
table: {
|
|
2669
2669
|
head: {
|
|
2670
2670
|
container: 'bg-gray-50'
|
|
@@ -2677,7 +2677,7 @@ var $fb5a78a09a8b15b6$var$sticky = {
|
|
|
2677
2677
|
table: {
|
|
2678
2678
|
container: 'min-w-full border-separate',
|
|
2679
2679
|
head: {
|
|
2680
|
-
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'
|
|
2681
2681
|
}
|
|
2682
2682
|
}
|
|
2683
2683
|
}
|
|
@@ -2696,7 +2696,7 @@ var $fb5a78a09a8b15b6$var$separated = {
|
|
|
2696
2696
|
};
|
|
2697
2697
|
var $fb5a78a09a8b15b6$var$controlled = {
|
|
2698
2698
|
controls: {
|
|
2699
|
-
container: 'flex
|
|
2699
|
+
container: '!flex'
|
|
2700
2700
|
}
|
|
2701
2701
|
};
|
|
2702
2702
|
var $fb5a78a09a8b15b6$var$styles = {
|
|
@@ -2911,7 +2911,7 @@ var $4421fdc946e7dd6c$var$TableList = function(props) {
|
|
|
2911
2911
|
}),
|
|
2912
2912
|
(0, $4MPRY$jsx)((0, $bc407adcad543f74$export$2e2bcd8739ae039), {
|
|
2913
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 : {
|
|
2914
|
-
container: 'py-1.5!
|
|
2914
|
+
container: '!py-1.5 !px-3'
|
|
2915
2915
|
},
|
|
2916
2916
|
onClick: function() {
|
|
2917
2917
|
var sheets = generate(table);
|
|
@@ -3089,7 +3089,7 @@ var $a159f18e2839f1e6$var$base = {
|
|
|
3089
3089
|
head: {
|
|
3090
3090
|
container: '',
|
|
3091
3091
|
row: '',
|
|
3092
|
-
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',
|
|
3093
3093
|
column: {
|
|
3094
3094
|
pinned: {
|
|
3095
3095
|
cell: 'bg-white sticky z-10 overflow-hidden text-ellipsis'
|
|
@@ -3100,7 +3100,7 @@ var $a159f18e2839f1e6$var$base = {
|
|
|
3100
3100
|
wrapper: 'grid gap-x-1 items-center',
|
|
3101
3101
|
text: 'whitespace-normal break-words',
|
|
3102
3102
|
sortIndicator: {
|
|
3103
|
-
container: 'ml-2 inline-flex items-center rounded
|
|
3103
|
+
container: 'ml-2 inline-flex items-center rounded',
|
|
3104
3104
|
isSorted: 'bg-gray-100 text-gray-900 group-hover:bg-gray-200',
|
|
3105
3105
|
isNotSorted: 'text-gray-400 group-hover:text-gray-900 group-hover:bg-gray-200',
|
|
3106
3106
|
icon: {
|
|
@@ -3120,7 +3120,7 @@ var $a159f18e2839f1e6$var$base = {
|
|
|
3120
3120
|
},
|
|
3121
3121
|
cell: 'whitespace-nowrap py-2.5 px-3 text-sm text-gray-500',
|
|
3122
3122
|
sticky: 'border-b border-gray-200',
|
|
3123
|
-
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',
|
|
3124
3124
|
indicator: 'absolute inset-y-0 left-0 w-0.5 bg-primary-600'
|
|
3125
3125
|
}
|
|
3126
3126
|
}
|
|
@@ -3163,12 +3163,11 @@ var $df469b72efb8986e$var$__spreadArray = undefined && undefined.__spreadArray |
|
|
|
3163
3163
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
3164
3164
|
};
|
|
3165
3165
|
var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
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
|
|
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;
|
|
3167
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;
|
|
3168
|
-
var
|
|
3169
|
-
var
|
|
3170
|
-
var
|
|
3171
|
-
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];
|
|
3172
3171
|
var handleGenerateStyle = function() {
|
|
3173
3172
|
var result = (0, $b3fc44f26b625a32$export$e2d2075c69d9100d)((0, $a159f18e2839f1e6$export$2e2bcd8739ae039).base);
|
|
3174
3173
|
var keys = (0, $ba1db6dce71c3f25$export$be5d6ab3c5b84767)((0, $a159f18e2839f1e6$export$2e2bcd8739ae039).base);
|
|
@@ -3224,11 +3223,9 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3224
3223
|
return visibilityState;
|
|
3225
3224
|
}, [
|
|
3226
3225
|
config.columns,
|
|
3227
|
-
(
|
|
3226
|
+
(_c = config.options) === null || _c === void 0 ? void 0 : _c.defaultVisibility
|
|
3228
3227
|
]);
|
|
3229
3228
|
var table = (0, $4MPRY$useReactTable)({
|
|
3230
|
-
getExpandedRowModel: (0, $4MPRY$getExpandedRowModel)(),
|
|
3231
|
-
getGroupedRowModel: (0, $4MPRY$getGroupedRowModel)(),
|
|
3232
3229
|
getCoreRowModel: (0, $4MPRY$getCoreRowModel)(),
|
|
3233
3230
|
columns: isDraggable ? $df469b72efb8986e$var$__spreadArray([
|
|
3234
3231
|
{
|
|
@@ -3247,8 +3244,7 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3247
3244
|
state: {
|
|
3248
3245
|
sorting: sorting,
|
|
3249
3246
|
columnVisibility: columnVisibility,
|
|
3250
|
-
columnOrder: columnOrder
|
|
3251
|
-
grouping: grouping
|
|
3247
|
+
columnOrder: columnOrder
|
|
3252
3248
|
},
|
|
3253
3249
|
initialState: {
|
|
3254
3250
|
columnVisibility: isDraggable ? $df469b72efb8986e$var$__assign({
|
|
@@ -3256,20 +3252,17 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3256
3252
|
}, initialVisibilityState) : initialVisibilityState,
|
|
3257
3253
|
columnOrder: isDraggable ? $df469b72efb8986e$var$__spreadArray([
|
|
3258
3254
|
'drag-handle'
|
|
3259
|
-
], (
|
|
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,
|
|
3260
3256
|
columnPinning: {
|
|
3261
|
-
left: (
|
|
3262
|
-
right: (
|
|
3263
|
-
}
|
|
3264
|
-
grouping: (_s = (_r = config.options) === null || _r === void 0 ? void 0 : _r.grouping) === null || _s === void 0 ? void 0 : _s.defaultGrouping,
|
|
3265
|
-
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
|
+
}
|
|
3266
3260
|
},
|
|
3267
3261
|
manualPagination: true,
|
|
3268
3262
|
manualSorting: true,
|
|
3269
3263
|
onSortingChange: setSorting,
|
|
3270
3264
|
onColumnVisibilityChange: setColumnVisibility,
|
|
3271
3265
|
onColumnOrderChange: setColumnOrder,
|
|
3272
|
-
onGroupingChange: setGrouping,
|
|
3273
3266
|
getRowId: function(row) {
|
|
3274
3267
|
return (0, $4MPRY$get)(row, dragConfig === null || dragConfig === void 0 ? void 0 : dragConfig.rowIdentifierKey);
|
|
3275
3268
|
}
|
|
@@ -3281,18 +3274,15 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3281
3274
|
sorting: sorting,
|
|
3282
3275
|
columnVisibility: columnVisibility,
|
|
3283
3276
|
columnOrder: columnOrder,
|
|
3284
|
-
grouping: grouping,
|
|
3285
3277
|
//
|
|
3286
3278
|
setSorting: setSorting,
|
|
3287
3279
|
setColumnVisibility: setColumnVisibility,
|
|
3288
|
-
setColumnOrder: setColumnOrder
|
|
3289
|
-
setGrouping: setGrouping
|
|
3280
|
+
setColumnOrder: setColumnOrder
|
|
3290
3281
|
};
|
|
3291
3282
|
}, [
|
|
3292
3283
|
columnOrder,
|
|
3293
3284
|
columnVisibility,
|
|
3294
3285
|
sorting,
|
|
3295
|
-
grouping,
|
|
3296
3286
|
table
|
|
3297
3287
|
]);
|
|
3298
3288
|
// Trigger onChange handler when state changes.
|
|
@@ -3326,7 +3316,7 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3326
3316
|
setColumnVisibility(visibility_1);
|
|
3327
3317
|
}
|
|
3328
3318
|
}, [
|
|
3329
|
-
(
|
|
3319
|
+
(_o = config === null || config === void 0 ? void 0 : config.options) === null || _o === void 0 ? void 0 : _o.defaultVisibility,
|
|
3330
3320
|
id,
|
|
3331
3321
|
table
|
|
3332
3322
|
]);
|
|
@@ -3351,7 +3341,7 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3351
3341
|
}
|
|
3352
3342
|
}, [
|
|
3353
3343
|
config.columns,
|
|
3354
|
-
(
|
|
3344
|
+
(_p = config === null || config === void 0 ? void 0 : config.options) === null || _p === void 0 ? void 0 : _p.defaultOrder,
|
|
3355
3345
|
id,
|
|
3356
3346
|
isDraggable
|
|
3357
3347
|
]);
|
|
@@ -3396,18 +3386,7 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3396
3386
|
return onRowClick && onRowClick(row);
|
|
3397
3387
|
},
|
|
3398
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),
|
|
3399
|
-
children:
|
|
3400
|
-
colSpan: row.getVisibleCells().length,
|
|
3401
|
-
children: (0, $4MPRY$jsx)("div", {
|
|
3402
|
-
className: styles.body.table.body.groupedRow,
|
|
3403
|
-
children: (0, $4MPRY$map)(row.getVisibleCells(), function(cell) {
|
|
3404
|
-
return (0, $4MPRY$jsx)("div", {
|
|
3405
|
-
className: styles.body.table.body.groupedRowCell,
|
|
3406
|
-
children: (0, $4MPRY$flexRender)(cell.column.columnDef.cell, cell.getContext())
|
|
3407
|
-
}, cell.id);
|
|
3408
|
-
})
|
|
3409
|
-
})
|
|
3410
|
-
}) : (0, $4MPRY$map)(row.getVisibleCells(), function(cell) {
|
|
3389
|
+
children: (0, $4MPRY$map)(row.getVisibleCells(), function(cell) {
|
|
3411
3390
|
var _a, _b, _c;
|
|
3412
3391
|
return (0, $4MPRY$jsx)("td", {
|
|
3413
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),
|
|
@@ -3433,7 +3412,7 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3433
3412
|
return acc + size;
|
|
3434
3413
|
}, 0);
|
|
3435
3414
|
}, [
|
|
3436
|
-
(
|
|
3415
|
+
(_q = config.options) === null || _q === void 0 ? void 0 : _q.columnPinning
|
|
3437
3416
|
]);
|
|
3438
3417
|
var getCommonPinningStyles = (0, $4MPRY$useCallback)(function(column) {
|
|
3439
3418
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
@@ -3454,10 +3433,10 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3454
3433
|
right: isPinned === 'right' ? "".concat(getPinnedColumnsWidth('right', column.id), "px") : undefined
|
|
3455
3434
|
};
|
|
3456
3435
|
}, [
|
|
3457
|
-
(
|
|
3458
|
-
(
|
|
3459
|
-
(
|
|
3460
|
-
(
|
|
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,
|
|
3461
3440
|
styles.body.table.pinnedColumns.left,
|
|
3462
3441
|
styles.body.table.pinnedColumns.right,
|
|
3463
3442
|
getPinnedColumnsWidth
|
|
@@ -3548,32 +3527,13 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3548
3527
|
},
|
|
3549
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),
|
|
3550
3529
|
children: (0, $4MPRY$map)(row.getVisibleCells(), function(cell) {
|
|
3551
|
-
var _a, _b, _c
|
|
3530
|
+
var _a, _b, _c;
|
|
3552
3531
|
return (0, $4MPRY$jsx)("td", {
|
|
3553
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),
|
|
3554
3533
|
style: $df469b72efb8986e$var$__assign({
|
|
3555
3534
|
width: cell.column.getSize()
|
|
3556
3535
|
}, getCommonPinningStyles(cell.column)),
|
|
3557
|
-
children:
|
|
3558
|
-
(0, $4MPRY$jsxs)("button", {
|
|
3559
|
-
onClick: row.getToggleExpandedHandler(),
|
|
3560
|
-
style: {
|
|
3561
|
-
cursor: row.getCanExpand() ? 'pointer' : 'normal'
|
|
3562
|
-
},
|
|
3563
|
-
children: [
|
|
3564
|
-
(0, $4MPRY$jsx)((0, $77cd4416ca4a0639$export$2e2bcd8739ae039), {
|
|
3565
|
-
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"
|
|
3566
|
-
}),
|
|
3567
|
-
' ',
|
|
3568
|
-
(0, $4MPRY$flexRender)(cell.column.columnDef.cell, cell.getContext()),
|
|
3569
|
-
" (",
|
|
3570
|
-
row.subRows.length,
|
|
3571
|
-
")"
|
|
3572
|
-
]
|
|
3573
|
-
}) : cell.getIsAggregated() ? // If the cell is aggregated, use the Aggregated
|
|
3574
|
-
// renderer for cell
|
|
3575
|
-
(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
|
|
3576
|
-
(0, $4MPRY$flexRender)(cell.column.columnDef.cell, cell.getContext())
|
|
3536
|
+
children: (0, $4MPRY$flexRender)(cell.column.columnDef.cell, cell.getContext())
|
|
3577
3537
|
}, cell.id);
|
|
3578
3538
|
})
|
|
3579
3539
|
}, row.id);
|
|
@@ -3582,7 +3542,7 @@ var $df469b72efb8986e$var$TableList2 = function(props) {
|
|
|
3582
3542
|
]
|
|
3583
3543
|
}),
|
|
3584
3544
|
(0, $4MPRY$isEmpty)(table === null || table === void 0 ? void 0 : table.getRowModel().rows) && !isLoading && (0, $4MPRY$jsx)((0, $4MPRY$Fragment), {
|
|
3585
|
-
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", {
|
|
3586
3546
|
className: (0, $a159f18e2839f1e6$export$2e2bcd8739ae039).empty,
|
|
3587
3547
|
children: "There is no data to show..."
|
|
3588
3548
|
})
|
|
@@ -3650,7 +3610,7 @@ var $d35063ed95f33643$var$base = {
|
|
|
3650
3610
|
container: 'flex',
|
|
3651
3611
|
content: 'flex items-center',
|
|
3652
3612
|
link: 'text-gray-400 hover:text-gray-500',
|
|
3653
|
-
icon: 'h-5 w-5 shrink-0',
|
|
3613
|
+
icon: 'h-5 w-5 flex-shrink-0',
|
|
3654
3614
|
span: 'sr-only'
|
|
3655
3615
|
},
|
|
3656
3616
|
page: {
|
|
@@ -3662,7 +3622,7 @@ var $d35063ed95f33643$var$base = {
|
|
|
3662
3622
|
var $d35063ed95f33643$var$slashes = {
|
|
3663
3623
|
container: '',
|
|
3664
3624
|
list: 'items-center space-x-4',
|
|
3665
|
-
separator: 'h-5 w-5 shrink-0 text-gray-400',
|
|
3625
|
+
separator: 'h-5 w-5 flex-shrink-0 text-gray-400',
|
|
3666
3626
|
home: {
|
|
3667
3627
|
container: '',
|
|
3668
3628
|
content: '',
|
|
@@ -3679,7 +3639,7 @@ var $d35063ed95f33643$var$slashes = {
|
|
|
3679
3639
|
var $d35063ed95f33643$var$chevrons = {
|
|
3680
3640
|
container: '',
|
|
3681
3641
|
list: 'items-center space-x-4',
|
|
3682
|
-
separator: 'h-5 w-5 shrink-0 text-gray-400',
|
|
3642
|
+
separator: 'h-5 w-5 flex-shrink-0 text-gray-400',
|
|
3683
3643
|
home: {
|
|
3684
3644
|
container: '',
|
|
3685
3645
|
content: '',
|
|
@@ -3695,8 +3655,8 @@ var $d35063ed95f33643$var$chevrons = {
|
|
|
3695
3655
|
};
|
|
3696
3656
|
var $d35063ed95f33643$var$panel = {
|
|
3697
3657
|
container: '',
|
|
3698
|
-
list: 'space-x-4 rounded-md bg-white px-6 shadow
|
|
3699
|
-
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',
|
|
3700
3660
|
home: {
|
|
3701
3661
|
container: '',
|
|
3702
3662
|
content: '',
|
|
@@ -3712,8 +3672,8 @@ var $d35063ed95f33643$var$panel = {
|
|
|
3712
3672
|
};
|
|
3713
3673
|
var $d35063ed95f33643$var$bar = {
|
|
3714
3674
|
container: 'border-b border-gray-200 bg-white',
|
|
3715
|
-
list: 'mx-auto w-full max-w-
|
|
3716
|
-
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',
|
|
3717
3677
|
home: {
|
|
3718
3678
|
container: '',
|
|
3719
3679
|
content: '',
|
|
@@ -4144,7 +4104,7 @@ var $579a3cb18d8026e0$var$defaultStyles = {
|
|
|
4144
4104
|
head: 'sm:hidden',
|
|
4145
4105
|
body: 'hidden sm:block',
|
|
4146
4106
|
label: 'sr-only',
|
|
4147
|
-
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',
|
|
4148
4108
|
navigation: 'border-b border-gray-200 -mb-px flex space-x-8'
|
|
4149
4109
|
},
|
|
4150
4110
|
tab: {
|
|
@@ -4316,7 +4276,7 @@ var $fa0fc9b7e04a1799$var$Item = function(props) {
|
|
|
4316
4276
|
var styles = handleGenerateStyle();
|
|
4317
4277
|
if (href && LinkComponent) return (0, $4MPRY$jsxs)(LinkComponent, {
|
|
4318
4278
|
href: href,
|
|
4319
|
-
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),
|
|
4320
4280
|
onClick: onClick,
|
|
4321
4281
|
children: [
|
|
4322
4282
|
icon,
|
|
@@ -4324,7 +4284,7 @@ var $fa0fc9b7e04a1799$var$Item = function(props) {
|
|
|
4324
4284
|
]
|
|
4325
4285
|
});
|
|
4326
4286
|
return (0, $4MPRY$jsxs)("div", {
|
|
4327
|
-
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),
|
|
4328
4288
|
onClick: !isLoading ? onClick : function() {
|
|
4329
4289
|
return null;
|
|
4330
4290
|
},
|
|
@@ -4430,7 +4390,7 @@ var $860faaa2c7bb1f36$export$2e2bcd8739ae039 = $860faaa2c7bb1f36$var$VerticalNav
|
|
|
4430
4390
|
var $35edca6e99ea4ea0$var$base = {
|
|
4431
4391
|
container: 'relative z-20',
|
|
4432
4392
|
background: {
|
|
4433
|
-
container: 'fixed inset-0 bg-gray-500
|
|
4393
|
+
container: 'fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity',
|
|
4434
4394
|
transition: {
|
|
4435
4395
|
enter: 'ease-out duration-300',
|
|
4436
4396
|
enterFrom: 'opacity-0',
|
|
@@ -4598,7 +4558,7 @@ var $3bf3edb7ee8a22f4$var$base = {
|
|
|
4598
4558
|
inner: 'pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10'
|
|
4599
4559
|
},
|
|
4600
4560
|
panel: {
|
|
4601
|
-
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',
|
|
4602
4562
|
transition: {
|
|
4603
4563
|
enter: 'transform ease-out duration-300 transition',
|
|
4604
4564
|
enterFrom: 'translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2',
|
|
@@ -4735,7 +4695,7 @@ var $0a39296cb800ec26$export$2e2bcd8739ae039 = $0a39296cb800ec26$var$Notificatio
|
|
|
4735
4695
|
var $19b812b9e566cf40$var$base = {
|
|
4736
4696
|
container: 'relative z-20',
|
|
4737
4697
|
background: {
|
|
4738
|
-
container: 'fixed inset-0 bg-gray-500
|
|
4698
|
+
container: 'fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity',
|
|
4739
4699
|
transition: {
|
|
4740
4700
|
enter: 'ease-in-out duration-500',
|
|
4741
4701
|
enterFrom: 'opacity-0',
|
|
@@ -5196,15 +5156,15 @@ var $e0c8c7fe3fab83be$var$normal = {
|
|
|
5196
5156
|
label: 'leading-6 text-sm mb-2',
|
|
5197
5157
|
hint: 'leading-6',
|
|
5198
5158
|
leading: 'pl-3',
|
|
5199
|
-
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',
|
|
5200
5160
|
trailing: 'pr-3',
|
|
5201
5161
|
description: 'mt-2 text-sm'
|
|
5202
5162
|
};
|
|
5203
5163
|
var $e0c8c7fe3fab83be$var$inset = {
|
|
5204
|
-
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',
|
|
5205
5165
|
label: 'text-xs',
|
|
5206
5166
|
hint: 'text-xs',
|
|
5207
|
-
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',
|
|
5208
5168
|
description: 'hidden'
|
|
5209
5169
|
};
|
|
5210
5170
|
var $e0c8c7fe3fab83be$var$overlapping = {
|
|
@@ -5212,13 +5172,13 @@ var $e0c8c7fe3fab83be$var$overlapping = {
|
|
|
5212
5172
|
head: ' absolute flex justify-between items-center left-0 -top-2 right-0 mx-2 z-10 w-full',
|
|
5213
5173
|
label: 'inline-block bg-white px-1 text-xs font-medium text-gray-900 ',
|
|
5214
5174
|
hint: 'text-xs mr-4 bg-white px-1',
|
|
5215
|
-
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',
|
|
5216
5176
|
description: 'hidden'
|
|
5217
5177
|
};
|
|
5218
5178
|
var $e0c8c7fe3fab83be$var$pill = {
|
|
5219
5179
|
head: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mb-1 pr-6',
|
|
5220
5180
|
foot: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mt-1 pr-6',
|
|
5221
|
-
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',
|
|
5222
5182
|
trailing: 'pr-2',
|
|
5223
5183
|
description: 'text-xs'
|
|
5224
5184
|
};
|
|
@@ -5229,13 +5189,13 @@ var $e0c8c7fe3fab83be$var$floored = {
|
|
|
5229
5189
|
description: 'text-xs mt-2'
|
|
5230
5190
|
};
|
|
5231
5191
|
var $e0c8c7fe3fab83be$var$invalid = {
|
|
5232
|
-
container: 'ring-red-500
|
|
5192
|
+
container: '!ring-red-500',
|
|
5233
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',
|
|
5234
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',
|
|
5235
5195
|
description: 'text-sm text-red-600'
|
|
5236
5196
|
};
|
|
5237
5197
|
var $e0c8c7fe3fab83be$var$disabled = {
|
|
5238
|
-
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'
|
|
5239
5199
|
};
|
|
5240
5200
|
var $e0c8c7fe3fab83be$var$styles = {
|
|
5241
5201
|
base: $e0c8c7fe3fab83be$var$base,
|
|
@@ -5469,14 +5429,14 @@ var $901cc167fb8bbd92$var$base = {
|
|
|
5469
5429
|
container: 'relative flex items-start',
|
|
5470
5430
|
head: 'flex h-6 items-center',
|
|
5471
5431
|
body: 'ml-3 text-sm leading-6',
|
|
5472
|
-
input: 'h-4 w-4 rounded
|
|
5432
|
+
input: 'h-4 w-4 rounded border-gray-300 text-primary-600 focus:ring-primary-600',
|
|
5473
5433
|
label: 'font-medium text-gray-900',
|
|
5474
5434
|
description: 'text-gray-500'
|
|
5475
5435
|
}
|
|
5476
5436
|
};
|
|
5477
5437
|
var $901cc167fb8bbd92$var$disabled = {
|
|
5478
5438
|
item: {
|
|
5479
|
-
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'
|
|
5480
5440
|
}
|
|
5481
5441
|
};
|
|
5482
5442
|
var $901cc167fb8bbd92$var$styles = {
|
|
@@ -5580,14 +5540,14 @@ var $9ad148e334dfe9e5$var$base = {
|
|
|
5580
5540
|
container: 'relative flex items-start',
|
|
5581
5541
|
head: 'flex h-6 items-center select-none',
|
|
5582
5542
|
body: 'ml-3 text-sm leading-6',
|
|
5583
|
-
input: 'h-4 w-4 rounded
|
|
5543
|
+
input: 'h-4 w-4 rounded border-gray-300 text-primary-600 focus:ring-primary-600',
|
|
5584
5544
|
inputHidden: 'hidden',
|
|
5585
5545
|
replacement: 'flex',
|
|
5586
5546
|
label: 'font-medium text-gray-900',
|
|
5587
5547
|
description: 'text-gray-500'
|
|
5588
5548
|
};
|
|
5589
5549
|
var $9ad148e334dfe9e5$var$disabled = {
|
|
5590
|
-
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'
|
|
5591
5551
|
};
|
|
5592
5552
|
var $9ad148e334dfe9e5$var$styles = {
|
|
5593
5553
|
base: $9ad148e334dfe9e5$var$base,
|
|
@@ -5712,14 +5672,14 @@ var $f0d9d349d6a2ba53$var$base = {
|
|
|
5712
5672
|
description: 'text-gray-400 text-xs mt-1',
|
|
5713
5673
|
switch: {
|
|
5714
5674
|
container: 'flex flex-col',
|
|
5715
|
-
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',
|
|
5716
5676
|
screenreader: 'sr-only',
|
|
5717
|
-
checked: 'bg-primary-600 focus:outline-
|
|
5718
|
-
unchecked: 'bg-gray-200 focus:outline-
|
|
5719
|
-
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'
|
|
5720
5680
|
},
|
|
5721
5681
|
toggle: {
|
|
5722
|
-
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',
|
|
5723
5683
|
checked: 'translate-x-5',
|
|
5724
5684
|
unchecked: 'translate-x-0'
|
|
5725
5685
|
},
|
|
@@ -5879,15 +5839,15 @@ var $43437b181b294db2$var$normal = {
|
|
|
5879
5839
|
label: 'leading-6 text-sm mb-2',
|
|
5880
5840
|
hint: 'leading-6',
|
|
5881
5841
|
leading: 'pl-3',
|
|
5882
|
-
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',
|
|
5883
5843
|
trailing: 'pr-3',
|
|
5884
5844
|
description: 'mt-2 text-sm'
|
|
5885
5845
|
};
|
|
5886
5846
|
var $43437b181b294db2$var$inset = {
|
|
5887
|
-
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',
|
|
5888
5848
|
label: 'text-xs',
|
|
5889
5849
|
hint: 'text-xs',
|
|
5890
|
-
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',
|
|
5891
5851
|
description: 'hidden'
|
|
5892
5852
|
};
|
|
5893
5853
|
var $43437b181b294db2$var$overlapping = {
|
|
@@ -5895,13 +5855,13 @@ var $43437b181b294db2$var$overlapping = {
|
|
|
5895
5855
|
head: ' absolute flex justify-between items-center left-0 -top-2 right-0 mx-2 z-10 w-full',
|
|
5896
5856
|
label: 'inline-block bg-white px-1 text-xs font-medium text-gray-900 ',
|
|
5897
5857
|
hint: 'text-xs mr-4 bg-white px-1',
|
|
5898
|
-
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',
|
|
5899
5859
|
description: 'hidden'
|
|
5900
5860
|
};
|
|
5901
5861
|
var $43437b181b294db2$var$pill = {
|
|
5902
5862
|
head: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mb-1 pr-6',
|
|
5903
5863
|
foot: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mt-1 pr-6',
|
|
5904
|
-
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',
|
|
5905
5865
|
trailing: 'pr-2',
|
|
5906
5866
|
description: 'text-xs'
|
|
5907
5867
|
};
|
|
@@ -5918,7 +5878,7 @@ var $43437b181b294db2$var$invalid = {
|
|
|
5918
5878
|
description: 'text-sm text-red-600'
|
|
5919
5879
|
};
|
|
5920
5880
|
var $43437b181b294db2$var$disabled = {
|
|
5921
|
-
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'
|
|
5922
5882
|
};
|
|
5923
5883
|
var $43437b181b294db2$var$styles = {
|
|
5924
5884
|
base: $43437b181b294db2$var$base,
|
|
@@ -6198,7 +6158,7 @@ var $2faf095044a1ccf8$var$OpeningHourItem = function(props) {
|
|
|
6198
6158
|
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)('-mt-2 flex gap-4 items-end', !isCreating && 'opacity-100'),
|
|
6199
6159
|
children: [
|
|
6200
6160
|
(0, $4MPRY$jsx)("div", {
|
|
6201
|
-
className:
|
|
6161
|
+
className: "flex-grow",
|
|
6202
6162
|
children: (0, $4MPRY$jsx)((0, $40038b27a5148d69$export$2e2bcd8739ae039), {
|
|
6203
6163
|
name: "day",
|
|
6204
6164
|
//
|
|
@@ -6365,14 +6325,11 @@ var $2faf095044a1ccf8$export$2e2bcd8739ae039 = $2faf095044a1ccf8$var$OpeningHour
|
|
|
6365
6325
|
|
|
6366
6326
|
var $99ef0e378c886c3a$var$styles = {
|
|
6367
6327
|
container: '',
|
|
6368
|
-
selectMenu: {
|
|
6369
|
-
container: "grow"
|
|
6370
|
-
},
|
|
6371
6328
|
control: {
|
|
6372
6329
|
container: 'flex items-center',
|
|
6373
6330
|
label: 'text-sm mr-2 font-medium w-36',
|
|
6374
|
-
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-
|
|
6375
|
-
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',
|
|
6376
6333
|
sr: 'sr-only'
|
|
6377
6334
|
}
|
|
6378
6335
|
};
|
|
@@ -6404,15 +6361,15 @@ var $2109d011c77499b4$var$normal = {
|
|
|
6404
6361
|
label: 'leading-6 text-sm mb-2',
|
|
6405
6362
|
hint: 'leading-6',
|
|
6406
6363
|
leading: 'pl-3',
|
|
6407
|
-
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',
|
|
6408
6365
|
trailing: 'pr-3',
|
|
6409
6366
|
description: 'mt-2 text-sm'
|
|
6410
6367
|
};
|
|
6411
6368
|
var $2109d011c77499b4$var$inset = {
|
|
6412
|
-
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',
|
|
6413
6370
|
label: 'text-xs',
|
|
6414
6371
|
hint: 'text-xs',
|
|
6415
|
-
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',
|
|
6416
6373
|
description: 'hidden'
|
|
6417
6374
|
};
|
|
6418
6375
|
var $2109d011c77499b4$var$overlapping = {
|
|
@@ -6420,13 +6377,13 @@ var $2109d011c77499b4$var$overlapping = {
|
|
|
6420
6377
|
head: ' absolute flex justify-between items-center left-0 -top-2 right-0 mx-2 z-10 w-full',
|
|
6421
6378
|
label: 'inline-block bg-white px-1 text-xs font-medium text-gray-900 ',
|
|
6422
6379
|
hint: 'text-xs mr-4 bg-white px-1',
|
|
6423
|
-
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',
|
|
6424
6381
|
description: 'hidden'
|
|
6425
6382
|
};
|
|
6426
6383
|
var $2109d011c77499b4$var$pill = {
|
|
6427
6384
|
head: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mb-1 pr-6',
|
|
6428
6385
|
foot: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mt-1 pr-6',
|
|
6429
|
-
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',
|
|
6430
6387
|
trailing: 'pr-2',
|
|
6431
6388
|
description: 'text-xs'
|
|
6432
6389
|
};
|
|
@@ -6443,7 +6400,7 @@ var $2109d011c77499b4$var$invalid = {
|
|
|
6443
6400
|
description: 'text-sm text-red-600'
|
|
6444
6401
|
};
|
|
6445
6402
|
var $2109d011c77499b4$var$disabled = {
|
|
6446
|
-
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'
|
|
6447
6404
|
};
|
|
6448
6405
|
var $2109d011c77499b4$var$styles = {
|
|
6449
6406
|
base: $2109d011c77499b4$var$base,
|
|
@@ -6586,7 +6543,7 @@ var $0ef1dab9988818f3$var$base = {
|
|
|
6586
6543
|
description: 'text-gray-400 text-xs mt-1',
|
|
6587
6544
|
error: 'text-red-500 text-xs mt-1',
|
|
6588
6545
|
geosuggest: {
|
|
6589
|
-
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',
|
|
6590
6547
|
suggestItemClassName: 'px-4 py-2 hover:bg-gray-50 cursor-pointer',
|
|
6591
6548
|
suggestsHiddenClassName: 'hidden'
|
|
6592
6549
|
}
|
|
@@ -6599,15 +6556,15 @@ var $0ef1dab9988818f3$var$normal = {
|
|
|
6599
6556
|
label: 'leading-6 text-sm mb-2',
|
|
6600
6557
|
hint: 'leading-6',
|
|
6601
6558
|
leading: 'pl-3',
|
|
6602
|
-
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',
|
|
6603
6560
|
trailing: 'pr-3',
|
|
6604
6561
|
description: 'mt-2 text-sm'
|
|
6605
6562
|
};
|
|
6606
6563
|
var $0ef1dab9988818f3$var$inset = {
|
|
6607
|
-
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',
|
|
6608
6565
|
label: 'text-xs',
|
|
6609
6566
|
hint: 'text-xs',
|
|
6610
|
-
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',
|
|
6611
6568
|
description: 'hidden'
|
|
6612
6569
|
};
|
|
6613
6570
|
var $0ef1dab9988818f3$var$overlapping = {
|
|
@@ -6615,13 +6572,13 @@ var $0ef1dab9988818f3$var$overlapping = {
|
|
|
6615
6572
|
head: ' absolute flex justify-between items-center left-0 -top-2 right-0 mx-2 z-10 w-full',
|
|
6616
6573
|
label: 'inline-block bg-white px-1 text-xs font-medium text-gray-900 ',
|
|
6617
6574
|
hint: 'text-xs mr-4 bg-white px-1',
|
|
6618
|
-
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',
|
|
6619
6576
|
description: 'hidden'
|
|
6620
6577
|
};
|
|
6621
6578
|
var $0ef1dab9988818f3$var$pill = {
|
|
6622
6579
|
head: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mb-1 pr-6',
|
|
6623
6580
|
foot: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mt-1 pr-6',
|
|
6624
|
-
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',
|
|
6625
6582
|
trailing: 'pr-2',
|
|
6626
6583
|
description: 'text-xs'
|
|
6627
6584
|
};
|
|
@@ -6638,7 +6595,7 @@ var $0ef1dab9988818f3$var$invalid = {
|
|
|
6638
6595
|
description: 'text-sm text-red-600'
|
|
6639
6596
|
};
|
|
6640
6597
|
var $0ef1dab9988818f3$var$disabled = {
|
|
6641
|
-
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'
|
|
6642
6599
|
};
|
|
6643
6600
|
var $0ef1dab9988818f3$var$styles = {
|
|
6644
6601
|
base: $0ef1dab9988818f3$var$base,
|
|
@@ -6850,9 +6807,8 @@ var $3f6ca002faff40a3$var$useColumnHelpers = function(t) {
|
|
|
6850
6807
|
return "overflow-hidden text-ellipsis ".concat((0, $4MPRY$get)(sizes, size, ''), " block");
|
|
6851
6808
|
}, []);
|
|
6852
6809
|
var createAccessor = (0, $4MPRY$useCallback)(function(key, getCellContent, excelMapper, options) {
|
|
6853
|
-
var _a;
|
|
6854
6810
|
return accessor(key, {
|
|
6855
|
-
header:
|
|
6811
|
+
header: t("component.form.label.".concat(key)),
|
|
6856
6812
|
enableSorting: (0, $4MPRY$get)(options, 'enableSorting', true),
|
|
6857
6813
|
cell: function(cell) {
|
|
6858
6814
|
return getCellContent(cell, options);
|