Path: blob/trunk/third_party/closure/goog/a11y/aria/datatables.js
4248 views
/**1* @license2* Copyright The Closure Library Authors.3* SPDX-License-Identifier: Apache-2.04*/5678/**9* @fileoverview The file contains data tables generated from the ARIA10* standard schema http://www.w3.org/TR/wai-aria/.11*12* This is auto-generated code. Do not manually edit!13*/1415goog.module('goog.a11y.aria.datatables');16goog.module.declareLegacyNamespace();1718const State = goog.require('goog.a11y.aria.State');192021/**22* A map that contains mapping between an ARIA state and the default value23* for it. Note that not all ARIA states have default values.24*25* @type {!Object<!State|string, string|boolean|number>|undefined}26*/27let defaultStateValueMap;282930/**31* A method that creates a map that contains mapping between an ARIA state and32* the default value for it. Note that not all ARIA states have default values.33*34* @return {!Object<!State|string, string|boolean|number>}35* The names for each of the notification methods.36*/37exports.getDefaultValuesMap = function() {38if (!defaultStateValueMap) {39defaultStateValueMap = {40[State.ATOMIC]: false,41[State.AUTOCOMPLETE]: 'none',42[State.DROPEFFECT]: 'none',43[State.HASPOPUP]: false,44[State.LIVE]: 'off',45[State.MULTILINE]: false,46[State.MULTISELECTABLE]: false,47[State.ORIENTATION]: 'vertical',48[State.READONLY]: false,49[State.RELEVANT]: 'additions text',50[State.REQUIRED]: false,51[State.SORT]: 'none',52[State.BUSY]: false,53[State.DISABLED]: false,54[State.HIDDEN]: false,55[State.INVALID]: 'false',56};57}5859return defaultStateValueMap;60};616263