gant-core 0.1.16 → 0.1.18
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/lib/cli/index.js +1 -1
- package/lib/index.d.ts +25 -13
- package/lib/index.js +28 -17231
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/cli/index.js
CHANGED
|
@@ -51294,7 +51294,7 @@ const createCwdConfig = (cwd, name, vue) => {
|
|
|
51294
51294
|
};
|
|
51295
51295
|
|
|
51296
51296
|
var name = "gant-core";
|
|
51297
|
-
var version = "0.1.
|
|
51297
|
+
var version = "0.1.18";
|
|
51298
51298
|
var description = "";
|
|
51299
51299
|
var main = "lib/index.js";
|
|
51300
51300
|
var bin = {
|
package/lib/index.d.ts
CHANGED
|
@@ -265,7 +265,7 @@ interface SeedToken extends PresetColorType {
|
|
|
265
265
|
* @default 40
|
|
266
266
|
*/
|
|
267
267
|
layoutNavHeight: number;
|
|
268
|
-
gradientColors:
|
|
268
|
+
gradientColors: string[];
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
interface ColorNeutralMapToken {
|
|
@@ -730,16 +730,6 @@ interface ColorErrorMapToken {
|
|
|
730
730
|
*/
|
|
731
731
|
colorErrorTextActive: string;
|
|
732
732
|
}
|
|
733
|
-
interface ColorGradientToken {
|
|
734
|
-
gradientTop: string;
|
|
735
|
-
gradientBottom: string;
|
|
736
|
-
gradientLeft: string;
|
|
737
|
-
gradientRight: string;
|
|
738
|
-
gradientTopLeft: string;
|
|
739
|
-
gradientTopRight: string;
|
|
740
|
-
gradientBottomLeft: string;
|
|
741
|
-
gradientBottomRight: string;
|
|
742
|
-
}
|
|
743
733
|
interface ColorLinkMapToken {
|
|
744
734
|
/**
|
|
745
735
|
* @nameZH 超链接颜色
|
|
@@ -763,7 +753,7 @@ interface ColorLinkMapToken {
|
|
|
763
753
|
*/
|
|
764
754
|
colorLinkActive: string;
|
|
765
755
|
}
|
|
766
|
-
interface ColorMapToken extends
|
|
756
|
+
interface ColorMapToken extends ColorNeutralMapToken, ColorPrimaryMapToken, ColorSuccessMapToken, ColorWarningMapToken, ColorErrorMapToken, ColorInfoMapToken, ColorLinkMapToken {
|
|
767
757
|
/**
|
|
768
758
|
* @nameZH 纯白色
|
|
769
759
|
* @desc 不随主题变化的纯白色
|
|
@@ -778,6 +768,12 @@ interface ColorMapToken extends ColorGradientToken, ColorNeutralMapToken, ColorP
|
|
|
778
768
|
* @descEN The background color of the mask, used to cover the content below the mask, Modal, Drawer and other components use this token
|
|
779
769
|
*/
|
|
780
770
|
colorBgMask: string;
|
|
771
|
+
/**
|
|
772
|
+
* @nameZH 纯黑色
|
|
773
|
+
* @desc 不随主题变化的纯黑色
|
|
774
|
+
* @default #0000
|
|
775
|
+
*/
|
|
776
|
+
gradientColors: string[];
|
|
781
777
|
}
|
|
782
778
|
|
|
783
779
|
interface FontMapToken {
|
|
@@ -1001,6 +997,22 @@ interface StyleMapToken {
|
|
|
1001
997
|
* @default 8
|
|
1002
998
|
*/
|
|
1003
999
|
borderRadiusLG: number;
|
|
1000
|
+
/**
|
|
1001
|
+
* @nameZH XL号圆角
|
|
1002
|
+
* @nameEN XL Border Radius
|
|
1003
|
+
* @desc XL号圆角,用于组件中的一些大圆角,如 Card、Modal 等一些组件样式。
|
|
1004
|
+
* @descEN XL size border radius, used in some large border radius components, such as Card, Modal and other components.
|
|
1005
|
+
* @default 12
|
|
1006
|
+
*/
|
|
1007
|
+
borderRadiusXL: number;
|
|
1008
|
+
/**
|
|
1009
|
+
* @nameZH XXL号圆角
|
|
1010
|
+
* @nameEN XXL Border Radius
|
|
1011
|
+
* @desc XXL号圆角,用于组件中的一些大圆角,如 Card、Modal 等一些组件样式。
|
|
1012
|
+
* @descEN XXL size border radius, used in some large border radius components, such as Card, Modal and other components.
|
|
1013
|
+
* @default 16
|
|
1014
|
+
*/
|
|
1015
|
+
borderRadiusXXL: number;
|
|
1004
1016
|
/**
|
|
1005
1017
|
* @nameZH 外部圆角
|
|
1006
1018
|
* @nameEN Outer Border Radius
|
|
@@ -2332,4 +2344,4 @@ interface MainOptions extends GlobalOptions {
|
|
|
2332
2344
|
}
|
|
2333
2345
|
declare const _default: ({ microServiceMap, secret, dynamicLangCallback, ...globalOptions }: MainOptions) => Promise<boolean>;
|
|
2334
2346
|
|
|
2335
|
-
export { type AliasToken, type BASE_CONFIG_TYPE, type CONFIG_TYPE, type
|
|
2347
|
+
export { type AliasToken, type BASE_CONFIG_TYPE, type CONFIG_TYPE, type ColorMapToken, type ColorNeutralMapToken, type ColorPalettes, type CommonMapToken, type DerivativeFunc, type FontMapToken, type GantAxiosRequestConfig, type GantServerOptions, type GlobalOptions, type GlobalToken, type HeightMapToken, type InternalAxiosRequestConfig, type LOGIN_CONFIG, type Language, type LegacyColorPalettes, type LoginResultData, type MAIN_CONFIG_TYPE, MENU_BREADCRUMBS_UPDATE, MENU_HISTORY_UPDATE, type MainOptions, type MapToken, type MappingAlgorithm, PROGRESS_UPDEDATE, type Perferences, type PresetColorKey, type PresetColorType, PresetColors, type ProductInfo, type SSOConfigType, type SYSMGMT_CONFIG_TYPE, type SeedToken, type ServerMenu, type ServerMenuData, type ServerMenuMap, type SizeMapToken, type StyleMapToken, type THEME_TYPE, type ThemeType, type TokenType, type User, type UserAggregateInfo, type GantUserConfig as UserConfig, type UserIdentityType, WS_CONTENT_CLOSE, WS_CONTENT_ERROR, WS_CONTENT_SUCCESS, codeListStore, derivative as compactAlgorithm, _default$1 as companydataStore, derivative$1 as darkAlgorithm, decryptByAES, derivative$2 as defaultAlgorithm, emitter, encryptByAES, expireCache, formatToken as formatAliasToken, getAliasToken, getAlphaColor, getAntdLocaleKey, getBackgroundColor, getDarkenSolidColor, getLightenSolidColor, getLocaleKey, getMaskHeaderKey, getRoutes, getSecretKey, getTokenCssVar, getTraceId, globalStore, _default as init, initDynamicLang, lighten, loginStore, menuStore, parameterStore, Progress as progress, request, requestInstance, seedToken as seed, setLocaleKey, storage as storageStore, toBase64, token, tr, useRequestHeader, useRequestMicroSevices, useResponsedecryptParse, userStore, websocket };
|