@oneflowui/ui 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/README.md +161 -0
  2. package/dist/FieldCheckbox-B1eVag_x.js +30 -0
  3. package/dist/FieldDate-BCitHPQn.js +34 -0
  4. package/dist/FieldDatetime-BGeyZJl-.js +34 -0
  5. package/dist/FieldEmail-Ds8lTvNh.js +34 -0
  6. package/dist/FieldMultiSelect-_cY4aZuE.js +145 -0
  7. package/dist/FieldNumber-DayaF31C.js +43 -0
  8. package/dist/FieldRating-Dw9rvhUe.js +32 -0
  9. package/dist/FieldSelect-DEVkjnNY.js +122 -0
  10. package/dist/FieldText-LzCqM7jk.js +34 -0
  11. package/dist/FieldUrl-zqYEJCPK.js +34 -0
  12. package/dist/components/ContextMenu/index.d.ts +2 -0
  13. package/dist/components/ContextMenu/index.vue.d.ts +27 -0
  14. package/dist/components/Dashboard/charts/BarChart.vue.d.ts +17 -0
  15. package/dist/components/Dashboard/charts/DoughnutChart.vue.d.ts +12 -0
  16. package/dist/components/Dashboard/charts/NumberCard.vue.d.ts +17 -0
  17. package/dist/components/Dashboard/charts/PieChart.vue.d.ts +21 -0
  18. package/dist/components/Dashboard/charts/TableChart.vue.d.ts +20 -0
  19. package/dist/components/Dashboard/index.d.ts +6 -0
  20. package/dist/components/Dashboard/index.vue.d.ts +23 -0
  21. package/dist/components/ai/AiMessageBubble.vue.d.ts +11 -0
  22. package/dist/components/ai/AiMessageList.vue.d.ts +19 -0
  23. package/dist/components/ai/AiSender.vue.d.ts +33 -0
  24. package/dist/components/ai/AiStreamingCursor.vue.d.ts +5 -0
  25. package/dist/components/ai/AiThinking.vue.d.ts +5 -0
  26. package/dist/components/ai/UserMessageBubble.vue.d.ts +7 -0
  27. package/dist/components/ai/index.d.ts +7 -0
  28. package/dist/components/auxiliary/ColorPanel.vue.d.ts +19 -0
  29. package/dist/components/auxiliary/FileUpload.vue.d.ts +24 -0
  30. package/dist/components/auxiliary/PersonPanel.vue.d.ts +24 -0
  31. package/dist/components/auxiliary/index.d.ts +3 -0
  32. package/dist/components/base/AddViewBtn.vue.d.ts +6 -0
  33. package/dist/components/base/ButtonGroup.vue.d.ts +30 -0
  34. package/dist/components/base/DropdownMenu.vue.d.ts +25 -0
  35. package/dist/components/base/EmptyState.vue.d.ts +26 -0
  36. package/dist/components/base/RangeSlider.vue.d.ts +29 -0
  37. package/dist/components/base/StatisticCard.vue.d.ts +22 -0
  38. package/dist/components/base/ToolbarBtn.vue.d.ts +11 -0
  39. package/dist/components/base/ViewTab.vue.d.ts +11 -0
  40. package/dist/components/base/index.d.ts +11 -0
  41. package/dist/components/breadcrumb/Breadcrumb.vue.d.ts +48 -0
  42. package/dist/components/breadcrumb/BreadcrumbItem.vue.d.ts +42 -0
  43. package/dist/components/breadcrumb/index.d.ts +3 -0
  44. package/dist/components/detail/CommentItem.vue.d.ts +6 -0
  45. package/dist/components/detail/DetailLayout.vue.d.ts +37 -0
  46. package/dist/components/detail/PropPanel.vue.d.ts +26 -0
  47. package/dist/components/detail/PropRow.vue.d.ts +44 -0
  48. package/dist/components/detail/index.d.ts +4 -0
  49. package/dist/components/editor/BlockQuote.vue.d.ts +13 -0
  50. package/dist/components/editor/CodeBlock.vue.d.ts +10 -0
  51. package/dist/components/editor/ContentBlock.vue.d.ts +27 -0
  52. package/dist/components/editor/RefLink.vue.d.ts +11 -0
  53. package/dist/components/editor/RichTextEditor.vue.d.ts +186 -0
  54. package/dist/components/editor/index.d.ts +5 -0
  55. package/dist/components/field/FieldCheckbox.vue.d.ts +14 -0
  56. package/dist/components/field/FieldDate.vue.d.ts +17 -0
  57. package/dist/components/field/FieldDatetime.vue.d.ts +17 -0
  58. package/dist/components/field/FieldEmail.vue.d.ts +17 -0
  59. package/dist/components/field/FieldMultiSelect.vue.d.ts +18 -0
  60. package/dist/components/field/FieldNumber.vue.d.ts +17 -0
  61. package/dist/components/field/FieldRating.vue.d.ts +15 -0
  62. package/dist/components/field/FieldSelect.vue.d.ts +18 -0
  63. package/dist/components/field/FieldText.vue.d.ts +17 -0
  64. package/dist/components/field/FieldUrl.vue.d.ts +17 -0
  65. package/dist/components/form/FormDesigner.vue.d.ts +17 -0
  66. package/dist/components/form/index.d.ts +1 -0
  67. package/dist/components/gallery/GalleryCard.vue.d.ts +10 -0
  68. package/dist/components/gallery/GalleryView.vue.d.ts +24 -0
  69. package/dist/components/gallery/index.d.ts +2 -0
  70. package/dist/components/kanban/KanbanBoard.vue.d.ts +26 -0
  71. package/dist/components/kanban/KanbanCard.vue.d.ts +23 -0
  72. package/dist/components/kanban/KanbanColumn.vue.d.ts +25 -0
  73. package/dist/components/kanban/QuickAddRow.vue.d.ts +13 -0
  74. package/dist/components/kanban/index.d.ts +4 -0
  75. package/dist/components/layout/AppLayout.vue.d.ts +20 -0
  76. package/dist/components/layout/Navbar.vue.d.ts +34 -0
  77. package/dist/components/layout/Sidebar.vue.d.ts +26 -0
  78. package/dist/components/layout/StatusBar.vue.d.ts +11 -0
  79. package/dist/components/layout/index.d.ts +4 -0
  80. package/dist/components/mermaid/MermaidChart.vue.d.ts +46 -0
  81. package/dist/components/mermaid/index.d.ts +1 -0
  82. package/dist/components/overlay/Dialog.vue.d.ts +69 -0
  83. package/dist/components/overlay/Modal.vue.d.ts +59 -0
  84. package/dist/components/overlay/index.d.ts +2 -0
  85. package/dist/components/split/SplitPane.vue.d.ts +41 -0
  86. package/dist/components/split/index.d.ts +1 -0
  87. package/dist/components/table/DataTable.vue.d.ts +43 -0
  88. package/dist/components/table/FieldCell.vue.d.ts +33 -0
  89. package/dist/components/table/NewRowBtn.vue.d.ts +6 -0
  90. package/dist/components/table/TableColumnManager.vue.d.ts +13 -0
  91. package/dist/components/table/TableDataRow.vue.d.ts +47 -0
  92. package/dist/components/table/TableFilterPanel.vue.d.ts +24 -0
  93. package/dist/components/table/TableHeaderRow.vue.d.ts +23 -0
  94. package/dist/components/table/index.d.ts +8 -0
  95. package/dist/components/tabs/TabPanel.vue.d.ts +38 -0
  96. package/dist/components/tabs/Tabs.vue.d.ts +60 -0
  97. package/dist/components/tabs/index.d.ts +3 -0
  98. package/dist/components/timeline/GanttRow.vue.d.ts +42 -0
  99. package/dist/components/timeline/GanttTimeline.vue.d.ts +46 -0
  100. package/dist/components/timeline/index.d.ts +2 -0
  101. package/dist/components/toast/ToastContainer.vue.d.ts +2 -0
  102. package/dist/components/toast/ToastItem.vue.d.ts +16 -0
  103. package/dist/components/toast/index.d.ts +2 -0
  104. package/dist/composables/index.d.ts +16 -0
  105. package/dist/composables/useAiChat.d.ts +45 -0
  106. package/dist/composables/useBadge.d.ts +27 -0
  107. package/dist/composables/useInlineEdit.d.ts +17 -0
  108. package/dist/composables/useMarkdown.d.ts +16 -0
  109. package/dist/composables/useStream.d.ts +15 -0
  110. package/dist/composables/useTable.d.ts +62 -0
  111. package/dist/composables/useTableFilter.d.ts +36 -0
  112. package/dist/composables/useToast.d.ts +63 -0
  113. package/dist/composables/useTypewriter.d.ts +11 -0
  114. package/dist/dev/App.vue.d.ts +2 -0
  115. package/dist/dev/main.d.ts +0 -0
  116. package/dist/index-B9LF7Kv4.js +10661 -0
  117. package/dist/index.d.ts +45 -0
  118. package/dist/oneflow-ui.js +84 -0
  119. package/dist/oneflow-ui.umd.cjs +13 -0
  120. package/dist/style.css +1 -0
  121. package/dist/tests/gantt.integration.spec.d.ts +1 -0
  122. package/dist/tests/table-detail.integration.spec.d.ts +1 -0
  123. package/dist/tests/three-layer-model.integration.spec.d.ts +1 -0
  124. package/dist/types/index.d.ts +161 -0
  125. package/dist/utils/icon.d.ts +7 -0
  126. package/dist/utils/index.d.ts +1 -0
  127. package/package.json +62 -0
