@pgcorp/ui-kit 0.10.1 → 0.10.2

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 (85) hide show
  1. package/README.md +40 -0
  2. package/dist/assets/src/components/shared/containers/SDrawer.css_vue_type_style_index_0_src_d0cace23_scoped_d0cace23_lang.css +2 -0
  3. 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_dc3c799e_scoped_dc3c799e_lang.css} +1 -1
  4. 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
  5. 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
  6. package/dist/assets/src/components/shared/data-display/SCodeBlock.css_vue_type_style_index_0_src_78557968_scoped_78557968_lang.css +2 -0
  7. 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
  8. package/dist/assets/src/components/shared/data-display/SCodeWorkspaceEditor.css_vue_type_style_index_0_src_b200dc8e_scoped_b200dc8e_lang.css +2 -0
  9. package/dist/assets/src/components/shared/data-display/_internal/SRichBlockNode.css_vue_type_style_index_0_src_195d5c06_scoped_195d5c06_lang.css +2 -0
  10. 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
  11. 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
  12. package/dist/assets/src/components/shared/persona/_internal/SPersonaRunConsole.css_vue_type_style_index_0_src_21bf807e_scoped_21bf807e_lang.css +2 -0
  13. package/dist/index.js +4 -2
  14. package/dist/src/components/icons/_internal/generatedSputnigUiIconComponents.d.ts +243 -0
  15. package/dist/src/components/icons/_internal/generatedSputnigUiIconComponents.js +7 -0
  16. package/dist/src/components/icons/_internal/generatedSputnigUiIconMarkup.d.ts +721 -239
  17. package/dist/src/components/icons/_internal/generatedSputnigUiIconMarkup.js +244 -4
  18. package/dist/src/components/icons/_internal/sputnigUiIconRuntime.d.ts +18 -0
  19. package/dist/src/components/icons/_internal/sputnigUiIconRuntime.js +99 -0
  20. package/dist/src/components/icons/sputnigUiIcons.d.ts +5 -81
  21. package/dist/src/components/icons/sputnigUiIcons.js +238 -394
  22. package/dist/src/components/layout/SAppShell.vue.d.ts +2 -2
  23. package/dist/src/components/layout/_internal/SAppBrand.vue.d.ts +3 -3
  24. package/dist/src/components/layout/types.d.ts +2 -2
  25. package/dist/src/components/shared/_internal/SDialogSurface.vue_vue_type_script_setup_true_lang.js +1 -1
  26. package/dist/src/components/shared/_internal/SMenuItem.vue_vue_type_script_setup_true_lang.js +1 -1
  27. package/dist/src/components/shared/_internal/SToastItem.vue_vue_type_script_setup_true_lang.js +1 -1
  28. package/dist/src/components/shared/_internal/STreeNode.vue_vue_type_script_setup_true_lang.js +1 -1
  29. package/dist/src/components/shared/containers/SCloudChromeRow.vue_vue_type_script_setup_true_lang.js +44 -44
  30. package/dist/src/components/shared/containers/SDrawer.vue.d.ts +2 -0
  31. package/dist/src/components/shared/containers/SDrawer.vue.js +2 -2
  32. package/dist/src/components/shared/containers/SDrawer.vue_vue_type_script_setup_true_lang.js +3 -2
  33. package/dist/src/components/shared/containers/SModal.vue.d.ts +2 -0
  34. package/dist/src/components/shared/containers/SModal.vue.js +2 -2
  35. package/dist/src/components/shared/containers/SModal.vue_vue_type_script_setup_true_lang.js +3 -2
  36. package/dist/src/components/shared/controls/SButton.vue.d.ts +32 -2
  37. package/dist/src/components/shared/controls/SButton.vue.js +2 -2
  38. package/dist/src/components/shared/controls/SButton.vue_vue_type_script_setup_true_lang.js +77 -79
  39. package/dist/src/components/shared/controls/SCheckbox.vue_vue_type_script_setup_true_lang.js +1 -1
  40. package/dist/src/components/shared/controls/SComboboxTrigger.vue_vue_type_script_setup_true_lang.js +1 -1
  41. package/dist/src/components/shared/controls/SContextToggleButton.vue_vue_type_script_setup_true_lang.js +1 -1
  42. package/dist/src/components/shared/controls/SDragHandle.vue_vue_type_script_setup_true_lang.js +21 -21
  43. package/dist/src/components/shared/controls/SLink.vue.d.ts +17 -1
  44. package/dist/src/components/shared/controls/SLink.vue.js +2 -2
  45. package/dist/src/components/shared/controls/SLink.vue_vue_type_script_setup_true_lang.js +22 -22
  46. package/dist/src/components/shared/controls/SListboxOption.vue_vue_type_script_setup_true_lang.js +1 -1
  47. package/dist/src/components/shared/controls/STextarea.d.ts +1 -1
  48. package/dist/src/components/shared/controls/STextarea.vue.d.ts +12 -18
  49. package/dist/src/components/shared/controls/_internal/SInlineTokenSurface.vue_vue_type_script_lang.js +1 -1
  50. package/dist/src/components/shared/data-display/SActionListItem.vue.d.ts +1 -1
  51. package/dist/src/components/shared/data-display/SChip.vue_vue_type_script_setup_true_lang.js +1 -1
  52. package/dist/src/components/shared/data-display/SCodeBlock.vue.d.ts +33 -11
  53. package/dist/src/components/shared/data-display/SCodeBlock.vue.js +2 -2
  54. package/dist/src/components/shared/data-display/SCodeBlock.vue_vue_type_script_setup_true_lang.js +77 -75
  55. package/dist/src/components/shared/data-display/SCodeEditor.vue.d.ts +22 -10
  56. package/dist/src/components/shared/data-display/SCodeEditor.vue.js +2 -2
  57. package/dist/src/components/shared/data-display/SCodeEditor.vue_vue_type_script_setup_true_lang.js +44 -44
  58. package/dist/src/components/shared/data-display/SCodeSearchPanel.vue_vue_type_script_setup_true_lang.js +1 -1
  59. package/dist/src/components/shared/data-display/SCodeWorkspaceEditor.vue.js +2 -2
  60. package/dist/src/components/shared/data-display/SCodeWorkspaceEditor.vue_vue_type_script_setup_true_lang.js +3 -3
  61. package/dist/src/components/shared/data-display/SCopyField.vue_vue_type_script_setup_true_lang.js +1 -1
  62. package/dist/src/components/shared/data-display/SDocBlock.vue_vue_type_script_setup_true_lang.js +1 -1
  63. package/dist/src/components/shared/data-display/SExpandableText.vue_vue_type_script_setup_true_lang.js +1 -1
  64. package/dist/src/components/shared/data-display/SMessage.vue_vue_type_script_setup_true_lang.js +1 -1
  65. package/dist/src/components/shared/data-display/STable.vue_vue_type_script_setup_true_lang.js +1 -1
  66. package/dist/src/components/shared/data-display/_internal/SRichBlockNode.vue.js +2 -2
  67. package/dist/src/components/shared/data-display/_internal/SRichBlockNode.vue_vue_type_script_setup_true_lang.js +2 -2
  68. package/dist/src/components/shared/database/SSqlEditor.vue_vue_type_script_setup_true_lang.js +7 -10
  69. package/dist/src/components/shared/navigation/SBottomNav.vue.js +2 -2
  70. package/dist/src/components/shared/navigation/SBottomNav.vue_vue_type_script_setup_true_lang.js +70 -68
  71. package/dist/src/components/shared/navigation/SBreadcrumbs.vue.js +2 -2
  72. package/dist/src/components/shared/navigation/SBreadcrumbs.vue_vue_type_script_setup_true_lang.js +20 -21
  73. package/dist/src/components/shared/persona/SPersonaProjectPicker.vue_vue_type_script_setup_true_lang.js +1 -1
  74. package/dist/src/components/shared/persona/_internal/SPersonaRunConsole.vue.js +2 -2
  75. package/dist/src/components/shared/persona/_internal/SPersonaRunConsole.vue_vue_type_script_setup_true_lang.js +6 -3
  76. package/dist/src/composables/useDialogOverlay.d.ts +2 -0
  77. package/dist/src/composables/useDialogOverlay.js +14 -7
  78. package/dist/src/internal/feedbackPresentation.js +1 -1
  79. package/docs/versioning.md +38 -10
  80. package/package.json +1 -1
  81. package/dist/assets/src/components/shared/containers/SDrawer.css_vue_type_style_index_0_src_1226da98_scoped_1226da98_lang.css +0 -2
  82. package/dist/assets/src/components/shared/data-display/SCodeBlock.css_vue_type_style_index_0_src_aad45526_scoped_aad45526_lang.css +0 -2
  83. package/dist/assets/src/components/shared/data-display/SCodeWorkspaceEditor.css_vue_type_style_index_0_src_864bce1d_scoped_864bce1d_lang.css +0 -2
  84. package/dist/assets/src/components/shared/data-display/_internal/SRichBlockNode.css_vue_type_style_index_0_src_63180598_scoped_63180598_lang.css +0 -2
  85. package/dist/assets/src/components/shared/persona/_internal/SPersonaRunConsole.css_vue_type_style_index_0_src_c71f59d4_scoped_c71f59d4_lang.css +0 -2
