primevue 3.30.2 → 3.31.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 (138) hide show
  1. package/breadcrumb/Breadcrumb.d.ts +15 -0
  2. package/breadcrumb/BreadcrumbItem.vue +18 -8
  3. package/breadcrumb/breadcrumb.cjs.js +18 -8
  4. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  5. package/breadcrumb/breadcrumb.esm.js +18 -8
  6. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  7. package/breadcrumb/breadcrumb.js +18 -8
  8. package/breadcrumb/breadcrumb.min.js +1 -1
  9. package/cascadeselect/CascadeSelect.vue +1 -0
  10. package/cascadeselect/CascadeSelectSub.vue +1 -0
  11. package/cascadeselect/cascadeselect.cjs.js +6 -4
  12. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  13. package/cascadeselect/cascadeselect.esm.js +6 -4
  14. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  15. package/cascadeselect/cascadeselect.js +6 -4
  16. package/cascadeselect/cascadeselect.min.js +1 -1
  17. package/config/PrimeVue.d.ts +14 -0
  18. package/contextmenu/ContextMenu.d.ts +8 -0
  19. package/contextmenu/ContextMenuSub.vue +13 -11
  20. package/contextmenu/contextmenu.cjs.js +13 -11
  21. package/contextmenu/contextmenu.cjs.min.js +1 -1
  22. package/contextmenu/contextmenu.esm.js +13 -11
  23. package/contextmenu/contextmenu.esm.min.js +1 -1
  24. package/contextmenu/contextmenu.js +13 -11
  25. package/contextmenu/contextmenu.min.js +1 -1
  26. package/core/core.js +3417 -18
  27. package/core/core.min.js +5 -3
  28. package/dock/Dock.d.ts +4 -0
  29. package/dock/DockSub.vue +8 -7
  30. package/dock/dock.cjs.js +8 -7
  31. package/dock/dock.cjs.min.js +1 -1
  32. package/dock/dock.esm.js +8 -7
  33. package/dock/dock.esm.min.js +1 -1
  34. package/dock/dock.js +8 -7
  35. package/dock/dock.min.js +1 -1
  36. package/dropdown/BaseDropdown.vue +5 -5
  37. package/dropdown/dropdown.cjs.js +5 -5
  38. package/dropdown/dropdown.cjs.min.js +1 -1
  39. package/dropdown/dropdown.esm.js +5 -5
  40. package/dropdown/dropdown.esm.min.js +1 -1
  41. package/dropdown/dropdown.js +5 -5
  42. package/dropdown/dropdown.min.js +1 -1
  43. package/image/Image.vue +2 -2
  44. package/image/image.cjs.js +2 -2
  45. package/image/image.cjs.min.js +1 -1
  46. package/image/image.esm.js +2 -2
  47. package/image/image.esm.min.js +1 -1
  48. package/image/image.js +2 -2
  49. package/image/image.min.js +1 -1
  50. package/inputswitch/InputSwitch.d.ts +2 -2
  51. package/megamenu/MegaMenu.d.ts +8 -0
  52. package/megamenu/MegaMenuSub.vue +13 -11
  53. package/megamenu/megamenu.cjs.js +13 -11
  54. package/megamenu/megamenu.cjs.min.js +1 -1
  55. package/megamenu/megamenu.esm.js +13 -11
  56. package/megamenu/megamenu.esm.min.js +1 -1
  57. package/megamenu/megamenu.js +13 -11
  58. package/megamenu/megamenu.min.js +1 -1
  59. package/menu/Menu.d.ts +8 -0
  60. package/menu/Menu.vue +1 -1
  61. package/menu/Menuitem.vue +4 -1
  62. package/menu/menu.cjs.js +6 -2
  63. package/menu/menu.cjs.min.js +1 -1
  64. package/menu/menu.esm.js +6 -2
  65. package/menu/menu.esm.min.js +1 -1
  66. package/menu/menu.js +6 -2
  67. package/menu/menu.min.js +1 -1
  68. package/menubar/Menubar.d.ts +8 -0
  69. package/menubar/MenubarSub.vue +12 -10
  70. package/menubar/menubar.cjs.js +12 -10
  71. package/menubar/menubar.cjs.min.js +1 -1
  72. package/menubar/menubar.esm.js +12 -10
  73. package/menubar/menubar.esm.min.js +1 -1
  74. package/menubar/menubar.js +12 -10
  75. package/menubar/menubar.min.js +1 -1
  76. package/package.json +1 -1
  77. package/panelmenu/PanelMenu.d.ts +8 -0
  78. package/panelmenu/PanelMenu.vue +12 -11
  79. package/panelmenu/PanelMenuSub.vue +13 -11
  80. package/panelmenu/panelmenu.cjs.js +25 -22
  81. package/panelmenu/panelmenu.cjs.min.js +1 -1
  82. package/panelmenu/panelmenu.esm.js +25 -22
  83. package/panelmenu/panelmenu.esm.min.js +1 -1
  84. package/panelmenu/panelmenu.js +25 -22
  85. package/panelmenu/panelmenu.min.js +1 -1
  86. package/resources/themes/bootstrap4-dark-blue/theme.css +0 -7
  87. package/resources/themes/bootstrap4-dark-purple/theme.css +0 -7
  88. package/resources/themes/bootstrap4-light-blue/theme.css +0 -7
  89. package/resources/themes/bootstrap4-light-purple/theme.css +0 -7
  90. package/splitterpanel/SplitterPanel.d.ts +11 -0
  91. package/splitterpanel/SplitterPanel.vue +7 -0
  92. package/splitterpanel/splitterpanel.cjs.js +7 -0
  93. package/splitterpanel/splitterpanel.cjs.min.js +1 -1
  94. package/splitterpanel/splitterpanel.esm.js +7 -0
  95. package/splitterpanel/splitterpanel.esm.min.js +1 -1
  96. package/splitterpanel/splitterpanel.js +7 -0
  97. package/splitterpanel/splitterpanel.min.js +1 -1
  98. package/steps/BaseSteps.vue +1 -1
  99. package/steps/Steps.d.ts +25 -0
  100. package/steps/Steps.vue +17 -7
  101. package/steps/steps.cjs.js +19 -9
  102. package/steps/steps.cjs.min.js +1 -1
  103. package/steps/steps.esm.js +19 -9
  104. package/steps/steps.esm.min.js +1 -1
  105. package/steps/steps.js +19 -9
  106. package/steps/steps.min.js +1 -1
  107. package/tabmenu/TabMenu.d.ts +6 -2
  108. package/tabmenu/TabMenu.vue +11 -10
  109. package/tabmenu/tabmenu.cjs.js +11 -10
  110. package/tabmenu/tabmenu.cjs.min.js +1 -1
  111. package/tabmenu/tabmenu.esm.js +11 -10
  112. package/tabmenu/tabmenu.esm.min.js +1 -1
  113. package/tabmenu/tabmenu.js +11 -10
  114. package/tabmenu/tabmenu.min.js +1 -1
  115. package/tabview/TabView.vue +1 -0
  116. package/tabview/tabview.cjs.js +2 -1
  117. package/tabview/tabview.cjs.min.js +1 -1
  118. package/tabview/tabview.esm.js +2 -1
  119. package/tabview/tabview.esm.min.js +1 -1
  120. package/tabview/tabview.js +2 -1
  121. package/tabview/tabview.min.js +1 -1
  122. package/tailwind/Tailwind.d.ts +5 -0
  123. package/tailwind/package.json +6 -0
  124. package/tailwind/tailwind.cjs.js +3388 -0
  125. package/tailwind/tailwind.cjs.min.js +1 -0
  126. package/tailwind/tailwind.esm.js +3386 -0
  127. package/tailwind/tailwind.esm.min.js +1 -0
  128. package/tailwind/tailwind.js +3392 -0
  129. package/tailwind/tailwind.min.js +1 -0
  130. package/tieredmenu/TieredMenu.d.ts +8 -0
  131. package/tieredmenu/TieredMenuSub.vue +13 -11
  132. package/tieredmenu/tieredmenu.cjs.js +13 -11
  133. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  134. package/tieredmenu/tieredmenu.esm.js +13 -11
  135. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  136. package/tieredmenu/tieredmenu.js +13 -11
  137. package/tieredmenu/tieredmenu.min.js +1 -1
  138. package/web-types.json +1 -1
