@ant-design/pro-components 2.0.0-experimental.22 → 2.0.0-experimental.23
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 +385 -27
- package/dist/components.min.js +1 -1
- package/es/version.js +2 -2
- package/package.json +2 -2
package/dist/components.js
CHANGED
|
@@ -71827,7 +71827,7 @@ var getLayoutDesignToken = function getLayoutDesignToken(designTokens, antdToken
|
|
|
71827
71827
|
}, finalDesignTokens.sider),
|
|
71828
71828
|
pageContainer: objectSpread2_objectSpread2({
|
|
71829
71829
|
colorBgPageContainer: 'transparent',
|
|
71830
|
-
marginBlockPageContainerContent:
|
|
71830
|
+
marginBlockPageContainerContent: 16,
|
|
71831
71831
|
marginInlinePageContainerContent: 40,
|
|
71832
71832
|
colorBgPageContainerFixed: '#fff'
|
|
71833
71833
|
}, finalDesignTokens.pageContainer)
|
|
@@ -72358,11 +72358,11 @@ var genPageContainerStyle = function genPageContainerStyle(token) {
|
|
|
72358
72358
|
return defineProperty_defineProperty({}, token.componentCls, {
|
|
72359
72359
|
position: 'relative',
|
|
72360
72360
|
'&-layout-has-margin': {
|
|
72361
|
-
marginBlock: -
|
|
72362
|
-
marginInline: -
|
|
72361
|
+
marginBlock: -(token.marginBlockPageContainerContent - 8),
|
|
72362
|
+
marginInline: -token.marginInlinePageContainerContent
|
|
72363
72363
|
},
|
|
72364
72364
|
'&-children-content': {
|
|
72365
|
-
marginBlock: token.marginBlockPageContainerContent,
|
|
72365
|
+
marginBlock: token.marginBlockPageContainerContent - 8,
|
|
72366
72366
|
marginInline: token.marginInlinePageContainerContent
|
|
72367
72367
|
},
|
|
72368
72368
|
'&-affix': defineProperty_defineProperty({}, "".concat(token.antCls, "-affix"), defineProperty_defineProperty({}, "".concat(token.componentCls, "-warp"), {
|
|
@@ -72622,8 +72622,11 @@ var PageContainer = function PageContainer(props) {
|
|
|
72622
72622
|
|
|
72623
72623
|
var value = (0,external_React_.useContext)(RouteContext);
|
|
72624
72624
|
|
|
72625
|
-
var _useContext = (0,external_React_.useContext)(
|
|
72626
|
-
|
|
72625
|
+
var _useContext = (0,external_React_.useContext)(ProLayoutContext),
|
|
72626
|
+
pageContainer = _useContext.pageContainer;
|
|
72627
|
+
|
|
72628
|
+
var _useContext2 = (0,external_React_.useContext)(external_antd_.ConfigProvider.ConfigContext),
|
|
72629
|
+
getPrefixCls = _useContext2.getPrefixCls;
|
|
72627
72630
|
|
|
72628
72631
|
var prefixCls = props.prefixCls || getPrefixCls('pro');
|
|
72629
72632
|
var basePageContainer = "".concat(prefixCls, "-page-container");
|
|
@@ -72639,12 +72642,12 @@ var PageContainer = function PageContainer(props) {
|
|
|
72639
72642
|
children: children
|
|
72640
72643
|
}), value.hasFooterToolbar && (0,jsx_runtime.jsx)("div", {
|
|
72641
72644
|
style: {
|
|
72642
|
-
height:
|
|
72643
|
-
marginBlockStart:
|
|
72645
|
+
height: 64,
|
|
72646
|
+
marginBlockStart: pageContainer.marginBlockPageContainerContent
|
|
72644
72647
|
}
|
|
72645
72648
|
})]
|
|
72646
72649
|
}) : null;
|
|
72647
|
-
}, [children, basePageContainer, value.hasFooterToolbar]);
|
|
72650
|
+
}, [children, basePageContainer, value.hasFooterToolbar, pageContainer.marginBlockPageContainerContent]);
|
|
72648
72651
|
var memoBreadcrumbRender = (0,external_React_.useMemo)(function () {
|
|
72649
72652
|
var _restProps$header;
|
|
72650
72653
|
|
|
@@ -74588,8 +74591,7 @@ var SiderMenu = function SiderMenu(props) {
|
|
|
74588
74591
|
});
|
|
74589
74592
|
|
|
74590
74593
|
var _useContext = (0,external_React_.useContext)(ProLayoutContext),
|
|
74591
|
-
sider = _useContext.sider
|
|
74592
|
-
header = _useContext.header;
|
|
74594
|
+
sider = _useContext.sider;
|
|
74593
74595
|
|
|
74594
74596
|
return (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
74595
74597
|
children: [fixSiderbar && !isMobile && !hideMenuWhenCollapsedClassName && (0,jsx_runtime.jsx)("div", {
|
|
@@ -74599,9 +74601,7 @@ var SiderMenu = function SiderMenu(props) {
|
|
|
74599
74601
|
flex: "0 0 ".concat(collapsed ? collapsedWidth : siderWidth, "px"),
|
|
74600
74602
|
maxWidth: collapsed ? collapsedWidth : siderWidth,
|
|
74601
74603
|
minWidth: collapsed ? collapsedWidth : siderWidth,
|
|
74602
|
-
transition: 'all 0.2s ease 0s'
|
|
74603
|
-
height: "calc(100% - ".concat(header.heightLayoutHeader, "px)"),
|
|
74604
|
-
marginBlockStart: "".concat(header.heightLayoutHeader, "px")
|
|
74604
|
+
transition: 'all 0.2s ease 0s'
|
|
74605
74605
|
}, style)
|
|
74606
74606
|
}), (0,jsx_runtime.jsxs)(Sider, {
|
|
74607
74607
|
collapsible: true,
|
|
@@ -75438,6 +75438,9 @@ var darkreader = __webpack_require__(897);
|
|
|
75438
75438
|
'app.setting.themecolor.daybreak': 'Daybreak Blue',
|
|
75439
75439
|
'app.setting.themecolor.geekblue': 'Geek Blue',
|
|
75440
75440
|
'app.setting.themecolor.purple': 'Golden Purple',
|
|
75441
|
+
'app.setting.sidermenutype': 'SideMenu Type',
|
|
75442
|
+
'app.setting.sidermenutype-sub': 'Classic',
|
|
75443
|
+
'app.setting.sidermenutype-group': 'Grouping',
|
|
75441
75444
|
'app.setting.navigationmode': 'Navigation Mode',
|
|
75442
75445
|
'app.setting.regionalsettings': 'Regional Settings',
|
|
75443
75446
|
'app.setting.regionalsettings.header': 'Header',
|
|
@@ -75567,6 +75570,9 @@ var darkreader = __webpack_require__(897);
|
|
|
75567
75570
|
'app.setting.themecolor.geekblue': '极客蓝',
|
|
75568
75571
|
'app.setting.themecolor.purple': '酱紫',
|
|
75569
75572
|
'app.setting.navigationmode': '导航模式',
|
|
75573
|
+
'app.setting.sidermenutype': '侧边菜单类型',
|
|
75574
|
+
'app.setting.sidermenutype-sub': '经典模式',
|
|
75575
|
+
'app.setting.sidermenutype-group': '分组模式',
|
|
75570
75576
|
'app.setting.regionalsettings': '内容区域',
|
|
75571
75577
|
'app.setting.regionalsettings.header': '顶栏',
|
|
75572
75578
|
'app.setting.regionalsettings.menu': '菜单',
|
|
@@ -75674,17 +75680,20 @@ var BlockCheckbox = function BlockCheckbox(_ref) {
|
|
|
75674
75680
|
var domList = (list || []).map(function (item) {
|
|
75675
75681
|
return (0,jsx_runtime.jsx)(external_antd_.Tooltip, {
|
|
75676
75682
|
title: item.title,
|
|
75677
|
-
children: (0,jsx_runtime.
|
|
75683
|
+
children: (0,jsx_runtime.jsxs)("div", {
|
|
75678
75684
|
className: classnames_default()("".concat(baseClassName, "-item"), "".concat(baseClassName, "-item-").concat(item.key), "".concat(baseClassName, "-").concat(configType, "-item")),
|
|
75679
75685
|
onClick: function onClick() {
|
|
75680
75686
|
return onChange(item.key);
|
|
75681
75687
|
},
|
|
75682
|
-
children: (0,jsx_runtime.jsx)(icons_CheckOutlined, {
|
|
75688
|
+
children: [(0,jsx_runtime.jsx)(icons_CheckOutlined, {
|
|
75683
75689
|
className: "".concat(baseClassName, "-selectIcon"),
|
|
75684
75690
|
style: {
|
|
75685
75691
|
display: value === item.key ? 'block' : 'none'
|
|
75686
75692
|
}
|
|
75687
|
-
})
|
|
75693
|
+
}), (item === null || item === void 0 ? void 0 : item.icon) ? (0,jsx_runtime.jsx)("div", {
|
|
75694
|
+
className: "".concat(baseClassName, "-icon"),
|
|
75695
|
+
children: item.icon
|
|
75696
|
+
}) : null]
|
|
75688
75697
|
})
|
|
75689
75698
|
}, item.key);
|
|
75690
75699
|
});
|
|
@@ -75697,6 +75706,321 @@ var BlockCheckbox = function BlockCheckbox(_ref) {
|
|
|
75697
75706
|
};
|
|
75698
75707
|
|
|
75699
75708
|
|
|
75709
|
+
;// CONCATENATED MODULE: ./packages/layout/es/components/SettingDrawer/icon/group.js
|
|
75710
|
+
|
|
75711
|
+
function GroupIcon() {
|
|
75712
|
+
return (0,jsx_runtime.jsxs)("svg", {
|
|
75713
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
75714
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
75715
|
+
width: "1em",
|
|
75716
|
+
height: "1em",
|
|
75717
|
+
viewBox: "0 0 104 104",
|
|
75718
|
+
children: [(0,jsx_runtime.jsxs)("defs", {
|
|
75719
|
+
children: [(0,jsx_runtime.jsx)("rect", {
|
|
75720
|
+
id: "path-1",
|
|
75721
|
+
width: "90",
|
|
75722
|
+
height: "72",
|
|
75723
|
+
x: "0",
|
|
75724
|
+
y: "0",
|
|
75725
|
+
rx: "10"
|
|
75726
|
+
}), (0,jsx_runtime.jsxs)("filter", {
|
|
75727
|
+
id: "filter-2",
|
|
75728
|
+
width: "152.2%",
|
|
75729
|
+
height: "165.3%",
|
|
75730
|
+
x: "-26.1%",
|
|
75731
|
+
y: "-27.1%",
|
|
75732
|
+
filterUnits: "objectBoundingBox",
|
|
75733
|
+
children: [(0,jsx_runtime.jsx)("feMorphology", {
|
|
75734
|
+
in: "SourceAlpha",
|
|
75735
|
+
radius: "0.25",
|
|
75736
|
+
result: "shadowSpreadOuter1"
|
|
75737
|
+
}), (0,jsx_runtime.jsx)("feOffset", {
|
|
75738
|
+
dy: "1",
|
|
75739
|
+
in: "shadowSpreadOuter1",
|
|
75740
|
+
result: "shadowOffsetOuter1"
|
|
75741
|
+
}), (0,jsx_runtime.jsx)("feGaussianBlur", {
|
|
75742
|
+
in: "shadowOffsetOuter1",
|
|
75743
|
+
result: "shadowBlurOuter1",
|
|
75744
|
+
stdDeviation: "1"
|
|
75745
|
+
}), (0,jsx_runtime.jsx)("feColorMatrix", {
|
|
75746
|
+
in: "shadowBlurOuter1",
|
|
75747
|
+
result: "shadowMatrixOuter1",
|
|
75748
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"
|
|
75749
|
+
}), (0,jsx_runtime.jsx)("feMorphology", {
|
|
75750
|
+
in: "SourceAlpha",
|
|
75751
|
+
radius: "1",
|
|
75752
|
+
result: "shadowSpreadOuter2"
|
|
75753
|
+
}), (0,jsx_runtime.jsx)("feOffset", {
|
|
75754
|
+
dy: "2",
|
|
75755
|
+
in: "shadowSpreadOuter2",
|
|
75756
|
+
result: "shadowOffsetOuter2"
|
|
75757
|
+
}), (0,jsx_runtime.jsx)("feGaussianBlur", {
|
|
75758
|
+
in: "shadowOffsetOuter2",
|
|
75759
|
+
result: "shadowBlurOuter2",
|
|
75760
|
+
stdDeviation: "4"
|
|
75761
|
+
}), (0,jsx_runtime.jsx)("feColorMatrix", {
|
|
75762
|
+
in: "shadowBlurOuter2",
|
|
75763
|
+
result: "shadowMatrixOuter2",
|
|
75764
|
+
values: "0 0 0 0 0.098466735 0 0 0 0 0.0599695403 0 0 0 0 0.0599695403 0 0 0 0.07 0"
|
|
75765
|
+
}), (0,jsx_runtime.jsx)("feMorphology", {
|
|
75766
|
+
in: "SourceAlpha",
|
|
75767
|
+
radius: "2",
|
|
75768
|
+
result: "shadowSpreadOuter3"
|
|
75769
|
+
}), (0,jsx_runtime.jsx)("feOffset", {
|
|
75770
|
+
dy: "4",
|
|
75771
|
+
in: "shadowSpreadOuter3",
|
|
75772
|
+
result: "shadowOffsetOuter3"
|
|
75773
|
+
}), (0,jsx_runtime.jsx)("feGaussianBlur", {
|
|
75774
|
+
in: "shadowOffsetOuter3",
|
|
75775
|
+
result: "shadowBlurOuter3",
|
|
75776
|
+
stdDeviation: "8"
|
|
75777
|
+
}), (0,jsx_runtime.jsx)("feColorMatrix", {
|
|
75778
|
+
in: "shadowBlurOuter3",
|
|
75779
|
+
result: "shadowMatrixOuter3",
|
|
75780
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"
|
|
75781
|
+
}), (0,jsx_runtime.jsxs)("feMerge", {
|
|
75782
|
+
children: [(0,jsx_runtime.jsx)("feMergeNode", {
|
|
75783
|
+
in: "shadowMatrixOuter1"
|
|
75784
|
+
}), (0,jsx_runtime.jsx)("feMergeNode", {
|
|
75785
|
+
in: "shadowMatrixOuter2"
|
|
75786
|
+
}), (0,jsx_runtime.jsx)("feMergeNode", {
|
|
75787
|
+
in: "shadowMatrixOuter3"
|
|
75788
|
+
})]
|
|
75789
|
+
})]
|
|
75790
|
+
})]
|
|
75791
|
+
}), (0,jsx_runtime.jsxs)("g", {
|
|
75792
|
+
fill: "none",
|
|
75793
|
+
fillRule: "evenodd",
|
|
75794
|
+
stroke: "none",
|
|
75795
|
+
strokeWidth: "1",
|
|
75796
|
+
children: [(0,jsx_runtime.jsxs)("g", {
|
|
75797
|
+
children: [(0,jsx_runtime.jsx)("use", {
|
|
75798
|
+
fill: "#000",
|
|
75799
|
+
filter: "url(#filter-2)",
|
|
75800
|
+
xlinkHref: "#path-1"
|
|
75801
|
+
}), (0,jsx_runtime.jsx)("use", {
|
|
75802
|
+
fill: "#F0F2F5",
|
|
75803
|
+
xlinkHref: "#path-1"
|
|
75804
|
+
})]
|
|
75805
|
+
}), (0,jsx_runtime.jsx)("path", {
|
|
75806
|
+
fill: "#FFF",
|
|
75807
|
+
d: "M25 15h65v47c0 5.523-4.477 10-10 10H25V15z"
|
|
75808
|
+
}), (0,jsx_runtime.jsx)("path", {
|
|
75809
|
+
stroke: "#E6EAF0",
|
|
75810
|
+
strokeLinecap: "square",
|
|
75811
|
+
d: "M0.5 15.5L90.5 15.5"
|
|
75812
|
+
}), (0,jsx_runtime.jsx)("rect", {
|
|
75813
|
+
width: "14",
|
|
75814
|
+
height: "3",
|
|
75815
|
+
x: "4",
|
|
75816
|
+
y: "26",
|
|
75817
|
+
fill: "#D7DDE6",
|
|
75818
|
+
rx: "1.5"
|
|
75819
|
+
}), (0,jsx_runtime.jsx)("rect", {
|
|
75820
|
+
width: "9",
|
|
75821
|
+
height: "3",
|
|
75822
|
+
x: "4",
|
|
75823
|
+
y: "32",
|
|
75824
|
+
fill: "#D7DDE6",
|
|
75825
|
+
rx: "1.5"
|
|
75826
|
+
}), (0,jsx_runtime.jsx)("rect", {
|
|
75827
|
+
width: "9",
|
|
75828
|
+
height: "3",
|
|
75829
|
+
x: "4",
|
|
75830
|
+
y: "42",
|
|
75831
|
+
fill: "#E6EAF0",
|
|
75832
|
+
rx: "1.5"
|
|
75833
|
+
}), (0,jsx_runtime.jsx)("rect", {
|
|
75834
|
+
width: "9",
|
|
75835
|
+
height: "3",
|
|
75836
|
+
x: "4",
|
|
75837
|
+
y: "21",
|
|
75838
|
+
fill: "#E6EAF0",
|
|
75839
|
+
rx: "1.5"
|
|
75840
|
+
}), (0,jsx_runtime.jsx)("rect", {
|
|
75841
|
+
width: "9",
|
|
75842
|
+
height: "3",
|
|
75843
|
+
x: "4",
|
|
75844
|
+
y: "53",
|
|
75845
|
+
fill: "#D7DDE6",
|
|
75846
|
+
rx: "1.5"
|
|
75847
|
+
}), (0,jsx_runtime.jsx)("rect", {
|
|
75848
|
+
width: "14",
|
|
75849
|
+
height: "3",
|
|
75850
|
+
x: "4",
|
|
75851
|
+
y: "47",
|
|
75852
|
+
fill: "#D7DDE6",
|
|
75853
|
+
rx: "1.5"
|
|
75854
|
+
}), (0,jsx_runtime.jsx)("path", {
|
|
75855
|
+
stroke: "#E6EAF0",
|
|
75856
|
+
strokeLinecap: "square",
|
|
75857
|
+
d: "M25.5 15.5L25.5 72.5"
|
|
75858
|
+
})]
|
|
75859
|
+
})]
|
|
75860
|
+
});
|
|
75861
|
+
}
|
|
75862
|
+
;// CONCATENATED MODULE: ./packages/layout/es/components/SettingDrawer/icon/sub.js
|
|
75863
|
+
|
|
75864
|
+
function SubIcon() {
|
|
75865
|
+
return (0,jsx_runtime.jsxs)("svg", {
|
|
75866
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
75867
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
75868
|
+
width: "1em",
|
|
75869
|
+
height: "1em",
|
|
75870
|
+
viewBox: "0 0 104 104",
|
|
75871
|
+
children: [(0,jsx_runtime.jsxs)("defs", {
|
|
75872
|
+
children: [(0,jsx_runtime.jsx)("rect", {
|
|
75873
|
+
id: "path-1",
|
|
75874
|
+
width: "90",
|
|
75875
|
+
height: "72",
|
|
75876
|
+
x: "0",
|
|
75877
|
+
y: "0",
|
|
75878
|
+
rx: "10"
|
|
75879
|
+
}), (0,jsx_runtime.jsxs)("filter", {
|
|
75880
|
+
id: "filter-2",
|
|
75881
|
+
width: "152.2%",
|
|
75882
|
+
height: "165.3%",
|
|
75883
|
+
x: "-26.1%",
|
|
75884
|
+
y: "-27.1%",
|
|
75885
|
+
filterUnits: "objectBoundingBox",
|
|
75886
|
+
children: [(0,jsx_runtime.jsx)("feMorphology", {
|
|
75887
|
+
in: "SourceAlpha",
|
|
75888
|
+
radius: "0.25",
|
|
75889
|
+
result: "shadowSpreadOuter1"
|
|
75890
|
+
}), (0,jsx_runtime.jsx)("feOffset", {
|
|
75891
|
+
dy: "1",
|
|
75892
|
+
in: "shadowSpreadOuter1",
|
|
75893
|
+
result: "shadowOffsetOuter1"
|
|
75894
|
+
}), (0,jsx_runtime.jsx)("feGaussianBlur", {
|
|
75895
|
+
in: "shadowOffsetOuter1",
|
|
75896
|
+
result: "shadowBlurOuter1",
|
|
75897
|
+
stdDeviation: "1"
|
|
75898
|
+
}), (0,jsx_runtime.jsx)("feColorMatrix", {
|
|
75899
|
+
in: "shadowBlurOuter1",
|
|
75900
|
+
result: "shadowMatrixOuter1",
|
|
75901
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"
|
|
75902
|
+
}), (0,jsx_runtime.jsx)("feMorphology", {
|
|
75903
|
+
in: "SourceAlpha",
|
|
75904
|
+
radius: "1",
|
|
75905
|
+
result: "shadowSpreadOuter2"
|
|
75906
|
+
}), (0,jsx_runtime.jsx)("feOffset", {
|
|
75907
|
+
dy: "2",
|
|
75908
|
+
in: "shadowSpreadOuter2",
|
|
75909
|
+
result: "shadowOffsetOuter2"
|
|
75910
|
+
}), (0,jsx_runtime.jsx)("feGaussianBlur", {
|
|
75911
|
+
in: "shadowOffsetOuter2",
|
|
75912
|
+
result: "shadowBlurOuter2",
|
|
75913
|
+
stdDeviation: "4"
|
|
75914
|
+
}), (0,jsx_runtime.jsx)("feColorMatrix", {
|
|
75915
|
+
in: "shadowBlurOuter2",
|
|
75916
|
+
result: "shadowMatrixOuter2",
|
|
75917
|
+
values: "0 0 0 0 0.098466735 0 0 0 0 0.0599695403 0 0 0 0 0.0599695403 0 0 0 0.07 0"
|
|
75918
|
+
}), (0,jsx_runtime.jsx)("feMorphology", {
|
|
75919
|
+
in: "SourceAlpha",
|
|
75920
|
+
radius: "2",
|
|
75921
|
+
result: "shadowSpreadOuter3"
|
|
75922
|
+
}), (0,jsx_runtime.jsx)("feOffset", {
|
|
75923
|
+
dy: "4",
|
|
75924
|
+
in: "shadowSpreadOuter3",
|
|
75925
|
+
result: "shadowOffsetOuter3"
|
|
75926
|
+
}), (0,jsx_runtime.jsx)("feGaussianBlur", {
|
|
75927
|
+
in: "shadowOffsetOuter3",
|
|
75928
|
+
result: "shadowBlurOuter3",
|
|
75929
|
+
stdDeviation: "8"
|
|
75930
|
+
}), (0,jsx_runtime.jsx)("feColorMatrix", {
|
|
75931
|
+
in: "shadowBlurOuter3",
|
|
75932
|
+
result: "shadowMatrixOuter3",
|
|
75933
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"
|
|
75934
|
+
}), (0,jsx_runtime.jsxs)("feMerge", {
|
|
75935
|
+
children: [(0,jsx_runtime.jsx)("feMergeNode", {
|
|
75936
|
+
in: "shadowMatrixOuter1"
|
|
75937
|
+
}), (0,jsx_runtime.jsx)("feMergeNode", {
|
|
75938
|
+
in: "shadowMatrixOuter2"
|
|
75939
|
+
}), (0,jsx_runtime.jsx)("feMergeNode", {
|
|
75940
|
+
in: "shadowMatrixOuter3"
|
|
75941
|
+
})]
|
|
75942
|
+
})]
|
|
75943
|
+
})]
|
|
75944
|
+
}), (0,jsx_runtime.jsxs)("g", {
|
|
75945
|
+
fill: "none",
|
|
75946
|
+
fillRule: "evenodd",
|
|
75947
|
+
stroke: "none",
|
|
75948
|
+
strokeWidth: "1",
|
|
75949
|
+
children: [(0,jsx_runtime.jsxs)("g", {
|
|
75950
|
+
children: [(0,jsx_runtime.jsx)("use", {
|
|
75951
|
+
fill: "#000",
|
|
75952
|
+
filter: "url(#filter-2)",
|
|
75953
|
+
xlinkHref: "#path-1"
|
|
75954
|
+
}), (0,jsx_runtime.jsx)("use", {
|
|
75955
|
+
fill: "#F0F2F5",
|
|
75956
|
+
xlinkHref: "#path-1"
|
|
75957
|
+
})]
|
|
75958
|
+
}), (0,jsx_runtime.jsx)("path", {
|
|
75959
|
+
fill: "#FFF",
|
|
75960
|
+
d: "M26 0h55c5.523 0 10 4.477 10 10v8H26V0z"
|
|
75961
|
+
}), (0,jsx_runtime.jsx)("path", {
|
|
75962
|
+
fill: "#001529",
|
|
75963
|
+
d: "M10 0h19v72H10C4.477 72 0 67.523 0 62V10C0 4.477 4.477 0 10 0z"
|
|
75964
|
+
}), (0,jsx_runtime.jsx)("rect", {
|
|
75965
|
+
width: "14",
|
|
75966
|
+
height: "3",
|
|
75967
|
+
x: "5",
|
|
75968
|
+
y: "18",
|
|
75969
|
+
fill: "#D7DDE6",
|
|
75970
|
+
opacity: "0.2",
|
|
75971
|
+
rx: "1.5"
|
|
75972
|
+
}), (0,jsx_runtime.jsx)("rect", {
|
|
75973
|
+
width: "14",
|
|
75974
|
+
height: "3",
|
|
75975
|
+
x: "5",
|
|
75976
|
+
y: "42",
|
|
75977
|
+
fill: "#D7DDE6",
|
|
75978
|
+
opacity: "0.2",
|
|
75979
|
+
rx: "1.5"
|
|
75980
|
+
}), (0,jsx_runtime.jsx)("rect", {
|
|
75981
|
+
width: "9",
|
|
75982
|
+
height: "3",
|
|
75983
|
+
x: "9",
|
|
75984
|
+
y: "24",
|
|
75985
|
+
fill: "#D7DDE6",
|
|
75986
|
+
opacity: "0.2",
|
|
75987
|
+
rx: "1.5"
|
|
75988
|
+
}), (0,jsx_runtime.jsx)("rect", {
|
|
75989
|
+
width: "9",
|
|
75990
|
+
height: "3",
|
|
75991
|
+
x: "9",
|
|
75992
|
+
y: "48",
|
|
75993
|
+
fill: "#D7DDE6",
|
|
75994
|
+
opacity: "0.2",
|
|
75995
|
+
rx: "1.5"
|
|
75996
|
+
}), (0,jsx_runtime.jsx)("rect", {
|
|
75997
|
+
width: "9",
|
|
75998
|
+
height: "3",
|
|
75999
|
+
x: "9",
|
|
76000
|
+
y: "36",
|
|
76001
|
+
fill: "#D7DDE6",
|
|
76002
|
+
opacity: "0.2",
|
|
76003
|
+
rx: "1.5"
|
|
76004
|
+
}), (0,jsx_runtime.jsx)("rect", {
|
|
76005
|
+
width: "14",
|
|
76006
|
+
height: "3",
|
|
76007
|
+
x: "9",
|
|
76008
|
+
y: "30",
|
|
76009
|
+
fill: "#D7DDE6",
|
|
76010
|
+
opacity: "0.2",
|
|
76011
|
+
rx: "1.5"
|
|
76012
|
+
}), (0,jsx_runtime.jsx)("rect", {
|
|
76013
|
+
width: "14",
|
|
76014
|
+
height: "3",
|
|
76015
|
+
x: "9",
|
|
76016
|
+
y: "54",
|
|
76017
|
+
fill: "#D7DDE6",
|
|
76018
|
+
opacity: "0.2",
|
|
76019
|
+
rx: "1.5"
|
|
76020
|
+
})]
|
|
76021
|
+
})]
|
|
76022
|
+
});
|
|
76023
|
+
}
|
|
75700
76024
|
;// CONCATENATED MODULE: ./packages/layout/es/components/SettingDrawer/LayoutChange.js
|
|
75701
76025
|
|
|
75702
76026
|
|
|
@@ -75896,17 +76220,16 @@ var genSettingDrawerStyle = function genSettingDrawerStyle(token) {
|
|
|
75896
76220
|
height: '36px',
|
|
75897
76221
|
marginInlineEnd: '16px',
|
|
75898
76222
|
overflow: 'hidden',
|
|
75899
|
-
backgroundColor: '#f7f8fa',
|
|
75900
76223
|
borderRadius: '4px',
|
|
75901
76224
|
boxShadow: '0 1px 2.5px 0 rgba(0, 0, 0, 0.18)',
|
|
75902
76225
|
cursor: 'pointer',
|
|
76226
|
+
fontSize: 56,
|
|
75903
76227
|
'&::before': {
|
|
75904
76228
|
position: 'absolute',
|
|
75905
76229
|
insetBlockStart: 0,
|
|
75906
76230
|
insetInlineStart: 0,
|
|
75907
76231
|
width: '33%',
|
|
75908
76232
|
height: '100%',
|
|
75909
|
-
backgroundColor: '#fff',
|
|
75910
76233
|
content: "''"
|
|
75911
76234
|
},
|
|
75912
76235
|
'&::after': {
|
|
@@ -75915,7 +76238,6 @@ var genSettingDrawerStyle = function genSettingDrawerStyle(token) {
|
|
|
75915
76238
|
insetInlineStart: 0,
|
|
75916
76239
|
width: '100%',
|
|
75917
76240
|
height: '25%',
|
|
75918
|
-
backgroundColor: '#fff',
|
|
75919
76241
|
content: "''"
|
|
75920
76242
|
},
|
|
75921
76243
|
'&-realDark': {
|
|
@@ -75937,6 +76259,7 @@ var genSettingDrawerStyle = function genSettingDrawerStyle(token) {
|
|
|
75937
76259
|
}
|
|
75938
76260
|
},
|
|
75939
76261
|
'&-dark,&-side': {
|
|
76262
|
+
backgroundColor: '#f7f8fa',
|
|
75940
76263
|
'&::before': {
|
|
75941
76264
|
zIndex: '1',
|
|
75942
76265
|
backgroundColor: '#001529'
|
|
@@ -75946,6 +76269,7 @@ var genSettingDrawerStyle = function genSettingDrawerStyle(token) {
|
|
|
75946
76269
|
}
|
|
75947
76270
|
},
|
|
75948
76271
|
'&-top': {
|
|
76272
|
+
backgroundColor: '#f7f8fa',
|
|
75949
76273
|
'&::before': {
|
|
75950
76274
|
backgroundColor: 'transparent'
|
|
75951
76275
|
},
|
|
@@ -75954,15 +76278,16 @@ var genSettingDrawerStyle = function genSettingDrawerStyle(token) {
|
|
|
75954
76278
|
}
|
|
75955
76279
|
},
|
|
75956
76280
|
'&-mix': {
|
|
76281
|
+
backgroundColor: '#f7f8fa',
|
|
75957
76282
|
'&::before': {
|
|
75958
|
-
backgroundColor:
|
|
76283
|
+
backgroundColor: token.colorBgContainer
|
|
75959
76284
|
},
|
|
75960
76285
|
'&::after': {
|
|
75961
76286
|
backgroundColor: '#001529'
|
|
75962
76287
|
}
|
|
75963
76288
|
}
|
|
75964
76289
|
},
|
|
75965
|
-
'&-selectIcon': {
|
|
76290
|
+
'& &-selectIcon': {
|
|
75966
76291
|
position: 'absolute',
|
|
75967
76292
|
insetInlineEnd: '6px',
|
|
75968
76293
|
bottom: '4px',
|
|
@@ -75978,7 +76303,7 @@ var genSettingDrawerStyle = function genSettingDrawerStyle(token) {
|
|
|
75978
76303
|
'&-theme-color': {
|
|
75979
76304
|
marginBlockStart: '16px',
|
|
75980
76305
|
overflow: 'hidden',
|
|
75981
|
-
'&-block': {
|
|
76306
|
+
'& &-block': {
|
|
75982
76307
|
float: 'left',
|
|
75983
76308
|
width: '20px',
|
|
75984
76309
|
height: '20px',
|
|
@@ -76081,6 +76406,8 @@ var ThemeColor = function ThemeColor(_ref2) {
|
|
|
76081
76406
|
|
|
76082
76407
|
|
|
76083
76408
|
|
|
76409
|
+
|
|
76410
|
+
|
|
76084
76411
|
|
|
76085
76412
|
|
|
76086
76413
|
|
|
@@ -76311,6 +76638,7 @@ var SettingDrawer = function SettingDrawer(props) {
|
|
|
76311
76638
|
var _ref4 = settingState || {},
|
|
76312
76639
|
navTheme = _ref4.navTheme,
|
|
76313
76640
|
colorPrimary = _ref4.colorPrimary,
|
|
76641
|
+
siderMenuType = _ref4.siderMenuType,
|
|
76314
76642
|
layout = _ref4.layout,
|
|
76315
76643
|
colorWeak = _ref4.colorWeak;
|
|
76316
76644
|
|
|
@@ -76527,7 +76855,33 @@ var SettingDrawer = function SettingDrawer(props) {
|
|
|
76527
76855
|
return changeSetting('layout', value);
|
|
76528
76856
|
}
|
|
76529
76857
|
}, "layout")
|
|
76530
|
-
}), (0,jsx_runtime.jsx)(
|
|
76858
|
+
}), settingState.layout == 'side' || settingState.layout == 'mix' ? (0,jsx_runtime.jsx)(Body, {
|
|
76859
|
+
prefixCls: baseClassName,
|
|
76860
|
+
title: formatMessage({
|
|
76861
|
+
id: 'app.setting.sidermenutype'
|
|
76862
|
+
}),
|
|
76863
|
+
children: (0,jsx_runtime.jsx)(BlockCheckbox, {
|
|
76864
|
+
prefixCls: baseClassName,
|
|
76865
|
+
value: siderMenuType,
|
|
76866
|
+
configType: "siderMenuType",
|
|
76867
|
+
list: [{
|
|
76868
|
+
key: 'sub',
|
|
76869
|
+
icon: (0,jsx_runtime.jsx)(SubIcon, {}),
|
|
76870
|
+
title: formatMessage({
|
|
76871
|
+
id: 'app.setting.sidermenutype-sub'
|
|
76872
|
+
})
|
|
76873
|
+
}, {
|
|
76874
|
+
key: 'group',
|
|
76875
|
+
icon: (0,jsx_runtime.jsx)(GroupIcon, {}),
|
|
76876
|
+
title: formatMessage({
|
|
76877
|
+
id: 'app.setting.sidermenutype-group'
|
|
76878
|
+
})
|
|
76879
|
+
}],
|
|
76880
|
+
onChange: function onChange(value) {
|
|
76881
|
+
return changeSetting('siderMenuType', value);
|
|
76882
|
+
}
|
|
76883
|
+
}, "siderMenuType")
|
|
76884
|
+
}) : null, (0,jsx_runtime.jsx)(LayoutSetting, {
|
|
76531
76885
|
settings: settingState,
|
|
76532
76886
|
changeSetting: changeSetting
|
|
76533
76887
|
}), (0,jsx_runtime.jsx)(external_antd_.Divider, {}), (0,jsx_runtime.jsx)(Body, {
|
|
@@ -79088,6 +79442,7 @@ var genProLayoutStyle = function genProLayoutStyle(token) {
|
|
|
79088
79442
|
fontFamily: token.fontFamily
|
|
79089
79443
|
}
|
|
79090
79444
|
}, token.proComponentsCls, (_token$proComponentsC = {}, defineProperty_defineProperty(_token$proComponentsC, "& ".concat(token.componentCls), (_$concat12 = {}, defineProperty_defineProperty(_$concat12, "& ".concat(token.antCls, "-layout"), {
|
|
79445
|
+
display: 'flex',
|
|
79091
79446
|
backgroundColor: 'transparent'
|
|
79092
79447
|
}), defineProperty_defineProperty(_$concat12, "".concat(token.componentCls, "-content"), {
|
|
79093
79448
|
display: 'flex',
|
|
@@ -79541,6 +79896,7 @@ var BaseProLayout = function BaseProLayout(props) {
|
|
|
79541
79896
|
disableContentMargin = _ref3$disableContentM === void 0 ? true : _ref3$disableContentM,
|
|
79542
79897
|
propsSiderWidth = _ref3.siderWidth,
|
|
79543
79898
|
menu = _ref3.menu,
|
|
79899
|
+
siderMenuType = _ref3.siderMenuType,
|
|
79544
79900
|
propsIsChildrenLayout = _ref3.isChildrenLayout,
|
|
79545
79901
|
menuDataRender = _ref3.menuDataRender,
|
|
79546
79902
|
actionRef = _ref3.actionRef,
|
|
@@ -79702,6 +80058,7 @@ var BaseProLayout = function BaseProLayout(props) {
|
|
|
79702
80058
|
formatMessage: formatMessage,
|
|
79703
80059
|
breadcrumb: breadcrumb,
|
|
79704
80060
|
menu: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, menu), {}, {
|
|
80061
|
+
type: siderMenuType || (menu === null || menu === void 0 ? void 0 : menu.type),
|
|
79705
80062
|
loading: menuLoading
|
|
79706
80063
|
}),
|
|
79707
80064
|
layout: propsLayout
|
|
@@ -79853,11 +80210,12 @@ BaseProLayout.defaultProps = objectSpread2_objectSpread2(objectSpread2_objectSpr
|
|
|
79853
80210
|
});
|
|
79854
80211
|
|
|
79855
80212
|
var ProLayout_ProLayout = function ProLayout(props) {
|
|
80213
|
+
var colorPrimary = props.colorPrimary;
|
|
79856
80214
|
return (0,jsx_runtime.jsx)(external_antd_.ConfigProvider, {
|
|
79857
80215
|
theme: {
|
|
79858
80216
|
token: {
|
|
79859
80217
|
radiusBase: 4,
|
|
79860
|
-
colorPrimary: '#1677FF',
|
|
80218
|
+
colorPrimary: colorPrimary || '#1677FF',
|
|
79861
80219
|
colorError: '#ff4d4f',
|
|
79862
80220
|
colorInfo: '#1677FF'
|
|
79863
80221
|
}
|
|
@@ -106493,11 +106851,11 @@ function BaseProList(props) {
|
|
|
106493
106851
|
;// CONCATENATED MODULE: ./packages/components/src/version.ts
|
|
106494
106852
|
var version_version = {
|
|
106495
106853
|
"@ant-design/pro-card": "2.0.0-experimental.14",
|
|
106496
|
-
"@ant-design/pro-components": "2.0.0-experimental.
|
|
106854
|
+
"@ant-design/pro-components": "2.0.0-experimental.22",
|
|
106497
106855
|
"@ant-design/pro-descriptions": "2.0.0-experimental.14",
|
|
106498
106856
|
"@ant-design/pro-field": "2.0.0-experimental.14",
|
|
106499
106857
|
"@ant-design/pro-form": "2.0.0-experimental.14",
|
|
106500
|
-
"@ant-design/pro-layout": "7.0.0-experimental.
|
|
106858
|
+
"@ant-design/pro-layout": "7.0.0-experimental.22",
|
|
106501
106859
|
"@ant-design/pro-list": "2.0.0-experimental.15",
|
|
106502
106860
|
"@ant-design/pro-provider": "2.0.0-experimental.9",
|
|
106503
106861
|
"@ant-design/pro-skeleton": "2.0.0-experimental.7",
|