@progress/kendo-react-conversational-ui 6.1.1-dev.202311151536 → 7.0.0-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/npm/ChatPropsAndState.d.ts → ChatPropsAndState.d.ts} +5 -2
- package/{dist/npm/Events.d.ts → Events.d.ts} +5 -1
- package/LICENSE.md +1 -1
- package/{dist/es/ViewItem.d.ts → ViewItem.d.ts} +6 -2
- package/{dist/npm/api → api}/action.interface.d.ts +5 -1
- package/{dist/es/api → api}/attachment.interface.d.ts +5 -1
- package/{dist/npm/api → api}/message.interface.d.ts +4 -0
- package/{dist/es/api → api}/user.interface.d.ts +4 -0
- package/{dist/npm/components → components}/Action.d.ts +6 -3
- package/{dist/npm/components → components}/ActionGroup.d.ts +5 -2
- package/{dist/npm/components → components}/Attachment.d.ts +6 -3
- package/{dist/npm/components → components}/AttachmentGroup.d.ts +5 -2
- package/{dist/es/components → components}/Chat.d.ts +6 -2
- package/{dist/npm/components → components}/ChatMessage.d.ts +5 -1
- package/components/DateMarker.d.ts +18 -0
- package/{dist/npm/components → components}/MessageGroup.d.ts +6 -2
- package/{dist/npm/components → components}/NewMessage.d.ts +6 -2
- package/components/Toolbar.d.ts +13 -0
- package/{dist/npm/components → components}/base/FocusableUponSelection.d.ts +4 -0
- package/{dist/es/components → components}/base/SelectableItemsContainer.d.ts +4 -0
- package/{dist/npm/components → components}/templates/HeroCard.d.ts +6 -2
- package/dist/cdn/js/kendo-react-conversational-ui.js +5 -1
- package/index.d.ts +15 -0
- package/index.js +5 -0
- package/index.mjs +671 -0
- package/{dist/npm/messages → messages}/index.d.ts +4 -0
- package/package-metadata.d.ts +9 -0
- package/package.json +29 -39
- package/utils.d.ts +9 -0
- package/about.md +0 -3
- package/dist/es/ChatPropsAndState.d.ts +0 -92
- package/dist/es/ChatPropsAndState.js +0 -1
- package/dist/es/Events.d.ts +0 -38
- package/dist/es/Events.js +0 -1
- package/dist/es/ViewItem.js +0 -90
- package/dist/es/api/action.interface.d.ts +0 -31
- package/dist/es/api/action.interface.js +0 -1
- package/dist/es/api/attachment.interface.js +0 -1
- package/dist/es/api/message.interface.d.ts +0 -56
- package/dist/es/api/message.interface.js +0 -1
- package/dist/es/api/user.interface.js +0 -1
- package/dist/es/components/Action.d.ts +0 -20
- package/dist/es/components/Action.js +0 -43
- package/dist/es/components/ActionGroup.d.ts +0 -24
- package/dist/es/components/ActionGroup.js +0 -40
- package/dist/es/components/Attachment.d.ts +0 -25
- package/dist/es/components/Attachment.js +0 -68
- package/dist/es/components/AttachmentGroup.d.ts +0 -24
- package/dist/es/components/AttachmentGroup.js +0 -92
- package/dist/es/components/Chat.js +0 -210
- package/dist/es/components/ChatMessage.d.ts +0 -68
- package/dist/es/components/ChatMessage.js +0 -83
- package/dist/es/components/DateMarker.d.ts +0 -14
- package/dist/es/components/DateMarker.js +0 -33
- package/dist/es/components/MessageGroup.d.ts +0 -25
- package/dist/es/components/MessageGroup.js +0 -61
- package/dist/es/components/NewMessage.d.ts +0 -34
- package/dist/es/components/NewMessage.js +0 -81
- package/dist/es/components/Toolbar.d.ts +0 -9
- package/dist/es/components/Toolbar.js +0 -31
- package/dist/es/components/base/FocusableUponSelection.d.ts +0 -20
- package/dist/es/components/base/FocusableUponSelection.js +0 -35
- package/dist/es/components/base/SelectableItemsContainer.js +0 -113
- package/dist/es/components/templates/HeroCard.d.ts +0 -41
- package/dist/es/components/templates/HeroCard.js +0 -64
- package/dist/es/main.d.ts +0 -11
- package/dist/es/main.js +0 -10
- package/dist/es/messages/index.d.ts +0 -30
- package/dist/es/messages/index.js +0 -31
- package/dist/es/package-metadata.d.ts +0 -5
- package/dist/es/package-metadata.js +0 -11
- package/dist/es/utils.d.ts +0 -5
- package/dist/es/utils.js +0 -6
- package/dist/npm/ChatPropsAndState.js +0 -2
- package/dist/npm/Events.js +0 -2
- package/dist/npm/ViewItem.d.ts +0 -57
- package/dist/npm/ViewItem.js +0 -94
- package/dist/npm/api/action.interface.js +0 -2
- package/dist/npm/api/attachment.interface.d.ts +0 -32
- package/dist/npm/api/attachment.interface.js +0 -2
- package/dist/npm/api/message.interface.js +0 -2
- package/dist/npm/api/user.interface.d.ts +0 -23
- package/dist/npm/api/user.interface.js +0 -2
- package/dist/npm/components/Action.js +0 -45
- package/dist/npm/components/ActionGroup.js +0 -42
- package/dist/npm/components/Attachment.js +0 -70
- package/dist/npm/components/AttachmentGroup.js +0 -94
- package/dist/npm/components/Chat.d.ts +0 -72
- package/dist/npm/components/Chat.js +0 -213
- package/dist/npm/components/ChatMessage.js +0 -86
- package/dist/npm/components/DateMarker.d.ts +0 -14
- package/dist/npm/components/DateMarker.js +0 -35
- package/dist/npm/components/MessageGroup.js +0 -63
- package/dist/npm/components/NewMessage.js +0 -83
- package/dist/npm/components/Toolbar.d.ts +0 -9
- package/dist/npm/components/Toolbar.js +0 -33
- package/dist/npm/components/base/FocusableUponSelection.js +0 -38
- package/dist/npm/components/base/SelectableItemsContainer.d.ts +0 -33
- package/dist/npm/components/base/SelectableItemsContainer.js +0 -116
- package/dist/npm/components/templates/HeroCard.js +0 -67
- package/dist/npm/main.d.ts +0 -11
- package/dist/npm/main.js +0 -27
- package/dist/npm/messages/index.js +0 -34
- package/dist/npm/package-metadata.d.ts +0 -5
- package/dist/npm/package-metadata.js +0 -14
- package/dist/npm/utils.d.ts +0 -5
- package/dist/npm/utils.js +0 -10
- package/dist/systemjs/kendo-react-conversational-ui.js +0 -1
- package/e2e-next/conversationalui.basic.tests.ts +0 -24
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.SelectableItemsContainer = void 0;
|
|
19
|
-
var React = require("react");
|
|
20
|
-
var kendo_react_common_1 = require("@progress/kendo-react-common");
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*/
|
|
24
|
-
var SelectableItemsContainer = /** @class */ (function (_super) {
|
|
25
|
-
__extends(SelectableItemsContainer, _super);
|
|
26
|
-
function SelectableItemsContainer() {
|
|
27
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
28
|
-
_this.state = { selectedItemIndex: null };
|
|
29
|
-
_this.onRequestContainerSelection = function () { return _this.props.onRequestSelection(_this.props.group.selectionIndex); };
|
|
30
|
-
_this.onKeyDown = function (event) {
|
|
31
|
-
var newSelectedItemIndex = null;
|
|
32
|
-
var decrementKeyCode;
|
|
33
|
-
var incrementKeyCode;
|
|
34
|
-
if (_this.isKeyboardNavigationLeftRight) {
|
|
35
|
-
decrementKeyCode = kendo_react_common_1.Keys.left;
|
|
36
|
-
incrementKeyCode = kendo_react_common_1.Keys.right;
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
decrementKeyCode = kendo_react_common_1.Keys.up;
|
|
40
|
-
incrementKeyCode = kendo_react_common_1.Keys.down;
|
|
41
|
-
}
|
|
42
|
-
if (event.keyCode === decrementKeyCode) {
|
|
43
|
-
newSelectedItemIndex = _this.navigate(false);
|
|
44
|
-
}
|
|
45
|
-
else if (event.keyCode === incrementKeyCode) {
|
|
46
|
-
newSelectedItemIndex = _this.navigate(true);
|
|
47
|
-
}
|
|
48
|
-
if (newSelectedItemIndex !== null) {
|
|
49
|
-
// Prevent the default behaviour of moving of the scrollbar
|
|
50
|
-
// because scrolling is achieved through item focusing.
|
|
51
|
-
event.preventDefault();
|
|
52
|
-
// Stop propagation to remove the collision with the up/down
|
|
53
|
-
// keyboard navigation of the message list.
|
|
54
|
-
event.stopPropagation();
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
return _this;
|
|
58
|
-
}
|
|
59
|
-
SelectableItemsContainer.getDerivedStateFromProps = function (props, state) {
|
|
60
|
-
if (!props.selected && state.selectedItemIndex !== null) {
|
|
61
|
-
// Moving away from a selected group.
|
|
62
|
-
return { selectedItemIndex: null };
|
|
63
|
-
}
|
|
64
|
-
else if (props.selected && state.selectedItemIndex === null) {
|
|
65
|
-
// Entering a group w/o directly choosing (e.g. clicking) a subitem.
|
|
66
|
-
return { selectedItemIndex: 0 };
|
|
67
|
-
}
|
|
68
|
-
return null;
|
|
69
|
-
};
|
|
70
|
-
SelectableItemsContainer.prototype.navigate = function (incrementSelection, newSelectedItemIndexUponFirstIncrement) {
|
|
71
|
-
if (newSelectedItemIndexUponFirstIncrement === void 0) { newSelectedItemIndexUponFirstIncrement = 0; }
|
|
72
|
-
var result = null;
|
|
73
|
-
var currentlySelectedItemIndex = this.state.selectedItemIndex;
|
|
74
|
-
if (incrementSelection) {
|
|
75
|
-
if (currentlySelectedItemIndex === null) {
|
|
76
|
-
result = newSelectedItemIndexUponFirstIncrement;
|
|
77
|
-
}
|
|
78
|
-
else if (currentlySelectedItemIndex < this.getLastSelectionIndex()) {
|
|
79
|
-
result = currentlySelectedItemIndex + 1;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
else {
|
|
83
|
-
if (currentlySelectedItemIndex === null) {
|
|
84
|
-
result = 0;
|
|
85
|
-
}
|
|
86
|
-
else if (currentlySelectedItemIndex > 0) {
|
|
87
|
-
result = currentlySelectedItemIndex - 1;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
if (result !== null) {
|
|
91
|
-
this.setState({ selectedItemIndex: result });
|
|
92
|
-
}
|
|
93
|
-
return result;
|
|
94
|
-
};
|
|
95
|
-
Object.defineProperty(SelectableItemsContainer.prototype, "isKeyboardNavigationLeftRight", {
|
|
96
|
-
get: function () {
|
|
97
|
-
return true;
|
|
98
|
-
},
|
|
99
|
-
enumerable: false,
|
|
100
|
-
configurable: true
|
|
101
|
-
});
|
|
102
|
-
SelectableItemsContainer.prototype.getLastSelectionIndex = function () {
|
|
103
|
-
var result = -1;
|
|
104
|
-
if (this.props.group.type === 'action-group') {
|
|
105
|
-
var actionGroup = this.props.group;
|
|
106
|
-
result = actionGroup.actions ? actionGroup.actions.length - 1 : -1;
|
|
107
|
-
}
|
|
108
|
-
else if (this.props.group.type === 'attachment-group') {
|
|
109
|
-
var attachmentGroup = this.props.group;
|
|
110
|
-
result = attachmentGroup.attachments ? attachmentGroup.attachments.length - 1 : -1;
|
|
111
|
-
}
|
|
112
|
-
return result;
|
|
113
|
-
};
|
|
114
|
-
return SelectableItemsContainer;
|
|
115
|
-
}(React.Component));
|
|
116
|
-
exports.SelectableItemsContainer = SelectableItemsContainer;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.HeroCard = void 0;
|
|
19
|
-
var React = require("react");
|
|
20
|
-
var kendo_react_buttons_1 = require("@progress/kendo-react-buttons");
|
|
21
|
-
var kendo_react_common_1 = require("@progress/kendo-react-common");
|
|
22
|
-
// tslint:enable:max-line-length
|
|
23
|
-
/**
|
|
24
|
-
* Represents a Hero Card component. Hero cards host a single large image and action buttons with text content.
|
|
25
|
-
*/
|
|
26
|
-
var HeroCard = /** @class */ (function (_super) {
|
|
27
|
-
__extends(HeroCard, _super);
|
|
28
|
-
function HeroCard() {
|
|
29
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
30
|
-
_this.onBtnClick = function (action, event) {
|
|
31
|
-
(0, kendo_react_common_1.dispatchEvent)(_this.props.onActionExecute, event, _this, { action: action });
|
|
32
|
-
};
|
|
33
|
-
return _this;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* @hidden
|
|
37
|
-
*/
|
|
38
|
-
HeroCard.prototype.render = function () {
|
|
39
|
-
return (React.createElement("div", { className: "k-card" },
|
|
40
|
-
React.createElement("img", { className: "k-card-image", src: this.props.imageUrl, style: { maxWidth: this.props.imageMaxWidth } }),
|
|
41
|
-
React.createElement("div", { className: "k-card-body" },
|
|
42
|
-
this.getTitleView(),
|
|
43
|
-
this.getSubtitleView()),
|
|
44
|
-
React.createElement("div", { className: "k-card-actions k-card-actions-vertical" }, this.getActionsView())));
|
|
45
|
-
};
|
|
46
|
-
HeroCard.prototype.getActionsView = function () {
|
|
47
|
-
var _this = this;
|
|
48
|
-
return this.props.actions.map(function (action, index) { return (React.createElement("span", { className: "k-card-action", key: index },
|
|
49
|
-
React.createElement(kendo_react_buttons_1.Button, { fillMode: "flat", onClick: function (e) { return _this.onBtnClick(action, e); } }, action.title))); });
|
|
50
|
-
};
|
|
51
|
-
HeroCard.prototype.getTitleView = function () {
|
|
52
|
-
var result = null;
|
|
53
|
-
if (this.props.title) {
|
|
54
|
-
result = (React.createElement("h5", { className: "k-card-title" }, this.props.title));
|
|
55
|
-
}
|
|
56
|
-
return result;
|
|
57
|
-
};
|
|
58
|
-
HeroCard.prototype.getSubtitleView = function () {
|
|
59
|
-
var result = null;
|
|
60
|
-
if (this.props.subtitle) {
|
|
61
|
-
result = (React.createElement("h6", { className: "k-card-subtitle" }, this.props.subtitle));
|
|
62
|
-
}
|
|
63
|
-
return result;
|
|
64
|
-
};
|
|
65
|
-
return HeroCard;
|
|
66
|
-
}(React.Component));
|
|
67
|
-
exports.HeroCard = HeroCard;
|
package/dist/npm/main.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MessageModel } from './ViewItem';
|
|
2
|
-
import { ChatMessage, ChatMessageProps, ChatMessageTemplateProps } from './components/ChatMessage';
|
|
3
|
-
export * from './api/action.interface';
|
|
4
|
-
export * from './api/attachment.interface';
|
|
5
|
-
export * from './api/message.interface';
|
|
6
|
-
export * from './api/user.interface';
|
|
7
|
-
export * from './components/Chat';
|
|
8
|
-
export * from './ChatPropsAndState';
|
|
9
|
-
export * from './Events';
|
|
10
|
-
export * from './components/templates/HeroCard';
|
|
11
|
-
export { MessageModel, ChatMessage, ChatMessageProps, ChatMessageTemplateProps };
|
package/dist/npm/main.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.ChatMessage = void 0;
|
|
18
|
-
var ChatMessage_1 = require("./components/ChatMessage");
|
|
19
|
-
Object.defineProperty(exports, "ChatMessage", { enumerable: true, get: function () { return ChatMessage_1.ChatMessage; } });
|
|
20
|
-
__exportStar(require("./api/action.interface"), exports);
|
|
21
|
-
__exportStar(require("./api/attachment.interface"), exports);
|
|
22
|
-
__exportStar(require("./api/message.interface"), exports);
|
|
23
|
-
__exportStar(require("./api/user.interface"), exports);
|
|
24
|
-
__exportStar(require("./components/Chat"), exports);
|
|
25
|
-
__exportStar(require("./ChatPropsAndState"), exports);
|
|
26
|
-
__exportStar(require("./Events"), exports);
|
|
27
|
-
__exportStar(require("./components/templates/HeroCard"), exports);
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var _a;
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.messages = exports.ariaLabelMessageList = exports.avatarAlt = exports.newMessageMessageInput = exports.newMessageOptionsButton = exports.newMessageSendButton = void 0;
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
exports.newMessageSendButton = 'newMessage.sendButton';
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
exports.newMessageOptionsButton = 'newMessage.optionsButton';
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
exports.newMessageMessageInput = 'newMessage.messageInput';
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
exports.avatarAlt = 'avatar.alt';
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*/
|
|
24
|
-
exports.ariaLabelMessageList = 'messageList.ariaLabel';
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
exports.messages = (_a = {},
|
|
29
|
-
_a[exports.newMessageSendButton] = 'Send',
|
|
30
|
-
_a[exports.newMessageOptionsButton] = 'Options',
|
|
31
|
-
_a[exports.newMessageMessageInput] = 'Message',
|
|
32
|
-
_a[exports.avatarAlt] = 'Avatar',
|
|
33
|
-
_a[exports.ariaLabelMessageList] = 'Message list',
|
|
34
|
-
_a);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.packageMetadata = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* @hidden
|
|
6
|
-
*/
|
|
7
|
-
exports.packageMetadata = {
|
|
8
|
-
name: '@progress/kendo-react-conversational-ui',
|
|
9
|
-
productName: 'KendoReact',
|
|
10
|
-
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate: 1700060031,
|
|
12
|
-
version: '',
|
|
13
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
14
|
-
};
|
package/dist/npm/utils.d.ts
DELETED
package/dist/npm/utils.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isAuthor = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* @hidden
|
|
6
|
-
*/
|
|
7
|
-
var isAuthor = function (user, msg) {
|
|
8
|
-
return user && msg.author && user.id === msg.author.id;
|
|
9
|
-
};
|
|
10
|
-
exports.isAuthor = isAuthor;
|