@strands.gg/accui 2.11.2 → 2.11.4

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/index.es.js CHANGED
@@ -92,7 +92,7 @@ const _hoisted_4$G = {
92
92
  viewBox: "0 0 20 20",
93
93
  "aria-hidden": "true"
94
94
  };
95
- const _hoisted_5$A = ["d"];
95
+ const _hoisted_5$B = ["d"];
96
96
  const _hoisted_6$v = { class: "alert-text-container" };
97
97
  const _hoisted_7$s = {
98
98
  key: 0,
@@ -146,7 +146,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
146
146
  "fill-rule": "evenodd",
147
147
  d: iconPath.value,
148
148
  "clip-rule": "evenodd"
149
- }, null, 8, _hoisted_5$A)
149
+ }, null, 8, _hoisted_5$B)
150
150
  ]))
151
151
  ]),
152
152
  createElementVNode("div", _hoisted_6$v, [
@@ -197,7 +197,7 @@ const _hoisted_1$S = {
197
197
  const _hoisted_2$K = ["width", "height"];
198
198
  const _hoisted_3$H = ["d"];
199
199
  const _hoisted_4$F = ["stroke-width"];
200
- const _hoisted_5$z = ["stroke-width"];
200
+ const _hoisted_5$A = ["stroke-width"];
201
201
  const _hoisted_6$u = ["width", "height"];
202
202
  const _hoisted_7$r = {
203
203
  key: 3,
@@ -266,7 +266,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
266
266
  "stroke-linecap": "round",
267
267
  "stroke-linejoin": "round",
268
268
  class: "loader-animated-path"
269
- }, null, 8, _hoisted_5$z)
269
+ }, null, 8, _hoisted_5$A)
270
270
  ], 8, _hoisted_2$K))
271
271
  ])) : _ctx.variant === "circle" ? (openBlock(), createElementBlock("div", {
272
272
  key: 1,
@@ -388,7 +388,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
388
388
  };
389
389
  }
390
390
  });
391
- const UiButtonContent = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-5aa4146e"]]);
391
+ const UiButtonContent = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-d7a80269"]]);
392
392
  const _hoisted_1$Q = ["href", "target", "rel"];
393
393
  const _sfc_main$Y = /* @__PURE__ */ defineComponent({
394
394
  __name: "UiButton.Anchor",
@@ -582,7 +582,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
582
582
  };
583
583
  }
584
584
  });
585
- const _hoisted_1$P = ["type", "disabled"];
585
+ const _hoisted_1$P = ["type", "disabled", "tabindex"];
586
586
  const _sfc_main$V = /* @__PURE__ */ defineComponent({
587
587
  __name: "UiButton",
588
588
  props: {
@@ -599,7 +599,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
599
599
  squircle: { type: Boolean, default: false },
600
600
  to: {},
601
601
  href: {},
602
- external: { type: Boolean, default: false }
602
+ external: { type: Boolean, default: false },
603
+ tabindex: {}
603
604
  },
604
605
  emits: ["click"],
605
606
  setup(__props, { emit: __emit }) {
@@ -642,6 +643,12 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
642
643
  fontWeight: props.fontWeight
643
644
  };
644
645
  });
646
+ const effectiveTabindex = computed(() => {
647
+ if (props.disabled || props.loading) {
648
+ return -1;
649
+ }
650
+ return props.tabindex ?? void 0;
651
+ });
645
652
  return (_ctx, _cache) => {
646
653
  return !_ctx.to ? (openBlock(), createElementBlock("button", {
647
654
  key: 0,
@@ -649,6 +656,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
649
656
  disabled: _ctx.disabled || _ctx.loading,
650
657
  class: normalizeClass(buttonClassString.value),
651
658
  style: normalizeStyle(buttonStyles.value),
659
+ tabindex: effectiveTabindex.value,
652
660
  onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
653
661
  }, [
654
662
  createVNode(UiButtonContent, {
@@ -689,6 +697,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
689
697
  icon: _ctx.icon,
690
698
  "button-classes": buttonClasses.value,
691
699
  "button-styles": buttonStyles.value,
700
+ tabindex: effectiveTabindex.value,
692
701
  onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("click", $event))
693
702
  }, createSlots({
694
703
  icon: withCtx(() => [
@@ -713,7 +722,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
713
722
  ]),
714
723
  key: "1"
715
724
  } : void 0
716
- ]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles"])) : isVueRouterAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$W, {
725
+ ]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles", "tabindex"])) : isVueRouterAvailable.value && _ctx.to ? (openBlock(), createBlock(_sfc_main$W, {
717
726
  key: 2,
718
727
  to: _ctx.to,
719
728
  disabled: _ctx.disabled,
@@ -722,6 +731,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
722
731
  icon: _ctx.icon,
723
732
  "button-classes": buttonClasses.value,
724
733
  "button-styles": buttonStyles.value,
734
+ tabindex: effectiveTabindex.value,
725
735
  onClick: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("click", $event))
726
736
  }, createSlots({
727
737
  icon: withCtx(() => [
@@ -746,7 +756,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
746
756
  ]),
747
757
  key: "1"
748
758
  } : void 0
749
- ]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles"])) : (openBlock(), createBlock(_sfc_main$Y, {
759
+ ]), 1032, ["to", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles", "tabindex"])) : (openBlock(), createBlock(_sfc_main$Y, {
750
760
  key: 3,
751
761
  to: _ctx.to,
752
762
  href: _ctx.href,
@@ -757,6 +767,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
757
767
  icon: _ctx.icon,
758
768
  "button-classes": buttonClasses.value,
759
769
  "button-styles": buttonStyles.value,
770
+ tabindex: effectiveTabindex.value,
760
771
  onClick: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("click", $event))
761
772
  }, createSlots({
762
773
  icon: withCtx(() => [
@@ -781,11 +792,11 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
781
792
  ]),
782
793
  key: "1"
783
794
  } : void 0
784
- ]), 1032, ["to", "href", "external", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles"]));
795
+ ]), 1032, ["to", "href", "external", "disabled", "loading", "loading-text", "icon", "button-classes", "button-styles", "tabindex"]));
785
796
  };
786
797
  }
787
798
  });
788
- const StrandsUiButton = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-a5942725"]]);
799
+ const StrandsUiButton = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-5844ab0f"]]);
789
800
  const CompoundUiButton = StrandsUiButton;
790
801
  CompoundUiButton.Content = UiButtonContent;
791
802
  CompoundUiButton.Anchor = _sfc_main$Y;
@@ -807,7 +818,7 @@ const _hoisted_4$D = {
807
818
  key: 0,
808
819
  class: "ui-card-subtitle"
809
820
  };
810
- const _hoisted_5$y = {
821
+ const _hoisted_5$z = {
811
822
  key: 1,
812
823
  class: "ui-card-content"
813
824
  };
@@ -855,7 +866,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
855
866
  renderSlot(_ctx.$slots, "actions", {}, void 0, true)
856
867
  ], true)
857
868
  ])) : createCommentVNode("", true),
