MCPcopy Index your code

hub / github.com/umijs/qiankun / functions

Functions213 in github.com/umijs/qiankun

↓ 60 callersFunctionremoveWs
(s: string | null)
src/sandbox/patchers/__tests__/css.test.ts:29
↓ 44 callersMethoddefineProperty
(_: Window, p: string | symbol, attributes: PropertyDescriptor)
src/sandbox/legacy/sandbox.ts:146
↓ 36 callersMethodprocess
(styleNode: HTMLStyleElement, prefix: string = '')
src/sandbox/patchers/css.ts:43
↓ 34 callersFunctiontest
()
src/sandbox/__tests__/proxySandbox.test.ts:320
↓ 30 callersFunctionfakeStyleNode
(css: string)
src/sandbox/patchers/__tests__/css.test.ts:19
↓ 24 callersMethodget
(_: Window, p: PropertyKey)
src/sandbox/legacy/sandbox.ts:119
↓ 18 callersMethodhasOwnProperty
(this: any, key: PropertyKey)
src/sandbox/proxySandbox.ts:409
↓ 17 callersFunctiongetCurrentRunningApp
()
src/sandbox/common.ts:14
↓ 12 callersFunctionrebindTarget2Fn
(target: any, fn: any)
src/sandbox/common.ts:29
↓ 11 callersMethodgetOwnPropertyDescriptor
(_: Window, p: PropertyKey)
src/sandbox/legacy/sandbox.ts:137
↓ 8 callersFunctioncalcAppCount
( appName: string, calcType: 'increase' | 'decrease', status: 'bootstrapping' | 'mounting', )
src/sandbox/patchers/dynamicAppend/common.ts:74
↓ 8 callersFunctionisPropertyFrozen
(target: any, p?: PropertyKey)
src/utils.ts:92
↓ 8 callersFunctionsleep
(ms: number)
src/utils.ts:13
↓ 7 callersMethodgetOwnPropertyDescriptor
(target: FakeWindow, p: string | number | symbol)
src/sandbox/proxySandbox.ts:342
↓ 7 callersMethodgetPrototypeOf
()
src/sandbox/proxySandbox.ts:400
↓ 7 callersFunctionnextTask
(cb: () => void)
src/utils.ts:31
↓ 7 callersFunctiontoArray
(array: T | T[])
src/utils.ts:9
↓ 7 callersFunctionvalidateExportLifecycle
(exports: any)
src/utils.ts:200
↓ 5 callersFunctionexecHooksChain
( hooks: Array<LifeCycleFn<T>>, app: LoadableApp<T>, global = window, )
src/loader.ts:46
↓ 5 callersFunctiongetAppWrapperHeadElement
(appWrapper: Element | ShadowRoot)
src/sandbox/patchers/dynamicAppend/common.ts:38
↓ 5 callersMethodhas
(target: FakeWindow, p: string | number | symbol)
src/sandbox/proxySandbox.ts:337
↓ 5 callersMethodhas
(_: Window, p: string | number | symbol)
src/sandbox/legacy/sandbox.ts:133
↓ 5 callersMethodinactive
()
src/sandbox/legacy/sandbox.ts:59
↓ 4 callersMethodactive
()
src/sandbox/legacy/sandbox.ts:51
↓ 4 callersFunctionarrayify
(list: CSSRuleList | any[])
src/sandbox/patchers/css.ts:21
↓ 4 callersFunctiongenAppInstanceIdByName
(appName: string)
src/utils.ts:188
↓ 4 callersFunctiongetContainerXPath
(container?: string | HTMLElement)
src/utils.ts:304
↓ 4 callersFunctiongetMicroAppStateActions
(id: string, isMaster?: boolean)
src/globalState.ts:37
↓ 4 callersFunctiongetWrapperId
(name: string)
src/utils.ts:164
↓ 4 callersFunctionisBoundedFunction
(fn: CallableFunction)
src/utils.ts:118
↓ 4 callersFunctionpatchLooseSandbox
( appName: string, appWrapperGetter: () => HTMLElement | ShadowRoot, sandbox: SandBox, mounting = true
src/sandbox/patchers/dynamicAppend/forLooseSandbox.ts:27
↓ 4 callersFunctionrecordStyledComponentsCSSRules
(styleElements: HTMLStyleElement[])
src/sandbox/patchers/dynamicAppend/common.ts:175
↓ 4 callersFunctionrender
({ element, loading, container }, phase)
src/loader.ts:156
↓ 4 callersMethodrender
()
examples/react15/App.jsx:8
↓ 4 callersMethodrewrite
(rules: CSSRule[], prefix: string = '')
src/sandbox/patchers/css.ts:90
↓ 4 callersFunctionvalidateSingularMode
( validate: FrameworkConfiguration['singular'], app: LoadableApp<T>, )
src/loader.ts:58
↓ 3 callersFunctionappsName2Apps
(names: string[])
src/prefetch.ts:116
↓ 3 callersFunctionarray2TruthyObject
* transform array to object to enable faster element check with in operator * @param array
src/sandbox/proxySandbox.ts:31
↓ 3 callersFunctionassertElementExist
(element: Element | null | undefined, msg?: string)
src/loader.ts:36
↓ 3 callersFunctiongetOverwrittenAppendChildOrInsertBefore
(opts: { rawDOMAppendOrInsertBefore: <T extends Node>(newChild: T, refChild?: Node | null) => T; isInvoked
src/sandbox/patchers/dynamicAppend/common.ts:206
↓ 3 callersFunctiongetStyledElementCSSRules
(styledElement: HTMLStyleElement)
src/sandbox/patchers/dynamicAppend/common.ts:191
↓ 3 callersFunctiongetXPathForElement
(el: Node, document: Document)
src/utils.ts:267
↓ 3 callersFunctionisHijackingTag
(tagName?: string)
src/sandbox/patchers/dynamicAppend/common.ts:51
↓ 3 callersFunctionloader
(loading)
examples/main/index.js:16
↓ 3 callersFunctionpatch
(global: Window)
src/sandbox/patchers/interval.ts:12
↓ 3 callersFunctionpatchStrictSandbox
( appName: string, appWrapperGetter: () => HTMLElement | ShadowRoot, sandbox: SandBox, mounting = true
src/sandbox/patchers/dynamicAppend/forStrictSandbox.ts:247
↓ 3 callersFunctionprefetchAfterFirstMounted
(apps: AppMetadata[], opts?: ImportEntryOpts)
src/prefetch.ts:88
↓ 3 callersFunctionrebuildCSSRules
( styleSheetElements: HTMLStyleElement[], reAppendElement: (stylesheetElement: HTMLStyleElement) => boolea
src/sandbox/patchers/dynamicAppend/common.ts:489
↓ 3 callersMethodregisterRunningApp
(name: string, proxy: Window)
src/sandbox/proxySandbox.ts:419
↓ 3 callersMethodsetWindowProp
(prop: PropertyKey, value: any, toDelete?: boolean)
src/sandbox/legacy/sandbox.ts:40
↓ 2 callersFunctionattachElementToProxy
(element: HTMLElement, proxy: Window)
src/sandbox/patchers/dynamicAppend/forStrictSandbox.ts:54
↓ 2 callersFunctionautoDowngradeForLowVersionBrowser
(configuration: FrameworkConfiguration)
src/apis.ts:26
↓ 2 callersFunctioncreateElement
( appContent: string, strictStyleIsolation: boolean, scopedCSS: boolean, appInstanceId: string, )
src/loader.ts:67
↓ 2 callersFunctioncreateStyleElement
()
src/sandbox/patchers/dynamicAppend/__tests__/common.test.ts:10
↓ 2 callersFunctiondefineNonEnumerableProperty
(target: any, key: string | symbol, value: any)
src/sandbox/patchers/dynamicAppend/common.ts:162
↓ 2 callersFunctionemitGlobal
(state: Record<string, any>, prevState: Record<string, any>)
src/globalState.ts:14
↓ 2 callersFunctiongetAppWrapperGetter
generate app wrapper dom getter
src/loader.ts:113
↓ 2 callersFunctiongetContainer
(container: string | HTMLElement)
src/utils.ts:300
↓ 2 callersFunctiongetDefaultTplWrapper
(name: string, sandboxOpts: FrameworkConfiguration['sandbox'])
src/utils.ts:142
↓ 2 callersFunctiongetNewRemoveChild
( rawRemoveChild: typeof HTMLElement.prototype.removeChild, containerConfigGetter: (element: HTMLElement)
src/sandbox/patchers/dynamicAppend/common.ts:371
↓ 2 callersFunctioninitGlobalState
(state: Record<string, any> = {})
src/globalState.ts:22
↓ 2 callersFunctionisAllAppsUnmounted
()
src/sandbox/patchers/dynamicAppend/common.ts:94
↓ 2 callersFunctionisCallable
(fn: any)
src/utils.ts:74
↓ 2 callersFunctionisStyledComponentsLike
(element: HTMLStyleElement)
src/sandbox/patchers/dynamicAppend/common.ts:65
↓ 2 callersFunctioniter
(obj: typeof window, callbackFn: (prop: any) => void)
src/sandbox/snapshotSandbox.ts:8
↓ 2 callersFunctionloadApp
( app: LoadableApp<T>, configuration: FrameworkConfiguration = {}, lifeCycles?: FrameworkLifeCycles<T>,
src/loader.ts:244
↓ 2 callersFunctionloadMicroApp
( app: LoadableApp<T>, configuration?: FrameworkConfiguration & { autoStart?: boolean }, lifeCycles?: Fr
src/apis.ts:95
↓ 2 callersFunctionmanualInvokeElementOnError
(element: HTMLLinkElement | HTMLScriptElement)
src/sandbox/patchers/dynamicAppend/common.ts:130
↓ 2 callersFunctionmanualInvokeElementOnLoad
(element: HTMLLinkElement | HTMLScriptElement)
src/sandbox/patchers/dynamicAppend/common.ts:116
↓ 2 callersFunctionpatchCustomEvent
( e: CustomEvent, elementGetter: () => HTMLScriptElement | HTMLLinkElement | null, )
src/sandbox/patchers/dynamicAppend/common.ts:100
↓ 2 callersFunctionpatchHTMLDynamicAppendPrototypeFunctions
( isInvokedByMicroApp: (element: HTMLElement) => boolean, containerConfigGetter: (element: HTMLElement) =>
src/sandbox/patchers/dynamicAppend/common.ts:426
↓ 2 callersFunctionperformanceMark
(markName: string)
src/utils.ts:236
↓ 2 callersFunctionprefetch
* prefetch assets, do nothing while in mobile network * @param entry * @param opts
src/prefetch.ts:75
↓ 2 callersFunctionprefetchImmediately
(apps: AppMetadata[], opts?: ImportEntryOpts)
src/prefetch.ts:103
↓ 2 callersFunctionregisterValidSW
(swUrl, config)
examples/react16/src/serviceWorker.js:55
↓ 2 callersFunctionrender
({ loading })
examples/main/render/VueRender.js:22
↓ 2 callersFunctionrender
(props = {})
examples/vue3/src/main.js:13
↓ 2 callersFunctionrender
(props = {})
examples/vue/src/main.js:17
↓ 2 callersFunctionresolve
(dir)
examples/vue3/vue.config.js:4
↓ 2 callersFunctionsetDefaultMountApp
(defaultAppLink: string)
src/effects.ts:12
↓ 2 callersFunctionstoreTest
(props)
examples/vue/src/main.js:36
↓ 2 callersFunctionsyncAppWrapperElement2Sandbox
(element: HTMLElement | null)
src/loader.ts:361
↓ 2 callersFunctionwrapParcelConfigForRemount
(config: ParcelConfigObject)
src/apis.ts:109
↓ 1 callersMethodactive
()
src/sandbox/proxySandbox.ts:181
↓ 1 callersFunctionbootstrap
()
examples/react15/index.js:12
↓ 1 callersFunctioncheckValidServiceWorker
(swUrl, config)
examples/react16/src/serviceWorker.js:99
↓ 1 callersFunctionconvertLinkAsStyle
( element: HTMLLinkElement, postProcess: (styleElement: HTMLStyleElement) => void, fetchFn = fetch, )
src/sandbox/patchers/dynamicAppend/common.ts:140
↓ 1 callersFunctioncreateFakeWindow
(globalContext: Window, speedy: boolean)
src/sandbox/proxySandbox.ts:105
↓ 1 callersFunctioncreateSandboxContainer
( appName: string, elementGetter: () => HTMLElement | ShadowRoot, scopedCSS: boolean, useLooseSandbox?
src/sandbox/index.ts:34
↓ 1 callersFunctiondoPrefetchStrategy
( apps: AppMetadata[], prefetchStrategy: PrefetchStrategy, importEntryOpts?: ImportEntryOpts, )
src/prefetch.ts:111
↓ 1 callersFunctiongetAddOns
(global: Window, publicPath: string)
src/addons/index.ts:11
↓ 1 callersFunctiongetLifecyclesFromExports
( scriptExports: LifeCycles<any>, appName: string, global: WindowProxy, globalLatestSetProp?: Property
src/loader.ts:206
↓ 1 callersFunctiongetRender
* Get the render function * If the legacy render function is provide, used as it, otherwise we will insert the app element to target container by qia
src/loader.ts:155
↓ 1 callersMethodgetTitleText
()
examples/angular9/e2e/src/app.po.ts:8
↓ 1 callersFunctionidleCall
(cb: IdleRequestCallback, start: number)
src/prefetch.ts:19
↓ 1 callersMethodinactive
()
src/sandbox/proxySandbox.ts:186
↓ 1 callersFunctionisConstructable
(fn: () => any | FunctionConstructor)
src/utils.ts:43
↓ 1 callersFunctionisCurrentScriptConfigurable
()
src/sandbox/patchers/dynamicAppend/common.ts:314
↓ 1 callersFunctionisEnableScopedCSS
(sandbox: FrameworkConfiguration['sandbox'])
src/utils.ts:250
↓ 1 callersFunctionisExecutableScriptType
(script: HTMLScriptElement)
src/sandbox/patchers/dynamicAppend/common.ts:42
next →1–100 of 213, ranked by callers