module.exports.BuiltInButtonTypes = Object.freeze({ NEXT_PAGE: "next", PREVIOUS_PAGE: "previous" }) module.exports.DEFAULT_BUTTON_ICON_MAPPINGS = Object.freeze({ [this.BuiltInButtonTypes.NEXT_PAGE]: "button_chevron_right", [this.BuiltInButtonTypes.PREVIOUS_PAGE]: "button_chevron_left" }); module.exports.STACK_CACHE_KEYS = Object.freeze({ RESULT_CARDS: 0 }) /** * Callback Types for a Dynamic Card Stack * Component resolve. * * - `SUBSTACK` - Creates a "submenu" with a brand new cardstack * - `REPLACE_PARENT` - Replaces the parent card in the root stack * - This callback type will also unselect the button * - `REPLACE_ROOT_STACK` - Replaces the root stack * - This callback type will also unselect the button */ module.exports.ResolveCallbackTypes = Object.freeze({ SUBSTACK: 0, REPLACE_PARENT_CARD: 1, REPLACE_STACK: 2, 0: "SUBSTACK", 1: "REPLACE_PARENT_CARD", 2: "REPLACE_STACK", })