@aiquants/period-slider 0.2.0 → 0.4.0
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/README.md +465 -85
- package/dist/DateSelector.d.ts +43 -14
- package/dist/DateSelector.d.ts.map +1 -1
- package/dist/MonthSelector.d.ts +26 -9
- package/dist/MonthSelector.d.ts.map +1 -1
- package/dist/PeriodSlider.d.ts +257 -125
- package/dist/PeriodSlider.d.ts.map +1 -1
- package/dist/YearSelector.d.ts +26 -9
- package/dist/YearSelector.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +28 -0
- package/dist/index.d.ts +10 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1642 -1382
- package/dist/styles/period-slider.css +1 -1
- package/dist/styles/period-slider.standalone.css +1 -1
- package/dist/usePeriodSlider.d.ts +83 -78
- package/dist/usePeriodSlider.d.ts.map +1 -1
- package/package.json +17 -10
- package/src/DateSelector.tsx +495 -194
- package/src/MonthSelector.tsx +258 -137
- package/src/PeriodSlider.tsx +1109 -572
- package/src/YearSelector.tsx +174 -55
- package/src/index.ts +13 -0
- package/src/styles/period-slider.css +41 -7
- package/src/usePeriodSlider.ts +466 -277
- package/dist/period-slider.css +0 -1
package/dist/PeriodSlider.d.ts
CHANGED
|
@@ -1,16 +1,41 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Time resolution the slider domain is quantized to.
|
|
4
|
+
* スライダー定義域を量子化する時間解像度単位。
|
|
5
|
+
*/
|
|
2
6
|
export type PeriodSliderUnit = "year" | "month" | "day";
|
|
7
|
+
/**
|
|
8
|
+
* Side of the track the handle labels are placed on.
|
|
9
|
+
* つまみラベルを配置するトラックの側。
|
|
10
|
+
*/
|
|
3
11
|
export type PeriodSliderLabelPosition = "top" | "bottom";
|
|
12
|
+
/**
|
|
13
|
+
* Layout strategy used to place discrete allowed dates along the track.
|
|
14
|
+
* 離散候補日付をトラック上へ配置する方式。
|
|
15
|
+
*
|
|
16
|
+
* - "index": every allowed date occupies an equal share of the track / 候補日付を等間隔配置
|
|
17
|
+
* - "time": every allowed date is placed proportionally to elapsed time / 候補日付を実時間比例配置
|
|
18
|
+
*/
|
|
19
|
+
export type PeriodSliderSnapMode = "index" | "time";
|
|
4
20
|
/**
|
|
5
21
|
* Color theme preset for PeriodSlider.
|
|
6
22
|
* スライダーの配色テーマプリセット。
|
|
7
23
|
*/
|
|
8
24
|
export type PeriodSliderColorScheme = "blue-rose" | "indigo-amber" | "teal-emerald" | "violet-fuchsia" | "slate-sky" | "monochrome";
|
|
25
|
+
/**
|
|
26
|
+
* Five colors one colorScheme preset paints the rails, knobs and glows with.
|
|
27
|
+
* 1 つの colorScheme プリセットがレール・つまみ・グローへ与える 5 色。
|
|
28
|
+
*/
|
|
9
29
|
export interface ColorSchemePalette {
|
|
30
|
+
/** Macro rail base color / マクロレールの基調色 */
|
|
10
31
|
macro: string;
|
|
32
|
+
/** Macro rail highlight color / マクロレールの明色 */
|
|
11
33
|
macroLight: string;
|
|
34
|
+
/** Micro rail base color / ミクロレールの基調色 */
|
|
12
35
|
micro: string;
|
|
36
|
+
/** Micro rail highlight color / ミクロレールの明色 */
|
|
13
37
|
microLight: string;
|
|
38
|
+
/** Accent color of knobs and the connect bar / つまみと接続バーのアクセント色 */
|
|
14
39
|
accent: string;
|
|
15
40
|
}
|
|
16
41
|
/**
|
|
@@ -18,179 +43,183 @@ export interface ColorSchemePalette {
|
|
|
18
43
|
* 各カラーテーマプリセットのカラーパレット定義。
|
|
19
44
|
*/
|
|
20
45
|
export declare const COLOR_SCHEME_PALETTES: Record<PeriodSliderColorScheme, ColorSchemePalette>;
|
|
46
|
+
/**
|
|
47
|
+
* Geometry the label anti-collision solver works from.
|
|
48
|
+
* ラベル衝突回避計算が前提とする幾何情報。
|
|
49
|
+
*
|
|
50
|
+
* The label width is a rendering result, never a constant: it changes with the formatter, the locale
|
|
51
|
+
* and the consumer's font, so it has no default and an absent value means "not measured yet".
|
|
52
|
+
* ラベル幅はフォーマッタ・ロケール・利用側フォントで変わる描画結果であり定数ではないため既定値を持たず、未指定は「未実測」の意。
|
|
53
|
+
*/
|
|
21
54
|
export interface LabelSlantConfig {
|
|
22
|
-
/**
|
|
55
|
+
/** Measured border-box width of the rendered label in pixels; absent disables slanting / 実測したラベルのボーダーボックス幅 (ピクセル、未指定時は傾斜を行わない) */
|
|
23
56
|
estimatedWidthPx?: number;
|
|
24
|
-
/**
|
|
57
|
+
/** Measured border-box height (thickness) of the rendered label in pixels (default: 16) / 実測したラベルのボーダーボックス高さ・厚み (ピクセル、既定: 16) */
|
|
25
58
|
estimatedHeightPx?: number;
|
|
26
|
-
/** Extra clearance gap in pixels /
|
|
59
|
+
/** Extra clearance gap in pixels (default: 12) / 衝突検知時の余白マージン (ピクセル、既定: 12) */
|
|
27
60
|
paddingPx?: number;
|
|
28
|
-
/** Maximum slant angle in degrees (default: 90) /
|
|
61
|
+
/** Maximum slant angle in degrees (default: 90) / 最大傾斜角度 (度、既定: 90) */
|
|
29
62
|
maxAngleDeg?: number;
|
|
30
|
-
/** Clearance
|
|
63
|
+
/** Clearance between the knob edge and the label edge in Y axis (pixels, default: 2) / つまみ外縁とラベル外縁の Y 軸クリアランス (ピクセル、既定: 2) */
|
|
31
64
|
anchorGapY?: number;
|
|
32
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* Placement the anti-collision solver resolved for the two handle labels.
|
|
68
|
+
* 衝突回避計算が解決した 2 つのつまみラベルの配置。
|
|
69
|
+
*/
|
|
33
70
|
export interface LabelSlantResult {
|
|
34
|
-
/** Low handle label angle in degrees
|
|
71
|
+
/** Low handle label angle in degrees, negative above the track / 下限つまみラベルの回転角 (度、上側配置では負) */
|
|
35
72
|
lowAngleDeg: number;
|
|
36
|
-
/** High handle label angle in degrees
|
|
73
|
+
/** High handle label angle in degrees, negative above the track / 上限つまみラベルの回転角 (度、上側配置では負) */
|
|
37
74
|
highAngleDeg: number;
|
|
38
|
-
/** Low handle horizontal shift in pixels */
|
|
75
|
+
/** Low handle horizontal shift in pixels / 下限つまみラベルの水平移動量 (ピクセル) */
|
|
39
76
|
lowOffsetX: number;
|
|
40
|
-
/** High handle horizontal shift in pixels */
|
|
77
|
+
/** High handle horizontal shift in pixels / 上限つまみラベルの水平移動量 (ピクセル) */
|
|
41
78
|
highOffsetX: number;
|
|
42
|
-
/** Low handle vertical shift in pixels
|
|
79
|
+
/** Low handle vertical shift in pixels, keeping the knob clearance / 下限つまみラベルの垂直移動量 (ピクセル、つまみクリアランス維持) */
|
|
43
80
|
lowOffsetY: number;
|
|
44
|
-
/** High handle vertical shift in pixels
|
|
81
|
+
/** High handle vertical shift in pixels, keeping the knob clearance / 上限つまみラベルの垂直移動量 (ピクセル、つまみクリアランス維持) */
|
|
45
82
|
highOffsetY: number;
|
|
46
|
-
/** True
|
|
83
|
+
/** True while the labels are rotated to avoid a collision / 衝突回避のため回転中か */
|
|
47
84
|
isSlanted: boolean;
|
|
48
|
-
/** Normalized collision proximity
|
|
85
|
+
/** Normalized collision proximity between 0 (apart) and 1 (coincident) / 正規化した接近度 (0: 離間、1: 完全一致) */
|
|
49
86
|
proximity: number;
|
|
50
87
|
}
|
|
88
|
+
/**
|
|
89
|
+
* Accessible names and the screen-reader formatter every slider mode accepts.
|
|
90
|
+
* 全モード共通で受け付けるアクセシブル名とスクリーンリーダー用フォーマッタ。
|
|
91
|
+
*
|
|
92
|
+
* Every default is English: a generic package cannot know the host application's language, so the
|
|
93
|
+
* consumer localises these names. The stepper names are defined by what the button does to the value,
|
|
94
|
+
* never by where it sits, because the same button is drawn left in a horizontal and below in a
|
|
95
|
+
* vertical layout.
|
|
96
|
+
* 既定値は全て英語。汎用パッケージは利用側アプリの言語を知り得ないため翻訳は利用側の責務。
|
|
97
|
+
* ステッパー名は配置ではなく値への作用で定義 (同じボタンが横向きでは左、縦向きでは下に立つため)。
|
|
98
|
+
*/
|
|
51
99
|
export interface AccessibleSliderLabels {
|
|
52
|
-
/** Accessible name for lower handle / 下限つまみのアクセシブル名 (既定: "
|
|
100
|
+
/** Accessible name for lower handle / 下限つまみのアクセシブル名 (既定: "Range start" / vernier モードでは "Micro range start") */
|
|
53
101
|
lowerAriaLabel?: string;
|
|
54
|
-
/** Accessible name for upper handle / 上限つまみのアクセシブル名 (既定: "
|
|
102
|
+
/** Accessible name for upper handle / 上限つまみのアクセシブル名 (既定: "Range end" / vernier モードでは "Micro range end") */
|
|
55
103
|
upperAriaLabel?: string;
|
|
56
|
-
/** Accessible name for single point handle / 単一選択つまみのアクセシブル名 (既定: "
|
|
104
|
+
/** Accessible name for single point handle / 単一選択つまみのアクセシブル名 (既定: "Selected date") */
|
|
57
105
|
pointAriaLabel?: string;
|
|
58
|
-
/** Accessible name for macro lower handle /
|
|
106
|
+
/** Accessible name for macro lower handle / マクロ下限つまみのアクセシブル名 (既定: "Macro range start") */
|
|
59
107
|
macroLowerAriaLabel?: string;
|
|
60
|
-
/** Accessible name for macro upper handle /
|
|
108
|
+
/** Accessible name for macro upper handle / マクロ上限つまみのアクセシブル名 (既定: "Macro range end") */
|
|
61
109
|
macroUpperAriaLabel?: string;
|
|
110
|
+
/** Accessible name for the stepper button moving the value toward minDate / 値を minDate 方向へ動かすステッパーボタンのアクセシブル名 (既定: "Decrease") */
|
|
111
|
+
decreaseAriaLabel?: string;
|
|
112
|
+
/** Accessible name for the stepper button moving the value toward maxDate / 値を maxDate 方向へ動かすステッパーボタンのアクセシブル名 (既定: "Increase") */
|
|
113
|
+
increaseAriaLabel?: string;
|
|
62
114
|
/** Human-readable text formatter for screen readers / スクリーンリーダー専用読み上げフォーマッタ */
|
|
63
115
|
formatAriaValueText?: (date: Date, unit: PeriodSliderUnit) => string;
|
|
64
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* Props shared by every PeriodSlider mode.
|
|
119
|
+
* 全 PeriodSlider モードが共有する Props。
|
|
120
|
+
*/
|
|
65
121
|
export interface BasePeriodSliderProps extends AccessibleSliderLabels {
|
|
122
|
+
/** Time resolution unit of the slider domain / スライダー定義域の時間解像度単位 */
|
|
66
123
|
unit: PeriodSliderUnit;
|
|
67
|
-
|
|
68
|
-
|
|
124
|
+
/** Minimum selectable boundary date (required, no fallback) / 選択可能下限日付 (必須・フォールバックなし) */
|
|
125
|
+
minDate: Date;
|
|
126
|
+
/** Maximum selectable boundary date, strictly later than minDate (required, no fallback) / 選択可能上限日付 (必須・minDate より後・フォールバックなし) */
|
|
127
|
+
maxDate: Date;
|
|
128
|
+
/** Discrete snap targets; when supplied the slider resolves to these dates only / 離散スナップ対象日付配列 (指定時はこの日付のみへスナップ) */
|
|
69
129
|
allowedDates?: Date[];
|
|
70
|
-
|
|
130
|
+
/** Placement strategy for allowedDates (default: "index") / allowedDates の配置方式 (既定: "index") */
|
|
131
|
+
snapMode?: PeriodSliderSnapMode;
|
|
132
|
+
/** Debounce interval in milliseconds for change callbacks (default: 0) / 変更コールバックのデバウンス間隔ミリ秒 (既定: 0) */
|
|
71
133
|
debounceMs?: number;
|
|
134
|
+
/** Disables every pointer and keyboard interaction (default: false) / 全操作の無効化 (既定: false) */
|
|
72
135
|
disabled?: boolean;
|
|
136
|
+
/** Extra class names appended to the root element / ルート要素へ付与する追加クラス名 */
|
|
73
137
|
className?: string;
|
|
74
138
|
/** Custom inline styles / カスタムインラインスタイル (CSS変数の直接注入等) */
|
|
75
139
|
style?: React.CSSProperties;
|
|
140
|
+
/** Shows the previous/next stepper buttons (default: true) / 前後ステッパーボタンの表示 (既定: true) */
|
|
76
141
|
showStepper?: boolean;
|
|
142
|
+
/** Tooltip display strategy (default: "always") / ツールチップ表示方式 (既定: "always") */
|
|
77
143
|
tooltipStyle?: "always" | "hover" | "balloon";
|
|
78
144
|
/** Label position: "top" (default) or "bottom" / ラベル表示位置("top": 上側 [既定], "bottom": 下側) */
|
|
79
145
|
labelPosition?: PeriodSliderLabelPosition;
|
|
80
146
|
/** Whether to automatically slant labels when close in range mode (default: true) / Rangeモードで接近時に自動斜め表示するか(既定: true) */
|
|
81
147
|
autoSlantLabels?: boolean;
|
|
82
|
-
/**
|
|
83
|
-
preventCollisionSlant?: boolean;
|
|
148
|
+
/** Renders the slider along the vertical axis (default: false) / 垂直方向レイアウト (既定: false) */
|
|
84
149
|
isVertical?: boolean;
|
|
150
|
+
/** Hides the connect bar drawn between the two handles (default: false) / つまみ間の接続バー非表示 (既定: false) */
|
|
85
151
|
hideConnectBar?: boolean;
|
|
152
|
+
/** Renders one tick per allowed date in discrete mode (default: false) / 離散モード時の目盛り点描画 (既定: false) */
|
|
86
153
|
showTicks?: boolean;
|
|
154
|
+
/** Custom label formatter for handles and tooltips / つまみ・ツールチップ用カスタム日付フォーマッタ */
|
|
87
155
|
formatLabel?: (date: Date) => string;
|
|
88
|
-
/**
|
|
156
|
+
/** BCP 47 language tag selecting Intl built-in label formatting; omitted keeps every built-in label on locale-independent ISO 8601 / 組み込みラベルを Intl 書式にする BCP 47 言語タグ (未指定時はロケール非依存の ISO 8601 表記) */
|
|
157
|
+
locale?: string;
|
|
158
|
+
/** Color scheme theme preset for slider rails and handles (default: "blue-rose") / スライダーのカラーテーマプリセット (既定: "blue-rose") */
|
|
89
159
|
colorScheme?: PeriodSliderColorScheme;
|
|
90
160
|
}
|
|
161
|
+
/**
|
|
162
|
+
* Props of the two-handle range mode.
|
|
163
|
+
* 2 つのつまみで期間を選ぶ range モードの Props。
|
|
164
|
+
*/
|
|
91
165
|
export interface PeriodSliderRangeProps extends BasePeriodSliderProps {
|
|
166
|
+
/** Two-handle range selection mode / 2 つのつまみによる期間選択モード */
|
|
92
167
|
mode: "range";
|
|
93
|
-
/**
|
|
168
|
+
/** Controlled selected date range tuple [lower, upper] / 制御時の選択期間タプル */
|
|
94
169
|
range?: [Date, Date];
|
|
95
|
-
/** Lower boundary date of selected range / 選択期間の開始日付 */
|
|
96
|
-
lowerDate?: Date;
|
|
97
|
-
/** Upper boundary date of selected range / 終了期間の終了日付 */
|
|
98
|
-
upperDate?: Date;
|
|
99
170
|
/** Initial date range tuple for uncontrolled usage / 非制御時の初期選択期間タプル */
|
|
100
171
|
defaultRange?: [Date, Date];
|
|
101
|
-
/**
|
|
102
|
-
initialRange?: [Date, Date];
|
|
103
|
-
/** Initial lower date for uncontrolled usage / 非制御時の初期開始日付 */
|
|
104
|
-
defaultLowerDate?: Date;
|
|
105
|
-
/** Initial lower date alias / 非制御時の初期開始日付 (エイリアス) */
|
|
106
|
-
initialLowerDate?: Date;
|
|
107
|
-
/** Initial upper date for uncontrolled usage / 非制御時の初期終了日付 */
|
|
108
|
-
defaultUpperDate?: Date;
|
|
109
|
-
/** Initial upper date alias / 非制御時の初期終了日付 (エイリアス) */
|
|
110
|
-
initialUpperDate?: Date;
|
|
111
|
-
/** Callback triggered when range changes / 期間変更時コールバック */
|
|
172
|
+
/** Callback triggered when the selected range changes / 期間変更時コールバック */
|
|
112
173
|
onChangeRange?: (lower: Date, upper: Date) => void;
|
|
113
|
-
/** Callback triggered with tuple [lower, upper] when range changes / 期間変更時タプルコールバック */
|
|
114
|
-
onChangeRangeTuple?: (range: [Date, Date]) => void;
|
|
115
|
-
/** Standard tuple callback alias / 標準タプルコールバック */
|
|
116
|
-
onChange?: (range: [Date, Date]) => void;
|
|
117
174
|
value?: never;
|
|
118
|
-
|
|
175
|
+
defaultValue?: never;
|
|
119
176
|
onChangePoint?: never;
|
|
120
|
-
onChangeValue?: never;
|
|
121
177
|
macroRange?: never;
|
|
122
178
|
onChangeMacroRange?: never;
|
|
123
179
|
microRange?: never;
|
|
180
|
+
defaultMicroRange?: never;
|
|
181
|
+
onChangeMicroRange?: never;
|
|
124
182
|
}
|
|
183
|
+
/**
|
|
184
|
+
* Props of the single-handle point mode.
|
|
185
|
+
* 単一つまみで時点を選ぶ point モードの Props。
|
|
186
|
+
*/
|
|
125
187
|
export interface PeriodSliderPointProps extends BasePeriodSliderProps {
|
|
188
|
+
/** Single-handle point selection mode / 単一つまみによる時点選択モード */
|
|
126
189
|
mode: "point";
|
|
127
|
-
/**
|
|
190
|
+
/** Controlled selected point date / 制御時の選択日付 */
|
|
128
191
|
value?: Date;
|
|
129
|
-
/** Selected point date (legacy alias) / 選択日付(エイリアス) */
|
|
130
|
-
valueDate?: Date;
|
|
131
192
|
/** Initial point date for uncontrolled usage / 非制御時の初期選択日付 */
|
|
132
193
|
defaultValue?: Date;
|
|
133
|
-
/**
|
|
134
|
-
initialDate?: Date;
|
|
135
|
-
/** Callback triggered when point changes / ポイント変更時コールバック */
|
|
194
|
+
/** Callback triggered when the selected point changes / ポイント変更時コールバック */
|
|
136
195
|
onChangePoint?: (value: Date) => void;
|
|
137
|
-
/** Callback triggered when point changes (alias) / ポイント変更時コールバック(エイリアス) */
|
|
138
|
-
onChangeValue?: (value: Date) => void;
|
|
139
|
-
/** Standard Date callback alias / 標準日付コールバック */
|
|
140
|
-
onChange?: (value: Date) => void;
|
|
141
196
|
range?: never;
|
|
142
|
-
|
|
143
|
-
upperDate?: never;
|
|
197
|
+
defaultRange?: never;
|
|
144
198
|
onChangeRange?: never;
|
|
145
|
-
onChangeRangeTuple?: never;
|
|
146
199
|
macroRange?: never;
|
|
147
200
|
onChangeMacroRange?: never;
|
|
148
201
|
microRange?: never;
|
|
202
|
+
defaultMicroRange?: never;
|
|
203
|
+
onChangeMicroRange?: never;
|
|
149
204
|
}
|
|
205
|
+
/**
|
|
206
|
+
* Props of the vernier mode, where a macro window rail scopes the micro selection rail.
|
|
207
|
+
* マクロ窓レールがミクロ選択レールの定義域となるノギスモードの Props。
|
|
208
|
+
*/
|
|
150
209
|
export interface PeriodSliderVernierProps extends BasePeriodSliderProps {
|
|
151
210
|
/** Vernier dual-scale integrated mode / ノギス型 2 段スケール一体型モード */
|
|
152
211
|
mode: "vernier";
|
|
153
|
-
/**
|
|
154
|
-
minDate: Date;
|
|
155
|
-
/** Maximum selectable boundary date for entire macro range (required, no default) / 全期間マクロの上限日付 (必須) */
|
|
156
|
-
maxDate: Date;
|
|
157
|
-
/** Macro window range [start, end] / マクロ側の広域表示窓 (必須) */
|
|
212
|
+
/** Controlled macro window range [start, end] / マクロ側の広域表示窓 (必須・制御) */
|
|
158
213
|
macroRange: [Date, Date];
|
|
159
|
-
/** Callback triggered when macro window changes / マクロ窓変更時コールバック */
|
|
214
|
+
/** Callback triggered when the macro window changes / マクロ窓変更時コールバック */
|
|
160
215
|
onChangeMacroRange?: (lower: Date, upper: Date) => void;
|
|
161
|
-
/**
|
|
162
|
-
onChangeMacroRangeTuple?: (range: [Date, Date]) => void;
|
|
163
|
-
/** Symmetrical alias for macro window changes / マクロ窓変更時コールバック (エイリアス) */
|
|
164
|
-
onChangeMacro?: (range: [Date, Date]) => void;
|
|
165
|
-
/** Micro selected range tuple [lower, upper] / ミクロ側の最終確定期間タプル (優先指定) */
|
|
216
|
+
/** Controlled micro selected range tuple [lower, upper] / 制御時のミクロ選択期間タプル */
|
|
166
217
|
microRange?: [Date, Date];
|
|
167
|
-
/** Micro selected lower date / ミクロ側の最終確定開始日付 */
|
|
168
|
-
lowerDate?: Date;
|
|
169
|
-
/** Micro selected upper date / ミクロ側の最終確定終了日付 */
|
|
170
|
-
upperDate?: Date;
|
|
171
218
|
/** Initial micro range tuple for uncontrolled usage / 非制御時の初期ミクロ選択期間タプル */
|
|
172
219
|
defaultMicroRange?: [Date, Date];
|
|
173
|
-
/**
|
|
174
|
-
initialMicroRange?: [Date, Date];
|
|
175
|
-
/** Initial lower date for uncontrolled usage / 非制御時の初期ミクロ開始日付 */
|
|
176
|
-
defaultLowerDate?: Date;
|
|
177
|
-
/** Initial lower date alias / 非制御時の初期ミクロ開始日付 (エイリアス) */
|
|
178
|
-
initialLowerDate?: Date;
|
|
179
|
-
/** Initial upper date for uncontrolled usage / 非制御時の初期ミクロ終了日付 */
|
|
180
|
-
defaultUpperDate?: Date;
|
|
181
|
-
/** Initial upper date alias / 非制御時の初期ミクロ終了日付 (エイリアス) */
|
|
182
|
-
initialUpperDate?: Date;
|
|
183
|
-
/** Callback triggered when micro range changes / ミクロ選択範囲変更時コールバック */
|
|
184
|
-
onChangeRange?: (lower: Date, upper: Date) => void;
|
|
185
|
-
/** Callback triggered with tuple [lower, upper] when micro range changes / ミクロ選択範囲変更時タプルコールバック */
|
|
186
|
-
onChangeRangeTuple?: (range: [Date, Date]) => void;
|
|
187
|
-
/** Symmetrical callback for micro range / ミクロ選択範囲変更時コールバック (対称命名) */
|
|
220
|
+
/** Callback triggered when the micro selected range changes / ミクロ選択範囲変更時コールバック */
|
|
188
221
|
onChangeMicroRange?: (lower: Date, upper: Date) => void;
|
|
189
|
-
/**
|
|
190
|
-
onChangeMicroRangeTuple?: (range: [Date, Date]) => void;
|
|
191
|
-
/** Symmetrical alias for micro callback / ミクロ選択範囲変更時コールバック (エイリアス) */
|
|
192
|
-
onChangeMicro?: (range: [Date, Date]) => void;
|
|
193
|
-
/** Vernier scale orientation: "macro-top" (default), "macro-bottom", "macro-left", or "macro-right" / ノギス配置方向 (既定: "macro-top") */
|
|
222
|
+
/** Vernier scale orientation; default is "macro-top" horizontally and "macro-left" when isVertical / ノギス配置方向 (既定: 横向き "macro-top"、isVertical 時 "macro-left") */
|
|
194
223
|
vernierOrientation?: "macro-top" | "macro-bottom" | "macro-left" | "macro-right";
|
|
195
224
|
/** Show semi-transparent trapezoid projection cone between macro and micro / 台形プロジェクション光の表示 (既定: true) */
|
|
196
225
|
showVernierProjection?: boolean;
|
|
@@ -198,8 +227,6 @@ export interface PeriodSliderVernierProps extends BasePeriodSliderProps {
|
|
|
198
227
|
showVernierTicks?: boolean;
|
|
199
228
|
/** Show 1px precision hairline pointer cursor on semicircles / 精密ヘアライン針の表示 (既定: true) */
|
|
200
229
|
showHairline?: boolean;
|
|
201
|
-
/** Adaptive zoom expansion animation toggle / 自動適応ズーム展開アニメーション (既定: false) */
|
|
202
|
-
adaptiveExpand?: boolean;
|
|
203
230
|
/** Macro scale unit (defaults to props.unit) / マクロ側の単位 (既定: props.unit) */
|
|
204
231
|
macroUnit?: PeriodSliderUnit;
|
|
205
232
|
/** Micro scale unit (defaults to props.unit) / ミクロ側の単位 (既定: props.unit) */
|
|
@@ -217,30 +244,55 @@ export interface PeriodSliderVernierProps extends BasePeriodSliderProps {
|
|
|
217
244
|
/** Custom label formatter for micro handles and tooltip / ミクロ用カスタム日付フォーマッタ */
|
|
218
245
|
formatMicroLabel?: (date: Date) => string;
|
|
219
246
|
range?: never;
|
|
247
|
+
defaultRange?: never;
|
|
248
|
+
onChangeRange?: never;
|
|
220
249
|
value?: never;
|
|
221
|
-
|
|
250
|
+
defaultValue?: never;
|
|
222
251
|
onChangePoint?: never;
|
|
223
|
-
onChangeValue?: never;
|
|
224
252
|
}
|
|
253
|
+
/**
|
|
254
|
+
* Discriminated union of every PeriodSlider mode, keyed by the mode prop.
|
|
255
|
+
* mode Props を判別子とする全 PeriodSlider モードの判別可能合併型。
|
|
256
|
+
*/
|
|
225
257
|
export type PeriodSliderProps = PeriodSliderRangeProps | PeriodSliderPointProps | PeriodSliderVernierProps;
|
|
226
258
|
/**
|
|
227
259
|
* Normalizes a date to the start of the specified unit.
|
|
228
260
|
* 指定した単位 (year, month, day) の先頭に日付を正規化します。
|
|
261
|
+
*
|
|
262
|
+
* @param unit - Time resolution unit / 時間解像度単位
|
|
263
|
+
* @param d - Date to normalize / 正規化対象の日付
|
|
264
|
+
* @returns New Date pinned to the start of the unit / 単位先頭に揃えた新しい Date
|
|
265
|
+
* @throws RangeError when d is absent or an Invalid Date / d が未指定または Invalid Date の場合
|
|
229
266
|
*/
|
|
230
267
|
export declare const normalizeDateByUnit: (unit: PeriodSliderUnit, d: Date) => Date;
|
|
231
268
|
/**
|
|
232
269
|
* Encodes a normalized date into a numeric integer key for efficient comparison.
|
|
233
270
|
* 日付を比較用数値キーにエンコードします。
|
|
271
|
+
*
|
|
272
|
+
* @param unit - Time resolution unit / 時間解像度単位
|
|
273
|
+
* @param d - Date to encode / エンコード対象の日付
|
|
274
|
+
* @returns Integer key that is strictly monotonic in time for the given unit / 単位ごとに時間について厳密単調な整数キー
|
|
275
|
+
* @throws RangeError when d is absent or an Invalid Date / d が未指定または Invalid Date の場合
|
|
234
276
|
*/
|
|
235
277
|
export declare const encode: (unit: PeriodSliderUnit, d: Date) => number;
|
|
236
278
|
/**
|
|
237
279
|
* Decodes a numeric integer key back to a normalized Date object.
|
|
238
280
|
* エンコードされた数値キーから Date オブジェクトを復元します。
|
|
281
|
+
*
|
|
282
|
+
* @param unit - Time resolution unit the key was produced with / キー生成時の時間解像度単位
|
|
283
|
+
* @param val - Encoded integer key / エンコード済み整数キー
|
|
284
|
+
* @returns Date pinned to the start of the encoded unit / エンコード単位の先頭に揃えた Date
|
|
239
285
|
*/
|
|
240
286
|
export declare const decode: (unit: PeriodSliderUnit, val: number) => Date;
|
|
241
287
|
/**
|
|
242
|
-
* Adds or subtracts units from a given date.
|
|
243
|
-
*
|
|
288
|
+
* Adds or subtracts units from a given date, clamping the day of month to the target month length.
|
|
289
|
+
* 日付に対して単位数を加減算します (月末日は加算先の月の末日に丸め)。
|
|
290
|
+
*
|
|
291
|
+
* @param unit - Time resolution unit to step by / 加減算する時間解像度単位
|
|
292
|
+
* @param d - Base date / 起点日付
|
|
293
|
+
* @param amount - Signed number of units to add / 加減算する単位数 (符号付き)
|
|
294
|
+
* @returns New Date advanced by amount units / amount 単位進めた新しい Date
|
|
295
|
+
* @throws RangeError when d is absent or an Invalid Date / d が未指定または Invalid Date の場合
|
|
244
296
|
*/
|
|
245
297
|
export declare const addUnit: (unit: PeriodSliderUnit, d: Date, amount: number) => Date;
|
|
246
298
|
/**
|
|
@@ -253,33 +305,68 @@ export declare const addUnit: (unit: PeriodSliderUnit, d: Date, amount: number)
|
|
|
253
305
|
* @param microUnit - Micro scale unit / ミクロ側の時間解像度単位
|
|
254
306
|
* @param d - Macro range end date / マクロ範囲の終了日付
|
|
255
307
|
* @returns Corrected boundary Date in micro unit resolution / 補正後のミクロ解像度終了日付
|
|
308
|
+
* @throws RangeError when d is absent or an Invalid Date / d が未指定または Invalid Date の場合
|
|
256
309
|
*/
|
|
257
310
|
export declare const getMacroWindowEndDate: (macroUnit: PeriodSliderUnit, microUnit: PeriodSliderUnit, d: Date) => Date;
|
|
258
311
|
/**
|
|
259
|
-
* Formats a
|
|
260
|
-
*
|
|
312
|
+
* Formats a date for handle labels and tooltips.
|
|
313
|
+
* つまみラベル・ツールチップ用の日付文字列を生成する関数。
|
|
314
|
+
*
|
|
315
|
+
* Resolution order: customFormat wins; otherwise a supplied locale selects Intl.DateTimeFormat, and an
|
|
316
|
+
* omitted locale yields locale-independent ISO 8601. ISO is the specification-defined output of this
|
|
317
|
+
* package, not a convenience fallback: a built-in natural-language default would bake one language
|
|
318
|
+
* into a generic package, and Intl output drifts between ICU versions.
|
|
319
|
+
* 解決順序は customFormat が最優先、次に locale 指定時の Intl.DateTimeFormat、未指定時はロケール非依存の ISO 8601。
|
|
320
|
+
* ISO 表記は本パッケージの仕様上の既定値であり代替値ではない (自然言語既定は汎用パッケージに 1 言語を焼き付け、Intl 出力は ICU 版で揺れるため)。
|
|
321
|
+
*
|
|
322
|
+
* @param unit - Time resolution unit deciding the precision / 精度を決める時間解像度単位
|
|
323
|
+
* @param d - Date to format / 書式化対象の日付
|
|
324
|
+
* @param customFormat - Consumer formatter taking priority over both built-in paths / 組み込み 2 経路より優先される利用側フォーマッタ
|
|
325
|
+
* @param locale - BCP 47 language tag enabling Intl formatting / Intl 書式を有効化する BCP 47 言語タグ
|
|
326
|
+
* @returns Formatted label, or an empty string when d is absent or an Invalid Date / 書式化済みラベル (d が未指定・Invalid Date の場合は空文字列)
|
|
327
|
+
* @throws RangeError when locale is not a structurally valid BCP 47 tag / locale が構造的に妥当な BCP 47 タグでない場合
|
|
261
328
|
*/
|
|
262
|
-
export declare const formatLabel: (unit: PeriodSliderUnit, d: Date, customFormat?: (date: Date) => string) => string;
|
|
329
|
+
export declare const formatLabel: (unit: PeriodSliderUnit, d: Date, customFormat?: (date: Date) => string, locale?: string) => string;
|
|
263
330
|
/**
|
|
264
|
-
*
|
|
265
|
-
*
|
|
331
|
+
* Formats the date a screen reader announces through aria-valuetext.
|
|
332
|
+
* スクリーンリーダーが aria-valuetext として読み上げる日付文字列を生成する関数。
|
|
333
|
+
*
|
|
334
|
+
* Announcing a different string than the visible label would leave sighted and non-sighted users with
|
|
335
|
+
* two different values, so this delegates to formatLabel and stays its single source of truth.
|
|
336
|
+
* 可視ラベルと別の文字列を読み上げると晴眼者と非晴眼者で値が食い違うため formatLabel へ委譲し単一の真実源を保つ。
|
|
266
337
|
*
|
|
267
|
-
* @param unit -
|
|
268
|
-
* @param d -
|
|
269
|
-
* @param customFormat -
|
|
270
|
-
* @
|
|
338
|
+
* @param unit - Time resolution unit deciding the precision / 精度を決める時間解像度単位
|
|
339
|
+
* @param d - Date to format / 書式化対象の日付
|
|
340
|
+
* @param customFormat - Consumer formatter taking priority over both built-in paths / 組み込み 2 経路より優先される利用側フォーマッタ
|
|
341
|
+
* @param locale - BCP 47 language tag enabling Intl formatting / Intl 書式を有効化する BCP 47 言語タグ
|
|
342
|
+
* @returns Announced text, or an empty string when d is absent or an Invalid Date / 読み上げ文字列 (d が未指定・Invalid Date の場合は空文字列)
|
|
343
|
+
* @throws RangeError when locale is not a structurally valid BCP 47 tag / locale が構造的に妥当な BCP 47 タグでない場合
|
|
271
344
|
*/
|
|
272
|
-
export declare const formatScreenReaderLabel: (unit: PeriodSliderUnit, d: Date, customFormat?: (date: Date) => string) => string;
|
|
345
|
+
export declare const formatScreenReaderLabel: (unit: PeriodSliderUnit, d: Date, customFormat?: (date: Date) => string, locale?: string) => string;
|
|
273
346
|
/**
|
|
274
347
|
* Finds the index of the date in a sorted array closest to the target date via binary search.
|
|
275
348
|
* 昇順ソート済み日付配列の中から、対象日付に最も近い要素のインデックスを二分探索 ($O(\log N)$) で算出します。
|
|
349
|
+
*
|
|
350
|
+
* @param dates - Ascending, unit-normalized date list / 昇順かつ単位正規化済みの日付一覧
|
|
351
|
+
* @param target - Date to locate / 探索対象の日付
|
|
352
|
+
* @param unit - Time resolution unit used for the distance metric / 距離尺度に用いる時間解像度単位
|
|
353
|
+
* @returns Index of the closest entry, or 0 for an empty list / 最近傍要素のインデックス (空配列時は 0)
|
|
354
|
+
* @throws RangeError when target or any inspected entry is an Invalid Date / target または参照した要素が Invalid Date の場合
|
|
276
355
|
*/
|
|
277
356
|
export declare const findNearestDateIndex: (dates: Date[], target: Date, unit: PeriodSliderUnit) => number;
|
|
278
357
|
/**
|
|
279
|
-
*
|
|
280
|
-
*
|
|
358
|
+
* Normalizes, deduplicates, sorts and range-restricts the discrete snap targets.
|
|
359
|
+
* Entries outside [minDate, maxDate] are dropped because they are unreachable on the track.
|
|
360
|
+
* 離散日付配列を正規化・重複排除・昇順ソートし、[minDate, maxDate] 外の要素を除外する関数。
|
|
361
|
+
*
|
|
362
|
+
* @param allowedDates - Raw discrete snap targets, or undefined for a continuous slider / 離散候補日付の生配列 (連続スライダー時は undefined)
|
|
363
|
+
* @param unit - Time resolution unit used for normalization and deduplication / 正規化・重複排除に用いる時間解像度単位
|
|
364
|
+
* @param minDate - Lower domain boundary; entries before it are excluded / 定義域下限 (これより前の要素は除外)
|
|
365
|
+
* @param maxDate - Upper domain boundary; entries after it are excluded / 定義域上限 (これより後の要素は除外)
|
|
366
|
+
* @returns Ascending, deduplicated dates inside the domain, or an empty array when allowedDates is absent or empty / 定義域内の昇順・重複排除済み日付 (allowedDates 未指定・空配列時は空配列)
|
|
367
|
+
* @throws RangeError when an entry is an Invalid Date, or when every supplied entry falls outside the domain / 要素が Invalid Date の場合、または全要素が定義域外の場合
|
|
281
368
|
*/
|
|
282
|
-
export declare const getSortedAllowedDates: (allowedDates: Date[] | undefined, unit: PeriodSliderUnit, minDate
|
|
369
|
+
export declare const getSortedAllowedDates: (allowedDates: Date[] | undefined, unit: PeriodSliderUnit, minDate: Date, maxDate: Date) => Date[];
|
|
283
370
|
/**
|
|
284
371
|
* Calculates dragging values when dragging knob handles.
|
|
285
372
|
* ハンドルドラッグ時の数値を算出します。
|
|
@@ -298,10 +385,40 @@ export declare const calculateHandleDragValues: (handle: "low" | "high", clamped
|
|
|
298
385
|
*/
|
|
299
386
|
export declare const getActiveDragHandle: (originalHandle: "low" | "high", pointerVal: number, startLowVal: number, startHighVal: number, isPointMode: boolean) => "low" | "high";
|
|
300
387
|
/**
|
|
301
|
-
*
|
|
302
|
-
*
|
|
388
|
+
* Input bundle for translating a connect-bar drag into a new [lower, upper] value pair.
|
|
389
|
+
* 接続バードラッグを新しい上下限値の組へ変換するための入力一式。
|
|
303
390
|
*/
|
|
304
|
-
export
|
|
391
|
+
export interface ConnectDragValueOptions {
|
|
392
|
+
/** Pointer translation along the track as a fraction of the full track length / トラック全長に対するポインター移動量の比率 */
|
|
393
|
+
posDiffPct: number;
|
|
394
|
+
/** Lower value captured at drag start (encoded date or discrete index) / ドラッグ開始時の下限値 (エンコード値または離散インデックス) */
|
|
395
|
+
startLowVal: number;
|
|
396
|
+
/** Upper value captured at drag start (encoded date or discrete index) / ドラッグ開始時の上限値 (エンコード値または離散インデックス) */
|
|
397
|
+
startHighVal: number;
|
|
398
|
+
/** Domain lower bound in the same value space / 同一値空間における定義域下限 */
|
|
399
|
+
rangeMin: number;
|
|
400
|
+
/** Domain upper bound in the same value space / 同一値空間における定義域上限 */
|
|
401
|
+
rangeMax: number;
|
|
402
|
+
/** Whether the slider snaps to discrete allowed dates / 離散候補日付へスナップするか */
|
|
403
|
+
isDiscrete: boolean;
|
|
404
|
+
/** Ascending discrete snap targets (empty when not discrete) / 昇順の離散候補日付 (非離散時は空配列) */
|
|
405
|
+
sortedAllowedDates: Date[];
|
|
406
|
+
/** Placement strategy of the discrete snap targets / 離散候補日付の配置方式 */
|
|
407
|
+
snapMode: PeriodSliderSnapMode;
|
|
408
|
+
/** Time resolution unit used to resolve the nearest discrete date / 離散最近傍解決に用いる時間解像度単位 */
|
|
409
|
+
unit: PeriodSliderUnit;
|
|
410
|
+
}
|
|
411
|
+
/**
|
|
412
|
+
* Computes the [low, high] pair reached by translating the connection bar.
|
|
413
|
+
* The pair is always derived from the values captured at drag start, so returning the pointer to its
|
|
414
|
+
* grab point restores the original range, and "time" snapping preserves the selected duration.
|
|
415
|
+
* 接続バー並進ドラッグ後の [下限, 上限] を算出する関数。開始時の値を基準に毎回再計算するため、
|
|
416
|
+
* ポインターを掴んだ位置へ戻せば元の期間へ復帰し、"time" スナップでは選択期間長を保持。
|
|
417
|
+
*
|
|
418
|
+
* @param options - Drag geometry, domain bounds and snapping configuration / ドラッグ形状・定義域・スナップ設定
|
|
419
|
+
* @returns Clamped [low, high] pair in the slider value space / スライダー値空間へクランプ済みの [下限, 上限]
|
|
420
|
+
*/
|
|
421
|
+
export declare const calculateConnectDragValues: ({ posDiffPct, startLowVal, startHighVal, rangeMin, rangeMax, isDiscrete, sortedAllowedDates, snapMode, unit }: ConnectDragValueOptions) => [number, number];
|
|
305
422
|
/**
|
|
306
423
|
* Calculates the next [low, high] values based on keyboard input.
|
|
307
424
|
* キーボード操作時の移動先数値を算出します。
|
|
@@ -309,18 +426,26 @@ export declare const calculateConnectDragValues: (posDiffPct: number, startLowVa
|
|
|
309
426
|
export declare const calculateKeyboardActionValues: (key: string, handle: "low" | "high", lowVal: number, highVal: number, rangeMin: number, rangeMax: number, isPointMode: boolean, step: number) => [number, number] | null;
|
|
310
427
|
/**
|
|
311
428
|
* Mathematically calculates smooth rotation angle and offsets to prevent label collision in range mode.
|
|
312
|
-
* Range モードにおいて、2
|
|
429
|
+
* Range モードにおいて、2 つのつまみラベルの重複を回避するための滑らかな回転角とオフセットを数学的に計算する関数。
|
|
313
430
|
*
|
|
314
431
|
* Ken Perlin's Smootherstep function S(u) = 6u^5 - 15u^4 + 10u^3 ensures C^2 continuity (smooth acceleration and zero jerk).
|
|
315
432
|
*
|
|
316
|
-
*
|
|
317
|
-
*
|
|
318
|
-
*
|
|
319
|
-
*
|
|
320
|
-
* @param
|
|
321
|
-
* @param
|
|
322
|
-
|
|
323
|
-
|
|
433
|
+
* Both dimensions the geometry consumes are rendering results, so an unmeasured track or an unmeasured
|
|
434
|
+
* label yields the upright baseline instead of an invented number.
|
|
435
|
+
* 幾何計算が使う 2 つの寸法はいずれも描画結果であるため、トラックまたはラベルが未実測なら数値を捏造せず直立基準値を返す。
|
|
436
|
+
*
|
|
437
|
+
* @param lowPct - Percent position of lower handle (0-100) / 下限つまみの位置 (0-100%)
|
|
438
|
+
* @param highPct - Percent position of upper handle (0-100) / 上限つまみの位置 (0-100%)
|
|
439
|
+
* @param trackWidthPx - Measured pixel width of the track; a non-positive value means "not measured yet" and yields the horizontal baseline / 実測トラック幅 (0 以下は未実測とみなし水平基準値を返す)
|
|
440
|
+
* @param labelPosition - "top" or "bottom" / ラベル表示位置
|
|
441
|
+
* @param config - Geometry of the rendered label; without config.estimatedWidthPx the labels stay upright / 描画済みラベルの幾何情報 (config.estimatedWidthPx が無い場合は直立を維持)
|
|
442
|
+
* @returns Rotation angles and offsets guaranteeing a non-overlapping label pair / ラベルが重ならないことを保証する回転角とオフセット
|
|
443
|
+
*/
|
|
444
|
+
export declare const calculateLabelSlant: (lowPct: number, highPct: number, trackWidthPx: number, labelPosition?: PeriodSliderLabelPosition, config?: LabelSlantConfig) => LabelSlantResult;
|
|
445
|
+
/**
|
|
446
|
+
* Grabbable part of a vernier slider, naming both the rail and the element on it.
|
|
447
|
+
* ノギススライダーで掴める部位 (レールと要素の組)。
|
|
448
|
+
*/
|
|
324
449
|
export type VernierHandle = "macro-low" | "macro-high" | "macro-connect" | "micro-low" | "micro-high" | "micro-connect";
|
|
325
450
|
/**
|
|
326
451
|
* Resolves the target Vernier handle based on pointer primary-axis ratio and cross-axis offset relative to track center.
|
|
@@ -380,5 +505,12 @@ export declare const areStylesEqual: (a?: React.CSSProperties, b?: React.CSSProp
|
|
|
380
505
|
* @returns True if props are functionally equivalent, false otherwise
|
|
381
506
|
*/
|
|
382
507
|
export declare const arePeriodSliderPropsEqual: (prev: PeriodSliderProps, next: PeriodSliderProps) => boolean;
|
|
508
|
+
/**
|
|
509
|
+
* Range, point and vernier date slider rendered on a single track.
|
|
510
|
+
* 1 本のトラック上に期間・時点・ノギスの各モードを描画する日付スライダー。
|
|
511
|
+
*
|
|
512
|
+
* Re-renders only when arePeriodSliderPropsEqual reports a functional difference.
|
|
513
|
+
* arePeriodSliderPropsEqual が機能的差分を報告した場合にのみ再描画。
|
|
514
|
+
*/
|
|
383
515
|
export declare const PeriodSlider: React.NamedExoticComponent<PeriodSliderProps>;
|
|
384
516
|
//# sourceMappingURL=PeriodSlider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PeriodSlider.d.ts","sourceRoot":"","sources":["../src/PeriodSlider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PeriodSlider.d.ts","sourceRoot":"","sources":["../src/PeriodSlider.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAA;AAEvD;;;GAGG;AACH,MAAM,MAAM,yBAAyB,GAAG,KAAK,GAAG,QAAQ,CAAA;AAExD;;;;;;GAMG;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,GAAG,MAAM,CAAA;AAEnD;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG,WAAW,GAAG,cAAc,GAAG,cAAc,GAAG,gBAAgB,GAAG,WAAW,GAAG,YAAY,CAAA;AAEnI;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAC/B,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAA;IACb,6CAA6C;IAC7C,UAAU,EAAE,MAAM,CAAA;IAClB,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAA;IACb,6CAA6C;IAC7C,UAAU,EAAE,MAAM,CAAA;IAClB,kEAAkE;IAClE,MAAM,EAAE,MAAM,CAAA;CACjB;AAED;;;GAGG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