858
- _ctx.$slots["default"] ? (openBlock(), createElementBlock("div", _hoisted_5$y, [
869
+ _ctx.$slots["default"] ? (openBlock(), createElementBlock("div", _hoisted_5$z, [
859
870
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
860
871
  ])) : createCommentVNode("", true),
861
872
  _ctx.$slots["footer"] ? (openBlock(), createElementBlock("div", _hoisted_6$t, [
@@ -865,7 +876,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
865
876
  };
866
877
  }
867
878
  });
868
- const StrandsUiCard = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-1f110d8d"]]);
879
+ const StrandsUiCard = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-15f1a3ab"]]);
869
880
  /**
870
881
  * @license lucide-vue-next v0.542.0 - ISC
871
882
  *
@@ -1423,7 +1434,7 @@ const _hoisted_1$N = {
1423
1434
  key: 0,
1424
1435
  class: "input-leading-icon"
1425
1436
  };
1426
- const _hoisted_2$H = ["id", "type", "value", "placeholder", "disabled", "readonly", "required", "min", "max", "step", "autocomplete", "spellcheck"];
1437
+ const _hoisted_2$H = ["id", "type", "value", "placeholder", "disabled", "readonly", "required", "min", "max", "step", "autocomplete", "spellcheck", "tabindex"];
1427
1438
  const _hoisted_3$E = {
1428
1439
  key: 1,
1429
1440
  class: "input-trailing-icon"
@@ -1432,7 +1443,7 @@ const _hoisted_4$C = {
1432
1443
  key: 2,
1433
1444
  class: "input-trailing-icon"
1434
1445
  };
1435
- const _hoisted_5$x = {
1446
+ const _hoisted_5$y = {
1436
1447
  key: 3,
1437
1448
  class: "input-trailing-icon"
1438
1449
  };
@@ -1455,7 +1466,8 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
1455
1466
  fullWidth: { type: Boolean },
1456
1467
  inputId: {},
1457
1468
  error: { type: [Boolean, String, Error], default: false },
1458
- size: { default: "md" }
1469
+ size: { default: "md" },
1470
+ tabindex: {}
1459
1471
  },
1460
1472
  emits: ["update:modelValue", "blur", "focus", "keydown"],
1461
1473
  setup(__props, { emit: __emit }) {
@@ -1472,6 +1484,10 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
1472
1484
  const hasTrailingIcon = computed(() => {
1473
1485
  return slots["trailing-icon"] || props.type === "password" || props.type === "search" && props.modelValue;
1474
1486
  });
1487
+ const buttonTabindex = computed(() => {
1488
+ if (props.tabindex === void 0) return;
1489
+ return props.tabindex + 1;
1490
+ });
1475
1491
  const wrapperClasses = computed(() => {
1476
1492
  const classes = [];
1477
1493
  if (props.error) classes.push("input-error");
@@ -1537,6 +1553,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
1537
1553
  step: _ctx.step,
1538
1554
  autocomplete: _ctx.autocomplete,
1539
1555
  spellcheck: _ctx.spellcheck,
1556
+ tabindex: _ctx.tabindex,
1540
1557
  class: normalizeClass(["input-base", paddingClasses.value]),
1541
1558
  onInput: handleInput,
1542
1559
  onBlur: handleBlur,
@@ -1550,6 +1567,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
1550
1567
  size: "sm",
1551
1568
  icon: "",
1552
1569
  squircle: "",
1570
+ tabindex: buttonTabindex.value,
1553
1571
  "aria-label": showPassword.value ? "Hide password" : "Show password",
1554
1572
  onClick: togglePasswordVisibility
1555
1573
  }, {
@@ -1557,7 +1575,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
1557
1575
  showPassword.value ? (openBlock(), createBlock(unref(EyeOff), { key: 0 })) : (openBlock(), createBlock(unref(Eye), { key: 1 }))
1558
1576
  ]),
1559
1577
  _: 1
1560
- }, 8, ["color", "variant", "aria-label"])
1578
+ }, 8, ["color", "variant", "tabindex", "aria-label"])
1561
1579
  ])) : _ctx.type === "search" && _ctx.modelValue && !_ctx.disabled && !_ctx.readonly ? (openBlock(), createElementBlock("div", _hoisted_4$C, [
1562
1580
  createVNode(StrandsUiButton, {
1563
1581
  color: "danger",
@@ -1565,6 +1583,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
1565
1583
  size: "sm",
1566
1584
  icon: "",
1567
1585
  squircle: "",
1586
+ tabindex: buttonTabindex.value,
1568
1587
  "aria-label": "Clear search",
1569
1588
  onClick: clearSearchValue
1570
1589
  }, {
@@ -1572,15 +1591,15 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
1572
1591
  createVNode(unref(X))
1573
1592
  ]),
1574
1593
  _: 1
1575
- })
1576
- ])) : hasTrailingIcon.value ? (openBlock(), createElementBlock("div", _hoisted_5$x, [
1594
+ }, 8, ["tabindex"])
1595
+ ])) : hasTrailingIcon.value ? (openBlock(), createElementBlock("div", _hoisted_5$y, [
1577
1596
  renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
1578
1597
  ])) : createCommentVNode("", true)
1579
1598
  ], 2);
1580
1599
  };
1581
1600
  }
1582
1601
  });
1583
- const UiInputText = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-94fe77ac"]]);
1602
+ const UiInputText = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-67ba177d"]]);
1584
1603
  const _hoisted_1$M = {
1585
1604
  key: 0,
1586
1605
  class: "input-leading-icon"
@@ -1609,7 +1628,8 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
1609
1628
  fullWidth: { type: Boolean },
1610
1629
  inputId: {},
1611
1630
  error: { type: [Boolean, String, Error], default: false },
1612
- size: { default: "md" }
1631
+ size: { default: "md" },
1632
+ tabindex: {}
1613
1633
  },
1614
1634
  emits: ["update:modelValue", "blur", "focus", "keydown"],
1615
1635
  setup(__props, { emit: __emit }) {
@@ -1897,13 +1917,13 @@ const _hoisted_1$L = {
1897
1917
  key: 0,
1898
1918
  class: "input-leading-icon"
1899
1919
  };
1900
- const _hoisted_2$F = ["aria-expanded", "aria-controls"];
1920
+ const _hoisted_2$F = ["tabindex", "aria-expanded", "aria-controls"];
1901
1921
  const _hoisted_3$C = { class: "input-select-value" };
1902
1922
  const _hoisted_4$B = {
1903
1923
  key: 0,
1904
1924
  class: "input-select-text"
1905
1925
  };
1906
- const _hoisted_5$w = {
1926
+ const _hoisted_5$x = {
1907
1927
  key: 1,
1908
1928
  class: "input-select-placeholder"
1909
1929
  };
@@ -1951,7 +1971,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
1951
1971
  fullWidth: { type: Boolean },
1952
1972
  inputId: {},
1953
1973
  error: { type: [Boolean, String, Error], default: false },
1954
- size: { default: "md" }
1974
+ size: { default: "md" },
1975
+ tabindex: {}
1955
1976
  },
1956
1977
  emits: ["update:modelValue", "blur", "focus"],
1957
1978
  setup(__props, { emit: __emit }) {
@@ -2046,6 +2067,10 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2046
2067
  }
2047
2068
  return "Search...";
2048
2069
  });
2070
+ const searchTabindex = computed(() => {
2071
+ if (props.tabindex === void 0) return;
2072
+ return props.tabindex + 1;
2073
+ });
2049
2074
  const wrapperClasses = computed(() => {
2050
2075
  const classes = [];
2051
2076
  if (props.error) classes.push("input-error");
@@ -2250,14 +2275,14 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2250
2275
  class: normalizeClass(["input-select-trigger", { "input-select-open": dropdownState.value.isOpen }]),
2251
2276
  onClick: toggleDropdown,
2252
2277
  onKeydown: handleTriggerKeydown,
2253
- tabindex: "0",
2278
+ tabindex: _ctx.tabindex,
2254
2279
  role: "combobox",
2255
2280
  "aria-expanded": dropdownState.value.isOpen,
2256
2281
  "aria-haspopup": true,
2257
2282
  "aria-controls": dropdownId.value
2258
2283
  }, [
2259
2284
  createElementVNode("div", _hoisted_3$C, [
2260
- displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$B, toDisplayString(displayValue.value), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$w, toDisplayString(_ctx.placeholder || "Select an option..."), 1))
2285
+ displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$B, toDisplayString(displayValue.value), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$x, toDisplayString(_ctx.placeholder || "Select an option..."), 1))
2261
2286
  ]),
2262
2287
  createElementVNode("div", {
2263
2288
  class: normalizeClass(["input-select-arrow", { "input-select-arrow-open": dropdownState.value.isOpen }])
@@ -2291,13 +2316,14 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2291
2316
  type: "search",
2292
2317
  placeholder: computedSearchPlaceholder.value,
2293
2318
  size: "sm",
2319
+ tabindex: searchTabindex.value,
2294
2320
  onKeydown: handleSearchKeydown
2295
2321
  }, {
2296
2322
  "leading-icon": withCtx(() => [
2297
2323
  createVNode(unref(Search))
2298
2324
  ]),
2299
2325
  _: 1
2300
- }, 8, ["modelValue", "placeholder"])
2326
+ }, 8, ["modelValue", "placeholder", "tabindex"])
2301
2327
  ])) : createCommentVNode("", true),
2302
2328
  createElementVNode("div", {
2303
2329
  class: "input-dropdown-options",
@@ -2338,12 +2364,12 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2338
2364
  };
2339
2365
  }
2340
2366
  });
2341
- const UiInputSelect = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-830c63a5"]]);
2367
+ const UiInputSelect = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-f0fb5b75"]]);
2342
2368
  const _hoisted_1$K = { class: "input-leading-icon" };
2343
2369
  const _hoisted_2$E = ["src"];
2344
2370
  const _hoisted_3$B = ["id", "accept", "multiple", "disabled", "required"];
2345
2371
  const _hoisted_4$A = { class: "input-file-content" };
2346
- const _hoisted_5$v = {
2372
+ const _hoisted_5$w = {
2347
2373
  key: 0,
2348
2374
  class: "input-file-prompt"
2349
2375
  };
@@ -2386,7 +2412,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
2386
2412
  fullWidth: { type: Boolean },
2387
2413
  inputId: {},
2388
2414
  error: { type: [Boolean, String, Error], default: false },
2389
- size: { default: "md" }
2415
+ size: { default: "md" },
2416
+ tabindex: {}
2390
2417
  },
2391
2418
  emits: ["update:modelValue", "file-error", "blur", "focus"],
2392
2419
  setup(__props, { emit: __emit }) {
@@ -2584,7 +2611,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
2584
2611
  onFocus: handleFocus
2585
2612
  }, null, 40, _hoisted_3$B),
2586
2613
  createElementVNode("div", _hoisted_4$A, [
2587
- selectedFiles.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_5$v, [
2614
+ selectedFiles.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_5$w, [
2588
2615
  createElementVNode("div", _hoisted_6$r, toDisplayString(_ctx.dragDropText || "Click to select or drag and drop"), 1),
2589
2616
  _ctx.accept ? (openBlock(), createElementBlock("div", _hoisted_7$p, toDisplayString(_ctx.accept), 1)) : createCommentVNode("", true)
2590
2617
  ])) : (openBlock(), createElementBlock("div", _hoisted_8$n, [
@@ -2630,7 +2657,7 @@ const _hoisted_4$z = {
2630
2657
  key: 1,
2631
2658
  class: "tabs-after"
2632
2659
  };
2633
- const _hoisted_5$u = ["aria-labelledby"];
2660
+ const _hoisted_5$v = ["aria-labelledby"];
2634
2661
  const _sfc_main$P = /* @__PURE__ */ defineComponent({
2635
2662
  __name: "UiTabs",
2636
2663
  props: {
@@ -3015,12 +3042,12 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
3015
3042
  id: "tabpanel"
3016
3043
  }, [
3017
3044
  renderSlot(_ctx.$slots, "content", { activeTab: activeTab.value }, void 0, true)
3018
- ], 10, _hoisted_5$u)) : createCommentVNode("", true)
3045
+ ], 10, _hoisted_5$v)) : createCommentVNode("", true)
3019
3046
  ], 2);
