aibox-custom-component-packages 0.0.7 → 0.0.8

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 (182) hide show
  1. package/es/AddOrEditSupplierDialog.mjs +309 -259
  2. package/es/ApplicationTypeTag.mjs +14 -14
  3. package/es/AuthSection.mjs +11 -11
  4. package/es/AutoShowTooltip.mjs +1 -1
  5. package/es/AvailableRangePreview.mjs +1 -1
  6. package/es/AvailableRangeSetting.mjs +9 -5
  7. package/es/CodeView.mjs +1 -1
  8. package/es/CommonTagsList.mjs +5 -5
  9. package/es/CreateMcpForm.mjs +13 -12
  10. package/es/CustomSidebar.mjs +159 -154
  11. package/es/CustomTitle.mjs +1 -1
  12. package/es/CustomToggle.mjs +131 -77
  13. package/es/DocSyncSelect.mjs +2661 -0
  14. package/es/FileDisplay.mjs +2 -4
  15. package/es/FilePreview.mjs +16 -16
  16. package/es/FileUploader.mjs +71 -74
  17. package/es/Logo.mjs +72 -0
  18. package/es/McpFormDialog.mjs +1 -1
  19. package/es/McpParamsSet.mjs +34 -34
  20. package/es/MdEditor.mjs +2 -2
  21. package/es/PageContainer.mjs +438 -216
  22. package/es/ParameterTable.mjs +23 -21
  23. package/es/PublishRecord.mjs +58 -57
  24. package/es/RadioGroup.mjs +1 -1
  25. package/es/SourcePublish.mjs +95 -93
  26. package/es/Table.mjs +2 -2
  27. package/es/assets/AddOrEditSupplierDialog.css +1 -1
  28. package/es/assets/AiboxTable.css +1 -1
  29. package/es/assets/ApplicationTypeTag.css +1 -1
  30. package/es/assets/AuthSection.css +1 -1
  31. package/es/assets/AutoShowTooltip.css +1 -1
  32. package/es/assets/CommonTagsList.css +1 -1
  33. package/es/assets/CreateMcpForm.css +1 -1
  34. package/es/assets/CustomSidebar.css +1 -1
  35. package/es/assets/CustomToggle.css +1 -1
  36. package/es/assets/DocSyncSelect.css +1 -0
  37. package/es/assets/FilePreview.css +1 -1
  38. package/es/assets/Logo.css +1 -0
  39. package/es/assets/McpParamsSet.css +1 -1
  40. package/es/assets/MdEditor.css +1 -1
  41. package/es/assets/PageContainer.css +1 -1
  42. package/es/assets/ParameterTable.css +1 -1
  43. package/es/assets/PublishRecord.css +1 -1
  44. package/es/assets/RadioGroup.css +1 -1
  45. package/es/assets/SourcePublish.css +1 -1
  46. package/es/assets/index.css +1 -1
  47. package/es/assets/index2.css +1 -1
  48. package/es/assets/index3.css +1 -1
  49. package/es/assets/index4.css +1 -1
  50. package/es/assets/layout.css +1 -1
  51. package/es/chunks/{BackBar.B5Er8ZdJ.js → AiboxTable.CF4T_OCu.js} +122 -122
  52. package/es/chunks/enums.WrpwbF4w.js +14 -0
  53. package/es/chunks/index.BDd6hHiU.js +172 -0
  54. package/es/chunks/{index.CLyfh6p1.js → index.CF_YHLP5.js} +16 -16
  55. package/es/chunks/index.DdD1VsH1.js +396 -0
  56. package/es/chunks/index.Dx-mCS4E.js +1298 -0
  57. package/es/chunks/layout.CygCXa6s.js +26 -0
  58. package/es/chunks/{usePreview.C36fNlVd.js → usePreview.BHvXwaNi.js} +82 -78
  59. package/es/index.mjs +409 -325
  60. package/index.css +1 -1
  61. package/lib/AddOrEditSupplierDialog.js +1 -1
  62. package/lib/ApplicationTypeTag.js +1 -1
  63. package/lib/AuthSection.js +1 -1
  64. package/lib/AutoShowTooltip.js +1 -1
  65. package/lib/AvailableRangePreview.js +1 -1
  66. package/lib/AvailableRangeSetting.js +1 -1
  67. package/lib/CodeView.js +1 -1
  68. package/lib/CommonTagsList.js +1 -1
  69. package/lib/CreateMcpForm.js +1 -1
  70. package/lib/CustomSidebar.js +1 -1
  71. package/lib/CustomTitle.js +1 -1
  72. package/lib/CustomToggle.js +1 -1
  73. package/lib/DocSyncSelect.js +2 -0
  74. package/lib/FileDisplay.js +1 -1
  75. package/lib/FilePreview.js +1 -1
  76. package/lib/FileUploader.js +1 -1
  77. package/lib/Logo.js +1 -0
  78. package/lib/McpFormDialog.js +1 -1
  79. package/lib/McpParamsSet.js +1 -1
  80. package/lib/MdEditor.js +1 -1
  81. package/lib/PageContainer.js +1 -1
  82. package/lib/ParameterTable.js +1 -1
  83. package/lib/PublishRecord.js +2 -2
  84. package/lib/RadioGroup.js +1 -1
  85. package/lib/SourcePublish.js +1 -1
  86. package/lib/Table.js +1 -1
  87. package/lib/assets/AddOrEditSupplierDialog.css +1 -1
  88. package/lib/assets/AiboxTable.css +1 -1
  89. package/lib/assets/ApplicationTypeTag.css +1 -1
  90. package/lib/assets/AuthSection.css +1 -1
  91. package/lib/assets/AutoShowTooltip.css +1 -1
  92. package/lib/assets/CommonTagsList.css +1 -1
  93. package/lib/assets/CreateMcpForm.css +1 -1
  94. package/lib/assets/CustomSidebar.css +1 -1
  95. package/lib/assets/CustomToggle.css +1 -1
  96. package/lib/assets/DocSyncSelect.css +1 -0
  97. package/lib/assets/FilePreview.css +1 -1
  98. package/lib/assets/Logo.css +1 -0
  99. package/lib/assets/McpParamsSet.css +1 -1
  100. package/lib/assets/MdEditor.css +1 -1
  101. package/lib/assets/PageContainer.css +1 -1
  102. package/lib/assets/ParameterTable.css +1 -1
  103. package/lib/assets/PublishRecord.css +1 -1
  104. package/lib/assets/RadioGroup.css +1 -1
  105. package/lib/assets/SourcePublish.css +1 -1
  106. package/lib/assets/index.css +1 -1
  107. package/lib/assets/index2.css +1 -1
  108. package/lib/assets/index3.css +1 -1
  109. package/lib/assets/index4.css +1 -1
  110. package/lib/assets/layout.css +1 -1
  111. package/lib/chunks/AiboxTable.CJOPGJtU.js +1 -0
  112. package/lib/chunks/enums.DpU2er5r.js +1 -0
  113. package/lib/chunks/index.BNivYbtq.js +1 -0
  114. package/lib/chunks/{index.DME62Yfo.js → index.B_keI1Aq.js} +1 -1
  115. package/lib/chunks/index.C7aZx6RG.js +6 -0
  116. package/lib/chunks/index.CJFk1R2u.js +59 -0
  117. package/lib/chunks/layout.DbBSbLgm.js +1 -0
  118. package/lib/chunks/usePreview.BojIDW7Z.js +1 -0
  119. package/lib/index.js +2 -1
  120. package/package.json +2 -2
  121. package/es/ExampleComponent.mjs +0 -35
  122. package/es/assets/BackBar.css +0 -1
  123. package/es/assets/ExampleComponent.css +0 -1
  124. package/es/chunks/BackBar.Bc2NIuzk.js +0 -645
  125. package/es/chunks/BackBar.Cv1wxUcM.js +0 -645
  126. package/es/chunks/BackBar.DJV4JaUM.js +0 -645
  127. package/es/chunks/config.8htFF04x.js +0 -325
  128. package/es/chunks/config.BPp4hMBq.js +0 -325
  129. package/es/chunks/config.BU21Gda2.js +0 -49
  130. package/es/chunks/config.BzCGum_W.js +0 -49
  131. package/es/chunks/config.CFWGjEdA.js +0 -49
  132. package/es/chunks/config.CfWAdyUH.js +0 -325
  133. package/es/chunks/config.DTMcCH58.js +0 -325
  134. package/es/chunks/config.DqhQdkz7.js +0 -325
  135. package/es/chunks/enums.CfSBDD6u.js +0 -83
  136. package/es/chunks/enums.DuBbLcd-.js +0 -83
  137. package/es/chunks/i18n.DmqkiK-h.js +0 -444
  138. package/es/chunks/i18n.Vhq-tZPw.js +0 -94
  139. package/es/chunks/i18n.ro9yz7rE.js +0 -94
  140. package/es/chunks/index.BSA3IKSF.js +0 -111
  141. package/es/chunks/index.CgbxJCEU.js +0 -265
  142. package/es/chunks/index.CuDwuRO7.js +0 -265
  143. package/es/chunks/index.DB0ayMv8.js +0 -257
  144. package/es/chunks/index.DWR4lc30.js +0 -203
  145. package/es/chunks/index.GuEzdh6b.js +0 -257
  146. package/es/chunks/index.aMb6IVQD.js +0 -257
  147. package/es/chunks/index.ml5i7aB5.js +0 -257
  148. package/es/chunks/index.s-YxIOfq.js +0 -301
  149. package/es/chunks/index.uOZzvHrF.js +0 -135
  150. package/es/chunks/publish.BCb7nCo9.js +0 -50
  151. package/es/chunks/publish.D6friivo.js +0 -50
  152. package/es/chunks/publish.Dqzn7qEl.js +0 -50
  153. package/es/i18n.mjs +0 -17
  154. package/lib/ExampleComponent.js +0 -1
  155. package/lib/assets/BackBar.css +0 -1
  156. package/lib/assets/ExampleComponent.css +0 -1
  157. package/lib/chunks/BackBar.C8Xrc6qW.js +0 -1
  158. package/lib/chunks/BackBar.CZsNxoX1.js +0 -1
  159. package/lib/chunks/BackBar.s5_vN6jt.js +0 -1
  160. package/lib/chunks/config.B0XKkp1w.js +0 -1
  161. package/lib/chunks/config.BCAuBVxV.js +0 -1
  162. package/lib/chunks/config.Bs7sh3aP.js +0 -1
  163. package/lib/chunks/config.C1w4hgfw.js +0 -1
  164. package/lib/chunks/config.ClERt2RF.js +0 -1
  165. package/lib/chunks/enums.Dmq4PdUc.js +0 -1
  166. package/lib/chunks/i18n.CL5L6nx6.js +0 -1
  167. package/lib/chunks/i18n.aAXi5igh.js +0 -1
  168. package/lib/chunks/index.BNqTEn3K.js +0 -1
  169. package/lib/chunks/index.BZcSlgOO.js +0 -1
  170. package/lib/chunks/index.Bk-RwmaH.js +0 -1
  171. package/lib/chunks/index.BsN4urmi.js +0 -1
  172. package/lib/chunks/index.D7wBInWr.js +0 -1
  173. package/lib/chunks/index.DWohILMv.js +0 -1
  174. package/lib/chunks/index.LK2ulXTE.js +0 -1
  175. package/lib/chunks/index.qDAoOzk9.js +0 -1
  176. package/lib/chunks/index.s8vGOJKG.js +0 -1
  177. package/lib/chunks/publish.Bw1acrSu.js +0 -1
  178. package/lib/chunks/publish.CA1uSVnm.js +0 -1
  179. package/lib/chunks/usePreview.E5SeS2uw.js +0 -1
  180. package/lib/i18n.js +0 -1
  181. /package/es/assets/{index6.css → legacy.css} +0 -0
  182. /package/lib/assets/{index6.css → legacy.css} +0 -0
