@blackbaud/sky-addin-client 1.1.5 → 1.2.1
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/CHANGELOG.md +121 -114
- package/README.md +470 -470
- package/bundles/sky-addin-client.global-es2015.js +1094 -0
- package/bundles/sky-addin-client.global-es2015.min.js +1 -0
- package/bundles/sky-addin-client.global.js +1106 -0
- package/bundles/sky-addin-client.global.min.js +1 -0
- package/bundles/sky-addin-client.umd-es2015.js +1105 -0
- package/bundles/sky-addin-client.umd-es2015.min.js +1 -0
- package/bundles/sky-addin-client.umd.js +1117 -1
- package/bundles/sky-addin-client.umd.min.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +17 -6
- package/index.js.map +1 -1
- package/package.json +67 -70
- package/src/addin/addin-client.d.ts +277 -277
- package/src/addin/addin-client.js +640 -640
- package/src/addin/addin-client.js.map +1 -1
- package/src/addin/addin-client.spec.d.ts +1 -0
- package/src/addin/addin-client.spec.js +1415 -0
- package/src/addin/addin-client.spec.js.map +1 -0
- package/src/addin/client-interfaces/addin-action-button-config.d.ts +10 -10
- package/src/addin/client-interfaces/addin-action-button-config.js +2 -2
- package/src/addin/client-interfaces/addin-button-config.d.ts +10 -10
- package/src/addin/client-interfaces/addin-button-config.js +2 -2
- package/src/addin/client-interfaces/addin-button-style.d.ts +6 -6
- package/src/addin/client-interfaces/addin-button-style.js +17 -16
- package/src/addin/client-interfaces/addin-button-style.js.map +1 -1
- package/src/addin/client-interfaces/addin-client-args.d.ts +10 -10
- package/src/addin/client-interfaces/addin-client-args.js +2 -2
- package/src/addin/client-interfaces/addin-client-callbacks.d.ts +40 -40
- package/src/addin/client-interfaces/addin-client-callbacks.js +2 -2
- package/src/addin/client-interfaces/addin-client-close-modal-args.d.ts +10 -10
- package/src/addin/client-interfaces/addin-client-close-modal-args.js +2 -2
- package/src/addin/client-interfaces/addin-client-event-args.d.ts +13 -13
- package/src/addin/client-interfaces/addin-client-event-args.js +2 -2
- package/src/addin/client-interfaces/addin-client-flyout-permalink.d.ts +14 -14
- package/src/addin/client-interfaces/addin-client-flyout-permalink.js +2 -2
- package/src/addin/client-interfaces/addin-client-init-args.d.ts +28 -28
- package/src/addin/client-interfaces/addin-client-init-args.js +2 -2
- package/src/addin/client-interfaces/addin-client-navigate-args.d.ts +9 -9
- package/src/addin/client-interfaces/addin-client-navigate-args.js +2 -2
- package/src/addin/client-interfaces/addin-client-open-help-args.d.ts +10 -10
- package/src/addin/client-interfaces/addin-client-open-help-args.js +2 -2
- package/src/addin/client-interfaces/addin-client-ready-args.d.ts +39 -39
- package/src/addin/client-interfaces/addin-client-ready-args.js +2 -2
- package/src/addin/client-interfaces/addin-client-ready-button-config.d.ts +10 -10
- package/src/addin/client-interfaces/addin-client-ready-button-config.js +2 -2
- package/src/addin/client-interfaces/addin-client-show-confirm-args.d.ts +19 -19
- package/src/addin/client-interfaces/addin-client-show-confirm-args.js +2 -2
- package/src/addin/client-interfaces/addin-client-show-error-args.d.ts +18 -18
- package/src/addin/client-interfaces/addin-client-show-error-args.js +2 -2
- package/src/addin/client-interfaces/addin-client-show-flyout-args.d.ts +46 -46
- package/src/addin/client-interfaces/addin-client-show-flyout-args.js +2 -2
- package/src/addin/client-interfaces/addin-client-show-flyout-result.d.ts +9 -9
- package/src/addin/client-interfaces/addin-client-show-flyout-result.js +2 -2
- package/src/addin/client-interfaces/addin-client-show-modal-args.d.ts +14 -14
- package/src/addin/client-interfaces/addin-client-show-modal-args.js +2 -2
- package/src/addin/client-interfaces/addin-client-show-modal-result.d.ts +10 -10
- package/src/addin/client-interfaces/addin-client-show-modal-result.js +2 -2
- package/src/addin/client-interfaces/addin-client-show-toast-args.d.ts +15 -15
- package/src/addin/client-interfaces/addin-client-show-toast-args.js +2 -2
- package/src/addin/client-interfaces/addin-client-theme-settings.d.ts +13 -13
- package/src/addin/client-interfaces/addin-client-theme-settings.js +2 -2
- package/src/addin/client-interfaces/addin-confirm-button-style.d.ts +8 -8
- package/src/addin/client-interfaces/addin-confirm-button-style.js +16 -15
- package/src/addin/client-interfaces/addin-confirm-button-style.js.map +1 -1
- package/src/addin/client-interfaces/addin-confirm-button.d.ts +26 -26
- package/src/addin/client-interfaces/addin-confirm-button.js +2 -2
- package/src/addin/client-interfaces/addin-modal-config.d.ts +12 -12
- package/src/addin/client-interfaces/addin-modal-config.js +2 -2
- package/src/addin/client-interfaces/addin-tab-config.d.ts +9 -9
- package/src/addin/client-interfaces/addin-tab-config.js +2 -2
- package/src/addin/client-interfaces/addin-tab-summary-style.d.ts +4 -4
- package/src/addin/client-interfaces/addin-tab-summary-style.js +13 -12
- package/src/addin/client-interfaces/addin-tab-summary-style.js.map +1 -1
- package/src/addin/client-interfaces/addin-tile-config.d.ts +32 -32
- package/src/addin/client-interfaces/addin-tile-config.js +2 -2
- package/src/addin/client-interfaces/addin-tile-summary-style.d.ts +5 -5
- package/src/addin/client-interfaces/addin-tile-summary-style.js +15 -14
- package/src/addin/client-interfaces/addin-tile-summary-style.js.map +1 -1
- package/src/addin/client-interfaces/addin-toast-style.d.ts +6 -6
- package/src/addin/client-interfaces/addin-toast-style.js +17 -16
- package/src/addin/client-interfaces/addin-toast-style.js.map +1 -1
- package/src/addin/client-interfaces/index.d.ts +27 -27
- package/src/addin/client-interfaces/index.js +43 -10
- package/src/addin/client-interfaces/index.js.map +1 -1
- package/src/addin/host-interfaces/addin-host-message-event-data.d.ts +23 -23
- package/src/addin/host-interfaces/addin-host-message-event-data.js +2 -2
- package/src/addin/host-interfaces/addin-host-message.d.ts +44 -44
- package/src/addin/host-interfaces/addin-host-message.js +2 -2
- package/src/addin/host-interfaces/index.d.ts +2 -2
- package/src/addin/host-interfaces/index.js +18 -2
- package/src/addin/host-interfaces/index.js.map +1 -1
- package/src/addin/index.d.ts +3 -3
- package/src/addin/index.js +19 -7
- package/src/addin/index.js.map +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AddinButtonStyle } from './addin-button-style';
|
|
2
|
-
/**
|
|
3
|
-
* Interface for defining configuration options for Button add-ins
|
|
4
|
-
*/
|
|
5
|
-
export interface AddinClientReadyButtonConfig {
|
|
6
|
-
/**
|
|
7
|
-
* The style to use for the button
|
|
8
|
-
*/
|
|
9
|
-
style?: AddinButtonStyle;
|
|
10
|
-
}
|
|
1
|
+
import { AddinButtonStyle } from './addin-button-style';
|
|
2
|
+
/**
|
|
3
|
+
* Interface for defining configuration options for Button add-ins
|
|
4
|
+
*/
|
|
5
|
+
export interface AddinClientReadyButtonConfig {
|
|
6
|
+
/**
|
|
7
|
+
* The style to use for the button
|
|
8
|
+
*/
|
|
9
|
+
style?: AddinButtonStyle;
|
|
10
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=addin-client-ready-button-config.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { AddinConfirmButton } from './addin-confirm-button';
|
|
2
|
-
/**
|
|
3
|
-
* Interface for showing a confirm dialog from an add-in.
|
|
4
|
-
*/
|
|
5
|
-
export interface AddinClientShowConfirmArgs {
|
|
6
|
-
/**
|
|
7
|
-
* Specifies the message to display in a bold font at the top of the dialog.
|
|
8
|
-
*/
|
|
9
|
-
message: string;
|
|
10
|
-
/**
|
|
11
|
-
* Specifies secondary text to display in plain font under the primary message.
|
|
12
|
-
*/
|
|
13
|
-
body?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Specifies an array of AddinConfirmButton objects that defines the
|
|
16
|
-
* configuration for the confirm dialog's buttons.
|
|
17
|
-
*/
|
|
18
|
-
buttons: AddinConfirmButton[];
|
|
19
|
-
}
|
|
1
|
+
import { AddinConfirmButton } from './addin-confirm-button';
|
|
2
|
+
/**
|
|
3
|
+
* Interface for showing a confirm dialog from an add-in.
|
|
4
|
+
*/
|
|
5
|
+
export interface AddinClientShowConfirmArgs {
|
|
6
|
+
/**
|
|
7
|
+
* Specifies the message to display in a bold font at the top of the dialog.
|
|
8
|
+
*/
|
|
9
|
+
message: string;
|
|
10
|
+
/**
|
|
11
|
+
* Specifies secondary text to display in plain font under the primary message.
|
|
12
|
+
*/
|
|
13
|
+
body?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Specifies an array of AddinConfirmButton objects that defines the
|
|
16
|
+
* configuration for the confirm dialog's buttons.
|
|
17
|
+
*/
|
|
18
|
+
buttons: AddinConfirmButton[];
|
|
19
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=addin-client-show-confirm-args.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Interface for showing an error dialog from an add-in.
|
|
3
|
-
*/
|
|
4
|
-
export interface AddinClientShowErrorArgs {
|
|
5
|
-
/**
|
|
6
|
-
* Specifies a label for the action button that closes the error dialog.
|
|
7
|
-
* Note: SKY UX 1 hosts always display close text as "OK"
|
|
8
|
-
*/
|
|
9
|
-
closeText: string;
|
|
10
|
-
/**
|
|
11
|
-
* Specifies a description to provide additional details in the error dialog.
|
|
12
|
-
*/
|
|
13
|
-
description: string;
|
|
14
|
-
/**
|
|
15
|
-
* Specifies a title to display in the error dialog.
|
|
16
|
-
*/
|
|
17
|
-
title: string;
|
|
18
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Interface for showing an error dialog from an add-in.
|
|
3
|
+
*/
|
|
4
|
+
export interface AddinClientShowErrorArgs {
|
|
5
|
+
/**
|
|
6
|
+
* Specifies a label for the action button that closes the error dialog.
|
|
7
|
+
* Note: SKY UX 1 hosts always display close text as "OK"
|
|
8
|
+
*/
|
|
9
|
+
closeText: string;
|
|
10
|
+
/**
|
|
11
|
+
* Specifies a description to provide additional details in the error dialog.
|
|
12
|
+
*/
|
|
13
|
+
description: string;
|
|
14
|
+
/**
|
|
15
|
+
* Specifies a title to display in the error dialog.
|
|
16
|
+
*/
|
|
17
|
+
title: string;
|
|
18
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=addin-client-show-error-args.js.map
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { AddinClientFlyoutPermalink } from './addin-client-flyout-permalink';
|
|
2
|
-
/**
|
|
3
|
-
* Interface for showing a flyout add-in.
|
|
4
|
-
*/
|
|
5
|
-
export interface AddinClientShowFlyoutArgs {
|
|
6
|
-
/**
|
|
7
|
-
* URL of the add-in to launch as a flyout.
|
|
8
|
-
*/
|
|
9
|
-
url: string;
|
|
10
|
-
/**
|
|
11
|
-
* Specifies the default width of the flyout container. (Default:
|
|
12
|
-
*/
|
|
13
|
-
defaultWidth?: number;
|
|
14
|
-
/**
|
|
15
|
-
* Specifies the maximum resize width of the flyout container. (Default: defaultWidth)
|
|
16
|
-
*/
|
|
17
|
-
maxWidth?: number;
|
|
18
|
-
/**
|
|
19
|
-
* Specifies the minimum resize width of the flyout container. (Default: 320)
|
|
20
|
-
*/
|
|
21
|
-
minWidth?: number;
|
|
22
|
-
/**
|
|
23
|
-
* Indicates whether to display iterator buttons in the flyout header to allow
|
|
24
|
-
* users to access the next and previous records in a record set. (Default: false)
|
|
25
|
-
*/
|
|
26
|
-
showIterator?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Disables the next iterator button in the flyout header that accesses the next
|
|
29
|
-
* record in a record set. (Default: false)
|
|
30
|
-
*/
|
|
31
|
-
iteratorNextDisabled?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Disables the previous iterator button in the flyout header that accesses the
|
|
34
|
-
* previous record in a record set. (Default: false)
|
|
35
|
-
*/
|
|
36
|
-
iteratorPreviousDisabled?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Displays a permalink button in the flyout header.
|
|
39
|
-
*/
|
|
40
|
-
permalink?: AddinClientFlyoutPermalink;
|
|
41
|
-
/**
|
|
42
|
-
* Context information to pass to the flyout add-in when it receives the
|
|
43
|
-
* init callback.
|
|
44
|
-
*/
|
|
45
|
-
context?: any;
|
|
46
|
-
}
|
|
1
|
+
import { AddinClientFlyoutPermalink } from './addin-client-flyout-permalink';
|
|
2
|
+
/**
|
|
3
|
+
* Interface for showing a flyout add-in.
|
|
4
|
+
*/
|
|
5
|
+
export interface AddinClientShowFlyoutArgs {
|
|
6
|
+
/**
|
|
7
|
+
* URL of the add-in to launch as a flyout.
|
|
8
|
+
*/
|
|
9
|
+
url: string;
|
|
10
|
+
/**
|
|
11
|
+
* Specifies the default width of the flyout container. (Default: half the width of its container)
|
|
12
|
+
*/
|
|
13
|
+
defaultWidth?: number;
|
|
14
|
+
/**
|
|
15
|
+
* Specifies the maximum resize width of the flyout container. (Default: defaultWidth)
|
|
16
|
+
*/
|
|
17
|
+
maxWidth?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Specifies the minimum resize width of the flyout container. (Default: 320)
|
|
20
|
+
*/
|
|
21
|
+
minWidth?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Indicates whether to display iterator buttons in the flyout header to allow
|
|
24
|
+
* users to access the next and previous records in a record set. (Default: false)
|
|
25
|
+
*/
|
|
26
|
+
showIterator?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Disables the next iterator button in the flyout header that accesses the next
|
|
29
|
+
* record in a record set. (Default: false)
|
|
30
|
+
*/
|
|
31
|
+
iteratorNextDisabled?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Disables the previous iterator button in the flyout header that accesses the
|
|
34
|
+
* previous record in a record set. (Default: false)
|
|
35
|
+
*/
|
|
36
|
+
iteratorPreviousDisabled?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Displays a permalink button in the flyout header.
|
|
39
|
+
*/
|
|
40
|
+
permalink?: AddinClientFlyoutPermalink;
|
|
41
|
+
/**
|
|
42
|
+
* Context information to pass to the flyout add-in when it receives the
|
|
43
|
+
* init callback.
|
|
44
|
+
*/
|
|
45
|
+
context?: any;
|
|
46
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=addin-client-show-flyout-args.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Interface for the return value from showing a flyout add-in.
|
|
3
|
-
*/
|
|
4
|
-
export interface AddinClientShowFlyoutResult {
|
|
5
|
-
/**
|
|
6
|
-
* A promise that will be resolved when the flyout add-in is closed.
|
|
7
|
-
*/
|
|
8
|
-
flyoutClosed: Promise<void>;
|
|
9
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Interface for the return value from showing a flyout add-in.
|
|
3
|
+
*/
|
|
4
|
+
export interface AddinClientShowFlyoutResult {
|
|
5
|
+
/**
|
|
6
|
+
* A promise that will be resolved when the flyout add-in is closed.
|
|
7
|
+
*/
|
|
8
|
+
flyoutClosed: Promise<void>;
|
|
9
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=addin-client-show-flyout-result.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Interface for showing a modal add-in.
|
|
3
|
-
*/
|
|
4
|
-
export interface AddinClientShowModalArgs {
|
|
5
|
-
/**
|
|
6
|
-
* URL of the add-in to launch as a modal.
|
|
7
|
-
*/
|
|
8
|
-
url?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Context information to pass to the modal add-in when it receives the
|
|
11
|
-
* init callback.
|
|
12
|
-
*/
|
|
13
|
-
context?: any;
|
|
14
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Interface for showing a modal add-in.
|
|
3
|
+
*/
|
|
4
|
+
export interface AddinClientShowModalArgs {
|
|
5
|
+
/**
|
|
6
|
+
* URL of the add-in to launch as a modal.
|
|
7
|
+
*/
|
|
8
|
+
url?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Context information to pass to the modal add-in when it receives the
|
|
11
|
+
* init callback.
|
|
12
|
+
*/
|
|
13
|
+
context?: any;
|
|
14
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=addin-client-show-modal-args.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Interface for the return value from launching a modal add-in.
|
|
3
|
-
*/
|
|
4
|
-
export interface AddinClientShowModalResult {
|
|
5
|
-
/**
|
|
6
|
-
* A promise that will be resolved when the modal add-in is closed.
|
|
7
|
-
* Promise will resolve with context data passed by from the modal add-in's closeModal call.
|
|
8
|
-
*/
|
|
9
|
-
modalClosed: Promise<any>;
|
|
10
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Interface for the return value from launching a modal add-in.
|
|
3
|
+
*/
|
|
4
|
+
export interface AddinClientShowModalResult {
|
|
5
|
+
/**
|
|
6
|
+
* A promise that will be resolved when the modal add-in is closed.
|
|
7
|
+
* Promise will resolve with context data passed by from the modal add-in's closeModal call.
|
|
8
|
+
*/
|
|
9
|
+
modalClosed: Promise<any>;
|
|
10
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=addin-client-show-modal-result.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { AddinToastStyle } from './addin-toast-style';
|
|
2
|
-
/**
|
|
3
|
-
* Interface for showing a toast from an add-in.
|
|
4
|
-
*/
|
|
5
|
-
export interface AddinClientShowToastArgs {
|
|
6
|
-
/**
|
|
7
|
-
* The message to display in the toast.
|
|
8
|
-
*/
|
|
9
|
-
message: string;
|
|
10
|
-
/**
|
|
11
|
-
* Specifies the style of the toast and determines the color and icon to display.
|
|
12
|
-
* (Default: AddinToastStyle.Info)
|
|
13
|
-
*/
|
|
14
|
-
style?: AddinToastStyle;
|
|
15
|
-
}
|
|
1
|
+
import { AddinToastStyle } from './addin-toast-style';
|
|
2
|
+
/**
|
|
3
|
+
* Interface for showing a toast from an add-in.
|
|
4
|
+
*/
|
|
5
|
+
export interface AddinClientShowToastArgs {
|
|
6
|
+
/**
|
|
7
|
+
* The message to display in the toast.
|
|
8
|
+
*/
|
|
9
|
+
message: string;
|
|
10
|
+
/**
|
|
11
|
+
* Specifies the style of the toast and determines the color and icon to display.
|
|
12
|
+
* (Default: AddinToastStyle.Info)
|
|
13
|
+
*/
|
|
14
|
+
style?: AddinToastStyle;
|
|
15
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=addin-client-show-toast-args.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Interface to specify the theme and mode to be applied to an add-in client.
|
|
3
|
-
*/
|
|
4
|
-
export interface AddinClientThemeSettings {
|
|
5
|
-
/**
|
|
6
|
-
* The theme configuration.
|
|
7
|
-
*/
|
|
8
|
-
theme: string;
|
|
9
|
-
/**
|
|
10
|
-
* The theme mode.
|
|
11
|
-
*/
|
|
12
|
-
mode: string;
|
|
13
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Interface to specify the theme and mode to be applied to an add-in client.
|
|
3
|
+
*/
|
|
4
|
+
export interface AddinClientThemeSettings {
|
|
5
|
+
/**
|
|
6
|
+
* The theme configuration.
|
|
7
|
+
*/
|
|
8
|
+
theme: string;
|
|
9
|
+
/**
|
|
10
|
+
* The theme mode.
|
|
11
|
+
*/
|
|
12
|
+
mode: string;
|
|
13
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=addin-client-theme-settings.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines the style of a confirm dialog button.
|
|
3
|
-
*/
|
|
4
|
-
export declare enum AddinConfirmButtonStyle {
|
|
5
|
-
Default = 0,
|
|
6
|
-
Primary = 1,
|
|
7
|
-
Link = 2
|
|
8
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Defines the style of a confirm dialog button.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum AddinConfirmButtonStyle {
|
|
5
|
+
Default = 0,
|
|
6
|
+
Primary = 1,
|
|
7
|
+
Link = 2
|
|
8
|
+
}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
//
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddinConfirmButtonStyle = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Defines the style of a confirm dialog button.
|
|
6
|
+
*/
|
|
7
|
+
var AddinConfirmButtonStyle;
|
|
8
|
+
(function (AddinConfirmButtonStyle) {
|
|
9
|
+
// The button represents a "secondary" action (default)
|
|
10
|
+
AddinConfirmButtonStyle[AddinConfirmButtonStyle["Default"] = 0] = "Default";
|
|
11
|
+
// The button represents a "primary" action
|
|
12
|
+
AddinConfirmButtonStyle[AddinConfirmButtonStyle["Primary"] = 1] = "Primary";
|
|
13
|
+
// The button represents a "link" action, often used
|
|
14
|
+
// to trigger an action to cancel/close a confirm dialog
|
|
15
|
+
AddinConfirmButtonStyle[AddinConfirmButtonStyle["Link"] = 2] = "Link";
|
|
16
|
+
})(AddinConfirmButtonStyle = exports.AddinConfirmButtonStyle || (exports.AddinConfirmButtonStyle = {}));
|
|
16
17
|
//# sourceMappingURL=addin-confirm-button-style.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addin-confirm-button-style.js","sourceRoot":"","sources":["../../../../src/addin/client-interfaces/addin-confirm-button-style.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"addin-confirm-button-style.js","sourceRoot":"","sources":["../../../../src/addin/client-interfaces/addin-confirm-button-style.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,uBAUX;AAVD,WAAY,uBAAuB;IACjC,uDAAuD;IACvD,2EAAW,CAAA;IAEX,2CAA2C;IAC3C,2EAAW,CAAA;IAEX,oDAAoD;IACpD,wDAAwD;IACxD,qEAAQ,CAAA;AACV,CAAC,EAVW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAUlC"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { AddinConfirmButtonStyle } from './addin-confirm-button-style';
|
|
2
|
-
/**
|
|
3
|
-
* Interface for confirm dialog button configuration.
|
|
4
|
-
*/
|
|
5
|
-
export interface AddinConfirmButton {
|
|
6
|
-
/**
|
|
7
|
-
* Specifies an identifier to return when users select the button to close
|
|
8
|
-
* the confirm dialog. This is useful to determine which button users select.
|
|
9
|
-
*
|
|
10
|
-
* Note: An action identifier of "close" is returned when the confirm dialog
|
|
11
|
-
* is closed using the Esc key or using the dialog's "x" icon.
|
|
12
|
-
*/
|
|
13
|
-
action: string;
|
|
14
|
-
/**
|
|
15
|
-
* Specifies the label for the button.
|
|
16
|
-
*/
|
|
17
|
-
text: string;
|
|
18
|
-
/**
|
|
19
|
-
* Indicates whether to place focus on this button by default. (Default: false)
|
|
20
|
-
*/
|
|
21
|
-
autofocus?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Specifies specific styling to apply to the button. (Default: AddinConfirmButtonStyle.Default)
|
|
24
|
-
*/
|
|
25
|
-
style?: AddinConfirmButtonStyle;
|
|
26
|
-
}
|
|
1
|
+
import { AddinConfirmButtonStyle } from './addin-confirm-button-style';
|
|
2
|
+
/**
|
|
3
|
+
* Interface for confirm dialog button configuration.
|
|
4
|
+
*/
|
|
5
|
+
export interface AddinConfirmButton {
|
|
6
|
+
/**
|
|
7
|
+
* Specifies an identifier to return when users select the button to close
|
|
8
|
+
* the confirm dialog. This is useful to determine which button users select.
|
|
9
|
+
*
|
|
10
|
+
* Note: An action identifier of "close" is returned when the confirm dialog
|
|
11
|
+
* is closed using the Esc key or using the dialog's "x" icon.
|
|
12
|
+
*/
|
|
13
|
+
action: string;
|
|
14
|
+
/**
|
|
15
|
+
* Specifies the label for the button.
|
|
16
|
+
*/
|
|
17
|
+
text: string;
|
|
18
|
+
/**
|
|
19
|
+
* Indicates whether to place focus on this button by default. (Default: false)
|
|
20
|
+
*/
|
|
21
|
+
autofocus?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Specifies specific styling to apply to the button. (Default: AddinConfirmButtonStyle.Default)
|
|
24
|
+
*/
|
|
25
|
+
style?: AddinConfirmButtonStyle;
|
|
26
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=addin-confirm-button.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Interface for defining configuration options for Modal add-ins
|
|
3
|
-
*/
|
|
4
|
-
export interface AddinModalConfig {
|
|
5
|
-
/**
|
|
6
|
-
* Indicates that the modal is configured to display full screen (Default: false)
|
|
7
|
-
*
|
|
8
|
-
* When true, this instructs the host application to adjust the display
|
|
9
|
-
* appropriately for a full-page modal.
|
|
10
|
-
*/
|
|
11
|
-
fullPage?: boolean;
|
|
12
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Interface for defining configuration options for Modal add-ins
|
|
3
|
+
*/
|
|
4
|
+
export interface AddinModalConfig {
|
|
5
|
+
/**
|
|
6
|
+
* Indicates that the modal is configured to display full screen (Default: false)
|
|
7
|
+
*
|
|
8
|
+
* When true, this instructs the host application to adjust the display
|
|
9
|
+
* appropriately for a full-page modal.
|
|
10
|
+
*/
|
|
11
|
+
fullPage?: boolean;
|
|
12
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=addin-modal-config.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Interface for defining configuration options for Tab add-ins
|
|
3
|
-
*/
|
|
4
|
-
export interface AddinTabConfig {
|
|
5
|
-
/**
|
|
6
|
-
* Displays a counter beside the tab header.
|
|
7
|
-
*/
|
|
8
|
-
tabHeaderCount?: string;
|
|
9
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Interface for defining configuration options for Tab add-ins
|
|
3
|
+
*/
|
|
4
|
+
export interface AddinTabConfig {
|
|
5
|
+
/**
|
|
6
|
+
* Displays a counter beside the tab header.
|
|
7
|
+
*/
|
|
8
|
+
tabHeaderCount?: string;
|
|
9
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=addin-tab-config.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum AddinTabSummaryStyle {
|
|
2
|
-
None = 0,
|
|
3
|
-
Text = 1
|
|
4
|
-
}
|
|
1
|
+
export declare enum AddinTabSummaryStyle {
|
|
2
|
+
None = 0,
|
|
3
|
+
Text = 1
|
|
4
|
+
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddinTabSummaryStyle = void 0;
|
|
4
|
+
/*
|
|
5
|
+
* Defines the style of the tab summary
|
|
6
|
+
*/
|
|
7
|
+
var AddinTabSummaryStyle;
|
|
8
|
+
(function (AddinTabSummaryStyle) {
|
|
9
|
+
// No style (default)
|
|
10
|
+
AddinTabSummaryStyle[AddinTabSummaryStyle["None"] = 0] = "None";
|
|
11
|
+
// Show summary text next to the tab caption (the value shown will be the 'summary' property)
|
|
12
|
+
AddinTabSummaryStyle[AddinTabSummaryStyle["Text"] = 1] = "Text";
|
|
13
|
+
})(AddinTabSummaryStyle = exports.AddinTabSummaryStyle || (exports.AddinTabSummaryStyle = {}));
|
|
13
14
|
//# sourceMappingURL=addin-tab-summary-style.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addin-tab-summary-style.js","sourceRoot":"","sources":["../../../../src/addin/client-interfaces/addin-tab-summary-style.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"addin-tab-summary-style.js","sourceRoot":"","sources":["../../../../src/addin/client-interfaces/addin-tab-summary-style.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,oBAMX;AAND,WAAY,oBAAoB;IAC9B,qBAAqB;IACrB,+DAAQ,CAAA;IAER,6FAA6F;IAC7F,+DAAQ,CAAA;AACV,CAAC,EANW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAM/B"}
|