@adyen/bento-vue3 1.62.0 → 1.63.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 (146) hide show
  1. package/dist/@types/index.d.ts +181 -235
  2. package/dist/accordion.js +1 -1
  3. package/dist/action-bar.js +1 -1
  4. package/dist/assets/accordion-item.css +1 -1
  5. package/dist/assets/action-bar.css +1 -1
  6. package/dist/assets/base-modal.css +1 -1
  7. package/dist/assets/card.css +1 -1
  8. package/dist/assets/checkbox-input.css +1 -1
  9. package/dist/assets/data-grid.css +1 -1
  10. package/dist/assets/date-range-picker.css +1 -1
  11. package/dist/assets/dialog-page.css +1 -1
  12. package/dist/assets/file-uploader.css +1 -1
  13. package/dist/assets/header-with-views.css +1 -1
  14. package/dist/assets/inspector.css +1 -1
  15. package/dist/assets/listbox-option-tag.css +1 -1
  16. package/dist/assets/menu.css +1 -1
  17. package/dist/assets/modal-fullscreen.css +1 -1
  18. package/dist/assets/popover.css +1 -1
  19. package/dist/assets/sidepanel.css +1 -1
  20. package/dist/assets/use-cached-selected-values.css +1 -1
  21. package/dist/card.js +1 -1
  22. package/dist/checkbox.js +3 -3
  23. package/dist/chunks/{accordion-item.QL3wdbhL.js → accordion-item.DOnW0OnU.js} +16 -15
  24. package/dist/chunks/{accordion-item.QL3wdbhL.js.map → accordion-item.DOnW0OnU.js.map} +1 -1
  25. package/dist/chunks/{action-bar.DZhxAMLL.js → action-bar.D8eibCuD.js} +2 -2
  26. package/dist/chunks/{action-bar.DZhxAMLL.js.map → action-bar.D8eibCuD.js.map} +1 -1
  27. package/dist/chunks/{button-actions-with-menu.DhqEdBBQ.js → button-actions-with-menu.BS4gewjn.js} +2 -2
  28. package/dist/chunks/{button-actions-with-menu.DhqEdBBQ.js.map → button-actions-with-menu.BS4gewjn.js.map} +1 -1
  29. package/dist/chunks/{calendar.DW8Uy3b_.js → calendar.CLpwW_-k.js} +2 -2
  30. package/dist/chunks/{calendar.DW8Uy3b_.js.map → calendar.CLpwW_-k.js.map} +1 -1
  31. package/dist/chunks/card.DiBtLuRU.js +227 -0
  32. package/dist/chunks/card.DiBtLuRU.js.map +1 -0
  33. package/dist/chunks/{checkbox-group.Dsmy9OW5.js → checkbox-group.Aqtco8Q5.js} +2 -2
  34. package/dist/chunks/{checkbox-group.Dsmy9OW5.js.map → checkbox-group.Aqtco8Q5.js.map} +1 -1
  35. package/dist/chunks/checkbox-input.DFkwZ4GM.js +144 -0
  36. package/dist/chunks/checkbox-input.DFkwZ4GM.js.map +1 -0
  37. package/dist/chunks/{checkbox.C4dJVYbB.js → checkbox.Hl6-8Sai.js} +22 -21
  38. package/dist/chunks/{checkbox.C4dJVYbB.js.map → checkbox.Hl6-8Sai.js.map} +1 -1
  39. package/dist/chunks/chevron-down.DCQ6ZLaq.js +29 -0
  40. package/dist/chunks/chevron-down.DCQ6ZLaq.js.map +1 -0
  41. package/dist/chunks/{chevron-left.Cfn1uGLH.js → chevron-right.Brdj0WlO.js} +5 -5
  42. package/dist/chunks/chevron-right.Brdj0WlO.js.map +1 -0
  43. package/dist/chunks/chevron-up.kfuLRpZb.js +29 -0
  44. package/dist/chunks/chevron-up.kfuLRpZb.js.map +1 -0
  45. package/dist/chunks/{code-snippet.Cn2Lcvup.js → code-snippet.DyAfzpUj.js} +2 -2
  46. package/dist/chunks/{code-snippet.Cn2Lcvup.js.map → code-snippet.DyAfzpUj.js.map} +1 -1
  47. package/dist/chunks/{dashboard-section.BEpgS9FV.js → dashboard-section.Bff7RNHI.js} +3 -3
  48. package/dist/chunks/{dashboard-section.BEpgS9FV.js.map → dashboard-section.Bff7RNHI.js.map} +1 -1
  49. package/dist/chunks/{data-grid-template.DCJc9gFg.js → data-grid-template.Dt-4ta3L.js} +3 -3
  50. package/dist/chunks/{data-grid-template.DCJc9gFg.js.map → data-grid-template.Dt-4ta3L.js.map} +1 -1
  51. package/dist/chunks/{data-grid.CMwzTU-b.js → data-grid.dnbCuBF7.js} +1266 -1278
  52. package/dist/chunks/data-grid.dnbCuBF7.js.map +1 -0
  53. package/dist/chunks/{date-picker.BcquOXbz.js → date-picker.Bfemi1um.js} +15 -15
  54. package/dist/chunks/{date-picker.BcquOXbz.js.map → date-picker.Bfemi1um.js.map} +1 -1
  55. package/dist/chunks/date-range-picker.BJm2xOoG.js +1209 -0
  56. package/dist/chunks/date-range-picker.BJm2xOoG.js.map +1 -0
  57. package/dist/chunks/{dropdown-default-textbox.CtsO8vqZ.js → dropdown-default-textbox.B05elQig.js} +7 -6
  58. package/dist/chunks/{dropdown-default-textbox.CtsO8vqZ.js.map → dropdown-default-textbox.B05elQig.js.map} +1 -1
  59. package/dist/chunks/{dropdown-tag.6DqQdI4d.js → dropdown-tag.CQMkfl3K.js} +3 -3
  60. package/dist/chunks/{dropdown-tag.6DqQdI4d.js.map → dropdown-tag.CQMkfl3K.js.map} +1 -1
  61. package/dist/chunks/{dropdown.OG72_pRK.js → dropdown.BPQS22Kl.js} +27 -27
  62. package/dist/chunks/{dropdown.OG72_pRK.js.map → dropdown.BPQS22Kl.js.map} +1 -1
  63. package/dist/chunks/es6.n1ewaW31.js.map +1 -1
  64. package/dist/chunks/{filter-bar.CV9gc16N.js → filter-bar.BNMR3HZ5.js} +15 -14
  65. package/dist/chunks/{filter-bar.CV9gc16N.js.map → filter-bar.BNMR3HZ5.js.map} +1 -1
  66. package/dist/chunks/{fixed-scroller.Cmi0TpjZ.js → fixed-scroller.D5nAPPbo.js} +31 -31
  67. package/dist/chunks/fixed-scroller.D5nAPPbo.js.map +1 -0
  68. package/dist/chunks/{header-with-views.B3WWqTtt.js → header-with-views.go02TaiU.js} +435 -435
  69. package/dist/chunks/header-with-views.go02TaiU.js.map +1 -0
  70. package/dist/chunks/{header.D94roWI-.js → header.CLg3TLJs.js} +2 -2
  71. package/dist/chunks/{header.D94roWI-.js.map → header.CLg3TLJs.js.map} +1 -1
  72. package/dist/chunks/{input-field-password.BsH_9lnw.js → input-field-password.B5zx9e4K.js} +3 -3
  73. package/dist/chunks/{input-field-password.BsH_9lnw.js.map → input-field-password.B5zx9e4K.js.map} +1 -1
  74. package/dist/chunks/{input-field-phone-number.CiicWtuZ.js → input-field-phone-number.DqfmWaJ2.js} +3 -3
  75. package/dist/chunks/{input-field-phone-number.CiicWtuZ.js.map → input-field-phone-number.DqfmWaJ2.js.map} +1 -1
  76. package/dist/chunks/{input-field.D3z0nJ43.js → input-field.CfsdWr4t.js} +2 -2
  77. package/dist/chunks/{input-field.D3z0nJ43.js.map → input-field.CfsdWr4t.js.map} +1 -1
  78. package/dist/chunks/listbox-option-tag.0fIXV0Bs.js +57 -0
  79. package/dist/chunks/listbox-option-tag.0fIXV0Bs.js.map +1 -0
  80. package/dist/chunks/menu.CCDxWQPw.js +679 -0
  81. package/dist/chunks/menu.CCDxWQPw.js.map +1 -0
  82. package/dist/chunks/minus-small.DYIyF5XW.js +32 -0
  83. package/dist/chunks/minus-small.DYIyF5XW.js.map +1 -0
  84. package/dist/chunks/{pagination.B_d4N-RQ.js → pagination.BKyr5hq_.js} +2 -2
  85. package/dist/chunks/{pagination.B_d4N-RQ.js.map → pagination.BKyr5hq_.js.map} +1 -1
  86. package/dist/chunks/{rich-text-editor.CnoXCpHV.js → rich-text-editor.BK2zdyOm.js} +2 -2
  87. package/dist/chunks/{rich-text-editor.CnoXCpHV.js.map → rich-text-editor.BK2zdyOm.js.map} +1 -1
  88. package/dist/chunks/{search-bar.BeOwzjq4.js → search-bar.DgOHq0ns.js} +3 -3
  89. package/dist/chunks/{search-bar.BeOwzjq4.js.map → search-bar.DgOHq0ns.js.map} +1 -1
  90. package/dist/chunks/{secondary-nav.GRqyqoMi.js → secondary-nav.BHpoi5U4.js} +2 -2
  91. package/dist/chunks/{secondary-nav.GRqyqoMi.js.map → secondary-nav.BHpoi5U4.js.map} +1 -1
  92. package/dist/chunks/{selection-card-group.0tHKJZ1M.js → selection-card-group.-8bXRhOW.js} +2 -2
  93. package/dist/chunks/{selection-card-group.0tHKJZ1M.js.map → selection-card-group.-8bXRhOW.js.map} +1 -1
  94. package/dist/chunks/{tabs.CkDHEdGa.js → tabs.Cq1fdzVh.js} +2 -2
  95. package/dist/chunks/{tabs.CkDHEdGa.js.map → tabs.Cq1fdzVh.js.map} +1 -1
  96. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.20XC06Eu.js → tutorial.vue_vue_type_script_setup_true_lang.BlSsK0Rr.js} +2 -2
  97. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.20XC06Eu.js.map → tutorial.vue_vue_type_script_setup_true_lang.BlSsK0Rr.js.map} +1 -1
  98. package/dist/chunks/{use-cached-selected-values.CUi4XfMa.js → use-cached-selected-values.swt0cdsA.js} +603 -571
  99. package/dist/chunks/use-cached-selected-values.swt0cdsA.js.map +1 -0
  100. package/dist/code-snippet.js +1 -1
  101. package/dist/dashboard-template.js +1 -1
  102. package/dist/data-grid-template.js +1 -1
  103. package/dist/data-grid.js +1 -1
  104. package/dist/date-picker.js +2 -2
  105. package/dist/date-range-picker.js +2 -2
  106. package/dist/dropdown.js +4 -4
  107. package/dist/filter-bar.js +1 -1
  108. package/dist/header-with-views.js +1 -1
  109. package/dist/header.js +1 -1
  110. package/dist/index.js +31 -31
  111. package/dist/input-field-password.js +1 -1
  112. package/dist/input-field-phone-number.js +1 -1
  113. package/dist/input-field.js +1 -1
  114. package/dist/internal.js +5 -5
  115. package/dist/menu.js +1 -1
  116. package/dist/pagination.js +1 -1
  117. package/dist/rich-text-editor.js +1 -1
  118. package/dist/search-bar.js +2 -2
  119. package/dist/secondary-nav.js +1 -1
  120. package/dist/selection-card.js +1 -1
  121. package/dist/styles/bento-dark.css +4 -0
  122. package/dist/styles/bento-light.css +4 -0
  123. package/dist/styles/bento.css +4 -0
  124. package/dist/styles/legacy.css +4 -0
  125. package/dist/styles/styleguide.css +4 -0
  126. package/dist/tabs.js +1 -1
  127. package/dist/tutorial.js +1 -1
  128. package/dist/web-types.json +1 -1
  129. package/package.json +6 -6
  130. package/dist/chunks/card.CxeuIcpZ.js +0 -213
  131. package/dist/chunks/card.CxeuIcpZ.js.map +0 -1
  132. package/dist/chunks/checkbox-input.BhAIj6Cq.js +0 -168
  133. package/dist/chunks/checkbox-input.BhAIj6Cq.js.map +0 -1
  134. package/dist/chunks/chevron-left.Cfn1uGLH.js.map +0 -1
  135. package/dist/chunks/chevron-up.MAa3Ksgd.js +0 -52
  136. package/dist/chunks/chevron-up.MAa3Ksgd.js.map +0 -1
  137. package/dist/chunks/data-grid.CMwzTU-b.js.map +0 -1
  138. package/dist/chunks/date-range-picker.DSgv57wo.js +0 -1181
  139. package/dist/chunks/date-range-picker.DSgv57wo.js.map +0 -1
  140. package/dist/chunks/fixed-scroller.Cmi0TpjZ.js.map +0 -1
  141. package/dist/chunks/header-with-views.B3WWqTtt.js.map +0 -1
  142. package/dist/chunks/listbox-option-tag.WzftYVP_.js +0 -55
  143. package/dist/chunks/listbox-option-tag.WzftYVP_.js.map +0 -1
  144. package/dist/chunks/menu.DOKYXlFy.js +0 -768
  145. package/dist/chunks/menu.DOKYXlFy.js.map +0 -1
  146. package/dist/chunks/use-cached-selected-values.CUi4XfMa.js.map +0 -1
