sevago-library 1.0.19 → 1.0.73
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/index.cjs.js
CHANGED
|
@@ -173,7 +173,7 @@ const APP_OBJ = {
|
|
|
173
173
|
path: {
|
|
174
174
|
local: "http://localhost:12031",
|
|
175
175
|
develop: "https://dev.admin.master-data.sevago.local",
|
|
176
|
-
staging: "https://
|
|
176
|
+
staging: "https://sta.admin.master-data.sevago.local",
|
|
177
177
|
production: "https://admin.master-data.sevago.local",
|
|
178
178
|
production_vps: "https://admin.master-data.sevago.local"
|
|
179
179
|
},
|
|
@@ -478,9 +478,11 @@ const APP_OBJ = {
|
|
|
478
478
|
MANUFACTURING_EXECUTION: {
|
|
479
479
|
path: {
|
|
480
480
|
local: "http://localhost:12021",
|
|
481
|
-
develop: "https://dev.
|
|
482
|
-
staging: "
|
|
483
|
-
|
|
481
|
+
develop: "https://dev.trackingproductionclient.sevago.local",
|
|
482
|
+
staging: "",
|
|
483
|
+
//https://sta.admin.manufacturing-execution.sevago.local
|
|
484
|
+
production: "",
|
|
485
|
+
//https://admin.manufacturing-execution.sevago.local
|
|
484
486
|
production_vps: ""
|
|
485
487
|
},
|
|
486
488
|
icon: ICONS.iconDefault,
|
|
@@ -75141,14 +75143,14 @@ const ListIconContentElement = ({
|
|
|
75141
75143
|
};
|
|
75142
75144
|
const PaginationElement = ({
|
|
75143
75145
|
total = 0,
|
|
75144
|
-
page,
|
|
75145
|
-
take =
|
|
75146
|
+
page = PAGE_TAKE_DEFAULT.page,
|
|
75147
|
+
take = PAGE_TAKE_DEFAULT.take,
|
|
75146
75148
|
openRowsPerPage = true,
|
|
75147
75149
|
onChange,
|
|
75148
75150
|
sx = {}
|
|
75149
75151
|
}) => {
|
|
75150
75152
|
const totalPages = Math.ceil(total / take);
|
|
75151
|
-
const validTakes = [
|
|
75153
|
+
const validTakes = [10, 20, 30, 50];
|
|
75152
75154
|
const displayTake = validTakes.includes(Number(take)) ? Number(take) : 10;
|
|
75153
75155
|
const { palette } = material.useTheme();
|
|
75154
75156
|
const handleChangeRowsPerPage = (event) => {
|