@blackbaud/sky-addin-client 1.2.0 → 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 -118
- package/README.md +470 -470
- package/bundles/sky-addin-client.global-es2015.js +851 -851
- package/bundles/sky-addin-client.global-es2015.min.js +1 -1
- package/bundles/sky-addin-client.global.js +863 -863
- package/bundles/sky-addin-client.global.min.js +1 -1
- package/bundles/sky-addin-client.umd-es2015.js +851 -851
- package/bundles/sky-addin-client.umd-es2015.min.js +1 -1
- package/bundles/sky-addin-client.umd.js +863 -863
- package/bundles/sky-addin-client.umd.min.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +17 -17
- package/package.json +67 -67
- package/src/addin/addin-client.d.ts +277 -277
- package/src/addin/addin-client.js +640 -640
- package/src/addin/addin-client.spec.d.ts +1 -1
- package/src/addin/addin-client.spec.js +1414 -1414
- 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 -17
- 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 -16
- 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 -13
- 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 -15
- package/src/addin/client-interfaces/addin-toast-style.d.ts +6 -6
- package/src/addin/client-interfaces/addin-toast-style.js +17 -17
- package/src/addin/client-interfaces/index.d.ts +27 -27
- package/src/addin/client-interfaces/index.js +43 -43
- 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 -18
- package/src/addin/index.d.ts +3 -3
- package/src/addin/index.js +19 -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-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: 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
|
+
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,17 +1,17 @@
|
|
|
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 = {}));
|
|
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 = {}));
|
|
17
17
|
//# sourceMappingURL=addin-confirm-button-style.js.map
|
|
@@ -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,14 +1,14 @@
|
|
|
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 = {}));
|
|
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 = {}));
|
|
14
14
|
//# sourceMappingURL=addin-tab-summary-style.js.map
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { AddinTileSummaryStyle } from './addin-tile-summary-style';
|
|
2
|
-
/**
|
|
3
|
-
* Interface for defining configuration options for Tile add-ins
|
|
4
|
-
*/
|
|
5
|
-
export interface AddinTileConfig {
|
|
6
|
-
/**
|
|
7
|
-
* The style to use for the tile summary
|
|
8
|
-
*/
|
|
9
|
-
summaryStyle?: AddinTileSummaryStyle;
|
|
10
|
-
/**
|
|
11
|
-
* Indicates the summary text to be displayed when the tile is collapsed (only applicable when the style is Text)
|
|
12
|
-
*/
|
|
13
|
-
summaryText?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Indicates whether the tile summary should render a check (only applicable when the style is Check)
|
|
16
|
-
*/
|
|
17
|
-
summaryChecked?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Indicates whether to show the Help icon in the tile chrome
|
|
20
|
-
* @deprecated See _Deprecated help support_ in README
|
|
21
|
-
*/
|
|
22
|
-
showHelp?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Indicates whether to show the Settings icon in the tile chrome
|
|
25
|
-
*/
|
|
26
|
-
showSettings?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Indicates whether the tile content inset should be removed which allows
|
|
29
|
-
* the content to extend all the way to the edge of the tile container (Default: false)
|
|
30
|
-
*/
|
|
31
|
-
removeInset?: boolean;
|
|
32
|
-
}
|
|
1
|
+
import { AddinTileSummaryStyle } from './addin-tile-summary-style';
|
|
2
|
+
/**
|
|
3
|
+
* Interface for defining configuration options for Tile add-ins
|
|
4
|
+
*/
|
|
5
|
+
export interface AddinTileConfig {
|
|
6
|
+
/**
|
|
7
|
+
* The style to use for the tile summary
|
|
8
|
+
*/
|
|
9
|
+
summaryStyle?: AddinTileSummaryStyle;
|
|
10
|
+
/**
|
|
11
|
+
* Indicates the summary text to be displayed when the tile is collapsed (only applicable when the style is Text)
|
|
12
|
+
*/
|
|
13
|
+
summaryText?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Indicates whether the tile summary should render a check (only applicable when the style is Check)
|
|
16
|
+
*/
|
|
17
|
+
summaryChecked?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Indicates whether to show the Help icon in the tile chrome
|
|
20
|
+
* @deprecated See _Deprecated help support_ in README
|
|
21
|
+
*/
|
|
22
|
+
showHelp?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Indicates whether to show the Settings icon in the tile chrome
|
|
25
|
+
*/
|
|
26
|
+
showSettings?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Indicates whether the tile content inset should be removed which allows
|
|
29
|
+
* the content to extend all the way to the edge of the tile container (Default: false)
|
|
30
|
+
*/
|
|
31
|
+
removeInset?: boolean;
|
|
32
|
+
}
|
|
@@ -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-tile-config.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum AddinTileSummaryStyle {
|
|
2
|
-
None = 0,
|
|
3
|
-
Text = 1,
|
|
4
|
-
Check = 2
|
|
5
|
-
}
|
|
1
|
+
export declare enum AddinTileSummaryStyle {
|
|
2
|
+
None = 0,
|
|
3
|
+
Text = 1,
|
|
4
|
+
Check = 2
|
|
5
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AddinTileSummaryStyle = void 0;
|
|
4
|
-
/*
|
|
5
|
-
* Defines the style of the tile summary
|
|
6
|
-
*/
|
|
7
|
-
var AddinTileSummaryStyle;
|
|
8
|
-
(function (AddinTileSummaryStyle) {
|
|
9
|
-
// No style (default)
|
|
10
|
-
AddinTileSummaryStyle[AddinTileSummaryStyle["None"] = 0] = "None";
|
|
11
|
-
// Show a text summary for the tile (the value to show will be the 'summary' property)
|
|
12
|
-
AddinTileSummaryStyle[AddinTileSummaryStyle["Text"] = 1] = "Text";
|
|
13
|
-
// Show a check summary for the tile (the check will show based on the 'checked' property)
|
|
14
|
-
AddinTileSummaryStyle[AddinTileSummaryStyle["Check"] = 2] = "Check";
|
|
15
|
-
})(AddinTileSummaryStyle = exports.AddinTileSummaryStyle || (exports.AddinTileSummaryStyle = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddinTileSummaryStyle = void 0;
|
|
4
|
+
/*
|
|
5
|
+
* Defines the style of the tile summary
|
|
6
|
+
*/
|
|
7
|
+
var AddinTileSummaryStyle;
|
|
8
|
+
(function (AddinTileSummaryStyle) {
|
|
9
|
+
// No style (default)
|
|
10
|
+
AddinTileSummaryStyle[AddinTileSummaryStyle["None"] = 0] = "None";
|
|
11
|
+
// Show a text summary for the tile (the value to show will be the 'summary' property)
|
|
12
|
+
AddinTileSummaryStyle[AddinTileSummaryStyle["Text"] = 1] = "Text";
|
|
13
|
+
// Show a check summary for the tile (the check will show based on the 'checked' property)
|
|
14
|
+
AddinTileSummaryStyle[AddinTileSummaryStyle["Check"] = 2] = "Check";
|
|
15
|
+
})(AddinTileSummaryStyle = exports.AddinTileSummaryStyle || (exports.AddinTileSummaryStyle = {}));
|
|
16
16
|
//# sourceMappingURL=addin-tile-summary-style.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare enum AddinToastStyle {
|
|
2
|
-
Danger = 0,
|
|
3
|
-
Info = 1,
|
|
4
|
-
Success = 2,
|
|
5
|
-
Warning = 3
|
|
6
|
-
}
|
|
1
|
+
export declare enum AddinToastStyle {
|
|
2
|
+
Danger = 0,
|
|
3
|
+
Info = 1,
|
|
4
|
+
Success = 2,
|
|
5
|
+
Warning = 3
|
|
6
|
+
}
|