tang-ui-x 1.1.0 → 1.1.2

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 (89) hide show
  1. package/README.md +1003 -0
  2. package/components/TActionSheet/index.uvue +15 -2
  3. package/components/TCollapse/index.uvue +1 -1
  4. package/components/TCollapse/type.uts +3 -1
  5. package/components/TCollapseItem/index.uvue +22 -26
  6. package/components/TDialog/index.uvue +19 -4
  7. package/components/TEmpty/index.uvue +28 -14
  8. package/components/TForm/index.uvue +60 -26
  9. package/components/TForm/type.uts +4 -0
  10. package/components/TInput/index.uvue +24 -5
  11. package/components/TInput/type.uts +10 -0
  12. package/components/TPicker/index.uvue +26 -6
  13. package/components/TRadioButton/README.md +117 -0
  14. package/components/TRadioButton/index.uvue +69 -64
  15. package/components/TSearchBar/index.uvue +19 -4
  16. package/composables/i18n/error.uts +82 -0
  17. package/composables/i18n/index.uts +188 -0
  18. package/composables/i18n/manager-demo.uts +104 -0
  19. package/composables/i18n/manager.test.uts +182 -0
  20. package/composables/i18n/manager.uts +336 -0
  21. package/composables/i18n/register-demo.uts +125 -0
  22. package/composables/i18n/task22-verification.uts +198 -0
  23. package/composables/i18n/task23-verification.uts +343 -0
  24. package/composables/i18n/task8-demo.uts +93 -0
  25. package/composables/i18n/task8-verification.uts +98 -0
  26. package/composables/i18n/test-task23.uts +9 -0
  27. package/composables/i18n/types.uts +46 -0
  28. package/composables/i18n/useI18n-verification.uts +105 -0
  29. package/composables/i18n/validation-demo.uts +45 -0
  30. package/composables/i18n/validation-test.uts +106 -0
  31. package/composables/useI18n.uts +77 -0
  32. package/index.uts +23 -0
  33. package/locales/cross-platform-verification.uts +510 -0
  34. package/locales/en-US/actionSheet.json +3 -0
  35. package/locales/en-US/common.json +10 -0
  36. package/locales/en-US/dialog.json +5 -0
  37. package/locales/en-US/empty.json +5 -0
  38. package/locales/en-US/errorState.json +5 -0
  39. package/locales/en-US/examplePages.json +1236 -0
  40. package/locales/en-US/examples.json +218 -0
  41. package/locales/en-US/form.json +11 -0
  42. package/locales/en-US/input.json +3 -0
  43. package/locales/en-US/list.json +5 -0
  44. package/locales/en-US/loading.json +3 -0
  45. package/locales/en-US/navBar.json +4 -0
  46. package/locales/en-US/noticeBar.json +3 -0
  47. package/locales/en-US/picker.json +5 -0
  48. package/locales/en-US/searchBar.json +4 -0
  49. package/locales/en-US/textarea.json +3 -0
  50. package/locales/en-US/toast.json +6 -0
  51. package/locales/index.uts +79 -0
  52. package/locales/init-verification.uts +101 -0
  53. package/locales/loader.uts +251 -0
  54. package/locales/run-verification.uts +16 -0
  55. package/locales/zh-CN/actionSheet.json +3 -0
  56. package/locales/zh-CN/common.json +10 -0
  57. package/locales/zh-CN/dialog.json +5 -0
  58. package/locales/zh-CN/empty.json +5 -0
  59. package/locales/zh-CN/errorState.json +5 -0
  60. package/locales/zh-CN/examplePages.json +1236 -0
  61. package/locales/zh-CN/examples.json +218 -0
  62. package/locales/zh-CN/form.json +11 -0
  63. package/locales/zh-CN/input.json +3 -0
  64. package/locales/zh-CN/list.json +5 -0
  65. package/locales/zh-CN/loading.json +3 -0
  66. package/locales/zh-CN/navBar.json +4 -0
  67. package/locales/zh-CN/noticeBar.json +3 -0
  68. package/locales/zh-CN/picker.json +5 -0
  69. package/locales/zh-CN/searchBar.json +4 -0
  70. package/locales/zh-CN/textarea.json +3 -0
  71. package/locales/zh-CN/toast.json +6 -0
  72. package/locales/zh-TW/actionSheet.json +3 -0
  73. package/locales/zh-TW/common.json +8 -0
  74. package/locales/zh-TW/dialog.json +5 -0
  75. package/locales/zh-TW/empty.json +5 -0
  76. package/locales/zh-TW/errorState.json +5 -0
  77. package/locales/zh-TW/examplePages.json +705 -0
  78. package/locales/zh-TW/examples.json +218 -0
  79. package/locales/zh-TW/form.json +11 -0
  80. package/locales/zh-TW/input.json +3 -0
  81. package/locales/zh-TW/list.json +5 -0
  82. package/locales/zh-TW/loading.json +3 -0
  83. package/locales/zh-TW/navBar.json +4 -0
  84. package/locales/zh-TW/noticeBar.json +3 -0
  85. package/locales/zh-TW/picker.json +5 -0
  86. package/locales/zh-TW/searchBar.json +4 -0
  87. package/locales/zh-TW/textarea.json +3 -0
  88. package/locales/zh-TW/toast.json +6 -0
  89. package/package.json +49 -47
