@vertigis/viewer-spec 59.0.0 → 59.1.0

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.
@@ -1,3 +1,5 @@
1
+ export interface EnhancedFileData {
2
+ }
1
3
  export interface Photo {
2
4
  }
3
5
  export interface VisualElement {
@@ -2,7 +2,9 @@ import type { Command } from "../Command.js";
2
2
  import { CommandRegistry } from "../CommandRegistry.js";
3
3
  import type { Event } from "../Event.js";
4
4
  import { EventRegistry } from "../EventRegistry.js";
5
- import type { Photo, VisualElement } from "../mobile.js";
5
+ import type { Operation } from "../Operation.js";
6
+ import { OperationRegistry } from "../OperationRegistry.js";
7
+ import type { EnhancedFileData, Photo, VisualElement } from "../mobile.js";
6
8
  /**
7
9
  * Arguments for the "photos.display-details" command.
8
10
  */
@@ -36,6 +38,15 @@ export declare class PhotosCommands extends CommandRegistry {
36
38
  */
37
39
  get hideDetails(): Command;
38
40
  }
41
+ export declare class PhotoOperations extends OperationRegistry {
42
+ protected readonly _prefix = "photos";
43
+ /**
44
+ * Takes a photo using the device camera.
45
+ *
46
+ * @mobileOnly
47
+ */
48
+ get takePhoto(): Operation<EnhancedFileData>;
49
+ }
39
50
  export declare class PhotosEvents extends EventRegistry {
40
51
  protected readonly _prefix = "photos";
41
52
  /**
@@ -1 +1 @@
1
- import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";export class PhotosCommands extends t{_prefix="photos";get displayDetails(){return this._get("display-details")}get hideDetails(){return this._get("hide-details")}}export class PhotosEvents extends e{_prefix="photos";get detailsHidden(){return this._get("details-hidden")}}
1
+ import{CommandRegistry as t}from"../CommandRegistry.js";import{EventRegistry as e}from"../EventRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";export class PhotosCommands extends t{_prefix="photos";get displayDetails(){return this._get("display-details")}get hideDetails(){return this._get("hide-details")}}export class PhotoOperations extends s{_prefix="photos";get takePhoto(){return this._get("take-photo")}}export class PhotosEvents extends e{_prefix="photos";get detailsHidden(){return this._get("details-hidden")}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "59.0.0",
3
+ "version": "59.1.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "VertiGIS Viewer Specification",
6
6
  "type": "module",
package/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the VertiGIS Studio Viewer Specification.
3
3
  */
4
- export declare const version = "59.0.0";
4
+ export declare const version = "59.1.0";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the VertiGIS Studio Viewer Specification.
3
3
  */
4
- export const version = "59.0.0";
4
+ export const version = "59.1.0";