| 1 |
"use strict"; |
| 2 |
Object.defineProperty(exports, "__esModule", { value: true }); |
| 3 |
exports.statusIcons = exports.globalHeightBreakpoints = exports.globalWidthBreakpoints = exports.KeyTypes = exports.ValidatedOptions = exports.KEYHANDLER_DIRECTION = exports.SIDE = void 0; |
| 4 |
const tslib_1 = require("tslib"); |
| 5 |
const t_global_breakpoint_sm_1 = tslib_1.__importDefault(require('@patternfly/react-tokens/dist/js/t_global_breakpoint_sm')); |
| 6 |
const t_global_breakpoint_md_1 = tslib_1.__importDefault(require('@patternfly/react-tokens/dist/js/t_global_breakpoint_md')); |
| 7 |
const t_global_breakpoint_lg_1 = tslib_1.__importDefault(require('@patternfly/react-tokens/dist/js/t_global_breakpoint_lg')); |
| 8 |
const t_global_breakpoint_xl_1 = tslib_1.__importDefault(require('@patternfly/react-tokens/dist/js/t_global_breakpoint_xl')); |
| 9 |
const t_global_breakpoint_2xl_1 = tslib_1.__importDefault(require('@patternfly/react-tokens/dist/js/t_global_breakpoint_2xl')); |
| 10 |
const t_global_breakpoint_height_sm_1 = tslib_1.__importDefault(require('@patternfly/react-tokens/dist/js/t_global_breakpoint_height_sm')); |
| 11 |
const t_global_breakpoint_height_md_1 = tslib_1.__importDefault(require('@patternfly/react-tokens/dist/js/t_global_breakpoint_height_md')); |
| 12 |
const t_global_breakpoint_height_lg_1 = tslib_1.__importDefault(require('@patternfly/react-tokens/dist/js/t_global_breakpoint_height_lg')); |
| 13 |
const t_global_breakpoint_height_xl_1 = tslib_1.__importDefault(require('@patternfly/react-tokens/dist/js/t_global_breakpoint_height_xl')); |
| 14 |
const t_global_breakpoint_height_2xl_1 = tslib_1.__importDefault(require('@patternfly/react-tokens/dist/js/t_global_breakpoint_height_2xl')); |
| 15 |
const rh_ui_check_circle_fill_icon_1 = tslib_1.__importDefault(require('@patternfly/react-icons/dist/js/icons/rh-ui-check-circle-fill-icon')); |
| 16 |
const rh_ui_error_fill_icon_1 = tslib_1.__importDefault(require('@patternfly/react-icons/dist/js/icons/rh-ui-error-fill-icon')); |
| 17 |
const rh_ui_warning_fill_icon_1 = tslib_1.__importDefault(require('@patternfly/react-icons/dist/js/icons/rh-ui-warning-fill-icon')); |
| 18 |
const rh_ui_information_fill_icon_1 = tslib_1.__importDefault(require('@patternfly/react-icons/dist/js/icons/rh-ui-information-fill-icon')); |
| 19 |
const rh_ui_notification_fill_icon_1 = tslib_1.__importDefault(require('@patternfly/react-icons/dist/js/icons/rh-ui-notification-fill-icon')); |
| 20 |
exports.SIDE = { RIGHT: 'right', LEFT: 'left', BOTH: 'both', NONE: 'none' }; |
| 21 |
exports.KEYHANDLER_DIRECTION = { UP: 'up', DOWN: 'down', RIGHT: 'right', LEFT: 'left' }; |
| 22 |
var ValidatedOptions; |
| 23 |
(function (ValidatedOptions) { |
| 24 |
ValidatedOptions["success"] = "success"; |
| 25 |
ValidatedOptions["error"] = "error"; |
| 26 |
ValidatedOptions["warning"] = "warning"; |
| 27 |
ValidatedOptions["default"] = "default"; |
| 28 |
})(ValidatedOptions || (exports.ValidatedOptions = ValidatedOptions = {})); |
| 29 |
exports.KeyTypes = { |
| 30 |
Tab: 'Tab', |
| 31 |
Space: ' ', |
| 32 |
Escape: 'Escape', |
| 33 |
Enter: 'Enter', |
| 34 |
ArrowUp: 'ArrowUp', |
| 35 |
ArrowDown: 'ArrowDown', |
| 36 |
ArrowLeft: 'ArrowLeft', |
| 37 |
ArrowRight: 'ArrowRight' |
| 38 |
}; |
| 39 |
exports.globalWidthBreakpoints = { |
| 40 |
sm: parseInt(t_global_breakpoint_sm_1.default.value) * 16, |
| 41 |
md: parseInt(t_global_breakpoint_md_1.default.value) * 16, |
| 42 |
lg: parseInt(t_global_breakpoint_lg_1.default.value) * 16, |
| 43 |
xl: parseInt(t_global_breakpoint_xl_1.default.value) * 16, |
| 44 |
'2xl': parseInt(t_global_breakpoint_2xl_1.default.value) * 16 |
| 45 |
}; |
| 46 |
exports.globalHeightBreakpoints = { |
| 47 |
sm: parseInt(t_global_breakpoint_height_sm_1.default.value) * 16, |
| 48 |
md: parseInt(t_global_breakpoint_height_md_1.default.value) * 16, |
| 49 |
lg: parseInt(t_global_breakpoint_height_lg_1.default.value) * 16, |
| 50 |
xl: parseInt(t_global_breakpoint_height_xl_1.default.value) * 16, |
| 51 |
'2xl': parseInt(t_global_breakpoint_height_2xl_1.default.value) * 16 |
| 52 |
}; |
| 53 |
exports.statusIcons = { |
| 54 |
success: rh_ui_check_circle_fill_icon_1.default, |
| 55 |
danger: rh_ui_error_fill_icon_1.default, |
| 56 |
warning: rh_ui_warning_fill_icon_1.default, |
| 57 |
info: rh_ui_information_fill_icon_1.default, |
| 58 |
custom: rh_ui_notification_fill_icon_1.default |
| 59 |
}; |
| 60 |
//# sourceMappingURL=constants.js.map |