@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,297 @@
|
|
|
1
|
+
import { a as s, b as n, c as u, d as i } from "./index-51cf15b2.js";
|
|
2
|
+
import "./Badge.es.js";
|
|
3
|
+
import "./jsx-runtime-944c88e2.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "./index-96a8d125.js";
|
|
6
|
+
import "./utils-7e50508b.js";
|
|
7
|
+
import "./Button.es.js";
|
|
8
|
+
import "./isObjectLike-1b8bbac2.js";
|
|
9
|
+
import "./Dialog.es.js";
|
|
10
|
+
import "react-dom";
|
|
11
|
+
import "./close-c67ec245.js";
|
|
12
|
+
import "./Drawer.es.js";
|
|
13
|
+
import "./Slider.es.js";
|
|
14
|
+
import "./Divider.es.js";
|
|
15
|
+
var d = {
|
|
16
|
+
lessThanXSeconds: {
|
|
17
|
+
one: "malpli ol sekundo",
|
|
18
|
+
other: "malpli ol {{count}} sekundoj"
|
|
19
|
+
},
|
|
20
|
+
xSeconds: {
|
|
21
|
+
one: "1 sekundo",
|
|
22
|
+
other: "{{count}} sekundoj"
|
|
23
|
+
},
|
|
24
|
+
halfAMinute: "duonminuto",
|
|
25
|
+
lessThanXMinutes: {
|
|
26
|
+
one: "malpli ol minuto",
|
|
27
|
+
other: "malpli ol {{count}} minutoj"
|
|
28
|
+
},
|
|
29
|
+
xMinutes: {
|
|
30
|
+
one: "1 minuto",
|
|
31
|
+
other: "{{count}} minutoj"
|
|
32
|
+
},
|
|
33
|
+
aboutXHours: {
|
|
34
|
+
one: "proksimume 1 horo",
|
|
35
|
+
other: "proksimume {{count}} horoj"
|
|
36
|
+
},
|
|
37
|
+
xHours: {
|
|
38
|
+
one: "1 horo",
|
|
39
|
+
other: "{{count}} horoj"
|
|
40
|
+
},
|
|
41
|
+
xDays: {
|
|
42
|
+
one: "1 tago",
|
|
43
|
+
other: "{{count}} tagoj"
|
|
44
|
+
},
|
|
45
|
+
aboutXMonths: {
|
|
46
|
+
one: "proksimume 1 monato",
|
|
47
|
+
other: "proksimume {{count}} monatoj"
|
|
48
|
+
},
|
|
49
|
+
xWeeks: {
|
|
50
|
+
one: "1 semajno",
|
|
51
|
+
other: "{{count}} semajnoj"
|
|
52
|
+
},
|
|
53
|
+
aboutXWeeks: {
|
|
54
|
+
one: "proksimume 1 semajno",
|
|
55
|
+
other: "proksimume {{count}} semajnoj"
|
|
56
|
+
},
|
|
57
|
+
xMonths: {
|
|
58
|
+
one: "1 monato",
|
|
59
|
+
other: "{{count}} monatoj"
|
|
60
|
+
},
|
|
61
|
+
aboutXYears: {
|
|
62
|
+
one: "proksimume 1 jaro",
|
|
63
|
+
other: "proksimume {{count}} jaroj"
|
|
64
|
+
},
|
|
65
|
+
xYears: {
|
|
66
|
+
one: "1 jaro",
|
|
67
|
+
other: "{{count}} jaroj"
|
|
68
|
+
},
|
|
69
|
+
overXYears: {
|
|
70
|
+
one: "pli ol 1 jaro",
|
|
71
|
+
other: "pli ol {{count}} jaroj"
|
|
72
|
+
},
|
|
73
|
+
almostXYears: {
|
|
74
|
+
one: "preskaŭ 1 jaro",
|
|
75
|
+
other: "preskaŭ {{count}} jaroj"
|
|
76
|
+
}
|
|
77
|
+
}, l = function(a, r, e) {
|
|
78
|
+
var t, m = d[a];
|
|
79
|
+
return typeof m == "string" ? t = m : r === 1 ? t = m.one : t = m.other.replace("{{count}}", String(r)), e != null && e.addSuffix ? e != null && e.comparison && e.comparison > 0 ? "post " + t : "antaŭ " + t : t;
|
|
80
|
+
};
|
|
81
|
+
const h = l;
|
|
82
|
+
var p = {
|
|
83
|
+
full: "EEEE, do 'de' MMMM y",
|
|
84
|
+
long: "y-MMMM-dd",
|
|
85
|
+
medium: "y-MMM-dd",
|
|
86
|
+
short: "yyyy-MM-dd"
|
|
87
|
+
}, v = {
|
|
88
|
+
full: "Ho 'horo kaj' m:ss zzzz",
|
|
89
|
+
long: "HH:mm:ss z",
|
|
90
|
+
medium: "HH:mm:ss",
|
|
91
|
+
short: "HH:mm"
|
|
92
|
+
}, c = {
|
|
93
|
+
any: "{{date}} {{time}}"
|
|
94
|
+
}, j = {
|
|
95
|
+
date: s({
|
|
96
|
+
formats: p,
|
|
97
|
+
defaultWidth: "full"
|
|
98
|
+
}),
|
|
99
|
+
time: s({
|
|
100
|
+
formats: v,
|
|
101
|
+
defaultWidth: "full"
|
|
102
|
+
}),
|
|
103
|
+
dateTime: s({
|
|
104
|
+
formats: c,
|
|
105
|
+
defaultWidth: "any"
|
|
106
|
+
})
|
|
107
|
+
};
|
|
108
|
+
const f = j;
|
|
109
|
+
var b = {
|
|
110
|
+
lastWeek: "'pasinta' eeee 'je' p",
|
|
111
|
+
yesterday: "'hieraŭ je' p",
|
|
112
|
+
today: "'hodiaŭ je' p",
|
|
113
|
+
tomorrow: "'morgaŭ je' p",
|
|
114
|
+
nextWeek: "eeee 'je' p",
|
|
115
|
+
other: "P"
|
|
116
|
+
}, k = function(a, r, e, t) {
|
|
117
|
+
return b[a];
|
|
118
|
+
};
|
|
119
|
+
const g = k;
|
|
120
|
+
var P = {
|
|
121
|
+
narrow: ["aK", "pK"],
|
|
122
|
+
abbreviated: ["a.K.E.", "p.K.E."],
|
|
123
|
+
wide: ["antaŭ Komuna Erao", "Komuna Erao"]
|
|
124
|
+
}, w = {
|
|
125
|
+
narrow: ["1", "2", "3", "4"],
|
|
126
|
+
abbreviated: ["K1", "K2", "K3", "K4"],
|
|
127
|
+
wide: ["1-a kvaronjaro", "2-a kvaronjaro", "3-a kvaronjaro", "4-a kvaronjaro"]
|
|
128
|
+
}, y = {
|
|
129
|
+
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
130
|
+
abbreviated: ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aŭg", "sep", "okt", "nov", "dec"],
|
|
131
|
+
wide: ["januaro", "februaro", "marto", "aprilo", "majo", "junio", "julio", "aŭgusto", "septembro", "oktobro", "novembro", "decembro"]
|
|
132
|
+
}, z = {
|
|
133
|
+
narrow: ["D", "L", "M", "M", "Ĵ", "V", "S"],
|
|
134
|
+
short: ["di", "lu", "ma", "me", "ĵa", "ve", "sa"],
|
|
135
|
+
abbreviated: ["dim", "lun", "mar", "mer", "ĵaŭ", "ven", "sab"],
|
|
136
|
+
wide: ["dimanĉo", "lundo", "mardo", "merkredo", "ĵaŭdo", "vendredo", "sabato"]
|
|
137
|
+
}, M = {
|
|
138
|
+
narrow: {
|
|
139
|
+
am: "a",
|
|
140
|
+
pm: "p",
|
|
141
|
+
midnight: "noktomezo",
|
|
142
|
+
noon: "tagmezo",
|
|
143
|
+
morning: "matene",
|
|
144
|
+
afternoon: "posttagmeze",
|
|
145
|
+
evening: "vespere",
|
|
146
|
+
night: "nokte"
|
|
147
|
+
},
|
|
148
|
+
abbreviated: {
|
|
149
|
+
am: "a.t.m.",
|
|
150
|
+
pm: "p.t.m.",
|
|
151
|
+
midnight: "noktomezo",
|
|
152
|
+
noon: "tagmezo",
|
|
153
|
+
morning: "matene",
|
|
154
|
+
afternoon: "posttagmeze",
|
|
155
|
+
evening: "vespere",
|
|
156
|
+
night: "nokte"
|
|
157
|
+
},
|
|
158
|
+
wide: {
|
|
159
|
+
am: "antaŭtagmeze",
|
|
160
|
+
pm: "posttagmeze",
|
|
161
|
+
midnight: "noktomezo",
|
|
162
|
+
noon: "tagmezo",
|
|
163
|
+
morning: "matene",
|
|
164
|
+
afternoon: "posttagmeze",
|
|
165
|
+
evening: "vespere",
|
|
166
|
+
night: "nokte"
|
|
167
|
+
}
|
|
168
|
+
}, W = function(a) {
|
|
169
|
+
var r = Number(a);
|
|
170
|
+
return r + "-a";
|
|
171
|
+
}, x = {
|
|
172
|
+
ordinalNumber: W,
|
|
173
|
+
era: n({
|
|
174
|
+
values: P,
|
|
175
|
+
defaultWidth: "wide"
|
|
176
|
+
}),
|
|
177
|
+
quarter: n({
|
|
178
|
+
values: w,
|
|
179
|
+
defaultWidth: "wide",
|
|
180
|
+
argumentCallback: function(a) {
|
|
181
|
+
return Number(a) - 1;
|
|
182
|
+
}
|
|
183
|
+
}),
|
|
184
|
+
month: n({
|
|
185
|
+
values: y,
|
|
186
|
+
defaultWidth: "wide"
|
|
187
|
+
}),
|
|
188
|
+
day: n({
|
|
189
|
+
values: z,
|
|
190
|
+
defaultWidth: "wide"
|
|
191
|
+
}),
|
|
192
|
+
dayPeriod: n({
|
|
193
|
+
values: M,
|
|
194
|
+
defaultWidth: "wide"
|
|
195
|
+
})
|
|
196
|
+
};
|
|
197
|
+
const D = x;
|
|
198
|
+
var E = /^(\d+)(-?a)?/i, K = /\d+/i, F = {
|
|
199
|
+
narrow: /^([ap]k)/i,
|
|
200
|
+
abbreviated: /^([ap]\.?\s?k\.?\s?e\.?)/i,
|
|
201
|
+
wide: /^((antaǔ |post )?komuna erao)/i
|
|
202
|
+
}, H = {
|
|
203
|
+
any: [/^a/i, /^[kp]/i]
|
|
204
|
+
}, N = {
|
|
205
|
+
narrow: /^[1234]/i,
|
|
206
|
+
abbreviated: /^k[1234]/i,
|
|
207
|
+
wide: /^[1234](-?a)? kvaronjaro/i
|
|
208
|
+
}, L = {
|
|
209
|
+
any: [/1/i, /2/i, /3/i, /4/i]
|
|
210
|
+
}, X = {
|
|
211
|
+
narrow: /^[jfmasond]/i,
|
|
212
|
+
abbreviated: /^(jan|feb|mar|apr|maj|jun|jul|a(ŭ|ux|uh|u)g|sep|okt|nov|dec)/i,
|
|
213
|
+
wide: /^(januaro|februaro|marto|aprilo|majo|junio|julio|a(ŭ|ux|uh|u)gusto|septembro|oktobro|novembro|decembro)/i
|
|
214
|
+
}, C = {
|
|
215
|
+
narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
|
|
216
|
+
any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^a(u|ŭ)/i, /^s/i, /^o/i, /^n/i, /^d/i]
|
|
217
|
+
}, S = {
|
|
218
|
+
narrow: /^[dlmĵjvs]/i,
|
|
219
|
+
short: /^(di|lu|ma|me|(ĵ|jx|jh|j)a|ve|sa)/i,
|
|
220
|
+
abbreviated: /^(dim|lun|mar|mer|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)|ven|sab)/i,
|
|
221
|
+
wide: /^(diman(ĉ|cx|ch|c)o|lundo|mardo|merkredo|(ĵ|jx|jh|j)a(ŭ|ux|uh|u)do|vendredo|sabato)/i
|
|
222
|
+
}, V = {
|
|
223
|
+
narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^(j|ĵ)/i, /^v/i, /^s/i],
|
|
224
|
+
any: [/^d/i, /^l/i, /^ma/i, /^me/i, /^(j|ĵ)/i, /^v/i, /^s/i]
|
|
225
|
+
}, R = {
|
|
226
|
+
narrow: /^([ap]|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i,
|
|
227
|
+
abbreviated: /^([ap][.\s]?t[.\s]?m[.\s]?|(posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo])/i,
|
|
228
|
+
wide: /^(anta(ŭ|ux)tagmez|posttagmez|noktomez|tagmez|maten|vesper|nokt)[eo]/i
|
|
229
|
+
}, $ = {
|
|
230
|
+
any: {
|
|
231
|
+
am: /^a/i,
|
|
232
|
+
pm: /^p/i,
|
|
233
|
+
midnight: /^noktom/i,
|
|
234
|
+
noon: /^t/i,
|
|
235
|
+
morning: /^m/i,
|
|
236
|
+
afternoon: /^posttagmeze/i,
|
|
237
|
+
evening: /^v/i,
|
|
238
|
+
night: /^n/i
|
|
239
|
+
}
|
|
240
|
+
}, O = {
|
|
241
|
+
ordinalNumber: u({
|
|
242
|
+
matchPattern: E,
|
|
243
|
+
parsePattern: K,
|
|
244
|
+
valueCallback: function(a) {
|
|
245
|
+
return parseInt(a, 10);
|
|
246
|
+
}
|
|
247
|
+
}),
|
|
248
|
+
era: i({
|
|
249
|
+
matchPatterns: F,
|
|
250
|
+
defaultMatchWidth: "wide",
|
|
251
|
+
parsePatterns: H,
|
|
252
|
+
defaultParseWidth: "any"
|
|
253
|
+
}),
|
|
254
|
+
quarter: i({
|
|
255
|
+
matchPatterns: N,
|
|
256
|
+
defaultMatchWidth: "wide",
|
|
257
|
+
parsePatterns: L,
|
|
258
|
+
defaultParseWidth: "any",
|
|
259
|
+
valueCallback: function(a) {
|
|
260
|
+
return a + 1;
|
|
261
|
+
}
|
|
262
|
+
}),
|
|
263
|
+
month: i({
|
|
264
|
+
matchPatterns: X,
|
|
265
|
+
defaultMatchWidth: "wide",
|
|
266
|
+
parsePatterns: C,
|
|
267
|
+
defaultParseWidth: "any"
|
|
268
|
+
}),
|
|
269
|
+
day: i({
|
|
270
|
+
matchPatterns: S,
|
|
271
|
+
defaultMatchWidth: "wide",
|
|
272
|
+
parsePatterns: V,
|
|
273
|
+
defaultParseWidth: "any"
|
|
274
|
+
}),
|
|
275
|
+
dayPeriod: i({
|
|
276
|
+
matchPatterns: R,
|
|
277
|
+
defaultMatchWidth: "wide",
|
|
278
|
+
parsePatterns: $,
|
|
279
|
+
defaultParseWidth: "any"
|
|
280
|
+
})
|
|
281
|
+
};
|
|
282
|
+
const T = O;
|
|
283
|
+
var oa = {
|
|
284
|
+
code: "eo",
|
|
285
|
+
formatDistance: h,
|
|
286
|
+
formatLong: f,
|
|
287
|
+
formatRelative: g,
|
|
288
|
+
localize: D,
|
|
289
|
+
match: T,
|
|
290
|
+
options: {
|
|
291
|
+
weekStartsOn: 1,
|
|
292
|
+
firstWeekContainsDate: 4
|
|
293
|
+
}
|
|
294
|
+
};
|
|
295
|
+
export {
|
|
296
|
+
oa as default
|
|
297
|
+
};
|
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
import { a as o, b as s, c as l, d } from "./index-51cf15b2.js";
|
|
2
|
+
import { i as u } 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 r(a) {
|
|
17
|
+
return function(e, t) {
|
|
18
|
+
if (e === 1)
|
|
19
|
+
return t != null && t.addSuffix ? a.one[0].replace("{{time}}", a.one[2]) : a.one[0].replace("{{time}}", a.one[1]);
|
|
20
|
+
var i = e % 10 === 1 && e % 100 !== 11;
|
|
21
|
+
return t != null && t.addSuffix ? a.other[0].replace("{{time}}", i ? a.other[3] : a.other[4]).replace("{{count}}", String(e)) : a.other[0].replace("{{time}}", i ? a.other[1] : a.other[2]).replace("{{count}}", String(e));
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
var c = {
|
|
25
|
+
lessThanXSeconds: r({
|
|
26
|
+
one: ["mazāk par {{time}}", "sekundi", "sekundi"],
|
|
27
|
+
other: ["mazāk nekā {{count}} {{time}}", "sekunde", "sekundes", "sekundes", "sekundēm"]
|
|
28
|
+
}),
|
|
29
|
+
xSeconds: r({
|
|
30
|
+
one: ["1 {{time}}", "sekunde", "sekundes"],
|
|
31
|
+
other: ["{{count}} {{time}}", "sekunde", "sekundes", "sekundes", "sekundēm"]
|
|
32
|
+
}),
|
|
33
|
+
halfAMinute: function(e, t) {
|
|
34
|
+
return t != null && t.addSuffix ? "pusminūtes" : "pusminūte";
|
|
35
|
+
},
|
|
36
|
+
lessThanXMinutes: r({
|
|
37
|
+
one: ["mazāk par {{time}}", "minūti", "minūti"],
|
|
38
|
+
other: ["mazāk nekā {{count}} {{time}}", "minūte", "minūtes", "minūtes", "minūtēm"]
|
|
39
|
+
}),
|
|
40
|
+
xMinutes: r({
|
|
41
|
+
one: ["1 {{time}}", "minūte", "minūtes"],
|
|
42
|
+
other: ["{{count}} {{time}}", "minūte", "minūtes", "minūtes", "minūtēm"]
|
|
43
|
+
}),
|
|
44
|
+
aboutXHours: r({
|
|
45
|
+
one: ["apmēram 1 {{time}}", "stunda", "stundas"],
|
|
46
|
+
other: ["apmēram {{count}} {{time}}", "stunda", "stundas", "stundas", "stundām"]
|
|
47
|
+
}),
|
|
48
|
+
xHours: r({
|
|
49
|
+
one: ["1 {{time}}", "stunda", "stundas"],
|
|
50
|
+
other: ["{{count}} {{time}}", "stunda", "stundas", "stundas", "stundām"]
|
|
51
|
+
}),
|
|
52
|
+
xDays: r({
|
|
53
|
+
one: ["1 {{time}}", "diena", "dienas"],
|
|
54
|
+
other: ["{{count}} {{time}}", "diena", "dienas", "dienas", "dienām"]
|
|
55
|
+
}),
|
|
56
|
+
aboutXWeeks: r({
|
|
57
|
+
one: ["apmēram 1 {{time}}", "nedēļa", "nedēļas"],
|
|
58
|
+
other: ["apmēram {{count}} {{time}}", "nedēļa", "nedēļu", "nedēļas", "nedēļām"]
|
|
59
|
+
}),
|
|
60
|
+
xWeeks: r({
|
|
61
|
+
one: ["1 {{time}}", "nedēļa", "nedēļas"],
|
|
62
|
+
other: [
|
|
63
|
+
"{{count}} {{time}}",
|
|
64
|
+
// TODO
|
|
65
|
+
"nedēļa",
|
|
66
|
+
"nedēļu",
|
|
67
|
+
"nedēļas",
|
|
68
|
+
"nedēļām"
|
|
69
|
+
]
|
|
70
|
+
}),
|
|
71
|
+
aboutXMonths: r({
|
|
72
|
+
one: ["apmēram 1 {{time}}", "mēnesis", "mēneša"],
|
|
73
|
+
other: ["apmēram {{count}} {{time}}", "mēnesis", "mēneši", "mēneša", "mēnešiem"]
|
|
74
|
+
}),
|
|
75
|
+
xMonths: r({
|
|
76
|
+
one: ["1 {{time}}", "mēnesis", "mēneša"],
|
|
77
|
+
other: ["{{count}} {{time}}", "mēnesis", "mēneši", "mēneša", "mēnešiem"]
|
|
78
|
+
}),
|
|
79
|
+
aboutXYears: r({
|
|
80
|
+
one: ["apmēram 1 {{time}}", "gads", "gada"],
|
|
81
|
+
other: ["apmēram {{count}} {{time}}", "gads", "gadi", "gada", "gadiem"]
|
|
82
|
+
}),
|
|
83
|
+
xYears: r({
|
|
84
|
+
one: ["1 {{time}}", "gads", "gada"],
|
|
85
|
+
other: ["{{count}} {{time}}", "gads", "gadi", "gada", "gadiem"]
|
|
86
|
+
}),
|
|
87
|
+
overXYears: r({
|
|
88
|
+
one: ["ilgāk par 1 {{time}}", "gadu", "gadu"],
|
|
89
|
+
other: ["vairāk nekā {{count}} {{time}}", "gads", "gadi", "gada", "gadiem"]
|
|
90
|
+
}),
|
|
91
|
+
almostXYears: r({
|
|
92
|
+
one: ["gandrīz 1 {{time}}", "gads", "gada"],
|
|
93
|
+
other: ["vairāk nekā {{count}} {{time}}", "gads", "gadi", "gada", "gadiem"]
|
|
94
|
+
})
|
|
95
|
+
}, v = function(e, t, i) {
|
|
96
|
+
var n = c[e](t, i);
|
|
97
|
+
return i != null && i.addSuffix ? i.comparison && i.comparison > 0 ? "pēc " + n : "pirms " + n : n;
|
|
98
|
+
};
|
|
99
|
+
const f = v;
|
|
100
|
+
var k = {
|
|
101
|
+
full: "EEEE, y. 'gada' d. MMMM",
|
|
102
|
+
long: "y. 'gada' d. MMMM",
|
|
103
|
+
medium: "dd.MM.y.",
|
|
104
|
+
short: "dd.MM.y."
|
|
105
|
+
}, h = {
|
|
106
|
+
full: "HH:mm:ss zzzz",
|
|
107
|
+
long: "HH:mm:ss z",
|
|
108
|
+
medium: "HH:mm:ss",
|
|
109
|
+
short: "HH:mm"
|
|
110
|
+
}, g = {
|
|
111
|
+
full: "{{date}} 'plkst.' {{time}}",
|
|
112
|
+
long: "{{date}} 'plkst.' {{time}}",
|
|
113
|
+
medium: "{{date}}, {{time}}",
|
|
114
|
+
short: "{{date}}, {{time}}"
|
|
115
|
+
}, b = {
|
|
116
|
+
date: o({
|
|
117
|
+
formats: k,
|
|
118
|
+
defaultWidth: "full"
|
|
119
|
+
}),
|
|
120
|
+
time: o({
|
|
121
|
+
formats: h,
|
|
122
|
+
defaultWidth: "full"
|
|
123
|
+
}),
|
|
124
|
+
dateTime: o({
|
|
125
|
+
formats: g,
|
|
126
|
+
defaultWidth: "full"
|
|
127
|
+
})
|
|
128
|
+
};
|
|
129
|
+
const w = b;
|
|
130
|
+
var p = ["svētdienā", "pirmdienā", "otrdienā", "trešdienā", "ceturtdienā", "piektdienā", "sestdienā"], j = {
|
|
131
|
+
lastWeek: function(e, t, i) {
|
|
132
|
+
if (u(e, t, i))
|
|
133
|
+
return "eeee 'plkst.' p";
|
|
134
|
+
var n = p[e.getUTCDay()];
|
|
135
|
+
return "'Pagājušā " + n + " plkst.' p";
|
|
136
|
+
},
|
|
137
|
+
yesterday: "'Vakar plkst.' p",
|
|
138
|
+
today: "'Šodien plkst.' p",
|
|
139
|
+
tomorrow: "'Rīt plkst.' p",
|
|
140
|
+
nextWeek: function(e, t, i) {
|
|
141
|
+
if (u(e, t, i))
|
|
142
|
+
return "eeee 'plkst.' p";
|
|
143
|
+
var n = p[e.getUTCDay()];
|
|
144
|
+
return "'Nākamajā " + n + " plkst.' p";
|
|
145
|
+
},
|
|
146
|
+
other: "P"
|
|
147
|
+
}, P = function(e, t, i, n) {
|
|
148
|
+
var m = j[e];
|
|
149
|
+
return typeof m == "function" ? m(t, i, n) : m;
|
|
150
|
+
};
|
|
151
|
+
const y = P;
|
|
152
|
+
var M = {
|
|
153
|
+
narrow: ["p.m.ē", "m.ē"],
|
|
154
|
+
abbreviated: ["p. m. ē.", "m. ē."],
|
|
155
|
+
wide: ["pirms mūsu ēras", "mūsu ērā"]
|
|
156
|
+
}, W = {
|
|
157
|
+
narrow: ["1", "2", "3", "4"],
|
|
158
|
+
abbreviated: ["1. cet.", "2. cet.", "3. cet.", "4. cet."],
|
|
159
|
+
wide: ["pirmais ceturksnis", "otrais ceturksnis", "trešais ceturksnis", "ceturtais ceturksnis"]
|
|
160
|
+
}, S = {
|
|
161
|
+
narrow: ["1", "2", "3", "4"],
|
|
162
|
+
abbreviated: ["1. cet.", "2. cet.", "3. cet.", "4. cet."],
|
|
163
|
+
wide: ["pirmajā ceturksnī", "otrajā ceturksnī", "trešajā ceturksnī", "ceturtajā ceturksnī"]
|
|
164
|
+
}, D = {
|
|
165
|
+
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
166
|
+
abbreviated: ["janv.", "febr.", "marts", "apr.", "maijs", "jūn.", "jūl.", "aug.", "sept.", "okt.", "nov.", "dec."],
|
|
167
|
+
wide: ["janvāris", "februāris", "marts", "aprīlis", "maijs", "jūnijs", "jūlijs", "augusts", "septembris", "oktobris", "novembris", "decembris"]
|
|
168
|
+
}, z = {
|
|
169
|
+
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
170
|
+
abbreviated: ["janv.", "febr.", "martā", "apr.", "maijs", "jūn.", "jūl.", "aug.", "sept.", "okt.", "nov.", "dec."],
|
|
171
|
+
wide: ["janvārī", "februārī", "martā", "aprīlī", "maijā", "jūnijā", "jūlijā", "augustā", "septembrī", "oktobrī", "novembrī", "decembrī"]
|
|
172
|
+
}, F = {
|
|
173
|
+
narrow: ["S", "P", "O", "T", "C", "P", "S"],
|
|
174
|
+
short: ["Sv", "P", "O", "T", "C", "Pk", "S"],
|
|
175
|
+
abbreviated: ["svētd.", "pirmd.", "otrd.", "trešd.", "ceturtd.", "piektd.", "sestd."],
|
|
176
|
+
wide: ["svētdiena", "pirmdiena", "otrdiena", "trešdiena", "ceturtdiena", "piektdiena", "sestdiena"]
|
|
177
|
+
}, x = {
|
|
178
|
+
narrow: ["S", "P", "O", "T", "C", "P", "S"],
|
|
179
|
+
short: ["Sv", "P", "O", "T", "C", "Pk", "S"],
|
|
180
|
+
abbreviated: ["svētd.", "pirmd.", "otrd.", "trešd.", "ceturtd.", "piektd.", "sestd."],
|
|
181
|
+
wide: ["svētdienā", "pirmdienā", "otrdienā", "trešdienā", "ceturtdienā", "piektdienā", "sestdienā"]
|
|
182
|
+
}, C = {
|
|
183
|
+
narrow: {
|
|
184
|
+
am: "am",
|
|
185
|
+
pm: "pm",
|
|
186
|
+
midnight: "pusn.",
|
|
187
|
+
noon: "pusd.",
|
|
188
|
+
morning: "rīts",
|
|
189
|
+
afternoon: "diena",
|
|
190
|
+
evening: "vakars",
|
|
191
|
+
night: "nakts"
|
|
192
|
+
},
|
|
193
|
+
abbreviated: {
|
|
194
|
+
am: "am",
|
|
195
|
+
pm: "pm",
|
|
196
|
+
midnight: "pusn.",
|
|
197
|
+
noon: "pusd.",
|
|
198
|
+
morning: "rīts",
|
|
199
|
+
afternoon: "pēcpusd.",
|
|
200
|
+
evening: "vakars",
|
|
201
|
+
night: "nakts"
|
|
202
|
+
},
|
|
203
|
+
wide: {
|
|
204
|
+
am: "am",
|
|
205
|
+
pm: "pm",
|
|
206
|
+
midnight: "pusnakts",
|
|
207
|
+
noon: "pusdienlaiks",
|
|
208
|
+
morning: "rīts",
|
|
209
|
+
afternoon: "pēcpusdiena",
|
|
210
|
+
evening: "vakars",
|
|
211
|
+
night: "nakts"
|
|
212
|
+
}
|
|
213
|
+
}, V = {
|
|
214
|
+
narrow: {
|
|
215
|
+
am: "am",
|
|
216
|
+
pm: "pm",
|
|
217
|
+
midnight: "pusn.",
|
|
218
|
+
noon: "pusd.",
|
|
219
|
+
morning: "rītā",
|
|
220
|
+
afternoon: "dienā",
|
|
221
|
+
evening: "vakarā",
|
|
222
|
+
night: "naktī"
|
|
223
|
+
},
|
|
224
|
+
abbreviated: {
|
|
225
|
+
am: "am",
|
|
226
|
+
pm: "pm",
|
|
227
|
+
midnight: "pusn.",
|
|
228
|
+
noon: "pusd.",
|
|
229
|
+
morning: "rītā",
|
|
230
|
+
afternoon: "pēcpusd.",
|
|
231
|
+
evening: "vakarā",
|
|
232
|
+
night: "naktī"
|
|
233
|
+
},
|
|
234
|
+
wide: {
|
|
235
|
+
am: "am",
|
|
236
|
+
pm: "pm",
|
|
237
|
+
midnight: "pusnaktī",
|
|
238
|
+
noon: "pusdienlaikā",
|
|
239
|
+
morning: "rītā",
|
|
240
|
+
afternoon: "pēcpusdienā",
|
|
241
|
+
evening: "vakarā",
|
|
242
|
+
night: "naktī"
|
|
243
|
+
}
|
|
244
|
+
}, T = function(e, t) {
|
|
245
|
+
var i = Number(e);
|
|
246
|
+
return i + ".";
|
|
247
|
+
}, H = {
|
|
248
|
+
ordinalNumber: T,
|
|
249
|
+
era: s({
|
|
250
|
+
values: M,
|
|
251
|
+
defaultWidth: "wide"
|
|
252
|
+
}),
|
|
253
|
+
quarter: s({
|
|
254
|
+
values: W,
|
|
255
|
+
defaultWidth: "wide",
|
|
256
|
+
formattingValues: S,
|
|
257
|
+
defaultFormattingWidth: "wide",
|
|
258
|
+
argumentCallback: function(e) {
|
|
259
|
+
return e - 1;
|
|
260
|
+
}
|
|
261
|
+
}),
|
|
262
|
+
month: s({
|
|
263
|
+
values: D,
|
|
264
|
+
defaultWidth: "wide",
|
|
265
|
+
formattingValues: z,
|
|
266
|
+
defaultFormattingWidth: "wide"
|
|
267
|
+
}),
|
|
268
|
+
day: s({
|
|
269
|
+
values: F,
|
|
270
|
+
defaultWidth: "wide",
|
|
271
|
+
formattingValues: x,
|
|
272
|
+
defaultFormattingWidth: "wide"
|
|
273
|
+
}),
|
|
274
|
+
dayPeriod: s({
|
|
275
|
+
values: C,
|
|
276
|
+
defaultWidth: "wide",
|
|
277
|
+
formattingValues: V,
|
|
278
|
+
defaultFormattingWidth: "wide"
|
|
279
|
+
})
|
|
280
|
+
};
|
|
281
|
+
const N = H;
|
|
282
|
+
var O = /^(\d+)\./i, L = /\d+/i, X = {
|
|
283
|
+
narrow: /^(p\.m\.ē|m\.ē)/i,
|
|
284
|
+
abbreviated: /^(p\. m\. ē\.|m\. ē\.)/i,
|
|
285
|
+
wide: /^(pirms mūsu ēras|mūsu ērā)/i
|
|
286
|
+
}, A = {
|
|
287
|
+
any: [/^p/i, /^m/i]
|
|
288
|
+
}, E = {
|
|
289
|
+
narrow: /^[1234]/i,
|
|
290
|
+
abbreviated: /^[1234](\. cet\.)/i,
|
|
291
|
+
wide: /^(pirma(is|jā)|otra(is|jā)|treša(is|jā)|ceturta(is|jā)) ceturksn(is|ī)/i
|
|
292
|
+
}, J = {
|
|
293
|
+
narrow: [/^1/i, /^2/i, /^3/i, /^4/i],
|
|
294
|
+
abbreviated: [/^1/i, /^2/i, /^3/i, /^4/i],
|
|
295
|
+
wide: [/^p/i, /^o/i, /^t/i, /^c/i]
|
|
296
|
+
}, R = {
|
|
297
|
+
narrow: /^[jfmasond]/i,
|
|
298
|
+
abbreviated: /^(janv\.|febr\.|marts|apr\.|maijs|jūn\.|jūl\.|aug\.|sept\.|okt\.|nov\.|dec\.)/i,
|
|
299
|
+
wide: /^(janvār(is|ī)|februār(is|ī)|mart[sā]|aprīl(is|ī)|maij[sā]|jūnij[sā]|jūlij[sā]|august[sā]|septembr(is|ī)|oktobr(is|ī)|novembr(is|ī)|decembr(is|ī))/i
|
|
300
|
+
}, $ = {
|
|
301
|
+
narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
|
|
302
|
+
any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^mai/i, /^jūn/i, /^jūl/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
|
|
303
|
+
}, Y = {
|
|
304
|
+
narrow: /^[spotc]/i,
|
|
305
|
+
short: /^(sv|pi|o|t|c|pk|s)/i,
|
|
306
|
+
abbreviated: /^(svētd\.|pirmd\.|otrd.\|trešd\.|ceturtd\.|piektd\.|sestd\.)/i,
|
|
307
|
+
wide: /^(svētdien(a|ā)|pirmdien(a|ā)|otrdien(a|ā)|trešdien(a|ā)|ceturtdien(a|ā)|piektdien(a|ā)|sestdien(a|ā))/i
|
|
308
|
+
}, q = {
|
|
309
|
+
narrow: [/^s/i, /^p/i, /^o/i, /^t/i, /^c/i, /^p/i, /^s/i],
|
|
310
|
+
any: [/^sv/i, /^pi/i, /^o/i, /^t/i, /^c/i, /^p/i, /^se/i]
|
|
311
|
+
}, Q = {
|
|
312
|
+
narrow: /^(am|pm|pusn\.|pusd\.|rīt(s|ā)|dien(a|ā)|vakar(s|ā)|nakt(s|ī))/,
|
|
313
|
+
abbreviated: /^(am|pm|pusn\.|pusd\.|rīt(s|ā)|pēcpusd\.|vakar(s|ā)|nakt(s|ī))/,
|
|
314
|
+
wide: /^(am|pm|pusnakt(s|ī)|pusdienlaik(s|ā)|rīt(s|ā)|pēcpusdien(a|ā)|vakar(s|ā)|nakt(s|ī))/i
|
|
315
|
+
}, U = {
|
|
316
|
+
any: {
|
|
317
|
+
am: /^am/i,
|
|
318
|
+
pm: /^pm/i,
|
|
319
|
+
midnight: /^pusn/i,
|
|
320
|
+
noon: /^pusd/i,
|
|
321
|
+
morning: /^r/i,
|
|
322
|
+
afternoon: /^(d|pēc)/i,
|
|
323
|
+
evening: /^v/i,
|
|
324
|
+
night: /^n/i
|
|
325
|
+
}
|
|
326
|
+
}, _ = {
|
|
327
|
+
ordinalNumber: l({
|
|
328
|
+
matchPattern: O,
|
|
329
|
+
parsePattern: L,
|
|
330
|
+
valueCallback: function(e) {
|
|
331
|
+
return parseInt(e, 10);
|
|
332
|
+
}
|
|
333
|
+
}),
|
|
334
|
+
era: d({
|
|
335
|
+
matchPatterns: X,
|
|
336
|
+
defaultMatchWidth: "wide",
|
|
337
|
+
parsePatterns: A,
|
|
338
|
+
defaultParseWidth: "any"
|
|
339
|
+
}),
|
|
340
|
+
quarter: d({
|
|
341
|
+
matchPatterns: E,
|
|
342
|
+
defaultMatchWidth: "wide",
|
|
343
|
+
parsePatterns: J,
|
|
344
|
+
defaultParseWidth: "wide",
|
|
345
|
+
valueCallback: function(e) {
|
|
346
|
+
return e + 1;
|
|
347
|
+
}
|
|
348
|
+
}),
|
|
349
|
+
month: d({
|
|
350
|
+
matchPatterns: R,
|
|
351
|
+
defaultMatchWidth: "wide",
|
|
352
|
+
parsePatterns: $,
|
|
353
|
+
defaultParseWidth: "any"
|
|
354
|
+
}),
|
|
355
|
+
day: d({
|
|
356
|
+
matchPatterns: Y,
|
|
357
|
+
defaultMatchWidth: "wide",
|
|
358
|
+
parsePatterns: q,
|
|
359
|
+
defaultParseWidth: "any"
|
|
360
|
+
}),
|
|
361
|
+
dayPeriod: d({
|
|
362
|
+
matchPatterns: Q,
|
|
363
|
+
defaultMatchWidth: "wide",
|
|
364
|
+
parsePatterns: U,
|
|
365
|
+
defaultParseWidth: "any"
|
|
366
|
+
})
|
|
367
|
+
};
|
|
368
|
+
const I = _;
|
|
369
|
+
var pe = {
|
|
370
|
+
code: "lv",
|
|
371
|
+
formatDistance: f,
|
|
372
|
+
formatLong: w,
|
|
373
|
+
formatRelative: y,
|
|
374
|
+
localize: N,
|
|
375
|
+
match: I,
|
|
376
|
+
options: {
|
|
377
|
+
weekStartsOn: 1,
|
|
378
|
+
firstWeekContainsDate: 4
|
|
379
|
+
}
|
|
380
|
+
};
|
|
381
|
+
export {
|
|
382
|
+
pe as default
|
|
383
|
+
};
|