@tongfun/ui 0.0.1-alpha.4 → 0.0.1-alpha.5
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.d.ts +111 -0
- package/dist/index.js +175308 -144169
- package/dist/lowcode-agent/icons.d.ts +2 -1
- package/dist/lowcode-agent/icons.js +76 -0
- package/dist/lowcode-agent/index.d.ts +2 -0
- package/dist/lowcode-agent/index.js +34282 -9329
- package/dist/lowcode-agent/types.d.ts +161 -4
- package/dist/style.css +1 -1
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,9 @@ export declare const TfAffix: Component
|
|
|
4
4
|
export declare const TfAiActionMenu: Component
|
|
5
5
|
export declare const TfAiAssistant: Component
|
|
6
6
|
export declare const TfAiChat: Component
|
|
7
|
+
export declare const TfAiFab: Component
|
|
8
|
+
export declare const TfAiFabButton: Component
|
|
9
|
+
export declare const TfAiInsight: Component
|
|
7
10
|
export declare const TfAiOverlay: Component
|
|
8
11
|
export declare const TfAlert: Component
|
|
9
12
|
export declare const TfAnchor: Component
|
|
@@ -20,10 +23,14 @@ export declare const TfBusinessSelect: Component
|
|
|
20
23
|
export declare const TfButton: Component
|
|
21
24
|
export declare const TfCard: Component
|
|
22
25
|
export declare const TfCascader: Component
|
|
26
|
+
export declare const TfChangeTracking: Component
|
|
23
27
|
export declare const TfChart: Component
|
|
28
|
+
export declare const TfCoSignFlow: Component
|
|
29
|
+
export declare const TfCoSigningFlow: Component
|
|
24
30
|
export declare const TfCodeBlock: Component
|
|
25
31
|
export declare const TfColumnFilterPopover: Component
|
|
26
32
|
export declare const TfContainer: Component
|
|
33
|
+
export declare const TfDataGrid: Component
|
|
27
34
|
export declare const TfDataPicker: Component
|
|
28
35
|
export declare const TfDatePicker: Component
|
|
29
36
|
export declare const TfDateTimePicker: Component
|
|
@@ -85,6 +92,7 @@ export declare const TfInline: Component
|
|
|
85
92
|
export declare const TfInput: Component
|
|
86
93
|
export declare const TfInputSelect: Component
|
|
87
94
|
export declare const TfLineChart: Component
|
|
95
|
+
export declare const TfListFilter: Component
|
|
88
96
|
export declare const TfLoading: Component
|
|
89
97
|
export declare const TfLocationPicker: Component
|
|
90
98
|
export declare const TfMasterDetail: Component
|
|
@@ -93,16 +101,27 @@ export declare const TfMetric: Component
|
|
|
93
101
|
export declare const TfMetricGrid: Component
|
|
94
102
|
export declare const TfModal: Component
|
|
95
103
|
export declare const TfNotification: Component
|
|
104
|
+
export declare const TfNotifyProvider: Component
|
|
96
105
|
export declare const TfNumberInput: Component
|
|
97
106
|
export declare const TfPage: Component
|
|
98
107
|
export declare const TfPageHeader: Component
|
|
99
108
|
export declare const TfPageableGrid: Component
|
|
100
109
|
export declare const TfPagination: Component
|
|
110
|
+
export declare const TfParticipantList: Component
|
|
111
|
+
export declare const TfRedHeader: Component
|
|
112
|
+
export declare const TfRedHeaderConfig: Component
|
|
113
|
+
export declare const TfRichTextEditor: Component
|
|
114
|
+
export declare const TfScoreMetric: Component
|
|
115
|
+
export declare const TfSealSelector: Component
|
|
101
116
|
export declare const TfSection: Component
|
|
117
|
+
export declare const TfSectionHeading: Component
|
|
102
118
|
export declare const TfSelect: Component
|
|
103
119
|
export declare const TfSideNav: Component
|
|
104
120
|
export declare const TfSidebarLayout: Component
|
|
105
121
|
export declare const TfSignature: Component
|
|
122
|
+
export declare const TfSignaturePad: Component
|
|
123
|
+
export declare const TfSignaturePosition: Component
|
|
124
|
+
export declare const TfSignatureVerify: Component
|
|
106
125
|
export declare const TfSkeleton: Component
|
|
107
126
|
export declare const TfSlider: Component
|
|
108
127
|
export declare const TfSplit: Component
|
|
@@ -122,12 +141,18 @@ export declare const TfTabsContent: Component
|
|
|
122
141
|
export declare const TfTabsList: Component
|
|
123
142
|
export declare const TfTabsTrigger: Component
|
|
124
143
|
export declare const TfTag: Component
|
|
144
|
+
export declare const TfTemplateEditor: Component
|
|
145
|
+
export declare const TfTemplateManager: Component
|
|
146
|
+
export declare const TfTemplatePreview: Component
|
|
125
147
|
export declare const TfTextArea: Component
|
|
126
148
|
export declare const TfTimePicker: Component
|
|
127
149
|
export declare const TfTimeline: Component
|
|
128
150
|
export declare const TfTimelineItem: Component
|
|
151
|
+
export declare const TfTitleBar: Component
|
|
129
152
|
export declare const TfToolbar: Component
|
|
130
153
|
export declare const TfTypography: Component
|
|
154
|
+
export declare const TfVersionDiff: Component
|
|
155
|
+
export declare const TfVersionList: Component
|
|
131
156
|
export declare const TfWatermark: Component
|
|
132
157
|
|
|
133
158
|
export declare const TfUI: Plugin
|
|
@@ -149,6 +174,92 @@ export interface DocumentFormFieldAccess {
|
|
|
149
174
|
}
|
|
150
175
|
}
|
|
151
176
|
|
|
177
|
+
export type SidebarLayoutPosition = 'left' | 'right'
|
|
178
|
+
|
|
179
|
+
export type SidebarLayoutSurface = 'plain' | 'card'
|
|
180
|
+
export type SidebarLayoutSurfaceTone = 'white' | 'neutral'
|
|
181
|
+
export type SidebarLayoutBreakpoint = 'md' | 'lg' | 'xl'
|
|
182
|
+
export type SidebarLayoutGap = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl'
|
|
183
|
+
|
|
184
|
+
export type SidebarSectionNavigationScrollBehavior = 'auto' | 'smooth'
|
|
185
|
+
|
|
186
|
+
export type SidebarNavigationWarningCode =
|
|
187
|
+
| 'missing-navigation'
|
|
188
|
+
| 'multiple-navigation'
|
|
189
|
+
| 'missing-groups'
|
|
190
|
+
| 'missing-section-id'
|
|
191
|
+
| 'duplicate-section-id'
|
|
192
|
+
| 'unmatched-navigation-item'
|
|
193
|
+
| 'missing-navigation-item-id'
|
|
194
|
+
|
|
195
|
+
export interface SidebarSectionNavigationOptions {
|
|
196
|
+
enabled?: boolean
|
|
197
|
+
/** 额外滚动间距;组件会自动叠加当前滚动根顶部可见的吸顶区域高度 */
|
|
198
|
+
scrollOffset?: number
|
|
199
|
+
scrollBehavior?: SidebarSectionNavigationScrollBehavior
|
|
200
|
+
syncActiveOnScroll?: boolean
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export interface SidebarNavigationWarning {
|
|
204
|
+
code: SidebarNavigationWarningCode
|
|
205
|
+
id?: string
|
|
206
|
+
message: string
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
export interface SidebarLayoutProps {
|
|
210
|
+
/** 侧边栏展开宽度,默认 240px */
|
|
211
|
+
sidebarWidth?: string
|
|
212
|
+
/** 侧边栏收起宽度,默认 64px */
|
|
213
|
+
collapsedWidth?: string
|
|
214
|
+
/** 是否收起,默认 false */
|
|
215
|
+
collapsed?: boolean
|
|
216
|
+
/** 是否可收起,默认 false */
|
|
217
|
+
collapsible?: boolean
|
|
218
|
+
/** 侧边栏位置,默认 left */
|
|
219
|
+
position?: SidebarLayoutPosition
|
|
220
|
+
/** 是否占满高度,默认 true */
|
|
221
|
+
fullHeight?: boolean
|
|
222
|
+
/** 右侧栏宽度,默认 undefined(不渲染) */
|
|
223
|
+
rightWidth?: string
|
|
224
|
+
/** 右侧栏 < breakpoint 时隐藏,默认 'xl' */
|
|
225
|
+
rightCollapseBreakpoint?: SidebarLayoutBreakpoint
|
|
226
|
+
/** 整体外观:plain 透明 / card 卡片化,默认 plain */
|
|
227
|
+
surface?: SidebarLayoutSurface
|
|
228
|
+
/** surface=card 时背景色,默认 white */
|
|
229
|
+
surfaceTone?: SidebarLayoutSurfaceTone
|
|
230
|
+
/** 侧栏粘性定位(仅 fullHeight=false 生效),默认 false。
|
|
231
|
+
* true 时:解除 sidebar/main 的独立滚动,sidebar 随页面滚动粘顶,
|
|
232
|
+
* 顶部偏移由 CSS 变量 --tf-sidebar-layout-sticky-top 控制(默认 16px)。 */
|
|
233
|
+
stickySidebar?: boolean
|
|
234
|
+
/** 侧栏、主内容、右侧栏之间的布局间距,默认 none */
|
|
235
|
+
gap?: SidebarLayoutGap
|
|
236
|
+
/** 是否显示侧栏分割线,默认 true */
|
|
237
|
+
showDivider?: boolean
|
|
238
|
+
/** surface=card 时是否显示外层边框,默认 true */
|
|
239
|
+
showSurfaceBorder?: boolean
|
|
240
|
+
sectionNavigation?: SidebarSectionNavigationOptions
|
|
241
|
+
activeSection?: string
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export interface SidebarLayoutEmits {
|
|
245
|
+
/** 收起状态变更,用于 v-model:collapsed */
|
|
246
|
+
'update:collapsed': [value: boolean]
|
|
247
|
+
/** 点击触发器切换收起状态时触发 */
|
|
248
|
+
collapse: [value: boolean]
|
|
249
|
+
'section-change': [sectionId: string]
|
|
250
|
+
'navigation-warning': [warning: SidebarNavigationWarning]
|
|
251
|
+
'update:activeSection': [value: string]
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
export interface SidebarLayoutSlots {
|
|
255
|
+
sidebar?: (_: any) => any
|
|
256
|
+
main?: (_: any) => any
|
|
257
|
+
default?: (_: any) => any
|
|
258
|
+
trigger?: (_: any) => any
|
|
259
|
+
right?: (_: any) => any
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
|
|
152
263
|
export declare const DOCUMENT_FORM_FIELD_ACCESS_KEY: unique symbol
|
|
153
264
|
export declare const DOCUMENT_FORM_SHELL_CONTEXT_KEY: unique symbol
|
|
154
265
|
|