@pgcorp/ui-kit 0.10.1 → 0.11.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 (97) hide show
  1. package/README.md +89 -0
  2. package/dist/assets/src/components/shared/_internal/{SDialogSurface.css_vue_type_style_index_0_src_979bf586_scoped_979bf586_lang.css → SDialogSurface.css_vue_type_style_index_0_src_d1b65adf_scoped_d1b65adf_lang.css} +1 -1
  3. package/dist/assets/src/components/shared/containers/SDrawer.css_vue_type_style_index_0_src_091d7325_scoped_091d7325_lang.css +2 -0
  4. package/dist/assets/src/components/shared/containers/{SModal.css_vue_type_style_index_0_src_64c62e90_scoped_64c62e90_lang.css → SModal.css_vue_type_style_index_0_src_23373daf_scoped_23373daf_lang.css} +1 -1
  5. package/dist/assets/src/components/shared/controls/{SButton.css_vue_type_style_index_0_src_49f356bb_scoped_49f356bb_lang.css → SButton.css_vue_type_style_index_0_src_52ad38b1_scoped_52ad38b1_lang.css} +1 -1
  6. package/dist/assets/src/components/shared/controls/{SInputText.css_vue_type_style_index_0_src_6d42d245_scoped_6d42d245_lang.css → SInputText.css_vue_type_style_index_0_src_a9c5f1aa_scoped_a9c5f1aa_lang.css} +1 -1
  7. package/dist/assets/src/components/shared/controls/{SLink.css_vue_type_style_index_0_src_fc6fdfb3_scoped_fc6fdfb3_lang.css → SLink.css_vue_type_style_index_0_src_c7ae14e1_scoped_c7ae14e1_lang.css} +1 -1
  8. package/dist/assets/src/components/shared/data-display/SCodeBlock.css_vue_type_style_index_0_src_78557968_scoped_78557968_lang.css +2 -0
  9. package/dist/assets/src/components/shared/data-display/{SCodeEditor.css_vue_type_style_index_0_src_cad79088_scoped_cad79088_lang.css → SCodeEditor.css_vue_type_style_index_0_src_124ca461_scoped_124ca461_lang.css} +1 -1
  10. package/dist/assets/src/components/shared/data-display/SCodeWorkspaceEditor.css_vue_type_style_index_0_src_b200dc8e_scoped_b200dc8e_lang.css +2 -0
  11. package/dist/assets/src/components/shared/data-display/_internal/SRichBlockNode.css_vue_type_style_index_0_src_195d5c06_scoped_195d5c06_lang.css +2 -0
  12. package/dist/assets/src/components/shared/navigation/{SBottomNav.vue_vue_type_style_index_0_scoped_a0d16ca3_lang.css → SBottomNav.vue_vue_type_style_index_0_scoped_b3963080_lang.css} +1 -1
  13. package/dist/assets/src/components/shared/navigation/{SBreadcrumbs.css_vue_type_style_index_0_src_e2c5851e_scoped_e2c5851e_lang.css → SBreadcrumbs.css_vue_type_style_index_0_src_f836963c_scoped_f836963c_lang.css} +1 -1
  14. package/dist/assets/src/components/shared/persona/_internal/SPersonaRunConsole.css_vue_type_style_index_0_src_21bf807e_scoped_21bf807e_lang.css +2 -0
  15. package/dist/index.js +4 -2
  16. package/dist/src/components/icons/_internal/generatedSputnigUiIconComponents.d.ts +243 -0
  17. package/dist/src/components/icons/_internal/generatedSputnigUiIconComponents.js +7 -0
  18. package/dist/src/components/icons/_internal/generatedSputnigUiIconMarkup.d.ts +721 -239
  19. package/dist/src/components/icons/_internal/generatedSputnigUiIconMarkup.js +244 -4
  20. package/dist/src/components/icons/_internal/sputnigUiIconRuntime.d.ts +18 -0
  21. package/dist/src/components/icons/_internal/sputnigUiIconRuntime.js +99 -0
  22. package/dist/src/components/icons/sputnigUiIcons.d.ts +5 -81
  23. package/dist/src/components/icons/sputnigUiIcons.js +238 -394
  24. package/dist/src/components/layout/SAppShell.vue.d.ts +2 -2
  25. package/dist/src/components/layout/SSideMenuButton.vue.d.ts +1 -1
  26. package/dist/src/components/layout/_internal/SAppBrand.vue.d.ts +3 -3
  27. package/dist/src/components/layout/types.d.ts +2 -2
  28. package/dist/src/components/shared/_internal/SDialogSurface.vue.d.ts +2 -1
  29. package/dist/src/components/shared/_internal/SDialogSurface.vue.js +2 -2
  30. package/dist/src/components/shared/_internal/SDialogSurface.vue_vue_type_script_setup_true_lang.js +38 -37
  31. package/dist/src/components/shared/_internal/SMenuItem.vue_vue_type_script_setup_true_lang.js +1 -1
  32. package/dist/src/components/shared/_internal/SToastItem.vue_vue_type_script_setup_true_lang.js +1 -1
  33. package/dist/src/components/shared/_internal/STreeNode.vue_vue_type_script_setup_true_lang.js +1 -1
  34. package/dist/src/components/shared/_internal/dialogSurface.d.ts +3 -0
  35. package/dist/src/components/shared/_internal/dialogSurface.js +23 -19
  36. package/dist/src/components/shared/containers/SCloudChromeRow.vue_vue_type_script_setup_true_lang.js +44 -44
  37. package/dist/src/components/shared/containers/SDrawer.vue.d.ts +7 -1
  38. package/dist/src/components/shared/containers/SDrawer.vue.js +2 -2
  39. package/dist/src/components/shared/containers/SDrawer.vue_vue_type_script_setup_true_lang.js +49 -44
  40. package/dist/src/components/shared/containers/SModal.vue.d.ts +7 -1
  41. package/dist/src/components/shared/containers/SModal.vue.js +2 -2
  42. package/dist/src/components/shared/containers/SModal.vue_vue_type_script_setup_true_lang.js +48 -41
  43. package/dist/src/components/shared/controls/SButton.vue.d.ts +32 -2
  44. package/dist/src/components/shared/controls/SButton.vue.js +2 -2
  45. package/dist/src/components/shared/controls/SButton.vue_vue_type_script_setup_true_lang.js +77 -79
  46. package/dist/src/components/shared/controls/SCheckbox.vue_vue_type_script_setup_true_lang.js +1 -1
  47. package/dist/src/components/shared/controls/SComboboxTrigger.vue_vue_type_script_setup_true_lang.js +1 -1
  48. package/dist/src/components/shared/controls/SContextToggleButton.vue_vue_type_script_setup_true_lang.js +1 -1
  49. package/dist/src/components/shared/controls/SDragHandle.vue_vue_type_script_setup_true_lang.js +21 -21
  50. package/dist/src/components/shared/controls/SInputText.vue.d.ts +6 -0
  51. package/dist/src/components/shared/controls/SInputText.vue.js +2 -2
  52. package/dist/src/components/shared/controls/SInputText.vue_vue_type_script_setup_true_lang.js +117 -97
  53. package/dist/src/components/shared/controls/SLink.vue.d.ts +17 -1
  54. package/dist/src/components/shared/controls/SLink.vue.js +2 -2
  55. package/dist/src/components/shared/controls/SLink.vue_vue_type_script_setup_true_lang.js +22 -22
  56. package/dist/src/components/shared/controls/SListboxOption.vue_vue_type_script_setup_true_lang.js +1 -1
  57. package/dist/src/components/shared/controls/STextarea.d.ts +1 -1
  58. package/dist/src/components/shared/controls/STextarea.vue.d.ts +12 -18
  59. package/dist/src/components/shared/controls/_internal/SInlineTokenSurface.vue_vue_type_script_lang.js +1 -1
  60. package/dist/src/components/shared/data-display/SActionListItem.vue.d.ts +1 -1
  61. package/dist/src/components/shared/data-display/SChip.vue_vue_type_script_setup_true_lang.js +1 -1
  62. package/dist/src/components/shared/data-display/SCodeBlock.vue.d.ts +33 -11
  63. package/dist/src/components/shared/data-display/SCodeBlock.vue.js +2 -2
  64. package/dist/src/components/shared/data-display/SCodeBlock.vue_vue_type_script_setup_true_lang.js +77 -75
  65. package/dist/src/components/shared/data-display/SCodeEditor.vue.d.ts +22 -10
  66. package/dist/src/components/shared/data-display/SCodeEditor.vue.js +2 -2
  67. package/dist/src/components/shared/data-display/SCodeEditor.vue_vue_type_script_setup_true_lang.js +44 -44
  68. package/dist/src/components/shared/data-display/SCodeSearchPanel.vue_vue_type_script_setup_true_lang.js +1 -1
  69. package/dist/src/components/shared/data-display/SCodeWorkspaceEditor.vue.js +2 -2
  70. package/dist/src/components/shared/data-display/SCodeWorkspaceEditor.vue_vue_type_script_setup_true_lang.js +3 -3
  71. package/dist/src/components/shared/data-display/SCopyField.vue_vue_type_script_setup_true_lang.js +1 -1
  72. package/dist/src/components/shared/data-display/SDocBlock.vue_vue_type_script_setup_true_lang.js +1 -1
  73. package/dist/src/components/shared/data-display/SExpandableText.vue_vue_type_script_setup_true_lang.js +1 -1
  74. package/dist/src/components/shared/data-display/SMessage.vue_vue_type_script_setup_true_lang.js +1 -1
  75. package/dist/src/components/shared/data-display/STable.vue_vue_type_script_setup_true_lang.js +1 -1
  76. package/dist/src/components/shared/data-display/_internal/SRichBlockNode.vue.js +2 -2
  77. package/dist/src/components/shared/data-display/_internal/SRichBlockNode.vue_vue_type_script_setup_true_lang.js +2 -2
  78. package/dist/src/components/shared/database/SSqlEditor.vue_vue_type_script_setup_true_lang.js +7 -10
  79. package/dist/src/components/shared/navigation/SBottomNav.vue.js +2 -2
  80. package/dist/src/components/shared/navigation/SBottomNav.vue_vue_type_script_setup_true_lang.js +70 -68
  81. package/dist/src/components/shared/navigation/SBreadcrumbs.vue.js +2 -2
  82. package/dist/src/components/shared/navigation/SBreadcrumbs.vue_vue_type_script_setup_true_lang.js +20 -21
  83. package/dist/src/components/shared/persona/SPersonaProjectPicker.vue_vue_type_script_setup_true_lang.js +1 -1
  84. package/dist/src/components/shared/persona/_internal/SPersonaRunConsole.vue.js +2 -2
  85. package/dist/src/components/shared/persona/_internal/SPersonaRunConsole.vue_vue_type_script_setup_true_lang.js +6 -3
  86. package/dist/src/composables/useDialogOverlay.d.ts +2 -0
  87. package/dist/src/composables/useDialogOverlay.js +14 -7
  88. package/dist/src/internal/feedbackPresentation.js +1 -1
  89. package/docs/accessibility.md +10 -0
  90. package/docs/public-api.md +12 -0
  91. package/docs/versioning.md +38 -10
  92. package/package.json +1 -1
  93. package/dist/assets/src/components/shared/containers/SDrawer.css_vue_type_style_index_0_src_1226da98_scoped_1226da98_lang.css +0 -2
  94. package/dist/assets/src/components/shared/data-display/SCodeBlock.css_vue_type_style_index_0_src_aad45526_scoped_aad45526_lang.css +0 -2
  95. package/dist/assets/src/components/shared/data-display/SCodeWorkspaceEditor.css_vue_type_style_index_0_src_864bce1d_scoped_864bce1d_lang.css +0 -2
  96. package/dist/assets/src/components/shared/data-display/_internal/SRichBlockNode.css_vue_type_style_index_0_src_63180598_scoped_63180598_lang.css +0 -2
  97. package/dist/assets/src/components/shared/persona/_internal/SPersonaRunConsole.css_vue_type_style_index_0_src_c71f59d4_scoped_c71f59d4_lang.css +0 -2
