xrk-components 2.0.0-beta.20 → 2.0.0-beta.22
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/lib/index.css +1 -1
- package/lib/index.esm.js +7 -3
- package/lib/index.umd.js +7 -3
- package/package.json +1 -1
package/lib/index.css
CHANGED
|
@@ -19819,7 +19819,7 @@
|
|
|
19819
19819
|
flex-wrap: wrap;
|
|
19820
19820
|
gap: 16px;
|
|
19821
19821
|
}
|
|
19822
|
-
.xrk-form[data-v-67a1b635] {
|
|
19822
|
+
.xrk-form-grid[data-v-67a1b635] {
|
|
19823
19823
|
display: grid;
|
|
19824
19824
|
grid-template-columns: repeat(var(--column-count, 1), 1fr);
|
|
19825
19825
|
-webkit-column-gap: 24px;
|
package/lib/index.esm.js
CHANGED
|
@@ -71113,6 +71113,9 @@ var script$C = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$A
|
|
|
71113
71113
|
heightMap.set(heightSet.size, [index]);
|
|
71114
71114
|
}
|
|
71115
71115
|
});
|
|
71116
|
+
if (heightSet.size <= props.maxLine) {
|
|
71117
|
+
return;
|
|
71118
|
+
}
|
|
71116
71119
|
var hideBtnIndex = (((_b = heightMap.get(props.maxLine)) === null || _b === void 0 ? void 0 : _b.slice(-2)[0]) || 0) + 1;
|
|
71117
71120
|
var intBtnBox = function (hideIndex) {
|
|
71118
71121
|
if (hideIndex < props.btns.length) {
|
|
@@ -71298,7 +71301,7 @@ var script$A = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$y
|
|
|
71298
71301
|
var expose = _a.expose, emits = _a.emit;
|
|
71299
71302
|
var _props = __props;
|
|
71300
71303
|
var slots = (_b = getCurrentInstance()) === null || _b === void 0 ? void 0 : _b.slots;
|
|
71301
|
-
var showImageViewer = ref(
|
|
71304
|
+
var showImageViewer = ref(true);
|
|
71302
71305
|
var stopWheelListener = null;
|
|
71303
71306
|
var prevOverflow = false;
|
|
71304
71307
|
var props = _props;
|
|
@@ -73926,7 +73929,8 @@ var script$f = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$d
|
|
|
73926
73929
|
disabled: __props.disabled,
|
|
73927
73930
|
scrollToError: __props.scrollToError,
|
|
73928
73931
|
scrollIntoViewOptions: __props.scrollIntoViewOptions,
|
|
73929
|
-
style: normalizeStyle({ '--column-count': __props.columnCount })
|
|
73932
|
+
style: normalizeStyle({ '--column-count': __props.columnCount }),
|
|
73933
|
+
class: normalizeClass(__props.inline ? '' : 'xrk-form-grid')
|
|
73930
73934
|
}, {
|
|
73931
73935
|
default: withCtx(function () { return [
|
|
73932
73936
|
(Array.isArray(__props.columns) && __props.columns.length > 0)
|
|
@@ -73962,7 +73966,7 @@ var script$f = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$d
|
|
|
73962
73966
|
renderSlot(_ctx.$slots, "default")
|
|
73963
73967
|
]; }),
|
|
73964
73968
|
_: 3 /* FORWARDED */
|
|
73965
|
-
}, 8 /* PROPS */, ["model", "rules", "inline", "labelPosition", "labelWidth", "labelSuffix", "hideRequiredAsterisk", "showMessage", "inlineMessage", "statusIcon", "validateOnRuleChange", "size", "disabled", "scrollToError", "scrollIntoViewOptions", "style"]));
|
|
73969
|
+
}, 8 /* PROPS */, ["model", "rules", "inline", "labelPosition", "labelWidth", "labelSuffix", "hideRequiredAsterisk", "showMessage", "inlineMessage", "statusIcon", "validateOnRuleChange", "size", "disabled", "scrollToError", "scrollIntoViewOptions", "style", "class"]));
|
|
73966
73970
|
};
|
|
73967
73971
|
} }));
|
|
73968
73972
|
|
package/lib/index.umd.js
CHANGED
|
@@ -71116,6 +71116,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
71116
71116
|
heightMap.set(heightSet.size, [index]);
|
|
71117
71117
|
}
|
|
71118
71118
|
});
|
|
71119
|
+
if (heightSet.size <= props.maxLine) {
|
|
71120
|
+
return;
|
|
71121
|
+
}
|
|
71119
71122
|
var hideBtnIndex = (((_b = heightMap.get(props.maxLine)) === null || _b === void 0 ? void 0 : _b.slice(-2)[0]) || 0) + 1;
|
|
71120
71123
|
var intBtnBox = function (hideIndex) {
|
|
71121
71124
|
if (hideIndex < props.btns.length) {
|
|
@@ -71301,7 +71304,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
71301
71304
|
var expose = _a.expose, emits = _a.emit;
|
|
71302
71305
|
var _props = __props;
|
|
71303
71306
|
var slots = (_b = vue.getCurrentInstance()) === null || _b === void 0 ? void 0 : _b.slots;
|
|
71304
|
-
var showImageViewer = vue.ref(
|
|
71307
|
+
var showImageViewer = vue.ref(true);
|
|
71305
71308
|
var stopWheelListener = null;
|
|
71306
71309
|
var prevOverflow = false;
|
|
71307
71310
|
var props = _props;
|
|
@@ -73929,7 +73932,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
73929
73932
|
disabled: __props.disabled,
|
|
73930
73933
|
scrollToError: __props.scrollToError,
|
|
73931
73934
|
scrollIntoViewOptions: __props.scrollIntoViewOptions,
|
|
73932
|
-
style: vue.normalizeStyle({ '--column-count': __props.columnCount })
|
|
73935
|
+
style: vue.normalizeStyle({ '--column-count': __props.columnCount }),
|
|
73936
|
+
class: vue.normalizeClass(__props.inline ? '' : 'xrk-form-grid')
|
|
73933
73937
|
}, {
|
|
73934
73938
|
default: vue.withCtx(function () { return [
|
|
73935
73939
|
(Array.isArray(__props.columns) && __props.columns.length > 0)
|
|
@@ -73965,7 +73969,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
73965
73969
|
vue.renderSlot(_ctx.$slots, "default")
|
|
73966
73970
|
]; }),
|
|
73967
73971
|
_: 3 /* FORWARDED */
|
|
73968
|
-
}, 8 /* PROPS */, ["model", "rules", "inline", "labelPosition", "labelWidth", "labelSuffix", "hideRequiredAsterisk", "showMessage", "inlineMessage", "statusIcon", "validateOnRuleChange", "size", "disabled", "scrollToError", "scrollIntoViewOptions", "style"]));
|
|
73972
|
+
}, 8 /* PROPS */, ["model", "rules", "inline", "labelPosition", "labelWidth", "labelSuffix", "hideRequiredAsterisk", "showMessage", "inlineMessage", "statusIcon", "validateOnRuleChange", "size", "disabled", "scrollToError", "scrollIntoViewOptions", "style", "class"]));
|
|
73969
73973
|
};
|
|
73970
73974
|
} }));
|
|
73971
73975
|
|