@gnwebsoft/ui 2.18.18 → 2.18.19

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.
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-GFSTK7KN.mjs";
4
4
  import {
5
5
  readValueAsDate
6
- } from "./chunk-J2WOE37S.mjs";
6
+ } from "./chunk-AVNKSUE5.mjs";
7
7
 
8
8
  // src/wrappers/DatePickerElement/DatePickerElement.tsx
9
9
  import {
@@ -112,6 +112,120 @@ var api = class {
112
112
  }
113
113
  };
114
114
 
115
+ // src/utils/api2.ts
116
+ var makeRequest2 = async (url, options = {}) => {
117
+ const response = await fetch(url, options);
118
+ if (response.ok) {
119
+ const apiData = await response.json();
120
+ return {
121
+ apiData,
122
+ status: response.status
123
+ };
124
+ } else if (response.status === 404) {
125
+ const apiData = await response.json();
126
+ const data = {
127
+ status: response.status,
128
+ title: apiData.title
129
+ };
130
+ return data;
131
+ }
132
+ const apiResponse = await response.json();
133
+ return apiResponse;
134
+ };
135
+ var api2 = class {
136
+ static async filter(url, postModel) {
137
+ const alteredOptions = {
138
+ headers: {
139
+ "Content-Type": "application/json",
140
+ Authorization: `Bearer ${sessionStorage.getItem("serviceToken")}`
141
+ },
142
+ body: JSON.stringify({ ...postModel, ...postModel.filterModel }),
143
+ method: "POST"
144
+ };
145
+ const apiResponse = await makeRequest2(url, alteredOptions);
146
+ return apiResponse;
147
+ }
148
+ static async post(url, body = {}) {
149
+ const alteredOptions = {
150
+ headers: {
151
+ "Content-Type": "application/json",
152
+ Authorization: `Bearer ${sessionStorage.getItem("serviceToken")}`
153
+ },
154
+ body: JSON.stringify(body),
155
+ method: "POST"
156
+ };
157
+ const apiResponse = await makeRequest2(url, alteredOptions);
158
+ return apiResponse;
159
+ }
160
+ static async get(url) {
161
+ const alteredOptions = {
162
+ headers: {
163
+ "Content-Type": "application/json",
164
+ Authorization: `Bearer ${sessionStorage.getItem("serviceToken")}`
165
+ },
166
+ method: "GET"
167
+ };
168
+ const data = await makeRequest2(url, alteredOptions);
169
+ return data;
170
+ }
171
+ static async delete(url) {
172
+ const alteredOptions = {
173
+ headers: {
174
+ "Content-Type": "application/json",
175
+ Authorization: `Bearer ${sessionStorage.getItem("serviceToken")}`
176
+ },
177
+ method: "DELETE"
178
+ };
179
+ const data = await makeRequest2(url, alteredOptions);
180
+ return data;
181
+ }
182
+ static async put(url, body = {}) {
183
+ const alteredOptions = {
184
+ headers: {
185
+ "Content-Type": "application/json",
186
+ Authorization: `Bearer ${sessionStorage.getItem("serviceToken")}`
187
+ },
188
+ body: JSON.stringify(body),
189
+ method: "PUT"
190
+ };
191
+ const apiResponse = await makeRequest2(url, alteredOptions);
192
+ return apiResponse;
193
+ }
194
+ static async fetch(url, options = {}) {
195
+ const alteredOptions = {
196
+ headers: {
197
+ "Content-Type": "application/json",
198
+ Authorization: `Bearer ${sessionStorage.getItem("serviceToken")}`
199
+ },
200
+ ...options
201
+ };
202
+ const result = await fetch(url, alteredOptions);
203
+ console.log("result", result);
204
+ return result;
205
+ }
206
+ static async tempFetch(url, options = {}) {
207
+ const alteredOptions = {
208
+ headers: {
209
+ "Content-Type": "application/json"
210
+ },
211
+ ...options
212
+ };
213
+ const apiResponse = await makeRequest2(url, alteredOptions);
214
+ return apiResponse;
215
+ }
216
+ static async upload(url, formData) {
217
+ const alteredOptions = {
218
+ headers: {
219
+ Authorization: `Bearer ${sessionStorage.getItem("serviceToken")}`
220
+ },
221
+ body: formData,
222
+ method: "POST"
223
+ };
224
+ const apiResponse = await makeRequest2(url, alteredOptions);
225
+ return apiResponse;
226
+ }
227
+ };
228
+
115
229
  // src/utils/flattenObjectKeys.ts
