@titaui/pc 1.13.2-beta.18 → 1.13.2-beta.19

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.
Files changed (66) hide show
  1. package/lib/components/create-okr-modal/index.js +1 -4
  2. package/lib/components/dialog-upload/util.js +1 -19
  3. package/lib/components/dynamic/dynamic-item/components/okr-progress/index.js +3 -2
  4. package/lib/components/dynamic/dynamic-item/components/schedule/index.js +5 -1
  5. package/lib/components/dynamic/dynamic-item/components/table-row-okr/index.css +12 -0
  6. package/lib/components/dynamic/dynamic-item/components/table-row-okr/index.js +13 -2
  7. package/lib/components/dynamic/dynamic-item/components/table-row-okr/utils.js +56 -0
  8. package/lib/components/dynamic/dynamic-item/components/task-progress/render-row.js +2 -2
  9. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/remind-user-view/index.css +16 -1
  10. package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/remind-user-view/index.js +51 -9
  11. package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.js +27 -10
  12. package/lib/components/dynamic/dynamic-item/dynamic-progress/index.js +6 -4
  13. package/lib/components/dynamic/dynamic-item/index.js +23 -3
  14. package/lib/components/dynamic/request-api.js +9 -2
  15. package/lib/components/file-list/components/single-file/index.css +0 -29
  16. package/lib/components/file-list/components/single-file/index.js +28 -18
  17. package/lib/components/file-list/index.js +1 -2
  18. package/lib/components/nav-top/components/app-center/index.js +1 -6
  19. package/lib/components/nav-top/components/menu/index.js +14 -44
  20. package/lib/components/nav-top/index.css +0 -6
  21. package/lib/components/nav-top/index.js +2 -138
  22. package/lib/components/nav-top/request.apis.js +2 -10
  23. package/lib/components/okr-detail/schedule/components/kr-progress/index.js +1 -4
  24. package/lib/components/okr-review/ReviewPop/components/ReviewBody/index.js +1 -1
  25. package/lib/components/rich-editor/plugins/inline/color/commond.js +3 -3
  26. package/lib/components/rich-editor-at/index.js +85 -13
  27. package/lib/components/scroll-container/index.js +6 -27
  28. package/lib/components/search-input/index.css +2 -2
  29. package/lib/components/search-input/index.js +0 -4
  30. package/lib/components/upload/index.js +455 -273
  31. package/lib/components/version-change-modal/index.js +3 -1
  32. package/lib/index.js +0 -8
  33. package/lib/utils/mock-bsglobal.js +1837 -0
  34. package/lib/utils/open-data.js +68 -77
  35. package/lib/utils/tools.js +1 -11
  36. package/package.json +3 -2
  37. package/lib/components/checkbox-list/index.css +0 -31
  38. package/lib/components/checkbox-list/index.js +0 -68
  39. package/lib/components/dialog-qq-docs/index.css +0 -106
  40. package/lib/components/dialog-qq-docs/index.js +0 -501
  41. package/lib/components/dialog-qq-docs/request-apis.js +0 -16
  42. package/lib/components/dialog-qq-docs/utils.js +0 -83
  43. package/lib/components/dialog-select/index.css +0 -9
  44. package/lib/components/dialog-select/index.js +0 -48
  45. package/lib/components/dialog-upload/img/folder.svg +0 -40
  46. package/lib/components/dialog-upload/img/form.svg +0 -38
  47. package/lib/components/dialog-upload/img/mind.svg +0 -39
  48. package/lib/components/dialog-upload-type/assets/folder.svg +0 -20
  49. package/lib/components/dialog-upload-type/assets/qq-docs.svg +0 -20
  50. package/lib/components/dialog-upload-type/components/upload-type-item/index.css +0 -14
  51. package/lib/components/dialog-upload-type/components/upload-type-item/index.js +0 -36
  52. package/lib/components/dialog-upload-type/index.css +0 -7
  53. package/lib/components/dialog-upload-type/index.js +0 -75
  54. package/lib/components/file-preview/index.css +0 -44
  55. package/lib/components/file-preview/index.js +0 -68
  56. package/lib/components/loading/assets/loading.gif +0 -0
  57. package/lib/components/loading/index.css +0 -28
  58. package/lib/components/loading/index.js +0 -64
  59. package/lib/components/nav/index.css +0 -37
  60. package/lib/components/nav/index.js +0 -31
  61. package/lib/components/okr-guide/constant.js +0 -23
  62. package/lib/components/okr-guide/img/left-img.jpg +0 -0
  63. package/lib/components/okr-guide/index.css +0 -148
  64. package/lib/components/okr-guide/index.js +0 -244
  65. package/lib/components/okr-guide/request-api.js +0 -57
  66. package/lib/components/upload/upload.js +0 -555
@@ -9,10 +9,10 @@ exports.parseTag = exports.parseStringV2 = exports.parseString = exports.parseOp
9
9
 
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
 
12
- var Sentry = _interopRequireWildcard(require("@sentry/browser"));
13
-
14
12
  var _bsGlobal = require("./bs-global");
15
13
 
14
+ var Sentry = _interopRequireWildcard(require("@sentry/browser"));
15
+
16
16
  var _openDataPainter = require("../components/open-data-painter");
17
17
 
18
18
  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); }
@@ -43,13 +43,13 @@ var getSource = function getSource() {
43
43
  exports.getSource = getSource;
44
44
 
45
45
  var isWechat = function isWechat() {
46
- return getSource() === WX_SOURCE;
46
+ return getSource() == 860;
47
47
  };
48
48
 
49
49
  exports.isWechat = isWechat;
50
50
 
51
51
  var isWxTrial = function isWxTrial() {
52
- return getSource() === WX_SOURCE && (0, _bsGlobal.getVersion)() === 1;
52
+ return getSource() == 860 && (0, _bsGlobal.getVersion)() == 1;
53
53
  };
54
54
 
55
55
  exports.isWxTrial = isWxTrial;
@@ -72,48 +72,50 @@ var getOpenId = function getOpenId(id, type) {
72
72
 
73
73
  exports.getOpenId = getOpenId;
74
74
 
75
- function openData() {
76
- var _getBSGlobal;
77
-
78
- // 企业微信租户 && 非自建应用
79
- if (getSource() === WX_SOURCE && ((_getBSGlobal = (0, _bsGlobal.getBSGlobal)("tenantInfo")) === null || _getBSGlobal === void 0 ? void 0 : _getBSGlobal.corpCreateType) !== 2 || getUA().includes(WX_UA_STR)) {
75
+ function openData(p) {
76
+ //@ts-ignore
77
+ if (getSource() == WX_SOURCE || getUA().includes(WX_UA_STR)) {
80
78
  return function (p) {
81
- var pId = p.id,
82
- pName = p.name,
83
- pCorpId = p.corpId,
84
- pType = p.type;
85
-
86
- if (pId === undefined && pCorpId === undefined) {
87
- return pName || null;
88
- } // @ts-ignore
89
-
90
-
91
- var openId = pCorpId || getOpenId(pId, pType);
79
+ if (p.id === undefined && p.corpId === undefined) {
80
+ Sentry.withScope(function (scope) {
81
+ scope.setTag("error-level", "P1");
82
+ scope.setTag("error-type", "企业微信openData调用失败");
83
+ scope.setExtra("fail_type", p.type);
84
+ scope.setExtra("p_id", p.id);
85
+ scope.setExtra("corp_id", p.corp_id);
86
+ scope.setExtra("p_name", p.name);
87
+ p.callFunc && scope.setExtra("fail_callFunc", p.callFunc);
88
+ p.extra && scope.setExtra("fail_extra", p.extra);
89
+ Sentry.captureException(new Error("企业微信openData调用失败"), scope);
90
+ });
91
+ return p.name || null;
92
+ } //@ts-ignore
93
+
94
+
95
+ var openId = p.corpId || getOpenId(p.id, p.type);
92
96
 
93
97
  if (!openId) {
94
- if (!pId) {
95
- Sentry.withScope(function (scope) {
96
- scope.setTag("error-level", "P1");
97
- scope.setTag("error-type", "企业微信openData调用失败");
98
- scope.setExtra("fail_type", pType);
99
- scope.setExtra("p_id", pId);
100
- scope.setExtra("p_name", pName);
101
- scope.setExtra("corp_id", pCorpId);
102
- scope.setExtra("open_id", getOpenId(pId, pType));
103
- p.callFunc && scope.setExtra("fail_callFunc", p.callFunc);
104
- p.extra && scope.setExtra("fail_extra", p.extra);
105
- Sentry.captureException(new Error("企业微信openData调用失败"), scope);
106
- });
107
- }
98
+ Sentry.withScope(function (scope) {
99
+ scope.setTag("error-level", "P1");
100
+ scope.setTag("error-type", "企业微信openData调用失败");
101
+ scope.setExtra("fail_type", p.type);
102
+ scope.setExtra("p_id", p.id);
103
+ scope.setExtra("p_name", p.name);
104
+ scope.setExtra("corp_id", p.corp_id);
105
+ scope.setExtra('open_id', getOpenId(p.id, p.type));
106
+ p.callFunc && scope.setExtra("fail_callFunc", p.callFunc);
107
+ p.extra && scope.setExtra("fail_extra", p.extra);
108
+ Sentry.captureException(new Error("企业微信openData调用失败"), scope);
109
+ });
110
+ return p.name || p.id || null;
111
+ } //<span style={{color:'red'}}>OPENID_EMPTY</span>;
108
112
 
109
- return pName || pId || null;
110
- }
111
113
 
112
114
  var ref = (0, _react.useRef)(null);
113
- (0, _react.useLayoutEffect)(function () {
115
+ (0, _react.useEffect)(function () {
114
116
  var _ref;
115
117
 
116
- // @ts-ignore
118
+ //@ts-ignore
117
119
  (_ref = window.WWOpenData && window.WWOpenData || window.top.WWOpenData) === null || _ref === void 0 ? void 0 : _ref.bind(ref.current);
118
120
  if (!p.id) return;
119
121
  var openId = getOpenId(p.id, p.type);
@@ -122,21 +124,21 @@ function openData() {
122
124
  }, []);
123
125
  return /*#__PURE__*/_react["default"].createElement("div", {
124
126
  style: {
125
- display: "inline",
126
- position: "relative",
127
- overflow: "hidden",
128
- textOverflow: "ellipsis"
127
+ display: 'inline',
128
+ position: 'relative',
129
+ overflow: 'hidden',
130
+ textOverflow: 'ellipsis'
129
131
  }
130
132
  },
131
133
  /*#__PURE__*/
132
- // @ts-ignore
134
+ //@ts-ignore
133
135
  _react["default"].createElement("ww-open-data", {
134
136
  ref: ref,
135
137
  type: p.type,
136
138
  openid: openId
137
139
  }), /*#__PURE__*/_react["default"].createElement("div", {
138
140
  style: {
139
- position: "absolute",
141
+ position: 'absolute',
140
142
  top: 0,
141
143
  left: 0,
142
144
  right: 0,
@@ -145,11 +147,11 @@ function openData() {
145
147
  }
146
148
  }));
147
149
  };
150
+ } else {
151
+ return function (p) {
152
+ return p.name || p.id || null;
153
+ };
148
154
  }
149
-
150
- return function (p) {
151
- return p.name || p.id || null;
152
- };
153
155
  }
154
156
 
155
157
  var getOpenData = openData();
@@ -180,23 +182,20 @@ var isPlatform = function isPlatform(name) {
180
182
  switch (name) {
181
183
  case "wx":
182
184
  {
183
- if (type == "source") return getSource() === WX_SOURCE;
185
+ if (type == "source") return getSource() == WX_SOURCE;
184
186
  if (type == "env") return getUA().includes(WX_UA_STR);
185
- return getSource() === WX_SOURCE || getUA().includes(WX_UA_STR);
187
+ return getSource() == WX_SOURCE || getUA().includes(WX_UA_STR);
186
188
  }
187
189
 
188
190
  case "dd":
189
191
  {
190
- return getSource() === DINGTALK_SOURCE;
192
+ return getSource() == DINGTALK_SOURCE;
191
193
  }
192
194
 
193
195
  case "feishu":
194
196
  {
195
- return getSource() === FEISHU_SOURCE;
197
+ return getSource() == FEISHU_SOURCE;
196
198
  }
197
-
198
- default:
199
- return false;
200
199
  }
201
200
  };
202
201
 
@@ -208,7 +207,7 @@ var parseTag = function parseTag(str) {
208
207
  var reg = /<\w+[\w\W]*?(userId|departmentId)=["'](\S+?)["'][\w\W]*?>@([\w\W]*?)<\/\w+>/g;
209
208
  var strReg = /<\w+[\w\s"'\/=\:\.]*?(?:userId|departmentId)=["']\S+?["'][\w\s"'\/=\:\.]*?>[\w\W]*?<\/\w+?>/;
210
209
  var openDatas = [];
211
- var matchStr = reg.exec(str); // if (source != WX_SOURCE && ua.indexOf('micromessenger') == -1)
210
+ var matchStr = reg.exec(str); // if (source != 860 && ua.indexOf('micromessenger') == -1)
212
211
  // return <span dangerouslySetInnerHTML={{ '__html': str }} />;
213
212
 
214
213
  while (matchStr != null) {
@@ -259,18 +258,14 @@ var parseTag = function parseTag(str) {
259
258
  exports.parseTag = parseTag;
260
259
 
261
260
  var parseString = function parseString(str) {
262
- // @ts-ignore
263
- var source = window.BSGlobal.tenantInfo.Source;
264
- var ua = navigator.userAgent.toLowerCase();
265
-
266
- if (source != WX_SOURCE && ua.indexOf("wxwork") == -1) {
267
- return /*#__PURE__*/_react["default"].createElement("span", {
268
- dangerouslySetInnerHTML: {
269
- __html: str
270
- }
271
- });
272
- }
273
-
261
+ //@ts-ignore
262
+ var source = window.BSGlobal.tenantInfo.Source,
263
+ ua = navigator.userAgent.toLowerCase();
264
+ if (source != 860 && ua.indexOf('wxwork') == -1) return /*#__PURE__*/_react["default"].createElement("span", {
265
+ dangerouslySetInnerHTML: {
266
+ __html: str
267
+ }
268
+ });
274
269
  var reg = /\[(\w+?)\:(\w+?)\]/g;
275
270
  var strReg = /\[\w+?\:\w+?\]/;
276
271
  var openDatas = [];
@@ -320,15 +315,11 @@ var parseStringV2 = function parseStringV2(str) {
320
315
  // @ts-ignore
321
316
  var source = window.BSGlobal.tenantInfo.Source;
322
317
  var ua = navigator.userAgent.toLowerCase();
323
-
324
- if (source != WX_SOURCE && ua.indexOf("micromessenger") == -1) {
325
- return /*#__PURE__*/_react["default"].createElement("span", {
326
- dangerouslySetInnerHTML: {
327
- __html: str
328
- }
329
- });
330
- }
331
-
318
+ if (source != 860 && ua.indexOf('micromessenger') == -1) return /*#__PURE__*/_react["default"].createElement("span", {
319
+ dangerouslySetInnerHTML: {
320
+ __html: str
321
+ }
322
+ });
332
323
  var reg = /\$(userName|departmentName)\=(.+?)\$/g;
333
324
  var strReg = /\$(?:userName|departmentName)\=.+?\$/;
334
325
  var openDatas = [];
@@ -10,9 +10,7 @@ exports.htmlDecodeByHtmlRegExp = htmlDecodeByHtmlRegExp;
10
10
  exports.htmlDecodeByRegExp = htmlDecodeByRegExp;
11
11
  exports.htmlEncodeByRegExp = htmlEncodeByRegExp;
12
12
  exports.htmlEncodeToHtmlByRegExp = htmlEncodeToHtmlByRegExp;
13
- exports.openPage = exports.htmlToText = void 0;
14
- exports.openUrl = openUrl;
15
- exports.unHighLight = void 0;
13
+ exports.unHighLight = exports.openPage = exports.htmlToText = void 0;
16
14
 
17
15
  var _platform = require("./platform");
18
16
 
@@ -36,14 +34,6 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
36
34
 
37
35
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
38
36
 
39
- function openUrl(url) {
40
- if (typeof url !== 'string') return;
41
- var newTab = window.open();
42
- if (!newTab) return;
43
- newTab.opener = null;
44
- newTab.location = url;
45
- }
46
-
47
37
  function htmlEncodeByRegExp(str) {
48
38
  if (!str) return "";
49
39
  var htmlString = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.13.2-beta.18",
3
+ "version": "1.13.2-beta.19",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
@@ -38,6 +38,7 @@
38
38
  "@types/styled-components": "5.1.2",
39
39
  "@typescript-eslint/eslint-plugin": "5.10.0",
40
40
  "@typescript-eslint/parser": "5.10.0",
41
+ "@webpack-cli/serve": "^1.7.0",
41
42
  "babel-loader": "8.1.0",
42
43
  "babel-plugin-import": "1.13.3",
43
44
  "babel-plugin-module-resolver": "4.1.0",
@@ -78,7 +79,7 @@
78
79
  "@titaui/rc-trigger": "5.2.5",
79
80
  "@titaui/react-flow-renderer": "9.5.4",
80
81
  "@titaui/request": "^1.0.1",
81
- "@titaui/rich-editor": "0.1.56",
82
+ "@titaui/rich-editor": "0.1.62",
82
83
  "@titaui/toast": "1.0.0",
83
84
  "@types/color": "3.0.3",
84
85
  "@types/prosemirror-commands": "1.0.4",
@@ -1,31 +0,0 @@
1
- .titaui-checkbox-list {
2
- display: flex;
3
- flex-direction: column;
4
- }
5
-
6
- .titaui-checkbox-list__item {
7
- display: flex;
8
- justify-content: space-between;
9
- align-items: center;
10
- padding: 0 6px 0 8px;
11
- cursor: pointer;
12
- height: 60px;
13
- border-radius: 8px;
14
- }
15
-
16
- .titaui-checkbox-list__item > * + * {
17
- margin-left: 20px;
18
- }
19
-
20
- .titaui-checkbox-list__item:hover {
21
- background-color: #F0F4FA;
22
- }
23
-
24
- .titaui-checkbox-list__item__content {
25
- width: 100%;
26
- overflow: hidden;
27
- }
28
-
29
- .titaui-checkbox-list__item__next {
30
- color: #89919f;
31
- }
@@ -1,68 +0,0 @@
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 _checkbox = _interopRequireDefault(require("../checkbox"));
13
-
14
- require("./index.css");
15
-
16
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
-
18
- 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); }
19
-
20
- 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; }
21
-
22
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
23
-
24
- function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
25
-
26
- 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); }
27
-
28
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
29
-
30
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
31
-
32
- 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; }
33
-
34
- var preCls = 'titaui-checkbox-list';
35
-
36
- var CheckBoxList = function CheckBoxList(_ref) {
37
- var dataList = _ref.dataList,
38
- onChange = _ref.onChange,
39
- disabled = _ref.disabled,
40
- _ref$className = _ref.className,
41
- className = _ref$className === void 0 ? '' : _ref$className;
42
- var onClickItemHandler = (0, _react.useCallback)(function (idx) {
43
- var newList = _toConsumableArray(dataList);
44
-
45
- if (newList[idx].disabled || disabled && !newList[idx].checked) return;
46
- if (!newList[idx].isFolder) newList[idx].checked = !newList[idx].checked;
47
- if (onChange) onChange(newList, idx, newList[idx]);
48
- }, [onChange, disabled]);
49
- return /*#__PURE__*/_react["default"].createElement("div", {
50
- className: "".concat(preCls, " ").concat(className)
51
- }, dataList.map(function (item, i) {
52
- return /*#__PURE__*/_react["default"].createElement("div", {
53
- className: "".concat(preCls, "__item"),
54
- onClick: onClickItemHandler.bind(null, i)
55
- }, /*#__PURE__*/_react["default"].createElement("div", {
56
- className: "".concat(preCls, "__item__content")
57
- }, item.component), item.isFolder ? /*#__PURE__*/_react["default"].createElement("span", {
58
- className: "".concat(preCls, "__item__next tu-icon-APP-xi")
59
- }) : /*#__PURE__*/_react["default"].createElement(_checkbox["default"], {
60
- disabled: disabled || item.disabled,
61
- checked: item.checked
62
- }));
63
- }));
64
- };
65
-
66
- var _default = /*#__PURE__*/_react["default"].memo(CheckBoxList);
67
-
68
- exports["default"] = _default;
@@ -1,106 +0,0 @@
1
- .titaui-dialog-qq-docs {
2
- width: 480px;
3
- }
4
-
5
- .titaui-dialog-qq-docs .px-32 {
6
- padding-left: 32px;
7
- padding-right: 32px;
8
- }
9
-
10
- .titaui-dialog-qq-docs .rc-dialog-body {
11
- height: 441px;
12
- }
13
-
14
- .titaui-dialog-qq-docs .rc-dialog-header, .titaui-dialog-qq-docs .rc-dialog-footer {
15
- border: 0;
16
- }
17
-
18
- .titaui-dialog-qq-docs__checked-num {
19
- color: #2879FF;
20
- }
21
-
22
- .titaui-dialog-qq-docs__cancel-btn {
23
- border-color: #DFE3EA;
24
- color: #6F7886;
25
- }
26
-
27
- .titaui-dialog-qq-docs__search-null {
28
- height: 100%;
29
- display: flex;
30
- justify-content: center;
31
- align-items: center;
32
- color: #89919F;
33
- font-size: 14px;
34
- }
35
-
36
- .titaui-dialog-qq-docs__content {
37
- padding: 10px 0;
38
- display: flex;
39
- flex-direction: column;
40
- height: 100%;
41
- }
42
-
43
- .titaui-dialog-qq-docs__search-result-text {
44
- padding-left: 34px;
45
- margin-top: 15px;
46
- font-size: 14px;
47
- font-weight: 400;
48
- color: #89919F;
49
- line-height: 20px;
50
- opacity: 1;
51
- transition: all .3s;
52
- }
53
-
54
- .titaui-dialog-qq-docs__search-result-text--hide {
55
- margin-top: 0;
56
- opacity: 0;
57
- line-height: 0;
58
- }
59
-
60
- .titaui-dialog-qq-docs__nav {
61
- margin-top: 15px;
62
- padding-bottom: 8px;
63
- height: max-content;
64
- transition: all .3s;
65
- box-shadow: 0px 4px 8px 0px rgba(127, 145, 180, 0.1);
66
- }
67
-
68
- .titaui-dialog-qq-docs__nav--hide {
69
- margin-top: 0;
70
- opacity: 0;
71
- height: 0;
72
- }
73
-
74
- .titaui-dialog-qq-docs__checkbox-list {
75
- padding-top: 8px;
76
- padding-left: 24px;
77
- padding-right: 26px;
78
- flex: 1;
79
- height: 100%;
80
- overflow-y: auto;
81
- }
82
-
83
- .titaui-dialog-qq-docs__footer {
84
- display: flex;
85
- justify-content: space-between;
86
- align-items: center;
87
- width: 100%;
88
- color: #6f7886;
89
- }
90
-
91
- .titaui-dialog-qq-docs__footer__actions {
92
- display: flex;
93
- }
94
-
95
- .titaui-dialog-qq-docs__footer__actions > * + * {
96
- margin-left: 12px;
97
- }
98
-
99
- .titaui-dialog-qq-docs__end-text {
100
- margin: 12px 0 20px 0;
101
- text-align: center;
102
- font-size: 12px;
103
- font-weight: 400;
104
- color: #89919F;
105
- line-height: 18px;
106
- }