@topconsultnpm/sdkui-react-beta 6.11.76 → 6.11.77
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.
@@ -128,21 +128,23 @@ const TMSaveForm = ({ id, formMode = FormModes.Update, showToolbar = true, skipI
|
|
128
128
|
alignItems: "center",
|
129
129
|
width: "100%",
|
130
130
|
height: "calc(100% - 40px)",
|
131
|
-
backgroundColor: "#F4F6F9"
|
131
|
+
backgroundColor: "#F4F6F9",
|
132
|
+
overflow: "hidden",
|
132
133
|
}, children: _jsxs("div", { style: {
|
133
134
|
display: "flex",
|
134
135
|
flexDirection: "row",
|
135
136
|
alignItems: "center",
|
136
137
|
gap: "15px",
|
137
138
|
backgroundColor: "#ffffff",
|
138
|
-
padding: "
|
139
|
+
padding: "20px",
|
139
140
|
borderRadius: "12px",
|
140
141
|
boxShadow: "0px 8px 20px rgba(0, 0, 0, 0.1)",
|
141
142
|
border: "1px solid #E0E6ED",
|
142
|
-
minWidth: "
|
143
|
+
minWidth: "280px",
|
143
144
|
maxWidth: "90%",
|
144
|
-
textAlign: "center"
|
145
|
-
|
145
|
+
textAlign: "center",
|
146
|
+
flexWrap: "wrap",
|
147
|
+
}, children: [_jsx("img", { style: { borderRadius: "8px", width: "60px", height: "75px", objectFit: "cover" }, src: toppy, alt: "" }), _jsx("div", { style: { fontSize: "18px", fontWeight: "500", color: "#333", flex: "1" }, children: SDKUI_Localizator.SaveQuestion })] }) }), _jsx(TMLayoutItem, { height: '40px', children: _jsxs("div", { style: { position: "relative", display: "flex", flexDirection: "row", justifyContent: "flex-end", alignItems: "center", gap: "5px", padding: "5px", userSelect: "none", borderTop: "1px solid #f3f3f3", backgroundColor: "#ffffff", zIndex: 100, }, children: [_jsx(TMButton, { caption: SDKUI_Localizator.Yes, fontSize: '1.1rem', color: 'primaryOutline', btnStyle: 'text', onClick: async () => {
|
146
148
|
deviceType === DeviceType.MOBILE ? (await onSaveAsync?.(), setShowList(true), onShowList?.(true)) : await onSaveAsync?.();
|
147
149
|
setShowConfirmForClose(false);
|
148
150
|
onClose?.();
|