@talex-touch/tuffex-wc 0.0.0-stage → 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.
- package/LICENSE +373 -0
- package/README.md +47 -2
- package/dist/chunks/TxImageGeneration.js +28478 -0
- package/dist/chunks/base-a.js +1223 -0
- package/dist/chunks/base-b.js +1648 -0
- package/dist/chunks/core.esm.js +2327 -0
- package/dist/chunks/glyphs-ai-1.js +33 -0
- package/dist/chunks/glyphs-ai-2.js +55 -0
- package/dist/chunks/glyphs-brand-1.js +23 -0
- package/dist/chunks/glyphs-brand-2.js +33 -0
- package/dist/chunks/glyphs-brand-3.js +40 -0
- package/dist/chunks/glyphs-icon-1.js +144 -0
- package/dist/chunks/glyphs-icon-2.js +124 -0
- package/dist/chunks/pinyin.js +4 -0
- package/dist/chunks/pull-down.esm.js +336 -0
- package/dist/chunks/pull-up.esm.js +234 -0
- package/dist/chunks/scroll-bar.esm.js +768 -0
- package/dist/chunks/tier-a.js +426 -0
- package/dist/chunks/tier-b.js +897 -0
- package/dist/chunks/tier-c.js +72 -0
- package/dist/chunks/tuffex-data.js +9757 -0
- package/dist/chunks/tuffex-extras.js +11692 -0
- package/dist/chunks/tuffex-media.js +13475 -0
- package/dist/chunks/tuffex-shared.js +17671 -0
- package/dist/chunks/vue-export-helper.js +10 -0
- package/dist/chunks/wc-runtime.js +922 -0
- package/dist/elements/base-a.d.ts +145 -0
- package/dist/elements/base-b.d.ts +129 -0
- package/dist/elements/index.d.ts +22 -0
- package/dist/elements/tier-a.d.ts +55 -0
- package/dist/elements/tier-b.d.ts +58 -0
- package/dist/elements/tier-c.d.ts +7 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +320 -0
- package/dist/manifest.d.ts +19 -0
- package/dist/manifest.js +1377 -0
- package/dist/runtime/coerce.d.ts +38 -0
- package/dist/runtime/events.d.ts +17 -0
- package/dist/runtime/factory.d.ts +129 -0
- package/dist/runtime/styles.d.ts +20 -0
- package/dist/style.css +1 -0
- package/dist/types.d.ts +1861 -0
- package/package.json +75 -3
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,1861 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { TxBreadcrumbItemSpec } from './elements/base-a';
|
|
3
|
+
import { TxStepsFormStepSpec } from './elements/base-b';
|
|
4
|
+
import { TxTabItemSpec } from './elements/tier-b';
|
|
5
|
+
import { TuffexElementTagName } from './manifest';
|
|
6
|
+
/** Helper allowing string attribute values in HTML/JSX for custom element props. */
|
|
7
|
+
export type WcAttrProps<T> = {
|
|
8
|
+
[K in keyof T]?: T[K] | string;
|
|
9
|
+
};
|
|
10
|
+
export type TxBaseSurfaceMode = 'pure' | 'mask' | 'blur' | 'glass' | 'refraction' | 'acrylic' | 'mica' | 'flat' | 'plain';
|
|
11
|
+
export interface TxButtonWcProps {
|
|
12
|
+
variant?: 'primary' | 'secondary' | 'ghost' | 'danger' | 'success' | 'warning' | 'info' | 'flat' | 'bare';
|
|
13
|
+
size?: 'sm' | 'md' | 'lg' | 'small' | 'default' | 'large' | 'mini';
|
|
14
|
+
block?: boolean;
|
|
15
|
+
type?: 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'text';
|
|
16
|
+
plain?: boolean;
|
|
17
|
+
dashed?: boolean;
|
|
18
|
+
round?: boolean;
|
|
19
|
+
circle?: boolean;
|
|
20
|
+
loading?: boolean;
|
|
21
|
+
loadingVariant?: 'spinner' | 'bar';
|
|
22
|
+
progress?: number;
|
|
23
|
+
showProgress?: boolean;
|
|
24
|
+
formatProgress?: (percentage: number) => string;
|
|
25
|
+
status?: '' | 'success' | 'warning' | 'error';
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
border?: boolean;
|
|
28
|
+
icon?: string;
|
|
29
|
+
autofocus?: boolean;
|
|
30
|
+
nativeType?: 'button' | 'submit' | 'reset';
|
|
31
|
+
vibrate?: boolean;
|
|
32
|
+
vibrateType?: 'bit' | 'light' | 'medium' | 'heavy' | 'success' | 'warning' | 'error';
|
|
33
|
+
}
|
|
34
|
+
export interface TxBadgeWcProps {
|
|
35
|
+
variant?: 'default' | 'primary' | 'success' | 'warning' | 'error';
|
|
36
|
+
value?: number | string;
|
|
37
|
+
color?: string;
|
|
38
|
+
dot?: boolean;
|
|
39
|
+
open?: boolean;
|
|
40
|
+
}
|
|
41
|
+
export interface TxTagWcProps {
|
|
42
|
+
label?: string | null;
|
|
43
|
+
icon?: string;
|
|
44
|
+
color?: string;
|
|
45
|
+
background?: string;
|
|
46
|
+
border?: string;
|
|
47
|
+
size?: 'sm' | 'md';
|
|
48
|
+
pill?: boolean;
|
|
49
|
+
variant?: 'outline' | 'soft' | 'plain';
|
|
50
|
+
dot?: string;
|
|
51
|
+
dotSize?: number;
|
|
52
|
+
count?: number;
|
|
53
|
+
closable?: boolean;
|
|
54
|
+
closeAriaLabel?: string;
|
|
55
|
+
disabled?: boolean;
|
|
56
|
+
}
|
|
57
|
+
export interface TxAvatarWcProps {
|
|
58
|
+
src?: string;
|
|
59
|
+
alt?: string;
|
|
60
|
+
name?: string;
|
|
61
|
+
icon?: string;
|
|
62
|
+
size?: 'small' | 'medium' | 'large' | 'xlarge' | number | string;
|
|
63
|
+
status?: 'online' | 'offline' | 'busy' | 'away';
|
|
64
|
+
shape?: 'circle' | 'square' | 'rounded';
|
|
65
|
+
clickable?: boolean;
|
|
66
|
+
backgroundColor?: string;
|
|
67
|
+
textColor?: string;
|
|
68
|
+
}
|
|
69
|
+
export interface TxSpinnerWcProps {
|
|
70
|
+
size?: number;
|
|
71
|
+
strokeWidth?: number;
|
|
72
|
+
fallback?: boolean;
|
|
73
|
+
visible?: boolean;
|
|
74
|
+
label?: string;
|
|
75
|
+
}
|
|
76
|
+
export interface TxDividerWcProps {
|
|
77
|
+
direction?: 'horizontal' | 'vertical';
|
|
78
|
+
dashed?: boolean;
|
|
79
|
+
textPlacement?: 'left' | 'center' | 'right';
|
|
80
|
+
gradient?: boolean | 'start' | 'end' | 'both';
|
|
81
|
+
}
|
|
82
|
+
export interface TxAlertWcProps {
|
|
83
|
+
type?: 'info' | 'success' | 'warning' | 'error';
|
|
84
|
+
title?: string;
|
|
85
|
+
message?: string;
|
|
86
|
+
closable?: boolean;
|
|
87
|
+
showIcon?: boolean;
|
|
88
|
+
closeLabel?: string;
|
|
89
|
+
}
|
|
90
|
+
export interface TxCardWcProps {
|
|
91
|
+
variant?: 'solid' | 'dashed' | 'plain';
|
|
92
|
+
background?: TxBaseSurfaceMode;
|
|
93
|
+
shadow?: 'none' | 'soft' | 'medium';
|
|
94
|
+
size?: 'small' | 'medium' | 'large';
|
|
95
|
+
radius?: number;
|
|
96
|
+
padding?: number;
|
|
97
|
+
glassBlur?: boolean;
|
|
98
|
+
glassBlurAmount?: number;
|
|
99
|
+
glassOverlay?: boolean;
|
|
100
|
+
glassOverlayOpacity?: number;
|
|
101
|
+
maskOpacity?: number;
|
|
102
|
+
fallbackMaskOpacity?: number;
|
|
103
|
+
surfaceMoving?: boolean;
|
|
104
|
+
refractionStrength?: number;
|
|
105
|
+
refractionProfile?: 'soft' | 'filmic' | 'cinematic';
|
|
106
|
+
refractionTone?: 'mist' | 'balanced' | 'vivid';
|
|
107
|
+
refractionAngle?: number;
|
|
108
|
+
refractionRenderer?: 'css' | 'svg';
|
|
109
|
+
refractionGlassOpacity?: number;
|
|
110
|
+
refractionLightFollowMouse?: boolean;
|
|
111
|
+
refractionLightFollowIntensity?: number;
|
|
112
|
+
refractionLightSpring?: boolean;
|
|
113
|
+
refractionLightSpringStiffness?: number;
|
|
114
|
+
refractionLightSpringDamping?: number;
|
|
115
|
+
flowLight?: string | false;
|
|
116
|
+
flowLightIntensity?: number;
|
|
117
|
+
clickable?: boolean;
|
|
118
|
+
specular?: boolean;
|
|
119
|
+
loading?: boolean;
|
|
120
|
+
loadingSpinnerSize?: number;
|
|
121
|
+
disabled?: boolean;
|
|
122
|
+
inertial?: boolean;
|
|
123
|
+
inertialMaxOffset?: number;
|
|
124
|
+
inertialRebound?: number;
|
|
125
|
+
}
|
|
126
|
+
export interface TxKbdWcProps {
|
|
127
|
+
size?: 'sm' | 'md';
|
|
128
|
+
tone?: 'default' | 'primary';
|
|
129
|
+
}
|
|
130
|
+
export interface TxProgressWcProps {
|
|
131
|
+
percentage?: number;
|
|
132
|
+
status?: 'success' | 'error' | 'warning' | '';
|
|
133
|
+
strokeWidth?: number;
|
|
134
|
+
showText?: boolean;
|
|
135
|
+
indeterminate?: boolean;
|
|
136
|
+
format?: (percentage: number) => string;
|
|
137
|
+
}
|
|
138
|
+
export interface TxProgressSegmentWc {
|
|
139
|
+
value: number;
|
|
140
|
+
color?: string;
|
|
141
|
+
label?: string;
|
|
142
|
+
}
|
|
143
|
+
export interface TxProgressBarWcProps {
|
|
144
|
+
loading?: boolean;
|
|
145
|
+
indeterminate?: boolean;
|
|
146
|
+
indeterminateVariant?: 'classic' | 'sweep' | 'bounce' | 'elastic' | 'split';
|
|
147
|
+
error?: boolean;
|
|
148
|
+
success?: boolean;
|
|
149
|
+
status?: 'success' | 'error' | 'warning' | '';
|
|
150
|
+
message?: string;
|
|
151
|
+
detail?: string;
|
|
152
|
+
ariaLabel?: string;
|
|
153
|
+
percentage?: number;
|
|
154
|
+
segments?: TxProgressSegmentWc[];
|
|
155
|
+
segmentsTotal?: number;
|
|
156
|
+
height?: string;
|
|
157
|
+
showText?: boolean;
|
|
158
|
+
textPlacement?: 'inside' | 'outside' | 'top' | 'bottom';
|
|
159
|
+
format?: (percentage: number) => string;
|
|
160
|
+
flowEffect?: 'none' | 'shimmer' | 'wave' | 'stardust' | 'particles';
|
|
161
|
+
indicatorEffect?: 'none' | 'sparkle';
|
|
162
|
+
hoverEffect?: 'none' | 'glow';
|
|
163
|
+
color?: string;
|
|
164
|
+
maskVariant?: 'solid' | 'dashed' | 'plain';
|
|
165
|
+
maskBackground?: 'none' | 'blur' | 'glass' | 'mask';
|
|
166
|
+
tooltip?: boolean;
|
|
167
|
+
tooltipContent?: string;
|
|
168
|
+
tooltipProps?: Record<string, unknown>;
|
|
169
|
+
}
|
|
170
|
+
export interface TxSkeletonWcProps {
|
|
171
|
+
loading?: boolean;
|
|
172
|
+
variant?: 'text' | 'rect' | 'circle';
|
|
173
|
+
width?: string | number;
|
|
174
|
+
height?: string | number;
|
|
175
|
+
radius?: string | number;
|
|
176
|
+
lines?: number;
|
|
177
|
+
gap?: string | number;
|
|
178
|
+
}
|
|
179
|
+
export interface TxSwitchWcProps {
|
|
180
|
+
modelValue?: boolean;
|
|
181
|
+
checked?: boolean;
|
|
182
|
+
disabled?: boolean;
|
|
183
|
+
loading?: boolean;
|
|
184
|
+
size?: 'small' | 'default' | 'large';
|
|
185
|
+
label?: string;
|
|
186
|
+
labelPlacement?: 'start' | 'end';
|
|
187
|
+
ariaLabel?: string;
|
|
188
|
+
ariaLabelledby?: string;
|
|
189
|
+
}
|
|
190
|
+
export interface TxStatusBadgeWcProps {
|
|
191
|
+
text?: string;
|
|
192
|
+
icon?: string;
|
|
193
|
+
status?: 'success' | 'warning' | 'danger' | 'info' | 'muted';
|
|
194
|
+
statusKey?: string;
|
|
195
|
+
size?: 'sm' | 'md';
|
|
196
|
+
os?: 'macos' | 'windows' | 'linux';
|
|
197
|
+
osOnly?: boolean;
|
|
198
|
+
}
|
|
199
|
+
export interface TxStatusHintWcProps {
|
|
200
|
+
text?: string | number;
|
|
201
|
+
tone?: 'success' | 'warning' | 'danger' | 'info' | 'muted';
|
|
202
|
+
size?: 'sm' | 'md';
|
|
203
|
+
pulseKey?: string | number;
|
|
204
|
+
animated?: boolean;
|
|
205
|
+
live?: boolean;
|
|
206
|
+
}
|
|
207
|
+
export interface TxDotIndicatorWcProps {
|
|
208
|
+
color?: string;
|
|
209
|
+
label?: string;
|
|
210
|
+
size?: number;
|
|
211
|
+
ariaLabel?: string;
|
|
212
|
+
}
|
|
213
|
+
export interface TxEmptyWcProps {
|
|
214
|
+
title?: string;
|
|
215
|
+
description?: string;
|
|
216
|
+
iconClass?: string;
|
|
217
|
+
compact?: boolean;
|
|
218
|
+
}
|
|
219
|
+
export interface TxStatCardInsightWc {
|
|
220
|
+
from: number;
|
|
221
|
+
to: number;
|
|
222
|
+
type?: 'percent' | 'delta';
|
|
223
|
+
color?: string;
|
|
224
|
+
iconClass?: string;
|
|
225
|
+
suffix?: string;
|
|
226
|
+
precision?: number;
|
|
227
|
+
}
|
|
228
|
+
export interface TxStatCardWcProps {
|
|
229
|
+
value?: number | string;
|
|
230
|
+
label?: string;
|
|
231
|
+
iconClass?: string;
|
|
232
|
+
clickable?: boolean;
|
|
233
|
+
insight?: TxStatCardInsightWc;
|
|
234
|
+
variant?: 'default' | 'progress';
|
|
235
|
+
progress?: number;
|
|
236
|
+
meta?: string;
|
|
237
|
+
ariaLabel?: string;
|
|
238
|
+
}
|
|
239
|
+
export interface TxInputWcProps {
|
|
240
|
+
modelValue?: string | number;
|
|
241
|
+
value?: string | number;
|
|
242
|
+
placeholder?: string;
|
|
243
|
+
type?: 'text' | 'password' | 'textarea' | 'date' | 'email' | 'number';
|
|
244
|
+
disabled?: boolean;
|
|
245
|
+
readonly?: boolean;
|
|
246
|
+
clearable?: boolean;
|
|
247
|
+
rows?: number;
|
|
248
|
+
prefixIcon?: string;
|
|
249
|
+
suffixIcon?: string;
|
|
250
|
+
capsLockText?: string;
|
|
251
|
+
}
|
|
252
|
+
export interface TxTextareaWcProps {
|
|
253
|
+
modelValue?: string;
|
|
254
|
+
value?: string;
|
|
255
|
+
placeholder?: string;
|
|
256
|
+
rows?: number;
|
|
257
|
+
disabled?: boolean;
|
|
258
|
+
readonly?: boolean;
|
|
259
|
+
maxLength?: number;
|
|
260
|
+
showCount?: boolean;
|
|
261
|
+
resize?: 'none' | 'vertical' | 'horizontal' | 'both';
|
|
262
|
+
status?: 'default' | 'success' | 'error';
|
|
263
|
+
}
|
|
264
|
+
export interface TxCheckboxWcProps {
|
|
265
|
+
modelValue?: boolean;
|
|
266
|
+
checked?: boolean;
|
|
267
|
+
disabled?: boolean;
|
|
268
|
+
loading?: boolean;
|
|
269
|
+
label?: string;
|
|
270
|
+
labelPlacement?: 'start' | 'end';
|
|
271
|
+
variant?: 'fill' | 'checkmark';
|
|
272
|
+
ariaLabel?: string;
|
|
273
|
+
indeterminate?: boolean;
|
|
274
|
+
}
|
|
275
|
+
export interface TxRadioWcProps {
|
|
276
|
+
value?: string | number;
|
|
277
|
+
disabled?: boolean;
|
|
278
|
+
label?: string;
|
|
279
|
+
type?: 'button' | 'standard' | 'card';
|
|
280
|
+
modelValue?: boolean;
|
|
281
|
+
}
|
|
282
|
+
export interface TxRadioGroupWcProps {
|
|
283
|
+
modelValue?: string | number;
|
|
284
|
+
value?: string | number;
|
|
285
|
+
disabled?: boolean;
|
|
286
|
+
type?: 'button' | 'standard' | 'card';
|
|
287
|
+
direction?: 'row' | 'column';
|
|
288
|
+
indicatorVariant?: 'solid' | 'outline' | 'glass' | 'blur';
|
|
289
|
+
glass?: boolean;
|
|
290
|
+
blur?: boolean;
|
|
291
|
+
updateOnSettled?: boolean;
|
|
292
|
+
stiffness?: number;
|
|
293
|
+
damping?: number;
|
|
294
|
+
blurAmount?: number;
|
|
295
|
+
elastic?: boolean;
|
|
296
|
+
}
|
|
297
|
+
export interface TxSliderWcProps {
|
|
298
|
+
modelValue?: number;
|
|
299
|
+
value?: number;
|
|
300
|
+
min?: number;
|
|
301
|
+
max?: number;
|
|
302
|
+
step?: number;
|
|
303
|
+
disabled?: boolean;
|
|
304
|
+
active?: boolean;
|
|
305
|
+
overdrag?: boolean;
|
|
306
|
+
ariaLabel?: string;
|
|
307
|
+
ariaLabelledby?: string;
|
|
308
|
+
showValue?: boolean;
|
|
309
|
+
formatValue?: (value: number) => string;
|
|
310
|
+
thumbSurface?: boolean;
|
|
311
|
+
thumbVariant?: 'solid' | 'blur' | 'glass';
|
|
312
|
+
showTooltip?: boolean;
|
|
313
|
+
tooltipTrigger?: 'drag' | 'hover' | 'always';
|
|
314
|
+
tooltipFormatter?: (value: number) => string;
|
|
315
|
+
tooltipPlacement?: 'top' | 'bottom';
|
|
316
|
+
tooltipTilt?: boolean;
|
|
317
|
+
tooltipMotion?: 'blur' | 'fade' | 'none';
|
|
318
|
+
tooltipJelly?: boolean;
|
|
319
|
+
}
|
|
320
|
+
export interface TxTabsWcProps {
|
|
321
|
+
modelValue?: string;
|
|
322
|
+
value?: string;
|
|
323
|
+
defaultValue?: string;
|
|
324
|
+
placement?: 'left' | 'right' | 'top' | 'bottom';
|
|
325
|
+
offset?: number;
|
|
326
|
+
navMinWidth?: number;
|
|
327
|
+
navMaxWidth?: number;
|
|
328
|
+
contentPadding?: number;
|
|
329
|
+
contentScrollable?: boolean;
|
|
330
|
+
borderless?: boolean;
|
|
331
|
+
autoHeight?: boolean;
|
|
332
|
+
autoWidth?: boolean;
|
|
333
|
+
showIndicator?: boolean;
|
|
334
|
+
indicatorVariant?: 'line' | 'pill' | 'block' | 'dot' | 'outline';
|
|
335
|
+
indicatorMotion?: 'stretch' | 'warp' | 'glide' | 'snap' | 'spring';
|
|
336
|
+
indicatorMotionStrength?: number;
|
|
337
|
+
autoHeightDurationMs?: number;
|
|
338
|
+
autoHeightEasing?: string;
|
|
339
|
+
animation?: Record<string, unknown>;
|
|
340
|
+
items?: TxTabItemSpec[];
|
|
341
|
+
}
|
|
342
|
+
export interface TxTabItemWcProps {
|
|
343
|
+
name?: string;
|
|
344
|
+
label?: string;
|
|
345
|
+
iconClass?: string;
|
|
346
|
+
disabled?: boolean;
|
|
347
|
+
activation?: boolean;
|
|
348
|
+
active?: boolean;
|
|
349
|
+
}
|
|
350
|
+
export interface TxCollapseWcProps {
|
|
351
|
+
accordion?: boolean;
|
|
352
|
+
modelValue?: string | string[];
|
|
353
|
+
value?: string | string[];
|
|
354
|
+
}
|
|
355
|
+
export interface TxCollapseItemWcProps {
|
|
356
|
+
title?: string;
|
|
357
|
+
name?: string;
|
|
358
|
+
disabled?: boolean;
|
|
359
|
+
arrowIcon?: string;
|
|
360
|
+
}
|
|
361
|
+
export interface TxTooltipWcProps {
|
|
362
|
+
modelValue?: boolean;
|
|
363
|
+
content?: string;
|
|
364
|
+
disabled?: boolean;
|
|
365
|
+
trigger?: 'hover' | 'click' | 'focus' | 'manual';
|
|
366
|
+
openDelay?: number;
|
|
367
|
+
closeDelay?: number;
|
|
368
|
+
maxHeight?: number;
|
|
369
|
+
referenceFullWidth?: boolean;
|
|
370
|
+
interactive?: boolean;
|
|
371
|
+
keepAliveContent?: boolean;
|
|
372
|
+
closeOnClickOutside?: boolean;
|
|
373
|
+
toggleOnReferenceClick?: boolean;
|
|
374
|
+
layer?: string;
|
|
375
|
+
role?: string;
|
|
376
|
+
unstyled?: boolean;
|
|
377
|
+
anchor?: Record<string, unknown>;
|
|
378
|
+
}
|
|
379
|
+
export type TxPopoverPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
380
|
+
export interface TxPopoverWcProps {
|
|
381
|
+
modelValue?: boolean;
|
|
382
|
+
disabled?: boolean;
|
|
383
|
+
eager?: boolean;
|
|
384
|
+
placement?: TxPopoverPlacement;
|
|
385
|
+
offset?: number;
|
|
386
|
+
width?: number;
|
|
387
|
+
minWidth?: number;
|
|
388
|
+
maxWidth?: number;
|
|
389
|
+
maxHeight?: number;
|
|
390
|
+
unlimitedHeight?: boolean;
|
|
391
|
+
referenceFullWidth?: boolean;
|
|
392
|
+
showArrow?: boolean;
|
|
393
|
+
arrowSize?: number;
|
|
394
|
+
trigger?: 'click' | 'hover' | 'manual';
|
|
395
|
+
openDelay?: number;
|
|
396
|
+
closeDelay?: number;
|
|
397
|
+
animation?: Record<string, unknown>;
|
|
398
|
+
matchReferenceWidth?: boolean;
|
|
399
|
+
keepAliveContent?: boolean;
|
|
400
|
+
toggleOnReferenceClick?: boolean;
|
|
401
|
+
panelVariant?: 'solid' | 'dashed' | 'plain';
|
|
402
|
+
panelBackground?: TxBaseSurfaceMode;
|
|
403
|
+
panelShadow?: 'none' | 'soft' | 'medium';
|
|
404
|
+
panelRadius?: number;
|
|
405
|
+
panelPadding?: number;
|
|
406
|
+
panelCard?: Record<string, unknown>;
|
|
407
|
+
closeOnClickOutside?: boolean;
|
|
408
|
+
closeOnEsc?: boolean;
|
|
409
|
+
}
|
|
410
|
+
export interface TxDialogButtonWc {
|
|
411
|
+
content: string;
|
|
412
|
+
type?: 'info' | 'warning' | 'error' | 'success';
|
|
413
|
+
icon?: string;
|
|
414
|
+
time?: number;
|
|
415
|
+
onClick?: () => Promise<boolean> | boolean;
|
|
416
|
+
}
|
|
417
|
+
export interface TxDialogWcProps {
|
|
418
|
+
open?: boolean;
|
|
419
|
+
modelValue?: boolean;
|
|
420
|
+
visible?: boolean;
|
|
421
|
+
variant?: 'modal' | 'bottom' | 'blow' | 'popper' | 'tip';
|
|
422
|
+
title?: string;
|
|
423
|
+
message?: string;
|
|
424
|
+
confirmText?: string;
|
|
425
|
+
width?: string;
|
|
426
|
+
fullscreen?: boolean;
|
|
427
|
+
closeLabel?: string;
|
|
428
|
+
stay?: number;
|
|
429
|
+
index?: number;
|
|
430
|
+
icon?: string;
|
|
431
|
+
btns?: TxDialogButtonWc[];
|
|
432
|
+
buttons?: TxDialogButtonWc[];
|
|
433
|
+
surface?: TxBaseSurfaceMode;
|
|
434
|
+
surfaceColor?: string;
|
|
435
|
+
surfaceOpacity?: number;
|
|
436
|
+
}
|
|
437
|
+
export interface TxDrawerWcProps {
|
|
438
|
+
visible?: boolean;
|
|
439
|
+
modelValue?: boolean;
|
|
440
|
+
open?: boolean;
|
|
441
|
+
title?: string;
|
|
442
|
+
size?: number | string | 'full';
|
|
443
|
+
full?: boolean;
|
|
444
|
+
width?: number | string | 'full';
|
|
445
|
+
direction?: 'left' | 'right' | 'top' | 'bottom';
|
|
446
|
+
showHeader?: boolean;
|
|
447
|
+
showFooter?: boolean;
|
|
448
|
+
showClose?: boolean;
|
|
449
|
+
closeLabel?: string;
|
|
450
|
+
closeOnClickMask?: boolean;
|
|
451
|
+
closeOnPressEscape?: boolean;
|
|
452
|
+
maskEffect?: 'blur' | 'opacity' | 'transparent';
|
|
453
|
+
panelTransparent?: boolean;
|
|
454
|
+
surface?: TxBaseSurfaceMode;
|
|
455
|
+
surfaceColor?: string;
|
|
456
|
+
surfaceOpacity?: number;
|
|
457
|
+
mobileAdapt?: boolean;
|
|
458
|
+
zIndex?: number;
|
|
459
|
+
lazy?: boolean;
|
|
460
|
+
}
|
|
461
|
+
export interface TxSelectOptionWc {
|
|
462
|
+
value: string | number;
|
|
463
|
+
label: string;
|
|
464
|
+
disabled?: boolean;
|
|
465
|
+
icon?: string;
|
|
466
|
+
description?: string;
|
|
467
|
+
}
|
|
468
|
+
export interface TxSelectOptionGroupWc {
|
|
469
|
+
label: string;
|
|
470
|
+
disabled?: boolean;
|
|
471
|
+
options: TxSelectOptionWc[];
|
|
472
|
+
}
|
|
473
|
+
export interface TxSelectWcProps {
|
|
474
|
+
modelValue?: string | number | Array<string | number>;
|
|
475
|
+
value?: string | number | Array<string | number>;
|
|
476
|
+
placeholder?: string;
|
|
477
|
+
disabled?: boolean;
|
|
478
|
+
multiple?: boolean;
|
|
479
|
+
status?: 'default' | 'error' | 'warning';
|
|
480
|
+
eager?: boolean;
|
|
481
|
+
options?: Array<TxSelectOptionWc | TxSelectOptionGroupWc>;
|
|
482
|
+
maxTagCount?: number;
|
|
483
|
+
maxTagTextLength?: number;
|
|
484
|
+
searchable?: boolean;
|
|
485
|
+
searchThreshold?: number;
|
|
486
|
+
searchPlaceholder?: string;
|
|
487
|
+
editable?: boolean;
|
|
488
|
+
remote?: boolean;
|
|
489
|
+
allowCreate?: boolean;
|
|
490
|
+
createText?: string;
|
|
491
|
+
loading?: boolean;
|
|
492
|
+
loadingText?: string;
|
|
493
|
+
emptyText?: string;
|
|
494
|
+
searchDebounce?: number;
|
|
495
|
+
dropdownMaxHeight?: number;
|
|
496
|
+
dropdownOffset?: number;
|
|
497
|
+
contentPadding?: number;
|
|
498
|
+
optionPadding?: number;
|
|
499
|
+
panelVariant?: 'solid' | 'dashed' | 'plain';
|
|
500
|
+
panelBackground?: TxBaseSurfaceMode;
|
|
501
|
+
panelShadow?: 'none' | 'soft' | 'medium';
|
|
502
|
+
panelRadius?: number;
|
|
503
|
+
panelPadding?: number;
|
|
504
|
+
}
|
|
505
|
+
export interface TxSelectItemWcProps {
|
|
506
|
+
value?: string | number;
|
|
507
|
+
label?: string;
|
|
508
|
+
disabled?: boolean;
|
|
509
|
+
icon?: string;
|
|
510
|
+
description?: string;
|
|
511
|
+
}
|
|
512
|
+
export interface TxStreamTextWcProps {
|
|
513
|
+
content?: string | Array<Record<string, unknown>>;
|
|
514
|
+
streaming?: boolean;
|
|
515
|
+
wordMs?: number;
|
|
516
|
+
maxLagMs?: number;
|
|
517
|
+
drainMs?: number;
|
|
518
|
+
pauseMs?: number;
|
|
519
|
+
reveal?: 'aurora' | 'hue' | 'blur' | 'languid' | 'none';
|
|
520
|
+
caret?: boolean;
|
|
521
|
+
reserve?: boolean;
|
|
522
|
+
paced?: boolean;
|
|
523
|
+
appear?: boolean;
|
|
524
|
+
tag?: string;
|
|
525
|
+
locale?: string;
|
|
526
|
+
}
|
|
527
|
+
export interface TxMarkdownViewWcProps {
|
|
528
|
+
content?: string;
|
|
529
|
+
sanitize?: boolean;
|
|
530
|
+
theme?: 'auto' | 'light' | 'dark';
|
|
531
|
+
}
|
|
532
|
+
export interface TxContainerWcProps {
|
|
533
|
+
fluid?: boolean;
|
|
534
|
+
responsive?: boolean;
|
|
535
|
+
maxWidth?: string;
|
|
536
|
+
padding?: 'small' | 'medium' | 'large' | number;
|
|
537
|
+
margin?: 'auto' | string | number;
|
|
538
|
+
}
|
|
539
|
+
export interface TxHeaderWcProps {
|
|
540
|
+
height?: string | number;
|
|
541
|
+
}
|
|
542
|
+
export interface TxAsideWcProps {
|
|
543
|
+
width?: string | number;
|
|
544
|
+
}
|
|
545
|
+
export interface TxMainWcProps {
|
|
546
|
+
}
|
|
547
|
+
export interface TxFooterWcProps {
|
|
548
|
+
height?: string | number;
|
|
549
|
+
}
|
|
550
|
+
export interface TxFlexWcProps {
|
|
551
|
+
direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
552
|
+
gap?: number | string;
|
|
553
|
+
align?: string;
|
|
554
|
+
justify?: string;
|
|
555
|
+
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
556
|
+
inline?: boolean;
|
|
557
|
+
}
|
|
558
|
+
export interface TxGridWcProps {
|
|
559
|
+
cols?: number | Record<string, number>;
|
|
560
|
+
rows?: number;
|
|
561
|
+
gap?: number | string | Record<string, number | string>;
|
|
562
|
+
minItemWidth?: string;
|
|
563
|
+
justify?: 'start' | 'end' | 'center' | 'stretch';
|
|
564
|
+
align?: 'start' | 'end' | 'center' | 'stretch';
|
|
565
|
+
}
|
|
566
|
+
export interface TxGridItemWcProps {
|
|
567
|
+
colSpan?: number;
|
|
568
|
+
rowSpan?: number;
|
|
569
|
+
justifySelf?: 'start' | 'end' | 'center' | 'stretch';
|
|
570
|
+
alignSelf?: 'start' | 'end' | 'center' | 'stretch';
|
|
571
|
+
}
|
|
572
|
+
export interface TxGridLayoutWcProps {
|
|
573
|
+
minItemWidth?: string;
|
|
574
|
+
gap?: string;
|
|
575
|
+
maxColumns?: number;
|
|
576
|
+
interactive?: boolean;
|
|
577
|
+
}
|
|
578
|
+
export interface TxStackWcProps {
|
|
579
|
+
direction?: 'horizontal' | 'vertical';
|
|
580
|
+
gap?: number | string;
|
|
581
|
+
align?: string;
|
|
582
|
+
justify?: string;
|
|
583
|
+
wrap?: boolean;
|
|
584
|
+
inline?: boolean;
|
|
585
|
+
}
|
|
586
|
+
export interface TxSplitterWcProps {
|
|
587
|
+
modelValue?: number;
|
|
588
|
+
value?: number;
|
|
589
|
+
direction?: 'horizontal' | 'vertical';
|
|
590
|
+
min?: number;
|
|
591
|
+
max?: number;
|
|
592
|
+
disabled?: boolean;
|
|
593
|
+
barSize?: number;
|
|
594
|
+
snap?: number;
|
|
595
|
+
}
|
|
596
|
+
export interface TxScrollWcProps {
|
|
597
|
+
noPadding?: boolean;
|
|
598
|
+
native?: boolean;
|
|
599
|
+
unified?: boolean;
|
|
600
|
+
nativeAutoFallback?: boolean;
|
|
601
|
+
scrollChaining?: boolean;
|
|
602
|
+
direction?: 'vertical' | 'horizontal' | 'both';
|
|
603
|
+
scrollbar?: boolean;
|
|
604
|
+
scrollbarFade?: boolean;
|
|
605
|
+
scrollbarInteractive?: boolean;
|
|
606
|
+
scrollbarAlwaysVisible?: boolean;
|
|
607
|
+
scrollbarMinSize?: number;
|
|
608
|
+
probeType?: 0 | 1 | 2 | 3;
|
|
609
|
+
bounce?: boolean;
|
|
610
|
+
click?: boolean;
|
|
611
|
+
wheel?: boolean;
|
|
612
|
+
refreshOnContentChange?: boolean;
|
|
613
|
+
pullDownRefresh?: boolean | Record<string, unknown>;
|
|
614
|
+
pullDownThreshold?: number;
|
|
615
|
+
pullDownStop?: number;
|
|
616
|
+
pullUpLoad?: boolean | Record<string, unknown>;
|
|
617
|
+
pullUpThreshold?: number;
|
|
618
|
+
options?: Record<string, unknown>;
|
|
619
|
+
}
|
|
620
|
+
export interface TxGroupBlockWcProps {
|
|
621
|
+
name?: string;
|
|
622
|
+
description?: string;
|
|
623
|
+
defaultIcon?: string | Record<string, unknown>;
|
|
624
|
+
activeIcon?: string | Record<string, unknown>;
|
|
625
|
+
iconSize?: number;
|
|
626
|
+
collapsible?: boolean;
|
|
627
|
+
collapsed?: boolean;
|
|
628
|
+
defaultExpand?: boolean;
|
|
629
|
+
memoryName?: string;
|
|
630
|
+
}
|
|
631
|
+
export interface TxBlockLineWcProps {
|
|
632
|
+
title?: string;
|
|
633
|
+
description?: string;
|
|
634
|
+
link?: boolean;
|
|
635
|
+
}
|
|
636
|
+
export interface TxBlockSlotWcProps {
|
|
637
|
+
title?: string;
|
|
638
|
+
description?: string;
|
|
639
|
+
defaultIcon?: string | Record<string, unknown>;
|
|
640
|
+
activeIcon?: string | Record<string, unknown>;
|
|
641
|
+
iconSize?: number;
|
|
642
|
+
active?: boolean;
|
|
643
|
+
disabled?: boolean;
|
|
644
|
+
prop?: string;
|
|
645
|
+
rules?: unknown;
|
|
646
|
+
required?: boolean;
|
|
647
|
+
}
|
|
648
|
+
export interface TxBlockSwitchWcProps {
|
|
649
|
+
title?: string;
|
|
650
|
+
description?: string;
|
|
651
|
+
modelValue?: boolean;
|
|
652
|
+
checked?: boolean;
|
|
653
|
+
defaultIcon?: string | Record<string, unknown>;
|
|
654
|
+
activeIcon?: string | Record<string, unknown>;
|
|
655
|
+
disabled?: boolean;
|
|
656
|
+
guidance?: boolean;
|
|
657
|
+
loading?: boolean;
|
|
658
|
+
prop?: string;
|
|
659
|
+
rules?: unknown;
|
|
660
|
+
required?: boolean;
|
|
661
|
+
}
|
|
662
|
+
export interface TxCardItemWcProps {
|
|
663
|
+
role?: string;
|
|
664
|
+
title?: string;
|
|
665
|
+
subtitle?: string;
|
|
666
|
+
description?: string;
|
|
667
|
+
iconClass?: string;
|
|
668
|
+
avatarText?: string;
|
|
669
|
+
avatarUrl?: string;
|
|
670
|
+
avatarSize?: number;
|
|
671
|
+
avatarShape?: 'circle' | 'rounded';
|
|
672
|
+
clickable?: boolean;
|
|
673
|
+
active?: boolean;
|
|
674
|
+
disabled?: boolean;
|
|
675
|
+
tabindex?: number;
|
|
676
|
+
align?: 'start' | 'center';
|
|
677
|
+
}
|
|
678
|
+
export interface TxLayoutSkeletonWcProps {
|
|
679
|
+
}
|
|
680
|
+
export interface TxTextWcProps {
|
|
681
|
+
text?: string;
|
|
682
|
+
overflow?: 'start' | 'middle' | 'end';
|
|
683
|
+
scroll?: 'none' | 'auto' | 'hover' | 'loop';
|
|
684
|
+
loopEdge?: 'gap' | 'clip' | 'fade' | 'wrap';
|
|
685
|
+
}
|
|
686
|
+
export interface TxIconWcProps {
|
|
687
|
+
icon?: string | Record<string, unknown> | null;
|
|
688
|
+
name?: string;
|
|
689
|
+
alt?: string;
|
|
690
|
+
size?: number;
|
|
691
|
+
empty?: string;
|
|
692
|
+
colorful?: boolean;
|
|
693
|
+
}
|
|
694
|
+
export interface TxIconChipWcProps {
|
|
695
|
+
size?: number;
|
|
696
|
+
radius?: number | string;
|
|
697
|
+
tone?: 'neutral' | 'ink' | 'accent' | 'green' | 'orange' | 'red';
|
|
698
|
+
variant?: 'solid' | 'soft';
|
|
699
|
+
shape?: 'square' | 'circle';
|
|
700
|
+
label?: string;
|
|
701
|
+
fontSize?: number;
|
|
702
|
+
ariaLabel?: string;
|
|
703
|
+
}
|
|
704
|
+
export interface TxCellLinkWcProps {
|
|
705
|
+
href?: string;
|
|
706
|
+
label?: string;
|
|
707
|
+
external?: boolean;
|
|
708
|
+
muted?: boolean;
|
|
709
|
+
underline?: 'always' | 'hover';
|
|
710
|
+
ariaLabel?: string;
|
|
711
|
+
}
|
|
712
|
+
export interface TxEmptyStateActionWc {
|
|
713
|
+
label: string;
|
|
714
|
+
type?: string;
|
|
715
|
+
variant?: string;
|
|
716
|
+
size?: string;
|
|
717
|
+
disabled?: boolean;
|
|
718
|
+
icon?: string;
|
|
719
|
+
}
|
|
720
|
+
export interface TxEmptyStateBaseWcProps {
|
|
721
|
+
title?: string;
|
|
722
|
+
description?: string;
|
|
723
|
+
icon?: string | Record<string, unknown> | null;
|
|
724
|
+
iconSize?: number;
|
|
725
|
+
layout?: 'vertical' | 'horizontal';
|
|
726
|
+
align?: 'start' | 'center' | 'end';
|
|
727
|
+
size?: 'small' | 'medium' | 'large';
|
|
728
|
+
surface?: 'plain' | 'card';
|
|
729
|
+
primaryAction?: TxEmptyStateActionWc;
|
|
730
|
+
secondaryAction?: TxEmptyStateActionWc;
|
|
731
|
+
actionSize?: string;
|
|
732
|
+
loading?: boolean;
|
|
733
|
+
}
|
|
734
|
+
export interface TxEmptyStateWcProps extends TxEmptyStateBaseWcProps {
|
|
735
|
+
variant?: 'empty' | 'blank-slate' | 'no-data' | 'no-selection' | 'search-empty' | 'loading' | 'offline' | 'permission' | 'error' | 'guide' | 'custom';
|
|
736
|
+
}
|
|
737
|
+
export type TxBlankSlateWcProps = TxEmptyStateBaseWcProps;
|
|
738
|
+
export type TxErrorStateWcProps = TxEmptyStateBaseWcProps;
|
|
739
|
+
export type TxGuideStateWcProps = TxEmptyStateBaseWcProps;
|
|
740
|
+
export type TxLoadingStateWcProps = TxEmptyStateBaseWcProps;
|
|
741
|
+
export type TxNoDataWcProps = TxEmptyStateBaseWcProps;
|
|
742
|
+
export type TxNoSelectionWcProps = TxEmptyStateBaseWcProps;
|
|
743
|
+
export type TxOfflineStateWcProps = TxEmptyStateBaseWcProps;
|
|
744
|
+
export type TxPermissionStateWcProps = TxEmptyStateBaseWcProps;
|
|
745
|
+
export type TxSearchEmptyWcProps = TxEmptyStateBaseWcProps;
|
|
746
|
+
export interface TxBreadcrumbWcProps {
|
|
747
|
+
items?: TxBreadcrumbItemSpec[];
|
|
748
|
+
separatorIcon?: string;
|
|
749
|
+
ariaLabel?: string;
|
|
750
|
+
}
|
|
751
|
+
export interface TxBreadcrumbItemWcProps {
|
|
752
|
+
label?: string;
|
|
753
|
+
href?: string;
|
|
754
|
+
icon?: string;
|
|
755
|
+
disabled?: boolean;
|
|
756
|
+
}
|
|
757
|
+
export interface TxNavBarWcProps {
|
|
758
|
+
title?: string;
|
|
759
|
+
fixed?: boolean;
|
|
760
|
+
safeAreaTop?: boolean;
|
|
761
|
+
showBack?: boolean;
|
|
762
|
+
disabled?: boolean;
|
|
763
|
+
zIndex?: number;
|
|
764
|
+
backLabel?: string;
|
|
765
|
+
leftLabel?: string;
|
|
766
|
+
rightLabel?: string;
|
|
767
|
+
}
|
|
768
|
+
export interface TxSidebarNavWcProps {
|
|
769
|
+
items?: Array<Record<string, unknown>>;
|
|
770
|
+
groups?: Array<Record<string, unknown>>;
|
|
771
|
+
modelValue?: string | number;
|
|
772
|
+
value?: string | number;
|
|
773
|
+
query?: string;
|
|
774
|
+
workspace?: Record<string, unknown>;
|
|
775
|
+
workspaceLabel?: string;
|
|
776
|
+
searchPlaceholder?: string;
|
|
777
|
+
searchLabel?: string;
|
|
778
|
+
searchHint?: string;
|
|
779
|
+
actionLabel?: string;
|
|
780
|
+
ariaLabel?: string;
|
|
781
|
+
indicatorDuration?: number;
|
|
782
|
+
}
|
|
783
|
+
export interface TxTabBarWcProps {
|
|
784
|
+
modelValue?: string | number;
|
|
785
|
+
value?: string | number;
|
|
786
|
+
items?: Array<Record<string, unknown>>;
|
|
787
|
+
fixed?: boolean;
|
|
788
|
+
safeAreaBottom?: boolean;
|
|
789
|
+
disabled?: boolean;
|
|
790
|
+
zIndex?: number;
|
|
791
|
+
indicator?: 'none' | 'pill' | 'line' | 'block' | 'dot';
|
|
792
|
+
size?: 'sm' | 'md' | 'lg';
|
|
793
|
+
}
|
|
794
|
+
export interface TxPaginationWcProps {
|
|
795
|
+
currentPage?: number;
|
|
796
|
+
pageSize?: number;
|
|
797
|
+
pageSizes?: number[];
|
|
798
|
+
pageSizeLabel?: string;
|
|
799
|
+
total?: number;
|
|
800
|
+
totalPages?: number;
|
|
801
|
+
prevIcon?: string;
|
|
802
|
+
nextIcon?: string;
|
|
803
|
+
showInfo?: boolean;
|
|
804
|
+
showFirstLast?: boolean;
|
|
805
|
+
ariaLabel?: string;
|
|
806
|
+
firstLabel?: string;
|
|
807
|
+
prevLabel?: string;
|
|
808
|
+
nextLabel?: string;
|
|
809
|
+
lastLabel?: string;
|
|
810
|
+
}
|
|
811
|
+
export interface TxStepsWcProps {
|
|
812
|
+
direction?: 'horizontal' | 'vertical';
|
|
813
|
+
size?: 'small' | 'medium' | 'large';
|
|
814
|
+
active?: number | string;
|
|
815
|
+
}
|
|
816
|
+
export interface TxStepWcProps {
|
|
817
|
+
title?: string;
|
|
818
|
+
description?: string;
|
|
819
|
+
icon?: string;
|
|
820
|
+
status?: 'wait' | 'active' | 'completed' | 'error';
|
|
821
|
+
step?: number | string;
|
|
822
|
+
clickable?: boolean;
|
|
823
|
+
disabled?: boolean;
|
|
824
|
+
showLine?: boolean;
|
|
825
|
+
completedIcon?: string;
|
|
826
|
+
}
|
|
827
|
+
export interface TxLoadingOverlayWcProps {
|
|
828
|
+
loading?: boolean;
|
|
829
|
+
fullscreen?: boolean;
|
|
830
|
+
text?: string;
|
|
831
|
+
spinnerSize?: number;
|
|
832
|
+
background?: string;
|
|
833
|
+
}
|
|
834
|
+
export interface TxModalWcProps {
|
|
835
|
+
modelValue?: boolean;
|
|
836
|
+
open?: boolean;
|
|
837
|
+
visible?: boolean;
|
|
838
|
+
title?: string;
|
|
839
|
+
width?: string;
|
|
840
|
+
fullscreen?: boolean;
|
|
841
|
+
closeLabel?: string;
|
|
842
|
+
surface?: TxBaseSurfaceMode;
|
|
843
|
+
surfaceColor?: string;
|
|
844
|
+
surfaceOpacity?: number;
|
|
845
|
+
}
|
|
846
|
+
export interface TxToastWcProps {
|
|
847
|
+
position?: 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
848
|
+
visibleToasts?: number;
|
|
849
|
+
expand?: boolean;
|
|
850
|
+
gap?: number;
|
|
851
|
+
offset?: number;
|
|
852
|
+
swipeToDismiss?: boolean;
|
|
853
|
+
ariaLabel?: string;
|
|
854
|
+
closeLabel?: string;
|
|
855
|
+
title?: string;
|
|
856
|
+
description?: string;
|
|
857
|
+
message?: string;
|
|
858
|
+
variant?: 'default' | 'info' | 'success' | 'warning' | 'danger';
|
|
859
|
+
open?: boolean;
|
|
860
|
+
closable?: boolean;
|
|
861
|
+
}
|
|
862
|
+
export interface TxToastPanelWcProps {
|
|
863
|
+
open?: boolean;
|
|
864
|
+
tether?: boolean;
|
|
865
|
+
tetherLength?: number;
|
|
866
|
+
side?: 'below' | 'above';
|
|
867
|
+
stack?: number;
|
|
868
|
+
ariaLabel?: string;
|
|
869
|
+
live?: 'polite' | 'off';
|
|
870
|
+
}
|
|
871
|
+
export interface TxTimelineWcProps {
|
|
872
|
+
layout?: 'vertical' | 'horizontal';
|
|
873
|
+
}
|
|
874
|
+
export interface TxTimelineItemWcProps {
|
|
875
|
+
title?: string;
|
|
876
|
+
time?: string;
|
|
877
|
+
icon?: string;
|
|
878
|
+
color?: 'default' | 'primary' | 'success' | 'warning' | 'error';
|
|
879
|
+
active?: boolean;
|
|
880
|
+
}
|
|
881
|
+
export interface TxNumberInputWcProps {
|
|
882
|
+
modelValue?: number | null;
|
|
883
|
+
value?: number | null;
|
|
884
|
+
min?: number;
|
|
885
|
+
max?: number;
|
|
886
|
+
step?: number;
|
|
887
|
+
precision?: number;
|
|
888
|
+
placeholder?: string;
|
|
889
|
+
disabled?: boolean;
|
|
890
|
+
readonly?: boolean;
|
|
891
|
+
controls?: boolean;
|
|
892
|
+
decreaseLabel?: string;
|
|
893
|
+
increaseLabel?: string;
|
|
894
|
+
}
|
|
895
|
+
export interface TxSearchInputWcProps {
|
|
896
|
+
modelValue?: string;
|
|
897
|
+
value?: string;
|
|
898
|
+
placeholder?: string;
|
|
899
|
+
disabled?: boolean;
|
|
900
|
+
clearable?: boolean;
|
|
901
|
+
remote?: boolean;
|
|
902
|
+
searchDebounce?: number;
|
|
903
|
+
}
|
|
904
|
+
export interface TxSensitiveInputWcProps {
|
|
905
|
+
modelValue?: string;
|
|
906
|
+
value?: string;
|
|
907
|
+
placeholder?: string;
|
|
908
|
+
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
909
|
+
status?: 'default' | 'error';
|
|
910
|
+
label?: string;
|
|
911
|
+
description?: string;
|
|
912
|
+
error?: string;
|
|
913
|
+
disabled?: boolean;
|
|
914
|
+
readonly?: boolean;
|
|
915
|
+
required?: boolean;
|
|
916
|
+
copyable?: boolean;
|
|
917
|
+
mask?: string;
|
|
918
|
+
copiedDuration?: number;
|
|
919
|
+
labels?: Record<string, string>;
|
|
920
|
+
}
|
|
921
|
+
export interface TxTagInputWcProps {
|
|
922
|
+
modelValue?: string[];
|
|
923
|
+
value?: string[];
|
|
924
|
+
placeholder?: string;
|
|
925
|
+
disabled?: boolean;
|
|
926
|
+
max?: number;
|
|
927
|
+
allowDuplicates?: boolean;
|
|
928
|
+
separators?: string[];
|
|
929
|
+
confirmOnBlur?: boolean;
|
|
930
|
+
}
|
|
931
|
+
export interface TxScrubFieldWcProps {
|
|
932
|
+
modelValue?: number;
|
|
933
|
+
value?: number;
|
|
934
|
+
label?: string;
|
|
935
|
+
min?: number;
|
|
936
|
+
max?: number;
|
|
937
|
+
step?: number;
|
|
938
|
+
suffix?: string;
|
|
939
|
+
active?: boolean;
|
|
940
|
+
disabled?: boolean;
|
|
941
|
+
pixelsPerStep?: number;
|
|
942
|
+
shiftMultiplier?: number;
|
|
943
|
+
clampOn?: 'input' | 'blur';
|
|
944
|
+
ariaLabel?: string;
|
|
945
|
+
valueLabel?: string;
|
|
946
|
+
}
|
|
947
|
+
export interface TxSegmentedSliderWcProps {
|
|
948
|
+
modelValue?: number | string | null;
|
|
949
|
+
value?: number | string | null;
|
|
950
|
+
segments?: Array<{
|
|
951
|
+
value: number | string;
|
|
952
|
+
label?: string;
|
|
953
|
+
}>;
|
|
954
|
+
disabled?: boolean;
|
|
955
|
+
showLabels?: boolean;
|
|
956
|
+
vertical?: boolean;
|
|
957
|
+
}
|
|
958
|
+
export interface TxRatingWcProps {
|
|
959
|
+
modelValue?: number;
|
|
960
|
+
value?: number;
|
|
961
|
+
maxStars?: number;
|
|
962
|
+
precision?: number;
|
|
963
|
+
disabled?: boolean;
|
|
964
|
+
readonly?: boolean;
|
|
965
|
+
showText?: boolean;
|
|
966
|
+
icon?: string | Record<string, unknown>;
|
|
967
|
+
filledIcon?: string | Record<string, unknown>;
|
|
968
|
+
emptyIcon?: string | Record<string, unknown>;
|
|
969
|
+
halfIcon?: string | Record<string, unknown>;
|
|
970
|
+
filledColor?: string;
|
|
971
|
+
emptyColor?: string;
|
|
972
|
+
hoverColor?: string;
|
|
973
|
+
textColor?: string;
|
|
974
|
+
size?: number | string;
|
|
975
|
+
gap?: number | string;
|
|
976
|
+
animated?: boolean;
|
|
977
|
+
}
|
|
978
|
+
export interface TxFilterChipsWcProps {
|
|
979
|
+
modelValue?: string | number;
|
|
980
|
+
value?: string | number;
|
|
981
|
+
items?: Array<{
|
|
982
|
+
value: string | number;
|
|
983
|
+
label: string;
|
|
984
|
+
iconClass?: string;
|
|
985
|
+
dot?: string;
|
|
986
|
+
count?: number;
|
|
987
|
+
disabled?: boolean;
|
|
988
|
+
}>;
|
|
989
|
+
disabled?: boolean;
|
|
990
|
+
role?: 'toolbar' | 'tablist';
|
|
991
|
+
indicator?: boolean;
|
|
992
|
+
iconOnly?: boolean;
|
|
993
|
+
ariaLabel?: string;
|
|
994
|
+
}
|
|
995
|
+
export interface TxFlatRadioWcProps {
|
|
996
|
+
modelValue?: string | number | Array<string | number>;
|
|
997
|
+
value?: string | number | Array<string | number>;
|
|
998
|
+
multiple?: boolean;
|
|
999
|
+
disabled?: boolean;
|
|
1000
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
1001
|
+
bordered?: boolean;
|
|
1002
|
+
}
|
|
1003
|
+
export interface TxFlatRadioItemWcProps {
|
|
1004
|
+
value?: string | number;
|
|
1005
|
+
label?: string;
|
|
1006
|
+
icon?: string;
|
|
1007
|
+
disabled?: boolean;
|
|
1008
|
+
}
|
|
1009
|
+
export interface TxFlatSelectWcProps {
|
|
1010
|
+
modelValue?: string | number;
|
|
1011
|
+
value?: string | number;
|
|
1012
|
+
placeholder?: string;
|
|
1013
|
+
disabled?: boolean;
|
|
1014
|
+
ariaLabel?: string;
|
|
1015
|
+
ariaLabelledby?: string;
|
|
1016
|
+
}
|
|
1017
|
+
export interface TxFlatSelectItemWcProps {
|
|
1018
|
+
value?: string | number;
|
|
1019
|
+
label?: string;
|
|
1020
|
+
disabled?: boolean;
|
|
1021
|
+
}
|
|
1022
|
+
export interface TxSearchSelectWcProps {
|
|
1023
|
+
modelValue?: string | number;
|
|
1024
|
+
value?: string | number;
|
|
1025
|
+
placeholder?: string;
|
|
1026
|
+
disabled?: boolean;
|
|
1027
|
+
clearable?: boolean;
|
|
1028
|
+
options?: Array<{
|
|
1029
|
+
value: string | number;
|
|
1030
|
+
label: string;
|
|
1031
|
+
disabled?: boolean;
|
|
1032
|
+
}>;
|
|
1033
|
+
loading?: boolean;
|
|
1034
|
+
remote?: boolean;
|
|
1035
|
+
searchDebounce?: number;
|
|
1036
|
+
dropdownMaxHeight?: number;
|
|
1037
|
+
dropdownOffset?: number;
|
|
1038
|
+
panelVariant?: 'solid' | 'dashed' | 'plain';
|
|
1039
|
+
panelBackground?: TxBaseSurfaceMode;
|
|
1040
|
+
panelShadow?: 'none' | 'soft' | 'medium';
|
|
1041
|
+
panelRadius?: number;
|
|
1042
|
+
panelPadding?: number;
|
|
1043
|
+
}
|
|
1044
|
+
export interface TxCascaderWcProps {
|
|
1045
|
+
modelValue?: Array<string | number> | Array<Array<string | number>>;
|
|
1046
|
+
value?: Array<string | number> | Array<Array<string | number>>;
|
|
1047
|
+
options?: Array<Record<string, unknown>>;
|
|
1048
|
+
multiple?: boolean;
|
|
1049
|
+
disabled?: boolean;
|
|
1050
|
+
placeholder?: string;
|
|
1051
|
+
searchable?: boolean;
|
|
1052
|
+
clearable?: boolean;
|
|
1053
|
+
placement?: TxPopoverPlacement;
|
|
1054
|
+
dropdownOffset?: number;
|
|
1055
|
+
dropdownWidth?: number;
|
|
1056
|
+
dropdownMaxWidth?: number;
|
|
1057
|
+
dropdownMaxHeight?: number;
|
|
1058
|
+
expandTrigger?: 'click' | 'hover' | 'both';
|
|
1059
|
+
}
|
|
1060
|
+
export interface TxTreeWcProps {
|
|
1061
|
+
nodes?: Array<Record<string, unknown>>;
|
|
1062
|
+
modelValue?: string | number | Array<string | number>;
|
|
1063
|
+
value?: string | number | Array<string | number>;
|
|
1064
|
+
multiple?: boolean;
|
|
1065
|
+
selectable?: boolean;
|
|
1066
|
+
checkable?: boolean;
|
|
1067
|
+
disabled?: boolean;
|
|
1068
|
+
defaultExpandedKeys?: Array<string | number>;
|
|
1069
|
+
defaultSelectedKeys?: Array<string | number>;
|
|
1070
|
+
expandedKeys?: Array<string | number>;
|
|
1071
|
+
indent?: number;
|
|
1072
|
+
filterText?: string;
|
|
1073
|
+
emptyText?: string;
|
|
1074
|
+
expandLabel?: string;
|
|
1075
|
+
collapseLabel?: string;
|
|
1076
|
+
selectLabel?: string;
|
|
1077
|
+
}
|
|
1078
|
+
export interface TxTreeSelectWcProps {
|
|
1079
|
+
modelValue?: string | number | Array<string | number>;
|
|
1080
|
+
value?: string | number | Array<string | number>;
|
|
1081
|
+
nodes?: Array<Record<string, unknown>>;
|
|
1082
|
+
multiple?: boolean;
|
|
1083
|
+
disabled?: boolean;
|
|
1084
|
+
placeholder?: string;
|
|
1085
|
+
searchable?: boolean;
|
|
1086
|
+
clearable?: boolean;
|
|
1087
|
+
placement?: TxPopoverPlacement;
|
|
1088
|
+
dropdownOffset?: number;
|
|
1089
|
+
dropdownWidth?: number;
|
|
1090
|
+
dropdownMaxWidth?: number;
|
|
1091
|
+
dropdownMaxHeight?: number;
|
|
1092
|
+
defaultExpandedKeys?: Array<string | number>;
|
|
1093
|
+
}
|
|
1094
|
+
export interface TxDatePickerWcProps {
|
|
1095
|
+
modelValue?: string | [string, string];
|
|
1096
|
+
value?: string | [string, string];
|
|
1097
|
+
visible?: boolean;
|
|
1098
|
+
open?: boolean;
|
|
1099
|
+
popup?: boolean;
|
|
1100
|
+
variant?: 'picker' | 'field' | 'adaptive';
|
|
1101
|
+
title?: string;
|
|
1102
|
+
placeholder?: string;
|
|
1103
|
+
min?: string;
|
|
1104
|
+
max?: string;
|
|
1105
|
+
disabled?: boolean;
|
|
1106
|
+
showToolbar?: boolean;
|
|
1107
|
+
confirmText?: string;
|
|
1108
|
+
cancelText?: string;
|
|
1109
|
+
closeOnClickMask?: boolean;
|
|
1110
|
+
adaptiveBreakpoint?: number;
|
|
1111
|
+
weekStartsOn?: 0 | 1;
|
|
1112
|
+
range?: boolean;
|
|
1113
|
+
rangeSeparator?: string;
|
|
1114
|
+
}
|
|
1115
|
+
export interface TxPickerWcProps {
|
|
1116
|
+
modelValue?: Array<string | number>;
|
|
1117
|
+
value?: Array<string | number>;
|
|
1118
|
+
columns?: Array<Record<string, unknown>>;
|
|
1119
|
+
visible?: boolean;
|
|
1120
|
+
popup?: boolean;
|
|
1121
|
+
title?: string;
|
|
1122
|
+
showToolbar?: boolean;
|
|
1123
|
+
confirmText?: string;
|
|
1124
|
+
cancelText?: string;
|
|
1125
|
+
disabled?: boolean;
|
|
1126
|
+
itemHeight?: number;
|
|
1127
|
+
visibleItemCount?: number;
|
|
1128
|
+
closeOnClickMask?: boolean;
|
|
1129
|
+
lazyMount?: boolean;
|
|
1130
|
+
}
|
|
1131
|
+
export interface TxFormWcProps {
|
|
1132
|
+
id?: string;
|
|
1133
|
+
model?: Record<string, unknown>;
|
|
1134
|
+
rules?: Record<string, unknown>;
|
|
1135
|
+
layout?: 'stacked' | 'side' | 'auto' | 'inline';
|
|
1136
|
+
labelPosition?: 'left' | 'right' | 'top';
|
|
1137
|
+
labelAlign?: 'start' | 'end';
|
|
1138
|
+
labelWidth?: string | number;
|
|
1139
|
+
requiredMark?: 'asterisk' | 'optional' | 'none';
|
|
1140
|
+
validateOn?: 'blur' | 'submit';
|
|
1141
|
+
messages?: Record<string, unknown>;
|
|
1142
|
+
size?: 'small' | 'medium' | 'large';
|
|
1143
|
+
disabled?: boolean;
|
|
1144
|
+
readonly?: boolean;
|
|
1145
|
+
persist?: boolean | Record<string, unknown>;
|
|
1146
|
+
autosave?: boolean | Record<string, unknown>;
|
|
1147
|
+
onSubmit?: (values: Record<string, unknown>, event?: Event) => unknown;
|
|
1148
|
+
}
|
|
1149
|
+
export interface TxFormItemWcProps {
|
|
1150
|
+
label?: string;
|
|
1151
|
+
prop?: string;
|
|
1152
|
+
rules?: unknown;
|
|
1153
|
+
required?: boolean;
|
|
1154
|
+
help?: string;
|
|
1155
|
+
hint?: string;
|
|
1156
|
+
width?: 'xs' | 'sm' | 'md' | 'lg' | 'full';
|
|
1157
|
+
showMessage?: boolean;
|
|
1158
|
+
inline?: boolean;
|
|
1159
|
+
persist?: boolean;
|
|
1160
|
+
}
|
|
1161
|
+
export interface TxFormRowWcProps {
|
|
1162
|
+
label?: string;
|
|
1163
|
+
condensed?: boolean;
|
|
1164
|
+
}
|
|
1165
|
+
export interface TxFormErrorSummaryWcProps {
|
|
1166
|
+
title?: string;
|
|
1167
|
+
}
|
|
1168
|
+
export interface TxModalFormWcProps extends Omit<TxFormWcProps, 'model' | 'autosave'> {
|
|
1169
|
+
modelValue?: boolean;
|
|
1170
|
+
open?: boolean;
|
|
1171
|
+
visible?: boolean;
|
|
1172
|
+
title?: string;
|
|
1173
|
+
width?: string;
|
|
1174
|
+
initialValues?: Record<string, unknown>;
|
|
1175
|
+
submitText?: string;
|
|
1176
|
+
cancelText?: string;
|
|
1177
|
+
modalProps?: Record<string, unknown>;
|
|
1178
|
+
}
|
|
1179
|
+
export interface TxDrawerFormWcProps extends Omit<TxFormWcProps, 'model' | 'autosave'> {
|
|
1180
|
+
visible?: boolean;
|
|
1181
|
+
modelValue?: boolean;
|
|
1182
|
+
open?: boolean;
|
|
1183
|
+
title?: string;
|
|
1184
|
+
initialValues?: Record<string, unknown>;
|
|
1185
|
+
submitText?: string;
|
|
1186
|
+
cancelText?: string;
|
|
1187
|
+
drawerProps?: Record<string, unknown>;
|
|
1188
|
+
}
|
|
1189
|
+
export interface TxStepsFormWcProps extends Omit<TxFormWcProps, 'autosave'> {
|
|
1190
|
+
active?: number;
|
|
1191
|
+
prevText?: string;
|
|
1192
|
+
nextText?: string;
|
|
1193
|
+
submitText?: string;
|
|
1194
|
+
steps?: TxStepsFormStepSpec[];
|
|
1195
|
+
}
|
|
1196
|
+
export interface TxContextMenuWcProps {
|
|
1197
|
+
modelValue?: boolean;
|
|
1198
|
+
x?: number;
|
|
1199
|
+
y?: number;
|
|
1200
|
+
width?: number;
|
|
1201
|
+
minWidth?: number;
|
|
1202
|
+
maxWidth?: number;
|
|
1203
|
+
maxHeight?: number;
|
|
1204
|
+
unlimitedHeight?: boolean;
|
|
1205
|
+
disabled?: boolean;
|
|
1206
|
+
eager?: boolean;
|
|
1207
|
+
trigger?: 'contextmenu' | 'click' | 'both' | 'manual';
|
|
1208
|
+
anchorMode?: 'pointer' | 'reference';
|
|
1209
|
+
preventDefault?: boolean;
|
|
1210
|
+
placement?: TxPopoverPlacement;
|
|
1211
|
+
offset?: number;
|
|
1212
|
+
closeOnEsc?: boolean;
|
|
1213
|
+
closeOnClickOutside?: boolean;
|
|
1214
|
+
closeOnSelect?: boolean;
|
|
1215
|
+
activationFeedback?: boolean;
|
|
1216
|
+
panelVariant?: 'solid' | 'dashed' | 'plain';
|
|
1217
|
+
panelBackground?: TxBaseSurfaceMode;
|
|
1218
|
+
panelShadow?: 'none' | 'soft' | 'medium';
|
|
1219
|
+
panelRadius?: number;
|
|
1220
|
+
panelPadding?: number;
|
|
1221
|
+
}
|
|
1222
|
+
export interface TxContextMenuItemWcProps {
|
|
1223
|
+
disabled?: boolean;
|
|
1224
|
+
danger?: boolean;
|
|
1225
|
+
color?: string;
|
|
1226
|
+
shortcut?: string;
|
|
1227
|
+
submenu?: boolean;
|
|
1228
|
+
closeOnSelect?: boolean;
|
|
1229
|
+
activationFeedback?: boolean;
|
|
1230
|
+
}
|
|
1231
|
+
export interface TxDropdownMenuWcProps {
|
|
1232
|
+
modelValue?: boolean;
|
|
1233
|
+
placement?: TxPopoverPlacement;
|
|
1234
|
+
trigger?: 'click' | 'hover';
|
|
1235
|
+
offset?: number;
|
|
1236
|
+
closeOnSelect?: boolean;
|
|
1237
|
+
activationFeedback?: boolean;
|
|
1238
|
+
initialFocus?: 'first-item' | 'none';
|
|
1239
|
+
animation?: Record<string, unknown>;
|
|
1240
|
+
minWidth?: number;
|
|
1241
|
+
maxHeight?: number;
|
|
1242
|
+
unlimitedHeight?: boolean;
|
|
1243
|
+
panelVariant?: 'solid' | 'dashed' | 'plain';
|
|
1244
|
+
panelBackground?: TxBaseSurfaceMode;
|
|
1245
|
+
panelShadow?: 'none' | 'soft' | 'medium';
|
|
1246
|
+
panelRadius?: number;
|
|
1247
|
+
panelPadding?: number;
|
|
1248
|
+
}
|
|
1249
|
+
export interface TxDropdownItemWcProps {
|
|
1250
|
+
disabled?: boolean;
|
|
1251
|
+
danger?: boolean;
|
|
1252
|
+
arrow?: boolean;
|
|
1253
|
+
closeOnSelect?: boolean;
|
|
1254
|
+
activationFeedback?: boolean;
|
|
1255
|
+
checked?: boolean;
|
|
1256
|
+
checkType?: 'checkbox' | 'radio';
|
|
1257
|
+
}
|
|
1258
|
+
export interface TxFlatDropdownWcProps {
|
|
1259
|
+
modelValue?: boolean;
|
|
1260
|
+
trigger?: 'hover' | 'click' | 'manual';
|
|
1261
|
+
placement?: TxPopoverPlacement;
|
|
1262
|
+
offset?: number;
|
|
1263
|
+
openDelay?: number;
|
|
1264
|
+
closeDelay?: number;
|
|
1265
|
+
exitDuration?: number;
|
|
1266
|
+
disabled?: boolean;
|
|
1267
|
+
teleport?: boolean | string;
|
|
1268
|
+
matchTriggerWidth?: boolean;
|
|
1269
|
+
width?: number | string;
|
|
1270
|
+
closeOnClickOutside?: boolean;
|
|
1271
|
+
closeOnEsc?: boolean;
|
|
1272
|
+
closeOnContentClick?: boolean;
|
|
1273
|
+
}
|
|
1274
|
+
export interface TxSelectionActionsWcProps {
|
|
1275
|
+
selection?: Record<string, unknown> | null;
|
|
1276
|
+
state?: 'idle' | 'thinking' | 'streaming' | 'result';
|
|
1277
|
+
actions?: Array<Record<string, unknown>>;
|
|
1278
|
+
activeActionId?: string;
|
|
1279
|
+
expanded?: boolean;
|
|
1280
|
+
prompt?: string;
|
|
1281
|
+
hidePrompt?: boolean;
|
|
1282
|
+
placeholder?: string;
|
|
1283
|
+
ariaLabel?: string;
|
|
1284
|
+
keepLabel?: string;
|
|
1285
|
+
discardLabel?: string;
|
|
1286
|
+
retryLabel?: string;
|
|
1287
|
+
sendLabel?: string;
|
|
1288
|
+
expandLabel?: string;
|
|
1289
|
+
collapseLabel?: string;
|
|
1290
|
+
busyLabel?: string;
|
|
1291
|
+
offset?: number;
|
|
1292
|
+
}
|
|
1293
|
+
export interface TxDataTableWcProps {
|
|
1294
|
+
columns?: Array<Record<string, unknown>>;
|
|
1295
|
+
data?: Array<Record<string, unknown>>;
|
|
1296
|
+
rowKey?: string | ((row: Record<string, unknown>, index: number) => string | number);
|
|
1297
|
+
loading?: boolean;
|
|
1298
|
+
loadingVariant?: 'overlay' | 'skeleton' | 'shimmer';
|
|
1299
|
+
skeletonRows?: number;
|
|
1300
|
+
emptyText?: string;
|
|
1301
|
+
striped?: boolean;
|
|
1302
|
+
bordered?: boolean;
|
|
1303
|
+
hover?: boolean;
|
|
1304
|
+
interactiveRows?: boolean;
|
|
1305
|
+
selectable?: boolean;
|
|
1306
|
+
selectedKeys?: Array<string | number>;
|
|
1307
|
+
selectAllLabel?: string;
|
|
1308
|
+
selectRowLabel?: string;
|
|
1309
|
+
defaultSort?: Record<string, unknown>;
|
|
1310
|
+
sort?: Record<string, unknown> | null;
|
|
1311
|
+
sortOnClient?: boolean;
|
|
1312
|
+
sortCycle?: 'tri' | 'bi';
|
|
1313
|
+
tableLayout?: 'auto' | 'fixed';
|
|
1314
|
+
nowrap?: boolean;
|
|
1315
|
+
maxHeight?: string | number;
|
|
1316
|
+
scrollX?: boolean;
|
|
1317
|
+
stickyHeader?: boolean;
|
|
1318
|
+
stickyFooter?: boolean;
|
|
1319
|
+
expandable?: boolean;
|
|
1320
|
+
defaultExpandedKeys?: Array<string | number>;
|
|
1321
|
+
expandedKeys?: Array<string | number>;
|
|
1322
|
+
expandLabel?: string;
|
|
1323
|
+
collapseLabel?: string;
|
|
1324
|
+
highlightSelected?: boolean;
|
|
1325
|
+
defaultFilter?: Record<string, unknown>;
|
|
1326
|
+
filter?: Record<string, unknown>;
|
|
1327
|
+
filterOnClient?: boolean;
|
|
1328
|
+
autoStickyActions?: boolean;
|
|
1329
|
+
labels?: Record<string, string>;
|
|
1330
|
+
}
|
|
1331
|
+
export interface TxDescriptionsWcProps {
|
|
1332
|
+
columns?: number;
|
|
1333
|
+
layout?: 'horizontal' | 'vertical';
|
|
1334
|
+
size?: 'sm' | 'md';
|
|
1335
|
+
emptyText?: string;
|
|
1336
|
+
labelWidth?: string | number;
|
|
1337
|
+
}
|
|
1338
|
+
export interface TxDescriptionsItemWcProps {
|
|
1339
|
+
label?: string;
|
|
1340
|
+
span?: number;
|
|
1341
|
+
}
|
|
1342
|
+
export interface TxSortableListWcProps {
|
|
1343
|
+
modelValue?: Array<{
|
|
1344
|
+
id: string;
|
|
1345
|
+
[key: string]: unknown;
|
|
1346
|
+
}>;
|
|
1347
|
+
value?: Array<{
|
|
1348
|
+
id: string;
|
|
1349
|
+
[key: string]: unknown;
|
|
1350
|
+
}>;
|
|
1351
|
+
disabled?: boolean;
|
|
1352
|
+
handle?: boolean;
|
|
1353
|
+
ariaLabel?: string;
|
|
1354
|
+
labels?: Record<string, string>;
|
|
1355
|
+
dragMode?: 'pointer' | 'native';
|
|
1356
|
+
}
|
|
1357
|
+
export interface TxTransferWcProps {
|
|
1358
|
+
modelValue?: Array<string | number>;
|
|
1359
|
+
value?: Array<string | number>;
|
|
1360
|
+
data?: Array<{
|
|
1361
|
+
key: string | number;
|
|
1362
|
+
label: string;
|
|
1363
|
+
disabled?: boolean;
|
|
1364
|
+
}>;
|
|
1365
|
+
titles?: [string, string];
|
|
1366
|
+
filterable?: boolean;
|
|
1367
|
+
filterPlaceholder?: string;
|
|
1368
|
+
emptyText?: string | [string, string];
|
|
1369
|
+
maxHeight?: string | number;
|
|
1370
|
+
minHeight?: string | number;
|
|
1371
|
+
addAriaLabel?: string;
|
|
1372
|
+
removeAriaLabel?: string;
|
|
1373
|
+
moveUpAriaLabel?: string;
|
|
1374
|
+
moveDownAriaLabel?: string;
|
|
1375
|
+
selectAllAriaLabel?: string;
|
|
1376
|
+
targetOrder?: 'original' | 'push';
|
|
1377
|
+
orderable?: boolean;
|
|
1378
|
+
}
|
|
1379
|
+
export interface TxFileUploaderWcProps {
|
|
1380
|
+
modelValue?: Array<Record<string, unknown>>;
|
|
1381
|
+
value?: Array<Record<string, unknown>>;
|
|
1382
|
+
multiple?: boolean;
|
|
1383
|
+
accept?: string;
|
|
1384
|
+
disabled?: boolean;
|
|
1385
|
+
max?: number;
|
|
1386
|
+
showSize?: boolean;
|
|
1387
|
+
allowDrop?: boolean;
|
|
1388
|
+
buttonText?: string;
|
|
1389
|
+
dropText?: string;
|
|
1390
|
+
hintText?: string;
|
|
1391
|
+
}
|
|
1392
|
+
export interface TxImageUploaderWcProps {
|
|
1393
|
+
modelValue?: Array<Record<string, unknown>>;
|
|
1394
|
+
value?: Array<Record<string, unknown>>;
|
|
1395
|
+
multiple?: boolean;
|
|
1396
|
+
accept?: string;
|
|
1397
|
+
disabled?: boolean;
|
|
1398
|
+
max?: number;
|
|
1399
|
+
uploadText?: string;
|
|
1400
|
+
}
|
|
1401
|
+
export interface TxImageGalleryWcProps {
|
|
1402
|
+
items?: Array<{
|
|
1403
|
+
id: string;
|
|
1404
|
+
url: string;
|
|
1405
|
+
name?: string;
|
|
1406
|
+
}>;
|
|
1407
|
+
startIndex?: number;
|
|
1408
|
+
previousLabel?: string;
|
|
1409
|
+
nextLabel?: string;
|
|
1410
|
+
previewTitle?: string;
|
|
1411
|
+
closeLabel?: string;
|
|
1412
|
+
zoomInLabel?: string;
|
|
1413
|
+
zoomOutLabel?: string;
|
|
1414
|
+
resetLabel?: string;
|
|
1415
|
+
failedText?: string;
|
|
1416
|
+
previewProps?: Record<string, unknown>;
|
|
1417
|
+
}
|
|
1418
|
+
export interface TxImagePreviewWcProps {
|
|
1419
|
+
open?: boolean;
|
|
1420
|
+
modelValue?: boolean;
|
|
1421
|
+
visible?: boolean;
|
|
1422
|
+
index?: number;
|
|
1423
|
+
images?: Array<string | Record<string, unknown>>;
|
|
1424
|
+
items?: Array<string | Record<string, unknown>>;
|
|
1425
|
+
maxScale?: number;
|
|
1426
|
+
failed?: string[];
|
|
1427
|
+
loadingEffect?: 'sweep-gradient' | 'pixels-organic' | 'pixels-mechanic' | 'skeleton' | 'none';
|
|
1428
|
+
transition?: 'zoom' | 'fade';
|
|
1429
|
+
actions?: Array<'rotate' | 'copy' | 'share' | 'download'>;
|
|
1430
|
+
contextMenu?: boolean;
|
|
1431
|
+
indicator?: 'thumbnails' | 'dots' | 'none';
|
|
1432
|
+
minimap?: boolean;
|
|
1433
|
+
bounce?: number;
|
|
1434
|
+
maskSurface?: TxBaseSurfaceMode;
|
|
1435
|
+
maskColor?: string;
|
|
1436
|
+
maskOpacity?: number;
|
|
1437
|
+
maskBlur?: number;
|
|
1438
|
+
controlSurface?: TxBaseSurfaceMode;
|
|
1439
|
+
controlColor?: string;
|
|
1440
|
+
controlOpacity?: number;
|
|
1441
|
+
controlBlur?: number;
|
|
1442
|
+
label?: string;
|
|
1443
|
+
closeLabel?: string;
|
|
1444
|
+
}
|
|
1445
|
+
export interface TxIconPickerWcProps {
|
|
1446
|
+
modelValue?: string;
|
|
1447
|
+
value?: string;
|
|
1448
|
+
shape?: string;
|
|
1449
|
+
sections?: Array<'emoji' | 'icon' | 'brand' | 'ai' | 'file'>;
|
|
1450
|
+
catalog?: Record<string, unknown>;
|
|
1451
|
+
emojiPacks?: Array<Record<string, unknown>>;
|
|
1452
|
+
shapeSelectable?: boolean;
|
|
1453
|
+
accept?: string;
|
|
1454
|
+
disabled?: boolean;
|
|
1455
|
+
size?: number;
|
|
1456
|
+
placeholder?: string;
|
|
1457
|
+
inline?: boolean;
|
|
1458
|
+
labels?: Record<string, unknown>;
|
|
1459
|
+
}
|
|
1460
|
+
export interface TxCustomElementPropsMap {
|
|
1461
|
+
'tx-button': TxButtonWcProps;
|
|
1462
|
+
'tx-badge': TxBadgeWcProps;
|
|
1463
|
+
'tx-tag': TxTagWcProps;
|
|
1464
|
+
'tx-avatar': TxAvatarWcProps;
|
|
1465
|
+
'tx-spinner': TxSpinnerWcProps;
|
|
1466
|
+
'tx-divider': TxDividerWcProps;
|
|
1467
|
+
'tx-alert': TxAlertWcProps;
|
|
1468
|
+
'tx-card': TxCardWcProps;
|
|
1469
|
+
'tx-kbd': TxKbdWcProps;
|
|
1470
|
+
'tx-progress': TxProgressWcProps;
|
|
1471
|
+
'tx-progress-bar': TxProgressBarWcProps;
|
|
1472
|
+
'tx-skeleton': TxSkeletonWcProps;
|
|
1473
|
+
'tx-switch': TxSwitchWcProps;
|
|
1474
|
+
'tx-status-badge': TxStatusBadgeWcProps;
|
|
1475
|
+
'tx-status-hint': TxStatusHintWcProps;
|
|
1476
|
+
'tx-dot-indicator': TxDotIndicatorWcProps;
|
|
1477
|
+
'tx-empty': TxEmptyWcProps;
|
|
1478
|
+
'tx-stat-card': TxStatCardWcProps;
|
|
1479
|
+
'tx-input': TxInputWcProps;
|
|
1480
|
+
'tx-textarea': TxTextareaWcProps;
|
|
1481
|
+
'tx-checkbox': TxCheckboxWcProps;
|
|
1482
|
+
'tx-radio': TxRadioWcProps;
|
|
1483
|
+
'tx-radio-group': TxRadioGroupWcProps;
|
|
1484
|
+
'tx-slider': TxSliderWcProps;
|
|
1485
|
+
'tx-tabs': TxTabsWcProps;
|
|
1486
|
+
'tx-tab-item': TxTabItemWcProps;
|
|
1487
|
+
'tx-collapse': TxCollapseWcProps;
|
|
1488
|
+
'tx-collapse-item': TxCollapseItemWcProps;
|
|
1489
|
+
'tx-tooltip': TxTooltipWcProps;
|
|
1490
|
+
'tx-popover': TxPopoverWcProps;
|
|
1491
|
+
'tx-dialog': TxDialogWcProps;
|
|
1492
|
+
'tx-drawer': TxDrawerWcProps;
|
|
1493
|
+
'tx-select': TxSelectWcProps;
|
|
1494
|
+
'tx-select-item': TxSelectItemWcProps;
|
|
1495
|
+
'tx-stream-text': TxStreamTextWcProps;
|
|
1496
|
+
'tx-markdown-view': TxMarkdownViewWcProps;
|
|
1497
|
+
'tx-container': TxContainerWcProps;
|
|
1498
|
+
'tx-header': TxHeaderWcProps;
|
|
1499
|
+
'tx-aside': TxAsideWcProps;
|
|
1500
|
+
'tx-main': TxMainWcProps;
|
|
1501
|
+
'tx-footer': TxFooterWcProps;
|
|
1502
|
+
'tx-flex': TxFlexWcProps;
|
|
1503
|
+
'tx-grid': TxGridWcProps;
|
|
1504
|
+
'tx-grid-item': TxGridItemWcProps;
|
|
1505
|
+
'tx-grid-layout': TxGridLayoutWcProps;
|
|
1506
|
+
'tx-stack': TxStackWcProps;
|
|
1507
|
+
'tx-splitter': TxSplitterWcProps;
|
|
1508
|
+
'tx-scroll': TxScrollWcProps;
|
|
1509
|
+
'tx-group-block': TxGroupBlockWcProps;
|
|
1510
|
+
'tx-block-line': TxBlockLineWcProps;
|
|
1511
|
+
'tx-block-slot': TxBlockSlotWcProps;
|
|
1512
|
+
'tx-block-switch': TxBlockSwitchWcProps;
|
|
1513
|
+
'tx-card-item': TxCardItemWcProps;
|
|
1514
|
+
'tx-layout-skeleton': TxLayoutSkeletonWcProps;
|
|
1515
|
+
'tx-text': TxTextWcProps;
|
|
1516
|
+
'tx-icon': TxIconWcProps;
|
|
1517
|
+
'tx-icon-chip': TxIconChipWcProps;
|
|
1518
|
+
'tx-cell-link': TxCellLinkWcProps;
|
|
1519
|
+
'tx-blank-slate': TxBlankSlateWcProps;
|
|
1520
|
+
'tx-empty-state': TxEmptyStateWcProps;
|
|
1521
|
+
'tx-error-state': TxErrorStateWcProps;
|
|
1522
|
+
'tx-guide-state': TxGuideStateWcProps;
|
|
1523
|
+
'tx-loading-state': TxLoadingStateWcProps;
|
|
1524
|
+
'tx-no-data': TxNoDataWcProps;
|
|
1525
|
+
'tx-no-selection': TxNoSelectionWcProps;
|
|
1526
|
+
'tx-offline-state': TxOfflineStateWcProps;
|
|
1527
|
+
'tx-permission-state': TxPermissionStateWcProps;
|
|
1528
|
+
'tx-search-empty': TxSearchEmptyWcProps;
|
|
1529
|
+
'tx-breadcrumb': TxBreadcrumbWcProps;
|
|
1530
|
+
'tx-breadcrumb-item': TxBreadcrumbItemWcProps;
|
|
1531
|
+
'tx-nav-bar': TxNavBarWcProps;
|
|
1532
|
+
'tx-sidebar-nav': TxSidebarNavWcProps;
|
|
1533
|
+
'tx-tab-bar': TxTabBarWcProps;
|
|
1534
|
+
'tx-pagination': TxPaginationWcProps;
|
|
1535
|
+
'tx-steps': TxStepsWcProps;
|
|
1536
|
+
'tx-step': TxStepWcProps;
|
|
1537
|
+
'tx-loading-overlay': TxLoadingOverlayWcProps;
|
|
1538
|
+
'tx-modal': TxModalWcProps;
|
|
1539
|
+
'tx-toast': TxToastWcProps;
|
|
1540
|
+
'tx-toast-panel': TxToastPanelWcProps;
|
|
1541
|
+
'tx-timeline': TxTimelineWcProps;
|
|
1542
|
+
'tx-timeline-item': TxTimelineItemWcProps;
|
|
1543
|
+
'tx-number-input': TxNumberInputWcProps;
|
|
1544
|
+
'tx-search-input': TxSearchInputWcProps;
|
|
1545
|
+
'tx-sensitive-input': TxSensitiveInputWcProps;
|
|
1546
|
+
'tx-tag-input': TxTagInputWcProps;
|
|
1547
|
+
'tx-scrub-field': TxScrubFieldWcProps;
|
|
1548
|
+
'tx-segmented-slider': TxSegmentedSliderWcProps;
|
|
1549
|
+
'tx-rating': TxRatingWcProps;
|
|
1550
|
+
'tx-filter-chips': TxFilterChipsWcProps;
|
|
1551
|
+
'tx-flat-radio': TxFlatRadioWcProps;
|
|
1552
|
+
'tx-flat-radio-item': TxFlatRadioItemWcProps;
|
|
1553
|
+
'tx-flat-select': TxFlatSelectWcProps;
|
|
1554
|
+
'tx-flat-select-item': TxFlatSelectItemWcProps;
|
|
1555
|
+
'tx-search-select': TxSearchSelectWcProps;
|
|
1556
|
+
'tx-cascader': TxCascaderWcProps;
|
|
1557
|
+
'tx-tree': TxTreeWcProps;
|
|
1558
|
+
'tx-tree-select': TxTreeSelectWcProps;
|
|
1559
|
+
'tx-date-picker': TxDatePickerWcProps;
|
|
1560
|
+
'tx-picker': TxPickerWcProps;
|
|
1561
|
+
'tx-form': TxFormWcProps;
|
|
1562
|
+
'tx-form-item': TxFormItemWcProps;
|
|
1563
|
+
'tx-form-row': TxFormRowWcProps;
|
|
1564
|
+
'tx-form-error-summary': TxFormErrorSummaryWcProps;
|
|
1565
|
+
'tx-modal-form': TxModalFormWcProps;
|
|
1566
|
+
'tx-drawer-form': TxDrawerFormWcProps;
|
|
1567
|
+
'tx-steps-form': TxStepsFormWcProps;
|
|
1568
|
+
'tx-context-menu': TxContextMenuWcProps;
|
|
1569
|
+
'tx-context-menu-item': TxContextMenuItemWcProps;
|
|
1570
|
+
'tx-dropdown-menu': TxDropdownMenuWcProps;
|
|
1571
|
+
'tx-dropdown-item': TxDropdownItemWcProps;
|
|
1572
|
+
'tx-flat-dropdown': TxFlatDropdownWcProps;
|
|
1573
|
+
'tx-selection-actions': TxSelectionActionsWcProps;
|
|
1574
|
+
'tx-data-table': TxDataTableWcProps;
|
|
1575
|
+
'tx-descriptions': TxDescriptionsWcProps;
|
|
1576
|
+
'tx-descriptions-item': TxDescriptionsItemWcProps;
|
|
1577
|
+
'tx-sortable-list': TxSortableListWcProps;
|
|
1578
|
+
'tx-transfer': TxTransferWcProps;
|
|
1579
|
+
'tx-file-uploader': TxFileUploaderWcProps;
|
|
1580
|
+
'tx-image-uploader': TxImageUploaderWcProps;
|
|
1581
|
+
'tx-image-gallery': TxImageGalleryWcProps;
|
|
1582
|
+
'tx-image-preview': TxImagePreviewWcProps;
|
|
1583
|
+
'tx-icon-picker': TxIconPickerWcProps;
|
|
1584
|
+
}
|
|
1585
|
+
export type TxCustomElement<Tag extends TuffexElementTagName> = HTMLElement & TxCustomElementPropsMap[Tag];
|
|
1586
|
+
export type TxCustomElementJSXProps<Tag extends TuffexElementTagName> = WcAttrProps<TxCustomElementPropsMap[Tag]> & {
|
|
1587
|
+
class?: string;
|
|
1588
|
+
className?: string;
|
|
1589
|
+
style?: string | Record<string, string | number>;
|
|
1590
|
+
slot?: string;
|
|
1591
|
+
id?: string;
|
|
1592
|
+
part?: string;
|
|
1593
|
+
hidden?: boolean;
|
|
1594
|
+
tabindex?: number | string;
|
|
1595
|
+
children?: unknown;
|
|
1596
|
+
[key: string]: unknown;
|
|
1597
|
+
};
|
|
1598
|
+
export type TuffexIntrinsicElements = {
|
|
1599
|
+
[K in TuffexElementTagName]: TxCustomElementJSXProps<K>;
|
|
1600
|
+
};
|
|
1601
|
+
export type TuffexVueCustomElements = {
|
|
1602
|
+
[K in TuffexElementTagName]: HTMLAttributes & WcAttrProps<TxCustomElementPropsMap[K]>;
|
|
1603
|
+
};
|
|
1604
|
+
declare global {
|
|
1605
|
+
interface HTMLElementTagNameMap {
|
|
1606
|
+
'tx-button': TxCustomElement<'tx-button'>;
|
|
1607
|
+
'tx-badge': TxCustomElement<'tx-badge'>;
|
|
1608
|
+
'tx-tag': TxCustomElement<'tx-tag'>;
|
|
1609
|
+
'tx-avatar': TxCustomElement<'tx-avatar'>;
|
|
1610
|
+
'tx-spinner': TxCustomElement<'tx-spinner'>;
|
|
1611
|
+
'tx-divider': TxCustomElement<'tx-divider'>;
|
|
1612
|
+
'tx-alert': TxCustomElement<'tx-alert'>;
|
|
1613
|
+
'tx-card': TxCustomElement<'tx-card'>;
|
|
1614
|
+
'tx-kbd': TxCustomElement<'tx-kbd'>;
|
|
1615
|
+
'tx-progress': TxCustomElement<'tx-progress'>;
|
|
1616
|
+
'tx-progress-bar': TxCustomElement<'tx-progress-bar'>;
|
|
1617
|
+
'tx-skeleton': TxCustomElement<'tx-skeleton'>;
|
|
1618
|
+
'tx-switch': TxCustomElement<'tx-switch'>;
|
|
1619
|
+
'tx-status-badge': TxCustomElement<'tx-status-badge'>;
|
|
1620
|
+
'tx-status-hint': TxCustomElement<'tx-status-hint'>;
|
|
1621
|
+
'tx-dot-indicator': TxCustomElement<'tx-dot-indicator'>;
|
|
1622
|
+
'tx-empty': TxCustomElement<'tx-empty'>;
|
|
1623
|
+
'tx-stat-card': TxCustomElement<'tx-stat-card'>;
|
|
1624
|
+
'tx-input': TxCustomElement<'tx-input'>;
|
|
1625
|
+
'tx-textarea': TxCustomElement<'tx-textarea'>;
|
|
1626
|
+
'tx-checkbox': TxCustomElement<'tx-checkbox'>;
|
|
1627
|
+
'tx-radio': TxCustomElement<'tx-radio'>;
|
|
1628
|
+
'tx-radio-group': TxCustomElement<'tx-radio-group'>;
|
|
1629
|
+
'tx-slider': TxCustomElement<'tx-slider'>;
|
|
1630
|
+
'tx-tabs': TxCustomElement<'tx-tabs'>;
|
|
1631
|
+
'tx-tab-item': TxCustomElement<'tx-tab-item'>;
|
|
1632
|
+
'tx-collapse': TxCustomElement<'tx-collapse'>;
|
|
1633
|
+
'tx-collapse-item': TxCustomElement<'tx-collapse-item'>;
|
|
1634
|
+
'tx-tooltip': TxCustomElement<'tx-tooltip'>;
|
|
1635
|
+
'tx-popover': TxCustomElement<'tx-popover'>;
|
|
1636
|
+
'tx-dialog': TxCustomElement<'tx-dialog'>;
|
|
1637
|
+
'tx-drawer': TxCustomElement<'tx-drawer'>;
|
|
1638
|
+
'tx-select': TxCustomElement<'tx-select'>;
|
|
1639
|
+
'tx-select-item': TxCustomElement<'tx-select-item'>;
|
|
1640
|
+
'tx-stream-text': TxCustomElement<'tx-stream-text'>;
|
|
1641
|
+
'tx-markdown-view': TxCustomElement<'tx-markdown-view'>;
|
|
1642
|
+
'tx-container': TxCustomElement<'tx-container'>;
|
|
1643
|
+
'tx-header': TxCustomElement<'tx-header'>;
|
|
1644
|
+
'tx-aside': TxCustomElement<'tx-aside'>;
|
|
1645
|
+
'tx-main': TxCustomElement<'tx-main'>;
|
|
1646
|
+
'tx-footer': TxCustomElement<'tx-footer'>;
|
|
1647
|
+
'tx-flex': TxCustomElement<'tx-flex'>;
|
|
1648
|
+
'tx-grid': TxCustomElement<'tx-grid'>;
|
|
1649
|
+
'tx-grid-item': TxCustomElement<'tx-grid-item'>;
|
|
1650
|
+
'tx-grid-layout': TxCustomElement<'tx-grid-layout'>;
|
|
1651
|
+
'tx-stack': TxCustomElement<'tx-stack'>;
|
|
1652
|
+
'tx-splitter': TxCustomElement<'tx-splitter'>;
|
|
1653
|
+
'tx-scroll': TxCustomElement<'tx-scroll'>;
|
|
1654
|
+
'tx-group-block': TxCustomElement<'tx-group-block'>;
|
|
1655
|
+
'tx-block-line': TxCustomElement<'tx-block-line'>;
|
|
1656
|
+
'tx-block-slot': TxCustomElement<'tx-block-slot'>;
|
|
1657
|
+
'tx-block-switch': TxCustomElement<'tx-block-switch'>;
|
|
1658
|
+
'tx-card-item': TxCustomElement<'tx-card-item'>;
|
|
1659
|
+
'tx-layout-skeleton': TxCustomElement<'tx-layout-skeleton'>;
|
|
1660
|
+
'tx-text': TxCustomElement<'tx-text'>;
|
|
1661
|
+
'tx-icon': TxCustomElement<'tx-icon'>;
|
|
1662
|
+
'tx-icon-chip': TxCustomElement<'tx-icon-chip'>;
|
|
1663
|
+
'tx-cell-link': TxCustomElement<'tx-cell-link'>;
|
|
1664
|
+
'tx-blank-slate': TxCustomElement<'tx-blank-slate'>;
|
|
1665
|
+
'tx-empty-state': TxCustomElement<'tx-empty-state'>;
|
|
1666
|
+
'tx-error-state': TxCustomElement<'tx-error-state'>;
|
|
1667
|
+
'tx-guide-state': TxCustomElement<'tx-guide-state'>;
|
|
1668
|
+
'tx-loading-state': TxCustomElement<'tx-loading-state'>;
|
|
1669
|
+
'tx-no-data': TxCustomElement<'tx-no-data'>;
|
|
1670
|
+
'tx-no-selection': TxCustomElement<'tx-no-selection'>;
|
|
1671
|
+
'tx-offline-state': TxCustomElement<'tx-offline-state'>;
|
|
1672
|
+
'tx-permission-state': TxCustomElement<'tx-permission-state'>;
|
|
1673
|
+
'tx-search-empty': TxCustomElement<'tx-search-empty'>;
|
|
1674
|
+
'tx-breadcrumb': TxCustomElement<'tx-breadcrumb'>;
|
|
1675
|
+
'tx-breadcrumb-item': TxCustomElement<'tx-breadcrumb-item'>;
|
|
1676
|
+
'tx-nav-bar': TxCustomElement<'tx-nav-bar'>;
|
|
1677
|
+
'tx-sidebar-nav': TxCustomElement<'tx-sidebar-nav'>;
|
|
1678
|
+
'tx-tab-bar': TxCustomElement<'tx-tab-bar'>;
|
|
1679
|
+
'tx-pagination': TxCustomElement<'tx-pagination'>;
|
|
1680
|
+
'tx-steps': TxCustomElement<'tx-steps'>;
|
|
1681
|
+
'tx-step': TxCustomElement<'tx-step'>;
|
|
1682
|
+
'tx-loading-overlay': TxCustomElement<'tx-loading-overlay'>;
|
|
1683
|
+
'tx-modal': TxCustomElement<'tx-modal'>;
|
|
1684
|
+
'tx-toast': TxCustomElement<'tx-toast'>;
|
|
1685
|
+
'tx-toast-panel': TxCustomElement<'tx-toast-panel'>;
|
|
1686
|
+
'tx-timeline': TxCustomElement<'tx-timeline'>;
|
|
1687
|
+
'tx-timeline-item': TxCustomElement<'tx-timeline-item'>;
|
|
1688
|
+
'tx-number-input': TxCustomElement<'tx-number-input'>;
|
|
1689
|
+
'tx-search-input': TxCustomElement<'tx-search-input'>;
|
|
1690
|
+
'tx-sensitive-input': TxCustomElement<'tx-sensitive-input'>;
|
|
1691
|
+
'tx-tag-input': TxCustomElement<'tx-tag-input'>;
|
|
1692
|
+
'tx-scrub-field': TxCustomElement<'tx-scrub-field'>;
|
|
1693
|
+
'tx-segmented-slider': TxCustomElement<'tx-segmented-slider'>;
|
|
1694
|
+
'tx-rating': TxCustomElement<'tx-rating'>;
|
|
1695
|
+
'tx-filter-chips': TxCustomElement<'tx-filter-chips'>;
|
|
1696
|
+
'tx-flat-radio': TxCustomElement<'tx-flat-radio'>;
|
|
1697
|
+
'tx-flat-radio-item': TxCustomElement<'tx-flat-radio-item'>;
|
|
1698
|
+
'tx-flat-select': TxCustomElement<'tx-flat-select'>;
|
|
1699
|
+
'tx-flat-select-item': TxCustomElement<'tx-flat-select-item'>;
|
|
1700
|
+
'tx-search-select': TxCustomElement<'tx-search-select'>;
|
|
1701
|
+
'tx-cascader': TxCustomElement<'tx-cascader'>;
|
|
1702
|
+
'tx-tree': TxCustomElement<'tx-tree'>;
|
|
1703
|
+
'tx-tree-select': TxCustomElement<'tx-tree-select'>;
|
|
1704
|
+
'tx-date-picker': TxCustomElement<'tx-date-picker'>;
|
|
1705
|
+
'tx-picker': TxCustomElement<'tx-picker'>;
|
|
1706
|
+
'tx-form': TxCustomElement<'tx-form'>;
|
|
1707
|
+
'tx-form-item': TxCustomElement<'tx-form-item'>;
|
|
1708
|
+
'tx-form-row': TxCustomElement<'tx-form-row'>;
|
|
1709
|
+
'tx-form-error-summary': TxCustomElement<'tx-form-error-summary'>;
|
|
1710
|
+
'tx-modal-form': TxCustomElement<'tx-modal-form'>;
|
|
1711
|
+
'tx-drawer-form': TxCustomElement<'tx-drawer-form'>;
|
|
1712
|
+
'tx-steps-form': TxCustomElement<'tx-steps-form'>;
|
|
1713
|
+
'tx-context-menu': TxCustomElement<'tx-context-menu'>;
|
|
1714
|
+
'tx-context-menu-item': TxCustomElement<'tx-context-menu-item'>;
|
|
1715
|
+
'tx-dropdown-menu': TxCustomElement<'tx-dropdown-menu'>;
|
|
1716
|
+
'tx-dropdown-item': TxCustomElement<'tx-dropdown-item'>;
|
|
1717
|
+
'tx-flat-dropdown': TxCustomElement<'tx-flat-dropdown'>;
|
|
1718
|
+
'tx-selection-actions': TxCustomElement<'tx-selection-actions'>;
|
|
1719
|
+
'tx-data-table': TxCustomElement<'tx-data-table'>;
|
|
1720
|
+
'tx-descriptions': TxCustomElement<'tx-descriptions'>;
|
|
1721
|
+
'tx-descriptions-item': TxCustomElement<'tx-descriptions-item'>;
|
|
1722
|
+
'tx-sortable-list': TxCustomElement<'tx-sortable-list'>;
|
|
1723
|
+
'tx-transfer': TxCustomElement<'tx-transfer'>;
|
|
1724
|
+
'tx-file-uploader': TxCustomElement<'tx-file-uploader'>;
|
|
1725
|
+
'tx-image-uploader': TxCustomElement<'tx-image-uploader'>;
|
|
1726
|
+
'tx-image-gallery': TxCustomElement<'tx-image-gallery'>;
|
|
1727
|
+
'tx-image-preview': TxCustomElement<'tx-image-preview'>;
|
|
1728
|
+
'tx-icon-picker': TxCustomElement<'tx-icon-picker'>;
|
|
1729
|
+
}
|
|
1730
|
+
namespace JSX {
|
|
1731
|
+
interface IntrinsicElements extends TuffexIntrinsicElements {
|
|
1732
|
+
}
|
|
1733
|
+
}
|
|
1734
|
+
}
|
|
1735
|
+
declare module 'vue' {
|
|
1736
|
+
interface GlobalComponents {
|
|
1737
|
+
'tx-button': TuffexVueCustomElements['tx-button'];
|
|
1738
|
+
'tx-badge': TuffexVueCustomElements['tx-badge'];
|
|
1739
|
+
'tx-tag': TuffexVueCustomElements['tx-tag'];
|
|
1740
|
+
'tx-avatar': TuffexVueCustomElements['tx-avatar'];
|
|
1741
|
+
'tx-spinner': TuffexVueCustomElements['tx-spinner'];
|
|
1742
|
+
'tx-divider': TuffexVueCustomElements['tx-divider'];
|
|
1743
|
+
'tx-alert': TuffexVueCustomElements['tx-alert'];
|
|
1744
|
+
'tx-card': TuffexVueCustomElements['tx-card'];
|
|
1745
|
+
'tx-kbd': TuffexVueCustomElements['tx-kbd'];
|
|
1746
|
+
'tx-progress': TuffexVueCustomElements['tx-progress'];
|
|
1747
|
+
'tx-progress-bar': TuffexVueCustomElements['tx-progress-bar'];
|
|
1748
|
+
'tx-skeleton': TuffexVueCustomElements['tx-skeleton'];
|
|
1749
|
+
'tx-switch': TuffexVueCustomElements['tx-switch'];
|
|
1750
|
+
'tx-status-badge': TuffexVueCustomElements['tx-status-badge'];
|
|
1751
|
+
'tx-status-hint': TuffexVueCustomElements['tx-status-hint'];
|
|
1752
|
+
'tx-dot-indicator': TuffexVueCustomElements['tx-dot-indicator'];
|
|
1753
|
+
'tx-empty': TuffexVueCustomElements['tx-empty'];
|
|
1754
|
+
'tx-stat-card': TuffexVueCustomElements['tx-stat-card'];
|
|
1755
|
+
'tx-input': TuffexVueCustomElements['tx-input'];
|
|
1756
|
+
'tx-textarea': TuffexVueCustomElements['tx-textarea'];
|
|
1757
|
+
'tx-checkbox': TuffexVueCustomElements['tx-checkbox'];
|
|
1758
|
+
'tx-radio': TuffexVueCustomElements['tx-radio'];
|
|
1759
|
+
'tx-radio-group': TuffexVueCustomElements['tx-radio-group'];
|
|
1760
|
+
'tx-slider': TuffexVueCustomElements['tx-slider'];
|
|
1761
|
+
'tx-tabs': TuffexVueCustomElements['tx-tabs'];
|
|
1762
|
+
'tx-tab-item': TuffexVueCustomElements['tx-tab-item'];
|
|
1763
|
+
'tx-collapse': TuffexVueCustomElements['tx-collapse'];
|
|
1764
|
+
'tx-collapse-item': TuffexVueCustomElements['tx-collapse-item'];
|
|
1765
|
+
'tx-tooltip': TuffexVueCustomElements['tx-tooltip'];
|
|
1766
|
+
'tx-popover': TuffexVueCustomElements['tx-popover'];
|
|
1767
|
+
'tx-dialog': TuffexVueCustomElements['tx-dialog'];
|
|
1768
|
+
'tx-drawer': TuffexVueCustomElements['tx-drawer'];
|
|
1769
|
+
'tx-select': TuffexVueCustomElements['tx-select'];
|
|
1770
|
+
'tx-select-item': TuffexVueCustomElements['tx-select-item'];
|
|
1771
|
+
'tx-stream-text': TuffexVueCustomElements['tx-stream-text'];
|
|
1772
|
+
'tx-markdown-view': TuffexVueCustomElements['tx-markdown-view'];
|
|
1773
|
+
'tx-container': TuffexVueCustomElements['tx-container'];
|
|
1774
|
+
'tx-header': TuffexVueCustomElements['tx-header'];
|
|
1775
|
+
'tx-aside': TuffexVueCustomElements['tx-aside'];
|
|
1776
|
+
'tx-main': TuffexVueCustomElements['tx-main'];
|
|
1777
|
+
'tx-footer': TuffexVueCustomElements['tx-footer'];
|
|
1778
|
+
'tx-flex': TuffexVueCustomElements['tx-flex'];
|
|
1779
|
+
'tx-grid': TuffexVueCustomElements['tx-grid'];
|
|
1780
|
+
'tx-grid-item': TuffexVueCustomElements['tx-grid-item'];
|
|
1781
|
+
'tx-grid-layout': TuffexVueCustomElements['tx-grid-layout'];
|
|
1782
|
+
'tx-stack': TuffexVueCustomElements['tx-stack'];
|
|
1783
|
+
'tx-splitter': TuffexVueCustomElements['tx-splitter'];
|
|
1784
|
+
'tx-scroll': TuffexVueCustomElements['tx-scroll'];
|
|
1785
|
+
'tx-group-block': TuffexVueCustomElements['tx-group-block'];
|
|
1786
|
+
'tx-block-line': TuffexVueCustomElements['tx-block-line'];
|
|
1787
|
+
'tx-block-slot': TuffexVueCustomElements['tx-block-slot'];
|
|
1788
|
+
'tx-block-switch': TuffexVueCustomElements['tx-block-switch'];
|
|
1789
|
+
'tx-card-item': TuffexVueCustomElements['tx-card-item'];
|
|
1790
|
+
'tx-layout-skeleton': TuffexVueCustomElements['tx-layout-skeleton'];
|
|
1791
|
+
'tx-text': TuffexVueCustomElements['tx-text'];
|
|
1792
|
+
'tx-icon': TuffexVueCustomElements['tx-icon'];
|
|
1793
|
+
'tx-icon-chip': TuffexVueCustomElements['tx-icon-chip'];
|
|
1794
|
+
'tx-cell-link': TuffexVueCustomElements['tx-cell-link'];
|
|
1795
|
+
'tx-blank-slate': TuffexVueCustomElements['tx-blank-slate'];
|
|
1796
|
+
'tx-empty-state': TuffexVueCustomElements['tx-empty-state'];
|
|
1797
|
+
'tx-error-state': TuffexVueCustomElements['tx-error-state'];
|
|
1798
|
+
'tx-guide-state': TuffexVueCustomElements['tx-guide-state'];
|
|
1799
|
+
'tx-loading-state': TuffexVueCustomElements['tx-loading-state'];
|
|
1800
|
+
'tx-no-data': TuffexVueCustomElements['tx-no-data'];
|
|
1801
|
+
'tx-no-selection': TuffexVueCustomElements['tx-no-selection'];
|
|
1802
|
+
'tx-offline-state': TuffexVueCustomElements['tx-offline-state'];
|
|
1803
|
+
'tx-permission-state': TuffexVueCustomElements['tx-permission-state'];
|
|
1804
|
+
'tx-search-empty': TuffexVueCustomElements['tx-search-empty'];
|
|
1805
|
+
'tx-breadcrumb': TuffexVueCustomElements['tx-breadcrumb'];
|
|
1806
|
+
'tx-breadcrumb-item': TuffexVueCustomElements['tx-breadcrumb-item'];
|
|
1807
|
+
'tx-nav-bar': TuffexVueCustomElements['tx-nav-bar'];
|
|
1808
|
+
'tx-sidebar-nav': TuffexVueCustomElements['tx-sidebar-nav'];
|
|
1809
|
+
'tx-tab-bar': TuffexVueCustomElements['tx-tab-bar'];
|
|
1810
|
+
'tx-pagination': TuffexVueCustomElements['tx-pagination'];
|
|
1811
|
+
'tx-steps': TuffexVueCustomElements['tx-steps'];
|
|
1812
|
+
'tx-step': TuffexVueCustomElements['tx-step'];
|
|
1813
|
+
'tx-loading-overlay': TuffexVueCustomElements['tx-loading-overlay'];
|
|
1814
|
+
'tx-modal': TuffexVueCustomElements['tx-modal'];
|
|
1815
|
+
'tx-toast': TuffexVueCustomElements['tx-toast'];
|
|
1816
|
+
'tx-toast-panel': TuffexVueCustomElements['tx-toast-panel'];
|
|
1817
|
+
'tx-timeline': TuffexVueCustomElements['tx-timeline'];
|
|
1818
|
+
'tx-timeline-item': TuffexVueCustomElements['tx-timeline-item'];
|
|
1819
|
+
'tx-number-input': TuffexVueCustomElements['tx-number-input'];
|
|
1820
|
+
'tx-search-input': TuffexVueCustomElements['tx-search-input'];
|
|
1821
|
+
'tx-sensitive-input': TuffexVueCustomElements['tx-sensitive-input'];
|
|
1822
|
+
'tx-tag-input': TuffexVueCustomElements['tx-tag-input'];
|
|
1823
|
+
'tx-scrub-field': TuffexVueCustomElements['tx-scrub-field'];
|
|
1824
|
+
'tx-segmented-slider': TuffexVueCustomElements['tx-segmented-slider'];
|
|
1825
|
+
'tx-rating': TuffexVueCustomElements['tx-rating'];
|
|
1826
|
+
'tx-filter-chips': TuffexVueCustomElements['tx-filter-chips'];
|
|
1827
|
+
'tx-flat-radio': TuffexVueCustomElements['tx-flat-radio'];
|
|
1828
|
+
'tx-flat-radio-item': TuffexVueCustomElements['tx-flat-radio-item'];
|
|
1829
|
+
'tx-flat-select': TuffexVueCustomElements['tx-flat-select'];
|
|
1830
|
+
'tx-flat-select-item': TuffexVueCustomElements['tx-flat-select-item'];
|
|
1831
|
+
'tx-search-select': TuffexVueCustomElements['tx-search-select'];
|
|
1832
|
+
'tx-cascader': TuffexVueCustomElements['tx-cascader'];
|
|
1833
|
+
'tx-tree': TuffexVueCustomElements['tx-tree'];
|
|
1834
|
+
'tx-tree-select': TuffexVueCustomElements['tx-tree-select'];
|
|
1835
|
+
'tx-date-picker': TuffexVueCustomElements['tx-date-picker'];
|
|
1836
|
+
'tx-picker': TuffexVueCustomElements['tx-picker'];
|
|
1837
|
+
'tx-form': TuffexVueCustomElements['tx-form'];
|
|
1838
|
+
'tx-form-item': TuffexVueCustomElements['tx-form-item'];
|
|
1839
|
+
'tx-form-row': TuffexVueCustomElements['tx-form-row'];
|
|
1840
|
+
'tx-form-error-summary': TuffexVueCustomElements['tx-form-error-summary'];
|
|
1841
|
+
'tx-modal-form': TuffexVueCustomElements['tx-modal-form'];
|
|
1842
|
+
'tx-drawer-form': TuffexVueCustomElements['tx-drawer-form'];
|
|
1843
|
+
'tx-steps-form': TuffexVueCustomElements['tx-steps-form'];
|
|
1844
|
+
'tx-context-menu': TuffexVueCustomElements['tx-context-menu'];
|
|
1845
|
+
'tx-context-menu-item': TuffexVueCustomElements['tx-context-menu-item'];
|
|
1846
|
+
'tx-dropdown-menu': TuffexVueCustomElements['tx-dropdown-menu'];
|
|
1847
|
+
'tx-dropdown-item': TuffexVueCustomElements['tx-dropdown-item'];
|
|
1848
|
+
'tx-flat-dropdown': TuffexVueCustomElements['tx-flat-dropdown'];
|
|
1849
|
+
'tx-selection-actions': TuffexVueCustomElements['tx-selection-actions'];
|
|
1850
|
+
'tx-data-table': TuffexVueCustomElements['tx-data-table'];
|
|
1851
|
+
'tx-descriptions': TuffexVueCustomElements['tx-descriptions'];
|
|
1852
|
+
'tx-descriptions-item': TuffexVueCustomElements['tx-descriptions-item'];
|
|
1853
|
+
'tx-sortable-list': TuffexVueCustomElements['tx-sortable-list'];
|
|
1854
|
+
'tx-transfer': TuffexVueCustomElements['tx-transfer'];
|
|
1855
|
+
'tx-file-uploader': TuffexVueCustomElements['tx-file-uploader'];
|
|
1856
|
+
'tx-image-uploader': TuffexVueCustomElements['tx-image-uploader'];
|
|
1857
|
+
'tx-image-gallery': TuffexVueCustomElements['tx-image-gallery'];
|
|
1858
|
+
'tx-image-preview': TuffexVueCustomElements['tx-image-preview'];
|
|
1859
|
+
'tx-icon-picker': TuffexVueCustomElements['tx-icon-picker'];
|
|
1860
|
+
}
|
|
1861
|
+
}
|