@adyen/bento-vue3 1.76.2 → 1.77.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.
Files changed (145) hide show
  1. package/dist/@types/index.d.ts +216 -33
  2. package/dist/assets/accordion-item.css +1 -1
  3. package/dist/assets/action-bar.css +1 -1
  4. package/dist/assets/base-modal.css +1 -1
  5. package/dist/assets/button-actions.css +1 -1
  6. package/dist/assets/card.css +1 -1
  7. package/dist/assets/data-grid.css +1 -1
  8. package/dist/assets/date-picker.css +1 -1
  9. package/dist/assets/date-range-picker.css +1 -1
  10. package/dist/assets/dialog-page.css +1 -1
  11. package/dist/assets/dropdown-default-textbox.css +1 -1
  12. package/dist/assets/dropdown-tag.css +1 -1
  13. package/dist/assets/dropdown.css +1 -1
  14. package/dist/assets/file-uploader.css +1 -1
  15. package/dist/assets/filter-bar.css +1 -1
  16. package/dist/assets/input-field-phone-number.css +1 -1
  17. package/dist/assets/input-field.css +1 -1
  18. package/dist/assets/inspector.css +1 -1
  19. package/dist/assets/modal-fullscreen.css +1 -1
  20. package/dist/assets/pagination.css +1 -1
  21. package/dist/assets/payment-method.css +1 -1
  22. package/dist/assets/secondary-nav.css +1 -1
  23. package/dist/assets/sidepanel.css +1 -1
  24. package/dist/assets/tag.css +1 -1
  25. package/dist/assets/textarea.css +1 -1
  26. package/dist/assets/timeline-item.css +1 -1
  27. package/dist/checkbox.js +2 -2
  28. package/dist/chunks/{checkbox-group.8ebmaHsA.js → checkbox-group.COUx8Ne8.js} +2 -2
  29. package/dist/chunks/{checkbox-group.8ebmaHsA.js.map → checkbox-group.COUx8Ne8.js.map} +1 -1
  30. package/dist/chunks/{checkbox.BI0dqARY.js → checkbox.SffuKyNj.js} +3 -3
  31. package/dist/chunks/{checkbox.BI0dqARY.js.map → checkbox.SffuKyNj.js.map} +1 -1
  32. package/dist/chunks/{code-snippet.Bjf1ma1L.js → code-snippet.ByoBEM00.js} +2 -2
  33. package/dist/chunks/{code-snippet.Bjf1ma1L.js.map → code-snippet.ByoBEM00.js.map} +1 -1
  34. package/dist/chunks/{currency.CBZMwm21.js → currency.WmvQjX7l.js} +2 -2
  35. package/dist/chunks/{currency.CBZMwm21.js.map → currency.WmvQjX7l.js.map} +1 -1
  36. package/dist/chunks/{data-grid.VBEJO94f.js → data-grid.CMIG82Xt.js} +7 -7
  37. package/dist/chunks/{data-grid.VBEJO94f.js.map → data-grid.CMIG82Xt.js.map} +1 -1
  38. package/dist/chunks/date-picker.CsGq3iSK.js +244 -0
  39. package/dist/chunks/date-picker.CsGq3iSK.js.map +1 -0
  40. package/dist/chunks/date-picker.types.Ckt7zxGy.js +5 -0
  41. package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -0
  42. package/dist/chunks/date-range-picker.C19CWG27.js +1149 -0
  43. package/dist/chunks/date-range-picker.C19CWG27.js.map +1 -0
  44. package/dist/chunks/{dropdown-default-textbox.MkU0tMf1.js → dropdown-default-textbox._KEBXjKT.js} +88 -86
  45. package/dist/chunks/dropdown-default-textbox._KEBXjKT.js.map +1 -0
  46. package/dist/chunks/dropdown-tag.B90dpg8J.js +301 -0
  47. package/dist/chunks/dropdown-tag.B90dpg8J.js.map +1 -0
  48. package/dist/chunks/dropdown.DYDHM__3.js +833 -0
  49. package/dist/chunks/{dropdown.KStrJVoP.js.map → dropdown.DYDHM__3.js.map} +1 -1
  50. package/dist/chunks/es6.MoTTyETW.js.map +1 -1
  51. package/dist/chunks/{file-uploader.By0MTfKk.js → file-uploader.BDXQ7Ccv.js} +416 -415
  52. package/dist/chunks/{file-uploader.By0MTfKk.js.map → file-uploader.BDXQ7Ccv.js.map} +1 -1
  53. package/dist/chunks/{filter-bar.JXmlFnHV.js → filter-bar.CmF92iAr.js} +303 -303
  54. package/dist/chunks/filter-bar.CmF92iAr.js.map +1 -0
  55. package/dist/chunks/form-field.BBqLu-vs.js +10 -0
  56. package/dist/chunks/form-field.BBqLu-vs.js.map +1 -0
  57. package/dist/chunks/get-slot-text.CQRAP2_q.js +12 -0
  58. package/dist/chunks/get-slot-text.CQRAP2_q.js.map +1 -0
  59. package/dist/chunks/{header-with-views.Dg2usaMY.js → header-with-views.xPfeOz0Y.js} +3 -3
  60. package/dist/chunks/{header-with-views.Dg2usaMY.js.map → header-with-views.xPfeOz0Y.js.map} +1 -1
  61. package/dist/chunks/{input-field-password.B6nJ7ygZ.js → input-field-password.BZBYVyAb.js} +3 -3
  62. package/dist/chunks/{input-field-password.B6nJ7ygZ.js.map → input-field-password.BZBYVyAb.js.map} +1 -1
  63. package/dist/chunks/{input-field-phone-number.D_UBAN2s.js → input-field-phone-number.a8Mw5PAW.js} +5 -5
  64. package/dist/chunks/{input-field-phone-number.D_UBAN2s.js.map → input-field-phone-number.a8Mw5PAW.js.map} +1 -1
  65. package/dist/chunks/{input-field.C29FCI4j.js → input-field.CYGGIK48.js} +48 -48
  66. package/dist/chunks/input-field.CYGGIK48.js.map +1 -0
  67. package/dist/chunks/{listbox-option-tag.uHSB7MO6.js → listbox-option-tag.Cwe9Bn-R.js} +2 -2
  68. package/dist/chunks/{listbox-option-tag.uHSB7MO6.js.map → listbox-option-tag.Cwe9Bn-R.js.map} +1 -1
  69. package/dist/chunks/{pagination.BaBWNlIF.js → pagination.CYdGcyMA.js} +49 -49
  70. package/dist/chunks/pagination.CYdGcyMA.js.map +1 -0
  71. package/dist/chunks/{payment-method.CDnn1bjo.js → payment-method.D6PeTYWq.js} +45 -42
  72. package/dist/chunks/payment-method.D6PeTYWq.js.map +1 -0
  73. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -1
  74. package/dist/chunks/{radio-group.DWNqrkZ3.js → radio-group.B_8R6vGx.js} +3 -3
  75. package/dist/chunks/{radio-group.DWNqrkZ3.js.map → radio-group.B_8R6vGx.js.map} +1 -1
  76. package/dist/chunks/{rich-text-editor.Bh7KS617.js → rich-text-editor.B6Ftqv55.js} +2 -2
  77. package/dist/chunks/{rich-text-editor.Bh7KS617.js.map → rich-text-editor.B6Ftqv55.js.map} +1 -1
  78. package/dist/chunks/{search-bar.RS02IcLc.js → search-bar.D3Ri_RUK.js} +3 -3
  79. package/dist/chunks/{search-bar.RS02IcLc.js.map → search-bar.D3Ri_RUK.js.map} +1 -1
  80. package/dist/chunks/{secondary-nav.DXsgUTqk.js → secondary-nav.CAb20jWW.js} +24 -24
  81. package/dist/chunks/secondary-nav.CAb20jWW.js.map +1 -0
  82. package/dist/chunks/{summary-grid.types.ByQ4u19J.js → summary-grid.types.cE1fyLvC.js} +2 -2
  83. package/dist/chunks/{summary-grid.types.ByQ4u19J.js.map → summary-grid.types.cE1fyLvC.js.map} +1 -1
  84. package/dist/chunks/tag.CjaB9DxL.js +57 -0
  85. package/dist/chunks/tag.CjaB9DxL.js.map +1 -0
  86. package/dist/chunks/textarea.C_gnXj6b.js +254 -0
  87. package/dist/chunks/textarea.C_gnXj6b.js.map +1 -0
  88. package/dist/chunks/{timeline-item.DNjubXL2.js → timeline-item.rSY0Xce3.js} +48 -48
  89. package/dist/chunks/timeline-item.rSY0Xce3.js.map +1 -0
  90. package/dist/chunks/{toggle.Dd_NA8eH.js → toggle.BHCUjMpp.js} +2 -2
  91. package/dist/chunks/{toggle.Dd_NA8eH.js.map → toggle.BHCUjMpp.js.map} +1 -1
  92. package/dist/code-snippet.js +1 -1
  93. package/dist/currency.js +1 -1
  94. package/dist/data-grid.js +1 -1
  95. package/dist/date-picker.js +7 -6
  96. package/dist/date-picker.js.map +1 -1
  97. package/dist/date-range-picker.js +1 -1
  98. package/dist/dropdown.js +3 -3
  99. package/dist/file-uploader.js +1 -1
  100. package/dist/filter-bar.js +1 -1
  101. package/dist/header-with-views.js +1 -1
  102. package/dist/index.js +246 -245
  103. package/dist/index.js.map +1 -1
  104. package/dist/input-field-password.js +1 -1
  105. package/dist/input-field-phone-number.js +1 -1
  106. package/dist/input-field.js +1 -1
  107. package/dist/internal.js +1 -1
  108. package/dist/pagination.js +1 -1
  109. package/dist/payment-method.js +1 -1
  110. package/dist/radio-group.js +1 -1
  111. package/dist/rich-text-editor.js +1 -1
  112. package/dist/search-bar.js +2 -2
  113. package/dist/secondary-nav.js +1 -1
  114. package/dist/styles/bento-dark.css +4 -0
  115. package/dist/styles/bento-light.css +4 -0
  116. package/dist/styles/bento.css +4 -0
  117. package/dist/styles/legacy.css +4 -0
  118. package/dist/styles/styleguide.css +4 -0
  119. package/dist/summary-grid.js +1 -1
  120. package/dist/tag.js +1 -1
  121. package/dist/textarea.js +1 -1
  122. package/dist/timeline.js +1 -1
  123. package/dist/toggle.js +1 -1
  124. package/dist/web-types.json +1 -1
  125. package/package.json +5 -5
  126. package/dist/chunks/date-picker.OI-sQ232.js +0 -234
  127. package/dist/chunks/date-picker.OI-sQ232.js.map +0 -1
  128. package/dist/chunks/date-range-picker.D7IwIR5V.js +0 -1114
  129. package/dist/chunks/date-range-picker.D7IwIR5V.js.map +0 -1
  130. package/dist/chunks/dropdown-default-textbox.MkU0tMf1.js.map +0 -1
  131. package/dist/chunks/dropdown-tag.DFeoXIgH.js +0 -242
  132. package/dist/chunks/dropdown-tag.DFeoXIgH.js.map +0 -1
  133. package/dist/chunks/dropdown.KStrJVoP.js +0 -825
  134. package/dist/chunks/filter-bar.JXmlFnHV.js.map +0 -1
  135. package/dist/chunks/get-slot-text.DQlZEsId.js +0 -12
  136. package/dist/chunks/get-slot-text.DQlZEsId.js.map +0 -1
  137. package/dist/chunks/input-field.C29FCI4j.js.map +0 -1
  138. package/dist/chunks/pagination.BaBWNlIF.js.map +0 -1
  139. package/dist/chunks/payment-method.CDnn1bjo.js.map +0 -1
  140. package/dist/chunks/secondary-nav.DXsgUTqk.js.map +0 -1
  141. package/dist/chunks/tag.CEmpyuYX.js +0 -50
  142. package/dist/chunks/tag.CEmpyuYX.js.map +0 -1
  143. package/dist/chunks/textarea.C1jkfowf.js +0 -246
  144. package/dist/chunks/textarea.C1jkfowf.js.map +0 -1
  145. package/dist/chunks/timeline-item.DNjubXL2.js.map +0 -1
