@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.
- package/README.md +40 -0
- package/dist/assets/src/components/shared/containers/SDrawer.css_vue_type_style_index_0_src_d0cace23_scoped_d0cace23_lang.css +2 -0
- 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
- 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
- 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
- package/dist/assets/src/components/shared/data-display/SCodeBlock.css_vue_type_style_index_0_src_78557968_scoped_78557968_lang.css +2 -0
- 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
- package/dist/assets/src/components/shared/data-display/SCodeWorkspaceEditor.css_vue_type_style_index_0_src_b200dc8e_scoped_b200dc8e_lang.css +2 -0
- package/dist/assets/src/components/shared/data-display/_internal/SRichBlockNode.css_vue_type_style_index_0_src_195d5c06_scoped_195d5c06_lang.css +2 -0
- 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
- 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
- package/dist/assets/src/components/shared/persona/_internal/SPersonaRunConsole.css_vue_type_style_index_0_src_21bf807e_scoped_21bf807e_lang.css +2 -0
- package/dist/index.js +4 -2
- package/dist/src/components/icons/_internal/generatedSputnigUiIconComponents.d.ts +243 -0
- package/dist/src/components/icons/_internal/generatedSputnigUiIconComponents.js +7 -0
- package/dist/src/components/icons/_internal/generatedSputnigUiIconMarkup.d.ts +721 -239
- package/dist/src/components/icons/_internal/generatedSputnigUiIconMarkup.js +244 -4
- package/dist/src/components/icons/_internal/sputnigUiIconRuntime.d.ts +18 -0
- package/dist/src/components/icons/_internal/sputnigUiIconRuntime.js +99 -0
- package/dist/src/components/icons/sputnigUiIcons.d.ts +5 -81
- package/dist/src/components/icons/sputnigUiIcons.js +238 -394
- package/dist/src/components/layout/SAppShell.vue.d.ts +2 -2
- package/dist/src/components/layout/_internal/SAppBrand.vue.d.ts +3 -3
- package/dist/src/components/layout/types.d.ts +2 -2
- package/dist/src/components/shared/_internal/SDialogSurface.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/src/components/shared/_internal/SMenuItem.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/src/components/shared/_internal/SToastItem.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/src/components/shared/_internal/STreeNode.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/src/components/shared/containers/SCloudChromeRow.vue_vue_type_script_setup_true_lang.js +44 -44
- package/dist/src/components/shared/containers/SDrawer.vue.d.ts +2 -0
- package/dist/src/components/shared/containers/SDrawer.vue.js +2 -2
- package/dist/src/components/shared/containers/SDrawer.vue_vue_type_script_setup_true_lang.js +3 -2
- package/dist/src/components/shared/containers/SModal.vue.d.ts +2 -0
- package/dist/src/components/shared/containers/SModal.vue.js +2 -2
- package/dist/src/components/shared/containers/SModal.vue_vue_type_script_setup_true_lang.js +3 -2
- package/dist/src/components/shared/controls/SButton.vue.d.ts +32 -2
- package/dist/src/components/shared/controls/SButton.vue.js +2 -2
- package/dist/src/components/shared/controls/SButton.vue_vue_type_script_setup_true_lang.js +77 -79
- package/dist/src/components/shared/controls/SCheckbox.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/src/components/shared/controls/SComboboxTrigger.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/src/components/shared/controls/SContextToggleButton.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/src/components/shared/controls/SDragHandle.vue_vue_type_script_setup_true_lang.js +21 -21
- package/dist/src/components/shared/controls/SLink.vue.d.ts +17 -1
- package/dist/src/components/shared/controls/SLink.vue.js +2 -2
- package/dist/src/components/shared/controls/SLink.vue_vue_type_script_setup_true_lang.js +22 -22
- package/dist/src/components/shared/controls/SListboxOption.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/src/components/shared/controls/STextarea.d.ts +1 -1
- package/dist/src/components/shared/controls/STextarea.vue.d.ts +12 -18
- package/dist/src/components/shared/controls/_internal/SInlineTokenSurface.vue_vue_type_script_lang.js +1 -1
- package/dist/src/components/shared/data-display/SActionListItem.vue.d.ts +1 -1
- package/dist/src/components/shared/data-display/SChip.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/src/components/shared/data-display/SCodeBlock.vue.d.ts +33 -11
- package/dist/src/components/shared/data-display/SCodeBlock.vue.js +2 -2
- package/dist/src/components/shared/data-display/SCodeBlock.vue_vue_type_script_setup_true_lang.js +77 -75
- package/dist/src/components/shared/data-display/SCodeEditor.vue.d.ts +22 -10
- package/dist/src/components/shared/data-display/SCodeEditor.vue.js +2 -2
- package/dist/src/components/shared/data-display/SCodeEditor.vue_vue_type_script_setup_true_lang.js +44 -44
- package/dist/src/components/shared/data-display/SCodeSearchPanel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/src/components/shared/data-display/SCodeWorkspaceEditor.vue.js +2 -2
- package/dist/src/components/shared/data-display/SCodeWorkspaceEditor.vue_vue_type_script_setup_true_lang.js +3 -3
- package/dist/src/components/shared/data-display/SCopyField.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/src/components/shared/data-display/SDocBlock.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/src/components/shared/data-display/SExpandableText.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/src/components/shared/data-display/SMessage.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/src/components/shared/data-display/STable.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/src/components/shared/data-display/_internal/SRichBlockNode.vue.js +2 -2
- package/dist/src/components/shared/data-display/_internal/SRichBlockNode.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/src/components/shared/database/SSqlEditor.vue_vue_type_script_setup_true_lang.js +7 -10
- package/dist/src/components/shared/navigation/SBottomNav.vue.js +2 -2
- package/dist/src/components/shared/navigation/SBottomNav.vue_vue_type_script_setup_true_lang.js +70 -68
- package/dist/src/components/shared/navigation/SBreadcrumbs.vue.js +2 -2
- package/dist/src/components/shared/navigation/SBreadcrumbs.vue_vue_type_script_setup_true_lang.js +20 -21
- package/dist/src/components/shared/persona/SPersonaProjectPicker.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/src/components/shared/persona/_internal/SPersonaRunConsole.vue.js +2 -2
- package/dist/src/components/shared/persona/_internal/SPersonaRunConsole.vue_vue_type_script_setup_true_lang.js +6 -3
- package/dist/src/composables/useDialogOverlay.d.ts +2 -0
- package/dist/src/composables/useDialogOverlay.js +14 -7
- package/dist/src/internal/feedbackPresentation.js +1 -1
- package/docs/versioning.md +38 -10
- package/package.json +1 -1
- package/dist/assets/src/components/shared/containers/SDrawer.css_vue_type_style_index_0_src_1226da98_scoped_1226da98_lang.css +0 -2
- package/dist/assets/src/components/shared/data-display/SCodeBlock.css_vue_type_style_index_0_src_aad45526_scoped_aad45526_lang.css +0 -2
- package/dist/assets/src/components/shared/data-display/SCodeWorkspaceEditor.css_vue_type_style_index_0_src_864bce1d_scoped_864bce1d_lang.css +0 -2
- package/dist/assets/src/components/shared/data-display/_internal/SRichBlockNode.css_vue_type_style_index_0_src_63180598_scoped_63180598_lang.css +0 -2
- 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 {
|
|
1
|
+
import { LinkRouterTarget } from '../shared/controls/SLink';
|
|
2
2
|
import { AppShellNavigationItem, ShellBadgeSeverity } from './types';
|
|
3
3
|
interface SharedProps {
|
|
4
4
|
brandTitle: string;
|
|
5
|
-
brandTo?:
|
|
5
|
+
brandTo?: LinkRouterTarget | null;
|
|
6
6
|
brandSubtitle?: string;
|
|
7
7
|
}
|
|
8
8
|
export interface SAppShellAppProps extends SharedProps {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LinkRouterTarget } from '../../shared/controls/SLink';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
title: string;
|
|
4
4
|
subtitle?: string;
|
|
5
|
-
to?:
|
|
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:
|
|
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:
|
|
23
|
+
to: LinkRouterTarget;
|
|
24
24
|
icon?: Component;
|
|
25
25
|
badgeLabel?: string;
|
|
26
26
|
badgeSeverity?: ShellBadgeSeverity;
|
package/dist/src/components/shared/_internal/SDialogSurface.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { X as e } from "../../icons/
|
|
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";
|
package/dist/src/components/shared/_internal/SMenuItem.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Check as e, ChevronRight as t } from "../../icons/
|
|
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";
|
package/dist/src/components/shared/_internal/SToastItem.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { X as e } from "../../icons/
|
|
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";
|
package/dist/src/components/shared/_internal/STreeNode.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Check as e, ChevronDown as t, ChevronRight as n, Minus as r } from "../../icons/
|
|
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";
|
package/dist/src/components/shared/containers/SCloudChromeRow.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useOwnedAttrs as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { createBlock as
|
|
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
|
|
7
|
+
var h = ["data-item-id"], g = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "s-cloud-chrome-row__drag-handle"
|
|
10
|
-
},
|
|
10
|
+
}, _ = { class: "s-cloud-chrome-row__content" }, v = {
|
|
11
11
|
key: 1,
|
|
12
12
|
class: "s-cloud-chrome-row__actions"
|
|
13
|
-
},
|
|
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(
|
|
57
|
-
let
|
|
56
|
+
setup(u, { emit: y }) {
|
|
57
|
+
let b = n({
|
|
58
58
|
component: "SCloudChromeRow",
|
|
59
59
|
owner: "cloud chrome row root"
|
|
60
|
-
}),
|
|
61
|
-
function
|
|
60
|
+
}), x = y;
|
|
61
|
+
function S(e) {
|
|
62
62
|
if (e === -1) {
|
|
63
|
-
|
|
63
|
+
x("move-up");
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
|
-
|
|
66
|
+
x("move-down");
|
|
67
67
|
}
|
|
68
|
-
return (
|
|
68
|
+
return (n, y) => (f(), s("div", d(m(b).bindings(), {
|
|
69
69
|
class: ["s-cloud-chrome-row", {
|
|
70
|
-
"s-cloud-chrome-row--static": !
|
|
71
|
-
"s-cloud-chrome-row--hidden":
|
|
72
|
-
"s-cloud-chrome-row--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":
|
|
74
|
+
"data-item-id": u.itemId
|
|
75
75
|
}), [
|
|
76
|
-
|
|
76
|
+
u.editing && u.draggable ? (f(), s("div", g, [l(i, {
|
|
77
77
|
size: "xs",
|
|
78
|
-
label:
|
|
79
|
-
"can-move-previous":
|
|
80
|
-
"can-move-next":
|
|
81
|
-
onDragStart:
|
|
82
|
-
onReorder:
|
|
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
|
-
])])) :
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
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":
|
|
98
|
-
title: `Скрыть: ${
|
|
99
|
-
"aria-label": `Скрыть: ${
|
|
100
|
-
onClick:
|
|
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
|
-
])) :
|
|
106
|
-
|
|
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":
|
|
113
|
-
title: `Вернуть: ${
|
|
114
|
-
"aria-label": `Вернуть: ${
|
|
115
|
-
onClick:
|
|
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
|
-
])) :
|
|
121
|
-
])) :
|
|
122
|
-
], 16,
|
|
120
|
+
])) : o("", !0)
|
|
121
|
+
])) : o("", !0)
|
|
122
|
+
], 16, h));
|
|
123
123
|
}
|
|
124
124
|
});
|
|
125
125
|
//#endregion
|
|
126
|
-
export {
|
|
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.
|
|
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-
|
|
6
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-d0cace23"]]);
|
|
7
7
|
//#endregion
|
|
8
8
|
export { n as default };
|
package/dist/src/components/shared/containers/SDrawer.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -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.
|
|
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-
|
|
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
|
-
|
|
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.
|
|
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-
|
|
6
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-52ad38b1"]]);
|
|
7
7
|
//#endregion
|
|
8
8
|
export { n as default };
|