Namespace: XV

XV

XV is the global namespace for all the "xTuple Views" defined in enyo-x and elsewhere
Source:

Classes

XV.AddressFieldsWidget
XV.AddressWidget
XV.AssignmentBox
XV.CharacteristicItem
XV.CharacteristicPicker
XV.CharacteristicsWidget
XV.ChildWorkspace
XV.ChildWorkspaceContainer
XV.Column
XV.ComboboxWidget
XV.CommentBox
XV.CommentBoxItem
XV.CommentTypePicker
XV.Completer
XV.DateWidget
XV.DependenciesWidget
XV.DependencyItem
XV.DependencyPicker
XV.DocumentListRelations
XV.DocumentsBox
XV.EditorMixin
XV.EditorMixin
XV.ExtensionsMixin
XV.FileInput
XV.FormattingMixin
XV.GridAttr
XV.GridRow
XV.Groupbox
XV.IconButton
XV.InputWidget
XV.List
XV.ListAttr
XV.ListBase
XV.ListBox
XV.ListColumn
XV.ListItem
XV.ListRelations
XV.ListRelationsBox
XV.ListRelationsEditorBox
XV.MenuItem
XV.ModuleContainer
XV.Navigator
XV.Number
XV.OptionsPicker
XV.ParameterItem
XV.ParameterWidget
XV.Picker
XV.Pullout
XV.RelationsEditor
XV.RelationWidget
XV.ScreenCarousel
XV.Scroller
XV.SearchContainer
XV.StickyCheckboxWidget
XV.TextArea
XV.ToggleButtonWidget
XV.Tree
XV.TreeNode
XV.Workspace
XV.WorkspaceContainer

Members

<static> ListMenuManagerMixin

Used by container views to handle list actions.
Source:

<static> NumberSpinnerWidget

Source:

<static> TransactionList

Expected to a have a parameter widget that contains an order and a transaction date.
Source:

<static> TransactionListContainer

Expected to a have a parameter widget that contains an order and a transaction date.
Source:

<static> widgetTypeMap

Key/value mapping of widget class names that correspond with object definitions to implement a corresponding editor widget.
Source:

Methods

<static> appendExtension(Class, Component(s))

Add component or array of component view(s) to a view class that has implemented the `ExtensionsMixin`. Examples of classes that support extensions are: `Workspace` `List` `ParameterWidget`
Parameters:
Name Type Description
Class String name
Component(s) Object | Array
Source:

<static> applyTest(expected, actual, message) → {String}

Helper function for enyo unit testing
Parameters:
Name Type Description
expected
actual
message String Only displayed in the case of a failed test
Source:
Returns:
Per enyo's conventions, the empty string means the test is passed.
Type
String

<static> downloadURL(The)

The javascript download method avoids target = "_blank" and the need to reload the app to see the new client. Pop up blockers should not be an issue.
Parameters:
Name Type Description
The String URL for the download route.
Source:

<static> getEditor(Model, Attribute)

Accepts a model and an attribute and returns a standard widget definition mapped to the attribute. Warning* This implementation is incomplete. Widgets that reference object based attributes are not handled well and need to be refactored.
Parameters:
Name Type Description
Model String class name
Attribute String name
Source: