@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,377 @@
|
|
|
1
|
+
import { a as s, b as d, c as h, d as o } 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 m = {
|
|
16
|
+
lessThanXSeconds: {
|
|
17
|
+
one: "llai na eiliad",
|
|
18
|
+
other: "llai na {{count}} eiliad"
|
|
19
|
+
},
|
|
20
|
+
xSeconds: {
|
|
21
|
+
one: "1 eiliad",
|
|
22
|
+
other: "{{count}} eiliad"
|
|
23
|
+
},
|
|
24
|
+
halfAMinute: "hanner munud",
|
|
25
|
+
lessThanXMinutes: {
|
|
26
|
+
one: "llai na munud",
|
|
27
|
+
two: "llai na 2 funud",
|
|
28
|
+
other: "llai na {{count}} munud"
|
|
29
|
+
},
|
|
30
|
+
xMinutes: {
|
|
31
|
+
one: "1 munud",
|
|
32
|
+
two: "2 funud",
|
|
33
|
+
other: "{{count}} munud"
|
|
34
|
+
},
|
|
35
|
+
aboutXHours: {
|
|
36
|
+
one: "tua 1 awr",
|
|
37
|
+
other: "tua {{count}} awr"
|
|
38
|
+
},
|
|
39
|
+
xHours: {
|
|
40
|
+
one: "1 awr",
|
|
41
|
+
other: "{{count}} awr"
|
|
42
|
+
},
|
|
43
|
+
xDays: {
|
|
44
|
+
one: "1 diwrnod",
|
|
45
|
+
two: "2 ddiwrnod",
|
|
46
|
+
other: "{{count}} diwrnod"
|
|
47
|
+
},
|
|
48
|
+
aboutXWeeks: {
|
|
49
|
+
one: "tua 1 wythnos",
|
|
50
|
+
two: "tua pythefnos",
|
|
51
|
+
other: "tua {{count}} wythnos"
|
|
52
|
+
},
|
|
53
|
+
xWeeks: {
|
|
54
|
+
one: "1 wythnos",
|
|
55
|
+
two: "pythefnos",
|
|
56
|
+
other: "{{count}} wythnos"
|
|
57
|
+
},
|
|
58
|
+
aboutXMonths: {
|
|
59
|
+
one: "tua 1 mis",
|
|
60
|
+
two: "tua 2 fis",
|
|
61
|
+
other: "tua {{count}} mis"
|
|
62
|
+
},
|
|
63
|
+
xMonths: {
|
|
64
|
+
one: "1 mis",
|
|
65
|
+
two: "2 fis",
|
|
66
|
+
other: "{{count}} mis"
|
|
67
|
+
},
|
|
68
|
+
aboutXYears: {
|
|
69
|
+
one: "tua 1 flwyddyn",
|
|
70
|
+
two: "tua 2 flynedd",
|
|
71
|
+
other: "tua {{count}} mlynedd"
|
|
72
|
+
},
|
|
73
|
+
xYears: {
|
|
74
|
+
one: "1 flwyddyn",
|
|
75
|
+
two: "2 flynedd",
|
|
76
|
+
other: "{{count}} mlynedd"
|
|
77
|
+
},
|
|
78
|
+
overXYears: {
|
|
79
|
+
one: "dros 1 flwyddyn",
|
|
80
|
+
two: "dros 2 flynedd",
|
|
81
|
+
other: "dros {{count}} mlynedd"
|
|
82
|
+
},
|
|
83
|
+
almostXYears: {
|
|
84
|
+
one: "bron 1 flwyddyn",
|
|
85
|
+
two: "bron 2 flynedd",
|
|
86
|
+
other: "bron {{count}} mlynedd"
|
|
87
|
+
}
|
|
88
|
+
}, l = function(e, i, a) {
|
|
89
|
+
var r, n = m[e];
|
|
90
|
+
return typeof n == "string" ? r = n : i === 1 ? r = n.one : i === 2 && n.two ? r = n.two : r = n.other.replace("{{count}}", String(i)), a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? "mewn " + r : r + " yn ôl" : r;
|
|
91
|
+
};
|
|
92
|
+
const y = l;
|
|
93
|
+
var u = {
|
|
94
|
+
full: "EEEE, d MMMM yyyy",
|
|
95
|
+
long: "d MMMM yyyy",
|
|
96
|
+
medium: "d MMM yyyy",
|
|
97
|
+
short: "dd/MM/yyyy"
|
|
98
|
+
}, c = {
|
|
99
|
+
full: "h:mm:ss a zzzz",
|
|
100
|
+
long: "h:mm:ss a z",
|
|
101
|
+
medium: "h:mm:ss a",
|
|
102
|
+
short: "h:mm a"
|
|
103
|
+
}, w = {
|
|
104
|
+
full: "{{date}} 'am' {{time}}",
|
|
105
|
+
long: "{{date}} 'am' {{time}}",
|
|
106
|
+
medium: "{{date}}, {{time}}",
|
|
107
|
+
short: "{{date}}, {{time}}"
|
|
108
|
+
}, f = {
|
|
109
|
+
date: s({
|
|
110
|
+
formats: u,
|
|
111
|
+
defaultWidth: "full"
|
|
112
|
+
}),
|
|
113
|
+
time: s({
|
|
114
|
+
formats: c,
|
|
115
|
+
defaultWidth: "full"
|
|
116
|
+
}),
|
|
117
|
+
dateTime: s({
|
|
118
|
+
formats: w,
|
|
119
|
+
defaultWidth: "full"
|
|
120
|
+
})
|
|
121
|
+
};
|
|
122
|
+
const b = f;
|
|
123
|
+
var g = {
|
|
124
|
+
lastWeek: "eeee 'diwethaf am' p",
|
|
125
|
+
yesterday: "'ddoe am' p",
|
|
126
|
+
today: "'heddiw am' p",
|
|
127
|
+
tomorrow: "'yfory am' p",
|
|
128
|
+
nextWeek: "eeee 'am' p",
|
|
129
|
+
other: "P"
|
|
130
|
+
}, v = function(e, i, a, r) {
|
|
131
|
+
return g[e];
|
|
132
|
+
};
|
|
133
|
+
const p = v;
|
|
134
|
+
var M = {
|
|
135
|
+
narrow: ["C", "O"],
|
|
136
|
+
abbreviated: ["CC", "OC"],
|
|
137
|
+
wide: ["Cyn Crist", "Ar ôl Crist"]
|
|
138
|
+
}, P = {
|
|
139
|
+
narrow: ["1", "2", "3", "4"],
|
|
140
|
+
abbreviated: ["Ch1", "Ch2", "Ch3", "Ch4"],
|
|
141
|
+
wide: ["Chwarter 1af", "2ail chwarter", "3ydd chwarter", "4ydd chwarter"]
|
|
142
|
+
}, W = {
|
|
143
|
+
narrow: ["I", "Ch", "Ma", "E", "Mi", "Me", "G", "A", "Md", "H", "T", "Rh"],
|
|
144
|
+
abbreviated: ["Ion", "Chwe", "Maw", "Ebr", "Mai", "Meh", "Gor", "Aws", "Med", "Hyd", "Tach", "Rhag"],
|
|
145
|
+
wide: ["Ionawr", "Chwefror", "Mawrth", "Ebrill", "Mai", "Mehefin", "Gorffennaf", "Awst", "Medi", "Hydref", "Tachwedd", "Rhagfyr"]
|
|
146
|
+
}, C = {
|
|
147
|
+
narrow: ["S", "Ll", "M", "M", "I", "G", "S"],
|
|
148
|
+
short: ["Su", "Ll", "Ma", "Me", "Ia", "Gw", "Sa"],
|
|
149
|
+
abbreviated: ["Sul", "Llun", "Maw", "Mer", "Iau", "Gwe", "Sad"],
|
|
150
|
+
wide: ["dydd Sul", "dydd Llun", "dydd Mawrth", "dydd Mercher", "dydd Iau", "dydd Gwener", "dydd Sadwrn"]
|
|
151
|
+
}, k = {
|
|
152
|
+
narrow: {
|
|
153
|
+
am: "b",
|
|
154
|
+
pm: "h",
|
|
155
|
+
midnight: "hn",
|
|
156
|
+
noon: "hd",
|
|
157
|
+
morning: "bore",
|
|
158
|
+
afternoon: "prynhawn",
|
|
159
|
+
evening: "gyda'r nos",
|
|
160
|
+
night: "nos"
|
|
161
|
+
},
|
|
162
|
+
abbreviated: {
|
|
163
|
+
am: "yb",
|
|
164
|
+
pm: "yh",
|
|
165
|
+
midnight: "hanner nos",
|
|
166
|
+
noon: "hanner dydd",
|
|
167
|
+
morning: "bore",
|
|
168
|
+
afternoon: "prynhawn",
|
|
169
|
+
evening: "gyda'r nos",
|
|
170
|
+
night: "nos"
|
|
171
|
+
},
|
|
172
|
+
wide: {
|
|
173
|
+
am: "y.b.",
|
|
174
|
+
pm: "y.h.",
|
|
175
|
+
midnight: "hanner nos",
|
|
176
|
+
noon: "hanner dydd",
|
|
177
|
+
morning: "bore",
|
|
178
|
+
afternoon: "prynhawn",
|
|
179
|
+
evening: "gyda'r nos",
|
|
180
|
+
night: "nos"
|
|
181
|
+
}
|
|
182
|
+
}, D = {
|
|
183
|
+
narrow: {
|
|
184
|
+
am: "b",
|
|
185
|
+
pm: "h",
|
|
186
|
+
midnight: "hn",
|
|
187
|
+
noon: "hd",
|
|
188
|
+
morning: "yn y bore",
|
|
189
|
+
afternoon: "yn y prynhawn",
|
|
190
|
+
evening: "gyda'r nos",
|
|
191
|
+
night: "yn y nos"
|
|
192
|
+
},
|
|
193
|
+
abbreviated: {
|
|
194
|
+
am: "yb",
|
|
195
|
+
pm: "yh",
|
|
196
|
+
midnight: "hanner nos",
|
|
197
|
+
noon: "hanner dydd",
|
|
198
|
+
morning: "yn y bore",
|
|
199
|
+
afternoon: "yn y prynhawn",
|
|
200
|
+
evening: "gyda'r nos",
|
|
201
|
+
night: "yn y nos"
|
|
202
|
+
},
|
|
203
|
+
wide: {
|
|
204
|
+
am: "y.b.",
|
|
205
|
+
pm: "y.h.",
|
|
206
|
+
midnight: "hanner nos",
|
|
207
|
+
noon: "hanner dydd",
|
|
208
|
+
morning: "yn y bore",
|
|
209
|
+
afternoon: "yn y prynhawn",
|
|
210
|
+
evening: "gyda'r nos",
|
|
211
|
+
night: "yn y nos"
|
|
212
|
+
}
|
|
213
|
+
}, S = function(e, i) {
|
|
214
|
+
var a = Number(e);
|
|
215
|
+
if (a < 20)
|
|
216
|
+
switch (a) {
|
|
217
|
+
case 0:
|
|
218
|
+
return a + "fed";
|
|
219
|
+
case 1:
|
|
220
|
+
return a + "af";
|
|
221
|
+
case 2:
|
|
222
|
+
return a + "ail";
|
|
223
|
+
case 3:
|
|
224
|
+
case 4:
|
|
225
|
+
return a + "ydd";
|
|
226
|
+
case 5:
|
|
227
|
+
case 6:
|
|
228
|
+
return a + "ed";
|
|
229
|
+
case 7:
|
|
230
|
+
case 8:
|
|
231
|
+
case 9:
|
|
232
|
+
case 10:
|
|
233
|
+
case 12:
|
|
234
|
+
case 15:
|
|
235
|
+
case 18:
|
|
236
|
+
return a + "fed";
|
|
237
|
+
case 11:
|
|
238
|
+
case 13:
|
|
239
|
+
case 14:
|
|
240
|
+
case 16:
|
|
241
|
+
case 17:
|
|
242
|
+
case 19:
|
|
243
|
+
return a + "eg";
|
|
244
|
+
}
|
|
245
|
+
else if (a >= 50 && a <= 60 || a === 80 || a >= 100)
|
|
246
|
+
return a + "fed";
|
|
247
|
+
return a + "ain";
|
|
248
|
+
}, L = {
|
|
249
|
+
ordinalNumber: S,
|
|
250
|
+
era: d({
|
|
251
|
+
values: M,
|
|
252
|
+
defaultWidth: "wide"
|
|
253
|
+
}),
|
|
254
|
+
quarter: d({
|
|
255
|
+
values: P,
|
|
256
|
+
defaultWidth: "wide",
|
|
257
|
+
argumentCallback: function(e) {
|
|
258
|
+
return e - 1;
|
|
259
|
+
}
|
|
260
|
+
}),
|
|
261
|
+
month: d({
|
|
262
|
+
values: W,
|
|
263
|
+
defaultWidth: "wide"
|
|
264
|
+
}),
|
|
265
|
+
day: d({
|
|
266
|
+
values: C,
|
|
267
|
+
defaultWidth: "wide"
|
|
268
|
+
}),
|
|
269
|
+
dayPeriod: d({
|
|
270
|
+
values: k,
|
|
271
|
+
defaultWidth: "wide",
|
|
272
|
+
formattingValues: D,
|
|
273
|
+
defaultFormattingWidth: "wide"
|
|
274
|
+
})
|
|
275
|
+
};
|
|
276
|
+
const x = L;
|
|
277
|
+
var z = /^(\d+)(af|ail|ydd|ed|fed|eg|ain)?/i, E = /\d+/i, F = {
|
|
278
|
+
narrow: /^(c|o)/i,
|
|
279
|
+
abbreviated: /^(c\.?\s?c\.?|o\.?\s?c\.?)/i,
|
|
280
|
+
wide: /^(cyn christ|ar ôl crist|ar ol crist)/i
|
|
281
|
+
}, I = {
|
|
282
|
+
wide: [/^c/i, /^(ar ôl crist|ar ol crist)/i],
|
|
283
|
+
any: [/^c/i, /^o/i]
|
|
284
|
+
}, R = {
|
|
285
|
+
narrow: /^[1234]/i,
|
|
286
|
+
abbreviated: /^ch[1234]/i,
|
|
287
|
+
wide: /^(chwarter 1af)|([234](ail|ydd)? chwarter)/i
|
|
288
|
+
}, V = {
|
|
289
|
+
any: [/1/i, /2/i, /3/i, /4/i]
|
|
290
|
+
}, X = {
|
|
291
|
+
narrow: /^(i|ch|m|e|g|a|h|t|rh)/i,
|
|
292
|
+
abbreviated: /^(ion|chwe|maw|ebr|mai|meh|gor|aws|med|hyd|tach|rhag)/i,
|
|
293
|
+
wide: /^(ionawr|chwefror|mawrth|ebrill|mai|mehefin|gorffennaf|awst|medi|hydref|tachwedd|rhagfyr)/i
|
|
294
|
+
}, G = {
|
|
295
|
+
narrow: [/^i/i, /^ch/i, /^m/i, /^e/i, /^m/i, /^m/i, /^g/i, /^a/i, /^m/i, /^h/i, /^t/i, /^rh/i],
|
|
296
|
+
any: [/^io/i, /^ch/i, /^maw/i, /^e/i, /^mai/i, /^meh/i, /^g/i, /^a/i, /^med/i, /^h/i, /^t/i, /^rh/i]
|
|
297
|
+
}, N = {
|
|
298
|
+
narrow: /^(s|ll|m|i|g)/i,
|
|
299
|
+
short: /^(su|ll|ma|me|ia|gw|sa)/i,
|
|
300
|
+
abbreviated: /^(sul|llun|maw|mer|iau|gwe|sad)/i,
|
|
301
|
+
wide: /^dydd (sul|llun|mawrth|mercher|iau|gwener|sadwrn)/i
|
|
302
|
+
}, T = {
|
|
303
|
+
narrow: [/^s/i, /^ll/i, /^m/i, /^m/i, /^i/i, /^g/i, /^s/i],
|
|
304
|
+
wide: [/^dydd su/i, /^dydd ll/i, /^dydd ma/i, /^dydd me/i, /^dydd i/i, /^dydd g/i, /^dydd sa/i],
|
|
305
|
+
any: [/^su/i, /^ll/i, /^ma/i, /^me/i, /^i/i, /^g/i, /^sa/i]
|
|
306
|
+
}, $ = {
|
|
307
|
+
narrow: /^(b|h|hn|hd|(yn y|y|yr|gyda'r) (bore|prynhawn|nos|hwyr))/i,
|
|
308
|
+
any: /^(y\.?\s?[bh]\.?|hanner nos|hanner dydd|(yn y|y|yr|gyda'r) (bore|prynhawn|nos|hwyr))/i
|
|
309
|
+
}, A = {
|
|
310
|
+
any: {
|
|
311
|
+
am: /^b|(y\.?\s?b\.?)/i,
|
|
312
|
+
pm: /^h|(y\.?\s?h\.?)|(yr hwyr)/i,
|
|
313
|
+
midnight: /^hn|hanner nos/i,
|
|
314
|
+
noon: /^hd|hanner dydd/i,
|
|
315
|
+
morning: /bore/i,
|
|
316
|
+
afternoon: /prynhawn/i,
|
|
317
|
+
evening: /^gyda'r nos$/i,
|
|
318
|
+
night: /blah/i
|
|
319
|
+
}
|
|
320
|
+
}, H = {
|
|
321
|
+
ordinalNumber: h({
|
|
322
|
+
matchPattern: z,
|
|
323
|
+
parsePattern: E,
|
|
324
|
+
valueCallback: function(e) {
|
|
325
|
+
return parseInt(e, 10);
|
|
326
|
+
}
|
|
327
|
+
}),
|
|
328
|
+
era: o({
|
|
329
|
+
matchPatterns: F,
|
|
330
|
+
defaultMatchWidth: "wide",
|
|
331
|
+
parsePatterns: I,
|
|
332
|
+
defaultParseWidth: "any"
|
|
333
|
+
}),
|
|
334
|
+
quarter: o({
|
|
335
|
+
matchPatterns: R,
|
|
336
|
+
defaultMatchWidth: "wide",
|
|
337
|
+
parsePatterns: V,
|
|
338
|
+
defaultParseWidth: "any",
|
|
339
|
+
valueCallback: function(e) {
|
|
340
|
+
return e + 1;
|
|
341
|
+
}
|
|
342
|
+
}),
|
|
343
|
+
month: o({
|
|
344
|
+
matchPatterns: X,
|
|
345
|
+
defaultMatchWidth: "wide",
|
|
346
|
+
parsePatterns: G,
|
|
347
|
+
defaultParseWidth: "any"
|
|
348
|
+
}),
|
|
349
|
+
day: o({
|
|
350
|
+
matchPatterns: N,
|
|
351
|
+
defaultMatchWidth: "wide",
|
|
352
|
+
parsePatterns: T,
|
|
353
|
+
defaultParseWidth: "any"
|
|
354
|
+
}),
|
|
355
|
+
dayPeriod: o({
|
|
356
|
+
matchPatterns: $,
|
|
357
|
+
defaultMatchWidth: "any",
|
|
358
|
+
parsePatterns: A,
|
|
359
|
+
defaultParseWidth: "any"
|
|
360
|
+
})
|
|
361
|
+
};
|
|
362
|
+
const O = H;
|
|
363
|
+
var ta = {
|
|
364
|
+
code: "cy",
|
|
365
|
+
formatDistance: y,
|
|
366
|
+
formatLong: b,
|
|
367
|
+
formatRelative: p,
|
|
368
|
+
localize: x,
|
|
369
|
+
match: O,
|
|
370
|
+
options: {
|
|
371
|
+
weekStartsOn: 0,
|
|
372
|
+
firstWeekContainsDate: 1
|
|
373
|
+
}
|
|
374
|
+
};
|
|
375
|
+
export {
|
|
376
|
+
ta as default
|
|
377
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { f as a, l as o, m } from "./index-f41bdf2a.js";
|
|
2
|
+
import { a as t } from "./index-51cf15b2.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 r = {
|
|
17
|
+
full: "EEEE d MMMM y",
|
|
18
|
+
long: "d MMMM y",
|
|
19
|
+
medium: "d MMM y",
|
|
20
|
+
short: "dd.MM.y"
|
|
21
|
+
}, i = {
|
|
22
|
+
full: "HH:mm:ss zzzz",
|
|
23
|
+
long: "HH:mm:ss z",
|
|
24
|
+
medium: "HH:mm:ss",
|
|
25
|
+
short: "HH:mm"
|
|
26
|
+
}, l = {
|
|
27
|
+
full: "{{date}} 'à' {{time}}",
|
|
28
|
+
long: "{{date}} 'à' {{time}}",
|
|
29
|
+
medium: "{{date}}, {{time}}",
|
|
30
|
+
short: "{{date}}, {{time}}"
|
|
31
|
+
}, s = {
|
|
32
|
+
date: t({
|
|
33
|
+
formats: r,
|
|
34
|
+
defaultWidth: "full"
|
|
35
|
+
}),
|
|
36
|
+
time: t({
|
|
37
|
+
formats: i,
|
|
38
|
+
defaultWidth: "full"
|
|
39
|
+
}),
|
|
40
|
+
dateTime: t({
|
|
41
|
+
formats: l,
|
|
42
|
+
defaultWidth: "full"
|
|
43
|
+
})
|
|
44
|
+
};
|
|
45
|
+
const d = s;
|
|
46
|
+
var f = {
|
|
47
|
+
lastWeek: "eeee 'la semaine dernière à' p",
|
|
48
|
+
yesterday: "'hier à' p",
|
|
49
|
+
today: "'aujourd’hui à' p",
|
|
50
|
+
tomorrow: "'demain à' p'",
|
|
51
|
+
nextWeek: "eeee 'la semaine prochaine à' p",
|
|
52
|
+
other: "P"
|
|
53
|
+
}, n = function(e, c, M, h) {
|
|
54
|
+
return f[e];
|
|
55
|
+
};
|
|
56
|
+
const p = n;
|
|
57
|
+
var x = {
|
|
58
|
+
code: "fr-CH",
|
|
59
|
+
formatDistance: a,
|
|
60
|
+
formatLong: d,
|
|
61
|
+
formatRelative: p,
|
|
62
|
+
localize: o,
|
|
63
|
+
match: m,
|
|
64
|
+
options: {
|
|
65
|
+
weekStartsOn: 1,
|
|
66
|
+
firstWeekContainsDate: 4
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
export {
|
|
70
|
+
x as default
|
|
71
|
+
};
|