seeder-st2110-components 1.1.5 → 1.1.7
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.esm.js +11 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +11 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -2315,7 +2315,8 @@ const NetworkSettingsModal = _ref2 => {
|
|
|
2315
2315
|
showNetmask = {
|
|
2316
2316
|
LAN: true,
|
|
2317
2317
|
QSFP: false
|
|
2318
|
-
}
|
|
2318
|
+
},
|
|
2319
|
+
restartRemark
|
|
2319
2320
|
} = _ref2;
|
|
2320
2321
|
const {
|
|
2321
2322
|
message,
|
|
@@ -2556,7 +2557,12 @@ const NetworkSettingsModal = _ref2 => {
|
|
|
2556
2557
|
styles: {
|
|
2557
2558
|
body: {
|
|
2558
2559
|
padding: "16px 24px 8px 24px"
|
|
2559
|
-
}
|
|
2560
|
+
},
|
|
2561
|
+
...(restartRemark !== null && {
|
|
2562
|
+
footer: {
|
|
2563
|
+
paddingBottom: 28
|
|
2564
|
+
}
|
|
2565
|
+
})
|
|
2560
2566
|
},
|
|
2561
2567
|
...modalProps
|
|
2562
2568
|
};
|
|
@@ -2573,9 +2579,9 @@ const NetworkSettingsModal = _ref2 => {
|
|
|
2573
2579
|
autoComplete: "off",
|
|
2574
2580
|
...formProps
|
|
2575
2581
|
};
|
|
2576
|
-
return /*#__PURE__*/
|
|
2582
|
+
return /*#__PURE__*/jsxs(Modal, {
|
|
2577
2583
|
...mergedModalProps,
|
|
2578
|
-
children: /*#__PURE__*/jsxs(Form, {
|
|
2584
|
+
children: [/*#__PURE__*/jsxs(Form, {
|
|
2579
2585
|
...mergedFormProps,
|
|
2580
2586
|
children: [sections.includes('LAN') && lanConfigs.length > 0 && /*#__PURE__*/jsxs(Fragment, {
|
|
2581
2587
|
children: [/*#__PURE__*/jsx(NetworkFieldGroup, {
|
|
@@ -2588,7 +2594,7 @@ const NetworkSettingsModal = _ref2 => {
|
|
|
2588
2594
|
interfaces: st2110Interfaces,
|
|
2589
2595
|
fieldConfig: preparedFieldConfig.QSFP
|
|
2590
2596
|
})]
|
|
2591
|
-
})
|
|
2597
|
+
}), restartRemark]
|
|
2592
2598
|
});
|
|
2593
2599
|
};
|
|
2594
2600
|
var NetworkSettingsModal$1 = /*#__PURE__*/memo(NetworkSettingsModal);
|