@aiquants/period-slider 0.16.0 → 0.17.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 +215 -0
- package/README.md +55 -30
- package/dist/DateSelector.d.ts +2 -2
- package/dist/DateSelector.d.ts.map +1 -1
- package/dist/MonthSelector.d.ts +2 -2
- package/dist/MonthSelector.d.ts.map +1 -1
- package/dist/PeriodSlider.d.ts +235 -40
- package/dist/PeriodSlider.d.ts.map +1 -1
- package/dist/YearSelector.d.ts +4 -2
- package/dist/YearSelector.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +2459 -2340
- package/dist/inputValue.d.ts +90 -21
- package/dist/inputValue.d.ts.map +1 -1
- package/dist/selectorMemo.d.ts +14 -0
- package/dist/selectorMemo.d.ts.map +1 -1
- package/dist/selectorStep.d.ts +13 -10
- package/dist/selectorStep.d.ts.map +1 -1
- package/dist/useCommittedRef.d.ts +80 -0
- package/dist/useCommittedRef.d.ts.map +1 -0
- package/dist/usePeriodSlider.d.ts +42 -18
- package/dist/usePeriodSlider.d.ts.map +1 -1
- package/dist/useUncontrolledSelection.d.ts +27 -0
- package/dist/useUncontrolledSelection.d.ts.map +1 -0
- package/dist/vernierStep.d.ts +10 -1
- package/dist/vernierStep.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/DateSelector.tsx +15 -17
- package/src/MonthSelector.tsx +11 -15
- package/src/PeriodSlider.tsx +430 -148
- package/src/YearSelector.tsx +20 -13
- package/src/inputValue.ts +151 -21
- package/src/selectorMemo.ts +18 -3
- package/src/selectorStep.ts +24 -29
- package/src/useCommittedRef.ts +206 -0
- package/src/usePeriodSlider.ts +342 -208
- package/src/useUncontrolledSelection.ts +54 -0
- package/src/valueSet.ts +1 -1
- package/src/vernierStep.ts +12 -10
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 / 離散スナップ対象日付配列 (指定時はこの日付のみへスナップ) */
|
|
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 */
|
|
165
165
|
allowedDates?: Date[];
|
|
166
166
|
/** Placement strategy for allowedDates (default: "index") / allowedDates の配置方式 (既定: "index") */
|
|
167
167
|
snapMode?: PeriodSliderSnapMode;
|
|
@@ -284,9 +284,9 @@ export interface BasePeriodSliderVernierProps extends BasePeriodSliderProps {
|
|
|
284
284
|
macroIsDiscrete?: boolean;
|
|
285
285
|
/** Micro discrete mode flag / ミクロ側の離散モードフラグ */
|
|
286
286
|
microIsDiscrete?: boolean;
|
|
287
|
-
/** Macro allowed discrete dates / マクロ側の離散候補日付一覧 */
|
|
287
|
+
/** Macro allowed discrete dates; only an omitted (`undefined`) list inherits `allowedDates`, and `null` throws RangeError / マクロ側の離散候補日付一覧 (`allowedDates` を継ぐのは省略 (`undefined`) したときだけで、`null` は RangeError) */
|
|
288
288
|
macroAllowedDates?: Date[];
|
|
289
|
-
/** Micro allowed discrete dates / ミクロ側の離散候補日付一覧 */
|
|
289
|
+
/** Micro allowed discrete dates; only an omitted (`undefined`) list inherits `allowedDates`, and `null` throws RangeError / ミクロ側の離散候補日付一覧 (`allowedDates` を継ぐのは省略 (`undefined`) したときだけで、`null` は RangeError) */
|
|
290
290
|
microAllowedDates?: Date[];
|
|
291
291
|
/** Custom label formatter for macro handles and tooltip / マクロ用カスタム日付フォーマッタ */
|
|
292
292
|
formatMacroLabel?: PeriodOptionFormatter;
|
|
@@ -379,6 +379,63 @@ 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
|
+
* Number of days in a month of the proleptic Gregorian calendar, the calendar Date itself counts in.
|
|
384
|
+
* Date 自身が数える先発グレゴリオ暦での月の日数。
|
|
385
|
+
*
|
|
386
|
+
* This and the four functions below are the package's one definition of calendar arithmetic: encode("day"), addUnit,
|
|
387
|
+
* getMacroWindowEndDate and shiftUnitKey all count with them, so a sum that lies past the Date range is still counted as
|
|
388
|
+
* a key instead of collapsing into an Invalid Date.
|
|
389
|
+
* この関数と以下の 4 関数がパッケージで唯一の暦の算術の定義。encode("day")・addUnit・getMacroWindowEndDate・shiftUnitKey が
|
|
390
|
+
* これで数えるため、表現範囲を越える和も Invalid Date へ潰れずにキーとして数えられる。
|
|
391
|
+
*
|
|
392
|
+
* @param year - Calendar year; year 0 and negative years follow the same leap rule / 暦年 (0 年・負の年も同じ閏年の規則)
|
|
393
|
+
* @param monthIndex - 0-based calendar month / 0 始まりの暦月
|
|
394
|
+
* @returns Days in the month, 28 to 31 / その月の日数 (28〜31)
|
|
395
|
+
*/
|
|
396
|
+
export declare const daysInMonth: (year: number, monthIndex: number) => number;
|
|
397
|
+
/**
|
|
398
|
+
* Moves a civil date by whole months, clamping the day to the target month's last day (the month-end clamp rule).
|
|
399
|
+
* 暦の日付を整数か月動かす関数 (日は行き先の月の末日へ丸める。月末丸めの規則)。
|
|
400
|
+
*
|
|
401
|
+
* @param year - Calendar year / 暦年
|
|
402
|
+
* @param monthIndex - 0-based calendar month / 0 始まりの暦月
|
|
403
|
+
* @param day - Day of month / 日
|
|
404
|
+
* @param months - Signed whole number of months / 符号付きの整数の月数
|
|
405
|
+
* @returns Target [year, monthIndex, day] / 行き先の [暦年, 暦月 (0 始まり), 日]
|
|
406
|
+
*/
|
|
407
|
+
export declare const shiftCivilMonths: (year: number, monthIndex: number, day: number, months: number) => [number, number, number];
|
|
408
|
+
/**
|
|
409
|
+
* Day key of a civil date: the days since 1970-01-01 in the proleptic Gregorian calendar (days from civil).
|
|
410
|
+
* 暦の日付の日のキー (先発グレゴリオ暦で 1970-01-01 から数えた日数)。
|
|
411
|
+
*
|
|
412
|
+
* The first and last days of the Date range get -1e8 and 1e8; dates past the range still get their keys.
|
|
413
|
+
* Date の表現範囲の最初と最後の日は -1e8 と 1e8。範囲の外の日付もキーを持つ。
|
|
414
|
+
*
|
|
415
|
+
* @param year - Calendar year / 暦年
|
|
416
|
+
* @param monthIndex - 0-based calendar month / 0 始まりの暦月
|
|
417
|
+
* @param day - Day of month / 日
|
|
418
|
+
* @returns Integer day key, or NaN when a field is NaN / 整数の日のキー (欄が NaN なら NaN)
|
|
419
|
+
*/
|
|
420
|
+
export declare const dayKeyOfCivil: (year: number, monthIndex: number, day: number) => number;
|
|
421
|
+
/**
|
|
422
|
+
* Civil date of a day key, the inverse of dayKeyOfCivil.
|
|
423
|
+
* 日のキーの暦の日付を返す関数 (dayKeyOfCivil の逆写像)。
|
|
424
|
+
*
|
|
425
|
+
* @param key - Integer day key / 整数の日のキー
|
|
426
|
+
* @returns [year, monthIndex, day] of the key / キーの [暦年, 暦月 (0 始まり), 日]
|
|
427
|
+
*/
|
|
428
|
+
export declare const civilOfDayKey: (key: number) => [number, number, number];
|
|
429
|
+
/**
|
|
430
|
+
* Year key of a civil month under a year start: the calendar year the containing year's first month falls in.
|
|
431
|
+
* 年の開始月のもとで暦月が属する年のキー (その年の先頭月が属する暦年)。
|
|
432
|
+
*
|
|
433
|
+
* @param year - Calendar year of the month / 暦月の暦年
|
|
434
|
+
* @param monthIndex - 0-based calendar month / 0 始まりの暦月
|
|
435
|
+
* @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based / `unit: "year"` の 1 年が始まる暦月 (0 始まり)
|
|
436
|
+
* @returns The year key / 年のキー
|
|
437
|
+
*/
|
|
438
|
+
export declare const yearKeyOfCivil: (year: number, monthIndex: number, yearStartMonth: number) => number;
|
|
382
439
|
/**
|
|
383
440
|
* Normalizes a date to the start of the specified unit.
|
|
384
441
|
* 指定した単位 (year, month, day) の先頭に日付を正規化します。
|
|
@@ -413,16 +470,97 @@ export declare const encode: (unit: PeriodSliderUnit, d: Date, yearStartMonth?:
|
|
|
413
470
|
*/
|
|
414
471
|
export declare const decode: (unit: PeriodSliderUnit, val: number, yearStartMonth?: number) => Date;
|
|
415
472
|
/**
|
|
416
|
-
*
|
|
417
|
-
*
|
|
473
|
+
* Message tail that the slider and the four state hooks append when minDate falls in a unit starting outside the Date range.
|
|
474
|
+
* minDate is required, so the date is usually a sentinel for "no lower bound", such as `new Date(-8.64e15)`.
|
|
475
|
+
* 本体と 4 つの状態フックが、単位の始まりが Date の表現範囲の外にある minDate を拒否するときに添えるメッセージ末尾。
|
|
476
|
+
* minDate は必須のため、その日付はたいてい「下限なし」の番兵 (`new Date(-8.64e15)` など)。
|
|
477
|
+
*/
|
|
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\"";
|
|
479
|
+
/**
|
|
480
|
+
* Encodes a date at a unit, failing when the start of that unit lies outside the Date range.
|
|
481
|
+
* 日付を単位の整数キーへ符号化する関数 (その単位の始まりが Date の表現範囲の外にある場合は送出)。
|
|
482
|
+
*
|
|
483
|
+
* A valid Date in the first unit of the Date range (`-8.64e15` ms) can fall in a unit whose start is not a Date: the month
|
|
484
|
+
* and the year of `new Date(-8.64e15)` start before it in every time zone, its day does outside UTC, and a year's start
|
|
485
|
+
* moves with `yearStartMonth`. `encode` returns `NaN` for such a date, and `NaN` passes every `<` / `>` containment test,
|
|
486
|
+
* so the date would slip past the domain checks and fail later under a function the caller never called. This is the one
|
|
487
|
+
* 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.
|
|
490
|
+
* A unit start never follows its date, so no date at the upper end of the Date range is rejected.
|
|
491
|
+
* Date の表現範囲 (`-8.64e15` ms) の最初の単位にある有効な Date は、始まりが Date にならない単位に属し得る
|
|
492
|
+
* (`new Date(-8.64e15)` の月と年はどの時間帯でもそれより前に始まり、日は UTC 以外で同様。年の始まりは `yearStartMonth` と共に動く)。
|
|
493
|
+
* そうした日付の `encode` は `NaN` を返し、`NaN` は `<` / `>` による内包の判定をすべて素通りするため、日付が定義域の検証を抜けて、
|
|
494
|
+
* 呼び出し側が呼んでいない関数の名で後から落ちる。本体・状態フック・getSortedAllowedDates / resolveMicroRail・resolveMacroWindow・
|
|
495
|
+
* getMacroWindowStartDate・getMacroWindowEndDate (d 自身のミクロ単位の始まりを返す組)・findNearestDateIndex・encodeStepOption が
|
|
496
|
+
* 共有する唯一の文言 (判定は keyInsideDateRange の 1 つ)。
|
|
497
|
+
* 単位の始まりが日付より後になることはないため、表現範囲の上端の日付は拒否しない。
|
|
498
|
+
*
|
|
499
|
+
* @param owner - API name quoted in the error message / エラーメッセージが名指しする API 名
|
|
500
|
+
* @param path - Prop, option, entry point or argument quoted in the error message / エラーメッセージが名指しする Props・オプション・入口・引数
|
|
501
|
+
* @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 / 日付を描く・比べる単位
|
|
503
|
+
* @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based / `unit: "year"` の 1 年が始まる暦月 (0 始まり)
|
|
504
|
+
* @param remedy - Text appended to the message, or "" for none / メッセージ末尾に添える文 (無ければ "")
|
|
505
|
+
* @returns The integer key of the date's unit / 日付が属する単位の整数キー
|
|
506
|
+
* @throws RangeError `<owner>: <path> must fall in a <unit> that starts inside the Date range (received: <ISO>)<remedy>` when the unit starts outside the Date range / 単位の始まりが Date の表現範囲の外にある場合
|
|
507
|
+
*/
|
|
508
|
+
export declare const encodeInsideDateRange: (owner: string, path: string, date: Date, unit: PeriodSliderUnit, yearStartMonth: number, remedy: string) => number;
|
|
509
|
+
/**
|
|
510
|
+
* Encodes a date at a unit, or reports that the start of that unit lies outside the Date range: the predicate of encodeInsideDateRange without the throw.
|
|
511
|
+
* 日付を単位の整数キーへ符号化する関数 (その単位の始まりが Date の表現範囲の外なら null)。encodeInsideDateRange の判定から送出を除いたもの。
|
|
512
|
+
*
|
|
513
|
+
* For callers that must decide rather than reject. A date the package computed by calendar arithmetic whose unit starts outside the
|
|
514
|
+
* Date range lies past the domain bound in the step's direction: both bounds fall in units that start inside the range, because
|
|
515
|
+
* minDate is checked at every unit it is drawn at and a unit start never follows its date.
|
|
516
|
+
* 拒否ではなく判断する呼び出し側のためのもの。パッケージが暦の算術で求めた日付の単位の始まりが表現範囲の外なら、その日付は進む向きの
|
|
517
|
+
* 定義域の端の外にある (minDate は描くすべての単位で判定され、単位の始まりは日付より後にならないため、両端は範囲の中で始まる単位にある)。
|
|
518
|
+
*
|
|
519
|
+
* @param date - Valid Date to encode / 符号化する有効な Date
|
|
520
|
+
* @param unit - Unit the date is drawn or compared at / 日付を描く・比べる単位
|
|
521
|
+
* @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based / `unit: "year"` の 1 年が始まる暦月 (0 始まり)
|
|
522
|
+
* @returns The integer key of the date's unit, or null when that unit starts outside the Date range / 日付が属する単位の整数キー (その単位の始まりが表現範囲の外なら null)
|
|
523
|
+
* @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 が送出)
|
|
524
|
+
*/
|
|
525
|
+
export declare const keyInsideDateRange: (date: Date, unit: PeriodSliderUnit, yearStartMonth: number) => number | null;
|
|
526
|
+
/**
|
|
527
|
+
* Adds or subtracts whole units from a given date, clamping the day of month to the target month length and keeping the local wall-clock time.
|
|
528
|
+
* 日付に対して整数の単位数を加減算します (月末日は加算先の月の末日に丸め、現地の時刻は保つ)。
|
|
529
|
+
*
|
|
530
|
+
* Month and year steps follow shiftCivilMonths and write year, month and day at once, so a step into the Date range's last
|
|
531
|
+
* 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
|
+
* 月・年の加算は shiftCivilMonths に従い年月日を 1 度で書くため、表現範囲の最後の月への加算も月末日からその日付を返す。
|
|
534
|
+
* Invalid Date になるのは和そのものが Date の表現範囲を越えるときだけ。年・月以外の単位は、encode・normalizeDateByUnit・decode と同じく日として加算する。
|
|
418
535
|
*
|
|
419
536
|
* @param unit - Time resolution unit to step by / 加減算する時間解像度単位
|
|
420
537
|
* @param d - Base date / 起点日付
|
|
421
|
-
* @param amount - Signed number of units to add /
|
|
422
|
-
* @returns New Date advanced by amount units / amount 単位進めた新しい Date
|
|
423
|
-
* @throws RangeError when d is absent or an Invalid Date / d が未指定または Invalid Date
|
|
538
|
+
* @param amount - Signed whole number of units to add / 加減算する整数の単位数 (符号付き)
|
|
539
|
+
* @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 が整数でない場合
|
|
424
541
|
*/
|
|
425
542
|
export declare const addUnit: (unit: PeriodSliderUnit, d: Date, amount: number) => Date;
|
|
543
|
+
/**
|
|
544
|
+
* Shifts a unit key by whole units of a step unit with calendar arithmetic, never building a Date.
|
|
545
|
+
* 単位のキーを、別の単位の整数個ぶん暦の算術で動かす関数 (Date を組まない)。
|
|
546
|
+
*
|
|
547
|
+
* 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
|
+
* again at the key's unit, so for keys of ordinary dates the result equals encode(keyUnit, addUnit(stepUnit, decode(keyUnit, key), amount)).
|
|
549
|
+
* 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.
|
|
551
|
+
* キーの単位の始まりを addUnit と同じ規則 (月・年は月末丸め) で動かし、着いた日付をキーの単位で数え直す。通常の日付のキーでは
|
|
552
|
+
* encode(keyUnit, addUnit(stepUnit, decode(keyUnit, key), amount)) と一致する。Date を組まないため、表現範囲を越える和も
|
|
553
|
+
* Invalid Date ではなく範囲のキーの外のキーとして返り、運ぶ側がそのまま収められる。年・月以外の keyUnit・stepUnit は、
|
|
554
|
+
* encode・decode・addUnit と同じく日として扱う。
|
|
555
|
+
*
|
|
556
|
+
* @param keyUnit - Unit the key is encoded at / キーを符号化した単位
|
|
557
|
+
* @param key - Integer key at keyUnit / keyUnit の整数キー
|
|
558
|
+
* @param stepUnit - Unit to step by / 動かす単位
|
|
559
|
+
* @param amount - Signed whole number of stepUnit units / 符号付きの整数の stepUnit の数
|
|
560
|
+
* @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based / `unit: "year"` の 1 年が始まる暦月 (0 始まり)
|
|
561
|
+
* @returns Integer key at keyUnit of the moved unit start / 動かした単位の始まりの keyUnit の整数キー
|
|
562
|
+
*/
|
|
563
|
+
export declare const shiftUnitKey: (keyUnit: PeriodSliderUnit, key: number, stepUnit: PeriodSliderUnit, amount: number, yearStartMonth: number) => number;
|
|
426
564
|
/**
|
|
427
565
|
* Calculates the start boundary of a macro window in micro unit resolution.
|
|
428
566
|
* マクロ窓の開始境界を、ミクロ単位の解像度で算出する関数。
|
|
@@ -444,23 +582,27 @@ export declare const addUnit: (unit: PeriodSliderUnit, d: Date, amount: number)
|
|
|
444
582
|
* @param d - Macro range start date / マクロ範囲の開始日付
|
|
445
583
|
* @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
584
|
* @returns Corrected boundary Date in micro unit resolution / 補正後のミクロ解像度開始日付
|
|
447
|
-
* @throws RangeError when d is absent or an Invalid Date,
|
|
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 の表現範囲の外にある場合 (この順に判定)
|
|
448
586
|
*/
|
|
449
587
|
export declare const getMacroWindowStartDate: (macroUnit: PeriodSliderUnit, microUnit: PeriodSliderUnit, d: Date, yearStartMonth?: number) => Date;
|
|
450
588
|
/**
|
|
451
589
|
* Calculates the end boundary of a macro window in micro unit resolution.
|
|
452
|
-
* When the macro unit is coarser than the micro unit,
|
|
453
|
-
*
|
|
454
|
-
*
|
|
455
|
-
*
|
|
456
|
-
*
|
|
590
|
+
* When the macro unit is coarser than the micro unit, the end is the start of the last micro unit of the macro period
|
|
591
|
+
* containing d (Month -> last day of that month; Year -> its twelfth month, or that month's last day, counted from
|
|
592
|
+
* `yearStartMonth` rather than from December): local midnight, or that day's first instant where midnight does not exist.
|
|
593
|
+
* The last unit is counted on keys, so years 0-99 keep their own year and a period whose start lies outside the Date
|
|
594
|
+
* range still yields its last unit. Otherwise the end is d's own micro unit start.
|
|
595
|
+
* マクロ側の時間単位がミクロ側より粗い場合に、d を含むマクロ期間の最後のミクロ単位の始まりを終了境界とする関数
|
|
596
|
+
* (年の末尾は 12 月ではなく `yearStartMonth` から数えて 12 番目の月。現地 0 時、0 時の無い日はその日の最初の瞬間)。
|
|
597
|
+
* 最後の単位はキーで数えるため、0-99 年は自分の年のまま、始まりが表現範囲の外にある期間も最後の単位を返す。
|
|
598
|
+
* それ以外の組では d 自身のミクロ単位の始まり。
|
|
457
599
|
*
|
|
458
600
|
* @param macroUnit - Macro scale unit / マクロ側の時間解像度単位
|
|
459
601
|
* @param microUnit - Micro scale unit / ミクロ側の時間解像度単位
|
|
460
602
|
* @param d - Macro range end date / マクロ範囲の終了日付
|
|
461
603
|
* @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)
|
|
462
604
|
* @returns Corrected boundary Date in micro unit resolution / 補正後のミクロ解像度終了日付
|
|
463
|
-
* @throws RangeError when d is absent or an Invalid Date,
|
|
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 の表現範囲の外にある場合
|
|
464
606
|
*/
|
|
465
607
|
export declare const getMacroWindowEndDate: (macroUnit: PeriodSliderUnit, microUnit: PeriodSliderUnit, d: Date, yearStartMonth?: number) => Date;
|
|
466
608
|
/**
|
|
@@ -481,8 +623,8 @@ export declare const getMacroWindowEndDate: (macroUnit: PeriodSliderUnit, microU
|
|
|
481
623
|
* @param minDate - Domain lower boundary / 定義域の下限
|
|
482
624
|
* @param maxDate - Domain upper boundary / 定義域の上限
|
|
483
625
|
* @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)
|
|
484
|
-
* @returns Window tuple in micro unit resolution, guaranteed to lie inside [minDate, maxDate] at that resolution / そのミクロ解像度で [minDate, maxDate]
|
|
485
|
-
* @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,
|
|
626
|
+
* @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 は窓の端より後にあるときだけクランプの結果になるため判定しない
|
|
486
628
|
*/
|
|
487
629
|
export declare const resolveMacroWindow: (macroUnit: PeriodSliderUnit, microUnit: PeriodSliderUnit, macroRange: [Date, Date], minDate: Date, maxDate: Date, yearStartMonth?: number) => [Date, Date];
|
|
488
630
|
/**
|
|
@@ -624,8 +766,8 @@ export declare const formatQuarterLabel: (d: Date, yearStartMonth: number) => st
|
|
|
624
766
|
* @param target - Date to locate / 探索対象の日付
|
|
625
767
|
* @param unit - Time resolution unit used for the distance metric / 距離尺度に用いる時間解像度単位
|
|
626
768
|
* @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)
|
|
627
|
-
* @returns Index of the closest entry, or 0 for
|
|
628
|
-
* @throws RangeError when target or
|
|
769
|
+
* @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 以下の整数でない場合
|
|
629
771
|
*/
|
|
630
772
|
export declare const findNearestDateIndex: (dates: Date[], target: Date, unit: PeriodSliderUnit, yearStartMonth?: number) => number;
|
|
631
773
|
/**
|
|
@@ -638,10 +780,60 @@ export declare const findNearestDateIndex: (dates: Date[], target: Date, unit: P
|
|
|
638
780
|
* @param minDate - Lower domain boundary; entries before it are excluded / 定義域下限 (これより前の要素は除外)
|
|
639
781
|
* @param maxDate - Upper domain boundary; entries after it are excluded / 定義域上限 (これより後の要素は除外)
|
|
640
782
|
* @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)
|
|
641
|
-
* @returns Ascending, deduplicated dates inside the domain, or an empty array when allowedDates is
|
|
642
|
-
* @throws RangeError when an entry - a hole of a sparse array included - is not a valid Date (named by its index, e.g. `allowedDates[1]`), when every supplied entry falls outside the domain, or when yearStartMonth is not an integer in [0, 11] /
|
|
783
|
+
* @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 以下の整数でない場合)
|
|
643
785
|
*/
|
|
644
786
|
export declare const getSortedAllowedDates: (allowedDates: Date[] | undefined, unit: PeriodSliderUnit, minDate: Date, maxDate: Date, yearStartMonth?: number) => Date[];
|
|
787
|
+
/**
|
|
788
|
+
* API that reads a candidate list and names itself at the head of every message rejecting it.
|
|
789
|
+
* 候補の一覧を読み、それを拒否するすべてのメッセージの先頭で名乗る API。
|
|
790
|
+
*/
|
|
791
|
+
export type CandidateOwner = "PeriodSlider" | "usePeriodSliderRange" | "usePeriodSliderPoint" | "useVernierSliderRange" | "useVernierSliderPoint" | "getSortedAllowedDates";
|
|
792
|
+
/**
|
|
793
|
+
* A candidate list as a rail reads it: the raw list and where it came from, so that a message rejecting it names what the consumer wrote.
|
|
794
|
+
* レールが読む候補の一覧 (生の一覧とその出所。拒否するメッセージが利用側の書いたものを名指すため)。
|
|
795
|
+
*/
|
|
796
|
+
export interface CandidateList {
|
|
797
|
+
/** The list as supplied, `undefined` when omitted; not yet validated / 渡されたままの一覧 (省略時は `undefined`。未検証) */
|
|
798
|
+
readonly list: Date[] | undefined;
|
|
799
|
+
/** Prop or option the list came from, as the consumer wrote it / 一覧が来た Props・オプション (利用側が書いた名前) */
|
|
800
|
+
readonly path: "allowedDates" | "macroAllowedDates" | "microAllowedDates";
|
|
801
|
+
/** Vernier row that read the shared `allowedDates` because it omits its own list, or null / 自分の一覧を省略したため共有の `allowedDates` を読んだノギスの行 (無ければ null) */
|
|
802
|
+
readonly inheritedBy: "macro" | "micro" | null;
|
|
803
|
+
}
|
|
804
|
+
/**
|
|
805
|
+
* The candidate list named `allowedDates`, read directly rather than inherited by a vernier row.
|
|
806
|
+
* `allowedDates` という名の候補の一覧 (ノギスの行が継いだのではなく、直接読むもの)。
|
|
807
|
+
*
|
|
808
|
+
* @param allowedDates - The list as supplied / 渡されたままの一覧
|
|
809
|
+
* @returns The list with its origin / 出所付きの一覧
|
|
810
|
+
*/
|
|
811
|
+
export declare const allowedDatesList: (allowedDates: Date[] | undefined) => CandidateList;
|
|
812
|
+
/**
|
|
813
|
+
* Validates a candidate list and resolves its candidates inside the domain, with the keys that ordered and deduplicated them.
|
|
814
|
+
* 候補の一覧を検証し、定義域内の候補と、その並べ替えと重複排除に使ったキーを解決する関数。
|
|
815
|
+
*
|
|
816
|
+
* The slider, the four state hooks and getSortedAllowedDates read every candidate list through this one function. Its
|
|
817
|
+
* messages name the owner and the list as the consumer wrote it (`PeriodSlider: microAllowedDates[3] ...`) and, for a
|
|
818
|
+
* vernier row that inherited the shared list, which row read it (`useVernierSliderRange: allowedDates[3] (inherited by
|
|
819
|
+
* the micro row) ...`), because the row's unit decides whether an entry lies inside the domain.
|
|
820
|
+
* 本体・4 つの状態フック・getSortedAllowedDates は、候補の一覧をすべてこの 1 つの関数で読む。メッセージは所有者と利用側が書いたとおりの
|
|
821
|
+
* 一覧を名乗り (`PeriodSlider: microAllowedDates[3] ...`)、共有の一覧を継いだノギスの行ならどの行が読んだかも名乗る
|
|
822
|
+
* (`useVernierSliderRange: allowedDates[3] (inherited by the micro row) ...`)。要素が定義域に入るかは行の単位で決まるため。
|
|
823
|
+
*
|
|
824
|
+
* @param owner - API named at the head of every message / すべてのメッセージの先頭で名乗る API
|
|
825
|
+
* @param candidates - The list and its origin / 一覧とその出所
|
|
826
|
+
* @param unit - Time resolution unit used for normalization and deduplication / 正規化・重複排除に用いる時間解像度単位
|
|
827
|
+
* @param minDate - Lower domain boundary; entries before it are excluded / 定義域下限 (これより前の要素は除外)
|
|
828
|
+
* @param maxDate - Upper domain boundary; entries after it are excluded / 定義域上限 (これより後の要素は除外)
|
|
829
|
+
* @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based / `unit: "year"` の 1 年が始まる暦月 (0 始まり)
|
|
830
|
+
* @returns Strictly ascending keys and, at the same index, the normalized date each key stands for; both empty when the list is omitted (`undefined`) or empty / 狭義昇順のキーと、同じ添字にそのキーが表す正規化済みの日付 (一覧が省略 (`undefined`)・空配列ならどちらも空)
|
|
831
|
+
* @throws RangeError naming owner when yearStartMonth is not an integer in [0, 11], when the list is supplied but is not an array (`null` included: `<owner>: <path><origin> must be an array of Dates (received: ...)`), when a non-empty list meets a minDate or maxDate that is not a valid Date (`<owner>: minDate|maxDate must be a valid Date (received: ...)`) or whose unit starts outside the Date range (`<owner>: minDate|maxDate must fall in a <unit> that starts inside the Date range (received: ...)`); only getSortedAllowedDates reaches either, because the slider and the hooks validate their bounds at this unit first), when an entry - a hole of a sparse array included - is not a valid Date (`<owner>: <path>[i]<origin> must be a valid Date (received: ...)`), when an entry falls in a unit that starts outside the Date range (`<owner>: <path>[i]<origin> must fall in a <unit> that starts inside the Date range (received: ...)`), or when every entry falls outside the domain (`<owner>: every <path> entry<origin> falls outside [minDate, maxDate] (...)`); origin is empty or ` (inherited by the macro|micro row)` / owner を名乗って送出 (0 以上 11 以下の整数でない yearStartMonth、配列でない指定値 (`null` を含む)、空でない一覧に対する有効な Date でない minDate・maxDate と、単位の始まりが Date の表現範囲の外にある minDate・maxDate (本体とフックはこの単位で境界を先に検証するため、どちらも届くのは getSortedAllowedDates だけ)、有効な Date でない要素 (疎配列の穴を含む)、単位の始まりが Date の表現範囲の外にある要素、全要素が定義域外。origin は空か ` (inherited by the macro|micro row)`)
|
|
832
|
+
*/
|
|
833
|
+
export declare const sortAllowedDates: (owner: CandidateOwner, candidates: CandidateList, unit: PeriodSliderUnit, minDate: Date, maxDate: Date, yearStartMonth: number) => {
|
|
834
|
+
readonly keys: number[];
|
|
835
|
+
readonly dates: Date[];
|
|
836
|
+
};
|
|
645
837
|
/**
|
|
646
838
|
* A vernier's discrete micro rail resolved over the domain: its candidates as a set over their keys, and the date each key stands for.
|
|
647
839
|
* 定義域で解決したノギスの離散ミクロレール (キーの候補集合と、各キーが表す日付)。
|
|
@@ -661,15 +853,16 @@ export type MicroRail = Extract<DrawnValues, {
|
|
|
661
853
|
* 1 度だけ解決し、窓ごとには解決しない。窓はそのキーを二分探索で絞るため、窓を動かす費用は一覧の大きさに比例しない。
|
|
662
854
|
* 本体とノギスの 2 つのフックは、この 1 つの関数でレールを読む。
|
|
663
855
|
*
|
|
664
|
-
* @param
|
|
856
|
+
* @param owner - API named by the messages that reject the list / 一覧を拒否するメッセージが名乗る API
|
|
857
|
+
* @param candidates - The micro row's candidate list and its origin (resolveVernierRowAllowedDates) / ミクロ行の候補の一覧とその出所 (resolveVernierRowAllowedDates)
|
|
665
858
|
* @param unit - Micro scale unit / ミクロ側の時間解像度単位
|
|
666
859
|
* @param minDate - Domain lower boundary / 定義域の下限
|
|
667
860
|
* @param maxDate - Domain upper boundary / 定義域の上限
|
|
668
861
|
* @param yearStartMonth - Calendar month a `unit: "year"` period starts in, 0-based / `unit: "year"` の 1 年が始まる暦月 (0 始まり)
|
|
669
|
-
* @returns The rail, or null when
|
|
670
|
-
* @throws {RangeError} Exactly as
|
|
862
|
+
* @returns The rail, or null when the list is omitted (`undefined`) or empty / レール (候補の一覧が省略 (`undefined`)・空なら null)
|
|
863
|
+
* @throws {RangeError} Exactly as sortAllowedDates, naming owner and the list (a list that is not an array, an entry that is not a valid Date, an entry whose unit starts outside the Date range, every entry outside [minDate, maxDate], an invalid yearStartMonth) / sortAllowedDates と同じ (owner と一覧を名乗る。配列でない一覧、有効な Date でない要素、単位の始まりが Date の表現範囲の外にある要素、全要素が定義域の外、不正な yearStartMonth)
|
|
671
864
|
*/
|
|
672
|
-
export declare const resolveMicroRail: (
|
|
865
|
+
export declare const resolveMicroRail: (owner: CandidateOwner, candidates: CandidateList, unit: PeriodSliderUnit, minDate: Date, maxDate: Date, yearStartMonth: number) => MicroRail | null;
|
|
673
866
|
/**
|
|
674
867
|
* The rail's own dates inside a window of its keys, for a reader that takes dates (a selector's candidate list, the slider's discrete rail maths).
|
|
675
868
|
* キーの窓の内側にあるレール自身の日付 (日付を読む相手、つまりセレクタの候補の一覧と本体の離散レールの計算のため)。
|
|
@@ -777,32 +970,34 @@ export declare const calculateLabelSlant: (lowPct: number, highPct: number, trac
|
|
|
777
970
|
*/
|
|
778
971
|
export type MacroWindowMotion = "pan" | "resize";
|
|
779
972
|
/**
|
|
780
|
-
*
|
|
781
|
-
*
|
|
782
|
-
*
|
|
783
|
-
* @param motion - How the macro window moved / マクロ窓の動き方
|
|
784
|
-
* @param rail - Drawn values of the rail the pair lands on / 対が載るレールの描画値
|
|
785
|
-
* @param low - Encoded lower end of the held pair / 保持している対の符号化済み下端
|
|
786
|
-
* @param high - Encoded upper end of the held pair / 保持している対の符号化済み上端
|
|
787
|
-
* @returns Placed [low, high] pair, or null when the rail draws nothing / 配置後の [下端, 上端] の対 (レールが何も描かないときは null)
|
|
788
|
-
*/
|
|
789
|
-
/**
|
|
790
|
-
* Resolves the candidate list a vernier row's rail reads: the row's own list when declared, otherwise the shared `allowedDates`.
|
|
791
|
-
* ノギスの行のレールが読む候補の一覧を解決する関数 (行の一覧があればそれ、無ければ共有の `allowedDates`)。
|
|
973
|
+
* 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
|
+
* ノギスの行のレールが読む候補の一覧を出所付きで解決する関数 (行の一覧が指定されていればそれ、無ければ共有の `allowedDates`)。
|
|
792
975
|
*
|
|
793
976
|
* The component, the vernier hooks and their step targets all read a row's candidates through this one rule, so a row
|
|
794
|
-
* that inherits the shared list cannot resolve to a different list in one of them.
|
|
977
|
+
* that inherits the shared list cannot resolve to a different list in one of them. Only an omitted (`undefined`) row list
|
|
978
|
+
* inherits: `null` is a supplied value, read as the row's own list and rejected by name where the list is validated.
|
|
795
979
|
* 本体・ノギスのフック・その 1 歩の行き先は、行の候補をすべてこの 1 つの規則で読む (共有の一覧を継ぐ行が、どこか 1 か所でだけ別の一覧に解決されることがない)。
|
|
980
|
+
* 継ぐのは省略 (`undefined`) した行の一覧だけで、`null` は指定値として行自身の一覧になり、一覧を検証する所で名指しで拒否される。
|
|
796
981
|
*
|
|
797
982
|
* @param row - Row whose candidates to read / 候補を読む行
|
|
798
983
|
* @param props - Props carrying the row lists and the shared list / 行の一覧と共有の一覧を持つ Props
|
|
799
|
-
* @returns The row's
|
|
984
|
+
* @returns The row's own list when supplied, else the shared list inherited by the row (its list `undefined` when that is omitted too) / 行の一覧 (指定時)、無ければ行が継いだ共有の一覧 (それも省略なら一覧は `undefined`)
|
|
800
985
|
*/
|
|
801
986
|
export declare const resolveVernierRowAllowedDates: (row: "macro" | "micro", props: {
|
|
802
987
|
readonly macroAllowedDates?: Date[];
|
|
803
988
|
readonly microAllowedDates?: Date[];
|
|
804
989
|
readonly allowedDates?: Date[];
|
|
805
|
-
}) =>
|
|
990
|
+
}) => CandidateList;
|
|
991
|
+
/**
|
|
992
|
+
* Places one held pair on a rail according to how that rail's window moved.
|
|
993
|
+
* 窓の動き方に応じて、保持している対 1 組をレール上へ配置する関数。
|
|
994
|
+
*
|
|
995
|
+
* @param motion - How the macro window moved / マクロ窓の動き方
|
|
996
|
+
* @param rail - Drawn values of the rail the pair lands on / 対が載るレールの描画値
|
|
997
|
+
* @param low - Encoded lower end of the held pair / 保持している対の符号化済み下端
|
|
998
|
+
* @param high - Encoded upper end of the held pair / 保持している対の符号化済み上端
|
|
999
|
+
* @returns Placed [low, high] pair, or null when the rail draws nothing / 配置後の [下端, 上端] の対 (レールが何も描かないときは null)
|
|
1000
|
+
*/
|
|
806
1001
|
export declare const placePairIntoMacroWindow: (motion: MacroWindowMotion, rail: DrawnValues, low: number, high: number) => [number, number] | null;
|
|
807
1002
|
/**
|
|
808
1003
|
* Grabbable part of a vernier slider, naming both the rail and the element on it.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PeriodSlider.d.ts","sourceRoot":"","sources":["../src/PeriodSlider.tsx"],"names":[],"mappings":"AAaA,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,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AA;CAC5B,GAAG,CACE;IACI,mKAAmK;IACnK,KAAK,EAAE,aAAa,CAAA;CACvB,GACD;IACI,6HAA6H;IAC7H,KAAK,EAAE,SAAS,CAAA;IAChB,0EAA0E;IAC1E,QAAQ,EAAE,MAAM,CAAA;IAChB,mMAAmM;IACnM,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,qFAAqF;IACrF,WAAW,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;AAwkF3L;;;;;;;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;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,+CAAyD,CAAA"}
|
package/dist/YearSelector.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import { SelectorStepper } from './selectorStep.js';
|
|
|
16
16
|
export interface YearSelectorProps {
|
|
17
17
|
/** Controlled selected date; required unless `initialDate` is supplied / 選択日付 (外部制御用・`initialDate` 未指定時は必須) */
|
|
18
18
|
value?: Date;
|
|
19
|
-
/** Initial selected date; required unless `value` is supplied / 選択日付 (非制御用・`value`
|
|
19
|
+
/** Initial selected date; required unless `value` is supplied; adopted during the render that turns the selector uncontrolled, moves it to another year, or changes `yearStartMonth`, while a move within the year keeps the user's choice / 選択日付 (非制御用・`value` 未指定時は必須。非制御になった描画・別の年へ動かした描画・`yearStartMonth` を変えた描画のうちに取り込み、同じ年の中の移動では利用者の選択を置き換えない) */
|
|
20
20
|
initialDate?: Date;
|
|
21
21
|
/** Callback triggered when a selectable year is chosen; the ◀▶ call it too unless `stepper` takes them over / 選択可能な年が選ばれた時のコールバック (`stepper` が引き受けない限り ◀▶ もこれを呼ぶ) */
|
|
22
22
|
onChange?(date: Date, year: number): void;
|
|
@@ -40,9 +40,11 @@ export interface YearSelectorProps {
|
|
|
40
40
|
/**
|
|
41
41
|
* Discrete selectable years (each Date is read as the year containing it); intersected with the
|
|
42
42
|
* bounds, it replaces the continuous range, so a year with no entry leaves the option list and
|
|
43
|
-
* is never a stepper target. Supplying it also satisfies the bound requirement.
|
|
43
|
+
* is never a stepper target. Supplying it also satisfies the bound requirement. A supplied value
|
|
44
|
+
* that is not an array (`null` or a string included) throws RangeError naming the list.
|
|
44
45
|
* 離散の選択可能年 (各 Date はそれを含む年として読まれる)。境界と積を取って連続範囲を置き換えるため、
|
|
45
46
|
* 要素の無い年は選択肢から外れステッパーの行き先にもならない。指定時は境界必須の条件も満たす。
|
|
47
|
+
* 配列でない指定値 (`null`・文字列を含む) は一覧を名指す RangeError。
|
|
46
48
|
*/
|
|
47
49
|
allowedYears?: Date[] | undefined;
|
|
48
50
|
/** Additional CSS class name / 追加の CSS クラス名 */
|
|
@@ -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,EAA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