@aiquants/period-slider 0.17.0 → 0.19.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.
Files changed (43) hide show
  1. package/CHANGELOG.md +216 -0
  2. package/README.md +58 -50
  3. package/dist/DateSelector.d.ts +9 -9
  4. package/dist/DateSelector.d.ts.map +1 -1
  5. package/dist/MonthSelector.d.ts +5 -4
  6. package/dist/MonthSelector.d.ts.map +1 -1
  7. package/dist/PeriodSlider.d.ts +136 -35
  8. package/dist/PeriodSlider.d.ts.map +1 -1
  9. package/dist/VirtualDateDropdown.d.ts +24 -1
  10. package/dist/VirtualDateDropdown.d.ts.map +1 -1
  11. package/dist/YearSelector.d.ts +7 -4
  12. package/dist/YearSelector.d.ts.map +1 -1
  13. package/dist/index.cjs +1 -1
  14. package/dist/index.js +2631 -2610
  15. package/dist/inputValue.d.ts +20 -12
  16. package/dist/inputValue.d.ts.map +1 -1
  17. package/dist/optionText.d.ts +2 -2
  18. package/dist/optionText.d.ts.map +1 -1
  19. package/dist/selectorMemo.d.ts +30 -22
  20. package/dist/selectorMemo.d.ts.map +1 -1
  21. package/dist/selectorStep.d.ts +14 -22
  22. package/dist/selectorStep.d.ts.map +1 -1
  23. package/dist/useCommittedRef.d.ts +54 -27
  24. package/dist/useCommittedRef.d.ts.map +1 -1
  25. package/dist/usePeriodSlider.d.ts +32 -22
  26. package/dist/usePeriodSlider.d.ts.map +1 -1
  27. package/dist/useUncontrolledSelection.d.ts +32 -19
  28. package/dist/useUncontrolledSelection.d.ts.map +1 -1
  29. package/dist/vernierStep.d.ts.map +1 -1
  30. package/package.json +1 -1
  31. package/src/DateSelector.tsx +67 -73
  32. package/src/MonthSelector.tsx +57 -64
  33. package/src/PeriodSlider.tsx +255 -96
  34. package/src/VirtualDateDropdown.tsx +171 -111
  35. package/src/YearSelector.tsx +43 -73
  36. package/src/inputValue.ts +20 -12
  37. package/src/optionText.ts +9 -9
  38. package/src/selectorMemo.ts +41 -25
  39. package/src/selectorStep.ts +25 -32
  40. package/src/useCommittedRef.ts +70 -32
  41. package/src/usePeriodSlider.ts +252 -109
  42. package/src/useUncontrolledSelection.ts +58 -30
  43. package/src/vernierStep.ts +7 -7