116
230
  var isNested = (obj) => typeof obj === "object" && obj !== null;
117
231
  var isArray = (obj) => Array.isArray(obj);
@@ -209,6 +323,7 @@ var schemaTools = {
209
323
 
210
324
  export {
211
325
  api,
326
+ api2,
212
327
  flattenObjectKeys,
213
328
  getTimezone,
214
329
  handleServerErrors,
@@ -112,6 +112,120 @@ var api = class {
112
112
  }
113
113
  };
114
114
 
115
+ // src/utils/api2.ts
116
+ var makeRequest2 = async (url, options = {}) => {
117
+ const response = await fetch(url, options);
118
+ if (response.ok) {
119
+ const apiData = await response.json();
120
+ return {
121
+ apiData,
122
+ status: response.status
123
+ };
124
+ } else if (response.status === 404) {
125
+ const apiData = await response.json();
126
+ const data = {
127
+ status: response.status,
128
+ title: apiData.title
129
+ };
130
+ return data;
131
+ }
132
+ const apiResponse = await response.json();
133
+ return apiResponse;
134
+ };
135
+ var api2 = class {
136
+ static async filter(url, postModel) {
137
+ const alteredOptions = {
138
+ headers: {
139
+ "Content-Type": "application/json",
140
+ Authorization: `Bearer ${sessionStorage.getItem("serviceToken")}`
141
+ },
142
+ body: JSON.stringify({ ...postModel, ...postModel.filterModel }),
143
+ method: "POST"
144
+ };
145
+ const apiResponse = await makeRequest2(url, alteredOptions);
146
+ return apiResponse;
147
+ }
148
+ static async post(url, body = {}) {
149
+ const alteredOptions = {
150
+ headers: {
151
+ "Content-Type": "application/json",
152
+ Authorization: `Bearer ${sessionStorage.getItem("serviceToken")}`
153
+ },
154
+ body: JSON.stringify(body),
155
+ method: "POST"
156
+ };
157
+ const apiResponse = await makeRequest2(url, alteredOptions);
158
+ return apiResponse;
159
+ }
160
+ static async get(url) {
161
+ const alteredOptions = {
162
+ headers: {
163
+ "Content-Type": "application/json",
164
+ Authorization: `Bearer ${sessionStorage.getItem("serviceToken")}`
165
+ },
166
+ method: "GET"
167
+ };
168
+ const data = await makeRequest2(url, alteredOptions);
169
+ return data;
170
+ }
171
+ static async delete(url) {
172
+ const alteredOptions = {
173
+ headers: {
174
+ "Content-Type": "application/json",
175
+ Authorization: `Bearer ${sessionStorage.getItem("serviceToken")}`
176
+ },
177
+ method: "DELETE"
178
+ };
179
+ const data = await makeRequest2(url, alteredOptions);
180
+ return data;
181
+ }
182
+ static async put(url, body = {}) {
183
+ const alteredOptions = {
184
+ headers: {
185
+ "Content-Type": "application/json",
186
+ Authorization: `Bearer ${sessionStorage.getItem("serviceToken")}`
187
+ },
188
+ body: JSON.stringify(body),
189
+ method: "PUT"
190
+ };
191
+ const apiResponse = await makeRequest2(url, alteredOptions);
192
+ return apiResponse;
193
+ }
194
+ static async fetch(url, options = {}) {
195
+ const alteredOptions = {
196
+ headers: {
197
+ "Content-Type": "application/json",
198
+ Authorization: `Bearer ${sessionStorage.getItem("serviceToken")}`
199
+ },
200
+ ...options
201
+ };
202
+ const result = await fetch(url, alteredOptions);
203
+ console.log("result", result);
204
+ return result;
205
+ }
206
+ static async tempFetch(url, options = {}) {
207
+ const alteredOptions = {
208
+ headers: {
209
+ "Content-Type": "application/json"
210
+ },
211
+ ...options
212
+ };
213
+ const apiResponse = await makeRequest2(url, alteredOptions);
214
+ return apiResponse;
215
+ }
216
+ static async upload(url, formData) {
217
+ const alteredOptions = {
218
+ headers: {
219
+ Authorization: `Bearer ${sessionStorage.getItem("serviceToken")}`
220
+ },
221
+ body: formData,
222
+ method: "POST"
223
+ };
224
+ const apiResponse = await makeRequest2(url, alteredOptions);
225
+ return apiResponse;
226
+ }
227
+ };
228
+
115
229
  // src/utils/flattenObjectKeys.ts
116
230
  var isNested = (obj) => typeof obj === "object" && obj !== null;
117
231
  var isArray = (obj) => Array.isArray(obj);
@@ -216,4 +330,5 @@ var schemaTools = {
216
330
 
217
331
 
218
332
 
219
- exports.api = api; exports.flattenObjectKeys = flattenObjectKeys; exports.getTimezone = getTimezone; exports.handleServerErrors = handleServerErrors; exports.propertyExists = propertyExists; exports.readValueAsDate = readValueAsDate; exports.removeLeadingTrailingSlashes = removeLeadingTrailingSlashes; exports.schemaTools = schemaTools;
333
+
334
+ exports.api = api; exports.api2 = api2; exports.flattenObjectKeys = flattenObjectKeys; exports.getTimezone = getTimezone; exports.handleServerErrors = handleServerErrors; exports.propertyExists = propertyExists; exports.readValueAsDate = readValueAsDate; exports.removeLeadingTrailingSlashes = removeLeadingTrailingSlashes; exports.schemaTools = schemaTools;
@@ -3,7 +3,7 @@
3
3
  var _chunk6JZ35VQJjs = require('./chunk-6JZ35VQJ.js');
4
4
 
5
5
 
6
- var _chunkVISYY3QRjs = require('./chunk-VISYY3QR.js');
6
+ var _chunkDKBPCLECjs = require('./chunk-DKBPCLEC.js');
7
7
 
8
8
  // src/wrappers/DatePickerElement/DatePickerElement.tsx
9
9
 
@@ -47,7 +47,7 @@ var Component = function DatePickerElement(props) {
47
47
  value: field.value,
48
48
  onChange: field.onChange,
49
49
  transform: {
50
- input: typeof _optionalChain([transform, 'optionalAccess', _3 => _3.input]) === "function" ? transform.input : (newValue) => _chunkVISYY3QRjs.readValueAsDate.call(void 0, adapter, newValue),
50
+ input: typeof _optionalChain([transform, 'optionalAccess', _3 => _3.input]) === "function" ? transform.input : (newValue) => _chunkDKBPCLECjs.readValueAsDate.call(void 0, adapter, newValue),
51
51
  output: typeof _optionalChain([transform, 'optionalAccess', _4 => _4.output]) === "function" ? transform.output : (newValue) => newValue
52
52
  }
53
53
  });
@@ -496,7 +496,7 @@ var Component5 = function TimePickerElement(props) {
496
496
  value: field.value,
497
497
  onChange: field.onChange,
498
498
  transform: {
499
- input: typeof _optionalChain([transform, 'optionalAccess', _15 => _15.input]) === "function" ? transform.input : (newValue) => _chunkVISYY3QRjs.readValueAsDate.call(void 0, adapter, newValue),
499
+ input: typeof _optionalChain([transform, 'optionalAccess', _15 => _15.input]) === "function" ? transform.input : (newValue) => _chunkDKBPCLECjs.readValueAsDate.call(void 0, adapter, newValue),
500
500
  output: typeof _optionalChain([transform, 'optionalAccess', _16 => _16.output]) === "function" ? transform.output : (newValue) => newValue
501
501
  }
502
502
  });
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { AuthorizedView, ClearButton, FilterButton, FilterWrapper, FormWrapper, LabelText, ListWrapper, SimpleButton, SimpleToolbar } from './components/index.mjs';
2
2
  export { UseTransformOptions, UseTransformReturn, useTransform } from './hooks/index.mjs';
