@mcurros2/microm 1.1.80-0 → 1.1.82-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.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +48 -52
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -45940,7 +45940,9 @@ function $d79003fd5611c3b6$export$66b3c1a9709bd8fc(_a) {
|
|
|
45940
45940
|
]
|
|
45941
45941
|
}),
|
|
45942
45942
|
size: modalFormSize,
|
|
45943
|
-
withFullscreenButton: withModalFullscreenButton
|
|
45943
|
+
withFullscreenButton: withModalFullscreenButton,
|
|
45944
|
+
closeOnClickOutside: false,
|
|
45945
|
+
closeOnEscape: true
|
|
45944
45946
|
},
|
|
45945
45947
|
onClosed: handleModalClosed,
|
|
45946
45948
|
focusOnClosed: element,
|
|
@@ -46140,58 +46142,52 @@ const $fd210d71b523c65e$export$4fef1edbf0f012ef = /*#__PURE__*/ (0, $b4te3$react
|
|
|
46140
46142
|
// When all the items are selected and the multiselect is in a modal and it has autofocus
|
|
46141
46143
|
// you will need to press escape two time to close the modal
|
|
46142
46144
|
// this is because it uses a popover with closeOnEscape and it traps escape even if the list is not shown
|
|
46143
|
-
return (0, $b4te3$reactjsxruntime.jsx)(
|
|
46144
|
-
|
|
46145
|
-
|
|
46146
|
-
|
|
46147
|
-
|
|
46148
|
-
|
|
46149
|
-
|
|
46150
|
-
|
|
46151
|
-
|
|
46152
|
-
|
|
46153
|
-
|
|
46154
|
-
|
|
46145
|
+
return (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.MultiSelect), Object.assign({
|
|
46146
|
+
icon: (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconSearch), {
|
|
46147
|
+
size: "1.1rem",
|
|
46148
|
+
stroke: 1.5
|
|
46149
|
+
}),
|
|
46150
|
+
radius: "xl",
|
|
46151
|
+
size: size,
|
|
46152
|
+
styles: ()=>({
|
|
46153
|
+
searchInput: {
|
|
46154
|
+
lineHeight: "unset"
|
|
46155
|
+
},
|
|
46156
|
+
value: {
|
|
46157
|
+
minHeight: "1.4rem"
|
|
46158
|
+
},
|
|
46159
|
+
defaultValue: {
|
|
46160
|
+
paddingBottom: "0.1rem"
|
|
46161
|
+
}
|
|
46162
|
+
} // Fix the 'ggg' being cut off and vertical alignment
|
|
46163
|
+
),
|
|
46164
|
+
rightSection: (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.ActionIcon), {
|
|
46155
46165
|
size: size,
|
|
46156
|
-
|
|
46157
|
-
|
|
46158
|
-
|
|
46159
|
-
|
|
46160
|
-
|
|
46161
|
-
|
|
46162
|
-
|
|
46163
|
-
|
|
46164
|
-
|
|
46165
|
-
|
|
46166
|
-
|
|
46167
|
-
|
|
46168
|
-
|
|
46169
|
-
|
|
46170
|
-
|
|
46171
|
-
|
|
46172
|
-
|
|
46173
|
-
|
|
46174
|
-
|
|
46175
|
-
|
|
46176
|
-
|
|
46177
|
-
|
|
46178
|
-
|
|
46179
|
-
|
|
46180
|
-
|
|
46181
|
-
}),
|
|
46182
|
-
rightSectionWidth: 42,
|
|
46183
|
-
value: value,
|
|
46184
|
-
onChange: onChange,
|
|
46185
|
-
onSearchChange: onSearchChange,
|
|
46186
|
-
onCreate: onCreate,
|
|
46187
|
-
placeholder: placeholder,
|
|
46188
|
-
creatable: true,
|
|
46189
|
-
searchable: true,
|
|
46190
|
-
getCreateLabel: (newValue)=>`${addFilterLabel} ${newValue}`,
|
|
46191
|
-
"data-autofocus": autoFocus,
|
|
46192
|
-
autoFocus: autoFocus
|
|
46193
|
-
}, rest))
|
|
46194
|
-
});
|
|
46166
|
+
radius: "xl",
|
|
46167
|
+
color: theme.primaryColor,
|
|
46168
|
+
variant: iconVariant,
|
|
46169
|
+
onClick: (e)=>onSearchClick(e),
|
|
46170
|
+
children: theme.dir === "ltr" ? (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconArrowRight), {
|
|
46171
|
+
size: iconsSize,
|
|
46172
|
+
stroke: 1.5
|
|
46173
|
+
}) : (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconArrowLeft), {
|
|
46174
|
+
size: iconsSize,
|
|
46175
|
+
stroke: 1.5
|
|
46176
|
+
})
|
|
46177
|
+
}),
|
|
46178
|
+
rightSectionWidth: 42,
|
|
46179
|
+
value: value,
|
|
46180
|
+
onChange: onChange,
|
|
46181
|
+
onSearchChange: onSearchChange,
|
|
46182
|
+
onCreate: onCreate,
|
|
46183
|
+
placeholder: placeholder,
|
|
46184
|
+
creatable: true,
|
|
46185
|
+
searchable: true,
|
|
46186
|
+
getCreateLabel: (newValue)=>`${addFilterLabel} ${newValue}`,
|
|
46187
|
+
"data-autofocus": autoFocus,
|
|
46188
|
+
autoFocus: autoFocus,
|
|
46189
|
+
ref: ref
|
|
46190
|
+
}, rest));
|
|
46195
46191
|
});
|
|
46196
46192
|
|
|
46197
46193
|
});
|