Skip to content

Commit f2c5e29

Browse files
authored
Merge pull request #1836 from IgniteUI/localization-2025-12-02
[JA] Add the latest topic updates - Date Range Picker for Blazor, OSS vs Premium, other
2 parents 015c7b3 + b5d4eeb commit f2c5e29

File tree

5 files changed

+309
-27
lines changed

5 files changed

+309
-27
lines changed

doc/jp/components/general-open-source-vs-premium.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@ MIT ライセンスのもとで利用できる 40 以上の UI コンポーネ
2121

2222
Ignite UI のプレミアム コンポーネントは、高度なエンタープライズ機能を備え、高いパフォーマンスと豊富な機能を求める複雑なアプリケーション向けに設計されています。プレミアム コンポーネントには、次のようなものが含まれます。
2323

24+
### 高度なコンポーネントを備えたグリッド
25+
<!-- Blazor -->
26+
- [データ グリッド](../components/grids/data-grid.md)[階層グリッド](../components/grids/hierarchical-grid/overview.md)[ツリー グリッド](../components/grids/tree-grid/overview.md)[ピボット グリッド](../components/grids/pivot-grid/overview.md)
27+
- [ドック マネージャー](../components/layouts/dock-manager.md)
28+
- [チャート ライブラリ](../components/charts/chart-overview.md)
29+
- [マップ ライブラリ](../components/geo-map.md)
30+
- [Excel ライブラリ](../components/excel-library.md)
31+
- ゲージ - [ブレットグラフ](../components/bullet-graph.md)[リニア ゲージ](../components/linear-gauge.md) および [ラジアル ゲージ](../components/radial-gauge.md)
32+
- [ツールバー](../components/menus/toolbar.md)
33+
<!-- end: Blazor -->
34+
<!-- React, WebComponents -->
2435
- [データ グリッド](../components/grids/data-grid.md)[階層グリッド](../components/grids/hierarchical-grid/overview.md)[ツリー グリッド](../components/grids/tree-grid/overview.md)[ピボット グリッド](../components/grids/pivot-grid/overview.md)
2536
- [ドック マネージャー](../components/layouts/dock-manager.md)
2637
- [チャート ライブラリ](../components/charts/chart-overview.md)
@@ -29,12 +40,13 @@ Ignite UI のプレミアム コンポーネントは、高度なエンタープ
2940
- [Excel ライブラリ](../components/excel-library.md)
3041
- ゲージ - [ブレットグラフ](../components/bullet-graph.md)[リニア ゲージ](../components/linear-gauge.md) および [ラジアル ゲージ](../components/radial-gauge.md)
3142
- [ツールバー](../components/menus/toolbar.md)
43+
<!-- end: React, WebComponents -->
3244

3345
すべてのプレミアム コンポーネントは、トピックのヘッダーに次のようにマークされます。![alt text](/doc/jp/images/premium-text.png)
3446

3547
すべてのプレミアム コンポーネントはローカル環境で評価できるほか、ウォーターマーク付きでプロダクション環境でもテスト可能です。ただし、顧客向けの本番デプロイや、高度なグリッドやチャートをはじめとする各種プレミアム コントロールのフル機能を利用するには、商用ライセンスが必要です。
3648

37-
## アップグレードパス
49+
## アップグレード パス
3850

3951
まずは基本機能を提供する グリッド ライトから利用を開始し、アプリケーションの要件や複雑さが増すにつれて、フル機能のデータ グリッドへシームレスにアップグレードできます。これにより、リファクタリングを最小限に抑えながら、エンタープライ ズレベルの機能へスムーズに移行できます。
4052

@@ -136,7 +148,7 @@ Ignite UI のプレミアム コンポーネントは、高度なエンタープ
136148
| Tile Manager |||
137149
| Toast |||
138150
| Toggle Button |||
139-
| Toolbar | ||
151+
| Toolbar | ||
140152
| Tooltip |||
141153
| Tree |||
142154
| Zoom Slider |||

doc/jp/components/inputs/text-area.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ _language: ja
1616

1717
<!-- React, WebComponents, Blazor -->
1818

19-
`sample="/inputs/textarea/overview", height="120", alt="{Platform} テキスト エリアの例"`
19+
`sample="/inputs/textarea/overview", height="150", alt="{Platform} テキスト エリアの例"`
2020

2121
<!-- end:React, WebComponents, Blazor -->
2222

@@ -85,13 +85,13 @@ import 'igniteui-webcomponents/themes/light/bootstrap.css';
8585

