fds-vue-core 2.0.20 → 2.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"TreeNode.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FdsTreeView/TreeNode.vue"],"names":[],"mappings":"AA0XA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAO5C,KAAK,KAAK,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,aAAa,CAAC,CAAC,CAAC,CAAA;AAE1D,KAAK,WAAW,GAAG,KAAK,CAAC;;;;;;;;;;;;;;;;;AA+rBzB,wBAGG"}
1
+ {"version":3,"file":"TreeNode.vue.d.ts","sourceRoot":"","sources":["../../../src/components/FdsTreeView/TreeNode.vue"],"names":[],"mappings":"AA2XA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAO5C,KAAK,KAAK,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,aAAa,CAAC,CAAC,CAAC,CAAA;AAE1D,KAAK,WAAW,GAAG,KAAK,CAAC;;;;;;;;;;;;;;;;;AAisBzB,wBAGG"}
@@ -5,7 +5,7 @@ type __VLS_PublicProps = __VLS_Props & {
5
5
  };
6
6
  declare var __VLS_1: {};
7
7
  type __VLS_Slots = {} & {
8
- label?: (props: typeof __VLS_1) => any;
8
+ default?: (props: typeof __VLS_1) => any;
9
9
  };
10
10
  declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
11
  "update:modelValue": (value: boolean | (string | number)[]) => any;
@@ -1 +1 @@
1
- {"version":3,"file":"FdsCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsCheckbox/FdsCheckbox.vue"],"names":[],"mappings":"AAkJA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAS/C,KAAK,WAAW,GAAG,gBAAgB,CAAC;AAwHpC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;CAC7C,CAAC;AAsEF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAwB7C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;4EAInB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"FdsCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsCheckbox/FdsCheckbox.vue"],"names":[],"mappings":"AAuJA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAS/C,KAAK,WAAW,GAAG,gBAAgB,CAAC;AA2HpC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;CAC7C,CAAC;AAkEF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAyB/C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;4EAInB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -5,7 +5,7 @@ type __VLS_PublicProps = __VLS_Props & {
5
5
  };
6
6
  declare var __VLS_1: {};
7
7
  type __VLS_Slots = {} & {
8
- label?: (props: typeof __VLS_1) => any;
8
+ default?: (props: typeof __VLS_1) => any;
9
9
  };
10
10
  declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
11
  "update:modelValue": (value: string | number) => any;
@@ -1 +1 @@
1
- {"version":3,"file":"FdsRadio.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsRadio/FdsRadio.vue"],"names":[],"mappings":"AAqFA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAM5C,KAAK,WAAW,GAAG,aAAa,CAAC;AA6DjC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B,CAAC;AAqEF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAyB7C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;4EAInB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"FdsRadio.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/FdsRadio/FdsRadio.vue"],"names":[],"mappings":"AAqGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAM5C,KAAK,WAAW,GAAG,aAAa,CAAC;AAqEjC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B,CAAC;AAyEF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AA4B/C,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;4EAInB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -430,16 +430,20 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
430
430
  const modelValue = vue.useModel(__props, "modelValue");
431
431
  const props = __props;
432
432
  const emit = __emit;
433
+ const wrapperClasses = vue.computed(() => ["block relative flex items-center"]);
434
+ const innerWrapperClasses = vue.computed(() => ["flex p-0.5 items-start rounded-md"]);
433
435
  const checkboxClasses = vue.computed(() => [
434
- "border-2 border-gray-300 rounded-md cursor-pointer transition-colors duration-200",
435
- props.disabled && "opacity-50 cursor-not-allowed outline-dashed outline-1 -outline-offset-1 border-none rounded-none",
436
- props.checked || props.indeterminate ? "bg-blue-600 border-blue-600" : "hover:border-blue-400",
437
- "focus:outline-none focus:border-none"
436
+ "rounded-md transition-colors duration-200 accent-blue-500 m-[3px]",
437
+ "peer z-40 bg-white min-w-[18px] min-h-[18px]",
438
+ props.disabled && "cursor-not-allowed"
439
+ ]);
440
+ const stateClasses = vue.computed(() => [
441
+ "hover:bg-blue_t-100 active:bg-blue_t-200",
442
+ "focus-visible:outline-2 focus-visible:outline-dashed focus-visible:-outline-offset-2 focus-visible:outline-blue-500",
443
+ props.disabled && "hover:bg-transparent active:bg-transparent"
438
444
  ]);
