@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.
Files changed (43) hide show
  1. package/LICENSE +373 -0
  2. package/README.md +47 -2
  3. package/dist/chunks/TxImageGeneration.js +28478 -0
  4. package/dist/chunks/base-a.js +1223 -0
  5. package/dist/chunks/base-b.js +1648 -0
  6. package/dist/chunks/core.esm.js +2327 -0
  7. package/dist/chunks/glyphs-ai-1.js +33 -0
  8. package/dist/chunks/glyphs-ai-2.js +55 -0
  9. package/dist/chunks/glyphs-brand-1.js +23 -0
  10. package/dist/chunks/glyphs-brand-2.js +33 -0
  11. package/dist/chunks/glyphs-brand-3.js +40 -0
  12. package/dist/chunks/glyphs-icon-1.js +144 -0
  13. package/dist/chunks/glyphs-icon-2.js +124 -0
  14. package/dist/chunks/pinyin.js +4 -0
  15. package/dist/chunks/pull-down.esm.js +336 -0
  16. package/dist/chunks/pull-up.esm.js +234 -0
  17. package/dist/chunks/scroll-bar.esm.js +768 -0
  18. package/dist/chunks/tier-a.js +426 -0
  19. package/dist/chunks/tier-b.js +897 -0
  20. package/dist/chunks/tier-c.js +72 -0
  21. package/dist/chunks/tuffex-data.js +9757 -0
  22. package/dist/chunks/tuffex-extras.js +11692 -0
  23. package/dist/chunks/tuffex-media.js +13475 -0
  24. package/dist/chunks/tuffex-shared.js +17671 -0
  25. package/dist/chunks/vue-export-helper.js +10 -0
  26. package/dist/chunks/wc-runtime.js +922 -0
  27. package/dist/elements/base-a.d.ts +145 -0
  28. package/dist/elements/base-b.d.ts +129 -0
  29. package/dist/elements/index.d.ts +22 -0
  30. package/dist/elements/tier-a.d.ts +55 -0
  31. package/dist/elements/tier-b.d.ts +58 -0
  32. package/dist/elements/tier-c.d.ts +7 -0
  33. package/dist/index.d.ts +12 -0
  34. package/dist/index.js +320 -0
  35. package/dist/manifest.d.ts +19 -0
  36. package/dist/manifest.js +1377 -0
  37. package/dist/runtime/coerce.d.ts +38 -0
  38. package/dist/runtime/events.d.ts +17 -0
  39. package/dist/runtime/factory.d.ts +129 -0
  40. package/dist/runtime/styles.d.ts +20 -0
  41. package/dist/style.css +1 -0
  42. package/dist/types.d.ts +1861 -0
  43. package/package.json +75 -3
