@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.
Files changed (96) hide show
  1. package/CHANGELOG.md +121 -114
  2. package/README.md +470 -470
  3. package/bundles/sky-addin-client.global-es2015.js +1094 -0
  4. package/bundles/sky-addin-client.global-es2015.min.js +1 -0
  5. package/bundles/sky-addin-client.global.js +1106 -0
  6. package/bundles/sky-addin-client.global.min.js +1 -0
  7. package/bundles/sky-addin-client.umd-es2015.js +1105 -0
  8. package/bundles/sky-addin-client.umd-es2015.min.js +1 -0
  9. package/bundles/sky-addin-client.umd.js +1117 -1
  10. package/bundles/sky-addin-client.umd.min.js +1 -1
  11. package/index.d.ts +1 -1
  12. package/index.js +17 -6
  13. package/index.js.map +1 -1
  14. package/package.json +67 -70
  15. package/src/addin/addin-client.d.ts +277 -277
  16. package/src/addin/addin-client.js +640 -640
  17. package/src/addin/addin-client.js.map +1 -1
  18. package/src/addin/addin-client.spec.d.ts +1 -0
  19. package/src/addin/addin-client.spec.js +1415 -0
  20. package/src/addin/addin-client.spec.js.map +1 -0
  21. package/src/addin/client-interfaces/addin-action-button-config.d.ts +10 -10
  22. package/src/addin/client-interfaces/addin-action-button-config.js +2 -2
  23. package/src/addin/client-interfaces/addin-button-config.d.ts +10 -10
  24. package/src/addin/client-interfaces/addin-button-config.js +2 -2
  25. package/src/addin/client-interfaces/addin-button-style.d.ts +6 -6
  26. package/src/addin/client-interfaces/addin-button-style.js +17 -16
  27. package/src/addin/client-interfaces/addin-button-style.js.map +1 -1
  28. package/src/addin/client-interfaces/addin-client-args.d.ts +10 -10
  29. package/src/addin/client-interfaces/addin-client-args.js +2 -2
  30. package/src/addin/client-interfaces/addin-client-callbacks.d.ts +40 -40
  31. package/src/addin/client-interfaces/addin-client-callbacks.js +2 -2
  32. package/src/addin/client-interfaces/addin-client-close-modal-args.d.ts +10 -10
  33. package/src/addin/client-interfaces/addin-client-close-modal-args.js +2 -2
  34. package/src/addin/client-interfaces/addin-client-event-args.d.ts +13 -13
  35. package/src/addin/client-interfaces/addin-client-event-args.js +2 -2
  36. package/src/addin/client-interfaces/addin-client-flyout-permalink.d.ts +14 -14
  37. package/src/addin/client-interfaces/addin-client-flyout-permalink.js +2 -2
  38. package/src/addin/client-interfaces/addin-client-init-args.d.ts +28 -28
  39. package/src/addin/client-interfaces/addin-client-init-args.js +2 -2
  40. package/src/addin/client-interfaces/addin-client-navigate-args.d.ts +9 -9
  41. package/src/addin/client-interfaces/addin-client-navigate-args.js +2 -2
  42. package/src/addin/client-interfaces/addin-client-open-help-args.d.ts +10 -10
  43. package/src/addin/client-interfaces/addin-client-open-help-args.js +2 -2
  44. package/src/addin/client-interfaces/addin-client-ready-args.d.ts +39 -39
  45. package/src/addin/client-interfaces/addin-client-ready-args.js +2 -2
  46. package/src/addin/client-interfaces/addin-client-ready-button-config.d.ts +10 -10
  47. package/src/addin/client-interfaces/addin-client-ready-button-config.js +2 -2
  48. package/src/addin/client-interfaces/addin-client-show-confirm-args.d.ts +19 -19
  49. package/src/addin/client-interfaces/addin-client-show-confirm-args.js +2 -2
  50. package/src/addin/client-interfaces/addin-client-show-error-args.d.ts +18 -18
  51. package/src/addin/client-interfaces/addin-client-show-error-args.js +2 -2
  52. package/src/addin/client-interfaces/addin-client-show-flyout-args.d.ts +46 -46
  53. package/src/addin/client-interfaces/addin-client-show-flyout-args.js +2 -2
  54. package/src/addin/client-interfaces/addin-client-show-flyout-result.d.ts +9 -9
  55. package/src/addin/client-interfaces/addin-client-show-flyout-result.js +2 -2
  56. package/src/addin/client-interfaces/addin-client-show-modal-args.d.ts +14 -14
  57. package/src/addin/client-interfaces/addin-client-show-modal-args.js +2 -2
  58. package/src/addin/client-interfaces/addin-client-show-modal-result.d.ts +10 -10
  59. package/src/addin/client-interfaces/addin-client-show-modal-result.js +2 -2
  60. package/src/addin/client-interfaces/addin-client-show-toast-args.d.ts +15 -15
  61. package/src/addin/client-interfaces/addin-client-show-toast-args.js +2 -2
  62. package/src/addin/client-interfaces/addin-client-theme-settings.d.ts +13 -13
  63. package/src/addin/client-interfaces/addin-client-theme-settings.js +2 -2
  64. package/src/addin/client-interfaces/addin-confirm-button-style.d.ts +8 -8
  65. package/src/addin/client-interfaces/addin-confirm-button-style.js +16 -15
  66. package/src/addin/client-interfaces/addin-confirm-button-style.js.map +1 -1
  67. package/src/addin/client-interfaces/addin-confirm-button.d.ts +26 -26
  68. package/src/addin/client-interfaces/addin-confirm-button.js +2 -2
  69. package/src/addin/client-interfaces/addin-modal-config.d.ts +12 -12
  70. package/src/addin/client-interfaces/addin-modal-config.js +2 -2
  71. package/src/addin/client-interfaces/addin-tab-config.d.ts +9 -9
  72. package/src/addin/client-interfaces/addin-tab-config.js +2 -2
  73. package/src/addin/client-interfaces/addin-tab-summary-style.d.ts +4 -4
  74. package/src/addin/client-interfaces/addin-tab-summary-style.js +13 -12
  75. package/src/addin/client-interfaces/addin-tab-summary-style.js.map +1 -1
  76. package/src/addin/client-interfaces/addin-tile-config.d.ts +32 -32
  77. package/src/addin/client-interfaces/addin-tile-config.js +2 -2
  78. package/src/addin/client-interfaces/addin-tile-summary-style.d.ts +5 -5
  79. package/src/addin/client-interfaces/addin-tile-summary-style.js +15 -14
  80. package/src/addin/client-interfaces/addin-tile-summary-style.js.map +1 -1
  81. package/src/addin/client-interfaces/addin-toast-style.d.ts +6 -6
  82. package/src/addin/client-interfaces/addin-toast-style.js +17 -16
  83. package/src/addin/client-interfaces/addin-toast-style.js.map +1 -1
  84. package/src/addin/client-interfaces/index.d.ts +27 -27
  85. package/src/addin/client-interfaces/index.js +43 -10
  86. package/src/addin/client-interfaces/index.js.map +1 -1
  87. package/src/addin/host-interfaces/addin-host-message-event-data.d.ts +23 -23
  88. package/src/addin/host-interfaces/addin-host-message-event-data.js +2 -2
  89. package/src/addin/host-interfaces/addin-host-message.d.ts +44 -44
  90. package/src/addin/host-interfaces/addin-host-message.js +2 -2
  91. package/src/addin/host-interfaces/index.d.ts +2 -2
  92. package/src/addin/host-interfaces/index.js +18 -2
  93. package/src/addin/host-interfaces/index.js.map +1 -1
  94. package/src/addin/index.d.ts +3 -3
  95. package/src/addin/index.js +19 -7
  96. package/src/addin/index.js.map +1 -1
