datastake-daf 0.6.730 → 0.6.731

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.
@@ -9226,11 +9226,12 @@ PdfView.propTypes = {
9226
9226
 
9227
9227
  const ajaxSelectFieldData = async (value, config, getApiBaseUrl = () => {}, getAppHeader = () => {}, app, formValues = {}) => {
9228
9228
  const url = getApiBaseUrl();
9229
- const queryOptionsApps = ["kota", "nashiriki", "straatos"];
9229
+ const queryOptionsApps = ["kota", "nashiriki", "straatos", "wazi"];
9230
9230
  const queryOptionsAppEndpoints = {
9231
9231
  kota: `query/options`,
9232
9232
  nashiriki: "query",
9233
- straatos: "query"
9233
+ straatos: "query",
9234
+ wazi: "query"
9234
9235
  };
9235
9236
  const endpoint = config?.meta?.endpoint ? `${url}${config?.meta?.endpoint}` : app && !queryOptionsApps.includes(app) ? `${url}/query/${app}/options` : `${url}/${queryOptionsAppEndpoints[app] || "query/options"}`;
9236
9237
  const call = config?.meta?.call;
@@ -36813,11 +36814,12 @@ function AjaxSelectMain(_ref) {
36813
36814
  const [lastFilters, setLastFilters] = React.useState(null);
36814
36815
  const [isFetchWithThisFilter, setIsFetchWithThisFilter] = React.useState(false);
36815
36816
  const url = getApiBaseUrl();
36816
- const queryOptionsApps = ["kota", "nashiriki", "straatos"];
36817
+ const queryOptionsApps = ["kota", "nashiriki", "straatos", "wazi"];
36817
36818
  const queryOptionsAppEndpoints = {
36818
36819
  kota: "query/options",
36819
36820
  nashiriki: "query",
36820
- straatos: "query"
36821
+ straatos: "query",
36822
+ wazi: "query"
36821
36823
  };
36822
36824
  const endpoint = meta !== null && meta !== void 0 && meta.endpoint ? "".concat(url).concat(meta === null || meta === void 0 ? void 0 : meta.endpoint) : meta.application && !queryOptionsApps.includes(app) ? "".concat(url, "/query/").concat(app, "/options") : "".concat(url, "/").concat(queryOptionsAppEndpoints[app] || "query/options");
36823
36825
  React.useEffect(() => {
@@ -26190,11 +26190,12 @@ function AjaxSelectMain({
26190
26190
  const [lastFilters, setLastFilters] = React.useState(null);
26191
26191
  const [isFetchWithThisFilter, setIsFetchWithThisFilter] = React.useState(false);
26192
26192
  const url = getApiBaseUrl();
26193
- const queryOptionsApps = ["kota", "nashiriki", "straatos"];
26193
+ const queryOptionsApps = ["kota", "nashiriki", "straatos", "wazi"];
26194
26194
  const queryOptionsAppEndpoints = {
26195
26195
  kota: `query/options`,
26196
26196
  nashiriki: "query",
26197
- straatos: "query"
26197
+ straatos: "query",
26198
+ wazi: "query"
26198
26199
  };
26199
26200
  const endpoint = meta?.endpoint ? `${url}${meta?.endpoint}` : meta.application && !queryOptionsApps.includes(app) ? `${url}/query/${app}/options` : `${url}/${queryOptionsAppEndpoints[app] || "query/options"}`;
26200
26201
  React.useEffect(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastake-daf",
3
- "version": "0.6.730",
3
+ "version": "0.6.731",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.2.5",
6
6
  "@antv/g2": "^5.1.1",
@@ -71,11 +71,12 @@ export function AjaxSelectMain({
71
71
  const [isFetchWithThisFilter, setIsFetchWithThisFilter] = useState(false);
72
72
  const url = getApiBaseUrl();
73
73
 
74
- const queryOptionsApps = ["kota", "nashiriki", "straatos" ];
74
+ const queryOptionsApps = ["kota", "nashiriki", "straatos", "wazi" ];
75
75
  const queryOptionsAppEndpoints = {
76
76
  kota: `query/options`,
77
77
  nashiriki: "query",
78
78
  straatos: "query",
79
+ wazi: "query",
79
80
  };
80
81
 
81
82
  const endpoint = meta?.endpoint
@@ -6,11 +6,12 @@ import { findOptions } from '../../../../../helpers/StringHelper';
6
6
  export const ajaxSelectFieldData = async (value, config, getApiBaseUrl = () => {}, getAppHeader = () => {}, app, formValues = {}) => {
7
7
  const url = getApiBaseUrl();
8
8
 
9
- const queryOptionsApps = ["kota", "nashiriki", "straatos"];
9
+ const queryOptionsApps = ["kota", "nashiriki", "straatos", "wazi" ];
10
10
  const queryOptionsAppEndpoints = {
11
11
  kota: `query/options`,
12
12
  nashiriki: "query",
13
13
  straatos: "query",
14
+ wazi: "query",
14
15
  };
15
16
 
16
17
  const endpoint = config?.meta?.endpoint