lew-ui 2.2.2 → 2.2.3
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.mjs +4 -4
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9604,8 +9604,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
9604
9604
|
ref_key: "formItemRef",
|
|
9605
9605
|
ref: formItemRef,
|
|
9606
9606
|
style: normalizeStyle({
|
|
9607
|
-
"grid-area": _ctx.gridArea || ""
|
|
9608
|
-
"justify-content": _ctx.direction === "x" && _ctx.between ? "between" : ""
|
|
9607
|
+
"grid-area": _ctx.gridArea || ""
|
|
9609
9608
|
})
|
|
9610
9609
|
}, [
|
|
9611
9610
|
createElementVNode("div", {
|
|
@@ -9630,7 +9629,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
9630
9629
|
createElementVNode("div", {
|
|
9631
9630
|
class: normalizeClass(["lew-form-item-main", { "lew-form-item-error": unref(errMsg) }]),
|
|
9632
9631
|
style: normalizeStyle({
|
|
9633
|
-
width: _ctx.direction === "x" ? `calc(${(_a2 = unref(formItemRef)) == null ? void 0 : _a2.offsetWidth}px - ${unref(any2px)(_ctx.labelWidth)} - 10px)` : "100%"
|
|
9632
|
+
width: _ctx.direction === "x" ? `calc(${(_a2 = unref(formItemRef)) == null ? void 0 : _a2.offsetWidth}px - ${unref(any2px)(_ctx.labelWidth)} - 10px)` : "100%",
|
|
9633
|
+
justifyContent: _ctx.direction === "x" && _ctx.between ? "flex-end" : "flex-start"
|
|
9634
9634
|
})
|
|
9635
9635
|
}, [
|
|
9636
9636
|
(openBlock(), createBlock(resolveDynamicComponent(asMap[_ctx.as]), mergeProps({
|
|
@@ -9653,7 +9653,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
9653
9653
|
};
|
|
9654
9654
|
}
|
|
9655
9655
|
});
|
|
9656
|
-
const LewFormItem = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-
|
|
9656
|
+
const LewFormItem = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-83677ed8"]]);
|
|
9657
9657
|
function Cache(maxSize) {
|
|
9658
9658
|
this._maxSize = maxSize;
|
|
9659
9659
|
this.clear();
|