@nexia/sdk 0.9.8 → 0.9.10
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 +4 -0
- package/changelog/0.9.10/en.md +11 -0
- package/changelog/0.9.10/ko.md +11 -0
- package/changelog/0.9.9/en.md +9 -0
- package/changelog/0.9.9/ko.md +9 -0
- package/dist/index.d.ts +1 -1
- package/dist/shell.d.ts +17 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -218,3 +218,7 @@ Import `NEXIA_READ_ONLY_HEADER` from `@nexia/sdk` or `@nexia/sdk/host` and
|
|
|
218
218
|
send `{ [NEXIA_READ_ONLY_HEADER]: 'true' }` only for nonmutating POST queries.
|
|
219
219
|
Never mark a save as read-only. A `submissionId` is an accepted request, not
|
|
220
220
|
proof that a case exists. Keep denied rows/fields excluded from print/export.
|
|
221
|
+
|
|
222
|
+
## ResourceTable bulk actions
|
|
223
|
+
|
|
224
|
+
Pass `bulkActions={[{ icon, tooltipKey, onSelect }]}` to the matching Core host. Core manages row selection, derives the result count from the list, and translates each action key for the tooltip and accessible name. [Action scopes and example](https://developers.nexia.to/docs/app-sdk-frontend-host-contracts).
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: published
|
|
3
|
+
version: 0.9.10
|
|
4
|
+
date: 2026-12-03
|
|
5
|
+
title: Select ResourceTable rows for bulk actions
|
|
6
|
+
description: Apps can add bulk actions to ResourceTable with the optional bulkActions prop.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Use React SDK 0.9.10 with Core 0.16.0 or later to add bulk actions. The host reports selected keys or all matching results with excluded keys. The App applies its own permissions when it handles the action.
|
|
10
|
+
|
|
11
|
+
[Frontend SDK guide](https://developers.nexia.to/docs/app-sdk-frontend-host-contracts)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: published
|
|
3
|
+
version: 0.9.10
|
|
4
|
+
date: 2026-12-03
|
|
5
|
+
title: ResourceTable에서 여러 행을 선택해 일괄 작업
|
|
6
|
+
description: 앱에서 bulkActions 속성으로 ResourceTable에 일괄 작업을 추가할 수 있습니다.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
일괄 작업을 추가하려면 React SDK 0.9.10과 Core 0.16.0 이상을 함께 사용하세요. 호스트는 선택한 키 또는 제외한 키가 포함된 전체 검색 결과 선택을 전달합니다. 앱은 작업을 처리할 때 자체 권한을 확인합니다.
|
|
10
|
+
|
|
11
|
+
[프런트엔드 SDK 안내](https://developers.nexia.to/ko/docs/app-sdk-frontend-host-contracts)
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: published
|
|
3
|
+
version: 0.9.9
|
|
4
|
+
date: 2026-11-30
|
|
5
|
+
title: Summaries for expandable sections
|
|
6
|
+
description: Keep a short summary visible in collapsed sections.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Apps can pass `headerSummary` to `NxDisclosure` to display a summary below the title even while the section is collapsed. Actions beside the title continue to use `headerActions`. Use a Core host that supports this option before publishing the App. [Frontend SDK guide](https://developers.nexia.to/docs/app-sdk-frontend-host-contracts#expandable-sections)
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
status: published
|
|
3
|
+
version: 0.9.9
|
|
4
|
+
date: 2026-11-30
|
|
5
|
+
title: 접고 펼치는 섹션의 요약
|
|
6
|
+
description: 접힌 상태에서도 제목 아래에 요약을 표시합니다.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
앱은 `NxDisclosure`의 `headerSummary`로 섹션을 접어도 제목 아래에 요약을 표시할 수 있습니다. 제목 옆의 조작 버튼은 기존 `headerActions`에 넣습니다. 앱을 게시하기 전에 이 옵션을 지원하는 Core 호스트를 적용하세요. [화면 SDK 사용하기](https://developers.nexia.to/ko/docs/app-sdk-frontend-host-contracts#접고-펼치는-섹션)
|
package/dist/index.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export { APPROVAL_STATES, APPROVAL_STEP_KINDS } from "./approval";
|
|
|
37
37
|
export { queueApprovalRequest } from "./approval-request";
|
|
38
38
|
export type { BpmnEditorDocument, BpmnEditorElement, BpmnEditorNodeType, BpmnEditorProcess, DmnEditorDocument, DmnEditorHitPolicy, DmnEditorInputClause, DmnEditorOutputClause, DmnEditorRule, DmnEditorValueType, ProcessUserTaskFormController, ProcessUserTaskFormRegistrar, ProcessUserTaskFormRegistration, ProcessUserTaskFormRegistry, ProcessUserTaskFormSlotPropsV1, ProcessUserTaskFormWidgetLoader, ProcessUserTaskResourceRef, } from "./process";
|
|
39
39
|
export { DMN_EDITOR_HIT_POLICIES } from "./process";
|
|
40
|
-
export type { AppRouteFrameProps, AppRoutePrefetchContext, AppRoutePrefetcher, AutoRegisterPackageSurfacesOptions, PackageSurfaceLoader, PackageSurfaceOverride, PackageSurfaceOverrideRegistration, FormFieldErrors, InspectorActionProps, InspectorResourceActionsProps, ListLocateRecord, MessageApi, MutationFormError, NxCanonicalRoutePaneProps, NxActionKind, NxIconButtonProps, NxComboboxOption, NxComboboxProps, NxRefreshControlProps, NxColumnBrowserLabels, NxColumnBrowserProps, NxColumnNode, NxColumnPickerLabels, NxColumnPickerProps, NxDatePickerLabels, NxDatePickerProps, NxDateRangePickerProps, NxDateRangeValue, NxDropdownMenuItem, NxHelpTooltipProps, InsightFilterControls, InsightFilterState, InsightQueryLike, InsightRangePreset, UseInsightFilterStateOptions, NxOverviewBandCard, NxSelectOption, NxStatDelta, NxStatDeltaDirection, NxStatDeltaTone, NxTabNavItem, NxTabNavProps, NxToggleGroupItem, NxToggleGroupProps, NxTooltipAlign, NxTooltipProps, NxTooltipSide, OpenResourceWorkTab, OpenResourceWorkTabOptions, ResourceCreateCompletion, ResourceCreateCompletionInput, ResourceCreateContinuationTarget, ResourceCreateReceiverRegistration, ResourceInspectorAdapter, ResourceInspectorAdapterLoader, ResourceInspectorAdapterProps, ResourceInspectorQueryProps, ResourceInspectorAdapterRegistry, ResourceInspectorPanelProps, ResourceInspectorStack, ResourceInspectorStackHostProps, ResourceInspectorStackProviderProps, ResourceInspectorStateProps, ResourceLinkProps, ResourceListFilters, ResourceListFilterValue, ResourceListFooterConfig, ResourceListParams, ResourceListParamsControls, ResourceListRefreshConfig, ResourceListToolbarConfig, ResourceListToolbarMoreMenuProps, ResourceListToolbarViewOption, ResourcePrimaryCellProps, ResourceActionDescriptor, ResourceRef, ResourceRowActionsMenuProps, ResourceStatusBadgeProps, ResourceTableColumn, ResourceTableAccess, ResourceTableDensity, ResourceTableProps, ResourceTableStyle, ResourceTableSummaryRow, ResourceTableSort, TabContextActionContext, TabContextActionRegistration, DraftFieldBinding, RegisterDraftActionOptions, TabContextActionResult, ResourceTextCellProps, ToastOptions, ToastSource, UseRegisterListLocateActionOptions, UseResourceListParamsOptions, WorkSectionProps, FavoriteTarget, WorkTabRef, WorkSurfaceAction, WorkSurfaceLabelInput, WorkSurfaceLabels, WorkSurfaceProps, } from "./shell";
|
|
40
|
+
export type { AppRouteFrameProps, AppRoutePrefetchContext, AppRoutePrefetcher, AutoRegisterPackageSurfacesOptions, PackageSurfaceLoader, PackageSurfaceOverride, PackageSurfaceOverrideRegistration, FormFieldErrors, InspectorActionProps, InspectorResourceActionsProps, ListLocateRecord, MessageApi, MutationFormError, NxCanonicalRoutePaneProps, NxActionKind, NxIconButtonProps, NxComboboxOption, NxComboboxProps, NxRefreshControlProps, NxColumnBrowserLabels, NxColumnBrowserProps, NxColumnNode, NxColumnPickerLabels, NxColumnPickerProps, NxDatePickerLabels, NxDatePickerProps, NxDateRangePickerProps, NxDateRangeValue, NxDropdownMenuItem, NxHelpTooltipProps, InsightFilterControls, InsightFilterState, InsightQueryLike, InsightRangePreset, UseInsightFilterStateOptions, NxOverviewBandCard, NxSelectOption, NxStatDelta, NxStatDeltaDirection, NxStatDeltaTone, NxTabNavItem, NxTabNavProps, NxToggleGroupItem, NxToggleGroupProps, NxTooltipAlign, NxTooltipProps, NxTooltipSide, OpenResourceWorkTab, OpenResourceWorkTabOptions, ResourceCreateCompletion, ResourceCreateCompletionInput, ResourceCreateContinuationTarget, ResourceCreateReceiverRegistration, ResourceInspectorAdapter, ResourceInspectorAdapterLoader, ResourceInspectorAdapterProps, ResourceInspectorQueryProps, ResourceInspectorAdapterRegistry, ResourceInspectorPanelProps, ResourceInspectorStack, ResourceInspectorStackHostProps, ResourceInspectorStackProviderProps, ResourceInspectorStateProps, ResourceLinkProps, ResourceListFilters, ResourceListFilterValue, ResourceListFooterConfig, ResourceListParams, ResourceListParamsControls, ResourceListRefreshConfig, ResourceListToolbarConfig, ResourceListToolbarMoreMenuProps, ResourceListToolbarViewOption, ResourcePrimaryCellProps, ResourceActionDescriptor, ResourceRef, ResourceRowActionsMenuProps, ResourceStatusBadgeProps, ResourceTableColumn, ResourceTableAccess, ResourceTableDensity, ResourceTableProps, ResourceTableBulkAction, ResourceTableSelection, ResourceTableStyle, ResourceTableSummaryRow, ResourceTableSort, TabContextActionContext, TabContextActionRegistration, DraftFieldBinding, RegisterDraftActionOptions, TabContextActionResult, ResourceTextCellProps, ToastOptions, ToastSource, UseRegisterListLocateActionOptions, UseResourceListParamsOptions, WorkSectionProps, FavoriteTarget, WorkTabRef, WorkSurfaceAction, WorkSurfaceLabelInput, WorkSurfaceLabels, WorkSurfaceProps, } from "./shell";
|
|
41
41
|
export { FavoriteButton, NEXIA_READ_ONLY_HEADER, useAppAnalytics } from "./host";
|
|
42
42
|
export type { FavoriteButtonProps } from "./host";
|
|
43
43
|
export { createSpreadsheetWorkbook } from "./spreadsheet";
|
package/dist/shell.d.ts
CHANGED
|
@@ -438,6 +438,19 @@ export interface ResourceTableAccess {
|
|
|
438
438
|
deniedAction?: ReactNode;
|
|
439
439
|
deniedTestId?: string;
|
|
440
440
|
}
|
|
441
|
+
export type ResourceTableSelection = {
|
|
442
|
+
mode: "keys";
|
|
443
|
+
keys: readonly (string | number)[];
|
|
444
|
+
} | {
|
|
445
|
+
mode: "all";
|
|
446
|
+
excludedKeys: readonly (string | number)[];
|
|
447
|
+
total: number;
|
|
448
|
+
};
|
|
449
|
+
export interface ResourceTableBulkAction {
|
|
450
|
+
icon: ReactNode;
|
|
451
|
+
tooltipKey: string;
|
|
452
|
+
onSelect: (selection: ResourceTableSelection) => void | Promise<void>;
|
|
453
|
+
}
|
|
441
454
|
export interface ResourceTableProps<T> {
|
|
442
455
|
tableId?: string;
|
|
443
456
|
label: string;
|
|
@@ -501,6 +514,8 @@ export interface ResourceTableProps<T> {
|
|
|
501
514
|
"aria-label"?: string;
|
|
502
515
|
"data-testid"?: string;
|
|
503
516
|
} | undefined;
|
|
517
|
+
/** Table-view actions. Core translates tooltipKey and manages selection. */
|
|
518
|
+
bulkActions?: readonly ResourceTableBulkAction[];
|
|
504
519
|
rowSelected?: (row: T, index: number) => boolean;
|
|
505
520
|
onRowClick?: (row: T, index: number) => void;
|
|
506
521
|
tableMinWidth?: number;
|
|
@@ -946,6 +961,8 @@ export interface NxDisclosureProps {
|
|
|
946
961
|
headingLevel?: 2 | 3 | 4 | 5 | 6;
|
|
947
962
|
/** Independent controls that stay visible while the content is closed. */
|
|
948
963
|
headerActions?: ReactNode;
|
|
964
|
+
/** Content below the title row that remains visible when the body is closed. */
|
|
965
|
+
headerSummary?: ReactNode;
|
|
949
966
|
/** Keep closed content mounted and hidden so it can retain local state. */
|
|
950
967
|
keepMounted?: boolean;
|
|
951
968
|
}
|