@@ -1,4 +1,4 @@
1
- import { Copy as e } from "../../icons/sputnigUiIcons.js";
1
+ import { Copy as e } from "../../icons/_internal/generatedSputnigUiIconComponents.js";
2
2
  import { useClipboard as t } from "../../../composables/useClipboard.js";
3
3
  import { useUiKitLocale as n } from "../../../composables/useUiKitLocale.js";
4
4
  import { useNotifier as r } from "../../../composables/useNotifier.js";
@@ -1,4 +1,4 @@
1
- import { Copy as e } from "../../icons/sputnigUiIcons.js";
1
+ import { Copy as e } from "../../icons/_internal/generatedSputnigUiIconComponents.js";
2
2
  import { useClipboard as t } from "../../../composables/useClipboard.js";
3
3
  import { useUiKitLocale as n } from "../../../composables/useUiKitLocale.js";
4
4
  import { useNotifier as r } from "../../../composables/useNotifier.js";
@@ -1,4 +1,4 @@
1
- import { Copy as e } from "../../icons/sputnigUiIcons.js";
1
+ import { Copy as e } from "../../icons/_internal/generatedSputnigUiIconComponents.js";
2
2
  import { useClipboard as t } from "../../../composables/useClipboard.js";
3
3
  import { useUiKitLocale as n } from "../../../composables/useUiKitLocale.js";
