@capgo/capacitor-ricoh360 8.0.12
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/CapgoCapacitorRicoh360.podspec +18 -0
- package/LICENSE +373 -0
- package/Package.swift +30 -0
- package/README.md +314 -0
- package/android/build.gradle +59 -0
- package/android/src/main/AndroidManifest.xml +6 -0
- package/android/src/main/java/ee/forgr/capacitor/ricoh/camera/Ricoh360CameraPlugin.java +453 -0
- package/android/src/main/res/.gitkeep +0 -0
- package/dist/docs.json +496 -0
- package/dist/esm/definitions.d.ts +146 -0
- package/dist/esm/definitions.js +5 -0
- package/dist/esm/definitions.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/web.d.ts +17 -0
- package/dist/esm/web.js +37 -0
- package/dist/esm/web.js.map +1 -0
- package/dist/plugin.cjs.js +51 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +54 -0
- package/dist/plugin.js.map +1 -0
- package/ios/Sources/Ricoh360CameraPlugin/Ricoh360CameraPlugin.swift +580 -0
- package/ios/Tests/Ricoh360CameraPluginTests/Ricoh360CameraPluginTests.swift +15 -0
- package/package.json +94 -0
package/dist/esm/web.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { WebPlugin } from '@capacitor/core';
|
|
2
|
+
export class Ricoh360CameraWeb extends WebPlugin {
|
|
3
|
+
async initialize(__options) {
|
|
4
|
+
throw new Error('Web implementation not available for initialize.');
|
|
5
|
+
}
|
|
6
|
+
async getCameraAsset(_options) {
|
|
7
|
+
throw this.unimplemented('Not implemented on web.');
|
|
8
|
+
}
|
|
9
|
+
async listFiles(_options) {
|
|
10
|
+
throw this.unimplemented('Not implemented on web.');
|
|
11
|
+
}
|
|
12
|
+
async capturePicture() {
|
|
13
|
+
throw new Error('Web implementation not available for capturePicture.');
|
|
14
|
+
}
|
|
15
|
+
async captureVideo(__options) {
|
|
16
|
+
throw new Error('Web implementation not available for captureVideo.');
|
|
17
|
+
}
|
|
18
|
+
async livePreview(_options) {
|
|
19
|
+
throw new Error('Web implementation not available for livePreview.');
|
|
20
|
+
}
|
|
21
|
+
async stopLivePreview() {
|
|
22
|
+
throw new Error('Web implementation not available for stopLivePreview.');
|
|
23
|
+
}
|
|
24
|
+
async readSettings(_options) {
|
|
25
|
+
throw new Error('Web implementation not available for readSettings.');
|
|
26
|
+
}
|
|
27
|
+
async setSettings(_options) {
|
|
28
|
+
throw new Error('Web implementation not available for setSettings.');
|
|
29
|
+
}
|
|
30
|
+
async sendCommand(_options) {
|
|
31
|
+
throw new Error('Web implementation not available for sendCommand.');
|
|
32
|
+
}
|
|
33
|
+
async getPluginVersion() {
|
|
34
|
+
return { version: 'web' };
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=web.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAW5C,MAAM,OAAO,iBAAkB,SAAQ,SAAS;IAC9C,KAAK,CAAC,UAAU,CAAC,SAAc;QAC7B,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAC;IACtE,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,QAA+B;QAClD,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC,CAAC;IACtD,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,QAA0B;QACxC,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC,CAAC;IACtD,CAAC;IAED,KAAK,CAAC,cAAc;QAClB,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC;IAC1E,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,SAAc;QAC/B,MAAM,IAAI,KAAK,CAAC,oDAAoD,CAAC,CAAC;IACxE,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,QAAa;QAC7B,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAC;IACvE,CAAC;IAED,KAAK,CAAC,eAAe;QACnB,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;IAC3E,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,QAAa;QAC9B,MAAM,IAAI,KAAK,CAAC,oDAAoD,CAAC,CAAC;IACxE,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,QAAa;QAC7B,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAC;IACvE,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,QAAa;QAC7B,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAC;IACvE,CAAC;IAED,KAAK,CAAC,gBAAgB;QACpB,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC5B,CAAC;CACF","sourcesContent":["import { WebPlugin } from '@capacitor/core';\n\nimport type {\n Ricoh360CameraPlugin,\n CommandResponse,\n GetCameraAssetOptions,\n GetCameraAssetResponse,\n ListFilesOptions,\n ListFilesResponse,\n} from './definitions';\n\nexport class Ricoh360CameraWeb extends WebPlugin implements Ricoh360CameraPlugin {\n async initialize(__options: any): Promise<CommandResponse> {\n throw new Error('Web implementation not available for initialize.');\n }\n\n async getCameraAsset(_options: GetCameraAssetOptions): Promise<GetCameraAssetResponse> {\n throw this.unimplemented('Not implemented on web.');\n }\n\n async listFiles(_options: ListFilesOptions): Promise<ListFilesResponse> {\n throw this.unimplemented('Not implemented on web.');\n }\n\n async capturePicture(): Promise<CommandResponse> {\n throw new Error('Web implementation not available for capturePicture.');\n }\n\n async captureVideo(__options: any): Promise<CommandResponse> {\n throw new Error('Web implementation not available for captureVideo.');\n }\n\n async livePreview(_options: any): Promise<CommandResponse> {\n throw new Error('Web implementation not available for livePreview.');\n }\n\n async stopLivePreview(): Promise<CommandResponse> {\n throw new Error('Web implementation not available for stopLivePreview.');\n }\n\n async readSettings(_options: any): Promise<CommandResponse> {\n throw new Error('Web implementation not available for readSettings.');\n }\n\n async setSettings(_options: any): Promise<CommandResponse> {\n throw new Error('Web implementation not available for setSettings.');\n }\n\n async sendCommand(_options: any): Promise<CommandResponse> {\n throw new Error('Web implementation not available for sendCommand.');\n }\n\n async getPluginVersion(): Promise<{ version: string }> {\n return { version: 'web' };\n }\n}\n"]}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var core = require('@capacitor/core');
|
|
4
|
+
|
|
5
|
+
const Ricoh360Camera = core.registerPlugin('Ricoh360Camera', {
|
|
6
|
+
web: () => Promise.resolve().then(function () { return web; }).then((m) => new m.Ricoh360CameraWeb()),
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
class Ricoh360CameraWeb extends core.WebPlugin {
|
|
10
|
+
async initialize(__options) {
|
|
11
|
+
throw new Error('Web implementation not available for initialize.');
|
|
12
|
+
}
|
|
13
|
+
async getCameraAsset(_options) {
|
|
14
|
+
throw this.unimplemented('Not implemented on web.');
|
|
15
|
+
}
|
|
16
|
+
async listFiles(_options) {
|
|
17
|
+
throw this.unimplemented('Not implemented on web.');
|
|
18
|
+
}
|
|
19
|
+
async capturePicture() {
|
|
20
|
+
throw new Error('Web implementation not available for capturePicture.');
|
|
21
|
+
}
|
|
22
|
+
async captureVideo(__options) {
|
|
23
|
+
throw new Error('Web implementation not available for captureVideo.');
|
|
24
|
+
}
|
|
25
|
+
async livePreview(_options) {
|
|
26
|
+
throw new Error('Web implementation not available for livePreview.');
|
|
27
|
+
}
|
|
28
|
+
async stopLivePreview() {
|
|
29
|
+
throw new Error('Web implementation not available for stopLivePreview.');
|
|
30
|
+
}
|
|
31
|
+
async readSettings(_options) {
|
|
32
|
+
throw new Error('Web implementation not available for readSettings.');
|
|
33
|
+
}
|
|
34
|
+
async setSettings(_options) {
|
|
35
|
+
throw new Error('Web implementation not available for setSettings.');
|
|
36
|
+
}
|
|
37
|
+
async sendCommand(_options) {
|
|
38
|
+
throw new Error('Web implementation not available for sendCommand.');
|
|
39
|
+
}
|
|
40
|
+
async getPluginVersion() {
|
|
41
|
+
return { version: 'web' };
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
var web = /*#__PURE__*/Object.freeze({
|
|
46
|
+
__proto__: null,
|
|
47
|
+
Ricoh360CameraWeb: Ricoh360CameraWeb
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
exports.Ricoh360Camera = Ricoh360Camera;
|
|
51
|
+
//# sourceMappingURL=plugin.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Ricoh360Camera = registerPlugin('Ricoh360Camera', {\n web: () => import('./web').then((m) => new m.Ricoh360CameraWeb()),\n});\nexport * from './definitions';\nexport { Ricoh360Camera };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class Ricoh360CameraWeb extends WebPlugin {\n async initialize(__options) {\n throw new Error('Web implementation not available for initialize.');\n }\n async getCameraAsset(_options) {\n throw this.unimplemented('Not implemented on web.');\n }\n async listFiles(_options) {\n throw this.unimplemented('Not implemented on web.');\n }\n async capturePicture() {\n throw new Error('Web implementation not available for capturePicture.');\n }\n async captureVideo(__options) {\n throw new Error('Web implementation not available for captureVideo.');\n }\n async livePreview(_options) {\n throw new Error('Web implementation not available for livePreview.');\n }\n async stopLivePreview() {\n throw new Error('Web implementation not available for stopLivePreview.');\n }\n async readSettings(_options) {\n throw new Error('Web implementation not available for readSettings.');\n }\n async setSettings(_options) {\n throw new Error('Web implementation not available for setSettings.');\n }\n async sendCommand(_options) {\n throw new Error('Web implementation not available for sendCommand.');\n }\n async getPluginVersion() {\n return { version: 'web' };\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlug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;AAChC,QAAQ,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC;AAC5E,IAAI;AACJ,IAAI,MAAM,gBAAgB,GAAG;AAC7B,QAAQ,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE;AACjC,IAAI;AACJ;;;;;;;;;"}
|
package/dist/plugin.js
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
var capacitorRicoh360Camera = (function (exports, core) {
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
const Ricoh360Camera = core.registerPlugin('Ricoh360Camera', {
|
|
5
|
+
web: () => Promise.resolve().then(function () { return web; }).then((m) => new m.Ricoh360CameraWeb()),
|
|
6
|
+
});
|
|
7
|
+
|
|
8
|
+
class Ricoh360CameraWeb extends core.WebPlugin {
|
|
9
|
+
async initialize(__options) {
|
|
10
|
+
throw new Error('Web implementation not available for initialize.');
|
|
11
|
+
}
|
|
12
|
+
async getCameraAsset(_options) {
|
|
13
|
+
throw this.unimplemented('Not implemented on web.');
|
|
14
|
+
}
|
|
15
|
+
async listFiles(_options) {
|
|
16
|
+
throw this.unimplemented('Not implemented on web.');
|
|
17
|
+
}
|
|
18
|
+
async capturePicture() {
|
|
19
|
+
throw new Error('Web implementation not available for capturePicture.');
|
|
20
|
+
}
|
|
21
|
+
async captureVideo(__options) {
|
|
22
|
+
throw new Error('Web implementation not available for captureVideo.');
|
|
23
|
+
}
|
|
24
|
+
async livePreview(_options) {
|
|
25
|
+
throw new Error('Web implementation not available for livePreview.');
|
|
26
|
+
}
|
|
27
|
+
async stopLivePreview() {
|
|
28
|
+
throw new Error('Web implementation not available for stopLivePreview.');
|
|
29
|
+
}
|
|
30
|
+
async readSettings(_options) {
|
|
31
|
+
throw new Error('Web implementation not available for readSettings.');
|
|
32
|
+
}
|
|
33
|
+
async setSettings(_options) {
|
|
34
|
+
throw new Error('Web implementation not available for setSettings.');
|
|
35
|
+
}
|
|
36
|
+
async sendCommand(_options) {
|
|
37
|
+
throw new Error('Web implementation not available for sendCommand.');
|
|
38
|
+
}
|
|
39
|
+
async getPluginVersion() {
|
|
40
|
+
return { version: 'web' };
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
var web = /*#__PURE__*/Object.freeze({
|
|
45
|
+
__proto__: null,
|
|
46
|
+
Ricoh360CameraWeb: Ricoh360CameraWeb
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
exports.Ricoh360Camera = Ricoh360Camera;
|
|
50
|
+
|
|
51
|
+
return exports;
|
|
52
|
+
|
|
53
|
+
})({}, capacitorExports);
|
|
54
|
+
//# sourceMappingURL=plugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst Ricoh360Camera = registerPlugin('Ricoh360Camera', {\n web: () => import('./web').then((m) => new m.Ricoh360CameraWeb()),\n});\nexport * from './definitions';\nexport { Ricoh360Camera };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class Ricoh360CameraWeb extends WebPlugin {\n async initialize(__options) {\n throw new Error('Web implementation not available for initialize.');\n }\n async getCameraAsset(_options) {\n throw this.unimplemented('Not implemented on web.');\n }\n async listFiles(_options) {\n throw this.unimplemented('Not implemented on web.');\n }\n async capturePicture() {\n throw new Error('Web implementation not available for capturePicture.');\n }\n async captureVideo(__options) {\n throw new Error('Web implementation not available for captureVideo.');\n }\n async livePreview(_options) {\n throw new Error('Web implementation not available for livePreview.');\n }\n async stopLivePreview() {\n throw new Error('Web implementation not available for stopLivePreview.');\n }\n async readSettings(_options) {\n throw new Error('Web implementation not available for readSettings.');\n }\n async setSettings(_options) {\n throw new Error('Web implementation not available for setSettings.');\n }\n async sendCommand(_options) {\n throw new Error('Web implementation not available for sendCommand.');\n }\n async getPluginVersion() {\n return { version: 'web' };\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":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