@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.
Files changed (123) hide show
  1. package/Affix.js +1 -1
  2. package/Alert.js +2 -2
  3. package/Anchor.js +1 -1
  4. package/AutoComplete.js +3 -3
  5. package/Avatar.js +1 -1
  6. package/BackTop.js +2 -2
  7. package/Badge.js +2 -2
  8. package/Breadcrumb.js +2 -2
  9. package/Button.js +1 -1
  10. package/Calendar.js +3 -3
  11. package/Card.js +1 -1
  12. package/Carousel.js +1 -1
  13. package/Cascader.js +1 -1
  14. package/Checkbox.js +1 -1
  15. package/Collapse.js +1 -1
  16. package/ColorPicker.js +4 -4
  17. package/Comment.js +1 -1
  18. package/ConfigProvider.js +2 -2
  19. package/Copy.js +1 -1
  20. package/DatePicker.js +1026 -1016
  21. package/Descriptions.js +10 -10
  22. package/Divider.js +1 -1
  23. package/Draggable.js +1 -1
  24. package/Drawer.js +1 -1
  25. package/Dropdown.js +1 -1
  26. package/Empty.js +1 -1
  27. package/Form.js +2 -2
  28. package/Grid.js +2 -2
  29. package/Icon.js +1 -1
  30. package/IconHover.js +1 -1
  31. package/Image.js +1 -1
  32. package/Input.js +1 -1
  33. package/InputNumber.js +2 -2
  34. package/InputTag.js +1 -1
  35. package/Layout.js +2 -2
  36. package/Link.js +1 -1
  37. package/List.js +3 -3
  38. package/Mentions.js +3 -3
  39. package/Menu.js +1 -1
  40. package/Message.js +2 -2
  41. package/Modal.js +1 -1
  42. package/Notice.js +1 -1
  43. package/Notification.js +2 -2
  44. package/OverflowEllipsis.js +1 -1
  45. package/PageHeader.js +1 -1
  46. package/Pagination.js +1 -1
  47. package/Picker.js +1 -1
  48. package/Popconfirm.js +1 -1
  49. package/Popover.js +1 -1
  50. package/Progress.js +1 -1
  51. package/Radio.js +2 -2
  52. package/Rate.js +1 -1
  53. package/ResizeBox.js +1 -1
  54. package/Result.js +1 -1
  55. package/Select.js +1 -1
  56. package/SelectView.js +3 -3
  57. package/Skeleton.js +1 -1
  58. package/Slider.js +2 -2
  59. package/Space.js +32 -32
  60. package/Spin.js +1 -1
  61. package/Statistic.js +1 -1
  62. package/Steps.js +1 -1
  63. package/Switch.js +2 -2
  64. package/Table.js +4 -4
  65. package/Tabs.js +1 -1
  66. package/Tag.js +1 -1
  67. package/TimePicker.js +3 -3
  68. package/Timeline.js +1 -1
  69. package/Tooltip.js +1 -1
  70. package/Transfer.js +3 -3
  71. package/Tree.js +1 -1
  72. package/TreeSelect.js +1 -1
  73. package/Trigger.js +2 -2
  74. package/Typography.js +1 -1
  75. package/Upload.js +2 -2
  76. package/VerificationCode.js +1 -1
  77. package/Watermark.js +1 -1
  78. package/chunk/{DRp7voqz.js → B5gIo-hD.js} +3 -3
  79. package/chunk/{CDJ1EnJ2.js → B9w_puFP.js} +1 -1
  80. package/chunk/{C4eJ9vCf.js → BEB_A9eY.js} +2 -2
  81. package/chunk/{B8SZFOjt.js → BLLKKgZJ.js} +1 -1
  82. package/chunk/{B0oDiPqE.js → BcwdVUDs.js} +1 -1
  83. package/chunk/{CazXy0r4.js → Bn2-vqTg.js} +3 -3
  84. package/chunk/{BnqeQYIZ.js → BnLshM9R.js} +23 -23
  85. package/chunk/{D3VMG9V1.js → BoDdbbF_.js} +1 -1
  86. package/chunk/{CV1kLw5Z.js → C5S_amaH.js} +1 -1
  87. package/chunk/{DRQ1v6Ux.js → C6Zb_-OE.js} +1 -1
  88. package/chunk/{BXWxA-tS.js → CAxIyiy6.js} +2 -2
  89. package/chunk/{C8o-VGyc.js → CD7dGcUa.js} +3 -3
  90. package/chunk/{Bp3XomF8.js → CLBavO5c.js} +23 -20
  91. package/chunk/{CJnshq6A.js → CZ1wrD_H.js} +2 -2
  92. package/chunk/{BlNFmhNa.js → CfTcP6nF.js} +3 -3
  93. package/chunk/{C6fEFlPt.js → CfZWOhnc.js} +2 -2
  94. package/chunk/{mfn4EgmQ.js → CgDayZDE.js} +1 -1
  95. package/chunk/{nbEvdwT0.js → Co3idurS.js} +2 -2
  96. package/chunk/{Wum88vrW.js → CvlD3aiv.js} +2 -2
  97. package/chunk/{AqH9yP_J.js → D3dcFbex.js} +2 -2
  98. package/chunk/{CHyuuVxl.js → DDDuw0Zi.js} +1 -1
  99. package/chunk/{Dtm4BmKB.js → DXZ8-ha7.js} +1 -1
  100. package/chunk/{qpd2axxs.js → DbLgopUR.js} +2 -2
  101. package/chunk/{tOFzwzpT.js → DbPYtS7-.js} +1 -1
  102. package/chunk/{-Z968QpN.js → Dk6hL04k.js} +3 -3
  103. package/chunk/{KchYsivk.js → Dpzgtdt-.js} +1 -1
  104. package/chunk/{B4-WpgY2.js → JpKOcIfl.js} +3 -3
  105. package/chunk/{DGasAUHE.js → QFkhCtUr.js} +11 -11
  106. package/chunk/{CT1lZ7ss.js → aqSmxUbY.js} +1 -1
  107. package/chunk/{yESVS-qX.js → rlfmXePI.js} +3 -3
  108. package/index.js +344 -326
  109. package/locale/zh-CN.js +8 -0
  110. package/package.json +1 -1
  111. package/types/color-picker/hooks/useColorPicker.d.ts +3 -8
  112. package/types/date-picker/index.d.ts +7 -0
  113. package/types/index.d.ts +2 -2
  114. package/types/locale/interface.d.ts +1 -0
  115. package/types/locale/zh-CN.d.ts +14 -0
  116. package/types/space/index.d.ts +2 -1
  117. package/types/utils/is.d.ts +2 -0
  118. package/types/verification-code/VerificationCode.d.ts +2 -1
  119. package/utils/CSSTransition.js +1 -1
  120. package/utils/contextHolder.js +1 -1
  121. package/utils/dayjs.js +50 -49
  122. package/utils/index.js +161 -148
  123. package/utils/is.js +125 -112
