gant-core 0.1.13 → 0.1.15
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 +14 -2
- package/lib/index.js +17284 -51
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.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.15";
|
|
51298
51298
|
var description = "";
|
|
51299
51299
|
var main = "lib/index.js";
|
|
51300
51300
|
var bin = {
|
package/lib/index.d.ts
CHANGED
|
@@ -265,6 +265,7 @@ interface SeedToken extends PresetColorType {
|
|
|
265
265
|
* @default 40
|
|
266
266
|
*/
|
|
267
267
|
layoutNavHeight: number;
|
|
268
|
+
gradientColors: (string | number)[];
|
|
268
269
|
}
|
|
269
270
|
|
|
270
271
|
interface ColorNeutralMapToken {
|
|
@@ -729,6 +730,16 @@ interface ColorErrorMapToken {
|
|
|
729
730
|
*/
|
|
730
731
|
colorErrorTextActive: string;
|
|
731
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
|
+
}
|
|
732
743
|
interface ColorLinkMapToken {
|
|
733
744
|
/**
|
|
734
745
|
* @nameZH 超链接颜色
|
|
@@ -752,7 +763,7 @@ interface ColorLinkMapToken {
|
|
|
752
763
|
*/
|
|
753
764
|
colorLinkActive: string;
|
|
754
765
|
}
|
|
755
|
-
interface ColorMapToken extends ColorNeutralMapToken, ColorPrimaryMapToken, ColorSuccessMapToken, ColorWarningMapToken, ColorErrorMapToken, ColorInfoMapToken, ColorLinkMapToken {
|
|
766
|
+
interface ColorMapToken extends ColorGradientToken, ColorNeutralMapToken, ColorPrimaryMapToken, ColorSuccessMapToken, ColorWarningMapToken, ColorErrorMapToken, ColorInfoMapToken, ColorLinkMapToken {
|
|
756
767
|
/**
|
|
757
768
|
* @nameZH 纯白色
|
|
758
769
|
* @desc 不随主题变化的纯白色
|
|
@@ -1633,6 +1644,7 @@ declare function getTokenCssVar(data: any, prefix?: string): any;
|
|
|
1633
1644
|
declare const getAlphaColor: (baseColor: string, alpha: number) => string;
|
|
1634
1645
|
declare const getDarkenSolidColor: (baseColor: string, brightness: number) => string;
|
|
1635
1646
|
declare const getLightenSolidColor: (baseColor: string, brightness: number) => string;
|
|
1647
|
+
declare const getBackgroundColor: (baseColor: string, bgBaseColor: string) => string;
|
|
1636
1648
|
|
|
1637
1649
|
declare const token: AliasToken;
|
|
1638
1650
|
|
|
@@ -2320,4 +2332,4 @@ interface MainOptions extends GlobalOptions {
|
|
|
2320
2332
|
}
|
|
2321
2333
|
declare const _default: ({ microServiceMap, secret, dynamicLangCallback, ...globalOptions }: MainOptions) => Promise<boolean>;
|
|
2322
2334
|
|
|
2323
|
-
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, 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 };
|
|
2335
|
+
export { type AliasToken, type BASE_CONFIG_TYPE, type CONFIG_TYPE, type ColorGradientToken, 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 };
|