8686
`prefix` スロットと `suffix` スロットを使用すると、テキスト エリアのメイン コンテンツの前後に異なるコンテンツを追加できます。`helper-text` スロットは、テキスト エリアの下に配置されたヒントを提供します。次のサンプルでは、​​テキスト プレフィックス、アイコン サフィックス、およびヒントとしてヘルパー テキストを含む新しいテキスト エリアフィールドを作成します。
8787

88-
`sample="/inputs/textarea/slots", height="120", alt="{Platform} テキスト エリアのプレフィックスとサフィックスの例"`
88+
`sample="/inputs/textarea/slots", height="160", alt="{Platform} テキスト エリアのプレフィックスとサフィックスの例"`
8989

9090
## テキスト エリアのサイズ変更
9191

9292
`Textarea` には 3 つの異なるサイズ変更オプションがあります。`none` に設定すると、テキスト エリアのサイズは変更されず、スクロール バーを使用してオーバーフロー テキストが表示されます。`vertical` (デフォルトのオプション) に設定すると、テキスト エリアは垂直方向にサイズ変更できます。`auto` に設定すると、テキスト エリアにすべてのユーザー入力が一度に表示されます。オーバーフローしたテキストは新しい行に折り返され、テキスト エリアが自動的に拡張されます。
9393

94-
`sample="/inputs/textarea/resize", height="320", alt="{Platform} テキスト エリアのサイズ変更の例"`
94+
`sample="/inputs/textarea/resize", height="450", alt="{Platform} テキスト エリアのサイズ変更の例"`
9595

9696
<!-- WebComponents -->
9797

@@ -136,7 +136,7 @@ igc-textarea::part(suffix) {
136136
}
137137
```
138138

139-
`sample="/inputs/textarea/styling", height="150", alt="{Platform} テキスト エリアのスタイル設定"`
139+
`sample="/inputs/textarea/styling", height="160", alt="{Platform} テキスト エリアのスタイル設定"`
140140

141141
<div class="divider"></div>
142142

doc/jp/components/scheduling/calendar.md

Lines changed: 139 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ defineComponents(IgcCalendarComponent);
136136

137137
{ProductName} Calendar コンポーネントを使用すると、日、月、年の 3 つの異なるビューを切り替えることができます。コンポーネントの `ActiveView` プロパティは、現在のビューを反映します。デフォルトでは、Calendar は最初に読み込まれたときに現在の日付を表示します。これは、`ActiveDate` プロパティを設定することで変更できます。`ActiveDate` プロパティは、エンド ユーザーが現在表示している日付の変更も反映します。
138138

139-
<!-- WebComponents -->
140139

141140
### ヘッダー オプション
142141

@@ -156,15 +155,23 @@ defineComponents(IgcCalendarComponent);
156155
</igc-calendar>
157156
```
158157

159-
次のサンプルは、上記の構成を示しています:
160-
161-
`sample="/scheduling/calendar/header", height="370", alt="{Platform} Calendar ヘッダーの例"`
158+
```tsx
159+
<IgrCalendar selection="range" headerOrientation="vertical">
160+
<span slot="title">Trip dates</span>
161+
</IgrCalendar>
162+
```
162163

164+
```razor
165+
<IgbCalendar HeaderOrientation="@CalendarHeaderOrientation.Vertical" HasHeader="true">
166+
<span slot="title">Trip dates</span>
167+
</IgbCalendar>
168+
```
163169

170+
次のサンプルは、上記の構成を示しています:
164171

165-
<!-- end: WebComponents -->
172+
`sample="/scheduling/calendar/header", height="370", alt="{Platform} Calendar ヘッダーの例"`
166173

167-
<!-- WebComponents -->
174+
<!-- WebComponents, React -->
168175

169176
### ローカライズおよび書式設定
170177