439
- const accentClass = vue.computed(() => props.disabled ? "accent-gray-600" : "accent-blue-500");
440
- const wrapperClasses = vue.computed(() => ["block p-[2px] relative min-h-[28px]"]);
441
445
  const slots = vue.useSlots();
442
- const hasLabelSlot = vue.computed(() => !!slots.label);
446
+ const hasLabelSlot = vue.computed(() => !!slots.default);
443
447
  const inputId = vue.computed(() => props.id);
444
448
  const internalChecked = vue.computed({
445
449
  get: () => {
@@ -501,31 +505,33 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
501
505
  return vue.openBlock(), vue.createElementBlock("div", {
502
506
  class: vue.normalizeClass(wrapperClasses.value)
503
507
  }, [
504
- vue.withDirectives(vue.createElementVNode("input", {
505
- id: inputId.value,
506
- name: _ctx.name,
507
- value: _ctx.value,
508
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => internalChecked.value = $event),
509
- disabled: _ctx.disabled,
510
- required: _ctx.required,
511
- type: "checkbox",
512
- class: vue.normalizeClass([
513
- "absolute z-40 bg-white w-[18px] h-[18px] m-[3px] flex-none focus-visible:outline-none",
514
- accentClass.value,
515
- checkboxClasses.value
516
- ])
517
- }, null, 10, _hoisted_1$o), [
518
- [vue.vModelCheckbox, internalChecked.value]
519
- ]),
520
- hasLabelSlot.value || _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", {
521
- key: 0,
522
- for: inputId.value || void 0,
523
- class: vue.normalizeClass(["relative inline-block pl-7 pr-0.5 rounded-md leading-md select-none hover:bg-blue_t-100 active:bg-blue_t-200 peer-focus-visible:outline-dashed peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-blue-500", _ctx.disabled ? "cursor-not-allowed" : "cursor-pointer"])
508
+ vue.createElementVNode("div", {
509
+ tabindex: "0",
510
+ class: vue.normalizeClass([innerWrapperClasses.value, stateClasses.value])
524
511
  }, [
525
- vue.renderSlot(_ctx.$slots, "label", {}, () => [
526
- vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
527
- ])
528
- ], 10, _hoisted_2$e)) : vue.createCommentVNode("", true)
512
+ vue.withDirectives(vue.createElementVNode("input", {
513
+ id: inputId.value,
514
+ name: _ctx.name,
515
+ value: _ctx.value,
516
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => internalChecked.value = $event),
517
+ disabled: _ctx.disabled,
518
+ required: _ctx.required,
519
+ type: "checkbox",
520
+ class: vue.normalizeClass([checkboxClasses.value]),
521
+ tabindex: "-1"
522
+ }, null, 10, _hoisted_1$o), [
523
+ [vue.vModelCheckbox, internalChecked.value]
524
+ ]),
525
+ hasLabelSlot.value || _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", {
526
+ key: 0,
527
+ for: inputId.value || void 0,
528
+ class: vue.normalizeClass(["relative inline-block leading-6 pl-2 select-none", { "cursor-not-allowed": _ctx.disabled }])
529
+ }, [
530
+ hasLabelSlot.value ? vue.renderSlot(_ctx.$slots, "default", { key: 0 }) : _ctx.label ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
531
+ vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
532
+ ], 64)) : vue.createCommentVNode("", true)
533
+ ], 10, _hoisted_2$e)) : vue.createCommentVNode("", true)
534
+ ], 2)
529
535
  ], 2);
530
536
  };
531
537
  }
@@ -1125,9 +1131,8 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
1125
1131
  };
1126
1132
  }
1127
1133
  });