3
3
  export { ApiResponse, ListResponse, OperationResponse, PostModel, ValidationErrors, ValueLabel } from './types/index.mjs';
4
- export { api, flattenObjectKeys, getTimezone, handleServerErrors, propertyExists, readValueAsDate, removeLeadingTrailingSlashes, schemaTools } from './utils/index.mjs';
4
+ export { api, api2, flattenObjectKeys, getTimezone, handleServerErrors, propertyExists, readValueAsDate, removeLeadingTrailingSlashes, schemaTools } from './utils/index.mjs';
5
5
  export { Field } from './wrappers/index.mjs';
6
6
  export { b as AsyncMultiSelectPayload, a as AsyncSelectMultiPayload, A as AsyncSelectPayload, O as OptionItem, c as OptionItem2 } from './OptionItem-CzX7oHfv.mjs';
7
7
  import 'react/jsx-runtime';
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { AuthorizedView, ClearButton, FilterButton, FilterWrapper, FormWrapper, LabelText, ListWrapper, SimpleButton, SimpleToolbar } from './components/index.js';
2
2
  export { UseTransformOptions, UseTransformReturn, useTransform } from './hooks/index.js';
3
3
  export { ApiResponse, ListResponse, OperationResponse, PostModel, ValidationErrors, ValueLabel } from './types/index.js';