@@ -0,0 +1,426 @@
1
+ import { C as TxBadge, D as TxAlert, E as _sfc_main$3, F as _sfc_main$4, G as _sfc_main$7, H as _sfc_main$8, I as TxStatCard } from "./tuffex-extras.js";
2
+ import { d as TxAvatar } from "./tuffex-media.js";
3
+ import { U as _sfc_main, q as _sfc_main$1, m as _sfc_main$2, ay as TxDivider, az as TxCard, aA as TxKbd, O as _sfc_main$5, _ as _sfc_main$6, aB as _sfc_main$9, aC as _sfc_main$a } from "./tuffex-shared.js";
4
+ import { c as createTxCustomElement } from "./wc-runtime.js";
5
+ const buttonBundle = createTxCustomElement({
6
+ tag: "tx-button",
7
+ component: _sfc_main,
8
+ props: {
9
+ variant: "string",
10
+ size: "string",
11
+ block: "boolean",
12
+ type: "string",
13
+ plain: "boolean",
14
+ dashed: "boolean",
15
+ round: "boolean",
16
+ circle: "boolean",
17
+ loading: "boolean",
18
+ loadingVariant: "string",
19
+ progress: "number",
20
+ showProgress: "boolean",
21
+ formatProgress: "any",
22
+ status: "string",
23
+ disabled: "boolean",
24
+ border: "boolean",
25
+ icon: "string",
26
+ autofocus: "boolean",
27
+ nativeType: "string",
28
+ vibrate: "boolean",
29
+ vibrateType: "string"
30
+ },
31
+ emits: ["click"],
32
+ slots: ["default"]
33
+ });
34
+ const badgeBundle = createTxCustomElement({
35
+ tag: "tx-badge",
36
+ component: TxBadge,
37
+ props: {
38
+ variant: "string",
39
+ value: "string-or-number",
40
+ color: "string",
41
+ dot: "boolean",
42
+ open: "boolean"
43
+ },
44
+ slots: ["default"]
45
+ });
46
+ const tagBundle = createTxCustomElement({
47
+ tag: "tx-tag",
48
+ component: _sfc_main$1,
49
+ props: {
50
+ label: "string",
51
+ icon: "string",
52
+ color: "string",
53
+ background: "string",
54
+ border: "string",
55
+ size: "string",
56
+ pill: "boolean",
57
+ variant: "string",
58
+ dot: "string",
59
+ dotSize: "number",
60
+ count: "number",
61
+ closable: "boolean",
62
+ closeAriaLabel: "string",
63
+ disabled: "boolean"
64
+ },
65
+ emits: ["close", "click"],
66
+ slots: ["default"]
67
+ });
68
+ const avatarBundle = createTxCustomElement({
69
+ tag: "tx-avatar",
70
+ component: TxAvatar,
71
+ props: {
72
+ src: "string",
73
+ alt: "string",
74
+ name: "string",
75
+ icon: "string",
76
+ size: "string-or-number",
77
+ status: "string",
78
+ shape: "string",
79
+ clickable: "boolean",
80
+ backgroundColor: "string",
81
+ textColor: "string"
82
+ },
83
+ emits: ["click"],
84
+ suppressNativeEvents: ["click"],
85
+ slots: ["default"]
86
+ });
87
+ const spinnerBundle = createTxCustomElement({
88
+ tag: "tx-spinner",
89
+ component: _sfc_main$2,
90
+ props: {
91
+ size: "number",
92
+ strokeWidth: "number",
93
+ fallback: "boolean",
94
+ visible: "boolean",
95
+ label: "string"
96
+ }
97
+ });
98
+ const dividerBundle = createTxCustomElement({
99
+ tag: "tx-divider",
100
+ component: TxDivider,
101
+ props: {
102
+ direction: "string",
103
+ dashed: "boolean",
104
+ textPlacement: "string",
105
+ gradient: "boolean-or-string"
106
+ },
107
+ slots: ["default"]
108
+ });
109
+ const alertBundle = createTxCustomElement({
110
+ tag: "tx-alert",
111
+ component: TxAlert,
112
+ props: {
113
+ type: "string",
114
+ title: "string",
115
+ message: "string",
116
+ closable: "boolean",
117
+ showIcon: "boolean",
118
+ closeLabel: "string"
119
+ },
120
+ emits: ["close"],
121
+ slots: ["title", "default"]
122
+ });
123
+ const cardBundle = createTxCustomElement({
124
+ tag: "tx-card",
125
+ component: TxCard,
126
+ props: {
127
+ variant: "string",
128
+ background: "string",
129
+ shadow: "string",
130
+ size: "string",
131
+ radius: "number",
132
+ padding: "number",
133
+ glassBlur: "boolean",
134
+ glassBlurAmount: "number",
135
+ glassOverlay: "boolean",
136
+ glassOverlayOpacity: "number",
137
+ maskOpacity: "number",
138
+ fallbackMaskOpacity: "number",
139
+ surfaceMoving: "boolean",
140
+ refractionStrength: "number",
141
+ refractionProfile: "string",
142
+ refractionTone: "string",
143
+ refractionAngle: "number",
144
+ refractionRenderer: "string",
145
+ refractionGlassOpacity: "number",
146
+ refractionLightFollowMouse: "boolean",
147
+ refractionLightFollowIntensity: "number",
148
+ refractionLightSpring: "boolean",
149
+ refractionLightSpringStiffness: "number",
150
+ refractionLightSpringDamping: "number",
151
+ flowLight: "boolean-or-string",
152
+ flowLightIntensity: "number",
153
+ clickable: "boolean",
154
+ specular: "boolean",
155
+ loading: "boolean",
156
+ loadingSpinnerSize: "number",
157
+ disabled: "boolean",
158
+ inertial: "boolean",
159
+ inertialMaxOffset: "number",
160
+ inertialRebound: "number"
161
+ },
162
+ emits: ["click"],
163
+ slots: ["cover", "header", "default", "footer"]
164
+ });
165
+ const kbdBundle = createTxCustomElement({
166
+ tag: "tx-kbd",
167
+ component: TxKbd,
168
+ props: {
169
+ size: "string",
170
+ tone: "string"
171
+ },
172
+ slots: ["default"]
173
+ });
174
+ const progressBundle = createTxCustomElement({
175
+ tag: "tx-progress",
176
+ component: _sfc_main$3,
177
+ props: {
178
+ percentage: "number",
179
+ status: "string",
180
+ strokeWidth: "number",
181
+ showText: "boolean",
182
+ indeterminate: "boolean",
183
+ format: "any"
184
+ }
185
+ });
186
+ const progressBarBundle = createTxCustomElement({
187
+ tag: "tx-progress-bar",
188
+ component: _sfc_main$4,
189
+ props: {
190
+ loading: "boolean",
191
+ indeterminate: "boolean",
192
+ indeterminateVariant: "string",
193
+ error: "boolean",
194
+ success: "boolean",
195
+ status: "string",
196
+ message: "string",
197
+ detail: "string",
198
+ ariaLabel: "string",
199
+ percentage: "number",
200
+ segments: "json",
201
+ segmentsTotal: "number",
202
+ height: "string",
203
+ showText: "boolean",
204
+ textPlacement: "string",
205
+ format: "any",
206
+ flowEffect: "string",
207
+ indicatorEffect: "string",
208
+ hoverEffect: "string",
209
+ color: "string",
210
+ maskVariant: "string",
211
+ maskBackground: "string",
212
+ tooltip: "boolean",
213
+ tooltipContent: "string",
214
+ tooltipProps: "json"
215
+ },
216
+ emits: ["complete"]
217
+ });
218
+ const skeletonBundle = createTxCustomElement({
219
+ tag: "tx-skeleton",
220
+ component: _sfc_main$5,
221
+ props: {
222
+ loading: "boolean",
223
+ variant: "string",
224
+ width: "string-or-number",
225
+ height: "string-or-number",
226
+ radius: "string-or-number",
227
+ lines: "number",
228
+ gap: "string-or-number"
229
+ },
230
+ slots: ["default"]
231
+ });
232
+ const switchBundle = createTxCustomElement({
233
+ tag: "tx-switch",
234
+ component: _sfc_main$6,
235
+ props: {
236
+ modelValue: "boolean",
237
+ checked: "boolean",
238
+ disabled: "boolean",
239
+ loading: "boolean",
240
+ size: "string",
241
+ label: "string",
242
+ labelPlacement: "string",
243
+ ariaLabel: "string",
244
+ ariaLabelledby: "string"
245
+ },
246
+ model: {
247
+ prop: "modelValue",
248
+ aliasProp: "checked",
249
+ event: "update:modelValue"
250
+ },
251
+ emits: ["update:modelValue", "change"],
252
+ slots: ["default"]
253
+ });
254
+ const statusBadgeBundle = createTxCustomElement({
255
+ tag: "tx-status-badge",
256
+ component: _sfc_main$7,
257
+ props: {
258
+ text: "string",
259
+ icon: "string",
260
+ status: "string",
261
+ statusKey: "string",
262
+ size: "string",
263
+ os: "string",
264
+ osOnly: "boolean"
265
+ },
266
+ transformProps: (coerced) => ({
267
+ text: "",
268
+ ...coerced
269
+ }),
270
+ emits: ["click"]
271
+ });
272
+ const statusHintBundle = createTxCustomElement({
273
+ tag: "tx-status-hint",
274
+ component: _sfc_main$8,
275
+ props: {
276
+ text: "string-or-number",
277
+ tone: "string",
278
+ size: "string",
279
+ pulseKey: "string-or-number",
280
+ animated: "boolean",
281
+ live: "boolean"
282
+ },
283
+ transformProps: (coerced) => ({
284
+ text: "",
285
+ ...coerced
286
+ }),
287
+ slots: ["icon"]
288
+ });
289
+ const dotIndicatorBundle = createTxCustomElement({
290
+ tag: "tx-dot-indicator",
291
+ component: _sfc_main$9,
292
+ props: {
293
+ color: "string",
294
+ label: "string",
295
+ size: "number",
296
+ ariaLabel: "string"
297
+ },
298
+ slots: ["default"]
299
+ });
300
+ const emptyBundle = createTxCustomElement({
301
+ tag: "tx-empty",
302
+ component: _sfc_main$a,
303
+ props: {
304
+ title: "string",
305
+ description: "string",
306
+ iconClass: "string",
307
+ compact: "boolean"
308
+ },
309
+ slots: ["icon", "title", "description", "action"]
310
+ });
311
+ const statCardBundle = createTxCustomElement({
312
+ tag: "tx-stat-card",
313
+ component: TxStatCard,
314
+ props: {
315
+ value: "string-or-number",
316
+ label: "string",
317
+ iconClass: "string",
318
+ clickable: "boolean",
319
+ insight: "json",
320
+ variant: "string",
321
+ progress: "number",
322
+ meta: "string",
323
+ ariaLabel: "string"
324
+ },
325
+ transformProps: (coerced) => ({
326
+ value: 0,
327
+ label: "",
328
+ ...coerced
329
+ }),
330
+ slots: ["label", "value", "meta"]
331
+ });
332
+ const TxButtonElement = buttonBundle.ElementClass;
333
+ const defineTxButton = buttonBundle.define;
334
+ const TxBadgeElement = badgeBundle.ElementClass;
335
+ const defineTxBadge = badgeBundle.define;
336
+ const TxTagElement = tagBundle.ElementClass;
337
+ const defineTxTag = tagBundle.define;
338
+ const TxAvatarElement = avatarBundle.ElementClass;
339
+ const defineTxAvatar = avatarBundle.define;
340
+ const TxSpinnerElement = spinnerBundle.ElementClass;
341
+ const defineTxSpinner = spinnerBundle.define;
342
+ const TxDividerElement = dividerBundle.ElementClass;
343
+ const defineTxDivider = dividerBundle.define;
344
+ const TxAlertElement = alertBundle.ElementClass;
345
+ const defineTxAlert = alertBundle.define;
346
+ const TxCardElement = cardBundle.ElementClass;
347
+ const defineTxCard = cardBundle.define;
348
+ const TxKbdElement = kbdBundle.ElementClass;
349
+ const defineTxKbd = kbdBundle.define;
350
+ const TxProgressElement = progressBundle.ElementClass;
351
+ const defineTxProgress = progressBundle.define;
352
+ const TxProgressBarElement = progressBarBundle.ElementClass;
353
+ const defineTxProgressBar = progressBarBundle.define;
354
+ const TxSkeletonElement = skeletonBundle.ElementClass;
355
+ const defineTxSkeleton = skeletonBundle.define;
356
+ const TxSwitchElement = switchBundle.ElementClass;
357
+ const defineTxSwitch = switchBundle.define;
358
+ const TxStatusBadgeElement = statusBadgeBundle.ElementClass;
359
+ const defineTxStatusBadge = statusBadgeBundle.define;
360
+ const TxStatusHintElement = statusHintBundle.ElementClass;
361
+ const defineTxStatusHint = statusHintBundle.define;
362
+ const TxDotIndicatorElement = dotIndicatorBundle.ElementClass;
363
+ const defineTxDotIndicator = dotIndicatorBundle.define;
364
+ const TxEmptyElement = emptyBundle.ElementClass;
365
+ const defineTxEmpty = emptyBundle.define;
366
+ const TxStatCardElement = statCardBundle.ElementClass;
367
+ const defineTxStatCard = statCardBundle.define;
368
+ const TIER_A_BUNDLES = [
369
+ buttonBundle,
370
+ badgeBundle,
371
+ tagBundle,
372
+ avatarBundle,
373
+ spinnerBundle,
374
+ dividerBundle,
375
+ alertBundle,
376
+ cardBundle,
377
+ kbdBundle,
378
+ progressBundle,
379
+ progressBarBundle,
380
+ skeletonBundle,
381
+ switchBundle,
382
+ statusBadgeBundle,
383
+ statusHintBundle,
384
+ dotIndicatorBundle,
385
+ emptyBundle,
386
+ statCardBundle
387
+ ];
388
+ export {
389
+ defineTxKbd as A,
390
+ defineTxProgress as B,
391
+ defineTxProgressBar as C,
392
+ defineTxSkeleton as D,
393
+ defineTxSpinner as E,
394
+ defineTxStatCard as F,
395
+ defineTxStatusBadge as G,
396
+ defineTxStatusHint as H,
397
+ defineTxSwitch as I,
398
+ defineTxTag as J,
399
+ TIER_A_BUNDLES as T,
400
+ TxAlertElement as a,
401
+ TxAvatarElement as b,
402
+ TxBadgeElement as c,
403
+ TxButtonElement as d,
404
+ TxCardElement as e,
405
+ TxDividerElement as f,
406
+ TxDotIndicatorElement as g,
407
+ TxEmptyElement as h,
408
+ TxKbdElement as i,
409
+ TxProgressBarElement as j,
410
+ TxProgressElement as k,
411
+ TxSkeletonElement as l,
412
+ TxSpinnerElement as m,
413
+ TxStatCardElement as n,
414
+ TxStatusBadgeElement as o,
415
+ TxStatusHintElement as p,
416
+ TxSwitchElement as q,
417
+ TxTagElement as r,
418
+ defineTxAlert as s,
419
+ defineTxAvatar as t,
420
+ defineTxBadge as u,
421
+ defineTxButton as v,
422
+ defineTxCard as w,
423
+ defineTxDivider as x,
424
+ defineTxDotIndicator as y,
425
+ defineTxEmpty as z
426
+ };