@ix_waterford/lib 1.0.19 → 1.0.21
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/dist/components.js +20 -21
- package/dist/components.js.map +1 -1
- package/dist/index.js +20 -21
- package/dist/index.js.map +1 -1
- package/dist/types/components/table/dndWrapper.d.ts.map +1 -1
- package/dist/types/components/table/types.d.ts +3 -3
- package/dist/types/components/table/types.d.ts.map +1 -1
- package/dist/types/components/tabs/style.d.ts +3 -0
- package/dist/types/components/tabs/style.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -170,7 +170,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
170
170
|
if(true) {
|
|
171
171
|
(function() {
|
|
172
172
|
var localsJsonString = undefined;
|
|
173
|
-
//
|
|
173
|
+
// 1766557659287
|
|
174
174
|
var cssReload = (__webpack_require__("./node_modules/@rspack/core/dist/cssExtractHmr.js")/* .cssReload */.cssReload)(module.id, {});
|
|
175
175
|
// only invalidate when locals change
|
|
176
176
|
if (
|
|
@@ -198,7 +198,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
198
198
|
if(true) {
|
|
199
199
|
(function() {
|
|
200
200
|
var localsJsonString = undefined;
|
|
201
|
-
//
|
|
201
|
+
// 1766557659287
|
|
202
202
|
var cssReload = (__webpack_require__("./node_modules/@rspack/core/dist/cssExtractHmr.js")/* .cssReload */.cssReload)(module.id, {});
|
|
203
203
|
// only invalidate when locals change
|
|
204
204
|
if (
|
|
@@ -226,7 +226,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
226
226
|
if(true) {
|
|
227
227
|
(function() {
|
|
228
228
|
var localsJsonString = undefined;
|
|
229
|
-
//
|
|
229
|
+
// 1766557659288
|
|
230
230
|
var cssReload = (__webpack_require__("./node_modules/@rspack/core/dist/cssExtractHmr.js")/* .cssReload */.cssReload)(module.id, {});
|
|
231
231
|
// only invalidate when locals change
|
|
232
232
|
if (
|
|
@@ -254,7 +254,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
254
254
|
if(true) {
|
|
255
255
|
(function() {
|
|
256
256
|
var localsJsonString = undefined;
|
|
257
|
-
//
|
|
257
|
+
// 1766557659288
|
|
258
258
|
var cssReload = (__webpack_require__("./node_modules/@rspack/core/dist/cssExtractHmr.js")/* .cssReload */.cssReload)(module.id, {});
|
|
259
259
|
// only invalidate when locals change
|
|
260
260
|
if (
|
|
@@ -5641,9 +5641,6 @@ const DndWrapper = (props)=>{
|
|
|
5641
5641
|
setDraggedHeader(null);
|
|
5642
5642
|
if (event.over) handleReorder(event.active.id, event.over.id);
|
|
5643
5643
|
};
|
|
5644
|
-
const handleDragOver = (event)=>{
|
|
5645
|
-
if (event.over) handleReorder(event.active.id, event.over.id);
|
|
5646
|
-
};
|
|
5647
5644
|
const sortableItems = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(()=>{
|
|
5648
5645
|
return headers.map((header, index)=>{
|
|
5649
5646
|
return header.field || `header-${index}`;
|
|
@@ -5666,7 +5663,7 @@ const DndWrapper = (props)=>{
|
|
|
5666
5663
|
handleSort: ()=>{}
|
|
5667
5664
|
}, void 0, false, {
|
|
5668
5665
|
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/dndWrapper.tsx",
|
|
5669
|
-
lineNumber:
|
|
5666
|
+
lineNumber: 66,
|
|
5670
5667
|
columnNumber: 17
|
|
5671
5668
|
}, undefined),
|
|
5672
5669
|
/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_body_tblBody__WEBPACK_IMPORTED_MODULE_6__["default"], {
|
|
@@ -5681,13 +5678,13 @@ const DndWrapper = (props)=>{
|
|
|
5681
5678
|
handleRowDataClick: ()=>{}
|
|
5682
5679
|
}, void 0, false, {
|
|
5683
5680
|
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/dndWrapper.tsx",
|
|
5684
|
-
lineNumber:
|
|
5681
|
+
lineNumber: 67,
|
|
5685
5682
|
columnNumber: 17
|
|
5686
5683
|
}, undefined)
|
|
5687
5684
|
]
|
|
5688
5685
|
}, void 0, true, {
|
|
5689
5686
|
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/dndWrapper.tsx",
|
|
5690
|
-
lineNumber:
|
|
5687
|
+
lineNumber: 65,
|
|
5691
5688
|
columnNumber: 13
|
|
5692
5689
|
}, undefined);
|
|
5693
5690
|
}, [
|
|
@@ -5702,7 +5699,6 @@ const DndWrapper = (props)=>{
|
|
|
5702
5699
|
collisionDetection: _dnd_kit_core__WEBPACK_IMPORTED_MODULE_2__.closestCenter,
|
|
5703
5700
|
onDragStart: handleDragStart,
|
|
5704
5701
|
onDragEnd: handleDragEnd,
|
|
5705
|
-
onDragOver: handleDragOver,
|
|
5706
5702
|
children: [
|
|
5707
5703
|
/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_dnd_kit_sortable__WEBPACK_IMPORTED_MODULE_3__.SortableContext, {
|
|
5708
5704
|
items: sortableItems,
|
|
@@ -5710,7 +5706,7 @@ const DndWrapper = (props)=>{
|
|
|
5710
5706
|
children: children
|
|
5711
5707
|
}, void 0, false, {
|
|
5712
5708
|
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/dndWrapper.tsx",
|
|
5713
|
-
lineNumber:
|
|
5709
|
+
lineNumber: 79,
|
|
5714
5710
|
columnNumber: 13
|
|
5715
5711
|
}, undefined),
|
|
5716
5712
|
/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_dnd_kit_core__WEBPACK_IMPORTED_MODULE_2__.DragOverlay, {
|
|
@@ -5720,18 +5716,18 @@ const DndWrapper = (props)=>{
|
|
|
5720
5716
|
children: dragOverlayContent
|
|
5721
5717
|
}, void 0, false, {
|
|
5722
5718
|
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/dndWrapper.tsx",
|
|
5723
|
-
lineNumber:
|
|
5719
|
+
lineNumber: 83,
|
|
5724
5720
|
columnNumber: 17
|
|
5725
5721
|
}, undefined)
|
|
5726
5722
|
}, void 0, false, {
|
|
5727
5723
|
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/dndWrapper.tsx",
|
|
5728
|
-
lineNumber:
|
|
5724
|
+
lineNumber: 82,
|
|
5729
5725
|
columnNumber: 13
|
|
5730
5726
|
}, undefined)
|
|
5731
5727
|
]
|
|
5732
5728
|
}, void 0, true, {
|
|
5733
5729
|
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/dndWrapper.tsx",
|
|
5734
|
-
lineNumber:
|
|
5730
|
+
lineNumber: 73,
|
|
5735
5731
|
columnNumber: 9
|
|
5736
5732
|
}, undefined);
|
|
5737
5733
|
};
|
|
@@ -6305,7 +6301,7 @@ const Pagination = (props)=>{
|
|
|
6305
6301
|
limit
|
|
6306
6302
|
]);
|
|
6307
6303
|
const pageDisplay = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(()=>{
|
|
6308
|
-
return `Displaying ${skip * limit + 1}-${(skip + 1) * limit < totalCount ? (skip + 1) * limit : totalCount} of ${totalCount} results
|
|
6304
|
+
return totalCount > 0 ? `Displaying ${skip * limit + 1}-${(skip + 1) * limit < totalCount ? (skip + 1) * limit : totalCount} of ${totalCount} results` : 'Displaying 0 results';
|
|
6309
6305
|
}, [
|
|
6310
6306
|
skip,
|
|
6311
6307
|
limit,
|
|
@@ -6588,7 +6584,7 @@ const Style = (param)=>{
|
|
|
6588
6584
|
top: '44px',
|
|
6589
6585
|
'.MuiOutlinedInput-root': {
|
|
6590
6586
|
height: '26px',
|
|
6591
|
-
borderRadius: '0px',
|
|
6587
|
+
borderRadius: '0px !important',
|
|
6592
6588
|
border: `1px solid ${(_theme_palette_border2 = theme.palette.border) === null || _theme_palette_border2 === void 0 ? void 0 : _theme_palette_border2.table}`,
|
|
6593
6589
|
fontSize: '12px'
|
|
6594
6590
|
},
|
|
@@ -6920,6 +6916,9 @@ const Style = (param)=>{
|
|
|
6920
6916
|
'& .Mui-selected': {
|
|
6921
6917
|
'& .fillPath': {
|
|
6922
6918
|
fill: theme.palette.primary.main
|
|
6919
|
+
},
|
|
6920
|
+
'& .tab-badge': {
|
|
6921
|
+
background: theme.palette.primary.main
|
|
6923
6922
|
}
|
|
6924
6923
|
}
|
|
6925
6924
|
};
|
|
@@ -9548,14 +9547,14 @@ const ACTION_TYPES = {
|
|
|
9548
9547
|
};
|
|
9549
9548
|
const getViewOptions = (viewType)=>[
|
|
9550
9549
|
{
|
|
9551
|
-
value: '
|
|
9550
|
+
value: 'LIST',
|
|
9552
9551
|
label: 'Set as default : List View',
|
|
9553
|
-
checked: viewType === '
|
|
9552
|
+
checked: viewType === 'LIST'
|
|
9554
9553
|
},
|
|
9555
9554
|
{
|
|
9556
|
-
value: '
|
|
9555
|
+
value: 'TILE',
|
|
9557
9556
|
label: 'Set as default : Card View',
|
|
9558
|
-
checked: viewType === '
|
|
9557
|
+
checked: viewType === 'TILE'
|
|
9559
9558
|
},
|
|
9560
9559
|
{
|
|
9561
9560
|
value: '',
|