UNPKG

@nakedobjects/cicero

Version:

Single Page Application client for a Naked Objects application.

129 lines (128 loc) 7.49 kB
import { ILocalFilter } from '@nakedobjects/services'; export declare const mandatory = "Mandatory"; export declare const optional = "Optional"; export declare const choices = "Choices"; export declare const tooLong = "Too long"; export declare const notANumber = "Not a number"; export declare const noPatternMatch = "Invalid entry"; export declare const outOfRange: (_: unknown, min: unknown, max: unknown, filter: ILocalFilter) => string; export declare const welcomeMessage = "Welcome to Cicero. Type 'help' and the Enter key for more information."; export declare const basicHelp: string; export declare const actionCommand = "action"; export declare const actionHelp: string; export declare const backCommand = "back"; export declare const backHelp = "Move back to the previous context."; export declare const cancelCommand = "cancel"; export declare const cancelHelp = "Leave the current activity (action dialog, or object edit), incomplete."; export declare const clipboardCommand = "clipboard"; export declare const clipboardCopy = "copy"; export declare const clipboardShow = "show"; export declare const clipboardGo = "go"; export declare const clipboardDiscard = "discard"; export declare const clipboardHelp: string; export declare const editCommand = "edit"; export declare const editHelp = "Put an object into Edit mode."; export declare const enterCommand = "enter"; export declare const enterHelp: string; export declare const forwardCommand = "forward"; export declare const forwardHelp: string; export declare const geminiCommand = "gemini"; export declare const geminiHelp: string; export declare const gotoCommand = "goto"; export declare const gotoHelp: string; export declare const helpCommand = "help"; export declare const helpHelp: string; export declare const menuCommand = "menu"; export declare const menuHelp: string; export declare const okCommand = "ok"; export declare const okHelp: string; export declare const pageCommand = "page"; export declare const pageFirst = "first"; export declare const pagePrevious = "previous"; export declare const pageNext = "next"; export declare const pageLast = "last"; export declare const pageHelp: string; export declare const reloadCommand = "reload"; export declare const reloadHelp: string; export declare const rootCommand = "root"; export declare const rootHelp: string; export declare const saveCommand = "save"; export declare const saveHelp: string; export declare const selectionCommand = "selection"; export declare const selectionHelp: string; export declare const showCommand = "show"; export declare const showHelp: string; export declare const whereCommand = "where"; export declare const whereHelp: string; export declare const commandTooShort = "Command word must have at least 2 characters"; export declare const noCommandMatch: (a: string) => string; export declare const commandsAvailable = "Commands available in current context:\n"; export declare const noArguments = "No arguments provided"; export declare const tooFewArguments = "Too few arguments provided"; export declare const tooManyArguments = "Too many arguments provided"; export declare const commandNotAvailable: (c: string) => string; export declare const startHigherEnd = "Starting item number cannot be greater than the ending item number"; export declare const highestItem: (n: number) => string; export declare const item = "item"; export declare const empty = "empty"; export declare const numberOfItems: (n: number) => string; export declare const on = "on"; export declare const collection = "Collection"; export declare const modified = "modified"; export declare const properties = "properties"; export declare const modifiedProperties = "Modified properties"; export declare const page = "Page"; export declare const noVisible = "No visible properties"; export declare const doesNotMatch: (name: string) => string; export declare const cannotPage = "Cannot page list"; export declare const alreadyOnFirst = "List is already showing the first page"; export declare const alreadyOnLast = "List is already showing the last page"; export declare const pageArgumentWrong = "The argument must match: first, previous, next, last, or a single number"; export declare const pageNumberWrong: (max: number) => string; export declare const mayNotbeChainedMessage: (c: string, r: string) => string; export declare const queryOnlyRider = " unless the action is query-only"; export declare const noSuchCommand: (c: string) => string; export declare const missingArgument: (i: number) => string; export declare const wrongTypeArgument: (i: number) => string; export declare const isNotANumber: (s: string) => string; export declare const tooManyDashes = "Cannot have more than one dash in argument"; export declare const mustBeGreaterThanZero = "Item number or range values must be greater than zero"; export declare const pleaseCompleteOrCorrect = "Please complete or correct these fields:\n"; export declare const required = "required"; export declare const mustbeQuestionMark = "Second argument may only be a question mark - to get action details"; export declare const noActionsAvailable = "No actions available"; export declare const doesNotMatchActions: (a: string | undefined) => string; export declare const matchingActions = "Matching actions:\n"; export declare const actionsMessage = "Actions:\n"; export declare const actionPrefix = "Action:"; export declare const disabledPrefix = "disabled:"; export declare const isDisabled = "is disabled."; export declare const noDescription = "No description provided"; export declare const descriptionPrefix = "Description for action:"; export declare const clipboardError = "Clipboard command may only be followed by copy, show, go, or discard"; export declare const clipboardContextError = "Clipboard copy may only be used in the context of viewing an object"; export declare const clipboardContents: (contents: string) => string; export declare const clipboardEmpty = "Clipboard is empty"; export declare const doesNotMatchProperties: (name: string | undefined) => string; export declare const matchesMultiple = "matches multiple fields:\n"; export declare const doesNotMatchDialog: (name: string | undefined) => string; export declare const multipleFieldMatches = "Multiple fields match"; export declare const isNotModifiable = "is not modifiable"; export declare const invalidCase = "Invalid case"; export declare const invalidRefEntry = "Invalid entry for a reference field. Use clipboard or clip"; export declare const emptyClipboard = "Cannot use Clipboard as it is empty"; export declare const incompatibleClipboard = "Contents of Clipboard are not compatible with the field"; export declare const noMatch: (s: string) => string; export declare const multipleMatches = "Multiple matches:\n"; export declare const fieldName: (name: string) => string; export declare const descriptionFieldPrefix = "Description:"; export declare const typePrefix = "Type:"; export declare const unModifiablePrefix: (reason: string) => string; export declare const outOfItemRange: (n: number | undefined) => string; export declare const doesNotMatchMenu: (name: string | undefined) => string; export declare const matchingMenus = "Matching menus:"; export declare const menuTitle: (title: string) => string; export declare const allMenus = "Menus:"; export declare const noRefFieldMatch: (s: string) => string; export declare const unsaved = "Unsaved"; export declare const editing = "Editing";