@pisell/date-picker 1.0.75-7 → 1.0.75-8

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 (150) hide show
  1. package/es/ActionBar/index.d.ts +2 -1
  2. package/es/ActionBar/index.js +11 -13
  3. package/es/DateRangeCalendar/DateRangeCalendar.js +11 -12
  4. package/es/DateRangeCalendar/useDragRange.js +6 -6
  5. package/es/DateRangePicker/DateRangePickerToolbar.d.ts +2 -1
  6. package/es/DateRangePicker/DateRangePickerToolbar.js +1 -1
  7. package/es/DateRangePicker/shared.js +5 -5
  8. package/es/DateRangePickerDay/DateRangePickerDay.js +8 -9
  9. package/es/DesktopDateRangePicker/DesktopDateRangePicker.js +5 -5
  10. package/es/MobileDateRangePicker/MobileDateRangePicker.js +5 -5
  11. package/es/MultiInputDateRangeField/MultiInputDateRangeField.js +5 -5
  12. package/es/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.js +5 -5
  13. package/es/MultiInputTimeRangeField/MultiInputTimeRangeField.js +5 -5
  14. package/es/PisellDateRangePicker/CloseCircle.d.ts +2 -1
  15. package/es/PisellDateRangePicker/LocaleContext.d.ts +7 -2
  16. package/es/PisellDateRangePicker/index.d.ts +1 -1
  17. package/es/PisellDateRangePicker/index.js +22 -45
  18. package/es/PisellDateRangePicker/useCssVariables.js +1 -1
  19. package/es/Shortcuts/index.d.ts +2 -1
  20. package/es/Shortcuts/index.js +1 -1
  21. package/es/SingleInputDateRangeField/SingleInputDateRangeField.js +5 -5
  22. package/es/SingleInputDateRangeField/useSingleInputDateRangeField.js +5 -5
  23. package/es/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.js +5 -5
  24. package/es/SingleInputDateTimeRangeField/useSingleInputDateTimeRangeField.js +5 -5
  25. package/es/SingleInputTimeRangeField/SingleInputTimeRangeField.js +5 -5
  26. package/es/SingleInputTimeRangeField/useSingleInputTimeRangeField.js +5 -5
  27. package/es/StaticDateRangePicker/StaticDateRangePicker.js +5 -5
  28. package/es/dateRangeViewRenderers/dateRangeViewRenderers.d.ts +2 -1
  29. package/es/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.d.ts +2 -1
  30. package/es/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.js +5 -5
  31. package/es/internals/hooks/useEnrichedRangePickerFieldProps.js +9 -9
  32. package/es/internals/hooks/useMobileRangePicker/useMobileRangePicker.d.ts +2 -1
  33. package/es/internals/hooks/useMobileRangePicker/useMobileRangePicker.js +6 -6
  34. package/es/internals/hooks/useMultiInputRangeField/useMultiInputDateRangeField.js +5 -5
  35. package/es/internals/hooks/useMultiInputRangeField/useMultiInputDateTimeRangeField.js +5 -5
  36. package/es/internals/hooks/useMultiInputRangeField/useMultiInputTimeRangeField.js +5 -5
  37. package/es/internals/hooks/useRangePosition.js +2 -2
  38. package/es/internals/hooks/useStaticRangePicker/useStaticRangePicker.d.ts +2 -1
  39. package/es/internals/hooks/useStaticRangePicker/useStaticRangePicker.js +7 -7
  40. package/es/internals/utils/date-fields-utils.d.ts +1 -1
  41. package/es/internals/utils/date-fields-utils.js +5 -5
  42. package/es/internals/utils/date-range-manager.js +1 -1
  43. package/es/internals/utils/validation/validateDateRange.js +6 -6
  44. package/es/internals/utils/validation/validateDateTimeRange.js +6 -6
  45. package/es/internals/utils/validation/validateTimeRange.js +1 -1
  46. package/es/internals/utils/valueManagers.js +6 -6
  47. package/es/locales/index.js +11 -3
  48. package/es/locales/ja.d.ts +26 -0
  49. package/es/locales/ja.js +25 -0
  50. package/es/locales/pt.d.ts +26 -0
  51. package/es/locales/pt.js +25 -0
  52. package/es/utils/index.d.ts +1 -1
  53. package/lib/ActionBar/index.d.ts +2 -1
  54. package/lib/ActionBar/index.js +2 -4
  55. package/lib/DateRangePicker/DateRangePickerToolbar.d.ts +2 -1
  56. package/lib/PisellDateRangePicker/CloseCircle.d.ts +2 -1
  57. package/lib/PisellDateRangePicker/LocaleContext.d.ts +7 -2
  58. package/lib/PisellDateRangePicker/index.d.ts +1 -1
  59. package/lib/PisellDateRangePicker/index.js +2 -26
  60. package/lib/PisellDateRangePicker/useCssVariables.js +1 -2
  61. package/lib/Shortcuts/index.d.ts +2 -1
  62. package/lib/dateRangeViewRenderers/dateRangeViewRenderers.d.ts +2 -1
  63. package/lib/index.d.ts +1 -5
  64. package/lib/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.d.ts +2 -1
  65. package/lib/internals/hooks/useMobileRangePicker/useMobileRangePicker.d.ts +2 -1
  66. package/lib/internals/hooks/useStaticRangePicker/useStaticRangePicker.d.ts +2 -1
  67. package/lib/internals/utils/date-fields-utils.d.ts +1 -1
  68. package/lib/locales/index.js +11 -3
  69. package/lib/locales/ja.d.ts +26 -0
  70. package/lib/locales/ja.js +49 -0
  71. package/lib/locales/pt.d.ts +26 -0
  72. package/lib/locales/pt.js +49 -0
  73. package/lib/utils/index.d.ts +1 -1
  74. package/package.json +1 -1
  75. package/es/CustomCalendarHeader/index.d.ts +0 -2
  76. package/es/CustomCalendarHeader/index.js +0 -53
  77. package/es/Dialog/index.d.ts +0 -2
  78. package/es/Dialog/index.js +0 -25
  79. package/es/Drawer/index.d.ts +0 -11
  80. package/es/Drawer/index.js +0 -35
  81. package/es/Drawer/index.less +0 -40
  82. package/es/OldActionBar/index.d.ts +0 -19
  83. package/es/OldActionBar/index.js +0 -113
  84. package/es/OldActionBar/index.less +0 -18
  85. package/es/OldPisellDateRangePicker/index.d.ts +0 -79
  86. package/es/OldPisellDateRangePicker/index.js +0 -264
  87. package/es/OldPisellDateRangePicker/index.less +0 -102
  88. package/es/Toolbar/index.d.ts +0 -3
  89. package/es/Toolbar/index.js +0 -166
  90. package/es/Toolbar/index.less +0 -35
  91. package/es/browserSelect/chevron-down.png +0 -0
  92. package/es/browserSelect/index.d.ts +0 -15
  93. package/es/browserSelect/index.js +0 -36
  94. package/es/browserSelect/index.less +0 -18
  95. package/es/constants.d.ts +0 -58
  96. package/es/constants.js +0 -128
  97. package/es/hooks/useDocumentVisibility.d.ts +0 -2
  98. package/es/hooks/useDocumentVisibility.js +0 -27
  99. package/es/hooks/useNextDay.d.ts +0 -2
  100. package/es/hooks/useNextDay.js +0 -15
  101. package/es/hooks/useUpdateEffect.d.ts +0 -2
  102. package/es/hooks/useUpdateEffect.js +0 -11
  103. package/es/icon/ChevronLeft.d.ts +0 -5
  104. package/es/icon/ChevronLeft.js +0 -23
  105. package/es/icon/ChevronLeftDouble.d.ts +0 -5
  106. package/es/icon/ChevronLeftDouble.js +0 -23
  107. package/es/icon/ChevronRight.d.ts +0 -5
  108. package/es/icon/ChevronRight.js +0 -23
  109. package/es/icon/ChevronRightDouble.d.ts +0 -5
  110. package/es/icon/ChevronRightDouble.js +0 -23
  111. package/es/icon/CloseCircle.d.ts +0 -5
  112. package/es/icon/CloseCircle.js +0 -26
  113. package/lib/CustomCalendarHeader/index.d.ts +0 -2
  114. package/lib/CustomCalendarHeader/index.js +0 -58
  115. package/lib/Dialog/index.d.ts +0 -2
  116. package/lib/Dialog/index.js +0 -65
  117. package/lib/Drawer/index.d.ts +0 -11
  118. package/lib/Drawer/index.js +0 -62
  119. package/lib/Drawer/index.less +0 -40
  120. package/lib/OldActionBar/index.d.ts +0 -19
  121. package/lib/OldActionBar/index.js +0 -129
  122. package/lib/OldActionBar/index.less +0 -18
  123. package/lib/OldPisellDateRangePicker/index.d.ts +0 -79
  124. package/lib/OldPisellDateRangePicker/index.js +0 -281
  125. package/lib/OldPisellDateRangePicker/index.less +0 -102
  126. package/lib/Toolbar/index.d.ts +0 -3
  127. package/lib/Toolbar/index.js +0 -193
  128. package/lib/Toolbar/index.less +0 -35
  129. package/lib/browserSelect/chevron-down.png +0 -0
  130. package/lib/browserSelect/index.d.ts +0 -15
  131. package/lib/browserSelect/index.js +0 -59
  132. package/lib/browserSelect/index.less +0 -18
  133. package/lib/constants.d.ts +0 -58
  134. package/lib/constants.js +0 -217
  135. package/lib/hooks/useDocumentVisibility.d.ts +0 -2
  136. package/lib/hooks/useDocumentVisibility.js +0 -40
  137. package/lib/hooks/useNextDay.d.ts +0 -2
  138. package/lib/hooks/useNextDay.js +0 -49
  139. package/lib/hooks/useUpdateEffect.d.ts +0 -2
  140. package/lib/hooks/useUpdateEffect.js +0 -35
  141. package/lib/icon/ChevronLeft.d.ts +0 -5
  142. package/lib/icon/ChevronLeft.js +0 -60
  143. package/lib/icon/ChevronLeftDouble.d.ts +0 -5
  144. package/lib/icon/ChevronLeftDouble.js +0 -60
  145. package/lib/icon/ChevronRight.d.ts +0 -5
  146. package/lib/icon/ChevronRight.js +0 -60
  147. package/lib/icon/ChevronRightDouble.d.ts +0 -5
  148. package/lib/icon/ChevronRightDouble.js +0 -60
  149. package/lib/icon/CloseCircle.d.ts +0 -5
  150. package/lib/icon/CloseCircle.js +0 -67
