Skip to content

Commit 65f6668

Browse files
authored
Merge pull request #6095 from IgniteUI/localization-2025-04-02-master
JA - List topic, other updates to match EN
2 parents 3bff194 + 5294b9e commit 65f6668

6 files changed

Lines changed: 129 additions & 31 deletions

File tree

jp/components/charts/features/chart-data-selection.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ Angular {ComponentTitle} の Ignite UI for Angular 選択機能を使用する
8989

9090
たとえば、データ ソースに Nuclear、Coal、Oil、Solar という数値プロパティがある場合、これらのプロパティごとにシリーズが作成されていることがわかります。Solar 値にバインドされたシリーズを選択する場合は、次のプロパティが設定されたマッチャーを使用して、ChartSelection オブジェクトを SelectedSeriesItems コレクションに追加できます。
9191

92+
<code-view style="height: 500px" alt="Angular 選択マッチャー"
93+
data-demos-base-url="{environment:dvDemosBaseUrl}"
94+
iframe-src="{environment:dvDemosBaseUrl}/charts/category-chart/selection-matcher"
95+
github-src="charts/category-chart/selection-matcher">
96+
</code-view>
97+
98+
9299
## API リファレンス
93100

94101
以下は上記のセクションで説明した API メンバーのリストです。

jp/components/general-changelog-dv.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,35 @@ Ignite UI for Angular の各バージョンのすべての重要な変更は、
1717
1818
* [Ignite UI for Angular 変更ログ (GitHub)](https://github.com/IgniteUI/igniteui-angular/blob/master)
1919

20+
## **19.0.1 (February 2025)**
21+
22+
### 機能拡張
23+
24+
#### Toolbar
25+
26+
* [`IgxToolbarComponent`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolbarcomponent.html)[`IgxToolPanelComponent`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolpanelcomponent.html) に新しい `GroupHeaderTextStyle` プロパティを追加しました。設定されている場合、すべての [`IgxToolActionGroupHeaderComponent`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolactiongroupheadercomponent.html) アクションに適用されます。
27+
* タイトル テキストの水平方向の配置を制御する [`titleHorizontalAlignment`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_charts.igxseriesviewercomponent.html#titleHorizontalAlignment) という新しいプロパティを [`IgxToolActionComponent`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolactioncomponent.html) に追加しました。
28+
* [`IgxToolActionSubPanelComponent`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolactionsubpanelcomponent.html) に、パネル内の項目間の間隔を制御する `ItemSpacing` という新しいプロパティを追加しました。
29+
30+
### バグ修正
31+
32+
次の表は、このリリースの Ignite UI for Angular ツールセットに対して行われたバグ修正を示しています。
33+
34+
| バグ番号 | コントロール | 説明 |
35+
|------------|---------|------------------|
36+
|26218|Excel Library|Excel ファイルを読み込むだけで、チャートのプロット領域の右マージンが狭くなり、塗りつぶしパターンと前景の塗りつぶしが消える。|
37+
|30286|IgxDataChart|バブルをクリックすると、Bubble Series のツールチップが近くのバブル データの内容に切り替わる。|
38+
|32906|IgxDataChart|IgxDataChart は上部に 2 つの xAxis を表示している。|
39+
|33605|IgxDataChart|凡例に ScatterLineSeries の線の色が正しく表示されない。|
40+
|34053|IgxRadialGauge|スケール ラベルの位置がずれる。|
41+
|34083|Excel Library|テンプレート Excel ファイルのテキストに 「=」 が含まれている場合、TextOperatorConditionalFormat が正しく読み込まれない/保存されない。|
42+
|34776|IgxDataChart|IgxDataChart を繰り返し表示したり非表示にしたりすると、JS ヒープでメモリ リークが発生する。|
43+
|35495|Excel Library|テンプレート ファイルを読み込むと、セル内の画像が失われる。|
44+
|35496|IgxSpreadsheet|Excel に画像付きでスタイルを設定すると エラーが発生する。|
45+
|35498|IgxDataChart|IncludedSeries で指定されたシリーズのツールチップは表示されない。|
46+
|36176|Excel Library|LET 関数を含む Excel ブックを読み込むと、例外が発生する。|
47+
|36379|Excel Library|Excel ワークブック内のアルファ チャネルを含む色は読み込まれない。|
48+
2049
## **19.0.0 (January 2025)**
2150

2251
* Angular 19 のサポート。

jp/components/list.md

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -548,46 +548,52 @@ export class ContactListComponent {
548548

549549
## リスト項目の選択
550550

551-
リスト項目は選択状態を提供しません。しかし、アプリケーションで選択された項目を追跡する必要がある場合、どのようにしてそれを実現できるかの例を示します。必要なのは、コンポーネントのどこか、またはリストがバインドされているデータの中で、状態を追跡することです
551+
リスト項目には、どの項目が「選択」されているかを追跡するのに役立つ `selected` プロパティがあります。このプロパティを使用すると、各項目の選択状態を識別および管理できます
552552

553-
以下は、リストにバインドされているデータの状態追跡に基づいて、テーマのセカンダリ 500 カラーをリストの背景色に適用する例です
553+
以下の例は、`selected` プロパティを使用したときに項目の視覚スタイルがどのように変化するかを示しています
554554

555555
<code-view style="height: 420px"
556556
data-demos-base-url="{environment:demosBaseUrl}"
557557
iframe-src="{environment:demosBaseUrl}/lists/list-item-selection" >
558558
</code-view>
559559

560-
`selected` プロパティを各データ メンバーに追加します。デフォルトは `false` です。リスト項目がクリックされたら、データ コレクション内のすべての `selected` プロパティをリセットしたあと、クリックされた項目に対応するデータの `selected` プロパティを `true` に設定します。選択したロパティに基づいて、選択されたときの背景を定義している css クラスをリスト項目に適用します
560+
デフォルトで、`selected` プロパティは `false` に設定されています。各リスト項目の `(click)` イベントにバインドされたインライン式を使用して値を切り替えることができ、クリックされるたびに項目の視覚的な状態を効果的に切り替えることができます
561561

562562
```html
563563
<igx-list>
564-
<igx-list-item isHeader="true">Contacts</igx-list-item>
565-
<igx-list-item [ngClass]="contact.selected ? 'selected' : ''"
566-
(click)="selectItem(contact)"
567-
*ngFor="let contact of contacts | igxFilter: filterContacts;">
564+
<igx-list-item [isHeader]="true">Contacts</igx-list-item>
565+
@for (contact of contacts | igxFilter: filterContacts; track contact) {
566+
<igx-list-item [selected]="contact.selected" (click)="contact.selected = !contact.selected">
568567
<igx-avatar igxListThumbnail [src]="contact.photo" shape="circle"></igx-avatar>
569568
<span igxListLineTitle>{{ contact.name }}</span>
570569
<span igxListLineSubTitle>{{ contact.phone }}</span>
571-
<igx-icon igxListAction [style.color]="contact.isFavorite ? 'orange' : 'lightgray'" (click)="toggleFavorite(contact, $event)">star</igx-icon>
572-
</igx-list-item>
573-
</igx-list>
574-
```
575-
576-
```typescript
577-
public selectItem(item) {
578-
if (!item.selected) {
579-
this.contacts.forEach(c => c.selected = false);
580-
item.selected = true;
570+
<igx-icon igxListAction [style.color]="contact.isFavorite ? 'orange' : 'lightgray'" igxRipple="pink"
571+
[igxRippleCentered]="true" (click)="toggleFavorite(contact, $event)"
572+
(mousedown)="mousedown($event)">star</igx-icon>
573+
</igx-list-item>
581574
}
582-
}
575+
</igx-list>
583576
```
584577

578+
リスト項目には、選択した要素のさまざまな部分のスタイルを設定するために使用できるいくつかの CSS 変数も公開されています。
579+
580+
- `--item-background-selected`
581+
- `--item-text-color-selected`
582+
- `--item-title-color-selected`
583+
- `--item-action-color-selected`
584+
- `--item-subtitle-color-selected`
585+
- `--item-thumbnail-color-selected`
586+
585587
```scss
586-
.selected {
587-
background-color: hsla(var(--igx-secondary-500))
588+
igx-list-item {
589+
--item-background-selected: var(--ig-secondary-500);
590+
--item-title-color-selected: var(--ig-secondary-500-contrast);
591+
--item-subtitle-color-selected: var(--ig-info-100);
588592
}
589593
```
590594

595+
リストのテーマ変数を使用する場合は、リスト項目の選択状態のスタイルを設定できるパラメーターが用意されています。これらのパラメーターの詳細については、[`list-theme`]({environment:sassApiUrl}/index.html#function-list-theme) を参照してください。
596+
591597
<div class="divider--half"></div>
592598

593599
## Chat コンポーネント

jp/components/menus/toolbar.md

Lines changed: 58 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,13 @@ IgrDataChartCategoryTrendLineModule.register();
8282
* [`IgxToolActionLabelComponent`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolactionlabelcomponent.html)
8383
* [`IgxToolActionNumberInputComponent`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolactionnumberinputcomponent.html)
8484
* [`IgxToolActionRadioComponent`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolactionradiocomponent.html)
85+
* [`IgxToolActionSubPanelComponent`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolactionsubpanelcomponent.html)
8586

86-
これらのツールはそれぞれ、マウスのクリックによってトリガーされる `OnCommand` イベントを公開します。
87+
これらのツールはそれぞれ、マウスのクリックによってトリガーされる `OnCommand` イベントを公開します。注: [`IgxToolActionIconMenuComponent`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolactioniconmenucomponent.html) は、[`IgxToolActionIconMenuComponent`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolactioniconmenucomponent.html) 内にラップすることもできる他のツールのラッパーです。
8788

8889
[`IgxToolActionComponent`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolactioncomponent.html) オブジェクトの [`overlayId`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolactioncomponent.html#overlayId)、[`beforeId`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolactioncomponent.html#beforeId)、および [`afterId`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolactioncomponent.html#afterId) プロパティを使用して、新規および既存のツールの位置を変更したり、非表示にマークしたりすることができます。ToolActions は [`visibility`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolactioncomponent.html#visibility) プロパティも公開します。
8990

90-
次の例は、組み込みの **ZoomReset** **AnalyzeMenu** メニュー ツール アクションの両方を非表示にする方法を示しています。**ZoomReset** ツール操作の新しいインスタンスが追加され[`afterId`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolactioncomponent.html#afterId) プロパティを使用して **ZoomMenu** 内に配置され、それを **ZoomOut** に割り当てます。これにより、新しいリセット ツールが **ZoomMenu** の下部に表示されます
91+
次の例は、いくつかの機能を示しています。まず、**ZoomReset** **AnalyzeMenu** メニュー ツール操作などの組み込みツールを非表示にするなど、[`IgxToolActionSubPanelComponent`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolactionsubpanelcomponent.html) でツールをグループ化できます。この例では、[`afterId`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolactioncomponent.html#afterId) プロパティを使用して **ZoomOut** に割り当てることで、**ZoomReset** ツール操作の新しいインスタンスが追加され、**ZoomMenu** 内に配置されます。また、ツールの [`isHighlighted`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolactioncomponent.html#isHighlighted) プロパティによってもハイライト表示されます。これにより、新しいリセット ツールが **ZoomMenu** の下部にすぐに表示されます
9192

9293
<code-view style="height: 600px" alt="Angular Toolbar の例"
9394
data-demos-base-url="{environment:dvDemosBaseUrl}"
@@ -154,6 +155,12 @@ Angular ツールバーには、`Target` プロパティが含まれています
154155

155156
ツールを手動で追加する場合、`RenderIconFromText` メソッドを使用してアイコンを割り当てることができます。このメソッドには 3 つのパラメーターを渡す必要があります。1 つ目は、ツールで定義されたアイコン コレクション名です (例: [`iconCollectionName`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolactioncomponent.html#iconCollectionName))。2 つ目は、ツールで定義されたアイコンの名前 (例: [`iconName`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolactioncomponent.html#iconName)) で、その後に SVG 文字列を追加します。
156157

158+
### データ URL アイコン
159+
160+
svg を追加するのと同様に、`RegisterIconFromDataURL` を介して URL からアイコン画像を追加することもできます。メソッドの 3 番目のパラメーターは、文字列 URL を入力するために使用されます。
161+
162+
次のスニペットは、アイコンを追加する両方の方法を示しています。
163+
157164
```html
158165
<igx-tool-action-label
159166
title="Custom Icon"
@@ -171,15 +178,61 @@ public toolbarCustomIconOnViewInit(): void {
171178
}
172179
```
173180

181+
```ts
182+
public toolbarCustomIconOnViewInit(): void {
183+
184+
toolbar.registerIconFromDataURL("CustomCollection", "CustomIcon", "https://www.svgrepo.com/show/678/calculator.svg");
185+
186+
}
187+
```
188+
174189
```ts
175190
public toolbarCustomIconOnViewInit(): void {
176191

177192
const icon = '<svg width="28px" height="28px" stroke="none" viewBox="0 0 3.5 3.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--gis" preserveAspectRatio="xMidYMid meet"><path d="M0.436 0.178a0.073 0.073 0 0 0 -0.062 0.036L0.01 0.846a0.073 0.073 0 0 0 0.063 0.109h0.729a0.073 0.073 0 0 0 0.063 -0.109L0.501 0.214a0.073 0.073 0 0 0 -0.064 -0.036zm0.001 0.219 0.238 0.413H0.199zM1.4 0.507v0.245h0.525v-0.245zm0.77 0v0.245h1.33v-0.245zM0.073 1.388A0.073 0.073 0 0 0 0 1.461v0.583a0.073 0.073 0 0 0 0.073 0.073h0.729A0.073 0.073 0 0 0 0.875 2.045V1.461a0.073 0.073 0 0 0 -0.073 -0.073zm0.073 0.146h0.583v0.438H0.146zM1.4 1.674v0.245h0.945v-0.245zm1.19 0v0.245h0.91v-0.245zM0.438 2.447c-0.241 0 -0.438 0.197 -0.438 0.438 0 0.241 0.197 0.438 0.438 0.438s0.438 -0.197 0.438 -0.438c0 -0.241 -0.197 -0.438 -0.438 -0.438zm0 0.146a0.291 0.291 0 0 1 0.292 0.292 0.291 0.291 0 0 1 -0.292 0.292 0.291 0.291 0 0 1 -0.292 -0.292A0.291 0.291 0 0 1 0.438 2.593zM1.4 2.842v0.245h0.525v-0.245zm0.77 0v0.245h1.33v-0.245z" fill="#000000" fill-rule="evenodd"/></svg>';
178193

179194
this.toolbar.registerIconFromText("CustomCollection", "CustomIcon", icon);
195+
180196
}
181197
```
182198

199+
```ts
200+
public toolbarCustomIconOnViewInit(): void {
201+
202+
toolbar.registerIconFromDataURL("CustomCollection", "CustomIcon", "https://www.svgrepo.com/show/678/calculator.svg");
203+
204+
}
205+
```
206+
207+
@code {
208+
209+
protected override async Task OnAfterRenderAsync(bool firstRender)
210+
{
211+
var toolbar = this.toolbar;
212+
213+
if (firstRender) {
214+
this.ToolbarCustomIconOnViewInit();
215+
}
216+
}
217+
218+
private IgbToolbar toolbar;
219+
220+
public void ToolbarCustomIconOnViewInit()
221+
{
222+
this.toolbar.EnsureReady().ContinueWith(new Action<Task>((e) =>
223+
{
224+
this.toolbar.RegisterIconFromDataURLAsync("CustomCollection", "CustomIcon", "https://www.svgrepo.com/show/678/calculator.svg");
225+
}));
226+
}
227+
228+
}
229+
230+
````
231+
232+
```tsx
233+
<IgrToolbar orientation="Vertical" />
234+
````
235+
183236
### 垂直方向
184237

185238
デフォルトでは、Angular ツールバーは水平に表示されますが、[`orientation`]({environment:dvApiBaseUrl}/products/ignite-ui-angular/api/docs/typescript/latest/classes/igniteui_angular_layouts.igxtoolbarcomponent.html#orientation) プロパティを設定することで垂直に表示することもできます。
@@ -188,7 +241,9 @@ public toolbarCustomIconOnViewInit(): void {
188241
<igx-toolbar orientation="Vertical" />
189242
```
190243

191-
次の例は、Angular ツールバーの垂直方向を示しています。 <code-view style="height: 600px" alt="Angular 垂直方向"
244+
次の例は、Angular ツールバーの垂直方向を示しています。
245+
246+
<code-view style="height: 600px" alt="Angular 垂直方向"
192247
data-demos-base-url="{environment:dvDemosBaseUrl}"
193248
iframe-src="{environment:dvDemosBaseUrl}/charts/toolbar/layout-in-vertical-orientation"
194249
github-src="charts/toolbar/layout-in-vertical-orientation">

jp/components/query-builder.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ Angular Query Builder は、[Angular コンポーネント](https://jp.infragist
1919

2020
この Angular Query Builder の例を作成して、Angular Query Builder コンポーネントのデフォルト機能を紹介しました。プラス ボタンをクリックして、条件、「and」グループ、および「or」グループを追加します。グループ解除または削除するには、サイド バーに移動します。
2121

22-
<code-view style="height:700px"
22+
<code-view style="height:700px"
2323
data-demos-base-url="{environment:demosBaseUrl}"
24-
iframe-src="{environment:demosBaseUrl}/interactions/query-builder-sample-1" alt="Angular Query Builder の例">
24+
iframe-src="{environment:demosBaseUrl}/interactions/query-builder-request-sample"
25+
alt="Angular Query Builder 概要の例">
2526
</code-view>
2627

2728
<div class="divider--half"></div>

jp/components/themes/palettes.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ Ignite UI for Angular は、`primary`、`secondary`、`surface`、`gray`、`info
108108
/* styles.css */
109109

110110
.blue-theme {
111-
--ig-primary-500: #0008ff;
111+
--ig-primary-500: #0008ff;
112112
}
113113

114114
.red-theme {
115-
--ig-primary-500: #ff0400;
115+
--ig-primary-500: #ff0400;
116116
}
117117
```
118118

@@ -176,10 +176,10 @@ Ignite UI for Angular のパレットは、テーマが明るいまたは暗い
176176

177177
```css
178178
:root {
179-
--ig-info-500: #1377d5;
180-
--ig-success-500: #4eb862;
181-
--ig-warn-500: #faa419;
182-
--ig-error-500: #ff134a;
179+
--ig-info-500: #1377d5;
180+
--ig-success-500: #4eb862;
181+
--ig-warn-500: #faa419;
182+
--ig-error-500: #ff134a;
183183
}
184184
```
185185

0 commit comments

Comments
 (0)