@unicom-cloud/ui 0.8.62 → 0.8.63
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/Affix.js +1 -1
- package/Alert.js +2 -2
- package/Anchor.js +1 -1
- package/AutoComplete.js +3 -3
- package/Avatar.js +1 -1
- package/BackTop.js +2 -2
- package/Badge.js +2 -2
- package/Breadcrumb.js +2 -2
- package/Button.js +1 -1
- package/Calendar.js +3 -3
- package/Card.js +1 -1
- package/Carousel.js +1 -1
- package/Cascader.js +1 -1
- package/Checkbox.js +1 -1
- package/Collapse.js +1 -1
- package/ColorPicker.js +4 -4
- package/Comment.js +1 -1
- package/ConfigProvider.js +2 -2
- package/Copy.js +1 -1
- package/DatePicker.js +1026 -1016
- package/Descriptions.js +10 -10
- package/Divider.js +1 -1
- package/Draggable.js +1 -1
- package/Drawer.js +1 -1
- package/Dropdown.js +1 -1
- package/Empty.js +1 -1
- package/Form.js +2 -2
- package/Grid.js +2 -2
- package/Icon.js +1 -1
- package/IconHover.js +1 -1
- package/Image.js +1 -1
- package/Input.js +1 -1
- package/InputNumber.js +2 -2
- package/InputTag.js +1 -1
- package/Layout.js +2 -2
- package/Link.js +1 -1
- package/List.js +3 -3
- package/Mentions.js +3 -3
- package/Menu.js +1 -1
- package/Message.js +2 -2
- package/Modal.js +1 -1
- package/Notice.js +1 -1
- package/Notification.js +2 -2
- package/OverflowEllipsis.js +1 -1
- package/PageHeader.js +1 -1
- package/Pagination.js +1 -1
- package/Picker.js +1 -1
- package/Popconfirm.js +1 -1
- package/Popover.js +1 -1
- package/Progress.js +1 -1
- package/Radio.js +2 -2
- package/Rate.js +1 -1
- package/ResizeBox.js +1 -1
- package/Result.js +1 -1
- package/Select.js +1 -1
- package/SelectView.js +3 -3
- package/Skeleton.js +1 -1
- package/Slider.js +2 -2
- package/Space.js +32 -32
- package/Spin.js +1 -1
- package/Statistic.js +1 -1
- package/Steps.js +1 -1
- package/Switch.js +2 -2
- package/Table.js +4 -4
- package/Tabs.js +1 -1
- package/Tag.js +1 -1
- package/TimePicker.js +3 -3
- package/Timeline.js +1 -1
- package/Tooltip.js +1 -1
- package/Transfer.js +3 -3
- package/Tree.js +1 -1
- package/TreeSelect.js +1 -1
- package/Trigger.js +2 -2
- package/Typography.js +1 -1
- package/Upload.js +2 -2
- package/VerificationCode.js +1 -1
- package/Watermark.js +1 -1
- package/chunk/{DRp7voqz.js → B5gIo-hD.js} +3 -3
- package/chunk/{CDJ1EnJ2.js → B9w_puFP.js} +1 -1
- package/chunk/{C4eJ9vCf.js → BEB_A9eY.js} +2 -2
- package/chunk/{B8SZFOjt.js → BLLKKgZJ.js} +1 -1
- package/chunk/{B0oDiPqE.js → BcwdVUDs.js} +1 -1
- package/chunk/{CazXy0r4.js → Bn2-vqTg.js} +3 -3
- package/chunk/{BnqeQYIZ.js → BnLshM9R.js} +23 -23
- package/chunk/{D3VMG9V1.js → BoDdbbF_.js} +1 -1
- package/chunk/{CV1kLw5Z.js → C5S_amaH.js} +1 -1
- package/chunk/{DRQ1v6Ux.js → C6Zb_-OE.js} +1 -1
- package/chunk/{BXWxA-tS.js → CAxIyiy6.js} +2 -2
- package/chunk/{C8o-VGyc.js → CD7dGcUa.js} +3 -3
- package/chunk/{Bp3XomF8.js → CLBavO5c.js} +23 -20
- package/chunk/{CJnshq6A.js → CZ1wrD_H.js} +2 -2
- package/chunk/{BlNFmhNa.js → CfTcP6nF.js} +3 -3
- package/chunk/{C6fEFlPt.js → CfZWOhnc.js} +2 -2
- package/chunk/{mfn4EgmQ.js → CgDayZDE.js} +1 -1
- package/chunk/{nbEvdwT0.js → Co3idurS.js} +2 -2
- package/chunk/{Wum88vrW.js → CvlD3aiv.js} +2 -2
- package/chunk/{AqH9yP_J.js → D3dcFbex.js} +2 -2
- package/chunk/{CHyuuVxl.js → DDDuw0Zi.js} +1 -1
- package/chunk/{Dtm4BmKB.js → DXZ8-ha7.js} +1 -1
- package/chunk/{qpd2axxs.js → DbLgopUR.js} +2 -2
- package/chunk/{tOFzwzpT.js → DbPYtS7-.js} +1 -1
- package/chunk/{-Z968QpN.js → Dk6hL04k.js} +3 -3
- package/chunk/{KchYsivk.js → Dpzgtdt-.js} +1 -1
- package/chunk/{B4-WpgY2.js → JpKOcIfl.js} +3 -3
- package/chunk/{DGasAUHE.js → QFkhCtUr.js} +11 -11
- package/chunk/{CT1lZ7ss.js → aqSmxUbY.js} +1 -1
- package/chunk/{yESVS-qX.js → rlfmXePI.js} +3 -3
- package/index.js +344 -326
- package/locale/zh-CN.js +8 -0
- package/package.json +1 -1
- package/types/color-picker/hooks/useColorPicker.d.ts +3 -8
- package/types/date-picker/index.d.ts +7 -0
- package/types/index.d.ts +2 -2
- package/types/locale/interface.d.ts +1 -0
- package/types/locale/zh-CN.d.ts +14 -0
- package/types/space/index.d.ts +2 -1
- package/types/utils/is.d.ts +2 -0
- package/types/verification-code/VerificationCode.d.ts +2 -1
- package/utils/CSSTransition.js +1 -1
- package/utils/contextHolder.js +1 -1
- package/utils/dayjs.js +50 -49
- package/utils/index.js +161 -148
- package/utils/is.js +125 -112
package/locale/zh-CN.js
CHANGED
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@unicom-cloud/ui","version":"0.8.
|
|
1
|
+
{"name":"@unicom-cloud/ui","version":"0.8.63","dependencies":{"@unicom-cloud/icons":"^0.0.0"},"peerDependencies":{"dayjs":"^1.11.10","lodash":"^4.17.21","react":"^18.3.1","react-dom":"^18.3.1"},"peerDependenciesMeta":{},"type":"module","types":"types/index.d.ts","main":"./index.js","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}}
|
|
@@ -15,21 +15,16 @@ export declare const useColorPicker: (props: UseColorPickerProps) => {
|
|
|
15
15
|
popupVisible: boolean;
|
|
16
16
|
color: {
|
|
17
17
|
hsv: HSV;
|
|
18
|
-
rgb:
|
|
19
|
-
r: number;
|
|
20
|
-
g: number;
|
|
21
|
-
b: number;
|
|
22
|
-
a: number | undefined;
|
|
23
|
-
};
|
|
18
|
+
rgb: import("@unicom-cloud/tinycolor").Numberify<import("@unicom-cloud/tinycolor").RGBA>;
|
|
24
19
|
rgbString: string;
|
|
25
20
|
hex: string;
|
|
26
21
|
hexString: string;
|
|
27
22
|
hex8String: string;
|
|
28
23
|
string: string;
|
|
29
24
|
tiny: TinyColor;
|
|
30
|
-
alpha: number
|
|
25
|
+
alpha: number;
|
|
31
26
|
};
|
|
32
|
-
alpha: number
|
|
27
|
+
alpha: number;
|
|
33
28
|
onHsvChange: (_value: HSV) => void;
|
|
34
29
|
onAlphaChange: (_value: number) => void;
|
|
35
30
|
onVisibleChange: (newVisible: any) => void;
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { DatePickerDecorator, DatePickerProps, MonthPickerProps, QuarterPickerProps, RangePickerProps, WeekPickerProps, YearPickerProps } from './interface';
|
|
3
|
+
declare const MonthPicker: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
|
|
4
|
+
declare const YearPicker: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
|
|
5
|
+
declare const WeekPicker: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
|
|
6
|
+
declare const QuarterPicker: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
|
|
7
|
+
declare const RangePicker: React.ForwardRefExoticComponent<import("./interface").BaseRangePickerProps & import("..").Omit<import("./interface").PickerProps, "onChange" | "onSelect" | "onOk" | "inputProps" | "defaultPickerValue" | "pickerValue" | "onPickerValueChange"> & React.RefAttributes<import("./interface").RangePickerHandle>>;
|
|
8
|
+
export { MonthPicker, QuarterPicker, RangePicker, WeekPicker, YearPicker };
|
|
2
9
|
declare const _default: DatePickerDecorator;
|
|
3
10
|
export default _default;
|
|
4
11
|
export type { DatePickerProps, MonthPickerProps, QuarterPickerProps, RangePickerProps, WeekPickerProps, YearPickerProps, };
|
package/types/index.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ export { default as Checkbox } from "./checkbox";
|
|
|
15
15
|
export { default as Collapse } from "./collapse";
|
|
16
16
|
export { default as Comment } from "./comment";
|
|
17
17
|
export { default as Copy } from "./copy";
|
|
18
|
-
export { default as DatePicker } from "./date-picker";
|
|
19
18
|
export { default as Descriptions } from "./descriptions";
|
|
20
19
|
export { default as Divider } from "./divider";
|
|
21
20
|
export { default as Drawer } from "./drawer";
|
|
@@ -75,12 +74,13 @@ export { default as Watermark } from "./watermark";
|
|
|
75
74
|
export { compute, default as computeScrollIntoView } from "@unicom-cloud/compute-scroll-into-view";
|
|
76
75
|
export { CSSTransition, ReplaceTransition, SwitchTransition, Transition, TransitionGroup } from "@unicom-cloud/react-transition-group";
|
|
77
76
|
export { default as scrollIntoView, default as scrollIntoViewIfNeeded } from "@unicom-cloud/scroll-into-view-if-needed";
|
|
78
|
-
export {
|
|
77
|
+
export { convertDecimalToHex, convertHexToDecimal, hslToRgb, hsvToRgb, numberInputToObject, parseIntFromHex, rgbaToArgbHex, rgbaToHex, rgbToHex, rgbToHsl, rgbToHsv, rgbToRgb, default as TinyColor } from "@unicom-cloud/tinycolor";
|
|
79
78
|
export { easing, default as tween } from "@unicom-cloud/tween";
|
|
80
79
|
export { v4 as uuid, v4 as uuidv4 } from "@unicom-cloud/uuid";
|
|
81
80
|
export { DefaultValidateMessage, Schema, default as validate } from "@unicom-cloud/validate";
|
|
82
81
|
export { default as Badge, COLORS as BadgeCOLORS, STATUS as BadgeSTATUS } from "./badge";
|
|
83
82
|
export { default as Button, ButtonGroup } from "./button";
|
|
84
83
|
export { ConfigConsumer, ConfigContext, default as ConfigProvider } from "./config-provider";
|
|
84
|
+
export { default as DatePicker, MonthPicker, QuarterPicker, RangePicker, WeekPicker, YearPicker } from "./date-picker";
|
|
85
85
|
export { Col, default as Grid, GridItem, Row } from "./grid";
|
|
86
86
|
export { default as Upload, UploadList, STATUS as UploadSTATUS } from "./upload";
|
package/types/locale/zh-CN.d.ts
CHANGED
|
@@ -15,6 +15,13 @@ declare const _default: {
|
|
|
15
15
|
week: string;
|
|
16
16
|
day: string;
|
|
17
17
|
};
|
|
18
|
+
quarter: {
|
|
19
|
+
q1: string;
|
|
20
|
+
q2: string;
|
|
21
|
+
q3: string;
|
|
22
|
+
q4: string;
|
|
23
|
+
format: string;
|
|
24
|
+
};
|
|
18
25
|
month: {
|
|
19
26
|
long: {
|
|
20
27
|
January: string;
|
|
@@ -82,6 +89,13 @@ declare const _default: {
|
|
|
82
89
|
week: string;
|
|
83
90
|
day: string;
|
|
84
91
|
};
|
|
92
|
+
quarter: {
|
|
93
|
+
q1: string;
|
|
94
|
+
q2: string;
|
|
95
|
+
q3: string;
|
|
96
|
+
q4: string;
|
|
97
|
+
format: string;
|
|
98
|
+
};
|
|
85
99
|
month: {
|
|
86
100
|
long: {
|
|
87
101
|
January: string;
|
package/types/space/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { SpaceProps, SpaceSize } from './interface';
|
|
2
|
-
declare const SpaceComponent:
|
|
3
|
+
declare const SpaceComponent: React.ForwardRefExoticComponent<SpaceProps & React.RefAttributes<unknown>>;
|
|
3
4
|
export default SpaceComponent;
|
|
4
5
|
export type { SpaceProps, SpaceSize };
|
package/types/utils/is.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Dayjs } from 'dayjs';
|
|
2
|
+
import { isAsyncMode, isConcurrentMode, isContextConsumer, isContextProvider, isElement, isForwardRef, isFragment, isLazy, isMemo, isPortal, isProfiler, isStrictMode, isSuspense, isValidElementType } from 'react-is';
|
|
2
3
|
export * from '@unicom-cloud/utils/is';
|
|
3
4
|
export declare function isNullOrUndefined(obj: any): boolean;
|
|
4
5
|
export declare function isEmptyReactNode(content: any, trim?: boolean): boolean;
|
|
@@ -12,3 +13,4 @@ export declare const isReact18: boolean;
|
|
|
12
13
|
export declare const isReact19: boolean;
|
|
13
14
|
export declare const isForwardRefReact: (object: any) => any;
|
|
14
15
|
export declare const supportRef: (element: any) => boolean;
|
|
16
|
+
export { isAsyncMode, isConcurrentMode, isContextConsumer, isContextProvider, isElement, isForwardRef, isFragment, isLazy, isMemo, isPortal, isProfiler, isStrictMode, isSuspense, isValidElementType, };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { VerificationCodeProps } from './interface';
|
|
2
3
|
export declare function VerificationCodeComponent(baseProps: VerificationCodeProps, _: any): import("react/jsx-dev-runtime").JSX.Element;
|
|
3
4
|
export declare namespace VerificationCodeComponent {
|
|
4
5
|
var displayName: string;
|
|
5
6
|
}
|
|
6
|
-
declare const VerificationCode:
|
|
7
|
+
declare const VerificationCode: React.ForwardRefExoticComponent<VerificationCodeProps & React.RefAttributes<unknown>>;
|
|
7
8
|
export default VerificationCode;
|
package/utils/CSSTransition.js
CHANGED
package/utils/contextHolder.js
CHANGED
package/utils/dayjs.js
CHANGED
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
import
|
|
1
|
+
import u, { isDayjs as m } from "dayjs";
|
|
2
2
|
import x from "dayjs/plugin/advancedFormat";
|
|
3
3
|
import j from "dayjs/plugin/customParseFormat";
|
|
4
4
|
import $ from "dayjs/plugin/isBetween";
|
|
5
5
|
import F from "dayjs/plugin/quarterOfYear";
|
|
6
6
|
import Y from "dayjs/plugin/weekOfYear";
|
|
7
7
|
import k from "dayjs/plugin/weekYear";
|
|
8
|
-
import
|
|
8
|
+
import d from "lodash/isArray";
|
|
9
9
|
import O from "lodash/isUndefined";
|
|
10
|
-
|
|
11
|
-
n = function(r
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
function v(t, e, n) {
|
|
11
|
+
n = function(...r) {
|
|
12
|
+
const [s, a] = r;
|
|
13
|
+
if (m(s))
|
|
14
|
+
return s.clone();
|
|
15
|
+
const c = typeof a == "object" ? a : {};
|
|
16
|
+
return c.date = s, c.args = r, new e(c);
|
|
16
17
|
};
|
|
17
|
-
const o = e.prototype,
|
|
18
|
+
const o = e.prototype, i = o.$utils;
|
|
18
19
|
o.$utils = function() {
|
|
19
|
-
const r =
|
|
20
|
+
const r = i();
|
|
20
21
|
return r.i = m, r;
|
|
21
22
|
}, n.isDayjs = m;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
const
|
|
23
|
+
}
|
|
24
|
+
u.extend(v);
|
|
25
|
+
u.extend(j);
|
|
26
|
+
u.extend($);
|
|
27
|
+
u.extend(Y);
|
|
28
|
+
u.extend(x);
|
|
29
|
+
u.extend(k);
|
|
30
|
+
u.extend(F);
|
|
31
|
+
const f = u, g = {
|
|
31
32
|
add(t, e, n) {
|
|
32
33
|
return t.add(e, n);
|
|
33
34
|
},
|
|
@@ -44,7 +45,7 @@ const a = c, y = {
|
|
|
44
45
|
return t.set(e, n);
|
|
45
46
|
},
|
|
46
47
|
isSameWeek(t, e, n, o) {
|
|
47
|
-
return t.locale({ ...
|
|
48
|
+
return t.locale({ ...f.Ls[o], weekStart: n }).isSame(e, "week");
|
|
48
49
|
}
|
|
49
50
|
}, A = {
|
|
50
51
|
year: 0,
|
|
@@ -71,11 +72,11 @@ const a = c, y = {
|
|
|
71
72
|
return M(e).formatToParts(n);
|
|
72
73
|
}, h = (t, e) => {
|
|
73
74
|
const n = S(t, e), o = [];
|
|
74
|
-
for (let
|
|
75
|
-
const { type: p, value: w } = n[
|
|
75
|
+
for (let y = 0; y < n.length; y += 1) {
|
|
76
|
+
const { type: p, value: w } = n[y], D = A[p];
|
|
76
77
|
D >= 0 && (o[D] = parseInt(w, 10));
|
|
77
78
|
}
|
|
78
|
-
const
|
|
79
|
+
const i = o[3], r = i === 24 ? 0 : i, s = Date.UTC(
|
|
79
80
|
o[0],
|
|
80
81
|
o[1] - 1,
|
|
81
82
|
o[2],
|
|
@@ -84,17 +85,17 @@ const a = c, y = {
|
|
|
84
85
|
o[5],
|
|
85
86
|
0
|
|
86
87
|
);
|
|
87
|
-
let
|
|
88
|
-
const
|
|
89
|
-
return
|
|
88
|
+
let a = +t;
|
|
89
|
+
const c = a % 1e3;
|
|
90
|
+
return a -= c, (s - a) / (60 * 1e3);
|
|
90
91
|
}, U = (t, e, n) => {
|
|
91
92
|
let o = t - e * 60 * 1e3;
|
|
92
|
-
const
|
|
93
|
-
if (e ===
|
|
93
|
+
const i = h(o, n);
|
|
94
|
+
if (e === i)
|
|
94
95
|
return [o, e];
|
|
95
|
-
o -= (
|
|
96
|
+
o -= (i - e) * 60 * 1e3;
|
|
96
97
|
const r = h(o, n);
|
|
97
|
-
return
|
|
98
|
+
return i === r ? [o, i] : [t - Math.min(i, r) * 60 * 1e3, Math.max(i, r)];
|
|
98
99
|
};
|
|
99
100
|
function b(t, e) {
|
|
100
101
|
return U(
|
|
@@ -104,13 +105,13 @@ function b(t, e) {
|
|
|
104
105
|
)[1];
|
|
105
106
|
}
|
|
106
107
|
function B(t, e) {
|
|
107
|
-
return O(t) && !e ?
|
|
108
|
+
return O(t) && !e ? f() : l(f(), t, e);
|
|
108
109
|
}
|
|
109
110
|
function l(t, e, n, o) {
|
|
110
111
|
if (!t || O(e) && !n)
|
|
111
112
|
return t;
|
|
112
|
-
const
|
|
113
|
-
return
|
|
113
|
+
const i = -t.toDate().getTimezoneOffset(), r = O(e) ? n ? b(t.valueOf(), n) : i : e, s = Math.abs(r) <= 16 ? r * 60 : r, a = o ? i - s : s - i;
|
|
114
|
+
return f(f(t).valueOf() + a * 60 * 1e3);
|
|
114
115
|
}
|
|
115
116
|
function G(t, e, n) {
|
|
116
117
|
return l(t, e, n, !0);
|
|
@@ -123,22 +124,22 @@ function Q(t) {
|
|
|
123
124
|
function _(t, e, n, o) {
|
|
124
125
|
if (!t)
|
|
125
126
|
return;
|
|
126
|
-
const
|
|
127
|
-
if (m(
|
|
128
|
-
return
|
|
129
|
-
if (typeof
|
|
130
|
-
const
|
|
131
|
-
return
|
|
127
|
+
const i = (s, a) => {
|
|
128
|
+
if (m(s))
|
|
129
|
+
return f(s.valueOf());
|
|
130
|
+
if (typeof s == "string") {
|
|
131
|
+
const c = f(s, d(e) ? e[a] : e);
|
|
132
|
+
return c.isValid() ? c : f(s, "YYYY-MM-DD");
|
|
132
133
|
}
|
|
133
|
-
return
|
|
134
|
-
}, r = (
|
|
135
|
-
return
|
|
134
|
+
return f(s);
|
|
135
|
+
}, r = (s, a) => n !== void 0 || o ? l(i(s, a), n, o) : i(s, a);
|
|
136
|
+
return d(t) ? t.map((s, a) => s ? r(s, a) : void 0) : r(t, 0);
|
|
136
137
|
}
|
|
137
138
|
function q(t, e) {
|
|
138
|
-
const n = t.year(), o = t.month(),
|
|
139
|
+
const n = t.year(), o = t.month(), i = t.date();
|
|
139
140
|
if (e) {
|
|
140
141
|
let r = e;
|
|
141
|
-
return r =
|
|
142
|
+
return r = g.set(r, "year", n), r = g.set(r, "month", o), r = g.set(r, "date", i), r;
|
|
142
143
|
}
|
|
143
144
|
return t;
|
|
144
145
|
}
|
|
@@ -149,16 +150,16 @@ function E(t) {
|
|
|
149
150
|
return e.sort((n, o) => n.valueOf() - o.valueOf()), e;
|
|
150
151
|
}
|
|
151
152
|
function J(t, e) {
|
|
152
|
-
return e === void 0 && t === void 0 ? !1 : e && !t || !e && t ||
|
|
153
|
+
return e === void 0 && t === void 0 ? !1 : e && !t || !e && t || f(e).valueOf() !== f(t).valueOf();
|
|
153
154
|
}
|
|
154
155
|
function K(t, e) {
|
|
155
|
-
return e === void 0 && t === void 0 ? !1 : e && !t || !e && t ||
|
|
156
|
+
return e === void 0 && t === void 0 ? !1 : e && !t || !e && t || d(e) && d(t) && f(e[0]).valueOf() !== f(t[0]).valueOf() || f(e[1]).valueOf() !== f(t[1]).valueOf();
|
|
156
157
|
}
|
|
157
158
|
function X(t, e, n) {
|
|
158
|
-
return typeof t == "string" &&
|
|
159
|
+
return typeof t == "string" && f(t, e).format(d(e) ? e[n] : e) === t;
|
|
159
160
|
}
|
|
160
161
|
export {
|
|
161
|
-
|
|
162
|
+
f as dayjs,
|
|
162
163
|
_ as getDayjsValue,
|
|
163
164
|
B as getNow,
|
|
164
165
|
E as getSortedDayjsArray,
|
|
@@ -167,7 +168,7 @@ export {
|
|
|
167
168
|
K as isDayjsArrayChange,
|
|
168
169
|
J as isDayjsChange,
|
|
169
170
|
X as isValidTimeString,
|
|
170
|
-
|
|
171
|
+
g as methods,
|
|
171
172
|
b as timezoneToOffset,
|
|
172
173
|
G as toLocal,
|
|
173
174
|
l as toTimezone
|