papi-dts
    Preparing search index...
    • Converts a localized SingleColumnMenu from the menu data service into an array of OverlayContextMenuItem objects suitable for the overlay service's context menu rendering.

      Parameters

      • menu: {
            groups: {
                [key: `${string}.${string}`]:
                    | { isExtensible?: boolean; menuItem: string; order: number }
                    | { isExtensible?: boolean; order: number };
            };
            items: (
                | {
                    group: string;
                    id: string;
                    label: string;
                    localizeNotes: string;
                    order: number;
                    searchTerms?: string;
                    tooltip?: string;
                }
                | {
                    command: string;
                    group: string;
                    iconPathAfter?: string;
                    iconPathBefore?: string;
                    label: string;
                    localizeNotes: string;
                    order: number;
                    searchTerms?: string;
                    tooltip?: string;
                }
            )[];
        }

        The localized SingleColumnMenu to convert

        • groups: {
              [key: `${string}.${string}`]:
                  | { isExtensible?: boolean; menuItem: string; order: number }
                  | { isExtensible?: boolean; order: number };
          }

          Groups that belong in this menu

        • items: (
              | {
                  group: string;
                  id: string;
                  label: string;
                  localizeNotes: string;
                  order: number;
                  searchTerms?: string;
                  tooltip?: string;
              }
              | {
                  command: string;
                  group: string;
                  iconPathAfter?: string;
                  iconPathBefore?: string;
                  label: string;
                  localizeNotes: string;
                  order: number;
                  searchTerms?: string;
                  tooltip?: string;
              }
          )[]

          List of menu items that belong in this menu

      Returns OverlayContextMenuItem[]

      An array of OverlayContextMenuItem objects