@blofin/blofin-ui 0.7.58 → 0.7.59
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/dist/Badge.es.js +8 -10
- package/dist/Button.es.js +125 -127
- package/dist/Dialog.es.js +10 -180
- package/dist/Divider.es.js +10 -12
- package/dist/Drawer.es.js +51 -44
- package/dist/Form.d.ts +1 -0
- package/dist/Form.es.js +752 -0
- package/dist/ProTable-63e2c020.js +3444 -0
- package/dist/ProTable.es.js +6 -9
- package/dist/Slider.es.js +140 -141
- package/dist/Sort.es.js +10 -144
- package/dist/blofin.css +1 -1
- package/dist/{close-0df24351.js → close-c67ec245.js} +0 -1
- package/dist/clsx.m-b14a941b.js +32 -0
- package/dist/components/Alert/Alert.d.ts +3 -3
- package/dist/components/Alert/styles.d.ts +2 -2
- package/dist/components/Badge/Badge.d.ts +2 -2
- package/dist/components/Button/Button.d.ts +2 -2
- package/dist/components/Button/Loading/index.d.ts +2 -2
- package/dist/components/Button/index.d.ts +0 -2
- package/dist/components/Button/styles.d.ts +1 -1
- package/dist/components/Checkbox/styles.d.ts +1 -1
- package/dist/components/CssDropdown/CssDropdown.d.ts +3 -3
- package/dist/components/DatePickerRange/styles.d.ts +1 -0
- package/dist/components/DateTimePicker/ScrollableList.d.ts +1 -1
- package/dist/components/Dialog/Dialog.d.ts +2 -5
- package/dist/components/Dialog/index.d.ts +2 -4
- package/dist/components/Dialog/styles.d.ts +2 -2
- package/dist/components/Drawer/Drawer.d.ts +1 -1
- package/dist/components/Dropdown/Dropdown.d.ts +2 -2
- package/dist/components/Empty/index.d.ts +5 -2
- package/dist/components/Form/Control.d.ts +13 -0
- package/dist/components/Form/Form.d.ts +4 -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 +6 -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 +6 -6
- package/dist/components/MonthPicker/index.d.ts +17 -2
- package/dist/components/MultiSelect/MultiSelect.d.ts +4 -4
- package/dist/components/Notification/Notification.d.ts +1 -1
- package/dist/components/Pagination/PageOptions.d.ts +1 -1
- package/dist/components/Pagination/Pagination.d.ts +2 -2
- package/dist/components/Picker/hooks/usePickerMethod.d.ts +1 -1
- package/dist/components/Picker/index.d.ts +10 -2
- package/dist/components/Popover/Popover.d.ts +1 -1
- package/dist/components/Popup/index.d.ts +15 -4
- package/dist/components/RadioButton/RadioButton.d.ts +4 -4
- package/dist/components/RadioButton/styles.d.ts +1 -1
- package/dist/components/Select/Select.d.ts +9 -6
- package/dist/components/Slider/Slider.d.ts +2 -2
- package/dist/components/Sort/SortButton.d.ts +5 -5
- package/dist/components/Sort/SortGroup.d.ts +4 -4
- package/dist/components/Sort/index.d.ts +6 -5
- package/dist/components/Sortable/SortItem.d.ts +4 -4
- package/dist/components/Sortable/index.d.ts +11 -3
- package/dist/components/Switch/Switch.d.ts +2 -2
- package/dist/components/Switch/styles.d.ts +3 -3
- package/dist/components/Tab/Tab.d.ts +2 -2
- package/dist/components/Tab/styles.d.ts +1 -1
- package/dist/components/Table/Pagination/index.d.ts +2 -2
- package/dist/components/Table/Table.d.ts +2 -2
- package/dist/components/Table/Tbody/index.d.ts +3 -3
- package/dist/components/Table/Thead/index.d.ts +3 -3
- package/dist/components/Table/context.d.ts +3 -3
- package/dist/components/Table/hooks/useStickyOffset.d.ts +3 -3
- package/dist/components/Table/index.d.ts +3 -3
- package/dist/components/Table/interface.d.ts +4 -4
- package/dist/components/TextField/TextField.d.ts +4 -4
- package/dist/components/TextField/index.d.ts +0 -2
- package/dist/components/TextSelect/TextSelect.d.ts +8 -8
- package/dist/components/Textarea/index.d.ts +15 -2
- package/dist/components/Toast/Toast.d.ts +13 -2
- package/dist/components/Toast/styles.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +5 -4
- package/dist/components/Typography/Typography.d.ts +2 -2
- package/dist/components/Typography/styles.d.ts +1 -1
- package/dist/hooks/useLatest.d.ts +1 -1
- package/dist/hooks/useNotification.d.ts +7 -5
- package/dist/hooks/useToast.d.ts +1 -1
- package/dist/{index-4f94d7fa.js → index-001dd0f7.js} +39 -24
- package/dist/{index-29d37c73.js → index-003572ca.js} +67 -52
- package/dist/{index-57a163fd.js → index-0330bc93.js} +28 -13
- package/dist/{index-d81e15f3.js → index-05bf2879.js} +34 -19
- package/dist/{index-b54ef52a.js → index-0773f9b5.js} +31 -16
- package/dist/{index-6856be22.js → index-0c50dcda.js} +38 -23
- package/dist/{index-7cf9b111.js → index-0e6d56f6.js} +33 -18
- package/dist/{index-a89abb42.js → index-0eb53476.js} +19 -4
- package/dist/{index-0230b5a9.js → index-0f855a91.js} +4 -5
- package/dist/{index-cbc0d36b.js → index-10144af4.js} +30 -15
- package/dist/{index-06d0f2f7.js → index-11dc8e91.js} +28 -13
- package/dist/{index-c6371af1.js → index-14eba896.js} +25 -10
- package/dist/{index-c1381bca.js → index-18869ac6.js} +35 -20
- package/dist/{index-1b2a64df.js → index-189196e6.js} +46 -31
- package/dist/{index-898678dc.js → index-198ccc85.js} +45 -30
- package/dist/{index-e2b960e4.js → index-1b087231.js} +38 -23
- package/dist/{index-f40f45fb.js → index-204cbb23.js} +30 -15
- package/dist/{index-4df0c3e4.js → index-220ed10a.js} +31 -16
- package/dist/{index-67678963.js → index-28a6835c.js} +48 -33
- package/dist/{index-e98ef24f.js → index-2d400fe1.js} +32 -17
- package/dist/{index-e8fb69e0.js → index-2e0c8d16.js} +37 -22
- package/dist/{index-cc1cd309.js → index-2e784550.js} +28 -13
- package/dist/index-304d7874.js +64 -0
- package/dist/{index-12d32536.js → index-3375e2e3.js} +28 -13
- package/dist/{index-954d3973.js → index-36521981.js} +28 -13
- package/dist/{index-cfee583b.js → index-377dc190.js} +36 -21
- package/dist/{index-4f94900a.js → index-390505ce.js} +34 -19
- package/dist/index-40626e62.js +174 -0
- package/dist/{index-b0da3dfd.js → index-41bebee7.js} +39 -24
- package/dist/{index-5fb7b3bc.js → index-45cfa2f3.js} +27 -12
- package/dist/{index-80cc70e4.js → index-47408940.js} +41 -26
- package/dist/{index-141cec17.js → index-4b9249fc.js} +29 -14
- package/dist/index-543e2f77.js +65 -0
- package/dist/index-563cafee.js +64 -0
- package/dist/index-5956ed9f.js +11569 -0
- package/dist/{index-b103ed31.js → index-59c7d611.js} +27 -12
- package/dist/{index-d2f2742e.js → index-5bc791c5.js} +30 -15
- package/dist/{index-03513979.js → index-5f3da225.js} +26 -11
- package/dist/{index-8aa9b1be.js → index-603f0f2a.js} +39 -24
- package/dist/{index-4bc493f0.js → index-636a6216.js} +19 -4
- package/dist/{index-2334248a.js → index-640dc4ab.js} +24 -9
- package/dist/{index-73bfc020.js → index-64ba8d88.js} +47 -32
- package/dist/{index-2ae0474b.js → index-65986673.js} +39 -24
- package/dist/{index-6f728206.js → index-65df0a7b.js} +24 -9
- package/dist/{index-02f669c4.js → index-6e4d9a19.js} +1 -2
- package/dist/{index-360aaaac.js → index-7241c703.js} +46 -31
- package/dist/index-7272669e.js +36 -0
- package/dist/{index-9c73c442.js → index-73673cf3.js} +60 -45
- package/dist/{index-08a64465.js → index-74676234.js} +31 -16
- package/dist/{index-7edb6aec.js → index-770fe605.js} +34 -19
- package/dist/{index-5beeed26.js → index-772d6529.js} +38 -23
- package/dist/{index-6e969585.js → index-797b8f6c.js} +52 -37
- package/dist/{index-a6fa33ce.js → index-7c12aa98.js} +28 -13
- package/dist/{index-5e6ffc2f.js → index-7e7cdd81.js} +1 -2
- package/dist/{index-03169373.js → index-81072b24.js} +37 -22
- package/dist/{index-75190b99.js → index-8684e896.js} +22 -7
- package/dist/{index-7bb9ffdf.js → index-89f184f3.js} +2 -3
- package/dist/{index-40710f09.js → index-8a7c46ae.js} +41 -26
- package/dist/{index-117d018c.js → index-8cec0e82.js} +37 -22
- package/dist/{index-094d2a65.js → index-91062be2.js} +34 -19
- package/dist/{index-d3419554.js → index-9253a5ce.js} +30 -15
- package/dist/index-95c68eda.js +152 -0
- package/dist/{index-956b36a6.js → index-9eaebb69.js} +45 -30
- package/dist/{index-63a66f13.js → index-a4077786.js} +45 -30
- package/dist/{index-e9a1ff7f.js → index-ad2acfd2.js} +19 -4
- package/dist/{index-fdffd6e6.js → index-af60bed6.js} +29 -14
- package/dist/{index-fda88eb4.js → index-b5ff5e93.js} +45 -30
- package/dist/{index-11268759.js → index-bba889fc.js} +33 -18
- package/dist/{index-b7941b97.js → index-c002eb57.js} +23 -8
- package/dist/{index-4c6ad36c.js → index-c73b6cc3.js} +47 -32
- package/dist/{index-60fe7f16.js → index-c81a4a2a.js} +32 -17
- package/dist/{index-f7c4ae83.js → index-c8690f0a.js} +48 -33
- package/dist/{index-79e7317f.js → index-cdaffd70.js} +27 -12
- package/dist/{index-4d780cf4.js → index-cf872561.js} +37 -22
- package/dist/{index-cb1218d8.js → index-dafac81d.js} +25 -10
- package/dist/{index-19d177fe.js → index-db7c7495.js} +31 -16
- package/dist/{index-f1726c63.js → index-dbd4bd27.js} +29 -14
- package/dist/{index-ceae4147.js → index-dc23eb8b.js} +27 -12
- package/dist/{index-9e5efc0a.js → index-dc69cdd8.js} +45 -30
- package/dist/{index-c69f6dfc.js → index-e6091315.js} +36 -21
- package/dist/{index-06ef2e10.js → index-e869e999.js} +28 -13
- package/dist/{index-03d6aef0.js → index-f0c42ec9.js} +33 -18
- package/dist/{index-f64eddcc.js → index-f16b36a5.js} +31 -16
- package/dist/{index-e1a6a03d.js → index-f4d65525.js} +24 -9
- package/dist/index-f53123c7.js +64 -0
- package/dist/{index-770e5f53.js → index-f753119c.js} +27 -12
- package/dist/{index-8585c2f3.js → index-f83dab77.js} +38 -23
- package/dist/{index-6f963c6a.js → index-f852d9b6.js} +35 -20
- package/dist/{index-3ee2bafa.js → index-fa51b278.js} +30 -15
- package/dist/{index-e169373b.js → index-fc135912.js} +25 -10
- package/dist/{index-ef31f5f8.js → index-fcb1ec65.js} +1 -2
- package/dist/{index-d86842c8.js → index-ff943066.js} +34 -19
- package/dist/index.d.ts +48 -36
- package/dist/index.es.js +56 -223
- package/dist/isObjectLike-1b8bbac2.js +44 -0
- package/dist/jsx-runtime-82a9ddf6.js +646 -0
- package/dist/provider/NoticeProvider.d.ts +1 -1
- package/dist/provider/ThemeProvider.d.ts +3 -7
- package/dist/provider/useTheme.d.ts +1 -1
- package/dist/types/component.d.ts +1 -1
- package/dist/utils/helper.d.ts +1 -1
- package/dist/{utils-071abd68.js → utils-cacf528c.js} +1 -2
- package/package.json +3 -2
- package/dist/Calendar.d.ts +0 -1
- package/dist/Calendar.es.js +0 -210
- package/dist/Checkbox.d.ts +0 -1
- package/dist/Checkbox.es.js +0 -138
- package/dist/CssDropdown.d.ts +0 -1
- package/dist/CssDropdown.es.js +0 -38
- package/dist/DatePickerRange.d.ts +0 -1
- package/dist/DatePickerRange.es.js +0 -410
- package/dist/DateTimePicker.d.ts +0 -1
- package/dist/DateTimePicker.es.js +0 -519
- package/dist/Dropdown.d.ts +0 -1
- package/dist/Dropdown.es.js +0 -134
- package/dist/Empty.d.ts +0 -1
- package/dist/Empty.es.js +0 -11
- package/dist/LabelTextField.d.ts +0 -1
- package/dist/LabelTextField.es.js +0 -100
- package/dist/MonthPicker.d.ts +0 -1
- package/dist/MonthPicker.es.js +0 -16
- package/dist/MultiSelect.d.ts +0 -1
- package/dist/MultiSelect.es.js +0 -425
- package/dist/Notification.d.ts +0 -1
- package/dist/Notification.es.js +0 -12
- package/dist/Pagination.d.ts +0 -1
- package/dist/Pagination.es.js +0 -219
- package/dist/Picker.d.ts +0 -1
- package/dist/Picker.es.js +0 -224
- package/dist/Popover.d.ts +0 -1
- package/dist/Popover.es.js +0 -107
- package/dist/Popup.d.ts +0 -1
- package/dist/Popup.es.js +0 -62
- package/dist/ProTable-7a07d8b6.js +0 -565
- package/dist/RadioButton.d.ts +0 -1
- package/dist/RadioButton.es.js +0 -152
- package/dist/Select.d.ts +0 -1
- package/dist/Select.es.js +0 -316
- package/dist/Sortable.d.ts +0 -1
- package/dist/Sortable.es.js +0 -39
- package/dist/Switch.d.ts +0 -1
- package/dist/Switch.es.js +0 -64
- package/dist/Tab.d.ts +0 -1
- package/dist/Tab.es.js +0 -101
- package/dist/Table.d.ts +0 -1
- package/dist/Table.es.js +0 -359
- package/dist/TextField.d.ts +0 -1
- package/dist/TextField.es.js +0 -64
- package/dist/TextSelect.d.ts +0 -1
- package/dist/TextSelect.es.js +0 -17
- package/dist/Textarea.d.ts +0 -1
- package/dist/Textarea.es.js +0 -106
- package/dist/Toast.d.ts +0 -1
- package/dist/Toast.es.js +0 -12
- package/dist/Tooltip.d.ts +0 -1
- package/dist/Tooltip.es.js +0 -144
- package/dist/Typography.d.ts +0 -1
- package/dist/Typography.es.js +0 -74
- package/dist/_commonjsHelpers-1d52fb73.js +0 -9
- package/dist/arrow-down-011b02c7.js +0 -6
- package/dist/arrow-down-l-line-97e4fe24.js +0 -6
- package/dist/arrow-fill-70becd96.js +0 -6
- package/dist/arrow-right-l-line-87881b4d.js +0 -7
- package/dist/close-bg-6d2211ef.js +0 -6
- package/dist/clsx.m-e965ef18.js +0 -22
- package/dist/components/CssDropdown/index.d.ts +0 -2
- package/dist/components/DatePickerRange/index.d.ts +0 -4
- package/dist/components/DateTimePicker/index.d.ts +0 -4
- package/dist/components/Dropdown/index.d.ts +0 -2
- package/dist/components/Empty/Empty.d.ts +0 -5
- package/dist/components/MonthPicker/MonthPicker.d.ts +0 -17
- package/dist/components/MultiSelect/index.d.ts +0 -2
- package/dist/components/Notification/index.d.ts +0 -2
- package/dist/components/Pagination/index.d.ts +0 -3
- package/dist/components/Picker/Picker.d.ts +0 -10
- package/dist/components/Popover/index.d.ts +0 -5
- package/dist/components/Popup/Popup.d.ts +0 -15
- package/dist/components/Sortable/Sortable.d.ts +0 -11
- package/dist/components/Switch/index.d.ts +0 -2
- package/dist/components/Tab/index.d.ts +0 -4
- package/dist/components/TextSelect/index.d.ts +0 -2
- package/dist/components/Textarea/Textarea.d.ts +0 -15
- package/dist/components/Toast/index.d.ts +0 -2
- package/dist/components/Tooltip/index.d.ts +0 -2
- package/dist/components/Typography/index.d.ts +0 -4
- package/dist/enum-0398044b.js +0 -17
- package/dist/helper-221987f8.js +0 -7
- package/dist/index-293f8244.js +0 -49
- package/dist/index-40023d52.js +0 -5322
- package/dist/index-4528ba11.js +0 -49
- package/dist/index-596c785d.js +0 -50
- package/dist/index-67554651.js +0 -49
- package/dist/index-9349bf2d.js +0 -345
- package/dist/index-b7027a1d.js +0 -1295
- package/dist/index-c57db938.js +0 -37
- package/dist/index-eea69add.js +0 -71
- package/dist/index.esm-71578db5.js +0 -1198
- package/dist/index.module-1d7bbdf8.js +0 -7
- package/dist/index.module-86edc823.js +0 -15
- package/dist/index.module-b4239ff5.js +0 -9
- package/dist/index.module-fb41ba3b.js +0 -39
- package/dist/locales-776f0072.js +0 -440
- package/dist/search-b79a3be5.js +0 -6
- package/dist/sortable.esm-1c13d908.js +0 -2896
- package/dist/sortable.esm-8d31c120.js +0 -1275
- package/dist/styles-85a9fe64.js +0 -136
- package/dist/useAlign-916ed3be.js +0 -44
- package/dist/useDelayEvent-f577f6a3.js +0 -1082
- package/dist/useTheme-0688f238.js +0 -16
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
2
|
import { CustomFields } from "../../types/component";
|
|
3
3
|
import { InputSize } from "../TextField/TextField";
|
|
4
4
|
interface Options extends CustomFields {
|
|
@@ -22,34 +22,34 @@ export interface TextSelectProps {
|
|
|
22
22
|
hideEndAdornment?: boolean;
|
|
23
23
|
readOnly?: boolean;
|
|
24
24
|
scrollContainer?: HTMLDivElement | null;
|
|
25
|
-
children?:
|
|
25
|
+
children?: JSX.Element | ReactNode;
|
|
26
26
|
auto?: boolean;
|
|
27
27
|
search?: boolean;
|
|
28
28
|
searchChange?: (value: string) => void;
|
|
29
29
|
searchClassName?: string;
|
|
30
|
-
startAdornment?:
|
|
31
|
-
customSelectItems?: (item: Options) =>
|
|
30
|
+
startAdornment?: ReactNode;
|
|
31
|
+
customSelectItems?: (item: Options) => ReactNode;
|
|
32
32
|
selectItemClassName?: string;
|
|
33
33
|
hideSelectedState?: boolean;
|
|
34
34
|
offsetPixels?: number;
|
|
35
35
|
preventDuplicateSelection?: boolean;
|
|
36
36
|
inputDisabled?: boolean;
|
|
37
37
|
base?: "input" | "div";
|
|
38
|
-
customLabel?: (item: Options) =>
|
|
38
|
+
customLabel?: (item: Options) => ReactNode;
|
|
39
39
|
error?: boolean;
|
|
40
40
|
size?: InputSize;
|
|
41
41
|
highlightMode?: "text" | "background";
|
|
42
42
|
preventHideFun?: boolean;
|
|
43
43
|
variant?: "fill" | "line";
|
|
44
44
|
}
|
|
45
|
-
declare const Options:
|
|
45
|
+
declare const Options: import("react").ForwardRefExoticComponent<Omit<TextSelectProps, "placeholder"> & {
|
|
46
46
|
className?: string | undefined;
|
|
47
47
|
parent: HTMLDivElement | null;
|
|
48
48
|
hide: () => void;
|
|
49
|
-
} &
|
|
49
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
50
50
|
export interface TextSelectRefProps {
|
|
51
51
|
close: () => void;
|
|
52
52
|
clear: () => void;
|
|
53
53
|
}
|
|
54
|
-
declare const TextSelect:
|
|
54
|
+
declare const TextSelect: import("react").ForwardRefExoticComponent<TextSelectProps & import("react").RefAttributes<TextSelectRefProps>>;
|
|
55
55
|
export { TextSelect };
|
|
@@ -1,2 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { BUITheme } from "../../types/component";
|
|
3
|
+
export interface TextareaProps extends React.InputHTMLAttributes<HTMLTextAreaElement> {
|
|
4
|
+
label?: ReactNode;
|
|
5
|
+
theme?: BUITheme;
|
|
6
|
+
endAdornment?: ReactNode;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
error?: boolean;
|
|
9
|
+
helperText?: string;
|
|
10
|
+
row?: number;
|
|
11
|
+
className?: string;
|
|
12
|
+
wrapperClassName?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const TextArea: import("react").ForwardRefExoticComponent<TextareaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
15
|
+
export default TextArea;
|
|
@@ -1,2 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { BUIComponentType, BUITheme } from "../../types/component";
|
|
3
|
+
interface ToastMsgProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
type: BUIComponentType;
|
|
6
|
+
remove: () => void;
|
|
7
|
+
customTheme?: BUITheme;
|
|
8
|
+
}
|
|
9
|
+
export declare const Toast: {
|
|
10
|
+
(): React.ReactPortal;
|
|
11
|
+
open: (options: Omit<ToastMsgProps, "remove">) => () => void;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { BUITheme } from "
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
import { BUITheme } from "../..";
|
|
3
3
|
import { TooltipPlacement } from "./type";
|
|
4
4
|
interface TooltipProps {
|
|
5
5
|
placement: TooltipPlacement;
|
|
6
6
|
flipPlacement?: TooltipPlacement[];
|
|
7
7
|
title?: string;
|
|
8
|
-
content?:
|
|
8
|
+
content?: ReactNode;
|
|
9
9
|
children?: React.ReactNode;
|
|
10
10
|
isShow?: boolean;
|
|
11
11
|
className?: string;
|
|
@@ -18,6 +18,7 @@ interface TooltipProps {
|
|
|
18
18
|
* */
|
|
19
19
|
y?: number;
|
|
20
20
|
x?: number;
|
|
21
|
+
delayPositive?: boolean;
|
|
21
22
|
}
|
|
22
|
-
declare const Tooltip:
|
|
23
|
+
declare const Tooltip: FC<TooltipProps>;
|
|
23
24
|
export { Tooltip };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BUITheme } from "
|
|
1
|
+
import { BUITheme } from "../..";
|
|
2
2
|
export type TypographyTagType = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p";
|
|
3
3
|
export type TypographyWeight = "regular" | "medium" | "bold";
|
|
4
4
|
export type TypographyVariantsType = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "subtitle3" | "body1" | "body2" | "body3" | "body4";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export default function useLatest<T>(value: T): import("react").
|
|
2
|
+
export default function useLatest<T>(value: T): import("react").MutableRefObject<T>;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { configType } from "../provider/NoticeProvider";
|
|
2
2
|
declare const useNotification: () => {
|
|
3
3
|
methods: {
|
|
4
|
-
info: (config: configType) =>
|
|
5
|
-
success: (config: configType) =>
|
|
6
|
-
warning: (config: configType) =>
|
|
7
|
-
danger: (config: configType) =>
|
|
4
|
+
info: (config: configType) => number;
|
|
5
|
+
success: (config: configType) => number;
|
|
6
|
+
warning: (config: configType) => number;
|
|
7
|
+
danger: (config: configType) => number;
|
|
8
|
+
loading: (config: configType) => number;
|
|
9
|
+
remove: (id: number) => void;
|
|
8
10
|
};
|
|
9
11
|
};
|
|
10
|
-
export
|
|
12
|
+
export default useNotification;
|
package/dist/hooks/useToast.d.ts
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
1
|
+
import { a as d, t as c, b as s, c as h, d as u } from "./index-5956ed9f.js";
|
|
2
|
+
import { i as l } from "./index-7e7cdd81.js";
|
|
3
|
+
import "./Badge.es.js";
|
|
4
|
+
import "./jsx-runtime-82a9ddf6.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import "./clsx.m-b14a941b.js";
|
|
7
|
+
import "./utils-cacf528c.js";
|
|
8
|
+
import "./index-7272669e.js";
|
|
9
|
+
import "./Button.es.js";
|
|
10
|
+
import "./isObjectLike-1b8bbac2.js";
|
|
11
|
+
import "./index-40626e62.js";
|
|
12
|
+
import "react-dom";
|
|
13
|
+
import "./close-c67ec245.js";
|
|
14
|
+
import "./Drawer.es.js";
|
|
15
|
+
import "./Slider.es.js";
|
|
16
|
+
import "./index-95c68eda.js";
|
|
17
|
+
import "./ProTable-63e2c020.js";
|
|
18
|
+
import "./Divider.es.js";
|
|
4
19
|
var v = {
|
|
5
20
|
lessThanXSeconds: {
|
|
6
21
|
one: "по-малко от секунда",
|
|
@@ -67,37 +82,37 @@ var v = {
|
|
|
67
82
|
var r, n = v[e];
|
|
68
83
|
return typeof n == "string" ? r = n : i === 1 ? r = n.one : r = n.other.replace("{{count}}", String(i)), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? "след " + r : "преди " + r : r;
|
|
69
84
|
};
|
|
70
|
-
const
|
|
71
|
-
var
|
|
85
|
+
const p = y;
|
|
86
|
+
var b = {
|
|
72
87
|
full: "EEEE, dd MMMM yyyy",
|
|
73
88
|
long: "dd MMMM yyyy",
|
|
74
89
|
medium: "dd MMM yyyy",
|
|
75
90
|
short: "dd/MM/yyyy"
|
|
76
|
-
},
|
|
91
|
+
}, P = {
|
|
77
92
|
full: "HH:mm:ss zzzz",
|
|
78
93
|
long: "HH:mm:ss z",
|
|
79
94
|
medium: "HH:mm:ss",
|
|
80
95
|
short: "H:mm"
|
|
81
|
-
},
|
|
96
|
+
}, w = {
|
|
82
97
|
any: "{{date}} {{time}}"
|
|
83
|
-
},
|
|
98
|
+
}, W = {
|
|
84
99
|
date: d({
|
|
85
|
-
formats:
|
|
100
|
+
formats: b,
|
|
86
101
|
defaultWidth: "full"
|
|
87
102
|
}),
|
|
88
103
|
time: d({
|
|
89
|
-
formats:
|
|
104
|
+
formats: P,
|
|
90
105
|
defaultWidth: "full"
|
|
91
106
|
}),
|
|
92
107
|
dateTime: d({
|
|
93
|
-
formats:
|
|
108
|
+
formats: w,
|
|
94
109
|
defaultWidth: "any"
|
|
95
110
|
})
|
|
96
111
|
};
|
|
97
|
-
const
|
|
98
|
-
var
|
|
112
|
+
const k = W;
|
|
113
|
+
var m = ["неделя", "понеделник", "вторник", "сряда", "четвъртък", "петък", "събота"];
|
|
99
114
|
function M(a) {
|
|
100
|
-
var e =
|
|
115
|
+
var e = m[a];
|
|
101
116
|
switch (a) {
|
|
102
117
|
case 0:
|
|
103
118
|
case 3:
|
|
@@ -111,11 +126,11 @@ function M(a) {
|
|
|
111
126
|
}
|
|
112
127
|
}
|
|
113
128
|
function f(a) {
|
|
114
|
-
var e =
|
|
129
|
+
var e = m[a];
|
|
115
130
|
return a === 2 ? "'във " + e + " в' p" : "'в " + e + " в' p";
|
|
116
131
|
}
|
|
117
132
|
function g(a) {
|
|
118
|
-
var e =
|
|
133
|
+
var e = m[a];
|
|
119
134
|
switch (a) {
|
|
120
135
|
case 0:
|
|
121
136
|
case 3:
|
|
@@ -129,11 +144,11 @@ function g(a) {
|
|
|
129
144
|
}
|
|
130
145
|
}
|
|
131
146
|
var x = function(e, i, t) {
|
|
132
|
-
var r =
|
|
133
|
-
return
|
|
147
|
+
var r = c(e), n = r.getUTCDay();
|
|
148
|
+
return l(r, i, t) ? f(n) : M(n);
|
|
134
149
|
}, D = function(e, i, t) {
|
|
135
|
-
var r =
|
|
136
|
-
return
|
|
150
|
+
var r = c(e), n = r.getUTCDay();
|
|
151
|
+
return l(r, i, t) ? f(n) : g(n);
|
|
137
152
|
}, F = {
|
|
138
153
|
lastWeek: x,
|
|
139
154
|
yesterday: "'вчера в' p",
|
|
@@ -312,10 +327,10 @@ var q = /^(\d+)(-?[врмт][аи]|-?т?(ен|на)|-?(ев|ева))?/i, Y = /\d
|
|
|
312
327
|
})
|
|
313
328
|
};
|
|
314
329
|
const _ = Z;
|
|
315
|
-
var
|
|
330
|
+
var be = {
|
|
316
331
|
code: "bg",
|
|
317
|
-
formatDistance:
|
|
318
|
-
formatLong:
|
|
332
|
+
formatDistance: p,
|
|
333
|
+
formatLong: k,
|
|
319
334
|
formatRelative: C,
|
|
320
335
|
localize: $,
|
|
321
336
|
match: _,
|
|
@@ -325,5 +340,5 @@ var te = {
|
|
|
325
340
|
}
|
|
326
341
|
};
|
|
327
342
|
export {
|
|
328
|
-
|
|
343
|
+
be as default
|
|
329
344
|
};
|
|
@@ -1,19 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { a as v, b as o, c as g, d as l } from "./index-5956ed9f.js";
|
|
2
|
+
import { i as m } from "./index-7e7cdd81.js";
|
|
3
|
+
import "./Badge.es.js";
|
|
4
|
+
import "./jsx-runtime-82a9ddf6.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import "./clsx.m-b14a941b.js";
|
|
7
|
+
import "./utils-cacf528c.js";
|
|
8
|
+
import "./index-7272669e.js";
|
|
9
|
+
import "./Button.es.js";
|
|
10
|
+
import "./isObjectLike-1b8bbac2.js";
|
|
11
|
+
import "./index-40626e62.js";
|
|
12
|
+
import "react-dom";
|
|
13
|
+
import "./close-c67ec245.js";
|
|
14
|
+
import "./Drawer.es.js";
|
|
15
|
+
import "./Slider.es.js";
|
|
16
|
+
import "./index-95c68eda.js";
|
|
17
|
+
import "./ProTable-63e2c020.js";
|
|
18
|
+
import "./Divider.es.js";
|
|
19
|
+
function s(i, e) {
|
|
20
|
+
if (i.one !== void 0 && e === 1)
|
|
21
|
+
return i.one;
|
|
22
|
+
var a = e % 10, n = e % 100;
|
|
23
|
+
return a === 1 && n !== 11 ? i.singularNominative.replace("{{count}}", String(e)) : a >= 2 && a <= 4 && (n < 10 || n > 20) ? i.singularGenitive.replace("{{count}}", String(e)) : i.pluralGenitive.replace("{{count}}", String(e));
|
|
9
24
|
}
|
|
10
|
-
function
|
|
11
|
-
return function(e,
|
|
12
|
-
return
|
|
25
|
+
function t(i) {
|
|
26
|
+
return function(e, a) {
|
|
27
|
+
return a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? i.future ? s(i.future, e) : "через " + s(i.regular, e) : i.past ? s(i.past, e) : s(i.regular, e) + " назад" : s(i.regular, e);
|
|
13
28
|
};
|
|
14
29
|
}
|
|
15
30
|
var f = {
|
|
16
|
-
lessThanXSeconds:
|
|
31
|
+
lessThanXSeconds: t({
|
|
17
32
|
regular: {
|
|
18
33
|
one: "меньше секунды",
|
|
19
34
|
singularNominative: "меньше {{count}} секунды",
|
|
@@ -27,7 +42,7 @@ var f = {
|
|
|
27
42
|
pluralGenitive: "меньше, чем через {{count}} секунд"
|
|
28
43
|
}
|
|
29
44
|
}),
|
|
30
|
-
xSeconds:
|
|
45
|
+
xSeconds: t({
|
|
31
46
|
regular: {
|
|
32
47
|
singularNominative: "{{count}} секунда",
|
|
33
48
|
singularGenitive: "{{count}} секунды",
|
|
@@ -44,10 +59,10 @@ var f = {
|
|
|
44
59
|
pluralGenitive: "через {{count}} секунд"
|
|
45
60
|
}
|
|
46
61
|
}),
|
|
47
|
-
halfAMinute: function(e,
|
|
48
|
-
return
|
|
62
|
+
halfAMinute: function(e, a) {
|
|
63
|
+
return a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? "через полминуты" : "полминуты назад" : "полминуты";
|
|
49
64
|
},
|
|
50
|
-
lessThanXMinutes:
|
|
65
|
+
lessThanXMinutes: t({
|
|
51
66
|
regular: {
|
|
52
67
|
one: "меньше минуты",
|
|
53
68
|
singularNominative: "меньше {{count}} минуты",
|
|
@@ -61,7 +76,7 @@ var f = {
|
|
|
61
76
|
pluralGenitive: "меньше, чем через {{count}} минут"
|
|
62
77
|
}
|
|
63
78
|
}),
|
|
64
|
-
xMinutes:
|
|
79
|
+
xMinutes: t({
|
|
65
80
|
regular: {
|
|
66
81
|
singularNominative: "{{count}} минута",
|
|
67
82
|
singularGenitive: "{{count}} минуты",
|
|
@@ -78,7 +93,7 @@ var f = {
|
|
|
78
93
|
pluralGenitive: "через {{count}} минут"
|
|
79
94
|
}
|
|
80
95
|
}),
|
|
81
|
-
aboutXHours:
|
|
96
|
+
aboutXHours: t({
|
|
82
97
|
regular: {
|
|
83
98
|
singularNominative: "около {{count}} часа",
|
|
84
99
|
singularGenitive: "около {{count}} часов",
|
|
@@ -90,21 +105,21 @@ var f = {
|
|
|
90
105
|
pluralGenitive: "приблизительно через {{count}} часов"
|
|
91
106
|
}
|
|
92
107
|
}),
|
|
93
|
-
xHours:
|
|
108
|
+
xHours: t({
|
|
94
109
|
regular: {
|
|
95
110
|
singularNominative: "{{count}} час",
|
|
96
111
|
singularGenitive: "{{count}} часа",
|
|
97
112
|
pluralGenitive: "{{count}} часов"
|
|
98
113
|
}
|
|
99
114
|
}),
|
|
100
|
-
xDays:
|
|
115
|
+
xDays: t({
|
|
101
116
|
regular: {
|
|
102
117
|
singularNominative: "{{count}} день",
|
|
103
118
|
singularGenitive: "{{count}} дня",
|
|
104
119
|
pluralGenitive: "{{count}} дней"
|
|
105
120
|
}
|
|
106
121
|
}),
|
|
107
|
-
aboutXWeeks:
|
|
122
|
+
aboutXWeeks: t({
|
|
108
123
|
regular: {
|
|
109
124
|
singularNominative: "около {{count}} недели",
|
|
110
125
|
singularGenitive: "около {{count}} недель",
|
|
@@ -116,14 +131,14 @@ var f = {
|
|
|
116
131
|
pluralGenitive: "приблизительно через {{count}} недель"
|
|
117
132
|
}
|
|
118
133
|
}),
|
|
119
|
-
xWeeks:
|
|
134
|
+
xWeeks: t({
|
|
120
135
|
regular: {
|
|
121
136
|
singularNominative: "{{count}} неделя",
|
|
122
137
|
singularGenitive: "{{count}} недели",
|
|
123
138
|
pluralGenitive: "{{count}} недель"
|
|
124
139
|
}
|
|
125
140
|
}),
|
|
126
|
-
aboutXMonths:
|
|
141
|
+
aboutXMonths: t({
|
|
127
142
|
regular: {
|
|
128
143
|
singularNominative: "около {{count}} месяца",
|
|
129
144
|
singularGenitive: "около {{count}} месяцев",
|
|
@@ -135,14 +150,14 @@ var f = {
|
|
|
135
150
|
pluralGenitive: "приблизительно через {{count}} месяцев"
|
|
136
151
|
}
|
|
137
152
|
}),
|
|
138
|
-
xMonths:
|
|
153
|
+
xMonths: t({
|
|
139
154
|
regular: {
|
|
140
155
|
singularNominative: "{{count}} месяц",
|
|
141
156
|
singularGenitive: "{{count}} месяца",
|
|
142
157
|
pluralGenitive: "{{count}} месяцев"
|
|
143
158
|
}
|
|
144
159
|
}),
|
|
145
|
-
aboutXYears:
|
|
160
|
+
aboutXYears: t({
|
|
146
161
|
regular: {
|
|
147
162
|
singularNominative: "около {{count}} года",
|
|
148
163
|
singularGenitive: "около {{count}} лет",
|
|
@@ -154,14 +169,14 @@ var f = {
|
|
|
154
169
|
pluralGenitive: "приблизительно через {{count}} лет"
|
|
155
170
|
}
|
|
156
171
|
}),
|
|
157
|
-
xYears:
|
|
172
|
+
xYears: t({
|
|
158
173
|
regular: {
|
|
159
174
|
singularNominative: "{{count}} год",
|
|
160
175
|
singularGenitive: "{{count}} года",
|
|
161
176
|
pluralGenitive: "{{count}} лет"
|
|
162
177
|
}
|
|
163
178
|
}),
|
|
164
|
-
overXYears:
|
|
179
|
+
overXYears: t({
|
|
165
180
|
regular: {
|
|
166
181
|
singularNominative: "больше {{count}} года",
|
|
167
182
|
singularGenitive: "больше {{count}} лет",
|
|
@@ -173,7 +188,7 @@ var f = {
|
|
|
173
188
|
pluralGenitive: "больше, чем через {{count}} лет"
|
|
174
189
|
}
|
|
175
190
|
}),
|
|
176
|
-
almostXYears:
|
|
191
|
+
almostXYears: t({
|
|
177
192
|
regular: {
|
|
178
193
|
singularNominative: "почти {{count}} год",
|
|
179
194
|
singularGenitive: "почти {{count}} года",
|
|
@@ -185,10 +200,10 @@ var f = {
|
|
|
185
200
|
pluralGenitive: "почти через {{count}} лет"
|
|
186
201
|
}
|
|
187
202
|
})
|
|
188
|
-
},
|
|
189
|
-
return f[e](
|
|
203
|
+
}, p = function(e, a, n) {
|
|
204
|
+
return f[e](a, n);
|
|
190
205
|
};
|
|
191
|
-
const
|
|
206
|
+
const h = p;
|
|
192
207
|
var G = {
|
|
193
208
|
full: "EEEE, d MMMM y 'г.'",
|
|
194
209
|
long: "d MMMM y 'г.'",
|
|
@@ -217,9 +232,9 @@ var G = {
|
|
|
217
232
|
};
|
|
218
233
|
const P = y;
|
|
219
234
|
var c = ["воскресенье", "понедельник", "вторник", "среду", "четверг", "пятницу", "субботу"];
|
|
220
|
-
function N(
|
|
221
|
-
var e = c[
|
|
222
|
-
switch (
|
|
235
|
+
function N(i) {
|
|
236
|
+
var e = c[i];
|
|
237
|
+
switch (i) {
|
|
223
238
|
case 0:
|
|
224
239
|
return "'в прошлое " + e + " в' p";
|
|
225
240
|
case 1:
|
|
@@ -232,13 +247,13 @@ function N(a) {
|
|
|
232
247
|
return "'в прошлую " + e + " в' p";
|
|
233
248
|
}
|
|
234
249
|
}
|
|
235
|
-
function
|
|
236
|
-
var e = c[
|
|
237
|
-
return
|
|
250
|
+
function d(i) {
|
|
251
|
+
var e = c[i];
|
|
252
|
+
return i === 2 ? "'во " + e + " в' p" : "'в " + e + " в' p";
|
|
238
253
|
}
|
|
239
|
-
function W(
|
|
240
|
-
var e = c[
|
|
241
|
-
switch (
|
|
254
|
+
function W(i) {
|
|
255
|
+
var e = c[i];
|
|
256
|
+
switch (i) {
|
|
242
257
|
case 0:
|
|
243
258
|
return "'в следующее " + e + " в' p";
|
|
244
259
|
case 1:
|
|
@@ -252,21 +267,21 @@ function W(a) {
|
|
|
252
267
|
}
|
|
253
268
|
}
|
|
254
269
|
var M = {
|
|
255
|
-
lastWeek: function(e,
|
|
270
|
+
lastWeek: function(e, a, n) {
|
|
256
271
|
var r = e.getUTCDay();
|
|
257
|
-
return
|
|
272
|
+
return m(e, a, n) ? d(r) : N(r);
|
|
258
273
|
},
|
|
259
274
|
yesterday: "'вчера в' p",
|
|
260
275
|
today: "'сегодня в' p",
|
|
261
276
|
tomorrow: "'завтра в' p",
|
|
262
|
-
nextWeek: function(e,
|
|
277
|
+
nextWeek: function(e, a, n) {
|
|
263
278
|
var r = e.getUTCDay();
|
|
264
|
-
return
|
|
279
|
+
return m(e, a, n) ? d(r) : W(r);
|
|
265
280
|
},
|
|
266
281
|
other: "P"
|
|
267
|
-
}, k = function(e,
|
|
282
|
+
}, k = function(e, a, n, r) {
|
|
268
283
|
var u = M[e];
|
|
269
|
-
return typeof u == "function" ? u(
|
|
284
|
+
return typeof u == "function" ? u(a, n, r) : u;
|
|
270
285
|
};
|
|
271
286
|
const x = k;
|
|
272
287
|
var D = {
|
|
@@ -352,9 +367,9 @@ var D = {
|
|
|
352
367
|
evening: "вечера",
|
|
353
368
|
night: "ночи"
|
|
354
369
|
}
|
|
355
|
-
}, T = function(e,
|
|
356
|
-
var
|
|
357
|
-
return r === "date" ? u = "-е" : r === "week" || r === "minute" || r === "second" ? u = "-я" : u = "-й",
|
|
370
|
+
}, T = function(e, a) {
|
|
371
|
+
var n = Number(e), r = a == null ? void 0 : a.unit, u;
|
|
372
|
+
return r === "date" ? u = "-е" : r === "week" || r === "minute" || r === "second" ? u = "-я" : u = "-й", n + u;
|
|
358
373
|
}, X = {
|
|
359
374
|
ordinalNumber: T,
|
|
360
375
|
era: o({
|
|
@@ -471,9 +486,9 @@ var H = /^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i, R = /\
|
|
|
471
486
|
})
|
|
472
487
|
};
|
|
473
488
|
const J = B;
|
|
474
|
-
var
|
|
489
|
+
var pe = {
|
|
475
490
|
code: "ru",
|
|
476
|
-
formatDistance:
|
|
491
|
+
formatDistance: h,
|
|
477
492
|
formatLong: P,
|
|
478
493
|
formatRelative: x,
|
|
479
494
|
localize: E,
|
|
@@ -484,5 +499,5 @@ var ee = {
|
|
|
484
499
|
}
|
|
485
500
|
};
|
|
486
501
|
export {
|
|
487
|
-
|
|
502
|
+
pe as default
|
|
488
503
|
};
|
|
@@ -1,6 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
1
|
+
import { f as i, a as o, b as m, m as g } from "./index-fcb1ec65.js";
|
|
2
|
+
import { b as a } from "./index-5956ed9f.js";
|
|
3
|
+
import "./Badge.es.js";
|
|
4
|
+
import "./jsx-runtime-82a9ddf6.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import "./clsx.m-b14a941b.js";
|
|
7
|
+
import "./utils-cacf528c.js";
|
|
8
|
+
import "./index-7272669e.js";
|
|
9
|
+
import "./Button.es.js";
|
|
10
|
+
import "./isObjectLike-1b8bbac2.js";
|
|
11
|
+
import "./index-40626e62.js";
|
|
12
|
+
import "react-dom";
|
|
13
|
+
import "./close-c67ec245.js";
|
|
14
|
+
import "./Drawer.es.js";
|
|
15
|
+
import "./Slider.es.js";
|
|
16
|
+
import "./index-95c68eda.js";
|
|
17
|
+
import "./ProTable-63e2c020.js";
|
|
18
|
+
import "./Divider.es.js";
|
|
4
19
|
var d = {
|
|
5
20
|
narrow: ["v.Chr.", "n.Chr."],
|
|
6
21
|
abbreviated: ["v.Chr.", "n.Chr."],
|
|
@@ -9,14 +24,14 @@ var d = {
|
|
|
9
24
|
narrow: ["1", "2", "3", "4"],
|
|
10
25
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
11
26
|
wide: ["1. Quartal", "2. Quartal", "3. Quartal", "4. Quartal"]
|
|
12
|
-
},
|
|
27
|
+
}, r = {
|
|
13
28
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
14
29
|
abbreviated: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"],
|
|
15
30
|
wide: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"]
|
|
16
31
|
}, u = {
|
|
17
|
-
narrow:
|
|
32
|
+
narrow: r.narrow,
|
|
18
33
|
abbreviated: ["Jan.", "Feb.", "März", "Apr.", "Mai", "Juni", "Juli", "Aug.", "Sep.", "Okt.", "Nov.", "Dez."],
|
|
19
|
-
wide:
|
|
34
|
+
wide: r.wide
|
|
20
35
|
}, s = {
|
|
21
36
|
narrow: ["S", "M", "D", "M", "D", "F", "S"],
|
|
22
37
|
short: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
|
|
@@ -85,8 +100,8 @@ var d = {
|
|
|
85
100
|
night: "nachts"
|
|
86
101
|
}
|
|
87
102
|
}, c = function(t) {
|
|
88
|
-
var
|
|
89
|
-
return
|
|
103
|
+
var e = Number(t);
|
|
104
|
+
return e + ".";
|
|
90
105
|
}, b = {
|
|
91
106
|
ordinalNumber: c,
|
|
92
107
|
era: a({
|
|
@@ -101,7 +116,7 @@ var d = {
|
|
|
101
116
|
}
|
|
102
117
|
}),
|
|
103
118
|
month: a({
|
|
104
|
-
values:
|
|
119
|
+
values: r,
|
|
105
120
|
formattingValues: u,
|
|
106
121
|
defaultWidth: "wide"
|
|
107
122
|
}),
|
|
@@ -116,13 +131,13 @@ var d = {
|
|
|
116
131
|
defaultFormattingWidth: "wide"
|
|
117
132
|
})
|
|
118
133
|
};
|
|
119
|
-
const
|
|
120
|
-
var
|
|
134
|
+
const p = b;
|
|
135
|
+
var P = {
|
|
121
136
|
code: "de",
|
|
122
137
|
formatDistance: i,
|
|
123
138
|
formatLong: o,
|
|
124
139
|
formatRelative: m,
|
|
125
|
-
localize:
|
|
140
|
+
localize: p,
|
|
126
141
|
match: g,
|
|
127
142
|
options: {
|
|
128
143
|
weekStartsOn: 1,
|
|
@@ -130,5 +145,5 @@ var p = {
|
|
|
130
145
|
}
|
|
131
146
|
};
|
|
132
147
|
export {
|
|
133
|
-
|
|
148
|
+
P as default
|
|
134
149
|
};
|