4
4
  import { useNotifier as r } from "../../../composables/useNotifier.js";
@@ -1,4 +1,4 @@
1
- import { X as e } from "../../icons/sputnigUiIcons.js";
1
+ import { X as e } from "../../icons/_internal/generatedSputnigUiIconComponents.js";
2
2
  import { useUiKitLocale as t } from "../../../composables/useUiKitLocale.js";
3
3
  import { useOwnedAttrs as n } from "../../../internal/ownedAttrs.js";
4
4
  import { validateBoolean as r, validateExactString as i, validateNonEmptyString as a } from "../../../internal/runtimeContract.js";
@@ -1,5 +1,5 @@
1
1
  import { hasOwn as e } from "../../../internal/es2020.js";
2
- import { ChevronDown as t, ChevronUp as n, ChevronsUpDown as r } from "../../icons/sputnigUiIcons.js";
2
+ import { ChevronDown as t, ChevronUp as n, ChevronsUpDown as r } from "../../icons/_internal/generatedSputnigUiIconComponents.js";
3
3
  import { useUiKitLocale as i } from "../../../composables/useUiKitLocale.js";
4
4
  import { useOwnedAttrs as a } from "../../../internal/ownedAttrs.js";
5
5
  import { validateBoolean as o, validateDomId as s, validateExactString as c, validateNonEmptyString as l } from "../../../internal/runtimeContract.js";
@@ -1,8 +1,8 @@
1
- import "../../../../../assets/src/components/shared/data-display/_internal/SRichBlockNode.css_vue_type_style_index_0_src_63180598_scoped_63180598_lang.css";
1
+ import "../../../../../assets/src/components/shared/data-display/_internal/SRichBlockNode.css_vue_type_style_index_0_src_195d5c06_scoped_195d5c06_lang.css";
2
2
  import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
3
3
  import t from "./SRichBlockNode.vue_vue_type_script_setup_true_lang.js";
4
4
  /* empty css */
5
5
  //#region src/components/shared/data-display/_internal/SRichBlockNode.vue
6
- var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-63180598"]]);
6
+ var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-195d5c06"]]);
7
7
  //#endregion
8
8
  export { n as default };