3020
3047
  };
3021
3048
  }
3022
3049
  });
3023
- const StrandsUiTabs = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-edff91a5"]]);
3050
+ const StrandsUiTabs = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-901716e3"]]);
3024
3051
  const _hoisted_1$I = {
3025
3052
  key: 0,
3026
3053
  class: "ui-divider-text"
@@ -3096,7 +3123,7 @@ const _hoisted_4$y = {
3096
3123
  key: 0,
3097
3124
  class: "datetime-picker-value"
3098
3125
  };
3099
- const _hoisted_5$t = {
3126
+ const _hoisted_5$u = {
3100
3127
  key: 1,
3101
3128
  class: "datetime-picker-placeholder"
3102
3129
  };
@@ -3128,7 +3155,7 @@ const _hoisted_20$b = {
3128
3155
  class: "time-column"
3129
3156
  };
3130
3157
  const _hoisted_21$b = { class: "time-scroll" };
3131
- const _hoisted_22$9 = { class: "datetime-picker-footer" };
3158
+ const _hoisted_22$8 = { class: "datetime-picker-footer" };
3132
3159
  const _sfc_main$N = /* @__PURE__ */ defineComponent({
3133
3160
  __name: "UiDateTimePicker",
3134
3161
  props: {
@@ -3475,7 +3502,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
3475
3502
  _ctx.type === "date" ? (openBlock(), createBlock(unref(Calendar), { key: 0 })) : _ctx.type === "time" ? (openBlock(), createBlock(unref(Clock), { key: 1 })) : (openBlock(), createBlock(unref(CalendarClock), { key: 2 }))
3476
3503
  ]),
3477
3504
  createElementVNode("div", _hoisted_3$z, [
3478
- displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$y, toDisplayString(displayValue.value), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$t, toDisplayString(_ctx.placeholder || getDefaultPlaceholder()), 1))
3505
+ displayValue.value ? (openBlock(), createElementBlock("span", _hoisted_4$y, toDisplayString(displayValue.value), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$u, toDisplayString(_ctx.placeholder || getDefaultPlaceholder()), 1))
3479
3506
  ]),
3480
3507
  _ctx.modelValue && !_ctx.disabled && !_ctx.readonly ? (openBlock(), createElementBlock("div", {
3481
3508
  key: 0,
@@ -3671,7 +3698,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
3671
3698
  ])
3672
3699
  ])) : createCommentVNode("", true),
3673
3700
  createVNode(UiDivider),
