@fkui/vue 6.2.0 → 6.3.0
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 +852 -386
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/esm/index.esm.js +853 -387
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/types/index.d.ts +121 -63
- package/dist/types/tsdoc-metadata.json +1 -1
- package/htmlvalidate/elements/components.js +20 -0
- package/htmlvalidate/elements/internal-components.js +1 -0
- package/package.json +6 -6
- package/tsconfig-consumer.json +1 -3
package/dist/esm/index.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, renderSlot, mergeProps, createTextVNode, createElementVNode, createApp, resolveComponent, createCommentVNode, withKeys, createVNode, toDisplayString, createBlock, withCtx, Fragment, renderList, withModifiers, isVNode, Comment, getCurrentInstance, resolveDynamicComponent, onMounted, toValue, onUnmounted, useSlots, ref, normalizeProps, guardReactiveProps, unref, Transition, Teleport, normalizeStyle, useTemplateRef, watchEffect, watch, nextTick, withDirectives, vShow, readonly, inject, toRef, provide, createSlots, vModelSelect, vModelDynamic, toHandlers, shallowRef, onUpdated, toRefs } from "vue";
|
|
1
|
+
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, renderSlot, mergeProps, createTextVNode, createElementVNode, createApp, resolveComponent, createCommentVNode, withKeys, createVNode, toDisplayString, createBlock, withCtx, Fragment, renderList, withModifiers, isVNode, Comment, getCurrentInstance, resolveDynamicComponent, onMounted, toValue, onUnmounted, useSlots, ref, normalizeProps, guardReactiveProps, unref, Transition, Teleport, normalizeStyle, useTemplateRef, watchEffect, watch, nextTick, withDirectives, vShow, readonly, inject, toRef, provide, createSlots, vModelSelect, vModelDynamic, toHandlers, shallowRef, onUpdated, toRefs, getCurrentScope, onScopeDispose, defineCustomElement } from "vue";
|
|
2
2
|
import { TranslationService, isSet, configLogic, focus as focus$1, ElementIdService, findTabbableElements, popFocus, pushFocus, scrollTo, documentOrderComparator, ValidationService, isValidatableHTMLElement, alertScreenReader, debounce, handleTab, isEmpty, deepClone, parseNumber, formatNumber, parseBankAccountNumber, parseBankgiro, parseClearingNumber, parsePersonnummer, formatPersonnummer, parsePlusgiro, formatPostalCode, parsePercent, formatPercent, parseOrganisationsnummer, isInvalidDatesConfig, isInvalidWeekdaysConfig, parseDate, waitForScreenReader, focusFirst, removeFocusListener, restoreFocus, saveFocus, addFocusListener, DomUtils } from "@fkui/logic";
|
|
3
3
|
import { groupByWeek, getWeekdayNamings, FDate, DateFormat } from "@fkui/date";
|
|
4
4
|
const statuses = ["default", "warning", "error", "success", "info"];
|
|
5
|
-
const _sfc_main$
|
|
5
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "FBadge",
|
|
7
7
|
props: {
|
|
8
8
|
/**
|
|
@@ -160,10 +160,10 @@ function requireClassofRaw() {
|
|
|
160
160
|
if (hasRequiredClassofRaw) return classofRaw;
|
|
161
161
|
hasRequiredClassofRaw = 1;
|
|
162
162
|
var uncurryThis = requireFunctionUncurryThis();
|
|
163
|
-
var
|
|
163
|
+
var toString2 = uncurryThis({}.toString);
|
|
164
164
|
var stringSlice = uncurryThis("".slice);
|
|
165
165
|
classofRaw = function(it) {
|
|
166
|
-
return stringSlice(
|
|
166
|
+
return stringSlice(toString2(it), 8, -1);
|
|
167
167
|
};
|
|
168
168
|
return classofRaw;
|
|
169
169
|
}
|
|
@@ -232,16 +232,16 @@ function requireIsCallable() {
|
|
|
232
232
|
};
|
|
233
233
|
return isCallable;
|
|
234
234
|
}
|
|
235
|
-
var isObject;
|
|
235
|
+
var isObject$1;
|
|
236
236
|
var hasRequiredIsObject$1;
|
|
237
237
|
function requireIsObject$1() {
|
|
238
|
-
if (hasRequiredIsObject$1) return isObject;
|
|
238
|
+
if (hasRequiredIsObject$1) return isObject$1;
|
|
239
239
|
hasRequiredIsObject$1 = 1;
|
|
240
240
|
var isCallable2 = requireIsCallable();
|
|
241
|
-
isObject = function(it) {
|
|
241
|
+
isObject$1 = function(it) {
|
|
242
242
|
return typeof it == "object" ? it !== null : isCallable2(it);
|
|
243
243
|
};
|
|
244
|
-
return isObject;
|
|
244
|
+
return isObject$1;
|
|
245
245
|
}
|
|
246
246
|
var getBuiltIn;
|
|
247
247
|
var hasRequiredGetBuiltIn;
|
|
@@ -449,10 +449,10 @@ function requireSharedStore() {
|
|
|
449
449
|
var SHARED = "__core-js_shared__";
|
|
450
450
|
var store = sharedStore.exports = globalThis2[SHARED] || defineGlobalProperty2(SHARED, {});
|
|
451
451
|
(store.versions || (store.versions = [])).push({
|
|
452
|
-
version: "3.
|
|
452
|
+
version: "3.41.0",
|
|
453
453
|
mode: IS_PURE ? "pure" : "global",
|
|
454
454
|
copyright: "© 2014-2025 Denis Pushkarev (zloirock.ru)",
|
|
455
|
-
license: "https://github.com/zloirock/core-js/blob/v3.
|
|
455
|
+
license: "https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",
|
|
456
456
|
source: "https://github.com/zloirock/core-js"
|
|
457
457
|
});
|
|
458
458
|
return sharedStore.exports;
|
|
@@ -501,9 +501,9 @@ function requireUid() {
|
|
|
501
501
|
var uncurryThis = requireFunctionUncurryThis();
|
|
502
502
|
var id = 0;
|
|
503
503
|
var postfix = Math.random();
|
|
504
|
-
var
|
|
504
|
+
var toString2 = uncurryThis(1 .toString);
|
|
505
505
|
uid = function(key) {
|
|
506
|
-
return "Symbol(" + (key === void 0 ? "" : key) + ")_" +
|
|
506
|
+
return "Symbol(" + (key === void 0 ? "" : key) + ")_" + toString2(++id + postfix, 36);
|
|
507
507
|
};
|
|
508
508
|
return uid;
|
|
509
509
|
}
|
|
@@ -918,7 +918,7 @@ function requireMakeBuiltIn() {
|
|
|
918
918
|
}
|
|
919
919
|
return value;
|
|
920
920
|
};
|
|
921
|
-
Function.prototype.toString = makeBuiltIn$1(function
|
|
921
|
+
Function.prototype.toString = makeBuiltIn$1(function toString2() {
|
|
922
922
|
return isCallable2(this) && getInternalState(this).source || inspectSource2(this);
|
|
923
923
|
}, "toString");
|
|
924
924
|
return makeBuiltIn.exports;
|
|
@@ -1881,7 +1881,7 @@ function requireEs_array_push() {
|
|
|
1881
1881
|
requireEs_array_push();
|
|
1882
1882
|
const Flip = ["horizontal", "vertical"];
|
|
1883
1883
|
const Rotate = ["90", "180", "270"];
|
|
1884
|
-
const _sfc_main$
|
|
1884
|
+
const _sfc_main$1d = defineComponent({
|
|
1885
1885
|
name: "FIcon",
|
|
1886
1886
|
inheritAttrs: false,
|
|
1887
1887
|
props: {
|
|
@@ -1969,8 +1969,8 @@ const _export_sfc = (sfc, props) => {
|
|
|
1969
1969
|
}
|
|
1970
1970
|
return target;
|
|
1971
1971
|
};
|
|
1972
|
-
const _hoisted_1$
|
|
1973
|
-
const _hoisted_2$
|
|
1972
|
+
const _hoisted_1$X = ["aria-hidden"];
|
|
1973
|
+
const _hoisted_2$G = ["xlink:href"];
|
|
1974
1974
|
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1975
1975
|
return openBlock(), createElementBlock("svg", mergeProps(_ctx.$attrs, {
|
|
1976
1976
|
focusable: "false",
|
|
@@ -1978,9 +1978,9 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1978
1978
|
"aria-hidden": _ctx.ariaHidden
|
|
1979
1979
|
}), [renderSlot(_ctx.$slots, "default"), _cache[0] || (_cache[0] = createTextVNode()), createElementVNode("use", {
|
|
1980
1980
|
"xlink:href": _ctx.spriteId
|
|
1981
|
-
}, null, 8, _hoisted_2$
|
|
1981
|
+
}, null, 8, _hoisted_2$G)], 16, _hoisted_1$X);
|
|
1982
1982
|
}
|
|
1983
|
-
const FIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1983
|
+
const FIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$R]]);
|
|
1984
1984
|
const DATA_TEST_ATTRIBUTE_NAME = "data-test";
|
|
1985
1985
|
function throwErrorIfEmpty(value) {
|
|
1986
1986
|
if (!value) {
|
|
@@ -4418,7 +4418,7 @@ function elementIsRadioButton(element) {
|
|
|
4418
4418
|
function isHTMLInputElement(element) {
|
|
4419
4419
|
return element instanceof HTMLInputElement;
|
|
4420
4420
|
}
|
|
4421
|
-
const _sfc_main$
|
|
4421
|
+
const _sfc_main$1c = defineComponent({
|
|
4422
4422
|
name: "FModal",
|
|
4423
4423
|
components: {
|
|
4424
4424
|
FIcon
|
|
@@ -4598,8 +4598,8 @@ const _sfc_main$1a = defineComponent({
|
|
|
4598
4598
|
}
|
|
4599
4599
|
}
|
|
4600
4600
|
});
|
|
4601
|
-
const _hoisted_1$
|
|
4602
|
-
const _hoisted_2$
|
|
4601
|
+
const _hoisted_1$W = ["id"];
|
|
4602
|
+
const _hoisted_2$F = {
|
|
4603
4603
|
class: "modal__backdrop"
|
|
4604
4604
|
};
|
|
4605
4605
|
const _hoisted_3$w = {
|
|
@@ -4628,7 +4628,7 @@ const _hoisted_8$8 = {
|
|
|
4628
4628
|
const _hoisted_9$6 = {
|
|
4629
4629
|
class: "modal__footer"
|
|
4630
4630
|
};
|
|
4631
|
-
const _hoisted_10$
|
|
4631
|
+
const _hoisted_10$3 = {
|
|
4632
4632
|
class: "modal__shelf"
|
|
4633
4633
|
};
|
|
4634
4634
|
const _hoisted_11$3 = ["aria-label"];
|
|
@@ -4638,7 +4638,7 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4638
4638
|
key: 0,
|
|
4639
4639
|
id: _ctx.id,
|
|
4640
4640
|
class: normalizeClass(["modal", _ctx.modalClass])
|
|
4641
|
-
}, [createElementVNode("div", _hoisted_2$
|
|
4641
|
+
}, [createElementVNode("div", _hoisted_2$F, [createElementVNode("div", {
|
|
4642
4642
|
class: "modal__outer-container scroll-target",
|
|
4643
4643
|
tabindex: "-1",
|
|
4644
4644
|
role: "dialog",
|
|
@@ -4650,7 +4650,7 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4650
4650
|
}, [createElementVNode("div", _hoisted_4$q, [createElementVNode("div", _hoisted_5$l, [createElementVNode("div", _hoisted_6$g, [createElementVNode("div", {
|
|
4651
4651
|
tabindex: "0",
|
|
4652
4652
|
onFocus: _cache[0] || (_cache[0] = (...args) => _ctx.onFocusFirst && _ctx.onFocusFirst(...args))
|
|
4653
|
-
}, null, 32), _cache[4] || (_cache[4] = createTextVNode()), _ctx.hasHeaderSlot ? (openBlock(), createElementBlock("h1", _hoisted_7$d, [renderSlot(_ctx.$slots, "header")], 512)) : createCommentVNode("", true)]), _cache[5] || (_cache[5] = createTextVNode()), createElementVNode("div", _hoisted_8$8, [renderSlot(_ctx.$slots, "content")], 512), _cache[6] || (_cache[6] = createTextVNode()), createElementVNode("div", _hoisted_9$6, [renderSlot(_ctx.$slots, "footer")])]), _cache[9] || (_cache[9] = createTextVNode()), createElementVNode("div", _hoisted_10$
|
|
4653
|
+
}, null, 32), _cache[4] || (_cache[4] = createTextVNode()), _ctx.hasHeaderSlot ? (openBlock(), createElementBlock("h1", _hoisted_7$d, [renderSlot(_ctx.$slots, "header")], 512)) : createCommentVNode("", true)]), _cache[5] || (_cache[5] = createTextVNode()), createElementVNode("div", _hoisted_8$8, [renderSlot(_ctx.$slots, "content")], 512), _cache[6] || (_cache[6] = createTextVNode()), createElementVNode("div", _hoisted_9$6, [renderSlot(_ctx.$slots, "footer")])]), _cache[9] || (_cache[9] = createTextVNode()), createElementVNode("div", _hoisted_10$3, [createElementVNode("button", {
|
|
4654
4654
|
type: "button",
|
|
4655
4655
|
class: "close-button",
|
|
4656
4656
|
"aria-label": _ctx.ariaCloseText,
|
|
@@ -4660,9 +4660,9 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4660
4660
|
})], 8, _hoisted_11$3), _cache[8] || (_cache[8] = createTextVNode()), createElementVNode("div", {
|
|
4661
4661
|
tabindex: "0",
|
|
4662
4662
|
onFocus: _cache[2] || (_cache[2] = (...args) => _ctx.onFocusLast && _ctx.onFocusLast(...args))
|
|
4663
|
-
}, null, 32)])])], 2)])], 32)])], 10, _hoisted_1$
|
|
4663
|
+
}, null, 32)])])], 2)])], 32)])], 10, _hoisted_1$W)) : createCommentVNode("", true);
|
|
4664
4664
|
}
|
|
4665
|
-
const FModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4665
|
+
const FModal = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$Q]]);
|
|
4666
4666
|
function prepareButtonList(src, buttonOrder = config.buttonOrder) {
|
|
4667
4667
|
const list = src.map((it) => {
|
|
4668
4668
|
var _it$event, _ref, _it$reason, _it$type;
|
|
@@ -4691,7 +4691,7 @@ const defaultButtons = [{
|
|
|
4691
4691
|
event: "dismiss",
|
|
4692
4692
|
type: "secondary"
|
|
4693
4693
|
}];
|
|
4694
|
-
const _sfc_main$
|
|
4694
|
+
const _sfc_main$1b = defineComponent({
|
|
4695
4695
|
name: "FConfirmModal",
|
|
4696
4696
|
components: {
|
|
4697
4697
|
FModal
|
|
@@ -4795,10 +4795,10 @@ const _sfc_main$19 = defineComponent({
|
|
|
4795
4795
|
}
|
|
4796
4796
|
}
|
|
4797
4797
|
});
|
|
4798
|
-
const _hoisted_1$
|
|
4798
|
+
const _hoisted_1$V = {
|
|
4799
4799
|
class: "button-group"
|
|
4800
4800
|
};
|
|
4801
|
-
const _hoisted_2$
|
|
4801
|
+
const _hoisted_2$E = ["onClick"];
|
|
4802
4802
|
const _hoisted_3$v = {
|
|
4803
4803
|
key: 0,
|
|
4804
4804
|
class: "sr-only"
|
|
@@ -4816,22 +4816,22 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4816
4816
|
}, {
|
|
4817
4817
|
header: withCtx(() => [renderSlot(_ctx.$slots, "heading", {}, () => [createTextVNode(toDisplayString(_ctx.heading), 1)])]),
|
|
4818
4818
|
content: withCtx(() => [renderSlot(_ctx.$slots, "content", {}, () => [createTextVNode(toDisplayString(_ctx.content), 1)])]),
|
|
4819
|
-
footer: withCtx(() => [createElementVNode("div", _hoisted_1$
|
|
4819
|
+
footer: withCtx(() => [createElementVNode("div", _hoisted_1$V, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.preparedButtons, (button) => {
|
|
4820
4820
|
return openBlock(), createElementBlock("button", {
|
|
4821
4821
|
key: button.label,
|
|
4822
4822
|
type: "button",
|
|
4823
4823
|
class: normalizeClass([button.classlist, "button-group__item"]),
|
|
4824
4824
|
onClick: ($event) => _ctx.onClick(button)
|
|
4825
|
-
}, [createElementVNode("span", null, toDisplayString(button.label), 1), _cache[0] || (_cache[0] = createTextVNode()), button.screenreader ? (openBlock(), createElementBlock("span", _hoisted_3$v, " " + toDisplayString(button.screenreader), 1)) : createCommentVNode("", true)], 10, _hoisted_2$
|
|
4825
|
+
}, [createElementVNode("span", null, toDisplayString(button.label), 1), _cache[0] || (_cache[0] = createTextVNode()), button.screenreader ? (openBlock(), createElementBlock("span", _hoisted_3$v, " " + toDisplayString(button.screenreader), 1)) : createCommentVNode("", true)], 10, _hoisted_2$E);
|
|
4826
4826
|
}), 128))])]),
|
|
4827
4827
|
_: 3
|
|
4828
4828
|
}, 8, ["fullscreen", "is-open", "aria-close-text", "size", "focus", "onClose"]);
|
|
4829
4829
|
}
|
|
4830
|
-
const FConfirmModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4830
|
+
const FConfirmModal = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$P]]);
|
|
4831
4831
|
const GAP = ["1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x"];
|
|
4832
4832
|
const ALIGNMENT = ["top", "center", "bottom"];
|
|
4833
4833
|
const FLOAT = ["left", "center", "right"];
|
|
4834
|
-
const _sfc_main$
|
|
4834
|
+
const _sfc_main$1a = defineComponent({
|
|
4835
4835
|
name: "IFlex",
|
|
4836
4836
|
inheritAttrs: true,
|
|
4837
4837
|
props: {
|
|
@@ -4911,8 +4911,8 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4911
4911
|
class: normalizeClass(["iflex", _ctx.classList])
|
|
4912
4912
|
}, [renderSlot(_ctx.$slots, "default")], 2);
|
|
4913
4913
|
}
|
|
4914
|
-
const IFlex = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4915
|
-
const _sfc_main$
|
|
4914
|
+
const IFlex = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$O]]);
|
|
4915
|
+
const _sfc_main$19 = defineComponent({
|
|
4916
4916
|
name: "IFlexItem",
|
|
4917
4917
|
inheritAttrs: true,
|
|
4918
4918
|
props: {
|
|
@@ -4964,7 +4964,7 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4964
4964
|
class: normalizeClass(["iflex__item", _ctx.classList])
|
|
4965
4965
|
}, [renderSlot(_ctx.$slots, "default")], 2);
|
|
4966
4966
|
}
|
|
4967
|
-
const IFlexItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4967
|
+
const IFlexItem = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$N]]);
|
|
4968
4968
|
function focusError(item) {
|
|
4969
4969
|
const element = document.querySelector(`#${item.id}`);
|
|
4970
4970
|
if (!element) {
|
|
@@ -4974,7 +4974,7 @@ function focusError(item) {
|
|
|
4974
4974
|
scrollTo(element, window.innerHeight * 0.25);
|
|
4975
4975
|
focus$1(focusElement2 ? focusElement2 : element);
|
|
4976
4976
|
}
|
|
4977
|
-
const _sfc_main$
|
|
4977
|
+
const _sfc_main$18 = defineComponent({
|
|
4978
4978
|
name: "FErrorList",
|
|
4979
4979
|
components: {
|
|
4980
4980
|
FIcon,
|
|
@@ -5030,10 +5030,10 @@ const _sfc_main$16 = defineComponent({
|
|
|
5030
5030
|
}
|
|
5031
5031
|
}
|
|
5032
5032
|
});
|
|
5033
|
-
const _hoisted_1$
|
|
5033
|
+
const _hoisted_1$U = {
|
|
5034
5034
|
class: "error-list"
|
|
5035
5035
|
};
|
|
5036
|
-
const _hoisted_2$
|
|
5036
|
+
const _hoisted_2$D = {
|
|
5037
5037
|
key: 0
|
|
5038
5038
|
};
|
|
5039
5039
|
const _hoisted_3$u = {
|
|
@@ -5047,7 +5047,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5047
5047
|
const _component_f_icon = resolveComponent("f-icon");
|
|
5048
5048
|
const _component_i_flex_item = resolveComponent("i-flex-item");
|
|
5049
5049
|
const _component_i_flex = resolveComponent("i-flex");
|
|
5050
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5050
|
+
return openBlock(), createElementBlock("div", _hoisted_1$U, [createVNode(_component_i_flex, null, {
|
|
5051
5051
|
default: withCtx(() => [_ctx.hasTitleSlot ? (openBlock(), createBlock(_component_i_flex_item, {
|
|
5052
5052
|
key: 0,
|
|
5053
5053
|
shrink: ""
|
|
@@ -5066,7 +5066,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5066
5066
|
})) : createCommentVNode("", true), _cache[7] || (_cache[7] = createTextVNode()), createVNode(_component_i_flex_item, {
|
|
5067
5067
|
grow: ""
|
|
5068
5068
|
}, {
|
|
5069
|
-
default: withCtx(() => [_ctx.hasTitleSlot ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
5069
|
+
default: withCtx(() => [_ctx.hasTitleSlot ? (openBlock(), createElementBlock("div", _hoisted_2$D, [renderSlot(_ctx.$slots, "title")])) : createCommentVNode("", true), _cache[5] || (_cache[5] = createTextVNode()), createElementVNode("ul", _hoisted_3$u, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item) => {
|
|
5070
5070
|
return openBlock(), createElementBlock("li", {
|
|
5071
5071
|
key: item.id,
|
|
5072
5072
|
class: normalizeClass(_ctx.liClasses(item))
|
|
@@ -5097,7 +5097,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5097
5097
|
_: 3
|
|
5098
5098
|
})]);
|
|
5099
5099
|
}
|
|
5100
|
-
const FErrorList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5100
|
+
const FErrorList = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$M]]);
|
|
5101
5101
|
var es_iterator_every = {};
|
|
5102
5102
|
var hasRequiredEs_iterator_every;
|
|
5103
5103
|
function requireEs_iterator_every() {
|
|
@@ -5185,7 +5185,7 @@ function cleanUpElements(vm) {
|
|
|
5185
5185
|
}, 0);
|
|
5186
5186
|
});
|
|
5187
5187
|
}
|
|
5188
|
-
const _sfc_main$
|
|
5188
|
+
const _sfc_main$17 = defineComponent({
|
|
5189
5189
|
name: "FValidationGroup",
|
|
5190
5190
|
props: {
|
|
5191
5191
|
/**
|
|
@@ -5261,13 +5261,13 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5261
5261
|
onComponentUnmount: _cache[1] || (_cache[1] = (...args) => _ctx.onComponentUnmount && _ctx.onComponentUnmount(...args))
|
|
5262
5262
|
}, [renderSlot(_ctx.$slots, "default")], 32);
|
|
5263
5263
|
}
|
|
5264
|
-
const FValidationGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5264
|
+
const FValidationGroup = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$L]]);
|
|
5265
5265
|
var FValidationFormAction = /* @__PURE__ */ ((FValidationFormAction2) => {
|
|
5266
5266
|
FValidationFormAction2[FValidationFormAction2["CONTINUE"] = 0] = "CONTINUE";
|
|
5267
5267
|
FValidationFormAction2[FValidationFormAction2["CANCEL"] = 1] = "CANCEL";
|
|
5268
5268
|
return FValidationFormAction2;
|
|
5269
5269
|
})(FValidationFormAction || {});
|
|
5270
|
-
const _sfc_main$
|
|
5270
|
+
const _sfc_main$16 = defineComponent({
|
|
5271
5271
|
name: "FValidationForm",
|
|
5272
5272
|
components: {
|
|
5273
5273
|
FValidationGroup,
|
|
@@ -5406,8 +5406,8 @@ const _sfc_main$14 = defineComponent({
|
|
|
5406
5406
|
}
|
|
5407
5407
|
}
|
|
5408
5408
|
});
|
|
5409
|
-
const _hoisted_1$
|
|
5410
|
-
const _hoisted_2$
|
|
5409
|
+
const _hoisted_1$T = ["id"];
|
|
5410
|
+
const _hoisted_2$C = {
|
|
5411
5411
|
key: 0,
|
|
5412
5412
|
ref: "errors",
|
|
5413
5413
|
tabindex: "-1",
|
|
@@ -5428,19 +5428,19 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5428
5428
|
novalidate: "",
|
|
5429
5429
|
autocomplete: "off",
|
|
5430
5430
|
onSubmit: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.onSubmit && _ctx.onSubmit(...args), ["prevent"]))
|
|
5431
|
-
}), [_ctx.displayErrors ? (openBlock(), createElementBlock("nav", _hoisted_2$
|
|
5431
|
+
}), [_ctx.displayErrors ? (openBlock(), createElementBlock("nav", _hoisted_2$C, [createVNode(_component_f_error_list, {
|
|
5432
5432
|
items: _ctx.errors,
|
|
5433
5433
|
bullets: _ctx.errorListBullets,
|
|
5434
5434
|
"before-navigate": _ctx.errorListBeforeNavigate
|
|
5435
5435
|
}, {
|
|
5436
5436
|
title: withCtx(() => [renderSlot(_ctx.$slots, "error-message")]),
|
|
5437
5437
|
_: 3
|
|
5438
|
-
}, 8, ["items", "bullets", "before-navigate"])], 512)) : createCommentVNode("", true), _cache[2] || (_cache[2] = createTextVNode()), renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$
|
|
5438
|
+
}, 8, ["items", "bullets", "before-navigate"])], 512)) : createCommentVNode("", true), _cache[2] || (_cache[2] = createTextVNode()), renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$T)]),
|
|
5439
5439
|
_: 3
|
|
5440
5440
|
}, 8, ["modelValue"]);
|
|
5441
5441
|
}
|
|
5442
|
-
const FValidationForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5443
|
-
const _sfc_main$
|
|
5442
|
+
const FValidationForm = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$K]]);
|
|
5443
|
+
const _sfc_main$15 = defineComponent({
|
|
5444
5444
|
name: "FFormModal",
|
|
5445
5445
|
components: {
|
|
5446
5446
|
FModal,
|
|
@@ -5589,10 +5589,10 @@ const _sfc_main$13 = defineComponent({
|
|
|
5589
5589
|
}
|
|
5590
5590
|
}
|
|
5591
5591
|
});
|
|
5592
|
-
const _hoisted_1$
|
|
5592
|
+
const _hoisted_1$S = {
|
|
5593
5593
|
class: "button-group"
|
|
5594
5594
|
};
|
|
5595
|
-
const _hoisted_2$
|
|
5595
|
+
const _hoisted_2$B = ["type", "form", "onClick"];
|
|
5596
5596
|
const _hoisted_3$t = {
|
|
5597
5597
|
key: 0,
|
|
5598
5598
|
class: "sr-only"
|
|
@@ -5621,19 +5621,19 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5621
5621
|
default: withCtx(() => [_cache[0] || (_cache[0] = createTextVNode()), renderSlot(_ctx.$slots, "input-text-fields")]),
|
|
5622
5622
|
_: 3
|
|
5623
5623
|
}, 8, ["id", "before-submit", "before-validation", "use-error-list", "onSubmit", "onCancel"])]),
|
|
5624
|
-
footer: withCtx(() => [createElementVNode("div", _hoisted_1$
|
|
5624
|
+
footer: withCtx(() => [createElementVNode("div", _hoisted_1$S, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.preparedButtons, (button) => {
|
|
5625
5625
|
return openBlock(), createElementBlock("button", {
|
|
5626
5626
|
key: button.label,
|
|
5627
5627
|
type: button.buttonType,
|
|
5628
5628
|
class: normalizeClass([button.classlist, "button-group__item"]),
|
|
5629
5629
|
form: button.buttonType === "submit" ? _ctx.formId : void 0,
|
|
5630
5630
|
onClick: ($event) => button.buttonType === "button" ? _ctx.onCancel() : false
|
|
5631
|
-
}, [createElementVNode("span", null, toDisplayString(button.label), 1), _cache[2] || (_cache[2] = createTextVNode()), button.screenreader ? (openBlock(), createElementBlock("span", _hoisted_3$t, " " + toDisplayString(button.screenreader), 1)) : createCommentVNode("", true)], 10, _hoisted_2$
|
|
5631
|
+
}, [createElementVNode("span", null, toDisplayString(button.label), 1), _cache[2] || (_cache[2] = createTextVNode()), button.screenreader ? (openBlock(), createElementBlock("span", _hoisted_3$t, " " + toDisplayString(button.screenreader), 1)) : createCommentVNode("", true)], 10, _hoisted_2$B);
|
|
5632
5632
|
}), 128))])]),
|
|
5633
5633
|
_: 3
|
|
5634
5634
|
}, 8, ["data-test", "fullscreen", "is-open", "size", "aria-close-text", "onClose"]);
|
|
5635
5635
|
}
|
|
5636
|
-
const FFormModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5636
|
+
const FFormModal = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$J]]);
|
|
5637
5637
|
async function confirmModal(callingInstance, texts) {
|
|
5638
5638
|
const buttons = [{
|
|
5639
5639
|
label: texts.confirm,
|
|
@@ -5993,7 +5993,7 @@ const ErrorPlugin = {
|
|
|
5993
5993
|
}
|
|
5994
5994
|
}
|
|
5995
5995
|
};
|
|
5996
|
-
const _sfc_main$
|
|
5996
|
+
const _sfc_main$14 = defineComponent({
|
|
5997
5997
|
name: "FErrorPage",
|
|
5998
5998
|
props: {
|
|
5999
5999
|
payload: {
|
|
@@ -6003,16 +6003,16 @@ const _sfc_main$12 = defineComponent({
|
|
|
6003
6003
|
}
|
|
6004
6004
|
}
|
|
6005
6005
|
});
|
|
6006
|
-
const _hoisted_1$
|
|
6006
|
+
const _hoisted_1$R = {
|
|
6007
6007
|
"data-test": "f-error-page"
|
|
6008
6008
|
};
|
|
6009
6009
|
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6010
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6010
|
+
return openBlock(), createElementBlock("div", _hoisted_1$R, _cache[0] || (_cache[0] = [createElementVNode("h1", null, "Fel", -1), createTextVNode(), createElementVNode("p", null, "Ett fel har uppstått.", -1), createTextVNode(), createElementVNode("a", {
|
|
6011
6011
|
href: "/"
|
|
6012
6012
|
}, "Gå till startsidan", -1)]));
|
|
6013
6013
|
}
|
|
6014
|
-
const FErrorPage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6015
|
-
const _sfc_main$
|
|
6014
|
+
const FErrorPage = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$I]]);
|
|
6015
|
+
const _sfc_main$13 = defineComponent({
|
|
6016
6016
|
name: "FErrorHandlingApp",
|
|
6017
6017
|
props: {
|
|
6018
6018
|
defaultComponent: {
|
|
@@ -6051,7 +6051,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6051
6051
|
key: 2
|
|
6052
6052
|
})]);
|
|
6053
6053
|
}
|
|
6054
|
-
const FErrorHandlingApp = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6054
|
+
const FErrorHandlingApp = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$H]]);
|
|
6055
6055
|
function isMonthBefore(date, minDate) {
|
|
6056
6056
|
return Boolean(minDate && date.isBefore(minDate.startOfMonth()));
|
|
6057
6057
|
}
|
|
@@ -6092,7 +6092,7 @@ function getMessage($t2, date, minDate, maxDate) {
|
|
|
6092
6092
|
});
|
|
6093
6093
|
}
|
|
6094
6094
|
}
|
|
6095
|
-
const _sfc_main$
|
|
6095
|
+
const _sfc_main$12 = defineComponent({
|
|
6096
6096
|
name: "ICalendarNavbar",
|
|
6097
6097
|
components: {
|
|
6098
6098
|
FIcon
|
|
@@ -6205,10 +6205,10 @@ const _sfc_main$10 = defineComponent({
|
|
|
6205
6205
|
}
|
|
6206
6206
|
}
|
|
6207
6207
|
});
|
|
6208
|
-
const _hoisted_1$
|
|
6208
|
+
const _hoisted_1$Q = {
|
|
6209
6209
|
class: "calendar-navbar"
|
|
6210
6210
|
};
|
|
6211
|
-
const _hoisted_2$
|
|
6211
|
+
const _hoisted_2$A = {
|
|
6212
6212
|
class: "calendar-navbar__month",
|
|
6213
6213
|
tabindex: "-1"
|
|
6214
6214
|
};
|
|
@@ -6222,7 +6222,7 @@ const _hoisted_6$f = {
|
|
|
6222
6222
|
};
|
|
6223
6223
|
function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6224
6224
|
const _component_f_icon = resolveComponent("f-icon");
|
|
6225
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6225
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Q, [createElementVNode("div", _hoisted_2$A, toDisplayString(_ctx.currentText), 1), _cache[4] || (_cache[4] = createTextVNode()), createElementVNode("button", {
|
|
6226
6226
|
ref: "previousButton",
|
|
6227
6227
|
class: "calendar-navbar__arrow calendar-navbar__arrow--previous",
|
|
6228
6228
|
type: "button",
|
|
@@ -6244,14 +6244,14 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6244
6244
|
name: "arrow-right"
|
|
6245
6245
|
}, null, 8, ["class"])], 8, _hoisted_5$j)]);
|
|
6246
6246
|
}
|
|
6247
|
-
const ICalendarNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6247
|
+
const ICalendarNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$G]]);
|
|
6248
6248
|
function getDayStartOffset(days) {
|
|
6249
6249
|
return days[0].weekDay - 1;
|
|
6250
6250
|
}
|
|
6251
6251
|
function getDayEndOffset(days) {
|
|
6252
6252
|
return 7 - days[days.length - 1].weekDay;
|
|
6253
6253
|
}
|
|
6254
|
-
const _sfc_main
|
|
6254
|
+
const _sfc_main$11 = defineComponent({
|
|
6255
6255
|
name: "ICalendarMonthGrid",
|
|
6256
6256
|
props: {
|
|
6257
6257
|
/**
|
|
@@ -6325,8 +6325,8 @@ const _sfc_main$$ = defineComponent({
|
|
|
6325
6325
|
}
|
|
6326
6326
|
}
|
|
6327
6327
|
});
|
|
6328
|
-
const _hoisted_1$
|
|
6329
|
-
const _hoisted_2$
|
|
6328
|
+
const _hoisted_1$P = ["aria-label"];
|
|
6329
|
+
const _hoisted_2$z = {
|
|
6330
6330
|
key: 0,
|
|
6331
6331
|
class: "calendar-month__col--week"
|
|
6332
6332
|
};
|
|
@@ -6351,7 +6351,7 @@ const _hoisted_9$5 = {
|
|
|
6351
6351
|
key: 0,
|
|
6352
6352
|
"aria-hidden": "true"
|
|
6353
6353
|
};
|
|
6354
|
-
const _hoisted_10$
|
|
6354
|
+
const _hoisted_10$2 = ["colspan"];
|
|
6355
6355
|
const _hoisted_11$2 = {
|
|
6356
6356
|
key: 1,
|
|
6357
6357
|
"aria-hidden": "true"
|
|
@@ -6364,7 +6364,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6364
6364
|
"aria-label": _ctx.ariaLabel,
|
|
6365
6365
|
onFocusin: _cache[0] || (_cache[0] = (...args) => _ctx.onFocusin && _ctx.onFocusin(...args)),
|
|
6366
6366
|
onFocusout: _cache[1] || (_cache[1] = (...args) => _ctx.onFocusout && _ctx.onFocusout(...args))
|
|
6367
|
-
}, [createElementVNode("colgroup", null, [!_ctx.internalHideWeekNumbers ? (openBlock(), createElementBlock("col", _hoisted_2$
|
|
6367
|
+
}, [createElementVNode("colgroup", null, [!_ctx.internalHideWeekNumbers ? (openBlock(), createElementBlock("col", _hoisted_2$z)) : createCommentVNode("", true), _cache[2] || (_cache[2] = createTextVNode()), _cache[3] || (_cache[3] = createElementVNode("col", {
|
|
6368
6368
|
class: "calendar-month__col--day"
|
|
6369
6369
|
}, null, -1)), _cache[4] || (_cache[4] = createTextVNode()), _cache[5] || (_cache[5] = createElementVNode("col", {
|
|
6370
6370
|
class: "calendar-month__col--day"
|
|
@@ -6414,13 +6414,13 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6414
6414
|
class: "calendar-month__cell",
|
|
6415
6415
|
colspan: _ctx.totalCols,
|
|
6416
6416
|
"aria-hidden": "true"
|
|
6417
|
-
}, null, 8, _hoisted_10$
|
|
6417
|
+
}, null, 8, _hoisted_10$2)])) : createCommentVNode("", true), _cache[21] || (_cache[21] = createTextVNode()), _ctx.weeks.length < 6 ? (openBlock(), createElementBlock("tr", _hoisted_11$2, [createElementVNode("td", {
|
|
6418
6418
|
class: "calendar-month__cell",
|
|
6419
6419
|
colspan: _ctx.totalCols,
|
|
6420
6420
|
"aria-hidden": "true"
|
|
6421
|
-
}, null, 8, _hoisted_12$2)])) : createCommentVNode("", true)])], 40, _hoisted_1$
|
|
6421
|
+
}, null, 8, _hoisted_12$2)])) : createCommentVNode("", true)])], 40, _hoisted_1$P);
|
|
6422
6422
|
}
|
|
6423
|
-
const ICalendarMonthGrid = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
6423
|
+
const ICalendarMonthGrid = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$F]]);
|
|
6424
6424
|
const DayStep = {
|
|
6425
6425
|
ArrowRight: 1,
|
|
6426
6426
|
ArrowLeft: -1,
|
|
@@ -6444,7 +6444,7 @@ function getDayTabindex(date, active, entry) {
|
|
|
6444
6444
|
return date.day === 1 ? 0 : -1;
|
|
6445
6445
|
}
|
|
6446
6446
|
}
|
|
6447
|
-
const _sfc_main$
|
|
6447
|
+
const _sfc_main$10 = defineComponent({
|
|
6448
6448
|
name: "ICalendarMonth",
|
|
6449
6449
|
components: {
|
|
6450
6450
|
ICalendarMonthGrid
|
|
@@ -6534,7 +6534,7 @@ const _sfc_main$_ = defineComponent({
|
|
|
6534
6534
|
}
|
|
6535
6535
|
}
|
|
6536
6536
|
});
|
|
6537
|
-
const _hoisted_1$
|
|
6537
|
+
const _hoisted_1$O = ["data-date", "tabindex", "onClick", "onKeydown"];
|
|
6538
6538
|
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6539
6539
|
const _component_i_calendar_month_grid = resolveComponent("i-calendar-month-grid");
|
|
6540
6540
|
return openBlock(), createBlock(_component_i_calendar_month_grid, {
|
|
@@ -6554,12 +6554,12 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6554
6554
|
}, [renderSlot(_ctx.$slots, "default", {
|
|
6555
6555
|
date,
|
|
6556
6556
|
isFocused: _ctx.isDayFocused(date)
|
|
6557
|
-
})], 40, _hoisted_1$
|
|
6557
|
+
})], 40, _hoisted_1$O)]),
|
|
6558
6558
|
_: 3
|
|
6559
6559
|
}, 8, ["value"]);
|
|
6560
6560
|
}
|
|
6561
|
-
const ICalendarMonth = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6562
|
-
const _sfc_main
|
|
6561
|
+
const ICalendarMonth = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$E]]);
|
|
6562
|
+
const _sfc_main$$ = defineComponent({
|
|
6563
6563
|
name: "FCalendar",
|
|
6564
6564
|
components: {
|
|
6565
6565
|
ICalendarNavbar,
|
|
@@ -6610,13 +6610,13 @@ const _sfc_main$Z = defineComponent({
|
|
|
6610
6610
|
}
|
|
6611
6611
|
}
|
|
6612
6612
|
});
|
|
6613
|
-
const _hoisted_1$
|
|
6613
|
+
const _hoisted_1$N = {
|
|
6614
6614
|
class: "calendar__wrapper"
|
|
6615
6615
|
};
|
|
6616
6616
|
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6617
6617
|
const _component_i_calendar_navbar = resolveComponent("i-calendar-navbar");
|
|
6618
6618
|
const _component_i_calendar_month = resolveComponent("i-calendar-month");
|
|
6619
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6619
|
+
return openBlock(), createElementBlock("div", _hoisted_1$N, [createVNode(_component_i_calendar_navbar, {
|
|
6620
6620
|
"model-value": _ctx.modelValue,
|
|
6621
6621
|
"min-date": _ctx.minDate,
|
|
6622
6622
|
"max-date": _ctx.maxDate,
|
|
@@ -6639,7 +6639,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6639
6639
|
_: 3
|
|
6640
6640
|
}, 8, ["model-value", "min-date", "max-date", "tab-date", "onClick", "onUpdate:modelValue"])]);
|
|
6641
6641
|
}
|
|
6642
|
-
const FCalendar = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
6642
|
+
const FCalendar = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$D]]);
|
|
6643
6643
|
function getCalendarDaySrText(day, enabled, selected, t) {
|
|
6644
6644
|
const parts = [];
|
|
6645
6645
|
if (!enabled) {
|
|
@@ -6658,7 +6658,7 @@ function getCalendarDaySrText(day, enabled, selected, t) {
|
|
|
6658
6658
|
parts.push(day.toString(DateFormat.FULL));
|
|
6659
6659
|
return parts.join(" ");
|
|
6660
6660
|
}
|
|
6661
|
-
const _sfc_main$
|
|
6661
|
+
const _sfc_main$_ = defineComponent({
|
|
6662
6662
|
name: "FCalendarDay",
|
|
6663
6663
|
mixins: [TranslationMixin],
|
|
6664
6664
|
props: {
|
|
@@ -6723,19 +6723,19 @@ const _sfc_main$Y = defineComponent({
|
|
|
6723
6723
|
}
|
|
6724
6724
|
}
|
|
6725
6725
|
});
|
|
6726
|
-
const _hoisted_1$
|
|
6726
|
+
const _hoisted_1$M = {
|
|
6727
6727
|
"aria-hidden": "true"
|
|
6728
6728
|
};
|
|
6729
|
-
const _hoisted_2$
|
|
6729
|
+
const _hoisted_2$y = {
|
|
6730
6730
|
class: "sr-only"
|
|
6731
6731
|
};
|
|
6732
6732
|
function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6733
6733
|
return openBlock(), createElementBlock("span", {
|
|
6734
6734
|
class: normalizeClass(_ctx.dayClasses)
|
|
6735
|
-
}, [createElementVNode("span", _hoisted_1$
|
|
6735
|
+
}, [createElementVNode("span", _hoisted_1$M, toDisplayString(_ctx.day.day), 1), _cache[0] || (_cache[0] = createTextVNode()), createElementVNode("span", _hoisted_2$y, toDisplayString(_ctx.srText), 1)], 2);
|
|
6736
6736
|
}
|
|
6737
|
-
const FCalendarDay = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6738
|
-
function useEventListener(target, event, callback) {
|
|
6737
|
+
const FCalendarDay = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$C]]);
|
|
6738
|
+
function useEventListener$1(target, event, callback) {
|
|
6739
6739
|
onMounted(() => {
|
|
6740
6740
|
var _a;
|
|
6741
6741
|
(_a = toValue(target)) == null ? void 0 : _a.addEventListener(event, callback);
|
|
@@ -6755,8 +6755,8 @@ function useSlotUtils() {
|
|
|
6755
6755
|
}
|
|
6756
6756
|
};
|
|
6757
6757
|
}
|
|
6758
|
-
const _hoisted_1$
|
|
6759
|
-
const _hoisted_2$
|
|
6758
|
+
const _hoisted_1$L = ["id"];
|
|
6759
|
+
const _hoisted_2$x = {
|
|
6760
6760
|
key: 0,
|
|
6761
6761
|
class: "card__header"
|
|
6762
6762
|
};
|
|
@@ -6767,7 +6767,7 @@ const _hoisted_4$m = {
|
|
|
6767
6767
|
key: 1,
|
|
6768
6768
|
class: "card__footer"
|
|
6769
6769
|
};
|
|
6770
|
-
const _sfc_main$
|
|
6770
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
6771
6771
|
__name: "FCard",
|
|
6772
6772
|
props: {
|
|
6773
6773
|
/**
|
|
@@ -6825,7 +6825,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
6825
6825
|
id: __props.id,
|
|
6826
6826
|
class: normalizeClass(cardClass.value),
|
|
6827
6827
|
onValidity
|
|
6828
|
-
}, [hasHeaderSlot.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
6828
|
+
}, [hasHeaderSlot.value ? (openBlock(), createElementBlock("div", _hoisted_2$x, [renderSlot(_ctx.$slots, "header", normalizeProps(guardReactiveProps({
|
|
6829
6829
|
headingSlotClass: "card__header-label"
|
|
6830
6830
|
})))])) : createCommentVNode("", true), _cache[1] || (_cache[1] = createTextVNode()), renderSlot(_ctx.$slots, "error-message", normalizeProps(guardReactiveProps({
|
|
6831
6831
|
hasError: hasError.value,
|
|
@@ -6853,11 +6853,11 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
6853
6853
|
})) : createCommentVNode("", true)]), _cache[2] || (_cache[2] = createTextVNode()), createElementVNode("div", _hoisted_3$q, [renderSlot(_ctx.$slots, "default")]), _cache[3] || (_cache[3] = createTextVNode()), hasFooterSlot.value ? (openBlock(), createElementBlock("div", _hoisted_4$m, [renderSlot(_ctx.$slots, "footer", normalizeProps(guardReactiveProps({
|
|
6854
6854
|
hasError: hasError.value,
|
|
6855
6855
|
validationMessage: validationMessage.value
|
|
6856
|
-
})))])) : createCommentVNode("", true)], 42, _hoisted_1$
|
|
6856
|
+
})))])) : createCommentVNode("", true)], 42, _hoisted_1$L);
|
|
6857
6857
|
};
|
|
6858
6858
|
}
|
|
6859
6859
|
});
|
|
6860
|
-
const _sfc_main$
|
|
6860
|
+
const _sfc_main$Y = defineComponent({
|
|
6861
6861
|
name: "FExpand",
|
|
6862
6862
|
data() {
|
|
6863
6863
|
return {
|
|
@@ -6923,7 +6923,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6923
6923
|
_: 3
|
|
6924
6924
|
}, 8, ["onEnter", "onAfterEnter", "onLeave"]);
|
|
6925
6925
|
}
|
|
6926
|
-
const FExpand = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6926
|
+
const FExpand = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$B]]);
|
|
6927
6927
|
function offset(page, el) {
|
|
6928
6928
|
const rect = el.getBoundingClientRect();
|
|
6929
6929
|
return {
|
|
@@ -7208,7 +7208,7 @@ function isTeleportDisabled(options) {
|
|
|
7208
7208
|
}
|
|
7209
7209
|
return disableTeleport;
|
|
7210
7210
|
}
|
|
7211
|
-
const _sfc_main$
|
|
7211
|
+
const _sfc_main$X = defineComponent({
|
|
7212
7212
|
name: "IPopup",
|
|
7213
7213
|
inheritAttrs: false,
|
|
7214
7214
|
props: {
|
|
@@ -7510,7 +7510,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7510
7510
|
placement: _ctx.placement
|
|
7511
7511
|
})))], 544)], 16)], 8, ["to", "disabled"])) : createCommentVNode("", true);
|
|
7512
7512
|
}
|
|
7513
|
-
const IPopup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7513
|
+
const IPopup = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$A]]);
|
|
7514
7514
|
function computeArrowOffset(placement, inputIconRect, wrapperRect) {
|
|
7515
7515
|
switch (placement) {
|
|
7516
7516
|
case Placement.A: {
|
|
@@ -7574,7 +7574,7 @@ function computeArrowOffset(placement, inputIconRect, wrapperRect) {
|
|
|
7574
7574
|
}
|
|
7575
7575
|
}
|
|
7576
7576
|
const POPUP_SPACING = 10;
|
|
7577
|
-
const _sfc_main$
|
|
7577
|
+
const _sfc_main$W = defineComponent({
|
|
7578
7578
|
name: "IPopupError",
|
|
7579
7579
|
components: {
|
|
7580
7580
|
FIcon
|
|
@@ -7712,7 +7712,7 @@ const _sfc_main$U = defineComponent({
|
|
|
7712
7712
|
}
|
|
7713
7713
|
}
|
|
7714
7714
|
});
|
|
7715
|
-
const _hoisted_1$
|
|
7715
|
+
const _hoisted_1$K = {
|
|
7716
7716
|
ref: "wrapper",
|
|
7717
7717
|
class: "popup-error__wrapper"
|
|
7718
7718
|
};
|
|
@@ -7726,7 +7726,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7726
7726
|
ref: "popup",
|
|
7727
7727
|
class: normalizeClass(_ctx.popupClasses),
|
|
7728
7728
|
"aria-hidden": "true"
|
|
7729
|
-
}, [createElementVNode("div", _hoisted_1$
|
|
7729
|
+
}, [createElementVNode("div", _hoisted_1$K, [createElementVNode("div", {
|
|
7730
7730
|
class: normalizeClass(_ctx.arrowClass),
|
|
7731
7731
|
style: normalizeStyle(_ctx.errorStyle)
|
|
7732
7732
|
}, [createElementVNode("span", null, toDisplayString(_ctx.errorMessage), 1), _cache[1] || (_cache[1] = createTextVNode()), createElementVNode("button", {
|
|
@@ -7740,7 +7740,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7740
7740
|
class: "button__icon"
|
|
7741
7741
|
})])], 6)], 512)], 2)], 8, ["to", "disabled"])) : createCommentVNode("", true);
|
|
7742
7742
|
}
|
|
7743
|
-
const IPopupError = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7743
|
+
const IPopupError = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$z]]);
|
|
7744
7744
|
function numItems(itemHeight, availableHeight, verticalSpacing) {
|
|
7745
7745
|
const itemsFit = Math.floor((availableHeight - verticalSpacing) / itemHeight);
|
|
7746
7746
|
return Math.min(itemsFit, 7);
|
|
@@ -7807,12 +7807,12 @@ function computeListboxRect(anchor, options, root = document.documentElement, {
|
|
|
7807
7807
|
}
|
|
7808
7808
|
return void 0;
|
|
7809
7809
|
}
|
|
7810
|
-
const _hoisted_1$
|
|
7811
|
-
const _hoisted_2$
|
|
7810
|
+
const _hoisted_1$J = ["onKeyup"];
|
|
7811
|
+
const _hoisted_2$w = {
|
|
7812
7812
|
ref: "content"
|
|
7813
7813
|
};
|
|
7814
7814
|
const teleportDisabled = false;
|
|
7815
|
-
const _sfc_main$
|
|
7815
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
7816
7816
|
__name: "IPopupListbox",
|
|
7817
7817
|
props: {
|
|
7818
7818
|
isOpen: {
|
|
@@ -7834,7 +7834,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
7834
7834
|
const teleportTarget = computed(() => config.teleportTarget);
|
|
7835
7835
|
let guessedItemHeight = void 0;
|
|
7836
7836
|
let verticalSpacing = void 0;
|
|
7837
|
-
useEventListener(__props.anchor, "keyup", onKeyEsc);
|
|
7837
|
+
useEventListener$1(__props.anchor, "keyup", onKeyEsc);
|
|
7838
7838
|
watchEffect(() => {
|
|
7839
7839
|
if (wrapperRef.value && __props.activeElement !== void 0) {
|
|
7840
7840
|
const centerPosition = __props.activeElement.offsetTop - (wrapperRef.value.getBoundingClientRect().height - __props.activeElement.getBoundingClientRect().height) / 2;
|
|
@@ -7966,7 +7966,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
7966
7966
|
onKeyup: withKeys(withModifiers(onKeyEsc, ["stop"]), ["esc"]),
|
|
7967
7967
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
7968
7968
|
}, ["stop"]))
|
|
7969
|
-
}), [createElementVNode("div", _hoisted_2$
|
|
7969
|
+
}), [createElementVNode("div", _hoisted_2$w, [renderSlot(_ctx.$slots, "default")], 512)], 16, _hoisted_1$J)], 512)], 8, ["to"])) : createCommentVNode("", true);
|
|
7970
7970
|
};
|
|
7971
7971
|
}
|
|
7972
7972
|
});
|
|
@@ -8010,7 +8010,7 @@ async function doMenuAction$2(action, target) {
|
|
|
8010
8010
|
}
|
|
8011
8011
|
}
|
|
8012
8012
|
const preventKeys$2 = ["Tab", "Up", "Down", "ArrowUp", "ArrowDown", "Home", "End", " ", "Spacebar", "Enter"];
|
|
8013
|
-
const _sfc_main$
|
|
8013
|
+
const _sfc_main$U = defineComponent({
|
|
8014
8014
|
name: "IPopupMenu",
|
|
8015
8015
|
components: {
|
|
8016
8016
|
IPopup
|
|
@@ -8265,8 +8265,8 @@ const _sfc_main$S = defineComponent({
|
|
|
8265
8265
|
}
|
|
8266
8266
|
}
|
|
8267
8267
|
});
|
|
8268
|
-
const _hoisted_1$
|
|
8269
|
-
const _hoisted_2$
|
|
8268
|
+
const _hoisted_1$I = ["aria-label"];
|
|
8269
|
+
const _hoisted_2$v = {
|
|
8270
8270
|
role: "menu",
|
|
8271
8271
|
class: "ipopupmenu__list"
|
|
8272
8272
|
};
|
|
@@ -8291,7 +8291,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8291
8291
|
default: withCtx(() => [createElementVNode("nav", {
|
|
8292
8292
|
class: "ipopupmenu ipopupmenu--vertical",
|
|
8293
8293
|
"aria-label": _ctx.ariaLabel
|
|
8294
|
-
}, [createElementVNode("ul", _hoisted_2$
|
|
8294
|
+
}, [createElementVNode("ul", _hoisted_2$v, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item, index) => {
|
|
8295
8295
|
return openBlock(), createElementBlock("li", {
|
|
8296
8296
|
ref_for: true,
|
|
8297
8297
|
ref: "items",
|
|
@@ -8308,17 +8308,17 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8308
8308
|
target: item.target,
|
|
8309
8309
|
tabindex: "0"
|
|
8310
8310
|
}, [_ctx.isSelected(index) ? (openBlock(), createElementBlock("span", _hoisted_5$h, [createElementVNode("span", null, toDisplayString(_ctx.selectedMenuItemScreenReaderText) + " ", 1)])) : createCommentVNode("", true), createTextVNode(" " + toDisplayString(item.label), 1)], 8, _hoisted_4$l)], 10, _hoisted_3$p);
|
|
8311
|
-
}), 128))])], 8, _hoisted_1$
|
|
8311
|
+
}), 128))])], 8, _hoisted_1$I)]),
|
|
8312
8312
|
_: 1
|
|
8313
8313
|
}, 8, ["is-open", "anchor", "focus-element", "onKeyup", "onKeydown"]);
|
|
8314
8314
|
}
|
|
8315
|
-
const IPopupMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8315
|
+
const IPopupMenu = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$y]]);
|
|
8316
8316
|
const ANIMATION_DURATION = 500;
|
|
8317
8317
|
const NO_CSS_CLASSES = "";
|
|
8318
8318
|
const CLOSED_CSS_CLASS_OPACITY = "animate-expand animate-expand--opacity";
|
|
8319
8319
|
const CLOSED_CSS_CLASS = "animate-expand";
|
|
8320
8320
|
const ANIMATION_CSS_CLASSES = "animate-expand animate-expand--expanded";
|
|
8321
|
-
const _sfc_main$
|
|
8321
|
+
const _sfc_main$T = defineComponent({
|
|
8322
8322
|
name: "IAnimateExpand",
|
|
8323
8323
|
props: {
|
|
8324
8324
|
/**
|
|
@@ -8510,7 +8510,7 @@ const _sfc_main$R = defineComponent({
|
|
|
8510
8510
|
}
|
|
8511
8511
|
}
|
|
8512
8512
|
});
|
|
8513
|
-
const _hoisted_1$
|
|
8513
|
+
const _hoisted_1$H = {
|
|
8514
8514
|
key: 0,
|
|
8515
8515
|
ref: "content",
|
|
8516
8516
|
"data-test": "animation-content"
|
|
@@ -8519,10 +8519,10 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8519
8519
|
return openBlock(), createElementBlock("div", {
|
|
8520
8520
|
class: normalizeClass(_ctx.animationClasses),
|
|
8521
8521
|
style: normalizeStyle(_ctx.heightStyle)
|
|
8522
|
-
}, [_ctx.shouldVIf ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1$
|
|
8522
|
+
}, [_ctx.shouldVIf ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1$H, [renderSlot(_ctx.$slots, "default")], 512)), [[vShow, _ctx.shouldVShow]]) : createCommentVNode("", true)], 6);
|
|
8523
8523
|
}
|
|
8524
|
-
const IAnimateExpand = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8525
|
-
const _sfc_main$
|
|
8524
|
+
const IAnimateExpand = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$x]]);
|
|
8525
|
+
const _sfc_main$S = defineComponent({
|
|
8526
8526
|
name: "ISkipLink",
|
|
8527
8527
|
mixins: [TranslationMixin],
|
|
8528
8528
|
props: {
|
|
@@ -8536,14 +8536,14 @@ const _sfc_main$Q = defineComponent({
|
|
|
8536
8536
|
}
|
|
8537
8537
|
}
|
|
8538
8538
|
});
|
|
8539
|
-
const _hoisted_1$
|
|
8539
|
+
const _hoisted_1$G = ["href"];
|
|
8540
8540
|
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8541
8541
|
return openBlock(), createElementBlock("a", {
|
|
8542
8542
|
class: "iskiplink",
|
|
8543
8543
|
href: _ctx.href
|
|
8544
|
-
}, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(_ctx.$t("fkui.skip-link.text", "Gå direkt till innehåll")), 1)])], 8, _hoisted_1$
|
|
8544
|
+
}, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(_ctx.$t("fkui.skip-link.text", "Gå direkt till innehåll")), 1)])], 8, _hoisted_1$G);
|
|
8545
8545
|
}
|
|
8546
|
-
const ISkipLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8546
|
+
const ISkipLink = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$w]]);
|
|
8547
8547
|
function filterOptions(options, filter2, selectMode) {
|
|
8548
8548
|
if (isEmpty(filter2) || selectMode) {
|
|
8549
8549
|
return options;
|
|
@@ -8568,10 +8568,10 @@ function useCombobox(inputRef, options, onOptionSelected) {
|
|
|
8568
8568
|
}
|
|
8569
8569
|
};
|
|
8570
8570
|
}
|
|
8571
|
-
useEventListener(inputRef, "click", onInputClick);
|
|
8572
|
-
useEventListener(inputRef, "focus", onInputFocus);
|
|
8573
|
-
useEventListener(inputRef, "keydown", onInputKeyDown);
|
|
8574
|
-
useEventListener(inputRef, "keyup", onInputKeyUp);
|
|
8571
|
+
useEventListener$1(inputRef, "click", onInputClick);
|
|
8572
|
+
useEventListener$1(inputRef, "focus", onInputFocus);
|
|
8573
|
+
useEventListener$1(inputRef, "keydown", onInputKeyDown);
|
|
8574
|
+
useEventListener$1(inputRef, "keyup", onInputKeyUp);
|
|
8575
8575
|
const dropdownId = ElementIdService.generateElementId();
|
|
8576
8576
|
const dropdownIsOpen = ref(false);
|
|
8577
8577
|
const activeOptionId = ElementIdService.generateElementId();
|
|
@@ -8789,12 +8789,12 @@ function useCombobox(inputRef, options, onOptionSelected) {
|
|
|
8789
8789
|
}
|
|
8790
8790
|
}
|
|
8791
8791
|
}
|
|
8792
|
-
const _hoisted_1$
|
|
8792
|
+
const _hoisted_1$F = {
|
|
8793
8793
|
class: "combobox"
|
|
8794
8794
|
};
|
|
8795
|
-
const _hoisted_2$
|
|
8795
|
+
const _hoisted_2$u = ["id"];
|
|
8796
8796
|
const _hoisted_3$o = ["id", "aria-selected", "onClick"];
|
|
8797
|
-
const _sfc_main$
|
|
8797
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
8798
8798
|
__name: "IComboboxDropdown",
|
|
8799
8799
|
props: {
|
|
8800
8800
|
id: {},
|
|
@@ -8831,7 +8831,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
8831
8831
|
}
|
|
8832
8832
|
});
|
|
8833
8833
|
return (_ctx, _cache) => {
|
|
8834
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
8834
|
+
return openBlock(), createElementBlock("div", _hoisted_1$F, [createVNode(unref(_sfc_main$V), {
|
|
8835
8835
|
"is-open": _ctx.isOpen,
|
|
8836
8836
|
anchor: _ctx.inputNode,
|
|
8837
8837
|
"num-of-items": _ctx.options.length,
|
|
@@ -8856,14 +8856,14 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
8856
8856
|
}]),
|
|
8857
8857
|
onClick: withModifiers(($event) => onOptionClick(item), ["stop", "prevent"])
|
|
8858
8858
|
}, toDisplayString(item), 11, _hoisted_3$o);
|
|
8859
|
-
}), 128))], 8, _hoisted_2$
|
|
8859
|
+
}), 128))], 8, _hoisted_2$u)]),
|
|
8860
8860
|
_: 1
|
|
8861
8861
|
}, 8, ["is-open", "anchor", "num-of-items", "active-element"])]);
|
|
8862
8862
|
};
|
|
8863
8863
|
}
|
|
8864
8864
|
});
|
|
8865
|
-
const _hoisted_1$
|
|
8866
|
-
const _sfc_main$
|
|
8865
|
+
const _hoisted_1$E = ["aria-label"];
|
|
8866
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
8867
8867
|
__name: "IComboboxToggleButton",
|
|
8868
8868
|
emits: ["toggle"],
|
|
8869
8869
|
setup(__props, {
|
|
@@ -8882,7 +8882,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
8882
8882
|
}, [createVNode(unref(FIcon), {
|
|
8883
8883
|
name: "arrow-down",
|
|
8884
8884
|
class: "text-field__icon"
|
|
8885
|
-
})], 8, _hoisted_1$
|
|
8885
|
+
})], 8, _hoisted_1$E);
|
|
8886
8886
|
};
|
|
8887
8887
|
}
|
|
8888
8888
|
});
|
|
@@ -8984,7 +8984,7 @@ function useHorizontalOffset(options) {
|
|
|
8984
8984
|
}, 0);
|
|
8985
8985
|
}
|
|
8986
8986
|
}
|
|
8987
|
-
const _sfc_main$
|
|
8987
|
+
const _sfc_main$P = defineComponent({
|
|
8988
8988
|
name: "FTooltip",
|
|
8989
8989
|
components: {
|
|
8990
8990
|
FExpand,
|
|
@@ -9143,8 +9143,8 @@ const _sfc_main$N = defineComponent({
|
|
|
9143
9143
|
}
|
|
9144
9144
|
}
|
|
9145
9145
|
});
|
|
9146
|
-
const _hoisted_1$
|
|
9147
|
-
const _hoisted_2$
|
|
9146
|
+
const _hoisted_1$D = ["aria-expanded"];
|
|
9147
|
+
const _hoisted_2$t = {
|
|
9148
9148
|
class: "icon-stack icon-stack--tooltip"
|
|
9149
9149
|
};
|
|
9150
9150
|
const _hoisted_3$n = {
|
|
@@ -9172,11 +9172,11 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9172
9172
|
type: "button",
|
|
9173
9173
|
"aria-expanded": _ctx.isOpen,
|
|
9174
9174
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClickToggle && _ctx.onClickToggle(...args))
|
|
9175
|
-
}, [createElementVNode("span", _hoisted_2$
|
|
9175
|
+
}, [createElementVNode("span", _hoisted_2$t, [createVNode(_component_f_icon, {
|
|
9176
9176
|
name: "circle"
|
|
9177
9177
|
}), _cache[2] || (_cache[2] = createTextVNode()), createVNode(_component_f_icon, {
|
|
9178
9178
|
name: "i"
|
|
9179
|
-
}), _cache[3] || (_cache[3] = createTextVNode()), createElementVNode("span", _hoisted_3$n, toDisplayString(_ctx.screenReaderText), 1)])], 8, _hoisted_1$
|
|
9179
|
+
}), _cache[3] || (_cache[3] = createTextVNode()), createElementVNode("span", _hoisted_3$n, toDisplayString(_ctx.screenReaderText), 1)])], 8, _hoisted_1$D)], 8, ["disabled", "to"])), _cache[7] || (_cache[7] = createTextVNode()), createElementVNode("div", mergeProps({
|
|
9180
9180
|
ref: "wrapper",
|
|
9181
9181
|
class: "tooltip"
|
|
9182
9182
|
}, _ctx.$attrs), [_ctx.ready ? (openBlock(), createElementBlock("div", _hoisted_4$k, [_ctx.hasHeader ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.headerTag), {
|
|
@@ -9194,7 +9194,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9194
9194
|
name: "close"
|
|
9195
9195
|
})])])])) : createCommentVNode("", true)], 16)], 64);
|
|
9196
9196
|
}
|
|
9197
|
-
const FTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9197
|
+
const FTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$v]]);
|
|
9198
9198
|
function* labelClasses(options) {
|
|
9199
9199
|
const {
|
|
9200
9200
|
labelClass
|
|
@@ -9235,7 +9235,7 @@ function isEqual(a, b) {
|
|
|
9235
9235
|
}
|
|
9236
9236
|
return a.every((_, i) => a[i] === b[i]);
|
|
9237
9237
|
}
|
|
9238
|
-
const _sfc_main$
|
|
9238
|
+
const _sfc_main$O = defineComponent({
|
|
9239
9239
|
name: "FFieldset",
|
|
9240
9240
|
components: {
|
|
9241
9241
|
FIcon
|
|
@@ -9463,8 +9463,8 @@ const _sfc_main$M = defineComponent({
|
|
|
9463
9463
|
}
|
|
9464
9464
|
}
|
|
9465
9465
|
});
|
|
9466
|
-
const _hoisted_1$
|
|
9467
|
-
const _hoisted_2$
|
|
9466
|
+
const _hoisted_1$C = ["id"];
|
|
9467
|
+
const _hoisted_2$s = {
|
|
9468
9468
|
key: 0,
|
|
9469
9469
|
class: "sr-only"
|
|
9470
9470
|
};
|
|
@@ -9504,7 +9504,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9504
9504
|
}, [(openBlock(), createElementBlock("legend", {
|
|
9505
9505
|
key: _ctx.legendKey,
|
|
9506
9506
|
class: normalizeClass(["label", _ctx.legendClass])
|
|
9507
|
-
}, [renderSlot(_ctx.$slots, "label"), _cache[1] || (_cache[1] = createTextVNode()), _ctx.hasCheckbox && _ctx.children.length > 1 ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
9507
|
+
}, [renderSlot(_ctx.$slots, "label"), _cache[1] || (_cache[1] = createTextVNode()), _ctx.hasCheckbox && _ctx.children.length > 1 ? (openBlock(), createElementBlock("span", _hoisted_2$s, [createElementVNode("span", null, toDisplayString(_ctx.numberOfCheckboxesScreenReaderText), 1)])) : createCommentVNode("", true), _cache[2] || (_cache[2] = createTextVNode()), renderSlot(_ctx.$slots, "description", {
|
|
9508
9508
|
descriptionClass: _ctx.descriptionClass,
|
|
9509
9509
|
formatDescriptionClass: _ctx.formatDescriptionClass
|
|
9510
9510
|
}), _cache[3] || (_cache[3] = createTextVNode()), renderSlot(_ctx.$slots, "error-message", normalizeProps(guardReactiveProps({
|
|
@@ -9530,11 +9530,11 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9530
9530
|
name: "error"
|
|
9531
9531
|
}), createTextVNode(" " + toDisplayString(_ctx.validity.validationMessage), 1)])) : createCommentVNode("", true)])], 2)) : createCommentVNode("", true)], 64)) : createCommentVNode("", true), _cache[9] || (_cache[9] = createTextVNode()), createElementVNode("div", {
|
|
9532
9532
|
class: normalizeClass(_ctx.groupContentClass)
|
|
9533
|
-
}, [renderSlot(_ctx.$slots, "default")], 2)], 42, _hoisted_1$
|
|
9533
|
+
}, [renderSlot(_ctx.$slots, "default")], 2)], 42, _hoisted_1$C);
|
|
9534
9534
|
}
|
|
9535
|
-
const FFieldset = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9535
|
+
const FFieldset = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$u]]);
|
|
9536
9536
|
const anyType$1 = [String, Object, Array, Number, Date, Boolean];
|
|
9537
|
-
const _sfc_main$
|
|
9537
|
+
const _sfc_main$N = defineComponent({
|
|
9538
9538
|
name: "FCheckboxField",
|
|
9539
9539
|
inheritAttrs: false,
|
|
9540
9540
|
props: {
|
|
@@ -9720,8 +9720,8 @@ const _sfc_main$L = defineComponent({
|
|
|
9720
9720
|
}
|
|
9721
9721
|
}
|
|
9722
9722
|
});
|
|
9723
|
-
const _hoisted_1$
|
|
9724
|
-
const _hoisted_2$
|
|
9723
|
+
const _hoisted_1$B = ["id", "disabled"];
|
|
9724
|
+
const _hoisted_2$r = ["for"];
|
|
9725
9725
|
const _hoisted_3$l = {
|
|
9726
9726
|
key: 0,
|
|
9727
9727
|
class: "checkbox__details"
|
|
@@ -9743,7 +9743,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9743
9743
|
disabled: _ctx.disabled,
|
|
9744
9744
|
onKeydown: _cache[0] || (_cache[0] = withKeys((...args) => _ctx.onKeydown && _ctx.onKeydown(...args), ["space"])),
|
|
9745
9745
|
onChange: _cache[1] || (_cache[1] = ($event) => _ctx.updateExpandedFlag())
|
|
9746
|
-
}), null, 16, _hoisted_1$
|
|
9746
|
+
}), null, 16, _hoisted_1$B), _cache[9] || (_cache[9] = createTextVNode()), createElementVNode("label", {
|
|
9747
9747
|
class: normalizeClass(_ctx.$slots.details ? "checkbox__label checkbox__width" : "checkbox__label"),
|
|
9748
9748
|
for: _ctx.id
|
|
9749
9749
|
}, [renderSlot(_ctx.$slots, "default"), _cache[8] || (_cache[8] = createTextVNode()), _ctx.$slots.details ? (openBlock(), createElementBlock(Fragment, {
|
|
@@ -9758,9 +9758,9 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9758
9758
|
height: _ctx.height
|
|
9759
9759
|
})])) : createCommentVNode("", true)]),
|
|
9760
9760
|
_: 3
|
|
9761
|
-
}, 8, ["onEnter", "onAfterEnter", "onLeave"])) : createCommentVNode("", true)], 64)) : createCommentVNode("", true)], 10, _hoisted_2$
|
|
9761
|
+
}, 8, ["onEnter", "onAfterEnter", "onLeave"])) : createCommentVNode("", true)], 64)) : createCommentVNode("", true)], 10, _hoisted_2$r)], 34);
|
|
9762
9762
|
}
|
|
9763
|
-
const FCheckboxField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9763
|
+
const FCheckboxField = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$t]]);
|
|
9764
9764
|
var es_iterator_some = {};
|
|
9765
9765
|
var hasRequiredEs_iterator_some;
|
|
9766
9766
|
function requireEs_iterator_some() {
|
|
@@ -9839,7 +9839,7 @@ async function doMenuAction$1(action, target) {
|
|
|
9839
9839
|
}
|
|
9840
9840
|
const preventKeys$1 = ["Tab", "Up", "Down", "ArrowUp", "ArrowDown", "Home", "End", " ", "Spacebar", "Enter", "Escape"];
|
|
9841
9841
|
const keyUp = ["ArrowUp", "Up"];
|
|
9842
|
-
const _sfc_main$
|
|
9842
|
+
const _sfc_main$M = defineComponent({
|
|
9843
9843
|
name: "FContextMenu",
|
|
9844
9844
|
components: {
|
|
9845
9845
|
IPopup,
|
|
@@ -10003,8 +10003,8 @@ const _sfc_main$K = defineComponent({
|
|
|
10003
10003
|
}
|
|
10004
10004
|
}
|
|
10005
10005
|
});
|
|
10006
|
-
const _hoisted_1$
|
|
10007
|
-
const _hoisted_2$
|
|
10006
|
+
const _hoisted_1$A = ["aria-label"];
|
|
10007
|
+
const _hoisted_2$q = {
|
|
10008
10008
|
ref: "contextmenu",
|
|
10009
10009
|
role: "menu",
|
|
10010
10010
|
tabindex: "-1",
|
|
@@ -10033,7 +10033,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10033
10033
|
"aria-label": _ctx.ariaLabel,
|
|
10034
10034
|
onKeyup: _cache[0] || (_cache[0] = (...args) => _ctx.onKeyUp && _ctx.onKeyUp(...args)),
|
|
10035
10035
|
onKeydown: _cache[1] || (_cache[1] = (...args) => _ctx.onKeyDown && _ctx.onKeyDown(...args))
|
|
10036
|
-
}, [createElementVNode("ul", _hoisted_2$
|
|
10036
|
+
}, [createElementVNode("ul", _hoisted_2$q, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.popupItems, (item, index) => {
|
|
10037
10037
|
return openBlock(), createElementBlock("li", {
|
|
10038
10038
|
key: item.key,
|
|
10039
10039
|
role: "menuitem",
|
|
@@ -10052,11 +10052,11 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10052
10052
|
ref_for: true,
|
|
10053
10053
|
ref: "anchors"
|
|
10054
10054
|
}, toDisplayString(item.label), 513)], 8, _hoisted_4$h), _cache[4] || (_cache[4] = createTextVNode()), _ctx.hasSeparatorAfterItemAt(index) ? (openBlock(), createElementBlock("hr", _hoisted_5$e)) : createCommentVNode("", true)], 8, _hoisted_3$k);
|
|
10055
|
-
}), 128))], 512)], 40, _hoisted_1$
|
|
10055
|
+
}), 128))], 512)], 40, _hoisted_1$A)]),
|
|
10056
10056
|
_: 1
|
|
10057
10057
|
}, 8, ["is-open", "anchor", "focus-element"]);
|
|
10058
10058
|
}
|
|
10059
|
-
const FContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10059
|
+
const FContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$s]]);
|
|
10060
10060
|
var Operation = /* @__PURE__ */ ((Operation2) => {
|
|
10061
10061
|
Operation2[Operation2["ADD"] = 0] = "ADD";
|
|
10062
10062
|
Operation2[Operation2["DELETE"] = 1] = "DELETE";
|
|
@@ -10064,13 +10064,13 @@ var Operation = /* @__PURE__ */ ((Operation2) => {
|
|
|
10064
10064
|
Operation2[Operation2["NONE"] = 3] = "NONE";
|
|
10065
10065
|
return Operation2;
|
|
10066
10066
|
})(Operation || {});
|
|
10067
|
-
const _hoisted_1$
|
|
10067
|
+
const _hoisted_1$z = {
|
|
10068
10068
|
class: "crud-dataset"
|
|
10069
10069
|
};
|
|
10070
|
-
const _hoisted_2$
|
|
10070
|
+
const _hoisted_2$p = {
|
|
10071
10071
|
key: 0
|
|
10072
10072
|
};
|
|
10073
|
-
const _sfc_main$
|
|
10073
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
10074
10074
|
__name: "FCrudDataset",
|
|
10075
10075
|
props: {
|
|
10076
10076
|
/**
|
|
@@ -10300,7 +10300,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
10300
10300
|
isFormModalOpen.value = true;
|
|
10301
10301
|
}
|
|
10302
10302
|
return (_ctx, _cache) => {
|
|
10303
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
10303
|
+
return openBlock(), createElementBlock("div", _hoisted_1$z, [renderSlot(_ctx.$slots, "default"), _cache[5] || (_cache[5] = createTextVNode()), hasAddSlot.value ? (openBlock(), createElementBlock("div", _hoisted_2$p, [createElementVNode("button", {
|
|
10304
10304
|
"data-test": "f-crud-dataset-add-button",
|
|
10305
10305
|
type: "button",
|
|
10306
10306
|
class: "button button--tertiary crud-dataset__add-button",
|
|
@@ -10352,7 +10352,7 @@ function FCrudDatasetInjected() {
|
|
|
10352
10352
|
modify: inject("modify")
|
|
10353
10353
|
};
|
|
10354
10354
|
}
|
|
10355
|
-
const _sfc_main$
|
|
10355
|
+
const _sfc_main$K = defineComponent({
|
|
10356
10356
|
name: "FCrudButton",
|
|
10357
10357
|
components: {
|
|
10358
10358
|
FIcon
|
|
@@ -10408,7 +10408,7 @@ const _sfc_main$I = defineComponent({
|
|
|
10408
10408
|
}
|
|
10409
10409
|
}
|
|
10410
10410
|
});
|
|
10411
|
-
const _hoisted_1$
|
|
10411
|
+
const _hoisted_1$y = {
|
|
10412
10412
|
key: 1,
|
|
10413
10413
|
class: "sr-only"
|
|
10414
10414
|
};
|
|
@@ -10422,11 +10422,11 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10422
10422
|
key: 0,
|
|
10423
10423
|
class: "button__icon",
|
|
10424
10424
|
name: _ctx.iconName
|
|
10425
|
-
}, null, 8, ["name"])) : createCommentVNode("", true), _cache[1] || (_cache[1] = createTextVNode()), !_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
10425
|
+
}, null, 8, ["name"])) : createCommentVNode("", true), _cache[1] || (_cache[1] = createTextVNode()), !_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$y, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(_ctx.buttonText), 1)])])) : createCommentVNode("", true), _cache[2] || (_cache[2] = createTextVNode()), _ctx.label ? renderSlot(_ctx.$slots, "default", {
|
|
10426
10426
|
key: 2
|
|
10427
10427
|
}, () => [createTextVNode(toDisplayString(_ctx.buttonText), 1)]) : createCommentVNode("", true)]);
|
|
10428
10428
|
}
|
|
10429
|
-
const FCrudButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10429
|
+
const FCrudButton = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$r]]);
|
|
10430
10430
|
function ActivateItemInjected() {
|
|
10431
10431
|
return {
|
|
10432
10432
|
registerCallbackAfterItemAdd: inject("registerCallbackAfterItemAdd", () => void 0),
|
|
@@ -10510,7 +10510,7 @@ function FTableInjected() {
|
|
|
10510
10510
|
renderColumns: inject("renderColumns", false)
|
|
10511
10511
|
};
|
|
10512
10512
|
}
|
|
10513
|
-
const _sfc_main$
|
|
10513
|
+
const _sfc_main$J = defineComponent({
|
|
10514
10514
|
name: "FTableColumn",
|
|
10515
10515
|
inheritAttrs: false,
|
|
10516
10516
|
props: {
|
|
@@ -10663,7 +10663,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10663
10663
|
_: 3
|
|
10664
10664
|
}, 16, ["class", "scope"])) : createCommentVNode("", true);
|
|
10665
10665
|
}
|
|
10666
|
-
const FTableColumn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10666
|
+
const FTableColumn = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$q]]);
|
|
10667
10667
|
function FSortFilterDatasetInjected() {
|
|
10668
10668
|
return {
|
|
10669
10669
|
sort: inject("sort", () => void 0),
|
|
@@ -10671,7 +10671,7 @@ function FSortFilterDatasetInjected() {
|
|
|
10671
10671
|
registerCallbackOnMount: inject("registerCallbackOnMount", () => void 0)
|
|
10672
10672
|
};
|
|
10673
10673
|
}
|
|
10674
|
-
const _sfc_main$
|
|
10674
|
+
const _sfc_main$I = defineComponent({
|
|
10675
10675
|
name: "FLabel",
|
|
10676
10676
|
components: {
|
|
10677
10677
|
FIcon
|
|
@@ -10710,10 +10710,10 @@ const _sfc_main$G = defineComponent({
|
|
|
10710
10710
|
}
|
|
10711
10711
|
}
|
|
10712
10712
|
});
|
|
10713
|
-
const _hoisted_1$
|
|
10713
|
+
const _hoisted_1$x = {
|
|
10714
10714
|
key: 0
|
|
10715
10715
|
};
|
|
10716
|
-
const _hoisted_2$
|
|
10716
|
+
const _hoisted_2$o = {
|
|
10717
10717
|
key: 0,
|
|
10718
10718
|
ref: "tooltipAttachTo"
|
|
10719
10719
|
};
|
|
@@ -10730,7 +10730,7 @@ const _hoisted_7$a = {
|
|
|
10730
10730
|
};
|
|
10731
10731
|
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10732
10732
|
const _component_f_icon = resolveComponent("f-icon");
|
|
10733
|
-
return _ctx.$slots.tooltip ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
10733
|
+
return _ctx.$slots.tooltip ? (openBlock(), createElementBlock("div", _hoisted_1$x, [_ctx.hasDefaultSlot ? (openBlock(), createElementBlock("div", _hoisted_2$o, [createElementVNode("label", {
|
|
10734
10734
|
class: "label",
|
|
10735
10735
|
for: _ctx.forProperty
|
|
10736
10736
|
}, [renderSlot(_ctx.$slots, "default")], 8, _hoisted_3$j)], 512)) : createCommentVNode("", true), _cache[2] || (_cache[2] = createTextVNode()), renderSlot(_ctx.$slots, "tooltip"), _cache[3] || (_cache[3] = createTextVNode()), _ctx.hasDescriptionSlot || _ctx.hasErrorMessageSlot ? (openBlock(), createElementBlock("label", {
|
|
@@ -10755,11 +10755,11 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10755
10755
|
name: "error"
|
|
10756
10756
|
}), _cache[4] || (_cache[4] = createTextVNode()), renderSlot(_ctx.$slots, "error-message")])) : createCommentVNode("", true)], 8, _hoisted_6$b));
|
|
10757
10757
|
}
|
|
10758
|
-
const FLabel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10758
|
+
const FLabel = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$p]]);
|
|
10759
10759
|
function resolveWidthClass$1(words, inline) {
|
|
10760
10760
|
return inline ? void 0 : words.split(" ").map((word) => `i-width-${word}`).join(" ");
|
|
10761
10761
|
}
|
|
10762
|
-
const _sfc_main$
|
|
10762
|
+
const _sfc_main$H = defineComponent({
|
|
10763
10763
|
name: "FSelectField",
|
|
10764
10764
|
components: {
|
|
10765
10765
|
FIcon,
|
|
@@ -10890,7 +10890,7 @@ const _sfc_main$F = defineComponent({
|
|
|
10890
10890
|
}
|
|
10891
10891
|
}
|
|
10892
10892
|
});
|
|
10893
|
-
const _hoisted_1$
|
|
10893
|
+
const _hoisted_1$w = ["id"];
|
|
10894
10894
|
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10895
10895
|
const _component_f_label = resolveComponent("f-label");
|
|
10896
10896
|
const _component_f_icon = resolveComponent("f-icon");
|
|
@@ -10928,7 +10928,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10928
10928
|
id: _ctx.id,
|
|
10929
10929
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.vModel = $event),
|
|
10930
10930
|
class: "select-field__select"
|
|
10931
|
-
}, _ctx.attrs), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$
|
|
10931
|
+
}, _ctx.attrs), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$w), [[vModelSelect, _ctx.vModel]]), _cache[5] || (_cache[5] = createTextVNode()), _ctx.hasError && _ctx.textFieldTableMode ? (openBlock(), createBlock(_component_f_icon, {
|
|
10932
10932
|
key: 0,
|
|
10933
10933
|
ref: "icon",
|
|
10934
10934
|
class: "text-field__icon input-icon select-field__error-popup-icon",
|
|
@@ -10938,7 +10938,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10938
10938
|
name: "arrow-down"
|
|
10939
10939
|
})], 2)], 34);
|
|
10940
10940
|
}
|
|
10941
|
-
const FSelectField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10941
|
+
const FSelectField = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$o]]);
|
|
10942
10942
|
function resolveWidthClass(words, inline) {
|
|
10943
10943
|
return inline ? void 0 : words.split(" ").map((word) => `i-width-${word}`).join(" ");
|
|
10944
10944
|
}
|
|
@@ -10982,14 +10982,14 @@ function useTextFieldSetup(props) {
|
|
|
10982
10982
|
closeDropdown
|
|
10983
10983
|
};
|
|
10984
10984
|
}
|
|
10985
|
-
const _sfc_main$
|
|
10985
|
+
const _sfc_main$G = defineComponent({
|
|
10986
10986
|
name: "FTextField",
|
|
10987
10987
|
components: {
|
|
10988
10988
|
FLabel,
|
|
10989
10989
|
FIcon,
|
|
10990
10990
|
IPopupError,
|
|
10991
|
-
IComboboxDropdown: _sfc_main$
|
|
10992
|
-
IComboboxToggleButton: _sfc_main$
|
|
10991
|
+
IComboboxDropdown: _sfc_main$R,
|
|
10992
|
+
IComboboxToggleButton: _sfc_main$Q
|
|
10993
10993
|
},
|
|
10994
10994
|
inheritAttrs: false,
|
|
10995
10995
|
props: {
|
|
@@ -11013,11 +11013,12 @@ const _sfc_main$E = defineComponent({
|
|
|
11013
11013
|
},
|
|
11014
11014
|
/**
|
|
11015
11015
|
* The value for the input.
|
|
11016
|
-
* If the prop is not
|
|
11016
|
+
* If the prop is not used or set to undefined
|
|
11017
|
+
* or null then the default value will be used.
|
|
11017
11018
|
* @model
|
|
11018
11019
|
*/
|
|
11019
11020
|
modelValue: {
|
|
11020
|
-
type: [String, Number],
|
|
11021
|
+
type: [String, Number, null],
|
|
11021
11022
|
required: false,
|
|
11022
11023
|
default: ""
|
|
11023
11024
|
},
|
|
@@ -11320,10 +11321,10 @@ const _sfc_main$E = defineComponent({
|
|
|
11320
11321
|
}
|
|
11321
11322
|
}
|
|
11322
11323
|
});
|
|
11323
|
-
const _hoisted_1$
|
|
11324
|
+
const _hoisted_1$v = {
|
|
11324
11325
|
key: 0
|
|
11325
11326
|
};
|
|
11326
|
-
const _hoisted_2$
|
|
11327
|
+
const _hoisted_2$n = {
|
|
11327
11328
|
key: 0,
|
|
11328
11329
|
class: "sr-only"
|
|
11329
11330
|
};
|
|
@@ -11357,7 +11358,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11357
11358
|
for: _ctx.id,
|
|
11358
11359
|
class: normalizeClass(_ctx.labelClass)
|
|
11359
11360
|
}, createSlots({
|
|
11360
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [_ctx.defaultText !== "" ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
11361
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [_ctx.defaultText !== "" ? (openBlock(), createElementBlock("span", _hoisted_1$v, toDisplayString(_ctx.defaultText), 1)) : createCommentVNode("", true)])]),
|
|
11361
11362
|
description: withCtx(({
|
|
11362
11363
|
descriptionClass,
|
|
11363
11364
|
formatDescriptionClass
|
|
@@ -11367,7 +11368,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11367
11368
|
}, () => [_ctx.descriptionText ? (openBlock(), createElementBlock("span", {
|
|
11368
11369
|
key: 0,
|
|
11369
11370
|
class: normalizeClass(descriptionClass)
|
|
11370
|
-
}, [_ctx.descriptionScreenReaderText ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
11371
|
+
}, [_ctx.descriptionScreenReaderText ? (openBlock(), createElementBlock("span", _hoisted_2$n, toDisplayString(_ctx.descriptionScreenReaderText), 1)) : createCommentVNode("", true), _cache[7] || (_cache[7] = createTextVNode()), createElementVNode("span", null, toDisplayString(_ctx.descriptionText), 1)], 2)) : createCommentVNode("", true), _cache[9] || (_cache[9] = createTextVNode()), _ctx.discreteDescriptionText ? (openBlock(), createElementBlock("span", {
|
|
11371
11372
|
key: 1,
|
|
11372
11373
|
class: normalizeClass(formatDescriptionClass)
|
|
11373
11374
|
}, [_ctx.discreteDescriptionScreenReaderText ? (openBlock(), createElementBlock("span", _hoisted_3$i, toDisplayString(_ctx.discreteDescriptionScreenReaderText), 1)) : createCommentVNode("", true), _cache[8] || (_cache[8] = createTextVNode()), createElementVNode("span", null, toDisplayString(_ctx.discreteDescriptionText), 1)], 2)) : createCommentVNode("", true)])]),
|
|
@@ -11426,8 +11427,8 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11426
11427
|
onClose: _ctx.onDropdownClose
|
|
11427
11428
|
}, null, 8, ["id", "is-open", "options", "active-option", "active-option-id", "input-node", "onSelect", "onClose"])) : createCommentVNode("", true)], 2);
|
|
11428
11429
|
}
|
|
11429
|
-
const FTextField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11430
|
-
const _sfc_main$
|
|
11430
|
+
const FTextField = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$n]]);
|
|
11431
|
+
const _sfc_main$F = defineComponent({
|
|
11431
11432
|
name: "FEmailTextField",
|
|
11432
11433
|
components: {
|
|
11433
11434
|
FTextField
|
|
@@ -11451,7 +11452,7 @@ const _sfc_main$D = defineComponent({
|
|
|
11451
11452
|
* @model
|
|
11452
11453
|
*/
|
|
11453
11454
|
modelValue: {
|
|
11454
|
-
type: String,
|
|
11455
|
+
type: [String, null],
|
|
11455
11456
|
required: false,
|
|
11456
11457
|
default: void 0
|
|
11457
11458
|
},
|
|
@@ -11543,7 +11544,7 @@ const _sfc_main$D = defineComponent({
|
|
|
11543
11544
|
}
|
|
11544
11545
|
}
|
|
11545
11546
|
});
|
|
11546
|
-
const _hoisted_1$
|
|
11547
|
+
const _hoisted_1$u = {
|
|
11547
11548
|
key: 0
|
|
11548
11549
|
};
|
|
11549
11550
|
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -11560,7 +11561,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11560
11561
|
onValidity: _ctx.onValidity,
|
|
11561
11562
|
onPendingValidity: _ctx.onPendingValidity
|
|
11562
11563
|
}), {
|
|
11563
|
-
"error-message": withCtx(() => [_ctx.showPasteErrorMessage ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
11564
|
+
"error-message": withCtx(() => [_ctx.showPasteErrorMessage ? (openBlock(), createElementBlock("span", _hoisted_1$u, toDisplayString(_ctx.pasteErrorText), 1)) : createCommentVNode("", true)]),
|
|
11564
11565
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(_ctx.defaultText), 1)]), _cache[2] || (_cache[2] = createTextVNode())]),
|
|
11565
11566
|
_: 3
|
|
11566
11567
|
}, 16, ["id", "maxlength", "model-value", "onChange", "onBlur", "onUpdate:modelValue", "onValidity", "onPendingValidity"]), _cache[3] || (_cache[3] = createTextVNode()), _ctx.extendedValidation ? (openBlock(), createBlock(_component_f_text_field, {
|
|
@@ -11576,8 +11577,8 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11576
11577
|
_: 3
|
|
11577
11578
|
}, 8, ["modelValue", "maxlength", "onPaste"])) : createCommentVNode("", true)]);
|
|
11578
11579
|
}
|
|
11579
|
-
const FEmailTextField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11580
|
-
const _sfc_main$
|
|
11580
|
+
const FEmailTextField = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$m]]);
|
|
11581
|
+
const _sfc_main$E = defineComponent({
|
|
11581
11582
|
name: "FPhoneTextField",
|
|
11582
11583
|
components: {
|
|
11583
11584
|
FTextField
|
|
@@ -11597,11 +11598,12 @@ const _sfc_main$C = defineComponent({
|
|
|
11597
11598
|
},
|
|
11598
11599
|
/**
|
|
11599
11600
|
* The value for the input.
|
|
11600
|
-
* If the prop is not
|
|
11601
|
+
* If the prop is not used or set to undefined
|
|
11602
|
+
* or null then the default value will be used.
|
|
11601
11603
|
* @model
|
|
11602
11604
|
*/
|
|
11603
11605
|
modelValue: {
|
|
11604
|
-
type: String,
|
|
11606
|
+
type: [String, null],
|
|
11605
11607
|
required: false,
|
|
11606
11608
|
default: void 0
|
|
11607
11609
|
},
|
|
@@ -11704,8 +11706,8 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11704
11706
|
_: 3
|
|
11705
11707
|
}, 8, ["modelValue", "maxlength"])) : createCommentVNode("", true)]);
|
|
11706
11708
|
}
|
|
11707
|
-
const FPhoneTextField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11708
|
-
const _sfc_main$
|
|
11709
|
+
const FPhoneTextField = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$l]]);
|
|
11710
|
+
const _sfc_main$D = defineComponent({
|
|
11709
11711
|
name: "FCurrencyTextField",
|
|
11710
11712
|
extends: FTextField,
|
|
11711
11713
|
mixins: [TranslationMixin],
|
|
@@ -11740,7 +11742,7 @@ const _sfc_main$B = defineComponent({
|
|
|
11740
11742
|
ValidationService.validateElement(inputElement);
|
|
11741
11743
|
}
|
|
11742
11744
|
});
|
|
11743
|
-
const _sfc_main$
|
|
11745
|
+
const _sfc_main$C = defineComponent({
|
|
11744
11746
|
name: "FSearchTextField",
|
|
11745
11747
|
components: {
|
|
11746
11748
|
FTextField,
|
|
@@ -11753,7 +11755,7 @@ const _sfc_main$A = defineComponent({
|
|
|
11753
11755
|
default: () => ElementIdService.generateElementId()
|
|
11754
11756
|
},
|
|
11755
11757
|
modelValue: {
|
|
11756
|
-
type: String,
|
|
11758
|
+
type: [String, null],
|
|
11757
11759
|
required: false,
|
|
11758
11760
|
default: ""
|
|
11759
11761
|
},
|
|
@@ -11775,7 +11777,8 @@ const _sfc_main$A = defineComponent({
|
|
|
11775
11777
|
},
|
|
11776
11778
|
computed: {
|
|
11777
11779
|
canClear() {
|
|
11778
|
-
|
|
11780
|
+
const isEmpty2 = this.modelValue === void 0 || this.modelValue === null || this.modelValue === "";
|
|
11781
|
+
return !isEmpty2;
|
|
11779
11782
|
}
|
|
11780
11783
|
},
|
|
11781
11784
|
methods: {
|
|
@@ -11800,7 +11803,7 @@ const _sfc_main$A = defineComponent({
|
|
|
11800
11803
|
}
|
|
11801
11804
|
}
|
|
11802
11805
|
});
|
|
11803
|
-
const _hoisted_1$
|
|
11806
|
+
const _hoisted_1$t = {
|
|
11804
11807
|
class: "sr-only"
|
|
11805
11808
|
};
|
|
11806
11809
|
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -11849,12 +11852,12 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11849
11852
|
}, [createVNode(_component_f_icon, {
|
|
11850
11853
|
name: "cross",
|
|
11851
11854
|
class: "clear-button__icon"
|
|
11852
|
-
}), _cache[1] || (_cache[1] = createTextVNode()), createElementVNode("span", _hoisted_1$
|
|
11855
|
+
}), _cache[1] || (_cache[1] = createTextVNode()), createElementVNode("span", _hoisted_1$t, toDisplayString(_ctx.clearableScreenReaderText), 1)])]),
|
|
11853
11856
|
key: "1"
|
|
11854
11857
|
} : void 0]), 1040, ["id", "maxlength", "model-value", "onChange", "onInput", "onBlur", "onUpdate"])]);
|
|
11855
11858
|
}
|
|
11856
|
-
const FSearchTextField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11857
|
-
const _sfc_main$
|
|
11859
|
+
const FSearchTextField = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$k]]);
|
|
11860
|
+
const _sfc_main$B = defineComponent({
|
|
11858
11861
|
name: "FBankAccountNumberTextField",
|
|
11859
11862
|
extends: FTextField,
|
|
11860
11863
|
mixins: [TranslationMixin],
|
|
@@ -11883,7 +11886,7 @@ const _sfc_main$z = defineComponent({
|
|
|
11883
11886
|
ValidationService.validateElement(inputElement);
|
|
11884
11887
|
}
|
|
11885
11888
|
});
|
|
11886
|
-
const _sfc_main$
|
|
11889
|
+
const _sfc_main$A = defineComponent({
|
|
11887
11890
|
name: "FBankgiroTextField",
|
|
11888
11891
|
extends: FTextField,
|
|
11889
11892
|
mixins: [TranslationMixin],
|
|
@@ -11915,7 +11918,7 @@ const _sfc_main$y = defineComponent({
|
|
|
11915
11918
|
ValidationService.validateElement(inputElement);
|
|
11916
11919
|
}
|
|
11917
11920
|
});
|
|
11918
|
-
const _sfc_main$
|
|
11921
|
+
const _sfc_main$z = defineComponent({
|
|
11919
11922
|
name: "FClearingnumberTextField",
|
|
11920
11923
|
extends: FTextField,
|
|
11921
11924
|
mixins: [TranslationMixin],
|
|
@@ -11947,7 +11950,7 @@ const _sfc_main$x = defineComponent({
|
|
|
11947
11950
|
function defaultFormatter$1(modelValue) {
|
|
11948
11951
|
return formatNumber(modelValue, this.decimals);
|
|
11949
11952
|
}
|
|
11950
|
-
const _sfc_main$
|
|
11953
|
+
const _sfc_main$y = defineComponent({
|
|
11951
11954
|
name: "FNumericTextField",
|
|
11952
11955
|
extends: FTextField,
|
|
11953
11956
|
props: {
|
|
@@ -11984,7 +11987,7 @@ const _sfc_main$w = defineComponent({
|
|
|
11984
11987
|
ValidationService.validateElement(inputElement);
|
|
11985
11988
|
}
|
|
11986
11989
|
});
|
|
11987
|
-
const _sfc_main$
|
|
11990
|
+
const _sfc_main$x = defineComponent({
|
|
11988
11991
|
name: "FPersonnummerTextField",
|
|
11989
11992
|
extends: FTextField,
|
|
11990
11993
|
mixins: [TranslationMixin],
|
|
@@ -12024,7 +12027,7 @@ const _sfc_main$v = defineComponent({
|
|
|
12024
12027
|
ValidationService.validateElement(inputElement);
|
|
12025
12028
|
}
|
|
12026
12029
|
});
|
|
12027
|
-
const _sfc_main$
|
|
12030
|
+
const _sfc_main$w = defineComponent({
|
|
12028
12031
|
name: "FPlusgiroTextField",
|
|
12029
12032
|
extends: FTextField,
|
|
12030
12033
|
mixins: [TranslationMixin],
|
|
@@ -12056,7 +12059,7 @@ const _sfc_main$u = defineComponent({
|
|
|
12056
12059
|
ValidationService.validateElement(inputElement);
|
|
12057
12060
|
}
|
|
12058
12061
|
});
|
|
12059
|
-
const _sfc_main$
|
|
12062
|
+
const _sfc_main$v = defineComponent({
|
|
12060
12063
|
name: "FPostalCodeTextField",
|
|
12061
12064
|
extends: FTextField,
|
|
12062
12065
|
mixins: [TranslationMixin],
|
|
@@ -12093,7 +12096,7 @@ const _sfc_main$t = defineComponent({
|
|
|
12093
12096
|
function defaultFormatter(modelValue) {
|
|
12094
12097
|
return formatPercent(modelValue, this.decimals);
|
|
12095
12098
|
}
|
|
12096
|
-
const _sfc_main$
|
|
12099
|
+
const _sfc_main$u = defineComponent({
|
|
12097
12100
|
name: "FPercentTextField",
|
|
12098
12101
|
extends: FTextField,
|
|
12099
12102
|
mixins: [TranslationMixin],
|
|
@@ -12141,7 +12144,7 @@ const _sfc_main$s = defineComponent({
|
|
|
12141
12144
|
ValidationService.validateElement(inputElement);
|
|
12142
12145
|
}
|
|
12143
12146
|
});
|
|
12144
|
-
const _sfc_main$
|
|
12147
|
+
const _sfc_main$t = defineComponent({
|
|
12145
12148
|
name: "FOrganisationsnummerTextField",
|
|
12146
12149
|
extends: FTextField,
|
|
12147
12150
|
mixins: [TranslationMixin],
|
|
@@ -12249,10 +12252,10 @@ function filter(list, filterAttributes, searchString) {
|
|
|
12249
12252
|
const searchTerms = searchString.split(/\s+/).map((word) => word.toLocaleLowerCase());
|
|
12250
12253
|
return list.filter((item) => includesAllSearchTerms(item, filterAttributes, searchTerms));
|
|
12251
12254
|
}
|
|
12252
|
-
const _hoisted_1$
|
|
12255
|
+
const _hoisted_1$s = {
|
|
12253
12256
|
class: "sort-filter-dataset"
|
|
12254
12257
|
};
|
|
12255
|
-
const _hoisted_2$
|
|
12258
|
+
const _hoisted_2$m = {
|
|
12256
12259
|
class: "sort-filter-dataset__search"
|
|
12257
12260
|
};
|
|
12258
12261
|
const _hoisted_3$h = {
|
|
@@ -12269,7 +12272,7 @@ const _hoisted_6$9 = {
|
|
|
12269
12272
|
}
|
|
12270
12273
|
};
|
|
12271
12274
|
const _hoisted_7$8 = ["value"];
|
|
12272
|
-
const _sfc_main$
|
|
12275
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
12273
12276
|
__name: "FSortFilterDataset",
|
|
12274
12277
|
props: {
|
|
12275
12278
|
/**
|
|
@@ -12455,7 +12458,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
12455
12458
|
}
|
|
12456
12459
|
}
|
|
12457
12460
|
return (_ctx, _cache) => {
|
|
12458
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
12461
|
+
return openBlock(), createElementBlock("div", _hoisted_1$s, [createVNode(unref(IFlex), {
|
|
12459
12462
|
collapse: "",
|
|
12460
12463
|
gap: "3x",
|
|
12461
12464
|
wrap: ""
|
|
@@ -12480,7 +12483,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
12480
12483
|
shrink: "",
|
|
12481
12484
|
align: "center"
|
|
12482
12485
|
}, {
|
|
12483
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_2$
|
|
12486
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_2$m, [createVNode(unref(FIcon), {
|
|
12484
12487
|
name: "search",
|
|
12485
12488
|
class: "sort-filter-dataset__search__magnify-icon"
|
|
12486
12489
|
}), _cache[3] || (_cache[3] = createTextVNode()), createVNode(unref(FTextField), {
|
|
@@ -12538,8 +12541,8 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
12538
12541
|
};
|
|
12539
12542
|
}
|
|
12540
12543
|
});
|
|
12541
|
-
const _hoisted_1$
|
|
12542
|
-
const _hoisted_2$
|
|
12544
|
+
const _hoisted_1$r = ["tabindex"];
|
|
12545
|
+
const _hoisted_2$l = {
|
|
12543
12546
|
key: 0
|
|
12544
12547
|
};
|
|
12545
12548
|
const _hoisted_3$g = {
|
|
@@ -12557,7 +12560,7 @@ const _hoisted_7$7 = {
|
|
|
12557
12560
|
key: 1
|
|
12558
12561
|
};
|
|
12559
12562
|
const _hoisted_8$5 = ["colspan"];
|
|
12560
|
-
const _sfc_main$
|
|
12563
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
12561
12564
|
...{
|
|
12562
12565
|
inheritAttrs: false
|
|
12563
12566
|
},
|
|
@@ -12703,7 +12706,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
12703
12706
|
}, [createElementVNode("table", mergeProps({
|
|
12704
12707
|
class: ["table", tableClasses.value],
|
|
12705
12708
|
tabindex: tabindex.value
|
|
12706
|
-
}, _ctx.$attrs), [hasCaption.value ? (openBlock(), createElementBlock("caption", _hoisted_2$
|
|
12709
|
+
}, _ctx.$attrs), [hasCaption.value ? (openBlock(), createElementBlock("caption", _hoisted_2$l, [renderSlot(_ctx.$slots, "caption")])) : createCommentVNode("", true), _cache[4] || (_cache[4] = createTextVNode()), createElementVNode("colgroup", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(columns.value, (column) => {
|
|
12707
12710
|
return openBlock(), createElementBlock("col", {
|
|
12708
12711
|
key: column.id,
|
|
12709
12712
|
class: normalizeClass(column.size)
|
|
@@ -12736,7 +12739,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
12736
12739
|
}, {
|
|
12737
12740
|
row
|
|
12738
12741
|
}))]);
|
|
12739
|
-
}), 128))])], 16, _hoisted_1$
|
|
12742
|
+
}), 128))])], 16, _hoisted_1$r)], 2);
|
|
12740
12743
|
};
|
|
12741
12744
|
}
|
|
12742
12745
|
});
|
|
@@ -12815,7 +12818,7 @@ function getDisplayMonth(minDate, maxDate, selectedDate, initialMonth) {
|
|
|
12815
12818
|
}
|
|
12816
12819
|
return month || FDate.now().startOfMonth();
|
|
12817
12820
|
}
|
|
12818
|
-
const _sfc_main$
|
|
12821
|
+
const _sfc_main$q = defineComponent({
|
|
12819
12822
|
name: "FDatepickerField",
|
|
12820
12823
|
components: {
|
|
12821
12824
|
FCalendar,
|
|
@@ -13073,11 +13076,11 @@ const _sfc_main$o = defineComponent({
|
|
|
13073
13076
|
}
|
|
13074
13077
|
}
|
|
13075
13078
|
});
|
|
13076
|
-
const _hoisted_1$
|
|
13079
|
+
const _hoisted_1$q = {
|
|
13077
13080
|
ref: "component",
|
|
13078
13081
|
class: "datepicker-field"
|
|
13079
13082
|
};
|
|
13080
|
-
const _hoisted_2$
|
|
13083
|
+
const _hoisted_2$k = ["disabled", "aria-expanded"];
|
|
13081
13084
|
const _hoisted_3$f = {
|
|
13082
13085
|
class: "sr-only"
|
|
13083
13086
|
};
|
|
@@ -13090,7 +13093,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13090
13093
|
const _component_f_calendar_day = resolveComponent("f-calendar-day");
|
|
13091
13094
|
const _component_f_calendar = resolveComponent("f-calendar");
|
|
13092
13095
|
const _component_i_popup = resolveComponent("i-popup");
|
|
13093
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13096
|
+
return openBlock(), createElementBlock("div", _hoisted_1$q, [createElementVNode("div", {
|
|
13094
13097
|
ref: "calendarInputs",
|
|
13095
13098
|
onFocusout: _cache[2] || (_cache[2] = (...args) => _ctx.onFocusoutTextFieldButton && _ctx.onFocusoutTextFieldButton(...args))
|
|
13096
13099
|
}, [createVNode(_component_f_text_field, mergeProps(_ctx.$attrs, {
|
|
@@ -13129,7 +13132,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13129
13132
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.onClickCalendarButton())
|
|
13130
13133
|
}, [createVNode(_component_f_icon, {
|
|
13131
13134
|
name: "calendar"
|
|
13132
|
-
}), _cache[6] || (_cache[6] = createTextVNode()), createElementVNode("span", _hoisted_3$f, toDisplayString(_ctx.calendarButtonText), 1)], 8, _hoisted_2$
|
|
13135
|
+
}), _cache[6] || (_cache[6] = createTextVNode()), createElementVNode("span", _hoisted_3$f, toDisplayString(_ctx.calendarButtonText), 1)], 8, _hoisted_2$k)]),
|
|
13133
13136
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(_ctx.$t("fkui.datepicker-field.label", "Datum")), 1)]), _cache[7] || (_cache[7] = createTextVNode()), _cache[8] || (_cache[8] = createTextVNode()), _cache[9] || (_cache[9] = createTextVNode()), _cache[10] || (_cache[10] = createTextVNode())]),
|
|
13134
13137
|
_: 2
|
|
13135
13138
|
}, [_ctx.$slots.tooltip ? {
|
|
@@ -13180,11 +13183,11 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13180
13183
|
_: 1
|
|
13181
13184
|
}, 8, ["is-open", "anchor", "inline", "onOpen", "onClose"])], 512);
|
|
13182
13185
|
}
|
|
13183
|
-
const FDatepickerField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13186
|
+
const FDatepickerField = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$j]]);
|
|
13184
13187
|
function isDialogueTreeEndQuestion(value) {
|
|
13185
13188
|
return Boolean(value.userData);
|
|
13186
13189
|
}
|
|
13187
|
-
const _sfc_main$
|
|
13190
|
+
const _sfc_main$p = defineComponent({
|
|
13188
13191
|
name: "FDialogueTree",
|
|
13189
13192
|
components: {
|
|
13190
13193
|
FIcon
|
|
@@ -13262,17 +13265,17 @@ const _sfc_main$n = defineComponent({
|
|
|
13262
13265
|
}
|
|
13263
13266
|
}
|
|
13264
13267
|
});
|
|
13265
|
-
const _hoisted_1$
|
|
13268
|
+
const _hoisted_1$p = {
|
|
13266
13269
|
class: "dialogue-tree"
|
|
13267
13270
|
};
|
|
13268
|
-
const _hoisted_2$
|
|
13271
|
+
const _hoisted_2$j = {
|
|
13269
13272
|
key: 0,
|
|
13270
13273
|
class: "dialogue-tree__list"
|
|
13271
13274
|
};
|
|
13272
13275
|
const _hoisted_3$e = ["onClick"];
|
|
13273
13276
|
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13274
13277
|
const _component_f_icon = resolveComponent("f-icon");
|
|
13275
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13278
|
+
return openBlock(), createElementBlock("div", _hoisted_1$p, [_ctx.options.length > 0 ? (openBlock(), createElementBlock("ul", _hoisted_2$j, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option, index) => {
|
|
13276
13279
|
return openBlock(), createElementBlock("li", {
|
|
13277
13280
|
key: option.label,
|
|
13278
13281
|
class: "dialogue-tree__list-item"
|
|
@@ -13290,8 +13293,8 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13290
13293
|
userData: _ctx.userData
|
|
13291
13294
|
})))]);
|
|
13292
13295
|
}
|
|
13293
|
-
const FDialogueTree = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13294
|
-
const _sfc_main$
|
|
13296
|
+
const FDialogueTree = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$i]]);
|
|
13297
|
+
const _sfc_main$o = defineComponent({
|
|
13295
13298
|
name: "FExpandablePanel",
|
|
13296
13299
|
components: {
|
|
13297
13300
|
FIcon,
|
|
@@ -13365,8 +13368,8 @@ const _sfc_main$m = defineComponent({
|
|
|
13365
13368
|
}
|
|
13366
13369
|
}
|
|
13367
13370
|
});
|
|
13368
|
-
const _hoisted_1$
|
|
13369
|
-
const _hoisted_2$
|
|
13371
|
+
const _hoisted_1$o = ["aria-expanded", "aria-controls"];
|
|
13372
|
+
const _hoisted_2$i = {
|
|
13370
13373
|
class: "expandable-panel__icon"
|
|
13371
13374
|
};
|
|
13372
13375
|
const _hoisted_3$d = {
|
|
@@ -13398,7 +13401,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13398
13401
|
"aria-controls": _ctx.id
|
|
13399
13402
|
}, _ctx.$attrs, {
|
|
13400
13403
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClickHeadingButton && _ctx.onClickHeadingButton(...args))
|
|
13401
|
-
}), [createElementVNode("span", _hoisted_2$
|
|
13404
|
+
}), [createElementVNode("span", _hoisted_2$i, [createElementVNode("span", _hoisted_3$d, [createVNode(_component_f_icon, {
|
|
13402
13405
|
name: "dash"
|
|
13403
13406
|
}), _cache[1] || (_cache[1] = createTextVNode()), createVNode(_component_f_icon, {
|
|
13404
13407
|
name: "dash"
|
|
@@ -13411,7 +13414,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13411
13414
|
})
|
|
13412
13415
|
}, [createElementVNode("span", _hoisted_5$9, toDisplayString(_ctx.screenReaderNotificationText), 1), _cache[2] || (_cache[2] = createTextVNode()), createVNode(_component_f_icon, {
|
|
13413
13416
|
name: "bell"
|
|
13414
|
-
})], 8, _hoisted_4$b)) : createCommentVNode("", true)], 16, _hoisted_1$
|
|
13417
|
+
})], 8, _hoisted_4$b)) : createCommentVNode("", true)], 16, _hoisted_1$o)]),
|
|
13415
13418
|
_: 3
|
|
13416
13419
|
})), _cache[6] || (_cache[6] = createTextVNode()), createVNode(_component_f_expand, null, {
|
|
13417
13420
|
default: withCtx(() => [withDirectives(createElementVNode("div", {
|
|
@@ -13421,8 +13424,8 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13421
13424
|
_: 3
|
|
13422
13425
|
})], 2);
|
|
13423
13426
|
}
|
|
13424
|
-
const FExpandablePanel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13425
|
-
const _sfc_main$
|
|
13427
|
+
const FExpandablePanel = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$h]]);
|
|
13428
|
+
const _sfc_main$n = defineComponent({
|
|
13426
13429
|
name: "FExpandableParagraph",
|
|
13427
13430
|
components: {
|
|
13428
13431
|
FIcon,
|
|
@@ -13504,8 +13507,8 @@ const _sfc_main$l = defineComponent({
|
|
|
13504
13507
|
}
|
|
13505
13508
|
}
|
|
13506
13509
|
});
|
|
13507
|
-
const _hoisted_1$
|
|
13508
|
-
const _hoisted_2$
|
|
13510
|
+
const _hoisted_1$n = ["aria-expanded", "aria-controls"];
|
|
13511
|
+
const _hoisted_2$h = {
|
|
13509
13512
|
class: "expandable-paragraph__icon"
|
|
13510
13513
|
};
|
|
13511
13514
|
const _hoisted_3$c = {
|
|
@@ -13540,11 +13543,11 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13540
13543
|
"aria-controls": _ctx.id
|
|
13541
13544
|
}, _ctx.$attrs, {
|
|
13542
13545
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClickMinimize && _ctx.onClickMinimize(...args))
|
|
13543
|
-
}), [createElementVNode("span", _hoisted_2$
|
|
13546
|
+
}), [createElementVNode("span", _hoisted_2$h, [createElementVNode("span", _hoisted_3$c, [createVNode(_component_f_icon, {
|
|
13544
13547
|
name: "dash"
|
|
13545
13548
|
}), _cache[1] || (_cache[1] = createTextVNode()), createVNode(_component_f_icon, {
|
|
13546
13549
|
name: "dash"
|
|
13547
|
-
})])]), _cache[2] || (_cache[2] = createTextVNode()), renderSlot(_ctx.$slots, "title")], 16, _hoisted_1$
|
|
13550
|
+
})])]), _cache[2] || (_cache[2] = createTextVNode()), renderSlot(_ctx.$slots, "title")], 16, _hoisted_1$n)]),
|
|
13548
13551
|
_: 3
|
|
13549
13552
|
}, 8, ["class"])), _cache[3] || (_cache[3] = createTextVNode()), _ctx.hasRelatedSlot ? (openBlock(), createElementBlock("div", _hoisted_4$a, [renderSlot(_ctx.$slots, "related")])) : createCommentVNode("", true)], 2), _cache[5] || (_cache[5] = createTextVNode()), createVNode(_component_f_expand, null, {
|
|
13550
13553
|
default: withCtx(() => [withDirectives(createElementVNode("div", {
|
|
@@ -13554,7 +13557,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13554
13557
|
_: 3
|
|
13555
13558
|
})], 2);
|
|
13556
13559
|
}
|
|
13557
|
-
const FExpandableParagraph = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13560
|
+
const FExpandableParagraph = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$g]]);
|
|
13558
13561
|
const DEFAULT_ICON = "file";
|
|
13559
13562
|
const iconMap = {
|
|
13560
13563
|
"image/*": "pic",
|
|
@@ -13563,7 +13566,7 @@ const iconMap = {
|
|
|
13563
13566
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.document": "doc",
|
|
13564
13567
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.template": "doc"
|
|
13565
13568
|
};
|
|
13566
|
-
const _sfc_main$
|
|
13569
|
+
const _sfc_main$m = defineComponent({
|
|
13567
13570
|
name: "FFileItem",
|
|
13568
13571
|
components: {
|
|
13569
13572
|
FIcon
|
|
@@ -13642,10 +13645,10 @@ const _sfc_main$k = defineComponent({
|
|
|
13642
13645
|
}
|
|
13643
13646
|
}
|
|
13644
13647
|
});
|
|
13645
|
-
const _hoisted_1$
|
|
13648
|
+
const _hoisted_1$m = {
|
|
13646
13649
|
class: "file-item"
|
|
13647
13650
|
};
|
|
13648
|
-
const _hoisted_2$
|
|
13651
|
+
const _hoisted_2$g = {
|
|
13649
13652
|
class: "file-item__row"
|
|
13650
13653
|
};
|
|
13651
13654
|
const _hoisted_3$b = ["id"];
|
|
@@ -13664,7 +13667,7 @@ const _hoisted_7$4 = {
|
|
|
13664
13667
|
};
|
|
13665
13668
|
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13666
13669
|
const _component_f_icon = resolveComponent("f-icon");
|
|
13667
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13670
|
+
return openBlock(), createElementBlock("div", _hoisted_1$m, [createElementVNode("div", _hoisted_2$g, [createElementVNode("a", mergeProps({
|
|
13668
13671
|
id: _ctx.id,
|
|
13669
13672
|
class: "file-item__file-open"
|
|
13670
13673
|
}, _ctx.$attrs), [createElementVNode("div", _hoisted_4$9, [createVNode(_component_f_icon, {
|
|
@@ -13675,8 +13678,8 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13675
13678
|
class: "file-item__separator"
|
|
13676
13679
|
}, null, -1))]);
|
|
13677
13680
|
}
|
|
13678
|
-
const FFileItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13679
|
-
const _sfc_main$
|
|
13681
|
+
const FFileItem = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$f]]);
|
|
13682
|
+
const _sfc_main$l = defineComponent({
|
|
13680
13683
|
name: "FFileSelector",
|
|
13681
13684
|
components: {
|
|
13682
13685
|
FIcon
|
|
@@ -13737,14 +13740,14 @@ const _sfc_main$j = defineComponent({
|
|
|
13737
13740
|
}
|
|
13738
13741
|
}
|
|
13739
13742
|
});
|
|
13740
|
-
const _hoisted_1$
|
|
13743
|
+
const _hoisted_1$l = {
|
|
13741
13744
|
class: "file-selector"
|
|
13742
13745
|
};
|
|
13743
|
-
const _hoisted_2$
|
|
13746
|
+
const _hoisted_2$f = ["id", "aria-labelledby", "aria-disabled"];
|
|
13744
13747
|
const _hoisted_3$a = ["id", "for"];
|
|
13745
13748
|
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13746
13749
|
const _component_f_icon = resolveComponent("f-icon");
|
|
13747
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13750
|
+
return openBlock(), createElementBlock("div", _hoisted_1$l, [createElementVNode("input", mergeProps({
|
|
13748
13751
|
id: _ctx.id,
|
|
13749
13752
|
ref: "file-selector",
|
|
13750
13753
|
type: "file",
|
|
@@ -13752,7 +13755,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13752
13755
|
"aria-disabled": _ctx.ariaDisabled ? "true" : void 0
|
|
13753
13756
|
}, _ctx.attrs, {
|
|
13754
13757
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
|
|
13755
|
-
}), null, 16, _hoisted_2$
|
|
13758
|
+
}), null, 16, _hoisted_2$f), _cache[2] || (_cache[2] = createTextVNode()), createElementVNode("label", {
|
|
13756
13759
|
id: _ctx.labelId,
|
|
13757
13760
|
role: "button",
|
|
13758
13761
|
class: normalizeClass([_ctx.labelClass, "button button--tertiary button--medium"]),
|
|
@@ -13763,7 +13766,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13763
13766
|
name: "paper-clip"
|
|
13764
13767
|
}), _cache[1] || (_cache[1] = createTextVNode()), renderSlot(_ctx.$slots, "default")], 10, _hoisted_3$a)]);
|
|
13765
13768
|
}
|
|
13766
|
-
const FFileSelector = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13769
|
+
const FFileSelector = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$e]]);
|
|
13767
13770
|
const keybindings = {
|
|
13768
13771
|
Up: focusTrAbove,
|
|
13769
13772
|
Down: focusTrBelow,
|
|
@@ -13849,11 +13852,14 @@ function useExpandableTable(expandableAttribute, keyAttribute, describedby, emit
|
|
|
13849
13852
|
}
|
|
13850
13853
|
function expandableRows(row) {
|
|
13851
13854
|
const expandableRows2 = row[expandableAttribute];
|
|
13852
|
-
if (
|
|
13855
|
+
if (expandableRows2 === void 0 || expandableRows2 === null) {
|
|
13853
13856
|
return void 0;
|
|
13854
13857
|
}
|
|
13855
13858
|
if (!Array.isArray(expandableRows2)) {
|
|
13856
|
-
throw new Error(`Expandable rows must be
|
|
13859
|
+
throw new Error(`Expandable rows must be an array`);
|
|
13860
|
+
}
|
|
13861
|
+
if (expandableRows2.length === 0) {
|
|
13862
|
+
return void 0;
|
|
13857
13863
|
}
|
|
13858
13864
|
return expandableRows2;
|
|
13859
13865
|
}
|
|
@@ -13872,8 +13878,8 @@ function useExpandableTable(expandableAttribute, keyAttribute, describedby, emit
|
|
|
13872
13878
|
hasExpandableContent
|
|
13873
13879
|
};
|
|
13874
13880
|
}
|
|
13875
|
-
const _hoisted_1$
|
|
13876
|
-
const _hoisted_2$
|
|
13881
|
+
const _hoisted_1$k = ["role"];
|
|
13882
|
+
const _hoisted_2$e = {
|
|
13877
13883
|
key: 0
|
|
13878
13884
|
};
|
|
13879
13885
|
const _hoisted_3$9 = {
|
|
@@ -13901,7 +13907,7 @@ const _hoisted_8$3 = {
|
|
|
13901
13907
|
const _hoisted_9$3 = {
|
|
13902
13908
|
class: "sr-only"
|
|
13903
13909
|
};
|
|
13904
|
-
const _hoisted_10$
|
|
13910
|
+
const _hoisted_10$1 = ["innerHTML"];
|
|
13905
13911
|
const _hoisted_11$1 = {
|
|
13906
13912
|
key: 1,
|
|
13907
13913
|
class: "table__column__description"
|
|
@@ -13937,7 +13943,7 @@ const _hoisted_21 = {
|
|
|
13937
13943
|
key: 1
|
|
13938
13944
|
};
|
|
13939
13945
|
const _hoisted_22 = ["colspan"];
|
|
13940
|
-
const _sfc_main$
|
|
13946
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
13941
13947
|
...{
|
|
13942
13948
|
inheritAttrs: false
|
|
13943
13949
|
},
|
|
@@ -14126,13 +14132,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
14126
14132
|
});
|
|
14127
14133
|
provide("textFieldTableMode", true);
|
|
14128
14134
|
provide("renderColumns", computed(() => props.rows.length > 0));
|
|
14129
|
-
watch(() => props.rows, () => {
|
|
14130
|
-
if (props.modelValue) {
|
|
14131
|
-
selectedRows.value = props.modelValue.filter((row) => {
|
|
14132
|
-
return includeItem(row, props.rows, props.keyAttribute);
|
|
14133
|
-
});
|
|
14134
|
-
}
|
|
14135
|
-
}, {
|
|
14135
|
+
watch(() => props.rows, () => setSelectedRows(), {
|
|
14136
14136
|
immediate: true,
|
|
14137
14137
|
deep: true
|
|
14138
14138
|
});
|
|
@@ -14148,6 +14148,10 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
14148
14148
|
}, {
|
|
14149
14149
|
immediate: true
|
|
14150
14150
|
});
|
|
14151
|
+
watch(() => props.modelValue, () => setSelectedRows(), {
|
|
14152
|
+
immediate: true,
|
|
14153
|
+
deep: true
|
|
14154
|
+
});
|
|
14151
14155
|
function updateTr(tbodyElement) {
|
|
14152
14156
|
const trElements = [].slice.call(tbodyElement.children);
|
|
14153
14157
|
const trInteractableElements = trElements.filter((tr2) => {
|
|
@@ -14237,6 +14241,15 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
14237
14241
|
updateVModelWithSelectedRows();
|
|
14238
14242
|
(_b = (_a = getCurrentInstance()) == null ? void 0 : _a.proxy) == null ? void 0 : _b.$forceUpdate();
|
|
14239
14243
|
}
|
|
14244
|
+
function setSelectedRows() {
|
|
14245
|
+
if (!props.modelValue || !props.modelValue.length) {
|
|
14246
|
+
selectedRows.value = [];
|
|
14247
|
+
return;
|
|
14248
|
+
}
|
|
14249
|
+
selectedRows.value = props.modelValue.filter((row) => {
|
|
14250
|
+
return includeItem(row, props.rows, props.keyAttribute);
|
|
14251
|
+
});
|
|
14252
|
+
}
|
|
14240
14253
|
function updateVModelWithSelectedRows() {
|
|
14241
14254
|
if (props.modelValue) {
|
|
14242
14255
|
emit("update:modelValue", selectedRows.value);
|
|
@@ -14320,7 +14333,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
14320
14333
|
}, [createCommentVNode("", true), _cache[18] || (_cache[18] = createTextVNode()), createElementVNode("table", mergeProps({
|
|
14321
14334
|
class: ["table", tableClasses.value],
|
|
14322
14335
|
role: tableRole.value
|
|
14323
|
-
}, _ctx.$attrs), [hasCaption.value ? (openBlock(), createElementBlock("caption", _hoisted_2$
|
|
14336
|
+
}, _ctx.$attrs), [hasCaption.value ? (openBlock(), createElementBlock("caption", _hoisted_2$e, [renderSlot(_ctx.$slots, "caption")])) : createCommentVNode("", true), _cache[15] || (_cache[15] = createTextVNode()), createElementVNode("colgroup", null, [unref(isExpandableTable) ? (openBlock(), createElementBlock("col", _hoisted_3$9)) : createCommentVNode("", true), _cache[0] || (_cache[0] = createTextVNode()), __props.selectable ? (openBlock(), createElementBlock("col", _hoisted_4$8)) : createCommentVNode("", true), _cache[1] || (_cache[1] = createTextVNode()), (openBlock(true), createElementBlock(Fragment, null, renderList(columns.value, (column) => {
|
|
14324
14337
|
return openBlock(), createElementBlock("col", {
|
|
14325
14338
|
key: column.id,
|
|
14326
14339
|
class: normalizeClass(column.size)
|
|
@@ -14334,7 +14347,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
14334
14347
|
click: () => onClickColumnHeader(column)
|
|
14335
14348
|
} : {}, true)), [createElementVNode("span", {
|
|
14336
14349
|
innerHTML: escapeNewlines(column.title)
|
|
14337
|
-
}, null, 8, _hoisted_10$
|
|
14350
|
+
}, null, 8, _hoisted_10$1), _cache[2] || (_cache[2] = createTextVNode()), column.sortable ? (openBlock(), createBlock(unref(FIcon), {
|
|
14338
14351
|
key: 0,
|
|
14339
14352
|
class: normalizeClass(iconClasses2(column)),
|
|
14340
14353
|
name: iconName(column)
|
|
@@ -14404,11 +14417,11 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
14404
14417
|
colspan: nbOfColumns.value
|
|
14405
14418
|
}, [renderSlot(_ctx.$slots, "empty", {}, () => [createTextVNode(toDisplayString(unref($t2)("fkui.interactive-table.empty", "Tabellen är tom")), 1)])], 8, _hoisted_22), _cache[12] || (_cache[12] = createTextVNode()), renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({
|
|
14406
14419
|
row: {}
|
|
14407
|
-
})))])) : createCommentVNode("", true)]))], 16, _hoisted_1$
|
|
14420
|
+
})))])) : createCommentVNode("", true)]))], 16, _hoisted_1$k)], 2);
|
|
14408
14421
|
};
|
|
14409
14422
|
}
|
|
14410
14423
|
});
|
|
14411
|
-
const _sfc_main$
|
|
14424
|
+
const _sfc_main$j = defineComponent({
|
|
14412
14425
|
name: "FLayoutApplicationTemplate",
|
|
14413
14426
|
computed: {
|
|
14414
14427
|
showHeader() {
|
|
@@ -14433,10 +14446,10 @@ const _sfc_main$h = defineComponent({
|
|
|
14433
14446
|
}
|
|
14434
14447
|
}
|
|
14435
14448
|
});
|
|
14436
|
-
const _hoisted_1$
|
|
14449
|
+
const _hoisted_1$j = {
|
|
14437
14450
|
class: "layout-application-template"
|
|
14438
14451
|
};
|
|
14439
|
-
const _hoisted_2$
|
|
14452
|
+
const _hoisted_2$d = {
|
|
14440
14453
|
key: 0,
|
|
14441
14454
|
ref: "header",
|
|
14442
14455
|
class: "layout-application-template__header"
|
|
@@ -14453,11 +14466,11 @@ const _hoisted_5$5 = {
|
|
|
14453
14466
|
class: "layout-application-template__footer"
|
|
14454
14467
|
};
|
|
14455
14468
|
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14456
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
14469
|
+
return openBlock(), createElementBlock("div", _hoisted_1$j, [_ctx.showHeader || _ctx.showTopNavigation ? (openBlock(), createElementBlock("header", _hoisted_2$d, [_ctx.showHeader ? renderSlot(_ctx.$slots, "header", {
|
|
14457
14470
|
key: 0
|
|
14458
14471
|
}) : createCommentVNode("", true), _cache[0] || (_cache[0] = createTextVNode()), _ctx.showTopNavigation ? (openBlock(), createElementBlock("nav", _hoisted_3$8, [renderSlot(_ctx.$slots, "top-navigation")])) : createCommentVNode("", true)], 512)) : createCommentVNode("", true), _cache[2] || (_cache[2] = createTextVNode()), createElementVNode("main", _hoisted_4$7, [renderSlot(_ctx.$slots, "default"), _cache[1] || (_cache[1] = createTextVNode()), _ctx.showFooter ? (openBlock(), createElementBlock("footer", _hoisted_5$5, [renderSlot(_ctx.$slots, "footer")])) : createCommentVNode("", true)], 512)]);
|
|
14459
14472
|
}
|
|
14460
|
-
const FLayoutApplicationTemplate = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14473
|
+
const FLayoutApplicationTemplate = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$d]]);
|
|
14461
14474
|
function getGridClasses(target) {
|
|
14462
14475
|
if (target === null) {
|
|
14463
14476
|
return {};
|
|
@@ -14558,7 +14571,7 @@ function useLayoutPanel(options) {
|
|
|
14558
14571
|
rightPrimaryClasses
|
|
14559
14572
|
};
|
|
14560
14573
|
}
|
|
14561
|
-
const _sfc_main$
|
|
14574
|
+
const _sfc_main$i = defineComponent({
|
|
14562
14575
|
name: "FLayoutLeftPanel",
|
|
14563
14576
|
components: {
|
|
14564
14577
|
FIcon
|
|
@@ -14643,10 +14656,10 @@ const _sfc_main$g = defineComponent({
|
|
|
14643
14656
|
}
|
|
14644
14657
|
}
|
|
14645
14658
|
});
|
|
14646
|
-
const _hoisted_1$
|
|
14659
|
+
const _hoisted_1$i = {
|
|
14647
14660
|
class: "layout-navigation"
|
|
14648
14661
|
};
|
|
14649
|
-
const _hoisted_2$
|
|
14662
|
+
const _hoisted_2$c = ["aria-expanded"];
|
|
14650
14663
|
const _hoisted_3$7 = {
|
|
14651
14664
|
class: "layout-navigation__navigation__inner"
|
|
14652
14665
|
};
|
|
@@ -14656,7 +14669,7 @@ const _hoisted_4$6 = {
|
|
|
14656
14669
|
};
|
|
14657
14670
|
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14658
14671
|
const _component_f_icon = resolveComponent("f-icon");
|
|
14659
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
14672
|
+
return openBlock(), createElementBlock("div", _hoisted_1$i, [createElementVNode("nav", {
|
|
14660
14673
|
id: "layout-navigation__navigation",
|
|
14661
14674
|
class: "layout-navigation__navigation",
|
|
14662
14675
|
style: normalizeStyle(_ctx.navigationStyle),
|
|
@@ -14699,13 +14712,13 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14699
14712
|
class: "layout-navigation__navigation__border__dot"
|
|
14700
14713
|
}, null, -1), createTextVNode(), createElementVNode("div", {
|
|
14701
14714
|
class: "layout-navigation__navigation__border__dot"
|
|
14702
|
-
}, null, -1)]), 32)) : createCommentVNode("", true)], 12, _hoisted_2$
|
|
14715
|
+
}, null, -1)]), 32)) : createCommentVNode("", true)], 12, _hoisted_2$c), _cache[14] || (_cache[14] = createTextVNode()), createElementVNode("div", {
|
|
14703
14716
|
id: "layout-navigation__primary",
|
|
14704
14717
|
class: normalizeClass(["layout-navigation__primary", _ctx.leftPrimaryClasses]),
|
|
14705
14718
|
style: normalizeStyle(_ctx.primaryStyle)
|
|
14706
14719
|
}, [renderSlot(_ctx.$slots, "default")], 6)]);
|
|
14707
14720
|
}
|
|
14708
|
-
const FLayoutLeftPanel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14721
|
+
const FLayoutLeftPanel = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$c]]);
|
|
14709
14722
|
class FRightPanelServiceImpl {
|
|
14710
14723
|
constructor() {
|
|
14711
14724
|
_defineProperty(this, "focusedElementBeforeOpenining", null);
|
|
@@ -14735,7 +14748,7 @@ class FRightPanelServiceImpl {
|
|
|
14735
14748
|
}
|
|
14736
14749
|
}
|
|
14737
14750
|
const FLayoutRightPanelService = new FRightPanelServiceImpl();
|
|
14738
|
-
const _sfc_main$
|
|
14751
|
+
const _sfc_main$h = defineComponent({
|
|
14739
14752
|
name: "FLayoutRightPanel",
|
|
14740
14753
|
components: {
|
|
14741
14754
|
FIcon
|
|
@@ -14852,15 +14865,15 @@ const _sfc_main$f = defineComponent({
|
|
|
14852
14865
|
}
|
|
14853
14866
|
}
|
|
14854
14867
|
});
|
|
14855
|
-
const _hoisted_1$
|
|
14868
|
+
const _hoisted_1$h = {
|
|
14856
14869
|
class: "layout-secondary"
|
|
14857
14870
|
};
|
|
14858
|
-
const _hoisted_2$
|
|
14871
|
+
const _hoisted_2$b = {
|
|
14859
14872
|
class: "layout-secondary__secondary__inner"
|
|
14860
14873
|
};
|
|
14861
14874
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14862
14875
|
const _component_f_icon = resolveComponent("f-icon");
|
|
14863
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
14876
|
+
return openBlock(), createElementBlock("div", _hoisted_1$h, [createElementVNode("div", {
|
|
14864
14877
|
id: "layout-secondary__primary",
|
|
14865
14878
|
class: normalizeClass(["layout-secondary__primary", _ctx.rightPrimaryClasses]),
|
|
14866
14879
|
style: normalizeStyle(_ctx.primaryStyle)
|
|
@@ -14877,7 +14890,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14877
14890
|
class: "layout-secondary__secondary__border__dot"
|
|
14878
14891
|
}, null, -1), createTextVNode(), createElementVNode("div", {
|
|
14879
14892
|
class: "layout-secondary__secondary__border__dot"
|
|
14880
|
-
}, null, -1)]), 32), _cache[9] || (_cache[9] = createTextVNode()), createElementVNode("div", _hoisted_2$
|
|
14893
|
+
}, null, -1)]), 32), _cache[9] || (_cache[9] = createTextVNode()), createElementVNode("div", _hoisted_2$b, [createElementVNode("div", {
|
|
14881
14894
|
ref: "title",
|
|
14882
14895
|
class: "layout-secondary__secondary__inner__title",
|
|
14883
14896
|
style: normalizeStyle(_ctx.contentStyle)
|
|
@@ -14897,33 +14910,32 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
14897
14910
|
name: "close"
|
|
14898
14911
|
})])], 6)])], 4)) : createCommentVNode("", true)]);
|
|
14899
14912
|
}
|
|
14900
|
-
const FLayoutRightPanel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14901
|
-
const _hoisted_1$
|
|
14913
|
+
const FLayoutRightPanel = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$b]]);
|
|
14914
|
+
const _hoisted_1$g = {
|
|
14902
14915
|
key: 0,
|
|
14903
14916
|
class: "list"
|
|
14904
14917
|
};
|
|
14905
|
-
const _hoisted_2$
|
|
14918
|
+
const _hoisted_2$a = {
|
|
14906
14919
|
key: 0,
|
|
14907
14920
|
class: "list__item"
|
|
14908
14921
|
};
|
|
14909
14922
|
const _hoisted_3$6 = {
|
|
14910
14923
|
class: "list__item__itempane"
|
|
14911
14924
|
};
|
|
14912
|
-
const _hoisted_4$5 = ["tabindex"];
|
|
14913
|
-
const _hoisted_5$4 = ["
|
|
14914
|
-
const _hoisted_6$3 =
|
|
14915
|
-
const _hoisted_7$2 = {
|
|
14925
|
+
const _hoisted_4$5 = ["id", "aria-labelledby", "tabindex", "onKeydown"];
|
|
14926
|
+
const _hoisted_5$4 = ["onClick"];
|
|
14927
|
+
const _hoisted_6$3 = {
|
|
14916
14928
|
class: "list__item__selectpane__input"
|
|
14917
14929
|
};
|
|
14918
|
-
const
|
|
14919
|
-
const
|
|
14930
|
+
const _hoisted_7$2 = ["id"];
|
|
14931
|
+
const _hoisted_8$2 = {
|
|
14920
14932
|
key: 0,
|
|
14921
14933
|
class: "list__item"
|
|
14922
14934
|
};
|
|
14923
|
-
const
|
|
14935
|
+
const _hoisted_9$2 = {
|
|
14924
14936
|
class: "list__item__itempane"
|
|
14925
14937
|
};
|
|
14926
|
-
const _sfc_main$
|
|
14938
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
14927
14939
|
__name: "FList",
|
|
14928
14940
|
props: {
|
|
14929
14941
|
/**
|
|
@@ -15147,7 +15159,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
15147
15159
|
return props.checkbox && itemEquals(activeItem.value, item, props.keyAttribute);
|
|
15148
15160
|
}
|
|
15149
15161
|
return (_ctx, _cache) => {
|
|
15150
|
-
return !__props.selectable ? (openBlock(), createElementBlock("ul", _hoisted_1$
|
|
15162
|
+
return !__props.selectable ? (openBlock(), createElementBlock("ul", _hoisted_1$g, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
|
|
15151
15163
|
return openBlock(), createElementBlock("li", {
|
|
15152
15164
|
key: itemKey(item),
|
|
15153
15165
|
class: "list__item"
|
|
@@ -15160,12 +15172,11 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
15160
15172
|
}, {
|
|
15161
15173
|
item
|
|
15162
15174
|
}))], 512)]);
|
|
15163
|
-
}), 128)), _cache[0] || (_cache[0] = createTextVNode()), isEmpty2.value ? (openBlock(), createElementBlock("li", _hoisted_2$
|
|
15175
|
+
}), 128)), _cache[0] || (_cache[0] = createTextVNode()), isEmpty2.value ? (openBlock(), createElementBlock("li", _hoisted_2$a, [createElementVNode("div", _hoisted_3$6, [renderSlot(_ctx.$slots, "empty", {}, () => [createElementVNode("em", null, toDisplayString(unref($t2)("fkui.list.empty", "Listan är tom")), 1)])])])) : createCommentVNode("", true)])) : (openBlock(), createElementBlock("ul", {
|
|
15164
15176
|
key: 1,
|
|
15165
15177
|
ref_key: "ulElement",
|
|
15166
15178
|
ref: ulElement,
|
|
15167
|
-
class: "list list--hover"
|
|
15168
|
-
tabindex: __props.checkbox ? 0 : void 0
|
|
15179
|
+
class: "list list--hover"
|
|
15169
15180
|
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item, index) => {
|
|
15170
15181
|
return openBlock(), createElementBlock("li", {
|
|
15171
15182
|
id: getItemId(item),
|
|
@@ -15180,7 +15191,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
15180
15191
|
key: 0,
|
|
15181
15192
|
class: "list__item__selectpane",
|
|
15182
15193
|
onClick: withModifiers(($event) => onSelect(item), ["self"])
|
|
15183
|
-
}, [createElementVNode("div",
|
|
15194
|
+
}, [createElementVNode("div", _hoisted_6$3, [createVNode(unref(FCheckboxField), {
|
|
15184
15195
|
value: true,
|
|
15185
15196
|
"model-value": isSelected(item),
|
|
15186
15197
|
onClick: withModifiers(($event) => onSelect(item), ["self"])
|
|
@@ -15192,9 +15203,9 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
15192
15203
|
ref_for: true
|
|
15193
15204
|
}, {
|
|
15194
15205
|
item
|
|
15195
|
-
}))], 8,
|
|
15206
|
+
}))], 8, _hoisted_7$2)]),
|
|
15196
15207
|
_: 2
|
|
15197
|
-
}, 1032, ["model-value", "onClick"])])], 8,
|
|
15208
|
+
}, 1032, ["model-value", "onClick"])])], 8, _hoisted_5$4)) : createCommentVNode("", true), _cache[1] || (_cache[1] = createTextVNode()), (openBlock(), createBlock(resolveDynamicComponent(__props.checkbox ? "div" : "a"), {
|
|
15198
15209
|
ref_for: true,
|
|
15199
15210
|
ref: "listItemPanes",
|
|
15200
15211
|
href: !__props.checkbox ? "javascript:" : void 0,
|
|
@@ -15207,12 +15218,12 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
15207
15218
|
item
|
|
15208
15219
|
}))]),
|
|
15209
15220
|
_: 2
|
|
15210
|
-
}, 1032, ["href", "onClick"]))], 42,
|
|
15211
|
-
}), 128)), _cache[2] || (_cache[2] = createTextVNode()), isEmpty2.value ? (openBlock(), createElementBlock("li",
|
|
15221
|
+
}, 1032, ["href", "onClick"]))], 42, _hoisted_4$5);
|
|
15222
|
+
}), 128)), _cache[2] || (_cache[2] = createTextVNode()), isEmpty2.value ? (openBlock(), createElementBlock("li", _hoisted_8$2, [createElementVNode("div", _hoisted_9$2, [renderSlot(_ctx.$slots, "empty", {}, () => [createElementVNode("em", null, toDisplayString(unref($t2)("fkui.list.empty", "Listan är tom")), 1)])])])) : createCommentVNode("", true)], 512));
|
|
15212
15223
|
};
|
|
15213
15224
|
}
|
|
15214
15225
|
});
|
|
15215
|
-
const _sfc_main$
|
|
15226
|
+
const _sfc_main$f = defineComponent({
|
|
15216
15227
|
name: "FLoader",
|
|
15217
15228
|
mixins: [TranslationMixin],
|
|
15218
15229
|
inheritAttrs: false,
|
|
@@ -15324,10 +15335,10 @@ const _sfc_main$d = defineComponent({
|
|
|
15324
15335
|
}
|
|
15325
15336
|
}
|
|
15326
15337
|
});
|
|
15327
|
-
const _hoisted_1$
|
|
15338
|
+
const _hoisted_1$f = {
|
|
15328
15339
|
class: "loader__backdrop"
|
|
15329
15340
|
};
|
|
15330
|
-
const _hoisted_2$
|
|
15341
|
+
const _hoisted_2$9 = {
|
|
15331
15342
|
role: "alert"
|
|
15332
15343
|
};
|
|
15333
15344
|
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -15336,7 +15347,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
15336
15347
|
disabled: _ctx.teleportDisabled
|
|
15337
15348
|
}, [withDirectives(createElementVNode("div", mergeProps(_ctx.$attrs, {
|
|
15338
15349
|
class: ["loader", _ctx.classes]
|
|
15339
|
-
}), [createElementVNode("div", _hoisted_1$
|
|
15350
|
+
}), [createElementVNode("div", _hoisted_1$f, [_cache[0] || (_cache[0] = createElementVNode("div", {
|
|
15340
15351
|
class: "loader__wrapper"
|
|
15341
15352
|
}, [createElementVNode("div", {
|
|
15342
15353
|
class: "loader__spinner-1 loader__spinner"
|
|
@@ -15374,10 +15385,10 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
15374
15385
|
"loader--delay": _ctx.delay
|
|
15375
15386
|
}]),
|
|
15376
15387
|
tabindex: "-1"
|
|
15377
|
-
}, [createElementVNode("span", _hoisted_2$
|
|
15388
|
+
}, [createElementVNode("span", _hoisted_2$9, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(_ctx.$t("fkui.loader.wait.text", _ctx.defaultLoadingText)), 1)])])], 2)])], 16), [[vShow, _ctx.show]])], 8, ["to", "disabled"]);
|
|
15378
15389
|
}
|
|
15379
|
-
const FLoader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15380
|
-
const _hoisted_1$
|
|
15390
|
+
const FLoader = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$a]]);
|
|
15391
|
+
const _hoisted_1$e = ["aria-label"];
|
|
15381
15392
|
const __default__ = defineComponent({
|
|
15382
15393
|
computed: {
|
|
15383
15394
|
ariaLabel() {
|
|
@@ -15389,7 +15400,7 @@ const __default__ = defineComponent({
|
|
|
15389
15400
|
}
|
|
15390
15401
|
}
|
|
15391
15402
|
});
|
|
15392
|
-
const _sfc_main$
|
|
15403
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
15393
15404
|
...__default__,
|
|
15394
15405
|
__name: "FLogo",
|
|
15395
15406
|
props: {
|
|
@@ -15413,7 +15424,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
15413
15424
|
class: normalizeClass(`logo logo--${props.size}`),
|
|
15414
15425
|
"aria-label": _ctx.ariaLabel,
|
|
15415
15426
|
role: "img"
|
|
15416
|
-
}, null, 10, _hoisted_1$
|
|
15427
|
+
}, null, 10, _hoisted_1$e);
|
|
15417
15428
|
};
|
|
15418
15429
|
}
|
|
15419
15430
|
});
|
|
@@ -15443,7 +15454,7 @@ const iconClasses = {
|
|
|
15443
15454
|
screenReaderContextDefault: "Informationsmeddelande"
|
|
15444
15455
|
}
|
|
15445
15456
|
};
|
|
15446
|
-
const _sfc_main$
|
|
15457
|
+
const _sfc_main$d = defineComponent({
|
|
15447
15458
|
name: "FMessageBox",
|
|
15448
15459
|
components: {
|
|
15449
15460
|
FIcon,
|
|
@@ -15533,7 +15544,7 @@ const _sfc_main$b = defineComponent({
|
|
|
15533
15544
|
}
|
|
15534
15545
|
}
|
|
15535
15546
|
});
|
|
15536
|
-
const _hoisted_1$
|
|
15547
|
+
const _hoisted_1$d = {
|
|
15537
15548
|
key: 0,
|
|
15538
15549
|
class: "sr-only"
|
|
15539
15550
|
};
|
|
@@ -15543,7 +15554,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
15543
15554
|
const _component_i_flex = resolveComponent("i-flex");
|
|
15544
15555
|
return openBlock(), createElementBlock("div", {
|
|
15545
15556
|
class: normalizeClass(["message-box", [_ctx.messageBoxType, _ctx.bannerType]])
|
|
15546
|
-
}, [_ctx.provideScreenReaderContext ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
15557
|
+
}, [_ctx.provideScreenReaderContext ? (openBlock(), createElementBlock("span", _hoisted_1$d, toDisplayString(_ctx.screenReaderContext()), 1)) : createCommentVNode("", true), _cache[2] || (_cache[2] = createTextVNode()), createVNode(_component_i_flex, {
|
|
15547
15558
|
gap: "2x"
|
|
15548
15559
|
}, {
|
|
15549
15560
|
default: withCtx(() => [_ctx.layout === "short" ? (openBlock(), createBlock(_component_i_flex_item, {
|
|
@@ -15575,7 +15586,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
15575
15586
|
_: 3
|
|
15576
15587
|
})], 2);
|
|
15577
15588
|
}
|
|
15578
|
-
const FMessageBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15589
|
+
const FMessageBox = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$9]]);
|
|
15579
15590
|
function findOverflowIndex(totalWidth, elements) {
|
|
15580
15591
|
let sum = 0;
|
|
15581
15592
|
const index = elements.findIndex((element) => {
|
|
@@ -15625,7 +15636,7 @@ const upKeys = ["Up", "ArrowUp"];
|
|
|
15625
15636
|
const downKeys = ["Down", "ArrowDown"];
|
|
15626
15637
|
const verticalKeys = [...upKeys, ...downKeys];
|
|
15627
15638
|
const preventKeys = ["Tab", "Left", "Right", "ArrowLeft", "ArrowRight", "Home", "End", " ", "Spacebar", "Enter", ...verticalKeys];
|
|
15628
|
-
const _sfc_main$
|
|
15639
|
+
const _sfc_main$c = defineComponent({
|
|
15629
15640
|
name: "FNavigationMenu",
|
|
15630
15641
|
components: {
|
|
15631
15642
|
FIcon,
|
|
@@ -15958,8 +15969,8 @@ const _sfc_main$a = defineComponent({
|
|
|
15958
15969
|
}
|
|
15959
15970
|
}
|
|
15960
15971
|
});
|
|
15961
|
-
const _hoisted_1$
|
|
15962
|
-
const _hoisted_2$
|
|
15972
|
+
const _hoisted_1$c = ["aria-label"];
|
|
15973
|
+
const _hoisted_2$8 = ["data-ref-index", "onClick"];
|
|
15963
15974
|
const _hoisted_3$5 = {
|
|
15964
15975
|
class: "imenu__list__anchor-container"
|
|
15965
15976
|
};
|
|
@@ -16010,7 +16021,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16010
16021
|
target: item.target,
|
|
16011
16022
|
class: "imenu__list__anchor",
|
|
16012
16023
|
role: "menuitem"
|
|
16013
|
-
}, [_ctx.showItemSrText(index) ? (openBlock(), createElementBlock("span", _hoisted_5$3, [createElementVNode("span", null, toDisplayString(_ctx.selectedItemSrText) + " ", 1)])) : createCommentVNode("", true), createTextVNode(" " + toDisplayString(item.label), 1)], 8, _hoisted_4$4)])], 10, _hoisted_2$
|
|
16024
|
+
}, [_ctx.showItemSrText(index) ? (openBlock(), createElementBlock("span", _hoisted_5$3, [createElementVNode("span", null, toDisplayString(_ctx.selectedItemSrText) + " ", 1)])) : createCommentVNode("", true), createTextVNode(" " + toDisplayString(item.label), 1)], 8, _hoisted_4$4)])], 10, _hoisted_2$8);
|
|
16014
16025
|
}), 128)), _cache[6] || (_cache[6] = createTextVNode()), _ctx.hasOverflow ? (openBlock(), createElementBlock("li", _hoisted_6$2, [createElementVNode("div", {
|
|
16015
16026
|
ref: "popup-item",
|
|
16016
16027
|
class: normalizeClass(_ctx.popupItemClasses),
|
|
@@ -16039,11 +16050,11 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16039
16050
|
"enable-keyboard-navigation": "",
|
|
16040
16051
|
onSelect: _ctx.onPopupMenuItemSelected,
|
|
16041
16052
|
onClose: _cache[5] || (_cache[5] = ($event) => _ctx.togglePopup(false))
|
|
16042
|
-
}, null, 8, ["modelValue", "focused-item", "items", "is-open", "anchor", "selected-menu-item-screen-reader-text", "aria-label", "onSelect"])], 10, _hoisted_1$
|
|
16053
|
+
}, null, 8, ["modelValue", "focused-item", "items", "is-open", "anchor", "selected-menu-item-screen-reader-text", "aria-label", "onSelect"])], 10, _hoisted_1$c);
|
|
16043
16054
|
}
|
|
16044
|
-
const FNavigationMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16055
|
+
const FNavigationMenu = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$8]]);
|
|
16045
16056
|
const EVENTS = ["online", "offline"];
|
|
16046
|
-
const _sfc_main$
|
|
16057
|
+
const _sfc_main$b = defineComponent({
|
|
16047
16058
|
name: "FOffline",
|
|
16048
16059
|
components: {
|
|
16049
16060
|
FIcon,
|
|
@@ -16091,8 +16102,8 @@ const _sfc_main$9 = defineComponent({
|
|
|
16091
16102
|
}
|
|
16092
16103
|
}
|
|
16093
16104
|
});
|
|
16094
|
-
const _hoisted_1$
|
|
16095
|
-
const _hoisted_2$
|
|
16105
|
+
const _hoisted_1$b = ["role"];
|
|
16106
|
+
const _hoisted_2$7 = {
|
|
16096
16107
|
key: 0,
|
|
16097
16108
|
class: "offline"
|
|
16098
16109
|
};
|
|
@@ -16111,7 +16122,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16111
16122
|
ref: "offline",
|
|
16112
16123
|
class: "offline__wrapper",
|
|
16113
16124
|
role: _ctx.role
|
|
16114
|
-
}, [!_ctx.isOnline ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
16125
|
+
}, [!_ctx.isOnline ? (openBlock(), createElementBlock("div", _hoisted_2$7, [createVNode(_component_i_flex, {
|
|
16115
16126
|
gap: "2x"
|
|
16116
16127
|
}, {
|
|
16117
16128
|
default: withCtx(() => [createVNode(_component_i_flex_item, {
|
|
@@ -16137,10 +16148,10 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16137
16148
|
})])) : createCommentVNode("", true), _cache[3] || (_cache[3] = createTextVNode()), withDirectives(createElementVNode("span", {
|
|
16138
16149
|
class: "sr-only",
|
|
16139
16150
|
"aria-hidden": _ctx.shouldNotRead ? "true" : void 0
|
|
16140
|
-
}, "\n Din internetuppkoppling fungerar igen\n ", 8, _hoisted_5$2), [[vShow, _ctx.isOnline]])], 8, _hoisted_1$
|
|
16151
|
+
}, "\n Din internetuppkoppling fungerar igen\n ", 8, _hoisted_5$2), [[vShow, _ctx.isOnline]])], 8, _hoisted_1$b);
|
|
16141
16152
|
}
|
|
16142
|
-
const FOffline = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16143
|
-
const _sfc_main$
|
|
16153
|
+
const FOffline = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$7]]);
|
|
16154
|
+
const _sfc_main$a = defineComponent({
|
|
16144
16155
|
name: "FOutputField",
|
|
16145
16156
|
components: {
|
|
16146
16157
|
FLabel
|
|
@@ -16173,13 +16184,13 @@ const _sfc_main$8 = defineComponent({
|
|
|
16173
16184
|
}
|
|
16174
16185
|
}
|
|
16175
16186
|
});
|
|
16176
|
-
const _hoisted_1$
|
|
16187
|
+
const _hoisted_1$a = {
|
|
16177
16188
|
class: "output-field"
|
|
16178
16189
|
};
|
|
16179
|
-
const _hoisted_2$
|
|
16190
|
+
const _hoisted_2$6 = ["id", "for"];
|
|
16180
16191
|
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16181
16192
|
const _component_f_label = resolveComponent("f-label");
|
|
16182
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16193
|
+
return openBlock(), createElementBlock("div", _hoisted_1$a, [createVNode(_component_f_label, {
|
|
16183
16194
|
for: _ctx.id
|
|
16184
16195
|
}, createSlots({
|
|
16185
16196
|
default: withCtx(() => [renderSlot(_ctx.$slots, "label")]),
|
|
@@ -16192,10 +16203,10 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16192
16203
|
id: _ctx.id,
|
|
16193
16204
|
for: _ctx.htmlFor,
|
|
16194
16205
|
class: "output-field__output"
|
|
16195
|
-
}, _ctx.$attrs), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_2$
|
|
16206
|
+
}, _ctx.$attrs), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_2$6)]);
|
|
16196
16207
|
}
|
|
16197
|
-
const FOutputField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16198
|
-
const _sfc_main$
|
|
16208
|
+
const FOutputField = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$6]]);
|
|
16209
|
+
const _sfc_main$9 = defineComponent({
|
|
16199
16210
|
name: "FPageHeader",
|
|
16200
16211
|
components: {
|
|
16201
16212
|
ISkipLink
|
|
@@ -16242,10 +16253,10 @@ const _sfc_main$7 = defineComponent({
|
|
|
16242
16253
|
}
|
|
16243
16254
|
}
|
|
16244
16255
|
});
|
|
16245
|
-
const _hoisted_1$
|
|
16256
|
+
const _hoisted_1$9 = {
|
|
16246
16257
|
class: "page-header__root"
|
|
16247
16258
|
};
|
|
16248
|
-
const _hoisted_2$
|
|
16259
|
+
const _hoisted_2$5 = {
|
|
16249
16260
|
key: 0
|
|
16250
16261
|
};
|
|
16251
16262
|
const _hoisted_3$3 = {
|
|
@@ -16264,7 +16275,7 @@ const _hoisted_6$1 = {
|
|
|
16264
16275
|
};
|
|
16265
16276
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
16266
16277
|
const _component_i_skip_link = resolveComponent("i-skip-link");
|
|
16267
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16278
|
+
return openBlock(), createElementBlock("div", _hoisted_1$9, [_ctx.skipLinkAnchor ? (openBlock(), createElementBlock("nav", _hoisted_2$5, [createVNode(_component_i_skip_link, {
|
|
16268
16279
|
href: _ctx.skipLinkAnchor
|
|
16269
16280
|
}, {
|
|
16270
16281
|
default: withCtx(() => [renderSlot(_ctx.$slots, "skip-link-text")]),
|
|
@@ -16276,7 +16287,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16276
16287
|
_: 3
|
|
16277
16288
|
})), _cache[1] || (_cache[1] = createTextVNode()), createElementVNode("div", _hoisted_5$1, [createElementVNode("div", _hoisted_6$1, [renderSlot(_ctx.$slots, "right")])])], 512)]);
|
|
16278
16289
|
}
|
|
16279
|
-
const FPageHeader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16290
|
+
const FPageHeader = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$5]]);
|
|
16280
16291
|
const layoutRegister = {};
|
|
16281
16292
|
function getLayout(name) {
|
|
16282
16293
|
var _layoutRegister$name;
|
|
@@ -16414,7 +16425,7 @@ registerLayout({
|
|
|
16414
16425
|
}
|
|
16415
16426
|
}
|
|
16416
16427
|
});
|
|
16417
|
-
const styleContent = '.page-layout {\n display: grid;\n height: 100cqh;\n width: min(100%, 100cqw);\n\n &[part~="simple"] {\n grid-template:\n "header" min-content\n "content" 1fr\n "footer" min-content\n / 1fr;\n }\n\n &[part~="left-panel"] {\n grid-template:\n "header header" min-content\n "left content" 1fr\n "footer footer" min-content\n / min-content 1fr;\n }\n\n &[part~="right-panel"] {\n grid-template:\n "header header" min-content\n "content right" 1fr\n "footer footer" min-content\n / 1fr min-content;\n }\n\n &[part~="three-column"] {\n grid-template:\n "header header header" min-content\n "left content right" 1fr\n "footer footer footer" min-content\n / min-content 1fr min-content;\n }\n}\n\n.page-layout__area {\n display: flex;\n position: relative;\n\n &[data-direction="column"] {\n flex-direction: column;\n }\n\n &[data-direction="row"] {\n flex-direction: row;\n }\n\n &[data-scroll] {\n overflow-y: auto;\n }\n\n &:empty {\n display: none;\n }\n}\n\n:host ::slotted(*) {\n display: contents;\n}\n';
|
|
16428
|
+
const styleContent = ':host {\n display: block;\n}\n\n.page-layout {\n display: grid;\n height: 100cqh;\n width: min(100%, 100cqw);\n\n &[part~="simple"] {\n grid-template:\n "header" min-content\n "content" 1fr\n "footer" min-content\n / 1fr;\n\n [part="area header"],\n [part="area footer"] {\n background: var(--f-background-pageheader-primary);\n color: var(--fkds-color-text-inverted);\n }\n\n [part="area content"] {\n background: var(--fkds-color-background-primary);\n color: var(--fkds-color-text-primary);\n }\n }\n\n &[part~="left-panel"] {\n grid-template:\n "header header" min-content\n "left content" 1fr\n "footer footer" min-content\n / min-content 1fr;\n\n [part="area header"],\n [part="area footer"] {\n background: var(--f-background-pageheader-primary);\n color: var(--fkds-color-text-inverted);\n }\n\n [part="area left"] {\n background: var(--fkds-color-background-secondary);\n }\n\n [part="area content"] {\n background: var(--fkds-color-background-primary);\n color: var(--fkds-color-text-primary);\n }\n }\n\n &[part~="right-panel"] {\n grid-template:\n "header header" min-content\n "content right" 1fr\n "footer footer" min-content\n / 1fr min-content;\n\n [part="area header"],\n [part="area footer"] {\n background: var(--f-background-pageheader-primary);\n color: var(--fkds-color-text-inverted);\n }\n\n [part="area right"] {\n background: var(--fkds-color-background-secondary);\n color: var(--fkds-color-text-primary);\n }\n\n [part="area content"] {\n background: var(--fkds-color-background-primary);\n color: var(--fkds-color-text-primary);\n }\n }\n\n &[part~="three-column"] {\n grid-template:\n "header header header" min-content\n "left content right" 1fr\n "footer footer footer" min-content\n / min-content 1fr min-content;\n\n [part="area header"],\n [part="area footer"] {\n background: var(--f-background-pageheader-primary);\n color: var(--fkds-color-text-inverted);\n }\n\n [part="area left"],\n [part="area right"] {\n background: var(--fkds-color-background-secondary);\n color: var(--fkds-color-text-primary);\n }\n\n [part="area content"] {\n background: var(--fkds-color-background-primary);\n color: var(--fkds-color-text-primary);\n }\n }\n}\n\n.page-layout__area {\n display: flex;\n position: relative;\n\n &[data-direction="column"] {\n flex-direction: column;\n }\n\n &[data-direction="row"] {\n flex-direction: row;\n }\n\n &[data-scroll] {\n overflow-y: auto;\n }\n\n &:empty {\n display: none;\n }\n}\n\n:host ::slotted(*) {\n display: contents;\n}\n';
|
|
16418
16429
|
const stubLayout = defineLayout({
|
|
16419
16430
|
name: "",
|
|
16420
16431
|
areas: {}
|
|
@@ -16518,9 +16529,9 @@ class PageLayout extends HTMLElement {
|
|
|
16518
16529
|
}
|
|
16519
16530
|
}
|
|
16520
16531
|
}
|
|
16521
|
-
const _hoisted_1$
|
|
16522
|
-
const tagName = `ce-page-layout`;
|
|
16523
|
-
const _sfc_main$
|
|
16532
|
+
const _hoisted_1$8 = ["slot"];
|
|
16533
|
+
const tagName$1 = `ce-page-layout`;
|
|
16534
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
16524
16535
|
__name: "FPageLayout",
|
|
16525
16536
|
props: {
|
|
16526
16537
|
layout: {}
|
|
@@ -16531,19 +16542,19 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
16531
16542
|
return Object.keys(slots);
|
|
16532
16543
|
});
|
|
16533
16544
|
onMounted(() => {
|
|
16534
|
-
if (!customElements.get(tagName)) {
|
|
16535
|
-
customElements.define(tagName, PageLayout);
|
|
16545
|
+
if (!customElements.get(tagName$1)) {
|
|
16546
|
+
customElements.define(tagName$1, PageLayout);
|
|
16536
16547
|
}
|
|
16537
16548
|
});
|
|
16538
16549
|
return (_ctx, _cache) => {
|
|
16539
|
-
return openBlock(), createBlock(resolveDynamicComponent(tagName), {
|
|
16550
|
+
return openBlock(), createBlock(resolveDynamicComponent(tagName$1), {
|
|
16540
16551
|
layout: _ctx.layout
|
|
16541
16552
|
}, {
|
|
16542
16553
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(slotNames.value, (slot) => {
|
|
16543
16554
|
return openBlock(), createElementBlock("div", {
|
|
16544
16555
|
key: slot,
|
|
16545
16556
|
slot
|
|
16546
|
-
}, [renderSlot(_ctx.$slots, slot)], 8, _hoisted_1$
|
|
16557
|
+
}, [renderSlot(_ctx.$slots, slot)], 8, _hoisted_1$8);
|
|
16547
16558
|
}), 128))]),
|
|
16548
16559
|
_: 3
|
|
16549
16560
|
}, 8, ["layout"]);
|
|
@@ -16576,16 +16587,16 @@ function useAreaData(element) {
|
|
|
16576
16587
|
direction
|
|
16577
16588
|
};
|
|
16578
16589
|
}
|
|
16579
|
-
const _hoisted_1$
|
|
16590
|
+
const _hoisted_1$7 = {
|
|
16580
16591
|
class: "progress"
|
|
16581
16592
|
};
|
|
16582
|
-
const _hoisted_2$
|
|
16593
|
+
const _hoisted_2$4 = ["aria-label", "aria-valuenow", "aria-valuetext"];
|
|
16583
16594
|
const _hoisted_3$2 = {
|
|
16584
16595
|
class: "sr-only"
|
|
16585
16596
|
};
|
|
16586
16597
|
const MIN_VALUE = 0;
|
|
16587
16598
|
const MAX_VALUE = 100;
|
|
16588
|
-
const _sfc_main$
|
|
16599
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
16589
16600
|
__name: "FProgressbar",
|
|
16590
16601
|
props: {
|
|
16591
16602
|
/**
|
|
@@ -16624,10 +16635,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
16624
16635
|
setup(__props) {
|
|
16625
16636
|
const props = __props;
|
|
16626
16637
|
const ariaLabel = props.ariaLabel;
|
|
16627
|
-
function
|
|
16638
|
+
function clamp2(val) {
|
|
16628
16639
|
return Math.round(Math.min(Math.max(val || 0, MIN_VALUE), MAX_VALUE));
|
|
16629
16640
|
}
|
|
16630
|
-
const progressValueNow = computed(() =>
|
|
16641
|
+
const progressValueNow = computed(() => clamp2(props.value));
|
|
16631
16642
|
const cssWidth = computed(() => `width: ${progressValueNow.value}%`);
|
|
16632
16643
|
const progressBarClass = computed(() => {
|
|
16633
16644
|
if (progressValueNow.value === MIN_VALUE) {
|
|
@@ -16642,7 +16653,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
16642
16653
|
return `${props.valueText.replace("%VALUE%", progressValueNow.value.toString())}`;
|
|
16643
16654
|
});
|
|
16644
16655
|
return (_ctx, _cache) => {
|
|
16645
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16656
|
+
return openBlock(), createElementBlock("div", _hoisted_1$7, [createElementVNode("span", {
|
|
16646
16657
|
class: normalizeClass(["progress__meter", progressBarClass.value]),
|
|
16647
16658
|
role: "progressbar",
|
|
16648
16659
|
"aria-label": unref(ariaLabel),
|
|
@@ -16651,12 +16662,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
16651
16662
|
"aria-valuenow": progressValueNow.value,
|
|
16652
16663
|
"aria-valuetext": progressText.value,
|
|
16653
16664
|
style: normalizeStyle(cssWidth.value)
|
|
16654
|
-
}, [createElementVNode("span", _hoisted_3$2, toDisplayString(progressText.value), 1)], 14, _hoisted_2$
|
|
16665
|
+
}, [createElementVNode("span", _hoisted_3$2, toDisplayString(progressText.value), 1)], 14, _hoisted_2$4)]);
|
|
16655
16666
|
};
|
|
16656
16667
|
}
|
|
16657
16668
|
});
|
|
16658
16669
|
const anyType = [String, Object, Array, Number, Date, Boolean];
|
|
16659
|
-
const _sfc_main$
|
|
16670
|
+
const _sfc_main$6 = defineComponent({
|
|
16660
16671
|
name: "FRadioField",
|
|
16661
16672
|
inheritAttrs: false,
|
|
16662
16673
|
props: {
|
|
@@ -16812,8 +16823,8 @@ const _sfc_main$4 = defineComponent({
|
|
|
16812
16823
|
}
|
|
16813
16824
|
}
|
|
16814
16825
|
});
|
|
16815
|
-
const _hoisted_1$
|
|
16816
|
-
const _hoisted_2$
|
|
16826
|
+
const _hoisted_1$6 = ["id", "disabled"];
|
|
16827
|
+
const _hoisted_2$3 = ["for"];
|
|
16817
16828
|
const _hoisted_3$1 = {
|
|
16818
16829
|
key: 0,
|
|
16819
16830
|
class: "radio-button__details"
|
|
@@ -16831,7 +16842,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16831
16842
|
type: "radio",
|
|
16832
16843
|
class: "radio-button__input",
|
|
16833
16844
|
disabled: _ctx.disabled
|
|
16834
|
-
}, _ctx.attrs), null, 16, _hoisted_1$
|
|
16845
|
+
}, _ctx.attrs), null, 16, _hoisted_1$6), _cache[7] || (_cache[7] = createTextVNode()), createElementVNode("label", {
|
|
16835
16846
|
class: normalizeClass(_ctx.$slots.details ? "radio-button__label radio-button__width" : "radio-button__label"),
|
|
16836
16847
|
for: _ctx.id
|
|
16837
16848
|
}, [renderSlot(_ctx.$slots, "default"), _cache[6] || (_cache[6] = createTextVNode()), _ctx.$slots.details ? (openBlock(), createElementBlock(Fragment, {
|
|
@@ -16846,9 +16857,463 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16846
16857
|
height: _ctx.height
|
|
16847
16858
|
})])) : createCommentVNode("", true)]),
|
|
16848
16859
|
_: 3
|
|
16849
|
-
}, 8, ["onEnter", "onAfterEnter", "onLeave"])) : createCommentVNode("", true)], 64)) : createCommentVNode("", true)], 10, _hoisted_2$
|
|
16860
|
+
}, 8, ["onEnter", "onAfterEnter", "onLeave"])) : createCommentVNode("", true)], 64)) : createCommentVNode("", true)], 10, _hoisted_2$3)], 34);
|
|
16861
|
+
}
|
|
16862
|
+
const FRadioField = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$4]]);
|
|
16863
|
+
function tryOnScopeDispose(fn2) {
|
|
16864
|
+
if (getCurrentScope()) {
|
|
16865
|
+
onScopeDispose(fn2);
|
|
16866
|
+
return true;
|
|
16867
|
+
}
|
|
16868
|
+
return false;
|
|
16850
16869
|
}
|
|
16851
|
-
const
|
|
16870
|
+
const isClient = typeof window !== "undefined" && typeof document !== "undefined";
|
|
16871
|
+
typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
|
|
16872
|
+
const toString = Object.prototype.toString;
|
|
16873
|
+
const isObject = (val) => toString.call(val) === "[object Object]";
|
|
16874
|
+
function toArray(value) {
|
|
16875
|
+
return Array.isArray(value) ? value : [value];
|
|
16876
|
+
}
|
|
16877
|
+
function watchImmediate(source, cb, options) {
|
|
16878
|
+
return watch(
|
|
16879
|
+
source,
|
|
16880
|
+
cb,
|
|
16881
|
+
{
|
|
16882
|
+
...options,
|
|
16883
|
+
immediate: true
|
|
16884
|
+
}
|
|
16885
|
+
);
|
|
16886
|
+
}
|
|
16887
|
+
const defaultWindow = isClient ? window : void 0;
|
|
16888
|
+
function unrefElement(elRef) {
|
|
16889
|
+
var _a;
|
|
16890
|
+
const plain = toValue(elRef);
|
|
16891
|
+
return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;
|
|
16892
|
+
}
|
|
16893
|
+
function useEventListener(...args) {
|
|
16894
|
+
const cleanups = [];
|
|
16895
|
+
const cleanup = () => {
|
|
16896
|
+
cleanups.forEach((fn2) => fn2());
|
|
16897
|
+
cleanups.length = 0;
|
|
16898
|
+
};
|
|
16899
|
+
const register = (el, event, listener, options) => {
|
|
16900
|
+
el.addEventListener(event, listener, options);
|
|
16901
|
+
return () => el.removeEventListener(event, listener, options);
|
|
16902
|
+
};
|
|
16903
|
+
const firstParamTargets = computed(() => {
|
|
16904
|
+
const test = toArray(toValue(args[0])).filter((e) => e != null);
|
|
16905
|
+
return test.every((e) => typeof e !== "string") ? test : void 0;
|
|
16906
|
+
});
|
|
16907
|
+
const stopWatch = watchImmediate(
|
|
16908
|
+
() => {
|
|
16909
|
+
var _a, _b;
|
|
16910
|
+
return [
|
|
16911
|
+
(_b = (_a = firstParamTargets.value) == null ? void 0 : _a.map((e) => unrefElement(e))) != null ? _b : [defaultWindow].filter((e) => e != null),
|
|
16912
|
+
toArray(toValue(firstParamTargets.value ? args[1] : args[0])),
|
|
16913
|
+
toArray(unref(firstParamTargets.value ? args[2] : args[1])),
|
|
16914
|
+
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
16915
|
+
toValue(firstParamTargets.value ? args[3] : args[2])
|
|
16916
|
+
];
|
|
16917
|
+
},
|
|
16918
|
+
([raw_targets, raw_events, raw_listeners, raw_options]) => {
|
|
16919
|
+
cleanup();
|
|
16920
|
+
if (!(raw_targets == null ? void 0 : raw_targets.length) || !(raw_events == null ? void 0 : raw_events.length) || !(raw_listeners == null ? void 0 : raw_listeners.length))
|
|
16921
|
+
return;
|
|
16922
|
+
const optionsClone = isObject(raw_options) ? { ...raw_options } : raw_options;
|
|
16923
|
+
cleanups.push(
|
|
16924
|
+
...raw_targets.flatMap(
|
|
16925
|
+
(el) => raw_events.flatMap(
|
|
16926
|
+
(event) => raw_listeners.map((listener) => register(el, event, listener, optionsClone))
|
|
16927
|
+
)
|
|
16928
|
+
)
|
|
16929
|
+
);
|
|
16930
|
+
},
|
|
16931
|
+
{ flush: "post" }
|
|
16932
|
+
);
|
|
16933
|
+
const stop = () => {
|
|
16934
|
+
stopWatch();
|
|
16935
|
+
cleanup();
|
|
16936
|
+
};
|
|
16937
|
+
tryOnScopeDispose(cleanup);
|
|
16938
|
+
return stop;
|
|
16939
|
+
}
|
|
16940
|
+
const keymap = {
|
|
16941
|
+
left: {
|
|
16942
|
+
ArrowLeft: "decrease",
|
|
16943
|
+
ArrowRight: "increase",
|
|
16944
|
+
Home: "minimize",
|
|
16945
|
+
End: "maximize"
|
|
16946
|
+
},
|
|
16947
|
+
right: {
|
|
16948
|
+
ArrowLeft: "increase",
|
|
16949
|
+
ArrowRight: "decrease",
|
|
16950
|
+
Home: "minimize",
|
|
16951
|
+
End: "maximize"
|
|
16952
|
+
},
|
|
16953
|
+
top: {
|
|
16954
|
+
ArrowUp: "decrease",
|
|
16955
|
+
ArrowDown: "increase",
|
|
16956
|
+
Home: "minimize",
|
|
16957
|
+
End: "maximize"
|
|
16958
|
+
},
|
|
16959
|
+
bottom: {
|
|
16960
|
+
ArrowUp: "increase",
|
|
16961
|
+
ArrowDown: "decrease",
|
|
16962
|
+
Home: "minimize",
|
|
16963
|
+
End: "maximize"
|
|
16964
|
+
},
|
|
16965
|
+
none: {}
|
|
16966
|
+
};
|
|
16967
|
+
function useKeyboardHandler(options) {
|
|
16968
|
+
const {
|
|
16969
|
+
attachment,
|
|
16970
|
+
separator
|
|
16971
|
+
} = options;
|
|
16972
|
+
useEventListener(separator, "keydown", (event) => {
|
|
16973
|
+
if (!attachment.value) {
|
|
16974
|
+
return;
|
|
16975
|
+
}
|
|
16976
|
+
const action = keymap[attachment.value][event.key];
|
|
16977
|
+
if (action) {
|
|
16978
|
+
event.preventDefault();
|
|
16979
|
+
options[action]();
|
|
16980
|
+
}
|
|
16981
|
+
});
|
|
16982
|
+
}
|
|
16983
|
+
function clamp(value, min, max) {
|
|
16984
|
+
return Math.min(Math.max(value, min), max);
|
|
16985
|
+
}
|
|
16986
|
+
function usePointerHandler(options) {
|
|
16987
|
+
const {
|
|
16988
|
+
separator,
|
|
16989
|
+
attachment
|
|
16990
|
+
} = options;
|
|
16991
|
+
const invert = computed(() => {
|
|
16992
|
+
if (attachment.value === "right" || attachment.value === "bottom") {
|
|
16993
|
+
return -1;
|
|
16994
|
+
}
|
|
16995
|
+
return 1;
|
|
16996
|
+
});
|
|
16997
|
+
const orientation = computed(() => {
|
|
16998
|
+
if (attachment.value === "top" || attachment.value === "bottom") {
|
|
16999
|
+
return "horizontal";
|
|
17000
|
+
} else {
|
|
17001
|
+
return "vertical";
|
|
17002
|
+
}
|
|
17003
|
+
});
|
|
17004
|
+
useEventListener(separator, "pointerdown", (event) => {
|
|
17005
|
+
const {
|
|
17006
|
+
isPrimary,
|
|
17007
|
+
button,
|
|
17008
|
+
target,
|
|
17009
|
+
pointerId
|
|
17010
|
+
} = event;
|
|
17011
|
+
if (!separator.value) {
|
|
17012
|
+
return;
|
|
17013
|
+
}
|
|
17014
|
+
if (!isPrimary || button !== 0 || target !== separator.value) {
|
|
17015
|
+
return;
|
|
17016
|
+
}
|
|
17017
|
+
const separatorElement = separator.value;
|
|
17018
|
+
const property = orientation.value === "horizontal" ? "clientY" : "clientX";
|
|
17019
|
+
const reference = event[property];
|
|
17020
|
+
const resize = createResizer();
|
|
17021
|
+
function onPointerMove(event2) {
|
|
17022
|
+
if (event2.pointerId === pointerId) {
|
|
17023
|
+
resize(event2[property] - reference);
|
|
17024
|
+
}
|
|
17025
|
+
}
|
|
17026
|
+
function onLostPointerCapture(event2) {
|
|
17027
|
+
if (event2.pointerId === pointerId) {
|
|
17028
|
+
separatorElement.removeEventListener("pointermove", onPointerMove);
|
|
17029
|
+
separatorElement.removeEventListener("lostpointercapture", onLostPointerCapture);
|
|
17030
|
+
}
|
|
17031
|
+
}
|
|
17032
|
+
onPointerMove(event);
|
|
17033
|
+
separatorElement.addEventListener("lostpointercapture", onLostPointerCapture);
|
|
17034
|
+
separatorElement.addEventListener("pointermove", onPointerMove);
|
|
17035
|
+
separatorElement.setPointerCapture(pointerId);
|
|
17036
|
+
event.preventDefault();
|
|
17037
|
+
});
|
|
17038
|
+
function createResizer() {
|
|
17039
|
+
const {
|
|
17040
|
+
min,
|
|
17041
|
+
max,
|
|
17042
|
+
current: value
|
|
17043
|
+
} = options.state.value;
|
|
17044
|
+
return (amount) => {
|
|
17045
|
+
options.movement(clamp(value + amount * invert.value, min, max));
|
|
17046
|
+
};
|
|
17047
|
+
}
|
|
17048
|
+
}
|
|
17049
|
+
function computeCssValue(raw, total, auto) {
|
|
17050
|
+
if (raw.endsWith("px")) {
|
|
17051
|
+
return parseInt(raw.slice(0, -2), 10);
|
|
17052
|
+
} else if (raw.endsWith("%")) {
|
|
17053
|
+
const value = parseInt(raw.slice(0, -1), 10);
|
|
17054
|
+
const percent = value / 100;
|
|
17055
|
+
return percent * total;
|
|
17056
|
+
} else if (raw === "0") {
|
|
17057
|
+
return 0;
|
|
17058
|
+
} else if (raw === "auto") {
|
|
17059
|
+
return auto;
|
|
17060
|
+
} else {
|
|
17061
|
+
throw new Error(`Cant parse size from "${raw}"`);
|
|
17062
|
+
}
|
|
17063
|
+
}
|
|
17064
|
+
function aggregateCssValue(raw, total, auto, take) {
|
|
17065
|
+
if (raw === "auto") {
|
|
17066
|
+
return auto;
|
|
17067
|
+
}
|
|
17068
|
+
const parts = raw.split(/\s+/).map((it) => it.trim());
|
|
17069
|
+
const parsed = parts.map((it) => computeCssValue(it, total, auto));
|
|
17070
|
+
return take(...parsed);
|
|
17071
|
+
}
|
|
17072
|
+
function useStorage(options) {
|
|
17073
|
+
const {
|
|
17074
|
+
state,
|
|
17075
|
+
storageKey
|
|
17076
|
+
} = options;
|
|
17077
|
+
const loaded = ref(false);
|
|
17078
|
+
let last = -1;
|
|
17079
|
+
watchEffect(() => {
|
|
17080
|
+
if (!loaded.value) {
|
|
17081
|
+
return;
|
|
17082
|
+
}
|
|
17083
|
+
if (!storageKey.value) {
|
|
17084
|
+
return;
|
|
17085
|
+
}
|
|
17086
|
+
if (state.value.current < 0 || state.value.current === last) {
|
|
17087
|
+
return;
|
|
17088
|
+
}
|
|
17089
|
+
const json = JSON.stringify(state.value.current);
|
|
17090
|
+
window.localStorage.setItem(storageKey.value, json);
|
|
17091
|
+
last = state.value.current;
|
|
17092
|
+
});
|
|
17093
|
+
watchEffect(() => {
|
|
17094
|
+
if (!storageKey.value) {
|
|
17095
|
+
return;
|
|
17096
|
+
}
|
|
17097
|
+
const json = window.localStorage.getItem(storageKey.value);
|
|
17098
|
+
if (json) {
|
|
17099
|
+
const value = JSON.parse(json);
|
|
17100
|
+
state.value.current = clamp(value, state.value.min, state.value.max);
|
|
17101
|
+
last = value;
|
|
17102
|
+
}
|
|
17103
|
+
loaded.value = true;
|
|
17104
|
+
});
|
|
17105
|
+
}
|
|
17106
|
+
const _hoisted_1$5 = ["aria-orientation"];
|
|
17107
|
+
const _hoisted_2$2 = ["aria-orientation"];
|
|
17108
|
+
const STEP_SIZE = 10;
|
|
17109
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
17110
|
+
__name: "FResizePane.ce",
|
|
17111
|
+
props: {
|
|
17112
|
+
disabled: {
|
|
17113
|
+
type: Boolean,
|
|
17114
|
+
default: false
|
|
17115
|
+
},
|
|
17116
|
+
min: {
|
|
17117
|
+
default: "0",
|
|
17118
|
+
type: String
|
|
17119
|
+
},
|
|
17120
|
+
max: {
|
|
17121
|
+
default: "100%",
|
|
17122
|
+
type: String
|
|
17123
|
+
},
|
|
17124
|
+
initial: {
|
|
17125
|
+
default: "50%",
|
|
17126
|
+
type: String
|
|
17127
|
+
}
|
|
17128
|
+
},
|
|
17129
|
+
setup(__props) {
|
|
17130
|
+
const props = __props;
|
|
17131
|
+
const root = shallowRef();
|
|
17132
|
+
const content = ref();
|
|
17133
|
+
const separator = ref();
|
|
17134
|
+
const state = ref({
|
|
17135
|
+
min: -1,
|
|
17136
|
+
max: -1,
|
|
17137
|
+
current: -1
|
|
17138
|
+
});
|
|
17139
|
+
const separatorSize = ref(0);
|
|
17140
|
+
const layoutSize = ref(0);
|
|
17141
|
+
const storageKey = computed(() => area.value ? `layout/${area.value}/size` : null);
|
|
17142
|
+
const {
|
|
17143
|
+
attachPanel: attachment,
|
|
17144
|
+
area
|
|
17145
|
+
} = useAreaData(root);
|
|
17146
|
+
useKeyboardHandler({
|
|
17147
|
+
increase() {
|
|
17148
|
+
state.value.current = Math.min(state.value.current + STEP_SIZE, state.value.max);
|
|
17149
|
+
},
|
|
17150
|
+
decrease() {
|
|
17151
|
+
state.value.current = Math.max(state.value.current - STEP_SIZE, state.value.min);
|
|
17152
|
+
},
|
|
17153
|
+
maximize() {
|
|
17154
|
+
state.value.current = state.value.max;
|
|
17155
|
+
},
|
|
17156
|
+
minimize() {
|
|
17157
|
+
state.value.current = state.value.min;
|
|
17158
|
+
},
|
|
17159
|
+
attachment,
|
|
17160
|
+
separator
|
|
17161
|
+
});
|
|
17162
|
+
useStorage({
|
|
17163
|
+
state,
|
|
17164
|
+
storageKey
|
|
17165
|
+
});
|
|
17166
|
+
usePointerHandler({
|
|
17167
|
+
movement(value) {
|
|
17168
|
+
state.value.current = value;
|
|
17169
|
+
},
|
|
17170
|
+
separator,
|
|
17171
|
+
state,
|
|
17172
|
+
attachment
|
|
17173
|
+
});
|
|
17174
|
+
const minSize = computed(() => {
|
|
17175
|
+
const total = layoutSize.value;
|
|
17176
|
+
return Math.floor(aggregateCssValue(props.min, total, 0, Math.max) + separatorSize.value);
|
|
17177
|
+
});
|
|
17178
|
+
const maxSize = computed(() => {
|
|
17179
|
+
const total = layoutSize.value;
|
|
17180
|
+
return Math.floor(aggregateCssValue(props.max, total, total, Math.min) + separatorSize.value);
|
|
17181
|
+
});
|
|
17182
|
+
const initialSize = computed(() => {
|
|
17183
|
+
const total = layoutSize.value;
|
|
17184
|
+
return Math.floor(computeCssValue(props.initial, total, total * 0.5));
|
|
17185
|
+
});
|
|
17186
|
+
const orientation = computed(() => {
|
|
17187
|
+
if (attachment.value === "top" || attachment.value === "bottom") {
|
|
17188
|
+
return "horizontal";
|
|
17189
|
+
} else {
|
|
17190
|
+
return "vertical";
|
|
17191
|
+
}
|
|
17192
|
+
});
|
|
17193
|
+
const layoutElement = computed(() => {
|
|
17194
|
+
var _host$closest;
|
|
17195
|
+
if (!root.value) {
|
|
17196
|
+
return void 0;
|
|
17197
|
+
}
|
|
17198
|
+
const shadow = root.value.getRootNode();
|
|
17199
|
+
const host = shadow.host;
|
|
17200
|
+
return (_host$closest = host.closest("ce-page-layout")) !== null && _host$closest !== void 0 ? _host$closest : void 0;
|
|
17201
|
+
});
|
|
17202
|
+
watchEffect(() => {
|
|
17203
|
+
const {
|
|
17204
|
+
min,
|
|
17205
|
+
max,
|
|
17206
|
+
current: value
|
|
17207
|
+
} = state.value;
|
|
17208
|
+
if (root.value) {
|
|
17209
|
+
root.value.style.setProperty("--size", `${String(value)}px`);
|
|
17210
|
+
root.value.style.setProperty("--min", `${min}px`);
|
|
17211
|
+
root.value.style.setProperty("--max", `${max}px`);
|
|
17212
|
+
}
|
|
17213
|
+
if (separator.value) {
|
|
17214
|
+
separator.value.setAttribute("aria-valuemin", String(Math.floor(min)));
|
|
17215
|
+
separator.value.setAttribute("aria-valuemax", String(Math.floor(max)));
|
|
17216
|
+
separator.value.setAttribute("aria-valuenow", String(Math.floor(value)));
|
|
17217
|
+
}
|
|
17218
|
+
});
|
|
17219
|
+
onMounted(() => {
|
|
17220
|
+
if (separator.value) {
|
|
17221
|
+
const {
|
|
17222
|
+
flexBasis
|
|
17223
|
+
} = getComputedStyle(separator.value);
|
|
17224
|
+
separatorSize.value = computeCssValue(flexBasis, 0, 0);
|
|
17225
|
+
}
|
|
17226
|
+
layoutSize.value = getLayoutSize();
|
|
17227
|
+
state.value = {
|
|
17228
|
+
min: minSize.value,
|
|
17229
|
+
max: maxSize.value,
|
|
17230
|
+
current: clamp(initialSize.value, minSize.value, maxSize.value)
|
|
17231
|
+
};
|
|
17232
|
+
});
|
|
17233
|
+
useEventListener$1(window, "resize", debounce(onResize, 20));
|
|
17234
|
+
function onResize() {
|
|
17235
|
+
layoutSize.value = getLayoutSize();
|
|
17236
|
+
state.value = {
|
|
17237
|
+
min: minSize.value,
|
|
17238
|
+
max: maxSize.value,
|
|
17239
|
+
current: initialSize.value
|
|
17240
|
+
};
|
|
17241
|
+
}
|
|
17242
|
+
function getLayoutSize() {
|
|
17243
|
+
if (!layoutElement.value) {
|
|
17244
|
+
return 0;
|
|
17245
|
+
}
|
|
17246
|
+
switch (orientation.value) {
|
|
17247
|
+
case "horizontal": {
|
|
17248
|
+
return layoutElement.value.offsetHeight;
|
|
17249
|
+
}
|
|
17250
|
+
case "vertical": {
|
|
17251
|
+
return layoutElement.value.offsetWidth;
|
|
17252
|
+
}
|
|
17253
|
+
}
|
|
17254
|
+
}
|
|
17255
|
+
return (_ctx, _cache) => {
|
|
17256
|
+
return openBlock(), createElementBlock("div", {
|
|
17257
|
+
ref_key: "root",
|
|
17258
|
+
ref: root,
|
|
17259
|
+
class: normalizeClass(["resize", `resize--${unref(attachment)}`])
|
|
17260
|
+
}, [createElementVNode("div", {
|
|
17261
|
+
ref_key: "content",
|
|
17262
|
+
ref: content,
|
|
17263
|
+
class: "resize__content"
|
|
17264
|
+
}, [renderSlot(_ctx.$slots, "content")], 512), _cache[0] || (_cache[0] = createTextVNode()), !props.disabled ? (openBlock(), createElementBlock("div", {
|
|
17265
|
+
key: 0,
|
|
17266
|
+
ref_key: "separator",
|
|
17267
|
+
ref: separator,
|
|
17268
|
+
role: "separator",
|
|
17269
|
+
class: "resize__handle",
|
|
17270
|
+
tabindex: "0",
|
|
17271
|
+
"aria-orientation": orientation.value
|
|
17272
|
+
}, null, 8, _hoisted_1$5)) : (openBlock(), createElementBlock("div", {
|
|
17273
|
+
key: 1,
|
|
17274
|
+
role: "separator",
|
|
17275
|
+
class: "resize__handle disabled",
|
|
17276
|
+
"aria-orientation": orientation.value
|
|
17277
|
+
}, null, 8, _hoisted_2$2))], 2);
|
|
17278
|
+
};
|
|
17279
|
+
}
|
|
17280
|
+
});
|
|
17281
|
+
const _style_0 = '/* background color */\n/* highlight color */\n/* the width of the visible handle */\n/* how much extra click/hover area the handle has */\n/* how much extra space the handle occupies when hovering (not counting the click area) */\n/* how long before visually indicating the hover state */\n/* how long the animation for the visual indicator is */\n:host {\n display: contents;\n}\n.resize {\n flex-grow: 1;\n display: flex;\n align-items: stretch;\n}\n.resize--left {\n flex-direction: row;\n width: var(--size);\n}\n.resize--right {\n flex-direction: row-reverse;\n width: var(--size);\n}\n.resize--top {\n flex-direction: column;\n height: var(--size);\n}\n.resize--bottom {\n flex-direction: column-reverse;\n height: var(--size);\n}\n.resize__content {\n flex: 1 1 auto;\n overflow: auto;\n box-sizing: border-box;\n display: flex;\n}\n.resize--left .resize__content, .resize--right .resize__content {\n min-width: calc(var(--min) - 2px);\n max-width: calc(var(--max) - 2px);\n}\n.resize--top .resize__content, .resize--bottom .resize__content {\n min-height: calc(var(--min) - 2px);\n max-height: calc(var(--max) - 2px);\n}\n.resize__handle {\n flex: 0 0 2px;\n background: var(--fkds-color-border-primary);\n touch-action: none;\n user-select: none;\n z-index: 1;\n position: relative;\n transition: z-index 0s 200ms;\n /* disable regular focus indicator as this component has its own */\n /* when focus by keyboard we dont want the delay or transition */\n /* as the handle area expand we increase z-index for the handle to make sure it covers other separators */\n}\n@media (forced-colors: active) {\n.resize__handle {\n background: CanvasText;\n}\n}\n.resize__handle[aria-orientation=horizontal] {\n cursor: row-resize;\n height: 2px;\n}\n.resize__handle[aria-orientation=horizontal]::before {\n inset: -2px 0;\n}\n.resize__handle[aria-orientation=horizontal]::after {\n inset: -4px 0;\n}\n.resize__handle[aria-orientation=vertical] {\n cursor: col-resize;\n width: 2px;\n}\n.resize__handle[aria-orientation=vertical]::before {\n inset: 0 -2px;\n}\n.resize__handle[aria-orientation=vertical]::after {\n inset: 0 -4px;\n}\n.resize__handle::before {\n content: "";\n pointer-events: none;\n position: absolute;\n background-color: transparent;\n transition: background-color 200ms ease-in;\n}\n.resize__handle::after {\n content: "";\n position: absolute;\n}\n.resize__handle:focus::before, .resize__handle:hover::before, .resize__handle.drag::before {\n background-color: var(--fkds-color-action-border-primary-hover);\n transition-delay: 200ms;\n}\n@media (forced-colors: active) {\n.resize__handle:focus::before, .resize__handle:hover::before, .resize__handle.drag::before {\n background-color: Highlight;\n}\n}\n.resize__handle:focus {\n outline: none;\n box-shadow: none;\n}\n.resize__handle:focus::before {\n transition: none;\n}\n.resize__handle:hover, .resize__handle:focus, .resize__handle.drag {\n z-index: 2;\n transition: z-index 0s 0s;\n}\n.resize__handle.disabled {\n cursor: auto;\n}\n.resize__handle.disabled::before {\n display: none;\n}\n.resize--left .resize__handle {\n left: 2px;\n}\n.resize--right .resize__handle {\n right: 2px;\n}\n.resize--top .resize__handle {\n top: 2px;\n}\n.resize--bottom .resize__handle {\n bottom: 2px;\n}';
|
|
17282
|
+
const FResizePane = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["styles", [_style_0]]]);
|
|
17283
|
+
const _hoisted_1$4 = {
|
|
17284
|
+
slot: "content"
|
|
17285
|
+
};
|
|
17286
|
+
const tagName = "ce-resize-pane";
|
|
17287
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
17288
|
+
__name: "FResizePane",
|
|
17289
|
+
props: {
|
|
17290
|
+
disabled: {
|
|
17291
|
+
type: Boolean,
|
|
17292
|
+
default: false
|
|
17293
|
+
},
|
|
17294
|
+
min: {
|
|
17295
|
+
default: "0"
|
|
17296
|
+
},
|
|
17297
|
+
max: {
|
|
17298
|
+
default: "100%"
|
|
17299
|
+
},
|
|
17300
|
+
initial: {
|
|
17301
|
+
default: "50%"
|
|
17302
|
+
}
|
|
17303
|
+
},
|
|
17304
|
+
setup(__props) {
|
|
17305
|
+
if (!customElements.get(tagName)) {
|
|
17306
|
+
customElements.define(tagName, defineCustomElement(FResizePane));
|
|
17307
|
+
}
|
|
17308
|
+
const props = __props;
|
|
17309
|
+
return (_ctx, _cache) => {
|
|
17310
|
+
return openBlock(), createBlock(resolveDynamicComponent(tagName), normalizeProps(guardReactiveProps(props)), {
|
|
17311
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1$4, [renderSlot(_ctx.$slots, "default")])]),
|
|
17312
|
+
_: 3
|
|
17313
|
+
}, 16);
|
|
17314
|
+
};
|
|
17315
|
+
}
|
|
17316
|
+
});
|
|
16852
17317
|
const _sfc_main$3 = defineComponent({
|
|
16853
17318
|
name: "FStaticField",
|
|
16854
17319
|
components: {
|
|
@@ -17621,20 +18086,20 @@ export {
|
|
|
17621
18086
|
ErrorPlugin,
|
|
17622
18087
|
ErrorViewData,
|
|
17623
18088
|
EventBus,
|
|
17624
|
-
_sfc_main$
|
|
17625
|
-
_sfc_main$
|
|
17626
|
-
_sfc_main$
|
|
18089
|
+
_sfc_main$1e as FBadge,
|
|
18090
|
+
_sfc_main$B as FBankAccountNumberTextField,
|
|
18091
|
+
_sfc_main$A as FBankgiroTextField,
|
|
17627
18092
|
FCalendar,
|
|
17628
18093
|
FCalendarDay,
|
|
17629
|
-
_sfc_main$
|
|
18094
|
+
_sfc_main$Z as FCard,
|
|
17630
18095
|
FCheckboxField,
|
|
17631
|
-
_sfc_main$
|
|
18096
|
+
_sfc_main$z as FClearingnumberTextField,
|
|
17632
18097
|
FConfirmModal,
|
|
17633
18098
|
FContextMenu,
|
|
17634
18099
|
FCrudButton,
|
|
17635
|
-
_sfc_main$
|
|
17636
|
-
_sfc_main$
|
|
17637
|
-
_sfc_main$
|
|
18100
|
+
_sfc_main$L as FCrudDataset,
|
|
18101
|
+
_sfc_main$D as FCurrencyTextField,
|
|
18102
|
+
_sfc_main$r as FDataTable,
|
|
17638
18103
|
FDatepickerField,
|
|
17639
18104
|
FDialogueTree,
|
|
17640
18105
|
FEmailTextField,
|
|
@@ -17649,35 +18114,36 @@ export {
|
|
|
17649
18114
|
FFormModal,
|
|
17650
18115
|
FValidationFormAction as FFormModalAction,
|
|
17651
18116
|
FIcon,
|
|
17652
|
-
_sfc_main$
|
|
18117
|
+
_sfc_main$k as FInteractiveTable,
|
|
17653
18118
|
FKUIConfigButtonOrder,
|
|
17654
18119
|
FLabel,
|
|
17655
18120
|
FLayoutApplicationTemplate,
|
|
17656
18121
|
FLayoutLeftPanel,
|
|
17657
18122
|
FLayoutRightPanel,
|
|
17658
18123
|
FLayoutRightPanelService,
|
|
17659
|
-
_sfc_main$
|
|
18124
|
+
_sfc_main$g as FList,
|
|
17660
18125
|
FLoader,
|
|
17661
|
-
_sfc_main$
|
|
18126
|
+
_sfc_main$e as FLogo,
|
|
17662
18127
|
FMessageBox,
|
|
17663
18128
|
FModal,
|
|
17664
18129
|
FNavigationMenu,
|
|
17665
|
-
_sfc_main$
|
|
18130
|
+
_sfc_main$y as FNumericTextField,
|
|
17666
18131
|
FOffline,
|
|
17667
|
-
_sfc_main$
|
|
18132
|
+
_sfc_main$t as FOrganisationsnummerTextField,
|
|
17668
18133
|
FOutputField,
|
|
17669
18134
|
FPageHeader,
|
|
17670
|
-
_sfc_main$
|
|
17671
|
-
_sfc_main$
|
|
17672
|
-
_sfc_main$
|
|
18135
|
+
_sfc_main$8 as FPageLayout,
|
|
18136
|
+
_sfc_main$u as FPercentTextField,
|
|
18137
|
+
_sfc_main$x as FPersonnummerTextField,
|
|
17673
18138
|
FPhoneTextField,
|
|
17674
|
-
_sfc_main$
|
|
17675
|
-
_sfc_main$
|
|
17676
|
-
_sfc_main$
|
|
18139
|
+
_sfc_main$w as FPlusgiroTextField,
|
|
18140
|
+
_sfc_main$v as FPostalCodeTextField,
|
|
18141
|
+
_sfc_main$7 as FProgressbar,
|
|
17677
18142
|
FRadioField,
|
|
18143
|
+
_sfc_main$4 as FResizePane,
|
|
17678
18144
|
FSearchTextField,
|
|
17679
18145
|
FSelectField,
|
|
17680
|
-
_sfc_main$
|
|
18146
|
+
_sfc_main$s as FSortFilterDataset,
|
|
17681
18147
|
FSortFilterDatasetInjected,
|
|
17682
18148
|
FStaticField,
|
|
17683
18149
|
FTableColumn,
|
|
@@ -17698,13 +18164,13 @@ export {
|
|
|
17698
18164
|
ICalendarMonth,
|
|
17699
18165
|
ICalendarMonthGrid,
|
|
17700
18166
|
ICalendarNavbar,
|
|
17701
|
-
_sfc_main$
|
|
17702
|
-
_sfc_main$
|
|
18167
|
+
_sfc_main$R as IComboboxDropdown,
|
|
18168
|
+
_sfc_main$Q as IComboboxToggleButton,
|
|
17703
18169
|
IFlex,
|
|
17704
18170
|
IFlexItem,
|
|
17705
18171
|
IPopup,
|
|
17706
18172
|
IPopupError,
|
|
17707
|
-
_sfc_main$
|
|
18173
|
+
_sfc_main$V as IPopupListbox,
|
|
17708
18174
|
IPopupMenu,
|
|
17709
18175
|
ISkipLink,
|
|
17710
18176
|
FValidationForm as IValidationForm,
|