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