3674
- createElementVNode("div", _hoisted_22$9, [
3701
+ createElementVNode("div", _hoisted_22$8, [
3675
3702
  createVNode(StrandsUiButton, {
3676
3703
  onClick: selectNow,
3677
3704
  color: "primary",
@@ -3735,7 +3762,8 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
3735
3762
  fullWidth: { type: Boolean },
3736
3763
  inputId: {},
3737
3764
  error: { type: [Boolean, String, Error], default: false },
3738
- size: { default: "md" }
3765
+ size: { default: "md" },
3766
+ tabindex: {}
3739
3767
  },
3740
3768
  emits: ["update:modelValue", "change", "blur", "focus", "keydown"],
3741
3769
  setup(__props, { emit: __emit }) {
@@ -3780,7 +3808,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
3780
3808
  fullWidth: { type: Boolean },
3781
3809
  inputId: {},
3782
3810
  error: { type: [Boolean, String, Error], default: false },
3783
- size: { default: "md" }
3811
+ size: { default: "md" },
3812
+ tabindex: {}
3784
3813
  },
3785
3814
  emits: ["update:modelValue", "change", "blur", "focus", "keydown"],
3786
3815
  setup(__props, { emit: __emit }) {
@@ -3827,7 +3856,8 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
3827
3856
  fullWidth: { type: Boolean },
3828
3857
  inputId: {},
3829
3858
  error: { type: [Boolean, String, Error], default: false },
3830
- size: { default: "md" }
3859
+ size: { default: "md" },
3860
+ tabindex: {}
3831
3861
  },
3832
3862
  emits: ["update:modelValue", "change", "blur", "focus", "keydown"],
3833
3863
  setup(__props, { emit: __emit }) {
@@ -24815,7 +24845,7 @@ const _hoisted_1$G = { class: "input-richtext-toolbar" };
24815
24845
  const _hoisted_2$B = { class: "input-richtext-group" };
24816
24846
  const _hoisted_3$y = { class: "input-richtext-group" };
24817
24847
  const _hoisted_4$x = { class: "input-richtext-group" };
24818
- const _hoisted_5$s = { class: "input-richtext-group" };
24848
+ const _hoisted_5$t = { class: "input-richtext-group" };
24819
24849
  const _hoisted_6$p = { class: "input-richtext-group" };
24820
24850
  const _hoisted_7$n = { class: "input-richtext-editor-wrapper" };
24821
24851
  const _sfc_main$J = /* @__PURE__ */ defineComponent({
@@ -24833,7 +24863,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
24833
24863
  fullWidth: { type: Boolean },
24834
24864
  inputId: {},
24835
24865
  error: { type: [Boolean, String, Error], default: false },
24836
- size: {}
24866
+ size: {},
24867
+ tabindex: {}
24837
24868
  },
24838
24869
  emits: ["update:modelValue", "blur", "focus"],
24839
24870
  setup(__props, { emit: __emit }) {
@@ -25065,7 +25096,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
25065
25096
  spacing: "28px",
25066
25097
  margin: "4px"
25067
25098
  }),
25068
- createElementVNode("div", _hoisted_5$s, [
25099
+ createElementVNode("div", _hoisted_5$t, [
25069
25100
  createVNode(StrandsUiButton, {
25070
25101
  color: unref(editor)?.isActive("bulletList") ? "primary" : "secondary",
25071
25102
  size: "sm",
@@ -25195,7 +25226,7 @@ const _hoisted_4$w = {
25195
25226
  key: 1,
25196
25227
  class: "pincode-divider"
25197
25228
  };
25198
- const _hoisted_5$r = {
25229
+ const _hoisted_5$s = {
25199
25230
  key: 1,
25200
25231
  class: "pincode-icon pincode-icon-trailing"
25201
25232
  };
@@ -25215,7 +25246,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
25215
25246
  fullWidth: { type: Boolean },
25216
25247
  inputId: {},
25217
25248
  error: { type: [Boolean, String, Error] },
25218
- size: { default: "md" }
25249
+ size: { default: "md" },
25250
+ tabindex: {}
25219
25251
  },
25220
25252
  emits: ["update:modelValue", "blur", "focus", "complete"],
25221
25253
  setup(__props, { emit: __emit }) {
@@ -25400,7 +25432,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
25400
25432
  value: values.value[index - 1],
25401
25433
  disabled: _ctx.disabled,
25402
25434
  readonly: _ctx.readonly,
25403
- tabindex: _ctx.disabled ? -1 : 0,
25435
+ tabindex: _ctx.disabled ? -1 : void 0,
25404
25436
  "data-index": index - 1,
25405
25437
  maxlength: "1",
25406
25438
  onInput: ($event) => handleInput($event, index - 1),
@@ -25415,7 +25447,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
25415
25447
  }, dividerProps.value, { class: "pincode-custom-divider" }), null, 16)) : shouldShowDivider(index) ? (openBlock(), createElementBlock("span", _hoisted_4$w, toDisplayString(dividerCharacter.value), 1)) : createCommentVNode("", true)
25416
25448
  ], 64);
25417
25449
  }), 128)),
25418
- _ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_5$r, [
25450
+ _ctx.$slots["trailing-icon"] ? (openBlock(), createElementBlock("div", _hoisted_5$s, [
25419
25451
  renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
25420
25452
  ])) : createCommentVNode("", true)
25421
25453
  ])
@@ -25423,18 +25455,22 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
25423
25455
  };
25424
25456
  }
25425
25457
  });
25426
- const UiInputPincode = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-481de9a3"]]);
25458
+ const UiInputPincode = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-dc5d46fa"]]);
25427
25459
  const _hoisted_1$E = ["for"];
25428
25460
  const _hoisted_2$z = {
25429
25461
  key: 0,
25430
25462
  class: "input-required"
25431
25463
  };
25432
25464
  const _hoisted_3$w = {
25433
- key: 10,
25434
- class: "input-error-text"
25465
+ key: 1,
25466
+ class: "input-hint"
25435
25467
  };
25436
25468
  const _hoisted_4$v = {
25437
- key: 11,
25469
+ key: 2,
25470
+ class: "input-error-text"
25471
+ };
25472
+ const _hoisted_5$r = {
25473
+ key: 3,
25438
25474
  class: "input-help-text"
25439
25475
  };