@@ -1,15 +1,15 @@
1
- import { createElementBlock as o, openBlock as l, mergeProps as $, createCommentVNode as v, createElementVNode as s, toDisplayString as c, createStaticVNode as T1, ref as g, reactive as i2, computed as J, watch as i1, nextTick as y1, defineComponent as P1, toRef as l2, withKeys as q, withModifiers as p1, createVNode as R, createBlock as F, unref as n, withCtx as Z, Fragment as w1, renderList as $1, normalizeClass as l1, createTextVNode as Q, resolveDynamicComponent as m1, onMounted as F5, useSlots as n2, createSlots as S1, renderSlot as o2 } from "vue";
1
+ import { createElementBlock as o, openBlock as l, mergeProps as L, createCommentVNode as v, createElementVNode as s, toDisplayString as c, createStaticVNode as T1, ref as g, reactive as i2, computed as q, watch as i1, nextTick as y1, defineComponent as P1, toRef as l2, withKeys as j, withModifiers as p1, createVNode as T, createBlock as F, unref as n, withCtx as Z, Fragment as w1, renderList as $1, normalizeClass as l1, createTextVNode as J, resolveDynamicComponent as m1, onMounted as F5, useSlots as n2, createSlots as S1, renderSlot as o2 } from "vue";
2
2
  import { B as v1 } from "./button.AB0SOQMn.js";
3
- import { B as G5 } from "./checkbox.C4dJVYbB.js";
4
- import { B as B5 } from "./menu.DOKYXlFy.js";
3
+ import { B as G5 } from "./checkbox.Hl6-8Sai.js";
4
+ import { B as B5 } from "./menu.CCDxWQPw.js";
5
5
  import { _ as x1 } from "./modal.vue_vue_type_script_setup_true_lang.LnD61fHp.js";
6
6
  import { B as L1 } from "./popover.maCMPyz8.js";
7
7
  import { B as C1 } from "./typography.DN5eC5ch.js";
8
- import { u as _1 } from "./use-click-outside.BnhTgpSt.js";
8
+ import { u as V1 } from "./use-click-outside.BnhTgpSt.js";
9
9
  import { u as a2 } from "./use-has-slot.B7eQSabc.js";
10
10
  import { u as r2 } from "./use-bento-toast-controller.D3LA1FCd.js";
11
- import { g as V1 } from "./generate-uid.NJ8tVoha.js";
12
- import { B as u2 } from "./button-actions-with-menu.DhqEdBBQ.js";
11
+ import { g as _1 } from "./generate-uid.NJ8tVoha.js";
12
+ import { B as u2 } from "./button-actions-with-menu.BS4gewjn.js";
13
13
  import { u as Z1 } from "./i18n.B6g5VX0q.js";
14
14
  import { B as d2 } from "./bin.CiGG2V4b.js";
15
15
  import { D as C2 } from "./dot.ob6N-5Um.js";
@@ -21,7 +21,7 @@ import { I as c2 } from "./info-icon-with-popover.Duk1tj5G.js";
21
21
  import { u as h1 } from "./on-click-outside.D9aY9g8G.js";
22
22
  import { B as A1 } from "./toggle-button.NQwrfSr1.js";
23
23
  import { B as f2 } from "./divider.qUOSAbU6.js";
24
- import { B as g2 } from "./input-field.D3z0nJ43.js";
24
+ import { B as g2 } from "./input-field.CfsdWr4t.js";
25
25
  import { d as h2 } from "./debounce.DUTu11PS.js";
26
26
  import { F as w2 } from "./error-message.C9YtK-P0.js";
27
27
  import { B as $2 } from "./button-actions.D1pXI1AJ.js";
@@ -32,8 +32,8 @@ const m2 = {
32
32
  this.uuid = e5.toString(), e5 += 1;
33
33
  }
34
34
  }, L2 = { key: 0 };
35
- function _2(e, t, a, r, u, i) {
36
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
35
+ function V2(e, t, a, r, u, i) {
36
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
37
37
  class: "ui-assets-icons-16",
38
38
  xmlns: "http://www.w3.org/2000/svg",
39
39
  width: "16",
@@ -51,7 +51,7 @@ function _2(e, t, a, r, u, i) {
51
51
  }, null, -1))
52
52
  ], 16);
53
53
  }
54
- const V2 = /* @__PURE__ */ w(m2, [["render", _2]]);
54
+ const _2 = /* @__PURE__ */ w(m2, [["render", V2]]);
55
55
  let t5 = 0;
56
56
  const b2 = {
57
57
  beforeCreate() {
@@ -59,7 +59,7 @@ const b2 = {
59
59
  }
60
60
  }, M2 = { key: 0 };
61
61
  function H2(e, t, a, r, u, i) {
62
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
62
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
63
63
  class: "ui-assets-icons-16",
64
64
  xmlns: "http://www.w3.org/2000/svg",
65
65
  width: "16",
@@ -85,7 +85,7 @@ const Z2 = {
85
85
  }
86
86
  }, k2 = { key: 0 };
87
87
  function S2(e, t, a, r, u, i) {
88
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
88
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
89
89
  class: "ui-assets-icons-16",
90
90
  xmlns: "http://www.w3.org/2000/svg",
91
91
  width: "16",
@@ -107,7 +107,7 @@ const D2 = {
107
107
  }
108
108
  }, R2 = { key: 0 };
109
109
  function T2(e, t, a, r, u, i) {
110
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
110
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
111
111
  class: "ui-assets-icons-16",
112
112
  xmlns: "http://www.w3.org/2000/svg",
113
113
  width: "16",
@@ -137,7 +137,7 @@ const P2 = {
137
137
  }
138
138
  }, A2 = { key: 0 };
139
139
  function O2(e, t, a, r, u, i) {
140
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
140
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
141
141
  class: "ui-assets-icons-16",
142
142
  xmlns: "http://www.w3.org/2000/svg",
143
143
  width: "16",
@@ -159,7 +159,7 @@ const E2 = {
159
159
  }
160
160
  }, U2 = { key: 0 }, N2 = ["clip-path"], K2 = ["id"];
161
161
  function F2(e, t, a, r, u, i) {
162
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
162
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
163
163
  class: "ui-assets-icons-16",
164
164
  xmlns: "http://www.w3.org/2000/svg",
165
165
  width: "16",
@@ -195,7 +195,7 @@ const B2 = {
195
195
  }
196
196
  }, Y2 = { key: 0 };
197
197
  function j2(e, t, a, r, u, i) {
198
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
198
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
199
199
  class: "ui-assets-icons-16",
200
200
  xmlns: "http://www.w3.org/2000/svg",
201
201
  width: "16",
@@ -217,7 +217,7 @@ const q2 = {
217
217
  }
218
218
  }, J2 = { key: 0 }, Q2 = ["clip-path"], X2 = ["id"];
219
219
  function W2(e, t, a, r, u, i) {
220
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
220
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
221
221
  class: "ui-assets-icons-16",
222
222
  xmlns: "http://www.w3.org/2000/svg",
223
223
  width: "16",
@@ -254,7 +254,7 @@ const ee = {
254
254
  }
255
255
  }, te = { key: 0 }, se = ["clip-path"], ie = ["id"];
256
256
  function le(e, t, a, r, u, i) {
257
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
257
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
258
258
  class: "ui-assets-icons-16",
259
259
  xmlns: "http://www.w3.org/2000/svg",
260
260
  width: "16",
@@ -292,7 +292,7 @@ const oe = {
292
292
  }
293
293
  }, ae = { key: 0 };
294
294
  function re(e, t, a, r, u, i) {
295
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
295
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
296
296
  class: "ui-assets-icons-16",
297
297
  xmlns: "http://www.w3.org/2000/svg",
298
298
  width: "16",
@@ -314,7 +314,7 @@ const de = {
314
314
  }
315
315
  }, Ce = { key: 0 }, pe = ["clip-path"], ve = ["id"];
316
316
  function ce(e, t, a, r, u, i) {
317
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
317
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
318
318
  class: "ui-assets-icons-16",
319
319
  xmlns: "http://www.w3.org/2000/svg",
320
320
  width: "16",
@@ -351,7 +351,7 @@ const ge = {
351
351
  }
352
352
  }, he = { key: 0 };
353
353
  function we(e, t, a, r, u, i) {
354
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
354
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
355
355
  class: "ui-assets-icons-16",
356
356
  xmlns: "http://www.w3.org/2000/svg",
357
357
  width: "16",
@@ -371,9 +371,9 @@ const me = {
371
371
  beforeCreate() {
372
372
  this.uuid = p5.toString(), p5 += 1;
373
373
  }
374
- }, Le = { key: 0 }, _e = ["clip-path"], Ve = ["id"];
374
+ }, Le = { key: 0 }, Ve = ["clip-path"], _e = ["id"];
375
375
  function be(e, t, a, r, u, i) {
376
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
376
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
377
377
  class: "ui-assets-icons-16",
378
378
  xmlns: "http://www.w3.org/2000/svg",
379
379
  width: "16",
@@ -389,7 +389,7 @@ function be(e, t, a, r, u, i) {
389
389
  s("path", { d: "M5 6.75C4.58421 6.75 4.25 7.08421 4.25 7.5H2.75C2.75 6.25579 3.75579 5.25 5 5.25C6.24421 5.25 7.25 6.25579 7.25 7.5H5.75C5.75 7.08421 5.41579 6.75 5 6.75Z" }, null, -1),
390
390
  s("path", { d: "M10.25 7.5C10.25 7.08421 10.5842 6.75 11 6.75C11.4158 6.75 11.75 7.08421 11.75 7.5H13.25C13.25 6.25579 12.2442 5.25 11 5.25C9.75579 5.25 8.75 6.25579 8.75 7.5H10.25Z" }, null, -1),
391
391
  s("path", { d: "M8 0.25C3.71579 0.25 0.25 3.71579 0.25 8C0.25 12.2842 3.71579 15.75 8 15.75C12.2842 15.75 15.75 12.2842 15.75 8C15.75 3.71579 12.2842 0.25 8 0.25ZM1.75 8C1.75 4.54421 4.54421 1.75 8 1.75C11.4558 1.75 14.25 4.54421 14.25 8C14.25 11.4558 11.4558 14.25 8 14.25C4.54421 14.25 1.75 11.4558 1.75 8Z" }, null, -1)
392
- ]), 8, _e),
392
+ ]), 8, Ve),
393
393
  s("defs", null, [
394
394
  s("clipPath", {
395
395
  id: "uia-ui-assets/icons-16-emoticon_happy__a" + e.uuid
@@ -399,7 +399,7 @@ function be(e, t, a, r, u, i) {
399
399
  height: "16",
400
400
  fill: "#fff"
401
401
  }, null, -1)
402
- ]), 8, Ve)
402
+ ]), 8, _e)
403
403
  ])
404
404
  ], 16);
405
405
  }
@@ -411,7 +411,7 @@ const He = {
411
411
  }
412
412
  }, ye = { key: 0 }, Ze = ["clip-path"], ke = ["id"];
413
413
  function Se(e, t, a, r, u, i) {
414
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
414
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
415
415
  class: "ui-assets-icons-16",
416
416
  xmlns: "http://www.w3.org/2000/svg",
417
417
  width: "16",
@@ -448,7 +448,7 @@ const Re = {
448
448
  }
449
449
  }, Te = { key: 0 };
450
450
  function Pe(e, t, a, r, u, i) {
451
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
451
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
452
452
  class: "ui-assets-icons-16",
453
453
  xmlns: "http://www.w3.org/2000/svg",
454
454
  width: "16",
@@ -467,7 +467,7 @@ const Oe = {
467
467
  }
468
468
  }, Ie = { key: 0 };
469
469
  function Ee(e, t, a, r, u, i) {
470
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
470
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
471
471
  class: "ui-assets-icons-16",
472
472
  xmlns: "http://www.w3.org/2000/svg",
473
473
  width: "16",
@@ -489,7 +489,7 @@ const Ne = {
489
489
  }
490
490
  }, Ke = { key: 0 };
491
491
  function Fe(e, t, a, r, u, i) {
492
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
492
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
493
493
  class: "ui-assets-icons-16",
494
494
  xmlns: "http://www.w3.org/2000/svg",
495
495
  width: "16",
@@ -511,7 +511,7 @@ const Be = {
511
511
  }
512
512
  }, Ye = { key: 0 };
513
513
  function je(e, t, a, r, u, i) {
514
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
514
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
515
515
  class: "ui-assets-icons-16",
516
516
  xmlns: "http://www.w3.org/2000/svg",
517
517
  width: "16",
@@ -537,7 +537,7 @@ const qe = {
537
537
  }
538
538
  }, Je = { key: 0 };
539
539
  function Qe(e, t, a, r, u, i) {
540
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
540
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
541
541
  class: "ui-assets-icons-16",
542
542
  xmlns: "http://www.w3.org/2000/svg",
543
543
  width: "16",
@@ -563,7 +563,7 @@ const We = {
563
563
  }
564
564
  }, xe = { key: 0 };
565
565
  function et(e, t, a, r, u, i) {
566
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
566
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
567
567
  class: "ui-assets-icons-16",
568
568
  xmlns: "http://www.w3.org/2000/svg",
569
569
  width: "16",
@@ -585,7 +585,7 @@ const st = {
585
585
  }
586
586
  }, it = { key: 0 }, lt = ["clip-path"], nt = ["id"];
587
587
  function ot(e, t, a, r, u, i) {
588
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
588
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
589
589
  class: "ui-assets-icons-16",
590
590
  xmlns: "http://www.w3.org/2000/svg",
591
591
  width: "16",
@@ -622,7 +622,7 @@ const rt = {
622
622
  }
623
623
  }, ut = { key: 0 };
624
624
  function dt(e, t, a, r, u, i) {
625
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
625
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
626
626
  class: "ui-assets-icons-16",
627
627
  xmlns: "http://www.w3.org/2000/svg",
628
628
  width: "16",
@@ -637,14 +637,14 @@ function dt(e, t, a, r, u, i) {
637
637
  ], 16);
638
638
  }
639
639
  const Ct = /* @__PURE__ */ w(rt, [["render", dt]]);
640
- let _5 = 0;
640
+ let V5 = 0;
641
641
  const pt = {
642
642
  beforeCreate() {
643
- this.uuid = _5.toString(), _5 += 1;
643
+ this.uuid = V5.toString(), V5 += 1;
644
644
  }
645
645
  }, vt = { key: 0 };
646
646
  function ct(e, t, a, r, u, i) {
647
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
647
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
648
648
  class: "ui-assets-icons-16",
649
649
  xmlns: "http://www.w3.org/2000/svg",
650
650
  width: "16",
@@ -663,14 +663,14 @@ function ct(e, t, a, r, u, i) {
663
663
  ], 16);
