mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
feat(core): rollup additional Utils
This commit is contained in:
4
packages/core/index.d.ts
vendored
4
packages/core/index.d.ts
vendored
@ -93,7 +93,7 @@ export type { InstrumentationMode, TimerInfo } from './profiling';
|
|||||||
export { encoding } from './text';
|
export { encoding } from './text';
|
||||||
export * from './trace';
|
export * from './trace';
|
||||||
export * from './ui';
|
export * from './ui';
|
||||||
import { GC, isFontIconURI, isDataURI, isFileOrResourcePath, executeOnMainThread, mainThreadify, isMainThread, dispatchToMainThread, releaseNativeObject, getModuleName, openFile, openUrl, isRealDevice, layout, ad as androidUtils, iOSNativeHelper as iosUtils, Source } from './utils';
|
import { GC, isFontIconURI, isDataURI, isFileOrResourcePath, executeOnMainThread, mainThreadify, isMainThread, dispatchToMainThread, releaseNativeObject, getModuleName, openFile, openUrl, isRealDevice, layout, ad as androidUtils, iOSNativeHelper as iosUtils, Source, escapeRegexSymbols, convertString } from './utils';
|
||||||
import { ClassInfo, getClass, getBaseClasses, getClassInfo, isBoolean, isDefined, isFunction, isNullOrUndefined, isNumber, isObject, isString, isUndefined, toUIString, verifyCallback } from './utils/types';
|
import { ClassInfo, getClass, getBaseClasses, getClassInfo, isBoolean, isDefined, isFunction, isNullOrUndefined, isNumber, isObject, isString, isUndefined, toUIString, verifyCallback } from './utils/types';
|
||||||
export declare const Utils: {
|
export declare const Utils: {
|
||||||
GC: typeof GC;
|
GC: typeof GC;
|
||||||
@ -107,6 +107,8 @@ export declare const Utils: {
|
|||||||
isMainThread: typeof isMainThread;
|
isMainThread: typeof isMainThread;
|
||||||
dispatchToMainThread: typeof dispatchToMainThread;
|
dispatchToMainThread: typeof dispatchToMainThread;
|
||||||
releaseNativeObject: typeof releaseNativeObject;
|
releaseNativeObject: typeof releaseNativeObject;
|
||||||
|
escapeRegexSymbols: typeof escapeRegexSymbols;
|
||||||
|
convertString: typeof convertString;
|
||||||
getModuleName: typeof getModuleName;
|
getModuleName: typeof getModuleName;
|
||||||
openFile: typeof openFile;
|
openFile: typeof openFile;
|
||||||
openUrl: typeof openUrl;
|
openUrl: typeof openUrl;
|
||||||
|
@ -110,7 +110,7 @@ export * from './trace';
|
|||||||
|
|
||||||
export * from './ui';
|
export * from './ui';
|
||||||
|
|
||||||
import { GC, isFontIconURI, isDataURI, isFileOrResourcePath, executeOnMainThread, mainThreadify, isMainThread, dispatchToMainThread, queueMacrotask, releaseNativeObject, getModuleName, openFile, openUrl, isRealDevice, layout, ad as androidUtils, iOSNativeHelper as iosUtils, Source, RESOURCE_PREFIX, FILE_PREFIX } from './utils';
|
import { GC, isFontIconURI, isDataURI, isFileOrResourcePath, executeOnMainThread, mainThreadify, isMainThread, dispatchToMainThread, queueMacrotask, releaseNativeObject, getModuleName, openFile, openUrl, isRealDevice, layout, ad as androidUtils, iOSNativeHelper as iosUtils, Source, RESOURCE_PREFIX, FILE_PREFIX, escapeRegexSymbols, convertString } from './utils';
|
||||||
import { ClassInfo, getClass, getBaseClasses, getClassInfo, isBoolean, isDefined, isFunction, isNullOrUndefined, isNumber, isObject, isString, isUndefined, toUIString, verifyCallback } from './utils/types';
|
import { ClassInfo, getClass, getBaseClasses, getClassInfo, isBoolean, isDefined, isFunction, isNullOrUndefined, isNumber, isObject, isString, isUndefined, toUIString, verifyCallback } from './utils/types';
|
||||||
|
|
||||||
export const Utils = {
|
export const Utils = {
|
||||||
@ -126,6 +126,8 @@ export const Utils = {
|
|||||||
dispatchToMainThread,
|
dispatchToMainThread,
|
||||||
queueMacrotask,
|
queueMacrotask,
|
||||||
releaseNativeObject,
|
releaseNativeObject,
|
||||||
|
convertString,
|
||||||
|
escapeRegexSymbols,
|
||||||
|
|
||||||
getModuleName,
|
getModuleName,
|
||||||
openFile,
|
openFile,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nativescript/ui-mobile-base",
|
"name": "@nativescript/ui-mobile-base",
|
||||||
"version": "7.0.0-rc.0",
|
"version": "7.0.0",
|
||||||
"description": "Native UI base components used with NativeScript.",
|
"description": "Native UI base components used with NativeScript.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
Reference in New Issue
Block a user