@gnwebsoft/ui 2.17.5 → 2.17.7
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-TP5OSIU5.js → chunk-A4ET2H3D.js} +6 -0
- package/dist/{chunk-B3F2F3PI.mjs → chunk-RHG7GNU5.mjs} +6 -0
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/wrappers/index.d.mts +3 -0
- package/dist/wrappers/index.d.ts +3 -0
- package/dist/wrappers/index.js +2 -2
- package/dist/wrappers/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -24,6 +24,7 @@ var Component = function DatePickerElement(props) {
|
|
|
24
24
|
inputProps,
|
|
25
25
|
control,
|
|
26
26
|
textReadOnly,
|
|
27
|
+
label,
|
|
27
28
|
gridProps,
|
|
28
29
|
slotProps,
|
|
29
30
|
transform,
|
|
@@ -56,6 +57,7 @@ var Component = function DatePickerElement(props) {
|
|
|
56
57
|
...rest,
|
|
57
58
|
...field,
|
|
58
59
|
value,
|
|
60
|
+
label,
|
|
59
61
|
inputRef: handleInputRef,
|
|
60
62
|
onClose: (...args) => {
|
|
61
63
|
field.onBlur();
|
|
@@ -364,6 +366,8 @@ var Component4 = function TextFieldElement(props) {
|
|
|
364
366
|
component: TextFieldComponent = _material.TextField,
|
|
365
367
|
gridProps,
|
|
366
368
|
transform,
|
|
369
|
+
label,
|
|
370
|
+
placeholder,
|
|
367
371
|
textFieldProps = {},
|
|
368
372
|
...rest
|
|
369
373
|
} = props;
|
|
@@ -417,6 +421,8 @@ var Component4 = function TextFieldElement(props) {
|
|
|
417
421
|
onBlur(event);
|
|
418
422
|
}
|
|
419
423
|
},
|
|
424
|
+
label,
|
|
425
|
+
placeholder,
|
|
420
426
|
fullWidth: true,
|
|
421
427
|
required,
|
|
422
428
|
type,
|
|
@@ -24,6 +24,7 @@ var Component = function DatePickerElement(props) {
|
|
|
24
24
|
inputProps,
|
|
25
25
|
control,
|
|
26
26
|
textReadOnly,
|
|
27
|
+
label,
|
|
27
28
|
gridProps,
|
|
28
29
|
slotProps,
|
|
29
30
|
transform,
|
|
@@ -56,6 +57,7 @@ var Component = function DatePickerElement(props) {
|
|
|
56
57
|
...rest,
|
|
57
58
|
...field,
|
|
58
59
|
value,
|
|
60
|
+
label,
|
|
59
61
|
inputRef: handleInputRef,
|
|
60
62
|
onClose: (...args) => {
|
|
61
63
|
field.onBlur();
|
|
@@ -364,6 +366,8 @@ var Component4 = function TextFieldElement(props) {
|
|
|
364
366
|
component: TextFieldComponent = TextField2,
|
|
365
367
|
gridProps,
|
|
366
368
|
transform,
|
|
369
|
+
label,
|
|
370
|
+
placeholder,
|
|
367
371
|
textFieldProps = {},
|
|
368
372
|
...rest
|
|
369
373
|
} = props;
|
|
@@ -417,6 +421,8 @@ var Component4 = function TextFieldElement(props) {
|
|
|
417
421
|
onBlur(event);
|
|
418
422
|
}
|
|
419
423
|
},
|
|
424
|
+
label,
|
|
425
|
+
placeholder,
|
|
420
426
|
fullWidth: true,
|
|
421
427
|
required,
|
|
422
428
|
type,
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ require('./chunk-7M2VOCYN.js');
|
|
|
10
10
|
require('./chunk-TLJXC46A.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkA4ET2H3Djs = require('./chunk-A4ET2H3D.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
var _chunk6JZ35VQJjs = require('./chunk-6JZ35VQJ.js');
|
|
@@ -41,4 +41,4 @@ var _chunkBSA6BJG2js = require('./chunk-BSA6BJG2.js');
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
exports.ClearButton = _chunkMXOTA42Jjs.ClearButton_default; exports.Field =
|
|
44
|
+
exports.ClearButton = _chunkMXOTA42Jjs.ClearButton_default; exports.Field = _chunkA4ET2H3Djs.Field_default; exports.FilterButton = _chunkMXOTA42Jjs.FilterButton_default; exports.FormWrapper = _chunkMXOTA42Jjs.FormWrapper_default; exports.LabelText = _chunkMXOTA42Jjs.LabelText_default; exports.ListWrapper = _chunkMXOTA42Jjs.ListWrapper_default; exports.SimpleToolbar = _chunkMXOTA42Jjs.SimpleToolbar_default; exports.api = _chunkBSA6BJG2js.api; exports.flattenObjectKeys = _chunkBSA6BJG2js.flattenObjectKeys; exports.getTimezone = _chunkBSA6BJG2js.getTimezone; exports.handleServerErrors = _chunkBSA6BJG2js.handleServerErrors; exports.propertyExists = _chunkBSA6BJG2js.propertyExists; exports.readValueAsDate = _chunkBSA6BJG2js.readValueAsDate; exports.removeLeadingTrailingSlashes = _chunkBSA6BJG2js.removeLeadingTrailingSlashes; exports.schemaTools = _chunkBSA6BJG2js.schemaTools; exports.useTransform = _chunk6JZ35VQJjs.useTransform;
|
package/dist/index.mjs
CHANGED
|
@@ -133,6 +133,7 @@ type DatePickerElementProps<TFieldValues extends FieldValues = FieldValues, TNam
|
|
|
133
133
|
control?: Control<TFieldValues>;
|
|
134
134
|
inputProps?: TextFieldProps;
|
|
135
135
|
helperText?: TextFieldProps["helperText"];
|
|
136
|
+
label?: ReactNode;
|
|
136
137
|
textReadOnly?: boolean;
|
|
137
138
|
slotProps?: Omit<DatePickerSlotProps<TValue, TEnableAccessibleFieldDOMStructure>, "textField">;
|
|
138
139
|
transform?: {
|
|
@@ -161,6 +162,8 @@ type TextFieldElementProps<TFieldValues extends FieldValues = FieldValues, TName
|
|
|
161
162
|
input?: (value: PathValue<TFieldValues, TName>) => TValue;
|
|
162
163
|
output?: (event: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => PathValue<TFieldValues, TName>;
|
|
163
164
|
};
|
|
165
|
+
label?: string;
|
|
166
|
+
placeholder?: string;
|
|
164
167
|
textFieldProps?: Omit<TextFieldProps, "name">;
|
|
165
168
|
gridProps?: Grid2Props;
|
|
166
169
|
};
|
package/dist/wrappers/index.d.ts
CHANGED
|
@@ -133,6 +133,7 @@ type DatePickerElementProps<TFieldValues extends FieldValues = FieldValues, TNam
|
|
|
133
133
|
control?: Control<TFieldValues>;
|
|
134
134
|
inputProps?: TextFieldProps;
|
|
135
135
|
helperText?: TextFieldProps["helperText"];
|
|
136
|
+
label?: ReactNode;
|
|
136
137
|
textReadOnly?: boolean;
|
|
137
138
|
slotProps?: Omit<DatePickerSlotProps<TValue, TEnableAccessibleFieldDOMStructure>, "textField">;
|
|
138
139
|
transform?: {
|
|
@@ -161,6 +162,8 @@ type TextFieldElementProps<TFieldValues extends FieldValues = FieldValues, TName
|
|
|
161
162
|
input?: (value: PathValue<TFieldValues, TName>) => TValue;
|
|
162
163
|
output?: (event: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => PathValue<TFieldValues, TName>;
|
|
163
164
|
};
|
|
165
|
+
label?: string;
|
|
166
|
+
placeholder?: string;
|
|
164
167
|
textFieldProps?: Omit<TextFieldProps, "name">;
|
|
165
168
|
gridProps?: Grid2Props;
|
|
166
169
|
};
|
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 _chunkA4ET2H3Djs = require('../chunk-A4ET2H3D.js');
|
|
4
4
|
require('../chunk-6JZ35VQJ.js');
|
|
5
5
|
require('../chunk-BSA6BJG2.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Field =
|
|
8
|
+
exports.Field = _chunkA4ET2H3Djs.Field_default;
|
package/dist/wrappers/index.mjs
CHANGED