Skip to content

Commit 4e5742d

Browse files
[update] Retranslate KO locale
- sync to commit 943f1d7 - translate 4 new RestDataProvider methods (getHandlers, getIDResolver, getQueue, setHeaders) - update configs: cardheight, columnshape, editorshape, rendertype, scrolltype, toolbar_items - update overviews: internal_rest, properties - update guides: configuration, working_with_server - update whats_new release notes
1 parent f3f20dc commit 4e5742d

16 files changed

Lines changed: 301 additions & 41 deletions
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f55b2fb6832c9d6955cfb66b8e5734aa93ffa3d3
1+
943f1d77abd087cfa70fc9f4a148239ebcae9d9a

i18n/ko/docusaurus-plugin-content-docs/current/api/config/js_kanban_cardheight_config.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ cardHeight?: number; // px
1919
:::important
2020
[`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md)[`scrollType: "default"`](api/config/js_kanban_scrolltype_config.md) 설정을 함께 사용하는 경우, `cardHeight` 속성을 통해 카드의 고정 높이를 반드시 지정해야 합니다. 지정하지 않으면 카드가 표시되지 않습니다.
2121
또한 [`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md)[`scrollType: "column"`](api/config/js_kanban_scrolltype_config.md)을 함께 사용할 때도 `cardHeight` 속성을 통해 카드의 높이를 고정해야 합니다. 이 레이아웃에서는 카드의 가변 높이가 지원되지만, 커스텀 카드 콘텐츠와 함께 사용할 경우 안정적으로 동작하지 않을 수 있습니다.
22+
23+
`cardHeight`를 지정하지 않은 경우, 위젯은 [`cardShape`](api/config/js_kanban_cardshape_config.md)에 선언된 표시 필드를 기반으로 카드 높이를 실험적으로 추정합니다. 커스텀 [`cardTemplate`](api/config/js_kanban_cardtemplate_config.md)을 사용하는 경우에는 이 추정이 적용되지 않으므로, `cardHeight`를 명시적으로 설정하거나 커스텀 [`getCardHeight`](api/config/js_kanban_getcardheight_config.md) 함수를 제공해야 합니다.
2224
:::
2325

2426
### 예제

i18n/ko/docusaurus-plugin-content-docs/current/api/config/js_kanban_columnshape_config.md

