@codemonster-ru/vueforge 0.93.0 → 0.95.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.
- package/dist/index.css +1 -1
- package/dist/index.d.ts +60 -3
- package/dist/index.ts.mjs +16895 -10584
- package/dist/index.ts.umd.js +17 -14
- package/dist/package/components/__tests__/activity-feed.test.d.ts +1 -0
- package/dist/package/components/__tests__/advanced-filter-panel.test.d.ts +1 -0
- package/dist/package/components/__tests__/app-bar.test.d.ts +1 -0
- package/dist/package/components/__tests__/audit-log-viewer.test.d.ts +1 -0
- package/dist/package/components/__tests__/bottom-sheet.test.d.ts +1 -0
- package/dist/package/components/__tests__/bulk-action-bar.test.d.ts +1 -0
- package/dist/package/components/__tests__/cascade-select.test.d.ts +1 -0
- package/dist/package/components/__tests__/code-editor.test.d.ts +1 -0
- package/dist/package/components/__tests__/comment-thread.test.d.ts +1 -0
- package/dist/package/components/__tests__/confirm-popup.test.d.ts +1 -0
- package/dist/package/components/__tests__/data-table-toolbar.test.d.ts +1 -0
- package/dist/package/components/__tests__/diff-viewer.test.d.ts +1 -0
- package/dist/package/components/__tests__/dynamic-dialog.test.d.ts +1 -0
- package/dist/package/components/__tests__/file-manager.test.d.ts +1 -0
- package/dist/package/components/__tests__/footer.test.d.ts +1 -0
- package/dist/package/components/__tests__/infinite-scroll.test.d.ts +1 -0
- package/dist/package/components/__tests__/inline-message.test.d.ts +1 -0
- package/dist/package/components/__tests__/json-viewer.test.d.ts +1 -0
- package/dist/package/components/__tests__/kpi-stat-card.test.d.ts +1 -0
- package/dist/package/components/__tests__/member-picker.test.d.ts +1 -0
- package/dist/package/components/__tests__/meter-group.test.d.ts +1 -0
- package/dist/package/components/__tests__/navigation-rail.test.d.ts +1 -0
- package/dist/package/components/__tests__/overlay-badge.directive.test.d.ts +1 -0
- package/dist/package/components/__tests__/overlay-badge.test.d.ts +1 -0
- package/dist/package/components/__tests__/page-layout.test.d.ts +1 -0
- package/dist/package/components/__tests__/permission-matrix.test.d.ts +1 -0
- package/dist/package/components/__tests__/query-builder.test.d.ts +1 -0
- package/dist/package/components/__tests__/resizable-sidebar.test.d.ts +1 -0
- package/dist/package/components/__tests__/saved-views-manager.test.d.ts +1 -0
- package/dist/package/components/__tests__/scheduler.test.d.ts +1 -0
- package/dist/package/components/__tests__/show-hide.test.d.ts +1 -0
- package/dist/package/components/__tests__/split-layout.test.d.ts +1 -0
- package/dist/package/components/__tests__/sticky-region.test.d.ts +1 -0
- package/dist/package/components/__tests__/tab-menu.test.d.ts +1 -0
- package/dist/package/components/__tests__/tiered-menu.test.d.ts +1 -0
- package/dist/package/components/accordion-context.d.ts +2 -0
- package/dist/package/components/accordion.vue.d.ts +23 -0
- package/dist/package/components/activity-feed.vue.d.ts +79 -0
- package/dist/package/components/advanced-filter-panel-types.d.ts +30 -0
- package/dist/package/components/advanced-filter-panel.vue.d.ts +45 -0
- package/dist/package/components/app-bar.vue.d.ts +47 -0
- package/dist/package/components/audit-log-viewer.vue.d.ts +72 -0
- package/dist/package/components/block-ui.vue.d.ts +1 -1
- package/dist/package/components/bottom-sheet.vue.d.ts +57 -0
- package/dist/package/components/bulk-action-bar-types.d.ts +11 -0
- package/dist/package/components/bulk-action-bar.vue.d.ts +36 -0
- package/dist/package/components/cascade-select-types.d.ts +8 -0
- package/dist/package/components/cascade-select.vue.d.ts +96 -0
- package/dist/package/components/chart.vue.d.ts +1 -1
- package/dist/package/components/code-editor-adapter.d.ts +56 -0
- package/dist/package/components/code-editor.vue.d.ts +85 -0
- package/dist/package/components/command-palette.vue.d.ts +32 -1
- package/dist/package/components/comment-thread.vue.d.ts +74 -0
- package/dist/package/components/confirm-dialog.vue.d.ts +1 -1
- package/dist/package/components/confirm-popup.vue.d.ts +383 -0
- package/dist/package/components/context-menu.vue.d.ts +1 -1
- package/dist/package/components/data-table-toolbar-types.d.ts +6 -0
- package/dist/package/components/data-table-toolbar.vue.d.ts +62 -0
- package/dist/package/components/data-table.vue.d.ts +51 -7
- package/dist/package/components/data-view.vue.d.ts +1 -1
- package/dist/package/components/date-range-picker.vue.d.ts +1 -1
- package/dist/package/components/datepicker.vue.d.ts +1 -1
- package/dist/package/components/datetimepicker.vue.d.ts +1 -1
- package/dist/package/components/diff-viewer.vue.d.ts +45 -0
- package/dist/package/components/drawer.vue.d.ts +1 -1
- package/dist/package/components/dropdown.vue.d.ts +1 -1
- package/dist/package/components/dynamic-dialog.vue.d.ts +35 -0
- package/dist/package/components/file-manager.vue.d.ts +89 -0
- package/dist/package/components/footer.vue.d.ts +45 -0
- package/dist/package/components/hide.vue.d.ts +29 -0
- package/dist/package/components/infinite-scroll.vue.d.ts +72 -0
- package/dist/package/components/inline-message.vue.d.ts +40 -0
- package/dist/package/components/json-viewer.vue.d.ts +57 -0
- package/dist/package/components/kanban-board.vue.d.ts +15 -27
- package/dist/package/components/kpi-stat-card.vue.d.ts +46 -0
- package/dist/package/components/member-picker.vue.d.ts +89 -0
- package/dist/package/components/meter-group.vue.d.ts +46 -0
- package/dist/package/components/navigation-rail.vue.d.ts +289 -0
- package/dist/package/components/notification-center.vue.d.ts +35 -11
- package/dist/package/components/overlay-badge-utils.d.ts +23 -0
- package/dist/package/components/overlay-badge.vue.d.ts +39 -0
- package/dist/package/components/overlay-panel.vue.d.ts +6 -6
- package/dist/package/components/page-layout.vue.d.ts +84 -0
- package/dist/package/components/permission-matrix.vue.d.ts +48 -0
- package/dist/package/components/popover.vue.d.ts +1 -1
- package/dist/package/components/query-builder-group.vue.d.ts +37 -0
- package/dist/package/components/query-builder-types.d.ts +28 -0
- package/dist/package/components/query-builder.vue.d.ts +40 -0
- package/dist/package/components/rating.vue.d.ts +4 -0
- package/dist/package/components/resizable-sidebar.vue.d.ts +73 -0
- package/dist/package/components/saved-views-manager-types.d.ts +8 -0
- package/dist/package/components/saved-views-manager.vue.d.ts +58 -0
- package/dist/package/components/scheduler.vue.d.ts +61 -0
- package/dist/package/components/scroll-panel.vue.d.ts +1 -1
- package/dist/package/components/scroll-top.vue.d.ts +1 -1
- package/dist/package/components/show.vue.d.ts +29 -0
- package/dist/package/components/sidebar.vue.d.ts +4 -4
- package/dist/package/components/split-button.vue.d.ts +7 -7
- package/dist/package/components/split-layout.vue.d.ts +73 -0
- package/dist/package/components/splitter.vue.d.ts +2 -2
- package/dist/package/components/sticky-region.vue.d.ts +35 -0
- package/dist/package/components/tab-menu.vue.d.ts +33 -0
- package/dist/package/components/terminal.vue.d.ts +2 -2
- package/dist/package/components/tiered-menu.vue.d.ts +34 -0
- package/dist/package/components/toast.vue.d.ts +1 -1
- package/dist/package/components/tooltip.vue.d.ts +1 -1
- package/dist/package/components/tour.vue.d.ts +1 -1
- package/dist/package/components/tree-node.vue.d.ts +2 -0
- package/dist/package/components/tree-select.vue.d.ts +1 -1
- package/dist/package/components/tree-table.vue.d.ts +3 -3
- package/dist/package/components/tree.vue.d.ts +23 -1
- package/dist/package/config/locale-text.d.ts +10 -0
- package/dist/package/config/theme-core.d.ts +777 -0
- package/dist/package/directives/overlay-badge.d.ts +3 -0
- package/dist/package/services/__tests__/dynamic-dialog-service.test.d.ts +1 -0
- package/dist/package/services/dynamic-dialog-service.d.ts +41 -0
- package/dist/package/themes/default/components/activity-feed.d.ts +35 -0
- package/dist/package/themes/default/components/advanced-filter-panel.d.ts +19 -0
- package/dist/package/themes/default/components/app-bar.d.ts +14 -0
- package/dist/package/themes/default/components/audit-log-viewer.d.ts +20 -0
- package/dist/package/themes/default/components/bottom-sheet.d.ts +32 -0
- package/dist/package/themes/default/components/bulk-action-bar.d.ts +19 -0
- package/dist/package/themes/default/components/code-editor.d.ts +27 -0
- package/dist/package/themes/default/components/comment-thread.d.ts +24 -0
- package/dist/package/themes/default/components/confirm-popup.d.ts +11 -0
- package/dist/package/themes/default/components/data-table-toolbar.d.ts +21 -0
- package/dist/package/themes/default/components/diff-viewer.d.ts +34 -0
- package/dist/package/themes/default/components/file-manager.d.ts +55 -0
- package/dist/package/themes/default/components/footer.d.ts +13 -0
- package/dist/package/themes/default/components/infinite-scroll.d.ts +23 -0
- package/dist/package/themes/default/components/inline-message.d.ts +47 -0
- package/dist/package/themes/default/components/json-viewer.d.ts +33 -0
- package/dist/package/themes/default/components/kpi-stat-card.d.ts +24 -0
- package/dist/package/themes/default/components/member-picker.d.ts +34 -0
- package/dist/package/themes/default/components/meter-group.d.ts +22 -0
- package/dist/package/themes/default/components/navigation-rail.d.ts +28 -0
- package/dist/package/themes/default/components/overlay-badge.d.ts +33 -0
- package/dist/package/themes/default/components/page-layout.d.ts +23 -0
- package/dist/package/themes/default/components/permission-matrix.d.ts +29 -0
- package/dist/package/themes/default/components/query-builder.d.ts +26 -0
- package/dist/package/themes/default/components/resizable-sidebar.d.ts +16 -0
- package/dist/package/themes/default/components/saved-views-manager.d.ts +21 -0
- package/dist/package/themes/default/components/scheduler.d.ts +48 -0
- package/dist/package/themes/default/components/split-layout.d.ts +20 -0
- package/dist/package/themes/default/components/sticky-region.d.ts +9 -0
- package/dist/package/themes/default/components/tab-menu.d.ts +14 -0
- package/dist/package/themes/default/index.d.ts +864 -31
- package/package.json +1 -1
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { TreeValue } from './tree.vue';
|
|
2
|
+
import { CascadeSelectItem } from './cascade-select-types';
|
|
3
|
+
type Size = 'small' | 'normal' | 'large';
|
|
4
|
+
type Variant = 'filled' | 'outlined';
|
|
5
|
+
type CascadeModelValue = TreeValue | Array<TreeValue> | undefined;
|
|
6
|
+
interface Props {
|
|
7
|
+
items?: Array<CascadeSelectItem>;
|
|
8
|
+
modelValue?: CascadeModelValue;
|
|
9
|
+
expandedKeys?: Array<TreeValue>;
|
|
10
|
+
multiple?: boolean;
|
|
11
|
+
selectable?: boolean;
|
|
12
|
+
expandOnClick?: boolean;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
readonly?: boolean;
|
|
15
|
+
loading?: boolean;
|
|
16
|
+
loadingText?: string;
|
|
17
|
+
loadingBranchText?: string;
|
|
18
|
+
emptyText?: string;
|
|
19
|
+
placeholder?: string;
|
|
20
|
+
searchPlaceholder?: string;
|
|
21
|
+
filter?: boolean;
|
|
22
|
+
clearable?: boolean;
|
|
23
|
+
variant?: Variant;
|
|
24
|
+
size?: Size;
|
|
25
|
+
autoLoadOnExpand?: boolean;
|
|
26
|
+
loadChildren?: (node: CascadeSelectItem) => Promise<Array<CascadeSelectItem>>;
|
|
27
|
+
}
|
|
28
|
+
declare function __VLS_template(): {
|
|
29
|
+
attrs: Partial<{}>;
|
|
30
|
+
slots: {
|
|
31
|
+
label?(_: {
|
|
32
|
+
loading: boolean;
|
|
33
|
+
node: import('./tree.vue').TreeItem;
|
|
34
|
+
level: number;
|
|
35
|
+
selected: boolean;
|
|
36
|
+
expanded: boolean;
|
|
37
|
+
disabled: boolean;
|
|
38
|
+
}): any;
|
|
39
|
+
};
|
|
40
|
+
refs: {};
|
|
41
|
+
rootEl: HTMLDivElement;
|
|
42
|
+
};
|
|
43
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
44
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
45
|
+
search: (...args: any[]) => void;
|
|
46
|
+
blur: (...args: any[]) => void;
|
|
47
|
+
change: (...args: any[]) => void;
|
|
48
|
+
focus: (...args: any[]) => void;
|
|
49
|
+
toggle: (...args: any[]) => void;
|
|
50
|
+
"update:modelValue": (...args: any[]) => void;
|
|
51
|
+
"update:expandedKeys": (...args: any[]) => void;
|
|
52
|
+
nodeClick: (...args: any[]) => void;
|
|
53
|
+
branchLoadStart: (...args: any[]) => void;
|
|
54
|
+
branchLoad: (...args: any[]) => void;
|
|
55
|
+
branchLoadError: (...args: any[]) => void;
|
|
56
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
57
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
58
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
59
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
60
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
onToggle?: ((...args: any[]) => any) | undefined;
|
|
62
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
63
|
+
"onUpdate:expandedKeys"?: ((...args: any[]) => any) | undefined;
|
|
64
|
+
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
onBranchLoadStart?: ((...args: any[]) => any) | undefined;
|
|
66
|
+
onBranchLoad?: ((...args: any[]) => any) | undefined;
|
|
67
|
+
onBranchLoadError?: ((...args: any[]) => any) | undefined;
|
|
68
|
+
}>, {
|
|
69
|
+
filter: boolean;
|
|
70
|
+
disabled: boolean;
|
|
71
|
+
modelValue: TreeValue | TreeValue[];
|
|
72
|
+
size: Size;
|
|
73
|
+
variant: Variant;
|
|
74
|
+
items: Array<CascadeSelectItem>;
|
|
75
|
+
expandedKeys: Array<TreeValue>;
|
|
76
|
+
multiple: boolean;
|
|
77
|
+
loading: boolean;
|
|
78
|
+
placeholder: string;
|
|
79
|
+
readonly: boolean;
|
|
80
|
+
clearable: boolean;
|
|
81
|
+
loadingText: string;
|
|
82
|
+
emptyText: string;
|
|
83
|
+
searchPlaceholder: string;
|
|
84
|
+
selectable: boolean;
|
|
85
|
+
expandOnClick: boolean;
|
|
86
|
+
loadChildren: (node: CascadeSelectItem) => Promise<Array<CascadeSelectItem>>;
|
|
87
|
+
loadingBranchText: string;
|
|
88
|
+
autoLoadOnExpand: boolean;
|
|
89
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
90
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
91
|
+
export default _default;
|
|
92
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
93
|
+
new (): {
|
|
94
|
+
$slots: S;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
@@ -54,10 +54,10 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
|
54
54
|
unstyled: boolean;
|
|
55
55
|
loadingText: string;
|
|
56
56
|
emptyText: string;
|
|
57
|
-
options: Record<string, unknown>;
|
|
58
57
|
adapter: ChartAdapter;
|
|
59
58
|
lazyRootMargin: string;
|
|
60
59
|
lazyThreshold: number;
|
|
60
|
+
options: Record<string, unknown>;
|
|
61
61
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
62
62
|
rootRef: HTMLDivElement;
|
|
63
63
|
canvasRef: HTMLCanvasElement;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export interface CodeEditorConfig {
|
|
2
|
+
value: string;
|
|
3
|
+
language?: string;
|
|
4
|
+
theme?: string;
|
|
5
|
+
readonly?: boolean;
|
|
6
|
+
options?: Record<string, unknown>;
|
|
7
|
+
onChange?: (value: string) => void;
|
|
8
|
+
}
|
|
9
|
+
export interface CodeEditorAdapterInstance {
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
}
|
|
12
|
+
export interface CodeEditorAdapter {
|
|
13
|
+
mount: (container: HTMLElement, config: CodeEditorConfig) => CodeEditorAdapterInstance;
|
|
14
|
+
update?: (instance: CodeEditorAdapterInstance, config: CodeEditorConfig) => void;
|
|
15
|
+
setValue?: (instance: CodeEditorAdapterInstance, value: string) => void;
|
|
16
|
+
getValue?: (instance: CodeEditorAdapterInstance) => string;
|
|
17
|
+
setReadonly?: (instance: CodeEditorAdapterInstance, readonly: boolean) => void;
|
|
18
|
+
setTheme?: (instance: CodeEditorAdapterInstance, theme: string) => void;
|
|
19
|
+
focus?: (instance: CodeEditorAdapterInstance) => void;
|
|
20
|
+
destroy?: (instance: CodeEditorAdapterInstance) => void;
|
|
21
|
+
}
|
|
22
|
+
type MonacoLikeModel = {
|
|
23
|
+
getValue: () => string;
|
|
24
|
+
setValue: (value: string) => void;
|
|
25
|
+
dispose?: () => void;
|
|
26
|
+
};
|
|
27
|
+
type MonacoLikeEditorInstance = {
|
|
28
|
+
getValue: () => string;
|
|
29
|
+
setValue: (value: string) => void;
|
|
30
|
+
updateOptions: (options: Record<string, unknown>) => void;
|
|
31
|
+
onDidChangeModelContent: (callback: () => void) => {
|
|
32
|
+
dispose: () => void;
|
|
33
|
+
};
|
|
34
|
+
dispose: () => void;
|
|
35
|
+
};
|
|
36
|
+
type MonacoLikeNamespace = {
|
|
37
|
+
editor: {
|
|
38
|
+
create: (container: HTMLElement, options: Record<string, unknown>) => MonacoLikeEditorInstance;
|
|
39
|
+
setTheme?: (theme: string) => void;
|
|
40
|
+
createModel?: (value: string, language?: string) => MonacoLikeModel;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export declare const createMonacoAdapter: (monaco: MonacoLikeNamespace) => CodeEditorAdapter;
|
|
44
|
+
type CodeMirrorLikeView = {
|
|
45
|
+
destroy: () => void;
|
|
46
|
+
dispatch?: (value: unknown) => void;
|
|
47
|
+
focus?: () => void;
|
|
48
|
+
state?: {
|
|
49
|
+
doc?: {
|
|
50
|
+
toString?: () => string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
type CodeMirrorFactory = (container: HTMLElement, config: CodeEditorConfig) => CodeMirrorLikeView;
|
|
55
|
+
export declare const createCodeMirrorAdapter: (factory: CodeMirrorFactory) => CodeEditorAdapter;
|
|
56
|
+
export {};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { CodeEditorAdapter, CodeEditorAdapterInstance } from './code-editor-adapter';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue?: string;
|
|
4
|
+
adapter?: CodeEditorAdapter;
|
|
5
|
+
language?: string;
|
|
6
|
+
theme?: string;
|
|
7
|
+
readonly?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
loadingText?: string;
|
|
11
|
+
noAdapterText?: string;
|
|
12
|
+
showHeader?: boolean;
|
|
13
|
+
languageLabel?: string;
|
|
14
|
+
readonlyLabel?: string;
|
|
15
|
+
editableLabel?: string;
|
|
16
|
+
ariaLabel?: string;
|
|
17
|
+
lazy?: boolean;
|
|
18
|
+
lazyRootMargin?: string;
|
|
19
|
+
lazyThreshold?: number;
|
|
20
|
+
options?: Record<string, unknown>;
|
|
21
|
+
}
|
|
22
|
+
declare function __VLS_template(): {
|
|
23
|
+
attrs: Partial<{}>;
|
|
24
|
+
slots: Readonly<{
|
|
25
|
+
loading?: () => unknown;
|
|
26
|
+
empty?: () => unknown;
|
|
27
|
+
}> & {
|
|
28
|
+
loading?: () => unknown;
|
|
29
|
+
empty?: () => unknown;
|
|
30
|
+
};
|
|
31
|
+
refs: {
|
|
32
|
+
rootRef: HTMLElement;
|
|
33
|
+
editorRef: HTMLDivElement;
|
|
34
|
+
};
|
|
35
|
+
rootEl: HTMLElement;
|
|
36
|
+
};
|
|
37
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
38
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
39
|
+
focus: () => void;
|
|
40
|
+
refresh: () => void;
|
|
41
|
+
getValue: () => string;
|
|
42
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
43
|
+
change: (payload: {
|
|
44
|
+
value: string;
|
|
45
|
+
}) => any;
|
|
46
|
+
error: (error: Error) => any;
|
|
47
|
+
"update:modelValue": (value: string) => any;
|
|
48
|
+
ready: (instance: CodeEditorAdapterInstance) => any;
|
|
49
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
50
|
+
onChange?: ((payload: {
|
|
51
|
+
value: string;
|
|
52
|
+
}) => any) | undefined;
|
|
53
|
+
onError?: ((error: Error) => any) | undefined;
|
|
54
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
55
|
+
onReady?: ((instance: CodeEditorAdapterInstance) => any) | undefined;
|
|
56
|
+
}>, {
|
|
57
|
+
disabled: boolean;
|
|
58
|
+
lazy: boolean;
|
|
59
|
+
modelValue: string;
|
|
60
|
+
ariaLabel: string;
|
|
61
|
+
loading: boolean;
|
|
62
|
+
readonly: boolean;
|
|
63
|
+
loadingText: string;
|
|
64
|
+
language: string;
|
|
65
|
+
theme: string;
|
|
66
|
+
adapter: CodeEditorAdapter;
|
|
67
|
+
noAdapterText: string;
|
|
68
|
+
showHeader: boolean;
|
|
69
|
+
languageLabel: string;
|
|
70
|
+
readonlyLabel: string;
|
|
71
|
+
editableLabel: string;
|
|
72
|
+
lazyRootMargin: string;
|
|
73
|
+
lazyThreshold: number;
|
|
74
|
+
options: Record<string, unknown>;
|
|
75
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
76
|
+
rootRef: HTMLElement;
|
|
77
|
+
editorRef: HTMLDivElement;
|
|
78
|
+
}, HTMLElement>;
|
|
79
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
80
|
+
export default _default;
|
|
81
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
82
|
+
new (): {
|
|
83
|
+
$slots: S;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
@@ -1,13 +1,22 @@
|
|
|
1
|
-
interface CommandPaletteItem {
|
|
1
|
+
export interface CommandPaletteItem {
|
|
2
2
|
label: string;
|
|
3
3
|
value?: string | number;
|
|
4
4
|
description?: string;
|
|
5
5
|
shortcut?: string;
|
|
6
6
|
group?: string;
|
|
7
|
+
scope?: string;
|
|
7
8
|
disabled?: boolean;
|
|
8
9
|
keywords?: Array<string>;
|
|
10
|
+
entityType?: string;
|
|
11
|
+
entityId?: string | number;
|
|
12
|
+
entityKeywords?: Array<string>;
|
|
9
13
|
command?: () => void;
|
|
10
14
|
}
|
|
15
|
+
export interface CommandPaletteScope {
|
|
16
|
+
id: string;
|
|
17
|
+
label: string;
|
|
18
|
+
aliases?: Array<string>;
|
|
19
|
+
}
|
|
11
20
|
interface Props {
|
|
12
21
|
modelValue?: boolean;
|
|
13
22
|
items?: Array<CommandPaletteItem>;
|
|
@@ -20,6 +29,13 @@ interface Props {
|
|
|
20
29
|
filter?: boolean;
|
|
21
30
|
enableShortcut?: boolean;
|
|
22
31
|
shortcutKey?: string;
|
|
32
|
+
scopes?: Array<CommandPaletteScope>;
|
|
33
|
+
scope?: string;
|
|
34
|
+
showScopeTabs?: boolean;
|
|
35
|
+
showRecent?: boolean;
|
|
36
|
+
recentLimit?: number;
|
|
37
|
+
recentStorageKey?: string;
|
|
38
|
+
entitySearch?: boolean;
|
|
23
39
|
}
|
|
24
40
|
declare const _default: import('vue').DefineComponent<Props, {
|
|
25
41
|
open: () => Promise<void>;
|
|
@@ -31,12 +47,20 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
31
47
|
select: (...args: any[]) => void;
|
|
32
48
|
"update:modelValue": (...args: any[]) => void;
|
|
33
49
|
open: (...args: any[]) => void;
|
|
50
|
+
entitySearch: (...args: any[]) => void;
|
|
51
|
+
"update:scope": (...args: any[]) => void;
|
|
52
|
+
"update:recent": (...args: any[]) => void;
|
|
53
|
+
scopeChange: (...args: any[]) => void;
|
|
34
54
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
35
55
|
onSearch?: ((...args: any[]) => any) | undefined;
|
|
36
56
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
37
57
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
38
58
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
39
59
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
60
|
+
onEntitySearch?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
"onUpdate:scope"?: ((...args: any[]) => any) | undefined;
|
|
62
|
+
"onUpdate:recent"?: ((...args: any[]) => any) | undefined;
|
|
63
|
+
onScopeChange?: ((...args: any[]) => any) | undefined;
|
|
40
64
|
}>, {
|
|
41
65
|
filter: boolean;
|
|
42
66
|
modelValue: boolean;
|
|
@@ -49,6 +73,13 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
49
73
|
closeOnSelect: boolean;
|
|
50
74
|
enableShortcut: boolean;
|
|
51
75
|
shortcutKey: string;
|
|
76
|
+
scopes: Array<CommandPaletteScope>;
|
|
77
|
+
scope: string;
|
|
78
|
+
showScopeTabs: boolean;
|
|
79
|
+
showRecent: boolean;
|
|
80
|
+
recentLimit: number;
|
|
81
|
+
recentStorageKey: string;
|
|
82
|
+
entitySearch: boolean;
|
|
52
83
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
53
84
|
panel: HTMLDivElement;
|
|
54
85
|
inputRef: HTMLInputElement;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
type DateLike = string | number | Date;
|
|
2
|
+
export interface CommentThreadAuthor {
|
|
3
|
+
id?: string | number;
|
|
4
|
+
name: string;
|
|
5
|
+
avatar?: string;
|
|
6
|
+
meta?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface CommentThreadItem {
|
|
9
|
+
id: string | number;
|
|
10
|
+
author: CommentThreadAuthor;
|
|
11
|
+
body: string;
|
|
12
|
+
createdAt?: DateLike;
|
|
13
|
+
resolved?: boolean;
|
|
14
|
+
parentId?: string | number | null;
|
|
15
|
+
}
|
|
16
|
+
interface Props {
|
|
17
|
+
items?: Array<CommentThreadItem>;
|
|
18
|
+
ariaLabel?: string;
|
|
19
|
+
emptyText?: string;
|
|
20
|
+
replyLabel?: string;
|
|
21
|
+
cancelReplyLabel?: string;
|
|
22
|
+
sendReplyLabel?: string;
|
|
23
|
+
replyPlaceholder?: string;
|
|
24
|
+
replyAriaLabel?: string;
|
|
25
|
+
resolveLabel?: string;
|
|
26
|
+
reopenLabel?: string;
|
|
27
|
+
locale?: string;
|
|
28
|
+
timeZone?: string;
|
|
29
|
+
}
|
|
30
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
31
|
+
reply: (payload: {
|
|
32
|
+
parent: CommentThreadItem;
|
|
33
|
+
index: number;
|
|
34
|
+
text: string;
|
|
35
|
+
mentions: Array<string>;
|
|
36
|
+
}) => any;
|
|
37
|
+
resolve: (payload: {
|
|
38
|
+
item: CommentThreadItem;
|
|
39
|
+
index: number;
|
|
40
|
+
}) => any;
|
|
41
|
+
reopen: (payload: {
|
|
42
|
+
item: CommentThreadItem;
|
|
43
|
+
index: number;
|
|
44
|
+
}) => any;
|
|
45
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
46
|
+
onReply?: ((payload: {
|
|
47
|
+
parent: CommentThreadItem;
|
|
48
|
+
index: number;
|
|
49
|
+
text: string;
|
|
50
|
+
mentions: Array<string>;
|
|
51
|
+
}) => any) | undefined;
|
|
52
|
+
onResolve?: ((payload: {
|
|
53
|
+
item: CommentThreadItem;
|
|
54
|
+
index: number;
|
|
55
|
+
}) => any) | undefined;
|
|
56
|
+
onReopen?: ((payload: {
|
|
57
|
+
item: CommentThreadItem;
|
|
58
|
+
index: number;
|
|
59
|
+
}) => any) | undefined;
|
|
60
|
+
}>, {
|
|
61
|
+
ariaLabel: string;
|
|
62
|
+
items: Array<CommentThreadItem>;
|
|
63
|
+
emptyText: string;
|
|
64
|
+
locale: string;
|
|
65
|
+
timeZone: string;
|
|
66
|
+
replyLabel: string;
|
|
67
|
+
cancelReplyLabel: string;
|
|
68
|
+
sendReplyLabel: string;
|
|
69
|
+
replyPlaceholder: string;
|
|
70
|
+
replyAriaLabel: string;
|
|
71
|
+
resolveLabel: string;
|
|
72
|
+
reopenLabel: string;
|
|
73
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
74
|
+
export default _default;
|
|
@@ -146,10 +146,10 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
|
146
146
|
loading: boolean;
|
|
147
147
|
cancelLabel: string;
|
|
148
148
|
closeOnOverlay: boolean;
|
|
149
|
-
message: string;
|
|
150
149
|
closeOnEsc: boolean;
|
|
151
150
|
showClose: boolean;
|
|
152
151
|
lockScroll: boolean;
|
|
152
|
+
message: string;
|
|
153
153
|
confirmLabel: string;
|
|
154
154
|
confirmSeverity: ButtonSeverity;
|
|
155
155
|
closeOnConfirm: boolean;
|