yc-design-vue 1.7.8 → 1.8.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 (166) hide show
  1. package/es/Calendar/Calendar.vue.js +15 -14
  2. package/es/Calendar/CalendarMonth.vue.js +11 -1
  3. package/es/Calendar/CalendarYear.vue.js +20 -16
  4. package/es/ColorPicker/ColorList.vue.js +4 -2
  5. package/es/ColorPicker/ColorPanel.vue.js +6 -4
  6. package/es/ColorPicker/index.css +1 -1
  7. package/es/ConfigProvider/index.d.ts +3 -0
  8. package/es/ConfigProvider/index.vue.d.ts +1 -0
  9. package/es/ConfigProvider/index.vue.js +13 -2
  10. package/es/ConfigProvider/type.d.ts +1 -0
  11. package/es/Drawer/Drawer.vue.js +6 -4
  12. package/es/Drawer/DrawerService.vue.js +2 -2
  13. package/es/Drawer/index.css +1 -1
  14. package/es/Dropdown/index.css +1 -1
  15. package/es/Empty/index.vue.js +11 -4
  16. package/es/Image/Image.vue.js +4 -2
  17. package/es/Image/ImagePreviewToolbar.vue.js +13 -29
  18. package/es/Layout/hooks/useTheme.js +0 -1
  19. package/es/Modal/Modal.vue.js +6 -4
  20. package/es/Modal/ModalService.vue.js +2 -2
  21. package/es/Pagination/Pagination.vue.js +5 -3
  22. package/es/Pagination/hooks/useContext.d.ts +5 -0
  23. package/es/Pagination/hooks/useContext.js +5 -2
  24. package/es/Popconfirm/index.css +1 -1
  25. package/es/Popconfirm/index.vue.js +6 -4
  26. package/es/Popover/index.css +1 -1
  27. package/es/Tooltip/index.css +1 -1
  28. package/es/Typography/TypographyBase.vue.js +5 -4
  29. package/es/_shared/locale/i18n.d.ts +256 -0
  30. package/es/_shared/locale/i18n.js +35 -0
  31. package/es/_shared/locale/lang/ar-eg.d.ts +205 -0
  32. package/es/_shared/locale/lang/ar-eg.js +153 -0
  33. package/es/_shared/locale/lang/de-de.d.ts +205 -0
  34. package/es/_shared/locale/lang/de-de.js +153 -0
  35. package/es/_shared/locale/lang/en-us.d.ts +253 -0
  36. package/es/_shared/locale/lang/en-us.js +158 -0
  37. package/es/_shared/locale/lang/es-es.d.ts +205 -0
  38. package/es/_shared/locale/lang/es-es.js +153 -0
  39. package/es/_shared/locale/lang/fr-fr.d.ts +205 -0
  40. package/es/_shared/locale/lang/fr-fr.js +153 -0
  41. package/es/_shared/locale/lang/id-id.d.ts +205 -0
  42. package/es/_shared/locale/lang/id-id.js +153 -0
  43. package/es/_shared/locale/lang/it-it.d.ts +205 -0
  44. package/es/_shared/locale/lang/it-it.js +153 -0
  45. package/es/_shared/locale/lang/ja-jp.d.ts +253 -0
  46. package/es/_shared/locale/lang/ja-jp.js +201 -0
  47. package/es/_shared/locale/lang/km-kh.d.ts +205 -0
  48. package/es/_shared/locale/lang/km-kh.js +153 -0
  49. package/es/_shared/locale/lang/ko-kr.d.ts +205 -0
  50. package/es/_shared/locale/lang/ko-kr.js +153 -0
  51. package/es/_shared/locale/lang/ms-my.d.ts +205 -0
  52. package/es/_shared/locale/lang/ms-my.js +153 -0
  53. package/es/_shared/locale/lang/nl-nl.d.ts +253 -0
  54. package/es/_shared/locale/lang/nl-nl.js +201 -0
  55. package/es/_shared/locale/lang/pt-pt.d.ts +205 -0
  56. package/es/_shared/locale/lang/pt-pt.js +153 -0
  57. package/es/_shared/locale/lang/ru-ru.d.ts +253 -0
  58. package/es/_shared/locale/lang/ru-ru.js +201 -0
  59. package/es/_shared/locale/lang/th-th.d.ts +205 -0
  60. package/es/_shared/locale/lang/th-th.js +153 -0
  61. package/es/_shared/locale/lang/vi-vn.d.ts +205 -0
  62. package/es/_shared/locale/lang/vi-vn.js +153 -0
  63. package/es/_shared/locale/lang/zh-cn.d.ts +253 -0
  64. package/es/_shared/locale/lang/zh-cn.js +201 -0
  65. package/es/_shared/locale/lang/zh-tw.d.ts +253 -0
  66. package/es/_shared/locale/lang/zh-tw.js +201 -0
  67. package/es/_shared/utils/time.js +1 -1
  68. package/es/_virtual/dynamic-import-helper.js +19 -0
  69. package/es/index.js +2 -0
  70. package/es/node_modules/@intlify/core-base/dist/core-base.js +1129 -0
  71. package/es/node_modules/@intlify/message-compiler/dist/message-compiler.js +65 -0
  72. package/es/node_modules/@intlify/shared/dist/shared.js +199 -0
  73. package/es/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +1381 -0
  74. package/es/node_modules/@vue/devtools-api/lib/esm/const.js +6 -0
  75. package/es/node_modules/@vue/devtools-api/lib/esm/env.js +12 -0
  76. package/es/node_modules/@vue/devtools-api/lib/esm/index.js +26 -0
  77. package/es/node_modules/@vue/devtools-api/lib/esm/proxy.js +103 -0
  78. package/es/node_modules/@vue/devtools-api/lib/esm/time.js +25 -0
  79. package/es/node_modules/b-validate/es/is.js +27 -0
  80. package/es/node_modules/b-validate/es/locale/en-US.js +50 -0
  81. package/es/node_modules/b-validate/es/rules/base.js +86 -0
  82. package/es/node_modules/b-validate/es/util.js +25 -0
  83. package/es/style.css +1 -1
  84. package/lib/Calendar/Calendar.vue.js +1 -1
  85. package/lib/Calendar/CalendarMonth.vue.js +1 -1
  86. package/lib/Calendar/CalendarYear.vue.js +1 -1
  87. package/lib/ColorPicker/ColorList.vue.js +1 -1
  88. package/lib/ColorPicker/ColorPanel.vue.js +1 -1
  89. package/lib/ColorPicker/index.css +1 -1
  90. package/lib/ConfigProvider/index.d.ts +3 -0
  91. package/lib/ConfigProvider/index.vue.d.ts +1 -0
  92. package/lib/ConfigProvider/index.vue.js +1 -1
  93. package/lib/ConfigProvider/type.d.ts +1 -0
  94. package/lib/Drawer/Drawer.vue.js +1 -1
  95. package/lib/Drawer/DrawerService.vue.js +1 -1
  96. package/lib/Drawer/index.css +1 -1
  97. package/lib/Dropdown/index.css +1 -1
  98. package/lib/Empty/index.vue.js +1 -1
  99. package/lib/Image/Image.vue.js +1 -1
  100. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  101. package/lib/Modal/Modal.vue.js +1 -1
  102. package/lib/Modal/ModalService.vue.js +1 -1
  103. package/lib/Pagination/Pagination.vue.js +1 -1
  104. package/lib/Pagination/hooks/useContext.d.ts +5 -0
  105. package/lib/Pagination/hooks/useContext.js +1 -1
  106. package/lib/Popconfirm/index.css +1 -1
  107. package/lib/Popconfirm/index.vue.js +1 -1
  108. package/lib/Popover/index.css +1 -1
  109. package/lib/Tooltip/index.css +1 -1
  110. package/lib/Typography/TypographyBase.vue.js +1 -1
  111. package/lib/_shared/locale/i18n.d.ts +256 -0
  112. package/lib/_shared/locale/i18n.js +1 -0
  113. package/lib/_shared/locale/lang/ar-eg.d.ts +205 -0
  114. package/lib/_shared/locale/lang/ar-eg.js +1 -0
  115. package/lib/_shared/locale/lang/de-de.d.ts +205 -0
  116. package/lib/_shared/locale/lang/de-de.js +1 -0
  117. package/lib/_shared/locale/lang/en-us.d.ts +253 -0
  118. package/lib/_shared/locale/lang/en-us.js +1 -0
  119. package/lib/_shared/locale/lang/es-es.d.ts +205 -0
  120. package/lib/_shared/locale/lang/es-es.js +1 -0
  121. package/lib/_shared/locale/lang/fr-fr.d.ts +205 -0
  122. package/lib/_shared/locale/lang/fr-fr.js +1 -0
  123. package/lib/_shared/locale/lang/id-id.d.ts +205 -0
  124. package/lib/_shared/locale/lang/id-id.js +1 -0
  125. package/lib/_shared/locale/lang/it-it.d.ts +205 -0
  126. package/lib/_shared/locale/lang/it-it.js +1 -0
  127. package/lib/_shared/locale/lang/ja-jp.d.ts +253 -0
  128. package/lib/_shared/locale/lang/ja-jp.js +1 -0
  129. package/lib/_shared/locale/lang/km-kh.d.ts +205 -0
  130. package/lib/_shared/locale/lang/km-kh.js +1 -0
  131. package/lib/_shared/locale/lang/ko-kr.d.ts +205 -0
  132. package/lib/_shared/locale/lang/ko-kr.js +1 -0
  133. package/lib/_shared/locale/lang/ms-my.d.ts +205 -0
  134. package/lib/_shared/locale/lang/ms-my.js +1 -0
  135. package/lib/_shared/locale/lang/nl-nl.d.ts +253 -0
  136. package/lib/_shared/locale/lang/nl-nl.js +1 -0
  137. package/lib/_shared/locale/lang/pt-pt.d.ts +205 -0
  138. package/lib/_shared/locale/lang/pt-pt.js +1 -0
  139. package/lib/_shared/locale/lang/ru-ru.d.ts +253 -0
  140. package/lib/_shared/locale/lang/ru-ru.js +1 -0
  141. package/lib/_shared/locale/lang/th-th.d.ts +205 -0
  142. package/lib/_shared/locale/lang/th-th.js +1 -0
  143. package/lib/_shared/locale/lang/vi-vn.d.ts +205 -0
  144. package/lib/_shared/locale/lang/vi-vn.js +1 -0
  145. package/lib/_shared/locale/lang/zh-cn.d.ts +253 -0
  146. package/lib/_shared/locale/lang/zh-cn.js +1 -0
  147. package/lib/_shared/locale/lang/zh-tw.d.ts +253 -0
  148. package/lib/_shared/locale/lang/zh-tw.js +1 -0
  149. package/lib/_shared/utils/time.js +1 -1
  150. package/lib/_virtual/dynamic-import-helper.js +1 -0
  151. package/lib/index.js +1 -1
  152. package/lib/node_modules/@intlify/core-base/dist/core-base.js +1 -0
  153. package/lib/node_modules/@intlify/message-compiler/dist/message-compiler.js +6 -0
  154. package/lib/node_modules/@intlify/shared/dist/shared.js +7 -0
  155. package/lib/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +1 -0
  156. package/lib/node_modules/@vue/devtools-api/lib/esm/const.js +1 -0
  157. package/lib/node_modules/@vue/devtools-api/lib/esm/env.js +1 -0
  158. package/lib/node_modules/@vue/devtools-api/lib/esm/index.js +1 -0
  159. package/lib/node_modules/@vue/devtools-api/lib/esm/proxy.js +1 -0
  160. package/lib/node_modules/@vue/devtools-api/lib/esm/time.js +1 -0
  161. package/lib/node_modules/b-validate/es/is.js +1 -0
  162. package/lib/node_modules/b-validate/es/locale/en-US.js +1 -0
  163. package/lib/node_modules/b-validate/es/rules/base.js +1 -0
  164. package/lib/node_modules/b-validate/es/util.js +1 -0
  165. package/lib/style.css +1 -1
  166. package/package.json +3 -2
