@ix_waterford/lib 1.0.53 → 1.0.56
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 +37 -24
- package/dist/components.js.map +1 -1
- package/dist/index.js +37 -24
- package/dist/index.js.map +1 -1
- package/dist/types/components/dialog/style.d.ts +1 -9
- package/dist/types/components/dialog/style.d.ts.map +1 -1
- package/dist/types/components/table/body/tableSkeletonBody.d.ts.map +1 -1
- package/dist/types/components/table/types.d.ts +1 -0
- package/dist/types/components/table/types.d.ts.map +1 -1
- package/dist/types/components/typography/typography.d.ts +1 -1
- package/dist/types/components/typography/typography.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -169,7 +169,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169
169
|
if(true) {
|
|
170
170
|
(function() {
|
|
171
171
|
var localsJsonString = undefined;
|
|
172
|
-
//
|
|
172
|
+
// 1775551833511
|
|
173
173
|
var cssReload = (__webpack_require__("./node_modules/@rspack/core/dist/cssExtractHmr.js")/* .cssReload */.cssReload)(module.id, {});
|
|
174
174
|
// only invalidate when locals change
|
|
175
175
|
if (
|
|
@@ -197,7 +197,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
197
197
|
if(true) {
|
|
198
198
|
(function() {
|
|
199
199
|
var localsJsonString = undefined;
|
|
200
|
-
//
|
|
200
|
+
// 1775551833514
|
|
201
201
|
var cssReload = (__webpack_require__("./node_modules/@rspack/core/dist/cssExtractHmr.js")/* .cssReload */.cssReload)(module.id, {});
|
|
202
202
|
// only invalidate when locals change
|
|
203
203
|
if (
|
|
@@ -225,7 +225,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
225
225
|
if(true) {
|
|
226
226
|
(function() {
|
|
227
227
|
var localsJsonString = undefined;
|
|
228
|
-
//
|
|
228
|
+
// 1775551833514
|
|
229
229
|
var cssReload = (__webpack_require__("./node_modules/@rspack/core/dist/cssExtractHmr.js")/* .cssReload */.cssReload)(module.id, {});
|
|
230
230
|
// only invalidate when locals change
|
|
231
231
|
if (
|
|
@@ -253,7 +253,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
253
253
|
if(true) {
|
|
254
254
|
(function() {
|
|
255
255
|
var localsJsonString = undefined;
|
|
256
|
-
//
|
|
256
|
+
// 1775551833513
|
|
257
257
|
var cssReload = (__webpack_require__("./node_modules/@rspack/core/dist/cssExtractHmr.js")/* .cssReload */.cssReload)(module.id, {});
|
|
258
258
|
// only invalidate when locals change
|
|
259
259
|
if (
|
|
@@ -4282,8 +4282,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
4282
4282
|
Style: () => (Style)
|
|
4283
4283
|
});
|
|
4284
4284
|
/* provided dependency */ var $ReactRefreshRuntime$ = __webpack_require__("./node_modules/@rspack/plugin-react-refresh/client/reactRefresh.js");
|
|
4285
|
-
const Style = (
|
|
4286
|
-
let { theme } = param;
|
|
4285
|
+
const Style = ()=>{
|
|
4287
4286
|
return {
|
|
4288
4287
|
'& .MuiPaper-root': {
|
|
4289
4288
|
borderRadius: '16px'
|
|
@@ -4291,12 +4290,7 @@ const Style = (param)=>{
|
|
|
4291
4290
|
'& .dialog-title': {
|
|
4292
4291
|
display: 'flex',
|
|
4293
4292
|
alignItems: 'center',
|
|
4294
|
-
justifyContent: 'space-between'
|
|
4295
|
-
paddingRight: 5,
|
|
4296
|
-
color: theme.palette.text.secondary
|
|
4297
|
-
},
|
|
4298
|
-
'& .dialog-content': {
|
|
4299
|
-
padding: theme.spacing(4)
|
|
4293
|
+
justifyContent: 'space-between'
|
|
4300
4294
|
}
|
|
4301
4295
|
};
|
|
4302
4296
|
};
|
|
@@ -5893,7 +5887,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
5893
5887
|
|
|
5894
5888
|
|
|
5895
5889
|
const TableSkeletonBody = (param)=>{
|
|
5896
|
-
let { rowCount, headers } = param;
|
|
5890
|
+
let { rowCount, headers, showCheckbox = false } = param;
|
|
5897
5891
|
const dataheaders = headers.filter((item)=>item.visible);
|
|
5898
5892
|
const safeRowCount = Math.max(0, Math.floor(rowCount));
|
|
5899
5893
|
return /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_mui_material__rspack_import_1.TableBody, {
|
|
@@ -5901,30 +5895,48 @@ const TableSkeletonBody = (param)=>{
|
|
|
5901
5895
|
length: safeRowCount
|
|
5902
5896
|
}, (_, rowIndex)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_mui_material__rspack_import_1.TableRow, {
|
|
5903
5897
|
className: "tableRowCls",
|
|
5904
|
-
children:
|
|
5905
|
-
|
|
5906
|
-
"
|
|
5898
|
+
children: [
|
|
5899
|
+
showCheckbox && /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_mui_material__rspack_import_1.TableCell, {
|
|
5900
|
+
className: "tableColCls tableColCls-checkbox",
|
|
5901
|
+
padding: "checkbox",
|
|
5907
5902
|
children: /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_skeleton__rspack_import_2["default"], {
|
|
5908
5903
|
variant: "text",
|
|
5909
5904
|
className: "table-skeleton-cell"
|
|
5910
5905
|
}, void 0, false, {
|
|
5911
5906
|
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/tableSkeletonBody.tsx",
|
|
5912
|
-
lineNumber:
|
|
5907
|
+
lineNumber: 23,
|
|
5913
5908
|
columnNumber: 29
|
|
5914
5909
|
}, undefined)
|
|
5915
|
-
}, `table-skeleton-${rowIndex}
|
|
5910
|
+
}, `table-skeleton-${rowIndex}-checkbox`, false, {
|
|
5916
5911
|
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/tableSkeletonBody.tsx",
|
|
5917
|
-
lineNumber:
|
|
5912
|
+
lineNumber: 22,
|
|
5918
5913
|
columnNumber: 25
|
|
5919
|
-
}, undefined)
|
|
5920
|
-
|
|
5914
|
+
}, undefined),
|
|
5915
|
+
dataheaders.map((col)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_mui_material__rspack_import_1.TableCell, {
|
|
5916
|
+
className: `tableColCls tableColCls-${col.field}`,
|
|
5917
|
+
"data-field": col.field,
|
|
5918
|
+
children: /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_skeleton__rspack_import_2["default"], {
|
|
5919
|
+
variant: "text",
|
|
5920
|
+
className: "table-skeleton-cell"
|
|
5921
|
+
}, void 0, false, {
|
|
5922
|
+
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/tableSkeletonBody.tsx",
|
|
5923
|
+
lineNumber: 32,
|
|
5924
|
+
columnNumber: 29
|
|
5925
|
+
}, undefined)
|
|
5926
|
+
}, `table-skeleton-${rowIndex}-${col.field}`, false, {
|
|
5927
|
+
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/tableSkeletonBody.tsx",
|
|
5928
|
+
lineNumber: 27,
|
|
5929
|
+
columnNumber: 25
|
|
5930
|
+
}, undefined))
|
|
5931
|
+
]
|
|
5932
|
+
}, `table-skeleton-row-${rowIndex}`, true, {
|
|
5921
5933
|
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/tableSkeletonBody.tsx",
|
|
5922
|
-
lineNumber:
|
|
5934
|
+
lineNumber: 20,
|
|
5923
5935
|
columnNumber: 17
|
|
5924
5936
|
}, undefined))
|
|
5925
5937
|
}, void 0, false, {
|
|
5926
5938
|
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/tableSkeletonBody.tsx",
|
|
5927
|
-
lineNumber:
|
|
5939
|
+
lineNumber: 18,
|
|
5928
5940
|
columnNumber: 9
|
|
5929
5941
|
}, undefined);
|
|
5930
5942
|
};
|
|
@@ -7394,7 +7406,8 @@ const TableComponent = (props)=>{
|
|
|
7394
7406
|
}, undefined),
|
|
7395
7407
|
loading ? /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_body_tableSkeletonBody__rspack_import_6["default"], {
|
|
7396
7408
|
rowCount: limit,
|
|
7397
|
-
headers: headers
|
|
7409
|
+
headers: headers,
|
|
7410
|
+
showCheckbox: showCheckbox
|
|
7398
7411
|
}, void 0, false, {
|
|
7399
7412
|
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/table.tsx",
|
|
7400
7413
|
lineNumber: 82,
|