[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/js/dist/ -> edit-post.js (summary)

(no description)

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

Defines 4 classes

fullscreen_mode_FullscreenMode:: (422 methods):
  useHTMLClass()
  InterfaceSkeleton()
  BaseOption()
  CustomFieldsConfirmation()
  EnableCustomFieldsOption()
  getOutboundType()
  CopyContentMenuItem()
  onSuccess()
  ManageBlocksMenuItem()
  KeyboardShortcutsHelpMenuItem()
  WelcomeGuideMenuItem()
  TextEditor()
  __extends()
  __()
  __rest()
  __decorate()
  __param()
  __metadata()
  __awaiter()
  adopt()
  fulfilled()
  rejected()
  step()
  __generator()
  verb()
  step()
  __exportStar()
  __values()
  __read()
  __spread()
  __spreadArrays()
  __spreadArray()
  __await()
  __asyncGenerator()
  verb()
  resume()
  step()
  fulfill()
  reject()
  settle()
  __asyncDelegator()
  verb()
  __asyncValues()
  verb()
  settle()
  __makeTemplateObject()
  __importStar()
  __importDefault()
  __classPrivateFieldGet()
  __classPrivateFieldSet()
  loadFeatures()
  useFeatures()
  useVisualElementContext()
  useConstant()
  usePresence()
  useIsPresent()
  use_presence_isPresent()
  useLayoutId()
  useVisualElement()
  isRefObject()
  useMotionRef()
  isVariantLabels()
  isVariantLabel()
  getCurrent()
  getVelocity()
  resolveVariantFromProps()
  resolveVariant()
  checkIfControllingVariants()
  checkIfVariantNode()
  getCurrentTreeVariants()
  useCreateMotionContext()
  variantLabelsAsDependency()
  createMotionComponent()
  MotionComponent()
  createMotionProxy()
  custom()
  isSVGComponent()
  addScaleCorrection()
  sortTransformProps()
  isTransformProp()
  isTransformOriginProp()
  isForcedMotionValue()
  buildTransform()
  buildTransformOrigin()
  isCSSVariable()
  tslib_es6_extends()
  __()
  tslib_es6_rest()
  tslib_es6_decorate()
  tslib_es6_param()
  tslib_es6_metadata()
  tslib_es6_awaiter()
  adopt()
  fulfilled()
  rejected()
  step()
  tslib_es6_generator()
  verb()
  step()
  tslib_es6_exportStar()
  tslib_es6_values()
  tslib_es6_read()
  tslib_es6_spread()
  tslib_es6_spreadArrays()
  tslib_es6_spreadArray()
  tslib_es6_await()
  tslib_es6_asyncGenerator()
  verb()
  resume()
  step()
  fulfill()
  reject()
  settle()
  tslib_es6_asyncDelegator()
  verb()
  tslib_es6_asyncValues()
  verb()
  settle()
  tslib_es6_makeTemplateObject()
  tslib_es6_importStar()
  tslib_es6_importDefault()
  tslib_es6_classPrivateFieldGet()
  tslib_es6_classPrivateFieldSet()
  isString()
  buildHTMLStyles()
  copyRawValuesOnly()
  useInitialMotionValues()
  useStyle()
  useHTMLProps()
  isValidMotionProp()
  filterProps()
  calcOrigin()
  calcSVGTransformOrigin()
  buildSVGPath()
  buildSVGAttrs()
  useSVGProps()
  createUseRender()
  renderHTML()
  renderSVG()
  scrape_motion_values_scrapeMotionValuesFromProps()
  utils_scrape_motion_values_scrapeMotionValuesFromProps()
  isAnimationControls()
  resolveMotionValue()
  makeState()
  makeLatestValues()
  isPath()
  createDomMotionConfig()
  addDomEvent()
  useDomEvent()
  useFocusGesture()
  isMouseEvent()
  isTouchEvent()
  filterPrimaryPointer()
  pointFromTouch()
  pointFromMouse()
  extractEventInfo()
  getViewportPointFromEvent()
  getPointerEventName()
  addPointerEvent()
  usePointerEvent()
  createLock()
  getGlobalLock()
  isDragActive()
  createHoverEvent()
  useHoverGesture()
  useUnmountEffect()
  useTapGesture()
  removePointerEndListener()
  checkPointerEnd()
  onPointerUp()
  onPointerCancel()
  onPointerDown()
  shallowCompare()
  tslib_tslib_es6_extends()
  __()
  tslib_tslib_es6_rest()
  tslib_tslib_es6_decorate()
  tslib_tslib_es6_param()
  tslib_tslib_es6_metadata()
  tslib_tslib_es6_awaiter()
  adopt()
  fulfilled()
  rejected()
  step()
  tslib_tslib_es6_generator()
  verb()
  step()
  tslib_tslib_es6_exportStar()
  tslib_tslib_es6_values()
  tslib_tslib_es6_read()
  tslib_tslib_es6_spread()
  tslib_tslib_es6_spreadArrays()
  tslib_tslib_es6_spreadArray()
  tslib_tslib_es6_await()
  tslib_tslib_es6_asyncGenerator()
  verb()
  resume()
  step()
  fulfill()
  reject()
  settle()
  tslib_tslib_es6_asyncDelegator()
  verb()
  tslib_tslib_es6_asyncValues()
  verb()
  settle()
  tslib_tslib_es6_makeTemplateObject()
  tslib_tslib_es6_importStar()
  tslib_tslib_es6_importDefault()
  tslib_tslib_es6_classPrivateFieldGet()
  tslib_tslib_es6_classPrivateFieldSet()
  findSpring()
  approximateRoot()
  calcAngularFreq()
  isSpringType()
  getSpringOptions()
  spring()
  createSpring()
  parseHex()
  test()
  analyse()
  parse()
  createTransformer()
  getAnimatableNone()
  getMixer()
  mix_complex_analyse()
  detectMixerFactory()
  createMixers()
  fastInterpolate()
  slowInterpolate()
  interpolate()
  defaultEasing()
  defaultOffset()
  convertOffsetToTimes()
  keyframes()
  createInterpolator()
  decay()
  detectAnimationFromOptions()
  createRenderStep()
  loopElapsed()
  reverseElapsed()
  hasRepeatDelayElapsed()
  animations_animate()
  repeat()
  complete()
  update()
  play()
  velocityPerSecond()
  inertia_inertia()
  isOutOfBounds()
  boundaryNearest()
  startAnimation()
  startSpring()
  binarySubdivide()
  newtonRaphsonIterate()
  cubicBezier()
  getTForX()
  applyDefaultFilter()
  animatable_none_getAnimatableNone()
  isTransitionDefined()
  convertTransitionToAnimationOptions()
  getDelayFromTransition()
  hydrateKeyframes()
  getPopmotionAnimationOptions()
  transitions_getAnimation()
  start()
  set()
  isZero()
  getZeroUnit()
  getValueTransition()
  transitions_startAnimation()
  addUniqueItem()
  removeItem()
  SubscriptionManager()
  MotionValue()
  motionValue()
  setMotionValue()
  setTarget()
  setVariants()
  setValues()
  checkTargetForNewValues()
  getOriginFromTransition()
  getOrigin()
  animateVisualElement()
  animateVariant()
  animateTarget()
  animateChildren()
  stopAnimation()
  sortByTreeOrder()
  shouldBlockAnimation()
  animateList()
  createAnimationState()
  isAnimated()
  setAnimateFunction()
  animateChanges()
  setActive()
  variantsHaveChanged()
  createTypeState()
  createState()
  distance()
  PanSession()
  PanSession_transformPoint()
  subtractPoint()
  getPanInfo()
  startDevicePoint()
  lastDevicePoint()
  PanSession_getVelocity()
  noop()
  convertBoundingBoxToAxisBox()
  convertAxisBoxToBoundingBox()
  transformBoundingBox()
  axisBox()
  copyAxisBox()
  geometry_delta()
  eachAxis()
  applyConstraints()
  calcConstrainedMinPoint()
  calcRelativeAxisConstraints()
  calcRelativeConstraints()
  calcViewportAxisConstraints()
  calcViewportConstraints()
  calcPositionFromProgress()
  rebaseAxisConstraints()
  resolveDragElastic()
  resolveAxisElastic()
  resolvePointElastic()
  getBoundingBox()
  isNear()
  calcLength()
  delta_calc_calcOrigin()
  updateAxisDelta()
  updateBoxDelta()
  defaultOrigin()
  calcRelativeAxis()
  calcRelativeBox()
  isProjecting()
  collectProjectingAncestors()
  collectProjectingChildren()
  updateLayoutMeasurement()
  snapshotViewportBox()
  tweenAxis()
  calcRelativeOffsetAxis()
  calcRelativeOffset()
  checkIfParentHasChanged()
  isDraggable()
  resetAxis()
  resetBox()
  scalePoint()
  applyPointDelta()
  applyAxisDelta()
  applyBoxDelta()
  applyAxisTransforms()
  applyBoxTransforms()
  removePointDelta()
  removeAxisDelta()
  removeAxisTransforms()
  removeBoxTransforms()
  applyTreeDeltas()
  convertToRelativeProjection()
  pushJob()
  batchLayout()
  flushLayout()
  VisualElementDragControls()
  shouldDrag()
  getCurrentDirection()
  useDrag()
  usePanGesture()
  onPointerDown()
  css_variables_conversion_isCSSVariable()
  parseCSSVariable()
  getVariableValue()
  resolveCSSVariables()
  pixelsToPercent()
  correctBorderRadius()
  correctBoxShadow()
  Animate()
  AnimateLayoutContextProvider()
  hasMoved()
  isZeroBox()
  axisIsEqual()
  isProvidedCorrectDataForRelativeSharedLayout()
  createBatcher()
  assignProjectionToSnapshot()
  isSharedLayout()
  Measure()
  MeasureContextProvider()
  createLayoutState()
  buildLayoutProjectionTransform()
  buildLayoutProjectionTransformOrigin()
  createLifecycles()
  updateMotionValuesFromProps()
  updateLayoutDeltas()
  FlatTree()
  setCurrentViewportBox()
  render()
  triggerBuild()
  update()
  updateLayoutProjection()
  updateTreeLayoutProjection()
  bindToMotionValue()
  fireResolveRelativeTargetBox()
  fireUpdateLayoutProjection()
  removeNonTranslationalTransform()
  unitConversion()
  visual_element_getComputedStyle()
  createDomMotionComponent()
  BlockInspectorButton()
  MaybeIframe()
  VisualEditor()
  KeyboardShortcuts()
  KeyCombination()
  Shortcut()
  DynamicShortcut()
  KeyboardShortcutHelpModal()
  BlockTypesChecklist()
  BlockManagerCategory()
  BlockManager()
  ManageBlocksModal()
  MetaBoxesSection()
  PreferencesModal()
  getPostEditURL()
  getPostTrashedURL()

browser_url_BrowserURL:: (33 methods):
  FullscreenModeClose()
  HeaderToolbar()
  ModeSwitcher()
  PreferencesMenuItem()
  FeatureToggle()
  WritingMenu()
  PostPublishButtonOrToggle()
  DevicePreview()
  DeleteTemplate()
  EditTemplateTitle()
  TemplateDescription()
  TemplateTitle()
  Header()
  InserterSidebar()
  ListViewSidebar()
  closeOnEscape()
  PostVisibility()
  PostTrash()
  PostSchedule()
  PostSticky()
  PostAuthor()
  PostSlug()
  PostFormat()
  PostPendingStatus()
  PostStatus()
  LastRevision()
  TaxonomyPanel()
  PostTaxonomies()
  FeaturedImage()
  PostExcerpt()
  PostLink()
  DiscussionPanel()
  PageAttributes()

meta_boxes_area_MetaBoxesArea:: (0 methods):

meta_box_visibility_MetaBoxVisibility:: (26 methods):
  MetaBoxes()
  PluginSidebarEditPost()
  PostTemplateActions()
  TemplatePanel()
  TemplateSummary()
  WelcomeGuideImage()
  WelcomeGuideDefault()
  WelcomeGuideTemplate()
  WelcomeGuide()
  ActionsPanel()
  Layout()
  EditorInitialization()
  Editor()
  PluginSidebarMoreMenuItem()
  reinitializeEditor()
  initializeEditor()
  Icon()
  arrayOf()
  isObjectLike()
  createCache()
  isShallowEqual()
  getRootCache()
  getWeakMapCache()
  clear()
  callSelector()
  _extends()

Defines 26 functions

  __webpack_require__()
  getDefault()
  getModuleExports()
  memoize()
  defaultSetTimout()
  defaultClearTimeout()
  runTimeout()
  runClearTimeout()
  cleanUpNextTick()
  drainQueue()
  Item()
  noop()
  removedPanels()
  activeModal()
  publishSidebarActive()
  isSavingMetaBoxes()
  metaBoxLocations()
  deviceType()
  blockInserterPanel()
  listViewPanel()
  isEditingTemplate()
  metaBoxesInitialized()
  openModal()
  closeModal()
  openPublishSidebar()
  closePublishSidebar()
  togglePublishSidebar()
  toggleEditorPanelEnabled()
  toggleEditorPanelOpened()
  removeEditorPanel()
  toggleFeature()
  togglePinnedPluginItem()
  hideBlockTypes()
  updatePreferredStyleVariations()
  __experimentalUpdateLocalAutosaveInterval()
  showBlockTypes()
  metaBoxUpdatesSuccess()
  __experimentalSetPreviewDeviceType()
  setIsInserterOpened()
  setIsListViewOpened()
  setIsEditingTemplate()
  getEditorMode()
  getPreferences()
  getPreference()
  isPublishSidebarOpened()
  isEditorPanelRemoved()
  isEditorPanelEnabled()
  isEditorPanelOpened()
  isModalActive()
  isFeatureActive()
  isMetaBoxLocationVisible()
  isMetaBoxLocationActive()
  getMetaBoxesPerLocation()
  selectors_hasMetaBoxes()
  selectors_isSavingMetaBoxes()
  __experimentalGetPreviewDeviceType()
  isInserterOpened()
  __experimentalGetInsertionPoint()
  isListViewOpened()
  selectors_isEditingTemplate()
  areMetaBoxesInitialized()
  classNames()
  singleEnableItems()
  multipleEnableItems()
  setSingleEnableItem()
  actions_enableComplementaryArea()
  actions_disableComplementaryArea()
  setMultipleEnableItem()
  actions_pinItem()
  actions_unpinItem()
  getSingleEnableItem()
  selectors_getActiveComplementaryArea()
  isMultipleEnabledItemEnabled()
  selectors_isItemPinned()
  ComplementaryAreaToggle()
  ActionItemSlot()
  ActionItem()
  ComplementaryAreaMoreMenuItem()
  PinnedItems()
  PinnedItemsSlot()
  ComplementaryAreaSlot()
  ComplementaryAreaFill()
  useAdjustComplementaryListener()
  ComplementaryArea()

Class: fullscreen_mode_FullscreenMode  - X-Ref

WordPress dependencies

useHTMLClass(className)   X-Ref
No description

InterfaceSkeleton({footer,header,sidebar,secondarySidebar,notices,content,drawer,actions,labels,className,shortcuts}, ref)   X-Ref
No description

BaseOption({help,label,isChecked,onChange,children})   X-Ref
WordPress dependencies


CustomFieldsConfirmation({willEnable})   X-Ref
Internal dependencies


EnableCustomFieldsOption({label,areCustomFieldsEnabled})   X-Ref
No description

getOutboundType(blockName)   X-Ref
Given a base block name, returns the default block type to which to offer
transforms.

param: {string} blockName Base block name.
return: {?Object} The chosen default block type.

CopyContentMenuItem()   X-Ref
No description

onSuccess()   X-Ref
No description

ManageBlocksMenuItem({openModal})   X-Ref
Internal dependencies


KeyboardShortcutsHelpMenuItem({openModal})   X-Ref
Internal dependencies


WelcomeGuideMenuItem()   X-Ref
Internal dependencies


TextEditor({onExit,isRichEditingEnabled})   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

__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

verb(n)   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

loadFeatures(features)   X-Ref
No description

useFeatures(props, visualElement, preloadedFeatures)   X-Ref
Load features via renderless components based on the provided MotionProps.


useVisualElementContext()   X-Ref


useConstant(init)   X-Ref
Creates a constant value over the lifecycle of a component.

Even if `useMemo` is provided an empty array as its final argument, it doesn't offer
a guarantee that it won't re-run for performance reasons later on. By using `useConstant`
you can ensure that initialisers don't execute twice or more.

usePresence()   X-Ref
When a component is the child of `AnimatePresence`, it can use `usePresence`
to access information about whether it's still present in the React tree.

```jsx
import { usePresence } from "framer-motion"

export const Component = () => {
const [isPresent, safeToRemove] = usePresence()

useEffect(() => {
!isPresent && setTimeout(safeToRemove, 1000)
}, [isPresent])

return <div />
}
```

If `isPresent` is `false`, it means that a component has been removed the tree, but
`AnimatePresence` won't really remove it until `safeToRemove` has been called.


useIsPresent()   X-Ref
Similar to `usePresence`, except `useIsPresent` simply returns whether or not the component is present.
There is no `safeToRemove` function.

```jsx
import { useIsPresent } from "framer-motion"

export const Component = () => {
const isPresent = useIsPresent()

useEffect(() => {
!isPresent && console.log("I've been removed!")
}, [isPresent])

return <div />
}
```


use_presence_isPresent(context)   X-Ref
No description

useLayoutId(_a)   X-Ref


useVisualElement(Component, visualState, props, createVisualElement)   X-Ref
No description

isRefObject(ref)   X-Ref
No description

useMotionRef(visualState, visualElement, externalRef)   X-Ref
Creates a ref function that, when called, hydrates the provided
external ref and VisualElement.


isVariantLabels(v)   X-Ref
Decides if the supplied variable is an array of variant labels


isVariantLabel(v)   X-Ref
Decides if the supplied variable is variant label


getCurrent(visualElement)   X-Ref
Creates an object containing the latest state of every MotionValue on a VisualElement


getVelocity(visualElement)   X-Ref
Creates an object containing the latest velocity of every MotionValue on a VisualElement


resolveVariantFromProps(props, definition, custom, currentValues, currentVelocity)   X-Ref
No description

resolveVariant(visualElement, definition, custom)   X-Ref
No description

checkIfControllingVariants(props)   X-Ref
No description

checkIfVariantNode(props)   X-Ref
No description

getCurrentTreeVariants(props, context)   X-Ref
No description

useCreateMotionContext(props, isStatic)   X-Ref
No description

variantLabelsAsDependency(prop)   X-Ref
No description

createMotionComponent(_a)   X-Ref
Create a `motion` component.

This function accepts a Component argument, which can be either a string (ie "div"
for `motion.div`), or an actual React component.

Alongside this is a config option which provides a way of rendering the provided
component "offline", or outside the React render cycle.


MotionComponent(props, externalRef)   X-Ref
No description

createMotionProxy(createConfig)   X-Ref
Convert any React component into a `motion` component. The provided component
**must** use `React.forwardRef` to the underlying DOM component you want to animate.

```jsx
const Component = React.forwardRef((props, ref) => {
return <div ref={ref} />
})

const MotionComponent = motion(Component)
```


custom(Component, customMotionComponentConfig)   X-Ref
No description

isSVGComponent(Component)   X-Ref
No description

addScaleCorrection(correctors)   X-Ref


sortTransformProps(a, b)   X-Ref
A function to use with Array.sort to sort transform keys by their default order.


isTransformProp(key)   X-Ref
A quick lookup for transform props.


isTransformOriginProp(key)   X-Ref
A quick lookup for transform origin props


isForcedMotionValue(key, _a)   X-Ref
No description

buildTransform(_a, _b, transformIsDefault, transformTemplate)   X-Ref
Build a CSS transform style from individual x/y/scale etc properties.

This outputs with a default order of transforms/scales/rotations, this can be customised by
providing a transformTemplate function.

buildTransformOrigin(_a)   X-Ref
Build a transformOrigin style. Uses the same defaults as the browser for
undefined origins.


isCSSVariable(key)   X-Ref
Returns true if the provided key is a CSS variable


tslib_es6_extends(d, b)   X-Ref
No description

__()   X-Ref
No description

tslib_es6_rest(s, e)   X-Ref
No description

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

tslib_es6_param(paramIndex, decorator)   X-Ref
No description

tslib_es6_metadata(metadataKey, metadataValue)   X-Ref
No description

tslib_es6_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

tslib_es6_generator(thisArg, body)   X-Ref
No description

verb(n)   X-Ref
No description

step(op)   X-Ref
No description

tslib_es6_exportStar(m, o)   X-Ref
No description

tslib_es6_values(o)   X-Ref
No description

tslib_es6_read(o, n)   X-Ref
No description

tslib_es6_spread()   X-Ref
No description

tslib_es6_spreadArrays()   X-Ref
No description

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

tslib_es6_await(v)   X-Ref
No description

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

verb(n)   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

tslib_es6_asyncDelegator(o)   X-Ref
No description

verb(n, f)   X-Ref
No description

tslib_es6_asyncValues(o)   X-Ref
No description

verb(n)   X-Ref
No description

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

tslib_es6_makeTemplateObject(cooked, raw)   X-Ref
No description

tslib_es6_importStar(mod)   X-Ref
No description

tslib_es6_importDefault(mod)   X-Ref
No description

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

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

isString(v)   X-Ref
No description

buildHTMLStyles(state, latestValues, projection, layoutState, options, transformTemplate, buildProjectionTransform, buildProjectionTransformOrigin)   X-Ref
No description

copyRawValuesOnly(target, source, props)   X-Ref
No description

useInitialMotionValues(_a, visualState, isStatic)   X-Ref
No description

useStyle(props, visualState, isStatic)   X-Ref
No description

useHTMLProps(props, visualState, isStatic)   X-Ref
No description

isValidMotionProp(key)   X-Ref
Check whether a prop name is a valid `MotionProp` key.

param: key - Name of the property to check
returns: `true` is key is a valid `MotionProp`.

filterProps(props, isDom, forwardMotionProps)   X-Ref
No description

calcOrigin(origin, offset, size)   X-Ref
No description

calcSVGTransformOrigin(dimensions, originX, originY)   X-Ref
The SVG transform origin defaults are different to CSS and is less intuitive,
so we use the measured dimensions of the SVG to reconcile these.


buildSVGPath(attrs, totalLength, length, spacing, offset, useDashCase)   X-Ref
Build SVG path properties. Uses the path's measured length to convert
our custom pathLength, pathSpacing and pathOffset into stroke-dashoffset
and stroke-dasharray attributes.

This function is mutative to reduce per-frame GC.

buildSVGAttrs(state, _a, projection, layoutState, options, transformTemplate, buildProjectionTransform, buildProjectionTransformOrigin)   X-Ref
Build SVG visual attrbutes, like cx and style.transform


useSVGProps(props, visualState)   X-Ref
No description

createUseRender(forwardMotionProps)   X-Ref
No description

renderHTML(element, _a)   X-Ref
No description

renderSVG(element, renderState)   X-Ref
No description

scrape_motion_values_scrapeMotionValuesFromProps(props)   X-Ref
No description

utils_scrape_motion_values_scrapeMotionValuesFromProps(props)   X-Ref
No description

isAnimationControls(v)   X-Ref
No description

resolveMotionValue(value)   X-Ref
If the provided value is a MotionValue, this returns the actual value, otherwise just the value itself

TODO: Remove and move to library


makeState(_a, props, context, presenceContext)   X-Ref
No description

makeLatestValues(props, context, presenceContext, scrapeMotionValues)   X-Ref
No description

isPath(element)   X-Ref
No description

createDomMotionConfig(Component, _a, preloadedFeatures, createVisualElement)   X-Ref
No description

addDomEvent(target, eventName, handler, options)   X-Ref
No description

useDomEvent(ref, eventName, handler, options)   X-Ref
Attaches an event listener directly to the provided DOM element.

Bypassing React's event system can be desirable, for instance when attaching non-passive
event handlers.

```jsx
const ref = useRef(null)

useDomEvent(ref, 'wheel', onWheel, { passive: false })

return <div ref={ref} />
```

param: ref - React.RefObject that's been provided to the element you want to bind the listener to.
param: eventName - Name of the event you want listen for.
param: handler - Function to fire when receiving the event.
param: options - Options to pass to `Event.addEventListener`.

useFocusGesture(_a)   X-Ref

param: props
param: ref

isMouseEvent(event)   X-Ref
No description

isTouchEvent(event)   X-Ref
No description

filterPrimaryPointer(eventHandler)   X-Ref
Filters out events not attached to the primary pointer (currently left mouse button)

param: eventHandler

pointFromTouch(e, pointType)   X-Ref
No description

pointFromMouse(point, pointType)   X-Ref
No description

extractEventInfo(event, pointType)   X-Ref
No description

getViewportPointFromEvent(event)   X-Ref
No description

getPointerEventName(name)   X-Ref
No description

addPointerEvent(target, eventName, handler, options)   X-Ref
No description

usePointerEvent(ref, eventName, handler, options)   X-Ref
No description

createLock(name)   X-Ref
No description

getGlobalLock(drag)   X-Ref
No description

isDragActive()   X-Ref
No description

createHoverEvent(visualElement, isActive, callback)   X-Ref
No description

useHoverGesture(_a)   X-Ref
No description

useUnmountEffect(callback)   X-Ref
No description

useTapGesture(_a)   X-Ref

param: handlers -

removePointerEndListener()   X-Ref
No description

checkPointerEnd()   X-Ref
No description

onPointerUp(event, info)   X-Ref
No description

onPointerCancel(event, info)   X-Ref
No description

onPointerDown(event, info)   X-Ref
No description

shallowCompare(next, prev)   X-Ref
No description

tslib_tslib_es6_extends(d, b)   X-Ref
No description

__()   X-Ref
No description

tslib_tslib_es6_rest(s, e)   X-Ref
No description

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

tslib_tslib_es6_param(paramIndex, decorator)   X-Ref
No description

tslib_tslib_es6_metadata(metadataKey, metadataValue)   X-Ref
No description

tslib_tslib_es6_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

tslib_tslib_es6_generator(thisArg, body)   X-Ref
No description

verb(n)   X-Ref
No description

step(op)   X-Ref
No description

tslib_tslib_es6_exportStar(m, o)   X-Ref
No description

tslib_tslib_es6_values(o)   X-Ref
No description

tslib_tslib_es6_read(o, n)   X-Ref
No description

tslib_tslib_es6_spread()   X-Ref
No description

tslib_tslib_es6_spreadArrays()   X-Ref
No description

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

tslib_tslib_es6_await(v)   X-Ref
No description

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

verb(n)   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

tslib_tslib_es6_asyncDelegator(o)   X-Ref
No description

verb(n, f)   X-Ref
No description

tslib_tslib_es6_asyncValues(o)   X-Ref
No description

verb(n)   X-Ref
No description

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

tslib_tslib_es6_makeTemplateObject(cooked, raw)   X-Ref
No description

tslib_tslib_es6_importStar(mod)   X-Ref
No description

tslib_tslib_es6_importDefault(mod)   X-Ref
No description

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

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

findSpring(_a)   X-Ref
No description

approximateRoot(envelope, derivative, initialGuess)   X-Ref
No description

calcAngularFreq(undampedFreq, dampingRatio)   X-Ref
No description

isSpringType(options, keys)   X-Ref
No description

getSpringOptions(options)   X-Ref
No description

spring(_a)   X-Ref
No description

createSpring()   X-Ref
No description

parseHex(v)   X-Ref
No description

test(v)   X-Ref
No description

analyse(v)   X-Ref
No description

parse(v)   X-Ref
No description

createTransformer(v)   X-Ref
No description

getAnimatableNone(v)   X-Ref
No description

getMixer(origin, target)   X-Ref
No description

mix_complex_analyse(value)   X-Ref
No description

detectMixerFactory(v)   X-Ref
No description

createMixers(output, ease, customMixer)   X-Ref
No description

fastInterpolate(_a, _b)   X-Ref
No description

slowInterpolate(input, mixers)   X-Ref
No description

interpolate(input, output, _a)   X-Ref
No description

defaultEasing(values, easing)   X-Ref
No description

defaultOffset(values)   X-Ref
No description

convertOffsetToTimes(offset, duration)   X-Ref
No description

keyframes(_a)   X-Ref
No description

createInterpolator()   X-Ref
No description

decay(_a)   X-Ref
No description

detectAnimationFromOptions(config)   X-Ref
No description

createRenderStep(runNextFrame)   X-Ref
No description

loopElapsed(elapsed, duration, delay)   X-Ref
No description

reverseElapsed(elapsed, duration, delay, isForwardPlayback)   X-Ref
No description

hasRepeatDelayElapsed(elapsed, duration, delay, isForwardPlayback)   X-Ref
No description

animations_animate(_a)   X-Ref
No description

repeat()   X-Ref
No description

complete()   X-Ref
No description

update(delta)   X-Ref
No description

play()   X-Ref
No description

velocityPerSecond(velocity, frameDuration)   X-Ref
No description

inertia_inertia(_a)   X-Ref
No description

isOutOfBounds(v)   X-Ref
No description

boundaryNearest(v)   X-Ref
No description

startAnimation(options)   X-Ref
No description

startSpring(options)   X-Ref
No description

binarySubdivide(aX, aA, aB, mX1, mX2)   X-Ref
No description

newtonRaphsonIterate(aX, aGuessT, mX1, mX2)   X-Ref
No description

cubicBezier(mX1, mY1, mX2, mY2)   X-Ref
No description

getTForX(aX)   X-Ref
No description

applyDefaultFilter(v)   X-Ref
No description

animatable_none_getAnimatableNone(key, value)   X-Ref
No description

isTransitionDefined(_a)   X-Ref
Decide whether a transition is defined on a given Transition.
This filters out orchestration options and returns true
if any options are left.


convertTransitionToAnimationOptions(_a)   X-Ref
Convert Framer Motion's Transition type into Popmotion-compatible options.


getDelayFromTransition(transition, key)   X-Ref
Get the delay for a value by checking Transition with decreasing specificity.


hydrateKeyframes(options)   X-Ref
No description

getPopmotionAnimationOptions(transition, options, key)   X-Ref
No description

transitions_getAnimation(key, value, target, transition, onComplete)   X-Ref
No description

start()   X-Ref
No description

set()   X-Ref
No description

isZero(value)   X-Ref
No description

getZeroUnit(potentialUnitType)   X-Ref
No description

getValueTransition(transition, key)   X-Ref
No description

transitions_startAnimation(key, value, target, transition)   X-Ref
Start animation on a MotionValue. This function is an interface between
Framer Motion and Popmotion


addUniqueItem(arr, item)   X-Ref
No description

removeItem(arr, item)   X-Ref
No description

SubscriptionManager()   X-Ref
No description

MotionValue(init)   X-Ref

param: init - The initiating value
param: config - Optional configuration options

motionValue(init)   X-Ref


setMotionValue(visualElement, key, value)   X-Ref
Set VisualElement's MotionValue, creating a new MotionValue for it if
it doesn't exist.


setTarget(visualElement, definition)   X-Ref
No description

setVariants(visualElement, variantLabels)   X-Ref
No description

setValues(visualElement, definition)   X-Ref
No description

checkTargetForNewValues(visualElement, target, origin)   X-Ref
No description

getOriginFromTransition(key, transition)   X-Ref
No description

getOrigin(target, transition, visualElement)   X-Ref
No description

animateVisualElement(visualElement, definition, options)   X-Ref


animateVariant(visualElement, variant, options)   X-Ref
No description

animateTarget(visualElement, definition, _a)   X-Ref


animateChildren(visualElement, variant, delayChildren, staggerChildren, staggerDirection, options)   X-Ref
No description

stopAnimation(visualElement)   X-Ref
No description

sortByTreeOrder(a, b)   X-Ref
No description

shouldBlockAnimation(_a, key)   X-Ref
Decide whether we should block this animation. Previously, we achieved this
just by checking whether the key was listed in protectedKeys, but this
posed problems if an animation was triggered by afterChildren and protectedKeys
had been set to true in the meantime.


animateList(visualElement)   X-Ref
No description

createAnimationState(visualElement)   X-Ref
No description

isAnimated(key)   X-Ref
No description

setAnimateFunction(makeAnimator)   X-Ref
This just allows us to inject mocked animation functions


animateChanges(options, changedActiveType)   X-Ref
When we receive new props, we need to:
1. Create a list of protected keys for each type. This is a directory of
value keys that are currently being "handled" by types of a higher priority
so that whenever an animation is played of a given type, these values are
protected from being animated.
2. Determine if an animation type needs animating.
3. Determine if any values have been removed from a type and figure out
what to animate those to.


setActive(type, isActive, options)   X-Ref
Change whether a certain animation type is active.


variantsHaveChanged(prev, next)   X-Ref
No description

createTypeState(isActive)   X-Ref
No description

createState()   X-Ref
No description

distance(a, b)   X-Ref
No description

PanSession(event, handlers, _a)   X-Ref


PanSession_transformPoint(info, transformPagePoint)   X-Ref


subtractPoint(a, b)   X-Ref
No description

getPanInfo(_a, history)   X-Ref
No description

startDevicePoint(history)   X-Ref
No description

lastDevicePoint(history)   X-Ref
No description

PanSession_getVelocity(history, timeDelta)   X-Ref
No description

noop(any)   X-Ref
No description

convertBoundingBoxToAxisBox(_a)   X-Ref
Bounding boxes tend to be defined as top, left, right, bottom. For various operations
it's easier to consider each axis individually. This function returns a bounding box
as a map of single-axis min/max values.


convertAxisBoxToBoundingBox(_a)   X-Ref
No description

transformBoundingBox(_a, transformPoint)   X-Ref
Applies a TransformPoint function to a bounding box. TransformPoint is usually a function
provided by Framer to allow measured points to be corrected for device scaling. This is used
when measuring DOM elements and DOM event points.


axisBox()   X-Ref
Create an empty axis box of zero size


copyAxisBox(box)   X-Ref
No description

geometry_delta()   X-Ref
No description

eachAxis(handler)   X-Ref
No description

applyConstraints(point, _a, elastic)   X-Ref
Apply constraints to a point. These constraints are both physical along an
axis, and an elastic factor that determines how much to constrain the point
by if it does lie outside the defined parameters.


calcConstrainedMinPoint(point, length, progress, constraints, elastic)   X-Ref
Calculates a min projection point based on a pointer, pointer progress
within the drag target, and constraints.

For instance if an element was 100px width, we were dragging from 0.25
along this axis, the pointer is at 200px, and there were no constraints,
we would calculate a min projection point of 175px.

calcRelativeAxisConstraints(axis, min, max)   X-Ref
Calculate constraints in terms of the viewport when defined relatively to the
measured axis. This is measured from the nearest edge, so a max constraint of 200
on an axis with a max value of 300 would return a constraint of 500 - axis length


calcRelativeConstraints(layoutBox, _a)   X-Ref
Calculate constraints in terms of the viewport when
defined relatively to the measured bounding box.


calcViewportAxisConstraints(layoutAxis, constraintsAxis)   X-Ref
Calculate viewport constraints when defined as another viewport-relative axis


calcViewportConstraints(layoutBox, constraintsBox)   X-Ref
Calculate viewport constraints when defined as another viewport-relative box


calcPositionFromProgress(axis, constraints, progress)   X-Ref
Calculate the an axis position based on two axes and a progress value.


rebaseAxisConstraints(layout, constraints)   X-Ref
Rebase the calculated viewport constraints relative to the layout.min point.


resolveDragElastic(dragElastic)   X-Ref
Accepts a dragElastic prop and returns resolved elastic values for each axis.


resolveAxisElastic(dragElastic, minLabel, maxLabel)   X-Ref
No description

resolvePointElastic(dragElastic, label)   X-Ref
No description

getBoundingBox(element, transformPagePoint)   X-Ref
Measure and return the element bounding box.

We convert the box into an AxisBox2D to make it easier to work with each axis
individually and programmatically.

This function optionally accepts a transformPagePoint function which allows us to compensate
for, for instance, measuring the element within a scaled plane like a Framer devivce preview component.

isNear(value, target, maxDistance)   X-Ref
Returns true if the provided value is within maxDistance of the provided target


calcLength(axis)   X-Ref
No description

delta_calc_calcOrigin(source, target)   X-Ref
Calculate a transform origin relative to the source axis, between 0-1, that results
in an asthetically pleasing scale/transform needed to project from source to target.


updateAxisDelta(delta, source, target, origin)   X-Ref
Update the AxisDelta with a transform that projects source into target.

The transform `origin` is optional. If not provided, it'll be automatically
calculated based on the relative positions of the two bounding boxes.

updateBoxDelta(delta, source, target, origin)   X-Ref
Update the BoxDelta with a transform that projects the source into the target.

The transform `origin` is optional. If not provided, it'll be automatically
calculated based on the relative positions of the two bounding boxes.

defaultOrigin(origin)   X-Ref
Currently this only accepts numerical origins, measured as 0-1, but could
accept pixel values by comparing to the target axis.


calcRelativeAxis(target, relative, parent)   X-Ref
No description

calcRelativeBox(projection, parentProjection)   X-Ref
No description

isProjecting(visualElement)   X-Ref
No description

collectProjectingAncestors(visualElement, ancestors)   X-Ref
No description

collectProjectingChildren(visualElement)   X-Ref
No description

updateLayoutMeasurement(visualElement)   X-Ref
Update the layoutState by measuring the DOM layout. This
should be called after resetting any layout-affecting transforms.


snapshotViewportBox(visualElement)   X-Ref
Record the viewport box as it was before an expected mutation/re-render


tweenAxis(target, prev, next, p)   X-Ref
No description

calcRelativeOffsetAxis(parent, child)   X-Ref
No description

calcRelativeOffset(parent, child)   X-Ref
No description

checkIfParentHasChanged(prev, next)   X-Ref
No description

isDraggable(visualElement)   X-Ref
No description

resetAxis(axis, originAxis)   X-Ref
Reset an axis to the provided origin box.

This is a mutative operation.

resetBox(box, originBox)   X-Ref
Reset a box to the provided origin box.

This is a mutative operation.

scalePoint(point, scale, originPoint)   X-Ref
Scales a point based on a factor and an originPoint


applyPointDelta(point, translate, scale, originPoint, boxScale)   X-Ref
Applies a translate/scale delta to a point


applyAxisDelta(axis, translate, scale, originPoint, boxScale)   X-Ref
Applies a translate/scale delta to an axis


applyBoxDelta(box, _a)   X-Ref
Applies a translate/scale delta to a box


applyAxisTransforms(final, axis, transforms, _a)   X-Ref
Apply a transform to an axis from the latest resolved motion values.
This function basically acts as a bridge between a flat motion value map
and applyAxisDelta


applyBoxTransforms(finalBox, box, transforms)   X-Ref
Apply a transform to a box from the latest resolved motion values.


removePointDelta(point, translate, scale, originPoint, boxScale)   X-Ref
Remove a delta from a point. This is essentially the steps of applyPointDelta in reverse


removeAxisDelta(axis, translate, scale, origin, boxScale)   X-Ref
Remove a delta from an axis. This is essentially the steps of applyAxisDelta in reverse


removeAxisTransforms(axis, transforms, _a)   X-Ref
Remove a transforms from an axis. This is essentially the steps of applyAxisTransforms in reverse
and acts as a bridge between motion values and removeAxisDelta


removeBoxTransforms(box, transforms)   X-Ref
Remove a transforms from an box. This is essentially the steps of applyAxisBox in reverse
and acts as a bridge between motion values and removeAxisDelta


applyTreeDeltas(box, treeScale, treePath)   X-Ref
Apply a tree of deltas to a box. We do this to calculate the effect of all the transforms
in a tree upon our box before then calculating how to project it into our desired viewport-relative box

This is the final nested loop within updateLayoutDelta for future refactoring

convertToRelativeProjection(visualElement, isLayoutDrag)   X-Ref
Returns a boolean stating whether or not we converted the projection
to relative projection.


pushJob(stack, job, pointer)   X-Ref
No description

batchLayout(callback)   X-Ref
No description

flushLayout()   X-Ref
No description

VisualElementDragControls(_a)   X-Ref
No description

shouldDrag(direction, drag, currentDirection)   X-Ref
No description

getCurrentDirection(offset, lockThreshold)   X-Ref
Based on an x/y offset determine the current drag direction. If both axis' offsets are lower
than the provided threshold, return `null`.

param: offset - The x/y offset from origin.
param: lockThreshold - (Optional) - the minimum absolute offset before we can determine a drag direction.

useDrag(props)   X-Ref
A hook that allows an element to be dragged.


usePanGesture(_a)   X-Ref

param: handlers -
param: ref -

onPointerDown(event)   X-Ref
No description

css_variables_conversion_isCSSVariable(value)   X-Ref


parseCSSVariable(current)   X-Ref
Parse Framer's special CSS variable format into a CSS token and a fallback.

```
`var(--foo, #fff)` => [`--foo`, '#fff']
```

param: current

getVariableValue(current, element, depth)   X-Ref
No description

resolveCSSVariables(visualElement, _a, transitionEnd)   X-Ref
Resolve CSS variables from


pixelsToPercent(pixels, axis)   X-Ref
No description

correctBorderRadius(latest, _layoutState, _a)   X-Ref
We always correct borderRadius as a percentage rather than pixels to reduce paints.
For example, if you are projecting a box that is 100px wide with a 10px borderRadius
into a box that is 200px wide with a 20px borderRadius, that is actually a 10%
borderRadius in both states. If we animate between the two in pixels that will trigger
a paint each time. If we animate between the two in percentage we'll avoid a paint.


correctBoxShadow(latest, _a)   X-Ref
No description

Animate()   X-Ref
No description

AnimateLayoutContextProvider(props)   X-Ref
No description

hasMoved(a, b)   X-Ref
No description

isZeroBox(a)   X-Ref
No description

axisIsEqual(a, b)   X-Ref
No description

isProvidedCorrectDataForRelativeSharedLayout(prevParent, originBox, targetBox)   X-Ref
No description

createBatcher()   X-Ref
Create a batcher to process VisualElements


assignProjectionToSnapshot(child)   X-Ref
No description

isSharedLayout(context)   X-Ref


Measure()   X-Ref
This component is responsible for scheduling the measuring of the motion component


MeasureContextProvider(props)   X-Ref
No description

createLayoutState()   X-Ref
No description

buildLayoutProjectionTransform(_a, treeScale, latestTransform)   X-Ref
Build a transform style that takes a calculated delta between the element's current
space on screen and projects it into the desired space.


buildLayoutProjectionTransformOrigin(_a)   X-Ref
Take the calculated delta origin and apply it as a transform string.


createLifecycles()   X-Ref
No description

updateMotionValuesFromProps(element, next, prev)   X-Ref
No description

updateLayoutDeltas(_a, _b, treePath, transformOrigin)   X-Ref
No description

FlatTree()   X-Ref
No description

setCurrentViewportBox(visualElement)   X-Ref
No description

render()   X-Ref
No description

triggerBuild()   X-Ref
No description

update()   X-Ref
No description

updateLayoutProjection()   X-Ref
No description

updateTreeLayoutProjection()   X-Ref
No description

bindToMotionValue(key, value)   X-Ref
No description

fireResolveRelativeTargetBox(child)   X-Ref
No description

fireUpdateLayoutProjection(child)   X-Ref
No description

removeNonTranslationalTransform(visualElement)   X-Ref
No description

unitConversion(visualElement, target, origin, transitionEnd)   X-Ref
Convert value types for x/y/width/height/top/left/bottom/right

Allows animation between `'auto'` -> `'100%'` or `0` -> `'calc(50% - 10vw)'`


visual_element_getComputedStyle(element)   X-Ref
No description

createDomMotionComponent(key)   X-Ref
Create a DOM `motion` component with the provided string. This is primarily intended
as a full alternative to `motion` for consumers who have to support environments that don't
support `Proxy`.

```javascript
import { createDomMotionComponent } from "framer-motion"

const motion = {
div: createDomMotionComponent('div')
}
```


BlockInspectorButton({onClick = external_lodash_["noop"],small = false})   X-Ref
Internal dependencies


MaybeIframe({children,contentRef,isTemplateMode,styles,style})   X-Ref
No description

VisualEditor({styles})   X-Ref
No description

KeyboardShortcuts()   X-Ref
No description

KeyCombination({keyCombination,forceAriaLabel})   X-Ref
No description

Shortcut({description,keyCombination,aliases = [],ariaLabel})   X-Ref
No description

DynamicShortcut({name})   X-Ref
No description

KeyboardShortcutHelpModal({isModalActive,toggleModal})   X-Ref
No description

BlockTypesChecklist({blockTypes,value,onItemChange})   X-Ref
No description

BlockManagerCategory({instanceId,title,blockTypes,hiddenBlockTypes,toggleVisible,toggleAllVisible})   X-Ref
No description

BlockManager({search,setState,blockTypes,categories,hasBlockSupport,isMatchingSearchTerm,numberOfHiddenBlocks})   X-Ref
No description

ManageBlocksModal({isActive,closeModal})   X-Ref
Unique identifier for Manage Blocks modal.


MetaBoxesSection({areCustomFieldsRegistered,metaBoxes,...sectionProps})   X-Ref
No description

PreferencesModal()   X-Ref
No description

getPostEditURL(postId)   X-Ref
Returns the Post's Edit URL.

param: {number} postId Post ID.
return: {string} Post edit URL.

getPostTrashedURL(postId, postType)   X-Ref
Returns the Post's Trashed URL.

param: {number} postId    Post ID.
param: {string} postType Post Type.
return: {string} Post trashed URL.

Class: browser_url_BrowserURL  - X-Ref

FullscreenModeClose({showTooltip,icon,href})   X-Ref
No description

HeaderToolbar()   X-Ref
No description

ModeSwitcher()   X-Ref
No description

PreferencesMenuItem()   X-Ref
Internal dependencies


FeatureToggle({onToggle,isActive,label,info,messageActivated,messageDeactivated,shortcut})   X-Ref
No description

WritingMenu()   X-Ref
No description

PostPublishButtonOrToggle({forceIsDirty,forceIsSaving,hasPublishAction,isBeingScheduled,isPending,isPublished,isPublishSidebarEnabled,isPublishSidebarOpened,isScheduled,togglePublishSidebar,setEntitiesSavedStatesCallback})   X-Ref
Internal dependencies


DevicePreview()   X-Ref
Internal dependencies


DeleteTemplate()   X-Ref
Internal dependencies


EditTemplateTitle()   X-Ref
Internal dependencies


TemplateDescription()   X-Ref
Internal dependencies


TemplateTitle()   X-Ref
No description

Header({setEntitiesSavedStatesCallback})   X-Ref
No description

InserterSidebar()   X-Ref
Internal dependencies


ListViewSidebar()   X-Ref
Internal dependencies


closeOnEscape(event)   X-Ref
No description

PostVisibility()   X-Ref
No description

PostTrash()   X-Ref
WordPress dependencies


PostSchedule()   X-Ref
No description

PostSticky()   X-Ref
WordPress dependencies


PostAuthor()   X-Ref
WordPress dependencies


PostSlug()   X-Ref
WordPress dependencies


PostFormat()   X-Ref
WordPress dependencies


PostPendingStatus()   X-Ref
WordPress dependencies


PostStatus({isOpened,onTogglePanel})   X-Ref
No description

LastRevision()   X-Ref
No description

TaxonomyPanel({isEnabled,taxonomy,isOpened,onTogglePanel,children})   X-Ref
No description

PostTaxonomies()   X-Ref
No description

FeaturedImage({isEnabled,isOpened,postType,onTogglePanel})   X-Ref
No description

PostExcerpt({isEnabled,isOpened,onTogglePanel})   X-Ref
No description

PostLink({isOpened,onTogglePanel,isEditable,postLink,permalinkPrefix,permalinkSuffix,editPermalink,forceEmptyField,setState,postSlug,postTypeLabel})   X-Ref
No description

DiscussionPanel({isEnabled,isOpened,onTogglePanel})   X-Ref
No description

PageAttributes()   X-Ref
Module Constants


Class: meta_boxes_area_MetaBoxesArea  - X-Ref

Class: meta_box_visibility_MetaBoxVisibility  - X-Ref

MetaBoxes({location})   X-Ref
No description

PluginSidebarEditPost({className,...props})   X-Ref
Renders a sidebar when activated. The contents within the `PluginSidebar` will appear as content within the sidebar.
It also automatically renders a corresponding `PluginSidebarMenuItem` component when `isPinnable` flag is set to `true`.
If you wish to display the sidebar, you can with use the `PluginSidebarMoreMenuItem` component or the `wp.data.dispatch` API:

```js
wp.data.dispatch( 'core/edit-post' ).openGeneralSidebar( 'plugin-name/sidebar-name' );
```

param: {Object} props Element props.
param: {string} props.name A string identifying the sidebar. Must be unique for every sidebar registered within the scope of your plugin.
param: {string} [props.className] An optional class name added to the sidebar body.
param: {string} props.title Title displayed at the top of the sidebar.
param: {boolean} [props.isPinnable=true] Whether to allow to pin sidebar to the toolbar. When set to `true` it also automatically renders a corresponding menu item.
param: {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered when the sidebar is pinned to toolbar.

PostTemplateActions()   X-Ref
No description

TemplatePanel()   X-Ref
Module Constants


TemplateSummary()   X-Ref
No description

WelcomeGuideImage({nonAnimatedSrc,animatedSrc})   X-Ref
No description

WelcomeGuideDefault()   X-Ref
No description

WelcomeGuideTemplate()   X-Ref
No description

WelcomeGuide()   X-Ref
No description

ActionsPanel({setEntitiesSavedStatesCallback,closeEntitiesSavedStates,isEntitiesSavedStatesOpen})   X-Ref
No description

Layout({styles})   X-Ref
No description

EditorInitialization({postId})   X-Ref
Data component used for initializing the editor and re-initializes
when postId changes or on unmount.

param: {number} postId  The id of the post.
return: {null} This is a data component so does not render any ui.

Editor({postId,postType,settings,initialEdits,onError,...props})   X-Ref
No description

PluginSidebarMoreMenuItem(props)   X-Ref
Renders a menu item in `Plugins` group in `More Menu` drop down,
and can be used to activate the corresponding `PluginSidebar` component.
The text within the component appears as the menu item label.

param: {Object} props Component props.
param: {string} props.target A string identifying the target sidebar you wish to be activated by this menu item. Must be the same as the `name` prop you have given to that sidebar.
param: {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered to the left of the menu item label.
return: {WPComponent} The component to be rendered.

reinitializeEditor(postType, postId, target, settings, initialEdits)   X-Ref
Reinitializes the editor after the user chooses to reboot the editor after
an unhandled error occurs, replacing previously mounted editor element using
an initial state from prior to the crash.

param: {Object}  postType     Post type of the post to edit.
param: {Object}  postId       ID of the post to edit.
param: {Element} target       DOM node in which editor is rendered.
param: {?Object} settings     Editor settings object.
param: {Object}  initialEdits Programmatic edits to apply initially, to be

initializeEditor(id, postType, postId, settings, initialEdits)   X-Ref
Initializes and returns an instance of Editor.

param: {string}  id           Unique identifier for editor instance.
param: {string}  postType     Post type of the post to edit.
param: {Object}  postId       ID of the post to edit.
param: {?Object} settings     Editor settings object.
param: {Object}  initialEdits Programmatic edits to apply initially, to be

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

param: {IconProps} props icon is the SVG component to render
return: {JSX.Element}  Icon component

arrayOf( value )   X-Ref
Returns the first argument as the sole entry in an array.

param: {*} value Value to return.
return: {Array} Value returned as entry in array.

isObjectLike( value )   X-Ref
Returns true if the value passed is object-like, or false otherwise. A value
is object-like if it can support property assignment, e.g. object or array.

param: {*} value Value to test.
return: {boolean} Whether value is object-like.

createCache()   X-Ref
Creates and returns a new cache object.

return: {Object} Cache object.

isShallowEqual( a, b, fromIndex )   X-Ref
Returns true if entries within the two arrays are strictly equal by
reference from a starting index.

param: {Array}  a         First array.
param: {Array}  b         Second array.
param: {number} fromIndex Index from which to start comparison.
return: {boolean} Whether arrays are shallowly equal.

getRootCache()   X-Ref
Returns the root cache. If WeakMap is supported, this is assigned to the
root WeakMap cache set, otherwise it is a shared instance of the default
cache object.

return: {(WeakMap|Object)} Root cache object.

getWeakMapCache( dependants )   X-Ref
Returns the cache for a given dependants array. When possible, a WeakMap
will be used to create a unique cache for each set of dependants. This
is feasible due to the nature of WeakMap in allowing garbage collection
to occur on entries where the key object is no longer referenced. Since
WeakMap requires the key to be an object, this is only possible when the
dependant is object-like. The root cache is created as a hierarchy where
each top-level key is the first entry in a dependants set, the value a
WeakMap where each key is the next dependant, and so on. This continues
so long as the dependants are object-like. If no dependants are object-
like, then the cache is shared across all invocations.

param: {Array} dependants Selector dependants.
return: {Object} Cache object.

clear()   X-Ref
Resets root memoization cache.


callSelector( )   X-Ref
The augmented selector call, considering first whether dependants have
changed before passing it to underlying memoize function.

param: {Object} source    Source object for derivation.
param: {...*}   extraArgs Additional arguments to pass to selector.
return: {*} Selector result.

_extends()   X-Ref
No description

Functions
Functions that are not part of a class:

__webpack_require__(moduleId)   X-Ref
No description

getDefault()   X-Ref
No description

getModuleExports()   X-Ref
No description

memoize(fn)   X-Ref
No description

defaultSetTimout()   X-Ref
No description

defaultClearTimeout()   X-Ref
No description

runTimeout(fun)   X-Ref
No description

runClearTimeout(marker)   X-Ref
No description

cleanUpNextTick()   X-Ref
No description

drainQueue()   X-Ref
No description

Item(fun, array)   X-Ref
No description

noop()   X-Ref
No description

removedPanels(state = [], action)   X-Ref
Reducer storing the list of all programmatically removed panels.

param: {Array}  state  Current state.
param: {Object} action Action object.
return: {Array} Updated state.

activeModal(state = null, action)   X-Ref
Reducer for storing the name of the open modal, or null if no modal is open.

param: {Object} state  Previous state.
param: {Object} action Action object containing the `name` of the modal
return: {Object} Updated state

publishSidebarActive(state = false, action)   X-Ref
No description

isSavingMetaBoxes(state = false, action)   X-Ref
Reducer keeping track of the meta boxes isSaving state.
A "true" value means the meta boxes saving request is in-flight.

param: {boolean}  state   Previous state.
param: {Object}   action  Action Object.
return: {Object} Updated state.

metaBoxLocations(state = {}, action)   X-Ref
Reducer keeping track of the meta boxes per location.

param: {boolean}  state   Previous state.
param: {Object}   action  Action Object.
return: {Object} Updated state.

deviceType(state = 'Desktop', action)   X-Ref
Reducer returning the editing canvas device type.

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

blockInserterPanel(state = false, action)   X-Ref
Reducer to set the block inserter panel open or closed.

Note: this reducer interacts with the list view panel reducer
to make sure that only one of the two panels is open at the same time.

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

listViewPanel(state = false, action)   X-Ref
Reducer to set the list view panel open or closed.

Note: this reducer interacts with the inserter panel reducer
to make sure that only one of the two panels is open at the same time.

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

isEditingTemplate(state = false, action)   X-Ref
Reducer tracking whether the inserter is open.

param: {boolean} state
param: {Object}  action

metaBoxesInitialized(state = false, action)   X-Ref
Reducer tracking whether meta boxes are initialized.

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

openModal(name)   X-Ref
No description

closeModal()   X-Ref
Returns an action object signalling that the user closed a modal.

return: {Object} Action object.

openPublishSidebar()   X-Ref
Returns an action object used in signalling that the user opened the publish
sidebar.

return: {Object} Action object

closePublishSidebar()   X-Ref
Returns an action object used in signalling that the user closed the
publish sidebar.

return: {Object} Action object.

togglePublishSidebar()   X-Ref
Returns an action object used in signalling that the user toggles the publish sidebar.

return: {Object} Action object

toggleEditorPanelEnabled(panelName)   X-Ref
Returns an action object used to enable or disable a panel in the editor.

param: {string} panelName A string that identifies the panel to enable or disable.
return: {Object} Action object.

toggleEditorPanelOpened(panelName)   X-Ref
Returns an action object used to open or close a panel in the editor.

param: {string} panelName A string that identifies the panel to open or close.
return: {Object} Action object.

removeEditorPanel(panelName)   X-Ref
Returns an action object used to remove a panel from the editor.

param: {string} panelName A string that identifies the panel to remove.
return: {Object} Action object.

toggleFeature(feature)   X-Ref
Returns an action object used to toggle a feature flag.

param: {string} feature Feature name.
return: {Object} Action object.

togglePinnedPluginItem(pluginName)   X-Ref
No description

hideBlockTypes(blockNames)   X-Ref
Returns an action object used in signalling that block types by the given
name(s) should be hidden.

param: {string[]} blockNames Names of block types to hide.
return: {Object} Action object.

updatePreferredStyleVariations(blockName, blockStyle)   X-Ref
Returns an action object used in signaling that a style should be auto-applied when a block is created.

param: {string}  blockName  Name of the block.
param: {?string} blockStyle Name of the style that should be auto applied. If undefined, the "auto apply" setting of the block is removed.
return: {Object} Action object.

__experimentalUpdateLocalAutosaveInterval(interval)   X-Ref
Returns an action object used in signalling that the editor should attempt
to locally autosave the current post every `interval` seconds.

param: {number} interval The new interval, in seconds.
return: {Object} Action object.

showBlockTypes(blockNames)   X-Ref
Returns an action object used in signalling that block types by the given
name(s) should be shown.

param: {string[]} blockNames Names of block types to show.
return: {Object} Action object.

metaBoxUpdatesSuccess()   X-Ref
No description

__experimentalSetPreviewDeviceType(deviceType)   X-Ref
Returns an action object used to toggle the width of the editing canvas.

param: {string} deviceType
return: {Object} Action object.

setIsInserterOpened(value)   X-Ref
Returns an action object used to open/close the inserter.

param: {boolean|Object} value                Whether the inserter should be
param: {string}         value.rootClientId   The root client ID to insert at.
param: {number}         value.insertionIndex The index to insert at.
return: {Object} Action object.

setIsListViewOpened(isOpen)   X-Ref
Returns an action object used to open/close the list view.

param: {boolean} isOpen A boolean representing whether the list view should be opened or closed.
return: {Object} Action object.

setIsEditingTemplate(value)   X-Ref
Returns an action object used to switch to template editing.

param: {boolean} value Is editing template.
return: {Object} Action object.

getEditorMode(state)   X-Ref
No description

getPreferences(state)   X-Ref
Returns the preferences (these preferences are persisted locally).

param: {Object} state Global application state.
return: {Object} Preferences Object.

getPreference(state, preferenceKey, defaultValue)   X-Ref

param: {Object} state         Global application state.
param: {string} preferenceKey Preference Key.
param: {*}      defaultValue  Default Value.
return: {*} Preference Value.

isPublishSidebarOpened(state)   X-Ref
Returns true if the publish sidebar is opened.

param: {Object} state Global application state
return: {boolean} Whether the publish sidebar is open.

isEditorPanelRemoved(state, panelName)   X-Ref
Returns true if the given panel was programmatically removed, or false otherwise.
All panels are not removed by default.

param: {Object} state     Global application state.
param: {string} panelName A string that identifies the panel.
return: {boolean} Whether or not the panel is removed.

isEditorPanelEnabled(state, panelName)   X-Ref
Returns true if the given panel is enabled, or false otherwise. Panels are
enabled by default.

param: {Object} state     Global application state.
param: {string} panelName A string that identifies the panel.
return: {boolean} Whether or not the panel is enabled.

isEditorPanelOpened(state, panelName)   X-Ref
Returns true if the given panel is open, or false otherwise. Panels are
closed by default.

param: {Object}  state     Global application state.
param: {string}  panelName A string that identifies the panel.
return: {boolean} Whether or not the panel is open.

isModalActive(state, modalName)   X-Ref
Returns true if a modal is active, or false otherwise.

param: {Object}  state        Global application state.
param: {string}  modalName A string that uniquely identifies the modal.
return: {boolean} Whether the modal is active.

isFeatureActive(state, feature)   X-Ref
Returns whether the given feature is enabled or not.

param: {Object} state   Global application state.
param: {string} feature Feature slug.
return: {boolean} Is active.

isMetaBoxLocationVisible(state, location)   X-Ref
Returns true if a metabox location is active and visible

param: {Object} state    Post editor state.
param: {string} location Meta box location to test.
return: {boolean} Whether the meta box location is active and visible.

isMetaBoxLocationActive(state, location)   X-Ref
Returns true if there is an active meta box in the given location, or false
otherwise.

param: {Object} state    Post editor state.
param: {string} location Meta box location to test.
return: {boolean} Whether the meta box location is active.

getMetaBoxesPerLocation(state, location)   X-Ref
Returns the list of all the available meta boxes for a given location.

param: {Object} state    Global application state.
param: {string} location Meta box location to test.
return: {?Array} List of meta boxes.

selectors_hasMetaBoxes(state)   X-Ref
Returns true if the post is using Meta Boxes

param: {Object} state Global application state
return: {boolean} Whether there are metaboxes or not.

selectors_isSavingMetaBoxes(state)   X-Ref
Returns true if the Meta Boxes are being saved.

param: {Object}  state Global application state.
return: {boolean} Whether the metaboxes are being saved.

__experimentalGetPreviewDeviceType(state)   X-Ref
Returns the current editing canvas device type.

param: {Object} state Global application state.
return: {string} Device type.

isInserterOpened(state)   X-Ref
Returns true if the inserter is opened.

param: {Object}  state Global application state.
return: {boolean} Whether the inserter is opened.

__experimentalGetInsertionPoint(state)   X-Ref
Get the insertion point for the inserter.

param: {Object} state Global application state.
return: {Object} The root client ID and index to insert at.

isListViewOpened(state)   X-Ref
Returns true if the list view is opened.

param: {Object}  state Global application state.
return: {boolean} Whether the list view is opened.

selectors_isEditingTemplate(state)   X-Ref
Returns true if the template editing mode is enabled.

param: {Object}  state Global application state.
return: {boolean} Whether we're editing the template.

areMetaBoxesInitialized(state)   X-Ref
Returns true if meta boxes are initialized.

param: {Object} state Global application state.
return: {boolean} Whether meta boxes are initialized.

classNames()   X-Ref
No description

singleEnableItems(state = {}, {type,itemType,scope,item})   X-Ref
Reducer to keep tract of the active area per scope.

param: {boolean} state           Previous state.
param: {Object}  action          Action object.
param: {string}  action.type     Action type.
param: {string}  action.itemType Type of item.
param: {string}  action.scope    Item scope.
param: {string}  action.item     Item name.
return: {Object} Updated state.

multipleEnableItems(state = {}, {type,itemType,scope,item,isEnable})   X-Ref
Reducer keeping track of the "pinned" items per scope.

param: {boolean} state           Previous state.
param: {Object}  action          Action object.
param: {string}  action.type     Action type.
param: {string}  action.itemType Type of item.
param: {string}  action.scope    Item scope.
param: {string}  action.item     Item name.
param: {boolean} action.isEnable Whether the item is pinned.
return: {Object} Updated state.

setSingleEnableItem(itemType, scope, item)   X-Ref
Returns an action object used in signalling that an active area should be changed.

param: {string} itemType Type of item.
param: {string} scope    Item scope.
param: {string} item     Item identifier.
return: {Object} Action object.

actions_enableComplementaryArea(scope, area)   X-Ref
Returns an action object used in signalling that a complementary item should be enabled.

param: {string} scope Complementary area scope.
param: {string} area  Area identifier.
return: {Object} Action object.

actions_disableComplementaryArea(scope)   X-Ref
Returns an action object used in signalling that the complementary area of a given scope should be disabled.

param: {string} scope Complementary area scope.
return: {Object} Action object.

setMultipleEnableItem(itemType, scope, item, isEnable)   X-Ref
Returns an action object to make an area enabled/disabled.

param: {string}  itemType Type of item.
param: {string}  scope    Item scope.
param: {string}  item     Item identifier.
param: {boolean} isEnable Boolean indicating if an area should be pinned or not.
return: {Object} Action object.

actions_pinItem(scope, itemId)   X-Ref
Returns an action object used in signalling that an item should be pinned.

param: {string} scope  Item scope.
param: {string} itemId Item identifier.
return: {Object} Action object.

actions_unpinItem(scope, itemId)   X-Ref
Returns an action object used in signalling that an item should be unpinned.

param: {string} scope  Item scope.
param: {string} itemId Item identifier.
return: {Object} Action object.

getSingleEnableItem(state, itemType, scope)   X-Ref
Returns the item that is enabled in a given scope.

param: {Object} state    Global application state.
param: {string} itemType Type of item.
param: {string} scope    Item scope.
return: {?string|null} The item that is enabled in the passed scope and type.

selectors_getActiveComplementaryArea(state, scope)   X-Ref
Returns the complementary area that is active in a given scope.

param: {Object} state    Global application state.
param: {string} scope    Item scope.
return: {string} The complementary area that is active in the given scope.

isMultipleEnabledItemEnabled(state, itemType, scope, item)   X-Ref
Returns a boolean indicating if an item is enabled or not in a given scope.

param: {Object} state    Global application state.
param: {string} itemType Type of item.
param: {string} scope    Scope.
param: {string} item     Item to check.
return: {boolean|undefined} True if the item is enabled, false otherwise if the item is explicitly disabled, and undefined if there is no information for that item.

selectors_isItemPinned(state, scope, item)   X-Ref
Returns a boolean indicating if an item is pinned or not.

param: {Object} state    Global application state.
param: {string} scope    Scope.
param: {string} item     Item to check.
return: {boolean} True if the item is pinned and false otherwise.

ComplementaryAreaToggle({as = external_wp_components_["Button"],scope,identifier,icon,selectedIcon,...props})   X-Ref
No description

ActionItemSlot({name,as: Component = external_wp_components_["ButtonGroup"],fillProps = {},bubblesVirtually,...props})   X-Ref
No description

ActionItem({name,as: Component = external_wp_components_["Button"],onClick,...props})   X-Ref
No description

ComplementaryAreaMoreMenuItem({scope,target,__unstableExplicitMenuItem,...props})   X-Ref
No description

PinnedItems({scope,...props})   X-Ref
No description

PinnedItemsSlot({scope,className,...props})   X-Ref
No description

ComplementaryAreaSlot({scope,...props})   X-Ref
No description

ComplementaryAreaFill({scope,children,className})   X-Ref
No description

useAdjustComplementaryListener(scope, identifier, activeArea, isActive, isSmall)   X-Ref
No description

ComplementaryArea({children,className,closeLabel = Object(external_wp_i18n_["__"])   X-Ref
No description



Generated: Tue Oct 19 01:00:04 2021 Cross-referenced by PHPXref 0.7.1