@@ -1,8 +1,8 @@
1
- import { RouteLocationRaw } from 'vue-router';
1
+ import { LinkRouterTarget } from '../shared/controls/SLink';
2
2
  import { AppShellNavigationItem, ShellBadgeSeverity } from './types';
3
3
  interface SharedProps {
4
4
  brandTitle: string;
5
- brandTo?: RouteLocationRaw | null;
5
+ brandTo?: LinkRouterTarget | null;
6
6
  brandSubtitle?: string;
7
7
  }
8
8
  export interface SAppShellAppProps extends SharedProps {
@@ -1,8 +1,8 @@
1
- import { RouteLocationRaw } from 'vue-router';
1
+ import { LinkRouterTarget } from '../../shared/controls/SLink';
2
2
  type __VLS_Props = {
3
3
  title: string;
4
4
  subtitle?: string;
5
- to?: RouteLocationRaw | null;
5
+ to?: LinkRouterTarget | null;
6
6
  placement: 'sidebar' | 'header';
7
7
  };
8
8
  declare var __VLS_14: {}, __VLS_17: {}, __VLS_26: {}, __VLS_29: {};
@@ -16,7 +16,7 @@ type __VLS_Slots = {} & {
16
16
  icon?: (props: typeof __VLS_29) => any;
17
17
  };
18
18
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
- to: RouteLocationRaw | null;
19
+ to: LinkRouterTarget | null;
20
20
  subtitle: string;
21
21
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,7 +1,7 @@
1
1
  import { Component } from 'vue';
2
- import { RouteLocationRaw } from 'vue-router';
3
2
  import { BadgeSeverity } from '../shared/data-display/SBadge.vue';
4
3
  import { SAsyncStateContract } from '../shared/feedback/SAsyncState.vue';
4
+ import { LinkRouterTarget } from '../shared/controls/SLink';
5
5
  export type ShellBadgeSeverity = BadgeSeverity;
6
6
  /**
7
7
  * Точное взаимоисключающее состояние рабочей панели.
@@ -20,7 +20,7 @@ export type WorkbenchPanelState = {
20
20
  export interface AppShellNavigationItem {
21
21
  key: string;
22
22
  label: string;
23
- to: RouteLocationRaw;
23
+ to: LinkRouterTarget;
24
24
  icon?: Component;
25
25
  badgeLabel?: string;
26
26
  badgeSeverity?: ShellBadgeSeverity;
@@ -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 { useInteractiveLeafRegistration as n } from "../../../internal/passiveContentContract.js";
4
4
  import r from "../controls/SButton.vue.js";
@@ -1,4 +1,4 @@
1
- import { Check as e, ChevronRight as t } from "../../icons/sputnigUiIcons.js";
1
+ import { Check as e, ChevronRight as t } from "../../icons/_internal/generatedSputnigUiIconComponents.js";
2
2
  import n from "../data-display/SBadge.vue.js";
3
3
  import { useInteractiveLeafRegistration as r } from "../../../internal/passiveContentContract.js";
4
4
  import { resolveLinkTarget as i } from "../../../internal/linkTarget.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 { resolveSemanticToneBinding as n } from "../../../internal/semanticTone.js";
4
4
  import { resolveFeedbackLive as r, resolveFeedbackPresentation as i } from "../../../internal/feedbackPresentation.js";
@@ -1,4 +1,4 @@
1
- import { Check as e, ChevronDown as t, ChevronRight as n, Minus as r } from "../../icons/sputnigUiIcons.js";
1
+ import { Check as e, ChevronDown as t, ChevronRight as n, Minus as r } from "../../icons/_internal/generatedSputnigUiIconComponents.js";
2
2
  import { useUiKitLocale as i } from "../../../composables/useUiKitLocale.js";
3
3
  import { PassiveContentBoundary as a, useInteractiveLeafRegistration as o } from "../../../internal/passiveContentContract.js";
4
4
  import { TREE_ACTION_CONTEXT_KEY as s, TREE_RUNTIME_KEY as ee, TreeActionRegistrationStore as te } from "./treeRuntime.js";
@@ -1,16 +1,16 @@
1
- import { getSputnigUiIconComponent as e } from "../../icons/sputnigUiIcons.js";
2
- import { useOwnedAttrs as t } from "../../../internal/ownedAttrs.js";
3
- import n from "../controls/SButton.vue.js";
4
- import r from "../controls/SDragHandle.vue.js";
5
- import { createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, mergeProps as u, openBlock as d, renderSlot as f, unref as p } from "vue";
1
+ import { Hide as e, Reset as t } from "../../icons/_internal/generatedSputnigUiIconComponents.js";
2
+ import { useOwnedAttrs as n } from "../../../internal/ownedAttrs.js";
3
+ import r from "../controls/SButton.vue.js";
4
+ import i from "../controls/SDragHandle.vue.js";
5
+ import { createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, mergeProps as d, openBlock as f, renderSlot as p, unref as m } from "vue";
6
6
  //#region src/components/shared/containers/SCloudChromeRow.vue?vue&type=script&setup=true&lang.ts
7
- var m = ["data-item-id"], h = {
7
+ var h = ["data-item-id"], g = {
8
8
  key: 0,
9
9
  class: "s-cloud-chrome-row__drag-handle"
10
- }, g = { class: "s-cloud-chrome-row__content" }, _ = {
10
+ }, _ = { class: "s-cloud-chrome-row__content" }, v = {
11
11
  key: 1,
12
12
  class: "s-cloud-chrome-row__actions"
13
- }, v = /*@__PURE__*/ l({
13
+ }, y = /*@__PURE__*/ u({
14
14
  inheritAttrs: !1,
15
15
  __name: "SCloudChromeRow",
16
16
  props: {
@@ -53,74 +53,74 @@ var m = ["data-item-id"], h = {
53
53
  "move-up",
54
54
  "move-down"
55
55
  ],
56
- setup(l, { emit: v }) {
57
- let y = e("hide"), b = e("reset"), x = t({
56
+ setup(u, { emit: y }) {
57
+ let b = n({
58
58
  component: "SCloudChromeRow",
59
59
  owner: "cloud chrome row root"
60
- }), S = v;
61
- function C(e) {
60
+ }), x = y;
61
+ function S(e) {
62
62
  if (e === -1) {
63
- S("move-up");
63
+ x("move-up");
64
64
  return;
65
65
  }
66
- S("move-down");
66
+ x("move-down");
67
67
  }
68
- return (e, t) => (d(), o("div", u(p(x).bindings(), {
68
+ return (n, y) => (f(), s("div", d(m(b).bindings(), {
69
69
  class: ["s-cloud-chrome-row", {
70
- "s-cloud-chrome-row--static": !l.editing || !l.draggable,
71
- "s-cloud-chrome-row--hidden": l.hidden,
72
- "s-cloud-chrome-row--embedded": l.appearance === "embedded"
70
+ "s-cloud-chrome-row--static": !u.editing || !u.draggable,
71
+ "s-cloud-chrome-row--hidden": u.hidden,
72
+ "s-cloud-chrome-row--embedded": u.appearance === "embedded"
73
73
  }],
74
- "data-item-id": l.itemId
74
+ "data-item-id": u.itemId
75
75
  }), [
76
- l.editing && l.draggable ? (d(), o("div", h, [c(r, {
76
+ u.editing && u.draggable ? (f(), s("div", g, [l(i, {
77
77
  size: "xs",
78
- label: l.label,
79
- "can-move-previous": l.canMoveUp,
80
- "can-move-next": l.canMoveDown,
81
- onDragStart: t[0] ||= (t) => e.$emit("drag-start", t),
82
- onReorder: C
78
+ label: u.label,
79
+ "can-move-previous": u.canMoveUp,
80
+ "can-move-next": u.canMoveDown,
81
+ onDragStart: y[0] ||= (e) => n.$emit("drag-start", e),
82
+ onReorder: S
83
83
  }, null, 8, [
84
84
  "label",
85
85
  "can-move-previous",
86
86
  "can-move-next"
87
- ])])) : a("", !0),
88
- s("div", g, [f(e.$slots, "default")]),
89
- l.editing || e.$slots.actions ? (d(), o("div", _, [
90
- f(e.$slots, "actions"),
91
- l.editing && l.canHide && !l.hidden ? (d(), i(n, {
87
+ ])])) : o("", !0),
88
+ c("div", _, [p(n.$slots, "default")]),
89
+ u.editing || n.$slots.actions ? (f(), s("div", v, [
90
+ p(n.$slots, "actions"),
91
+ u.editing && u.canHide && !u.hidden ? (f(), a(r, {
92
92
  key: 0,
93
93
  size: "xs",
94
94
  severity: "secondary",
95
95
  appearance: "ghost",
96
96
  "icon-only": "",
97
- "leading-icon": p(y),
98
- title: `Скрыть: ${l.label}`,
99
- "aria-label": `Скрыть: ${l.label}`,
100
- onClick: t[1] ||= (t) => e.$emit("hide")
97
+ "leading-icon": m(e),
98
+ title: `Скрыть: ${u.label}`,
99
+ "aria-label": `Скрыть: ${u.label}`,
100
+ onClick: y[1] ||= (e) => n.$emit("hide")
101
101
  }, null, 8, [
102
102
  "leading-icon",
103
103
  "title",
104
104
  "aria-label"
105
- ])) : a("", !0),
106
- l.editing && l.canRestore ? (d(), i(n, {
105
+ ])) : o("", !0),
106
+ u.editing && u.canRestore ? (f(), a(r, {
107
107
  key: 1,
108
108
  size: "xs",
109
109
  severity: "secondary",
110
110
  appearance: "ghost",
111
111
  "icon-only": "",
112
- "leading-icon": p(b),
113
- title: `Вернуть: ${l.label}`,
114
- "aria-label": `Вернуть: ${l.label}`,
115
- onClick: t[2] ||= (t) => e.$emit("restore")
112
+ "leading-icon": m(t),
113
+ title: `Вернуть: ${u.label}`,
114
+ "aria-label": `Вернуть: ${u.label}`,
115
+ onClick: y[2] ||= (e) => n.$emit("restore")
116
116
  }, null, 8, [
117
117
  "leading-icon",
118
118
  "title",
119
119
  "aria-label"
120
- ])) : a("", !0)
121
- ])) : a("", !0)
122
- ], 16, m));
120
+ ])) : o("", !0)
121
+ ])) : o("", !0)
122
+ ], 16, h));
123
123
  }
124
124
  });
125
125
  //#endregion
126
- export { v as default };
126
+ export { y as default };
@@ -22,8 +22,10 @@ type __VLS_Slots = {} & {
22
22
  };
23
23
  declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
24
  "update:open": (value: boolean) => any;
25
+ opened: () => any;
25
26
  }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
26
27
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
28
+ onOpened?: (() => any) | undefined;
27
29
  }>, {
28
30
  title: string;
29
31
  size: DrawerSize;
@@ -1,8 +1,8 @@
1
- import "../../../../assets/src/components/shared/containers/SDrawer.css_vue_type_style_index_0_src_1226da98_scoped_1226da98_lang.css";
1
+ import "../../../../assets/src/components/shared/containers/SDrawer.css_vue_type_style_index_0_src_d0cace23_scoped_d0cace23_lang.css";
2
2
  import e from "../../../../_virtual/_plugin-vue_export-helper.js";
3
3
  import t from "./SDrawer.vue_vue_type_script_setup_true_lang.js";
4
4
  /* empty css */
5
5
  //#region src/components/shared/containers/SDrawer.vue
6
- var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-1226da98"]]);
6
+ var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-d0cace23"]]);
7
7
  //#endregion
8
8
  export { n as default };
@@ -23,7 +23,7 @@ var S = ["data-placement"], C = ["data-placement"], w = /*@__PURE__*/ h({
23
23
  },
24
24
  ariaLabel: { default: void 0 }
25
25
  },
26
- emits: ["update:open"],
26
+ emits: ["update:open", "opened"],
27
27
  setup(h, { emit: w }) {
28
28
  let T = h, { t: E } = t(), D = w, O = n({
29
29
  component: "SDrawer",
@@ -48,7 +48,8 @@ var S = ["data-placement"], C = ["data-placement"], w = /*@__PURE__*/ h({
48
48
  let { setPanelElement: R, backdropStyle: z, surfaceStyle: B } = e({
49
49
  open: M,
50
50
  closable: N,
51
- requestClose: L
51
+ requestClose: L,
52
+ opened: () => D("opened")
52
53
  });
53
54
  return (e, t) => (v(), l(o, { to: "body" }, [m(s, { name: "s-drawer-backdrop" }, {
54
55
  default: x(() => [h.open ? (v(), d("div", {
@@ -33,8 +33,10 @@ type __VLS_Slots = {} & {
33
33
  };
34
34
  declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
35
35
  "update:open": (value: boolean) => any;
36
+ opened: () => any;
36
37
  }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
37
38
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
39
+ onOpened?: (() => any) | undefined;
38
40
  }>, {
39
41
  layout: "desktop" | "mobile-fullscreen";
40
42
  title: string;
@@ -1,8 +1,8 @@
1
- import "../../../../assets/src/components/shared/containers/SModal.css_vue_type_style_index_0_src_64c62e90_scoped_64c62e90_lang.css";
1
+ import "../../../../assets/src/components/shared/containers/SModal.css_vue_type_style_index_0_src_dc3c799e_scoped_dc3c799e_lang.css";
2
2
  import e from "../../../../_virtual/_plugin-vue_export-helper.js";
3
3
  import t from "./SModal.vue_vue_type_script_setup_true_lang.js";
4
4
  /* empty css */
5
5
  //#region src/components/shared/containers/SModal.vue
6
- var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-64c62e90"]]);
6
+ var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-dc3c799e"]]);
7
7
  //#endregion
8
8
  export { n as default };
@@ -24,7 +24,7 @@ var S = /*@__PURE__*/ p({
24
24
  scrollBehavior: { default: "page" },
25
25
  ariaLabel: { default: void 0 }
26
26
  },
27
- emits: ["update:open"],
27
+ emits: ["update:open", "opened"],
28
28
  setup(p, { emit: S }) {
29
29
  let C = p, { t: w } = t(), T = S;
30
30
  function E() {
@@ -42,7 +42,8 @@ var S = /*@__PURE__*/ p({
42
42
  })), { setPanelElement: j, backdropStyle: M, surfaceStyle: N } = e({
43
43
  open: y(C, "open"),
44
44
  closable: y(C, "closable"),
45
- requestClose: E
45
+ requestClose: E,
46
+ opened: () => T("opened")
46
47
  });
47
48
  return (e, t) => (_(), s(i, { to: "body" }, [f(a, { name: "s-modal-backdrop" }, {
48
49
  default: x(() => [p.open ? (_(), l("div", {
@@ -1,4 +1,4 @@
1
- import { Component } from 'vue';
1
+ import { Component, VNodeChild } from 'vue';
2
2
  import { InteractiveElementApi } from '../../../internal/interactiveElement';
3
3
  import { BadgeSeverity } from '../data-display/SBadge.vue';
4
4
  import { LinkBrowsingTarget, LinkRouterTarget } from './SLink';
@@ -67,6 +67,36 @@ export type SButtonNavigationProps = SButtonPresentationProps & SButtonNavigatio
67
67
  });
68
68
  /** Strict action/navigation XOR with a shared button presentation. */
69
69
  export type Props = SButtonActionProps | SButtonNavigationProps;
70
- declare const __VLS_export: import('vue').DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import('vue').PublicProps>;
70
+ type __VLS_Slots = {
71
+ /** Пассивное содержимое action/navigation button. / Passive action/navigation button content. */
72
+ default?: () => VNodeChild;
73
+ };
74
+ declare const __VLS_base: import('vue').DefineComponent<SButtonActionProps | (SButtonPresentationProps & SButtonNavigationOptions & {
75
+ href: string;
76
+ to?: never;
77
+ type?: never;
78
+ }) | (SButtonPresentationProps & SButtonNavigationOptions & {
79
+ href?: never;
80
+ to: LinkRouterTarget;
81
+ type?: never;
82
+ }), SButtonApi, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
83
+ click: (event: MouseEvent) => any;
84
+ }, string, import('vue').PublicProps, Readonly<SButtonActionProps | (SButtonPresentationProps & SButtonNavigationOptions & {
85
+ href: string;
86
+ to?: never;
87
+ type?: never;
88
+ }) | (SButtonPresentationProps & SButtonNavigationOptions & {
89
+ href?: never;
90
+ to: LinkRouterTarget;
91
+ type?: never;
92
+ })> & Readonly<{
93
+ onClick?: ((event: MouseEvent) => any) | undefined;
94
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
95
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
71
96
  declare const _default: typeof __VLS_export;
72
97
  export default _default;
98
+ type __VLS_WithSlots<T, S> = T & {
99
+ new (): {
100
+ $slots: S;
101
+ };
102
+ };
@@ -1,8 +1,8 @@
1
- import "../../../../assets/src/components/shared/controls/SButton.css_vue_type_style_index_0_src_49f356bb_scoped_49f356bb_lang.css";
1
+ import "../../../../assets/src/components/shared/controls/SButton.css_vue_type_style_index_0_src_52ad38b1_scoped_52ad38b1_lang.css";
2
2
  import e from "../../../../_virtual/_plugin-vue_export-helper.js";
3
3
  import t from "./SButton.vue_vue_type_script_setup_true_lang.js";
4
4
  /* empty css */
5
5
  //#region src/components/shared/controls/SButton.vue
6
- var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-49f356bb"]]);
6
+ var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-52ad38b1"]]);
7
7
  //#endregion
8
8
  export { n as default };