25440
25476
  const _sfc_main$H = /* @__PURE__ */ defineComponent({
@@ -25457,6 +25493,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
25457
25493
  inputId: {},
25458
25494
  error: { type: [Boolean, String, Error] },
25459
25495
  size: {},
25496
+ tabindex: {},
25460
25497
  options: {},
25461
25498
  multiple: { type: Boolean },
25462
25499
  searchable: { type: Boolean },
@@ -25519,239 +25556,254 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
25519
25556
  props.label ? (openBlock(), createElementBlock("label", {
25520
25557
  key: 0,
25521
25558
  for: inputId.value,
25559
+ tabindex: "-1",
25522
25560
  class: "input-label"
25523
25561
  }, [
25524
25562
  createTextVNode(toDisplayString(props.label) + " ", 1),
25525
25563
  props.required ? (openBlock(), createElementBlock("span", _hoisted_2$z, "*")) : createCommentVNode("", true)
25526
25564
  ], 8, _hoisted_1$E)) : createCommentVNode("", true),
25527
- isTextInput.value ? (openBlock(), createBlock(UiInputText, {
25528
- key: 1,
25529
- "model-value": _ctx.modelValue,
25530
- type: _ctx.type,
25531
- placeholder: _ctx.placeholder,
25532
- disabled: _ctx.disabled,
25533
- readonly: _ctx.readonly,
25534
- required: props.required,
25535
- min: props.min,
25536
- max: props.max,
25537
- step: props.step,
25538
- autocomplete: props.autocomplete,
25539
- spellcheck: props.spellcheck,
25540
- "input-id": inputId.value,
25541
- error: Boolean(props.error && props.error !== true && props.error !== ""),
25542
- size: props.size,
25543
- "onUpdate:modelValue": handleInput,
25544
- onBlur: handleBlur,
25545
- onFocus: handleFocus,
25546
- onKeydown: handleKeydown
25547
- }, createSlots({ _: 2 }, [
25548
- _ctx.$slots["leading-icon"] ? {
25549
- name: "leading-icon",
25550
- fn: withCtx(() => [
25551
- renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
25552
- ]),
25553
- key: "0"
25554
- } : void 0,
25555
- _ctx.$slots["trailing-icon"] ? {
25556
- name: "trailing-icon",
25557
- fn: withCtx(() => [
25558
- renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
25559
- ]),
25560
- key: "1"
25561
- } : void 0
25562
- ]), 1032, ["model-value", "type", "placeholder", "disabled", "readonly", "required", "min", "max", "step", "autocomplete", "spellcheck", "input-id", "error", "size"])) : _ctx.type === "textarea" ? (openBlock(), createBlock(UiInputTextarea, {
25563
- key: 2,
25564
- "model-value": _ctx.modelValue,
25565
- placeholder: _ctx.placeholder,
25566
- disabled: _ctx.disabled,
25567
- readonly: _ctx.readonly,
25568
- required: props.required,
25569
- rows: props.rows,
25570
- cols: props.cols,
25571
- maxlength: props.maxlength,
25572
- autocomplete: props.autocomplete,
25573
- spellcheck: props.spellcheck,
25574
- resizable: props.resizable,
25575
- "input-id": inputId.value,
25576
- error: props.error,
25577
- size: props.size,
25578
- "onUpdate:modelValue": handleInput,
25579
- onBlur: handleBlur,
25580
- onFocus: handleFocus,
25581
- onKeydown: handleKeydown
25582
- }, createSlots({ _: 2 }, [
25583
- _ctx.$slots["leading-icon"] ? {
25584
- name: "leading-icon",
25585
- fn: withCtx(() => [
25586
- renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
25587
- ]),
25588
- key: "0"
25589
- } : void 0,
25590
- _ctx.$slots["trailing-icon"] ? {
25591
- name: "trailing-icon",
25592
- fn: withCtx(() => [
25593
- renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
25594
- ]),
25595
- key: "1"
25596
- } : void 0
25597
- ]), 1032, ["model-value", "placeholder", "disabled", "readonly", "required", "rows", "cols", "maxlength", "autocomplete", "spellcheck", "resizable", "input-id", "error", "size"])) : _ctx.type === "select" ? (openBlock(), createBlock(UiInputSelect, {
25598
- key: 3,
25599
- "model-value": _ctx.modelValue,
25600
- options: props.options,
25601
- placeholder: _ctx.placeholder,
25602
- disabled: _ctx.disabled,
25603
- multiple: props.multiple,
25604
- searchable: props.searchable,
25605
- "allow-insert": props.allowInsert,
25606
- "max-dropdown-height": props.maxDropdownHeight,
25607
- "no-options-text": props.noOptionsText,
25608
- "search-placeholder": props.searchPlaceholder,
25609
- "input-id": inputId.value,
25610
- error: props.error,
25611
- size: props.size,
25612
- "onUpdate:modelValue": handleInput,
25613
- onBlur: handleBlur,
25614
- onFocus: handleFocus
25615
- }, createSlots({ _: 2 }, [
25616
- _ctx.$slots["leading-icon"] ? {
25617
- name: "leading-icon",
25618
- fn: withCtx(() => [
25619
- renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
25620
- ]),
25621
- key: "0"
25622
- } : void 0,
25623
- _ctx.$slots["trailing-icon"] ? {
25624
- name: "trailing-icon",
25625
- fn: withCtx(() => [
25626
- renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
25627
- ]),
25628
- key: "1"
25629
- } : void 0
25630
- ]), 1032, ["model-value", "options", "placeholder", "disabled", "multiple", "searchable", "allow-insert", "max-dropdown-height", "no-options-text", "search-placeholder", "input-id", "error", "size"])) : _ctx.type === "file" ? (openBlock(), createBlock(UiInputFile, {
25631
- key: 4,
25632
- "model-value": _ctx.modelValue,
25633
- accept: props.accept,
25634
- multiple: props.multiple,
25635
- "max-file-size": props.maxFileSize,
25636
- "drag-drop-text": props.dragDropText,
25637
- "selected-text": props.selectedText,
25638
- disabled: _ctx.disabled,
25639
- required: props.required,
25640
- "input-id": inputId.value,
25641
- error: props.error,
25642
- size: props.size,
25643
- "onUpdate:modelValue": handleInput,
25644
- onFileError: handleFileError,
25645
- onBlur: handleBlur,
25646
- onFocus: handleFocus
25647
- }, createSlots({ _: 2 }, [
25648
- _ctx.$slots["leading-icon"] ? {
25649
- name: "leading-icon",
25650
- fn: withCtx(() => [
25651
- renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
25652
- ]),
25653
- key: "0"
25654
- } : void 0,
25655
- _ctx.$slots["trailing-icon"] ? {
25656
- name: "trailing-icon",
25657
- fn: withCtx(() => [
25658
- renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
25659
- ]),
25660
- key: "1"
25661
- } : void 0
25662
- ]), 1032, ["model-value", "accept", "multiple", "max-file-size", "drag-drop-text", "selected-text", "disabled", "required", "input-id", "error", "size"])) : _ctx.type === "date" ? (openBlock(), createBlock(_sfc_main$M, {
25663
- key: 5,
25664
- "model-value": _ctx.modelValue,
25665
- placeholder: _ctx.placeholder,
25666
- disabled: _ctx.disabled,
25667
- readonly: _ctx.readonly,
25668
- required: props.required,
25669
- min: props.min,
25670
- max: props.max,
25671
- "input-id": inputId.value,
25672
- error: props.error,
25673
- size: props.size,
25674
- "onUpdate:modelValue": handleInput,
25675
- onBlur: handleBlur,
25676
- onFocus: handleFocus
25677
- }, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "min", "max", "input-id", "error", "size"])) : _ctx.type === "time" ? (openBlock(), createBlock(_sfc_main$L, {
25678
- key: 6,
25679
- "model-value": _ctx.modelValue,
25680
- placeholder: _ctx.placeholder,
25681
- disabled: _ctx.disabled,
25682
- readonly: _ctx.readonly,
25683
- required: props.required,
25684
- "input-id": inputId.value,
25685
- error: props.error,
25686
- size: props.size,
25687
- "onUpdate:modelValue": handleInput,
25688
- onBlur: handleBlur,
25689
- onFocus: handleFocus
25690
- }, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "input-id", "error", "size"])) : _ctx.type === "datetime" ? (openBlock(), createBlock(_sfc_main$K, {
25691
- key: 7,
25692
- "model-value": _ctx.modelValue,
25693
- placeholder: _ctx.placeholder,
25694
- disabled: _ctx.disabled,
25695
- readonly: _ctx.readonly,
25696
- required: props.required,
25697
- min: props.min,
25698
- max: props.max,
25699
- "input-id": inputId.value,
25700
- error: props.error,
25701
- size: props.size,
25702
- "onUpdate:modelValue": handleInput,
25703
- onBlur: handleBlur,
25704
- onFocus: handleFocus
25705
- }, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "min", "max", "input-id", "error", "size"])) : _ctx.type === "richtext" ? (openBlock(), createBlock(UiInputRichText, {
25706
- key: 8,
25707
- "model-value": _ctx.modelValue,
25708
- placeholder: _ctx.placeholder,
25709
- disabled: _ctx.disabled,
25710
- readonly: _ctx.readonly,
25711
- "input-id": inputId.value,
25712
- error: props.error,
25713
- "min-height": props.minHeight,
25714
- "max-height": props.maxHeight,
25715
- "onUpdate:modelValue": handleInput,
25716
- onBlur: handleBlur,
25717
- onFocus: handleFocus
25718
- }, null, 8, ["model-value", "placeholder", "disabled", "readonly", "input-id", "error", "min-height", "max-height"])) : _ctx.type === "pincode" ? (openBlock(), createBlock(UiInputPincode, {
25719
- key: 9,
25720
- "model-value": _ctx.modelValue,
25721
- "max-length": props.maxLength || 6,
25722
- variant: props.variant || "numeric",
25723
- divider: props.divider,
25724
- disabled: _ctx.disabled,
25725
- readonly: _ctx.readonly,
25726
- "input-id": inputId.value,
25727
- error: props.error,
25728
- size: props.size,
25729
- "onUpdate:modelValue": handleInput,
25730
- onBlur: handleBlur,
25731
- onFocus: handleFocus,
25732
- onComplete: handlePincodeComplete
25733
- }, createSlots({ _: 2 }, [
25734
- _ctx.$slots["leading-icon"] ? {
25735
- name: "leading-icon",
25736
- fn: withCtx(() => [
25737
- renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
25738
- ]),
25739
- key: "0"
25740
- } : void 0,
25741
- _ctx.$slots["trailing-icon"] ? {
25742
- name: "trailing-icon",
25743
- fn: withCtx(() => [
25744
- renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
25745
- ]),
25746
- key: "1"
25747
- } : void 0
25748
- ]), 1032, ["model-value", "max-length", "variant", "divider", "disabled", "readonly", "input-id", "error", "size"])) : createCommentVNode("", true),
25749
- props.error && props.error !== true ? (openBlock(), createElementBlock("p", _hoisted_3$w, toDisplayString(typeof props.error === "string" ? props.error : props.error?.message || String(props.error)), 1)) : props.helpText ? (openBlock(), createElementBlock("p", _hoisted_4$v, toDisplayString(props.helpText), 1)) : createCommentVNode("", true)
25565
+ createElementVNode("div", null, [
25566
+ isTextInput.value ? (openBlock(), createBlock(UiInputText, {
25567
+ key: 0,
25568
+ "model-value": _ctx.modelValue,
25569
+ type: _ctx.type,
25570
+ placeholder: _ctx.placeholder,
25571
+ disabled: _ctx.disabled,
25572
+ readonly: _ctx.readonly,
25573
+ required: props.required,
25574
+ min: props.min,
25575
+ max: props.max,
25576
+ step: props.step,
25577
+ autocomplete: props.autocomplete,
25578
+ spellcheck: props.spellcheck,
25579
+ "input-id": inputId.value,
25580
+ error: Boolean(props.error && props.error !== true && props.error !== ""),
25581
+ size: props.size,
25582
+ tabindex: _ctx.tabindex,
25583
+ "onUpdate:modelValue": handleInput,
25584
+ onBlur: handleBlur,
25585
+ onFocus: handleFocus,
25586
+ onKeydown: handleKeydown
25587
+ }, createSlots({ _: 2 }, [
25588
+ _ctx.$slots["leading-icon"] ? {
25589
+ name: "leading-icon",
25590
+ fn: withCtx(() => [
25591
+ renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
25592
+ ]),
25593
+ key: "0"
25594
+ } : void 0,
25595
+ _ctx.$slots["trailing-icon"] ? {
25596
+ name: "trailing-icon",
25597
+ fn: withCtx(() => [
25598
+ renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
25599
+ ]),
25600
+ key: "1"
25601
+ } : void 0
25602
+ ]), 1032, ["model-value", "type", "placeholder", "disabled", "readonly", "required", "min", "max", "step", "autocomplete", "spellcheck", "input-id", "error", "size", "tabindex"])) : _ctx.type === "textarea" ? (openBlock(), createBlock(UiInputTextarea, {
25603
+ key: 1,
25604
+ "model-value": _ctx.modelValue,
25605
+ placeholder: _ctx.placeholder,
25606
+ disabled: _ctx.disabled,
25607
+ readonly: _ctx.readonly,
25608
+ required: props.required,
25609
+ rows: props.rows,
25610
+ cols: props.cols,
25611
+ maxlength: props.maxlength,
25612
+ autocomplete: props.autocomplete,
25613
+ spellcheck: props.spellcheck,
25614
+ resizable: props.resizable,
25615
+ "input-id": inputId.value,
25616
+ error: props.error,
25617
+ size: props.size,
25618
+ tabindex: _ctx.tabindex,
25619
+ "onUpdate:modelValue": handleInput,
25620
+ onBlur: handleBlur,
25621
+ onFocus: handleFocus,
25622
+ onKeydown: handleKeydown
25623
+ }, createSlots({ _: 2 }, [
25624
+ _ctx.$slots["leading-icon"] ? {
25625
+ name: "leading-icon",
25626
+ fn: withCtx(() => [
25627
+ renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
25628
+ ]),
25629
+ key: "0"
25630
+ } : void 0,
25631
+ _ctx.$slots["trailing-icon"] ? {
25632
+ name: "trailing-icon",
25633
+ fn: withCtx(() => [
25634
+ renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
25635
+ ]),
25636
+ key: "1"
25637
+ } : void 0
25638
+ ]), 1032, ["model-value", "placeholder", "disabled", "readonly", "required", "rows", "cols", "maxlength", "autocomplete", "spellcheck", "resizable", "input-id", "error", "size", "tabindex"])) : _ctx.type === "select" ? (openBlock(), createBlock(UiInputSelect, {
25639
+ key: 2,
25640
+ "model-value": _ctx.modelValue,
25641
+ options: props.options,
25642
+ placeholder: _ctx.placeholder,
25643
+ disabled: _ctx.disabled,
25644
+ multiple: props.multiple,
25645
+ searchable: props.searchable,
25646
+ "allow-insert": props.allowInsert,
25647
+ "max-dropdown-height": props.maxDropdownHeight,
25648
+ "no-options-text": props.noOptionsText,
25649
+ "search-placeholder": props.searchPlaceholder,
25650
+ "input-id": inputId.value,
25651
+ error: props.error,
25652
+ size: props.size,
25653
+ tabindex: _ctx.tabindex,
25654
+ "onUpdate:modelValue": handleInput,
25655
+ onBlur: handleBlur,
25656
+ onFocus: handleFocus
25657
+ }, createSlots({ _: 2 }, [
25658
+ _ctx.$slots["leading-icon"] ? {
25659
+ name: "leading-icon",
25660
+ fn: withCtx(() => [
25661
+ renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
25662
+ ]),
25663
+ key: "0"
25664
+ } : void 0,
25665
+ _ctx.$slots["trailing-icon"] ? {
25666
+ name: "trailing-icon",
25667
+ fn: withCtx(() => [
25668
+ renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
25669
+ ]),
25670
+ key: "1"
25671
+ } : void 0
25672
+ ]), 1032, ["model-value", "options", "placeholder", "disabled", "multiple", "searchable", "allow-insert", "max-dropdown-height", "no-options-text", "search-placeholder", "input-id", "error", "size", "tabindex"])) : _ctx.type === "file" ? (openBlock(), createBlock(UiInputFile, {
25673
+ key: 3,
25674
+ "model-value": _ctx.modelValue,
25675
+ accept: props.accept,
25676
+ multiple: props.multiple,
25677
+ "max-file-size": props.maxFileSize,
25678
+ "drag-drop-text": props.dragDropText,
25679
+ "selected-text": props.selectedText,
25680
+ disabled: _ctx.disabled,
25681
+ required: props.required,
25682
+ "input-id": inputId.value,
25683
+ error: props.error,
25684
+ size: props.size,
25685
+ tabindex: _ctx.tabindex,
25686
+ "onUpdate:modelValue": handleInput,
25687
+ onFileError: handleFileError,
25688
+ onBlur: handleBlur,
25689
+ onFocus: handleFocus
25690
+ }, createSlots({ _: 2 }, [
25691
+ _ctx.$slots["leading-icon"] ? {
25692
+ name: "leading-icon",
25693
+ fn: withCtx(() => [
25694
+ renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
25695
+ ]),
25696
+ key: "0"
25697
+ } : void 0,
25698
+ _ctx.$slots["trailing-icon"] ? {
25699
+ name: "trailing-icon",
25700
+ fn: withCtx(() => [
25701
+ renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
25702
+ ]),
25703
+ key: "1"
25704
+ } : void 0
25705
+ ]), 1032, ["model-value", "accept", "multiple", "max-file-size", "drag-drop-text", "selected-text", "disabled", "required", "input-id", "error", "size", "tabindex"])) : _ctx.type === "date" ? (openBlock(), createBlock(_sfc_main$M, {
25706
+ key: 4,
25707
+ "model-value": _ctx.modelValue,
25708
+ placeholder: _ctx.placeholder,
25709
+ disabled: _ctx.disabled,
25710
+ readonly: _ctx.readonly,
25711
+ required: props.required,
25712
+ min: props.min,
25713
+ max: props.max,
25714
+ "input-id": inputId.value,
25715
+ error: props.error,
25716
+ size: props.size,
25717
+ tabindex: _ctx.tabindex,
25718
+ "onUpdate:modelValue": handleInput,
25719
+ onBlur: handleBlur,
25720
+ onFocus: handleFocus
25721
+ }, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "min", "max", "input-id", "error", "size", "tabindex"])) : _ctx.type === "time" ? (openBlock(), createBlock(_sfc_main$L, {
25722
+ key: 5,
25723
+ "model-value": _ctx.modelValue,
25724
+ placeholder: _ctx.placeholder,
25725
+ disabled: _ctx.disabled,
25726
+ readonly: _ctx.readonly,
25727
+ required: props.required,
25728
+ "input-id": inputId.value,
25729
+ error: props.error,
25730
+ size: props.size,
25731
+ tabindex: _ctx.tabindex,
25732
+ "onUpdate:modelValue": handleInput,
25733
+ onBlur: handleBlur,
25734
+ onFocus: handleFocus
25735
+ }, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "input-id", "error", "size", "tabindex"])) : _ctx.type === "datetime" ? (openBlock(), createBlock(_sfc_main$K, {
25736
+ key: 6,
25737
+ "model-value": _ctx.modelValue,
25738
+ placeholder: _ctx.placeholder,
25739
+ disabled: _ctx.disabled,
25740
+ readonly: _ctx.readonly,
25741
+ required: props.required,
25742
+ min: props.min,
25743
+ max: props.max,
25744
+ "input-id": inputId.value,
25745
+ error: props.error,
25746
+ size: props.size,
25747
+ tabindex: _ctx.tabindex,
25748
+ "onUpdate:modelValue": handleInput,
25749
+ onBlur: handleBlur,
25750
+ onFocus: handleFocus
25751
+ }, null, 8, ["model-value", "placeholder", "disabled", "readonly", "required", "min", "max", "input-id", "error", "size", "tabindex"])) : _ctx.type === "richtext" ? (openBlock(), createBlock(UiInputRichText, {
25752
+ key: 7,
25753
+ "model-value": _ctx.modelValue,
25754
+ placeholder: _ctx.placeholder,
25755
+ disabled: _ctx.disabled,
25756
+ readonly: _ctx.readonly,
25757
+ "input-id": inputId.value,
25758
+ error: props.error,
25759
+ "min-height": props.minHeight,
25760
+ "max-height": props.maxHeight,
25761
+ tabindex: _ctx.tabindex,
25762
+ "onUpdate:modelValue": handleInput,
25763
+ onBlur: handleBlur,
25764
+ onFocus: handleFocus
25765
+ }, null, 8, ["model-value", "placeholder", "disabled", "readonly", "input-id", "error", "min-height", "max-height", "tabindex"])) : _ctx.type === "pincode" ? (openBlock(), createBlock(UiInputPincode, {
25766
+ key: 8,
25767
+ "model-value": _ctx.modelValue,
25768
+ "max-length": props.maxLength || 6,
25769
+ variant: props.variant || "numeric",
25770
+ divider: props.divider,
25771
+ disabled: _ctx.disabled,
25772
+ readonly: _ctx.readonly,
25773
+ "input-id": inputId.value,
25774
+ error: props.error,
25775
+ size: props.size,
25776
+ tabindex: _ctx.tabindex,
25777
+ "onUpdate:modelValue": handleInput,
25778
+ onBlur: handleBlur,
25779
+ onFocus: handleFocus,
25780
+ onComplete: handlePincodeComplete
25781
+ }, createSlots({ _: 2 }, [
25782
+ _ctx.$slots["leading-icon"] ? {
25783
+ name: "leading-icon",
25784
+ fn: withCtx(() => [
25785
+ renderSlot(_ctx.$slots, "leading-icon", {}, void 0, true)
25786
+ ]),
25787
+ key: "0"
25788
+ } : void 0,
25789
+ _ctx.$slots["trailing-icon"] ? {
25790
+ name: "trailing-icon",
25791
+ fn: withCtx(() => [
25792
+ renderSlot(_ctx.$slots, "trailing-icon", {}, void 0, true)
25793
+ ]),
25794
+ key: "1"
25795
+ } : void 0
25796
+ ]), 1032, ["model-value", "max-length", "variant", "divider", "disabled", "readonly", "input-id", "error", "size", "tabindex"])) : createCommentVNode("", true)
25797
+ ]),
25798
+ _ctx.$slots["hint"] ? (openBlock(), createElementBlock("div", _hoisted_3$w, [
25799
+ renderSlot(_ctx.$slots, "hint", {}, void 0, true)
25800
+ ])) : createCommentVNode("", true),
25801
+ props.error && props.error !== true ? (openBlock(), createElementBlock("p", _hoisted_4$v, toDisplayString(typeof props.error === "string" ? props.error : props.error?.message || String(props.error)), 1)) : props.helpText ? (openBlock(), createElementBlock("p", _hoisted_5$r, toDisplayString(props.helpText), 1)) : createCommentVNode("", true)
25750
25802
  ], 2);