1128
- const _hoisted_1$l = { class: "block p-[2px] mb-2 last:mb-0 relative min-h-[28px]" };
1129
- const _hoisted_2$d = ["id", "name", "value", "disabled", "required", "checked"];
1130
- const _hoisted_3$b = ["for"];
1134
+ const _hoisted_1$l = ["id", "name", "value", "disabled", "required", "checked"];
1135
+ const _hoisted_2$d = ["for"];
1131
1136
  const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
1132
1137
  __name: "FdsRadio",
1133
1138
  props: /* @__PURE__ */ vue.mergeModels({
@@ -1152,13 +1157,19 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
1152
1157
  const emit = __emit;
1153
1158
  const autoId = `fds-radio-${Math.random().toString(36).slice(2, 9)}`;
1154
1159
  const inputId = vue.computed(() => props.id ?? autoId);
1160
+ const slots = vue.useSlots();
1161
+ const hasLabelSlot = vue.computed(() => !!slots.default);
1162
+ const wrapperClasses = vue.computed(() => ["block relative flex items-center"]);
1163
+ const innerWrapperClasses = vue.computed(() => ["flex p-0.5 items-start rounded-l-xl rounded-r-md"]);
1164
+ const stateClasses = vue.computed(() => [
1165
+ "hover:bg-blue_t-100 active:bg-blue_t-200",
1166
+ "focus-visible:outline-2 focus-visible:outline-dashed focus-visible:-outline-offset-2 focus-visible:outline-blue-500",
1167
+ props.disabled && "hover:bg-transparent active:bg-transparent"
1168
+ ]);
1155
1169
  const inputClasses = vue.computed(() => [
1156
- "absolute bg-white z-40 bg-white w-[20px] h-[20px] m-[2px] flex-none focus-visible:outline-none",
1157
- "rounded-full accent-blue-500",
1170
+ "peer z-40 bg-white min-w-[18px] min-h-[18px] focus-visible:outline-none rounded-full accent-blue-500",
1158
1171
  props.disabled && "cursor-not-allowed"
1159
1172
  ]);
1160
- const slots = vue.useSlots();
1161
- const hasLabelSlot = vue.computed(() => !!slots.label);
1162
1173
  const groupModel = vue.computed({
1163
1174
  get: () => modelValue.value,
1164
1175
  set: (v) => {
@@ -1171,51 +1182,56 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
1171
1182
  const handleFocus = (event) => emit("focus", event);
1172
1183
  const handleKeydown = (event) => emit("keydown", event);
1173
1184
  return (_ctx, _cache) => {
1174
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [
1175
- vue.withDirectives(vue.createElementVNode("input", {
1176
- id: inputId.value,
1177
- name: _ctx.name,
1178
- value: _ctx.value,
1179
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => groupModel.value = $event),
1180
- disabled: _ctx.disabled,
1181
- required: _ctx.required,
1182
- type: "radio",
1183
- class: vue.normalizeClass(inputClasses.value),
1184
- checked: props.checked,
1185
- onBlur: handleBlur,
1186
- onFocus: handleFocus,
1187
- onKeydown: handleKeydown
1188
- }, null, 42, _hoisted_2$d), [
1189
- [vue.vModelRadio, groupModel.value]
1190
- ]),
1191
- hasLabelSlot.value || _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", {
1192
- key: 0,
1193
- for: inputId.value || void 0,
1194
- class: vue.normalizeClass(["relative z-30 leading-6 inline-block pl-7 pr-0.5 rounded-r-md rounded-l-full select-none hover:bg-blue_t-100 active:bg-blue_t-200 peer-focus-visible:outline-dashed peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-blue-500", { "cursor-not-allowed": _ctx.disabled }])
1185
+ return vue.openBlock(), vue.createElementBlock("div", {
1186
+ class: vue.normalizeClass(wrapperClasses.value)
1187
+ }, [
1188
+ vue.createElementVNode("div", {
1189
+ tabindex: "0",
1190
+ class: vue.normalizeClass([innerWrapperClasses.value, stateClasses.value])
1195
1191
  }, [
1196
- vue.renderSlot(_ctx.$slots, "label", {}, () => [
1197
- vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
1198
- ])
1199
- ], 10, _hoisted_3$b)) : vue.createCommentVNode("", true)
1200
- ]);
1192
+ vue.withDirectives(vue.createElementVNode("input", {
1193
+ id: inputId.value,
1194
+ name: _ctx.name,
1195
+ value: _ctx.value,
1196
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => groupModel.value = $event),
1197
+ disabled: _ctx.disabled,
1198
+ required: _ctx.required,
1199
+ type: "radio",
1200
+ class: vue.normalizeClass([inputClasses.value, "m-[3px]"]),
1201
+ checked: props.checked,
1202
+ onBlur: handleBlur,
1203
+ onFocus: handleFocus,
1204
+ onKeydown: handleKeydown,
1205
+ tabindex: "-1"
1206
+ }, null, 42, _hoisted_1$l), [
1207
+ [vue.vModelRadio, groupModel.value]
1208
+ ]),
1209
+ hasLabelSlot.value || _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", {
1210
+ key: 0,
1211
+ for: inputId.value || void 0,
1212
+ tabindex: "0",
1213
+ class: vue.normalizeClass(["relative inline-block leading-6 pl-2 select-none", { "cursor-not-allowed": _ctx.disabled }])
1214
+ }, [
1215
+ hasLabelSlot.value ? vue.renderSlot(_ctx.$slots, "default", { key: 0 }) : _ctx.label ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
1216
+ vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
1217
+ ], 64)) : vue.createCommentVNode("", true)
1218
+ ], 10, _hoisted_2$d)) : vue.createCommentVNode("", true)
1219
+ ], 2)
1220
+ ], 2);
1201
1221
  };
