[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/js/dist/ -> block-library.js (summary)

(no description)

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

Defines 169 functions

  __webpack_require__()
  getDefault()
  getModuleExports()
  _assertThisInitialized()
  _objectSpread()
  _defineProperties()
  _createClass()
  _classCallCheck()
  _possibleConstructorReturn()
  _getPrototypeOf()
  _setPrototypeOf()
  _inherits()
  _defineProperty()
  classNames()
  _arrayWithoutHoles()
  _nonIterableSpread()
  _toConsumableArray()
  _extends()
  _objectWithoutPropertiesLoose()
  _objectWithoutProperties()
  _iterableToArrayLimit()
  _slicedToArray()
  _typeof2()
  _typeof()
  _iterableToArray()
  _arrayWithHoles()
  _nonIterableRest()
  memoized()
  tinycolor()
  inputToRGB()
  rgbToRgb()
  rgbToHsl()
  hslToRgb()
  hue2rgb()
  rgbToHsv()
  hsvToRgb()
  rgbToHex()
  rgbaToHex()
  rgbaToArgbHex()
  desaturate()
  saturate()
  greyscale()
  lighten()
  brighten()
  darken()
  spin()
  complement()
  triad()
  tetrad()
  splitcomplement()
  analogous()
  monochromatic()
  flip()
  boundAlpha()
  bound01()
  clamp01()
  parseIntFromHex()
  isOnePointZero()
  isPercentage()
  pad2()
  convertToPercentage()
  convertDecimalToHex()
  convertHexToDecimal()
  isValidCSSUnit()
  stringInputToObject()
  validateWCAG2Parms()
  getClassNames()
  fallback()
  StorageObject()
  _parseArray()
  _parseNumber()
  _parseObject()
  _parseString()
  _parse()
  _classNames()
  Url()
  urlParse()
  urlFormat()
  urlResolve()
  urlResolveObject()
  WpEmbedPreview()
  EmbedPreview()
  getEmbedEditComponent()
  _class()
  getEmbedBlockSettings()
  error()
  map()
  mapDomain()
  ucs2decode()
  ucs2encode()
  basicToDigit()
  digitToBasic()
  adapt()
  decode()
  encode()
  toUnicode()
  toASCII()
  hasOwnProperty()
  map()
  MissingBlockWarning()
  ParagraphBlock()
  isTmceEmpty()
  ClassicEdit()
  getDeprecatedLayoutColumn()
  _classCallCheck()
  _defineProperties()
  _createClass()
  _slicedToArray()
  _arrayWithHoles()
  _iterableToArrayLimit()
  _nonIterableRest()
  FastAverageColor()
  MediaContainer()
  MediaTextEdit()
  calculatePreferedImageSize()
  ImageSize()
  ImageEdit()
  getFirstAnchorAttributeFormHTML()
  stripFirstImage()
  WidgetEditDomManager()
  WidgetEditHandler()
  LegacyWidgetEdit()
  FileBlockInspector()
  FileEdit()
  ReusableBlockEditPanel()
  ReusableBlockIndicator()
  ReusableBlockEdit()
  GalleryImage()
  defaultColumnsNumber()
  GalleryEdit()
  HeadingToolbar()
  HeadingEdit()
  getLevelFromHeadingNodeName()
  AudioEdit()
  retrieveFastAverageColor()
  backgroundImageStyles()
  dimRatioToClass()
  CoverEdit()
  VideoEdit()
  createTable()
  updateCellContent()
  insertRow()
  deleteRow()
  insertColumn()
  deleteColumn()
  TableEdit()
  getTableSectionAttributeSchema()
  CodeEdit()
  HTMLEdit()
  ArchivesEdit()
  ButtonEdit()
  LatestComments()
  LatestPostsEdit()
  CalendarEdit()
  CategoriesEdit()
  MoreEdit()
  NextPageEdit()
  PullQuoteEdit()
  SearchEdit()
  RSSEdit()
  TagCloudEdit()
  defaultSetTimout()
  defaultClearTimeout()
  runTimeout()
  runClearTimeout()
  cleanUpNextTick()
  drainQueue()
  Item()
  noop()

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

_assertThisInitialized(self)   X-Ref
No description

_objectSpread(target)   X-Ref
No description

_defineProperties(target, props)   X-Ref
No description

_createClass(Constructor, protoProps, staticProps)   X-Ref
No description

_classCallCheck(instance, Constructor)   X-Ref
No description

_possibleConstructorReturn(self, call)   X-Ref
No description

_getPrototypeOf(o)   X-Ref
No description

_setPrototypeOf(o, p)   X-Ref
No description

_inherits(subClass, superClass)   X-Ref
No description

_defineProperty(obj, key, value)   X-Ref
No description

classNames()   X-Ref
No description

_arrayWithoutHoles(arr)   X-Ref
No description

_nonIterableSpread()   X-Ref
No description

_toConsumableArray(arr)   X-Ref
No description

_extends()   X-Ref
No description

_objectWithoutPropertiesLoose(source, excluded)   X-Ref
No description

_objectWithoutProperties(source, excluded)   X-Ref
No description

_iterableToArrayLimit(arr, i)   X-Ref
No description

_slicedToArray(arr, i)   X-Ref
No description

_typeof2(obj)   X-Ref
No description

_typeof(obj)   X-Ref
No description

_iterableToArray(iter)   X-Ref
No description

_arrayWithHoles(arr)   X-Ref
No description

_nonIterableRest()   X-Ref
No description

memoized( )   X-Ref
No description

tinycolor(color, opts)   X-Ref
No description

inputToRGB(color)   X-Ref
No description

rgbToRgb(r, g, b)   X-Ref
No description

rgbToHsl(r, g, b)   X-Ref
No description

hslToRgb(h, s, l)   X-Ref
No description

hue2rgb(p, q, t)   X-Ref
No description

rgbToHsv(r, g, b)   X-Ref
No description

hsvToRgb(h, s, v)   X-Ref
No description

rgbToHex(r, g, b, allow3Char)   X-Ref
No description

rgbaToHex(r, g, b, a, allow4Char)   X-Ref
No description

rgbaToArgbHex(r, g, b, a)   X-Ref
No description

desaturate(color, amount)   X-Ref
No description

saturate(color, amount)   X-Ref
No description

greyscale(color)   X-Ref
No description

lighten(color, amount)   X-Ref
No description

brighten(color, amount)   X-Ref
No description

darken(color, amount)   X-Ref
No description

spin(color, amount)   X-Ref
No description

complement(color)   X-Ref
No description

triad(color)   X-Ref
No description

tetrad(color)   X-Ref
No description

splitcomplement(color)   X-Ref
No description

analogous(color, results, slices)   X-Ref
No description

monochromatic(color, results)   X-Ref
No description

flip(o)   X-Ref
No description

boundAlpha(a)   X-Ref
No description

bound01(n, max)   X-Ref
No description

clamp01(val)   X-Ref
No description

parseIntFromHex(val)   X-Ref
No description

isOnePointZero(n)   X-Ref
No description

isPercentage(n)   X-Ref
No description

pad2(c)   X-Ref
No description

convertToPercentage(n)   X-Ref
No description

convertDecimalToHex(d)   X-Ref
No description

convertHexToDecimal(h)   X-Ref
No description

isValidCSSUnit(color)   X-Ref
No description

stringInputToObject(color)   X-Ref
No description

validateWCAG2Parms(parms)   X-Ref
No description

getClassNames(html)   X-Ref
Returns class names with any relevant responsive aspect ratio names.

return: {string} Deduped class names.
param: {string}  html               The preview HTML that possibly contains an iframe with width and height set.
param: {string}  existingClassNames Any existing class names.
param: {boolean} allowResponsive    If the responsive class names should be added, or removed.

fallback(url, onReplace)   X-Ref
Fallback behaviour for unembeddable URLs.
Creates a paragraph block containing a link to the URL, and calls `onReplace`.

param: {string}   url       The URL that could not be embedded.
param: {function} onReplace Function to call with the created fallback block.

StorageObject()   X-Ref
No description

_parseArray(resultSet, array)   X-Ref
No description

_parseNumber(resultSet, num)   X-Ref
No description

_parseObject(resultSet, object)   X-Ref
No description

_parseString(resultSet, str)   X-Ref
No description

_parse(resultSet, arg)   X-Ref
No description

_classNames()   X-Ref
No description

Url()   X-Ref
No description

urlParse(url, parseQueryString, slashesDenoteHost)   X-Ref
No description

urlFormat(obj)   X-Ref
No description

urlResolve(source, relative)   X-Ref
No description

urlResolveObject(source, relative)   X-Ref
No description

WpEmbedPreview()   X-Ref
No description

EmbedPreview()   X-Ref
No description

getEmbedEditComponent(title, icon)   X-Ref
No description

_class()   X-Ref
No description

getEmbedBlockSettings(_ref)   X-Ref
No description

error(type)   X-Ref
A generic error utility function.

returns: {Error} Throws a `RangeError` with the applicable error message.
param: {String} type The error type.

map(array, fn)   X-Ref
A generic `Array#map` utility function.

returns: {Array} A new array of values returned by the callback function.
param: {Array} array The array to iterate over.
param: {Function} callback The function that gets called for every array

mapDomain(string, fn)   X-Ref
A simple `Array#map`-like wrapper to work with domain name strings or email
addresses.

returns: {Array} A new string of characters returned by the callback
param: {String} domain The domain name or email address.
param: {Function} callback The function that gets called for every

ucs2decode(string)   X-Ref
Creates an array containing the numeric code points of each Unicode
character in the string. While JavaScript uses UCS-2 internally,
this function will convert a pair of surrogate halves (each of which
UCS-2 exposes as separate characters) into a single code point,
matching UTF-16.

returns: {Array} The new array of code points.
param: {String} string The Unicode input string (UCS-2).

ucs2encode(array)   X-Ref
Creates a string based on an array of numeric code points.

returns: {String} The new Unicode string (UCS-2).
param: {Array} codePoints The array of numeric code points.

basicToDigit(codePoint)   X-Ref
Converts a basic code point into a digit/integer.

returns: {Number} The numeric value of a basic code point (for use in
param: {Number} codePoint The basic numeric code point value.

digitToBasic(digit, flag)   X-Ref
Converts a digit/integer into a basic code point.

returns: {Number} The basic code point whose value (when used for
param: {Number} digit The numeric value of a basic code point.

adapt(delta, numPoints, firstTime)   X-Ref
Bias adaptation function as per section 3.4 of RFC 3492.
http://tools.ietf.org/html/rfc3492#section-3.4


decode(input)   X-Ref
Converts a Punycode string of ASCII-only symbols to a string of Unicode
symbols.

returns: {String} The resulting string of Unicode symbols.
param: {String} input The Punycode string of ASCII-only symbols.

encode(input)   X-Ref
Converts a string of Unicode symbols (e.g. a domain name label) to a
Punycode string of ASCII-only symbols.

returns: {String} The resulting Punycode string of ASCII-only symbols.
param: {String} input The string of Unicode symbols.

toUnicode(input)   X-Ref
Converts a Punycode string representing a domain name or an email address
to Unicode. Only the Punycoded parts of the input will be converted, i.e.
it doesn't matter if you call it on a string that has already been
converted to Unicode.

returns: {String} The Unicode representation of the given Punycode
param: {String} input The Punycoded domain name or email address to

toASCII(input)   X-Ref
Converts a Unicode string representing a domain name or an email address to
Punycode. Only the non-ASCII parts of the domain name will be converted,
i.e. it doesn't matter if you call it with a domain that's already in
ASCII.

returns: {String} The Punycode representation of the given domain name or
param: {String} input The domain name or email address to convert, as a

hasOwnProperty(obj, prop)   X-Ref
No description

map(xs, f)   X-Ref
No description

MissingBlockWarning(_ref)   X-Ref
No description

ParagraphBlock()   X-Ref
No description

isTmceEmpty(editor)   X-Ref
No description

ClassicEdit(props)   X-Ref
No description

getDeprecatedLayoutColumn(originalContent)   X-Ref
Given an HTML string for a deprecated columns inner block, returns the
column index to which the migrated inner block should be assigned. Returns
undefined if the inner block was not assigned to a column.

return: {?number} Column to which inner block is to be assigned.
param: {string} originalContent Deprecated Columns inner block HTML.

_classCallCheck(instance, Constructor)   X-Ref
No description

_defineProperties(target, props)   X-Ref
No description

_createClass(Constructor, protoProps, staticProps)   X-Ref
No description

_slicedToArray(arr, i)   X-Ref
No description

_arrayWithHoles(arr)   X-Ref
No description

_iterableToArrayLimit(arr, i)   X-Ref
No description

_nonIterableRest()   X-Ref
No description

FastAverageColor()   X-Ref
No description

MediaContainer()   X-Ref
No description

MediaTextEdit()   X-Ref
No description

calculatePreferedImageSize(image, container)   X-Ref
No description

ImageSize()   X-Ref
No description

ImageEdit(_ref)   X-Ref
No description

getFirstAnchorAttributeFormHTML(html, attributeName)   X-Ref
No description

stripFirstImage(attributes, _ref)   X-Ref
No description

WidgetEditDomManager()   X-Ref
No description

WidgetEditHandler()   X-Ref
No description

LegacyWidgetEdit()   X-Ref
No description

FileBlockInspector(_ref)   X-Ref
No description

FileEdit()   X-Ref
No description

ReusableBlockEditPanel()   X-Ref
No description

ReusableBlockIndicator(_ref)   X-Ref
No description

ReusableBlockEdit(_ref)   X-Ref
No description

GalleryImage()   X-Ref
No description

defaultColumnsNumber(attributes)   X-Ref
No description

GalleryEdit()   X-Ref
No description

HeadingToolbar()   X-Ref
No description

HeadingEdit(_ref)   X-Ref
No description

getLevelFromHeadingNodeName(nodeName)   X-Ref
Given a node name string for a heading node, returns its numeric level.

return: {number} Heading level.
param: {string} nodeName Heading node name.

AudioEdit()   X-Ref
No description

retrieveFastAverageColor()   X-Ref
No description

backgroundImageStyles(url)   X-Ref
No description

dimRatioToClass(ratio)   X-Ref
No description

CoverEdit()   X-Ref
No description

VideoEdit()   X-Ref
No description

createTable(_ref)   X-Ref
Creates a table state.

return: {Object} New table state.
param: {number} options.rowCount    Row count for the table to create.
param: {number} options.columnCount Column count for the table to create.

updateCellContent(state, _ref2)   X-Ref
Updates cell content in the table state.

return: {Object} New table state.
param: {Object} state               Current table state.
param: {string} options.section     Section of the cell to update.
param: {number} options.rowIndex    Row index of the cell to update.
param: {number} options.columnIndex Column index of the cell to update.
param: {Array}  options.content     Content to set for the cell.

insertRow(state, _ref4)   X-Ref
Inserts a row in the table state.

return: {Object} New table state.
param: {Object} state            Current table state.
param: {string} options.section  Section in which to insert the row.
param: {number} options.rowIndex Row index at which to insert the row.

deleteRow(state, _ref6)   X-Ref
Deletes a row from the table state.

return: {Object} New table state.
param: {Object} state            Current table state.
param: {string} options.section  Section in which to delete the row.
param: {number} options.rowIndex Row index to delete.

insertColumn(state, _ref8)   X-Ref
Inserts a column in the table state.

return: {Object} New table state.
param: {Object} state               Current table state.
param: {string} options.section     Section in which to insert the column.
param: {number} options.columnIndex Column index at which to insert the column.

deleteColumn(state, _ref10)   X-Ref
Deletes a column from the table state.

return: {Object} New table state.
param: {Object} state               Current table state.
param: {string} options.section     Section in which to delete the column.
param: {number} options.columnIndex Column index to delete.

TableEdit()   X-Ref
No description

getTableSectionAttributeSchema(section)   X-Ref
No description

CodeEdit(_ref)   X-Ref
Internal dependencies


HTMLEdit()   X-Ref
No description

ArchivesEdit(_ref)   X-Ref
No description

ButtonEdit()   X-Ref
No description

LatestComments()   X-Ref
No description

LatestPostsEdit()   X-Ref
No description

CalendarEdit()   X-Ref
No description

CategoriesEdit()   X-Ref
No description

MoreEdit()   X-Ref
No description

NextPageEdit()   X-Ref
WordPress dependencies


PullQuoteEdit(props)   X-Ref
No description

SearchEdit(_ref)   X-Ref
WordPress dependencies


RSSEdit()   X-Ref
No description

TagCloudEdit()   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



Generated: Wed Sep 18 01:00:03 2019 Cross-referenced by PHPXref 0.7.1