25751
25803
  };
25752
25804
  }
25753
25805
  });
25754
- const StrandsUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-7c0f388a"]]);
25806
+ const StrandsUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-1cf1d35b"]]);
25755
25807
  const _hoisted_1$D = ["disabled", "aria-disabled"];
25756
25808
  const _hoisted_2$y = ["href", "target", "rel", "aria-disabled"];
25757
25809
  const _sfc_main$G = /* @__PURE__ */ defineComponent({
@@ -25955,7 +26007,7 @@ const _hoisted_18$d = ["min", "max"];
25955
26007
  const _hoisted_19$c = { class: "action-buttons" };
25956
26008
  const _hoisted_20$a = { class: "preview-section" };
25957
26009
  const _hoisted_21$a = { class: "preview-container" };
25958
- const _hoisted_22$8 = ["width", "height"];
26010
+ const _hoisted_22$7 = ["width", "height"];
25959
26011
  const _sfc_main$E = /* @__PURE__ */ defineComponent({
25960
26012
  __name: "UiAvatarEditor",
25961
26013
  props: {
@@ -26425,7 +26477,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
26425
26477
  width: previewSize.value,
26426
26478
  height: previewSize.value,
26427
26479
  class: "preview-canvas"
26428
- }, null, 8, _hoisted_22$8)
26480
+ }, null, 8, _hoisted_22$7)
26429
26481
  ]),
