@deepdesk/deepdesk-sdk 18.1.2-beta.5 → 18.1.2-beta.7

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/dist/index.d.mts CHANGED
@@ -1410,6 +1410,7 @@ declare const reducers: redux.Reducer<{
1410
1410
  visible: boolean;
1411
1411
  insertLink: boolean;
1412
1412
  inlineSuggestions: boolean;
1413
+ suggestionsPlacement: "inline" | "above" | "below";
1413
1414
  floatingMenu: boolean;
1414
1415
  detectSubmit: boolean;
1415
1416
  automaticHandlingTime: boolean;
@@ -1470,6 +1471,7 @@ declare const reducers: redux.Reducer<{
1470
1471
  visible: boolean;
1471
1472
  insertLink: boolean;
1472
1473
  inlineSuggestions: boolean;
1474
+ suggestionsPlacement: "inline" | "above" | "below";
1473
1475
  floatingMenu: boolean;
1474
1476
  detectSubmit: boolean;
1475
1477
  automaticHandlingTime: boolean;
@@ -1531,6 +1533,7 @@ declare function createStore(config: StoreConfig): _reduxjs_toolkit.EnhancedStor
1531
1533
  visible: boolean;
1532
1534
  insertLink: boolean;
1533
1535
  inlineSuggestions: boolean;
1536
+ suggestionsPlacement: "inline" | "above" | "below";
1534
1537
  floatingMenu: boolean;
1535
1538
  detectSubmit: boolean;
1536
1539
  automaticHandlingTime: boolean;
@@ -1914,6 +1917,7 @@ type State = {
1914
1917
  visible: boolean;
1915
1918
  insertLink: boolean;
1916
1919
  inlineSuggestions: boolean;
1920
+ suggestionsPlacement: 'inline' | 'above' | 'below';
1917
1921
  floatingMenu: boolean;
1918
1922
  detectSubmit: boolean;
1919
1923
  automaticHandlingTime: boolean;
@@ -2055,6 +2059,7 @@ declare class DeepdeskSDK {
2055
2059
  private disposeHandlers;
2056
2060
  private inlineSuggestions;
2057
2061
  private aboveSuggestions;
2062
+ private belowSuggestions;
2058
2063
  private floatingMenu;
2059
2064
  private widgetElement;
2060
2065
  private widgetRoot;
@@ -2137,6 +2142,7 @@ declare class DeepdeskSDK {
2137
2142
  visible: boolean;
2138
2143
  insertLink: boolean;
2139
2144
  inlineSuggestions: boolean;
2145
+ suggestionsPlacement: "inline" | "above" | "below";
2140
2146
  floatingMenu: boolean;
2141
2147
  detectSubmit: boolean;
2142
2148
  automaticHandlingTime: boolean;
@@ -2181,6 +2187,7 @@ declare class DeepdeskSDK {
2181
2187
  visible: boolean;
2182
2188
  insertLink: boolean;
2183
2189
  inlineSuggestions: boolean;
2190
+ suggestionsPlacement: "inline" | "above" | "below";
2184
2191
  floatingMenu: boolean;
2185
2192
  detectSubmit: boolean;
2186
2193
  automaticHandlingTime: boolean;
@@ -3259,7 +3266,7 @@ declare class DeepdeskSDK {
3259
3266
  dispose(): void;
3260
3267
  private renderSuggestions;
3261
3268
  private renderInlineSuggestions;
3262
- private renderAboveSuggestions;
3269
+ private renderAboveOrBelowSuggestions;
3263
3270
  private renderFloatingMenu;
3264
3271
  private renderOverlays;
3265
3272
  /**
@@ -3524,6 +3531,7 @@ type OverlayOptions = {
3524
3531
  closestScrollElement?: HTMLElement;
3525
3532
  overlayContainer?: HTMLElement;
3526
3533
  position?: 'fixed' | 'absolute';
3534
+ placement?: 'above' | 'below';
3527
3535
  onHide?(): void;
3528
3536
  onShow?(): void;
3529
3537
  onMoveStart?(): void;
package/dist/index.d.ts CHANGED
@@ -1410,6 +1410,7 @@ declare const reducers: redux.Reducer<{
1410
1410
  visible: boolean;
1411
1411
  insertLink: boolean;
1412
1412
  inlineSuggestions: boolean;
1413
+ suggestionsPlacement: "inline" | "above" | "below";
1413
1414
  floatingMenu: boolean;
1414
1415
  detectSubmit: boolean;
1415
1416
  automaticHandlingTime: boolean;
@@ -1470,6 +1471,7 @@ declare const reducers: redux.Reducer<{
1470
1471
  visible: boolean;
1471
1472
  insertLink: boolean;
1472
1473
  inlineSuggestions: boolean;
1474
+ suggestionsPlacement: "inline" | "above" | "below";
1473
1475
  floatingMenu: boolean;
1474
1476
  detectSubmit: boolean;
1475
1477
  automaticHandlingTime: boolean;
@@ -1531,6 +1533,7 @@ declare function createStore(config: StoreConfig): _reduxjs_toolkit.EnhancedStor
1531
1533
  visible: boolean;
1532
1534
  insertLink: boolean;
1533
1535
  inlineSuggestions: boolean;
1536
+ suggestionsPlacement: "inline" | "above" | "below";
1534
1537
  floatingMenu: boolean;
1535
1538
  detectSubmit: boolean;
1536
1539
  automaticHandlingTime: boolean;
@@ -1914,6 +1917,7 @@ type State = {
1914
1917
  visible: boolean;
1915
1918
  insertLink: boolean;
1916
1919
  inlineSuggestions: boolean;
1920
+ suggestionsPlacement: 'inline' | 'above' | 'below';
1917
1921
  floatingMenu: boolean;
1918
1922
  detectSubmit: boolean;
1919
1923
  automaticHandlingTime: boolean;
@@ -2055,6 +2059,7 @@ declare class DeepdeskSDK {
2055
2059
  private disposeHandlers;
2056
2060
  private inlineSuggestions;
2057
2061
  private aboveSuggestions;
2062
+ private belowSuggestions;
2058
2063
  private floatingMenu;
2059
2064
  private widgetElement;
2060
2065
  private widgetRoot;
@@ -2137,6 +2142,7 @@ declare class DeepdeskSDK {
2137
2142
  visible: boolean;
2138
2143
  insertLink: boolean;
2139
2144
  inlineSuggestions: boolean;
2145
+ suggestionsPlacement: "inline" | "above" | "below";
2140
2146
  floatingMenu: boolean;
2141
2147
  detectSubmit: boolean;
2142
2148
  automaticHandlingTime: boolean;
@@ -2181,6 +2187,7 @@ declare class DeepdeskSDK {
2181
2187
  visible: boolean;
2182
2188
  insertLink: boolean;
2183
2189
  inlineSuggestions: boolean;
2190
+ suggestionsPlacement: "inline" | "above" | "below";
2184
2191
  floatingMenu: boolean;
2185
2192
  detectSubmit: boolean;
2186
2193
  automaticHandlingTime: boolean;
@@ -3259,7 +3266,7 @@ declare class DeepdeskSDK {
3259
3266
  dispose(): void;
3260
3267
  private renderSuggestions;
3261
3268
  private renderInlineSuggestions;
3262
- private renderAboveSuggestions;
3269
+ private renderAboveOrBelowSuggestions;
3263
3270
  private renderFloatingMenu;
3264
3271
  private renderOverlays;
3265
3272
  /**
@@ -3524,6 +3531,7 @@ type OverlayOptions = {
3524
3531
  closestScrollElement?: HTMLElement;
3525
3532
  overlayContainer?: HTMLElement;
3526
3533
  position?: 'fixed' | 'absolute';
3534
+ placement?: 'above' | 'below';
3527
3535
  onHide?(): void;
3528
3536
  onShow?(): void;
3529
3537
  onMoveStart?(): void;