4
- export { api, flattenObjectKeys, getTimezone, handleServerErrors, propertyExists, readValueAsDate, removeLeadingTrailingSlashes, schemaTools } from './utils/index.js';
4
+ export { api, api2, flattenObjectKeys, getTimezone, handleServerErrors, propertyExists, readValueAsDate, removeLeadingTrailingSlashes, schemaTools } from './utils/index.js';
5
5
  export { Field } from './wrappers/index.js';
6
6
  export { b as AsyncMultiSelectPayload, a as AsyncSelectMultiPayload, A as AsyncSelectPayload, O as OptionItem, c as OptionItem2 } from './OptionItem-CzX7oHfv.js';
7
7
  import 'react/jsx-runtime';
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-7M2VOCYN.js');
2
+
2
3
 
3
4
 
4
5
 
@@ -9,11 +10,10 @@
9
10
 
10
11
 
11
12
  var _chunkYXKOS2XHjs = require('./chunk-YXKOS2XH.js');
12
- require('./chunk-7M2VOCYN.js');
13
13
  require('./chunk-6BGQA4BQ.js');
14
14
 
15
15
 
16
- var _chunkQZQSLEPCjs = require('./chunk-QZQSLEPC.js');
16
+ var _chunkGJGC6G2Njs = require('./chunk-GJGC6G2N.js');
17
17
 
18
18
 
19
19
  var _chunk6JZ35VQJjs = require('./chunk-6JZ35VQJ.js');
@@ -26,7 +26,9 @@ var _chunk6JZ35VQJjs = require('./chunk-6JZ35VQJ.js');
26
26
 
27
27
 
28
28
 
29
- var _chunkVISYY3QRjs = require('./chunk-VISYY3QR.js');
29
+
30
+ var _chunkDKBPCLECjs = require('./chunk-DKBPCLEC.js');
31
+
30
32
 
31
33
 
32
34
 
@@ -47,4 +49,4 @@ var _chunkVISYY3QRjs = require('./chunk-VISYY3QR.js');
47
49
 