@@ -205,21 +212,60 @@ this.radios.forEach(radio => {
205212
})
206213
```
207214

208-
すべて適切に設定できると、カスタマイズされた表示の Calendar ができあがります。これにより、ユーザーの選択に基づいてロケールの表現も変更されます。以下は結果です:
215+
```tsx
216+
<IgrRadioGroup alignment="horizontal" value={this.state.calendarLocale}>
217+
<IgrRadio name="lang" value="en" checked={true} onChange={this.onRadioChange}>
218+
<span>EN</span>
219+
</IgrRadio>
220+
<IgrRadio name="lang" value="de" onChange={this.onRadioChange}>
221+
<span>DE</span>
222+
</IgrRadio>
223+
<IgrRadio name="lang" value="fr" onChange={this.onRadioChange}>
224+
<span>FR</span>
225+
</IgrRadio>
226+
<IgrRadio name="lang" value="ar" onChange={this.onRadioChange}>
227+
<span>AR</span>
228+
</IgrRadio>
229+
<IgrRadio name="lang" value="ja" onChange={this.onRadioChange}>
230+
<span>JA</span>
231+
</IgrRadio>
232+
</IgrRadioGroup>
233+
234+
<IgrCalendar weekStart='monday' formatOptions={this.state.calendarFormat}
235+
locale={this.state.calendarLocale}
236+
value={new Date()}/>
237+
```
209238

210-
`sample="/scheduling/calendar/formatting", height="520", alt="{Platform} Calendar 書式設定の例"`
239+
```tsx
240+
constructor(props: any) {
241+
super(props);
242+
this.onRadioChange = this.onRadioChange.bind(this);
243+
const formatOptions: IgrCalendarFormatOptions = {
244+
month: 'short',
245+
weekday: 'short',
246+
}
247+
this.state = { calendarLocale: "en", calendarFormat: formatOptions };
248+
}
211249

250+
public onRadioChange(e: any) {
251+
if (e.detail.checked) {
252+
this.setState({ calendarLocale: e.detail.value });
253+
}
254+
}
255+
```
212256

257+
すべて適切に設定できると、カスタマイズされた表示の Calendar ができあがります。これにより、ユーザーの選択に基づいてロケールの表現も変更されます。以下は結果です:
213258

214-
<!-- end: WebComponents -->
259+
`sample="/scheduling/calendar/formatting", height="520", alt="{Platform} Calendar 書式設定の例"`
215260

216-
<!-- WebComponents -->
261+
<!-- end: WebComponents, React -->
217262

218263
### 日付の無効化
219264

220265
場合によっては、エンド ユーザーが選択できない Calendar の日付を無効にしたいことがあります。この機能は、`DisabledDates` プロパティを使用して実現されます。`DisabledDates` プロパティは、`DateRangeDescriptor` オブジェクトの配列です。各記述子には `Type` があり、オプションで `Date` オブジェクトの配列である `DateRange` があります。
221266

222267
`Type` プロパティで使用できるオプションは次のとおりです:
268+
223269
- `After` - `DateRange` の最初の日付以降の日付を無効にします。
224270
- `Before` - `DateRange` の最初の日付より前の日付を無効にします。
225271
- `Between` - `DateRange` の最初の日付と 2 番目の日付の間の日付を無効にします。
@@ -239,15 +285,47 @@ const range = [
239285
this.calendar.disabledDates = [{ type: DateRangeType.Between, dateRange: range }];
240286
```
241287

242-
これらの構成では、次の結果が得られます:
288+
```tsx
289+
<IgrCalendar disabledDates={this.state.disabledDates}/>
290+
```
243291

244-
`sample="/scheduling/calendar/disabled-dates", height="480", alt="{Platform} Calendar 無効な日付の例"`
292+
```tsx
293+
const today = new Date();
294+
const range = [
295+
new Date(today.getFullYear(), today.getMonth(), 3),
296+
new Date(today.getFullYear(), today.getMonth(), 8)
297+
];
298+
const desc: DateRangeDescriptor = {
299+
dateRange: range,
300+
type: DateRangeType.Specific,
301+
}
302+
const disabledDates = [desc];
303+
this.state = { disabledDates };
304+
```
245305

306+
```razor
307+
<IgbCalendar DisabledDates="@DisabledDateDescriptor" />
246308
309+
@code {
310+
public IgbDateRangeDescriptor[] DisabledDateDescriptor { get; set; }
247311
248-
<!-- end: WebComponents -->
312+
protected override void OnInitialized()
313+
{
314+
var today = DateTime.Today;
315+
316+
DateTime[] range = new DateTime[] { new DateTime(today.Year, today.Month, 3), new DateTime(today.Year, today.Month, 8) };
317+
318+
IgbDateRangeDescriptor dateDescriptor = new IgbDateRangeDescriptor() { DateRange = range, RangeType = DateRangeType.Specific };
319+
320+
this.DisabledDateDescriptor = new IgbDateRangeDescriptor[] { dateDescriptor };
321+
}
322+
}
323+
```
324+
325+
これらの構成では、次の結果が得られます:
326+
327+
`sample="/scheduling/calendar/disabled-dates", height="480", alt="{Platform} Calendar 無効な日付の例"`
249328

250-
<!-- WebComponents -->
251329

252330
### 特定の日付
253331