@@ -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,15 +1,16 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- /*
4
- * Defines the style of the tile summary
5
- */
6
- var AddinTileSummaryStyle;
7
- (function (AddinTileSummaryStyle) {
8
- // No style (default)
9
- AddinTileSummaryStyle[AddinTileSummaryStyle["None"] = 0] = "None";
10
- // Show a text summary for the tile (the value to show will be the 'summary' property)
11
- AddinTileSummaryStyle[AddinTileSummaryStyle["Text"] = 1] = "Text";
12
- // Show a check summary for the tile (the check will show based on the 'checked' property)
13
- AddinTileSummaryStyle[AddinTileSummaryStyle["Check"] = 2] = "Check";
14
- })(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 = {}));
15
16
  //# sourceMappingURL=addin-tile-summary-style.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"addin-tile-summary-style.js","sourceRoot":"","sources":["../../../../src/addin/client-interfaces/addin-tile-summary-style.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,IAAY,qBASX;AATD,WAAY,qBAAqB;IAC/B,qBAAqB;IACrB,iEAAQ,CAAA;IAER,sFAAsF;IACtF,iEAAQ,CAAA;IAER,0FAA0F;IAC1F,mEAAS,CAAA;AACX,CAAC,EATW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAShC"}
1
+ {"version":3,"file":"addin-tile-summary-style.js","sourceRoot":"","sources":["../../../../src/addin/client-interfaces/addin-tile-summary-style.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,qBASX;AATD,WAAY,qBAAqB;IAC/B,qBAAqB;IACrB,iEAAQ,CAAA;IAER,sFAAsF;IACtF,iEAAQ,CAAA;IAER,0FAA0F;IAC1F,mEAAS,CAAA;AACX,CAAC,EATW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAShC"}
@@ -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
+ }
@@ -1,17 +1,18 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- /*
4
- * Defines the style of the toast
5
- */
6
- var AddinToastStyle;
7
- (function (AddinToastStyle) {
8
- // The toast style for a critical error
9
- AddinToastStyle[AddinToastStyle["Danger"] = 0] = "Danger";
10
- // The toast style for informational purposes (default)
11
- AddinToastStyle[AddinToastStyle["Info"] = 1] = "Info";
12
- // The toast style for a successful operation
13
- AddinToastStyle[AddinToastStyle["Success"] = 2] = "Success";
14
- // The toast style for a non-critical error
15
- AddinToastStyle[AddinToastStyle["Warning"] = 3] = "Warning";
16
- })(AddinToastStyle = exports.AddinToastStyle || (exports.AddinToastStyle = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddinToastStyle = void 0;
4
+ /*
5
+ * Defines the style of the toast
6
+ */
7
+ var AddinToastStyle;
8
+ (function (AddinToastStyle) {
9
+ // The toast style for a critical error
10
+ AddinToastStyle[AddinToastStyle["Danger"] = 0] = "Danger";
11
+ // The toast style for informational purposes (default)
12
+ AddinToastStyle[AddinToastStyle["Info"] = 1] = "Info";
13
+ // The toast style for a successful operation
14
+ AddinToastStyle[AddinToastStyle["Success"] = 2] = "Success";
15
+ // The toast style for a non-critical error
16
+ AddinToastStyle[AddinToastStyle["Warning"] = 3] = "Warning";
17
+ })(AddinToastStyle = exports.AddinToastStyle || (exports.AddinToastStyle = {}));
17
18
  //# sourceMappingURL=addin-toast-style.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"addin-toast-style.js","sourceRoot":"","sources":["../../../../src/addin/client-interfaces/addin-toast-style.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,IAAY,eAYX;AAZD,WAAY,eAAe;IACzB,uCAAuC;IACvC,yDAAU,CAAA;IAEV,uDAAuD;IACvD,qDAAQ,CAAA;IAER,6CAA6C;IAC7C,2DAAW,CAAA;IAEX,2CAA2C;IAC3C,2DAAW,CAAA;AACb,CAAC,EAZW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAY1B"}
1
+ {"version":3,"file":"addin-toast-style.js","sourceRoot":"","sources":["../../../../src/addin/client-interfaces/addin-toast-style.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,eAYX;AAZD,WAAY,eAAe;IACzB,uCAAuC;IACvC,yDAAU,CAAA;IAEV,uDAAuD;IACvD,qDAAQ,CAAA;IAER,6CAA6C;IAC7C,2DAAW,CAAA;IAEX,2CAA2C;IAC3C,2DAAW,CAAA;AACb,CAAC,EAZW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAY1B"}
@@ -1,27 +1,27 @@
1
- export * from './addin-button-config';
2
- export * from './addin-button-style';
3
- export * from './addin-client-args';
4
- export * from './addin-client-callbacks';
5
- export * from './addin-client-close-modal-args';
6
- export * from './addin-client-event-args';
7
- export * from './addin-client-flyout-permalink';
8
- export * from './addin-client-init-args';
9
- export * from './addin-client-navigate-args';
10
- export * from './addin-client-open-help-args';
11
- export * from './addin-client-ready-args';
12
- export * from './addin-client-ready-button-config';
13
- export * from './addin-client-show-confirm-args';
14
- export * from './addin-client-show-error-args';
15
- export * from './addin-client-show-flyout-args';
16
- export * from './addin-client-show-flyout-result';
17
- export * from './addin-client-show-modal-args';
18
- export * from './addin-client-show-modal-result';
19
- export * from './addin-client-show-toast-args';
20
- export * from './addin-client-theme-settings';
21
- export * from './addin-confirm-button';
22
- export * from './addin-confirm-button-style';
23
- export * from './addin-modal-config';
24
- export * from './addin-tab-summary-style';
25
- export * from './addin-tile-config';
26
- export * from './addin-tile-summary-style';
27
- export * from './addin-toast-style';
1
+ export * from './addin-button-config';
2
+ export * from './addin-button-style';
3
+ export * from './addin-client-args';
4
+ export * from './addin-client-callbacks';
5
+ export * from './addin-client-close-modal-args';
6
+ export * from './addin-client-event-args';
7
+ export * from './addin-client-flyout-permalink';
8
+ export * from './addin-client-init-args';
9
+ export * from './addin-client-navigate-args';
10
+ export * from './addin-client-open-help-args';
11
+ export * from './addin-client-ready-args';
12
+ export * from './addin-client-ready-button-config';
13
+ export * from './addin-client-show-confirm-args';
14
+ export * from './addin-client-show-error-args';
15
+ export * from './addin-client-show-flyout-args';
16
+ export * from './addin-client-show-flyout-result';
17
+ export * from './addin-client-show-modal-args';
18
+ export * from './addin-client-show-modal-result';
19
+ export * from './addin-client-show-toast-args';
20
+ export * from './addin-client-theme-settings';
21
+ export * from './addin-confirm-button';
22
+ export * from './addin-confirm-button-style';
23
+ export * from './addin-modal-config';
24
+ export * from './addin-tab-summary-style';
25
+ export * from './addin-tile-config';
26
+ export * from './addin-tile-summary-style';
27
+ export * from './addin-toast-style';
@@ -1,11 +1,44 @@
1
- "use strict";
2
- function __export(m) {
3
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
- }
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- __export(require("./addin-button-style"));
7
- __export(require("./addin-confirm-button-style"));
8
- __export(require("./addin-tab-summary-style"));
9
- __export(require("./addin-tile-summary-style"));
10
- __export(require("./addin-toast-style"));
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./addin-button-config"), exports);
18
+ __exportStar(require("./addin-button-style"), exports);
19
+ __exportStar(require("./addin-client-args"), exports);
20
+ __exportStar(require("./addin-client-callbacks"), exports);
21
+ __exportStar(require("./addin-client-close-modal-args"), exports);
22
+ __exportStar(require("./addin-client-event-args"), exports);
23
+ __exportStar(require("./addin-client-flyout-permalink"), exports);
24
+ __exportStar(require("./addin-client-init-args"), exports);
25
+ __exportStar(require("./addin-client-navigate-args"), exports);
26
+ __exportStar(require("./addin-client-open-help-args"), exports);
27
+ __exportStar(require("./addin-client-ready-args"), exports);
28
+ __exportStar(require("./addin-client-ready-button-config"), exports);
29
+ __exportStar(require("./addin-client-show-confirm-args"), exports);
30
+ __exportStar(require("./addin-client-show-error-args"), exports);
31
+ __exportStar(require("./addin-client-show-flyout-args"), exports);
32
+ __exportStar(require("./addin-client-show-flyout-result"), exports);
33
+ __exportStar(require("./addin-client-show-modal-args"), exports);
34
+ __exportStar(require("./addin-client-show-modal-result"), exports);
35
+ __exportStar(require("./addin-client-show-toast-args"), exports);
36
+ __exportStar(require("./addin-client-theme-settings"), exports);
37
+ __exportStar(require("./addin-confirm-button"), exports);
38
+ __exportStar(require("./addin-confirm-button-style"), exports);
39
+ __exportStar(require("./addin-modal-config"), exports);
40
+ __exportStar(require("./addin-tab-summary-style"), exports);
41
+ __exportStar(require("./addin-tile-config"), exports);
42
+ __exportStar(require("./addin-tile-summary-style"), exports);
43
+ __exportStar(require("./addin-toast-style"), exports);
11
44
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/addin/client-interfaces/index.ts"],"names":[],"mappings":";;;;;AACA,0CAAqC;AAoBrC,kDAA6C;AAE7C,+CAA0C;AAE1C,gDAA2C;AAC3C,yCAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/addin/client-interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,uDAAqC;AACrC,sDAAoC;AACpC,2DAAyC;AACzC,kEAAgD;AAChD,4DAA0C;AAC1C,kEAAgD;AAChD,2DAAyC;AACzC,+DAA6C;AAC7C,gEAA8C;AAC9C,4DAA0C;AAC1C,qEAAmD;AACnD,mEAAiD;AACjD,iEAA+C;AAC/C,kEAAgD;AAChD,oEAAkD;AAClD,iEAA+C;AAC/C,mEAAiD;AACjD,iEAA+C;AAC/C,gEAA8C;AAC9C,yDAAuC;AACvC,+DAA6C;AAC7C,uDAAqC;AACrC,4DAA0C;AAC1C,sDAAoC;AACpC,6DAA2C;AAC3C,sDAAoC"}
@@ -1,23 +1,23 @@
1
- import { AddinHostMessage } from './addin-host-message';
2
- /**
3
- * Interface for messages posted to the add-in iframe from the host page.
4
- */
5
- export interface AddinHostMessageEventData {
6
- /**
7
- * The type of the message.
8
- * Should match a collection of well-known types
9
- */
10
- messageType: string;
11
- /**
12
- * A value indicating the source of the message from the host page, to distinguish
13
- * from any other types of messages that might be emitted.
14
- *
15
- * Add-ins should be listening for a constant source of "bb-addin-host".
16
- */
17
- source: string;
18
- /**
19
- * The actual message data.
20
- * This will contain some constant fields and some fields that varies by message type.
21
- */
22
- message: AddinHostMessage;
23
- }
1
+ import { AddinHostMessage } from './addin-host-message';
2
+ /**
3
+ * Interface for messages posted to the add-in iframe from the host page.
4
+ */
5
+ export interface AddinHostMessageEventData {
6
+ /**
7
+ * The type of the message.
8
+ * Should match a collection of well-known types
9
+ */
10
+ messageType: string;
11
+ /**
12
+ * A value indicating the source of the message from the host page, to distinguish
13
+ * from any other types of messages that might be emitted.
14
+ *
15
+ * Add-ins should be listening for a constant source of "bb-addin-host".
16
+ */
17
+ source: string;
18
+ /**
19
+ * The actual message data.
20
+ * This will contain some constant fields and some fields that varies by message type.
21
+ */
22
+ message: AddinHostMessage;
23
+ }
@@ -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-host-message-event-data.js.map
@@ -1,44 +1,44 @@
1
- import { AddinClientThemeSettings } from '../client-interfaces';
2
- /**
3
- * Interface for the actual message data embedded in an AddinHostMessageEventData.
4
- * The populated fields will vary by the message type.
5
- */
6
- export interface AddinHostMessage {
7
- /**
8
- * Identifier to correlate authentication token requests from the add-in client to the host.
9
- */
10
- authTokenRequestId?: number;
11
- /**
12
- * Authentication token for the current user.
13
- */
14
- authToken?: string;
15
- /**
16
- * Additional context of the host page, which will vary for different extension points.
17
- */
18
- context?: any;
19
- /**
20
- * The environment id of the host page.
21
- */
22
- envId?: string;
23
- /**
24
- * Identifier to correlate modal requests from the add-in client to the host.
25
- */
26
- modalRequestId?: number;
27
- /**
28
- * Identifier to correlate events from the add-in client to the host.
29
- */
30
- eventRequestId?: number;
31
- /**
32
- * Generic field for passing information about the request, such as the explanation for a
33
- * auth-token-fail message or action message for closing a dialog.
34
- */
35
- reason?: string;
36
- /**
37
- * Event types that are supported by the host page.
38
- */
39
- supportedEventTypes?: string[];
40
- /**
41
- * The UX theme of the host page, which will vary for different extension points.
42
- */
43
- themeSettings?: AddinClientThemeSettings;
44
- }
1
+ import { AddinClientThemeSettings } from '../client-interfaces';
2
+ /**
3
+ * Interface for the actual message data embedded in an AddinHostMessageEventData.
4
+ * The populated fields will vary by the message type.
5
+ */
6
+ export interface AddinHostMessage {
7
+ /**
8
+ * Identifier to correlate authentication token requests from the add-in client to the host.
9
+ */
10
+ authTokenRequestId?: number;
11
+ /**
12
+ * Authentication token for the current user.
13
+ */
14
+ authToken?: string;
15
+ /**
16
+ * Additional context of the host page, which will vary for different extension points.
17
+ */
18
+ context?: any;
19
+ /**
20
+ * The environment id of the host page.
21
+ */
22
+ envId?: string;
23
+ /**
24
+ * Identifier to correlate modal requests from the add-in client to the host.
25
+ */
26
+ modalRequestId?: number;
27
+ /**
28
+ * Identifier to correlate events from the add-in client to the host.
29
+ */
30
+ eventRequestId?: number;
31
+ /**
32
+ * Generic field for passing information about the request, such as the explanation for a
33
+ * auth-token-fail message or action message for closing a dialog.
34
+ */
35
+ reason?: string;
36
+ /**
37
+ * Event types that are supported by the host page.
38
+ */
39
+ supportedEventTypes?: string[];
40
+ /**
41
+ * The UX theme of the host page, which will vary for different extension points.
42
+ */
43
+ themeSettings?: AddinClientThemeSettings;
44
+ }
@@ -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-host-message.js.map
@@ -1,2 +1,2 @@
1
- export * from './addin-host-message-event-data';
2
- export * from './addin-host-message';
1
+ export * from './addin-host-message-event-data';
2
+ export * from './addin-host-message';
@@ -1,3 +1,19 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./addin-host-message-event-data"), exports);
18
+ __exportStar(require("./addin-host-message"), exports);
3
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/addin/host-interfaces/index.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/addin/host-interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,uDAAqC"}
@@ -1,3 +1,3 @@
1
- export * from './addin-client';
2
- export * from './client-interfaces';
3
- export * from './host-interfaces';
1
+ export * from './addin-client';
2
+ export * from './client-interfaces';
3
+ export * from './host-interfaces';
@@ -1,8 +1,20 @@
1
- "use strict";
2
- function __export(m) {
3
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
- }
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- __export(require("./addin-client"));
7
- __export(require("./client-interfaces"));
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./addin-client"), exports);
18
+ __exportStar(require("./client-interfaces"), exports);
19
+ __exportStar(require("./host-interfaces"), exports);
8
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/addin/index.ts"],"names":[],"mappings":";;;;;AAAA,oCAA+B;AAC/B,yCAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/addin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,sDAAoC;AACpC,oDAAkC"}