@3sc/common-component 0.0.378 → 0.0.380
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 +9 -12
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -40293,17 +40293,14 @@ const p8 = ({ color: e }) => /* @__PURE__ */ g.jsx("svg", { width: "7", height:
|
|
|
40293
40293
|
}, _ = (I) => {
|
|
40294
40294
|
k(new Date(I, b.getMonth())), P("month");
|
|
40295
40295
|
}, $ = (I) => {
|
|
40296
|
-
if (
|
|
40297
|
-
|
|
40298
|
-
|
|
40299
|
-
|
|
40300
|
-
|
|
40301
|
-
|
|
40302
|
-
|
|
40303
|
-
|
|
40304
|
-
f ? O(X) : r == null || r(X);
|
|
40305
|
-
} else
|
|
40306
|
-
f ? O(I) : r == null || r(I), M();
|
|
40296
|
+
if (I)
|
|
40297
|
+
if (t === "range")
|
|
40298
|
+
f ? O(I) : r == null || r(I);
|
|
40299
|
+
else if (t === "multiple") {
|
|
40300
|
+
const X = [...Array.isArray(I) ? I : [I]];
|
|
40301
|
+
f ? O(X) : r == null || r(X);
|
|
40302
|
+
} else
|
|
40303
|
+
f ? O(I) : (r == null || r(I), M());
|
|
40307
40304
|
}, F = ({ orientation: I, className: V, disabled: X }) => /* @__PURE__ */ g.jsx(
|
|
40308
40305
|
be,
|
|
40309
40306
|
{
|
|
@@ -40322,7 +40319,7 @@ const p8 = ({ color: e }) => /* @__PURE__ */ g.jsx("svg", { width: "7", height:
|
|
|
40322
40319
|
), L = (I) => {
|
|
40323
40320
|
var Y;
|
|
40324
40321
|
const { options: V, value: X } = I ?? {}, ee = (V == null ? void 0 : V.length) !== 12, H = (Y = V == null ? void 0 : V.find((oe) => (oe == null ? void 0 : oe.value) === X)) == null ? void 0 : Y.label, Z = () => {
|
|
40325
|
-
P(
|
|
40322
|
+
P("year");
|
|
40326
40323
|
};
|
|
40327
40324
|
return /* @__PURE__ */ g.jsxs(
|
|
40328
40325
|
ft,
|