package/locale/zh-CN.js CHANGED
@@ -17,6 +17,14 @@ const e = {
17
17
  week: "周",
18
18
  day: "日"
19
19
  },
20
+ quarter: {
21
+ // 潘启宝增加 2024年12月23日 星期一 11时07分24秒 CST
22
+ q1: "1季度",
23
+ q2: "2季度",
24
+ q3: "3季度",
25
+ q4: "4季度",
26
+ format: "YYYY-Q[季度]"
27
+ },
20
28
  month: {
21
29
  long: {
22
30
  January: "一月",
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@unicom-cloud/ui","version":"0.8.62","dependencies":{},"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"}}
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 | undefined;
25
+ alpha: number;
31
26
  };
32
- alpha: number | undefined;
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 { default as TinyColor, convertDecimalToHex, convertHexToDecimal, hslToRgb, hsvToRgb, numberInputToObject, parseIntFromHex, rgbToHex, rgbToHsl, rgbToHsv, rgbToRgb, rgbaToArgbHex, rgbaToHex } from "@unicom-cloud/tinycolor";
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";
@@ -1,6 +1,7 @@
1
1
  type CalendarType = {
2
2
  today: string;
3
3
  view: Record<string, any>;
4
+ quarter: Record<string, any>;
4
5
  month: {
5
6
  short: Record<string, any>;
6
7
  long: Record<string, any>;
@@ -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;
@@ -1,4 +1,5 @@
1
+ import React from 'react';
1
2
  import type { SpaceProps, SpaceSize } from './interface';
2
- declare const SpaceComponent: import("react").ForwardRefExoticComponent<SpaceProps & import("react").RefAttributes<unknown>>;
3
+ declare const SpaceComponent: React.ForwardRefExoticComponent<SpaceProps & React.RefAttributes<unknown>>;
3
4
  export default SpaceComponent;
4
5
  export type { SpaceProps, SpaceSize };
@@ -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: import("react").ForwardRefExoticComponent<VerificationCodeProps & import("react").RefAttributes<unknown>>;
7
+ declare const VerificationCode: React.ForwardRefExoticComponent<VerificationCodeProps & React.RefAttributes<unknown>>;
7
8
  export default VerificationCode;
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { P as a } from "../chunk/Bp3XomF8.js";
2
+ import { P as a } from "../chunk/CLBavO5c.js";
3
3
  import "react";
4
4
  import "./is.js";
5
5
  import "./reactDOM.js";
@@ -1,5 +1,5 @@
1
1
  import "react";
2
- import { C as a } from "../chunk/CV1kLw5Z.js";
2
+ import { C as a } from "../chunk/C5S_amaH.js";
3
3
  export {
4
4
  a as default
5
5
  };
package/utils/dayjs.js CHANGED
@@ -1,33 +1,34 @@
1
- import c, { isDayjs as m } from "dayjs";
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 u from "lodash/isArray";
8
+ import d from "lodash/isArray";
9
9
  import O from "lodash/isUndefined";
10
- const v = (t, e, n) => {
11
- n = function(r, i) {
12
- if (m(r))
13
- return r.clone();
14
- const f = typeof i == "object" ? i : {};
15
- return f.date = r, f.args = arguments, new e(f);
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, s = o.$utils;
18
+ const o = e.prototype, i = o.$utils;
18
19
  o.$utils = function() {
19
- const r = s();
20
+ const r = i();
20
21
  return r.i = m, r;
21
22
  }, n.isDayjs = m;
22
- };
23
- c.extend(v);
24
- c.extend(j);
25
- c.extend($);
26
- c.extend(Y);
27
- c.extend(x);
28
- c.extend(k);
29
- c.extend(F);
30
- const a = c, y = {
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({ ...a.Ls[o], weekStart: n }).isSame(e, "week");
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 g = 0; g < n.length; g += 1) {
75
- const { type: p, value: w } = n[g], D = A[p];
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 s = o[3], r = s === 24 ? 0 : s, i = Date.UTC(
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 f = +t;
88
- const d = f % 1e3;
89
- return f -= d, (i - f) / (60 * 1e3);
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 s = h(o, n);
93
- if (e === s)
93
+ const i = h(o, n);
94
+ if (e === i)
94
95
  return [o, e];
95
- o -= (s - e) * 60 * 1e3;
96
+ o -= (i - e) * 60 * 1e3;
96
97
  const r = h(o, n);
97
- return s === r ? [o, s] : [t - Math.min(s, r) * 60 * 1e3, Math.max(s, r)];
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 ? a() : l(a(), 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 s = -t.toDate().getTimezoneOffset(), r = O(e) ? n ? b(t.valueOf(), n) : s : e, i = Math.abs(r) <= 16 ? r * 60 : r, f = o ? s - i : i - s;
113
- return a(a(t).valueOf() + f * 60 * 1e3);
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 s = (i, f) => {
127
- if (m(i))
128
- return a(i.valueOf());
129
- if (typeof i == "string") {
130
- const d = a(i, u(e) ? e[f] : e);
131
- return d.isValid() ? d : a(i, "YYYY-MM-DD");
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 a(i);
134
- }, r = (i, f) => n !== void 0 || o ? l(s(i, f), n, o) : s(i, f);
135
- return u(t) ? t.map((i, f) => i ? r(i, f) : void 0) : r(t, 0);
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(), s = t.date();
139
+ const n = t.year(), o = t.month(), i = t.date();
139
140
  if (e) {
140
141
  let r = e;
141
- return r = y.set(r, "year", n), r = y.set(r, "month", o), r = y.set(r, "date", s), 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 || a(e).valueOf() !== a(t).valueOf();
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 || u(e) && u(t) && a(e[0]).valueOf() !== a(t[0]).valueOf() || a(e[1]).valueOf() !== a(t[1]).valueOf();
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" && a(t, e).format(u(e) ? e[n] : e) === t;
159
+ return typeof t == "string" && f(t, e).format(d(e) ? e[n] : e) === t;
159
160
  }
160
161
  export {
161
- a as dayjs,
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
- y as methods,
171
+ g as methods,
171
172
  b as timezoneToOffset,
172
173
  G as toLocal,
173
174
  l as toTimezone