@@ -1,37 +1,38 @@
1
- import { createElementBlock as x, openBlock as s, mergeProps as V, createCommentVNode as v, createElementVNode as m, toDisplayString as f, defineComponent as la, createBlock as k, unref as t, Transition as li, withCtx as y, renderSlot as $a, TransitionGroup as si, ref as I, onUnmounted as ci, onMounted as Ha, computed as h, watch as ha, normalizeClass as q, createVNode as O, resolveDynamicComponent as di, withDirectives as qa, createTextVNode as _, reactive as ba, toRef as xa, withKeys as _a, withModifiers as aa, Fragment as ja, renderList as ri, vShow as mi, nextTick as ui } from "vue";
1
+ import { createElementBlock as g, openBlock as s, mergeProps as V, createCommentVNode as f, createElementVNode as m, toDisplayString as x, defineComponent as ca, createBlock as y, unref as t, Transition as si, withCtx as w, renderSlot as _a, TransitionGroup as ci, ref as I, onUnmounted as di, onMounted as qa, computed as h, watch as ha, normalizeClass as q, createVNode as O, resolveDynamicComponent as ri, withDirectives as Ba, createTextVNode as _, reactive as ba, toRef as xa, withKeys as ja, withModifiers as aa, Fragment as za, renderList as mi, vShow as ui, nextTick as vi } from "vue";
2
2
  /* empty css */
3
3
  import { _ as L } from "./_plugin-vue_export-helper.CHgC5LLL.js";
4
- import { W as Ba } from "./warning-filled.BMGD0G-_.js";
5
- import { B as vi } from "./alert.C2pusd-_.js";
6
- import { B as R, d as fi } from "./typography.yBEME_Gu.js";
7
- import { u as sa } from "./index.pdBj0KQU.js";
8
- import { g as S } from "./generate-uid.NJ8tVoha.js";
9
- import { i as Za } from "./index.CWuzEfiV.js";
10
- import { B as xi } from "./bin.DuHlEQBO.js";
11
- import { C as gi } from "./checkmark-circle-fill._6-d40ru.js";
12
- import { C as hi } from "./cross.B92GxFTY.js";
13
- import { R as bi } from "./refresh.BB4ouvz_.js";
14
- import { b as wi } from "./tooltip.Dp9_ESm_.js";
4
+ import { W as Za } from "./warning-filled.BMGD0G-_.js";
5
+ import { B as fi } from "./alert.C2pusd-_.js";
6
+ import { B as R, d as xi } from "./typography.yBEME_Gu.js";
7
+ import { u as da } from "./index.pdBj0KQU.js";
8
+ import { g as F } from "./generate-uid.NJ8tVoha.js";
9
+ import { u as gi } from "./form-field.BBqLu-vs.js";
10
+ import { i as Aa } from "./index.CWuzEfiV.js";
11
+ import { B as hi } from "./bin.DuHlEQBO.js";
12
+ import { C as bi } from "./checkmark-circle-fill._6-d40ru.js";
13
+ import { C as wi } from "./cross.B92GxFTY.js";
14
+ import { R as yi } from "./refresh.BB4ouvz_.js";
15
+ import { b as ki } from "./tooltip.Dp9_ESm_.js";
15
16
  import { B as ga } from "./button.DhcxX2GJ.js";
16
- import { B as yi } from "./link.cwPmWlsk.js";
17
- import { B as ki } from "./loading-indicator.Db794TT5.js";
18
- import { F as Ci, E as $i } from "./field-label.C97CrBI_.js";
17
+ import { B as Ci } from "./link.cwPmWlsk.js";
18
+ import { B as $i } from "./loading-indicator.Db794TT5.js";
19
+ import { F as _i, E as ji } from "./field-label.C97CrBI_.js";
19
20
  import "../assets/file-uploader.css";
