@fkui/vue 5.46.0 → 5.46.2
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/cjs/index.cjs.js +10 -7
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/esm/index.esm.js +10 -7
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/types/index.d.ts +17 -0
- package/package.json +2 -2
package/dist/esm/index.esm.js
CHANGED
|
@@ -6882,6 +6882,9 @@ const _sfc_main$X = defineComponent({
|
|
|
6882
6882
|
},
|
|
6883
6883
|
errorStyle() {
|
|
6884
6884
|
return `--i-popup-error-offset: ${this.arrowOffset}px`;
|
|
6885
|
+
},
|
|
6886
|
+
teleportTarget() {
|
|
6887
|
+
return config.teleportTarget;
|
|
6885
6888
|
}
|
|
6886
6889
|
},
|
|
6887
6890
|
watch: {
|
|
@@ -6974,7 +6977,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6974
6977
|
const _component_f_icon = resolveComponent("f-icon");
|
|
6975
6978
|
return _ctx.isOpen ? (openBlock(), createBlock(Teleport, {
|
|
6976
6979
|
key: 0,
|
|
6977
|
-
to:
|
|
6980
|
+
to: _ctx.teleportTarget,
|
|
6978
6981
|
disabled: _ctx.teleportDisabled
|
|
6979
6982
|
}, [createElementVNode("div", {
|
|
6980
6983
|
ref: "popup",
|
|
@@ -6992,7 +6995,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6992
6995
|
}, [createVNode(_component_f_icon, {
|
|
6993
6996
|
name: "close",
|
|
6994
6997
|
class: "button__icon"
|
|
6995
|
-
})])], 6)], 512)], 2)], 8, ["disabled"])) : createCommentVNode("", true);
|
|
6998
|
+
})])], 6)], 512)], 2)], 8, ["to", "disabled"])) : createCommentVNode("", true);
|
|
6996
6999
|
}
|
|
6997
7000
|
const IPopupError = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$K]]);
|
|
6998
7001
|
function numItems(itemHeight, availableHeight, verticalSpacing) {
|
|
@@ -17258,10 +17261,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17258
17261
|
class: "wizard-step-body",
|
|
17259
17262
|
onSubmit: _ctx.onSubmit
|
|
17260
17263
|
}, {
|
|
17261
|
-
"error-message": withCtx(() => [renderSlot(_ctx.$slots, "error-message",
|
|
17262
|
-
stepNumber: _ctx.stepNumber,
|
|
17263
|
-
totalSteps: _ctx.totalSteps
|
|
17264
|
-
})), () => [createTextVNode(toDisplayString(_ctx.$t("fkui.wizard-step.errorlist.title", "Oj, du har glömt att fylla i något. Gå till:")), 1)])]),
|
|
17264
|
+
"error-message": withCtx(() => [renderSlot(_ctx.$slots, "error-message", {}, () => [createTextVNode(toDisplayString(_ctx.$t("fkui.wizard-step.errorlist.title", "Oj, du har glömt att fylla i något. Gå till:")), 1)])]),
|
|
17265
17265
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default"), _cache[14] || (_cache[14] = createTextVNode()), createElementVNode("div", _hoisted_10, [createElementVNode("button", {
|
|
17266
17266
|
"data-test": "submit-button",
|
|
17267
17267
|
"data-disabled": _ctx.ignoreClick ? "true" : "false",
|
|
@@ -17279,7 +17279,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17279
17279
|
type: "button",
|
|
17280
17280
|
class: "button button--secondary button-group__item button--large",
|
|
17281
17281
|
onClick: _cache[2] || (_cache[2] = (...args) => _ctx.onCancel && _ctx.onCancel(...args))
|
|
17282
|
-
}, [renderSlot(_ctx.$slots, "cancel-button-text",
|
|
17282
|
+
}, [renderSlot(_ctx.$slots, "cancel-button-text", normalizeProps(guardReactiveProps({
|
|
17283
|
+
stepNumber: _ctx.stepNumber,
|
|
17284
|
+
totalSteps: _ctx.totalSteps
|
|
17285
|
+
})), () => [createTextVNode(toDisplayString(_ctx.$t("fkui.wizard-step.button.cancel.text", "Avbryt")), 1)])])])]),
|
|
17283
17286
|
_: 3
|
|
17284
17287
|
}, 8, ["id", "before-submit", "before-validation", "use-error-list", "onSubmit"])]),
|
|
17285
17288
|
_: 3
|