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