ra-element 0.1.4 → 0.1.5
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/README.md +8 -1
- package/lib/ra-element.css +1 -1
- package/lib/ra-element.es.js +2 -2
- package/lib/ra-element.umd.js +1 -1
- package/package.json +1 -1
package/lib/ra-element.es.js
CHANGED
|
@@ -41929,7 +41929,7 @@ const s7 = /* @__PURE__ */ H({
|
|
|
41929
41929
|
}),
|
|
41930
41930
|
emits: ["update:modelValue"],
|
|
41931
41931
|
setup(e, { expose: t }) {
|
|
41932
|
-
const n = C(() => a.cssStyle === "1" ? "
|
|
41932
|
+
const n = C(() => a.cssStyle === "1" ? "global-ra-date-picker-wrap" : ""), o = x(null), a = e, r = cm(e, "modelValue"), s = C(() => a.valueFormat ? a.valueFormat : ["year", "years"].includes(a.type) ? "YYYY" : ["month", "months"].includes(a.type) ? "MM" : ["datetime", "datetimerange"].includes(a.type) ? "YYYY-MM-DD HH:mm:ss" : ["monthrange"].includes(a.type) ? "YYYY-MM" : ["yearrange"].includes(a.type) ? "YYYY" : (["date", "dates", "daterange"].includes(a.type), "YYYY-MM-DD")), i = C(() => a.shortcuts ? a.shortcuts : ["daterange"].includes(a.type) ? [
|
|
41933
41933
|
{
|
|
41934
41934
|
text: "今年",
|
|
41935
41935
|
value: () => {
|
|
@@ -41965,7 +41965,7 @@ const s7 = /* @__PURE__ */ H({
|
|
|
41965
41965
|
}), (u, c) => {
|
|
41966
41966
|
const d = nb;
|
|
41967
41967
|
return E(), ne(d, Pe({
|
|
41968
|
-
class:
|
|
41968
|
+
class: n.value,
|
|
41969
41969
|
ref_key: "componentRef",
|
|
41970
41970
|
ref: o
|
|
41971
41971
|
}, u.$attrs, {
|