@@ -0,0 +1,3386 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
4
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
5
+ var Tailwind = {
6
+ directives: {
7
+ ripple: {
8
+ root: {
9
+ "class": ['block absolute bg-white bg-opacity-50 rounded-full transform scale-0 pointer-events-none']
10
+ }
11
+ }
12
+ },
13
+ //PANELS
14
+ panel: {
15
+ header: function header(_ref) {
16
+ var props = _ref.props;
17
+ return {
18
+ "class": ['flex items-center justify-between',
19
+ // flex and alignments
20
+ 'border border-gray-300 bg-gray-100 text-gray-700 rounded-tl-lg rounded-tr-lg',
21
+ // borders and colors
22
+ 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80',
23
+ // Dark mode
24
+ {
25
+ 'p-5': !props.toggleable,
26
+ 'py-3 px-5': props.toggleable
27
+ } // condition
28
+ ]
29
+ };
30
+ },
31
+
32
+ title: {
33
+ "class": ['leading-none font-bold']
34
+ },
35
+ toggler: {
36
+ "class": ['inline-flex items-center justify-center overflow-hidden relative no-underline',
37
+ // alignments
38
+ 'w-8 h-8 text-gray-600 border-0 bg-transparent rounded-full transition duration-200 ease-in-out',
39
+ // widths, borders, and transitions
40
+ 'hover:text-gray-900 hover:border-transparent hover:bg-gray-200 dark:hover:text-white/80 dark:hover:bg-gray-800/80 dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]',
41
+ // hover
42
+ 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]' // focus
43
+ ]
44
+ },
45
+
46
+ togglerIcon: {
47
+ "class": ['inline-block']
48
+ },
49
+ content: {
50
+ "class": ['p-5 border border-gray-300 bg-white text-gray-700 border-t-0 last:rounded-br-lg last:rounded-bl-lg', 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80' // Dark mode
51
+ ] // padding, borders, and colors
52
+ }
53
+ },
54
+
55
+ accordion: {
56
+ root: {
57
+ "class": ['mb-1']
58
+ },
59
+ tab: {
60
+ header: function header(_ref2) {
61
+ var props = _ref2.props;
62
+ return {
63
+ "class": [{
64
+ 'select-none pointer-events-none cursor-default opacity-60': props === null || props === void 0 ? void 0 : props.disabled
65
+ } // Condition
66
+ ]
67
+ };
68
+ },
69
+
70
+ headerAction: function headerAction(_ref3) {
71
+ var tab = _ref3.tab;
72
+ return {
73
+ "class": ['flex items-center cursor-pointer relative no-underline select-none',
74
+ // Alignments
75
+ 'p-5 transition duration-200 ease-in-out rounded-t-md font-bold transition-shadow duration-200',
76
+ // Padding and transition
77
+ 'border border-gray-300 bg-gray-100 text-gray-600',
78
+ // Borders and colors
79
+ 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80 dark:hover:bg-gray-800/80 dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]',
80
+ // Dark mode
81
+ 'hover:border-gray-300 hover:bg-gray-200 hover:text-gray-800',
82
+ // Hover
83
+ 'focus:outline-none focus:outline-offset-0 focus:shadow-[inset_0_0_0_0.2rem_rgba(191,219,254,1)]',
84
+ // Focus
85
+ {
86
+ 'rounded-br-md rounded-bl-md': !tab.context.active,
87
+ 'rounded-br-0 rounded-bl-0 text-gray-800': tab.context.active
88
+ } // Condition
89
+ ]
90
+ };
91
+ },
92
+
93
+ headerIcon: {
94
+ "class": ['inline-block mr-2']
95
+ },
96
+ headerTitle: {
97
+ "class": ['leading-none']
98
+ },
99
+ content: {
100
+ "class": ['p-5 border border-gray-300 bg-white text-gray-700 border-t-0 rounded-tl-none rounded-tr-none rounded-br-lg rounded-bl-lg', 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80' // Dark mode
101
+ ]
102
+ }
103
+ }
104
+ },
105
+
106
+ card: {
107
+ root: {
108
+ "class": ['bg-white text-gray-700 shadow-md rounded-md',
109
+ // Background, text color, box shadow, and border radius.
110
+ 'dark:bg-gray-900 dark:text-white ' //dark
111
+ ]
112
+ },
113
+
114
+ body: {
115
+ "class": 'p-5' // Padding.
116
+ },
117
+
118
+ title: {
119
+ "class": 'text-2xl font-bold mb-2' // Font size, font weight, and margin bottom.
120
+ },
121
+
122
+ subtitle: {
123
+ "class": ['font-normal mb-2 text-gray-600',
124
+ // Font weight, margin bottom, and text color.
125
+ 'dark:text-white/60 ' //dark
126
+ ]
127
+ },
128
+
129
+ content: {
130
+ "class": 'py-5' // Vertical padding.
131
+ },
132
+
133
+ footer: {
134
+ "class": 'pt-5' // Top padding.
135
+ }
136
+ },
137
+
138
+ divider: {
139
+ root: function root(_ref4) {
140
+ var props = _ref4.props;
141
+ return {
142
+ "class": ['flex relative',
143
+ // alignments.
144
+ {
145
+ 'w-full my-5 mx-0 py-0 px-5 before:block before:left-0 before:absolute before:top-1/2 before:w-full before:border-t before:border-gray-300 before:dark:border-blue-900/40': props.layout == 'horizontal',
146
+ // Padding and borders for horizontal layout.
147
+ 'justify-center min-h-full mx-4 md:mx-5 py-5 before:block before:min-h-full before:absolute before:left-1/2 before:top-0 before:transform before:-translate-x-1/2 before:border-l before:border-gray-300 before:dark:border-blue-900/40': props.layout == 'vertical' // Padding and borders for vertical layout.
148
+ }, {
149
+ 'before:border-solid': props.type == 'solid',
150
+ 'before:border-dotted': props.type == 'dotted',
151
+ 'before:border-dashed': props.type == 'dashed'
152
+ },
153
+ // Border type condition.
154
+ {
155
+ 'justify-center items-center': props.align == 'center' || props.align == null,
156
+ // Alignment condition for center or default alignment.
157
+ 'justify-end items-center': props.align == 'right',
158
+ // Alignment condition for right alignment.
159
+ 'justify-start items-center': props.align == 'left',
160
+ // Alignment condition for left alignment.
161
+ 'items-start': props.align == 'top',
162
+ // Alignment condition for top alignment.
163
+ 'items-end': props.align == 'bottom' // Alignment condition for bottom alignment.
164
+ }]
165
+ };
166
+ },
167
+
168
+ content: {
169
+ "class": 'px-1 bg-white z-10 dark:bg-gray-900' // Padding and background color.
170
+ }
171
+ },
172
+
173
+ fieldset: {
174
+ root: {
175
+ "class": ['border border-gray-300 bg-white text-gray-700 rounded-md block mx-2 my-0.5 pl-4 pr-5 inline-size-min',
176
+ // Borders, background, text color, spacing, and inline size.
177
+ 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80' //dark
178
+ ]
179
+ },
180
+
181
+ legend: function legend(_ref5) {
182
+ var props = _ref5.props;
183
+ return {
184
+ "class": ['border border-gray-300 text-gray-700 bg-gray-50 font-bold rounded-md', 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80 ',
185
+ //dark
186
+ {
187
+ 'p-0 transition-none hover:bg-gray-100 hover:border-gray-300 hover:text-gray-900 dark:hover:text-white/80 dark:hover:bg-gray-800/80 dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': props.toggleable,
188
+ 'p-5': !props.toggleable
189
+ }]
190
+ };
191
+ },
192
+ toggler: function toggler(_ref6) {
193
+ var props = _ref6.props;
194
+ return {
195
+ "class": ['flex items-center justify-center', {
196
+ 'p-5 text-gray-700 rounded-md transition-none cursor-pointer overflow-hidden relative select-none hover:text-gray-900 focus:focus:shadow-[inset_0_0_0_0.2rem_rgba(191,219,254,1)] dark:text-white/80 dark:hover:text-white/80 dark:hover:bg-gray-800/60 dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': props.toggleable
197
+ }]
198
+ };
199
+ },
200
+ togglerIcon: {
201
+ "class": 'mr-2 inline-block' // Margin and display style.
202
+ },
203
+
204
+ legendTitle: {
205
+ "class": 'flex items-center justify-center leading-none' // alignments, and leading style.
206
+ },
207
+
208
+ content: {
209
+ "class": 'p-5' // Padding.
210
+ }
211
+ },
212
+
213
+ scrollpanel: {
214
+ wrapper: {
215
+ "class": 'float-left h-full overflow-hidden relative w-full z-10'
216
+ },
217
+ content: {
218
+ "class": 'box-border h-[calc(100% + 18px)] overflow-scroll pr-18 pb-18 relative scrollbar-none w-[calc(100% + 18px)] [&::-webkit-scrollbar]:hidden'
219
+ },
220
+ barX: {
221
+ "class": 'bg-gray-50 border-0 transition-none invisible absolute bottom-0 h-3 z-2 rounded cursor-pointer opacity-0 relative'
222
+ },
223
+ barY: {
224
+ "class": 'bg-gray-50 border-0 transition-none top-0 w-3 h-full z-2 rounded cursor-pointer opacity-0 relative'
225
+ }
226
+ },
227
+ tabview: {
228
+ navContainer: function navContainer(_ref7) {
229
+ var props = _ref7.props;
230
+ _ref7.context;
231
+ _ref7.parent;
232
+ return {
233
+ "class": ['relative',
234
+ // Relative positioning.
235
+ {
236
+ 'overflow-hidden': props.scrollable
237
+ } // Overflow condition.
238
+ ]
239
+ };
240
+ },
241
+
242
+ navContent: {
243
+ "class": ['overflow-y-hidden overscroll-contain overscroll-auto scroll-smooth [&::-webkit-scrollbar]:hidden'] // Overflow and scrollbar styles.
244
+ },
245
+
246
+ previousButton: {
247
+ "class": ['h-full flex items-center justify-center absolute top-0 z-20', 'left-0', 'bg-white text-blue-500 w-12 shadow-md rounded-none', 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80 ]'] // Flex and absolute positioning styles.
248
+ },
249
+
250
+ nextButton: {
251
+ "class": ['h-full flex items-center justify-center absolute top-0 z-20', 'right-0', 'bg-white text-blue-500 w-12 shadow-md rounded-none', 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80 '] // Flex and absolute positioning styles.
252
+ },
253
+
254
+ nav: {
255
+ "class": ['flex flex-1 list-none m-0 p-0', 'bg-white border border-gray-300 border-0 border-b-2', 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80 '] // Flex, list, margin, padding, and border styles.
256
+ },
257
+
258
+ tab: {
259
+ header: function header(_ref8) {
260
+ var _tab$props;
261
+ var tab = _ref8.tab;
262
+ return {
263
+ "class": ['mr-0', {
264
+ 'cursor-default pointer-events-none select-none user-select-none opacity-60': (_tab$props = tab.props) === null || _tab$props === void 0 ? void 0 : _tab$props.disabled
265
+ }] // Margin and condition-based styles.
266
+ };
267
+ },
268
+
269
+ headerAction: function headerAction(_ref9) {
270
+ var tab = _ref9.tab;
271
+ return {
272
+ "class": ['items-center cursor-pointer flex overflow-hidden relative select-none text-decoration-none user-select-none',
273
+ // Flex and overflow styles.
274
+ 'border-b-2 p-5 font-bold rounded-t-lg transition-shadow duration-200 m-0',
275
+ // Border, padding, font, and transition styles.
276
+ 'transition-colors duration-200',
277
+ // Transition duration style.
278
+ 'focus:outline-none focus:outline-offset-0 focus:shadow-[inset_0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]',
279
+ // Focus styles.
280
+ {
281
+ 'border-gray-300 bg-white text-gray-700 hover:bg-white hover:border-gray-400 hover:text-gray-600 dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80 dark:hover:bg-gray-800/80': tab.parent.state.d_activeIndex !== tab.context.index,
282
+ // Condition-based hover styles.
283
+ 'bg-white border-blue-500 text-blue-500 dark:bg-gray-900 dark:border-blue-300 dark:text-blue-300': tab.parent.state.d_activeIndex === tab.context.index // Condition-based active styles.
284
+ }],
285
+
286
+ style: 'margin-bottom:-2px' // Negative margin style.
287
+ };
288
+ },
289
+
290
+ headerTitle: {
291
+ "class": ['leading-none whitespace-nowrap'] // Leading and whitespace styles.
292
+ },
293
+
294
+ content: {
295
+ "class": ['bg-white p-5 border-0 text-gray-700 rounded-bl-2xl rounded-br-2xl', 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80'] // Background, padding, border, and text styles.
296
+ }
297
+ }
298
+ },
299
+
300
+ splitter: {
301
+ root: {
302
+ "class": ['border border-solid border-gray-300 dark:border-blue-900/40 bg-white dark:bg-gray-900 rounded-lg text-gray-700 dark:text-white/80']
303
+ },
304
+ gutter: function gutter(_ref10) {
305
+ var props = _ref10.props;
306
+ return {
307
+ "class": ['flex items-center justify-center flex-shrink-0', 'transition-all duration-200 bg-gray-100 dark:bg-gray-800', {
308
+ 'cursor-col-resize': props.layout == 'horizontal',
309
+ 'cursor-row-resize': props.layout !== 'horizontal'
310
+ }]
311
+ };
312
+ },
313
+ gutterhandler: function gutterhandler(_ref11) {
314
+ var props = _ref11.props;
315
+ return {
316
+ "class": ['bg-gray-300 dark:bg-gray-600 transition-all duration-200', {
317
+ 'h-7': props.layout == 'horizontal',
318
+ 'w-7 h-2': props.layout !== 'horizontal'
319
+ }]
320
+ };
321
+ }
322
+ },
323
+ splitterpanel: {
324
+ root: function root(_ref12) {
325
+ _ref12.props;
326
+ return {
327
+ "class": ['flex-grow', 'flex justify-center items-center']
328
+ };
329
+ }
330
+ },
331
+ dialog: {
332
+ root: function root(_ref13) {
333
+ _ref13.props;
334
+ _ref13.state;
335
+ return {
336
+ "class": ['rounded-lg shadow-lg border-0', 'flex flex-col max-h-90 transform scale-100', 'm-0 w-[50vw] z-40 relative', '', 'dark:border dark:border-blue-900/40']
337
+ };
338
+ },
339
+ header: {
340
+ "class": ['flex items-center justify-between flex-shrink-0', 'bg-white text-gray-800 border-t-0 rounded-tl-lg rounded-tr-lg p-6', 'dark:bg-gray-900 dark:text-white/80']
341
+ },
342
+ headerTitle: {
343
+ "class": ['font-bold text-lg']
344
+ },
345
+ headerIcons: {
346
+ "class": ['flex items-center']
347
+ },
348
+ closeButton: {
349
+ "class": ['flex items-center justify-center overflow-hidden relative', 'w-8 h-8 text-gray-500 border-0 bg-transparent rounded-full transition duration-200 ease-in-out mr-2 last:mr-0', 'hover:text-gray-700 hover:border-transparent hover:bg-gray-200', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]',
350
+ // focus
351
+ 'dark:hover:text-white/80 dark:hover:border-transparent dark:hover:bg-gray-800/80 dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]']
352
+ },
353
+ closeButtonIcon: {
354
+ "class": ['w-4 h-4 inline-block']
355
+ },
356
+ content: {
357
+ "class": ['overflow-y-auto', 'bg-white text-gray-700 px-6 pb-8 pt-0', 'rounded-bl-lg rounded-br-lg', 'dark:bg-gray-900 dark:text-white/80 ']
358
+ },
359
+ footer: {
360
+ "class": ['flex-shrink-0 ', 'border-t-0 bg-white text-gray-700 px-6 pb-6 text-right rounded-b-lg', 'dark:bg-gray-900 dark:text-white/80']
361
+ },
362
+ mask: {
363
+ "class": ['fixed top-0 left-0 w-full h-full flex items-center justify-center pointer-events-auto', 'bg-black bg-opacity-40 transition duration-200 z-20']
364
+ }
365
+ },
366
+ confirmpopup: {
367
+ root: function root(_ref14) {
368
+ _ref14.props;
369
+ _ref14.state;
370
+ return {
371
+ "class": ['bg-white text-gray-700 border-0 rounded-md shadow-lg', 'z-40 transform origin-center', 'mt-10 absolute left-0 top-0 ',
372
+ // 'before:absolute before:bottom-0 before:left-1/2 before:transform before:-translate-x-1/2 before:w-0 before:h-0 before:border-t-[10px] before:border-l-[5px] before:border-r-[5px] before:border-transparent before:border-b-[10px] before:border-t-[0] before:border-l-[5px] before:border-r-[5px] before:border-b-[0] before:border-red-500',
373
+ 'dark:border dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80']
374
+ };
375
+ },
376
+ content: {
377
+ "class": ['p-5 items-center flex']
378
+ },
379
+ icon: {
380
+ "class": ['text-2xl']
381
+ },
382
+ message: {
383
+ "class": ['ml-4']
384
+ },
385
+ footer: {
386
+ "class": ['text-right px-5 py-5 pt-0 ']
387
+ }
388
+ // rejectButton: {
389
+ // class: ['bg-transparent text-blue-500 border-transparent', 'text-sm px-2 py-1.5 ml-0 mr-2 w-auto', 'flex items-center cursor-pointer inline-flex overflow-hidden relative text-center select-none user-select-none align-bottom']
390
+ // },
391
+ // acceptButton: {
392
+ // class: ['text-white bg-blue-500 border-2 border-blue-500', 'text-sm px-2 py-1.5 ml-0 mr-2 w-auto', 'flex items-center cursor-pointer inline-flex overflow-hidden relative text-center select-none user-select-none align-bottom']
393
+ // }
394
+ },
395
+
396
+ overlaypanel: {
397
+ root: function root(_ref15) {
398
+ _ref15.props;
399
+ _ref15.state;
400
+ return {
401
+ "class": ['bg-white text-gray-700 border-0 rounded-md shadow-lg', 'z-40 transform origin-center', 'mt-10 absolute left-0 top-0 ',
402
+ // 'before:absolute before:bottom-0 before:left-1/2 before:transform before:-translate-x-1/2 before:w-0 before:h-0 before:border-t-[10px] before:border-l-[5px] before:border-r-[5px] before:border-transparent before:border-b-[10px] before:border-t-[0] before:border-l-[5px] before:border-r-[5px] before:border-b-[0] before:border-red-500',
403
+ 'dark:border dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80']
404
+ };
405
+ },
406
+ content: {
407
+ "class": ['p-5 items-center flex']
408
+ }
409
+ },
410
+ sidebar: {
411
+ root: function root(_ref16) {
412
+ var props = _ref16.props;
413
+ _ref16.state;
414
+ return {
415
+ "class": ['flex flex-col pointer-events-auto relative transform translate-x-0 translate-y-0 translate-z-0 relative transition-transform duration-300', 'bg-white text-gray-700 border-0 shadow-lg', {
416
+ 'h-full w-80': props.position == 'left' || props.position == 'right',
417
+ 'h-40 w-full': props.position == 'top' || props.position == 'bottom'
418
+ }, 'dark:border dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80']
419
+ };
420
+ },
421
+ header: {
422
+ "class": ['flex items-center justify-end', 'p-5']
423
+ },
424
+ closeButton: {
425
+ "class": ['flex items-center justify-center overflow-hidden relative', 'w-8 h-8 text-gray-500 border-0 bg-transparent rounded-full transition duration-200 ease-in-out mr-2 last:mr-0', 'hover:text-gray-700 hover:border-transparent hover:bg-gray-200', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]',
426
+ // focus
427
+ 'dark:hover:text-white/80 dark:hover:text-white/80 dark:hover:border-transparent dark:hover:bg-gray-800/80 dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]']
428
+ },
429
+ closeButtonIcon: {
430
+ "class": ['w-4 h-4 inline-block']
431
+ },
432
+ content: {
433
+ "class": ['p-5 pt-0 h-full w-full', 'flex-grow overflow-y-auto']
434
+ },
435
+ mask: function mask(_ref17) {
436
+ var props = _ref17.props;
437
+ _ref17.state;
438
+ return {
439
+ "class": ['fixed top-0 left-0 w-full h-full flex pointer-events-auto', 'bg-black bg-opacity-40 transition duration-200 z-20 transition-colors', {
440
+ 'justify-end': props.position == 'right',
441
+ 'items-start': props.position == 'top',
442
+ 'items-end': props.position == 'bottom'
443
+ }]
444
+ };
445
+ }
446
+ },
447
+ toolbar: {
448
+ root: {
449
+ "class": ['flex items-center justify-between flex-wrap', 'bg-gray-100 dark:bg-gray-800 border border-gray-300 dark:border-blue-900/40 p-5 rounded-md gap-2']
450
+ },
451
+ start: {
452
+ "class": ['flex items-center']
453
+ },
454
+ center: {
455
+ "class": ['flex items-center']
456
+ },
457
+ end: {
458
+ "class": ['flex items-center']
459
+ }
460
+ },
461
+ //UPLOAD
462
+
463
+ fileupload: {
464
+ input: {
465
+ "class": ['hidden']
466
+ },
467
+ buttonbar: {
468
+ "class": ['flex flex-wrap', 'bg-gray-50 dark:bg-gray-800 p-5 border border-solid border-gray-300 dark:border-blue-900/40 text-gray-700 dark:text-white/80 rounded-tr-lg rounded-tl-lg gap-2 border-b-0']
469
+ },
470
+ chooseButton: {
471
+ "class": ['text-white bg-blue-500 border border-blue-500 p-3 px-5 rounded-md text-base', 'overflow-hidden relative']
472
+ },
473
+ chooseIcon: {
474
+ "class": ['mr-2 inline-block']
475
+ },
476
+ chooseButtonLabel: {
477
+ "class": ['flex-1 font-bold']
478
+ },
479
+ content: function content(_ref18) {
480
+ _ref18.props;
481
+ return {
482
+ "class": ['relative', 'bg-white dark:bg-gray-900 p-8 border border-gray-300 dark:border-blue-900/40 text-gray-700 dark:text-white/80 rounded-b-lg']
483
+ };
484
+ },
485
+ file: {
486
+ "class": ['flex items-center flex-wrap', 'p-4 border border-gray-300 dark:border-blue-900/40 rounded gap-2 mb-2', 'last:mb-0']
487
+ },
488
+ thumbnail: {
489
+ "class": ['flex-shrink-0']
490
+ },
491
+ fileName: {
492
+ "class": ['mb-2']
493
+ },
494
+ fileSize: {
495
+ "class": ['mr-2']
496
+ }
497
+ },
498
+ //Messages
499
+
500
+ message: {
501
+ root: function root(_ref19) {
502
+ var props = _ref19.props;
503
+ _ref19.context;
504
+ return {
505
+ "class": ['my-4 rounded-md', {
506
+ 'bg-blue-100 border-solid border-0 border-l-4 border-blue-500 text-blue-700': props.severity == 'info',
507
+ 'bg-green-100 border-solid border-0 border-l-4 border-green-500 text-green-700': props.severity == 'success',
508
+ 'bg-orange-100 border-solid border-0 border-l-4 border-orange-500 text-orange-700': props.severity == 'warn',
509
+ 'bg-red-100 border-solid border-0 border-l-4 border-red-500 text-red-700': props.severity == 'error'
510
+ }]
511
+ };
512
+ },
513
+ wrapper: {
514
+ "class": ['flex items-center py-5 px-7']
515
+ },
516
+ icon: {
517
+ "class": ['w-6 h-6', 'text-lg mr-2']
518
+ },
519
+ text: {
520
+ "class": ['text-base font-normal']
521
+ },
522
+ button: {
523
+ "class": ['w-8 h-8 rounded-full bg-transparent transition duration-200 ease-in-out', 'ml-auto overflow-hidden relative', 'flex items-center justify-center', 'hover:bg-white/30']
524
+ }
525
+ },
526
+ inlinemessage: {
527
+ root: function root(_ref20) {
528
+ var props = _ref20.props;
529
+ _ref20.context;
530
+ return {
531
+ "class": ['inline-flex items-center justify-center align-top', 'p-3 m-0 rounded-md', {
532
+ 'bg-blue-100 border-0 text-blue-700': props.severity == 'info',
533
+ 'bg-green-100 border-0 text-green-700': props.severity == 'success',
534
+ 'bg-orange-100 border-0 text-orange-700': props.severity == 'warn',
535
+ 'bg-red-100 border-0 text-red-700': props.severity == 'error'
536
+ }]
537
+ };
538
+ },
539
+ icon: {
540
+ "class": ['text-base mr-2']
541
+ }
542
+ },
543
+ toast: {
544
+ root: function root(_ref21) {
545
+ _ref21.props;
546
+ _ref21.context;
547
+ return {
548
+ "class": ['w-96', 'opacity-90']
549
+ };
550
+ },
551
+ container: function container(_ref22) {
552
+ var props = _ref22.props;
553
+ _ref22.context;
554
+ return {
555
+ "class": ['my-4 rounded-md w-full', {
556
+ 'bg-blue-100 border-solid border-0 border-l-4 border-blue-500 text-blue-700': props.message.severity == 'info',
557
+ 'bg-green-100 border-solid border-0 border-l-4 border-green-500 text-green-700': props.message.severity == 'success',
558
+ 'bg-orange-100 border-solid border-0 border-l-4 border-orange-500 text-orange-700': props.message.severity == 'warn',
559
+ 'bg-red-100 border-solid border-0 border-l-4 border-red-500 text-red-700': props.message.severity == 'error'
560
+ }]
561
+ };
562
+ },
563
+ content: {
564
+ "class": ['flex items-center py-5 px-7']
565
+ },
566
+ icon: {
567
+ "class": ['w-6 h-6', 'text-lg mr-2']
568
+ },
569
+ text: {
570
+ "class": ['text-base font-normal flex flex-col flex-1 flex-grow-1 flex-shrink-1 ml-4']
571
+ },
572
+ summary: {
573
+ "class": ['font-bold block']
574
+ },
575
+ detail: {
576
+ "class": ['mt-1 block']
577
+ },
578
+ closebutton: {
579
+ "class": ['w-8 h-8 rounded-full bg-transparent transition duration-200 ease-in-out', 'ml-auto overflow-hidden relative', 'flex items-center justify-center', 'hover:bg-white/30']
580
+ }
581
+ },
582
+ //BUTTONS
583
+ button: {
584
+ root: function root(_ref23) {
585
+ var _ref24, _ref25;
586
+ var props = _ref23.props;
587
+ _ref23.context;
588
+ return {
589
+ "class": ['items-center cursor-pointer inline-flex overflow-hidden relative select-none text-center align-bottom', 'transition duration-200 ease-in-out', {
590
+ 'text-white bg-blue-500 border border-blue-500 hover:bg-blue-600 hover:border-blue-600': !props.link && props.severity == null && !props.text && !props.outlined && !props.plain,
591
+ 'text-blue-600 bg-transparent border-transparent': props.link
592
+ }, {
593
+ 'text-white bg-gray-500 border border-gray-500 hover:bg-gray-600 hover:border-gray-600': props.severity == 'secondary' && !props.text && !props.outlined && !props.plain,
594
+ 'text-white bg-green-500 border border-green-500 hover:bg-green-600 hover:border-green-600': props.severity == 'success' && !props.text && !props.outlined && !props.plain,
595
+ 'text-white bg-blue-500 border border-blue-500 hover:bg-blue-600 hover:border-blue-600': props.severity == 'info' && !props.text && !props.outlined && !props.plain,
596
+ 'text-white bg-orange-500 border border-orange-500 hover:bg-orange-600 hover:border-orange-600': props.severity == 'warning' && !props.text && !props.outlined && !props.plain,
597
+ 'text-white bg-purple-500 border border-purple-500 hover:bg-purple-600 hover:border-purple-600': props.severity == 'help' && !props.text && !props.outlined && !props.plain,
598
+ 'text-white bg-red-500 border border-red-500 hover:bg-red-600 hover:border-red-600': props.severity == 'danger' && !props.text && !props.outlined && !props.plain
599
+ }, {
600
+ 'shadow-lg': props.raised
601
+ }, {
602
+ 'rounded-md': !props.rounded,
603
+ 'rounded-full': props.rounded
604
+ }, (_ref24 = {
605
+ 'bg-transparent border-transparent': props.text && !props.plain,
606
+ 'text-blue-500 hover:bg-blue-300/20': props.text && props.severity == null && !props.plain,
607
+ 'text-gray-500 hover:bg-gray-300/20': props.text && props.severity == 'secondary' && !props.plain,
608
+ 'text-green-500 hover:bg-green-300/20': props.text && props.severity == 'success' && !props.plain
609
+ }, _defineProperty(_ref24, "text-blue-500 hover:bg-blue-300/20", props.text && props.severity == 'info' && !props.plain), _defineProperty(_ref24, 'text-orange-500 hover:bg-orange-300/20', props.text && props.severity == 'warning' && !props.plain), _defineProperty(_ref24, 'text-purple-500 hover:bg-purple-300/20', props.text && props.severity == 'help' && !props.plain), _defineProperty(_ref24, 'text-red-500 hover:bg-red-300/20', props.text && props.severity == 'danger' && !props.plain), _ref24), {
610
+ 'shadow-lg': props.raised && props.text
611
+ }, {
612
+ 'text-gray-500 hover:bg-gray-300/20': props.plain & props.text,
613
+ 'text-gray-500 border border-gray-500 hover:bg-gray-300/20': props.plain & props.outlined,
614
+ 'text-white bg-gray-500 border border-gray-500 hover:bg-gray-600 hover:border-gray-600': props.plain & !props.outlined & !props.text
615
+ }, (_ref25 = {
616
+ 'bg-transparent border': props.outlined && !props.plain,
617
+ 'text-blue-500 border border-blue-500 hover:bg-blue-300/20': props.outlined && props.severity == null && !props.plain,
618
+ 'text-gray-500 border border-gray-500 hover:bg-gray-300/20': props.outlined && props.severity == 'secondary' && !props.plain,
619
+ 'text-green-500 border border-green-500 hover:bg-green-300/20': props.outlined && props.severity == 'success' && !props.plain
620
+ }, _defineProperty(_ref25, "text-blue-500 border border-blue-500 hover:bg-blue-300/20", props.outlined && props.severity == 'info' && !props.plain), _defineProperty(_ref25, 'text-orange-500 border border-orange-500 hover:bg-orange-300/20', props.outlined && props.severity == 'warning' && !props.plain), _defineProperty(_ref25, 'text-purple-500 border border-purple-500 hover:bg-purple-300/20', props.outlined && props.severity == 'help' && !props.plain), _defineProperty(_ref25, 'text-red-500 border border-red-500 hover:bg-red-300/20', props.outlined && props.severity == 'danger' && !props.plain), _ref25), {
621
+ 'px-4 py-3 text-base': props.size == null,
622
+ 'text-xs py-2 px-3': props.size == 'small',
623
+ 'text-xl py-3 px-4': props.size == 'large'
624
+ }]
625
+ };
626
+ },
627
+ label: function label(_ref26) {
628
+ var props = _ref26.props;
629
+ return {
630
+ "class": ['flex-1', 'duration-200', 'font-bold', {
631
+ 'hover:underline': props.link
632
+ }]
633
+ };
634
+ },
635
+ icon: function icon(_ref27) {
636
+ var props = _ref27.props;
637
+ return {
638
+ "class": ['mx-0', {
639
+ 'mr-2': props.iconPos == 'left' && props.label != null,
640
+ 'ml-2': props.iconPos == 'right' && props.label != null,
641
+ 'mb-2': props.iconPos == 'top' && props.label != null,
642
+ 'mt-2': props.iconPos == 'bottom' && props.label != null
643
+ }]
644
+ };
645
+ },
646
+ badge: function badge(_ref28) {
647
+ var props = _ref28.props;
648
+ return {
649
+ "class": [{
650
+ 'ml-2 w-4 h-4 leading-none': props.badge
651
+ }]
652
+ };
653
+ }
654
+ },
655
+ speeddial: {
656
+ root: function root(_ref29) {
657
+ var props = _ref29.props;
658
+ _ref29.state;
659
+ return {
660
+ "class": ['absolute flex', {
661
+ 'items-center flex-col-reverse': props.direction == 'up',
662
+ 'items-center flex-col': props.direction == 'down',
663
+ 'justify-center flex-row-reverse': props.direction == 'left',
664
+ 'justify-center flex-row': props.direction == 'right'
665
+ }]
666
+ };
667
+ },
668
+ button: {
669
+ root: {
670
+ "class": ['w-16 h-16']
671
+ }
672
+ },
673
+ menu: function menu(_ref30) {
674
+ var props = _ref30.props;
675
+ _ref30.context;
676
+ return {
677
+ "class": ['m-0 p-0 list-none flex items-center justify-center transition delay-200 pointer-events-none z-2', {
678
+ 'flex-col-reverse': props.direction == 'up',
679
+ 'flex-col': props.direction == 'down',
680
+ 'flex-row-reverse': props.direction == 'left',
681
+ 'flex-row': props.direction == 'right'
682
+ }]
683
+ };
684
+ },
685
+ menuitem: function menuitem(_ref31) {
686
+ var props = _ref31.props;
687
+ _ref31.context;
688
+ return {
689
+ "class": ['transform scale-0 opacity-0 transition-transform duration-200 ease-out delay-0 transition-opacity duration-800', {
690
+ 'my-1 first:mb-2': props.direction == 'up',
691
+ 'my-1 first:mt-2': props.direction == 'down',
692
+ 'mx-1 first:mr-2': props.direction == 'left',
693
+ 'mx-1 first:ml-2': props.direction == 'right'
694
+ }]
695
+ };
696
+ },
697
+ action: {
698
+ "class": ['flex items-center justify-center rounded-full relative overflow-hidden', 'w-12 h-12 bg-gray-700 text-white']
699
+ }
700
+ },
701
+ splitbutton: {
702
+ root: {
703
+ "class": ['inline-flex relative', 'rounded-md']
704
+ },
705
+ button: function button(_ref32) {
706
+ _ref32.props;
707
+ _ref32.context;
708
+ return {
709
+ root: {
710
+ "class": ['first:flex-1 first:rounded-r-none first:border-r-0', 'border-r-0']
711
+ }
712
+ };
713
+ }
714
+ },
715
+ //FORMS
716
+
717
+ inputtext: {
718
+ root: function root(_ref33) {
719
+ var props = _ref33.props,
720
+ context = _ref33.context;
721
+ return {
722
+ "class": ['m-0', 'font-sans text-gray-600 dark:text-white/80 bg-white dark:bg-gray-900 border border-gray-300 dark:border-blue-900/40 transition-colors duration-200 appearance-none rounded-lg', {
723
+ 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]': !context.disabled,
724
+ 'opacity-60 select-none pointer-events-none cursor-default': context.disabled
725
+ }, {
726
+ 'text-lg px-4 py-4': props.size == 'large',
727
+ 'text-xs px-2 py-2': props.size == 'small',
728
+ 'p-3 text-base': props.size == null
729
+ }]
730
+ };
731
+ }
732
+ },
733
+ knob: {
734
+ root: function root(_ref34) {
735
+ var props = _ref34.props;
736
+ return {
737
+ "class": ['focus:outline-none focus:outline-offset-0 focus:shadow-0', {
738
+ 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
739
+ }]
740
+ };
741
+ },
742
+ range: {
743
+ "class": ['stroke-current transition duration-100 ease-in stroke-gray-200 dark:stroke-gray-700 fill-none']
744
+ },
745
+ value: {
746
+ "class": ['animate-dash-frame stroke-blue-500 fill-none']
747
+ },
748
+ label: {
749
+ "class": ['text-center text-xl']
750
+ }
751
+ },
752
+ inputswitch: {
753
+ root: function root(_ref35) {
754
+ var props = _ref35.props;
755
+ return {
756
+ "class": ['inline-block relative', 'w-12 h-7', {
757
+ 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
758
+ }]
759
+ };
760
+ },
761
+ slider: function slider(_ref36) {
762
+ var props = _ref36.props;
763
+ return {
764
+ "class": ['absolute cursor-pointer top-0 left-0 right-0 bottom-0 border border-transparent', 'transition-colors duration-200 rounded-2xl', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', "before:absolute before:content-'' before:top-1/2 before:bg-white before:dark:bg-gray-900 before:w-5 before:h-5 before:left-1 before:-mt-2.5 before:rounded-full before:transition-duration-200", {
765
+ 'bg-gray-200 dark:bg-gray-800 hover:bg-gray-300 hover:dark:bg-gray-700 ': !props.modelValue,
766
+ 'bg-blue-500 before:transform before:translate-x-5': props.modelValue
767
+ }]
768
+ };
769
+ }
770
+ },
771
+ rating: {
772
+ root: function root(_ref37) {
773
+ var props = _ref37.props;
774
+ return {
775
+ "class": ['relative flex items-center', 'gap-2', {
776
+ 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
777
+ }]
778
+ };
779
+ },
780
+ cancelitem: {
781
+ "class": ['inline-flex items-center cursor-pointer']
782
+ },
783
+ cancelicon: {
784
+ "class": ['text-red-500', 'w-5 h-5', 'transition duration-200 ease-in']
785
+ },
786
+ item: function item(_ref38) {
787
+ var props = _ref38.props;
788
+ return {
789
+ "class": ['inline-flex items-center', {
790
+ 'cursor-pointer': !props.readonly,
791
+ 'cursor-default': props.readonly
792
+ }]
793
+ };
794
+ },
795
+ officon: {
796
+ "class": ['text-gray-700 hover:text-blue-400', 'w-5 h-5', 'transition duration-200 ease-in']
797
+ },
798
+ onicon: {
799
+ "class": ['text-blue-500', 'w-5 h-5', 'transition duration-200 ease-in']
800
+ }
801
+ },
802
+ selectbutton: {
803
+ root: function root(_ref39) {
804
+ var props = _ref39.props;
805
+ return {
806
+ "class": [{
807
+ 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
808
+ }]
809
+ };
810
+ },
811
+ button: function button(_ref40) {
812
+ var context = _ref40.context;
813
+ _ref40.props;
814
+ return {
815
+ "class": ['inline-flex cursor-pointer select-none items-center align-bottom text-center overflow-hidden relative', 'px-4 py-3', 'transition duration-200 border border-r-0', 'first:rounded-l-md first:rounded-tr-none first:rounded-br-none last:border-r last:rounded-tl-none last:rounded-bl-none last:rounded-r-md', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
816
+ 'bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 border-gray-300 dark:border-blue-900/40 hover:bg-gray-50 dark:hover:bg-gray-800/80 ': !context.active,
817
+ 'bg-blue-500 border-blue-500 text-white hover:bg-blue-600': context.active,
818
+ 'opacity-60 select-none pointer-events-none cursor-default': context.disabled
819
+ }]
820
+ };
821
+ },
822
+ label: {
823
+ "class": ['font-bold']
824
+ }
825
+ },
826
+ slider: {
827
+ root: function root(_ref41) {
828
+ var props = _ref41.props;
829
+ return {
830
+ "class": ['relative', 'bg-gray-100 dark:bg-gray-800 border-0 rounded-6', {
831
+ 'h-1 w-56': props.orientation == 'horizontal',
832
+ 'w-1 h-56': props.orientation == 'vertical'
833
+ }, {
834
+ 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
835
+ }]
836
+ };
837
+ },
838
+ range: function range(_ref42) {
839
+ var props = _ref42.props;
840
+ return {
841
+ "class": ['bg-blue-500', 'block absolute', {
842
+ 'top-0 left-0 h-full': props.orientation == 'horizontal',
843
+ 'bottom-0 left-0 w-full': props.orientation == 'vertical'
844
+ }]
845
+ };
846
+ },
847
+ handle: function handle(_ref43) {
848
+ var props = _ref43.props;
849
+ return {
850
+ "class": ['h-4 w-4 bg-white dark:bg-gray-600 border-2 border-blue-500 rounded-full transition duration-200', 'cursor-grab touch-action-none block', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', 'hover:bg-blue-500 hover:border hover:border-blue-500', {
851
+ 'top-[50%] mt-[-0.5715rem] ml-[-0.5715rem]': props.orientation == 'horizontal',
852
+ 'left-[50%] mb-[-0.5715rem] ml-[-0.4715rem]': props.orientation == 'vertical'
853
+ }]
854
+ };
855
+ },
856
+ starthandler: function starthandler(_ref44) {
857
+ var props = _ref44.props;
858
+ return {
859
+ "class": ['h-4 w-4 bg-white dark:bg-gray-600 border-2 border-blue-500 rounded-full transition duration-200', 'cursor-grab touch-action-none block', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', 'hover:bg-blue-500 hover:border hover:border-blue-500', {
860
+ 'top-[50%] mt-[-0.5715rem] ml-[-0.5715rem]': props.orientation == 'horizontal',
861
+ 'left-[50%] mb-[-0.5715rem] ml-[-0.4715rem]': props.orientation == 'vertical'
862
+ }]
863
+ };
864
+ },
865
+ endhandler: function endhandler(_ref45) {
866
+ var props = _ref45.props;
867
+ return {
868
+ "class": ['h-4 w-4 bg-white dark:bg-gray-600 border-2 border-blue-500 rounded-full transition duration-200', 'cursor-grab touch-action-none block', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', 'hover:bg-blue-500 hover:border hover:border-blue-500', {
869
+ 'top-[50%] mt-[-0.5715rem] ml-[-0.5715rem]': props.orientation == 'horizontal',
870
+ 'left-[50%] mb-[-0.5715rem] ml-[-0.4715rem]': props.orientation == 'vertical'
871
+ }]
872
+ };
873
+ }
874
+ },
875
+ password: {
876
+ root: function root(_ref46) {
877
+ var props = _ref46.props;
878
+ return {
879
+ "class": ['inline-flex relative', {
880
+ 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
881
+ }]
882
+ };
883
+ },
884
+ panel: {
885
+ "class": ['p-5 bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 shadow-md rounded-md']
886
+ },
887
+ meter: {
888
+ "class": ['mb-2 bg-gray-300 dark:bg-gray-700 h-3']
889
+ },
890
+ meterlabel: function meterlabel(_ref47) {
891
+ var _instance$meter, _instance$meter2, _instance$meter3;
892
+ var instance = _ref47.instance,
893
+ props = _ref47.props;
894
+ return {
895
+ "class": ['transition-width duration-1000 ease-in-out h-full', {
896
+ 'bg-red-500': (instance === null || instance === void 0 || (_instance$meter = instance.meter) === null || _instance$meter === void 0 ? void 0 : _instance$meter.strength) == 'weak',
897
+ 'bg-orange-500': (instance === null || instance === void 0 || (_instance$meter2 = instance.meter) === null || _instance$meter2 === void 0 ? void 0 : _instance$meter2.strength) == 'medium',
898
+ 'bg-green-500': (instance === null || instance === void 0 || (_instance$meter3 = instance.meter) === null || _instance$meter3 === void 0 ? void 0 : _instance$meter3.strength) == 'strong'
899
+ }, {
900
+ 'pr-[2.5rem] ': props.toggleMask
901
+ }]
902
+ };
903
+ },
904
+ showicon: {
905
+ "class": ['absolute top-1/2 -mt-2', 'right-3 text-gray-600 dark:text-white/70']
906
+ },
907
+ hideicon: {
908
+ "class": ['absolute top-1/2 -mt-2', 'right-3 text-gray-600 dark:text-white/70']
909
+ }
910
+ },
911
+ togglebutton: {
912
+ root: function root(_ref48) {
913
+ var props = _ref48.props;
914
+ return {
915
+ "class": ['inline-flex cursor-pointer select-none items-center align-bottom text-center overflow-hidden relative', 'px-4 py-3 rounded-md text-base w-36', 'border transition duration-200 ease-in-out', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
916
+ 'bg-white dark:bg-gray-900 border-gray-300 dark:border-blue-900/40 text-gray-700 dark:text-white/80 hover:bg-gray-100 dark:hover:bg-gray-800/80 hover:border-gray-300 dark:hover:bg-gray-800/70 hover:text-gray-700 dark:hover:text-white/80': !props.modelValue,
917
+ 'bg-blue-500 border-blue-500 text-white hover:bg-blue-600 hover:border-blue-600': props.modelValue
918
+ }, {
919
+ 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
920
+ }]
921
+ };
922
+ },
923
+ label: {
924
+ "class": ['font-bold text-center w-full']
925
+ },
926
+ icon: function icon(_ref49) {
927
+ var props = _ref49.props;
928
+ return {
929
+ "class": [' mr-2', {
930
+ 'text-gray-600 dark:text-white/70': !props.modelValue,
931
+ 'text-white': props.modelValue
932
+ }]
933
+ };
934
+ }
935
+ },
936
+ tristatecheckbox: {
937
+ root: {
938
+ "class": ['cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6']
939
+ },
940
+ checkbox: function checkbox(_ref50) {
941
+ var props = _ref50.props;
942
+ return {
943
+ "class": ['flex items-center justify-center', 'border-2 w-6 h-6 rounded-lg transition-colors duration-200', {
944
+ 'border-blue-500 bg-blue-500 text-white dark:border-blue-400 dark:bg-blue-400': props.modelValue || !props.modelValue,
945
+ 'border-gray-300 text-gray-600 bg-white dark:border-blue-900/40 dark:bg-gray-900': props.modelValue == null
946
+ }, {
947
+ 'hover:border-blue-500 dark:hover:border-blue-400 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': !props.disabled,
948
+ 'cursor-default opacity-60': props.disabled
949
+ }]
950
+ };
951
+ }
952
+ },
953
+ checkbox: {
954
+ root: function root(_ref51) {
955
+ _ref51.props;
956
+ return {
957
+ "class": ['cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6']
958
+ };
959
+ },
960
+ input: function input(_ref52) {
961
+ var props = _ref52.props,
962
+ context = _ref52.context;
963
+ return {
964
+ "class": ['flex items-center justify-center', 'border-2 w-6 h-6 text-gray-600 rounded-lg transition-colors duration-200', {
965
+ 'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900': !context.checked,
966
+ 'border-blue-500 bg-blue-500 dark:border-blue-400 dark:bg-blue-400': context.checked
967
+ }, {
968
+ 'hover:border-blue-500 dark:hover:border-blue-400 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': !props.disabled,
969
+ 'cursor-default opacity-60': props.disabled
970
+ }]
971
+ };
972
+ },
973
+ icon: {
974
+ "class": ['w-4 h-4 transition-all duration-200 text-white text-base dark:text-gray-900']
975
+ }
976
+ },
977
+ radiobutton: {
978
+ root: function root(_ref53) {
979
+ _ref53.props;
980
+ return {
981
+ "class": ['relative inline-flex cursor-pointer select-none align-bottom', 'w-6 h-6']
982
+ };
983
+ },
984
+ input: function input(_ref54) {
985
+ var props = _ref54.props;
986
+ return {
987
+ "class": ['flex justify-center items-center', 'border-2 w-6 h-6 text-gray-700 rounded-full transition duration-200 ease-in-out', {
988
+ 'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900': props.value !== props.modelValue,
989
+ 'border-blue-500 bg-blue-500 dark:border-blue-400 dark:bg-blue-400': props.value == props.modelValue
990
+ }, {
991
+ 'hover:border-blue-500 dark:hover:border-blue-400 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': !props.disabled,
992
+ 'cursor-default opacity-60': props.disabled
993
+ }]
994
+ };
995
+ },
996
+ icon: function icon(_ref55) {
997
+ var props = _ref55.props;
998
+ return {
999
+ "class": ['transform rounded-full', 'block w-3 h-3 transition duration-200 bg-white dark:bg-gray-900', {
1000
+ 'backface-hidden scale-10 invisible': props.value !== props.modelValue,
1001
+ 'transform scale-100 visible': props.value == props.modelValue
1002
+ }]
1003
+ };
1004
+ }
1005
+ },
1006
+ dropdown: {
1007
+ root: function root(_ref56) {
1008
+ var props = _ref56.props;
1009
+ return {
1010
+ "class": ['cursor-pointer inline-flex relative select-none', 'bg-white border border-gray-400 transition-colors duration-200 ease-in-out rounded-md', 'dark:bg-gray-900 dark:border-blue-900/40 dark:hover:border-blue-300', 'w-full md:w-56', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
1011
+ 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
1012
+ }]
1013
+ };
1014
+ },
1015
+ input: function input(_ref57) {
1016
+ var props = _ref57.props;
1017
+ return {
1018
+ "class": ['cursor-pointer block flex flex-auto overflow-hidden overflow-ellipsis whitespace-nowrap relative', 'bg-transparent border-0 text-gray-800', 'dark:text-white/80', 'p-3 transition duration-200 bg-transparent rounded appearance-none font-sans text-base', 'focus:outline-none focus:shadow-none', {
1019
+ 'pr-7': props.showClear
1020
+ }]
1021
+ };
1022
+ },
1023
+ trigger: {
1024
+ "class": ['flex items-center justify-center flex-shrink-0', 'bg-transparent text-gray-500 w-12 rounded-tr-lg rounded-br-lg']
1025
+ },
1026
+ wrapper: {
1027
+ "class": ['max-h-[200px] overflow-auto', 'bg-white text-gray-700 border-0 rounded-md shadow-lg', 'dark:bg-gray-900 dark:text-white/80']
1028
+ },
1029
+ list: {
1030
+ "class": ['py-3 list-none m-0']
1031
+ },
1032
+ item: function item(_ref58) {
1033
+ var context = _ref58.context;
1034
+ return {
1035
+ "class": ['cursor-pointer font-normal overflow-hidden relative whitespace-nowrap', 'm-0 p-3 border-0 transition-shadow duration-200 rounded-none', 'dark:text-white/80 dark:hover:bg-gray-800', 'hover:text-gray-700 hover:bg-gray-200', {
1036
+ 'text-gray-700 bg-transparent': !context.selected,
1037
+ 'text-blue-600 bg-blue-50 hover:text-blue-600 hover:bg-blue-100 dark:text-white dark:bg-gray-700 dark:hover:bg-gray-700': context.selected
1038
+ }]
1039
+ };
1040
+ },
1041
+ itemgroup: {
1042
+ "class": ['m-0 p-3 text-gray-800 bg-white font-bold', 'dark:bg-gray-900 dark:text-white/80', 'cursor-auto']
1043
+ },
1044
+ header: {
1045
+ "class": ['p-3 border-b border-gray-300 text-gray-700 bg-gray-100 mt-0 rounded-tl-lg rounded-tr-lg', 'dark:bg-gray-800 dark:text-white/80 dark:border-blue-900/40']
1046
+ },
1047
+ filtercontainer: {
1048
+ "class": ['relative']
1049
+ },
1050
+ filterinput: {
1051
+ "class": ['pr-7 -mr-7', 'w-full', 'font-sans text-base text-gray-700 bg-white py-3 px-3 border border-gray-300 transition duration-200 rounded-lg appearance-none', 'dark:bg-gray-900 dark:border-blue-900/40 dark:hover:border-blue-300 dark:text-white/80', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]']
1052
+ },
1053
+ filtericon: {
1054
+ "class": ['-mt-2 absolute top-1/2']
1055
+ },
1056
+ clearicon: {
1057
+ "class": ['text-gray-500 right-12 -mt-2 absolute top-1/2']
1058
+ }
1059
+ },
1060
+ calendar: {
1061
+ root: {
1062
+ "class": ['inline-flex max-w-full relative']
1063
+ },
1064
+ input: {
1065
+ "class": ['font-sans text-base text-gray-600 bg-white p-3 border border-gray-300 transition-colors duration-200 appearance-none rounded-lg', 'hover:border-blue-500 ']
1066
+ },
1067
+ panel: {
1068
+ "class": ['bg-white border-0 shadow-md', 'absolute min-w-[350px]']
1069
+ },
1070
+ header: {
1071
+ "class": ['flex items-center justify-between', 'p-2 text-gray-700 bg-white font-semibold m-0 border-b border-gray-300 rounded-t-lg']
1072
+ },
1073
+ previousbutton: {
1074
+ "class": ['flex items-center justify-center cursor-pointer overflow-hidden relative', 'w-8 h-8 text-gray-600 border-0 bg-transparent rounded-full transition-colors duration-200 ease-in-out', 'hover:text-gray-700 hover:border-transparent hover:bg-gray-200']
1075
+ },
1076
+ title: {
1077
+ "class": ['leading-8 mx-auto']
1078
+ },
1079
+ monthTitle: {
1080
+ "class": ['text-gray-700 transition duration-200 font-semibold p-2', 'mr-2', 'hover:text-blue-500']
1081
+ },
1082
+ yearTitle: {
1083
+ "class": ['text-gray-700 transition duration-200 font-semibold p-2', 'hover:text-blue-500']
1084
+ },
1085
+ nextbutton: {
1086
+ "class": ['flex items-center justify-center cursor-pointer overflow-hidden relative', 'w-8 h-8 text-gray-600 border-0 bg-transparent rounded-full transition-colors duration-200 ease-in-out', 'hover:text-gray-700 hover:border-transparent hover:bg-gray-200']
1087
+ },
1088
+ table: {
1089
+ "class": ['border-collapse w-full', 'my-2']
1090
+ },
1091
+ tableheadercell: {
1092
+ "class": ['p-2']
1093
+ },
1094
+ day: {
1095
+ "class": ['p-2']
1096
+ },
1097
+ daylabel: {
1098
+ "class": ['w-10 h-10 rounded-full transition-shadow duration-200 border-transparent border', 'flex items-center cursor-pointer justify-center mx-auto overflow-hidden relative']
1099
+ }
1100
+ },
1101
+ listbox: {
1102
+ root: function root(_ref59) {
1103
+ _ref59.props;
1104
+ return {
1105
+ "class": ['bg-white dark:bg-gray-900 border border-gray-400 dark:border-blue-900/40 transition-colors duration-200 ease-in-out rounded-md', 'w-full md:w-56']
1106
+ };
1107
+ },
1108
+ wrapper: {
1109
+ "class": ['overflow-auto']
1110
+ },
1111
+ list: {
1112
+ "class": ['py-3 list-none m-0']
1113
+ },
1114
+ item: function item(_ref60) {
1115
+ var context = _ref60.context;
1116
+ return {
1117
+ "class": ['cursor-pointer font-normal overflow-hidden relative whitespace-nowrap', 'm-0 p-3 border-0 transition-shadow duration-200 rounded-none', 'dark:text-white/80 dark:hover:bg-gray-800', 'hover:text-gray-700 hover:bg-gray-200', {
1118
+ 'text-gray-700 bg-transparent': !context.selected,
1119
+ 'text-blue-600 bg-blue-50 hover:text-blue-600 hover:bg-blue-100 dark:text-white dark:bg-gray-700 dark:hover:bg-gray-700': context.selected
1120
+ }]
1121
+ };
1122
+ },
1123
+ itemgroup: {
1124
+ "class": ['m-0 p-3 text-gray-800 bg-white font-bold', 'dark:bg-gray-900 dark:text-white/80', 'cursor-auto']
1125
+ },
1126
+ header: {
1127
+ "class": ['p-3 border-b border-gray-300 text-gray-700 bg-gray-100 mt-0 rounded-tl-lg rounded-tr-lg', 'dark:bg-gray-800 dark:text-white/80 dark:border-blue-900/40']
1128
+ },
1129
+ filtercontainer: {
1130
+ "class": ['relative']
1131
+ },
1132
+ filterinput: {
1133
+ "class": ['pr-7 -mr-7', 'w-full', 'font-sans text-base text-gray-700 bg-white py-3 px-3 border border-gray-300 transition duration-200 rounded-lg appearance-none', 'dark:bg-gray-900 dark:border-blue-900/40 dark:hover:border-blue-300 dark:text-white/80', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]']
1134
+ },
1135
+ filtericon: {
1136
+ "class": ['-mt-2 absolute top-1/2']
1137
+ }
1138
+ },
1139
+ multiselect: {
1140
+ root: function root(_ref61) {
1141
+ var props = _ref61.props;
1142
+ return {
1143
+ "class": ['inline-flex cursor-pointer select-none', 'bg-white dark:bg-gray-900 border border-gray-400 dark:border-blue-900/40 transition-colors duration-200 ease-in-out rounded-md', 'w-full md:w-80', {
1144
+ 'opacity-60 select-none pointer-events-none cursor-default': props === null || props === void 0 ? void 0 : props.disabled
1145
+ }]
1146
+ };
1147
+ },
1148
+ labelContainer: {
1149
+ "class": ['overflow-hidden flex flex-auto cursor-pointer']
1150
+ },
1151
+ label: function label(_ref62) {
1152
+ var props = _ref62.props;
1153
+ _ref62.parent;
1154
+ _ref62.context;
1155
+ return {
1156
+ "class": ['block overflow-hidden whitespace-nowrap cursor-pointer overflow-ellipsis', 'text-gray-800 dark:text-white/80', 'p-3 transition duration-200', _defineProperty({
1157
+ '!p-3': props.display !== 'chip' && ((props === null || props === void 0 ? void 0 : props.modelValue) == null || (props === null || props === void 0 ? void 0 : props.modelValue) == undefined),
1158
+ '!py-1.5 px-3': props.display == 'chip' && (props === null || props === void 0 ? void 0 : props.modelValue) !== null
1159
+ }, "!p-3", props.display == 'chip' && (props === null || props === void 0 ? void 0 : props.modelValue) == null)]
1160
+ };
1161
+ },
1162
+ token: {
1163
+ "class": ['py-1 px-2 mr-2 bg-gray-300 dark:bg-gray-700 text-gray-700 dark:text-white/80 rounded-full', 'cursor-default inline-flex items-center']
1164
+ },
1165
+ removeTokenIcon: {
1166
+ "class": ['ml-2']
1167
+ },
1168
+ trigger: {
1169
+ "class": ['flex items-center justify-center flex-shrink-0', 'bg-transparent text-gray-600 dark:text-white/70 w-12 rounded-tr-lg rounded-br-lg']
1170
+ },
1171
+ panel: {
1172
+ "class": ['bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 border-0 rounded-md shadow-lg']
1173
+ },
1174
+ header: {
1175
+ "class": ['p-3 border-b border-gray-300 dark:border-blue-900/40 text-gray-700 dark:text-white/80 bg-gray-100 dark:bg-gray-800 rounded-t-lg', 'flex items-center justify-between']
1176
+ },
1177
+ headerCheckboxContainer: {
1178
+ "class": ['inline-flex cursor-pointer select-none align-bottom relative', 'mr-2', 'w-6 h-6']
1179
+ },
1180
+ headerCheckbox: function headerCheckbox(_ref64) {
1181
+ _ref64.props;
1182
+ var context = _ref64.context;
1183
+ return {
1184
+ "class": ['flex items-center justify-center', 'border-2 w-6 h-6 text-gray-600 dark:text-white/70 rounded-lg transition-colors duration-200', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
1185
+ 'border-gray-300 dark:border-blue-900/40 bg-white dark:bg-gray-900': !(context !== null && context !== void 0 && context.selected),
1186
+ 'border-blue-500 bg-blue-500': context === null || context === void 0 ? void 0 : context.selected
1187
+ }]
1188
+ };
1189
+ },
1190
+ headercheckboxicon: {
1191
+ "class": ['w-4 h-4 transition-all duration-200 text-white text-base']
1192
+ },
1193
+ closeButton: {
1194
+ "class": ['flex items-center justify-center overflow-hidden relative', 'w-8 h-8 text-gray-500 dark:text-white/70 border-0 bg-transparent rounded-full transition duration-200 ease-in-out mr-2 last:mr-0', 'hover:text-gray-700 dark:hover:text-white/80 hover:border-transparent hover:bg-gray-200 dark:hover:bg-gray-800/80 ', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]']
1195
+ },
1196
+ closeButtonIcon: {
1197
+ "class": ['w-4 h-4 inline-block']
1198
+ },
1199
+ wrapper: {
1200
+ "class": ['max-h-[200px] overflow-auto', 'bg-white text-gray-700 border-0 rounded-md shadow-lg', 'dark:bg-gray-900 dark:text-white/80']
1201
+ },
1202
+ list: {
1203
+ "class": ['py-3 list-none m-0']
1204
+ },
1205
+ item: function item(_ref65) {
1206
+ var context = _ref65.context;
1207
+ return {
1208
+ "class": ['cursor-pointer font-normal overflow-hidden relative whitespace-nowrap', 'm-0 p-3 border-0 transition-shadow duration-200 rounded-none', 'dark:text-white/80 dark:hover:bg-gray-800', 'hover:text-gray-700 hover:bg-gray-200', {
1209
+ 'text-gray-700 bg-transparent': !context.selected,
1210
+ 'text-blue-600 bg-blue-50 hover:text-blue-600 hover:bg-blue-100 dark:text-white dark:bg-gray-700 dark:hover:bg-gray-700': context.selected
1211
+ }]
1212
+ };
1213
+ },
1214
+ checkboxContainer: {
1215
+ "class": ['inline-flex cursor-pointer select-none align-bottom relative', 'mr-2', 'w-6 h-6']
1216
+ },
1217
+ checkbox: function checkbox(_ref66) {
1218
+ var context = _ref66.context;
1219
+ return {
1220
+ "class": ['flex items-center justify-center', 'border-2 w-6 h-6 text-gray-600 dark:text-white/80 rounded-lg transition-colors duration-200', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
1221
+ 'border-gray-300 dark:border-blue-900/40 bg-white dark:bg-gray-900': !(context !== null && context !== void 0 && context.selected),
1222
+ 'border-blue-500 bg-blue-500': context === null || context === void 0 ? void 0 : context.selected
1223
+ }]
1224
+ };
1225
+ },
1226
+ checkboxicon: {
1227
+ "class": ['w-4 h-4 transition-all duration-200 text-white text-base']
1228
+ },
1229
+ itemgroup: {
1230
+ "class": ['m-0 p-3 text-gray-800 bg-white font-bold', 'dark:bg-gray-900 dark:text-white/80', 'cursor-auto']
1231
+ },
1232
+ filtercontainer: {
1233
+ "class": ['relative']
1234
+ },
1235
+ filterinput: {
1236
+ "class": ['pr-7 -mr-7', 'w-full', 'font-sans text-base text-gray-700 bg-white py-3 px-3 border border-gray-300 transition duration-200 rounded-lg appearance-none', 'dark:bg-gray-900 dark:border-blue-900/40 dark:hover:border-blue-300 dark:text-white/80', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]']
1237
+ },
1238
+ filtericon: {
1239
+ "class": ['-mt-2 absolute top-1/2']
1240
+ },
1241
+ clearicon: {
1242
+ "class": ['text-gray-500 right-12 -mt-2 absolute top-1/2']
1243
+ }
1244
+ },
1245
+ textarea: {
1246
+ root: function root(_ref67) {
1247
+ var context = _ref67.context;
1248
+ return {
1249
+ "class": ['m-0', 'font-sans text-base text-gray-600 dark:text-white/80 bg-white dark:bg-gray-900 p-3 border border-gray-300 dark:border-blue-900/40 transition-colors duration-200 appearance-none rounded-lg', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
1250
+ 'opacity-60 select-none pointer-events-none cursor-default': context.disabled
1251
+ }]
1252
+ };
1253
+ }
1254
+ },
1255
+ treeselect: {
1256
+ root: function root(_ref68) {
1257
+ var props = _ref68.props;
1258
+ return {
1259
+ "class": ['inline-flex cursor-pointer select-none', 'bg-white dark:bg-gray-900 border border-gray-400 dark:border-blue-900/40 transition-colors duration-200 ease-in-out rounded-md', 'w-full md:w-80', {
1260
+ 'opacity-60 select-none pointer-events-none cursor-default': props === null || props === void 0 ? void 0 : props.disabled
1261
+ }]
1262
+ };
1263
+ },
1264
+ labelContainer: {
1265
+ "class": ['overflow-hidden flex flex-auto cursor-pointer']
1266
+ },
1267
+ label: function label(_ref69) {
1268
+ _ref69.props;
1269
+ return {
1270
+ "class": ['block overflow-hidden whitespace-nowrap cursor-pointer overflow-ellipsis', 'text-gray-800 dark:text-white/80', 'p-3 transition duration-200']
1271
+ };
1272
+ },
1273
+ trigger: {
1274
+ "class": ['flex items-center justify-center flex-shrink-0', 'bg-transparent text-gray-600 dark:text-white/70 w-12 rounded-tr-lg rounded-br-lg']
1275
+ },
1276
+ panel: {
1277
+ "class": ['bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 border-0 rounded-md shadow-lg']
1278
+ },
1279
+ wrapper: {
1280
+ "class": ['max-h-[200px] overflow-auto', 'bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 border-0 rounded-md shadow-lg']
1281
+ }
1282
+ },
1283
+ autocomplete: {
1284
+ root: function root(_ref70) {
1285
+ var props = _ref70.props;
1286
+ return {
1287
+ "class": ['relative inline-flex', {
1288
+ 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
1289
+ }, {
1290
+ 'w-full': props.multiple
1291
+ }]
1292
+ };
1293
+ },
1294
+ container: {
1295
+ "class": ['m-0 list-none cursor-text overflow-hidden flex items-center flex-wrap w-full', 'px-3 py-2 gap-2', 'font-sans text-base text-gray-700 dark:text-white/80 bg-white dark:bg-gray-900 border border-gray-300 dark:border-blue-900/40 transition duration-200 ease-in-out appearance-none rounded-md', 'focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] hover:border-blue-500 focus:outline-none dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]']
1296
+ },
1297
+ inputtoken: {
1298
+ "class": ['py-0.375rem px-0', 'flex-1 inline-flex']
1299
+ },
1300
+ input: function input(_ref71) {
1301
+ var props = _ref71.props;
1302
+ return {
1303
+ "class": ['m-0', ' transition-colors duration-200 appearance-none rounded-lg', ' ', {
1304
+ 'rounded-tr-none rounded-br-none': props.dropdown
1305
+ }, {
1306
+ 'font-sans text-base text-gray-700 dark:text-white/80 bg-white dark:bg-gray-900 p-3 border border-gray-300 dark:border-blue-900/40 focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)] hover:border-blue-500 focus:outline-none': !props.multiple,
1307
+ 'font-sans text-base text-gray-700 dark:text-white/80 border-0 outline-none bg-transparent m-0 p-0 shadow-none rounded-none w-full': props.multiple
1308
+ }]
1309
+ };
1310
+ },
1311
+ token: {
1312
+ "class": ['py-1 px-2 mr-2 bg-gray-300 dark:bg-gray-700 text-gray-700 dark:text-white/80 rounded-full', 'cursor-default inline-flex items-center']
1313
+ },
1314
+ dropdownbutton: {
1315
+ root: {
1316
+ "class": ['rounded-tl-none rounded-bl-none']
1317
+ }
1318
+ },
1319
+ panel: {
1320
+ "class": ['bg-white text-gray-700 border-0 rounded-md shadow-lg', 'max-h-[200px] overflow-auto', 'bg-white text-gray-700 border-0 rounded-md shadow-lg', 'dark:bg-gray-900 dark:text-white/80']
1321
+ },
1322
+ list: {
1323
+ "class": ['py-3 list-none m-0']
1324
+ },
1325
+ item: function item(_ref72) {
1326
+ var context = _ref72.context;
1327
+ return {
1328
+ "class": ['cursor-pointer font-normal overflow-hidden relative whitespace-nowrap', 'm-0 p-3 border-0 transition-shadow duration-200 rounded-none', 'dark:text-white/80 dark:hover:bg-gray-800', 'hover:text-gray-700 hover:bg-gray-200', {
1329
+ 'text-gray-700 bg-transparent': !context.selected,
1330
+ 'text-blue-600 bg-blue-50 hover:text-blue-600 hover:bg-blue-100 dark:text-white dark:bg-gray-700 dark:hover:bg-gray-700': context.selected
1331
+ }]
1332
+ };
1333
+ },
1334
+ itemgroup: {
1335
+ "class": ['m-0 p-3 text-gray-800 bg-white font-bold', 'dark:bg-gray-900 dark:text-white/80', 'cursor-auto']
1336
+ }
1337
+ },
1338
+ chips: {
1339
+ root: function root(_ref73) {
1340
+ var props = _ref73.props;
1341
+ return {
1342
+ "class": ['flex', {
1343
+ 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
1344
+ }]
1345
+ };
1346
+ },
1347
+ container: {
1348
+ "class": ['m-0 py-1.5 px-3 list-none cursor-text overflow-hidden flex items-center flex-wrap', 'w-full', 'm-0', 'font-sans text-base text-gray-600 dark:text-white/70 bg-white dark:bg-gray-900 p-3 border border-gray-300 dark:border-blue-900/40 transition-colors duration-200 appearance-none rounded-lg', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]']
1349
+ },
1350
+ inputtoken: {
1351
+ "class": ['py-1.5 px-0', 'flex flex-1 inline-flex']
1352
+ },
1353
+ input: {
1354
+ "class": ['font-sans text-base text-gray-700 dark:text-white/80 p-0 m-0', 'border-0 outline-none bg-transparent shadow-none rounded-none w-full']
1355
+ },
1356
+ token: {
1357
+ "class": ['py-1 px-2 mr-2 bg-gray-300 dark:bg-gray-700 text-gray-700 dark:text-white/80 rounded-full', 'cursor-default inline-flex items-center']
1358
+ },
1359
+ removeTokenIcon: {
1360
+ "class": ['ml-2']
1361
+ }
1362
+ },
1363
+ colorpicker: {
1364
+ root: function root(_ref74) {
1365
+ var props = _ref74.props;
1366
+ return {
1367
+ "class": ['inline-block', {
1368
+ 'opacity-60 select-none pointer-events-none cursor-default': props.disabled
1369
+ }]
1370
+ };
1371
+ },
1372
+ input: {
1373
+ "class": ['m-0', 'font-sans text-base text-gray-600 bg-white dark:bg-gray-900 p-3 border border-gray-300 dark:border-blue-900/40 transition-colors duration-200 rounded-lg cursor-pointer', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', 'w-8 h-8']
1374
+ },
1375
+ panel: function panel(_ref75) {
1376
+ var props = _ref75.props;
1377
+ return {
1378
+ "class": ['shadow-md', 'bg-gray-800 border-gray-900', {
1379
+ 'relative h-48 w-52': props.inline,
1380
+ 'absolute h-48 w-52': !props.inline
1381
+ }]
1382
+ };
1383
+ },
1384
+ selector: {
1385
+ "class": ['absolute h-44 w-40 top-2 left-2']
1386
+ },
1387
+ color: {
1388
+ "class": ['h-44 w-40'],
1389
+ style: 'background: linear-gradient(to top, #000 0%, rgb(0 0 0 / 0) 100%), linear-gradient(to right, #fff 0%, rgb(255 255 255 / 0) 100%)'
1390
+ },
1391
+ colorhandle: {
1392
+ "class": ['rounded-full border border-solid cursor-pointer h-3 w-3 absolute opacity-85', 'border-white']
1393
+ },
1394
+ hue: {
1395
+ "class": ['h-44 w-6 absolute top-2 left-44 opacity-85'],
1396
+ style: 'background: linear-gradient(0deg, red 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, red)'
1397
+ },
1398
+ huehandle: {
1399
+ "class": ['border-solid border-2 cursor-pointer h-2 w-8 left-0 -ml-1 -mt-1 opacity-85 absolute']
1400
+ }
1401
+ },
1402
+ editor: {
1403
+ toolbar: {
1404
+ "class": ['bg-gray-100 rounded-tr-md rounded-tl-md', 'border border-gray-300 box-border font-sans px-2 py-1']
1405
+ },
1406
+ formats: {
1407
+ "class": ['inline-block align-middle', 'mr-4']
1408
+ },
1409
+ header: {
1410
+ "class": ['text-gray-700 inline-block float-left text-base font-medium h-6 relative align-middle', 'w-28', 'border-0 text-gray-600']
1411
+ }
1412
+ },
1413
+ //MISC
1414
+
1415
+ badge: {
1416
+ root: function root(_ref76) {
1417
+ var props = _ref76.props;
1418
+ return {
1419
+ "class": ['rounded-full p-0 text-center inline-block', 'bg-blue-500 text-white font-bold', {
1420
+ 'bg-gray-500 ': props.severity == 'secondary',
1421
+ 'bg-green-500 ': props.severity == 'success',
1422
+ 'bg-blue-500 ': props.severity == 'info',
1423
+ 'bg-orange-500 ': props.severity == 'warning',
1424
+ 'bg-purple-500 ': props.severity == 'help',
1425
+ 'bg-red-500 ': props.severity == 'danger'
1426
+ }, {
1427
+ 'text-xs min-w-[1.5rem] h-[1.5rem] leading-[1.5rem]': props.size == null,
1428
+ 'text-lg min-w-[2.25rem] h-[2.25rem] leading-[2.25rem]': props.size == 'large',
1429
+ 'text-2xl min-w-[3rem] h-[3rem] leading-[3rem]': props.size == 'xlarge'
1430
+ }]
1431
+ };
1432
+ }
1433
+ },
1434
+ avatar: {
1435
+ root: function root(_ref77) {
1436
+ var props = _ref77.props,
1437
+ parent = _ref77.parent;
1438
+ return {
1439
+ "class": ['flex items-center justify-center', 'bg-gray-300 dark:bg-gray-800', {
1440
+ 'rounded-lg': props.shape == 'square',
1441
+ 'rounded-full': props.shape == 'circle'
1442
+ }, {
1443
+ 'text-base h-8 w-8': props.size == null || props.size == 'normal',
1444
+ 'w-12 h-12 text-xl': props.size == 'large',
1445
+ 'w-16 h-16 text-2xl': props.size == 'xlarge'
1446
+ }, {
1447
+ '-ml-4 border-2 border-white dark:border-gray-900': parent.instance.$css !== undefined,
1448
+ '': !(parent.instance.$css !== undefined)
1449
+ }]
1450
+ };
1451
+ },
1452
+ image: {
1453
+ "class": ['h-full w-full']
1454
+ }
1455
+ },
1456
+ avatargroup: {
1457
+ root: {
1458
+ "class": ['flex items-center']
1459
+ }
1460
+ },
1461
+ chip: {
1462
+ root: {
1463
+ "class": ['inline-flex items-center', 'bg-gray-200 text-gray-800 rounded-[16px] px-3 dark:text-white/80 dark:bg-gray-900']
1464
+ },
1465
+ label: {
1466
+ "class": ['leading-6 mt-1.5 mb-1.5']
1467
+ },
1468
+ icon: {
1469
+ "class": ['leading-6 mr-2']
1470
+ },
1471
+ image: {
1472
+ "class": ['w-9 h-9 ml-[-0.75rem] mr-2', 'rounded-full']
1473
+ },
1474
+ removeIcon: {
1475
+ "class": ['ml-2 rounded-md transition duration-200 ease-in-out', 'cursor-pointer leading-6']
1476
+ }
1477
+ },
1478
+ progressbar: {
1479
+ root: function root(_ref78) {
1480
+ _ref78.props;
1481
+ return {
1482
+ "class": ['overflow-hidden relative', 'border-0 h-6 bg-gray-200 rounded-md dark:bg-gray-800']
1483
+ };
1484
+ },
1485
+ value: function value(_ref79) {
1486
+ var props = _ref79.props;
1487
+ return {
1488
+ "class": ['transition-width duration-1000 ease-in-out', 'items-center border-0 flex h-full justify-center overflow-hidden absolute w-0', 'border-0 m-0 bg-blue-500', {
1489
+ 'before:absolute before:top-0 before:left-0 before:bottom-0 before:bg-inherit after:absolute after:top-0 after:left-0 after:bottom-0 after:bg-inherit': props.mode == 'indeterminate'
1490
+ }]
1491
+ };
1492
+ },
1493
+ label: {
1494
+ "class": ['inline-flex', 'text-white leading-6']
1495
+ }
1496
+ },
1497
+ progressspinner: {
1498
+ root: {
1499
+ "class": ['relative mx-auto w-28 h-28 inline-block', 'before:block before:pt-full']
1500
+ },
1501
+ spinner: {
1502
+ "class": ['absolute top-0 bottom-0 left-0 right-0 m-auto w-full h-full transform origin-center animate-spin']
1503
+ },
1504
+ circle: {
1505
+ "class": ['text-red-500 stroke-current']
1506
+ }
1507
+ },
1508
+ skeleton: {
1509
+ root: function root(_ref80) {
1510
+ var props = _ref80.props;
1511
+ return {
1512
+ "class": ['overflow-hidden', '!mb-2', 'bg-gray-300 dark:bg-gray-800', 'after:absolute after:top-0 after:left-0 after:right-0 after:bottom-0 after:content after:w-full after:h-full after:bg-blue-400 after:left-full after:transform after:translate-x-full after:z-10 after:bg-gradient-to-r after:from-transparent after:via-white after:to-transparent animate-pulse', {
1513
+ 'rounded-md': props.shape !== 'circle',
1514
+ 'rounded-full': props.shape == 'circle'
1515
+ }]
1516
+ };
1517
+ }
1518
+ },
1519
+ tag: {
1520
+ root: function root(_ref81) {
1521
+ var props = _ref81.props;
1522
+ return {
1523
+ "class": ['inline-flex items-center justify-center', 'bg-blue-500 text-white text-xs font-semibold px-2 py-1 ', {
1524
+ 'bg-gray-500 ': props.severity == 'secondary',
1525
+ 'bg-green-500 ': props.severity == 'success',
1526
+ 'bg-blue-500 ': props.severity == 'info',
1527
+ 'bg-orange-500 ': props.severity == 'warning',
1528
+ 'bg-purple-500 ': props.severity == 'help',
1529
+ 'bg-red-500 ': props.severity == 'danger'
1530
+ }, {
1531
+ 'rounded-md': !props.rounded,
1532
+ 'rounded-full': props.rounded
1533
+ }]
1534
+ };
1535
+ },
1536
+ value: {
1537
+ "class": ['leading-6']
1538
+ },
1539
+ icon: {
1540
+ "class": ['mr-1 text-sm']
1541
+ }
1542
+ },
1543
+ inplace: {
1544
+ display: function display(_ref82) {
1545
+ _ref82.props;
1546
+ return {
1547
+ "class": ['p-3 rounded-md transition duration-200 ', 'inline cursor-pointer', 'hover:bg-gray-200 hover:text-gray-700 dark:hover:bg-gray-800/80 dark:hover:text-white/80']
1548
+ };
1549
+ }
1550
+ },
1551
+ scrolltop: {
1552
+ root: function root(_ref83) {
1553
+ _ref83.props;
1554
+ return {
1555
+ "class": ['fixed bottom-20 right-20 flex items-center justify-center', 'bg-blue-500 text-white rounded-md h-8 w-8', 'ml-auto']
1556
+ };
1557
+ }
1558
+ },
1559
+ terminal: {
1560
+ root: function root(_ref84) {
1561
+ _ref84.props;
1562
+ return {
1563
+ "class": ['border border-gray-300 p-5', 'bg-gray-900 text-white dark:border-blue-900/40 ', 'h-72 overflow-auto']
1564
+ };
1565
+ },
1566
+ container: {
1567
+ "class": ['flex items-center']
1568
+ },
1569
+ prompt: {
1570
+ "class": ['text-yellow-400']
1571
+ },
1572
+ commandtext: {
1573
+ "class": ['flex-1 flex-shrink-1 flex-grow-0 border-0 bg-transparent text-inherit p-0 outline-none']
1574
+ }
1575
+ },
1576
+ //MENU
1577
+ breadcrumb: {
1578
+ root: {
1579
+ "class": ['overflow-x-auto', 'bg-white dark:bg-gray-900 border border-gray-300 dark:border-blue-900/40 rounded-md p-4']
1580
+ },
1581
+ menu: {
1582
+ "class": ['m-0 p-0 list-none flex items-center flex-nowrap']
1583
+ },
1584
+ action: {
1585
+ "class": ['text-decoration-none flex items-center', 'transition-shadow duration-200 rounded-md text-gray-600 dark:text-white/70', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]']
1586
+ },
1587
+ icon: {
1588
+ "class": ['text-gray-600 dark:text-white/70']
1589
+ },
1590
+ separator: {
1591
+ "class": ['mx-2 text-gray-600 dark:text-white/70', 'flex items-center']
1592
+ }
1593
+ },
1594
+ contextmenu: {
1595
+ root: {
1596
+ "class": ['py-1 bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 border-none shadow-md rounded-lg w-52']
1597
+ },
1598
+ menu: {
1599
+ "class": ['m-0 p-0 list-none', 'outline-none']
1600
+ },
1601
+ menuitem: {
1602
+ "class": ['relative']
1603
+ },
1604
+ content: {
1605
+ "class": ['text-gray-700 dark:text-white/80 transition-shadow duration-200 rounded-none', 'hover:text-gray-700 dark:hover:text-white/80 hover:bg-gray-200 dark:hover:bg-gray-800/80']
1606
+ },
1607
+ action: {
1608
+ "class": ['cursor-pointer flex items-center no-underline overflow-hidden relative', 'text-gray-700 dark:text-white/80 py-3 px-5 select-none']
1609
+ },
1610
+ icon: {
1611
+ "class": ['text-gray-600 dark:text-white/70 mr-2']
1612
+ },
1613
+ label: {
1614
+ "class": ['text-gray-600 dark:text-white/70']
1615
+ }
1616
+ },
1617
+ dock: {
1618
+ root: function root(_ref85) {
1619
+ var props = _ref85.props;
1620
+ return {
1621
+ "class": ['absolute z-1 flex justify-center items-center pointer-events-none', {
1622
+ 'left-0 bottom-0 w-full': props.position == 'bottom',
1623
+ 'left-0 top-0 w-full': props.position == 'top',
1624
+ 'left-0 top-0 h-full': props.position == 'left',
1625
+ 'right-0 top-0 h-full': props.position == 'right'
1626
+ }]
1627
+ };
1628
+ },
1629
+ container: {
1630
+ "class": ['flex pointer-events-auto', 'bg-white/10 border-white/20 p-2 border rounded-md']
1631
+ },
1632
+ menu: function menu(_ref86) {
1633
+ var props = _ref86.props;
1634
+ return {
1635
+ "class": ['m-0 p-0 list-none flex items-center justify-center', 'outline-none', {
1636
+ 'flex-col': props.position == 'left' || props.position == 'right'
1637
+ }]
1638
+ };
1639
+ },
1640
+ menuitem: function menuitem(_ref87) {
1641
+ var props = _ref87.props,
1642
+ context = _ref87.context,
1643
+ instance = _ref87.instance;
1644
+ return {
1645
+ "class": ['p-2 rounded-md', 'transition-all duration-200 ease-cubic-bezier-will-change-transform transform ', {
1646
+ 'origin-bottom hover:mx-6': props.position == 'bottom',
1647
+ 'origin-top hover:mx-6': props.position == 'top',
1648
+ 'origin-left hover:my-6': props.position == 'left',
1649
+ 'origin-right hover:my-6': props.position == 'right'
1650
+ }, {
1651
+ 'hover:scale-150': instance.currentIndex === context.index,
1652
+ 'scale-125': instance.currentIndex - 1 === context.index || instance.currentIndex + 1 === context.index,
1653
+ 'scale-110': instance.currentIndex - 2 === context.index || instance.currentIndex + 2 === context.index
1654
+ }]
1655
+ };
1656
+ },
1657
+ action: {
1658
+ "class": ['flex flex-col items-center justify-center relative overflow-hidden cursor-default', 'w-16 h-16']
1659
+ }
1660
+ },
1661
+ menu: {
1662
+ root: {
1663
+ "class": ['py-1 bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 border border-gray-300 dark:border-blue-900/40 rounded-md w-48']
1664
+ },
1665
+ menu: {
1666
+ "class": ['m-0 p-0 list-none', 'outline-none']
1667
+ },
1668
+ content: {
1669
+ "class": ['text-gray-700 dark:text-white/80 transition-shadow duration-200 rounded-none', 'hover:text-gray-700 dark:hover:text-white/80 hover:bg-gray-200 dark:hover:bg-gray-800/80']
1670
+ },
1671
+ action: {
1672
+ "class": ['text-gray-700 dark:text-white/80 py-3 px-5 select-none', 'cursor-pointer flex items-center no-underline overflow-hidden relative']
1673
+ },
1674
+ icon: {
1675
+ "class": ['text-gray-600 dark:text-white/70 mr-2"']
1676
+ },
1677
+ submenuheader: {
1678
+ "class": ['m-0 p-3 text-gray-700 dark:text-white/80 bg-white dark:bg-gray-900 font-bold rounded-tl-none rounded-tr-none']
1679
+ }
1680
+ },
1681
+ menubar: {
1682
+ root: {
1683
+ "class": ['p-2 bg-gray-100 dark:bg-gray-900 text-gray-700 dark:text-white/80 border border-gray-300 dark:border-blue-900/40 rounded-md', 'flex items-center relative']
1684
+ },
1685
+ menu: function menu(_ref88) {
1686
+ var props = _ref88.props;
1687
+ _ref88.context;
1688
+ return {
1689
+ "class": ['m-0 sm:p-0 list-none', 'outline-none', 'sm:flex items-center flex-wrap sm:flex-row sm:top-auto sm:left-auto sm:relative sm:bg-transparent sm:shadow-none sm:w-auto', 'flex-col top-full left-0', 'absolute py-1 bg-white dark:bg-gray-900 border-0 shadow-md w-full', {
1690
+ 'hidden ': !(props !== null && props !== void 0 && props.mobileActive),
1691
+ 'flex ': props === null || props === void 0 ? void 0 : props.mobileActive
1692
+ }]
1693
+ };
1694
+ },
1695
+ menuitem: function menuitem(_ref89) {
1696
+ _ref89.props;
1697
+ _ref89.context;
1698
+ return {
1699
+ "class": ['sm:relative sm:w-auto', 'w-full static']
1700
+ };
1701
+ },
1702
+ content: function content(_ref90) {
1703
+ var props = _ref90.props,
1704
+ context = _ref90.context;
1705
+ return {
1706
+ "class": [' transition-shadow duration-200', {
1707
+ 'rounded-md': props.root,
1708
+ '': !props.root
1709
+ }, {
1710
+ 'text-gray-700 dark:text-white/80 hover:text-gray-700 dark:hover:text-white/80 hover:bg-gray-200 dark:hover:bg-gray-800/80': !context.active,
1711
+ 'text-blue-600 bg-blue-100': context.active
1712
+ }]
1713
+ };
1714
+ },
1715
+ action: function action(_ref91) {
1716
+ _ref91.props;
1717
+ _ref91.context;
1718
+ return {
1719
+ "class": ['select-none', 'cursor-pointer flex items-center no-underline overflow-hidden relative', 'py-3 px-5 select-none']
1720
+ };
1721
+ },
1722
+ icon: function icon(_ref92) {
1723
+ _ref92.props;
1724
+ var context = _ref92.context;
1725
+ return {
1726
+ "class": ['mr-2', {
1727
+ 'text-gray-600 dark:text-white/70': !context.active,
1728
+ 'text-blue-600': context.active
1729
+ }]
1730
+ };
1731
+ },
1732
+ submenuicon: function submenuicon(_ref93) {
1733
+ var props = _ref93.props,
1734
+ context = _ref93.context;
1735
+ return {
1736
+ "class": [{
1737
+ 'text-gray-600 dark:text-white/70': !context.active,
1738
+ 'text-blue-600': context.active
1739
+ }, {
1740
+ 'ml-2': props.root,
1741
+ 'ml-auto': !props.root
1742
+ }]
1743
+ };
1744
+ },
1745
+ submenu: function submenu(_ref94) {
1746
+ var props = _ref94.props;
1747
+ _ref94.context;
1748
+ return {
1749
+ "class": ['py-1 bg-white dark:bg-gray-900 border-0 sm:shadow-md sm:w-48', 'w-full static shadow-none', 'sm:absolute z-10', 'm-0 list-none', {
1750
+ 'sm:absolute sm:left-full sm:top-0': props.level > 1
1751
+ }]
1752
+ };
1753
+ },
1754
+ separator: {
1755
+ "class": ['border-t border-gray-300 dark:border-blue-900/40 my-1']
1756
+ },
1757
+ button: {
1758
+ "class": ['flex sm:hidden w-8 h-8 rounded-full text-gray-600 dark:text-white/80 transition duration-200 ease-in-out', 'cursor-pointer flex items-center justify-center no-underline', 'hover:text-gray-700 dark:hover:text-white/80 hover:bg-gray-200 dark:hover:bg-gray-800/80 ', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]']
1759
+ }
1760
+ },
1761
+ megamenu: {
1762
+ root: function root(_ref95) {
1763
+ var props = _ref95.props;
1764
+ _ref95.context;
1765
+ return {
1766
+ "class": ['bg-gray-100 dark:bg-gray-900 text-gray-700 dark:text-white/80 border border-gray-300 dark:border-blue-900/40 rounded-md', 'flex relative', {
1767
+ 'p-2 items-center': props.orientation == 'horizontal',
1768
+ 'flex-col w-48 p-0 py-1': props.orientation !== 'horizontal'
1769
+ }]
1770
+ };
1771
+ },
1772
+ menu: function menu(_ref96) {
1773
+ _ref96.props;
1774
+ _ref96.context;
1775
+ return {
1776
+ "class": ['m-0 sm:p-0 list-none relative', 'outline-none', 'flex items-center flex-wrap flex-row top-auto left-auto relative bg-transparent shadow-none w-auto']
1777
+ };
1778
+ },
1779
+ menuitem: function menuitem(_ref97) {
1780
+ var props = _ref97.props;
1781
+ _ref97.context;
1782
+ return {
1783
+ "class": ['relative', {
1784
+ 'w-auto': props.horizontal,
1785
+ 'w-full': !props.horizontal
1786
+ }]
1787
+ };
1788
+ },
1789
+ content: function content(_ref98) {
1790
+ var props = _ref98.props,
1791
+ context = _ref98.context;
1792
+ return {
1793
+ "class": ['transition-shadow duration-200', {
1794
+ 'rounded-md': props.level < 1 && props.horizontal
1795
+ }, {
1796
+ 'text-gray-700 dark:text-white/80 hover:text-gray-700 dark:hover:text-white/80 hover:bg-gray-200 dark:hover:bg-gray-800/80': !context.active,
1797
+ 'text-blue-600 bg-blue-100': context.active
1798
+ }]
1799
+ };
1800
+ },
1801
+ action: function action(_ref99) {
1802
+ _ref99.props;
1803
+ _ref99.context;
1804
+ return {
1805
+ "class": ['select-none', 'cursor-pointer flex items-center no-underline overflow-hidden relative', 'py-3 px-5 select-none']
1806
+ };
1807
+ },
1808
+ icon: function icon(_ref100) {
1809
+ _ref100.props;
1810
+ var context = _ref100.context;
1811
+ return {
1812
+ "class": ['mr-2', {
1813
+ 'text-gray-600 dark:text-white/70': !context.active,
1814
+ 'text-blue-600': context.active
1815
+ }]
1816
+ };
1817
+ },
1818
+ submenuicon: function submenuicon(_ref101) {
1819
+ var props = _ref101.props;
1820
+ _ref101.context;
1821
+ return {
1822
+ "class": [{
1823
+ 'ml-2': props.horizontal,
1824
+ 'ml-auto': !props.horizontal
1825
+ }]
1826
+ };
1827
+ },
1828
+ panel: function panel(_ref102) {
1829
+ var props = _ref102.props;
1830
+ _ref102.context;
1831
+ return {
1832
+ "class": ['py-1 bg-white dark:bg-gray-900 border-0 shadow-md w-auto', 'absolute z-10', {
1833
+ 'left-full top-0': !props.horizontal
1834
+ }]
1835
+ };
1836
+ },
1837
+ grid: {
1838
+ "class": ['flex']
1839
+ },
1840
+ column: {
1841
+ "class": ['w-1/2']
1842
+ },
1843
+ submenu: {
1844
+ "class": ['m-0 list-none', 'py-1 w-48']
1845
+ },
1846
+ submenuheader: {
1847
+ "class": ['m-0 py-3 px-5 text-gray-700 dark:text-white/80 bg-white dark:bg-gray-900 font-semibold rounded-tr-md rounded-tl-md']
1848
+ }
1849
+ },
1850
+ panelmenu: {
1851
+ root: function root(_ref103) {
1852
+ _ref103.props;
1853
+ _ref103.instance;
1854
+ return {
1855
+ "class": ['w-full md:w-[25rem]']
1856
+ };
1857
+ },
1858
+ panel: {
1859
+ "class": ['mb-1']
1860
+ },
1861
+ header: {
1862
+ "class": ['outline-none']
1863
+ },
1864
+ headercontent: {
1865
+ "class": ['border border-solid border-gray-300 dark:border-blue-900/40 text-gray-700 dark:text-white/80 bg-gray-100 dark:bg-gray-900 rounded-md transition-shadow duration-200', 'hover:bg-gray-200 dark:hover:bg-gray-800/80 hover:text-gray-700 dark:hover:text-white/80', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]']
1866
+ },
1867
+ headeraction: {
1868
+ "class": ['flex items-center select-none cursor-pointer relative no-underline', 'text-gray-700 dark:text-white/80 p-5 font-bold']
1869
+ },
1870
+ submenuicon: {
1871
+ "class": ['mr-2']
1872
+ },
1873
+ headericon: {
1874
+ "class": ['mr-2']
1875
+ },
1876
+ menucontent: {
1877
+ "class": ['py-1 border border-t-0 border-gray-300 dark:border-blue-900/40 bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 rounded-t-none rounded-br-md rounded-bl-md']
1878
+ },
1879
+ menu: {
1880
+ "class": ['outline-none', 'm-0 p-0 list-none']
1881
+ },
1882
+ content: {
1883
+ "class": ['text-gray-700 dark:text-white/80 transition-shadow duration-200 border-none rounded-none', 'hover:bg-gray-200 dark:hover:bg-gray-800/80 hover:text-gray-700 dark:hover:text-white/80']
1884
+ },
1885
+ action: {
1886
+ "class": ['text-gray-700 dark:text-white/80 py-3 px-5 select-none', 'flex items-center cursor-pointer no-underline relative overflow-hidden']
1887
+ },
1888
+ icon: {
1889
+ "class": ['mr-2']
1890
+ },
1891
+ submenu: {
1892
+ "class": ['p-0 pl-4 m-0 list-none']
1893
+ }
1894
+ },
1895
+ steps: {
1896
+ root: {
1897
+ "class": ['relative']
1898
+ },
1899
+ menu: {
1900
+ "class": ['p-0 m-0 list-none flex']
1901
+ },
1902
+ menuitem: function menuitem(_ref104) {
1903
+ _ref104.props;
1904
+ return {
1905
+ "class": ['relative flex justify-center flex-1 overflow-hidden', 'before:border-t before:border-gray-300 before:dark:border-blue-900/40 before:w-full before:absolute before:top-1/4 before:left-0 before:transform before:-translate-y-1/2']
1906
+ };
1907
+ },
1908
+ action: {
1909
+ "class": ['inline-flex flex-col items-center overflow-hidden', 'transition-shadow rounded-md bg-white dark:bg-transparent', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]']
1910
+ },
1911
+ step: {
1912
+ "class": ['flex items-center justify-center', 'text-gray-700 dark:text-white/80 border border-gray-300 dark:border-blue-900/40 bg-white dark:bg-gray-900 w-[2rem] h-[2rem] leading-2rem text-sm z-10 rounded-full']
1913
+ },
1914
+ label: {
1915
+ "class": ['block', 'whitespace-nowrap overflow-hidden overflow-ellipsis max-w-full', 'mt-2 text-gray-500 dark:text-white/60']
1916
+ }
1917
+ },
1918
+ tabmenu: {
1919
+ root: {
1920
+ "class": ['overflow-x-auto']
1921
+ },
1922
+ menu: {
1923
+ "class": ['flex m-0 p-0 list-none flex-nowrap', 'bg-white border-solid border-gray-300 border-b-2', 'outline-none no-underline text-base list-none']
1924
+ },
1925
+ menuitem: {
1926
+ "class": ['mr-0']
1927
+ },
1928
+ action: function action(_ref105) {
1929
+ _ref105.props;
1930
+ _ref105.context;
1931
+ return {
1932
+ "class": ['cursor-pointer select-none flex items-center relative no-underline overflow-hidden', 'border-b-2 border-gray-300 bg-white text-gray-600 p-5 font-bold rounded-t-lg ', 'hover:bg-white hover:border-gray-400 hover:text-gray-600'],
1933
+ style: 'top:2px'
1934
+ };
1935
+ },
1936
+ icon: {
1937
+ "class": ['mr-2']
1938
+ }
1939
+ },
1940
+ tieredmenu: {
1941
+ root: {
1942
+ "class": ['py-1 bg-white border border-gray-300 rounded-lg w-[12.5rem]', 'dark:border-blue-900/40 dark:bg-gray-900']
1943
+ },
1944
+ menu: {
1945
+ "class": ['outline-none', 'm-0 p-0 list-none']
1946
+ },
1947
+ menuitem: {
1948
+ "class": ['relative']
1949
+ },
1950
+ content: function content(_ref106) {
1951
+ _ref106.props;
1952
+ _ref106.context;
1953
+ return {
1954
+ "class": ['transition-shadow duration-200 border-none rounded-none', 'hover:bg-gray-200 hover:text-gray-700 dark:hover:text-white/80 dark:hover:bg-gray-800/80']
1955
+ };
1956
+ },
1957
+ action: function action(_ref107) {
1958
+ _ref107.props;
1959
+ var context = _ref107.context;
1960
+ return {
1961
+ "class": ['py-3 px-5 select-none', 'flex items-center cursor-pointer no-underline relative overflow-hidden', {
1962
+ 'text-gray-700 dark:text-white/80 hover:text-gray-700 dark:hover:text-white/80 hover:bg-gray-200 dark:hover:bg-gray-800/80': !context.active,
1963
+ 'text-blue-600 bg-blue-100': context.active
1964
+ }]
1965
+ };
1966
+ },
1967
+ icon: {
1968
+ "class": ['mr-2']
1969
+ },
1970
+ submenuicon: {
1971
+ "class": ['ml-auto']
1972
+ },
1973
+ separator: {
1974
+ "class": ['border-t border-gray-300 my-1 dark:border-blue-900/40']
1975
+ },
1976
+ submenu: {
1977
+ "class": ['py-1 bg-white dark:bg-gray-900 border-0 shadow-md min-w-full', 'absolute z-10', 'left-full top-0']
1978
+ }
1979
+ },
1980
+ //MEDIA
1981
+
1982
+ image: {
1983
+ root: {
1984
+ "class": ['relative inline-block']
1985
+ },
1986
+ button: {
1987
+ "class": ['absolute inset-0 flex items-center justify-center opacity-0 transition-opacity duration-300', 'bg-transparent text-gray-100', 'hover:opacity-100 hover:cursor-pointer hover:bg-black hover:bg-opacity-50']
1988
+ },
1989
+ mask: {
1990
+ "class": ['fixed top-0 left-0 w-full h-full', 'flex items-center justify-center', 'bg-black bg-opacity-90']
1991
+ },
1992
+ toolbar: {
1993
+ "class": ['absolute top-0 right-0 flex', 'p-4']
1994
+ },
1995
+ rotaterightbutton: {
1996
+ "class": ['flex justify-center items-center', 'text-white bg-transparent w-12 h-12 rounded-full transition duration-200 ease-in-out mr-2', 'hover:text-white hover:bg-white/10', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]']
1997
+ },
1998
+ rotaterighticon: {
1999
+ "class": ['w-6 h-6']
2000
+ },
2001
+ rotateleftbutton: {
2002
+ "class": ['flex justify-center items-center', 'text-white bg-transparent w-12 h-12 rounded-full transition duration-200 ease-in-out mr-2', 'hover:text-white hover:bg-white/10', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]']
2003
+ },
2004
+ rotatelefticon: {
2005
+ "class": ['w-6 h-6']
2006
+ },
2007
+ zoomoutbutton: {
2008
+ "class": ['flex justify-center items-center', 'text-white bg-transparent w-12 h-12 rounded-full transition duration-200 ease-in-out mr-2', 'hover:text-white hover:bg-white/10', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]']
2009
+ },
2010
+ zoomouticon: {
2011
+ "class": ['w-6 h-6']
2012
+ },
2013
+ zoominbutton: {
2014
+ "class": ['flex justify-center items-center', 'text-white bg-transparent w-12 h-12 rounded-full transition duration-200 ease-in-out mr-2', 'hover:text-white hover:bg-white/10', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]']
2015
+ },
2016
+ zoominicon: {
2017
+ "class": ['w-6 h-6']
2018
+ },
2019
+ closebutton: {
2020
+ "class": ['flex justify-center items-center', 'text-white bg-transparent w-12 h-12 rounded-full transition duration-200 ease-in-out mr-2', 'hover:text-white hover:bg-white/10', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]']
2021
+ },
2022
+ closeicon: {
2023
+ "class": ['w-6 h-6']
2024
+ }
2025
+ },
2026
+ galleria: {
2027
+ root: function root(_ref108) {
2028
+ _ref108.instance;
2029
+ _ref108.props;
2030
+ return {
2031
+ "class": ['flex flex-col']
2032
+ };
2033
+ },
2034
+ content: {
2035
+ "class": ['flex flex-col']
2036
+ },
2037
+ itemwrapper: {
2038
+ "class": ['flex flex-col relative']
2039
+ },
2040
+ itemcontainer: {
2041
+ "class": ['relative flex h-full']
2042
+ },
2043
+ item: {
2044
+ "class": ['flex justify-center items-center h-full w-full']
2045
+ },
2046
+ thumbnailwrapper: {
2047
+ "class": ['flex flex-col overflow-auto flex-shrink-0']
2048
+ },
2049
+ thumbnailcontainer: {
2050
+ "class": ['flex flex-row', 'bg-black/90 p-4']
2051
+ },
2052
+ previousthumbnailbutton: {
2053
+ "class": ['self-center flex flex-shrink-0 justify-center items-center overflow-hidden relative', 'm-2 bg-transparent text-white w-8 h-8 transition duration-200 ease-in-out rounded-full', 'hover:bg-white/10 hover:text-white', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]']
2054
+ },
2055
+ thumbnailitemscontainer: {
2056
+ "class": ['overflow-hidden w-full']
2057
+ },
2058
+ thumbnailitems: {
2059
+ "class": ['flex']
2060
+ },
2061
+ thumbnailitem: {
2062
+ "class": ['overflow-auto flex items-center justify-center cursor-pointer opacity-50', 'flex-1 flex-grow-0 flex-shrink-0 w-20', 'hover:opacity-100 hover:transition-opacity hover:duration-300']
2063
+ },
2064
+ nextthumbnailbutton: {
2065
+ "class": ['self-center flex flex-shrink-0 justify-center items-center overflow-hidden relative', 'm-2 bg-transparent text-white w-8 h-8 transition duration-200 ease-in-out rounded-full', 'hover:bg-white/10 hover:text-white', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]']
2066
+ },
2067
+ indicators: {
2068
+ "class": ['flex items-center justify-center', 'p-4']
2069
+ },
2070
+ indicator: {
2071
+ "class": ['mr-2']
2072
+ },
2073
+ mask: {
2074
+ "class": ['fixed top-0 left-0 w-full h-full', 'flex items-center justify-center', 'bg-black bg-opacity-90']
2075
+ },
2076
+ closebutton: {
2077
+ "class": ['absolute top-0 right-0 flex justify-center items-center overflow-hidden m-2', 'text-white bg-transparent w-12 h-12 rounded-full transition duration-200 ease-in-out', 'hover:text-white hover:bg-white/10', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]']
2078
+ },
2079
+ closeicon: {
2080
+ "class": ['w-6 h-6']
2081
+ },
2082
+ previousitembutton: {
2083
+ "class": ['inline-flex justify-center items-center overflow-hidden', 'bg-transparent text-white w-16 h-16 transition duration-200 ease-in-out rounded-md mx-2', 'fixed top-1/2 mt-[-0.5rem]', 'left-0', 'hover:bg-white/10 hover:text-white', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]']
2084
+ },
2085
+ nextitembutton: {
2086
+ "class": ['inline-flex justify-center items-center overflow-hidden', 'bg-transparent text-white w-16 h-16 transition duration-200 ease-in-out rounded-md mx-2', 'fixed top-1/2 mt-[-0.5rem]', 'right-0', 'hover:bg-white/10 hover:text-white', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]']
2087
+ },
2088
+ caption: {
2089
+ "class": ['absolute bottom-0 left-0 w-full', 'bg-black/50 text-white p-4']
2090
+ }
2091
+ },
2092
+ carousel: {
2093
+ root: {
2094
+ "class": ['flex flex-col']
2095
+ },
2096
+ content: {
2097
+ "class": ['flex flex-col overflow-auto']
2098
+ },
2099
+ container: {
2100
+ "class": ['flex flex-row']
2101
+ },
2102
+ previousbutton: function previousbutton(_ref109) {
2103
+ _ref109.props;
2104
+ _ref109.context;
2105
+ return {
2106
+ "class": ['flex justify-center items-center self-center overflow-hidden relative flex-shrink-0 flex-grow-0', 'w-8 h-8 text-gray-600 border-0 bg-transparent rounded-full transition duration-200 ease-in-out mx-2']
2107
+ };
2108
+ },
2109
+ itemscontent: {
2110
+ "class": ['overflow-hidden w-full']
2111
+ },
2112
+ itemscontainer: {
2113
+ "class": ['flex flex-row']
2114
+ },
2115
+ item: {
2116
+ "class": ['flex-1']
2117
+ }
2118
+ },
2119
+ tree: {
2120
+ root: {
2121
+ "class": ['max-w-[30rem] md:w-full', 'border border-solid border-gray-300 dark:border-blue-900/40 bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 p-5 rounded-md']
2122
+ },
2123
+ wrapper: {
2124
+ "class": ['overflow-auto']
2125
+ },
2126
+ container: {
2127
+ "class": ['m-0 p-0 list-none overflow-auto']
2128
+ },
2129
+ node: {
2130
+ "class": ['p-1 outline-none']
2131
+ },
2132
+ content: function content(_ref110) {
2133
+ var context = _ref110.context,
2134
+ props = _ref110.props;
2135
+ return {
2136
+ "class": ['flex items-center', 'rounded-lg transition-shadow duration-200 p-2', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
2137
+ 'bg-blue-50 text-blue-600': context.selected
2138
+ }, {
2139
+ 'cursor-pointer select-none': props.selectionMode == 'single' || props.selectionMode == 'multiple'
2140
+ }]
2141
+ };
2142
+ },
2143
+ toggler: function toggler(_ref111) {
2144
+ var context = _ref111.context;
2145
+ return {
2146
+ "class": ['cursor-pointer select-none inline-flex items-center justify-center overflow-hidden relative flex-shrink-0', 'mr-2 w-8 h-8 border-0 bg-transparent rounded-full transition duration-200', 'hover:border-transparent focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
2147
+ 'text-gray-500 dark:text-white/80 hover:bg-gray-200 dark:hover:bg-gray-800/80 hover:text-gray-800 dark:hover:text-white/80': !context.selected,
2148
+ 'text-blue-600 hover:bg-white/30': context.selected
2149
+ }]
2150
+ };
2151
+ },
2152
+ checkboxcontainer: {
2153
+ "class": ['mr-2']
2154
+ },
2155
+ checkbox: function checkbox(_ref112) {
2156
+ var context = _ref112.context,
2157
+ props = _ref112.props;
2158
+ return {
2159
+ "class": ['cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6', 'flex items-center justify-center', 'border-2 w-6 h-6 rounded-lg transition-colors duration-200 text-white text-base dark:text-gray-900', {
2160
+ 'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900': !context.checked,
2161
+ 'border-blue-500 text-white bg-blue-500 dark:border-blue-400 dark:bg-blue-400': context.checked
2162
+ }, {
2163
+ 'hover:border-blue-500 dark:hover:border-blue-400 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': !props.disabled,
2164
+ 'cursor-default opacity-60': props.disabled
2165
+ }]
2166
+ };
2167
+ },
2168
+ nodeicon: {
2169
+ "class": ['mr-2 text-gray-600 dark:text-white/70']
2170
+ },
2171
+ subgroup: {
2172
+ "class": ['m-0 list-none', 'p-0 pl-4']
2173
+ },
2174
+ filtercontainer: {
2175
+ "class": ['mb-2', 'relative block w-full']
2176
+ },
2177
+ input: {
2178
+ "class": ['m-0 p-3 text-base w-full pr-7', 'font-sans text-gray-600 dark:text-white/70 bg-white dark:bg-gray-900 border border-gray-300 dark:border-blue-900/40 transition-colors duration-200 appearance-none rounded-lg', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]']
2179
+ },
2180
+ searchicon: {
2181
+ "class": ['absolute top-1/2 -mt-2 right-3 text-gray-600 dark:hover:text-white/70']
2182
+ }
2183
+ },
2184
+ // DATA
2185
+ timeline: {
2186
+ root: function root(_ref113) {
2187
+ var props = _ref113.props;
2188
+ return {
2189
+ "class": ['flex flex-grow', {
2190
+ 'flex-col': props.layout === 'vertical',
2191
+ 'flex-row flex-1': props.layout === 'horizontal'
2192
+ }]
2193
+ };
2194
+ },
2195
+ event: function event(_ref114) {
2196
+ var props = _ref114.props,
2197
+ context = _ref114.context;
2198
+ return {
2199
+ "class": ['flex relative min-h-[70px]', {
2200
+ 'flex-row-reverse': props.align === 'right' || props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 1,
2201
+ 'flex-col flex-1': props.layout === 'horizontal',
2202
+ 'flex-col-reverse ': props.align === 'bottom' || props.layout === 'horizontal' && props.align === 'alternate' && context.index % 2 === 1
2203
+ }]
2204
+ };
2205
+ },
2206
+ opposite: function opposite(_ref115) {
2207
+ var props = _ref115.props,
2208
+ context = _ref115.context;
2209
+ return {
2210
+ "class": ['flex-1', {
2211
+ 'px-4': props.layout === 'vertical',
2212
+ 'py-4': props.layout === 'horizontal'
2213
+ }, {
2214
+ 'text-right': props.align === 'left' || props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 0,
2215
+ 'text-left': props.align === 'right' || props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 1
2216
+ }]
2217
+ };
2218
+ },
2219
+ separator: function separator(_ref116) {
2220
+ var props = _ref116.props;
2221
+ return {
2222
+ "class": ['flex items-center flex-initial', {
2223
+ 'flex-col': props.layout === 'vertical',
2224
+ 'flex-row': props.layout === 'horizontal'
2225
+ }]
2226
+ };
2227
+ },
2228
+ marker: {
2229
+ "class": ['flex self-baseline w-4 h-4 rounded-full border-2 border-blue-500 bg-white dark:border-blue-300 dark:bg-blue-900/40']
2230
+ },
2231
+ connector: function connector(_ref117) {
2232
+ var props = _ref117.props;
2233
+ return {
2234
+ "class": ['flex-grow bg-gray-300 dark:bg-blue-900/40', {
2235
+ 'w-[2px]': props.layout === 'vertical',
2236
+ 'w-full h-[2px]': props.layout === 'horizontal'
2237
+ }]
2238
+ };
2239
+ },
2240
+ content: function content(_ref118) {
2241
+ var props = _ref118.props,
2242
+ context = _ref118.context;
2243
+ return {
2244
+ "class": ['flex-1', {
2245
+ 'px-4': props.layout === 'vertical',
2246
+ 'py-4': props.layout === 'horizontal'
2247
+ }, {
2248
+ 'text-left': props.align === 'left' || props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 0,
2249
+ 'text-right': props.align === 'right' || props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 1
2250
+ }, {
2251
+ 'min-h-0': props.layout === 'vertical' && context.index === context.count,
2252
+ 'flex-grow-0': props.layout === 'horizontal' && context.index === context.count
2253
+ }]
2254
+ };
2255
+ }
2256
+ },
2257
+ dataview: {
2258
+ content: {
2259
+ "class": ['bg-white blue-gray-700 border-0 p-0', 'bg-gray-900 dark:text-white/80' // Dark Mode
2260
+ ]
2261
+ },
2262
+
2263
+ grid: {
2264
+ "class": 'flex flex-wrap ml-0 mr-0 mt-0'
2265
+ },
2266
+ header: {
2267
+ "class": 'bg-gray-100 text-blue-gray-800 border-gray-200 border-t border-b p-4 font-bold'
2268
+ }
2269
+ },
2270
+ dataviewlayoutoptions: {
2271
+ listbutton: function listbutton(_ref119) {
2272
+ var props = _ref119.props;
2273
+ return {
2274
+ "class": ['items-center cursor-pointer inline-flex overflow-hidden relative select-none text-center align-bottom justify-center border', 'transition duration-200', 'w-12 pt-3 pb-3 rounded-lg rounded-r-none', props.modelValue === 'list' ? 'bg-blue-500 border-blue-500 text-white dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900' : 'bg-white border-gray-300 text-blue-gray-700 dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80' // highlighted state
2275
+ ]
2276
+ };
2277
+ },
2278
+
2279
+ gridbutton: function gridbutton(_ref120) {
2280
+ var props = _ref120.props;
2281
+ return {
2282
+ "class": ['items-center cursor-pointer inline-flex overflow-hidden relative select-none text-center align-bottom justify-center border', 'transition duration-200', 'w-12 pt-3 pb-3 rounded-lg rounded-l-none', props.modelValue === 'grid' ? 'bg-blue-500 border-blue-500 text-white dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900' : 'bg-white border-gray-300 text-blue-gray-700 dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80' // highlighted state
2283
+ ]
2284
+ };
2285
+ }
2286
+ },
2287
+
2288
+ organizationchart: {
2289
+ table: {
2290
+ "class": 'mx-auto my-0 border-spacing-0 border-separate'
2291
+ },
2292
+ cell: {
2293
+ "class": 'text-center align-top py-0 px-3'
2294
+ },
2295
+ node: {
2296
+ "class": ['relative inline-block bg-white border border-gray-300 text-gray-600 p-5', 'dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80' // Dark Mode
2297
+ ]
2298
+ },
2299
+
2300
+ linecell: {
2301
+ "class": 'text-center align-top py-0 px-3'
2302
+ },
2303
+ linedown: {
2304
+ "class": ['mx-auto my-0 w-px h-[20px] bg-gray-300', 'dark:bg-blue-900/40' //Dark Mode
2305
+ ]
2306
+ },
2307
+
2308
+ lineleft: function lineleft(_ref121) {
2309
+ var context = _ref121.context;
2310
+ return {
2311
+ "class": ['text-center align-top py-0 px-3 rounded-none border-r border-gray-300', {
2312
+ 'border-t': context.lineTop
2313
+ }, 'dark:border-blue-900/40' //Dark Mode
2314
+ ]
2315
+ };
2316
+ },
2317
+
2318
+ lineright: function lineright(_ref122) {
2319
+ var context = _ref122.context;
2320
+ return {
2321
+ "class": ['text-center align-top py-0 px-3 rounded-none', {
2322
+ 'border-t border-gray-300': context.lineTop
2323
+ }, 'dark:border-blue-900/40' //Dark Mode
2324
+ ]
2325
+ };
2326
+ },
2327
+
2328
+ nodecell: {
2329
+ "class": 'text-center align-top py-0 px-3'
2330
+ },
2331
+ nodetoggler: {
2332
+ "class": ['absolute bottom-[-0.75rem] left-2/4 -ml-3 w-6 h-6 bg-inherit text-inherit rounded-full z-2 cursor-pointer no-underline select-none', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]' // Focus styles
2333
+ ]
2334
+ },
2335
+
2336
+ nodetogglericon: {
2337
+ "class": 'relative inline-block w-4 h-4'
2338
+ }
2339
+ },
2340
+ orderlist: {
2341
+ root: {
2342
+ "class": 'flex'
2343
+ },
2344
+ controls: {
2345
+ "class": 'flex flex-col justify-center p-5'
2346
+ },
2347
+ moveupbutton: {
2348
+ root: function root(_ref123) {
2349
+ var context = _ref123.context;
2350
+ return {
2351
+ "class": ['relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2352
+ // button component
2353
+ 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2354
+ // icon only
2355
+ 'mb-2',
2356
+ // orderlist button
2357
+ 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
2358
+ //Dark Mode
2359
+ {
2360
+ 'cursor-default pointer-events-none opacity-60': context.disabled
2361
+ }]
2362
+ };
2363
+ }
2364
+ },
2365
+ movetopbutton: {
2366
+ root: function root(_ref124) {
2367
+ var context = _ref124.context;
2368
+ return {
2369
+ "class": ['relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2370
+ // button component
2371
+ 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2372
+ // icon only
2373
+ 'mb-2',
2374
+ // orderlist button
2375
+ 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
2376
+ //Dark Mode
2377
+ {
2378
+ 'cursor-default pointer-events-none opacity-60': context.disabled
2379
+ }]
2380
+ };
2381
+ }
2382
+ },
2383
+ movedownbutton: {
2384
+ root: function root(_ref125) {
2385
+ var context = _ref125.context;
2386
+ return {
2387
+ "class": ['relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2388
+ // button component
2389
+ 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2390
+ // icon only
2391
+ 'mb-2',
2392
+ // orderlist button
2393
+ 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
2394
+ //Dark Mode
2395
+ {
2396
+ 'cursor-default pointer-events-none opacity-60': context.disabled
2397
+ }]
2398
+ };
2399
+ }
2400
+ },
2401
+ movebottombutton: {
2402
+ root: function root(_ref126) {
2403
+ var context = _ref126.context;
2404
+ return {
2405
+ "class": ['relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2406
+ // button component
2407
+ 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2408
+ // icon only
2409
+ 'mb-2',
2410
+ // orderlist button
2411
+ 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
2412
+ //Dark Mode
2413
+ {
2414
+ 'cursor-default pointer-events-none opacity-60': context.disabled
2415
+ }]
2416
+ };
2417
+ }
2418
+ },
2419
+ container: {
2420
+ "class": 'flex-auto'
2421
+ },
2422
+ header: {
2423
+ "class": ['bg-slate-50 text-slate-700 border border-gray-300 p-5 font-bold border-b-0 rounded-t-md', 'dark:bg-gray-900 dark:text-white/80 dark:border-blue-900/40' //Dark Mode
2424
+ ]
2425
+ },
2426
+
2427
+ list: {
2428
+ "class": ['list-none m-0 p-0 overflow-auto min-h-[12rem] max-h-[24rem]', 'border border-gray-300 bg-white text-gray-600 py-3 px-0 rounded-b-md outline-none', 'dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80' //Dark Mode
2429
+ ]
2430
+ },
2431
+
2432
+ item: function item(_ref127) {
2433
+ var context = _ref127.context;
2434
+ return {
2435
+ "class": ['relative cursor-pointer overflow-hidden', 'py-3 px-5 m-0 border-none text-gray-600 dark:text-white/80', 'transition duration-200', {
2436
+ 'text-blue-700 bg-blue-500/20 dark:bg-blue-300/20': context.active && !context.focused,
2437
+ 'text-blue-700 bg-blue-500/30 dark:bg-blue-300/30': context.active && context.focused,
2438
+ 'text-gray-600 bg-gray-300 dark:bg-blue-900/40': !context.active && context.focused
2439
+ }]
2440
+ };
2441
+ }
2442
+ },
2443
+ picklist: {
2444
+ root: {
2445
+ "class": 'flex'
2446
+ },
2447
+ sourcecontrols: {
2448
+ "class": 'flex flex-col justify-center p-5'
2449
+ },
2450
+ sourcemoveupbutton: {
2451
+ root: function root(_ref128) {
2452
+ var context = _ref128.context;
2453
+ return {
2454
+ "class": ['relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2455
+ // button component
2456
+ 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2457
+ // icon only
2458
+ 'mb-2',
2459
+ // orderlist button
2460
+ 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
2461
+ //Dark Mode
2462
+ {
2463
+ 'cursor-default pointer-events-none opacity-60': context.disabled
2464
+ }]
2465
+ };
2466
+ }
2467
+ },
2468
+ sourcemovetopbutton: {
2469
+ root: function root(_ref129) {
2470
+ var context = _ref129.context;
2471
+ return {
2472
+ "class": ['relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2473
+ // button component
2474
+ 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2475
+ // icon only
2476
+ 'mb-2',
2477
+ // orderlist button
2478
+ 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
2479
+ //Dark Mode
2480
+ {
2481
+ 'cursor-default pointer-events-none opacity-60': context.disabled
2482
+ }]
2483
+ };
2484
+ }
2485
+ },
2486
+ sourcemovedownbutton: {
2487
+ root: function root(_ref130) {
2488
+ var context = _ref130.context;
2489
+ return {
2490
+ "class": ['relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2491
+ // button component
2492
+ 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2493
+ // icon only
2494
+ 'mb-2',
2495
+ // orderlist button
2496
+ 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
2497
+ //Dark Mode
2498
+ {
2499
+ 'cursor-default pointer-events-none opacity-60': context.disabled
2500
+ }]
2501
+ };
2502
+ }
2503
+ },
2504
+ sourcemovebottombutton: {
2505
+ root: function root(_ref131) {
2506
+ var context = _ref131.context;
2507
+ return {
2508
+ "class": ['relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2509
+ // button component
2510
+ 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2511
+ // icon only
2512
+ 'mb-2',
2513
+ // orderlist button
2514
+ 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
2515
+ //Dark Mode
2516
+ {
2517
+ 'cursor-default pointer-events-none opacity-60': context.disabled
2518
+ }]
2519
+ };
2520
+ }
2521
+ },
2522
+ sourcewrapper: {
2523
+ "class": 'grow shrink basis-2/4'
2524
+ },
2525
+ sourceheader: {
2526
+ "class": ['bg-slate-50 text-slate-700 border border-gray-300 p-5 font-bold border-b-0 rounded-t-md', 'dark:bg-gray-900 dark:text-white/80 dark:border-blue-900/40' //Dark Mode
2527
+ ]
2528
+ },
2529
+
2530
+ sourcelist: {
2531
+ "class": ['list-none m-0 p-0 overflow-auto min-h-[12rem] max-h-[24rem]', 'border border-gray-300 bg-white text-gray-600 py-3 px-0 rounded-b-md outline-none', 'dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80' //Dark Mode
2532
+ ]
2533
+ },
2534
+
2535
+ item: function item(_ref132) {
2536
+ var context = _ref132.context;
2537
+ return {
2538
+ "class": ['relative cursor-pointer overflow-hidden', 'py-3 px-5 m-0 border-none text-gray-600 dark:text-white/80', 'transition duration-200', {
2539
+ 'text-blue-700 bg-blue-500/20 dark:bg-blue-300/20': context.active && !context.focused,
2540
+ 'text-blue-700 bg-blue-500/30 dark:bg-blue-300/30': context.active && context.focused,
2541
+ 'text-gray-600 bg-gray-300 dark:bg-blue-900/40': !context.active && context.focused
2542
+ }]
2543
+ };
2544
+ },
2545
+ buttons: {
2546
+ "class": 'flex flex-col justify-center p-5'
2547
+ },
2548
+ movetotargetbutton: {
2549
+ root: function root(_ref133) {
2550
+ var context = _ref133.context;
2551
+ return {
2552
+ "class": ['relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2553
+ // button component
2554
+ 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2555
+ // icon only
2556
+ 'mb-2',
2557
+ // orderlist button
2558
+ 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
2559
+ //Dark Mode
2560
+ {
2561
+ 'cursor-default pointer-events-none opacity-60': context.disabled
2562
+ }]
2563
+ };
2564
+ }
2565
+ },
2566
+ movealltotargetbutton: {
2567
+ root: function root(_ref134) {
2568
+ var context = _ref134.context;
2569
+ return {
2570
+ "class": ['relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2571
+ // button component
2572
+ 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2573
+ // icon only
2574
+ 'mb-2',
2575
+ // orderlist button
2576
+ 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
2577
+ //Dark Mode
2578
+ {
2579
+ 'cursor-default pointer-events-none opacity-60': context.disabled
2580
+ }]
2581
+ };
2582
+ }
2583
+ },
2584
+ movetosourcebutton: {
2585
+ root: function root(_ref135) {
2586
+ var context = _ref135.context;
2587
+ return {
2588
+ "class": ['relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2589
+ // button component
2590
+ 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2591
+ // icon only
2592
+ 'mb-2',
2593
+ // orderlist button
2594
+ 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
2595
+ //Dark Mode
2596
+ {
2597
+ 'cursor-default pointer-events-none opacity-60': context.disabled
2598
+ }]
2599
+ };
2600
+ }
2601
+ },
2602
+ movealltosourcebutton: {
2603
+ root: function root(_ref136) {
2604
+ var context = _ref136.context;
2605
+ return {
2606
+ "class": ['relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2607
+ // button component
2608
+ 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2609
+ // icon only
2610
+ 'mb-2',
2611
+ // orderlist button
2612
+ 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
2613
+ //Dark Mode
2614
+ {
2615
+ 'cursor-default pointer-events-none opacity-60': context.disabled
2616
+ }]
2617
+ };
2618
+ }
2619
+ },
2620
+ targetcontrols: {
2621
+ "class": 'flex flex-col justify-center p-5'
2622
+ },
2623
+ targetmoveupbutton: {
2624
+ root: function root(_ref137) {
2625
+ var context = _ref137.context;
2626
+ return {
2627
+ "class": ['relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2628
+ // button component
2629
+ 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2630
+ // icon only
2631
+ 'mb-2',
2632
+ // orderlist button
2633
+ 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
2634
+ //Dark Mode
2635
+ {
2636
+ 'cursor-default pointer-events-none opacity-60': context.disabled
2637
+ }]
2638
+ };
2639
+ }
2640
+ },
2641
+ targetmovetopbutton: {
2642
+ root: function root(_ref138) {
2643
+ var context = _ref138.context;
2644
+ return {
2645
+ "class": ['relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2646
+ // button component
2647
+ 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2648
+ // icon only
2649
+ 'mb-2',
2650
+ // orderlist button
2651
+ 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
2652
+ //Dark Mode
2653
+ {
2654
+ 'cursor-default pointer-events-none opacity-60': context.disabled
2655
+ }]
2656
+ };
2657
+ }
2658
+ },
2659
+ targetmovedownbutton: {
2660
+ root: function root(_ref139) {
2661
+ var context = _ref139.context;
2662
+ return {
2663
+ "class": ['relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2664
+ // button component
2665
+ 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2666
+ // icon only
2667
+ 'mb-2',
2668
+ // orderlist button
2669
+ 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
2670
+ //Dark Mode
2671
+ {
2672
+ 'cursor-default pointer-events-none opacity-60': context.disabled
2673
+ }]
2674
+ };
2675
+ }
2676
+ },
2677
+ targetmovebottombutton: {
2678
+ root: function root(_ref140) {
2679
+ var context = _ref140.context;
2680
+ return {
2681
+ "class": ['relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
2682
+ // button component
2683
+ 'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
2684
+ // icon only
2685
+ 'mb-2',
2686
+ // orderlist button
2687
+ 'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
2688
+ //Dark Mode
2689
+ {
2690
+ 'cursor-default pointer-events-none opacity-60': context.disabled
2691
+ }]
2692
+ };
2693
+ }
2694
+ },
2695
+ targetwrapper: {
2696
+ "class": 'grow shrink basis-2/4'
2697
+ },
2698
+ targetheader: {
2699
+ "class": ['bg-slate-50 text-slate-700 border border-gray-300 p-5 font-bold border-b-0 rounded-t-md', 'dark:bg-gray-900 dark:text-white/80 dark:border-blue-900/40' //Dark Mode
2700
+ ]
2701
+ },
2702
+
2703
+ targetlist: {
2704
+ "class": ['list-none m-0 p-0 overflow-auto min-h-[12rem] max-h-[24rem]', 'border border-gray-300 bg-white text-gray-600 py-3 px-0 rounded-b-md outline-none', 'dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80' //Dark Mode
2705
+ ]
2706
+ }
2707
+ },
2708
+
2709
+ paginator: {
2710
+ root: {
2711
+ "class": ['flex items-center justify-center flex-wrap', 'bg-white text-gray-500 border-0 px-4 py-2 rounded-md', 'dark:bg-gray-900 dark:text-white/60 dark:border-blue-900/40' // Dark Mode
2712
+ ]
2713
+ },
2714
+
2715
+ firstpagebutton: function firstpagebutton(_ref141) {
2716
+ var context = _ref141.context;
2717
+ return {
2718
+ "class": ['relative inline-flex items-center justify-center user-none overflow-hidden leading-none', 'border-0 text-gray-500 min-w-[3rem] h-12 m-[0.143rem] rounded-md', 'transition duration-200', 'dark:text-white',
2719
+ //Dark Mode
2720
+ {
2721
+ 'cursor-default pointer-events-none opacity-60': context.disabled,
2722
+ 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]': !context.disabled // Focus
2723
+ }]
2724
+ };
2725
+ },
2726
+
2727
+ previouspagebutton: function previouspagebutton(_ref142) {
2728
+ var context = _ref142.context;
2729
+ return {
2730
+ "class": ['relative inline-flex items-center justify-center user-none overflow-hidden leading-none', 'border-0 text-gray-500 min-w-[3rem] h-12 m-[0.143rem] rounded-md', 'transition duration-200', 'dark:text-white',
2731
+ //Dark Mode
2732
+ {
2733
+ 'cursor-default pointer-events-none opacity-60': context.disabled,
2734
+ 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]': !context.disabled // Focus
2735
+ }]
2736
+ };
2737
+ },
2738
+
2739
+ nextpagebutton: function nextpagebutton(_ref143) {
2740
+ var context = _ref143.context;
2741
+ return {
2742
+ "class": ['relative inline-flex items-center justify-center user-none overflow-hidden leading-none', 'border-0 text-gray-500 min-w-[3rem] h-12 m-[0.143rem] rounded-md', 'transition duration-200', 'dark:text-white',
2743
+ //Dark Mode
2744
+ {
2745
+ 'cursor-default pointer-events-none opacity-60': context.disabled,
2746
+ 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]': !context.disabled // Focus
2747
+ }]
2748
+ };
2749
+ },
2750
+
2751
+ lastpagebutton: function lastpagebutton(_ref144) {
2752
+ var context = _ref144.context;
2753
+ return {
2754
+ "class": ['relative inline-flex items-center justify-center user-none overflow-hidden leading-none', 'border-0 text-gray-500 min-w-[3rem] h-12 m-[0.143rem] rounded-md', 'transition duration-200', 'dark:text-white',
2755
+ //Dark Mode
2756
+ {
2757
+ 'cursor-default pointer-events-none opacity-60': context.disabled,
2758
+ 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]': !context.disabled // Focus
2759
+ }]
2760
+ };
2761
+ },
2762
+
2763
+ pagebutton: function pagebutton(_ref145) {
2764
+ var context = _ref145.context;
2765
+ return {
2766
+ "class": ['relative inline-flex items-center justify-center user-none overflow-hidden leading-none', 'border-0 text-gray-500 min-w-[3rem] h-12 m-[0.143rem] rounded-md', 'transition duration-200', 'dark:border-blue-300 dark:text-white',
2767
+ // Dark Mode
2768
+ 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]',
2769
+ // Focus
2770
+ {
2771
+ 'bg-blue-50 border-blue-50 text-blue-700 dark:bg-blue-300': context.active
2772
+ }]
2773
+ };
2774
+ },
2775
+ rowperpagedropdown: {
2776
+ root: function root(_ref146) {
2777
+ var props = _ref146.props,
2778
+ state = _ref146.state;
2779
+ return {
2780
+ "class": ['inline-flex relative cursor-pointer user-none', 'bg-white border rounded-md', 'transition duration-200', 'h-12 mx-2', 'dark:bg-gray-950 dark:border-blue-900/40',
2781
+ //DarkMode
2782
+ {
2783
+ 'outline-none outline-offset-0 shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] border-blue-500': state.focused && !props.disabled,
2784
+ //Focus
2785
+ 'border-gray-300': !state.focused,
2786
+ 'hover:border-blue-500': !props.disabled //Hover
2787
+ }]
2788
+ };
2789
+ },
2790
+
2791
+ input: {
2792
+ "class": ['font-sans text-base text-gray-600 p-3 m-0 rounded-md apperance-none', 'block whitespace-nowrap overflow-hidden flex-auto w-[1%] cursor-pointer text-ellipsis border-0 pr-0', 'focus:outline-none focus:outline-offset-0', 'dark:text-white' //Dark Mode
2793
+ ]
2794
+ },
2795
+
2796
+ trigger: {
2797
+ "class": ['flex items-center justify-center shrink-0', 'text-gray-500 dark:text-white w-12 rounded-r-md']
2798
+ },
2799
+ panel: {
2800
+ "class": ['bg-white text-gray-600 border-0 rounded-md shadow-[0_2px_12px_rgba(0,0,0,0.1)]', 'dark:bg-gray-900 dark:text-white/80 dark:border-blue-900/40' //Dark Mode
2801
+ ]
2802
+ },
2803
+
2804
+ wrapper: {
2805
+ "class": 'overflow-auto'
2806
+ },
2807
+ list: {
2808
+ "class": 'm-0 p-0 py-3 list-none'
2809
+ },
2810
+ item: function item(_ref147) {
2811
+ var context = _ref147.context;
2812
+ return {
2813
+ "class": ['relative font-normal cursor-pointer space-nowrap overflow-hidden', 'm-0 py-3 px-5 border-none text-gray-600 rounded-none', 'transition duration-200', 'dark:text-white/80',
2814
+ // Dark Mode
2815
+ {
2816
+ 'text-blue-700 bg-blue-50 dark:text-white/80 dark:bg-blue-300': !context.focused && context.selected,
2817
+ 'bg-blue-300/40': context.focused && context.selected,
2818
+ 'text-gray-600 bg-gray-300 dark:text-white/80 dark:bg-blue-900/40': context.focused && !context.selected
2819
+ }]
2820
+ };
2821
+ }
2822
+ },
2823
+ jumptopageinput: {
2824
+ root: {
2825
+ "class": 'inline-flex mx-2'
2826
+ },
2827
+ input: {
2828
+ "class": ['font-sans text-base text-gray-600 p-3 m-0 rounded-md apperance-none', 'block whitespace-nowrap overflow-hidden flex-auto w-[1%] cursor-pointer text-ellipsis border border-gray-300 pr-0', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] focus:border-blue-300', 'dark:text-white dark:bg-gray-950 dark:border-blue-900/40',
2829
+ //Dark Mode
2830
+ 'm-0 flex-auto max-w-[3rem]']
2831
+ }
2832
+ },
2833
+ jumptopagedropdown: {
2834
+ root: function root(_ref148) {
2835
+ var props = _ref148.props,
2836
+ state = _ref148.state;
2837
+ return {
2838
+ "class": ['inline-flex relative cursor-pointer user-none', 'bg-white border rounded-md', 'transition duration-200', 'h-12 mx-2', 'dark:bg-gray-950 dark:border-blue-900/40',
2839
+ //DarkMode
2840
+ {
2841
+ 'outline-none outline-offset-0 shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] border-blue-500': state.focused && !props.disabled,
2842
+ //Focus
2843
+ 'border-gray-300': !state.focused,
2844
+ 'hover:border-blue-500': !props.disabled //Hover
2845
+ }]
2846
+ };
2847
+ },
2848
+
2849
+ input: {
2850
+ "class": ['font-sans text-base text-gray-600 p-3 m-0 rounded-md apperance-none', 'block whitespace-nowrap overflow-hidden flex-auto w-[1%] cursor-pointer text-ellipsis border-0 pr-0', 'focus:outline-none focus:outline-offset-0', 'dark:text-white' //Dark Mode
2851
+ ]
2852
+ },
2853
+
2854
+ trigger: {
2855
+ "class": ['flex items-center justify-center shrink-0', 'text-gray-500 dark:text-white w-12 rounded-r-md']
2856
+ },
2857
+ panel: {
2858
+ "class": ['bg-white text-gray-600 border-0 rounded-md shadow-[0_2px_12px_rgba(0,0,0,0.1)]', 'dark:bg-gray-900 dark:text-white/80 dark:border-blue-900/40' //Dark Mode
2859
+ ]
2860
+ },
2861
+
2862
+ wrapper: {
2863
+ "class": 'overflow-auto'
2864
+ },
2865
+ list: {
2866
+ "class": 'm-0 p-0 py-3 list-none'
2867
+ },
2868
+ item: function item(_ref149) {
2869
+ var context = _ref149.context;
2870
+ return {
2871
+ "class": ['relative font-normal cursor-pointer space-nowrap overflow-hidden', 'm-0 py-3 px-5 border-none text-gray-600 rounded-none', 'transition duration-200', 'dark:text-white/80',
2872
+ // Dark Mode
2873
+ {
2874
+ 'text-blue-700 bg-blue-50 dark:text-white/80 dark:bg-blue-300': !context.focused && context.selected,
2875
+ 'bg-blue-300/40': context.focused && context.selected,
2876
+ 'text-gray-600 bg-gray-300 dark:text-white/80 dark:bg-blue-900/40': context.focused && !context.selected
2877
+ }]
2878
+ };
2879
+ }
2880
+ }
2881
+ },
2882
+ treetable: {
2883
+ root: function root(_ref150) {
2884
+ var props = _ref150.props;
2885
+ return {
2886
+ "class": ['relative', {
2887
+ 'flex flex-col h-full': props.scrollHeight === 'flex'
2888
+ }]
2889
+ };
2890
+ },
2891
+ loadingoverlay: {
2892
+ "class": ['fixed w-full h-full t-0 l-0 bg-gray-100/40', 'transition duration-200', 'absolute flex items-center justify-center z-2', 'dark:bg-gray-950/40' // Dark Mode
2893
+ ]
2894
+ },
2895
+
2896
+ loadingicon: {
2897
+ "class": 'w-8 h-8'
2898
+ },
2899
+ header: {
2900
+ "class": ['bg-slate-50 text-slate-700 border border-x-0 border-t-0 border-gray-300 p-4 font-bold', 'dark:bg-gray-900 dark:text-white/70 dark:border-blue-900/40' // Dark Mode
2901
+ ]
2902
+ },
2903
+
2904
+ wrapper: function wrapper(_ref151) {
2905
+ var props = _ref151.props;
2906
+ return {
2907
+ "class": [{
2908
+ 'relative overflow-auto': props.scrollable,
2909
+ 'overflow-x-auto': props.resizableColumns
2910
+ }]
2911
+ };
2912
+ },
2913
+ footer: {
2914
+ "class": ['bg-slate-50 text-slate-700 border border-x-0 border-t-0 border-gray-300 p-4 font-bold', 'dark:bg-gray-900 dark:text-white/70 dark:border-blue-900/40' // Dark Mode
2915
+ ]
2916
+ },
2917
+
2918
+ table: {
2919
+ "class": 'border-collapse table-fixed w-full'
2920
+ },
2921
+ thead: function thead(_ref152) {
2922
+ var props = _ref152.props;
2923
+ return {
2924
+ "class": [{
2925
+ 'block sticky top-0 z-[1]': props.scrollable
2926
+ }]
2927
+ };
2928
+ },
2929
+ tbody: function tbody(_ref153) {
2930
+ var props = _ref153.props;
2931
+ return {
2932
+ "class": [{
2933
+ block: props.scrollable
2934
+ }]
2935
+ };
2936
+ },
2937
+ tfoot: function tfoot(_ref154) {
2938
+ var props = _ref154.props;
2939
+ return {
2940
+ "class": [{
2941
+ block: props.scrollable
2942
+ }]
2943
+ };
2944
+ },
2945
+ headerrow: function headerrow(_ref155) {
2946
+ var props = _ref155.props;
2947
+ return {
2948
+ "class": [{
2949
+ 'flex flex-nowrap w-full': props.scrollable
2950
+ }]
2951
+ };
2952
+ },
2953
+ row: function row(_ref156) {
2954
+ var context = _ref156.context;
2955
+ return {
2956
+ "class": ['transition duration-200', 'focus:outline focus:outline-[0.15rem] focus:outline-blue-200 focus:outline-offset-[-0.15rem]',
2957
+ // Focus
2958
+ context.selected ? 'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80' : 'bg-white text-gray-600 dark:bg-gray-900 dark:text-white/80', {
2959
+ 'hover:bg-gray-300/20 hover:text-gray-600 dark:hover:bg-gray-950': context.selectable && !context.selected,
2960
+ // Hover
2961
+ 'flex flex-nowrap w-full': context.scrollable
2962
+ }]
2963
+ };
2964
+ },
2965
+ column: {
2966
+ headercell: function headercell(_ref157) {
2967
+ var context = _ref157.context;
2968
+ return {
2969
+ "class": ['text-left border-gray-300 border font-bold', 'transition duration-200', context.sorted ? 'bg-blue-50 text-blue-700' : 'bg-slate-50', (context === null || context === void 0 ? void 0 : context.size) === 'small' ? 'p-2' : (context === null || context === void 0 ? void 0 : context.size) === 'large' ? 'p-5' : 'p-4',
2970
+ // Size
2971
+ 'dark:border-blue-900/40 dark:text-white/80 dark:bg-gray-900',
2972
+ //Dark Mode
2973
+ {
2974
+ 'flex flex-1 items-center': context.scrollable,
2975
+ 'flex-initial shrink-0': context.scrollable && context.scrollDirection === 'both' && !context.frozen,
2976
+ 'sticky z-[1]': context.scrollable && context.scrollDirection === 'both' && context.frozen,
2977
+ 'border-x-0 border-l-0 border-t-0': !context.showGridlines,
2978
+ 'overflow-hidden relative bg-clip-padding': context.resizable && !context.frozen
2979
+ }]
2980
+ };
2981
+ },
2982
+ bodycell: function bodycell(_ref158) {
2983
+ var context = _ref158.context;
2984
+ return {
2985
+ "class": ['text-left border-gray-300 border', 'transition duration-200', (context === null || context === void 0 ? void 0 : context.size) === 'small' ? 'p-2' : (context === null || context === void 0 ? void 0 : context.size) === 'large' ? 'p-5' : 'p-4',
2986
+ // Size
2987
+ 'dark:border-blue-900/40',
2988
+ //Dark Mode
2989
+ {
2990
+ 'cursor-pointer': context.selectable,
2991
+ 'flex flex-1 items-center': context.scrollable,
2992
+ 'flex-initial shrink-0': context.scrollable && context.scrollDirection === 'both' && !context.frozen,
2993
+ sticky: context.scrollable && context.scrollDirection === 'both' && context.frozen,
2994
+ 'border-x-0 border-l-0': !context.showGridlines
2995
+ }]
2996
+ };
2997
+ },
2998
+ rowtoggler: function rowtoggler(_ref159) {
2999
+ var context = _ref159.context;
3000
+ return {
3001
+ "class": ['relative inline-flex items-center justify-center align-center cursor-pointer select-none overflow-hidden bg-transparent', 'w-8 h-8 border-0 rounded mr-0.5', context.selected ? 'text-blue-700' : 'text-gray-500', 'dark:text-white/70' //Dark Mode
3002
+ ]
3003
+ };
3004
+ },
3005
+
3006
+ sorticon: function sorticon(_ref160) {
3007
+ var context = _ref160.context;
3008
+ return {
3009
+ "class": ['ml-2', context.sorted ? 'text-blue-700 dark:text-white/80' : 'text-slate-700 dark:text-white/70']
3010
+ };
3011
+ },
3012
+ sortbadge: {
3013
+ "class": ['h-[1.143rem] min-w-[1.143rem] leading-[1.143rem] text-blue-700 bg-blue-50 ml-2 rounded-[50%]', 'dark:text-white/80 dark:bg-blue-500/40' // Dark Mode
3014
+ ]
3015
+ },
3016
+
3017
+ columnresizer: {
3018
+ "class": 'block absolute top-0 right-0 m-0 w-2 h-full p-0 cursor-col-resize border border-transparent'
3019
+ },
3020
+ checkboxwrapper: {
3021
+ "class": ['cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6 mr-2']
3022
+ },
3023
+ checkbox: function checkbox(_ref161) {
3024
+ var context = _ref161.context;
3025
+ return {
3026
+ "class": ['flex items-center justify-center', 'border-2 w-6 h-6 text-gray-600 rounded-lg transition-colors duration-200', context.checked ? 'border-blue-500 bg-blue-500 dark:border-blue-400 dark:bg-blue-400' : 'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900', {
3027
+ 'hover:border-blue-500 dark:hover:border-blue-400 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': !context.disabled
3028
+ }]
3029
+ };
3030
+ },
3031
+ checkboxicon: function checkboxicon(_ref162) {
3032
+ var context = _ref162.context;
3033
+ return {
3034
+ "class": ['w-4 h-4 transition-all duration-200 text-base dark:text-gray-900', {
3035
+ 'text-white': context.checked
3036
+ }]
3037
+ };
3038
+ }
3039
+ },
3040
+ resizehelper: {
3041
+ "class": ['absolute hidden w-px z-10 bg-blue-500 dark:bg-blue-300']
3042
+ }
3043
+ },
3044
+ datatable: {
3045
+ root: function root(_ref163) {
3046
+ var props = _ref163.props;
3047
+ return {
3048
+ "class": ['relative', {
3049
+ 'flex flex-col h-full': props.scrollable && props.scrollHeight === 'flex'
3050
+ }]
3051
+ };
3052
+ },
3053
+ loadingoverlay: {
3054
+ "class": ['fixed w-full h-full t-0 l-0 bg-gray-100/40', 'transition duration-200', 'absolute flex items-center justify-center z-2', 'dark:bg-gray-950/40' // Dark Mode
3055
+ ]
3056
+ },
3057
+
3058
+ loadingicon: {
3059
+ "class": 'w-8 h-8'
3060
+ },
3061
+ wrapper: function wrapper(_ref164) {
3062
+ var props = _ref164.props;
3063
+ return {
3064
+ "class": [{
3065
+ relative: props.scrollable,
3066
+ 'flex flex-col grow h-full': props.scrollable && props.scrollHeight === 'flex'
3067
+ }]
3068
+ };
3069
+ },
3070
+ header: function header(_ref165) {
3071
+ var props = _ref165.props;
3072
+ return {
3073
+ "class": ['bg-slate-50 text-slate-700 border-gray-300 font-bold p-4', 'dark:border-blue-900/40 dark:text-white/80 dark:bg-gray-900',
3074
+ // Dark Mode
3075
+ props.showGridlines ? 'border-x border-t border-b-0' : 'border-y border-x-0']
3076
+ };
3077
+ },
3078
+ table: {
3079
+ "class": 'w-full border-spacing-0'
3080
+ },
3081
+ thead: function thead(_ref166) {
3082
+ var context = _ref166.context;
3083
+ return {
3084
+ "class": [{
3085
+ 'bg-slate-50 top-0 z-[1]': context.scrollable
3086
+ }]
3087
+ };
3088
+ },
3089
+ tbody: function tbody(_ref167) {
3090
+ var instance = _ref167.instance,
3091
+ context = _ref167.context;
3092
+ return {
3093
+ "class": [{
3094
+ 'sticky z-[1]': instance.frozenRow && context.scrollable
3095
+ }]
3096
+ };
3097
+ },
3098
+ tfoot: function tfoot(_ref168) {
3099
+ var context = _ref168.context;
3100
+ return {
3101
+ "class": [{
3102
+ 'bg-slate-50 bottom-0 z-[1]': context.scrollable
3103
+ }]
3104
+ };
3105
+ },
3106
+ footer: {
3107
+ "class": ['bg-slate-50 text-slate-700 border-t-0 border-b border-x-0 border-gray-300 font-bold p-4', 'dark:border-blue-900/40 dark:text-white/80 dark:bg-gray-900' // Dark Mode
3108
+ ]
3109
+ },
3110
+
3111
+ column: {
3112
+ headercell: function headercell(_ref169) {
3113
+ var context = _ref169.context,
3114
+ props = _ref169.props;
3115
+ return {
3116
+ "class": ['text-left border-0 border-b border-solid border-gray-300 dark:border-blue-900/40 font-bold', 'transition duration-200', (context === null || context === void 0 ? void 0 : context.size) === 'small' ? 'p-2' : (context === null || context === void 0 ? void 0 : context.size) === 'large' ? 'p-5' : 'p-4',
3117
+ // Size
3118
+ context.sorted ? 'bg-blue-50 text-blue-700' : 'bg-slate-50 text-slate-700',
3119
+ // Sort
3120
+ context.sorted ? 'dark:text-white/80 dark:bg-blue-300' : 'dark:text-white/80 dark:bg-gray-900',
3121
+ // Dark Mode
3122
+ {
3123
+ 'sticky z-[1]': props.frozen || props.frozen === '',
3124
+ // Frozen Columns
3125
+ 'border-x border-y': context === null || context === void 0 ? void 0 : context.showGridlines,
3126
+ 'overflow-hidden space-nowrap border-y relative bg-clip-padding': context.resizable // Resizable
3127
+ }]
3128
+ };
3129
+ },
3130
+
3131
+ headercontent: {
3132
+ "class": 'flex items-center'
3133
+ },
3134
+ bodycell: function bodycell(_ref170) {
3135
+ var props = _ref170.props,
3136
+ context = _ref170.context;
3137
+ return {
3138
+ "class": ['text-left border-0 border-b border-solid border-gray-300', (context === null || context === void 0 ? void 0 : context.size) === 'small' ? 'p-2' : (context === null || context === void 0 ? void 0 : context.size) === 'large' ? 'p-5' : 'p-4',
3139
+ // Size
3140
+ 'dark:text-white/80 dark:border-blue-900/40',
3141
+ // Dark Mode
3142
+ {
3143
+ 'sticky bg-inherit': props.frozen || props.frozen === '',
3144
+ // Frozen Columns
3145
+ 'border-x border-y': context === null || context === void 0 ? void 0 : context.showGridlines
3146
+ }]
3147
+ };
3148
+ },
3149
+ footercell: function footercell(_ref171) {
3150
+ var context = _ref171.context;
3151
+ return {
3152
+ "class": ['text-left border-0 border-b border-solid border-gray-300 font-bold', 'bg-slate-50 text-slate-700', 'transition duration-200', (context === null || context === void 0 ? void 0 : context.size) === 'small' ? 'p-2' : (context === null || context === void 0 ? void 0 : context.size) === 'large' ? 'p-5' : 'p-4',
3153
+ // Size
3154
+ 'dark:text-white/80 dark:bg-gray-900 dark:border-blue-900/40',
3155
+ // Dark Mode
3156
+ {
3157
+ 'border-x border-y': context === null || context === void 0 ? void 0 : context.showGridlines
3158
+ }]
3159
+ };
3160
+ },
3161
+ sorticon: function sorticon(_ref172) {
3162
+ var context = _ref172.context;
3163
+ return {
3164
+ "class": ['ml-2', context.sorted ? 'text-blue-700 dark:text-white/80' : 'text-slate-700 dark:text-white/70']
3165
+ };
3166
+ },
3167
+ sortbadge: {
3168
+ "class": ['flex items-center justify-center align-middle', 'rounded-[50%] w-[1.143rem] leading-[1.143rem] ml-2', 'text-blue-700 bg-blue-50', 'dark:text-white/80 dark:bg-blue-400' // Dark Mode
3169
+ ]
3170
+ },
3171
+
3172
+ columnfilter: {
3173
+ "class": 'inline-flex items-center ml-auto'
3174
+ },
3175
+ filteroverlay: {
3176
+ "class": ['bg-white text-gray-600 border-0 rounded-md min-w-[12.5rem]', 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80' //Dark Mode
3177
+ ]
3178
+ },
3179
+
3180
+ filtermatchmodedropdown: {
3181
+ root: {
3182
+ "class": 'min-[0px]:flex mb-2'
3183
+ }
3184
+ },
3185
+ filterrowitems: {
3186
+ "class": 'm-0 p-0 py-3 list-none '
3187
+ },
3188
+ filterrowitem: function filterrowitem(_ref173) {
3189
+ var context = _ref173.context;
3190
+ return {
3191
+ "class": ['m-0 py-3 px-5 bg-transparent', 'transition duration-200', context !== null && context !== void 0 && context.highlighted ? 'text-blue-700 bg-blue-100 dark:text-white/80 dark:bg-blue-300' : 'text-gray-600 bg-transparent dark:text-white/80 dark:bg-transparent']
3192
+ };
3193
+ },
3194
+ filteroperator: {
3195
+ "class": ['px-5 py-3 border-b border-solid border-gray-300 text-slate-700 bg-slate-50 rounded-t-md', 'dark:border-blue-900/40 dark:text-white/80 dark:bg-gray-900' // Dark Mode
3196
+ ]
3197
+ },
3198
+
3199
+ filteroperatordropdown: {
3200
+ root: {
3201
+ "class": 'min-[0px]:flex'
3202
+ }
3203
+ },
3204
+ filterconstraint: {
3205
+ "class": 'p-5 border-b border-solid border-gray-300 dark:border-blue-900/40'
3206
+ },
3207
+ filteraddrule: {
3208
+ "class": 'py-3 px-5'
3209
+ },
3210
+ filteraddrulebutton: {
3211
+ root: {
3212
+ "class": 'justify-center w-full min-[0px]:text-sm'
3213
+ },
3214
+ label: {
3215
+ "class": 'flex-auto grow-0'
3216
+ },
3217
+ icon: {
3218
+ "class": 'mr-2'
3219
+ }
3220
+ },
3221
+ filterremovebutton: {
3222
+ root: {
3223
+ "class": 'ml-2'
3224
+ },
3225
+ label: {
3226
+ "class": 'grow-0'
3227
+ }
3228
+ },
3229
+ filterbuttonbar: {
3230
+ "class": 'flex items-center justify-between p-5'
3231
+ },
3232
+ filterclearbutton: {
3233
+ root: {
3234
+ "class": 'w-auto min-[0px]:text-sm border-blue-500 text-blue-500 px-4 py-3'
3235
+ }
3236
+ },
3237
+ filterapplybutton: {
3238
+ root: {
3239
+ "class": 'w-auto min-[0px]:text-sm px-4 py-3'
3240
+ }
3241
+ },
3242
+ filtermenubutton: function filtermenubutton(_ref174) {
3243
+ var context = _ref174.context;
3244
+ return {
3245
+ "class": ['inline-flex justify-center items-center cursor-pointer no-underline overflow-hidden relative ml-2', 'w-8 h-8 rounded-[50%]', 'transition duration-200', 'hover:text-slate-700 hover:bg-gray-300/20',
3246
+ // Hover
3247
+ 'focus:outline-0 focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]',
3248
+ // Focus
3249
+ 'dark:text-white/70 dark:hover:text-white/80 dark:bg-gray-900',
3250
+ // Dark Mode
3251
+ {
3252
+ 'bg-blue-50 text-blue-700': context.active
3253
+ }]
3254
+ };
3255
+ },
3256
+ headerfilterclearbutton: function headerfilterclearbutton(_ref175) {
3257
+ var context = _ref175.context;
3258
+ return {
3259
+ "class": ['inline-flex justify-center items-center cursor-pointer no-underline overflow-hidden relative', 'text-left bg-transparent m-0 p-0 border-none select-none ml-2', {
3260
+ invisible: !context.hidden
3261
+ }]
3262
+ };
3263
+ },
3264
+ columnresizer: {
3265
+ "class": 'block absolute top-0 right-0 m-0 w-2 h-full p-0 cursor-col-resize border border-transparent'
3266
+ },
3267
+ rowreordericon: {
3268
+ "class": 'cursor-move'
3269
+ },
3270
+ roweditorinitbutton: {
3271
+ "class": ['inline-flex items-center justify-center overflow-hidden relative', 'text-left cursor-pointer select-none', 'w-8 h-8 border-0 rounded-[50%]', 'transition duration-200', 'text-slate-700 border-transparent', 'focus:outline-0 focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]',
3272
+ //Focus
3273
+ 'hover:text-slate-700 hover:bg-gray-300/20',
3274
+ //Hover
3275
+ 'dark:text-white/70' // Dark Mode
3276
+ ]
3277
+ },
3278
+
3279
+ roweditorsavebutton: {
3280
+ "class": ['inline-flex items-center justify-center overflow-hidden relative', 'text-left cursor-pointer select-none', 'w-8 h-8 border-0 rounded-[50%]', 'transition duration-200', 'text-slate-700 border-transparent', 'focus:outline-0 focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]',
3281
+ //Focus
3282
+ 'hover:text-slate-700 hover:bg-gray-300/20',
3283
+ //Hover
3284
+ 'dark:text-white/70' // Dark Mode
3285
+ ]
3286
+ },
3287
+
3288
+ roweditorcancelbutton: {
3289
+ "class": ['inline-flex items-center justify-center overflow-hidden relative', 'text-left cursor-pointer select-none', 'w-8 h-8 border-0 rounded-[50%]', 'transition duration-200', 'text-slate-700 border-transparent', 'focus:outline-0 focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]',
3290
+ //Focus
3291
+ 'hover:text-slate-700 hover:bg-gray-300/20',
3292
+ //Hover
3293
+ 'dark:text-white/70' // Dark Mode
3294
+ ]
3295
+ },
3296
+
3297
+ radiobuttonwrapper: {
3298
+ "class": ['relative inline-flex cursor-pointer select-none align-bottom', 'w-6 h-6']
3299
+ },
3300
+ radiobutton: function radiobutton(_ref176) {
3301
+ var context = _ref176.context;
3302
+ return {
3303
+ "class": ['flex justify-center items-center', 'border-2 w-6 h-6 text-gray-700 rounded-full transition duration-200 ease-in-out', context.checked ? 'border-blue-500 bg-blue-500 dark:border-blue-400 dark:bg-blue-400' : 'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900', {
3304
+ 'hover:border-blue-500 dark:hover:border-blue-400 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': !context.disabled,
3305
+ 'cursor-default opacity-60': context.disabled
3306
+ }]
3307
+ };
3308
+ },
3309
+ radiobuttonicon: function radiobuttonicon(_ref177) {
3310
+ var context = _ref177.context;
3311
+ return {
3312
+ "class": ['transform rounded-full', 'block w-3 h-3 transition duration-200 bg-white dark:bg-gray-900', {
3313
+ 'backface-hidden scale-10 invisible': context.checked === false,
3314
+ 'transform scale-100 visible': context.checked === true
3315
+ }]
3316
+ };
3317
+ },
3318
+ headercheckboxwrapper: {
3319
+ "class": ['cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6']
3320
+ },
3321
+ headercheckbox: function headercheckbox(_ref178) {
3322
+ var context = _ref178.context;
3323
+ return {
3324
+ "class": ['flex items-center justify-center', 'border-2 w-6 h-6 text-gray-600 rounded-lg transition-colors duration-200', context.checked ? 'border-blue-500 bg-blue-500 dark:border-blue-400 dark:bg-blue-400' : 'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900', {
3325
+ 'hover:border-blue-500 dark:hover:border-blue-400 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': !context.disabled,
3326
+ 'cursor-default opacity-60': context.disabled
3327
+ }]
3328
+ };
3329
+ },
3330
+ headercheckboxicon: {
3331
+ "class": ['w-4 h-4 transition-all duration-200 text-white text-base dark:text-gray-900']
3332
+ },
3333
+ checkboxwrapper: {
3334
+ "class": ['cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6']
3335
+ },
3336
+ checkbox: function checkbox(_ref179) {
3337
+ var context = _ref179.context;
3338
+ return {
3339
+ "class": ['flex items-center justify-center', 'border-2 w-6 h-6 text-gray-600 rounded-lg transition-colors duration-200', context.checked ? 'border-blue-500 bg-blue-500 dark:border-blue-400 dark:bg-blue-400' : 'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900', {
3340
+ 'hover:border-blue-500 dark:hover:border-blue-400 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': !context.disabled,
3341
+ 'cursor-default opacity-60': context.disabled
3342
+ }]
3343
+ };
3344
+ },
3345
+ checkboxicon: {
3346
+ "class": ['w-4 h-4 transition-all duration-200 text-white text-base dark:text-gray-900']
3347
+ }
3348
+ },
3349
+ bodyrow: function bodyrow(_ref180) {
3350
+ var context = _ref180.context;
3351
+ return {
3352
+ "class": [context.selected ? 'bg-blue-50 text-blue-700 dark:bg-blue-300' : 'bg-white text-gray-600 dark:bg-gray-900', context.stripedRows ? context.index % 2 === 0 ? 'bg-white text-gray-600 dark:bg-gray-900' : 'bg-blue-50/50 text-gray-600 dark:bg-gray-950' : '', 'transition duration-200', 'focus:outline focus:outline-[0.15rem] focus:outline-blue-200 focus:outline-offset-[-0.15rem]',
3353
+ // Focus
3354
+ 'dark:text-white/80 dark:focus:outline dark:focus:outline-[0.15rem] dark:focus:outline-blue-300 dark:focus:outline-offset-[-0.15rem]',
3355
+ // Dark Mode
3356
+ {
3357
+ 'cursor-pointer': context.selectable,
3358
+ 'hover:bg-gray-300/20 hover:text-gray-600': context.selectable && !context.selected // Hover
3359
+ }]
3360
+ };
3361
+ },
3362
+
3363
+ rowexpansion: {
3364
+ "class": 'bg-white text-gray-600 dark:bg-gray-900 dark:text-white/80'
3365
+ },
3366
+ rowgroupheader: {
3367
+ "class": ['sticky z-[1]', 'bg-white text-gray-600', 'transition duration-200']
3368
+ },
3369
+ rowgroupfooter: {
3370
+ "class": ['sticky z-[1]', 'bg-white text-gray-600', 'transition duration-200']
3371
+ },
3372
+ rowgrouptoggler: {
3373
+ "class": ['text-left m-0 p-0 cursor-pointer select-none', 'inline-flex items-center justify-center overflow-hidden relative', 'w-8 h-8 text-gray-500 border-0 bg-transparent rounded-[50%]', 'transition duration-200', 'dark:text-white/70' // Dark Mode
3374
+ ]
3375
+ },
3376
+
3377
+ rowgrouptogglericon: {
3378
+ "class": 'inline-block w-4 h-4'
3379
+ },
3380
+ resizehelper: {
3381
+ "class": ['absolute hidden w-px z-10 bg-blue-500 dark:bg-blue-300']
3382
+ }
3383
+ }
3384
+ };
3385
+
3386
+ export { Tailwind as default };