20
- let za = 0;
21
- const _i = {
21
+ let Ra = 0;
22
+ const zi = {
22
23
  beforeCreate() {
23
- this.uuid = za.toString(), za += 1;
24
+ this.uuid = Ra.toString(), Ra += 1;
24
25
  }
25
- }, ji = { key: 0 };
26
- function zi(a, i, o, p, n, d) {
27
- return s(), x("svg", V({ role: "img" }, a.$attrs, {
26
+ }, Ri = { key: 0 };
27
+ function Ei(a, i, o, p, n, d) {
28
+ return s(), g("svg", V({ role: "img" }, a.$attrs, {
28
29
  class: "ui-assets-icons-16",
29
30
  xmlns: "http://www.w3.org/2000/svg",
30
31
  width: "16",
31
32
  height: "16",
32
33
  fill: "none"
33
34
  }), [
34
- a.$attrs["svg-title"] ? (s(), x("title", ji, f(a.$attrs["svg-title"]), 1)) : v("", !0),
35
+ a.$attrs["svg-title"] ? (s(), g("title", Ri, x(a.$attrs["svg-title"]), 1)) : f("", !0),
35
36
  i[0] || (i[0] = m("path", {
36
37
  fill: "#001222",
37
38
  d: "M2.75 12C2.75 12.6904 3.30964 13.25 4 13.25H12C12.6904 13.25 13.25 12.6904 13.25 12V10.25H14.75V12C14.75 13.5188 13.5188 14.75 12 14.75H4C2.48122 14.75 1.25 13.5188 1.25 12V10.25H2.75V12Z"
@@ -42,44 +43,44 @@ function zi(a, i, o, p, n, d) {
42
43
  }, null, -1))
43
44
  ], 16);
44
45
  }
45
- const Ri = /* @__PURE__ */ L(_i, [["render", zi]]), Ei = /* @__PURE__ */ la({
46
+ const Ii = /* @__PURE__ */ L(zi, [["render", Ei]]), Li = /* @__PURE__ */ ca({
46
47
  __name: "file-uploader-file-card-animation",
47
48
  props: {
48
49
  name: {},
49
50
  showFileIcon: { type: Boolean }
50
51
  },
51
52
  setup(a) {
52
- return (i, o) => t(Za) ? (s(), k(li, {
53
+ return (i, o) => t(Aa) ? (s(), y(si, {
53
54
  key: 0,
54
55
  name: i.name,
55
56
  mode: "out-in",
56
57
  css: i.showFileIcon
57
58
  }, {
58
- default: y(() => [
59
- $a(i.$slots, "default")
59
+ default: w(() => [
60
+ _a(i.$slots, "default")
60
61
  ]),
61
62
  _: 3
62
- }, 8, ["name", "css"])) : (s(), k(si, {
63
+ }, 8, ["name", "css"])) : (s(), y(ci, {
63
64
  key: 1,
64
65
  name: i.name,
65
66
  css: i.showFileIcon
66
67
  }, {
67
- default: y(() => [
68
- $a(i.$slots, "default")
68
+ default: w(() => [
69
+ _a(i.$slots, "default")
69
70
  ]),
70
71
  _: 3
71
72
  }, 8, ["name", "css"]));
72
73
  }
73
74
  });
74
- function Ii(a, i) {
75
+ function Ti(a, i) {
75
76
  const o = I(!1);
76
77
  let p;
77
78
  function n() {
78
79
  p && p.disconnect();
79
80
  }
80
- return ci(() => {
81
+ return di(() => {
81
82
  n();
82
- }), Ha(() => {
83
+ }), qa(() => {
83
84
  n(), p = new IntersectionObserver(
84
85
  (d) => {
85
86
  o.value = !d[0].isIntersecting;
@@ -91,23 +92,23 @@ function Ii(a, i) {
91
92
  ), p.observe(a.value.$el);
92
93
  }), o;
93
94
  }
94
- const Ra = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
95
- function Aa(a, i) {
96
- const o = Math.max(0, Math.min(Math.floor(Math.log(i) / Math.log(1024)), Ra.length - 1));
95
+ const Ea = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
96
+ function Ua(a, i) {
97
+ const o = Math.max(0, Math.min(Math.floor(Math.log(i) / Math.log(1024)), Ea.length - 1));
97
98
  return Intl.NumberFormat(a, {
98
99
  style: "unit",
99
- unit: Ra[o]
100
+ unit: Ea[o]
100
101
  }).format(i / 1024 ** o);
101
102
  }
102
- var F = /* @__PURE__ */ ((a) => (a.LOADING = "loading", a.SUCCESS = "success", a.ERROR = "error", a))(F || {}), E = /* @__PURE__ */ ((a) => (a.ERROR_SIZE = "error-size", a.ERROR_LOAD = "error-load", a.ERROR_DIMENSIONS = "error-dimensions", a.ERROR_TYPE = "error-type", a))(E || {}), pa = /* @__PURE__ */ ((a) => (a.DISABLED = "disabled", a.DRAG_OVER = "drag-over", a.ERROR = "error", a.READONLY = "readonly", a))(pa || {}), b = /* @__PURE__ */ ((a) => (a.TABLE = "table", a.IMAGE = "image", a.VIDEO = "video", a.AUDIO = "audio", a.TEXT = "text", a.PDF = "pdf", a.SLIDES = "slides", a.COMPRESSED = "compressed", a.GENERIC = "generic", a))(b || {});
103
- const Li = [
103
+ var S = /* @__PURE__ */ ((a) => (a.LOADING = "loading", a.SUCCESS = "success", a.ERROR = "error", a))(S || {}), E = /* @__PURE__ */ ((a) => (a.ERROR_SIZE = "error-size", a.ERROR_LOAD = "error-load", a.ERROR_DIMENSIONS = "error-dimensions", a.ERROR_TYPE = "error-type", a))(E || {}), sa = /* @__PURE__ */ ((a) => (a.DISABLED = "disabled", a.DRAG_OVER = "drag-over", a.ERROR = "error", a.READONLY = "readonly", a))(sa || {}), b = /* @__PURE__ */ ((a) => (a.TABLE = "table", a.IMAGE = "image", a.VIDEO = "video", a.AUDIO = "audio", a.TEXT = "text", a.PDF = "pdf", a.SLIDES = "slides", a.COMPRESSED = "compressed", a.GENERIC = "generic", a))(b || {});
104
+ const Mi = [
104
105
  "application/msword",
105
106
  // .doc
106
107
  "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
107
108
  // .docx
108
109
  "application/rtf"
109
110
  // .rtf
110
- ], Ti = [
111
+ ], Fi = [
111
112
  "application/vnd.ms-excel",
112
113
  // .xls
113
114
  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
@@ -120,14 +121,14 @@ const Li = [
120
121
  // .numbers
121
122
  "text/csv"
122
123
  // .csv
123
- ], Mi = [
124
+ ], Si = [
124
125
  "application/vnd.ms-powerpoint",
125
126
  // .ppt
126
127
  "application/vnd.openxmlformats-officedocument.presentationml.presentation",
127
128
  // .pptx
128
129
  "application/vnd.oasis.opendocument.presentation"
129
130
  // .odp
130
- ], Si = [
131
+ ], Vi = [
131
132
  "application/zip",
132
133
  // .zip
133
134
  "application/vnd.rar",
@@ -149,10 +150,10 @@ const Li = [
149
150
  "application/vnd.ms-cab-compressed"
150
151
  // .cab
151
152
  ];
152
- function Fi(a) {
153
- return Ti.includes(a.type) ? b.TABLE : a.type.startsWith("text/") || Li.includes(a.type) ? b.TEXT : a.type.startsWith("image/") ? b.IMAGE : a.type.startsWith("video/") ? b.VIDEO : a.type.startsWith("audio/") ? b.AUDIO : a.type === "application/pdf" ? b.PDF : Mi.includes(a.type) ? b.SLIDES : Si.includes(a.type) ? b.COMPRESSED : b.GENERIC;
153
+ function Di(a) {
154
+ return Fi.includes(a.type) ? b.TABLE : a.type.startsWith("text/") || Mi.includes(a.type) ? b.TEXT : a.type.startsWith("image/") ? b.IMAGE : a.type.startsWith("video/") ? b.VIDEO : a.type.startsWith("audio/") ? b.AUDIO : a.type === "application/pdf" ? b.PDF : Si.includes(a.type) ? b.SLIDES : Vi.includes(a.type) ? b.COMPRESSED : b.GENERIC;
154
155
  }
155
- function Vi(a, i) {
156
+ function Oi(a, i) {
156
157
  if (!i)
157
158
  return !0;
158
159
  const o = i.split(",").map((p) => p.trim());
@@ -168,44 +169,44 @@ function Vi(a, i) {
168
169
  return !0;
169
170
  return !1;
170
171
  }
171
- function Di(a, i, o) {
172
+ function Hi(a, i, o) {
172
173
  const p = new FileReader(), n = a;
173
- if (!Vi(n.data, i)) {
174
- n.state = F.ERROR, n.errors.push(E.ERROR_TYPE);
174
+ if (!Oi(n.data, i)) {
175
+ n.state = S.ERROR, n.errors.push(E.ERROR_TYPE);
175
176
  return;
176
177
  }
177
178
  p.onload = (d) => {
178
179
  if (o && n.type === b.IMAGE) {
179
- const l = new Blob([d.target.result], { type: n.data.type }), u = URL.createObjectURL(l), w = new Image();
180
- w.onload = function() {
181
- (w.width > o.width || w.height > o.height) && (n.state = F.ERROR, n.errors.push(E.ERROR_DIMENSIONS)), URL.revokeObjectURL(u);
182
- }, w.onerror = function() {
180
+ const l = new Blob([d.target.result], { type: n.data.type }), u = URL.createObjectURL(l), k = new Image();
181
+ k.onload = function() {
182
+ (k.width > o.width || k.height > o.height) && (n.state = S.ERROR, n.errors.push(E.ERROR_DIMENSIONS)), URL.revokeObjectURL(u);
183
+ }, k.onerror = function() {
183
184
  URL.revokeObjectURL(u);
184
- }, w.src = u;
185
+ }, k.src = u;
185
186
  }
186
187
  }, p.onprogress = (d) => {
187
188
  d.lengthComputable && (n.progress = d.loaded / d.total * 100);
188
189
  }, p.onloadend = () => {
189
- n.state !== F.ERROR && (n.state = F.SUCCESS), n.progress = null;
190
+ n.state !== S.ERROR && (n.state = S.SUCCESS), n.progress = null;
190
191
  }, p.onerror = () => {
191
- n.state = F.ERROR, n.errors.push(E.ERROR_LOAD), n.progress = null;
192
+ n.state = S.ERROR, n.errors.push(E.ERROR_LOAD), n.progress = null;
192
193
  }, p.readAsArrayBuffer(n.data);
193
194
  }
194
- let Ea = 0;
195
- const Oi = {
195
+ let Ia = 0;
196
+ const qi = {
196
197
  beforeCreate() {
197
- this.uuid = Ea.toString(), Ea += 1;
198
+ this.uuid = Ia.toString(), Ia += 1;
198
199
  }
199
- }, Hi = { key: 0 }, qi = ["clip-path"], Bi = ["id"];
200
- function Zi(a, i, o, p, n, d) {
201
- return s(), x("svg", V({ role: "img" }, a.$attrs, {
200
+ }, Bi = { key: 0 }, Zi = ["clip-path"], Ai = ["id"];
201
+ function Ui(a, i, o, p, n, d) {
202
+ return s(), g("svg", V({ role: "img" }, a.$attrs, {
202
203
  class: "ui-assets-icons-16",
203
204
  xmlns: "http://www.w3.org/2000/svg",
204
205
  width: "16",
205
206
  height: "16",
206
207
  fill: "none"
207
208
  }), [
208
- a.$attrs["svg-title"] ? (s(), x("title", Hi, f(a.$attrs["svg-title"]), 1)) : v("", !0),
209
+ a.$attrs["svg-title"] ? (s(), g("title", Bi, x(a.$attrs["svg-title"]), 1)) : f("", !0),
209
210
  m("g", {
210
211
  "clip-path": "url(#uia-ui-assets/icons-16-attachment__a" + a.uuid + ")"
211
212
  }, i[0] || (i[0] = [
@@ -213,7 +214,7 @@ function Zi(a, i, o, p, n, d) {
213
214
  fill: "#001222",
214
215
  d: "M7.10655 3.02949C8.98948 1.14706 12.0441 1.14675 13.9269 3.02949C15.8095 4.91225 15.8093 7.96692 13.9269 9.84981L11.1564 12.6203L10.0958 11.5598L12.8663 8.78926C14.1629 7.49216 14.1631 5.38701 12.8663 4.09004C11.5694 2.79309 9.46424 2.79339 8.1671 4.09004L2.72667 9.53047C1.95976 10.2976 1.95963 11.5427 2.72667 12.3098C3.49372 13.0766 4.7389 13.0766 5.50597 12.3098L10.9464 6.86934C11.183 6.63224 11.1832 6.24693 10.9464 6.00996C10.7094 5.77301 10.3242 5.77331 10.087 6.00996L4.4962 11.6008L3.43565 10.5402L9.02647 4.94942C9.8494 4.12698 11.1842 4.12668 12.0069 4.94942C12.8296 5.77217 12.8293 7.107 12.0069 7.92989L6.56651 13.3703C5.21366 14.723 3.01896 14.723 1.66612 13.3703C0.313294 12.0175 0.313425 9.82283 1.66612 8.46992L7.10655 3.02949Z"
215
216
  }, null, -1)
216
- ]), 8, qi),
217
+ ]), 8, Zi),
217
218
  m("defs", null, [
218
219
  m("clipPath", {
219
220
  id: "uia-ui-assets/icons-16-attachment__a" + a.uuid
@@ -223,26 +224,26 @@ function Zi(a, i, o, p, n, d) {
223
224
  height: "16",
224
225
  fill: "#fff"
225
226
  }, null, -1)
226
- ]), 8, Bi)
227
+ ]), 8, Ai)
227
228
  ])
228
229
  ], 16);
229
230
  }
230
- const Ai = /* @__PURE__ */ L(Oi, [["render", Zi]]);
231
- let Ia = 0;
232
- const Ui = {
231
+ const Ni = /* @__PURE__ */ L(qi, [["render", Ui]]);
232
+ let La = 0;
233
+ const Pi = {
233
234
  beforeCreate() {
234
- this.uuid = Ia.toString(), Ia += 1;
235
+ this.uuid = La.toString(), La += 1;
235
236
  }
236
- }, Ni = { key: 0 };
237
- function Pi(a, i, o, p, n, d) {
238
- return s(), x("svg", V({ role: "img" }, a.$attrs, {
237
+ }, Gi = { key: 0 };
238
+ function Wi(a, i, o, p, n, d) {
239
+ return s(), g("svg", V({ role: "img" }, a.$attrs, {
239
240
  class: "ui-assets-icons-16",
240
241
  xmlns: "http://www.w3.org/2000/svg",
241
242
  width: "16",
242
243
  height: "16",
243
244
  fill: "none"
244
245
  }), [
245
- a.$attrs["svg-title"] ? (s(), x("title", Ni, f(a.$attrs["svg-title"]), 1)) : v("", !0),
246
+ a.$attrs["svg-title"] ? (s(), g("title", Gi, x(a.$attrs["svg-title"]), 1)) : f("", !0),
246
247
  i[0] || (i[0] = m("path", {
247
248
  fill: "#001222",
248
249
  "fill-rule": "evenodd",
@@ -251,44 +252,44 @@ function Pi(a, i, o, p, n, d) {
251
252
  }, null, -1))
252
253
  ], 16);
253
254
  }
254
- const Gi = /* @__PURE__ */ L(Ui, [["render", Pi]]);
255
- let La = 0;
256
- const Wi = {
255
+ const Yi = /* @__PURE__ */ L(Pi, [["render", Wi]]);
256
+ let Ta = 0;
257
+ const Xi = {
257
258
  beforeCreate() {
258
- this.uuid = La.toString(), La += 1;
259
+ this.uuid = Ta.toString(), Ta += 1;
259
260
  }
260
- }, Yi = { key: 0 };
261
- function Xi(a, i, o, p, n, d) {
262
- return s(), x("svg", V({ role: "img" }, a.$attrs, {
261
+ }, Ji = { key: 0 };
262
+ function Ki(a, i, o, p, n, d) {
263
+ return s(), g("svg", V({ role: "img" }, a.$attrs, {
263
264
  class: "ui-assets-icons-16",
264
265
  xmlns: "http://www.w3.org/2000/svg",
265
266
  width: "16",
266
267
  height: "16",
267
268
  fill: "none"
268
269
  }), [
269
- a.$attrs["svg-title"] ? (s(), x("title", Yi, f(a.$attrs["svg-title"]), 1)) : v("", !0),
270
+ a.$attrs["svg-title"] ? (s(), g("title", Ji, x(a.$attrs["svg-title"]), 1)) : f("", !0),
270
271
  i[0] || (i[0] = m("path", {
271
272
  fill: "#001222",
272
273
  d: "M2.25 0.25V15.75H13.75V4.68934L9.31066 0.25H2.25ZM7.25 1.75V6.75H12.25V14.25H3.75V1.75H7.25ZM12.1893 5.25H8.75V1.81066L12.1893 5.25Z"
273
274
  }, null, -1))
274
275
  ], 16);
275
276
  }
276
- const Ji = /* @__PURE__ */ L(Wi, [["render", Xi]]);
277
- let Ta = 0;
278
- const Ki = {
277
+ const Qi = /* @__PURE__ */ L(Xi, [["render", Ki]]);
278
+ let Ma = 0;
279
+ const ae = {
279
280
  beforeCreate() {
280
- this.uuid = Ta.toString(), Ta += 1;
281
+ this.uuid = Ma.toString(), Ma += 1;
281
282
  }
282
- }, Qi = { key: 0 };
283
- function ae(a, i, o, p, n, d) {
284
- return s(), x("svg", V({ role: "img" }, a.$attrs, {
283
+ }, ie = { key: 0 };
284
+ function ee(a, i, o, p, n, d) {
285
+ return s(), g("svg", V({ role: "img" }, a.$attrs, {
285
286
  class: "ui-assets-icons-16",
286
287
  xmlns: "http://www.w3.org/2000/svg",
287
288
  width: "16",
288
289
  height: "16",
289
290
  fill: "none"
290
291
  }), [
291
- a.$attrs["svg-title"] ? (s(), x("title", Qi, f(a.$attrs["svg-title"]), 1)) : v("", !0),
292
+ a.$attrs["svg-title"] ? (s(), g("title", ie, x(a.$attrs["svg-title"]), 1)) : f("", !0),
292
293
  i[0] || (i[0] = m("path", {
293
294
  fill: "#001222",
294
295
  d: "M5.24609 8.25H10.7461V9.75H5.24609V8.25Z"
@@ -303,44 +304,44 @@ function ae(a, i, o, p, n, d) {
303
304
  }, null, -1))
304
305
  ], 16);
305
306
  }
306
- const ie = /* @__PURE__ */ L(Ki, [["render", ae]]);
307
- let Ma = 0;
308
- const ee = {
307
+ const te = /* @__PURE__ */ L(ae, [["render", ee]]);
308
+ let Fa = 0;
309
+ const ne = {
309
310
  beforeCreate() {
310
- this.uuid = Ma.toString(), Ma += 1;
311
+ this.uuid = Fa.toString(), Fa += 1;
311
312
  }
312
- }, te = { key: 0 };
313
- function ne(a, i, o, p, n, d) {
314
- return s(), x("svg", V({ role: "img" }, a.$attrs, {
313
+ }, oe = { key: 0 };
314
+ function pe(a, i, o, p, n, d) {
315
+ return s(), g("svg", V({ role: "img" }, a.$attrs, {
315
316
  class: "ui-assets-icons-16",
316
317
  xmlns: "http://www.w3.org/2000/svg",
317
318
  width: "16",
318
319
  height: "16",
319
320
  fill: "none"
320
321
  }), [
321
- a.$attrs["svg-title"] ? (s(), x("title", te, f(a.$attrs["svg-title"]), 1)) : v("", !0),
322
+ a.$attrs["svg-title"] ? (s(), g("title", oe, x(a.$attrs["svg-title"]), 1)) : f("", !0),
322
323
  i[0] || (i[0] = m("path", {
323
324
  fill: "#001222",
324
325
  d: "M1.24609 12V5C1.24609 3.48579 2.48188 2.25 3.99609 2.25H7.30664L10.3066 5.25H11.9961C13.5103 5.25 14.7461 6.48579 14.7461 8V12C14.7461 13.5142 13.5103 14.75 11.9961 14.75H3.99609C2.48188 14.75 1.24609 13.5142 1.24609 12ZM2.74609 12C2.74609 12.6858 3.31031 13.25 3.99609 13.25H11.9961C12.6819 13.25 13.2461 12.6858 13.2461 12V8C13.2461 7.31421 12.6819 6.75 11.9961 6.75H9.68555L6.68555 3.75H3.99609C3.31031 3.75 2.74609 4.31421 2.74609 5V12Z"
325
326
  }, null, -1))
326
327
  ], 16);
327
328
  }
328
- const oe = /* @__PURE__ */ L(ee, [["render", ne]]);
329
+ const le = /* @__PURE__ */ L(ne, [["render", pe]]);
329
330
  let Sa = 0;
330
- const pe = {
331
+ const se = {
331
332
  beforeCreate() {
332
333
  this.uuid = Sa.toString(), Sa += 1;
333
334
  }
334
- }, le = { key: 0 };
335
- function se(a, i, o, p, n, d) {
336
- return s(), x("svg", V({ role: "img" }, a.$attrs, {
335
+ }, ce = { key: 0 };
336
+ function de(a, i, o, p, n, d) {
337
+ return s(), g("svg", V({ role: "img" }, a.$attrs, {
337
338
  class: "ui-assets-icons-16",
338
339
  xmlns: "http://www.w3.org/2000/svg",
339
340
  width: "16",
340
341
  height: "16",
341
342
  fill: "none"
342
343
  }), [
343
- a.$attrs["svg-title"] ? (s(), x("title", le, f(a.$attrs["svg-title"]), 1)) : v("", !0),
344
+ a.$attrs["svg-title"] ? (s(), g("title", ce, x(a.$attrs["svg-title"]), 1)) : f("", !0),
344
345
  i[0] || (i[0] = m("path", {
345
346
  fill: "#001222",
346
347
  d: "M9.74609 3.74805C11.1268 3.74805 12.2461 4.86733 12.2461 6.24805C12.2461 7.62876 11.1268 8.74805 9.74609 8.74805C8.36538 8.74805 7.24609 7.62876 7.24609 6.24805C7.24609 4.86733 8.36538 3.74805 9.74609 3.74805ZM9.74609 5.24805C9.19381 5.24805 8.74609 5.69576 8.74609 6.24805C8.74609 6.80033 9.19381 7.24805 9.74609 7.24805C10.2984 7.24805 10.7461 6.80033 10.7461 6.24805C10.7461 5.69576 10.2984 5.24805 9.74609 5.24805Z"
@@ -351,29 +352,29 @@ function se(a, i, o, p, n, d) {
351
352
  }, null, -1))
352
353
  ], 16);
353
354
  }
354
- const ce = /* @__PURE__ */ L(pe, [["render", se]]);
355
- let Fa = 0;
356
- const de = {
355
+ const re = /* @__PURE__ */ L(se, [["render", de]]);
356
+ let Va = 0;
357
+ const me = {
357
358
  beforeCreate() {
358
- this.uuid = Fa.toString(), Fa += 1;
359
+ this.uuid = Va.toString(), Va += 1;
359
360
  }
360
- }, re = { key: 0 }, me = ["clip-path"], ue = ["id"];
361
- function ve(a, i, o, p, n, d) {
362
- return s(), x("svg", V({ role: "img" }, a.$attrs, {
361
+ }, ue = { key: 0 }, ve = ["clip-path"], fe = ["id"];
362
+ function xe(a, i, o, p, n, d) {
363
+ return s(), g("svg", V({ role: "img" }, a.$attrs, {
363
364
  class: "ui-assets-icons-16",
364
365
  xmlns: "http://www.w3.org/2000/svg",
365
366
  width: "16",
366
367
  height: "16",
367
368
  fill: "none"
368
369
  }), [
369
- a.$attrs["svg-title"] ? (s(), x("title", re, f(a.$attrs["svg-title"]), 1)) : v("", !0),
370
+ a.$attrs["svg-title"] ? (s(), g("title", ue, x(a.$attrs["svg-title"]), 1)) : f("", !0),
370
371
  m("g", {
371
372
  fill: "#001222",
372
373
  "clip-path": "url(#uia-ui-assets/icons-16-play_circle__a" + a.uuid + ")"
373
374
  }, i[0] || (i[0] = [
374
375
  m("path", { d: "M10.9722 8.00002L6.62012 5.09863V10.9014L10.9722 8.00002Z" }, null, -1),
375
376
  m("path", { d: "M5.0342 0.839937C6.45033 0.253358 8.0086 0.0998821 9.51195 0.398918C11.0153 0.697953 12.3962 1.43607 13.4801 2.51993C14.5639 3.60378 15.3021 4.9847 15.6011 6.48805C15.9001 7.99141 15.7466 9.54967 15.1601 10.9658C14.5735 12.3819 13.5801 13.5923 12.3057 14.4439C11.0312 15.2955 9.53281 15.75 8 15.75C5.94457 15.75 3.97333 14.9335 2.51992 13.4801C1.06652 12.0267 0.25 10.0554 0.25 8C0.25 6.4672 0.704529 4.96881 1.55611 3.69433C2.40769 2.41985 3.61808 1.42652 5.0342 0.839937ZM9.21931 1.8701C8.00693 1.62894 6.75027 1.75271 5.60823 2.22576C4.46619 2.6988 3.49007 3.49988 2.80331 4.52769C2.11656 5.5555 1.75 6.76387 1.75 8C1.75 9.65761 2.40848 11.2473 3.58058 12.4194C4.75268 13.5915 6.3424 14.25 8 14.25C9.23613 14.25 10.4445 13.8834 11.4723 13.1967C12.5001 12.5099 13.3012 11.5338 13.7742 10.3918C14.2473 9.24974 14.3711 7.99307 14.1299 6.78069C13.8887 5.56831 13.2935 4.45466 12.4194 3.58059C11.5453 2.70651 10.4317 2.11125 9.21931 1.8701Z" }, null, -1)
376
- ]), 8, me),
377
+ ]), 8, ve),
377
378
  m("defs", null, [
378
379
  m("clipPath", {
379
380
  id: "uia-ui-assets/icons-16-play_circle__a" + a.uuid
@@ -383,26 +384,26 @@ function ve(a, i, o, p, n, d) {
383
384
  height: "16",
384
385
  fill: "#fff"
385
386
  }, null, -1)
386
- ]), 8, ue)
387
+ ]), 8, fe)
387
388
  ])
388
389
  ], 16);
389
390
  }
390
- const fe = /* @__PURE__ */ L(de, [["render", ve]]);
391
- let Va = 0;
392
- const xe = {
391
+ const ge = /* @__PURE__ */ L(me, [["render", xe]]);
392
+ let Da = 0;
393
+ const he = {
393
394
  beforeCreate() {
394
- this.uuid = Va.toString(), Va += 1;
395
+ this.uuid = Da.toString(), Da += 1;
395
396
  }
396
- }, ge = { key: 0 };
397
- function he(a, i, o, p, n, d) {
398
- return s(), x("svg", V({ role: "img" }, a.$attrs, {
397
+ }, be = { key: 0 };
398
+ function we(a, i, o, p, n, d) {
399
+ return s(), g("svg", V({ role: "img" }, a.$attrs, {
399
400
  class: "ui-assets-icons-16",
400
401
  xmlns: "http://www.w3.org/2000/svg",
401
402
  width: "16",
402
403
  height: "16",
403
404
  fill: "none"
404
405
  }), [
405
- a.$attrs["svg-title"] ? (s(), x("title", ge, f(a.$attrs["svg-title"]), 1)) : v("", !0),
406
+ a.$attrs["svg-title"] ? (s(), g("title", be, x(a.$attrs["svg-title"]), 1)) : f("", !0),
406
407
  i[0] || (i[0] = m("path", {
407
408
  fill: "#001222",
408
409
  d: "M5.68934 2.25H8.75V13.75H5.68934L2.68934 10.75H0.25V5.25H2.68934L5.68934 2.25ZM6.31066 3.75L3.31066 6.75H1.75V9.25H3.31066L6.31066 12.25H7.25V3.75H6.31066Z"
@@ -417,43 +418,43 @@ function he(a, i, o, p, n, d) {
417
418
  }, null, -1))
418
419
  ], 16);
419
420
  }
420
- const be = /* @__PURE__ */ L(xe, [["render", he]]);
421
- let Da = 0;
422
- const we = {
421
+ const ye = /* @__PURE__ */ L(he, [["render", we]]);
422
+ let Oa = 0;
423
+ const ke = {
423
424
  beforeCreate() {
424
- this.uuid = Da.toString(), Da += 1;
425
+ this.uuid = Oa.toString(), Oa += 1;
425
426
  }
426
- }, ye = { key: 0 };
427
- function ke(a, i, o, p, n, d) {
428
- return s(), x("svg", V({ role: "img" }, a.$attrs, {
427
+ }, Ce = { key: 0 };
428
+ function $e(a, i, o, p, n, d) {
429
+ return s(), g("svg", V({ role: "img" }, a.$attrs, {
429
430
  class: "ui-assets-icons-16",
430
431
  xmlns: "http://www.w3.org/2000/svg",
431
432
  width: "16",
432
433
  height: "16",
433
434
  fill: "none"
434
435
  }), [
435
- a.$attrs["svg-title"] ? (s(), x("title", ye, f(a.$attrs["svg-title"]), 1)) : v("", !0),
436
+ a.$attrs["svg-title"] ? (s(), g("title", Ce, x(a.$attrs["svg-title"]), 1)) : f("", !0),
436
437
  i[0] || (i[0] = m("path", {
437
438
  fill: "#001222",
438
439
  d: "M12 1.25C13.5188 1.25 14.75 2.48122 14.75 4V12C14.75 13.5188 13.5188 14.75 12 14.75H4C2.48122 14.75 1.25 13.5188 1.25 12V4C1.25 2.48122 2.48122 1.25 4 1.25H12ZM6.75 13.25H12C12.6904 13.25 13.25 12.6904 13.25 12V10.75H6.75V13.25ZM2.75 12C2.75 12.6904 3.30964 13.25 4 13.25H5.25V10.75H2.75V12ZM6.75 9.25H13.25V6.75H6.75V9.25ZM2.75 9.25H5.25V6.75H2.75V9.25ZM6.75 5.25H13.25V4C13.25 3.30964 12.6904 2.75 12 2.75H6.75V5.25ZM4 2.75C3.30964 2.75 2.75 3.30964 2.75 4V5.25H5.25V2.75H4Z"
439
440
  }, null, -1))
440
441
  ], 16);
441
442
  }
442
- const Ce = /* @__PURE__ */ L(we, [["render", ke]]), $e = {
443
- [b.AUDIO]: be,
444
- [b.COMPRESSED]: oe,
445
- [b.GENERIC]: Ai,
446
- [b.IMAGE]: ce,
447
- [b.PDF]: Ji,
448
- [b.SLIDES]: Gi,
449
- [b.TABLE]: Ce,
450
- [b.TEXT]: ie,
451
- [b.VIDEO]: fe
443
+ const _e = /* @__PURE__ */ L(ke, [["render", $e]]), je = {
444
+ [b.AUDIO]: ye,
445
+ [b.COMPRESSED]: le,
446
+ [b.GENERIC]: Ni,
447
+ [b.IMAGE]: re,
448
+ [b.PDF]: Qi,
449
+ [b.SLIDES]: Yi,
450
+ [b.TABLE]: _e,
451
+ [b.TEXT]: te,
452
+ [b.VIDEO]: ge
452
453
  };
453
- function _e(a) {
454
- return $e[a.type];
454
+ function ze(a) {
455
+ return je[a.type];
455
456
  }
456
- function je(a) {
457
+ function Re(a) {
457
458
  switch (a.type) {
458
459
  case b.COMPRESSED:
459
460
  case b.GENERIC:
@@ -467,7 +468,7 @@ function je(a) {
467
468
  return "green";
468
469
  }
469
470
  }
470
- const Ua = {
471
+ const Na = {
471
472
  "en-US": {
472
473
  cancel: "Cancel",
473
474
  fileExceedsSizeLimit: "File exceeds size limit",
@@ -486,29 +487,29 @@ const Ua = {
486
487
  remove: "Remover",
487
488
  retry: "Tentar novamente"
488
489
  }
489
- }, ze = { class: "b-file-uploader-file-card__details" }, Re = { class: "b-file-uploader-file-card__info" }, Ee = ["id"], Ie = { class: "b-file-uploader-file-card__actions" }, Le = {
490
+ }, Ee = { class: "b-file-uploader-file-card__details" }, Ie = { class: "b-file-uploader-file-card__info" }, Le = ["id"], Te = { class: "b-file-uploader-file-card__actions" }, Me = {
490
491
  name: "file-uploader-file-card",
491
- i18n: { messages: Ua }
492
- }, Te = /* @__PURE__ */ la({
493
- ...Le,
492
+ i18n: { messages: Na }
493
+ }, Fe = /* @__PURE__ */ ca({
494
+ ...Me,
494
495
  props: {
495
496
  file: {},
496
497
  supportedFileTypes: { default: null }
497
498
  },
498
499
  emits: ["cancel", "remove", "retry"],
499
500
  setup(a, { expose: i, emit: o }) {
500
- const n = a, d = o, { t: l, locale: u } = sa({ messages: Ua }), w = I(null), r = I(null), z = I(null), B = S("file-errors-section"), Z = S("cancel-file-button"), P = S("remove-file-button"), g = S("retry-file-button"), H = I(n.file.state === F.SUCCESS), D = h(() => URL.createObjectURL(n.file.data)), A = h(() => n.file.state === F.ERROR), ea = h(() => n.file.errors.includes(E.ERROR_LOAD)), ta = h(() => n.file.errors.includes(E.ERROR_SIZE)), na = h(() => n.file.errors.includes(E.ERROR_DIMENSIONS)), Y = h(() => n.file.errors.includes(E.ERROR_TYPE)), U = h(() => n.file.state === F.LOADING), X = h(() => n.file.progress && `(${n.file.progress.toFixed(0)}%)`), ca = h(() => Aa(u.value, n.file.data.size)), J = I(), G = I(), da = Ii(J, G), K = h(() => ({
501
- "b-file-uploader-file-card--error": A.value
502
- })), ra = h(() => ({
503
- [`b-file-uploader-file-card__icon--${je(n.file)}`]: H.value,
504
- "b-file-uploader-file-card__icon--error": A.value
505
- })), oa = h(() => U.value ? ki : A.value ? Ba : H.value ? _e(n.file) : gi);
501
+ const n = a, d = o, { t: l, locale: u } = da({ messages: Na }), k = I(null), r = I(null), z = I(null), H = F("file-errors-section"), G = F("cancel-file-button"), B = F("remove-file-button"), A = F("retry-file-button"), v = I(n.file.state === S.SUCCESS), ea = h(() => URL.createObjectURL(n.file.data)), T = h(() => n.file.state === S.ERROR), ta = h(() => n.file.errors.includes(E.ERROR_LOAD)), W = h(() => n.file.errors.includes(E.ERROR_SIZE)), na = h(() => n.file.errors.includes(E.ERROR_DIMENSIONS)), oa = h(() => n.file.errors.includes(E.ERROR_TYPE)), Y = h(() => n.file.state === S.LOADING), U = h(() => n.file.progress && `(${n.file.progress.toFixed(0)}%)`), X = h(() => Ua(u.value, n.file.data.size)), pa = I(), J = I(), K = Ti(pa, J), ra = h(() => ({
502
+ "b-file-uploader-file-card--error": T.value
503
+ })), Q = h(() => ({
504
+ [`b-file-uploader-file-card__icon--${Re(n.file)}`]: v.value,
505
+ "b-file-uploader-file-card__icon--error": T.value
506
+ })), la = h(() => Y.value ? $i : T.value ? Za : v.value ? ze(n.file) : bi);
506
507
  ha(
507
508
  () => n.file.state,
508
509
  (j) => {
509
- if (j === F.SUCCESS && !H.value) {
510
- const T = setTimeout(() => {
511
- H.value = !0, clearTimeout(T);
510
+ if (j === S.SUCCESS && !v.value) {
511
+ const D = setTimeout(() => {
512
+ v.value = !0, clearTimeout(D);
512
513
  }, 1200);
513
514
  }
514
515
  }
@@ -518,8 +519,8 @@ const Ua = {
518
519
  z.value.$el.focus();
519
520
  return;
520
521
  }
521
- if (w.value) {
522
- w.value.$el.focus();
522
+ if (k.value) {
523
+ k.value.$el.focus();
523
524
  return;
524
525
  }
525
526
  if (r.value) {
@@ -529,21 +530,21 @@ const Ua = {
529
530
  }
530
531
  return i({
531
532
  focus: ma
532
- }), (j, T) => (s(), x("div", {
533
- class: q(["b-file-uploader-file-card", K.value])
533
+ }), (j, D) => (s(), g("div", {
534
+ class: q(["b-file-uploader-file-card", ra.value])
534
535
  }, [
535
- m("div", ze, [
536
- m("div", Re, [
537
- O(t(Ei), {
538
- name: t(Za) ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3",
539
- "show-file-icon": H.value
536
+ m("div", Ee, [
537
+ m("div", Ie, [
538
+ O(t(Li), {
539
+ name: t(Aa) ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3",
540
+ "show-file-icon": v.value
540
541
  }, {
541
- default: y(() => [
542
- (s(), k(di(oa.value), {
543
- key: JSON.stringify(oa.value),
542
+ default: w(() => [
543
+ (s(), y(ri(la.value), {
544
+ key: JSON.stringify(la.value),
544
545
  small: "",
545
546
  "aria-hidden": "true",
546
- class: q(["b-file-uploader-file-card__icon", ra.value]),
547
+ class: q(["b-file-uploader-file-card__icon", Q.value]),
547
548
  "data-testid": "file-uploader-item-icon"
548
549
  }, null, 8, ["class"]))
549
550
  ]),
@@ -551,136 +552,136 @@ const Ua = {
551
552
  }, 8, ["name", "show-file-icon"]),
552
553
  m("div", {
553
554
  ref_key: "fileNameContainerRef",
554
- ref: G,
555
+ ref: J,
555
556
  class: "b-file-uploader-file-card__file-name"
556
557
  }, [
557
- O(t(yi), {
558
+ O(t(Ci), {
558
559
  "aria-hidden": "true",
559
560
  tabindex: "-1",
560
561
  download: j.file.data.name,
561
- to: D.value,
562
+ to: ea.value,
562
563
  "disable-typography": "",
563
564
  "is-not-routing": "",
564
565
  variant: "quiet"
565
566
  }, {
566
- default: y(() => [
567
- qa((s(), k(t(R), {
567
+ default: w(() => [
568
+ Ba((s(), y(t(R), {
568
569
  ref_key: "fileNameRef",
569
- ref: J,
570
+ ref: pa,
570
571
  stronger: "",
571
572
  el: "span"
572
573
  }, {
573
- default: y(() => [
574
- _(f(j.file.data.name), 1)
574
+ default: w(() => [
575
+ _(x(j.file.data.name), 1)
575
576
  ]),
576
577
  _: 1
577
578
  })), [
578
- [t(wi), t(da) ? j.file.data.name : null]
579
+ [t(ki), t(K) ? j.file.data.name : null]
579
580
  ])
580
581
  ]),
581
582
  _: 1
582
583
  }, 8, ["download", "to"])
583
584
  ], 512),
584
- j.file.progress ? (s(), k(t(R), {
585
+ j.file.progress ? (s(), y(t(R), {
585
586
  key: 0,
586
587
  el: "span"
587
588
  }, {
588
- default: y(() => [
589
- _(f(X.value), 1)
589
+ default: w(() => [
590
+ _(x(U.value), 1)
590
591
  ]),
591
592
  _: 1
592
- })) : j.file.data.size ? (s(), k(t(R), {
593
+ })) : j.file.data.size ? (s(), y(t(R), {
593
594
  key: 1,
594
595
  class: "b-file-uploader-file-card__file-size",
595
596
  "aria-hidden": "true",
596
597
  el: "span"
597
598
  }, {
598
- default: y(() => [
599
- _(f(ca.value), 1)
599
+ default: w(() => [
600
+ _(x(X.value), 1)
600
601
  ]),
601
602
  _: 1
602
- })) : v("", !0)
603
+ })) : f("", !0)
603
604
  ]),
604
- ta.value || na.value || Y.value && j.supportedFileTypes ? (s(), x("div", {
605
+ W.value || na.value || oa.value && j.supportedFileTypes ? (s(), g("div", {
605
606
  key: 0,
606
- id: t(B),
607
+ id: t(H),
607
608
  role: "alert"
608
609
  }, [
609
- ta.value ? (s(), k(t(R), {
610
+ W.value ? (s(), y(t(R), {
610
611
  key: 0,
611
612
  class: "b-file-uploader-file-card__error-message"
612
613
  }, {
613
- default: y(() => [
614
- _(f(t(l)("fileExceedsSizeLimit")), 1)
614
+ default: w(() => [
615
+ _(x(t(l)("fileExceedsSizeLimit")), 1)
615
616
  ]),
616
617
  _: 1
617
- })) : v("", !0),
618
- na.value ? (s(), k(t(R), {
618
+ })) : f("", !0),
619
+ na.value ? (s(), y(t(R), {
619
620
  key: 1,
620
621
  class: "b-file-uploader-file-card__error-message"
621
622
  }, {
622
- default: y(() => [
623
- _(f(t(l)("imageDimensionsExceedLimits")), 1)
623
+ default: w(() => [
624
+ _(x(t(l)("imageDimensionsExceedLimits")), 1)
624
625
  ]),
625
626
  _: 1
626
- })) : v("", !0),
627
- Y.value && j.supportedFileTypes ? (s(), k(t(R), {
627
+ })) : f("", !0),
628
+ oa.value && j.supportedFileTypes ? (s(), y(t(R), {
628
629
  key: 2,
629
630
  class: "b-file-uploader-file-card__error-message"
630
631
  }, {
631
- default: y(() => [
632
- _(f(t(l)("fileTypeMustBe", { list: j.supportedFileTypes })), 1)
632
+ default: w(() => [
633
+ _(x(t(l)("fileTypeMustBe", { list: j.supportedFileTypes })), 1)
633
634
  ]),
634
635
  _: 1
635
- })) : v("", !0)
636
- ], 8, Ee)) : v("", !0)
636
+ })) : f("", !0)
637
+ ], 8, Le)) : f("", !0)
637
638
  ]),
638
- m("div", Ie, [
639
- ea.value ? (s(), k(t(ga), {
639
+ m("div", Te, [
640
+ ta.value ? (s(), y(t(ga), {
640
641
  key: 0,
641
642
  ref_key: "retryFileButtonRef",
642
643
  ref: z,
643
- "aria-labelledby": `${t(B)} ${t(g)}`,
644
+ "aria-labelledby": `${t(H)} ${t(A)}`,
644
645
  variant: "tertiary",
645
- onClick: T[0] || (T[0] = (Q) => d("retry"))
646
+ onClick: D[0] || (D[0] = (N) => d("retry"))
646
647
  }, {
647
- iconLeft: y(() => [
648
- O(t(bi), {
649
- id: t(g),
648
+ iconLeft: w(() => [
649
+ O(t(yi), {
650
+ id: t(A),
650
651
  "svg-title": `${t(l)("retry")} - ${j.file.data.name} `
651
652
  }, null, 8, ["id", "svg-title"])
652
653
  ]),
653
- default: y(() => [
654
- _(" " + f(t(l)("retry")), 1)
654
+ default: w(() => [
655
+ _(" " + x(t(l)("retry")), 1)
655
656
  ]),
656
657
  _: 1
657
- }, 8, ["aria-labelledby"])) : v("", !0),
658
- U.value || A.value ? (s(), k(t(ga), {
658
+ }, 8, ["aria-labelledby"])) : f("", !0),
659
+ Y.value || T.value ? (s(), y(t(ga), {
659
660
  key: 1,
660
661
  ref_key: "cancelFileButtonRef",
661
662
  ref: r,
662
- "aria-labelledby": `${t(B)} ${t(Z)}`,
663
+ "aria-labelledby": `${t(H)} ${t(G)}`,
663
664
  variant: "tertiary",
664
- onClick: T[1] || (T[1] = (Q) => d("cancel"))
665
+ onClick: D[1] || (D[1] = (N) => d("cancel"))
665
666
  }, {
666
- iconLeft: y(() => [
667
- O(t(hi), {
668
- id: t(Z),
667
+ iconLeft: w(() => [
668
+ O(t(wi), {
669
+ id: t(G),
669
670
  "svg-title": `${t(l)("cancel")} - ${j.file.data.name}`
670
671
  }, null, 8, ["id", "svg-title"])
671
672
  ]),
672
673
  _: 1
673
- }, 8, ["aria-labelledby"])) : (s(), k(t(ga), {
674
+ }, 8, ["aria-labelledby"])) : (s(), y(t(ga), {
674
675
  key: 2,
675
676
  ref_key: "removeFileButtonRef",
676
- ref: w,
677
- "aria-labelledby": `${t(B)} ${t(P)}`,
677
+ ref: k,
678
+ "aria-labelledby": `${t(H)} ${t(B)}`,
678
679
  variant: "tertiary",
679
- onClick: T[2] || (T[2] = (Q) => d("remove"))
680
+ onClick: D[2] || (D[2] = (N) => d("remove"))
680
681
  }, {
681
- iconLeft: y(() => [
682
- O(t(xi), {
683
- id: t(P),
682
+ iconLeft: w(() => [
683
+ O(t(hi), {
684
+ id: t(B),
684
685
  "svg-title": `${t(l)("remove")} - ${j.file.data.name}`
685
686
  }, null, 8, ["id", "svg-title"])
686
687
  ]),
@@ -689,7 +690,7 @@ const Ua = {
689
690
  ])
690
691
  ], 2));
691
692
  }
692
- }), Me = /* @__PURE__ */ L(Te, [["__scopeId", "data-v-e2340e06"]]), Na = {
693
+ }), Se = /* @__PURE__ */ L(Fe, [["__scopeId", "data-v-e2340e06"]]), Pa = {
693
694
  "en-US": {
694
695
  maxFileSize: "Max file size: {size}",
695
696
  maxImageDimensions: "Max image dimensions: {width} × {height}px",
@@ -698,10 +699,10 @@ const Ua = {
698
699
  maxUpload: "Max upload: {count} file | Max upload: {count} files",
699
700
  supportedFileTypes: "Supported file types: {list}"
700
701
  }
701
- }, Se = {
702
- i18n: { messages: Na }
703
- }, Fe = /* @__PURE__ */ la({
704
- ...Se,
702
+ }, Ve = {
703
+ i18n: { messages: Pa }
704
+ }, De = /* @__PURE__ */ ca({
705
+ ...Ve,
705
706
  __name: "file-uploader-restrictions",
706
707
  props: {
707
708
  condensed: { type: Boolean, default: null },
@@ -712,7 +713,7 @@ const Ua = {
712
713
  supportedFileTypes: { default: null }
713
714
  },
714
715
  setup(a) {
715
- const i = a, { t: o, tc: p, n, locale: d } = sa({ messages: Na }), l = h(() => ({
716
+ const i = a, { t: o, tc: p, n, locale: d } = da({ messages: Pa }), l = h(() => ({
716
717
  "b-file-uploader-restrictions--condensed": i.condensed,
717
718
  "b-file-uploader-restrictions--disabled": i.disabled
718
719
  }));
@@ -721,7 +722,7 @@ const Ua = {
721
722
  "b-file-uploader-restrictions--error": r
722
723
  };
723
724
  }
724
- const w = h(() => {
725
+ const k = h(() => {
725
726
  if (!i.maxDimensions)
726
727
  return null;
727
728
  const {
@@ -729,48 +730,48 @@ const Ua = {
729
730
  } = i.maxDimensions;
730
731
  return r && z ? o("maxImageDimensions", { width: n(r), height: n(z) }) : r ? o("maxImageWidth", { width: n(r) }) : z ? o("maxImageHeight", { height: n(z) }) : null;
731
732
  });
732
- return (r, z) => (s(), x("div", {
733
+ return (r, z) => (s(), g("div", {
733
734
  class: q(["b-file-uploader-restrictions", l.value])
734
735
  }, [
735
- r.supportedFileTypes ? (s(), k(t(R), {
736
+ r.supportedFileTypes ? (s(), y(t(R), {
736
737
  key: 0,
737
738
  class: q(u(r.supportedFileTypes.error))
738
739
  }, {
739
- default: y(() => [
740
- _(f(t(o)("supportedFileTypes", { list: r.supportedFileTypes.value })), 1)
740
+ default: w(() => [
741
+ _(x(t(o)("supportedFileTypes", { list: r.supportedFileTypes.value })), 1)
741
742
  ]),
742
743
  _: 1
743
- }, 8, ["class"])) : v("", !0),
744
- r.maxSize ? (s(), k(t(R), {
744
+ }, 8, ["class"])) : f("", !0),
745
+ r.maxSize ? (s(), y(t(R), {
745
746
  key: 1,
746
747
  class: q(u(r.maxSize.error))
747
748
  }, {
748
- default: y(() => [
749
- _(f(t(o)("maxFileSize", { size: t(Aa)(t(d), r.maxSize.value) })), 1)
749
+ default: w(() => [
750
+ _(x(t(o)("maxFileSize", { size: t(Ua)(t(d), r.maxSize.value) })), 1)
750
751
  ]),
751
752
  _: 1
752
- }, 8, ["class"])) : v("", !0),
753
- r.maxDimensions ? (s(), k(t(R), {
753
+ }, 8, ["class"])) : f("", !0),
754
+ r.maxDimensions ? (s(), y(t(R), {
754
755
  key: 2,
755
756
  class: q(u(r.maxDimensions.error))
756
757
  }, {
757
- default: y(() => [
758
- _(f(w.value), 1)
758
+ default: w(() => [
759
+ _(x(k.value), 1)
759
760
  ]),
760
761
  _: 1
761
- }, 8, ["class"])) : v("", !0),
762
- r.maxCount ? (s(), k(t(R), {
762
+ }, 8, ["class"])) : f("", !0),
763
+ r.maxCount ? (s(), y(t(R), {
763
764
  key: 3,
764
765
  class: q(u(r.maxCount.error))
765
766
  }, {
766
- default: y(() => [
767
- _(f(t(p)("maxUpload", r.maxCount.value, { count: t(n)(r.maxCount.value) })), 1)
767
+ default: w(() => [
768
+ _(x(t(p)("maxUpload", r.maxCount.value, { count: t(n)(r.maxCount.value) })), 1)
768
769
  ]),
769
770
  _: 1
770
- }, 8, ["class"])) : v("", !0)
771
+ }, 8, ["class"])) : f("", !0)
771
772
  ], 2));
772
773
  }
773
- }), Oa = /* @__PURE__ */ L(Fe, [["__scopeId", "data-v-6ad327db"]]), Pa = {
774
+ }), Ha = /* @__PURE__ */ L(De, [["__scopeId", "data-v-6ad327db"]]), Ga = {
774
775
  "application/prs.cww": ["cww"],
775
776
  "application/prs.xsf+xml": ["xsf"],
776
777
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -1469,8 +1470,8 @@ const Ua = {
1469
1470
  "video/x-smv": ["smv"],
1470
1471
  "x-conference/x-cooltalk": ["ice"]
1471
1472
  };
1472
- Object.freeze(Pa);
1473
- const Ga = {
1473
+ Object.freeze(Ga);
1474
+ const Wa = {
1474
1475
  "application/andrew-inset": ["ez"],
1475
1476
  "application/appinstaller": ["appinstaller"],
1476
1477
  "application/applixware": ["aw"],
@@ -1822,31 +1823,31 @@ const Ga = {
1822
1823
  "video/quicktime": ["qt", "mov"],
1823
1824
  "video/webm": ["webm"]
1824
1825
  };
1825
- Object.freeze(Ga);
1826
+ Object.freeze(Wa);
1826
1827
  var M = function(a, i, o, p) {
1827
1828
  if (o === "a" && !p) throw new TypeError("Private accessor was defined without a getter");
1828
1829
  if (typeof i == "function" ? a !== i || !p : !i.has(a)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
1829
1830
  return o === "m" ? p : o === "a" ? p.call(a) : p ? p.value : i.get(a);
1830
- }, W, ia, N;
1831
- class Ve {
1831
+ }, P, ia, Z;
1832
+ class Oe {
1832
1833
  constructor(...i) {
1833
- W.set(this, /* @__PURE__ */ new Map()), ia.set(this, /* @__PURE__ */ new Map()), N.set(this, /* @__PURE__ */ new Map());
1834
+ P.set(this, /* @__PURE__ */ new Map()), ia.set(this, /* @__PURE__ */ new Map()), Z.set(this, /* @__PURE__ */ new Map());
1834
1835
  for (const o of i)
1835
1836
  this.define(o);
1836
1837
  }
1837
1838
  define(i, o = !1) {
1838
1839
  for (let [p, n] of Object.entries(i)) {
1839
- p = p.toLowerCase(), n = n.map((u) => u.toLowerCase()), M(this, N, "f").has(p) || M(this, N, "f").set(p, /* @__PURE__ */ new Set());
1840
- const d = M(this, N, "f").get(p);
1840
+ p = p.toLowerCase(), n = n.map((u) => u.toLowerCase()), M(this, Z, "f").has(p) || M(this, Z, "f").set(p, /* @__PURE__ */ new Set());
1841
+ const d = M(this, Z, "f").get(p);
1841
1842
  let l = !0;
1842
1843
  for (let u of n) {
1843
- const w = u.startsWith("*");
1844
- if (u = w ? u.slice(1) : u, d == null || d.add(u), l && M(this, ia, "f").set(p, u), l = !1, w)
1844
+ const k = u.startsWith("*");
1845
+ if (u = k ? u.slice(1) : u, d == null || d.add(u), l && M(this, ia, "f").set(p, u), l = !1, k)
1845
1846
  continue;
1846
- const r = M(this, W, "f").get(u);
1847
+ const r = M(this, P, "f").get(u);
1847
1848
  if (r && r != p && !o)
1848
1849
  throw new Error(`"${p} -> ${u}" conflicts with "${r} -> ${u}". Pass \`force=true\` to override this definition.`);
1849
- M(this, W, "f").set(u, p);
1850
+ M(this, P, "f").set(u, p);
1850
1851
  }
1851
1852
  }
1852
1853
  return this;
@@ -1855,32 +1856,32 @@ class Ve {
1855
1856
  if (typeof i != "string")
1856
1857
  return null;
1857
1858
  const o = i.replace(/^.*[/\\]/, "").toLowerCase(), p = o.replace(/^.*\./, "").toLowerCase(), n = o.length < i.length;
1858
- return !(p.length < o.length - 1) && n ? null : M(this, W, "f").get(p) ?? null;
1859
+ return !(p.length < o.length - 1) && n ? null : M(this, P, "f").get(p) ?? null;
1859
1860
  }
1860
1861
  getExtension(i) {
1861
1862
  var o;
1862
1863
  return typeof i != "string" ? null : (i = (o = i == null ? void 0 : i.split) == null ? void 0 : o.call(i, ";")[0], (i && M(this, ia, "f").get(i.trim().toLowerCase())) ?? null);
1863
1864
  }
1864
1865
  getAllExtensions(i) {
1865
- return typeof i != "string" ? null : M(this, N, "f").get(i.toLowerCase()) ?? null;
1866
+ return typeof i != "string" ? null : M(this, Z, "f").get(i.toLowerCase()) ?? null;
1866
1867
  }
1867
1868
  _freeze() {
1868
1869
  this.define = () => {
1869
1870
  throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
1870
1871
  }, Object.freeze(this);
1871
- for (const i of M(this, N, "f").values())
1872
+ for (const i of M(this, Z, "f").values())
1872
1873
  Object.freeze(i);
1873
1874
  return this;
1874
1875
  }
1875
1876
  _getTestState() {
1876
1877
  return {
1877
- types: M(this, W, "f"),
1878
+ types: M(this, P, "f"),
1878
1879
  extensions: M(this, ia, "f")
1879
1880
  };
1880
1881
  }
1881
1882
  }
1882
- W = /* @__PURE__ */ new WeakMap(), ia = /* @__PURE__ */ new WeakMap(), N = /* @__PURE__ */ new WeakMap();
1883
- const Wa = new Ve(Ga, Pa)._freeze(), wa = {
1883
+ P = /* @__PURE__ */ new WeakMap(), ia = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap();
1884
+ const Ya = new Oe(Wa, Ga)._freeze(), wa = {
1884
1885
  "en-US": {
1885
1886
  audioFiles: "audio files",
1886
1887
  browseFiles: "Browse files",
@@ -1893,11 +1894,11 @@ const Wa = new Ve(Ga, Pa)._freeze(), wa = {
1893
1894
  youHaveExceededTheMaximum: "You have exceeded the maximum limit of {count} files. Please remove some files before proceeding."
1894
1895
  }
1895
1896
  };
1896
- function De(a) {
1897
- return a.includes("/") ? `.${Wa.getExtension(a).toUpperCase()}` : a.toUpperCase();
1897
+ function He(a) {
1898
+ return a.includes("/") ? `.${Ya.getExtension(a).toUpperCase()}` : a.toUpperCase();
1898
1899
  }
1899
- function Oe(a) {
1900
- const { locale: i, t: o } = sa({ messages: wa });
1900
+ function qe(a) {
1901
+ const { locale: i, t: o } = da({ messages: wa });
1901
1902
  return { supportedFileTypeList: h(() => {
1902
1903
  const n = new Intl.ListFormat(i.value, { style: "short", type: "unit" });
1903
1904
  return a != null && a.value ? n.format(
@@ -1910,16 +1911,16 @@ function Oe(a) {
1910
1911
  case "video/*":
1911
1912
  return o("videoFiles");
1912
1913
  default:
1913
- return De(d);
1914
+ return He(d);
1914
1915
  }
1915
1916
  })
1916
1917
  ) : null;
1917
1918
  }) };
1918
1919
  }
1919
- function He(a) {
1920
- return Wa.getType(a) ?? a;
1920
+ function Be(a) {
1921
+ return Ya.getType(a) ?? a;
1921
1922
  }
1922
- function qe({ maxCount: a, accept: i }) {
1923
+ function Ze({ maxCount: a, accept: i }) {
1923
1924
  const o = ba({
1924
1925
  invalidTypes: !1,
1925
1926
  partiallyInvalidTypes: !1,
@@ -1927,21 +1928,21 @@ function qe({ maxCount: a, accept: i }) {
1927
1928
  }), p = ba({
1928
1929
  dragging: !1,
1929
1930
  error: !1
1930
- }), n = h(() => i.value ? i.value.split(",").map((w) => He(w.trim().toLocaleLowerCase())) : void 0);
1931
+ }), n = h(() => i.value ? i.value.split(",").map((k) => Be(k.trim().toLocaleLowerCase())) : void 0);
1931
1932
  function d() {
1932
1933
  p.dragging = !1, p.error = !1, o.invalidTypes = !1, o.partiallyInvalidTypes = !1, o.maxCountOverflow = !1;
1933
1934
  }
1934
- function l(u, w) {
1935
- if (p.dragging = !0, (!w.dataTransfer.types.includes("Files") || u > a.value) && (o.maxCountOverflow = !0, p.error = !0), !n.value)
1935
+ function l(u, k) {
1936
+ if (p.dragging = !0, (!k.dataTransfer.types.includes("Files") || u > a.value) && (o.maxCountOverflow = !0, p.error = !0), !n.value)
1936
1937
  return;
1937
1938
  let r = 0;
1938
- for (const z of w.dataTransfer.items)
1939
+ for (const z of k.dataTransfer.items)
1939
1940
  n.value.includes(z.type) && r++;
1940
1941
  if (r === 0) {
1941
1942
  p.error = !0, o.invalidTypes = !0;
1942
1943
  return;
1943
1944
  }
1944
- !o.invalidTypes && r !== w.dataTransfer.items.length && (p.error = !0, o.partiallyInvalidTypes = !0);
1945
+ !o.invalidTypes && r !== k.dataTransfer.items.length && (p.error = !0, o.partiallyInvalidTypes = !0);
1945
1946
  }
1946
1947
  return {
1947
1948
  dragState: p,
@@ -1950,14 +1951,14 @@ function qe({ maxCount: a, accept: i }) {
1950
1951
  onDragEnterValidations: l
1951
1952
  };
1952
1953
  }
1953
- const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-labelledby", "tabindex"], Ue = {
1954
+ const Ae = ["id", "accept", "disabled", "multiple"], Ue = ["id"], Ne = ["aria-labelledby", "tabindex"], Pe = {
1954
1955
  class: "b-file-uploader__icon",
1955
1956
  "aria-hidden": "true"
1956
- }, Ne = { class: "b-file-uploader__files" }, Pe = {
1957
+ }, Ge = { class: "b-file-uploader__files" }, We = {
1957
1958
  model: { prop: "modelValue" },
1958
1959
  i18n: { messages: wa }
1959
- }, Ge = /* @__PURE__ */ la({
1960
- ...Pe,
1960
+ }, Ye = /* @__PURE__ */ ca({
1961
+ ...We,
1961
1962
  __name: "file-uploader",
1962
1963
  props: {
1963
1964
  accept: { default: null },
@@ -1974,23 +1975,23 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
1974
1975
  required: { type: Boolean },
1975
1976
  tooltipText: { default: null }
1976
1977
  },
1977
- emits: ["change", "input", "update:modelValue", "error:upload"],
1978
+ emits: ["change", "input", "update:model-value", "error:upload"],
1978
1979
  setup(a, { emit: i }) {
1979
- const { t: o, tc: p, n } = sa({ messages: wa }), d = i, l = a;
1980
- function u(e) {
1980
+ const { t: o, tc: p, n } = da({ messages: wa }), d = i, l = a, { emitValue: u } = gi(d);
1981
+ function k(e) {
1981
1982
  return !!e && typeof e.length == "number" && typeof e.item == "function";
1982
1983
  }
1983
- Ha(() => {
1984
- u(l.modelValue) || fi(
1984
+ qa(() => {
1985
+ k(l.modelValue) || xi(
1985
1986
  "BentoFileUploaderValue types: string | Array<string> | File | Array<File>",
1986
1987
  "Use FileList instead.",
1987
1988
  "2.0.0"
1988
1989
  );
1989
1990
  });
1990
- const { supportedFileTypeList: w } = Oe(xa(l, "accept")), r = S("browse-button"), z = S("custom-text"), B = S("drop-files-text"), Z = S("comma-text"), P = S("file-uploader-restrictions"), g = I(null), H = I([]), D = I(null), A = I(null), ea = S("input"), ta = S("input-error"), na = h(() => {
1991
- const e = l.condensed ? "" : `${B} ${Z}`, c = l.description ? `${z} ${Z}` : "", C = `${P} ${Z}`;
1992
- return `${e} ${c} ${C} ${r}`;
1993
- }), { dragState: Y, dragErrors: U, resetDragState: X, onDragEnterValidations: ca } = qe({
1991
+ const { supportedFileTypeList: r } = qe(xa(l, "accept")), z = F("browse-button"), H = F("custom-text"), G = F("drop-files-text"), B = F("comma-text"), A = F("file-uploader-restrictions"), v = I(null), ea = I([]), T = I(null), ta = I(null), W = F("input"), na = F("input-error"), oa = h(() => {
1992
+ const e = l.condensed ? "" : `${G} ${B}`, c = l.description ? `${H} ${B}` : "", C = `${A} ${B}`;
1993
+ return `${e} ${c} ${C} ${z}`;
1994
+ }), { dragState: Y, dragErrors: U, resetDragState: X, onDragEnterValidations: pa } = Ze({
1994
1995
  accept: xa(l, "accept"),
1995
1996
  maxCount: xa(l, "maxCount")
1996
1997
  }), J = h(() => {
@@ -1998,161 +1999,161 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
1998
1999
  return {
1999
2000
  condensed: l.condensed,
2000
2001
  disabled: l.disabled,
2001
- maxCount: K.value ? {
2002
+ maxCount: Q.value ? {
2002
2003
  value: l.maxCount,
2003
- error: U.maxCountOverflow || Q.value
2004
+ error: U.maxCountOverflow || ya.value
2004
2005
  } : null,
2005
2006
  maxDimensions: l.maxDimensions ? {
2006
2007
  value: l.maxDimensions,
2007
- error: (e = g.value) == null ? void 0 : e.some(($) => $.errors.includes(E.ERROR_DIMENSIONS))
2008
+ error: (e = v.value) == null ? void 0 : e.some(($) => $.errors.includes(E.ERROR_DIMENSIONS))
2008
2009
  } : null,
2009
2010
  maxSize: l.maxSize ? {
2010
2011
  value: l.maxSize,
2011
- error: (c = g.value) == null ? void 0 : c.some(($) => $.errors.includes(E.ERROR_SIZE))
2012
+ error: (c = v.value) == null ? void 0 : c.some(($) => $.errors.includes(E.ERROR_SIZE))
2012
2013
  } : null,
2013
- supportedFileTypes: w.value ? {
2014
- value: w.value,
2015
- error: U.invalidTypes || U.partiallyInvalidTypes || ((C = g.value) == null ? void 0 : C.some(($) => $.errors.includes(E.ERROR_TYPE)))
2014
+ supportedFileTypes: r.value ? {
2015
+ value: r.value,
2016
+ error: U.invalidTypes || U.partiallyInvalidTypes || ((C = v.value) == null ? void 0 : C.some(($) => $.errors.includes(E.ERROR_TYPE)))
2016
2017
  } : null
2017
2018
  };
2018
- }), G = I(), da = h(() => ({
2019
- [`b-file-uploader--${pa.DISABLED}`]: l.disabled,
2020
- [`b-file-uploader--${pa.DRAG_OVER}`]: Y.dragging,
2021
- [`b-file-uploader--${pa.ERROR}`]: T.value,
2019
+ }), K = I(), ra = h(() => ({
2020
+ [`b-file-uploader--${sa.DISABLED}`]: l.disabled,
2021
+ [`b-file-uploader--${sa.DRAG_OVER}`]: Y.dragging,
2022
+ [`b-file-uploader--${sa.ERROR}`]: N.value,
2022
2023
  "b-file-uploader--condensed": l.condensed
2023
- })), K = h(() => l.maxCount > 1), ra = h(() => {
2024
+ })), Q = h(() => l.maxCount > 1), la = h(() => {
2024
2025
  var e;
2025
- return l.maxCount && ((e = g.value) == null ? void 0 : e.length) >= l.maxCount;
2026
- }), oa = h(() => {
2026
+ return l.maxCount && ((e = v.value) == null ? void 0 : e.length) >= l.maxCount;
2027
+ }), ma = h(() => {
2027
2028
  var e;
2028
- return (e = g.value) == null ? void 0 : e.some((c) => c.state === "loading");
2029
- }), ma = (e) => (c) => {
2030
- H.value[e] = c;
2029
+ return (e = v.value) == null ? void 0 : e.some((c) => c.state === "loading");
2030
+ }), j = (e) => (c) => {
2031
+ ea.value[e] = c;
2031
2032
  };
2032
- function j(e) {
2033
+ function D(e) {
2033
2034
  if (e) {
2034
- ti(e), ni(e);
2035
- const c = oi(e);
2036
- d("change", c), d("update:modelValue", c), d("input", c);
2035
+ ni(e), oi(e);
2036
+ const c = pi(e);
2037
+ d("change", c), u(c);
2037
2038
  } else
2038
- d("change"), d("update:modelValue"), d("input");
2039
+ d("change", void 0), u(void 0);
2039
2040
  }
2040
- const T = h(() => !!l.errorMessage || Y.error), Q = h(() => {
2041
+ const N = h(() => !!l.errorMessage || Y.error), ya = h(() => {
2041
2042
  var e;
2042
- return ((e = g.value) == null ? void 0 : e.length) > l.maxCount;
2043
- }), Ya = I(!1), Xa = h(() => {
2043
+ return ((e = v.value) == null ? void 0 : e.length) > l.maxCount;
2044
+ }), Xa = I(!1), Ja = h(() => {
2044
2045
  var e;
2045
- return (e = g.value) == null ? void 0 : e.some((c) => c.state === "error");
2046
+ return (e = v.value) == null ? void 0 : e.some((c) => c.state === "error");
2046
2047
  });
2047
- ha(Xa, (e) => {
2048
- oa.value || d("error:upload", e);
2048
+ ha(Ja, (e) => {
2049
+ ma.value || d("error:upload", e);
2049
2050
  });
2050
2051
  async function ua() {
2051
2052
  var e;
2052
- if (await ui(), g.value.length === l.maxCount) {
2053
- (e = H.value[0]) == null || e.focus();
2053
+ if (await vi(), v.value.length === l.maxCount) {
2054
+ (e = ea.value[0]) == null || e.focus();
2054
2055
  return;
2055
2056
  }
2056
- A.value.focus();
2057
+ ta.value.focus();
2057
2058
  }
2058
- async function ya(e) {
2059
- g.value = g.value.filter(({ id: c }) => c !== e.id), await ua(), j(g.value);
2059
+ async function ka(e) {
2060
+ v.value = v.value.filter(({ id: c }) => c !== e.id), await ua(), D(v.value);
2060
2061
  }
2061
2062
  function va(e) {
2062
2063
  const c = ba({
2063
- id: S("file"),
2064
+ id: F("file"),
2064
2065
  data: e,
2065
2066
  errors: [],
2066
2067
  progress: null,
2067
- state: F.LOADING,
2068
- type: Fi(e)
2068
+ state: S.LOADING,
2069
+ type: Di(e)
2069
2070
  });
2070
- return Di(c, l.accept, l.maxDimensions), c;
2071
+ return Hi(c, l.accept, l.maxDimensions), c;
2071
2072
  }
2072
- function Ja(e) {
2073
+ function Ka(e) {
2073
2074
  var c;
2074
- ((c = g.value) == null ? void 0 : c.length) === l.maxCount && e.preventDefault();
2075
+ ((c = v.value) == null ? void 0 : c.length) === l.maxCount && e.preventDefault();
2075
2076
  }
2076
- async function ka(e) {
2077
+ async function Ca(e) {
2077
2078
  if (l.maxCount === 1 && e.length > l.maxCount) {
2078
2079
  fa(), X();
2079
2080
  return;
2080
2081
  }
2081
- K.value ? g.value = [...g.value || [], ...Array.from(e).map((c) => va(c))] : (g.value = [va(e[0])], await ua()), j(g.value);
2082
+ Q.value ? v.value = [...v.value || [], ...Array.from(e).map((c) => va(c))] : (v.value = [va(e[0])], await ua()), D(v.value);
2082
2083
  }
2083
- function Ka(e) {
2084
+ function Qa(e) {
2084
2085
  var C, $;
2085
2086
  if (l.disabled)
2086
2087
  return;
2087
- G.value = e.target;
2088
- const c = (((C = e.dataTransfer.items) == null ? void 0 : C.length) ?? 0) + ((($ = g.value) == null ? void 0 : $.length) ?? 0);
2089
- ca(c, e);
2088
+ K.value = e.target;
2089
+ const c = (((C = e.dataTransfer.items) == null ? void 0 : C.length) ?? 0) + ((($ = v.value) == null ? void 0 : $.length) ?? 0);
2090
+ pa(c, e);
2090
2091
  }
2091
2092
  function fa() {
2092
- G.value = null;
2093
- }
2094
- function Qa(e) {
2095
- G.value === e.target && (fa(), X());
2093
+ K.value = null;
2096
2094
  }
2097
2095
  function ai(e) {
2096
+ K.value === e.target && (fa(), X());
2097
+ }
2098
+ function ii(e) {
2098
2099
  e.preventDefault(), l.disabled && (e.dataTransfer.dropEffect = "none");
2099
2100
  }
2100
- async function ii(e) {
2101
+ async function ei(e) {
2101
2102
  var c;
2102
- l.disabled || (!U.invalidTypes && ((c = e.dataTransfer.files) != null && c.length) && ka(e.dataTransfer.files), fa(), X());
2103
+ l.disabled || (!U.invalidTypes && ((c = e.dataTransfer.files) != null && c.length) && Ca(e.dataTransfer.files), fa(), X());
2103
2104
  }
2104
- async function ei() {
2105
+ async function ti() {
2105
2106
  var e;
2106
- (e = D.value.files) != null && e.length && ka(D.value.files), D.value.value = "", await ua();
2107
+ (e = T.value.files) != null && e.length && Ca(T.value.files), T.value.value = "", await ua();
2107
2108
  }
2108
2109
  ha(
2109
2110
  () => l.modelValue,
2110
2111
  (e) => {
2111
- if (e && u(e)) {
2112
+ if (e && k(e)) {
2112
2113
  const c = e, C = Array.from(c);
2113
- g.value = C.map(($) => va($));
2114
- } else !e && g.value && (g.value = null);
2114
+ v.value = C.map(($) => va($));
2115
+ } else !e && v.value && (v.value = null);
2115
2116
  },
2116
2117
  { immediate: !0 }
2117
2118
  );
2118
- function ti(e) {
2119
+ function ni(e) {
2119
2120
  const c = l.maxCount && e.length <= l.maxCount;
2120
- Ya.value = !c;
2121
+ Xa.value = !c;
2121
2122
  }
2122
- function ni(e) {
2123
+ function oi(e) {
2123
2124
  l.maxSize && e.forEach((c) => {
2124
2125
  const C = c;
2125
- C.data.size > l.maxSize && (C.state = F.ERROR, C.errors.push(E.ERROR_SIZE));
2126
+ C.data.size > l.maxSize && (C.state = S.ERROR, C.errors.push(E.ERROR_SIZE));
2126
2127
  });
2127
2128
  }
2128
- function oi(e) {
2129
+ function pi(e) {
2129
2130
  const c = e.filter(
2130
2131
  ({ errors: C }) => !C.includes(E.ERROR_LOAD) && !C.includes(E.ERROR_SIZE)
2131
2132
  );
2132
2133
  if (c.length) {
2133
2134
  const C = new DataTransfer();
2134
- return c.forEach(({ data: $, id: Ca }) => {
2135
+ return c.forEach(({ data: $, id: $a }) => {
2135
2136
  C.items.add($);
2136
2137
  }), C.files;
2137
2138
  }
2138
2139
  }
2139
2140
  return (e, c) => {
2140
2141
  var C;
2141
- return s(), x("div", {
2142
- class: q(["b-file-uploader", da.value])
2142
+ return s(), g("div", {
2143
+ class: q(["b-file-uploader", ra.value])
2143
2144
  }, [
2144
- O(t(Ci), {
2145
+ O(t(_i), {
2145
2146
  class: "b-file-uploader__label",
2146
- for: t(ea),
2147
+ for: t(W),
2147
2148
  label: e.label,
2148
2149
  optional: e.optional,
2149
2150
  required: e.required,
2150
2151
  "tooltip-text": e.tooltipText
2151
2152
  }, null, 8, ["for", "label", "optional", "required", "tooltip-text"]),
2152
2153
  m("input", {
2153
- id: t(ea),
2154
+ id: t(W),
2154
2155
  ref_key: "inputRef",
2155
- ref: D,
2156
+ ref: T,
2156
2157
  "aria-hidden": "true",
2157
2158
  type: "file",
2158
2159
  tabindex: "-1",
@@ -2160,121 +2161,121 @@ const Be = ["id", "accept", "disabled", "multiple"], Ze = ["id"], Ae = ["aria-la
2160
2161
  class: "b-file-uploader__input",
2161
2162
  accept: e.accept,
2162
2163
  disabled: e.disabled,
2163
- multiple: K.value,
2164
- onChange: ei,
2165
- onClick: Ja
2166
- }, null, 40, Be),
2164
+ multiple: Q.value,
2165
+ onChange: ti,
2166
+ onClick: Ka
2167
+ }, null, 40, Ae),
2167
2168
  m("span", {
2168
- id: t(Z),
2169
+ id: t(B),
2169
2170
  "aria-hidden": "true",
2170
2171
  class: "b-file-uploader__invisible-comma"
2171
- }, " , ", 8, Ze),
2172
- ra.value ? v("", !0) : (s(), x("div", {
2172
+ }, " , ", 8, Ue),
2173
+ la.value ? f("", !0) : (s(), g("div", {
2173
2174
  key: 0,
2174
2175
  ref_key: "dropAreaRef",
2175
- ref: A,
2176
- "aria-labelledby": na.value,
2176
+ ref: ta,
2177
+ "aria-labelledby": oa.value,
2177
2178
  class: "b-file-uploader__area",
2178
2179
  role: "button",
2179
2180
  tabindex: e.disabled ? -1 : 0,
2180
- onClick: c[0] || (c[0] = ($) => D.value.click()),
2181
- onDragenter: aa(Ka, ["stop", "prevent"]),
2182
- onDragleave: aa(Qa, ["stop", "prevent"]),
2183
- onDrop: aa(ii, ["stop", "prevent"]),
2184
- onDragover: ai,
2181
+ onClick: c[0] || (c[0] = ($) => T.value.click()),
2182
+ onDragenter: aa(Qa, ["stop", "prevent"]),
2183
+ onDragleave: aa(ai, ["stop", "prevent"]),
2184
+ onDrop: aa(ei, ["stop", "prevent"]),
2185
+ onDragover: ii,
2185
2186
  onKeydownCapture: [
2186
- c[1] || (c[1] = _a(aa(($) => D.value.click(), ["prevent"]), ["enter"])),
2187
- c[2] || (c[2] = _a(aa(($) => D.value.click(), ["prevent"]), ["space"]))
2187
+ c[1] || (c[1] = ja(aa(($) => T.value.click(), ["prevent"]), ["enter"])),
2188
+ c[2] || (c[2] = ja(aa(($) => T.value.click(), ["prevent"]), ["space"]))
2188
2189
  ]
2189
2190
  }, [
2190
- m("div", Ue, [
2191
- T.value ? (s(), k(t(Ba), { key: 0 })) : (s(), k(t(Ri), { key: 1 }))
2191
+ m("div", Pe, [
2192
+ N.value ? (s(), y(t(Za), { key: 0 })) : (s(), y(t(Ii), { key: 1 }))
2192
2193
  ]),
2193
- e.condensed ? v("", !0) : (s(), x(ja, { key: 0 }, [
2194
+ e.condensed ? f("", !0) : (s(), g(za, { key: 0 }, [
2194
2195
  O(t(R), {
2195
- id: t(B),
2196
+ id: t(G),
2196
2197
  el: "span",
2197
2198
  strongest: "",
2198
2199
  class: "b-file-uploader__title"
2199
2200
  }, {
2200
- default: y(() => [
2201
- _(f(t(p)("dropFiles", e.maxCount)), 1)
2201
+ default: w(() => [
2202
+ _(x(t(p)("dropFiles", e.maxCount)), 1)
2202
2203
  ]),
2203
2204
  _: 1
2204
2205
  }, 8, ["id"]),
2205
- e.description ? (s(), k(t(R), {
2206
+ e.description ? (s(), y(t(R), {
2206
2207
  key: 0,
2207
- id: t(z),
2208
+ id: t(H),
2208
2209
  el: "span",
2209
2210
  class: "b-file-uploader__description"
2210
2211
  }, {
2211
- default: y(() => [
2212
- _(f(e.description), 1)
2212
+ default: w(() => [
2213
+ _(x(e.description), 1)
2213
2214
  ]),
2214
2215
  _: 1
2215
- }, 8, ["id"])) : v("", !0),
2216
- O(t(Oa), V(J.value, { id: t(P) }), null, 16, ["id"])
2216
+ }, 8, ["id"])) : f("", !0),
2217
+ O(t(Ha), V(J.value, { id: t(A) }), null, 16, ["id"])
2217
2218
  ], 64)),
2218
2219
  O(t(R), {
2219
- id: t(r),
2220
+ id: t(z),
2220
2221
  stronger: "",
2221
2222
  class: "b-file-uploader__button"
2222
2223
  }, {
2223
- default: y(() => [
2224
- _(f(t(o)("browseFiles")), 1)
2224
+ default: w(() => [
2225
+ _(x(t(o)("browseFiles")), 1)
2225
2226
  ]),
2226
2227
  _: 1
2227
2228
  }, 8, ["id"])
2228
- ], 40, Ae)),
2229
- T.value && e.errorMessage ? (s(), k(t($i), {
2229
+ ], 40, Ne)),
2230
+ N.value && e.errorMessage ? (s(), y(t(ji), {
2230
2231
  key: 1,
2231
- id: t(ta),
2232
+ id: t(na),
2232
2233
  "error-message": e.errorMessage,
2233
2234
  class: "b-file-uploader__error-message"
2234
- }, null, 8, ["id", "error-message"])) : v("", !0),
2235
- e.condensed && e.description ? (s(), k(t(R), {
2235
+ }, null, 8, ["id", "error-message"])) : f("", !0),
2236
+ e.condensed && e.description ? (s(), y(t(R), {
2236
2237
  key: 2,
2237
- id: t(z),
2238
+ id: t(H),
2238
2239
  "aria-hidden": "true",
2239
2240
  el: "span",
2240
2241
  class: "b-file-uploader__description b-file-uploader__description--condensed"
2241
2242
  }, {
2242
- default: y(() => [
2243
- _(f(e.description), 1)
2243
+ default: w(() => [
2244
+ _(x(e.description), 1)
2244
2245
  ]),
2245
2246
  _: 1
2246
- }, 8, ["id"])) : v("", !0),
2247
- e.condensed ? (s(), k(t(Oa), V({ key: 3 }, J.value, { id: t(P) }), null, 16, ["id"])) : v("", !0),
2248
- Q.value ? (s(), k(t(vi), {
2247
+ }, 8, ["id"])) : f("", !0),
2248
+ e.condensed ? (s(), y(t(Ha), V({ key: 3 }, J.value, { id: t(A) }), null, 16, ["id"])) : f("", !0),
2249
+ ya.value ? (s(), y(t(fi), {
2249
2250
  key: 4,
2250
2251
  type: "critical"
2251
2252
  }, {
2252
- description: y(() => [
2253
- _(f(t(o)("youHaveExceededTheMaximum", { count: t(n)(l.maxCount) })), 1)
2253
+ description: w(() => [
2254
+ _(x(t(o)("youHaveExceededTheMaximum", { count: t(n)(l.maxCount) })), 1)
2254
2255
  ]),
2255
- default: y(() => [
2256
- _(f(t(o)("tooManyFiles")) + " ", 1)
2256
+ default: w(() => [
2257
+ _(x(t(o)("tooManyFiles")) + " ", 1)
2257
2258
  ]),
2258
2259
  _: 1
2259
- })) : v("", !0),
2260
- qa(m("div", Ne, [
2261
- (s(!0), x(ja, null, ri(g.value, ($, Ca) => (s(), k(t(Me), {
2260
+ })) : f("", !0),
2261
+ Ba(m("div", Ge, [
2262
+ (s(!0), g(za, null, mi(v.value, ($, $a) => (s(), y(t(Se), {
2262
2263
  ref_for: !0,
2263
- ref: ma(Ca),
2264
+ ref: j($a),
2264
2265
  key: $.id,
2265
2266
  file: $,
2266
- "supported-file-types": t(w),
2267
- onCancel: (pi) => ya($),
2268
- onRemove: (pi) => ya($)
2267
+ "supported-file-types": t(r),
2268
+ onCancel: (li) => ka($),
2269
+ onRemove: (li) => ka($)
2269
2270
  }, null, 8, ["file", "supported-file-types", "onCancel", "onRemove"]))), 128))
2270
2271
  ], 512), [
2271
- [mi, (C = g.value) == null ? void 0 : C.length]
2272
+ [ui, (C = v.value) == null ? void 0 : C.length]
2272
2273
  ])
2273
2274
  ], 2);
2274
2275
  };
2275
2276
  }
2276
- }), mt = /* @__PURE__ */ L(Ge, [["__scopeId", "data-v-9bda0f89"]]);
2277
+ }), ft = /* @__PURE__ */ L(Ye, [["__scopeId", "data-v-91e31414"]]);
2277
2278
  export {
2278
- mt as f
2279
+ ft as f
2279
2280
  };
2280
- //# sourceMappingURL=file-uploader.By0MTfKk.js.map
2281
+ //# sourceMappingURL=file-uploader.BDXQ7Ccv.js.map