26430
26482
  _cache[10] || (_cache[10] = createElementVNode("p", { class: "preview-instructions" }, [
26431
26483
  createTextVNode(" Drag image to reposition"),
@@ -28093,7 +28145,7 @@ const _hoisted_20$9 = {
28093
28145
  class: "ui-color-picker-contrast-svg"
28094
28146
  };
28095
28147
  const _hoisted_21$9 = ["cx", "fill"];
28096
- const _hoisted_22$7 = { class: "ui-color-picker-inputs" };
28148
+ const _hoisted_22$6 = { class: "ui-color-picker-inputs" };
28097
28149
  const _hoisted_23$5 = {
28098
28150
  key: 0,
28099
28151
  class: "ui-color-picker-input-row"
@@ -29952,7 +30004,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
29952
30004
  style: normalizeStyle({ left: `${alpha2.value * 100}%` })
29953
30005
  }, null, 4)
29954
30006
  ], 544)) : createCommentVNode("", true),
29955
- createElementVNode("div", _hoisted_22$7, [
30007
+ createElementVNode("div", _hoisted_22$6, [
29956
30008
  currentColorFormat.value === "hex" ? (openBlock(), createElementBlock("div", _hoisted_23$5, [
29957
30009
  createElementVNode("div", _hoisted_24$5, [
29958
30010
  _cache[24] || (_cache[24] = createElementVNode("label", { class: "ui-color-picker-label" }, "Hex", -1)),
@@ -30694,7 +30746,7 @@ const _hoisted_21$8 = {
30694
30746
  key: 0,
30695
30747
  class: "ui-table-empty"
30696
30748
  };
30697
- const _hoisted_22$6 = {
30749
+ const _hoisted_22$5 = {
30698
30750
  key: 1,
30699
30751
  class: "ui-table-footer"
30700
30752
  };
@@ -31245,7 +31297,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
31245
31297
  ], true)
31246
31298
  ])) : createCommentVNode("", true)
31247
31299
  ]),
31248
- hasFooterSlots.value ? (openBlock(), createElementBlock("div", _hoisted_22$6, [
31300
+ hasFooterSlots.value ? (openBlock(), createElementBlock("div", _hoisted_22$5, [
31249
31301
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(internalColumns.value, (column, index) => {
31250
31302
  return openBlock(), createElementBlock("div", {
31251
31303
  key: `footer-${index}`,
@@ -32769,7 +32821,7 @@ const _hoisted_18$9 = {
32769
32821
  const _hoisted_19$8 = { class: "mfa-hardware-prompt" };
32770
32822
  const _hoisted_20$6 = { class: "mfa-hardware-prompt-content" };
32771
32823
  const _hoisted_21$6 = { class: "mfa-hardware-prompt-icon" };
32772
- const _hoisted_22$5 = { class: "mfa-hardware-prompt-text" };
32824
+ const _hoisted_22$4 = { class: "mfa-hardware-prompt-text" };
32773
32825
  const _hoisted_23$4 = { class: "mfa-hardware-prompt-title" };
32774
32826
  const _hoisted_24$4 = { class: "mfa-hardware-prompt-description" };
32775
32827
  const _hoisted_25$4 = { class: "mfa-backup-option" };
@@ -33273,7 +33325,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
33273
33325
  class: "mfa-hardware-icon-svg"
33274
33326
  }))
33275
33327
  ]),
33276
- createElementVNode("div", _hoisted_22$5, [
33328
+ createElementVNode("div", _hoisted_22$4, [
33277
33329
  createElementVNode("h4", _hoisted_23$4, toDisplayString(selectedMethod.value.device_type === "passkey" ? "Use your passkey" : "Touch your hardware key"), 1),
33278
33330
  createElementVNode("p", _hoisted_24$4, toDisplayString(selectedMethod.value.device_type === "passkey" ? "Use biometrics, PIN, or device security to authenticate" : "Insert and touch your hardware key to authenticate"), 1)
33279
33331
  ])
@@ -33752,12 +33804,11 @@ const _hoisted_19$7 = {
33752
33804
  key: 0,
33753
33805
  class: "auth-password-field"
33754
33806
  };
33755
- const _hoisted_20$5 = { class: "auth-password-header" };
33756
- const _hoisted_21$5 = {
33807
+ const _hoisted_20$5 = {
33757
33808
  key: 0,
33758
33809
  class: "auth-back-link-container"
33759
33810
  };
33760
- const _hoisted_22$4 = { class: "auth-support-text" };
33811
+ const _hoisted_21$5 = { class: "auth-support-text" };
33761
33812
  const _sfc_main$n = /* @__PURE__ */ defineComponent({
33762
33813
  __name: "StrandsAuth",
33763
33814
  props: {
@@ -34182,28 +34233,30 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
34182
34233
  }, {
34183
34234
  default: withCtx(() => [
34184
34235
  !isPasswordReset.value && !isSignUp.value ? (openBlock(), createElementBlock("div", _hoisted_19$7, [
34185
- createElementVNode("div", _hoisted_20$5, [
34186
- _cache[10] || (_cache[10] = createElementVNode("span", { class: "auth-password-label" }, "Password", -1)),
34187
- createVNode(unref(StrandsUiLink), {
34188
- variant: "primary",
34189
- size: "sm",
34190
- onClick: _cache[2] || (_cache[2] = ($event) => currentMode.value = "reset-password")
34191
- }, {
34192
- default: withCtx(() => [..._cache[9] || (_cache[9] = [
34193
- createTextVNode(" Forgot password? ", -1)
34194
- ])]),
34195
- _: 1
34196
- })
34197
- ]),
34198
34236
  createVNode(unref(StrandsUiInput), {
34199
34237
  modelValue: form.password,
34200
34238
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => form.password = $event),
34201
34239
  type: "password",
34240
+ label: "Password",
34202
34241
  placeholder: "Enter your password",
34203
34242
  required: "",
34204
34243
  autocomplete: "current-password",
34205
34244
  error: error.value && !form.password ? "Password is required" : ""
34206
- }, null, 8, ["modelValue", "error"])
34245
+ }, {
34246
+ hint: withCtx(() => [
34247
+ createVNode(unref(StrandsUiLink), {
34248
+ variant: "primary",
34249
+ size: "sm",
34250
+ onClick: _cache[2] || (_cache[2] = ($event) => currentMode.value = "reset-password")
34251
+ }, {
34252
+ default: withCtx(() => [..._cache[9] || (_cache[9] = [
34253
+ createTextVNode(" Forgot password? ", -1)
34254
+ ])]),
34255
+ _: 1
34256
+ })
34257
+ ]),
34258
+ _: 1
34259
+ }, 8, ["modelValue", "error"])
34207
34260
  ])) : createCommentVNode("", true)
34208
34261
  ]),
34209
34262
  _: 1
@@ -34246,12 +34299,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
34246
34299
  onAfterLeave
34247
34300
  }, {
34248
34301
  default: withCtx(() => [
34249
- isPasswordReset.value ? (openBlock(), createElementBlock("div", _hoisted_21$5, [
34302
+ isPasswordReset.value ? (openBlock(), createElementBlock("div", _hoisted_20$5, [
34250
34303
  createVNode(unref(StrandsUiLink), {
34251
34304
  onClick: _cache[4] || (_cache[4] = ($event) => currentMode.value = "signin"),
34252
34305
  class: "auth-back-link"
34253
34306
  }, {
34254
- default: withCtx(() => [..._cache[11] || (_cache[11] = [
34307
+ default: withCtx(() => [..._cache[10] || (_cache[10] = [
34255
34308
  createElementVNode("svg", {
34256
34309
  class: "auth-back-icon",
34257
34310
  fill: "none",
@@ -34290,13 +34343,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
34290
34343
  name: "support-fade"
34291
34344
  }, {
34292
34345
  default: withCtx(() => [
34293
- createElementVNode("p", _hoisted_22$4, [
34294
- _cache[13] || (_cache[13] = createTextVNode(" Need help? ", -1)),
34346
+ createElementVNode("p", _hoisted_21$5, [
34347
+ _cache[12] || (_cache[12] = createTextVNode(" Need help? ", -1)),
34295
34348
  createVNode(unref(StrandsUiLink), {
34296
34349
  variant: "primary",
34297
34350
  href: `mailto:${unref(getSupportEmail)()}`
34298
34351
  }, {
34299
- default: withCtx(() => [..._cache[12] || (_cache[12] = [
34352
+ default: withCtx(() => [..._cache[11] || (_cache[11] = [
34300
34353
  createTextVNode(" Contact Support ", -1)
34301
34354
  ])]),
34302
34355
  _: 1
@@ -34323,7 +34376,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
34323
34376
  };
34324
34377
  }
34325
34378
  });
34326
- const StrandsAuth = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-31b99c9b"]]);
34379
+ const StrandsAuth = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-00363795"]]);
34327
34380
  const _hoisted_1$k = {
34328
34381
  viewBox: "0 0 24 24",
34329
34382
  class: "accui-w-5 accui-h-5"
@@ -40141,7 +40194,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
40141
40194
  squircle: { type: Boolean, default: true },
40142
40195
  to: {},
40143
40196
  href: {},
40144
- external: { type: Boolean }
40197
+ external: { type: Boolean },
40198
+ tabindex: {}
40145
40199
  },
40146
40200
  setup(__props) {
40147
40201
  const props = __props;