datastake-daf 0.6.715 → 0.6.717

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.
@@ -4113,29 +4113,72 @@ const config$3 = {
4113
4113
  })
4114
4114
  };
4115
4115
 
4116
- const config$2 = {
4117
- viewBox: "0 0 105 105",
4118
- children: /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
4119
- children: [/*#__PURE__*/jsxRuntime.jsx("path", {
4120
- d: "M26.25 26.25L45.9375 45.9375L26.25 26.25Z",
4121
- fill: "white"
4122
- }), /*#__PURE__*/jsxRuntime.jsx("path", {
4123
- d: "M13.125 8.75L26.25 13.125V26.25H13.125L8.75 13.125L13.125 8.75Z",
4124
- fill: "white"
4125
- }), /*#__PURE__*/jsxRuntime.jsx("path", {
4126
- d: "M84.2581 11.9919L72.7622 23.4878C71.0297 25.2203 70.1634 26.0866 69.8388 27.0856C69.5533 27.9642 69.5533 28.9108 69.8388 29.7894C70.1634 30.7884 71.0297 31.6547 72.7622 33.3872L73.8003 34.4253C75.5328 36.1578 76.3991 37.0241 77.398 37.3487C78.2767 37.6342 79.2233 37.6342 80.102 37.3487C81.1009 37.0241 81.9672 36.1578 83.6997 34.4253L94.4531 23.6719C95.6113 26.4901 96.25 29.5767 96.25 32.8125C96.25 46.1019 85.4768 56.875 72.1875 56.875C70.5853 56.875 69.0197 56.7184 67.5052 56.4197C65.3783 56.0003 64.3149 55.7905 63.6702 55.8548C62.9848 55.923 62.647 56.0258 62.0397 56.3508C61.4685 56.6565 60.8955 57.2295 59.7495 58.3755L28.4375 89.6874C24.8131 93.3118 18.9369 93.3118 15.3125 89.6874C11.6881 86.0631 11.6881 80.1868 15.3125 76.5624L46.6245 45.2505C47.7705 44.1045 48.3435 43.5315 48.6492 42.9603C48.9742 42.353 49.077 42.0152 49.1452 41.3298C49.2095 40.6851 48.9997 39.6217 48.5803 37.4948C48.2816 35.9803 48.125 34.4147 48.125 32.8125C48.125 19.5231 58.8981 8.75 72.1875 8.75C76.5866 8.75 80.7099 9.93048 84.2581 11.9919Z",
4127
- fill: "white"
4128
- }), /*#__PURE__*/jsxRuntime.jsx("path", {
4129
- d: "M52.5002 65.6248L76.5625 89.687C80.1868 93.3114 86.0631 93.3114 89.6874 89.687C93.3118 86.0627 93.3118 80.1864 89.6874 76.562L69.892 56.7669C68.4907 56.6343 67.1243 56.3815 65.8034 56.019C64.1013 55.5518 62.2341 55.8909 60.986 57.139L52.5002 65.6248Z",
4130
- fill: "white"
4131
- }), /*#__PURE__*/jsxRuntime.jsx("path", {
4132
- d: "M26.25 26.25L45.9375 45.9375M26.25 26.25H13.125L8.75 13.125L13.125 8.75L26.25 13.125V26.25ZM84.2581 11.9919L72.7622 23.4878C71.0297 25.2203 70.1634 26.0866 69.8388 27.0855C69.5533 27.9642 69.5533 28.9108 69.8388 29.7895C70.1634 30.7884 71.0297 31.6547 72.7622 33.3872L73.8003 34.4253C75.5328 36.1578 76.3991 37.0241 77.398 37.3487C78.2767 37.6342 79.2233 37.6342 80.102 37.3487C81.1009 37.0241 81.9672 36.1578 83.6997 34.4253L94.4531 23.6719C95.6113 26.4901 96.25 29.5767 96.25 32.8125C96.25 46.1019 85.4768 56.875 72.1875 56.875C70.5853 56.875 69.0197 56.7184 67.5052 56.4197C65.3783 56.0003 64.3149 55.7905 63.6702 55.8548C62.9848 55.9231 62.647 56.0258 62.0397 56.3508C61.4685 56.6565 60.8955 57.2295 59.7495 58.3755L28.4375 89.6874C24.8131 93.3118 18.9369 93.3118 15.3125 89.6874C11.6881 86.0631 11.6881 80.1868 15.3125 76.5624L46.6245 45.2505C47.7705 44.1045 48.3435 43.5315 48.6492 42.9603C48.9742 42.353 49.0769 42.0152 49.1452 41.3298C49.2095 40.6851 48.9997 39.6217 48.5803 37.4948C48.2816 35.9803 48.125 34.4147 48.125 32.8125C48.125 19.5231 58.8981 8.75 72.1875 8.75C76.5866 8.75 80.7099 9.93048 84.2581 11.9919ZM52.5002 65.6248L76.5625 89.687C80.1868 93.3114 86.0631 93.3114 89.6874 89.687C93.3118 86.0627 93.3118 80.1864 89.6874 76.562L69.892 56.7669C68.4907 56.6343 67.1243 56.3815 65.8034 56.019C64.1013 55.5518 62.2341 55.8909 60.986 57.139L52.5002 65.6248Z",
4133
- stroke: "#AD8A47",
4134
- strokeWidth: "3.6",
4135
- strokeLinecap: "round",
4136
- strokeLinejoin: "round"
4137
- })]
4138
- })
4116
+ const config$2 = ({
4117
+ color = "black",
4118
+ currentColor
4119
+ } = {}) => {
4120
+ const strokeColor = currentColor || color;
4121
+ return {
4122
+ viewBox: "0 0 105 105",
4123
+ children: /*#__PURE__*/jsxRuntime.jsxs("svg", {
4124
+ width: "153",
4125
+ height: "116",
4126
+ viewBox: "0 0 153 116",
4127
+ fill: "none",
4128
+ xmlns: "http://www.w3.org/2000/svg",
4129
+ children: [/*#__PURE__*/jsxRuntime.jsx("g", {
4130
+ filter: "url(#filter0_f_60_283455)",
4131
+ children: /*#__PURE__*/jsxRuntime.jsx("ellipse", {
4132
+ cx: "76.2749",
4133
+ cy: "104.194",
4134
+ rx: "74.25",
4135
+ ry: "9.1125",
4136
+ fill: strokeColor,
4137
+ fillOpacity: "0.3"
4138
+ })
4139
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
4140
+ d: "M50.25 26.25L69.9375 45.9375L50.25 26.25Z",
4141
+ fill: "white"
4142
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
4143
+ d: "M37.125 8.75L50.25 13.125V26.25H37.125L32.75 13.125L37.125 8.75Z",
4144
+ fill: "white"
4145
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
4146
+ d: "M108.258 11.9919L96.7622 23.4878C95.0297 25.2203 94.1634 26.0866 93.8388 27.0856C93.5533 27.9642 93.5533 28.9108 93.8388 29.7894C94.1634 30.7884 95.0297 31.6547 96.7622 33.3872L97.8003 34.4253C99.5328 36.1578 100.399 37.0241 101.398 37.3487C102.277 37.6342 103.223 37.6342 104.102 37.3487C105.101 37.0241 105.967 36.1578 107.7 34.4253L118.453 23.6719C119.611 26.4901 120.25 29.5767 120.25 32.8125C120.25 46.1019 109.477 56.875 96.1875 56.875C94.5853 56.875 93.0197 56.7184 91.5052 56.4197C89.3783 56.0003 88.3149 55.7905 87.6702 55.8548C86.9848 55.923 86.647 56.0258 86.0397 56.3508C85.4685 56.6565 84.8955 57.2295 83.7495 58.3755L52.4375 89.6874C48.8131 93.3118 42.9369 93.3118 39.3125 89.6874C35.6881 86.0631 35.6881 80.1868 39.3125 76.5624L70.6245 45.2505C71.7705 44.1045 72.3435 43.5315 72.6492 42.9603C72.9742 42.353 73.077 42.0152 73.1452 41.3298C73.2095 40.6851 72.9997 39.6217 72.5803 37.4948C72.2816 35.9803 72.125 34.4147 72.125 32.8125C72.125 19.5231 82.8981 8.75 96.1875 8.75C100.587 8.75 104.71 9.93048 108.258 11.9919Z",
4147
+ fill: "white"
4148
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
4149
+ d: "M76.5002 65.6248L100.562 89.687C104.187 93.3114 110.063 93.3114 113.687 89.687C117.312 86.0627 117.312 80.1864 113.687 76.562L93.892 56.7669C92.4907 56.6343 91.1243 56.3815 89.8034 56.019C88.1013 55.5518 86.2341 55.8909 84.986 57.139L76.5002 65.6248Z",
4150
+ fill: "white"
4151
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
4152
+ d: "M50.25 26.25L69.9375 45.9375M50.25 26.25H37.125L32.75 13.125L37.125 8.75L50.25 13.125V26.25ZM108.258 11.9919L96.7622 23.4878C95.0297 25.2203 94.1634 26.0866 93.8388 27.0855C93.5533 27.9642 93.5533 28.9108 93.8388 29.7895C94.1634 30.7884 95.0297 31.6547 96.7622 33.3872L97.8003 34.4253C99.5328 36.1578 100.399 37.0241 101.398 37.3487C102.277 37.6342 103.223 37.6342 104.102 37.3487C105.101 37.0241 105.967 36.1578 107.7 34.4253L118.453 23.6719C119.611 26.4901 120.25 29.5767 120.25 32.8125C120.25 46.1019 109.477 56.875 96.1875 56.875C94.5853 56.875 93.0197 56.7184 91.5052 56.4197C89.3783 56.0003 88.3149 55.7905 87.6702 55.8548C86.9848 55.9231 86.647 56.0258 86.0397 56.3508C85.4685 56.6565 84.8955 57.2295 83.7495 58.3755L52.4375 89.6874C48.8131 93.3118 42.9369 93.3118 39.3125 89.6874C35.6881 86.0631 35.6881 80.1868 39.3125 76.5624L70.6245 45.2505C71.7705 44.1045 72.3435 43.5315 72.6492 42.9603C72.9742 42.353 73.0769 42.0152 73.1452 41.3298C73.2095 40.6851 72.9997 39.6217 72.5803 37.4948C72.2816 35.9803 72.125 34.4147 72.125 32.8125C72.125 19.5231 82.8981 8.75 96.1875 8.75C100.587 8.75 104.71 9.93048 108.258 11.9919ZM76.5002 65.6248L100.562 89.687C104.187 93.3114 110.063 93.3114 113.687 89.687C117.312 86.0627 117.312 80.1864 113.687 76.562L93.892 56.7669C92.4907 56.6343 91.1243 56.3815 89.8034 56.019C88.1013 55.5518 86.2341 55.8909 84.986 57.139L76.5002 65.6248Z",
4153
+ stroke: strokeColor,
4154
+ strokeWidth: "3.6",
4155
+ strokeLinecap: "round",
4156
+ strokeLinejoin: "round"
4157
+ }), /*#__PURE__*/jsxRuntime.jsx("defs", {
4158
+ children: /*#__PURE__*/jsxRuntime.jsxs("filter", {
4159
+ id: "filter0_f_60_283455",
4160
+ x: "-9.75132e-05",
4161
+ y: "93.0561",
4162
+ width: "152.55",
4163
+ height: "22.2751",
4164
+ filterUnits: "userSpaceOnUse",
4165
+ colorInterpolationFilters: "sRGB",
4166
+ children: [/*#__PURE__*/jsxRuntime.jsx("feFlood", {
4167
+ floodOpacity: "0",
4168
+ result: "BackgroundImageFix"
4169
+ }), /*#__PURE__*/jsxRuntime.jsx("feBlend", {
4170
+ mode: "normal",
4171
+ in: "SourceGraphic",
4172
+ in2: "BackgroundImageFix",
4173
+ result: "shape"
4174
+ }), /*#__PURE__*/jsxRuntime.jsx("feGaussianBlur", {
4175
+ stdDeviation: "1.0125",
4176
+ result: "effect1_foregroundBlur_60_283455"
4177
+ })]
4178
+ })
4179
+ })]
4180
+ })
4181
+ };
4139
4182
  };