48
50
 
49
51
 
50
- exports.AuthorizedView = _chunkYXKOS2XHjs.AuthorizedView_default; exports.ClearButton = _chunkYXKOS2XHjs.ClearButton_default; exports.Field = _chunkQZQSLEPCjs.Field_default; exports.FilterButton = _chunkYXKOS2XHjs.FilterButton_default; exports.FilterWrapper = _chunkYXKOS2XHjs.FilterWrapper_default; exports.FormWrapper = _chunkYXKOS2XHjs.FormWrapper_default; exports.LabelText = _chunkYXKOS2XHjs.LabelText_default; exports.ListWrapper = _chunkYXKOS2XHjs.ListWrapper_default; exports.SimpleButton = _chunkYXKOS2XHjs.SimpleButton_default; exports.SimpleToolbar = _chunkYXKOS2XHjs.SimpleToolbar_default; exports.api = _chunkVISYY3QRjs.api; exports.flattenObjectKeys = _chunkVISYY3QRjs.flattenObjectKeys; exports.getTimezone = _chunkVISYY3QRjs.getTimezone; exports.handleServerErrors = _chunkVISYY3QRjs.handleServerErrors; exports.propertyExists = _chunkVISYY3QRjs.propertyExists; exports.readValueAsDate = _chunkVISYY3QRjs.readValueAsDate; exports.removeLeadingTrailingSlashes = _chunkVISYY3QRjs.removeLeadingTrailingSlashes; exports.schemaTools = _chunkVISYY3QRjs.schemaTools; exports.useTransform = _chunk6JZ35VQJjs.useTransform;
52
+ exports.AuthorizedView = _chunkYXKOS2XHjs.AuthorizedView_default; exports.ClearButton = _chunkYXKOS2XHjs.ClearButton_default; exports.Field = _chunkGJGC6G2Njs.Field_default; exports.FilterButton = _chunkYXKOS2XHjs.FilterButton_default; exports.FilterWrapper = _chunkYXKOS2XHjs.FilterWrapper_default; exports.FormWrapper = _chunkYXKOS2XHjs.FormWrapper_default; exports.LabelText = _chunkYXKOS2XHjs.LabelText_default; exports.ListWrapper = _chunkYXKOS2XHjs.ListWrapper_default; exports.SimpleButton = _chunkYXKOS2XHjs.SimpleButton_default; exports.SimpleToolbar = _chunkYXKOS2XHjs.SimpleToolbar_default; exports.api = _chunkDKBPCLECjs.api; exports.api2 = _chunkDKBPCLECjs.api2; exports.flattenObjectKeys = _chunkDKBPCLECjs.flattenObjectKeys; exports.getTimezone = _chunkDKBPCLECjs.getTimezone; exports.handleServerErrors = _chunkDKBPCLECjs.handleServerErrors; exports.propertyExists = _chunkDKBPCLECjs.propertyExists; exports.readValueAsDate = _chunkDKBPCLECjs.readValueAsDate; exports.removeLeadingTrailingSlashes = _chunkDKBPCLECjs.removeLeadingTrailingSlashes; exports.schemaTools = _chunkDKBPCLECjs.schemaTools; exports.useTransform = _chunk6JZ35VQJjs.useTransform;
package/dist/index.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ import "./chunk-2JFL7TS5.mjs";
1
2
  import {
2
3
  AuthorizedView_default,
3
4
  ClearButton_default,
@@ -9,16 +10,16 @@ import {
9
10
  SimpleButton_default,
10
11
  SimpleToolbar_default
11
12
  } from "./chunk-J74N5BOG.mjs";
12
- import "./chunk-2JFL7TS5.mjs";
13
13
  import "./chunk-EVPUCTZA.mjs";
14
14
  import {
15
15
  Field_default
16
- } from "./chunk-XILCQSA3.mjs";
16
+ } from "./chunk-3P5YN7YN.mjs";
17
17
  import {
18
18
  useTransform
19
19
  } from "./chunk-GFSTK7KN.mjs";
