yc-design-vue 1.8.5 → 1.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Alert/index.d.ts +3 -3
- package/es/Alert/index.vue.d.ts +1 -1
- package/es/AutoComplete/index.d.ts +19 -19
- package/es/AutoComplete/index.vue.d.ts +33 -33
- package/es/Avatar/Avatar.vue.d.ts +2 -2
- package/es/Avatar/index.d.ts +5 -5
- package/es/Button/Button.vue.d.ts +3 -3
- package/es/Button/ButtonGroup.vue.d.ts +1 -1
- package/es/Button/index.d.ts +12 -12
- package/es/Calendar/Calendar.vue.js +2 -3
- package/es/Card/Card.vue.d.ts +1 -1
- package/es/Card/CardMeta.vue.d.ts +1 -1
- package/es/Card/index.d.ts +6 -6
- package/es/Cascader/Cascader.vue.d.ts +17 -17
- package/es/Cascader/index.d.ts +16 -16
- package/es/Checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/es/Checkbox/index.d.ts +3 -3
- package/es/ColorPicker/ColorList.vue.js +3 -2
- package/es/ColorPicker/ColorPanel.vue.js +3 -2
- package/es/Divider/index.d.ts +3 -3
- package/es/Divider/index.vue.d.ts +1 -1
- package/es/Drawer/Drawer.vue.d.ts +4 -4
- package/es/Drawer/Drawer.vue.js +3 -2
- package/es/Drawer/DrawerService.vue.d.ts +2 -2
- package/es/Drawer/index.d.ts +11 -11
- package/es/Dropdown/DropdownButton.vue.d.ts +1 -1
- package/es/Dropdown/index.d.ts +3 -3
- package/es/Empty/index.vue.js +2 -1
- package/es/Image/Image.vue.d.ts +2 -2
- package/es/Image/Image.vue.js +2 -1
- package/es/Image/ImagePreviewToolbar.vue.js +9 -8
- package/es/Image/index.d.ts +6 -6
- package/es/Input/Input.vue.d.ts +3 -3
- package/es/Input/index.d.ts +9 -9
- package/es/InputNumber/InputNumber.vue.d.ts +18 -18
- package/es/InputNumber/index.d.ts +19 -19
- package/es/InputTag/index.d.ts +6 -6
- package/es/InputTag/index.vue.d.ts +2 -2
- package/es/Link/index.d.ts +3 -3
- package/es/Link/index.vue.d.ts +1 -1
- package/es/List/List.vue.d.ts +7 -7
- package/es/List/ListItemMeta.vue.d.ts +1 -1
- package/es/List/index.d.ts +9 -9
- package/es/Mention/index.d.ts +22 -22
- package/es/Mention/index.vue.d.ts +39 -39
- package/es/Message/Message.vue.d.ts +1 -1
- package/es/Message/index.d.ts +3 -3
- package/es/Modal/Modal.vue.d.ts +4 -4
- package/es/Modal/Modal.vue.js +3 -2
- package/es/Modal/ModalService.vue.d.ts +2 -2
- package/es/Modal/index.d.ts +11 -11
- package/es/Notification/Notification.vue.d.ts +1 -1
- package/es/Notification/index.d.ts +3 -3
- package/es/OverflowList/index.d.ts +3 -3
- package/es/OverflowList/index.vue.d.ts +1 -1
- package/es/Pagination/Pagination.vue.js +3 -2
- package/es/Pagination/hooks/useContext.d.ts +254 -3
- package/es/Pagination/hooks/useContext.js +1 -2
- package/es/Popconfirm/index.d.ts +19 -19
- package/es/Popconfirm/index.vue.d.ts +7 -7
- package/es/Popconfirm/index.vue.js +3 -2
- package/es/Progress/Progress.vue.d.ts +1 -1
- package/es/Progress/index.d.ts +3 -3
- package/es/Radio/Radio.vue.d.ts +1 -1
- package/es/Radio/RadioGroup.vue.d.ts +1 -1
- package/es/Radio/index.d.ts +6 -6
- package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/es/Scrollbar/index.d.ts +3 -3
- package/es/Select/Select.vue.d.ts +13 -13
- package/es/Select/index.d.ts +14 -14
- package/es/Slider/Slider.vue.d.ts +3 -3
- package/es/Slider/index.d.ts +9 -9
- package/es/Space/index.d.ts +3 -3
- package/es/Space/index.vue.d.ts +1 -1
- package/es/Spin/index.d.ts +3 -3
- package/es/Spin/index.vue.d.ts +1 -1
- package/es/Split/index.d.ts +6 -6
- package/es/Split/index.vue.d.ts +2 -2
- package/es/Statistic/Countdown.vue.d.ts +2 -2
- package/es/Statistic/Statistic.vue.d.ts +2 -2
- package/es/Statistic/index.d.ts +12 -12
- package/es/Steps/Step.vue.d.ts +1 -1
- package/es/Steps/Steps.vue.d.ts +1 -1
- package/es/Steps/index.d.ts +6 -6
- package/es/Switch/index.d.ts +6 -6
- package/es/Switch/index.vue.d.ts +2 -2
- package/es/Tabs/Tabs.vue.d.ts +3 -3
- package/es/Tabs/index.d.ts +8 -8
- package/es/Tag/index.d.ts +3 -3
- package/es/Tag/index.vue.d.ts +1 -1
- package/es/Textarea/index.d.ts +6 -6
- package/es/Textarea/index.vue.d.ts +2 -2
- package/es/TimePicker/TimePicker.vue.d.ts +3 -3
- package/es/TimePicker/index.d.ts +9 -9
- package/es/Typography/TypographyBase.vue.d.ts +19 -19
- package/es/Typography/TypographyBase.vue.js +5 -4
- package/es/VerificationCode/index.d.ts +6 -6
- package/es/VerificationCode/index.vue.d.ts +2 -2
- package/es/_shared/icons/IconCopy.vue.js +1 -17
- package/es/_shared/icons/IconCopy.vue2.js +17 -1
- package/es/_shared/icons/IconEdit.vue.js +1 -17
- package/es/_shared/icons/IconEdit.vue2.js +17 -1
- package/es/_shared/icons/IconFullScreen.vue.js +17 -1
- package/es/_shared/icons/IconFullScreen.vue2.js +1 -17
- package/es/_shared/icons/IconOriginSize.vue.js +23 -1
- package/es/_shared/icons/IconOriginSize.vue2.js +1 -23
- package/es/_shared/icons/IconRotateLeft.vue.js +17 -1
- package/es/_shared/icons/IconRotateLeft.vue2.js +1 -17
- package/es/_shared/icons/IconRotateRight.vue.js +17 -1
- package/es/_shared/icons/IconRotateRight.vue2.js +1 -17
- package/es/_shared/icons/IconZoomIn.vue.js +17 -1
- package/es/_shared/icons/IconZoomIn.vue2.js +1 -17
- package/es/_shared/icons/IconZoomOut.vue.js +17 -1
- package/es/_shared/icons/IconZoomOut.vue2.js +1 -17
- package/es/_shared/locale/i18n.d.ts +256 -0
- package/es/_shared/locale/i18n.js +3 -1
- package/es/index.d.ts +27 -27
- package/es/node_modules/@intlify/core-base/dist/core-base.js +5 -8
- package/es/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +1 -7
- package/lib/Alert/index.d.ts +3 -3
- package/lib/Alert/index.vue.d.ts +1 -1
- package/lib/AutoComplete/index.d.ts +19 -19
- package/lib/AutoComplete/index.vue.d.ts +33 -33
- package/lib/Avatar/Avatar.vue.d.ts +2 -2
- package/lib/Avatar/index.d.ts +5 -5
- package/lib/Button/Button.vue.d.ts +3 -3
- package/lib/Button/ButtonGroup.vue.d.ts +1 -1
- package/lib/Button/index.d.ts +12 -12
- package/lib/Calendar/Calendar.vue.js +1 -1
- package/lib/Card/Card.vue.d.ts +1 -1
- package/lib/Card/CardMeta.vue.d.ts +1 -1
- package/lib/Card/index.d.ts +6 -6
- package/lib/Cascader/Cascader.vue.d.ts +17 -17
- package/lib/Cascader/index.d.ts +16 -16
- package/lib/Checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/lib/Checkbox/index.d.ts +3 -3
- package/lib/ColorPicker/ColorList.vue.js +1 -1
- package/lib/ColorPicker/ColorPanel.vue.js +1 -1
- package/lib/Divider/index.d.ts +3 -3
- package/lib/Divider/index.vue.d.ts +1 -1
- package/lib/Drawer/Drawer.vue.d.ts +4 -4
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Drawer/DrawerService.vue.d.ts +2 -2
- package/lib/Drawer/index.d.ts +11 -11
- package/lib/Dropdown/DropdownButton.vue.d.ts +1 -1
- package/lib/Dropdown/index.d.ts +3 -3
- package/lib/Empty/index.vue.js +1 -1
- package/lib/Image/Image.vue.d.ts +2 -2
- package/lib/Image/Image.vue.js +1 -1
- package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
- package/lib/Image/index.d.ts +6 -6
- package/lib/Input/Input.vue.d.ts +3 -3
- package/lib/Input/index.d.ts +9 -9
- package/lib/InputNumber/InputNumber.vue.d.ts +18 -18
- package/lib/InputNumber/index.d.ts +19 -19
- package/lib/InputTag/index.d.ts +6 -6
- package/lib/InputTag/index.vue.d.ts +2 -2
- package/lib/Link/index.d.ts +3 -3
- package/lib/Link/index.vue.d.ts +1 -1
- package/lib/List/List.vue.d.ts +7 -7
- package/lib/List/ListItemMeta.vue.d.ts +1 -1
- package/lib/List/index.d.ts +9 -9
- package/lib/Mention/index.d.ts +22 -22
- package/lib/Mention/index.vue.d.ts +39 -39
- package/lib/Message/Message.vue.d.ts +1 -1
- package/lib/Message/index.d.ts +3 -3
- package/lib/Modal/Modal.vue.d.ts +4 -4
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Modal/ModalService.vue.d.ts +2 -2
- package/lib/Modal/index.d.ts +11 -11
- package/lib/Notification/Notification.vue.d.ts +1 -1
- package/lib/Notification/index.d.ts +3 -3
- package/lib/OverflowList/index.d.ts +3 -3
- package/lib/OverflowList/index.vue.d.ts +1 -1
- package/lib/Pagination/Pagination.vue.js +1 -1
- package/lib/Pagination/hooks/useContext.d.ts +254 -3
- package/lib/Pagination/hooks/useContext.js +1 -1
- package/lib/Popconfirm/index.d.ts +19 -19
- package/lib/Popconfirm/index.vue.d.ts +7 -7
- package/lib/Popconfirm/index.vue.js +1 -1
- package/lib/Progress/Progress.vue.d.ts +1 -1
- package/lib/Progress/index.d.ts +3 -3
- package/lib/Radio/Radio.vue.d.ts +1 -1
- package/lib/Radio/RadioGroup.vue.d.ts +1 -1
- package/lib/Radio/index.d.ts +6 -6
- package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
- package/lib/Scrollbar/index.d.ts +3 -3
- package/lib/Select/Select.vue.d.ts +13 -13
- package/lib/Select/index.d.ts +14 -14
- package/lib/Slider/Slider.vue.d.ts +3 -3
- package/lib/Slider/index.d.ts +9 -9
- package/lib/Space/index.d.ts +3 -3
- package/lib/Space/index.vue.d.ts +1 -1
- package/lib/Spin/index.d.ts +3 -3
- package/lib/Spin/index.vue.d.ts +1 -1
- package/lib/Split/index.d.ts +6 -6
- package/lib/Split/index.vue.d.ts +2 -2
- package/lib/Statistic/Countdown.vue.d.ts +2 -2
- package/lib/Statistic/Statistic.vue.d.ts +2 -2
- package/lib/Statistic/index.d.ts +12 -12
- package/lib/Steps/Step.vue.d.ts +1 -1
- package/lib/Steps/Steps.vue.d.ts +1 -1
- package/lib/Steps/index.d.ts +6 -6
- package/lib/Switch/index.d.ts +6 -6
- package/lib/Switch/index.vue.d.ts +2 -2
- package/lib/Tabs/Tabs.vue.d.ts +3 -3
- package/lib/Tabs/index.d.ts +8 -8
- package/lib/Tag/index.d.ts +3 -3
- package/lib/Tag/index.vue.d.ts +1 -1
- package/lib/Textarea/index.d.ts +6 -6
- package/lib/Textarea/index.vue.d.ts +2 -2
- package/lib/TimePicker/TimePicker.vue.d.ts +3 -3
- package/lib/TimePicker/index.d.ts +9 -9
- package/lib/Typography/TypographyBase.vue.d.ts +19 -19
- package/lib/Typography/TypographyBase.vue.js +1 -1
- package/lib/VerificationCode/index.d.ts +6 -6
- package/lib/VerificationCode/index.vue.d.ts +2 -2
- package/lib/_shared/icons/IconCopy.vue.js +1 -1
- package/lib/_shared/icons/IconCopy.vue2.js +1 -1
- package/lib/_shared/icons/IconEdit.vue.js +1 -1
- package/lib/_shared/icons/IconEdit.vue2.js +1 -1
- package/lib/_shared/icons/IconFullScreen.vue.js +1 -1
- package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue.js +1 -1
- package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue.js +1 -1
- package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue.js +1 -1
- package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue.js +1 -1
- package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue.js +1 -1
- package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
- package/lib/_shared/locale/i18n.d.ts +256 -0
- package/lib/_shared/locale/i18n.js +1 -1
- package/lib/index.d.ts +27 -27
- package/lib/node_modules/@intlify/core-base/dist/core-base.js +1 -1
- package/lib/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +1 -1
- package/package.json +2 -1
@@ -252,5 +252,261 @@ declare const i18n: import('vue-i18n').I18n<{
|
|
252
252
|
};
|
253
253
|
};
|
254
254
|
}, {}, {}, string>;
|
255
|
+
export declare const t: import('vue-i18n').ComposerTranslation<{
|
256
|
+
'zh-CN': {
|
257
|
+
empty: {
|
258
|
+
description: string;
|
259
|
+
};
|
260
|
+
drawer: {
|
261
|
+
okText: string;
|
262
|
+
cancelText: string;
|
263
|
+
};
|
264
|
+
popconfirm: {
|
265
|
+
okText: string;
|
266
|
+
cancelText: string;
|
267
|
+
};
|
268
|
+
modal: {
|
269
|
+
okText: string;
|
270
|
+
cancelText: string;
|
271
|
+
};
|
272
|
+
pagination: {
|
273
|
+
goto: string;
|
274
|
+
page: string;
|
275
|
+
countPerPage: string;
|
276
|
+
total: string;
|
277
|
+
};
|
278
|
+
calendar: {
|
279
|
+
formatYear: string;
|
280
|
+
formatMonth: string;
|
281
|
+
today: string;
|
282
|
+
view: {
|
283
|
+
month: string;
|
284
|
+
year: string;
|
285
|
+
week: string;
|
286
|
+
day: string;
|
287
|
+
};
|
288
|
+
month: {
|
289
|
+
long: {
|
290
|
+
January: string;
|
291
|
+
February: string;
|
292
|
+
March: string;
|
293
|
+
April: string;
|
294
|
+
May: string;
|
295
|
+
June: string;
|
296
|
+
July: string;
|
297
|
+
August: string;
|
298
|
+
September: string;
|
299
|
+
October: string;
|
300
|
+
November: string;
|
301
|
+
December: string;
|
302
|
+
};
|
303
|
+
short: {
|
304
|
+
January: string;
|
305
|
+
February: string;
|
306
|
+
March: string;
|
307
|
+
April: string;
|
308
|
+
May: string;
|
309
|
+
June: string;
|
310
|
+
July: string;
|
311
|
+
August: string;
|
312
|
+
September: string;
|
313
|
+
October: string;
|
314
|
+
November: string;
|
315
|
+
December: string;
|
316
|
+
};
|
317
|
+
};
|
318
|
+
week: {
|
319
|
+
long: {
|
320
|
+
self: string;
|
321
|
+
monday: string;
|
322
|
+
tuesday: string;
|
323
|
+
wednesday: string;
|
324
|
+
thursday: string;
|
325
|
+
friday: string;
|
326
|
+
saturday: string;
|
327
|
+
sunday: string;
|
328
|
+
};
|
329
|
+
short: {
|
330
|
+
self: string;
|
331
|
+
monday: string;
|
332
|
+
tuesday: string;
|
333
|
+
wednesday: string;
|
334
|
+
thursday: string;
|
335
|
+
friday: string;
|
336
|
+
saturday: string;
|
337
|
+
sunday: string;
|
338
|
+
};
|
339
|
+
};
|
340
|
+
};
|
341
|
+
image: {
|
342
|
+
loading: string;
|
343
|
+
};
|
344
|
+
imagePreview: {
|
345
|
+
fullScreen: string;
|
346
|
+
rotateRight: string;
|
347
|
+
rotateLeft: string;
|
348
|
+
zoomIn: string;
|
349
|
+
zoomOut: string;
|
350
|
+
originalSize: string;
|
351
|
+
};
|
352
|
+
typography: {
|
353
|
+
copied: string;
|
354
|
+
copy: string;
|
355
|
+
expand: string;
|
356
|
+
collapse: string;
|
357
|
+
edit: string;
|
358
|
+
};
|
359
|
+
colorPicker: {
|
360
|
+
history: string;
|
361
|
+
preset: string;
|
362
|
+
empty: string;
|
363
|
+
};
|
364
|
+
table: {
|
365
|
+
okText: string;
|
366
|
+
resetText: string;
|
367
|
+
};
|
368
|
+
upload: {
|
369
|
+
start: string;
|
370
|
+
cancel: string;
|
371
|
+
delete: string;
|
372
|
+
retry: string;
|
373
|
+
buttonText: string;
|
374
|
+
preview: string;
|
375
|
+
drag: string;
|
376
|
+
dragHover: string;
|
377
|
+
error: string;
|
378
|
+
};
|
379
|
+
datePicker: {
|
380
|
+
view: {
|
381
|
+
month: string;
|
382
|
+
year: string;
|
383
|
+
week: string;
|
384
|
+
day: string;
|
385
|
+
};
|
386
|
+
month: {
|
387
|
+
long: {
|
388
|
+
January: string;
|
389
|
+
February: string;
|
390
|
+
March: string;
|
391
|
+
April: string;
|
392
|
+
May: string;
|
393
|
+
June: string;
|
394
|
+
July: string;
|
395
|
+
August: string;
|
396
|
+
September: string;
|
397
|
+
October: string;
|
398
|
+
November: string;
|
399
|
+
December: string;
|
400
|
+
};
|
401
|
+
short: {
|
402
|
+
January: string;
|
403
|
+
February: string;
|
404
|
+
March: string;
|
405
|
+
April: string;
|
406
|
+
May: string;
|
407
|
+
June: string;
|
408
|
+
July: string;
|
409
|
+
August: string;
|
410
|
+
September: string;
|
411
|
+
October: string;
|
412
|
+
November: string;
|
413
|
+
December: string;
|
414
|
+
};
|
415
|
+
};
|
416
|
+
week: {
|
417
|
+
long: {
|
418
|
+
self: string;
|
419
|
+
monday: string;
|
420
|
+
tuesday: string;
|
421
|
+
wednesday: string;
|
422
|
+
thursday: string;
|
423
|
+
friday: string;
|
424
|
+
saturday: string;
|
425
|
+
sunday: string;
|
426
|
+
};
|
427
|
+
short: {
|
428
|
+
self: string;
|
429
|
+
monday: string;
|
430
|
+
tuesday: string;
|
431
|
+
wednesday: string;
|
432
|
+
thursday: string;
|
433
|
+
friday: string;
|
434
|
+
saturday: string;
|
435
|
+
sunday: string;
|
436
|
+
};
|
437
|
+
};
|
438
|
+
placeholder: {
|
439
|
+
date: string;
|
440
|
+
week: string;
|
441
|
+
month: string;
|
442
|
+
year: string;
|
443
|
+
quarter: string;
|
444
|
+
time: string;
|
445
|
+
};
|
446
|
+
rangePlaceholder: {
|
447
|
+
date: string[];
|
448
|
+
week: string[];
|
449
|
+
month: string[];
|
450
|
+
year: string[];
|
451
|
+
quarter: string[];
|
452
|
+
time: string[];
|
453
|
+
};
|
454
|
+
selectTime: string;
|
455
|
+
today: string;
|
456
|
+
now: string;
|
457
|
+
ok: string;
|
458
|
+
};
|
459
|
+
form: {
|
460
|
+
validateMessages: {
|
461
|
+
required: string;
|
462
|
+
type: {
|
463
|
+
string: string;
|
464
|
+
number: string;
|
465
|
+
boolean: string;
|
466
|
+
array: string;
|
467
|
+
object: string;
|
468
|
+
url: string;
|
469
|
+
email: string;
|
470
|
+
ip: string;
|
471
|
+
};
|
472
|
+
number: {
|
473
|
+
min: string;
|
474
|
+
max: string;
|
475
|
+
equal: string;
|
476
|
+
range: string;
|
477
|
+
positive: string;
|
478
|
+
negative: string;
|
479
|
+
};
|
480
|
+
array: {
|
481
|
+
length: string;
|
482
|
+
minLength: string;
|
483
|
+
maxLength: string;
|
484
|
+
includes: string;
|
485
|
+
deepEqual: string;
|
486
|
+
empty: string;
|
487
|
+
};
|
488
|
+
string: {
|
489
|
+
minLength: string;
|
490
|
+
maxLength: string;
|
491
|
+
length: string;
|
492
|
+
match: string;
|
493
|
+
uppercase: string;
|
494
|
+
lowercase: string;
|
495
|
+
};
|
496
|
+
object: {
|
497
|
+
deepEqual: string;
|
498
|
+
hasKeys: string;
|
499
|
+
empty: string;
|
500
|
+
};
|
501
|
+
boolean: {
|
502
|
+
true: string;
|
503
|
+
false: string;
|
504
|
+
};
|
505
|
+
};
|
506
|
+
};
|
507
|
+
};
|
508
|
+
}, "zh-CN", import('@intlify/core-base').RemoveIndexSignature<{
|
509
|
+
[x: string]: import('vue-i18n').LocaleMessageValue<import('vue-i18n').VueMessageType>;
|
510
|
+
}>, never, "empty.description" | "drawer.okText" | "drawer.cancelText" | "popconfirm.okText" | "popconfirm.cancelText" | "modal.okText" | "modal.cancelText" | "pagination.goto" | "pagination.page" | "pagination.countPerPage" | "pagination.total" | "calendar.formatYear" | "calendar.formatMonth" | "calendar.today" | "calendar.view.month" | "calendar.view.week" | "calendar.view.year" | "calendar.view.day" | "calendar.month.long.January" | "calendar.month.long.February" | "calendar.month.long.March" | "calendar.month.long.April" | "calendar.month.long.May" | "calendar.month.long.June" | "calendar.month.long.July" | "calendar.month.long.August" | "calendar.month.long.September" | "calendar.month.long.October" | "calendar.month.long.November" | "calendar.month.long.December" | "calendar.month.short.January" | "calendar.month.short.February" | "calendar.month.short.March" | "calendar.month.short.April" | "calendar.month.short.May" | "calendar.month.short.June" | "calendar.month.short.July" | "calendar.month.short.August" | "calendar.month.short.September" | "calendar.month.short.October" | "calendar.month.short.November" | "calendar.month.short.December" | "calendar.week.long.self" | "calendar.week.long.monday" | "calendar.week.long.tuesday" | "calendar.week.long.wednesday" | "calendar.week.long.thursday" | "calendar.week.long.friday" | "calendar.week.long.saturday" | "calendar.week.long.sunday" | "calendar.week.short.self" | "calendar.week.short.monday" | "calendar.week.short.tuesday" | "calendar.week.short.wednesday" | "calendar.week.short.thursday" | "calendar.week.short.friday" | "calendar.week.short.saturday" | "calendar.week.short.sunday" | "image.loading" | "imagePreview.fullScreen" | "imagePreview.rotateRight" | "imagePreview.rotateLeft" | "imagePreview.zoomIn" | "imagePreview.zoomOut" | "imagePreview.originalSize" | "typography.copied" | "typography.copy" | "typography.expand" | "typography.collapse" | "typography.edit" | "colorPicker.empty" | "colorPicker.history" | "colorPicker.preset" | "table.okText" | "table.resetText" | "upload.start" | "upload.cancel" | "upload.delete" | "upload.retry" | "upload.buttonText" | "upload.preview" | "upload.drag" | "upload.dragHover" | "upload.error" | "datePicker.today" | "datePicker.view.month" | "datePicker.view.week" | "datePicker.view.year" | "datePicker.view.day" | "datePicker.month.long.January" | "datePicker.month.long.February" | "datePicker.month.long.March" | "datePicker.month.long.April" | "datePicker.month.long.May" | "datePicker.month.long.June" | "datePicker.month.long.July" | "datePicker.month.long.August" | "datePicker.month.long.September" | "datePicker.month.long.October" | "datePicker.month.long.November" | "datePicker.month.long.December" | "datePicker.month.short.January" | "datePicker.month.short.February" | "datePicker.month.short.March" | "datePicker.month.short.April" | "datePicker.month.short.May" | "datePicker.month.short.June" | "datePicker.month.short.July" | "datePicker.month.short.August" | "datePicker.month.short.September" | "datePicker.month.short.October" | "datePicker.month.short.November" | "datePicker.month.short.December" | "datePicker.week.long.self" | "datePicker.week.long.monday" | "datePicker.week.long.tuesday" | "datePicker.week.long.wednesday" | "datePicker.week.long.thursday" | "datePicker.week.long.friday" | "datePicker.week.long.saturday" | "datePicker.week.long.sunday" | "datePicker.week.short.self" | "datePicker.week.short.monday" | "datePicker.week.short.tuesday" | "datePicker.week.short.wednesday" | "datePicker.week.short.thursday" | "datePicker.week.short.friday" | "datePicker.week.short.saturday" | "datePicker.week.short.sunday" | "datePicker.selectTime" | "datePicker.now" | "datePicker.ok" | "datePicker.placeholder.month" | "datePicker.placeholder.week" | "datePicker.placeholder.year" | "datePicker.placeholder.date" | "datePicker.placeholder.quarter" | "datePicker.placeholder.time" | "datePicker.rangePlaceholder.month.length" | "datePicker.rangePlaceholder.week.length" | "datePicker.rangePlaceholder.year.length" | "datePicker.rangePlaceholder.date.length" | "datePicker.rangePlaceholder.quarter.length" | "datePicker.rangePlaceholder.time.length" | "form.validateMessages.required" | "form.validateMessages.string.length" | "form.validateMessages.string.minLength" | "form.validateMessages.string.maxLength" | "form.validateMessages.string.match" | "form.validateMessages.string.uppercase" | "form.validateMessages.string.lowercase" | "form.validateMessages.number.min" | "form.validateMessages.number.max" | "form.validateMessages.number.equal" | "form.validateMessages.number.range" | "form.validateMessages.number.positive" | "form.validateMessages.number.negative" | "form.validateMessages.boolean.true" | "form.validateMessages.boolean.false" | "form.validateMessages.object.empty" | "form.validateMessages.object.deepEqual" | "form.validateMessages.object.hasKeys" | "form.validateMessages.type.string" | "form.validateMessages.type.number" | "form.validateMessages.type.boolean" | "form.validateMessages.type.object" | "form.validateMessages.type.array" | "form.validateMessages.type.url" | "form.validateMessages.type.email" | "form.validateMessages.type.ip" | "form.validateMessages.array.empty" | "form.validateMessages.array.length" | "form.validateMessages.array.includes" | "form.validateMessages.array.minLength" | "form.validateMessages.array.maxLength" | "form.validateMessages.array.deepEqual", "empty.description" | "drawer.okText" | "drawer.cancelText" | "popconfirm.okText" | "popconfirm.cancelText" | "modal.okText" | "modal.cancelText" | "pagination.goto" | "pagination.page" | "pagination.countPerPage" | "pagination.total" | "calendar.formatYear" | "calendar.formatMonth" | "calendar.today" | "calendar.view.month" | "calendar.view.week" | "calendar.view.year" | "calendar.view.day" | "calendar.month.long.January" | "calendar.month.long.February" | "calendar.month.long.March" | "calendar.month.long.April" | "calendar.month.long.May" | "calendar.month.long.June" | "calendar.month.long.July" | "calendar.month.long.August" | "calendar.month.long.September" | "calendar.month.long.October" | "calendar.month.long.November" | "calendar.month.long.December" | "calendar.month.short.January" | "calendar.month.short.February" | "calendar.month.short.March" | "calendar.month.short.April" | "calendar.month.short.May" | "calendar.month.short.June" | "calendar.month.short.July" | "calendar.month.short.August" | "calendar.month.short.September" | "calendar.month.short.October" | "calendar.month.short.November" | "calendar.month.short.December" | "calendar.week.long.self" | "calendar.week.long.monday" | "calendar.week.long.tuesday" | "calendar.week.long.wednesday" | "calendar.week.long.thursday" | "calendar.week.long.friday" | "calendar.week.long.saturday" | "calendar.week.long.sunday" | "calendar.week.short.self" | "calendar.week.short.monday" | "calendar.week.short.tuesday" | "calendar.week.short.wednesday" | "calendar.week.short.thursday" | "calendar.week.short.friday" | "calendar.week.short.saturday" | "calendar.week.short.sunday" | "image.loading" | "imagePreview.fullScreen" | "imagePreview.rotateRight" | "imagePreview.rotateLeft" | "imagePreview.zoomIn" | "imagePreview.zoomOut" | "imagePreview.originalSize" | "typography.copied" | "typography.copy" | "typography.expand" | "typography.collapse" | "typography.edit" | "colorPicker.empty" | "colorPicker.history" | "colorPicker.preset" | "table.okText" | "table.resetText" | "upload.start" | "upload.cancel" | "upload.delete" | "upload.retry" | "upload.buttonText" | "upload.preview" | "upload.drag" | "upload.dragHover" | "upload.error" | "datePicker.today" | "datePicker.view.month" | "datePicker.view.week" | "datePicker.view.year" | "datePicker.view.day" | "datePicker.month.long.January" | "datePicker.month.long.February" | "datePicker.month.long.March" | "datePicker.month.long.April" | "datePicker.month.long.May" | "datePicker.month.long.June" | "datePicker.month.long.July" | "datePicker.month.long.August" | "datePicker.month.long.September" | "datePicker.month.long.October" | "datePicker.month.long.November" | "datePicker.month.long.December" | "datePicker.month.short.January" | "datePicker.month.short.February" | "datePicker.month.short.March" | "datePicker.month.short.April" | "datePicker.month.short.May" | "datePicker.month.short.June" | "datePicker.month.short.July" | "datePicker.month.short.August" | "datePicker.month.short.September" | "datePicker.month.short.October" | "datePicker.month.short.November" | "datePicker.month.short.December" | "datePicker.week.long.self" | "datePicker.week.long.monday" | "datePicker.week.long.tuesday" | "datePicker.week.long.wednesday" | "datePicker.week.long.thursday" | "datePicker.week.long.friday" | "datePicker.week.long.saturday" | "datePicker.week.long.sunday" | "datePicker.week.short.self" | "datePicker.week.short.monday" | "datePicker.week.short.tuesday" | "datePicker.week.short.wednesday" | "datePicker.week.short.thursday" | "datePicker.week.short.friday" | "datePicker.week.short.saturday" | "datePicker.week.short.sunday" | "datePicker.selectTime" | "datePicker.now" | "datePicker.ok" | "datePicker.placeholder.month" | "datePicker.placeholder.week" | "datePicker.placeholder.year" | "datePicker.placeholder.date" | "datePicker.placeholder.quarter" | "datePicker.placeholder.time" | "datePicker.rangePlaceholder.month.length" | "datePicker.rangePlaceholder.week.length" | "datePicker.rangePlaceholder.year.length" | "datePicker.rangePlaceholder.date.length" | "datePicker.rangePlaceholder.quarter.length" | "datePicker.rangePlaceholder.time.length" | "form.validateMessages.required" | "form.validateMessages.string.length" | "form.validateMessages.string.minLength" | "form.validateMessages.string.maxLength" | "form.validateMessages.string.match" | "form.validateMessages.string.uppercase" | "form.validateMessages.string.lowercase" | "form.validateMessages.number.min" | "form.validateMessages.number.max" | "form.validateMessages.number.equal" | "form.validateMessages.number.range" | "form.validateMessages.number.positive" | "form.validateMessages.number.negative" | "form.validateMessages.boolean.true" | "form.validateMessages.boolean.false" | "form.validateMessages.object.empty" | "form.validateMessages.object.deepEqual" | "form.validateMessages.object.hasKeys" | "form.validateMessages.type.string" | "form.validateMessages.type.number" | "form.validateMessages.type.boolean" | "form.validateMessages.type.object" | "form.validateMessages.type.array" | "form.validateMessages.type.url" | "form.validateMessages.type.email" | "form.validateMessages.type.ip" | "form.validateMessages.array.empty" | "form.validateMessages.array.length" | "form.validateMessages.array.includes" | "form.validateMessages.array.minLength" | "form.validateMessages.array.maxLength" | "form.validateMessages.array.deepEqual">;
|
255
511
|
export declare function loadLanguageAsync(locale: string): Promise<string>;
|
256
512
|
export default i18n;
|
@@ -11,6 +11,7 @@ const i18n = createI18n({
|
|
11
11
|
fallbackWarn: false
|
12
12
|
});
|
13
13
|
const i18nGlobal = i18n.global;
|
14
|
+
const t = i18n.global.t;
|
14
15
|
const langModules = /* @__PURE__ */ Object.assign({ "./lang/ar-eg.json": () => import("./lang/ar-eg.json.js"), "./lang/de-de.json": () => import("./lang/de-de.json.js"), "./lang/en-us.json": () => import("./lang/en-us.json.js"), "./lang/es-es.json": () => import("./lang/es-es.json.js"), "./lang/fr-fr.json": () => import("./lang/fr-fr.json.js"), "./lang/id-id.json": () => import("./lang/id-id.json.js"), "./lang/it-it.json": () => import("./lang/it-it.json.js"), "./lang/ja-jp.json": () => import("./lang/ja-jp.json.js"), "./lang/km-kh.json": () => import("./lang/km-kh.json.js"), "./lang/ko-kr.json": () => import("./lang/ko-kr.json.js"), "./lang/ms-my.json": () => import("./lang/ms-my.json.js"), "./lang/nl-nl.json": () => import("./lang/nl-nl.json.js"), "./lang/pt-pt.json": () => import("./lang/pt-pt.json.js"), "./lang/ru-ru.json": () => import("./lang/ru-ru.json.js"), "./lang/th-th.json": () => import("./lang/th-th.json.js"), "./lang/vi-vn.json": () => import("./lang/vi-vn.json.js"), "./lang/zh-cn.json": () => import("./lang/zh-cn.json.js"), "./lang/zh-tw.json": () => import("./lang/zh-tw.json.js") });
|
15
16
|
async function loadLanguageAsync(locale) {
|
16
17
|
const loadedLanguages = Object.keys(i18nGlobal.messages.value);
|
@@ -37,5 +38,6 @@ async function loadLanguageAsync(locale) {
|
|
37
38
|
}
|
38
39
|
export {
|
39
40
|
i18n as default,
|
40
|
-
loadLanguageAsync
|
41
|
+
loadLanguageAsync,
|
42
|
+
t
|
41
43
|
};
|
package/es/index.d.ts
CHANGED
@@ -204,9 +204,9 @@ declare const _default: {
|
|
204
204
|
});
|
205
205
|
ButtonGroup: {
|
206
206
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Button').ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
207
|
+
type: import('./Button').ButtonType;
|
207
208
|
size: import('./_shared/type').Size;
|
208
209
|
disabled: boolean;
|
209
|
-
type: import('./Button').ButtonType;
|
210
210
|
shape: import('./Button').ButtonShape;
|
211
211
|
status: import('./Button').ButtonStatus;
|
212
212
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
@@ -217,9 +217,9 @@ declare const _default: {
|
|
217
217
|
M: {};
|
218
218
|
Defaults: {};
|
219
219
|
}, Readonly<import('./Button').ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, {
|
220
|
+
type: import('./Button').ButtonType;
|
220
221
|
size: import('./_shared/type').Size;
|
221
222
|
disabled: boolean;
|
222
|
-
type: import('./Button').ButtonType;
|
223
223
|
shape: import('./Button').ButtonShape;
|
224
224
|
status: import('./Button').ButtonStatus;
|
225
225
|
}>;
|
@@ -227,9 +227,9 @@ declare const _default: {
|
|
227
227
|
__isTeleport?: never;
|
228
228
|
__isSuspense?: never;
|
229
229
|
} & import('vue').ComponentOptionsBase<Readonly<import('./Button').ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
230
|
+
type: import('./Button').ButtonType;
|
230
231
|
size: import('./_shared/type').Size;
|
231
232
|
disabled: boolean;
|
232
|
-
type: import('./Button').ButtonType;
|
233
233
|
shape: import('./Button').ButtonShape;
|
234
234
|
status: import('./Button').ButtonStatus;
|
235
235
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
@@ -291,8 +291,8 @@ declare const _default: {
|
|
291
291
|
});
|
292
292
|
CardMeta: {
|
293
293
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Card').CardMetaProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
294
|
-
title: string;
|
295
294
|
description: string;
|
295
|
+
title: string;
|
296
296
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
297
297
|
P: {};
|
298
298
|
B: {};
|
@@ -301,15 +301,15 @@ declare const _default: {
|
|
301
301
|
M: {};
|
302
302
|
Defaults: {};
|
303
303
|
}, Readonly<import('./Card').CardMetaProps> & Readonly<{}>, {}, {}, {}, {}, {
|
304
|
-
title: string;
|
305
304
|
description: string;
|
305
|
+
title: string;
|
306
306
|
}>;
|
307
307
|
__isFragment?: never;
|
308
308
|
__isTeleport?: never;
|
309
309
|
__isSuspense?: never;
|
310
310
|
} & import('vue').ComponentOptionsBase<Readonly<import('./Card').CardMetaProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
311
|
-
title: string;
|
312
311
|
description: string;
|
312
|
+
title: string;
|
313
313
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
314
314
|
$slots: Readonly<import('./Card').CardMetaSlots> & import('./Card').CardMetaSlots;
|
315
315
|
});
|
@@ -336,11 +336,11 @@ declare const _default: {
|
|
336
336
|
change: (value: import('./Checkbox').CheckboxValue[]) => any;
|
337
337
|
"update:modelValue": (value: import('./Checkbox').CheckboxValue[]) => any;
|
338
338
|
}, import('vue').PublicProps, {
|
339
|
+
max: number;
|
339
340
|
disabled: boolean;
|
340
341
|
modelValue: import('./Checkbox').CheckboxValue[];
|
341
342
|
defaultValue: import('./Checkbox').CheckboxValue[];
|
342
343
|
options: (import('./Checkbox').CheckboxOption | import('./Checkbox').CheckboxValue)[];
|
343
|
-
max: number;
|
344
344
|
direction: import('./_shared/type').Direction;
|
345
345
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
346
346
|
P: {};
|
@@ -353,11 +353,11 @@ declare const _default: {
|
|
353
353
|
onChange?: ((value: import('./Checkbox').CheckboxValue[]) => any) | undefined;
|
354
354
|
"onUpdate:modelValue"?: ((value: import('./Checkbox').CheckboxValue[]) => any) | undefined;
|
355
355
|
}>, {}, {}, {}, {}, {
|
356
|
+
max: number;
|
356
357
|
disabled: boolean;
|
357
358
|
modelValue: import('./Checkbox').CheckboxValue[];
|
358
359
|
defaultValue: import('./Checkbox').CheckboxValue[];
|
359
360
|
options: (import('./Checkbox').CheckboxOption | import('./Checkbox').CheckboxValue)[];
|
360
|
-
max: number;
|
361
361
|
direction: import('./_shared/type').Direction;
|
362
362
|
}>;
|
363
363
|
__isFragment?: never;
|
@@ -370,11 +370,11 @@ declare const _default: {
|
|
370
370
|
change: (value: import('./Checkbox').CheckboxValue[]) => any;
|
371
371
|
"update:modelValue": (value: import('./Checkbox').CheckboxValue[]) => any;
|
372
372
|
}, string, {
|
373
|
+
max: number;
|
373
374
|
disabled: boolean;
|
374
375
|
modelValue: import('./Checkbox').CheckboxValue[];
|
375
376
|
defaultValue: import('./Checkbox').CheckboxValue[];
|
376
377
|
options: (import('./Checkbox').CheckboxOption | import('./Checkbox').CheckboxValue)[];
|
377
|
-
max: number;
|
378
378
|
direction: import('./_shared/type').Direction;
|
379
379
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
380
380
|
$slots: Readonly<import('./Checkbox').CheckboxGroupSlots> & import('./Checkbox').CheckboxGroupSlots;
|
@@ -418,13 +418,13 @@ declare const _default: {
|
|
418
418
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
419
419
|
finish: () => any;
|
420
420
|
}, import('vue').PublicProps, {
|
421
|
-
value: number;
|
422
421
|
start: boolean;
|
422
|
+
now: number;
|
423
|
+
value: number;
|
423
424
|
title: string;
|
424
425
|
easeing: string;
|
425
426
|
format: string;
|
426
427
|
valueStyle: import('vue').CSSProperties;
|
427
|
-
now: number;
|
428
428
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
429
429
|
P: {};
|
430
430
|
B: {};
|
@@ -435,13 +435,13 @@ declare const _default: {
|
|
435
435
|
}, Readonly<import('./Statistic').CountdownProps> & Readonly<{
|
436
436
|
onFinish?: (() => any) | undefined;
|
437
437
|
}>, {}, {}, {}, {}, {
|
438
|
-
value: number;
|
439
438
|
start: boolean;
|
439
|
+
now: number;
|
440
|
+
value: number;
|
440
441
|
title: string;
|
441
442
|
easeing: string;
|
442
443
|
format: string;
|
443
444
|
valueStyle: import('vue').CSSProperties;
|
444
|
-
now: number;
|
445
445
|
}>;
|
446
446
|
__isFragment?: never;
|
447
447
|
__isTeleport?: never;
|
@@ -451,13 +451,13 @@ declare const _default: {
|
|
451
451
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
452
452
|
finish: () => any;
|
453
453
|
}, string, {
|
454
|
-
value: number;
|
455
454
|
start: boolean;
|
455
|
+
now: number;
|
456
|
+
value: number;
|
456
457
|
title: string;
|
457
458
|
easeing: string;
|
458
459
|
format: string;
|
459
460
|
valueStyle: import('vue').CSSProperties;
|
460
|
-
now: number;
|
461
461
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
462
462
|
$slots: Readonly<import('./Statistic').CountdownSlots> & import('./Statistic').CountdownSlots;
|
463
463
|
});
|
@@ -495,6 +495,7 @@ declare const _default: {
|
|
495
495
|
"popup-visible-change": (value: boolean) => any;
|
496
496
|
select: (value: import('./Dropdown').DoptionValue) => any;
|
497
497
|
}, import('vue').PublicProps, {
|
498
|
+
type: import('./Button').ButtonType;
|
498
499
|
size: import('./_shared/type').Size;
|
499
500
|
trigger: import('./Trigger').TriggerType;
|
500
501
|
popupVisible: boolean;
|
@@ -502,7 +503,6 @@ declare const _default: {
|
|
502
503
|
disabled: boolean;
|
503
504
|
position: import('./Dropdown').DropdownPosition;
|
504
505
|
popupContainer: import('./_shared/type').PopupContainer;
|
505
|
-
type: import('./Button').ButtonType;
|
506
506
|
hideOnSelect: boolean;
|
507
507
|
buttonProps: import('./Button').ButtonProps;
|
508
508
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
@@ -517,6 +517,7 @@ declare const _default: {
|
|
517
517
|
"onPopup-visible-change"?: ((value: boolean) => any) | undefined;
|
518
518
|
onSelect?: ((value: import('./Dropdown').DoptionValue) => any) | undefined;
|
519
519
|
}>, {}, {}, {}, {}, {
|
520
|
+
type: import('./Button').ButtonType;
|
520
521
|
size: import('./_shared/type').Size;
|
521
522
|
trigger: import('./Trigger').TriggerType;
|
522
523
|
popupVisible: boolean;
|
@@ -524,7 +525,6 @@ declare const _default: {
|
|
524
525
|
disabled: boolean;
|
525
526
|
position: import('./Dropdown').DropdownPosition;
|
526
527
|
popupContainer: import('./_shared/type').PopupContainer;
|
527
|
-
type: import('./Button').ButtonType;
|
528
528
|
hideOnSelect: boolean;
|
529
529
|
buttonProps: import('./Button').ButtonProps;
|
530
530
|
}>;
|
@@ -540,6 +540,7 @@ declare const _default: {
|
|
540
540
|
"popup-visible-change": (value: boolean) => any;
|
541
541
|
select: (value: import('./Dropdown').DoptionValue) => any;
|
542
542
|
}, string, {
|
543
|
+
type: import('./Button').ButtonType;
|
543
544
|
size: import('./_shared/type').Size;
|
544
545
|
trigger: import('./Trigger').TriggerType;
|
545
546
|
popupVisible: boolean;
|
@@ -547,7 +548,6 @@ declare const _default: {
|
|
547
548
|
disabled: boolean;
|
548
549
|
position: import('./Dropdown').DropdownPosition;
|
549
550
|
popupContainer: import('./_shared/type').PopupContainer;
|
550
|
-
type: import('./Button').ButtonType;
|
551
551
|
hideOnSelect: boolean;
|
552
552
|
buttonProps: import('./Button').ButtonProps;
|
553
553
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
@@ -1391,8 +1391,8 @@ declare const _default: {
|
|
1391
1391
|
});
|
1392
1392
|
ListItemMeta: {
|
1393
1393
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./List').ListItemMetaProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
1394
|
-
title: string;
|
1395
1394
|
description: string;
|
1395
|
+
title: string;
|
1396
1396
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
1397
1397
|
P: {};
|
1398
1398
|
B: {};
|
@@ -1401,15 +1401,15 @@ declare const _default: {
|
|
1401
1401
|
M: {};
|
1402
1402
|
Defaults: {};
|
1403
1403
|
}, Readonly<import('./List').ListItemMetaProps> & Readonly<{}>, {}, {}, {}, {}, {
|
1404
|
-
title: string;
|
1405
1404
|
description: string;
|
1405
|
+
title: string;
|
1406
1406
|
}>;
|
1407
1407
|
__isFragment?: never;
|
1408
1408
|
__isTeleport?: never;
|
1409
1409
|
__isSuspense?: never;
|
1410
1410
|
} & import('vue').ComponentOptionsBase<Readonly<import('./List').ListItemMetaProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
1411
|
-
title: string;
|
1412
1411
|
description: string;
|
1412
|
+
title: string;
|
1413
1413
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
1414
1414
|
$slots: Readonly<import('./List').ListItemMetaSlots> & import('./List').ListItemMetaSlots;
|
1415
1415
|
});
|
@@ -1515,9 +1515,9 @@ declare const _default: {
|
|
1515
1515
|
change: (value: import('./Radio').RadioValue) => any;
|
1516
1516
|
"update:modelValue": (value: import('./Radio').RadioValue) => any;
|
1517
1517
|
}, import('vue').PublicProps, {
|
1518
|
+
type: import('./Radio').RadioType;
|
1518
1519
|
size: import('./_shared/type').Size;
|
1519
1520
|
disabled: boolean;
|
1520
|
-
type: import('./Radio').RadioType;
|
1521
1521
|
modelValue: import('./Radio').RadioValue;
|
1522
1522
|
defaultValue: import('./Radio').RadioValue;
|
1523
1523
|
options: import('./Radio').RadioOption[];
|
@@ -1533,9 +1533,9 @@ declare const _default: {
|
|
1533
1533
|
onChange?: ((value: import('./Radio').RadioValue) => any) | undefined;
|
1534
1534
|
"onUpdate:modelValue"?: ((value: import('./Radio').RadioValue) => any) | undefined;
|
1535
1535
|
}>, {}, {}, {}, {}, {
|
1536
|
+
type: import('./Radio').RadioType;
|
1536
1537
|
size: import('./_shared/type').Size;
|
1537
1538
|
disabled: boolean;
|
1538
|
-
type: import('./Radio').RadioType;
|
1539
1539
|
modelValue: import('./Radio').RadioValue;
|
1540
1540
|
defaultValue: import('./Radio').RadioValue;
|
1541
1541
|
options: import('./Radio').RadioOption[];
|
@@ -1551,9 +1551,9 @@ declare const _default: {
|
|
1551
1551
|
change: (value: import('./Radio').RadioValue) => any;
|
1552
1552
|
"update:modelValue": (value: import('./Radio').RadioValue) => any;
|
1553
1553
|
}, string, {
|
1554
|
+
type: import('./Radio').RadioType;
|
1554
1555
|
size: import('./_shared/type').Size;
|
1555
1556
|
disabled: boolean;
|
1556
|
-
type: import('./Radio').RadioType;
|
1557
1557
|
modelValue: import('./Radio').RadioValue;
|
1558
1558
|
defaultValue: import('./Radio').RadioValue;
|
1559
1559
|
options: import('./Radio').RadioOption[];
|
@@ -1573,9 +1573,9 @@ declare const _default: {
|
|
1573
1573
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
1574
1574
|
Step: {
|
1575
1575
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Steps').StepProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
1576
|
+
description: string;
|
1576
1577
|
disabled: boolean;
|
1577
1578
|
title: string;
|
1578
|
-
description: string;
|
1579
1579
|
status: import('./Steps').StepStatus;
|
1580
1580
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
1581
1581
|
P: {};
|
@@ -1585,18 +1585,18 @@ declare const _default: {
|
|
1585
1585
|
M: {};
|
1586
1586
|
Defaults: {};
|
1587
1587
|
}, Readonly<import('./Steps').StepProps> & Readonly<{}>, {}, {}, {}, {}, {
|
1588
|
+
description: string;
|
1588
1589
|
disabled: boolean;
|
1589
1590
|
title: string;
|
1590
|
-
description: string;
|
1591
1591
|
status: import('./Steps').StepStatus;
|
1592
1592
|
}>;
|
1593
1593
|
__isFragment?: never;
|
1594
1594
|
__isTeleport?: never;
|
1595
1595
|
__isSuspense?: never;
|
1596
1596
|
} & import('vue').ComponentOptionsBase<Readonly<import('./Steps').StepProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
1597
|
+
description: string;
|
1597
1598
|
disabled: boolean;
|
1598
1599
|
title: string;
|
1599
|
-
description: string;
|
1600
1600
|
status: import('./Steps').StepStatus;
|
1601
1601
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
1602
1602
|
$slots: Readonly<import('./Steps').StepSlots> & import('./Steps').StepSlots;
|
@@ -9,9 +9,6 @@ function initFeatureFlags() {
|
|
9
9
|
if (typeof __INTLIFY_PROD_DEVTOOLS__ !== "boolean") {
|
10
10
|
getGlobalThis().__INTLIFY_PROD_DEVTOOLS__ = false;
|
11
11
|
}
|
12
|
-
if (typeof __INTLIFY_DROP_MESSAGE_COMPILER__ !== "boolean") {
|
13
|
-
getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__ = false;
|
14
|
-
}
|
15
12
|
}
|
16
13
|
function isMessageAST(val) {
|
17
14
|
return isObject(val) && resolveType(val) === 0 && (hasOwn(val, "b") || hasOwn(val, "body"));
|
@@ -813,7 +810,7 @@ function escapeParams(options) {
|
|
813
810
|
}
|
814
811
|
}
|
815
812
|
function resolveMessageFormat(context, key, locale, fallbackLocale, fallbackWarn, missingWarn) {
|
816
|
-
const { messages, onWarn, messageResolver:
|
813
|
+
const { messages, onWarn, messageResolver: resolveValue2, localeFallbacker } = context;
|
817
814
|
const locales = localeFallbacker(context, fallbackLocale, locale);
|
818
815
|
let message = create();
|
819
816
|
let targetLocale;
|
@@ -851,7 +848,7 @@ function resolveMessageFormat(context, key, locale, fallbackLocale, fallbackWarn
|
|
851
848
|
endTag = "intlify-message-resolve-end";
|
852
849
|
mark && mark(startTag);
|
853
850
|
}
|
854
|
-
if ((format2 =
|
851
|
+
if ((format2 = resolveValue2(message, key)) === null) {
|
855
852
|
format2 = message[key];
|
856
853
|
}
|
857
854
|
if (process.env.NODE_ENV !== "production" && inBrowser) {
|
@@ -1030,9 +1027,9 @@ function getSourceForCodeFrame(source) {
|
|
1030
1027
|
}
|
1031
1028
|
}
|
1032
1029
|
function getMessageContextOptions(context, locale, message, options) {
|
1033
|
-
const { modifiers, pluralRules, messageResolver:
|
1030
|
+
const { modifiers, pluralRules, messageResolver: resolveValue2, fallbackLocale, fallbackWarn, missingWarn, fallbackContext } = context;
|
1034
1031
|
const resolveMessage = (key, useLinked) => {
|
1035
|
-
let val =
|
1032
|
+
let val = resolveValue2(message, key);
|
1036
1033
|
if (val == null && (fallbackContext || useLinked)) {
|
1037
1034
|
const [, , message2] = resolveMessageFormat(
|
1038
1035
|
fallbackContext || context,
|
@@ -1043,7 +1040,7 @@ function getMessageContextOptions(context, locale, message, options) {
|
|
1043
1040
|
fallbackWarn,
|
1044
1041
|
missingWarn
|
1045
1042
|
);
|
1046
|
-
val =
|
1043
|
+
val = resolveValue2(message2, key);
|
1047
1044
|
}
|
1048
1045
|
if (isString(val) || isMessageAST(val)) {
|
1049
1046
|
let occurred = false;
|
@@ -10,12 +10,6 @@ import { createCompileError } from "../../message-compiler/dist/message-compiler
|
|
10
10
|
*/
|
11
11
|
const VERSION = "12.0.0-alpha.3";
|
12
12
|
function initFeatureFlags() {
|
13
|
-
if (typeof __VUE_I18N_FULL_INSTALL__ !== "boolean") {
|
14
|
-
getGlobalThis().__VUE_I18N_FULL_INSTALL__ = true;
|
15
|
-
}
|
16
|
-
if (typeof __INTLIFY_DROP_MESSAGE_COMPILER__ !== "boolean") {
|
17
|
-
getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__ = false;
|
18
|
-
}
|
19
13
|
if (typeof __INTLIFY_PROD_DEVTOOLS__ !== "boolean") {
|
20
14
|
getGlobalThis().__INTLIFY_PROD_DEVTOOLS__ = false;
|
21
15
|
}
|
@@ -1162,7 +1156,7 @@ function createI18n(options = {}) {
|
|
1162
1156
|
if (__globalInjection) {
|
1163
1157
|
globalReleaseHandler = injectGlobalFields(app, i18n.global);
|
1164
1158
|
}
|
1165
|
-
|
1159
|
+
{
|
1166
1160
|
apply(app, ...options2);
|
1167
1161
|
}
|
1168
1162
|
const unmountApp = app.unmount;
|