@quoreadmin/ui 1.10.33 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (365) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.js +29 -27
  3. package/dist/index10.js +2 -2
  4. package/dist/index101.js +20 -25
  5. package/dist/index102.js +34 -0
  6. package/dist/{index103.js → index104.js} +1 -1
  7. package/dist/index106.js +147 -2
  8. package/dist/index107.js +2 -37
  9. package/dist/index108.js +39 -0
  10. package/dist/index11.js +2 -2
  11. package/dist/{index109.js → index110.js} +2 -2
  12. package/dist/{index111.js → index112.js} +1 -1
  13. package/dist/{index113.js → index114.js} +3 -3
  14. package/dist/{index115.js → index116.js} +5 -5
  15. package/dist/{index117.js → index118.js} +1 -1
  16. package/dist/index12.js +2 -2
  17. package/dist/{index119.js → index120.js} +5 -5
  18. package/dist/index13.js +2 -2
  19. package/dist/{index131.js → index132.js} +2 -2
  20. package/dist/{index136.js → index137.js} +1 -1
  21. package/dist/{index138.js → index139.js} +2 -2
  22. package/dist/index14.js +2 -2
  23. package/dist/index142.js +167 -0
  24. package/dist/{index143.js → index146.js} +1 -1
  25. package/dist/index15.js +2 -2
  26. package/dist/{index147.js → index150.js} +379 -399
  27. package/dist/{index149.js → index152.js} +1 -1
  28. package/dist/{index151.js → index154.js} +10 -10
  29. package/dist/index16.js +2 -2
  30. package/dist/index160.js +581 -86
  31. package/dist/index163.js +93 -0
  32. package/dist/index165.js +87 -356
  33. package/dist/index168.js +389 -0
  34. package/dist/index17.js +2 -2
  35. package/dist/{index167.js → index170.js} +1 -1
  36. package/dist/index172.js +205 -111
  37. package/dist/index175.js +110 -87
  38. package/dist/index176.js +478 -844
  39. package/dist/index177.js +5520 -36
  40. package/dist/index178.js +90 -279
  41. package/dist/index179.js +833 -122
  42. package/dist/index18.js +2 -2
  43. package/dist/index180.js +36 -1197
  44. package/dist/index181.js +268 -760
  45. package/dist/index182.js +146 -1304
  46. package/dist/index183.js +1151 -228
  47. package/dist/index184.js +754 -88
  48. package/dist/index185.js +1308 -2
  49. package/dist/index186.js +259 -1359
  50. package/dist/index187.js +108 -0
  51. package/dist/index188.js +2 -18
  52. package/dist/index189.js +1372 -14
  53. package/dist/index19.js +2 -2
  54. package/dist/index191.js +8 -8
  55. package/dist/index192.js +10 -17
  56. package/dist/index193.js +18 -759
  57. package/dist/index194.js +18 -1177
  58. package/dist/index195.js +22 -1231
  59. package/dist/index196.js +740 -11258
  60. package/dist/index197.js +1177 -36
  61. package/dist/index198.js +1233 -43
  62. package/dist/index199.js +11258 -1209
  63. package/dist/index2.js +2 -2
  64. package/dist/index20.js +3 -3
  65. package/dist/index200.js +38 -0
  66. package/dist/index201.js +44 -5938
  67. package/dist/index202.js +1149 -128
  68. package/dist/index204.js +5933 -13
  69. package/dist/index205.js +205 -76
  70. package/dist/index206.js +28 -246
  71. package/dist/index207.js +14 -13680
  72. package/dist/index208.js +77 -26
  73. package/dist/index209.js +245 -55
  74. package/dist/index21.js +2 -2
  75. package/dist/index210.js +13655 -209
  76. package/dist/index211.js +26 -310
  77. package/dist/index212.js +43 -277
  78. package/dist/index213.js +231 -81
  79. package/dist/index214.js +291 -387
  80. package/dist/index215.js +296 -21
  81. package/dist/index219.js +2 -2
  82. package/dist/index22.js +2 -2
  83. package/dist/index220.js +1 -1
  84. package/dist/index222.js +4 -4
  85. package/dist/index224.js +1 -1
  86. package/dist/index225.js +1 -1
  87. package/dist/index226.js +1 -1
  88. package/dist/index227.js +4 -4
  89. package/dist/index229.js +1 -1
  90. package/dist/index23.js +2 -2
  91. package/dist/index230.js +84 -157
  92. package/dist/index231.js +384 -205
  93. package/dist/index232.js +22 -37
  94. package/dist/index233.js +127 -10
  95. package/dist/index234.js +25 -148
  96. package/dist/index235.js +80 -20
  97. package/dist/index236.js +1 -1
  98. package/dist/index237.js +13 -15
  99. package/dist/index238.js +19 -198
  100. package/dist/index239.js +18 -68
  101. package/dist/index24.js +2 -2
  102. package/dist/index240.js +20 -34
  103. package/dist/index241.js +143 -22
  104. package/dist/index242.js +11 -13
  105. package/dist/index243.js +12 -12
  106. package/dist/index244.js +198 -19
  107. package/dist/index245.js +48 -814
  108. package/dist/index246.js +34 -702
  109. package/dist/index247.js +39 -175
  110. package/dist/index248.js +253 -20
  111. package/dist/index249.js +8 -20
  112. package/dist/index250.js +138 -22
  113. package/dist/index251.js +83 -20
  114. package/dist/index252.js +160 -19
  115. package/dist/index253.js +228 -3
  116. package/dist/index254.js +31 -181
  117. package/dist/index255.js +10 -133
  118. package/dist/index256.js +22 -1223
  119. package/dist/index257.js +21 -126
  120. package/dist/index258.js +12 -12
  121. package/dist/index259.js +836 -22
  122. package/dist/index26.js +2 -2
  123. package/dist/index260.js +701 -21
  124. package/dist/index261.js +174 -36
  125. package/dist/index262.js +15 -22
  126. package/dist/index263.js +7 -7
  127. package/dist/index264.js +13 -13
  128. package/dist/index265.js +2 -1
  129. package/dist/index266.js +187 -2
  130. package/dist/index267.js +131 -78
  131. package/dist/index268.js +1223 -20
  132. package/dist/index269.js +11 -11
  133. package/dist/index27.js +2 -2
  134. package/dist/index270.js +22 -253
  135. package/dist/index271.js +21 -7
  136. package/dist/index272.js +29 -138
  137. package/dist/index273.js +20 -83
  138. package/dist/index274.js +20 -3709
  139. package/dist/index275.js +2 -60
  140. package/dist/index276.js +2 -83
  141. package/dist/index277.js +3690 -33
  142. package/dist/index278.js +34 -189
  143. package/dist/index279.js +82 -9
  144. package/dist/index28.js +2 -2
  145. package/dist/index280.js +34 -39
  146. package/dist/index281.js +186 -32
  147. package/dist/index282.js +9 -53
  148. package/dist/index283.js +39 -63
  149. package/dist/index284.js +35 -702
  150. package/dist/index285.js +40 -33
  151. package/dist/index286.js +40 -23
  152. package/dist/index287.js +727 -10
  153. package/dist/index288.js +38 -696
  154. package/dist/index289.js +62 -818
  155. package/dist/index29.js +2 -2
  156. package/dist/index290.js +10 -53
  157. package/dist/index291.js +694 -68
  158. package/dist/index292.js +820 -26
  159. package/dist/index293.js +2 -22
  160. package/dist/index294.js +78 -21
  161. package/dist/index295.js +52 -14
  162. package/dist/index296.js +26 -17
  163. package/dist/index297.js +22 -23
  164. package/dist/index298.js +22 -3
  165. package/dist/index299.js +16 -27
  166. package/dist/index3.js +2 -2
  167. package/dist/index30.js +2 -2
  168. package/dist/index300.js +17 -2
  169. package/dist/index301.js +21 -77
  170. package/dist/index302.js +78 -21
  171. package/dist/index303.js +22 -935
  172. package/dist/index304.js +935 -22
  173. package/dist/index305.js +15 -13
  174. package/dist/index306.js +5 -5
  175. package/dist/index307.js +19 -68
  176. package/dist/index308.js +68 -18
  177. package/dist/index309.js +14 -14
  178. package/dist/index31.js +3 -3
  179. package/dist/index310.js +19 -22
  180. package/dist/index311.js +14 -14
  181. package/dist/index312.js +21 -62
  182. package/dist/index313.js +63 -1534
  183. package/dist/index314.js +79 -381
  184. package/dist/index315.js +3 -2731
  185. package/dist/index316.js +24 -83
  186. package/dist/index317.js +1294 -3558
  187. package/dist/index318.js +379 -53
  188. package/dist/index319.js +2730 -14
  189. package/dist/index32.js +2 -2
  190. package/dist/index320.js +82 -80
  191. package/dist/index321.js +3749 -153
  192. package/dist/index322.js +54 -240
  193. package/dist/index323.js +15 -37
  194. package/dist/index324.js +75 -226
  195. package/dist/index325.js +200 -4
  196. package/dist/index326.js +236 -124
  197. package/dist/index327.js +36 -67
  198. package/dist/index328.js +124 -81
  199. package/dist/index329.js +397 -26
  200. package/dist/index33.js +2 -2
  201. package/dist/index330.js +235 -9
  202. package/dist/index331.js +5 -74
  203. package/dist/index332.js +133 -3
  204. package/dist/index333.js +68 -2
  205. package/dist/index334.js +83 -79
  206. package/dist/index335.js +27 -52
  207. package/dist/index336.js +8 -5
  208. package/dist/index337.js +74 -4
  209. package/dist/index338.js +3 -178
  210. package/dist/index339.js +2 -63
  211. package/dist/index34.js +2 -2
  212. package/dist/index340.js +82 -74
  213. package/dist/index341.js +53 -8
  214. package/dist/index342.js +5 -12
  215. package/dist/index343.js +4 -54
  216. package/dist/index344.js +176 -9
  217. package/dist/index345.js +61 -12
  218. package/dist/index346.js +75 -58
  219. package/dist/index347.js +19 -51
  220. package/dist/index348.js +19 -30
  221. package/dist/index349.js +64 -2
  222. package/dist/index35.js +2 -2
  223. package/dist/index350.js +37 -5
  224. package/dist/index351.js +9 -2
  225. package/dist/index352.js +13 -23
  226. package/dist/index353.js +52 -38
  227. package/dist/index354.js +12 -2
  228. package/dist/index355.js +14 -11
  229. package/dist/index356.js +54 -16
  230. package/dist/index357.js +52 -10
  231. package/dist/index358.js +31 -10
  232. package/dist/index359.js +2 -17
  233. package/dist/index36.js +2 -2
  234. package/dist/index360.js +5 -2
  235. package/dist/index361.js +2 -9
  236. package/dist/index362.js +23 -10
  237. package/dist/index363.js +39 -12
  238. package/dist/index364.js +2 -20
  239. package/dist/index365.js +11 -20
  240. package/dist/index366.js +18 -62
  241. package/dist/index367.js +10 -37
  242. package/dist/index368.js +10 -21
  243. package/dist/index369.js +16 -55
  244. package/dist/index37.js +2 -2
  245. package/dist/index370.js +2 -29
  246. package/dist/index371.js +9 -7
  247. package/dist/index372.js +9 -51
  248. package/dist/index373.js +13 -5
  249. package/dist/index374.js +19 -10
  250. package/dist/index375.js +56 -7
  251. package/dist/index376.js +29 -28
  252. package/dist/index377.js +7 -2
  253. package/dist/index378.js +50 -68
  254. package/dist/index379.js +5 -166
  255. package/dist/index38.js +2 -2
  256. package/dist/index380.js +12 -17
  257. package/dist/index381.js +6 -100
  258. package/dist/index382.js +28 -91
  259. package/dist/index383.js +2 -98
  260. package/dist/index384.js +69 -12
  261. package/dist/index385.js +167 -7
  262. package/dist/index386.js +131 -28
  263. package/dist/index387.js +17 -11
  264. package/dist/index388.js +98 -1
  265. package/dist/index389.js +90 -3
  266. package/dist/index39.js +2 -2
  267. package/dist/index390.js +98 -12
  268. package/dist/index391.js +30 -4
  269. package/dist/index392.js +11 -33
  270. package/dist/index393.js +4 -31
  271. package/dist/index394.js +4 -28
  272. package/dist/index395.js +12 -60
  273. package/dist/index396.js +7 -3
  274. package/dist/index397.js +12 -2
  275. package/dist/index398.js +5 -2
  276. package/dist/index399.js +33 -17
  277. package/dist/index4.js +2 -2
  278. package/dist/index40.js +2 -2
  279. package/dist/index400.js +31 -13
  280. package/dist/index401.js +28 -6
  281. package/dist/index402.js +57 -28
  282. package/dist/index403.js +489 -0
  283. package/dist/index404.js +128 -0
  284. package/dist/index405.js +5 -0
  285. package/dist/index406.js +4 -0
  286. package/dist/index407.js +4 -0
  287. package/dist/index408.js +19 -0
  288. package/dist/index409.js +15 -0
  289. package/dist/index41.js +2 -2
  290. package/dist/index410.js +8 -0
  291. package/dist/index411.js +34 -0
  292. package/dist/index42.js +4 -29
  293. package/dist/index43.js +25 -32
  294. package/dist/index44.js +32 -37
  295. package/dist/index45.js +37 -1391
  296. package/dist/index46.js +1350 -348
  297. package/dist/index47.js +367 -145
  298. package/dist/index48.js +155 -18
  299. package/dist/index49.js +16 -42
  300. package/dist/index5.js +2 -2
  301. package/dist/index50.js +45 -5
  302. package/dist/index51.js +5 -69
  303. package/dist/index52.js +67 -61
  304. package/dist/index53.js +57 -175
  305. package/dist/index54.js +173 -77
  306. package/dist/index55.js +79 -200
  307. package/dist/index56.js +206 -68
  308. package/dist/index57.js +69 -20
  309. package/dist/index58.js +20 -11
  310. package/dist/index59.js +10 -6
  311. package/dist/index6.js +2 -2
  312. package/dist/index60.js +5 -209
  313. package/dist/index61.js +210 -12
  314. package/dist/index62.js +12 -184
  315. package/dist/index63.js +176 -68
  316. package/dist/index64.js +79 -0
  317. package/dist/index66.js +7 -91
  318. package/dist/index67.js +93 -0
  319. package/dist/index7.js +2 -2
  320. package/dist/{index74.js → index75.js} +2 -2
  321. package/dist/index79.js +38 -395
  322. package/dist/index8.js +3 -3
  323. package/dist/index80.js +419 -0
  324. package/dist/{index83.js → index84.js} +4 -4
  325. package/dist/{index85.js → index86.js} +1 -1
  326. package/dist/index88.js +23 -143
  327. package/dist/index89.js +156 -0
  328. package/dist/index9.js +2 -2
  329. package/dist/{index90.js → index91.js} +5 -5
  330. package/dist/{index92.js → index93.js} +5 -5
  331. package/dist/{index98.js → index99.js} +4 -4
  332. package/dist/src/components/popper/popper.vue.d.ts +90 -0
  333. package/dist/src/components/popper/use-popper.d.ts +37 -0
  334. package/dist/src/index.d.ts +1 -0
  335. package/package.json +2 -1
  336. package/dist/index100.js +0 -29
  337. package/dist/index105.js +0 -149
  338. package/dist/index157.js +0 -588
  339. package/dist/index162.js +0 -120
  340. package/dist/index169.js +0 -210
  341. package/dist/index173.js +0 -497
  342. package/dist/index174.js +0 -5524
  343. package/dist/index190.js +0 -20
  344. package/dist/index203.js +0 -37
  345. package/dist/index65.js +0 -9
  346. package/dist/index78.js +0 -62
  347. package/dist/index87.js +0 -36
  348. package/dist/src/components/room-details-popover/room-details-popover.d.ts +0 -2167
  349. /package/dist/{index121.js → index122.js} +0 -0
  350. /package/dist/{index123.js → index124.js} +0 -0
  351. /package/dist/{index125.js → index126.js} +0 -0
  352. /package/dist/{index127.js → index128.js} +0 -0
  353. /package/dist/{index129.js → index130.js} +0 -0
  354. /package/dist/{index134.js → index135.js} +0 -0
  355. /package/dist/{index141.js → index144.js} +0 -0
  356. /package/dist/{index145.js → index148.js} +0 -0
  357. /package/dist/{index153.js → index156.js} +0 -0
  358. /package/dist/{index155.js → index158.js} +0 -0
  359. /package/dist/{index68.js → index69.js} +0 -0
  360. /package/dist/{index70.js → index71.js} +0 -0
  361. /package/dist/{index72.js → index73.js} +0 -0
  362. /package/dist/{index76.js → index77.js} +0 -0
  363. /package/dist/{index81.js → index82.js} +0 -0
  364. /package/dist/{index94.js → index95.js} +0 -0
  365. /package/dist/{index96.js → index97.js} +0 -0
