@leapdevuk/component-toolbox 0.0.77 → 0.0.79
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.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +86 -58
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -649,29 +649,44 @@ const af = ({
|
|
|
649
649
|
centerComponents: n,
|
|
650
650
|
rightComponents: e,
|
|
651
651
|
onClickHelp: r
|
|
652
|
-
}) => /* @__PURE__ */ g.jsxs(
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
},
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
652
|
+
}) => /* @__PURE__ */ g.jsxs(
|
|
653
|
+
"div",
|
|
654
|
+
{
|
|
655
|
+
style: {
|
|
656
|
+
alignItems: "center",
|
|
657
|
+
backgroundColor: "#fafafa",
|
|
658
|
+
borderBottom: "1px solid #d8d8d8",
|
|
659
|
+
display: "flex",
|
|
660
|
+
justifyContent: "space-between",
|
|
661
|
+
minHeight: "36px",
|
|
662
|
+
paddingLeft: "0px",
|
|
663
|
+
paddingRight: "15px"
|
|
664
|
+
},
|
|
665
|
+
children: [
|
|
666
|
+
t && /* @__PURE__ */ g.jsx(g.Fragment, { children: t }),
|
|
667
|
+
n && /* @__PURE__ */ g.jsx(g.Fragment, { children: n }),
|
|
668
|
+
e && /* @__PURE__ */ g.jsx(g.Fragment, { children: e }),
|
|
669
|
+
r && /* @__PURE__ */ g.jsx("div", { children: /* @__PURE__ */ g.jsx(ya, { placement: "bottom-end", title: "Help for this Window", children: /* @__PURE__ */ g.jsx(
|
|
670
|
+
Wo,
|
|
671
|
+
{
|
|
672
|
+
component: "button",
|
|
673
|
+
onClick: r,
|
|
674
|
+
sx: {
|
|
675
|
+
":hover": {
|
|
676
|
+
cursor: "pointer",
|
|
677
|
+
color: "#0060AC"
|
|
678
|
+
},
|
|
679
|
+
alignSelf: "center",
|
|
680
|
+
paddingRight: 1
|
|
681
|
+
},
|
|
682
|
+
underline: "hover",
|
|
683
|
+
variant: "body1",
|
|
684
|
+
children: "Help"
|
|
685
|
+
}
|
|
686
|
+
) }) })
|
|
687
|
+
]
|
|
688
|
+
}
|
|
689
|
+
), He = (t) => /* @__PURE__ */ g.jsx(
|
|
675
690
|
Ae,
|
|
676
691
|
{
|
|
677
692
|
color: t.color || "primary",
|
|
@@ -9175,41 +9190,54 @@ const go = ({
|
|
|
9175
9190
|
onClose: r,
|
|
9176
9191
|
onOK: a,
|
|
9177
9192
|
onSaveDisable: o
|
|
9178
|
-
}) => /* @__PURE__ */ g.jsxs(
|
|
9179
|
-
|
|
9180
|
-
|
|
9181
|
-
|
|
9182
|
-
|
|
9183
|
-
|
|
9184
|
-
|
|
9185
|
-
|
|
9186
|
-
|
|
9187
|
-
|
|
9188
|
-
|
|
9189
|
-
|
|
9190
|
-
|
|
9191
|
-
|
|
9192
|
-
|
|
9193
|
-
|
|
9194
|
-
|
|
9195
|
-
|
|
9196
|
-
|
|
9197
|
-
|
|
9198
|
-
|
|
9199
|
-
|
|
9200
|
-
|
|
9201
|
-
|
|
9202
|
-
|
|
9203
|
-
|
|
9204
|
-
|
|
9205
|
-
|
|
9206
|
-
|
|
9207
|
-
|
|
9208
|
-
|
|
9209
|
-
|
|
9210
|
-
|
|
9211
|
-
|
|
9212
|
-
|
|
9193
|
+
}) => /* @__PURE__ */ g.jsxs(
|
|
9194
|
+
"div",
|
|
9195
|
+
{
|
|
9196
|
+
style: {
|
|
9197
|
+
alignItems: "center",
|
|
9198
|
+
backgroundColor: "rgb(240, 241, 242)",
|
|
9199
|
+
borderTop: "1px solid #d8d8d8",
|
|
9200
|
+
display: "flex",
|
|
9201
|
+
height: "35px",
|
|
9202
|
+
padding: "12px 15px"
|
|
9203
|
+
},
|
|
9204
|
+
children: [
|
|
9205
|
+
t && /* @__PURE__ */ g.jsx(g.Fragment, { children: t }),
|
|
9206
|
+
/* @__PURE__ */ g.jsx("div", { className: "flex1" }),
|
|
9207
|
+
n && /* @__PURE__ */ g.jsx(g.Fragment, { children: n }),
|
|
9208
|
+
e && /* @__PURE__ */ g.jsx(
|
|
9209
|
+
He,
|
|
9210
|
+
{
|
|
9211
|
+
onClick: e,
|
|
9212
|
+
variant: "outlined",
|
|
9213
|
+
color: "secondary",
|
|
9214
|
+
size: "small",
|
|
9215
|
+
children: "Cancel"
|
|
9216
|
+
}
|
|
9217
|
+
),
|
|
9218
|
+
a && /* @__PURE__ */ g.jsx("div", { style: { marginRight: 5 }, children: /* @__PURE__ */ g.jsx(
|
|
9219
|
+
He,
|
|
9220
|
+
{
|
|
9221
|
+
color: "primary",
|
|
9222
|
+
disabled: o || !1,
|
|
9223
|
+
onClick: a,
|
|
9224
|
+
size: "small",
|
|
9225
|
+
children: "OK"
|
|
9226
|
+
}
|
|
9227
|
+
) }),
|
|
9228
|
+
r && /* @__PURE__ */ g.jsx(
|
|
9229
|
+
He,
|
|
9230
|
+
{
|
|
9231
|
+
variant: "outlined",
|
|
9232
|
+
color: "secondary",
|
|
9233
|
+
onClick: r,
|
|
9234
|
+
size: "small",
|
|
9235
|
+
children: "Close"
|
|
9236
|
+
}
|
|
9237
|
+
)
|
|
9238
|
+
]
|
|
9239
|
+
}
|
|
9240
|
+
), gf = ({ overlay: t }) => /* @__PURE__ */ g.jsx(g.Fragment, { children: /* @__PURE__ */ g.jsx(Qo, { open: !0, invisible: !t, style: { zIndex: 1350 }, children: /* @__PURE__ */ g.jsx(
|
|
9213
9241
|
Ko,
|
|
9214
9242
|
{
|
|
9215
9243
|
style: {
|