664
664
  }
665
665
  const ft = /* @__PURE__ */ w(pt, [["render", ct]]);
666
- let V5 = 0;
666
+ let _5 = 0;
667
667
  const gt = {
668
668
  beforeCreate() {
669
- this.uuid = V5.toString(), V5 += 1;
669
+ this.uuid = _5.toString(), _5 += 1;
670
670
  }
671
671
  }, ht = { key: 0 }, wt = ["clip-path"], $t = ["id"];
672
672
  function mt(e, t, a, r, u, i) {
673
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
673
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
674
674
  class: "ui-assets-icons-16",
675
675
  xmlns: "http://www.w3.org/2000/svg",
676
676
  width: "16",
@@ -702,27 +702,27 @@ function mt(e, t, a, r, u, i) {
702
702
  }
703
703
  const Lt = /* @__PURE__ */ w(gt, [["render", mt]]);
704
704
  let b5 = 0;
705
- const _t = {
705
+ const Vt = {
706
706
  beforeCreate() {
707
707
  this.uuid = b5.toString(), b5 += 1;
708
708
  }
709
- }, Vt = { key: 0 };
709
+ }, _t = { key: 0 };
710
710
  function bt(e, t, a, r, u, i) {
711
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
711
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
712
712
  class: "ui-assets-icons-16",
713
713
  xmlns: "http://www.w3.org/2000/svg",
714
714
  width: "16",
715
715
  height: "16",
716
716
  fill: "none"
717
717
  }), [
718
- e.$attrs["svg-title"] ? (l(), o("title", Vt, c(e.$attrs["svg-title"]), 1)) : v("", !0),
718
+ e.$attrs["svg-title"] ? (l(), o("title", _t, c(e.$attrs["svg-title"]), 1)) : v("", !0),
719
719
  t[0] || (t[0] = s("path", {
720
720
  fill: "#001222",
721
721
  d: "M7.99047 0.25C6.85765 0.25 5.89704 0.935208 5.47759 1.9044C4.03119 2.68871 2.96599 4.13012 2.7463 5.87663L2.4163 8.50663L2.41589 8.51C2.32636 9.25062 1.98383 9.94416 1.45427 10.4656L1.23047 10.6859V13.75H5.35431C5.68227 14.9019 6.74559 15.75 8 15.75C9.25441 15.75 10.3177 14.9019 10.6457 13.75H14.7305V10.6893L14.5108 10.4697C14.0619 10.0208 13.7524 9.46107 13.6074 8.8473L13.2346 5.8764C13.0151 4.13169 11.9599 2.68854 10.5029 1.90326C10.0831 0.934672 9.12284 0.25 7.99047 0.25ZM13.2305 12.25H2.73047V11.2985C3.37295 10.5734 3.78718 9.66208 3.90483 8.69177L4.23463 6.06337C4.4008 4.74299 5.24843 3.65649 6.3979 3.11951L6.70638 2.97541L6.80095 2.64833C6.95173 2.12691 7.42704 1.75 7.99047 1.75C8.5539 1.75 9.02921 2.12691 9.17999 2.64833L9.27491 2.97662L9.58492 3.12039C10.7406 3.65634 11.5799 4.74095 11.7463 6.0636L11.9705 7.85H11.9451L12.0569 8.69805C12.1842 9.6635 12.5895 10.5649 13.2305 11.2958V12.25ZM7.00274 13.75H8.99726C8.76827 14.0529 8.40537 14.25 8 14.25C7.59463 14.25 7.23173 14.0529 7.00274 13.75Z"
722
722
  }, null, -1))
723
723
  ], 16);
724
724
  }
725
- const Mt = /* @__PURE__ */ w(_t, [["render", bt]]);
725
+ const Mt = /* @__PURE__ */ w(Vt, [["render", bt]]);
726
726
  let M5 = 0;
727
727
  const Ht = {
728
728
  beforeCreate() {
@@ -730,7 +730,7 @@ const Ht = {
730
730
  }
731
731
  }, yt = { key: 0 }, Zt = ["clip-path"], kt = ["id"];
732
732
  function St(e, t, a, r, u, i) {
733
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
733
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
734
734
  class: "ui-assets-icons-16",
735
735
  xmlns: "http://www.w3.org/2000/svg",
736
736
  width: "16",
@@ -767,7 +767,7 @@ const Rt = {
767
767
  }
768
768
  }, Tt = { key: 0 };
769
769
  function Pt(e, t, a, r, u, i) {
770
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
770
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
771
771
  class: "ui-assets-icons-16",
772
772
  xmlns: "http://www.w3.org/2000/svg",
773
773
  width: "16",
@@ -789,7 +789,7 @@ const Ot = {
789
789
  }
790
790
  }, It = { key: 0 };
791
791
  function Et(e, t, a, r, u, i) {
792
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
792
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
793
793
  class: "ui-assets-icons-16",
794
794
  xmlns: "http://www.w3.org/2000/svg",
795
795
  width: "16",
@@ -819,7 +819,7 @@ const Nt = {
819
819
  }
820
820
  }, Kt = { key: 0 }, Ft = ["clip-path"], Gt = ["id"];
821
821
  function Bt(e, t, a, r, u, i) {
822
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
822
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
823
823
  class: "ui-assets-icons-16",
824
824
  xmlns: "http://www.w3.org/2000/svg",
825
825
  width: "16",
@@ -855,7 +855,7 @@ const jt = {
855
855
  }
856
856
  }, zt = { key: 0 };
857
857
  function qt(e, t, a, r, u, i) {
858
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
858
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
859
859
  class: "ui-assets-icons-16",
860
860
  xmlns: "http://www.w3.org/2000/svg",
861
861
  width: "16",
@@ -877,7 +877,7 @@ const Qt = {
877
877
  }
878
878
  }, Xt = { key: 0 }, Wt = ["clip-path"], xt = ["id"];
879
879
  function e0(e, t, a, r, u, i) {
880
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
880
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
881
881
  class: "ui-assets-icons-16",
882
882
  xmlns: "http://www.w3.org/2000/svg",
883
883
  width: "16",
@@ -914,7 +914,7 @@ const s0 = {
914
914
  }
915
915
  }, i0 = { key: 0 }, l0 = ["clip-path"], n0 = ["id"];
916
916
  function o0(e, t, a, r, u, i) {
917
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
917
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
918
918
  class: "ui-assets-icons-16",
919
919
  xmlns: "http://www.w3.org/2000/svg",
920
920
  width: "16",
@@ -951,7 +951,7 @@ const r0 = {
951
951
  }
952
952
  }, u0 = { key: 0 };
953
953
  function d0(e, t, a, r, u, i) {
954
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
954
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
955
955
  class: "ui-assets-icons-16",
956
956
  xmlns: "http://www.w3.org/2000/svg",
957
957
  width: "16",
@@ -973,7 +973,7 @@ const p0 = {
973
973
  }
974
974
  }, v0 = { key: 0 };
975
975
  function c0(e, t, a, r, u, i) {
976
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
976
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
977
977
  class: "ui-assets-icons-16",
978
978
  xmlns: "http://www.w3.org/2000/svg",
979
979
  width: "16",
@@ -995,7 +995,7 @@ const g0 = {
995
995
  }
996
996
  }, h0 = { key: 0 };
997
997
  function w0(e, t, a, r, u, i) {
998
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
998
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
999
999
  class: "ui-assets-icons-16",
1000
1000
  xmlns: "http://www.w3.org/2000/svg",
1001
1001
  width: "16",
@@ -1016,8 +1016,8 @@ const m0 = {
1016
1016
  this.uuid = A5.toString(), A5 += 1;
1017
1017
  }
1018
1018
  }, L0 = { key: 0 };
1019
- function _0(e, t, a, r, u, i) {
1020
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
1019
+ function V0(e, t, a, r, u, i) {
1020
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
1021
1021
  class: "ui-assets-icons-16",
1022
1022
  xmlns: "http://www.w3.org/2000/svg",
1023
1023
  width: "16",
@@ -1031,7 +1031,7 @@ function _0(e, t, a, r, u, i) {
1031
1031
  }, null, -1))
1032
1032
  ], 16);
1033
1033
  }
1034
- const V0 = /* @__PURE__ */ w(m0, [["render", _0]]);
1034
+ const _0 = /* @__PURE__ */ w(m0, [["render", V0]]);
1035
1035
  let O5 = 0;