@@ -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` を含む) は RangeError */
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) / マクロ側の単位 (既定: 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) / ミクロ側の単位 (既定: 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 自身が数える先発グレゴリオ暦での月の日数。
@@ -440,11 +479,19 @@ export declare const yearKeyOfCivil: (year: number, monthIndex: number, yearStar
440
479
  * Normalizes a date to the start of the specified unit.
441
480
  * 指定した単位 (year, month, day) の先頭に日付を正規化します。
442
481
  *
482
+ * Every unit reads d by its time value in the system time zone, through a plain copy, never through d's own getters: a Date
483
+ * subclass whose getters report another zone (a `TZDate` of `@date-fns/tz`, a `UTCDate` of `@date-fns/utc`) falls in the same
484
+ * unit as a plain Date of the same instant. This is the package's one reading of a Date; encode, keyInsideDateRange and every
485
+ * unit decision built on them (the body, the hooks, the three selectors) inherit it.
486
+ * どの単位も d を、自身のゲッターではなく時刻値のシステムのタイムゾーンでの読み (素の Date の複製) で読む。ゲッターが別のタイムゾーンを名乗る
487
+ * Date の派生クラス (`@date-fns/tz` の `TZDate`、`@date-fns/utc` の `UTCDate`) も、同じ時刻の素の Date と同じ単位に属する。これがパッケージの
488
+ * 唯一の Date の読み方で、encode・keyInsideDateRange とその上の単位の判定 (本体・フック・3 セレクタ) はすべてこれを継ぐ。
489
+ *
443
490
  * @param unit - Time resolution unit / 時間解像度単位
444
- * @param d - Date to normalize / 正規化対象の日付
491
+ * @param d - Date to normalize, read by its time value / 正規化対象の日付 (時刻値で読む)
445
492
  * @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
493
  * @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 以下の整数でない場合
494
+ * @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
495
  */
449
496
  export declare const normalizeDateByUnit: (unit: PeriodSliderUnit, d: Date, yearStartMonth?: number) => Date;
450
497
  /**
@@ -452,10 +499,10 @@ export declare const normalizeDateByUnit: (unit: PeriodSliderUnit, d: Date, year
452
499
  * 日付を比較用数値キーにエンコードします。
453
500
  *
454
501
  * @param unit - Time resolution unit / 時間解像度単位
455
- * @param d - Date to encode / エンコード対象の日付
502
+ * @param d - Date to encode, read by its time value in the system time zone (normalizeDateByUnit) / エンコード対象の日付 (時刻値をシステムのタイムゾーンで読む。normalizeDateByUnit)
456
503
  * @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
504
  * @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 以下の整数でない場合
505
+ * @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
506
  */
460
507
  export declare const encode: (unit: PeriodSliderUnit, d: Date, yearStartMonth?: number) => number;
461
508
  /**
@@ -466,16 +513,27 @@ export declare const encode: (unit: PeriodSliderUnit, d: Date, yearStartMonth?:
466
513
  * @param val - Encoded integer key / エンコード済み整数キー
467
514
  * @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
515
  * @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 以下の整数でない場合
516
+ * @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
517
  */
471
518
  export declare const decode: (unit: PeriodSliderUnit, val: number, yearStartMonth?: number) => Date;
519
+ /**
520
+ * Builds the tail a rejection appends when a bound is a sentinel for "no bound", such as `new Date(-8.64e15)`.
521
+ * 境界が「境界なし」の番兵 (`new Date(-8.64e15)` など) のとき、拒否メッセージへ添える末尾を組む関数。
522
+ *
523
+ * 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.
524
+ * どの末尾も `; <直し方> instead of a sentinel for "no bound"` の形であり、本体・フック・3 セレクタで異なるのは直し方だけ。
525
+ *
526
+ * @param advice - What to declare or pass instead, naming props without quotes / 代わりに宣言する・渡すもの (Props 名は引用符なし)
527
+ * @returns The tail, starting with "; " / "; " で始まる末尾
528
+ */
529
+ export declare const sentinelBoundRemedy: (advice: string) => string;
472
530
  /**
473
531
  * Message tail that the slider and the four state hooks append when minDate falls in a unit starting outside the Date range.
474
532
  * minDate is required, so the date is usually a sentinel for "no lower bound", such as `new Date(-8.64e15)`.
475
533
  * 本体と 4 つの状態フックが、単位の始まりが Date の表現範囲の外にある minDate を拒否するときに添えるメッセージ末尾。
476
534
  * minDate は必須のため、その日付はたいてい「下限なし」の番兵 (`new Date(-8.64e15)` など)。
477
535
  */
478
- export declare const REQUIRED_MIN_DATE_REMEDY = "; minDate is required, so pass the earliest date to offer instead of a sentinel for \"no bound\"";
536
+ export declare const REQUIRED_MIN_DATE_REMEDY: string;
479
537
  /**
480
538
  * Encodes a date at a unit, failing when the start of that unit lies outside the Date range.
481
539
  * 日付を単位の整数キーへ符号化する関数 (その単位の始まりが Date の表現範囲の外にある場合は送出)。
@@ -485,21 +543,23 @@ export declare const REQUIRED_MIN_DATE_REMEDY = "; minDate is required, so pass
485
543
  * moves with `yearStartMonth`. `encode` returns `NaN` for such a date, and `NaN` passes every `<` / `>` containment test,
486
544
  * so the date would slip past the domain checks and fail later under a function the caller never called. This is the one
487
545
  * 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 encodeStepOption share, over the one predicate keyInsideDateRange.
546
+ * getMacroWindowStartDate, getMacroWindowEndDate (for the pairs that return d's own micro unit start), findNearestDateIndex,
547
+ * encodeStepOption and the three selectors (their Date props and candidate entries: YearSelector at year under its
548
+ * yearStartMonth, MonthSelector at month, DateSelector at day) share, over the one predicate keyInsideDateRange.
490
549
  * A unit start never follows its date, so no date at the upper end of the Date range is rejected.
491
550
  * Date の表現範囲 (`-8.64e15` ms) の最初の単位にある有効な Date は、始まりが Date にならない単位に属し得る
492
551
  * (`new Date(-8.64e15)` の月と年はどの時間帯でもそれより前に始まり、日は UTC 以外で同様。年の始まりは `yearStartMonth` と共に動く)。
493
552
  * そうした日付の `encode` は `NaN` を返し、`NaN` は `<` / `>` による内包の判定をすべて素通りするため、日付が定義域の検証を抜けて、
494
553
  * 呼び出し側が呼んでいない関数の名で後から落ちる。本体・状態フック・getSortedAllowedDates / resolveMicroRail・resolveMacroWindow・
495
- * getMacroWindowStartDate・getMacroWindowEndDate (d 自身のミクロ単位の始まりを返す組)・findNearestDateIndex・encodeStepOption が
554
+ * getMacroWindowStartDate・getMacroWindowEndDate (d 自身のミクロ単位の始まりを返す組)・findNearestDateIndex・encodeStepOption・
555
+ * 3 セレクタ (Date 型 Props と候補の要素。YearSelector は yearStartMonth の年、MonthSelector は月、DateSelector は日) が
496
556
  * 共有する唯一の文言 (判定は keyInsideDateRange の 1 つ)。
497
557
  * 単位の始まりが日付より後になることはないため、表現範囲の上端の日付は拒否しない。
498
558
  *
499
559
  * @param owner - API name quoted in the error message / エラーメッセージが名指しする API 名
500
560
  * @param path - Prop, option, entry point or argument quoted in the error message / エラーメッセージが名指しする Props・オプション・入口・引数
501
561
  * @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 / 日付を描く・比べる単位
562
+ * @param unit - Unit the date is drawn or compared at (validated by the calling entry point) / 日付を描く・比べる単位 (呼び出し元の入口で検証済み)
503
563
  * @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based / `unit: "year"` の 1 年が始まる暦月 (0 始まり)
504
564
  * @param remedy - Text appended to the message, or "" for none / メッセージ末尾に添える文 (無ければ "")
505
565
  * @returns The integer key of the date's unit / 日付が属する単位の整数キー
@@ -517,7 +577,7 @@ export declare const encodeInsideDateRange: (owner: string, path: string, date:
517
577
  * 定義域の端の外にある (minDate は描くすべての単位で判定され、単位の始まりは日付より後にならないため、両端は範囲の中で始まる単位にある)。
518
578
  *
519
579
  * @param date - Valid Date to encode / 符号化する有効な Date
520
- * @param unit - Unit the date is drawn or compared at / 日付を描く・比べる単位
580
+ * @param unit - Unit the date is drawn or compared at (validated by the calling entry point) / 日付を描く・比べる単位 (呼び出し元の入口で検証済み)
521
581
  * @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based / `unit: "year"` の 1 年が始まる暦月 (0 始まり)
522
582
  * @returns The integer key of the date's unit, or null when that unit starts outside the Date range / 日付が属する単位の整数キー (その単位の始まりが表現範囲の外なら null)
523
583
  * @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 +589,19 @@ export declare const keyInsideDateRange: (date: Date, unit: PeriodSliderUnit, ye
529
589
  *
530
590
  * Month and year steps follow shiftCivilMonths and write year, month and day at once, so a step into the Date range's last
531
591
  * 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
592
  * 月・年の加算は shiftCivilMonths に従い年月日を 1 度で書くため、表現範囲の最後の月への加算も月末日からその日付を返す。
534
- * Invalid Date になるのは和そのものが Date の表現範囲を越えるときだけ。年・月以外の単位は、encode・normalizeDateByUnit・decode と同じく日として加算する。
593
+ * Invalid Date になるのは和そのものが Date の表現範囲を越えるときだけ。
594
+ *
595
+ * The calendar fields are read from a plain copy of d's time value in the system time zone, as normalizeDateByUnit reads them,
596
+ * so a Date subclass whose getters report another zone steps from the same date as a plain Date of the same instant.
597
+ * 暦の欄は normalizeDateByUnit と同じく d の時刻値の複製からシステムのタイムゾーンで読むため、ゲッターが別のタイムゾーンを名乗る Date の派生クラスも、
598
+ * 同じ時刻の素の Date と同じ日付から進む。
535
599
  *
536
600
  * @param unit - Time resolution unit to step by / 加減算する時間解像度単位
537
- * @param d - Base date / 起点日付
601
+ * @param d - Base date, read by its time value / 起点日付 (時刻値で読む)
538
602
  * @param amount - Signed whole number of units to add / 加減算する整数の単位数 (符号付き)
539
603
  * @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 が整数でない場合
604
+ * @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
605
  */
542
606
  export declare const addUnit: (unit: PeriodSliderUnit, d: Date, amount: number) => Date;
543
607
  /**
@@ -547,15 +611,14 @@ export declare const addUnit: (unit: PeriodSliderUnit, d: Date, amount: number)
547
611
  * 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
612
  * again at the key's unit, so for keys of ordinary dates the result equals encode(keyUnit, addUnit(stepUnit, decode(keyUnit, key), amount)).
549
613
  * 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. A keyUnit or stepUnit other than year or month is a day, as in encode, decode and addUnit.
614
+ * carry can still place it.
551
615
  * キーの単位の始まりを addUnit と同じ規則 (月・年は月末丸め) で動かし、着いた日付をキーの単位で数え直す。通常の日付のキーでは
552
616
  * encode(keyUnit, addUnit(stepUnit, decode(keyUnit, key), amount)) と一致する。Date を組まないため、表現範囲を越える和も
553
- * Invalid Date ではなく範囲のキーの外のキーとして返り、運ぶ側がそのまま収められる。年・月以外の keyUnit・stepUnit は、
554
- * encode・decode・addUnit と同じく日として扱う。
617
+ * Invalid Date ではなく範囲のキーの外のキーとして返り、運ぶ側がそのまま収められる。
555
618
  *
556
- * @param keyUnit - Unit the key is encoded at / キーを符号化した単位
619
+ * @param keyUnit - Unit the key is encoded at (validated by the calling entry point) / キーを符号化した単位 (呼び出し元の入口で検証済み)
557
620
  * @param key - Integer key at keyUnit / keyUnit の整数キー
558
- * @param stepUnit - Unit to step by / 動かす単位
621
+ * @param stepUnit - Unit to step by (validated by the calling entry point) / 動かす単位 (呼び出し元の入口で検証済み)
559
622
  * @param amount - Signed whole number of stepUnit units / 符号付きの整数の stepUnit の数
560
623
  * @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based / `unit: "year"` の 1 年が始まる暦月 (0 始まり)
561
624
  * @returns Integer key at keyUnit of the moved unit start / 動かした単位の始まりの keyUnit の整数キー
@@ -582,7 +645,7 @@ export declare const shiftUnitKey: (keyUnit: PeriodSliderUnit, key: number, step
582
645
  * @param d - Macro range start date / マクロ範囲の開始日付
583
646
  * @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
647
  * @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 の表現範囲の外にある場合 (この順に判定)
648
+ * @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
649
  */
587
650
  export declare const getMacroWindowStartDate: (macroUnit: PeriodSliderUnit, microUnit: PeriodSliderUnit, d: Date, yearStartMonth?: number) => Date;
588
651
  /**
@@ -596,13 +659,15 @@ export declare const getMacroWindowStartDate: (macroUnit: PeriodSliderUnit, micr
596
659
  * (年の末尾は 12 月ではなく `yearStartMonth` から数えて 12 番目の月。現地 0 時、0 時の無い日はその日の最初の瞬間)。
597
660
  * 最後の単位はキーで数えるため、0-99 年は自分の年のまま、始まりが表現範囲の外にある期間も最後の単位を返す。
598
661
  * それ以外の組では d 自身のミクロ単位の始まり。
662
+ * d is read by its time value in the system time zone (a plain copy), as normalizeDateByUnit reads it.
663
+ * d は normalizeDateByUnit と同じく時刻値の複製からシステムのタイムゾーンで読む。
599
664
  *
600
665
  * @param macroUnit - Macro scale unit / マクロ側の時間解像度単位
601
666
  * @param microUnit - Micro scale unit / ミクロ側の時間解像度単位
602
667
  * @param d - Macro range end date / マクロ範囲の終了日付
603
668
  * @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
669
  * @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 の表現範囲の外にある場合
670
+ * @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
671
  */
607
672
  export declare const getMacroWindowEndDate: (macroUnit: PeriodSliderUnit, microUnit: PeriodSliderUnit, d: Date, yearStartMonth?: number) => Date;
608
673
  /**
@@ -624,7 +689,7 @@ export declare const getMacroWindowEndDate: (macroUnit: PeriodSliderUnit, microU
624
689
  * @param maxDate - Domain upper boundary / 定義域の上限
625
690
  * @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
691
  * @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 は窓の端より後にあるときだけクランプの結果になるため判定しない
692
+ * @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
693
  */
629
694
  export declare const resolveMacroWindow: (macroUnit: PeriodSliderUnit, microUnit: PeriodSliderUnit, macroRange: [Date, Date], minDate: Date, maxDate: Date, yearStartMonth?: number) => [Date, Date];
630
695
  /**
@@ -669,7 +734,7 @@ export interface PeriodQuarter {
669
734
  * 四半期の境界は `yearStartMonth` を 3 で割った剰余だけで決まり、番号は `yearStartMonth` そのもので決まる。
670
735
  * 0・3・6・9 では境界が暦四半期と一致して番号だけがずれ、他の 8 通りでは境界自体が動く。
671
736
  *
672
- * @param d - Date to classify / 判定対象の日付
737
+ * @param d - Date to classify, read by its time value in the system time zone (a plain copy), as normalizeDateByUnit reads it / 判定対象の日付 (normalizeDateByUnit と同じく時刻値の複製をシステムのタイムゾーンで読む)
673
738
  * @param yearStartMonth - Calendar month a year starts in, 0-based; required, so the calendar year is never assumed / 1 年が始まる暦月 (0 始まり)。必須であり暦年を暗黙に仮定しない
674
739
  * @returns Quarter coordinates of the date / 日付の四半期座標
675
740
  * @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 以下の整数でない場合
@@ -703,13 +768,17 @@ export declare const formatIsoYear: (year: number) => string;
703
768
  * into a generic package, and Intl output drifts between ICU versions.
704
769
  * 解決順序は customFormat が最優先、次に formatLocale 指定時の Intl.DateTimeFormat、未指定時はロケール非依存の ISO 8601。
705
770
  * ISO 表記は本パッケージの仕様上の既定値であり代替値ではない (自然言語既定は汎用パッケージに 1 言語を焼き付け、Intl 出力は ICU 版で揺れるため)。
771
+ * Both built-in tiers read d by its time value in the system time zone, so a Date subclass whose getters report another zone is
772
+ * labelled as a plain Date of the same instant; customFormat receives d as passed.
773
+ * 組み込みの 2 段はどちらも d を時刻値のシステムのタイムゾーンで読むため、ゲッターが別のタイムゾーンを名乗る Date の派生クラスも、同じ時刻の
774
+ * 素の Date と同じ表記になる (customFormat には渡された d をそのまま渡す)。
706
775
  *
707
776
  * @param unit - Time resolution unit deciding the precision / 精度を決める時間解像度単位
708
777
  * @param d - Date to format / 書式化対象の日付
709
778
  * @param customFormat - Consumer formatter taking priority over both built-in paths / 組み込み 2 経路より優先される利用側フォーマッタ
710
779
  * @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
780
  * @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 タグでない場合
781
+ * @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
782
  */
714
783
  export declare const formatLabel: (unit: PeriodSliderUnit, d: Date, customFormat?: PeriodOptionFormatter, formatLocale?: string) => string;
715
784
  /**
@@ -725,7 +794,7 @@ export declare const formatLabel: (unit: PeriodSliderUnit, d: Date, customFormat
725
794
  * @param customFormat - Consumer formatter taking priority over both built-in paths / 組み込み 2 経路より優先される利用側フォーマッタ
726
795
  * @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
796
  * @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 タグでない場合
797
+ * @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
798
  */
730
799
  export declare const formatScreenReaderLabel: (unit: PeriodSliderUnit, d: Date, customFormat?: PeriodOptionFormatter, formatLocale?: string) => string;
731
800
  /**
@@ -767,7 +836,7 @@ export declare const formatQuarterLabel: (d: Date, yearStartMonth: number) => st
767
836
  * @param unit - Time resolution unit used for the distance metric / 距離尺度に用いる時間解像度単位
768
837
  * @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
838
  * @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 以下の整数でない場合
839
+ * @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
840
  */
772
841
  export declare const findNearestDateIndex: (dates: Date[], target: Date, unit: PeriodSliderUnit, yearStartMonth?: number) => number;
773
842
  /**
@@ -781,7 +850,7 @@ export declare const findNearestDateIndex: (dates: Date[], target: Date, unit: P
781
850
  * @param maxDate - Upper domain boundary; entries after it are excluded / 定義域上限 (これより後の要素は除外)
782
851
  * @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
852
  * @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 以下の整数でない場合)
853
+ * @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
854
  */
786
855
  export declare const getSortedAllowedDates: (allowedDates: Date[] | undefined, unit: PeriodSliderUnit, minDate: Date, maxDate: Date, yearStartMonth?: number) => Date[];
787
856
  /**
@@ -823,7 +892,7 @@ export declare const allowedDatesList: (allowedDates: Date[] | undefined) => Can
823
892
  *
824
893
  * @param owner - API named at the head of every message / すべてのメッセージの先頭で名乗る API
825
894
  * @param candidates - The list and its origin / 一覧とその出所
826
- * @param unit - Time resolution unit used for normalization and deduplication / 正規化・重複排除に用いる時間解像度単位
895
+ * @param unit - Time resolution unit used for normalization and deduplication (validated by the calling entry point) / 正規化・重複排除に用いる時間解像度単位 (呼び出し元の入口で検証済み)
827
896
  * @param minDate - Lower domain boundary; entries before it are excluded / 定義域下限 (これより前の要素は除外)
828
897
  * @param maxDate - Upper domain boundary; entries after it are excluded / 定義域上限 (これより後の要素は除外)
829
898
  * @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based / `unit: "year"` の 1 年が始まる暦月 (0 始まり)
@@ -855,7 +924,7 @@ export type MicroRail = Extract<DrawnValues, {
855
924
  *
856
925
  * @param owner - API named by the messages that reject the list / 一覧を拒否するメッセージが名乗る API
857
926
  * @param candidates - The micro row's candidate list and its origin (resolveVernierRowAllowedDates) / ミクロ行の候補の一覧とその出所 (resolveVernierRowAllowedDates)
858
- * @param unit - Micro scale unit / ミクロ側の時間解像度単位
927
+ * @param unit - Micro scale unit (validated by the calling entry point) / ミクロ側の時間解像度単位 (呼び出し元の入口で検証済み)
859
928
  * @param minDate - Domain lower boundary / 定義域の下限
860
929
  * @param maxDate - Domain upper boundary / 定義域の上限
861
930
  * @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based / `unit: "year"` の 1 年が始まる暦月 (0 始まり)
@@ -914,6 +983,7 @@ export interface ConnectDragValueOptions {
914
983
  *
915
984
  * @param options - Drag geometry, domain bounds and snapping configuration / ドラッグ形状・定義域・スナップ設定
916
985
  * @returns Clamped [low, high] pair in the slider value space / スライダー値空間へクランプ済みの [下限, 上限]
986
+ * @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
987
  */
918
988
  export declare const calculateConnectDragValues: ({ posDiffPct, startLowVal, startHighVal, rangeMin, rangeMax, isDiscrete, sortedAllowedDates, snapMode, unit, yearStartMonth }: ConnectDragValueOptions) => [number, number];
919
989
  /**
@@ -969,6 +1039,24 @@ export declare const calculateLabelSlant: (lowPct: number, highPct: number, trac
969
1039
  * ホイール・ステッパー・フックの 3 経路が食い違わない。
970
1040
  */
971
1041
  export type MacroWindowMotion = "pan" | "resize";
1042
+ /**
1043
+ * Whether a vernier row's rail is discrete: only the value `true` turns a row discrete.
1044
+ * ノギスの行のレールが離散か (行を離散にするのは値 `true` だけ)。
1045
+ *
1046
+ * The component and the vernier hooks read the row flags through this one rule, so the slider a hook renders never reads
1047
+ * a row as discrete, and validates its candidate list, when the hook read that row as continuous. Any other value,
1048
+ * including a truthy non-boolean such as `1` from an untyped host, leaves the row continuous, as an omitted flag does.
1049
+ * 本体とノギスのフックは行のフラグをすべてこの 1 つの規則で読む (フックが連続と読んだ行を、それを描くスライダーが離散と読んで候補の一覧を検証することがない)。
1050
+ * それ以外の値 (型の無いホストが渡す `1` のような、真と評価される真偽値以外の値を含む) は、省略したフラグと同じく行を連続のままにする。
1051
+ *
1052
+ * @param row - Row whose flag to read / フラグを読む行
1053
+ * @param props - Props carrying the row flags / 行のフラグを持つ Props
1054
+ * @returns True only when the row's flag is `true` / 行のフラグが `true` のときだけ true
1055
+ */
1056
+ export declare const isVernierRowDiscrete: (row: "macro" | "micro", props: {
1057
+ readonly macroIsDiscrete?: boolean;
1058
+ readonly microIsDiscrete?: boolean;
1059
+ }) => boolean;
972
1060
  /**
973
1061
  * 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
1062
  * ノギスの行のレールが読む候補の一覧を出所付きで解決する関数 (行の一覧が指定されていればそれ、無ければ共有の `allowedDates`)。
@@ -1106,6 +1194,17 @@ export declare const VernierKnobSvg: React.NamedExoticComponent<{
1106
1194
  isVertical?: boolean;
1107
1195
  isLeft?: boolean;
1108
1196
  }>;
1197
+ /**
1198
+ * 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.
1199
+ * BCP 47 言語タグ Props を検証し、Intl が解釈できないタグで即座に失敗させる関数 (本体と 3 セレクタが共有する唯一の検査)。
1200
+ *
1201
+ * @param owner - Component named at the head of the message / メッセージの先頭で名乗るコンポーネント
1202
+ * @param propName - Prop name quoted in the error message / エラーメッセージへ埋め込む Props 名
1203
+ * @param tag - Raw prop value supplied by the consumer / 利用側が指定した生の Props 値
1204
+ * @returns Nothing; the function only throws or returns normally / 戻り値なし (正常時は無返却)
1205
+ * @throws RangeError `<owner>: <propName> must be a valid BCP 47 language tag (received: ...)` when the value is not a structurally valid language tag / 値が構造的に妥当な言語タグでない場合
1206
+ */
1207
+ export declare const assertLocaleTag: (owner: string, propName: string, tag: unknown) => void;
1109
1208
  /**
1110
1209
  * Layout size of a rendered element in CSS pixels, unaffected by any CSS transform.
1111
1210
  * CSS トランスフォームの影響を受けない描画済み要素のレイアウトサイズ (CSS ピクセル)。
@@ -1229,6 +1328,8 @@ export declare const arePeriodSliderPropsEqual: (prev: PeriodSliderProps, next:
1229
1328
  *
1230
1329
  * Re-renders only when arePeriodSliderPropsEqual reports a functional difference.
1231
1330
  * arePeriodSliderPropsEqual が機能的差分を報告した場合にのみ再描画。
1331
+ *
1332
+ * @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
1333
  */
1233
1334
  export declare const PeriodSlider: React.NamedExoticComponent<PeriodSliderProps>;
1234
1335
  export {};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Y,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
- /** Index space of the selectable days, in descending order / 選択可能日の添字空間 (降順) */
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,26 @@ 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 (a row's
168
+ * click) and the effect that re-anchors the popup read the last committed render through useCommittedRef; the handlers React
169
+ * attaches as props, and the active row's ref, read their own render, which is the committed one. No render writes a ref or
170
+ * the state. An active index the domain no longer contains is drawn on the last row by the render that shrinks the domain, and
171
+ * the commit that drew it records it as the held index from a layout effect, leaving alone a move queued after that render
172
+ * read the state. The control's two IDREFs name only elements in the DOM: `aria-controls` names the listbox under the same
173
+ * condition that renders the popup, and `aria-activedescendant` is not a prop — the active row's ref writes it in the commit
174
+ * that attaches the row, and the cleanup it returns, holding the control it wrote to, removes it in the commit that detaches
175
+ * the row, including when Activity or Suspense hides the subtree.
176
+ * 行は、行の描画関数を作った描画の領域・保持値の添字・アクティブ添字を読み、描画関数はそれらでメモ化する。どれも変えない描画
177
+ * (ページのスクロールに追従するポップアップ) は行を 1 つも描き直さず、スクローラが自分で描く行もポップアップの他の部分と同じ描画を読む。
178
+ * 描画より長く生きる関数 (行の押下) と引き直しのエフェクトは useCommittedRef を通して最後に確定した描画を読み、
179
+ * React が Props として付ける処理関数とアクティブ行の ref は自身の描画 (確定した描画) を読む。どの描画も ref にもステートにも書かない。
180
+ * 領域が含まなくなったアクティブ添字は、領域を縮めた描画が末尾の行として描き、それを描いた確定がレイアウト副作用で保持する添字へ記録する
181
+ * (その描画がステートを読んだ後に積まれた移動は上書きしない)。操作要素の 2 つの IDREF は DOM に在る要素だけを指す。`aria-controls` は
182
+ * ポップアップを描くのと同じ条件で listbox を名乗り、`aria-activedescendant` は Props ではなく、アクティブ行の ref が行を付けた確定で書き、
183
+ * 書いた操作要素を持つ後始末が行を外す確定 (Activity・Suspense による退避を含む) で消す。
161
184
  */
162
185
  export declare const VirtualDateDropdown: React.FC<VirtualDateDropdownProps>;
163
186
  //# 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,MAA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when every prop its output depends on is unchanged, never for a prop the render rejects.
69
69
  * `YearSelector` のメモ比較器 (描画結果が依存する Props がすべて不変のときだけ true。描画が拒否する Props では常に false)。
70
70
  *
71
- * Date props are compared by the year they fall in through `areSelectorDatePropsEqual`, so an invalid one on a re-render reaches the
72
- * render-time validation and throws the same named RangeError as on the first mount; the comparator itself never throws.
73
- * Date 型 Props は `areSelectorDatePropsEqual` で属する年として比べるため、再描画で渡した不正な値も描画時の検証へ届き、
74
- * 初回のマウントと同じく Props 名を名指す RangeError になる (比較器自身は例外を投げない)。
71
+ * Date props are compared through `areSelectorDatePropsEqual` by `selectorUnitKey` at unit year under the render's yearStartMonth,
72
+ * the key the validation's own function computes, so an invalid one on a re-render reaches the render-time validation and throws the
73
+ * same named RangeError as on the first mount. The comparator itself never throws: yearStartMonth is compared first, and an invalid
74
+ * one never reaches the key.
75
+ * Date 型 Props は `areSelectorDatePropsEqual` で、今回の描画の yearStartMonth のもとの年の `selectorUnitKey` (検証と同じ関数が求めるキー) により比べるため、
76
+ * 再描画で渡した不正な値も描画時の検証へ届き、初回のマウントと同じく Props 名を名指す RangeError になる。比較器自身は例外を投げない
77
+ * (yearStartMonth を先に比べ、不正な値はキーへ届かない)。
75
78
  *
76
79
  * @param prev - Props of the previous render / 前回の描画の Props
77
80
  * @param next - Props of the next render / 今回の描画の Props
@@ -1 +1 @@
1
- {"version":3,"file":"YearSelector.d.ts","sourceRoot":"","sources":["../src/YearSelector.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,EAA0B,KAAK,0BAA0B,EAAE,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAC3G,OAAO,EAAiC,KAAK,qBAAqB,EAAyB,MAAM,gBAAgB,CAAA;AAGjH,OAAO,EAA4B,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAK/E;;;;;;;;;;GAUG;AACH,MAAM,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