@deepdesk/deepdesk-sdk 10.4.1-beta.0 → 10.4.1-beta.2
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/dialogs.css +1 -1
- package/dist/index.cjs.js +6 -6
- package/dist/index.d.mts +62 -64
- package/dist/index.d.ts +62 -64
- package/dist/index.esm.js +6 -6
- package/dist/index.iife.js +14 -14
- package/input.css +1 -1
- package/package.json +1 -1
- package/styles/index.js +1 -1
- package/styles.css +1 -1
- package/widget.css +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import * as _reduxjs_toolkit_dist_configureStore from '@reduxjs/toolkit/dist/con
|
|
|
4
4
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
5
5
|
import { Middleware } from '@reduxjs/toolkit';
|
|
6
6
|
|
|
7
|
-
declare const styles$
|
|
7
|
+
declare const styles$m: {
|
|
8
8
|
readonly "root": string;
|
|
9
9
|
readonly "imageWrapper": string;
|
|
10
10
|
readonly "image": string;
|
|
@@ -33,19 +33,9 @@ interface CardComposition {
|
|
|
33
33
|
Content: FC<ContentProps>;
|
|
34
34
|
Title: FC<TitleProps>;
|
|
35
35
|
}
|
|
36
|
-
type CardStyles = typeof styles$
|
|
36
|
+
type CardStyles = typeof styles$m;
|
|
37
37
|
declare const Card: FC & CardComposition;
|
|
38
38
|
|
|
39
|
-
declare const styles$m: {
|
|
40
|
-
readonly "root": string;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
interface Props$7 {
|
|
44
|
-
children: React.ReactNode;
|
|
45
|
-
}
|
|
46
|
-
type ChipStyles = typeof styles$m;
|
|
47
|
-
declare const Chip: React.FC<Props$7>;
|
|
48
|
-
|
|
49
39
|
declare const styles$l: {
|
|
50
40
|
readonly "root": string;
|
|
51
41
|
readonly "isArrowUp": string;
|
|
@@ -512,6 +502,7 @@ declare const reducers: redux.Reducer<redux.CombinedState<{
|
|
|
512
502
|
inlineSuggestions: boolean;
|
|
513
503
|
adminUrl?: string | undefined;
|
|
514
504
|
productName: string;
|
|
505
|
+
suggestionFeedbackEmailAddresses?: string[] | undefined;
|
|
515
506
|
};
|
|
516
507
|
profile: State$4;
|
|
517
508
|
search: State$3;
|
|
@@ -573,6 +564,7 @@ declare function createStore(config: StoreConfig): _reduxjs_toolkit_dist_configu
|
|
|
573
564
|
inlineSuggestions: boolean;
|
|
574
565
|
adminUrl?: string | undefined;
|
|
575
566
|
productName: string;
|
|
567
|
+
suggestionFeedbackEmailAddresses?: string[] | undefined;
|
|
576
568
|
};
|
|
577
569
|
profile: State$4;
|
|
578
570
|
search: State$3;
|
|
@@ -633,6 +625,7 @@ declare function createStore(config: StoreConfig): _reduxjs_toolkit_dist_configu
|
|
|
633
625
|
inlineSuggestions: boolean;
|
|
634
626
|
adminUrl?: string | undefined;
|
|
635
627
|
productName: string;
|
|
628
|
+
suggestionFeedbackEmailAddresses?: string[] | undefined;
|
|
636
629
|
};
|
|
637
630
|
profile: State$4;
|
|
638
631
|
search: State$3;
|
|
@@ -1459,46 +1452,47 @@ declare const styles$e: {
|
|
|
1459
1452
|
type AutoflowStyles = typeof styles$e;
|
|
1460
1453
|
|
|
1461
1454
|
declare const styles$d: {
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1455
|
+
readonly root: string;
|
|
1456
|
+
readonly list: string;
|
|
1457
|
+
readonly listWrapper: string;
|
|
1458
|
+
readonly listHorizontal: string;
|
|
1459
|
+
readonly page: string;
|
|
1460
|
+
readonly search: string;
|
|
1461
|
+
readonly pageNav: string;
|
|
1462
|
+
readonly pageBackButton: string;
|
|
1463
|
+
readonly listHeading: string;
|
|
1464
|
+
readonly listItem: string;
|
|
1465
|
+
readonly listItemContent: string;
|
|
1466
|
+
readonly listItemText: string;
|
|
1467
|
+
readonly listItemDescription: string;
|
|
1468
|
+
readonly truncate: string;
|
|
1469
|
+
readonly lineClamp: string;
|
|
1470
|
+
readonly listItemTitle: string;
|
|
1471
|
+
readonly listItemActions: string;
|
|
1472
|
+
readonly listItemAction: string;
|
|
1473
|
+
readonly listItemPrimaryAction: string;
|
|
1474
|
+
readonly listItemSelected: string;
|
|
1475
|
+
readonly sources: string;
|
|
1476
|
+
readonly sourcesTitle: string;
|
|
1477
|
+
readonly source: string;
|
|
1478
|
+
readonly icon: string;
|
|
1479
|
+
readonly searchIcon: string;
|
|
1480
|
+
readonly searchInputWrapper: string;
|
|
1481
|
+
readonly searchInput: string;
|
|
1482
|
+
readonly select: string;
|
|
1483
|
+
readonly selectType: string;
|
|
1484
|
+
readonly selectWrapper: string;
|
|
1485
|
+
readonly image: string;
|
|
1486
|
+
readonly imageSrc: string;
|
|
1487
|
+
readonly imageSrcHidden: string;
|
|
1488
|
+
readonly imageSrcStatus: string;
|
|
1489
|
+
readonly imageTitle: string;
|
|
1490
|
+
readonly actions: string;
|
|
1491
|
+
readonly actionsWrapper: string;
|
|
1492
|
+
readonly actionsBar: string;
|
|
1493
|
+
readonly actionButton: string;
|
|
1494
|
+
readonly actionShortcut: string;
|
|
1495
|
+
readonly actionShortcutFixKerning: string;
|
|
1502
1496
|
};
|
|
1503
1497
|
|
|
1504
1498
|
type CommandPaletteStyles = typeof styles$d;
|
|
@@ -1523,14 +1517,14 @@ declare const styles$b: {
|
|
|
1523
1517
|
type EditSuggestionFormStyles = typeof styles$b;
|
|
1524
1518
|
|
|
1525
1519
|
declare const styles$a: {
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1520
|
+
readonly root: string;
|
|
1521
|
+
readonly agentText: string;
|
|
1522
|
+
readonly textInput: string;
|
|
1523
|
+
readonly textInputWrapper: string;
|
|
1524
|
+
readonly alert: string;
|
|
1525
|
+
readonly alertText: string;
|
|
1526
|
+
readonly warning: string;
|
|
1527
|
+
readonly success: string;
|
|
1534
1528
|
};
|
|
1535
1529
|
|
|
1536
1530
|
type EditSuggestionTextInputStyles = typeof styles$a;
|
|
@@ -1631,8 +1625,10 @@ declare const styles$2: {
|
|
|
1631
1625
|
type TabCompletionStyles = typeof styles$2;
|
|
1632
1626
|
|
|
1633
1627
|
declare const styles$1: {
|
|
1634
|
-
|
|
1635
|
-
|
|
1628
|
+
readonly root: string;
|
|
1629
|
+
readonly actions: string;
|
|
1630
|
+
readonly badge: string;
|
|
1631
|
+
readonly formattedText: string;
|
|
1636
1632
|
};
|
|
1637
1633
|
|
|
1638
1634
|
type TextSuggestionStyles = typeof styles$1;
|
|
@@ -1665,7 +1661,6 @@ type WidgetCustomStyles = {
|
|
|
1665
1661
|
};
|
|
1666
1662
|
type InputOverlayCustomStyles = {
|
|
1667
1663
|
CommandPalette?: Partial<CommandPaletteStyles>;
|
|
1668
|
-
Chip?: Partial<ChipStyles>;
|
|
1669
1664
|
EntitiesList?: Partial<EntitiesListStyles>;
|
|
1670
1665
|
Label?: Partial<LabelStyles>;
|
|
1671
1666
|
Login?: Partial<LoginStyles>;
|
|
@@ -1723,6 +1718,7 @@ type State = {
|
|
|
1723
1718
|
inlineSuggestions: boolean;
|
|
1724
1719
|
adminUrl?: string;
|
|
1725
1720
|
productName: string;
|
|
1721
|
+
suggestionFeedbackEmailAddresses?: string[];
|
|
1726
1722
|
};
|
|
1727
1723
|
declare const set: _reduxjs_toolkit.ActionCreatorWithPayload<Partial<State>, "settings/set">;
|
|
1728
1724
|
|
|
@@ -1864,6 +1860,7 @@ declare class DeepdeskSDK {
|
|
|
1864
1860
|
inlineSuggestions: boolean;
|
|
1865
1861
|
adminUrl?: string | undefined;
|
|
1866
1862
|
productName: string;
|
|
1863
|
+
suggestionFeedbackEmailAddresses?: string[] | undefined;
|
|
1867
1864
|
};
|
|
1868
1865
|
profile: State$4;
|
|
1869
1866
|
search: State$3;
|
|
@@ -1906,6 +1903,7 @@ declare class DeepdeskSDK {
|
|
|
1906
1903
|
inlineSuggestions: boolean;
|
|
1907
1904
|
adminUrl?: string | undefined;
|
|
1908
1905
|
productName: string;
|
|
1906
|
+
suggestionFeedbackEmailAddresses?: string[] | undefined;
|
|
1909
1907
|
};
|
|
1910
1908
|
get selectedTextSuggestion(): TextSuggestion;
|
|
1911
1909
|
hasConversation(): boolean;
|
|
@@ -2197,4 +2195,4 @@ declare function waitForElementVisibilityChange(element: HTMLElement, callback:
|
|
|
2197
2195
|
type CSSModule = Record<string, string>;
|
|
2198
2196
|
declare function useStyles<TStyles extends CSSModule>(componentName: string, defaultStyles: TStyles): TStyles;
|
|
2199
2197
|
|
|
2200
|
-
export { AgentInfo, Card,
|
|
2198
|
+
export { AgentInfo, Card, ContentEditableInput, Conversation, ConversationMessage, DeepdeskAPI, DeepdeskSDK, HTTPClient, InputMediator, InputOverlayCustomStyles, InputType, KeyboardHint, Label, Locale, Logger, MountOptions, PinnedMessage, PlatformConfig, RootState, Section, SectionList, SelectionRange, Sources, Suggestion, SuggestionEventMetrics, SuggestionList, SuggestionMetrics, TextAreaInput, TextSuggestion, ToggleButton, UrlSuggestion, VisitorInfo, WidgetCustomStyles, WidgetOptions, attachFile, authenticateWithKey, createFullRange, createOverlayContainer, createRangeFromOffsets, escapeHTML, fetchPlatformConfig, formatTextMarkup, getRangeOffsets, getRangeText, insertCKEditor, isSupportedInputElement, updateContentEditable, updateTextArea, useStyles, waitForElementVisibilityChange };
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as _reduxjs_toolkit_dist_configureStore from '@reduxjs/toolkit/dist/con
|
|
|
4
4
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
5
5
|
import { Middleware } from '@reduxjs/toolkit';
|
|
6
6
|
|
|
7
|
-
declare const styles$
|
|
7
|
+
declare const styles$m: {
|
|
8
8
|
readonly "root": string;
|
|
9
9
|
readonly "imageWrapper": string;
|
|
10
10
|
readonly "image": string;
|
|
@@ -33,19 +33,9 @@ interface CardComposition {
|
|
|
33
33
|
Content: FC<ContentProps>;
|
|
34
34
|
Title: FC<TitleProps>;
|
|
35
35
|
}
|
|
36
|
-
type CardStyles = typeof styles$
|
|
36
|
+
type CardStyles = typeof styles$m;
|
|
37
37
|
declare const Card: FC & CardComposition;
|
|
38
38
|
|
|
39
|
-
declare const styles$m: {
|
|
40
|
-
readonly "root": string;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
interface Props$7 {
|
|
44
|
-
children: React.ReactNode;
|
|
45
|
-
}
|
|
46
|
-
type ChipStyles = typeof styles$m;
|
|
47
|
-
declare const Chip: React.FC<Props$7>;
|
|
48
|
-
|
|
49
39
|
declare const styles$l: {
|
|
50
40
|
readonly "root": string;
|
|
51
41
|
readonly "isArrowUp": string;
|
|
@@ -512,6 +502,7 @@ declare const reducers: redux.Reducer<redux.CombinedState<{
|
|
|
512
502
|
inlineSuggestions: boolean;
|
|
513
503
|
adminUrl?: string | undefined;
|
|
514
504
|
productName: string;
|
|
505
|
+
suggestionFeedbackEmailAddresses?: string[] | undefined;
|
|
515
506
|
};
|
|
516
507
|
profile: State$4;
|
|
517
508
|
search: State$3;
|
|
@@ -573,6 +564,7 @@ declare function createStore(config: StoreConfig): _reduxjs_toolkit_dist_configu
|
|
|
573
564
|
inlineSuggestions: boolean;
|
|
574
565
|
adminUrl?: string | undefined;
|
|
575
566
|
productName: string;
|
|
567
|
+
suggestionFeedbackEmailAddresses?: string[] | undefined;
|
|
576
568
|
};
|
|
577
569
|
profile: State$4;
|
|
578
570
|
search: State$3;
|
|
@@ -633,6 +625,7 @@ declare function createStore(config: StoreConfig): _reduxjs_toolkit_dist_configu
|
|
|
633
625
|
inlineSuggestions: boolean;
|
|
634
626
|
adminUrl?: string | undefined;
|
|
635
627
|
productName: string;
|
|
628
|
+
suggestionFeedbackEmailAddresses?: string[] | undefined;
|
|
636
629
|
};
|
|
637
630
|
profile: State$4;
|
|
638
631
|
search: State$3;
|
|
@@ -1459,46 +1452,47 @@ declare const styles$e: {
|
|
|
1459
1452
|
type AutoflowStyles = typeof styles$e;
|
|
1460
1453
|
|
|
1461
1454
|
declare const styles$d: {
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1455
|
+
readonly root: string;
|
|
1456
|
+
readonly list: string;
|
|
1457
|
+
readonly listWrapper: string;
|
|
1458
|
+
readonly listHorizontal: string;
|
|
1459
|
+
readonly page: string;
|
|
1460
|
+
readonly search: string;
|
|
1461
|
+
readonly pageNav: string;
|
|
1462
|
+
readonly pageBackButton: string;
|
|
1463
|
+
readonly listHeading: string;
|
|
1464
|
+
readonly listItem: string;
|
|
1465
|
+
readonly listItemContent: string;
|
|
1466
|
+
readonly listItemText: string;
|
|
1467
|
+
readonly listItemDescription: string;
|
|
1468
|
+
readonly truncate: string;
|
|
1469
|
+
readonly lineClamp: string;
|
|
1470
|
+
readonly listItemTitle: string;
|
|
1471
|
+
readonly listItemActions: string;
|
|
1472
|
+
readonly listItemAction: string;
|
|
1473
|
+
readonly listItemPrimaryAction: string;
|
|
1474
|
+
readonly listItemSelected: string;
|
|
1475
|
+
readonly sources: string;
|
|
1476
|
+
readonly sourcesTitle: string;
|
|
1477
|
+
readonly source: string;
|
|
1478
|
+
readonly icon: string;
|
|
1479
|
+
readonly searchIcon: string;
|
|
1480
|
+
readonly searchInputWrapper: string;
|
|
1481
|
+
readonly searchInput: string;
|
|
1482
|
+
readonly select: string;
|
|
1483
|
+
readonly selectType: string;
|
|
1484
|
+
readonly selectWrapper: string;
|
|
1485
|
+
readonly image: string;
|
|
1486
|
+
readonly imageSrc: string;
|
|
1487
|
+
readonly imageSrcHidden: string;
|
|
1488
|
+
readonly imageSrcStatus: string;
|
|
1489
|
+
readonly imageTitle: string;
|
|
1490
|
+
readonly actions: string;
|
|
1491
|
+
readonly actionsWrapper: string;
|
|
1492
|
+
readonly actionsBar: string;
|
|
1493
|
+
readonly actionButton: string;
|
|
1494
|
+
readonly actionShortcut: string;
|
|
1495
|
+
readonly actionShortcutFixKerning: string;
|
|
1502
1496
|
};
|
|
1503
1497
|
|
|
1504
1498
|
type CommandPaletteStyles = typeof styles$d;
|
|
@@ -1523,14 +1517,14 @@ declare const styles$b: {
|
|
|
1523
1517
|
type EditSuggestionFormStyles = typeof styles$b;
|
|
1524
1518
|
|
|
1525
1519
|
declare const styles$a: {
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1520
|
+
readonly root: string;
|
|
1521
|
+
readonly agentText: string;
|
|
1522
|
+
readonly textInput: string;
|
|
1523
|
+
readonly textInputWrapper: string;
|
|
1524
|
+
readonly alert: string;
|
|
1525
|
+
readonly alertText: string;
|
|
1526
|
+
readonly warning: string;
|
|
1527
|
+
readonly success: string;
|
|
1534
1528
|
};
|
|
1535
1529
|
|
|
1536
1530
|
type EditSuggestionTextInputStyles = typeof styles$a;
|
|
@@ -1631,8 +1625,10 @@ declare const styles$2: {
|
|
|
1631
1625
|
type TabCompletionStyles = typeof styles$2;
|
|
1632
1626
|
|
|
1633
1627
|
declare const styles$1: {
|
|
1634
|
-
|
|
1635
|
-
|
|
1628
|
+
readonly root: string;
|
|
1629
|
+
readonly actions: string;
|
|
1630
|
+
readonly badge: string;
|
|
1631
|
+
readonly formattedText: string;
|
|
1636
1632
|
};
|
|
1637
1633
|
|
|
1638
1634
|
type TextSuggestionStyles = typeof styles$1;
|
|
@@ -1665,7 +1661,6 @@ type WidgetCustomStyles = {
|
|
|
1665
1661
|
};
|
|
1666
1662
|
type InputOverlayCustomStyles = {
|
|
1667
1663
|
CommandPalette?: Partial<CommandPaletteStyles>;
|
|
1668
|
-
Chip?: Partial<ChipStyles>;
|
|
1669
1664
|
EntitiesList?: Partial<EntitiesListStyles>;
|
|
1670
1665
|
Label?: Partial<LabelStyles>;
|
|
1671
1666
|
Login?: Partial<LoginStyles>;
|
|
@@ -1723,6 +1718,7 @@ type State = {
|
|
|
1723
1718
|
inlineSuggestions: boolean;
|
|
1724
1719
|
adminUrl?: string;
|
|
1725
1720
|
productName: string;
|
|
1721
|
+
suggestionFeedbackEmailAddresses?: string[];
|
|
1726
1722
|
};
|
|
1727
1723
|
declare const set: _reduxjs_toolkit.ActionCreatorWithPayload<Partial<State>, "settings/set">;
|
|
1728
1724
|
|
|
@@ -1864,6 +1860,7 @@ declare class DeepdeskSDK {
|
|
|
1864
1860
|
inlineSuggestions: boolean;
|
|
1865
1861
|
adminUrl?: string | undefined;
|
|
1866
1862
|
productName: string;
|
|
1863
|
+
suggestionFeedbackEmailAddresses?: string[] | undefined;
|
|
1867
1864
|
};
|
|
1868
1865
|
profile: State$4;
|
|
1869
1866
|
search: State$3;
|
|
@@ -1906,6 +1903,7 @@ declare class DeepdeskSDK {
|
|
|
1906
1903
|
inlineSuggestions: boolean;
|
|
1907
1904
|
adminUrl?: string | undefined;
|
|
1908
1905
|
productName: string;
|
|
1906
|
+
suggestionFeedbackEmailAddresses?: string[] | undefined;
|
|
1909
1907
|
};
|
|
1910
1908
|
get selectedTextSuggestion(): TextSuggestion;
|
|
1911
1909
|
hasConversation(): boolean;
|
|
@@ -2197,4 +2195,4 @@ declare function waitForElementVisibilityChange(element: HTMLElement, callback:
|
|
|
2197
2195
|
type CSSModule = Record<string, string>;
|
|
2198
2196
|
declare function useStyles<TStyles extends CSSModule>(componentName: string, defaultStyles: TStyles): TStyles;
|
|
2199
2197
|
|
|
2200
|
-
export { AgentInfo, Card,
|
|
2198
|
+
export { AgentInfo, Card, ContentEditableInput, Conversation, ConversationMessage, DeepdeskAPI, DeepdeskSDK, HTTPClient, InputMediator, InputOverlayCustomStyles, InputType, KeyboardHint, Label, Locale, Logger, MountOptions, PinnedMessage, PlatformConfig, RootState, Section, SectionList, SelectionRange, Sources, Suggestion, SuggestionEventMetrics, SuggestionList, SuggestionMetrics, TextAreaInput, TextSuggestion, ToggleButton, UrlSuggestion, VisitorInfo, WidgetCustomStyles, WidgetOptions, attachFile, authenticateWithKey, createFullRange, createOverlayContainer, createRangeFromOffsets, escapeHTML, fetchPlatformConfig, formatTextMarkup, getRangeOffsets, getRangeText, insertCKEditor, isSupportedInputElement, updateContentEditable, updateTextArea, useStyles, waitForElementVisibilityChange };
|