@@ -0,0 +1,6 @@
1
+ import { CommentData } from '../../types';
2
+ type __VLS_Props = {
3
+ comment: CommentData;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
@@ -0,0 +1,37 @@
1
+ import { Task, CommentData, PropItem } from '../../types';
2
+ type __VLS_Props = {
3
+ task: Task;
4
+ comments?: CommentData[];
5
+ propItems?: PropItem[];
6
+ descriptionContent?: string;
7
+ descriptionEditable?: boolean;
8
+ };
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ meta?(_: {}): any;
13
+ description?(_: {}): any;
14
+ comments?(_: {}): any;
15
+ props?(_: {}): any;
16
+ };
17
+ refs: {};
18
+ rootEl: HTMLDivElement;
19
+ };
20
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
+ "update:descriptionContent": (value: string) => any;
23
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
24
+ "onUpdate:descriptionContent"?: ((value: string) => any) | undefined;
25
+ }>, {
26
+ comments: CommentData[];
27
+ propItems: PropItem[];
28
+ descriptionContent: string;
29
+ descriptionEditable: boolean;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
31
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
+ export default _default;
33
+ type __VLS_WithTemplateSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
@@ -0,0 +1,26 @@
1
+ import { PropItem } from '../../types';
2
+ type __VLS_Props = {
3
+ items: PropItem[];
4
+ title?: string;
5
+ collapsible?: boolean;
6
+ };
7
+ declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
9
+ slots: {
10
+ extra?(_: {}): any;
11
+ };
12
+ refs: {};
13
+ rootEl: HTMLDivElement;
14
+ };
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
17
+ title: string;
18
+ collapsible: boolean;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
20
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
+ export default _default;
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,44 @@
1
+ import { ColorMap } from '../../types';
2
+ type __VLS_Props = {
3
+ /** 属性名称 */
4
+ propKey: string;
5
+ /** 属性值(原始字符串,显示 label 由 colorMap 决定) */
6
+ value: string;
7
+ /**
8
+ * 渲染类型:
9
+ * - 'status' 使用 statusColorMap 渲染彩色徽章
10
+ * - 'priority' 使用 priorityColorMap 渲染彩色徽章
11
+ * - 'badge' 使用 customColorMap 渲染自定义徽章
12
+ * - 'date' 纯文字,不加徽章
13
+ * - 'text' 纯文字,不加徽章(默认)
14
+ */
15
+ type?: "status" | "priority" | "badge" | "date" | "text";
16
+ /**
17
+ * 状态颜色映射(type='status' 时使用),与内置默认合并
18
+ */
19
+ statusColorMap?: ColorMap;
20
+ /**
21
+ * 优先级颜色映射(type='priority' 时使用),与内置默认合并
22
+ */
23
+ priorityColorMap?: ColorMap;
24
+ /**
25
+ * 自定义颜色映射(type='badge' 时使用),完全由外部控制
26
+ */
27
+ customColorMap?: ColorMap;
28
+ /**
29
+ * 直接指定徽章文字颜色(不使用 colorMap 时)
30
+ */
31
+ valueColor?: string;
32
+ /**
33
+ * 直接指定徽章背景色(不使用 colorMap 时)
34
+ */
35
+ valueBg?: string;
36
+ /**
37
+ * 直接指定圆点颜色(存在则显示圆点)
38
+ */
39
+ dotColor?: string;
40
+ };
41
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
42
+ type: "status" | "priority" | "badge" | "date" | "text";
43
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
44
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export { default as PropRow } from './PropRow.vue';
2
+ export { default as PropPanel } from './PropPanel.vue';
3
+ export { default as CommentItem } from './CommentItem.vue';
4
+ export { default as DetailLayout } from './DetailLayout.vue';
@@ -0,0 +1,13 @@
1
+ type __VLS_Props = {
2
+ content: string;
3
+ cite?: string;
4
+ editable?: boolean;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:content": (value: string) => any;
8
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ "onUpdate:content"?: ((value: string) => any) | undefined;
10
+ }>, {
11
+ editable: boolean;
12
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLQuoteElement>;
13
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ code: string;
3
+ language?: string;
4
+ copyable?: boolean;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ language: string;
8
+ copyable: boolean;
9
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
10
+ export default _default;
@@ -0,0 +1,27 @@
1
+ type __VLS_Props = {
2
+ content?: string;
3
+ editable?: boolean;
4
+ };
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLDivElement;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ "update:content": (value: string) => any;
16
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ "onUpdate:content"?: ((value: string) => any) | undefined;
18
+ }>, {
19
+ editable: boolean;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
21
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
+ export default _default;
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,11 @@
1
+ type __VLS_Props = {
2
+ refId: string;
3
+ label?: string;
4
+ href?: string;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ click: (refId: string) => any;
8
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ onClick?: ((refId: string) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ export default _default;
@@ -0,0 +1,186 @@
1
+ interface Props {
2
+ modelValue?: string;
3
+ placeholder?: string;
4
+ editable?: boolean;
5
+ minHeight?: number;
6
+ }
7
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ "update:modelValue": (value: string) => any;
9
+ change: (value: string) => any;
10
+ save: (value: string) => any;
11
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
12
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
13
+ onChange?: ((value: string) => any) | undefined;
14
+ onSave?: ((value: string) => any) | undefined;
15
+ }>, {
16
+ modelValue: string;
17
+ placeholder: string;
18
+ editable: boolean;
19
+ minHeight: number;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
21
+ editorRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
22
+ content: {
23
+ type: import('vue').PropType<string | import("quill-delta") | null | undefined>;
24
+ };
25
+ contentType: {
26
+ type: import('vue').PropType<"delta" | "html" | "text">;
27
+ default: string;
28
+ validator: (value: string) => boolean;
29
+ };
30
+ enable: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ readOnly: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ placeholder: {
39
+ type: StringConstructor;
40
+ required: false;
41
+ };
42
+ theme: {
43
+ type: import('vue').PropType<"" | "snow" | "bubble">;
44
+ default: string;
45
+ validator: (value: string) => boolean;
46
+ };
47
+ toolbar: {
48
+ type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
49
+ required: false;
50
+ validator: (value: string | unknown) => boolean;
51
+ };
52
+ modules: {
53
+ type: import('vue').PropType<{
54
+ name: string;
55
+ module: unknown;
56
+ options?: object;
57
+ } | {
58
+ name: string;
59
+ module: unknown;
60
+ options?: object;
61
+ }[]>;
62
+ required: false;
63
+ };
64
+ options: {
65
+ type: import('vue').PropType<QuillOptionsStatic>;
66
+ required: false;
67
+ };
68
+ globalOptions: {
69
+ type: import('vue').PropType<QuillOptionsStatic>;
70
+ required: false;
71
+ };
72
+ }>> & {
73
+ onTextChange?: ((...args: any[]) => any) | undefined;
74
+ onSelectionChange?: ((...args: any[]) => any) | undefined;
75
+ onEditorChange?: ((...args: any[]) => any) | undefined;
76
+ "onUpdate:content"?: ((...args: any[]) => any) | undefined;
77
+ onFocus?: ((...args: any[]) => any) | undefined;
78
+ onBlur?: ((...args: any[]) => any) | undefined;
79
+ onReady?: ((...args: any[]) => any) | undefined;
80
+ }, {
81
+ editor: import('vue').Ref<Element | undefined>;
82
+ getEditor: () => Element;
83
+ getToolbar: () => Element;
84
+ getQuill: () => import('quill').default;
85
+ getContents: (index?: number, length?: number) => string | import("quill-delta") | undefined;
86
+ setContents: (content: string | import("quill-delta") | null | undefined, source?: Sources) => void;
87
+ getHTML: () => string;
88
+ setHTML: (html: string) => void;
89
+ pasteHTML: (html: string, source?: Sources) => void;
90
+ focus: () => void;
91
+ getText: (index?: number, length?: number) => string;
92
+ setText: (text: string, source?: Sources) => void;
93
+ reinit: () => void;
94
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("blur" | "focus" | "update:content" | "textChange" | "selectionChange" | "editorChange" | "ready")[], import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {
95
+ contentType: "delta" | "html" | "text";
96
+ enable: boolean;
97
+ readOnly: boolean;
98
+ theme: "" | "snow" | "bubble";
99
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
100
+ P: {};
101
+ B: {};
102
+ D: {};
103
+ C: {};
104
+ M: {};
105
+ Defaults: {};
106
+ }, Readonly<import('vue').ExtractPropTypes<{
107
+ content: {
108
+ type: import('vue').PropType<string | import("quill-delta") | null | undefined>;
109
+ };
110
+ contentType: {
111
+ type: import('vue').PropType<"delta" | "html" | "text">;
112
+ default: string;
113
+ validator: (value: string) => boolean;
114
+ };
115
+ enable: {
116
+ type: BooleanConstructor;
117
+ default: boolean;
118
+ };
119
+ readOnly: {
120
+ type: BooleanConstructor;
121
+ default: boolean;
122
+ };
123
+ placeholder: {
124
+ type: StringConstructor;
125
+ required: false;
126
+ };
127
+ theme: {
128
+ type: import('vue').PropType<"" | "snow" | "bubble">;
129
+ default: string;
130
+ validator: (value: string) => boolean;
131
+ };
132
+ toolbar: {
133
+ type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
134
+ required: false;
135
+ validator: (value: string | unknown) => boolean;
136
+ };
137
+ modules: {
138
+ type: import('vue').PropType<{
139
+ name: string;
140
+ module: unknown;
141
+ options?: object;
142
+ } | {
143
+ name: string;
144
+ module: unknown;
145
+ options?: object;
146
+ }[]>;
147
+ required: false;
148
+ };
149
+ options: {
150
+ type: import('vue').PropType<QuillOptionsStatic>;
151
+ required: false;
152
+ };
153
+ globalOptions: {
154
+ type: import('vue').PropType<QuillOptionsStatic>;
155
+ required: false;
156
+ };
157
+ }>> & {
158
+ onTextChange?: ((...args: any[]) => any) | undefined;
159
+ onSelectionChange?: ((...args: any[]) => any) | undefined;
160
+ onEditorChange?: ((...args: any[]) => any) | undefined;
161
+ "onUpdate:content"?: ((...args: any[]) => any) | undefined;
162
+ onFocus?: ((...args: any[]) => any) | undefined;
163
+ onBlur?: ((...args: any[]) => any) | undefined;
164
+ onReady?: ((...args: any[]) => any) | undefined;
165
+ }, {
166
+ editor: import('vue').Ref<Element | undefined>;
167
+ getEditor: () => Element;
168
+ getToolbar: () => Element;
169
+ getQuill: () => import('quill').default;
170
+ getContents: (index?: number, length?: number) => string | import("quill-delta") | undefined;
171
+ setContents: (content: string | import("quill-delta") | null | undefined, source?: Sources) => void;
172
+ getHTML: () => string;
173
+ setHTML: (html: string) => void;
174
+ pasteHTML: (html: string, source?: Sources) => void;
175
+ focus: () => void;
176
+ getText: (index?: number, length?: number) => string;
177
+ setText: (text: string, source?: Sources) => void;
178
+ reinit: () => void;
179
+ }, {}, {}, {}, {
180
+ contentType: "delta" | "html" | "text";
181
+ enable: boolean;
182
+ readOnly: boolean;
183
+ theme: "" | "snow" | "bubble";
184
+ }> | null;
185
+ }, HTMLDivElement>;
186
+ export default _default;
@@ -0,0 +1,5 @@
1
+ export { default as ContentBlock } from './ContentBlock.vue';
2
+ export { default as BlockQuote } from './BlockQuote.vue';
3
+ export { default as CodeBlock } from './CodeBlock.vue';
4
+ export { default as RefLink } from './RefLink.vue';
5
+ export { default as RichTextEditor } from './RichTextEditor.vue';
@@ -0,0 +1,14 @@
1
+ type __VLS_Props = {
2
+ value?: unknown;
3
+ field: import('../table/FieldCell.vue').FieldDef;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ commit: (value: boolean) => any;
7
+ cancel: () => any;
8
+ tabNext: () => any;
9
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ onCommit?: ((value: boolean) => any) | undefined;
11
+ onCancel?: (() => any) | undefined;
12
+ onTabNext?: (() => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
14
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { CellValue, FieldDef } from '../table/FieldCell.vue';
2
+ type __VLS_Props = {
3
+ value?: CellValue;
4
+ field: FieldDef;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ commit: (value: CellValue) => any;
8
+ cancel: () => any;
9
+ tabNext: () => any;
10
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onCommit?: ((value: CellValue) => any) | undefined;
12
+ onCancel?: (() => any) | undefined;
13
+ onTabNext?: (() => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
15
+ inputRef: HTMLInputElement;
16
+ }, HTMLInputElement>;
17
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { CellValue, FieldDef } from '../table/FieldCell.vue';
2
+ type __VLS_Props = {
3
+ value?: CellValue;
4
+ field: FieldDef;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ commit: (value: CellValue) => any;
8
+ cancel: () => any;
9
+ tabNext: () => any;
10
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onCommit?: ((value: CellValue) => any) | undefined;
12
+ onCancel?: (() => any) | undefined;
13
+ onTabNext?: (() => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
15
+ inputRef: HTMLInputElement;
16
+ }, HTMLInputElement>;
17
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { CellValue, FieldDef } from '../table/FieldCell.vue';
2
+ type __VLS_Props = {
3
+ value?: CellValue;
4
+ field: FieldDef;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ commit: (value: CellValue) => any;
8
+ cancel: () => any;
9
+ tabNext: () => any;
10
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onCommit?: ((value: CellValue) => any) | undefined;
12
+ onCancel?: (() => any) | undefined;
13
+ onTabNext?: (() => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
15
+ inputRef: HTMLInputElement;
16
+ }, HTMLInputElement>;
17
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import { CellValue, FieldDef } from '../table/FieldCell.vue';
2
+ type __VLS_Props = {
3
+ value?: CellValue;
4
+ field: FieldDef;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ commit: (value: CellValue) => any;
8
+ cancel: () => any;
9
+ tabNext: () => any;
10
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onCommit?: ((value: CellValue) => any) | undefined;
12
+ onCancel?: (() => any) | undefined;
13
+ onTabNext?: (() => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
15
+ triggerRef: HTMLDivElement;
16
+ dropdownRef: HTMLDivElement;
17
+ }, HTMLDivElement>;
18
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { CellValue, FieldDef } from '../table/FieldCell.vue';
2
+ type __VLS_Props = {
3
+ value?: CellValue;
4
+ field: FieldDef;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ commit: (value: CellValue) => any;
8
+ cancel: () => any;
9
+ tabNext: () => any;
10
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onCommit?: ((value: CellValue) => any) | undefined;
12
+ onCancel?: (() => any) | undefined;
13
+ onTabNext?: (() => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
15
+ inputRef: HTMLInputElement;
16
+ }, HTMLInputElement>;
17
+ export default _default;
@@ -0,0 +1,15 @@
1
+ import { CellValue, FieldDef } from '../table/FieldCell.vue';
2
+ type __VLS_Props = {
3
+ value?: CellValue;
4
+ field: FieldDef;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ commit: (value: CellValue) => any;
8
+ cancel: () => any;
9
+ tabNext: () => any;
10
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onCommit?: ((value: CellValue) => any) | undefined;
12
+ onCancel?: (() => any) | undefined;
13
+ onTabNext?: (() => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
15
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import { CellValue, FieldDef } from '../table/FieldCell.vue';
2
+ type __VLS_Props = {
3
+ value?: CellValue;
4
+ field: FieldDef;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ commit: (value: CellValue) => any;
8
+ cancel: () => any;
9
+ tabNext: () => any;
10
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onCommit?: ((value: CellValue) => any) | undefined;
12
+ onCancel?: (() => any) | undefined;
13
+ onTabNext?: (() => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
15
+ triggerRef: HTMLDivElement;
16
+ dropdownRef: HTMLDivElement;
17
+ }, HTMLDivElement>;
18
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { CellValue, FieldDef } from '../table/FieldCell.vue';
2
+ type __VLS_Props = {
3
+ value?: CellValue;
4
+ field: FieldDef;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ commit: (value: CellValue) => any;
8
+ cancel: () => any;
9
+ tabNext: () => any;
10
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onCommit?: ((value: CellValue) => any) | undefined;
12
+ onCancel?: (() => any) | undefined;
13
+ onTabNext?: (() => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
15
+ inputRef: HTMLInputElement;
16
+ }, HTMLInputElement>;
17
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { CellValue, FieldDef } from '../table/FieldCell.vue';
2
+ type __VLS_Props = {
3
+ value?: CellValue;
4
+ field: FieldDef;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ commit: (value: CellValue) => any;
8
+ cancel: () => any;
9
+ tabNext: () => any;
10
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onCommit?: ((value: CellValue) => any) | undefined;
12
+ onCancel?: (() => any) | undefined;
13
+ onTabNext?: (() => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
15
+ inputRef: HTMLInputElement;
16
+ }, HTMLInputElement>;
17
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { TableSchema } from '../../types';
2
+ type __VLS_Props = {
3
+ schema: TableSchema;
4
+ title?: string;
5
+ readonly?: boolean;
6
+ };
7
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ change: (schema: TableSchema) => any;
9
+ "update:schema": (schema: TableSchema) => any;
10
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onChange?: ((schema: TableSchema) => any) | undefined;
12
+ "onUpdate:schema"?: ((schema: TableSchema) => any) | undefined;
13
+ }>, {
14
+ title: string;
15
+ readonly: boolean;
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
17
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as FormDesigner } from './FormDesigner.vue';
@@ -0,0 +1,10 @@
1
+ import { GalleryItem } from '../../types';
2
+ type __VLS_Props = {
3
+ item: GalleryItem;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ click: (item: GalleryItem) => any;
7
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
8
+ onClick?: ((item: GalleryItem) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
10
+ export default _default;
@@ -0,0 +1,24 @@
1
+ import { DataRecord, GalleryItem } from '../../types';
2
+ type __VLS_Props = {
3
+ items?: GalleryItem[];
4
+ records?: DataRecord[];
5
+ coverFieldId?: string;
6
+ cardFieldIds?: string[];
7
+ columns?: number;
8
+ addable?: boolean;
9
+ };
10
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ add: () => any;
12
+ "card-click": (item: GalleryItem) => any;
13
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ onAdd?: (() => any) | undefined;
15
+ "onCard-click"?: ((item: GalleryItem) => any) | undefined;
16
+ }>, {
17
+ items: GalleryItem[];
18
+ columns: number;
19
+ records: DataRecord[];
20
+ addable: boolean;
21
+ coverFieldId: string;
22
+ cardFieldIds: string[];
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
24
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as GalleryCard } from './GalleryCard.vue';
2
+ export { default as GalleryView } from './GalleryView.vue';
@@ -0,0 +1,26 @@
1
+ import { DataRecord, KanbanColumnData, Task } from '../../types';
2
+ type __VLS_Props = {
3
+ columns?: KanbanColumnData[];
4
+ records?: DataRecord[];
5
+ kanbanFieldId?: string;
6
+ laneOrder?: string[];
7
+ laneTitles?: Record<string, string>;
8
+ addColumnVisible?: boolean;
9
+ };
10
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:columns": (columns: KanbanColumnData[]) => any;
12
+ "card-click": (task: Task) => any;
13
+ "add-column": () => any;
14
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ "onUpdate:columns"?: ((columns: KanbanColumnData[]) => any) | undefined;
16
+ "onCard-click"?: ((task: Task) => any) | undefined;
17
+ "onAdd-column"?: (() => any) | undefined;
18
+ }>, {
19
+ columns: KanbanColumnData[];
20
+ records: DataRecord[];
21
+ kanbanFieldId: string;
22
+ laneOrder: string[];
23
+ laneTitles: Record<string, string>;
24
+ addColumnVisible: boolean;
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
26
+ export default _default;