@gnwebsoft/ui 2.18.3 → 2.18.5
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.
- package/dist/{chunk-GKZRHIQD.mjs → chunk-DNYQFSTP.mjs} +1 -1
- package/dist/{chunk-N5SKB324.js → chunk-FP2QMQOO.js} +1 -1
- package/dist/{chunk-IQ2NGFME.js → chunk-HAZ45XJJ.js} +1 -0
- package/dist/{chunk-W2WJWT42.mjs → chunk-YLTQIOFQ.mjs} +1 -0
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +3 -3
- package/dist/types/index.d.mts +6 -1
- package/dist/types/index.d.ts +6 -1
- package/dist/types/index.js +1 -1
- package/dist/types/index.mjs +1 -1
- package/dist/wrappers/index.js +2 -2
- package/dist/wrappers/index.mjs +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-TLJXC46A.js → chunk-6BGQA4BQ.js} +0 -0
- /package/dist/{chunk-5VR5QVUV.mjs → chunk-EVPUCTZA.mjs} +0 -0
|
@@ -114,7 +114,7 @@ var FormWrapper = ({ children, title, editMode }) => {
|
|
|
114
114
|
alignSelf: "center"
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
|
-
title: title ?? /* @__PURE__ */ jsx4(Typography2, { variant: "h5", children: editMode ? `
|
|
117
|
+
title: title ?? /* @__PURE__ */ jsx4(Typography2, { variant: "h5", children: editMode ? `Edit ${title}` : `Create ${title}` })
|
|
118
118
|
}
|
|
119
119
|
),
|
|
120
120
|
/* @__PURE__ */ jsx4(Divider2, { sx: { mt: 0 } }),
|
|
@@ -114,7 +114,7 @@ var FormWrapper = ({ children, title, editMode }) => {
|
|
|
114
114
|
alignSelf: "center"
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
|
-
title: _nullishCoalesce(title, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.Typography, { variant: "h5", children: editMode ? `
|
|
117
|
+
title: _nullishCoalesce(title, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.Typography, { variant: "h5", children: editMode ? `Edit ${title}` : `Create ${title}` })))
|
|
118
118
|
}
|
|
119
119
|
),
|
|
120
120
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.Divider, { sx: { mt: 0 } }),
|
package/dist/components/index.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkFP2QMQOOjs = require('../chunk-FP2QMQOO.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -15,4 +15,4 @@ var _chunkN5SKB324js = require('../chunk-N5SKB324.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.ClearButton =
|
|
18
|
+
exports.ClearButton = _chunkFP2QMQOOjs.ClearButton_default; exports.FilterButton = _chunkFP2QMQOOjs.FilterButton_default; exports.FilterWrapper = _chunkFP2QMQOOjs.FilterWrapper_default; exports.FormWrapper = _chunkFP2QMQOOjs.FormWrapper_default; exports.LabelText = _chunkFP2QMQOOjs.LabelText_default; exports.ListWrapper = _chunkFP2QMQOOjs.ListWrapper_default; exports.SimpleToolbar = _chunkFP2QMQOOjs.SimpleToolbar_default;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { ClearButton, FilterButton, FilterWrapper, FormWrapper, LabelText, ListWrapper, SimpleToolbar } from './components/index.mjs';
|
|
2
2
|
export { UseTransformOptions, UseTransformReturn, useTransform } from './hooks/index.mjs';
|
|
3
|
-
export { ApiResponse, AsyncMultiSelectPayload, ListResponse, OptionItem, OptionItem2, PostModel, ValidationErrors, ValueLabel } from './types/index.mjs';
|
|
3
|
+
export { ApiResponse, AsyncMultiSelectPayload, ListResponse, OperationResponse, OptionItem, OptionItem2, PostModel, ValidationErrors, ValueLabel } from './types/index.mjs';
|
|
4
4
|
export { api, flattenObjectKeys, getTimezone, handleServerErrors, propertyExists, readValueAsDate, removeLeadingTrailingSlashes, schemaTools } from './utils/index.mjs';
|
|
5
5
|
export { Field } from './wrappers/index.mjs';
|
|
6
6
|
export { A as AsyncSelectPayload } from './AsyncSelectPayload-DHN-R3gc.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { ClearButton, FilterButton, FilterWrapper, FormWrapper, LabelText, ListWrapper, SimpleToolbar } from './components/index.js';
|
|
2
2
|
export { UseTransformOptions, UseTransformReturn, useTransform } from './hooks/index.js';
|
|
3
|
-
export { ApiResponse, AsyncMultiSelectPayload, ListResponse, OptionItem, OptionItem2, PostModel, ValidationErrors, ValueLabel } from './types/index.js';
|
|
3
|
+
export { ApiResponse, AsyncMultiSelectPayload, ListResponse, OperationResponse, OptionItem, OptionItem2, PostModel, ValidationErrors, ValueLabel } from './types/index.js';
|
|
4
4
|
export { api, flattenObjectKeys, getTimezone, handleServerErrors, propertyExists, readValueAsDate, removeLeadingTrailingSlashes, schemaTools } from './utils/index.js';
|
|
5
5
|
export { Field } from './wrappers/index.js';
|
|
6
6
|
export { A as AsyncSelectPayload } from './AsyncSelectPayload-DHN-R3gc.js';
|
package/dist/index.js
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkFP2QMQOOjs = require('./chunk-FP2QMQOO.js');
|
|
10
10
|
require('./chunk-7M2VOCYN.js');
|
|
11
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-6BGQA4BQ.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkHAZ45XJJjs = require('./chunk-HAZ45XJJ.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
var _chunk6JZ35VQJjs = require('./chunk-6JZ35VQJ.js');
|
|
@@ -43,4 +43,4 @@ var _chunkKTAQRRS7js = require('./chunk-KTAQRRS7.js');
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
exports.ClearButton =
|
|
46
|
+
exports.ClearButton = _chunkFP2QMQOOjs.ClearButton_default; exports.Field = _chunkHAZ45XJJjs.Field_default; exports.FilterButton = _chunkFP2QMQOOjs.FilterButton_default; exports.FilterWrapper = _chunkFP2QMQOOjs.FilterWrapper_default; exports.FormWrapper = _chunkFP2QMQOOjs.FormWrapper_default; exports.LabelText = _chunkFP2QMQOOjs.LabelText_default; exports.ListWrapper = _chunkFP2QMQOOjs.ListWrapper_default; exports.SimpleToolbar = _chunkFP2QMQOOjs.SimpleToolbar_default; exports.api = _chunkKTAQRRS7js.api; exports.flattenObjectKeys = _chunkKTAQRRS7js.flattenObjectKeys; exports.getTimezone = _chunkKTAQRRS7js.getTimezone; exports.handleServerErrors = _chunkKTAQRRS7js.handleServerErrors; exports.propertyExists = _chunkKTAQRRS7js.propertyExists; exports.readValueAsDate = _chunkKTAQRRS7js.readValueAsDate; exports.removeLeadingTrailingSlashes = _chunkKTAQRRS7js.removeLeadingTrailingSlashes; exports.schemaTools = _chunkKTAQRRS7js.schemaTools; exports.useTransform = _chunk6JZ35VQJjs.useTransform;
|
package/dist/index.mjs
CHANGED
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
LabelText_default,
|
|
7
7
|
ListWrapper_default,
|
|
8
8
|
SimpleToolbar_default
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DNYQFSTP.mjs";
|
|
10
10
|
import "./chunk-2JFL7TS5.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-EVPUCTZA.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Field_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YLTQIOFQ.mjs";
|
|
15
15
|
import {
|
|
16
16
|
useTransform
|
|
17
17
|
} from "./chunk-GFSTK7KN.mjs";
|
package/dist/types/index.d.mts
CHANGED
|
@@ -31,6 +31,11 @@ type OptionItem2 = {
|
|
|
31
31
|
value: number;
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
+
type OperationResponse = {
|
|
35
|
+
id?: number;
|
|
36
|
+
rowsAffected: number;
|
|
37
|
+
};
|
|
38
|
+
|
|
34
39
|
type PostModel<TFilterModel> = {
|
|
35
40
|
filterModel?: TFilterModel;
|
|
36
41
|
pageOffset: number;
|
|
@@ -48,4 +53,4 @@ type ValueLabel = {
|
|
|
48
53
|
label: number;
|
|
49
54
|
};
|
|
50
55
|
|
|
51
|
-
export type { ApiResponse, AsyncMultiSelectPayload, ListResponse, OptionItem, OptionItem2, PostModel, ValidationErrors, ValueLabel };
|
|
56
|
+
export type { ApiResponse, AsyncMultiSelectPayload, ListResponse, OperationResponse, OptionItem, OptionItem2, PostModel, ValidationErrors, ValueLabel };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -31,6 +31,11 @@ type OptionItem2 = {
|
|
|
31
31
|
value: number;
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
+
type OperationResponse = {
|
|
35
|
+
id?: number;
|
|
36
|
+
rowsAffected: number;
|
|
37
|
+
};
|
|
38
|
+
|
|
34
39
|
type PostModel<TFilterModel> = {
|
|
35
40
|
filterModel?: TFilterModel;
|
|
36
41
|
pageOffset: number;
|
|
@@ -48,4 +53,4 @@ type ValueLabel = {
|
|
|
48
53
|
label: number;
|
|
49
54
|
};
|
|
50
55
|
|
|
51
|
-
export type { ApiResponse, AsyncMultiSelectPayload, ListResponse, OptionItem, OptionItem2, PostModel, ValidationErrors, ValueLabel };
|
|
56
|
+
export type { ApiResponse, AsyncMultiSelectPayload, ListResponse, OperationResponse, OptionItem, OptionItem2, PostModel, ValidationErrors, ValueLabel };
|
package/dist/types/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('../chunk-
|
|
1
|
+
"use strict";require('../chunk-6BGQA4BQ.js');
|
package/dist/types/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import "../chunk-
|
|
1
|
+
import "../chunk-EVPUCTZA.mjs";
|
package/dist/wrappers/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkHAZ45XJJjs = require('../chunk-HAZ45XJJ.js');
|
|
4
4
|
require('../chunk-6JZ35VQJ.js');
|
|
5
5
|
require('../chunk-KTAQRRS7.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Field =
|
|
8
|
+
exports.Field = _chunkHAZ45XJJjs.Field_default;
|
package/dist/wrappers/index.mjs
CHANGED
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|