@openfin/core 33.76.9 → 33.76.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.
|
Binary file
|
package/package.json
CHANGED
package/src/OpenFin.d.ts
CHANGED
|
@@ -2035,10 +2035,11 @@ export type WriteClipboardRequest = BaseClipboardRequest & {
|
|
|
2035
2035
|
export type ReadImageClipboardRequest = BaseClipboardRequest & ImageFormatOptions;
|
|
2036
2036
|
export type WriteImageClipboardRequest = BaseClipboardRequest & {
|
|
2037
2037
|
/**
|
|
2038
|
-
*
|
|
2039
|
-
*
|
|
2038
|
+
* Can be either a base64 string, or a DataURL string. If using DataURL, the
|
|
2039
|
+
* supported formats are `data:image/png[;base64],` and `data:image/jpeg[;base64],`.
|
|
2040
|
+
* Using other image/<format> DataURLs will throw an Error.
|
|
2040
2041
|
*/
|
|
2041
|
-
|
|
2042
|
+
image: string;
|
|
2042
2043
|
};
|
|
2043
2044
|
/**
|
|
2044
2045
|
* A generic request to write any supported data to the clipboard.
|
|
@@ -2048,7 +2049,7 @@ export type WriteAnyClipboardRequest = BaseClipboardRequest & {
|
|
|
2048
2049
|
text?: string;
|
|
2049
2050
|
html?: string;
|
|
2050
2051
|
rtf?: string;
|
|
2051
|
-
}
|
|
2052
|
+
} & Partial<Pick<WriteImageClipboardRequest, 'image'>>;
|
|
2052
2053
|
};
|
|
2053
2054
|
/**
|
|
2054
2055
|
* @deprecated - instead use OpenFin.WriteClipboardRequest
|
|
@@ -60,7 +60,7 @@ export default class Clipboard extends Base {
|
|
|
60
60
|
* @return { Promise.<string> }
|
|
61
61
|
* @tutorial Clipboard.readHtml
|
|
62
62
|
*/
|
|
63
|
-
readHtml(type?:
|
|
63
|
+
readHtml(type?: OpenFin.ClipboardSelectionType): Promise<string>;
|
|
64
64
|
/**
|
|
65
65
|
* Writes data into the clipboard as Rtf
|
|
66
66
|
* @param { OpenFin.WriteClipboardRequest } writeObj The object for writing data into the clipboard
|
package/src/shapes/protocol.d.ts
CHANGED
|
@@ -30,6 +30,10 @@ export interface ProtocolMap extends ProtocolMapBase {
|
|
|
30
30
|
request: OpenFin.WriteImageClipboardRequest;
|
|
31
31
|
response: void;
|
|
32
32
|
};
|
|
33
|
+
'clipboard-write': {
|
|
34
|
+
request: OpenFin.WriteAnyRequestType;
|
|
35
|
+
response: void;
|
|
36
|
+
};
|
|
33
37
|
'get-view-window': IdentityCall<{}, OpenFin.Identity>;
|
|
34
38
|
'create-view': IdentityCall<OpenFin.ViewCreationOptions & {
|
|
35
39
|
uuid: string;
|
package/openfin-core-33.76.9.tgz
DELETED
|
Binary file
|