@microsoft/teams.cards 2.0.11-preview.8 → 2.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.
@@ -1,3 +1,3 @@
1
- export * from './submit';
1
+ export * from './submit/index.mjs';
2
2
  //# sourceMappingURL=index.mjs.map
3
3
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/actions/submit/collab-stage.ts"],"names":["SubmitAction","SubmitActionData","InvokeSubmitActionData","CollabStageInvokeDataValue"],"mappings":";;;;AA8BO,MAAM,0BAA0BA,iBAAA,CAA2C;AAAA;AAAA;AAAA;AAAA,EAIhF,IAAA;AAAA,EAEA,WAAA,CAAY,GAAA,EAAgB,OAAA,GAA+B,EAAC,EAAG;AAC7D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAA,GAAO,IAAIC,qBAAA,CAAiB;AAAA,MAC/B,SAAS,IAAIC,2BAAA;AAAA,QACX,MACI,IAAIC,+BAAA,CAA2B,EAAE,OAAA,EAAS,GAAA,EAAK,CAAA,GAC/C;AAAA;AACN,KACD,CAAA;AAAA,EACH;AAAA,EAEA,OAAO,KAAK,OAAA,EAAmC;AAC7C,IAAA,MAAM,OAAA,GAAU,QAAQ,IAAA,CAAK,OAAA;AAC7B,IAAA,MAAM,QAAQ,OAAA,EAAS,KAAA;AACvB,IAAA,OAAO,IAAI,iBAAA,CAAkB,KAAA,EAAO,OAAA,EAAS,OAAO,CAAA;AAAA,EACtD;AAAA,EAEA,SAAS,KAAA,EAAgC;AACvC,IAAA,KAAA,CAAM,SAAS,IAAIF,qBAAA,CAAiB,EAAE,OAAA,EAAS,KAAA,EAAO,CAAC,CAAA;AACvD,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAiB;AACzB,IAAA,MAAM,OAAA,GAAU,KAAK,IAAA,CAAK,OAAA;AAC1B,IAAA,IAAI,OAAA,EAAS;AACX,MAAA,OAAA,CAAQ,QAAQ,IAAIE,+BAAA,CAA2B,EAAE,OAAA,EAAS,OAAO,CAAA;AAAA,IACnE;AACA,IAAA,OAAO,IAAA;AAAA,EACT;AACF","file":"collab-stage.js","sourcesContent":["import {\n CollabStageInvokeDataValue,\n ICollabStageInvokeDataValue,\n IInvokeSubmitActionData,\n InvokeSubmitActionData,\n ISubmitAction,\n ISubmitActionData,\n ITabInfo,\n SubmitAction,\n SubmitActionData,\n SubmitActionOptions,\n} from '../../core';\n\nexport type CollabStageActionOptions = SubmitActionOptions & {\n data: ISubmitActionData;\n};\n\n/**\n * Adaptive Card action response type for the {@link CollabStageAction} function.\n */\nexport interface ICollabStageAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially 'hidden' properties.\n */\n data: ISubmitActionData;\n}\n\n/**\n * Adaptive Card action that opens a collab stage popout window.\n */\nexport class CollabStageAction extends SubmitAction implements ICollabStageAction {\n /**\n * Initial data that input fields will be combined with. These are essentially 'hidden' properties.\n */\n data: ISubmitActionData;\n\n constructor(tab?: ITabInfo, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = new SubmitActionData({\n msteams: new InvokeSubmitActionData(\n tab\n ? new CollabStageInvokeDataValue({ tabInfo: tab })\n : undefined,\n ),\n });\n }\n\n static from(options: CollabStageActionOptions) {\n const msteams = options.data.msteams as IInvokeSubmitActionData | undefined;\n const value = msteams?.value as ICollabStageInvokeDataValue | undefined;\n return new CollabStageAction(value?.tabInfo, options);\n }\n\n withData(value: IInvokeSubmitActionData) {\n super.withData(new SubmitActionData({ msteams: value }));\n return this;\n }\n\n withValue(value: ITabInfo) {\n const msteams = this.data.msteams as IInvokeSubmitActionData | undefined;\n if (msteams) {\n msteams.value = new CollabStageInvokeDataValue({ tabInfo: value });\n }\n return this;\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../src/actions/submit/collab-stage.ts"],"names":["SubmitAction","SubmitActionData","InvokeSubmitActionData","CollabStageInvokeDataValue"],"mappings":";;;;AAgCO,MAAM,0BACHA,iBAAA,CAEV;AAAA;AAAA;AAAA;AAAA,EAIE,IAAA;AAAA,EAEA,WAAA,CAAY,GAAA,EAAgB,OAAA,GAA+B,EAAC,EAAG;AAC7D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAA,GAAO,IAAIC,qBAAA,CAAiB;AAAA,MAC/B,SAAS,IAAIC,2BAAA;AAAA,QACX,MAAM,IAAIC,+BAAA,CAA2B,EAAE,OAAA,EAAS,GAAA,EAAK,CAAA,GAAI;AAAA;AAC3D,KACD,CAAA;AAAA,EACH;AAAA,EAEA,OAAO,KAAK,OAAA,EAAsD;AAChE,IAAA,MAAM,OAAA,GAAU,QAAQ,IAAA,CAAK,OAAA;AAC7B,IAAA,MAAM,QAAQ,OAAA,EAAS,KAAA;AACvB,IAAA,OAAO,IAAI,iBAAA,CAAkB,KAAA,EAAO,OAAA,EAAS,OAAO,CAAA;AAAA,EACtD;AAAA,EAEA,SAAS,KAAA,EAAsC;AAC7C,IAAA,KAAA,CAAM,SAAS,IAAIF,qBAAA,CAAiB,EAAE,OAAA,EAAS,KAAA,EAAO,CAAC,CAAA;AACvD,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAuB;AAC/B,IAAA,MAAM,OAAA,GAAU,KAAK,IAAA,CAAK,OAAA;AAC1B,IAAA,IAAI,OAAA,EAAS;AACX,MAAA,OAAA,CAAQ,QAAQ,IAAIE,+BAAA,CAA2B,EAAE,OAAA,EAAS,OAAO,CAAA;AAAA,IACnE;AACA,IAAA,OAAO,IAAA;AAAA,EACT;AACF","file":"collab-stage.js","sourcesContent":["import type {\n ICollabStageInvokeDataValue,\n IInvokeSubmitActionData,\n ISubmitAction,\n ISubmitActionData,\n ITabInfo,\n SubmitActionOptions,\n} from '../../core';\nimport {\n CollabStageInvokeDataValue,\n InvokeSubmitActionData,\n SubmitAction,\n SubmitActionData,\n} from '../../core';\n\nexport type CollabStageActionOptions = SubmitActionOptions & {\n data: ISubmitActionData;\n};\n\n/**\n * Adaptive Card action response type for the {@link CollabStageAction} function.\n */\nexport interface ICollabStageAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially 'hidden' properties.\n */\n data: ISubmitActionData;\n}\n\n/**\n * Adaptive Card action that opens a collab stage popout window.\n */\nexport class CollabStageAction\n extends SubmitAction\n implements ICollabStageAction\n{\n /**\n * Initial data that input fields will be combined with. These are essentially 'hidden' properties.\n */\n data: ISubmitActionData;\n\n constructor(tab?: ITabInfo, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = new SubmitActionData({\n msteams: new InvokeSubmitActionData(\n tab ? new CollabStageInvokeDataValue({ tabInfo: tab }) : undefined,\n ),\n });\n }\n\n static from(options: CollabStageActionOptions): CollabStageAction {\n const msteams = options.data.msteams as IInvokeSubmitActionData | undefined;\n const value = msteams?.value as ICollabStageInvokeDataValue | undefined;\n return new CollabStageAction(value?.tabInfo, options);\n }\n\n withData(value: IInvokeSubmitActionData): this {\n super.withData(new SubmitActionData({ msteams: value }));\n return this;\n }\n\n withValue(value: ITabInfo): this {\n const msteams = this.data.msteams as IInvokeSubmitActionData | undefined;\n if (msteams) {\n msteams.value = new CollabStageInvokeDataValue({ tabInfo: value });\n }\n return this;\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { SubmitAction, SubmitActionData, InvokeSubmitActionData, CollabStageInvokeDataValue } from '../../core';
1
+ import { SubmitAction, SubmitActionData, InvokeSubmitActionData, CollabStageInvokeDataValue } from '../../core.mjs';
2
2
 
3
3
  class CollabStageAction extends SubmitAction {
4
4
  /**
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/actions/submit/collab-stage.ts"],"names":[],"mappings":";;AA8BO,MAAM,0BAA0B,YAAA,CAA2C;AAAA;AAAA;AAAA;AAAA,EAIhF,IAAA;AAAA,EAEA,WAAA,CAAY,GAAA,EAAgB,OAAA,GAA+B,EAAC,EAAG;AAC7D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAA,GAAO,IAAI,gBAAA,CAAiB;AAAA,MAC/B,SAAS,IAAI,sBAAA;AAAA,QACX,MACI,IAAI,0BAAA,CAA2B,EAAE,OAAA,EAAS,GAAA,EAAK,CAAA,GAC/C;AAAA;AACN,KACD,CAAA;AAAA,EACH;AAAA,EAEA,OAAO,KAAK,OAAA,EAAmC;AAC7C,IAAA,MAAM,OAAA,GAAU,QAAQ,IAAA,CAAK,OAAA;AAC7B,IAAA,MAAM,QAAQ,OAAA,EAAS,KAAA;AACvB,IAAA,OAAO,IAAI,iBAAA,CAAkB,KAAA,EAAO,OAAA,EAAS,OAAO,CAAA;AAAA,EACtD;AAAA,EAEA,SAAS,KAAA,EAAgC;AACvC,IAAA,KAAA,CAAM,SAAS,IAAI,gBAAA,CAAiB,EAAE,OAAA,EAAS,KAAA,EAAO,CAAC,CAAA;AACvD,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAiB;AACzB,IAAA,MAAM,OAAA,GAAU,KAAK,IAAA,CAAK,OAAA;AAC1B,IAAA,IAAI,OAAA,EAAS;AACX,MAAA,OAAA,CAAQ,QAAQ,IAAI,0BAAA,CAA2B,EAAE,OAAA,EAAS,OAAO,CAAA;AAAA,IACnE;AACA,IAAA,OAAO,IAAA;AAAA,EACT;AACF","file":"collab-stage.mjs","sourcesContent":["import {\n CollabStageInvokeDataValue,\n ICollabStageInvokeDataValue,\n IInvokeSubmitActionData,\n InvokeSubmitActionData,\n ISubmitAction,\n ISubmitActionData,\n ITabInfo,\n SubmitAction,\n SubmitActionData,\n SubmitActionOptions,\n} from '../../core';\n\nexport type CollabStageActionOptions = SubmitActionOptions & {\n data: ISubmitActionData;\n};\n\n/**\n * Adaptive Card action response type for the {@link CollabStageAction} function.\n */\nexport interface ICollabStageAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially 'hidden' properties.\n */\n data: ISubmitActionData;\n}\n\n/**\n * Adaptive Card action that opens a collab stage popout window.\n */\nexport class CollabStageAction extends SubmitAction implements ICollabStageAction {\n /**\n * Initial data that input fields will be combined with. These are essentially 'hidden' properties.\n */\n data: ISubmitActionData;\n\n constructor(tab?: ITabInfo, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = new SubmitActionData({\n msteams: new InvokeSubmitActionData(\n tab\n ? new CollabStageInvokeDataValue({ tabInfo: tab })\n : undefined,\n ),\n });\n }\n\n static from(options: CollabStageActionOptions) {\n const msteams = options.data.msteams as IInvokeSubmitActionData | undefined;\n const value = msteams?.value as ICollabStageInvokeDataValue | undefined;\n return new CollabStageAction(value?.tabInfo, options);\n }\n\n withData(value: IInvokeSubmitActionData) {\n super.withData(new SubmitActionData({ msteams: value }));\n return this;\n }\n\n withValue(value: ITabInfo) {\n const msteams = this.data.msteams as IInvokeSubmitActionData | undefined;\n if (msteams) {\n msteams.value = new CollabStageInvokeDataValue({ tabInfo: value });\n }\n return this;\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../src/actions/submit/collab-stage.ts"],"names":[],"mappings":";;AAgCO,MAAM,0BACH,YAAA,CAEV;AAAA;AAAA;AAAA;AAAA,EAIE,IAAA;AAAA,EAEA,WAAA,CAAY,GAAA,EAAgB,OAAA,GAA+B,EAAC,EAAG;AAC7D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAA,GAAO,IAAI,gBAAA,CAAiB;AAAA,MAC/B,SAAS,IAAI,sBAAA;AAAA,QACX,MAAM,IAAI,0BAAA,CAA2B,EAAE,OAAA,EAAS,GAAA,EAAK,CAAA,GAAI;AAAA;AAC3D,KACD,CAAA;AAAA,EACH;AAAA,EAEA,OAAO,KAAK,OAAA,EAAsD;AAChE,IAAA,MAAM,OAAA,GAAU,QAAQ,IAAA,CAAK,OAAA;AAC7B,IAAA,MAAM,QAAQ,OAAA,EAAS,KAAA;AACvB,IAAA,OAAO,IAAI,iBAAA,CAAkB,KAAA,EAAO,OAAA,EAAS,OAAO,CAAA;AAAA,EACtD;AAAA,EAEA,SAAS,KAAA,EAAsC;AAC7C,IAAA,KAAA,CAAM,SAAS,IAAI,gBAAA,CAAiB,EAAE,OAAA,EAAS,KAAA,EAAO,CAAC,CAAA;AACvD,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAuB;AAC/B,IAAA,MAAM,OAAA,GAAU,KAAK,IAAA,CAAK,OAAA;AAC1B,IAAA,IAAI,OAAA,EAAS;AACX,MAAA,OAAA,CAAQ,QAAQ,IAAI,0BAAA,CAA2B,EAAE,OAAA,EAAS,OAAO,CAAA;AAAA,IACnE;AACA,IAAA,OAAO,IAAA;AAAA,EACT;AACF","file":"collab-stage.mjs","sourcesContent":["import type {\n ICollabStageInvokeDataValue,\n IInvokeSubmitActionData,\n ISubmitAction,\n ISubmitActionData,\n ITabInfo,\n SubmitActionOptions,\n} from '../../core';\nimport {\n CollabStageInvokeDataValue,\n InvokeSubmitActionData,\n SubmitAction,\n SubmitActionData,\n} from '../../core';\n\nexport type CollabStageActionOptions = SubmitActionOptions & {\n data: ISubmitActionData;\n};\n\n/**\n * Adaptive Card action response type for the {@link CollabStageAction} function.\n */\nexport interface ICollabStageAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially 'hidden' properties.\n */\n data: ISubmitActionData;\n}\n\n/**\n * Adaptive Card action that opens a collab stage popout window.\n */\nexport class CollabStageAction\n extends SubmitAction\n implements ICollabStageAction\n{\n /**\n * Initial data that input fields will be combined with. These are essentially 'hidden' properties.\n */\n data: ISubmitActionData;\n\n constructor(tab?: ITabInfo, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = new SubmitActionData({\n msteams: new InvokeSubmitActionData(\n tab ? new CollabStageInvokeDataValue({ tabInfo: tab }) : undefined,\n ),\n });\n }\n\n static from(options: CollabStageActionOptions): CollabStageAction {\n const msteams = options.data.msteams as IInvokeSubmitActionData | undefined;\n const value = msteams?.value as ICollabStageInvokeDataValue | undefined;\n return new CollabStageAction(value?.tabInfo, options);\n }\n\n withData(value: IInvokeSubmitActionData): this {\n super.withData(new SubmitActionData({ msteams: value }));\n return this;\n }\n\n withValue(value: ITabInfo): this {\n const msteams = this.data.msteams as IInvokeSubmitActionData | undefined;\n if (msteams) {\n msteams.value = new CollabStageInvokeDataValue({ tabInfo: value });\n }\n return this;\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/actions/submit/im-back.ts"],"names":["SubmitAction"],"mappings":";;;;AAmBO,MAAM,qBAAqBA,iBAAA,CAAsC;AAAA;AAAA;AAAA;AAAA,EAItE,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAAe,OAAA,GAA+B,EAAC,EAAG;AAC5D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,OAAO,EAAE,OAAA,EAAS,IAAI,UAAA,CAAW,KAAK,CAAA,EAAE;AAAA,EAC/C;AAAA,EAEA,OAAO,KAAK,OAAA,EAA8B;AACxC,IAAA,OAAO,IAAI,YAAA,CAAa,OAAA,CAAQ,IAAA,CAAK,OAAA,CAAQ,OAAO,OAAO,CAAA;AAAA,EAC7D;AAAA,EAEA,SAAS,KAAA,EAAoB;AAC3B,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAe;AACvB,IAAA,IAAA,CAAK,IAAA,CAAK,QAAQ,KAAA,GAAQ,KAAA;AAC1B,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAiBO,MAAM,UAAA,CAAkC;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAAA,EAAe;AACzB,IAAA,IAAA,CAAK,IAAA,GAAO,QAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AAAA,EACf;AACF","file":"im-back.js","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type IMBackActionOptions = SubmitActionOptions & { data: MSTeamsData<IIMBackData> };\n\n/**\n * @deprecated This type is deprecated. Please use {@link IImBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IIMBackAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IIMBackData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link ImBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class IMBackAction extends SubmitAction implements IIMBackAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IIMBackData>;\n\n constructor(value: string, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = { msteams: new IMBackData(value) };\n }\n\n static from(options: IMBackActionOptions) {\n return new IMBackAction(options.data.msteams.value, options);\n }\n\n withData(value: IIMBackData) {\n super.withData({ msteams: value });\n return this;\n }\n\n withValue(value: string) {\n this.data.msteams.value = value;\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link IImBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IIMBackData {\n type: 'imBack';\n\n /**\n * String that needs to be echoed back in the chat.\n */\n value: string;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link ImBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class IMBackData implements IIMBackData {\n type: 'imBack';\n\n /**\n * String that needs to be echoed back in the chat.\n */\n value: string;\n\n constructor(value: string) {\n this.type = 'imBack';\n this.value = value;\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../src/actions/submit/im-back.ts"],"names":["SubmitAction"],"mappings":";;;;AAsBO,MAAM,qBAAqBA,iBAAA,CAAsC;AAAA;AAAA;AAAA;AAAA,EAItE,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAAe,OAAA,GAA+B,EAAC,EAAG;AAC5D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,OAAO,EAAE,OAAA,EAAS,IAAI,UAAA,CAAW,KAAK,CAAA,EAAE;AAAA,EAC/C;AAAA,EAEA,OAAO,KAAK,OAAA,EAA4C;AACtD,IAAA,OAAO,IAAI,YAAA,CAAa,OAAA,CAAQ,IAAA,CAAK,OAAA,CAAQ,OAAO,OAAO,CAAA;AAAA,EAC7D;AAAA,EAEA,SAAS,KAAA,EAA0B;AACjC,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAqB;AAC7B,IAAA,IAAA,CAAK,IAAA,CAAK,QAAQ,KAAA,GAAQ,KAAA;AAC1B,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAiBO,MAAM,UAAA,CAAkC;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAAA,EAAe;AACzB,IAAA,IAAA,CAAK,IAAA,GAAO,QAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AAAA,EACf;AACF","file":"im-back.js","sourcesContent":["import type { ISubmitAction, SubmitActionOptions } from '../../core';\nimport { SubmitAction } from '../../core';\n\nimport type { MSTeamsData } from './ms-teams-data';\n\nexport type IMBackActionOptions = SubmitActionOptions & {\n data: MSTeamsData<IIMBackData>;\n};\n\n/**\n * @deprecated This type is deprecated. Please use {@link IImBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IIMBackAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IIMBackData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link ImBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class IMBackAction extends SubmitAction implements IIMBackAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IIMBackData>;\n\n constructor(value: string, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = { msteams: new IMBackData(value) };\n }\n\n static from(options: IMBackActionOptions): IMBackAction {\n return new IMBackAction(options.data.msteams.value, options);\n }\n\n withData(value: IIMBackData): this {\n super.withData({ msteams: value });\n return this;\n }\n\n withValue(value: string): this {\n this.data.msteams.value = value;\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link IImBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IIMBackData {\n type: 'imBack';\n\n /**\n * String that needs to be echoed back in the chat.\n */\n value: string;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link ImBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class IMBackData implements IIMBackData {\n type: 'imBack';\n\n /**\n * String that needs to be echoed back in the chat.\n */\n value: string;\n\n constructor(value: string) {\n this.type = 'imBack';\n this.value = value;\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { SubmitAction } from '../../core';
1
+ import { SubmitAction } from '../../core.mjs';
2
2
 
3
3
  class IMBackAction extends SubmitAction {
4
4
  /**
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/actions/submit/im-back.ts"],"names":[],"mappings":";;AAmBO,MAAM,qBAAqB,YAAA,CAAsC;AAAA;AAAA;AAAA;AAAA,EAItE,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAAe,OAAA,GAA+B,EAAC,EAAG;AAC5D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,OAAO,EAAE,OAAA,EAAS,IAAI,UAAA,CAAW,KAAK,CAAA,EAAE;AAAA,EAC/C;AAAA,EAEA,OAAO,KAAK,OAAA,EAA8B;AACxC,IAAA,OAAO,IAAI,YAAA,CAAa,OAAA,CAAQ,IAAA,CAAK,OAAA,CAAQ,OAAO,OAAO,CAAA;AAAA,EAC7D;AAAA,EAEA,SAAS,KAAA,EAAoB;AAC3B,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAe;AACvB,IAAA,IAAA,CAAK,IAAA,CAAK,QAAQ,KAAA,GAAQ,KAAA;AAC1B,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAiBO,MAAM,UAAA,CAAkC;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAAA,EAAe;AACzB,IAAA,IAAA,CAAK,IAAA,GAAO,QAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AAAA,EACf;AACF","file":"im-back.mjs","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type IMBackActionOptions = SubmitActionOptions & { data: MSTeamsData<IIMBackData> };\n\n/**\n * @deprecated This type is deprecated. Please use {@link IImBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IIMBackAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IIMBackData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link ImBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class IMBackAction extends SubmitAction implements IIMBackAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IIMBackData>;\n\n constructor(value: string, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = { msteams: new IMBackData(value) };\n }\n\n static from(options: IMBackActionOptions) {\n return new IMBackAction(options.data.msteams.value, options);\n }\n\n withData(value: IIMBackData) {\n super.withData({ msteams: value });\n return this;\n }\n\n withValue(value: string) {\n this.data.msteams.value = value;\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link IImBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IIMBackData {\n type: 'imBack';\n\n /**\n * String that needs to be echoed back in the chat.\n */\n value: string;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link ImBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class IMBackData implements IIMBackData {\n type: 'imBack';\n\n /**\n * String that needs to be echoed back in the chat.\n */\n value: string;\n\n constructor(value: string) {\n this.type = 'imBack';\n this.value = value;\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../src/actions/submit/im-back.ts"],"names":[],"mappings":";;AAsBO,MAAM,qBAAqB,YAAA,CAAsC;AAAA;AAAA;AAAA;AAAA,EAItE,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAAe,OAAA,GAA+B,EAAC,EAAG;AAC5D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,OAAO,EAAE,OAAA,EAAS,IAAI,UAAA,CAAW,KAAK,CAAA,EAAE;AAAA,EAC/C;AAAA,EAEA,OAAO,KAAK,OAAA,EAA4C;AACtD,IAAA,OAAO,IAAI,YAAA,CAAa,OAAA,CAAQ,IAAA,CAAK,OAAA,CAAQ,OAAO,OAAO,CAAA;AAAA,EAC7D;AAAA,EAEA,SAAS,KAAA,EAA0B;AACjC,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAqB;AAC7B,IAAA,IAAA,CAAK,IAAA,CAAK,QAAQ,KAAA,GAAQ,KAAA;AAC1B,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAiBO,MAAM,UAAA,CAAkC;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAAA,EAAe;AACzB,IAAA,IAAA,CAAK,IAAA,GAAO,QAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AAAA,EACf;AACF","file":"im-back.mjs","sourcesContent":["import type { ISubmitAction, SubmitActionOptions } from '../../core';\nimport { SubmitAction } from '../../core';\n\nimport type { MSTeamsData } from './ms-teams-data';\n\nexport type IMBackActionOptions = SubmitActionOptions & {\n data: MSTeamsData<IIMBackData>;\n};\n\n/**\n * @deprecated This type is deprecated. Please use {@link IImBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IIMBackAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IIMBackData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link ImBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class IMBackAction extends SubmitAction implements IIMBackAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IIMBackData>;\n\n constructor(value: string, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = { msteams: new IMBackData(value) };\n }\n\n static from(options: IMBackActionOptions): IMBackAction {\n return new IMBackAction(options.data.msteams.value, options);\n }\n\n withData(value: IIMBackData): this {\n super.withData({ msteams: value });\n return this;\n }\n\n withValue(value: string): this {\n this.data.msteams.value = value;\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link IImBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IIMBackData {\n type: 'imBack';\n\n /**\n * String that needs to be echoed back in the chat.\n */\n value: string;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link ImBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class IMBackData implements IIMBackData {\n type: 'imBack';\n\n /**\n * String that needs to be echoed back in the chat.\n */\n value: string;\n\n constructor(value: string) {\n this.type = 'imBack';\n this.value = value;\n }\n}\n"]}
@@ -1,8 +1,8 @@
1
- export * from './im-back';
2
- export * from './invoke';
3
- export * from './message-back';
4
- export * from './sign-in';
5
- export * from './task-fetch';
6
- export * from './collab-stage';
1
+ export * from './im-back.mjs';
2
+ export * from './invoke.mjs';
3
+ export * from './message-back.mjs';
4
+ export * from './sign-in.mjs';
5
+ export * from './task-fetch.mjs';
6
+ export * from './collab-stage.mjs';
7
7
  //# sourceMappingURL=index.mjs.map
8
8
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/actions/submit/invoke.ts"],"names":["SubmitAction"],"mappings":";;;;AAmBO,MAAM,qBAAqBA,iBAAA,CAAsC;AAAA;AAAA;AAAA;AAAA,EAItE,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAAa,OAAA,GAA+B,EAAC,EAAG;AAC1D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,OAAO,EAAE,OAAA,EAAS,IAAI,UAAA,CAAW,KAAK,CAAA,EAAE;AAAA,EAC/C;AAAA,EAEA,OAAO,KAAK,OAAA,EAA8B;AACxC,IAAA,OAAO,IAAI,YAAA,CAAa,OAAA,CAAQ,IAAA,CAAK,OAAA,CAAQ,OAAO,OAAO,CAAA;AAAA,EAC7D;AAAA,EAEA,SAAS,KAAA,EAAoB;AAC3B,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAY;AACpB,IAAA,IAAA,CAAK,IAAA,CAAK,QAAQ,KAAA,GAAQ,KAAA;AAC1B,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAiBO,MAAM,UAAA,CAAkC;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAAA,EAAa;AACvB,IAAA,IAAA,CAAK,IAAA,GAAO,QAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AAAA,EACf;AACF","file":"invoke.js","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type InvokeActionOptions = SubmitActionOptions & { data: MSTeamsData<IInvokeData> };\n\n/**\n * @deprecated This type is deprecated. Please use {@link IInvokeSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IInvokeAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IInvokeData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link InvokeSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class InvokeAction extends SubmitAction implements IInvokeAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IInvokeData>;\n\n constructor(value?: any, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = { msteams: new InvokeData(value) };\n }\n\n static from(options: InvokeActionOptions) {\n return new InvokeAction(options.data.msteams.value, options);\n }\n\n withData(value: IInvokeData) {\n super.withData({ msteams: value });\n return this;\n }\n\n withValue(value: any) {\n this.data.msteams.value = value;\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link IInvokeSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IInvokeData {\n type: 'invoke';\n\n /**\n * Set the value to send with the invoke\n */\n value?: any;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link InvokeSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class InvokeData implements IInvokeData {\n type: 'invoke';\n\n /**\n * Set the value to send with the invoke\n */\n value?: any;\n\n constructor(value?: any) {\n this.type = 'invoke';\n this.value = value;\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../src/actions/submit/invoke.ts"],"names":["SubmitAction"],"mappings":";;;;AAsBO,MAAM,qBAAqBA,iBAAA,CAAsC;AAAA;AAAA;AAAA;AAAA,EAItE,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAAa,OAAA,GAA+B,EAAC,EAAG;AAC1D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,OAAO,EAAE,OAAA,EAAS,IAAI,UAAA,CAAW,KAAK,CAAA,EAAE;AAAA,EAC/C;AAAA,EAEA,OAAO,KAAK,OAAA,EAA4C;AACtD,IAAA,OAAO,IAAI,YAAA,CAAa,OAAA,CAAQ,IAAA,CAAK,OAAA,CAAQ,OAAO,OAAO,CAAA;AAAA,EAC7D;AAAA,EAEA,SAAS,KAAA,EAA0B;AACjC,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAkB;AAC1B,IAAA,IAAA,CAAK,IAAA,CAAK,QAAQ,KAAA,GAAQ,KAAA;AAC1B,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAiBO,MAAM,UAAA,CAAkC;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAAA,EAAa;AACvB,IAAA,IAAA,CAAK,IAAA,GAAO,QAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AAAA,EACf;AACF","file":"invoke.js","sourcesContent":["import type { ISubmitAction, SubmitActionOptions } from '../../core';\nimport { SubmitAction } from '../../core';\n\nimport type { MSTeamsData } from './ms-teams-data';\n\nexport type InvokeActionOptions = SubmitActionOptions & {\n data: MSTeamsData<IInvokeData>;\n};\n\n/**\n * @deprecated This type is deprecated. Please use {@link IInvokeSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IInvokeAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IInvokeData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link InvokeSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class InvokeAction extends SubmitAction implements IInvokeAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IInvokeData>;\n\n constructor(value?: any, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = { msteams: new InvokeData(value) };\n }\n\n static from(options: InvokeActionOptions): InvokeAction {\n return new InvokeAction(options.data.msteams.value, options);\n }\n\n withData(value: IInvokeData): this {\n super.withData({ msteams: value });\n return this;\n }\n\n withValue(value: any): this {\n this.data.msteams.value = value;\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link IInvokeSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IInvokeData {\n type: 'invoke';\n\n /**\n * Set the value to send with the invoke\n */\n value?: any;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link InvokeSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class InvokeData implements IInvokeData {\n type: 'invoke';\n\n /**\n * Set the value to send with the invoke\n */\n value?: any;\n\n constructor(value?: any) {\n this.type = 'invoke';\n this.value = value;\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { SubmitAction } from '../../core';
1
+ import { SubmitAction } from '../../core.mjs';
2
2
 
3
3
  class InvokeAction extends SubmitAction {
4
4
  /**
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/actions/submit/invoke.ts"],"names":[],"mappings":";;AAmBO,MAAM,qBAAqB,YAAA,CAAsC;AAAA;AAAA;AAAA;AAAA,EAItE,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAAa,OAAA,GAA+B,EAAC,EAAG;AAC1D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,OAAO,EAAE,OAAA,EAAS,IAAI,UAAA,CAAW,KAAK,CAAA,EAAE;AAAA,EAC/C;AAAA,EAEA,OAAO,KAAK,OAAA,EAA8B;AACxC,IAAA,OAAO,IAAI,YAAA,CAAa,OAAA,CAAQ,IAAA,CAAK,OAAA,CAAQ,OAAO,OAAO,CAAA;AAAA,EAC7D;AAAA,EAEA,SAAS,KAAA,EAAoB;AAC3B,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAY;AACpB,IAAA,IAAA,CAAK,IAAA,CAAK,QAAQ,KAAA,GAAQ,KAAA;AAC1B,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAiBO,MAAM,UAAA,CAAkC;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAAA,EAAa;AACvB,IAAA,IAAA,CAAK,IAAA,GAAO,QAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AAAA,EACf;AACF","file":"invoke.mjs","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type InvokeActionOptions = SubmitActionOptions & { data: MSTeamsData<IInvokeData> };\n\n/**\n * @deprecated This type is deprecated. Please use {@link IInvokeSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IInvokeAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IInvokeData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link InvokeSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class InvokeAction extends SubmitAction implements IInvokeAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IInvokeData>;\n\n constructor(value?: any, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = { msteams: new InvokeData(value) };\n }\n\n static from(options: InvokeActionOptions) {\n return new InvokeAction(options.data.msteams.value, options);\n }\n\n withData(value: IInvokeData) {\n super.withData({ msteams: value });\n return this;\n }\n\n withValue(value: any) {\n this.data.msteams.value = value;\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link IInvokeSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IInvokeData {\n type: 'invoke';\n\n /**\n * Set the value to send with the invoke\n */\n value?: any;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link InvokeSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class InvokeData implements IInvokeData {\n type: 'invoke';\n\n /**\n * Set the value to send with the invoke\n */\n value?: any;\n\n constructor(value?: any) {\n this.type = 'invoke';\n this.value = value;\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../src/actions/submit/invoke.ts"],"names":[],"mappings":";;AAsBO,MAAM,qBAAqB,YAAA,CAAsC;AAAA;AAAA;AAAA;AAAA,EAItE,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAAa,OAAA,GAA+B,EAAC,EAAG;AAC1D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,OAAO,EAAE,OAAA,EAAS,IAAI,UAAA,CAAW,KAAK,CAAA,EAAE;AAAA,EAC/C;AAAA,EAEA,OAAO,KAAK,OAAA,EAA4C;AACtD,IAAA,OAAO,IAAI,YAAA,CAAa,OAAA,CAAQ,IAAA,CAAK,OAAA,CAAQ,OAAO,OAAO,CAAA;AAAA,EAC7D;AAAA,EAEA,SAAS,KAAA,EAA0B;AACjC,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAkB;AAC1B,IAAA,IAAA,CAAK,IAAA,CAAK,QAAQ,KAAA,GAAQ,KAAA;AAC1B,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAiBO,MAAM,UAAA,CAAkC;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAAA,EAAa;AACvB,IAAA,IAAA,CAAK,IAAA,GAAO,QAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AAAA,EACf;AACF","file":"invoke.mjs","sourcesContent":["import type { ISubmitAction, SubmitActionOptions } from '../../core';\nimport { SubmitAction } from '../../core';\n\nimport type { MSTeamsData } from './ms-teams-data';\n\nexport type InvokeActionOptions = SubmitActionOptions & {\n data: MSTeamsData<IInvokeData>;\n};\n\n/**\n * @deprecated This type is deprecated. Please use {@link IInvokeSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IInvokeAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IInvokeData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link InvokeSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class InvokeAction extends SubmitAction implements IInvokeAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IInvokeData>;\n\n constructor(value?: any, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = { msteams: new InvokeData(value) };\n }\n\n static from(options: InvokeActionOptions): InvokeAction {\n return new InvokeAction(options.data.msteams.value, options);\n }\n\n withData(value: IInvokeData): this {\n super.withData({ msteams: value });\n return this;\n }\n\n withValue(value: any): this {\n this.data.msteams.value = value;\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link IInvokeSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IInvokeData {\n type: 'invoke';\n\n /**\n * Set the value to send with the invoke\n */\n value?: any;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link InvokeSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class InvokeData implements IInvokeData {\n type: 'invoke';\n\n /**\n * Set the value to send with the invoke\n */\n value?: any;\n\n constructor(value?: any) {\n this.type = 'invoke';\n this.value = value;\n }\n}\n"]}
@@ -65,7 +65,7 @@ declare class MessageBackData implements IMessageBackData {
65
65
  */
66
66
  value: string;
67
67
  constructor(text: string, value: string, displayText?: string);
68
- withDisplayText(value: string): this;
68
+ withDisplayText(value: string): MessageBackData;
69
69
  }
70
70
 
71
71
  export { type IMessageBackAction, type IMessageBackData, MessageBackAction, type MessageBackActionOptions, MessageBackData };
@@ -65,7 +65,7 @@ declare class MessageBackData implements IMessageBackData {
65
65
  */
66
66
  value: string;
67
67
  constructor(text: string, value: string, displayText?: string);
68
- withDisplayText(value: string): this;
68
+ withDisplayText(value: string): MessageBackData;
69
69
  }
70
70
 
71
71
  export { type IMessageBackAction, type IMessageBackData, MessageBackAction, type MessageBackActionOptions, MessageBackData };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/actions/submit/message-back.ts"],"names":["SubmitAction"],"mappings":";;;;AAqBO,MAAM,0BAA0BA,iBAAA,CAA2C;AAAA;AAAA;AAAA;AAAA,EAIhF,IAAA;AAAA,EAEA,WAAA,CAAY,IAAA,EAAwB,OAAA,GAA+B,EAAC,EAAG;AACrE,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAA,GAAO;AAAA,MACV,OAAA,EAAS,IAAI,eAAA,CAAgB,IAAA,CAAK,MAAM,IAAA,CAAK,KAAA,EAAO,KAAK,WAAW;AAAA,KACtE;AAAA,EACF;AAAA,EAEA,OAAO,KAAK,OAAA,EAAmC;AAC7C,IAAA,OAAO,IAAI,iBAAA,CAAkB,OAAA,CAAQ,IAAA,CAAK,SAAS,OAAO,CAAA;AAAA,EAC5D;AAAA,EAEA,SAAS,KAAA,EAAyB;AAChC,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AA6BO,MAAM,eAAA,CAA4C;AAAA,EACvD,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,KAAA;AAAA,EAEA,WAAA,CAAY,IAAA,EAAc,KAAA,EAAe,WAAA,EAAsB;AAC7D,IAAA,IAAA,CAAK,IAAA,GAAO,aAAA;AACZ,IAAA,IAAA,CAAK,IAAA,GAAO,IAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AACb,IAAA,IAAA,CAAK,WAAA,GAAc,WAAA;AAAA,EACrB;AAAA,EAEA,gBAAgB,KAAA,EAAe;AAC7B,IAAA,IAAA,CAAK,WAAA,GAAc,KAAA;AACnB,IAAA,OAAO,IAAA;AAAA,EACT;AACF","file":"message-back.js","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type MessageBackActionOptions = SubmitActionOptions & {\n data: MSTeamsData<IMessageBackData>;\n};\n\n/**\n * @deprecated This type is deprecated. Please use {@link IMessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IMessageBackAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IMessageBackData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link MessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class MessageBackAction extends SubmitAction implements IMessageBackAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IMessageBackData>;\n\n constructor(data: IMessageBackData, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = {\n msteams: new MessageBackData(data.text, data.value, data.displayText),\n };\n }\n\n static from(options: MessageBackActionOptions) {\n return new MessageBackAction(options.data.msteams, options);\n }\n\n withData(value: IMessageBackData) {\n super.withData({ msteams: value });\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link IMessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IMessageBackData {\n type: 'messageBack';\n\n /**\n * Sent to your bot when the action is performed.\n */\n text: string;\n\n /**\n * Used by the user in the chat stream when the action is performed.\n * This text isn't sent to your bot.\n */\n displayText?: string;\n\n /**\n * Sent to your bot when the action is performed. You can encode context\n * for the action, such as unique identifiers or a `JSON` object.\n */\n value: string;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link MessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class MessageBackData implements IMessageBackData {\n type: 'messageBack';\n\n /**\n * Sent to your bot when the action is performed.\n */\n text: string;\n\n /**\n * Used by the user in the chat stream when the action is performed.\n * This text isn't sent to your bot.\n */\n displayText?: string;\n\n /**\n * Sent to your bot when the action is performed. You can encode context\n * for the action, such as unique identifiers or a `JSON` object.\n */\n value: string;\n\n constructor(text: string, value: string, displayText?: string) {\n this.type = 'messageBack';\n this.text = text;\n this.value = value;\n this.displayText = displayText;\n }\n\n withDisplayText(value: string) {\n this.displayText = value;\n return this;\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../src/actions/submit/message-back.ts"],"names":["SubmitAction"],"mappings":";;;;AAsBO,MAAM,0BACHA,iBAAA,CAEV;AAAA;AAAA;AAAA;AAAA,EAIE,IAAA;AAAA,EAEA,WAAA,CAAY,IAAA,EAAwB,OAAA,GAA+B,EAAC,EAAG;AACrE,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAA,GAAO;AAAA,MACV,OAAA,EAAS,IAAI,eAAA,CAAgB,IAAA,CAAK,MAAM,IAAA,CAAK,KAAA,EAAO,KAAK,WAAW;AAAA,KACtE;AAAA,EACF;AAAA,EAEA,OAAO,KAAK,OAAA,EAAsD;AAChE,IAAA,OAAO,IAAI,iBAAA,CAAkB,OAAA,CAAQ,IAAA,CAAK,SAAS,OAAO,CAAA;AAAA,EAC5D;AAAA,EAEA,SAAS,KAAA,EAA+B;AACtC,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AA6BO,MAAM,eAAA,CAA4C;AAAA,EACvD,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,KAAA;AAAA,EAEA,WAAA,CAAY,IAAA,EAAc,KAAA,EAAe,WAAA,EAAsB;AAC7D,IAAA,IAAA,CAAK,IAAA,GAAO,aAAA;AACZ,IAAA,IAAA,CAAK,IAAA,GAAO,IAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AACb,IAAA,IAAA,CAAK,WAAA,GAAc,WAAA;AAAA,EACrB;AAAA,EAEA,gBAAgB,KAAA,EAAgC;AAC9C,IAAA,IAAA,CAAK,WAAA,GAAc,KAAA;AACnB,IAAA,OAAO,IAAA;AAAA,EACT;AACF","file":"message-back.js","sourcesContent":["import type { ISubmitAction, SubmitActionOptions } from '../../core';\nimport { SubmitAction } from '../../core';\n\nimport type { MSTeamsData } from './ms-teams-data';\n\nexport type MessageBackActionOptions = SubmitActionOptions & {\n data: MSTeamsData<IMessageBackData>;\n};\n\n/**\n * @deprecated This type is deprecated. Please use {@link IMessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IMessageBackAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IMessageBackData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link MessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class MessageBackAction\n extends SubmitAction\n implements IMessageBackAction\n{\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IMessageBackData>;\n\n constructor(data: IMessageBackData, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = {\n msteams: new MessageBackData(data.text, data.value, data.displayText),\n };\n }\n\n static from(options: MessageBackActionOptions): MessageBackAction {\n return new MessageBackAction(options.data.msteams, options);\n }\n\n withData(value: IMessageBackData): this {\n super.withData({ msteams: value });\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link IMessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IMessageBackData {\n type: 'messageBack';\n\n /**\n * Sent to your bot when the action is performed.\n */\n text: string;\n\n /**\n * Used by the user in the chat stream when the action is performed.\n * This text isn't sent to your bot.\n */\n displayText?: string;\n\n /**\n * Sent to your bot when the action is performed. You can encode context\n * for the action, such as unique identifiers or a `JSON` object.\n */\n value: string;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link MessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class MessageBackData implements IMessageBackData {\n type: 'messageBack';\n\n /**\n * Sent to your bot when the action is performed.\n */\n text: string;\n\n /**\n * Used by the user in the chat stream when the action is performed.\n * This text isn't sent to your bot.\n */\n displayText?: string;\n\n /**\n * Sent to your bot when the action is performed. You can encode context\n * for the action, such as unique identifiers or a `JSON` object.\n */\n value: string;\n\n constructor(text: string, value: string, displayText?: string) {\n this.type = 'messageBack';\n this.text = text;\n this.value = value;\n this.displayText = displayText;\n }\n\n withDisplayText(value: string): MessageBackData {\n this.displayText = value;\n return this;\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { SubmitAction } from '../../core';
1
+ import { SubmitAction } from '../../core.mjs';
2
2
 
3
3
  class MessageBackAction extends SubmitAction {
4
4
  /**
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/actions/submit/message-back.ts"],"names":[],"mappings":";;AAqBO,MAAM,0BAA0B,YAAA,CAA2C;AAAA;AAAA;AAAA;AAAA,EAIhF,IAAA;AAAA,EAEA,WAAA,CAAY,IAAA,EAAwB,OAAA,GAA+B,EAAC,EAAG;AACrE,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAA,GAAO;AAAA,MACV,OAAA,EAAS,IAAI,eAAA,CAAgB,IAAA,CAAK,MAAM,IAAA,CAAK,KAAA,EAAO,KAAK,WAAW;AAAA,KACtE;AAAA,EACF;AAAA,EAEA,OAAO,KAAK,OAAA,EAAmC;AAC7C,IAAA,OAAO,IAAI,iBAAA,CAAkB,OAAA,CAAQ,IAAA,CAAK,SAAS,OAAO,CAAA;AAAA,EAC5D;AAAA,EAEA,SAAS,KAAA,EAAyB;AAChC,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AA6BO,MAAM,eAAA,CAA4C;AAAA,EACvD,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,KAAA;AAAA,EAEA,WAAA,CAAY,IAAA,EAAc,KAAA,EAAe,WAAA,EAAsB;AAC7D,IAAA,IAAA,CAAK,IAAA,GAAO,aAAA;AACZ,IAAA,IAAA,CAAK,IAAA,GAAO,IAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AACb,IAAA,IAAA,CAAK,WAAA,GAAc,WAAA;AAAA,EACrB;AAAA,EAEA,gBAAgB,KAAA,EAAe;AAC7B,IAAA,IAAA,CAAK,WAAA,GAAc,KAAA;AACnB,IAAA,OAAO,IAAA;AAAA,EACT;AACF","file":"message-back.mjs","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type MessageBackActionOptions = SubmitActionOptions & {\n data: MSTeamsData<IMessageBackData>;\n};\n\n/**\n * @deprecated This type is deprecated. Please use {@link IMessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IMessageBackAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IMessageBackData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link MessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class MessageBackAction extends SubmitAction implements IMessageBackAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IMessageBackData>;\n\n constructor(data: IMessageBackData, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = {\n msteams: new MessageBackData(data.text, data.value, data.displayText),\n };\n }\n\n static from(options: MessageBackActionOptions) {\n return new MessageBackAction(options.data.msteams, options);\n }\n\n withData(value: IMessageBackData) {\n super.withData({ msteams: value });\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link IMessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IMessageBackData {\n type: 'messageBack';\n\n /**\n * Sent to your bot when the action is performed.\n */\n text: string;\n\n /**\n * Used by the user in the chat stream when the action is performed.\n * This text isn't sent to your bot.\n */\n displayText?: string;\n\n /**\n * Sent to your bot when the action is performed. You can encode context\n * for the action, such as unique identifiers or a `JSON` object.\n */\n value: string;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link MessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class MessageBackData implements IMessageBackData {\n type: 'messageBack';\n\n /**\n * Sent to your bot when the action is performed.\n */\n text: string;\n\n /**\n * Used by the user in the chat stream when the action is performed.\n * This text isn't sent to your bot.\n */\n displayText?: string;\n\n /**\n * Sent to your bot when the action is performed. You can encode context\n * for the action, such as unique identifiers or a `JSON` object.\n */\n value: string;\n\n constructor(text: string, value: string, displayText?: string) {\n this.type = 'messageBack';\n this.text = text;\n this.value = value;\n this.displayText = displayText;\n }\n\n withDisplayText(value: string) {\n this.displayText = value;\n return this;\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../src/actions/submit/message-back.ts"],"names":[],"mappings":";;AAsBO,MAAM,0BACH,YAAA,CAEV;AAAA;AAAA;AAAA;AAAA,EAIE,IAAA;AAAA,EAEA,WAAA,CAAY,IAAA,EAAwB,OAAA,GAA+B,EAAC,EAAG;AACrE,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAA,GAAO;AAAA,MACV,OAAA,EAAS,IAAI,eAAA,CAAgB,IAAA,CAAK,MAAM,IAAA,CAAK,KAAA,EAAO,KAAK,WAAW;AAAA,KACtE;AAAA,EACF;AAAA,EAEA,OAAO,KAAK,OAAA,EAAsD;AAChE,IAAA,OAAO,IAAI,iBAAA,CAAkB,OAAA,CAAQ,IAAA,CAAK,SAAS,OAAO,CAAA;AAAA,EAC5D;AAAA,EAEA,SAAS,KAAA,EAA+B;AACtC,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AA6BO,MAAM,eAAA,CAA4C;AAAA,EACvD,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,KAAA;AAAA,EAEA,WAAA,CAAY,IAAA,EAAc,KAAA,EAAe,WAAA,EAAsB;AAC7D,IAAA,IAAA,CAAK,IAAA,GAAO,aAAA;AACZ,IAAA,IAAA,CAAK,IAAA,GAAO,IAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AACb,IAAA,IAAA,CAAK,WAAA,GAAc,WAAA;AAAA,EACrB;AAAA,EAEA,gBAAgB,KAAA,EAAgC;AAC9C,IAAA,IAAA,CAAK,WAAA,GAAc,KAAA;AACnB,IAAA,OAAO,IAAA;AAAA,EACT;AACF","file":"message-back.mjs","sourcesContent":["import type { ISubmitAction, SubmitActionOptions } from '../../core';\nimport { SubmitAction } from '../../core';\n\nimport type { MSTeamsData } from './ms-teams-data';\n\nexport type MessageBackActionOptions = SubmitActionOptions & {\n data: MSTeamsData<IMessageBackData>;\n};\n\n/**\n * @deprecated This type is deprecated. Please use {@link IMessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IMessageBackAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IMessageBackData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link MessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class MessageBackAction\n extends SubmitAction\n implements IMessageBackAction\n{\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IMessageBackData>;\n\n constructor(data: IMessageBackData, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = {\n msteams: new MessageBackData(data.text, data.value, data.displayText),\n };\n }\n\n static from(options: MessageBackActionOptions): MessageBackAction {\n return new MessageBackAction(options.data.msteams, options);\n }\n\n withData(value: IMessageBackData): this {\n super.withData({ msteams: value });\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link IMessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface IMessageBackData {\n type: 'messageBack';\n\n /**\n * Sent to your bot when the action is performed.\n */\n text: string;\n\n /**\n * Used by the user in the chat stream when the action is performed.\n * This text isn't sent to your bot.\n */\n displayText?: string;\n\n /**\n * Sent to your bot when the action is performed. You can encode context\n * for the action, such as unique identifiers or a `JSON` object.\n */\n value: string;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link MessageBackSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class MessageBackData implements IMessageBackData {\n type: 'messageBack';\n\n /**\n * Sent to your bot when the action is performed.\n */\n text: string;\n\n /**\n * Used by the user in the chat stream when the action is performed.\n * This text isn't sent to your bot.\n */\n displayText?: string;\n\n /**\n * Sent to your bot when the action is performed. You can encode context\n * for the action, such as unique identifiers or a `JSON` object.\n */\n value: string;\n\n constructor(text: string, value: string, displayText?: string) {\n this.type = 'messageBack';\n this.text = text;\n this.value = value;\n this.displayText = displayText;\n }\n\n withDisplayText(value: string): MessageBackData {\n this.displayText = value;\n return this;\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/actions/submit/sign-in.ts"],"names":["SubmitAction"],"mappings":";;;;AAmBO,MAAM,qBAAqBA,iBAAA,CAAsC;AAAA;AAAA;AAAA;AAAA,EAItE,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAAe,OAAA,GAA+B,EAAC,EAAG;AAC5D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,OAAO,EAAE,OAAA,EAAS,IAAI,UAAA,CAAW,KAAK,CAAA,EAAE;AAAA,EAC/C;AAAA,EAEA,OAAO,KAAK,OAAA,EAA8B;AACxC,IAAA,OAAO,IAAI,YAAA,CAAa,OAAA,CAAQ,IAAA,CAAK,OAAA,CAAQ,OAAO,OAAO,CAAA;AAAA,EAC7D;AAAA,EAEA,SAAS,KAAA,EAAoB;AAC3B,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAe;AACvB,IAAA,IAAA,CAAK,IAAA,CAAK,QAAQ,KAAA,GAAQ,KAAA;AAC1B,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAiBO,MAAM,UAAA,CAAkC;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAAA,EAAe;AACzB,IAAA,IAAA,CAAK,IAAA,GAAO,QAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AAAA,EACf;AACF","file":"sign-in.js","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type SignInActionOptions = SubmitActionOptions & { data: MSTeamsData<ISignInData> };\n\n/**\n * @deprecated This type is deprecated. Please use {@link ISigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ISignInAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ISignInData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link SigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class SignInAction extends SubmitAction implements ISignInAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ISignInData>;\n\n constructor(value: string, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = { msteams: new SignInData(value) };\n }\n\n static from(options: SignInActionOptions) {\n return new SignInAction(options.data.msteams.value, options);\n }\n\n withData(value: ISignInData) {\n super.withData({ msteams: value });\n return this;\n }\n\n withValue(value: string) {\n this.data.msteams.value = value;\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link ISigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ISignInData {\n type: 'signin';\n\n /**\n * Set to the `URL` where you want to redirect.\n */\n value: string;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link SigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class SignInData implements ISignInData {\n type: 'signin';\n\n /**\n * Set to the `URL` where you want to redirect.\n */\n value: string;\n\n constructor(value: string) {\n this.type = 'signin';\n this.value = value;\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../src/actions/submit/sign-in.ts"],"names":["SubmitAction"],"mappings":";;;;AAsBO,MAAM,qBAAqBA,iBAAA,CAAsC;AAAA;AAAA;AAAA;AAAA,EAItE,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAAe,OAAA,GAA+B,EAAC,EAAG;AAC5D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,OAAO,EAAE,OAAA,EAAS,IAAI,UAAA,CAAW,KAAK,CAAA,EAAE;AAAA,EAC/C;AAAA,EAEA,OAAO,KAAK,OAAA,EAA4C;AACtD,IAAA,OAAO,IAAI,YAAA,CAAa,OAAA,CAAQ,IAAA,CAAK,OAAA,CAAQ,OAAO,OAAO,CAAA;AAAA,EAC7D;AAAA,EAEA,SAAS,KAAA,EAA0B;AACjC,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAqB;AAC7B,IAAA,IAAA,CAAK,IAAA,CAAK,QAAQ,KAAA,GAAQ,KAAA;AAC1B,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAiBO,MAAM,UAAA,CAAkC;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAAA,EAAe;AACzB,IAAA,IAAA,CAAK,IAAA,GAAO,QAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AAAA,EACf;AACF","file":"sign-in.js","sourcesContent":["import type { ISubmitAction, SubmitActionOptions } from '../../core';\nimport { SubmitAction } from '../../core';\n\nimport type { MSTeamsData } from './ms-teams-data';\n\nexport type SignInActionOptions = SubmitActionOptions & {\n data: MSTeamsData<ISignInData>;\n};\n\n/**\n * @deprecated This type is deprecated. Please use {@link ISigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ISignInAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ISignInData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link SigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class SignInAction extends SubmitAction implements ISignInAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ISignInData>;\n\n constructor(value: string, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = { msteams: new SignInData(value) };\n }\n\n static from(options: SignInActionOptions): SignInAction {\n return new SignInAction(options.data.msteams.value, options);\n }\n\n withData(value: ISignInData): this {\n super.withData({ msteams: value });\n return this;\n }\n\n withValue(value: string): this {\n this.data.msteams.value = value;\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link ISigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ISignInData {\n type: 'signin';\n\n /**\n * Set to the `URL` where you want to redirect.\n */\n value: string;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link SigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class SignInData implements ISignInData {\n type: 'signin';\n\n /**\n * Set to the `URL` where you want to redirect.\n */\n value: string;\n\n constructor(value: string) {\n this.type = 'signin';\n this.value = value;\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { SubmitAction } from '../../core';
1
+ import { SubmitAction } from '../../core.mjs';
2
2
 
3
3
  class SignInAction extends SubmitAction {
4
4
  /**
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/actions/submit/sign-in.ts"],"names":[],"mappings":";;AAmBO,MAAM,qBAAqB,YAAA,CAAsC;AAAA;AAAA;AAAA;AAAA,EAItE,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAAe,OAAA,GAA+B,EAAC,EAAG;AAC5D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,OAAO,EAAE,OAAA,EAAS,IAAI,UAAA,CAAW,KAAK,CAAA,EAAE;AAAA,EAC/C;AAAA,EAEA,OAAO,KAAK,OAAA,EAA8B;AACxC,IAAA,OAAO,IAAI,YAAA,CAAa,OAAA,CAAQ,IAAA,CAAK,OAAA,CAAQ,OAAO,OAAO,CAAA;AAAA,EAC7D;AAAA,EAEA,SAAS,KAAA,EAAoB;AAC3B,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAe;AACvB,IAAA,IAAA,CAAK,IAAA,CAAK,QAAQ,KAAA,GAAQ,KAAA;AAC1B,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAiBO,MAAM,UAAA,CAAkC;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAAA,EAAe;AACzB,IAAA,IAAA,CAAK,IAAA,GAAO,QAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AAAA,EACf;AACF","file":"sign-in.mjs","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type SignInActionOptions = SubmitActionOptions & { data: MSTeamsData<ISignInData> };\n\n/**\n * @deprecated This type is deprecated. Please use {@link ISigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ISignInAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ISignInData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link SigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class SignInAction extends SubmitAction implements ISignInAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ISignInData>;\n\n constructor(value: string, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = { msteams: new SignInData(value) };\n }\n\n static from(options: SignInActionOptions) {\n return new SignInAction(options.data.msteams.value, options);\n }\n\n withData(value: ISignInData) {\n super.withData({ msteams: value });\n return this;\n }\n\n withValue(value: string) {\n this.data.msteams.value = value;\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link ISigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ISignInData {\n type: 'signin';\n\n /**\n * Set to the `URL` where you want to redirect.\n */\n value: string;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link SigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class SignInData implements ISignInData {\n type: 'signin';\n\n /**\n * Set to the `URL` where you want to redirect.\n */\n value: string;\n\n constructor(value: string) {\n this.type = 'signin';\n this.value = value;\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../src/actions/submit/sign-in.ts"],"names":[],"mappings":";;AAsBO,MAAM,qBAAqB,YAAA,CAAsC;AAAA;AAAA;AAAA;AAAA,EAItE,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAAe,OAAA,GAA+B,EAAC,EAAG;AAC5D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,OAAO,EAAE,OAAA,EAAS,IAAI,UAAA,CAAW,KAAK,CAAA,EAAE;AAAA,EAC/C;AAAA,EAEA,OAAO,KAAK,OAAA,EAA4C;AACtD,IAAA,OAAO,IAAI,YAAA,CAAa,OAAA,CAAQ,IAAA,CAAK,OAAA,CAAQ,OAAO,OAAO,CAAA;AAAA,EAC7D;AAAA,EAEA,SAAS,KAAA,EAA0B;AACjC,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,OAAA,EAAS,KAAA,EAAO,CAAA;AACjC,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAqB;AAC7B,IAAA,IAAA,CAAK,IAAA,CAAK,QAAQ,KAAA,GAAQ,KAAA;AAC1B,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAiBO,MAAM,UAAA,CAAkC;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAAA,EAAe;AACzB,IAAA,IAAA,CAAK,IAAA,GAAO,QAAA;AACZ,IAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AAAA,EACf;AACF","file":"sign-in.mjs","sourcesContent":["import type { ISubmitAction, SubmitActionOptions } from '../../core';\nimport { SubmitAction } from '../../core';\n\nimport type { MSTeamsData } from './ms-teams-data';\n\nexport type SignInActionOptions = SubmitActionOptions & {\n data: MSTeamsData<ISignInData>;\n};\n\n/**\n * @deprecated This type is deprecated. Please use {@link ISigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ISignInAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ISignInData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link SigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class SignInAction extends SubmitAction implements ISignInAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ISignInData>;\n\n constructor(value: string, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = { msteams: new SignInData(value) };\n }\n\n static from(options: SignInActionOptions): SignInAction {\n return new SignInAction(options.data.msteams.value, options);\n }\n\n withData(value: ISignInData): this {\n super.withData({ msteams: value });\n return this;\n }\n\n withValue(value: string): this {\n this.data.msteams.value = value;\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link ISigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ISignInData {\n type: 'signin';\n\n /**\n * Set to the `URL` where you want to redirect.\n */\n value: string;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link SigninSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class SignInData implements ISignInData {\n type: 'signin';\n\n /**\n * Set to the `URL` where you want to redirect.\n */\n value: string;\n\n constructor(value: string) {\n this.type = 'signin';\n this.value = value;\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/actions/submit/task-fetch.ts"],"names":["SubmitAction"],"mappings":";;;;AA0BO,MAAM,wBAAwBA,iBAAA,CAAyC;AAAA;AAAA;AAAA;AAAA,EAI5E,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAA6B,OAAA,GAA+B,EAAC,EAAG;AAC1E,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAA,GAAO;AAAA,MACV,GAAG,KAAA;AAAA,MACH,OAAA,EAAS;AAAA,QACP,IAAA,EAAM;AAAA;AACR,KACF;AAAA,EACF;AAAA,EAEA,OAAO,KAAK,OAAA,EAAiC;AAC3C,IAAA,OAAO,IAAI,eAAA,CAAgB,OAAA,CAAQ,IAAA,EAAM,OAAO,CAAA;AAAA,EAClD;AAAA,EAEA,SAAS,KAAA,EAAoC;AAC3C,IAAA,IAAA,CAAK,IAAA,GAAO,KAAA;AACZ,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAA4B;AACpC,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,GAAG,IAAA,CAAK,IAAA,EAAM,GAAG,KAAA,EAAO,OAAA,EAAS,EAAE,IAAA,EAAM,YAAA,EAAa,EAAG,CAAA;AAC1E,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAYO,MAAM,aAAA,CAAqD;AAAA,EAChE,OAAA,GAAU;AAAA,IACR,IAAA,EAAM;AAAA,GACR;AAAA,EAEA,YAAY,IAAA,EAA4B;AAEtC,IAAA,IAAI,IAAA,EAAM;AACR,MAAA,MAAM,EAAE,OAAA,EAAS,GAAG,IAAA,EAAK,GAAI,IAAA;AAC7B,MAAA,MAAA,CAAO,MAAA,CAAO,MAAM,IAAI,CAAA;AAAA,IAC1B;AAAA,EACF;AACF","file":"task-fetch.js","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type TaskFetchActionOptions = SubmitActionOptions & { data: MSTeamsData<ITaskFetchData> };\n\nexport type TaskFetchDataValues = {\n [key: string]: any;\n} & {\n /** type is special so we shouldn't allow overriding it */\n type?: never;\n};\n\n/**\n * @deprecated This type is deprecated. Please use {@link ITaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ITaskFetchAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ITaskFetchData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link TaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class TaskFetchAction extends SubmitAction implements ITaskFetchAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ITaskFetchData>;\n\n constructor(value?: TaskFetchDataValues, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = {\n ...value,\n msteams: {\n type: 'task/fetch',\n },\n };\n }\n\n static from(options: TaskFetchActionOptions) {\n return new TaskFetchAction(options.data, options);\n }\n\n withData(value: MSTeamsData<ITaskFetchData>) {\n this.data = value;\n return this;\n }\n\n withValue(value: TaskFetchDataValues) {\n super.withData({ ...this.data, ...value, msteams: { type: 'task/fetch' } });\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link ITaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ITaskFetchData {\n type: 'task/fetch';\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link TaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class TaskFetchData implements MSTeamsData<ITaskFetchData> {\n msteams = {\n type: 'task/fetch' as const,\n };\n\n constructor(data?: TaskFetchDataValues) {\n // omit the msteams property if it exists\n if (data) {\n const { msteams, ...rest } = data;\n Object.assign(this, rest);\n }\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../src/actions/submit/task-fetch.ts"],"names":["SubmitAction"],"mappings":";;;;AA6BO,MAAM,wBAAwBA,iBAAA,CAAyC;AAAA;AAAA;AAAA;AAAA,EAI5E,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAA6B,OAAA,GAA+B,EAAC,EAAG;AAC1E,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAA,GAAO;AAAA,MACV,GAAG,KAAA;AAAA,MACH,OAAA,EAAS;AAAA,QACP,IAAA,EAAM;AAAA;AACR,KACF;AAAA,EACF;AAAA,EAEA,OAAO,KAAK,OAAA,EAAkD;AAC5D,IAAA,OAAO,IAAI,eAAA,CAAgB,OAAA,CAAQ,IAAA,EAAM,OAAO,CAAA;AAAA,EAClD;AAAA,EAEA,SAAS,KAAA,EAA0C;AACjD,IAAA,IAAA,CAAK,IAAA,GAAO,KAAA;AACZ,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAkC;AAC1C,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,GAAG,IAAA,CAAK,IAAA,EAAM,GAAG,KAAA,EAAO,OAAA,EAAS,EAAE,IAAA,EAAM,YAAA,EAAa,EAAG,CAAA;AAC1E,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAYO,MAAM,aAAA,CAAqD;AAAA,EAChE,OAAA,GAAU;AAAA,IACR,IAAA,EAAM;AAAA,GACR;AAAA,EAEA,YAAY,IAAA,EAA4B;AAEtC,IAAA,IAAI,IAAA,EAAM;AACR,MAAA,MAAM,EAAE,OAAA,EAAS,GAAG,IAAA,EAAK,GAAI,IAAA;AAC7B,MAAA,MAAA,CAAO,MAAA,CAAO,MAAM,IAAI,CAAA;AAAA,IAC1B;AAAA,EACF;AACF","file":"task-fetch.js","sourcesContent":["import type { ISubmitAction, SubmitActionOptions } from '../../core';\nimport { SubmitAction } from '../../core';\n\nimport type { MSTeamsData } from './ms-teams-data';\n\nexport type TaskFetchActionOptions = SubmitActionOptions & {\n data: MSTeamsData<ITaskFetchData>;\n};\n\nexport type TaskFetchDataValues = {\n [key: string]: any;\n} & {\n /** type is special so we shouldn't allow overriding it */\n type?: never;\n};\n\n/**\n * @deprecated This type is deprecated. Please use {@link ITaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ITaskFetchAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ITaskFetchData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link TaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class TaskFetchAction extends SubmitAction implements ITaskFetchAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ITaskFetchData>;\n\n constructor(value?: TaskFetchDataValues, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = {\n ...value,\n msteams: {\n type: 'task/fetch',\n },\n };\n }\n\n static from(options: TaskFetchActionOptions): TaskFetchAction {\n return new TaskFetchAction(options.data, options);\n }\n\n withData(value: MSTeamsData<ITaskFetchData>): this {\n this.data = value;\n return this;\n }\n\n withValue(value: TaskFetchDataValues): this {\n super.withData({ ...this.data, ...value, msteams: { type: 'task/fetch' } });\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link ITaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ITaskFetchData {\n type: 'task/fetch';\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link TaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class TaskFetchData implements MSTeamsData<ITaskFetchData> {\n msteams = {\n type: 'task/fetch' as const,\n };\n\n constructor(data?: TaskFetchDataValues) {\n // omit the msteams property if it exists\n if (data) {\n const { msteams, ...rest } = data;\n Object.assign(this, rest);\n }\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { SubmitAction } from '../../core';
1
+ import { SubmitAction } from '../../core.mjs';
2
2
 
3
3
  class TaskFetchAction extends SubmitAction {
4
4
  /**
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/actions/submit/task-fetch.ts"],"names":[],"mappings":";;AA0BO,MAAM,wBAAwB,YAAA,CAAyC;AAAA;AAAA;AAAA;AAAA,EAI5E,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAA6B,OAAA,GAA+B,EAAC,EAAG;AAC1E,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAA,GAAO;AAAA,MACV,GAAG,KAAA;AAAA,MACH,OAAA,EAAS;AAAA,QACP,IAAA,EAAM;AAAA;AACR,KACF;AAAA,EACF;AAAA,EAEA,OAAO,KAAK,OAAA,EAAiC;AAC3C,IAAA,OAAO,IAAI,eAAA,CAAgB,OAAA,CAAQ,IAAA,EAAM,OAAO,CAAA;AAAA,EAClD;AAAA,EAEA,SAAS,KAAA,EAAoC;AAC3C,IAAA,IAAA,CAAK,IAAA,GAAO,KAAA;AACZ,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAA4B;AACpC,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,GAAG,IAAA,CAAK,IAAA,EAAM,GAAG,KAAA,EAAO,OAAA,EAAS,EAAE,IAAA,EAAM,YAAA,EAAa,EAAG,CAAA;AAC1E,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAYO,MAAM,aAAA,CAAqD;AAAA,EAChE,OAAA,GAAU;AAAA,IACR,IAAA,EAAM;AAAA,GACR;AAAA,EAEA,YAAY,IAAA,EAA4B;AAEtC,IAAA,IAAI,IAAA,EAAM;AACR,MAAA,MAAM,EAAE,OAAA,EAAS,GAAG,IAAA,EAAK,GAAI,IAAA;AAC7B,MAAA,MAAA,CAAO,MAAA,CAAO,MAAM,IAAI,CAAA;AAAA,IAC1B;AAAA,EACF;AACF","file":"task-fetch.mjs","sourcesContent":["import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core';\n\nimport { MSTeamsData } from './ms-teams-data';\n\nexport type TaskFetchActionOptions = SubmitActionOptions & { data: MSTeamsData<ITaskFetchData> };\n\nexport type TaskFetchDataValues = {\n [key: string]: any;\n} & {\n /** type is special so we shouldn't allow overriding it */\n type?: never;\n};\n\n/**\n * @deprecated This type is deprecated. Please use {@link ITaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ITaskFetchAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ITaskFetchData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link TaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class TaskFetchAction extends SubmitAction implements ITaskFetchAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ITaskFetchData>;\n\n constructor(value?: TaskFetchDataValues, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = {\n ...value,\n msteams: {\n type: 'task/fetch',\n },\n };\n }\n\n static from(options: TaskFetchActionOptions) {\n return new TaskFetchAction(options.data, options);\n }\n\n withData(value: MSTeamsData<ITaskFetchData>) {\n this.data = value;\n return this;\n }\n\n withValue(value: TaskFetchDataValues) {\n super.withData({ ...this.data, ...value, msteams: { type: 'task/fetch' } });\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link ITaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ITaskFetchData {\n type: 'task/fetch';\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link TaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class TaskFetchData implements MSTeamsData<ITaskFetchData> {\n msteams = {\n type: 'task/fetch' as const,\n };\n\n constructor(data?: TaskFetchDataValues) {\n // omit the msteams property if it exists\n if (data) {\n const { msteams, ...rest } = data;\n Object.assign(this, rest);\n }\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../src/actions/submit/task-fetch.ts"],"names":[],"mappings":";;AA6BO,MAAM,wBAAwB,YAAA,CAAyC;AAAA;AAAA;AAAA;AAAA,EAI5E,IAAA;AAAA,EAEA,WAAA,CAAY,KAAA,EAA6B,OAAA,GAA+B,EAAC,EAAG;AAC1E,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAA,MAAA,CAAO,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAA,GAAO;AAAA,MACV,GAAG,KAAA;AAAA,MACH,OAAA,EAAS;AAAA,QACP,IAAA,EAAM;AAAA;AACR,KACF;AAAA,EACF;AAAA,EAEA,OAAO,KAAK,OAAA,EAAkD;AAC5D,IAAA,OAAO,IAAI,eAAA,CAAgB,OAAA,CAAQ,IAAA,EAAM,OAAO,CAAA;AAAA,EAClD;AAAA,EAEA,SAAS,KAAA,EAA0C;AACjD,IAAA,IAAA,CAAK,IAAA,GAAO,KAAA;AACZ,IAAA,OAAO,IAAA;AAAA,EACT;AAAA,EAEA,UAAU,KAAA,EAAkC;AAC1C,IAAA,KAAA,CAAM,QAAA,CAAS,EAAE,GAAG,IAAA,CAAK,IAAA,EAAM,GAAG,KAAA,EAAO,OAAA,EAAS,EAAE,IAAA,EAAM,YAAA,EAAa,EAAG,CAAA;AAC1E,IAAA,OAAO,IAAA;AAAA,EACT;AACF;AAYO,MAAM,aAAA,CAAqD;AAAA,EAChE,OAAA,GAAU;AAAA,IACR,IAAA,EAAM;AAAA,GACR;AAAA,EAEA,YAAY,IAAA,EAA4B;AAEtC,IAAA,IAAI,IAAA,EAAM;AACR,MAAA,MAAM,EAAE,OAAA,EAAS,GAAG,IAAA,EAAK,GAAI,IAAA;AAC7B,MAAA,MAAA,CAAO,MAAA,CAAO,MAAM,IAAI,CAAA;AAAA,IAC1B;AAAA,EACF;AACF","file":"task-fetch.mjs","sourcesContent":["import type { ISubmitAction, SubmitActionOptions } from '../../core';\nimport { SubmitAction } from '../../core';\n\nimport type { MSTeamsData } from './ms-teams-data';\n\nexport type TaskFetchActionOptions = SubmitActionOptions & {\n data: MSTeamsData<ITaskFetchData>;\n};\n\nexport type TaskFetchDataValues = {\n [key: string]: any;\n} & {\n /** type is special so we shouldn't allow overriding it */\n type?: never;\n};\n\n/**\n * @deprecated This type is deprecated. Please use {@link ITaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ITaskFetchAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ITaskFetchData>;\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link TaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class TaskFetchAction extends SubmitAction implements ITaskFetchAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ITaskFetchData>;\n\n constructor(value?: TaskFetchDataValues, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = {\n ...value,\n msteams: {\n type: 'task/fetch',\n },\n };\n }\n\n static from(options: TaskFetchActionOptions): TaskFetchAction {\n return new TaskFetchAction(options.data, options);\n }\n\n withData(value: MSTeamsData<ITaskFetchData>): this {\n this.data = value;\n return this;\n }\n\n withValue(value: TaskFetchDataValues): this {\n super.withData({ ...this.data, ...value, msteams: { type: 'task/fetch' } });\n return this;\n }\n}\n\n/**\n * @deprecated This type is deprecated. Please use {@link ITaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport interface ITaskFetchData {\n type: 'task/fetch';\n}\n\n/**\n * @deprecated This class is deprecated. Please use {@link TaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK.\n */\nexport class TaskFetchData implements MSTeamsData<ITaskFetchData> {\n msteams = {\n type: 'task/fetch' as const,\n };\n\n constructor(data?: TaskFetchDataValues) {\n // omit the msteams property if it exists\n if (data) {\n const { msteams, ...rest } = data;\n Object.assign(this, rest);\n }\n }\n}\n"]}
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- export * from './core';
2
- export * from './actions';
3
- export * from './utilities';
1
+ export * from './core.mjs';
2
+ export * from './actions/index.mjs';
3
+ export * from './utilities/index.mjs';
4
4
  //# sourceMappingURL=index.mjs.map
5
5
  //# sourceMappingURL=index.mjs.map
@@ -1,4 +1,4 @@
1
- export * from './submit-data';
2
- export * from './open-dialog-data';
1
+ export * from './submit-data.mjs';
2
+ export * from './open-dialog-data.mjs';
3
3
  //# sourceMappingURL=index.mjs.map
4
4
  //# sourceMappingURL=index.mjs.map
@@ -1,4 +1,4 @@
1
- import { SubmitActionData, TaskFetchSubmitActionData } from '../core';
1
+ import { SubmitActionData, TaskFetchSubmitActionData } from '../core.mjs';
2
2
 
3
3
  const RESERVED_KEYWORD = "dialog_id";
4
4
  class OpenDialogData extends SubmitActionData {
@@ -1,4 +1,4 @@
1
- import { SubmitActionData } from '../core';
1
+ import { SubmitActionData } from '../core.mjs';
2
2
 
3
3
  const RESERVED_KEYWORD = "action";
4
4
  class SubmitData extends SubmitActionData {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/teams.cards",
3
- "version": "2.0.11-preview.8",
3
+ "version": "2.0.12",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -35,7 +35,7 @@
35
35
  "test": "npx jest"
36
36
  },
37
37
  "devDependencies": {
38
- "@microsoft/teams.config": "2.0.11-preview.8",
38
+ "@microsoft/teams.config": "2.0.12",
39
39
  "@types/jest": "^29.5.12",
40
40
  "jest": "^29.7.0",
41
41
  "rimraf": "^6.0.1",