4140
4183
 
4141
4184
  const config$1 = {
@@ -6751,7 +6794,7 @@ Timeframe.propTypes = {
6751
6794
  * @returns storage objects
6752
6795
  * @class StorageManager
6753
6796
  */
6754
- class StorageManager {
6797
+ class StorageManager$1 {
6755
6798
  /**
6756
6799
  * @description Set or update given value in localStorage
6757
6800
  * @static
@@ -6886,11 +6929,11 @@ class StorageManager {
6886
6929
  const isProxy = () => {
6887
6930
  const pathname = window.location.pathname;
6888
6931
  if (pathname.includes('/proxy/pme') || pathname.includes('/proxy/cadd')) {
6889
- return window.opener || !!StorageManager.get('proxy_token');
6932
+ return window.opener || !!StorageManager$1.get('proxy_token');
6890
6933
  }
6891
6934
  return false;
6892
6935
  };
6893
- const getToken = () => isProxy() ? StorageManager.get('proxy_token') : StorageManager.get('token');
6936
+ const getToken = () => isProxy() ? StorageManager$1.get('proxy_token') : StorageManager$1.get('token');
6894
6937
 
6895
6938
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
6896
6939
 
@@ -8317,7 +8360,7 @@ function AppLayout({
8317
8360
  color: 'white',
8318
8361
  height: '30px'
8319
8362
  },
8320
- defaultValue: StorageManager.get('datastakeLng') || 'en',
8363
+ defaultValue: StorageManager$1.get('datastakeLng') || 'en',
8321
8364
  bordered: false,
8322
8365
  onChange: lng => updateLanguage?.(lng),
8323
8366
  popupClassName: formatClassname(['dark-select-popup language-select', appName, theme.customHeaderColor && 'custom']),
@@ -8992,9 +9035,12 @@ const AuthNavbar = ({
8992
9035
  showBack = false,
8993
9036
  backLabel = "Back",
8994
9037
  onBack,
8995
- defaultValue = "en",
9038
+ defaultValue = StorageManager$1.get('datastakeLng') || 'en',
8996
9039
  onClose
8997
9040
  }) => {
9041
+ console.log({
9042
+ navbarDefaultValue: defaultValue
9043
+ });
8998
9044
  return /*#__PURE__*/jsxRuntime.jsx(style, {
8999
9045
  className: formatClassname([typeof onClose === 'function' && 'bordered']),
9000
9046
  children: /*#__PURE__*/jsxRuntime.jsx("div", {
@@ -9479,7 +9525,7 @@ const AuthLayout = ({
9479
9525
  showBack = false,
9480
9526
  onBack,
9481
9527
  backLabel = "Back",
9482
- defaultValue = "en"
9528
+ defaultValue = StorageManager.get('datastakeLng') || 'en'
9483
9529
  }) => {
9484
9530
  formatClassname(["auth-layout", appName, containerClassName]);
9485
9531
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
@@ -4111,29 +4111,72 @@ const config$4 = {
4111
4111
  })
4112
4112
  };
4113
4113
 
4114
- const config$3 = {
4115
- viewBox: "0 0 105 105",
4116
- children: /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
4117
- children: [/*#__PURE__*/jsxRuntime.jsx("path", {
4118
- d: "M26.25 26.25L45.9375 45.9375L26.25 26.25Z",
4119
- fill: "white"
4120
- }), /*#__PURE__*/jsxRuntime.jsx("path", {
4121
- d: "M13.125 8.75L26.25 13.125V26.25H13.125L8.75 13.125L13.125 8.75Z",
4122
- fill: "white"
4123
- }), /*#__PURE__*/jsxRuntime.jsx("path", {
4124
- d: "M84.2581 11.9919L72.7622 23.4878C71.0297 25.2203 70.1634 26.0866 69.8388 27.0856C69.5533 27.9642 69.5533 28.9108 69.8388 29.7894C70.1634 30.7884 71.0297 31.6547 72.7622 33.3872L73.8003 34.4253C75.5328 36.1578 76.3991 37.0241 77.398 37.3487C78.2767 37.6342 79.2233 37.6342 80.102 37.3487C81.1009 37.0241 81.9672 36.1578 83.6997 34.4253L94.4531 23.6719C95.6113 26.4901 96.25 29.5767 96.25 32.8125C96.25 46.1019 85.4768 56.875 72.1875 56.875C70.5853 56.875 69.0197 56.7184 67.5052 56.4197C65.3783 56.0003 64.3149 55.7905 63.6702 55.8548C62.9848 55.923 62.647 56.0258 62.0397 56.3508C61.4685 56.6565 60.8955 57.2295 59.7495 58.3755L28.4375 89.6874C24.8131 93.3118 18.9369 93.3118 15.3125 89.6874C11.6881 86.0631 11.6881 80.1868 15.3125 76.5624L46.6245 45.2505C47.7705 44.1045 48.3435 43.5315 48.6492 42.9603C48.9742 42.353 49.077 42.0152 49.1452 41.3298C49.2095 40.6851 48.9997 39.6217 48.5803 37.4948C48.2816 35.9803 48.125 34.4147 48.125 32.8125C48.125 19.5231 58.8981 8.75 72.1875 8.75C76.5866 8.75 80.7099 9.93048 84.2581 11.9919Z",
4125
- fill: "white"
4126
- }), /*#__PURE__*/jsxRuntime.jsx("path", {
4127
- d: "M52.5002 65.6248L76.5625 89.687C80.1868 93.3114 86.0631 93.3114 89.6874 89.687C93.3118 86.0627 93.3118 80.1864 89.6874 76.562L69.892 56.7669C68.4907 56.6343 67.1243 56.3815 65.8034 56.019C64.1013 55.5518 62.2341 55.8909 60.986 57.139L52.5002 65.6248Z",
4128
- fill: "white"
4129
- }), /*#__PURE__*/jsxRuntime.jsx("path", {
4130
- d: "M26.25 26.25L45.9375 45.9375M26.25 26.25H13.125L8.75 13.125L13.125 8.75L26.25 13.125V26.25ZM84.2581 11.9919L72.7622 23.4878C71.0297 25.2203 70.1634 26.0866 69.8388 27.0855C69.5533 27.9642 69.5533 28.9108 69.8388 29.7895C70.1634 30.7884 71.0297 31.6547 72.7622 33.3872L73.8003 34.4253C75.5328 36.1578 76.3991 37.0241 77.398 37.3487C78.2767 37.6342 79.2233 37.6342 80.102 37.3487C81.1009 37.0241 81.9672 36.1578 83.6997 34.4253L94.4531 23.6719C95.6113 26.4901 96.25 29.5767 96.25 32.8125C96.25 46.1019 85.4768 56.875 72.1875 56.875C70.5853 56.875 69.0197 56.7184 67.5052 56.4197C65.3783 56.0003 64.3149 55.7905 63.6702 55.8548C62.9848 55.9231 62.647 56.0258 62.0397 56.3508C61.4685 56.6565 60.8955 57.2295 59.7495 58.3755L28.4375 89.6874C24.8131 93.3118 18.9369 93.3118 15.3125 89.6874C11.6881 86.0631 11.6881 80.1868 15.3125 76.5624L46.6245 45.2505C47.7705 44.1045 48.3435 43.5315 48.6492 42.9603C48.9742 42.353 49.0769 42.0152 49.1452 41.3298C49.2095 40.6851 48.9997 39.6217 48.5803 37.4948C48.2816 35.9803 48.125 34.4147 48.125 32.8125C48.125 19.5231 58.8981 8.75 72.1875 8.75C76.5866 8.75 80.7099 9.93048 84.2581 11.9919ZM52.5002 65.6248L76.5625 89.687C80.1868 93.3114 86.0631 93.3114 89.6874 89.687C93.3118 86.0627 93.3118 80.1864 89.6874 76.562L69.892 56.7669C68.4907 56.6343 67.1243 56.3815 65.8034 56.019C64.1013 55.5518 62.2341 55.8909 60.986 57.139L52.5002 65.6248Z",
4131
- stroke: "#AD8A47",
4132
- strokeWidth: "3.6",
4133
- strokeLinecap: "round",
4134
- strokeLinejoin: "round"
4135
- })]
4136
- })
4114
+ const config$3 = ({
4115
+ color = "black",
4116
+ currentColor
4117
+ } = {}) => {
4118
+ const strokeColor = currentColor || color;
4119
+ return {
4120
+ viewBox: "0 0 105 105",
4121
+ children: /*#__PURE__*/jsxRuntime.jsxs("svg", {
4122
+ width: "153",
4123
+ height: "116",
4124
+ viewBox: "0 0 153 116",
4125
+ fill: "none",
4126
+ xmlns: "http://www.w3.org/2000/svg",
4127
+ children: [/*#__PURE__*/jsxRuntime.jsx("g", {
4128
+ filter: "url(#filter0_f_60_283455)",
4129
+ children: /*#__PURE__*/jsxRuntime.jsx("ellipse", {
4130
+ cx: "76.2749",
4131
+ cy: "104.194",
4132
+ rx: "74.25",
4133
+ ry: "9.1125",
4134
+ fill: strokeColor,
4135
+ fillOpacity: "0.3"
4136
+ })
4137
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
4138
+ d: "M50.25 26.25L69.9375 45.9375L50.25 26.25Z",
4139
+ fill: "white"
4140
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
4141
+ d: "M37.125 8.75L50.25 13.125V26.25H37.125L32.75 13.125L37.125 8.75Z",
4142
+ fill: "white"
4143
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
4144
+ d: "M108.258 11.9919L96.7622 23.4878C95.0297 25.2203 94.1634 26.0866 93.8388 27.0856C93.5533 27.9642 93.5533 28.9108 93.8388 29.7894C94.1634 30.7884 95.0297 31.6547 96.7622 33.3872L97.8003 34.4253C99.5328 36.1578 100.399 37.0241 101.398 37.3487C102.277 37.6342 103.223 37.6342 104.102 37.3487C105.101 37.0241 105.967 36.1578 107.7 34.4253L118.453 23.6719C119.611 26.4901 120.25 29.5767 120.25 32.8125C120.25 46.1019 109.477 56.875 96.1875 56.875C94.5853 56.875 93.0197 56.7184 91.5052 56.4197C89.3783 56.0003 88.3149 55.7905 87.6702 55.8548C86.9848 55.923 86.647 56.0258 86.0397 56.3508C85.4685 56.6565 84.8955 57.2295 83.7495 58.3755L52.4375 89.6874C48.8131 93.3118 42.9369 93.3118 39.3125 89.6874C35.6881 86.0631 35.6881 80.1868 39.3125 76.5624L70.6245 45.2505C71.7705 44.1045 72.3435 43.5315 72.6492 42.9603C72.9742 42.353 73.077 42.0152 73.1452 41.3298C73.2095 40.6851 72.9997 39.6217 72.5803 37.4948C72.2816 35.9803 72.125 34.4147 72.125 32.8125C72.125 19.5231 82.8981 8.75 96.1875 8.75C100.587 8.75 104.71 9.93048 108.258 11.9919Z",
4145
+ fill: "white"
4146
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
4147
+ d: "M76.5002 65.6248L100.562 89.687C104.187 93.3114 110.063 93.3114 113.687 89.687C117.312 86.0627 117.312 80.1864 113.687 76.562L93.892 56.7669C92.4907 56.6343 91.1243 56.3815 89.8034 56.019C88.1013 55.5518 86.2341 55.8909 84.986 57.139L76.5002 65.6248Z",
4148
+ fill: "white"
4149
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
4150
+ d: "M50.25 26.25L69.9375 45.9375M50.25 26.25H37.125L32.75 13.125L37.125 8.75L50.25 13.125V26.25ZM108.258 11.9919L96.7622 23.4878C95.0297 25.2203 94.1634 26.0866 93.8388 27.0855C93.5533 27.9642 93.5533 28.9108 93.8388 29.7895C94.1634 30.7884 95.0297 31.6547 96.7622 33.3872L97.8003 34.4253C99.5328 36.1578 100.399 37.0241 101.398 37.3487C102.277 37.6342 103.223 37.6342 104.102 37.3487C105.101 37.0241 105.967 36.1578 107.7 34.4253L118.453 23.6719C119.611 26.4901 120.25 29.5767 120.25 32.8125C120.25 46.1019 109.477 56.875 96.1875 56.875C94.5853 56.875 93.0197 56.7184 91.5052 56.4197C89.3783 56.0003 88.3149 55.7905 87.6702 55.8548C86.9848 55.9231 86.647 56.0258 86.0397 56.3508C85.4685 56.6565 84.8955 57.2295 83.7495 58.3755L52.4375 89.6874C48.8131 93.3118 42.9369 93.3118 39.3125 89.6874C35.6881 86.0631 35.6881 80.1868 39.3125 76.5624L70.6245 45.2505C71.7705 44.1045 72.3435 43.5315 72.6492 42.9603C72.9742 42.353 73.0769 42.0152 73.1452 41.3298C73.2095 40.6851 72.9997 39.6217 72.5803 37.4948C72.2816 35.9803 72.125 34.4147 72.125 32.8125C72.125 19.5231 82.8981 8.75 96.1875 8.75C100.587 8.75 104.71 9.93048 108.258 11.9919ZM76.5002 65.6248L100.562 89.687C104.187 93.3114 110.063 93.3114 113.687 89.687C117.312 86.0627 117.312 80.1864 113.687 76.562L93.892 56.7669C92.4907 56.6343 91.1243 56.3815 89.8034 56.019C88.1013 55.5518 86.2341 55.8909 84.986 57.139L76.5002 65.6248Z",
4151
+ stroke: strokeColor,
4152
+ strokeWidth: "3.6",
4153
+ strokeLinecap: "round",
4154
+ strokeLinejoin: "round"
4155
+ }), /*#__PURE__*/jsxRuntime.jsx("defs", {
4156
+ children: /*#__PURE__*/jsxRuntime.jsxs("filter", {
4157
+ id: "filter0_f_60_283455",
4158
+ x: "-9.75132e-05",
4159
+ y: "93.0561",
4160
+ width: "152.55",
4161
+ height: "22.2751",
4162
+ filterUnits: "userSpaceOnUse",
4163
+ colorInterpolationFilters: "sRGB",
4164
+ children: [/*#__PURE__*/jsxRuntime.jsx("feFlood", {
4165
+ floodOpacity: "0",
4166
+ result: "BackgroundImageFix"
4167
+ }), /*#__PURE__*/jsxRuntime.jsx("feBlend", {
4168
+ mode: "normal",
4169
+ in: "SourceGraphic",
4170
+ in2: "BackgroundImageFix",
4171
+ result: "shape"
4172
+ }), /*#__PURE__*/jsxRuntime.jsx("feGaussianBlur", {
4173
+ stdDeviation: "1.0125",
4174
+ result: "effect1_foregroundBlur_60_283455"
4175
+ })]
4176
+ })
4177
+ })]
4178
+ })
4179
+ };
4137
4180
  };
4138
4181
 
4139
4182
  const config$2 = {
@@ -5943,12 +5986,9 @@ class BaseHTTPService {
5943
5986
  this._axiosInitialized = false;
5944
5987
  }
5945
5988
  _ensureAxiosInitialized() {
5946
- console.log('[BaseHTTPService] Checking axios initialization:', this._axiosInitialized);
5947
5989
  if (!this._axiosInitialized) {
5948
- console.log('[BaseHTTPService] Setting up axios...');
5949
5990
  this.setupAxios();
5950
5991
  this._axiosInitialized = true;
5951
- console.log('[BaseHTTPService] Axios setup complete!');
5952
5992
  }
5953
5993
  }
5954
5994
  setupAxios() {
@@ -6273,7 +6313,7 @@ class BaseService extends BaseHTTPService {
6273
6313
  getHeaders: () => {
6274
6314
  const config = getServicesConfig();
6275
6315
  return {
6276
- Language: config.language || StorageManager.get('datastakeLng') || 'en',
6316
+ Language: StorageManager.get('datastakeLng') || 'en',
6277
6317
  'ngrok-skip-browser-warning': true,
6278
6318
  Application: config.application
6279
6319
  };
@@ -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
  }
@@ -4426,29 +4426,72 @@ const config$3 = {
4426
4426
  })
4427
4427
  };
4428
4428
 
4429
- const config$2 = {
4430
- viewBox: "0 0 105 105",
4431
- children: /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
4432
- children: [/*#__PURE__*/jsxRuntime.jsx("path", {
4433
- d: "M26.25 26.25L45.9375 45.9375L26.25 26.25Z",
4434
- fill: "white"
4435
- }), /*#__PURE__*/jsxRuntime.jsx("path", {
4436
- d: "M13.125 8.75L26.25 13.125V26.25H13.125L8.75 13.125L13.125 8.75Z",
4437
- fill: "white"
4438
- }), /*#__PURE__*/jsxRuntime.jsx("path", {
4439
- d: "M84.2581 11.9919L72.7622 23.4878C71.0297 25.2203 70.1634 26.0866 69.8388 27.0856C69.5533 27.9642 69.5533 28.9108 69.8388 29.7894C70.1634 30.7884 71.0297 31.6547 72.7622 33.3872L73.8003 34.4253C75.5328 36.1578 76.3991 37.0241 77.398 37.3487C78.2767 37.6342 79.2233 37.6342 80.102 37.3487C81.1009 37.0241 81.9672 36.1578 83.6997 34.4253L94.4531 23.6719C95.6113 26.4901 96.25 29.5767 96.25 32.8125C96.25 46.1019 85.4768 56.875 72.1875 56.875C70.5853 56.875 69.0197 56.7184 67.5052 56.4197C65.3783 56.0003 64.3149 55.7905 63.6702 55.8548C62.9848 55.923 62.647 56.0258 62.0397 56.3508C61.4685 56.6565 60.8955 57.2295 59.7495 58.3755L28.4375 89.6874C24.8131 93.3118 18.9369 93.3118 15.3125 89.6874C11.6881 86.0631 11.6881 80.1868 15.3125 76.5624L46.6245 45.2505C47.7705 44.1045 48.3435 43.5315 48.6492 42.9603C48.9742 42.353 49.077 42.0152 49.1452 41.3298C49.2095 40.6851 48.9997 39.6217 48.5803 37.4948C48.2816 35.9803 48.125 34.4147 48.125 32.8125C48.125 19.5231 58.8981 8.75 72.1875 8.75C76.5866 8.75 80.7099 9.93048 84.2581 11.9919Z",
4440
- fill: "white"
4441
- }), /*#__PURE__*/jsxRuntime.jsx("path", {
4442
- d: "M52.5002 65.6248L76.5625 89.687C80.1868 93.3114 86.0631 93.3114 89.6874 89.687C93.3118 86.0627 93.3118 80.1864 89.6874 76.562L69.892 56.7669C68.4907 56.6343 67.1243 56.3815 65.8034 56.019C64.1013 55.5518 62.2341 55.8909 60.986 57.139L52.5002 65.6248Z",
4443
- fill: "white"
4444
- }), /*#__PURE__*/jsxRuntime.jsx("path", {
4445
- d: "M26.25 26.25L45.9375 45.9375M26.25 26.25H13.125L8.75 13.125L13.125 8.75L26.25 13.125V26.25ZM84.2581 11.9919L72.7622 23.4878C71.0297 25.2203 70.1634 26.0866 69.8388 27.0855C69.5533 27.9642 69.5533 28.9108 69.8388 29.7895C70.1634 30.7884 71.0297 31.6547 72.7622 33.3872L73.8003 34.4253C75.5328 36.1578 76.3991 37.0241 77.398 37.3487C78.2767 37.6342 79.2233 37.6342 80.102 37.3487C81.1009 37.0241 81.9672 36.1578 83.6997 34.4253L94.4531 23.6719C95.6113 26.4901 96.25 29.5767 96.25 32.8125C96.25 46.1019 85.4768 56.875 72.1875 56.875C70.5853 56.875 69.0197 56.7184 67.5052 56.4197C65.3783 56.0003 64.3149 55.7905 63.6702 55.8548C62.9848 55.9231 62.647 56.0258 62.0397 56.3508C61.4685 56.6565 60.8955 57.2295 59.7495 58.3755L28.4375 89.6874C24.8131 93.3118 18.9369 93.3118 15.3125 89.6874C11.6881 86.0631 11.6881 80.1868 15.3125 76.5624L46.6245 45.2505C47.7705 44.1045 48.3435 43.5315 48.6492 42.9603C48.9742 42.353 49.0769 42.0152 49.1452 41.3298C49.2095 40.6851 48.9997 39.6217 48.5803 37.4948C48.2816 35.9803 48.125 34.4147 48.125 32.8125C48.125 19.5231 58.8981 8.75 72.1875 8.75C76.5866 8.75 80.7099 9.93048 84.2581 11.9919ZM52.5002 65.6248L76.5625 89.687C80.1868 93.3114 86.0631 93.3114 89.6874 89.687C93.3118 86.0627 93.3118 80.1864 89.6874 76.562L69.892 56.7669C68.4907 56.6343 67.1243 56.3815 65.8034 56.019C64.1013 55.5518 62.2341 55.8909 60.986 57.139L52.5002 65.6248Z",
4446
- stroke: "#AD8A47",
4447
- strokeWidth: "3.6",
4448
- strokeLinecap: "round",
4449
- strokeLinejoin: "round"
4450
- })]
4451
- })
4429
+ const config$2 = ({
4430
+ color = "black",
4431
+ currentColor
4432
+ } = {}) => {
4433
+ const strokeColor = currentColor || color;
4434
+ return {
4435
+ viewBox: "0 0 105 105",
4436
+ children: /*#__PURE__*/jsxRuntime.jsxs("svg", {
4437
+ width: "153",
4438
+ height: "116",
4439
+ viewBox: "0 0 153 116",
4440
+ fill: "none",
4441
+ xmlns: "http://www.w3.org/2000/svg",
4442
+ children: [/*#__PURE__*/jsxRuntime.jsx("g", {
4443
+ filter: "url(#filter0_f_60_283455)",
4444
+ children: /*#__PURE__*/jsxRuntime.jsx("ellipse", {
4445
+ cx: "76.2749",
4446
+ cy: "104.194",
4447
+ rx: "74.25",
4448
+ ry: "9.1125",
4449
+ fill: strokeColor,
4450
+ fillOpacity: "0.3"
4451
+ })
4452
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
4453
+ d: "M50.25 26.25L69.9375 45.9375L50.25 26.25Z",
4454
+ fill: "white"
4455
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
4456
+ d: "M37.125 8.75L50.25 13.125V26.25H37.125L32.75 13.125L37.125 8.75Z",
4457
+ fill: "white"
4458
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
4459
+ d: "M108.258 11.9919L96.7622 23.4878C95.0297 25.2203 94.1634 26.0866 93.8388 27.0856C93.5533 27.9642 93.5533 28.9108 93.8388 29.7894C94.1634 30.7884 95.0297 31.6547 96.7622 33.3872L97.8003 34.4253C99.5328 36.1578 100.399 37.0241 101.398 37.3487C102.277 37.6342 103.223 37.6342 104.102 37.3487C105.101 37.0241 105.967 36.1578 107.7 34.4253L118.453 23.6719C119.611 26.4901 120.25 29.5767 120.25 32.8125C120.25 46.1019 109.477 56.875 96.1875 56.875C94.5853 56.875 93.0197 56.7184 91.5052 56.4197C89.3783 56.0003 88.3149 55.7905 87.6702 55.8548C86.9848 55.923 86.647 56.0258 86.0397 56.3508C85.4685 56.6565 84.8955 57.2295 83.7495 58.3755L52.4375 89.6874C48.8131 93.3118 42.9369 93.3118 39.3125 89.6874C35.6881 86.0631 35.6881 80.1868 39.3125 76.5624L70.6245 45.2505C71.7705 44.1045 72.3435 43.5315 72.6492 42.9603C72.9742 42.353 73.077 42.0152 73.1452 41.3298C73.2095 40.6851 72.9997 39.6217 72.5803 37.4948C72.2816 35.9803 72.125 34.4147 72.125 32.8125C72.125 19.5231 82.8981 8.75 96.1875 8.75C100.587 8.75 104.71 9.93048 108.258 11.9919Z",
4460
+ fill: "white"
4461
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
4462
+ d: "M76.5002 65.6248L100.562 89.687C104.187 93.3114 110.063 93.3114 113.687 89.687C117.312 86.0627 117.312 80.1864 113.687 76.562L93.892 56.7669C92.4907 56.6343 91.1243 56.3815 89.8034 56.019C88.1013 55.5518 86.2341 55.8909 84.986 57.139L76.5002 65.6248Z",
4463
+ fill: "white"
4464
+ }), /*#__PURE__*/jsxRuntime.jsx("path", {
4465
+ d: "M50.25 26.25L69.9375 45.9375M50.25 26.25H37.125L32.75 13.125L37.125 8.75L50.25 13.125V26.25ZM108.258 11.9919L96.7622 23.4878C95.0297 25.2203 94.1634 26.0866 93.8388 27.0855C93.5533 27.9642 93.5533 28.9108 93.8388 29.7895C94.1634 30.7884 95.0297 31.6547 96.7622 33.3872L97.8003 34.4253C99.5328 36.1578 100.399 37.0241 101.398 37.3487C102.277 37.6342 103.223 37.6342 104.102 37.3487C105.101 37.0241 105.967 36.1578 107.7 34.4253L118.453 23.6719C119.611 26.4901 120.25 29.5767 120.25 32.8125C120.25 46.1019 109.477 56.875 96.1875 56.875C94.5853 56.875 93.0197 56.7184 91.5052 56.4197C89.3783 56.0003 88.3149 55.7905 87.6702 55.8548C86.9848 55.9231 86.647 56.0258 86.0397 56.3508C85.4685 56.6565 84.8955 57.2295 83.7495 58.3755L52.4375 89.6874C48.8131 93.3118 42.9369 93.3118 39.3125 89.6874C35.6881 86.0631 35.6881 80.1868 39.3125 76.5624L70.6245 45.2505C71.7705 44.1045 72.3435 43.5315 72.6492 42.9603C72.9742 42.353 73.0769 42.0152 73.1452 41.3298C73.2095 40.6851 72.9997 39.6217 72.5803 37.4948C72.2816 35.9803 72.125 34.4147 72.125 32.8125C72.125 19.5231 82.8981 8.75 96.1875 8.75C100.587 8.75 104.71 9.93048 108.258 11.9919ZM76.5002 65.6248L100.562 89.687C104.187 93.3114 110.063 93.3114 113.687 89.687C117.312 86.0627 117.312 80.1864 113.687 76.562L93.892 56.7669C92.4907 56.6343 91.1243 56.3815 89.8034 56.019C88.1013 55.5518 86.2341 55.8909 84.986 57.139L76.5002 65.6248Z",
4466
+ stroke: strokeColor,
4467
+ strokeWidth: "3.6",
4468
+ strokeLinecap: "round",
4469
+ strokeLinejoin: "round"
4470
+ }), /*#__PURE__*/jsxRuntime.jsx("defs", {
4471
+ children: /*#__PURE__*/jsxRuntime.jsxs("filter", {
4472
+ id: "filter0_f_60_283455",
4473
+ x: "-9.75132e-05",
4474
+ y: "93.0561",
4475
+ width: "152.55",
4476
+ height: "22.2751",
4477
+ filterUnits: "userSpaceOnUse",
4478
+ colorInterpolationFilters: "sRGB",
4479
+ children: [/*#__PURE__*/jsxRuntime.jsx("feFlood", {
4480
+ floodOpacity: "0",
4481
+ result: "BackgroundImageFix"
4482
+ }), /*#__PURE__*/jsxRuntime.jsx("feBlend", {
4483
+ mode: "normal",
4484
+ in: "SourceGraphic",
4485
+ in2: "BackgroundImageFix",
4486
+ result: "shape"
4487
+ }), /*#__PURE__*/jsxRuntime.jsx("feGaussianBlur", {
4488
+ stdDeviation: "1.0125",
4489
+ result: "effect1_foregroundBlur_60_283455"
4490
+ })]
4491
+ })
4492
+ })]
4493
+ })
4494
+ };
4452
4495
  };
4453
4496
 
4454
4497
  const config$1 = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastake-daf",
3
- "version": "0.6.715",
3
+ "version": "0.6.717",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.2.5",
6
6
  "@antv/g2": "^5.1.1",
@@ -0,0 +1,7 @@
1
+ <svg width="105" height="105" viewBox="0 0 105 105" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M26.25 26.25L45.9375 45.9375L26.25 26.25Z" fill="white"/>
3
+ <path d="M13.125 8.75L26.25 13.125V26.25H13.125L8.75 13.125L13.125 8.75Z" fill="white"/>
4
+ <path d="M84.2581 11.9919L72.7622 23.4878C71.0297 25.2203 70.1634 26.0866 69.8388 27.0856C69.5533 27.9642 69.5533 28.9108 69.8388 29.7894C70.1634 30.7884 71.0297 31.6547 72.7622 33.3872L73.8003 34.4253C75.5328 36.1578 76.3991 37.0241 77.398 37.3487C78.2767 37.6342 79.2233 37.6342 80.102 37.3487C81.1009 37.0241 81.9672 36.1578 83.6997 34.4253L94.4531 23.6719C95.6113 26.4901 96.25 29.5767 96.25 32.8125C96.25 46.1019 85.4768 56.875 72.1875 56.875C70.5853 56.875 69.0197 56.7184 67.5052 56.4197C65.3783 56.0003 64.3149 55.7905 63.6702 55.8548C62.9848 55.923 62.647 56.0258 62.0397 56.3508C61.4685 56.6565 60.8955 57.2295 59.7495 58.3755L28.4375 89.6874C24.8131 93.3118 18.9369 93.3118 15.3125 89.6874C11.6881 86.0631 11.6881 80.1868 15.3125 76.5624L46.6245 45.2505C47.7705 44.1045 48.3435 43.5315 48.6492 42.9603C48.9742 42.353 49.077 42.0152 49.1452 41.3298C49.2095 40.6851 48.9997 39.6217 48.5803 37.4948C48.2816 35.9803 48.125 34.4147 48.125 32.8125C48.125 19.5231 58.8981 8.75 72.1875 8.75C76.5866 8.75 80.7099 9.93048 84.2581 11.9919Z" fill="white"/>
5
+ <path d="M52.5002 65.6248L76.5625 89.687C80.1868 93.3114 86.0631 93.3114 89.6874 89.687C93.3118 86.0627 93.3118 80.1864 89.6874 76.562L69.892 56.7669C68.4907 56.6343 67.1243 56.3815 65.8034 56.019C64.1013 55.5518 62.2341 55.8909 60.986 57.139L52.5002 65.6248Z" fill="white"/>
6
+ <path d="M26.25 26.25L45.9375 45.9375M26.25 26.25H13.125L8.75 13.125L13.125 8.75L26.25 13.125V26.25ZM84.2581 11.9919L72.7622 23.4878C71.0297 25.2203 70.1634 26.0866 69.8388 27.0855C69.5533 27.9642 69.5533 28.9108 69.8388 29.7895C70.1634 30.7884 71.0297 31.6547 72.7622 33.3872L73.8003 34.4253C75.5328 36.1578 76.3991 37.0241 77.398 37.3487C78.2767 37.6342 79.2233 37.6342 80.102 37.3487C81.1009 37.0241 81.9672 36.1578 83.6997 34.4253L94.4531 23.6719C95.6113 26.4901 96.25 29.5767 96.25 32.8125C96.25 46.1019 85.4768 56.875 72.1875 56.875C70.5853 56.875 69.0197 56.7184 67.5052 56.4197C65.3783 56.0003 64.3149 55.7905 63.6702 55.8548C62.9848 55.9231 62.647 56.0258 62.0397 56.3508C61.4685 56.6565 60.8955 57.2295 59.7495 58.3755L28.4375 89.6874C24.8131 93.3118 18.9369 93.3118 15.3125 89.6874C11.6881 86.0631 11.6881 80.1868 15.3125 76.5624L46.6245 45.2505C47.7705 44.1045 48.3435 43.5315 48.6492 42.9603C48.9742 42.353 49.0769 42.0152 49.1452 41.3298C49.2095 40.6851 48.9997 39.6217 48.5803 37.4948C48.2816 35.9803 48.125 34.4147 48.125 32.8125C48.125 19.5231 58.8981 8.75 72.1875 8.75C76.5866 8.75 80.7099 9.93048 84.2581 11.9919ZM52.5002 65.6248L76.5625 89.687C80.1868 93.3114 86.0631 93.3114 89.6874 89.687C93.3118 86.0627 93.3118 80.1864 89.6874 76.562L69.892 56.7669C68.4907 56.6343 67.1243 56.3815 65.8034 56.019C64.1013 55.5518 62.2341 55.8909 60.986 57.139L52.5002 65.6248Z" stroke="#AD8A47" stroke-width="3.6" stroke-linecap="round" stroke-linejoin="round"/>
7
+ </svg>
@@ -55,7 +55,13 @@ function AuthForm ({
55
55
  }
56
56
  };
57
57
 
58
- const prev = () => setCurrentStep((prev) => prev - 1);
58
+ const prev = () => {
59
+ // Save current step's values before going back (without validation)
60
+ const fieldNames = currentFields.map((f) => f.name);
61
+ const currentValues = formInstance.getFieldsValue(fieldNames);
62
+ setAllFormValues((prev) => ({ ...prev, ...currentValues }));
63
+ setCurrentStep((prev) => prev - 1);
64
+ };
59
65
 
60
66
  const handleSubmit = async (values) => {
61
67
  try {
@@ -1,13 +1,28 @@
1
- const config = {
2
- viewBox: "0 0 105 105",
3
- children: (
4
- <>
5
- <path d="M26.25 26.25L45.9375 45.9375L26.25 26.25Z" fill="white"/>
6
- <path d="M13.125 8.75L26.25 13.125V26.25H13.125L8.75 13.125L13.125 8.75Z" fill="white"/>
7
- <path d="M84.2581 11.9919L72.7622 23.4878C71.0297 25.2203 70.1634 26.0866 69.8388 27.0856C69.5533 27.9642 69.5533 28.9108 69.8388 29.7894C70.1634 30.7884 71.0297 31.6547 72.7622 33.3872L73.8003 34.4253C75.5328 36.1578 76.3991 37.0241 77.398 37.3487C78.2767 37.6342 79.2233 37.6342 80.102 37.3487C81.1009 37.0241 81.9672 36.1578 83.6997 34.4253L94.4531 23.6719C95.6113 26.4901 96.25 29.5767 96.25 32.8125C96.25 46.1019 85.4768 56.875 72.1875 56.875C70.5853 56.875 69.0197 56.7184 67.5052 56.4197C65.3783 56.0003 64.3149 55.7905 63.6702 55.8548C62.9848 55.923 62.647 56.0258 62.0397 56.3508C61.4685 56.6565 60.8955 57.2295 59.7495 58.3755L28.4375 89.6874C24.8131 93.3118 18.9369 93.3118 15.3125 89.6874C11.6881 86.0631 11.6881 80.1868 15.3125 76.5624L46.6245 45.2505C47.7705 44.1045 48.3435 43.5315 48.6492 42.9603C48.9742 42.353 49.077 42.0152 49.1452 41.3298C49.2095 40.6851 48.9997 39.6217 48.5803 37.4948C48.2816 35.9803 48.125 34.4147 48.125 32.8125C48.125 19.5231 58.8981 8.75 72.1875 8.75C76.5866 8.75 80.7099 9.93048 84.2581 11.9919Z" fill="white"/>
8
- <path d="M52.5002 65.6248L76.5625 89.687C80.1868 93.3114 86.0631 93.3114 89.6874 89.687C93.3118 86.0627 93.3118 80.1864 89.6874 76.562L69.892 56.7669C68.4907 56.6343 67.1243 56.3815 65.8034 56.019C64.1013 55.5518 62.2341 55.8909 60.986 57.139L52.5002 65.6248Z" fill="white"/>
9
- <path d="M26.25 26.25L45.9375 45.9375M26.25 26.25H13.125L8.75 13.125L13.125 8.75L26.25 13.125V26.25ZM84.2581 11.9919L72.7622 23.4878C71.0297 25.2203 70.1634 26.0866 69.8388 27.0855C69.5533 27.9642 69.5533 28.9108 69.8388 29.7895C70.1634 30.7884 71.0297 31.6547 72.7622 33.3872L73.8003 34.4253C75.5328 36.1578 76.3991 37.0241 77.398 37.3487C78.2767 37.6342 79.2233 37.6342 80.102 37.3487C81.1009 37.0241 81.9672 36.1578 83.6997 34.4253L94.4531 23.6719C95.6113 26.4901 96.25 29.5767 96.25 32.8125C96.25 46.1019 85.4768 56.875 72.1875 56.875C70.5853 56.875 69.0197 56.7184 67.5052 56.4197C65.3783 56.0003 64.3149 55.7905 63.6702 55.8548C62.9848 55.9231 62.647 56.0258 62.0397 56.3508C61.4685 56.6565 60.8955 57.2295 59.7495 58.3755L28.4375 89.6874C24.8131 93.3118 18.9369 93.3118 15.3125 89.6874C11.6881 86.0631 11.6881 80.1868 15.3125 76.5624L46.6245 45.2505C47.7705 44.1045 48.3435 43.5315 48.6492 42.9603C48.9742 42.353 49.0769 42.0152 49.1452 41.3298C49.2095 40.6851 48.9997 39.6217 48.5803 37.4948C48.2816 35.9803 48.125 34.4147 48.125 32.8125C48.125 19.5231 58.8981 8.75 72.1875 8.75C76.5866 8.75 80.7099 9.93048 84.2581 11.9919ZM52.5002 65.6248L76.5625 89.687C80.1868 93.3114 86.0631 93.3114 89.6874 89.687C93.3118 86.0627 93.3118 80.1864 89.6874 76.562L69.892 56.7669C68.4907 56.6343 67.1243 56.3815 65.8034 56.019C64.1013 55.5518 62.2341 55.8909 60.986 57.139L52.5002 65.6248Z" stroke="#AD8A47" strokeWidth="3.6" strokeLinecap="round" strokeLinejoin="round"/>
10
- </>
11
- )
1
+ const config = ({ color = "black", currentColor } = {}) => {
2
+ const strokeColor = currentColor || color;
3
+
4
+ return {
5
+ viewBox: "0 0 105 105",
6
+ children: (
7
+ <svg width="153" height="116" viewBox="0 0 153 116" fill="none" xmlns="http://www.w3.org/2000/svg">
8
+ <g filter="url(#filter0_f_60_283455)">
9
+ <ellipse cx="76.2749" cy="104.194" rx="74.25" ry="9.1125" fill={strokeColor} fillOpacity="0.3"/>
10
+ </g>
11
+ <path d="M50.25 26.25L69.9375 45.9375L50.25 26.25Z" fill="white"/>
12
+ <path d="M37.125 8.75L50.25 13.125V26.25H37.125L32.75 13.125L37.125 8.75Z" fill="white"/>
13
+ <path d="M108.258 11.9919L96.7622 23.4878C95.0297 25.2203 94.1634 26.0866 93.8388 27.0856C93.5533 27.9642 93.5533 28.9108 93.8388 29.7894C94.1634 30.7884 95.0297 31.6547 96.7622 33.3872L97.8003 34.4253C99.5328 36.1578 100.399 37.0241 101.398 37.3487C102.277 37.6342 103.223 37.6342 104.102 37.3487C105.101 37.0241 105.967 36.1578 107.7 34.4253L118.453 23.6719C119.611 26.4901 120.25 29.5767 120.25 32.8125C120.25 46.1019 109.477 56.875 96.1875 56.875C94.5853 56.875 93.0197 56.7184 91.5052 56.4197C89.3783 56.0003 88.3149 55.7905 87.6702 55.8548C86.9848 55.923 86.647 56.0258 86.0397 56.3508C85.4685 56.6565 84.8955 57.2295 83.7495 58.3755L52.4375 89.6874C48.8131 93.3118 42.9369 93.3118 39.3125 89.6874C35.6881 86.0631 35.6881 80.1868 39.3125 76.5624L70.6245 45.2505C71.7705 44.1045 72.3435 43.5315 72.6492 42.9603C72.9742 42.353 73.077 42.0152 73.1452 41.3298C73.2095 40.6851 72.9997 39.6217 72.5803 37.4948C72.2816 35.9803 72.125 34.4147 72.125 32.8125C72.125 19.5231 82.8981 8.75 96.1875 8.75C100.587 8.75 104.71 9.93048 108.258 11.9919Z" fill="white"/>
14
+ <path d="M76.5002 65.6248L100.562 89.687C104.187 93.3114 110.063 93.3114 113.687 89.687C117.312 86.0627 117.312 80.1864 113.687 76.562L93.892 56.7669C92.4907 56.6343 91.1243 56.3815 89.8034 56.019C88.1013 55.5518 86.2341 55.8909 84.986 57.139L76.5002 65.6248Z" fill="white"/>
15
+ <path d="M50.25 26.25L69.9375 45.9375M50.25 26.25H37.125L32.75 13.125L37.125 8.75L50.25 13.125V26.25ZM108.258 11.9919L96.7622 23.4878C95.0297 25.2203 94.1634 26.0866 93.8388 27.0855C93.5533 27.9642 93.5533 28.9108 93.8388 29.7895C94.1634 30.7884 95.0297 31.6547 96.7622 33.3872L97.8003 34.4253C99.5328 36.1578 100.399 37.0241 101.398 37.3487C102.277 37.6342 103.223 37.6342 104.102 37.3487C105.101 37.0241 105.967 36.1578 107.7 34.4253L118.453 23.6719C119.611 26.4901 120.25 29.5767 120.25 32.8125C120.25 46.1019 109.477 56.875 96.1875 56.875C94.5853 56.875 93.0197 56.7184 91.5052 56.4197C89.3783 56.0003 88.3149 55.7905 87.6702 55.8548C86.9848 55.9231 86.647 56.0258 86.0397 56.3508C85.4685 56.6565 84.8955 57.2295 83.7495 58.3755L52.4375 89.6874C48.8131 93.3118 42.9369 93.3118 39.3125 89.6874C35.6881 86.0631 35.6881 80.1868 39.3125 76.5624L70.6245 45.2505C71.7705 44.1045 72.3435 43.5315 72.6492 42.9603C72.9742 42.353 73.0769 42.0152 73.1452 41.3298C73.2095 40.6851 72.9997 39.6217 72.5803 37.4948C72.2816 35.9803 72.125 34.4147 72.125 32.8125C72.125 19.5231 82.8981 8.75 96.1875 8.75C100.587 8.75 104.71 9.93048 108.258 11.9919ZM76.5002 65.6248L100.562 89.687C104.187 93.3114 110.063 93.3114 113.687 89.687C117.312 86.0627 117.312 80.1864 113.687 76.562L93.892 56.7669C92.4907 56.6343 91.1243 56.3815 89.8034 56.019C88.1013 55.5518 86.2341 55.8909 84.986 57.139L76.5002 65.6248Z" stroke={strokeColor} strokeWidth="3.6" strokeLinecap="round" strokeLinejoin="round"/>
16
+ <defs>
17
+ <filter id="filter0_f_60_283455" x="-9.75132e-05" y="93.0561" width="152.55" height="22.2751" filterUnits="userSpaceOnUse" colorInterpolationFilters="sRGB">
18
+ <feFlood floodOpacity="0" result="BackgroundImageFix"/>
19
+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
20
+ <feGaussianBlur stdDeviation="1.0125" result="effect1_foregroundBlur_60_283455"/>
21
+ </filter>
22
+ </defs>
23
+ </svg>
24
+ )
25
+ }
12
26
  }
27
+
13
28
  export default config;
@@ -1,6 +1,5 @@
1
1
  import InformationUnavailable from './index'
2
2
  import ThemeLayout from '../../ThemeLayout'
3
-
4
3
  export default {
5
4
  title: 'Screen/Error/Information Unavailable',
6
5
  component: InformationUnavailable,
@@ -15,9 +15,11 @@ import Style from './style'
15
15
  * - content (string): Optional content text. Defaults to "Our team is actively building this feature. It will be available in an upcoming release." or "We're sorry, but the information you're looking for is currently unavailable." based on backgroundType.
16
16
  * - backgroundType (string): Optional background type. Defaults to "default".
17
17
  * - icon (string): Optional icon image. Defaults to null.
18
+ * - titleColor (string): Optional color for the title text. If not provided, uses default color based on backgroundType.
19
+ * - contentColor (string): Optional color for the content text. If not provided, uses default color based on backgroundType.
18
20
  */
19
21
 
20
- const InformationUnavailable = ({t = s => s, title, content, backgroundType = 'default', icon}) => {
22
+ const InformationUnavailable = ({t = s => s, title, content, backgroundType = 'default', icon, titleColor, contentColor}) => {
21
23
  const developmentTypes = ['analysis', 'table', 'field', 'globe', 'chart', 'scout']
22
24
  const isUnderDevelopment = developmentTypes.includes(backgroundType)
23
25
 
@@ -29,7 +31,7 @@ const InformationUnavailable = ({t = s => s, title, content, backgroundType = 'd
29
31
  }, [backgroundType, isUnderDevelopment])
30
32
 
31
33
  return (
32
- <Style backgroundType={backgroundType} backgroundImage={backgroundImage}>
34
+ <Style backgroundType={backgroundType} backgroundImage={backgroundImage} titleColor={titleColor} contentColor={contentColor}>
33
35
  <img src={icon} alt="information-unavailable" />
34
36
  <div className="content">
35
37
  <h1>{t(pageTitle)}</h1>
@@ -44,7 +46,9 @@ InformationUnavailable.propTypes = {
44
46
  title: PropTypes.string.optional,
45
47
  content: PropTypes.string.optional,
46
48
  backgroundType: PropTypes.oneOf(['analysis', 'table', 'field', 'globe', 'chart', 'scout', 'default']),
47
- icon: PropTypes.string
49
+ icon: PropTypes.string,
50
+ titleColor: PropTypes.string,
51
+ contentColor: PropTypes.string
48
52
  }
49
53
 
50
54
  export default InformationUnavailable
@@ -65,7 +65,7 @@ const Style = styled.div`
65
65
  h1 {
66
66
  font-size: 28px;
67
67
  font-weight: 600;
68
- color: ${props => isUnderDevelopmentType(props.backgroundType) ? '#003435' : '#384250'};
68
+ color: ${props => props.titleColor || (isUnderDevelopmentType(props.backgroundType) ? '#003435' : '#384250')};
69
69
  margin-bottom: 6px;
70
70
  line-height: 32px;
71
71
  letter-spacing: 0%;
@@ -73,7 +73,7 @@ const Style = styled.div`
73
73
 
74
74
  p {
75
75
  font-size: 16px;
76
- color: ${props => isUnderDevelopmentType(props.backgroundType) ? '#016C6E' : '#6C737F'};
76
+ color: ${props => props.contentColor || (isUnderDevelopmentType(props.backgroundType) ? '#016C6E' : '#6C737F')};
77
77
  font-weight: 500;
78
78
  line-height: 22px;
79
79
  letter-spacing: 0%;