@icos-desktop/react-components 2.0.0-beta.1.0.3 → 2.0.0-beta.1.0.5
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/build/index.esm.js +648 -442
- package/build/index.js +648 -442
- package/build/index.umd.js +648 -442
- package/build/types/components/SenseCreate/ccos.d.ts +1 -0
- package/package.json +1 -1
package/build/index.umd.js
CHANGED
@@ -12130,7 +12130,7 @@
|
|
12130
12130
|
};
|
12131
12131
|
};
|
12132
12132
|
|
12133
|
-
function genSizeMapToken(token) {
|
12133
|
+
function genSizeMapToken$1(token) {
|
12134
12134
|
const {
|
12135
12135
|
sizeUnit,
|
12136
12136
|
sizeStep
|
@@ -12156,13 +12156,13 @@
|
|
12156
12156
|
};
|
12157
12157
|
}
|
12158
12158
|
|
12159
|
-
const getAlphaColor$
|
12160
|
-
const getSolidColor = (baseColor, brightness) => {
|
12159
|
+
const getAlphaColor$2 = (baseColor, alpha) => new TinyColor(baseColor).setAlpha(alpha).toRgbString();
|
12160
|
+
const getSolidColor$1 = (baseColor, brightness) => {
|
12161
12161
|
const instance = new TinyColor(baseColor);
|
12162
12162
|
return instance.darken(brightness).toHexString();
|
12163
12163
|
};
|
12164
12164
|
|
12165
|
-
const generateColorPalettes = baseColor => {
|
12165
|
+
const generateColorPalettes$1 = baseColor => {
|
12166
12166
|
const colors = generate$2(baseColor);
|
12167
12167
|
return {
|
12168
12168
|
1: colors[0],
|
@@ -12180,34 +12180,34 @@
|
|
12180
12180
|
// 10: colors[9],
|
12181
12181
|
};
|
12182
12182
|
};
|
12183
|
-
const generateNeutralColorPalettes = (bgBaseColor, textBaseColor) => {
|
12183
|
+
const generateNeutralColorPalettes$1 = (bgBaseColor, textBaseColor) => {
|
12184
12184
|
const colorBgBase = bgBaseColor || '#fff';
|
12185
12185
|
const colorTextBase = textBaseColor || '#000';
|
12186
12186
|
return {
|
12187
12187
|
colorBgBase,
|
12188
12188
|
colorTextBase,
|
12189
|
-
colorText: getAlphaColor$
|
12190
|
-
colorTextSecondary: getAlphaColor$
|
12191
|
-
colorTextTertiary: getAlphaColor$
|
12192
|
-
colorTextQuaternary: getAlphaColor$
|
12193
|
-
colorFill: getAlphaColor$
|
12194
|
-
colorFillSecondary: getAlphaColor$
|
12195
|
-
colorFillTertiary: getAlphaColor$
|
12196
|
-
colorFillQuaternary: getAlphaColor$
|
12197
|
-
colorBgSolid: getAlphaColor$
|
12198
|
-
colorBgSolidHover: getAlphaColor$
|
12199
|
-
colorBgSolidActive: getAlphaColor$
|
12200
|
-
colorBgLayout: getSolidColor(colorBgBase, 4),
|
12201
|
-
colorBgContainer: getSolidColor(colorBgBase, 0),
|
12202
|
-
colorBgElevated: getSolidColor(colorBgBase, 0),
|
12203
|
-
colorBgSpotlight: getAlphaColor$
|
12189
|
+
colorText: getAlphaColor$2(colorTextBase, 0.88),
|
12190
|
+
colorTextSecondary: getAlphaColor$2(colorTextBase, 0.65),
|
12191
|
+
colorTextTertiary: getAlphaColor$2(colorTextBase, 0.45),
|
12192
|
+
colorTextQuaternary: getAlphaColor$2(colorTextBase, 0.25),
|
12193
|
+
colorFill: getAlphaColor$2(colorTextBase, 0.15),
|
12194
|
+
colorFillSecondary: getAlphaColor$2(colorTextBase, 0.06),
|
12195
|
+
colorFillTertiary: getAlphaColor$2(colorTextBase, 0.04),
|
12196
|
+
colorFillQuaternary: getAlphaColor$2(colorTextBase, 0.02),
|
12197
|
+
colorBgSolid: getAlphaColor$2(colorTextBase, 1),
|
12198
|
+
colorBgSolidHover: getAlphaColor$2(colorTextBase, 0.75),
|
12199
|
+
colorBgSolidActive: getAlphaColor$2(colorTextBase, 0.95),
|
12200
|
+
colorBgLayout: getSolidColor$1(colorBgBase, 4),
|
12201
|
+
colorBgContainer: getSolidColor$1(colorBgBase, 0),
|
12202
|
+
colorBgElevated: getSolidColor$1(colorBgBase, 0),
|
12203
|
+
colorBgSpotlight: getAlphaColor$2(colorTextBase, 0.85),
|
12204
12204
|
colorBgBlur: 'transparent',
|
12205
|
-
colorBorder: getSolidColor(colorBgBase, 15),
|
12206
|
-
colorBorderSecondary: getSolidColor(colorBgBase, 6)
|
12205
|
+
colorBorder: getSolidColor$1(colorBgBase, 15),
|
12206
|
+
colorBorderSecondary: getSolidColor$1(colorBgBase, 6)
|
12207
12207
|
};
|
12208
12208
|
};
|
12209
12209
|
|
12210
|
-
function derivative(token) {
|
12210
|
+
function derivative$2(token) {
|
12211
12211
|
// pink is deprecated name of magenta, keep this for backwards compatibility
|
12212
12212
|
presetPrimaryColors$1.pink = presetPrimaryColors$1.magenta;
|
12213
12213
|
presetPalettes$1.pink = presetPalettes$1.magenta;
|
@@ -12224,12 +12224,12 @@
|
|
12224
12224
|
return prev;
|
12225
12225
|
}, {});
|
12226
12226
|
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, token), colorPalettes), genColorMapToken(token, {
|
12227
|
-
generateColorPalettes,
|
12228
|
-
generateNeutralColorPalettes
|
12229
|
-
})), genFontMapToken(token.fontSize)), genSizeMapToken(token)), genControlHeight(token)), genCommonMapToken(token));
|
12227
|
+
generateColorPalettes: generateColorPalettes$1,
|
12228
|
+
generateNeutralColorPalettes: generateNeutralColorPalettes$1
|
12229
|
+
})), genFontMapToken(token.fontSize)), genSizeMapToken$1(token)), genControlHeight(token)), genCommonMapToken(token));
|
12230
12230
|
}
|
12231
12231
|
|
12232
|
-
const defaultTheme = createTheme(derivative);
|
12232
|
+
const defaultTheme$1 = createTheme(derivative$2);
|
12233
12233
|
// ================================ Context =================================
|
12234
12234
|
// To ensure snapshot stable. We disable hashed in test env.
|
12235
12235
|
const defaultConfig = {
|
@@ -13111,7 +13111,7 @@
|
|
13111
13111
|
function isStableColor(color) {
|
13112
13112
|
return color >= 0 && color <= 255;
|
13113
13113
|
}
|
13114
|
-
function getAlphaColor(frontColor, backgroundColor) {
|
13114
|
+
function getAlphaColor$1(frontColor, backgroundColor) {
|
13115
13115
|
const {
|
13116
13116
|
r: fR,
|
13117
13117
|
g: fG,
|
@@ -13194,7 +13194,7 @@
|
|
13194
13194
|
colorBgContainerDisabled: mergedToken.colorFillTertiary,
|
13195
13195
|
// ============== Split ============== //
|
13196
13196
|
colorBorderBg: mergedToken.colorBgContainer,
|
13197
|
-
colorSplit: getAlphaColor(mergedToken.colorBorderSecondary, mergedToken.colorBgContainer),
|
13197
|
+
colorSplit: getAlphaColor$1(mergedToken.colorBorderSecondary, mergedToken.colorBgContainer),
|
13198
13198
|
// ============== Text ============== //
|
13199
13199
|
colorTextPlaceholder: mergedToken.colorTextQuaternary,
|
13200
13200
|
colorTextDisabled: mergedToken.colorTextQuaternary,
|
@@ -13207,8 +13207,8 @@
|
|
13207
13207
|
colorBgTextActive: mergedToken.colorFill,
|
13208
13208
|
colorIcon: mergedToken.colorTextTertiary,
|
13209
13209
|
colorIconHover: mergedToken.colorText,
|
13210
|
-
colorErrorOutline: getAlphaColor(mergedToken.colorErrorBg, mergedToken.colorBgContainer),
|
13211
|
-
colorWarningOutline: getAlphaColor(mergedToken.colorWarningBg, mergedToken.colorBgContainer),
|
13210
|
+
colorErrorOutline: getAlphaColor$1(mergedToken.colorErrorBg, mergedToken.colorBgContainer),
|
13211
|
+
colorWarningOutline: getAlphaColor$1(mergedToken.colorWarningBg, mergedToken.colorBgContainer),
|
13212
13212
|
// Font
|
13213
13213
|
fontSizeIcon: mergedToken.fontSizeSM,
|
13214
13214
|
// Line
|
@@ -13223,7 +13223,7 @@
|
|
13223
13223
|
controlItemBgActiveHover: mergedToken.colorPrimaryBgHover,
|
13224
13224
|
controlItemBgActiveDisabled: mergedToken.colorFill,
|
13225
13225
|
controlTmpOutline: mergedToken.colorFillQuaternary,
|
13226
|
-
controlOutline: getAlphaColor(mergedToken.colorPrimaryBg, mergedToken.colorBgContainer),
|
13226
|
+
controlOutline: getAlphaColor$1(mergedToken.colorPrimaryBg, mergedToken.colorBgContainer),
|
13227
13227
|
lineType: mergedToken.lineType,
|
13228
13228
|
borderRadius: mergedToken.borderRadius,
|
13229
13229
|
borderRadiusXS: mergedToken.borderRadiusXS,
|
@@ -13411,7 +13411,7 @@
|
|
13411
13411
|
return mergedDerivativeToken;
|
13412
13412
|
};
|
13413
13413
|
// ================================== Hook ==================================
|
13414
|
-
function useToken() {
|
13414
|
+
function useToken$1() {
|
13415
13415
|
const {
|
13416
13416
|
token: rootDesignToken,
|
13417
13417
|
hashed,
|
@@ -13420,7 +13420,7 @@
|
|
13420
13420
|
cssVar
|
13421
13421
|
} = React.useContext(DesignTokenContext);
|
13422
13422
|
const salt = `${version$1}-${hashed || ''}`;
|
13423
|
-
const mergedTheme = theme || defaultTheme;
|
13423
|
+
const mergedTheme = theme || defaultTheme$1;
|
13424
13424
|
const [token, hashId, realToken] = useCacheToken(mergedTheme, [seedToken, rootDesignToken], {
|
13425
13425
|
salt,
|
13426
13426
|
override,
|
@@ -13576,7 +13576,7 @@
|
|
13576
13576
|
});
|
13577
13577
|
|
13578
13578
|
const useResetIconStyle = (iconPrefixCls, csp) => {
|
13579
|
-
const [theme, token] = useToken();
|
13579
|
+
const [theme, token] = useToken$1();
|
13580
13580
|
// Generate style for icons
|
13581
13581
|
return useStyleRegister({
|
13582
13582
|
theme,
|
@@ -13613,7 +13613,7 @@
|
|
13613
13613
|
};
|
13614
13614
|
},
|
13615
13615
|
useToken: () => {
|
13616
|
-
const [theme, realToken, hashId, token, cssVar] = useToken();
|
13616
|
+
const [theme, realToken, hashId, token, cssVar] = useToken$1();
|
13617
13617
|
return {
|
13618
13618
|
theme,
|
13619
13619
|
realToken,
|
@@ -14531,7 +14531,7 @@
|
|
14531
14531
|
const {
|
14532
14532
|
children
|
14533
14533
|
} = props;
|
14534
|
-
const [, token] = useToken();
|
14534
|
+
const [, token] = useToken$1();
|
14535
14535
|
const {
|
14536
14536
|
motion
|
14537
14537
|
} = token;
|
@@ -14882,7 +14882,7 @@
|
|
14882
14882
|
cssVar
|
14883
14883
|
} = _a,
|
14884
14884
|
rest = __rest$10(_a, ["algorithm", "token", "components", "cssVar"]);
|
14885
|
-
const themeObj = algorithm && (!Array.isArray(algorithm) || algorithm.length > 0) ? createTheme(algorithm) : defaultTheme;
|
14885
|
+
const themeObj = algorithm && (!Array.isArray(algorithm) || algorithm.length > 0) ? createTheme(algorithm) : defaultTheme$1;
|
14886
14886
|
const parsedComponents = {};
|
14887
14887
|
Object.entries(components || {}).forEach(_ref => {
|
14888
14888
|
let [componentName, componentToken] = _ref;
|
@@ -15091,7 +15091,7 @@
|
|
15091
15091
|
* @param prefixCls
|
15092
15092
|
*/
|
15093
15093
|
const useCSSVarCls = prefixCls => {
|
15094
|
-
const [,,,, cssVar] = useToken();
|
15094
|
+
const [,,,, cssVar] = useToken$1();
|
15095
15095
|
return cssVar ? `${prefixCls}-css-var` : '';
|
15096
15096
|
};
|
15097
15097
|
|
@@ -16267,7 +16267,7 @@
|
|
16267
16267
|
return type in containerBaseZIndexOffset;
|
16268
16268
|
}
|
16269
16269
|
const useZIndex = (componentType, customZIndex) => {
|
16270
|
-
const [, token] = useToken();
|
16270
|
+
const [, token] = useToken$1();
|
16271
16271
|
const parentZIndex = React.useContext(zIndexContext);
|
16272
16272
|
const isContainer = isContainerType(componentType);
|
16273
16273
|
let result;
|
@@ -17418,7 +17418,7 @@
|
|
17418
17418
|
const {
|
17419
17419
|
wave
|
17420
17420
|
} = React__namespace.useContext(ConfigContext);
|
17421
|
-
const [, token, hashId] = useToken();
|
17421
|
+
const [, token, hashId] = useToken$1();
|
17422
17422
|
const showWave = useEvent(event => {
|
17423
17423
|
const node = nodeRef.current;
|
17424
17424
|
if ((wave === null || wave === void 0 ? void 0 : wave.disabled) || !node) {
|
@@ -17726,7 +17726,7 @@
|
|
17726
17726
|
} = props,
|
17727
17727
|
others = __rest$Y(props, ["prefixCls", "size", "className"]);
|
17728
17728
|
const prefixCls = getPrefixCls('btn-group', customizePrefixCls);
|
17729
|
-
const [,, hashId] = useToken();
|
17729
|
+
const [,, hashId] = useToken$1();
|
17730
17730
|
let sizeCls = '';
|
17731
17731
|
switch (size) {
|
17732
17732
|
case 'large':
|
@@ -27499,7 +27499,7 @@
|
|
27499
27499
|
[`${confirmPrefixCls}-rtl`]: direction === 'rtl'
|
27500
27500
|
}, props.className);
|
27501
27501
|
// ========================= zIndex =========================
|
27502
|
-
const [, token] = useToken();
|
27502
|
+
const [, token] = useToken$1();
|
27503
27503
|
const mergedZIndex = React__namespace.useMemo(() => {
|
27504
27504
|
if (zIndex !== undefined) {
|
27505
27505
|
return zIndex;
|
@@ -28472,7 +28472,7 @@
|
|
28472
28472
|
notification,
|
28473
28473
|
direction
|
28474
28474
|
} = React.useContext(ConfigContext);
|
28475
|
-
const [, token] = useToken();
|
28475
|
+
const [, token] = useToken$1();
|
28476
28476
|
const prefixCls = staticPrefixCls || getPrefixCls('notification');
|
28477
28477
|
// =============================== Style ===============================
|
28478
28478
|
const getStyle = placement => getPlacementStyle(placement, top !== null && top !== void 0 ? top : DEFAULT_OFFSET, bottom !== null && bottom !== void 0 ? bottom : DEFAULT_OFFSET);
|
@@ -35008,7 +35008,7 @@
|
|
35008
35008
|
const getMergedStatus = (contextStatus, customStatus) => customStatus || contextStatus;
|
35009
35009
|
|
35010
35010
|
const Empty$1 = () => {
|
35011
|
-
const [, token] = useToken();
|
35011
|
+
const [, token] = useToken$1();
|
35012
35012
|
const [locale] = useLocale$1('Empty');
|
35013
35013
|
const bgColor = new TinyColor(token.colorBgBase);
|
35014
35014
|
// Dark Theme need more dark of this
|
@@ -35066,7 +35066,7 @@
|
|
35066
35066
|
}
|
35067
35067
|
|
35068
35068
|
const Simple = () => {
|
35069
|
-
const [, token] = useToken();
|
35069
|
+
const [, token] = useToken$1();
|
35070
35070
|
const [locale] = useLocale$1('Empty');
|
35071
35071
|
const {
|
35072
35072
|
colorFill,
|
@@ -36513,7 +36513,7 @@
|
|
36513
36513
|
popupOverflow,
|
36514
36514
|
select
|
36515
36515
|
} = React__namespace.useContext(ConfigContext);
|
36516
|
-
const [, token] = useToken();
|
36516
|
+
const [, token] = useToken$1();
|
36517
36517
|
const listItemHeight = customListItemHeight !== null && customListItemHeight !== void 0 ? customListItemHeight : token === null || token === void 0 ? void 0 : token.controlHeight;
|
36518
36518
|
const prefixCls = getPrefixCls('select', customizePrefixCls);
|
36519
36519
|
const rootPrefixCls = getPrefixCls();
|
@@ -36698,7 +36698,7 @@
|
|
36698
36698
|
return token;
|
36699
36699
|
};
|
36700
36700
|
function useResponsiveObserver() {
|
36701
|
-
const [, token] = useToken();
|
36701
|
+
const [, token] = useToken$1();
|
36702
36702
|
const responsiveMap = getResponsiveMap(validateBreakpoints(token));
|
36703
36703
|
// To avoid repeat create instance, we add `useMemo` here.
|
36704
36704
|
return React.useMemo(() => {
|
@@ -37579,7 +37579,7 @@
|
|
37579
37579
|
autoAdjustOverflow = true
|
37580
37580
|
} = props;
|
37581
37581
|
const mergedShowArrow = !!arrow;
|
37582
|
-
const [, token] = useToken();
|
37582
|
+
const [, token] = useToken$1();
|
37583
37583
|
const {
|
37584
37584
|
getPopupContainer: getContextPopupContainer,
|
37585
37585
|
getPrefixCls,
|
@@ -42354,7 +42354,7 @@
|
|
42354
42354
|
const prefixCls = getPrefixCls('dropdown', customizePrefixCls);
|
42355
42355
|
const rootCls = useCSSVarCls(prefixCls);
|
42356
42356
|
const [wrapCSSVar, hashId, cssVarCls] = useStyle$k(prefixCls, rootCls);
|
42357
|
-
const [, token] = useToken();
|
42357
|
+
const [, token] = useToken$1();
|
42358
42358
|
const child = React__namespace.Children.only(children);
|
42359
42359
|
const dropdownTrigger = cloneElement(child, {
|
42360
42360
|
className: classNames(`${prefixCls}-trigger`, {
|
@@ -69820,7 +69820,7 @@
|
|
69820
69820
|
const {
|
69821
69821
|
xs
|
69822
69822
|
} = useBreakpoint(responsive);
|
69823
|
-
const [, token] = useToken();
|
69823
|
+
const [, token] = useToken$1();
|
69824
69824
|
const {
|
69825
69825
|
getPrefixCls,
|
69826
69826
|
direction,
|
@@ -79382,7 +79382,7 @@
|
|
79382
79382
|
dropIndicatorRender
|
79383
79383
|
});
|
79384
79384
|
const [wrapCSSVar, hashId, cssVarCls] = useStyle$2(prefixCls);
|
79385
|
-
const [, token] = useToken();
|
79385
|
+
const [, token] = useToken$1();
|
79386
79386
|
const itemHeight = token.paddingXS / 2 + (((_a = token.Tree) === null || _a === void 0 ? void 0 : _a.titleHeight) || token.controlHeightSM);
|
79387
79387
|
const draggableConfig = React.useMemo(() => {
|
79388
79388
|
if (!draggable) {
|
@@ -82322,7 +82322,7 @@
|
|
82322
82322
|
const rawData = dataSource || EMPTY_LIST;
|
82323
82323
|
const prefixCls = getPrefixCls('table', customizePrefixCls);
|
82324
82324
|
const dropdownPrefixCls = getPrefixCls('dropdown', customizeDropdownPrefixCls);
|
82325
|
-
const [, token] = useToken();
|
82325
|
+
const [, token] = useToken$1();
|
82326
82326
|
const rootCls = useCSSVarCls(prefixCls);
|
82327
82327
|
const [wrapCSSVar, hashId, cssVarCls] = useStyle$1(prefixCls, rootCls);
|
82328
82328
|
const mergedExpandable = Object.assign(Object.assign({
|
@@ -82647,6 +82647,152 @@
|
|
82647
82647
|
ForwardTable.displayName = 'Table';
|
82648
82648
|
}
|
82649
82649
|
|
82650
|
+
const getDesignToken = config => {
|
82651
|
+
const theme = (config === null || config === void 0 ? void 0 : config.algorithm) ? createTheme(config.algorithm) : createTheme(derivative$2);
|
82652
|
+
const mergedToken = Object.assign(Object.assign({}, seedToken), config === null || config === void 0 ? void 0 : config.token);
|
82653
|
+
return getComputedToken$1(mergedToken, {
|
82654
|
+
override: config === null || config === void 0 ? void 0 : config.token
|
82655
|
+
}, theme, formatToken);
|
82656
|
+
};
|
82657
|
+
|
82658
|
+
function genSizeMapToken(token) {
|
82659
|
+
const {
|
82660
|
+
sizeUnit,
|
82661
|
+
sizeStep
|
82662
|
+
} = token;
|
82663
|
+
const compactSizeStep = sizeStep - 2;
|
82664
|
+
return {
|
82665
|
+
sizeXXL: sizeUnit * (compactSizeStep + 10),
|
82666
|
+
sizeXL: sizeUnit * (compactSizeStep + 6),
|
82667
|
+
sizeLG: sizeUnit * (compactSizeStep + 2),
|
82668
|
+
sizeMD: sizeUnit * (compactSizeStep + 2),
|
82669
|
+
sizeMS: sizeUnit * (compactSizeStep + 1),
|
82670
|
+
size: sizeUnit * compactSizeStep,
|
82671
|
+
sizeSM: sizeUnit * compactSizeStep,
|
82672
|
+
sizeXS: sizeUnit * (compactSizeStep - 1),
|
82673
|
+
sizeXXS: sizeUnit * (compactSizeStep - 1)
|
82674
|
+
};
|
82675
|
+
}
|
82676
|
+
|
82677
|
+
const derivative$1 = (token, mapToken) => {
|
82678
|
+
const mergedMapToken = mapToken !== null && mapToken !== void 0 ? mapToken : derivative$2(token);
|
82679
|
+
const fontSize = mergedMapToken.fontSizeSM; // Smaller size font-size as base
|
82680
|
+
const controlHeight = mergedMapToken.controlHeight - 4;
|
82681
|
+
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, mergedMapToken), genSizeMapToken(mapToken !== null && mapToken !== void 0 ? mapToken : token)), genFontMapToken(fontSize)), {
|
82682
|
+
// controlHeight
|
82683
|
+
controlHeight
|
82684
|
+
}), genControlHeight(Object.assign(Object.assign({}, mergedMapToken), {
|
82685
|
+
controlHeight
|
82686
|
+
})));
|
82687
|
+
};
|
82688
|
+
|
82689
|
+
const getAlphaColor = (baseColor, alpha) => new TinyColor(baseColor).setAlpha(alpha).toRgbString();
|
82690
|
+
const getSolidColor = (baseColor, brightness) => {
|
82691
|
+
const instance = new TinyColor(baseColor);
|
82692
|
+
return instance.lighten(brightness).toHexString();
|
82693
|
+
};
|
82694
|
+
|
82695
|
+
const generateColorPalettes = baseColor => {
|
82696
|
+
const colors = generate$2(baseColor, {
|
82697
|
+
theme: 'dark'
|
82698
|
+
});
|
82699
|
+
return {
|
82700
|
+
1: colors[0],
|
82701
|
+
2: colors[1],
|
82702
|
+
3: colors[2],
|
82703
|
+
4: colors[3],
|
82704
|
+
5: colors[6],
|
82705
|
+
6: colors[5],
|
82706
|
+
7: colors[4],
|
82707
|
+
8: colors[6],
|
82708
|
+
9: colors[5],
|
82709
|
+
10: colors[4]
|
82710
|
+
// 8: colors[9],
|
82711
|
+
// 9: colors[8],
|
82712
|
+
// 10: colors[7],
|
82713
|
+
};
|
82714
|
+
};
|
82715
|
+
const generateNeutralColorPalettes = (bgBaseColor, textBaseColor) => {
|
82716
|
+
const colorBgBase = bgBaseColor || '#000';
|
82717
|
+
const colorTextBase = textBaseColor || '#fff';
|
82718
|
+
return {
|
82719
|
+
colorBgBase,
|
82720
|
+
colorTextBase,
|
82721
|
+
colorText: getAlphaColor(colorTextBase, 0.85),
|
82722
|
+
colorTextSecondary: getAlphaColor(colorTextBase, 0.65),
|
82723
|
+
colorTextTertiary: getAlphaColor(colorTextBase, 0.45),
|
82724
|
+
colorTextQuaternary: getAlphaColor(colorTextBase, 0.25),
|
82725
|
+
colorFill: getAlphaColor(colorTextBase, 0.18),
|
82726
|
+
colorFillSecondary: getAlphaColor(colorTextBase, 0.12),
|
82727
|
+
colorFillTertiary: getAlphaColor(colorTextBase, 0.08),
|
82728
|
+
colorFillQuaternary: getAlphaColor(colorTextBase, 0.04),
|
82729
|
+
colorBgSolid: getAlphaColor(colorTextBase, 0.95),
|
82730
|
+
colorBgSolidHover: getAlphaColor(colorTextBase, 1),
|
82731
|
+
colorBgSolidActive: getAlphaColor(colorTextBase, 0.9),
|
82732
|
+
colorBgElevated: getSolidColor(colorBgBase, 12),
|
82733
|
+
colorBgContainer: getSolidColor(colorBgBase, 8),
|
82734
|
+
colorBgLayout: getSolidColor(colorBgBase, 0),
|
82735
|
+
colorBgSpotlight: getSolidColor(colorBgBase, 26),
|
82736
|
+
colorBgBlur: getAlphaColor(colorTextBase, 0.04),
|
82737
|
+
colorBorder: getSolidColor(colorBgBase, 26),
|
82738
|
+
colorBorderSecondary: getSolidColor(colorBgBase, 19)
|
82739
|
+
};
|
82740
|
+
};
|
82741
|
+
|
82742
|
+
const derivative = (token, mapToken) => {
|
82743
|
+
const colorPalettes = Object.keys(defaultPresetColors).map(colorKey => {
|
82744
|
+
const colors = generate$2(token[colorKey], {
|
82745
|
+
theme: 'dark'
|
82746
|
+
});
|
82747
|
+
return new Array(10).fill(1).reduce((prev, _, i) => {
|
82748
|
+
prev[`${colorKey}-${i + 1}`] = colors[i];
|
82749
|
+
prev[`${colorKey}${i + 1}`] = colors[i];
|
82750
|
+
return prev;
|
82751
|
+
}, {});
|
82752
|
+
}).reduce((prev, cur) => {
|
82753
|
+
// biome-ignore lint/style/noParameterAssign: it is a reduce
|
82754
|
+
prev = Object.assign(Object.assign({}, prev), cur);
|
82755
|
+
return prev;
|
82756
|
+
}, {});
|
82757
|
+
const mergedMapToken = mapToken !== null && mapToken !== void 0 ? mapToken : derivative$2(token);
|
82758
|
+
return Object.assign(Object.assign(Object.assign({}, mergedMapToken), colorPalettes), genColorMapToken(token, {
|
82759
|
+
generateColorPalettes,
|
82760
|
+
generateNeutralColorPalettes
|
82761
|
+
}));
|
82762
|
+
};
|
82763
|
+
|
82764
|
+
// ZombieJ: We export as object to user but array in internal.
|
82765
|
+
// This is used to minimize the bundle size for antd package but safe to refactor as object also.
|
82766
|
+
// Please do not export internal `useToken` directly to avoid something export unexpected.
|
82767
|
+
/** Get current context Design Token. Will be different if you are using nest theme config. */
|
82768
|
+
function useToken() {
|
82769
|
+
const [theme, token, hashId] = useToken$1();
|
82770
|
+
return {
|
82771
|
+
theme,
|
82772
|
+
token,
|
82773
|
+
hashId
|
82774
|
+
};
|
82775
|
+
}
|
82776
|
+
var theme = {
|
82777
|
+
/** Default seedToken */
|
82778
|
+
defaultSeed: defaultConfig.token,
|
82779
|
+
useToken,
|
82780
|
+
defaultAlgorithm: derivative$2,
|
82781
|
+
darkAlgorithm: derivative,
|
82782
|
+
compactAlgorithm: derivative$1,
|
82783
|
+
getDesignToken,
|
82784
|
+
/**
|
82785
|
+
* @private Private variable
|
82786
|
+
* @warring 🔥 Do not use in production. 🔥
|
82787
|
+
*/
|
82788
|
+
defaultConfig,
|
82789
|
+
/**
|
82790
|
+
* @private Private variable
|
82791
|
+
* @warring 🔥 Do not use in production. 🔥
|
82792
|
+
*/
|
82793
|
+
_internalContext: DesignTokenContext
|
82794
|
+
};
|
82795
|
+
|
82650
82796
|
/**
|
82651
82797
|
* This function will try to call requestIdleCallback if available to save performance.
|
82652
82798
|
* No need `getLabel` here since already fetch on `rawLabeledValue`.
|
@@ -83959,7 +84105,7 @@
|
|
83959
84105
|
popupMatchSelectWidth: contextPopupMatchSelectWidth,
|
83960
84106
|
popupOverflow
|
83961
84107
|
} = React__namespace.useContext(ConfigContext);
|
83962
|
-
const [, token] = useToken();
|
84108
|
+
const [, token] = useToken$1();
|
83963
84109
|
const listItemHeight = customListItemHeight !== null && customListItemHeight !== void 0 ? customListItemHeight : (token === null || token === void 0 ? void 0 : token.controlHeightSM) + (token === null || token === void 0 ? void 0 : token.paddingXXS);
|
83964
84110
|
{
|
83965
84111
|
const warning = devUseWarning('TreeSelect');
|
@@ -224016,15 +224162,408 @@ ${indent}columns: ${matrix.columns}
|
|
224016
224162
|
};
|
224017
224163
|
var settings$f = applyRules(settings$e);
|
224018
224164
|
|
224165
|
+
var zh_CN$6 = {};
|
224166
|
+
|
224167
|
+
var interopRequireDefault = {exports: {}};
|
224168
|
+
|
224169
|
+
(function (module) {
|
224170
|
+
function _interopRequireDefault(e) {
|
224171
|
+
return e && e.__esModule ? e : {
|
224172
|
+
"default": e
|
224173
|
+
};
|
224174
|
+
}
|
224175
|
+
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
224176
|
+
} (interopRequireDefault));
|
224177
|
+
|
224178
|
+
var interopRequireDefaultExports = interopRequireDefault.exports;
|
224179
|
+
|
224180
|
+
var zh_CN$5 = {};
|
224181
|
+
|
224182
|
+
Object.defineProperty(zh_CN$5, "__esModule", {
|
224183
|
+
value: true
|
224184
|
+
});
|
224185
|
+
zh_CN$5.default = void 0;
|
224186
|
+
var locale$3 = {
|
224187
|
+
// Options
|
224188
|
+
items_per_page: '条/页',
|
224189
|
+
jump_to: '跳至',
|
224190
|
+
jump_to_confirm: '确定',
|
224191
|
+
page: '页',
|
224192
|
+
// Pagination
|
224193
|
+
prev_page: '上一页',
|
224194
|
+
next_page: '下一页',
|
224195
|
+
prev_5: '向前 5 页',
|
224196
|
+
next_5: '向后 5 页',
|
224197
|
+
prev_3: '向前 3 页',
|
224198
|
+
next_3: '向后 3 页',
|
224199
|
+
page_size: '页码'
|
224200
|
+
};
|
224201
|
+
zh_CN$5.default = locale$3;
|
224202
|
+
|
224203
|
+
var zh_CN$4 = {};
|
224204
|
+
|
224205
|
+
var zh_CN$3 = {};
|
224206
|
+
|
224207
|
+
var zh_CN$2 = {};
|
224208
|
+
|
224209
|
+
var objectSpread2 = {exports: {}};
|
224210
|
+
|
224211
|
+
var defineProperty = {exports: {}};
|
224212
|
+
|
224213
|
+
var toPropertyKey = {exports: {}};
|
224214
|
+
|
224215
|
+
var toPrimitive = {exports: {}};
|
224216
|
+
|
224217
|
+
(function (module) {
|
224218
|
+
var _typeof = _typeofExports["default"];
|
224219
|
+
function toPrimitive(t, r) {
|
224220
|
+
if ("object" != _typeof(t) || !t) return t;
|
224221
|
+
var e = t[Symbol.toPrimitive];
|
224222
|
+
if (void 0 !== e) {
|
224223
|
+
var i = e.call(t, r || "default");
|
224224
|
+
if ("object" != _typeof(i)) return i;
|
224225
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
224226
|
+
}
|
224227
|
+
return ("string" === r ? String : Number)(t);
|
224228
|
+
}
|
224229
|
+
module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
224230
|
+
} (toPrimitive));
|
224231
|
+
|
224232
|
+
var toPrimitiveExports = toPrimitive.exports;
|
224233
|
+
|
224234
|
+
(function (module) {
|
224235
|
+
var _typeof = _typeofExports["default"];
|
224236
|
+
var toPrimitive = toPrimitiveExports;
|
224237
|
+
function toPropertyKey(t) {
|
224238
|
+
var i = toPrimitive(t, "string");
|
224239
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
224240
|
+
}
|
224241
|
+
module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
224242
|
+
} (toPropertyKey));
|
224243
|
+
|
224244
|
+
var toPropertyKeyExports = toPropertyKey.exports;
|
224245
|
+
|
224246
|
+
(function (module) {
|
224247
|
+
var toPropertyKey = toPropertyKeyExports;
|
224248
|
+
function _defineProperty(e, r, t) {
|
224249
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
224250
|
+
value: t,
|
224251
|
+
enumerable: !0,
|
224252
|
+
configurable: !0,
|
224253
|
+
writable: !0
|
224254
|
+
}) : e[r] = t, e;
|
224255
|
+
}
|
224256
|
+
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
224257
|
+
} (defineProperty));
|
224258
|
+
|
224259
|
+
var definePropertyExports = defineProperty.exports;
|
224260
|
+
|
224261
|
+
(function (module) {
|
224262
|
+
var defineProperty = definePropertyExports;
|
224263
|
+
function ownKeys(e, r) {
|
224264
|
+
var t = Object.keys(e);
|
224265
|
+
if (Object.getOwnPropertySymbols) {
|
224266
|
+
var o = Object.getOwnPropertySymbols(e);
|
224267
|
+
r && (o = o.filter(function (r) {
|
224268
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
224269
|
+
})), t.push.apply(t, o);
|
224270
|
+
}
|
224271
|
+
return t;
|
224272
|
+
}
|
224273
|
+
function _objectSpread2(e) {
|
224274
|
+
for (var r = 1; r < arguments.length; r++) {
|
224275
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
224276
|
+
r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
|
224277
|
+
defineProperty(e, r, t[r]);
|
224278
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
224279
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
224280
|
+
});
|
224281
|
+
}
|
224282
|
+
return e;
|
224283
|
+
}
|
224284
|
+
module.exports = _objectSpread2, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
224285
|
+
} (objectSpread2));
|
224286
|
+
|
224287
|
+
var objectSpread2Exports = objectSpread2.exports;
|
224288
|
+
|
224289
|
+
var common = {};
|
224290
|
+
|
224291
|
+
Object.defineProperty(common, "__esModule", {
|
224292
|
+
value: true
|
224293
|
+
});
|
224294
|
+
common.commonLocale = void 0;
|
224295
|
+
common.commonLocale = {
|
224296
|
+
yearFormat: 'YYYY',
|
224297
|
+
dayFormat: 'D',
|
224298
|
+
cellMeridiemFormat: 'A',
|
224299
|
+
monthBeforeYear: true
|
224300
|
+
};
|
224301
|
+
|
224302
|
+
var _interopRequireDefault$3 = interopRequireDefaultExports.default;
|
224303
|
+
Object.defineProperty(zh_CN$2, "__esModule", {
|
224304
|
+
value: true
|
224305
|
+
});
|
224306
|
+
zh_CN$2.default = void 0;
|
224307
|
+
var _objectSpread2 = _interopRequireDefault$3(objectSpread2Exports);
|
224308
|
+
var _common = common;
|
224309
|
+
var locale$2 = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, _common.commonLocale), {}, {
|
224310
|
+
locale: 'zh_CN',
|
224311
|
+
today: '今天',
|
224312
|
+
now: '此刻',
|
224313
|
+
backToToday: '返回今天',
|
224314
|
+
ok: '确定',
|
224315
|
+
timeSelect: '选择时间',
|
224316
|
+
dateSelect: '选择日期',
|
224317
|
+
weekSelect: '选择周',
|
224318
|
+
clear: '清除',
|
224319
|
+
month: '月',
|
224320
|
+
year: '年',
|
224321
|
+
previousMonth: '上个月 (翻页上键)',
|
224322
|
+
nextMonth: '下个月 (翻页下键)',
|
224323
|
+
monthSelect: '选择月份',
|
224324
|
+
yearSelect: '选择年份',
|
224325
|
+
decadeSelect: '选择年代',
|
224326
|
+
previousYear: '上一年 (Control键加左方向键)',
|
224327
|
+
nextYear: '下一年 (Control键加右方向键)',
|
224328
|
+
previousDecade: '上一年代',
|
224329
|
+
nextDecade: '下一年代',
|
224330
|
+
previousCentury: '上一世纪',
|
224331
|
+
nextCentury: '下一世纪',
|
224332
|
+
yearFormat: 'YYYY年',
|
224333
|
+
cellDateFormat: 'D',
|
224334
|
+
monthBeforeYear: false
|
224335
|
+
});
|
224336
|
+
zh_CN$2.default = locale$2;
|
224337
|
+
|
224338
|
+
var zh_CN$1 = {};
|
224339
|
+
|
224340
|
+
Object.defineProperty(zh_CN$1, "__esModule", {
|
224341
|
+
value: true
|
224342
|
+
});
|
224343
|
+
zh_CN$1.default = void 0;
|
224344
|
+
const locale$1 = {
|
224345
|
+
placeholder: '请选择时间',
|
224346
|
+
rangePlaceholder: ['开始时间', '结束时间']
|
224347
|
+
};
|
224348
|
+
zh_CN$1.default = locale$1;
|
224349
|
+
|
224350
|
+
var _interopRequireDefault$2 = interopRequireDefaultExports.default;
|
224351
|
+
Object.defineProperty(zh_CN$3, "__esModule", {
|
224352
|
+
value: true
|
224353
|
+
});
|
224354
|
+
zh_CN$3.default = void 0;
|
224355
|
+
var _zh_CN$2 = _interopRequireDefault$2(zh_CN$2);
|
224356
|
+
var _zh_CN2$1 = _interopRequireDefault$2(zh_CN$1);
|
224357
|
+
// 统一合并为完整的 Locale
|
224358
|
+
const locale = {
|
224359
|
+
lang: Object.assign({
|
224360
|
+
placeholder: '请选择日期',
|
224361
|
+
yearPlaceholder: '请选择年份',
|
224362
|
+
quarterPlaceholder: '请选择季度',
|
224363
|
+
monthPlaceholder: '请选择月份',
|
224364
|
+
weekPlaceholder: '请选择周',
|
224365
|
+
rangePlaceholder: ['开始日期', '结束日期'],
|
224366
|
+
rangeYearPlaceholder: ['开始年份', '结束年份'],
|
224367
|
+
rangeMonthPlaceholder: ['开始月份', '结束月份'],
|
224368
|
+
rangeQuarterPlaceholder: ['开始季度', '结束季度'],
|
224369
|
+
rangeWeekPlaceholder: ['开始周', '结束周']
|
224370
|
+
}, _zh_CN$2.default),
|
224371
|
+
timePickerLocale: Object.assign({}, _zh_CN2$1.default)
|
224372
|
+
};
|
224373
|
+
// should add whitespace between char in Button
|
224374
|
+
locale.lang.ok = '确定';
|
224375
|
+
// All settings at:
|
224376
|
+
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
224377
|
+
zh_CN$3.default = locale;
|
224378
|
+
|
224379
|
+
var _interopRequireDefault$1 = interopRequireDefaultExports.default;
|
224380
|
+
Object.defineProperty(zh_CN$4, "__esModule", {
|
224381
|
+
value: true
|
224382
|
+
});
|
224383
|
+
zh_CN$4.default = void 0;
|
224384
|
+
var _zh_CN$1 = _interopRequireDefault$1(zh_CN$3);
|
224385
|
+
zh_CN$4.default = _zh_CN$1.default;
|
224386
|
+
|
224387
|
+
var _interopRequireDefault = interopRequireDefaultExports.default;
|
224388
|
+
Object.defineProperty(zh_CN$6, "__esModule", {
|
224389
|
+
value: true
|
224390
|
+
});
|
224391
|
+
zh_CN$6.default = void 0;
|
224392
|
+
var _zh_CN = _interopRequireDefault(zh_CN$5);
|
224393
|
+
var _zh_CN2 = _interopRequireDefault(zh_CN$4);
|
224394
|
+
var _zh_CN3 = _interopRequireDefault(zh_CN$3);
|
224395
|
+
var _zh_CN4 = _interopRequireDefault(zh_CN$1);
|
224396
|
+
const typeTemplate = '${label}不是一个有效的${type}';
|
224397
|
+
const localeValues = {
|
224398
|
+
locale: 'zh-cn',
|
224399
|
+
Pagination: _zh_CN.default,
|
224400
|
+
DatePicker: _zh_CN3.default,
|
224401
|
+
TimePicker: _zh_CN4.default,
|
224402
|
+
Calendar: _zh_CN2.default,
|
224403
|
+
// locales for all components
|
224404
|
+
global: {
|
224405
|
+
placeholder: '请选择'
|
224406
|
+
},
|
224407
|
+
Table: {
|
224408
|
+
filterTitle: '筛选',
|
224409
|
+
filterConfirm: '确定',
|
224410
|
+
filterReset: '重置',
|
224411
|
+
filterEmptyText: '无筛选项',
|
224412
|
+
filterCheckall: '全选',
|
224413
|
+
filterSearchPlaceholder: '在筛选项中搜索',
|
224414
|
+
emptyText: '暂无数据',
|
224415
|
+
selectAll: '全选当页',
|
224416
|
+
selectInvert: '反选当页',
|
224417
|
+
selectNone: '清空所有',
|
224418
|
+
selectionAll: '全选所有',
|
224419
|
+
sortTitle: '排序',
|
224420
|
+
expand: '展开行',
|
224421
|
+
collapse: '关闭行',
|
224422
|
+
triggerDesc: '点击降序',
|
224423
|
+
triggerAsc: '点击升序',
|
224424
|
+
cancelSort: '取消排序'
|
224425
|
+
},
|
224426
|
+
Modal: {
|
224427
|
+
okText: '确定',
|
224428
|
+
cancelText: '取消',
|
224429
|
+
justOkText: '知道了'
|
224430
|
+
},
|
224431
|
+
Tour: {
|
224432
|
+
Next: '下一步',
|
224433
|
+
Previous: '上一步',
|
224434
|
+
Finish: '结束导览'
|
224435
|
+
},
|
224436
|
+
Popconfirm: {
|
224437
|
+
cancelText: '取消',
|
224438
|
+
okText: '确定'
|
224439
|
+
},
|
224440
|
+
Transfer: {
|
224441
|
+
titles: ['', ''],
|
224442
|
+
searchPlaceholder: '请输入搜索内容',
|
224443
|
+
itemUnit: '项',
|
224444
|
+
itemsUnit: '项',
|
224445
|
+
remove: '删除',
|
224446
|
+
selectCurrent: '全选当页',
|
224447
|
+
removeCurrent: '删除当页',
|
224448
|
+
selectAll: '全选所有',
|
224449
|
+
deselectAll: '取消全选',
|
224450
|
+
removeAll: '删除全部',
|
224451
|
+
selectInvert: '反选当页'
|
224452
|
+
},
|
224453
|
+
Upload: {
|
224454
|
+
uploading: '文件上传中',
|
224455
|
+
removeFile: '删除文件',
|
224456
|
+
uploadError: '上传错误',
|
224457
|
+
previewFile: '预览文件',
|
224458
|
+
downloadFile: '下载文件'
|
224459
|
+
},
|
224460
|
+
Empty: {
|
224461
|
+
description: '暂无数据'
|
224462
|
+
},
|
224463
|
+
Icon: {
|
224464
|
+
icon: '图标'
|
224465
|
+
},
|
224466
|
+
Text: {
|
224467
|
+
edit: '编辑',
|
224468
|
+
copy: '复制',
|
224469
|
+
copied: '复制成功',
|
224470
|
+
expand: '展开',
|
224471
|
+
collapse: '收起'
|
224472
|
+
},
|
224473
|
+
Form: {
|
224474
|
+
optional: '(可选)',
|
224475
|
+
defaultValidateMessages: {
|
224476
|
+
default: '字段验证错误${label}',
|
224477
|
+
required: '请输入${label}',
|
224478
|
+
enum: '${label}必须是其中一个[${enum}]',
|
224479
|
+
whitespace: '${label}不能为空字符',
|
224480
|
+
date: {
|
224481
|
+
format: '${label}日期格式无效',
|
224482
|
+
parse: '${label}不能转换为日期',
|
224483
|
+
invalid: '${label}是一个无效日期'
|
224484
|
+
},
|
224485
|
+
types: {
|
224486
|
+
string: typeTemplate,
|
224487
|
+
method: typeTemplate,
|
224488
|
+
array: typeTemplate,
|
224489
|
+
object: typeTemplate,
|
224490
|
+
number: typeTemplate,
|
224491
|
+
date: typeTemplate,
|
224492
|
+
boolean: typeTemplate,
|
224493
|
+
integer: typeTemplate,
|
224494
|
+
float: typeTemplate,
|
224495
|
+
regexp: typeTemplate,
|
224496
|
+
email: typeTemplate,
|
224497
|
+
url: typeTemplate,
|
224498
|
+
hex: typeTemplate
|
224499
|
+
},
|
224500
|
+
string: {
|
224501
|
+
len: '${label}须为${len}个字符',
|
224502
|
+
min: '${label}最少${min}个字符',
|
224503
|
+
max: '${label}最多${max}个字符',
|
224504
|
+
range: '${label}须在${min}-${max}字符之间'
|
224505
|
+
},
|
224506
|
+
number: {
|
224507
|
+
len: '${label}必须等于${len}',
|
224508
|
+
min: '${label}最小值为${min}',
|
224509
|
+
max: '${label}最大值为${max}',
|
224510
|
+
range: '${label}须在${min}-${max}之间'
|
224511
|
+
},
|
224512
|
+
array: {
|
224513
|
+
len: '须为${len}个${label}',
|
224514
|
+
min: '最少${min}个${label}',
|
224515
|
+
max: '最多${max}个${label}',
|
224516
|
+
range: '${label}数量须在${min}-${max}之间'
|
224517
|
+
},
|
224518
|
+
pattern: {
|
224519
|
+
mismatch: '${label}与模式不匹配${pattern}'
|
224520
|
+
}
|
224521
|
+
}
|
224522
|
+
},
|
224523
|
+
Image: {
|
224524
|
+
preview: '预览'
|
224525
|
+
},
|
224526
|
+
QRCode: {
|
224527
|
+
expired: '二维码过期',
|
224528
|
+
refresh: '点击刷新',
|
224529
|
+
scanned: '已扫描'
|
224530
|
+
},
|
224531
|
+
ColorPicker: {
|
224532
|
+
presetEmpty: '暂无',
|
224533
|
+
transparent: '无色',
|
224534
|
+
singleColor: '单色',
|
224535
|
+
gradientColor: '渐变色'
|
224536
|
+
}
|
224537
|
+
};
|
224538
|
+
zh_CN$6.default = localeValues;
|
224539
|
+
|
224540
|
+
var zh_CN = zh_CN$6;
|
224541
|
+
|
224542
|
+
var zhCN = /*@__PURE__*/getDefaultExportFromCjs(zh_CN);
|
224543
|
+
|
224544
|
+
var defaultTheme = {
|
224545
|
+
algorithm: theme.darkAlgorithm,
|
224546
|
+
locale: zhCN,
|
224547
|
+
cssVar: {
|
224548
|
+
key: 'dt-css',
|
224549
|
+
// prefix: 'dt-root-ant'
|
224550
|
+
},
|
224551
|
+
// hashed: false,
|
224552
|
+
token: {
|
224553
|
+
borderRadius: 0,
|
224554
|
+
borderRadiusLG: 0,
|
224555
|
+
borderRadiusSM: 0,
|
224556
|
+
},
|
224557
|
+
};
|
224558
|
+
|
224019
224559
|
var CcosSenseCreate = function (props) {
|
224560
|
+
var theme = props.theme, restProps = __rest$13(props, ["theme"]);
|
224020
224561
|
var getProps = function () {
|
224021
|
-
var _props = __assign$h({},
|
224022
|
-
// if (!props.showSenseContextMenu) {
|
224023
|
-
// delete _props.senseContextMenuConfig;
|
224024
|
-
// }
|
224562
|
+
var _props = __assign$h({}, restProps);
|
224025
224563
|
return _props;
|
224026
224564
|
};
|
224027
|
-
return (React.createElement(
|
224565
|
+
return (React.createElement(ConfigProvider, __assign$h({}, (theme || defaultTheme)),
|
224566
|
+
React.createElement(SenseCreate, __assign$h({}, getProps()))));
|
224028
224567
|
};
|
224029
224568
|
CcosSenseCreate.settings = settings$f;
|
224030
224569
|
|
@@ -242292,7 +242831,54 @@ ${indent}columns: ${matrix.columns}
|
|
242292
242831
|
title: '内容信息卡片背景颜色',
|
242293
242832
|
group: 'style',
|
242294
242833
|
setter: 'colorSetter',
|
242295
|
-
}
|
242834
|
+
},
|
242835
|
+
{
|
242836
|
+
name: 'senseInfoTextColor',
|
242837
|
+
title: '文本颜色',
|
242838
|
+
group: 'style',
|
242839
|
+
setter: 'colorSetter',
|
242840
|
+
},
|
242841
|
+
{
|
242842
|
+
name: 'senseInfoTextHighlightColor',
|
242843
|
+
title: '高亮文本颜色',
|
242844
|
+
group: 'style',
|
242845
|
+
setter: 'colorSetter',
|
242846
|
+
},
|
242847
|
+
{
|
242848
|
+
name: 'senseInfoBorderColor',
|
242849
|
+
title: '表格边框颜色',
|
242850
|
+
group: 'style',
|
242851
|
+
setter: 'colorSetter',
|
242852
|
+
},
|
242853
|
+
{
|
242854
|
+
name: 'senseInfoBorderWidth',
|
242855
|
+
title: '表格边框宽度',
|
242856
|
+
group: 'style',
|
242857
|
+
setter: 'numberSetter',
|
242858
|
+
},
|
242859
|
+
{
|
242860
|
+
name: 'senseInfoBorderStyle',
|
242861
|
+
title: '表格边框样式',
|
242862
|
+
group: 'style',
|
242863
|
+
setter: 'selectSetter',
|
242864
|
+
options: [
|
242865
|
+
{ label: 'None', value: 'none' },
|
242866
|
+
{ label: 'Dashed', value: 'dashed' },
|
242867
|
+
{ label: 'Dotted', value: 'dotted' },
|
242868
|
+
{ label: 'Solid', value: 'solid' },
|
242869
|
+
{ label: 'Double', value: 'double' },
|
242870
|
+
{ label: 'Groove', value: 'groove' },
|
242871
|
+
{ label: 'Ridge', value: 'ridge' },
|
242872
|
+
{ label: 'Inset', value: 'inset' },
|
242873
|
+
{ label: 'Outset', value: 'outset' },
|
242874
|
+
],
|
242875
|
+
},
|
242876
|
+
{
|
242877
|
+
name: 'senseInfoLabelBgColor',
|
242878
|
+
title: '左侧label背景颜色',
|
242879
|
+
group: 'style',
|
242880
|
+
setter: 'colorSetter',
|
242881
|
+
},
|
242296
242882
|
],
|
242297
242883
|
};
|
242298
242884
|
var settings$d = applyRules(settings$c);
|
@@ -243352,392 +243938,12 @@ ${indent}columns: ${matrix.columns}
|
|
243352
243938
|
var css_248z$8 = "";
|
243353
243939
|
styleInject(css_248z$8);
|
243354
243940
|
|
243355
|
-
var zh_CN$7 = {};
|
243356
|
-
|
243357
|
-
var interopRequireDefault = {exports: {}};
|
243358
|
-
|
243359
|
-
(function (module) {
|
243360
|
-
function _interopRequireDefault(e) {
|
243361
|
-
return e && e.__esModule ? e : {
|
243362
|
-
"default": e
|
243363
|
-
};
|
243364
|
-
}
|
243365
|
-
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
243366
|
-
} (interopRequireDefault));
|
243367
|
-
|
243368
|
-
var interopRequireDefaultExports = interopRequireDefault.exports;
|
243369
|
-
|
243370
|
-
var zh_CN$6 = {};
|
243371
|
-
|
243372
|
-
Object.defineProperty(zh_CN$6, "__esModule", {
|
243373
|
-
value: true
|
243374
|
-
});
|
243375
|
-
zh_CN$6.default = void 0;
|
243376
|
-
var locale$3 = {
|
243377
|
-
// Options
|
243378
|
-
items_per_page: '条/页',
|
243379
|
-
jump_to: '跳至',
|
243380
|
-
jump_to_confirm: '确定',
|
243381
|
-
page: '页',
|
243382
|
-
// Pagination
|
243383
|
-
prev_page: '上一页',
|
243384
|
-
next_page: '下一页',
|
243385
|
-
prev_5: '向前 5 页',
|
243386
|
-
next_5: '向后 5 页',
|
243387
|
-
prev_3: '向前 3 页',
|
243388
|
-
next_3: '向后 3 页',
|
243389
|
-
page_size: '页码'
|
243390
|
-
};
|
243391
|
-
zh_CN$6.default = locale$3;
|
243392
|
-
|
243393
|
-
var zh_CN$5 = {};
|
243394
|
-
|
243395
|
-
var zh_CN$4 = {};
|
243396
|
-
|
243397
|
-
var zh_CN$3 = {};
|
243398
|
-
|
243399
|
-
var objectSpread2 = {exports: {}};
|
243400
|
-
|
243401
|
-
var defineProperty = {exports: {}};
|
243402
|
-
|
243403
|
-
var toPropertyKey = {exports: {}};
|
243404
|
-
|
243405
|
-
var toPrimitive = {exports: {}};
|
243406
|
-
|
243407
|
-
(function (module) {
|
243408
|
-
var _typeof = _typeofExports["default"];
|
243409
|
-
function toPrimitive(t, r) {
|
243410
|
-
if ("object" != _typeof(t) || !t) return t;
|
243411
|
-
var e = t[Symbol.toPrimitive];
|
243412
|
-
if (void 0 !== e) {
|
243413
|
-
var i = e.call(t, r || "default");
|
243414
|
-
if ("object" != _typeof(i)) return i;
|
243415
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
243416
|
-
}
|
243417
|
-
return ("string" === r ? String : Number)(t);
|
243418
|
-
}
|
243419
|
-
module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
243420
|
-
} (toPrimitive));
|
243421
|
-
|
243422
|
-
var toPrimitiveExports = toPrimitive.exports;
|
243423
|
-
|
243424
|
-
(function (module) {
|
243425
|
-
var _typeof = _typeofExports["default"];
|
243426
|
-
var toPrimitive = toPrimitiveExports;
|
243427
|
-
function toPropertyKey(t) {
|
243428
|
-
var i = toPrimitive(t, "string");
|
243429
|
-
return "symbol" == _typeof(i) ? i : i + "";
|
243430
|
-
}
|
243431
|
-
module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
243432
|
-
} (toPropertyKey));
|
243433
|
-
|
243434
|
-
var toPropertyKeyExports = toPropertyKey.exports;
|
243435
|
-
|
243436
|
-
(function (module) {
|
243437
|
-
var toPropertyKey = toPropertyKeyExports;
|
243438
|
-
function _defineProperty(e, r, t) {
|
243439
|
-
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
243440
|
-
value: t,
|
243441
|
-
enumerable: !0,
|
243442
|
-
configurable: !0,
|
243443
|
-
writable: !0
|
243444
|
-
}) : e[r] = t, e;
|
243445
|
-
}
|
243446
|
-
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
243447
|
-
} (defineProperty));
|
243448
|
-
|
243449
|
-
var definePropertyExports = defineProperty.exports;
|
243450
|
-
|
243451
|
-
(function (module) {
|
243452
|
-
var defineProperty = definePropertyExports;
|
243453
|
-
function ownKeys(e, r) {
|
243454
|
-
var t = Object.keys(e);
|
243455
|
-
if (Object.getOwnPropertySymbols) {
|
243456
|
-
var o = Object.getOwnPropertySymbols(e);
|
243457
|
-
r && (o = o.filter(function (r) {
|
243458
|
-
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
243459
|
-
})), t.push.apply(t, o);
|
243460
|
-
}
|
243461
|
-
return t;
|
243462
|
-
}
|
243463
|
-
function _objectSpread2(e) {
|
243464
|
-
for (var r = 1; r < arguments.length; r++) {
|
243465
|
-
var t = null != arguments[r] ? arguments[r] : {};
|
243466
|
-
r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
|
243467
|
-
defineProperty(e, r, t[r]);
|
243468
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
243469
|
-
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
243470
|
-
});
|
243471
|
-
}
|
243472
|
-
return e;
|
243473
|
-
}
|
243474
|
-
module.exports = _objectSpread2, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
243475
|
-
} (objectSpread2));
|
243476
|
-
|
243477
|
-
var objectSpread2Exports = objectSpread2.exports;
|
243478
|
-
|
243479
|
-
var common = {};
|
243480
|
-
|
243481
|
-
Object.defineProperty(common, "__esModule", {
|
243482
|
-
value: true
|
243483
|
-
});
|
243484
|
-
common.commonLocale = void 0;
|
243485
|
-
common.commonLocale = {
|
243486
|
-
yearFormat: 'YYYY',
|
243487
|
-
dayFormat: 'D',
|
243488
|
-
cellMeridiemFormat: 'A',
|
243489
|
-
monthBeforeYear: true
|
243490
|
-
};
|
243491
|
-
|
243492
|
-
var _interopRequireDefault$3 = interopRequireDefaultExports.default;
|
243493
|
-
Object.defineProperty(zh_CN$3, "__esModule", {
|
243494
|
-
value: true
|
243495
|
-
});
|
243496
|
-
zh_CN$3.default = void 0;
|
243497
|
-
var _objectSpread2 = _interopRequireDefault$3(objectSpread2Exports);
|
243498
|
-
var _common = common;
|
243499
|
-
var locale$2 = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, _common.commonLocale), {}, {
|
243500
|
-
locale: 'zh_CN',
|
243501
|
-
today: '今天',
|
243502
|
-
now: '此刻',
|
243503
|
-
backToToday: '返回今天',
|
243504
|
-
ok: '确定',
|
243505
|
-
timeSelect: '选择时间',
|
243506
|
-
dateSelect: '选择日期',
|
243507
|
-
weekSelect: '选择周',
|
243508
|
-
clear: '清除',
|
243509
|
-
month: '月',
|
243510
|
-
year: '年',
|
243511
|
-
previousMonth: '上个月 (翻页上键)',
|
243512
|
-
nextMonth: '下个月 (翻页下键)',
|
243513
|
-
monthSelect: '选择月份',
|
243514
|
-
yearSelect: '选择年份',
|
243515
|
-
decadeSelect: '选择年代',
|
243516
|
-
previousYear: '上一年 (Control键加左方向键)',
|
243517
|
-
nextYear: '下一年 (Control键加右方向键)',
|
243518
|
-
previousDecade: '上一年代',
|
243519
|
-
nextDecade: '下一年代',
|
243520
|
-
previousCentury: '上一世纪',
|
243521
|
-
nextCentury: '下一世纪',
|
243522
|
-
yearFormat: 'YYYY年',
|
243523
|
-
cellDateFormat: 'D',
|
243524
|
-
monthBeforeYear: false
|
243525
|
-
});
|
243526
|
-
zh_CN$3.default = locale$2;
|
243527
|
-
|
243528
|
-
var zh_CN$2 = {};
|
243529
|
-
|
243530
|
-
Object.defineProperty(zh_CN$2, "__esModule", {
|
243531
|
-
value: true
|
243532
|
-
});
|
243533
|
-
zh_CN$2.default = void 0;
|
243534
|
-
const locale$1 = {
|
243535
|
-
placeholder: '请选择时间',
|
243536
|
-
rangePlaceholder: ['开始时间', '结束时间']
|
243537
|
-
};
|
243538
|
-
zh_CN$2.default = locale$1;
|
243539
|
-
|
243540
|
-
var _interopRequireDefault$2 = interopRequireDefaultExports.default;
|
243541
|
-
Object.defineProperty(zh_CN$4, "__esModule", {
|
243542
|
-
value: true
|
243543
|
-
});
|
243544
|
-
zh_CN$4.default = void 0;
|
243545
|
-
var _zh_CN$2 = _interopRequireDefault$2(zh_CN$3);
|
243546
|
-
var _zh_CN2$1 = _interopRequireDefault$2(zh_CN$2);
|
243547
|
-
// 统一合并为完整的 Locale
|
243548
|
-
const locale = {
|
243549
|
-
lang: Object.assign({
|
243550
|
-
placeholder: '请选择日期',
|
243551
|
-
yearPlaceholder: '请选择年份',
|
243552
|
-
quarterPlaceholder: '请选择季度',
|
243553
|
-
monthPlaceholder: '请选择月份',
|
243554
|
-
weekPlaceholder: '请选择周',
|
243555
|
-
rangePlaceholder: ['开始日期', '结束日期'],
|
243556
|
-
rangeYearPlaceholder: ['开始年份', '结束年份'],
|
243557
|
-
rangeMonthPlaceholder: ['开始月份', '结束月份'],
|
243558
|
-
rangeQuarterPlaceholder: ['开始季度', '结束季度'],
|
243559
|
-
rangeWeekPlaceholder: ['开始周', '结束周']
|
243560
|
-
}, _zh_CN$2.default),
|
243561
|
-
timePickerLocale: Object.assign({}, _zh_CN2$1.default)
|
243562
|
-
};
|
243563
|
-
// should add whitespace between char in Button
|
243564
|
-
locale.lang.ok = '确定';
|
243565
|
-
// All settings at:
|
243566
|
-
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
243567
|
-
zh_CN$4.default = locale;
|
243568
|
-
|
243569
|
-
var _interopRequireDefault$1 = interopRequireDefaultExports.default;
|
243570
|
-
Object.defineProperty(zh_CN$5, "__esModule", {
|
243571
|
-
value: true
|
243572
|
-
});
|
243573
|
-
zh_CN$5.default = void 0;
|
243574
|
-
var _zh_CN$1 = _interopRequireDefault$1(zh_CN$4);
|
243575
|
-
zh_CN$5.default = _zh_CN$1.default;
|
243576
|
-
|
243577
|
-
var _interopRequireDefault = interopRequireDefaultExports.default;
|
243578
|
-
Object.defineProperty(zh_CN$7, "__esModule", {
|
243579
|
-
value: true
|
243580
|
-
});
|
243581
|
-
zh_CN$7.default = void 0;
|
243582
|
-
var _zh_CN = _interopRequireDefault(zh_CN$6);
|
243583
|
-
var _zh_CN2 = _interopRequireDefault(zh_CN$5);
|
243584
|
-
var _zh_CN3 = _interopRequireDefault(zh_CN$4);
|
243585
|
-
var _zh_CN4 = _interopRequireDefault(zh_CN$2);
|
243586
|
-
const typeTemplate = '${label}不是一个有效的${type}';
|
243587
|
-
const localeValues = {
|
243588
|
-
locale: 'zh-cn',
|
243589
|
-
Pagination: _zh_CN.default,
|
243590
|
-
DatePicker: _zh_CN3.default,
|
243591
|
-
TimePicker: _zh_CN4.default,
|
243592
|
-
Calendar: _zh_CN2.default,
|
243593
|
-
// locales for all components
|
243594
|
-
global: {
|
243595
|
-
placeholder: '请选择'
|
243596
|
-
},
|
243597
|
-
Table: {
|
243598
|
-
filterTitle: '筛选',
|
243599
|
-
filterConfirm: '确定',
|
243600
|
-
filterReset: '重置',
|
243601
|
-
filterEmptyText: '无筛选项',
|
243602
|
-
filterCheckall: '全选',
|
243603
|
-
filterSearchPlaceholder: '在筛选项中搜索',
|
243604
|
-
emptyText: '暂无数据',
|
243605
|
-
selectAll: '全选当页',
|
243606
|
-
selectInvert: '反选当页',
|
243607
|
-
selectNone: '清空所有',
|
243608
|
-
selectionAll: '全选所有',
|
243609
|
-
sortTitle: '排序',
|
243610
|
-
expand: '展开行',
|
243611
|
-
collapse: '关闭行',
|
243612
|
-
triggerDesc: '点击降序',
|
243613
|
-
triggerAsc: '点击升序',
|
243614
|
-
cancelSort: '取消排序'
|
243615
|
-
},
|
243616
|
-
Modal: {
|
243617
|
-
okText: '确定',
|
243618
|
-
cancelText: '取消',
|
243619
|
-
justOkText: '知道了'
|
243620
|
-
},
|
243621
|
-
Tour: {
|
243622
|
-
Next: '下一步',
|
243623
|
-
Previous: '上一步',
|
243624
|
-
Finish: '结束导览'
|
243625
|
-
},
|
243626
|
-
Popconfirm: {
|
243627
|
-
cancelText: '取消',
|
243628
|
-
okText: '确定'
|
243629
|
-
},
|
243630
|
-
Transfer: {
|
243631
|
-
titles: ['', ''],
|
243632
|
-
searchPlaceholder: '请输入搜索内容',
|
243633
|
-
itemUnit: '项',
|
243634
|
-
itemsUnit: '项',
|
243635
|
-
remove: '删除',
|
243636
|
-
selectCurrent: '全选当页',
|
243637
|
-
removeCurrent: '删除当页',
|
243638
|
-
selectAll: '全选所有',
|
243639
|
-
deselectAll: '取消全选',
|
243640
|
-
removeAll: '删除全部',
|
243641
|
-
selectInvert: '反选当页'
|
243642
|
-
},
|
243643
|
-
Upload: {
|
243644
|
-
uploading: '文件上传中',
|
243645
|
-
removeFile: '删除文件',
|
243646
|
-
uploadError: '上传错误',
|
243647
|
-
previewFile: '预览文件',
|
243648
|
-
downloadFile: '下载文件'
|
243649
|
-
},
|
243650
|
-
Empty: {
|
243651
|
-
description: '暂无数据'
|
243652
|
-
},
|
243653
|
-
Icon: {
|
243654
|
-
icon: '图标'
|
243655
|
-
},
|
243656
|
-
Text: {
|
243657
|
-
edit: '编辑',
|
243658
|
-
copy: '复制',
|
243659
|
-
copied: '复制成功',
|
243660
|
-
expand: '展开',
|
243661
|
-
collapse: '收起'
|
243662
|
-
},
|
243663
|
-
Form: {
|
243664
|
-
optional: '(可选)',
|
243665
|
-
defaultValidateMessages: {
|
243666
|
-
default: '字段验证错误${label}',
|
243667
|
-
required: '请输入${label}',
|
243668
|
-
enum: '${label}必须是其中一个[${enum}]',
|
243669
|
-
whitespace: '${label}不能为空字符',
|
243670
|
-
date: {
|
243671
|
-
format: '${label}日期格式无效',
|
243672
|
-
parse: '${label}不能转换为日期',
|
243673
|
-
invalid: '${label}是一个无效日期'
|
243674
|
-
},
|
243675
|
-
types: {
|
243676
|
-
string: typeTemplate,
|
243677
|
-
method: typeTemplate,
|
243678
|
-
array: typeTemplate,
|
243679
|
-
object: typeTemplate,
|
243680
|
-
number: typeTemplate,
|
243681
|
-
date: typeTemplate,
|
243682
|
-
boolean: typeTemplate,
|
243683
|
-
integer: typeTemplate,
|
243684
|
-
float: typeTemplate,
|
243685
|
-
regexp: typeTemplate,
|
243686
|
-
email: typeTemplate,
|
243687
|
-
url: typeTemplate,
|
243688
|
-
hex: typeTemplate
|
243689
|
-
},
|
243690
|
-
string: {
|
243691
|
-
len: '${label}须为${len}个字符',
|
243692
|
-
min: '${label}最少${min}个字符',
|
243693
|
-
max: '${label}最多${max}个字符',
|
243694
|
-
range: '${label}须在${min}-${max}字符之间'
|
243695
|
-
},
|
243696
|
-
number: {
|
243697
|
-
len: '${label}必须等于${len}',
|
243698
|
-
min: '${label}最小值为${min}',
|
243699
|
-
max: '${label}最大值为${max}',
|
243700
|
-
range: '${label}须在${min}-${max}之间'
|
243701
|
-
},
|
243702
|
-
array: {
|
243703
|
-
len: '须为${len}个${label}',
|
243704
|
-
min: '最少${min}个${label}',
|
243705
|
-
max: '最多${max}个${label}',
|
243706
|
-
range: '${label}数量须在${min}-${max}之间'
|
243707
|
-
},
|
243708
|
-
pattern: {
|
243709
|
-
mismatch: '${label}与模式不匹配${pattern}'
|
243710
|
-
}
|
243711
|
-
}
|
243712
|
-
},
|
243713
|
-
Image: {
|
243714
|
-
preview: '预览'
|
243715
|
-
},
|
243716
|
-
QRCode: {
|
243717
|
-
expired: '二维码过期',
|
243718
|
-
refresh: '点击刷新',
|
243719
|
-
scanned: '已扫描'
|
243720
|
-
},
|
243721
|
-
ColorPicker: {
|
243722
|
-
presetEmpty: '暂无',
|
243723
|
-
transparent: '无色',
|
243724
|
-
singleColor: '单色',
|
243725
|
-
gradientColor: '渐变色'
|
243726
|
-
}
|
243727
|
-
};
|
243728
|
-
zh_CN$7.default = localeValues;
|
243729
|
-
|
243730
|
-
var zh_CN = zh_CN$7;
|
243731
|
-
|
243732
|
-
var zh_CN$1 = /*@__PURE__*/getDefaultExportFromCjs(zh_CN);
|
243733
|
-
|
243734
243941
|
// import theme from './index';
|
243735
243942
|
dayjs.locale('zh-cn');
|
243736
243943
|
var Provider = function (_a) {
|
243737
243944
|
var children = _a.children, props = __rest$13(_a, ["children"]);
|
243738
|
-
return (React.createElement(
|
243739
|
-
React.createElement(
|
243740
|
-
React.createElement("div", __assign$h({}, props, { className: classNames(props.className, 'icos-desktop-components') }), children))));
|
243945
|
+
return (React.createElement(App, null,
|
243946
|
+
React.createElement("div", __assign$h({}, props, { className: classNames(props.className, 'icos-desktop-components') }), children)));
|
243741
243947
|
};
|
243742
243948
|
|
243743
243949
|
var commonBoxProps = {
|