$cappuccino_control_mappings = {
  "image-view-text"     => "_CPImageAndTextView",
  "menu-item"           => "_CPMenuItemView",
  "tool-bar-item"       => "_CPToolbarItemView",
  "box"                 => "CPBox",
  "button"              => "CPButton",
  "button-bar"          => "CPButtonBar",
  "collection-view"     => "CPCollectionView",
  "combo-box"           => "CPComboBox",
  "control"             => "CPControl",
  "check-box"           => "CPCheckBox",
  "date-picker"         => "CPDatePicker",
  "image-view"          => "CPImageView",
  "level-indicator"     => "CPLevelIndicator",
  "outline-view"        => "CPOutlineView",
  "pop-up-button"       => "CPPopUpButton",
  "predicate-editor"    => "CPPredicateEditor",
  "radio-button"        => "CPRadio",
  "rule-editor"         => "CPRuleEditor",
  "scroller"            => "CPScroller",
  "scroll-view"         => "CPScrollView",
  "search-field"        => "CPSearchField",
  "secure-field"        => "CPSecureTextField",
  "segemented-control"  => "CPSegmentedControl",
  "slider"              => "CPSlider",
  "stepper"             => "CPStepper",
  "tab-view"            => "CPTabView",
  "table"               => "CPTableView",
  "field"               => "CPTextField",
  "token-field"         => "CPTokenField",
  "view"                => "CPView",
  "none"                => nil
}

$property_mappings = {
  "cucapp-identifier" => "cucappIdentifier",
  "id"                => "id",
  "identifier"        => "identifier",
  "label"             => "label",
  "object-value"      => "objectValue",
  "placeholder"       => "placeholderString",
  "tag"               => "tag",
  "title"             => "title",
  "text"              => "text",
  "none"              => nil
}

$key_mappings = {
  "command"     => $CPCommandKeyMask,
  "shift"       => $CPShiftKeyMask,
  "option"      => $CPAlternateKeyMask,
  "control"     => $CPControlKeyMask,
  "delete"      => $CPDeleteCharacter,
  "escape"      => $CPEscapeFunctionKey,
  "enter"       => $CPNewlineCharacter,
  "left-arrow"  => $CPLeftArrowFunctionKey,
  "right-arrow" => $CPRightArrowFunctionKey,
  "top-arrow"   => $CPTopArrowFunctionKey,
  "down-arrow"  => $CPDownArrowFunctionKey,
  "tab"         => $CPTabCharacter,
  "none"        => nil
}