@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,478 @@
|
|
|
1
|
+
import { a as s, b as u, c as f, d as o } from "./index-51cf15b2.js";
|
|
2
|
+
import { i as m } 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
|
+
var p = {
|
|
17
|
+
lessThanXSeconds: {
|
|
18
|
+
regular: {
|
|
19
|
+
one: "1 секундтан аз",
|
|
20
|
+
singularNominative: "{{count}} секундтан аз",
|
|
21
|
+
singularGenitive: "{{count}} секундтан аз",
|
|
22
|
+
pluralGenitive: "{{count}} секундтан аз"
|
|
23
|
+
},
|
|
24
|
+
future: {
|
|
25
|
+
one: "бір секундтан кейін",
|
|
26
|
+
singularNominative: "{{count}} секундтан кейін",
|
|
27
|
+
singularGenitive: "{{count}} секундтан кейін",
|
|
28
|
+
pluralGenitive: "{{count}} секундтан кейін"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
xSeconds: {
|
|
32
|
+
regular: {
|
|
33
|
+
singularNominative: "{{count}} секунд",
|
|
34
|
+
singularGenitive: "{{count}} секунд",
|
|
35
|
+
pluralGenitive: "{{count}} секунд"
|
|
36
|
+
},
|
|
37
|
+
past: {
|
|
38
|
+
singularNominative: "{{count}} секунд бұрын",
|
|
39
|
+
singularGenitive: "{{count}} секунд бұрын",
|
|
40
|
+
pluralGenitive: "{{count}} секунд бұрын"
|
|
41
|
+
},
|
|
42
|
+
future: {
|
|
43
|
+
singularNominative: "{{count}} секундтан кейін",
|
|
44
|
+
singularGenitive: "{{count}} секундтан кейін",
|
|
45
|
+
pluralGenitive: "{{count}} секундтан кейін"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
halfAMinute: function(e) {
|
|
49
|
+
return e != null && e.addSuffix ? e.comparison && e.comparison > 0 ? "жарты минут ішінде" : "жарты минут бұрын" : "жарты минут";
|
|
50
|
+
},
|
|
51
|
+
lessThanXMinutes: {
|
|
52
|
+
regular: {
|
|
53
|
+
one: "1 минуттан аз",
|
|
54
|
+
singularNominative: "{{count}} минуттан аз",
|
|
55
|
+
singularGenitive: "{{count}} минуттан аз",
|
|
56
|
+
pluralGenitive: "{{count}} минуттан аз"
|
|
57
|
+
},
|
|
58
|
+
future: {
|
|
59
|
+
one: "минуттан кем ",
|
|
60
|
+
singularNominative: "{{count}} минуттан кем",
|
|
61
|
+
singularGenitive: "{{count}} минуттан кем",
|
|
62
|
+
pluralGenitive: "{{count}} минуттан кем"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
xMinutes: {
|
|
66
|
+
regular: {
|
|
67
|
+
singularNominative: "{{count}} минут",
|
|
68
|
+
singularGenitive: "{{count}} минут",
|
|
69
|
+
pluralGenitive: "{{count}} минут"
|
|
70
|
+
},
|
|
71
|
+
past: {
|
|
72
|
+
singularNominative: "{{count}} минут бұрын",
|
|
73
|
+
singularGenitive: "{{count}} минут бұрын",
|
|
74
|
+
pluralGenitive: "{{count}} минут бұрын"
|
|
75
|
+
},
|
|
76
|
+
future: {
|
|
77
|
+
singularNominative: "{{count}} минуттан кейін",
|
|
78
|
+
singularGenitive: "{{count}} минуттан кейін",
|
|
79
|
+
pluralGenitive: "{{count}} минуттан кейін"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
aboutXHours: {
|
|
83
|
+
regular: {
|
|
84
|
+
singularNominative: "шамамен {{count}} сағат",
|
|
85
|
+
singularGenitive: "шамамен {{count}} сағат",
|
|
86
|
+
pluralGenitive: "шамамен {{count}} сағат"
|
|
87
|
+
},
|
|
88
|
+
future: {
|
|
89
|
+
singularNominative: "шамамен {{count}} сағаттан кейін",
|
|
90
|
+
singularGenitive: "шамамен {{count}} сағаттан кейін",
|
|
91
|
+
pluralGenitive: "шамамен {{count}} сағаттан кейін"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
xHours: {
|
|
95
|
+
regular: {
|
|
96
|
+
singularNominative: "{{count}} сағат",
|
|
97
|
+
singularGenitive: "{{count}} сағат",
|
|
98
|
+
pluralGenitive: "{{count}} сағат"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
xDays: {
|
|
102
|
+
regular: {
|
|
103
|
+
singularNominative: "{{count}} күн",
|
|
104
|
+
singularGenitive: "{{count}} күн",
|
|
105
|
+
pluralGenitive: "{{count}} күн"
|
|
106
|
+
},
|
|
107
|
+
future: {
|
|
108
|
+
singularNominative: "{{count}} күннен кейін",
|
|
109
|
+
singularGenitive: "{{count}} күннен кейін",
|
|
110
|
+
pluralGenitive: "{{count}} күннен кейін"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
aboutXWeeks: {
|
|
114
|
+
type: "weeks",
|
|
115
|
+
one: "шамамен 1 апта",
|
|
116
|
+
other: "шамамен {{count}} апта"
|
|
117
|
+
},
|
|
118
|
+
xWeeks: {
|
|
119
|
+
type: "weeks",
|
|
120
|
+
one: "1 апта",
|
|
121
|
+
other: "{{count}} апта"
|
|
122
|
+
},
|
|
123
|
+
aboutXMonths: {
|
|
124
|
+
regular: {
|
|
125
|
+
singularNominative: "шамамен {{count}} ай",
|
|
126
|
+
singularGenitive: "шамамен {{count}} ай",
|
|
127
|
+
pluralGenitive: "шамамен {{count}} ай"
|
|
128
|
+
},
|
|
129
|
+
future: {
|
|
130
|
+
singularNominative: "шамамен {{count}} айдан кейін",
|
|
131
|
+
singularGenitive: "шамамен {{count}} айдан кейін",
|
|
132
|
+
pluralGenitive: "шамамен {{count}} айдан кейін"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
xMonths: {
|
|
136
|
+
regular: {
|
|
137
|
+
singularNominative: "{{count}} ай",
|
|
138
|
+
singularGenitive: "{{count}} ай",
|
|
139
|
+
pluralGenitive: "{{count}} ай"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
aboutXYears: {
|
|
143
|
+
regular: {
|
|
144
|
+
singularNominative: "шамамен {{count}} жыл",
|
|
145
|
+
singularGenitive: "шамамен {{count}} жыл",
|
|
146
|
+
pluralGenitive: "шамамен {{count}} жыл"
|
|
147
|
+
},
|
|
148
|
+
future: {
|
|
149
|
+
singularNominative: "шамамен {{count}} жылдан кейін",
|
|
150
|
+
singularGenitive: "шамамен {{count}} жылдан кейін",
|
|
151
|
+
pluralGenitive: "шамамен {{count}} жылдан кейін"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
xYears: {
|
|
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
|
+
overXYears: {
|
|
167
|
+
regular: {
|
|
168
|
+
singularNominative: "{{count}} жылдан астам",
|
|
169
|
+
singularGenitive: "{{count}} жылдан астам",
|
|
170
|
+
pluralGenitive: "{{count}} жылдан астам"
|
|
171
|
+
},
|
|
172
|
+
future: {
|
|
173
|
+
singularNominative: "{{count}} жылдан астам",
|
|
174
|
+
singularGenitive: "{{count}} жылдан астам",
|
|
175
|
+
pluralGenitive: "{{count}} жылдан астам"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
almostXYears: {
|
|
179
|
+
regular: {
|
|
180
|
+
singularNominative: "{{count}} жылға жақын",
|
|
181
|
+
singularGenitive: "{{count}} жылға жақын",
|
|
182
|
+
pluralGenitive: "{{count}} жылға жақын"
|
|
183
|
+
},
|
|
184
|
+
future: {
|
|
185
|
+
singularNominative: "{{count}} жылдан кейін",
|
|
186
|
+
singularGenitive: "{{count}} жылдан кейін",
|
|
187
|
+
pluralGenitive: "{{count}} жылдан кейін"
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
function l(a, e) {
|
|
192
|
+
if (a.one && e === 1)
|
|
193
|
+
return a.one;
|
|
194
|
+
var n = e % 10, t = e % 100;
|
|
195
|
+
return n === 1 && t !== 11 ? a.singularNominative.replace("{{count}}", String(e)) : n >= 2 && n <= 4 && (t < 10 || t > 20) ? a.singularGenitive.replace("{{count}}", String(e)) : a.pluralGenitive.replace("{{count}}", String(e));
|
|
196
|
+
}
|
|
197
|
+
var h = function(e, n, t) {
|
|
198
|
+
var i = p[e];
|
|
199
|
+
return typeof i == "function" ? i(t) : i.type === "weeks" ? n === 1 ? i.one : i.other.replace("{{count}}", String(n)) : t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? i.future ? l(i.future, n) : l(i.regular, n) + " кейін" : i.past ? l(i.past, n) : l(i.regular, n) + " бұрын" : l(i.regular, n);
|
|
200
|
+
};
|
|
201
|
+
const G = h;
|
|
202
|
+
var y = {
|
|
203
|
+
full: "EEEE, do MMMM y 'ж.'",
|
|
204
|
+
long: "do MMMM y 'ж.'",
|
|
205
|
+
medium: "d MMM y 'ж.'",
|
|
206
|
+
short: "dd.MM.yyyy"
|
|
207
|
+
}, w = {
|
|
208
|
+
full: "H:mm:ss zzzz",
|
|
209
|
+
long: "H:mm:ss z",
|
|
210
|
+
medium: "H:mm:ss",
|
|
211
|
+
short: "H:mm"
|
|
212
|
+
}, b = {
|
|
213
|
+
any: "{{date}}, {{time}}"
|
|
214
|
+
}, P = {
|
|
215
|
+
date: s({
|
|
216
|
+
formats: y,
|
|
217
|
+
defaultWidth: "full"
|
|
218
|
+
}),
|
|
219
|
+
time: s({
|
|
220
|
+
formats: w,
|
|
221
|
+
defaultWidth: "full"
|
|
222
|
+
}),
|
|
223
|
+
dateTime: s({
|
|
224
|
+
formats: b,
|
|
225
|
+
defaultWidth: "any"
|
|
226
|
+
})
|
|
227
|
+
};
|
|
228
|
+
const N = P;
|
|
229
|
+
var c = ["жексенбіде", "дүйсенбіде", "сейсенбіде", "сәрсенбіде", "бейсенбіде", "жұмада", "сенбіде"];
|
|
230
|
+
function W(a) {
|
|
231
|
+
var e = c[a];
|
|
232
|
+
return "'өткен " + e + " сағат' p'-де'";
|
|
233
|
+
}
|
|
234
|
+
function d(a) {
|
|
235
|
+
var e = c[a];
|
|
236
|
+
return "'" + e + " сағат' p'-де'";
|
|
237
|
+
}
|
|
238
|
+
function M(a) {
|
|
239
|
+
var e = c[a];
|
|
240
|
+
return "'келесі " + e + " сағат' p'-де'";
|
|
241
|
+
}
|
|
242
|
+
var k = {
|
|
243
|
+
lastWeek: function(e, n, t) {
|
|
244
|
+
var i = e.getUTCDay();
|
|
245
|
+
return m(e, n, t) ? d(i) : W(i);
|
|
246
|
+
},
|
|
247
|
+
yesterday: "'кеше сағат' p'-де'",
|
|
248
|
+
today: "'бүгін сағат' p'-де'",
|
|
249
|
+
tomorrow: "'ертең сағат' p'-де'",
|
|
250
|
+
nextWeek: function(e, n, t) {
|
|
251
|
+
var i = e.getUTCDay();
|
|
252
|
+
return m(e, n, t) ? d(i) : M(i);
|
|
253
|
+
},
|
|
254
|
+
other: "P"
|
|
255
|
+
}, x = function(e, n, t, i) {
|
|
256
|
+
var r = k[e];
|
|
257
|
+
return typeof r == "function" ? r(n, t, i) : r;
|
|
258
|
+
};
|
|
259
|
+
const D = x;
|
|
260
|
+
var C = {
|
|
261
|
+
narrow: ["б.з.д.", "б.з."],
|
|
262
|
+
abbreviated: ["б.з.д.", "б.з."],
|
|
263
|
+
wide: ["біздің заманымызға дейін", "біздің заманымыз"]
|
|
264
|
+
}, F = {
|
|
265
|
+
narrow: ["1", "2", "3", "4"],
|
|
266
|
+
abbreviated: ["1-ші тоқ.", "2-ші тоқ.", "3-ші тоқ.", "4-ші тоқ."],
|
|
267
|
+
wide: ["1-ші тоқсан", "2-ші тоқсан", "3-ші тоқсан", "4-ші тоқсан"]
|
|
268
|
+
}, S = {
|
|
269
|
+
narrow: ["Қ", "А", "Н", "С", "М", "М", "Ш", "Т", "Қ", "Қ", "Қ", "Ж"],
|
|
270
|
+
abbreviated: ["қаң", "ақп", "нау", "сәу", "мам", "мау", "шіл", "там", "қыр", "қаз", "қар", "жел"],
|
|
271
|
+
wide: ["қаңтар", "ақпан", "наурыз", "сәуір", "мамыр", "маусым", "шілде", "тамыз", "қыркүйек", "қазан", "қараша", "желтоқсан"]
|
|
272
|
+
}, V = {
|
|
273
|
+
narrow: ["Қ", "А", "Н", "С", "М", "М", "Ш", "Т", "Қ", "Қ", "Қ", "Ж"],
|
|
274
|
+
abbreviated: ["қаң", "ақп", "нау", "сәу", "мам", "мау", "шіл", "там", "қыр", "қаз", "қар", "жел"],
|
|
275
|
+
wide: ["қаңтар", "ақпан", "наурыз", "сәуір", "мамыр", "маусым", "шілде", "тамыз", "қыркүйек", "қазан", "қараша", "желтоқсан"]
|
|
276
|
+
}, z = {
|
|
277
|
+
narrow: ["Ж", "Д", "С", "С", "Б", "Ж", "С"],
|
|
278
|
+
short: ["жс", "дс", "сс", "ср", "бс", "жм", "сб"],
|
|
279
|
+
abbreviated: ["жс", "дс", "сс", "ср", "бс", "жм", "сб"],
|
|
280
|
+
wide: ["жексенбі", "дүйсенбі", "сейсенбі", "сәрсенбі", "бейсенбі", "жұма", "сенбі"]
|
|
281
|
+
}, X = {
|
|
282
|
+
narrow: {
|
|
283
|
+
am: "ТД",
|
|
284
|
+
pm: "ТК",
|
|
285
|
+
midnight: "түн ортасы",
|
|
286
|
+
noon: "түс",
|
|
287
|
+
morning: "таң",
|
|
288
|
+
afternoon: "күндіз",
|
|
289
|
+
evening: "кеш",
|
|
290
|
+
night: "түн"
|
|
291
|
+
},
|
|
292
|
+
wide: {
|
|
293
|
+
am: "ТД",
|
|
294
|
+
pm: "ТК",
|
|
295
|
+
midnight: "түн ортасы",
|
|
296
|
+
noon: "түс",
|
|
297
|
+
morning: "таң",
|
|
298
|
+
afternoon: "күндіз",
|
|
299
|
+
evening: "кеш",
|
|
300
|
+
night: "түн"
|
|
301
|
+
}
|
|
302
|
+
}, L = {
|
|
303
|
+
narrow: {
|
|
304
|
+
am: "ТД",
|
|
305
|
+
pm: "ТК",
|
|
306
|
+
midnight: "түн ортасында",
|
|
307
|
+
noon: "түс",
|
|
308
|
+
morning: "таң",
|
|
309
|
+
afternoon: "күн",
|
|
310
|
+
evening: "кеш",
|
|
311
|
+
night: "түн"
|
|
312
|
+
},
|
|
313
|
+
wide: {
|
|
314
|
+
am: "ТД",
|
|
315
|
+
pm: "ТК",
|
|
316
|
+
midnight: "түн ортасында",
|
|
317
|
+
noon: "түсте",
|
|
318
|
+
morning: "таңертең",
|
|
319
|
+
afternoon: "күндіз",
|
|
320
|
+
evening: "кеште",
|
|
321
|
+
night: "түнде"
|
|
322
|
+
}
|
|
323
|
+
}, v = {
|
|
324
|
+
0: "-ші",
|
|
325
|
+
1: "-ші",
|
|
326
|
+
2: "-ші",
|
|
327
|
+
3: "-ші",
|
|
328
|
+
4: "-ші",
|
|
329
|
+
5: "-ші",
|
|
330
|
+
6: "-шы",
|
|
331
|
+
7: "-ші",
|
|
332
|
+
8: "-ші",
|
|
333
|
+
9: "-шы",
|
|
334
|
+
10: "-шы",
|
|
335
|
+
20: "-шы",
|
|
336
|
+
30: "-шы",
|
|
337
|
+
40: "-шы",
|
|
338
|
+
50: "-ші",
|
|
339
|
+
60: "-шы",
|
|
340
|
+
70: "-ші",
|
|
341
|
+
80: "-ші",
|
|
342
|
+
90: "-шы",
|
|
343
|
+
100: "-ші"
|
|
344
|
+
}, T = function(e, n) {
|
|
345
|
+
var t = Number(e), i = t % 10, r = t >= 100 ? 100 : null, g = v[t] || v[i] || r && v[r] || "";
|
|
346
|
+
return t + g;
|
|
347
|
+
}, E = {
|
|
348
|
+
ordinalNumber: T,
|
|
349
|
+
era: u({
|
|
350
|
+
values: C,
|
|
351
|
+
defaultWidth: "wide"
|
|
352
|
+
}),
|
|
353
|
+
quarter: u({
|
|
354
|
+
values: F,
|
|
355
|
+
defaultWidth: "wide",
|
|
356
|
+
argumentCallback: function(e) {
|
|
357
|
+
return e - 1;
|
|
358
|
+
}
|
|
359
|
+
}),
|
|
360
|
+
month: u({
|
|
361
|
+
values: S,
|
|
362
|
+
defaultWidth: "wide",
|
|
363
|
+
formattingValues: V,
|
|
364
|
+
defaultFormattingWidth: "wide"
|
|
365
|
+
}),
|
|
366
|
+
day: u({
|
|
367
|
+
values: z,
|
|
368
|
+
defaultWidth: "wide"
|
|
369
|
+
}),
|
|
370
|
+
dayPeriod: u({
|
|
371
|
+
values: X,
|
|
372
|
+
defaultWidth: "any",
|
|
373
|
+
formattingValues: L,
|
|
374
|
+
defaultFormattingWidth: "wide"
|
|
375
|
+
})
|
|
376
|
+
};
|
|
377
|
+
const H = E;
|
|
378
|
+
var R = /^(\d+)(-?(ші|шы))?/i, $ = /\d+/i, Y = {
|
|
379
|
+
narrow: /^((б )?з\.?\s?д\.?)/i,
|
|
380
|
+
abbreviated: /^((б )?з\.?\s?д\.?)/i,
|
|
381
|
+
wide: /^(біздің заманымызға дейін|біздің заманымыз|біздің заманымыздан)/i
|
|
382
|
+
}, q = {
|
|
383
|
+
any: [/^б/i, /^з/i]
|
|
384
|
+
}, O = {
|
|
385
|
+
narrow: /^[1234]/i,
|
|
386
|
+
abbreviated: /^[1234](-?ші)? тоқ.?/i,
|
|
387
|
+
wide: /^[1234](-?ші)? тоқсан/i
|
|
388
|
+
}, U = {
|
|
389
|
+
any: [/1/i, /2/i, /3/i, /4/i]
|
|
390
|
+
}, _ = {
|
|
391
|
+
narrow: /^(қ|а|н|с|м|мау|ш|т|қыр|қаз|қар|ж)/i,
|
|
392
|
+
abbreviated: /^(қаң|ақп|нау|сәу|мам|мау|шіл|там|қыр|қаз|қар|жел)/i,
|
|
393
|
+
wide: /^(қаңтар|ақпан|наурыз|сәуір|мамыр|маусым|шілде|тамыз|қыркүйек|қазан|қараша|желтоқсан)/i
|
|
394
|
+
}, A = {
|
|
395
|
+
narrow: [/^қ/i, /^а/i, /^н/i, /^с/i, /^м/i, /^м/i, /^ш/i, /^т/i, /^қ/i, /^қ/i, /^қ/i, /^ж/i],
|
|
396
|
+
abbreviated: [/^қаң/i, /^ақп/i, /^нау/i, /^сәу/i, /^мам/i, /^мау/i, /^шіл/i, /^там/i, /^қыр/i, /^қаз/i, /^қар/i, /^жел/i],
|
|
397
|
+
any: [/^қ/i, /^а/i, /^н/i, /^с/i, /^м/i, /^м/i, /^ш/i, /^т/i, /^қ/i, /^қ/i, /^қ/i, /^ж/i]
|
|
398
|
+
}, Q = {
|
|
399
|
+
narrow: /^(ж|д|с|с|б|ж|с)/i,
|
|
400
|
+
short: /^(жс|дс|сс|ср|бс|жм|сб)/i,
|
|
401
|
+
wide: /^(жексенбі|дүйсенбі|сейсенбі|сәрсенбі|бейсенбі|жұма|сенбі)/i
|
|
402
|
+
}, I = {
|
|
403
|
+
narrow: [/^ж/i, /^д/i, /^с/i, /^с/i, /^б/i, /^ж/i, /^с/i],
|
|
404
|
+
short: [/^жс/i, /^дс/i, /^сс/i, /^ср/i, /^бс/i, /^жм/i, /^сб/i],
|
|
405
|
+
any: [/^ж[ек]/i, /^д[үй]/i, /^сe[й]/i, /^сә[р]/i, /^б[ей]/i, /^ж[ұм]/i, /^се[н]/i]
|
|
406
|
+
}, j = {
|
|
407
|
+
narrow: /^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i,
|
|
408
|
+
wide: /^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i,
|
|
409
|
+
any: /^Т\.?\s?[ДК]\.?|түн ортасында|((түсте|таңертең|таңда|таңертең|таңмен|таң|күндіз|күн|кеште|кеш|түнде|түн)\.?)/i
|
|
410
|
+
}, B = {
|
|
411
|
+
any: {
|
|
412
|
+
am: /^ТД/i,
|
|
413
|
+
pm: /^ТК/i,
|
|
414
|
+
midnight: /^түн орта/i,
|
|
415
|
+
noon: /^күндіз/i,
|
|
416
|
+
morning: /таң/i,
|
|
417
|
+
afternoon: /түс/i,
|
|
418
|
+
evening: /кеш/i,
|
|
419
|
+
night: /түн/i
|
|
420
|
+
}
|
|
421
|
+
}, J = {
|
|
422
|
+
ordinalNumber: f({
|
|
423
|
+
matchPattern: R,
|
|
424
|
+
parsePattern: $,
|
|
425
|
+
valueCallback: function(e) {
|
|
426
|
+
return parseInt(e, 10);
|
|
427
|
+
}
|
|
428
|
+
}),
|
|
429
|
+
era: o({
|
|
430
|
+
matchPatterns: Y,
|
|
431
|
+
defaultMatchWidth: "wide",
|
|
432
|
+
parsePatterns: q,
|
|
433
|
+
defaultParseWidth: "any"
|
|
434
|
+
}),
|
|
435
|
+
quarter: o({
|
|
436
|
+
matchPatterns: O,
|
|
437
|
+
defaultMatchWidth: "wide",
|
|
438
|
+
parsePatterns: U,
|
|
439
|
+
defaultParseWidth: "any",
|
|
440
|
+
valueCallback: function(e) {
|
|
441
|
+
return e + 1;
|
|
442
|
+
}
|
|
443
|
+
}),
|
|
444
|
+
month: o({
|
|
445
|
+
matchPatterns: _,
|
|
446
|
+
defaultMatchWidth: "wide",
|
|
447
|
+
parsePatterns: A,
|
|
448
|
+
defaultParseWidth: "any"
|
|
449
|
+
}),
|
|
450
|
+
day: o({
|
|
451
|
+
matchPatterns: Q,
|
|
452
|
+
defaultMatchWidth: "wide",
|
|
453
|
+
parsePatterns: I,
|
|
454
|
+
defaultParseWidth: "any"
|
|
455
|
+
}),
|
|
456
|
+
dayPeriod: o({
|
|
457
|
+
matchPatterns: j,
|
|
458
|
+
defaultMatchWidth: "wide",
|
|
459
|
+
parsePatterns: B,
|
|
460
|
+
defaultParseWidth: "any"
|
|
461
|
+
})
|
|
462
|
+
};
|
|
463
|
+
const K = J;
|
|
464
|
+
var ge = {
|
|
465
|
+
code: "kk",
|
|
466
|
+
formatDistance: G,
|
|
467
|
+
formatLong: N,
|
|
468
|
+
formatRelative: D,
|
|
469
|
+
localize: H,
|
|
470
|
+
match: K,
|
|
471
|
+
options: {
|
|
472
|
+
weekStartsOn: 1,
|
|
473
|
+
firstWeekContainsDate: 1
|
|
474
|
+
}
|
|
475
|
+
};
|
|
476
|
+
export {
|
|
477
|
+
ge as default
|
|
478
|
+
};
|