@shwfed/nuxt 0.7.9 → 0.7.11
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/dist/module.json +1 -1
- package/dist/runtime/components/app.d.vue.ts +7 -56
- package/dist/runtime/components/app.vue +17 -404
- package/dist/runtime/components/app.vue.d.ts +7 -56
- package/dist/runtime/components/fields.d.vue.ts +154 -132
- package/dist/runtime/components/fields.vue +30 -295
- package/dist/runtime/components/fields.vue.d.ts +154 -132
- package/dist/runtime/components/table.d.vue.ts +129 -59
- package/dist/runtime/components/table.vue +51 -617
- package/dist/runtime/components/table.vue.d.ts +129 -59
- package/dist/runtime/components/ui/app/App.d.vue.ts +86 -0
- package/dist/runtime/components/ui/app/App.vue +414 -0
- package/dist/runtime/components/ui/app/App.vue.d.ts +86 -0
- package/dist/runtime/components/ui/checkbox/Checkbox.vue +6 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +1 -1
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.d.vue.ts +30 -0
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue +87 -0
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue.d.ts +30 -0
- package/dist/runtime/components/ui/expression-editor/index.d.ts +1 -0
- package/dist/runtime/components/ui/expression-editor/index.js +1 -0
- package/dist/runtime/components/ui/field/FieldContent.vue +1 -1
- package/dist/runtime/components/ui/field/FieldError.vue +2 -2
- package/dist/runtime/components/ui/field/FieldLabel.vue +1 -1
- package/dist/runtime/components/ui/fields/Fields.d.vue.ts +376 -0
- package/dist/runtime/components/ui/fields/Fields.vue +441 -0
- package/dist/runtime/components/ui/fields/Fields.vue.d.ts +376 -0
- package/dist/runtime/components/ui/fields-configurator/FieldsConfiguratorDialog.d.vue.ts +163 -0
- package/dist/runtime/components/ui/fields-configurator/FieldsConfiguratorDialog.vue +363 -0
- package/dist/runtime/components/ui/fields-configurator/FieldsConfiguratorDialog.vue.d.ts +163 -0
- package/dist/runtime/components/ui/icon-picker/IconPicker.d.vue.ts +15 -0
- package/dist/runtime/components/ui/icon-picker/IconPicker.vue +178 -0
- package/dist/runtime/components/ui/icon-picker/IconPicker.vue.d.ts +15 -0
- package/dist/runtime/components/ui/icon-picker/index.d.ts +1 -0
- package/dist/runtime/components/ui/icon-picker/index.js +1 -0
- package/dist/runtime/components/ui/input/Input.d.vue.ts +1 -0
- package/dist/runtime/components/ui/input/Input.vue +2 -0
- package/dist/runtime/components/ui/input/Input.vue.d.ts +1 -0
- package/dist/runtime/components/ui/input-group/InputGroupAddon.vue +4 -1
- package/dist/runtime/components/ui/input-group/InputGroupCombobox.d.vue.ts +8 -3
- package/dist/runtime/components/ui/input-group/InputGroupCombobox.vue +8 -3
- package/dist/runtime/components/ui/input-group/InputGroupCombobox.vue.d.ts +8 -3
- package/dist/runtime/components/ui/input-group/InputGroupComboboxInput.d.vue.ts +8 -1
- package/dist/runtime/components/ui/input-group/InputGroupComboboxInput.vue +11 -2
- package/dist/runtime/components/ui/input-group/InputGroupComboboxInput.vue.d.ts +8 -1
- package/dist/runtime/components/ui/input-group/InputGroupInput.vue +1 -1
- package/dist/runtime/components/ui/input-group/InputGroupNumberField.d.vue.ts +5 -2
- package/dist/runtime/components/ui/input-group/InputGroupNumberField.vue +10 -4
- package/dist/runtime/components/ui/input-group/InputGroupNumberField.vue.d.ts +5 -2
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue +1 -1
- package/dist/runtime/components/ui/input-group/index.js +1 -1
- package/dist/runtime/components/ui/locale/Locale.d.vue.ts +20 -0
- package/dist/runtime/components/ui/locale/Locale.vue +291 -0
- package/dist/runtime/components/ui/locale/Locale.vue.d.ts +20 -0
- package/dist/runtime/components/ui/locale/index.d.ts +1 -0
- package/dist/runtime/components/ui/locale/index.js +1 -0
- package/dist/runtime/components/ui/native-select/NativeSelect.d.vue.ts +2 -2
- package/dist/runtime/components/ui/native-select/NativeSelect.vue +1 -1
- package/dist/runtime/components/ui/native-select/NativeSelect.vue.d.ts +2 -2
- package/dist/runtime/components/ui/native-select/NativeSelectOption.d.vue.ts +1 -0
- package/dist/runtime/components/ui/native-select/NativeSelectOption.vue +4 -1
- package/dist/runtime/components/ui/native-select/NativeSelectOption.vue.d.ts +1 -0
- package/dist/runtime/components/ui/number-field/NumberFieldInput.vue +1 -1
- package/dist/runtime/components/ui/switch/Switch.vue +2 -2
- package/dist/runtime/components/ui/table/Table.d.vue.ts +147 -0
- package/dist/runtime/components/ui/table/Table.vue +952 -0
- package/dist/runtime/components/ui/table/Table.vue.d.ts +147 -0
- package/dist/runtime/components/ui/table/schema.d.ts +151 -0
- package/dist/runtime/components/ui/table/schema.js +142 -0
- package/dist/runtime/components/ui/table-configurator/TableConfiguratorDialog.d.vue.ts +128 -0
- package/dist/runtime/components/ui/table-configurator/TableConfiguratorDialog.vue +2719 -0
- package/dist/runtime/components/ui/table-configurator/TableConfiguratorDialog.vue.d.ts +128 -0
- package/dist/runtime/components/ui/table-configurator/menu.d.ts +37 -0
- package/dist/runtime/components/ui/table-configurator/menu.js +227 -0
- package/dist/runtime/components/ui/tabs/Tabs.d.vue.ts +24 -0
- package/dist/runtime/components/ui/tabs/Tabs.vue +30 -0
- package/dist/runtime/components/ui/tabs/Tabs.vue.d.ts +24 -0
- package/dist/runtime/components/ui/tabs/TabsContent.d.vue.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsContent.vue +23 -0
- package/dist/runtime/components/ui/tabs/TabsContent.vue.d.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsList.d.vue.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsList.vue +25 -0
- package/dist/runtime/components/ui/tabs/TabsList.vue.d.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.d.vue.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue +27 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue.d.ts +18 -0
- package/dist/runtime/components/ui/tabs/index.d.ts +4 -0
- package/dist/runtime/components/ui/tabs/index.js +4 -0
- package/dist/runtime/components/ui/textarea/Textarea.d.vue.ts +1 -0
- package/dist/runtime/components/ui/textarea/Textarea.vue +4 -2
- package/dist/runtime/components/ui/textarea/Textarea.vue.d.ts +1 -0
- package/dist/runtime/components/ui/toggle/Toggle.d.vue.ts +34 -0
- package/dist/runtime/components/ui/toggle/Toggle.vue +32 -0
- package/dist/runtime/components/ui/toggle/Toggle.vue.d.ts +34 -0
- package/dist/runtime/components/ui/toggle/index.d.ts +7 -0
- package/dist/runtime/components/ui/toggle/index.js +22 -0
- package/dist/runtime/composables/useTableRenderers.d.ts +2 -1
- package/dist/runtime/composables/useTableRenderers.js +2 -1
- package/dist/runtime/plugins/toast/index.d.ts +2 -2
- package/dist/runtime/style.css +1 -1
- package/dist/runtime/table-renderers/builtins.js +328 -137
- package/dist/runtime/table-renderers/registry.d.ts +2 -1
- package/dist/runtime/table-renderers/registry.js +3 -0
- package/dist/runtime/utils/coders.d.ts +29 -2
- package/dist/runtime/utils/coders.js +40 -2
- package/package.json +8 -6
- /package/dist/runtime/components/{logo.d.vue.ts → ui/logo/Logo.d.vue.ts} +0 -0
- /package/dist/runtime/components/{logo.vue → ui/logo/Logo.vue} +0 -0
- /package/dist/runtime/components/{logo.vue.d.ts → ui/logo/Logo.vue.d.ts} +0 -0
|
@@ -1,72 +1,142 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export type Expression
|
|
3
|
-
export
|
|
4
|
-
export type Render = string | Readonly<{
|
|
5
|
-
id: string;
|
|
6
|
-
props: unknown;
|
|
7
|
-
}>;
|
|
8
|
-
export type Accessor = string | Readonly<{
|
|
9
|
-
read: Expression;
|
|
10
|
-
write: Expression;
|
|
11
|
-
}>;
|
|
12
|
-
export type Column = Readonly<{
|
|
13
|
-
id?: string;
|
|
14
|
-
title?: Record<string, string>;
|
|
15
|
-
accessor?: Accessor;
|
|
16
|
-
accessorKey?: string;
|
|
17
|
-
renderer?: Render;
|
|
18
|
-
tooltip?: Record<string, string>;
|
|
19
|
-
size?: number;
|
|
20
|
-
enableSorting?: boolean;
|
|
21
|
-
enableMultiSorting?: boolean;
|
|
22
|
-
enablePinning?: boolean;
|
|
23
|
-
columns?: ReadonlyArray<Column>;
|
|
24
|
-
grow?: boolean;
|
|
25
|
-
}>;
|
|
1
|
+
import type { TableConfig } from './ui/table/schema.js';
|
|
2
|
+
export type { Accessor, Column, Expression, Markdown, Render, TableConfig } from './ui/table/schema.js';
|
|
3
|
+
export { AccessorC, ColumnC, RenderC, TableConfigC } from './ui/table/schema.js';
|
|
26
4
|
declare module '@tanstack/vue-table' {
|
|
27
|
-
interface ColumnMeta<TData extends RowData, TValue> {
|
|
5
|
+
interface ColumnMeta<TData extends import('@tanstack/vue-table').RowData, TValue> {
|
|
28
6
|
tooltip?: string;
|
|
29
7
|
grow?: boolean;
|
|
8
|
+
accessor?: import('./ui/table/schema').Accessor;
|
|
30
9
|
__types?: [TData, TValue];
|
|
31
10
|
}
|
|
32
11
|
}
|
|
33
12
|
declare const _default: typeof __VLS_export;
|
|
34
13
|
export default _default;
|
|
35
|
-
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<
|
|
36
|
-
|
|
37
|
-
getRowId?: Expression;
|
|
38
|
-
getSubRows?: Expression;
|
|
39
|
-
enableRowSelection?: Expression;
|
|
40
|
-
enableMultiRowSelection?: Expression;
|
|
41
|
-
columns: ReadonlyArray<Column>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
15
|
+
config: import("effect").Effect.Effect<TableConfig>;
|
|
42
16
|
data: Array<unknown>;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
17
|
+
rowCount?: number;
|
|
18
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
"update:config": (args_0: Readonly<{
|
|
20
|
+
getRowId?: import("./table.vue.js").Expression;
|
|
21
|
+
getSubRows?: import("./table.vue.js").Expression;
|
|
22
|
+
enableRowSelection?: import("./table.vue.js").Expression;
|
|
23
|
+
enableMultiRowSelection?: import("./table.vue.js").Expression;
|
|
24
|
+
columns: readonly Readonly<{
|
|
25
|
+
id?: string;
|
|
26
|
+
title?: import("../utils/coders.js").LocaleValue;
|
|
27
|
+
accessor?: import("./table.vue.js").Accessor;
|
|
28
|
+
renderer?: import("./table.vue.js").Render;
|
|
29
|
+
tooltip?: import("../utils/coders.js").LocaleValue;
|
|
30
|
+
size?: number;
|
|
31
|
+
enableSorting?: boolean;
|
|
32
|
+
enableMultiSorting?: boolean;
|
|
33
|
+
enablePinning?: boolean;
|
|
34
|
+
columns?: readonly Readonly</*elided*/ any>[];
|
|
35
|
+
grow?: boolean;
|
|
36
|
+
}>[];
|
|
37
|
+
cellStyles?: import("./table.vue.js").Expression;
|
|
38
|
+
props?: Readonly<{
|
|
39
|
+
[key: string]: unknown;
|
|
40
|
+
initialState?: Readonly<{
|
|
41
|
+
columnVisibility?: Record<string, boolean>;
|
|
42
|
+
columnOrder?: ReadonlyArray<string>;
|
|
43
|
+
columnPinning?: Readonly<{
|
|
44
|
+
left?: ReadonlyArray<string>;
|
|
45
|
+
right?: ReadonlyArray<string>;
|
|
46
|
+
}>;
|
|
47
|
+
rowPinning?: Readonly<{
|
|
48
|
+
top?: ReadonlyArray<string>;
|
|
49
|
+
bottom?: ReadonlyArray<string>;
|
|
50
|
+
}>;
|
|
51
|
+
columnFilters?: ReadonlyArray<Readonly<{
|
|
52
|
+
id: string;
|
|
53
|
+
value: unknown;
|
|
54
|
+
}>>;
|
|
55
|
+
globalFilter?: unknown;
|
|
56
|
+
sorting?: ReadonlyArray<Readonly<{
|
|
57
|
+
id: string;
|
|
58
|
+
desc: boolean;
|
|
59
|
+
}>>;
|
|
60
|
+
expanded?: boolean | Record<string, boolean>;
|
|
61
|
+
grouping?: ReadonlyArray<string>;
|
|
62
|
+
columnSizing?: Record<string, number>;
|
|
63
|
+
columnSizingInfo?: Record<string, unknown>;
|
|
64
|
+
pagination?: Readonly<{
|
|
65
|
+
pageIndex?: number;
|
|
66
|
+
pageSize?: number;
|
|
67
|
+
}>;
|
|
68
|
+
rowSelection?: Record<string, boolean>;
|
|
69
|
+
}>;
|
|
70
|
+
}>;
|
|
71
|
+
paginationLeft?: import("./table.vue.js").Markdown;
|
|
72
|
+
paginationRight?: import("./table.vue.js").Markdown;
|
|
73
|
+
paginationPageSizes?: ReadonlyArray<number>;
|
|
74
|
+
}>) => any;
|
|
75
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
76
|
+
config: import("effect").Effect.Effect<TableConfig>;
|
|
54
77
|
data: Array<unknown>;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
78
|
+
rowCount?: number;
|
|
79
|
+
}> & Readonly<{
|
|
80
|
+
"onUpdate:config"?: ((args_0: Readonly<{
|
|
81
|
+
getRowId?: import("./table.vue.js").Expression;
|
|
82
|
+
getSubRows?: import("./table.vue.js").Expression;
|
|
83
|
+
enableRowSelection?: import("./table.vue.js").Expression;
|
|
84
|
+
enableMultiRowSelection?: import("./table.vue.js").Expression;
|
|
85
|
+
columns: readonly Readonly<{
|
|
86
|
+
id?: string;
|
|
87
|
+
title?: import("../utils/coders.js").LocaleValue;
|
|
88
|
+
accessor?: import("./table.vue.js").Accessor;
|
|
89
|
+
renderer?: import("./table.vue.js").Render;
|
|
90
|
+
tooltip?: import("../utils/coders.js").LocaleValue;
|
|
91
|
+
size?: number;
|
|
92
|
+
enableSorting?: boolean;
|
|
93
|
+
enableMultiSorting?: boolean;
|
|
94
|
+
enablePinning?: boolean;
|
|
95
|
+
columns?: readonly Readonly</*elided*/ any>[];
|
|
96
|
+
grow?: boolean;
|
|
97
|
+
}>[];
|
|
98
|
+
cellStyles?: import("./table.vue.js").Expression;
|
|
99
|
+
props?: Readonly<{
|
|
100
|
+
[key: string]: unknown;
|
|
101
|
+
initialState?: Readonly<{
|
|
102
|
+
columnVisibility?: Record<string, boolean>;
|
|
103
|
+
columnOrder?: ReadonlyArray<string>;
|
|
104
|
+
columnPinning?: Readonly<{
|
|
105
|
+
left?: ReadonlyArray<string>;
|
|
106
|
+
right?: ReadonlyArray<string>;
|
|
107
|
+
}>;
|
|
108
|
+
rowPinning?: Readonly<{
|
|
109
|
+
top?: ReadonlyArray<string>;
|
|
110
|
+
bottom?: ReadonlyArray<string>;
|
|
111
|
+
}>;
|
|
112
|
+
columnFilters?: ReadonlyArray<Readonly<{
|
|
113
|
+
id: string;
|
|
114
|
+
value: unknown;
|
|
115
|
+
}>>;
|
|
116
|
+
globalFilter?: unknown;
|
|
117
|
+
sorting?: ReadonlyArray<Readonly<{
|
|
118
|
+
id: string;
|
|
119
|
+
desc: boolean;
|
|
120
|
+
}>>;
|
|
121
|
+
expanded?: boolean | Record<string, boolean>;
|
|
122
|
+
grouping?: ReadonlyArray<string>;
|
|
123
|
+
columnSizing?: Record<string, number>;
|
|
124
|
+
columnSizingInfo?: Record<string, unknown>;
|
|
125
|
+
pagination?: Readonly<{
|
|
126
|
+
pageIndex?: number;
|
|
127
|
+
pageSize?: number;
|
|
128
|
+
}>;
|
|
129
|
+
rowSelection?: Record<string, boolean>;
|
|
130
|
+
}>;
|
|
131
|
+
}>;
|
|
132
|
+
paginationLeft?: import("./table.vue.js").Markdown;
|
|
133
|
+
paginationRight?: import("./table.vue.js").Markdown;
|
|
134
|
+
paginationPageSizes?: ReadonlyArray<number>;
|
|
135
|
+
}>) => any) | undefined;
|
|
136
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
137
|
+
[x: string]: ((props: {
|
|
138
|
+
cell: import("@tanstack/table-core").CellContext<unknown, unknown>;
|
|
139
|
+
}) => any) | undefined;
|
|
70
140
|
}>;
|
|
71
141
|
type __VLS_WithSlots<T, S> = T & {
|
|
72
142
|
new (): {
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { Scope } from 'effect';
|
|
2
|
+
import { Effect } from 'effect';
|
|
3
|
+
import { type Sidebar as SidebarType } from '../../../composables/useNavigationTabs.js';
|
|
4
|
+
type ProfileCommandInputItem = Readonly<{
|
|
5
|
+
id: string | number;
|
|
6
|
+
title: string;
|
|
7
|
+
icon?: string;
|
|
8
|
+
hidden?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
effect?: Effect.Effect<void>;
|
|
11
|
+
keywords?: Array<string>;
|
|
12
|
+
}>;
|
|
13
|
+
type ProfileCommandInputGroup = Readonly<{
|
|
14
|
+
id: string | number;
|
|
15
|
+
title: string;
|
|
16
|
+
icon?: string;
|
|
17
|
+
children: Array<ProfileCommandInputItem>;
|
|
18
|
+
}>;
|
|
19
|
+
type __VLS_Props = {
|
|
20
|
+
/**
|
|
21
|
+
* 应用的全局 DSL(CEL)执行上下文。传入一个 Effect,在应用启动时运行一次;
|
|
22
|
+
* 其解析结果(一个 record)会被永久设为全局上下文,供后续所有 CEL 求值(如 `$dsl.evaluate`)使用。
|
|
23
|
+
*
|
|
24
|
+
* 应用会等待该 effect 解析完成后才渲染;在整个应用生命周期内只会执行一次。
|
|
25
|
+
* 若未传入 `dsl`,全局上下文将被设为 `{}`。
|
|
26
|
+
*
|
|
27
|
+
* 适用于需要在首屏前就确定的、会话级稳定数据,例如:当前用户信息、用户所属组、
|
|
28
|
+
* 用户菜单列表、用户权限(或权限模块)等。此处加载的数据在整个应用内可通过 CEL 访问
|
|
29
|
+
*(如 `user`、`menu`、`permissions`)。强调「会话级」稳定即可,不必永久不变。
|
|
30
|
+
*
|
|
31
|
+
* 重要约束:
|
|
32
|
+
* - 加载时间至关重要:在该 effect 解析前,整应用不会加载,用户会看到白屏,因此必须保持非常快
|
|
33
|
+
* (如减少请求、缓存或并行拉取)。
|
|
34
|
+
* - 这是有意为之的权衡:菜单、用户等关键数据必须在此加载,否则可能出现空菜单、无用户等异常表现。
|
|
35
|
+
* - 该 effect 不得抛错(类型为 `never`):任何失败(如网络)应在 effect 内部处理,
|
|
36
|
+
* 返回空对象或安全默认值,保证应用仍能正常启动并得到一致的全局上下文。
|
|
37
|
+
*
|
|
38
|
+
* 返回的 `Record<string, unknown>` 会在通过 `$dsl.evaluate` 求值 CEL 表达式时,
|
|
39
|
+
* 与运行时上下文(如 `now`、`today` 及调用处传入的 context)合并使用。
|
|
40
|
+
*
|
|
41
|
+
* @example 最小示例:返回静态对象,键可在 CEL 中直接使用
|
|
42
|
+
* dsl: Effect.succeed({ hello: 'world' })
|
|
43
|
+
* // 之后在模板或逻辑中:$dsl.evaluate`hello`() 得到 'world'
|
|
44
|
+
*
|
|
45
|
+
* @example 实际场景:拉取会话数据(用户、菜单、权限)并返回,供 CEL 使用
|
|
46
|
+
* dsl: Effect.gen(function* () {
|
|
47
|
+
* const [user, menu, permissions] = yield* Effect.all([
|
|
48
|
+
* fetchUser().pipe(Effect.catchAll(() => Effect.succeed({ name: '', id: '' }))),
|
|
49
|
+
* fetchMenu().pipe(Effect.catchAll(() => Effect.succeed([]))),
|
|
50
|
+
* fetchPermissions().pipe(Effect.catchAll(() => Effect.succeed({ canEdit: false }))),
|
|
51
|
+
* ])
|
|
52
|
+
* return { user, menu, permissions }
|
|
53
|
+
* })
|
|
54
|
+
* // CEL 中可访问 user.name、permissions.canEdit 等;失败时在 effect 内兜底,不抛错
|
|
55
|
+
*/
|
|
56
|
+
dsl?: Effect.Effect<Record<string, unknown>, never, Scope.Scope>;
|
|
57
|
+
/**
|
|
58
|
+
* Sidebar config.
|
|
59
|
+
*
|
|
60
|
+
* `menus` is structured navigation data.
|
|
61
|
+
*/
|
|
62
|
+
sidebar?: SidebarType;
|
|
63
|
+
/**
|
|
64
|
+
* Profile command config.
|
|
65
|
+
*
|
|
66
|
+
* Structured command entries for profile menu and command palette.
|
|
67
|
+
*/
|
|
68
|
+
commands?: Array<ProfileCommandInputItem | ProfileCommandInputGroup>;
|
|
69
|
+
};
|
|
70
|
+
declare var __VLS_108: {}, __VLS_124: {}, __VLS_347: {};
|
|
71
|
+
type __VLS_Slots = {} & {
|
|
72
|
+
menu?: (props: typeof __VLS_108) => any;
|
|
73
|
+
} & {
|
|
74
|
+
profile?: (props: typeof __VLS_124) => any;
|
|
75
|
+
} & {
|
|
76
|
+
default?: (props: typeof __VLS_347) => any;
|
|
77
|
+
};
|
|
78
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
79
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
80
|
+
declare const _default: typeof __VLS_export;
|
|
81
|
+
export default _default;
|
|
82
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
83
|
+
new (): {
|
|
84
|
+
$slots: S;
|
|
85
|
+
};
|
|
86
|
+
};
|