| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- /**
- * DevExtreme (core/config.js)
- * Version: 19.1.16
- * Build date: Tue Oct 18 2022
- *
- * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
- * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
- */
- "use strict";
- var _extend = require("./utils/extend");
- var _extend2 = _interopRequireDefault(_extend);
- var _errors = require("./errors");
- var _errors2 = _interopRequireDefault(_errors);
- function _interopRequireDefault(obj) {
- return obj && obj.__esModule ? obj : {
- "default": obj
- }
- }
- var config = {
- rtlEnabled: false,
- defaultCurrency: "USD",
- oDataFilterToLower: true,
- serverDecimalSeparator: ".",
- decimalSeparator: ".",
- thousandsSeparator: ",",
- forceIsoDateParsing: true,
- wrapActionsBeforeExecute: true,
- useLegacyStoreResult: false,
- useJQuery: void 0,
- editorStylingMode: void 0,
- useLegacyVisibleIndex: false,
- floatingActionButtonConfig: {
- icon: "add",
- closeIcon: "close",
- position: {
- at: "right bottom",
- my: "right bottom",
- offset: {
- x: -16,
- y: -16
- }
- },
- maxSpeedDialActionCount: 5
- },
- optionsParser: function(optionsString) {
- if ("{" !== optionsString.trim().charAt(0)) {
- optionsString = "{" + optionsString + "}"
- }
- try {
- return new Function("return " + optionsString)()
- } catch (ex) {
- throw _errors2.default.Error("E3018", ex, optionsString)
- }
- }
- };
- var configMethod = function() {
- if (!arguments.length) {
- return config
- }
- _extend2.default.extend(config, arguments.length <= 0 ? void 0 : arguments[0])
- };
- if ("undefined" !== typeof DevExpress && DevExpress.config) {
- configMethod(DevExpress.config)
- }
- module.exports = configMethod;
- module.exports.default = module.exports;
|