package/dist/index179.js CHANGED
@@ -1,152 +1,863 @@
1
- const r = {
2
- input: {
3
- class: "hidden"
4
- },
5
- buttonbar: {
1
+ const o = {
2
+ root: ({ props: e }) => ({
6
3
  class: [
7
- // Flexbox
8
- "flex",
9
- "flex-wrap",
10
- // Colors
11
- "bg-surface-50",
12
- "dark:bg-surface-800",
13
- "text-surface-700",
14
- "dark:text-white/80",
15
- // Spacing
16
- "p-5",
17
- "gap-2",
18
- // Borders
19
- "border",
20
- "border-solid",
21
- "border-surface-200",
22
- "dark:border-surface-700",
23
- "border-b-0",
24
- // Shape
25
- "rounded-tr-lg",
26
- "rounded-tl-lg"
4
+ "relative",
5
+ // Flex & Alignment
6
+ { "flex flex-col": e.scrollable && e.scrollHeight === "flex" },
7
+ // Size
8
+ { "h-full": e.scrollable && e.scrollHeight === "flex" }
27
9
  ]
28
- },
29
- chooseButton: {
10
+ }),
11
+ loadingoverlay: {
30
12
  class: [
31
- "relative",
32
- // Alignments
33
- "items-center inline-flex text-center align-bottom justify-center",
34
- // Spacing
35
- "px-4 py-3",
36
- // Shape
37
- "rounded-md",
38
- // Font
39
- "leading-[normal]",
40
- "font-bold",
41
- // Colors
42
- "text-white dark:text-surface-900",
43
- "bg-primary-500 dark:bg-primary-400",
44
- "border-primary-500 dark:border-primary-400",
45
- // States
46
- "hover:bg-primary-600 dark:hover:bg-primary-300",
47
- // Misc
48
- "overflow-hidden",
49
- "cursor-pointer"
13
+ // Position
14
+ "absolute",
15
+ "top-0 left-0",
16
+ "z-20",
17
+ // Flex & Alignment
18
+ "flex items-center justify-center",
19
+ // Size
20
+ "w-full h-full",
21
+ // Color
22
+ "bg-surface-100/0 dark:bg-surface-800/0",
23
+ // Transition
24
+ "transition duration-200"
50
25
  ]
51
26
  },
52
- chooseIcon: {
53
- class: ["mr-2", "inline-block"]
54
- },
55
- chooseButtonLabel: {
56
- class: ["flex-1", "font-bold"]
57
- },
58
- uploadbutton: {
59
- icon: {
60
- class: "mr-2"
61
- }
62
- },
63
- cancelbutton: {
64
- icon: {
65
- class: "mr-2"
66
- }
27
+ loadingicon: {
28
+ class: "w-8 h-8 animate-spin hidden"
67
29
  },
68
- content: {
30
+ wrapper: ({ props: e }) => ({
69
31
  class: [
70
- // Position
71
- "relative",
72
- // Colors
73
- "bg-surface-0",
74
- "dark:bg-surface-900",
75
- "text-surface-700",
76
- "dark:text-white/80",
77
- // Spacing
78
- "p-8",
79
- // Borders
80
- "border",
81
- "border-surface-200",
82
- "dark:border-surface-700",
32
+ { relative: e.scrollable, "flex flex-col grow": e.scrollable && e.scrollHeight === "flex" },
33
+ // Size
34
+ { "h-full": e.scrollable && e.scrollHeight === "flex" }
35
+ ]
36
+ }),
37
+ header: ({ props: e }) => ({
38
+ class: [
39
+ "font-bold",
83
40
  // Shape
84
- "rounded-b-lg"
41
+ e.showGridlines ? "border-x border-t border-b-0" : "border-y-0 border-x-0",
42
+ // Spacing
43
+ "p-4",
44
+ // Color
45
+ "bg-surface-50 dark:bg-surface-800",
46
+ "border-surface-200 dark:border-surface-700",
47
+ "text-surface-700 dark:text-white/80"
85
48
  ]
49
+ }),
50
+ table: {
51
+ class: "w-full border-spacing-0 border-separate"
86
52
  },
87
- file: {
53
+ thead: ({ context: e }) => ({
88
54
  class: [
89
- // Flexbox
90
- "flex",
91
- "items-center",
92
- "flex-wrap",
55
+ {
56
+ "bg-surface-50 z-40 sticky": e.scrollable
57
+ }
58
+ ]
59
+ }),
60
+ tbody: ({ instance: e, context: r }) => ({
61
+ class: [
62
+ {
63
+ "sticky z-20": e.frozenRow && r.scrollable
64
+ }
65
+ ]
66
+ }),
67
+ tfoot: ({ context: e }) => ({
68
+ class: [
69
+ {
70
+ "bg-surface-50 bottom-0 z-0": e.scrollable
71
+ }
72
+ ]
73
+ }),
74
+ footer: {
75
+ class: [
76
+ "font-bold",
77
+ // Shape
78
+ "border-t-0 border-b border-x-0",
93
79
  // Spacing
94
80
  "p-4",
95
- "mb-2",
96
- "last:mb-0",
97
- // Borders
98
- "border",
99
- "border-surface-200",
100
- "dark:border-surface-700",
101
- "gap-2",
102
- // Shape
103
- "rounded"
81
+ // Color
82
+ "bg-surface-50 dark:bg-surface-800",
83
+ "border-surface-200 dark:border-surface-700",
84
+ "text-surface-700 dark:text-white/80"
104
85
  ]
105
86
  },
106
- thumbnail: {
107
- class: "shrink-0"
108
- },
109
- fileName: {
110
- class: "mb-2"
111
- },
112
- fileSize: {
113
- class: "mr-2"
114
- },
115
- uploadicon: {
116
- class: "mr-2"
117
- },
118
- progressbar: {
119
- root: {
87
+ column: {
88
+ headercell: ({ context: e, props: r }) => ({
120
89
  class: [
121
- // Position and Overflow
122
- "overflow-hidden",
90
+ "font-bold",
91
+ // Position
92
+ { "sticky z-20 border-b": r.frozen || r.frozen === "" },
93
+ { relative: e.resizable },
94
+ // Alignment
95
+ "text-left",
96
+ // Shape
97
+ { "first:border-l border-y border-r": e?.showGridlines },
98
+ "border-0 border-b border-solid",
99
+ // Spacing
100
+ e?.size === "small" ? "p-2" : e?.size === "large" ? "p-5" : "p-4",
101
+ // Color
102
+ (r.sortable === "" || r.sortable) && e.sorted ? "bg-primary-50 text-primary-700" : "bg-surface-50 text-surface-700",
103
+ (r.sortable === "" || r.sortable) && e.sorted ? "dark:text-white dark:bg-primary-400/30" : "dark:text-white/80 dark:bg-surface-800",
104
+ "border-surface-200 dark:border-surface-700 ",
105
+ // States
106
+ { "hover:bg-surface-100 dark:hover:bg-surface-400/30": (r.sortable === "" || r.sortable) && !e?.sorted },
107
+ "focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring focus-visible:ring-inset focus-visible:ring-primary-400/50 dark:focus-visible:ring-primary-300/50",
108
+ // Transition
109
+ { "transition duration-200": r.sortable === "" || r.sortable },
110
+ // Misc
111
+ { "cursor-pointer": r.sortable === "" || r.sortable },
112
+ {
113
+ "overflow-hidden space-nowrap border-y bg-clip-padding": e.resizable
114
+ // Resizable
115
+ }
116
+ ]
117
+ }),
118
+ headercontent: {
119
+ class: "flex items-center"
120
+ },
121
+ sort: ({ context: e }) => ({
122
+ class: [e.sorted ? "text-primary-500" : "text-surface-700", e.sorted ? "dark:text-primary-400" : "dark:text-white/80"]
123
+ }),
124
+ bodycell: ({ props: e, context: r, state: t, parent: a }) => ({
125
+ class: [
126
+ //Position
127
+ { "sticky box-border border-b": a.instance.frozenRow },
128
+ { "sticky box-border border-b": e.frozen || e.frozen === "" },
129
+ // Alignment
130
+ "text-left",
131
+ // Shape
132
+ "border-0 border-b border-solid",
133
+ { "first:border-l border-r border-b": r?.showGridlines },
134
+ { "bg-surface-0 dark:bg-surface-800": a.instance.frozenRow || e.frozen || e.frozen === "" },
135
+ // Spacing
136
+ { "p-2": r?.size === "small" && !t.d_editing },
137
+ { "p-5": r?.size === "large" && !t.d_editing },
138
+ { "p-4": r?.size !== "large" && r?.size !== "small" && !t.d_editing },
139
+ { "py-[0.6rem] px-2": t.d_editing },
140
+ // Color
141
+ "border-surface-200 dark:border-surface-700"
142
+ ]
143
+ }),
144
+ footercell: ({ context: e }) => ({
145
+ class: [
146
+ // Font
147
+ "font-bold",
148
+ // Alignment
149
+ "text-left",
150
+ // Shape
151
+ "border-0 border-b border-solid",
152
+ { "border-x border-y": e?.showGridlines },
153
+ // Spacing
154
+ e?.size === "small" ? "p-2" : e?.size === "large" ? "p-5" : "p-4",
155
+ // Color
156
+ "border-surface-200 dark:border-surface-700",
157
+ "text-surface-700 dark:text-white/80",
158
+ "bg-surface-50 dark:bg-surface-800"
159
+ ]
160
+ }),
161
+ sorticon: ({ context: e }) => ({
162
+ class: ["ml-2", e.sorted ? "text-primary-700 dark:text-white/80" : "text-surface-700 dark:text-white/70"]
163
+ }),
164
+ sortbadge: {
165
+ class: [
166
+ // Flex & Alignment
167
+ "flex items-center justify-center align-middle",
168
+ // Shape
169
+ "rounded-full",
170
+ // Size
171
+ "w-[1.143rem] leading-[1.143rem]",
172
+ // Spacing
173
+ "ml-2",
174
+ // Color
175
+ "text-primary-700 dark:text-white",
176
+ "bg-primary-50 dark:bg-primary-400/30"
177
+ ]
178
+ },
179
+ columnfilter: {
180
+ class: "inline-flex items-center ml-auto"
181
+ },
182
+ filteroverlay: {
183
+ class: [
184
+ // Position
123
185
  "absolute top-0 left-0",
124
- // Shape and Size
125
- "border-0",
126
- "h-2",
186
+ // Shape
187
+ "border-0 dark:border",
127
188
  "rounded-md",
128
- "w-full",
129
- // Colors
130
- "bg-surface-100 dark:bg-surface-700"
189
+ "shadow-md",
190
+ // Size
191
+ "min-w-[12.5rem]",
192
+ // Color
193
+ "bg-surface-0 dark:bg-surface-800",
194
+ "text-surface-800 dark:text-white/80",
195
+ "dark:border-surface-700"
131
196
  ]
132
197
  },
133
- value: {
198
+ filtermatchmodedropdown: {
199
+ root: ({ state: e }) => ({
200
+ class: [
201
+ // Display and Position
202
+ "flex",
203
+ "relative",
204
+ // Spacing
205
+ "my-2",
206
+ // Shape
207
+ "w-full",
208
+ "rounded-md",
209
+ // Color and Background
210
+ "bg-surface-0 dark:bg-surface-900",
211
+ "border border-surface-300 dark:border-surface-700",
212
+ "text-surface-800 dark:text-white/80",
213
+ "placeholder:text-surface-400 dark:placeholder:text-surface-500",
214
+ // Transitions
215
+ "transition-all",
216
+ "duration-200",
217
+ // States
218
+ "hover:border-primary-500 dark:hover:border-primary-300",
219
+ { "outline-none outline-offset-0 ring ring-primary-400/50 dark:ring-primary-300/50": e.focused },
220
+ // Misc
221
+ "cursor-pointer",
222
+ "select-none"
223
+ ]
224
+ })
225
+ },
226
+ filterrowitems: {
227
+ class: "m-0 p-0 py-3 list-none"
228
+ },
229
+ filterrowitem: ({ context: e }) => ({
134
230
  class: [
135
- // Flexbox & Overflow & Position
136
- "absolute flex items-center justify-center overflow-hidden",
137
- // Colors
138
- "bg-primary-500 dark:bg-primary-400",
139
- // Spacing & Sizing
140
- "m-0",
141
- "h-full w-0",
231
+ // Font
232
+ "font-normal",
233
+ "leading-none",
234
+ // Position
235
+ "relative",
142
236
  // Shape
143
237
  "border-0",
238
+ "rounded-none",
239
+ // Spacing
240
+ "m-0",
241
+ "py-3 px-5",
242
+ // Color
243
+ { "text-surface-700 dark:text-white/80": !e?.highlighted },
244
+ { "bg-surface-0 dark:bg-surface-800 text-surface-700 dark:text-white/80": !e?.highlighted },
245
+ { "bg-primary-100 dark:bg-primary-400/40 text-primary-700 dark:text-white/80": e?.highlighted },
246
+ { "bg-primary-50 dark:bg-primary-400/40 text-primary-700 dark:text-white/80": e?.highlighted },
247
+ //States
248
+ { "hover:bg-surface-100 dark:hover:bg-surface-600/80": !e?.highlighted },
249
+ { "hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80": !e?.highlighted },
250
+ "focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring focus-visible:ring-inset focus-visible:ring-primary-400/50 dark:focus-visible:ring-primary-300/50",
144
251
  // Transitions
145
- "transition-width duration-1000 ease-in-out"
252
+ "transition-shadow",
253
+ "duration-200",
254
+ // Misc
255
+ "cursor-pointer",
256
+ "overflow-hidden",
257
+ "whitespace-nowrap"
258
+ ]
259
+ }),
260
+ filteroperator: {
261
+ class: [
262
+ // Spacing
263
+ "px-5 py-3",
264
+ // Shape
265
+ "border-b border-solid",
266
+ "rounded-t-md",
267
+ // Color
268
+ "text-surface-700 dark:text-white/80",
269
+ "border-surface-200 dark:border-surface-800",
270
+ "bg-surface-0 dark:bg-surface-700"
271
+ ]
272
+ },
273
+ filteroperatordropdown: {
274
+ root: ({ state: e }) => ({
275
+ class: [
276
+ // Display and Position
277
+ "inline-flex",
278
+ "relative",
279
+ // Shape
280
+ "w-full",
281
+ "rounded-md",
282
+ // Color and Background
283
+ "bg-surface-0 dark:bg-surface-900",
284
+ "border border-surface-300 dark:border-surface-700",
285
+ // Transitions
286
+ "transition-all",
287
+ "duration-200",
288
+ // States
289
+ "hover:border-primary-500 dark:hover:border-primary-300",
290
+ { "outline-none outline-offset-0 ring ring-primary-400/50 dark:ring-primary-300/50": e.focused },
291
+ // Misc
292
+ "cursor-pointer",
293
+ "select-none"
294
+ ]
295
+ }),
296
+ input: ({ props: e }) => ({
297
+ class: [
298
+ //Font
299
+ "font-sans",
300
+ "leading-none",
301
+ // Display
302
+ "block",
303
+ "flex-auto",
304
+ // Color and Background
305
+ "bg-transparent",
306
+ "border-0",
307
+ { "text-surface-800 dark:text-white/80": e.modelValue, "text-surface-400 dark:text-surface-500": !e.modelValue },
308
+ "placeholder:text-surface-400 dark:placeholder:text-surface-500",
309
+ // Sizing and Spacing
310
+ "w-[1%]",
311
+ "p-3",
312
+ //Shape
313
+ "rounded-none",
314
+ // Transitions
315
+ "transition",
316
+ "duration-200",
317
+ // States
318
+ "focus:outline-none focus:shadow-none",
319
+ // Misc
320
+ "relative",
321
+ "cursor-pointer",
322
+ "overflow-hidden overflow-ellipsis",
323
+ "whitespace-nowrap",
324
+ "appearance-none"
325
+ ]
326
+ }),
327
+ trigger: {
328
+ class: [
329
+ // Flexbox
330
+ "flex items-center justify-center",
331
+ "shrink-0",
332
+ // Color and Background
333
+ "bg-transparent",
334
+ "text-surface-500",
335
+ // Size
336
+ "w-12",
337
+ // Shape
338
+ "rounded-tr-md",
339
+ "rounded-br-md"
340
+ ]
341
+ },
342
+ panel: {
343
+ class: [
344
+ // Position
345
+ "absolute top-0 left-0",
346
+ // Shape
347
+ "border-0 dark:border",
348
+ "rounded-md",
349
+ "shadow-md",
350
+ // Color
351
+ "bg-surface-0 dark:bg-surface-800",
352
+ "text-surface-800 dark:text-white/80",
353
+ "dark:border-surface-700"
354
+ ]
355
+ },
356
+ item: ({ context: e }) => ({
357
+ class: [
358
+ // Font
359
+ "font-normal",
360
+ "leading-none",
361
+ // Position
362
+ "relative",
363
+ // Shape
364
+ "border-0",
365
+ "rounded-none",
366
+ // Spacing
367
+ "m-0",
368
+ "py-3 px-5",
369
+ // Color
370
+ { "text-surface-700 dark:text-white/80": !e.focused && !e.selected },
371
+ { "bg-surface-50 dark:bg-surface-600/60 text-surface-700 dark:text-white/80": e.focused && !e.selected },
372
+ { "bg-primary-100 dark:bg-primary-400/40 text-primary-700 dark:text-white/80": e.focused && e.selected },
373
+ { "bg-primary-50 dark:bg-primary-400/40 text-primary-700 dark:text-white/80": !e.focused && e.selected },
374
+ //States
375
+ { "hover:bg-surface-100 dark:hover:bg-surface-600/80": !e.focused && !e.selected },
376
+ { "hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80": e.focused && !e.selected },
377
+ // Transitions
378
+ "transition-shadow",
379
+ "duration-200",
380
+ // Misc
381
+ "cursor-pointer",
382
+ "overflow-hidden",
383
+ "whitespace-nowrap"
384
+ ]
385
+ })
386
+ },
387
+ filterconstraint: {
388
+ class: [
389
+ // Spacing
390
+ "py-3 px-5",
391
+ // Shape
392
+ "border-b border-solid",
393
+ // Color
394
+ "border-surface-200 dark:border-surface-700"
395
+ ]
396
+ },
397
+ filteraddrule: {
398
+ class: "py-3 px-5"
399
+ },
400
+ filteraddrulebutton: {
401
+ root: {
402
+ class: [
403
+ "relative",
404
+ // Alignments
405
+ "items-center inline-flex text-center align-bottom justify-center",
406
+ // Sizes & Spacing
407
+ "text-sm py-2 px-3 w-full",
408
+ // Shape
409
+ "rounded-md",
410
+ "bg-transparent border-transparent",
411
+ "text-primary-500 dark:text-primary-400",
412
+ "hover:bg-primary-300/20",
413
+ // Transitions
414
+ "transition duration-200 ease-in-out",
415
+ // Misc
416
+ "cursor-pointer overflow-hidden select-none"
417
+ ]
418
+ },
419
+ label: {
420
+ class: "flex-auto grow-0"
421
+ },
422
+ icon: {
423
+ class: "mr-2"
424
+ }
425
+ },
426
+ filterremovebutton: {
427
+ root: {
428
+ class: [
429
+ "relative",
430
+ // Alignments
431
+ "items-center inline-flex text-center align-bottom justify-center",
432
+ // Sizes & Spacing
433
+ "text-sm py-2 px-3 w-full mt-2",
434
+ // Shape
435
+ "rounded-md",
436
+ "bg-transparent border-transparent",
437
+ "text-red-500 dark:text-red-400",
438
+ "hover:bg-red-300/20",
439
+ // Transitions
440
+ "transition duration-200 ease-in-out",
441
+ // Misc
442
+ "cursor-pointer overflow-hidden select-none"
443
+ ]
444
+ },
445
+ label: {
446
+ class: "flex-auto grow-0"
447
+ },
448
+ icon: {
449
+ class: "mr-2"
450
+ }
451
+ },
452
+ filterbuttonbar: {
453
+ class: [
454
+ // Flex & Alignment
455
+ "flex items-center justify-between",
456
+ // Space
457
+ "py-3 px-5"
146
458
  ]
459
+ },
460
+ filterclearbutton: {
461
+ root: {
462
+ class: [
463
+ "relative",
464
+ // Alignments
465
+ "items-center inline-flex text-center align-bottom justify-center",
466
+ // Sizes & Spacing
467
+ "text-sm py-2 px-3",
468
+ // Shape
469
+ "rounded-md",
470
+ "text-primary-500 border border-primary-500",
471
+ "hover:bg-primary-300/20",
472
+ // Transitions
473
+ "transition duration-200 ease-in-out",
474
+ // Misc
475
+ "cursor-pointer overflow-hidden select-none"
476
+ ]
477
+ }
478
+ },
479
+ filterapplybutton: {
480
+ root: {
481
+ class: [
482
+ "relative",
483
+ // Alignments
484
+ "items-center inline-flex text-center align-bottom justify-center",
485
+ // Sizes & Spacing
486
+ "text-sm py-2 px-3",
487
+ // Shape
488
+ "rounded-md",
489
+ "text-white dark:text-surface-900",
490
+ "bg-primary-500 dark:bg-primary-400",
491
+ "hover:bg-primary-600 dark:hover:bg-primary-300 hover:border-primary-600 dark:hover:border-primary-300",
492
+ // Transitions
493
+ "transition duration-200 ease-in-out",
494
+ // Misc
495
+ "cursor-pointer overflow-hidden select-none"
496
+ ]
497
+ }
498
+ },
499
+ filtermenubutton: ({ context: e }) => ({
500
+ class: [
501
+ "relative",
502
+ // Flex & Alignment
503
+ "inline-flex items-center justify-center",
504
+ // Size
505
+ "w-8 h-8",
506
+ // Spacing
507
+ "ml-2",
508
+ // Shape
509
+ "rounded-full",
510
+ // Color
511
+ { "bg-primary-50 text-primary-700": e.active },
512
+ "dark:text-white/70 dark:hover:text-white/80 dark:bg-surface-800",
513
+ // States
514
+ "hover:text-surface-700 hover:bg-surface-300/20",
515
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
516
+ // Transition
517
+ "transition duration-200",
518
+ // Misc
519
+ "cursor-pointer no-underline overflow-hidden"
520
+ ]
521
+ }),
522
+ headerfilterclearbutton: ({ context: e }) => ({
523
+ class: [
524
+ "relative",
525
+ // Flex & Alignment
526
+ "inline-flex items-center justify-center",
527
+ "text-left",
528
+ // Shape
529
+ "border-none",
530
+ // Spacing
531
+ "m-0 p-0 ml-2",
532
+ // Color
533
+ "bg-transparent",
534
+ // Misc
535
+ "cursor-pointer no-underline overflow-hidden select-none",
536
+ {
537
+ invisible: !e.hidden
538
+ }
539
+ ]
540
+ }),
541
+ rowtoggler: {
542
+ class: [
543
+ "relative",
544
+ // Flex & Alignment
545
+ "inline-flex items-center justify-center",
546
+ "text-left",
547
+ // Spacing
548
+ "m-0 p-0",
549
+ // Size
550
+ "w-8 h-8",
551
+ // Shape
552
+ "border-0 rounded-full",
553
+ // Color
554
+ "text-surface-500 dark:text-white/70",
555
+ "bg-transparent",
556
+ "focus-visible:outline-none focus-visible:outline-offset-0",
557
+ "focus-visible:ring focus-visible:ring-primary-400/50 dark:focus-visible:ring-primary-300/50",
558
+ // Transition
559
+ "transition duration-200",
560
+ // Misc
561
+ "overflow-hidden",
562
+ "cursor-pointer select-none"
563
+ ]
564
+ },
565
+ columnresizer: {
566
+ class: [
567
+ "block",
568
+ // Position
569
+ "absolute top-0 right-0",
570
+ // Sizing
571
+ "w-2 h-full",
572
+ // Spacing
573
+ "m-0 p-0",
574
+ // Color
575
+ "border border-transparent",
576
+ // Misc
577
+ "cursor-col-resize"
578
+ ]
579
+ },
580
+ rowreordericon: {
581
+ class: "cursor-move"
582
+ },
583
+ roweditorinitbutton: {
584
+ class: [
585
+ "relative",
586
+ // Flex & Alignment
587
+ "inline-flex items-center justify-center",
588
+ "text-left",
589
+ // Size
590
+ "w-8 h-8",
591
+ // Shape
592
+ "border-0 rounded-full",
593
+ // Color
594
+ "text-surface-700 dark:text-white/70",
595
+ "border-transparent",
596
+ // States
597
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
598
+ "hover:text-surface-700 hover:bg-surface-300/20",
599
+ // Transition
600
+ "transition duration-200",
601
+ // Misc
602
+ "overflow-hidden",
603
+ "cursor-pointer select-none"
604
+ ]
605
+ },
606
+ roweditorsavebutton: {
607
+ class: [
608
+ "relative",
609
+ // Flex & Alignment
610
+ "inline-flex items-center justify-center",
611
+ "text-left",
612
+ // Size
613
+ "w-8 h-8",
614
+ // Shape
615
+ "border-0 rounded-full",
616
+ // Color
617
+ "text-surface-700 dark:text-white/70",
618
+ "border-transparent",
619
+ // States
620
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
621
+ "hover:text-surface-700 hover:bg-surface-300/20",
622
+ // Transition
623
+ "transition duration-200",
624
+ // Misc
625
+ "overflow-hidden",
626
+ "cursor-pointer select-none"
627
+ ]
628
+ },
629
+ roweditorcancelbutton: {
630
+ class: [
631
+ "relative",
632
+ // Flex & Alignment
633
+ "inline-flex items-center justify-center",
634
+ "text-left",
635
+ // Size
636
+ "w-8 h-8",
637
+ // Shape
638
+ "border-0 rounded-full",
639
+ // Color
640
+ "text-surface-700 dark:text-white/70",
641
+ "border-transparent",
642
+ // States
643
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
644
+ "hover:text-surface-700 hover:bg-surface-300/20",
645
+ // Transition
646
+ "transition duration-200",
647
+ // Misc
648
+ "overflow-hidden",
649
+ "cursor-pointer select-none"
650
+ ]
651
+ },
652
+ radiobuttonwrapper: {
653
+ class: [
654
+ "relative",
655
+ // Flex & Alignment
656
+ "inline-flex align-bottom",
657
+ // Size
658
+ "w-6 h-6",
659
+ // Misc
660
+ "cursor-pointer select-none"
661
+ ]
662
+ },
663
+ radiobutton: ({ context: e }) => ({
664
+ class: [
665
+ // Flexbox
666
+ "flex justify-center items-center",
667
+ // Size
668
+ "w-[1.571rem] h-[1.571rem]",
669
+ // Shape
670
+ "border-2 rounded-full",
671
+ // Color
672
+ { "text-surface-700 dark:text-white/80": !e.checked },
673
+ { "bg-surface-0 dark:bg-surface-900": !e.checked },
674
+ { "border-surface-300 dark:border-surface-700": !e.checked },
675
+ { "border-primary-500 dark:border-primary-400": e.checked },
676
+ { "bg-primary-500 dark:bg-primary-400": e.checked },
677
+ // States
678
+ { "hover:border-primary-500 dark:hover:border-primary-400": !e.disabled },
679
+ { "outline-none outline-offset-0 ring ring-primary-400/50 ring-inset dark:ring-primary-300/50": e.focused },
680
+ // Transition
681
+ "transition duration-200 ease-in-out",
682
+ // Misc
683
+ { "cursor-default opacity-60": e.disabled }
684
+ ]
685
+ }),
686
+ radiobuttonicon: ({ context: e }) => ({
687
+ class: [
688
+ "block",
689
+ // Shape
690
+ "rounded-full",
691
+ // Size
692
+ "w-3 h-3",
693
+ // Color
694
+ "bg-surface-0 dark:bg-surface-900",
695
+ // Transition
696
+ "transition duration-200 transform",
697
+ {
698
+ "backface-hidden scale-10 invisible": e.checked === !1,
699
+ "transform scale-100 visible": e.checked === !0
700
+ }
701
+ ]
702
+ }),
703
+ headercheckboxwrapper: {
704
+ class: [
705
+ "relative",
706
+ // Flex & Alignment
707
+ "inline-flex align-bottom",
708
+ // Size
709
+ "w-6 h-6",
710
+ // Misc
711
+ "cursor-pointer select-none"
712
+ ]
713
+ },
714
+ headercheckbox: ({ context: e }) => ({
715
+ class: [
716
+ // Flex & Alignment
717
+ "flex items-center justify-center",
718
+ // Shape
719
+ "border-2 rounded-lg",
720
+ // Size
721
+ "w-6 h-6",
722
+ // Color
723
+ "text-surface-600",
724
+ {
725
+ "border-surface-200 bg-surface-0 dark:border-surface-700 dark:bg-surface-900": !e.checked,
726
+ "border-primary-500 bg-primary-500 dark:border-primary-400 dark:bg-primary-400": e.checked
727
+ },
728
+ // States
729
+ "focus:outline-none focus:outline-offset-0",
730
+ {
731
+ "ring ring-primary-400/50 dark:ring-primary-300/50": e.focused
732
+ },
733
+ // Transition
734
+ "transition-colors duration-200",
735
+ // Misc
736
+ { "cursor-default opacity-60": e.disabled }
737
+ ]
738
+ }),
739
+ headercheckboxicon: {
740
+ class: [
741
+ // Size
742
+ "w-4 h-4",
743
+ "text-base leading-none",
744
+ // Color
745
+ "text-white dark:text-surface-900",
746
+ // Transition
747
+ "transition-all duration-200"
748
+ ]
749
+ },
750
+ checkboxwrapper: {
751
+ class: [
752
+ "relative",
753
+ // Flex & Alignment
754
+ "inline-flex align-bottom",
755
+ // Size
756
+ "w-6 h-6",
757
+ // Misc
758
+ "cursor-pointer select-none"
759
+ ]
760
+ },
761
+ checkbox: ({ context: e }) => ({
762
+ class: [
763
+ // Flex & Alignment
764
+ "flex items-center justify-center",
765
+ // Shape
766
+ "border-2 rounded-lg",
767
+ // Size
768
+ "w-6 h-6",
769
+ // Color
770
+ "text-surface-600",
771
+ {
772
+ "border-surface-200 bg-surface-0 dark:border-surface-700 dark:bg-surface-900": !e.checked,
773
+ "border-primary-500 bg-primary-500 dark:border-primary-400 dark:bg-primary-400": e.checked
774
+ },
775
+ // States
776
+ "focus:outline-none focus:outline-offset-0",
777
+ {
778
+ "ring ring-primary-400/50 dark:ring-primary-300/50": e.focused
779
+ },
780
+ // Transition
781
+ "transition-colors duration-200",
782
+ // Misc
783
+ { "cursor-default opacity-60": e.disabled }
784
+ ]
785
+ }),
786
+ checkboxicon: {
787
+ class: [
788
+ // Size
789
+ "w-4 h-4",
790
+ "text-base leading-none",
791
+ // Color
792
+ "text-white dark:text-surface-900",
793
+ // Transition
794
+ "transition-all duration-200"
795
+ ]
796
+ },
797
+ transition: {
798
+ enterFromClass: "opacity-0 scale-y-[0.8]",
799
+ enterActiveClass: "transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",
800
+ leaveActiveClass: "transition-opacity duration-100 ease-linear",
801
+ leaveToClass: "opacity-0"
147
802
  }
803
+ },
804
+ bodyrow: ({ context: e, props: r }) => ({
805
+ class: [
806
+ // Color
807
+ "dark:text-white/80",
808
+ { "bg-primary-50 text-primary-600 dark:bg-primary-400/30": e.selected },
809
+ { "bg-surface-0 text-surface-600 dark:bg-surface-800": !e.selected },
810
+ { "font-bold bg-surface-0 dark:bg-surface-800": r.frozenRow },
811
+ { "odd:bg-surface-0 odd:text-surface-600 dark:odd:bg-surface-800 even:bg-surface-50 even:text-surface-600 dark:even:bg-surface-900/50": e.stripedRows },
812
+ // State
813
+ // { 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 ring-inset dark:focus:ring-primary-300/50': context.selectable },
814
+ { "hover:bg-surface-300/20 hover:text-surface-600": r.selectionMode && !e.selected },
815
+ // Transition
816
+ { "transition duration-200": r.selectionMode && !e.selected || r.rowHover },
817
+ // Misc
818
+ { "cursor-pointer": r.selectionMode }
819
+ ]
820
+ }),
821
+ rowexpansion: {
822
+ class: "bg-surface-0 dark:bg-surface-800 text-surface-600 dark:text-white/80"
823
+ },
824
+ rowgroupheader: {
825
+ class: ["sticky z-20", "bg-surface-0 text-surface-600 dark:text-white/70", "dark:bg-surface-800"]
826
+ },
827
+ rowgroupfooter: {
828
+ class: ["sticky z-20", "bg-surface-0 text-surface-600 dark:text-white/70", "dark:bg-surface-800"]
829
+ },
830
+ rowgrouptoggler: {
831
+ class: [
832
+ "relative",
833
+ // Flex & Alignment
834
+ "inline-flex items-center justify-center",
835
+ "text-left",
836
+ // Spacing
837
+ "m-0 p-0",
838
+ // Size
839
+ "w-8 h-8",
840
+ // Shape
841
+ "border-0 rounded-full",
842
+ // Color
843
+ "text-surface-500 dark:text-white/70",
844
+ "bg-transparent",
845
+ "focus-visible:outline-none focus-visible:outline-offset-0",
846
+ "focus-visible:ring focus-visible:ring-primary-400/50 dark:focus-visible:ring-primary-300/50",
847
+ // Transition
848
+ "transition duration-200",
849
+ // Misc
850
+ "overflow-hidden",
851
+ "cursor-pointer select-none"
852
+ ]
853
+ },
854
+ rowgrouptogglericon: {
855
+ class: "inline-block w-4 h-4"
856
+ },
857
+ resizehelper: {
858
+ class: "absolute hidden w-[2px] z-20 bg-primary-500 dark:bg-primary-400"
148
859
  }
149
860
  };
150
861
  export {
151
- r as default
862
+ o as default
152
863
  };