MCPcopy Index your code

hub / github.com/smapiot/piral / functions

Functions2,787 in github.com/smapiot/piral

↓ 374 callersFunctionresolve
(url)
src/framework/piral-base/src/loaders/v0/dependency.test.ts:29
↓ 292 callersFunctionlog
(type: T, ...args: Parameters<Messages[T]>)
src/tooling/piral-cli/src/common/log.ts:87
↓ 196 callersMethodmap
* Maps a module id to a source. * @param id The module id. * @param source The source to map the module to.
src/converters/piral-aurelia/src/DefaultLoader.ts:15
↓ 179 callersFunctiondescribe
(name: string, value: string)
src/tooling/piral-cli/src/questionnaire.ts:60
↓ 168 callersMethodpush
* Pushes a new location onto the history stack.
src/framework/piral-core/src/types/navigation.ts:63
↓ 121 callersMethodfilter
* Allows filtering of the search providers to query. * @param query The query that should be run. * @param providerNames The names of the availa
src/plugins/piral-search/src/create.ts:68
↓ 118 callersFunctionrender
(h)
src/converters/piral-vue/src/mount.ts:21
↓ 115 callersFunctioncreate
(options)
src/tooling/piral-cli-webpack5/src/webpack/piral.ts:94
↓ 108 callersFunctionrequire
(moduleId: string)
src/framework/piral-base/src/loaders/v0/dependency.ts:20
↓ 71 callersFunctionensure
(name: string, value: any, expectedType: string | Array<string>)
src/tooling/piral-cli/src/common/validate.ts:3
↓ 70 callersMethoddispatch
* Dispatches a state change. * @param update The update function creating a new state.
src/framework/piral-core/src/types/state.ts:346
↓ 68 callersMethodreplace
* Replaces the current location with another.
src/framework/piral-core/src/types/navigation.ts:67
↓ 62 callersFunctionprogress
(message: string, ...args: Array<string | number | boolean>)
src/tooling/piral-cli/src/common/log.ts:64
↓ 56 callersFunctionfail
(type: T, ...args: Parameters<Messages[T]>)
src/tooling/piral-cli/src/common/log.ts:80
↓ 48 callersFunctioncreateElement
(moduleName: string, props: any)
src/converters/piral-blazor/src/interop.ts:174
↓ 46 callersFunctionselect
(from: SelectCommands)
src/tooling/piral-cli/src/select.ts:18
↓ 39 callersFunctionsatisfies
(v: string, r: string)
src/tooling/piral-cli/src/common/version.ts:122
↓ 37 callersMethoderror
(message: string)
src/tooling/piral-cli/src/types/common.ts:188
↓ 36 callersFunctioncreateListener
(state: any = {})
src/framework/piral-base/src/events.ts:15
↓ 35 callersFunctionreadJson
(targetDir: string, fileName: string, defaultValue = {})
src/tooling/piral-cli/src/common/io.ts:370
↓ 33 callersMethoddefineActions
* Defines a set of actions for Piral. * @param actions The actions to define.
src/framework/piral-core/src/types/state.ts:254
↓ 30 callersMethodon
(cb: (args: any) => void)
src/tooling/piral-cli/src/types/common.ts:122
↓ 30 callersMethodsetup
* Integrates the evaluated pilet into the application. * @param api The API to access the application.
src/framework/piral-base/src/types/runtime.ts:102
↓ 30 callersFunctionuseGlobalState
(select?: (state: GlobalState) => R)
src/framework/piral-core/src/hooks/globalState.ts:28
↓ 28 callersFunctioncheckExists
(target: string)
src/tooling/piral-cli/src/common/io.ts:105
↓ 28 callersMethodtoString
()
src/utilities/piral-debug-utils/src/stack.ts:58
↓ 26 callersMethodgetItem
* Gets the value of an item. * @param name The name of the item to look for.
src/framework/piral-core/src/types/utils.ts:19
↓ 25 callersMethodget
(path: string)
src/framework/piral-base/src/loaders/mf/index.ts:21
↓ 25 callersFunctionsetupOidcClient
(config: OidcConfig)
src/plugins/piral-oidc/src/setup.ts:26
↓ 25 callersFunctionupdate
(data)
src/plugins/piral-feeds/src/utils.ts:19
↓ 25 callersFunctionwithKey
(obj: T, key: TKey, value: T[TKey])
src/framework/piral-core/src/utils/helpers.ts:75
↓ 24 callersMethodemit
* Emits a new event with the given type. * @param type The type of the event to emit. * @param arg The payload of the event.
src/framework/piral-base/src/types/api.ts:56
↓ 22 callersFunctiondetermineNpmClient
(root: string, selected?: NpmClientType)
src/tooling/piral-cli/src/common/npm.ts:139
↓ 22 callersFunctionisfunc
(f: any)
src/framework/piral-base/src/utils/helpers.ts:1
↓ 22 callersFunctionlogDone
(message: string, ...args: Array<string | number | boolean>)
src/tooling/piral-cli/src/common/log.ts:46
↓ 21 callersFunctiongetPiralComponent
(name: TKey)
src/framework/piral-core/src/components/components.tsx:12
↓ 21 callersFunctionh
(e: string, attrs: Record<string, string> = {}, ...children: (string | Node)[])
src/utilities/piral-debug-utils/src/overlay.ts:4
↓ 20 callersFunctioncreateActions
(state: UseBoundStore<GlobalState>, events: EventEmitter)
src/framework/piral-core/src/state/createActions.ts:28
↓ 20 callersFunctionfindFile
( topDir: string, fileName: string | Array<string>, stopDir = resolve(topDir, '/'), )
src/tooling/piral-cli/src/common/io.ts:144
↓ 20 callersFunctionisSame
(a: T, b: T)
src/framework/piral-core/src/utils/compare.ts:33
↓ 19 callersFunctioncreateActions
(state, listener)
src/plugins/piral-search/src/actions.test.ts:16
↓ 19 callersFunctioncreateListener
()
src/plugins/piral-search/src/actions.test.ts:8
↓ 19 callersFunctiondefaultRender
(children: React.ReactNode, key?: string)
src/framework/piral-core/src/utils/react.tsx:3
↓ 19 callersFunctionupdate
(newProps)
src/framework/piral-core/src/modules/element.ts:306
↓ 18 callersFunctioncb
(ev: any)
src/framework/piral-base/src/events.ts:26
↓ 18 callersFunctiondispose
()
src/framework/piral-core/src/RootListener.tsx:26
↓ 18 callersFunctionsetLogLevel
(value: LogLevels)
src/tooling/piral-cli/src/common/log.ts:16
↓ 18 callersFunctionwithoutKey
(obj: T, key: TKey)
src/framework/piral-core/src/utils/helpers.ts:82
↓ 17 callersFunctionuseEffect
()
src/plugins/piral-translate/src/hooks.test.ts:21
↓ 17 callersFunctionwithApi
( context: GlobalStateContext, component: AnyComponent<TProps & BaseComponentProps>, piral: PiletApi,
src/framework/piral-core/src/state/withApi.tsx:48
↓ 16 callersFunctionbuildName
(prefix: string, name: string | number)
src/framework/piral-core/src/utils/guid.ts:11
↓ 16 callersFunctionfetch
(path, options: any = {})
src/plugins/piral-fetch/src/create.ts:13
↓ 16 callersFunctioninstallNpmPackage
( client: NpmClient, packageRef: string, target = '.', ...flags: Array<string> )
src/tooling/piral-cli/src/common/npm.ts:225
↓ 15 callersFunctionvalidate
(version: string)
src/tooling/piral-cli/src/common/version.ts:118
↓ 14 callersFunctionisLocalPackage
(baseDir: string, fullName: string)
src/tooling/piral-cli/src/common/npm.ts:286
↓ 14 callersMethodon
(cb: () => void)
src/tooling/piral-cli/src/common/watcher.ts:6
↓ 14 callersFunctionsetupLocalizer
(config: LocaleConfig = {})
src/plugins/piral-translate/src/create.ts:50
↓ 14 callersFunctionuseGlobalStateContext
()
src/framework/piral-core/src/hooks/globalState.ts:11
↓ 13 callersFunctioncreateInstance
(config: PiralInstanceOptions = {})
src/framework/piral-core/src/createInstance.tsx:29
↓ 13 callersFunctioncreateLocaleApi
(localizer: Localizable = setupLocalizer())
src/plugins/piral-translate/src/create.ts:70
↓ 13 callersFunctioncreateRouteMatcher
(path: string)
src/framework/piral-core/src/utils/routes.ts:133
↓ 13 callersFunctionlogInfo
(message: string, ...args: Array<string | number | boolean>)
src/tooling/piral-cli/src/common/log.ts:20
↓ 13 callersMethodsetItem
* Sets the value of an item. * @param name The name of the item to set. * @param data The new value of the item. * @param expires Optional ex
src/framework/piral-core/src/types/utils.ts:14
↓ 13 callersFunctionuseForm
( initialData: TFormData, navigation: NavigationApi, options: InputFormOptions<TFormData, any>, existi
src/plugins/piral-forms/src/useForm.ts:131
↓ 12 callersFunctioncb
(dispatch: StateDispatcher<any>)
src/plugins/piral-containers/src/create.ts:34
↓ 12 callersFunctioncreateFileIfNotExists
( targetDir: string, fileName: string, content: Buffer | string, forceOverwrite = ForceOverwrite.no, )
src/tooling/piral-cli/src/common/io.ts:316
↓ 12 callersFunctiongetDefaultLoader
(config: DefaultLoaderConfig = {})
src/framework/piral-base/src/loader.ts:41
↓ 12 callersFunctionpromisify
(value?: T | PromiseLike<T>)
src/framework/piral-base/src/utils/helpers.ts:9
↓ 12 callersFunctionreadImportmap
( dir: string, packageDetails: PiralPackageData, versionBehavior: ImportmapVersions = 'exact', inherit
src/tooling/piral-cli/src/common/importmap.ts:368
↓ 12 callersMethodreadState
* Gets a snapshot of the current global state. * @param select The selection function to obtain the desired slice.
src/framework/siteless/src/index.ts:114
↓ 12 callersMethodstart
()
src/tooling/piral-cli/src/types/common.ts:120
↓ 12 callersMethodtranslate
* Translates the given tag (using the optional variables) into a string using the current language. * The used template can contain placeholders in
src/plugins/piral-translate/src/types.ts:168
↓ 12 callersMethodupdate
(props: any)
src/converters/piral-blazor/src/converter.ts:62
↓ 11 callersFunctioncreateApi
(container, apis = [])
src/framework/piral-core/src/modules/api.test.ts:33
↓ 11 callersFunctiondeepMerge
(target: any, source: any)
src/tooling/piral-cli/src/common/merge.ts:64
↓ 11 callersFunctiondissectPackageName
( baseDir: string, fullName: string, client: NpmClient, )
src/tooling/piral-cli/src/common/npm.ts:376
↓ 11 callersMethodlisten
* Starts listening for location changes and calls the given * callback with an Update when it does. * @param listener The function being called
src/framework/piral-core/src/types/navigation.ts:87
↓ 11 callersMethodregisterPage
* Registers a route for predefined page component. * The route needs to be unique and can contain params. * Params are following the path-to-reg
src/framework/piral-core/src/types/api.ts:150
↓ 11 callersMethodtext
(selector: string, text: string, linkFiles = false)
src/utilities/piral-debug-utils/src/overlay.ts:283
↓ 11 callersMethodtriggerSearch
* Triggers the search explicitly. * @param input Optionally sets the query to look for. Otherwise the current input is taken. * @param immed
src/plugins/piral-search/src/types.ts:62
↓ 10 callersFunctioncreateApi
(container)
src/framework/piral-core/src/modules/core.test.ts:33
↓ 10 callersFunctioncreateDirectory
(targetDir: string)
src/tooling/piral-cli/src/common/io.ts:59
↓ 10 callersFunctioncreateMockContainer
()
src/framework/piral-core/src/modules/api.test.ts:18
↓ 10 callersFunctioncreateMockContainer
()
src/framework/piral-core/src/modules/core.test.ts:18
↓ 10 callersFunctioninspectPilet
(meta: PiletEntry)
src/framework/piral-base/src/inspect.ts:36
↓ 10 callersFunctioninstallNpmDependencies
(client: NpmClient, target = '.')
src/tooling/piral-cli/src/common/npm.ts:174
↓ 10 callersMethodlocalizeGlobal
(key: string, variables?: T)
src/plugins/piral-translate/src/types.ts:122
↓ 10 callersFunctionmatchFiles
(baseDir: string, pattern: string)
src/tooling/piral-cli/src/common/io.ts:296
↓ 10 callersMethodrenderHtmlExtension
* Renders an extension in a plain DOM component. * @param element The DOM element or shadow root as a container for rendering the extension. * @
src/framework/piral-core/src/types/api.ts:190
↓ 10 callersFunctionsendMessage
(content: any)
src/utilities/piral-debug-utils/src/debug.ts:125
↓ 10 callersMethodsetData
* Sets the data using a given name. The name needs to be used exclusively by the current pilet. * Using the name occupied by another pilet will res
src/framework/piral-core/src/types/api.ts:141
↓ 10 callersFunctionwithAll
(...dispatchers: Array<(state: GlobalState) => GlobalState>)
src/framework/piral-core/src/utils/state.ts:11
↓ 9 callersFunctioncb
(err, updatedModules)
src/tooling/piral-cli-webpack5/src/webpack-hot-middleware/process-update.js:56
↓ 9 callersFunctioncomputeHash
(content: string | Buffer = '')
src/tooling/piral-cli/src/common/hash.ts:3
↓ 9 callersFunctioncreateGlobalState
(customState: NestedPartial<GlobalState> = {})
src/framework/piral-core/src/state/createGlobalState.ts:20
↓ 9 callersFunctiongetUserLocale
(availableLocales: Array<string>, defaultLocale: string, fallbackLocale?: string)
src/plugins/piral-translate/src/current.ts:17
↓ 9 callersFunctionloadFrom
(meta: Omit<PiletMetadata, 'basePath'>, loadPilet: () => PiletApp | Promise<PiletApp>)
src/framework/piral-base/src/utils/load.ts:34
↓ 9 callersFunctionmockNavigatorLanguage
(value = '')
src/plugins/piral-translate/src/current.test.ts:8
↓ 9 callersFunctionnavigate
(path, state)
src/framework/piral-core/src/tools/debugger.ts:38
↓ 9 callersFunctionnormalizePublicUrl
(url: string)
src/tooling/piral-cli/src/common/url.ts:1
next →1–100 of 2,787, ranked by callers