@aiquants/period-slider 0.17.0 → 0.18.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/CHANGELOG.md +144 -0
- package/README.md +54 -48
- package/dist/DateSelector.d.ts.map +1 -1
- package/dist/MonthSelector.d.ts.map +1 -1
- package/dist/PeriodSlider.d.ts +113 -31
- package/dist/PeriodSlider.d.ts.map +1 -1
- package/dist/VirtualDateDropdown.d.ts +19 -1
- package/dist/VirtualDateDropdown.d.ts.map +1 -1
- package/dist/YearSelector.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +2604 -2593
- package/dist/inputValue.d.ts +20 -12
- package/dist/inputValue.d.ts.map +1 -1
- package/dist/optionText.d.ts +1 -1
- package/dist/optionText.d.ts.map +1 -1
- package/dist/selectorStep.d.ts +14 -22
- package/dist/selectorStep.d.ts.map +1 -1
- package/dist/useCommittedRef.d.ts +38 -19
- package/dist/useCommittedRef.d.ts.map +1 -1
- package/dist/usePeriodSlider.d.ts +32 -22
- package/dist/usePeriodSlider.d.ts.map +1 -1
- package/dist/useUncontrolledSelection.d.ts +26 -13
- package/dist/useUncontrolledSelection.d.ts.map +1 -1
- package/dist/vernierStep.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/DateSelector.tsx +23 -54
- package/src/MonthSelector.tsx +17 -46
- package/src/PeriodSlider.tsx +216 -82
- package/src/VirtualDateDropdown.tsx +90 -46
- package/src/YearSelector.tsx +18 -47
- package/src/inputValue.ts +20 -12
- package/src/optionText.ts +3 -5
- package/src/selectorStep.ts +25 -32
- package/src/useCommittedRef.ts +54 -24
- package/src/usePeriodSlider.ts +211 -98
- package/src/useUncontrolledSelection.ts +51 -22
- package/src/vernierStep.ts +7 -7
package/dist/PeriodSlider.d.ts
CHANGED
|
@@ -161,7 +161,7 @@ export interface BasePeriodSliderProps {
|
|
|
161
161
|
minDate: Date;
|
|
162
162
|
/** Maximum selectable boundary date, strictly later than minDate (required, no fallback) / 選択可能上限日付 (必須・minDate より後・フォールバックなし) */
|
|
163
163
|
maxDate: Date;
|
|
164
|
-
/** Discrete snap targets; when supplied the slider resolves to these dates only. Omitted (`undefined`) or `[]` keeps the rail continuous; a supplied value that is not an array (`null` included) throws RangeError / 離散スナップ対象日付配列 (指定時はこの日付のみへスナップ)。省略 (`undefined`)・`[]` はレールを連続のまま保ち、配列でない指定値 (`null` を含む)
|
|
164
|
+
/** Discrete snap targets; when supplied the slider resolves to these dates only. Omitted (`undefined`) or `[]` keeps the rail continuous; a supplied value that is not an array (`null` included) throws RangeError where the list is read. Range and point read it at `unit`; the vernier reads it only through a discrete row that omits its own list, at that row's unit, and otherwise neither reads nor validates it / 離散スナップ対象日付配列 (指定時はこの日付のみへスナップ)。省略 (`undefined`)・`[]` はレールを連続のまま保ち、配列でない指定値 (`null` を含む) は一覧を読む所で RangeError。range / point は `unit` で読み、ノギスは自分の一覧を省略した離散の行だけがその行の単位で読む (継ぐ行が無ければ読まず、検証もしない) */
|
|
165
165
|
allowedDates?: Date[];
|
|
166
166
|
/** Placement strategy for allowedDates (default: "index") / allowedDates の配置方式 (既定: "index") */
|
|
167
167
|
snapMode?: PeriodSliderSnapMode;
|
|
@@ -276,13 +276,13 @@ export interface BasePeriodSliderVernierProps extends BasePeriodSliderProps {
|
|
|
276
276
|
showVernierTicks?: boolean;
|
|
277
277
|
/** Show 1px precision hairline pointer cursor on semicircles / 精密ヘアライン針の表示 (既定: true) */
|
|
278
278
|
showHairline?: boolean;
|
|
279
|
-
/** Macro scale unit (defaults to props.unit) / マクロ側の単位 (
|
|
279
|
+
/** Macro scale unit; only an omitted value (undefined) defaults to props.unit, and any other value outside the unit union (null included) throws a RangeError / マクロ側の単位 (省略 (undefined) のときだけ props.unit。null を含む宣言外の値は RangeError) */
|
|
280
280
|
macroUnit?: PeriodSliderUnit;
|
|
281
|
-
/** Micro scale unit (defaults to props.unit) / ミクロ側の単位 (
|
|
281
|
+
/** Micro scale unit; only an omitted value (undefined) defaults to props.unit, and any other value outside the unit union (null included) throws a RangeError / ミクロ側の単位 (省略 (undefined) のときだけ props.unit。null を含む宣言外の値は RangeError) */
|
|
282
282
|
microUnit?: PeriodSliderUnit;
|
|
283
|
-
/** Macro discrete mode flag / マクロ側の離散モードフラグ */
|
|
283
|
+
/** Macro discrete mode flag; only `true` makes the macro row discrete, and any other value (omitted, `false`, or a non-boolean) leaves it continuous / マクロ側の離散モードフラグ (離散にするのは `true` だけで、それ以外 (省略・`false`・真偽値以外の値) は連続) */
|
|
284
284
|
macroIsDiscrete?: boolean;
|
|
285
|
-
/** Micro discrete mode flag / ミクロ側の離散モードフラグ */
|
|
285
|
+
/** Micro discrete mode flag; only `true` makes the micro row discrete, and any other value (omitted, `false`, or a non-boolean) leaves it continuous / ミクロ側の離散モードフラグ (離散にするのは `true` だけで、それ以外 (省略・`false`・真偽値以外の値) は連続) */
|
|
286
286
|
microIsDiscrete?: boolean;
|
|
287
287
|
/** Macro allowed discrete dates; only an omitted (`undefined`) list inherits `allowedDates`, and `null` throws RangeError / マクロ側の離散候補日付一覧 (`allowedDates` を継ぐのは省略 (`undefined`) したときだけで、`null` は RangeError) */
|
|
288
288
|
macroAllowedDates?: Date[];
|
|
@@ -379,6 +379,45 @@ export declare const assertYearStartMonth: (owner: string, value: unknown) => vo
|
|
|
379
379
|
* @throws RangeError when a supplied value is not an integer in [0, 11] / 指定された値が 0 以上 11 以下の整数でない場合
|
|
380
380
|
*/
|
|
381
381
|
export declare const resolveYearStartMonth: (owner: string, value: number | undefined) => number;
|
|
382
|
+
/**
|
|
383
|
+
* Throws unless a value names one of the time units: the one unit check of every public entry point.
|
|
384
|
+
* 値が時間単位のいずれかを名乗る場合を除いて送出する関数 (すべての公開の入口が共有する唯一の単位の判定)。
|
|
385
|
+
*
|
|
386
|
+
* The calendar arithmetic branches on "year" and "month" and counts everything else as days, so an unknown unit would
|
|
387
|
+
* be drawn, keyed and stepped in days, and the formatters and the Intl option tables would receive a unit they cannot
|
|
388
|
+
* name. Every public entry point therefore calls this with its own name and argument before it reads yearStartMonth,
|
|
389
|
+
* a date, an amount or a candidate list, and before any early return; functions that are not exported from the
|
|
390
|
+
* package root may assume a validated unit.
|
|
391
|
+
* 暦の算術は "year" と "month" で分岐し、それ以外をすべて日として数える。宣言外の単位は日で描かれ・数えられ・歩かれ、
|
|
392
|
+
* フォーマッタと Intl のオプション表は名乗れない単位を受け取る。このため公開の入口はすべて、yearStartMonth・日付・amount・
|
|
393
|
+
* 候補の一覧を読む前、どの早期 return よりも前に、自分の名前と引数名でこれを呼ぶ。パッケージのルートから公開していない関数は、
|
|
394
|
+
* 検証済みの単位を前提にしてよい。
|
|
395
|
+
*
|
|
396
|
+
* @param owner - API name quoted in the error message / エラーメッセージが名指しする API 名
|
|
397
|
+
* @param path - Argument, prop or option path quoted in the error message / エラーメッセージが名指しする引数・Props・オプション経路
|
|
398
|
+
* @param value - Value supplied by the caller / 呼び出し側が渡した値
|
|
399
|
+
* @returns Nothing; the function only throws or returns normally / 戻り値なし (正常時は無返却)
|
|
400
|
+
* @throws RangeError `<owner>: <path> must be one of "year", "month", "day" (received: ...)` when the value is not "year", "month" or "day" (`null`, `undefined`, a different case and `""` included) / "year"・"month"・"day" でない場合 (`null`・`undefined`・大文字違い・`""` を含む)
|
|
401
|
+
*/
|
|
402
|
+
export declare const assertPeriodSliderUnit: (owner: string, path: string, value: unknown) => void;
|
|
403
|
+
/**
|
|
404
|
+
* Resolves a unit option that defaults to the entry's own unit, defaulting only an omitted value.
|
|
405
|
+
* 入口自身の単位を既定とする単位のオプションを解決する関数 (未指定のときだけ既定へ畳む)。
|
|
406
|
+
*
|
|
407
|
+
* A vernier row's `macroUnit` / `microUnit` and resolveSelectorSteps' `stepUnit` default to the entry's unit when omitted.
|
|
408
|
+
* `null` is rejected rather than folded, like resolveYearStartMonth: a reader that folds it and a reader that keeps it
|
|
409
|
+
* would draw and step the same input in two different units.
|
|
410
|
+
* ノギスの行の `macroUnit` / `microUnit` と resolveSelectorSteps の `stepUnit` は、省略すると入口の単位になる。
|
|
411
|
+
* `null` は resolveYearStartMonth と同じく畳まずに拒否する (畳む読み手と畳まない読み手が並ぶと、同じ入力を 2 つの単位で描き・歩くため)。
|
|
412
|
+
*
|
|
413
|
+
* @param owner - API name quoted in the error message / エラーメッセージが名指しする API 名
|
|
414
|
+
* @param path - Prop or option path quoted in the error message / エラーメッセージが名指しする Props・オプション経路
|
|
415
|
+
* @param value - Value the caller supplied, or undefined when it was omitted / 呼び出し側が渡した値 (省略時は undefined)
|
|
416
|
+
* @param unit - The entry's own unit, already validated / 入口自身の単位 (検証済み)
|
|
417
|
+
* @returns The supplied unit, or unit when the value was omitted / 渡された単位 (省略時は unit)
|
|
418
|
+
* @throws RangeError `<owner>: <path> must be one of "year", "month", "day" (received: ...)` when a supplied value is not "year", "month" or "day" (`null` included) / 指定された値が "year"・"month"・"day" でない場合 (`null` を含む)
|
|
419
|
+
*/
|
|
420
|
+
export declare const resolveOptionalUnit: (owner: string, path: string, value: PeriodSliderUnit | undefined, unit: PeriodSliderUnit) => PeriodSliderUnit;
|
|
382
421
|
/**
|
|
383
422
|
* Number of days in a month of the proleptic Gregorian calendar, the calendar Date itself counts in.
|
|
384
423
|
* Date 自身が数える先発グレゴリオ暦での月の日数。
|
|
@@ -444,7 +483,7 @@ export declare const yearKeyOfCivil: (year: number, monthIndex: number, yearStar
|
|
|
444
483
|
* @param d - Date to normalize / 正規化対象の日付
|
|
445
484
|
* @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based; 0 keeps the calendar year (default: 0) / `unit: "year"` の 1 年が始まる暦月 (0 始まり)。0 は暦年 (既定: 0)
|
|
446
485
|
* @returns New Date pinned to the start of the unit / 単位先頭に揃えた新しい Date
|
|
447
|
-
* @throws RangeError when d is absent or an Invalid Date, or when yearStartMonth is not an integer in [0, 11] / d が未指定または Invalid Date の場合、yearStartMonth が 0 以上 11 以下の整数でない場合
|
|
486
|
+
* @throws RangeError when unit is not "year", "month" or "day", judged first (`normalizeDateByUnit: unit must be one of "year", "month", "day" (received: ...)`), when d is absent or an Invalid Date, or when yearStartMonth is not an integer in [0, 11] / unit が "year"・"month"・"day" でない場合 (最初に判定)、d が未指定または Invalid Date の場合、yearStartMonth が 0 以上 11 以下の整数でない場合
|
|
448
487
|
*/
|
|
449
488
|
export declare const normalizeDateByUnit: (unit: PeriodSliderUnit, d: Date, yearStartMonth?: number) => Date;
|
|
450
489
|
/**
|
|
@@ -455,7 +494,7 @@ export declare const normalizeDateByUnit: (unit: PeriodSliderUnit, d: Date, year
|
|
|
455
494
|
* @param d - Date to encode / エンコード対象の日付
|
|
456
495
|
* @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based; 0 keeps the calendar year (default: 0) / `unit: "year"` の 1 年が始まる暦月 (0 始まり)。0 は暦年 (既定: 0)
|
|
457
496
|
* @returns Integer key that is strictly monotonic in time for the given unit / 単位ごとに時間について厳密単調な整数キー
|
|
458
|
-
* @throws RangeError when d is absent or an Invalid Date, or when yearStartMonth is not an integer in [0, 11] / d が未指定または Invalid Date の場合、yearStartMonth が 0 以上 11 以下の整数でない場合
|
|
497
|
+
* @throws RangeError when unit is not "year", "month" or "day", judged first (`encode: unit must be one of "year", "month", "day" (received: ...)`), when d is absent or an Invalid Date, or when yearStartMonth is not an integer in [0, 11] / unit が "year"・"month"・"day" でない場合 (最初に判定)、d が未指定または Invalid Date の場合、yearStartMonth が 0 以上 11 以下の整数でない場合
|
|
459
498
|
*/
|
|
460
499
|
export declare const encode: (unit: PeriodSliderUnit, d: Date, yearStartMonth?: number) => number;
|
|
461
500
|
/**
|
|
@@ -466,16 +505,27 @@ export declare const encode: (unit: PeriodSliderUnit, d: Date, yearStartMonth?:
|
|
|
466
505
|
* @param val - Encoded integer key / エンコード済み整数キー
|
|
467
506
|
* @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based; 0 keeps the calendar year (default: 0) / `unit: "year"` の 1 年が始まる暦月 (0 始まり)。0 は暦年 (既定: 0)
|
|
468
507
|
* @returns Date pinned to the start of the encoded unit / エンコード単位の先頭に揃えた Date
|
|
469
|
-
* @throws RangeError when yearStartMonth is not an integer in [0, 11] / yearStartMonth が 0 以上 11 以下の整数でない場合
|
|
508
|
+
* @throws RangeError when unit is not "year", "month" or "day", judged first (`decode: unit must be one of "year", "month", "day" (received: ...)`), or when yearStartMonth is not an integer in [0, 11] / unit が "year"・"month"・"day" でない場合 (最初に判定)、yearStartMonth が 0 以上 11 以下の整数でない場合
|
|
470
509
|
*/
|
|
471
510
|
export declare const decode: (unit: PeriodSliderUnit, val: number, yearStartMonth?: number) => Date;
|
|
511
|
+
/**
|
|
512
|
+
* Builds the tail a rejection appends when a bound is a sentinel for "no bound", such as `new Date(-8.64e15)`.
|
|
513
|
+
* 境界が「境界なし」の番兵 (`new Date(-8.64e15)` など) のとき、拒否メッセージへ添える末尾を組む関数。
|
|
514
|
+
*
|
|
515
|
+
* Every such tail reads `; <advice> instead of a sentinel for "no bound"`, so the slider, the hooks and the three selectors differ only in the advice.
|
|
516
|
+
* どの末尾も `; <直し方> instead of a sentinel for "no bound"` の形であり、本体・フック・3 セレクタで異なるのは直し方だけ。
|
|
517
|
+
*
|
|
518
|
+
* @param advice - What to declare or pass instead, naming props without quotes / 代わりに宣言する・渡すもの (Props 名は引用符なし)
|
|
519
|
+
* @returns The tail, starting with "; " / "; " で始まる末尾
|
|
520
|
+
*/
|
|
521
|
+
export declare const sentinelBoundRemedy: (advice: string) => string;
|
|
472
522
|
/**
|
|
473
523
|
* Message tail that the slider and the four state hooks append when minDate falls in a unit starting outside the Date range.
|
|
474
524
|
* minDate is required, so the date is usually a sentinel for "no lower bound", such as `new Date(-8.64e15)`.
|
|
475
525
|
* 本体と 4 つの状態フックが、単位の始まりが Date の表現範囲の外にある minDate を拒否するときに添えるメッセージ末尾。
|
|
476
526
|
* minDate は必須のため、その日付はたいてい「下限なし」の番兵 (`new Date(-8.64e15)` など)。
|
|
477
527
|
*/
|
|
478
|
-
export declare const REQUIRED_MIN_DATE_REMEDY
|
|
528
|
+
export declare const REQUIRED_MIN_DATE_REMEDY: string;
|
|
479
529
|
/**
|
|
480
530
|
* Encodes a date at a unit, failing when the start of that unit lies outside the Date range.
|
|
481
531
|
* 日付を単位の整数キーへ符号化する関数 (その単位の始まりが Date の表現範囲の外にある場合は送出)。
|
|
@@ -485,21 +535,23 @@ export declare const REQUIRED_MIN_DATE_REMEDY = "; minDate is required, so pass
|
|
|
485
535
|
* moves with `yearStartMonth`. `encode` returns `NaN` for such a date, and `NaN` passes every `<` / `>` containment test,
|
|
486
536
|
* so the date would slip past the domain checks and fail later under a function the caller never called. This is the one
|
|
487
537
|
* message that PeriodSlider, the state hooks, getSortedAllowedDates / resolveMicroRail, resolveMacroWindow,
|
|
488
|
-
* getMacroWindowStartDate, getMacroWindowEndDate (for the pairs that return d's own micro unit start), findNearestDateIndex
|
|
489
|
-
* and
|
|
538
|
+
* getMacroWindowStartDate, getMacroWindowEndDate (for the pairs that return d's own micro unit start), findNearestDateIndex,
|
|
539
|
+
* encodeStepOption and the three selectors (their Date props and candidate entries: YearSelector at year under its
|
|
540
|
+
* yearStartMonth, MonthSelector at month, DateSelector at day) share, over the one predicate keyInsideDateRange.
|
|
490
541
|
* A unit start never follows its date, so no date at the upper end of the Date range is rejected.
|
|
491
542
|
* Date の表現範囲 (`-8.64e15` ms) の最初の単位にある有効な Date は、始まりが Date にならない単位に属し得る
|
|
492
543
|
* (`new Date(-8.64e15)` の月と年はどの時間帯でもそれより前に始まり、日は UTC 以外で同様。年の始まりは `yearStartMonth` と共に動く)。
|
|
493
544
|
* そうした日付の `encode` は `NaN` を返し、`NaN` は `<` / `>` による内包の判定をすべて素通りするため、日付が定義域の検証を抜けて、
|
|
494
545
|
* 呼び出し側が呼んでいない関数の名で後から落ちる。本体・状態フック・getSortedAllowedDates / resolveMicroRail・resolveMacroWindow・
|
|
495
|
-
* getMacroWindowStartDate・getMacroWindowEndDate (d 自身のミクロ単位の始まりを返す組)・findNearestDateIndex・encodeStepOption
|
|
546
|
+
* getMacroWindowStartDate・getMacroWindowEndDate (d 自身のミクロ単位の始まりを返す組)・findNearestDateIndex・encodeStepOption・
|
|
547
|
+
* 3 セレクタ (Date 型 Props と候補の要素。YearSelector は yearStartMonth の年、MonthSelector は月、DateSelector は日) が
|
|
496
548
|
* 共有する唯一の文言 (判定は keyInsideDateRange の 1 つ)。
|
|
497
549
|
* 単位の始まりが日付より後になることはないため、表現範囲の上端の日付は拒否しない。
|
|
498
550
|
*
|
|
499
551
|
* @param owner - API name quoted in the error message / エラーメッセージが名指しする API 名
|
|
500
552
|
* @param path - Prop, option, entry point or argument quoted in the error message / エラーメッセージが名指しする Props・オプション・入口・引数
|
|
501
553
|
* @param date - Valid Date to encode; the caller has already rejected an Invalid Date / 符号化する有効な Date (Invalid Date は呼び出し側が拒否済み)
|
|
502
|
-
* @param unit - Unit the date is drawn or compared at / 日付を描く・比べる単位
|
|
554
|
+
* @param unit - Unit the date is drawn or compared at (validated by the calling entry point) / 日付を描く・比べる単位 (呼び出し元の入口で検証済み)
|
|
503
555
|
* @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based / `unit: "year"` の 1 年が始まる暦月 (0 始まり)
|
|
504
556
|
* @param remedy - Text appended to the message, or "" for none / メッセージ末尾に添える文 (無ければ "")
|
|
505
557
|
* @returns The integer key of the date's unit / 日付が属する単位の整数キー
|
|
@@ -517,7 +569,7 @@ export declare const encodeInsideDateRange: (owner: string, path: string, date:
|
|
|
517
569
|
* 定義域の端の外にある (minDate は描くすべての単位で判定され、単位の始まりは日付より後にならないため、両端は範囲の中で始まる単位にある)。
|
|
518
570
|
*
|
|
519
571
|
* @param date - Valid Date to encode / 符号化する有効な Date
|
|
520
|
-
* @param unit - Unit the date is drawn or compared at / 日付を描く・比べる単位
|
|
572
|
+
* @param unit - Unit the date is drawn or compared at (validated by the calling entry point) / 日付を描く・比べる単位 (呼び出し元の入口で検証済み)
|
|
521
573
|
* @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based / `unit: "year"` の 1 年が始まる暦月 (0 始まり)
|
|
522
574
|
* @returns The integer key of the date's unit, or null when that unit starts outside the Date range / 日付が属する単位の整数キー (その単位の始まりが表現範囲の外なら null)
|
|
523
575
|
* @throws RangeError when date is absent or an Invalid Date, or when yearStartMonth is not an integer in [0, 11] (raised by encode) / date が未指定または Invalid Date の場合、yearStartMonth が 0 以上 11 以下の整数でない場合 (encode が送出)
|
|
@@ -529,15 +581,14 @@ export declare const keyInsideDateRange: (date: Date, unit: PeriodSliderUnit, ye
|
|
|
529
581
|
*
|
|
530
582
|
* Month and year steps follow shiftCivilMonths and write year, month and day at once, so a step into the Date range's last
|
|
531
583
|
* month returns its date even from a month end. The result is an Invalid Date only when the sum itself lies past the Date range.
|
|
532
|
-
* Any unit other than year or month steps by days, the way encode, normalizeDateByUnit and decode read such a unit.
|
|
533
584
|
* 月・年の加算は shiftCivilMonths に従い年月日を 1 度で書くため、表現範囲の最後の月への加算も月末日からその日付を返す。
|
|
534
|
-
* Invalid Date になるのは和そのものが Date
|
|
585
|
+
* Invalid Date になるのは和そのものが Date の表現範囲を越えるときだけ。
|
|
535
586
|
*
|
|
536
587
|
* @param unit - Time resolution unit to step by / 加減算する時間解像度単位
|
|
537
588
|
* @param d - Base date / 起点日付
|
|
538
589
|
* @param amount - Signed whole number of units to add / 加減算する整数の単位数 (符号付き)
|
|
539
590
|
* @returns New Date advanced by amount units, or an Invalid Date when the sum lies past the Date range / amount 単位進めた新しい Date (和が Date の表現範囲を越える場合は Invalid Date)
|
|
540
|
-
* @throws RangeError when d is absent or an Invalid Date (`addUnit: d must be a valid Date (received: ...)`), or when amount is not an integer (`addUnit: amount must be an integer number of units (received: ...)`) / d が未指定または Invalid Date の場合、amount が整数でない場合
|
|
591
|
+
* @throws RangeError when unit is not "year", "month" or "day", judged first (`addUnit: unit must be one of "year", "month", "day" (received: ...)`), when d is absent or an Invalid Date (`addUnit: d must be a valid Date (received: ...)`), or when amount is not an integer (`addUnit: amount must be an integer number of units (received: ...)`) / unit が "year"・"month"・"day" でない場合 (最初に判定)、d が未指定または Invalid Date の場合、amount が整数でない場合
|
|
541
592
|
*/
|
|
542
593
|
export declare const addUnit: (unit: PeriodSliderUnit, d: Date, amount: number) => Date;
|
|
543
594
|
/**
|
|
@@ -547,15 +598,14 @@ export declare const addUnit: (unit: PeriodSliderUnit, d: Date, amount: number)
|
|
|
547
598
|
* The key's unit start moves the way addUnit moves a date (the month-end clamp for months and years) and the landing date is keyed
|
|
548
599
|
* again at the key's unit, so for keys of ordinary dates the result equals encode(keyUnit, addUnit(stepUnit, decode(keyUnit, key), amount)).
|
|
549
600
|
* Because no Date is built, a sum past the Date range comes back as a key past the range's keys instead of an Invalid Date, and a
|
|
550
|
-
* carry can still place it.
|
|
601
|
+
* carry can still place it.
|
|
551
602
|
* キーの単位の始まりを addUnit と同じ規則 (月・年は月末丸め) で動かし、着いた日付をキーの単位で数え直す。通常の日付のキーでは
|
|
552
603
|
* encode(keyUnit, addUnit(stepUnit, decode(keyUnit, key), amount)) と一致する。Date を組まないため、表現範囲を越える和も
|
|
553
|
-
* Invalid Date
|
|
554
|
-
* encode・decode・addUnit と同じく日として扱う。
|
|
604
|
+
* Invalid Date ではなく範囲のキーの外のキーとして返り、運ぶ側がそのまま収められる。
|
|
555
605
|
*
|
|
556
|
-
* @param keyUnit - Unit the key is encoded at / キーを符号化した単位
|
|
606
|
+
* @param keyUnit - Unit the key is encoded at (validated by the calling entry point) / キーを符号化した単位 (呼び出し元の入口で検証済み)
|
|
557
607
|
* @param key - Integer key at keyUnit / keyUnit の整数キー
|
|
558
|
-
* @param stepUnit - Unit to step by / 動かす単位
|
|
608
|
+
* @param stepUnit - Unit to step by (validated by the calling entry point) / 動かす単位 (呼び出し元の入口で検証済み)
|
|
559
609
|
* @param amount - Signed whole number of stepUnit units / 符号付きの整数の stepUnit の数
|
|
560
610
|
* @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based / `unit: "year"` の 1 年が始まる暦月 (0 始まり)
|
|
561
611
|
* @returns Integer key at keyUnit of the moved unit start / 動かした単位の始まりの keyUnit の整数キー
|
|
@@ -582,7 +632,7 @@ export declare const shiftUnitKey: (keyUnit: PeriodSliderUnit, key: number, step
|
|
|
582
632
|
* @param d - Macro range start date / マクロ範囲の開始日付
|
|
583
633
|
* @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based; 0 keeps the calendar year (default: 0) / `unit: "year"` の 1 年が始まる暦月 (0 始まり)。0 は暦年 (既定: 0)
|
|
584
634
|
* @returns Corrected boundary Date in micro unit resolution / 補正後のミクロ解像度開始日付
|
|
585
|
-
* @throws RangeError when d is absent or an Invalid Date, when yearStartMonth is not an integer in [0, 11], or when d falls in a macroUnit or microUnit that starts outside the Date range, judged in that order (`getMacroWindowStartDate: d must fall in a <unit> that starts inside the Date range (received: ...)`, encodeInsideDateRange) / d が未指定または Invalid Date の場合、yearStartMonth が 0 以上 11 以下の整数でない場合、d の macroUnit・microUnit の始まりが Date の表現範囲の外にある場合 (この順に判定)
|
|
635
|
+
* @throws RangeError when macroUnit or microUnit is not "year", "month" or "day" (`getMacroWindowStartDate: macroUnit must be one of "year", "month", "day" (received: ...)`), when d is absent or an Invalid Date, when yearStartMonth is not an integer in [0, 11], or when d falls in a macroUnit or microUnit that starts outside the Date range, judged in that order (`getMacroWindowStartDate: d must fall in a <unit> that starts inside the Date range (received: ...)`, encodeInsideDateRange) / macroUnit・microUnit が "year"・"month"・"day" でない場合、d が未指定または Invalid Date の場合、yearStartMonth が 0 以上 11 以下の整数でない場合、d の macroUnit・microUnit の始まりが Date の表現範囲の外にある場合 (この順に判定)
|
|
586
636
|
*/
|
|
587
637
|
export declare const getMacroWindowStartDate: (macroUnit: PeriodSliderUnit, microUnit: PeriodSliderUnit, d: Date, yearStartMonth?: number) => Date;
|
|
588
638
|
/**
|
|
@@ -602,7 +652,7 @@ export declare const getMacroWindowStartDate: (macroUnit: PeriodSliderUnit, micr
|
|
|
602
652
|
* @param d - Macro range end date / マクロ範囲の終了日付
|
|
603
653
|
* @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based; 0 keeps the calendar year (default: 0) / `unit: "year"` の 1 年が始まる暦月 (0 始まり)。0 は暦年 (既定: 0)
|
|
604
654
|
* @returns Corrected boundary Date in micro unit resolution / 補正後のミクロ解像度終了日付
|
|
605
|
-
* @throws RangeError when d is absent or an Invalid Date, when yearStartMonth is not an integer in [0, 11], when the macro unit is coarser than the micro unit and the last micro unit of the macro period containing d starts outside the Date range (`getMacroWindowEndDate: d must fall in a <macroUnit> whose last <microUnit> starts inside the Date range (received: ...)`), or, for the other pairs (the same unit, or a macro unit finer than the micro unit), when d falls in a microUnit that starts outside the Date range (`getMacroWindowEndDate: d must fall in a <microUnit> that starts inside the Date range (received: ...)`, encodeInsideDateRange) / d が未指定または Invalid Date の場合、yearStartMonth が 0 以上 11 以下の整数でない場合、マクロ単位がミクロ単位より粗い組で d を含むマクロ期間の最後のミクロ単位の始まりが Date の表現範囲の外にある場合、それ以外の組 (同じ単位・マクロ単位のほうが細かい組) で d のミクロ単位の始まりが Date の表現範囲の外にある場合
|
|
655
|
+
* @throws RangeError when macroUnit or microUnit is not "year", "month" or "day", judged first in that order (`getMacroWindowEndDate: macroUnit must be one of "year", "month", "day" (received: ...)`), when d is absent or an Invalid Date, when yearStartMonth is not an integer in [0, 11], when the macro unit is coarser than the micro unit and the last micro unit of the macro period containing d starts outside the Date range (`getMacroWindowEndDate: d must fall in a <macroUnit> whose last <microUnit> starts inside the Date range (received: ...)`), or, for the other pairs (the same unit, or a macro unit finer than the micro unit), when d falls in a microUnit that starts outside the Date range (`getMacroWindowEndDate: d must fall in a <microUnit> that starts inside the Date range (received: ...)`, encodeInsideDateRange) / macroUnit・microUnit が "year"・"month"・"day" でない場合 (この順に最初に判定)、d が未指定または Invalid Date の場合、yearStartMonth が 0 以上 11 以下の整数でない場合、マクロ単位がミクロ単位より粗い組で d を含むマクロ期間の最後のミクロ単位の始まりが Date の表現範囲の外にある場合、それ以外の組 (同じ単位・マクロ単位のほうが細かい組) で d のミクロ単位の始まりが Date の表現範囲の外にある場合
|
|
606
656
|
*/
|
|
607
657
|
export declare const getMacroWindowEndDate: (macroUnit: PeriodSliderUnit, microUnit: PeriodSliderUnit, d: Date, yearStartMonth?: number) => Date;
|
|
608
658
|
/**
|
|
@@ -624,7 +674,7 @@ export declare const getMacroWindowEndDate: (macroUnit: PeriodSliderUnit, microU
|
|
|
624
674
|
* @param maxDate - Domain upper boundary / 定義域の上限
|
|
625
675
|
* @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based; 0 keeps the calendar year (default: 0) / `unit: "year"` の 1 年が始まる暦月 (0 始まり)。0 は暦年 (既定: 0)
|
|
626
676
|
* @returns Window tuple of valid Dates in micro unit resolution, guaranteed to lie inside [minDate, maxDate] at that resolution; a window whose terminal macro period is maxDate's period or later ends at maxDate's micro-unit start, decided on the macro keys without building the period's end, so a window reaching the Date range's last macro period is resolved too / そのミクロ解像度で [minDate, maxDate] の内側であることが保証された、有効な Date から成るミクロ解像度の窓タプル (末尾のマクロ期間が maxDate の期間かそれより後の窓は、期間の末尾を組まずにマクロのキーで判断して maxDate のミクロ単位の始まりで閉じるため、Date の表現範囲の最後のマクロ期間へ届く窓も解決する)
|
|
627
|
-
* @throws RangeError naming this function when macroRange is not a usable tuple, when a boundary is absent or an Invalid Date, when either pair is inverted, when yearStartMonth is not an integer in [0, 11], when maxDate falls in a microUnit that starts outside the Date range (`resolveMacroWindow: maxDate must fall in a <unit> that starts inside the Date range (received: ...)`; a window end clamped to maxDate is folded at microUnit), or when macroRange[0] falls in a macroUnit or microUnit that starts outside the Date range (`resolveMacroWindow: macroRange[0] must fall in a <unit> that starts inside the Date range (received: ...)`, encodeInsideDateRange); minDate is not judged, because a window end is clamped to it only when it lies after that end / macroRange が利用可能なタプルでない場合、境界が未指定または Invalid Date の場合、いずれかの対が逆転している場合、yearStartMonth が 0 以上 11 以下の整数でない場合、maxDate の microUnit の始まりが Date の表現範囲の外にある場合 (maxDate へクランプした窓の端は microUnit で畳むため)、macroRange[0] の macroUnit または microUnit の始まりが Date の表現範囲の外にある場合 (メッセージは本関数を名指しする)。minDate は窓の端より後にあるときだけクランプの結果になるため判定しない
|
|
677
|
+
* @throws RangeError naming this function when macroUnit or microUnit is not "year", "month" or "day", judged first in that order (`resolveMacroWindow: macroUnit must be one of "year", "month", "day" (received: ...)`), when macroRange is not a usable tuple, when a boundary is absent or an Invalid Date, when either pair is inverted, when yearStartMonth is not an integer in [0, 11], when maxDate falls in a microUnit that starts outside the Date range (`resolveMacroWindow: maxDate must fall in a <unit> that starts inside the Date range (received: ...)`; a window end clamped to maxDate is folded at microUnit), or when macroRange[0] falls in a macroUnit or microUnit that starts outside the Date range (`resolveMacroWindow: macroRange[0] must fall in a <unit> that starts inside the Date range (received: ...)`, encodeInsideDateRange); minDate is not judged, because a window end is clamped to it only when it lies after that end / macroUnit・microUnit が "year"・"month"・"day" でない場合 (この順に最初に判定)、macroRange が利用可能なタプルでない場合、境界が未指定または Invalid Date の場合、いずれかの対が逆転している場合、yearStartMonth が 0 以上 11 以下の整数でない場合、maxDate の microUnit の始まりが Date の表現範囲の外にある場合 (maxDate へクランプした窓の端は microUnit で畳むため)、macroRange[0] の macroUnit または microUnit の始まりが Date の表現範囲の外にある場合 (メッセージは本関数を名指しする)。minDate は窓の端より後にあるときだけクランプの結果になるため判定しない
|
|
628
678
|
*/
|
|
629
679
|
export declare const resolveMacroWindow: (macroUnit: PeriodSliderUnit, microUnit: PeriodSliderUnit, macroRange: [Date, Date], minDate: Date, maxDate: Date, yearStartMonth?: number) => [Date, Date];
|
|
630
680
|
/**
|
|
@@ -709,7 +759,7 @@ export declare const formatIsoYear: (year: number) => string;
|
|
|
709
759
|
* @param customFormat - Consumer formatter taking priority over both built-in paths / 組み込み 2 経路より優先される利用側フォーマッタ
|
|
710
760
|
* @param formatLocale - BCP 47 language tag enabling Intl formatting (the `formatLocale` prop, not the UI chrome `locale`) / Intl 書式を有効化する BCP 47 言語タグ (UI クロームの `locale` ではなく `formatLocale` prop)
|
|
711
761
|
* @returns Formatted label, or an empty string when d is absent or an Invalid Date / 書式化済みラベル (d が未指定・Invalid Date の場合は空文字列)
|
|
712
|
-
* @throws RangeError when formatLocale is not a structurally valid BCP 47 tag / formatLocale が構造的に妥当な BCP 47 タグでない場合
|
|
762
|
+
* @throws RangeError when unit is not "year", "month" or "day", judged before the Invalid Date short-circuit and before customFormat is called (`formatLabel: unit must be one of "year", "month", "day" (received: ...)`), or when formatLocale is not a structurally valid BCP 47 tag / unit が "year"・"month"・"day" でない場合 (無効日付の短絡と customFormat の呼び出しより先に判定)、formatLocale が構造的に妥当な BCP 47 タグでない場合
|
|
713
763
|
*/
|
|
714
764
|
export declare const formatLabel: (unit: PeriodSliderUnit, d: Date, customFormat?: PeriodOptionFormatter, formatLocale?: string) => string;
|
|
715
765
|
/**
|
|
@@ -725,7 +775,7 @@ export declare const formatLabel: (unit: PeriodSliderUnit, d: Date, customFormat
|
|
|
725
775
|
* @param customFormat - Consumer formatter taking priority over both built-in paths / 組み込み 2 経路より優先される利用側フォーマッタ
|
|
726
776
|
* @param formatLocale - BCP 47 language tag enabling Intl formatting (the `formatLocale` prop, not the UI chrome `locale`) / Intl 書式を有効化する BCP 47 言語タグ (UI クロームの `locale` ではなく `formatLocale` prop)
|
|
727
777
|
* @returns Announced text, or an empty string when d is absent or an Invalid Date / 読み上げ文字列 (d が未指定・Invalid Date の場合は空文字列)
|
|
728
|
-
* @throws RangeError when formatLocale is not a structurally valid BCP 47 tag / formatLocale が構造的に妥当な BCP 47 タグでない場合
|
|
778
|
+
* @throws RangeError when unit is not "year", "month" or "day", judged before the Invalid Date short-circuit (`formatScreenReaderLabel: unit must be one of "year", "month", "day" (received: ...)`), or when formatLocale is not a structurally valid BCP 47 tag / unit が "year"・"month"・"day" でない場合 (無効日付の短絡より先に判定)、formatLocale が構造的に妥当な BCP 47 タグでない場合
|
|
729
779
|
*/
|
|
730
780
|
export declare const formatScreenReaderLabel: (unit: PeriodSliderUnit, d: Date, customFormat?: PeriodOptionFormatter, formatLocale?: string) => string;
|
|
731
781
|
/**
|
|
@@ -767,7 +817,7 @@ export declare const formatQuarterLabel: (d: Date, yearStartMonth: number) => st
|
|
|
767
817
|
* @param unit - Time resolution unit used for the distance metric / 距離尺度に用いる時間解像度単位
|
|
768
818
|
* @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based; 0 keeps the calendar year (default: 0) / `unit: "year"` の 1 年が始まる暦月 (0 始まり)。0 は暦年 (既定: 0)
|
|
769
819
|
* @returns Index of the closest entry, or 0 for a list of 0 or 1 entries, which is returned without reading target / 最近傍要素のインデックス (要素が 0 個・1 個の一覧では target を読まずに 0)
|
|
770
|
-
* @throws RangeError naming this function when target is not a valid Date (`findNearestDateIndex: target must be a valid Date (received: ...)`) or falls in a unit that starts outside the Date range (`findNearestDateIndex: target must fall in a <unit> that starts inside the Date range (received: ...)`, encodeInsideDateRange); RangeError from normalizeDateByUnit when an inspected entry is an Invalid Date (entries must be ascending and unit-normalized, and a normalized entry is its own unit start); RangeError when yearStartMonth is not an integer in [0, 11] / target が有効な Date でない場合、target の単位の始まりが Date の表現範囲の外にある場合 (本関数を名乗る)。参照した要素が Invalid Date の場合 (normalizeDateByUnit が送出。要素は昇順かつ単位正規化済みであること)。yearStartMonth が 0 以上 11 以下の整数でない場合
|
|
820
|
+
* @throws RangeError naming this function when unit is not "year", "month" or "day", judged first and before the 0- and 1-entry returns (`findNearestDateIndex: unit must be one of "year", "month", "day" (received: ...)`), when target is not a valid Date (`findNearestDateIndex: target must be a valid Date (received: ...)`) or falls in a unit that starts outside the Date range (`findNearestDateIndex: target must fall in a <unit> that starts inside the Date range (received: ...)`, encodeInsideDateRange); RangeError from normalizeDateByUnit when an inspected entry is an Invalid Date (entries must be ascending and unit-normalized, and a normalized entry is its own unit start); RangeError when yearStartMonth is not an integer in [0, 11] / unit が "year"・"month"・"day" でない場合 (最初に、0 要素・1 要素の一覧で返すより先に判定)、target が有効な Date でない場合、target の単位の始まりが Date の表現範囲の外にある場合 (本関数を名乗る)。参照した要素が Invalid Date の場合 (normalizeDateByUnit が送出。要素は昇順かつ単位正規化済みであること)。yearStartMonth が 0 以上 11 以下の整数でない場合
|
|
771
821
|
*/
|
|
772
822
|
export declare const findNearestDateIndex: (dates: Date[], target: Date, unit: PeriodSliderUnit, yearStartMonth?: number) => number;
|
|
773
823
|
/**
|
|
@@ -781,7 +831,7 @@ export declare const findNearestDateIndex: (dates: Date[], target: Date, unit: P
|
|
|
781
831
|
* @param maxDate - Upper domain boundary; entries after it are excluded / 定義域上限 (これより後の要素は除外)
|
|
782
832
|
* @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based; 0 keeps the calendar year (default: 0) / `unit: "year"` の 1 年が始まる暦月 (0 始まり)。0 は暦年 (既定: 0)
|
|
783
833
|
* @returns Ascending, deduplicated dates inside the domain, or an empty array when allowedDates is omitted (`undefined`) or empty / 定義域内の昇順・重複排除済み日付 (allowedDates が省略 (`undefined`)・空配列なら空配列)
|
|
784
|
-
* @throws RangeError naming this function when allowedDates is supplied but is not an array (`null` included), when an entry - a hole of a sparse array included - is not a valid Date (named by its index, e.g. `allowedDates[1]`), when a non-empty allowedDates meets a minDate or maxDate that is not a valid Date (`getSortedAllowedDates: minDate must be a valid Date (received: Invalid Date)`), when a non-empty allowedDates meets a minDate or maxDate, or holds an entry, whose unit starts outside the Date range (`getSortedAllowedDates: minDate must fall in a month that starts inside the Date range (received: ...)`, encodeInsideDateRange), when every supplied entry falls outside the domain, or when yearStartMonth is not an integer in [0, 11] / 本関数を名乗って送出 (allowedDates が配列でない指定値 (`null` を含む) の場合、要素 (疎配列の穴を含む) が有効な Date でない場合 (`allowedDates[1]` のように添字で名指す)、空でない allowedDates に対し minDate・maxDate が有効な Date でない場合、空でない allowedDates に対し minDate・maxDate・要素の単位の始まりが Date の表現範囲の外にある場合、全要素が定義域外の場合、yearStartMonth が 0 以上 11 以下の整数でない場合)
|
|
834
|
+
* @throws RangeError naming this function when unit is not "year", "month" or "day", judged first, before yearStartMonth and before an omitted or empty list returns (`getSortedAllowedDates: unit must be one of "year", "month", "day" (received: ...)`), when allowedDates is supplied but is not an array (`null` included), when an entry - a hole of a sparse array included - is not a valid Date (named by its index, e.g. `allowedDates[1]`), when a non-empty allowedDates meets a minDate or maxDate that is not a valid Date (`getSortedAllowedDates: minDate must be a valid Date (received: Invalid Date)`), when a non-empty allowedDates meets a minDate or maxDate, or holds an entry, whose unit starts outside the Date range (`getSortedAllowedDates: minDate must fall in a month that starts inside the Date range (received: ...)`, encodeInsideDateRange), when every supplied entry falls outside the domain, or when yearStartMonth is not an integer in [0, 11] / 本関数を名乗って送出 (unit が "year"・"month"・"day" でない場合 (最初に、yearStartMonth より先、省略・空の一覧で返すより先に判定)、allowedDates が配列でない指定値 (`null` を含む) の場合、要素 (疎配列の穴を含む) が有効な Date でない場合 (`allowedDates[1]` のように添字で名指す)、空でない allowedDates に対し minDate・maxDate が有効な Date でない場合、空でない allowedDates に対し minDate・maxDate・要素の単位の始まりが Date の表現範囲の外にある場合、全要素が定義域外の場合、yearStartMonth が 0 以上 11 以下の整数でない場合)
|
|
785
835
|
*/
|
|
786
836
|
export declare const getSortedAllowedDates: (allowedDates: Date[] | undefined, unit: PeriodSliderUnit, minDate: Date, maxDate: Date, yearStartMonth?: number) => Date[];
|
|
787
837
|
/**
|
|
@@ -823,7 +873,7 @@ export declare const allowedDatesList: (allowedDates: Date[] | undefined) => Can
|
|
|
823
873
|
*
|
|
824
874
|
* @param owner - API named at the head of every message / すべてのメッセージの先頭で名乗る API
|
|
825
875
|
* @param candidates - The list and its origin / 一覧とその出所
|
|
826
|
-
* @param unit - Time resolution unit used for normalization and deduplication / 正規化・重複排除に用いる時間解像度単位
|
|
876
|
+
* @param unit - Time resolution unit used for normalization and deduplication (validated by the calling entry point) / 正規化・重複排除に用いる時間解像度単位 (呼び出し元の入口で検証済み)
|
|
827
877
|
* @param minDate - Lower domain boundary; entries before it are excluded / 定義域下限 (これより前の要素は除外)
|
|
828
878
|
* @param maxDate - Upper domain boundary; entries after it are excluded / 定義域上限 (これより後の要素は除外)
|
|
829
879
|
* @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based / `unit: "year"` の 1 年が始まる暦月 (0 始まり)
|
|
@@ -855,7 +905,7 @@ export type MicroRail = Extract<DrawnValues, {
|
|
|
855
905
|
*
|
|
856
906
|
* @param owner - API named by the messages that reject the list / 一覧を拒否するメッセージが名乗る API
|
|
857
907
|
* @param candidates - The micro row's candidate list and its origin (resolveVernierRowAllowedDates) / ミクロ行の候補の一覧とその出所 (resolveVernierRowAllowedDates)
|
|
858
|
-
* @param unit - Micro scale unit / ミクロ側の時間解像度単位
|
|
908
|
+
* @param unit - Micro scale unit (validated by the calling entry point) / ミクロ側の時間解像度単位 (呼び出し元の入口で検証済み)
|
|
859
909
|
* @param minDate - Domain lower boundary / 定義域の下限
|
|
860
910
|
* @param maxDate - Domain upper boundary / 定義域の上限
|
|
861
911
|
* @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based / `unit: "year"` の 1 年が始まる暦月 (0 始まり)
|
|
@@ -914,6 +964,7 @@ export interface ConnectDragValueOptions {
|
|
|
914
964
|
*
|
|
915
965
|
* @param options - Drag geometry, domain bounds and snapping configuration / ドラッグ形状・定義域・スナップ設定
|
|
916
966
|
* @returns Clamped [low, high] pair in the slider value space / スライダー値空間へクランプ済みの [下限, 上限]
|
|
967
|
+
* @throws RangeError when unit is not "year", "month" or "day", judged first in every mode, including the continuous and index-snapped ones that never read it (`calculateConnectDragValues: unit must be one of "year", "month", "day" (received: ...)`) / unit が "year"・"month"・"day" でない場合 (単位を読まない連続・インデックススナップを含むすべてのモードで最初に判定)
|
|
917
968
|
*/
|
|
918
969
|
export declare const calculateConnectDragValues: ({ posDiffPct, startLowVal, startHighVal, rangeMin, rangeMax, isDiscrete, sortedAllowedDates, snapMode, unit, yearStartMonth }: ConnectDragValueOptions) => [number, number];
|
|
919
970
|
/**
|
|
@@ -969,6 +1020,24 @@ export declare const calculateLabelSlant: (lowPct: number, highPct: number, trac
|
|
|
969
1020
|
* ホイール・ステッパー・フックの 3 経路が食い違わない。
|
|
970
1021
|
*/
|
|
971
1022
|
export type MacroWindowMotion = "pan" | "resize";
|
|
1023
|
+
/**
|
|
1024
|
+
* Whether a vernier row's rail is discrete: only the value `true` turns a row discrete.
|
|
1025
|
+
* ノギスの行のレールが離散か (行を離散にするのは値 `true` だけ)。
|
|
1026
|
+
*
|
|
1027
|
+
* The component and the vernier hooks read the row flags through this one rule, so the slider a hook renders never reads
|
|
1028
|
+
* a row as discrete, and validates its candidate list, when the hook read that row as continuous. Any other value,
|
|
1029
|
+
* including a truthy non-boolean such as `1` from an untyped host, leaves the row continuous, as an omitted flag does.
|
|
1030
|
+
* 本体とノギスのフックは行のフラグをすべてこの 1 つの規則で読む (フックが連続と読んだ行を、それを描くスライダーが離散と読んで候補の一覧を検証することがない)。
|
|
1031
|
+
* それ以外の値 (型の無いホストが渡す `1` のような、真と評価される真偽値以外の値を含む) は、省略したフラグと同じく行を連続のままにする。
|
|
1032
|
+
*
|
|
1033
|
+
* @param row - Row whose flag to read / フラグを読む行
|
|
1034
|
+
* @param props - Props carrying the row flags / 行のフラグを持つ Props
|
|
1035
|
+
* @returns True only when the row's flag is `true` / 行のフラグが `true` のときだけ true
|
|
1036
|
+
*/
|
|
1037
|
+
export declare const isVernierRowDiscrete: (row: "macro" | "micro", props: {
|
|
1038
|
+
readonly macroIsDiscrete?: boolean;
|
|
1039
|
+
readonly microIsDiscrete?: boolean;
|
|
1040
|
+
}) => boolean;
|
|
972
1041
|
/**
|
|
973
1042
|
* Resolves the candidate list a vernier row's rail reads, with its origin: the row's own list when supplied, otherwise the shared `allowedDates`.
|
|
974
1043
|
* ノギスの行のレールが読む候補の一覧を出所付きで解決する関数 (行の一覧が指定されていればそれ、無ければ共有の `allowedDates`)。
|
|
@@ -1106,6 +1175,17 @@ export declare const VernierKnobSvg: React.NamedExoticComponent<{
|
|
|
1106
1175
|
isVertical?: boolean;
|
|
1107
1176
|
isLeft?: boolean;
|
|
1108
1177
|
}>;
|
|
1178
|
+
/**
|
|
1179
|
+
* Validates a BCP 47 language tag prop and fails fast on a tag Intl cannot use; the one check PeriodSlider and the three selectors share.
|
|
1180
|
+
* BCP 47 言語タグ Props を検証し、Intl が解釈できないタグで即座に失敗させる関数 (本体と 3 セレクタが共有する唯一の検査)。
|
|
1181
|
+
*
|
|
1182
|
+
* @param owner - Component named at the head of the message / メッセージの先頭で名乗るコンポーネント
|
|
1183
|
+
* @param propName - Prop name quoted in the error message / エラーメッセージへ埋め込む Props 名
|
|
1184
|
+
* @param tag - Raw prop value supplied by the consumer / 利用側が指定した生の Props 値
|
|
1185
|
+
* @returns Nothing; the function only throws or returns normally / 戻り値なし (正常時は無返却)
|
|
1186
|
+
* @throws RangeError `<owner>: <propName> must be a valid BCP 47 language tag (received: ...)` when the value is not a structurally valid language tag / 値が構造的に妥当な言語タグでない場合
|
|
1187
|
+
*/
|
|
1188
|
+
export declare const assertLocaleTag: (owner: string, propName: string, tag: unknown) => void;
|
|
1109
1189
|
/**
|
|
1110
1190
|
* Layout size of a rendered element in CSS pixels, unaffected by any CSS transform.
|
|
1111
1191
|
* CSS トランスフォームの影響を受けない描画済み要素のレイアウトサイズ (CSS ピクセル)。
|
|
@@ -1229,6 +1309,8 @@ export declare const arePeriodSliderPropsEqual: (prev: PeriodSliderProps, next:
|
|
|
1229
1309
|
*
|
|
1230
1310
|
* Re-renders only when arePeriodSliderPropsEqual reports a functional difference.
|
|
1231
1311
|
* arePeriodSliderPropsEqual が機能的差分を報告した場合にのみ再描画。
|
|
1312
|
+
*
|
|
1313
|
+
* @throws RangeError during render when a prop is missing, malformed or outside the domain (README "実行時バリデーション (Fail Fast)"); the units are judged first, before yearStartMonth and the domain: `unit` in every mode, then in vernier mode a supplied `macroUnit` and `microUnit`, each rejected when it is not "year", "month" or "day" (`null` included; only an omitted row unit means `unit`) with `PeriodSlider: <prop> must be one of "year", "month", "day" (received: ...)` / Props が欠落・不正・定義域外の場合に描画中に送出 (README「実行時バリデーション (Fail Fast)」)。単位は年の開始月・定義域より先に判定する (全モードの `unit`、続いてノギスで指定された `macroUnit`・`microUnit`。"year"・"month"・"day" でなければ `null` も含めて拒否し、`unit` になるのは行の単位を省略したときだけ)
|
|
1232
1314
|
*/
|
|
1233
1315
|
export declare const PeriodSlider: React.NamedExoticComponent<PeriodSliderProps>;
|
|
1234
1316
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PeriodSlider.d.ts","sourceRoot":"","sources":["../src/PeriodSlider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,KAAK,aAAa,EAAmF,MAAM,OAAO,CAAA;AAqB3H,OAAO,EAA0B,KAAK,0BAA0B,EAAE,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAI3G,OAAO,EAAsD,KAAK,WAAW,EAAqB,MAAM,YAAY,CAAA;AAMpH;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAA;AAEvD;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,MAAM,CAAA;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,iBAAiB,KAAK,MAAM,CAAA;AAE5G;;;GAGG;AACH,MAAM,MAAM,yBAAyB,GAAG,KAAK,GAAG,QAAQ,CAAA;AAExD;;;;;;GAMG;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,G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EAAE,MAAM,CAAA;CACtB,CACN,CAAA;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACvB,sGAAsG;IACtG,KAAK,EAAE,aAAa,CAAA;IACpB,+DAA+D;IAC/D,MAAM,EAAE,MAAM,CAAA;CACjB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,iBAAiB,GAAI,QAAQ,SAAS,kBAAkB,EAAE,KAAG,UAAU,GAAG,SAwBtF,CAAA;AAgPD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,YAAY,GAAG,UAAU,EAAE,MAAM,CAAwG,CAAA;AAglF3L;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,GAAI,IAAI,KAAK,CAAC,aAAa,EAAE,IAAI,KAAK,CAAC,aAAa,KAAG,OAUjF,CAAA;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,yBAAyB,GAAI,MAAM,iBAAiB,EAAE,MAAM,iBAAiB,KAAG,OAmF5F,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,+CAAyD,CAAA"}
|
|
@@ -23,7 +23,10 @@ export declare const POPUP_BORDER_TOTAL = 2;
|
|
|
23
23
|
* 仮想化された日単位コンボボックスの Props。
|
|
24
24
|
*/
|
|
25
25
|
export interface VirtualDateDropdownProps {
|
|
26
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Index space of the selectable days, in descending order. The owner rebuilds it only when its content changes, so its identity keys the memoized row renderer.
|
|
28
|
+
* 選択可能日の添字空間 (降順)。所有側は内容が変わったときだけ作り直すため、その同一性がメモ化した行の描画関数の鍵になる。
|
|
29
|
+
*/
|
|
27
30
|
domain: DateOptionDomain;
|
|
28
31
|
/** Index of the held value inside the domain, or {@link NO_OPTION_INDEX} when it is outside the selectable set / 保持値の領域内添字 (選択可能集合の外では {@link NO_OPTION_INDEX}) */
|
|
29
32
|
selectedIndex: number;
|
|
@@ -158,6 +161,21 @@ export declare const resolvePopupGeometry: (anchor: {
|
|
|
158
161
|
* 閉じている間ポップアップはマウントされないため、ポインタ移動ごとに `minDate` / `maxDate` を
|
|
159
162
|
* 動かすホストが払う費用は領域の O(1) 再計算のみ (作り直す選択肢配列も、再レイアウトされる
|
|
160
163
|
* `<option>` の LayoutObject も存在しない)。
|
|
164
|
+
*
|
|
165
|
+
* Rows take the domain, the held value's index and the active index from the render that made the row renderer, which is
|
|
166
|
+
* memoized on them, so a render that changes none of them (the popup following a page scroll) re-renders no row, and a row
|
|
167
|
+
* the scroller renders on its own reads the same render as the rest of the popup. Functions that outlive their render (the
|
|
168
|
+
* scroller's range callback, a row's click) and the effect that re-anchors the popup read the last committed render through
|
|
169
|
+
* useCommittedRef; the handlers React attaches as props read their own render, which is the committed one. No render writes
|
|
170
|
+
* a ref or the state. An active index the domain no longer contains is drawn on the last row by the render that shrinks the
|
|
171
|
+
* domain, and the commit that drew it records it as the held index from a layout effect, leaving alone a move queued after
|
|
172
|
+
* that render read the state.
|
|
173
|
+
* 行は、行の描画関数を作った描画の領域・保持値の添字・アクティブ添字を読み、描画関数はそれらでメモ化する。どれも変えない描画
|
|
174
|
+
* (ページのスクロールに追従するポップアップ) は行を 1 つも描き直さず、スクローラが自分で描く行もポップアップの他の部分と同じ描画を読む。
|
|
175
|
+
* 描画より長く生きる関数 (スクローラの描画範囲の通知・行の押下) と引き直しのエフェクトは useCommittedRef を通して最後に確定した描画を読み、
|
|
176
|
+
* React が Props として付ける処理関数は自身の描画 (確定した描画) を読む。どの描画も ref にもステートにも書かない。領域が含まなくなった
|
|
177
|
+
* アクティブ添字は、領域を縮めた描画が末尾の行として描き、それを描いた確定がレイアウト副作用で保持する添字へ記録する
|
|
178
|
+
* (その描画がステートを読んだ後に積まれた移動は上書きしない)。
|
|
161
179
|
*/
|
|
162
180
|
export declare const VirtualDateDropdown: React.FC<VirtualDateDropdownProps>;
|
|
163
181
|
//# sourceMappingURL=VirtualDateDropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VirtualDateDropdown.d.ts","sourceRoot":"","sources":["../src/VirtualDateDropdown.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kBAAkB,EAAoB,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"VirtualDateDropdown.d.ts","sourceRoot":"","sources":["../src/VirtualDateDropdown.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kBAAkB,EAAoB,MAAM,UAAU,CAAA;AAG7F,4GAA4G;AAC5G,eAAO,MAAM,sBAAsB,KAAK,CAAA;AAQxC;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB,IAAI,CAAA;AA4BnC;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;OAGG;IACH,MAAM,EAAE,gBAAgB,CAAA;IACxB,mKAAmK;IACnK,aAAa,EAAE,MAAM,CAAA;IACrB;;;;;;OAMG;IACH,eAAe,EAAE,MAAM,CAAA;IACvB,0HAA0H;IAC1H,YAAY,EAAE,MAAM,CAAA;IACpB;;;;;;;;;;OAUG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB,6BAA6B;IAC7B,QAAQ,EAAE,OAAO,CAAA;IACjB,gFAAgF;IAChF,SAAS,EAAE,MAAM,CAAA;IACjB,6JAA6J;IAC7J,MAAM,EAAE,kBAAkB,GAAG,SAAS,CAAA;IACtC;;;OAGG;IACH,MAAM,EAAE,kBAAkB,CAAA;IAC1B,y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