[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

WordPress dependencies

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

Defines 84 functions

  isTemplate()
  isTemplatePart()
  isTemplateOrTemplatePart()
  getItemTitle()
  isTemplateRemovable()
  sort()
  isValid()
  text_sort()
  text_isValid()
  datetime_sort()
  datetime_isValid()
  getFieldTypeDefinition()
  DateTime()
  Integer()
  Radio()
  Select()
  Text()
  getControl()
  getControlByType()
  normalizeFields()
  isItemValid()
  FormRegular()
  DropdownHeader()
  FormField()
  FormPanel()
  getFormLayout()
  DataForm()
  ReorderModal()
  __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()
  localeLowerCase()
  lowerCase()
  noCase()
  replace()
  dotCase()
  paramCase()
  getJsonFromItem()

Functions
Functions that are not part of a class:

isTemplate(post)   X-Ref
No description

isTemplatePart(post)   X-Ref
No description

isTemplateOrTemplatePart(p)   X-Ref
No description

getItemTitle(item)   X-Ref
No description

isTemplateRemovable(template)   X-Ref
Check if a template is removable.

param: template The template entity to check.
return: Whether the template is removable.

sort(a, b, direction)   X-Ref
Internal dependencies


isValid(value, context)   X-Ref
No description

text_sort(valueA, valueB, direction)   X-Ref
Internal dependencies


text_isValid(value, context)   X-Ref
No description

datetime_sort(a, b, direction)   X-Ref
Internal dependencies


datetime_isValid(value, context)   X-Ref
No description

getFieldTypeDefinition(type)   X-Ref

param: {FieldType} type The field type definition to get.
return: A field type definition.

DateTime({data,field,onChange,hideLabelFromVision})   X-Ref
Internal dependencies


Integer({data,field,onChange,hideLabelFromVision})   X-Ref
Internal dependencies


Radio({data,field,onChange,hideLabelFromVision})   X-Ref
Internal dependencies


Select({data,field,onChange,hideLabelFromVision})   X-Ref
Internal dependencies


Text({data,field,onChange,hideLabelFromVision})   X-Ref
Internal dependencies


getControl(field, fieldTypeDefinition)   X-Ref
No description

getControlByType(type)   X-Ref
No description

normalizeFields(fields)   X-Ref
Apply default values and normalize the fields config.

param: fields Fields config.
return: Normalized fields config.

isItemValid(item, fields, form)   X-Ref
Internal dependencies


FormRegular({data,fields,form,onChange})   X-Ref
Internal dependencies


DropdownHeader({title,onClose})   X-Ref
No description

FormField({data,field,onChange})   X-Ref
No description

FormPanel({data,fields,form,onChange})   X-Ref
No description

getFormLayout(type)   X-Ref
No description

DataForm({form,...props})   X-Ref
No description

ReorderModal({items,closeModal,onActionPerformed})   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

localeLowerCase(str, locale)   X-Ref
Localized lower case.


lowerCase(str)   X-Ref
Lower case as a function.


noCase(input, options)   X-Ref
Normalize the string into something other libraries can manipulate easier.


replace(input, re, value)   X-Ref
Replace `re` in the input string with the replacement value.


dotCase(input, options)   X-Ref
No description

paramCase(input, options)   X-Ref
No description

getJsonFromItem(item)   X-Ref
Internal dependencies




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