@nexia/sdk 0.9.9 → 0.9.11

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,12 @@ 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).
225
+
226
+ An installed App may opt a section into read-only calendar subscriptions with
227
+ `NxSectionCard.calendarSubscription={{ source, legalEntityPublicId, workContextRef }}`.
228
+ The compatible Core host owns the menu, personal URL, and revocation. The App
229
+ owns the scoped calendar source. A section may contain any view, including a list.
@@ -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,11 @@
1
+ ---
2
+ status: published
3
+ version: 0.9.11
4
+ date: 2026-12-03
5
+ title: Offer personal calendar subscriptions
6
+ description: App sections can offer Google and Apple calendar subscriptions.
7
+ ---
8
+
9
+ Use React SDK 0.9.11 with Core 0.16.1 or later. Set the optional `NxSectionCard.calendarSubscription` prop and register a calendar source that checks the user's access to their events.
10
+
11
+ [Offer personal calendar subscriptions](https://developers.nexia.to/docs/platform-extensions-resource-projections)
@@ -0,0 +1,11 @@
1
+ ---
2
+ status: published
3
+ version: 0.9.11
4
+ date: 2026-12-03
5
+ title: 개인 캘린더 구독 제공
6
+ description: 앱 섹션에 Google·Apple 캘린더 구독 메뉴를 추가할 수 있습니다.
7
+ ---
8
+
9
+ React SDK 0.9.11과 Core 0.16.1 이상을 사용하세요. 선택 속성인 `NxSectionCard.calendarSubscription`을 지정하고 사용자의 일정 조회 권한을 확인하는 앱 일정 소스를 등록하세요.
10
+
11
+ [개인 캘린더 구독 제공](https://developers.nexia.to/ko/docs/platform-extensions-resource-projections)
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;
@@ -952,6 +967,12 @@ export interface NxDisclosureProps {
952
967
  keepMounted?: boolean;
953
968
  }
954
969
  export interface NxSectionCardProps {
970
+ /** Offer a personal feed from an installed App calendar-sources GET endpoint. */
971
+ calendarSubscription?: {
972
+ source: string;
973
+ legalEntityPublicId: string;
974
+ workContextRef?: string | null;
975
+ };
955
976
  title?: ReactNode;
956
977
  description?: ReactNode;
957
978
  actions?: ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexia/sdk",
3
- "version": "0.9.9",
3
+ "version": "0.9.11",
4
4
  "description": "Frontend contracts for Nexia App Packages",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",