@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/components.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
|
};
|
|
@@ -6041,7 +6035,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
6041
6035
|
|
|
6042
6036
|
|
|
6043
6037
|
const TableSkeletonBody = (param)=>{
|
|
6044
|
-
let { rowCount, headers } = param;
|
|
6038
|
+
let { rowCount, headers, showCheckbox = false } = param;
|
|
6045
6039
|
const dataheaders = headers.filter((item)=>item.visible);
|
|
6046
6040
|
const safeRowCount = Math.max(0, Math.floor(rowCount));
|
|
6047
6041
|
return /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_mui_material__rspack_import_1.TableBody, {
|
|
@@ -6049,30 +6043,48 @@ const TableSkeletonBody = (param)=>{
|
|
|
6049
6043
|
length: safeRowCount
|
|
6050
6044
|
}, (_, rowIndex)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_mui_material__rspack_import_1.TableRow, {
|
|
6051
6045
|
className: "tableRowCls",
|
|
6052
|
-
children:
|
|
6053
|
-
|
|
6054
|
-
"
|
|
6046
|
+
children: [
|
|
6047
|
+
showCheckbox && /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_mui_material__rspack_import_1.TableCell, {
|
|
6048
|
+
className: "tableColCls tableColCls-checkbox",
|
|
6049
|
+
padding: "checkbox",
|
|
6055
6050
|
children: /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_skeleton__rspack_import_2["default"], {
|
|
6056
6051
|
variant: "text",
|
|
6057
6052
|
className: "table-skeleton-cell"
|
|
6058
6053
|
}, void 0, false, {
|
|
6059
6054
|
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/tableSkeletonBody.tsx",
|
|
6060
|
-
lineNumber:
|
|
6055
|
+
lineNumber: 23,
|
|
6061
6056
|
columnNumber: 29
|
|
6062
6057
|
}, undefined)
|
|
6063
|
-
}, `table-skeleton-${rowIndex}
|
|
6058
|
+
}, `table-skeleton-${rowIndex}-checkbox`, false, {
|
|
6064
6059
|
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/tableSkeletonBody.tsx",
|
|
6065
|
-
lineNumber:
|
|
6060
|
+
lineNumber: 22,
|
|
6066
6061
|
columnNumber: 25
|
|
6067
|
-
}, undefined)
|
|
6068
|
-
|
|
6062
|
+
}, undefined),
|
|
6063
|
+
dataheaders.map((col)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_mui_material__rspack_import_1.TableCell, {
|
|
6064
|
+
className: `tableColCls tableColCls-${col.field}`,
|
|
6065
|
+
"data-field": col.field,
|
|
6066
|
+
children: /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_skeleton__rspack_import_2["default"], {
|
|
6067
|
+
variant: "text",
|
|
6068
|
+
className: "table-skeleton-cell"
|
|
6069
|
+
}, void 0, false, {
|
|
6070
|
+
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/tableSkeletonBody.tsx",
|
|
6071
|
+
lineNumber: 32,
|
|
6072
|
+
columnNumber: 29
|
|
6073
|
+
}, undefined)
|
|
6074
|
+
}, `table-skeleton-${rowIndex}-${col.field}`, false, {
|
|
6075
|
+
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/tableSkeletonBody.tsx",
|
|
6076
|
+
lineNumber: 27,
|
|
6077
|
+
columnNumber: 25
|
|
6078
|
+
}, undefined))
|
|
6079
|
+
]
|
|
6080
|
+
}, `table-skeleton-row-${rowIndex}`, true, {
|
|
6069
6081
|
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/tableSkeletonBody.tsx",
|
|
6070
|
-
lineNumber:
|
|
6082
|
+
lineNumber: 20,
|
|
6071
6083
|
columnNumber: 17
|
|
6072
6084
|
}, undefined))
|
|
6073
6085
|
}, void 0, false, {
|
|
6074
6086
|
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/body/tableSkeletonBody.tsx",
|
|
6075
|
-
lineNumber:
|
|
6087
|
+
lineNumber: 18,
|
|
6076
6088
|
columnNumber: 9
|
|
6077
6089
|
}, undefined);
|
|
6078
6090
|
};
|
|
@@ -7542,7 +7554,8 @@ const TableComponent = (props)=>{
|
|
|
7542
7554
|
}, undefined),
|
|
7543
7555
|
loading ? /*#__PURE__*/ (0,react_jsx_dev_runtime__rspack_import_0.jsxDEV)(_body_tableSkeletonBody__rspack_import_6["default"], {
|
|
7544
7556
|
rowCount: limit,
|
|
7545
|
-
headers: headers
|
|
7557
|
+
headers: headers,
|
|
7558
|
+
showCheckbox: showCheckbox
|
|
7546
7559
|
}, void 0, false, {
|
|
7547
7560
|
fileName: "/Users/kirubakaran.r/Documents/projects/hub/components/waterford_library/src/components/table/table.tsx",
|
|
7548
7561
|
lineNumber: 82,
|