yach.open.ui 0.0.22 → 0.0.23
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/yach.open.ui-with-locales.js +6 -6
- package/dist/yach.open.ui-with-locales.js.map +1 -1
- package/dist/yach.open.ui-with-locales.min.js +2 -2
- package/dist/yach.open.ui-with-locales.min.js.map +1 -1
- package/dist/yach.open.ui.js +6 -6
- package/dist/yach.open.ui.js.map +1 -1
- package/dist/yach.open.ui.min.js +2 -2
- package/dist/yach.open.ui.min.js.map +1 -1
- package/es/_util/locale.js +4 -4
- package/es/components/complex-picker/CommonListItem.js +1 -1
- package/es/components/complex-picker/style/OrgList.less +1 -1
- package/es/components/complex-picker/style/index.css +0 -1
- package/lib/_util/locale.js +4 -4
- package/lib/components/complex-picker/CommonListItem.js +1 -1
- package/lib/components/complex-picker/style/OrgList.less +1 -1
- package/lib/components/complex-picker/style/index.css +0 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* yach.open.ui v0.0.
|
|
3
|
+
* yach.open.ui v0.0.23
|
|
4
4
|
*
|
|
5
5
|
* Copyright 2020-present, Tal, Inc.
|
|
6
6
|
* All rights reserved.
|
|
@@ -138713,8 +138713,8 @@ webpackEmptyContext.id = "./src sync recursive ^\\.\\/locale\\/.+_.+\\.tsx$";
|
|
|
138713
138713
|
|
|
138714
138714
|
|
|
138715
138715
|
var languages = {
|
|
138716
|
-
|
|
138717
|
-
|
|
138716
|
+
'en-US': _components_complex_picker_locale_en_US__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"],
|
|
138717
|
+
'zh-CN': _components_complex_picker_locale_zh_CN__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"]
|
|
138718
138718
|
};
|
|
138719
138719
|
var language = ""; // enUS zhCN
|
|
138720
138720
|
|
|
@@ -138724,8 +138724,8 @@ function getLang() {
|
|
|
138724
138724
|
var item = userAgent.find(function (item) {
|
|
138725
138725
|
return /Yachlang/i.test(item);
|
|
138726
138726
|
}) || "";
|
|
138727
|
-
|
|
138728
|
-
|
|
138727
|
+
language = item.replace(/Yachlang\//i, "") || "zh-CN"; // language = item.replace("-", "");
|
|
138728
|
+
|
|
138729
138729
|
return language;
|
|
138730
138730
|
}
|
|
138731
138731
|
function isLang(lang) {
|
|
@@ -138926,7 +138926,7 @@ var CommonItem = function CommonItem(_ref) {
|
|
|
138926
138926
|
className: "commonName"
|
|
138927
138927
|
}, item.name_nick || item.name) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
|
|
138928
138928
|
className: "commonName"
|
|
138929
|
-
}, item.name, item.name_nick ? "(".concat(item.name_nick, ")") : ''), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Tag__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"], {
|
|
138929
|
+
}, item.name, item.name !== item.name_nick && item.name_nick ? "(".concat(item.name_nick, ")") : ''), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Tag__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"], {
|
|
138930
138930
|
isExternal: item.external_tag === 1 || item.external_flag === 1 || item.external_flag === 2 || type === "contact",
|
|
138931
138931
|
type: item.source,
|
|
138932
138932
|
tagImgName: item.tpl_type_icon,
|