datastake-daf 0.6.716 → 0.6.718

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.
@@ -241,12 +241,9 @@ class BaseHTTPService {
241
241
  this._axiosInitialized = false;
242
242
  }
243
243
  _ensureAxiosInitialized() {
244
- console.log('[BaseHTTPService] Checking axios initialization:', this._axiosInitialized);
245
244
  if (!this._axiosInitialized) {
246
- console.log('[BaseHTTPService] Setting up axios...');
247
245
  this.setupAxios();
248
246
  this._axiosInitialized = true;
249
- console.log('[BaseHTTPService] Axios setup complete!');
250
247
  }
251
248
  }
252
249
  setupAxios() {
@@ -662,7 +659,7 @@ class BaseService extends BaseHTTPService {
662
659
  getHeaders: () => {
663
660
  const config = getServicesConfig();
664
661
  return {
665
- Language: config.language || StorageManager$1.get('datastakeLng') || 'en',
662
+ Language: StorageManager$1.get('datastakeLng') || 'en',
666
663
  'ngrok-skip-browser-warning': true,
667
664
  Application: config.application
668
665
  };
@@ -765,7 +762,7 @@ var AdminService$1 = createLazyService(AdminService);
765
762
  class AuthenticationService extends BaseService {
766
763
  register(form) {
767
764
  return this.apiPost({
768
- url: '/auth/sign-up',
765
+ url: '/register',
769
766
  data: form
770
767
  });
771
768
  }
@@ -818,10 +815,10 @@ class AuthenticationService extends BaseService {
818
815
  });
819
816
  }
820
817
  verify(code) {
821
- return this.apiPost({
818
+ return this.apiGet({
822
819
  url: '/register/confirm',
823
- data: {
824
- code
820
+ params: {
821
+ token: code
825
822
  },
826
823
  isDaf: true
827
824
  });
@@ -943,13 +940,19 @@ class AuthenticationService extends BaseService {
943
940
  });
944
941
  }
945
942
  getFormOptions({
946
- references = ['countries', 'categoriesOptions', 'subCategoriesOptions', 'locationCategoriesOptions', 'documentationTypesOptions']
943
+ references = ['countries', 'categoriesOptions', 'subCategoriesOptions', 'locationCategoriesOptions', 'documentationTypesOptions'],
944
+ language,
945
+ ...params
947
946
  }) {
947
+ console.log({
948
+ language
949
+ });
948
950
  return this.apiPost({
949
951
  url: '/query/form-options',
950
952
  isDaf: true,
951
953
  data: {
952
- references
954
+ references,
955
+ language
953
956
  }
954
957
  });
955
958
  }
@@ -1541,13 +1541,13 @@ ul.ant-menu.ant-menu-dark.ant-menu-root.ant-menu-vertical::-webkit-scrollbar-thu
1541
1541
  color: var(--nested-sidenav-text-color, --custom-sidenav-text-color, white) !important;
1542
1542
  }
1543
1543
 
1544
- .components-layout:not(.nested) .sidenav-sider:not(.custom) .sidenav-cont .menus-cont.not-collapsed .sidemenu-cont .ant-menu.ant-menu-root.ant-menu-inline.ant-menu-dark
1544
+ .components-layout:not(.nested) .sidenav-sider:not(.custom):not(.straatos) .sidenav-cont .menus-cont.not-collapsed .sidemenu-cont .ant-menu.ant-menu-root.ant-menu-inline.ant-menu-dark
1545
1545
  .ant-menu-item:not(.ant-menu-item-selected):not(.ant-menu-item-disabled) svg path
1546
1546
  {
1547
1547
  stroke: #ffffff !important;
1548
1548
  }
1549
1549
 
1550
- .components-layout:not(.nested) .sidenav-sider:not(.custom) .sidenav-cont .menus-cont.not-collapsed .sidemenu-cont .ant-menu.ant-menu-root.ant-menu-inline.ant-menu-dark
1550
+ .components-layout:not(.nested) .sidenav-sider:not(.custom):not(.straatos) .sidenav-cont .menus-cont.not-collapsed .sidemenu-cont .ant-menu.ant-menu-root.ant-menu-inline.ant-menu-dark
1551
1551
  .ant-menu-item:not(.ant-menu-item-selected):not(.ant-menu-item-disabled) .ant-menu-title-content {
1552
1552
  color: #ffffff !important;
1553
1553
  }