@integry/sdk 4.4.11 → 4.4.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vscode/launch.json +2 -2
- package/dist/esm/index.csm.d.ts +11 -4
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.d.ts +10 -1
- package/dist/umd/index.umd.js +1 -1
- package/package.json +1 -1
package/.vscode/launch.json
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
// "url": "file:////Users/yasir/Downloads/Flows%20-%20Integry%20SDK%20sample-23.html",
|
|
14
14
|
// "url": "file:////Users/yasir/Downloads/Flows%20-%20Integry%20SDK%20sample%20(33).html",
|
|
15
15
|
// "url": "file:////Users/yasir/Downloads/Integry SDK sample code (17).html",
|
|
16
|
-
|
|
17
|
-
"url": "file:////Users/yasir/Downloads/FunctionsPrototype (1).html",
|
|
16
|
+
"url": "file:////Users/yasir/Downloads/Flows - Integry SDK sample (41).html",
|
|
17
|
+
// "url": "file:////Users/yasir/Downloads/FunctionsPrototype (1).html",
|
|
18
18
|
"webRoot": "${workspaceFolder}/src"
|
|
19
19
|
}
|
|
20
20
|
]
|
package/dist/esm/index.csm.d.ts
CHANGED
|
@@ -50,9 +50,7 @@ type IntegrySDKEventPayloads = {
|
|
|
50
50
|
callbackUrlArray: {
|
|
51
51
|
templateStepId: number;
|
|
52
52
|
activityId: number;
|
|
53
|
-
callbackUrl: string
|
|
54
|
-
* Integry JS SDK
|
|
55
|
-
*/ | null;
|
|
53
|
+
callbackUrl: string | null;
|
|
56
54
|
}[];
|
|
57
55
|
authorizations: {
|
|
58
56
|
authorizationId: number;
|
|
@@ -166,6 +164,10 @@ declare enum ViewStyles {
|
|
|
166
164
|
COMPACT = "COMPACT",
|
|
167
165
|
COMFORTABLE = "COMFORTABLE"
|
|
168
166
|
}
|
|
167
|
+
declare enum Layouts {
|
|
168
|
+
NARROW = "COMPACT",
|
|
169
|
+
WIDE = "COMFORTABLE"
|
|
170
|
+
}
|
|
169
171
|
declare enum TemplateFormRenderModes {
|
|
170
172
|
MODAL = "MODAL",
|
|
171
173
|
INLINE = "INLINE",
|
|
@@ -176,6 +178,10 @@ declare enum MarketplaceRenderModes {
|
|
|
176
178
|
MODAL = "MODAL",
|
|
177
179
|
INLINE = "INLINE"
|
|
178
180
|
}
|
|
181
|
+
declare enum RenderModes {
|
|
182
|
+
MODAL = "MODAL",
|
|
183
|
+
INLINE = "INLINE"
|
|
184
|
+
}
|
|
179
185
|
declare enum TemplateListingRenderModes {
|
|
180
186
|
GRID = "GRID",
|
|
181
187
|
LIST = "LIST"
|
|
@@ -546,6 +552,7 @@ declare class IntegryJS {
|
|
|
546
552
|
eventEmitter: EventEmitter<IntegrySDKEvents>;
|
|
547
553
|
static html: (strings: TemplateStringsArray, ...values: any[]) => import("preact").VNode<{}>;
|
|
548
554
|
static RenderModes: typeof TemplateFormRenderModes;
|
|
555
|
+
static Layouts: typeof Layouts;
|
|
549
556
|
static ViewStyles: typeof ViewStyles;
|
|
550
557
|
static MarketplaceRenderModes: typeof MarketplaceRenderModes;
|
|
551
558
|
static Helpers: {
|
|
@@ -632,7 +639,7 @@ declare class IntegryJS {
|
|
|
632
639
|
*/
|
|
633
640
|
renderMarketplace: (marketplaceConfig: MarketplaceConfig) => void;
|
|
634
641
|
renderAppFlows: (appFlowConfig: InitConfig) => void;
|
|
635
|
-
showApps: (
|
|
642
|
+
showApps: (renderMode?: RenderModes, containerId?: string, layout?: Layouts) => void;
|
|
636
643
|
renderMultipurposeField: ({ containerId, multipurposeFieldProps, }: {
|
|
637
644
|
containerId: string;
|
|
638
645
|
multipurposeFieldProps: MultipurposeFieldType;
|