[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/js/dist/ -> commands.js (summary)

(no description)

File Size: 4016 lines (184 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 94 functions

  __webpack_require__()
  _extends()
  Provider()
  useContext()
  Provider()
  useContext()
  handleAndDispatchPointerDownOutsideEvent()
  handleFocusIn()
  handleFocusOut()
  handleMutations()
  __extends()
  __()
  __rest()
  __decorate()
  __param()
  __esDecorate()
  accept()
  __runInitializers()
  __propKey()
  __setFunctionName()
  __metadata()
  __awaiter()
  adopt()
  fulfilled()
  rejected()
  step()
  __generator()
  verb()
  step()
  __exportStar()
  __values()
  __read()
  __spread()
  __spreadArrays()
  __spreadArray()
  __await()
  __asyncGenerator()
  awaitReturn()
  verb()
  resume()
  step()
  fulfill()
  reject()
  settle()
  __asyncDelegator()
  verb()
  __asyncValues()
  verb()
  settle()
  __makeTemplateObject()
  __importStar()
  __importDefault()
  __classPrivateFieldGet()
  __classPrivateFieldSet()
  __classPrivateFieldIn()
  __addDisposableResource()
  __disposeResources()
  fail()
  next()
  assignRef()
  useCallbackRef()
  useMergeRefs()
  ItoI()
  innerCreateMedium()
  createMedium()
  createSidecarMedium()
  exportSidecar()
  makeStyleTag()
  injectStyles()
  insertStyleTag()
  RemoveScrollSideCar()
  r()
  Icon()
  commands()
  commandLoaders()
  isOpen()
  context()
  registerCommand()
  unregisterCommand()
  registerCommandLoader()
  unregisterCommandLoader()
  actions_open()
  actions_close()
  selectors_isOpen()
  getContext()
  setContext()
  CommandMenuLoader()
  CommandMenuLoaderWrapper()
  CommandMenuGroup()
  CommandInput()
  CommandMenu()
  useCommandContext()
  useCommand()
  useCommandLoader()

Functions
Functions that are not part of a class:

__webpack_require__(moduleId)   X-Ref
No description

_extends()   X-Ref
No description

Provider(props)   X-Ref
No description

useContext(consumerName)   X-Ref
No description

Provider(props)   X-Ref
No description

useContext(consumerName, scope)   X-Ref
No description

handleAndDispatchPointerDownOutsideEvent()   X-Ref
No description

handleFocusIn(event)   X-Ref
No description

handleFocusOut(event)   X-Ref
No description

handleMutations(mutations)   X-Ref
No description

__extends(d, b)   X-Ref
No description

__()   X-Ref
No description

__rest(s, e)   X-Ref
No description

__decorate(decorators, target, key, desc)   X-Ref
No description

__param(paramIndex, decorator)   X-Ref
No description

__esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers)   X-Ref
No description

accept(f)   X-Ref
No description

__runInitializers(thisArg, initializers, value)   X-Ref
No description

__propKey(x)   X-Ref
No description

__setFunctionName(f, name, prefix)   X-Ref
No description

__metadata(metadataKey, metadataValue)   X-Ref
No description

__awaiter(thisArg, _arguments, P, generator)   X-Ref
No description

adopt(value)   X-Ref
No description

fulfilled(value)   X-Ref
No description

rejected(value)   X-Ref
No description

step(result)   X-Ref
No description

__generator(thisArg, body)   X-Ref
No description

verb(n)   X-Ref
No description

step(op)   X-Ref
No description

__exportStar(m, o)   X-Ref
No description

__values(o)   X-Ref
No description

__read(o, n)   X-Ref
No description

__spread()   X-Ref
No description

__spreadArrays()   X-Ref
No description

__spreadArray(to, from, pack)   X-Ref
No description

__await(v)   X-Ref
No description

__asyncGenerator(thisArg, _arguments, generator)   X-Ref
No description

awaitReturn(f)   X-Ref
No description

verb(n, f)   X-Ref
No description

resume(n, v)   X-Ref
No description

step(r)   X-Ref
No description

fulfill(value)   X-Ref
No description

reject(value)   X-Ref
No description

settle(f, v)   X-Ref
No description

__asyncDelegator(o)   X-Ref
No description

verb(n, f)   X-Ref
No description

__asyncValues(o)   X-Ref
No description

verb(n)   X-Ref
No description

settle(resolve, reject, d, v)   X-Ref
No description

__makeTemplateObject(cooked, raw)   X-Ref
No description

__importStar(mod)   X-Ref
No description

__importDefault(mod)   X-Ref
No description

__classPrivateFieldGet(receiver, state, kind, f)   X-Ref
No description

__classPrivateFieldSet(receiver, state, value, kind, f)   X-Ref
No description

__classPrivateFieldIn(state, receiver)   X-Ref
No description

__addDisposableResource(env, value, async)   X-Ref
No description

__disposeResources(env)   X-Ref
No description

fail(e)   X-Ref
No description

next()   X-Ref
No description

assignRef(ref, value)   X-Ref
Assigns a value for a given ref, no matter of the ref format

param: {RefObject} ref - a callback function or ref object
param: value - a new value

useCallbackRef(initialValue, callback)   X-Ref
creates a MutableRef with ref change callback

param: initialValue - initial ref value
param: {Function} callback - a callback to run when value changes
returns: {MutableRefObject}

useMergeRefs(refs, defaultValue)   X-Ref
Merges two or more refs together providing a single interface to set their value

param: {RefObject|Ref} refs
returns: {MutableRefObject} - a new ref, which translates all changes to {refs}

ItoI(a)   X-Ref
No description

innerCreateMedium(defaults, middleware)   X-Ref
No description

createMedium(defaults, middleware)   X-Ref
No description

createSidecarMedium(options)   X-Ref
No description

exportSidecar(medium, exported)   X-Ref
No description

makeStyleTag()   X-Ref
No description

injectStyles(tag, css)   X-Ref
No description

insertStyleTag(tag)   X-Ref
No description

RemoveScrollSideCar(props)   X-Ref
No description

r(e)   X-Ref
No description

Icon({icon,size = 24,...props}, ref)   X-Ref
Return an SVG icon.

param: {IconProps}                                 props icon is the SVG component to render
param: {import('react').ForwardedRef<HTMLElement>} ref   The forwarded ref to the SVG element.
return: {JSX.Element}  Icon component

commands(state = {}, action)   X-Ref
Reducer returning the registered commands

param: {Object} state  Current state.
param: {Object} action Dispatched action.
return: {Object} Updated state.

commandLoaders(state = {}, action)   X-Ref
Reducer returning the command loaders

param: {Object} state  Current state.
param: {Object} action Dispatched action.
return: {Object} Updated state.

isOpen(state = false, action)   X-Ref
Reducer returning the command palette open state.

param: {Object} state  Current state.
param: {Object} action Dispatched action.
return: {boolean} Updated state.

context(state = 'root', action)   X-Ref
Reducer returning the command palette's active context.

param: {Object} state  Current state.
param: {Object} action Dispatched action.
return: {boolean} Updated state.

registerCommand(config)   X-Ref
Returns an action object used to register a new command.

param: {WPCommandConfig} config Command config.
return: {Object} action.

unregisterCommand(name)   X-Ref
Returns an action object used to unregister a command.

param: {string} name Command name.
return: {Object} action.

registerCommandLoader(config)   X-Ref
Register command loader.

param: {WPCommandLoaderConfig} config Command loader config.
return: {Object} action.

unregisterCommandLoader(name)   X-Ref
Unregister command loader hook.

param: {string} name Command loader name.
return: {Object} action.

actions_open()   X-Ref
Opens the command palette.

return: {Object} action.

actions_close()   X-Ref
Closes the command palette.

return: {Object} action.

selectors_isOpen(state)   X-Ref
Returns whether the command palette is open.

param: {Object} state State tree.
return: {boolean} Returns whether the command palette is open.

getContext(state)   X-Ref
Returns whether the active context.

param: {Object} state State tree.
return: {string} Context.

setContext(context)   X-Ref
Sets the active context.

param: {string} context Context.
return: {Object} action.

CommandMenuLoader({name,search,hook,setLoader,close})   X-Ref
No description

CommandMenuLoaderWrapper({hook,search,setLoader,close})   X-Ref
No description

CommandMenuGroup({isContextual,search,setLoader,close})   X-Ref
No description

CommandInput({isOpen,search,setSearch})   X-Ref
No description

CommandMenu()   X-Ref


useCommandContext(context)   X-Ref
Sets the active context of the command palette

param: {string} context Context to set.

useCommand(command)   X-Ref
Attach a command to the command palette. Used for static commands.

param: {import('../store/actions').WPCommandConfig} command command config.

useCommandLoader(loader)   X-Ref
Attach a command loader to the command palette. Used for dynamic commands.

param: {import('../store/actions').WPCommandLoaderConfig} loader command loader config.



Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref