@nexia/sdk 0.8.13 → 0.8.14
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/README.md +7 -0
- package/changelog/0.8.14/en.md +9 -0
- package/changelog/0.8.14/ko.md +9 -0
- package/changelog/unreleased/en.md +2 -0
- package/changelog/unreleased/ko.md +2 -0
- package/dist/organization-target.d.ts +2 -0
- package/dist/resources/resource-list.d.ts +2 -0
- package/dist/shell.d.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -132,6 +132,13 @@ Provide `selectedOptions` for applied choices absent from the initial page;
|
|
|
132
132
|
applied labels are retained across subsequent page changes. Values remain the
|
|
133
133
|
source of truth. Scope changes must clear unauthorized selections in the owner.
|
|
134
134
|
|
|
135
|
+
For a page scope with `mode="legal-entity-operating-unit-list"`, set
|
|
136
|
+
`operatingUnitPicker="lookup"` on `NxOrganizationTargetSelector` to use a
|
|
137
|
+
lookup dialog for Operating Units while preserving the Legal Entity selector.
|
|
138
|
+
This is a fixed choice made by the page, independent of result count. Exact
|
|
139
|
+
pairs, authority checks and URL query handling are unchanged. Use the matching
|
|
140
|
+
SDK and Core host; omitting this optional prop retains the existing picker.
|
|
141
|
+
|
|
135
142
|
| Earlier draft prop | `NxLookupField` prop |
|
|
136
143
|
|---|---|
|
|
137
144
|
| `presentation="dialog"` | Remove; the component always opens a dialog |
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: published
|
|
3
|
+
version: 0.8.14
|
|
4
|
+
date: 2026-10-27
|
|
5
|
+
title: Organization lookup and list contracts
|
|
6
|
+
description: Choose operating units through lookup and declare date filters and export fields.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Use `operatingUnitPicker="lookup"` with the combined organization selector, declare list filters with `kind: "dateRange"`, and map export fields with `ResourceTableColumn.exportKey`. Existing defaults remain compatible. Adopt Core 0.8.159 before using these options; Apps retain filter validation and row authorization. See the [frontend host guide](https://developers.nexia.to/docs/app-sdk-frontend-host-contracts).
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: published
|
|
3
|
+
version: 0.8.14
|
|
4
|
+
date: 2026-10-27
|
|
5
|
+
title: 조직 조회와 목록 계약
|
|
6
|
+
description: 운영조직 조회창과 날짜 필터·내보내기 필드 매핑을 선언합니다.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
법인·운영조직 선택기에 `operatingUnitPicker="lookup"`을 지정하고, 목록 필터에 `kind: "dateRange"`, 내보내기 필드에 `ResourceTableColumn.exportKey`를 사용할 수 있습니다. 기존 기본 동작은 유지됩니다. 이 옵션을 사용하기 전에 Core 0.8.159를 적용하고 앱의 필터 검증과 행 권한 검사를 유지하세요. [프런트엔드 호스트 가이드](https://developers.nexia.to/docs/app-sdk-frontend-host-contracts)를 참고하세요.
|
|
@@ -37,3 +37,5 @@ and retry. `buildAppCatalogTree` shares grouping for already-authorized choices.
|
|
|
37
37
|
Adopt the matching Core host before using these exports; no released minimum
|
|
38
38
|
version is declared by this draft. See the
|
|
39
39
|
[frontend host guide](https://developers.nexia.to/docs/app-sdk-frontend-host-contracts).
|
|
40
|
+
|
|
41
|
+
`NxOrganizationTargetSelector` also accepts `operatingUnitPicker="lookup"` in combined Legal Entity/Operating Unit mode. It changes only the Operating Unit picker and requires the matching host. See the [frontend host guide](https://developers.nexia.to/docs/app-sdk-frontend-host-contracts#dedicated-lookup-fields).
|
|
@@ -36,3 +36,5 @@ status: draft
|
|
|
36
36
|
대응하는 Core 호스트를 먼저 적용해야 합니다. 이 초안에서 출시된 최소 버전은
|
|
37
37
|
지정하지 않으며 자세한 내용은
|
|
38
38
|
[프런트엔드 호스트 가이드](https://developers.nexia.to/ko/docs/app-sdk-frontend-host-contracts)에 있습니다.
|
|
39
|
+
|
|
40
|
+
`NxOrganizationTargetSelector`의 법인·운영조직 모드에 `operatingUnitPicker="lookup"`을 지정하면 운영조직 부분만 조회 팝업으로 표시합니다. 대응하는 호스트가 필요합니다. [프런트엔드 호스트 가이드](https://developers.nexia.to/docs/app-sdk-frontend-host-contracts#dedicated-lookup-fields)를 참고하세요.
|
|
@@ -73,6 +73,8 @@ export type NxOrganizationTargetSelectorProps = (OrganizationTargetSelectorBaseP
|
|
|
73
73
|
onChange: (legalEntityPublicId: string) => void;
|
|
74
74
|
}) | (OrganizationTargetSelectorBaseProps & {
|
|
75
75
|
mode: 'legal-entity-operating-unit-list';
|
|
76
|
+
/** Fixed picker for Operating Units; Legal Entity controls keep their existing presentation. */
|
|
77
|
+
operatingUnitPicker?: 'combobox' | 'lookup';
|
|
76
78
|
targets: readonly OrganizationTarget[];
|
|
77
79
|
value: OrganizationTargetQuery;
|
|
78
80
|
onChange: (query: OrganizationTargetQuery) => void;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/** A filter definition published by a resource list endpoint. */
|
|
2
2
|
export interface ResourceListFilterableEntry {
|
|
3
3
|
key: string;
|
|
4
|
+
/** Defaults to options. Date ranges encode inclusive bounds as YYYY-MM-DD..YYYY-MM-DD. */
|
|
5
|
+
kind?: "options" | "dateRange";
|
|
4
6
|
multiple: boolean;
|
|
5
7
|
label: string;
|
|
6
8
|
options: Array<{
|
package/dist/shell.d.ts
CHANGED
|
@@ -404,6 +404,8 @@ export interface ResourceListFooterConfig {
|
|
|
404
404
|
testId?: string;
|
|
405
405
|
}
|
|
406
406
|
export interface ResourceTableColumn<T> {
|
|
407
|
+
/** Export schema key; defaults to key. Keeps persisted column preferences stable. */
|
|
408
|
+
exportKey?: string;
|
|
407
409
|
key: string;
|
|
408
410
|
header: ReactNode;
|
|
409
411
|
cell: (row: T, index: number) => ReactNode;
|