fds-vue-core 8.14.1 → 8.16.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/components/FdsSearchSelectPro/FdsSearchSelectPro.vue.d.ts +13 -2
- package/dist/components/FdsSearchSelectPro/types.d.ts +16 -0
- package/dist/components/FdsWeekCalendar/FdsWeekCalendar.vue.d.ts +1 -1
- package/dist/components/Form/FdsInput/FdsInput.vue.d.ts +11 -1
- package/dist/fds-vue-core.cjs.js +48 -20
- package/dist/fds-vue-core.cjs.js.map +1 -1
- package/dist/fds-vue-core.css +1 -1
- package/dist/fds-vue-core.es.js +49 -21
- package/dist/fds-vue-core.es.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/components/FdsSearchSelectPro/FdsSearchSelectPro.stories.ts +53 -0
- package/src/components/FdsSearchSelectPro/FdsSearchSelectPro.vue +42 -6
- package/src/components/FdsSearchSelectPro/types.ts +18 -0
- package/src/components/Form/FdsInput/FdsInput.stories.ts +17 -0
- package/src/components/Form/FdsInput/FdsInput.vue +12 -2
- package/src/index.ts +5 -1
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import { FdsSearchSelectProProps } from './types';
|
|
2
|
-
|
|
1
|
+
import { FdsSearchSelectProItemSlotProps, FdsSearchSelectProProps, FdsSearchSelectProSelectedSlotProps } from './types';
|
|
2
|
+
type __VLS_Slots = {
|
|
3
|
+
item?: (props: FdsSearchSelectProItemSlotProps) => unknown;
|
|
4
|
+
selected?: (props: FdsSearchSelectProSelectedSlotProps) => unknown;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<FdsSearchSelectProProps, {
|
|
3
7
|
blur: () => void;
|
|
4
8
|
clear: () => void;
|
|
5
9
|
blurAndClear: () => void;
|
|
@@ -42,6 +46,7 @@ declare const __VLS_export: import('vue').DefineComponent<FdsSearchSelectProProp
|
|
|
42
46
|
};
|
|
43
47
|
noResultPrompt: string;
|
|
44
48
|
maxListHeight: string | number;
|
|
49
|
+
hideRadio: boolean;
|
|
45
50
|
hierarchical: boolean;
|
|
46
51
|
selectChildrenRecursively: boolean;
|
|
47
52
|
initialSelectedItems: Record<string, any>[];
|
|
@@ -65,5 +70,11 @@ declare const __VLS_export: import('vue').DefineComponent<FdsSearchSelectProProp
|
|
|
65
70
|
invalidOnEmptySelection: boolean;
|
|
66
71
|
unspecifiedLabel: string;
|
|
67
72
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
73
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
68
74
|
declare const _default: typeof __VLS_export;
|
|
69
75
|
export default _default;
|
|
76
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
77
|
+
new (): {
|
|
78
|
+
$slots: S;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
@@ -14,6 +14,8 @@ export interface FdsSearchSelectProProps extends Omit</* @vue-ignore */ HTMLAttr
|
|
|
14
14
|
items: Array<Record<string, any>>;
|
|
15
15
|
/** Enables multi-select mode (checkboxes) instead of single-select (radio). */
|
|
16
16
|
multiple?: boolean;
|
|
17
|
+
/** In single-select mode, visually hides the radio buttons and marks the selected row with a background instead. */
|
|
18
|
+
hideRadio?: boolean;
|
|
17
19
|
/** Enables hierarchy indentation based on `levelField`. */
|
|
18
20
|
hierarchical?: boolean;
|
|
19
21
|
/** In hierarchical mode, selecting a parent also toggles descendants until next sibling/root. */
|
|
@@ -121,3 +123,17 @@ export interface FdsSearchSelectProProps extends Omit</* @vue-ignore */ HTMLAttr
|
|
|
121
123
|
/** Listener for load-more requests (used in external loading mode). */
|
|
122
124
|
onLoadMore?: (() => void) | Array<() => void>;
|
|
123
125
|
}
|
|
126
|
+
/** Props passed to the `item` slot of `FdsSearchSelectPro`. */
|
|
127
|
+
export interface FdsSearchSelectProItemSlotProps {
|
|
128
|
+
/** The option item as given in `items`. */
|
|
129
|
+
item: Record<string, unknown>;
|
|
130
|
+
/** Whether the option is currently selected. */
|
|
131
|
+
selected: boolean;
|
|
132
|
+
/** Default row text as HTML, with the search match wrapped in `<b>`. */
|
|
133
|
+
highlightedText: string;
|
|
134
|
+
}
|
|
135
|
+
/** Props passed to the `selected` slot of `FdsSearchSelectPro`, shown before the input text in single-select mode. */
|
|
136
|
+
export interface FdsSearchSelectProSelectedSlotProps {
|
|
137
|
+
/** The currently selected item. */
|
|
138
|
+
item: Record<string, unknown>;
|
|
139
|
+
}
|
|
@@ -11,6 +11,7 @@ declare const __VLS_export: import('vue').DefineComponent<FdsWeekCalendarProps,
|
|
|
11
11
|
"onIncrement-week"?: (() => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
13
|
loading: import('./types').FdsWeekCalendarLoading;
|
|
14
|
+
selected: Date | null;
|
|
14
15
|
enabledDates: Date[];
|
|
15
16
|
disablePreviousWeek: boolean;
|
|
16
17
|
disableNextWeek: boolean;
|
|
@@ -18,7 +19,6 @@ declare const __VLS_export: import('vue').DefineComponent<FdsWeekCalendarProps,
|
|
|
18
19
|
minWeek: Date;
|
|
19
20
|
maxDate: Date;
|
|
20
21
|
previewOtherDays: boolean;
|
|
21
|
-
selected: Date | null;
|
|
22
22
|
weekLabel: string;
|
|
23
23
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
+
import { Slot } from 'vue';
|
|
1
2
|
import { FdsInputProps } from './types';
|
|
2
3
|
type __VLS_Props = FdsInputProps;
|
|
4
|
+
type __VLS_Slots = {
|
|
5
|
+
prefix?: Slot;
|
|
6
|
+
};
|
|
3
7
|
type __VLS_ModelProps = {
|
|
4
8
|
modelValue?: string;
|
|
5
9
|
};
|
|
6
10
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
-
declare const
|
|
11
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
12
|
"update:modelValue": (value: string | undefined) => any;
|
|
9
13
|
} & {
|
|
10
14
|
input: (ev: Event) => any;
|
|
@@ -48,5 +52,11 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {},
|
|
|
48
52
|
lazy?: boolean;
|
|
49
53
|
};
|
|
50
54
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
55
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
51
56
|
declare const _default: typeof __VLS_export;
|
|
52
57
|
export default _default;
|
|
58
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
59
|
+
new (): {
|
|
60
|
+
$slots: S;
|
|
61
|
+
};
|
|
62
|
+
};
|
package/dist/fds-vue-core.cjs.js
CHANGED
|
@@ -1080,7 +1080,7 @@ var FdsButtonIcon_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1080
1080
|
var _hoisted_1$42 = { class: "flex items-start gap-2" };
|
|
1081
1081
|
var _hoisted_2$29 = { class: "h-7 flex items-center" };
|
|
1082
1082
|
var _hoisted_3$23 = { class: "leading-7" };
|
|
1083
|
-
var _hoisted_4$
|
|
1083
|
+
var _hoisted_4$20 = { class: "relative h-7" };
|
|
1084
1084
|
var _hoisted_5$17 = {
|
|
1085
1085
|
key: 1,
|
|
1086
1086
|
class: "fds-block-alert-slot mb-0-last-child"
|
|
@@ -1152,7 +1152,7 @@ var FdsBlockAlert_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1152
1152
|
name: "alert",
|
|
1153
1153
|
size: 24,
|
|
1154
1154
|
class: "fill-yellow-700"
|
|
1155
|
-
})]), (0, vue.createElementVNode)("span", _hoisted_3$23, (0, vue.toDisplayString)(__props.heading), 1)]), (0, vue.createElementVNode)("div", _hoisted_4$
|
|
1155
|
+
})]), (0, vue.createElementVNode)("span", _hoisted_3$23, (0, vue.toDisplayString)(__props.heading), 1)]), (0, vue.createElementVNode)("div", _hoisted_4$20, [__props.closeable ? ((0, vue.openBlock)(), (0, vue.createBlock)(FdsButtonIcon_default, (0, vue.mergeProps)({
|
|
1156
1156
|
key: 0,
|
|
1157
1157
|
icon: "cross",
|
|
1158
1158
|
size: 28,
|
|
@@ -1177,7 +1177,7 @@ var _hoisted_2$28 = {
|
|
|
1177
1177
|
class: "flex items-start justify-between gap-4 mb-4"
|
|
1178
1178
|
};
|
|
1179
1179
|
var _hoisted_3$22 = { class: "flex items-center gap-3" };
|
|
1180
|
-
var _hoisted_4$
|
|
1180
|
+
var _hoisted_4$19 = { class: "flex items-start gap-3 leading-8" };
|
|
1181
1181
|
var _hoisted_5$16 = { class: "mb-0-last-child" };
|
|
1182
1182
|
// src/components/Blocks/FdsBlockContent/FdsBlockContent.vue
|
|
1183
1183
|
var FdsBlockContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -1223,7 +1223,7 @@ var FdsBlockContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1223
1223
|
id: contentBlockId.value,
|
|
1224
1224
|
class: contentClasses.value,
|
|
1225
1225
|
style: borderLeftStyle.value
|
|
1226
|
-
}, rootAttrs.value), [__props.heading ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("header", _hoisted_2$28, [(0, vue.createElementVNode)("div", _hoisted_3$22, [(0, vue.createElementVNode)("h3", { class: (0, vue.normalizeClass)(headerClasses.value) }, (0, vue.toDisplayString)(__props.heading), 3)]), (0, vue.createElementVNode)("div", _hoisted_4$
|
|
1226
|
+
}, rootAttrs.value), [__props.heading ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("header", _hoisted_2$28, [(0, vue.createElementVNode)("div", _hoisted_3$22, [(0, vue.createElementVNode)("h3", { class: (0, vue.normalizeClass)(headerClasses.value) }, (0, vue.toDisplayString)(__props.heading), 3)]), (0, vue.createElementVNode)("div", _hoisted_4$19, [(0, vue.renderSlot)(_ctx.$slots, "headerInfo")])])) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", _hoisted_5$16, [(0, vue.renderSlot)(_ctx.$slots, "default")])], 16, _hoisted_1$41);
|
|
1227
1227
|
};
|
|
1228
1228
|
}
|
|
1229
1229
|
});
|
|
@@ -1279,7 +1279,7 @@ var _hoisted_2$27 = {
|
|
|
1279
1279
|
class: "flex items-center mr-4"
|
|
1280
1280
|
};
|
|
1281
1281
|
var _hoisted_3$21 = { class: "inline-flex items-center" };
|
|
1282
|
-
var _hoisted_4$
|
|
1282
|
+
var _hoisted_4$18 = { class: "flex items-center gap-2" };
|
|
1283
1283
|
var _hoisted_5$15 = {
|
|
1284
1284
|
key: 0,
|
|
1285
1285
|
class: "w-full flex mt-2"
|
|
@@ -1351,7 +1351,7 @@ var FdsBlockExpander_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1351
1351
|
name: __props.icon,
|
|
1352
1352
|
size: 24,
|
|
1353
1353
|
class: (0, vue.normalizeClass)(["fill-blue-500", [{ "fill-gray-500": __props.disabled }, __props.iconClass]])
|
|
1354
|
-
}, null, 8, ["name", "class"])])) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("span", _hoisted_3$21, [(0, vue.createElementVNode)("span", { class: (0, vue.normalizeClass)(["font-bold font-heading text-lg leading-6", { "text-gray-700": __props.disabled }]) }, (0, vue.toDisplayString)(__props.heading), 3)])], 2), (0, vue.createElementVNode)("span", _hoisted_4$
|
|
1354
|
+
}, null, 8, ["name", "class"])])) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("span", _hoisted_3$21, [(0, vue.createElementVNode)("span", { class: (0, vue.normalizeClass)(["font-bold font-heading text-lg leading-6", { "text-gray-700": __props.disabled }]) }, (0, vue.toDisplayString)(__props.heading), 3)])], 2), (0, vue.createElementVNode)("span", _hoisted_4$18, [__props.stickerText && __props.stickerColor ? ((0, vue.openBlock)(), (0, vue.createBlock)(FdsSticker_default, {
|
|
1355
1355
|
key: 0,
|
|
1356
1356
|
variant: __props.stickerColor
|
|
1357
1357
|
}, {
|
|
@@ -1378,7 +1378,7 @@ var _hoisted_2$26 = {
|
|
|
1378
1378
|
class: "flex items-start gap-4"
|
|
1379
1379
|
};
|
|
1380
1380
|
var _hoisted_3$20 = { class: "flex-1" };
|
|
1381
|
-
var _hoisted_4$
|
|
1381
|
+
var _hoisted_4$17 = {
|
|
1382
1382
|
key: 0,
|
|
1383
1383
|
class: "mb-1"
|
|
1384
1384
|
};
|
|
@@ -1431,7 +1431,7 @@ var FdsBlockInfo_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
1431
1431
|
name: __props.icon,
|
|
1432
1432
|
size: largeIconSize,
|
|
1433
1433
|
class: "fill-blue-500"
|
|
1434
|
-
}, null, 8, ["name"]), (0, vue.createElementVNode)("div", _hoisted_3$20, [__props.heading ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_4$
|
|
1434
|
+
}, null, 8, ["name"]), (0, vue.createElementVNode)("div", _hoisted_3$20, [__props.heading ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_4$17, [(0, vue.createElementVNode)("header", _hoisted_5$14, [(0, vue.createElementVNode)("h3", _hoisted_6$11, (0, vue.toDisplayString)(__props.heading), 1), (0, vue.createElementVNode)("div", _hoisted_7$9, [(0, vue.renderSlot)(_ctx.$slots, "headerInfo")])])])) : (0, vue.createCommentVNode)("", true), (0, vue.unref)(hasSlot) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_8$7, [(0, vue.renderSlot)(_ctx.$slots, "default")])) : (0, vue.createCommentVNode)("", true)])])) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_9$6, [__props.heading ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
1435
1435
|
key: 0,
|
|
1436
1436
|
class: (0, vue.normalizeClass)({ "mb-2": (0, vue.unref)(hasSlot) })
|
|
1437
1437
|
}, [(0, vue.createElementVNode)("header", _hoisted_10$4, [(0, vue.createElementVNode)("div", _hoisted_11$4, [__props.icon && __props.iconSize === "small" ? ((0, vue.openBlock)(), (0, vue.createBlock)(FdsIcon_default, {
|
|
@@ -7551,7 +7551,7 @@ var _hoisted_1$27 = {
|
|
|
7551
7551
|
};
|
|
7552
7552
|
var _hoisted_2$19 = { class: "flex flex-col gap-2" };
|
|
7553
7553
|
var _hoisted_3$19 = { key: 0 };
|
|
7554
|
-
var _hoisted_4$
|
|
7554
|
+
var _hoisted_4$16 = {
|
|
7555
7555
|
key: 1,
|
|
7556
7556
|
class: "flex flex-col gap-1"
|
|
7557
7557
|
};
|
|
@@ -7667,7 +7667,7 @@ var FdsDevModeOverlay_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
7667
7667
|
"onChange"
|
|
7668
7668
|
]);
|
|
7669
7669
|
}), 128))])) : (0, vue.createCommentVNode)("", true),
|
|
7670
|
-
buttonToggles.value.length > 0 ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_4$
|
|
7670
|
+
buttonToggles.value.length > 0 ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_4$16, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(buttonToggles.value, (toggle) => {
|
|
7671
7671
|
return (0, vue.openBlock)(), (0, vue.createBlock)(FdsButtonMinor_default, {
|
|
7672
7672
|
key: toggle.key,
|
|
7673
7673
|
size: "sm",
|
|
@@ -10899,6 +10899,10 @@ var _hoisted_3$17 = [
|
|
|
10899
10899
|
"pattern",
|
|
10900
10900
|
"searchIcon"
|
|
10901
10901
|
];
|
|
10902
|
+
var _hoisted_4$15 = {
|
|
10903
|
+
key: 0,
|
|
10904
|
+
class: "pointer-events-none absolute top-1/2 left-3 flex -translate-y-1/2 items-center"
|
|
10905
|
+
};
|
|
10902
10906
|
var inputPaddingClasses = "px-3 py-[calc(0.75rem-1px)]";
|
|
10903
10907
|
// src/components/Form/FdsInput/FdsInput.vue
|
|
10904
10908
|
var FdsInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -11176,7 +11180,7 @@ var FdsInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
11176
11180
|
maxlength: (0, vue.unref)(maxlength),
|
|
11177
11181
|
tabindex: props.disabled ? -1 : void 0,
|
|
11178
11182
|
"aria-invalid": props.valid === false ? "true" : void 0,
|
|
11179
|
-
class: inputClasses.value,
|
|
11183
|
+
class: [inputClasses.value, _ctx.$slots.prefix && "pl-11"],
|
|
11180
11184
|
style: inputStyle.value,
|
|
11181
11185
|
"aria-label": props.ariaLabel,
|
|
11182
11186
|
"aria-labelledby": ariaLabelledBy.value,
|
|
@@ -11195,6 +11199,7 @@ var FdsInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
11195
11199
|
if (ev.key === "Enter") _ctx.$emit("keyup.enter", ev);
|
|
11196
11200
|
})
|
|
11197
11201
|
}), null, 16, _hoisted_3$17),
|
|
11202
|
+
_ctx.$slots.prefix ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_4$15, [(0, vue.renderSlot)(_ctx.$slots, "prefix")])) : (0, vue.createCommentVNode)("", true),
|
|
11198
11203
|
(0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)(rightIconsContainerClasses.value) }, [
|
|
11199
11204
|
showDateIcon.value ? ((0, vue.openBlock)(), (0, vue.createBlock)(FdsButtonIcon_default, {
|
|
11200
11205
|
key: 0,
|
|
@@ -11234,7 +11239,7 @@ var FdsInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
11234
11239
|
}, null, 8, ["icon", "text"])) : (0, vue.createCommentVNode)("", true)
|
|
11235
11240
|
], 2),
|
|
11236
11241
|
showTodaySuffixInField.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
11237
|
-
key:
|
|
11242
|
+
key: 1,
|
|
11238
11243
|
class: (0, vue.normalizeClass)(todaySuffixClasses.value),
|
|
11239
11244
|
style: (0, vue.normalizeStyle)(todaySuffixStyle.value)
|
|
11240
11245
|
}, (0, vue.toDisplayString)(todayLabel.value), 7)) : (0, vue.createCommentVNode)("", true)
|
|
@@ -13460,6 +13465,10 @@ var FdsSearchSelectPro_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
13460
13465
|
type: Boolean,
|
|
13461
13466
|
default: false
|
|
13462
13467
|
},
|
|
13468
|
+
hideRadio: {
|
|
13469
|
+
type: Boolean,
|
|
13470
|
+
default: false
|
|
13471
|
+
},
|
|
13463
13472
|
hierarchical: {
|
|
13464
13473
|
type: Boolean,
|
|
13465
13474
|
default: false
|
|
@@ -13791,6 +13800,7 @@ var FdsSearchSelectPro_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
13791
13800
|
}
|
|
13792
13801
|
return result;
|
|
13793
13802
|
};
|
|
13803
|
+
const isSingleSelected = (item) => !!selectedItem.value && getItemIdentifier(selectedItem.value) === getItemIdentifier(item);
|
|
13794
13804
|
function selectItem(item) {
|
|
13795
13805
|
selectedItem.value = item;
|
|
13796
13806
|
setValidSelectedState();
|
|
@@ -14082,7 +14092,11 @@ var FdsSearchSelectPro_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
14082
14092
|
searchIcon: !__props.disabled && !inputHasFocus.value && !hasInputValue.value && !hasSelection.value && !dropdownVisible.value,
|
|
14083
14093
|
onInput: handleInput,
|
|
14084
14094
|
onClearInput: handleClear
|
|
14085
|
-
}),
|
|
14095
|
+
}), (0, vue.createSlots)({ _: 2 }, [_ctx.$slots.selected && !__props.multiple && selectedItem.value ? {
|
|
14096
|
+
name: "prefix",
|
|
14097
|
+
fn: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "selected", { item: selectedItem.value })]),
|
|
14098
|
+
key: "0"
|
|
14099
|
+
} : void 0]), 1040, [
|
|
14086
14100
|
"label",
|
|
14087
14101
|
"meta",
|
|
14088
14102
|
"labelLeft",
|
|
@@ -14133,7 +14147,11 @@ var FdsSearchSelectPro_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
14133
14147
|
}, null, 14, _hoisted_6$7)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
14134
14148
|
key: 1,
|
|
14135
14149
|
onClick: (event) => handleOptionClick(event, item),
|
|
14136
|
-
class: (0, vue.normalizeClass)([
|
|
14150
|
+
class: (0, vue.normalizeClass)([
|
|
14151
|
+
labelClasses.value,
|
|
14152
|
+
listItemClasses.value,
|
|
14153
|
+
__props.hideRadio && !__props.multiple && isSingleSelected(item) && "bg-blue_t-100"
|
|
14154
|
+
]),
|
|
14137
14155
|
style: (0, vue.normalizeStyle)((0, vue.unref)(optionPaddingStyle)(item))
|
|
14138
14156
|
}, [__props.multiple ? ((0, vue.openBlock)(), (0, vue.createBlock)(FdsCheckbox_default, {
|
|
14139
14157
|
key: 0,
|
|
@@ -14145,10 +14163,14 @@ var FdsSearchSelectPro_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
14145
14163
|
class: "mb-0!",
|
|
14146
14164
|
onChange: () => handleMultipleSelectionChange(item)
|
|
14147
14165
|
}, {
|
|
14148
|
-
default: (0, vue.withCtx)(() => [(0, vue.
|
|
14166
|
+
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "item", {
|
|
14167
|
+
item,
|
|
14168
|
+
selected: (0, vue.unref)(isItemSelected)(item),
|
|
14169
|
+
highlightedText: handleMatchingString(item)
|
|
14170
|
+
}, () => [(0, vue.createElementVNode)("span", {
|
|
14149
14171
|
class: "min-w-0 flex-1",
|
|
14150
14172
|
innerHTML: handleMatchingString(item)
|
|
14151
|
-
}, null, 8, _hoisted_8$4)]),
|
|
14173
|
+
}, null, 8, _hoisted_8$4)])]),
|
|
14152
14174
|
_: 2
|
|
14153
14175
|
}, 1032, [
|
|
14154
14176
|
"id",
|
|
@@ -14160,22 +14182,28 @@ var FdsSearchSelectPro_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
14160
14182
|
id: `search-select-radio-${index}`,
|
|
14161
14183
|
name: "search-select-radio-group",
|
|
14162
14184
|
value: index,
|
|
14163
|
-
checked:
|
|
14185
|
+
checked: isSingleSelected(item),
|
|
14164
14186
|
tabindex: -1,
|
|
14165
14187
|
disablePseudoStates: true,
|
|
14188
|
+
inputClass: __props.hideRadio ? "sr-only" : void 0,
|
|
14166
14189
|
class: "mb-0!",
|
|
14167
14190
|
onChange: () => handleSingleSelection(item),
|
|
14168
14191
|
onKeydown: (0, vue.withKeys)((e) => handleClick(e, item), ["enter"])
|
|
14169
14192
|
}, {
|
|
14170
|
-
default: (0, vue.withCtx)(() => [(0, vue.
|
|
14193
|
+
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "item", {
|
|
14194
|
+
item,
|
|
14195
|
+
selected: isSingleSelected(item),
|
|
14196
|
+
highlightedText: handleMatchingString(item)
|
|
14197
|
+
}, () => [(0, vue.createElementVNode)("span", {
|
|
14171
14198
|
class: "min-w-0 flex-1",
|
|
14172
14199
|
innerHTML: handleMatchingString(item)
|
|
14173
|
-
}, null, 8, _hoisted_9$3)]),
|
|
14200
|
+
}, null, 8, _hoisted_9$3)])]),
|
|
14174
14201
|
_: 2
|
|
14175
14202
|
}, 1032, [
|
|
14176
14203
|
"id",
|
|
14177
14204
|
"value",
|
|
14178
14205
|
"checked",
|
|
14206
|
+
"inputClass",
|
|
14179
14207
|
"onChange",
|
|
14180
14208
|
"onKeydown"
|
|
14181
14209
|
]))], 14, _hoisted_7$5))], 42, _hoisted_5$8);
|
|
@@ -18545,7 +18573,7 @@ var FdsWizard_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
18545
18573
|
};
|
|
18546
18574
|
}
|
|
18547
18575
|
});
|
|
18548
|
-
// node_modules/.pnpm/qrcode.vue@3.11.0_vue@3.5.
|
|
18576
|
+
// node_modules/.pnpm/qrcode.vue@3.11.0_vue@3.5.45_typescript@5.9.3_/node_modules/qrcode.vue/dist/qrcode.vue.esm.js
|
|
18549
18577
|
/*!
|
|
18550
18578
|
* qrcode.vue v3.11.0
|
|
18551
18579
|
* A Vue.js component to generate QRCode. Both support Vue 2 and Vue 3
|