@3sc/common-component 0.0.505 → 0.0.508
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.es.js +11 -10
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -41684,17 +41684,17 @@ Y(vh)(({ theme: e }) => ({
|
|
|
41684
41684
|
padding: "0!important"
|
|
41685
41685
|
}
|
|
41686
41686
|
}));
|
|
41687
|
-
const Qz = (e) => /* @__PURE__ */ g.jsx(Dn, { children: /* @__PURE__ */ g.jsx(l7, { ...e }) }), c7 = ({ iconUrl: e,
|
|
41688
|
-
const [
|
|
41687
|
+
const Qz = (e) => /* @__PURE__ */ g.jsx(Dn, { children: /* @__PURE__ */ g.jsx(l7, { ...e }) }), c7 = ({ iconUrl: e, placeholder: t, ...n }) => {
|
|
41688
|
+
const [r, o] = De(!1), [i, a] = De(!1), l = It(), { t: c } = lt(Na);
|
|
41689
41689
|
return /* @__PURE__ */ g.jsxs(
|
|
41690
41690
|
Te,
|
|
41691
41691
|
{
|
|
41692
41692
|
sx: {
|
|
41693
41693
|
display: "flex",
|
|
41694
41694
|
alignItems: "center",
|
|
41695
|
-
border: `0.1rem solid ${
|
|
41695
|
+
border: `0.1rem solid ${i ? l.palette.brandColor.orange : l.palette.primary.notifyBorderColor}`,
|
|
41696
41696
|
borderRadius: "0.7rem",
|
|
41697
|
-
backgroundColor:
|
|
41697
|
+
backgroundColor: l.palette.primary.notifyBackground,
|
|
41698
41698
|
height: "3.2rem",
|
|
41699
41699
|
paddingLeft: "0.5rem",
|
|
41700
41700
|
overflow: "hidden",
|
|
@@ -41722,13 +41722,13 @@ const Qz = (e) => /* @__PURE__ */ g.jsx(Dn, { children: /* @__PURE__ */ g.jsx(l7
|
|
|
41722
41722
|
{
|
|
41723
41723
|
type: "text",
|
|
41724
41724
|
onFocus: () => {
|
|
41725
|
-
|
|
41725
|
+
a(!0), o(!0);
|
|
41726
41726
|
},
|
|
41727
41727
|
onBlur: () => {
|
|
41728
|
-
|
|
41728
|
+
a(!1), o(!1);
|
|
41729
41729
|
},
|
|
41730
41730
|
initial: { width: "10rem" },
|
|
41731
|
-
animate: { width:
|
|
41731
|
+
animate: { width: r ? "13rem" : "10rem" },
|
|
41732
41732
|
transition: { duration: 0.3, ease: "easeInOut" },
|
|
41733
41733
|
style: {
|
|
41734
41734
|
height: "3.007rem",
|
|
@@ -41738,12 +41738,12 @@ const Qz = (e) => /* @__PURE__ */ g.jsx(Dn, { children: /* @__PURE__ */ g.jsx(l7
|
|
|
41738
41738
|
border: "none",
|
|
41739
41739
|
backgroundColor: "transparent",
|
|
41740
41740
|
padding: 0,
|
|
41741
|
-
color:
|
|
41741
|
+
color: l.palette.primary.notifyTextColor,
|
|
41742
41742
|
flex: 1,
|
|
41743
41743
|
transition: "height 0.1s ease"
|
|
41744
41744
|
},
|
|
41745
|
-
placeholder:
|
|
41746
|
-
...
|
|
41745
|
+
placeholder: c(t),
|
|
41746
|
+
...n
|
|
41747
41747
|
}
|
|
41748
41748
|
)
|
|
41749
41749
|
]
|
|
@@ -44016,6 +44016,7 @@ const nC = {
|
|
|
44016
44016
|
TENANT_IDS: id == null ? void 0 : id.tenant_id,
|
|
44017
44017
|
SNOP_IDS: od == null ? void 0 : od.snop_id
|
|
44018
44018
|
}, { TENANT_ID: dz, BU_ID: fz } = tC, { TENANT_IDS: pz, BU_IDS: hz } = nC, ru = async ({ baseUrl: e, payload: t }) => {
|
|
44019
|
+
console.log("setting api", e, t);
|
|
44019
44020
|
try {
|
|
44020
44021
|
const n = `${e}${nu.SETTING}/v1?${dz}=${pz}&${fz}=${hz}`;
|
|
44021
44022
|
return await kt.post(n, t, La);
|