@osdk/react-components 0.34.0 → 0.34.1-main-e39a72892d538f3130e2cd51cee05d83d11fa493
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/CHANGELOG.md +10 -0
- package/build/browser/action-form/ActionForm.js.map +1 -1
- package/build/browser/action-form/ActionFormApi.js.map +1 -1
- package/build/browser/action-form/BaseForm.js +3 -3
- package/build/browser/action-form/BaseForm.js.map +1 -1
- package/build/browser/action-form/FormField.js.map +1 -1
- package/build/browser/action-form/FormFieldApi.js.map +1 -1
- package/build/browser/action-form/FormHeader.js.map +1 -1
- package/build/browser/action-form/FormSection.js.map +1 -1
- package/build/browser/action-form/fields/AsyncDropdownField.js +1 -1
- package/build/browser/action-form/fields/AsyncDropdownField.js.map +1 -1
- package/build/browser/action-form/fields/CustomField.js.map +1 -1
- package/build/browser/action-form/fields/DropdownField.js +2 -2
- package/build/browser/action-form/fields/DropdownField.js.map +1 -1
- package/build/browser/action-form/fields/FieldBridge.js.map +1 -1
- package/build/browser/action-form/fields/FilePickerField.js.map +1 -1
- package/build/browser/action-form/fields/FormFieldRenderer.js.map +1 -1
- package/build/browser/action-form/fields/NumberInputField.js.map +1 -1
- package/build/browser/action-form/fields/ObjectSelectField.js.map +1 -1
- package/build/browser/action-form/fields/ObjectSetField.js.map +1 -1
- package/build/browser/action-form/fields/RadioButtonsField.js.map +1 -1
- package/build/browser/action-form/fields/SwitchField.js.map +1 -1
- package/build/browser/action-form/fields/TextAreaField.js.map +1 -1
- package/build/browser/action-form/fields/TextInputField.js.map +1 -1
- package/build/browser/action-form/utils/coerceFieldValue.js.map +1 -1
- package/build/browser/action-form/utils/extractValidationRules.js.map +1 -1
- package/build/browser/action-form/utils/getDefaultFieldDefinitions.js.map +1 -1
- package/build/browser/aip-agent-chat/AipAgentChat.js.map +1 -1
- package/build/browser/aip-agent-chat/BaseAipAgentChat.js +1 -1
- package/build/browser/aip-agent-chat/BaseAipAgentChat.js.map +1 -1
- package/build/browser/aip-agent-chat/components/AipAgentChatComposer.js.map +1 -1
- package/build/browser/aip-agent-chat/components/AipAgentChatLoader.js.map +1 -1
- package/build/browser/aip-agent-chat/components/AipAgentChatMessage.js.map +1 -1
- package/build/browser/aip-agent-chat/components/AipAgentChatMessageList.js +1 -1
- package/build/browser/aip-agent-chat/components/AipAgentChatMessageList.js.map +1 -1
- package/build/browser/aip-agent-chat/components/AipAgentChatModelPicker.js.map +1 -1
- package/build/browser/aip-agent-chat/hooks/useChatAutoScroll.js.map +1 -1
- package/build/browser/base-components/action-button/ActionButton.js.map +1 -1
- package/build/browser/base-components/callout/Callout.js.map +1 -1
- package/build/browser/base-components/checkbox/Checkbox.js.map +1 -1
- package/build/browser/base-components/combobox/Combobox.js.map +1 -1
- package/build/browser/base-components/dialog/Dialog.js.map +1 -1
- package/build/browser/base-components/draggable-list/DraggableList.js +1 -1
- package/build/browser/base-components/draggable-list/DraggableList.js.map +1 -1
- package/build/browser/base-components/icon/BlueprintIcon.js.map +1 -1
- package/build/browser/base-components/search-bar/SearchBar.js.map +1 -1
- package/build/browser/base-components/searchable-menu/SearchableMenu.js.map +1 -1
- package/build/browser/base-components/select/Select.js.map +1 -1
- package/build/browser/base-components/skeleton/SkeletonBar.js.map +1 -1
- package/build/browser/base-components/switch/Switch.js.map +1 -1
- package/build/browser/base-components/tooltip/Tooltip.js.map +1 -1
- package/build/browser/cbac-picker/CbacBanner.js.map +1 -1
- package/build/browser/cbac-picker/CbacBannerPopover.js.map +1 -1
- package/build/browser/cbac-picker/CbacPicker.js.map +1 -1
- package/build/browser/cbac-picker/CbacPickerDialog.js.map +1 -1
- package/build/browser/cbac-picker/base/BaseCbacBanner.js.map +1 -1
- package/build/browser/cbac-picker/base/BaseCbacBannerPopover.js.map +1 -1
- package/build/browser/cbac-picker/base/BaseCbacPicker.js +1 -1
- package/build/browser/cbac-picker/base/BaseCbacPicker.js.map +1 -1
- package/build/browser/cbac-picker/base/BaseCbacPickerDialog.js.map +1 -1
- package/build/browser/cbac-picker/base/CategoryMarkingGroup.js +1 -1
- package/build/browser/cbac-picker/base/CategoryMarkingGroup.js.map +1 -1
- package/build/browser/cbac-picker/base/CbacPickerDialogFooter.js.map +1 -1
- package/build/browser/cbac-picker/base/InfoBanner.js.map +1 -1
- package/build/browser/cbac-picker/base/MarkingButton.js +1 -1
- package/build/browser/cbac-picker/base/MarkingButton.js.map +1 -1
- package/build/browser/cbac-picker/base/MaxClassificationField.js.map +1 -1
- package/build/browser/cbac-picker/base/OverflowButton.js +1 -1
- package/build/browser/cbac-picker/base/OverflowButton.js.map +1 -1
- package/build/browser/cbac-picker/base/OverflowItem.js +1 -1
- package/build/browser/cbac-picker/base/OverflowItem.js.map +1 -1
- package/build/browser/cbac-picker/base/ValidationWarning.js.map +1 -1
- package/build/browser/cbac-picker/base/selectionStateHelpers.js.map +1 -1
- package/build/browser/cbac-picker/useCbacPickerState.js.map +1 -1
- package/build/browser/cbac-picker/useCbacSelection.js.map +1 -1
- package/build/browser/cbac-picker/useConstraintCallout.js.map +1 -1
- package/build/browser/cbac-picker/utils/cbacPickerUtils.js.map +1 -1
- package/build/browser/cbac-picker/utils/errorMessages.js.map +1 -1
- package/build/browser/cbac-picker/utils/selectionLogic.js.map +1 -1
- package/build/browser/cbac-picker/utils/validationMessages.js.map +1 -1
- package/build/browser/document-viewer/DocumentViewer.js +1 -1
- package/build/browser/document-viewer/DocumentViewer.js.map +1 -1
- package/build/browser/document-viewer/DocumentViewerApi.js.map +1 -1
- package/build/browser/document-viewer/TiffDocumentViewer.js +1 -1
- package/build/browser/document-viewer/TiffDocumentViewer.js.map +1 -1
- package/build/browser/document-viewer/hooks/useTiffToPdf.js.map +1 -1
- package/build/browser/email-viewer/BaseEmailViewer.js.map +1 -1
- package/build/browser/email-viewer/EmailViewer.js +1 -1
- package/build/browser/email-viewer/EmailViewer.js.map +1 -1
- package/build/browser/email-viewer/EmailViewerApi.js.map +1 -1
- package/build/browser/email-viewer/parseEmail.js.map +1 -1
- package/build/browser/excel-viewer/BaseExcelViewer.js +1 -0
- package/build/browser/excel-viewer/BaseExcelViewer.js.map +1 -1
- package/build/browser/excel-viewer/ExcelViewer.js +1 -1
- package/build/browser/excel-viewer/ExcelViewer.js.map +1 -1
- package/build/browser/excel-viewer/ExcelViewerApi.js.map +1 -1
- package/build/browser/excel-viewer/parseSpreadsheet.js.map +1 -1
- package/build/browser/filter-list/FilterInput.js.map +1 -1
- package/build/browser/filter-list/FilterList.js.map +1 -1
- package/build/browser/filter-list/FilterListApi.js.map +1 -1
- package/build/browser/filter-list/FilterListItemApi.js.map +1 -1
- package/build/browser/filter-list/base/AddFilterPopover.js +1 -1
- package/build/browser/filter-list/base/AddFilterPopover.js.map +1 -1
- package/build/browser/filter-list/base/BaseFilterList.js +1 -1
- package/build/browser/filter-list/base/BaseFilterList.js.map +1 -1
- package/build/browser/filter-list/base/BaseFilterListApi.js.map +1 -1
- package/build/browser/filter-list/base/ExcludeDropdown.js +1 -1
- package/build/browser/filter-list/base/ExcludeDropdown.js.map +1 -1
- package/build/browser/filter-list/base/FilterInputExcludeRow.js.map +1 -1
- package/build/browser/filter-list/base/FilterListContent.js +1 -1
- package/build/browser/filter-list/base/FilterListContent.js.map +1 -1
- package/build/browser/filter-list/base/FilterListHeader.js.map +1 -1
- package/build/browser/filter-list/base/FilterListItem.js.map +1 -1
- package/build/browser/filter-list/base/FilterPopover.js.map +1 -1
- package/build/browser/filter-list/base/SortableFilterListItem.js.map +1 -1
- package/build/browser/filter-list/base/inputs/ContainsTextInput.js.map +1 -1
- package/build/browser/filter-list/base/inputs/DateRangeHistogramInput.js.map +1 -1
- package/build/browser/filter-list/base/inputs/EmptyStringLabel.js +1 -0
- package/build/browser/filter-list/base/inputs/EmptyStringLabel.js.map +1 -1
- package/build/browser/filter-list/base/inputs/HistogramTooltip.js.map +1 -1
- package/build/browser/filter-list/base/inputs/ListogramInput.js +2 -2
- package/build/browser/filter-list/base/inputs/ListogramInput.js.map +1 -1
- package/build/browser/filter-list/base/inputs/ListogramSkeleton.js.map +1 -1
- package/build/browser/filter-list/base/inputs/MultiDateInput.js.map +1 -1
- package/build/browser/filter-list/base/inputs/MultiSelectDropdownLayout.js.map +1 -1
- package/build/browser/filter-list/base/inputs/MultiSelectInlineLayout.js.map +1 -1
- package/build/browser/filter-list/base/inputs/MultiSelectInput.js +2 -2
- package/build/browser/filter-list/base/inputs/MultiSelectInput.js.map +1 -1
- package/build/browser/filter-list/base/inputs/NoValueLabel.js.map +1 -1
- package/build/browser/filter-list/base/inputs/NullValueWrapper.js.map +1 -1
- package/build/browser/filter-list/base/inputs/NumberRangeInput.js.map +1 -1
- package/build/browser/filter-list/base/inputs/OptionLabel.js.map +1 -1
- package/build/browser/filter-list/base/inputs/RangeInput.js +1 -1
- package/build/browser/filter-list/base/inputs/RangeInput.js.map +1 -1
- package/build/browser/filter-list/base/inputs/SelectInputSkeleton.js.map +1 -1
- package/build/browser/filter-list/base/inputs/SingleDateInput.js.map +1 -1
- package/build/browser/filter-list/base/inputs/SingleSelectInput.js +1 -1
- package/build/browser/filter-list/base/inputs/SingleSelectInput.js.map +1 -1
- package/build/browser/filter-list/base/inputs/TextTagsInput.js.map +1 -1
- package/build/browser/filter-list/base/inputs/TimelineInput.js.map +1 -1
- package/build/browser/filter-list/base/inputs/ToggleInput.js.map +1 -1
- package/build/browser/filter-list/base/inputs/comboboxFilter.js.map +1 -1
- package/build/browser/filter-list/base/inputs/createDateHistogramBuckets.js.map +1 -1
- package/build/browser/filter-list/base/inputs/createHistogramBuckets.js.map +1 -1
- package/build/browser/filter-list/hooks/useDualScopeAggregation.js.map +1 -1
- package/build/browser/filter-list/hooks/useFilterListState.js.map +1 -1
- package/build/browser/filter-list/hooks/useFilterPropertyAggregation.js.map +1 -1
- package/build/browser/filter-list/hooks/useFilterVisibility.js.map +1 -1
- package/build/browser/filter-list/hooks/usePropertyAggregation.js.map +1 -1
- package/build/browser/filter-list/inputs/ContainsTextFilterInput.js.map +1 -1
- package/build/browser/filter-list/inputs/DateRangeFilterInput.js.map +1 -1
- package/build/browser/filter-list/inputs/LinkedPropertyInput.js +1 -1
- package/build/browser/filter-list/inputs/LinkedPropertyInput.js.map +1 -1
- package/build/browser/filter-list/inputs/ListogramFilterInput.js.map +1 -1
- package/build/browser/filter-list/inputs/MultiDateFilterInput.js.map +1 -1
- package/build/browser/filter-list/inputs/MultiSelectFilterInput.js.map +1 -1
- package/build/browser/filter-list/inputs/NumberRangeFilterInput.js.map +1 -1
- package/build/browser/filter-list/inputs/PropertyFilterInput.js.map +1 -1
- package/build/browser/filter-list/inputs/SingleDateFilterInput.js.map +1 -1
- package/build/browser/filter-list/inputs/SingleSelectFilterInput.js.map +1 -1
- package/build/browser/filter-list/inputs/StaticValuesFilterInput.js.map +1 -1
- package/build/browser/filter-list/inputs/TextTagsFilterInput.js.map +1 -1
- package/build/browser/filter-list/inputs/TimelineFilterInput.js.map +1 -1
- package/build/browser/filter-list/inputs/ToggleFilterInput.js.map +1 -1
- package/build/browser/filter-list/types/CustomRendererTypes.js.map +1 -1
- package/build/browser/filter-list/types/KeywordSearchTypes.js.map +1 -1
- package/build/browser/filter-list/types/LinkedFilterTypes.js.map +1 -1
- package/build/browser/filter-list/types/StaticValuesTypes.js.map +1 -1
- package/build/browser/filter-list/utils/aggregationHelpers.js.map +1 -1
- package/build/browser/filter-list/utils/coerceFilterValue.js.map +1 -1
- package/build/browser/filter-list/utils/emptyFilterDisplayState.js.map +1 -1
- package/build/browser/filter-list/utils/filterStateSerialization.js.map +1 -1
- package/build/browser/filter-list/utils/filterStateToWhereClause.js.map +1 -1
- package/build/browser/filter-list/utils/filterValues.js.map +1 -1
- package/build/browser/filter-list/utils/getFilterKey.js.map +1 -1
- package/build/browser/filter-list/utils/getFilterLabel.js.map +1 -1
- package/build/browser/filter-list/utils/narrowObjectSet.js.map +1 -1
- package/build/browser/filter-list/utils/summarizeFilterValue.js.map +1 -1
- package/build/browser/images/image-viewer/BaseImageViewer.js.map +1 -1
- package/build/browser/images/image-viewer/ImageViewer.js.map +1 -1
- package/build/browser/images/image-viewer/ImageViewerApi.js.map +1 -1
- package/build/browser/images/tiff-renderer/TiffRenderer.js +1 -0
- package/build/browser/images/tiff-renderer/TiffRenderer.js.map +1 -1
- package/build/browser/images/tiff-renderer/TiffViewerMedia.js.map +1 -1
- package/build/browser/markdown-renderer/MarkdownRenderer.js.map +1 -1
- package/build/browser/markdown-renderer/MarkdownViewerMedia.js.map +1 -1
- package/build/browser/object-table/CellContextMenu.js.map +1 -1
- package/build/browser/object-table/ColumnConfigDialog.js.map +1 -1
- package/build/browser/object-table/DefaultCellRenderer.js +4 -3
- package/build/browser/object-table/DefaultCellRenderer.js.map +1 -1
- package/build/browser/object-table/EditableCell.js +1 -1
- package/build/browser/object-table/EditableCell.js.map +1 -1
- package/build/browser/object-table/LoadingCell.js.map +1 -1
- package/build/browser/object-table/LoadingRow.js +1 -1
- package/build/browser/object-table/LoadingRow.js.map +1 -1
- package/build/browser/object-table/LoadingStateTable.js +3 -3
- package/build/browser/object-table/LoadingStateTable.js.map +1 -1
- package/build/browser/object-table/MultiColumnSortDialog.js +1 -1
- package/build/browser/object-table/MultiColumnSortDialog.js.map +1 -1
- package/build/browser/object-table/NonIdealState.js.map +1 -1
- package/build/browser/object-table/ObjectTable.js.map +1 -1
- package/build/browser/object-table/ObjectTableApi.js.map +1 -1
- package/build/browser/object-table/SelectionCells.js.map +1 -1
- package/build/browser/object-table/SortableItemsList.js.map +1 -1
- package/build/browser/object-table/Table.js +1 -1
- package/build/browser/object-table/Table.js.map +1 -1
- package/build/browser/object-table/TableBody.js +1 -1
- package/build/browser/object-table/TableBody.js.map +1 -1
- package/build/browser/object-table/TableCell.js +1 -1
- package/build/browser/object-table/TableCell.js.map +1 -1
- package/build/browser/object-table/TableEditContainer.js.map +1 -1
- package/build/browser/object-table/TableHeader.js +1 -1
- package/build/browser/object-table/TableHeader.js.map +1 -1
- package/build/browser/object-table/TableHeaderContent.js.map +1 -1
- package/build/browser/object-table/TableHeaderWithPopover.js.map +1 -1
- package/build/browser/object-table/TableRow.js.map +1 -1
- package/build/browser/object-table/components/AsyncValueCell.js.map +1 -1
- package/build/browser/object-table/components/CbacMarkingCell.js.map +1 -1
- package/build/browser/object-table/components/DatePickerCellField.js +1 -1
- package/build/browser/object-table/components/DatePickerCellField.js.map +1 -1
- package/build/browser/object-table/components/DropdownCellField.js +1 -1
- package/build/browser/object-table/components/DropdownCellField.js.map +1 -1
- package/build/browser/object-table/components/MandatoryMarkingCell.js.map +1 -1
- package/build/browser/object-table/components/ReadonlyDisplayCell.js.map +1 -1
- package/build/browser/object-table/components/TextInputCellField.js.map +1 -1
- package/build/browser/object-table/hooks/useCellContextMenu.js.map +1 -1
- package/build/browser/object-table/hooks/useColumnDefs.js.map +1 -1
- package/build/browser/object-table/hooks/useColumnPinning.js.map +1 -1
- package/build/browser/object-table/hooks/useColumnResize.js.map +1 -1
- package/build/browser/object-table/hooks/useColumnVisibility.js.map +1 -1
- package/build/browser/object-table/hooks/useEditableTable.js.map +1 -1
- package/build/browser/object-table/hooks/useFocusedRow.js.map +1 -1
- package/build/browser/object-table/hooks/useFunctionColumnsData.js.map +1 -1
- package/build/browser/object-table/hooks/useObjectTableData.js.map +1 -1
- package/build/browser/object-table/hooks/useObjectTableSnapshot.js.map +1 -1
- package/build/browser/object-table/hooks/useRowSelection.js.map +1 -1
- package/build/browser/object-table/hooks/useSelectionColumn.js.map +1 -1
- package/build/browser/object-table/hooks/useTableSorting.js.map +1 -1
- package/build/browser/object-table/utils/AsyncCellData.js.map +1 -1
- package/build/browser/object-table/utils/PortalTracker.js.map +1 -1
- package/build/browser/object-table/utils/deriveSelectionObjectSet.js.map +1 -1
- package/build/browser/object-table/utils/editableUtils.js.map +1 -1
- package/build/browser/object-table/utils/functionColumns.js.map +1 -1
- package/build/browser/object-table/utils/getColumnPinningStyles.js.map +1 -1
- package/build/browser/object-table/utils/getRowId.js.map +1 -1
- package/build/browser/object-table/utils/objectTableSnapshot.js.map +1 -1
- package/build/browser/object-table/utils/shouldShowEditableCell.js.map +1 -1
- package/build/browser/object-table/utils/types.js.map +1 -1
- package/build/browser/pdf-viewer/PdfRenderer.js.map +1 -1
- package/build/browser/pdf-viewer/PdfViewer.js.map +1 -1
- package/build/browser/pdf-viewer/PdfViewerContext.js.map +1 -1
- package/build/browser/pdf-viewer/components/PdfAnnotationOverlay.js.map +1 -1
- package/build/browser/pdf-viewer/components/PdfViewerAnnotationLayer.js.map +1 -1
- package/build/browser/pdf-viewer/components/PdfViewerContent.js +1 -1
- package/build/browser/pdf-viewer/components/PdfViewerContent.js.map +1 -1
- package/build/browser/pdf-viewer/components/PdfViewerOutlineSidebar.js +1 -1
- package/build/browser/pdf-viewer/components/PdfViewerOutlineSidebar.js.map +1 -1
- package/build/browser/pdf-viewer/components/PdfViewerSearchBar.js.map +1 -1
- package/build/browser/pdf-viewer/components/PdfViewerSidebar.js +1 -1
- package/build/browser/pdf-viewer/components/PdfViewerSidebar.js.map +1 -1
- package/build/browser/pdf-viewer/components/PdfViewerSidebarHeader.js.map +1 -1
- package/build/browser/pdf-viewer/components/PdfViewerThumbnail.js.map +1 -1
- package/build/browser/pdf-viewer/components/PdfViewerToolbar.js.map +1 -1
- package/build/browser/pdf-viewer/constants.js.map +1 -1
- package/build/browser/pdf-viewer/hooks/usePdfAnnotationPortals.js.map +1 -1
- package/build/browser/pdf-viewer/hooks/usePdfAnnotationsByPage.js.map +1 -1
- package/build/browser/pdf-viewer/hooks/usePdfDocument.js.map +1 -1
- package/build/browser/pdf-viewer/hooks/usePdfFormFields.js.map +1 -1
- package/build/browser/pdf-viewer/hooks/usePdfHighlightMode.js.map +1 -1
- package/build/browser/pdf-viewer/hooks/usePdfOutline.js.map +1 -1
- package/build/browser/pdf-viewer/hooks/usePdfViewer.js.map +1 -1
- package/build/browser/pdf-viewer/hooks/usePdfViewerCore.js.map +1 -1
- package/build/browser/pdf-viewer/hooks/usePdfViewerSearch.js.map +1 -1
- package/build/browser/pdf-viewer/hooks/usePdfViewerState.js.map +1 -1
- package/build/browser/pdf-viewer/hooks/usePdfViewerSync.js.map +1 -1
- package/build/browser/public/experimental/action-form.js.map +1 -1
- package/build/browser/public/experimental/cbac-picker.js.map +1 -1
- package/build/browser/public/experimental/document-viewer.js.map +1 -1
- package/build/browser/public/experimental/email-viewer.js.map +1 -1
- package/build/browser/public/experimental/excel-viewer.js.map +1 -1
- package/build/browser/public/experimental/filter-list.js.map +1 -1
- package/build/browser/public/experimental/image-viewer.js.map +1 -1
- package/build/browser/public/experimental/markdown-renderer.js.map +1 -1
- package/build/browser/public/experimental/object-table.js.map +1 -1
- package/build/browser/public/experimental/pdf-viewer.js.map +1 -1
- package/build/browser/public/experimental/tiff-renderer.js.map +1 -1
- package/build/browser/public/experimental/video-viewer.js.map +1 -1
- package/build/browser/public/experimental/xml-viewer.js.map +1 -1
- package/build/browser/shared/ErrorBoundary.js.map +1 -1
- package/build/browser/shared/PortalContainerContext.js.map +1 -1
- package/build/browser/shared/PortalDismissLayer.js.map +1 -1
- package/build/browser/shared/calendar/DateCalendar.js +1 -1
- package/build/browser/shared/calendar/DateCalendar.js.map +1 -1
- package/build/browser/shared/calendar/DatePicker.js +2 -2
- package/build/browser/shared/calendar/DatePicker.js.map +1 -1
- package/build/browser/shared/calendar/DateRangeCalendar.js.map +1 -1
- package/build/browser/shared/calendar/DateRangePicker.js +2 -2
- package/build/browser/shared/calendar/DateRangePicker.js.map +1 -1
- package/build/browser/shared/calendar/LazyDateCalendar.js.map +1 -1
- package/build/browser/shared/calendar/LazyDateRangeCalendar.js.map +1 -1
- package/build/browser/shared/calendar/TimePicker.js.map +1 -1
- package/build/browser/shared/calendar/calendarShared.js.map +1 -1
- package/build/browser/shared/calendar/useDateEditState.js.map +1 -1
- package/build/browser/shared/dateUtils.js.map +1 -1
- package/build/browser/shared/hooks/useAsyncAction.js.map +1 -1
- package/build/browser/shared/hooks/useDebouncedValue.js.map +1 -1
- package/build/browser/shared/hooks/useEventCallback.js.map +1 -1
- package/build/browser/shared/hooks/useInfiniteScroll.js.map +1 -1
- package/build/browser/shared/hooks/useMediaContents.js.map +1 -1
- package/build/browser/theme/OsdkThemeContext.js.map +1 -1
- package/build/browser/theme/OsdkThemeProvider.js.map +1 -1
- package/build/browser/theme/useOsdkTheme.js.map +1 -1
- package/build/browser/theme/useSystemTheme.js.map +1 -1
- package/build/browser/util/UserAgent.js +1 -1
- package/build/browser/util/UserAgent.js.map +1 -1
- package/build/browser/util/withOsdkMetrics.js.map +1 -1
- package/build/browser/video-viewer/BaseVideoViewer.js.map +1 -1
- package/build/browser/video-viewer/VideoViewer.js.map +1 -1
- package/build/browser/video-viewer/VideoViewerApi.js.map +1 -1
- package/build/browser/xml-viewer/BaseXmlViewer.js.map +1 -1
- package/build/browser/xml-viewer/XmlViewer.js.map +1 -1
- package/build/browser/xml-viewer/XmlViewerApi.js.map +1 -1
- package/build/cjs/{DateCalendar-OCDSESQR.cjs → DateCalendar-FCZXD24P.cjs} +6 -6
- package/build/cjs/{DateCalendar-OCDSESQR.cjs.map → DateCalendar-FCZXD24P.cjs.map} +1 -1
- package/build/cjs/{DateCalendar-FTW3OIEP.css → DateCalendar-VBZGPZ5P.css} +39 -39
- package/build/cjs/DateCalendar-VBZGPZ5P.css.map +1 -0
- package/build/cjs/{DateRangeCalendar-I4JHCZAK.css → DateRangeCalendar-2M2I5Q3Z.css} +39 -39
- package/build/cjs/DateRangeCalendar-2M2I5Q3Z.css.map +1 -0
- package/build/cjs/DateRangeCalendar-XN2ZWAFK.cjs +12 -0
- package/build/cjs/{DateRangeCalendar-PHC3VPW3.cjs.map → DateRangeCalendar-XN2ZWAFK.cjs.map} +1 -1
- package/build/cjs/{chunk-DA22W6ZO.cjs → chunk-BE226IHU.cjs} +8 -8
- package/build/cjs/chunk-BE226IHU.cjs.map +1 -0
- package/build/cjs/{chunk-XWT6S3FL.cjs → chunk-BFRUHBWM.cjs} +12 -12
- package/build/cjs/{chunk-XWT6S3FL.cjs.map → chunk-BFRUHBWM.cjs.map} +1 -1
- package/build/cjs/chunk-CXMIRPQU.cjs +11 -0
- package/build/cjs/{chunk-PYOEFNQH.cjs.map → chunk-CXMIRPQU.cjs.map} +1 -1
- package/build/cjs/{chunk-CASYBF4M.cjs → chunk-ENE2RWIL.cjs} +25 -23
- package/build/cjs/chunk-ENE2RWIL.cjs.map +1 -0
- package/build/cjs/{chunk-IHVPE5CD.cjs → chunk-G6AOIKDH.cjs} +66 -66
- package/build/cjs/chunk-G6AOIKDH.cjs.map +1 -0
- package/build/cjs/{chunk-U74WOMFV.cjs → chunk-GJ2KJKWI.cjs} +17 -17
- package/build/cjs/{chunk-U74WOMFV.cjs.map → chunk-GJ2KJKWI.cjs.map} +1 -1
- package/build/cjs/chunk-HBU5ZLVP.cjs +11 -0
- package/build/cjs/{chunk-F4JELV7M.cjs.map → chunk-HBU5ZLVP.cjs.map} +1 -1
- package/build/cjs/{chunk-KNZXFIIH.cjs → chunk-HWWTZKC5.cjs} +24 -24
- package/build/cjs/{chunk-KNZXFIIH.cjs.map → chunk-HWWTZKC5.cjs.map} +1 -1
- package/build/cjs/{chunk-YTDSW5OV.cjs → chunk-IHTYJU2F.cjs} +29 -28
- package/build/cjs/chunk-IHTYJU2F.cjs.map +1 -0
- package/build/cjs/{chunk-5KTGUKJT.cjs → chunk-JCN6P3YW.cjs} +4 -4
- package/build/cjs/{chunk-5KTGUKJT.cjs.map → chunk-JCN6P3YW.cjs.map} +1 -1
- package/build/cjs/{chunk-XK4H7EHE.cjs → chunk-KQ4B2XDH.cjs} +5 -5
- package/build/cjs/chunk-KQ4B2XDH.cjs.map +1 -0
- package/build/cjs/{chunk-IISDOJPR.cjs → chunk-LB3IHFAB.cjs} +2 -2
- package/build/cjs/{chunk-IISDOJPR.cjs.map → chunk-LB3IHFAB.cjs.map} +1 -1
- package/build/cjs/{chunk-PUQBJVFU.cjs → chunk-MUDJXY6I.cjs} +22 -22
- package/build/cjs/{chunk-PUQBJVFU.cjs.map → chunk-MUDJXY6I.cjs.map} +1 -1
- package/build/cjs/chunk-NN5IHTYW.cjs +11 -0
- package/build/cjs/{chunk-W6DWGABB.cjs.map → chunk-NN5IHTYW.cjs.map} +1 -1
- package/build/cjs/{chunk-PKJFOG2Z.cjs → chunk-OISZU73V.cjs} +2 -2
- package/build/cjs/{chunk-PKJFOG2Z.cjs.map → chunk-OISZU73V.cjs.map} +1 -1
- package/build/cjs/chunk-PPVWOEYX.cjs +11 -0
- package/build/cjs/{chunk-VRTFHF24.cjs.map → chunk-PPVWOEYX.cjs.map} +1 -1
- package/build/cjs/{chunk-3SJODG6U.cjs → chunk-S2FQCZAB.cjs} +2 -2
- package/build/cjs/{chunk-3SJODG6U.cjs.map → chunk-S2FQCZAB.cjs.map} +1 -1
- package/build/cjs/{chunk-4VNWCW75.cjs → chunk-V3ZJM4N2.cjs} +16 -16
- package/build/cjs/chunk-V3ZJM4N2.cjs.map +1 -0
- package/build/cjs/{chunk-MMPVBH5H.cjs → chunk-VT7TNOMD.cjs} +24 -21
- package/build/cjs/chunk-VT7TNOMD.cjs.map +1 -0
- package/build/cjs/chunk-WKKN2KJU.cjs +11 -0
- package/build/cjs/{chunk-Q5H4KPSL.cjs.map → chunk-WKKN2KJU.cjs.map} +1 -1
- package/build/cjs/{chunk-WE4REEMW.cjs → chunk-YIBSLDUU.cjs} +3 -3
- package/build/cjs/chunk-YIBSLDUU.cjs.map +1 -0
- package/build/cjs/chunk-YK3PUDSD.cjs +11 -0
- package/build/cjs/{chunk-LGGRMQCE.cjs.map → chunk-YK3PUDSD.cjs.map} +1 -1
- package/build/cjs/public/experimental/action-form.cjs +8 -8
- package/build/cjs/public/experimental/action-form.css +98 -98
- package/build/cjs/public/experimental/action-form.css.map +1 -1
- package/build/cjs/public/experimental/aip-agent-chat.cjs +2 -0
- package/build/cjs/public/experimental/aip-agent-chat.cjs.map +1 -1
- package/build/cjs/public/experimental/cbac-picker.cjs +11 -11
- package/build/cjs/public/experimental/cbac-picker.css +110 -110
- package/build/cjs/public/experimental/cbac-picker.css.map +1 -1
- package/build/cjs/public/experimental/document-viewer.cjs +8 -8
- package/build/cjs/public/experimental/document-viewer.css +72 -72
- package/build/cjs/public/experimental/document-viewer.css.map +1 -1
- package/build/cjs/public/experimental/email-viewer.cjs +5 -5
- package/build/cjs/public/experimental/excel-viewer.cjs +5 -5
- package/build/cjs/public/experimental/filter-list.cjs +18 -18
- package/build/cjs/public/experimental/filter-list.css +225 -225
- package/build/cjs/public/experimental/filter-list.css.map +1 -1
- package/build/cjs/public/experimental/image-viewer.cjs +3 -3
- package/build/cjs/public/experimental/markdown-renderer.cjs +3 -3
- package/build/cjs/public/experimental/object-table.cjs +12 -12
- package/build/cjs/public/experimental/object-table.css +151 -151
- package/build/cjs/public/experimental/object-table.css.map +1 -1
- package/build/cjs/public/experimental/pdf-viewer.cjs +25 -25
- package/build/cjs/public/experimental/pdf-viewer.css +72 -72
- package/build/cjs/public/experimental/pdf-viewer.css.map +1 -1
- package/build/cjs/public/experimental/pdf-viewer.d.cts +1 -1
- package/build/cjs/public/experimental/tiff-renderer.cjs +5 -5
- package/build/cjs/public/experimental/video-viewer.cjs +3 -3
- package/build/cjs/public/experimental/xml-viewer.cjs +3 -3
- package/build/cjs/public/experimental.cjs +86 -86
- package/build/cjs/public/experimental.css +632 -632
- package/build/cjs/public/experimental.css.map +1 -1
- package/build/esm/action-form/ActionForm.js.map +1 -1
- package/build/esm/action-form/ActionFormApi.js.map +1 -1
- package/build/esm/action-form/BaseForm.js +3 -3
- package/build/esm/action-form/BaseForm.js.map +1 -1
- package/build/esm/action-form/FormField.js.map +1 -1
- package/build/esm/action-form/FormFieldApi.js.map +1 -1
- package/build/esm/action-form/FormHeader.js.map +1 -1
- package/build/esm/action-form/FormSection.js.map +1 -1
- package/build/esm/action-form/fields/AsyncDropdownField.js +1 -1
- package/build/esm/action-form/fields/AsyncDropdownField.js.map +1 -1
- package/build/esm/action-form/fields/CustomField.js.map +1 -1
- package/build/esm/action-form/fields/DropdownField.js +2 -2
- package/build/esm/action-form/fields/DropdownField.js.map +1 -1
- package/build/esm/action-form/fields/FieldBridge.js.map +1 -1
- package/build/esm/action-form/fields/FilePickerField.js.map +1 -1
- package/build/esm/action-form/fields/FormFieldRenderer.js.map +1 -1
- package/build/esm/action-form/fields/NumberInputField.js.map +1 -1
- package/build/esm/action-form/fields/ObjectSelectField.js.map +1 -1
- package/build/esm/action-form/fields/ObjectSetField.js.map +1 -1
- package/build/esm/action-form/fields/RadioButtonsField.js.map +1 -1
- package/build/esm/action-form/fields/SwitchField.js.map +1 -1
- package/build/esm/action-form/fields/TextAreaField.js.map +1 -1
- package/build/esm/action-form/fields/TextInputField.js.map +1 -1
- package/build/esm/action-form/utils/coerceFieldValue.js.map +1 -1
- package/build/esm/action-form/utils/extractValidationRules.js.map +1 -1
- package/build/esm/action-form/utils/getDefaultFieldDefinitions.js.map +1 -1
- package/build/esm/aip-agent-chat/AipAgentChat.js.map +1 -1
- package/build/esm/aip-agent-chat/BaseAipAgentChat.js +1 -1
- package/build/esm/aip-agent-chat/BaseAipAgentChat.js.map +1 -1
- package/build/esm/aip-agent-chat/components/AipAgentChatComposer.js.map +1 -1
- package/build/esm/aip-agent-chat/components/AipAgentChatLoader.js.map +1 -1
- package/build/esm/aip-agent-chat/components/AipAgentChatMessage.js.map +1 -1
- package/build/esm/aip-agent-chat/components/AipAgentChatMessageList.js +1 -1
- package/build/esm/aip-agent-chat/components/AipAgentChatMessageList.js.map +1 -1
- package/build/esm/aip-agent-chat/components/AipAgentChatModelPicker.js.map +1 -1
- package/build/esm/aip-agent-chat/hooks/useChatAutoScroll.js.map +1 -1
- package/build/esm/base-components/action-button/ActionButton.js.map +1 -1
- package/build/esm/base-components/callout/Callout.js.map +1 -1
- package/build/esm/base-components/checkbox/Checkbox.js.map +1 -1
- package/build/esm/base-components/combobox/Combobox.js.map +1 -1
- package/build/esm/base-components/dialog/Dialog.js.map +1 -1
- package/build/esm/base-components/draggable-list/DraggableList.js +1 -1
- package/build/esm/base-components/draggable-list/DraggableList.js.map +1 -1
- package/build/esm/base-components/icon/BlueprintIcon.js.map +1 -1
- package/build/esm/base-components/search-bar/SearchBar.js.map +1 -1
- package/build/esm/base-components/searchable-menu/SearchableMenu.js.map +1 -1
- package/build/esm/base-components/select/Select.js.map +1 -1
- package/build/esm/base-components/skeleton/SkeletonBar.js.map +1 -1
- package/build/esm/base-components/switch/Switch.js.map +1 -1
- package/build/esm/base-components/tooltip/Tooltip.js.map +1 -1
- package/build/esm/cbac-picker/CbacBanner.js.map +1 -1
- package/build/esm/cbac-picker/CbacBannerPopover.js.map +1 -1
- package/build/esm/cbac-picker/CbacPicker.js.map +1 -1
- package/build/esm/cbac-picker/CbacPickerDialog.js.map +1 -1
- package/build/esm/cbac-picker/base/BaseCbacBanner.js.map +1 -1
- package/build/esm/cbac-picker/base/BaseCbacBannerPopover.js.map +1 -1
- package/build/esm/cbac-picker/base/BaseCbacPicker.js +1 -1
- package/build/esm/cbac-picker/base/BaseCbacPicker.js.map +1 -1
- package/build/esm/cbac-picker/base/BaseCbacPickerDialog.js.map +1 -1
- package/build/esm/cbac-picker/base/CategoryMarkingGroup.js +1 -1
- package/build/esm/cbac-picker/base/CategoryMarkingGroup.js.map +1 -1
- package/build/esm/cbac-picker/base/CbacPickerDialogFooter.js.map +1 -1
- package/build/esm/cbac-picker/base/InfoBanner.js.map +1 -1
- package/build/esm/cbac-picker/base/MarkingButton.js +1 -1
- package/build/esm/cbac-picker/base/MarkingButton.js.map +1 -1
- package/build/esm/cbac-picker/base/MaxClassificationField.js.map +1 -1
- package/build/esm/cbac-picker/base/OverflowButton.js +1 -1
- package/build/esm/cbac-picker/base/OverflowButton.js.map +1 -1
- package/build/esm/cbac-picker/base/OverflowItem.js +1 -1
- package/build/esm/cbac-picker/base/OverflowItem.js.map +1 -1
- package/build/esm/cbac-picker/base/ValidationWarning.js.map +1 -1
- package/build/esm/cbac-picker/base/selectionStateHelpers.js.map +1 -1
- package/build/esm/cbac-picker/useCbacPickerState.js.map +1 -1
- package/build/esm/cbac-picker/useCbacSelection.js.map +1 -1
- package/build/esm/cbac-picker/useConstraintCallout.js.map +1 -1
- package/build/esm/cbac-picker/utils/cbacPickerUtils.js.map +1 -1
- package/build/esm/cbac-picker/utils/errorMessages.js.map +1 -1
- package/build/esm/cbac-picker/utils/selectionLogic.js.map +1 -1
- package/build/esm/cbac-picker/utils/validationMessages.js.map +1 -1
- package/build/esm/document-viewer/DocumentViewer.js +1 -1
- package/build/esm/document-viewer/DocumentViewer.js.map +1 -1
- package/build/esm/document-viewer/DocumentViewerApi.js.map +1 -1
- package/build/esm/document-viewer/TiffDocumentViewer.js +1 -1
- package/build/esm/document-viewer/TiffDocumentViewer.js.map +1 -1
- package/build/esm/document-viewer/hooks/useTiffToPdf.js.map +1 -1
- package/build/esm/email-viewer/BaseEmailViewer.js.map +1 -1
- package/build/esm/email-viewer/EmailViewer.js +1 -1
- package/build/esm/email-viewer/EmailViewer.js.map +1 -1
- package/build/esm/email-viewer/EmailViewerApi.js.map +1 -1
- package/build/esm/email-viewer/parseEmail.js.map +1 -1
- package/build/esm/excel-viewer/BaseExcelViewer.js +1 -0
- package/build/esm/excel-viewer/BaseExcelViewer.js.map +1 -1
- package/build/esm/excel-viewer/ExcelViewer.js +1 -1
- package/build/esm/excel-viewer/ExcelViewer.js.map +1 -1
- package/build/esm/excel-viewer/ExcelViewerApi.js.map +1 -1
- package/build/esm/excel-viewer/parseSpreadsheet.js.map +1 -1
- package/build/esm/filter-list/FilterInput.js.map +1 -1
- package/build/esm/filter-list/FilterList.js.map +1 -1
- package/build/esm/filter-list/FilterListApi.js.map +1 -1
- package/build/esm/filter-list/FilterListItemApi.js.map +1 -1
- package/build/esm/filter-list/base/AddFilterPopover.js +1 -1
- package/build/esm/filter-list/base/AddFilterPopover.js.map +1 -1
- package/build/esm/filter-list/base/BaseFilterList.js +1 -1
- package/build/esm/filter-list/base/BaseFilterList.js.map +1 -1
- package/build/esm/filter-list/base/BaseFilterListApi.js.map +1 -1
- package/build/esm/filter-list/base/ExcludeDropdown.js +1 -1
- package/build/esm/filter-list/base/ExcludeDropdown.js.map +1 -1
- package/build/esm/filter-list/base/FilterInputExcludeRow.js.map +1 -1
- package/build/esm/filter-list/base/FilterListContent.js +1 -1
- package/build/esm/filter-list/base/FilterListContent.js.map +1 -1
- package/build/esm/filter-list/base/FilterListHeader.js.map +1 -1
- package/build/esm/filter-list/base/FilterListItem.js.map +1 -1
- package/build/esm/filter-list/base/FilterPopover.js.map +1 -1
- package/build/esm/filter-list/base/SortableFilterListItem.js.map +1 -1
- package/build/esm/filter-list/base/inputs/ContainsTextInput.js.map +1 -1
- package/build/esm/filter-list/base/inputs/DateRangeHistogramInput.js.map +1 -1
- package/build/esm/filter-list/base/inputs/EmptyStringLabel.js +1 -0
- package/build/esm/filter-list/base/inputs/EmptyStringLabel.js.map +1 -1
- package/build/esm/filter-list/base/inputs/HistogramTooltip.js.map +1 -1
- package/build/esm/filter-list/base/inputs/ListogramInput.js +2 -2
- package/build/esm/filter-list/base/inputs/ListogramInput.js.map +1 -1
- package/build/esm/filter-list/base/inputs/ListogramSkeleton.js.map +1 -1
- package/build/esm/filter-list/base/inputs/MultiDateInput.js.map +1 -1
- package/build/esm/filter-list/base/inputs/MultiSelectDropdownLayout.js.map +1 -1
- package/build/esm/filter-list/base/inputs/MultiSelectInlineLayout.js.map +1 -1
- package/build/esm/filter-list/base/inputs/MultiSelectInput.js +2 -2
- package/build/esm/filter-list/base/inputs/MultiSelectInput.js.map +1 -1
- package/build/esm/filter-list/base/inputs/NoValueLabel.js.map +1 -1
- package/build/esm/filter-list/base/inputs/NullValueWrapper.js.map +1 -1
- package/build/esm/filter-list/base/inputs/NumberRangeInput.js.map +1 -1
- package/build/esm/filter-list/base/inputs/OptionLabel.js.map +1 -1
- package/build/esm/filter-list/base/inputs/RangeInput.js +1 -1
- package/build/esm/filter-list/base/inputs/RangeInput.js.map +1 -1
- package/build/esm/filter-list/base/inputs/SelectInputSkeleton.js.map +1 -1
- package/build/esm/filter-list/base/inputs/SingleDateInput.js.map +1 -1
- package/build/esm/filter-list/base/inputs/SingleSelectInput.js +1 -1
- package/build/esm/filter-list/base/inputs/SingleSelectInput.js.map +1 -1
- package/build/esm/filter-list/base/inputs/TextTagsInput.js.map +1 -1
- package/build/esm/filter-list/base/inputs/TimelineInput.js.map +1 -1
- package/build/esm/filter-list/base/inputs/ToggleInput.js.map +1 -1
- package/build/esm/filter-list/base/inputs/comboboxFilter.js.map +1 -1
- package/build/esm/filter-list/base/inputs/createDateHistogramBuckets.js.map +1 -1
- package/build/esm/filter-list/base/inputs/createHistogramBuckets.js.map +1 -1
- package/build/esm/filter-list/hooks/useDualScopeAggregation.js.map +1 -1
- package/build/esm/filter-list/hooks/useFilterListState.js.map +1 -1
- package/build/esm/filter-list/hooks/useFilterPropertyAggregation.js.map +1 -1
- package/build/esm/filter-list/hooks/useFilterVisibility.js.map +1 -1
- package/build/esm/filter-list/hooks/usePropertyAggregation.js.map +1 -1
- package/build/esm/filter-list/inputs/ContainsTextFilterInput.js.map +1 -1
- package/build/esm/filter-list/inputs/DateRangeFilterInput.js.map +1 -1
- package/build/esm/filter-list/inputs/LinkedPropertyInput.js +1 -1
- package/build/esm/filter-list/inputs/LinkedPropertyInput.js.map +1 -1
- package/build/esm/filter-list/inputs/ListogramFilterInput.js.map +1 -1
- package/build/esm/filter-list/inputs/MultiDateFilterInput.js.map +1 -1
- package/build/esm/filter-list/inputs/MultiSelectFilterInput.js.map +1 -1
- package/build/esm/filter-list/inputs/NumberRangeFilterInput.js.map +1 -1
- package/build/esm/filter-list/inputs/PropertyFilterInput.js.map +1 -1
- package/build/esm/filter-list/inputs/SingleDateFilterInput.js.map +1 -1
- package/build/esm/filter-list/inputs/SingleSelectFilterInput.js.map +1 -1
- package/build/esm/filter-list/inputs/StaticValuesFilterInput.js.map +1 -1
- package/build/esm/filter-list/inputs/TextTagsFilterInput.js.map +1 -1
- package/build/esm/filter-list/inputs/TimelineFilterInput.js.map +1 -1
- package/build/esm/filter-list/inputs/ToggleFilterInput.js.map +1 -1
- package/build/esm/filter-list/types/CustomRendererTypes.js.map +1 -1
- package/build/esm/filter-list/types/KeywordSearchTypes.js.map +1 -1
- package/build/esm/filter-list/types/LinkedFilterTypes.js.map +1 -1
- package/build/esm/filter-list/types/StaticValuesTypes.js.map +1 -1
- package/build/esm/filter-list/utils/aggregationHelpers.js.map +1 -1
- package/build/esm/filter-list/utils/coerceFilterValue.js.map +1 -1
- package/build/esm/filter-list/utils/emptyFilterDisplayState.js.map +1 -1
- package/build/esm/filter-list/utils/filterStateSerialization.js.map +1 -1
- package/build/esm/filter-list/utils/filterStateToWhereClause.js.map +1 -1
- package/build/esm/filter-list/utils/filterValues.js.map +1 -1
- package/build/esm/filter-list/utils/getFilterKey.js.map +1 -1
- package/build/esm/filter-list/utils/getFilterLabel.js.map +1 -1
- package/build/esm/filter-list/utils/narrowObjectSet.js.map +1 -1
- package/build/esm/filter-list/utils/summarizeFilterValue.js.map +1 -1
- package/build/esm/images/image-viewer/BaseImageViewer.js.map +1 -1
- package/build/esm/images/image-viewer/ImageViewer.js.map +1 -1
- package/build/esm/images/image-viewer/ImageViewerApi.js.map +1 -1
- package/build/esm/images/tiff-renderer/TiffRenderer.js +1 -0
- package/build/esm/images/tiff-renderer/TiffRenderer.js.map +1 -1
- package/build/esm/images/tiff-renderer/TiffViewerMedia.js.map +1 -1
- package/build/esm/markdown-renderer/MarkdownRenderer.js.map +1 -1
- package/build/esm/markdown-renderer/MarkdownViewerMedia.js.map +1 -1
- package/build/esm/object-table/CellContextMenu.js.map +1 -1
- package/build/esm/object-table/ColumnConfigDialog.js.map +1 -1
- package/build/esm/object-table/DefaultCellRenderer.js +4 -3
- package/build/esm/object-table/DefaultCellRenderer.js.map +1 -1
- package/build/esm/object-table/EditableCell.js +1 -1
- package/build/esm/object-table/EditableCell.js.map +1 -1
- package/build/esm/object-table/LoadingCell.js.map +1 -1
- package/build/esm/object-table/LoadingRow.js +1 -1
- package/build/esm/object-table/LoadingRow.js.map +1 -1
- package/build/esm/object-table/LoadingStateTable.js +3 -3
- package/build/esm/object-table/LoadingStateTable.js.map +1 -1
- package/build/esm/object-table/MultiColumnSortDialog.js +1 -1
- package/build/esm/object-table/MultiColumnSortDialog.js.map +1 -1
- package/build/esm/object-table/NonIdealState.js.map +1 -1
- package/build/esm/object-table/ObjectTable.js.map +1 -1
- package/build/esm/object-table/ObjectTableApi.js.map +1 -1
- package/build/esm/object-table/SelectionCells.js.map +1 -1
- package/build/esm/object-table/SortableItemsList.js.map +1 -1
- package/build/esm/object-table/Table.js +1 -1
- package/build/esm/object-table/Table.js.map +1 -1
- package/build/esm/object-table/TableBody.js +1 -1
- package/build/esm/object-table/TableBody.js.map +1 -1
- package/build/esm/object-table/TableCell.js +1 -1
- package/build/esm/object-table/TableCell.js.map +1 -1
- package/build/esm/object-table/TableEditContainer.js.map +1 -1
- package/build/esm/object-table/TableHeader.js +1 -1
- package/build/esm/object-table/TableHeader.js.map +1 -1
- package/build/esm/object-table/TableHeaderContent.js.map +1 -1
- package/build/esm/object-table/TableHeaderWithPopover.js.map +1 -1
- package/build/esm/object-table/TableRow.js.map +1 -1
- package/build/esm/object-table/components/AsyncValueCell.js.map +1 -1
- package/build/esm/object-table/components/CbacMarkingCell.js.map +1 -1
- package/build/esm/object-table/components/DatePickerCellField.js +1 -1
- package/build/esm/object-table/components/DatePickerCellField.js.map +1 -1
- package/build/esm/object-table/components/DropdownCellField.js +1 -1
- package/build/esm/object-table/components/DropdownCellField.js.map +1 -1
- package/build/esm/object-table/components/MandatoryMarkingCell.js.map +1 -1
- package/build/esm/object-table/components/ReadonlyDisplayCell.js.map +1 -1
- package/build/esm/object-table/components/TextInputCellField.js.map +1 -1
- package/build/esm/object-table/hooks/useCellContextMenu.js.map +1 -1
- package/build/esm/object-table/hooks/useColumnDefs.js.map +1 -1
- package/build/esm/object-table/hooks/useColumnPinning.js.map +1 -1
- package/build/esm/object-table/hooks/useColumnResize.js.map +1 -1
- package/build/esm/object-table/hooks/useColumnVisibility.js.map +1 -1
- package/build/esm/object-table/hooks/useEditableTable.js.map +1 -1
- package/build/esm/object-table/hooks/useFocusedRow.js.map +1 -1
- package/build/esm/object-table/hooks/useFunctionColumnsData.js.map +1 -1
- package/build/esm/object-table/hooks/useObjectTableData.js.map +1 -1
- package/build/esm/object-table/hooks/useObjectTableSnapshot.js.map +1 -1
- package/build/esm/object-table/hooks/useRowSelection.js.map +1 -1
- package/build/esm/object-table/hooks/useSelectionColumn.js.map +1 -1
- package/build/esm/object-table/hooks/useTableSorting.js.map +1 -1
- package/build/esm/object-table/utils/AsyncCellData.js.map +1 -1
- package/build/esm/object-table/utils/PortalTracker.js.map +1 -1
- package/build/esm/object-table/utils/deriveSelectionObjectSet.js.map +1 -1
- package/build/esm/object-table/utils/editableUtils.js.map +1 -1
- package/build/esm/object-table/utils/functionColumns.js.map +1 -1
- package/build/esm/object-table/utils/getColumnPinningStyles.js.map +1 -1
- package/build/esm/object-table/utils/getRowId.js.map +1 -1
- package/build/esm/object-table/utils/objectTableSnapshot.js.map +1 -1
- package/build/esm/object-table/utils/shouldShowEditableCell.js.map +1 -1
- package/build/esm/object-table/utils/types.js.map +1 -1
- package/build/esm/pdf-viewer/PdfRenderer.js.map +1 -1
- package/build/esm/pdf-viewer/PdfViewer.js.map +1 -1
- package/build/esm/pdf-viewer/PdfViewerContext.js.map +1 -1
- package/build/esm/pdf-viewer/components/PdfAnnotationOverlay.js.map +1 -1
- package/build/esm/pdf-viewer/components/PdfViewerAnnotationLayer.js.map +1 -1
- package/build/esm/pdf-viewer/components/PdfViewerContent.js +1 -1
- package/build/esm/pdf-viewer/components/PdfViewerContent.js.map +1 -1
- package/build/esm/pdf-viewer/components/PdfViewerOutlineSidebar.js +1 -1
- package/build/esm/pdf-viewer/components/PdfViewerOutlineSidebar.js.map +1 -1
- package/build/esm/pdf-viewer/components/PdfViewerSearchBar.js.map +1 -1
- package/build/esm/pdf-viewer/components/PdfViewerSidebar.js +1 -1
- package/build/esm/pdf-viewer/components/PdfViewerSidebar.js.map +1 -1
- package/build/esm/pdf-viewer/components/PdfViewerSidebarHeader.js.map +1 -1
- package/build/esm/pdf-viewer/components/PdfViewerThumbnail.js.map +1 -1
- package/build/esm/pdf-viewer/components/PdfViewerToolbar.js.map +1 -1
- package/build/esm/pdf-viewer/constants.js.map +1 -1
- package/build/esm/pdf-viewer/hooks/usePdfAnnotationPortals.js.map +1 -1
- package/build/esm/pdf-viewer/hooks/usePdfAnnotationsByPage.js.map +1 -1
- package/build/esm/pdf-viewer/hooks/usePdfDocument.js.map +1 -1
- package/build/esm/pdf-viewer/hooks/usePdfFormFields.js.map +1 -1
- package/build/esm/pdf-viewer/hooks/usePdfHighlightMode.js.map +1 -1
- package/build/esm/pdf-viewer/hooks/usePdfOutline.js.map +1 -1
- package/build/esm/pdf-viewer/hooks/usePdfViewer.js.map +1 -1
- package/build/esm/pdf-viewer/hooks/usePdfViewerCore.js.map +1 -1
- package/build/esm/pdf-viewer/hooks/usePdfViewerSearch.js.map +1 -1
- package/build/esm/pdf-viewer/hooks/usePdfViewerState.js.map +1 -1
- package/build/esm/pdf-viewer/hooks/usePdfViewerSync.js.map +1 -1
- package/build/esm/public/experimental/action-form.js.map +1 -1
- package/build/esm/public/experimental/cbac-picker.js.map +1 -1
- package/build/esm/public/experimental/document-viewer.js.map +1 -1
- package/build/esm/public/experimental/email-viewer.js.map +1 -1
- package/build/esm/public/experimental/excel-viewer.js.map +1 -1
- package/build/esm/public/experimental/filter-list.js.map +1 -1
- package/build/esm/public/experimental/image-viewer.js.map +1 -1
- package/build/esm/public/experimental/markdown-renderer.js.map +1 -1
- package/build/esm/public/experimental/object-table.js.map +1 -1
- package/build/esm/public/experimental/pdf-viewer.js.map +1 -1
- package/build/esm/public/experimental/tiff-renderer.js.map +1 -1
- package/build/esm/public/experimental/video-viewer.js.map +1 -1
- package/build/esm/public/experimental/xml-viewer.js.map +1 -1
- package/build/esm/shared/ErrorBoundary.js.map +1 -1
- package/build/esm/shared/PortalContainerContext.js.map +1 -1
- package/build/esm/shared/PortalDismissLayer.js.map +1 -1
- package/build/esm/shared/calendar/DateCalendar.js +1 -1
- package/build/esm/shared/calendar/DateCalendar.js.map +1 -1
- package/build/esm/shared/calendar/DatePicker.js +2 -2
- package/build/esm/shared/calendar/DatePicker.js.map +1 -1
- package/build/esm/shared/calendar/DateRangeCalendar.js.map +1 -1
- package/build/esm/shared/calendar/DateRangePicker.js +2 -2
- package/build/esm/shared/calendar/DateRangePicker.js.map +1 -1
- package/build/esm/shared/calendar/LazyDateCalendar.js.map +1 -1
- package/build/esm/shared/calendar/LazyDateRangeCalendar.js.map +1 -1
- package/build/esm/shared/calendar/TimePicker.js.map +1 -1
- package/build/esm/shared/calendar/calendarShared.js.map +1 -1
- package/build/esm/shared/calendar/useDateEditState.js.map +1 -1
- package/build/esm/shared/dateUtils.js.map +1 -1
- package/build/esm/shared/hooks/useAsyncAction.js.map +1 -1
- package/build/esm/shared/hooks/useDebouncedValue.js.map +1 -1
- package/build/esm/shared/hooks/useEventCallback.js.map +1 -1
- package/build/esm/shared/hooks/useInfiniteScroll.js.map +1 -1
- package/build/esm/shared/hooks/useMediaContents.js.map +1 -1
- package/build/esm/theme/OsdkThemeContext.js.map +1 -1
- package/build/esm/theme/OsdkThemeProvider.js.map +1 -1
- package/build/esm/theme/useOsdkTheme.js.map +1 -1
- package/build/esm/theme/useSystemTheme.js.map +1 -1
- package/build/esm/util/UserAgent.js +1 -1
- package/build/esm/util/UserAgent.js.map +1 -1
- package/build/esm/util/withOsdkMetrics.js.map +1 -1
- package/build/esm/video-viewer/BaseVideoViewer.js.map +1 -1
- package/build/esm/video-viewer/VideoViewer.js.map +1 -1
- package/build/esm/video-viewer/VideoViewerApi.js.map +1 -1
- package/build/esm/xml-viewer/BaseXmlViewer.js.map +1 -1
- package/build/esm/xml-viewer/XmlViewer.js.map +1 -1
- package/build/esm/xml-viewer/XmlViewerApi.js.map +1 -1
- package/build/types/action-form/ActionForm.d.ts.map +1 -1
- package/build/types/action-form/ActionFormApi.d.ts.map +1 -1
- package/build/types/action-form/BaseForm.d.ts.map +1 -1
- package/build/types/action-form/FormField.d.ts.map +1 -1
- package/build/types/action-form/FormFieldApi.d.ts.map +1 -1
- package/build/types/action-form/FormHeader.d.ts.map +1 -1
- package/build/types/action-form/FormSection.d.ts.map +1 -1
- package/build/types/action-form/fields/AsyncDropdownField.d.ts.map +1 -1
- package/build/types/action-form/fields/CustomField.d.ts.map +1 -1
- package/build/types/action-form/fields/DropdownField.d.ts.map +1 -1
- package/build/types/action-form/fields/FieldBridge.d.ts.map +1 -1
- package/build/types/action-form/fields/FilePickerField.d.ts.map +1 -1
- package/build/types/action-form/fields/FormFieldRenderer.d.ts.map +1 -1
- package/build/types/action-form/fields/NumberInputField.d.ts.map +1 -1
- package/build/types/action-form/fields/ObjectSelectField.d.ts.map +1 -1
- package/build/types/action-form/fields/ObjectSetField.d.ts.map +1 -1
- package/build/types/action-form/fields/RadioButtonsField.d.ts.map +1 -1
- package/build/types/action-form/fields/SwitchField.d.ts.map +1 -1
- package/build/types/action-form/fields/TextAreaField.d.ts.map +1 -1
- package/build/types/action-form/fields/TextInputField.d.ts.map +1 -1
- package/build/types/action-form/utils/extractValidationRules.d.ts.map +1 -1
- package/build/types/action-form/utils/getDefaultFieldDefinitions.d.ts.map +1 -1
- package/build/types/aip-agent-chat/AipAgentChat.d.ts.map +1 -1
- package/build/types/aip-agent-chat/BaseAipAgentChat.d.ts.map +1 -1
- package/build/types/aip-agent-chat/components/AipAgentChatComposer.d.ts.map +1 -1
- package/build/types/aip-agent-chat/components/AipAgentChatLoader.d.ts.map +1 -1
- package/build/types/aip-agent-chat/components/AipAgentChatMessage.d.ts.map +1 -1
- package/build/types/aip-agent-chat/components/AipAgentChatMessageList.d.ts.map +1 -1
- package/build/types/aip-agent-chat/components/AipAgentChatModelPicker.d.ts.map +1 -1
- package/build/types/base-components/action-button/ActionButton.d.ts.map +1 -1
- package/build/types/base-components/callout/Callout.d.ts.map +1 -1
- package/build/types/base-components/checkbox/Checkbox.d.ts.map +1 -1
- package/build/types/base-components/combobox/Combobox.d.ts.map +1 -1
- package/build/types/base-components/dialog/Dialog.d.ts.map +1 -1
- package/build/types/base-components/draggable-list/DraggableList.d.ts.map +1 -1
- package/build/types/base-components/search-bar/SearchBar.d.ts.map +1 -1
- package/build/types/base-components/searchable-menu/SearchableMenu.d.ts.map +1 -1
- package/build/types/base-components/select/Select.d.ts.map +1 -1
- package/build/types/base-components/skeleton/SkeletonBar.d.ts.map +1 -1
- package/build/types/base-components/switch/Switch.d.ts.map +1 -1
- package/build/types/base-components/tooltip/Tooltip.d.ts.map +1 -1
- package/build/types/cbac-picker/CbacBanner.d.ts.map +1 -1
- package/build/types/cbac-picker/CbacBannerPopover.d.ts.map +1 -1
- package/build/types/cbac-picker/CbacPicker.d.ts.map +1 -1
- package/build/types/cbac-picker/CbacPickerDialog.d.ts.map +1 -1
- package/build/types/cbac-picker/base/BaseCbacBanner.d.ts.map +1 -1
- package/build/types/cbac-picker/base/BaseCbacBannerPopover.d.ts.map +1 -1
- package/build/types/cbac-picker/base/BaseCbacPicker.d.ts.map +1 -1
- package/build/types/cbac-picker/base/BaseCbacPickerDialog.d.ts.map +1 -1
- package/build/types/cbac-picker/base/CategoryMarkingGroup.d.ts.map +1 -1
- package/build/types/cbac-picker/base/CbacPickerDialogFooter.d.ts.map +1 -1
- package/build/types/cbac-picker/base/InfoBanner.d.ts.map +1 -1
- package/build/types/cbac-picker/base/MarkingButton.d.ts.map +1 -1
- package/build/types/cbac-picker/base/MaxClassificationField.d.ts.map +1 -1
- package/build/types/cbac-picker/base/OverflowButton.d.ts.map +1 -1
- package/build/types/cbac-picker/base/OverflowItem.d.ts.map +1 -1
- package/build/types/cbac-picker/base/ValidationWarning.d.ts.map +1 -1
- package/build/types/cbac-picker/useCbacPickerState.d.ts.map +1 -1
- package/build/types/cbac-picker/useCbacSelection.d.ts.map +1 -1
- package/build/types/cbac-picker/useConstraintCallout.d.ts.map +1 -1
- package/build/types/cbac-picker/utils/errorMessages.d.ts.map +1 -1
- package/build/types/document-viewer/DocumentViewer.d.ts.map +1 -1
- package/build/types/document-viewer/DocumentViewerApi.d.ts.map +1 -1
- package/build/types/document-viewer/TiffDocumentViewer.d.ts.map +1 -1
- package/build/types/document-viewer/hooks/useTiffToPdf.d.ts.map +1 -1
- package/build/types/email-viewer/BaseEmailViewer.d.ts.map +1 -1
- package/build/types/email-viewer/EmailViewer.d.ts.map +1 -1
- package/build/types/email-viewer/EmailViewerApi.d.ts.map +1 -1
- package/build/types/email-viewer/parseEmail.d.ts.map +1 -1
- package/build/types/excel-viewer/BaseExcelViewer.d.ts.map +1 -1
- package/build/types/excel-viewer/ExcelViewer.d.ts.map +1 -1
- package/build/types/excel-viewer/ExcelViewerApi.d.ts.map +1 -1
- package/build/types/excel-viewer/parseSpreadsheet.d.ts.map +1 -1
- package/build/types/filter-list/FilterInput.d.ts.map +1 -1
- package/build/types/filter-list/FilterList.d.ts.map +1 -1
- package/build/types/filter-list/FilterListApi.d.ts.map +1 -1
- package/build/types/filter-list/FilterListItemApi.d.ts.map +1 -1
- package/build/types/filter-list/base/AddFilterPopover.d.ts.map +1 -1
- package/build/types/filter-list/base/BaseFilterList.d.ts.map +1 -1
- package/build/types/filter-list/base/BaseFilterListApi.d.ts.map +1 -1
- package/build/types/filter-list/base/ExcludeDropdown.d.ts.map +1 -1
- package/build/types/filter-list/base/FilterInputExcludeRow.d.ts.map +1 -1
- package/build/types/filter-list/base/FilterListContent.d.ts.map +1 -1
- package/build/types/filter-list/base/FilterListHeader.d.ts.map +1 -1
- package/build/types/filter-list/base/FilterListItem.d.ts.map +1 -1
- package/build/types/filter-list/base/FilterPopover.d.ts.map +1 -1
- package/build/types/filter-list/base/SortableFilterListItem.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/ContainsTextInput.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/DateRangeHistogramInput.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/EmptyStringLabel.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/HistogramTooltip.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/ListogramInput.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/ListogramSkeleton.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/MultiDateInput.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/MultiSelectDropdownLayout.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/MultiSelectInlineLayout.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/MultiSelectInput.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/NoValueLabel.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/NullValueWrapper.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/NumberRangeInput.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/OptionLabel.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/RangeInput.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/SelectInputSkeleton.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/SingleDateInput.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/SingleSelectInput.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/TextTagsInput.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/TimelineInput.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/ToggleInput.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/createDateHistogramBuckets.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/createHistogramBuckets.d.ts.map +1 -1
- package/build/types/filter-list/hooks/useDualScopeAggregation.d.ts.map +1 -1
- package/build/types/filter-list/hooks/useFilterListState.d.ts.map +1 -1
- package/build/types/filter-list/hooks/useFilterPropertyAggregation.d.ts.map +1 -1
- package/build/types/filter-list/hooks/useFilterVisibility.d.ts.map +1 -1
- package/build/types/filter-list/hooks/usePropertyAggregation.d.ts.map +1 -1
- package/build/types/filter-list/inputs/ContainsTextFilterInput.d.ts.map +1 -1
- package/build/types/filter-list/inputs/DateRangeFilterInput.d.ts.map +1 -1
- package/build/types/filter-list/inputs/LinkedPropertyInput.d.ts.map +1 -1
- package/build/types/filter-list/inputs/ListogramFilterInput.d.ts.map +1 -1
- package/build/types/filter-list/inputs/MultiDateFilterInput.d.ts.map +1 -1
- package/build/types/filter-list/inputs/MultiSelectFilterInput.d.ts.map +1 -1
- package/build/types/filter-list/inputs/NumberRangeFilterInput.d.ts.map +1 -1
- package/build/types/filter-list/inputs/PropertyFilterInput.d.ts.map +1 -1
- package/build/types/filter-list/inputs/SingleDateFilterInput.d.ts.map +1 -1
- package/build/types/filter-list/inputs/SingleSelectFilterInput.d.ts.map +1 -1
- package/build/types/filter-list/inputs/StaticValuesFilterInput.d.ts.map +1 -1
- package/build/types/filter-list/inputs/TextTagsFilterInput.d.ts.map +1 -1
- package/build/types/filter-list/inputs/TimelineFilterInput.d.ts.map +1 -1
- package/build/types/filter-list/inputs/ToggleFilterInput.d.ts.map +1 -1
- package/build/types/filter-list/types/CustomRendererTypes.d.ts.map +1 -1
- package/build/types/filter-list/types/KeywordSearchTypes.d.ts.map +1 -1
- package/build/types/filter-list/types/LinkedFilterTypes.d.ts.map +1 -1
- package/build/types/filter-list/types/StaticValuesTypes.d.ts.map +1 -1
- package/build/types/filter-list/utils/aggregationHelpers.d.ts.map +1 -1
- package/build/types/filter-list/utils/emptyFilterDisplayState.d.ts.map +1 -1
- package/build/types/filter-list/utils/filterStateToWhereClause.d.ts.map +1 -1
- package/build/types/filter-list/utils/filterValues.d.ts.map +1 -1
- package/build/types/filter-list/utils/getFilterKey.d.ts.map +1 -1
- package/build/types/filter-list/utils/getFilterLabel.d.ts.map +1 -1
- package/build/types/filter-list/utils/narrowObjectSet.d.ts.map +1 -1
- package/build/types/filter-list/utils/summarizeFilterValue.d.ts.map +1 -1
- package/build/types/images/image-viewer/BaseImageViewer.d.ts.map +1 -1
- package/build/types/images/image-viewer/ImageViewer.d.ts.map +1 -1
- package/build/types/images/image-viewer/ImageViewerApi.d.ts.map +1 -1
- package/build/types/images/tiff-renderer/TiffRenderer.d.ts.map +1 -1
- package/build/types/images/tiff-renderer/TiffViewerMedia.d.ts.map +1 -1
- package/build/types/markdown-renderer/MarkdownRenderer.d.ts.map +1 -1
- package/build/types/markdown-renderer/MarkdownViewerMedia.d.ts.map +1 -1
- package/build/types/object-table/CellContextMenu.d.ts.map +1 -1
- package/build/types/object-table/ColumnConfigDialog.d.ts.map +1 -1
- package/build/types/object-table/DefaultCellRenderer.d.ts.map +1 -1
- package/build/types/object-table/EditableCell.d.ts.map +1 -1
- package/build/types/object-table/LoadingCell.d.ts.map +1 -1
- package/build/types/object-table/LoadingRow.d.ts.map +1 -1
- package/build/types/object-table/LoadingStateTable.d.ts.map +1 -1
- package/build/types/object-table/MultiColumnSortDialog.d.ts.map +1 -1
- package/build/types/object-table/NonIdealState.d.ts.map +1 -1
- package/build/types/object-table/ObjectTable.d.ts.map +1 -1
- package/build/types/object-table/ObjectTableApi.d.ts.map +1 -1
- package/build/types/object-table/SelectionCells.d.ts.map +1 -1
- package/build/types/object-table/SortableItemsList.d.ts.map +1 -1
- package/build/types/object-table/Table.d.ts.map +1 -1
- package/build/types/object-table/TableBody.d.ts.map +1 -1
- package/build/types/object-table/TableCell.d.ts.map +1 -1
- package/build/types/object-table/TableEditContainer.d.ts.map +1 -1
- package/build/types/object-table/TableHeader.d.ts.map +1 -1
- package/build/types/object-table/TableHeaderContent.d.ts.map +1 -1
- package/build/types/object-table/TableHeaderWithPopover.d.ts.map +1 -1
- package/build/types/object-table/TableRow.d.ts.map +1 -1
- package/build/types/object-table/components/AsyncValueCell.d.ts.map +1 -1
- package/build/types/object-table/components/CbacMarkingCell.d.ts.map +1 -1
- package/build/types/object-table/components/DatePickerCellField.d.ts.map +1 -1
- package/build/types/object-table/components/DropdownCellField.d.ts.map +1 -1
- package/build/types/object-table/components/MandatoryMarkingCell.d.ts.map +1 -1
- package/build/types/object-table/components/ReadonlyDisplayCell.d.ts.map +1 -1
- package/build/types/object-table/components/TextInputCellField.d.ts.map +1 -1
- package/build/types/object-table/hooks/useColumnDefs.d.ts.map +1 -1
- package/build/types/object-table/hooks/useColumnPinning.d.ts.map +1 -1
- package/build/types/object-table/hooks/useColumnVisibility.d.ts.map +1 -1
- package/build/types/object-table/hooks/useEditableTable.d.ts.map +1 -1
- package/build/types/object-table/hooks/useFocusedRow.d.ts.map +1 -1
- package/build/types/object-table/hooks/useFunctionColumnsData.d.ts.map +1 -1
- package/build/types/object-table/hooks/useObjectTableData.d.ts.map +1 -1
- package/build/types/object-table/hooks/useObjectTableSnapshot.d.ts.map +1 -1
- package/build/types/object-table/hooks/useRowSelection.d.ts.map +1 -1
- package/build/types/object-table/hooks/useSelectionColumn.d.ts.map +1 -1
- package/build/types/object-table/hooks/useTableSorting.d.ts.map +1 -1
- package/build/types/object-table/utils/AsyncCellData.d.ts.map +1 -1
- package/build/types/object-table/utils/PortalTracker.d.ts.map +1 -1
- package/build/types/object-table/utils/deriveSelectionObjectSet.d.ts.map +1 -1
- package/build/types/object-table/utils/functionColumns.d.ts.map +1 -1
- package/build/types/object-table/utils/getRowId.d.ts.map +1 -1
- package/build/types/object-table/utils/objectTableSnapshot.d.ts.map +1 -1
- package/build/types/object-table/utils/types.d.ts.map +1 -1
- package/build/types/pdf-viewer/PdfRenderer.d.ts.map +1 -1
- package/build/types/pdf-viewer/PdfViewer.d.ts.map +1 -1
- package/build/types/pdf-viewer/PdfViewerContext.d.ts.map +1 -1
- package/build/types/pdf-viewer/components/PdfAnnotationOverlay.d.ts.map +1 -1
- package/build/types/pdf-viewer/components/PdfViewerAnnotationLayer.d.ts.map +1 -1
- package/build/types/pdf-viewer/components/PdfViewerContent.d.ts.map +1 -1
- package/build/types/pdf-viewer/components/PdfViewerOutlineSidebar.d.ts.map +1 -1
- package/build/types/pdf-viewer/components/PdfViewerSearchBar.d.ts.map +1 -1
- package/build/types/pdf-viewer/components/PdfViewerSidebar.d.ts.map +1 -1
- package/build/types/pdf-viewer/components/PdfViewerSidebarHeader.d.ts.map +1 -1
- package/build/types/pdf-viewer/components/PdfViewerThumbnail.d.ts.map +1 -1
- package/build/types/pdf-viewer/components/PdfViewerToolbar.d.ts.map +1 -1
- package/build/types/pdf-viewer/constants.d.ts.map +1 -1
- package/build/types/pdf-viewer/hooks/usePdfAnnotationPortals.d.ts.map +1 -1
- package/build/types/pdf-viewer/hooks/usePdfAnnotationsByPage.d.ts.map +1 -1
- package/build/types/pdf-viewer/hooks/usePdfFormFields.d.ts.map +1 -1
- package/build/types/pdf-viewer/hooks/usePdfHighlightMode.d.ts.map +1 -1
- package/build/types/pdf-viewer/hooks/usePdfOutline.d.ts.map +1 -1
- package/build/types/pdf-viewer/hooks/usePdfViewer.d.ts.map +1 -1
- package/build/types/pdf-viewer/hooks/usePdfViewerCore.d.ts.map +1 -1
- package/build/types/pdf-viewer/hooks/usePdfViewerSearch.d.ts.map +1 -1
- package/build/types/pdf-viewer/hooks/usePdfViewerState.d.ts.map +1 -1
- package/build/types/pdf-viewer/hooks/usePdfViewerSync.d.ts.map +1 -1
- package/build/types/shared/ErrorBoundary.d.ts.map +1 -1
- package/build/types/shared/PortalContainerContext.d.ts.map +1 -1
- package/build/types/shared/PortalDismissLayer.d.ts.map +1 -1
- package/build/types/shared/calendar/DateCalendar.d.ts.map +1 -1
- package/build/types/shared/calendar/DatePicker.d.ts.map +1 -1
- package/build/types/shared/calendar/DateRangeCalendar.d.ts.map +1 -1
- package/build/types/shared/calendar/DateRangePicker.d.ts.map +1 -1
- package/build/types/shared/calendar/LazyDateCalendar.d.ts.map +1 -1
- package/build/types/shared/calendar/LazyDateRangeCalendar.d.ts.map +1 -1
- package/build/types/shared/calendar/TimePicker.d.ts.map +1 -1
- package/build/types/shared/calendar/useDateEditState.d.ts.map +1 -1
- package/build/types/shared/dateUtils.d.ts.map +1 -1
- package/build/types/shared/hooks/useAsyncAction.d.ts.map +1 -1
- package/build/types/shared/hooks/useInfiniteScroll.d.ts.map +1 -1
- package/build/types/theme/OsdkThemeContext.d.ts.map +1 -1
- package/build/types/theme/OsdkThemeProvider.d.ts.map +1 -1
- package/build/types/theme/useOsdkTheme.d.ts.map +1 -1
- package/build/types/theme/useSystemTheme.d.ts.map +1 -1
- package/build/types/util/UserAgent.d.ts.map +1 -1
- package/build/types/util/withOsdkMetrics.d.ts.map +1 -1
- package/build/types/video-viewer/BaseVideoViewer.d.ts.map +1 -1
- package/build/types/video-viewer/VideoViewer.d.ts.map +1 -1
- package/build/types/video-viewer/VideoViewerApi.d.ts.map +1 -1
- package/build/types/xml-viewer/BaseXmlViewer.d.ts.map +1 -1
- package/build/types/xml-viewer/XmlViewer.d.ts.map +1 -1
- package/build/types/xml-viewer/XmlViewerApi.d.ts.map +1 -1
- package/package.json +9 -10
- package/build/cjs/DateCalendar-FTW3OIEP.css.map +0 -1
- package/build/cjs/DateRangeCalendar-I4JHCZAK.css.map +0 -1
- package/build/cjs/DateRangeCalendar-PHC3VPW3.cjs +0 -12
- package/build/cjs/chunk-4VNWCW75.cjs.map +0 -1
- package/build/cjs/chunk-CASYBF4M.cjs.map +0 -1
- package/build/cjs/chunk-DA22W6ZO.cjs.map +0 -1
- package/build/cjs/chunk-F4JELV7M.cjs +0 -11
- package/build/cjs/chunk-IHVPE5CD.cjs.map +0 -1
- package/build/cjs/chunk-LGGRMQCE.cjs +0 -11
- package/build/cjs/chunk-MMPVBH5H.cjs.map +0 -1
- package/build/cjs/chunk-PYOEFNQH.cjs +0 -11
- package/build/cjs/chunk-Q5H4KPSL.cjs +0 -11
- package/build/cjs/chunk-VRTFHF24.cjs +0 -11
- package/build/cjs/chunk-W6DWGABB.cjs +0 -11
- package/build/cjs/chunk-WE4REEMW.cjs.map +0 -1
- package/build/cjs/chunk-XK4H7EHE.cjs.map +0 -1
- package/build/cjs/chunk-YTDSW5OV.cjs.map +0 -1
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
import { Tooltip } from "@base-ui/react/tooltip";
|
|
18
18
|
import { InfoSign } from "@blueprintjs/icons";
|
|
19
19
|
import React from "react";
|
|
20
|
-
import styles from "./CategoryMarkingGroup.module.css";
|
|
21
20
|
import { MarkingButton } from "./MarkingButton.js";
|
|
22
21
|
import { OverflowButton } from "./OverflowButton.js";
|
|
23
22
|
import { isImplied } from "./selectionStateHelpers.js";
|
|
23
|
+
import styles from "./CategoryMarkingGroup.module.css";
|
|
24
24
|
const GRID_COLUMNS = 4;
|
|
25
25
|
const VISIBLE_ROWS = 3;
|
|
26
26
|
const DEFAULT_MARKING_STATE = "NONE";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryMarkingGroup.js","names":["Tooltip","InfoSign","React","
|
|
1
|
+
{"version":3,"file":"CategoryMarkingGroup.js","names":["Tooltip","InfoSign","React","MarkingButton","OverflowButton","isImplied","styles","GRID_COLUMNS","VISIBLE_ROWS","DEFAULT_MARKING_STATE","CategoryMarkingGroup","memo","categoryName","categoryDescription","markings","markingStates","readOnly","onMarkingToggle","headingId","useId","resolvedMarkings","useMemo","map","marking","id","label","name","description","selectionState","get","disabled","maxVisible","hasOverflow","length","visibleMarkings","slice","overflowMarkings","gridItemCount","hasActiveOverflow","some","m","createElement","className","categoryGroup","role","categoryHeader","Root","Trigger","render","infoIcon","size","Portal","Positioner","side","sideOffset","Popup","infoTooltip","markingGrid","key","onToggle","Array","from","_","i","emptyCell"],"sources":["CategoryMarkingGroup.tsx"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Tooltip } from \"@base-ui/react/tooltip\";\nimport { InfoSign } from \"@blueprintjs/icons\";\nimport React from \"react\";\n\nimport type { MarkingSelectionState } from \"../types.js\";\nimport { MarkingButton } from \"./MarkingButton.js\";\nimport { OverflowButton } from \"./OverflowButton.js\";\nimport { isImplied } from \"./selectionStateHelpers.js\";\n\nimport styles from \"./CategoryMarkingGroup.module.css\";\n\nconst GRID_COLUMNS = 4;\nconst VISIBLE_ROWS = 3;\nconst DEFAULT_MARKING_STATE: MarkingSelectionState = \"NONE\";\n\nexport interface CategoryMarkingGroupProps {\n categoryName: string;\n categoryDescription?: string;\n markings: ReadonlyArray<{ id: string; name: string; description?: string }>;\n markingStates: Map<string, MarkingSelectionState>;\n readOnly?: boolean;\n onMarkingToggle: (markingId: string) => void;\n}\n\nexport const CategoryMarkingGroup: React.MemoExoticComponent<\n (props: CategoryMarkingGroupProps) => React.ReactElement\n> = React.memo(function CategoryMarkingGroup({\n categoryName,\n categoryDescription,\n markings,\n markingStates,\n readOnly,\n onMarkingToggle,\n}: CategoryMarkingGroupProps): React.ReactElement {\n const headingId = React.useId();\n\n const resolvedMarkings = React.useMemo(\n () =>\n markings.map((marking) => ({\n id: marking.id,\n label: marking.name,\n description: marking.description,\n selectionState: markingStates.get(marking.id) ?? DEFAULT_MARKING_STATE,\n disabled: readOnly,\n })),\n [markings, markingStates, readOnly]\n );\n\n const maxVisible = GRID_COLUMNS * VISIBLE_ROWS;\n const hasOverflow = resolvedMarkings.length > maxVisible;\n const visibleMarkings = hasOverflow\n ? resolvedMarkings.slice(0, maxVisible - 1)\n : resolvedMarkings;\n const overflowMarkings = hasOverflow\n ? resolvedMarkings.slice(maxVisible - 1)\n : [];\n\n const gridItemCount = hasOverflow\n ? visibleMarkings.length + 1\n : visibleMarkings.length;\n const emptyCellCount =\n (GRID_COLUMNS - (gridItemCount % GRID_COLUMNS)) % GRID_COLUMNS;\n\n const hasActiveOverflow = overflowMarkings.some(\n (m) => m.selectionState === \"SELECTED\" || isImplied(m.selectionState)\n );\n\n return (\n <div\n className={styles.categoryGroup}\n role=\"group\"\n aria-labelledby={headingId}\n >\n <div className={styles.categoryHeader}>\n <h3 id={headingId} className={styles.categoryName}>\n {categoryName}\n </h3>\n {categoryDescription != null && categoryDescription.length > 0 && (\n <Tooltip.Root>\n <Tooltip.Trigger\n render={\n <span\n className={styles.infoIcon}\n aria-label=\"Category description\"\n >\n <InfoSign size={12} />\n </span>\n }\n />\n <Tooltip.Portal>\n <Tooltip.Positioner side=\"top\" sideOffset={4}>\n <Tooltip.Popup className={styles.infoTooltip}>\n {categoryDescription}\n </Tooltip.Popup>\n </Tooltip.Positioner>\n </Tooltip.Portal>\n </Tooltip.Root>\n )}\n </div>\n <div className={styles.markingGrid}>\n {visibleMarkings.map((marking) => (\n <MarkingButton\n key={marking.id}\n id={marking.id}\n label={marking.label}\n description={marking.description}\n selectionState={marking.selectionState}\n disabled={marking.disabled}\n onToggle={onMarkingToggle}\n />\n ))}\n {hasOverflow && (\n <OverflowButton\n overflowMarkings={overflowMarkings}\n hasActiveOverflow={hasActiveOverflow}\n onMarkingToggle={onMarkingToggle}\n />\n )}\n {Array.from({ length: emptyCellCount }, (_, i) => (\n <div key={`empty-${i}`} className={styles.emptyCell} />\n ))}\n </div>\n </div>\n );\n});\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,OAAO,QAAQ,wBAAwB;AAChD,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,OAAOC,KAAK,MAAM,OAAO;AAGzB,SAASC,aAAa,QAAQ,oBAAoB;AAClD,SAASC,cAAc,QAAQ,qBAAqB;AACpD,SAASC,SAAS,QAAQ,4BAA4B;AAEtD,OAAOC,MAAM,MAAM,mCAAmC;AAEtD,MAAMC,YAAY,GAAG,CAAC;AACtB,MAAMC,YAAY,G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,EAAED,OAAO,CAACC,EAAG;IACfC,KAAK,EAAEF,OAAO,CAACE,KAAM;IACrBE,WAAW,EAAEJ,OAAO,CAACI,WAAY;IACjCC,cAAc,EAAEL,OAAO,CAACK,cAAe;IACvCE,QAAQ,EAAEP,OAAO,CAACO,QAAS;IAC3B6B,QAAQ,EAAE1C;EAAgB,CAC3B,CACF,CAAC,EACDe,WAAW,iBACV9B,KAAA,CAAAuC,aAAA,CAACrC,cAAc;IACbgC,gBAAgB,EAAEA,gBAAiB;IACnCE,iBAAiB,EAAEA,iBAAkB;IACrCrB,eAAe,EAAEA;EAAgB,CAClC,CACF,EACA2C,KAAK,CAACC,IAAI,CAAC;IAAE5B,MAAM,EAzDxB,CAAC1B,YAAY,GAAI8B,aAAa,GAAG9B,YAAa,IAAIA;EAyDT,CAAC,EAAE,CAACuD,CAAC,EAAEC,CAAC,kBAC3C7D,KAAA,CAAAuC,aAAA;IAAKiB,GAAG,EAAE,SAASK,CAAC,EAAG;IAACrB,SAAS,EAAEpC,MAAM,CAAC0D;EAAU,CAAE,CACvD,CACE,CACF,CAAC;AAEV,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CbacPickerDialogFooter.js","names":["React","ActionButton","Tooltip","styles","CbacPickerDialogFooter","onCancel","onConfirm","submitDisabledReason","isSubmitDisabled","submitButton","createElement","variant","onClick","disabled","Fragment","Root","Trigger","render","className","tooltipTriggerWrapper","Portal","Positioner","side","Popup","Arrow"],"sources":["CbacPickerDialogFooter.tsx"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \"react\";\nimport { ActionButton } from \"../../base-components/action-button/ActionButton.js\";\nimport { Tooltip } from \"../../base-components/tooltip/index.js\";\nimport styles from \"./CbacPickerDialogFooter.module.css\";\n\ninterface CbacPickerDialogFooterProps {\n onCancel: () => void;\n onConfirm: () => void;\n submitDisabledReason?: string;\n}\n\nexport function CbacPickerDialogFooter({\n onCancel,\n onConfirm,\n submitDisabledReason,\n}: CbacPickerDialogFooterProps): React.ReactElement {\n const isSubmitDisabled = submitDisabledReason != null;\n\n const submitButton = (\n <ActionButton\n variant=\"primary\"\n onClick={onConfirm}\n disabled={isSubmitDisabled}\n >\n Set classification\n </ActionButton>\n );\n\n return (\n <>\n <ActionButton variant=\"secondary\" onClick={onCancel}>\n Cancel\n </ActionButton>\n {isSubmitDisabled
|
|
1
|
+
{"version":3,"file":"CbacPickerDialogFooter.js","names":["React","ActionButton","Tooltip","styles","CbacPickerDialogFooter","onCancel","onConfirm","submitDisabledReason","isSubmitDisabled","submitButton","createElement","variant","onClick","disabled","Fragment","Root","Trigger","render","className","tooltipTriggerWrapper","Portal","Positioner","side","Popup","Arrow"],"sources":["CbacPickerDialogFooter.tsx"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \"react\";\n\nimport { ActionButton } from \"../../base-components/action-button/ActionButton.js\";\nimport { Tooltip } from \"../../base-components/tooltip/index.js\";\n\nimport styles from \"./CbacPickerDialogFooter.module.css\";\n\ninterface CbacPickerDialogFooterProps {\n onCancel: () => void;\n onConfirm: () => void;\n submitDisabledReason?: string;\n}\n\nexport function CbacPickerDialogFooter({\n onCancel,\n onConfirm,\n submitDisabledReason,\n}: CbacPickerDialogFooterProps): React.ReactElement {\n const isSubmitDisabled = submitDisabledReason != null;\n\n const submitButton = (\n <ActionButton\n variant=\"primary\"\n onClick={onConfirm}\n disabled={isSubmitDisabled}\n >\n Set classification\n </ActionButton>\n );\n\n return (\n <>\n <ActionButton variant=\"secondary\" onClick={onCancel}>\n Cancel\n </ActionButton>\n {isSubmitDisabled ? (\n <Tooltip.Root>\n <Tooltip.Trigger\n render={<span className={styles.tooltipTriggerWrapper} />}\n >\n {submitButton}\n </Tooltip.Trigger>\n <Tooltip.Portal>\n <Tooltip.Positioner side=\"top\">\n <Tooltip.Popup>\n {submitDisabledReason}\n <Tooltip.Arrow />\n </Tooltip.Popup>\n </Tooltip.Positioner>\n </Tooltip.Portal>\n </Tooltip.Root>\n ) : (\n submitButton\n )}\n </>\n );\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,YAAY,QAAQ,qDAAqD;AAClF,SAASC,OAAO,QAAQ,wCAAwC;AAEhE,OAAOC,MAAM,MAAM,qCAAqC;AAQxD,OAAO,SAASC,sBAAsBA,CAAC;EACrCC,QAAQ;EACRC,SAAS;EACTC;AAC2B,CAAC,EAAsB;EAClD,MAAMC,gBAAgB,GAAGD,oBAAoB,IAAI,IAAI;EAErD,MAAME,YAAY,gBAChBT,KAAA,CAAAU,aAAA,CAACT,YAAY;IACXU,OAAO,EAAC,SAAS;IACjBC,OAAO,EAAEN,SAAU;IACnBO,QAAQ,EAAEL;EAAiB,GAC5B,oBAEa,CACf;EAED,oBACER,KAAA,CAAAU,aAAA,CAAAV,KAAA,CAAAc,QAAA,qBACEd,KAAA,CAAAU,aAAA,CAACT,YAAY;IAACU,OAAO,EAAC,WAAW;IAACC,OAAO,EAAEP;EAAS,GAAC,QAEvC,CAAC,EACdG,gBAAgB,gBACfR,KAAA,CAAAU,aAAA,CAACR,OAAO,CAACa,IAAI,qBACXf,KAAA,CAAAU,aAAA,CAACR,OAAO,CAACc,OAAO;IACdC,MAAM,eAAEjB,KAAA,CAAAU,aAAA;MAAMQ,SAAS,EAAEf,MAAM,CAACgB;IAAsB,CAAE;EAAE,GAEzDV,YACc,CAAC,eAClBT,KAAA,CAAAU,aAAA,CAACR,OAAO,CAACkB,MAAM,qBACbpB,KAAA,CAAAU,aAAA,CAACR,OAAO,CAACmB,UAAU;IAACC,IAAI,EAAC;EAAK,gBAC5BtB,KAAA,CAAAU,aAAA,CAACR,OAAO,CAACqB,KAAK,QACXhB,oBAAoB,eACrBP,KAAA,CAAAU,aAAA,CAACR,OAAO,CAACsB,KAAK,MAAE,CACH,CACG,CACN,CACJ,CAAC,GAEff,YAEF,CAAC;AAEP","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InfoBanner.js","names":["InfoSign","classnames","React","styles","InfoBanner","message","className","createElement","infoBanner","icon","size"],"sources":["InfoBanner.tsx"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { InfoSign } from \"@blueprintjs/icons\";\nimport classnames from \"classnames\";\nimport React from \"react\";\nimport styles from \"./InfoBanner.module.css\";\n\nexport interface InfoBannerProps {\n message: string;\n className?: string;\n}\n\nexport function InfoBanner({\n message,\n className,\n}: InfoBannerProps): React.ReactElement {\n return (\n <div className={classnames(styles.infoBanner, className)}>\n <InfoSign className={styles.icon} size={14} />\n <span>{message}</span>\n </div>\n );\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,QAAQ,QAAQ,oBAAoB;AAC7C,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,KAAK,MAAM,OAAO;
|
|
1
|
+
{"version":3,"file":"InfoBanner.js","names":["InfoSign","classnames","React","styles","InfoBanner","message","className","createElement","infoBanner","icon","size"],"sources":["InfoBanner.tsx"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { InfoSign } from \"@blueprintjs/icons\";\nimport classnames from \"classnames\";\nimport React from \"react\";\n\nimport styles from \"./InfoBanner.module.css\";\n\nexport interface InfoBannerProps {\n message: string;\n className?: string;\n}\n\nexport function InfoBanner({\n message,\n className,\n}: InfoBannerProps): React.ReactElement {\n return (\n <div className={classnames(styles.infoBanner, className)}>\n <InfoSign className={styles.icon} size={14} />\n <span>{message}</span>\n </div>\n );\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,QAAQ,QAAQ,oBAAoB;AAC7C,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,KAAK,MAAM,OAAO;AAEzB,OAAOC,MAAM,MAAM,yBAAyB;AAO5C,OAAO,SAASC,UAAUA,CAAC;EACzBC,OAAO;EACPC;AACe,CAAC,EAAsB;EACtC,oBACEJ,KAAA,CAAAK,aAAA;IAAKD,SAAS,EAAEL,UAAU,CAACE,MAAM,CAACK,UAAU,EAAEF,SAAS;EAAE,gBACvDJ,KAAA,CAAAK,aAAA,CAACP,QAAQ;IAACM,SAAS,EAAEH,MAAM,CAACM,IAAK;IAACC,IAAI,EAAE;EAAG,CAAE,CAAC,eAC9CR,KAAA,CAAAK,aAAA,eAAOF,OAAc,CAClB,CAAC;AAEV","ignoreList":[]}
|
|
@@ -18,8 +18,8 @@ import { Button } from "@base-ui/react/button";
|
|
|
18
18
|
import { Tooltip } from "@base-ui/react/tooltip";
|
|
19
19
|
import classnames from "classnames";
|
|
20
20
|
import React from "react";
|
|
21
|
-
import styles from "./MarkingButton.module.css";
|
|
22
21
|
import { getDisplayLabel, isDisallowed } from "./selectionStateHelpers.js";
|
|
22
|
+
import styles from "./MarkingButton.module.css";
|
|
23
23
|
const selectionStateClassMap = {
|
|
24
24
|
SELECTED: styles.selected,
|
|
25
25
|
IMPLIED: styles.implied,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkingButton.js","names":["Button","Tooltip","classnames","React","
|
|
1
|
+
{"version":3,"file":"MarkingButton.js","names":["Button","Tooltip","classnames","React","getDisplayLabel","isDisallowed","styles","selectionStateClassMap","SELECTED","selected","IMPLIED","implied","DISALLOWED","disallowed","IMPLIED_DISALLOWED","impliedDisallowed","NONE","undefined","getSelectionHint","state","MarkingButton","memo","id","label","description","selectionState","onToggle","disabled","handleToggle","useCallback","hasDescription","length","isButtonDisabled","showTooltip","hint","button","createElement","className","markingButton","onClick","title","Root","Trigger","render","Portal","Positioner","sideOffset","Popup","tooltip","tooltipTitle","tooltipDescription","tooltipHint"],"sources":["MarkingButton.tsx"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Button } from \"@base-ui/react/button\";\nimport { Tooltip } from \"@base-ui/react/tooltip\";\nimport classnames from \"classnames\";\nimport React from \"react\";\n\nimport type { MarkingSelectionState } from \"../types.js\";\nimport { getDisplayLabel, isDisallowed } from \"./selectionStateHelpers.js\";\n\nimport styles from \"./MarkingButton.module.css\";\n\nexport interface MarkingButtonProps {\n id: string;\n label: string;\n description?: string;\n selectionState: MarkingSelectionState;\n onToggle: (markingId: string) => void;\n disabled?: boolean;\n}\n\nconst selectionStateClassMap: Record<\n MarkingSelectionState,\n string | undefined\n> = {\n SELECTED: styles.selected,\n IMPLIED: styles.implied,\n DISALLOWED: styles.disallowed,\n IMPLIED_DISALLOWED: styles.impliedDisallowed,\n NONE: undefined,\n};\n\nfunction getSelectionHint(state: MarkingSelectionState): string | undefined {\n switch (state) {\n case \"SELECTED\":\n return \"Click to deselect\";\n case \"IMPLIED\":\n return \"Implied by another marking\";\n case \"DISALLOWED\":\n case \"IMPLIED_DISALLOWED\":\n return \"Not available with current selection. Deselect your current choice first.\";\n case \"NONE\":\n return undefined;\n }\n}\n\nexport const MarkingButton: React.MemoExoticComponent<\n (props: MarkingButtonProps) => React.ReactElement\n> = React.memo(function MarkingButton({\n id,\n label,\n description,\n selectionState,\n onToggle,\n disabled,\n}: MarkingButtonProps): React.ReactElement {\n const handleToggle = React.useCallback(() => {\n onToggle(id);\n }, [onToggle, id]);\n\n const hasDescription = description !== undefined && description.length > 0;\n const isButtonDisabled = disabled ?? isDisallowed(selectionState);\n const showTooltip = hasDescription || isDisallowed(selectionState);\n const hint = getSelectionHint(selectionState);\n\n const button = (\n <Button\n className={classnames(\n styles.markingButton,\n selectionStateClassMap[selectionState]\n )}\n onClick={isButtonDisabled ? undefined : handleToggle}\n disabled={showTooltip ? undefined : isButtonDisabled}\n aria-disabled={showTooltip ? isButtonDisabled : undefined}\n aria-pressed={\n selectionState === \"SELECTED\" || selectionState === \"IMPLIED\"\n }\n title={showTooltip ? undefined : label}\n >\n {getDisplayLabel(label, selectionState)}\n </Button>\n );\n\n if (!showTooltip) {\n return button;\n }\n\n return (\n <Tooltip.Root>\n <Tooltip.Trigger render={button} />\n <Tooltip.Portal>\n <Tooltip.Positioner sideOffset={8}>\n <Tooltip.Popup className={styles.tooltip}>\n <p className={styles.tooltipTitle}>{label}</p>\n {hasDescription && (\n <p className={styles.tooltipDescription}>{description}</p>\n )}\n {hint != null && <p className={styles.tooltipHint}>{hint}</p>}\n </Tooltip.Popup>\n </Tooltip.Positioner>\n </Tooltip.Portal>\n </Tooltip.Root>\n );\n});\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,MAAM,QAAQ,uBAAuB;AAC9C,SAASC,OAAO,QAAQ,wBAAwB;AAChD,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,KAAK,MAAM,OAAO;AAGzB,SAASC,eAAe,EAAEC,YAAY,QAAQ,4BAA4B;AAE1E,OAAOC,MAAM,MAAM,4BAA4B;AAW/C,MAAMC,sBAGL,GAAG;EACFC,QAAQ,EAAEF,MAAM,CAACG,QAAQ;EACzBC,OAAO,EAAEJ,MAAM,CAACK,OAAO;EACvBC,UAAU,EAAEN,MAAM,CAACO,UAAU;EAC7BC,kBAAkB,EAAER,MAAM,CAACS,iBAAiB;EAC5CC,IAAI,EAAEC;AACR,CAAC;AAED,SAASC,gBAAgBA,CAACC,KAA4B,EAAsB;EAC1E,QAAQA,KAAK;IACX,KAAK,UAAU;MACb,OAAO,mBAAmB;IAC5B,KAAK,SAAS;MACZ,OAAO,4BAA4B;IACrC,KAAK,YAAY;IACjB,KAAK,oBAAoB;MACvB,OAAO,2E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AAI,qBACXtC,KAAA,CAAAiC,aAAA,CAACnC,OAAO,CAACyC,OAAO;IAACC,MAAM,EAAER;EAAO,CAAE,CAAC,eACnChC,KAAA,CAAAiC,aAAA,CAACnC,OAAO,CAAC2C,MAAM,qBACbzC,KAAA,CAAAiC,aAAA,CAACnC,OAAO,CAAC4C,UAAU;IAACC,UAAU,EAAE;EAAE,gBAChC3C,KAAA,CAAAiC,aAAA,CAACnC,OAAO,CAAC8C,KAAK;IAACV,SAAS,EAAE/B,MAAM,CAAC0C;EAAQ,gBACvC7C,KAAA,CAAAiC,aAAA;IAAGC,SAAS,EAAE/B,MAAM,CAAC2C;EAAa,GAAE1B,KAAS,CAAC,EAC7CO,cAAc,iBACb3B,KAAA,CAAAiC,aAAA;IAAGC,SAAS,EAAE/B,MAAM,CAAC4C;EAAmB,GAAE1B,WAAe,CAC1D,EACAU,IAAI,IAAI,IAAI,iBAAI/B,KAAA,CAAAiC,aAAA;IAAGC,SAAS,EAAE/B,MAAM,CAAC6C;EAAY,GAAEjB,IAAQ,CAC/C,CACG,CACN,CACJ,CAAC;AAEnB,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MaxClassificationField.js","names":["classnames","React","BaseCbacBanner","styles","MaxClassificationField","classificationString","textColor","backgroundColors","helperText","className","createElement","container","label","bannerWrapper"],"sources":["MaxClassificationField.tsx"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport classnames from \"classnames\";\nimport React from \"react\";\nimport { BaseCbacBanner } from \"./BaseCbacBanner.js\";\nimport styles from \"./MaxClassificationField.module.css\";\n\nexport interface MaxClassificationFieldProps {\n classificationString: string;\n textColor: string;\n backgroundColors: string[];\n helperText?: string;\n className?: string;\n}\n\nexport function MaxClassificationField({\n classificationString,\n textColor,\n backgroundColors,\n helperText,\n className,\n}: MaxClassificationFieldProps): React.ReactElement {\n return (\n <div className={classnames(styles.container, className)}>\n <p className={styles.label}>Maximum allowed classification</p>\n <div className={styles.bannerWrapper}>\n <BaseCbacBanner\n classificationString={classificationString}\n textColor={textColor}\n backgroundColors={backgroundColors}\n />\n </div>\n {helperText != null && <p className={styles.helperText}>{helperText}</p>}\n </div>\n );\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAOA,UAAU,MAAM,YAAY;AACnC,OAAOC,KAAK,MAAM,OAAO;
|
|
1
|
+
{"version":3,"file":"MaxClassificationField.js","names":["classnames","React","BaseCbacBanner","styles","MaxClassificationField","classificationString","textColor","backgroundColors","helperText","className","createElement","container","label","bannerWrapper"],"sources":["MaxClassificationField.tsx"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport classnames from \"classnames\";\nimport React from \"react\";\n\nimport { BaseCbacBanner } from \"./BaseCbacBanner.js\";\n\nimport styles from \"./MaxClassificationField.module.css\";\n\nexport interface MaxClassificationFieldProps {\n classificationString: string;\n textColor: string;\n backgroundColors: string[];\n helperText?: string;\n className?: string;\n}\n\nexport function MaxClassificationField({\n classificationString,\n textColor,\n backgroundColors,\n helperText,\n className,\n}: MaxClassificationFieldProps): React.ReactElement {\n return (\n <div className={classnames(styles.container, className)}>\n <p className={styles.label}>Maximum allowed classification</p>\n <div className={styles.bannerWrapper}>\n <BaseCbacBanner\n classificationString={classificationString}\n textColor={textColor}\n backgroundColors={backgroundColors}\n />\n </div>\n {helperText != null && <p className={styles.helperText}>{helperText}</p>}\n </div>\n );\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAOA,UAAU,MAAM,YAAY;AACnC,OAAOC,KAAK,MAAM,OAAO;AAEzB,SAASC,cAAc,QAAQ,qBAAqB;AAEpD,OAAOC,MAAM,MAAM,qCAAqC;AAUxD,OAAO,SAASC,sBAAsBA,CAAC;EACrCC,oBAAoB;EACpBC,SAAS;EACTC,gBAAgB;EAChBC,UAAU;EACVC;AAC2B,CAAC,EAAsB;EAClD,oBACER,KAAA,CAAAS,aAAA;IAAKD,SAAS,EAAET,UAAU,CAACG,MAAM,CAACQ,SAAS,EAAEF,SAAS;EAAE,gBACtDR,KAAA,CAAAS,aAAA;IAAGD,SAAS,EAAEN,MAAM,CAACS;EAAM,GAAC,gCAAiC,CAAC,eAC9DX,KAAA,CAAAS,aAAA;IAAKD,SAAS,EAAEN,MAAM,CAACU;EAAc,gBACnCZ,KAAA,CAAAS,aAAA,CAACR,cAAc;IACbG,oBAAoB,EAAEA,oBAAqB;IAC3CC,SAAS,EAAEA,SAAU;IACrBC,gBAAgB,EAAEA;EAAiB,CACpC,CACE,CAAC,EACLC,UAAU,IAAI,IAAI,iBAAIP,KAAA,CAAAS,aAAA;IAAGD,SAAS,EAAEN,MAAM,CAACK;EAAW,GAAEA,UAAc,CACpE,CAAC;AAEV","ignoreList":[]}
|
|
@@ -18,8 +18,8 @@ import { Button } from "@base-ui/react/button";
|
|
|
18
18
|
import { Popover } from "@base-ui/react/popover";
|
|
19
19
|
import classnames from "classnames";
|
|
20
20
|
import React from "react";
|
|
21
|
-
import styles from "./OverflowButton.module.css";
|
|
22
21
|
import { OverflowItem } from "./OverflowItem.js";
|
|
22
|
+
import styles from "./OverflowButton.module.css";
|
|
23
23
|
export function OverflowButton({
|
|
24
24
|
overflowMarkings,
|
|
25
25
|
hasActiveOverflow,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OverflowButton.js","names":["Button","Popover","classnames","React","
|
|
1
|
+
{"version":3,"file":"OverflowButton.js","names":["Button","Popover","classnames","React","OverflowItem","styles","OverflowButton","overflowMarkings","hasActiveOverflow","onMarkingToggle","open","setOpen","useState","createElement","Root","onOpenChange","Trigger","render","className","moreButton","moreButtonActive","length","Portal","Positioner","side","align","Popup","overflowList","map","marking","key","id","label","description","selectionState","disabled","onToggle"],"sources":["OverflowButton.tsx"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Button } from \"@base-ui/react/button\";\nimport { Popover } from \"@base-ui/react/popover\";\nimport classnames from \"classnames\";\nimport React from \"react\";\n\nimport type { MarkingSelectionState } from \"../types.js\";\nimport { OverflowItem } from \"./OverflowItem.js\";\n\nimport styles from \"./OverflowButton.module.css\";\n\nexport interface OverflowButtonProps {\n overflowMarkings: ReadonlyArray<{\n id: string;\n label: string;\n description?: string;\n selectionState: MarkingSelectionState;\n disabled?: boolean;\n }>;\n hasActiveOverflow: boolean;\n onMarkingToggle: (markingId: string) => void;\n}\n\nexport function OverflowButton({\n overflowMarkings,\n hasActiveOverflow,\n onMarkingToggle,\n}: OverflowButtonProps): React.ReactElement {\n const [open, setOpen] = React.useState(false);\n\n return (\n <Popover.Root open={open} onOpenChange={setOpen}>\n <Popover.Trigger\n render={\n <Button\n className={classnames(\n styles.moreButton,\n hasActiveOverflow && styles.moreButtonActive\n )}\n >\n +{overflowMarkings.length} more\n </Button>\n }\n />\n <Popover.Portal>\n <Popover.Positioner side=\"bottom\" align=\"start\">\n <Popover.Popup className={styles.overflowList}>\n {overflowMarkings.map((marking) => (\n <OverflowItem\n key={marking.id}\n id={marking.id}\n label={marking.label}\n description={marking.description}\n selectionState={marking.selectionState}\n disabled={marking.disabled}\n onToggle={onMarkingToggle}\n />\n ))}\n </Popover.Popup>\n </Popover.Positioner>\n </Popover.Portal>\n </Popover.Root>\n );\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,MAAM,QAAQ,uBAAuB;AAC9C,SAASC,OAAO,QAAQ,wBAAwB;AAChD,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,KAAK,MAAM,OAAO;AAGzB,SAASC,YAAY,QAAQ,mBAAmB;AAEhD,OAAOC,MAAM,MAAM,6BAA6B;AAchD,OAAO,SAASC,cAAcA,CAAC;EAC7BC,gBAAgB;EAChBC,iBAAiB;EACjBC;AACmB,CAAC,EAAsB;EAC1C,MAAM,CAACC,IAAI,EAAEC,OAAO,CAAC,GAAGR,KAAK,CAACS,QAAQ,CAAC,KAAK,CAAC;EAE7C,oBACET,KAAA,CAAAU,aAAA,CAACZ,OAAO,CAACa,IAAI;IAACJ,IAAI,EAAEA,IAAK;IAACK,YAAY,EAAEJ;EAAQ,gBAC9CR,KAAA,CAAAU,aAAA,CAACZ,OAAO,CAACe,OAAO;IACdC,MAAM,eACJd,KAAA,CAAAU,aAAA,CAACb,MAAM;MACLkB,SAAS,EAAEhB,UAAU,CACnBG,MAAM,CAACc,UAAU,EACjBX,iBAAiB,IAAIH,MAAM,CAACe,gBAC9B;IAAE,GACH,GACE,EAACb,gBAAgB,CAACc,MAAM,EAAC,OACpB;EACT,CACF,CAAC,eACFlB,KAAA,CAAAU,aAAA,CAACZ,OAAO,CAACqB,MAAM,qBACbnB,KAAA,CAAAU,aAAA,CAACZ,OAAO,CAACsB,UAAU;IAACC,IAAI,EAAC,QAAQ;IAACC,KAAK,EAAC;EAAO,gBAC7CtB,KAAA,CAAAU,aAAA,CAACZ,OAAO,CAACyB,KAAK;IAACR,SAAS,EAAEb,MAAM,CAACsB;EAAa,GAC3CpB,gBAAgB,CAACqB,GAAG,CAAEC,OAAO,iBAC5B1B,KAAA,CAAAU,aAAA,CAACT,YAAY;IACX0B,GAAG,EAAED,OAAO,CAACE,EAAG;IAChBA,EAAE,EAAEF,OAAO,CAACE,EAAG;IACfC,KAAK,EAAEH,OAAO,CAACG,KAAM;IACrBC,WAAW,EAAEJ,OAAO,CAACI,WAAY;IACjCC,cAAc,EAAEL,OAAO,CAACK,cAAe;IACvCC,QAAQ,EAAEN,OAAO,CAACM,QAAS;IAC3BC,QAAQ,EAAE3B;EAAgB,CAC3B,CACF,CACY,CACG,CACN,CACJ,CAAC;AAEnB","ignoreList":[]}
|
|
@@ -18,8 +18,8 @@ import { Button } from "@base-ui/react/button";
|
|
|
18
18
|
import { Tooltip } from "@base-ui/react/tooltip";
|
|
19
19
|
import classnames from "classnames";
|
|
20
20
|
import React from "react";
|
|
21
|
-
import styles from "./OverflowItem.module.css";
|
|
22
21
|
import { getDisplayLabel, getTooltipText, isDisallowed, isImplied } from "./selectionStateHelpers.js";
|
|
22
|
+
import styles from "./OverflowItem.module.css";
|
|
23
23
|
export const OverflowItem = /*#__PURE__*/React.memo(function ({
|
|
24
24
|
id,
|
|
25
25
|
label,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OverflowItem.js","names":["Button","Tooltip","classnames","React","
|
|
1
|
+
{"version":3,"file":"OverflowItem.js","names":["Button","Tooltip","classnames","React","getDisplayLabel","getTooltipText","isDisallowed","isImplied","styles","OverflowItem","memo","id","label","description","selectionState","disabled","onToggle","handleClick","useCallback","disallowed","isSelected","implied","tooltipText","hasDescription","undefined","length","showTooltip","isItemDisabled","button","createElement","className","overflowItem","overflowItemSelected","overflowItemDisabled","onClick","Root","Trigger","render","Portal","Positioner","side","sideOffset","Popup","tooltip","tooltipDescription","tooltipHint"],"sources":["OverflowItem.tsx"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Button } from \"@base-ui/react/button\";\nimport { Tooltip } from \"@base-ui/react/tooltip\";\nimport classnames from \"classnames\";\nimport React from \"react\";\n\nimport type { MarkingSelectionState } from \"../types.js\";\nimport {\n getDisplayLabel,\n getTooltipText,\n isDisallowed,\n isImplied,\n} from \"./selectionStateHelpers.js\";\n\nimport styles from \"./OverflowItem.module.css\";\n\nexport interface OverflowItemProps {\n id: string;\n label: string;\n description?: string;\n selectionState: MarkingSelectionState;\n disabled?: boolean;\n onToggle: (markingId: string) => void;\n}\n\nexport const OverflowItem: React.MemoExoticComponent<\n (props: OverflowItemProps) => React.ReactElement\n> = React.memo(function OverflowItem({\n id,\n label,\n description,\n selectionState,\n disabled,\n onToggle,\n}: OverflowItemProps): React.ReactElement {\n const handleClick = React.useCallback(() => {\n onToggle(id);\n }, [onToggle, id]);\n\n const disallowed = isDisallowed(selectionState);\n const isSelected = selectionState === \"SELECTED\";\n const implied = isImplied(selectionState);\n\n const tooltipText = getTooltipText(selectionState);\n const hasDescription = description !== undefined && description.length > 0;\n const showTooltip = hasDescription || tooltipText != null;\n const isItemDisabled = disabled ?? disallowed;\n\n const button = (\n <Button\n className={classnames(\n styles.overflowItem,\n (isSelected || implied) && styles.overflowItemSelected,\n disallowed && styles.overflowItemDisabled\n )}\n onClick={isItemDisabled ? undefined : handleClick}\n disabled={showTooltip ? undefined : isItemDisabled}\n aria-disabled={showTooltip ? isItemDisabled : undefined}\n aria-pressed={isSelected || implied}\n >\n {getDisplayLabel(label, selectionState)}\n </Button>\n );\n\n if (!showTooltip) {\n return button;\n }\n\n return (\n <Tooltip.Root>\n <Tooltip.Trigger render={button} />\n <Tooltip.Portal>\n <Tooltip.Positioner side=\"right\" sideOffset={4}>\n <Tooltip.Popup className={styles.tooltip}>\n {hasDescription && (\n <p className={styles.tooltipDescription}>{description}</p>\n )}\n {tooltipText != null && (\n <p className={styles.tooltipHint}>{tooltipText}</p>\n )}\n </Tooltip.Popup>\n </Tooltip.Positioner>\n </Tooltip.Portal>\n </Tooltip.Root>\n );\n});\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,MAAM,QAAQ,uBAAuB;AAC9C,SAASC,OAAO,QAAQ,wBAAwB;AAChD,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,KAAK,MAAM,OAAO;AAGzB,SACEC,eAAe,EACfC,cAAc,EACdC,YAAY,EACZC,SAAS,QACJ,4BAA4B;AAEnC,OAAOC,MAAM,MAAM,2BAA2B;AAW9C,OAAO,MAAMC,YAEZ,gBAAGN,KAAK,CAACO,IAAI,CAAC,UAAsB;EACnCC,EAAE;EACFC,KAAK;EACLC,WAAW;EACXC,cAAc;EACdC,QAAQ;EACRC;AACiB,CAAC,EAAsB;EACxC,MAAMC,WAAW,GAAGd,KAAK,CAACe,WAAW,CAAC,MAAM;IAC1CF,QAAQ,CAACL,EAAE,CAAC;EACd,CAAC,EAAE,CAACK,QAAQ,EAAEL,EAAE,CAAC,CAAC;EA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tC,KAAA,CAAA0B,aAAA,CAAC5B,OAAO,CAACyC,KAAK;IAACZ,SAAS,EAAEtB,MAAM,CAACmC;EAAQ,GACtCpB,cAAc,iBACbpB,KAAA,CAAA0B,aAAA;IAAGC,SAAS,EAAEtB,MAAM,CAACoC;EAAmB,GAAE/B,WAAe,CAC1D,EACAS,WAAW,IAAI,IAAI,iBAClBnB,KAAA,CAAA0B,aAAA;IAAGC,SAAS,EAAEtB,MAAM,CAACqC;EAAY,GAAEvB,WAAe,CAEvC,CACG,CACN,CACJ,CAAC;AAEnB,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ValidationWarning.js","names":["WarningSign","classnames","React","styles","ValidationWarning","requiredMarkingGroups","className","createElement","validationWarning","header","icon","size","groupList","map","group","index","key","markingNames","join","groupItem","groupNumber","name","chip"],"sources":["ValidationWarning.tsx"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { WarningSign } from \"@blueprintjs/icons\";\nimport classnames from \"classnames\";\nimport React from \"react\";\nimport type { RequiredMarkingGroup } from \"../types.js\";\nimport styles from \"./ValidationWarning.module.css\";\n\nexport interface ValidationWarningProps {\n requiredMarkingGroups: ReadonlyArray<RequiredMarkingGroup>;\n className?: string;\n}\n\nexport function ValidationWarning({\n requiredMarkingGroups,\n className,\n}: ValidationWarningProps): React.ReactElement {\n return (\n <div className={classnames(styles.validationWarning, className)}>\n <div className={styles.header}>\n <WarningSign className={styles.icon} size={14} />\n <span>\n To complete a valid classification, at least one marking from each of\n the following sets needs to be selected:\n </span>\n </div>\n <ol className={styles.groupList}>\n {requiredMarkingGroups.map((group, index) => (\n <li key={group.markingNames.join(\",\")} className={styles.groupItem}>\n <span className={styles.groupNumber}>{index + 1}.</span>\n {group.markingNames.map((name) => (\n <span key={name} className={styles.chip}
|
|
1
|
+
{"version":3,"file":"ValidationWarning.js","names":["WarningSign","classnames","React","styles","ValidationWarning","requiredMarkingGroups","className","createElement","validationWarning","header","icon","size","groupList","map","group","index","key","markingNames","join","groupItem","groupNumber","name","chip"],"sources":["ValidationWarning.tsx"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { WarningSign } from \"@blueprintjs/icons\";\nimport classnames from \"classnames\";\nimport React from \"react\";\n\nimport type { RequiredMarkingGroup } from \"../types.js\";\n\nimport styles from \"./ValidationWarning.module.css\";\n\nexport interface ValidationWarningProps {\n requiredMarkingGroups: ReadonlyArray<RequiredMarkingGroup>;\n className?: string;\n}\n\nexport function ValidationWarning({\n requiredMarkingGroups,\n className,\n}: ValidationWarningProps): React.ReactElement {\n return (\n <div className={classnames(styles.validationWarning, className)}>\n <div className={styles.header}>\n <WarningSign className={styles.icon} size={14} />\n <span>\n To complete a valid classification, at least one marking from each of\n the following sets needs to be selected:\n </span>\n </div>\n <ol className={styles.groupList}>\n {requiredMarkingGroups.map((group, index) => (\n <li key={group.markingNames.join(\",\")} className={styles.groupItem}>\n <span className={styles.groupNumber}>{index + 1}.</span>\n {group.markingNames.map((name) => (\n <span key={name} className={styles.chip}>\n {name}\n </span>\n ))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AEV","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectionStateHelpers.js","names":["isDisallowed","state","isImplied","getDisplayLabel","label","getTooltipText","undefined"],"sources":["selectionStateHelpers.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { MarkingSelectionState } from \"../types.js\";\n\nexport function isDisallowed(state: MarkingSelectionState): boolean {\n return state === \"DISALLOWED\" || state === \"IMPLIED_DISALLOWED\";\n}\n\nexport function isImplied(state: MarkingSelectionState): boolean {\n return state === \"IMPLIED\" || state === \"IMPLIED_DISALLOWED\";\n}\n\nexport function getDisplayLabel(\n label: string,\n state: MarkingSelectionState
|
|
1
|
+
{"version":3,"file":"selectionStateHelpers.js","names":["isDisallowed","state","isImplied","getDisplayLabel","label","getTooltipText","undefined"],"sources":["selectionStateHelpers.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { MarkingSelectionState } from \"../types.js\";\n\nexport function isDisallowed(state: MarkingSelectionState): boolean {\n return state === \"DISALLOWED\" || state === \"IMPLIED_DISALLOWED\";\n}\n\nexport function isImplied(state: MarkingSelectionState): boolean {\n return state === \"IMPLIED\" || state === \"IMPLIED_DISALLOWED\";\n}\n\nexport function getDisplayLabel(\n label: string,\n state: MarkingSelectionState\n): string {\n return isImplied(state) ? `(${label})` : label;\n}\n\nexport function getTooltipText(\n state: MarkingSelectionState\n): string | undefined {\n if (state === \"DISALLOWED\") {\n return \"This marking is not allowed with the current selection\";\n }\n if (state === \"IMPLIED_DISALLOWED\") {\n return \"This marking is implied but not allowed\";\n }\n return undefined;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,OAAO,SAASA,YAAYA,CAACC,KAA4B,EAAW;EAClE,OAAOA,KAAK,KAAK,YAAY,IAAIA,KAAK,KAAK,oBAAoB;AACjE;AAEA,OAAO,SAASC,SAASA,CAACD,KAA4B,EAAW;EAC/D,OAAOA,KAAK,KAAK,SAAS,IAAIA,KAAK,KAAK,oBAAoB;AAC9D;AAEA,OAAO,SAASE,eAAeA,CAC7BC,KAAa,EACbH,KAA4B,EACpB;EACR,OAAOC,SAAS,CAACD,KAAK,CAAC,GAAG,IAAIG,KAAK,GAAG,GAAGA,KAAK;AAChD;AAEA,OAAO,SAASC,cAAcA,CAC5BJ,KAA4B,EACR;EACpB,IAAIA,KAAK,KAAK,YAAY,EAAE;IAC1B,OAAO,wDAAwD;EACjE;EACA,IAAIA,KAAK,KAAK,oBAAoB,EAAE;IAClC,OAAO,yCAAyC;EAClD;EACA,OAAOK,SAAS;AAClB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCbacPickerState.js","names":["useCbacBanner","useCbacMarkingRestrictions","useMarkingCategories","useMarkings","React","EMPTY_ARRAY","resolveRequiredGroups","computeMarkingStates","groupMarkingsByCategory","EMPTY_GROUPS","useStableArray","arr","ref","useRef","length","current","some","id","i","useCbacPickerState","selectedIds","stableSelectedIds","categories","rawCategories","isLoading","categoriesLoading","error","categoriesError","refetch","refetchCategories","markings","rawMarkings","markingsLoading","markingsError","refetchMarkings","banner","latestBanner","bannerLoading","bannerError","refetchBanner","markingIds","bannerRef","restrictions","restrictionsLoading","restrictionsError","refetchRestrictions","impliedMarkingIds","impliedMarkings","disallowedMarkingIds","disallowedMarkings","requiredMarkingGroups","requiredMarkings","isValid","userSatisfiesMarkings","useMemo","errors","filter","e","AggregateError","map","message","join","retry","useCallback","categoryGroups","undefined","markingStates","resolvedRequiredGroups"],"sources":["useCbacPickerState.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n useCbacBanner,\n useCbacMarkingRestrictions,\n useMarkingCategories,\n useMarkings,\n} from \"@osdk/react/platform-apis\";\nimport React from \"react\";\nimport type {\n CategoryMarkingGroup,\n CbacBannerData,\n MarkingSelectionState,\n RequiredMarkingGroup,\n} from \"./types.js\";\nimport { EMPTY_ARRAY, resolveRequiredGroups } from \"./utils/cbacPickerUtils.js\";\nimport {\n computeMarkingStates,\n groupMarkingsByCategory,\n} from \"./utils/selectionLogic.js\";\n\nconst EMPTY_GROUPS: string[][] = [];\n\nexport interface UseCbacPickerStateResult {\n categoryGroups: CategoryMarkingGroup[];\n markingStates: Map<string, MarkingSelectionState>;\n banner: CbacBannerData | undefined;\n requiredMarkingGroups: RequiredMarkingGroup[];\n isValid: boolean;\n userSatisfiesMarkings: boolean;\n disallowedMarkingIds: readonly string[];\n isLoading: boolean;\n error: Error | undefined;\n retry: () => void;\n}\n\nfunction useStableArray(arr: string[]): string[] {\n const ref = React.useRef(arr);\n if (\n arr.length !== ref.current.length
|
|
1
|
+
{"version":3,"file":"useCbacPickerState.js","names":["useCbacBanner","useCbacMarkingRestrictions","useMarkingCategories","useMarkings","React","EMPTY_ARRAY","resolveRequiredGroups","computeMarkingStates","groupMarkingsByCategory","EMPTY_GROUPS","useStableArray","arr","ref","useRef","length","current","some","id","i","useCbacPickerState","selectedIds","stableSelectedIds","categories","rawCategories","isLoading","categoriesLoading","error","categoriesError","refetch","refetchCategories","markings","rawMarkings","markingsLoading","markingsError","refetchMarkings","banner","latestBanner","bannerLoading","bannerError","refetchBanner","markingIds","bannerRef","restrictions","restrictionsLoading","restrictionsError","refetchRestrictions","impliedMarkingIds","impliedMarkings","disallowedMarkingIds","disallowedMarkings","requiredMarkingGroups","requiredMarkings","isValid","userSatisfiesMarkings","useMemo","errors","filter","e","AggregateError","map","message","join","retry","useCallback","categoryGroups","undefined","markingStates","resolvedRequiredGroups"],"sources":["useCbacPickerState.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n useCbacBanner,\n useCbacMarkingRestrictions,\n useMarkingCategories,\n useMarkings,\n} from \"@osdk/react/platform-apis\";\nimport React from \"react\";\n\nimport type {\n CategoryMarkingGroup,\n CbacBannerData,\n MarkingSelectionState,\n RequiredMarkingGroup,\n} from \"./types.js\";\nimport { EMPTY_ARRAY, resolveRequiredGroups } from \"./utils/cbacPickerUtils.js\";\nimport {\n computeMarkingStates,\n groupMarkingsByCategory,\n} from \"./utils/selectionLogic.js\";\n\nconst EMPTY_GROUPS: string[][] = [];\n\nexport interface UseCbacPickerStateResult {\n categoryGroups: CategoryMarkingGroup[];\n markingStates: Map<string, MarkingSelectionState>;\n banner: CbacBannerData | undefined;\n requiredMarkingGroups: RequiredMarkingGroup[];\n isValid: boolean;\n userSatisfiesMarkings: boolean;\n disallowedMarkingIds: readonly string[];\n isLoading: boolean;\n error: Error | undefined;\n retry: () => void;\n}\n\nfunction useStableArray(arr: string[]): string[] {\n const ref = React.useRef(arr);\n if (\n arr.length !== ref.current.length ||\n arr.some((id, i) => id !== ref.current[i])\n ) {\n ref.current = arr;\n }\n return ref.current;\n}\n\nexport function useCbacPickerState(\n selectedIds: string[]\n): UseCbacPickerStateResult {\n const stableSelectedIds = useStableArray(selectedIds);\n const {\n categories: rawCategories,\n isLoading: categoriesLoading,\n error: categoriesError,\n refetch: refetchCategories,\n } = useMarkingCategories();\n const {\n markings: rawMarkings,\n isLoading: markingsLoading,\n error: markingsError,\n refetch: refetchMarkings,\n } = useMarkings();\n const {\n banner: latestBanner,\n isLoading: bannerLoading,\n error: bannerError,\n refetch: refetchBanner,\n } = useCbacBanner({ markingIds: stableSelectedIds });\n\n const bannerRef = React.useRef(latestBanner);\n if (latestBanner != null) {\n bannerRef.current = latestBanner;\n }\n const banner = latestBanner ?? bannerRef.current;\n const {\n restrictions,\n isLoading: restrictionsLoading,\n error: restrictionsError,\n refetch: refetchRestrictions,\n } = useCbacMarkingRestrictions({ markingIds: stableSelectedIds });\n\n const impliedMarkingIds = restrictions?.impliedMarkings ?? EMPTY_ARRAY;\n const disallowedMarkingIds = restrictions?.disallowedMarkings ?? EMPTY_ARRAY;\n const requiredMarkingGroups = restrictions?.requiredMarkings ?? EMPTY_GROUPS;\n const isValid = restrictions?.isValid ?? true;\n const userSatisfiesMarkings = restrictions?.userSatisfiesMarkings ?? true;\n\n const isLoading =\n categoriesLoading ||\n markingsLoading ||\n restrictionsLoading ||\n bannerLoading;\n\n const error = React.useMemo(() => {\n const errors = [\n categoriesError,\n markingsError,\n restrictionsError,\n bannerError,\n ].filter((e): e is Error => e != null);\n if (errors.length > 1) {\n return new AggregateError(\n errors,\n errors.map((e) => e.message).join(\"; \")\n );\n }\n return errors[0];\n }, [categoriesError, markingsError, restrictionsError, bannerError]);\n\n const retry = React.useCallback(() => {\n refetchCategories();\n refetchMarkings();\n refetchBanner();\n refetchRestrictions();\n }, [refetchCategories, refetchMarkings, refetchBanner, refetchRestrictions]);\n\n const categoryGroups = React.useMemo((): CategoryMarkingGroup[] => {\n if (rawCategories === undefined || rawMarkings === undefined) {\n return [];\n }\n return groupMarkingsByCategory(rawMarkings, rawCategories);\n }, [rawMarkings, rawCategories]);\n\n const markingStates = React.useMemo(\n () =>\n computeMarkingStates(\n stableSelectedIds,\n impliedMarkingIds,\n disallowedMarkingIds\n ),\n [stableSelectedIds, impliedMarkingIds, disallowedMarkingIds]\n );\n\n const resolvedRequiredGroups = React.useMemo(\n () => resolveRequiredGroups(categoryGroups, requiredMarkingGroups),\n [categoryGroups, requiredMarkingGroups]\n );\n\n return React.useMemo(\n () => ({\n categoryGroups,\n markingStates,\n banner,\n requiredMarkingGroups: resolvedRequiredGroups,\n isValid,\n userSatisfiesMarkings,\n disallowedMarkingIds,\n isLoading,\n error,\n retry,\n }),\n [\n categoryGroups,\n markingStates,\n banner,\n resolvedRequiredGroups,\n isValid,\n userSatisfiesMarkings,\n disallowedMarkingIds,\n isLoading,\n error,\n retry,\n ]\n );\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SACEA,aAAa,EACbC,0BAA0B,EAC1BC,oBAAoB,EACpBC,WAAW,QACN,2BAA2B;AAClC,OAAOC,KAAK,MAAM,OAAO;AAQzB,SAASC,WAAW,EAAEC,qBAAqB,QAAQ,4BAA4B;AAC/E,SACEC,oBAAoB,EACpBC,uBAAuB,QAClB,2BAA2B;AAElC,MAAMC,YAAwB,GAAG,EAAE;AAenC,SA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AC,EAAE,CAAChB,iBAAiB,EAAEK,eAAe,EAAEK,aAAa,EAAEM,mBAAmB,CAAC,CAAC;EAE5E,MAAMmB,cAAc,GAAG5D,KAAK,CAACkD,OAAO,CAAC,MAA8B;IACjE,IAAI/B,aAAa,KAAK0C,SAAS,IAAIlC,WAAW,KAAKkC,SAAS,EAAE;MAC5D,OAAO,EAAE;IACX;IACA,OAAOzD,uBAAuB,CAACuB,WAAW,EAAER,aAAa,CAAC;EAC5D,CAAC,EAAE,CAACQ,WAAW,EAAER,aAAa,CAAC,CAAC;EAEhC,MAAM2C,aAAa,GAAG9D,KAAK,CAACkD,OAAO,CACjC,MACE/C,oBAAoB,CAClBc,iBAAiB,EACjByB,iBAAiB,EACjBE,oBACF,CAAC,EACH,CAAC3B,iBAAiB,EAAEyB,iBAAiB,EAAEE,oBAAoB,CAC7D,CAAC;EAED,MAAMmB,sBAAsB,GAAG/D,KAAK,CAACkD,OAAO,CAC1C,MAAMhD,qBAAqB,CAAC0D,cAAc,EAAEd,qBAAqB,CAAC,EAClE,CAACc,cAAc,EAAEd,qBAAqB,CACxC,CAAC;EAED,OAAO9C,KAAK,CAACkD,OAAO,CAClB,OAAO;IACLU,cAAc;IACdE,aAAa;IACb/B,MAAM;IACNe,qBAAqB,EAAEiB,sBAAsB;IAC7Cf,OAAO;IACPC,qBAAqB;IACrBL,oBAAoB;IACpBxB,SAAS;IACTE,KAAK;IACLoC;EACF,CAAC,CAAC,EACF,CACEE,cAAc,EACdE,aAAa,EACb/B,MAAM,EACNgC,sBAAsB,EACtBf,OAAO,EACPC,qBAAqB,EACrBL,oBAAoB,EACpBxB,SAAS,EACTE,KAAK,EACLoC,KAAK,CAET,CAAC;AACH","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCbacSelection.js","names":["React","useCbacPickerState","EMPTY_ARRAY","toggleMarking","useCbacSelection","initialMarkingIds","selectedIds","setSelectedIds","useState","prevInitialIds","setPrevInitialIds","pickerState","selectedIdsRef","useRef","current","categoryGroupsRef","categoryGroups","toggle","useCallback","markingId","prev","dismiss","reset"],"sources":["useCbacSelection.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \"react\";\nimport type { CategoryMarkingGroup } from \"./types.js\";\nimport type { UseCbacPickerStateResult } from \"./useCbacPickerState.js\";\nimport { useCbacPickerState } from \"./useCbacPickerState.js\";\nimport { EMPTY_ARRAY } from \"./utils/cbacPickerUtils.js\";\nimport { toggleMarking } from \"./utils/selectionLogic.js\";\n\nexport interface UseCbacSelectionResult extends UseCbacPickerStateResult {\n selectedIds: string[];\n selectedIdsRef: React.MutableRefObject<string[]>;\n setSelectedIds: React.Dispatch<React.SetStateAction<string[]>>;\n toggle: (markingId: string) => void;\n dismiss: () => void;\n reset: () => void;\n}\n\nexport function useCbacSelection(\n initialMarkingIds: string[] | undefined
|
|
1
|
+
{"version":3,"file":"useCbacSelection.js","names":["React","useCbacPickerState","EMPTY_ARRAY","toggleMarking","useCbacSelection","initialMarkingIds","selectedIds","setSelectedIds","useState","prevInitialIds","setPrevInitialIds","pickerState","selectedIdsRef","useRef","current","categoryGroupsRef","categoryGroups","toggle","useCallback","markingId","prev","dismiss","reset"],"sources":["useCbacSelection.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from \"react\";\n\nimport type { CategoryMarkingGroup } from \"./types.js\";\nimport type { UseCbacPickerStateResult } from \"./useCbacPickerState.js\";\nimport { useCbacPickerState } from \"./useCbacPickerState.js\";\nimport { EMPTY_ARRAY } from \"./utils/cbacPickerUtils.js\";\nimport { toggleMarking } from \"./utils/selectionLogic.js\";\n\nexport interface UseCbacSelectionResult extends UseCbacPickerStateResult {\n selectedIds: string[];\n selectedIdsRef: React.MutableRefObject<string[]>;\n setSelectedIds: React.Dispatch<React.SetStateAction<string[]>>;\n toggle: (markingId: string) => void;\n dismiss: () => void;\n reset: () => void;\n}\n\nexport function useCbacSelection(\n initialMarkingIds: string[] | undefined\n): UseCbacSelectionResult {\n const [selectedIds, setSelectedIds] = React.useState<string[]>(\n initialMarkingIds ?? EMPTY_ARRAY\n );\n\n const [prevInitialIds, setPrevInitialIds] = React.useState(initialMarkingIds);\n if (initialMarkingIds !== prevInitialIds) {\n setPrevInitialIds(initialMarkingIds);\n setSelectedIds(initialMarkingIds ?? EMPTY_ARRAY);\n }\n\n const pickerState = useCbacPickerState(selectedIds);\n\n const selectedIdsRef = React.useRef(selectedIds);\n selectedIdsRef.current = selectedIds;\n\n const categoryGroupsRef = React.useRef<CategoryMarkingGroup[]>(\n pickerState.categoryGroups\n );\n categoryGroupsRef.current = pickerState.categoryGroups;\n\n const toggle = React.useCallback((markingId: string) => {\n setSelectedIds((prev) =>\n toggleMarking(markingId, prev, categoryGroupsRef.current)\n );\n }, []);\n\n const dismiss = React.useCallback(() => {\n setSelectedIds(EMPTY_ARRAY);\n }, []);\n\n const reset = React.useCallback(() => {\n setSelectedIds(initialMarkingIds ?? EMPTY_ARRAY);\n }, [initialMarkingIds]);\n\n return {\n selectedIds,\n selectedIdsRef,\n setSelectedIds,\n ...p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C,EAAE,EAAE,CAAC;EAEN,MAAMoB,KAAK,GAAGtB,KAAK,CAACkB,WAAW,CAAC,MAAM;IACpCX,cAAc,CAACF,iBAAiB,IAAIH,WAAW,CAAC;EAClD,CAAC,EAAE,CAACG,iBAAiB,CAAC,CAAC;EAEvB,OAAO;IACLC,WAAW;IACXM,cAAc;IACdL,cAAc;IACd,GAAGI,WAAW;IACdM,MAAM;IACNI,OAAO;IACPC;EACF,CAAC;AACH","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useConstraintCallout.js","names":["useCbacBanner","React","MaxClassificationField","EMPTY_ARRAY","resolveBannerDisplay","useConstraintCallout","maxClassificationConstraint","constraintMarkingIds","markingIds","banner","constraintBanner","enabled","useMemo","undefined","resolved","createElement","classificationString","bannerClassificationString","textColor","backgroundColors","helperText"],"sources":["useConstraintCallout.tsx"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { useCbacBanner } from \"@osdk/react/platform-apis\";\nimport React from \"react\";\nimport { MaxClassificationField } from \"./base/MaxClassificationField.js\";\nimport type { MaxClassificationConstraint } from \"./types.js\";\nimport { EMPTY_ARRAY, resolveBannerDisplay } from \"./utils/cbacPickerUtils.js\";\n\nexport function useConstraintCallout(\n maxClassificationConstraint: MaxClassificationConstraint | undefined
|
|
1
|
+
{"version":3,"file":"useConstraintCallout.js","names":["useCbacBanner","React","MaxClassificationField","EMPTY_ARRAY","resolveBannerDisplay","useConstraintCallout","maxClassificationConstraint","constraintMarkingIds","markingIds","banner","constraintBanner","enabled","useMemo","undefined","resolved","createElement","classificationString","bannerClassificationString","textColor","backgroundColors","helperText"],"sources":["useConstraintCallout.tsx"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { useCbacBanner } from \"@osdk/react/platform-apis\";\nimport React from \"react\";\n\nimport { MaxClassificationField } from \"./base/MaxClassificationField.js\";\nimport type { MaxClassificationConstraint } from \"./types.js\";\nimport { EMPTY_ARRAY, resolveBannerDisplay } from \"./utils/cbacPickerUtils.js\";\n\nexport function useConstraintCallout(\n maxClassificationConstraint: MaxClassificationConstraint | undefined\n): React.ReactNode {\n const constraintMarkingIds =\n maxClassificationConstraint?.markingIds ?? EMPTY_ARRAY;\n const { banner: constraintBanner } = useCbacBanner({\n markingIds: constraintMarkingIds,\n enabled: maxClassificationConstraint != null,\n });\n\n return React.useMemo(() => {\n if (maxClassificationConstraint == null) {\n return undefined;\n }\n const resolved = resolveBannerDisplay(constraintBanner);\n return (\n <MaxClassificationField\n classificationString={\n maxClassificationConstraint.bannerClassificationString\n }\n textColor={resolved.textColor}\n backgroundColors={resolved.backgroundColors}\n helperText={maxClassificationConstraint.helperText}\n />\n );\n }, [maxClassificationConstraint, constraintBanner]);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,aAAa,QAAQ,2BAA2B;AACzD,OAAOC,KAAK,MAAM,OAAO;AAEzB,SAASC,sBAAsB,QAAQ,kCAAkC;AAEzE,SAASC,WAAW,EAAEC,oBAAoB,QAAQ,4BAA4B;AAE9E,OAAO,SAASC,oBAAoBA,CAClCC,2BAAoE,EACnD;EACjB,MAAMC,oBAAoB,GACxBD,2BAA2B,EAAEE,UAAU,IAAIL,WAAW;EACxD,MAAM;IAAEM,MAAM,EAAEC;EAAiB,CAAC,GAAGV,aAAa,CAAC;IACjDQ,UAAU,EAAED,oBAAoB;IAChCI,OAAO,EAAEL,2BAA2B,IAAI;EAC1C,CAAC,CAAC;EAEF,OAAOL,KAAK,CAACW,OAAO,CAAC,MAAM;IACzB,IAAIN,2BAA2B,IAAI,IAAI,EAAE;MACvC,OAAOO,SAAS;IAClB;IACA,MAAMC,QAAQ,GAAGV,oBAAoB,CAACM,gBAAgB,CAAC;IACvD,oBACET,KAAA,CAAAc,aAAA,CAACb,sBAAsB;MACrBc,oBAAoB,EAClBV,2BAA2B,CAACW,0BAC7B;MACDC,SAAS,EAAEJ,QAAQ,CAACI,SAAU;MAC9BC,gBAAgB,EAAEL,QAAQ,CAACK,gBAAiB;MAC5CC,UAAU,EAAEd,2BAA2B,CAACc;IAAW,CACpD,CAAC;EAEN,CAAC,EAAE,CAACd,2BAA2B,EAAEI,gBAAgB,CAAC,CAAC;AACrD","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cbacPickerUtils.js","names":["UNMARKED_BACKGROUND_COLORS","UNMARKED_TEXT_COLOR","UNMARKED_CLASSIFICATION_STRING","EMPTY_ARRAY","backgroundFromColors","backgroundColors","length","join","resolveBannerDisplay","banner","classificationString","textColor","groupMarkingsByCategory","markingIds","categories","markings","undefined","selected","Set","categoryNames","Map","map","c","id","name","grouped","marking","has","get","categoryId","list","push","set","Array","from","categoryName","markingNames","resolveRequiredGroups","categoryGroups","requiredMarkingGroups","markingIdToName","flatMap","g","m","ids"],"sources":["cbacPickerUtils.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n CategoryMarkingGroup,\n CbacBannerData,\n RequiredMarkingGroup,\n} from \"../types.js\";\nconst UNMARKED_BACKGROUND_COLORS: string[] = [\"#8F99A8\"];\nconst UNMARKED_TEXT_COLOR = \"#FFFFFF\";\nconst UNMARKED_CLASSIFICATION_STRING = \"UNMARKED\";\n\nexport const EMPTY_ARRAY: string[] = [];\n\nexport function backgroundFromColors(backgroundColors: string[]): string {\n return backgroundColors.length > 1\n ? `linear-gradient(to right, ${backgroundColors.join(\", \")})`\n : backgroundColors[0] ?? \"transparent\";\n}\n\nexport interface ResolvedBannerDisplay {\n classificationString: string;\n textColor: string;\n backgroundColors: string[];\n}\n\nexport function resolveBannerDisplay(\n banner: CbacBannerData | undefined
|
|
1
|
+
{"version":3,"file":"cbacPickerUtils.js","names":["UNMARKED_BACKGROUND_COLORS","UNMARKED_TEXT_COLOR","UNMARKED_CLASSIFICATION_STRING","EMPTY_ARRAY","backgroundFromColors","backgroundColors","length","join","resolveBannerDisplay","banner","classificationString","textColor","groupMarkingsByCategory","markingIds","categories","markings","undefined","selected","Set","categoryNames","Map","map","c","id","name","grouped","marking","has","get","categoryId","list","push","set","Array","from","categoryName","markingNames","resolveRequiredGroups","categoryGroups","requiredMarkingGroups","markingIdToName","flatMap","g","m","ids"],"sources":["cbacPickerUtils.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n CategoryMarkingGroup,\n CbacBannerData,\n RequiredMarkingGroup,\n} from \"../types.js\";\nconst UNMARKED_BACKGROUND_COLORS: string[] = [\"#8F99A8\"];\nconst UNMARKED_TEXT_COLOR = \"#FFFFFF\";\nconst UNMARKED_CLASSIFICATION_STRING = \"UNMARKED\";\n\nexport const EMPTY_ARRAY: string[] = [];\n\nexport function backgroundFromColors(backgroundColors: string[]): string {\n return backgroundColors.length > 1\n ? `linear-gradient(to right, ${backgroundColors.join(\", \")})`\n : (backgroundColors[0] ?? \"transparent\");\n}\n\nexport interface ResolvedBannerDisplay {\n classificationString: string;\n textColor: string;\n backgroundColors: string[];\n}\n\nexport function resolveBannerDisplay(\n banner: CbacBannerData | undefined\n): ResolvedBannerDisplay {\n return {\n classificationString:\n banner?.classificationString ?? UNMARKED_CLASSIFICATION_STRING,\n textColor: banner?.textColor ?? UNMARKED_TEXT_COLOR,\n backgroundColors: banner?.backgroundColors ?? UNMARKED_BACKGROUND_COLORS,\n };\n}\n\nexport interface AppliedMarkingGroup {\n categoryName: string;\n markingNames: string[];\n}\n\nexport function groupMarkingsByCategory(\n markingIds: string[],\n categories: ReadonlyArray<{ id: string; name: string }> | undefined,\n markings:\n | ReadonlyArray<{ id: string; name: string; categoryId: string }>\n | undefined\n): AppliedMarkingGroup[] {\n if (\n markingIds.length === 0 ||\n categories === undefined ||\n markings === undefined\n ) {\n return [];\n }\n\n const selected = new Set(markingIds);\n const categoryNames = new Map(categories.map((c) => [c.id, c.name]));\n const grouped = new Map<string, string[]>();\n\n for (const marking of markings) {\n if (selected.has(marking.id)) {\n const name = categoryNames.get(marking.categoryId) ?? marking.categoryId;\n const list = grouped.get(name);\n if (list !== undefined) {\n list.push(marking.name);\n } else {\n grouped.set(name, [marking.name]);\n }\n }\n }\n\n return Array.from(grouped, ([categoryName, markingNames]) => ({\n categoryName,\n markingNames,\n }));\n}\n\nexport function resolveRequiredGroups(\n categoryGroups: CategoryMarkingGroup[],\n requiredMarkingGroups: string[][]\n): RequiredMarkingGroup[] {\n const markingIdToName = new Map(\n categoryGroups\n .flatMap((g) => g.markings)\n .map((m) => [m.id, m.name] as const)\n );\n return requiredMarkingGroups.map((ids) => ({\n markingNames: ids.map((id) => markingIdToName.get(id) ?? id),\n }));\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAOA,MAAMA,0BAAoC,GAAG,CAAC,SAAS,CAAC;AACxD,MAAMC,mBAAmB,GAAG,SAAS;AACrC,MAAMC,8BAA8B,GAAG,UAAU;AAEjD,OAAO,MAAMC,WAAqB,GAAG,EAAE;AAEvC,OAAO,SAASC,oBAAoBA,CAACC,gBAA0B,EAAU;EACvE,OAAOA,gBAAgB,CAACC,MAAM,GAAG,CAAC,GAC9B,6BAA6BD,gBAAgB,CAACE,IAAI,CAAC,IAAI,CAAC,GAAG,GAC1DF,gBAAgB,CAAC,CAAC,CAAC,IAAI,aAAc;AAC5C;AAQA,OAAO,SAASG,oBAAoBA,CAClCC,MAAkC,EACX;EACvB,OAAO;IACLC,oBAAoB,EAClBD,MAAM,EAAEC,oBAAoB,IAAIR,8BAA8B;IAChES,SAAS,EAAEF,MAAM,EAAEE,SAAS,IAAIV,mBAAmB;IACnDI,gBAAgB,EAAEI,MAAM,EAAEJ,gBAAgB,IAAIL;EAChD,CAAC;AACH;AAOA,OAAO,SAASY,uBAAuBA,CACrCC,UAAoB,EACpBC,UAAmE,EACnEC,QAEa,EACU;EACvB,IACEF,UAAU,CAACP,MAAM,KAAK,CAAC,IACvBQ,UAAU,KAAKE,SAAS,IACxBD,QAAQ,KAAKC,SAAS,EACtB;IACA,OAAO,EAAE;EACX;EAEA,MAAMC,QAAQ,GAAG,IAAIC,GAAG,CA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AAE,IAAKiB,eAAe,CAACZ,GAAG,CAACL,EAAE,CAAC,IAAIA,EAAE;EAC7D,CAAC,CAAC,CAAC;AACL","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errorMessages.js","names":["isApiErrorLike","error","statusCode","formatByStatusCode","title","remediation","undefined","errorDescription","length","message","formatCbacError","AggregateError","errors","first","Error","toLowerCase","includes"],"sources":["errorMessages.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface CbacErrorMessage {\n title: string;\n remediation: string;\n}\n\ninterface ApiErrorLike {\n statusCode?: number;\n errorDescription?: string;\n}\n\nfunction isApiErrorLike(error: Error): error is Error & ApiErrorLike {\n return \"statusCode\" in error
|
|
1
|
+
{"version":3,"file":"errorMessages.js","names":["isApiErrorLike","error","statusCode","formatByStatusCode","title","remediation","undefined","errorDescription","length","message","formatCbacError","AggregateError","errors","first","Error","toLowerCase","includes"],"sources":["errorMessages.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport interface CbacErrorMessage {\n title: string;\n remediation: string;\n}\n\ninterface ApiErrorLike {\n statusCode?: number;\n errorDescription?: string;\n}\n\nfunction isApiErrorLike(error: Error): error is Error & ApiErrorLike {\n return (\n \"statusCode\" in error &&\n typeof (error as ApiErrorLike).statusCode === \"number\"\n );\n}\n\nfunction formatByStatusCode(error: Error & ApiErrorLike): CbacErrorMessage {\n const statusCode = error.statusCode;\n if (statusCode === 401) {\n return {\n title: \"Session expired\",\n remediation: \"Sign in again to continue.\",\n };\n }\n if (statusCode === 403) {\n return {\n title: \"Permission denied\",\n remediation: \"Contact your administrator for permission.\",\n };\n }\n if (statusCode === 404) {\n return {\n title: \"Not found\",\n remediation: \"The requested classification data could not be found.\",\n };\n }\n if (statusCode !== undefined && statusCode >= 500) {\n return {\n title: \"Server error\",\n remediation: \"Something went wrong. Try again later.\",\n };\n }\n if (\n typeof error.errorDescription === \"string\" &&\n error.errorDescription.length > 0\n ) {\n return {\n title: error.errorDescription,\n remediation: \"\",\n };\n }\n return {\n title: error.message || \"Something went wrong\",\n remediation: \"\",\n };\n}\n\nexport function formatCbacError(error: Error): CbacErrorMessage {\n if (error instanceof AggregateError && error.errors.length > 0) {\n const first = error.errors[0];\n if (first instanceof Error) {\n return formatCbacError(first);\n }\n }\n\n if (isApiErrorLike(error)) {\n return formatByStatusCode(error);\n }\n\n if (\n error.message.toLowerCase().includes(\"network\") ||\n error.message.toLowerCase().includes(\"fetch\")\n ) {\n return {\n title: \"Network error\",\n remediation: \"Check your connection and try again.\",\n };\n }\n\n return {\n title: error.message || \"Something went wrong\",\n remediation: \"\",\n };\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAYA,SAASA,cAAcA,CAACC,KAAY,EAAiC;EACnE,OACE,YAAY,IAAIA,KAAK,IACrB,OAAQA,KAAK,CAAkBC,UAAU,KAAK,QAAQ;AAE1D;AAEA,SAASC,kBAAkBA,CAACF,KAA2B,EAAoB;EACzE,MAAMC,UAAU,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AQ,CAAC,SAAS,CAAC,IAC/Cf,KAAK,CAACQ,OAAO,CAACM,WAAW,CAAC,CAAC,CAACC,QAAQ,CAAC,OAAO,CAAC,EAC7C;IACA,OAAO;MACLZ,KAAK,EAAE,eAAe;MACtBC,WAAW,EAAE;IACf,CAAC;EACH;EAEA,OAAO;IACLD,KAAK,EAAEH,KAAK,CAACQ,OAAO,IAAI,sBAAsB;IAC9CJ,WAAW,EAAE;EACf,CAAC;AACH","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectionLogic.js","names":["toggleMarking","markingId","currentSelection","categories","isSelected","includes","ownerGroup","group","marking","markings","id","undefined","filter","category","categoryType","sameCategoryMarkingIds","Set","map","m","withoutSameCategory","has","computeMarkingStates","selectedIds","impliedIds","disallowedIds","states","Map","selectedSet","impliedSet","disallowedSet","allIds","isImplied","isDisallowed","set","groupMarkingsByCategory","markingsByCategoryId","existing","get","categoryId","push","groups","categoryMarkings","length"],"sources":["selectionLogic.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n CategoryMarkingGroup,\n MarkingSelectionState,\n PickerMarking,\n PickerMarkingCategory,\n} from \"../types.js\";\n\nexport function toggleMarking(\n markingId: string,\n currentSelection: string[],\n categories: CategoryMarkingGroup[]
|
|
1
|
+
{"version":3,"file":"selectionLogic.js","names":["toggleMarking","markingId","currentSelection","categories","isSelected","includes","ownerGroup","group","marking","markings","id","undefined","filter","category","categoryType","sameCategoryMarkingIds","Set","map","m","withoutSameCategory","has","computeMarkingStates","selectedIds","impliedIds","disallowedIds","states","Map","selectedSet","impliedSet","disallowedSet","allIds","isImplied","isDisallowed","set","groupMarkingsByCategory","markingsByCategoryId","existing","get","categoryId","push","groups","categoryMarkings","length"],"sources":["selectionLogic.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type {\n CategoryMarkingGroup,\n MarkingSelectionState,\n PickerMarking,\n PickerMarkingCategory,\n} from \"../types.js\";\n\nexport function toggleMarking(\n markingId: string,\n currentSelection: string[],\n categories: CategoryMarkingGroup[]\n): string[] {\n const isSelected = currentSelection.includes(markingId);\n\n let ownerGroup: CategoryMarkingGroup | undefined;\n for (const group of categories) {\n for (const marking of group.markings) {\n if (marking.id === markingId) {\n ownerGroup = group;\n break;\n }\n }\n if (ownerGroup !== undefined) {\n break;\n }\n }\n\n if (ownerGroup === undefined) {\n return currentSelection;\n }\n\n if (isSelected) {\n return currentSelection.filter((id) => id !== markingId);\n }\n\n // Disjunctive categories allow only one marking selected at a time (radio-style).\n // Conjunctive categories allow multiple markings (checkbox-style).\n if (ownerGroup.category.categoryType === \"DISJUNCTIVE\") {\n const sameCategoryMarkingIds = new Set(\n ownerGroup.markings.map((m) => m.id)\n );\n const withoutSameCategory = currentSelection.filter(\n (id) => !sameCategoryMarkingIds.has(id)\n );\n return [...withoutSameCategory, markingId];\n }\n\n return [...currentSelection, markingId];\n}\n\nexport function computeMarkingStates(\n selectedIds: string[],\n impliedIds: string[],\n disallowedIds: string[]\n): Map<string, MarkingSelectionState> {\n const states = new Map<string, MarkingSelectionState>();\n\n const selectedSet = new Set(selectedIds);\n const impliedSet = new Set(impliedIds);\n const disallowedSet = new Set(disallowedIds);\n\n const allIds = new Set([...selectedIds, ...impliedIds, ...disallowedIds]);\n\n for (const id of allIds) {\n const isImplied = impliedSet.has(id);\n const isDisallowed = disallowedSet.has(id);\n const isSelected = selectedSet.has(id);\n\n if (isSelected) {\n states.set(id, \"SELECTED\");\n } else if (isImplied && isDisallowed) {\n states.set(id, \"IMPLIED_DISALLOWED\");\n } else if (isImplied) {\n states.set(id, \"IMPLIED\");\n } else if (isDisallowed) {\n states.set(id, \"DISALLOWED\");\n }\n }\n\n return states;\n}\n\nexport function groupMarkingsByCategory(\n markings: PickerMarking[],\n categories: PickerMarkingCategory[]\n): CategoryMarkingGroup[] {\n const markingsByCategoryId = new Map<string, PickerMarking[]>();\n\n for (const marking of markings) {\n const existing = markingsByCategoryId.get(marking.categoryId);\n if (existing !== undefined) {\n existing.push(marking);\n } else {\n markingsByCategoryId.set(marking.categoryId, [marking]);\n }\n }\n\n const groups: CategoryMarkingGroup[] = [];\n\n for (const category of categories) {\n const categoryMarkings = markingsByCategoryId.get(category.id);\n if (categoryMarkings !== undefined && categoryMarkings.length > 0) {\n groups.push({ category, markings: categoryMarkings });\n }\n }\n\n return groups;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AASA,OAAO,SAASA,aAAaA,CAC3BC,SAAiB,EACjBC,gBAA0B,EAC1BC,UAAkC,EACxB;EACV,MAAMC,UAAU,GAAGF,gBAAgB,CAACG,QAAQ,CAACJ,SAAS,CAAC;EAEvD,IAAIK,UAA4C;EAChD,KAAK,MAAMC,KAAK,IAAIJ,UAAU,EAAE;IAC9B,KAAK,MAAMK,OAAO,IAAID,KAAK,CAACE,QAAQ,EAAE;MACpC,IAAID,OAAO,CAACE,EAAE,KAAKT,SAAS,EAAE;QAC5BK,UAAU,GAAGC,KAAK;QAClB;M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,EAAE;MACjEF,MAAM,CAACD,IAAI,CAAC;QAAE1B,QAAQ;QAAEJ,QAAQ,EAAEgC;MAAiB,CAAC,CAAC;IACvD;EACF;EAEA,OAAOD,MAAM;AACf","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validationMessages.js","names":["getSubmitDisabledReason","ctx","isValid","undefined","requiredMarkingGroups","length","selectedSet","Set","selectedIds","hasDisallowedSelected","disallowedMarkingIds","some","id","has","userSatisfiesMarkings"],"sources":["validationMessages.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { RequiredMarkingGroup } from \"../types.js\";\n\nexport interface ValidationContext {\n isValid: boolean;\n requiredMarkingGroups: ReadonlyArray<RequiredMarkingGroup>;\n selectedIds: string[];\n disallowedMarkingIds: readonly string[];\n userSatisfiesMarkings: boolean;\n}\n\nexport function getSubmitDisabledReason(\n ctx: ValidationContext
|
|
1
|
+
{"version":3,"file":"validationMessages.js","names":["getSubmitDisabledReason","ctx","isValid","undefined","requiredMarkingGroups","length","selectedSet","Set","selectedIds","hasDisallowedSelected","disallowedMarkingIds","some","id","has","userSatisfiesMarkings"],"sources":["validationMessages.ts"],"sourcesContent":["/*\n * Copyright 2026 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { RequiredMarkingGroup } from \"../types.js\";\n\nexport interface ValidationContext {\n isValid: boolean;\n requiredMarkingGroups: ReadonlyArray<RequiredMarkingGroup>;\n selectedIds: string[];\n disallowedMarkingIds: readonly string[];\n userSatisfiesMarkings: boolean;\n}\n\nexport function getSubmitDisabledReason(\n ctx: ValidationContext\n): string | undefined {\n if (ctx.isValid) {\n return undefined;\n }\n if (ctx.requiredMarkingGroups.length > 0) {\n return \"Selected markings do not include all required markings.\";\n }\n const selectedSet = new Set(ctx.selectedIds);\n const hasDisallowedSelected = ctx.disallowedMarkingIds.some((id) =>\n selectedSet.has(id)\n );\n if (hasDisallowedSelected) {\n return \"Selections include disallowed markings.\";\n }\n if (!ctx.userSatisfiesMarkings) {\n return \"Invalid configuration of markings. Please ensure that you have permission to use all selected markings.\";\n }\n return \"Invalid marking selection.\";\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAYA,OAAO,SAASA,uBAAuBA,CACrCC,GAAsB,EACF;EACpB,IAAIA,GAAG,CAACC,OAAO,EAAE;IACf,OAAOC,SAAS;EAClB;EACA,IAAIF,GAAG,CAACG,qBAAqB,CAACC,MAAM,GAAG,CAAC,EAAE;IACxC,OAAO,yDAAyD;EAClE;EACA,MAAMC,WAAW,GAAG,IAAIC,GAAG,CAACN,GAAG,CAACO,WAAW,CAAC;EAC5C,MAAMC,qBAAqB,GAAGR,GAAG,CAACS,oBAAoB,CAACC,IAAI,CAAEC,EAAE,IAC7DN,WAAW,CAACO,GAAG,CAACD,EAAE,CACpB,CAAC;EACD,IAAIH,qBAAqB,EAAE;IACzB,OAAO,yCAAyC;EAClD;EACA,IAAI,CAACR,GAAG,CAACa,qBAAqB,EAAE;IAC9B,OAAO,yGAAyG;EAClH;EACA,OAAO,4BAA4B;AACrC","ignoreList":[]}
|
|
@@ -29,9 +29,9 @@ import { PdfViewer } from "../pdf-viewer/PdfRenderer.js";
|
|
|
29
29
|
import { assertUnreachable } from "../shared/assertUnreachable.js";
|
|
30
30
|
import { VideoViewer } from "../video-viewer/VideoViewer.js";
|
|
31
31
|
import { XmlViewer } from "../xml-viewer/XmlViewer.js";
|
|
32
|
-
import styles from "./DocumentViewer.module.css";
|
|
33
32
|
import { ViewerType } from "./DocumentViewerApi.js";
|
|
34
33
|
import { TiffDocumentViewer } from "./TiffDocumentViewer.js";
|
|
34
|
+
import styles from "./DocumentViewer.module.css";
|
|
35
35
|
const IMAGE_MIME_TYPES = new Set(["image/png", "image/jpeg", "image/gif", "image/svg+xml", "image/webp", "image/bmp"]);
|
|
36
36
|
const MARKDOWN_MIME_TYPES = new Set(["text/markdown", "text/x-markdown"]);
|
|
37
37
|
const XML_MIME_TYPES = new Set(["application/xml", "text/xml"]);
|