@blofin/blofin-ui 0.6.87
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/LICENSE +21 -0
- package/README.md +97 -0
- package/dist/Badge.d.ts +1 -0
- package/dist/Badge.es.js +56 -0
- package/dist/Button.d.ts +1 -0
- package/dist/Button.es.js +377 -0
- package/dist/Dialog.d.ts +1 -0
- package/dist/Dialog.es.js +159 -0
- package/dist/Divider.d.ts +1 -0
- package/dist/Divider.es.js +25 -0
- package/dist/Drawer.d.ts +1 -0
- package/dist/Drawer.es.js +90 -0
- package/dist/Form.d.ts +1 -0
- package/dist/Form.es.js +752 -0
- package/dist/Slider.d.ts +1 -0
- package/dist/Slider.es.js +242 -0
- package/dist/blofin.css +1 -0
- package/dist/close-c67ec245.js +5 -0
- package/dist/components/Alert/Alert.d.ts +12 -0
- package/dist/components/Alert/index.d.ts +2 -0
- package/dist/components/Alert/styles.d.ts +7 -0
- package/dist/components/Badge/Badge.d.ts +21 -0
- package/dist/components/Badge/index.d.ts +2 -0
- package/dist/components/Badge/styles.d.ts +7 -0
- package/dist/components/Button/Button.d.ts +35 -0
- package/dist/components/Button/Loading/index.d.ts +8 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Button/styles.d.ts +13 -0
- package/dist/components/Button/types.d.ts +5 -0
- package/dist/components/Calendar/Calendar.d.ts +12 -0
- package/dist/components/Calendar/index.d.ts +2 -0
- package/dist/components/Calendar/styles.d.ts +39 -0
- package/dist/components/Checkbox/Checkbox.d.ts +8 -0
- package/dist/components/Checkbox/index.d.ts +2 -0
- package/dist/components/Checkbox/styles.d.ts +22 -0
- package/dist/components/CssDropdown/CssDropdown.d.ts +18 -0
- package/dist/components/CssDropdown/styles.d.ts +7 -0
- package/dist/components/DatePickerRange/DatePickerRange.d.ts +32 -0
- package/dist/components/DatePickerRange/styles.d.ts +6 -0
- package/dist/components/DateTimePicker/Calendar.d.ts +10 -0
- package/dist/components/DateTimePicker/DateTimePicker.d.ts +18 -0
- package/dist/components/DateTimePicker/ScrollableList.d.ts +12 -0
- package/dist/components/DateTimePicker/hooks/useDateTimePicker.d.ts +35 -0
- package/dist/components/DateTimePicker/styles.d.ts +48 -0
- package/dist/components/Dialog/Dialog.d.ts +30 -0
- package/dist/components/Dialog/index.d.ts +2 -0
- package/dist/components/Dialog/styles.d.ts +13 -0
- package/dist/components/Divider/Divider.d.ts +8 -0
- package/dist/components/Divider/index.d.ts +2 -0
- package/dist/components/Divider/styles.d.ts +7 -0
- package/dist/components/Drawer/Drawer.d.ts +13 -0
- package/dist/components/Drawer/index.d.ts +2 -0
- package/dist/components/Drawer/styles.d.ts +6 -0
- package/dist/components/Dropdown/Dropdown.d.ts +14 -0
- package/dist/components/Dropdown/style.d.ts +9 -0
- package/dist/components/Empty/index.d.ts +5 -0
- package/dist/components/Form/Control.d.ts +13 -0
- package/dist/components/Form/Form.d.ts +3 -0
- package/dist/components/Form/FormItem.d.ts +4 -0
- package/dist/components/Form/FormLabel.d.ts +4 -0
- package/dist/components/Form/context.d.ts +5 -0
- package/dist/components/Form/index.d.ts +8 -0
- package/dist/components/Form/interface.d.ts +48 -0
- package/dist/components/Form/store.d.ts +16 -0
- package/dist/components/Form/styles/item.d.ts +5 -0
- package/dist/components/Form/useForm.d.ts +3 -0
- package/dist/components/LabelTextField/LabelTextField.d.ts +17 -0
- package/dist/components/LabelTextField/index.d.ts +2 -0
- package/dist/components/LabelTextField/styles.d.ts +34 -0
- package/dist/components/MonthPicker/index.d.ts +17 -0
- package/dist/components/Notification/Notification.d.ts +2 -0
- package/dist/components/Notification/style.d.ts +15 -0
- package/dist/components/Pagination/PageOptions.d.ts +12 -0
- package/dist/components/Pagination/Pagination.d.ts +34 -0
- package/dist/components/Pagination/styles.d.ts +6 -0
- package/dist/components/Picker/hooks/usePickerMethod.d.ts +9 -0
- package/dist/components/Picker/index.d.ts +10 -0
- package/dist/components/Picker/styles.d.ts +4 -0
- package/dist/components/Popover/Popover.d.ts +17 -0
- package/dist/components/Popup/index.d.ts +15 -0
- package/dist/components/Popup/styles.d.ts +3 -0
- package/dist/components/RadioButton/RadioButton.d.ts +10 -0
- package/dist/components/RadioButton/index.d.ts +2 -0
- package/dist/components/RadioButton/styles.d.ts +12 -0
- package/dist/components/Select/Select.d.ts +38 -0
- package/dist/components/Select/index.d.ts +2 -0
- package/dist/components/Select/styles.d.ts +24 -0
- package/dist/components/Slider/Slider.d.ts +20 -0
- package/dist/components/Slider/index.d.ts +2 -0
- package/dist/components/Slider/styles.d.ts +31 -0
- package/dist/components/Sort/SortButton.d.ts +14 -0
- package/dist/components/Sort/SortGroup.d.ts +8 -0
- package/dist/components/Sort/reducer.d.ts +36 -0
- package/dist/components/Sortable/SortItem.d.ts +6 -0
- package/dist/components/Sortable/index.d.ts +10 -0
- package/dist/components/Switch/Switch.d.ts +9 -0
- package/dist/components/Switch/styles.d.ts +12 -0
- package/dist/components/Tab/Tab.d.ts +21 -0
- package/dist/components/Tab/styles.d.ts +20 -0
- package/dist/components/Table/Pagination/index.d.ts +8 -0
- package/dist/components/Table/Table.d.ts +5 -0
- package/dist/components/Table/Tbody/index.d.ts +14 -0
- package/dist/components/Table/Thead/index.d.ts +17 -0
- package/dist/components/Table/context.d.ts +17 -0
- package/dist/components/Table/css.d.ts +12 -0
- package/dist/components/Table/hooks/useStickyClassName.d.ts +3 -0
- package/dist/components/Table/hooks/useStickyOffset.d.ts +15 -0
- package/dist/components/Table/index.d.ts +3 -0
- package/dist/components/Table/interface.d.ts +48 -0
- package/dist/components/TextField/TextField.d.ts +15 -0
- package/dist/components/TextField/index.d.ts +2 -0
- package/dist/components/TextSelect/TextSelect.d.ts +50 -0
- package/dist/components/TextSelect/styles.d.ts +27 -0
- package/dist/components/Textarea/index.d.ts +15 -0
- package/dist/components/Textarea/style.d.ts +13 -0
- package/dist/components/Toast/Toast.d.ts +2 -0
- package/dist/components/Toast/styles.d.ts +13 -0
- package/dist/components/Tooltip/Tooltip.d.ts +22 -0
- package/dist/components/Tooltip/enum.d.ts +21 -0
- package/dist/components/Tooltip/styles.d.ts +10 -0
- package/dist/components/Tooltip/type.d.ts +1 -0
- package/dist/components/Typography/Typography.d.ts +35 -0
- package/dist/components/Typography/styles.d.ts +10 -0
- package/dist/config/tailwind.js +9 -0
- package/dist/config/theme.js +318 -0
- package/dist/hooks/useAlign.d.ts +20 -0
- package/dist/hooks/useClient.d.ts +4 -0
- package/dist/hooks/useDelayEvent.d.ts +2 -0
- package/dist/hooks/useLatest.d.ts +1 -0
- package/dist/hooks/useNotification.d.ts +10 -0
- package/dist/hooks/useOutsideClick.d.ts +2 -0
- package/dist/hooks/useToast.d.ts +9 -0
- package/dist/index-0055aace.js +338 -0
- package/dist/index-0171eaca.js +436 -0
- package/dist/index-03ecf4ec.js +400 -0
- package/dist/index-04d10294.js +298 -0
- package/dist/index-0a1520d4.js +287 -0
- package/dist/index-0f855a91.js +14 -0
- package/dist/index-114820db.js +354 -0
- package/dist/index-1388dfff.js +336 -0
- package/dist/index-15b50a21.js +298 -0
- package/dist/index-17308ac1.js +298 -0
- package/dist/index-17afe366.js +298 -0
- package/dist/index-1d78221c.js +339 -0
- package/dist/index-1dc85776.js +437 -0
- package/dist/index-20e881af.js +354 -0
- package/dist/index-20f2adc4.js +398 -0
- package/dist/index-21539629.js +478 -0
- package/dist/index-21f85e78.js +377 -0
- package/dist/index-236e0579.js +71 -0
- package/dist/index-250f50e2.js +502 -0
- package/dist/index-356291b2.js +450 -0
- package/dist/index-38216e9e.js +340 -0
- package/dist/index-3c058c26.js +606 -0
- package/dist/index-3c3ba437.js +341 -0
- package/dist/index-3cd72a27.js +61 -0
- package/dist/index-3dcefa10.js +328 -0
- package/dist/index-3f70b1d4.js +331 -0
- package/dist/index-40ad0dd1.js +287 -0
- package/dist/index-42fb4fd5.js +334 -0
- package/dist/index-45696efa.js +438 -0
- package/dist/index-4b6824f2.js +61 -0
- package/dist/index-4b7924c1.js +354 -0
- package/dist/index-4c8ef561.js +337 -0
- package/dist/index-4ced47cd.js +359 -0
- package/dist/index-4eb29fd9.js +313 -0
- package/dist/index-4f2d4e0d.js +342 -0
- package/dist/index-51847d07.js +363 -0
- package/dist/index-51c1e00d.js +9 -0
- package/dist/index-51cf15b2.js +11054 -0
- package/dist/index-5357c173.js +336 -0
- package/dist/index-572ed179.js +353 -0
- package/dist/index-580c6bf2.js +362 -0
- package/dist/index-6817d9c1.js +363 -0
- package/dist/index-682656f7.js +62 -0
- package/dist/index-6834d6cf.js +330 -0
- package/dist/index-6a5829bd.js +387 -0
- package/dist/index-739cb389.js +332 -0
- package/dist/index-7601ed24.js +332 -0
- package/dist/index-76c2d21a.js +362 -0
- package/dist/index-7871c2fa.js +397 -0
- package/dist/index-7a871a23.js +362 -0
- package/dist/index-7aae1d07.js +298 -0
- package/dist/index-80121226.js +443 -0
- package/dist/index-872a50e8.js +353 -0
- package/dist/index-88fdaa89.js +437 -0
- package/dist/index-8a4c6daa.js +302 -0
- package/dist/index-8fb7d88b.js +360 -0
- package/dist/index-9412ffa1.js +346 -0
- package/dist/index-95d62350.js +427 -0
- package/dist/index-96a8d125.js +65 -0
- package/dist/index-9d0a665d.js +298 -0
- package/dist/index-a8c0dd3b.js +500 -0
- package/dist/index-aa90be0a.js +146 -0
- package/dist/index-aac5376e.js +331 -0
- package/dist/index-ac48594f.js +364 -0
- package/dist/index-acc7a626.js +146 -0
- package/dist/index-af6965cc.js +332 -0
- package/dist/index-b523f554.js +61 -0
- package/dist/index-b5aa671f.js +463 -0
- package/dist/index-b7612310.js +333 -0
- package/dist/index-babf632c.js +332 -0
- package/dist/index-baf0849c.js +346 -0
- package/dist/index-bb65c72e.js +514 -0
- package/dist/index-bb84ad8c.js +514 -0
- package/dist/index-c1e6e7ba.js +340 -0
- package/dist/index-cb4b8e2c.js +341 -0
- package/dist/index-d9848a76.js +545 -0
- package/dist/index-dc4bbb59.js +332 -0
- package/dist/index-dfc0fb0e.js +364 -0
- package/dist/index-e27e30cc.js +345 -0
- package/dist/index-e8380fcb.js +335 -0
- package/dist/index-ea4a8872.js +311 -0
- package/dist/index-eb696d64.js +436 -0
- package/dist/index-ebd469fd.js +297 -0
- package/dist/index-ed48cf75.js +383 -0
- package/dist/index-f3092738.js +308 -0
- package/dist/index-f41bdf2a.js +238 -0
- package/dist/index-f5c25d06.js +458 -0
- package/dist/index-f7e0a67b.js +511 -0
- package/dist/index-fafae16f.js +337 -0
- package/dist/index-ffe656da.js +332 -0
- package/dist/index.d.ts +43 -0
- package/dist/index.es.js +51 -0
- package/dist/isObjectLike-1b8bbac2.js +44 -0
- package/dist/jsx-runtime-944c88e2.js +631 -0
- package/dist/provider/NoticeProvider.d.ts +41 -0
- package/dist/provider/ThemeProvider.d.ts +7 -0
- package/dist/provider/useTheme.d.ts +4 -0
- package/dist/types/component.d.ts +16 -0
- package/dist/types/svg.d.ts +4 -0
- package/dist/utils/format.d.ts +7 -0
- package/dist/utils/helper.d.ts +7 -0
- package/dist/utils/locales.d.ts +1 -0
- package/dist/utils/utils.d.ts +2 -0
- package/dist/utils-7e50508b.js +2304 -0
- package/dist/vite.svg +1 -0
- package/package.json +117 -0
|
@@ -0,0 +1,514 @@
|
|
|
1
|
+
import { a as v, t as m, b as o, c as f, d as l } from "./index-51cf15b2.js";
|
|
2
|
+
import { i as d } from "./index-51c1e00d.js";
|
|
3
|
+
import "./Badge.es.js";
|
|
4
|
+
import "./jsx-runtime-944c88e2.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import "./index-96a8d125.js";
|
|
7
|
+
import "./utils-7e50508b.js";
|
|
8
|
+
import "./Button.es.js";
|
|
9
|
+
import "./isObjectLike-1b8bbac2.js";
|
|
10
|
+
import "./Dialog.es.js";
|
|
11
|
+
import "react-dom";
|
|
12
|
+
import "./close-c67ec245.js";
|
|
13
|
+
import "./Drawer.es.js";
|
|
14
|
+
import "./Slider.es.js";
|
|
15
|
+
import "./Divider.es.js";
|
|
16
|
+
function s(a, e) {
|
|
17
|
+
if (a.one !== void 0 && e === 1)
|
|
18
|
+
return a.one;
|
|
19
|
+
var t = e % 10, i = e % 100;
|
|
20
|
+
return t === 1 && i !== 11 ? a.singularNominative.replace("{{count}}", String(e)) : t >= 2 && t <= 4 && (i < 10 || i > 20) ? a.singularGenitive.replace("{{count}}", String(e)) : a.pluralGenitive.replace("{{count}}", String(e));
|
|
21
|
+
}
|
|
22
|
+
function n(a) {
|
|
23
|
+
return function(e, t) {
|
|
24
|
+
return t && t.addSuffix ? t.comparison && t.comparison > 0 ? a.future ? s(a.future, e) : "праз " + s(a.regular, e) : a.past ? s(a.past, e) : s(a.regular, e) + " таму" : s(a.regular, e);
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
var p = function(e, t) {
|
|
28
|
+
return t && t.addSuffix ? t.comparison && t.comparison > 0 ? "праз паўхвіліны" : "паўхвіліны таму" : "паўхвіліны";
|
|
29
|
+
}, h = {
|
|
30
|
+
lessThanXSeconds: n({
|
|
31
|
+
regular: {
|
|
32
|
+
one: "менш за секунду",
|
|
33
|
+
singularNominative: "менш за {{count}} секунду",
|
|
34
|
+
singularGenitive: "менш за {{count}} секунды",
|
|
35
|
+
pluralGenitive: "менш за {{count}} секунд"
|
|
36
|
+
},
|
|
37
|
+
future: {
|
|
38
|
+
one: "менш, чым праз секунду",
|
|
39
|
+
singularNominative: "менш, чым праз {{count}} секунду",
|
|
40
|
+
singularGenitive: "менш, чым праз {{count}} секунды",
|
|
41
|
+
pluralGenitive: "менш, чым праз {{count}} секунд"
|
|
42
|
+
}
|
|
43
|
+
}),
|
|
44
|
+
xSeconds: n({
|
|
45
|
+
regular: {
|
|
46
|
+
singularNominative: "{{count}} секунда",
|
|
47
|
+
singularGenitive: "{{count}} секунды",
|
|
48
|
+
pluralGenitive: "{{count}} секунд"
|
|
49
|
+
},
|
|
50
|
+
past: {
|
|
51
|
+
singularNominative: "{{count}} секунду таму",
|
|
52
|
+
singularGenitive: "{{count}} секунды таму",
|
|
53
|
+
pluralGenitive: "{{count}} секунд таму"
|
|
54
|
+
},
|
|
55
|
+
future: {
|
|
56
|
+
singularNominative: "праз {{count}} секунду",
|
|
57
|
+
singularGenitive: "праз {{count}} секунды",
|
|
58
|
+
pluralGenitive: "праз {{count}} секунд"
|
|
59
|
+
}
|
|
60
|
+
}),
|
|
61
|
+
halfAMinute: p,
|
|
62
|
+
lessThanXMinutes: n({
|
|
63
|
+
regular: {
|
|
64
|
+
one: "менш за хвіліну",
|
|
65
|
+
singularNominative: "менш за {{count}} хвіліну",
|
|
66
|
+
singularGenitive: "менш за {{count}} хвіліны",
|
|
67
|
+
pluralGenitive: "менш за {{count}} хвілін"
|
|
68
|
+
},
|
|
69
|
+
future: {
|
|
70
|
+
one: "менш, чым праз хвіліну",
|
|
71
|
+
singularNominative: "менш, чым праз {{count}} хвіліну",
|
|
72
|
+
singularGenitive: "менш, чым праз {{count}} хвіліны",
|
|
73
|
+
pluralGenitive: "менш, чым праз {{count}} хвілін"
|
|
74
|
+
}
|
|
75
|
+
}),
|
|
76
|
+
xMinutes: n({
|
|
77
|
+
regular: {
|
|
78
|
+
singularNominative: "{{count}} хвіліна",
|
|
79
|
+
singularGenitive: "{{count}} хвіліны",
|
|
80
|
+
pluralGenitive: "{{count}} хвілін"
|
|
81
|
+
},
|
|
82
|
+
past: {
|
|
83
|
+
singularNominative: "{{count}} хвіліну таму",
|
|
84
|
+
singularGenitive: "{{count}} хвіліны таму",
|
|
85
|
+
pluralGenitive: "{{count}} хвілін таму"
|
|
86
|
+
},
|
|
87
|
+
future: {
|
|
88
|
+
singularNominative: "праз {{count}} хвіліну",
|
|
89
|
+
singularGenitive: "праз {{count}} хвіліны",
|
|
90
|
+
pluralGenitive: "праз {{count}} хвілін"
|
|
91
|
+
}
|
|
92
|
+
}),
|
|
93
|
+
aboutXHours: n({
|
|
94
|
+
regular: {
|
|
95
|
+
singularNominative: "каля {{count}} гадзіны",
|
|
96
|
+
singularGenitive: "каля {{count}} гадзін",
|
|
97
|
+
pluralGenitive: "каля {{count}} гадзін"
|
|
98
|
+
},
|
|
99
|
+
future: {
|
|
100
|
+
singularNominative: "прыблізна праз {{count}} гадзіну",
|
|
101
|
+
singularGenitive: "прыблізна праз {{count}} гадзіны",
|
|
102
|
+
pluralGenitive: "прыблізна праз {{count}} гадзін"
|
|
103
|
+
}
|
|
104
|
+
}),
|
|
105
|
+
xHours: n({
|
|
106
|
+
regular: {
|
|
107
|
+
singularNominative: "{{count}} гадзіна",
|
|
108
|
+
singularGenitive: "{{count}} гадзіны",
|
|
109
|
+
pluralGenitive: "{{count}} гадзін"
|
|
110
|
+
},
|
|
111
|
+
past: {
|
|
112
|
+
singularNominative: "{{count}} гадзіну таму",
|
|
113
|
+
singularGenitive: "{{count}} гадзіны таму",
|
|
114
|
+
pluralGenitive: "{{count}} гадзін таму"
|
|
115
|
+
},
|
|
116
|
+
future: {
|
|
117
|
+
singularNominative: "праз {{count}} гадзіну",
|
|
118
|
+
singularGenitive: "праз {{count}} гадзіны",
|
|
119
|
+
pluralGenitive: "праз {{count}} гадзін"
|
|
120
|
+
}
|
|
121
|
+
}),
|
|
122
|
+
xDays: n({
|
|
123
|
+
regular: {
|
|
124
|
+
singularNominative: "{{count}} дзень",
|
|
125
|
+
singularGenitive: "{{count}} дні",
|
|
126
|
+
pluralGenitive: "{{count}} дзён"
|
|
127
|
+
}
|
|
128
|
+
}),
|
|
129
|
+
aboutXWeeks: n({
|
|
130
|
+
regular: {
|
|
131
|
+
singularNominative: "каля {{count}} месяца",
|
|
132
|
+
// TODO
|
|
133
|
+
singularGenitive: "каля {{count}} месяцаў",
|
|
134
|
+
// TODO
|
|
135
|
+
pluralGenitive: "каля {{count}} месяцаў"
|
|
136
|
+
// TODO
|
|
137
|
+
},
|
|
138
|
+
future: {
|
|
139
|
+
singularNominative: "прыблізна праз {{count}} месяц",
|
|
140
|
+
// TODO
|
|
141
|
+
singularGenitive: "прыблізна праз {{count}} месяцы",
|
|
142
|
+
// TODO
|
|
143
|
+
pluralGenitive: "прыблізна праз {{count}} месяцаў"
|
|
144
|
+
// TODO
|
|
145
|
+
}
|
|
146
|
+
}),
|
|
147
|
+
xWeeks: n({
|
|
148
|
+
regular: {
|
|
149
|
+
singularNominative: "{{count}} месяц",
|
|
150
|
+
singularGenitive: "{{count}} месяцы",
|
|
151
|
+
pluralGenitive: "{{count}} месяцаў"
|
|
152
|
+
}
|
|
153
|
+
}),
|
|
154
|
+
aboutXMonths: n({
|
|
155
|
+
regular: {
|
|
156
|
+
singularNominative: "каля {{count}} месяца",
|
|
157
|
+
singularGenitive: "каля {{count}} месяцаў",
|
|
158
|
+
pluralGenitive: "каля {{count}} месяцаў"
|
|
159
|
+
},
|
|
160
|
+
future: {
|
|
161
|
+
singularNominative: "прыблізна праз {{count}} месяц",
|
|
162
|
+
singularGenitive: "прыблізна праз {{count}} месяцы",
|
|
163
|
+
pluralGenitive: "прыблізна праз {{count}} месяцаў"
|
|
164
|
+
}
|
|
165
|
+
}),
|
|
166
|
+
xMonths: n({
|
|
167
|
+
regular: {
|
|
168
|
+
singularNominative: "{{count}} месяц",
|
|
169
|
+
singularGenitive: "{{count}} месяцы",
|
|
170
|
+
pluralGenitive: "{{count}} месяцаў"
|
|
171
|
+
}
|
|
172
|
+
}),
|
|
173
|
+
aboutXYears: n({
|
|
174
|
+
regular: {
|
|
175
|
+
singularNominative: "каля {{count}} года",
|
|
176
|
+
singularGenitive: "каля {{count}} гадоў",
|
|
177
|
+
pluralGenitive: "каля {{count}} гадоў"
|
|
178
|
+
},
|
|
179
|
+
future: {
|
|
180
|
+
singularNominative: "прыблізна праз {{count}} год",
|
|
181
|
+
singularGenitive: "прыблізна праз {{count}} гады",
|
|
182
|
+
pluralGenitive: "прыблізна праз {{count}} гадоў"
|
|
183
|
+
}
|
|
184
|
+
}),
|
|
185
|
+
xYears: n({
|
|
186
|
+
regular: {
|
|
187
|
+
singularNominative: "{{count}} год",
|
|
188
|
+
singularGenitive: "{{count}} гады",
|
|
189
|
+
pluralGenitive: "{{count}} гадоў"
|
|
190
|
+
}
|
|
191
|
+
}),
|
|
192
|
+
overXYears: n({
|
|
193
|
+
regular: {
|
|
194
|
+
singularNominative: "больш за {{count}} год",
|
|
195
|
+
singularGenitive: "больш за {{count}} гады",
|
|
196
|
+
pluralGenitive: "больш за {{count}} гадоў"
|
|
197
|
+
},
|
|
198
|
+
future: {
|
|
199
|
+
singularNominative: "больш, чым праз {{count}} год",
|
|
200
|
+
singularGenitive: "больш, чым праз {{count}} гады",
|
|
201
|
+
pluralGenitive: "больш, чым праз {{count}} гадоў"
|
|
202
|
+
}
|
|
203
|
+
}),
|
|
204
|
+
almostXYears: n({
|
|
205
|
+
regular: {
|
|
206
|
+
singularNominative: "амаль {{count}} год",
|
|
207
|
+
singularGenitive: "амаль {{count}} гады",
|
|
208
|
+
pluralGenitive: "амаль {{count}} гадоў"
|
|
209
|
+
},
|
|
210
|
+
future: {
|
|
211
|
+
singularNominative: "амаль праз {{count}} год",
|
|
212
|
+
singularGenitive: "амаль праз {{count}} гады",
|
|
213
|
+
pluralGenitive: "амаль праз {{count}} гадоў"
|
|
214
|
+
}
|
|
215
|
+
})
|
|
216
|
+
}, G = function(e, t, i) {
|
|
217
|
+
return i = i || {}, h[e](t, i);
|
|
218
|
+
};
|
|
219
|
+
const b = G;
|
|
220
|
+
var w = {
|
|
221
|
+
full: "EEEE, d MMMM y 'г.'",
|
|
222
|
+
long: "d MMMM y 'г.'",
|
|
223
|
+
medium: "d MMM y 'г.'",
|
|
224
|
+
short: "dd.MM.y"
|
|
225
|
+
}, y = {
|
|
226
|
+
full: "H:mm:ss zzzz",
|
|
227
|
+
long: "H:mm:ss z",
|
|
228
|
+
medium: "H:mm:ss",
|
|
229
|
+
short: "H:mm"
|
|
230
|
+
}, N = {
|
|
231
|
+
any: "{{date}}, {{time}}"
|
|
232
|
+
}, P = {
|
|
233
|
+
date: v({
|
|
234
|
+
formats: w,
|
|
235
|
+
defaultWidth: "full"
|
|
236
|
+
}),
|
|
237
|
+
time: v({
|
|
238
|
+
formats: y,
|
|
239
|
+
defaultWidth: "full"
|
|
240
|
+
}),
|
|
241
|
+
dateTime: v({
|
|
242
|
+
formats: N,
|
|
243
|
+
defaultWidth: "any"
|
|
244
|
+
})
|
|
245
|
+
};
|
|
246
|
+
const W = P;
|
|
247
|
+
var c = ["нядзелю", "панядзелак", "аўторак", "сераду", "чацвер", "пятніцу", "суботу"];
|
|
248
|
+
function M(a) {
|
|
249
|
+
var e = c[a];
|
|
250
|
+
switch (a) {
|
|
251
|
+
case 0:
|
|
252
|
+
case 3:
|
|
253
|
+
case 5:
|
|
254
|
+
case 6:
|
|
255
|
+
return "'у мінулую " + e + " а' p";
|
|
256
|
+
case 1:
|
|
257
|
+
case 2:
|
|
258
|
+
case 4:
|
|
259
|
+
return "'у мінулы " + e + " а' p";
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
function g(a) {
|
|
263
|
+
var e = c[a];
|
|
264
|
+
return "'у " + e + " а' p";
|
|
265
|
+
}
|
|
266
|
+
function k(a) {
|
|
267
|
+
var e = c[a];
|
|
268
|
+
switch (a) {
|
|
269
|
+
case 0:
|
|
270
|
+
case 3:
|
|
271
|
+
case 5:
|
|
272
|
+
case 6:
|
|
273
|
+
return "'у наступную " + e + " а' p";
|
|
274
|
+
case 1:
|
|
275
|
+
case 2:
|
|
276
|
+
case 4:
|
|
277
|
+
return "'у наступны " + e + " а' p";
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
var x = function(e, t, i) {
|
|
281
|
+
var u = m(e), r = u.getUTCDay();
|
|
282
|
+
return d(u, t, i) ? g(r) : M(r);
|
|
283
|
+
}, D = function(e, t, i) {
|
|
284
|
+
var u = m(e), r = u.getUTCDay();
|
|
285
|
+
return d(u, t, i) ? g(r) : k(r);
|
|
286
|
+
}, F = {
|
|
287
|
+
lastWeek: x,
|
|
288
|
+
yesterday: "'учора а' p",
|
|
289
|
+
today: "'сёння а' p",
|
|
290
|
+
tomorrow: "'заўтра а' p",
|
|
291
|
+
nextWeek: D,
|
|
292
|
+
other: "P"
|
|
293
|
+
}, z = function(e, t, i, u) {
|
|
294
|
+
var r = F[e];
|
|
295
|
+
return typeof r == "function" ? r(t, i, u) : r;
|
|
296
|
+
};
|
|
297
|
+
const C = z;
|
|
298
|
+
var S = {
|
|
299
|
+
narrow: ["да н.э.", "н.э."],
|
|
300
|
+
abbreviated: ["да н. э.", "н. э."],
|
|
301
|
+
wide: ["да нашай эры", "нашай эры"]
|
|
302
|
+
}, V = {
|
|
303
|
+
narrow: ["1", "2", "3", "4"],
|
|
304
|
+
abbreviated: ["1-ы кв.", "2-і кв.", "3-і кв.", "4-ы кв."],
|
|
305
|
+
wide: ["1-ы квартал", "2-і квартал", "3-і квартал", "4-ы квартал"]
|
|
306
|
+
}, L = {
|
|
307
|
+
narrow: ["С", "Л", "С", "К", "М", "Ч", "Л", "Ж", "В", "К", "Л", "С"],
|
|
308
|
+
abbreviated: ["студз.", "лют.", "сак.", "крас.", "май", "чэрв.", "ліп.", "жн.", "вер.", "кастр.", "ліст.", "снеж."],
|
|
309
|
+
wide: ["студзень", "люты", "сакавік", "красавік", "май", "чэрвень", "ліпень", "жнівень", "верасень", "кастрычнік", "лістапад", "снежань"]
|
|
310
|
+
}, T = {
|
|
311
|
+
narrow: ["С", "Л", "С", "К", "М", "Ч", "Л", "Ж", "В", "К", "Л", "С"],
|
|
312
|
+
abbreviated: ["студз.", "лют.", "сак.", "крас.", "мая", "чэрв.", "ліп.", "жн.", "вер.", "кастр.", "ліст.", "снеж."],
|
|
313
|
+
wide: ["студзеня", "лютага", "сакавіка", "красавіка", "мая", "чэрвеня", "ліпеня", "жніўня", "верасня", "кастрычніка", "лістапада", "снежня"]
|
|
314
|
+
}, X = {
|
|
315
|
+
narrow: ["Н", "П", "А", "С", "Ч", "П", "С"],
|
|
316
|
+
short: ["нд", "пн", "аў", "ср", "чц", "пт", "сб"],
|
|
317
|
+
abbreviated: ["нядз", "пан", "аўт", "сер", "чац", "пят", "суб"],
|
|
318
|
+
wide: ["нядзеля", "панядзелак", "аўторак", "серада", "чацвер", "пятніца", "субота"]
|
|
319
|
+
}, E = {
|
|
320
|
+
narrow: {
|
|
321
|
+
am: "ДП",
|
|
322
|
+
pm: "ПП",
|
|
323
|
+
midnight: "поўн.",
|
|
324
|
+
noon: "поўд.",
|
|
325
|
+
morning: "ран.",
|
|
326
|
+
afternoon: "дзень",
|
|
327
|
+
evening: "веч.",
|
|
328
|
+
night: "ноч"
|
|
329
|
+
},
|
|
330
|
+
abbreviated: {
|
|
331
|
+
am: "ДП",
|
|
332
|
+
pm: "ПП",
|
|
333
|
+
midnight: "поўн.",
|
|
334
|
+
noon: "поўд.",
|
|
335
|
+
morning: "ран.",
|
|
336
|
+
afternoon: "дзень",
|
|
337
|
+
evening: "веч.",
|
|
338
|
+
night: "ноч"
|
|
339
|
+
},
|
|
340
|
+
wide: {
|
|
341
|
+
am: "ДП",
|
|
342
|
+
pm: "ПП",
|
|
343
|
+
midnight: "поўнач",
|
|
344
|
+
noon: "поўдзень",
|
|
345
|
+
morning: "раніца",
|
|
346
|
+
afternoon: "дзень",
|
|
347
|
+
evening: "вечар",
|
|
348
|
+
night: "ноч"
|
|
349
|
+
}
|
|
350
|
+
}, H = {
|
|
351
|
+
narrow: {
|
|
352
|
+
am: "ДП",
|
|
353
|
+
pm: "ПП",
|
|
354
|
+
midnight: "поўн.",
|
|
355
|
+
noon: "поўд.",
|
|
356
|
+
morning: "ран.",
|
|
357
|
+
afternoon: "дня",
|
|
358
|
+
evening: "веч.",
|
|
359
|
+
night: "ночы"
|
|
360
|
+
},
|
|
361
|
+
abbreviated: {
|
|
362
|
+
am: "ДП",
|
|
363
|
+
pm: "ПП",
|
|
364
|
+
midnight: "поўн.",
|
|
365
|
+
noon: "поўд.",
|
|
366
|
+
morning: "ран.",
|
|
367
|
+
afternoon: "дня",
|
|
368
|
+
evening: "веч.",
|
|
369
|
+
night: "ночы"
|
|
370
|
+
},
|
|
371
|
+
wide: {
|
|
372
|
+
am: "ДП",
|
|
373
|
+
pm: "ПП",
|
|
374
|
+
midnight: "поўнач",
|
|
375
|
+
noon: "поўдзень",
|
|
376
|
+
morning: "раніцы",
|
|
377
|
+
afternoon: "дня",
|
|
378
|
+
evening: "вечара",
|
|
379
|
+
night: "ночы"
|
|
380
|
+
}
|
|
381
|
+
}, R = function(e, t) {
|
|
382
|
+
var i = String(t == null ? void 0 : t.unit), u = Number(e), r;
|
|
383
|
+
return i === "date" ? r = "-га" : i === "hour" || i === "minute" || i === "second" ? r = "-я" : r = (u % 10 === 2 || u % 10 === 3) && u % 100 !== 12 && u % 100 !== 13 ? "-і" : "-ы", u + r;
|
|
384
|
+
}, $ = {
|
|
385
|
+
ordinalNumber: R,
|
|
386
|
+
era: o({
|
|
387
|
+
values: S,
|
|
388
|
+
defaultWidth: "wide"
|
|
389
|
+
}),
|
|
390
|
+
quarter: o({
|
|
391
|
+
values: V,
|
|
392
|
+
defaultWidth: "wide",
|
|
393
|
+
argumentCallback: function(e) {
|
|
394
|
+
return e - 1;
|
|
395
|
+
}
|
|
396
|
+
}),
|
|
397
|
+
month: o({
|
|
398
|
+
values: L,
|
|
399
|
+
defaultWidth: "wide",
|
|
400
|
+
formattingValues: T,
|
|
401
|
+
defaultFormattingWidth: "wide"
|
|
402
|
+
}),
|
|
403
|
+
day: o({
|
|
404
|
+
values: X,
|
|
405
|
+
defaultWidth: "wide"
|
|
406
|
+
}),
|
|
407
|
+
dayPeriod: o({
|
|
408
|
+
values: E,
|
|
409
|
+
defaultWidth: "any",
|
|
410
|
+
formattingValues: H,
|
|
411
|
+
defaultFormattingWidth: "wide"
|
|
412
|
+
})
|
|
413
|
+
};
|
|
414
|
+
const Y = $;
|
|
415
|
+
var q = /^(\d+)(-?(е|я|га|і|ы|ае|ая|яя|шы|гі|ці|ты|мы))?/i, A = /\d+/i, O = {
|
|
416
|
+
narrow: /^((да )?н\.?\s?э\.?)/i,
|
|
417
|
+
abbreviated: /^((да )?н\.?\s?э\.?)/i,
|
|
418
|
+
wide: /^(да нашай эры|нашай эры|наша эра)/i
|
|
419
|
+
}, U = {
|
|
420
|
+
any: [/^д/i, /^н/i]
|
|
421
|
+
}, Q = {
|
|
422
|
+
narrow: /^[1234]/i,
|
|
423
|
+
abbreviated: /^[1234](-?[ыі]?)? кв.?/i,
|
|
424
|
+
wide: /^[1234](-?[ыі]?)? квартал/i
|
|
425
|
+
}, I = {
|
|
426
|
+
any: [/1/i, /2/i, /3/i, /4/i]
|
|
427
|
+
}, _ = {
|
|
428
|
+
narrow: /^[слкмчжв]/i,
|
|
429
|
+
abbreviated: /^(студз|лют|сак|крас|ма[йя]|чэрв|ліп|жн|вер|кастр|ліст|снеж)\.?/i,
|
|
430
|
+
wide: /^(студзен[ья]|лют(ы|ага)|сакавіка?|красавіка?|ма[йя]|чэрвен[ья]|ліпен[ья]|жні(вень|ўня)|верас(ень|ня)|кастрычніка?|лістапада?|снеж(ань|ня))/i
|
|
431
|
+
}, j = {
|
|
432
|
+
narrow: [/^с/i, /^л/i, /^с/i, /^к/i, /^м/i, /^ч/i, /^л/i, /^ж/i, /^в/i, /^к/i, /^л/i, /^с/i],
|
|
433
|
+
any: [/^ст/i, /^лю/i, /^са/i, /^кр/i, /^ма/i, /^ч/i, /^ліп/i, /^ж/i, /^в/i, /^ка/i, /^ліс/i, /^сн/i]
|
|
434
|
+
}, B = {
|
|
435
|
+
narrow: /^[нпасч]/i,
|
|
436
|
+
short: /^(нд|ня|пн|па|аў|ат|ср|се|чц|ча|пт|пя|сб|су)\.?/i,
|
|
437
|
+
abbreviated: /^(нядз?|ндз|пнд|пан|аўт|срд|сер|чцв|чац|птн|пят|суб).?/i,
|
|
438
|
+
wide: /^(нядзел[яі]|панядзел(ак|ка)|аўтор(ак|ка)|серад[аы]|чацв(ер|ярга)|пятніц[аы]|субот[аы])/i
|
|
439
|
+
}, J = {
|
|
440
|
+
narrow: [/^н/i, /^п/i, /^а/i, /^с/i, /^ч/i, /^п/i, /^с/i],
|
|
441
|
+
any: [/^н/i, /^п[ан]/i, /^а/i, /^с[ер]/i, /^ч/i, /^п[ят]/i, /^с[уб]/i]
|
|
442
|
+
}, K = {
|
|
443
|
+
narrow: /^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,
|
|
444
|
+
abbreviated: /^([дп]п|поўн\.?|поўд\.?|ран\.?|дзень|дня|веч\.?|ночы?)/i,
|
|
445
|
+
wide: /^([дп]п|поўнач|поўдзень|раніц[аы]|дзень|дня|вечара?|ночы?)/i
|
|
446
|
+
}, Z = {
|
|
447
|
+
any: {
|
|
448
|
+
am: /^дп/i,
|
|
449
|
+
pm: /^пп/i,
|
|
450
|
+
midnight: /^поўн/i,
|
|
451
|
+
noon: /^поўд/i,
|
|
452
|
+
morning: /^р/i,
|
|
453
|
+
afternoon: /^д[зн]/i,
|
|
454
|
+
evening: /^в/i,
|
|
455
|
+
night: /^н/i
|
|
456
|
+
}
|
|
457
|
+
}, ee = {
|
|
458
|
+
ordinalNumber: f({
|
|
459
|
+
matchPattern: q,
|
|
460
|
+
parsePattern: A,
|
|
461
|
+
valueCallback: function(e) {
|
|
462
|
+
return parseInt(e, 10);
|
|
463
|
+
}
|
|
464
|
+
}),
|
|
465
|
+
era: l({
|
|
466
|
+
matchPatterns: O,
|
|
467
|
+
defaultMatchWidth: "wide",
|
|
468
|
+
parsePatterns: U,
|
|
469
|
+
defaultParseWidth: "any"
|
|
470
|
+
}),
|
|
471
|
+
quarter: l({
|
|
472
|
+
matchPatterns: Q,
|
|
473
|
+
defaultMatchWidth: "wide",
|
|
474
|
+
parsePatterns: I,
|
|
475
|
+
defaultParseWidth: "any",
|
|
476
|
+
valueCallback: function(e) {
|
|
477
|
+
return e + 1;
|
|
478
|
+
}
|
|
479
|
+
}),
|
|
480
|
+
month: l({
|
|
481
|
+
matchPatterns: _,
|
|
482
|
+
defaultMatchWidth: "wide",
|
|
483
|
+
parsePatterns: j,
|
|
484
|
+
defaultParseWidth: "any"
|
|
485
|
+
}),
|
|
486
|
+
day: l({
|
|
487
|
+
matchPatterns: B,
|
|
488
|
+
defaultMatchWidth: "wide",
|
|
489
|
+
parsePatterns: J,
|
|
490
|
+
defaultParseWidth: "any"
|
|
491
|
+
}),
|
|
492
|
+
dayPeriod: l({
|
|
493
|
+
matchPatterns: K,
|
|
494
|
+
defaultMatchWidth: "wide",
|
|
495
|
+
parsePatterns: Z,
|
|
496
|
+
defaultParseWidth: "any"
|
|
497
|
+
})
|
|
498
|
+
};
|
|
499
|
+
const ae = ee;
|
|
500
|
+
var he = {
|
|
501
|
+
code: "be",
|
|
502
|
+
formatDistance: b,
|
|
503
|
+
formatLong: W,
|
|
504
|
+
formatRelative: C,
|
|
505
|
+
localize: Y,
|
|
506
|
+
match: ae,
|
|
507
|
+
options: {
|
|
508
|
+
weekStartsOn: 1,
|
|
509
|
+
firstWeekContainsDate: 1
|
|
510
|
+
}
|
|
511
|
+
};
|
|
512
|
+
export {
|
|
513
|
+
he as default
|
|
514
|
+
};
|