@@ -1,83 +0,0 @@
1
- import "color-star-custom-components";
2
- const a = {
3
- 卡片: "Card",
4
- 按钮: "Button",
5
- 面板: "Panel",
6
- 自定义: "Custom"
7
- }, t = {
8
- 输入框: "Input",
9
- // 输入框
10
- 下拉框: "Select",
11
- // 下拉框
12
- 树形下拉框: "TreeSelect",
13
- // 树形下拉框
14
- 联动下拉框: "SelectCascader",
15
- // 联动下拉框
16
- 数字: "Number",
17
- // 数字
18
- 数字区间: "Num2Num",
19
- // 数字区间
20
- 月份: "Month",
21
- //月份
22
- 月份区间: "Month2Month",
23
- // 月份区间
24
- 日期: "Date",
25
- //日期
26
- 日期区间: "DateRange",
27
- // 日期区间
28
- 日期时间区间: "DateTimeRange"
29
- // 日期时间区间
30
- }, n = {
31
- BLUE: "#3688FF",
32
- RED: "#EE554D",
33
- YELLOW: "#FFE713",
34
- ORANGE: "#FF9C34"
35
- }, l = {
36
- page: 1,
37
- size: 10
38
- }, E = {
39
- AGENT: 1,
40
- CHAT_FLOW: 3
41
- }, s = {
42
- 0: "编排",
43
- 1: "H5",
44
- 2: "API",
45
- 5: "商城",
46
- 6: "智能体节点"
47
- }, o = [
48
- { label: "编排", value: 0 },
49
- { label: "H5", value: 1 },
50
- { label: "API", value: 2 },
51
- { label: "商城", value: 5 },
52
- { label: "智能体节点", value: 6 }
53
- ], u = {
54
- // 智能体
55
- H5: "1",
56
- API: "2",
57
- AIBox: "3",
58
- AGENT_STORE: "5",
59
- // 智能体广场
60
- FEISHU_WEB: "11",
61
- // TRY网页应用
62
- // 工作流
63
- WORKFLOW_API: "4",
64
- WORKFLOW_STORE: "7",
65
- // 组件广场
66
- // 插件
67
- PLUGIN_API: "8",
68
- PLUGIN_STORE: "9",
69
- // AIBox Store
70
- // MCP
71
- MCP_STORE: "10"
72
- // 组件广场
73
- };
74
- export {
75
- s as A,
76
- t as F,
77
- u as R,
78
- a as U,
79
- o as a,
80
- E as b,
81
- n as c,
82
- l as p
83
- };
@@ -1,444 +0,0 @@
1
- import { createI18n as i } from "vue-i18n";
2
- import { ElMessageBox as l } from "element-plus";
3
- import { getCurrentInstance as u } from "vue";
4
- var s = {
5
- name: "zh-cn",
6
- el: {
7
- breadcrumb: { label: "面包屑" },
8
- colorpicker: {
9
- confirm: "确定",
10
- clear: "清空",
11
- defaultLabel: "颜色选择器",
12
- description: "当前颜色 {color},按 Enter 键选择新颜色",
13
- alphaLabel: "选择透明度的值",
14
- alphaDescription: "透明度 {alpha}, 当前颜色 {color}",
15
- hueLabel: "选择色相值",
16
- hueDescription: "色相 {hue}, 当前颜色 {color}",
17
- svLabel: "选择饱和度与明度的值",
18
- svDescription: "饱和度 {saturation}, 明度 {brightness}, 当前颜色 {color}",
19
- predefineDescription: "选择 {value} 作为颜色"
20
- },
21
- datepicker: {
22
- now: "此刻",
23
- today: "今天",
24
- cancel: "取消",
25
- clear: "清空",
26
- confirm: "确定",
27
- dateTablePrompt: "使用方向键与 Enter 键可选择日期",
28
- monthTablePrompt: "使用方向键与 Enter 键可选择月份",
29
- yearTablePrompt: "使用方向键与 Enter 键可选择年份",
30
- selectedDate: "已选日期",
31
- selectDate: "选择日期",
32
- selectTime: "选择时间",
33
- startDate: "开始日期",
34
- startTime: "开始时间",
35
- endDate: "结束日期",
36
- endTime: "结束时间",
37
- prevYear: "前一年",
38
- nextYear: "后一年",
39
- prevMonth: "上个月",
40
- nextMonth: "下个月",
41
- year: "年",
42
- month1: "1 月",
43
- month2: "2 月",
44
- month3: "3 月",
45
- month4: "4 月",
46
- month5: "5 月",
47
- month6: "6 月",
48
- month7: "7 月",
49
- month8: "8 月",
50
- month9: "9 月",
51
- month10: "10 月",
52
- month11: "11 月",
53
- month12: "12 月",
54
- weeks: {
55
- sun: "日",
56
- mon: "一",
57
- tue: "二",
58
- wed: "三",
59
- thu: "四",
60
- fri: "五",
61
- sat: "六"
62
- },
63
- weeksFull: {
64
- sun: "星期日",
65
- mon: "星期一",
66
- tue: "星期二",
67
- wed: "星期三",
68
- thu: "星期四",
69
- fri: "星期五",
70
- sat: "星期六"
71
- },
72
- months: {
73
- jan: "一月",
74
- feb: "二月",
75
- mar: "三月",
76
- apr: "四月",
77
- may: "五月",
78
- jun: "六月",
79
- jul: "七月",
80
- aug: "八月",
81
- sep: "九月",
82
- oct: "十月",
83
- nov: "十一月",
84
- dec: "十二月"
85
- }
86
- },
87
- inputNumber: {
88
- decrease: "减少数值",
89
- increase: "增加数值"
90
- },
91
- select: {
92
- loading: "加载中",
93
- noMatch: "无匹配数据",
94
- noData: "无数据",
95
- placeholder: "请选择"
96
- },
97
- mention: { loading: "加载中" },
98
- dropdown: { toggleDropdown: "切换下拉选项" },
99
- cascader: {
100
- noMatch: "无匹配数据",
101
- loading: "加载中",
102
- placeholder: "请选择",
103
- noData: "暂无数据"
104
- },
105
- pagination: {
106
- goto: "前往",
107
- pagesize: "条/页",
108
- total: "共 {total} 条",
109
- pageClassifier: "页",
110
- page: "页",
111
- prev: "上一页",
112
- next: "下一页",
113
- currentPage: "第 {pager} 页",
114
- prevPages: "向前 {pager} 页",
115
- nextPages: "向后 {pager} 页",
116
- deprecationWarning: "你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"
117
- },
118
- dialog: { close: "关闭此对话框" },
119
- drawer: { close: "关闭此对话框" },
120
- messagebox: {
121
- title: "提示",
122
- confirm: "确定",
123
- cancel: "取消",
124
- error: "输入的数据不合法!",
125
- close: "关闭此对话框"
126
- },
127
- upload: {
128
- deleteTip: "按 Delete 键可删除",
129
- delete: "删除",
130
- preview: "查看图片",
131
- continue: "继续上传"
132
- },
133
- slider: {
134
- defaultLabel: "滑块介于 {min} 至 {max}",
135
- defaultRangeStartLabel: "选择起始值",
136
- defaultRangeEndLabel: "选择结束值"
137
- },
138
- table: {
139
- emptyText: "暂无数据",
140
- confirmFilter: "筛选",
141
- resetFilter: "重置",
142
- clearFilter: "全部",
143
- sumText: "合计",
144
- selectAllLabel: "选择所有行",
145
- selectRowLabel: "选择当前行",
146
- expandRowLabel: "展开当前行",
147
- collapseRowLabel: "收起当前行",
148
- sortLabel: "按 {column} 排序",
149
- filterLabel: "按 {column} 过滤"
150
- },
151
- tag: { close: "关闭此标签" },
152
- tour: {
153
- next: "下一步",
154
- previous: "上一步",
155
- finish: "结束导览",
156
- close: "关闭此对话框"
157
- },
158
- tree: { emptyText: "暂无数据" },
159
- transfer: {
160
- noMatch: "无匹配数据",
161
- noData: "无数据",
162
- titles: ["列表 1", "列表 2"],
163
- filterPlaceholder: "请输入搜索内容",
164
- noCheckedFormat: "共 {total} 项",
165
- hasCheckedFormat: "已选 {checked}/{total} 项"
166
- },
167
- image: { error: "加载失败" },
168
- pageHeader: { title: "返回" },
169
- popconfirm: {
170
- confirmButtonText: "确定",
171
- cancelButtonText: "取消"
172
- },
173
- carousel: {
174
- leftArrow: "上一张幻灯片",
175
- rightArrow: "下一张幻灯片",
176
- indicator: "幻灯片切换至索引 {index}"
177
- }
178
- }
179
- };
180
- var d = {
181
- name: "en",
182
- el: {
183
- breadcrumb: { label: "Breadcrumb" },
184
- colorpicker: {
185
- confirm: "OK",
186
- clear: "Clear",
187
- defaultLabel: "color picker",
188
- description: "current color is {color}. press enter to select a new color.",
189
- alphaLabel: "pick alpha value",
190
- alphaDescription: "alpha {alpha}, current color is {color}",
191
- hueLabel: "pick hue value",
192
- hueDescription: "hue {hue}, current color is {color}",
193
- svLabel: "pick saturation and brightness value",
194
- svDescription: "saturation {saturation}, brightness {brightness}, current color is {color}",
195
- predefineDescription: "select {value} as the color"
196
- },
197
- datepicker: {
198
- now: "Now",
199
- today: "Today",
200
- cancel: "Cancel",
201
- clear: "Clear",
202
- confirm: "OK",
203
- dateTablePrompt: "Use the arrow keys and enter to select the day of the month",
204
- monthTablePrompt: "Use the arrow keys and enter to select the month",
205
- yearTablePrompt: "Use the arrow keys and enter to select the year",
206
- selectedDate: "Selected date",
207
- selectDate: "Select date",
208
- selectTime: "Select time",
209
- startDate: "Start Date",
210
- startTime: "Start Time",
211
- endDate: "End Date",
212
- endTime: "End Time",
213
- prevYear: "Previous Year",
214
- nextYear: "Next Year",
215
- prevMonth: "Previous Month",
216
- nextMonth: "Next Month",
217
- year: "",
218
- month1: "January",
219
- month2: "February",
220
- month3: "March",
221
- month4: "April",
222
- month5: "May",
223
- month6: "June",
224
- month7: "July",
225
- month8: "August",
226
- month9: "September",
227
- month10: "October",
228
- month11: "November",
229
- month12: "December",
230
- weeks: {
231
- sun: "Sun",
232
- mon: "Mon",
233
- tue: "Tue",
234
- wed: "Wed",
235
- thu: "Thu",
236
- fri: "Fri",
237
- sat: "Sat"
238
- },
239
- weeksFull: {
240
- sun: "Sunday",
241
- mon: "Monday",
242
- tue: "Tuesday",
243
- wed: "Wednesday",
244
- thu: "Thursday",
245
- fri: "Friday",
246
- sat: "Saturday"
247
- },
248
- months: {
249
- jan: "Jan",
250
- feb: "Feb",
251
- mar: "Mar",
252
- apr: "Apr",
253
- may: "May",
254
- jun: "Jun",
255
- jul: "Jul",
256
- aug: "Aug",
257
- sep: "Sep",
258
- oct: "Oct",
259
- nov: "Nov",
260
- dec: "Dec"
261
- }
262
- },
263
- inputNumber: {
264
- decrease: "decrease number",
265
- increase: "increase number"
266
- },
267
- select: {
268
- loading: "Loading",
269
- noMatch: "No matching data",
270
- noData: "No data",
271
- placeholder: "Select"
272
- },
273
- mention: { loading: "Loading" },
274
- dropdown: { toggleDropdown: "Toggle Dropdown" },
275
- cascader: {
276
- noMatch: "No matching data",
277
- loading: "Loading",
278
- placeholder: "Select",
279
- noData: "No data"
280
- },
281
- pagination: {
282
- goto: "Go to",
283
- pagesize: "/page",
284
- total: "Total {total}",
285
- pageClassifier: "",
286
- page: "Page",
287
- prev: "Go to previous page",
288
- next: "Go to next page",
289
- currentPage: "page {pager}",
290
- prevPages: "Previous {pager} pages",
291
- nextPages: "Next {pager} pages",
292
- deprecationWarning: "Deprecated usages detected, please refer to the el-pagination documentation for more details"
293
- },
294
- dialog: { close: "Close this dialog" },
295
- drawer: { close: "Close this dialog" },
296
- messagebox: {
297
- title: "Message",
298
- confirm: "OK",
299
- cancel: "Cancel",
300
- error: "Illegal input",
301
- close: "Close this dialog"
302
- },
303
- upload: {
304
- deleteTip: "press delete to remove",
305
- delete: "Delete",
306
- preview: "Preview",
307
- continue: "Continue"
308
- },
309
- slider: {
310
- defaultLabel: "slider between {min} and {max}",
311
- defaultRangeStartLabel: "pick start value",
312
- defaultRangeEndLabel: "pick end value"
313
- },
314
- table: {
315
- emptyText: "No Data",
316
- confirmFilter: "Confirm",
317
- resetFilter: "Reset",
318
- clearFilter: "All",
319
- sumText: "Sum",
320
- selectAllLabel: "Select all rows",
321
- selectRowLabel: "Select this row",
322
- expandRowLabel: "Expand this row",
323
- collapseRowLabel: "Collapse this row",
324
- sortLabel: "Sort by {column}",
325
- filterLabel: "Filter by {column}"
326
- },
327
- tag: { close: "Close this tag" },
328
- tour: {
329
- next: "Next",
330
- previous: "Previous",
331
- finish: "Finish",
332
- close: "Close this dialog"
333
- },
334
- tree: { emptyText: "No Data" },
335
- transfer: {
336
- noMatch: "No matching data",
337
- noData: "No data",
338
- titles: ["List 1", "List 2"],
339
- filterPlaceholder: "Enter keyword",
340
- noCheckedFormat: "{total} items",
341
- hasCheckedFormat: "{checked}/{total} checked"
342
- },
343
- image: { error: "FAILED" },
344
- pageHeader: { title: "Back" },
345
- popconfirm: {
346
- confirmButtonText: "Yes",
347
- cancelButtonText: "No"
348
- },
349
- carousel: {
350
- leftArrow: "Carousel arrow left",
351
- rightArrow: "Carousel arrow right",
352
- indicator: "Carousel switch to index {index}"
353
- }
354
- }
355
- };
356
- const g = () => u().appContext.config.globalProperties, a = {
357
- zhCn: "zh-cn",
358
- en: "en"
359
- }, h = {
360
- [a.zhCn]: s,
361
- [a.en]: d
362
- }, p = (e = !1) => e || (navigator?.language || navigator?.userLanguage)?.startsWith("zh") ? a.zhCn : a.en;
363
- let o = null, n = null;
364
- const C = (e = {}, t = !1) => {
365
- o = p(t);
366
- const r = i({
367
- legacy: !1,
368
- locale: o,
369
- fallbackLocale: a.zhCn,
370
- messages: e,
371
- globalInjection: !0
372
- });
373
- return m(r, !t), n = r, r;
374
- }, T = (e, t) => {
375
- if (n && n.global)
376
- try {
377
- return n.global.t(e, t);
378
- } catch (r) {
379
- return console.warn("i18n t error:", r), e;
380
- }
381
- return e;
382
- }, v = () => h[o] || s, x = () => ({
383
- [a.zhCn]: "zh_cn",
384
- [a.en]: "en_us"
385
- })[o], y = () => ({
386
- [a.zhCn]: "zh-CN",
387
- [a.en]: "en-US"
388
- })[o], D = () => ({
389
- [a.zhCn]: "zh",
390
- [a.en]: a.en
391
- })[o], N = (e) => (t, r = {}) => e.global.t(t, r), c = (e) => () => {
392
- setTimeout(async () => {
393
- try {
394
- l.close();
395
- } catch {
396
- }
397
- l.confirm(
398
- e.global.t("LANGUAGE_CHANGE.CONTENT"),
399
- e.global.t("LANGUAGE_CHANGE.TITLE"),
400
- {
401
- confirmButtonText: e.global.t("LANGUAGE_CHANGE.CONFIRM"),
402
- cancelButtonText: e.global.t("LANGUAGE_CHANGE.CANCEL"),
403
- type: "warning",
404
- dangerouslyUseHTMLString: !0,
405
- customClass: "language-change-confirm"
406
- }
407
- ).then(() => {
408
- window.location.reload();
409
- });
410
- }, 0);
411
- }, m = (e, t = !0) => {
412
- if (!t)
413
- return;
414
- const r = c(e);
415
- window.addEventListener("languagechange", r);
416
- }, k = (e) => {
417
- if (!e)
418
- return;
419
- const t = c(e);
420
- window.removeEventListener("languagechange", t);
421
- }, b = () => {
422
- const { t: e } = g();
423
- return { t: e };
424
- }, E = (e, t) => {
425
- const { t: r } = b();
426
- return r(e, t);
427
- };
428
- export {
429
- E as a,
430
- h as b,
431
- p as c,
432
- C as d,
433
- v as e,
434
- x as f,
435
- g,
436
- y as h,
437
- D as i,
438
- N as j,
439
- k,
440
- a as l,
441
- m as s,
442
- T as t,
443
- b as u
444
- };
@@ -1,94 +0,0 @@
1
- import { createI18n as c } from "vue-i18n";
2
- import g from "element-plus/dist/locale/zh-cn";
3
- import u from "element-plus/dist/locale/en";
4
- import { ElMessageBox as s } from "element-plus";
5
- import { getCurrentInstance as i } from "vue";
6
- const h = () => i().appContext.config.globalProperties, a = {
7
- zhCn: "zh-cn",
8
- en: "en"
9
- }, C = {
10
- [a.zhCn]: g,
11
- [a.en]: u
12
- }, L = (n = !1) => n || (navigator?.language || navigator?.userLanguage)?.startsWith("zh") ? a.zhCn : a.en;
13
- let r = null, o = null;
14
- const G = (n = {}, e = !1) => {
15
- r = L(e);
16
- const t = c({
17
- legacy: !1,
18
- locale: r,
19
- fallbackLocale: a.zhCn,
20
- messages: n,
21
- globalInjection: !0
22
- });
23
- return m(t, !e), o = t, t;
24
- }, A = (n, e) => {
25
- if (o && o.global)
26
- try {
27
- return o.global.t(n, e);
28
- } catch (t) {
29
- return console.warn("i18n t error:", t), n;
30
- }
31
- return n;
32
- }, N = () => C[r] || g, w = () => ({
33
- [a.zhCn]: "zh_cn",
34
- [a.en]: "en_us"
35
- })[r], T = () => ({
36
- [a.zhCn]: "zh-CN",
37
- [a.en]: "en-US"
38
- })[r], I = () => ({
39
- [a.zhCn]: "zh",
40
- [a.en]: a.en
41
- })[r], H = (n) => (e, t = {}) => n.global.t(e, t), l = (n) => () => {
42
- setTimeout(async () => {
43
- try {
44
- s.close();
45
- } catch {
46
- }
47
- s.confirm(
48
- n.global.t("LANGUAGE_CHANGE.CONTENT"),
49
- n.global.t("LANGUAGE_CHANGE.TITLE"),
50
- {
51
- confirmButtonText: n.global.t("LANGUAGE_CHANGE.CONFIRM"),
52
- cancelButtonText: n.global.t("LANGUAGE_CHANGE.CANCEL"),
53
- type: "warning",
54
- dangerouslyUseHTMLString: !0,
55
- customClass: "language-change-confirm"
56
- }
57
- ).then(() => {
58
- window.location.reload();
59
- });
60
- }, 0);
61
- }, m = (n, e = !0) => {
62
- if (!e)
63
- return;
64
- const t = l(n);
65
- window.addEventListener("languagechange", t);
66
- }, x = (n) => {
67
- if (!n)
68
- return;
69
- const e = l(n);
70
- window.removeEventListener("languagechange", e);
71
- }, p = () => {
72
- const { t: n } = h();
73
- return { t: n };
74
- }, M = (n, e) => {
75
- const { t } = p();
76
- return t(n, e);
77
- };
78
- export {
79
- M as a,
80
- C as b,
81
- L as c,
82
- G as d,
83
- N as e,
84
- w as f,
85
- h as g,
86
- T as h,
87
- I as i,
88
- H as j,
89
- x as k,
90
- a as l,
91
- m as s,
92
- A as t,
93
- p as u
94
- };
@@ -1,94 +0,0 @@
1
- import { createI18n as c } from "vue-i18n";
2
- import g from "element-plus/dist/locale/zh-cn";
3
- import u from "element-plus/dist/locale/en";
4
- import { ElMessageBox as s } from "element-plus";
5
- import { getCurrentInstance as i } from "vue";
6
- const h = () => i().appContext.config.globalProperties, a = {
7
- zhCn: "zh-cn",
8
- en: "en"
9
- }, C = {
10
- [a.zhCn]: g,
11
- [a.en]: u
12
- }, L = (n = !1) => n || (navigator?.language || navigator?.userLanguage)?.startsWith("zh") ? a.zhCn : a.en;
13
- let r = null, o = null;
14
- const G = (n = {}, e = !1) => {
15
- r = L(e);
16
- const t = c({
17
- legacy: !1,
18
- locale: r,
19
- fallbackLocale: a.zhCn,
20
- messages: n,
21
- globalInjection: !0
22
- });
23
- return m(t, !e), o = t, t;
24
- }, A = (n, e) => {
25
- if (o && o.global)
26
- try {
27
- return o.global.t(n, e);
28
- } catch (t) {
29
- return console.warn("i18n t error:", t), n;
30
- }
31
- return n;
32
- }, N = () => C[r] || g, w = () => ({
33
- [a.zhCn]: "zh_cn",
34
- [a.en]: "en_us"
35
- })[r], T = () => ({
36
- [a.zhCn]: "zh-CN",
37
- [a.en]: "en-US"
38
- })[r], I = () => ({
39
- [a.zhCn]: "zh",
40
- [a.en]: a.en
41
- })[r], H = (n) => (e, t = {}) => n.global.t(e, t), l = (n) => () => {
42
- setTimeout(async () => {
43
- try {
44
- s.close();
45
- } catch {
46
- }
47
- s.confirm(
48
- n.global.t("LANGUAGE_CHANGE.CONTENT"),
49
- n.global.t("LANGUAGE_CHANGE.TITLE"),
50
- {
51
- confirmButtonText: n.global.t("LANGUAGE_CHANGE.CONFIRM"),
52
- cancelButtonText: n.global.t("LANGUAGE_CHANGE.CANCEL"),
53
- type: "warning",
54
- dangerouslyUseHTMLString: !0,
55
- customClass: "language-change-confirm"
56
- }
57
- ).then(() => {
58
- window.location.reload();
59
- });
60
- }, 0);
61
- }, m = (n, e = !0) => {
62
- if (!e)
63
- return;
64
- const t = l(n);
65
- window.addEventListener("languagechange", t);
66
- }, x = (n) => {
67
- if (!n)
68
- return;
69
- const e = l(n);
70
- window.removeEventListener("languagechange", e);
71
- }, p = () => {
72
- const { t: n } = h();
73
- return { t: n };
74
- }, M = (n, e) => {
75
- const { t } = p();
76
- return t(n, e);
77
- };
78
- export {
79
- C as a,
80
- N as b,
81
- G as c,
82
- w as d,
83
- T as e,
84
- I as f,
85
- L as g,
86
- H as h,
87
- x as i,
88
- M as j,
89
- h as k,
90
- a as l,
91
- m as s,
92
- A as t,
93
- p as u
94
- };