@@ -269,13 +269,13 @@ var T = {
269
269
  "show-line-numbers": g.node.showLineNumbers ?? !0,
270
270
  "read-only": "",
271
271
  viewport: "document",
272
- "aria-label": g.node.label ?? C(B)("editor.codeBlock")
272
+ ariaLabel: g.node.label ?? C(B)("editor.codeBlock")
273
273
  }, null, 8, [
274
274
  "code",
275
275
  "language",
276
276
  "show-header",
277
277
  "show-line-numbers",
278
- "aria-label"
278
+ "ariaLabel"
279
279
  ])) : g.node.type === "mathBlock" ? (v(), u(C(H), {
280
280
  key: 10,
281
281
  source: g.node.source,
@@ -7,7 +7,7 @@ import l from "../data-display/SStatus.vue.js";
7
7
  import { validateCodeEditorViewport as u } from "../../../internal/codeEditorContract.js";
8
8
  import { provideTrustedCodeEditorExtensions as d } from "../../../internal/codeEditorExtensions.js";
9
9
  import f from "../data-display/SCodeEditor.vue.js";
10
- import { computed as p, createBlock as m, createSlots as h, createVNode as g, defineComponent as _, mergeProps as ee, openBlock as te, ref as v, renderSlot as y, unref as b, useId as x, useSlots as S, withCtx as C } from "vue";
10
+ import { computed as p, createBlock as m, createSlots as h, createVNode as g, defineComponent as _, mergeProps as v, openBlock as ee, ref as te, renderSlot as y, unref as b, useId as x, useSlots as S, withCtx as C } from "vue";
11
11
  import { autocompletion as w } from "@codemirror/autocomplete";
12
12
  //#region src/components/shared/database/SSqlEditor.vue?vue&type=script&setup=true&lang.ts
13
13
  var T = /*@__PURE__*/ _({
@@ -56,7 +56,7 @@ var T = /*@__PURE__*/ _({
56
56
  let E = _, { t: D } = t(), re = p(() => E.placeholder ?? D("editor.sqlPlaceholder")), O = n({
57
57
  component: "SSqlEditor",
58
58
  owner: "SQL editor adapter root"
59
- }), k = S(), A = ne, j = v(null), M = p(() => r("SSqlEditor", "readOnly", E.readOnly)), N = p(() => r("SSqlEditor", "disabled", E.disabled)), P = p(() => r("SSqlEditor", "loading", E.loading)), F = p(() => r("SSqlEditor", "autofocus", E.autofocus)), I = p(() => r("SSqlEditor", "showLineNumbers", E.showLineNumbers)), L = p(() => u("SSqlEditor", E.viewport)), R = p(() => E.title === void 0 ? "" : s("SSqlEditor", "title", E.title)), z = p(() => s("SSqlEditor", "placeholder", re.value)), B = p(() => {
59
+ }), k = S(), A = ne, j = te(null), M = p(() => r("SSqlEditor", "readOnly", E.readOnly)), N = p(() => r("SSqlEditor", "disabled", E.disabled)), P = p(() => r("SSqlEditor", "loading", E.loading)), F = p(() => r("SSqlEditor", "autofocus", E.autofocus)), I = p(() => r("SSqlEditor", "showLineNumbers", E.showLineNumbers)), L = p(() => u("SSqlEditor", E.viewport)), R = p(() => E.title === void 0 ? "" : s("SSqlEditor", "title", E.title)), z = p(() => s("SSqlEditor", "placeholder", re.value)), B = p(() => {
60
60
  if (typeof E.errorMessage != "string") throw TypeError("SSqlEditor: errorMessage должен быть строкой. / SSqlEditor: errorMessage must be a string.");
61
61
  return E.errorMessage === "" ? "" : s("SSqlEditor", "errorMessage", E.errorMessage);
62
62
  }), V = p(() => {
@@ -242,7 +242,7 @@ var T = /*@__PURE__*/ _({
242
242
  if (!e) throw Error("SSqlEditor: editor не готов; дождитесь ready. / SSqlEditor: editor is not ready; wait for ready.");
243
243
  e.focus();
244
244
  }
245
- }), (e, t) => (te(), m(c, ee(b(O).bindings(), {
245
+ }), (e, t) => (ee(), m(c, v(b(O).bindings(), {
246
246
  title: R.value || void 0,
247
247
  "title-id": R.value ? H : void 0,
248
248
  "footer-id": Z.value ? U : void 0,
@@ -254,7 +254,7 @@ var T = /*@__PURE__*/ _({
254
254
  "surface-radius": "md",
255
255
  "surface-overflow": "clip"
256
256
  }), h({
257
- default: C(() => [g(f, {
257
+ default: C(() => [g(f, v({
258
258
  ref_key: "codeEditor",
259
259
  ref: j,
260
260
  "model-value": _.modelValue,
@@ -265,9 +265,8 @@ var T = /*@__PURE__*/ _({
265
265
  autofocus: F.value,
266
266
  placeholder: z.value,
267
267
  "read-only": M.value,
268
- disabled: N.value,
269
- "aria-label": V.value.ariaLabel,
270
- "aria-labelledby": V.value.ariaLabelledby,
268
+ disabled: N.value
269
+ }, V.value, {
271
270
  "aria-describedby": Z.value ? U : void 0,
272
271
  invalid: Q.value,
273
272
  "next-selection-pos": _.nextSelectionPos,
@@ -276,7 +275,7 @@ var T = /*@__PURE__*/ _({
276
275
  onCursorActivity: ue,
277
276
  onSelectionApplied: t[0] ||= (e) => A("selection-applied", e),
278
277
  onReady: t[1] ||= (e) => A("ready", e)
279
- }, null, 8, [
278
+ }), null, 16, [
280
279
  "model-value",
281
280
  "capabilities",
282
281
  "viewport",
@@ -284,8 +283,6 @@ var T = /*@__PURE__*/ _({
284
283
  "placeholder",
285
284
  "read-only",
286
285
  "disabled",
287
- "aria-label",
288
- "aria-labelledby",
289
286
  "aria-describedby",
290
287
  "invalid",
291
288
  "next-selection-pos",
@@ -1,8 +1,8 @@
1
- import "../../../../assets/src/components/shared/navigation/SBottomNav.vue_vue_type_style_index_0_scoped_a0d16ca3_lang.css";
1
+ import "../../../../assets/src/components/shared/navigation/SBottomNav.vue_vue_type_style_index_0_scoped_b3963080_lang.css";
2
2
  import e from "../../../../_virtual/_plugin-vue_export-helper.js";
3
3
  import t from "./SBottomNav.vue_vue_type_script_setup_true_lang.js";
4
4
  /* empty css */
5
5
  //#region src/components/shared/navigation/SBottomNav.vue
6
- var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-a0d16ca3"]]);
6
+ var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-b3963080"]]);
7
7
  //#endregion
8
8
  export { n as default };
@@ -4,9 +4,9 @@ import { useOwnedAttrs as n } from "../../../internal/ownedAttrs.js";
4
4
  import r from "../data-display/SBadge.vue.js";
5
5
  import { resolveLinkTarget as i } from "../../../internal/linkTarget.js";
6
6
  import a from "../controls/SButton.vue.js";
7
- import o from "../controls/SLink.vue.js";
8
- import ee from "../controls/SMenuSurface.vue.js";
9
- import { Fragment as te, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as ne, createVNode as f, defineComponent as p, mergeProps as re, nextTick as ie, onBeforeUnmount as ae, onMounted as oe, openBlock as m, ref as h, renderList as se, renderSlot as ce, toDisplayString as g, unref as _, useId as le, watch as v, withCtx as y } from "vue";
7
+ import ee from "../controls/SLink.vue.js";
8
+ import te from "../controls/SMenuSurface.vue.js";
9
+ import { Fragment as ne, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as re, createVNode as d, defineComponent as f, mergeProps as p, nextTick as m, onBeforeUnmount as ie, onMounted as ae, openBlock as h, ref as g, renderList as oe, renderSlot as se, toDisplayString as _, unref as ce, useId as le, watch as v, withCtx as y } from "vue";
10
10
  //#region src/components/shared/navigation/SBottomNav.vue?vue&type=script&setup=true&lang.ts
11
11
  var ue = ["aria-label"], de = { class: "s-bottom-nav__items" }, fe = { key: 0 }, pe = {
12
12
  key: 2,
@@ -14,7 +14,7 @@ var ue = ["aria-label"], de = { class: "s-bottom-nav__items" }, fe = { key: 0 },
14
14
  }, me = {
15
15
  key: 0,
16
16
  class: "s-bottom-nav__status"
17
- }, b = /*@__PURE__*/ p({
17
+ }, b = /*@__PURE__*/ f({
18
18
  inheritAttrs: !1,
19
19
  __name: "SBottomNav",
20
20
  props: {
@@ -37,11 +37,19 @@ var ue = ["aria-label"], de = { class: "s-bottom-nav__items" }, fe = { key: 0 },
37
37
  "navigate",
38
38
  "layout-change"
39
39
  ],
40
- setup(p, { emit: b }) {
41
- let x = p, S = b, he = n({
40
+ setup(f, { emit: b }) {
41
+ let x = f, S = b, he = n({
42
42
  component: "SBottomNav",
43
43
  owner: "navigation root"
44
- }), C = s(() => x.iconOnly), w = le(), T = h(null), E = h(null), D = h(!1), O = h(null), k = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), j = 0, M = s(() => x.items.filter((e) => e.kind === "overflow")), N = s(() => M.value.find((e) => e.id === O.value) ?? null), ge = s(() => {
44
+ }), ge = (e) => e.href === void 0 ? {
45
+ to: e.to,
46
+ ...e.target === void 0 ? {} : { target: e.target },
47
+ ...e.rel === void 0 ? {} : { rel: e.rel }
48
+ } : {
49
+ href: e.href,
50
+ ...e.target === void 0 ? {} : { target: e.target },
51
+ ...e.rel === void 0 ? {} : { rel: e.rel }
52
+ }, C = o(() => x.iconOnly), w = le(), T = g(null), E = g(null), D = g(!1), O = g(null), k = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), j = 0, M = o(() => x.items.filter((e) => e.kind === "overflow")), N = o(() => M.value.find((e) => e.id === O.value) ?? null), _e = o(() => {
45
53
  let e = N.value;
46
54
  return e ? e.items.map((e) => e.kind === "destination" ? {
47
55
  ...e,
@@ -60,7 +68,7 @@ var ue = ["aria-label"], de = { class: "s-bottom-nav__items" }, fe = { key: 0 },
60
68
  if (t !== void 0) return t;
61
69
  let n = j;
62
70
  return j += 1, A.set(e.id, n), n;
63
- }, B = (e) => `s-bottom-nav-${w}-overflow-${z(e)}-trigger`, V = (e) => `s-bottom-nav-${w}-overflow-${z(e)}-menu`, _e = (e, t) => {
71
+ }, B = (e) => `s-bottom-nav-${w}-overflow-${z(e)}-trigger`, V = (e) => `s-bottom-nav-${w}-overflow-${z(e)}-menu`, ve = (e, t) => {
64
72
  if (e.kind === "overflow") {
65
73
  if (t === null) {
66
74
  k.delete(e.id);
@@ -77,10 +85,10 @@ var ue = ["aria-label"], de = { class: "s-bottom-nav__items" }, fe = { key: 0 },
77
85
  let r = B(e);
78
86
  if (n.id !== r) throw Error(`SBottomNav: overflow trigger '${e.id}' owns id '${n.id}', expected '${r}'`);
79
87
  return n;
80
- }, U = (e) => !!(e.disabled || e.kind === "overflow" && e.items.length === 0), W = (e) => U(e) || e.kind === "action" ? !1 : e.kind === "destination" || e.kind === "view" ? x.modelValue === e.id : O.value === e.id || e.items.some((e) => (e.kind === "destination" || e.kind === "view") && !e.disabled && e.id === x.modelValue), ve = (e, t) => (e.target ?? "_self") === "_self" ? t instanceof MouseEvent ? t.button === 0 && !t.altKey && !t.ctrlKey && !t.metaKey && !t.shiftKey : !0 : !1, G = (e, t) => {
88
+ }, U = (e) => !!(e.disabled || e.kind === "overflow" && e.items.length === 0), W = (e) => U(e) || e.kind === "action" ? !1 : e.kind === "destination" || e.kind === "view" ? x.modelValue === e.id : O.value === e.id || e.items.some((e) => (e.kind === "destination" || e.kind === "view") && !e.disabled && e.id === x.modelValue), ye = (e, t) => (e.target ?? "_self") === "_self" ? t instanceof MouseEvent ? t.button === 0 && !t.altKey && !t.ctrlKey && !t.metaKey && !t.shiftKey : !0 : !1, G = (e, t) => {
81
89
  if (!e.disabled) {
82
90
  if (e.kind === "destination") {
83
- S("navigate", e, t), ve(e, t) && S("update:modelValue", e.id);
91
+ S("navigate", e, t), ye(e, t) && S("update:modelValue", e.id);
84
92
  return;
85
93
  }
86
94
  if (e.kind === "view") {
@@ -102,9 +110,9 @@ var ue = ["aria-label"], de = { class: "s-bottom-nav__items" }, fe = { key: 0 },
102
110
  restoreTarget: n,
103
111
  requestDismiss: (e) => K(e === "escape")
104
112
  });
105
- }, ye = (e, t) => {
106
- K(!1), G(t, e);
107
113
  }, be = (e, t) => {
114
+ K(!1), G(t, e);
115
+ }, xe = (e, t) => {
108
116
  if (!U(e)) {
109
117
  if (e.kind === "overflow") {
110
118
  O.value === e.id ? K(!0) : q(e);
@@ -112,65 +120,65 @@ var ue = ["aria-label"], de = { class: "s-bottom-nav__items" }, fe = { key: 0 },
112
120
  }
113
121
  K(!1), G(e, t);
114
122
  }
115
- }, xe = (e, t) => {
123
+ }, Se = (e, t) => {
116
124
  e.key !== "ArrowDown" || t.kind !== "overflow" || U(t) || (e.preventDefault(), q(t));
117
- }, J = (e, t) => {
125
+ }, Ce = (e, t) => {
118
126
  if (e.kind !== "action" && e.kind !== "destination") throw TypeError(`SBottomNav: overflow menu accepts action/destination entries, received '${e.kind}'`);
119
127
  let n = N.value;
120
128
  if (!n) throw Error(`SBottomNav: selected menu entry '${e.id}' without an active overflow`);
121
129
  let r = n.items.find((t) => t.id === e.id);
122
130
  if (!r) throw Error(`SBottomNav: selected unknown overflow entry '${e.id}'`);
123
131
  r.disabled || (G(r, t), K(!0));
124
- }, Se = (e) => {
132
+ }, we = (e) => {
125
133
  if (!N.value) return;
126
134
  let t = e.relatedTarget;
127
135
  t instanceof Node && T.value?.contains(t) || K(!1);
128
- }, Ce = (t) => {
136
+ }, Te = (t) => {
129
137
  let n = N.value;
130
138
  if (!n) return;
131
139
  let r = H(n), i = F?.focusScope() ?? document, a = e(r, i, E.value, t.shiftKey);
132
- t.preventDefault(), K(!1), a && ie(() => a.focus());
133
- }, Y = (e) => {
140
+ t.preventDefault(), K(!1), a && m(() => a.focus());
141
+ }, J = (e) => {
134
142
  if (!x.scrollTargetId || typeof window > "u" || typeof document > "u") return;
135
143
  let t = e.target, n = 0;
136
144
  if (t instanceof HTMLElement && t.id === x.scrollTargetId) n = t.scrollTop || 0;
137
145
  else if (t === document && document.documentElement.id === x.scrollTargetId) n = document.documentElement.scrollTop || document.body.scrollTop || 0;
138
146
  else return;
139
147
  n > P + 10 ? D.value = !0 : n < P - 5 && (D.value = !1), P = n;
140
- }, X = [
148
+ }, Y = [
141
149
  "kind",
142
150
  "id",
143
151
  "label",
144
152
  "icon",
145
153
  "badge",
146
154
  "disabled"
147
- ], we = {
148
- action: new Set(X),
155
+ ], Ee = {
156
+ action: new Set(Y),
149
157
  destination: /* @__PURE__ */ new Set([
150
- ...X,
158
+ ...Y,
151
159
  "href",
152
160
  "to",
153
161
  "target",
154
162
  "rel"
155
163
  ]),
156
- view: new Set(X),
164
+ view: new Set(Y),
157
165
  overflow: /* @__PURE__ */ new Set([
158
- ...X,
166
+ ...Y,
159
167
  "menuLabel",
160
168
  "items"
161
169
  ])
162
170
  };
163
- function Z(e, t) {
171
+ function X(e, t) {
164
172
  if (typeof e != "object" || !e || Array.isArray(e)) throw TypeError(`SBottomNav: ${t} must be an object`);
165
173
  }
166
- function Te(e, t) {
174
+ function De(e, t) {
167
175
  let n = e.kind;
168
176
  if (n !== "action" && n !== "destination" && n !== "view") throw TypeError(`SBottomNav: ${t}.kind must be action, destination, or view`);
169
- return Q(e, t, n), n;
177
+ return Z(e, t, n), n;
170
178
  }
171
- function Q(e, t, n) {
179
+ function Z(e, t, n) {
172
180
  for (let r of Reflect.ownKeys(e)) {
173
- if (typeof r != "string" || !we[n].has(r)) throw TypeError(`SBottomNav: ${t} has unsupported field ${String(r)}`);
181
+ if (typeof r != "string" || !Ee[n].has(r)) throw TypeError(`SBottomNav: ${t} has unsupported field ${String(r)}`);
174
182
  let i = Object.getOwnPropertyDescriptor(e, r);
175
183
  if (!i?.enumerable || !("value" in i)) throw TypeError(`SBottomNav: ${t}.${r} must be an enumerable data property`);
176
184
  }
@@ -187,15 +195,15 @@ var ue = ["aria-label"], de = { class: "s-bottom-nav__items" }, fe = { key: 0 },
187
195
  rel: e.rel
188
196
  });
189
197
  }
190
- function Ee(e) {
198
+ function Q(e) {
191
199
  if (!Array.isArray(e) || e.length === 0) throw TypeError("SBottomNav: items must be a non-empty array");
192
200
  let t = /* @__PURE__ */ new Set();
193
201
  for (let [n, r] of e.entries()) {
194
202
  let e = `items[${n}]`;
195
- Z(r, e);
203
+ X(r, e);
196
204
  let i = r.kind;
197
205
  if (i !== "action" && i !== "destination" && i !== "view" && i !== "overflow") throw TypeError(`SBottomNav: ${e}.kind must be action, destination, view, or overflow`);
198
- Q(r, e, i);
206
+ Z(r, e, i);
199
207
  let a = r.id;
200
208
  if (typeof a != "string") throw TypeError(`SBottomNav: ${e}.id must be a string`);
201
209
  if (t.has(a)) throw TypeError(`SBottomNav: duplicate item id '${a}'`);
@@ -204,7 +212,7 @@ var ue = ["aria-label"], de = { class: "s-bottom-nav__items" }, fe = { key: 0 },
204
212
  if (!Array.isArray(r.items)) throw TypeError(`SBottomNav: ${e}.items must be an array`);
205
213
  for (let [n, i] of r.items.entries()) {
206
214
  let r = `${e}.items[${n}]`;
207
- Z(i, r), Te(i, r);
215
+ X(i, r), De(i, r);
208
216
  let a = i.id;
209
217
  if (typeof a != "string") throw TypeError(`SBottomNav: ${r}.id must be a string`);
210
218
  if (t.has(a)) throw TypeError(`SBottomNav: duplicate item id '${a}'`);
@@ -222,8 +230,8 @@ var ue = ["aria-label"], de = { class: "s-bottom-nav__items" }, fe = { key: 0 },
222
230
  };
223
231
  R && R.hidden === t.hidden && R.height === t.height || (R = t, S("layout-change", t));
224
232
  };
225
- return oe(() => {
226
- D.value = x.hidden ?? !1, typeof document < "u" && document.addEventListener("scroll", Y, {
233
+ return ae(() => {
234
+ D.value = x.hidden ?? !1, typeof document < "u" && document.addEventListener("scroll", J, {
227
235
  passive: !0,
228
236
  capture: !0
229
237
  }), typeof ResizeObserver < "u" && T.value ? (I = new ResizeObserver($), I.observe(T.value)) : typeof window < "u" && (L = !0, window.addEventListener("resize", $)), $();
@@ -234,7 +242,7 @@ var ue = ["aria-label"], de = { class: "s-bottom-nav__items" }, fe = { key: 0 },
234
242
  }), v(() => x.modelValue, () => {
235
243
  K(!1), D.value = x.hidden ?? !1, P = 0, $();
236
244
  }), v(() => x.items, () => {
237
- if (Ee(x.items), O.value) {
245
+ if (Q(x.items), O.value) {
238
246
  let e = M.value.find((e) => e.id === O.value);
239
247
  (!e || U(e)) && K(!1);
240
248
  }
@@ -246,25 +254,23 @@ var ue = ["aria-label"], de = { class: "s-bottom-nav__items" }, fe = { key: 0 },
246
254
  if (typeof e != "string" || !e.trim()) throw TypeError("SBottomNav: label must be non-empty");
247
255
  if (typeof t != "string" || !t.trim()) throw TypeError("SBottomNav: modelValue must be a non-empty destination id");
248
256
  if (n !== void 0 && (typeof n != "string" || !n.trim())) throw TypeError("SBottomNav: scrollTargetId must be a non-empty string when provided");
249
- }, { immediate: !0 }), ae(() => {
250
- typeof document < "u" && document.removeEventListener("scroll", Y, { capture: !0 }), I?.disconnect(), I = null, L && typeof window < "u" && window.removeEventListener("resize", $), L = !1, F?.unregister({ restoreFocus: !1 }), F = null, k.clear(), A.clear();
251
- }), (e, t) => (m(), u("nav", re({
257
+ }, { immediate: !0 }), ie(() => {
258
+ typeof document < "u" && document.removeEventListener("scroll", J, { capture: !0 }), I?.disconnect(), I = null, L && typeof window < "u" && window.removeEventListener("resize", $), L = !1, F?.unregister({ restoreFocus: !1 }), F = null, k.clear(), A.clear();
259
+ }), (e, t) => (h(), l("nav", p({
252
260
  ref_key: "navRef",
253
261
  ref: T
254
- }, _(he).bindings(), {
262
+ }, ce(he).bindings(), {
255
263
  class: ["s-bottom-nav", { "s-bottom-nav--hidden": D.value }],
256
264
  "data-test": "bottom-nav",
257
- "aria-label": p.label,
258
- onFocusout: Se
259
- }), [d("div", de, [(m(!0), u(te, null, se(p.items, (e) => (m(), u("div", {
265
+ "aria-label": f.label,
266
+ onFocusout: we
267
+ }), [u("div", de, [(h(!0), l(ne, null, oe(f.items, (e) => (h(), l("div", {
260
268
  key: e.id,
261
269
  class: "s-bottom-nav__item"
262
- }, [e.kind === "destination" ? (m(), c(o, {
270
+ }, [e.kind === "destination" ? (h(), s(ee, p({
263
271
  key: 0,
264
- href: e.href,
265
- to: e.to,
266
- target: e.target,
267
- rel: e.rel,
272
+ ref_for: !0
273
+ }, ge(e), {
268
274
  "leading-icon": e.icon,
269
275
  disabled: e.disabled,
270
276
  active: W(e),
@@ -272,25 +278,21 @@ var ue = ["aria-label"], de = { class: "s-bottom-nav__items" }, fe = { key: 0 },
272
278
  width: "full",
273
279
  "aria-label": C.value ? e.label : void 0,
274
280
  "data-testid": `bottom-nav-${e.id}`,
275
- onClick: (t) => ye(t, e)
276
- }, {
277
- default: y(() => [C.value ? l("", !0) : (m(), u("span", fe, g(e.label), 1))]),
281
+ onClick: (t) => be(t, e)
282
+ }), {
283
+ default: y(() => [C.value ? c("", !0) : (h(), l("span", fe, _(e.label), 1))]),
278
284
  _: 2
279
- }, 1032, [
280
- "href",
281
- "to",
282
- "target",
283
- "rel",
285
+ }, 1040, [
284
286
  "leading-icon",
285
287
  "disabled",
286
288
  "active",
287
289
  "aria-label",
288
290
  "data-testid",
289
291
  "onClick"
290
- ])) : (m(), c(a, {
292
+ ])) : (h(), s(a, {
291
293
  key: 1,
292
294
  ref_for: !0,
293
- ref: (t) => _e(e, t),
295
+ ref: (t) => ve(e, t),
294
296
  label: C.value ? void 0 : e.label,
295
297
  "leading-icon": e.icon,
296
298
  "icon-only": C.value,
@@ -311,8 +313,8 @@ var ue = ["aria-label"], de = { class: "s-bottom-nav__items" }, fe = { key: 0 },
311
313
  } : void 0,
312
314
  "data-test": `bottom-nav-${e.id}`,
313
315
  "data-testid": `bottom-nav-${e.id}`,
314
- onClick: (t) => be(e, t),
315
- onKeydown: (t) => xe(t, e)
316
+ onClick: (t) => xe(e, t),
317
+ onKeydown: (t) => Se(t, e)
316
318
  }, null, 8, [
317
319
  "label",
318
320
  "leading-icon",
@@ -329,34 +331,34 @@ var ue = ["aria-label"], de = { class: "s-bottom-nav__items" }, fe = { key: 0 },
329
331
  "data-testid",
330
332
  "onClick",
331
333
  "onKeydown"
332
- ])), e.badge === void 0 ? l("", !0) : (m(), u("span", pe, [f(r, {
334
+ ])), e.badge === void 0 ? c("", !0) : (h(), l("span", pe, [d(r, {
333
335
  severity: "danger",
334
336
  size: "xs"
335
337
  }, {
336
- default: y(() => [ne(g(e.badge), 1)]),
338
+ default: y(() => [re(_(e.badge), 1)]),
337
339
  _: 2
338
- }, 1024)]))]))), 128)), N.value ? (m(), u("div", {
340
+ }, 1024)]))]))), 128)), N.value ? (h(), l("div", {
339
341
  key: 0,
340
342
  ref_key: "overflowLayerRef",
341
343
  ref: E,
342
344
  class: "s-bottom-nav__overflow-layer",
343
345
  "data-test": "bottom-nav-overflow"
344
- }, [f(ee, {
346
+ }, [d(te, {
345
347
  id: V(N.value),
346
348
  label: N.value.menuLabel,
347
349
  density: "compact",
348
350
  orientation: "horizontal",
349
351
  autofocus: "",
350
- items: ge.value,
352
+ items: _e.value,
351
353
  onEscape: t[0] ||= (e) => K(!0),
352
354
  onFocusExit: t[1] ||= (e) => K(!1),
353
- onSelect: J,
354
- onTab: Ce
355
+ onSelect: Ce,
356
+ onTab: Te
355
357
  }, null, 8, [
356
358
  "id",
357
359
  "label",
358
360
  "items"
359
- ])], 512)) : l("", !0)]), e.$slots.status ? (m(), u("div", me, [ce(e.$slots, "status", {}, void 0, !0)])) : l("", !0)], 16, ue));
361
+ ])], 512)) : c("", !0)]), e.$slots.status ? (h(), l("div", me, [se(e.$slots, "status", {}, void 0, !0)])) : c("", !0)], 16, ue));
360
362
  }
361
363
  });
362
364
  //#endregion
@@ -1,8 +1,8 @@
1
- import "../../../../assets/src/components/shared/navigation/SBreadcrumbs.css_vue_type_style_index_0_src_e2c5851e_scoped_e2c5851e_lang.css";
1
+ import "../../../../assets/src/components/shared/navigation/SBreadcrumbs.css_vue_type_style_index_0_src_f836963c_scoped_f836963c_lang.css";
2
2
  import e from "../../../../_virtual/_plugin-vue_export-helper.js";
3
3
  import t from "./SBreadcrumbs.vue_vue_type_script_setup_true_lang.js";
4
4
  /* empty css */
5
5
  //#region src/components/shared/navigation/SBreadcrumbs.vue
6
- var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-e2c5851e"]]);
6
+ var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-f836963c"]]);
7
7
  //#endregion
8
8
  export { n as default };
@@ -1,4 +1,4 @@
1
- import { ChevronRight as e } from "../../icons/sputnigUiIcons.js";
1
+ import { ChevronRight as e } from "../../icons/_internal/generatedSputnigUiIconComponents.js";
2
2
  import { useUiKitLocale as t } from "../../../composables/useUiKitLocale.js";
3
3
  import { useOwnedAttrs as n } from "../../../internal/ownedAttrs.js";
4
4
  import { resolveLinkTarget as r } from "../../../internal/linkTarget.js";
@@ -22,7 +22,15 @@ var x = ["aria-label"], S = { class: "s-breadcrumbs__list" }, C = {
22
22
  let T = p, { t: E } = t(), D = s(() => T.ariaLabel ?? E("navigation.breadcrumbs")), O = w, k = n({
23
23
  component: "SBreadcrumbs",
24
24
  owner: "breadcrumb navigation root"
25
- }), A = {
25
+ }), A = (e) => e.href === void 0 ? {
26
+ to: e.to,
27
+ ...e.target === void 0 ? {} : { target: e.target },
28
+ ...e.rel === void 0 ? {} : { rel: e.rel }
29
+ } : {
30
+ href: e.href,
31
+ ...e.target === void 0 ? {} : { target: e.target },
32
+ ...e.rel === void 0 ? {} : { rel: e.rel }
33
+ }, j = {
26
34
  action: /* @__PURE__ */ new Set([
27
35
  "kind",
28
36
  "id",
@@ -45,20 +53,20 @@ var x = ["aria-label"], S = { class: "s-breadcrumbs__list" }, C = {
45
53
  "rel"
46
54
  ])
47
55
  };
48
- function j(e, t) {
56
+ function M(e, t) {
49
57
  if (typeof e != "object" || !e || Array.isArray(e)) throw TypeError(`SBreadcrumbs: ${t} must be an object`);
50
58
  }
51
- function M() {
59
+ function N() {
52
60
  if (!D.value.trim()) throw TypeError("SBreadcrumbs: ariaLabel must be a non-empty string");
53
61
  if (!Array.isArray(T.items) || T.items.length === 0) throw TypeError("SBreadcrumbs: items must be a non-empty array");
54
62
  let e = /* @__PURE__ */ new Set(), t = -1;
55
63
  for (let [n, i] of T.items.entries()) {
56
64
  let a = `items[${n}]`;
57
- j(i, a);
65
+ M(i, a);
58
66
  let o = i.kind;
59
67
  if (o !== "action" && o !== "current" && o !== "destination") throw TypeError(`SBreadcrumbs: ${a}.kind must be action, current, or destination`);
60
68
  for (let e of Reflect.ownKeys(i)) {
61
- if (typeof e != "string" || !A[o].has(e)) throw TypeError(`SBreadcrumbs: ${a} has unsupported field '${String(e)}'`);
69
+ if (typeof e != "string" || !j[o].has(e)) throw TypeError(`SBreadcrumbs: ${a} has unsupported field '${String(e)}'`);
62
70
  let t = Object.getOwnPropertyDescriptor(i, e);
63
71
  if (!t?.enumerable || !("value" in t)) throw TypeError(`SBreadcrumbs: ${a}.${e} must be an enumerable data property`);
64
72
  }
@@ -79,7 +87,7 @@ var x = ["aria-label"], S = { class: "s-breadcrumbs__list" }, C = {
79
87
  }
80
88
  if (t !== T.items.length - 1) throw TypeError("SBreadcrumbs: the sole current item must be last");
81
89
  }
82
- return y(() => [T.items, D.value], M, {
90
+ return y(() => [T.items, D.value], N, {
83
91
  immediate: !0,
84
92
  deep: !0
85
93
  }), (t, n) => (h(), u("nav", m(v(k).bindings(), {
@@ -92,27 +100,18 @@ var x = ["aria-label"], S = { class: "s-breadcrumbs__list" }, C = {
92
100
  key: 0,
93
101
  class: "s-breadcrumbs__divider",
94
102
  "aria-hidden": "true"
95
- })) : l("", !0), t.kind === "current" ? (h(), u("span", C, _(t.label), 1)) : t.kind === "destination" ? (h(), c(a, {
103
+ })) : l("", !0), t.kind === "current" ? (h(), u("span", C, _(t.label), 1)) : t.kind === "destination" ? (h(), c(a, m({
96
104
  key: 2,
97
- href: t.href,
98
- to: t.to,
99
- target: t.target,
100
- rel: t.rel,
105
+ ref_for: !0
106
+ }, A(t), {
101
107
  variant: "subtle",
102
108
  size: "sm",
103
109
  disabled: t.disabled,
104
110
  onClick: (e) => O("navigate", t, e)
105
- }, {
111
+ }), {
106
112
  default: b(() => [f(_(t.label), 1)]),
107
113
  _: 2
108
- }, 1032, [
109
- "href",
110
- "to",
111
- "target",
112
- "rel",
113
- "disabled",
114
- "onClick"
115
- ])) : (h(), c(i, {
114
+ }, 1040, ["disabled", "onClick"])) : (h(), c(i, {
116
115
  key: 3,
117
116
  label: t.label,
118
117
  disabled: t.disabled,
@@ -1,4 +1,4 @@
1
- import { Check as e, ChevronRight as t, Folder as n, FolderSearch as r, FolderTree as i, RefreshCw as a } from "../../icons/sputnigUiIcons.js";
1
+ import { Check as e, ChevronRight as t, Folder as n, FolderSearch as r, FolderTree as i, RefreshCw as a } from "../../icons/_internal/generatedSputnigUiIconComponents.js";
2
2
  import { useUiKitLocale as o } from "../../../composables/useUiKitLocale.js";
3
3
  import { useOwnedAttrs as s } from "../../../internal/ownedAttrs.js";
4
4
  import ee from "../data-display/SBadge.vue.js";
@@ -1,8 +1,8 @@
1
- import "../../../../../assets/src/components/shared/persona/_internal/SPersonaRunConsole.css_vue_type_style_index_0_src_c71f59d4_scoped_c71f59d4_lang.css";
1
+ import "../../../../../assets/src/components/shared/persona/_internal/SPersonaRunConsole.css_vue_type_style_index_0_src_21bf807e_scoped_21bf807e_lang.css";
2
2
  import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
3
3
  import t from "./SPersonaRunConsole.vue_vue_type_script_setup_true_lang.js";
4
4
  /* empty css */
5
5
  //#region src/components/shared/persona/_internal/SPersonaRunConsole.vue
6
- var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-c71f59d4"]]);
6
+ var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-21bf807e"]]);
7
7
  //#endregion
8
8
  export { n as default };
@@ -223,12 +223,15 @@ var D = { class: "s-persona-run-console-shell" }, O = ["data-density"], k = { cl
223
223
  S.reportSummary ? (C(), g(o, {
224
224
  key: 3,
225
225
  code: S.reportSummary,
226
- language: { id: "plaintext" },
226
+ language: {
227
+ mode: "explicit",
228
+ id: "plaintext"
229
+ },
227
230
  "show-header": !1,
228
231
  "show-line-numbers": !1,
229
232
  viewport: "compact",
230
- "aria-label": S.resolvedLabels.reportSummary
231
- }, null, 8, ["code", "aria-label"])) : _("", !0),
233
+ ariaLabel: S.resolvedLabels.reportSummary
234
+ }, null, 8, ["code", "ariaLabel"])) : _("", !0),
232
235
  x(l, {
233
236
  title: S.resolvedLabels.eventsTitle,
234
237
  size: "sm"
@@ -3,6 +3,8 @@ export interface DialogOverlayOptions {
3
3
  open: Readonly<Ref<boolean>>;
4
4
  closable: Readonly<Ref<boolean>>;
5
5
  requestClose: () => void;
6
+ /** Runs after the mounted surface owns focus for the current open cycle. */
7
+ opened?: () => void;
6
8
  }
7
9
  export interface DialogOverlayController {
8
10
  panelRef: Ref<HTMLElement | null>;