naive-ui 2.19.1 → 2.19.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/_internal/selection/src/Selection.d.ts +56 -56
- package/es/_internal/selection/styles/_common.d.ts +0 -8
- package/es/_internal/selection/styles/_common.js +0 -8
- package/es/_internal/selection/styles/dark.js +10 -2
- package/es/_internal/selection/styles/light.d.ts +16 -16
- package/es/_internal/selection/styles/light.js +10 -2
- package/es/_mixins/use-rtl.js +1 -1
- package/es/alert/src/Alert.js +15 -16
- package/es/cascader/src/Cascader.d.ts +80 -80
- package/es/cascader/src/CascaderOption.d.ts +8 -8
- package/es/cascader/src/CascaderSelectMenu.d.ts +8 -8
- package/es/cascader/src/CascaderSubmenu.d.ts +8 -8
- package/es/cascader/styles/light.d.ts +8 -8
- package/es/checkbox/src/Checkbox.d.ts +1 -0
- package/es/checkbox/src/Checkbox.js +5 -3
- package/es/checkbox/src/CheckboxGroup.js +1 -1
- package/es/data-table/src/DataTable.d.ts +88 -88
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +16 -16
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +16 -16
- package/es/data-table/src/TableParts/Body.d.ts +16 -16
- package/es/data-table/src/TableParts/Cell.d.ts +32 -32
- package/es/data-table/src/TableParts/Header.d.ts +16 -16
- package/es/data-table/styles/light.d.ts +8 -8
- package/es/drawer/src/styles/index.cssr.js +2 -0
- package/es/global-style/src/GlobalStyle.js +13 -3
- package/es/input-number/src/InputNumber.d.ts +3 -3
- package/es/jest-setup.js +3 -1
- package/es/locales/common/ukUA.d.ts +3 -0
- package/es/locales/common/ukUA.js +92 -0
- package/es/locales/date/ukUA.d.ts +3 -0
- package/es/locales/date/ukUA.js +6 -0
- package/es/locales/index.d.ts +2 -0
- package/es/locales/index.js +2 -0
- package/es/pagination/src/Pagination.d.ts +88 -99
- package/es/pagination/styles/light.d.ts +8 -8
- package/es/select/src/Select.d.ts +80 -80
- package/es/select/styles/light.d.ts +8 -8
- package/es/tree-select/src/TreeSelect.d.ts +80 -80
- package/es/tree-select/styles/light.d.ts +8 -8
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/selection/src/Selection.d.ts +56 -56
- package/lib/_internal/selection/styles/_common.d.ts +0 -8
- package/lib/_internal/selection/styles/_common.js +0 -8
- package/lib/_internal/selection/styles/dark.js +10 -2
- package/lib/_internal/selection/styles/light.d.ts +16 -16
- package/lib/_internal/selection/styles/light.js +10 -2
- package/lib/_mixins/use-rtl.js +1 -1
- package/lib/alert/src/Alert.js +15 -16
- package/lib/cascader/src/Cascader.d.ts +80 -80
- package/lib/cascader/src/CascaderOption.d.ts +8 -8
- package/lib/cascader/src/CascaderSelectMenu.d.ts +8 -8
- package/lib/cascader/src/CascaderSubmenu.d.ts +8 -8
- package/lib/cascader/styles/light.d.ts +8 -8
- package/lib/checkbox/src/Checkbox.d.ts +1 -0
- package/lib/checkbox/src/Checkbox.js +5 -3
- package/lib/checkbox/src/CheckboxGroup.js +1 -1
- package/lib/data-table/src/DataTable.d.ts +88 -88
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +16 -16
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +16 -16
- package/lib/data-table/src/TableParts/Body.d.ts +16 -16
- package/lib/data-table/src/TableParts/Cell.d.ts +32 -32
- package/lib/data-table/src/TableParts/Header.d.ts +16 -16
- package/lib/data-table/styles/light.d.ts +8 -8
- package/lib/drawer/src/styles/index.cssr.js +2 -0
- package/lib/global-style/src/GlobalStyle.js +13 -3
- package/lib/input-number/src/InputNumber.d.ts +3 -3
- package/lib/jest-setup.js +3 -1
- package/lib/locales/common/ukUA.d.ts +3 -0
- package/lib/locales/common/ukUA.js +94 -0
- package/lib/locales/date/ukUA.d.ts +3 -0
- package/lib/locales/date/ukUA.js +8 -0
- package/lib/locales/index.d.ts +2 -0
- package/lib/locales/index.js +5 -1
- package/lib/pagination/src/Pagination.d.ts +88 -99
- package/lib/pagination/styles/light.d.ts +8 -8
- package/lib/select/src/Select.d.ts +80 -80
- package/lib/select/styles/light.d.ts +8 -8
- package/lib/tree-select/src/TreeSelect.d.ts +80 -80
- package/lib/tree-select/styles/light.d.ts +8 -8
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/web-types.json +1 -1
|
@@ -474,6 +474,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
474
474
|
menuBoxShadow: string;
|
|
475
475
|
}, {
|
|
476
476
|
InternalSelection: import("../../../_mixins").Theme<"InternalSelection", {
|
|
477
|
+
fontSizeTiny: string;
|
|
478
|
+
fontSizeSmall: string;
|
|
479
|
+
fontSizeMedium: string;
|
|
480
|
+
fontSizeLarge: string;
|
|
481
|
+
heightTiny: string;
|
|
482
|
+
heightSmall: string;
|
|
483
|
+
heightMedium: string;
|
|
484
|
+
heightLarge: string;
|
|
477
485
|
borderRadius: string;
|
|
478
486
|
textColor: string;
|
|
479
487
|
textColorDisabled: string;
|
|
@@ -514,14 +522,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
514
522
|
clearColor: string;
|
|
515
523
|
clearColorHover: string;
|
|
516
524
|
clearColorPressed: string;
|
|
517
|
-
heightTiny: string;
|
|
518
|
-
heightSmall: string;
|
|
519
|
-
heightMedium: string;
|
|
520
|
-
heightLarge: string;
|
|
521
|
-
fontSizeTiny: string;
|
|
522
|
-
fontSizeSmall: string;
|
|
523
|
-
fontSizeMedium: string;
|
|
524
|
-
fontSizeLarge: string;
|
|
525
525
|
paddingSingle: string;
|
|
526
526
|
clearSize: string;
|
|
527
527
|
arrowSize: string;
|
|
@@ -733,6 +733,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
733
733
|
menuBoxShadow: string;
|
|
734
734
|
}, {
|
|
735
735
|
InternalSelection: import("../../../_mixins").Theme<"InternalSelection", {
|
|
736
|
+
fontSizeTiny: string;
|
|
737
|
+
fontSizeSmall: string;
|
|
738
|
+
fontSizeMedium: string;
|
|
739
|
+
fontSizeLarge: string;
|
|
740
|
+
heightTiny: string;
|
|
741
|
+
heightSmall: string;
|
|
742
|
+
heightMedium: string;
|
|
743
|
+
heightLarge: string;
|
|
736
744
|
borderRadius: string;
|
|
737
745
|
textColor: string;
|
|
738
746
|
textColorDisabled: string;
|
|
@@ -773,14 +781,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
773
781
|
clearColor: string;
|
|
774
782
|
clearColorHover: string;
|
|
775
783
|
clearColorPressed: string;
|
|
776
|
-
heightTiny: string;
|
|
777
|
-
heightSmall: string;
|
|
778
|
-
heightMedium: string;
|
|
779
|
-
heightLarge: string;
|
|
780
|
-
fontSizeTiny: string;
|
|
781
|
-
fontSizeSmall: string;
|
|
782
|
-
fontSizeMedium: string;
|
|
783
|
-
fontSizeLarge: string;
|
|
784
784
|
paddingSingle: string;
|
|
785
785
|
clearSize: string;
|
|
786
786
|
arrowSize: string;
|
|
@@ -467,6 +467,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
467
467
|
menuBoxShadow: string;
|
|
468
468
|
}, {
|
|
469
469
|
InternalSelection: import("../../../_mixins").Theme<"InternalSelection", {
|
|
470
|
+
fontSizeTiny: string;
|
|
471
|
+
fontSizeSmall: string;
|
|
472
|
+
fontSizeMedium: string;
|
|
473
|
+
fontSizeLarge: string;
|
|
474
|
+
heightTiny: string;
|
|
475
|
+
heightSmall: string;
|
|
476
|
+
heightMedium: string;
|
|
477
|
+
heightLarge: string;
|
|
470
478
|
borderRadius: string;
|
|
471
479
|
textColor: string;
|
|
472
480
|
textColorDisabled: string;
|
|
@@ -507,14 +515,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
507
515
|
clearColor: string;
|
|
508
516
|
clearColorHover: string;
|
|
509
517
|
clearColorPressed: string;
|
|
510
|
-
heightTiny: string;
|
|
511
|
-
heightSmall: string;
|
|
512
|
-
heightMedium: string;
|
|
513
|
-
heightLarge: string;
|
|
514
|
-
fontSizeTiny: string;
|
|
515
|
-
fontSizeSmall: string;
|
|
516
|
-
fontSizeMedium: string;
|
|
517
|
-
fontSizeLarge: string;
|
|
518
518
|
paddingSingle: string;
|
|
519
519
|
clearSize: string;
|
|
520
520
|
arrowSize: string;
|
|
@@ -726,6 +726,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
726
726
|
menuBoxShadow: string;
|
|
727
727
|
}, {
|
|
728
728
|
InternalSelection: import("../../../_mixins").Theme<"InternalSelection", {
|
|
729
|
+
fontSizeTiny: string;
|
|
730
|
+
fontSizeSmall: string;
|
|
731
|
+
fontSizeMedium: string;
|
|
732
|
+
fontSizeLarge: string;
|
|
733
|
+
heightTiny: string;
|
|
734
|
+
heightSmall: string;
|
|
735
|
+
heightMedium: string;
|
|
736
|
+
heightLarge: string;
|
|
729
737
|
borderRadius: string;
|
|
730
738
|
textColor: string;
|
|
731
739
|
textColorDisabled: string;
|
|
@@ -766,14 +774,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
766
774
|
clearColor: string;
|
|
767
775
|
clearColorHover: string;
|
|
768
776
|
clearColorPressed: string;
|
|
769
|
-
heightTiny: string;
|
|
770
|
-
heightSmall: string;
|
|
771
|
-
heightMedium: string;
|
|
772
|
-
heightLarge: string;
|
|
773
|
-
fontSizeTiny: string;
|
|
774
|
-
fontSizeSmall: string;
|
|
775
|
-
fontSizeMedium: string;
|
|
776
|
-
fontSizeLarge: string;
|
|
777
777
|
paddingSingle: string;
|
|
778
778
|
clearSize: string;
|
|
779
779
|
arrowSize: string;
|
|
@@ -1415,6 +1415,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1415
1415
|
menuBoxShadow: string;
|
|
1416
1416
|
}, {
|
|
1417
1417
|
InternalSelection: import("../../../_mixins").Theme<"InternalSelection", {
|
|
1418
|
+
fontSizeTiny: string;
|
|
1419
|
+
fontSizeSmall: string;
|
|
1420
|
+
fontSizeMedium: string;
|
|
1421
|
+
fontSizeLarge: string;
|
|
1422
|
+
heightTiny: string;
|
|
1423
|
+
heightSmall: string;
|
|
1424
|
+
heightMedium: string;
|
|
1425
|
+
heightLarge: string;
|
|
1418
1426
|
borderRadius: string;
|
|
1419
1427
|
textColor: string;
|
|
1420
1428
|
textColorDisabled: string;
|
|
@@ -1455,14 +1463,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1455
1463
|
clearColor: string;
|
|
1456
1464
|
clearColorHover: string;
|
|
1457
1465
|
clearColorPressed: string;
|
|
1458
|
-
heightTiny: string;
|
|
1459
|
-
heightSmall: string;
|
|
1460
|
-
heightMedium: string;
|
|
1461
|
-
heightLarge: string;
|
|
1462
|
-
fontSizeTiny: string;
|
|
1463
|
-
fontSizeSmall: string;
|
|
1464
|
-
fontSizeMedium: string;
|
|
1465
|
-
fontSizeLarge: string;
|
|
1466
1466
|
paddingSingle: string;
|
|
1467
1467
|
clearSize: string;
|
|
1468
1468
|
arrowSize: string;
|
|
@@ -1674,6 +1674,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1674
1674
|
menuBoxShadow: string;
|
|
1675
1675
|
}, {
|
|
1676
1676
|
InternalSelection: import("../../../_mixins").Theme<"InternalSelection", {
|
|
1677
|
+
fontSizeTiny: string;
|
|
1678
|
+
fontSizeSmall: string;
|
|
1679
|
+
fontSizeMedium: string;
|
|
1680
|
+
fontSizeLarge: string;
|
|
1681
|
+
heightTiny: string;
|
|
1682
|
+
heightSmall: string;
|
|
1683
|
+
heightMedium: string;
|
|
1684
|
+
heightLarge: string;
|
|
1677
1685
|
borderRadius: string;
|
|
1678
1686
|
textColor: string;
|
|
1679
1687
|
textColorDisabled: string;
|
|
@@ -1714,14 +1722,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1714
1722
|
clearColor: string;
|
|
1715
1723
|
clearColorHover: string;
|
|
1716
1724
|
clearColorPressed: string;
|
|
1717
|
-
heightTiny: string;
|
|
1718
|
-
heightSmall: string;
|
|
1719
|
-
heightMedium: string;
|
|
1720
|
-
heightLarge: string;
|
|
1721
|
-
fontSizeTiny: string;
|
|
1722
|
-
fontSizeSmall: string;
|
|
1723
|
-
fontSizeMedium: string;
|
|
1724
|
-
fontSizeLarge: string;
|
|
1725
1725
|
paddingSingle: string;
|
|
1726
1726
|
clearSize: string;
|
|
1727
1727
|
arrowSize: string;
|
|
@@ -468,6 +468,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
468
468
|
menuBoxShadow: string;
|
|
469
469
|
}, {
|
|
470
470
|
InternalSelection: import("../../../_mixins").Theme<"InternalSelection", {
|
|
471
|
+
fontSizeTiny: string;
|
|
472
|
+
fontSizeSmall: string;
|
|
473
|
+
fontSizeMedium: string;
|
|
474
|
+
fontSizeLarge: string;
|
|
475
|
+
heightTiny: string;
|
|
476
|
+
heightSmall: string;
|
|
477
|
+
heightMedium: string;
|
|
478
|
+
heightLarge: string;
|
|
471
479
|
borderRadius: string;
|
|
472
480
|
textColor: string;
|
|
473
481
|
textColorDisabled: string;
|
|
@@ -508,14 +516,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
508
516
|
clearColor: string;
|
|
509
517
|
clearColorHover: string;
|
|
510
518
|
clearColorPressed: string;
|
|
511
|
-
heightTiny: string;
|
|
512
|
-
heightSmall: string;
|
|
513
|
-
heightMedium: string;
|
|
514
|
-
heightLarge: string;
|
|
515
|
-
fontSizeTiny: string;
|
|
516
|
-
fontSizeSmall: string;
|
|
517
|
-
fontSizeMedium: string;
|
|
518
|
-
fontSizeLarge: string;
|
|
519
519
|
paddingSingle: string;
|
|
520
520
|
clearSize: string;
|
|
521
521
|
arrowSize: string;
|
|
@@ -727,6 +727,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
727
727
|
menuBoxShadow: string;
|
|
728
728
|
}, {
|
|
729
729
|
InternalSelection: import("../../../_mixins").Theme<"InternalSelection", {
|
|
730
|
+
fontSizeTiny: string;
|
|
731
|
+
fontSizeSmall: string;
|
|
732
|
+
fontSizeMedium: string;
|
|
733
|
+
fontSizeLarge: string;
|
|
734
|
+
heightTiny: string;
|
|
735
|
+
heightSmall: string;
|
|
736
|
+
heightMedium: string;
|
|
737
|
+
heightLarge: string;
|
|
730
738
|
borderRadius: string;
|
|
731
739
|
textColor: string;
|
|
732
740
|
textColorDisabled: string;
|
|
@@ -767,14 +775,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
767
775
|
clearColor: string;
|
|
768
776
|
clearColorHover: string;
|
|
769
777
|
clearColorPressed: string;
|
|
770
|
-
heightTiny: string;
|
|
771
|
-
heightSmall: string;
|
|
772
|
-
heightMedium: string;
|
|
773
|
-
heightLarge: string;
|
|
774
|
-
fontSizeTiny: string;
|
|
775
|
-
fontSizeSmall: string;
|
|
776
|
-
fontSizeMedium: string;
|
|
777
|
-
fontSizeLarge: string;
|
|
778
778
|
paddingSingle: string;
|
|
779
779
|
clearSize: string;
|
|
780
780
|
arrowSize: string;
|
|
@@ -397,6 +397,14 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
|
|
|
397
397
|
menuBoxShadow: string;
|
|
398
398
|
}, {
|
|
399
399
|
InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
|
|
400
|
+
fontSizeTiny: string;
|
|
401
|
+
fontSizeSmall: string;
|
|
402
|
+
fontSizeMedium: string;
|
|
403
|
+
fontSizeLarge: string;
|
|
404
|
+
heightTiny: string;
|
|
405
|
+
heightSmall: string;
|
|
406
|
+
heightMedium: string;
|
|
407
|
+
heightLarge: string;
|
|
400
408
|
borderRadius: string;
|
|
401
409
|
textColor: string;
|
|
402
410
|
textColorDisabled: string;
|
|
@@ -437,14 +445,6 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
|
|
|
437
445
|
clearColor: string;
|
|
438
446
|
clearColorHover: string;
|
|
439
447
|
clearColorPressed: string;
|
|
440
|
-
heightTiny: string;
|
|
441
|
-
heightSmall: string;
|
|
442
|
-
heightMedium: string;
|
|
443
|
-
heightLarge: string;
|
|
444
|
-
fontSizeTiny: string;
|
|
445
|
-
fontSizeSmall: string;
|
|
446
|
-
fontSizeMedium: string;
|
|
447
|
-
fontSizeLarge: string;
|
|
448
448
|
paddingSingle: string;
|
|
449
449
|
clearSize: string;
|
|
450
450
|
arrowSize: string;
|
|
@@ -58,6 +58,7 @@ export default c([cB('drawer', `
|
|
|
58
58
|
font-size: var(--title-font-size);
|
|
59
59
|
color: var(--title-text-color);
|
|
60
60
|
padding: var(--header-padding);
|
|
61
|
+
transition: border .3s var(--bezier);
|
|
61
62
|
border-bottom: 1px solid var(--divider-color);
|
|
62
63
|
border-bottom: var(--header-border-bottom);
|
|
63
64
|
display: flex;
|
|
@@ -70,6 +71,7 @@ export default c([cB('drawer', `
|
|
|
70
71
|
display: flex;
|
|
71
72
|
justify-content: flex-end;
|
|
72
73
|
border-top: var(--footer-border-top);
|
|
74
|
+
transition: border .3s var(--bezier);
|
|
73
75
|
padding: var(--footer-padding);
|
|
74
76
|
`)]), cM('right-placement', `
|
|
75
77
|
top: 0;
|
|
@@ -10,6 +10,7 @@ export default defineComponent({
|
|
|
10
10
|
const { body } = document;
|
|
11
11
|
const { style } = body;
|
|
12
12
|
let styleApplied = false;
|
|
13
|
+
let firstApply = true;
|
|
13
14
|
onBeforeMount(() => {
|
|
14
15
|
watchEffect(() => {
|
|
15
16
|
var _a, _b;
|
|
@@ -17,14 +18,23 @@ export default defineComponent({
|
|
|
17
18
|
? merge({}, ((_a = NConfigProvider.mergedThemeRef.value) === null || _a === void 0 ? void 0 : _a.common) || commonLight, (_b = NConfigProvider.mergedThemeOverridesRef.value) === null || _b === void 0 ? void 0 : _b.common)
|
|
18
19
|
: commonLight;
|
|
19
20
|
if (styleApplied || !body.hasAttribute('n-styled')) {
|
|
20
|
-
body.setAttribute('n-styled', '');
|
|
21
|
-
styleApplied = true;
|
|
22
21
|
style.backgroundColor = bodyColor;
|
|
23
22
|
style.color = textColor2;
|
|
24
23
|
style.fontSize = fontSize;
|
|
25
24
|
style.fontFamily = fontFamily;
|
|
26
25
|
style.lineHeight = lineHeight;
|
|
27
|
-
|
|
26
|
+
const transition = `color .3s ${cubicBezierEaseInOut}, background-color .3s ${cubicBezierEaseInOut}`;
|
|
27
|
+
if (firstApply) {
|
|
28
|
+
setTimeout(() => {
|
|
29
|
+
style.transition = transition;
|
|
30
|
+
}, 0);
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
style.transition = transition;
|
|
34
|
+
}
|
|
35
|
+
body.setAttribute('n-styled', '');
|
|
36
|
+
styleApplied = true;
|
|
37
|
+
firstApply = false;
|
|
28
38
|
}
|
|
29
39
|
else if (process.env.NODE_ENV !== 'production') {
|
|
30
40
|
warn('global-style', 'More than one n-global-style exist in the document.body. Only the first mounted one will work.');
|
|
@@ -7,7 +7,7 @@ declare const inputNumberProps: {
|
|
|
7
7
|
type: PropType<number | null>;
|
|
8
8
|
default: null;
|
|
9
9
|
};
|
|
10
|
-
value:
|
|
10
|
+
value: PropType<number | null>;
|
|
11
11
|
step: {
|
|
12
12
|
type: (StringConstructor | NumberConstructor)[];
|
|
13
13
|
default: number;
|
|
@@ -825,7 +825,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
825
825
|
type: PropType<number | null>;
|
|
826
826
|
default: null;
|
|
827
827
|
};
|
|
828
|
-
value:
|
|
828
|
+
value: PropType<number | null>;
|
|
829
829
|
step: {
|
|
830
830
|
type: (StringConstructor | NumberConstructor)[];
|
|
831
831
|
default: number;
|
|
@@ -2083,7 +2083,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2083
2083
|
defaultValue: number | null;
|
|
2084
2084
|
showButton: boolean;
|
|
2085
2085
|
} & {
|
|
2086
|
-
value?: number | undefined;
|
|
2086
|
+
value?: number | null | undefined;
|
|
2087
2087
|
size?: "small" | "medium" | "large" | undefined;
|
|
2088
2088
|
disabled?: boolean | undefined;
|
|
2089
2089
|
onFocus?: MaybeArray<(e: FocusEvent) => void> | undefined;
|
package/es/jest-setup.js
CHANGED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
const ukUA = {
|
|
2
|
+
name: 'uk-UA',
|
|
3
|
+
global: {
|
|
4
|
+
undo: 'Відмінити',
|
|
5
|
+
redo: 'Повторити',
|
|
6
|
+
confirm: 'Підтвердити'
|
|
7
|
+
},
|
|
8
|
+
Popconfirm: {
|
|
9
|
+
positiveText: 'Підтвердити',
|
|
10
|
+
negativeText: 'Скасувати'
|
|
11
|
+
},
|
|
12
|
+
Cascader: {
|
|
13
|
+
placeholder: 'Обрати',
|
|
14
|
+
loading: 'Завантаження',
|
|
15
|
+
loadingRequiredMessage: (label) => `Завантажте всі дочірні вузли ${label} перед перевіркою`
|
|
16
|
+
},
|
|
17
|
+
Time: {
|
|
18
|
+
dateFormat: 'yyyy-MM-dd',
|
|
19
|
+
dateTimeFormat: 'yyyy-MM-dd HH:mm:ss'
|
|
20
|
+
},
|
|
21
|
+
DatePicker: {
|
|
22
|
+
yearFormat: 'yyyy',
|
|
23
|
+
monthFormat: 'MMM',
|
|
24
|
+
dayFormat: 'eeeeee',
|
|
25
|
+
clear: 'Стерти',
|
|
26
|
+
now: 'Зараз',
|
|
27
|
+
confirm: 'Підтвердити',
|
|
28
|
+
selectTime: 'Обрати час',
|
|
29
|
+
selectDate: 'Обрати дату',
|
|
30
|
+
datePlaceholder: 'Обрати дату',
|
|
31
|
+
datetimePlaceholder: 'Обрати дату і час',
|
|
32
|
+
startDatePlaceholder: 'Дата початку',
|
|
33
|
+
endDatePlaceholder: 'Дата завершення',
|
|
34
|
+
startDatetimePlaceholder: 'Дата і час початку',
|
|
35
|
+
endDatetimePlaceholder: 'Дата і час завершення',
|
|
36
|
+
monthBeforeYear: true,
|
|
37
|
+
firstDayOfWeek: 0,
|
|
38
|
+
today: 'Сьогодні'
|
|
39
|
+
},
|
|
40
|
+
DataTable: {
|
|
41
|
+
checkTableAll: 'Обрати все в таблиці',
|
|
42
|
+
uncheckTableAll: 'Скасувати вибріу усього в таблиці',
|
|
43
|
+
confirm: 'Підтвердити',
|
|
44
|
+
clear: 'Стерти'
|
|
45
|
+
},
|
|
46
|
+
Transfer: {
|
|
47
|
+
sourceTitle: 'Джерело',
|
|
48
|
+
targetTitle: 'Ціль'
|
|
49
|
+
},
|
|
50
|
+
Empty: {
|
|
51
|
+
description: 'Немає даних'
|
|
52
|
+
},
|
|
53
|
+
Select: {
|
|
54
|
+
placeholder: 'Обрати'
|
|
55
|
+
},
|
|
56
|
+
TimePicker: {
|
|
57
|
+
placeholder: 'Обрати час',
|
|
58
|
+
positiveText: 'OK',
|
|
59
|
+
negativeText: 'Скасувати',
|
|
60
|
+
now: 'Зараз'
|
|
61
|
+
},
|
|
62
|
+
Pagination: {
|
|
63
|
+
goto: 'Перейти',
|
|
64
|
+
selectionSuffix: 'сторінка'
|
|
65
|
+
},
|
|
66
|
+
DynamicTags: {
|
|
67
|
+
add: 'Додати'
|
|
68
|
+
},
|
|
69
|
+
Log: {
|
|
70
|
+
loading: 'Завантаження'
|
|
71
|
+
},
|
|
72
|
+
Input: {
|
|
73
|
+
placeholder: 'Ввести'
|
|
74
|
+
},
|
|
75
|
+
InputNumber: {
|
|
76
|
+
placeholder: 'Ввести'
|
|
77
|
+
},
|
|
78
|
+
DynamicInput: {
|
|
79
|
+
create: 'Створити'
|
|
80
|
+
},
|
|
81
|
+
ThemeEditor: {
|
|
82
|
+
title: 'Редактор теми',
|
|
83
|
+
clearAllVars: 'Стерти все',
|
|
84
|
+
clearSearch: 'Очистити пошук',
|
|
85
|
+
filterCompName: 'Фільтрувати за іменем компонента',
|
|
86
|
+
filterVarName: 'Фільтрувати імена змінних',
|
|
87
|
+
import: 'Імпорт',
|
|
88
|
+
export: 'Експорт',
|
|
89
|
+
restore: 'Скинути'
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
export default ukUA;
|
package/es/locales/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export { default as zhCN } from './common/zhCN';
|
|
2
2
|
export { default as enUS } from './common/enUS';
|
|
3
3
|
export { default as ruRU } from './common/ruRU';
|
|
4
|
+
export { default as ukUA } from './common/ukUA';
|
|
4
5
|
export { default as dateZhCN } from './date/zhCN';
|
|
5
6
|
export { default as dateEnUS } from './date/enUS';
|
|
6
7
|
export { default as dateRuRU } from './date/ruRU';
|
|
8
|
+
export { default as dateUkUA } from './date/ukUA';
|
|
7
9
|
export type { NLocale } from './common/enUS';
|
|
8
10
|
export type { NDateLocale } from './date/enUS';
|
package/es/locales/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export { default as zhCN } from './common/zhCN';
|
|
2
2
|
export { default as enUS } from './common/enUS';
|
|
3
3
|
export { default as ruRU } from './common/ruRU';
|
|
4
|
+
export { default as ukUA } from './common/ukUA';
|
|
4
5
|
export { default as dateZhCN } from './date/zhCN';
|
|
5
6
|
export { default as dateEnUS } from './date/enUS';
|
|
6
7
|
export { default as dateRuRU } from './date/ruRU';
|
|
8
|
+
export { default as dateUkUA } from './date/ukUA';
|