@@ -0,0 +1,253 @@
1
+ declare const lang: {
2
+ empty: {
3
+ description: string;
4
+ };
5
+ drawer: {
6
+ okText: string;
7
+ cancelText: string;
8
+ };
9
+ popconfirm: {
10
+ okText: string;
11
+ cancelText: string;
12
+ };
13
+ modal: {
14
+ okText: string;
15
+ cancelText: string;
16
+ };
17
+ pagination: {
18
+ goto: string;
19
+ page: string;
20
+ countPerPage: string;
21
+ total: string;
22
+ };
23
+ calendar: {
24
+ formatYear: string;
25
+ formatMonth: string;
26
+ today: string;
27
+ view: {
28
+ month: string;
29
+ year: string;
30
+ week: string;
31
+ day: string;
32
+ };
33
+ month: {
34
+ long: {
35
+ January: string;
36
+ February: string;
37
+ March: string;
38
+ April: string;
39
+ May: string;
40
+ June: string;
41
+ July: string;
42
+ August: string;
43
+ September: string;
44
+ October: string;
45
+ November: string;
46
+ December: string;
47
+ };
48
+ short: {
49
+ January: string;
50
+ February: string;
51
+ March: string;
52
+ April: string;
53
+ May: string;
54
+ June: string;
55
+ July: string;
56
+ August: string;
57
+ September: string;
58
+ October: string;
59
+ November: string;
60
+ December: string;
61
+ };
62
+ };
63
+ week: {
64
+ long: {
65
+ self: string;
66
+ monday: string;
67
+ tuesday: string;
68
+ wednesday: string;
69
+ thursday: string;
70
+ friday: string;
71
+ saturday: string;
72
+ sunday: string;
73
+ };
74
+ short: {
75
+ self: string;
76
+ monday: string;
77
+ tuesday: string;
78
+ wednesday: string;
79
+ thursday: string;
80
+ friday: string;
81
+ saturday: string;
82
+ sunday: string;
83
+ };
84
+ };
85
+ };
86
+ image: {
87
+ loading: string;
88
+ };
89
+ imagePreview: {
90
+ fullScreen: string;
91
+ rotateRight: string;
92
+ rotateLeft: string;
93
+ zoomIn: string;
94
+ zoomOut: string;
95
+ originalSize: string;
96
+ };
97
+ typography: {
98
+ copied: string;
99
+ copy: string;
100
+ expand: string;
101
+ collapse: string;
102
+ edit: string;
103
+ };
104
+ colorPicker: {
105
+ history: string;
106
+ preset: string;
107
+ empty: string;
108
+ };
109
+ table: {
110
+ okText: string;
111
+ resetText: string;
112
+ };
113
+ upload: {
114
+ start: string;
115
+ cancel: string;
116
+ delete: string;
117
+ retry: string;
118
+ buttonText: string;
119
+ preview: string;
120
+ drag: string;
121
+ dragHover: string;
122
+ error: string;
123
+ };
124
+ datePicker: {
125
+ view: {
126
+ month: string;
127
+ year: string;
128
+ week: string;
129
+ day: string;
130
+ };
131
+ month: {
132
+ long: {
133
+ January: string;
134
+ February: string;
135
+ March: string;
136
+ April: string;
137
+ May: string;
138
+ June: string;
139
+ July: string;
140
+ August: string;
141
+ September: string;
142
+ October: string;
143
+ November: string;
144
+ December: string;
145
+ };
146
+ short: {
147
+ January: string;
148
+ February: string;
149
+ March: string;
150
+ April: string;
151
+ May: string;
152
+ June: string;
153
+ July: string;
154
+ August: string;
155
+ September: string;
156
+ October: string;
157
+ November: string;
158
+ December: string;
159
+ };
160
+ };
161
+ week: {
162
+ long: {
163
+ self: string;
164
+ monday: string;
165
+ tuesday: string;
166
+ wednesday: string;
167
+ thursday: string;
168
+ friday: string;
169
+ saturday: string;
170
+ sunday: string;
171
+ };
172
+ short: {
173
+ self: string;
174
+ monday: string;
175
+ tuesday: string;
176
+ wednesday: string;
177
+ thursday: string;
178
+ friday: string;
179
+ saturday: string;
180
+ sunday: string;
181
+ };
182
+ };
183
+ placeholder: {
184
+ date: string;
185
+ week: string;
186
+ month: string;
187
+ year: string;
188
+ quarter: string;
189
+ time: string;
190
+ };
191
+ rangePlaceholder: {
192
+ date: string[];
193
+ week: string[];
194
+ month: string[];
195
+ year: string[];
196
+ quarter: string[];
197
+ time: string[];
198
+ };
199
+ selectTime: string;
200
+ today: string;
201
+ now: string;
202
+ ok: string;
203
+ };
204
+ form: {
205
+ validateMessages: {
206
+ required: string;
207
+ type: {
208
+ string: string;
209
+ number: string;
210
+ boolean: string;
211
+ array: string;
212
+ object: string;
213
+ url: string;
214
+ email: string;
215
+ ip: string;
216
+ };
217
+ number: {
218
+ min: string;
219
+ max: string;
220
+ equal: string;
221
+ range: string;
222
+ positive: string;
223
+ negative: string;
224
+ };
225
+ array: {
226
+ length: string;
227
+ minLength: string;
228
+ maxLength: string;
229
+ includes: string;
230
+ deepEqual: string;
231
+ empty: string;
232
+ };
233
+ string: {
234
+ minLength: string;
235
+ maxLength: string;
236
+ length: string;
237
+ match: string;
238
+ uppercase: string;
239
+ lowercase: string;
240
+ };
241
+ object: {
242
+ deepEqual: string;
243
+ hasKeys: string;
244
+ empty: string;
245
+ };
246
+ boolean: {
247
+ true: string;
248
+ false: string;
249
+ };
250
+ };
251
+ };
252
+ };
253
+ export default lang;
@@ -0,0 +1 @@
1
+ "use strict";const e={formatYear:"YYYY 年",formatMonth:"YYYY 年 MM 月",today:"今天",view:{month:"月",year:"年",week:"周",day:"日"},month:{long:{January:"一月",February:"二月",March:"三月",April:"四月",May:"五月",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"},short:{January:"一月",February:"二月",March:"三月",April:"四月",May:"五月",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"}},week:{long:{self:"周",monday:"周一",tuesday:"周二",wednesday:"周三",thursday:"周四",friday:"周五",saturday:"周六",sunday:"周日"},short:{self:"周",monday:"一",tuesday:"二",wednesday:"三",thursday:"四",friday:"五",saturday:"六",sunday:"日"}}},a={empty:{description:"暂无数据"},drawer:{okText:"确定",cancelText:"取消"},popconfirm:{okText:"确定",cancelText:"取消"},modal:{okText:"确定",cancelText:"取消"},pagination:{goto:"前往",page:"页",countPerPage:"条/页",total:"共 {0} 条"},calendar:e,image:{loading:"加载中"},imagePreview:{fullScreen:"全屏",rotateRight:"向右旋转",rotateLeft:"向左旋转",zoomIn:"放大",zoomOut:"缩小",originalSize:"原始尺寸"},typography:{copied:"已复制",copy:"复制",expand:"展开",collapse:"折叠",edit:"编辑"},colorPicker:{history:"最近使用颜色",preset:"系统预设颜色",empty:"暂无"},table:{okText:"确定",resetText:"重置"},upload:{start:"开始",cancel:"取消",delete:"删除",retry:"点击重试",buttonText:"点击上传",preview:"预览",drag:"点击或拖拽文件到此处上传",dragHover:"释放文件并开始上传",error:"上传失败"},datePicker:{view:e.view,month:e.month,week:e.week,placeholder:{date:"请选择日期",week:"请选择周",month:"请选择月份",year:"请选择年份",quarter:"请选择季度",time:"请选择时间"},rangePlaceholder:{date:["开始日期","结束日期"],week:["开始周","结束周"],month:["开始月份","结束月份"],year:["开始年份","结束年份"],quarter:["开始季度","结束季度"],time:["开始时间","结束时间"]},selectTime:"选择时间",today:"今天",now:"此刻",ok:"确定"},form:{validateMessages:{required:"#{field} 是必填项",type:{string:"#{field} 不是合法的文本类型",number:"#{field} 不是合法的数字类型",boolean:"#{field} 不是合法的布尔类型",array:"#{field} 不是合法的数组类型",object:"#{field} 不是合法的对象类型",url:"#{field} 不是合法的 url 地址",email:"#{field} 不是合法的邮箱地址",ip:"#{field} 不是合法的 IP 地址"},number:{min:"`#{value}` 小于最小值 `#{min}`",max:"`#{value}` 大于最大值 `#{max}`",equal:"`#{value}` 不等于 `#{equal}`",range:"`#{value}` 不在 `#{min} ~ #{max}` 范围内",positive:"`#{value}` 不是正数",negative:"`#{value}` 不是负数"},array:{length:"`#{field}` 个数不等于 #{length}",minLength:"`#{field}` 个数最少为 #{minLength}",maxLength:"`#{field}` 个数最多为 #{maxLength}",includes:"#{field} 不包含 #{includes}",deepEqual:"#{field} 不等于 #{deepEqual}",empty:"`#{field}` 不是空数组"},string:{minLength:"字符数最少为 #{minLength}",maxLength:"字符数最多为 #{maxLength}",length:"字符数必须是 #{length}",match:"`#{value}` 不符合模式 #{pattern}",uppercase:"`#{value}` 必须全大写",lowercase:"`#{value}` 必须全小写"},object:{deepEqual:"`#{field}` 不等于期望值",hasKeys:"`#{field}` 不包含必须字段",empty:"`#{field}` 不是对象"},boolean:{true:"期望是 `true`",false:"期望是 `false`"}}}};module.exports=a;
@@ -0,0 +1,253 @@
1
+ declare const lang: {
2
+ empty: {
3
+ description: string;
4
+ };
5
+ drawer: {
6
+ okText: string;
7
+ cancelText: string;
8
+ };
9
+ popconfirm: {
10
+ okText: string;
11
+ cancelText: string;
12
+ };
13
+ modal: {
14
+ okText: string;
15
+ cancelText: string;
16
+ };
17
+ pagination: {
18
+ goto: string;
19
+ page: string;
20
+ countPerPage: string;
21
+ total: string;
22
+ };
23
+ table: {
24
+ okText: string;
25
+ resetText: string;
26
+ };
27
+ upload: {
28
+ start: string;
29
+ cancel: string;
30
+ delete: string;
31
+ retry: string;
32
+ buttonText: string;
33
+ preview: string;
34
+ drag: string;
35
+ dragHover: string;
36
+ error: string;
37
+ };
38
+ calendar: {
39
+ formatYear: string;
40
+ formatMonth: string;
41
+ today: string;
42
+ view: {
43
+ month: string;
44
+ year: string;
45
+ week: string;
46
+ day: string;
47
+ };
48
+ month: {
49
+ long: {
50
+ January: string;
51
+ February: string;
52
+ March: string;
53
+ April: string;
54
+ May: string;
55
+ June: string;
56
+ July: string;
57
+ August: string;
58
+ September: string;
59
+ October: string;
60
+ November: string;
61
+ December: string;
62
+ };
63
+ short: {
64
+ January: string;
65
+ February: string;
66
+ March: string;
67
+ April: string;
68
+ May: string;
69
+ June: string;
70
+ July: string;
71
+ August: string;
72
+ September: string;
73
+ October: string;
74
+ November: string;
75
+ December: string;
76
+ };
77
+ };
78
+ week: {
79
+ long: {
80
+ self: string;
81
+ monday: string;
82
+ tuesday: string;
83
+ wednesday: string;
84
+ thursday: string;
85
+ friday: string;
86
+ saturday: string;
87
+ sunday: string;
88
+ };
89
+ short: {
90
+ self: string;
91
+ monday: string;
92
+ tuesday: string;
93
+ wednesday: string;
94
+ thursday: string;
95
+ friday: string;
96
+ saturday: string;
97
+ sunday: string;
98
+ };
99
+ };
100
+ };
101
+ datePicker: {
102
+ view: {
103
+ month: string;
104
+ year: string;
105
+ week: string;
106
+ day: string;
107
+ };
108
+ month: {
109
+ long: {
110
+ January: string;
111
+ February: string;
112
+ March: string;
113
+ April: string;
114
+ May: string;
115
+ June: string;
116
+ July: string;
117
+ August: string;
118
+ September: string;
119
+ October: string;
120
+ November: string;
121
+ December: string;
122
+ };
123
+ short: {
124
+ January: string;
125
+ February: string;
126
+ March: string;
127
+ April: string;
128
+ May: string;
129
+ June: string;
130
+ July: string;
131
+ August: string;
132
+ September: string;
133
+ October: string;
134
+ November: string;
135
+ December: string;
136
+ };
137
+ };
138
+ week: {
139
+ long: {
140
+ self: string;
141
+ monday: string;
142
+ tuesday: string;
143
+ wednesday: string;
144
+ thursday: string;
145
+ friday: string;
146
+ saturday: string;
147
+ sunday: string;
148
+ };
149
+ short: {
150
+ self: string;
151
+ monday: string;
152
+ tuesday: string;
153
+ wednesday: string;
154
+ thursday: string;
155
+ friday: string;
156
+ saturday: string;
157
+ sunday: string;
158
+ };
159
+ };
160
+ placeholder: {
161
+ date: string;
162
+ week: string;
163
+ month: string;
164
+ year: string;
165
+ quarter: string;
166
+ time: string;
167
+ };
168
+ rangePlaceholder: {
169
+ date: string[];
170
+ week: string[];
171
+ month: string[];
172
+ year: string[];
173
+ quarter: string[];
174
+ time: string[];
175
+ };
176
+ selectTime: string;
177
+ today: string;
178
+ now: string;
179
+ ok: string;
180
+ };
181
+ image: {
182
+ loading: string;
183
+ };
184
+ imagePreview: {
185
+ fullScreen: string;
186
+ rotateRight: string;
187
+ rotateLeft: string;
188
+ zoomIn: string;
189
+ zoomOut: string;
190
+ originalSize: string;
191
+ };
192
+ typography: {
193
+ copied: string;
194
+ copy: string;
195
+ expand: string;
196
+ collapse: string;
197
+ edit: string;
198
+ };
199
+ form: {
200
+ validateMessages: {
201
+ required: string;
202
+ type: {
203
+ string: string;
204
+ number: string;
205
+ boolean: string;
206
+ array: string;
207
+ object: string;
208
+ url: string;
209
+ email: string;
210
+ ip: string;
211
+ };
212
+ number: {
213
+ min: string;
214
+ max: string;
215
+ equal: string;
216
+ range: string;
217
+ positive: string;
218
+ negative: string;
219
+ };
220
+ array: {
221
+ length: string;
222
+ minLength: string;
223
+ maxLength: string;
224
+ includes: string;
225
+ deepEqual: string;
226
+ empty: string;
227
+ };
228
+ string: {
229
+ minLength: string;
230
+ maxLength: string;
231
+ length: string;
232
+ match: string;
233
+ uppercase: string;
234
+ lowercase: string;
235
+ };
236
+ object: {
237
+ deepEqual: string;
238
+ hasKeys: string;
239
+ empty: string;
240
+ };
241
+ boolean: {
242
+ true: string;
243
+ false: string;
244
+ };
245
+ };
246
+ };
247
+ colorPicker: {
248
+ history: string;
249
+ preset: string;
250
+ empty: string;
251
+ };
252
+ };
253
+ export default lang;
@@ -0,0 +1 @@
1
+ "use strict";const e={formatYear:"YYYY 年",formatMonth:"YYYY 年 MM 月",today:"今天",view:{month:"月",year:"年",week:"周",day:"日"},month:{long:{January:"一月",February:"二月",March:"三月",April:"四月",May:"五月",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"},short:{January:"一月",February:"二月",March:"三月",April:"四月",May:"五月",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"}},week:{long:{self:"周",monday:"周一",tuesday:"周二",wednesday:"周三",thursday:"周四",friday:"周五",saturday:"周六",sunday:"周日"},short:{self:"周",monday:"一",tuesday:"二",wednesday:"三",thursday:"四",friday:"五",saturday:"六",sunday:"日"}}},a={empty:{description:"無資料"},drawer:{okText:"確認",cancelText:"取消"},popconfirm:{okText:"確認",cancelText:"取消"},modal:{okText:"確認",cancelText:"取消"},pagination:{goto:"前往",page:"頁",countPerPage:"項/頁",total:"共 {0} 項"},table:{okText:"確認",resetText:"重置"},upload:{start:"開始",cancel:"取消",delete:"删除",retry:"點擊重試",buttonText:"點擊上傳",preview:"預覽",drag:"點擊或拖拽文件到此處上傳",dragHover:"釋放文件並開始上傳",error:"上傳失敗"},calendar:e,datePicker:{view:e.view,month:e.month,week:e.week,placeholder:{date:"請選擇日期",week:"請選擇周",month:"請選擇月份",year:"請選擇年份",quarter:"請選擇季度",time:"請選擇時間"},rangePlaceholder:{date:["開始日期","結束日期"],week:["開始周","結束周"],month:["開始月份","結束月份"],year:["開始年份","結束年份"],quarter:["開始季度","結束季度"],time:["開始時間","結束時間"]},selectTime:"選擇時間",today:"今天",now:"此刻",ok:"確認"},image:{loading:"載入中"},imagePreview:{fullScreen:"全屏",rotateRight:"向右旋轉",rotateLeft:"向左旋轉",zoomIn:"放大",zoomOut:"縮小",originalSize:"原始尺寸"},typography:{copied:"已複製",copy:"複製",expand:"展開",collapse:"折疊",edit:"編輯"},form:{validateMessages:{required:"#{field} 是必填項",type:{string:"#{value} 不是合法的文本類型",number:"#{value} 不是合法的數字類型",boolean:"#{value} 不是合法的布爾類型",array:"#{value} 不是合法的數組類型",object:"#{value} 不是合法的對像類型",url:"#{value} 不是合法的 url 地址",email:"#{value} 不是合法的郵箱地址",ip:"#{value} 不是合法的 IP 地址"},number:{min:"`#{value}` 小於最小值 `#{min}`",max:"`#{value}` 大於最大值 `#{max}`",equal:"`#{value}` 不等於 `#{equal}`",range:"`#{value}` 不在 `#{min} ~ #{max}` 範圍內",positive:"`#{value}` 不是正數",negative:"`#{value}` 不是負數"},array:{length:"`#{value}` 個數不等於 #{length}",minLength:"`#{value}` 個數最少為 #{minLength}",maxLength:"`#{value}` 個數最多為 #{maxLength}",includes:"#{value} 不包含 #{includes}",deepEqual:"#{value} 不等於 #{deepEqual}",empty:"`#{value}` 不是空數組"},string:{minLength:"字符數最少為 #{minLength}",maxLength:"字符數最多為 #{maxLength}",length:"`#{value}` 字符數不等於 #{length}",match:"`#{value}` 不符合模式 #{pattern}",uppercase:"`#{value}` 不是全大寫",lowercase:"`#{value}` 不是全小寫"},object:{deepEqual:"`#{value}` 不等於 #{deepEqual}",hasKeys:"`#{value}` 不包含字段 #{keys}",empty:"`#{value}` 不是對象"},boolean:{true:"期望是 `true`",false:"期望是 `false`"}}},colorPicker:{history:"最近使用顏色",preset:"系統預設顏色",empty:"暫無"}};module.exports=a;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../node_modules/dayjs/dayjs.min.js");require("../../node_modules/dayjs/locale/en.js");const t=require("../../node_modules/dayjs/plugin/duration.js"),o=require("../../node_modules/dayjs/plugin/toObject.js"),r=require("../../node_modules/dayjs/plugin/isSameOrAfter.js"),s=require("../../node_modules/dayjs/plugin/isSameOrBefore.js");e.extend(r),e.extend(s),e.extend(o),e.extend(t);exports.formatDate=(t,o)=>e(t).format(o),exports.formatSeconds=(t,o,r="milliseconds")=>e.duration(t,r).format(o),exports.generateMonthCalendar=(t,o)=>{const r=e(`${t}-${o}-01`),s=r.day(),n=[],a=[];for(let e=0;e<42;e++){const t=e-s,d=r.add(t,"day"),l=d.month()+1===o;a.push({day:d.date(),month:d.month(),year:d.year(),fullDate:d.format("YYYY/MM/DD"),isCurrentMonth:l}),7===a.length&&(n.push([...a]),a.splice(0))}return n},exports.isValidTimeRange=(t,o,r)=>{const s=e(t,r).locale("en",{weekStart:1}),n=e(o,r).locale("en",{weekStart:1});return s.isBefore(n)};
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../node_modules/dayjs/dayjs.min.js");require("../../node_modules/dayjs/locale/en.js");const t=require("../../node_modules/dayjs/plugin/duration.js"),o=require("../../node_modules/dayjs/plugin/toObject.js"),r=require("../../node_modules/dayjs/plugin/isSameOrAfter.js"),s=require("../../node_modules/dayjs/plugin/isSameOrBefore.js");e.extend(r),e.extend(s),e.extend(o),e.extend(t);exports.formatDate=(t,o)=>e(t).format(o),exports.formatSeconds=(t,o,r="milliseconds")=>e.duration(t,r).format(o),exports.generateMonthCalendar=(t,o)=>{const r=e(`${t}-${o}-01`),s=r.day(),n=[],a=[];for(let e=0;e<42;e++){const t=e-s,d=r.add(t,"day"),l=d.month()+1===o;a.push({day:d.date(),month:d.month(),year:d.year(),fullDate:d.format("{ 0 }/MM/DD"),isCurrentMonth:l}),7===a.length&&(n.push([...a]),a.splice(0))}return n},exports.isValidTimeRange=(t,o,r)=>{const s=e(t,r).locale("en",{weekStart:1}),n=e(o,r).locale("en",{weekStart:1});return s.isBefore(n)};
@@ -0,0 +1 @@
1
+ "use strict";module.exports=(e,t,n)=>{const o=e[t];return o?"function"==typeof o?o():Promise.resolve(o):new Promise((e,o)=>{("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})};
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});/* empty css */const e=require("./Affix/index.js"),r=require("./Alert/index.js"),t=require("./Anchor/index.js"),o=require("./AutoComplete/index.js"),i=require("./Avatar/index.js"),u=require("./BackTop/index.js"),s=require("./Badge/index.js"),a=require("./Button/index.js"),n=require("./Breadcrumb/index.js"),p=require("./Card/index.js"),d=require("./Calendar/index.js"),x=require("./Carousel/index.js"),l=require("./Checkbox/index.js"),j=require("./Collapse/index.js"),q=require("./ColorPicker/index.js"),c=require("./Cascader/index.js"),v=require("./Comment/index.js"),m=require("./ConfigProvider/index.js"),g=require("./Descriptions/index.js"),f=require("./Divider/index.js"),C=require("./Drawer/index.js"),y=require("./Dropdown/index.js"),T=require("./Empty/index.js"),S=require("./Grid/index.js"),I=require("./Image/index.js"),L=require("./Input/index.js"),h=require("./InputNumber/index.js"),b=require("./InputTag/index.js"),k=require("./Layout/index.js"),G=require("./Link/index.js"),P=require("./List/index.js"),w=require("./Menu/index.js"),M=require("./Mention/index.js"),D=require("./Modal/index.js"),A=require("./Message/index.js"),B=require("./Notification/index.js"),R=require("./OverflowList/index.js"),O=require("./PageHeader/index.js"),H=require("./Pagination/index.js"),N=require("./Popconfirm/index.js"),F=require("./Popover/index.js"),z=require("./Progress/index.js"),E=require("./Radio/index.js"),V=require("./Rate/index.js"),W=require("./ResizeBox/index.js"),_=require("./Result/index.js"),J=require("./Scrollbar/index.js"),K=require("./Select/index.js"),Q=require("./Skeleton/index.js"),U=require("./Slider/index.js"),X=require("./Space/index.js"),Y=require("./Split/index.js"),Z=require("./Spin/index.js"),$=require("./Statistic/index.js"),ee=require("./Steps/index.js"),re=require("./Switch/index.js"),te=require("./Tag/index.js"),oe=require("./Timeline/index.js"),ie=require("./Textarea/index.js"),ue=require("./TimePicker/index.js"),se=require("./Tooltip/index.js"),ae=require("./Transfer/index.js"),ne=require("./Trigger/index.js"),pe=require("./Typography/index.js"),de=require("./Tabs/index.js"),xe=require("./VerificationCode/index.js"),le=require("./Watermark/index.js"),je=require("./Typography/TypographyParagraph.vue.js");;/* empty css */const qe=require("./Typography/TypographyTitle.vue.js");;/* empty css */const ce=require("./Typography/TypographyText.vue.js"),ve=require("./Timeline/TimelineItem.vue.js");;/* empty css */const me=require("./Tabs/TabPane.vue.js");;/* empty css */const ge=require("./Menu/SubMenu.vue.js");;/* empty css */const fe=require("./Steps/Step.vue.js");;/* empty css */const Ce=require("./Skeleton/SkeletonShape.vue.js");;/* empty css */const ye=require("./Skeleton/SkeletonLine.vue.js");;/* empty css */const Te=require("./Radio/RadioGroup.vue.js");;/* empty css */const Se=require("./Select/Optgroup.vue.js");;/* empty css */const Ie=require("./Select/Option.vue.js");;/* empty css */const Le=require("./Menu/MenuItemGroup.vue.js");;/* empty css */const he=require("./Menu/MenuItem.vue.js");;/* empty css */const be=require("./List/ListItemMeta.vue.js");;/* empty css */const ke=require("./List/ListItem.vue.js");;/* empty css */const Ge=require("./Layout/LayoutSider.vue.js");;/* empty css */const Pe=require("./Layout/LayoutHeader.vue.js");;/* empty css */const we=require("./Layout/LayoutFooter.vue.js");;/* empty css */const Me=require("./Layout/LayoutContent.vue.js");;/* empty css */const De=require("./Image/ImagePreviewGroup.vue.js"),Ae=require("./Image/ImagePreviewAction.vue.js");;/* empty css */const Be=require("./Image/ImagePreview.vue.js");;/* empty css */const Re=require("./Grid/GridRow.vue.js");;/* empty css */const Oe=require("./Grid/GridItem.vue.js"),He=require("./Grid/GridCol.vue.js"),Ne=require("./Dropdown/Dsubmenu.vue.js");;/* empty css */const Fe=require("./Dropdown/Dgroup.vue.js");;/* empty css */const ze=require("./Dropdown/Doption.vue.js");;/* empty css */const Ee=require("./Dropdown/DropdownButton.vue.js"),Ve=require("./Descriptions/DescriptionsItem.vue.js"),We=require("./Statistic/Countdown.vue.js"),_e=require("./Collapse/CollapseItem.vue.js");;/* empty css */const Je=require("./Checkbox/CheckboxGroup.vue.js");;/* empty css */const Ke=require("./Carousel/CarouselItem.vue.js");;/* empty css */const Qe=require("./Card/CardMeta.vue.js");;/* empty css */const Ue=require("./Card/CardGrid.vue.js");;/* empty css */const Xe=require("./Breadcrumb/BreadcrumbItem.vue.js");;/* empty css */const Ye=require("./Button/ButtonGroup.vue.js");;/* empty css */const Ze=require("./Avatar/AvatarGroup.vue.js");;/* empty css */const $e=require("./Anchor/AnchorLink.vue.js");;/* empty css */const er={Affix:e,Alert:r,Anchor:t.default,AutoComplete:o,Avatar:i.default,BackTop:u,Badge:s,Button:a.default,Breadcrumb:n.default,Card:p.default,Calendar:d,Carousel:x.default,Checkbox:l.default,Collapse:j.default,ColorPicker:q,Cascader:c,Comment:v,ConfigProvider:m,Descriptions:g.default,Divider:f,Drawer:C,Dropdown:y.default,Empty:T,Grid:S.default,Image:I.default,Input:L,InputNumber:h,InputTag:b,Layout:k.default,Link:G,List:P.default,Menu:w.default,Mention:M,Modal:D,Message:A,Notification:B,OverflowList:R,PageHeader:O,Pagination:H,Popconfirm:N,Popover:F,Progress:z,Radio:E.default,Rate:V,ResizeBox:W,Result:_,Scrollbar:J,Select:K.default,Skeleton:Q.default,Slider:U,Space:X,Split:Y,Statistic:$.default,Steps:ee.default,Spin:Z,Switch:re,Tag:te,Timeline:oe.default,Textarea:ie,TimePicker:ue,Tooltip:se,Transfer:ae,Trigger:ne,Typography:pe.default,Tabs:de.default,VerificationCode:xe,Watermark:le},rr={...er,AnchorLink:$e,AvatarGroup:Ze,ButtonGroup:Ye,BreadcrumbItem:Xe,CardGrid:Ue,CardMeta:Qe,CarouselItem:Ke,CheckboxGroup:Je,CollapseItem:_e,Countdown:We,DescriptionsItem:Ve,DropdownButton:Ee,Doption:ze,Dgroup:Fe,Dsubmenu:Ne,GridCol:He,GridItem:Oe,GridRow:Re,ImagePreview:Be,ImagePreviewAction:Ae,ImagePreviewGroup:De,LayoutContent:Me,LayoutFooter:we,LayoutHeader:Pe,LayoutSider:Ge,ListItem:ke,ListItemMeta:be,MenuItem:he,MenuItemGroup:Le,Option:Ie,Optgroup:Se,RadioGroup:Te,SkeletonLine:ye,SkeletonShape:Ce,Step:fe,SubMenu:ge,TabPane:me,TimelineItem:ve,TypographyText:ce,TypographyTitle:qe,TypographyParagraph:je,install:e=>{for(const r of Object.keys(er))e.use(er[r])}};exports.Affix=e,exports.Alert=r,exports.Anchor=t.default,exports.AutoComplete=o,exports.Avatar=i.default,exports.BackTop=u,exports.Badge=s,exports.Button=a.default,exports.Breadcrumb=n.default,exports.Card=p.default,exports.Calendar=d,exports.Carousel=x.default,exports.Checkbox=l.default,exports.Collapse=j.default,exports.ColorPicker=q,exports.Cascader=c,exports.Comment=v,exports.ConfigProvider=m,exports.Descriptions=g.default,exports.Divider=f,exports.Drawer=C,exports.Dropdown=y.default,exports.Empty=T,exports.Grid=S.default,exports.Image=I.default,exports.Input=L,exports.InputNumber=h,exports.InputTag=b,exports.Layout=k.default,exports.Link=G,exports.List=P.default,exports.Menu=w.default,exports.Mention=M,exports.Modal=D,exports.Message=A,exports.Notification=B,exports.OverflowList=R,exports.PageHeader=O,exports.Pagination=H,exports.Popconfirm=N,exports.Popover=F,exports.Progress=z,exports.Radio=E.default,exports.Rate=V,exports.ResizeBox=W,exports.Result=_,exports.Scrollbar=J,exports.Select=K.default,exports.Skeleton=Q.default,exports.Slider=U,exports.Space=X,exports.Split=Y,exports.Spin=Z,exports.Statistic=$.default,exports.Steps=ee.default,exports.Switch=re,exports.Tag=te,exports.Timeline=oe.default,exports.Textarea=ie,exports.TimePicker=ue,exports.Tooltip=se,exports.Transfer=ae,exports.Trigger=ne,exports.Typography=pe.default,exports.Tabs=de.default,exports.VerificationCode=xe,exports.Watermark=le,exports.TypographyParagraph=je,exports.TypographyTitle=qe,exports.TypographyText=ce,exports.TimelineItem=ve,exports.TabPane=me,exports.SubMenu=ge,exports.Step=fe,exports.SkeletonShape=Ce,exports.SkeletonLine=ye,exports.RadioGroup=Te,exports.Optgroup=Se,exports.Option=Ie,exports.MenuItemGroup=Le,exports.MenuItem=he,exports.ListItemMeta=be,exports.ListItem=ke,exports.LayoutSider=Ge,exports.LayoutHeader=Pe,exports.LayoutFooter=we,exports.LayoutContent=Me,exports.ImagePreviewGroup=De,exports.ImagePreviewAction=Ae,exports.ImagePreview=Be,exports.GridRow=Re,exports.GridItem=Oe,exports.GridCol=He,exports.Dsubmenu=Ne,exports.Dgroup=Fe,exports.Doption=ze,exports.DropdownButton=Ee,exports.DescriptionsItem=Ve,exports.Countdown=We,exports.CollapseItem=_e,exports.CheckboxGroup=Je,exports.CarouselItem=Ke,exports.CardMeta=Qe,exports.CardGrid=Ue,exports.BreadcrumbItem=Xe,exports.ButtonGroup=Ye,exports.AvatarGroup=Ze,exports.AnchorLink=$e,exports.components=er,exports.default=rr;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});/* empty css */const e=require("./Affix/index.js"),r=require("./Alert/index.js"),t=require("./Anchor/index.js"),o=require("./AutoComplete/index.js"),i=require("./Avatar/index.js"),u=require("./BackTop/index.js"),s=require("./Badge/index.js"),a=require("./Button/index.js"),n=require("./Breadcrumb/index.js"),p=require("./Card/index.js"),d=require("./Calendar/index.js"),x=require("./Carousel/index.js"),l=require("./Checkbox/index.js"),j=require("./Collapse/index.js"),q=require("./ColorPicker/index.js"),c=require("./Cascader/index.js"),v=require("./Comment/index.js"),m=require("./ConfigProvider/index.js"),g=require("./Descriptions/index.js"),f=require("./Divider/index.js"),C=require("./Drawer/index.js"),y=require("./Dropdown/index.js"),T=require("./Empty/index.js"),S=require("./Grid/index.js"),I=require("./Image/index.js"),L=require("./Input/index.js"),h=require("./InputNumber/index.js"),b=require("./InputTag/index.js"),k=require("./Layout/index.js"),G=require("./Link/index.js"),P=require("./List/index.js"),w=require("./Menu/index.js"),M=require("./Mention/index.js"),D=require("./Modal/index.js"),A=require("./Message/index.js"),B=require("./Notification/index.js"),R=require("./OverflowList/index.js"),O=require("./PageHeader/index.js"),H=require("./Pagination/index.js"),N=require("./Popconfirm/index.js"),F=require("./Popover/index.js"),z=require("./Progress/index.js"),E=require("./Radio/index.js"),V=require("./Rate/index.js"),W=require("./ResizeBox/index.js"),_=require("./Result/index.js"),J=require("./Scrollbar/index.js"),K=require("./Select/index.js"),Q=require("./Skeleton/index.js"),U=require("./Slider/index.js"),X=require("./Space/index.js"),Y=require("./Split/index.js"),Z=require("./Spin/index.js"),$=require("./Statistic/index.js"),ee=require("./Steps/index.js"),re=require("./Switch/index.js"),te=require("./Tag/index.js"),oe=require("./Timeline/index.js"),ie=require("./Textarea/index.js"),ue=require("./TimePicker/index.js"),se=require("./Tooltip/index.js"),ae=require("./Transfer/index.js"),ne=require("./Trigger/index.js"),pe=require("./Typography/index.js"),de=require("./Tabs/index.js"),xe=require("./VerificationCode/index.js"),le=require("./Watermark/index.js"),je=require("./_shared/locale/i18n.js"),qe=require("./Typography/TypographyParagraph.vue.js");;/* empty css */const ce=require("./Typography/TypographyTitle.vue.js");;/* empty css */const ve=require("./Typography/TypographyText.vue.js"),me=require("./Timeline/TimelineItem.vue.js");;/* empty css */const ge=require("./Tabs/TabPane.vue.js");;/* empty css */const fe=require("./Menu/SubMenu.vue.js");;/* empty css */const Ce=require("./Steps/Step.vue.js");;/* empty css */const ye=require("./Skeleton/SkeletonShape.vue.js");;/* empty css */const Te=require("./Skeleton/SkeletonLine.vue.js");;/* empty css */const Se=require("./Radio/RadioGroup.vue.js");;/* empty css */const Ie=require("./Select/Optgroup.vue.js");;/* empty css */const Le=require("./Select/Option.vue.js");;/* empty css */const he=require("./Menu/MenuItemGroup.vue.js");;/* empty css */const be=require("./Menu/MenuItem.vue.js");;/* empty css */const ke=require("./List/ListItemMeta.vue.js");;/* empty css */const Ge=require("./List/ListItem.vue.js");;/* empty css */const Pe=require("./Layout/LayoutSider.vue.js");;/* empty css */const we=require("./Layout/LayoutHeader.vue.js");;/* empty css */const Me=require("./Layout/LayoutFooter.vue.js");;/* empty css */const De=require("./Layout/LayoutContent.vue.js");;/* empty css */const Ae=require("./Image/ImagePreviewGroup.vue.js"),Be=require("./Image/ImagePreviewAction.vue.js");;/* empty css */const Re=require("./Image/ImagePreview.vue.js");;/* empty css */const Oe=require("./Grid/GridRow.vue.js");;/* empty css */const He=require("./Grid/GridItem.vue.js"),Ne=require("./Grid/GridCol.vue.js"),Fe=require("./Dropdown/Dsubmenu.vue.js");;/* empty css */const ze=require("./Dropdown/Dgroup.vue.js");;/* empty css */const Ee=require("./Dropdown/Doption.vue.js");;/* empty css */const Ve=require("./Dropdown/DropdownButton.vue.js"),We=require("./Descriptions/DescriptionsItem.vue.js"),_e=require("./Statistic/Countdown.vue.js"),Je=require("./Collapse/CollapseItem.vue.js");;/* empty css */const Ke=require("./Checkbox/CheckboxGroup.vue.js");;/* empty css */const Qe=require("./Carousel/CarouselItem.vue.js");;/* empty css */const Ue=require("./Card/CardMeta.vue.js");;/* empty css */const Xe=require("./Card/CardGrid.vue.js");;/* empty css */const Ye=require("./Breadcrumb/BreadcrumbItem.vue.js");;/* empty css */const Ze=require("./Button/ButtonGroup.vue.js");;/* empty css */const $e=require("./Avatar/AvatarGroup.vue.js");;/* empty css */const er=require("./Anchor/AnchorLink.vue.js");;/* empty css */const rr={Affix:e,Alert:r,Anchor:t.default,AutoComplete:o,Avatar:i.default,BackTop:u,Badge:s,Button:a.default,Breadcrumb:n.default,Card:p.default,Calendar:d,Carousel:x.default,Checkbox:l.default,Collapse:j.default,ColorPicker:q,Cascader:c,Comment:v,ConfigProvider:m,Descriptions:g.default,Divider:f,Drawer:C,Dropdown:y.default,Empty:T,Grid:S.default,Image:I.default,Input:L,InputNumber:h,InputTag:b,Layout:k.default,Link:G,List:P.default,Menu:w.default,Mention:M,Modal:D,Message:A,Notification:B,OverflowList:R,PageHeader:O,Pagination:H,Popconfirm:N,Popover:F,Progress:z,Radio:E.default,Rate:V,ResizeBox:W,Result:_,Scrollbar:J,Select:K.default,Skeleton:Q.default,Slider:U,Space:X,Split:Y,Statistic:$.default,Steps:ee.default,Spin:Z,Switch:re,Tag:te,Timeline:oe.default,Textarea:ie,TimePicker:ue,Tooltip:se,Transfer:ae,Trigger:ne,Typography:pe.default,Tabs:de.default,VerificationCode:xe,Watermark:le},tr={...rr,AnchorLink:er,AvatarGroup:$e,ButtonGroup:Ze,BreadcrumbItem:Ye,CardGrid:Xe,CardMeta:Ue,CarouselItem:Qe,CheckboxGroup:Ke,CollapseItem:Je,Countdown:_e,DescriptionsItem:We,DropdownButton:Ve,Doption:Ee,Dgroup:ze,Dsubmenu:Fe,GridCol:Ne,GridItem:He,GridRow:Oe,ImagePreview:Re,ImagePreviewAction:Be,ImagePreviewGroup:Ae,LayoutContent:De,LayoutFooter:Me,LayoutHeader:we,LayoutSider:Pe,ListItem:Ge,ListItemMeta:ke,MenuItem:be,MenuItemGroup:he,Option:Le,Optgroup:Ie,RadioGroup:Se,SkeletonLine:Te,SkeletonShape:ye,Step:Ce,SubMenu:fe,TabPane:ge,TimelineItem:me,TypographyText:ve,TypographyTitle:ce,TypographyParagraph:qe,install:e=>{e.use(je.default);for(const r of Object.keys(rr))e.use(rr[r])}};exports.Affix=e,exports.Alert=r,exports.Anchor=t.default,exports.AutoComplete=o,exports.Avatar=i.default,exports.BackTop=u,exports.Badge=s,exports.Button=a.default,exports.Breadcrumb=n.default,exports.Card=p.default,exports.Calendar=d,exports.Carousel=x.default,exports.Checkbox=l.default,exports.Collapse=j.default,exports.ColorPicker=q,exports.Cascader=c,exports.Comment=v,exports.ConfigProvider=m,exports.Descriptions=g.default,exports.Divider=f,exports.Drawer=C,exports.Dropdown=y.default,exports.Empty=T,exports.Grid=S.default,exports.Image=I.default,exports.Input=L,exports.InputNumber=h,exports.InputTag=b,exports.Layout=k.default,exports.Link=G,exports.List=P.default,exports.Menu=w.default,exports.Mention=M,exports.Modal=D,exports.Message=A,exports.Notification=B,exports.OverflowList=R,exports.PageHeader=O,exports.Pagination=H,exports.Popconfirm=N,exports.Popover=F,exports.Progress=z,exports.Radio=E.default,exports.Rate=V,exports.ResizeBox=W,exports.Result=_,exports.Scrollbar=J,exports.Select=K.default,exports.Skeleton=Q.default,exports.Slider=U,exports.Space=X,exports.Split=Y,exports.Spin=Z,exports.Statistic=$.default,exports.Steps=ee.default,exports.Switch=re,exports.Tag=te,exports.Timeline=oe.default,exports.Textarea=ie,exports.TimePicker=ue,exports.Tooltip=se,exports.Transfer=ae,exports.Trigger=ne,exports.Typography=pe.default,exports.Tabs=de.default,exports.VerificationCode=xe,exports.Watermark=le,exports.TypographyParagraph=qe,exports.TypographyTitle=ce,exports.TypographyText=ve,exports.TimelineItem=me,exports.TabPane=ge,exports.SubMenu=fe,exports.Step=Ce,exports.SkeletonShape=ye,exports.SkeletonLine=Te,exports.RadioGroup=Se,exports.Optgroup=Ie,exports.Option=Le,exports.MenuItemGroup=he,exports.MenuItem=be,exports.ListItemMeta=ke,exports.ListItem=Ge,exports.LayoutSider=Pe,exports.LayoutHeader=we,exports.LayoutFooter=Me,exports.LayoutContent=De,exports.ImagePreviewGroup=Ae,exports.ImagePreviewAction=Be,exports.ImagePreview=Re,exports.GridRow=Oe,exports.GridItem=He,exports.GridCol=Ne,exports.Dsubmenu=Fe,exports.Dgroup=ze,exports.Doption=Ee,exports.DropdownButton=Ve,exports.DescriptionsItem=We,exports.Countdown=_e,exports.CollapseItem=Je,exports.CheckboxGroup=Ke,exports.CarouselItem=Qe,exports.CardMeta=Ue,exports.CardGrid=Xe,exports.BreadcrumbItem=Ye,exports.ButtonGroup=Ze,exports.AvatarGroup=$e,exports.AnchorLink=er,exports.components=rr,exports.default=tr;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../shared/dist/shared.js"),t=require("../../message-compiler/dist/message-compiler.js");function n(t){return e.isObject(t)&&0===function(t,n,r){for(let s=0;s<n.length;s++){const r=n[s];if(e.hasOwn(t,r)&&null!=t[r])return t[r]}return r}(t,r)&&(e.hasOwn(t,"b")||e.hasOwn(t,"body"))}const r=["t","type"];const s=["b","body","c","cases","s","static","i","items","k","key","m","modifier","v","value",...r];let o=null;function a(e,t,n){o&&o.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const i=l("function:translate");function l(e){return t=>o&&o.emit(e,t)}const c={INVALID_ARGUMENT:t.COMPILE_ERROR_CODES_EXTEND_POINT,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23};function m(e){return t.createCompileError(e,null,"production"!==process.env.NODE_ENV?{messages:u}:void 0)}const u={[c.INVALID_ARGUMENT]:"Invalid arguments",[c.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[c.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[c.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[c.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[c.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[c.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function _(e,t){return null!=t.locale?g(t.locale):g(e.locale)}let p;function g(t){if(e.isString(t))return t;if(e.isFunction(t)){if(t.resolvedOnce&&null!=p)return p;if("Function"===t.constructor.name){const n=t();if(e.isPromise(n))throw m(c.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return p=n}throw m(c.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw m(c.NOT_SUPPORT_LOCALE_TYPE)}function f(t,n,r){return[...new Set([r,...e.isArray(n)?n:e.isObject(n)?Object.keys(n):e.isString(n)?[n]:[r]])]}function O(t,n,r){let s=!0;for(let o=0;o<n.length&&e.isBoolean(s);o++){const a=n[o];e.isString(a)&&(s=E(t,n[o],r))}return s}function E(e,t,n){let r;const s=t.split("-");do{r=d(e,s.join("-"),n),s.splice(-1,1)}while(s.length&&!0===r);return r}function d(t,n,r){let s=!1;if(!t.includes(n)&&(s=!0,n)){s="!"!==n[n.length-1];const o=n.replace(/!/g,"");t.push(o),(e.isArray(r)||e.isPlainObject(r))&&r[o]&&(s=r[o])}return s}function N(t,n){return e.isObject(t)?t[n]:null}const T={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},b={[T.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[T.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[T.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[T.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[T.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[T.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[T.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function A(t,...n){return e.format(b[t],...n)}const S="12.0.0-alpha.3",F="en-US",k=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let y=null;const D=()=>y;let L=null;let R=0;const v=t=>({[t]:e.create()});function I(e,t){return e instanceof RegExp?e.test(t):e}function C(e,t){return e instanceof RegExp?e.test(t):e}function M(t,n,r,s,o){const{missing:a,onWarn:i}=t;if("production"!==process.env.NODE_ENV){const e=t.__v_emitter;e&&e.emit("missing",{locale:r,key:n,type:o,groupId:`${o}:${n}`})}if(null!==a){const s=a(t,r,n,o);return e.isString(s)?s:n}return"production"!==process.env.NODE_ENV&&C(s,n)&&i(A(T.NOT_FOUND_KEY,{key:n,locale:r})),n}function P(e,t){return e!==t&&e.split("-")[0]===t.split("-")[0]}function h(e,t){const n=t.indexOf(e);if(-1===n)return!1;for(let r=n+1;r<t.length;r++)if(P(e,t[r]))return!0;return!1}const x="undefined"!=typeof Intl,w=x&&void 0!==Intl.DateTimeFormat,j=x&&void 0!==Intl.NumberFormat;const V=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function U(...t){const[n,r,s,o]=t,a=e.create();let i,l=e.create();if(e.isString(n)){const e=n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw m(c.INVALID_ISO_DATE_ARGUMENT);const t=e[3]?e[3].trim().startsWith("T")?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();i=new Date(t);try{i.toISOString()}catch{throw m(c.INVALID_ISO_DATE_ARGUMENT)}}else if(e.isDate(n)){if(isNaN(n.getTime()))throw m(c.INVALID_DATE_ARGUMENT);i=n}else{if(!e.isNumber(n))throw m(c.INVALID_ARGUMENT);i=n}return e.isString(r)?a.key=r:e.isPlainObject(r)&&Object.keys(r).forEach(e=>{V.includes(e)?l[e]=r[e]:a[e]=r[e]}),e.isString(s)?a.locale=s:e.isPlainObject(s)&&(l=s),e.isPlainObject(o)&&(l=o),[a.key||"",i,a,l]}const W=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function B(...t){const[n,r,s,o]=t,a=e.create();let i=e.create();if(!e.isNumber(n))throw m(c.INVALID_ARGUMENT);const l=n;return e.isString(r)?a.key=r:e.isPlainObject(r)&&Object.keys(r).forEach(e=>{W.includes(e)?i[e]=r[e]:a[e]=r[e]}),e.isString(s)?a.locale=s:e.isPlainObject(s)&&(i=s),e.isPlainObject(o)&&(i=o),[a.key||"",l,a,i]}const $=e=>e,G=e=>"",Y="text",K=t=>0===t.length?"":e.join(t),H=e.toDisplayString;function X(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function z(t={}){const n=t.locale,r=function(t){const n=e.isNumber(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(e.isNumber(t.named.count)||e.isNumber(t.named.n))?e.isNumber(t.named.count)?t.named.count:e.isNumber(t.named.n)?t.named.n:n:n}(t),s=e.isObject(t.pluralRules)&&e.isString(n)&&e.isFunction(t.pluralRules[n])?t.pluralRules[n]:X,o=e.isObject(t.pluralRules)&&e.isString(n)&&e.isFunction(t.pluralRules[n])?X:void 0,a=t.list||[],i=t.named||e.create();e.isNumber(t.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(r,i);function l(n,r){const s=e.isFunction(t.messages)?t.messages(n,!!r):!!e.isObject(t.messages)&&t.messages[n];return s||(t.parent?t.parent.message(n):G)}const c=e.isPlainObject(t.processor)&&e.isFunction(t.processor.normalize)?t.processor.normalize:K,m=e.isPlainObject(t.processor)&&e.isFunction(t.processor.interpolate)?t.processor.interpolate:H,u={list:e=>a[e],named:e=>i[e],plural:e=>e[s(r,e.length,o)],linked:(n,...r)=>{const[s,o]=r;let a="text",i="";1===r.length?e.isObject(s)?(i=s.modifier||i,a=s.type||a):e.isString(s)&&(i=s||i):2===r.length&&(e.isString(s)&&(i=s||i),e.isString(o)&&(a=o||a));const c=l(n,!0)(u),m="vnode"===a&&e.isArray(c)&&i?c[0]:c;return i?(_=i,t.modifiers?t.modifiers[_]:$)(m,a):m;var _},message:l,type:e.isPlainObject(t.processor)&&e.isString(t.processor.type)?t.processor.type:Y,interpolate:m,normalize:c,values:e.assign(e.create(),a,i)};return u}const Z=()=>"",q=t=>e.isFunction(t);function J(t,r,s,o,a,i){const{messages:l,onWarn:c,messageResolver:m,localeFallbacker:u}=t,_=u(t,o,s);let p,g=e.create(),f=null,O=s,E=null;const d="translate";for(let N=0;N<_.length;N++){if(p=E=_[N],"production"!==process.env.NODE_ENV&&s!==p&&!P(s,p)&&I(a,r)&&c(A(T.FALLBACK_TO_TRANSLATE,{key:r,target:p})),"production"!==process.env.NODE_ENV&&s!==p){const e=t.__v_emitter;e&&e.emit("fallback",{type:d,key:r,from:O,to:E,groupId:`${d}:${r}`})}g=l[p]||e.create();let o,u,b=null;if("production"!==process.env.NODE_ENV&&e.inBrowser&&(b=window.performance.now(),o="intlify-message-resolve-start",u="intlify-message-resolve-end",e.mark&&e.mark(o)),null===(f=m(g,r))&&(f=g[r]),"production"!==process.env.NODE_ENV&&e.inBrowser){const n=window.performance.now(),s=t.__v_emitter;s&&b&&f&&s.emit("message-resolve",{type:"message-resolve",key:r,message:f,time:n-b,groupId:`${d}:${r}`}),o&&u&&e.mark&&e.measure&&(e.mark(u),e.measure("intlify message resolve",o,u))}if(e.isString(f)||n(f)||q(f))break;if(!h(p,_)){const e=M(t,r,p,i,d);e!==r&&(f=e)}O=E}return[f,p,g]}function Q(t,n,r,s,o,a){const{messageCompiler:i,warnHtmlMessage:l}=t;if(q(s)){const e=s;return e.locale=e.locale||r,e.key=e.key||n,e}if(null==i){const e=()=>s;return e.locale=r,e.key=n,e}let c,m,u=null;"production"!==process.env.NODE_ENV&&e.inBrowser&&(u=window.performance.now(),c="intlify-message-compilation-start",m="intlify-message-compilation-end",e.mark&&e.mark(c));const _=i(s,function(t,n,r,s,o,a){return{locale:n,key:r,warnHtmlMessage:o,onError:n=>{if(a&&a(n),"production"===process.env.NODE_ENV)throw n;{const o=function(t){if(e.isString(t))return t;if(t.loc&&t.loc.source)return t.loc.source}(s),a=(n.message,n.location&&o&&e.generateCodeFrame(o,n.location.start.offset,n.location.end.offset),t.__v_emitter);a&&o&&a.emit("compile-error",{message:o,error:n.message,start:n.location&&n.location.start.offset,end:n.location&&n.location.end.offset,groupId:`translate:${r}`})}},onCacheKey:t=>e.generateFormatCacheKey(n,r,t)}}(t,r,o,s,l,a));if("production"!==process.env.NODE_ENV&&e.inBrowser){const r=window.performance.now(),o=t.__v_emitter;o&&u&&o.emit("message-compilation",{type:"message-compilation",message:s,time:r-u,groupId:`translate:${n}`}),c&&m&&e.mark&&e.measure&&(e.mark(m),e.measure("intlify message compilation",c,m))}return _.locale=r,_.key=n,_.source=s,_}function ee(...t){const[r,s,o]=t,a=e.create();if(!(e.isString(r)||e.isNumber(r)||q(r)||n(r)))throw m(c.INVALID_ARGUMENT);const i=e.isNumber(r)?String(r):(q(r),r);return e.isNumber(s)?a.plural=s:e.isString(s)?a.default=s:e.isPlainObject(s)&&!e.isEmptyObject(s)?a.named=s:e.isArray(s)&&(a.list=s),e.isNumber(o)?a.plural=o:e.isString(o)?a.default=o:e.isPlainObject(o)&&e.assign(a,o),[i,a]}"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(e.getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(e.getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),exports.createCompileError=t.createCompileError,exports.AST_NODE_PROPS_KEYS=s,exports.CORE_ERROR_CODES_EXTEND_POINT=24,exports.CORE_WARN_CODES_EXTEND_POINT=8,exports.CoreWarnCodes=T,exports.DATETIME_FORMAT_OPTIONS_KEYS=V,exports.DEFAULT_LOCALE=F,exports.DEFAULT_MESSAGE_DATA_TYPE=Y,exports.MISSING_RESOLVE_VALUE="",exports.NOT_RESOLVED=-1,exports.NUMBER_FORMAT_OPTIONS_KEYS=W,exports.VERSION=S,exports.clearDateTimeFormat=function(e,t,n){const r=e;for(const s in n){const e=`${t}__${s}`;r.__datetimeFormatters.has(e)&&r.__datetimeFormatters.delete(e)}},exports.clearNumberFormat=function(e,t,n){const r=e;for(const s in n){const e=`${t}__${s}`;r.__numberFormatters.has(e)&&r.__numberFormatters.delete(e)}},exports.createCoreContext=function(t={}){const n=e.isFunction(t.onWarn)?t.onWarn:e.warn,r=e.isString(t.version)?t.version:S,s=e.isString(t.locale)||e.isFunction(t.locale)?t.locale:F,o=e.isFunction(s)?F:s,i=e.isArray(t.fallbackLocale)||e.isPlainObject(t.fallbackLocale)||e.isString(t.fallbackLocale)||!1===t.fallbackLocale?t.fallbackLocale:o,l=e.isPlainObject(t.messages)?t.messages:v(o),c=e.isPlainObject(t.datetimeFormats)?t.datetimeFormats:v(o),m=e.isPlainObject(t.numberFormats)?t.numberFormats:v(o),u=e.assign(e.create(),t.modifiers,{upper:(t,n)=>"text"===n&&e.isString(t)?t.toUpperCase():"vnode"===n&&e.isObject(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,n)=>"text"===n&&e.isString(t)?t.toLowerCase():"vnode"===n&&e.isObject(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,n)=>"text"===n&&e.isString(t)?k(t):"vnode"===n&&e.isObject(t)&&"__v_isVNode"in t?k(t.children):t}),_=t.pluralRules||e.create(),p=e.isFunction(t.missing)?t.missing:null,g=!e.isBoolean(t.missingWarn)&&!e.isRegExp(t.missingWarn)||t.missingWarn,O=!e.isBoolean(t.fallbackWarn)&&!e.isRegExp(t.fallbackWarn)||t.fallbackWarn,E=!!t.fallbackFormat,d=!!t.unresolving,b=e.isFunction(t.postTranslation)?t.postTranslation:null,y=e.isPlainObject(t.processor)?t.processor:null,D=!e.isBoolean(t.warnHtmlMessage)||t.warnHtmlMessage,L=!!t.escapeParameter,I=e.isFunction(t.messageCompiler)?t.messageCompiler:undefined;"production"!==process.env.NODE_ENV&&e.isFunction(t.messageCompiler)&&e.warnOnce(A(T.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const C=e.isFunction(t.messageResolver)?t.messageResolver:N,M=e.isFunction(t.localeFallbacker)?t.localeFallbacker:f,P=e.isObject(t.fallbackContext)?t.fallbackContext:void 0,h=t,x=e.isObject(h.__datetimeFormatters)?h.__datetimeFormatters:new Map,w=e.isObject(h.__numberFormatters)?h.__numberFormatters:new Map,j=e.isObject(h.__meta)?h.__meta:{};R++;const V={version:r,cid:R,locale:s,fallbackLocale:i,messages:l,modifiers:u,pluralRules:_,missing:p,missingWarn:g,fallbackWarn:O,fallbackFormat:E,unresolving:d,postTranslation:b,processor:y,warnHtmlMessage:D,escapeParameter:L,messageCompiler:I,messageResolver:C,localeFallbacker:M,fallbackContext:P,onWarn:n,__meta:j};return V.datetimeFormats=c,V.numberFormats=m,V.__datetimeFormatters=x,V.__numberFormatters=w,"production"!==process.env.NODE_ENV&&(V.__v_emitter=null!=h.__v_emitter?h.__v_emitter:void 0),("production"!==process.env.NODE_ENV||__INTLIFY_PROD_DEVTOOLS__)&&a(V,r,j),V},exports.createCoreError=m,exports.createMessageContext=z,exports.datetime=function(t,...n){const{datetimeFormats:r,unresolving:s,fallbackLocale:o,onWarn:a,localeFallbacker:i}=t,{__datetimeFormatters:l}=t;if("production"!==process.env.NODE_ENV&&!w)return a(A(T.CANNOT_FORMAT_DATE)),"";const[c,m,u,p]=U(...n),g=e.isBoolean(u.missingWarn)?u.missingWarn:t.missingWarn,f=e.isBoolean(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn,O=!!u.part,E=_(t,u),d=i(t,o,E);if(!e.isString(c)||""===c)return new Intl.DateTimeFormat(E,p).format(m);let N,b={},S=null,F=E,k=null;const y="datetime format";for(let _=0;_<d.length;_++){if(N=k=d[_],"production"!==process.env.NODE_ENV&&E!==N&&I(f,c)&&a(A(T.FALLBACK_TO_DATE_FORMAT,{key:c,target:N})),"production"!==process.env.NODE_ENV&&E!==N){const e=t.__v_emitter;e&&e.emit("fallback",{type:y,key:c,from:F,to:k,groupId:`${y}:${c}`})}if(b=r[N]||{},S=b[c],e.isPlainObject(S))break;M(t,c,N,g,y),F=k}if(!e.isPlainObject(S)||!e.isString(N))return s?-1:c;let D=`${N}__${c}`;e.isEmptyObject(p)||(D=`${D}__${JSON.stringify(p)}`);let L=l.get(D);return L||(L=new Intl.DateTimeFormat(N,e.assign({},S,p)),l.set(D,L)),O?L.formatToParts(m):L.format(m)},exports.fallbackWithLocaleChain=function(t,n,r){const s=e.isString(r)?r:F,o=t;o.__localeChainCache||(o.__localeChainCache=new Map);let a=o.__localeChainCache.get(s);if(!a){a=[];let t=[r];for(;e.isArray(t);)t=O(a,t,n);const i=e.isArray(n)||!e.isPlainObject(n)?n:n.default?n.default:null;t=e.isString(i)?[i]:i,e.isArray(t)&&O(a,t,!1),o.__localeChainCache.set(s,a)}return a},exports.fallbackWithSimple=f,exports.getAdditionalMeta=D,exports.getFallbackContext=()=>L,exports.getLocale=_,exports.getWarnMessage=A,exports.handleMissing=M,exports.initI18nDevTools=a,exports.isAlmostSameLocale=P,exports.isImplicitFallback=h,exports.isMessageAST=n,exports.isMessageFunction=q,exports.isTranslateFallbackWarn=I,exports.isTranslateMissingWarn=C,exports.number=function(t,...n){const{numberFormats:r,unresolving:s,fallbackLocale:o,onWarn:a,localeFallbacker:i}=t,{__numberFormatters:l}=t;if("production"!==process.env.NODE_ENV&&!j)return a(A(T.CANNOT_FORMAT_NUMBER)),"";const[c,m,u,p]=B(...n),g=e.isBoolean(u.missingWarn)?u.missingWarn:t.missingWarn,f=e.isBoolean(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn,O=!!u.part,E=_(t,u),d=i(t,o,E);if(!e.isString(c)||""===c)return new Intl.NumberFormat(E,p).format(m);let N,b={},S=null,F=E,k=null;const y="number format";for(let _=0;_<d.length;_++){if(N=k=d[_],"production"!==process.env.NODE_ENV&&E!==N&&I(f,c)&&a(A(T.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:N})),"production"!==process.env.NODE_ENV&&E!==N){const e=t.__v_emitter;e&&e.emit("fallback",{type:y,key:c,from:F,to:k,groupId:`${y}:${c}`})}if(b=r[N]||{},S=b[c],e.isPlainObject(S))break;M(t,c,N,g,y),F=k}if(!e.isPlainObject(S)||!e.isString(N))return s?-1:c;let D=`${N}__${c}`;e.isEmptyObject(p)||(D=`${D}__${JSON.stringify(p)}`);let L=l.get(D);return L||(L=new Intl.NumberFormat(N,e.assign({},S,p)),l.set(D,L)),O?L.formatToParts(m):L.format(m)},exports.parseDateTimeArgs=U,exports.parseNumberArgs=B,exports.parseTranslateArgs=ee,exports.resolveLocale=g,exports.resolveWithKeyValue=N,exports.setAdditionalMeta=e=>{y=e},exports.setDevToolsHook=function(e){o=e},exports.setFallbackContext=e=>{L=e},exports.translate=function(t,...r){const{fallbackFormat:s,postTranslation:o,unresolving:a,messageCompiler:l,fallbackLocale:c,messages:m}=t,[u,p]=ee(...r),g=e.isBoolean(p.missingWarn)?p.missingWarn:t.missingWarn,f=e.isBoolean(p.fallbackWarn)?p.fallbackWarn:t.fallbackWarn,O=e.isBoolean(p.escapeParameter)?p.escapeParameter:t.escapeParameter,E=!!p.resolvedMessage,d=e.isString(p.default)||e.isBoolean(p.default)?e.isBoolean(p.default)?l?u:()=>u:p.default:s?l?u:()=>u:null,N=s||null!=d&&(e.isString(d)||e.isFunction(d)),T=_(t,p);O&&function(t){e.isArray(t.list)?t.list=t.list.map(t=>e.isString(t)?e.escapeHtml(t):t):e.isObject(t.named)&&Object.keys(t.named).forEach(n=>{e.isString(t.named[n])&&(t.named[n]=e.escapeHtml(t.named[n]))})}(p);let[b,A,S]=E?[u,T,m[T]||e.create()]:J(t,u,T,c,f,g),F=b,k=u;if(E||e.isString(F)||n(F)||q(F)||N&&(F=d,k=F),!(E||(e.isString(F)||n(F)||q(F))&&e.isString(A)))return a?-1:u;if("production"!==process.env.NODE_ENV&&e.isString(F)&&null==t.messageCompiler)return e.warn(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${u}'.`),u;let y=!1;const L=q(F)?F:Q(t,u,A,F,k,()=>{y=!0});if(y)return F;const R=function(t,r,s,o){const{modifiers:a,pluralRules:i,messageResolver:l,fallbackLocale:c,fallbackWarn:m,missingWarn:u,fallbackContext:_}=t,p=(o,a)=>{let i=l(s,o);if(null==i&&(_||a)){const[,,e]=J(_||t,o,r,c,m,u);i=l(e,o)}if(e.isString(i)||n(i)){let e=!1;const n=Q(t,o,r,i,o,()=>{e=!0});return e?Z:n}return q(i)?i:Z},g={locale:r,modifiers:a,pluralRules:i,messages:p};t.processor&&(g.processor=t.processor);o.list&&(g.list=o.list);o.named&&(g.named=o.named);e.isNumber(o.plural)&&(g.pluralIndex=o.plural);return g}(t,A,S,p),v=function(t,n,r){let s,o,a=null;"production"!==process.env.NODE_ENV&&e.inBrowser&&(a=window.performance.now(),s="intlify-message-evaluation-start",o="intlify-message-evaluation-end",e.mark&&e.mark(s));const i=n(r);if("production"!==process.env.NODE_ENV&&e.inBrowser){const r=window.performance.now(),l=t.__v_emitter;l&&a&&l.emit("message-evaluation",{type:"message-evaluation",value:i,time:r-a,groupId:`translate:${n.key}`}),s&&o&&e.mark&&e.measure&&(e.mark(o),e.measure("intlify message evaluation",s,o))}return i}(t,L,z(R)),I=o?o(v,u):v;if("production"!==process.env.NODE_ENV||__INTLIFY_PROD_DEVTOOLS__){const n={timestamp:Date.now(),key:e.isString(u)?u:q(F)?F.key:"",locale:A||(q(F)?F.locale:""),format:e.isString(F)?F:q(F)?F.source:"",message:I};n.meta=e.assign({},t.__meta,D()||{}),i(n)}return I},exports.translateDevTools=i,exports.updateFallbackLocale=function(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)};
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("../../shared/dist/shared.js"),e={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},_={[e.EXPECTED_TOKEN]:"Expected token: '{0}'",[e.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[e.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[e.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[e.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[e.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[e.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[e.EMPTY_PLACEHOLDER]:"Empty placeholder",[e.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[e.INVALID_LINKED_FORMAT]:"Invalid linked format",[e.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[e.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[e.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[e.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[e.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[e.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};
2
+ /*!
3
+ * message-compiler v12.0.0-alpha.3
4
+ * (c) 2016-present kazuya kawaguchi and contributors
5
+ * Released under the MIT License.
6
+ */exports.COMPILE_ERROR_CODES_EXTEND_POINT=17,exports.CompileErrorCodes=e,exports.createCompileError=function(e,N,D={}){const{domain:I,messages:L,args:n}=D,A="production"!==process.env.NODE_ENV?E.format((L||_)[e]||"",...n||[]):e,o=new SyntaxError(String(A));return o.code=e,o.domain=I,o},exports.errorMessages=_;