20
20
  import {
21
21
  api,
22
+ api2,
22
23
  flattenObjectKeys,
23
24
  getTimezone,
24
25
  handleServerErrors,
@@ -26,7 +27,7 @@ import {
26
27
  readValueAsDate,
27
28
  removeLeadingTrailingSlashes,
28
29
  schemaTools
29
- } from "./chunk-J2WOE37S.mjs";
30
+ } from "./chunk-AVNKSUE5.mjs";
30
31
  export {
31
32
  AuthorizedView_default as AuthorizedView,
32
33
  ClearButton_default as ClearButton,
@@ -39,6 +40,7 @@ export {
39
40
  SimpleButton_default as SimpleButton,
40
41
  SimpleToolbar_default as SimpleToolbar,
41
42
  api,
43
+ api2,
42
44
  flattenObjectKeys,
43
45
  getTimezone,
44
46
  handleServerErrors,
@@ -17,6 +17,17 @@ declare class api {
17
17
  static upload<T>(url: string, formData: FormData): Promise<ApiResponse<T>>;
18
18
  }
19
19
 
20
+ declare class api2 {
21
+ static filter<T, TFilter>(url: string, postModel: PostModel<TFilter>): Promise<ApiResponse<ListResponse<T>>>;
22
+ static post<T>(url: string, body?: any): Promise<ApiResponse<T>>;
23
+ static get<T>(url: string): Promise<ApiResponse<T>>;
24
+ static delete<T>(url: string): Promise<ApiResponse<T>>;
25
+ static put<T>(url: string, body?: any): Promise<ApiResponse<T>>;
26
+ static fetch(url: string, options?: any): Promise<Response>;
27
+ static tempFetch<T>(url: string, options?: any): Promise<ApiResponse<T>>;
28
+ static upload<T>(url: string, formData: FormData): Promise<ApiResponse<T>>;
29
+ }
30
+
20
31
  declare const flattenObjectKeys: (obj: any, prefix?: string) => {
21
32
  [x: string]: any;
22
33
  };
@@ -44,4 +55,4 @@ declare const schemaTools: {
44
55
  }) => z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string | null, string>, string | null, string>, string | null, string>;
45
56
  };
46
57
 
47
- export { api, flattenObjectKeys, getTimezone, handleServerErrors, propertyExists, readValueAsDate, removeLeadingTrailingSlashes, schemaTools };
58
+ export { api, api2, flattenObjectKeys, getTimezone, handleServerErrors, propertyExists, readValueAsDate, removeLeadingTrailingSlashes, schemaTools };
@@ -17,6 +17,17 @@ declare class api {
17
17
  static upload<T>(url: string, formData: FormData): Promise<ApiResponse<T>>;
18
18
  }
19
19
 
20
+ declare class api2 {
21
+ static filter<T, TFilter>(url: string, postModel: PostModel<TFilter>): Promise<ApiResponse<ListResponse<T>>>;
22
+ static post<T>(url: string, body?: any): Promise<ApiResponse<T>>;
23
+ static get<T>(url: string): Promise<ApiResponse<T>>;
24
+ static delete<T>(url: string): Promise<ApiResponse<T>>;
25
+ static put<T>(url: string, body?: any): Promise<ApiResponse<T>>;
26
+ static fetch(url: string, options?: any): Promise<Response>;
27
+ static tempFetch<T>(url: string, options?: any): Promise<ApiResponse<T>>;
28
+ static upload<T>(url: string, formData: FormData): Promise<ApiResponse<T>>;
29
+ }
30
+
20
31
  declare const flattenObjectKeys: (obj: any, prefix?: string) => {
21
32
  [x: string]: any;
22
33
  };
@@ -44,4 +55,4 @@ declare const schemaTools: {
44
55
  }) => z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string | null, string>, string | null, string>, string | null, string>;
45
56
  };
46
57
 