@@ -265,13 +343,50 @@ const range = [
265343
this.calendar.specialDates = [{ type: DateRangeType.Between, dateRange: range }];
266344
```
267345

268-
次のデモは、休暇申請オプション付きの Calendar を示しています。
346+
```tsx
347+
<IgrCalendar specialDates={this.state.specialDates}/>
348+
```
269349

270-
`sample="/scheduling/calendar/special-dates", height="480", alt="{Platform} Calendar 特定の日付の例"`
350+
```tsx
351+
const today = new Date();
352+
const range = [
353+
new Date(today.getFullYear(), today.getMonth(), 3),
354+
new Date(today.getFullYear(), today.getMonth(), 8)
355+
]
356+
const desc: DateRangeDescriptor = {
357+
dateRange: range,
358+
type: DateRangeType.Between,
359+
}
360+
const specialDates = [desc]
361+
this.state = { specialDates };
362+
```
271363

364+
```razor
365+
<IgbCalendar SpecialDates="@CalendarSpecialDates"/>
272366
367+
@code {
368+
369+
private IgbDateRangeDescriptor[] CalendarSpecialDates { get; set; }
370+
371+
protected override void OnInitialized()
372+
{
373+
DateTime today = DateTime.Today;
374+
IgbDateRangeDescriptor specialDates = new IgbDateRangeDescriptor()
375+
{
376+
DateRange = new[] { new DateTime(today.Year, today.Month, 3), new DateTime(today.Year, today.Month, 8) },
377+
RangeType = DateRangeType.Between
378+
};
379+
380+
this.CalendarSpecialDates = new IgbDateRangeDescriptor[] { specialDates };
381+
}
382+
}
383+
384+
```
385+
386+
次のデモは、休暇申請オプション付きの Calendar を示しています。
387+
388+
`sample="/scheduling/calendar/special-dates", height="480", alt="{Platform} Calendar 特定の日付の例"`
273389

274-
<!-- end: WebComponents -->
275390

276391
### 週番号
277392

@@ -368,30 +483,37 @@ public onCalendarChange(e: IgrComponentDataValueChangedEventArgs) {
368483
- アクティブな日付要素
369484

370485
`Calendar` コンポーネントの**日/月/年**がフォーカスされている場合は、次を使用します:
486+
371487
- <kbd>PAGE UP</kbd> キーを押すと、前の月/年のページに移動します。
372488
- <kbd>PAGE DOWN</kbd> キーを押すと、次の月/年のページに移動します。
373489
- <kbd>HOME</kbd> キーを使用して、現在の月の最初の日/最初の月を表示/最初の年を表示します。
374490
- <kbd>END</kbd> キーを押すと、当月/先月/昨年の最終日にフォーカスされます。
375491
- <kbd>矢印</kbd> キーを使用して、日/月/年をナビゲートします。最初の項目の前と最後の項目の後に移動すると、ビューが次/前の月/年のページに切り替わります。
376492

377493
`days` ビュー内の****がフォーカスされている場合は、次を使用します:
494+
378495
- <kbd>SHIFT</kbd> + <kbd>PAGE UP</kbd> キーで前年に移動します。
379496
- <kbd>SHIFT</kbd> + <kbd>PAGE DOWN</kbd> キーを押して翌年に移動します。
380497
- <kbd>SPACE</kbd> または <kbd>ENTER</kbd> キーを押して、現在フォーカスされている日を選択します。
381498

382499
`months` ビュー内の****がフォーカスされている場合は、次を使用します:
500+
383501
- <kbd>SPACE</kbd> または <kbd>ENTER</kbd> キーを押すと、`ActiveDate` が現在フォーカスされている月に変更され、`days` ビューに切り替わります。
384502

385503
`years` ビュー内の****がフォーカスされている場合は、次を使用します:
504+
386505
- <kbd>SPACE</kbd> または <kbd>ENTER</kbd> キーを使用して、`ActiveDate` を現在フォーカスされている年に変更し、`months` ビューに切り替えます。
387506

388507
サブヘッダー内の****または****のボタンにフォーカスがある場合は、次を使用します:
508+
389509
- <kbd>SPACE</kbd> または <kbd>ENTER</kbd> キーを押すと、前/翌月/年のページに切り替わります。
390510

391511
サブヘッダー内の****ボタンにフォーカスがある場合は、次を使用します:
512+
392513
- <kbd>SPACE</kbd> または <kbd>ENTER</kbd> キーを押して、`months` ビューに切り替えます。
393514

394515
サブヘッダー内の****ボタンにフォーカスがある場合は、次を使用します:
516+
395517
- <kbd>SPACE</kbd> または <kbd>ENTER</kbd> キーを押して、`years` ビューに切り替えます。
396518

397519
## スタイル設定

0 commit comments

Comments
 (0)