primereact 10.0.5 → 10.0.6
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.cjs.js +2 -1
- package/api/api.cjs.min.js +1 -1
- package/api/api.esm.js +2 -1
- package/api/api.esm.min.js +1 -1
- package/api/api.js +2 -1
- package/api/api.min.js +1 -1
- package/button/button.cjs.js +5 -6
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +5 -6
- package/button/button.esm.min.js +1 -1
- package/button/button.js +5 -6
- package/button/button.min.js +1 -1
- package/calendar/calendar.cjs.js +12 -8
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +12 -8
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +12 -8
- package/calendar/calendar.min.js +1 -1
- package/componentbase/componentbase.cjs.js +6 -6
- package/componentbase/componentbase.cjs.min.js +1 -1
- package/componentbase/componentbase.esm.js +6 -6
- package/componentbase/componentbase.esm.min.js +1 -1
- package/componentbase/componentbase.js +6 -6
- package/componentbase/componentbase.min.js +1 -1
- package/core/core.js +209 -127
- package/core/core.min.js +6 -6
- package/divider/divider.cjs.js +13 -2
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.esm.js +13 -2
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +13 -2
- package/divider/divider.min.js +1 -1
- package/fileupload/fileupload.cjs.js +2 -2
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +2 -2
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +2 -2
- package/fileupload/fileupload.min.js +1 -1
- package/inputnumber/inputnumber.d.ts +5 -5
- package/mention/mention.cjs.js +1 -1
- package/mention/mention.cjs.min.js +1 -1
- package/mention/mention.esm.js +1 -1
- package/mention/mention.esm.min.js +1 -1
- package/mention/mention.js +1 -1
- package/mention/mention.min.js +1 -1
- package/multiselect/multiselect.cjs.js +2 -1
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +2 -1
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +2 -1
- package/multiselect/multiselect.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.cjs.js +5 -4
- package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.esm.js +5 -4
- package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.js +5 -4
- package/multistatecheckbox/multistatecheckbox.min.js +1 -1
- package/orderlist/orderlist.cjs.js +24 -16
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +24 -16
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +24 -16
- package/orderlist/orderlist.min.js +1 -1
- package/package.json +1 -1
- package/panelmenu/panelmenu.cjs.js +1 -1
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +1 -1
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +1 -1
- package/panelmenu/panelmenu.min.js +1 -1
- package/passthrough/tailwind/index.cjs.js +264 -256
- package/passthrough/tailwind/index.cjs.min.js +1 -1
- package/passthrough/tailwind/index.esm.js +264 -256
- package/passthrough/tailwind/index.esm.min.js +1 -1
- package/passthrough/tailwind/index.js +264 -256
- package/passthrough/tailwind/index.min.js +1 -1
- package/password/password.cjs.js +4 -3
- package/password/password.cjs.min.js +1 -1
- package/password/password.d.ts +4 -0
- package/password/password.esm.js +4 -3
- package/password/password.esm.min.js +1 -1
- package/password/password.js +4 -3
- package/password/password.min.js +1 -1
- package/picklist/picklist.cjs.js +12 -7
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +12 -7
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +12 -7
- package/picklist/picklist.min.js +1 -1
- package/primereact.all.cjs.js +191 -123
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +191 -123
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +191 -123
- package/primereact.all.min.js +1 -1
- package/ripple/ripple.cjs.js +95 -22
- package/ripple/ripple.cjs.min.js +1 -1
- package/ripple/ripple.esm.js +82 -9
- package/ripple/ripple.esm.min.js +1 -1
- package/ripple/ripple.js +182 -110
- package/ripple/ripple.min.js +1 -1
- package/speeddial/speeddial.cjs.js +6 -3
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +6 -3
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +6 -3
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/splitbutton.cjs.js +13 -5
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +13 -5
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +13 -5
- package/splitbutton/splitbutton.min.js +1 -1
- package/timeline/timeline.cjs.js +1 -1
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.esm.js +1 -1
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +1 -1
- package/timeline/timeline.min.js +1 -1
- package/toast/toast.cjs.js +1 -0
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +1 -0
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +1 -0
- package/toast/toast.min.js +1 -1
- package/tooltip/tooltip.cjs.js +2 -1
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.esm.js +2 -1
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +2 -1
- package/tooltip/tooltip.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.cjs.js +1 -1
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +1 -1
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/utils/utils.cjs.js +12 -3
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +12 -3
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +12 -3
- package/utils/utils.min.js +1 -1
- package/web-types.json +3 -3
|
@@ -450,9 +450,12 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
450
450
|
},
|
|
451
451
|
closeButtonIcon: 'w-4 h-4 inline-block',
|
|
452
452
|
content: function content(_ref14) {
|
|
453
|
-
var
|
|
453
|
+
var props = _ref14.props,
|
|
454
|
+
state = _ref14.state;
|
|
454
455
|
return {
|
|
455
|
-
className: classNames('overflow-y-auto', 'bg-white text-gray-700 px-6 pb-8 pt-0',
|
|
456
|
+
className: classNames('overflow-y-auto', 'bg-white text-gray-700 px-6 pb-8 pt-0', {
|
|
457
|
+
'rounded-bl-lg rounded-br-lg': !props.footer
|
|
458
|
+
}, 'dark:bg-gray-900 dark:text-white/80 ', {
|
|
456
459
|
grow: state.maximized
|
|
457
460
|
})
|
|
458
461
|
};
|
|
@@ -881,9 +884,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
881
884
|
icon: 'mr-2'
|
|
882
885
|
},
|
|
883
886
|
menu: {
|
|
884
|
-
className: classNames('outline-none', '
|
|
887
|
+
className: classNames('outline-none', 'py-1 px-0 rounded-md list-none bg-white border-none shadow-lg')
|
|
885
888
|
},
|
|
886
|
-
menulist: '
|
|
889
|
+
menulist: 'm-0 p-0 border-none outline-none no-underline list-none',
|
|
887
890
|
menubutton: {
|
|
888
891
|
root: function root(_ref33) {
|
|
889
892
|
var parent = _ref33.parent;
|
|
@@ -894,7 +897,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
894
897
|
};
|
|
895
898
|
},
|
|
896
899
|
label: 'hidden'
|
|
897
|
-
}
|
|
900
|
+
},
|
|
901
|
+
anchor: 'cursor-pointer flex items-center relative overflow-hidden py-3 px-5 rounded-none transition select-none hover:text-gray-700 hover:bg-gray-200',
|
|
902
|
+
menuIcon: 'mr-2'
|
|
898
903
|
},
|
|
899
904
|
//FORMS
|
|
900
905
|
inputtext: {
|
|
@@ -1446,7 +1451,7 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1446
1451
|
},
|
|
1447
1452
|
mention: {
|
|
1448
1453
|
root: 'relative',
|
|
1449
|
-
panel: 'max-h-[200px] overflow-auto bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 border-0 rounded-md shadow-lg',
|
|
1454
|
+
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',
|
|
1450
1455
|
items: 'py-3 list-none m-0',
|
|
1451
1456
|
item: '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',
|
|
1452
1457
|
transition: TRANSITIONS.overlay
|
|
@@ -1590,6 +1595,12 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1590
1595
|
wrapper: {
|
|
1591
1596
|
className: classNames('max-h-[200px] overflow-auto', 'bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 border-0 rounded-md shadow-lg')
|
|
1592
1597
|
},
|
|
1598
|
+
header: {
|
|
1599
|
+
className: 'py-3 px-5 border-b border-inherit bg-gray-50 m-0 rounded-t-lg flex items-center justify-between'
|
|
1600
|
+
},
|
|
1601
|
+
closeButton: {
|
|
1602
|
+
className: 'w-8 h-8 border-none bg-transparent rounded-full flex items-center justify-center shrink-0 overflow-hidden relative ml-auto transition hover:border-transparent hover:bg-gray-200 text-gray-500'
|
|
1603
|
+
},
|
|
1593
1604
|
transition: TRANSITIONS.overlay
|
|
1594
1605
|
},
|
|
1595
1606
|
autocomplete: {
|
|
@@ -1869,6 +1880,14 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1869
1880
|
root: 'relative',
|
|
1870
1881
|
mask: 'bg-black/40'
|
|
1871
1882
|
},
|
|
1883
|
+
ripple: {
|
|
1884
|
+
root: {
|
|
1885
|
+
className: 'block absolute bg-white/50 rounded-full pointer-events-none',
|
|
1886
|
+
style: {
|
|
1887
|
+
transform: 'scale(0)'
|
|
1888
|
+
}
|
|
1889
|
+
}
|
|
1890
|
+
},
|
|
1872
1891
|
//MENU
|
|
1873
1892
|
breadcrumb: {
|
|
1874
1893
|
root: {
|
|
@@ -1979,6 +1998,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
1979
1998
|
action: {
|
|
1980
1999
|
className: classNames('text-gray-700 dark:text-white/80 py-3 px-5 select-none', 'cursor-pointer flex items-center no-underline overflow-hidden relative')
|
|
1981
2000
|
},
|
|
2001
|
+
menuitem: {
|
|
2002
|
+
className: classNames('hover:bg-gray-200')
|
|
2003
|
+
},
|
|
1982
2004
|
icon: 'text-gray-600 dark:text-white/70 mr-2',
|
|
1983
2005
|
submenuheader: {
|
|
1984
2006
|
className: classNames('m-0 p-3 text-gray-700 dark:text-white/80 bg-white dark:bg-gray-900 font-bold rounded-tl-none rounded-tr-none')
|
|
@@ -2055,12 +2077,22 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2055
2077
|
})
|
|
2056
2078
|
};
|
|
2057
2079
|
},
|
|
2058
|
-
menu: {
|
|
2059
|
-
className: classNames('m-0 sm:p-0 list-none relative', 'outline-none', 'flex items-center flex-wrap flex-row top-auto left-auto relative bg-transparent shadow-none w-auto')
|
|
2060
|
-
},
|
|
2061
|
-
menuitem: function menuitem(_ref103) {
|
|
2080
|
+
menu: function menu(_ref103) {
|
|
2062
2081
|
var props = _ref103.props,
|
|
2063
|
-
|
|
2082
|
+
state = _ref103.state;
|
|
2083
|
+
return {
|
|
2084
|
+
className: classNames('m-0 sm:p-0 list-none', 'outline-none', {
|
|
2085
|
+
hidden: props.orientation !== 'vertical' && !state.mobileActive
|
|
2086
|
+
}, {
|
|
2087
|
+
'md:flex items-center flex-wrap flex-row top-auto left-auto relative bg-transparent shadow-none w-auto': !state.mobileActive
|
|
2088
|
+
}, {
|
|
2089
|
+
'flex flex-col bg-white absolute w-full left-0 z-10 top-full': state.mobileActive
|
|
2090
|
+
})
|
|
2091
|
+
};
|
|
2092
|
+
},
|
|
2093
|
+
menuitem: function menuitem(_ref104) {
|
|
2094
|
+
var props = _ref104.props,
|
|
2095
|
+
context = _ref104.context;
|
|
2064
2096
|
return {
|
|
2065
2097
|
className: classNames('transition-shadow duration-200', {
|
|
2066
2098
|
'rounded-md': props.orientation == 'horizontal'
|
|
@@ -2076,6 +2108,16 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2076
2108
|
})
|
|
2077
2109
|
};
|
|
2078
2110
|
},
|
|
2111
|
+
menuButton: function menuButton(_ref105) {
|
|
2112
|
+
var props = _ref105.props;
|
|
2113
|
+
return {
|
|
2114
|
+
className: classNames({
|
|
2115
|
+
'flex md:hidden': props.orientation === 'horizontal'
|
|
2116
|
+
}, {
|
|
2117
|
+
hidden: props.orientation === 'vertical'
|
|
2118
|
+
}, 'no-underline w-8 h-8 items-center justify-center rounded-full transition hover:bg-gray-200 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)]')
|
|
2119
|
+
};
|
|
2120
|
+
},
|
|
2079
2121
|
headeraction: {
|
|
2080
2122
|
className: classNames('select-none', 'cursor-pointer flex items-center no-underline overflow-hidden relative', 'py-3 px-5 select-none')
|
|
2081
2123
|
},
|
|
@@ -2085,8 +2127,11 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2085
2127
|
icon: {
|
|
2086
2128
|
className: 'mr-2'
|
|
2087
2129
|
},
|
|
2088
|
-
|
|
2089
|
-
|
|
2130
|
+
submenuItem: {
|
|
2131
|
+
className: classNames('text-gray-700 hover:bg-gray-200')
|
|
2132
|
+
},
|
|
2133
|
+
submenuicon: function submenuicon(_ref106) {
|
|
2134
|
+
var props = _ref106.props;
|
|
2090
2135
|
return {
|
|
2091
2136
|
className: classNames({
|
|
2092
2137
|
'ml-2': props.orientation === 'horizontal',
|
|
@@ -2094,8 +2139,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2094
2139
|
})
|
|
2095
2140
|
};
|
|
2096
2141
|
},
|
|
2097
|
-
panel: function panel(
|
|
2098
|
-
var props =
|
|
2142
|
+
panel: function panel(_ref107) {
|
|
2143
|
+
var props = _ref107.props;
|
|
2099
2144
|
return {
|
|
2100
2145
|
className: classNames('py-1 bg-white dark:bg-gray-900 border-0 shadow-md w-auto', 'absolute z-10', {
|
|
2101
2146
|
'left-full top-0': props.orientation !== 'horizontal'
|
|
@@ -2115,13 +2160,10 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2115
2160
|
root: 'w-full md:w-[25rem]',
|
|
2116
2161
|
panel: 'mb-1',
|
|
2117
2162
|
header: {
|
|
2118
|
-
className: classNames('outline-none', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]' // Focus
|
|
2163
|
+
className: classNames('outline-none', 'focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]', 'border border-solid border-gray-300 dark:border-blue-900/40 text-gray-700 dark:text-white/80 bg-gray-100 dark:bg-gray-900 rounded-md transition-shadow duration-200', 'hover:bg-gray-200 dark:hover:bg-gray-800/80 hover:text-gray-700 dark:hover:text-white/80' // Focus
|
|
2119
2164
|
)
|
|
2120
2165
|
},
|
|
2121
2166
|
|
|
2122
|
-
headercontent: {
|
|
2123
|
-
className: classNames('border border-solid border-gray-300 dark:border-blue-900/40 text-gray-700 dark:text-white/80 bg-gray-100 dark:bg-gray-900 rounded-md transition-shadow duration-200', 'hover:bg-gray-200 dark:hover:bg-gray-800/80 hover:text-gray-700 dark:hover:text-white/80')
|
|
2124
|
-
},
|
|
2125
2167
|
headeraction: {
|
|
2126
2168
|
className: classNames('flex items-center select-none cursor-pointer relative no-underline', 'text-gray-700 dark:text-white/80 p-5 font-bold')
|
|
2127
2169
|
},
|
|
@@ -2131,19 +2173,19 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2131
2173
|
menu: {
|
|
2132
2174
|
className: classNames('outline-none', 'm-0 p-0 list-none')
|
|
2133
2175
|
},
|
|
2134
|
-
menuitem: function menuitem(
|
|
2135
|
-
var context =
|
|
2176
|
+
menuitem: function menuitem(_ref108) {
|
|
2177
|
+
var context = _ref108.context;
|
|
2136
2178
|
return {
|
|
2137
|
-
className: classNames('text-gray-700 dark:text-white/80 transition-shadow duration-200 border-none rounded-none',
|
|
2138
|
-
// Hover
|
|
2139
|
-
{
|
|
2179
|
+
className: classNames('text-gray-700 dark:text-white/80 transition-shadow duration-200 border-none rounded-none', {
|
|
2140
2180
|
'bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90': context.focused
|
|
2141
2181
|
})
|
|
2142
2182
|
};
|
|
2143
2183
|
},
|
|
2144
2184
|
action: {
|
|
2145
|
-
className: classNames('text-gray-700 dark:text-white/80 py-3 px-5 select-none', 'flex items-center cursor-pointer no-underline relative overflow-hidden'
|
|
2185
|
+
className: classNames('text-gray-700 dark:text-white/80 py-3 px-5 select-none', 'flex items-center cursor-pointer no-underline relative overflow-hidden', 'hover:bg-gray-200 dark:hover:bg-gray-800/80 hover:text-gray-700 dark:hover:text-white/80' // Hover
|
|
2186
|
+
)
|
|
2146
2187
|
},
|
|
2188
|
+
|
|
2147
2189
|
icon: 'mr-2',
|
|
2148
2190
|
submenu: 'p-0 pl-4 m-0 list-none',
|
|
2149
2191
|
transition: TRANSITIONS.toggleable
|
|
@@ -2170,9 +2212,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2170
2212
|
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')
|
|
2171
2213
|
},
|
|
2172
2214
|
menuitem: 'mr-0',
|
|
2173
|
-
action: function action(
|
|
2174
|
-
var context =
|
|
2175
|
-
state =
|
|
2215
|
+
action: function action(_ref109) {
|
|
2216
|
+
var context = _ref109.context,
|
|
2217
|
+
state = _ref109.state;
|
|
2176
2218
|
return {
|
|
2177
2219
|
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)]', {
|
|
2178
2220
|
'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,
|
|
@@ -2193,8 +2235,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2193
2235
|
},
|
|
2194
2236
|
content: 'relative overflow-x-hidden overflow-y-auto h-full',
|
|
2195
2237
|
menu: 'outline-none m-0 p-0 list-none absolute top-0 block',
|
|
2196
|
-
menuitem: function menuitem(
|
|
2197
|
-
var context =
|
|
2238
|
+
menuitem: function menuitem(_ref110) {
|
|
2239
|
+
var context = _ref110.context;
|
|
2198
2240
|
return {
|
|
2199
2241
|
className: classNames({
|
|
2200
2242
|
relative: !context.active,
|
|
@@ -2202,8 +2244,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2202
2244
|
})
|
|
2203
2245
|
};
|
|
2204
2246
|
},
|
|
2205
|
-
action: function action(
|
|
2206
|
-
var context =
|
|
2247
|
+
action: function action(_ref111) {
|
|
2248
|
+
var context = _ref111.context;
|
|
2207
2249
|
return {
|
|
2208
2250
|
className: classNames('py-3 px-5 select-none', 'flex items-center cursor-pointer no-underline relative overflow-hidden', {
|
|
2209
2251
|
'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,
|
|
@@ -2211,8 +2253,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2211
2253
|
})
|
|
2212
2254
|
};
|
|
2213
2255
|
},
|
|
2214
|
-
previous: function previous(
|
|
2215
|
-
var state =
|
|
2256
|
+
previous: function previous(_ref112) {
|
|
2257
|
+
var state = _ref112.state;
|
|
2216
2258
|
return {
|
|
2217
2259
|
className: classNames('py-3 px-5 cursor-pointer bottom-0 w-full text-gray-700 dark:text-white/80', {
|
|
2218
2260
|
hidden: state.level === 0
|
|
@@ -2235,8 +2277,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2235
2277
|
className: classNames('outline-none', 'm-0 p-0 list-none')
|
|
2236
2278
|
},
|
|
2237
2279
|
menuitem: 'relative',
|
|
2238
|
-
content: function content(
|
|
2239
|
-
var context =
|
|
2280
|
+
content: function content(_ref113) {
|
|
2281
|
+
var context = _ref113.context;
|
|
2240
2282
|
return {
|
|
2241
2283
|
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',
|
|
2242
2284
|
//Hover
|
|
@@ -2248,8 +2290,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2248
2290
|
})
|
|
2249
2291
|
};
|
|
2250
2292
|
},
|
|
2251
|
-
action: function action(
|
|
2252
|
-
var context =
|
|
2293
|
+
action: function action(_ref114) {
|
|
2294
|
+
var context = _ref114.context;
|
|
2253
2295
|
return {
|
|
2254
2296
|
className: classNames('py-3 px-5 select-none', 'flex items-center cursor-pointer no-underline relative overflow-hidden', {
|
|
2255
2297
|
'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,
|
|
@@ -2334,8 +2376,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2334
2376
|
className: classNames('flex items-center justify-center', 'p-4')
|
|
2335
2377
|
},
|
|
2336
2378
|
indicator: 'mr-2',
|
|
2337
|
-
indicatorbutton: function indicatorbutton(
|
|
2338
|
-
var context =
|
|
2379
|
+
indicatorbutton: function indicatorbutton(_ref115) {
|
|
2380
|
+
var context = _ref115.context;
|
|
2339
2381
|
return {
|
|
2340
2382
|
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)]', {
|
|
2341
2383
|
'bg-gray-200 hover:bg-gray-300 dark:bg-gray-700 dark:hover:bg-gray-600': !context.highlighted,
|
|
@@ -2343,8 +2385,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2343
2385
|
})
|
|
2344
2386
|
};
|
|
2345
2387
|
},
|
|
2346
|
-
mask: function mask(
|
|
2347
|
-
var state =
|
|
2388
|
+
mask: function mask(_ref116) {
|
|
2389
|
+
var state = _ref116.state;
|
|
2348
2390
|
return {
|
|
2349
2391
|
className: classNames({
|
|
2350
2392
|
'fixed top-0 left-0 w-full h-full flex items-center justify-center bg-black bg-opacity-90': state.visible
|
|
@@ -2377,8 +2419,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2377
2419
|
carousel: {
|
|
2378
2420
|
root: 'flex flex-col',
|
|
2379
2421
|
content: 'flex flex-col overflow-auto',
|
|
2380
|
-
container: function container(
|
|
2381
|
-
var props =
|
|
2422
|
+
container: function container(_ref117) {
|
|
2423
|
+
var props = _ref117.props;
|
|
2382
2424
|
return {
|
|
2383
2425
|
className: classNames('flex', {
|
|
2384
2426
|
'flex-row': props.orientation !== 'vertical',
|
|
@@ -2390,8 +2432,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2390
2432
|
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')
|
|
2391
2433
|
},
|
|
2392
2434
|
itemscontent: 'overflow-hidden w-full',
|
|
2393
|
-
itemscontainer: function itemscontainer(
|
|
2394
|
-
var props =
|
|
2435
|
+
itemscontainer: function itemscontainer(_ref118) {
|
|
2436
|
+
var props = _ref118.props;
|
|
2395
2437
|
return {
|
|
2396
2438
|
className: classNames('flex ', {
|
|
2397
2439
|
'flex-row': props.orientation !== 'vertical',
|
|
@@ -2399,8 +2441,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2399
2441
|
})
|
|
2400
2442
|
};
|
|
2401
2443
|
},
|
|
2402
|
-
item: function item(
|
|
2403
|
-
var props =
|
|
2444
|
+
item: function item(_ref119) {
|
|
2445
|
+
var props = _ref119.props;
|
|
2404
2446
|
return {
|
|
2405
2447
|
className: classNames('flex shrink-0 grow', {
|
|
2406
2448
|
'w-1/3': props.orientation !== 'vertical',
|
|
@@ -2412,8 +2454,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2412
2454
|
className: classNames('flex flex-row justify-center flex-wrap')
|
|
2413
2455
|
},
|
|
2414
2456
|
indicator: 'mr-2 mb-2',
|
|
2415
|
-
indicatorbutton: function indicatorbutton(
|
|
2416
|
-
var context =
|
|
2457
|
+
indicatorbutton: function indicatorbutton(_ref120) {
|
|
2458
|
+
var context = _ref120.context;
|
|
2417
2459
|
return {
|
|
2418
2460
|
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)]', {
|
|
2419
2461
|
'bg-blue-500 hover:bg-blue-600': context.active,
|
|
@@ -2423,15 +2465,21 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2423
2465
|
}
|
|
2424
2466
|
},
|
|
2425
2467
|
tree: {
|
|
2426
|
-
root: {
|
|
2427
|
-
|
|
2468
|
+
root: function root(_ref121) {
|
|
2469
|
+
var _props$__parentMetada;
|
|
2470
|
+
var props = _ref121.props;
|
|
2471
|
+
return {
|
|
2472
|
+
className: classNames('max-w-[30rem] md:w-full', 'bg-white dark:bg-gray-900 text-gray-700 dark:text-white/80 p-5', {
|
|
2473
|
+
'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'
|
|
2474
|
+
})
|
|
2475
|
+
};
|
|
2428
2476
|
},
|
|
2429
2477
|
wrapper: 'overflow-auto',
|
|
2430
2478
|
container: 'm-0 p-0 list-none overflow-auto',
|
|
2431
2479
|
node: 'p-1 outline-none',
|
|
2432
|
-
content: function content(
|
|
2433
|
-
var context =
|
|
2434
|
-
props =
|
|
2480
|
+
content: function content(_ref122) {
|
|
2481
|
+
var context = _ref122.context,
|
|
2482
|
+
props = _ref122.props;
|
|
2435
2483
|
return {
|
|
2436
2484
|
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)]', {
|
|
2437
2485
|
'bg-blue-50 text-blue-600': context.selected
|
|
@@ -2440,8 +2488,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2440
2488
|
})
|
|
2441
2489
|
};
|
|
2442
2490
|
},
|
|
2443
|
-
toggler: function toggler(
|
|
2444
|
-
var context =
|
|
2491
|
+
toggler: function toggler(_ref123) {
|
|
2492
|
+
var context = _ref123.context;
|
|
2445
2493
|
return {
|
|
2446
2494
|
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)]', {
|
|
2447
2495
|
'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,
|
|
@@ -2452,9 +2500,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2452
2500
|
};
|
|
2453
2501
|
},
|
|
2454
2502
|
checkboxcontainer: 'mr-2',
|
|
2455
|
-
checkbox: function checkbox(
|
|
2456
|
-
var context =
|
|
2457
|
-
props =
|
|
2503
|
+
checkbox: function checkbox(_ref124) {
|
|
2504
|
+
var context = _ref124.context,
|
|
2505
|
+
props = _ref124.props;
|
|
2458
2506
|
return {
|
|
2459
2507
|
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', {
|
|
2460
2508
|
'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900': !context.checked,
|
|
@@ -2479,8 +2527,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2479
2527
|
},
|
|
2480
2528
|
// DATA
|
|
2481
2529
|
timeline: {
|
|
2482
|
-
root: function root(
|
|
2483
|
-
var props =
|
|
2530
|
+
root: function root(_ref125) {
|
|
2531
|
+
var props = _ref125.props;
|
|
2484
2532
|
return {
|
|
2485
2533
|
className: classNames('flex grow', {
|
|
2486
2534
|
'flex-col': props.layout === 'vertical',
|
|
@@ -2488,9 +2536,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2488
2536
|
})
|
|
2489
2537
|
};
|
|
2490
2538
|
},
|
|
2491
|
-
event: function event(
|
|
2492
|
-
var props =
|
|
2493
|
-
context =
|
|
2539
|
+
event: function event(_ref126) {
|
|
2540
|
+
var props = _ref126.props,
|
|
2541
|
+
context = _ref126.context;
|
|
2494
2542
|
return {
|
|
2495
2543
|
className: classNames('flex relative min-h-[70px]', {
|
|
2496
2544
|
'flex-row-reverse': props.align === 'right' || props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 1,
|
|
@@ -2499,9 +2547,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2499
2547
|
})
|
|
2500
2548
|
};
|
|
2501
2549
|
},
|
|
2502
|
-
opposite: function opposite(
|
|
2503
|
-
var props =
|
|
2504
|
-
context =
|
|
2550
|
+
opposite: function opposite(_ref127) {
|
|
2551
|
+
var props = _ref127.props,
|
|
2552
|
+
context = _ref127.context;
|
|
2505
2553
|
return {
|
|
2506
2554
|
className: classNames('flex-1', {
|
|
2507
2555
|
'px-4': props.layout === 'vertical',
|
|
@@ -2512,8 +2560,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2512
2560
|
})
|
|
2513
2561
|
};
|
|
2514
2562
|
},
|
|
2515
|
-
separator: function separator(
|
|
2516
|
-
var props =
|
|
2563
|
+
separator: function separator(_ref128) {
|
|
2564
|
+
var props = _ref128.props;
|
|
2517
2565
|
return {
|
|
2518
2566
|
className: classNames('flex items-center flex-initial', {
|
|
2519
2567
|
'flex-col': props.layout === 'vertical',
|
|
@@ -2522,8 +2570,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2522
2570
|
};
|
|
2523
2571
|
},
|
|
2524
2572
|
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',
|
|
2525
|
-
connector: function connector(
|
|
2526
|
-
var props =
|
|
2573
|
+
connector: function connector(_ref129) {
|
|
2574
|
+
var props = _ref129.props;
|
|
2527
2575
|
return {
|
|
2528
2576
|
className: classNames('grow bg-gray-300 dark:bg-blue-900/40', {
|
|
2529
2577
|
'w-[2px]': props.layout === 'vertical',
|
|
@@ -2531,9 +2579,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2531
2579
|
})
|
|
2532
2580
|
};
|
|
2533
2581
|
},
|
|
2534
|
-
content: function content(
|
|
2535
|
-
var props =
|
|
2536
|
-
context =
|
|
2582
|
+
content: function content(_ref130) {
|
|
2583
|
+
var props = _ref130.props,
|
|
2584
|
+
context = _ref130.context;
|
|
2537
2585
|
return {
|
|
2538
2586
|
className: classNames('flex-1', {
|
|
2539
2587
|
'px-4': props.layout === 'vertical',
|
|
@@ -2558,24 +2606,24 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2558
2606
|
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'
|
|
2559
2607
|
},
|
|
2560
2608
|
dataviewlayoutoptions: {
|
|
2561
|
-
listbutton: function listbutton(
|
|
2562
|
-
var props =
|
|
2609
|
+
listbutton: function listbutton(_ref131) {
|
|
2610
|
+
var props = _ref131.props;
|
|
2563
2611
|
return {
|
|
2564
|
-
className: classNames('items-center cursor-pointer inline-flex overflow-hidden relative select-none text-center align-bottom justify-center border', 'transition duration-200', 'w-12 pt-3 pb-3 rounded-lg rounded-r-none', props.
|
|
2612
|
+
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
|
|
2565
2613
|
)
|
|
2566
2614
|
};
|
|
2567
2615
|
},
|
|
2568
2616
|
|
|
2569
|
-
gridbutton: function gridbutton(
|
|
2570
|
-
var props =
|
|
2617
|
+
gridbutton: function gridbutton(_ref132) {
|
|
2618
|
+
var props = _ref132.props;
|
|
2571
2619
|
return {
|
|
2572
|
-
className: classNames('items-center cursor-pointer inline-flex overflow-hidden relative select-none text-center align-bottom justify-center border', 'transition duration-200', 'w-12 pt-3 pb-3 rounded-lg rounded-l-none', props.
|
|
2620
|
+
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
|
|
2573
2621
|
)
|
|
2574
2622
|
};
|
|
2575
2623
|
}
|
|
2576
2624
|
},
|
|
2577
2625
|
|
|
2578
|
-
|
|
2626
|
+
datascroller: {
|
|
2579
2627
|
content: {
|
|
2580
2628
|
className: classNames('bg-white blue-gray-700 border-0 p-0', 'dark:bg-gray-900 dark:text-white/80' // Dark Mode
|
|
2581
2629
|
)
|
|
@@ -2598,8 +2646,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2598
2646
|
)
|
|
2599
2647
|
},
|
|
2600
2648
|
|
|
2601
|
-
lineleft: function lineleft(
|
|
2602
|
-
var context =
|
|
2649
|
+
lineleft: function lineleft(_ref133) {
|
|
2650
|
+
var context = _ref133.context;
|
|
2603
2651
|
return {
|
|
2604
2652
|
className: classNames('text-center align-top py-0 px-3 rounded-none border-r border-gray-300', 'dark:border-blue-900/40',
|
|
2605
2653
|
//Dark Mode
|
|
@@ -2608,8 +2656,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2608
2656
|
})
|
|
2609
2657
|
};
|
|
2610
2658
|
},
|
|
2611
|
-
lineright: function lineright(
|
|
2612
|
-
var context =
|
|
2659
|
+
lineright: function lineright(_ref134) {
|
|
2660
|
+
var context = _ref134.context;
|
|
2613
2661
|
return {
|
|
2614
2662
|
className: classNames('text-center align-top py-0 px-3 rounded-none', 'dark:border-blue-900/40',
|
|
2615
2663
|
//Dark Mode
|
|
@@ -2630,14 +2678,14 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2630
2678
|
root: 'flex',
|
|
2631
2679
|
controls: 'flex flex-col justify-center p-5',
|
|
2632
2680
|
moveupbutton: {
|
|
2633
|
-
root: function root(
|
|
2634
|
-
var context =
|
|
2681
|
+
root: function root(_ref135) {
|
|
2682
|
+
var context = _ref135.context;
|
|
2635
2683
|
return {
|
|
2636
2684
|
className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
|
|
2637
2685
|
// button component
|
|
2638
2686
|
'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
|
|
2639
2687
|
// icon only
|
|
2640
|
-
'mb-2',
|
|
2688
|
+
'mb-2 w-12',
|
|
2641
2689
|
// orderlist button
|
|
2642
2690
|
'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900',
|
|
2643
2691
|
//Dark Mode
|
|
@@ -2646,11 +2694,15 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2646
2694
|
})
|
|
2647
2695
|
};
|
|
2648
2696
|
},
|
|
2649
|
-
label:
|
|
2697
|
+
label: function label() {
|
|
2698
|
+
return {
|
|
2699
|
+
className: classNames('flex-initial w-0')
|
|
2700
|
+
};
|
|
2701
|
+
}
|
|
2650
2702
|
},
|
|
2651
2703
|
movetopbutton: {
|
|
2652
|
-
root: function root(
|
|
2653
|
-
var context =
|
|
2704
|
+
root: function root(_ref136) {
|
|
2705
|
+
var context = _ref136.context;
|
|
2654
2706
|
return {
|
|
2655
2707
|
className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
|
|
2656
2708
|
// button component
|
|
@@ -2665,11 +2717,15 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2665
2717
|
})
|
|
2666
2718
|
};
|
|
2667
2719
|
},
|
|
2668
|
-
label:
|
|
2720
|
+
label: function label() {
|
|
2721
|
+
return {
|
|
2722
|
+
className: classNames('flex-initial w-0')
|
|
2723
|
+
};
|
|
2724
|
+
}
|
|
2669
2725
|
},
|
|
2670
2726
|
movedownbutton: {
|
|
2671
|
-
root: function root(
|
|
2672
|
-
var context =
|
|
2727
|
+
root: function root(_ref137) {
|
|
2728
|
+
var context = _ref137.context;
|
|
2673
2729
|
return {
|
|
2674
2730
|
className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
|
|
2675
2731
|
// button component
|
|
@@ -2684,11 +2740,15 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2684
2740
|
})
|
|
2685
2741
|
};
|
|
2686
2742
|
},
|
|
2687
|
-
label:
|
|
2743
|
+
label: function label() {
|
|
2744
|
+
return {
|
|
2745
|
+
className: classNames('flex-initial w-0')
|
|
2746
|
+
};
|
|
2747
|
+
}
|
|
2688
2748
|
},
|
|
2689
2749
|
movebottombutton: {
|
|
2690
|
-
root: function root(
|
|
2691
|
-
var context =
|
|
2750
|
+
root: function root(_ref138) {
|
|
2751
|
+
var context = _ref138.context;
|
|
2692
2752
|
return {
|
|
2693
2753
|
className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
|
|
2694
2754
|
// button component
|
|
@@ -2703,7 +2763,11 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2703
2763
|
})
|
|
2704
2764
|
};
|
|
2705
2765
|
},
|
|
2706
|
-
label:
|
|
2766
|
+
label: function label() {
|
|
2767
|
+
return {
|
|
2768
|
+
className: classNames('flex-initial w-0')
|
|
2769
|
+
};
|
|
2770
|
+
}
|
|
2707
2771
|
},
|
|
2708
2772
|
container: 'flex-auto',
|
|
2709
2773
|
header: {
|
|
@@ -2716,8 +2780,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2716
2780
|
)
|
|
2717
2781
|
},
|
|
2718
2782
|
|
|
2719
|
-
item: function item(
|
|
2720
|
-
var context =
|
|
2783
|
+
item: function item(_ref139) {
|
|
2784
|
+
var context = _ref139.context;
|
|
2721
2785
|
return {
|
|
2722
2786
|
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', {
|
|
2723
2787
|
'text-blue-700 bg-blue-500/20 dark:bg-blue-300/20': context.selected
|
|
@@ -2727,8 +2791,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2727
2791
|
},
|
|
2728
2792
|
picklist: {
|
|
2729
2793
|
root: 'flex',
|
|
2730
|
-
|
|
2731
|
-
|
|
2794
|
+
controls: 'flex flex-col justify-center p-5',
|
|
2795
|
+
moveUpButton: {
|
|
2732
2796
|
root: {
|
|
2733
2797
|
className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
|
|
2734
2798
|
// button component
|
|
@@ -2742,7 +2806,7 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2742
2806
|
|
|
2743
2807
|
label: 'flex-initial w-0'
|
|
2744
2808
|
},
|
|
2745
|
-
|
|
2809
|
+
moveTopButton: {
|
|
2746
2810
|
root: {
|
|
2747
2811
|
className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
|
|
2748
2812
|
// button component
|
|
@@ -2756,7 +2820,7 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2756
2820
|
|
|
2757
2821
|
label: 'flex-initial w-0'
|
|
2758
2822
|
},
|
|
2759
|
-
|
|
2823
|
+
moveDownButton: {
|
|
2760
2824
|
root: {
|
|
2761
2825
|
className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
|
|
2762
2826
|
// button component
|
|
@@ -2770,7 +2834,7 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2770
2834
|
|
|
2771
2835
|
label: 'flex-initial w-0'
|
|
2772
2836
|
},
|
|
2773
|
-
|
|
2837
|
+
moveBottomButton: {
|
|
2774
2838
|
root: {
|
|
2775
2839
|
className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
|
|
2776
2840
|
// button component
|
|
@@ -2784,23 +2848,23 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2784
2848
|
|
|
2785
2849
|
label: 'flex-initial w-0'
|
|
2786
2850
|
},
|
|
2787
|
-
|
|
2788
|
-
|
|
2851
|
+
listWrapper: 'grow shrink basis-2/4',
|
|
2852
|
+
header: {
|
|
2789
2853
|
className: classNames('bg-slate-50 text-slate-700 border border-gray-300 p-5 font-bold border-b-0 rounded-t-md', 'dark:bg-gray-900 dark:text-white/80 dark:border-blue-900/40' //Dark Mode
|
|
2790
2854
|
)
|
|
2791
2855
|
},
|
|
2792
2856
|
|
|
2793
|
-
|
|
2857
|
+
list: {
|
|
2794
2858
|
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
|
|
2795
2859
|
)
|
|
2796
2860
|
},
|
|
2797
2861
|
|
|
2798
|
-
item: function item(
|
|
2799
|
-
var context =
|
|
2862
|
+
item: function item(_ref140) {
|
|
2863
|
+
var context = _ref140.context;
|
|
2800
2864
|
return {
|
|
2801
2865
|
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', {
|
|
2802
2866
|
'text-blue-700 bg-blue-500/20 dark:bg-blue-300/20': context.selected,
|
|
2803
|
-
'text-gray-600
|
|
2867
|
+
'text-gray-600 dark:bg-blue-900/40': !context.selected
|
|
2804
2868
|
})
|
|
2805
2869
|
};
|
|
2806
2870
|
},
|
|
@@ -2862,62 +2926,6 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2862
2926
|
label: 'flex-initial w-0'
|
|
2863
2927
|
},
|
|
2864
2928
|
targetcontrols: 'flex flex-col justify-center p-5',
|
|
2865
|
-
targetmoveupbutton: {
|
|
2866
|
-
root: {
|
|
2867
|
-
className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
|
|
2868
|
-
// button component
|
|
2869
|
-
'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
|
|
2870
|
-
// icon only
|
|
2871
|
-
'mb-2',
|
|
2872
|
-
// orderlist button
|
|
2873
|
-
'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900' //Dark Mode
|
|
2874
|
-
)
|
|
2875
|
-
},
|
|
2876
|
-
|
|
2877
|
-
label: 'flex-initial w-0'
|
|
2878
|
-
},
|
|
2879
|
-
targetmovetopbutton: {
|
|
2880
|
-
root: {
|
|
2881
|
-
className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
|
|
2882
|
-
// button component
|
|
2883
|
-
'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
|
|
2884
|
-
// icon only
|
|
2885
|
-
'mb-2',
|
|
2886
|
-
// orderlist button
|
|
2887
|
-
'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900' //Dark Mode
|
|
2888
|
-
)
|
|
2889
|
-
},
|
|
2890
|
-
|
|
2891
|
-
label: 'flex-initial w-0'
|
|
2892
|
-
},
|
|
2893
|
-
targetmovedownbutton: {
|
|
2894
|
-
root: {
|
|
2895
|
-
className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
|
|
2896
|
-
// button component
|
|
2897
|
-
'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
|
|
2898
|
-
// icon only
|
|
2899
|
-
'mb-2',
|
|
2900
|
-
// orderlist button
|
|
2901
|
-
'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900' //Dark Mode
|
|
2902
|
-
)
|
|
2903
|
-
},
|
|
2904
|
-
|
|
2905
|
-
label: 'flex-initial w-0'
|
|
2906
|
-
},
|
|
2907
|
-
targetmovebottombutton: {
|
|
2908
|
-
root: {
|
|
2909
|
-
className: classNames('relative inline-flex cursor-pointer user-select-none items-center align-bottom text-center overflow-hidden m-0',
|
|
2910
|
-
// button component
|
|
2911
|
-
'text-white bg-blue-500 border border-blue-500 rounded-md', 'transition duration-200 ease-in-out', 'justify-center px-0 py-3',
|
|
2912
|
-
// icon only
|
|
2913
|
-
'mb-2',
|
|
2914
|
-
// orderlist button
|
|
2915
|
-
'dark:bg-sky-300 dark:border-sky-300 dark:text-gray-900' //Dark Mode
|
|
2916
|
-
)
|
|
2917
|
-
},
|
|
2918
|
-
|
|
2919
|
-
label: 'flex-initial w-0'
|
|
2920
|
-
},
|
|
2921
2929
|
targetwrapper: 'grow shrink basis-2/4',
|
|
2922
2930
|
targetheader: {
|
|
2923
2931
|
className: classNames('bg-slate-50 text-slate-700 border border-gray-300 p-5 font-bold border-b-0 rounded-t-md', 'dark:bg-gray-900 dark:text-white/80 dark:border-blue-900/40' //Dark Mode
|
|
@@ -2945,8 +2953,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2945
2953
|
)
|
|
2946
2954
|
},
|
|
2947
2955
|
|
|
2948
|
-
firstpagebutton: function firstpagebutton(
|
|
2949
|
-
var context =
|
|
2956
|
+
firstpagebutton: function firstpagebutton(_ref141) {
|
|
2957
|
+
var context = _ref141.context;
|
|
2950
2958
|
return {
|
|
2951
2959
|
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',
|
|
2952
2960
|
//Dark Mode
|
|
@@ -2957,8 +2965,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2957
2965
|
};
|
|
2958
2966
|
},
|
|
2959
2967
|
|
|
2960
|
-
previouspagebutton: function previouspagebutton(
|
|
2961
|
-
var context =
|
|
2968
|
+
previouspagebutton: function previouspagebutton(_ref142) {
|
|
2969
|
+
var context = _ref142.context;
|
|
2962
2970
|
return {
|
|
2963
2971
|
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',
|
|
2964
2972
|
//Dark Mode
|
|
@@ -2969,8 +2977,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2969
2977
|
};
|
|
2970
2978
|
},
|
|
2971
2979
|
|
|
2972
|
-
nextpagebutton: function nextpagebutton(
|
|
2973
|
-
var context =
|
|
2980
|
+
nextpagebutton: function nextpagebutton(_ref143) {
|
|
2981
|
+
var context = _ref143.context;
|
|
2974
2982
|
return {
|
|
2975
2983
|
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',
|
|
2976
2984
|
//Dark Mode
|
|
@@ -2981,8 +2989,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2981
2989
|
};
|
|
2982
2990
|
},
|
|
2983
2991
|
|
|
2984
|
-
lastpagebutton: function lastpagebutton(
|
|
2985
|
-
var context =
|
|
2992
|
+
lastpagebutton: function lastpagebutton(_ref144) {
|
|
2993
|
+
var context = _ref144.context;
|
|
2986
2994
|
return {
|
|
2987
2995
|
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',
|
|
2988
2996
|
//Dark Mode
|
|
@@ -2993,8 +3001,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
2993
3001
|
};
|
|
2994
3002
|
},
|
|
2995
3003
|
|
|
2996
|
-
pagebutton: function pagebutton(
|
|
2997
|
-
var context =
|
|
3004
|
+
pagebutton: function pagebutton(_ref145) {
|
|
3005
|
+
var context = _ref145.context;
|
|
2998
3006
|
return {
|
|
2999
3007
|
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',
|
|
3000
3008
|
// Dark Mode
|
|
@@ -3006,9 +3014,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3006
3014
|
};
|
|
3007
3015
|
},
|
|
3008
3016
|
rowperpagedropdown: {
|
|
3009
|
-
root: function root(
|
|
3010
|
-
var props =
|
|
3011
|
-
state =
|
|
3017
|
+
root: function root(_ref146) {
|
|
3018
|
+
var props = _ref146.props,
|
|
3019
|
+
state = _ref146.state;
|
|
3012
3020
|
return {
|
|
3013
3021
|
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',
|
|
3014
3022
|
//DarkMode
|
|
@@ -3036,8 +3044,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3036
3044
|
|
|
3037
3045
|
wrapper: 'overflow-auto',
|
|
3038
3046
|
list: 'm-0 p-0 py-3 list-none',
|
|
3039
|
-
item: function item(
|
|
3040
|
-
var context =
|
|
3047
|
+
item: function item(_ref147) {
|
|
3048
|
+
var context = _ref147.context;
|
|
3041
3049
|
return {
|
|
3042
3050
|
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',
|
|
3043
3051
|
// Dark Mode
|
|
@@ -3058,9 +3066,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3058
3066
|
}
|
|
3059
3067
|
},
|
|
3060
3068
|
jumptopagedropdown: {
|
|
3061
|
-
root: function root(
|
|
3062
|
-
var props =
|
|
3063
|
-
state =
|
|
3069
|
+
root: function root(_ref148) {
|
|
3070
|
+
var props = _ref148.props,
|
|
3071
|
+
state = _ref148.state;
|
|
3064
3072
|
return {
|
|
3065
3073
|
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',
|
|
3066
3074
|
//DarkMode
|
|
@@ -3088,8 +3096,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3088
3096
|
|
|
3089
3097
|
wrapper: 'overflow-auto',
|
|
3090
3098
|
list: 'm-0 p-0 py-3 list-none',
|
|
3091
|
-
item: function item(
|
|
3092
|
-
var context =
|
|
3099
|
+
item: function item(_ref149) {
|
|
3100
|
+
var context = _ref149.context;
|
|
3093
3101
|
return {
|
|
3094
3102
|
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',
|
|
3095
3103
|
// Dark Mode
|
|
@@ -3103,8 +3111,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3103
3111
|
}
|
|
3104
3112
|
},
|
|
3105
3113
|
treetable: {
|
|
3106
|
-
root: function root(
|
|
3107
|
-
var props =
|
|
3114
|
+
root: function root(_ref150) {
|
|
3115
|
+
var props = _ref150.props;
|
|
3108
3116
|
return {
|
|
3109
3117
|
className: classNames('relative', {
|
|
3110
3118
|
'flex flex-col h-full': props.scrollHeight
|
|
@@ -3122,8 +3130,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3122
3130
|
)
|
|
3123
3131
|
},
|
|
3124
3132
|
|
|
3125
|
-
scrollablewrapper: function scrollablewrapper(
|
|
3126
|
-
var props =
|
|
3133
|
+
scrollablewrapper: function scrollablewrapper(_ref151) {
|
|
3134
|
+
var props = _ref151.props;
|
|
3127
3135
|
return {
|
|
3128
3136
|
className: classNames({
|
|
3129
3137
|
'relative overflow-auto': props.scrollable,
|
|
@@ -3131,8 +3139,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3131
3139
|
})
|
|
3132
3140
|
};
|
|
3133
3141
|
},
|
|
3134
|
-
wrapper: function wrapper(
|
|
3135
|
-
var props =
|
|
3142
|
+
wrapper: function wrapper(_ref152) {
|
|
3143
|
+
var props = _ref152.props;
|
|
3136
3144
|
return {
|
|
3137
3145
|
className: classNames({
|
|
3138
3146
|
'relative overflow-auto': props.scrollable,
|
|
@@ -3146,40 +3154,40 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3146
3154
|
},
|
|
3147
3155
|
|
|
3148
3156
|
table: 'border-collapse table-fixed w-full',
|
|
3149
|
-
thead: function thead(
|
|
3150
|
-
var props =
|
|
3157
|
+
thead: function thead(_ref153) {
|
|
3158
|
+
var props = _ref153.props;
|
|
3151
3159
|
return {
|
|
3152
3160
|
className: classNames({
|
|
3153
3161
|
'block sticky top-0 z-[1]': props.scrollable
|
|
3154
3162
|
})
|
|
3155
3163
|
};
|
|
3156
3164
|
},
|
|
3157
|
-
tbody: function tbody(
|
|
3158
|
-
var props =
|
|
3165
|
+
tbody: function tbody(_ref154) {
|
|
3166
|
+
var props = _ref154.props;
|
|
3159
3167
|
return {
|
|
3160
3168
|
className: classNames({
|
|
3161
3169
|
block: props.scrollable
|
|
3162
3170
|
})
|
|
3163
3171
|
};
|
|
3164
3172
|
},
|
|
3165
|
-
tfoot: function tfoot(
|
|
3166
|
-
var props =
|
|
3173
|
+
tfoot: function tfoot(_ref155) {
|
|
3174
|
+
var props = _ref155.props;
|
|
3167
3175
|
return {
|
|
3168
3176
|
className: classNames({
|
|
3169
3177
|
block: props.scrollable
|
|
3170
3178
|
})
|
|
3171
3179
|
};
|
|
3172
3180
|
},
|
|
3173
|
-
headerrow: function headerrow(
|
|
3174
|
-
var props =
|
|
3181
|
+
headerrow: function headerrow(_ref156) {
|
|
3182
|
+
var props = _ref156.props;
|
|
3175
3183
|
return {
|
|
3176
3184
|
className: classNames({
|
|
3177
3185
|
'flex flex-nowrap w-full': props.scrollable
|
|
3178
3186
|
})
|
|
3179
3187
|
};
|
|
3180
3188
|
},
|
|
3181
|
-
row: function row(
|
|
3182
|
-
var context =
|
|
3189
|
+
row: function row(_ref157) {
|
|
3190
|
+
var context = _ref157.context;
|
|
3183
3191
|
return {
|
|
3184
3192
|
className: classNames('transition duration-200', 'focus:outline focus:outline-[0.15rem] focus:outline-blue-200 focus:outline-offset-[-0.15rem]',
|
|
3185
3193
|
// Focus
|
|
@@ -3191,8 +3199,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3191
3199
|
};
|
|
3192
3200
|
},
|
|
3193
3201
|
column: {
|
|
3194
|
-
headercell: function headercell(
|
|
3195
|
-
var context =
|
|
3202
|
+
headercell: function headercell(_ref158) {
|
|
3203
|
+
var context = _ref158.context;
|
|
3196
3204
|
return {
|
|
3197
3205
|
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',
|
|
3198
3206
|
//Dark Mode
|
|
@@ -3207,8 +3215,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3207
3215
|
})
|
|
3208
3216
|
};
|
|
3209
3217
|
},
|
|
3210
|
-
bodycell: function bodycell(
|
|
3211
|
-
var context =
|
|
3218
|
+
bodycell: function bodycell(_ref159) {
|
|
3219
|
+
var context = _ref159.context;
|
|
3212
3220
|
return {
|
|
3213
3221
|
className: classNames('text-left border-gray-300 border', 'transition duration-200 p-4', 'dark:border-blue-900/40',
|
|
3214
3222
|
//Dark Mode
|
|
@@ -3221,8 +3229,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3221
3229
|
})
|
|
3222
3230
|
};
|
|
3223
3231
|
},
|
|
3224
|
-
rowtoggler: function rowtoggler(
|
|
3225
|
-
var context =
|
|
3232
|
+
rowtoggler: function rowtoggler(_ref160) {
|
|
3233
|
+
var context = _ref160.context;
|
|
3226
3234
|
return {
|
|
3227
3235
|
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', {
|
|
3228
3236
|
'text-blue-700': context.selected,
|
|
@@ -3235,10 +3243,10 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3235
3243
|
sort: {
|
|
3236
3244
|
className: 'inline-block align-middle'
|
|
3237
3245
|
},
|
|
3238
|
-
sorticon: function sorticon(
|
|
3239
|
-
var context =
|
|
3246
|
+
sorticon: function sorticon(_ref161) {
|
|
3247
|
+
var context = _ref161.context;
|
|
3240
3248
|
return {
|
|
3241
|
-
className: classNames('ml-2', {
|
|
3249
|
+
className: classNames('ml-2 inline-block align-middle', {
|
|
3242
3250
|
'text-blue-700 dark:text-white/80': context.sorted,
|
|
3243
3251
|
'text-slate-700 dark:text-white/70': !context.sorted
|
|
3244
3252
|
})
|
|
@@ -3253,8 +3261,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3253
3261
|
checkboxwrapper: {
|
|
3254
3262
|
className: classNames('cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6 mr-2')
|
|
3255
3263
|
},
|
|
3256
|
-
checkbox: function checkbox(
|
|
3257
|
-
var context =
|
|
3264
|
+
checkbox: function checkbox(_ref162) {
|
|
3265
|
+
var context = _ref162.context;
|
|
3258
3266
|
return {
|
|
3259
3267
|
className: classNames('flex items-center justify-center', 'border-2 w-6 h-6 text-gray-600 rounded-lg transition-colors duration-200', {
|
|
3260
3268
|
'border-blue-500 bg-blue-500 dark:border-blue-400 dark:bg-blue-400': context.checked,
|
|
@@ -3264,8 +3272,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3264
3272
|
})
|
|
3265
3273
|
};
|
|
3266
3274
|
},
|
|
3267
|
-
checkboxicon: function checkboxicon(
|
|
3268
|
-
var context =
|
|
3275
|
+
checkboxicon: function checkboxicon(_ref163) {
|
|
3276
|
+
var context = _ref163.context;
|
|
3269
3277
|
return {
|
|
3270
3278
|
className: classNames('w-4 h-4 transition-all duration-200 text-base dark:text-gray-900', {
|
|
3271
3279
|
'text-white': context.checked
|
|
@@ -3276,8 +3284,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3276
3284
|
resizehelper: 'absolute hidden w-px z-10 bg-blue-500 dark:bg-blue-300'
|
|
3277
3285
|
},
|
|
3278
3286
|
datatable: {
|
|
3279
|
-
root: function root(
|
|
3280
|
-
var props =
|
|
3287
|
+
root: function root(_ref164) {
|
|
3288
|
+
var props = _ref164.props;
|
|
3281
3289
|
return {
|
|
3282
3290
|
className: classNames('relative', {
|
|
3283
3291
|
'flex flex-col h-full': props.scrollable && props.scrollHeight === 'flex'
|
|
@@ -3290,8 +3298,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3290
3298
|
},
|
|
3291
3299
|
|
|
3292
3300
|
loadingicon: 'w-8 h-8',
|
|
3293
|
-
wrapper: function wrapper(
|
|
3294
|
-
var props =
|
|
3301
|
+
wrapper: function wrapper(_ref165) {
|
|
3302
|
+
var props = _ref165.props;
|
|
3295
3303
|
return {
|
|
3296
3304
|
className: classNames({
|
|
3297
3305
|
relative: props.scrollable,
|
|
@@ -3299,8 +3307,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3299
3307
|
})
|
|
3300
3308
|
};
|
|
3301
3309
|
},
|
|
3302
|
-
header: function header(
|
|
3303
|
-
var props =
|
|
3310
|
+
header: function header(_ref166) {
|
|
3311
|
+
var props = _ref166.props;
|
|
3304
3312
|
return {
|
|
3305
3313
|
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',
|
|
3306
3314
|
// Dark Mode
|
|
@@ -3308,25 +3316,25 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3308
3316
|
};
|
|
3309
3317
|
},
|
|
3310
3318
|
table: 'w-full border-spacing-0',
|
|
3311
|
-
thead: function thead(
|
|
3312
|
-
var context =
|
|
3319
|
+
thead: function thead(_ref167) {
|
|
3320
|
+
var context = _ref167.context;
|
|
3313
3321
|
return {
|
|
3314
3322
|
className: classNames({
|
|
3315
3323
|
'bg-slate-50 top-0 z-[1]': context.scrollable
|
|
3316
3324
|
})
|
|
3317
3325
|
};
|
|
3318
3326
|
},
|
|
3319
|
-
tbody: function tbody(
|
|
3320
|
-
var props =
|
|
3321
|
-
context =
|
|
3327
|
+
tbody: function tbody(_ref168) {
|
|
3328
|
+
var props = _ref168.props,
|
|
3329
|
+
context = _ref168.context;
|
|
3322
3330
|
return {
|
|
3323
3331
|
className: classNames({
|
|
3324
3332
|
'sticky z-[1]': props.frozenRow && context.scrollable
|
|
3325
3333
|
})
|
|
3326
3334
|
};
|
|
3327
3335
|
},
|
|
3328
|
-
tfoot: function tfoot(
|
|
3329
|
-
var context =
|
|
3336
|
+
tfoot: function tfoot(_ref169) {
|
|
3337
|
+
var context = _ref169.context;
|
|
3330
3338
|
return {
|
|
3331
3339
|
className: classNames({
|
|
3332
3340
|
'bg-slate-50 bottom-0 z-[1]': context.scrollable
|
|
@@ -3339,9 +3347,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3339
3347
|
},
|
|
3340
3348
|
|
|
3341
3349
|
column: {
|
|
3342
|
-
headercell: function headercell(
|
|
3343
|
-
var context =
|
|
3344
|
-
props =
|
|
3350
|
+
headercell: function headercell(_ref170) {
|
|
3351
|
+
var context = _ref170.context,
|
|
3352
|
+
props = _ref170.props;
|
|
3345
3353
|
return {
|
|
3346
3354
|
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',
|
|
3347
3355
|
// Size
|
|
@@ -3359,9 +3367,9 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3359
3367
|
},
|
|
3360
3368
|
|
|
3361
3369
|
headercontent: 'flex items-center',
|
|
3362
|
-
bodycell: function bodycell(
|
|
3363
|
-
var props =
|
|
3364
|
-
context =
|
|
3370
|
+
bodycell: function bodycell(_ref171) {
|
|
3371
|
+
var props = _ref171.props,
|
|
3372
|
+
context = _ref171.context;
|
|
3365
3373
|
return {
|
|
3366
3374
|
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',
|
|
3367
3375
|
// Size
|
|
@@ -3374,8 +3382,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3374
3382
|
})
|
|
3375
3383
|
};
|
|
3376
3384
|
},
|
|
3377
|
-
footercell: function footercell(
|
|
3378
|
-
var context =
|
|
3385
|
+
footercell: function footercell(_ref172) {
|
|
3386
|
+
var context = _ref172.context;
|
|
3379
3387
|
return {
|
|
3380
3388
|
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',
|
|
3381
3389
|
// Size
|
|
@@ -3386,8 +3394,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3386
3394
|
})
|
|
3387
3395
|
};
|
|
3388
3396
|
},
|
|
3389
|
-
sorticon: function sorticon(
|
|
3390
|
-
var context =
|
|
3397
|
+
sorticon: function sorticon(_ref173) {
|
|
3398
|
+
var context = _ref173.context;
|
|
3391
3399
|
return {
|
|
3392
3400
|
className: classNames('ml-2', context.sorted ? 'text-blue-700 dark:text-white/80' : 'text-slate-700 dark:text-white/70')
|
|
3393
3401
|
};
|
|
@@ -3407,8 +3415,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3407
3415
|
root: 'min-[0px]:flex mb-2'
|
|
3408
3416
|
},
|
|
3409
3417
|
filterrowitems: 'm-0 p-0 py-3 list-none ',
|
|
3410
|
-
filterrowitem: function filterrowitem(
|
|
3411
|
-
var context =
|
|
3418
|
+
filterrowitem: function filterrowitem(_ref174) {
|
|
3419
|
+
var context = _ref174.context;
|
|
3412
3420
|
return {
|
|
3413
3421
|
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')
|
|
3414
3422
|
};
|
|
@@ -3439,8 +3447,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3439
3447
|
filterapplybutton: {
|
|
3440
3448
|
root: 'w-auto min-[0px]:text-sm px-4 py-3'
|
|
3441
3449
|
},
|
|
3442
|
-
filtermenubutton: function filtermenubutton(
|
|
3443
|
-
var context =
|
|
3450
|
+
filtermenubutton: function filtermenubutton(_ref175) {
|
|
3451
|
+
var context = _ref175.context;
|
|
3444
3452
|
return {
|
|
3445
3453
|
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',
|
|
3446
3454
|
// Hover
|
|
@@ -3453,8 +3461,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3453
3461
|
})
|
|
3454
3462
|
};
|
|
3455
3463
|
},
|
|
3456
|
-
headerfilterclearbutton: function headerfilterclearbutton(
|
|
3457
|
-
var context =
|
|
3464
|
+
headerfilterclearbutton: function headerfilterclearbutton(_ref176) {
|
|
3465
|
+
var context = _ref176.context;
|
|
3458
3466
|
return {
|
|
3459
3467
|
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', {
|
|
3460
3468
|
invisible: !context.hidden
|
|
@@ -3493,8 +3501,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3493
3501
|
radiobuttonwrapper: {
|
|
3494
3502
|
className: classNames('relative inline-flex cursor-pointer select-none align-bottom', 'w-6 h-6')
|
|
3495
3503
|
},
|
|
3496
|
-
radiobutton: function radiobutton(
|
|
3497
|
-
var context =
|
|
3504
|
+
radiobutton: function radiobutton(_ref177) {
|
|
3505
|
+
var context = _ref177.context;
|
|
3498
3506
|
return {
|
|
3499
3507
|
className: classNames('flex justify-center items-center', 'border-2 w-6 h-6 text-gray-700 rounded-full transition duration-200 ease-in-out', context.checked ? 'border-blue-500 bg-blue-500 dark:border-blue-400 dark:bg-blue-400' : 'border-gray-300 bg-white dark:border-blue-900/40 dark:bg-gray-900', {
|
|
3500
3508
|
'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,
|
|
@@ -3502,8 +3510,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3502
3510
|
})
|
|
3503
3511
|
};
|
|
3504
3512
|
},
|
|
3505
|
-
radiobuttonicon: function radiobuttonicon(
|
|
3506
|
-
var context =
|
|
3513
|
+
radiobuttonicon: function radiobuttonicon(_ref178) {
|
|
3514
|
+
var context = _ref178.context;
|
|
3507
3515
|
return {
|
|
3508
3516
|
className: classNames('transform rounded-full', 'block w-3 h-3 transition duration-200 bg-white dark:bg-gray-900', {
|
|
3509
3517
|
'backface-hidden scale-10 invisible': context.checked === false,
|
|
@@ -3514,8 +3522,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3514
3522
|
headercheckboxwrapper: {
|
|
3515
3523
|
className: classNames('cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6')
|
|
3516
3524
|
},
|
|
3517
|
-
headercheckbox: function headercheckbox(
|
|
3518
|
-
var context =
|
|
3525
|
+
headercheckbox: function headercheckbox(_ref179) {
|
|
3526
|
+
var context = _ref179.context;
|
|
3519
3527
|
return {
|
|
3520
3528
|
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', {
|
|
3521
3529
|
'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,
|
|
@@ -3527,8 +3535,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3527
3535
|
checkboxwrapper: {
|
|
3528
3536
|
className: classNames('cursor-pointer inline-flex relative select-none align-bottom', 'w-6 h-6')
|
|
3529
3537
|
},
|
|
3530
|
-
checkbox: function checkbox(
|
|
3531
|
-
var context =
|
|
3538
|
+
checkbox: function checkbox(_ref180) {
|
|
3539
|
+
var context = _ref180.context;
|
|
3532
3540
|
return {
|
|
3533
3541
|
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', {
|
|
3534
3542
|
'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,
|
|
@@ -3539,8 +3547,8 @@ this.passthrough.tailwind = (function (exports) {
|
|
|
3539
3547
|
checkboxicon: 'w-4 h-4 transition-all duration-200 text-white text-base dark:text-gray-900',
|
|
3540
3548
|
transition: TRANSITIONS.overlay
|
|
3541
3549
|
},
|
|
3542
|
-
bodyrow: function bodyrow(
|
|
3543
|
-
var context =
|
|
3550
|
+
bodyrow: function bodyrow(_ref181) {
|
|
3551
|
+
var context = _ref181.context;
|
|
3544
3552
|
return {
|
|
3545
3553
|
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]',
|
|
3546
3554
|
// Focus
|