47
- export { api, flattenObjectKeys, getTimezone, handleServerErrors, propertyExists, readValueAsDate, removeLeadingTrailingSlashes, schemaTools };
58
+ export { api, api2, flattenObjectKeys, getTimezone, handleServerErrors, propertyExists, readValueAsDate, removeLeadingTrailingSlashes, schemaTools };
@@ -7,8 +7,8 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkVISYY3QRjs = require('../chunk-VISYY3QR.js');
11
10
 
11
+ var _chunkDKBPCLECjs = require('../chunk-DKBPCLEC.js');
12
12
 
13
13
 
14
14
 
@@ -17,4 +17,6 @@ var _chunkVISYY3QRjs = require('../chunk-VISYY3QR.js');
17
17
 
18
18
 
19
19
 
20
- exports.api = _chunkVISYY3QRjs.api; exports.flattenObjectKeys = _chunkVISYY3QRjs.flattenObjectKeys; exports.getTimezone = _chunkVISYY3QRjs.getTimezone; exports.handleServerErrors = _chunkVISYY3QRjs.handleServerErrors; exports.propertyExists = _chunkVISYY3QRjs.propertyExists; exports.readValueAsDate = _chunkVISYY3QRjs.readValueAsDate; exports.removeLeadingTrailingSlashes = _chunkVISYY3QRjs.removeLeadingTrailingSlashes; exports.schemaTools = _chunkVISYY3QRjs.schemaTools;
20
+
21
+
22
+ exports.api = _chunkDKBPCLECjs.api; exports.api2 = _chunkDKBPCLECjs.api2; exports.flattenObjectKeys = _chunkDKBPCLECjs.flattenObjectKeys; exports.getTimezone = _chunkDKBPCLECjs.getTimezone; exports.handleServerErrors = _chunkDKBPCLECjs.handleServerErrors; exports.propertyExists = _chunkDKBPCLECjs.propertyExists; exports.readValueAsDate = _chunkDKBPCLECjs.readValueAsDate; exports.removeLeadingTrailingSlashes = _chunkDKBPCLECjs.removeLeadingTrailingSlashes; exports.schemaTools = _chunkDKBPCLECjs.schemaTools;
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  api,
3
+ api2,
3
4
  flattenObjectKeys,
4
5
  getTimezone,
5
6
  handleServerErrors,
@@ -7,9 +8,10 @@ import {
7
8
  readValueAsDate,
8
9
  removeLeadingTrailingSlashes,
9
10
  schemaTools
10
- } from "../chunk-J2WOE37S.mjs";
11
+ } from "../chunk-AVNKSUE5.mjs";
11
12
  export {
12
13
  api,
14
+ api2,
13
15
  flattenObjectKeys,
14
16
  getTimezone,
15
17
  handleServerErrors,
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkQZQSLEPCjs = require('../chunk-QZQSLEPC.js');
3
+ var _chunkGJGC6G2Njs = require('../chunk-GJGC6G2N.js');
4
4
  require('../chunk-6JZ35VQJ.js');
5
- require('../chunk-VISYY3QR.js');
5
+ require('../chunk-DKBPCLEC.js');
6
6
 
7
7
 
8
- exports.Field = _chunkQZQSLEPCjs.Field_default;
8
+ exports.Field = _chunkGJGC6G2Njs.Field_default;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  Field_default
3
- } from "../chunk-XILCQSA3.mjs";
3
+ } from "../chunk-3P5YN7YN.mjs";
4
4
  import "../chunk-GFSTK7KN.mjs";
5
- import "../chunk-J2WOE37S.mjs";
5
+ import "../chunk-AVNKSUE5.mjs";
6
6
  export {
7
7
  Field_default as Field
8
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gnwebsoft/ui",
3
- "version": "2.18.18",
3
+ "version": "2.18.19",
4
4
  "description": "A set of reusable wrappers for MUI v6",
5
5
  "author": "GNWebsoft Private Limited",
6
6
  "license": "",