package/lib/constants.js DELETED
@@ -1,217 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
-
29
- // src/constants.ts
30
- var constants_exports = {};
31
- __export(constants_exports, {
32
- defaultPresets: () => defaultPresets,
33
- presetDetailMap: () => presetDetailMap,
34
- presetValueArr: () => presetValueArr
35
- });
36
- module.exports = __toCommonJS(constants_exports);
37
- var import_dayjs = __toESM(require("dayjs"));
38
- var import_locales = require("./locales");
39
- var presetValueArr = [
40
- "today",
41
- "yesterday",
42
- "last_3_days",
43
- "last_7_days",
44
- "last_30_days",
45
- "last_90_days",
46
- "last_180_days",
47
- "tomorrow",
48
- "next_3_days",
49
- "next_7_days",
50
- "next_30_days",
51
- "next_90_days",
52
- "next_180_days"
53
- ];
54
- var presetDetailMap = {
55
- today: {
56
- getValue: () => [(0, import_dayjs.default)().startOf("day"), (0, import_dayjs.default)().endOf("day")],
57
- label: (locale) => (0, import_locales.getText)(
58
- "toolbar-date-range-shortcut-today",
59
- locale && import_locales.pLocaleMap[locale]
60
- )
61
- },
62
- yesterday: {
63
- getValue: () => [
64
- (0, import_dayjs.default)().add(-1, "d").startOf("day"),
65
- (0, import_dayjs.default)().add(-1, "d").endOf("day")
66
- ],
67
- label: (locale) => (0, import_locales.getText)(
68
- "toolbar-date-range-shortcut-yesterday",
69
- locale && import_locales.pLocaleMap[locale]
70
- )
71
- },
72
- last_3_days: {
73
- getValue: () => [
74
- (0, import_dayjs.default)().add(-3, "d").startOf("day"),
75
- (0, import_dayjs.default)().add(-1, "d").endOf("day")
76
- ],
77
- label: (locale) => (0, import_locales.getText)(
78
- "toolbar-date-range-shortcut-last-3-days",
79
- locale && import_locales.pLocaleMap[locale]
80
- )
81
- },
82
- last_7_days: {
83
- getValue: () => [
84
- (0, import_dayjs.default)().add(-7, "d").startOf("day"),
85
- (0, import_dayjs.default)().add(-1, "d").endOf("day")
86
- ],
87
- label: (locale) => (0, import_locales.getText)(
88
- "toolbar-date-range-shortcut-last-7-days",
89
- locale && import_locales.pLocaleMap[locale]
90
- )
91
- },
92
- last_30_days: {
93
- getValue: () => [
94
- (0, import_dayjs.default)().add(-30, "d").startOf("day"),
95
- (0, import_dayjs.default)().add(-1, "d").endOf("day")
96
- ],
97
- label: (locale) => (0, import_locales.getText)(
98
- "toolbar-date-range-shortcut-last-30-days",
99
- locale && import_locales.pLocaleMap[locale]
100
- )
101
- },
102
- last_90_days: {
103
- getValue: () => [
104
- (0, import_dayjs.default)().add(-90, "d").startOf("day"),
105
- (0, import_dayjs.default)().add(-1, "d").endOf("day")
106
- ],
107
- label: (locale) => (0, import_locales.getText)(
108
- "toolbar-date-range-shortcut-last-90-days",
109
- locale && import_locales.pLocaleMap[locale]
110
- )
111
- },
112
- last_180_days: {
113
- getValue: () => [
114
- (0, import_dayjs.default)().add(-180, "d").startOf("day"),
115
- (0, import_dayjs.default)().add(-1, "d").endOf("day")
116
- ],
117
- label: (locale) => (0, import_locales.getText)(
118
- "toolbar-date-range-shortcut-last-180-days",
119
- locale && import_locales.pLocaleMap[locale]
120
- )
121
- },
122
- tomorrow: {
123
- getValue: () => [
124
- (0, import_dayjs.default)().add(1, "d").startOf("day"),
125
- (0, import_dayjs.default)().add(1, "d").endOf("day")
126
- ],
127
- label: (locale) => (0, import_locales.getText)(
128
- "toolbar-date-range-shortcut-tomorrow",
129
- locale && import_locales.pLocaleMap[locale]
130
- )
131
- },
132
- next_3_days: {
133
- getValue: () => [
134
- (0, import_dayjs.default)().add(1, "d").startOf("day"),
135
- (0, import_dayjs.default)().add(3, "d").endOf("day")
136
- ],
137
- label: (locale) => (0, import_locales.getText)(
138
- "toolbar-date-range-shortcut-next-3-days",
139
- locale && import_locales.pLocaleMap[locale]
140
- )
141
- },
142
- next_7_days: {
143
- getValue: () => [
144
- (0, import_dayjs.default)().add(1, "d").startOf("day"),
145
- (0, import_dayjs.default)().add(7, "d").endOf("day")
146
- ],
147
- label: (locale) => (0, import_locales.getText)(
148
- "toolbar-date-range-shortcut-next-7-days",
149
- locale && import_locales.pLocaleMap[locale]
150
- )
151
- },
152
- next_30_days: {
153
- getValue: () => [
154
- (0, import_dayjs.default)().add(1, "d").startOf("day"),
155
- (0, import_dayjs.default)().add(30, "d").endOf("day")
156
- ],
157
- label: (locale) => (0, import_locales.getText)(
158
- "toolbar-date-range-shortcut-next-30-days",
159
- locale && import_locales.pLocaleMap[locale]
160
- )
161
- },
162
- next_90_days: {
163
- getValue: () => [
164
- (0, import_dayjs.default)().add(1, "d").startOf("day"),
165
- (0, import_dayjs.default)().add(90, "d").endOf("day")
166
- ],
167
- label: (locale) => (0, import_locales.getText)(
168
- "toolbar-date-range-shortcut-next-90-days",
169
- locale && import_locales.pLocaleMap[locale]
170
- )
171
- },
172
- next_180_days: {
173
- getValue: () => [
174
- (0, import_dayjs.default)().add(1, "d").startOf("day"),
175
- (0, import_dayjs.default)().add(180, "d").endOf("day")
176
- ],
177
- label: (locale) => (0, import_locales.getText)(
178
- "toolbar-date-range-shortcut-next-180-days",
179
- locale && import_locales.pLocaleMap[locale]
180
- )
181
- }
182
- };
183
- var defaultPresets = [
184
- {
185
- value: "today"
186
- },
187
- {
188
- value: "yesterday"
189
- },
190
- {
191
- value: "tomorrow"
192
- },
193
- {
194
- value: "next_7_days"
195
- },
196
- {
197
- value: "next_30_days"
198
- },
199
- {
200
- value: "next_90_days"
201
- },
202
- {
203
- value: "last_7_days"
204
- },
205
- {
206
- value: "last_30_days"
207
- },
208
- {
209
- value: "last_90_days"
210
- }
211
- ];
212
- // Annotate the CommonJS export names for ESM import in node:
213
- 0 && (module.exports = {
214
- defaultPresets,
215
- presetDetailMap,
216
- presetValueArr
217
- });
@@ -1,2 +0,0 @@
1
- declare const useDocumentVisibility: () => any;
2
- export default useDocumentVisibility;
@@ -1,40 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
-
19
- // src/hooks/useDocumentVisibility.ts
20
- var useDocumentVisibility_exports = {};
21
- __export(useDocumentVisibility_exports, {
22
- default: () => useDocumentVisibility_default
23
- });
24
- module.exports = __toCommonJS(useDocumentVisibility_exports);
25
- var import_react = require("react");
26
- var getVisible = () => document.visibilityState;
27
- var useDocumentVisibility = () => {
28
- const [visible, setVisible] = (0, import_react.useState)(getVisible());
29
- (0, import_react.useEffect)(() => {
30
- const handleVisibilityChange = () => {
31
- setVisible(getVisible());
32
- };
33
- document.addEventListener("visibilitychange", handleVisibilityChange);
34
- return () => {
35
- document.removeEventListener("visibilitychange", handleVisibilityChange);
36
- };
37
- }, []);
38
- return visible;
39
- };
40
- var useDocumentVisibility_default = useDocumentVisibility;
@@ -1,2 +0,0 @@
1
- declare const useNextDay: (fn: Function) => void;
2
- export default useNextDay;
@@ -1,49 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
-
29
- // src/hooks/useNextDay.ts
30
- var useNextDay_exports = {};
31
- __export(useNextDay_exports, {
32
- default: () => useNextDay_default
33
- });
34
- module.exports = __toCommonJS(useNextDay_exports);
35
- var import_react = require("react");
36
- var import_useUpdateEffect = __toESM(require("./useUpdateEffect"));
37
- var import_useDocumentVisibility = __toESM(require("./useDocumentVisibility"));
38
- var import_dayjs = __toESM(require("dayjs"));
39
- var useNextDay = (fn) => {
40
- const visible = (0, import_useDocumentVisibility.default)();
41
- const currentDay = (0, import_react.useRef)((0, import_dayjs.default)());
42
- (0, import_useUpdateEffect.default)(() => {
43
- if (visible && !currentDay.current.isSame((0, import_dayjs.default)(), "day")) {
44
- currentDay.current = (0, import_dayjs.default)();
45
- fn();
46
- }
47
- }, [visible]);
48
- };
49
- var useNextDay_default = useNextDay;
@@ -1,2 +0,0 @@
1
- declare const useUpdateEffect: (fn: Function, deps: any[]) => void;
2
- export default useUpdateEffect;
@@ -1,35 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
-
19
- // src/hooks/useUpdateEffect.ts
20
- var useUpdateEffect_exports = {};
21
- __export(useUpdateEffect_exports, {
22
- default: () => useUpdateEffect_default
23
- });
24
- module.exports = __toCommonJS(useUpdateEffect_exports);
25
- var import_react = require("react");
26
- var useUpdateEffect = (fn, deps) => {
27
- const isMount = (0, import_react.useRef)(false);
28
- (0, import_react.useEffect)(() => {
29
- if (isMount.current) {
30
- fn();
31
- }
32
- isMount.current = true;
33
- }, deps);
34
- };
35
- var useUpdateEffect_default = useUpdateEffect;
@@ -1,5 +0,0 @@
1
- declare const ChevronLeft: (props: {
2
- className?: string | undefined;
3
- onClick?: any;
4
- }) => JSX.Element;
5
- export default ChevronLeft;
@@ -1,60 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
-
29
- // src/icon/ChevronLeft.tsx
30
- var ChevronLeft_exports = {};
31
- __export(ChevronLeft_exports, {
32
- default: () => ChevronLeft_default
33
- });
34
- module.exports = __toCommonJS(ChevronLeft_exports);
35
- var import_react = __toESM(require("react"));
36
- var ChevronLeft = (props) => {
37
- const { className, onClick } = props;
38
- return /* @__PURE__ */ import_react.default.createElement("span", { className, onClick }, /* @__PURE__ */ import_react.default.createElement(
39
- "svg",
40
- {
41
- className: "icon",
42
- viewBox: "0 0 1024 1024",
43
- version: "1.1",
44
- xmlns: "http://www.w3.org/2000/svg",
45
- "p-id": "35105",
46
- width: "1em",
47
- height: "1em"
48
- },
49
- /* @__PURE__ */ import_react.default.createElement(
50
- "path",
51
- {
52
- "fill-rule": "evenodd",
53
- "clip-rule": "evenodd",
54
- d: "M15.7071 5.29289C16.0976 5.68342 16.0976 6.31658 15.7071 6.70711L10.4142 12L15.7071 17.2929C16.0976 17.6834 16.0976 18.3166 15.7071 18.7071C15.3166 19.0976 14.6834 19.0976 14.2929 18.7071L8.29289 12.7071C7.90237 12.3166 7.90237 11.6834 8.29289 11.2929L14.2929 5.29289C14.6834 4.90237 15.3166 4.90237 15.7071 5.29289Z",
55
- fill: "currentColor"
56
- }
57
- )
58
- ));
59
- };
60
- var ChevronLeft_default = ChevronLeft;
@@ -1,5 +0,0 @@
1
- declare const ChevronLeftDouble: (props: {
2
- className?: string | undefined;
3
- onClick?: any;
4
- }) => JSX.Element;
5
- export default ChevronLeftDouble;
@@ -1,60 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
-
29
- // src/icon/ChevronLeftDouble.tsx
30
- var ChevronLeftDouble_exports = {};
31
- __export(ChevronLeftDouble_exports, {
32
- default: () => ChevronLeftDouble_default
33
- });
34
- module.exports = __toCommonJS(ChevronLeftDouble_exports);
35
- var import_react = __toESM(require("react"));
36
- var ChevronLeftDouble = (props) => {
37
- const { className, onClick } = props;
38
- return /* @__PURE__ */ import_react.default.createElement("span", { className, onClick }, /* @__PURE__ */ import_react.default.createElement(
39
- "svg",
40
- {
41
- className: "icon",
42
- viewBox: "0 0 1024 1024",
43
- version: "1.1",
44
- xmlns: "http://www.w3.org/2000/svg",
45
- "p-id": "35105",
46
- width: "1em",
47
- height: "1em"
48
- },
49
- /* @__PURE__ */ import_react.default.createElement(
50
- "path",
51
- {
52
- "fill-rule": "evenodd",
53
- "clip-rule": "evenodd",
54
- d: "M11.7071 6.29289C12.0976 6.68342 12.0976 7.31658 11.7071 7.70711L7.41421 12L11.7071 16.2929C12.0976 16.6834 12.0976 17.3166 11.7071 17.7071C11.3166 18.0976 10.6834 18.0976 10.2929 17.7071L5.29289 12.7071C4.90237 12.3166 4.90237 11.6834 5.29289 11.2929L10.2929 6.29289C10.6834 5.90237 11.3166 5.90237 11.7071 6.29289ZM18.7071 6.29289C19.0976 6.68342 19.0976 7.31658 18.7071 7.70711L14.4142 12L18.7071 16.2929C19.0976 16.6834 19.0976 17.3166 18.7071 17.7071C18.3166 18.0976 17.6834 18.0976 17.2929 17.7071L12.2929 12.7071C11.9024 12.3166 11.9024 11.6834 12.2929 11.2929L17.2929 6.29289C17.6834 5.90237 18.3166 5.90237 18.7071 6.29289Z",
55
- fill: "currentColor"
56
- }
57
- )
58
- ));
59
- };
60
- var ChevronLeftDouble_default = ChevronLeftDouble;
@@ -1,5 +0,0 @@
1
- declare const ChevronRight: (props: {
2
- className?: string | undefined;
3
- onClick?: any;
4
- }) => JSX.Element;
5
- export default ChevronRight;
@@ -1,60 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
-
29
- // src/icon/ChevronRight.tsx
30
- var ChevronRight_exports = {};
31
- __export(ChevronRight_exports, {
32
- default: () => ChevronRight_default
33
- });
34
- module.exports = __toCommonJS(ChevronRight_exports);
35
- var import_react = __toESM(require("react"));
36
- var ChevronRight = (props) => {
37
- const { className, onClick } = props;
38
- return /* @__PURE__ */ import_react.default.createElement("span", { className, onClick }, /* @__PURE__ */ import_react.default.createElement(
39
- "svg",
40
- {
41
- className: "icon",
42
- viewBox: "0 0 1024 1024",
43
- version: "1.1",
44
- xmlns: "http://www.w3.org/2000/svg",
45
- "p-id": "35105",
46
- width: "1em",
47
- height: "1em"
48
- },
49
- /* @__PURE__ */ import_react.default.createElement(
50
- "path",
51
- {
52
- "fill-rule": "evenodd",
53
- "clip-rule": "evenodd",
54
- d: "M8.29289 5.29289C8.68342 4.90237 9.31658 4.90237 9.70711 5.29289L15.7071 11.2929C16.0976 11.6834 16.0976 12.3166 15.7071 12.7071L9.70711 18.7071C9.31658 19.0976 8.68342 19.0976 8.29289 18.7071C7.90237 18.3166 7.90237 17.6834 8.29289 17.2929L13.5858 12L8.29289 6.70711C7.90237 6.31658 7.90237 5.68342 8.29289 5.29289Z",
55
- fill: "currentColor"
56
- }
57
- )
58
- ));
59
- };
60
- var ChevronRight_default = ChevronRight;
@@ -1,5 +0,0 @@
1
- declare const ChevronRightDouble: (props: {
2
- className?: string | undefined;
3
- onClick?: any;
4
- }) => JSX.Element;
5
- export default ChevronRightDouble;
@@ -1,60 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
-
29
- // src/icon/ChevronRightDouble.tsx
30
- var ChevronRightDouble_exports = {};
31
- __export(ChevronRightDouble_exports, {
32
- default: () => ChevronRightDouble_default
33
- });
34
- module.exports = __toCommonJS(ChevronRightDouble_exports);
35
- var import_react = __toESM(require("react"));
36
- var ChevronRightDouble = (props) => {
37
- const { className, onClick } = props;
38
- return /* @__PURE__ */ import_react.default.createElement("span", { className, onClick }, /* @__PURE__ */ import_react.default.createElement(
39
- "svg",
40
- {
41
- className: "icon",
42
- viewBox: "0 0 1024 1024",
43
- version: "1.1",
44
- xmlns: "http://www.w3.org/2000/svg",
45
- "p-id": "35105",
46
- width: "1em",
47
- height: "1em"
48
- },
49
- /* @__PURE__ */ import_react.default.createElement(
50
- "path",
51
- {
52
- "fill-rule": "evenodd",
53
- "clip-rule": "evenodd",
54
- d: "M5.29289 6.29289C5.68342 5.90237 6.31658 5.90237 6.70711 6.29289L11.7071 11.2929C12.0976 11.6834 12.0976 12.3166 11.7071 12.7071L6.70711 17.7071C6.31658 18.0976 5.68342 18.0976 5.29289 17.7071C4.90237 17.3166 4.90237 16.6834 5.29289 16.2929L9.58579 12L5.29289 7.70711C4.90237 7.31658 4.90237 6.68342 5.29289 6.29289ZM12.2929 6.29289C12.6834 5.90237 13.3166 5.90237 13.7071 6.29289L18.7071 11.2929C19.0976 11.6834 19.0976 12.3166 18.7071 12.7071L13.7071 17.7071C13.3166 18.0976 12.6834 18.0976 12.2929 17.7071C11.9024 17.3166 11.9024 16.6834 12.2929 16.2929L16.5858 12L12.2929 7.70711C11.9024 7.31658 11.9024 6.68342 12.2929 6.29289Z",
55
- fill: "currentColor"
56
- }
57
- )
58
- ));
59
- };
60
- var ChevronRightDouble_default = ChevronRightDouble;
@@ -1,5 +0,0 @@
1
- declare const CloseCircle: (props: {
2
- className: string;
3
- onClick: any;
4
- }) => JSX.Element;
5
- export default CloseCircle;