@mptool/all 0.11.0 → 0.11.1
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/dist/index.d.mts +2 -4
- package/dist/index.d.ts +2 -4
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import * as cheerio_slim from 'cheerio/slim';
|
|
2
|
-
|
|
3
1
|
declare const writeClipboard: (data?: string) => Promise<void>;
|
|
4
2
|
|
|
5
3
|
/**
|
|
@@ -1881,7 +1879,7 @@ declare class Element extends NodeWithChildren {
|
|
|
1881
1879
|
"x-attribsPrefix"?: Record<string, string>;
|
|
1882
1880
|
}
|
|
1883
1881
|
|
|
1884
|
-
declare const
|
|
1882
|
+
declare const getHTML: (content: string | AnyNode | AnyNode[]) => string;
|
|
1885
1883
|
declare const parseHTML: (content: string) => AnyNode[];
|
|
1886
1884
|
|
|
1887
1885
|
interface ElementNode {
|
|
@@ -1917,5 +1915,5 @@ declare const convertSVGToDataURI: (content: string) => string;
|
|
|
1917
1915
|
|
|
1918
1916
|
declare const getText: (content: string | AnyNode[]) => string;
|
|
1919
1917
|
|
|
1920
|
-
export {
|
|
1918
|
+
export { $App, $Component, $Config, $Page, ALLOWED_TAGS, Cookie, CookieStore, Emitter, Headers, MpError$1 as MpError, Queue, URLSearchParams, addContact, appState, check, checkAsync, compareVersion, confirm, convertSVGToDataURI, createRequest, decode as decodeBase64, dirname, download, userEmitter as emitter, encode as encodeBase64, env, exists, funcQueue, get, getAsync, getConfig, getCookieScopeDomain, getCurrentPage, getCurrentRoute, getDomain, getHTML, getRef, getRichTextNodes, getText, getUrlInfo, getWindowInfo, go, handleProperties, isDir, isFile, isFunction, lock, logger, ls, mkdir, normalizeDomain, once, openDocument, parseCookieHeader, parseHTML, parseUrl, put, query, reLaunch, readFile, readJSON, redirect, remove, removeAsync, removeRef, reportNetworkStatus, request, requestCookieStore, retry, rm, saveDocument, saveFile, saveOnlineFile, savePhoto, set, setAsync, setRef, showModal, showToast, storage, switchTab, take, type, unzip, updateApp, wrapFunction, writeClipboard, writeFile, writeJSON };
|
|
1921
1919
|
export type { AllowTag, AppConfigCommonOptions, AppConfigOptions, AppConstructor, AppInstance, AppOptions, ComponentConstructor, ComponentInstance, ComponentLifetimes, ComponentOptions, Config, ConvertedTag, CookieMap, CookieOptions, CookieStoreType, CookieType, DeprecatedTag, ElementNode, EmitterInstance, Env, EventHandlerList, EventHandlerMap, EventType, ExtendedAppMethods, ExtendedComponentMethods, ExtendedComponentProperty, ExtendedPageLifeCycles, ExtendedPageMethods, ExtendedPageProperties, ExtendsAppOptions, Handler, HeadersInit, InferFromType, InferPropType, InferPropTypes, MpErrorOptions$1 as MpErrorOptions, PageConstructor, PageInstance, PageOptions, PageQuery, PageState, PropItem, PropOption, PropType, Props, PropsOptions, RefMap, RequestBody, RequestFactory, RequestInitOptions, RequestOptions, RequestResponse, RequestType, RichTextNode, RouteCustomConfig, RoutePathConfig, SetCookieOptions, StorageData, Task, TextNode, TrivialComponentInstance, TrivialComponentOptions, TrivialPageInstance, TrivialPageOptions, UpdateInfo, UrlInfo, WildCardEventHandlerList, WildcardHandler };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import * as cheerio_slim from 'cheerio/slim';
|
|
2
|
-
|
|
3
1
|
declare const writeClipboard: (data?: string) => Promise<void>;
|
|
4
2
|
|
|
5
3
|
/**
|
|
@@ -1881,7 +1879,7 @@ declare class Element extends NodeWithChildren {
|
|
|
1881
1879
|
"x-attribsPrefix"?: Record<string, string>;
|
|
1882
1880
|
}
|
|
1883
1881
|
|
|
1884
|
-
declare const
|
|
1882
|
+
declare const getHTML: (content: string | AnyNode | AnyNode[]) => string;
|
|
1885
1883
|
declare const parseHTML: (content: string) => AnyNode[];
|
|
1886
1884
|
|
|
1887
1885
|
interface ElementNode {
|
|
@@ -1917,5 +1915,5 @@ declare const convertSVGToDataURI: (content: string) => string;
|
|
|
1917
1915
|
|
|
1918
1916
|
declare const getText: (content: string | AnyNode[]) => string;
|
|
1919
1917
|
|
|
1920
|
-
export {
|
|
1918
|
+
export { $App, $Component, $Config, $Page, ALLOWED_TAGS, Cookie, CookieStore, Emitter, Headers, MpError$1 as MpError, Queue, URLSearchParams, addContact, appState, check, checkAsync, compareVersion, confirm, convertSVGToDataURI, createRequest, decode as decodeBase64, dirname, download, userEmitter as emitter, encode as encodeBase64, env, exists, funcQueue, get, getAsync, getConfig, getCookieScopeDomain, getCurrentPage, getCurrentRoute, getDomain, getHTML, getRef, getRichTextNodes, getText, getUrlInfo, getWindowInfo, go, handleProperties, isDir, isFile, isFunction, lock, logger, ls, mkdir, normalizeDomain, once, openDocument, parseCookieHeader, parseHTML, parseUrl, put, query, reLaunch, readFile, readJSON, redirect, remove, removeAsync, removeRef, reportNetworkStatus, request, requestCookieStore, retry, rm, saveDocument, saveFile, saveOnlineFile, savePhoto, set, setAsync, setRef, showModal, showToast, storage, switchTab, take, type, unzip, updateApp, wrapFunction, writeClipboard, writeFile, writeJSON };
|
|
1921
1919
|
export type { AllowTag, AppConfigCommonOptions, AppConfigOptions, AppConstructor, AppInstance, AppOptions, ComponentConstructor, ComponentInstance, ComponentLifetimes, ComponentOptions, Config, ConvertedTag, CookieMap, CookieOptions, CookieStoreType, CookieType, DeprecatedTag, ElementNode, EmitterInstance, Env, EventHandlerList, EventHandlerMap, EventType, ExtendedAppMethods, ExtendedComponentMethods, ExtendedComponentProperty, ExtendedPageLifeCycles, ExtendedPageMethods, ExtendedPageProperties, ExtendsAppOptions, Handler, HeadersInit, InferFromType, InferPropType, InferPropTypes, MpErrorOptions$1 as MpErrorOptions, PageConstructor, PageInstance, PageOptions, PageQuery, PageState, PropItem, PropOption, PropType, Props, PropsOptions, RefMap, RequestBody, RequestFactory, RequestInitOptions, RequestOptions, RequestResponse, RequestType, RichTextNode, RouteCustomConfig, RoutePathConfig, SetCookieOptions, StorageData, Task, TextNode, TrivialComponentInstance, TrivialComponentOptions, TrivialPageInstance, TrivialPageOptions, UpdateInfo, UrlInfo, WildCardEventHandlerList, WildcardHandler };
|