1202
1222
  }
1203
1223
  });
1204
- const _hoisted_1$k = { class: "flex items-start" };
1205
- const _hoisted_2$c = { style: { "line-height": "25px" } };
1206
- const _hoisted_3$a = ["innerHTML"];
1207
- const _hoisted_4$9 = { key: 1 };
1224
+ const _hoisted_1$k = { class: "flex items-center" };
1225
+ const _hoisted_2$c = ["innerHTML"];
1226
+ const _hoisted_3$a = { key: 1 };
1227
+ const _hoisted_4$9 = { key: 0 };
1208
1228
  const _hoisted_5$6 = {
1209
- key: 0,
1210
- style: { "line-height": "25px" }
1211
- };
1212
- const _hoisted_6$4 = {
1213
1229
  key: 2,
1214
- style: { "max-height": "28px" }
1230
+ class: "items-center max-h-[28px]"
1215
1231
  };
1216
- const _hoisted_7$3 = { class: "flex flex-col gap-2" };
1217
- const _hoisted_8$2 = ["onClick"];
1218
- const _hoisted_9$2 = { key: 0 };
1232
+ const _hoisted_6$4 = { class: "flex flex-col gap-2" };
1233
+ const _hoisted_7$3 = ["onClick"];
1234
+ const _hoisted_8$2 = { key: 0 };
1219
1235
  const popoverWidth = 327;
1220
1236
  const popoverHeight = 80;
1221
1237
  const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
@@ -1416,7 +1432,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
1416
1432
  ariaLabel: childrenToggleAriaLabel(props.title),
1417
1433
  icon: vue.unref(treeState)?.getNodeIcon(props.nodeId, props.nodeExpandIcon, props.nodeCollapseIcon) ?? props.nodeExpandIcon,
1418
1434
  size: "24px",
1419
- class: "fill-blue-500 mr-3"
1435
+ class: "fill-blue-500 mr-3 items-center"
1420
1436
  }, null, 8, ["ariaLabel", "icon"])) : vue.createCommentVNode("", true),
