@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,502 @@
|
|
|
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 r(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: r({
|
|
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: r({
|
|
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: r({
|
|
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: r({
|
|
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: r({
|
|
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: r({
|
|
106
|
+
regular: {
|
|
107
|
+
singularNominative: "{{count}} годину",
|
|
108
|
+
singularGenitive: "{{count}} години",
|
|
109
|
+
pluralGenitive: "{{count}} годин"
|
|
110
|
+
}
|
|
111
|
+
}),
|
|
112
|
+
xDays: r({
|
|
113
|
+
regular: {
|
|
114
|
+
singularNominative: "{{count}} день",
|
|
115
|
+
singularGenitive: "{{count}} днi",
|
|
116
|
+
pluralGenitive: "{{count}} днів"
|
|
117
|
+
}
|
|
118
|
+
}),
|
|
119
|
+
aboutXWeeks: r({
|
|
120
|
+
regular: {
|
|
121
|
+
singularNominative: "близько {{count}} тижня",
|
|
122
|
+
singularGenitive: "близько {{count}} тижнів",
|
|
123
|
+
pluralGenitive: "близько {{count}} тижнів"
|
|
124
|
+
},
|
|
125
|
+
future: {
|
|
126
|
+
singularNominative: "приблизно за {{count}} тиждень",
|
|
127
|
+
singularGenitive: "приблизно за {{count}} тижні",
|
|
128
|
+
pluralGenitive: "приблизно за {{count}} тижнів"
|
|
129
|
+
}
|
|
130
|
+
}),
|
|
131
|
+
xWeeks: r({
|
|
132
|
+
regular: {
|
|
133
|
+
singularNominative: "{{count}} тиждень",
|
|
134
|
+
singularGenitive: "{{count}} тижні",
|
|
135
|
+
pluralGenitive: "{{count}} тижнів"
|
|
136
|
+
}
|
|
137
|
+
}),
|
|
138
|
+
aboutXMonths: r({
|
|
139
|
+
regular: {
|
|
140
|
+
singularNominative: "близько {{count}} місяця",
|
|
141
|
+
singularGenitive: "близько {{count}} місяців",
|
|
142
|
+
pluralGenitive: "близько {{count}} місяців"
|
|
143
|
+
},
|
|
144
|
+
future: {
|
|
145
|
+
singularNominative: "приблизно за {{count}} місяць",
|
|
146
|
+
singularGenitive: "приблизно за {{count}} місяці",
|
|
147
|
+
pluralGenitive: "приблизно за {{count}} місяців"
|
|
148
|
+
}
|
|
149
|
+
}),
|
|
150
|
+
xMonths: r({
|
|
151
|
+
regular: {
|
|
152
|
+
singularNominative: "{{count}} місяць",
|
|
153
|
+
singularGenitive: "{{count}} місяці",
|
|
154
|
+
pluralGenitive: "{{count}} місяців"
|
|
155
|
+
}
|
|
156
|
+
}),
|
|
157
|
+
aboutXYears: r({
|
|
158
|
+
regular: {
|
|
159
|
+
singularNominative: "близько {{count}} року",
|
|
160
|
+
singularGenitive: "близько {{count}} років",
|
|
161
|
+
pluralGenitive: "близько {{count}} років"
|
|
162
|
+
},
|
|
163
|
+
future: {
|
|
164
|
+
singularNominative: "приблизно за {{count}} рік",
|
|
165
|
+
singularGenitive: "приблизно за {{count}} роки",
|
|
166
|
+
pluralGenitive: "приблизно за {{count}} років"
|
|
167
|
+
}
|
|
168
|
+
}),
|
|
169
|
+
xYears: r({
|
|
170
|
+
regular: {
|
|
171
|
+
singularNominative: "{{count}} рік",
|
|
172
|
+
singularGenitive: "{{count}} роки",
|
|
173
|
+
pluralGenitive: "{{count}} років"
|
|
174
|
+
}
|
|
175
|
+
}),
|
|
176
|
+
overXYears: r({
|
|
177
|
+
regular: {
|
|
178
|
+
singularNominative: "більше {{count}} року",
|
|
179
|
+
singularGenitive: "більше {{count}} років",
|
|
180
|
+
pluralGenitive: "більше {{count}} років"
|
|
181
|
+
},
|
|
182
|
+
future: {
|
|
183
|
+
singularNominative: "більше, ніж за {{count}} рік",
|
|
184
|
+
singularGenitive: "більше, ніж за {{count}} роки",
|
|
185
|
+
pluralGenitive: "більше, ніж за {{count}} років"
|
|
186
|
+
}
|
|
187
|
+
}),
|
|
188
|
+
almostXYears: r({
|
|
189
|
+
regular: {
|
|
190
|
+
singularNominative: "майже {{count}} рік",
|
|
191
|
+
singularGenitive: "майже {{count}} роки",
|
|
192
|
+
pluralGenitive: "майже {{count}} років"
|
|
193
|
+
},
|
|
194
|
+
future: {
|
|
195
|
+
singularNominative: "майже за {{count}} рік",
|
|
196
|
+
singularGenitive: "майже за {{count}} роки",
|
|
197
|
+
pluralGenitive: "майже за {{count}} років"
|
|
198
|
+
}
|
|
199
|
+
})
|
|
200
|
+
}, G = function(e, t, i) {
|
|
201
|
+
return i = i || {}, h[e](t, i);
|
|
202
|
+
};
|
|
203
|
+
const b = G;
|
|
204
|
+
var w = {
|
|
205
|
+
full: "EEEE, do MMMM y 'р.'",
|
|
206
|
+
long: "do MMMM y 'р.'",
|
|
207
|
+
medium: "d MMM y 'р.'",
|
|
208
|
+
short: "dd.MM.y"
|
|
209
|
+
}, y = {
|
|
210
|
+
full: "H:mm:ss zzzz",
|
|
211
|
+
long: "H:mm:ss z",
|
|
212
|
+
medium: "H:mm:ss",
|
|
213
|
+
short: "H:mm"
|
|
214
|
+
}, P = {
|
|
215
|
+
full: "{{date}} 'о' {{time}}",
|
|
216
|
+
long: "{{date}} 'о' {{time}}",
|
|
217
|
+
medium: "{{date}}, {{time}}",
|
|
218
|
+
short: "{{date}}, {{time}}"
|
|
219
|
+
}, W = {
|
|
220
|
+
date: v({
|
|
221
|
+
formats: w,
|
|
222
|
+
defaultWidth: "full"
|
|
223
|
+
}),
|
|
224
|
+
time: v({
|
|
225
|
+
formats: y,
|
|
226
|
+
defaultWidth: "full"
|
|
227
|
+
}),
|
|
228
|
+
dateTime: v({
|
|
229
|
+
formats: P,
|
|
230
|
+
defaultWidth: "full"
|
|
231
|
+
})
|
|
232
|
+
};
|
|
233
|
+
const N = W;
|
|
234
|
+
var c = ["неділю", "понеділок", "вівторок", "середу", "четвер", "п’ятницю", "суботу"];
|
|
235
|
+
function M(a) {
|
|
236
|
+
var e = c[a];
|
|
237
|
+
switch (a) {
|
|
238
|
+
case 0:
|
|
239
|
+
case 3:
|
|
240
|
+
case 5:
|
|
241
|
+
case 6:
|
|
242
|
+
return "'у минулу " + e + " о' p";
|
|
243
|
+
case 1:
|
|
244
|
+
case 2:
|
|
245
|
+
case 4:
|
|
246
|
+
return "'у минулий " + e + " о' p";
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
function g(a) {
|
|
250
|
+
var e = c[a];
|
|
251
|
+
return "'у " + e + " о' p";
|
|
252
|
+
}
|
|
253
|
+
function k(a) {
|
|
254
|
+
var e = c[a];
|
|
255
|
+
switch (a) {
|
|
256
|
+
case 0:
|
|
257
|
+
case 3:
|
|
258
|
+
case 5:
|
|
259
|
+
case 6:
|
|
260
|
+
return "'у наступну " + e + " о' p";
|
|
261
|
+
case 1:
|
|
262
|
+
case 2:
|
|
263
|
+
case 4:
|
|
264
|
+
return "'у наступний " + e + " о' p";
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
var x = function(e, t, i) {
|
|
268
|
+
var u = m(e), n = u.getUTCDay();
|
|
269
|
+
return d(u, t, i) ? g(n) : M(n);
|
|
270
|
+
}, D = function(e, t, i) {
|
|
271
|
+
var u = m(e), n = u.getUTCDay();
|
|
272
|
+
return d(u, t, i) ? g(n) : k(n);
|
|
273
|
+
}, F = {
|
|
274
|
+
lastWeek: x,
|
|
275
|
+
yesterday: "'вчора о' p",
|
|
276
|
+
today: "'сьогодні о' p",
|
|
277
|
+
tomorrow: "'завтра о' p",
|
|
278
|
+
nextWeek: D,
|
|
279
|
+
other: "P"
|
|
280
|
+
}, z = function(e, t, i, u) {
|
|
281
|
+
var n = F[e];
|
|
282
|
+
return typeof n == "function" ? n(t, i, u) : n;
|
|
283
|
+
};
|
|
284
|
+
const C = z;
|
|
285
|
+
var S = {
|
|
286
|
+
narrow: ["до н.е.", "н.е."],
|
|
287
|
+
abbreviated: ["до н. е.", "н. е."],
|
|
288
|
+
wide: ["до нашої ери", "нашої ери"]
|
|
289
|
+
}, V = {
|
|
290
|
+
narrow: ["1", "2", "3", "4"],
|
|
291
|
+
abbreviated: ["1-й кв.", "2-й кв.", "3-й кв.", "4-й кв."],
|
|
292
|
+
wide: ["1-й квартал", "2-й квартал", "3-й квартал", "4-й квартал"]
|
|
293
|
+
}, L = {
|
|
294
|
+
// ДСТУ 3582:2013
|
|
295
|
+
narrow: ["С", "Л", "Б", "К", "Т", "Ч", "Л", "С", "В", "Ж", "Л", "Г"],
|
|
296
|
+
abbreviated: ["січ.", "лют.", "берез.", "квіт.", "трав.", "черв.", "лип.", "серп.", "верес.", "жовт.", "листоп.", "груд."],
|
|
297
|
+
wide: ["січень", "лютий", "березень", "квітень", "травень", "червень", "липень", "серпень", "вересень", "жовтень", "листопад", "грудень"]
|
|
298
|
+
}, T = {
|
|
299
|
+
narrow: ["С", "Л", "Б", "К", "Т", "Ч", "Л", "С", "В", "Ж", "Л", "Г"],
|
|
300
|
+
abbreviated: ["січ.", "лют.", "берез.", "квіт.", "трав.", "черв.", "лип.", "серп.", "верес.", "жовт.", "листоп.", "груд."],
|
|
301
|
+
wide: ["січня", "лютого", "березня", "квітня", "травня", "червня", "липня", "серпня", "вересня", "жовтня", "листопада", "грудня"]
|
|
302
|
+
}, X = {
|
|
303
|
+
narrow: ["Н", "П", "В", "С", "Ч", "П", "С"],
|
|
304
|
+
short: ["нд", "пн", "вт", "ср", "чт", "пт", "сб"],
|
|
305
|
+
abbreviated: ["нед", "пон", "вів", "сер", "чтв", "птн", "суб"],
|
|
306
|
+
wide: ["неділя", "понеділок", "вівторок", "середа", "четвер", "п’ятниця", "субота"]
|
|
307
|
+
}, E = {
|
|
308
|
+
narrow: {
|
|
309
|
+
am: "ДП",
|
|
310
|
+
pm: "ПП",
|
|
311
|
+
midnight: "півн.",
|
|
312
|
+
noon: "пол.",
|
|
313
|
+
morning: "ранок",
|
|
314
|
+
afternoon: "день",
|
|
315
|
+
evening: "веч.",
|
|
316
|
+
night: "ніч"
|
|
317
|
+
},
|
|
318
|
+
abbreviated: {
|
|
319
|
+
am: "ДП",
|
|
320
|
+
pm: "ПП",
|
|
321
|
+
midnight: "півн.",
|
|
322
|
+
noon: "пол.",
|
|
323
|
+
morning: "ранок",
|
|
324
|
+
afternoon: "день",
|
|
325
|
+
evening: "веч.",
|
|
326
|
+
night: "ніч"
|
|
327
|
+
},
|
|
328
|
+
wide: {
|
|
329
|
+
am: "ДП",
|
|
330
|
+
pm: "ПП",
|
|
331
|
+
midnight: "північ",
|
|
332
|
+
noon: "полудень",
|
|
333
|
+
morning: "ранок",
|
|
334
|
+
afternoon: "день",
|
|
335
|
+
evening: "вечір",
|
|
336
|
+
night: "ніч"
|
|
337
|
+
}
|
|
338
|
+
}, H = {
|
|
339
|
+
narrow: {
|
|
340
|
+
am: "ДП",
|
|
341
|
+
pm: "ПП",
|
|
342
|
+
midnight: "півн.",
|
|
343
|
+
noon: "пол.",
|
|
344
|
+
morning: "ранку",
|
|
345
|
+
afternoon: "дня",
|
|
346
|
+
evening: "веч.",
|
|
347
|
+
night: "ночі"
|
|
348
|
+
},
|
|
349
|
+
abbreviated: {
|
|
350
|
+
am: "ДП",
|
|
351
|
+
pm: "ПП",
|
|
352
|
+
midnight: "півн.",
|
|
353
|
+
noon: "пол.",
|
|
354
|
+
morning: "ранку",
|
|
355
|
+
afternoon: "дня",
|
|
356
|
+
evening: "веч.",
|
|
357
|
+
night: "ночі"
|
|
358
|
+
},
|
|
359
|
+
wide: {
|
|
360
|
+
am: "ДП",
|
|
361
|
+
pm: "ПП",
|
|
362
|
+
midnight: "північ",
|
|
363
|
+
noon: "полудень",
|
|
364
|
+
morning: "ранку",
|
|
365
|
+
afternoon: "дня",
|
|
366
|
+
evening: "веч.",
|
|
367
|
+
night: "ночі"
|
|
368
|
+
}
|
|
369
|
+
}, R = function(e, t) {
|
|
370
|
+
var i = String(t == null ? void 0 : t.unit), u = Number(e), n;
|
|
371
|
+
return i === "date" ? u === 3 || u === 23 ? n = "-є" : n = "-е" : i === "minute" || i === "second" || i === "hour" ? n = "-а" : n = "-й", u + n;
|
|
372
|
+
}, $ = {
|
|
373
|
+
ordinalNumber: R,
|
|
374
|
+
era: o({
|
|
375
|
+
values: S,
|
|
376
|
+
defaultWidth: "wide"
|
|
377
|
+
}),
|
|
378
|
+
quarter: o({
|
|
379
|
+
values: V,
|
|
380
|
+
defaultWidth: "wide",
|
|
381
|
+
argumentCallback: function(e) {
|
|
382
|
+
return e - 1;
|
|
383
|
+
}
|
|
384
|
+
}),
|
|
385
|
+
month: o({
|
|
386
|
+
values: L,
|
|
387
|
+
defaultWidth: "wide",
|
|
388
|
+
formattingValues: T,
|
|
389
|
+
defaultFormattingWidth: "wide"
|
|
390
|
+
}),
|
|
391
|
+
day: o({
|
|
392
|
+
values: X,
|
|
393
|
+
defaultWidth: "wide"
|
|
394
|
+
}),
|
|
395
|
+
dayPeriod: o({
|
|
396
|
+
values: E,
|
|
397
|
+
defaultWidth: "any",
|
|
398
|
+
formattingValues: H,
|
|
399
|
+
defaultFormattingWidth: "wide"
|
|
400
|
+
})
|
|
401
|
+
};
|
|
402
|
+
const Y = $;
|
|
403
|
+
var q = /^(\d+)(-?(е|й|є|а|я))?/i, A = /\d+/i, O = {
|
|
404
|
+
narrow: /^((до )?н\.?\s?е\.?)/i,
|
|
405
|
+
abbreviated: /^((до )?н\.?\s?е\.?)/i,
|
|
406
|
+
wide: /^(до нашої ери|нашої ери|наша ера)/i
|
|
407
|
+
}, U = {
|
|
408
|
+
any: [/^д/i, /^н/i]
|
|
409
|
+
}, Q = {
|
|
410
|
+
narrow: /^[1234]/i,
|
|
411
|
+
abbreviated: /^[1234](-?[иі]?й?)? кв.?/i,
|
|
412
|
+
wide: /^[1234](-?[иі]?й?)? квартал/i
|
|
413
|
+
}, I = {
|
|
414
|
+
any: [/1/i, /2/i, /3/i, /4/i]
|
|
415
|
+
}, _ = {
|
|
416
|
+
narrow: /^[слбктчвжг]/i,
|
|
417
|
+
abbreviated: /^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i,
|
|
418
|
+
wide: /^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i
|
|
419
|
+
}, j = {
|
|
420
|
+
narrow: [/^с/i, /^л/i, /^б/i, /^к/i, /^т/i, /^ч/i, /^л/i, /^с/i, /^в/i, /^ж/i, /^л/i, /^г/i],
|
|
421
|
+
any: [/^сі/i, /^лю/i, /^б/i, /^к/i, /^т/i, /^ч/i, /^лип/i, /^се/i, /^в/i, /^ж/i, /^лис/i, /^г/i]
|
|
422
|
+
}, B = {
|
|
423
|
+
narrow: /^[нпвсч]/i,
|
|
424
|
+
short: /^(нд|пн|вт|ср|чт|пт|сб)\.?/i,
|
|
425
|
+
abbreviated: /^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i,
|
|
426
|
+
wide: /^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i
|
|
427
|
+
}, J = {
|
|
428
|
+
narrow: [/^н/i, /^п/i, /^в/i, /^с/i, /^ч/i, /^п/i, /^с/i],
|
|
429
|
+
any: [/^н/i, /^п[он]/i, /^в/i, /^с[ер]/i, /^ч/i, /^п\W*?[ят]/i, /^с[уб]/i]
|
|
430
|
+
}, K = {
|
|
431
|
+
narrow: /^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,
|
|
432
|
+
abbreviated: /^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,
|
|
433
|
+
wide: /^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i
|
|
434
|
+
}, Z = {
|
|
435
|
+
any: {
|
|
436
|
+
am: /^дп/i,
|
|
437
|
+
pm: /^пп/i,
|
|
438
|
+
midnight: /^півн/i,
|
|
439
|
+
noon: /^пол/i,
|
|
440
|
+
morning: /^р/i,
|
|
441
|
+
afternoon: /^д[ен]/i,
|
|
442
|
+
evening: /^в/i,
|
|
443
|
+
night: /^н/i
|
|
444
|
+
}
|
|
445
|
+
}, ee = {
|
|
446
|
+
ordinalNumber: f({
|
|
447
|
+
matchPattern: q,
|
|
448
|
+
parsePattern: A,
|
|
449
|
+
valueCallback: function(e) {
|
|
450
|
+
return parseInt(e, 10);
|
|
451
|
+
}
|
|
452
|
+
}),
|
|
453
|
+
era: l({
|
|
454
|
+
matchPatterns: O,
|
|
455
|
+
defaultMatchWidth: "wide",
|
|
456
|
+
parsePatterns: U,
|
|
457
|
+
defaultParseWidth: "any"
|
|
458
|
+
}),
|
|
459
|
+
quarter: l({
|
|
460
|
+
matchPatterns: Q,
|
|
461
|
+
defaultMatchWidth: "wide",
|
|
462
|
+
parsePatterns: I,
|
|
463
|
+
defaultParseWidth: "any",
|
|
464
|
+
valueCallback: function(e) {
|
|
465
|
+
return e + 1;
|
|
466
|
+
}
|
|
467
|
+
}),
|
|
468
|
+
month: l({
|
|
469
|
+
matchPatterns: _,
|
|
470
|
+
defaultMatchWidth: "wide",
|
|
471
|
+
parsePatterns: j,
|
|
472
|
+
defaultParseWidth: "any"
|
|
473
|
+
}),
|
|
474
|
+
day: l({
|
|
475
|
+
matchPatterns: B,
|
|
476
|
+
defaultMatchWidth: "wide",
|
|
477
|
+
parsePatterns: J,
|
|
478
|
+
defaultParseWidth: "any"
|
|
479
|
+
}),
|
|
480
|
+
dayPeriod: l({
|
|
481
|
+
matchPatterns: K,
|
|
482
|
+
defaultMatchWidth: "wide",
|
|
483
|
+
parsePatterns: Z,
|
|
484
|
+
defaultParseWidth: "any"
|
|
485
|
+
})
|
|
486
|
+
};
|
|
487
|
+
const ae = ee;
|
|
488
|
+
var he = {
|
|
489
|
+
code: "uk",
|
|
490
|
+
formatDistance: b,
|
|
491
|
+
formatLong: N,
|
|
492
|
+
formatRelative: C,
|
|
493
|
+
localize: Y,
|
|
494
|
+
match: ae,
|
|
495
|
+
options: {
|
|
496
|
+
weekStartsOn: 1,
|
|
497
|
+
firstWeekContainsDate: 1
|
|
498
|
+
}
|
|
499
|
+
};
|
|
500
|
+
export {
|
|
501
|
+
he as default
|
|
502
|
+
};
|