ns-base-module 1.1.80 → 1.1.82

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.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { EntryType } from './data.d';
3
- export declare const initialValueEunm: (type: EntryType) => "In" | "Equals" | "Contains" | "BeforeThan" | "Between";
3
+ export declare const initialValueEunm: (type: EntryType) => "Equals" | "Contains" | "In" | "BeforeThan" | "Between";
4
4
  export declare const entryCriteriaHidden: (type: EntryType, criteriaTypeItems?: {
5
5
  label: string;
6
6
  value: string;
@@ -304,7 +304,6 @@ var Filter = function Filter(props) {
304
304
  for (var i = 0, l = dictItems.length; i < l; i++) {
305
305
  if (dictItems[i].label == item) {
306
306
  multChecked.push(dictItems[i].value);
307
- break;
308
307
  }
309
308
  }
310
309
  }
@@ -327,7 +326,8 @@ var Filter = function Filter(props) {
327
326
  }
328
327
  };
329
328
  var searchList = useMemo(function () {
330
- return list.filter(function (item) {
329
+ var uniqueList = _toConsumableArray(new Set(list));
330
+ return uniqueList.filter(function (item) {
331
331
  var _item$toString2, _searchval$toString;
332
332
  return !searchval || (item === null || item === void 0 || (_item$toString2 = item.toString()) === null || _item$toString2 === void 0 || (_item$toString2 = _item$toString2.toLowerCase()) === null || _item$toString2 === void 0 ? void 0 : _item$toString2.indexOf(searchval === null || searchval === void 0 || (_searchval$toString = searchval.toString()) === null || _searchval$toString === void 0 ? void 0 : _searchval$toString.toLowerCase())) !== -1;
333
333
  });
@@ -14,7 +14,7 @@ var IconFont = createFromIconfontCN({
14
14
  // iconfont项目名称:NextStone RAMA
15
15
  "//at.alicdn.com/t/c/font_4504651_66m3qjrc6st.js",
16
16
  // // 旧配置 ns- 开头
17
- "//at.alicdn.com/t/c/font_4504651_fhxc7b4wsx.js",
17
+ "//at.alicdn.com/t/c/font_4504651_qjiuzp2rk9.js",
18
18
  //// 新配置 icon- 开头 兼容菜单 组件弹框选择 使用这份
19
19
  "//at.alicdn.com/t/c/font_4981252_ohqtnf5u8ph.js" // 新UI 配置 icon-ns- 开头
20
20
  ]