hanbiro-react16-sdk 1.0.27 → 1.0.28
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/components/ChatAIDraft/ChatList/LoadingDots.js +4 -3
- package/dist/components/ChatAIDraft/ChatList/MessageItem.js +4 -4
- package/dist/components/ChatAIDraft/ReplyPanel/BaseModal.d.ts +15 -0
- package/dist/components/ChatAIDraft/ReplyPanel/BaseModal.js +101 -0
- package/dist/components/ChatAIDraft/ReplyPanel/ContextPreviewModal.d.ts +13 -0
- package/dist/components/ChatAIDraft/ReplyPanel/ContextPreviewModal.js +63 -0
- package/dist/components/ChatAIDraft/ReplyPanel/EmptyState.d.ts +1 -8
- package/dist/components/ChatAIDraft/ReplyPanel/EmptyState.js +1 -217
- package/dist/components/ChatAIDraft/ReplyPanel/Header/SelectedChip.d.ts +10 -0
- package/dist/components/ChatAIDraft/ReplyPanel/Header/SelectedChip.js +79 -0
- package/dist/components/ChatAIDraft/ReplyPanel/Header/SourceCard.d.ts +8 -0
- package/dist/components/ChatAIDraft/ReplyPanel/Header/SourceCard.js +52 -0
- package/dist/components/ChatAIDraft/ReplyPanel/Header/index.d.ts +12 -0
- package/dist/components/ChatAIDraft/ReplyPanel/Header/index.js +135 -0
- package/dist/components/ChatAIDraft/ReplyPanel/MailListSelect.d.ts +1 -0
- package/dist/components/ChatAIDraft/ReplyPanel/MailListSelect.js +62 -149
- package/dist/components/ChatAIDraft/ReplyPanel/index.d.ts +5 -1
- package/dist/components/ChatAIDraft/ReplyPanel/index.js +35 -196
- package/dist/components/Pagination/index.d.ts +20 -0
- package/dist/components/Pagination/index.js +131 -0
- package/dist/components/SummaryAIEmails/FilterTabs.d.ts +8 -0
- package/dist/components/SummaryAIEmails/FilterTabs.js +57 -0
- package/dist/components/SummaryAIEmails/LanguagePopover.d.ts +24 -0
- package/dist/components/SummaryAIEmails/LanguagePopover.js +110 -0
- package/dist/components/SummaryAIEmails/SummaryItem.d.ts +7 -0
- package/dist/components/SummaryAIEmails/SummaryItem.js +74 -0
- package/dist/components/SummaryAIEmails/TargetInfoBar.d.ts +9 -0
- package/dist/components/SummaryAIEmails/TargetInfoBar.js +81 -0
- package/dist/components/SummaryAIEmails/index.d.ts +34 -0
- package/dist/components/SummaryAIEmails/index.js +213 -0
- package/dist/components/SummaryAIEmails/types.d.ts +16 -0
- package/dist/components/SummaryAIEmails/utils.d.ts +11 -0
- package/dist/components/SummaryAIEmails/utils.js +46 -0
- package/dist/components/index.d.ts +2 -4
- package/dist/hanbiro-react16-sdk.style.css +7 -2
- package/dist/hanbiro-react16-sdk.umd.js +1958 -965
- package/dist/index.js +11 -13
- package/dist/node_modules/react-feather/dist/icons/arrow-down.js +73 -0
- package/dist/node_modules/react-feather/dist/icons/chevron-left.js +68 -0
- package/dist/node_modules/react-feather/dist/icons/chevron-right.js +68 -0
- package/dist/node_modules/react-feather/dist/icons/globe.js +77 -0
- package/dist/node_modules/react-feather/dist/icons/x.js +76 -0
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/url.js +0 -13
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* hanbiro-react16-sdk v1.0.
|
|
3
|
-
* Build Date: 2026-05-
|
|
2
|
+
* hanbiro-react16-sdk v1.0.28
|
|
3
|
+
* Build Date: 2026-05-22
|
|
4
4
|
*/
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { AI_LANG_FLAGS } from "./constants/index.js";
|
|
7
7
|
import { default as default2 } from "./components/ChatAIDraft/index.js";
|
|
8
|
-
import { default as default3 } from "./components/
|
|
9
|
-
import { default as default4 } from "./components/
|
|
10
|
-
import { default as default5 } from "./components/
|
|
11
|
-
import { default as default6 } from "./components/
|
|
12
|
-
import {
|
|
8
|
+
import { default as default3 } from "./components/LoadingCircular/index.js";
|
|
9
|
+
import { default as default4 } from "./components/LoadingContainer/index.js";
|
|
10
|
+
import { default as default5 } from "./components/Pagination/index.js";
|
|
11
|
+
import { default as default6 } from "./components/SummaryAIEmails/index.js";
|
|
12
|
+
import { initHanbiroReactSDK } from "./utils/url.js";
|
|
13
13
|
export {
|
|
14
14
|
AI_LANG_FLAGS,
|
|
15
15
|
default2 as ChatAIDraft,
|
|
16
|
-
default3 as
|
|
17
|
-
default4 as
|
|
18
|
-
default5 as
|
|
19
|
-
default6 as
|
|
20
|
-
getBaseUrl,
|
|
21
|
-
getGroupwareUrl,
|
|
16
|
+
default3 as LoadingCircular,
|
|
17
|
+
default4 as LoadingContainer,
|
|
18
|
+
default5 as Pagination,
|
|
19
|
+
default6 as SummaryAIEmails,
|
|
22
20
|
initHanbiroReactSDK
|
|
23
21
|
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import React__default, { forwardRef } from "react";
|
|
2
|
+
import PropTypes from "../../../prop-types/index.js";
|
|
3
|
+
function _extends() {
|
|
4
|
+
_extends = Object.assign || function(target) {
|
|
5
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
6
|
+
var source = arguments[i];
|
|
7
|
+
for (var key in source) {
|
|
8
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
9
|
+
target[key] = source[key];
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
return target;
|
|
14
|
+
};
|
|
15
|
+
return _extends.apply(this, arguments);
|
|
16
|
+
}
|
|
17
|
+
function _objectWithoutProperties(source, excluded) {
|
|
18
|
+
if (source == null) return {};
|
|
19
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
20
|
+
var key, i;
|
|
21
|
+
if (Object.getOwnPropertySymbols) {
|
|
22
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
23
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
24
|
+
key = sourceSymbolKeys[i];
|
|
25
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
26
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
27
|
+
target[key] = source[key];
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return target;
|
|
31
|
+
}
|
|
32
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
33
|
+
if (source == null) return {};
|
|
34
|
+
var target = {};
|
|
35
|
+
var sourceKeys = Object.keys(source);
|
|
36
|
+
var key, i;
|
|
37
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
38
|
+
key = sourceKeys[i];
|
|
39
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
40
|
+
target[key] = source[key];
|
|
41
|
+
}
|
|
42
|
+
return target;
|
|
43
|
+
}
|
|
44
|
+
var ArrowDown = forwardRef(function(_ref, ref) {
|
|
45
|
+
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties(_ref, ["color", "size"]);
|
|
46
|
+
return /* @__PURE__ */ React__default.createElement("svg", _extends({
|
|
47
|
+
ref,
|
|
48
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
49
|
+
width: size,
|
|
50
|
+
height: size,
|
|
51
|
+
viewBox: "0 0 24 24",
|
|
52
|
+
fill: "none",
|
|
53
|
+
stroke: color,
|
|
54
|
+
strokeWidth: "2",
|
|
55
|
+
strokeLinecap: "round",
|
|
56
|
+
strokeLinejoin: "round"
|
|
57
|
+
}, rest), /* @__PURE__ */ React__default.createElement("line", {
|
|
58
|
+
x1: "12",
|
|
59
|
+
y1: "5",
|
|
60
|
+
x2: "12",
|
|
61
|
+
y2: "19"
|
|
62
|
+
}), /* @__PURE__ */ React__default.createElement("polyline", {
|
|
63
|
+
points: "19 12 12 19 5 12"
|
|
64
|
+
}));
|
|
65
|
+
});
|
|
66
|
+
ArrowDown.propTypes = {
|
|
67
|
+
color: PropTypes.string,
|
|
68
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
69
|
+
};
|
|
70
|
+
ArrowDown.displayName = "ArrowDown";
|
|
71
|
+
export {
|
|
72
|
+
ArrowDown as default
|
|
73
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import React__default, { forwardRef } from "react";
|
|
2
|
+
import PropTypes from "../../../prop-types/index.js";
|
|
3
|
+
function _extends() {
|
|
4
|
+
_extends = Object.assign || function(target) {
|
|
5
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
6
|
+
var source = arguments[i];
|
|
7
|
+
for (var key in source) {
|
|
8
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
9
|
+
target[key] = source[key];
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
return target;
|
|
14
|
+
};
|
|
15
|
+
return _extends.apply(this, arguments);
|
|
16
|
+
}
|
|
17
|
+
function _objectWithoutProperties(source, excluded) {
|
|
18
|
+
if (source == null) return {};
|
|
19
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
20
|
+
var key, i;
|
|
21
|
+
if (Object.getOwnPropertySymbols) {
|
|
22
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
23
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
24
|
+
key = sourceSymbolKeys[i];
|
|
25
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
26
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
27
|
+
target[key] = source[key];
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return target;
|
|
31
|
+
}
|
|
32
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
33
|
+
if (source == null) return {};
|
|
34
|
+
var target = {};
|
|
35
|
+
var sourceKeys = Object.keys(source);
|
|
36
|
+
var key, i;
|
|
37
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
38
|
+
key = sourceKeys[i];
|
|
39
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
40
|
+
target[key] = source[key];
|
|
41
|
+
}
|
|
42
|
+
return target;
|
|
43
|
+
}
|
|
44
|
+
var ChevronLeft = forwardRef(function(_ref, ref) {
|
|
45
|
+
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties(_ref, ["color", "size"]);
|
|
46
|
+
return /* @__PURE__ */ React__default.createElement("svg", _extends({
|
|
47
|
+
ref,
|
|
48
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
49
|
+
width: size,
|
|
50
|
+
height: size,
|
|
51
|
+
viewBox: "0 0 24 24",
|
|
52
|
+
fill: "none",
|
|
53
|
+
stroke: color,
|
|
54
|
+
strokeWidth: "2",
|
|
55
|
+
strokeLinecap: "round",
|
|
56
|
+
strokeLinejoin: "round"
|
|
57
|
+
}, rest), /* @__PURE__ */ React__default.createElement("polyline", {
|
|
58
|
+
points: "15 18 9 12 15 6"
|
|
59
|
+
}));
|
|
60
|
+
});
|
|
61
|
+
ChevronLeft.propTypes = {
|
|
62
|
+
color: PropTypes.string,
|
|
63
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
64
|
+
};
|
|
65
|
+
ChevronLeft.displayName = "ChevronLeft";
|
|
66
|
+
export {
|
|
67
|
+
ChevronLeft as default
|
|
68
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import React__default, { forwardRef } from "react";
|
|
2
|
+
import PropTypes from "../../../prop-types/index.js";
|
|
3
|
+
function _extends() {
|
|
4
|
+
_extends = Object.assign || function(target) {
|
|
5
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
6
|
+
var source = arguments[i];
|
|
7
|
+
for (var key in source) {
|
|
8
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
9
|
+
target[key] = source[key];
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
return target;
|
|
14
|
+
};
|
|
15
|
+
return _extends.apply(this, arguments);
|
|
16
|
+
}
|
|
17
|
+
function _objectWithoutProperties(source, excluded) {
|
|
18
|
+
if (source == null) return {};
|
|
19
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
20
|
+
var key, i;
|
|
21
|
+
if (Object.getOwnPropertySymbols) {
|
|
22
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
23
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
24
|
+
key = sourceSymbolKeys[i];
|
|
25
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
26
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
27
|
+
target[key] = source[key];
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return target;
|
|
31
|
+
}
|
|
32
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
33
|
+
if (source == null) return {};
|
|
34
|
+
var target = {};
|
|
35
|
+
var sourceKeys = Object.keys(source);
|
|
36
|
+
var key, i;
|
|
37
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
38
|
+
key = sourceKeys[i];
|
|
39
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
40
|
+
target[key] = source[key];
|
|
41
|
+
}
|
|
42
|
+
return target;
|
|
43
|
+
}
|
|
44
|
+
var ChevronRight = forwardRef(function(_ref, ref) {
|
|
45
|
+
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties(_ref, ["color", "size"]);
|
|
46
|
+
return /* @__PURE__ */ React__default.createElement("svg", _extends({
|
|
47
|
+
ref,
|
|
48
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
49
|
+
width: size,
|
|
50
|
+
height: size,
|
|
51
|
+
viewBox: "0 0 24 24",
|
|
52
|
+
fill: "none",
|
|
53
|
+
stroke: color,
|
|
54
|
+
strokeWidth: "2",
|
|
55
|
+
strokeLinecap: "round",
|
|
56
|
+
strokeLinejoin: "round"
|
|
57
|
+
}, rest), /* @__PURE__ */ React__default.createElement("polyline", {
|
|
58
|
+
points: "9 18 15 12 9 6"
|
|
59
|
+
}));
|
|
60
|
+
});
|
|
61
|
+
ChevronRight.propTypes = {
|
|
62
|
+
color: PropTypes.string,
|
|
63
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
64
|
+
};
|
|
65
|
+
ChevronRight.displayName = "ChevronRight";
|
|
66
|
+
export {
|
|
67
|
+
ChevronRight as default
|
|
68
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import React__default, { forwardRef } from "react";
|
|
2
|
+
import PropTypes from "../../../prop-types/index.js";
|
|
3
|
+
function _extends() {
|
|
4
|
+
_extends = Object.assign || function(target) {
|
|
5
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
6
|
+
var source = arguments[i];
|
|
7
|
+
for (var key in source) {
|
|
8
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
9
|
+
target[key] = source[key];
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
return target;
|
|
14
|
+
};
|
|
15
|
+
return _extends.apply(this, arguments);
|
|
16
|
+
}
|
|
17
|
+
function _objectWithoutProperties(source, excluded) {
|
|
18
|
+
if (source == null) return {};
|
|
19
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
20
|
+
var key, i;
|
|
21
|
+
if (Object.getOwnPropertySymbols) {
|
|
22
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
23
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
24
|
+
key = sourceSymbolKeys[i];
|
|
25
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
26
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
27
|
+
target[key] = source[key];
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return target;
|
|
31
|
+
}
|
|
32
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
33
|
+
if (source == null) return {};
|
|
34
|
+
var target = {};
|
|
35
|
+
var sourceKeys = Object.keys(source);
|
|
36
|
+
var key, i;
|
|
37
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
38
|
+
key = sourceKeys[i];
|
|
39
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
40
|
+
target[key] = source[key];
|
|
41
|
+
}
|
|
42
|
+
return target;
|
|
43
|
+
}
|
|
44
|
+
var Globe = forwardRef(function(_ref, ref) {
|
|
45
|
+
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties(_ref, ["color", "size"]);
|
|
46
|
+
return /* @__PURE__ */ React__default.createElement("svg", _extends({
|
|
47
|
+
ref,
|
|
48
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
49
|
+
width: size,
|
|
50
|
+
height: size,
|
|
51
|
+
viewBox: "0 0 24 24",
|
|
52
|
+
fill: "none",
|
|
53
|
+
stroke: color,
|
|
54
|
+
strokeWidth: "2",
|
|
55
|
+
strokeLinecap: "round",
|
|
56
|
+
strokeLinejoin: "round"
|
|
57
|
+
}, rest), /* @__PURE__ */ React__default.createElement("circle", {
|
|
58
|
+
cx: "12",
|
|
59
|
+
cy: "12",
|
|
60
|
+
r: "10"
|
|
61
|
+
}), /* @__PURE__ */ React__default.createElement("line", {
|
|
62
|
+
x1: "2",
|
|
63
|
+
y1: "12",
|
|
64
|
+
x2: "22",
|
|
65
|
+
y2: "12"
|
|
66
|
+
}), /* @__PURE__ */ React__default.createElement("path", {
|
|
67
|
+
d: "M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"
|
|
68
|
+
}));
|
|
69
|
+
});
|
|
70
|
+
Globe.propTypes = {
|
|
71
|
+
color: PropTypes.string,
|
|
72
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
73
|
+
};
|
|
74
|
+
Globe.displayName = "Globe";
|
|
75
|
+
export {
|
|
76
|
+
Globe as default
|
|
77
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import React__default, { forwardRef } from "react";
|
|
2
|
+
import PropTypes from "../../../prop-types/index.js";
|
|
3
|
+
function _extends() {
|
|
4
|
+
_extends = Object.assign || function(target) {
|
|
5
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
6
|
+
var source = arguments[i];
|
|
7
|
+
for (var key in source) {
|
|
8
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
9
|
+
target[key] = source[key];
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
return target;
|
|
14
|
+
};
|
|
15
|
+
return _extends.apply(this, arguments);
|
|
16
|
+
}
|
|
17
|
+
function _objectWithoutProperties(source, excluded) {
|
|
18
|
+
if (source == null) return {};
|
|
19
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
20
|
+
var key, i;
|
|
21
|
+
if (Object.getOwnPropertySymbols) {
|
|
22
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
23
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
24
|
+
key = sourceSymbolKeys[i];
|
|
25
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
26
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
27
|
+
target[key] = source[key];
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return target;
|
|
31
|
+
}
|
|
32
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
33
|
+
if (source == null) return {};
|
|
34
|
+
var target = {};
|
|
35
|
+
var sourceKeys = Object.keys(source);
|
|
36
|
+
var key, i;
|
|
37
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
38
|
+
key = sourceKeys[i];
|
|
39
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
40
|
+
target[key] = source[key];
|
|
41
|
+
}
|
|
42
|
+
return target;
|
|
43
|
+
}
|
|
44
|
+
var X = forwardRef(function(_ref, ref) {
|
|
45
|
+
var _ref$color = _ref.color, color = _ref$color === void 0 ? "currentColor" : _ref$color, _ref$size = _ref.size, size = _ref$size === void 0 ? 24 : _ref$size, rest = _objectWithoutProperties(_ref, ["color", "size"]);
|
|
46
|
+
return /* @__PURE__ */ React__default.createElement("svg", _extends({
|
|
47
|
+
ref,
|
|
48
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
49
|
+
width: size,
|
|
50
|
+
height: size,
|
|
51
|
+
viewBox: "0 0 24 24",
|
|
52
|
+
fill: "none",
|
|
53
|
+
stroke: color,
|
|
54
|
+
strokeWidth: "2",
|
|
55
|
+
strokeLinecap: "round",
|
|
56
|
+
strokeLinejoin: "round"
|
|
57
|
+
}, rest), /* @__PURE__ */ React__default.createElement("line", {
|
|
58
|
+
x1: "18",
|
|
59
|
+
y1: "6",
|
|
60
|
+
x2: "6",
|
|
61
|
+
y2: "18"
|
|
62
|
+
}), /* @__PURE__ */ React__default.createElement("line", {
|
|
63
|
+
x1: "6",
|
|
64
|
+
y1: "6",
|
|
65
|
+
x2: "18",
|
|
66
|
+
y2: "18"
|
|
67
|
+
}));
|
|
68
|
+
});
|
|
69
|
+
X.propTypes = {
|
|
70
|
+
color: PropTypes.string,
|
|
71
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
72
|
+
};
|
|
73
|
+
X.displayName = "X";
|
|
74
|
+
export {
|
|
75
|
+
X as default
|
|
76
|
+
};
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { initHanbiroReactSDK
|
|
1
|
+
export { initHanbiroReactSDK } from './url';
|
package/dist/utils/url.js
CHANGED
|
@@ -33,22 +33,9 @@ const getBaseUrl = () => {
|
|
|
33
33
|
return "https://" + (dataArr == null ? void 0 : dataArr[0]);
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
|
-
const getGroupwareUrl = () => {
|
|
37
|
-
let locationInfo = window.location;
|
|
38
|
-
if (isDevelopment) {
|
|
39
|
-
return getBaseUrl() || "https://vndev.hanbiro.com/ngw";
|
|
40
|
-
} else {
|
|
41
|
-
if (window.location !== window.parent.location) {
|
|
42
|
-
locationInfo = window.parent.location;
|
|
43
|
-
}
|
|
44
|
-
const { hostname, protocol } = locationInfo;
|
|
45
|
-
return [protocol, "//", hostname, "/ngw"].join("");
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
36
|
export {
|
|
49
37
|
SDKConfig,
|
|
50
38
|
getBaseUrl,
|
|
51
|
-
getGroupwareUrl,
|
|
52
39
|
initHanbiroReactSDK,
|
|
53
40
|
isDevelopment
|
|
54
41
|
};
|