@ant-design/pro-components 2.0.0-experimental.21 → 2.0.0-experimental.24
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 +393 -33
- package/dist/components.min.js +1 -1
- package/es/version.js +2 -2
- package/package.json +2 -2
package/dist/components.js
CHANGED
|
@@ -71580,7 +71580,7 @@ var genFooterToolBarStyle = function genFooterToolBarStyle(token) {
|
|
|
71580
71580
|
lineHeight: '64px',
|
|
71581
71581
|
|
|
71582
71582
|
/* A way to reset the style of the component. */
|
|
71583
|
-
backgroundColor:
|
|
71583
|
+
backgroundColor: 'rgba(255, 255, 255, 0.58)',
|
|
71584
71584
|
borderTop: "1px solid ".concat(token.colorSplit),
|
|
71585
71585
|
'-webkit-backdrop-filter': 'blur(8px)',
|
|
71586
71586
|
backdropFilter: 'blur(8px)',
|
|
@@ -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
|
|
|
@@ -72763,9 +72766,12 @@ var style_genFooterToolBarStyle = function genFooterToolBarStyle(token) {
|
|
|
72763
72766
|
paddingBlock: 0,
|
|
72764
72767
|
paddingInline: 16,
|
|
72765
72768
|
textAlign: 'center',
|
|
72766
|
-
'&-
|
|
72769
|
+
'&-list': {
|
|
72767
72770
|
marginBlockEnd: 8,
|
|
72768
72771
|
color: token.colorTextSecondary,
|
|
72772
|
+
'&-link': {
|
|
72773
|
+
color: token.colorTextSecondary
|
|
72774
|
+
},
|
|
72769
72775
|
'*:not(:last-child)': {
|
|
72770
72776
|
marginInlineEnd: 8,
|
|
72771
72777
|
'&:hover': {
|
|
@@ -72817,9 +72823,10 @@ var GlobalFooter = function GlobalFooter(_ref) {
|
|
|
72817
72823
|
className: classnames_default()(baseClassName, hashId, className),
|
|
72818
72824
|
style: style,
|
|
72819
72825
|
children: [links && (0,jsx_runtime.jsx)("div", {
|
|
72820
|
-
className: "".concat(baseClassName, "-
|
|
72826
|
+
className: "".concat(baseClassName, "-list"),
|
|
72821
72827
|
children: links.map(function (link) {
|
|
72822
72828
|
return (0,jsx_runtime.jsx)("a", {
|
|
72829
|
+
className: "".concat(baseClassName, "-list-link"),
|
|
72823
72830
|
title: link.key,
|
|
72824
72831
|
target: link.blankTarget ? '_blank' : '_self',
|
|
72825
72832
|
href: link.href,
|
|
@@ -74584,8 +74591,7 @@ var SiderMenu = function SiderMenu(props) {
|
|
|
74584
74591
|
});
|
|
74585
74592
|
|
|
74586
74593
|
var _useContext = (0,external_React_.useContext)(ProLayoutContext),
|
|
74587
|
-
sider = _useContext.sider
|
|
74588
|
-
header = _useContext.header;
|
|
74594
|
+
sider = _useContext.sider;
|
|
74589
74595
|
|
|
74590
74596
|
return (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
74591
74597
|
children: [fixSiderbar && !isMobile && !hideMenuWhenCollapsedClassName && (0,jsx_runtime.jsx)("div", {
|
|
@@ -74595,9 +74601,7 @@ var SiderMenu = function SiderMenu(props) {
|
|
|
74595
74601
|
flex: "0 0 ".concat(collapsed ? collapsedWidth : siderWidth, "px"),
|
|
74596
74602
|
maxWidth: collapsed ? collapsedWidth : siderWidth,
|
|
74597
74603
|
minWidth: collapsed ? collapsedWidth : siderWidth,
|
|
74598
|
-
transition: 'all 0.2s ease 0s'
|
|
74599
|
-
height: "calc(100% - ".concat(header.heightLayoutHeader, "px)"),
|
|
74600
|
-
marginBlockStart: "".concat(header.heightLayoutHeader, "px")
|
|
74604
|
+
transition: 'all 0.2s ease 0s'
|
|
74601
74605
|
}, style)
|
|
74602
74606
|
}), (0,jsx_runtime.jsxs)(Sider, {
|
|
74603
74607
|
collapsible: true,
|
|
@@ -75434,6 +75438,9 @@ var darkreader = __webpack_require__(897);
|
|
|
75434
75438
|
'app.setting.themecolor.daybreak': 'Daybreak Blue',
|
|
75435
75439
|
'app.setting.themecolor.geekblue': 'Geek Blue',
|
|
75436
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',
|
|
75437
75444
|
'app.setting.navigationmode': 'Navigation Mode',
|
|
75438
75445
|
'app.setting.regionalsettings': 'Regional Settings',
|
|
75439
75446
|
'app.setting.regionalsettings.header': 'Header',
|
|
@@ -75563,6 +75570,9 @@ var darkreader = __webpack_require__(897);
|
|
|
75563
75570
|
'app.setting.themecolor.geekblue': '极客蓝',
|
|
75564
75571
|
'app.setting.themecolor.purple': '酱紫',
|
|
75565
75572
|
'app.setting.navigationmode': '导航模式',
|
|
75573
|
+
'app.setting.sidermenutype': '侧边菜单类型',
|
|
75574
|
+
'app.setting.sidermenutype-sub': '经典模式',
|
|
75575
|
+
'app.setting.sidermenutype-group': '分组模式',
|
|
75566
75576
|
'app.setting.regionalsettings': '内容区域',
|
|
75567
75577
|
'app.setting.regionalsettings.header': '顶栏',
|
|
75568
75578
|
'app.setting.regionalsettings.menu': '菜单',
|
|
@@ -75670,17 +75680,20 @@ var BlockCheckbox = function BlockCheckbox(_ref) {
|
|
|
75670
75680
|
var domList = (list || []).map(function (item) {
|
|
75671
75681
|
return (0,jsx_runtime.jsx)(external_antd_.Tooltip, {
|
|
75672
75682
|
title: item.title,
|
|
75673
|
-
children: (0,jsx_runtime.
|
|
75683
|
+
children: (0,jsx_runtime.jsxs)("div", {
|
|
75674
75684
|
className: classnames_default()("".concat(baseClassName, "-item"), "".concat(baseClassName, "-item-").concat(item.key), "".concat(baseClassName, "-").concat(configType, "-item")),
|
|
75675
75685
|
onClick: function onClick() {
|
|
75676
75686
|
return onChange(item.key);
|
|
75677
75687
|
},
|
|
75678
|
-
children: (0,jsx_runtime.jsx)(icons_CheckOutlined, {
|
|
75688
|
+
children: [(0,jsx_runtime.jsx)(icons_CheckOutlined, {
|
|
75679
75689
|
className: "".concat(baseClassName, "-selectIcon"),
|
|
75680
75690
|
style: {
|
|
75681
75691
|
display: value === item.key ? 'block' : 'none'
|
|
75682
75692
|
}
|
|
75683
|
-
})
|
|
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]
|
|
75684
75697
|
})
|
|
75685
75698
|
}, item.key);
|
|
75686
75699
|
});
|
|
@@ -75693,6 +75706,321 @@ var BlockCheckbox = function BlockCheckbox(_ref) {
|
|
|
75693
75706
|
};
|
|
75694
75707
|
|
|
75695
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
|
+
}
|
|
75696
76024
|
;// CONCATENATED MODULE: ./packages/layout/es/components/SettingDrawer/LayoutChange.js
|
|
75697
76025
|
|
|
75698
76026
|
|
|
@@ -75892,17 +76220,17 @@ var genSettingDrawerStyle = function genSettingDrawerStyle(token) {
|
|
|
75892
76220
|
height: '36px',
|
|
75893
76221
|
marginInlineEnd: '16px',
|
|
75894
76222
|
overflow: 'hidden',
|
|
75895
|
-
backgroundColor: '#f7f8fa',
|
|
75896
76223
|
borderRadius: '4px',
|
|
75897
76224
|
boxShadow: '0 1px 2.5px 0 rgba(0, 0, 0, 0.18)',
|
|
75898
76225
|
cursor: 'pointer',
|
|
76226
|
+
fontSize: 56,
|
|
76227
|
+
lineHeight: 56,
|
|
75899
76228
|
'&::before': {
|
|
75900
76229
|
position: 'absolute',
|
|
75901
76230
|
insetBlockStart: 0,
|
|
75902
76231
|
insetInlineStart: 0,
|
|
75903
76232
|
width: '33%',
|
|
75904
76233
|
height: '100%',
|
|
75905
|
-
backgroundColor: '#fff',
|
|
75906
76234
|
content: "''"
|
|
75907
76235
|
},
|
|
75908
76236
|
'&::after': {
|
|
@@ -75911,7 +76239,6 @@ var genSettingDrawerStyle = function genSettingDrawerStyle(token) {
|
|
|
75911
76239
|
insetInlineStart: 0,
|
|
75912
76240
|
width: '100%',
|
|
75913
76241
|
height: '25%',
|
|
75914
|
-
backgroundColor: '#fff',
|
|
75915
76242
|
content: "''"
|
|
75916
76243
|
},
|
|
75917
76244
|
'&-realDark': {
|
|
@@ -75933,6 +76260,7 @@ var genSettingDrawerStyle = function genSettingDrawerStyle(token) {
|
|
|
75933
76260
|
}
|
|
75934
76261
|
},
|
|
75935
76262
|
'&-dark,&-side': {
|
|
76263
|
+
backgroundColor: '#f7f8fa',
|
|
75936
76264
|
'&::before': {
|
|
75937
76265
|
zIndex: '1',
|
|
75938
76266
|
backgroundColor: '#001529'
|
|
@@ -75942,6 +76270,7 @@ var genSettingDrawerStyle = function genSettingDrawerStyle(token) {
|
|
|
75942
76270
|
}
|
|
75943
76271
|
},
|
|
75944
76272
|
'&-top': {
|
|
76273
|
+
backgroundColor: '#f7f8fa',
|
|
75945
76274
|
'&::before': {
|
|
75946
76275
|
backgroundColor: 'transparent'
|
|
75947
76276
|
},
|
|
@@ -75950,15 +76279,16 @@ var genSettingDrawerStyle = function genSettingDrawerStyle(token) {
|
|
|
75950
76279
|
}
|
|
75951
76280
|
},
|
|
75952
76281
|
'&-mix': {
|
|
76282
|
+
backgroundColor: '#f7f8fa',
|
|
75953
76283
|
'&::before': {
|
|
75954
|
-
backgroundColor:
|
|
76284
|
+
backgroundColor: token.colorBgContainer
|
|
75955
76285
|
},
|
|
75956
76286
|
'&::after': {
|
|
75957
76287
|
backgroundColor: '#001529'
|
|
75958
76288
|
}
|
|
75959
76289
|
}
|
|
75960
76290
|
},
|
|
75961
|
-
'&-selectIcon': {
|
|
76291
|
+
'& &-selectIcon': {
|
|
75962
76292
|
position: 'absolute',
|
|
75963
76293
|
insetInlineEnd: '6px',
|
|
75964
76294
|
bottom: '4px',
|
|
@@ -75974,7 +76304,7 @@ var genSettingDrawerStyle = function genSettingDrawerStyle(token) {
|
|
|
75974
76304
|
'&-theme-color': {
|
|
75975
76305
|
marginBlockStart: '16px',
|
|
75976
76306
|
overflow: 'hidden',
|
|
75977
|
-
'&-block': {
|
|
76307
|
+
'& &-block': {
|
|
75978
76308
|
float: 'left',
|
|
75979
76309
|
width: '20px',
|
|
75980
76310
|
height: '20px',
|
|
@@ -76077,6 +76407,8 @@ var ThemeColor = function ThemeColor(_ref2) {
|
|
|
76077
76407
|
|
|
76078
76408
|
|
|
76079
76409
|
|
|
76410
|
+
|
|
76411
|
+
|
|
76080
76412
|
|
|
76081
76413
|
|
|
76082
76414
|
|
|
@@ -76307,6 +76639,7 @@ var SettingDrawer = function SettingDrawer(props) {
|
|
|
76307
76639
|
var _ref4 = settingState || {},
|
|
76308
76640
|
navTheme = _ref4.navTheme,
|
|
76309
76641
|
colorPrimary = _ref4.colorPrimary,
|
|
76642
|
+
siderMenuType = _ref4.siderMenuType,
|
|
76310
76643
|
layout = _ref4.layout,
|
|
76311
76644
|
colorWeak = _ref4.colorWeak;
|
|
76312
76645
|
|
|
@@ -76523,7 +76856,33 @@ var SettingDrawer = function SettingDrawer(props) {
|
|
|
76523
76856
|
return changeSetting('layout', value);
|
|
76524
76857
|
}
|
|
76525
76858
|
}, "layout")
|
|
76526
|
-
}), (0,jsx_runtime.jsx)(
|
|
76859
|
+
}), settingState.layout == 'side' || settingState.layout == 'mix' ? (0,jsx_runtime.jsx)(Body, {
|
|
76860
|
+
prefixCls: baseClassName,
|
|
76861
|
+
title: formatMessage({
|
|
76862
|
+
id: 'app.setting.sidermenutype'
|
|
76863
|
+
}),
|
|
76864
|
+
children: (0,jsx_runtime.jsx)(BlockCheckbox, {
|
|
76865
|
+
prefixCls: baseClassName,
|
|
76866
|
+
value: siderMenuType,
|
|
76867
|
+
configType: "siderMenuType",
|
|
76868
|
+
list: [{
|
|
76869
|
+
key: 'sub',
|
|
76870
|
+
icon: (0,jsx_runtime.jsx)(SubIcon, {}),
|
|
76871
|
+
title: formatMessage({
|
|
76872
|
+
id: 'app.setting.sidermenutype-sub'
|
|
76873
|
+
})
|
|
76874
|
+
}, {
|
|
76875
|
+
key: 'group',
|
|
76876
|
+
icon: (0,jsx_runtime.jsx)(GroupIcon, {}),
|
|
76877
|
+
title: formatMessage({
|
|
76878
|
+
id: 'app.setting.sidermenutype-group'
|
|
76879
|
+
})
|
|
76880
|
+
}],
|
|
76881
|
+
onChange: function onChange(value) {
|
|
76882
|
+
return changeSetting('siderMenuType', value);
|
|
76883
|
+
}
|
|
76884
|
+
}, "siderMenuType")
|
|
76885
|
+
}) : null, (0,jsx_runtime.jsx)(LayoutSetting, {
|
|
76527
76886
|
settings: settingState,
|
|
76528
76887
|
changeSetting: changeSetting
|
|
76529
76888
|
}), (0,jsx_runtime.jsx)(external_antd_.Divider, {}), (0,jsx_runtime.jsx)(Body, {
|
|
@@ -79084,6 +79443,7 @@ var genProLayoutStyle = function genProLayoutStyle(token) {
|
|
|
79084
79443
|
fontFamily: token.fontFamily
|
|
79085
79444
|
}
|
|
79086
79445
|
}, token.proComponentsCls, (_token$proComponentsC = {}, defineProperty_defineProperty(_token$proComponentsC, "& ".concat(token.componentCls), (_$concat12 = {}, defineProperty_defineProperty(_$concat12, "& ".concat(token.antCls, "-layout"), {
|
|
79446
|
+
display: 'flex',
|
|
79087
79447
|
backgroundColor: 'transparent'
|
|
79088
79448
|
}), defineProperty_defineProperty(_$concat12, "".concat(token.componentCls, "-content"), {
|
|
79089
79449
|
display: 'flex',
|
|
@@ -79091,9 +79451,6 @@ var genProLayoutStyle = function genProLayoutStyle(token) {
|
|
|
79091
79451
|
width: '100%',
|
|
79092
79452
|
backgroundColor: 'transparent',
|
|
79093
79453
|
position: 'relative',
|
|
79094
|
-
'> *': {
|
|
79095
|
-
width: '100%'
|
|
79096
|
-
},
|
|
79097
79454
|
'*': {
|
|
79098
79455
|
boxSizing: 'border-box'
|
|
79099
79456
|
},
|
|
@@ -79540,6 +79897,7 @@ var BaseProLayout = function BaseProLayout(props) {
|
|
|
79540
79897
|
disableContentMargin = _ref3$disableContentM === void 0 ? true : _ref3$disableContentM,
|
|
79541
79898
|
propsSiderWidth = _ref3.siderWidth,
|
|
79542
79899
|
menu = _ref3.menu,
|
|
79900
|
+
siderMenuType = _ref3.siderMenuType,
|
|
79543
79901
|
propsIsChildrenLayout = _ref3.isChildrenLayout,
|
|
79544
79902
|
menuDataRender = _ref3.menuDataRender,
|
|
79545
79903
|
actionRef = _ref3.actionRef,
|
|
@@ -79701,6 +80059,7 @@ var BaseProLayout = function BaseProLayout(props) {
|
|
|
79701
80059
|
formatMessage: formatMessage,
|
|
79702
80060
|
breadcrumb: breadcrumb,
|
|
79703
80061
|
menu: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, menu), {}, {
|
|
80062
|
+
type: siderMenuType || (menu === null || menu === void 0 ? void 0 : menu.type),
|
|
79704
80063
|
loading: menuLoading
|
|
79705
80064
|
}),
|
|
79706
80065
|
layout: propsLayout
|
|
@@ -79852,11 +80211,12 @@ BaseProLayout.defaultProps = objectSpread2_objectSpread2(objectSpread2_objectSpr
|
|
|
79852
80211
|
});
|
|
79853
80212
|
|
|
79854
80213
|
var ProLayout_ProLayout = function ProLayout(props) {
|
|
80214
|
+
var colorPrimary = props.colorPrimary;
|
|
79855
80215
|
return (0,jsx_runtime.jsx)(external_antd_.ConfigProvider, {
|
|
79856
80216
|
theme: {
|
|
79857
80217
|
token: {
|
|
79858
80218
|
radiusBase: 4,
|
|
79859
|
-
colorPrimary: '#1677FF',
|
|
80219
|
+
colorPrimary: colorPrimary || '#1677FF',
|
|
79860
80220
|
colorError: '#ff4d4f',
|
|
79861
80221
|
colorInfo: '#1677FF'
|
|
79862
80222
|
}
|
|
@@ -106492,11 +106852,11 @@ function BaseProList(props) {
|
|
|
106492
106852
|
;// CONCATENATED MODULE: ./packages/components/src/version.ts
|
|
106493
106853
|
var version_version = {
|
|
106494
106854
|
"@ant-design/pro-card": "2.0.0-experimental.14",
|
|
106495
|
-
"@ant-design/pro-components": "2.0.0-experimental.
|
|
106855
|
+
"@ant-design/pro-components": "2.0.0-experimental.23",
|
|
106496
106856
|
"@ant-design/pro-descriptions": "2.0.0-experimental.14",
|
|
106497
106857
|
"@ant-design/pro-field": "2.0.0-experimental.14",
|
|
106498
106858
|
"@ant-design/pro-form": "2.0.0-experimental.14",
|
|
106499
|
-
"@ant-design/pro-layout": "7.0.0-experimental.
|
|
106859
|
+
"@ant-design/pro-layout": "7.0.0-experimental.23",
|
|
106500
106860
|
"@ant-design/pro-list": "2.0.0-experimental.15",
|
|
106501
106861
|
"@ant-design/pro-provider": "2.0.0-experimental.9",
|
|
106502
106862
|
"@ant-design/pro-skeleton": "2.0.0-experimental.7",
|