@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/index.js
ADDED
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
import { B as BASE_A_BUNDLES } from "./chunks/base-a.js";
|
|
2
|
+
import { T, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC } from "./chunks/base-a.js";
|
|
3
|
+
import { B as BASE_B_BUNDLES } from "./chunks/base-b.js";
|
|
4
|
+
import { T as T2, a as a10, b as b2, c as c2, d as d2, e as e2, f as f2, g as g2, h as h2, i as i2, j as j2, k as k2, l as l2, m as m2, n as n2, o as o2, p as p2, q as q2, r as r2, s as s2, t as t2, u as u2, v as v2, w as w2, x as x2, y as y2, z as z2, A as A2, C as C2, D as D2, E as E2, F as F2, G as G2, H as H2, I as I2, J as J2, K as K2, L as L2, M as M2, N as N2, O as O2, P as P2, Q as Q2, R as R2, S as S2, U as U2, V as V2, W as W2, X as X2, Y as Y2, Z as Z2, _ as _2, $ as $2, a0 as a02, a1 as a12, a2 as a22, a3 as a32, a4 as a42, a5 as a52, a6 as a62, a7 as a72, a8 as a82, a9 as a92, aa as aa2, ab as ab2, ac as ac2, ad as ad2, ae as ae2, af as af2, ag as ag2, ah as ah2, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, an as an2, ao as ao2, ap as ap2, aq as aq2, ar as ar2, as as as2 } from "./chunks/base-b.js";
|
|
5
|
+
import { T as TIER_A_BUNDLES } from "./chunks/tier-a.js";
|
|
6
|
+
import { a as a11, b as b3, c as c3, d as d3, e as e3, f as f3, g as g3, h as h3, i as i3, j as j3, k as k3, l as l3, m as m3, n as n3, o as o3, p as p3, q as q3, r as r3, s as s3, t as t3, u as u3, v as v3, w as w3, x as x3, y as y3, z as z3, A as A3, B, C as C3, D as D3, E as E3, F as F3, G as G3, H as H3, I as I3, J as J3 } from "./chunks/tier-a.js";
|
|
7
|
+
import { T as TIER_B_BUNDLES } from "./chunks/tier-b.js";
|
|
8
|
+
import { a as a13, b as b4, c as c4, d as d4, e as e4, f as f4, g as g4, h as h4, i as i4, j as j4, k as k4, l as l4, m as m4, n as n4, o as o4, p as p4, q as q4, r as r4, s as s4, t as t4, u as u4, v as v4, w as w4, x as x4, y as y4, z as z4, A as A4, B as B2, C as C4, D as D4, E as E4, F as F4 } from "./chunks/tier-b.js";
|
|
9
|
+
import { T as TIER_C_BUNDLES } from "./chunks/tier-c.js";
|
|
10
|
+
import { a as a14, b as b5, d as d5, c as c5 } from "./chunks/tier-c.js";
|
|
11
|
+
import { WC_ELEMENTS_MANIFEST, WC_ELEMENT_TAGS, WC_READY_COMPONENT_IDS } from "./manifest.js";
|
|
12
|
+
import { D as D5, N as N3, k as k5, l as l5, m as m5, n as n5, o as o5, q as q5, b as b6, i as i5, j as j5, c as c6, a as a15, d as d6, g as g5, r as r5, h as h5, s as s5, t as t5, v as v5, w as w5, x as x5, y as y5 } from "./chunks/wc-runtime.js";
|
|
13
|
+
const ALL_TUFFEX_ELEMENT_BUNDLES = [
|
|
14
|
+
...TIER_A_BUNDLES,
|
|
15
|
+
...TIER_B_BUNDLES,
|
|
16
|
+
...TIER_C_BUNDLES,
|
|
17
|
+
...BASE_A_BUNDLES,
|
|
18
|
+
...BASE_B_BUNDLES
|
|
19
|
+
];
|
|
20
|
+
function registerTuffexElements(options = {}) {
|
|
21
|
+
const prefix = (options.prefix ?? "tx").replace(/-+$/, "");
|
|
22
|
+
const includeSet = options.include ? new Set(options.include) : null;
|
|
23
|
+
const excludeSet = options.exclude ? new Set(options.exclude) : null;
|
|
24
|
+
const registered = {};
|
|
25
|
+
for (const bundle of ALL_TUFFEX_ELEMENT_BUNDLES) {
|
|
26
|
+
if (includeSet && !includeSet.has(bundle.tag))
|
|
27
|
+
continue;
|
|
28
|
+
if (excludeSet && excludeSet.has(bundle.tag))
|
|
29
|
+
continue;
|
|
30
|
+
const tagName = prefix === "tx" ? bundle.tag : bundle.tag.replace(/^tx-/, `${prefix}-`);
|
|
31
|
+
registered[tagName] = bundle.define({
|
|
32
|
+
tagName,
|
|
33
|
+
shadowRoot: options.shadowRoot,
|
|
34
|
+
styles: options.styles,
|
|
35
|
+
registry: options.registry
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
return registered;
|
|
39
|
+
}
|
|
40
|
+
export {
|
|
41
|
+
ALL_TUFFEX_ELEMENT_BUNDLES,
|
|
42
|
+
BASE_A_BUNDLES,
|
|
43
|
+
BASE_B_BUNDLES,
|
|
44
|
+
D5 as DEFAULT_SHADOW_HOST_CSS,
|
|
45
|
+
N3 as NATIVE_ELEMENT_PROP_KEYS,
|
|
46
|
+
TIER_A_BUNDLES,
|
|
47
|
+
TIER_B_BUNDLES,
|
|
48
|
+
TIER_C_BUNDLES,
|
|
49
|
+
a11 as TxAlertElement,
|
|
50
|
+
T as TxAsideElement,
|
|
51
|
+
b3 as TxAvatarElement,
|
|
52
|
+
c3 as TxBadgeElement,
|
|
53
|
+
a as TxBlankSlateElement,
|
|
54
|
+
b as TxBlockLineElement,
|
|
55
|
+
c as TxBlockSlotElement,
|
|
56
|
+
d as TxBlockSwitchElement,
|
|
57
|
+
e as TxBreadcrumbElement,
|
|
58
|
+
f as TxBreadcrumbItemElement,
|
|
59
|
+
d3 as TxButtonElement,
|
|
60
|
+
e3 as TxCardElement,
|
|
61
|
+
g as TxCardItemElement,
|
|
62
|
+
T2 as TxCascaderElement,
|
|
63
|
+
h as TxCellLinkElement,
|
|
64
|
+
a13 as TxCheckboxElement,
|
|
65
|
+
b4 as TxCollapseElement,
|
|
66
|
+
c4 as TxCollapseItemElement,
|
|
67
|
+
i as TxContainerElement,
|
|
68
|
+
a10 as TxContextMenuElement,
|
|
69
|
+
b2 as TxContextMenuItemElement,
|
|
70
|
+
c2 as TxDataTableElement,
|
|
71
|
+
d2 as TxDatePickerElement,
|
|
72
|
+
e2 as TxDescriptionsElement,
|
|
73
|
+
f2 as TxDescriptionsItemElement,
|
|
74
|
+
d4 as TxDialogElement,
|
|
75
|
+
f3 as TxDividerElement,
|
|
76
|
+
g3 as TxDotIndicatorElement,
|
|
77
|
+
e4 as TxDrawerElement,
|
|
78
|
+
g2 as TxDrawerFormElement,
|
|
79
|
+
h2 as TxDropdownItemElement,
|
|
80
|
+
i2 as TxDropdownMenuElement,
|
|
81
|
+
h3 as TxEmptyElement,
|
|
82
|
+
j as TxEmptyStateElement,
|
|
83
|
+
k as TxErrorStateElement,
|
|
84
|
+
j2 as TxFileUploaderElement,
|
|
85
|
+
k2 as TxFilterChipsElement,
|
|
86
|
+
l2 as TxFlatDropdownElement,
|
|
87
|
+
m2 as TxFlatRadioElement,
|
|
88
|
+
n2 as TxFlatRadioItemElement,
|
|
89
|
+
o2 as TxFlatSelectElement,
|
|
90
|
+
p2 as TxFlatSelectItemElement,
|
|
91
|
+
l as TxFlexElement,
|
|
92
|
+
m as TxFooterElement,
|
|
93
|
+
q2 as TxFormElement,
|
|
94
|
+
r2 as TxFormErrorSummaryElement,
|
|
95
|
+
s2 as TxFormItemElement,
|
|
96
|
+
t2 as TxFormRowElement,
|
|
97
|
+
n as TxGridElement,
|
|
98
|
+
o as TxGridItemElement,
|
|
99
|
+
p as TxGridLayoutElement,
|
|
100
|
+
q as TxGroupBlockElement,
|
|
101
|
+
r as TxGuideStateElement,
|
|
102
|
+
s as TxHeaderElement,
|
|
103
|
+
t as TxIconChipElement,
|
|
104
|
+
u as TxIconElement,
|
|
105
|
+
u2 as TxIconPickerElement,
|
|
106
|
+
v2 as TxImageGalleryElement,
|
|
107
|
+
w2 as TxImagePreviewElement,
|
|
108
|
+
x2 as TxImageUploaderElement,
|
|
109
|
+
f4 as TxInputElement,
|
|
110
|
+
i3 as TxKbdElement,
|
|
111
|
+
v as TxLayoutSkeletonElement,
|
|
112
|
+
w as TxLoadingOverlayElement,
|
|
113
|
+
x as TxLoadingStateElement,
|
|
114
|
+
y as TxMainElement,
|
|
115
|
+
a14 as TxMarkdownViewElement,
|
|
116
|
+
z as TxModalElement,
|
|
117
|
+
y2 as TxModalFormElement,
|
|
118
|
+
A as TxNavBarElement,
|
|
119
|
+
C as TxNoDataElement,
|
|
120
|
+
D as TxNoSelectionElement,
|
|
121
|
+
z2 as TxNumberInputElement,
|
|
122
|
+
E as TxOfflineStateElement,
|
|
123
|
+
F as TxPaginationElement,
|
|
124
|
+
G as TxPermissionStateElement,
|
|
125
|
+
A2 as TxPickerElement,
|
|
126
|
+
g4 as TxPopoverElement,
|
|
127
|
+
j3 as TxProgressBarElement,
|
|
128
|
+
k3 as TxProgressElement,
|
|
129
|
+
h4 as TxRadioElement,
|
|
130
|
+
i4 as TxRadioGroupElement,
|
|
131
|
+
C2 as TxRatingElement,
|
|
132
|
+
H as TxScrollElement,
|
|
133
|
+
D2 as TxScrubFieldElement,
|
|
134
|
+
I as TxSearchEmptyElement,
|
|
135
|
+
E2 as TxSearchInputElement,
|
|
136
|
+
F2 as TxSearchSelectElement,
|
|
137
|
+
G2 as TxSegmentedSliderElement,
|
|
138
|
+
j4 as TxSelectElement,
|
|
139
|
+
k4 as TxSelectItemElement,
|
|
140
|
+
H2 as TxSelectionActionsElement,
|
|
141
|
+
I2 as TxSensitiveInputElement,
|
|
142
|
+
J as TxSidebarNavElement,
|
|
143
|
+
l3 as TxSkeletonElement,
|
|
144
|
+
l4 as TxSliderElement,
|
|
145
|
+
J2 as TxSortableListElement,
|
|
146
|
+
m3 as TxSpinnerElement,
|
|
147
|
+
K as TxSplitterElement,
|
|
148
|
+
L as TxStackElement,
|
|
149
|
+
n3 as TxStatCardElement,
|
|
150
|
+
o3 as TxStatusBadgeElement,
|
|
151
|
+
p3 as TxStatusHintElement,
|
|
152
|
+
M as TxStepElement,
|
|
153
|
+
N as TxStepsElement,
|
|
154
|
+
K2 as TxStepsFormElement,
|
|
155
|
+
b5 as TxStreamTextElement,
|
|
156
|
+
q3 as TxSwitchElement,
|
|
157
|
+
O as TxTabBarElement,
|
|
158
|
+
m4 as TxTabItemElement,
|
|
159
|
+
n4 as TxTabsElement,
|
|
160
|
+
r3 as TxTagElement,
|
|
161
|
+
L2 as TxTagInputElement,
|
|
162
|
+
P as TxTextElement,
|
|
163
|
+
o4 as TxTextareaElement,
|
|
164
|
+
Q as TxTimelineElement,
|
|
165
|
+
R as TxTimelineItemElement,
|
|
166
|
+
S as TxToastElement,
|
|
167
|
+
U as TxToastPanelElement,
|
|
168
|
+
p4 as TxTooltipElement,
|
|
169
|
+
M2 as TxTransferElement,
|
|
170
|
+
N2 as TxTreeElement,
|
|
171
|
+
O2 as TxTreeSelectElement,
|
|
172
|
+
WC_ELEMENTS_MANIFEST,
|
|
173
|
+
WC_ELEMENT_TAGS,
|
|
174
|
+
WC_READY_COMPONENT_IDS,
|
|
175
|
+
k5 as coerceBoolean,
|
|
176
|
+
l5 as coerceBooleanOrJson,
|
|
177
|
+
m5 as coerceBooleanOrString,
|
|
178
|
+
n5 as coerceJson,
|
|
179
|
+
o5 as coerceNumber,
|
|
180
|
+
q5 as coercePropValue,
|
|
181
|
+
b6 as coercePropsBySchema,
|
|
182
|
+
i5 as coerceStringOrJson,
|
|
183
|
+
j5 as coerceStringOrNumber,
|
|
184
|
+
c6 as createTxCustomElement,
|
|
185
|
+
a15 as createTxCustomElementFromComponent,
|
|
186
|
+
s3 as defineTxAlert,
|
|
187
|
+
V as defineTxAside,
|
|
188
|
+
t3 as defineTxAvatar,
|
|
189
|
+
u3 as defineTxBadge,
|
|
190
|
+
W as defineTxBlankSlate,
|
|
191
|
+
X as defineTxBlockLine,
|
|
192
|
+
Y as defineTxBlockSlot,
|
|
193
|
+
Z as defineTxBlockSwitch,
|
|
194
|
+
_ as defineTxBreadcrumb,
|
|
195
|
+
$ as defineTxBreadcrumbItem,
|
|
196
|
+
v3 as defineTxButton,
|
|
197
|
+
w3 as defineTxCard,
|
|
198
|
+
a0 as defineTxCardItem,
|
|
199
|
+
P2 as defineTxCascader,
|
|
200
|
+
a1 as defineTxCellLink,
|
|
201
|
+
q4 as defineTxCheckbox,
|
|
202
|
+
r4 as defineTxCollapse,
|
|
203
|
+
s4 as defineTxCollapseItem,
|
|
204
|
+
a2 as defineTxContainer,
|
|
205
|
+
Q2 as defineTxContextMenu,
|
|
206
|
+
R2 as defineTxContextMenuItem,
|
|
207
|
+
S2 as defineTxDataTable,
|
|
208
|
+
U2 as defineTxDatePicker,
|
|
209
|
+
V2 as defineTxDescriptions,
|
|
210
|
+
W2 as defineTxDescriptionsItem,
|
|
211
|
+
t4 as defineTxDialog,
|
|
212
|
+
x3 as defineTxDivider,
|
|
213
|
+
y3 as defineTxDotIndicator,
|
|
214
|
+
u4 as defineTxDrawer,
|
|
215
|
+
X2 as defineTxDrawerForm,
|
|
216
|
+
Y2 as defineTxDropdownItem,
|
|
217
|
+
Z2 as defineTxDropdownMenu,
|
|
218
|
+
z3 as defineTxEmpty,
|
|
219
|
+
a3 as defineTxEmptyState,
|
|
220
|
+
a4 as defineTxErrorState,
|
|
221
|
+
_2 as defineTxFileUploader,
|
|
222
|
+
$2 as defineTxFilterChips,
|
|
223
|
+
a02 as defineTxFlatDropdown,
|
|
224
|
+
a12 as defineTxFlatRadio,
|
|
225
|
+
a22 as defineTxFlatRadioItem,
|
|
226
|
+
a32 as defineTxFlatSelect,
|
|
227
|
+
a42 as defineTxFlatSelectItem,
|
|
228
|
+
a5 as defineTxFlex,
|
|
229
|
+
a6 as defineTxFooter,
|
|
230
|
+
a52 as defineTxForm,
|
|
231
|
+
a62 as defineTxFormErrorSummary,
|
|
232
|
+
a72 as defineTxFormItem,
|
|
233
|
+
a82 as defineTxFormRow,
|
|
234
|
+
a7 as defineTxGrid,
|
|
235
|
+
a8 as defineTxGridItem,
|
|
236
|
+
a9 as defineTxGridLayout,
|
|
237
|
+
aa as defineTxGroupBlock,
|
|
238
|
+
ab as defineTxGuideState,
|
|
239
|
+
ac as defineTxHeader,
|
|
240
|
+
ad as defineTxIcon,
|
|
241
|
+
ae as defineTxIconChip,
|
|
242
|
+
a92 as defineTxIconPicker,
|
|
243
|
+
aa2 as defineTxImageGallery,
|
|
244
|
+
ab2 as defineTxImagePreview,
|
|
245
|
+
ac2 as defineTxImageUploader,
|
|
246
|
+
v4 as defineTxInput,
|
|
247
|
+
A3 as defineTxKbd,
|
|
248
|
+
af as defineTxLayoutSkeleton,
|
|
249
|
+
ag as defineTxLoadingOverlay,
|
|
250
|
+
ah as defineTxLoadingState,
|
|
251
|
+
ai as defineTxMain,
|
|
252
|
+
d5 as defineTxMarkdownView,
|
|
253
|
+
aj as defineTxModal,
|
|
254
|
+
ad2 as defineTxModalForm,
|
|
255
|
+
ak as defineTxNavBar,
|
|
256
|
+
al as defineTxNoData,
|
|
257
|
+
am as defineTxNoSelection,
|
|
258
|
+
ae2 as defineTxNumberInput,
|
|
259
|
+
an as defineTxOfflineState,
|
|
260
|
+
ao as defineTxPagination,
|
|
261
|
+
ap as defineTxPermissionState,
|
|
262
|
+
af2 as defineTxPicker,
|
|
263
|
+
w4 as defineTxPopover,
|
|
264
|
+
B as defineTxProgress,
|
|
265
|
+
C3 as defineTxProgressBar,
|
|
266
|
+
x4 as defineTxRadio,
|
|
267
|
+
y4 as defineTxRadioGroup,
|
|
268
|
+
ag2 as defineTxRating,
|
|
269
|
+
aq as defineTxScroll,
|
|
270
|
+
ah2 as defineTxScrubField,
|
|
271
|
+
ar as defineTxSearchEmpty,
|
|
272
|
+
ai2 as defineTxSearchInput,
|
|
273
|
+
aj2 as defineTxSearchSelect,
|
|
274
|
+
ak2 as defineTxSegmentedSlider,
|
|
275
|
+
z4 as defineTxSelect,
|
|
276
|
+
A4 as defineTxSelectItem,
|
|
277
|
+
al2 as defineTxSelectionActions,
|
|
278
|
+
am2 as defineTxSensitiveInput,
|
|
279
|
+
as as defineTxSidebarNav,
|
|
280
|
+
D3 as defineTxSkeleton,
|
|
281
|
+
B2 as defineTxSlider,
|
|
282
|
+
an2 as defineTxSortableList,
|
|
283
|
+
E3 as defineTxSpinner,
|
|
284
|
+
at as defineTxSplitter,
|
|
285
|
+
au as defineTxStack,
|
|
286
|
+
F3 as defineTxStatCard,
|
|
287
|
+
G3 as defineTxStatusBadge,
|
|
288
|
+
H3 as defineTxStatusHint,
|
|
289
|
+
av as defineTxStep,
|
|
290
|
+
aw as defineTxSteps,
|
|
291
|
+
ao2 as defineTxStepsForm,
|
|
292
|
+
c5 as defineTxStreamText,
|
|
293
|
+
I3 as defineTxSwitch,
|
|
294
|
+
ax as defineTxTabBar,
|
|
295
|
+
C4 as defineTxTabItem,
|
|
296
|
+
D4 as defineTxTabs,
|
|
297
|
+
J3 as defineTxTag,
|
|
298
|
+
ap2 as defineTxTagInput,
|
|
299
|
+
ay as defineTxText,
|
|
300
|
+
E4 as defineTxTextarea,
|
|
301
|
+
az as defineTxTimeline,
|
|
302
|
+
aA as defineTxTimelineItem,
|
|
303
|
+
aB as defineTxToast,
|
|
304
|
+
aC as defineTxToastPanel,
|
|
305
|
+
F4 as defineTxTooltip,
|
|
306
|
+
aq2 as defineTxTransfer,
|
|
307
|
+
ar2 as defineTxTree,
|
|
308
|
+
as2 as defineTxTreeSelect,
|
|
309
|
+
d6 as dispatchHostEvent,
|
|
310
|
+
g5 as getHostSlotNodes,
|
|
311
|
+
r5 as getTuffexShadowStyles,
|
|
312
|
+
h5 as hasHostSlotContent,
|
|
313
|
+
s5 as injectShadowStyles,
|
|
314
|
+
t5 as isNativeElementPropKey,
|
|
315
|
+
registerTuffexElements,
|
|
316
|
+
v5 as registerTuffexShadowStyles,
|
|
317
|
+
w5 as setTuffexShadowStyles,
|
|
318
|
+
x5 as toDomEventName,
|
|
319
|
+
y5 as toVueListenerProp
|
|
320
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type WcTier = 'A' | 'B' | 'C';
|
|
2
|
+
export type WcComponentId = 'button' | 'badge' | 'tag' | 'avatar' | 'spinner' | 'divider' | 'alert' | 'card' | 'kbd' | 'progress' | 'progress-bar' | 'skeleton' | 'switch' | 'status-badge' | 'status-hint' | 'dot-indicator' | 'empty' | 'stat-card' | 'input' | 'textarea' | 'checkbox' | 'radio' | 'slider' | 'tabs' | 'collapse' | 'tooltip' | 'popover' | 'dialog' | 'drawer' | 'select' | 'stream-text' | 'markdown-view' | 'container' | 'flex' | 'grid' | 'grid-layout' | 'stack' | 'splitter' | 'scroll' | 'group-block' | 'card-item' | 'layout-skeleton' | 'text' | 'icon' | 'icon-chip' | 'cell-link' | 'blank-slate' | 'empty-state' | 'error-state' | 'guide-state' | 'loading-state' | 'no-data' | 'no-selection' | 'offline-state' | 'permission-state' | 'search-empty' | 'breadcrumb' | 'nav-bar' | 'sidebar-nav' | 'tab-bar' | 'pagination' | 'steps' | 'loading-overlay' | 'modal' | 'toast' | 'toast-panel' | 'timeline' | 'number-input' | 'search-input' | 'sensitive-input' | 'tag-input' | 'scrub-field' | 'segmented-slider' | 'rating' | 'filter-chips' | 'flat-radio' | 'flat-select' | 'search-select' | 'cascader' | 'tree' | 'tree-select' | 'date-picker' | 'picker' | 'form' | 'modal-form' | 'drawer-form' | 'steps-form' | 'context-menu' | 'dropdown-menu' | 'flat-dropdown' | 'selection-actions' | 'data-table' | 'descriptions' | 'sortable-list' | 'transfer' | 'file-uploader' | 'image-uploader' | 'image-gallery' | 'image-preview' | 'icon-picker';
|
|
3
|
+
export type TuffexElementTagName = 'tx-button' | 'tx-badge' | 'tx-tag' | 'tx-avatar' | 'tx-spinner' | 'tx-divider' | 'tx-alert' | 'tx-card' | 'tx-kbd' | 'tx-progress' | 'tx-progress-bar' | 'tx-skeleton' | 'tx-switch' | 'tx-status-badge' | 'tx-status-hint' | 'tx-dot-indicator' | 'tx-empty' | 'tx-stat-card' | 'tx-input' | 'tx-textarea' | 'tx-checkbox' | 'tx-radio' | 'tx-radio-group' | 'tx-slider' | 'tx-tabs' | 'tx-tab-item' | 'tx-collapse' | 'tx-collapse-item' | 'tx-tooltip' | 'tx-popover' | 'tx-dialog' | 'tx-drawer' | 'tx-select' | 'tx-select-item' | 'tx-stream-text' | 'tx-markdown-view' | 'tx-container' | 'tx-header' | 'tx-aside' | 'tx-main' | 'tx-footer' | 'tx-flex' | 'tx-grid' | 'tx-grid-item' | 'tx-grid-layout' | 'tx-stack' | 'tx-splitter' | 'tx-scroll' | 'tx-group-block' | 'tx-block-line' | 'tx-block-slot' | 'tx-block-switch' | 'tx-card-item' | 'tx-layout-skeleton' | 'tx-text' | 'tx-icon' | 'tx-icon-chip' | 'tx-cell-link' | 'tx-blank-slate' | 'tx-empty-state' | 'tx-error-state' | 'tx-guide-state' | 'tx-loading-state' | 'tx-no-data' | 'tx-no-selection' | 'tx-offline-state' | 'tx-permission-state' | 'tx-search-empty' | 'tx-breadcrumb' | 'tx-breadcrumb-item' | 'tx-nav-bar' | 'tx-sidebar-nav' | 'tx-tab-bar' | 'tx-pagination' | 'tx-steps' | 'tx-step' | 'tx-loading-overlay' | 'tx-modal' | 'tx-toast' | 'tx-toast-panel' | 'tx-timeline' | 'tx-timeline-item' | 'tx-number-input' | 'tx-search-input' | 'tx-sensitive-input' | 'tx-tag-input' | 'tx-scrub-field' | 'tx-segmented-slider' | 'tx-rating' | 'tx-filter-chips' | 'tx-flat-radio' | 'tx-flat-radio-item' | 'tx-flat-select' | 'tx-flat-select-item' | 'tx-search-select' | 'tx-cascader' | 'tx-tree' | 'tx-tree-select' | 'tx-date-picker' | 'tx-picker' | 'tx-form' | 'tx-form-item' | 'tx-form-row' | 'tx-form-error-summary' | 'tx-modal-form' | 'tx-drawer-form' | 'tx-steps-form' | 'tx-context-menu' | 'tx-context-menu-item' | 'tx-dropdown-menu' | 'tx-dropdown-item' | 'tx-flat-dropdown' | 'tx-selection-actions' | 'tx-data-table' | 'tx-descriptions' | 'tx-descriptions-item' | 'tx-sortable-list' | 'tx-transfer' | 'tx-file-uploader' | 'tx-image-uploader' | 'tx-image-gallery' | 'tx-image-preview' | 'tx-icon-picker';
|
|
4
|
+
export interface WcElementManifestEntry {
|
|
5
|
+
id: WcComponentId;
|
|
6
|
+
tag: TuffexElementTagName;
|
|
7
|
+
relatedTags?: TuffexElementTagName[];
|
|
8
|
+
status: 'ready';
|
|
9
|
+
tier: WcTier;
|
|
10
|
+
elementClass: string;
|
|
11
|
+
defineHelper: string;
|
|
12
|
+
props: readonly string[];
|
|
13
|
+
events: readonly string[];
|
|
14
|
+
slots: readonly string[];
|
|
15
|
+
sampleHtml: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const WC_ELEMENTS_MANIFEST: Record<WcComponentId, WcElementManifestEntry>;
|
|
18
|
+
export declare const WC_READY_COMPONENT_IDS: readonly WcComponentId[];
|
|
19
|
+
export declare const WC_ELEMENT_TAGS: readonly TuffexElementTagName[];
|