ods-component-lib 1.17.72 → 1.17.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,4 @@
1
1
  import React from "react";
2
2
  import "./DxDataGrid.css";
3
- import "./i18n";
4
3
  declare function OdsDataGrid(props: any): React.JSX.Element;
5
4
  export default OdsDataGrid;
package/dist/index.js CHANGED
@@ -21,7 +21,6 @@ var jsPDF = _interopDefault(require('jspdf'));
21
21
  var exceljs = require('exceljs');
22
22
  var fileSaverEs = require('file-saver-es');
23
23
  var moment = _interopDefault(require('moment'));
24
- var i18n = _interopDefault(require('i18next'));
25
24
  var devextremeReact = require('devextreme-react');
26
25
  var AspNetData = require('devextreme-aspnet-data-nojquery');
27
26
  var treeView = require('devextreme-react/tree-view');
@@ -1188,53 +1187,6 @@ function OdsLogin(props) {
1188
1187
  }, "Log in"))));
1189
1188
  }
1190
1189
 
1191
- var resources = {
1192
- en: {
1193
- translation: JSON.parse(localStorage.getItem("LanguageSelect"))
1194
- },
1195
- tr: {
1196
- translation: JSON.parse(localStorage.getItem("LanguageSelect"))
1197
- },
1198
- pl: {
1199
- translation: JSON.parse(localStorage.getItem("LanguageSelect"))
1200
- },
1201
- ru: {
1202
- translation: JSON.parse(localStorage.getItem("LanguageSelect"))
1203
- },
1204
- es: {
1205
- translation: JSON.parse(localStorage.getItem("LanguageSelect"))
1206
- },
1207
- de: {
1208
- translation: JSON.parse(localStorage.getItem("LanguageSelect"))
1209
- },
1210
- fr: {
1211
- translation: JSON.parse(localStorage.getItem("LanguageSelect"))
1212
- },
1213
- it: {
1214
- translation: JSON.parse(localStorage.getItem("LanguageSelect"))
1215
- },
1216
- ua: {
1217
- translation: JSON.parse(localStorage.getItem("LanguageSelect"))
1218
- },
1219
- et: {
1220
- translation: JSON.parse(localStorage.getItem("LanguageSelect"))
1221
- },
1222
- lv: {
1223
- translation: JSON.parse(localStorage.getItem("LanguageSelect"))
1224
- },
1225
- lt: {
1226
- translation: JSON.parse(localStorage.getItem("LanguageSelect"))
1227
- }
1228
- };
1229
- i18n.use(reactI18next.initReactI18next).init({
1230
- resources: resources,
1231
- lng: "en",
1232
- keySeparator: false,
1233
- interpolation: {
1234
- escapeValue: false
1235
- }
1236
- });
1237
-
1238
1190
  var exportFormats = ['xlsx'];
1239
1191
  var searchEditorOptions = {
1240
1192
  placeholder: 'Search column'
@@ -1248,7 +1200,6 @@ var renderMenuItem = function renderMenuItem() {
1248
1200
  };
1249
1201
  function OdsDataGrid(props) {
1250
1202
  var dataGridRef = React.useRef(null);
1251
- console.log('deneme12: ', sessionStorage.getItem("locale"));
1252
1203
  return grid(props, dataGridRef);
1253
1204
  }
1254
1205
  function grid(props, dataGridRef) {