@aliyun-sls/utils
Advanced tools
Comparing version
import { History, BrowserHistoryBuildOptions } from 'history'; | ||
import * as _alifd_next_types_balloon from '@alifd/next/types/balloon'; | ||
import React from 'react'; | ||
@@ -263,2 +265,5 @@ declare namespace domUtil { | ||
interface ProjectList { | ||
projectName: string; | ||
} | ||
declare namespace urlUtil { | ||
@@ -271,2 +276,3 @@ function getQueryString(name: string): string | null; | ||
function getParentUrl(): string; | ||
function getProjectLinkObj(list?: ProjectList[]): {}; | ||
} | ||
@@ -1576,5 +1582,57 @@ | ||
declare function getPopupStyleCfg(): { | ||
padding: string; | ||
boxShadow: string; | ||
background: string; | ||
color: string; | ||
} | { | ||
padding: string; | ||
boxShadow: string; | ||
background: string; | ||
color?: undefined; | ||
}; | ||
declare function getPluginDescStyleCfg(): { | ||
background: string; | ||
border: string; | ||
} | { | ||
background: string; | ||
border?: undefined; | ||
}; | ||
declare const createRichTextUtils: () => { | ||
text(...args: any): React.DetailedReactHTMLElement<{}, HTMLElement>; | ||
link(text: any, href: string, target: string): React.ReactElement<{ | ||
href: string; | ||
target: string; | ||
}, string | React.JSXElementConstructor<any>>; | ||
gray(text: any): React.DetailedReactHTMLElement<{ | ||
style: { | ||
color: "gray"; | ||
margin: string; | ||
}; | ||
}, HTMLElement>; | ||
red(text: any): React.DetailedReactHTMLElement<{ | ||
style: { | ||
color: "red"; | ||
margin: string; | ||
}; | ||
}, HTMLElement>; | ||
pluginDes(text: any, url: string, target?: string): JSX.Element; | ||
help(text: any, offset?: number): React.CElement<_alifd_next_types_balloon.TooltipProps, _alifd_next_types_balloon.Tooltip>; | ||
tips(text: any, tips: any): React.CElement<_alifd_next_types_balloon.TooltipProps, _alifd_next_types_balloon.Tooltip>; | ||
}; | ||
declare function AnyElement({ children }: { | ||
children: any; | ||
}): any; | ||
declare const VirtualAnyElement: React.FC<{ | ||
name?: string | undefined; | ||
visible?: boolean | undefined; | ||
display?: boolean | undefined; | ||
}>; | ||
declare function getRndInteger(min: number, max: number): number; | ||
declare function getRndString(len: number): string; | ||
declare function addRUMLog(log: Record<string, any>): void; | ||
declare function addRUMError(error: Error): void; | ||
export { _default as AliLogTracker, CloudEnvEmnu, Confirm, GraySwitchItem, ICloudEnv, absoluteTime, addMetricIndex, addRUMError, addRUMLog, addStubForSearch, addStubForUrl, alertAbsoluteAdapter, algorithmUtil, blReport, cancelRequestAnimationFrame, canvasUtil, cleanName, clzClassNameFatory, clzWrapperClassFatory, colorUtil, compareTimeFormat, componentUtil, dateObj2Str, dateObj2StrM, diamondUtil, domUtil, figureConfig, filterDashboardList, formatDate, formateBasicLink, getAlertTimeCon, getAliyunLang, getAppConfig, getConfig, getGraySwitchConfig, getGraySwitchItem, getGraySwitchValue, getHelpDocLink, getHttpsLinksAchor, getIsOpenProjectAlertEnter, getLatestTimeInfo, getLinks, getLocaleMsg, getMd, getOperationLogShipStatus, getRegionName, getRegions, getRequestAnimationFrame, getSlsHost, getStatus, getStatusByKey, history, isDescriptionGrayShow, isFeatureEnable, isFeatureUidEnable, isOpenByGraySwitch, isPrivateEnv, isValidStoreType, logDisplayUtil, matchImgAddress, parseDate, parseDateEnglish, parseDateM, parseDateMEnglish, parseTimeQuery, privateExcluedProps, resetHistory, setConsoleBaseAttr, slsDataHost, start2Text, start2Time, storeTypeToTelemetryType, stringUtil, themeUtil, throttleByAnimationFrame, throttleByAnimationFrameDecorator, timeCon, timeSign2stamp, timeStamp2Chart, timeStamp2showTime, timeUtil, unitUtil, urlUtil, versionTrack, widgetHost }; | ||
export { _default as AliLogTracker, AnyElement, CloudEnvEmnu, Confirm, GraySwitchItem, ICloudEnv, VirtualAnyElement, absoluteTime, addMetricIndex, addRUMError, addRUMLog, addStubForSearch, addStubForUrl, alertAbsoluteAdapter, algorithmUtil, blReport, cancelRequestAnimationFrame, canvasUtil, cleanName, clzClassNameFatory, clzWrapperClassFatory, colorUtil, compareTimeFormat, componentUtil, createRichTextUtils, dateObj2Str, dateObj2StrM, diamondUtil, domUtil, figureConfig, filterDashboardList, formatDate, formateBasicLink, getAlertTimeCon, getAliyunLang, getAppConfig, getConfig, getGraySwitchConfig, getGraySwitchItem, getGraySwitchValue, getHelpDocLink, getHttpsLinksAchor, getIsOpenProjectAlertEnter, getLatestTimeInfo, getLinks, getLocaleMsg, getMd, getOperationLogShipStatus, getPluginDescStyleCfg, getPopupStyleCfg, getRegionName, getRegions, getRequestAnimationFrame, getRndInteger, getRndString, getSlsHost, getStatus, getStatusByKey, history, isDescriptionGrayShow, isFeatureEnable, isFeatureUidEnable, isOpenByGraySwitch, isPrivateEnv, isValidStoreType, logDisplayUtil, matchImgAddress, parseDate, parseDateEnglish, parseDateM, parseDateMEnglish, parseTimeQuery, privateExcluedProps, resetHistory, setConsoleBaseAttr, slsDataHost, start2Text, start2Time, storeTypeToTelemetryType, stringUtil, themeUtil, throttleByAnimationFrame, throttleByAnimationFrameDecorator, timeCon, timeSign2stamp, timeStamp2Chart, timeStamp2showTime, timeUtil, unitUtil, urlUtil, versionTrack, widgetHost }; |
{ | ||
"name": "@aliyun-sls/utils", | ||
"version": "0.3.10-dev-7", | ||
"version": "0.3.10-dev-8", | ||
"description": "", | ||
@@ -12,5 +12,5 @@ "main": "dist/utils.cjs.js", | ||
"dependencies": { | ||
"@aliyun-sls/cons": "0.3.10-dev-7", | ||
"@aliyun-sls/i18n": "0.3.10-dev-7", | ||
"@aliyun-sls/runtime": "0.3.10-dev-7", | ||
"@aliyun-sls/cons": "0.3.10-dev-8", | ||
"@aliyun-sls/i18n": "0.3.10-dev-8", | ||
"@aliyun-sls/runtime": "0.3.10-dev-8", | ||
"highlight.js": "^10.6.0", | ||
@@ -17,0 +17,0 @@ "history": "^4.9.0", |
Sorry, the diff of this file is too big to display
209721
3.43%6656
3%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed