@titaui/pc 1.9.51 → 1.9.55
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/lib/components/change-okr-modal/Filter.js +1 -1
- package/lib/components/change-okr-modal/Item.js +1 -1
- package/lib/components/change-okr-modal/filterTab.js +1 -1
- package/lib/components/change-okr-modal/index.js +1 -1
- package/lib/components/communication/CommunicationAttachments.js +1 -1
- package/lib/components/communication/ConvertUserName.js +1 -1
- package/lib/components/communication/index.js +1 -1
- package/lib/components/create-okr-modal/objectType.js +1 -1
- package/lib/components/date-picker/BodyItem.js +1 -1
- package/lib/components/date-picker/CalendarBody.js +1 -1
- package/lib/components/date-picker/CalendarHeader.js +1 -1
- package/lib/components/date-picker/index.js +1 -1
- package/lib/components/date-range-picker/index.js +1 -1
- package/lib/components/delete-confirm-pop/ConfirmPop.js +1 -1
- package/lib/components/dynamic/dynamic.js +4 -2
- package/lib/components/eReport/eReportListEmpty.js +1 -1
- package/lib/components/eReport/eReportLists/reportList.js +1 -1
- package/lib/components/eReport/eReportShare/index.js +1 -1
- package/lib/components/eReport/eReportShare/toast/index.js +1 -1
- package/lib/components/edit-kr-wight/EditKrWightModal.js +1 -1
- package/lib/components/edit-kr-wight/FormItemV2.js +1 -1
- package/lib/components/emotions-selector/selector-content.js +1 -1
- package/lib/components/emotions-selector/selector-pop.js +1 -1
- package/lib/components/ereport-list/index.js +1 -1
- package/lib/components/error-boundary/index.js +1 -1
- package/lib/components/hr-header/{arrow.png → img/arrow.png} +0 -0
- package/lib/components/hr-header/img/notice.png +0 -0
- package/lib/components/hr-header/index.css +21 -0
- package/lib/components/hr-header/index.js +9 -3
- package/lib/components/mblog/components/ConfirmPop.js +1 -1
- package/lib/components/mblog/components/MblogAction.js +2 -11
- package/lib/components/mblog/components/MblogContent.js +1 -1
- package/lib/components/mblog/index.js +1 -1
- package/lib/components/nav-top/components/user-message/hrMessage.js +203 -0
- package/lib/components/nav-top/components/user-message/images/notice.png +0 -0
- package/lib/components/nav-top/components/user-message/index.css +87 -0
- package/lib/components/nav-top/components/user-message/msg/index.js +11 -9
- package/lib/components/okr-detail/auth.js +1 -1
- package/lib/components/okr-detail/components/base-okr-type/confirm/buttonv2.js +1 -1
- package/lib/components/okr-detail/components/base-okr-type/confirm/confirm.js +1 -1
- package/lib/components/okr-detail/components/base-okr-type/object-type.js +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/kr-push-score.js +1 -1
- package/lib/components/okr-review/ReviewPop/components/ReviewBody/index.js +1 -1
- package/lib/components/okr-review/ReviewPop/components/Toast/index.js +1 -1
- package/lib/components/okr-review/ReviewPop/index.js +1 -1
- package/lib/components/okr-review/components/ReviewItem/index.js +1 -1
- package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +1 -1
- package/lib/components/okr-review/index.js +1 -1
- package/lib/components/operation-records/OperationRecordItem.js +1 -1
- package/lib/components/operation-records/index.js +1 -1
- package/lib/components/point-demo/input/index.js +1 -1
- package/lib/components/praise-record/PraiseRecordItem.js +1 -1
- package/lib/components/praise-record/index.js +1 -1
- package/lib/components/range-picker-pop/index.js +1 -1
- package/lib/components/range-selector-pop/RangeList.js +1 -1
- package/lib/components/range-selector-pop/RangeSelectorPop.js +1 -1
- package/lib/components/select/Option.js +1 -1
- package/lib/components/select/index.js +1 -1
- package/lib/components/stop-taking-modal/index.js +3 -0
- package/lib/components/tita-chart/errorBoundary/index.js +1 -1
- package/lib/components/upload/components/uploadedPreview.js +1 -1
- package/lib/components/upload/index.js +1 -1
- package/lib/components/upload-photo-modal/index.js +1 -1
- package/lib/components/viewer/ImageListRender.js +1 -1
- package/lib/components/viewer/index.js +1 -1
- package/lib/components-v1/animate/AnimateChild.js +1 -1
- package/lib/components-v1/animate/animate.js +1 -1
- package/lib/components-v1/avatar/index.js +1 -1
- package/lib/components-v1/buttonv2/ButtonOutlined.js +1 -1
- package/lib/components-v1/buttonv2/ButtonRounded.js +1 -1
- package/lib/components-v1/buttonv2/DefaultButton.js +1 -1
- package/lib/components-v1/confirm/index.js +1 -1
- package/lib/components-v1/dropDownSelector/StatelessDropdown.js +1 -1
- package/lib/components-v1/dropDownSelector/dropDownSelector.js +1 -1
- package/lib/components-v1/input/Input.js +1 -1
- package/lib/components-v1/input/InputNumber.js +1 -1
- package/lib/components-v1/placement/placement.js +1 -1
- package/lib/components-v1/placement/placementInner.js +1 -1
- package/lib/components-v1/pop/Pop.js +1 -1
- package/lib/components-v1/pop/PopInner.js +1 -1
- package/lib/components-v1/portals/Portals.js +1 -1
- package/lib/components-v1/progress/CircleProgress.js +1 -1
- package/lib/components-v1/progress/LineProgress.js +1 -1
- package/lib/components-v1/progress/index.js +1 -1
- package/lib/components-v1/radio/radio.js +1 -1
- package/lib/components-v1/radio/radioGroup.js +1 -1
- package/lib/components-v1/search/index.js +1 -1
- package/lib/components-v1/select/Option.js +1 -1
- package/lib/components-v1/select/index.js +1 -1
- package/lib/components-v1/tabs/index.js +1 -1
- package/lib/components-v1/textarea/index.js +1 -1
- package/lib/components-v1/transition/index.js +1 -1
- package/lib/components-v1/userSelector/UserSelectorPop.js +1 -1
- package/lib/components-v1/userSelector/components/MultiMode/CommonList.js +1 -1
- package/lib/components-v1/userSelector/components/MultiMode/DepartmentList.js +1 -1
- package/lib/components-v1/userSelector/components/MultiMode/DepartmentTree.js +1 -1
- package/lib/components-v1/userSelector/components/MultiMode/SubsList.js +1 -1
- package/lib/components-v1/userSelector/components/MultiMode/index.js +1 -1
- package/lib/components-v1/userSelector/components/SearchBar.js +1 -1
- package/lib/components-v1/userSelector/components/SingleMode.js +1 -1
- package/lib/components-v1/userSelector/components/UserItem.js +1 -1
- package/lib/components-v1/userSelector/index.js +1 -1
- package/lib/pages/aha2021/index.js +3 -6
- package/lib/pages/appointment-demo/input/index.js +1 -1
- package/lib/pages/group-management/components/input-form/index.js +1 -1
- package/lib/utils/auth.js +1 -1
- package/lib/utils/bs-global.js +1 -1
- package/package.json +1 -1
- package/src/components/dynamic/dynamic.tsx +1 -2
- package/src/components/hr-header/{arrow.png → img/arrow.png} +0 -0
- package/src/components/hr-header/img/notice.png +0 -0
- package/src/components/hr-header/index.scss +19 -0
- package/src/components/hr-header/index.tsx +7 -3
- package/src/components/mblog/components/MblogAction.tsx +2 -2
- package/src/components/nav-top/components/user-message/hrMessage.tsx +136 -0
- package/src/components/nav-top/components/user-message/images/notice.png +0 -0
- package/src/components/nav-top/components/user-message/index.scss +81 -0
- package/src/components/nav-top/components/user-message/msg/index.tsx +85 -48
- package/src/components/stop-taking-modal/index.tsx +2 -0
- package/src/components/upload-photo-modal/index.tsx +1 -1
- package/src/pages/aha2021/index.tsx +2 -6
- package/src/utils/bs-global.js +1 -1
- package/yarn-error.log +15807 -16
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
|
+
|
|
14
|
+
var _popup = _interopRequireDefault(require("../../../popup"));
|
|
15
|
+
|
|
16
|
+
var _msg = _interopRequireDefault(require("./msg"));
|
|
17
|
+
|
|
18
|
+
var _bsGlobal = require("../../../../utils/bs-global");
|
|
19
|
+
|
|
20
|
+
var _constant = require("./constant");
|
|
21
|
+
|
|
22
|
+
var _redPack = _interopRequireDefault(require("./components/red-pack"));
|
|
23
|
+
|
|
24
|
+
var _request = require("../../request.apis");
|
|
25
|
+
|
|
26
|
+
require("./index.css");
|
|
27
|
+
|
|
28
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
29
|
+
|
|
30
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
31
|
+
|
|
32
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
33
|
+
|
|
34
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
35
|
+
|
|
36
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
37
|
+
|
|
38
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
39
|
+
|
|
40
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
41
|
+
|
|
42
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
43
|
+
|
|
44
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
45
|
+
|
|
46
|
+
var prefixCls = 'titaui-user-message';
|
|
47
|
+
|
|
48
|
+
var HrMessage = function HrMessage() {
|
|
49
|
+
var _useState = (0, _react.useState)(0),
|
|
50
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
51
|
+
infosNum = _useState2[0],
|
|
52
|
+
setInfosNum = _useState2[1];
|
|
53
|
+
|
|
54
|
+
var _useState3 = (0, _react.useState)([]),
|
|
55
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
56
|
+
allData = _useState4[0],
|
|
57
|
+
setAllData = _useState4[1];
|
|
58
|
+
|
|
59
|
+
var _useState5 = (0, _react.useState)(0),
|
|
60
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
61
|
+
redPackNum = _useState6[0],
|
|
62
|
+
setRedPackNum = _useState6[1];
|
|
63
|
+
|
|
64
|
+
var _useState7 = (0, _react.useState)(false),
|
|
65
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
66
|
+
popupVisible = _useState8[0],
|
|
67
|
+
setPopupVisible = _useState8[1];
|
|
68
|
+
|
|
69
|
+
var _useState9 = (0, _react.useState)(0),
|
|
70
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
71
|
+
preData = _useState10[0],
|
|
72
|
+
setPreData = _useState10[1];
|
|
73
|
+
|
|
74
|
+
var _useState11 = (0, _react.useState)('todos'),
|
|
75
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
76
|
+
firstTab = _useState12[0],
|
|
77
|
+
setFirstTab = _useState12[1];
|
|
78
|
+
|
|
79
|
+
var handleShowInfos = function handleShowInfos() {
|
|
80
|
+
setPopupVisible(true);
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
var handleIntervalRequestMessageInfo = function handleIntervalRequestMessageInfo() {
|
|
84
|
+
(0, _request.getMessages)().then(function (res) {
|
|
85
|
+
if (res.Code === 1) {
|
|
86
|
+
setAllData(res.Data.indicators);
|
|
87
|
+
var indicators = res.Data.indicators;
|
|
88
|
+
var todos = indicators.find(function (item) {
|
|
89
|
+
return item.type === 'todoIndicator';
|
|
90
|
+
});
|
|
91
|
+
var informs = indicators.find(function (item) {
|
|
92
|
+
return item.type === 'messageIndicator';
|
|
93
|
+
});
|
|
94
|
+
var replys = indicators.find(function (item) {
|
|
95
|
+
return item.type === 'mLeaveandComment';
|
|
96
|
+
});
|
|
97
|
+
var reminds = indicators.find(function (item) {
|
|
98
|
+
return item.type === 'Tx';
|
|
99
|
+
});
|
|
100
|
+
var total = 0; // @与回复的数量在通知里面包含了
|
|
101
|
+
|
|
102
|
+
if (reminds && reminds.value) {
|
|
103
|
+
total += reminds.value;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
if (informs) {
|
|
107
|
+
total += informs.value;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
if (todos) {
|
|
111
|
+
total += todos.value;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
setPreData(infosNum);
|
|
115
|
+
setInfosNum(total);
|
|
116
|
+
|
|
117
|
+
if (todos && todos.value) {
|
|
118
|
+
setFirstTab('todos');
|
|
119
|
+
} else if (informs && !replys && informs.value) {
|
|
120
|
+
setFirstTab('informs');
|
|
121
|
+
} else if (replys && informs.value - replys.value === 0) {
|
|
122
|
+
setFirstTab('replys');
|
|
123
|
+
} else if (replys && informs.value - replys.value > 0) {
|
|
124
|
+
setFirstTab('informs');
|
|
125
|
+
} else if (reminds && reminds.value) {
|
|
126
|
+
setFirstTab('reminds');
|
|
127
|
+
} else {
|
|
128
|
+
setFirstTab("todos");
|
|
129
|
+
} // 判断是企业勋章
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
var enterpriseMedalMsg = indicators.filter(function (item) {
|
|
133
|
+
return item.messageType === 1 && item.indicatorType === 1969002;
|
|
134
|
+
}); // @ts-ignore
|
|
135
|
+
|
|
136
|
+
enterpriseMedalMsg.length > 0 && window.util.upaasEnterpriseMedal(); // upaas 勋章
|
|
137
|
+
|
|
138
|
+
var medalDetail = (0, _bsGlobal.getBSGlobal)('medalDetail'); // @ts-ignore
|
|
139
|
+
|
|
140
|
+
medalDetail && window.util.upaasMedal()(medalDetail); // 红包
|
|
141
|
+
|
|
142
|
+
var mRedPackIndicator = indicators.filter(function (item) {
|
|
143
|
+
return item.type === 'mRedPackIndicator';
|
|
144
|
+
});
|
|
145
|
+
mRedPackIndicator.length > 0 && setRedPackNum(mRedPackIndicator[0].value); // 祝福,拆礼物
|
|
146
|
+
|
|
147
|
+
var blessIndicator = indicators.filter(function (item) {
|
|
148
|
+
return item.type === 'mZhufu';
|
|
149
|
+
});
|
|
150
|
+
var weeklyReportIndicator = indicators.filter(function (item) {
|
|
151
|
+
return item.type === 'mWeekStatisticIndicator';
|
|
152
|
+
});
|
|
153
|
+
|
|
154
|
+
if (blessIndicator.length === 1) {
|
|
155
|
+
var userInfo = (0, _bsGlobal.getUserInfo)();
|
|
156
|
+
var options = {
|
|
157
|
+
needMask: true,
|
|
158
|
+
toUserId: userInfo.Id,
|
|
159
|
+
blessingTime: blessIndicator[0]['latestUpdateDate']
|
|
160
|
+
}; // @ts-ignore
|
|
161
|
+
|
|
162
|
+
window.util.openGift(options);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
if (weeklyReportIndicator.length) {
|
|
166
|
+
var _window;
|
|
167
|
+
|
|
168
|
+
(_window = window) === null || _window === void 0 ? void 0 : _window.Talent.app.vent.trigger('open-weekly-report-modal');
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
(0, _react.useEffect)(function () {
|
|
175
|
+
setPreData(infosNum);
|
|
176
|
+
handleIntervalRequestMessageInfo();
|
|
177
|
+
setInterval(handleIntervalRequestMessageInfo, 15000);
|
|
178
|
+
}, []);
|
|
179
|
+
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_popup["default"], {
|
|
180
|
+
popup: /*#__PURE__*/_react["default"].createElement(_msg["default"], {
|
|
181
|
+
onItemClick: setPopupVisible,
|
|
182
|
+
allData: allData,
|
|
183
|
+
handleIntervalRequestMessageInfo: handleIntervalRequestMessageInfo,
|
|
184
|
+
firstTab: firstTab,
|
|
185
|
+
tabs: ['todos', 'informs', 'replys']
|
|
186
|
+
}),
|
|
187
|
+
popupVisible: popupVisible,
|
|
188
|
+
popupTransitionName: (0, _classnames["default"])("".concat(prefixCls, "__popup-right-bottom")),
|
|
189
|
+
popupAlign: _constant.popupAlign,
|
|
190
|
+
mask: false,
|
|
191
|
+
destroyPopupOnHide: true
|
|
192
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
193
|
+
className: (0, _classnames["default"])("".concat(prefixCls, "__hr-notice")),
|
|
194
|
+
onClick: handleShowInfos
|
|
195
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
196
|
+
src: require("./images/notice.png")
|
|
197
|
+
}))), /*#__PURE__*/_react["default"].createElement(_redPack["default"], {
|
|
198
|
+
redPackNum: redPackNum
|
|
199
|
+
}));
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
var _default = HrMessage;
|
|
203
|
+
exports["default"] = _default;
|
|
Binary file
|
|
@@ -75,6 +75,65 @@
|
|
|
75
75
|
animation-play-state: running;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
+
.titaui-user-message__popup-right-bottom-enter {
|
|
79
|
+
opacity: 0;
|
|
80
|
+
animation-duration: 0.2s;
|
|
81
|
+
animation-fill-mode: both;
|
|
82
|
+
animation-timing-function: linear;
|
|
83
|
+
animation-play-state: paused;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.titaui-user-message__popup-right-bottom-enter-active {
|
|
87
|
+
animation-name: titaPopupInRB;
|
|
88
|
+
animation-play-state: running;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.titaui-user-message__popup-right-bottom-appear {
|
|
92
|
+
opacity: 0;
|
|
93
|
+
animation-duration: 0.2s;
|
|
94
|
+
animation-fill-mode: both;
|
|
95
|
+
animation-timing-function: linear;
|
|
96
|
+
animation-play-state: paused;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.titaui-user-message__popup-right-bottom-appear-active {
|
|
100
|
+
animation-name: titaPopupInRB;
|
|
101
|
+
animation-play-state: running;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.titaui-user-message__popup-right-bottom-leave {
|
|
105
|
+
animation-duration: 0.1s;
|
|
106
|
+
animation-fill-mode: both;
|
|
107
|
+
animation-timing-function: linear;
|
|
108
|
+
animation-play-state: paused;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.titaui-user-message__popup-right-bottom-leave-active {
|
|
112
|
+
animation-name: titaPopupOutRB;
|
|
113
|
+
animation-play-state: running;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.titaui-user-message__hr-notice {
|
|
117
|
+
width: 42px;
|
|
118
|
+
height: 42px;
|
|
119
|
+
background: linear-gradient(180deg, #4E90FF 0%, #2879FF 100%);
|
|
120
|
+
box-shadow: 0px 4px 12px 0px rgba(40, 121, 255, 0.3), inset 0px 0px 6px 2px rgba(255, 255, 255, 0.5);
|
|
121
|
+
cursor: pointer;
|
|
122
|
+
border-radius: 50%;
|
|
123
|
+
display: flex;
|
|
124
|
+
align-items: center;
|
|
125
|
+
justify-content: center;
|
|
126
|
+
position: absolute;
|
|
127
|
+
bottom: 36px;
|
|
128
|
+
right: 24px;
|
|
129
|
+
z-index: 2;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.titaui-user-message__hr-notice img {
|
|
133
|
+
width: 32px;
|
|
134
|
+
height: 42px;
|
|
135
|
+
}
|
|
136
|
+
|
|
78
137
|
@keyframes titaPopupInRT {
|
|
79
138
|
0% {
|
|
80
139
|
opacity: 0;
|
|
@@ -89,6 +148,20 @@
|
|
|
89
148
|
}
|
|
90
149
|
}
|
|
91
150
|
|
|
151
|
+
@keyframes titaPopupInRB {
|
|
152
|
+
0% {
|
|
153
|
+
opacity: 0;
|
|
154
|
+
transform-origin: 100% 100%;
|
|
155
|
+
transform: scale(0, 0);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
100% {
|
|
159
|
+
opacity: 1;
|
|
160
|
+
transform-origin: 100% 100%;
|
|
161
|
+
transform: scale(1, 1);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
92
165
|
@keyframes titaPopupOutRT {
|
|
93
166
|
0% {
|
|
94
167
|
opacity: 1;
|
|
@@ -103,6 +176,20 @@
|
|
|
103
176
|
}
|
|
104
177
|
}
|
|
105
178
|
|
|
179
|
+
@keyframes titaPopupOutRB {
|
|
180
|
+
0% {
|
|
181
|
+
opacity: 1;
|
|
182
|
+
transform-origin: 100% 100%;
|
|
183
|
+
transform: scale(1, 1);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
100% {
|
|
187
|
+
opacity: 0;
|
|
188
|
+
transform-origin: 100% 100%;
|
|
189
|
+
transform: scale(0, 0);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
106
193
|
@keyframes bell-shake {
|
|
107
194
|
5%,
|
|
108
195
|
25%,
|
|
@@ -53,7 +53,9 @@ var UserMessage = function UserMessage(props) {
|
|
|
53
53
|
var onItemClick = props.onItemClick,
|
|
54
54
|
allData = props.allData,
|
|
55
55
|
handleIntervalRequestMessageInfo = props.handleIntervalRequestMessageInfo,
|
|
56
|
-
firstTab = props.firstTab
|
|
56
|
+
firstTab = props.firstTab,
|
|
57
|
+
_props$tabs = props.tabs,
|
|
58
|
+
tabs = _props$tabs === void 0 ? ["todos", "informs", "replys", "reminds"] : _props$tabs;
|
|
57
59
|
|
|
58
60
|
var _useState = (0, _react.useState)(0),
|
|
59
61
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -102,39 +104,39 @@ var UserMessage = function UserMessage(props) {
|
|
|
102
104
|
inkBar: true,
|
|
103
105
|
tabPane: false
|
|
104
106
|
}
|
|
105
|
-
}, /*#__PURE__*/_react["default"].createElement(_tabs.TabPane, {
|
|
107
|
+
}, tabs.includes("todos") && /*#__PURE__*/_react["default"].createElement(_tabs.TabPane, {
|
|
106
108
|
tab: /*#__PURE__*/_react["default"].createElement(_tabTitle["default"], {
|
|
107
109
|
data: getData("todoIndicator"),
|
|
108
|
-
title: (0, _getLocale.getLocale)(
|
|
110
|
+
title: (0, _getLocale.getLocale)("Top_Message_title_Todos"),
|
|
109
111
|
tab: "todos"
|
|
110
112
|
}),
|
|
111
113
|
key: "todos"
|
|
112
114
|
}, /*#__PURE__*/_react["default"].createElement(_todos["default"], {
|
|
113
115
|
onItemClick: onItemClick
|
|
114
|
-
})), /*#__PURE__*/_react["default"].createElement(_tabs.TabPane, {
|
|
116
|
+
})), tabs.includes("informs") && /*#__PURE__*/_react["default"].createElement(_tabs.TabPane, {
|
|
115
117
|
tab: /*#__PURE__*/_react["default"].createElement(_tabTitle["default"], {
|
|
116
118
|
data: getData("messageIndicator") - getData("mLeaveandComment"),
|
|
117
|
-
title: (0, _getLocale.getLocale)(
|
|
119
|
+
title: (0, _getLocale.getLocale)("Menu_Title_Notice"),
|
|
118
120
|
tab: "informs"
|
|
119
121
|
}),
|
|
120
122
|
key: "informs"
|
|
121
123
|
}, /*#__PURE__*/_react["default"].createElement(_inform["default"], {
|
|
122
124
|
onItemClick: onItemClick,
|
|
123
125
|
handleIntervalRequestMessageInfo: handleIntervalRequestMessageInfo
|
|
124
|
-
})), /*#__PURE__*/_react["default"].createElement(_tabs.TabPane, {
|
|
126
|
+
})), tabs.includes("replys") && /*#__PURE__*/_react["default"].createElement(_tabs.TabPane, {
|
|
125
127
|
tab: /*#__PURE__*/_react["default"].createElement(_tabTitle["default"], {
|
|
126
128
|
data: getData("mLeaveandComment"),
|
|
127
|
-
title: (0, _getLocale.getLocale)(
|
|
129
|
+
title: (0, _getLocale.getLocale)("Top_Message_title_@&Replies"),
|
|
128
130
|
tab: "replys"
|
|
129
131
|
}),
|
|
130
132
|
key: "replys"
|
|
131
133
|
}, /*#__PURE__*/_react["default"].createElement(_reply["default"], {
|
|
132
134
|
onItemClick: onItemClick,
|
|
133
135
|
handleIntervalRequestMessageInfo: handleIntervalRequestMessageInfo
|
|
134
|
-
})), /*#__PURE__*/_react["default"].createElement(_tabs.TabPane, {
|
|
136
|
+
})), tabs.includes("reminds") && /*#__PURE__*/_react["default"].createElement(_tabs.TabPane, {
|
|
135
137
|
tab: /*#__PURE__*/_react["default"].createElement(_tabTitle["default"], {
|
|
136
138
|
data: remindTotal,
|
|
137
|
-
title: (0, _getLocale.getLocale)(
|
|
139
|
+
title: (0, _getLocale.getLocale)("Top_Message_title_AlarmReminders"),
|
|
138
140
|
tab: "reminds"
|
|
139
141
|
}),
|
|
140
142
|
key: "reminds"
|
|
@@ -9,7 +9,7 @@ exports.OAuth = exports.KRAuth = exports.EAuth = exports.BaseAuth = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _bsGlobal = require("../../utils/bs-global");
|
|
11
11
|
|
|
12
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
12
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
13
13
|
|
|
14
14
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
15
15
|
|
|
@@ -23,7 +23,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
23
23
|
|
|
24
24
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
25
|
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
26
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
28
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
@@ -31,7 +31,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
31
31
|
|
|
32
32
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
33
33
|
|
|
34
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
34
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
35
35
|
|
|
36
36
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
37
37
|
|
|
@@ -49,7 +49,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
49
49
|
|
|
50
50
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
51
51
|
|
|
52
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
52
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
53
53
|
|
|
54
54
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
55
55
|
|
package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js
CHANGED
|
@@ -37,7 +37,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
37
37
|
|
|
38
38
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
39
39
|
|
|
40
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
40
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
41
41
|
|
|
42
42
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
43
43
|
|
|
@@ -51,7 +51,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
51
51
|
|
|
52
52
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
53
53
|
|
|
54
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
54
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
55
55
|
|
|
56
56
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
57
57
|
|
|
@@ -65,7 +65,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
65
65
|
|
|
66
66
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
67
67
|
|
|
68
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
68
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
69
69
|
|
|
70
70
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
71
71
|
|
|
@@ -21,7 +21,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
21
21
|
|
|
22
22
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
23
23
|
|
|
24
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
24
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
25
25
|
|
|
26
26
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
27
27
|
|
|
@@ -39,7 +39,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
39
39
|
|
|
40
40
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
41
41
|
|
|
42
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
42
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
43
43
|
|
|
44
44
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
45
45
|
|
|
@@ -25,7 +25,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
25
25
|
|
|
26
26
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
27
27
|
|
|
28
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
28
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
30
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
31
|
|
|
@@ -27,7 +27,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
27
27
|
|
|
28
28
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
29
29
|
|
|
30
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
30
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
32
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
@@ -43,7 +43,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
43
43
|
|
|
44
44
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
45
45
|
|
|
46
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
46
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
47
47
|
|
|
48
48
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
49
49
|
|
|
@@ -27,7 +27,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
27
27
|
|
|
28
28
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
29
29
|
|
|
30
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
30
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
32
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
@@ -33,7 +33,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
33
33
|
|
|
34
34
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
35
35
|
|
|
36
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
36
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
37
37
|
|
|
38
38
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
39
39
|
|
|
@@ -23,7 +23,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
23
23
|
|
|
24
24
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
25
|
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
26
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
28
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
@@ -27,7 +27,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
27
27
|
|
|
28
28
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
29
29
|
|
|
30
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
30
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
32
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
@@ -41,7 +41,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
41
41
|
|
|
42
42
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
43
43
|
|
|
44
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
44
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
45
45
|
|
|
46
46
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
47
47
|
|
|
@@ -35,7 +35,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
35
35
|
|
|
36
36
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
37
37
|
|
|
38
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
38
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
39
39
|
|
|
40
40
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
41
41
|
|
|
@@ -23,7 +23,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
23
23
|
|
|
24
24
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
25
|
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
26
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
28
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
@@ -25,7 +25,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
25
25
|
|
|
26
26
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
27
27
|
|
|
28
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
28
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
30
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
31
|
|
|
@@ -27,7 +27,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
27
27
|
|
|
28
28
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
29
29
|
|
|
30
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
30
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
32
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|