@@ -0,0 +1,218 @@
1
+ {
2
+ "groups": {
3
+ "basic": "基础组件",
4
+ "layout": "布局组件",
5
+ "form": "表单组件",
6
+ "display": "数据展示",
7
+ "feedback": "反馈组件",
8
+ "navigation": "导航组件",
9
+ "tools": "测试工具"
10
+ },
11
+ "components": {
12
+ "TButton": {
13
+ "name": "按钮",
14
+ "enName": "Button",
15
+ "description": "按钮用于触发操作"
16
+ },
17
+ "TIcon": {
18
+ "name": "图标",
19
+ "enName": "Icon",
20
+ "description": "语义化图标"
21
+ },
22
+ "TText": {
23
+ "name": "文本",
24
+ "enName": "Text",
25
+ "description": "文本展示组件"
26
+ },
27
+ "TImage": {
28
+ "name": "图片",
29
+ "enName": "Image",
30
+ "description": "增强的图片组件"
31
+ },
32
+ "TDivider": {
33
+ "name": "分割线",
34
+ "enName": "Divider",
35
+ "description": "内容分割线"
36
+ },
37
+ "TCard": {
38
+ "name": "卡片",
39
+ "enName": "Card",
40
+ "description": "卡片容器"
41
+ },
42
+ "TList": {
43
+ "name": "列表",
44
+ "enName": "List",
45
+ "description": "列表展示"
46
+ },
47
+ "TCell": {
48
+ "name": "单元格",
49
+ "enName": "Cell",
50
+ "description": "单元格组件"
51
+ },
52
+ "TGrid": {
53
+ "name": "宫格",
54
+ "enName": "Grid",
55
+ "description": "宫格布局"
56
+ },
57
+ "TRow/TCol": {
58
+ "name": "栅格",
59
+ "enName": "Layout",
60
+ "description": "24栅格布局"
61
+ },
62
+ "TInput": {
63
+ "name": "输入框",
64
+ "enName": "Input",
65
+ "description": "文本输入"
66
+ },
67
+ "TTextarea": {
68
+ "name": "多行输入",
69
+ "enName": "Textarea",
70
+ "description": "多行文本输入"
71
+ },
72
+ "TSearchBar": {
73
+ "name": "搜索框",
74
+ "enName": "SearchBar",
75
+ "description": "搜索输入框"
76
+ },
77
+ "TNumberInput": {
78
+ "name": "数字输入",
79
+ "enName": "NumberInput",
80
+ "description": "数字输入框"
81
+ },
82
+ "TSwitch": {
83
+ "name": "开关",
84
+ "enName": "Switch",
85
+ "description": "开关选择器"
86
+ },
87
+ "TCheckbox": {
88
+ "name": "复选框",
89
+ "enName": "Checkbox",
90
+ "description": "多选框"
91
+ },
92
+ "TCheckboxGroup": {
93
+ "name": "复选组",
94
+ "enName": "CheckboxGroup",
95
+ "description": "复选框组"
96
+ },
97
+ "TRadioButton": {
98
+ "name": "单选",
99
+ "enName": "Radio",
100
+ "description": "单选按钮"
101
+ },
102
+ "TRadioGroup": {
103
+ "name": "单选组",
104
+ "enName": "RadioGroup",
105
+ "description": "单选框组"
106
+ },
107
+ "TSelect": {
108
+ "name": "选择器",
109
+ "enName": "Select",
110
+ "description": "下拉选择"
111
+ },
112
+ "TPicker": {
113
+ "name": "通用选择器",
114
+ "enName": "Picker",
115
+ "description": "多列数据选择"
116
+ },
117
+ "TSlider": {
118
+ "name": "滑块",
119
+ "enName": "Slider",
120
+ "description": "滑动选择器"
121
+ },
122
+ "TRate": {
123
+ "name": "评分",
124
+ "enName": "Rate",
125
+ "description": "评分组件"
126
+ },
127
+ "TForm": {
128
+ "name": "表单",
129
+ "enName": "Form",
130
+ "description": "表单组件"
131
+ },
132
+ "Tags": {
133
+ "name": "标签",
134
+ "enName": "Tags",
135
+ "description": "标记分类"
136
+ },
137
+ "TBadge": {
138
+ "name": "徽标",
139
+ "enName": "Badge",
140
+ "description": "数字角标"
141
+ },
142
+ "TAvatar": {
143
+ "name": "头像",
144
+ "enName": "Avatar",
145
+ "description": "用户头像"
146
+ },
147
+ "TProgress": {
148
+ "name": "进度条",
149
+ "enName": "Progress",
150
+ "description": "进度指示器"
151
+ },
152
+ "TNoticeBar": {
153
+ "name": "通知栏",
154
+ "enName": "NoticeBar",
155
+ "description": "滚动通知"
156
+ },
157
+ "TCollapse": {
158
+ "name": "折叠面板",
159
+ "enName": "Collapse",
160
+ "description": "可折叠内容区域"
161
+ },
162
+ "TSwiper": {
163
+ "name": "轮播图",
164
+ "enName": "Swiper",
165
+ "description": "图片/内容轮播"
166
+ },
167
+ "TEmpty": {
168
+ "name": "空状态",
169
+ "enName": "Empty",
170
+ "description": "空数据展示"
171
+ },
172
+ "TErrorState": {
173
+ "name": "错误状态",
174
+ "enName": "Error",
175
+ "description": "错误提示"
176
+ },
177
+ "TLoading": {
178
+ "name": "加载",
179
+ "enName": "Loading",
180
+ "description": "加载状态"
181
+ },
182
+ "TToast": {
183
+ "name": "轻提示",
184
+ "enName": "Toast",
185
+ "description": "轻量级提示"
186
+ },
187
+ "TDialog": {
188
+ "name": "对话框",
189
+ "enName": "Dialog",
190
+ "description": "模态对话框"
191
+ },
192
+ "TPopup": {
193
+ "name": "弹出层",
194
+ "enName": "Popup",
195
+ "description": "弹出层容器"
196
+ },
197
+ "TActionSheet": {
198
+ "name": "动作面板",
199
+ "enName": "ActionSheet",
200
+ "description": "底部动作面板"
201
+ },
202
+ "Tabs": {
203
+ "name": "标签页",
204
+ "enName": "Tabs",
205
+ "description": "选项卡切换"
206
+ },
207
+ "TNavBar": {
208
+ "name": "导航栏",
209
+ "enName": "NavBar",
210
+ "description": "顶部导航栏"
211
+ },
212
+ "I18nDemo": {
213
+ "name": "多语言测试",
214
+ "enName": "I18n",
215
+ "description": "国际化多语言功能演示"
216
+ }
217
+ }
218
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "inputPlaceholder": "请输入{label}",
3
+ "selectPlaceholder": "请选择",
4
+ "datePlaceholder": "请选择日期",
5
+ "timePlaceholder": "请选择时间",
6
+ "requiredError": "请输入{label}",
7
+ "submitButton": "提交",
8
+ "resetButton": "重置",
9
+ "validationFailed": "表单验证失败",
10
+ "submitFailed": "表单提交失败"
11
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "placeholder": "请输入"
3
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "loadingText": "加载中...",
3
+ "finishedText": "没有更多了",
4
+ "errorText": "加载失败,点击重试"
5
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "text": "加载中..."
3
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "backText": "返回",
3
+ "title": "标题"
4
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "closeText": "关闭"
3
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "title": "请选择",
3
+ "confirmText": "确定",
4
+ "cancelText": "取消"
5
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "placeholder": "请输入搜索关键词",
3
+ "cancelText": "取消"
4
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "placeholder": "请输入内容"
3
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "loading": "加载中...",
3
+ "success": "操作成功",
4
+ "fail": "操作失败",
5
+ "info": "提示"
6
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "cancelText": "取消"
3
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "confirm": "確定",
3
+ "cancel": "取消",
4
+ "ok": "好的",
5
+ "close": "關閉",
6
+ "loading": "載入中...",
7
+ "noData": "暫無資料"
8
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "title": "提示",
3
+ "confirmText": "確定",
4
+ "cancelText": "取消"
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "title": "暫無資料",
3
+ "description": "目前沒有相關內容",
4
+ "actionText": "重新整理"
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "title": "出錯了",
3
+ "description": "頁面載入失敗,請稍後重試",
4
+ "retryText": "重新載入"
5
+ }