primereact 10.8.2 → 10.8.3
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/api/api.d.ts +10 -0
- package/autocomplete/autocomplete.cjs.js +10 -5
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +10 -5
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +10 -5
- package/autocomplete/autocomplete.min.js +1 -1
- package/badge/badge.d.ts +1 -1
- package/breadcrumb/breadcrumb.cjs.js +25 -7
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +25 -7
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +25 -7
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/calendar/calendar.cjs.js +57 -27
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.d.ts +3 -6
- package/calendar/calendar.esm.js +58 -28
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +57 -27
- package/calendar/calendar.min.js +1 -1
- package/carousel/carousel.cjs.js +3 -2
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +3 -2
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +3 -2
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/cascadeselect.cjs.js +1 -0
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.d.ts +3 -4
- package/cascadeselect/cascadeselect.esm.js +1 -0
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +1 -0
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/chip/chip.cjs.js +6 -6
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.esm.js +7 -7
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +6 -6
- package/chip/chip.min.js +1 -1
- package/chips/chips.cjs.js +3 -2
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +3 -2
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +3 -2
- package/chips/chips.min.js +1 -1
- package/confirmdialog/confirmdialog.cjs.js +2 -2
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.d.ts +6 -5
- package/confirmdialog/confirmdialog.esm.js +2 -2
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +2 -2
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/core/core.js +60 -22
- package/core/core.min.js +5 -5
- package/datascroller/datascroller.cjs.js +19 -4
- package/datascroller/datascroller.cjs.min.js +1 -1
- package/datascroller/datascroller.esm.js +19 -4
- package/datascroller/datascroller.esm.min.js +1 -1
- package/datascroller/datascroller.js +19 -4
- package/datascroller/datascroller.min.js +1 -1
- package/datatable/datatable.cjs.js +24 -22
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +24 -22
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +24 -22
- package/datatable/datatable.min.js +1 -1
- package/dataview/dataview.d.ts +4 -3
- package/dock/dock.cjs.js +3 -2
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +3 -2
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +3 -2
- package/dock/dock.min.js +1 -1
- package/dropdown/dropdown.cjs.js +37 -10
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.d.ts +8 -0
- package/dropdown/dropdown.esm.js +37 -10
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +38 -12
- package/dropdown/dropdown.min.js +1 -1
- package/editor/editor.cjs.js +4 -4
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +4 -4
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +4 -4
- package/editor/editor.min.js +1 -1
- package/fileupload/fileupload.d.ts +17 -12
- package/floatlabel/floatlabel.d.ts +1 -1
- package/galleria/galleria.cjs.js +6 -4
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +6 -4
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +6 -4
- package/galleria/galleria.min.js +1 -1
- package/iconfield/iconfield.cjs.js +5 -1
- package/iconfield/iconfield.cjs.min.js +1 -1
- package/iconfield/iconfield.esm.js +6 -2
- package/iconfield/iconfield.esm.min.js +1 -1
- package/iconfield/iconfield.js +5 -1
- package/iconfield/iconfield.min.js +1 -1
- package/inputicon/inputicon.cjs.js +8 -3
- package/inputicon/inputicon.cjs.min.js +1 -1
- package/inputicon/inputicon.esm.js +8 -3
- package/inputicon/inputicon.esm.min.js +1 -1
- package/inputicon/inputicon.js +8 -3
- package/inputicon/inputicon.min.js +1 -1
- package/inputnumber/inputnumber.cjs.js +12 -3
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +12 -3
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +12 -3
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputotp/inputotp.cjs.js +4 -3
- package/inputotp/inputotp.cjs.min.js +1 -1
- package/inputotp/inputotp.d.ts +1 -4
- package/inputotp/inputotp.esm.js +4 -3
- package/inputotp/inputotp.esm.min.js +1 -1
- package/inputotp/inputotp.js +4 -3
- package/inputotp/inputotp.min.js +1 -1
- package/inputtext/inputtext.cjs.js +4 -2
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.esm.js +4 -2
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +4 -2
- package/inputtext/inputtext.min.js +1 -1
- package/listbox/listbox.cjs.js +5 -4
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +5 -4
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +5 -4
- package/listbox/listbox.min.js +1 -1
- package/mention/mention.cjs.js +5 -3
- package/mention/mention.cjs.min.js +1 -1
- package/mention/mention.esm.js +5 -3
- package/mention/mention.esm.min.js +1 -1
- package/mention/mention.js +5 -3
- package/mention/mention.min.js +1 -1
- package/menu/menu.cjs.js +24 -21
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +24 -21
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +24 -21
- package/menu/menu.min.js +1 -1
- package/menubar/menubar.cjs.js +28 -10
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +28 -10
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +28 -10
- package/menubar/menubar.min.js +1 -1
- package/messages/messages.cjs.js +1 -1
- package/messages/messages.cjs.min.js +1 -1
- package/messages/messages.esm.js +1 -1
- package/messages/messages.esm.min.js +1 -1
- package/messages/messages.js +1 -1
- package/messages/messages.min.js +1 -1
- package/multiselect/multiselect.cjs.js +25 -13
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +25 -13
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +25 -13
- package/multiselect/multiselect.min.js +1 -1
- package/package.json +1 -1
- package/panelmenu/panelmenu.cjs.js +17 -17
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.d.ts +12 -4
- package/panelmenu/panelmenu.esm.js +17 -17
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +17 -17
- package/panelmenu/panelmenu.min.js +1 -1
- package/passthrough/tailwind/index.cjs.js +431 -357
- package/passthrough/tailwind/index.cjs.min.js +1 -1
- package/passthrough/tailwind/index.esm.js +431 -357
- package/passthrough/tailwind/index.esm.min.js +1 -1
- package/passthrough/tailwind/index.js +431 -357
- package/passthrough/tailwind/index.min.js +1 -1
- package/password/password.cjs.js +13 -6
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +14 -7
- package/password/password.esm.min.js +1 -1
- package/password/password.js +13 -6
- package/password/password.min.js +1 -1
- package/primereact.all.cjs.js +898 -722
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +899 -723
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +898 -722
- package/primereact.all.min.js +1 -1
- package/rating/rating.cjs.js +2 -3
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +2 -3
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +2 -3
- package/rating/rating.min.js +1 -1
- package/resources/themes/arya-blue/theme.css +21 -1
- package/resources/themes/arya-green/theme.css +21 -1
- package/resources/themes/arya-orange/theme.css +21 -1
- package/resources/themes/arya-purple/theme.css +1148 -225
- package/resources/themes/bootstrap4-dark-blue/theme.css +21 -1
- package/resources/themes/bootstrap4-dark-purple/theme.css +21 -1
- package/resources/themes/bootstrap4-light-blue/theme.css +21 -1
- package/resources/themes/bootstrap4-light-purple/theme.css +21 -1
- package/resources/themes/fluent-light/theme.css +21 -1
- package/resources/themes/lara-dark-amber/theme.css +21 -1
- package/resources/themes/lara-dark-blue/theme.css +21 -1
- package/resources/themes/lara-dark-cyan/theme.css +21 -1
- package/resources/themes/lara-dark-green/theme.css +21 -1
- package/resources/themes/lara-dark-indigo/theme.css +21 -1
- package/resources/themes/lara-dark-pink/theme.css +21 -1
- package/resources/themes/lara-dark-purple/theme.css +87 -14
- package/resources/themes/lara-dark-teal/theme.css +21 -1
- package/resources/themes/lara-light-amber/theme.css +21 -1
- package/resources/themes/lara-light-blue/theme.css +21 -1
- package/resources/themes/lara-light-cyan/theme.css +21 -1
- package/resources/themes/lara-light-green/theme.css +21 -1
- package/resources/themes/lara-light-indigo/theme.css +21 -1
- package/resources/themes/lara-light-pink/theme.css +21 -1
- package/resources/themes/lara-light-purple/theme.css +87 -14
- package/resources/themes/lara-light-teal/theme.css +21 -1
- package/resources/themes/luna-amber/theme.css +21 -1
- package/resources/themes/luna-blue/theme.css +21 -1
- package/resources/themes/luna-green/theme.css +21 -1
- package/resources/themes/luna-pink/theme.css +21 -1
- package/resources/themes/md-dark-deeppurple/theme.css +21 -1
- package/resources/themes/md-dark-indigo/theme.css +21 -1
- package/resources/themes/md-light-deeppurple/theme.css +21 -1
- package/resources/themes/md-light-indigo/theme.css +306 -286
- package/resources/themes/mdc-dark-deeppurple/theme.css +21 -1
- package/resources/themes/mdc-dark-indigo/theme.css +21 -1
- package/resources/themes/mdc-light-deeppurple/theme.css +21 -1
- package/resources/themes/mdc-light-indigo/theme.css +306 -286
- package/resources/themes/mira/theme.css +21 -1
- package/resources/themes/nano/theme.css +21 -1
- package/resources/themes/nova/theme.css +21 -1
- package/resources/themes/nova-accent/theme.css +21 -1
- package/resources/themes/nova-alt/theme.css +21 -1
- package/resources/themes/rhea/theme.css +21 -1
- package/resources/themes/saga-blue/theme.css +21 -1
- package/resources/themes/saga-green/theme.css +21 -1
- package/resources/themes/saga-orange/theme.css +21 -1
- package/resources/themes/saga-purple/theme.css +1148 -225
- package/resources/themes/soho-dark/theme.css +21 -1
- package/resources/themes/soho-light/theme.css +21 -1
- package/resources/themes/tailwind-light/theme.css +21 -1
- package/resources/themes/vela-blue/theme.css +21 -1
- package/resources/themes/vela-green/theme.css +21 -1
- package/resources/themes/vela-orange/theme.css +21 -1
- package/resources/themes/vela-purple/theme.css +1148 -225
- package/resources/themes/viva-dark/theme.css +21 -1
- package/resources/themes/viva-light/theme.css +21 -1
- package/slider/slider.cjs.js +2 -1
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +2 -1
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +2 -1
- package/slider/slider.min.js +1 -1
- package/speeddial/speeddial.cjs.js +11 -4
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +11 -4
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +11 -4
- package/speeddial/speeddial.min.js +1 -1
- package/splitter/splitter.cjs.js +2 -1
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +2 -1
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +2 -1
- package/splitter/splitter.min.js +1 -1
- package/stepper/stepper.cjs.js +65 -45
- package/stepper/stepper.cjs.min.js +1 -1
- package/stepper/stepper.d.ts +22 -0
- package/stepper/stepper.esm.js +66 -46
- package/stepper/stepper.esm.min.js +1 -1
- package/stepper/stepper.js +65 -45
- package/stepper/stepper.min.js +1 -1
- package/steps/steps.cjs.js +64 -14
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.d.ts +48 -4
- package/steps/steps.esm.js +65 -15
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +64 -14
- package/steps/steps.min.js +1 -1
- package/tabmenu/tabmenu.cjs.js +18 -2
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +18 -2
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +18 -2
- package/tabmenu/tabmenu.min.js +1 -1
- package/tag/tag.d.ts +1 -1
- package/toast/toast.cjs.js +1 -1
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.d.ts +1 -1
- package/toast/toast.esm.js +1 -1
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +1 -1
- package/toast/toast.min.js +1 -1
- package/tree/tree.cjs.js +5 -4
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.d.ts +2 -6
- package/tree/tree.esm.js +5 -4
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +5 -4
- package/tree/tree.min.js +1 -1
- package/treetable/treetable.d.ts +16 -1
- package/utils/utils.d.ts +1 -1
- package/web-types.json +71 -7
|
@@ -309,44 +309,44 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
309
309
|
},
|
|
310
310
|
nav: {
|
|
311
311
|
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.
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
tabpanel: {
|
|
315
|
+
header: function header(_ref8) {
|
|
316
|
+
var props = _ref8.props;
|
|
317
|
+
return {
|
|
318
|
+
className: classNames('mr-0', {
|
|
319
|
+
'cursor-default pointer-events-none select-none user-select-none opacity-60': props === null || props === void 0 ? void 0 : props.disabled
|
|
320
|
+
}) // Margin and condition-based styles.
|
|
321
|
+
};
|
|
312
322
|
},
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
//
|
|
328
|
-
'border-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
marginBottom: '-2px'
|
|
341
|
-
} // Negative margin style.
|
|
342
|
-
};
|
|
343
|
-
},
|
|
344
|
-
headerTitle: {
|
|
345
|
-
className: classNames('leading-none whitespace-nowrap') // Leading and whitespace styles.
|
|
346
|
-
},
|
|
347
|
-
content: {
|
|
348
|
-
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.
|
|
349
|
-
}
|
|
323
|
+
headerAction: function headerAction(_ref9) {
|
|
324
|
+
var parent = _ref9.parent,
|
|
325
|
+
context = _ref9.context;
|
|
326
|
+
return {
|
|
327
|
+
className: classNames('items-center cursor-pointer flex overflow-hidden relative select-none text-decoration-none user-select-none',
|
|
328
|
+
// Flex and overflow styles.
|
|
329
|
+
'border-b-2 p-5 font-bold rounded-t-md transition-shadow duration-200 m-0',
|
|
330
|
+
// Border, padding, font, and transition styles.
|
|
331
|
+
'transition-colors duration-200',
|
|
332
|
+
// Transition duration style.
|
|
333
|
+
'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)]',
|
|
334
|
+
// Focus styles.
|
|
335
|
+
{
|
|
336
|
+
'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': parent.state.activeIndex !== context.index,
|
|
337
|
+
// Condition-based hover styles.
|
|
338
|
+
'bg-white border-blue-500 text-blue-500 dark:bg-gray-900 dark:border-blue-300 dark:text-blue-300': parent.state.activeIndex === context.index // Condition-based active styles.
|
|
339
|
+
}),
|
|
340
|
+
style: {
|
|
341
|
+
marginBottom: '-2px'
|
|
342
|
+
} // Negative margin style.
|
|
343
|
+
};
|
|
344
|
+
},
|
|
345
|
+
headerTitle: {
|
|
346
|
+
className: classNames('leading-none whitespace-nowrap') // Leading and whitespace styles.
|
|
347
|
+
},
|
|
348
|
+
content: {
|
|
349
|
+
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.
|
|
350
350
|
}
|
|
351
351
|
},
|
|
352
352
|
splitter: {
|
|
@@ -721,7 +721,7 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
721
721
|
}, {
|
|
722
722
|
'bg-transparent border-transparent': props.text && !props.plain,
|
|
723
723
|
'text-blue-500 dark:text-blue-400 hover:bg-blue-300/20': props.text && (props.severity === null || props.severity === 'info') && !props.plain,
|
|
724
|
-
'text-gray-500 dark:text-
|
|
724
|
+
'text-gray-500 dark:text-gray-400 hover:bg-gray-300/20': props.text && props.severity === 'secondary' && !props.plain,
|
|
725
725
|
'text-green-500 dark:text-green-400 hover:bg-green-300/20': props.text && props.severity === 'success' && !props.plain,
|
|
726
726
|
'text-orange-500 dark:text-orange-400 hover:bg-orange-300/20': props.text && props.severity === 'warning' && !props.plain,
|
|
727
727
|
'text-purple-500 dark:text-purple-400 hover:bg-purple-300/20': props.text && props.severity === 'help' && !props.plain,
|
|
@@ -886,6 +886,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
886
886
|
'text-lg px-4 py-4': props.size == 'large',
|
|
887
887
|
'text-xs px-2 py-2': props.size == 'small',
|
|
888
888
|
'p-3 text-base': !props.size || typeof props.size === 'number'
|
|
889
|
+
}, {
|
|
890
|
+
'pl-8': context.iconPosition === 'left',
|
|
891
|
+
'pr-8': props.iconPosition === 'right'
|
|
889
892
|
})
|
|
890
893
|
};
|
|
891
894
|
}
|
|
@@ -1000,20 +1003,72 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1000
1003
|
optionGroupIcon: 'ml-auto',
|
|
1001
1004
|
transition: TRANSITIONS.overlay
|
|
1002
1005
|
},
|
|
1006
|
+
floatlabel: {
|
|
1007
|
+
root: {
|
|
1008
|
+
className: classNames('block relative',
|
|
1009
|
+
// root component style
|
|
1010
|
+
'[&>label]:absolute [&>label]:pointer-events-none [&>label]:left-2 [&>label]:top-1/2 [&>label]:-mt-2 [&>label]:leading-none [&>label]:transition-all [&>label]:ease-in-out',
|
|
1011
|
+
// label style
|
|
1012
|
+
'[&>textarea~label]:top-4',
|
|
1013
|
+
// textarea
|
|
1014
|
+
'[&>input:focus~label]:-top-3 [&>input:focus~label]:text-xs',
|
|
1015
|
+
// input focus
|
|
1016
|
+
'[&>input:autofill~label]:-top-3 [&>input:autofill~label]:text-xs',
|
|
1017
|
+
// input autofill
|
|
1018
|
+
'[&>input.p-filled~label]:-top-3 [&>input.p-filled~label]:text-xs',
|
|
1019
|
+
// input filled
|
|
1020
|
+
'[&>textarea:focus~label]:-top-3 [&>textarea:focus~label]:text-xs',
|
|
1021
|
+
// textarea focus
|
|
1022
|
+
'[&>textarea.p-filled~label]:-top-3 [&>textarea.p-filled~label]:text-xs',
|
|
1023
|
+
// textarea filled
|
|
1024
|
+
'[&>div[data-pc-name="dropdown"][data-p-focus="false"]~label]:-top-3 [&>div[data-pc-name="dropdown"][data-p-focus="false"]~label]:text-xs',
|
|
1025
|
+
// dropdown focus
|
|
1026
|
+
'[&>input::placeholder]:opacity-0 [&>input::placeholder]:transition-all [&>input::placeholder]:ease-in-out',
|
|
1027
|
+
// placeholder
|
|
1028
|
+
'[&>input::placeholder:focus]:opacity-100 [&>input::placeholder:focus]:transition-all [&>input::placeholder:focus]:ease-in-out' // placeholder focus
|
|
1029
|
+
)
|
|
1030
|
+
}
|
|
1031
|
+
},
|
|
1032
|
+
iconfield: {
|
|
1033
|
+
root: {
|
|
1034
|
+
className: classNames('relative')
|
|
1035
|
+
}
|
|
1036
|
+
},
|
|
1037
|
+
inputicon: {
|
|
1038
|
+
root: function root(_ref45) {
|
|
1039
|
+
var context = _ref45.context;
|
|
1040
|
+
return {
|
|
1041
|
+
className: classNames('absolute top-1/2 -mt-2', {
|
|
1042
|
+
'left-2': context.iconPosition === 'left',
|
|
1043
|
+
'right-2': context.iconPosition === 'right'
|
|
1044
|
+
})
|
|
1045
|
+
};
|
|
1046
|
+
}
|
|
1047
|
+
},
|
|
1003
1048
|
inputmask: {
|
|
1004
1049
|
root: 'font-sans text-base text-gray-700 dark:text-white/80 bg-white dark:bg-gray-900 py-3 px-3 border border-gray-300 dark:border-blue-900/40 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)] transition duration-200 ease-in-out appearance-none rounded-md'
|
|
1005
1050
|
},
|
|
1051
|
+
inputotp: {
|
|
1052
|
+
root: {
|
|
1053
|
+
className: 'flex items-center gap-2'
|
|
1054
|
+
},
|
|
1055
|
+
input: {
|
|
1056
|
+
root: {
|
|
1057
|
+
className: classNames('box-border text-center w-10 h-11 p-3 text-slate-900 border border-gray-300 rounded-lg transition-all duration-200', 'hover:border-cyan-500', 'focus:border-cyan-500 focus:shadow-[0_0_0_0.2rem_#a5f3fc] focus:outline-0 focus:outline-offset-0')
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
},
|
|
1006
1061
|
rating: {
|
|
1007
|
-
root: function root(
|
|
1008
|
-
var props =
|
|
1062
|
+
root: function root(_ref46) {
|
|
1063
|
+
var props = _ref46.props;
|
|
1009
1064
|
return {
|
|
1010
1065
|
className: classNames('relative flex items-center', 'gap-2', {
|
|
1011
1066
|
'opacity-60 select-none pointer-events-none cursor-default': props.disabled
|
|
1012
1067
|
})
|
|
1013
1068
|
};
|
|
1014
1069
|
},
|
|
1015
|
-
cancelItem: function cancelItem(
|
|
1016
|
-
|
|
1070
|
+
cancelItem: function cancelItem(_ref47) {
|
|
1071
|
+
_ref47.context;
|
|
1017
1072
|
return {
|
|
1018
1073
|
className: classNames('inline-flex items-center cursor-pointer'
|
|
1019
1074
|
|
|
@@ -1026,9 +1081,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1026
1081
|
cancelIcon: {
|
|
1027
1082
|
className: classNames('text-red-500', 'w-5 h-5', 'transition duration-200 ease-in')
|
|
1028
1083
|
},
|
|
1029
|
-
item: function item(
|
|
1030
|
-
var props =
|
|
1031
|
-
context =
|
|
1084
|
+
item: function item(_ref48) {
|
|
1085
|
+
var props = _ref48.props,
|
|
1086
|
+
context = _ref48.context;
|
|
1032
1087
|
return {
|
|
1033
1088
|
className: classNames('inline-flex items-center', {
|
|
1034
1089
|
'cursor-pointer': !props.readOnly,
|
|
@@ -1046,16 +1101,16 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1046
1101
|
}
|
|
1047
1102
|
},
|
|
1048
1103
|
selectbutton: {
|
|
1049
|
-
root: function root(
|
|
1050
|
-
var props =
|
|
1104
|
+
root: function root(_ref49) {
|
|
1105
|
+
var props = _ref49.props;
|
|
1051
1106
|
return {
|
|
1052
1107
|
className: classNames({
|
|
1053
1108
|
'opacity-60 select-none pointer-events-none cursor-default': props.disabled
|
|
1054
1109
|
})
|
|
1055
1110
|
};
|
|
1056
1111
|
},
|
|
1057
|
-
button: function button(
|
|
1058
|
-
var context =
|
|
1112
|
+
button: function button(_ref50) {
|
|
1113
|
+
var context = _ref50.context;
|
|
1059
1114
|
return {
|
|
1060
1115
|
className: classNames('inline-flex cursor-pointer select-none items-center align-bottom text-center overflow-hidden relative', 'px-4 py-3', 'transition duration-200 border border-r-0', 'first:rounded-l-md first:rounded-tr-none first:rounded-br-none last:border-r last:rounded-tl-none last:rounded-bl-none last:rounded-r-md', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
|
|
1061
1116
|
'bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 border-gray-300 dark:border-blue-900/40 hover:bg-gray-50 dark:hover:bg-gray-800/80 ': !context.selected,
|
|
@@ -1067,8 +1122,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1067
1122
|
label: 'font-bold'
|
|
1068
1123
|
},
|
|
1069
1124
|
slider: {
|
|
1070
|
-
root: function root(
|
|
1071
|
-
var props =
|
|
1125
|
+
root: function root(_ref51) {
|
|
1126
|
+
var props = _ref51.props;
|
|
1072
1127
|
return {
|
|
1073
1128
|
className: classNames('relative', 'bg-gray-100 dark:bg-gray-800 border-0 rounded-6', {
|
|
1074
1129
|
'h-1 w-56': props.orientation == 'horizontal',
|
|
@@ -1078,8 +1133,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1078
1133
|
})
|
|
1079
1134
|
};
|
|
1080
1135
|
},
|
|
1081
|
-
range: function range(
|
|
1082
|
-
var props =
|
|
1136
|
+
range: function range(_ref52) {
|
|
1137
|
+
var props = _ref52.props;
|
|
1083
1138
|
return {
|
|
1084
1139
|
className: classNames('bg-blue-500', 'block absolute', {
|
|
1085
1140
|
'top-0 left-0 h-full': props.orientation == 'horizontal',
|
|
@@ -1087,8 +1142,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1087
1142
|
})
|
|
1088
1143
|
};
|
|
1089
1144
|
},
|
|
1090
|
-
handle: function handle(
|
|
1091
|
-
var props =
|
|
1145
|
+
handle: function handle(_ref53) {
|
|
1146
|
+
var props = _ref53.props;
|
|
1092
1147
|
return {
|
|
1093
1148
|
className: classNames('h-4 w-4 bg-white dark:bg-gray-600 border-2 border-blue-500 rounded-full transition duration-200', 'cursor-grab touch-action-none block', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', 'hover:bg-blue-500 hover:border hover:border-blue-500', {
|
|
1094
1149
|
'top-[50%] mt-[-0.5715rem] ml-[-0.5715rem]': props.orientation == 'horizontal',
|
|
@@ -1098,8 +1153,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1098
1153
|
}
|
|
1099
1154
|
},
|
|
1100
1155
|
password: {
|
|
1101
|
-
root: function root(
|
|
1102
|
-
var props =
|
|
1156
|
+
root: function root(_ref54) {
|
|
1157
|
+
var props = _ref54.props;
|
|
1103
1158
|
return {
|
|
1104
1159
|
className: classNames('inline-flex relative', {
|
|
1105
1160
|
'opacity-60 select-none pointer-events-none cursor-default': props.disabled
|
|
@@ -1108,10 +1163,10 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1108
1163
|
},
|
|
1109
1164
|
panel: 'p-5 bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 shadow-md rounded-md',
|
|
1110
1165
|
meter: 'mb-2 bg-gray-300 dark:bg-gray-700 h-3',
|
|
1111
|
-
meterLabel: function meterLabel(
|
|
1166
|
+
meterLabel: function meterLabel(_ref55) {
|
|
1112
1167
|
var _state$meter, _state$meter2, _state$meter3;
|
|
1113
|
-
var state =
|
|
1114
|
-
props =
|
|
1168
|
+
var state = _ref55.state,
|
|
1169
|
+
props = _ref55.props;
|
|
1115
1170
|
return {
|
|
1116
1171
|
className: classNames('transition-width duration-1000 ease-in-out h-full', {
|
|
1117
1172
|
'bg-red-500': ((_state$meter = state.meter) === null || _state$meter === void 0 ? void 0 : _state$meter.strength) == 'weak',
|
|
@@ -1131,9 +1186,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1131
1186
|
transition: TRANSITIONS.overlay
|
|
1132
1187
|
},
|
|
1133
1188
|
togglebutton: {
|
|
1134
|
-
root: function root(
|
|
1135
|
-
var props =
|
|
1136
|
-
state =
|
|
1189
|
+
root: function root(_ref56) {
|
|
1190
|
+
var props = _ref56.props,
|
|
1191
|
+
state = _ref56.state;
|
|
1137
1192
|
return {
|
|
1138
1193
|
className: classNames('inline-flex cursor-pointer select-none items-center align-bottom text-center overflow-hidden relative', 'px-4 py-3 rounded-md text-base w-36', 'border transition duration-200 ease-in-out', {
|
|
1139
1194
|
'outline-none outline-offset-0 shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]': state.focused
|
|
@@ -1146,8 +1201,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1146
1201
|
};
|
|
1147
1202
|
},
|
|
1148
1203
|
label: 'font-bold text-center w-full',
|
|
1149
|
-
icon: function icon(
|
|
1150
|
-
var props =
|
|
1204
|
+
icon: function icon(_ref57) {
|
|
1205
|
+
var props = _ref57.props;
|
|
1151
1206
|
return {
|
|
1152
1207
|
className: classNames(' mr-2', {
|
|
1153
1208
|
'text-gray-600 dark:text-white/70': !props.checked,
|
|
@@ -1163,8 +1218,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1163
1218
|
input: {
|
|
1164
1219
|
className: classNames('absolute appearance-none top-0 left-0 size-full p-0 m-0 opacity-0 z-10 outline-none cursor-pointer')
|
|
1165
1220
|
},
|
|
1166
|
-
box: function box(
|
|
1167
|
-
var props =
|
|
1221
|
+
box: function box(_ref58) {
|
|
1222
|
+
var props = _ref58.props;
|
|
1168
1223
|
return {
|
|
1169
1224
|
className: classNames('flex items-center justify-center', 'border-2 w-6 h-6 rounded-lg transition-colors duration-200', {
|
|
1170
1225
|
'border-blue-500 bg-blue-500 text-white dark:border-blue-400 dark:bg-blue-400': props.value || !props.value,
|
|
@@ -1184,9 +1239,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1184
1239
|
input: {
|
|
1185
1240
|
className: classNames('absolute appearance-none top-0 left-0 size-full p-0 m-0 opacity-0 z-10 outline-none cursor-pointer')
|
|
1186
1241
|
},
|
|
1187
|
-
box: function box(
|
|
1188
|
-
var props =
|
|
1189
|
-
context =
|
|
1242
|
+
box: function box(_ref59) {
|
|
1243
|
+
var props = _ref59.props,
|
|
1244
|
+
context = _ref59.context;
|
|
1190
1245
|
return {
|
|
1191
1246
|
className: classNames('flex items-center justify-center', 'border-2 w-6 h-6 text-gray-600 rounded-lg transition-colors duration-200', {
|
|
1192
1247
|
'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900': !context.checked,
|
|
@@ -1203,8 +1258,11 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1203
1258
|
root: {
|
|
1204
1259
|
className: classNames('relative inline-flex cursor-pointer select-none align-bottom', 'w-6 h-6')
|
|
1205
1260
|
},
|
|
1206
|
-
input:
|
|
1207
|
-
|
|
1261
|
+
input: {
|
|
1262
|
+
className: classNames('absolute appearance-none top-0 left-0 size-full p-0 m-0 opacity-0 z-10 outline-none cursor-pointer')
|
|
1263
|
+
},
|
|
1264
|
+
box: function box(_ref60) {
|
|
1265
|
+
var props = _ref60.props;
|
|
1208
1266
|
return {
|
|
1209
1267
|
className: classNames('flex justify-center items-center', 'border-2 w-6 h-6 text-gray-700 rounded-full transition duration-200 ease-in-out', {
|
|
1210
1268
|
'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80': !props.checked,
|
|
@@ -1215,8 +1273,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1215
1273
|
})
|
|
1216
1274
|
};
|
|
1217
1275
|
},
|
|
1218
|
-
icon: function icon(
|
|
1219
|
-
var props =
|
|
1276
|
+
icon: function icon(_ref61) {
|
|
1277
|
+
var props = _ref61.props;
|
|
1220
1278
|
return {
|
|
1221
1279
|
className: classNames('transform rounded-full', 'block w-3 h-3 transition duration-200 bg-white dark:bg-gray-900', {
|
|
1222
1280
|
'backface-hidden scale-10 invisible': !props.checked,
|
|
@@ -1226,16 +1284,16 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1226
1284
|
}
|
|
1227
1285
|
},
|
|
1228
1286
|
dropdown: {
|
|
1229
|
-
root: function root(
|
|
1230
|
-
var props =
|
|
1287
|
+
root: function root(_ref62) {
|
|
1288
|
+
var props = _ref62.props;
|
|
1231
1289
|
return {
|
|
1232
1290
|
className: classNames('cursor-pointer inline-flex relative select-none', 'bg-white border border-gray-400 transition-colors duration-200 ease-in-out rounded-md', 'dark:bg-gray-900 dark:border-blue-900/40 dark:hover:border-blue-300', 'w-full md:w-56', 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', {
|
|
1233
1291
|
'opacity-60 select-none pointer-events-none cursor-default': props.disabled
|
|
1234
1292
|
})
|
|
1235
1293
|
};
|
|
1236
1294
|
},
|
|
1237
|
-
input: function input(
|
|
1238
|
-
var props =
|
|
1295
|
+
input: function input(_ref63) {
|
|
1296
|
+
var props = _ref63.props;
|
|
1239
1297
|
return {
|
|
1240
1298
|
className: classNames('cursor-pointer block flex flex-auto overflow-hidden overflow-ellipsis whitespace-nowrap relative', 'bg-transparent border-0 text-gray-800', 'dark:text-white/80', 'p-3 transition duration-200 bg-transparent rounded appearance-none font-sans text-base', 'focus:outline-none focus:shadow-none', {
|
|
1241
1299
|
'pr-7': props.showClear
|
|
@@ -1249,8 +1307,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1249
1307
|
className: 'max-h-[200px] overflow-auto bg-white text-gray-700 border-0 rounded-md shadow-lg dark:bg-gray-900 dark:text-white/80'
|
|
1250
1308
|
},
|
|
1251
1309
|
list: 'py-3 list-none m-0',
|
|
1252
|
-
item: function item(
|
|
1253
|
-
var context =
|
|
1310
|
+
item: function item(_ref64) {
|
|
1311
|
+
var context = _ref64.context;
|
|
1254
1312
|
return {
|
|
1255
1313
|
className: classNames('cursor-pointer font-normal overflow-hidden relative whitespace-nowrap', 'm-0 p-3 border-0 transition-shadow duration-200 rounded-none', {
|
|
1256
1314
|
'text-gray-700 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800': !context.focused && !context.selected,
|
|
@@ -1276,8 +1334,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1276
1334
|
transition: TRANSITIONS.overlay
|
|
1277
1335
|
},
|
|
1278
1336
|
calendar: {
|
|
1279
|
-
root: function root(
|
|
1280
|
-
var props =
|
|
1337
|
+
root: function root(_ref65) {
|
|
1338
|
+
var props = _ref65.props;
|
|
1281
1339
|
return {
|
|
1282
1340
|
className: classNames('inline-flex max-w-full relative', {
|
|
1283
1341
|
'opacity-60 select-none pointer-events-none cursor-default': props.disabled
|
|
@@ -1285,8 +1343,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1285
1343
|
};
|
|
1286
1344
|
},
|
|
1287
1345
|
input: {
|
|
1288
|
-
root: function root(
|
|
1289
|
-
var parent =
|
|
1346
|
+
root: function root(_ref66) {
|
|
1347
|
+
var parent = _ref66.parent;
|
|
1290
1348
|
return {
|
|
1291
1349
|
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', {
|
|
1292
1350
|
'rounded-lg': !parent.props.showIcon,
|
|
@@ -1296,8 +1354,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1296
1354
|
}
|
|
1297
1355
|
},
|
|
1298
1356
|
dropdownButton: {
|
|
1299
|
-
root: function root(
|
|
1300
|
-
var props =
|
|
1357
|
+
root: function root(_ref67) {
|
|
1358
|
+
var props = _ref67.props;
|
|
1301
1359
|
return {
|
|
1302
1360
|
className: classNames({
|
|
1303
1361
|
'rounded-l-none': props.icon
|
|
@@ -1305,12 +1363,12 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1305
1363
|
};
|
|
1306
1364
|
}
|
|
1307
1365
|
},
|
|
1308
|
-
panel: function panel(
|
|
1309
|
-
var props =
|
|
1366
|
+
panel: function panel(_ref68) {
|
|
1367
|
+
var props = _ref68.props;
|
|
1310
1368
|
return {
|
|
1311
|
-
className: classNames('bg-white dark:bg-gray-900', 'min-w-
|
|
1369
|
+
className: classNames('bg-white dark:bg-gray-900', 'top-0 left-0 w-auto min-w-min p-2 rounded-lg', {
|
|
1312
1370
|
'shadow-md border-0 absolute': !props.inline,
|
|
1313
|
-
'inline-block overflow-x-auto border border-gray-300 dark:border-blue-900/40
|
|
1371
|
+
'inline-block overflow-x-auto border border-gray-300 dark:border-blue-900/40': props.inline
|
|
1314
1372
|
})
|
|
1315
1373
|
};
|
|
1316
1374
|
},
|
|
@@ -1331,29 +1389,29 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1331
1389
|
className: classNames('flex items-center justify-center cursor-pointer overflow-hidden relative', 'w-8 h-8 text-gray-600 dark:text-white/70 border-0 bg-transparent rounded-full transition-colors duration-200 ease-in-out', 'hover:text-gray-700 dark:hover:text-white/80 hover:border-transparent hover:bg-gray-200 dark:hover:bg-gray-800/80 ')
|
|
1332
1390
|
},
|
|
1333
1391
|
table: {
|
|
1334
|
-
className: classNames('border-collapse w-full', 'my-2')
|
|
1392
|
+
className: classNames('border-collapse w-full', 'my-2 mx-0')
|
|
1335
1393
|
},
|
|
1336
1394
|
tableHeaderCell: 'p-2',
|
|
1337
1395
|
weekDay: 'text-gray-600 dark:text-white/70',
|
|
1338
1396
|
day: 'p-2',
|
|
1339
|
-
dayLabel: function dayLabel(
|
|
1340
|
-
var context =
|
|
1397
|
+
dayLabel: function dayLabel(_ref69) {
|
|
1398
|
+
var context = _ref69.context;
|
|
1341
1399
|
return {
|
|
1342
1400
|
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)]', {
|
|
1343
1401
|
'opacity-60 cursor-default': context.disabled,
|
|
1344
1402
|
'cursor-pointer': !context.disabled
|
|
1345
1403
|
}, {
|
|
1346
|
-
'text-gray-600 dark:text-white/70 bg-
|
|
1404
|
+
'text-gray-600 dark:text-white/70 bg-transparent hover:bg-gray-200 dark:hover:bg-gray-800/80': !context.selected && !context.disabled,
|
|
1347
1405
|
'text-blue-700 bg-blue-100 hover:bg-blue-200': context.selected && !context.disabled
|
|
1348
1406
|
})
|
|
1349
1407
|
};
|
|
1350
1408
|
},
|
|
1351
1409
|
monthPicker: 'my-2',
|
|
1352
|
-
month: function month(
|
|
1353
|
-
var context =
|
|
1410
|
+
month: function month(_ref70) {
|
|
1411
|
+
var context = _ref70.context;
|
|
1354
1412
|
return {
|
|
1355
1413
|
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)]', {
|
|
1356
|
-
'text-gray-600 dark:text-white/70 bg-
|
|
1414
|
+
'text-gray-600 dark:text-white/70 bg-transparent hover:bg-gray-200 dark:hover:bg-gray-800/80': !context.selected && !context.disabled,
|
|
1357
1415
|
'text-blue-700 bg-blue-100 hover:bg-blue-200': context.selected && !context.disabled
|
|
1358
1416
|
})
|
|
1359
1417
|
};
|
|
@@ -1361,11 +1419,11 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1361
1419
|
yearPicker: {
|
|
1362
1420
|
className: classNames('my-2')
|
|
1363
1421
|
},
|
|
1364
|
-
year: function year(
|
|
1365
|
-
var context =
|
|
1422
|
+
year: function year(_ref71) {
|
|
1423
|
+
var context = _ref71.context;
|
|
1366
1424
|
return {
|
|
1367
1425
|
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)]', {
|
|
1368
|
-
'text-gray-600 dark:text-white/70 bg-
|
|
1426
|
+
'text-gray-600 dark:text-white/70 bg-transparent hover:bg-gray-200 dark:hover:bg-gray-800/80': !context.selected && !context.disabled,
|
|
1369
1427
|
'text-blue-700 bg-blue-100 hover:bg-blue-200': context.selected && !context.disabled
|
|
1370
1428
|
})
|
|
1371
1429
|
};
|
|
@@ -1384,10 +1442,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1384
1442
|
decrementButton: {
|
|
1385
1443
|
className: classNames('flex items-center justify-center cursor-pointer overflow-hidden relative', 'w-8 h-8 text-gray-600 dark:text-white/70 border-0 bg-transparent rounded-full transition-colors duration-200 ease-in-out', 'hover:text-gray-700 dark:hover:text-white/80 hover:border-transparent hover:bg-gray-200 dark:hover:bg-gray-800/80 ')
|
|
1386
1444
|
},
|
|
1387
|
-
groupContainer: '
|
|
1388
|
-
group:
|
|
1389
|
-
className: classNames('flex-1', 'border-l border-gray-300 pr-0.5 pl-0.5 pt-0 pb-0', 'first:pl-0 first:border-l-0')
|
|
1390
|
-
},
|
|
1445
|
+
groupContainer: '',
|
|
1446
|
+
group: '',
|
|
1391
1447
|
transition: TRANSITIONS.overlay
|
|
1392
1448
|
},
|
|
1393
1449
|
listbox: {
|
|
@@ -1396,8 +1452,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1396
1452
|
},
|
|
1397
1453
|
wrapper: 'overflow-auto',
|
|
1398
1454
|
list: 'py-3 list-none m-0',
|
|
1399
|
-
item: function item(
|
|
1400
|
-
var context =
|
|
1455
|
+
item: function item(_ref72) {
|
|
1456
|
+
var context = _ref72.context;
|
|
1401
1457
|
return {
|
|
1402
1458
|
className: classNames('cursor-pointer font-normal overflow-hidden relative whitespace-nowrap', 'm-0 p-3 border-0 transition-shadow duration-200 rounded-none', {
|
|
1403
1459
|
'text-gray-700 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800': !context.focused && !context.selected,
|
|
@@ -1425,8 +1481,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1425
1481
|
root: 'relative',
|
|
1426
1482
|
panel: 'max-h-[200px] min-w-full overflow-auto bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 border-0 rounded-md shadow-lg',
|
|
1427
1483
|
items: 'py-3 list-none m-0',
|
|
1428
|
-
item: function item(
|
|
1429
|
-
var state =
|
|
1484
|
+
item: function item(_ref73) {
|
|
1485
|
+
var state = _ref73.state;
|
|
1430
1486
|
return {
|
|
1431
1487
|
className: classNames('cursor-pointer font-normal overflow-hidden relative whitespace-nowrap m-0 p-3 border-0 transition-shadow duration-200 rounded-none dark:text-white/80 dark:hover:bg-gray-800 hover:text-gray-700 hover:bg-gray-200', {
|
|
1432
1488
|
'bg-blue-50 text-blue-700 dark:bg-blue-300 dark:text-white/80': state.selected
|
|
@@ -1436,8 +1492,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1436
1492
|
transition: TRANSITIONS.overlay
|
|
1437
1493
|
},
|
|
1438
1494
|
multiselect: {
|
|
1439
|
-
root: function root(
|
|
1440
|
-
var props =
|
|
1495
|
+
root: function root(_ref74) {
|
|
1496
|
+
var props = _ref74.props;
|
|
1441
1497
|
return {
|
|
1442
1498
|
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', {
|
|
1443
1499
|
'opacity-60 select-none pointer-events-none cursor-default': props === null || props === void 0 ? void 0 : props.disabled
|
|
@@ -1445,8 +1501,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1445
1501
|
};
|
|
1446
1502
|
},
|
|
1447
1503
|
labelContainer: 'overflow-hidden flex flex-auto cursor-pointer',
|
|
1448
|
-
label: function label(
|
|
1449
|
-
var props =
|
|
1504
|
+
label: function label(_ref75) {
|
|
1505
|
+
var props = _ref75.props;
|
|
1450
1506
|
return {
|
|
1451
1507
|
className: classNames('block overflow-hidden whitespace-nowrap cursor-pointer overflow-ellipsis', 'text-gray-800 dark:text-white/80', 'p-3 transition duration-200', {
|
|
1452
1508
|
'!p-3': props.display !== 'chip' && (props.value == null || props.value == undefined),
|
|
@@ -1471,8 +1527,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1471
1527
|
className: classNames('inline-flex cursor-pointer select-none align-bottom relative', 'mr-2', 'w-6 h-6')
|
|
1472
1528
|
},
|
|
1473
1529
|
headerCheckbox: {
|
|
1474
|
-
root: function root(
|
|
1475
|
-
var props =
|
|
1530
|
+
root: function root(_ref76) {
|
|
1531
|
+
var props = _ref76.props;
|
|
1476
1532
|
return {
|
|
1477
1533
|
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)]', {
|
|
1478
1534
|
'border-gray-300 dark:border-blue-900/40 bg-white dark:bg-gray-900': !(props !== null && props !== void 0 && props.checked),
|
|
@@ -1490,8 +1546,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1490
1546
|
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')
|
|
1491
1547
|
},
|
|
1492
1548
|
list: 'py-3 list-none m-0',
|
|
1493
|
-
item: function item(
|
|
1494
|
-
var context =
|
|
1549
|
+
item: function item(_ref77) {
|
|
1550
|
+
var context = _ref77.context;
|
|
1495
1551
|
return {
|
|
1496
1552
|
className: classNames('cursor-pointer font-normal overflow-hidden relative whitespace-nowrap', 'm-0 p-3 border-0 transition-shadow duration-200 rounded-none', {
|
|
1497
1553
|
'text-gray-700 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800': !context.focused && !context.selected,
|
|
@@ -1504,8 +1560,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1504
1560
|
checkboxContainer: {
|
|
1505
1561
|
className: classNames('inline-flex cursor-pointer select-none align-bottom relative', 'mr-2', 'w-6 h-6')
|
|
1506
1562
|
},
|
|
1507
|
-
checkbox: function checkbox(
|
|
1508
|
-
var context =
|
|
1563
|
+
checkbox: function checkbox(_ref78) {
|
|
1564
|
+
var context = _ref78.context;
|
|
1509
1565
|
return {
|
|
1510
1566
|
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)]', {
|
|
1511
1567
|
'border-gray-300 dark:border-blue-900/40 bg-white dark:bg-gray-900': !(context !== null && context !== void 0 && context.selected),
|
|
@@ -1531,8 +1587,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1531
1587
|
root: {
|
|
1532
1588
|
className: classNames('cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6')
|
|
1533
1589
|
},
|
|
1534
|
-
checkbox: function checkbox(
|
|
1535
|
-
var props =
|
|
1590
|
+
checkbox: function checkbox(_ref79) {
|
|
1591
|
+
var props = _ref79.props;
|
|
1536
1592
|
return {
|
|
1537
1593
|
className: classNames('flex items-center justify-center', 'border-2 w-6 h-6 rounded-lg transition-colors duration-200', {
|
|
1538
1594
|
'border-blue-500 bg-blue-500 text-white dark:border-blue-400 dark:bg-blue-400': props.value || !props.value,
|
|
@@ -1545,8 +1601,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1545
1601
|
}
|
|
1546
1602
|
},
|
|
1547
1603
|
inputtextarea: {
|
|
1548
|
-
root: function root(
|
|
1549
|
-
var context =
|
|
1604
|
+
root: function root(_ref80) {
|
|
1605
|
+
var context = _ref80.context;
|
|
1550
1606
|
return {
|
|
1551
1607
|
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)]', {
|
|
1552
1608
|
'opacity-60 select-none pointer-events-none cursor-default': context.disabled
|
|
@@ -1555,8 +1611,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1555
1611
|
}
|
|
1556
1612
|
},
|
|
1557
1613
|
treeselect: {
|
|
1558
|
-
root: function root(
|
|
1559
|
-
var props =
|
|
1614
|
+
root: function root(_ref81) {
|
|
1615
|
+
var props = _ref81.props;
|
|
1560
1616
|
return {
|
|
1561
1617
|
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', {
|
|
1562
1618
|
'opacity-60 select-none pointer-events-none cursor-default': props === null || props === void 0 ? void 0 : props.disabled
|
|
@@ -1587,8 +1643,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1587
1643
|
transition: TRANSITIONS.overlay
|
|
1588
1644
|
},
|
|
1589
1645
|
autocomplete: {
|
|
1590
|
-
root: function root(
|
|
1591
|
-
var props =
|
|
1646
|
+
root: function root(_ref82) {
|
|
1647
|
+
var props = _ref82.props;
|
|
1592
1648
|
return {
|
|
1593
1649
|
className: classNames('relative inline-flex', {
|
|
1594
1650
|
'opacity-60 select-none pointer-events-none cursor-default': props.disabled
|
|
@@ -1603,8 +1659,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1603
1659
|
inputToken: {
|
|
1604
1660
|
className: classNames('py-0.375rem px-0', 'flex-1 inline-flex')
|
|
1605
1661
|
},
|
|
1606
|
-
input: function input(
|
|
1607
|
-
var props =
|
|
1662
|
+
input: function input(_ref83) {
|
|
1663
|
+
var props = _ref83.props;
|
|
1608
1664
|
return {
|
|
1609
1665
|
root: {
|
|
1610
1666
|
className: classNames('m-0', 'transition-colors duration-200 appearance-none rounded-lg', {
|
|
@@ -1626,8 +1682,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1626
1682
|
className: classNames('bg-white text-gray-700 border-0 rounded-md shadow-lg', 'max-h-[200px] overflow-auto', 'dark:bg-gray-900 dark:text-white/80')
|
|
1627
1683
|
},
|
|
1628
1684
|
list: 'py-3 list-none m-0',
|
|
1629
|
-
item: function item(
|
|
1630
|
-
var context =
|
|
1685
|
+
item: function item(_ref84) {
|
|
1686
|
+
var context = _ref84.context;
|
|
1631
1687
|
return {
|
|
1632
1688
|
className: classNames('cursor-pointer font-normal overflow-hidden relative whitespace-nowrap', 'm-0 p-3 border-0 transition-shadow duration-200 rounded-none', {
|
|
1633
1689
|
'text-gray-700 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800': !context.focused && !context.selected,
|
|
@@ -1643,8 +1699,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1643
1699
|
transition: TRANSITIONS.overlay
|
|
1644
1700
|
},
|
|
1645
1701
|
chips: {
|
|
1646
|
-
root: function root(
|
|
1647
|
-
var props =
|
|
1702
|
+
root: function root(_ref85) {
|
|
1703
|
+
var props = _ref85.props;
|
|
1648
1704
|
return {
|
|
1649
1705
|
className: classNames('flex', {
|
|
1650
1706
|
'opacity-60 select-none pointer-events-none cursor-default': props.disabled
|
|
@@ -1666,8 +1722,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1666
1722
|
removeTokenIcon: 'ml-2'
|
|
1667
1723
|
},
|
|
1668
1724
|
colorpicker: {
|
|
1669
|
-
root: function root(
|
|
1670
|
-
var props =
|
|
1725
|
+
root: function root(_ref86) {
|
|
1726
|
+
var props = _ref86.props;
|
|
1671
1727
|
return {
|
|
1672
1728
|
className: classNames('inline-block', {
|
|
1673
1729
|
'opacity-60 select-none pointer-events-none cursor-default': props.disabled
|
|
@@ -1677,8 +1733,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1677
1733
|
input: {
|
|
1678
1734
|
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')
|
|
1679
1735
|
},
|
|
1680
|
-
panel: function panel(
|
|
1681
|
-
var props =
|
|
1736
|
+
panel: function panel(_ref87) {
|
|
1737
|
+
var props = _ref87.props;
|
|
1682
1738
|
return {
|
|
1683
1739
|
className: classNames('shadow-md', 'bg-gray-800 border-gray-900', {
|
|
1684
1740
|
'relative h-48 w-52': props.inline,
|
|
@@ -1718,8 +1774,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1718
1774
|
},
|
|
1719
1775
|
//MISC
|
|
1720
1776
|
badge: {
|
|
1721
|
-
root: function root(
|
|
1722
|
-
var props =
|
|
1777
|
+
root: function root(_ref88) {
|
|
1778
|
+
var props = _ref88.props;
|
|
1723
1779
|
return {
|
|
1724
1780
|
className: classNames('rounded-full p-0 text-center inline-block', 'bg-blue-500 text-white font-bold', {
|
|
1725
1781
|
'bg-gray-500 ': props.severity == 'secondary',
|
|
@@ -1737,9 +1793,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1737
1793
|
}
|
|
1738
1794
|
},
|
|
1739
1795
|
avatar: {
|
|
1740
|
-
root: function root(
|
|
1741
|
-
var props =
|
|
1742
|
-
state =
|
|
1796
|
+
root: function root(_ref89) {
|
|
1797
|
+
var props = _ref89.props,
|
|
1798
|
+
state = _ref89.state;
|
|
1743
1799
|
return {
|
|
1744
1800
|
className: classNames('flex items-center justify-center', 'bg-gray-300 dark:bg-gray-800', {
|
|
1745
1801
|
'rounded-lg': props.shape == 'square',
|
|
@@ -1775,8 +1831,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1775
1831
|
root: {
|
|
1776
1832
|
className: classNames('overflow-hidden relative', 'border-0 h-6 bg-gray-200 rounded-md dark:bg-gray-800')
|
|
1777
1833
|
},
|
|
1778
|
-
value: function value(
|
|
1779
|
-
var props =
|
|
1834
|
+
value: function value(_ref90) {
|
|
1835
|
+
var props = _ref90.props;
|
|
1780
1836
|
return {
|
|
1781
1837
|
className: classNames('border-0 m-0 bg-blue-500', {
|
|
1782
1838
|
'transition-width duration-1000 ease-in-out absolute items-center border-0 flex h-full justify-center overflow-hidden w-0': props.mode !== 'indeterminate',
|
|
@@ -1796,8 +1852,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1796
1852
|
circle: 'text-red-500 progress-spinner-circle'
|
|
1797
1853
|
},
|
|
1798
1854
|
skeleton: {
|
|
1799
|
-
root: function root(
|
|
1800
|
-
var props =
|
|
1855
|
+
root: function root(_ref91) {
|
|
1856
|
+
var props = _ref91.props;
|
|
1801
1857
|
return {
|
|
1802
1858
|
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', {
|
|
1803
1859
|
'rounded-md': props.shape !== 'circle',
|
|
@@ -1807,8 +1863,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1807
1863
|
}
|
|
1808
1864
|
},
|
|
1809
1865
|
tag: {
|
|
1810
|
-
root: function root(
|
|
1811
|
-
var props =
|
|
1866
|
+
root: function root(_ref92) {
|
|
1867
|
+
var props = _ref92.props;
|
|
1812
1868
|
return {
|
|
1813
1869
|
className: classNames('inline-flex items-center justify-center', 'bg-blue-500 text-white text-xs font-semibold px-2 py-1 ', {
|
|
1814
1870
|
'bg-gray-500 ': props.severity == 'secondary',
|
|
@@ -1832,8 +1888,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1832
1888
|
}
|
|
1833
1889
|
},
|
|
1834
1890
|
scrolltop: {
|
|
1835
|
-
root: function root(
|
|
1836
|
-
var props =
|
|
1891
|
+
root: function root(_ref93) {
|
|
1892
|
+
var props = _ref93.props;
|
|
1837
1893
|
return {
|
|
1838
1894
|
className: classNames('fixed bottom-20 right-20 flex items-center justify-center', 'ml-auto', {
|
|
1839
1895
|
'!bg-blue-500 hover:bg-blue-600 text-white rounded-md h-8 w-8': props.target == 'parent',
|
|
@@ -1891,8 +1947,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1891
1947
|
className: classNames('m-0 p-0 list-none', 'outline-none')
|
|
1892
1948
|
},
|
|
1893
1949
|
menuitem: 'relative',
|
|
1894
|
-
content: function content(
|
|
1895
|
-
var context =
|
|
1950
|
+
content: function content(_ref94) {
|
|
1951
|
+
var context = _ref94.context;
|
|
1896
1952
|
return {
|
|
1897
1953
|
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',
|
|
1898
1954
|
// Hover
|
|
@@ -1920,8 +1976,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1920
1976
|
}
|
|
1921
1977
|
},
|
|
1922
1978
|
dock: {
|
|
1923
|
-
root: function root(
|
|
1924
|
-
var props =
|
|
1979
|
+
root: function root(_ref95) {
|
|
1980
|
+
var props = _ref95.props;
|
|
1925
1981
|
return {
|
|
1926
1982
|
className: classNames('absolute z-1 flex justify-center items-center pointer-events-none', {
|
|
1927
1983
|
'left-0 bottom-0 w-full': props.position == 'bottom',
|
|
@@ -1934,18 +1990,18 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1934
1990
|
container: {
|
|
1935
1991
|
className: classNames('flex pointer-events-auto', 'bg-white/10 border-white/20 p-2 border rounded-md')
|
|
1936
1992
|
},
|
|
1937
|
-
menu: function menu(
|
|
1938
|
-
var props =
|
|
1993
|
+
menu: function menu(_ref96) {
|
|
1994
|
+
var props = _ref96.props;
|
|
1939
1995
|
return {
|
|
1940
1996
|
className: classNames('m-0 p-0 list-none flex items-center justify-center', 'outline-none', {
|
|
1941
1997
|
'flex-col': props.position == 'left' || props.position == 'right'
|
|
1942
1998
|
})
|
|
1943
1999
|
};
|
|
1944
2000
|
},
|
|
1945
|
-
menuitem: function menuitem(
|
|
1946
|
-
var props =
|
|
1947
|
-
context =
|
|
1948
|
-
state =
|
|
2001
|
+
menuitem: function menuitem(_ref97) {
|
|
2002
|
+
var props = _ref97.props,
|
|
2003
|
+
context = _ref97.context,
|
|
2004
|
+
state = _ref97.state;
|
|
1949
2005
|
return {
|
|
1950
2006
|
className: classNames('p-2 rounded-md', 'transition-all duration-200 ease-cubic-bezier-will-change-transform transform ', {
|
|
1951
2007
|
'origin-bottom hover:mx-6': props.position == 'bottom',
|
|
@@ -1968,8 +2024,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1968
2024
|
menu: {
|
|
1969
2025
|
className: classNames('m-0 p-0 list-none', 'outline-none')
|
|
1970
2026
|
},
|
|
1971
|
-
content: function content(
|
|
1972
|
-
var state =
|
|
2027
|
+
content: function content(_ref98) {
|
|
2028
|
+
var state = _ref98.state;
|
|
1973
2029
|
return {
|
|
1974
2030
|
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',
|
|
1975
2031
|
// Hover
|
|
@@ -1995,8 +2051,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1995
2051
|
root: {
|
|
1996
2052
|
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')
|
|
1997
2053
|
},
|
|
1998
|
-
menu: function menu(
|
|
1999
|
-
var state =
|
|
2054
|
+
menu: function menu(_ref99) {
|
|
2055
|
+
var state = _ref99.state;
|
|
2000
2056
|
return {
|
|
2001
2057
|
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', {
|
|
2002
2058
|
'hidden ': !(state !== null && state !== void 0 && state.mobileActive),
|
|
@@ -2004,9 +2060,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2004
2060
|
})
|
|
2005
2061
|
};
|
|
2006
2062
|
},
|
|
2007
|
-
menuitem: function menuitem(
|
|
2008
|
-
var props =
|
|
2009
|
-
context =
|
|
2063
|
+
menuitem: function menuitem(_ref100) {
|
|
2064
|
+
var props = _ref100.props,
|
|
2065
|
+
context = _ref100.context;
|
|
2010
2066
|
return {
|
|
2011
2067
|
className: classNames('sm:relative sm:w-auto w-full static', 'transition-shadow duration-200', {
|
|
2012
2068
|
'rounded-md': props.root
|
|
@@ -2019,8 +2075,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2019
2075
|
})
|
|
2020
2076
|
};
|
|
2021
2077
|
},
|
|
2022
|
-
action: function action(
|
|
2023
|
-
var context =
|
|
2078
|
+
action: function action(_ref101) {
|
|
2079
|
+
var context = _ref101.context;
|
|
2024
2080
|
return {
|
|
2025
2081
|
className: classNames('select-none', 'cursor-pointer flex items-center no-underline overflow-hidden relative', 'py-3 px-5 select-none', {
|
|
2026
2082
|
'pl-9 sm:pl-5': context.level === 1,
|
|
@@ -2029,8 +2085,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2029
2085
|
};
|
|
2030
2086
|
},
|
|
2031
2087
|
icon: 'mr-2',
|
|
2032
|
-
submenuIcon: function submenuIcon(
|
|
2033
|
-
var props =
|
|
2088
|
+
submenuIcon: function submenuIcon(_ref102) {
|
|
2089
|
+
var props = _ref102.props;
|
|
2034
2090
|
return {
|
|
2035
2091
|
className: classNames({
|
|
2036
2092
|
'ml-auto sm:ml-2': props.root,
|
|
@@ -2038,8 +2094,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2038
2094
|
})
|
|
2039
2095
|
};
|
|
2040
2096
|
},
|
|
2041
|
-
submenu: function submenu(
|
|
2042
|
-
var props =
|
|
2097
|
+
submenu: function submenu(_ref103) {
|
|
2098
|
+
var props = _ref103.props;
|
|
2043
2099
|
return {
|
|
2044
2100
|
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', {
|
|
2045
2101
|
'sm:absolute sm:left-full sm:top-0': !props.root
|
|
@@ -2053,8 +2109,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2053
2109
|
end: 'ml-auto self-auto'
|
|
2054
2110
|
},
|
|
2055
2111
|
megamenu: {
|
|
2056
|
-
root: function root(
|
|
2057
|
-
var props =
|
|
2112
|
+
root: function root(_ref104) {
|
|
2113
|
+
var props = _ref104.props;
|
|
2058
2114
|
return {
|
|
2059
2115
|
className: classNames('bg-gray-100 dark:bg-gray-900 border border-gray-300 dark:border-blue-900/40 rounded-md', 'flex relative', {
|
|
2060
2116
|
'p-2 items-center': props.orientation == 'horizontal',
|
|
@@ -2062,9 +2118,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2062
2118
|
})
|
|
2063
2119
|
};
|
|
2064
2120
|
},
|
|
2065
|
-
menu: function menu(
|
|
2066
|
-
var props =
|
|
2067
|
-
state =
|
|
2121
|
+
menu: function menu(_ref105) {
|
|
2122
|
+
var props = _ref105.props,
|
|
2123
|
+
state = _ref105.state;
|
|
2068
2124
|
return {
|
|
2069
2125
|
className: classNames('m-0 sm:p-0 list-none', 'outline-none', {
|
|
2070
2126
|
hidden: props.orientation !== 'vertical' && !state.mobileActive
|
|
@@ -2075,9 +2131,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2075
2131
|
})
|
|
2076
2132
|
};
|
|
2077
2133
|
},
|
|
2078
|
-
menuitem: function menuitem(
|
|
2079
|
-
var props =
|
|
2080
|
-
context =
|
|
2134
|
+
menuitem: function menuitem(_ref106) {
|
|
2135
|
+
var props = _ref106.props,
|
|
2136
|
+
context = _ref106.context;
|
|
2081
2137
|
return {
|
|
2082
2138
|
className: classNames('transition-shadow duration-200', {
|
|
2083
2139
|
'rounded-md': props.orientation == 'horizontal'
|
|
@@ -2093,8 +2149,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2093
2149
|
})
|
|
2094
2150
|
};
|
|
2095
2151
|
},
|
|
2096
|
-
menuButton: function menuButton(
|
|
2097
|
-
var props =
|
|
2152
|
+
menuButton: function menuButton(_ref107) {
|
|
2153
|
+
var props = _ref107.props;
|
|
2098
2154
|
return {
|
|
2099
2155
|
className: classNames({
|
|
2100
2156
|
'flex md:hidden': props.orientation === 'horizontal'
|
|
@@ -2115,8 +2171,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2115
2171
|
submenuItem: {
|
|
2116
2172
|
className: classNames('text-gray-700 hover:bg-gray-200')
|
|
2117
2173
|
},
|
|
2118
|
-
submenuIcon: function submenuIcon(
|
|
2119
|
-
var props =
|
|
2174
|
+
submenuIcon: function submenuIcon(_ref108) {
|
|
2175
|
+
var props = _ref108.props;
|
|
2120
2176
|
return {
|
|
2121
2177
|
className: classNames({
|
|
2122
2178
|
'ml-2': props.orientation === 'horizontal',
|
|
@@ -2124,8 +2180,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2124
2180
|
})
|
|
2125
2181
|
};
|
|
2126
2182
|
},
|
|
2127
|
-
panel: function panel(
|
|
2128
|
-
var props =
|
|
2183
|
+
panel: function panel(_ref109) {
|
|
2184
|
+
var props = _ref109.props;
|
|
2129
2185
|
return {
|
|
2130
2186
|
className: classNames('py-1 bg-white dark:bg-gray-900 border-0 shadow-md w-auto', 'absolute z-10', {
|
|
2131
2187
|
'left-full top-0': props.orientation !== 'horizontal'
|
|
@@ -2165,8 +2221,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2165
2221
|
menu: {
|
|
2166
2222
|
className: classNames('outline-none', 'm-0 p-0 list-none')
|
|
2167
2223
|
},
|
|
2168
|
-
menuitem: function menuitem(
|
|
2169
|
-
var context =
|
|
2224
|
+
menuitem: function menuitem(_ref110) {
|
|
2225
|
+
var context = _ref110.context;
|
|
2170
2226
|
return {
|
|
2171
2227
|
className: classNames('text-gray-700 dark:text-white/80 transition-shadow duration-200 border-none rounded-none', {
|
|
2172
2228
|
'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90': context.focused
|
|
@@ -2197,11 +2253,29 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2197
2253
|
action: {
|
|
2198
2254
|
className: classNames('inline-flex flex-col items-center overflow-hidden', 'transition-shadow rounded-md bg-white dark:bg-transparent', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]')
|
|
2199
2255
|
},
|
|
2200
|
-
step: {
|
|
2201
|
-
|
|
2256
|
+
step: function step(_ref111) {
|
|
2257
|
+
var parent = _ref111.parent,
|
|
2258
|
+
context = _ref111.context;
|
|
2259
|
+
return {
|
|
2260
|
+
className: classNames('flex items-center justify-center', 'text-gray-700 dark:text-white/80 border border-gray-300 dark:border-blue-900/40 bg-white dark:bg-gray-900 w-[2rem] h-[2rem] leading-2rem text-sm z-10 rounded-full', {
|
|
2261
|
+
'bg-white': parent.state.activeIndex !== context.index,
|
|
2262
|
+
// unselected item.
|
|
2263
|
+
'bg-blue-500': parent.state.activeIndex === context.index // Selected item.
|
|
2264
|
+
})
|
|
2265
|
+
};
|
|
2202
2266
|
},
|
|
2203
|
-
label: {
|
|
2204
|
-
|
|
2267
|
+
label: function label(_ref112) {
|
|
2268
|
+
var parent = _ref112.parent,
|
|
2269
|
+
context = _ref112.context;
|
|
2270
|
+
return {
|
|
2271
|
+
className: classNames('block', 'whitespace-nowrap overflow-hidden overflow-ellipsis max-w-full', 'mt-2 text-gray-500 dark:text-white/60', {
|
|
2272
|
+
'font-normal': parent.state.activeIndex !== context.index,
|
|
2273
|
+
// unselected item.
|
|
2274
|
+
'font-bold': parent.state.activeIndex === context.index,
|
|
2275
|
+
// Selected item.
|
|
2276
|
+
'text-gray-500/60': context.disabled
|
|
2277
|
+
})
|
|
2278
|
+
};
|
|
2205
2279
|
}
|
|
2206
2280
|
},
|
|
2207
2281
|
tabmenu: {
|
|
@@ -2210,9 +2284,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2210
2284
|
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')
|
|
2211
2285
|
},
|
|
2212
2286
|
menuitem: 'mr-0',
|
|
2213
|
-
action: function action(
|
|
2214
|
-
var context =
|
|
2215
|
-
state =
|
|
2287
|
+
action: function action(_ref113) {
|
|
2288
|
+
var context = _ref113.context,
|
|
2289
|
+
state = _ref113.state;
|
|
2216
2290
|
return {
|
|
2217
2291
|
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)]', {
|
|
2218
2292
|
'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,
|
|
@@ -2232,8 +2306,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2232
2306
|
},
|
|
2233
2307
|
content: 'relative overflow-x-hidden overflow-y-auto h-full',
|
|
2234
2308
|
menu: 'outline-none m-0 p-0 list-none absolute top-0 block',
|
|
2235
|
-
menuitem: function menuitem(
|
|
2236
|
-
var context =
|
|
2309
|
+
menuitem: function menuitem(_ref114) {
|
|
2310
|
+
var context = _ref114.context;
|
|
2237
2311
|
return {
|
|
2238
2312
|
className: classNames({
|
|
2239
2313
|
relative: !context.active,
|
|
@@ -2241,8 +2315,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2241
2315
|
})
|
|
2242
2316
|
};
|
|
2243
2317
|
},
|
|
2244
|
-
action: function action(
|
|
2245
|
-
var context =
|
|
2318
|
+
action: function action(_ref115) {
|
|
2319
|
+
var context = _ref115.context;
|
|
2246
2320
|
return {
|
|
2247
2321
|
className: classNames('py-3 px-5 select-none', 'flex items-center cursor-pointer no-underline relative overflow-hidden', {
|
|
2248
2322
|
'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,
|
|
@@ -2250,8 +2324,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2250
2324
|
})
|
|
2251
2325
|
};
|
|
2252
2326
|
},
|
|
2253
|
-
previous: function previous(
|
|
2254
|
-
var state =
|
|
2327
|
+
previous: function previous(_ref116) {
|
|
2328
|
+
var state = _ref116.state;
|
|
2255
2329
|
return {
|
|
2256
2330
|
className: classNames('py-3 px-5 cursor-pointer bottom-0 w-full text-gray-700 dark:text-white/80', {
|
|
2257
2331
|
hidden: state.level === 0
|
|
@@ -2274,8 +2348,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2274
2348
|
className: classNames('outline-none', 'm-0 p-0 list-none')
|
|
2275
2349
|
},
|
|
2276
2350
|
menuitem: 'relative',
|
|
2277
|
-
content: function content(
|
|
2278
|
-
var context =
|
|
2351
|
+
content: function content(_ref117) {
|
|
2352
|
+
var context = _ref117.context;
|
|
2279
2353
|
return {
|
|
2280
2354
|
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',
|
|
2281
2355
|
//Hover
|
|
@@ -2287,8 +2361,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2287
2361
|
})
|
|
2288
2362
|
};
|
|
2289
2363
|
},
|
|
2290
|
-
action: function action(
|
|
2291
|
-
var context =
|
|
2364
|
+
action: function action(_ref118) {
|
|
2365
|
+
var context = _ref118.context;
|
|
2292
2366
|
return {
|
|
2293
2367
|
className: classNames('py-3 px-5 select-none', 'flex items-center cursor-pointer no-underline relative overflow-hidden', {
|
|
2294
2368
|
'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,
|
|
@@ -2305,8 +2379,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2305
2379
|
transition: TRANSITIONS.overlay
|
|
2306
2380
|
},
|
|
2307
2381
|
metergroup: {
|
|
2308
|
-
root: function root(
|
|
2309
|
-
var props =
|
|
2382
|
+
root: function root(_ref119) {
|
|
2383
|
+
var props = _ref119.props;
|
|
2310
2384
|
return {
|
|
2311
2385
|
className: classNames('flex gap-4', {
|
|
2312
2386
|
'flex-col': props.orientation == 'horizontal',
|
|
@@ -2314,8 +2388,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2314
2388
|
})
|
|
2315
2389
|
};
|
|
2316
2390
|
},
|
|
2317
|
-
metercontainer: function metercontainer(
|
|
2318
|
-
var props =
|
|
2391
|
+
metercontainer: function metercontainer(_ref120) {
|
|
2392
|
+
var props = _ref120.props;
|
|
2319
2393
|
return {
|
|
2320
2394
|
className: classNames('flex', {
|
|
2321
2395
|
'flex-col': props.orientation === 'vertical'
|
|
@@ -2326,8 +2400,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2326
2400
|
}, 'bg-gray-200 dark:bg-gray-700', 'rounded-lg')
|
|
2327
2401
|
};
|
|
2328
2402
|
},
|
|
2329
|
-
meter: function meter(
|
|
2330
|
-
var props =
|
|
2403
|
+
meter: function meter(_ref121) {
|
|
2404
|
+
var props = _ref121.props;
|
|
2331
2405
|
return {
|
|
2332
2406
|
className: classNames('border-0', {
|
|
2333
2407
|
'first:rounded-l-lg last:rounded-r-lg': props.orientation === 'horizontal'
|
|
@@ -2336,8 +2410,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2336
2410
|
}, 'bg-primary-500 dark:bg-primary-400')
|
|
2337
2411
|
};
|
|
2338
2412
|
},
|
|
2339
|
-
labellist: function labellist(
|
|
2340
|
-
var props =
|
|
2413
|
+
labellist: function labellist(_ref122) {
|
|
2414
|
+
var props = _ref122.props;
|
|
2341
2415
|
return {
|
|
2342
2416
|
className: classNames('flex flex-wrap', {
|
|
2343
2417
|
'gap-4': props.labelOrientation === 'horizontal'
|
|
@@ -2429,8 +2503,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2429
2503
|
className: classNames('flex items-center justify-center', 'p-4')
|
|
2430
2504
|
},
|
|
2431
2505
|
indicator: 'mr-2',
|
|
2432
|
-
indicatorbutton: function indicatorbutton(
|
|
2433
|
-
var context =
|
|
2506
|
+
indicatorbutton: function indicatorbutton(_ref123) {
|
|
2507
|
+
var context = _ref123.context;
|
|
2434
2508
|
return {
|
|
2435
2509
|
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)]', {
|
|
2436
2510
|
'bg-gray-200 hover:bg-gray-300 dark:bg-gray-700 dark:hover:bg-gray-600': !context.highlighted,
|
|
@@ -2438,8 +2512,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2438
2512
|
})
|
|
2439
2513
|
};
|
|
2440
2514
|
},
|
|
2441
|
-
mask: function mask(
|
|
2442
|
-
var state =
|
|
2515
|
+
mask: function mask(_ref124) {
|
|
2516
|
+
var state = _ref124.state;
|
|
2443
2517
|
return {
|
|
2444
2518
|
className: classNames({
|
|
2445
2519
|
'fixed top-0 left-0 w-full h-full flex items-center justify-center bg-black bg-opacity-90': state.visible
|
|
@@ -2472,8 +2546,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2472
2546
|
carousel: {
|
|
2473
2547
|
root: 'flex flex-col',
|
|
2474
2548
|
content: 'flex flex-col overflow-auto',
|
|
2475
|
-
container: function container(
|
|
2476
|
-
var props =
|
|
2549
|
+
container: function container(_ref125) {
|
|
2550
|
+
var props = _ref125.props;
|
|
2477
2551
|
return {
|
|
2478
2552
|
className: classNames('flex', {
|
|
2479
2553
|
'flex-row': props.orientation !== 'vertical',
|
|
@@ -2485,8 +2559,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2485
2559
|
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')
|
|
2486
2560
|
},
|
|
2487
2561
|
itemsContent: 'overflow-hidden w-full',
|
|
2488
|
-
itemsContainer: function itemsContainer(
|
|
2489
|
-
var props =
|
|
2562
|
+
itemsContainer: function itemsContainer(_ref126) {
|
|
2563
|
+
var props = _ref126.props;
|
|
2490
2564
|
return {
|
|
2491
2565
|
className: classNames('flex ', {
|
|
2492
2566
|
'flex-row': props.orientation !== 'vertical',
|
|
@@ -2494,8 +2568,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2494
2568
|
})
|
|
2495
2569
|
};
|
|
2496
2570
|
},
|
|
2497
|
-
item: function item(
|
|
2498
|
-
var props =
|
|
2571
|
+
item: function item(_ref127) {
|
|
2572
|
+
var props = _ref127.props;
|
|
2499
2573
|
return {
|
|
2500
2574
|
className: classNames('flex shrink-0 grow', {
|
|
2501
2575
|
'w-1/3': props.orientation !== 'vertical',
|
|
@@ -2507,8 +2581,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2507
2581
|
className: classNames('flex flex-row justify-center flex-wrap')
|
|
2508
2582
|
},
|
|
2509
2583
|
indicator: 'mr-2 mb-2',
|
|
2510
|
-
indicatorButton: function indicatorButton(
|
|
2511
|
-
var context =
|
|
2584
|
+
indicatorButton: function indicatorButton(_ref128) {
|
|
2585
|
+
var context = _ref128.context;
|
|
2512
2586
|
return {
|
|
2513
2587
|
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)]', {
|
|
2514
2588
|
'bg-blue-500 hover:bg-blue-600': context.active,
|
|
@@ -2518,9 +2592,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2518
2592
|
}
|
|
2519
2593
|
},
|
|
2520
2594
|
tree: {
|
|
2521
|
-
root: function root(
|
|
2595
|
+
root: function root(_ref129) {
|
|
2522
2596
|
var _props$__parentMetada;
|
|
2523
|
-
var props =
|
|
2597
|
+
var props = _ref129.props;
|
|
2524
2598
|
return {
|
|
2525
2599
|
className: classNames('max-w-[30rem] md:w-full', 'bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 p-5', {
|
|
2526
2600
|
'border border-solid border-gray-300 dark:border-blue-900/40 rounded-md': ((_props$__parentMetada = props.__parentMetadata) === null || _props$__parentMetada === void 0 ? void 0 : _props$__parentMetada.parent.props.__TYPE) !== 'TreeSelect'
|
|
@@ -2530,9 +2604,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2530
2604
|
wrapper: 'overflow-auto',
|
|
2531
2605
|
container: 'm-0 p-0 list-none overflow-auto',
|
|
2532
2606
|
node: 'p-1 outline-none',
|
|
2533
|
-
content: function content(
|
|
2534
|
-
var context =
|
|
2535
|
-
props =
|
|
2607
|
+
content: function content(_ref130) {
|
|
2608
|
+
var context = _ref130.context,
|
|
2609
|
+
props = _ref130.props;
|
|
2536
2610
|
return {
|
|
2537
2611
|
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)]', {
|
|
2538
2612
|
'bg-blue-50 text-blue-600': context.selected
|
|
@@ -2541,8 +2615,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2541
2615
|
})
|
|
2542
2616
|
};
|
|
2543
2617
|
},
|
|
2544
|
-
toggler: function toggler(
|
|
2545
|
-
var context =
|
|
2618
|
+
toggler: function toggler(_ref131) {
|
|
2619
|
+
var context = _ref131.context;
|
|
2546
2620
|
return {
|
|
2547
2621
|
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)]', {
|
|
2548
2622
|
'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,
|
|
@@ -2553,9 +2627,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2553
2627
|
};
|
|
2554
2628
|
},
|
|
2555
2629
|
checkboxContainer: 'mr-2',
|
|
2556
|
-
checkbox: function checkbox(
|
|
2557
|
-
var context =
|
|
2558
|
-
props =
|
|
2630
|
+
checkbox: function checkbox(_ref132) {
|
|
2631
|
+
var context = _ref132.context,
|
|
2632
|
+
props = _ref132.props;
|
|
2559
2633
|
return {
|
|
2560
2634
|
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', {
|
|
2561
2635
|
'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900': !context.checked,
|
|
@@ -2580,8 +2654,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2580
2654
|
},
|
|
2581
2655
|
// DATA
|
|
2582
2656
|
timeline: {
|
|
2583
|
-
root: function root(
|
|
2584
|
-
var props =
|
|
2657
|
+
root: function root(_ref133) {
|
|
2658
|
+
var props = _ref133.props;
|
|
2585
2659
|
return {
|
|
2586
2660
|
className: classNames('flex grow', {
|
|
2587
2661
|
'flex-col': props.layout === 'vertical',
|
|
@@ -2589,9 +2663,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2589
2663
|
})
|
|
2590
2664
|
};
|
|
2591
2665
|
},
|
|
2592
|
-
event: function event(
|
|
2593
|
-
var props =
|
|
2594
|
-
context =
|
|
2666
|
+
event: function event(_ref134) {
|
|
2667
|
+
var props = _ref134.props,
|
|
2668
|
+
context = _ref134.context;
|
|
2595
2669
|
return {
|
|
2596
2670
|
className: classNames('flex relative min-h-[70px]', {
|
|
2597
2671
|
'flex-row-reverse': props.align === 'right' || props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 1,
|
|
@@ -2600,9 +2674,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2600
2674
|
})
|
|
2601
2675
|
};
|
|
2602
2676
|
},
|
|
2603
|
-
opposite: function opposite(
|
|
2604
|
-
var props =
|
|
2605
|
-
context =
|
|
2677
|
+
opposite: function opposite(_ref135) {
|
|
2678
|
+
var props = _ref135.props,
|
|
2679
|
+
context = _ref135.context;
|
|
2606
2680
|
return {
|
|
2607
2681
|
className: classNames('flex-1', {
|
|
2608
2682
|
'px-4': props.layout === 'vertical',
|
|
@@ -2613,8 +2687,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2613
2687
|
})
|
|
2614
2688
|
};
|
|
2615
2689
|
},
|
|
2616
|
-
separator: function separator(
|
|
2617
|
-
var props =
|
|
2690
|
+
separator: function separator(_ref136) {
|
|
2691
|
+
var props = _ref136.props;
|
|
2618
2692
|
return {
|
|
2619
2693
|
className: classNames('flex items-center flex-initial', {
|
|
2620
2694
|
'flex-col': props.layout === 'vertical',
|
|
@@ -2623,8 +2697,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2623
2697
|
};
|
|
2624
2698
|
},
|
|
2625
2699
|
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',
|
|
2626
|
-
connector: function connector(
|
|
2627
|
-
var props =
|
|
2700
|
+
connector: function connector(_ref137) {
|
|
2701
|
+
var props = _ref137.props;
|
|
2628
2702
|
return {
|
|
2629
2703
|
className: classNames('grow bg-gray-300 dark:bg-blue-900/40', {
|
|
2630
2704
|
'w-[2px]': props.layout === 'vertical',
|
|
@@ -2632,9 +2706,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2632
2706
|
})
|
|
2633
2707
|
};
|
|
2634
2708
|
},
|
|
2635
|
-
content: function content(
|
|
2636
|
-
var props =
|
|
2637
|
-
context =
|
|
2709
|
+
content: function content(_ref138) {
|
|
2710
|
+
var props = _ref138.props,
|
|
2711
|
+
context = _ref138.context;
|
|
2638
2712
|
return {
|
|
2639
2713
|
className: classNames('flex-1', {
|
|
2640
2714
|
'px-4': props.layout === 'vertical',
|
|
@@ -2658,15 +2732,15 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2658
2732
|
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'
|
|
2659
2733
|
},
|
|
2660
2734
|
dataviewlayoutoptions: {
|
|
2661
|
-
listButton: function listButton(
|
|
2662
|
-
var props =
|
|
2735
|
+
listButton: function listButton(_ref139) {
|
|
2736
|
+
var props = _ref139.props;
|
|
2663
2737
|
return {
|
|
2664
2738
|
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.layout === '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
|
|
2665
2739
|
)
|
|
2666
2740
|
};
|
|
2667
2741
|
},
|
|
2668
|
-
gridButton: function gridButton(
|
|
2669
|
-
var props =
|
|
2742
|
+
gridButton: function gridButton(_ref140) {
|
|
2743
|
+
var props = _ref140.props;
|
|
2670
2744
|
return {
|
|
2671
2745
|
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.layout === '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
|
|
2672
2746
|
)
|
|
@@ -2693,8 +2767,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2693
2767
|
className: classNames('mx-auto my-0 w-px h-[20px] bg-gray-300', 'dark:bg-blue-900/40' //Dark Mode
|
|
2694
2768
|
)
|
|
2695
2769
|
},
|
|
2696
|
-
lineLeft: function lineLeft(
|
|
2697
|
-
var context =
|
|
2770
|
+
lineLeft: function lineLeft(_ref141) {
|
|
2771
|
+
var context = _ref141.context;
|
|
2698
2772
|
return {
|
|
2699
2773
|
className: classNames('text-center align-top py-0 px-3 rounded-none border-r border-gray-300', 'dark:border-blue-900/40',
|
|
2700
2774
|
//Dark Mode
|
|
@@ -2703,8 +2777,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2703
2777
|
})
|
|
2704
2778
|
};
|
|
2705
2779
|
},
|
|
2706
|
-
lineRight: function lineRight(
|
|
2707
|
-
var context =
|
|
2780
|
+
lineRight: function lineRight(_ref142) {
|
|
2781
|
+
var context = _ref142.context;
|
|
2708
2782
|
return {
|
|
2709
2783
|
className: classNames('text-center align-top py-0 px-3 rounded-none', 'dark:border-blue-900/40',
|
|
2710
2784
|
//Dark Mode
|
|
@@ -2724,8 +2798,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2724
2798
|
root: 'flex',
|
|
2725
2799
|
controls: 'flex flex-col justify-center p-5',
|
|
2726
2800
|
moveUpButton: {
|
|
2727
|
-
root: function root(
|
|
2728
|
-
var context =
|
|
2801
|
+
root: function root(_ref143) {
|
|
2802
|
+
var context = _ref143.context;
|
|
2729
2803
|
return {
|
|
2730
2804
|
className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
|
|
2731
2805
|
// button component
|
|
@@ -2747,8 +2821,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2747
2821
|
}
|
|
2748
2822
|
},
|
|
2749
2823
|
moveTopButton: {
|
|
2750
|
-
root: function root(
|
|
2751
|
-
var context =
|
|
2824
|
+
root: function root(_ref144) {
|
|
2825
|
+
var context = _ref144.context;
|
|
2752
2826
|
return {
|
|
2753
2827
|
className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
|
|
2754
2828
|
// button component
|
|
@@ -2770,8 +2844,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2770
2844
|
}
|
|
2771
2845
|
},
|
|
2772
2846
|
moveDownButton: {
|
|
2773
|
-
root: function root(
|
|
2774
|
-
var context =
|
|
2847
|
+
root: function root(_ref145) {
|
|
2848
|
+
var context = _ref145.context;
|
|
2775
2849
|
return {
|
|
2776
2850
|
className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
|
|
2777
2851
|
// button component
|
|
@@ -2793,8 +2867,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2793
2867
|
}
|
|
2794
2868
|
},
|
|
2795
2869
|
moveBottomButton: {
|
|
2796
|
-
root: function root(
|
|
2797
|
-
var context =
|
|
2870
|
+
root: function root(_ref146) {
|
|
2871
|
+
var context = _ref146.context;
|
|
2798
2872
|
return {
|
|
2799
2873
|
className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
|
|
2800
2874
|
// button component
|
|
@@ -2824,8 +2898,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2824
2898
|
className: classNames('list-none m-0 p-0 overflow-auto min-h-[12rem] max-h-[24rem]', 'border border-gray-300 bg-white text-gray-600 py-3 px-0 rounded-b-md outline-none', 'dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80' //Dark Mode
|
|
2825
2899
|
)
|
|
2826
2900
|
},
|
|
2827
|
-
item: function item(
|
|
2828
|
-
var context =
|
|
2901
|
+
item: function item(_ref147) {
|
|
2902
|
+
var context = _ref147.context;
|
|
2829
2903
|
return {
|
|
2830
2904
|
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', {
|
|
2831
2905
|
'text-blue-700 bg-blue-500/20 dark:bg-blue-300/20': context.selected
|
|
@@ -2897,8 +2971,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2897
2971
|
className: classNames('list-none m-0 p-0 overflow-auto min-h-[12rem] max-h-[24rem]', 'border border-gray-300 bg-white text-gray-600 py-3 px-0 rounded-b-md outline-none', 'dark:border-blue-900/40 dark:bg-gray-900 dark:text-white/80' //Dark Mode
|
|
2898
2972
|
)
|
|
2899
2973
|
},
|
|
2900
|
-
item: function item(
|
|
2901
|
-
var context =
|
|
2974
|
+
item: function item(_ref148) {
|
|
2975
|
+
var context = _ref148.context;
|
|
2902
2976
|
return {
|
|
2903
2977
|
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', {
|
|
2904
2978
|
'text-blue-700 bg-blue-500/20 dark:bg-blue-300/20': context.selected,
|
|
@@ -2984,8 +3058,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2984
3058
|
className: classNames('flex items-center justify-center flex-wrap', 'bg-white text-gray-500 border-0 px-4 py-2 rounded-md', 'dark:bg-gray-900 dark:text-white/60 dark:border-blue-900/40' // Dark Mode
|
|
2985
3059
|
)
|
|
2986
3060
|
},
|
|
2987
|
-
firstPageButton: function firstPageButton(
|
|
2988
|
-
var context =
|
|
3061
|
+
firstPageButton: function firstPageButton(_ref149) {
|
|
3062
|
+
var context = _ref149.context;
|
|
2989
3063
|
return {
|
|
2990
3064
|
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',
|
|
2991
3065
|
//Dark Mode
|
|
@@ -2995,8 +3069,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2995
3069
|
})
|
|
2996
3070
|
};
|
|
2997
3071
|
},
|
|
2998
|
-
prevPageButton: function prevPageButton(
|
|
2999
|
-
var context =
|
|
3072
|
+
prevPageButton: function prevPageButton(_ref150) {
|
|
3073
|
+
var context = _ref150.context;
|
|
3000
3074
|
return {
|
|
3001
3075
|
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',
|
|
3002
3076
|
//Dark Mode
|
|
@@ -3006,8 +3080,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3006
3080
|
})
|
|
3007
3081
|
};
|
|
3008
3082
|
},
|
|
3009
|
-
nextPageButton: function nextPageButton(
|
|
3010
|
-
var context =
|
|
3083
|
+
nextPageButton: function nextPageButton(_ref151) {
|
|
3084
|
+
var context = _ref151.context;
|
|
3011
3085
|
return {
|
|
3012
3086
|
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',
|
|
3013
3087
|
//Dark Mode
|
|
@@ -3017,8 +3091,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3017
3091
|
})
|
|
3018
3092
|
};
|
|
3019
3093
|
},
|
|
3020
|
-
lastPageButton: function lastPageButton(
|
|
3021
|
-
var context =
|
|
3094
|
+
lastPageButton: function lastPageButton(_ref152) {
|
|
3095
|
+
var context = _ref152.context;
|
|
3022
3096
|
return {
|
|
3023
3097
|
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',
|
|
3024
3098
|
//Dark Mode
|
|
@@ -3028,8 +3102,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3028
3102
|
})
|
|
3029
3103
|
};
|
|
3030
3104
|
},
|
|
3031
|
-
pageButton: function pageButton(
|
|
3032
|
-
var context =
|
|
3105
|
+
pageButton: function pageButton(_ref153) {
|
|
3106
|
+
var context = _ref153.context;
|
|
3033
3107
|
return {
|
|
3034
3108
|
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',
|
|
3035
3109
|
// Dark Mode
|
|
@@ -3041,9 +3115,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3041
3115
|
};
|
|
3042
3116
|
},
|
|
3043
3117
|
RPPDropdown: {
|
|
3044
|
-
root: function root(
|
|
3045
|
-
var props =
|
|
3046
|
-
state =
|
|
3118
|
+
root: function root(_ref154) {
|
|
3119
|
+
var props = _ref154.props,
|
|
3120
|
+
state = _ref154.state;
|
|
3047
3121
|
return {
|
|
3048
3122
|
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',
|
|
3049
3123
|
//DarkMode
|
|
@@ -3068,8 +3142,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3068
3142
|
},
|
|
3069
3143
|
wrapper: 'overflow-auto',
|
|
3070
3144
|
list: 'm-0 p-0 py-3 list-none',
|
|
3071
|
-
item: function item(
|
|
3072
|
-
var context =
|
|
3145
|
+
item: function item(_ref155) {
|
|
3146
|
+
var context = _ref155.context;
|
|
3073
3147
|
return {
|
|
3074
3148
|
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',
|
|
3075
3149
|
// Dark Mode
|
|
@@ -3090,9 +3164,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3090
3164
|
}
|
|
3091
3165
|
},
|
|
3092
3166
|
jumptopagedropdown: {
|
|
3093
|
-
root: function root(
|
|
3094
|
-
var props =
|
|
3095
|
-
state =
|
|
3167
|
+
root: function root(_ref156) {
|
|
3168
|
+
var props = _ref156.props,
|
|
3169
|
+
state = _ref156.state;
|
|
3096
3170
|
return {
|
|
3097
3171
|
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',
|
|
3098
3172
|
//DarkMode
|
|
@@ -3117,8 +3191,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3117
3191
|
},
|
|
3118
3192
|
wrapper: 'overflow-auto',
|
|
3119
3193
|
list: 'm-0 p-0 py-3 list-none',
|
|
3120
|
-
item: function item(
|
|
3121
|
-
var context =
|
|
3194
|
+
item: function item(_ref157) {
|
|
3195
|
+
var context = _ref157.context;
|
|
3122
3196
|
return {
|
|
3123
3197
|
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',
|
|
3124
3198
|
// Dark Mode
|
|
@@ -3132,8 +3206,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3132
3206
|
}
|
|
3133
3207
|
},
|
|
3134
3208
|
treetable: {
|
|
3135
|
-
root: function root(
|
|
3136
|
-
var props =
|
|
3209
|
+
root: function root(_ref158) {
|
|
3210
|
+
var props = _ref158.props;
|
|
3137
3211
|
return {
|
|
3138
3212
|
className: classNames('relative', {
|
|
3139
3213
|
'flex flex-col h-full': props.scrollHeight
|
|
@@ -3149,8 +3223,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3149
3223
|
className: classNames('bg-slate-50 text-slate-700 border border-x-0 border-t-0 border-gray-300 p-4 font-bold', 'dark:bg-gray-900 dark:text-white/70 dark:border-blue-900/40' // Dark Mode
|
|
3150
3224
|
)
|
|
3151
3225
|
},
|
|
3152
|
-
scrollableWrapper: function scrollableWrapper(
|
|
3153
|
-
var props =
|
|
3226
|
+
scrollableWrapper: function scrollableWrapper(_ref159) {
|
|
3227
|
+
var props = _ref159.props;
|
|
3154
3228
|
return {
|
|
3155
3229
|
className: classNames({
|
|
3156
3230
|
'relative overflow-auto': props.scrollable,
|
|
@@ -3158,8 +3232,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3158
3232
|
})
|
|
3159
3233
|
};
|
|
3160
3234
|
},
|
|
3161
|
-
wrapper: function wrapper(
|
|
3162
|
-
var props =
|
|
3235
|
+
wrapper: function wrapper(_ref160) {
|
|
3236
|
+
var props = _ref160.props;
|
|
3163
3237
|
return {
|
|
3164
3238
|
className: classNames({
|
|
3165
3239
|
'relative overflow-auto': props.scrollable,
|
|
@@ -3172,40 +3246,40 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3172
3246
|
)
|
|
3173
3247
|
},
|
|
3174
3248
|
table: 'border-collapse table-fixed w-full',
|
|
3175
|
-
thead: function thead(
|
|
3176
|
-
var props =
|
|
3249
|
+
thead: function thead(_ref161) {
|
|
3250
|
+
var props = _ref161.props;
|
|
3177
3251
|
return {
|
|
3178
3252
|
className: classNames({
|
|
3179
3253
|
'block sticky top-0 z-[1]': props.scrollable
|
|
3180
3254
|
})
|
|
3181
3255
|
};
|
|
3182
3256
|
},
|
|
3183
|
-
tbody: function tbody(
|
|
3184
|
-
var props =
|
|
3257
|
+
tbody: function tbody(_ref162) {
|
|
3258
|
+
var props = _ref162.props;
|
|
3185
3259
|
return {
|
|
3186
3260
|
className: classNames({
|
|
3187
3261
|
block: props.scrollable
|
|
3188
3262
|
})
|
|
3189
3263
|
};
|
|
3190
3264
|
},
|
|
3191
|
-
tfoot: function tfoot(
|
|
3192
|
-
var props =
|
|
3265
|
+
tfoot: function tfoot(_ref163) {
|
|
3266
|
+
var props = _ref163.props;
|
|
3193
3267
|
return {
|
|
3194
3268
|
className: classNames({
|
|
3195
3269
|
block: props.scrollable
|
|
3196
3270
|
})
|
|
3197
3271
|
};
|
|
3198
3272
|
},
|
|
3199
|
-
headerRow: function headerRow(
|
|
3200
|
-
var props =
|
|
3273
|
+
headerRow: function headerRow(_ref164) {
|
|
3274
|
+
var props = _ref164.props;
|
|
3201
3275
|
return {
|
|
3202
3276
|
className: classNames({
|
|
3203
3277
|
'flex flex-nowrap w-full': props.scrollable
|
|
3204
3278
|
})
|
|
3205
3279
|
};
|
|
3206
3280
|
},
|
|
3207
|
-
row: function row(
|
|
3208
|
-
var context =
|
|
3281
|
+
row: function row(_ref165) {
|
|
3282
|
+
var context = _ref165.context;
|
|
3209
3283
|
return {
|
|
3210
3284
|
className: classNames('transition duration-200', 'focus:outline focus:outline-[0.15rem] focus:outline-blue-200 focus:outline-offset-[-0.15rem]',
|
|
3211
3285
|
// Focus
|
|
@@ -3217,8 +3291,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3217
3291
|
};
|
|
3218
3292
|
},
|
|
3219
3293
|
column: {
|
|
3220
|
-
headerCell: function headerCell(
|
|
3221
|
-
var context =
|
|
3294
|
+
headerCell: function headerCell(_ref166) {
|
|
3295
|
+
var context = _ref166.context;
|
|
3222
3296
|
return {
|
|
3223
3297
|
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',
|
|
3224
3298
|
//Dark Mode
|
|
@@ -3233,8 +3307,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3233
3307
|
})
|
|
3234
3308
|
};
|
|
3235
3309
|
},
|
|
3236
|
-
bodyCell: function bodyCell(
|
|
3237
|
-
var context =
|
|
3310
|
+
bodyCell: function bodyCell(_ref167) {
|
|
3311
|
+
var context = _ref167.context;
|
|
3238
3312
|
return {
|
|
3239
3313
|
className: classNames('text-left border-gray-300 border', 'transition duration-200 p-4', 'dark:border-blue-900/40',
|
|
3240
3314
|
//Dark Mode
|
|
@@ -3247,8 +3321,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3247
3321
|
})
|
|
3248
3322
|
};
|
|
3249
3323
|
},
|
|
3250
|
-
rowToggler: function rowToggler(
|
|
3251
|
-
var context =
|
|
3324
|
+
rowToggler: function rowToggler(_ref168) {
|
|
3325
|
+
var context = _ref168.context;
|
|
3252
3326
|
return {
|
|
3253
3327
|
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', {
|
|
3254
3328
|
'text-blue-700': context.selected,
|
|
@@ -3260,8 +3334,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3260
3334
|
sort: {
|
|
3261
3335
|
className: 'inline-block align-middle'
|
|
3262
3336
|
},
|
|
3263
|
-
sortIcon: function sortIcon(
|
|
3264
|
-
var context =
|
|
3337
|
+
sortIcon: function sortIcon(_ref169) {
|
|
3338
|
+
var context = _ref169.context;
|
|
3265
3339
|
return {
|
|
3266
3340
|
className: classNames('ml-2 inline-block align-middle', {
|
|
3267
3341
|
'text-blue-700 dark:text-white/80': context.sorted,
|
|
@@ -3277,8 +3351,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3277
3351
|
checkboxWrapper: {
|
|
3278
3352
|
className: classNames('cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6 mr-2')
|
|
3279
3353
|
},
|
|
3280
|
-
checkbox: function checkbox(
|
|
3281
|
-
var context =
|
|
3354
|
+
checkbox: function checkbox(_ref170) {
|
|
3355
|
+
var context = _ref170.context;
|
|
3282
3356
|
return {
|
|
3283
3357
|
className: classNames('flex items-center justify-center', 'border-2 w-6 h-6 text-gray-600 rounded-lg transition-colors duration-200', {
|
|
3284
3358
|
'border-blue-500 bg-blue-500 dark:border-blue-400 dark:bg-blue-400': context.checked,
|
|
@@ -3288,8 +3362,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3288
3362
|
})
|
|
3289
3363
|
};
|
|
3290
3364
|
},
|
|
3291
|
-
checkboxIcon: function checkboxIcon(
|
|
3292
|
-
var context =
|
|
3365
|
+
checkboxIcon: function checkboxIcon(_ref171) {
|
|
3366
|
+
var context = _ref171.context;
|
|
3293
3367
|
return {
|
|
3294
3368
|
className: classNames('w-4 h-4 transition-all duration-200 text-base dark:text-gray-900', {
|
|
3295
3369
|
'text-white': context.checked
|
|
@@ -3300,8 +3374,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3300
3374
|
resizeHelper: 'absolute hidden w-px z-10 bg-blue-500 dark:bg-blue-300'
|
|
3301
3375
|
},
|
|
3302
3376
|
datatable: {
|
|
3303
|
-
root: function root(
|
|
3304
|
-
var props =
|
|
3377
|
+
root: function root(_ref172) {
|
|
3378
|
+
var props = _ref172.props;
|
|
3305
3379
|
return {
|
|
3306
3380
|
className: classNames('relative', {
|
|
3307
3381
|
'flex flex-col h-full': props.scrollable && props.scrollHeight === 'flex'
|
|
@@ -3313,8 +3387,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3313
3387
|
)
|
|
3314
3388
|
},
|
|
3315
3389
|
loadingIcon: 'w-8 h-8',
|
|
3316
|
-
wrapper: function wrapper(
|
|
3317
|
-
var props =
|
|
3390
|
+
wrapper: function wrapper(_ref173) {
|
|
3391
|
+
var props = _ref173.props;
|
|
3318
3392
|
return {
|
|
3319
3393
|
className: classNames({
|
|
3320
3394
|
relative: props.scrollable,
|
|
@@ -3322,8 +3396,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3322
3396
|
})
|
|
3323
3397
|
};
|
|
3324
3398
|
},
|
|
3325
|
-
header: function header(
|
|
3326
|
-
var props =
|
|
3399
|
+
header: function header(_ref174) {
|
|
3400
|
+
var props = _ref174.props;
|
|
3327
3401
|
return {
|
|
3328
3402
|
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',
|
|
3329
3403
|
// Dark Mode
|
|
@@ -3331,25 +3405,25 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3331
3405
|
};
|
|
3332
3406
|
},
|
|
3333
3407
|
table: 'w-full border-spacing-0',
|
|
3334
|
-
thead: function thead(
|
|
3335
|
-
var context =
|
|
3408
|
+
thead: function thead(_ref175) {
|
|
3409
|
+
var context = _ref175.context;
|
|
3336
3410
|
return {
|
|
3337
3411
|
className: classNames({
|
|
3338
3412
|
'bg-slate-50 top-0 z-[1]': context.scrollable
|
|
3339
3413
|
})
|
|
3340
3414
|
};
|
|
3341
3415
|
},
|
|
3342
|
-
tbody: function tbody(
|
|
3343
|
-
var props =
|
|
3344
|
-
context =
|
|
3416
|
+
tbody: function tbody(_ref176) {
|
|
3417
|
+
var props = _ref176.props,
|
|
3418
|
+
context = _ref176.context;
|
|
3345
3419
|
return {
|
|
3346
3420
|
className: classNames({
|
|
3347
3421
|
'sticky z-[1]': props.frozenRow && context.scrollable
|
|
3348
3422
|
})
|
|
3349
3423
|
};
|
|
3350
3424
|
},
|
|
3351
|
-
tfoot: function tfoot(
|
|
3352
|
-
var context =
|
|
3425
|
+
tfoot: function tfoot(_ref177) {
|
|
3426
|
+
var context = _ref177.context;
|
|
3353
3427
|
return {
|
|
3354
3428
|
className: classNames({
|
|
3355
3429
|
'bg-slate-50 bottom-0 z-[1]': context.scrollable
|
|
@@ -3361,9 +3435,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3361
3435
|
)
|
|
3362
3436
|
},
|
|
3363
3437
|
column: {
|
|
3364
|
-
headerCell: function headerCell(
|
|
3365
|
-
var context =
|
|
3366
|
-
props =
|
|
3438
|
+
headerCell: function headerCell(_ref178) {
|
|
3439
|
+
var context = _ref178.context,
|
|
3440
|
+
props = _ref178.props;
|
|
3367
3441
|
return {
|
|
3368
3442
|
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',
|
|
3369
3443
|
// Size
|
|
@@ -3380,9 +3454,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3380
3454
|
};
|
|
3381
3455
|
},
|
|
3382
3456
|
headerContent: 'flex items-center',
|
|
3383
|
-
bodyCell: function bodyCell(
|
|
3384
|
-
var props =
|
|
3385
|
-
context =
|
|
3457
|
+
bodyCell: function bodyCell(_ref179) {
|
|
3458
|
+
var props = _ref179.props,
|
|
3459
|
+
context = _ref179.context;
|
|
3386
3460
|
return {
|
|
3387
3461
|
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',
|
|
3388
3462
|
// Size
|
|
@@ -3395,8 +3469,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3395
3469
|
})
|
|
3396
3470
|
};
|
|
3397
3471
|
},
|
|
3398
|
-
footerCell: function footerCell(
|
|
3399
|
-
var context =
|
|
3472
|
+
footerCell: function footerCell(_ref180) {
|
|
3473
|
+
var context = _ref180.context;
|
|
3400
3474
|
return {
|
|
3401
3475
|
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',
|
|
3402
3476
|
// Size
|
|
@@ -3407,8 +3481,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3407
3481
|
})
|
|
3408
3482
|
};
|
|
3409
3483
|
},
|
|
3410
|
-
sortIcon: function sortIcon(
|
|
3411
|
-
var context =
|
|
3484
|
+
sortIcon: function sortIcon(_ref181) {
|
|
3485
|
+
var context = _ref181.context;
|
|
3412
3486
|
return {
|
|
3413
3487
|
className: classNames('ml-2', context.sorted ? 'text-blue-700 dark:text-white/80' : 'text-slate-700 dark:text-white/70')
|
|
3414
3488
|
};
|
|
@@ -3426,8 +3500,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3426
3500
|
root: 'min-[0px]:flex mb-2'
|
|
3427
3501
|
},
|
|
3428
3502
|
filterRowItems: 'm-0 p-0 py-3 list-none ',
|
|
3429
|
-
filterRowItem: function filterRowItem(
|
|
3430
|
-
var context =
|
|
3503
|
+
filterRowItem: function filterRowItem(_ref182) {
|
|
3504
|
+
var context = _ref182.context;
|
|
3431
3505
|
return {
|
|
3432
3506
|
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')
|
|
3433
3507
|
};
|
|
@@ -3457,8 +3531,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3457
3531
|
filterApplyButton: {
|
|
3458
3532
|
root: 'w-auto min-[0px]:text-sm px-4 py-3'
|
|
3459
3533
|
},
|
|
3460
|
-
filterMenuButton: function filterMenuButton(
|
|
3461
|
-
var context =
|
|
3534
|
+
filterMenuButton: function filterMenuButton(_ref183) {
|
|
3535
|
+
var context = _ref183.context;
|
|
3462
3536
|
return {
|
|
3463
3537
|
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',
|
|
3464
3538
|
// Hover
|
|
@@ -3471,8 +3545,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3471
3545
|
})
|
|
3472
3546
|
};
|
|
3473
3547
|
},
|
|
3474
|
-
headerFilterClearButton: function headerFilterClearButton(
|
|
3475
|
-
var context =
|
|
3548
|
+
headerFilterClearButton: function headerFilterClearButton(_ref184) {
|
|
3549
|
+
var context = _ref184.context;
|
|
3476
3550
|
return {
|
|
3477
3551
|
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', {
|
|
3478
3552
|
invisible: !context.hidden
|
|
@@ -3511,8 +3585,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3511
3585
|
radioButtonInput: {
|
|
3512
3586
|
className: classNames('w-full h-full top-0 left-0 absolute appearance-none select-none', 'p-0 m-0 opacity-0 z-[1] rounded-[50%] outline-none', 'cursor-pointer peer')
|
|
3513
3587
|
},
|
|
3514
|
-
radioButtonBox: function radioButtonBox(
|
|
3515
|
-
var context =
|
|
3588
|
+
radioButtonBox: function radioButtonBox(_ref185) {
|
|
3589
|
+
var context = _ref185.context;
|
|
3516
3590
|
return {
|
|
3517
3591
|
className: classNames('flex items-center justify-center', 'h-6 w-6 rounded-full border-2 text-gray-700 transition duration-200 ease-in-out', context.checked ? 'border-blue-500 bg-blue-500 dark:border-blue-400 dark:bg-blue-400 peer-hover:bg-blue-700 peer-hover:border-blue-700' : 'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900 peer-hover:border-blue-500', {
|
|
3518
3592
|
'hover:border-blue-500 focus:shadow-input-focus focus:outline-none focus:outline-offset-0 dark:hover:border-blue-400 dark:focus:shadow-[inset_0_0_0_0.2rem_rgba(147,197,253,0.5)]': !context.disabled,
|
|
@@ -3520,8 +3594,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3520
3594
|
})
|
|
3521
3595
|
};
|
|
3522
3596
|
},
|
|
3523
|
-
radioButtonIcon: function radioButtonIcon(
|
|
3524
|
-
var context =
|
|
3597
|
+
radioButtonIcon: function radioButtonIcon(_ref186) {
|
|
3598
|
+
var context = _ref186.context;
|
|
3525
3599
|
return {
|
|
3526
3600
|
className: classNames('transform rounded-full', 'block h-3 w-3 bg-white transition duration-200 dark:bg-gray-900', {
|
|
3527
3601
|
'backface-hidden scale-10 invisible': context.checked === false,
|
|
@@ -3532,8 +3606,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3532
3606
|
headercheckboxwrapper: {
|
|
3533
3607
|
className: classNames('cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6')
|
|
3534
3608
|
},
|
|
3535
|
-
headerCheckbox: function headerCheckbox(
|
|
3536
|
-
var context =
|
|
3609
|
+
headerCheckbox: function headerCheckbox(_ref187) {
|
|
3610
|
+
var context = _ref187.context;
|
|
3537
3611
|
return {
|
|
3538
3612
|
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', {
|
|
3539
3613
|
'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,
|
|
@@ -3545,8 +3619,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3545
3619
|
checkboxwrapper: {
|
|
3546
3620
|
className: classNames('cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6')
|
|
3547
3621
|
},
|
|
3548
|
-
checkbox: function checkbox(
|
|
3549
|
-
var context =
|
|
3622
|
+
checkbox: function checkbox(_ref188) {
|
|
3623
|
+
var context = _ref188.context;
|
|
3550
3624
|
return {
|
|
3551
3625
|
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', {
|
|
3552
3626
|
'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,
|
|
@@ -3557,8 +3631,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3557
3631
|
checkboxicon: 'w-4 h-4 transition-all duration-200 text-white text-base dark:text-gray-900',
|
|
3558
3632
|
transition: TRANSITIONS.overlay
|
|
3559
3633
|
},
|
|
3560
|
-
bodyRow: function bodyRow(
|
|
3561
|
-
var context =
|
|
3634
|
+
bodyRow: function bodyRow(_ref189) {
|
|
3635
|
+
var context = _ref189.context;
|
|
3562
3636
|
return {
|
|
3563
3637
|
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]',
|
|
3564
3638
|
// Focus
|