1421
1437
  !hasChildrenNodes.value ? (vue.openBlock(), vue.createElementBlock("div", {
1422
1438
  key: 1,
@@ -1427,27 +1443,28 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
1427
1443
  checked: vue.unref(treeState)?.isNodeSelected(props.nodeId),
1428
1444
  indeterminate: _ctx.showIndeterminate && (vue.unref(treeState)?.isNodeIndeterminateById(props.nodeId) ?? false),
1429
1445
  onChange: _cache[1] || (_cache[1] = ($event) => vue.unref(treeState)?.toggleSelectNode(props.nodeId, props.title, props.data)),
1430
- class: "pl-0 flex-1 flex items-start"
1446
+ class: "flex-1 flex"
1431
1447
  }, {
1432
1448
  label: vue.withCtx(() => [
1433
- vue.createElementVNode("span", _hoisted_2$c, [
1449
+ vue.createElementVNode("span", null, [
1434
1450
  shouldHighlightSearch.value && _ctx.title ? (vue.openBlock(), vue.createElementBlock("span", {
1435
1451
  key: 0,
1436
1452
  innerHTML: vue.unref(treeState)?.highlightText(_ctx.title, vue.unref(treeState)?.searchTerm?.value)
1437
- }, null, 8, _hoisted_3$a)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$9, vue.toDisplayString(_ctx.title), 1))
1453
+ }, null, 8, _hoisted_2$c)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$a, vue.toDisplayString(_ctx.title), 1))
1438
1454
  ]),
1439
- childCount.value !== null ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$6, " (+" + vue.toDisplayString(childCount.value) + ")", 1)) : vue.createCommentVNode("", true)
1455
+ childCount.value !== null ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$9, " (+" + vue.toDisplayString(childCount.value) + ")", 1)) : vue.createCommentVNode("", true)
1440
1456
  ]),
1441
1457
  _: 1
1442
1458
  }, 8, ["id", "checked", "indeterminate"]),
1443
- vue.unref(treeState)?.isParentOrChildrenSelected(props.nodeId) && !(vue.unref(treeState)?.isNodeIndeterminateById(props.nodeId) ?? false) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$4, [
1459
+ vue.unref(treeState)?.isParentOrChildrenSelected(props.nodeId) && !(vue.unref(treeState)?.isNodeIndeterminateById(props.nodeId) ?? false) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$6, [
1444
1460
  vue.createVNode(_sfc_main$s, {
1445
1461
  ref_key: "triggerRef",
1446
1462
  ref: triggerRef,
1447
1463
  icon: "more",
1448
1464
  size: "24px",
1449
1465
  onClick: togglePopover,
1450
- ariaLabel: `Fler val för ${_ctx.title}`
1466
+ ariaLabel: `Fler val för ${_ctx.title}`,
1467
+ class: "items-center"
1451
1468
  }, null, 8, ["ariaLabel"]),
1452
1469
  vue.createVNode(vue.Transition, {
1453
1470
  "enter-active-class": "transition-opacity duration-200 ease-in-out",
@@ -1479,7 +1496,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
1479
1496
  }, ["stop"])),
1480
1497
  onFocusout: onPanelFocusOut
1481
1498
  }, [
1482
- vue.createElementVNode("div", _hoisted_7$3, [
1499
+ vue.createElementVNode("div", _hoisted_6$4, [
1483
1500
  (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(options, (option) => {
1484
1501
  return vue.createElementVNode("div", {
1485
1502
  key: option.value,
@@ -1503,7 +1520,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
1503
1520
  ],
1504
1521
  label: option.label
1505
1522
  }, null, 8, ["checked", "id", "name", "value", "onChange", "onKeydown", "label"])
1506
- ], 8, _hoisted_8$2);
1523
+ ], 8, _hoisted_7$3);
1507
1524
  }), 64))
1508
1525
  ]),
1509
1526
  vue.createVNode(_sfc_main$s, {
@@ -1522,7 +1539,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
1522
1539
  ])) : vue.createCommentVNode("", true)
1523
1540
  ])
1524
1541
  ], 4),