1036
1036
  const b0 = {
1037
1037
  beforeCreate() {
@@ -1039,7 +1039,7 @@ const b0 = {
1039
1039
  }
1040
1040
  }, M0 = { key: 0 }, H0 = ["clip-path"], y0 = ["id"];
1041
1041
  function Z0(e, t, a, r, u, i) {
1042
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
1042
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
1043
1043
  class: "ui-assets-icons-16",
1044
1044
  xmlns: "http://www.w3.org/2000/svg",
1045
1045
  width: "16",
@@ -1076,7 +1076,7 @@ const S0 = {
1076
1076
  }
1077
1077
  }, D0 = { key: 0 }, R0 = ["clip-path"], T0 = ["id"];
1078
1078
  function P0(e, t, a, r, u, i) {
1079
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
1079
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
1080
1080
  class: "ui-assets-icons-16",
1081
1081
  xmlns: "http://www.w3.org/2000/svg",
1082
1082
  width: "16",
@@ -1112,7 +1112,7 @@ const H1 = {
1112
1112
  car: x2,
1113
1113
  education: $e,
1114
1114
  hotel: De,
1115
- "travel-bag": V0,
1115
+ "travel-bag": _0,
1116
1116
  lightning: Ct,
1117
1117
  news: Lt,
1118
1118
  prize: Dt,
@@ -1147,7 +1147,7 @@ const O0 = {
1147
1147
  }
1148
1148
  }, I0 = { key: 0 };
1149
1149
  function E0(e, t, a, r, u, i) {
1150
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
1150
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
1151
1151
  class: "ui-assets-icons-16",
1152
1152
  xmlns: "http://www.w3.org/2000/svg",
1153
1153
  width: "16",
@@ -1166,7 +1166,7 @@ const N0 = {
1166
1166
  }
1167
1167
  }, K0 = { key: 0 };
1168
1168
  function F0(e, t, a, r, u, i) {
1169
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
1169
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
1170
1170
  class: "ui-assets-icons-16",
1171
1171
  xmlns: "http://www.w3.org/2000/svg",
1172
1172
  width: "16",
@@ -1189,7 +1189,7 @@ function F0(e, t, a, r, u, i) {
1189
1189
  ], 16);
1190
1190
  }
1191
1191
  const G0 = /* @__PURE__ */ w(N0, [["render", F0]]), B0 = (e) => {
1192
- const t = g(e.views), a = i2({ label: "" }), { t: r } = Z1(), u = J(
1192
+ const t = g(e.views), a = i2({ label: "" }), { t: r } = Z1(), u = q(
1193
1193
  () => t.value.map((V) => {
1194
1194
  var y;
1195
1195
  return {
@@ -1207,30 +1207,31 @@ const G0 = /* @__PURE__ */ w(N0, [["render", F0]]), B0 = (e) => {
1207
1207
  };
1208
1208
  })
1209
1209
  ), i = (V, y) => {
1210
- const m = [...t.value], S = [...t.value];
1211
- let A;
1212
- return m[y] ? V ? (m[y] = {
1213
- ...m[y],
1210
+ let $ = [...t.value];
1211
+ const D = [...t.value];
1212
+ let R;
1213
+ return $[y] ? V ? (V.isDefault && ($ = $.map((E) => E.isDefault ? { ...E, isDefault: !1 } : E)), $[y] = {
1214
+ ...$[y],
1214
1215
  ...V
1215
- }, A = m[y].label) : (m.splice(y, 1), A = S[y].label) : (m.push(V), A = V.label), t.value = [...m], {
1216
+ }, R = $[y].label) : ($.splice(y, 1), R = D[y].label) : ($.push(V), R = V.label), t.value = [...$], {
1216
1217
  newViews: t.value,
1217
- oldViews: S,
1218
- targetViewLabel: A
1218
+ oldViews: D,
1219
+ targetViewLabel: R
1219
1220
  };
1220
- }, U = (V) => {
1221
+ }, N = (V) => {
1221
1222
  const y = u.value[V].label;
1222
- let m = `(1) - ${y}`, S = 1;
1223
- for (; u.value.some((N) => N.label === m); )
1224
- S++, m = `(${S}) - ${u.value[V].label}`;
1225
- const A = {
1223
+ let $ = `(1) - ${y}`, D = 1;
1224
+ for (; u.value.some((E) => E.label === $); )
1225
+ D++, $ = `(${D}) - ${u.value[V].label}`;
1226
+ const R = {
1226
1227
  ...u.value[V],
1227
- label: m
1228
+ label: $
1228
1229
  };
1229
1230
  return {
1230
- ...i(A),
1231
+ ...i(R),
1231
1232
  targetViewLabel: y
1232
1233
  };
1233
- }, T = (V) => {
1234
+ }, P = (V) => {
1234
1235
  const y = t.value;
1235
1236
  return t.value = V, { oldViews: y, newViews: V };
1236
1237
  }, k = () => {
@@ -1242,168 +1243,168 @@ const G0 = /* @__PURE__ */ w(N0, [["render", F0]]), B0 = (e) => {
1242
1243
  errors: a,
1243
1244
  // modify
1244
1245
  clearError: k,
1245
- duplicateView: U,
1246
- setViews: T,
1246
+ duplicateView: N,
1247
+ setViews: P,
1247
1248
  updateView: i,
1248
1249
  // validations
1249
1250
  validateLabel: (V, y) => {
1250
- const m = V.trim().length === 0, S = u.value.some(
1251
- (A, N) => A.label === V && y !== N
1251
+ const $ = V.trim().length === 0, D = u.value.some(
1252
+ (R, E) => R.label === V && y !== E
1252
1253
  );
1253
- m ? a.label = r("labelRequiredError") : S ? a.label = r("labelNoDuplicateError") : k();
1254
+ $ ? a.label = r("labelRequiredError") : D ? a.label = r("labelNoDuplicateError") : k();
1254
1255
  }
1255
1256
  };
1256
1257
  };
1257
1258
  var D1 = /* @__PURE__ */ ((e) => (e.UP = "up", e.DOWN = "down", e))(D1 || {});
1258
1259
  const Y0 = (e) => {
1259
- const { itemRefs: t, items: a, onDrop: r } = e, u = g(null), i = g(null), U = g(0), T = g(!1), k = g(0), _ = g(null), V = g(0), y = g(0), m = g([]), S = (C) => i.value === C, A = (C, M) => {
1260
- if (!M.target.closest("[data-drag-trigger]"))
1260
+ const { itemRefs: t, items: a, onDrop: r } = e, u = g(null), i = g(null), N = g(0), P = g(!1), k = g(0), b = g(null), V = g(0), y = g(0), $ = g([]), D = (C) => i.value === C, R = (C, H) => {
1261
+ if (!H.target.closest("[data-drag-trigger]"))
1261
1262
  return;
1262
- i.value = C, I();
1263
- const H = t.value[C];
1264
- H && (typeof M.clientY == "number" ? U.value = M.clientY : typeof M.key == "string" && (T.value = !0), k.value = H.clientHeight, V.value = k.value * (t.value.length - C - 1), y.value = -(k.value * C), document.documentElement.style.cursor = "grabbing", document.documentElement.style.userSelect = "none");
1265
- }, N = (C, M) => {
1266
- if (!T.value) {
1267
- _.value = C, A(C, M);
1263
+ i.value = C, O();
1264
+ const h = t.value[C];
1265
+ h && (typeof H.clientY == "number" ? N.value = H.clientY : typeof H.key == "string" && (P.value = !0), k.value = h.clientHeight, V.value = k.value * (t.value.length - C - 1), y.value = -(k.value * C), document.documentElement.style.cursor = "grabbing", document.documentElement.style.userSelect = "none");
1266
+ }, E = (C, H) => {
1267
+ if (!P.value) {
1268
+ b.value = C, R(C, H);
1268
1269
  return;
1269
1270
  }
1270
- O();
1271
- }, G = (C, M) => {
1272
- if (!T.value)
1271
+ A();
1272
+ }, K = (C, H) => {
1273
+ if (!P.value)
1273
1274
  return;
1274
- M.preventDefault();
1275
- const H = t.value.length - 1, f = 0, D = C === "down", b = C === "up";
1276
- if (b && _.value === f || D && _.value === H)
1275
+ H.preventDefault();
1276
+ const h = t.value.length - 1, M = 0, S = C === "down", m = C === "up";
1277
+ if (m && b.value === M || S && b.value === h)
1277
1278
  return;
1278
- let h = _.value + 1;
1279
- b && (h = _.value - 1);
1280
- const P = i.value < h, c1 = i.value > h, X = D && c1 || b && P || // This doesn't typically need transformation, but in a "reversed" direction,
1279
+ let f = b.value + 1;
1280
+ m && (f = b.value - 1);
1281
+ const Q = i.value < f, c1 = i.value > f, X = S && c1 || m && Q || // This doesn't typically need transformation, but in a "reversed" direction,
1281
1282
  // it may potentially need to pass through it's original position
1282
- i.value === h;
1283
- if (h > H || h < f)
1283
+ i.value === f;
1284
+ if (f > h || f < M)
1284
1285
  return;
1285
1286
  const f1 = () => {
1286
- const W = t.value[i.value], x = E((_.value - i.value) * k.value);
1287
+ const W = t.value[i.value], x = I((b.value - i.value) * k.value);
1287
1288
  W.style.transform = `translateY(${x}px)`;
1288
1289
  }, s1 = () => {
1289
- const W = t.value[_.value], x = D ? -k.value : k.value;
1290
+ const W = t.value[b.value], x = S ? -k.value : k.value;
1290
1291
  W.style.transform = X ? "translateY(0px)" : `translateY(${x}px)`;
1291
1292
  };
1292
1293
  if (!X) {
1293
- _.value = h, f1(), s1();
1294
+ b.value = f, f1(), s1();
1294
1295
  return;
1295
1296
  }
1296
- s1(), _.value = h, f1();
1297
- }, K = (C) => {
1298
- C && T.value && (C.stopPropagation(), C.preventDefault()), u.value = requestAnimationFrame(() => {
1299
- t.value.forEach((M) => {
1300
- const H = M;
1301
- H.style.transform = "";
1297
+ s1(), b.value = f, f1();
1298
+ }, U = (C) => {
1299
+ C && P.value && (C.stopPropagation(), C.preventDefault()), u.value = requestAnimationFrame(() => {
1300
+ t.value.forEach((H) => {
1301
+ const h = H;
1302
+ h.style.transform = "";
1302
1303
  }), u.value = null;
1303
- }), _.value = null, i.value = null, document.documentElement.style.cursor = "", document.documentElement.style.userSelect = "", T.value = null;
1304
- }, j = (C) => {
1305
- i.value === null || u.value || T.value || (u.value = requestAnimationFrame(() => {
1306
- const M = C.clientY, H = m.value.findIndex(
1307
- (f, D) => M >= f.top && M <= f.bottom || M <= f.top && D === 0 || M >= f.bottom && D === m.value.length - 1
1304
+ }), b.value = null, i.value = null, document.documentElement.style.cursor = "", document.documentElement.style.userSelect = "", P.value = null;
1305
+ }, Y = (C) => {
1306
+ i.value === null || u.value || P.value || (u.value = requestAnimationFrame(() => {
1307
+ const H = C.clientY, h = $.value.findIndex(
1308
+ (M, S) => H >= M.top && H <= M.bottom || H <= M.top && S === 0 || H >= M.bottom && S === $.value.length - 1
1308
1309
  );
1309
- H !== -1 && H !== _.value && (_.value = H), B(M), u.value = null;
1310
+ h !== -1 && h !== b.value && (b.value = h), G(H), u.value = null;
1310
1311
  }));
1311
- }, O = () => {
1312
+ }, A = () => {
1312
1313
  if (i.value === null || !t.value[i.value])
1313
1314
  return;
1314
- if (i.value === _.value) {
1315
- K();
1315
+ if (i.value === b.value) {
1316
+ U();
1316
1317
  return;
1317
1318
  }
1318
- const H = a.value[i.value], f = [...a.value];
1319
- f.splice(i.value, 1), f.splice(_.value, 0, H), z(), K(), r(f);
1320
- }, B = (C) => {
1321
- const M = t.value[i.value];
1322
- if (!M)
1319
+ const h = a.value[i.value], M = [...a.value];
1320
+ M.splice(i.value, 1), M.splice(b.value, 0, h), z(), U(), r(M);
1321
+ }, G = (C) => {
1322
+ const H = t.value[i.value];
1323
+ if (!H)
1323
1324
  return;
1324
- M.style.transform = `translateY(${E(C - U.value)}px)`;
1325
- const H = 0.25, f = i.value < _.value, D = i.value > _.value;
1326
- for (let b = 0; b < m.value.length; b++) {
1327
- if (b === i.value)
1325
+ H.style.transform = `translateY(${I(C - N.value)}px)`;
1326
+ const h = 0.25, M = i.value < b.value, S = i.value > b.value;
1327
+ for (let m = 0; m < $.value.length; m++) {
1328
+ if (m === i.value)
1328
1329
  continue;
1329
- const h = t.value[b], P = m.value[b], X = (C - P.top) / P.height;
1330
- if (X >= H && f) {
1331
- if (b < i.value)
1330
+ const f = t.value[m], Q = $.value[m], X = (C - Q.top) / Q.height;
1331
+ if (X >= h && M) {
1332
+ if (m < i.value)
1332
1333
  continue;
1333
- h.style.transform = `translateY(-${k.value}px)`;
1334
- } else if (X <= 1 - H && D) {
1335
- if (b > i.value)
1334
+ f.style.transform = `translateY(-${k.value}px)`;
1335
+ } else if (X <= 1 - h && S) {
1336
+ if (m > i.value)
1336
1337
  continue;
1337
- h.style.transform = `translateY(${k.value}px)`;
1338
+ f.style.transform = `translateY(${k.value}px)`;
1338
1339
  } else
1339
- h.style.transform = "translateY(0px)";
1340
+ f.style.transform = "translateY(0px)";
1340
1341
  }
1341
1342
  }, z = () => {
1342
- var M, H;
1343
+ var H, h;
1343
1344
  const C = document.activeElement;
1344
- C != null && C.closest("[data-drag-item]") && ((H = (M = t.value[_.value]) == null ? void 0 : M.querySelector("[data-drag-trigger]")) == null || H.focus());
1345
- }, E = (C) => Math.max(y.value, Math.min(V.value, C)), I = () => {
1346
- m.value = t.value.map((C) => {
1347
- const { top: M, bottom: H, height: f } = C.getBoundingClientRect();
1345
+ C != null && C.closest("[data-drag-item]") && ((h = (H = t.value[b.value]) == null ? void 0 : H.querySelector("[data-drag-trigger]")) == null || h.focus());
1346
+ }, I = (C) => Math.max(y.value, Math.min(V.value, C)), O = () => {
1347
+ $.value = t.value.map((C) => {
1348
+ const { top: H, bottom: h, height: M } = C.getBoundingClientRect();
1348
1349
  return {
1349
- top: M,
1350
- bottom: H,
1351
- height: f
1350
+ top: H,
1351
+ bottom: h,
1352
+ height: M
1352
1353
  };
1353
1354
  });
1354
1355
  };
1355
- return h1(document, "pointermove", j), h1(document, "pointerup", O, { capture: !0 }), h1(document, "keydown", (C) => {
1356
+ return h1(document, "pointermove", Y), h1(document, "pointerup", A, { capture: !0 }), h1(document, "keydown", (C) => {
1356
1357
  C.key !== "Tab" || i.value === null || C.preventDefault();
1357
1358
  }), h1(document, "pointerdown", () => {
1358
- T.value && K();
1359
+ P.value && U();
1359
1360
  }), {
1360
1361
  draggedViewIndex: i,
1361
- draggingOverViewIndex: _,
1362
- isItemDragged: S,
1363
- handleDragKeyboardToggle: N,
1364
- handleDragKeyboardMove: G,
1365
- handleDragStart: A,
1366
- handleDragStop: K
1362
+ draggingOverViewIndex: b,
1363
+ isItemDragged: D,
1364
+ handleDragKeyboardToggle: E,
1365
+ handleDragKeyboardMove: K,
1366
+ handleDragStart: R,
1367
+ handleDragStop: U
1367
1368
  };
1368
1369
  }, j0 = (e) => {
1369
- const { container: t, children: a, offset: r, activeViewIndex: u } = e, i = g(a.value.length), { width: U } = Y5(t);
1370
+ const { container: t, children: a, offset: r, activeViewIndex: u } = e, i = g(a.value.length), { width: N } = Y5(t);
1370
1371
  return i1(
1371
- [U, u, a],
1372
- async ([T, k, _], [, V]) => {
1373
- const y = _.length;
1372
+ [N, u, a],
1373
+ async ([P, k, b], [, V]) => {
1374
+ const y = b.length;
1374
1375
  if (y === 0)
1375
1376
  return;
1376
- let m = r.value.offsetWidth;
1377
+ let $ = r.value.offsetWidth;
1377
1378
  i.value = y;
1378
- const S = _[V];
1379
- S && (S.style.display = "none");
1380
- for (let G = 0; G < y; G++) {
1381
- const K = _[G];
1382
- if (K.style.display = "inline-flex", m + K.offsetWidth <= T)
1383
- m += K.offsetWidth;
1379
+ const D = b[V];
1380
+ D && (D.style.display = "none");
1381
+ for (let K = 0; K < y; K++) {
1382
+ const U = b[K];
1383
+ if (U.style.display = "inline-flex", $ + U.offsetWidth <= P)
1384
+ $ += U.offsetWidth;
1384
1385
  else {
1385
- i.value = G, K.style.display = "none";
1386
+ i.value = K, U.style.display = "none";
1386
1387
  break;
1387
1388
  }
1388
1389
  }
1389
1390
  if (k < i.value || k === null)
1390
1391
  return;
1391
1392
  await y1();
1392
- let A = i.value - 1;
1393
- const N = _[k];
1394
- if (N.style.display = "inline-flex", m += N.offsetWidth, A < 0 && m > T) {
1395
- N.style.display = "none";
1393
+ let R = i.value - 1;
1394
+ const E = b[k];
1395
+ if (E.style.display = "inline-flex", $ += E.offsetWidth, R < 0 && $ > P) {
1396
+ E.style.display = "none";
1396
1397
  return;
1397
1398
  }
1398
- for (; m > T && A >= 0; ) {
1399
- const G = a.value[A];
1400
- m -= G.offsetWidth, G.style.display = "none", A--;
1399
+ for (; $ > P && R >= 0; ) {
1400
+ const K = a.value[R];
1401
+ $ -= K.offsetWidth, K.style.display = "none", R--;
1401
1402
  }
1402
1403
  },
1403
1404
  { immediate: !0 }
1404
- ), i1([i, () => a.value.length], ([T, k]) => {
1405
- for (let _ = T; _ < k; _++) {
1406
- const V = a.value[_];
1405
+ ), i1([i, () => a.value.length], ([P, k]) => {
1406
+ for (let b = P; b < k; b++) {
1407
+ const V = a.value[b];
1407
1408
  V.style.display = "none";
1408
1409
  }
1409
1410
  }), {
@@ -1432,43 +1433,41 @@ const Y0 = (e) => {
1432
1433
  emits: ["close:all-views", "close:view-menu", "open:all-views", "open:view-menu", "select:view", "reorder:view"],
1433
1434
  setup(e, { emit: t }) {
1434
1435
  var H;
1435
- const a = e, r = t, u = g(!1), i = g(null), U = g(null), T = g(null), k = g(null), _ = g(null), V = g(null), y = V1("menu-popover"), { t: m } = Z1({ messages: q5 }), S = J(
1436
- () => a.menuItemsActions.map((f) => ({ ...f, skipClose: !0 }))
1437
- );
1438
- _1(U, () => N(), {
1436
+ const a = e, r = t, u = g(!1), i = g(null), N = g(null), P = g(null), k = g(null), b = g(null), V = g(null), y = _1("menu-popover"), { t: $ } = Z1({ messages: q5 });
1437
+ V1(N, () => R(), {
1439
1438
  ignore: [i, ...((H = a.menuCloseOnClickOutsideOptions) == null ? void 0 : H.ignore) ?? []]
1440
1439
  });
1441
- const A = () => {
1440
+ const D = () => {
1442
1441
  u.value = !0, r("open:all-views");
1443
- }, N = async () => {
1442
+ }, R = async () => {
1444
1443
  u.value && (u.value = !1, r("close:all-views"), await y1(), i.value.$el.focus());
1445
- }, G = (f) => {
1446
- f.stopPropagation(), u.value ? N() : A();
1444
+ }, E = (h) => {
1445
+ h.stopPropagation(), u.value ? R() : D();
1447
1446
  }, {
1448
1447
  draggedViewIndex: K,
1449
- draggingOverViewIndex: j,
1450
- isItemDragged: O,
1451
- handleDragKeyboardMove: B,
1452
- handleDragKeyboardToggle: z,
1453
- handleDragStart: E,
1448
+ draggingOverViewIndex: U,
1449
+ isItemDragged: Y,
1450
+ handleDragKeyboardMove: A,
1451
+ handleDragKeyboardToggle: G,
1452
+ handleDragStart: z,
1454
1453
  handleDragStop: I
1455
1454
  } = Y0({
1456
1455
  items: l2(a, "menuItems"),
1457
- itemRefs: _,
1458
- onDrop: (f) => r("reorder:view", f)
1459
- }), C = (f) => ({
1460
- "b-header-with-views-all-views__popover-menu-item--dragging": O(f)
1461
- }), M = (f) => {
1462
- V.value[f].closeMenu(!1);
1456
+ itemRefs: b,
1457
+ onDrop: (h) => r("reorder:view", h)
1458
+ }), O = (h) => ({
1459
+ "b-header-with-views-all-views__popover-menu-item--dragging": Y(h)
1460
+ }), C = (h) => {
1461
+ V.value[h].closeMenu(!1);
1463
1462
  };
1464
- return (f, D) => (l(), o("div", {
1463
+ return (h, M) => (l(), o("div", {
1465
1464
  ref_key: "allViewsRef",
1466
- ref: T,
1465
+ ref: P,
1467
1466
  class: "b-header-with-views-all-views",
1468
1467
  "data-testid": "header-with-views-all-views",
1469
- onKeydown: q(p1(N, ["stop", "prevent"]), ["esc"])
1468
+ onKeydown: j(p1(R, ["stop", "prevent"]), ["esc"])
1470
1469
  }, [
1471
- R(n(A1), {
1470
+ T(n(A1), {
1472
1471
  ref_key: "allViewsMenuToggleRef",
1473
1472
  ref: i,
1474
1473
  "aria-haspopup": "true",
@@ -1476,11 +1475,11 @@ const Y0 = (e) => {
1476
1475
  "aria-controls": u.value ? n(y) : null,
1477
1476
  variant: "tertiary",
1478
1477
  toggled: u.value,
1479
- onClick: G
1478
+ onClick: E
1480
1479
  }, {
1481
1480
  iconLeft: Z(() => [
1482
- R(n(G0), {
1483
- "svg-title": n(m)("toggleAllViews")
1481
+ T(n(G0), {
1482
+ "svg-title": n($)("toggleAllViews")
1484
1483
  }, null, 8, ["svg-title"])
1485
1484
  ]),
1486
1485
  _: 1
@@ -1489,7 +1488,7 @@ const Y0 = (e) => {
1489
1488
  key: 0,
1490
1489
  id: n(y),
1491
1490
  ref_key: "allViewsMenuPopoverRef",
1492
- ref: U,
1491
+ ref: N,
1493
1492
  class: "b-header-with-views-all-views__popover",
1494
1493
  open: u.value,
1495
1494
  "target-element": i.value,
@@ -1499,90 +1498,90 @@ const Y0 = (e) => {
1499
1498
  "without-space": ""
1500
1499
  }, {
1501
1500
  default: Z(() => [
1502
- n(K) !== null && n(j) !== null ? (l(), o("output", q0, c(n(m)("movingDraggedToPosition", {
1503
- dragged: f.menuItems[n(K)].label,
1504
- draggingOver: f.menuItems[n(j)].label
1501
+ n(K) !== null && n(U) !== null ? (l(), o("output", q0, c(n($)("movingDraggedToPosition", {
1502
+ dragged: h.menuItems[n(K)].label,
1503
+ draggingOver: h.menuItems[n(U)].label
1505
1504
  })), 1)) : v("", !0),
1506
1505
  s("ul", {
1507
1506
  ref_key: "menuRef",
1508
1507
  ref: k,
1509
1508
  class: "b-header-with-views-all-views__popover-menu"
1510
1509
  }, [
1511
- (l(!0), o(w1, null, $1(f.menuItems, (b, h) => (l(), o("li", {
1510
+ (l(!0), o(w1, null, $1(h.menuItems, (S, m) => (l(), o("li", {
1512
1511
  ref_for: !0,
1513
1512
  ref_key: "menuItemRefs",
1514
- ref: _,
1515
- key: h,
1513
+ ref: b,
1514
+ key: m,
1516
1515
  "data-drag-item": "",
1517
- class: l1(["b-header-with-views-all-views__popover-menu-item", C(h)]),
1518
- onPointerdown: (P) => n(E)(h, P)
1516
+ class: l1(["b-header-with-views-all-views__popover-menu-item", O(m)]),
1517
+ onPointerdown: (f) => n(z)(m, f)
1519
1518
  }, [
1520
1519
  s("div", Q0, [
1521
- R(n(v1), {
1520
+ T(n(v1), {
1522
1521
  "data-drag-trigger": "",
1523
1522
  class: "b-header-with-views-all-views__popover-menu-item-button b-header-with-views-all-views__popover-menu-item-button-reorder",
1524
1523
  variant: "tertiary",
1525
- "aria-pressed": n(O)(h),
1524
+ "aria-pressed": n(Y)(m),
1526
1525
  onKeydown: [
1527
- q((P) => n(z)(h, P), ["enter", "native"]),
1528
- q((P) => n(z)(h, P), ["space", "native"]),
1529
- D[0] || (D[0] = q((P) => n(B)(n(D1).DOWN, P), ["down", "native"])),
1530
- D[1] || (D[1] = q((P) => n(B)(n(D1).UP, P), ["up", "native"])),
1531
- q(n(I), ["esc", "native"])
1526
+ j((f) => n(G)(m, f), ["enter", "native"]),
1527
+ j((f) => n(G)(m, f), ["space", "native"]),
1528
+ M[0] || (M[0] = j((f) => n(A)(n(D1).DOWN, f), ["down", "native"])),
1529
+ M[1] || (M[1] = j((f) => n(A)(n(D1).UP, f), ["up", "native"])),
1530
+ j(n(I), ["esc", "native"])
1532
1531
  ]
1533
1532
  }, {
1534
1533
  iconLeft: Z(() => [
1535
- R(n(U0), {
1536
- "svg-title": n(m)("reorderView", { label: b.label })
1534
+ T(n(U0), {
1535
+ "svg-title": n($)("reorderView", { label: S.label })
1537
1536
  }, null, 8, ["svg-title"])
1538
1537
  ]),
1539
1538
  _: 2
1540
1539
  }, 1032, ["aria-pressed", "onKeydown"]),
1541
- R(n(v1), {
1540
+ T(n(v1), {
1542
1541
  "data-view-select": "",
1543
1542
  class: "b-header-with-views-all-views__popover-menu-item-button b-header-with-views-all-views__popover-menu-item-button-select",
1544
1543
  variant: "tertiary",
1545
- onClick: (P) => r("select:view", h)
1544
+ onClick: (f) => r("select:view", m)
1546
1545
  }, {
1547
1546
  iconLeft: Z(() => [
1548
1547
  s("span", {
1549
- class: l1(["b-header-with-views-all-views__popover-menu-item-button-icon", `b-header-with-views-all-views__popover-menu-item-button-icon--${b.iconColor}`]),
1548
+ class: l1(["b-header-with-views-all-views__popover-menu-item-button-icon", `b-header-with-views-all-views__popover-menu-item-button-icon--${S.iconColor}`]),
1550
1549
  "aria-hidden": "true"
1551
1550
  }, [
1552
- (l(), F(m1(n(H1)[b.icon])))
1551
+ (l(), F(m1(n(H1)[S.icon])))
1553
1552
  ], 2)
1554
1553
  ]),
1555
1554
  default: Z(() => [
1556
- R(n(C1), {
1555
+ T(n(C1), {
1557
1556
  el: "span",
1558
1557
  variant: "body",
1559
1558
  class: "b-header-with-views-all-views__popover-menu-item-button-text"
1560
1559
  }, {
1561
1560
  default: Z(() => [
1562
- Q(c(b.label), 1)
1561
+ J(c(S.label), 1)
1563
1562
  ]),
1564
1563
  _: 2
1565
1564
  }, 1024)
1566
1565
  ]),
1567
1566
  _: 2
1568
1567
  }, 1032, ["onClick"]),
1569
- R(n(B5), {
1568
+ T(n(B5), {
1570
1569
  ref_for: !0,
1571
1570
  ref_key: "editViewMenuRefs",
1572
1571
  ref: V,
1573
1572
  "data-view-menu": "",
1574
1573
  class: "b-header-with-views-all-views__popover-menu-item-button",
1575
1574
  button: { variant: "tertiary", condensed: !0 },
1576
- "close-on-click-outside-options": f.menuCloseOnClickOutsideOptions,
1577
- data: S.value,
1575
+ "close-on-click-outside-options": h.menuCloseOnClickOutsideOptions,
1576
+ data: h.menuItemsActions,
1578
1577
  "menu-position": "right-start",
1579
- onOpen: (P) => r("open:view-menu", h),
1580
- onClose: (P) => r("close:view-menu", h),
1581
- onKeydownCapture: q((P) => M(h), ["tab", "native"])
1578
+ onOpen: (f) => r("open:view-menu", m),
1579
+ onClose: (f) => r("close:view-menu", m),
1580
+ onKeydownCapture: j((f) => C(m), ["tab", "native"])
1582
1581
  }, {
1583
1582
  iconLeft: Z(() => [
1584
- R(n(z5), {
1585
- "svg-title": n(m)("openViewOptions", { label: b.label })
1583
+ T(n(z5), {
1584
+ "svg-title": n($)("openViewOptions", { label: S.label })
1586
1585
  }, null, 8, ["svg-title"])
1587
1586
  ]),
1588
1587
  _: 2
@@ -1595,7 +1594,7 @@ const Y0 = (e) => {
1595
1594
  }, 8, ["id", "open", "target-element"])) : v("", !0)
1596
1595
  ], 40, z0));
1597
1596
  }
1598
- }), x0 = /* @__PURE__ */ w(W0, [["__scopeId", "data-v-0b744d04"]]);
1597
+ }), x0 = /* @__PURE__ */ w(W0, [["__scopeId", "data-v-d62447fc"]]);
1599
1598
  let N5 = 0;
1600
1599
  const e7 = {
1601
1600
  beforeCreate() {
@@ -1603,7 +1602,7 @@ const e7 = {
1603
1602
  }
1604
1603
  }, t7 = { key: 0 }, s7 = ["clip-path"], i7 = ["id"];
1605
1604
  function l7(e, t, a, r, u, i) {
1606
- return l(), o("svg", $({ role: "img" }, e.$attrs, {
1605
+ return l(), o("svg", L({ role: "img" }, e.$attrs, {
1607
1606
  class: "ui-assets-icons-16",
1608
1607
  xmlns: "http://www.w3.org/2000/svg",
1609
1608
  width: "16",
@@ -1676,18 +1675,18 @@ const J5 = {
1676
1675
  },
1677
1676
  emits: ["cancel", "update", "delete", "input:label", "blur:label", "keydown:enter"],
1678
1677
  setup(e, { emit: t }) {
1679
- var H;
1680
- const a = e, r = t, u = g(a.label), i = g(a.icon), U = g(a.iconColor), T = g(((H = a.additionalFormItem) == null ? void 0 : H.value) ?? !1), k = g(!1), _ = g(null), V = g(null), y = g(null), m = V1("iconPopover"), S = g(!1), A = J(() => Object.values(M1)), N = J(() => Object.values(b1)), G = J(() => Object.values(a.errors).some((f) => f.length > 0)), K = J(
1681
- () => `${O("selected")}: ${i.value} ${O("icon")}, ${O("color")} ${U.value}`
1682
- ), j = J(() => [
1678
+ var h;
1679
+ const a = e, r = t, u = g(a.label), i = g(a.icon), N = g(a.iconColor), P = g(((h = a.additionalFormItem) == null ? void 0 : h.value) ?? !1), k = g(!1), b = g(null), V = g(null), y = g(null), $ = _1("iconPopover"), D = g(!1), R = q(() => Object.values(M1)), E = q(() => Object.values(b1)), K = q(() => Object.values(a.errors).some((M) => M.length > 0)), U = q(
1680
+ () => `${A("selected")}: ${i.value} ${A("icon")}, ${A("color")} ${N.value}`
1681
+ ), Y = q(() => [
1683
1682
  ...a.context === R1.EDIT ? (
1684
1683
  // edit mode
1685
1684
  [
1686
1685
  {
1687
- title: O("save"),
1686
+ title: A("save"),
1688
1687
  type: "submit",
1689
1688
  event: () => {
1690
- G.value || E();
1689
+ K.value || I();
1691
1690
  }
1692
1691
  }
1693
1692
  ]
@@ -1695,121 +1694,121 @@ const J5 = {
1695
1694
  // create mode
1696
1695
  [
1697
1696
  {
1698
- title: O("create"),
1697
+ title: A("create"),
1699
1698
  type: "submit",
1700
1699
  event: () => {
1701
- !k.value || G.value || E();
1700
+ !k.value || K.value || I();
1702
1701
  }
1703
1702
  }
1704
1703
  ]
1705
1704
  ),
1706
1705
  {
1707
- title: O("cancel"),
1708
- event: I
1706
+ title: A("cancel"),
1707
+ event: O
1709
1708
  }
1710
- ]), { t: O } = Z1({ messages: J5 }), B = J(() => ({
1711
- iconColor: U.value,
1709
+ ]), { t: A } = Z1({ messages: J5 }), G = q(() => ({
1710
+ iconColor: N.value,
1712
1711
  icon: i.value,
1713
1712
  label: u.value,
1714
1713
  ...a.additionalFormItem ? {
1715
1714
  additionalViewSetting: {
1716
1715
  label: a.additionalFormItem.label,
1717
- value: T.value
1716
+ value: P.value
1718
1717
  }
1719
1718
  } : []
1720
1719
  })), z = () => {
1721
- S.value = !1;
1722
- }, E = () => {
1723
- r("update", B.value);
1720
+ D.value = !1;
1724
1721
  }, I = () => {
1725
- i.value = a.icon, U.value = a.iconColor, u.value = a.label, r("cancel");
1726
- }, C = h2((f) => {
1727
- u.value = f, k.value = !0;
1728
- }, 200), M = (f) => {
1729
- T.value = f, k.value = !0;
1722
+ r("update", G.value);
1723
+ }, O = () => {
1724
+ i.value = a.icon, N.value = a.iconColor, u.value = a.label, r("cancel");
1725
+ }, C = h2((M) => {
1726
+ u.value = M, k.value = !0;
1727
+ }, 200), H = (M) => {
1728
+ P.value = M, k.value = !0;
1730
1729
  };
1731
- return _1(V, z, {
1732
- ignore: [_]
1730
+ return V1(V, z, {
1731
+ ignore: [b]
1733
1732
  }), v2("Escape", z, {
1734
1733
  target: V,
1735
1734
  eventName: "keydown"
1736
- }), i1(u, (f) => r("input:label", f)), F5(async () => {
1735
+ }), i1(u, (M) => r("input:label", M)), F5(async () => {
1737
1736
  await y1(), y.value.$refs.inputFieldElement.focus();
1738
- }), (f, D) => (l(), o("form", o7, [
1739
- R(n(w2), null, {
1737
+ }), (M, S) => (l(), o("form", o7, [
1738
+ T(n(w2), null, {
1740
1739
  default: Z(() => [
1741
- Q(c(n(O)("title")), 1)
1740
+ J(c(n(A)("title")), 1)
1742
1741
  ]),
1743
1742
  _: 1
1744
1743
  }),
1745
- s("div", a7, c(K.value), 1),
1744
+ s("div", a7, c(U.value), 1),
1746
1745
  s("div", r7, [
1747
- R(n(A1), {
1746
+ T(n(A1), {
1748
1747
  ref_key: "iconSelectorButtonRef",
1749
- ref: _,
1748
+ ref: b,
1750
1749
  variant: "secondary",
1751
- "aria-expanded": S.value,
1752
- "aria-controls": S.value ? n(m) : null,
1753
- toggled: S.value,
1754
- onClick: D[0] || (D[0] = (b) => S.value = !S.value)
1750
+ "aria-expanded": D.value,
1751
+ "aria-controls": D.value ? n($) : null,
1752
+ toggled: D.value,
1753
+ onClick: S[0] || (S[0] = (m) => D.value = !D.value)
1755
1754
  }, {
1756
1755
  iconLeft: Z(() => [
1757
1756
  (l(), F(m1(n(H1)[i.value]), {
1758
- class: l1(`b-header-with-views-edit-form__icon-color--${U.value}`),
1759
- "svg-title": n(O)("viewIcons")
1757
+ class: l1(`b-header-with-views-edit-form__icon-color--${N.value}`),
1758
+ "svg-title": n(A)("viewIcons")
1760
1759
  }, null, 8, ["class", "svg-title"]))
1761
1760
  ]),
1762
1761
  _: 1
1763
1762
  }, 8, ["aria-expanded", "aria-controls", "toggled"]),
1764
- _.value ? (l(), F(n(L1), {
1763
+ b.value ? (l(), F(n(L1), {
1765
1764
  key: 0,
1766
- id: n(m),
1765
+ id: n($),
1767
1766
  ref_key: "iconPopoverRef",
1768
1767
  ref: V,
1769
1768
  class: "b-header-with-views-edit-form__icon-selector-popover",
1770
- "target-element": _.value,
1771
- open: S.value,
1769
+ "target-element": b.value,
1770
+ open: D.value,
1772
1771
  "fallback-position": ["bottom-end"],
1773
1772
  "fixed-positioning": !0,
1774
1773
  "overflow-visible": !0,
1775
1774
  position: "bottom-end",
1776
- onDismiss: D[1] || (D[1] = (b) => S.value = !1),
1777
- onKeydownCapture: D[2] || (D[2] = q(p1((b) => S.value = !1, ["stop", "prevent"]), ["escape", "native"]))
1775
+ onDismiss: S[1] || (S[1] = (m) => D.value = !1),
1776
+ onKeydownCapture: S[2] || (S[2] = j(p1((m) => D.value = !1, ["stop", "prevent"]), ["escape", "native"]))
1778
1777
  }, {
1779
1778
  default: Z(() => [
1780
1779
  s("div", u7, [
1781
1780
  s("div", d7, [
1782
- (l(!0), o(w1, null, $1(N.value, (b, h) => (l(), o("div", {
1783
- key: h,
1781
+ (l(!0), o(w1, null, $1(E.value, (m, f) => (l(), o("div", {
1782
+ key: f,
1784
1783
  class: "b-header-with-views-edit-form__icon-options-wrapper"
1785
1784
  }, [
1786
- R(n(v1), {
1787
- class: l1(["b-header-with-views-edit-form__icon-color-options-button", `b-header-with-views-edit-form__icon-color--${b}`]),
1788
- "aria-selected": U.value === b,
1785
+ T(n(v1), {
1786
+ class: l1(["b-header-with-views-edit-form__icon-color-options-button", `b-header-with-views-edit-form__icon-color--${m}`]),
1787
+ "aria-selected": N.value === m,
1789
1788
  variant: "tertiary",
1790
- onClick: (P) => U.value = b
1789
+ onClick: (Q) => N.value = m
1791
1790
  }, {
1792
1791
  iconLeft: Z(() => [
1793
- R(n(n7), {
1794
- "svg-title": n(O)("selectIconColor", { color: b })
1792
+ T(n(n7), {
1793
+ "svg-title": n(A)("selectIconColor", { color: m })
1795
1794
  }, null, 8, ["svg-title"])
1796
1795
  ]),
1797
1796
  _: 2
1798
1797
  }, 1032, ["class", "aria-selected", "onClick"])
1799
1798
  ]))), 128))
1800
1799
  ]),
1801
- R(n(f2)),
1800
+ T(n(f2)),
1802
1801
  s("div", C7, [
1803
- (l(!0), o(w1, null, $1(A.value, (b, h) => (l(), F(n(v1), {
1804
- key: h,
1802
+ (l(!0), o(w1, null, $1(R.value, (m, f) => (l(), F(n(v1), {
1803
+ key: f,
1805
1804
  class: "b-header-with-views-edit-form__icon-options-button",
1806
- "aria-selected": i.value === b,
1805
+ "aria-selected": i.value === m,
1807
1806
  variant: "tertiary",
1808
- onClick: (P) => i.value = b
1807
+ onClick: (Q) => i.value = m
1809
1808
  }, {
1810
1809
  iconLeft: Z(() => [
1811
- (l(), F(m1(n(H1)[b]), {
1812
- "svg-title": n(O)("selectIcon", { icon: b })
1810
+ (l(), F(m1(n(H1)[m]), {
1811
+ "svg-title": n(A)("selectIcon", { icon: m })
1813
1812
  }, null, 8, ["svg-title"]))
1814
1813
  ]),
1815
1814
  _: 2
@@ -1819,32 +1818,32 @@ const J5 = {
1819
1818
  ]),
1820
1819
  _: 1
1821
1820
  }, 8, ["id", "target-element", "open"])) : v("", !0),
1822
- R(n(g2), {
1821
+ T(n(g2), {
1823
1822
  ref_key: "inputFieldRef",
1824
1823
  ref: y,
1825
1824
  class: "b-header-with-views-edit-form__icon-selector-input",
1826
- "aria-label": n(O)("viewLabel"),
1827
- "error-message": f.errors.label,
1825
+ "aria-label": n(A)("viewLabel"),
1826
+ "error-message": M.errors.label,
1828
1827
  value: u.value,
1829
- onKeydown: D[3] || (D[3] = q(p1((b) => r("keydown:enter", B.value), ["prevent"]), ["enter"])),
1828
+ onKeydown: S[3] || (S[3] = j(p1((m) => r("keydown:enter", G.value), ["prevent"]), ["enter"])),
1830
1829
  onInput: n(C),
1831
- onBlur: D[4] || (D[4] = (b) => r("blur:label", u.value))
1830
+ onBlur: S[4] || (S[4] = (m) => r("blur:label", u.value))
1832
1831
  }, null, 8, ["aria-label", "error-message", "value", "onInput"])
1833
1832
  ]),
1834
- f.additionalFormItem ? (l(), F(n(G5), {
1833
+ M.additionalFormItem ? (l(), F(n(G5), {
1835
1834
  key: 0,
1836
- "model-value": T.value,
1835
+ "model-value": P.value,
1837
1836
  class: "b-header-with-views-edit-form__additional-config",
1838
- "onUpdate:modelValue": M
1837
+ "onUpdate:modelValue": H
1839
1838
  }, {
1840
1839
  default: Z(() => [
1841
- Q(c(f.additionalFormItem.label), 1)
1840
+ J(c(M.additionalFormItem.label), 1)
1842
1841
  ]),
1843
1842
  _: 1
1844
1843
  }, 8, ["model-value"])) : v("", !0),
1845
- R(n($2), {
1844
+ T(n($2), {
1846
1845
  class: "b-header-with-views-edit-form__actions",
1847
- actions: j.value,
1846
+ actions: Y.value,
1848
1847
  layout: "buttons-end"
1849
1848
  }, null, 8, ["actions"])
1850
1849
  ]));
@@ -1907,27 +1906,28 @@ const J5 = {
1907
1906
  },
1908
1907
  emits: ["add:view", "delete:view", "duplicate:view", "reorder:view", "restore:view", "save:view", "select:view", "update:view", "update:skip-unsaved-changes"],
1909
1908
  setup(e, { emit: t }) {
1910
- const a = e, r = t, u = 573, { t: i } = Z1({ messages: Q5 }), U = n2(), T = a2(U), k = g(null), _ = g(null), V = g(null), y = g([]), m = g(null), S = g(null), A = g(null), N = g([]), G = g(null), K = g(null), j = g(!1), O = g(!1), B = g(!1), z = g(!1), E = g(null), I = g(null), C = g(null), M = g(null), H = g(null), f = g(!1), D = V1("createViewPopover"), b = V1("editViewPopover");
1909
+ const a = e, r = t, u = 573, { t: i } = Z1({ messages: Q5 }), N = n2(), P = a2(N), k = g(null), b = g(null), V = g(null), y = g([]), $ = g(null), D = g(null), R = g(null), E = g([]), K = g(null), U = g(null), Y = g(!1), A = g(!1), G = g(!1), z = g(!1), I = g(null), O = g(null), C = g(null), H = g(null), h = g(null), M = g(!1), S = _1("createViewPopover"), m = _1("editViewPopover");
1911
1910
  j0({
1912
- container: A,
1913
- children: N,
1914
- offset: G,
1911
+ container: R,
1912
+ children: E,
1913
+ offset: K,
1915
1914
  activeViewIndex: C
1916
1915
  });
1917
- const { computedViews: h, clearError: P, duplicateView: c1, errors: X, setViews: f1, updateView: s1, validateLabel: W } = B0({
1916
+ const { computedViews: f, clearError: Q, duplicateView: c1, errors: X, setViews: f1, updateView: s1, validateLabel: W } = B0({
1918
1917
  additionalViewSetting: a.additionalViewSetting,
1919
1918
  views: a.views
1920
1919
  }), x = async (d = !0) => {
1921
- j.value = !1, d && (await y1(), k.value.$el.focus()), P();
1920
+ Y.value = !1, d && (await y1(), k.value.$el.focus()), Q();
1922
1921
  }, O1 = () => {
1923
- y.value[0].closeMenu();
1922
+ const d = A.value ? U.value.$refs.editViewMenuRefs[I.value] : y.value[0];
1923
+ d == null || d.closeMenu();
1924
1924
  };
1925
- _1(_, () => x(!1), {
1925
+ V1(b, () => x(!1), {
1926
1926
  ignore: [k]
1927
- }), _1(V, () => n1(), {
1928
- ignore: [m]
1927
+ }), V1(V, () => n1(), {
1928
+ ignore: [$]
1929
1929
  });
1930
- const { width: X5 } = Y5(S), { addToast: I1 } = r2(), W5 = J(() => [
1930
+ const { width: X5 } = Y5(D), { addToast: I1 } = r2(), W5 = q(() => [
1931
1931
  {
1932
1932
  title: i("saveChanges"),
1933
1933
  event: Y1
@@ -1936,13 +1936,13 @@ const J5 = {
1936
1936
  title: i("leave"),
1937
1937
  event: j1
1938
1938
  }
1939
- ]), x5 = J(() => [
1939
+ ]), x5 = q(() => [
1940
1940
  {
1941
1941
  title: i("deleteViewAction"),
1942
1942
  event: async () => {
1943
1943
  z.value = !1;
1944
- const d = s1(null, H.value);
1945
- r("delete:view", d), t1(), !(C.value < H.value) && (C.value > H.value ? C.value -= 1 : C.value === H.value && (d.newViews.length === 0 ? C.value = null : C.value >= d.newViews.length && (C.value -= 1)), H.value = null);
1944
+ const d = s1(null, h.value);
1945
+ r("delete:view", d), t1(), !(C.value < h.value) && (C.value > h.value ? C.value -= 1 : C.value === h.value && (d.newViews.length === 0 ? C.value = null : C.value >= d.newViews.length && (C.value -= 1)), h.value = null);
1946
1946
  }
1947
1947
  },
1948
1948
  {
@@ -1951,32 +1951,32 @@ const J5 = {
1951
1951
  z.value = !1;
1952
1952
  }
1953
1953
  }
1954
- ]), E1 = J(() => {
1954
+ ]), E1 = q(() => {
1955
1955
  var d;
1956
- return (d = h.value[H.value]) == null ? void 0 : d.label;
1957
- }), e2 = J(() => ({
1956
+ return (d = f.value[h.value]) == null ? void 0 : d.label;
1957
+ }), e2 = q(() => ({
1958
1958
  "b-header-with-views__container--is-compact": U1.value
1959
- })), U1 = J(() => X5.value <= u);
1960
- i1([C, h], ([d, p], [L, Y]) => {
1959
+ })), U1 = q(() => X5.value <= u);
1960
+ i1([C, f], ([d, p], [_, B]) => {
1961
1961
  var a1, r1, u1;
1962
- const e1 = d === L && p.length === Y.length, g1 = ((a1 = p[d]) == null ? void 0 : a1.label) === ((r1 = Y[L]) == null ? void 0 : r1.label);
1962
+ const e1 = d === _ && p.length === B.length, g1 = ((a1 = p[d]) == null ? void 0 : a1.label) === ((r1 = B[_]) == null ? void 0 : r1.label);
1963
1963
  e1 || g1 || r("select:view", ((u1 = p[d]) == null ? void 0 : u1.label) ?? null);
1964
- }), i1(I, () => {
1964
+ }), i1(O, () => {
1965
1965
  n1();
1966
- }), i1(O, (d) => {
1966
+ }), i1(A, (d) => {
1967
1967
  d || t1();
1968
- }), i1(E, (d) => {
1969
- var Y, e1, g1, a1, r1, u1, q1, J1, Q1, X1, W1;
1968
+ }), i1(I, (d) => {
1969
+ var B, e1, g1, a1, r1, u1, q1, J1, Q1, X1, W1;
1970
1970
  const p = k1(d) ? 2 : 0;
1971
- if (O.value) {
1972
- const d1 = (e1 = (Y = K.value.$refs.editViewMenuRefs[I.value]) == null ? void 0 : Y.$refs) == null ? void 0 : e1.menuItemListRef;
1973
- m.value = ((q1 = (u1 = (r1 = (a1 = (g1 = K.value.$refs.editViewMenuRefs[I.value]) == null ? void 0 : g1.$refs) == null ? void 0 : a1.menuItemListRef) == null ? void 0 : r1.$refs) == null ? void 0 : u1.menuItemRef) == null ? void 0 : q1[p]) ?? null, d || (d1 == null || d1.focusItem(), P());
1971
+ if (A.value) {
1972
+ const d1 = (e1 = (B = U.value.$refs.editViewMenuRefs[O.value]) == null ? void 0 : B.$refs) == null ? void 0 : e1.menuItemListRef;
1973
+ $.value = ((q1 = (u1 = (r1 = (a1 = (g1 = U.value.$refs.editViewMenuRefs[O.value]) == null ? void 0 : g1.$refs) == null ? void 0 : a1.menuItemListRef) == null ? void 0 : r1.$refs) == null ? void 0 : u1.menuItemRef) == null ? void 0 : q1[p]) ?? null, d || (d1 == null || d1.focusItem(), Q());
1974
1974
  return;
1975
1975
  }
1976
- const L = (Q1 = (J1 = y.value.find((d1) => d1.$refs.menuItemListRef)) == null ? void 0 : J1.$refs) == null ? void 0 : Q1.menuItemListRef;
1977
- m.value = ((W1 = (X1 = L == null ? void 0 : L.$refs) == null ? void 0 : X1.menuItemRef) == null ? void 0 : W1[p]) ?? null, d || (L == null || L.focusItem(), P());
1976
+ const _ = (Q1 = (J1 = y.value.find((d1) => d1.$refs.menuItemListRef)) == null ? void 0 : J1.$refs) == null ? void 0 : Q1.menuItemListRef;
1977
+ $.value = ((W1 = (X1 = _ == null ? void 0 : _.$refs) == null ? void 0 : X1.menuItemRef) == null ? void 0 : W1[p]) ?? null, d || (_ == null || _.focusItem(), Q());
1978
1978
  }), F5(() => {
1979
- const d = h.value.findIndex((p) => p.isDefault);
1979
+ const d = f.value.findIndex((p) => p.isDefault);
1980
1980
  C.value = d >= 0 ? d : 0;
1981
1981
  });
1982
1982
  const N1 = (d) => [
@@ -1984,7 +1984,7 @@ const J5 = {
1984
1984
  {
1985
1985
  text: i("saveChanges"),
1986
1986
  handler: Y1,
1987
- icon: V2
1987
+ icon: _2
1988
1988
  },
1989
1989
  {
1990
1990
  addDivider: !0,
@@ -1996,7 +1996,7 @@ const J5 = {
1996
1996
  {
1997
1997
  text: i("edit"),
1998
1998
  handler: () => {
1999
- n1(I.value);
1999
+ n1(O.value);
2000
2000
  },
2001
2001
  icon: y2,
2002
2002
  skipClose: !0
@@ -2004,7 +2004,7 @@ const J5 = {
2004
2004
  {
2005
2005
  text: i("setAsDefault"),
2006
2006
  handler: () => {
2007
- const p = s1({ isDefault: !0 }, I.value);
2007
+ const p = s1({ isDefault: !0 }, O.value);
2008
2008
  r("update:view", p), t1();
2009
2009
  },
2010
2010
  icon: j5
@@ -2012,7 +2012,7 @@ const J5 = {
2012
2012
  {
2013
2013
  text: i("duplicate"),
2014
2014
  handler: () => {
2015
- const p = c1(I.value);
2015
+ const p = c1(O.value);
2016
2016
  r("duplicate:view", p), t1(), o1(p.newViews.length - 1);
2017
2017
  },
2018
2018
  icon: G2
@@ -2020,27 +2020,27 @@ const J5 = {
2020
2020
  {
2021
2021
  text: i("delete"),
2022
2022
  handler: () => {
2023
- H.value = I.value, z.value = !0;
2023
+ h.value = O.value, z.value = !0;
2024
2024
  },
2025
2025
  critical: !0,
2026
2026
  icon: d2
2027
2027
  }
2028
2028
  ], K1 = (d) => {
2029
- I.value = d;
2029
+ O.value = d;
2030
2030
  }, t1 = () => {
2031
- I.value = null, n1();
2031
+ O.value = null, n1();
2032
2032
  }, n1 = (d) => {
2033
- d === E.value ? E.value = null : E.value = d ?? null;
2033
+ d === I.value ? I.value = null : I.value = d ?? null;
2034
2034
  }, F1 = (d) => {
2035
2035
  const p = s1(d);
2036
- r("add:view", p), x(), o1(p.newViews.findIndex((L) => p.targetViewLabel === L.label)), I1({
2036
+ r("add:view", p), x(), o1(p.newViews.findIndex((_) => p.targetViewLabel === _.label)), I1({
2037
2037
  text: i("createViewToast", { label: p.targetViewLabel })
2038
2038
  });
2039
2039
  }, G1 = (d) => {
2040
- r("update:view", s1(d, E.value)), O1();
2040
+ r("update:view", s1(d, I.value)), O1();
2041
2041
  }, B1 = (d) => {
2042
- if (W(d.label, I.value), !Object.values(X).some((p) => p.length > 0)) {
2043
- if (E.value) {
2042
+ if (W(d.label, O.value), !Object.values(X).some((p) => p.length > 0)) {
2043
+ if (I.value) {
2044
2044
  G1(d);
2045
2045
  return;
2046
2046
  }
@@ -2048,17 +2048,17 @@ const J5 = {
2048
2048
  }
2049
2049
  }, o1 = (d) => {
2050
2050
  if (!a.hasChanges || a.skipUnsavedChangesText === null) {
2051
- r("restore:view", h.value[C.value].label), C.value = d;
2051
+ r("restore:view", f.value[C.value].label), C.value = d;
2052
2052
  return;
2053
2053
  }
2054
- M.value = d, B.value = !0;
2054
+ H.value = d, G.value = !0;
2055
2055
  }, t2 = (d) => {
2056
2056
  d.target.closest("button") || (d.stopPropagation(), d.preventDefault());
2057
2057
  }, s2 = () => {
2058
2058
  y.value[0].closeMenu(!1);
2059
2059
  }, Y1 = () => {
2060
- const d = h.value[C.value].label;
2061
- r("save:view", d), B.value ? (r("update:skip-unsaved-changes", f.value), C.value = M.value, M.value = null, B.value = !1) : t1(), I1({
2060
+ const d = f.value[C.value].label;
2061
+ r("save:view", d), G.value ? (r("update:skip-unsaved-changes", M.value), C.value = H.value, H.value = null, G.value = !1) : t1(), I1({
2062
2062
  text: i("saveChangesToast", { label: d }),
2063
2063
  action: {
2064
2064
  handler: () => r("restore:view", d),
@@ -2066,32 +2066,32 @@ const J5 = {
2066
2066
  }
2067
2067
  });
2068
2068
  }, j1 = () => {
2069
- r("restore:view", h.value[C.value].label), B.value ? (r("update:skip-unsaved-changes", f.value), C.value = M.value, M.value = null, B.value = !1) : t1();
2069
+ r("restore:view", f.value[C.value].label), G.value ? (r("update:skip-unsaved-changes", M.value), C.value = H.value, H.value = null, G.value = !1) : t1();
2070
2070
  }, z1 = (d) => C.value === d, k1 = (d) => z1(d) && a.hasChanges;
2071
2071
  return (d, p) => (l(), o("div", {
2072
2072
  ref_key: "hostRef",
2073
- ref: S,
2073
+ ref: D,
2074
2074
  class: "b-header-with-views"
2075
2075
  }, [
2076
2076
  s("div", {
2077
2077
  class: l1(["b-header-with-views__container", e2.value])
2078
2078
  }, [
2079
2079
  s("div", c7, [
2080
- R(n(C1), {
2080
+ T(n(C1), {
2081
2081
  el: "h2",
2082
2082
  variant: "title"
2083
2083
  }, {
2084
2084
  default: Z(() => [
2085
- Q(c(d.title), 1)
2085
+ J(c(d.title), 1)
2086
2086
  ]),
2087
2087
  _: 1
2088
2088
  }),
2089
- d.description || n(T)("infoIconTooltipContent") ? (l(), F(n(c2), {
2089
+ d.description || n(P)("infoIconTooltipContent") ? (l(), F(n(c2), {
2090
2090
  key: 0,
2091
2091
  "popover-text": d.description,
2092
2092
  class: "b-header-with-views__title-icon"
2093
2093
  }, S1({ _: 2 }, [
2094
- n(T)("infoIconTooltipContent") ? {
2094
+ n(P)("infoIconTooltipContent") ? {
2095
2095
  name: "default",
2096
2096
  fn: Z(() => [
2097
2097
  o2(d.$slots, "infoIconTooltipContent", {}, void 0, !0)
@@ -2102,55 +2102,55 @@ const J5 = {
2102
2102
  ]),
2103
2103
  s("fieldset", {
2104
2104
  ref_key: "viewsRef",
2105
- ref: A,
2105
+ ref: R,
2106
2106
  class: "b-header-with-views__bar",
2107
2107
  "aria-label": n(i)("viewListLabel")
2108
2108
  }, [
2109
- (l(!0), o(w1, null, $1(n(h), (L, Y) => (l(), o("div", {
2110
- key: Y,
2109
+ (l(!0), o(w1, null, $1(n(f), (_, B) => (l(), o("div", {
2110
+ key: B,
2111
2111
  ref_for: !0,
2112
2112
  ref_key: "viewRefs",
2113
- ref: N,
2114
- class: l1(["b-header-with-views__bar-tab", z1(Y) ? "b-header-with-views__bar-tab--active" : null])
2113
+ ref: E,
2114
+ class: l1(["b-header-with-views__bar-tab", z1(B) ? "b-header-with-views__bar-tab--active" : null])
2115
2115
  }, [
2116
- R(n(v1), {
2116
+ T(n(v1), {
2117
2117
  class: "b-header-with-views__bar-tab-button",
2118
2118
  variant: "tertiary-with-background",
2119
- "aria-current": C.value === Y ? "true" : "false",
2120
- onClick: (e1) => o1(Y),
2119
+ "aria-current": C.value === B ? "true" : "false",
2120
+ onClick: (e1) => o1(B),
2121
2121
  onKeydown: [
2122
- q((e1) => o1(Y), ["enter", "native"]),
2123
- q((e1) => o1(Y), ["space", "native"])
2122
+ j((e1) => o1(B), ["enter", "native"]),
2123
+ j((e1) => o1(B), ["space", "native"])
2124
2124
  ]
2125
2125
  }, S1({
2126
2126
  iconLeft: Z(() => [
2127
2127
  s("span", {
2128
- class: l1(["b-header-with-views__bar-tab-button-icon", `b-header-with-views__bar-tab-button-icon--${L.iconColor}`]),
2128
+ class: l1(["b-header-with-views__bar-tab-button-icon", `b-header-with-views__bar-tab-button-icon--${_.iconColor}`]),
2129
2129
  "aria-hidden": "true"
2130
2130
  }, [
2131
- (l(), F(m1(n(H1)[L.icon])))
2131
+ (l(), F(m1(n(H1)[_.icon])))
2132
2132
  ], 2)
2133
2133
  ]),
2134
2134
  default: Z(() => [
2135
- R(n(C1), {
2135
+ T(n(C1), {
2136
2136
  el: "span",
2137
2137
  variant: "body",
2138
2138
  stronger: "",
2139
2139
  class: "b-header-with-views__bar-tab-button-text"
2140
2140
  }, {
2141
2141
  default: Z(() => [
2142
- Q(c(L.label), 1)
2142
+ J(c(_.label), 1)
2143
2143
  ]),
2144
2144
  _: 2
2145
2145
  }, 1024)
2146
2146
  ]),
2147
2147
  _: 2
2148
2148
  }, [
2149
- k1(Y) ? {
2149
+ k1(B) ? {
2150
2150
  name: "iconRight",
2151
2151
  fn: Z(() => [
2152
2152
  s("span", g7, [
2153
- R(n(C2), {
2153
+ T(n(C2), {
2154
2154
  "svg-title": n(i)("withUnsavedChanges")
2155
2155
  }, null, 8, ["svg-title"])
2156
2156
  ])
@@ -2158,25 +2158,25 @@ const J5 = {
2158
2158
  key: "0"
2159
2159
  } : void 0
2160
2160
  ]), 1032, ["aria-current", "onClick", "onKeydown"]),
2161
- C.value === Y ? (l(), F(n(B5), {
2161
+ C.value === B ? (l(), F(n(B5), {
2162
2162
  key: 0,
2163
2163
  ref_for: !0,
2164
2164
  ref_key: "editViewMenuRefs",
2165
2165
  ref: y,
2166
2166
  class: "b-header-with-views__bar-tab-menu",
2167
2167
  button: { variant: "tertiary" },
2168
- data: N1(k1(Y)),
2168
+ data: N1(k1(B)),
2169
2169
  "close-on-click-outside-options": {
2170
- ignore: [`#${n(b)}`]
2170
+ ignore: [`#${n(m)}`]
2171
2171
  },
2172
2172
  "menu-fixed-positioning": !0,
2173
- onOpen: (e1) => K1(Y),
2173
+ onOpen: (e1) => K1(B),
2174
2174
  onClose: p[0] || (p[0] = (e1) => t1()),
2175
- onKeydownCapture: q(s2, ["tab", "native"])
2175
+ onKeydownCapture: j(s2, ["tab", "native"])
2176
2176
  }, {
2177
2177
  iconLeft: Z(() => [
2178
- R(n(z5), {
2179
- "svg-title": n(i)("openViewOptions", { label: L.label })
2178
+ T(n(z5), {
2179
+ "svg-title": n(i)("openViewOptions", { label: _.label })
2180
2180
  }, null, 8, ["svg-title"])
2181
2181
  ]),
2182
2182
  _: 2
@@ -2184,44 +2184,44 @@ const J5 = {
2184
2184
  ], 2))), 128)),
2185
2185
  s("div", {
2186
2186
  ref_key: "viewControlRef",
2187
- ref: G,
2187
+ ref: K,
2188
2188
  class: "b-header-with-views__bar-control"
2189
2189
  }, [
2190
- n(h).length ? (l(), F(n(x0), {
2190
+ n(f).length ? (l(), F(n(x0), {
2191
2191
  key: 0,
2192
2192
  ref_key: "viewControlAllViewsRef",
2193
- ref: K,
2194
- "menu-items": n(h),
2193
+ ref: U,
2194
+ "menu-items": n(f),
2195
2195
  "menu-items-actions": N1(!1),
2196
- "menu-close-on-click-outside-options": { ignore: [`#${n(b)}`] },
2197
- "onClose:viewMenu": p[1] || (p[1] = (L) => t1()),
2198
- "onClose:allViews": p[2] || (p[2] = (L) => O.value = !1),
2199
- "onOpen:allViews": p[3] || (p[3] = (L) => O.value = !0),
2200
- "onOpen:viewMenu": p[4] || (p[4] = (L) => K1(L)),
2201
- "onReorder:view": p[5] || (p[5] = (L) => r("reorder:view", n(f1)(L))),
2202
- "onSelect:view": p[6] || (p[6] = (L) => o1(L))
2196
+ "menu-close-on-click-outside-options": { ignore: [`#${n(m)}`] },
2197
+ "onClose:viewMenu": p[1] || (p[1] = (_) => t1()),
2198
+ "onClose:allViews": p[2] || (p[2] = (_) => A.value = !1),
2199
+ "onOpen:allViews": p[3] || (p[3] = (_) => A.value = !0),
2200
+ "onOpen:viewMenu": p[4] || (p[4] = (_) => K1(_)),
2201
+ "onReorder:view": p[5] || (p[5] = (_) => r("reorder:view", n(f1)(_))),
2202
+ "onSelect:view": p[6] || (p[6] = (_) => o1(_))
2203
2203
  }, null, 8, ["menu-items", "menu-items-actions", "menu-close-on-click-outside-options"])) : v("", !0),
2204
- R(n(A1), {
2204
+ T(n(A1), {
2205
2205
  ref_key: "createViewButtonRef",
2206
2206
  ref: k,
2207
- "aria-expanded": j.value,
2208
- "aria-controls": j.value ? n(D) : null,
2209
- toggled: j.value,
2207
+ "aria-expanded": Y.value,
2208
+ "aria-controls": Y.value ? n(S) : null,
2209
+ toggled: Y.value,
2210
2210
  variant: "tertiary",
2211
- onClick: p[7] || (p[7] = (L) => j.value = !j.value)
2211
+ onClick: p[7] || (p[7] = (_) => Y.value = !Y.value)
2212
2212
  }, S1({
2213
2213
  iconLeft: Z(() => [
2214
- R(n(I2), {
2214
+ T(n(I2), {
2215
2215
  "svg-title": n(i)("createView"),
2216
- "aria-hidden": n(h).length === 0
2216
+ "aria-hidden": n(f).length === 0
2217
2217
  }, null, 8, ["svg-title", "aria-hidden"])
2218
2218
  ]),
2219
2219
  _: 2
2220
2220
  }, [
2221
- n(h).length === 0 ? {
2221
+ n(f).length === 0 ? {
2222
2222
  name: "default",
2223
2223
  fn: Z(() => [
2224
- Q(c(n(i)("createView")), 1)
2224
+ J(c(n(i)("createView")), 1)
2225
2225
  ]),
2226
2226
  key: "0"
2227
2227
  } : void 0
@@ -2238,28 +2238,28 @@ const J5 = {
2238
2238
  class: "b-header-with-views__actions"
2239
2239
  }, null, 8, ["actions", "actions-layout"])) : v("", !0)
2240
2240
  ], 2),
2241
- I.value === null && k.value ? (l(), F(n(L1), {
2241
+ O.value === null && k.value ? (l(), F(n(L1), {
2242
2242
  key: 0,
2243
- id: n(D),
2243
+ id: n(S),
2244
2244
  ref_key: "createViewPopoverRef",
2245
- ref: _,
2245
+ ref: b,
2246
2246
  dismissible: !0,
2247
2247
  "fixed-positioning": !0,
2248
2248
  "target-element": k.value,
2249
2249
  title: n(i)("createView"),
2250
- open: j.value,
2250
+ open: Y.value,
2251
2251
  "overflow-visible": !0,
2252
2252
  position: "bottom-start",
2253
2253
  onDismiss: x,
2254
- onKeydownCapture: q(p1(x, ["stop", "prevent"]), ["esc", "native"])
2254
+ onKeydownCapture: j(p1(x, ["stop", "prevent"]), ["esc", "native"])
2255
2255
  }, {
2256
2256
  default: Z(() => [
2257
- R(n(K5), {
2257
+ T(n(K5), {
2258
2258
  context: "create",
2259
2259
  errors: n(X),
2260
2260
  "additional-form-item": d.additionalViewSetting,
2261
- "onBlur:label": p[8] || (p[8] = (L) => n(W)(L, I.value)),
2262
- "onInput:label": p[9] || (p[9] = (L) => n(W)(L, I.value)),
2261
+ "onBlur:label": p[8] || (p[8] = (_) => n(W)(_, O.value)),
2262
+ "onInput:label": p[9] || (p[9] = (_) => n(W)(_, O.value)),
2263
2263
  "onKeydown:enter": B1,
2264
2264
  onUpdate: F1,
2265
2265
  onCancel: x
@@ -2267,33 +2267,33 @@ const J5 = {
2267
2267
  ]),
2268
2268
  _: 1
2269
2269
  }, 8, ["id", "target-element", "title", "open", "onKeydownCapture"])) : v("", !0),
2270
- I.value !== null && m.value ? (l(), F(n(L1), {
2270
+ O.value !== null && $.value ? (l(), F(n(L1), {
2271
2271
  key: 1,
2272
- id: n(b),
2272
+ id: n(m),
2273
2273
  ref_key: "editViewPopoverRef",
2274
2274
  ref: V,
2275
2275
  "disable-focus-trap": !1,
2276
2276
  dismissible: !0,
2277
2277
  "fixed-positioning": !0,
2278
- "target-element": m.value,
2278
+ "target-element": $.value,
2279
2279
  title: n(i)("editDetails"),
2280
- open: E.value !== null,
2280
+ open: I.value !== null,
2281
2281
  "overflow-visible": !0,
2282
2282
  position: "right-start",
2283
- onDismiss: p[12] || (p[12] = (L) => n1()),
2284
- onKeydownCapture: p[13] || (p[13] = q(p1((L) => n1(), ["stop", "prevent"]), ["esc", "native"]))
2283
+ onDismiss: p[12] || (p[12] = (_) => n1()),
2284
+ onKeydownCapture: p[13] || (p[13] = j(p1((_) => n1(), ["stop", "prevent"]), ["esc", "native"]))
2285
2285
  }, {
2286
2286
  default: Z(() => [
2287
- n(h)[E.value] ? (l(), F(n(K5), {
2287
+ n(f)[I.value] ? (l(), F(n(K5), {
2288
2288
  key: 0,
2289
2289
  context: "edit",
2290
- "additional-form-item": n(h)[E.value].additionalViewSetting,
2290
+ "additional-form-item": n(f)[I.value].additionalViewSetting,
2291
2291
  errors: n(X),
2292
- icon: n(h)[E.value].icon,
2293
- "icon-color": n(h)[E.value].iconColor,
2294
- label: n(h)[E.value].label,
2295
- "onBlur:label": p[10] || (p[10] = (L) => n(W)(L, I.value)),
2296
- "onInput:label": p[11] || (p[11] = (L) => n(W)(L, I.value)),
2292
+ icon: n(f)[I.value].icon,
2293
+ "icon-color": n(f)[I.value].iconColor,
2294
+ label: n(f)[I.value].label,
2295
+ "onBlur:label": p[10] || (p[10] = (_) => n(W)(_, O.value)),
2296
+ "onInput:label": p[11] || (p[11] = (_) => n(W)(_, O.value)),
2297
2297
  "onKeydown:enter": B1,
2298
2298
  onUpdate: G1,
2299
2299
  onCancel: O1
@@ -2301,31 +2301,31 @@ const J5 = {
2301
2301
  ]),
2302
2302
  _: 1
2303
2303
  }, 8, ["id", "target-element", "title", "open"])) : v("", !0),
2304
- B.value ? (l(), F(n(x1), {
2304
+ G.value ? (l(), F(n(x1), {
2305
2305
  key: 2,
2306
2306
  actions: W5.value,
2307
2307
  "is-dismissible": !1,
2308
- "is-open": B.value,
2309
- onCloseModal: p[15] || (p[15] = (L) => B.value = !1)
2308
+ "is-open": G.value,
2309
+ onCloseModal: p[15] || (p[15] = (_) => G.value = !1)
2310
2310
  }, {
2311
2311
  default: Z(() => [
2312
- Q(c(n(i)("unsavedChangesTitle", { label: n(h)[C.value].label })), 1)
2312
+ J(c(n(i)("unsavedChangesTitle", { label: n(f)[C.value].label })), 1)
2313
2313
  ]),
2314
2314
  content: Z(() => [
2315
2315
  s("div", h7, [
2316
- R(n(C1), null, {
2316
+ T(n(C1), null, {
2317
2317
  default: Z(() => [
2318
- Q(c(n(i)("unsavedChangesDescription")), 1)
2318
+ J(c(n(i)("unsavedChangesDescription")), 1)
2319
2319
  ]),
2320
2320
  _: 1
2321
2321
  }),
2322
2322
  d.skipUnsavedChangesText ? (l(), F(n(G5), {
2323
2323
  key: 0,
2324
- "model-value": f.value,
2325
- "onUpdate:modelValue": p[14] || (p[14] = (L) => f.value = L)
2324
+ "model-value": M.value,
2325
+ "onUpdate:modelValue": p[14] || (p[14] = (_) => M.value = _)
2326
2326
  }, {
2327
2327
  default: Z(() => [
2328
- Q(c(d.skipUnsavedChangesText), 1)
2328
+ J(c(d.skipUnsavedChangesText), 1)
2329
2329
  ]),
2330
2330
  _: 1
2331
2331
  }, 8, ["model-value"])) : v("", !0)
@@ -2340,16 +2340,16 @@ const J5 = {
2340
2340
  "is-dismissible": !1,
2341
2341
  "destructive-actions": "",
2342
2342
  onClickCapture: t2,
2343
- onCloseModal: p[16] || (p[16] = (L) => z.value = !1)
2343
+ onCloseModal: p[16] || (p[16] = (_) => z.value = !1)
2344
2344
  }, {
2345
2345
  default: Z(() => [
2346
- Q(c(n(i)("deleteViewTitle", { label: E1.value })), 1)
2346
+ J(c(n(i)("deleteViewTitle", { label: E1.value })), 1)
2347
2347
  ]),
2348
2348
  content: Z(() => [
2349
2349
  s("div", w7, [
2350
- R(n(C1), null, {
2350
+ T(n(C1), null, {
2351
2351
  default: Z(() => [
2352
- Q(c(n(i)("deleteViewDescription", { label: E1.value })), 1)
2352
+ J(c(n(i)("deleteViewDescription", { label: E1.value })), 1)
2353
2353
  ]),
2354
2354
  _: 1
2355
2355
  })
@@ -2359,8 +2359,8 @@ const J5 = {
2359
2359
  }, 8, ["actions", "is-open"])) : v("", !0)
2360
2360
  ], 512));
2361
2361
  }
2362
- }), q7 = /* @__PURE__ */ w(m7, [["__scopeId", "data-v-a0d4b702"]]);
2362
+ }), q7 = /* @__PURE__ */ w(m7, [["__scopeId", "data-v-c504ba5d"]]);
2363
2363
  export {
2364
2364
  q7 as h
2365
2365
  };
2366
- //# sourceMappingURL=header-with-views.B3WWqTtt.js.map
2366
+ //# sourceMappingURL=header-with-views.go02TaiU.js.map