MCPcopy Create free account

hub / github.com/formkit/formkit / functions

Functions2,401 in github.com/formkit/formkit

↓ 1 callersFunctioncreateMessages
( node: FormKitNode, ...errors: Array<ErrorMessages | undefined> )
packages/core/src/store.ts:437
↓ 1 callersFunctioncreateName
* This node is responsible for deterministically generating an id for this * node. This cannot just be a random id, it _must_ be deterministic to ens
packages/core/src/node.ts:1837
↓ 1 callersFunctioncreateObserver
* Create a new mutation observer that checks for the document for ids. We do * this instead of iterating over the mutations because getElementById is
packages/addons/src/plugins/autoAnimatePlugin.ts:25
↓ 1 callersFunctioncreateOutdir
()
scripts/bundle.mjs:67
↓ 1 callersFunctioncreatePlugin
( _options: FormKitOptions | ((...args: any[]) => FormKitOptions) )
packages/react/src/plugin.ts:45
↓ 1 callersFunctioncreatePreRenderStepsFunction
(node: FormKitNode)
packages/addons/src/plugins/multiStep/multiStepPlugin.ts:505
↓ 1 callersFunctioncreateProps
* Create props based on initial values * * @param initial - An initial value to be transformed * * @internal
packages/core/src/node.ts:3147
↓ 1 callersFunctioncreateRenderFn
( instanceCreator: SchemaProvider, data: Record<string, any>, key: object )
packages/react/src/FormKitSchema.ts:1162
↓ 1 callersFunctioncreateSSRStepsFromTabs
(tabs: Record<string, any>[])
packages/addons/src/plugins/multiStep/multiStepPlugin.ts:479
↓ 1 callersFunctioncreateSlots
( children: RenderChildren, iterationData?: Record<string, unknown> )
packages/react/src/FormKitSchema.ts:867
↓ 1 callersFunctioncreateSlots
* Given a particular function that produces children, ensure that the second * argument of all these slots is the original instance key being used
packages/vue/src/FormKitSchema.ts:571
↓ 1 callersFunctioncreateStore
(_buffer = false)
packages/core/src/store.ts:187
↓ 1 callersFunctioncreateTeam
(token: string)
packages/cli/src/createApp.ts:50
↓ 1 callersFunctioncreateTestAttributePlugin
* A test plugin that adds a custom data attribute to the outer section. * Used to verify that the floating labels plugin merges with existing attribu
packages/addons/__tests__/floatingLabels.spec.ts:18
↓ 1 callersFunctioncreateTheme
( name: string, initialOptions: Partial<CreateThemeOptions> )
packages/cli/src/createTheme.ts:17
↓ 1 callersFunctioncreateTraps
* These are all the available "traps" for a given node. You can think of these * a little bit like methods, but they are really Proxy interceptors.
packages/core/src/node.ts:1743
↓ 1 callersFunctioncustomizePackageJson
(options: CreateThemeOptions)
packages/cli/src/createTheme.ts:40
↓ 1 callersFunctioncycle
()
packages/vue/__tests__/inputs/list.spec.ts:256
↓ 1 callersFunctiondedupe
( arr1: T, arr2?: X )
packages/utils/src/index.ts:76
↓ 1 callersFunctiondefineFormKitConfig
( config: DefaultConfigOptions | (() => DefaultConfigOptions) )
packages/vue/src/composables/defineFormKitConfig.ts:3
↓ 1 callersFunctiondefinedAs
(definition: FormKitTypeDefinition<V>)
packages/react/src/bindings.ts:458
↓ 1 callersFunctiondefinedAs
* Once the input is defined, deal with it. * @param definition - Type definition.
packages/vue/src/bindings.ts:466
↓ 1 callersFunctiondeployESM
* Deploy full packages to the FormKit Cloudfront CDN. * @param {string} version
scripts/deploy.mjs:65
↓ 1 callersFunctiondeployIIFE
* Deploy the project to a file store used for iife distribution. This is a * feature deprecated by the cdn.formk.it content delivery network. * @par
scripts/deploy.mjs:210
↓ 1 callersFunctiondestroy
* This node is being removed and needs to be cleaned up. * * @param node - A {@link FormKitNode | FormKitNode} * @param context - A {@link FormKitC
packages/core/src/node.ts:2227
↓ 1 callersFunctiondetectTailwindVersion
* Detect the Tailwind CSS version from the user's package.json. * Returns 3, 4, or null if unable to determine.
packages/cli/src/theme.ts:44
↓ 1 callersFunctiondrawPublishPreviewGraph
* Given a list of changed packages (prePublish) generate a tree view * that shows all applied changes
scripts/publish-legacy.mjs:584
↓ 1 callersFunctiondrawPublishPreviewGraph
* Given a list of changed packages (prePublish) generate a tree view * that shows all applied changes
scripts/publish.mjs:566
↓ 1 callersFunctioneditMode
( theme: string, variables: string, filePath: string )
packages/cli/src/theme.ts:295
↓ 1 callersFunctioneditTheme
( path: string, code: string, checksum: string, variables: string, theme: string )
packages/cli/src/theme.ts:251
↓ 1 callersFunctionemitter
(node: FormKitNode, event: FormKitEvent)
packages/core/src/events.ts:87
↓ 1 callersFunctionensureReactiveStore
(target: unknown)
packages/react/src/reactiveStore.ts:24
↓ 1 callersFunctioneqRegExp
(x: RegExp, y: RegExp)
packages/utils/src/index.ts:152
↓ 1 callersFunctionescapeExp
(string: string)
packages/utils/src/index.ts:196
↓ 1 callersFunctioneventKey
(event: FormKitEvent)
packages/core/src/events.ts:72
↓ 1 callersFunctionextract
(n: FormKitNode)
packages/validation/src/validation.ts:742
↓ 1 callersFunctionextractChecksum
(theme: string)
packages/cli/src/themeNormalize.ts:33
↓ 1 callersFunctionextractRules
* A string of validation rules written in FormKitRule notation. * @param validation - The string of rules * @internal
packages/validation/src/validation.ts:631
↓ 1 callersFunctionfetchInputList
* Fetches the list of inputs from the remote schema repository
packages/vue/src/FormKitKitchenSink.ts:151
↓ 1 callersFunctionfetchThemes
()
packages/cli/src/theme.ts:86
↓ 1 callersFunctionfindDefinition
* A cheap function that iterates over all plugins and stops once node.define * is called. * * @param node - A {@link FormKitNode | FormKitNode} *
packages/core/src/node.ts:3247
↓ 1 callersFunctionfindNearestPackageJson
(startDir: string)
packages/cli/src/skill.ts:288
↓ 1 callersFunctionfindParentWithBackgroundColor
* Traverses through parent elements to find the next closest non-transparent assigned background color * @param element - The element to start the se
packages/addons/src/plugins/floatingLabels/floatingLabelsPlugin.ts:22
↓ 1 callersFunctionfnHints
* Extracts hint properties from the validation rule function itself and applies * them if they are not already in the set of validation hints extract
packages/validation/src/validation.ts:712
↓ 1 callersFunctionformKitAutoImportPlugin
(options: { configFile?: string defaultConfig?: boolean })
packages/nuxt/src/autoImport.ts:62
↓ 1 callersFunctionfoundRoot
(root: Document | ShadowRoot)
packages/vue/src/FormKitRoot.ts:50
↓ 1 callersFunctiongenerateClasses
( classes: Record<string, Record<string, string>>, )
packages/themes/src/index.ts:44
↓ 1 callersFunctiongetAllFiles
(dirPath, arrayOfFiles)
scripts/utils.mjs:50
↓ 1 callersFunctiongetChangedDist
* Checks each package to see if the dist directory is different * than the currently published NPM module
scripts/publish-legacy.mjs:560
↓ 1 callersFunctiongetChangedDist
* Checks each package to see if the dist directory is different * than the currently published NPM module
scripts/publish.mjs:542
↓ 1 callersFunctiongetCodexHome
()
packages/cli/src/skill.ts:306
↓ 1 callersFunctiongetDependencyVersion
(pkg, parent)
scripts/utils.mjs:301
↓ 1 callersFunctiongetExplicitInheritedValue
(prop: string)
packages/core/src/node.ts:2949
↓ 1 callersFunctiongetFormKitSkillSourceDir
()
packages/cli/src/skill.ts:310
↓ 1 callersFunctiongetIconFromStylesheet
( iconName: string, )
packages/themes/src/index.ts:393
↓ 1 callersFunctiongetIconPropsFromNode
* Inspects a node for applicable icon props and returns any matches * * @param node - the node currently being operated on * * @returns `Record<an
packages/icons/src/plugin.ts:52
↓ 1 callersFunctiongetIcons
()
scripts/utils.mjs:90
↓ 1 callersFunctiongetInitialThemeMode
()
packages/react/playground/src/App.tsx:14
↓ 1 callersFunctiongetInputs
()
scripts/utils.mjs:403
↓ 1 callersFunctiongetLatestPackageCommits
(pkg, n = 15)
scripts/utils.mjs:333
↓ 1 callersFunctiongetLocales
()
scripts/utils.mjs:74
↓ 1 callersFunctiongetMaxAutoHeight
()
packages/addons/src/plugins/autoHeightTextarea.ts:49
↓ 1 callersFunctiongetMinAutoHeight
()
packages/addons/src/plugins/autoHeightTextarea.ts:25
↓ 1 callersFunctiongetModelValue
(props: Record<string, any>)
packages/react/src/composables/useInput.ts:188
↓ 1 callersFunctiongetPackageVersion
(pkg)
scripts/utils.mjs:292
↓ 1 callersFunctiongetPublishOrder
* Given a list of packages, determine the correct order to publish them * so that upgraded dependencies become included within their dependents
scripts/publish-legacy.mjs:575
↓ 1 callersFunctiongetPublishOrder
* Given a list of packages, determine the correct order to publish them * so that upgraded dependencies become included within their dependents
scripts/publish.mjs:557
↓ 1 callersFunctiongetRef
* Returns a reference as a placeholder to a specific location on an object. * @param data - A reactive data object * @param token - A dot-syntax str
packages/vue/src/FormKitSchema.ts:203
↓ 1 callersFunctiongetRemoteIcon
* Attempts to fetch a remote icon from the FormKit CDN * @param iconName - The string name of the icon * @public
packages/themes/src/index.ts:424
↓ 1 callersFunctiongetTail
* Extracts a tail call. For example: * ``` * $foo().bar(baz) + 7 * ``` * Would extract "bar(baz)" and return p of 15 (after the (baz)).
packages/core/src/compiler.ts:246
↓ 1 callersFunctiongetTailValue
(obj: any, addr: string)
packages/core/src/compiler.ts:65
↓ 1 callersFunctiongoToStep
(node: FormKitNode, target: number | string)
packages/addons/src/plugins/multiStep/multiStepPlugin.ts:384
↓ 1 callersFunctionguessDir
()
packages/cli/src/exportInput.ts:101
↓ 1 callersFunctionguessFormat
()
packages/cli/src/theme.ts:369
↓ 1 callersFunctionhasContextValueChanged
(current: unknown, next: unknown)
packages/react/src/bindings.ts:95
↓ 1 callersFunctionhasEventHandler
(handler: unknown)
packages/vue/src/FormKitIcon.ts:119
↓ 1 callersFunctionhasSlot
()
packages/react/src/FormKitSchema.ts:1172
↓ 1 callersFunctionhasSlot
()
packages/vue/src/FormKitSchema.ts:817
↓ 1 callersFunctionhumanizeSlug
(slug: string)
packages/cli/src/skillDocs.ts:136
↓ 1 callersFunctioniconClick
( sectionKey: string, )
packages/themes/src/index.ts:214
↓ 1 callersFunctioninferTagFromVersion
(version)
scripts/ci-prepare-publish.mjs:25
↓ 1 callersFunctioninferTagFromVersion
* Infer the npm dist-tag from a version string.
scripts/ci-publish.mjs:50
↓ 1 callersFunctioninitEvents
(node: FormKitNode, el: Element)
packages/addons/src/plugins/multiStep/multiStepPlugin.ts:458
↓ 1 callersFunctioninjectProviderComponent
( code: string, id: string, config: boolean, defaultConfig?: boolean )
packages/nuxt/src/autoImport.ts:26
↓ 1 callersFunctioninjectProviderImport
(code: string)
packages/nuxt/src/autoImport.ts:14
↓ 1 callersFunctioninput
* Sets the internal value of the node. * * @param node - A {@link FormKitNode | FormKitNode} * @param context - A {@link FormKitContext | FormKitCo
packages/core/src/node.ts:1878
↓ 1 callersFunctioninputs
()
packages/vue/__tests__/inputs/form.spec.ts:1274
↓ 1 callersFunctioninputsBuildExtras
()
scripts/build.mjs:183
↓ 1 callersFunctionisAlphaNumericVersion
(string)
scripts/utils.mjs:34
↓ 1 callersFunctionisComponent
(obj: any)
packages/react/src/composables/createInput.ts:12
↓ 1 callersFunctionisComponent
* Determine if the given object is a vue component. * * @param obj - Object or function * @returns * @public
packages/vue/src/composables/createInput.ts:19
↓ 1 callersFunctionisKeyboardClick
(event: KeyboardEvent)
packages/react/src/FormKitIcon.ts:121
↓ 1 callersFunctionisKeyboardClick
(e: KeyboardEvent)
packages/themes/src/index.ts:260
↓ 1 callersFunctionisKeyboardClick
(e: KeyboardEvent)
packages/vue/src/FormKitIcon.ts:131
↓ 1 callersFunctionisList
(arg: FormKitContextShape)
packages/core/src/node.ts:1655
↓ 1 callersFunctionisPartialNativeDateDelete
( e: Event, target: HTMLInputElement, currentValue: unknown )
packages/vue/src/bindings.ts:632
↓ 1 callersFunctionisPrerelease
* Check if a version is a pre-release.
scripts/ci-publish.mjs:60
↓ 1 callersFunctionisRenderableObject
(value: unknown)
packages/react/src/FormKit.ts:105
↓ 1 callersFunctionisSection
* Check if a schema node is conditional, has an else clause, and that else * clause contains a section in the meta. * @param section - A schema node
packages/inputs/src/compose.ts:225
↓ 1 callersFunctionisSugar
(node: FormKitSchemaNode)
packages/core/src/schema.ts:306
← previousnext →401–500 of 2,401, ranked by callers