seeder-st2110-components 1.6.9 → 1.6.10
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 +6 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1558,7 +1558,7 @@ const RightDetailForm = /*#__PURE__*/memo(_ref3 => {
|
|
|
1558
1558
|
fields = {
|
|
1559
1559
|
name: {
|
|
1560
1560
|
label: "Name",
|
|
1561
|
-
placeholder: "
|
|
1561
|
+
placeholder: "Enter name",
|
|
1562
1562
|
required: true
|
|
1563
1563
|
}
|
|
1564
1564
|
},
|
|
@@ -1715,7 +1715,7 @@ const Preset = _ref => {
|
|
|
1715
1715
|
fields = {
|
|
1716
1716
|
name: {
|
|
1717
1717
|
label: "Name",
|
|
1718
|
-
placeholder: "
|
|
1718
|
+
placeholder: "Enter name",
|
|
1719
1719
|
required: true
|
|
1720
1720
|
}
|
|
1721
1721
|
},
|
|
@@ -3435,7 +3435,9 @@ const CommonHeader = _ref => {
|
|
|
3435
3435
|
className = '',
|
|
3436
3436
|
style = {},
|
|
3437
3437
|
// 新增插槽
|
|
3438
|
-
leftContent
|
|
3438
|
+
leftContent = null,
|
|
3439
|
+
// 左侧额外内容
|
|
3440
|
+
rightContent = null // 右侧额外内容
|
|
3439
3441
|
} = _ref;
|
|
3440
3442
|
const [logo] = useSpaLogo$1(logoProps);
|
|
3441
3443
|
|
|
@@ -3469,7 +3471,7 @@ const CommonHeader = _ref => {
|
|
|
3469
3471
|
}), /*#__PURE__*/jsxs(Flex, {
|
|
3470
3472
|
align: "center",
|
|
3471
3473
|
gap: 10,
|
|
3472
|
-
children: [showHardwareUsage && usageElement, /*#__PURE__*/jsxs("div", {
|
|
3474
|
+
children: [rightContent, showHardwareUsage && usageElement, /*#__PURE__*/jsxs("div", {
|
|
3473
3475
|
className: "header-controls",
|
|
3474
3476
|
children: [menuElement && /*#__PURE__*/jsx("div", {
|
|
3475
3477
|
className: "control-icon",
|