primereact 10.0.3 → 10.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/calendar/calendar.cjs.js +8 -6
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +8 -6
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +8 -6
- package/calendar/calendar.min.js +1 -1
- package/core/core.js +224 -4
- package/core/core.min.js +2 -2
- package/fieldset/fieldset.cjs.js +2 -2
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +2 -2
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +3 -3
- package/fieldset/fieldset.min.js +1 -1
- package/hooks/hooks.d.ts +1 -1
- package/icons/arrowdown/index.cjs.js +7 -0
- package/icons/arrowdown/index.esm.js +7 -0
- package/icons/arrowdown/index.js +7 -0
- package/icons/arrowup/index.cjs.js +7 -0
- package/icons/arrowup/index.esm.js +7 -0
- package/icons/arrowup/index.js +7 -0
- package/icons/ban/index.cjs.js +7 -0
- package/icons/ban/index.esm.js +7 -0
- package/icons/ban/index.js +7 -0
- package/icons/download/index.cjs.js +7 -0
- package/icons/download/index.esm.js +7 -0
- package/icons/download/index.js +7 -0
- package/icons/exclamationtriangle/index.cjs.js +7 -0
- package/icons/exclamationtriangle/index.esm.js +7 -0
- package/icons/exclamationtriangle/index.js +7 -0
- package/icons/eyeslash/index.cjs.js +7 -0
- package/icons/eyeslash/index.esm.js +7 -0
- package/icons/eyeslash/index.js +7 -0
- package/icons/filter/index.cjs.js +7 -0
- package/icons/filter/index.esm.js +7 -0
- package/icons/filter/index.js +7 -0
- package/icons/filterslash/index.cjs.js +7 -0
- package/icons/filterslash/index.esm.js +7 -0
- package/icons/filterslash/index.js +7 -0
- package/icons/infocircle/index.cjs.js +7 -0
- package/icons/infocircle/index.esm.js +7 -0
- package/icons/infocircle/index.js +7 -0
- package/icons/pencil/index.cjs.js +7 -0
- package/icons/pencil/index.esm.js +7 -0
- package/icons/pencil/index.js +7 -0
- package/icons/plus/index.cjs.js +7 -0
- package/icons/plus/index.esm.js +7 -0
- package/icons/plus/index.js +7 -0
- package/icons/refresh/index.cjs.js +7 -0
- package/icons/refresh/index.esm.js +7 -0
- package/icons/refresh/index.js +7 -0
- package/icons/search/index.cjs.js +7 -0
- package/icons/search/index.esm.js +7 -0
- package/icons/search/index.js +7 -0
- package/icons/searchminus/index.cjs.js +7 -0
- package/icons/searchminus/index.esm.js +7 -0
- package/icons/searchminus/index.js +7 -0
- package/icons/searchplus/index.cjs.js +7 -0
- package/icons/searchplus/index.esm.js +7 -0
- package/icons/searchplus/index.js +7 -0
- package/icons/sortalt/index.cjs.js +7 -0
- package/icons/sortalt/index.esm.js +7 -0
- package/icons/sortalt/index.js +7 -0
- package/icons/sortamountdown/index.cjs.js +7 -0
- package/icons/sortamountdown/index.esm.js +7 -0
- package/icons/sortamountdown/index.js +7 -0
- package/icons/sortamountupalt/index.cjs.js +7 -0
- package/icons/sortamountupalt/index.esm.js +7 -0
- package/icons/sortamountupalt/index.js +7 -0
- package/icons/spinner/index.cjs.js +7 -0
- package/icons/spinner/index.esm.js +7 -0
- package/icons/spinner/index.js +7 -0
- package/icons/star/index.cjs.js +7 -0
- package/icons/star/index.esm.js +7 -0
- package/icons/star/index.js +7 -0
- package/icons/starfill/index.cjs.js +7 -0
- package/icons/starfill/index.esm.js +7 -0
- package/icons/starfill/index.js +7 -0
- package/icons/thlarge/index.cjs.js +7 -0
- package/icons/thlarge/index.esm.js +7 -0
- package/icons/thlarge/index.js +7 -0
- package/icons/timescircle/index.cjs.js +7 -0
- package/icons/timescircle/index.esm.js +7 -0
- package/icons/timescircle/index.js +7 -0
- package/icons/trash/index.cjs.js +7 -0
- package/icons/trash/index.esm.js +7 -0
- package/icons/trash/index.js +7 -0
- package/icons/undo/index.cjs.js +7 -0
- package/icons/undo/index.esm.js +7 -0
- package/icons/undo/index.js +7 -0
- package/icons/upload/index.cjs.js +7 -0
- package/icons/upload/index.esm.js +7 -0
- package/icons/upload/index.js +7 -0
- package/icons/windowmaximize/index.cjs.js +7 -0
- package/icons/windowmaximize/index.esm.js +7 -0
- package/icons/windowmaximize/index.js +7 -0
- package/icons/windowminimize/index.cjs.js +7 -0
- package/icons/windowminimize/index.esm.js +7 -0
- package/icons/windowminimize/index.js +7 -0
- package/image/image.cjs.js +7 -0
- package/image/image.esm.js +7 -0
- package/image/image.js +7 -0
- package/message/message.cjs.js +1 -1
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +1 -1
- package/message/message.esm.min.js +1 -1
- package/message/message.js +1 -1
- package/message/message.min.js +1 -1
- package/messages/messages.cjs.js +4 -2
- package/messages/messages.cjs.min.js +1 -1
- package/messages/messages.esm.js +5 -3
- package/messages/messages.esm.min.js +1 -1
- package/messages/messages.js +4 -2
- package/messages/messages.min.js +1 -1
- package/multiselect/multiselect.cjs.js +1 -1
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +1 -1
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +1 -1
- package/multiselect/multiselect.min.js +1 -1
- package/package.json +1 -1
- package/panel/panel.cjs.js +2 -2
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +2 -2
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +3 -3
- package/panel/panel.min.js +1 -1
- package/passthrough/tailwind/index.cjs.js +440 -376
- package/passthrough/tailwind/index.cjs.min.js +1 -1
- package/passthrough/tailwind/index.esm.js +440 -376
- package/passthrough/tailwind/index.esm.min.js +1 -1
- package/passthrough/tailwind/index.js +440 -376
- package/passthrough/tailwind/index.min.js +1 -1
- package/primereact.all.cjs.js +57 -22
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +57 -22
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +57 -22
- package/primereact.all.min.js +1 -1
- package/resources/themes/arya-blue/theme.css +7 -0
- package/resources/themes/arya-green/theme.css +7 -0
- package/resources/themes/arya-orange/theme.css +7 -0
- package/resources/themes/arya-purple/theme.css +7 -0
- package/resources/themes/bootstrap4-dark-blue/theme.css +7 -0
- package/resources/themes/bootstrap4-dark-purple/theme.css +7 -0
- package/resources/themes/bootstrap4-light-blue/theme.css +7 -0
- package/resources/themes/bootstrap4-light-purple/theme.css +7 -0
- package/resources/themes/fluent-light/theme.css +7 -0
- package/resources/themes/lara-dark-blue/theme.css +7 -0
- package/resources/themes/lara-dark-indigo/theme.css +7 -0
- package/resources/themes/lara-dark-purple/theme.css +7 -0
- package/resources/themes/lara-dark-teal/theme.css +7 -0
- package/resources/themes/lara-light-blue/theme.css +7 -0
- package/resources/themes/lara-light-indigo/theme.css +7 -0
- package/resources/themes/lara-light-purple/theme.css +7 -0
- package/resources/themes/lara-light-teal/theme.css +7 -0
- package/resources/themes/luna-amber/theme.css +7 -0
- package/resources/themes/luna-blue/theme.css +7 -0
- package/resources/themes/luna-green/theme.css +7 -0
- package/resources/themes/luna-pink/theme.css +7 -0
- package/resources/themes/md-dark-deeppurple/theme.css +7 -0
- package/resources/themes/md-dark-indigo/theme.css +7 -0
- package/resources/themes/md-light-deeppurple/theme.css +7 -0
- package/resources/themes/md-light-indigo/theme.css +7 -0
- package/resources/themes/mdc-dark-deeppurple/theme.css +7 -0
- package/resources/themes/mdc-dark-indigo/theme.css +7 -0
- package/resources/themes/mdc-light-deeppurple/theme.css +7 -0
- package/resources/themes/mdc-light-indigo/theme.css +7 -0
- package/resources/themes/mira/theme.css +7 -0
- package/resources/themes/nano/theme.css +7 -0
- package/resources/themes/nova/theme.css +7 -0
- package/resources/themes/nova-accent/theme.css +7 -0
- package/resources/themes/nova-alt/theme.css +7 -0
- package/resources/themes/rhea/theme.css +7 -0
- package/resources/themes/saga-blue/theme.css +7 -0
- package/resources/themes/saga-green/theme.css +7 -0
- package/resources/themes/saga-orange/theme.css +7 -0
- package/resources/themes/saga-purple/theme.css +7 -0
- package/resources/themes/soho-dark/theme.css +7 -0
- package/resources/themes/soho-light/theme.css +7 -0
- package/resources/themes/vela-blue/theme.css +7 -0
- package/resources/themes/vela-green/theme.css +7 -0
- package/resources/themes/vela-orange/theme.css +7 -0
- package/resources/themes/vela-purple/theme.css +7 -0
- package/resources/themes/viva-dark/theme.css +7 -0
- package/resources/themes/viva-light/theme.css +7 -0
- package/selectbutton/selectbutton.cjs.js +1 -1
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +1 -1
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +1 -1
- package/selectbutton/selectbutton.min.js +1 -1
- package/slider/slider.cjs.js +3 -3
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +3 -3
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +3 -3
- package/slider/slider.min.js +1 -1
- package/toast/toast.cjs.js +7 -5
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +7 -5
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +8 -6
- package/toast/toast.min.js +1 -1
- package/tree/tree.cjs.js +24 -2
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +24 -2
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +24 -2
- package/tree/tree.min.js +1 -1
- package/treeselect/treeselect.d.ts +54 -4
- package/utils/utils.cjs.js +7 -0
- package/utils/utils.esm.js +7 -0
- package/utils/utils.js +7 -0
- package/web-types.json +2 -2
|
@@ -129,21 +129,21 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
129
129
|
|
|
130
130
|
var TRANSITIONS = {
|
|
131
131
|
toggleable: {
|
|
132
|
+
timeout: 500,
|
|
132
133
|
classNames: {
|
|
133
134
|
enter: 'max-h-0',
|
|
134
|
-
enterActive: 'overflow-hidden transition-all duration-500 ease-in-out',
|
|
135
|
-
enterDone: 'max-h-40',
|
|
135
|
+
enterActive: '!max-h-40 overflow-hidden transition-all duration-500 ease-in-out',
|
|
136
136
|
exit: 'max-h-40',
|
|
137
|
-
exitActive: 'overflow-hidden transition-all duration-500 ease-in'
|
|
138
|
-
exitDone: 'max-h-0'
|
|
137
|
+
exitActive: '!max-h-0 overflow-hidden transition-all duration-500 ease-in'
|
|
139
138
|
}
|
|
140
139
|
},
|
|
141
140
|
overlay: {
|
|
141
|
+
timeout: 150,
|
|
142
142
|
classNames: {
|
|
143
143
|
enter: 'opacity-0 scale-75',
|
|
144
|
-
enterActive: 'transition-transform transition-opacity duration-150 ease-in',
|
|
145
|
-
|
|
146
|
-
|
|
144
|
+
enterActive: 'opacity-100 !scale-100 transition-transform transition-opacity duration-150 ease-in',
|
|
145
|
+
exit: 'opacity-100',
|
|
146
|
+
exitActive: '!opacity-0 transition-opacity duration-150 ease-linear'
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
};
|
|
@@ -344,15 +344,15 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
344
344
|
navContent: 'overflow-y-hidden overscroll-contain overscroll-auto scroll-smooth [&::-webkit-scrollbar]:hidden',
|
|
345
345
|
// Overflow and scrollbar styles.
|
|
346
346
|
previousButton: {
|
|
347
|
-
className: classNames('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.
|
|
347
|
+
className: classNames('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.
|
|
348
348
|
},
|
|
349
349
|
|
|
350
350
|
nextButton: {
|
|
351
|
-
className: classNames('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.
|
|
351
|
+
className: classNames('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.
|
|
352
352
|
},
|
|
353
353
|
|
|
354
354
|
nav: {
|
|
355
|
-
className: classNames('flex flex-1 list-none m-0 p-0', 'bg-
|
|
355
|
+
className: classNames('flex flex-1 list-none m-0 p-0', 'bg-transparent 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.
|
|
356
356
|
},
|
|
357
357
|
|
|
358
358
|
tabpanel: {
|
|
@@ -371,7 +371,7 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
371
371
|
return {
|
|
372
372
|
className: classNames('items-center cursor-pointer flex overflow-hidden relative select-none text-decoration-none user-select-none',
|
|
373
373
|
// Flex and overflow styles.
|
|
374
|
-
'border-b-2 p-5 font-bold rounded-t-
|
|
374
|
+
'border-b-2 p-5 font-bold rounded-t-md transition-shadow duration-200 m-0',
|
|
375
375
|
// Border, padding, font, and transition styles.
|
|
376
376
|
'transition-colors duration-200',
|
|
377
377
|
// Transition duration style.
|
|
@@ -394,7 +394,7 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
394
394
|
},
|
|
395
395
|
|
|
396
396
|
content: {
|
|
397
|
-
className: classNames('bg-white p-5 border-0 text-gray-700 rounded-bl-
|
|
397
|
+
className: classNames('bg-white p-5 border-0 text-gray-700 rounded-bl-md rounded-br-md', 'dark:bg-gray-900 dark:border-blue-900/40 dark:text-white/80') // Background, padding, border, and text styles.
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
400
|
},
|
|
@@ -458,7 +458,7 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
458
458
|
};
|
|
459
459
|
},
|
|
460
460
|
footer: {
|
|
461
|
-
className: classNames('shrink-0 ', 'border-t-0 bg-white text-gray-700 px-6 pb-6 text-right rounded-b-lg', 'dark:bg-gray-900
|
|
461
|
+
className: classNames('flex gap-2 shrink-0 justify-end align-center', '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')
|
|
462
462
|
},
|
|
463
463
|
mask: function mask(_ref15) {
|
|
464
464
|
var props = _ref15.props;
|
|
@@ -470,31 +470,34 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
470
470
|
},
|
|
471
471
|
transition: function transition(_ref16) {
|
|
472
472
|
var props = _ref16.props;
|
|
473
|
-
return
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
473
|
+
return {
|
|
474
|
+
timeout: 200,
|
|
475
|
+
classNames: props.position === 'top' ? {
|
|
476
|
+
enter: 'opacity-0 scale-75 translate-x-0 -translate-y-full translate-z-0',
|
|
477
|
+
enterActive: '!opacity-100 !scale-100 !translate-y-0 transition-all duration-200 ease-out',
|
|
478
|
+
exit: 'opacity-100 scale-100 transition-all duration-200 ease-out',
|
|
479
|
+
exitActive: '!opacity-0 !scale-75 translate-x-0 -translate-y-full translate-z-0'
|
|
480
|
+
} : props.position === 'bottom' ? {
|
|
481
|
+
enter: 'opacity-0 scale-75 translate-y-full',
|
|
482
|
+
enterActive: '!opacity-100 !scale-100 !translate-y-0 transition-all duration-200 ease-out',
|
|
483
|
+
exit: 'opacity-100 scale-100 transition-all duration-200 ease-out',
|
|
484
|
+
exitActive: '!opacity-0 !scale-75 translate-x-0 translate-y-full translate-z-0'
|
|
485
|
+
} : props.position === 'left' || props.position === 'top-left' || props.position === 'bottom-left' ? {
|
|
486
|
+
enter: 'opacity-0 scale-75 -translate-x-full translate-y-0 translate-z-0',
|
|
487
|
+
enterActive: '!opacity-100 !scale-100 !translate-x-0 transition-all duration-200 ease-out',
|
|
488
|
+
exit: 'opacity-100 scale-100 transition-all duration-200 ease-out',
|
|
489
|
+
exitActive: '!opacity-0 !scale-75 -translate-x-full translate-y-0 translate-z-0'
|
|
490
|
+
} : props.position === 'right' || props.position === 'top-right' || props.position === 'bottom-right' ? {
|
|
491
|
+
enter: 'opacity-0 scale-75 translate-x-full translate-y-0 translate-z-0',
|
|
492
|
+
enterActive: '!opacity-100 !scale-100 !translate-x-0 transition-all duration-200 ease-out',
|
|
493
|
+
exit: 'opacity-100 scale-100 transition-all duration-200 ease-out',
|
|
494
|
+
exitActive: '!opacity-0 !scale-75 translate-x-full translate-y-0 translate-z-0'
|
|
495
|
+
} : {
|
|
496
|
+
enter: 'opacity-0 scale-75',
|
|
497
|
+
enterActive: '!opacity-100 !scale-100 transition-all duration-200 ease-out',
|
|
498
|
+
exit: 'opacity-100 scale-100 transition-all duration-200 ease-out',
|
|
499
|
+
exitActive: '!opacity-0 !scale-75'
|
|
500
|
+
}
|
|
498
501
|
};
|
|
499
502
|
}
|
|
500
503
|
},
|
|
@@ -505,12 +508,12 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
505
508
|
content: 'p-5 items-center flex',
|
|
506
509
|
icon: 'text-2xl',
|
|
507
510
|
message: 'ml-4',
|
|
508
|
-
footer: 'text-right px-5 py-5 pt-0
|
|
511
|
+
footer: 'flex gap-2 justify-end align-center text-right px-5 py-5 pt-0',
|
|
509
512
|
transition: TRANSITIONS.overlay
|
|
510
513
|
},
|
|
511
514
|
overlaypanel: {
|
|
512
515
|
root: {
|
|
513
|
-
className: classNames('bg-white text-gray-700 border-0 rounded-md shadow-lg', 'z-40 transform origin-center', 'absolute left-0 top-0', 'before:absolute before:w-0 before:-top-3 before:h-0 before:border-transparent before:border-solid before:ml-6 before:border-x-[0.75rem] before:border-b-[0.75rem] before:border-t-0 before:border-b-white dark:before:border-b-gray-900', 'dark:border dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80')
|
|
516
|
+
className: classNames('bg-white text-gray-700 border-0 rounded-md shadow-lg', 'z-40 transform origin-center', 'absolute left-0 top-0 mt-3', 'before:absolute before:w-0 before:-top-3 before:h-0 before:border-transparent before:border-solid before:ml-6 before:border-x-[0.75rem] before:border-b-[0.75rem] before:border-t-0 before:border-b-white dark:before:border-b-gray-900', 'dark:border dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80')
|
|
514
517
|
},
|
|
515
518
|
content: 'p-5 items-center flex',
|
|
516
519
|
transition: TRANSITIONS.overlay
|
|
@@ -519,8 +522,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
519
522
|
root: function root(_ref17) {
|
|
520
523
|
var props = _ref17.props;
|
|
521
524
|
return {
|
|
522
|
-
className: classNames('flex flex-col pointer-events-auto relative transform
|
|
523
|
-
'!transition-none !transform-none !w-screen !h-screen !max-h-full !top-0 !left-0': props.
|
|
525
|
+
className: classNames('flex flex-col pointer-events-auto relative transform relative', 'bg-white text-gray-700 border-0 shadow-lg', {
|
|
526
|
+
'!transition-none !transform-none !w-screen !h-screen !max-h-full !top-0 !left-0': props.fullScreen,
|
|
524
527
|
'h-full w-80': props.position == 'left' || props.position == 'right',
|
|
525
528
|
'h-40 w-full': props.position == 'top' || props.position == 'bottom'
|
|
526
529
|
}, 'dark:border dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80')
|
|
@@ -543,23 +546,34 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
543
546
|
},
|
|
544
547
|
transition: function transition(_ref18) {
|
|
545
548
|
var props = _ref18.props;
|
|
546
|
-
return
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
549
|
+
return {
|
|
550
|
+
timeout: 300,
|
|
551
|
+
classNames: props.fullScreen ? {
|
|
552
|
+
enter: 'opacity-0',
|
|
553
|
+
enterActive: '!opacity-100 transition-opacity duration-300 ease-in',
|
|
554
|
+
exit: 'opacity-100 transition-opacity duration-300 ease-in',
|
|
555
|
+
exitActive: '!opacity-0'
|
|
556
|
+
} : props.position === 'top' ? {
|
|
557
|
+
enter: 'translate-x-0 -translate-y-full translate-z-0',
|
|
558
|
+
enterActive: '!translate-y-0 transition-transform duration-300',
|
|
559
|
+
exit: 'translate-y-0 transition-transform duration-300',
|
|
560
|
+
exitActive: 'translate-x-0 !-translate-y-full translate-z-0'
|
|
561
|
+
} : props.position === 'bottom' ? {
|
|
562
|
+
enter: 'translate-x-0 translate-y-full translate-z-0',
|
|
563
|
+
enterActive: '!translate-y-0 transition-transform duration-300',
|
|
564
|
+
exit: 'translate-y-0 transition-transform duration-300',
|
|
565
|
+
exitActive: 'translate-x-0 !translate-y-full translate-z-0'
|
|
566
|
+
} : props.position === 'left' ? {
|
|
567
|
+
enter: '-translate-x-full translate-y-0 translate-z-0',
|
|
568
|
+
enterActive: '!translate-x-0 transition-transform duration-300',
|
|
569
|
+
exit: 'translate-x-0 transition-transform duration-300',
|
|
570
|
+
exitActive: '!-translate-x-full translate-y-0 translate-z-0'
|
|
571
|
+
} : props.position === 'right' ? {
|
|
572
|
+
enter: 'translate-x-full translate-y-0 translate-z-0',
|
|
573
|
+
enterActive: '!translate-x-0 transition-transform duration-300',
|
|
574
|
+
exit: 'translate-x-0 transition-transform duration-300',
|
|
575
|
+
exitActive: '!translate-x-full translate-y-0 translate-z-0'
|
|
576
|
+
} : undefined
|
|
563
577
|
};
|
|
564
578
|
}
|
|
565
579
|
},
|
|
@@ -650,11 +664,13 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
650
664
|
className: classNames('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')
|
|
651
665
|
},
|
|
652
666
|
transition: {
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
667
|
+
timeout: 300,
|
|
668
|
+
classNames: {
|
|
669
|
+
enter: 'max-h-0 opacity-0',
|
|
670
|
+
enterActive: '!max-h-40 !opacity-100 overflow-hidden transition-all duration-300',
|
|
671
|
+
exit: 'max-h-40 opacity-100',
|
|
672
|
+
exitActive: '!max-h-0 !opacity-0 !m-0 overflow-hidden transition-all duration-300 ease-in'
|
|
673
|
+
}
|
|
658
674
|
}
|
|
659
675
|
},
|
|
660
676
|
message: {
|
|
@@ -698,11 +714,16 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
698
714
|
className: classNames('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')
|
|
699
715
|
},
|
|
700
716
|
transition: {
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
717
|
+
timeout: {
|
|
718
|
+
enter: 300,
|
|
719
|
+
exit: 500
|
|
720
|
+
},
|
|
721
|
+
classNames: {
|
|
722
|
+
enter: 'opacity-0 max-h-0 translate-x-0 translate-y-2/4 translate-z-0',
|
|
723
|
+
enterActive: '!max-h-40 !opacity-90 !translate-y-0 transition-transform transition-opacity duration-300',
|
|
724
|
+
exit: 'max-h-40 opacity-90',
|
|
725
|
+
exitActive: '!max-h-0 !opacity-0 !mb-0 overflow-hidden transition-all duration-500 ease-in'
|
|
726
|
+
}
|
|
706
727
|
}
|
|
707
728
|
},
|
|
708
729
|
//BUTTONS
|
|
@@ -711,18 +732,23 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
711
732
|
var props = _ref24.props,
|
|
712
733
|
context = _ref24.context;
|
|
713
734
|
return {
|
|
714
|
-
className: classNames('items-center cursor-pointer inline-flex overflow-hidden relative select-none text-center align-bottom
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
'
|
|
735
|
+
className: classNames('items-center cursor-pointer inline-flex overflow-hidden relative select-none text-center align-bottom', 'transition duration-200 ease-in-out', 'focus:outline-none focus:outline-offset-0', {
|
|
736
|
+
'text-white dark:text-gray-900 bg-blue-500 dark:bg-blue-400 border border-blue-500 dark:border-blue-400 hover:bg-blue-600 dark:hover:bg-blue-500 hover:border-blue-600 dark:hover:border-blue-500 focus:shadow-[0_0_0_2px_rgba(255,255,255,1),0_0_0_4px_rgba(157,193,251,1),0_1px_2px_0_rgba(0,0,0,1)] dark:focus:shadow-[0_0_0_2px_rgba(28,33,39,1),0_0_0_4px_rgba(147,197,253,0.7),0_1px_2px_0_rgba(0,0,0,0)]': !props.link && props.severity === null && !props.text && !props.outlined && !props.plain,
|
|
737
|
+
'text-blue-600 bg-transparent border-transparent focus:shadow-[0_0_0_2px_rgba(255,255,255,1),0_0_0_4px_rgba(157,193,251,1),0_1px_2px_0_rgba(0,0,0,1)] dark:focus:shadow-[0_0_0_2px_rgba(28,33,39,1),0_0_0_4px_rgba(147,197,253,0.7),0_1px_2px_0_rgba(0,0,0,0)]': props.link
|
|
738
|
+
}, {
|
|
739
|
+
'focus:shadow-[0_0_0_2px_rgba(255,255,255,1),0_0_0_4px_rgba(176,185,198,1),0_1px_2px_0_rgba(0,0,0,1)] dark:focus:shadow-[0_0_0_2px_rgba(28,33,39,1),0_0_0_4px_rgba(203,213,225,0.7),0_1px_2px_0_rgba(0,0,0,0)]': props.severity === 'secondary',
|
|
740
|
+
'focus:shadow-[0_0_0_2px_rgba(255,255,255,1),0_0_0_4px_rgba(136,234,172,1),0_1px_2px_0_rgba(0,0,0,1)] dark:focus:shadow-[0_0_0_2px_rgba(28,33,39,1),0_0_0_4px_rgba(134,239,172,0.7),0_1px_2px_0_rgba(0,0,0,0)]': props.severity === 'success',
|
|
741
|
+
'focus:shadow-[0_0_0_2px_rgba(255,255,255,1),0_0_0_4px_rgba(157,193,251,1),0_1px_2px_0_rgba(0,0,0,1)] dark:focus:shadow-[0_0_0_2px_rgba(28,33,39,1),0_0_0_4px_rgba(147,197,253,0.7),0_1px_2px_0_rgba(0,0,0,0)]': props.severity === 'info',
|
|
742
|
+
'focus:shadow-[0_0_0_2px_rgba(255,255,255,1),0_0_0_4px_rgba(250,207,133,1),0_1px_2px_0_rgba(0,0,0,1)] dark:focus:shadow-[0_0_0_2px_rgba(28,33,39,1),0_0_0_4px_rgba(252,211,77,0.7),0_1px_2px_0_rgba(0,0,0,0)]': props.severity === 'warning',
|
|
743
|
+
'focus:shadow-[0_0_0_2px_rgba(255,255,255,1),0_0_0_4px_rgba(212,170,251,1),0_1px_2px_0_rgba(0,0,0,1)] dark:focus:shadow-[0_0_0_2px_rgba(28,33,39,1),0_0_0_4px_rgba(216,180,254,0.7),0_1px_2px_0_rgba(0,0,0,0)]': props.severity === 'help',
|
|
744
|
+
'focus:shadow-[0_0_0_2px_rgba(255,255,255,1),0_0_0_4px_rgba(247,162,162,1),0_1px_2px_0_rgba(0,0,0,1)] dark:focus:shadow-[0_0_0_2px_rgba(28,33,39,1),0_0_0_4px_rgba(252,165,165,0.7),0_1px_2px_0_rgba(0,0,0,0)]': props.severity === 'danger'
|
|
719
745
|
}, {
|
|
720
|
-
'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,
|
|
721
|
-
'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,
|
|
722
|
-
'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,
|
|
723
|
-
'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,
|
|
724
|
-
'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,
|
|
725
|
-
'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
|
|
746
|
+
'text-white dark:text-gray-900 bg-gray-500 dark:bg-gray-400 border border-gray-500 dark:border-gray-400 hover:bg-gray-600 dark:hover:bg-gray-500 hover:border-gray-600 dark:hover:border-gray-500': props.severity === 'secondary' && !props.text && !props.outlined && !props.plain,
|
|
747
|
+
'text-white dark:text-gray-900 bg-green-500 dark:bg-green-400 border border-green-500 dark:border-green-400 hover:bg-green-600 dark:hover:bg-green-500 hover:border-green-600 dark:hover:border-green-500': props.severity === 'success' && !props.text && !props.outlined && !props.plain,
|
|
748
|
+
'text-white dark:text-gray-900 dark:bg-blue-400 bg-blue-500 dark:bg-blue-400 border border-blue-500 dark:border-blue-400 hover:bg-blue-600 hover:border-blue-600 dark:hover:bg-blue-500 dark:hover:border-blue-500': props.severity === 'info' && !props.text && !props.outlined && !props.plain,
|
|
749
|
+
'text-white dark:text-gray-900 bg-orange-500 dark:bg-orange-400 border border-orange-500 dark:border-orange-400 hover:bg-orange-600 dark:hover:bg-orange-500 hover:border-orange-600 dark:hover:border-orange-500': props.severity === 'warning' && !props.text && !props.outlined && !props.plain,
|
|
750
|
+
'text-white dark:text-gray-900 bg-purple-500 dark:bg-purple-400 border border-purple-500 dark:border-purple-400 hover:bg-purple-600 dark:hover:bg-purple-500 hover:border-purple-600 dark:hover:border-purple-500': props.severity === 'help' && !props.text && !props.outlined && !props.plain,
|
|
751
|
+
'text-white dark:text-gray-900 bg-red-500 dark:bg-red-400 border border-red-500 dark:border-red-400 hover:bg-red-600 dark:hover:bg-red-500 hover:border-red-600 dark:hover:border-red-500': props.severity === 'danger' && !props.text && !props.outlined && !props.plain
|
|
726
752
|
}, {
|
|
727
753
|
'shadow-lg': props.raised
|
|
728
754
|
}, {
|
|
@@ -730,12 +756,12 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
730
756
|
'rounded-full': props.rounded
|
|
731
757
|
}, {
|
|
732
758
|
'bg-transparent border-transparent': props.text && !props.plain,
|
|
733
|
-
'text-blue-500 hover:bg-blue-300/20': props.text && (props.severity === null || props.severity === 'info') && !props.plain,
|
|
734
|
-
'text-gray-500 hover:bg-gray-300/20': props.text && props.severity === 'secondary' && !props.plain,
|
|
735
|
-
'text-green-500 hover:bg-green-300/20': props.text && props.severity === 'success' && !props.plain,
|
|
736
|
-
'text-orange-500 hover:bg-orange-300/20': props.text && props.severity === 'warning' && !props.plain,
|
|
737
|
-
'text-purple-500 hover:bg-purple-300/20': props.text && props.severity === 'help' && !props.plain,
|
|
738
|
-
'text-red-500 hover:bg-red-300/20': props.text && props.severity === 'danger' && !props.plain
|
|
759
|
+
'text-blue-500 dark:text-blue-400 hover:bg-blue-300/20': props.text && (props.severity === null || props.severity === 'info') && !props.plain,
|
|
760
|
+
'text-gray-500 dark:text-grayy-400 hover:bg-gray-300/20': props.text && props.severity === 'secondary' && !props.plain,
|
|
761
|
+
'text-green-500 dark:text-green-400 hover:bg-green-300/20': props.text && props.severity === 'success' && !props.plain,
|
|
762
|
+
'text-orange-500 dark:text-orange-400 hover:bg-orange-300/20': props.text && props.severity === 'warning' && !props.plain,
|
|
763
|
+
'text-purple-500 dark:text-purple-400 hover:bg-purple-300/20': props.text && props.severity === 'help' && !props.plain,
|
|
764
|
+
'text-red-500 dark:text-red-400 hover:bg-red-300/20': props.text && props.severity === 'danger' && !props.plain
|
|
739
765
|
}, {
|
|
740
766
|
'shadow-lg': props.raised && props.text
|
|
741
767
|
}, {
|
|
@@ -744,16 +770,18 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
744
770
|
'text-white bg-gray-500 border border-gray-500 hover:bg-gray-600 hover:border-gray-600': props.plain & !props.outlined & !props.text
|
|
745
771
|
}, {
|
|
746
772
|
'bg-transparent border': props.outlined && !props.plain,
|
|
747
|
-
'text-blue-500 border border-blue-500 hover:bg-blue-300/20': props.outlined && (props.severity === null || props.severity === 'info') && !props.plain,
|
|
748
|
-
'text-gray-500 border border-gray-500 hover:bg-gray-300/20': props.outlined && props.severity === 'secondary' && !props.plain,
|
|
749
|
-
'text-green-500 border border-green-500 hover:bg-green-300/20': props.outlined && props.severity === 'success' && !props.plain,
|
|
750
|
-
'text-orange-500 border border-orange-500 hover:bg-orange-300/20': props.outlined && props.severity === 'warning' && !props.plain,
|
|
751
|
-
'text-purple-500 border border-purple-500 hover:bg-purple-300/20': props.outlined && props.severity === 'help' && !props.plain,
|
|
752
|
-
'text-red-500 border border-red-500 hover:bg-red-300/20': props.outlined && props.severity === 'danger' && !props.plain
|
|
773
|
+
'text-blue-500 dark:text-blue-400 border border-blue-500 dark:border-blue-400 hover:bg-blue-300/20': props.outlined && (props.severity === null || props.severity === 'info') && !props.plain,
|
|
774
|
+
'text-gray-500 dark:text-gray-400 border border-gray-500 dark:border-gray-400 hover:bg-gray-300/20': props.outlined && props.severity === 'secondary' && !props.plain,
|
|
775
|
+
'text-green-500 dark:text-green-400 border border-green-500 dark:border-green-400 hover:bg-green-300/20': props.outlined && props.severity === 'success' && !props.plain,
|
|
776
|
+
'text-orange-500 dark:text-orange-400 border border-orange-500 dark:border-orange-400 hover:bg-orange-300/20': props.outlined && props.severity === 'warning' && !props.plain,
|
|
777
|
+
'text-purple-500 dark:text-purple-400 border border-purple-500 dark:border-purple-400 hover:bg-purple-300/20': props.outlined && props.severity === 'help' && !props.plain,
|
|
778
|
+
'text-red-500 dark:text-red-400 border border-red-500 dark:border-red-400 hover:bg-red-300/20': props.outlined && props.severity === 'danger' && !props.plain
|
|
753
779
|
}, {
|
|
754
780
|
'px-4 py-3 text-base': props.size === null,
|
|
755
781
|
'text-xs py-2 px-3': props.size === 'small',
|
|
756
782
|
'text-xl py-3 px-4': props.size === 'large'
|
|
783
|
+
}, {
|
|
784
|
+
'flex-column': props.iconPos == 'top' || props.iconPos == 'bottom'
|
|
757
785
|
}, {
|
|
758
786
|
'opacity-60 pointer-events-none cursor-default': context === null || context === void 0 ? void 0 : context.disabled
|
|
759
787
|
})
|
|
@@ -764,6 +792,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
764
792
|
return {
|
|
765
793
|
className: classNames('flex-1', 'duration-200', 'font-bold', {
|
|
766
794
|
'hover:underline': props.link
|
|
795
|
+
}, {
|
|
796
|
+
'invisible w-0': props.label == null
|
|
767
797
|
})
|
|
768
798
|
};
|
|
769
799
|
},
|
|
@@ -772,9 +802,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
772
802
|
return {
|
|
773
803
|
className: classNames('mx-0', {
|
|
774
804
|
'mr-2': props.iconPos == 'left' && props.label != null,
|
|
775
|
-
'ml-2': props.iconPos == 'right' && props.label != null,
|
|
805
|
+
'ml-2 order-1': props.iconPos == 'right' && props.label != null,
|
|
776
806
|
'mb-2': props.iconPos == 'top' && props.label != null,
|
|
777
|
-
'mt-2': props.iconPos == 'bottom' && props.label != null
|
|
807
|
+
'mt-2 order-2': props.iconPos == 'bottom' && props.label != null
|
|
778
808
|
})
|
|
779
809
|
};
|
|
780
810
|
},
|
|
@@ -1246,10 +1276,10 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1246
1276
|
item: function item(_ref63) {
|
|
1247
1277
|
var context = _ref63.context;
|
|
1248
1278
|
return {
|
|
1249
|
-
className: classNames('cursor-pointer font-normal overflow-hidden relative whitespace-nowrap', 'm-0 p-3 border-0 transition-shadow duration-200 rounded-none',
|
|
1250
|
-
'text-gray-700': !context.focused && !context.selected,
|
|
1251
|
-
'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90': context.focused && !context.selected,
|
|
1252
|
-
'bg-blue-
|
|
1279
|
+
className: classNames('cursor-pointer font-normal overflow-hidden relative whitespace-nowrap', 'm-0 p-3 border-0 transition-shadow duration-200 rounded-none', {
|
|
1280
|
+
'text-gray-700 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800': !context.focused && !context.selected,
|
|
1281
|
+
'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800': context.focused && !context.selected,
|
|
1282
|
+
'bg-blue-100 text-blue-700 dark:bg-blue-400 dark:text-white/80': context.focused && context.selected,
|
|
1253
1283
|
'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': !context.focused && context.selected
|
|
1254
1284
|
})
|
|
1255
1285
|
};
|
|
@@ -1278,14 +1308,28 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1278
1308
|
};
|
|
1279
1309
|
},
|
|
1280
1310
|
input: {
|
|
1281
|
-
root: {
|
|
1282
|
-
|
|
1283
|
-
|
|
1311
|
+
root: function root(_ref65) {
|
|
1312
|
+
var props = _ref65.props;
|
|
1313
|
+
return {
|
|
1314
|
+
className: classNames('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', 'hover:border-blue-500', {
|
|
1315
|
+
'rounded-lg': !props.showIcon,
|
|
1316
|
+
'border-r-0 rounded-l-lg': props.showIcon
|
|
1317
|
+
})
|
|
1318
|
+
};
|
|
1284
1319
|
}
|
|
1285
1320
|
},
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1321
|
+
dropdownbutton: function dropdownbutton(_ref66) {
|
|
1322
|
+
var props = _ref66.props;
|
|
1323
|
+
return {
|
|
1324
|
+
root: {
|
|
1325
|
+
className: classNames({
|
|
1326
|
+
'rounded-l-none': props.showIcon
|
|
1327
|
+
})
|
|
1328
|
+
}
|
|
1329
|
+
};
|
|
1330
|
+
},
|
|
1331
|
+
panel: function panel(_ref67) {
|
|
1332
|
+
var props = _ref67.props;
|
|
1289
1333
|
return {
|
|
1290
1334
|
className: classNames('bg-white dark:bg-gray-900', 'min-w-[350px]', {
|
|
1291
1335
|
'shadow-md border-0 absolute': !props.inline,
|
|
@@ -1315,8 +1359,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1315
1359
|
tableheadercell: 'p-2',
|
|
1316
1360
|
weekday: 'text-gray-600 dark:text-white/70',
|
|
1317
1361
|
day: 'p-2',
|
|
1318
|
-
daylabel: function daylabel(
|
|
1319
|
-
var context =
|
|
1362
|
+
daylabel: function daylabel(_ref68) {
|
|
1363
|
+
var context = _ref68.context;
|
|
1320
1364
|
return {
|
|
1321
1365
|
className: classNames('w-10 h-10 rounded-full transition-shadow duration-200 border-transparent border', 'flex items-center justify-center mx-auto overflow-hidden relative', '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)]', {
|
|
1322
1366
|
'opacity-60 cursor-default': context.disabled,
|
|
@@ -1328,8 +1372,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1328
1372
|
};
|
|
1329
1373
|
},
|
|
1330
1374
|
monthpicker: 'my-2',
|
|
1331
|
-
month: function month(
|
|
1332
|
-
var context =
|
|
1375
|
+
month: function month(_ref69) {
|
|
1376
|
+
var context = _ref69.context;
|
|
1333
1377
|
return {
|
|
1334
1378
|
className: classNames('w-1/3 inline-flex items-center justify-center cursor-pointer overflow-hidden relative', 'p-2 transition-shadow duration-200 rounded-lg', '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)]', {
|
|
1335
1379
|
'text-gray-600 dark:text-white/70 bg-transprent hover:bg-gray-200 dark:hover:bg-gray-800/80': !context.selected && !context.disabled,
|
|
@@ -1340,8 +1384,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1340
1384
|
yearpicker: {
|
|
1341
1385
|
className: classNames('my-2')
|
|
1342
1386
|
},
|
|
1343
|
-
year: function year(
|
|
1344
|
-
var context =
|
|
1387
|
+
year: function year(_ref70) {
|
|
1388
|
+
var context = _ref70.context;
|
|
1345
1389
|
return {
|
|
1346
1390
|
className: classNames('w-1/2 inline-flex items-center justify-center cursor-pointer overflow-hidden relative', 'p-2 transition-shadow duration-200 rounded-lg', '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)]', {
|
|
1347
1391
|
'text-gray-600 dark:text-white/70 bg-transprent hover:bg-gray-200 dark:hover:bg-gray-800/80': !context.selected && !context.disabled,
|
|
@@ -1375,13 +1419,13 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1375
1419
|
},
|
|
1376
1420
|
wrapper: 'overflow-auto',
|
|
1377
1421
|
list: 'py-3 list-none m-0',
|
|
1378
|
-
item: function item(
|
|
1379
|
-
var context =
|
|
1422
|
+
item: function item(_ref71) {
|
|
1423
|
+
var context = _ref71.context;
|
|
1380
1424
|
return {
|
|
1381
|
-
className: classNames('cursor-pointer font-normal overflow-hidden relative whitespace-nowrap', 'm-0 p-3 border-0 transition-shadow duration-200 rounded-none',
|
|
1382
|
-
'text-gray-700': !context.focused && !context.selected,
|
|
1383
|
-
'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90': context.focused && !context.selected,
|
|
1384
|
-
'bg-blue-
|
|
1425
|
+
className: classNames('cursor-pointer font-normal overflow-hidden relative whitespace-nowrap', 'm-0 p-3 border-0 transition-shadow duration-200 rounded-none', {
|
|
1426
|
+
'text-gray-700 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800': !context.focused && !context.selected,
|
|
1427
|
+
'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800': context.focused && !context.selected,
|
|
1428
|
+
'bg-blue-100 text-blue-700 dark:bg-blue-400 dark:text-white/80': context.focused && context.selected,
|
|
1385
1429
|
'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': !context.focused && context.selected
|
|
1386
1430
|
})
|
|
1387
1431
|
};
|
|
@@ -1408,8 +1452,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1408
1452
|
transition: TRANSITIONS.overlay
|
|
1409
1453
|
},
|
|
1410
1454
|
multiselect: {
|
|
1411
|
-
root: function root(
|
|
1412
|
-
var props =
|
|
1455
|
+
root: function root(_ref72) {
|
|
1456
|
+
var props = _ref72.props;
|
|
1413
1457
|
return {
|
|
1414
1458
|
className: classNames('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', {
|
|
1415
1459
|
'opacity-60 select-none pointer-events-none cursor-default': props === null || props === void 0 ? void 0 : props.disabled
|
|
@@ -1417,8 +1461,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1417
1461
|
};
|
|
1418
1462
|
},
|
|
1419
1463
|
labelContainer: 'overflow-hidden flex flex-auto cursor-pointer',
|
|
1420
|
-
label: function label(
|
|
1421
|
-
var props =
|
|
1464
|
+
label: function label(_ref73) {
|
|
1465
|
+
var props = _ref73.props;
|
|
1422
1466
|
return {
|
|
1423
1467
|
className: classNames('block overflow-hidden whitespace-nowrap cursor-pointer overflow-ellipsis', 'text-gray-800 dark:text-white/80', 'p-3 transition duration-200', _defineProperty({
|
|
1424
1468
|
'!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),
|
|
@@ -1442,8 +1486,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1442
1486
|
headerCheckboxContainer: {
|
|
1443
1487
|
className: classNames('inline-flex cursor-pointer select-none align-bottom relative', 'mr-2', 'w-6 h-6')
|
|
1444
1488
|
},
|
|
1445
|
-
headerCheckbox: function headerCheckbox(
|
|
1446
|
-
var context =
|
|
1489
|
+
headerCheckbox: function headerCheckbox(_ref74) {
|
|
1490
|
+
var context = _ref74.context;
|
|
1447
1491
|
return {
|
|
1448
1492
|
className: classNames('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)]', {
|
|
1449
1493
|
'border-gray-300 dark:border-blue-900/40 bg-white dark:bg-gray-900': !(context !== null && context !== void 0 && context.selected),
|
|
@@ -1460,13 +1504,13 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1460
1504
|
className: classNames('max-h-[200px] overflow-auto', 'bg-white text-gray-700 border-0 rounded-md shadow-lg', 'dark:bg-gray-900 dark:text-white/80')
|
|
1461
1505
|
},
|
|
1462
1506
|
list: 'py-3 list-none m-0',
|
|
1463
|
-
item: function item(
|
|
1464
|
-
var context =
|
|
1507
|
+
item: function item(_ref75) {
|
|
1508
|
+
var context = _ref75.context;
|
|
1465
1509
|
return {
|
|
1466
|
-
className: classNames('cursor-pointer font-normal overflow-hidden relative whitespace-nowrap', 'm-0 p-3 border-0 transition-shadow duration-200 rounded-none',
|
|
1467
|
-
'text-gray-700': !context.focused && !context.selected,
|
|
1468
|
-
'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90': context.focused && !context.selected,
|
|
1469
|
-
'bg-blue-
|
|
1510
|
+
className: classNames('cursor-pointer font-normal overflow-hidden relative whitespace-nowrap', 'm-0 p-3 border-0 transition-shadow duration-200 rounded-none', {
|
|
1511
|
+
'text-gray-700 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800': !context.focused && !context.selected,
|
|
1512
|
+
'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800': context.focused && !context.selected,
|
|
1513
|
+
'bg-blue-100 text-blue-700 dark:bg-blue-400 dark:text-white/80': context.focused && context.selected,
|
|
1470
1514
|
'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': !context.focused && context.selected
|
|
1471
1515
|
})
|
|
1472
1516
|
};
|
|
@@ -1474,8 +1518,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1474
1518
|
checkboxContainer: {
|
|
1475
1519
|
className: classNames('inline-flex cursor-pointer select-none align-bottom relative', 'mr-2', 'w-6 h-6')
|
|
1476
1520
|
},
|
|
1477
|
-
checkbox: function checkbox(
|
|
1478
|
-
var context =
|
|
1521
|
+
checkbox: function checkbox(_ref76) {
|
|
1522
|
+
var context = _ref76.context;
|
|
1479
1523
|
return {
|
|
1480
1524
|
className: classNames('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)]', {
|
|
1481
1525
|
'border-gray-300 dark:border-blue-900/40 bg-white dark:bg-gray-900': !(context !== null && context !== void 0 && context.selected),
|
|
@@ -1499,8 +1543,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1499
1543
|
root: {
|
|
1500
1544
|
className: classNames('cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6')
|
|
1501
1545
|
},
|
|
1502
|
-
checkbox: function checkbox(
|
|
1503
|
-
var props =
|
|
1546
|
+
checkbox: function checkbox(_ref77) {
|
|
1547
|
+
var props = _ref77.props;
|
|
1504
1548
|
return {
|
|
1505
1549
|
className: classNames('flex items-center justify-center', 'border-2 w-6 h-6 rounded-lg transition-colors duration-200', {
|
|
1506
1550
|
'border-blue-500 bg-blue-500 text-white dark:border-blue-400 dark:bg-blue-400': props.value || !props.value,
|
|
@@ -1513,8 +1557,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1513
1557
|
}
|
|
1514
1558
|
},
|
|
1515
1559
|
inputtextarea: {
|
|
1516
|
-
root: function root(
|
|
1517
|
-
var context =
|
|
1560
|
+
root: function root(_ref78) {
|
|
1561
|
+
var context = _ref78.context;
|
|
1518
1562
|
return {
|
|
1519
1563
|
className: classNames('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)]', {
|
|
1520
1564
|
'opacity-60 select-none pointer-events-none cursor-default': context.disabled
|
|
@@ -1523,8 +1567,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1523
1567
|
}
|
|
1524
1568
|
},
|
|
1525
1569
|
treeselect: {
|
|
1526
|
-
root: function root(
|
|
1527
|
-
var props =
|
|
1570
|
+
root: function root(_ref79) {
|
|
1571
|
+
var props = _ref79.props;
|
|
1528
1572
|
return {
|
|
1529
1573
|
className: classNames('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', {
|
|
1530
1574
|
'opacity-60 select-none pointer-events-none cursor-default': props === null || props === void 0 ? void 0 : props.disabled
|
|
@@ -1549,8 +1593,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1549
1593
|
transition: TRANSITIONS.overlay
|
|
1550
1594
|
},
|
|
1551
1595
|
autocomplete: {
|
|
1552
|
-
root: function root(
|
|
1553
|
-
var props =
|
|
1596
|
+
root: function root(_ref80) {
|
|
1597
|
+
var props = _ref80.props;
|
|
1554
1598
|
return {
|
|
1555
1599
|
className: classNames('relative inline-flex', {
|
|
1556
1600
|
'opacity-60 select-none pointer-events-none cursor-default': props.disabled
|
|
@@ -1565,8 +1609,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1565
1609
|
inputtoken: {
|
|
1566
1610
|
className: classNames('py-0.375rem px-0', 'flex-1 inline-flex')
|
|
1567
1611
|
},
|
|
1568
|
-
input: function input(
|
|
1569
|
-
var props =
|
|
1612
|
+
input: function input(_ref81) {
|
|
1613
|
+
var props = _ref81.props;
|
|
1570
1614
|
return {
|
|
1571
1615
|
root: {
|
|
1572
1616
|
className: classNames('m-0', 'transition-colors duration-200 appearance-none rounded-lg', {
|
|
@@ -1588,13 +1632,13 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1588
1632
|
className: classNames('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')
|
|
1589
1633
|
},
|
|
1590
1634
|
list: 'py-3 list-none m-0',
|
|
1591
|
-
item: function item(
|
|
1592
|
-
var context =
|
|
1635
|
+
item: function item(_ref82) {
|
|
1636
|
+
var context = _ref82.context;
|
|
1593
1637
|
return {
|
|
1594
|
-
className: classNames('cursor-pointer font-normal overflow-hidden relative whitespace-nowrap', 'm-0 p-3 border-0 transition-shadow duration-200 rounded-none',
|
|
1595
|
-
'text-gray-700': !context.focused && !context.selected,
|
|
1596
|
-
'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90': context.focused && !context.selected,
|
|
1597
|
-
'bg-blue-
|
|
1638
|
+
className: classNames('cursor-pointer font-normal overflow-hidden relative whitespace-nowrap', 'm-0 p-3 border-0 transition-shadow duration-200 rounded-none', {
|
|
1639
|
+
'text-gray-700 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800': !context.focused && !context.selected,
|
|
1640
|
+
'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800': context.focused && !context.selected,
|
|
1641
|
+
'bg-blue-100 text-blue-700 dark:bg-blue-400 dark:text-white/80': context.focused && context.selected,
|
|
1598
1642
|
'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': !context.focused && context.selected
|
|
1599
1643
|
})
|
|
1600
1644
|
};
|
|
@@ -1605,8 +1649,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1605
1649
|
transition: TRANSITIONS.overlay
|
|
1606
1650
|
},
|
|
1607
1651
|
chips: {
|
|
1608
|
-
root: function root(
|
|
1609
|
-
var props =
|
|
1652
|
+
root: function root(_ref83) {
|
|
1653
|
+
var props = _ref83.props;
|
|
1610
1654
|
return {
|
|
1611
1655
|
className: classNames('flex', {
|
|
1612
1656
|
'opacity-60 select-none pointer-events-none cursor-default': props.disabled
|
|
@@ -1628,8 +1672,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1628
1672
|
removeTokenIcon: 'ml-2'
|
|
1629
1673
|
},
|
|
1630
1674
|
colorpicker: {
|
|
1631
|
-
root: function root(
|
|
1632
|
-
var props =
|
|
1675
|
+
root: function root(_ref84) {
|
|
1676
|
+
var props = _ref84.props;
|
|
1633
1677
|
return {
|
|
1634
1678
|
className: classNames('inline-block', {
|
|
1635
1679
|
'opacity-60 select-none pointer-events-none cursor-default': props.disabled
|
|
@@ -1639,8 +1683,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1639
1683
|
input: {
|
|
1640
1684
|
className: classNames('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')
|
|
1641
1685
|
},
|
|
1642
|
-
panel: function panel(
|
|
1643
|
-
var props =
|
|
1686
|
+
panel: function panel(_ref85) {
|
|
1687
|
+
var props = _ref85.props;
|
|
1644
1688
|
return {
|
|
1645
1689
|
className: classNames('shadow-md', 'bg-gray-800 border-gray-900', {
|
|
1646
1690
|
'relative h-48 w-52': props.inline,
|
|
@@ -1680,8 +1724,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1680
1724
|
},
|
|
1681
1725
|
//MISC
|
|
1682
1726
|
badge: {
|
|
1683
|
-
root: function root(
|
|
1684
|
-
var props =
|
|
1727
|
+
root: function root(_ref86) {
|
|
1728
|
+
var props = _ref86.props;
|
|
1685
1729
|
return {
|
|
1686
1730
|
className: classNames('rounded-full p-0 text-center inline-block', 'bg-blue-500 text-white font-bold', {
|
|
1687
1731
|
'bg-gray-500 ': props.severity == 'secondary',
|
|
@@ -1699,9 +1743,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1699
1743
|
}
|
|
1700
1744
|
},
|
|
1701
1745
|
avatar: {
|
|
1702
|
-
root: function root(
|
|
1703
|
-
var props =
|
|
1704
|
-
state =
|
|
1746
|
+
root: function root(_ref87) {
|
|
1747
|
+
var props = _ref87.props,
|
|
1748
|
+
state = _ref87.state;
|
|
1705
1749
|
return {
|
|
1706
1750
|
className: classNames('flex items-center justify-center', 'bg-gray-300 dark:bg-gray-800', {
|
|
1707
1751
|
'rounded-lg': props.shape == 'square',
|
|
@@ -1737,8 +1781,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1737
1781
|
root: {
|
|
1738
1782
|
className: classNames('overflow-hidden relative', 'border-0 h-6 bg-gray-200 rounded-md dark:bg-gray-800')
|
|
1739
1783
|
},
|
|
1740
|
-
value: function value(
|
|
1741
|
-
var props =
|
|
1784
|
+
value: function value(_ref88) {
|
|
1785
|
+
var props = _ref88.props;
|
|
1742
1786
|
return {
|
|
1743
1787
|
className: classNames('border-0 m-0 bg-blue-500', {
|
|
1744
1788
|
'transition-width duration-1000 ease-in-out absolute items-center border-0 flex h-full justify-center overflow-hidden w-0': props.mode !== 'indeterminate',
|
|
@@ -1758,8 +1802,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1758
1802
|
circle: 'text-red-500 progress-spinner-circle'
|
|
1759
1803
|
},
|
|
1760
1804
|
skeleton: {
|
|
1761
|
-
root: function root(
|
|
1762
|
-
var props =
|
|
1805
|
+
root: function root(_ref89) {
|
|
1806
|
+
var props = _ref89.props;
|
|
1763
1807
|
return {
|
|
1764
1808
|
className: classNames('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', {
|
|
1765
1809
|
'rounded-md': props.shape !== 'circle',
|
|
@@ -1769,8 +1813,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1769
1813
|
}
|
|
1770
1814
|
},
|
|
1771
1815
|
tag: {
|
|
1772
|
-
root: function root(
|
|
1773
|
-
var props =
|
|
1816
|
+
root: function root(_ref90) {
|
|
1817
|
+
var props = _ref90.props;
|
|
1774
1818
|
return {
|
|
1775
1819
|
className: classNames('inline-flex items-center justify-center', 'bg-blue-500 text-white text-xs font-semibold px-2 py-1 ', {
|
|
1776
1820
|
'bg-gray-500 ': props.severity == 'secondary',
|
|
@@ -1794,8 +1838,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1794
1838
|
}
|
|
1795
1839
|
},
|
|
1796
1840
|
scrolltop: {
|
|
1797
|
-
root: function root(
|
|
1798
|
-
var props =
|
|
1841
|
+
root: function root(_ref91) {
|
|
1842
|
+
var props = _ref91.props;
|
|
1799
1843
|
return {
|
|
1800
1844
|
className: classNames('fixed bottom-20 right-20 flex items-center justify-center', 'ml-auto', {
|
|
1801
1845
|
'!bg-blue-500 hover:bg-blue-600 text-white rounded-md h-8 w-8': props.target == 'parent',
|
|
@@ -1804,10 +1848,13 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1804
1848
|
};
|
|
1805
1849
|
},
|
|
1806
1850
|
transition: {
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1851
|
+
timeout: 150,
|
|
1852
|
+
classNames: {
|
|
1853
|
+
enter: 'opacity-0',
|
|
1854
|
+
enterActive: '!opacity-100 transition-opacity duration-150',
|
|
1855
|
+
exit: 'opacity-100',
|
|
1856
|
+
exitActive: '!opacity-0 transition-opacity duration-150'
|
|
1857
|
+
}
|
|
1811
1858
|
}
|
|
1812
1859
|
},
|
|
1813
1860
|
terminal: {
|
|
@@ -1842,8 +1889,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1842
1889
|
className: classNames('m-0 p-0 list-none', 'outline-none')
|
|
1843
1890
|
},
|
|
1844
1891
|
menuitem: 'relative',
|
|
1845
|
-
content: function content(
|
|
1846
|
-
var context =
|
|
1892
|
+
content: function content(_ref92) {
|
|
1893
|
+
var context = _ref92.context;
|
|
1847
1894
|
return {
|
|
1848
1895
|
className: classNames('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',
|
|
1849
1896
|
// Hover
|
|
@@ -1861,13 +1908,18 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1861
1908
|
icon: 'text-gray-600 dark:text-white/70 mr-2',
|
|
1862
1909
|
label: 'text-gray-600 dark:text-white/70',
|
|
1863
1910
|
transition: {
|
|
1864
|
-
|
|
1865
|
-
|
|
1911
|
+
timeout: {
|
|
1912
|
+
enter: 250
|
|
1913
|
+
},
|
|
1914
|
+
classNames: {
|
|
1915
|
+
enter: 'opacity-0',
|
|
1916
|
+
enterActive: '!opacity-100 transition-opacity duration-250'
|
|
1917
|
+
}
|
|
1866
1918
|
}
|
|
1867
1919
|
},
|
|
1868
1920
|
dock: {
|
|
1869
|
-
root: function root(
|
|
1870
|
-
var props =
|
|
1921
|
+
root: function root(_ref93) {
|
|
1922
|
+
var props = _ref93.props;
|
|
1871
1923
|
return {
|
|
1872
1924
|
className: classNames('absolute z-1 flex justify-center items-center pointer-events-none', {
|
|
1873
1925
|
'left-0 bottom-0 w-full': props.position == 'bottom',
|
|
@@ -1880,18 +1932,18 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1880
1932
|
container: {
|
|
1881
1933
|
className: classNames('flex pointer-events-auto', 'bg-white/10 border-white/20 p-2 border rounded-md')
|
|
1882
1934
|
},
|
|
1883
|
-
menu: function menu(
|
|
1884
|
-
var props =
|
|
1935
|
+
menu: function menu(_ref94) {
|
|
1936
|
+
var props = _ref94.props;
|
|
1885
1937
|
return {
|
|
1886
1938
|
className: classNames('m-0 p-0 list-none flex items-center justify-center', 'outline-none', {
|
|
1887
1939
|
'flex-col': props.position == 'left' || props.position == 'right'
|
|
1888
1940
|
})
|
|
1889
1941
|
};
|
|
1890
1942
|
},
|
|
1891
|
-
menuitem: function menuitem(
|
|
1892
|
-
var props =
|
|
1893
|
-
context =
|
|
1894
|
-
state =
|
|
1943
|
+
menuitem: function menuitem(_ref95) {
|
|
1944
|
+
var props = _ref95.props,
|
|
1945
|
+
context = _ref95.context,
|
|
1946
|
+
state = _ref95.state;
|
|
1895
1947
|
return {
|
|
1896
1948
|
className: classNames('p-2 rounded-md', 'transition-all duration-200 ease-cubic-bezier-will-change-transform transform ', {
|
|
1897
1949
|
'origin-bottom hover:mx-6': props.position == 'bottom',
|
|
@@ -1914,8 +1966,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1914
1966
|
menu: {
|
|
1915
1967
|
className: classNames('m-0 p-0 list-none', 'outline-none')
|
|
1916
1968
|
},
|
|
1917
|
-
content: function content(
|
|
1918
|
-
var context =
|
|
1969
|
+
content: function content(_ref96) {
|
|
1970
|
+
var context = _ref96.context;
|
|
1919
1971
|
return {
|
|
1920
1972
|
className: classNames('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',
|
|
1921
1973
|
// Hover
|
|
@@ -1937,8 +1989,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1937
1989
|
root: {
|
|
1938
1990
|
className: classNames('p-2 bg-gray-100 dark:bg-gray-900 border border-gray-300 dark:border-blue-900/40 rounded-md', 'flex items-center relative')
|
|
1939
1991
|
},
|
|
1940
|
-
menu: function menu(
|
|
1941
|
-
var state =
|
|
1992
|
+
menu: function menu(_ref97) {
|
|
1993
|
+
var state = _ref97.state;
|
|
1942
1994
|
return {
|
|
1943
1995
|
className: classNames('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', {
|
|
1944
1996
|
'hidden ': !(state !== null && state !== void 0 && state.mobileActive),
|
|
@@ -1946,9 +1998,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1946
1998
|
})
|
|
1947
1999
|
};
|
|
1948
2000
|
},
|
|
1949
|
-
menuitem: function menuitem(
|
|
1950
|
-
var props =
|
|
1951
|
-
context =
|
|
2001
|
+
menuitem: function menuitem(_ref98) {
|
|
2002
|
+
var props = _ref98.props,
|
|
2003
|
+
context = _ref98.context;
|
|
1952
2004
|
return {
|
|
1953
2005
|
className: classNames('sm:relative sm:w-auto w-full static', 'transition-shadow duration-200', {
|
|
1954
2006
|
'rounded-md': props.root
|
|
@@ -1961,27 +2013,27 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1961
2013
|
})
|
|
1962
2014
|
};
|
|
1963
2015
|
},
|
|
1964
|
-
action: function action(
|
|
1965
|
-
var context =
|
|
2016
|
+
action: function action(_ref99) {
|
|
2017
|
+
var context = _ref99.context;
|
|
1966
2018
|
return {
|
|
1967
2019
|
className: classNames('select-none', 'cursor-pointer flex items-center no-underline overflow-hidden relative', 'py-3 px-5 select-none', {
|
|
1968
|
-
'
|
|
1969
|
-
'
|
|
2020
|
+
'pl-9 sm:pl-5': context.level === 1,
|
|
2021
|
+
'pl-14 sm:pl-5': context.level === 2
|
|
1970
2022
|
})
|
|
1971
2023
|
};
|
|
1972
2024
|
},
|
|
1973
2025
|
icon: 'mr-2',
|
|
1974
|
-
submenuicon: function submenuicon(
|
|
1975
|
-
var props =
|
|
2026
|
+
submenuicon: function submenuicon(_ref100) {
|
|
2027
|
+
var props = _ref100.props;
|
|
1976
2028
|
return {
|
|
1977
|
-
className: classNames(
|
|
1978
|
-
'ml-2': props.root,
|
|
2029
|
+
className: classNames({
|
|
2030
|
+
'ml-auto sm:ml-2': props.root,
|
|
1979
2031
|
'ml-auto': !props.root
|
|
1980
2032
|
})
|
|
1981
2033
|
};
|
|
1982
2034
|
},
|
|
1983
|
-
submenu: function submenu(
|
|
1984
|
-
var props =
|
|
2035
|
+
submenu: function submenu(_ref101) {
|
|
2036
|
+
var props = _ref101.props;
|
|
1985
2037
|
return {
|
|
1986
2038
|
className: classNames('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', {
|
|
1987
2039
|
'sm:absolute sm:left-full sm:top-0': !props.root
|
|
@@ -1994,8 +2046,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1994
2046
|
}
|
|
1995
2047
|
},
|
|
1996
2048
|
megamenu: {
|
|
1997
|
-
root: function root(
|
|
1998
|
-
var props =
|
|
2049
|
+
root: function root(_ref102) {
|
|
2050
|
+
var props = _ref102.props;
|
|
1999
2051
|
return {
|
|
2000
2052
|
className: classNames('bg-gray-100 dark:bg-gray-900 border border-gray-300 dark:border-blue-900/40 rounded-md', 'flex relative', {
|
|
2001
2053
|
'p-2 items-center': props.orientation == 'horizontal',
|
|
@@ -2006,9 +2058,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2006
2058
|
menu: {
|
|
2007
2059
|
className: classNames('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')
|
|
2008
2060
|
},
|
|
2009
|
-
menuitem: function menuitem(
|
|
2010
|
-
var props =
|
|
2011
|
-
context =
|
|
2061
|
+
menuitem: function menuitem(_ref103) {
|
|
2062
|
+
var props = _ref103.props,
|
|
2063
|
+
context = _ref103.context;
|
|
2012
2064
|
return {
|
|
2013
2065
|
className: classNames('transition-shadow duration-200', {
|
|
2014
2066
|
'rounded-md': props.orientation == 'horizontal'
|
|
@@ -2033,8 +2085,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2033
2085
|
icon: {
|
|
2034
2086
|
className: 'mr-2'
|
|
2035
2087
|
},
|
|
2036
|
-
submenuicon: function submenuicon(
|
|
2037
|
-
var props =
|
|
2088
|
+
submenuicon: function submenuicon(_ref104) {
|
|
2089
|
+
var props = _ref104.props;
|
|
2038
2090
|
return {
|
|
2039
2091
|
className: classNames({
|
|
2040
2092
|
'ml-2': props.orientation === 'horizontal',
|
|
@@ -2042,8 +2094,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2042
2094
|
})
|
|
2043
2095
|
};
|
|
2044
2096
|
},
|
|
2045
|
-
panel: function panel(
|
|
2046
|
-
var props =
|
|
2097
|
+
panel: function panel(_ref105) {
|
|
2098
|
+
var props = _ref105.props;
|
|
2047
2099
|
return {
|
|
2048
2100
|
className: classNames('py-1 bg-white dark:bg-gray-900 border-0 shadow-md w-auto', 'absolute z-10', {
|
|
2049
2101
|
'left-full top-0': props.orientation !== 'horizontal'
|
|
@@ -2079,8 +2131,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2079
2131
|
menu: {
|
|
2080
2132
|
className: classNames('outline-none', 'm-0 p-0 list-none')
|
|
2081
2133
|
},
|
|
2082
|
-
menuitem: function menuitem(
|
|
2083
|
-
var context =
|
|
2134
|
+
menuitem: function menuitem(_ref106) {
|
|
2135
|
+
var context = _ref106.context;
|
|
2084
2136
|
return {
|
|
2085
2137
|
className: classNames('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',
|
|
2086
2138
|
// Hover
|
|
@@ -2118,9 +2170,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2118
2170
|
className: classNames('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')
|
|
2119
2171
|
},
|
|
2120
2172
|
menuitem: 'mr-0',
|
|
2121
|
-
action: function action(
|
|
2122
|
-
var context =
|
|
2123
|
-
state =
|
|
2173
|
+
action: function action(_ref107) {
|
|
2174
|
+
var context = _ref107.context,
|
|
2175
|
+
state = _ref107.state;
|
|
2124
2176
|
return {
|
|
2125
2177
|
className: classNames('cursor-pointer select-none flex items-center relative no-underline overflow-hidden', 'border-b-2 p-5 font-bold rounded-t-lg ', '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)]', {
|
|
2126
2178
|
'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': state.activeIndex !== context.index,
|
|
@@ -2141,8 +2193,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2141
2193
|
},
|
|
2142
2194
|
content: 'relative overflow-x-hidden overflow-y-auto h-full',
|
|
2143
2195
|
menu: 'outline-none m-0 p-0 list-none absolute top-0 block',
|
|
2144
|
-
menuitem: function menuitem(
|
|
2145
|
-
var context =
|
|
2196
|
+
menuitem: function menuitem(_ref108) {
|
|
2197
|
+
var context = _ref108.context;
|
|
2146
2198
|
return {
|
|
2147
2199
|
className: classNames({
|
|
2148
2200
|
relative: !context.active,
|
|
@@ -2150,8 +2202,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2150
2202
|
})
|
|
2151
2203
|
};
|
|
2152
2204
|
},
|
|
2153
|
-
action: function action(
|
|
2154
|
-
var context =
|
|
2205
|
+
action: function action(_ref109) {
|
|
2206
|
+
var context = _ref109.context;
|
|
2155
2207
|
return {
|
|
2156
2208
|
className: classNames('py-3 px-5 select-none', 'flex items-center cursor-pointer no-underline relative overflow-hidden', {
|
|
2157
2209
|
'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,
|
|
@@ -2159,8 +2211,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2159
2211
|
})
|
|
2160
2212
|
};
|
|
2161
2213
|
},
|
|
2162
|
-
previous: function previous(
|
|
2163
|
-
var state =
|
|
2214
|
+
previous: function previous(_ref110) {
|
|
2215
|
+
var state = _ref110.state;
|
|
2164
2216
|
return {
|
|
2165
2217
|
className: classNames('py-3 px-5 cursor-pointer bottom-0 w-full text-gray-700 dark:text-white/80', {
|
|
2166
2218
|
hidden: state.level === 0
|
|
@@ -2183,8 +2235,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2183
2235
|
className: classNames('outline-none', 'm-0 p-0 list-none')
|
|
2184
2236
|
},
|
|
2185
2237
|
menuitem: 'relative',
|
|
2186
|
-
content: function content(
|
|
2187
|
-
var context =
|
|
2238
|
+
content: function content(_ref111) {
|
|
2239
|
+
var context = _ref111.context;
|
|
2188
2240
|
return {
|
|
2189
2241
|
className: classNames('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',
|
|
2190
2242
|
//Hover
|
|
@@ -2196,8 +2248,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2196
2248
|
})
|
|
2197
2249
|
};
|
|
2198
2250
|
},
|
|
2199
|
-
action: function action(
|
|
2200
|
-
var context =
|
|
2251
|
+
action: function action(_ref112) {
|
|
2252
|
+
var context = _ref112.context;
|
|
2201
2253
|
return {
|
|
2202
2254
|
className: classNames('py-3 px-5 select-none', 'flex items-center cursor-pointer no-underline relative overflow-hidden', {
|
|
2203
2255
|
'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,
|
|
@@ -2248,10 +2300,13 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2248
2300
|
},
|
|
2249
2301
|
closeicon: 'w-6 h-6',
|
|
2250
2302
|
transition: {
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2303
|
+
timeout: 150,
|
|
2304
|
+
classNames: {
|
|
2305
|
+
enter: 'opacity-0 scale-75',
|
|
2306
|
+
enterActive: '!opacity-100 !scale-100 transition-all duration-150 ease-in-out',
|
|
2307
|
+
exit: 'opacity-100 scale-100',
|
|
2308
|
+
exitActive: '!opacity-0 !scale-75 transition-all duration-150 ease-in'
|
|
2309
|
+
}
|
|
2255
2310
|
}
|
|
2256
2311
|
},
|
|
2257
2312
|
galleria: {
|
|
@@ -2279,8 +2334,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2279
2334
|
className: classNames('flex items-center justify-center', 'p-4')
|
|
2280
2335
|
},
|
|
2281
2336
|
indicator: 'mr-2',
|
|
2282
|
-
indicatorbutton: function indicatorbutton(
|
|
2283
|
-
var context =
|
|
2337
|
+
indicatorbutton: function indicatorbutton(_ref113) {
|
|
2338
|
+
var context = _ref113.context;
|
|
2284
2339
|
return {
|
|
2285
2340
|
className: classNames('w-4 h-4 transition duration-200 rounded-full', '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)]', {
|
|
2286
2341
|
'bg-gray-200 hover:bg-gray-300 dark:bg-gray-700 dark:hover:bg-gray-600': !context.highlighted,
|
|
@@ -2288,8 +2343,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2288
2343
|
})
|
|
2289
2344
|
};
|
|
2290
2345
|
},
|
|
2291
|
-
mask: function mask(
|
|
2292
|
-
var state =
|
|
2346
|
+
mask: function mask(_ref114) {
|
|
2347
|
+
var state = _ref114.state;
|
|
2293
2348
|
return {
|
|
2294
2349
|
className: classNames({
|
|
2295
2350
|
'fixed top-0 left-0 w-full h-full flex items-center justify-center bg-black bg-opacity-90': state.visible
|
|
@@ -2310,17 +2365,20 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2310
2365
|
className: classNames('absolute bottom-0 left-0 w-full', 'bg-black/50 text-white p-4')
|
|
2311
2366
|
},
|
|
2312
2367
|
transition: {
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2368
|
+
timeout: 150,
|
|
2369
|
+
classNames: {
|
|
2370
|
+
enter: 'opacity-0 scale-75',
|
|
2371
|
+
enterActive: '!opacity-100 !scale-100 transition-all duration-150 ease-in-out',
|
|
2372
|
+
exit: 'opacity-100 scale-100',
|
|
2373
|
+
exitActive: '!opacity-0 !scale-75 transition-all duration-150 ease-in'
|
|
2374
|
+
}
|
|
2317
2375
|
}
|
|
2318
2376
|
},
|
|
2319
2377
|
carousel: {
|
|
2320
2378
|
root: 'flex flex-col',
|
|
2321
2379
|
content: 'flex flex-col overflow-auto',
|
|
2322
|
-
container: function container(
|
|
2323
|
-
var props =
|
|
2380
|
+
container: function container(_ref115) {
|
|
2381
|
+
var props = _ref115.props;
|
|
2324
2382
|
return {
|
|
2325
2383
|
className: classNames('flex', {
|
|
2326
2384
|
'flex-row': props.orientation !== 'vertical',
|
|
@@ -2332,8 +2390,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2332
2390
|
className: classNames('flex justify-center items-center self-center overflow-hidden relative shrink-0 grow-0', 'w-8 h-8 text-gray-600 border-0 bg-transparent rounded-full transition duration-200 ease-in-out mx-2')
|
|
2333
2391
|
},
|
|
2334
2392
|
itemscontent: 'overflow-hidden w-full',
|
|
2335
|
-
itemscontainer: function itemscontainer(
|
|
2336
|
-
var props =
|
|
2393
|
+
itemscontainer: function itemscontainer(_ref116) {
|
|
2394
|
+
var props = _ref116.props;
|
|
2337
2395
|
return {
|
|
2338
2396
|
className: classNames('flex ', {
|
|
2339
2397
|
'flex-row': props.orientation !== 'vertical',
|
|
@@ -2341,8 +2399,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2341
2399
|
})
|
|
2342
2400
|
};
|
|
2343
2401
|
},
|
|
2344
|
-
item: function item(
|
|
2345
|
-
var props =
|
|
2402
|
+
item: function item(_ref117) {
|
|
2403
|
+
var props = _ref117.props;
|
|
2346
2404
|
return {
|
|
2347
2405
|
className: classNames('flex shrink-0 grow', {
|
|
2348
2406
|
'w-1/3': props.orientation !== 'vertical',
|
|
@@ -2354,8 +2412,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2354
2412
|
className: classNames('flex flex-row justify-center flex-wrap')
|
|
2355
2413
|
},
|
|
2356
2414
|
indicator: 'mr-2 mb-2',
|
|
2357
|
-
indicatorbutton: function indicatorbutton(
|
|
2358
|
-
var context =
|
|
2415
|
+
indicatorbutton: function indicatorbutton(_ref118) {
|
|
2416
|
+
var context = _ref118.context;
|
|
2359
2417
|
return {
|
|
2360
2418
|
className: classNames('w-8 h-2 transition duration-200 rounded-0', '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)]', {
|
|
2361
2419
|
'bg-blue-500 hover:bg-blue-600': context.active,
|
|
@@ -2371,9 +2429,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2371
2429
|
wrapper: 'overflow-auto',
|
|
2372
2430
|
container: 'm-0 p-0 list-none overflow-auto',
|
|
2373
2431
|
node: 'p-1 outline-none',
|
|
2374
|
-
content: function content(
|
|
2375
|
-
var context =
|
|
2376
|
-
props =
|
|
2432
|
+
content: function content(_ref119) {
|
|
2433
|
+
var context = _ref119.context,
|
|
2434
|
+
props = _ref119.props;
|
|
2377
2435
|
return {
|
|
2378
2436
|
className: classNames('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)]', {
|
|
2379
2437
|
'bg-blue-50 text-blue-600': context.selected
|
|
@@ -2382,8 +2440,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2382
2440
|
})
|
|
2383
2441
|
};
|
|
2384
2442
|
},
|
|
2385
|
-
toggler: function toggler(
|
|
2386
|
-
var context =
|
|
2443
|
+
toggler: function toggler(_ref120) {
|
|
2444
|
+
var context = _ref120.context;
|
|
2387
2445
|
return {
|
|
2388
2446
|
className: classNames('cursor-pointer select-none inline-flex items-center justify-center overflow-hidden relative 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)]', {
|
|
2389
2447
|
'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,
|
|
@@ -2394,9 +2452,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2394
2452
|
};
|
|
2395
2453
|
},
|
|
2396
2454
|
checkboxcontainer: 'mr-2',
|
|
2397
|
-
checkbox: function checkbox(
|
|
2398
|
-
var context =
|
|
2399
|
-
props =
|
|
2455
|
+
checkbox: function checkbox(_ref121) {
|
|
2456
|
+
var context = _ref121.context,
|
|
2457
|
+
props = _ref121.props;
|
|
2400
2458
|
return {
|
|
2401
2459
|
className: classNames('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', {
|
|
2402
2460
|
'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900': !context.checked,
|
|
@@ -2421,8 +2479,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2421
2479
|
},
|
|
2422
2480
|
// DATA
|
|
2423
2481
|
timeline: {
|
|
2424
|
-
root: function root(
|
|
2425
|
-
var props =
|
|
2482
|
+
root: function root(_ref122) {
|
|
2483
|
+
var props = _ref122.props;
|
|
2426
2484
|
return {
|
|
2427
2485
|
className: classNames('flex grow', {
|
|
2428
2486
|
'flex-col': props.layout === 'vertical',
|
|
@@ -2430,9 +2488,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2430
2488
|
})
|
|
2431
2489
|
};
|
|
2432
2490
|
},
|
|
2433
|
-
event: function event(
|
|
2434
|
-
var props =
|
|
2435
|
-
context =
|
|
2491
|
+
event: function event(_ref123) {
|
|
2492
|
+
var props = _ref123.props,
|
|
2493
|
+
context = _ref123.context;
|
|
2436
2494
|
return {
|
|
2437
2495
|
className: classNames('flex relative min-h-[70px]', {
|
|
2438
2496
|
'flex-row-reverse': props.align === 'right' || props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 1,
|
|
@@ -2441,9 +2499,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2441
2499
|
})
|
|
2442
2500
|
};
|
|
2443
2501
|
},
|
|
2444
|
-
opposite: function opposite(
|
|
2445
|
-
var props =
|
|
2446
|
-
context =
|
|
2502
|
+
opposite: function opposite(_ref124) {
|
|
2503
|
+
var props = _ref124.props,
|
|
2504
|
+
context = _ref124.context;
|
|
2447
2505
|
return {
|
|
2448
2506
|
className: classNames('flex-1', {
|
|
2449
2507
|
'px-4': props.layout === 'vertical',
|
|
@@ -2454,8 +2512,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2454
2512
|
})
|
|
2455
2513
|
};
|
|
2456
2514
|
},
|
|
2457
|
-
separator: function separator(
|
|
2458
|
-
var props =
|
|
2515
|
+
separator: function separator(_ref125) {
|
|
2516
|
+
var props = _ref125.props;
|
|
2459
2517
|
return {
|
|
2460
2518
|
className: classNames('flex items-center flex-initial', {
|
|
2461
2519
|
'flex-col': props.layout === 'vertical',
|
|
@@ -2464,8 +2522,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2464
2522
|
};
|
|
2465
2523
|
},
|
|
2466
2524
|
marker: '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',
|
|
2467
|
-
connector: function connector(
|
|
2468
|
-
var props =
|
|
2525
|
+
connector: function connector(_ref126) {
|
|
2526
|
+
var props = _ref126.props;
|
|
2469
2527
|
return {
|
|
2470
2528
|
className: classNames('grow bg-gray-300 dark:bg-blue-900/40', {
|
|
2471
2529
|
'w-[2px]': props.layout === 'vertical',
|
|
@@ -2473,9 +2531,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2473
2531
|
})
|
|
2474
2532
|
};
|
|
2475
2533
|
},
|
|
2476
|
-
content: function content(
|
|
2477
|
-
var props =
|
|
2478
|
-
context =
|
|
2534
|
+
content: function content(_ref127) {
|
|
2535
|
+
var props = _ref127.props,
|
|
2536
|
+
context = _ref127.context;
|
|
2479
2537
|
return {
|
|
2480
2538
|
className: classNames('flex-1', {
|
|
2481
2539
|
'px-4': props.layout === 'vertical',
|
|
@@ -2500,16 +2558,16 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2500
2558
|
header: 'bg-gray-100 dark:bg-gray-800 text-gray-800 dark:text-white/80 border-gray-200 dark:border-blue-900/40 border-t border-b p-4 font-bold'
|
|
2501
2559
|
},
|
|
2502
2560
|
dataviewlayoutoptions: {
|
|
2503
|
-
listbutton: function listbutton(
|
|
2504
|
-
var props =
|
|
2561
|
+
listbutton: function listbutton(_ref128) {
|
|
2562
|
+
var props = _ref128.props;
|
|
2505
2563
|
return {
|
|
2506
2564
|
className: classNames('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
|
|
2507
2565
|
)
|
|
2508
2566
|
};
|
|
2509
2567
|
},
|
|
2510
2568
|
|
|
2511
|
-
gridbutton: function gridbutton(
|
|
2512
|
-
var props =
|
|
2569
|
+
gridbutton: function gridbutton(_ref129) {
|
|
2570
|
+
var props = _ref129.props;
|
|
2513
2571
|
return {
|
|
2514
2572
|
className: classNames('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
|
|
2515
2573
|
)
|
|
@@ -2540,8 +2598,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2540
2598
|
)
|
|
2541
2599
|
},
|
|
2542
2600
|
|
|
2543
|
-
lineleft: function lineleft(
|
|
2544
|
-
var context =
|
|
2601
|
+
lineleft: function lineleft(_ref130) {
|
|
2602
|
+
var context = _ref130.context;
|
|
2545
2603
|
return {
|
|
2546
2604
|
className: classNames('text-center align-top py-0 px-3 rounded-none border-r border-gray-300', 'dark:border-blue-900/40',
|
|
2547
2605
|
//Dark Mode
|
|
@@ -2550,8 +2608,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2550
2608
|
})
|
|
2551
2609
|
};
|
|
2552
2610
|
},
|
|
2553
|
-
lineright: function lineright(
|
|
2554
|
-
var context =
|
|
2611
|
+
lineright: function lineright(_ref131) {
|
|
2612
|
+
var context = _ref131.context;
|
|
2555
2613
|
return {
|
|
2556
2614
|
className: classNames('text-center align-top py-0 px-3 rounded-none', 'dark:border-blue-900/40',
|
|
2557
2615
|
//Dark Mode
|
|
@@ -2572,8 +2630,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2572
2630
|
root: 'flex',
|
|
2573
2631
|
controls: 'flex flex-col justify-center p-5',
|
|
2574
2632
|
moveupbutton: {
|
|
2575
|
-
root: function root(
|
|
2576
|
-
var context =
|
|
2633
|
+
root: function root(_ref132) {
|
|
2634
|
+
var context = _ref132.context;
|
|
2577
2635
|
return {
|
|
2578
2636
|
className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
|
|
2579
2637
|
// button component
|
|
@@ -2591,8 +2649,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2591
2649
|
label: 'flex-initial w-0'
|
|
2592
2650
|
},
|
|
2593
2651
|
movetopbutton: {
|
|
2594
|
-
root: function root(
|
|
2595
|
-
var context =
|
|
2652
|
+
root: function root(_ref133) {
|
|
2653
|
+
var context = _ref133.context;
|
|
2596
2654
|
return {
|
|
2597
2655
|
className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
|
|
2598
2656
|
// button component
|
|
@@ -2610,8 +2668,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2610
2668
|
label: 'flex-initial w-0'
|
|
2611
2669
|
},
|
|
2612
2670
|
movedownbutton: {
|
|
2613
|
-
root: function root(
|
|
2614
|
-
var context =
|
|
2671
|
+
root: function root(_ref134) {
|
|
2672
|
+
var context = _ref134.context;
|
|
2615
2673
|
return {
|
|
2616
2674
|
className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
|
|
2617
2675
|
// button component
|
|
@@ -2629,8 +2687,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2629
2687
|
label: 'flex-initial w-0'
|
|
2630
2688
|
},
|
|
2631
2689
|
movebottombutton: {
|
|
2632
|
-
root: function root(
|
|
2633
|
-
var context =
|
|
2690
|
+
root: function root(_ref135) {
|
|
2691
|
+
var context = _ref135.context;
|
|
2634
2692
|
return {
|
|
2635
2693
|
className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
|
|
2636
2694
|
// button component
|
|
@@ -2658,8 +2716,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2658
2716
|
)
|
|
2659
2717
|
},
|
|
2660
2718
|
|
|
2661
|
-
item: function item(
|
|
2662
|
-
var context =
|
|
2719
|
+
item: function item(_ref136) {
|
|
2720
|
+
var context = _ref136.context;
|
|
2663
2721
|
return {
|
|
2664
2722
|
className: classNames('relative cursor-pointer overflow-hidden', 'py-3 px-5 m-0 border-none text-gray-600 dark:text-white/80', 'transition duration-200', {
|
|
2665
2723
|
'text-blue-700 bg-blue-500/20 dark:bg-blue-300/20': context.selected
|
|
@@ -2737,8 +2795,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2737
2795
|
)
|
|
2738
2796
|
},
|
|
2739
2797
|
|
|
2740
|
-
item: function item(
|
|
2741
|
-
var context =
|
|
2798
|
+
item: function item(_ref137) {
|
|
2799
|
+
var context = _ref137.context;
|
|
2742
2800
|
return {
|
|
2743
2801
|
className: classNames('relative cursor-pointer overflow-hidden', 'py-3 px-5 m-0 border-none text-gray-600 dark:text-white/80', 'transition duration-200', {
|
|
2744
2802
|
'text-blue-700 bg-blue-500/20 dark:bg-blue-300/20': context.selected,
|
|
@@ -2872,10 +2930,13 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2872
2930
|
},
|
|
2873
2931
|
|
|
2874
2932
|
transition: {
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2933
|
+
timeout: 0,
|
|
2934
|
+
classNames: {
|
|
2935
|
+
enter: '!transition-none',
|
|
2936
|
+
enterActive: '!transition-none',
|
|
2937
|
+
exit: '!transition-none',
|
|
2938
|
+
exitActive: '!transition-none'
|
|
2939
|
+
}
|
|
2879
2940
|
}
|
|
2880
2941
|
},
|
|
2881
2942
|
paginator: {
|
|
@@ -2884,8 +2945,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2884
2945
|
)
|
|
2885
2946
|
},
|
|
2886
2947
|
|
|
2887
|
-
firstpagebutton: function firstpagebutton(
|
|
2888
|
-
var context =
|
|
2948
|
+
firstpagebutton: function firstpagebutton(_ref138) {
|
|
2949
|
+
var context = _ref138.context;
|
|
2889
2950
|
return {
|
|
2890
2951
|
className: classNames('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',
|
|
2891
2952
|
//Dark Mode
|
|
@@ -2896,8 +2957,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2896
2957
|
};
|
|
2897
2958
|
},
|
|
2898
2959
|
|
|
2899
|
-
previouspagebutton: function previouspagebutton(
|
|
2900
|
-
var context =
|
|
2960
|
+
previouspagebutton: function previouspagebutton(_ref139) {
|
|
2961
|
+
var context = _ref139.context;
|
|
2901
2962
|
return {
|
|
2902
2963
|
className: classNames('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',
|
|
2903
2964
|
//Dark Mode
|
|
@@ -2908,8 +2969,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2908
2969
|
};
|
|
2909
2970
|
},
|
|
2910
2971
|
|
|
2911
|
-
nextpagebutton: function nextpagebutton(
|
|
2912
|
-
var context =
|
|
2972
|
+
nextpagebutton: function nextpagebutton(_ref140) {
|
|
2973
|
+
var context = _ref140.context;
|
|
2913
2974
|
return {
|
|
2914
2975
|
className: classNames('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',
|
|
2915
2976
|
//Dark Mode
|
|
@@ -2920,8 +2981,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2920
2981
|
};
|
|
2921
2982
|
},
|
|
2922
2983
|
|
|
2923
|
-
lastpagebutton: function lastpagebutton(
|
|
2924
|
-
var context =
|
|
2984
|
+
lastpagebutton: function lastpagebutton(_ref141) {
|
|
2985
|
+
var context = _ref141.context;
|
|
2925
2986
|
return {
|
|
2926
2987
|
className: classNames('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',
|
|
2927
2988
|
//Dark Mode
|
|
@@ -2932,8 +2993,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2932
2993
|
};
|
|
2933
2994
|
},
|
|
2934
2995
|
|
|
2935
|
-
pagebutton: function pagebutton(
|
|
2936
|
-
var context =
|
|
2996
|
+
pagebutton: function pagebutton(_ref142) {
|
|
2997
|
+
var context = _ref142.context;
|
|
2937
2998
|
return {
|
|
2938
2999
|
className: classNames('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',
|
|
2939
3000
|
// Dark Mode
|
|
@@ -2945,9 +3006,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2945
3006
|
};
|
|
2946
3007
|
},
|
|
2947
3008
|
rowperpagedropdown: {
|
|
2948
|
-
root: function root(
|
|
2949
|
-
var props =
|
|
2950
|
-
state =
|
|
3009
|
+
root: function root(_ref143) {
|
|
3010
|
+
var props = _ref143.props,
|
|
3011
|
+
state = _ref143.state;
|
|
2951
3012
|
return {
|
|
2952
3013
|
className: classNames('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',
|
|
2953
3014
|
//DarkMode
|
|
@@ -2975,8 +3036,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2975
3036
|
|
|
2976
3037
|
wrapper: 'overflow-auto',
|
|
2977
3038
|
list: 'm-0 p-0 py-3 list-none',
|
|
2978
|
-
item: function item(
|
|
2979
|
-
var context =
|
|
3039
|
+
item: function item(_ref144) {
|
|
3040
|
+
var context = _ref144.context;
|
|
2980
3041
|
return {
|
|
2981
3042
|
className: classNames('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',
|
|
2982
3043
|
// Dark Mode
|
|
@@ -2997,9 +3058,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2997
3058
|
}
|
|
2998
3059
|
},
|
|
2999
3060
|
jumptopagedropdown: {
|
|
3000
|
-
root: function root(
|
|
3001
|
-
var props =
|
|
3002
|
-
state =
|
|
3061
|
+
root: function root(_ref145) {
|
|
3062
|
+
var props = _ref145.props,
|
|
3063
|
+
state = _ref145.state;
|
|
3003
3064
|
return {
|
|
3004
3065
|
className: classNames('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',
|
|
3005
3066
|
//DarkMode
|
|
@@ -3027,8 +3088,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3027
3088
|
|
|
3028
3089
|
wrapper: 'overflow-auto',
|
|
3029
3090
|
list: 'm-0 p-0 py-3 list-none',
|
|
3030
|
-
item: function item(
|
|
3031
|
-
var context =
|
|
3091
|
+
item: function item(_ref146) {
|
|
3092
|
+
var context = _ref146.context;
|
|
3032
3093
|
return {
|
|
3033
3094
|
className: classNames('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',
|
|
3034
3095
|
// Dark Mode
|
|
@@ -3042,8 +3103,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3042
3103
|
}
|
|
3043
3104
|
},
|
|
3044
3105
|
treetable: {
|
|
3045
|
-
root: function root(
|
|
3046
|
-
var props =
|
|
3106
|
+
root: function root(_ref147) {
|
|
3107
|
+
var props = _ref147.props;
|
|
3047
3108
|
return {
|
|
3048
3109
|
className: classNames('relative', {
|
|
3049
3110
|
'flex flex-col h-full': props.scrollHeight
|
|
@@ -3061,8 +3122,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3061
3122
|
)
|
|
3062
3123
|
},
|
|
3063
3124
|
|
|
3064
|
-
scrollablewrapper: function scrollablewrapper(
|
|
3065
|
-
var props =
|
|
3125
|
+
scrollablewrapper: function scrollablewrapper(_ref148) {
|
|
3126
|
+
var props = _ref148.props;
|
|
3066
3127
|
return {
|
|
3067
3128
|
className: classNames({
|
|
3068
3129
|
'relative overflow-auto': props.scrollable,
|
|
@@ -3070,8 +3131,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3070
3131
|
})
|
|
3071
3132
|
};
|
|
3072
3133
|
},
|
|
3073
|
-
wrapper: function wrapper(
|
|
3074
|
-
var props =
|
|
3134
|
+
wrapper: function wrapper(_ref149) {
|
|
3135
|
+
var props = _ref149.props;
|
|
3075
3136
|
return {
|
|
3076
3137
|
className: classNames({
|
|
3077
3138
|
'relative overflow-auto': props.scrollable,
|
|
@@ -3085,40 +3146,40 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3085
3146
|
},
|
|
3086
3147
|
|
|
3087
3148
|
table: 'border-collapse table-fixed w-full',
|
|
3088
|
-
thead: function thead(
|
|
3089
|
-
var props =
|
|
3149
|
+
thead: function thead(_ref150) {
|
|
3150
|
+
var props = _ref150.props;
|
|
3090
3151
|
return {
|
|
3091
3152
|
className: classNames({
|
|
3092
3153
|
'block sticky top-0 z-[1]': props.scrollable
|
|
3093
3154
|
})
|
|
3094
3155
|
};
|
|
3095
3156
|
},
|
|
3096
|
-
tbody: function tbody(
|
|
3097
|
-
var props =
|
|
3157
|
+
tbody: function tbody(_ref151) {
|
|
3158
|
+
var props = _ref151.props;
|
|
3098
3159
|
return {
|
|
3099
3160
|
className: classNames({
|
|
3100
3161
|
block: props.scrollable
|
|
3101
3162
|
})
|
|
3102
3163
|
};
|
|
3103
3164
|
},
|
|
3104
|
-
tfoot: function tfoot(
|
|
3105
|
-
var props =
|
|
3165
|
+
tfoot: function tfoot(_ref152) {
|
|
3166
|
+
var props = _ref152.props;
|
|
3106
3167
|
return {
|
|
3107
3168
|
className: classNames({
|
|
3108
3169
|
block: props.scrollable
|
|
3109
3170
|
})
|
|
3110
3171
|
};
|
|
3111
3172
|
},
|
|
3112
|
-
headerrow: function headerrow(
|
|
3113
|
-
var props =
|
|
3173
|
+
headerrow: function headerrow(_ref153) {
|
|
3174
|
+
var props = _ref153.props;
|
|
3114
3175
|
return {
|
|
3115
3176
|
className: classNames({
|
|
3116
3177
|
'flex flex-nowrap w-full': props.scrollable
|
|
3117
3178
|
})
|
|
3118
3179
|
};
|
|
3119
3180
|
},
|
|
3120
|
-
row: function row(
|
|
3121
|
-
var context =
|
|
3181
|
+
row: function row(_ref154) {
|
|
3182
|
+
var context = _ref154.context;
|
|
3122
3183
|
return {
|
|
3123
3184
|
className: classNames('transition duration-200', 'focus:outline focus:outline-[0.15rem] focus:outline-blue-200 focus:outline-offset-[-0.15rem]',
|
|
3124
3185
|
// Focus
|
|
@@ -3130,8 +3191,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3130
3191
|
};
|
|
3131
3192
|
},
|
|
3132
3193
|
column: {
|
|
3133
|
-
headercell: function headercell(
|
|
3134
|
-
var context =
|
|
3194
|
+
headercell: function headercell(_ref155) {
|
|
3195
|
+
var context = _ref155.context;
|
|
3135
3196
|
return {
|
|
3136
3197
|
className: classNames('text-left border-gray-300 border font-bold', 'transition duration-200 p-4', 'dark:border-blue-900/40 dark:text-white/80 dark:bg-gray-900',
|
|
3137
3198
|
//Dark Mode
|
|
@@ -3146,8 +3207,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3146
3207
|
})
|
|
3147
3208
|
};
|
|
3148
3209
|
},
|
|
3149
|
-
bodycell: function bodycell(
|
|
3150
|
-
var context =
|
|
3210
|
+
bodycell: function bodycell(_ref156) {
|
|
3211
|
+
var context = _ref156.context;
|
|
3151
3212
|
return {
|
|
3152
3213
|
className: classNames('text-left border-gray-300 border', 'transition duration-200 p-4', 'dark:border-blue-900/40',
|
|
3153
3214
|
//Dark Mode
|
|
@@ -3160,8 +3221,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3160
3221
|
})
|
|
3161
3222
|
};
|
|
3162
3223
|
},
|
|
3163
|
-
rowtoggler: function rowtoggler(
|
|
3164
|
-
var context =
|
|
3224
|
+
rowtoggler: function rowtoggler(_ref157) {
|
|
3225
|
+
var context = _ref157.context;
|
|
3165
3226
|
return {
|
|
3166
3227
|
className: classNames('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', {
|
|
3167
3228
|
'text-blue-700': context.selected,
|
|
@@ -3171,8 +3232,11 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3171
3232
|
};
|
|
3172
3233
|
},
|
|
3173
3234
|
|
|
3174
|
-
|
|
3175
|
-
|
|
3235
|
+
sort: {
|
|
3236
|
+
className: 'inline-block align-middle'
|
|
3237
|
+
},
|
|
3238
|
+
sorticon: function sorticon(_ref158) {
|
|
3239
|
+
var context = _ref158.context;
|
|
3176
3240
|
return {
|
|
3177
3241
|
className: classNames('ml-2', {
|
|
3178
3242
|
'text-blue-700 dark:text-white/80': context.sorted,
|
|
@@ -3189,8 +3253,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3189
3253
|
checkboxwrapper: {
|
|
3190
3254
|
className: classNames('cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6 mr-2')
|
|
3191
3255
|
},
|
|
3192
|
-
checkbox: function checkbox(
|
|
3193
|
-
var context =
|
|
3256
|
+
checkbox: function checkbox(_ref159) {
|
|
3257
|
+
var context = _ref159.context;
|
|
3194
3258
|
return {
|
|
3195
3259
|
className: classNames('flex items-center justify-center', 'border-2 w-6 h-6 text-gray-600 rounded-lg transition-colors duration-200', {
|
|
3196
3260
|
'border-blue-500 bg-blue-500 dark:border-blue-400 dark:bg-blue-400': context.checked,
|
|
@@ -3200,8 +3264,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3200
3264
|
})
|
|
3201
3265
|
};
|
|
3202
3266
|
},
|
|
3203
|
-
checkboxicon: function checkboxicon(
|
|
3204
|
-
var context =
|
|
3267
|
+
checkboxicon: function checkboxicon(_ref160) {
|
|
3268
|
+
var context = _ref160.context;
|
|
3205
3269
|
return {
|
|
3206
3270
|
className: classNames('w-4 h-4 transition-all duration-200 text-base dark:text-gray-900', {
|
|
3207
3271
|
'text-white': context.checked
|
|
@@ -3212,8 +3276,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3212
3276
|
resizehelper: 'absolute hidden w-px z-10 bg-blue-500 dark:bg-blue-300'
|
|
3213
3277
|
},
|
|
3214
3278
|
datatable: {
|
|
3215
|
-
root: function root(
|
|
3216
|
-
var props =
|
|
3279
|
+
root: function root(_ref161) {
|
|
3280
|
+
var props = _ref161.props;
|
|
3217
3281
|
return {
|
|
3218
3282
|
className: classNames('relative', {
|
|
3219
3283
|
'flex flex-col h-full': props.scrollable && props.scrollHeight === 'flex'
|
|
@@ -3226,8 +3290,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3226
3290
|
},
|
|
3227
3291
|
|
|
3228
3292
|
loadingicon: 'w-8 h-8',
|
|
3229
|
-
wrapper: function wrapper(
|
|
3230
|
-
var props =
|
|
3293
|
+
wrapper: function wrapper(_ref162) {
|
|
3294
|
+
var props = _ref162.props;
|
|
3231
3295
|
return {
|
|
3232
3296
|
className: classNames({
|
|
3233
3297
|
relative: props.scrollable,
|
|
@@ -3235,8 +3299,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3235
3299
|
})
|
|
3236
3300
|
};
|
|
3237
3301
|
},
|
|
3238
|
-
header: function header(
|
|
3239
|
-
var props =
|
|
3302
|
+
header: function header(_ref163) {
|
|
3303
|
+
var props = _ref163.props;
|
|
3240
3304
|
return {
|
|
3241
3305
|
className: classNames('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',
|
|
3242
3306
|
// Dark Mode
|
|
@@ -3244,25 +3308,25 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3244
3308
|
};
|
|
3245
3309
|
},
|
|
3246
3310
|
table: 'w-full border-spacing-0',
|
|
3247
|
-
thead: function thead(
|
|
3248
|
-
var context =
|
|
3311
|
+
thead: function thead(_ref164) {
|
|
3312
|
+
var context = _ref164.context;
|
|
3249
3313
|
return {
|
|
3250
3314
|
className: classNames({
|
|
3251
3315
|
'bg-slate-50 top-0 z-[1]': context.scrollable
|
|
3252
3316
|
})
|
|
3253
3317
|
};
|
|
3254
3318
|
},
|
|
3255
|
-
tbody: function tbody(
|
|
3256
|
-
var props =
|
|
3257
|
-
context =
|
|
3319
|
+
tbody: function tbody(_ref165) {
|
|
3320
|
+
var props = _ref165.props,
|
|
3321
|
+
context = _ref165.context;
|
|
3258
3322
|
return {
|
|
3259
3323
|
className: classNames({
|
|
3260
3324
|
'sticky z-[1]': props.frozenRow && context.scrollable
|
|
3261
3325
|
})
|
|
3262
3326
|
};
|
|
3263
3327
|
},
|
|
3264
|
-
tfoot: function tfoot(
|
|
3265
|
-
var context =
|
|
3328
|
+
tfoot: function tfoot(_ref166) {
|
|
3329
|
+
var context = _ref166.context;
|
|
3266
3330
|
return {
|
|
3267
3331
|
className: classNames({
|
|
3268
3332
|
'bg-slate-50 bottom-0 z-[1]': context.scrollable
|
|
@@ -3275,9 +3339,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3275
3339
|
},
|
|
3276
3340
|
|
|
3277
3341
|
column: {
|
|
3278
|
-
headercell: function headercell(
|
|
3279
|
-
var context =
|
|
3280
|
-
props =
|
|
3342
|
+
headercell: function headercell(_ref167) {
|
|
3343
|
+
var context = _ref167.context,
|
|
3344
|
+
props = _ref167.props;
|
|
3281
3345
|
return {
|
|
3282
3346
|
className: classNames('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',
|
|
3283
3347
|
// Size
|
|
@@ -3295,9 +3359,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3295
3359
|
},
|
|
3296
3360
|
|
|
3297
3361
|
headercontent: 'flex items-center',
|
|
3298
|
-
bodycell: function bodycell(
|
|
3299
|
-
var props =
|
|
3300
|
-
context =
|
|
3362
|
+
bodycell: function bodycell(_ref168) {
|
|
3363
|
+
var props = _ref168.props,
|
|
3364
|
+
context = _ref168.context;
|
|
3301
3365
|
return {
|
|
3302
3366
|
className: classNames('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',
|
|
3303
3367
|
// Size
|
|
@@ -3310,8 +3374,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3310
3374
|
})
|
|
3311
3375
|
};
|
|
3312
3376
|
},
|
|
3313
|
-
footercell: function footercell(
|
|
3314
|
-
var context =
|
|
3377
|
+
footercell: function footercell(_ref169) {
|
|
3378
|
+
var context = _ref169.context;
|
|
3315
3379
|
return {
|
|
3316
3380
|
className: classNames('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',
|
|
3317
3381
|
// Size
|
|
@@ -3322,8 +3386,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3322
3386
|
})
|
|
3323
3387
|
};
|
|
3324
3388
|
},
|
|
3325
|
-
sorticon: function sorticon(
|
|
3326
|
-
var context =
|
|
3389
|
+
sorticon: function sorticon(_ref170) {
|
|
3390
|
+
var context = _ref170.context;
|
|
3327
3391
|
return {
|
|
3328
3392
|
className: classNames('ml-2', context.sorted ? 'text-blue-700 dark:text-white/80' : 'text-slate-700 dark:text-white/70')
|
|
3329
3393
|
};
|
|
@@ -3343,8 +3407,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3343
3407
|
root: 'min-[0px]:flex mb-2'
|
|
3344
3408
|
},
|
|
3345
3409
|
filterrowitems: 'm-0 p-0 py-3 list-none ',
|
|
3346
|
-
filterrowitem: function filterrowitem(
|
|
3347
|
-
var context =
|
|
3410
|
+
filterrowitem: function filterrowitem(_ref171) {
|
|
3411
|
+
var context = _ref171.context;
|
|
3348
3412
|
return {
|
|
3349
3413
|
className: classNames('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')
|
|
3350
3414
|
};
|
|
@@ -3375,8 +3439,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3375
3439
|
filterapplybutton: {
|
|
3376
3440
|
root: 'w-auto min-[0px]:text-sm px-4 py-3'
|
|
3377
3441
|
},
|
|
3378
|
-
filtermenubutton: function filtermenubutton(
|
|
3379
|
-
var context =
|
|
3442
|
+
filtermenubutton: function filtermenubutton(_ref172) {
|
|
3443
|
+
var context = _ref172.context;
|
|
3380
3444
|
return {
|
|
3381
3445
|
className: classNames('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',
|
|
3382
3446
|
// Hover
|
|
@@ -3389,8 +3453,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3389
3453
|
})
|
|
3390
3454
|
};
|
|
3391
3455
|
},
|
|
3392
|
-
headerfilterclearbutton: function headerfilterclearbutton(
|
|
3393
|
-
var context =
|
|
3456
|
+
headerfilterclearbutton: function headerfilterclearbutton(_ref173) {
|
|
3457
|
+
var context = _ref173.context;
|
|
3394
3458
|
return {
|
|
3395
3459
|
className: classNames('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', {
|
|
3396
3460
|
invisible: !context.hidden
|
|
@@ -3429,8 +3493,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3429
3493
|
radiobuttonwrapper: {
|
|
3430
3494
|
className: classNames('relative inline-flex cursor-pointer select-none align-bottom', 'w-6 h-6')
|
|
3431
3495
|
},
|
|
3432
|
-
radiobutton: function radiobutton(
|
|
3433
|
-
var context =
|
|
3496
|
+
radiobutton: function radiobutton(_ref174) {
|
|
3497
|
+
var context = _ref174.context;
|
|
3434
3498
|
return {
|
|
3435
3499
|
className: classNames('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', {
|
|
3436
3500
|
'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,
|
|
@@ -3438,8 +3502,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3438
3502
|
})
|
|
3439
3503
|
};
|
|
3440
3504
|
},
|
|
3441
|
-
radiobuttonicon: function radiobuttonicon(
|
|
3442
|
-
var context =
|
|
3505
|
+
radiobuttonicon: function radiobuttonicon(_ref175) {
|
|
3506
|
+
var context = _ref175.context;
|
|
3443
3507
|
return {
|
|
3444
3508
|
className: classNames('transform rounded-full', 'block w-3 h-3 transition duration-200 bg-white dark:bg-gray-900', {
|
|
3445
3509
|
'backface-hidden scale-10 invisible': context.checked === false,
|
|
@@ -3450,8 +3514,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3450
3514
|
headercheckboxwrapper: {
|
|
3451
3515
|
className: classNames('cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6')
|
|
3452
3516
|
},
|
|
3453
|
-
headercheckbox: function headercheckbox(
|
|
3454
|
-
var context =
|
|
3517
|
+
headercheckbox: function headercheckbox(_ref176) {
|
|
3518
|
+
var context = _ref176.context;
|
|
3455
3519
|
return {
|
|
3456
3520
|
className: classNames('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', {
|
|
3457
3521
|
'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,
|
|
@@ -3463,8 +3527,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3463
3527
|
checkboxwrapper: {
|
|
3464
3528
|
className: classNames('cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6')
|
|
3465
3529
|
},
|
|
3466
|
-
checkbox: function checkbox(
|
|
3467
|
-
var context =
|
|
3530
|
+
checkbox: function checkbox(_ref177) {
|
|
3531
|
+
var context = _ref177.context;
|
|
3468
3532
|
return {
|
|
3469
3533
|
className: classNames('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', {
|
|
3470
3534
|
'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,
|
|
@@ -3475,8 +3539,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3475
3539
|
checkboxicon: 'w-4 h-4 transition-all duration-200 text-white text-base dark:text-gray-900',
|
|
3476
3540
|
transition: TRANSITIONS.overlay
|
|
3477
3541
|
},
|
|
3478
|
-
bodyrow: function bodyrow(
|
|
3479
|
-
var context =
|
|
3542
|
+
bodyrow: function bodyrow(_ref178) {
|
|
3543
|
+
var context = _ref178.context;
|
|
3480
3544
|
return {
|
|
3481
3545
|
className: classNames(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]',
|
|
3482
3546
|
// Focus
|