@oneflowui/ui 0.5.7 → 0.5.9
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 +11 -0
- package/dist/components/ContextMenu/index.vue.js +2 -2
- package/dist/components/Dashboard/index.vue.d.ts +1 -1
- package/dist/components/Dashboard/index.vue.js +3 -3
- package/dist/components/database/DatabaseView.vue.d.ts +6 -1
- package/dist/components/database/DatabaseView.vue.js +2 -2
- package/dist/components/database/DatabaseView.vue2.js +438 -293
- package/dist/components/overlay/Drawer.vue.d.ts +1 -1
- package/dist/components/overlay/Modal.vue.d.ts +1 -1
- package/dist/components/table/ColumnHeaderMenu.vue.d.ts +2 -2
- package/dist/components/table/DataTable.vue.d.ts +3 -1
- package/dist/components/table/DataTable.vue.js +2 -2
- package/dist/components/table/DataTable.vue2.js +598 -526
- package/dist/components/table/DetailSheet.vue.d.ts +2 -0
- package/dist/components/table/DetailSheet.vue.js +2 -2
- package/dist/components/table/DetailSheet.vue2.js +155 -76
- package/dist/components/table/TableDataRow.vue.d.ts +3 -1
- package/dist/components/table/TableDataRow.vue.js +3 -3
- package/dist/components/table/TableDataRow.vue2.js +95 -68
- package/dist/components/table/TableHeaderRow.vue.d.ts +3 -1
- package/dist/components/table/TableHeaderRow.vue.js +3 -3
- package/dist/components/table/TableHeaderRow.vue2.js +96 -60
- package/dist/composables/useColumnResize.d.ts +4 -1
- package/dist/composables/useColumnResize.js +114 -45
- package/dist/composables/useRowDrag.d.ts +1 -1
- package/dist/composables/useVirtualList.d.ts +1 -0
- package/dist/composables/useVirtualList.js +89 -77
- package/dist/plugin.js +240 -171
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/utils/icon.js +25 -68
- package/dist/utils/iconRegistry.d.ts +7 -0
- package/dist/utils/iconRegistry.js +60 -0
- package/package.json +1 -1
package/dist/plugin.js
CHANGED
|
@@ -1,198 +1,267 @@
|
|
|
1
|
-
import
|
|
2
|
-
import i from "./components/ContextMenu/index.vue.js";
|
|
1
|
+
import { defineAsyncComponent as i } from "vue";
|
|
3
2
|
/* empty css */
|
|
4
3
|
/* empty css */
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
import
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
import
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
import
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
4
|
+
function t(n, r) {
|
|
5
|
+
const o = i(() => n().then((e) => e.default));
|
|
6
|
+
return o.name = r, o;
|
|
7
|
+
}
|
|
8
|
+
const a = t(() => import("./components/base/ViewTab.vue.js"), "ViewTab"), s = t(() => import("./components/base/ToolbarBtn.vue.js"), "ToolbarBtn"), m = t(() => import("./components/base/AddViewBtn.vue.js"), "AddViewBtn"), c = t(() => import("./components/base/Badge.vue.js"), "Badge"), p = t(() => import("./components/base/RangeSlider.vue.js"), "RangeSlider"), l = t(() => import("./components/base/ProgressBar.vue.js"), "ProgressBar"), d = t(() => import("./components/base/ButtonGroup.vue.js"), "ButtonGroup"), u = t(() => import("./components/base/EmptyState.vue.js"), "EmptyState"), b = t(
|
|
9
|
+
() => import("./components/base/StatisticCard.vue.js"),
|
|
10
|
+
"StatisticCard"
|
|
11
|
+
), C = t(
|
|
12
|
+
() => import("./components/base/DropdownMenu.vue.js"),
|
|
13
|
+
"DropdownMenu"
|
|
14
|
+
), T = t(
|
|
15
|
+
() => import("./components/base/StatusIndicator.vue.js"),
|
|
16
|
+
"StatusIndicator"
|
|
17
|
+
), w = t(() => import("./components/base/Switch.vue.js"), "Switch"), B = t(() => import("./components/base/Stepper.vue.js"), "Stepper"), S = t(() => import("./components/base/Accordion.vue.js"), "Accordion"), g = t(() => import("./components/base/Avatar.vue.js"), "Avatar"), h = t(() => import("./components/base/RefTag.vue.js"), "RefTag"), P = t(() => import("./components/base/DescBlock.vue.js"), "DescBlock"), M = t(
|
|
18
|
+
() => import("./components/base/ViewModeGroup.vue.js"),
|
|
19
|
+
"ViewModeGroup"
|
|
20
|
+
), A = t(
|
|
21
|
+
() => import("./components/base/ViewSwitcher.vue.js"),
|
|
22
|
+
"ViewSwitcher"
|
|
23
|
+
), D = t(
|
|
24
|
+
() => import("./components/base/SelectBadge.vue.js"),
|
|
25
|
+
"SelectBadge"
|
|
26
|
+
), R = t(() => import("./components/base/ChainItem.vue.js"), "ChainItem"), k = t(
|
|
27
|
+
() => import("./components/base/SectionBlock.vue.js"),
|
|
28
|
+
"SectionBlock"
|
|
29
|
+
), y = t(
|
|
30
|
+
() => import("./components/base/MonitorItem.vue.js"),
|
|
31
|
+
"MonitorItem"
|
|
32
|
+
), I = t(
|
|
33
|
+
() => import("./components/base/StatusSummary.vue.js"),
|
|
34
|
+
"StatusSummary"
|
|
35
|
+
), G = t(() => import("./components/base/InfoCard.vue.js"), "InfoCard"), f = t(
|
|
36
|
+
() => import("./components/base/PersonaCard.vue.js"),
|
|
37
|
+
"PersonaCard"
|
|
38
|
+
), F = t(
|
|
39
|
+
() => import("./components/base/SearchHighlight.vue.js"),
|
|
40
|
+
"SearchHighlight"
|
|
41
|
+
), V = t(() => import("./components/layout/AppLayout.vue.js"), "AppLayout"), v = t(() => import("./components/layout/Navbar.vue.js"), "Navbar"), L = t(() => import("./components/layout/Sidebar.vue.js"), "Sidebar"), H = t(() => import("./components/layout/StatusBar.vue.js"), "StatusBar"), K = t(() => import("./components/overlay/Modal.vue.js"), "Modal"), N = t(() => import("./components/overlay/Dialog.vue.js"), "Dialog"), x = t(() => import("./components/overlay/Drawer.vue.js"), "Drawer"), E = t(() => import("./components/overlay/SidePanel.vue.js"), "SidePanel"), U = t(
|
|
42
|
+
() => import("./components/toast/ToastContainer.vue3.js"),
|
|
43
|
+
"ToastContainer"
|
|
44
|
+
), Q = t(() => import("./components/toast/ToastItem.vue.js"), "ToastItem"), _ = t(() => import("./components/tabs/Tabs.vue.js"), "Tabs"), z = t(() => import("./components/tabs/TabPanel.vue.js"), "TabPanel"), O = t(
|
|
45
|
+
() => import("./components/breadcrumb/Breadcrumb.vue.js"),
|
|
46
|
+
"Breadcrumb"
|
|
47
|
+
), j = t(
|
|
48
|
+
() => import("./components/breadcrumb/BreadcrumbItem.vue.js"),
|
|
49
|
+
"BreadcrumbItem"
|
|
50
|
+
), q = t(() => import("./components/table/DataTable.vue.js"), "DataTable"), J = t(
|
|
51
|
+
() => import("./components/table/TableHeaderRow.vue.js"),
|
|
52
|
+
"TableHeaderRow"
|
|
53
|
+
), W = t(
|
|
54
|
+
() => import("./components/table/TableDataRow.vue.js"),
|
|
55
|
+
"TableDataRow"
|
|
56
|
+
), X = t(
|
|
57
|
+
() => import("./components/table/TableGroupRow.vue.js"),
|
|
58
|
+
"TableGroupRow"
|
|
59
|
+
), Y = t(() => import("./components/table/NewRowBtn.vue.js"), "NewRowBtn"), Z = t(
|
|
60
|
+
() => import("./components/table/TableFilterPanel.vue.js"),
|
|
61
|
+
"TableFilterPanel"
|
|
62
|
+
), $ = t(
|
|
63
|
+
() => import("./components/table/TableColumnManager.vue.js"),
|
|
64
|
+
"TableColumnManager"
|
|
65
|
+
), tt = t(
|
|
66
|
+
() => import("./components/table/TableToolbar.vue.js"),
|
|
67
|
+
"TableToolbar"
|
|
68
|
+
), ot = t(() => import("./components/table/FieldCell.vue.js"), "FieldCell"), rt = t(
|
|
69
|
+
() => import("./components/table/FieldTypePicker.vue.js"),
|
|
70
|
+
"FieldTypePicker"
|
|
71
|
+
), nt = t(
|
|
72
|
+
() => import("./components/table/ColumnHeaderMenu.vue.js"),
|
|
73
|
+
"ColumnHeaderMenu"
|
|
74
|
+
), et = t(
|
|
75
|
+
() => import("./components/field/FieldMarkdownPreview.vue.js"),
|
|
76
|
+
"FieldMarkdownPreview"
|
|
77
|
+
), it = t(
|
|
78
|
+
() => import("./components/kanban/KanbanBoard.vue.js"),
|
|
79
|
+
"KanbanBoard"
|
|
80
|
+
), at = t(
|
|
81
|
+
() => import("./components/kanban/KanbanColumn.vue.js"),
|
|
82
|
+
"KanbanColumn"
|
|
83
|
+
), st = t(
|
|
84
|
+
() => import("./components/kanban/KanbanCard.vue.js"),
|
|
85
|
+
"KanbanCard"
|
|
86
|
+
), mt = t(
|
|
87
|
+
() => import("./components/kanban/QuickAddRow.vue.js"),
|
|
88
|
+
"QuickAddRow"
|
|
89
|
+
), ct = t(
|
|
90
|
+
() => import("./components/gallery/GalleryView.vue.js"),
|
|
91
|
+
"GalleryView"
|
|
92
|
+
), pt = t(
|
|
93
|
+
() => import("./components/gallery/GalleryCard.vue.js"),
|
|
94
|
+
"GalleryCard"
|
|
95
|
+
), lt = t(
|
|
96
|
+
() => import("./components/timeline/ActivityTimeline.vue.js"),
|
|
97
|
+
"ActivityTimeline"
|
|
98
|
+
), dt = t(
|
|
99
|
+
() => import("./components/timeline/GanttTimeline.vue.js"),
|
|
100
|
+
"GanttTimeline"
|
|
101
|
+
), ut = t(() => import("./components/timeline/GanttRow.vue.js"), "GanttRow"), bt = t(
|
|
102
|
+
() => import("./components/editor/ContentBlock.vue.js"),
|
|
103
|
+
"ContentBlock"
|
|
104
|
+
), Ct = t(
|
|
105
|
+
() => import("./components/editor/BlockQuote.vue.js"),
|
|
106
|
+
"BlockQuote"
|
|
107
|
+
), Tt = t(() => import("./components/editor/CodeBlock.vue.js"), "CodeBlock"), wt = t(() => import("./components/editor/RefLink.vue.js"), "RefLink"), Bt = t(
|
|
108
|
+
() => import("./components/editor/RichTextEditor.vue.js"),
|
|
109
|
+
"RichTextEditor"
|
|
110
|
+
), St = t(
|
|
111
|
+
() => import("./components/form/FormDesigner.vue.js"),
|
|
112
|
+
"FormDesigner"
|
|
113
|
+
), gt = t(
|
|
114
|
+
() => import("./components/database/DatabaseView.vue.js"),
|
|
115
|
+
"DatabaseView"
|
|
116
|
+
), ht = t(
|
|
117
|
+
() => import("./components/auxiliary/ColorPanel.vue.js"),
|
|
118
|
+
"ColorPanel"
|
|
119
|
+
), Pt = t(
|
|
120
|
+
() => import("./components/auxiliary/PersonPanel.vue.js"),
|
|
121
|
+
"PersonPanel"
|
|
122
|
+
), Mt = t(
|
|
123
|
+
() => import("./components/auxiliary/FileUpload.vue.js"),
|
|
124
|
+
"FileUpload"
|
|
125
|
+
), At = t(
|
|
126
|
+
() => import("./components/detail/DetailLayout.vue.js"),
|
|
127
|
+
"DetailLayout"
|
|
128
|
+
), Dt = t(() => import("./components/detail/PropPanel.vue.js"), "PropPanel"), Rt = t(() => import("./components/detail/PropRow.vue.js"), "PropRow"), kt = t(
|
|
129
|
+
() => import("./components/detail/CommentItem.vue.js"),
|
|
130
|
+
"CommentItem"
|
|
131
|
+
), yt = t(() => import("./components/Dashboard/index.vue.js"), "Dashboard"), It = t(
|
|
132
|
+
() => import("./components/Dashboard/charts/BarChart.vue.js"),
|
|
133
|
+
"BarChart"
|
|
134
|
+
), Gt = t(
|
|
135
|
+
() => import("./components/Dashboard/charts/PieChart.vue.js"),
|
|
136
|
+
"PieChart"
|
|
137
|
+
), ft = t(
|
|
138
|
+
() => import("./components/Dashboard/charts/DoughnutChart.vue2.js"),
|
|
139
|
+
"DoughnutChart"
|
|
140
|
+
), Ft = t(
|
|
141
|
+
() => import("./components/Dashboard/charts/NumberCard.vue.js"),
|
|
142
|
+
"NumberCard"
|
|
143
|
+
), Vt = t(
|
|
144
|
+
() => import("./components/Dashboard/charts/TableChart.vue.js"),
|
|
145
|
+
"TableChart"
|
|
146
|
+
), vt = t(() => import("./components/ai/AiThinking.vue.js"), "AiThinking"), Lt = t(
|
|
147
|
+
() => import("./components/ai/AiStreamingCursor.vue.js"),
|
|
148
|
+
"AiStreamingCursor"
|
|
149
|
+
), Ht = t(
|
|
150
|
+
() => import("./components/ai/AiMessageBubble.vue.js"),
|
|
151
|
+
"AiMessageBubble"
|
|
152
|
+
), Kt = t(
|
|
153
|
+
() => import("./components/ai/UserMessageBubble.vue.js"),
|
|
154
|
+
"UserMessageBubble"
|
|
155
|
+
), Nt = t(
|
|
156
|
+
() => import("./components/ai/AiMessageList.vue.js"),
|
|
157
|
+
"AiMessageList"
|
|
158
|
+
), xt = t(() => import("./components/ai/AiSender.vue.js"), "AiSender"), Et = t(
|
|
159
|
+
() => import("./components/mermaid/MermaidChart.vue.js"),
|
|
160
|
+
"MermaidChart"
|
|
161
|
+
), Ut = t(() => import("./components/split/SplitPane.vue.js"), "SplitPane"), Qt = t(
|
|
162
|
+
() => import("./components/ContextMenu/index.vue.js"),
|
|
163
|
+
"ContextMenu"
|
|
164
|
+
), _t = [
|
|
98
165
|
a,
|
|
99
|
-
f,
|
|
100
|
-
n,
|
|
101
|
-
l,
|
|
102
|
-
d,
|
|
103
166
|
s,
|
|
104
|
-
|
|
167
|
+
m,
|
|
105
168
|
c,
|
|
169
|
+
p,
|
|
170
|
+
l,
|
|
171
|
+
d,
|
|
106
172
|
u,
|
|
107
|
-
|
|
173
|
+
b,
|
|
108
174
|
C,
|
|
109
175
|
T,
|
|
176
|
+
w,
|
|
110
177
|
B,
|
|
111
178
|
S,
|
|
112
179
|
g,
|
|
113
|
-
P,
|
|
114
|
-
h,
|
|
115
|
-
M,
|
|
116
|
-
A,
|
|
117
|
-
R,
|
|
118
|
-
k,
|
|
119
|
-
D,
|
|
120
|
-
y,
|
|
121
|
-
I,
|
|
122
|
-
G,
|
|
123
|
-
F,
|
|
124
180
|
V,
|
|
125
|
-
_,
|
|
126
|
-
t,
|
|
127
181
|
v,
|
|
128
182
|
L,
|
|
129
|
-
x,
|
|
130
|
-
E,
|
|
131
183
|
H,
|
|
132
|
-
K,
|
|
133
|
-
N,
|
|
134
|
-
U,
|
|
135
|
-
Q,
|
|
136
|
-
O,
|
|
137
|
-
$,
|
|
138
|
-
j,
|
|
139
184
|
q,
|
|
140
|
-
z,
|
|
141
185
|
J,
|
|
142
186
|
W,
|
|
143
187
|
X,
|
|
144
188
|
Y,
|
|
145
189
|
Z,
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
+
$,
|
|
191
|
+
tt,
|
|
192
|
+
ot,
|
|
193
|
+
rt,
|
|
194
|
+
nt,
|
|
195
|
+
et,
|
|
196
|
+
it,
|
|
197
|
+
at,
|
|
198
|
+
st,
|
|
199
|
+
mt,
|
|
200
|
+
ct,
|
|
201
|
+
pt,
|
|
202
|
+
lt,
|
|
203
|
+
dt,
|
|
204
|
+
ut,
|
|
205
|
+
bt,
|
|
206
|
+
Ct,
|
|
207
|
+
Tt,
|
|
208
|
+
wt,
|
|
209
|
+
Bt,
|
|
210
|
+
St,
|
|
211
|
+
gt,
|
|
212
|
+
ht,
|
|
213
|
+
Pt,
|
|
214
|
+
Mt,
|
|
215
|
+
At,
|
|
216
|
+
Dt,
|
|
217
|
+
Rt,
|
|
218
|
+
kt,
|
|
219
|
+
yt,
|
|
220
|
+
It,
|
|
221
|
+
Gt,
|
|
222
|
+
ft,
|
|
223
|
+
Ft,
|
|
224
|
+
Vt,
|
|
225
|
+
vt,
|
|
226
|
+
Lt,
|
|
227
|
+
Ht,
|
|
228
|
+
Kt,
|
|
229
|
+
Nt,
|
|
230
|
+
xt,
|
|
231
|
+
K,
|
|
232
|
+
N,
|
|
233
|
+
x,
|
|
234
|
+
E,
|
|
235
|
+
U,
|
|
236
|
+
Q,
|
|
237
|
+
_,
|
|
238
|
+
z,
|
|
239
|
+
O,
|
|
240
|
+
j,
|
|
241
|
+
Et,
|
|
242
|
+
Ut,
|
|
243
|
+
h,
|
|
244
|
+
P,
|
|
245
|
+
M,
|
|
246
|
+
A,
|
|
247
|
+
Qt,
|
|
248
|
+
D,
|
|
249
|
+
R,
|
|
250
|
+
k,
|
|
251
|
+
y,
|
|
252
|
+
I,
|
|
253
|
+
G,
|
|
254
|
+
f,
|
|
255
|
+
F
|
|
256
|
+
], qt = {
|
|
257
|
+
install(n) {
|
|
258
|
+
_t.forEach((r) => {
|
|
190
259
|
const o = r;
|
|
191
|
-
|
|
260
|
+
n.component(o.name || o.__name || "", r);
|
|
192
261
|
});
|
|
193
262
|
}
|
|
194
263
|
};
|
|
195
264
|
export {
|
|
196
|
-
|
|
197
|
-
|
|
265
|
+
qt as OneflowUI,
|
|
266
|
+
qt as default
|
|
198
267
|
};
|