ASCON Pilot-Web-SDK API-Samples

Примеры использования Pilot-Web-SDK

angular.sample

Добавляет две вкладки с пользовательским Angular-контентом (начальная страница, пример работы с @angular/material) в Обозреватель Документов.

Adds two tabs with custom Angular content (initial page, example for @angular/material) to the Document Explorer.

annotation.page.changer

Добавляет опцию в меню Аннотации для изменения номера страницы, взаимодействует с расширением к Pilot-ComponentKit.

Adds an option to the Annotation menu to change the page number, interacts with Pilot-ComponentKit extension.

backend.commands.sample

Расширение состоит из двух частей:

  1. Бэкенд часть регистрирует команды для взаимодействия с фронтэнд частью (команда с аргументами, загрузка файла).
  2. Фронтэнд часть добавляет опции контекстного меню в Обозреватель Документов, которые взаимодействуют с бэкенд частью расширения.

Extension consists of two parts:

  1. Backend part registers commands to interface with the frontend part (command with arguments, file download).
  2. Frontend part adds context menu options to the Document Explorer that communicate with the backend part of the extension.

cryptoprovider.fnv1

Демонстрирует создание простой подписи без криптопровайдера.

Demonstrates the creation of a simple signature without a cryptoprovider.

cryptoprovider.simple

Демонстрирует реализацию криптопровайдера для алгоритма rsa.

Demonstrates a custom cryptoprovider implementation for the rsa algorithm.

modify.objects.sample

Добавляет опцию контекстного меню в Обозреватель Документов для создания частичной копии выбранного объекта.

Adds a context menu option in the Document Explorer to make a partial copy of the selected object.

object-card-handler.sample

Предоставляет начальные значения для Карточки Объекта и прослушивает изменения атрибутов.

Provides initialization values to the Object Card and listens for attribute changes.

settings.support.sample

Расширение состоит из двух частей:

  1. Бэкенд часть получает персональные настройки пользователя.
  2. Фронтэнд часть добавляет опции контекстного меню в Обозреватель Документов, которые взаимодействуют с бэкенд частью расширения.

Extension consists of two parts:

  1. Backend part receives the user's personal settings.
  2. Frontend part adds context menu options to the Document Explorer that communicate with the backend part of the extension.

subscriptions.sample

Добавляет опции контекстного меню в Обозреватель Документов для подписки на изменения выбранного объекта.

Adds context menu options in the Document Explorer to subscribe to changes of the selected object.

tabs.extension.sample

Добавляет вкладку с пользовательским React-контентом (список файлов) в Обозреватель Документов.

Adds a tab with custom React content (a list of files) to the Document Explorer.

toolbar.extension.sample

Добавляет кнопку в тулбар Обозревателя Документов и тулбар Аннотаций Документа.

Adds buttons to the Document Explorer and Document Annotations toolbars.

vue.extension.sample

Добавляет кнопку в Окно навигации и регистрирует пользовательский URL, отображающий Vue-контент (начальная страница, счетчик).

Adds a button to the Navigation Window and registers a URL displaying custom Vue content (starting page, counter).