gant-core 0.1.15 → 0.1.17
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 +9 -13
- package/lib/index.js +4 -17225
- 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.17";
|
|
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 {
|
|
@@ -2332,4 +2328,4 @@ interface MainOptions extends GlobalOptions {
|
|
|
2332
2328
|
}
|
|
2333
2329
|
declare const _default: ({ microServiceMap, secret, dynamicLangCallback, ...globalOptions }: MainOptions) => Promise<boolean>;
|
|
2334
2330
|
|
|
2335
|
-
export { type AliasToken, type BASE_CONFIG_TYPE, type CONFIG_TYPE, type
|
|
2331
|
+
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 };
|