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