@mcurros2/microm 1.1.462-0 → 1.1.464-0
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/index.js +37 -27
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -35428,34 +35428,44 @@ function $9d29608dc6ae79e3$export$7c17b3a1430b33c0(props) {
|
|
|
35428
35428
|
},
|
|
35429
35429
|
align: "flex-start",
|
|
35430
35430
|
children: [
|
|
35431
|
-
|
|
35432
|
-
|
|
35433
|
-
|
|
35434
|
-
|
|
35435
|
-
/*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.TextInput), {
|
|
35436
|
-
ref: inputRef,
|
|
35437
|
-
size: size,
|
|
35431
|
+
/*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsxs)((0, $b4te3$mantinecore.Group), {
|
|
35432
|
+
style: {
|
|
35433
|
+
flexGrow: 1
|
|
35434
|
+
},
|
|
35438
35435
|
maw: idMaxWidth,
|
|
35439
|
-
|
|
35440
|
-
|
|
35441
|
-
|
|
35442
|
-
|
|
35443
|
-
|
|
35444
|
-
|
|
35445
|
-
|
|
35446
|
-
|
|
35447
|
-
|
|
35448
|
-
|
|
35449
|
-
|
|
35450
|
-
|
|
35451
|
-
|
|
35452
|
-
|
|
35453
|
-
|
|
35454
|
-
|
|
35455
|
-
|
|
35456
|
-
|
|
35457
|
-
|
|
35458
|
-
|
|
35436
|
+
children: [
|
|
35437
|
+
editLastLevelOnly && /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.TextInput), {
|
|
35438
|
+
readOnly: true,
|
|
35439
|
+
value: lookupAPI.keyPrefix
|
|
35440
|
+
}),
|
|
35441
|
+
/*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.TextInput), {
|
|
35442
|
+
ref: inputRef,
|
|
35443
|
+
size: size,
|
|
35444
|
+
sx: {
|
|
35445
|
+
flexGrow: 1
|
|
35446
|
+
},
|
|
35447
|
+
readOnly: readonlyCondition || entityForm.formMode === 'view' || lookupAPI.status.loading || entityForm.status.loading,
|
|
35448
|
+
autoFocus: autoFocus === 'autoFocusOnAdd' ? addAutofocus : autoFocus === 'autoFocusOnEdit' ? editAutofocus : autoFocus,
|
|
35449
|
+
"data-autofocus": autoFocus === 'autoFocusOnAdd' ? addAutofocus : autoFocus === 'autoFocusOnEdit' ? editAutofocus : autoFocus,
|
|
35450
|
+
disabled: disabled,
|
|
35451
|
+
rightSection: /*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.ActionIcon), {
|
|
35452
|
+
color: theme.primaryColor,
|
|
35453
|
+
disabled: readonlyCondition || entityForm.formMode === 'view' || lookupAPI.status.loading || entityForm.status.loading,
|
|
35454
|
+
onClick: async ()=>{
|
|
35455
|
+
if (readonlyCondition || entityForm.formMode === 'view' || lookupAPI.status.loading || entityForm.status.loading) return;
|
|
35456
|
+
await lookupAPI.onBlur(significantColumn.name, true);
|
|
35457
|
+
},
|
|
35458
|
+
variant: iconVariant,
|
|
35459
|
+
size: "md",
|
|
35460
|
+
children: icon
|
|
35461
|
+
}),
|
|
35462
|
+
...lookupAPI.lookupInputProps,
|
|
35463
|
+
onBlur: async (event)=>{
|
|
35464
|
+
await lookupAPI.onBlur(significantColumn.name, false, event);
|
|
35465
|
+
}
|
|
35466
|
+
}, `${entity.name}${significantColumn.name}Compound`)
|
|
35467
|
+
]
|
|
35468
|
+
}),
|
|
35459
35469
|
/*#__PURE__*/ (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Group), {
|
|
35460
35470
|
style: {
|
|
35461
35471
|
flexGrow: 1
|