@nexia/sdk 0.9.9 → 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 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)
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexia/sdk",
3
- "version": "0.9.9",
3
+ "version": "0.9.10",
4
4
  "description": "Frontend contracts for Nexia App Packages",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",