1525
- vue.unref(expandedNodes).has(props.nodeId) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$2, [
1542
+ vue.unref(expandedNodes).has(props.nodeId) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$2, [
1526
1543
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(filteredNodes.value, (child) => {
1527
1544
  return vue.openBlock(), vue.createBlock(_component_TreeNode, {
1528
1545
  key: child.nodeId,
@@ -2647,7 +2664,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
2647
2664
  setup(__props) {
2648
2665
  const props = __props;
2649
2666
  const headerClasses = vue.computed(() => [
2650
- "appearance-none bg-transparent flex items-center border-none text-left p-4 w-full bg-transparent text-gray-800 whitespace-nowrap text-base font-bold leading-5 tracking-normal",
2667
+ "appearance-none bg-transparent flex items-center border-none text-left w-full bg-transparent text-gray-800 whitespace-nowrap text-base font-bold leading-5 tracking-normal",
2651
2668
  props.align === "center" && "text-center justify-center",
2652
2669
  props.align === "right" && "text-right justify-end",
2653
2670
  props.sortable && "text-blue-600! hover:bg-blue_t-200 cursor-pointer focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-blue-500 active:bg-blue_t-300"
@@ -3538,7 +3555,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
3538
3555
  size: "24px",
3539
3556
  disabled: _ctx.current === 1,
3540
3557
  ariaDisabled: _ctx.current === 1,
3541
- class: vue.normalizeClass([{ hidden: _ctx.current === 1 }, "w-8 h-8 sm:w-12 sm:h-12"]),
3558
+ class: vue.normalizeClass([{ "hidden!": _ctx.current === 1 }, "w-8 h-8 sm:w-12 sm:h-12"]),
3542
3559
  onClick: _cache[0] || (_cache[0] = ($event) => handlePagination("start"))
3543
3560
  }, null, 8, ["disabled", "ariaDisabled", "class"])),
3544
3561
  _ctx.loading && loadingIndicator.value === "prev" ? (vue.openBlock(), vue.createBlock(_sfc_main$p, {
@@ -3551,7 +3568,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
3551
3568
  size: "24px",
3552
3569
  disabled: _ctx.current === 1,
3553
3570
  ariaDisabled: _ctx.current === 1,
3554
- class: vue.normalizeClass([{ hidden: _ctx.current === 1 }, "w-8 h-8 sm:w-12 sm:h-12"]),
3571
+ class: vue.normalizeClass([{ "hidden!": _ctx.current === 1 }, "w-8 h-8 sm:w-12 sm:h-12"]),
3555
3572
  onClick: _cache[1] || (_cache[1] = ($event) => handlePagination("prev"))
3556
3573
  }, null, 8, ["disabled", "ariaDisabled", "class"]))
3557
3574
  ]),
@@ -3585,7 +3602,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
3585
3602
  size: "24px",
3586
3603
  disabled: _ctx.current === _ctx.max,
3587
3604
  ariaDisabled: _ctx.current === _ctx.max,
3588
- class: vue.normalizeClass([{ hidden: _ctx.current === _ctx.max }, "w-8 h-8 sm:w-12 sm:h-12"]),
3605
+ class: vue.normalizeClass([{ "hidden!": _ctx.current === _ctx.max }, "w-8 h-8 sm:w-12 sm:h-12"]),
3589
3606
  onClick: _cache[2] || (_cache[2] = ($event) => handlePagination("next"))
3590
3607
  }, null, 8, ["disabled", "ariaDisabled", "class"])),
3591
3608
  _ctx.loading && loadingIndicator.value === "end" ? (vue.openBlock(), vue.createBlock(_sfc_main$p, {
@@ -3598,7 +3615,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
3598
3615
  size: "24px",
3599
3616
  disabled: _ctx.current === _ctx.max,
3600
3617
  ariaDisabled: _ctx.current === _ctx.max,
3601
- class: vue.normalizeClass([{ hidden: _ctx.current === _ctx.max }, "w-8 h-8 sm:w-12 sm:h-12"]),
3618
+ class: vue.normalizeClass([{ "hidden!": _ctx.current === _ctx.max }, "w-8 h-8 sm:w-12 sm:h-12"]),
3602
3619
  onClick: _cache[3] || (_cache[3] = ($event) => handlePagination("end"))
3603
3620
  }, null, 8, ["disabled", "ariaDisabled", "class"]))
3604
3621
  ])