Lines changed: 35 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ columnShape?: {
3030
},
3131
fixedHeaders?: boolean,
3232
css?: (column, cards) => string,
33-
headerTemplate?: template(column => {
33+
headerTemplate?: template(props => {
3434
return "확장된 상태의 컬럼 헤더 HTML 템플릿";
3535
}),
36-
collapsedTemplate?: template(column => {
36+
collapsedTemplate?: template(props => {
3737
return "축소된 상태의 컬럼 헤더 HTML 템플릿";
3838
}),
3939
confirmDeletion?: boolean
@@ -94,8 +94,28 @@ columnShape?: {
9494

9595
- `fixedHeaders` - (선택 사항) 수직 스크롤 시 컬럼 헤더 고정 (기본값 *true*). Kanban 자체에서 스크롤이 활성화되어야 하며 (높이 제한 필요)
9696
- `css` - (선택 사항) 조건에 따라 컬럼에 적용할 CSS 클래스를 반환하는 함수
97-
- `headerTemplate` - (선택 사항) 확장된 상태의 컬럼 헤더 HTML 템플릿
98-
- `collapsedTemplate` - (선택 사항) 축소된 상태의 컬럼 헤더 HTML 템플릿
97+
- `headerTemplate` - (선택 사항) 확장된 상태의 컬럼 헤더 HTML 템플릿입니다. 이 함수는 다음 속성을 가진 `props` 객체를 받습니다:
98+
- `column` - (object) 컬럼 데이터 (구조는 [`columns`](api/config/js_kanban_columns_config.md) 참조)
99+
- `columnState` - (object) 컬럼의 현재 상태. 항상 다음을 포함합니다:
100+
- ***columnId*** - (string | number) 컬럼 ID
101+
- ***column*** - (object) 컬럼 데이터 (`props.column`과 동일)
102+
- ***cardsCount*** - (number) 컬럼 내 카드 수
103+
- ***noFreeSpace*** - (boolean) 컬럼이 더 이상 카드를 받을 수 없을 때 ***true***
104+
105+
[`columns[i].limit`](api/config/js_kanban_columns_config.md) 매개변수가 활성화된 경우 추가로 포함됩니다:
106+
- ***totalLimit*** - (number) 설정된 카드 한도
107+
- ***isOverLimit*** - (boolean) 카드 수가 한도를 초과할 때 ***true***
108+
109+
컬럼이 스윔레인(row)에 속하는 경우 추가로 포함됩니다:
110+
- ***rowId*** - (string | number) row ID
111+
- ***row*** - (object) row 데이터 (구조는 [`rows`](api/config/js_kanban_rows_config.md) 참조)
112+
- ***height*** - (number) 영역 높이
113+
- `isMenuVisible` - (boolean) 해당 컬럼 헤더에 메뉴를 표시해야 할 때 ***true***
114+
- `renaming` - (boolean) 컬럼 이름 편집 입력이 활성화될 때 ***true***
115+
- `readonly` - (boolean) 컬럼 편집이 비활성화될 때 ***true*** (`!readonly.edit`과 동일, [`readonly`](api/config/js_kanban_readonly_config.md) 속성 참조)
116+
- `collapsedTemplate` - (선택 사항) 축소된 상태의 컬럼 헤더 HTML 템플릿입니다. 이 함수는 다음 속성을 가진 `props` 객체를 받습니다:
117+
- `column` - (object) 컬럼 데이터 ([`columns`](api/config/js_kanban_columns_config.md) 참조)
118+
- `columnState` - (object) 컬럼의 현재 상태. 형태는 위의 [`headerTemplate`](#parameters) 매개변수의 `columnState`와 동일합니다
99119
- `confirmDeletion` - (선택 사항) 컬럼 삭제 확인 대화상자 표시 여부
100120

101121
### 기본 구성
@@ -160,30 +180,30 @@ const columnShape = {
160180
},
161181
fixedHeaders: false,
162182
css: (column, cards) => column.id == "inprogress" && cards.length < 5 ? "green" : "red",
163-
headerTemplate: template(column => {
183+
headerTemplate: template(props => {
164184
return `<div class="wx-collapse-icon" data-action=${"collapse"}>
165-
<i class=${column.column.collapsed ? "wxi-angle-right" : "wxi-angle-left"}></i>
185+
<i class=${props.column.collapsed ? "wxi-angle-right" : "wxi-angle-left"}></i>
166186
</div>
167187
${
168-
!column.column.collapsed
188+
!props.column.collapsed
169189
? `<div class="wx-label" data-action="rename">
170-
${escapeHTML(column.column.label)}
171-
(${column.columnState.cardsCount})
190+
${escapeHTML(props.column.label)}
191+
(${props.columnState.cardsCount})
172192
</div>`
173193
: ""
174194
}
175195
${
176-
!column.column.collapsed
177-
? `<div class="wx-menu" data-menu-id=${column.id}>
196+
!props.column.collapsed
197+
? `<div class="wx-menu" data-menu-id=${props.column.id}>
178198
<i class="wxi-dots-h"></i>
179199
</div>`
180200
: ""
181201
}`;
182202
}),
183-
collapsedTemplate: template(column => {
203+
collapsedTemplate: template(props => {
184204
return `<div class="wx-collapsed-label">
185-
<div class="wx-label-text">${escapeHTML(column.column.label)} (${
186-
column.columnState?.cardsCount
205+
<div class="wx-label-text">${escapeHTML(props.column.label)} (${
206+
props.columnState?.cardsCount
187207
})</div>
188208
</div>`;
189209
}),
@@ -213,4 +233,4 @@ new kanban.Kanban("#root", {
213233
**관련 샘플:**
214234
- [Kanban. 사용자 정의 메뉴를 통한 컬럼 색상 변경](https://snippet.dhtmlx.com/fnlvd2g5?tag=kanban)
215235
- [Kanban. 고정 헤더, 지연 렌더링 및 컬럼 스크롤](https://snippet.dhtmlx.com/xez9ghqq?tag=kanban)
216-
- [Kanban. 컬럼 헤더 템플릿](https://snippet.dhtmlx.com/gq2saz9c?tag=kanban)
236+
- [Kanban. 컬럼 헤더 템플릿](https://snippet.dhtmlx.com/gq2saz9c?tag=kanban)

i18n/ko/docusaurus-plugin-content-docs/current/api/config/js_kanban_editorshape_config.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ editorShape?: [
1919
type: string,
2020
key: string,
2121
label?: string,
22+
modalSection?: "left" | "right",
2223

2324
// "dateRange" 유형에만 해당
2425
key: {
@@ -182,6 +183,9 @@ Kanban 편집기에서는 다음 필드 유형을 사용할 수 있습니다: **
182183
~~~
183184

184185
- `label` - (선택 사항) 편집기 필드 레이블
186+
- `modalSection` - (선택 사항) 모달 편집기에서 필드가 배치될 열을 정의합니다. [`editor.placement: "modal"`](api/config/js_kanban_editor_config.md) 속성을 통해 편집기가 모달 창으로 표시될 때만 적용됩니다. 가능한 값은 다음과 같습니다:
187+
- `"left"` - 필드가 왼쪽 열에 배치됩니다
188+
- `"right"` - 필드가 오른쪽 열에 배치됩니다 (기본값)
185189

186190
#### - "dateRange" 유형 매개변수
187191

@@ -466,6 +470,7 @@ new kanban.Kanban("#root", {
466470

467471
- v1.3에서 ***dateRange*** 유형 추가
468472
- v1.4에서 ***comments******links*** 편집기 유형과 ***format*** 매개변수 추가
473+
- v1.6에서 ***modalSection*** 매개변수 추가
469474
- ***clearButton*** 매개변수가 ***clear*** 매개변수로 대체됨
470475

471476
**관련 문서:** [구성](guides/configuration.md/#editor)

i18n/ko/docusaurus-plugin-content-docs/current/api/config/js_kanban_rendertype_config.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ renderType?: "default" | "lazy";
2323
:::important
2424
`renderType: "lazy"`[`scrollType: "default"`](api/config/js_kanban_scrolltype_config.md) 설정을 함께 사용할 경우, 반드시 [`cardHeight`](api/config/js_kanban_cardheight_config.md) 속성을 통해 카드의 고정 높이를 지정해야 합니다. 지정하지 않으면 카드가 올바르게 표시되지 않습니다.
2525
`renderType: "lazy"`[`scrollType: "column"`](api/config/js_kanban_scrolltype_config.md)과 함께 사용할 때도 카드의 높이를 [`cardHeight`](api/config/js_kanban_cardheight_config.md) 속성을 통해 고정해야 합니다. 이 레이아웃에서는 카드의 가변 높이도 지원하지만, 커스텀 카드 콘텐츠와 함께 사용할 경우 안정적으로 동작하지 않을 수 있습니다.
26+
27+
`cardHeight`가 설정되지 않은 경우, 위젯은 [`cardShape`](api/config/js_kanban_cardshape_config.md)를 기반으로 카드 높이를 실험적으로 추정합니다. 커스텀 [`cardTemplate`](api/config/js_kanban_cardtemplate_config.md)을 사용하는 보드의 경우, 대신 커스텀 [`getCardHeight`](api/config/js_kanban_getcardheight_config.md) 함수를 제공하세요.
2628
:::
2729

2830
### 기본 구성

i18n/ko/docusaurus-plugin-content-docs/current/api/config/js_kanban_scrolltype_config.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ scrollType: "default"
2929
:::important
3030
[`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md)`scrollType: "default"` 설정을 함께 사용할 경우, [`cardHeight`](api/config/js_kanban_cardheight_config.md) 속성을 통해 카드의 고정 높이를 반드시 지정해야 합니다. 지정하지 않으면 카드가 표시되지 않습니다.
3131
[`renderType: "lazy"`](api/config/js_kanban_rendertype_config.md)`scrollType: "column"`을 함께 사용할 때에도 [`cardHeight`](api/config/js_kanban_cardheight_config.md) 속성을 통해 카드의 높이를 고정해야 합니다. 이 레이아웃 유형에서는 카드의 가변 높이가 지원되지만, 커스텀 카드 콘텐츠와 함께 사용할 경우 안정적으로 동작하지 않을 수 있습니다.
32+
33+
`cardHeight`가 설정되지 않은 경우, widget은 [`cardShape`](api/config/js_kanban_cardshape_config.md)를 기반으로 카드 높이를 실험적으로 근사하는 방식으로 대체됩니다. 커스텀 [`cardTemplate`](api/config/js_kanban_cardtemplate_config.md)을 사용하는 보드의 경우, 대신 커스텀 [`getCardHeight`](api/config/js_kanban_getcardheight_config.md) 함수를 제공하세요.
3234
:::
3335

3436
### 예제

i18n/ko/docusaurus-plugin-content-docs/current/api/config/toolbar_items_config.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ items?: [
2626
}
2727
}, {...}
2828
],
29-
resultTemplate?: template(searchResult => {
30-
return "검색 결과의 HTML 템플릿";
29+
resultTemplate?: template(({ result }) => {
30+
return `HTML template using ${result.label}`;
3131
})
3232
},
3333
"sort" | {
@@ -66,7 +66,7 @@ items?: [
6666
- ***card*** - 카드 데이터 객체
6767
- ***value*** - 검색바에 입력된 검색 값
6868
- ***by*** - 카드가 검색될 카드 필드 키
69-
- `searchResult` - (선택) 사용자 정의 검색 결과를 표시하기 위한 템플릿
69+
- `resultTemplate` - (선택) 사용자 정의 검색 결과를 표시하기 위한 템플릿
7070

7171
~~~jsx
7272
items: [
@@ -93,10 +93,10 @@ items: [
9393
}
9494
}
9595
],
96-
resultTemplate: kanban.template(searchResult => {
96+
resultTemplate: kanban.template(({ result }) => {
9797
return `<div class="list-item">
98-
<div class="list-item-text">${searchResult.result.label}</div>
99-
${searchResult.result.description ? `<div class="list-item-text item-description">${searchResult.result.description}</div>` : ""}
98+
<div class="list-item-text">${result.label}</div>
99+
${result.description ? `<div class="list-item-text item-description">${result.description}</div>` : ""}
100100
</div>`
101101
})
102102
},
@@ -161,10 +161,10 @@ new kanban.Toolbar("#toolbar", {
161161
items: [
162162
{
163163
type: "search",
164-
resultTemplate: kanban.template(searchResult => {
164+
resultTemplate: kanban.template(({ result }) => {
165165
return `<div class="list-item">
166-
<div class="list-item-text">${searchResult.result.label}</div>
167-
${searchResult.result.description ? `<div class="list-item-text item-description">${searchResult.result.description}</div>` : ""}
166+
<div class="list-item-text">${result.label}</div>
167+
${result.description ? `<div class="list-item-text item-description">${result.description}</div>` : ""}
168168
</div>`
169169
})
170170
},
@@ -182,7 +182,7 @@ new kanban.Toolbar("#toolbar", {
182182

183183
- *"Undo"**"Redo"* 컨트롤이 v1.3에 추가되었습니다.
184184
- **sort** 컨트롤의 ***items.options[0].label*** 매개변수가 v1.4에서 ***items.options[0].text*** 매개변수로 변경되었습니다.
185-
- **"search"** 컨트롤의 ***items.searchResult*** 매개변수가 v1.6에 추가되었습니다.
185+
- **"search"** 컨트롤의 ***items.resultTemplate*** 매개변수가 v1.6에 추가되었습니다.
186186

187187
**관련 문서:** [구성](guides/configuration.md#toolbar) 및 [커스터마이징](guides/customization.md#custom-toolbar)
188188

i18n/ko/docusaurus-plugin-content-docs/current/api/overview/internal_rest_overview.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@ description: DHTMLX JavaScript Kanban 라이브러리 문서에서 JavaScript Ka
66

77
# RestDataProvider 메서드
88

9-
| 이름 | 설명 |
10-
| ------------------------------------------------------------ | ----------------------------------------------------------------- |
11-
| [](api/provider/rest_methods/js_kanban_getcards_method.md) | @getshort(api/provider/rest_methods/js_kanban_getcards_method.md) |
12-
| [](api/provider/rest_methods/js_kanban_getcolumns_method.md) | @getshort(api/provider/rest_methods/js_kanban_getcolumns_method.md)|
13-
| [](api/provider/rest_methods/js_kanban_getlinks_method.md) | @getshort(api/provider/rest_methods/js_kanban_getlinks_method.md) |
14-
| [](api/provider/rest_methods/js_kanban_getrows_method.md) | @getshort(api/provider/rest_methods/js_kanban_getrows_method.md) |
15-
| [](api/provider/rest_methods/js_kanban_getusers_method.md) | @getshort(api/provider/rest_methods/js_kanban_getusers_method.md) |
16-
| [](api/provider/rest_methods/js_kanban_send_method.md) | @getshort(api/provider/rest_methods/js_kanban_send_method.md) |
9+
| 이름 | 설명 |
10+
| --------------------------------------------------------------- | --------------------------------------------------------------------- |
11+
| [](api/provider/rest_methods/js_kanban_getcards_method.md) | @getshort(api/provider/rest_methods/js_kanban_getcards_method.md) |
12+
| [](api/provider/rest_methods/js_kanban_getcolumns_method.md) | @getshort(api/provider/rest_methods/js_kanban_getcolumns_method.md) |
13+
| [](api/provider/rest_methods/js_kanban_gethandlers_method.md) | @getshort(api/provider/rest_methods/js_kanban_gethandlers_method.md) |
14+
| [](api/provider/rest_methods/js_kanban_getidresolver_method.md) | @getshort(api/provider/rest_methods/js_kanban_getidresolver_method.md)|
15+
| [](api/provider/rest_methods/js_kanban_getlinks_method.md) | @getshort(api/provider/rest_methods/js_kanban_getlinks_method.md) |
16+
| [](api/provider/rest_methods/js_kanban_getqueue_method.md) | @getshort(api/provider/rest_methods/js_kanban_getqueue_method.md) |
17+
| [](api/provider/rest_methods/js_kanban_getrows_method.md) | @getshort(api/provider/rest_methods/js_kanban_getrows_method.md) |
18+
| [](api/provider/rest_methods/js_kanban_getusers_method.md) | @getshort(api/provider/rest_methods/js_kanban_getusers_method.md) |
19+
| [](api/provider/rest_methods/js_kanban_send_method.md) | @getshort(api/provider/rest_methods/js_kanban_send_method.md) |
20+
| [](api/provider/rest_methods/js_kanban_setheaders_method.md) | @getshort(api/provider/rest_methods/js_kanban_setheaders_method.md) |

i18n/ko/docusaurus-plugin-content-docs/current/api/overview/properties_overview.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ description: DHTMLX JavaScript Kanban 라이브러리 문서에서 JavaScript Ka
2020
| [](api/config/js_kanban_currentuser_config.md) | @getshort(api/config/js_kanban_currentuser_config.md) |
2121
| [](api/config/js_kanban_editor_config.md) | @getshort(api/config/js_kanban_editor_config.md) |
2222
| [](api/config/js_kanban_editorshape_config.md) | @getshort(api/config/js_kanban_editorshape_config.md) |
23+
| [](api/config/js_kanban_getcardheight_config.md) | @getshort(api/config/js_kanban_getcardheight_config.md) |
2324
| [](api/config/js_kanban_history_config.md) | @getshort(api/config/js_kanban_history_config.md) |
2425
| [](api/config/js_kanban_links_config.md) | @getshort(api/config/js_kanban_links_config.md) |
2526
| [](api/config/js_kanban_locale_config.md) | @getshort(api/config/js_kanban_locale_config.md) |
@@ -28,4 +29,4 @@ description: DHTMLX JavaScript Kanban 라이브러리 문서에서 JavaScript Ka
2829
| [](api/config/js_kanban_rowkey_config.md) | @getshort(api/config/js_kanban_rowkey_config.md) |
2930
| [](api/config/js_kanban_rows_config.md) | @getshort(api/config/js_kanban_rows_config.md) |
3031
| [](api/config/js_kanban_rowshape_config.md) | @getshort(api/config/js_kanban_rowshape_config.md) |
31-
| [](api/config/js_kanban_scrolltype_config.md) | @getshort(api/config/js_kanban_scrolltype_config.md) |
32+
| [](api/config/js_kanban_scrolltype_config.md) | @getshort(api/config/js_kanban_scrolltype_config.md) |

0 commit comments

Comments
 (0)