ns-base-module 2.0.43 → 2.0.45

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) => "Equals" | "Contains" | "In" | "BeforeThan" | "Between";
3
+ export declare const initialValueEunm: (type: EntryType) => "In" | "Equals" | "Contains" | "BeforeThan" | "Between";
4
4
  export declare const entryCriteriaHidden: (type: EntryType, criteriaTypeItems?: {
5
5
  label: string;
6
6
  value: string;
@@ -6,7 +6,7 @@ interface InputCellType extends Omit<InputNumberProps, 'onBlur'> {
6
6
  roundSave: string;
7
7
  }
8
8
  declare const InputNumberWrapper: {
9
- (props: InputNumberProps<import("@rc-component/mini-decimal").ValueType> & {
9
+ (props: InputNumberProps<import("rc-input-number").ValueType> & {
10
10
  onComputeExp: ((e: string | number | null) => void) | undefined;
11
11
  }): React.JSX.Element;
12
12
  InputNumberBlur: React.FC<InputCellType>;
@@ -15,7 +15,7 @@ var IconFont = createFromIconfontCN({
15
15
  // iconfont项目名称:NextStone RAMA
16
16
  "//at.alicdn.com/t/c/font_4504651_66m3qjrc6st.js",
17
17
  // // 旧配置 ns- 开头
18
- "//at.alicdn.com/t/c/font_4504651_84pvmy1guox.js",
18
+ "//at.alicdn.com/t/c/font_4504651_eu7qk4pfpde.js",
19
19
  //// 新配置 icon- 开头 兼容菜单 组件弹框选择 使用这份
20
20
  "//at.alicdn.com/t/c/font_4981252_z8t9702eeo.js",
21
21
  // 新UI 配置 icon-ns- 开头
@@ -5,7 +5,7 @@ interface Icolumns {
5
5
  formTemplateCode: string | undefined;
6
6
  menuCode: string;
7
7
  editItem?: Record<string, any> | null;
8
- updateColumns: (columnsTree: Record<string, any>[]) => void;
8
+ updateColumns: (columnsTree: Record<string, any>[], item?: any) => void;
9
9
  handleBack?: () => void;
10
10
  handleSaveCallback?: () => void;
11
11
  newColumns?: any;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AA4BA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAKlE,OAAO,sDAAsD,CAAC;AAM9D,UAAU,QAAQ;IAChB,OAAO,EAAE,GAAG,CAAC;IACb,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IACtC,aAAa,EAAE,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,IAAI,CAAC;IAC5D,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,OAAO,EAAE,GAAG,CAAC;IACb,UAAU,EAAE,GAAG,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;CAC/B;AACD,UAAU,MAAO,SAAQ,QAAQ;IAC/B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAynCD,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAwD3B,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AA4BA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAKlE,OAAO,sDAAsD,CAAC;AAM9D,UAAU,QAAQ;IAChB,OAAO,EAAE,GAAG,CAAC;IACb,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IACtC,aAAa,EAAE,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,EAAE,IAAI,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IACxE,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,OAAO,EAAE,GAAG,CAAC;IACb,UAAU,EAAE,GAAG,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;CAC/B;AACD,UAAU,MAAO,SAAQ,QAAQ;IAC/B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAynCD,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAwD3B,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -915,7 +915,7 @@ var ColumnsToolbar = function ColumnsToolbar(_ref4) {
915
915
  var arr = [].concat(_toConsumableArray(templateUser), _toConsumableArray(template));
916
916
  arr.forEach(function (item) {
917
917
  if (item.value === e.target.value) {
918
- props.updateColumns(JSON.parse(item.define));
918
+ props.updateColumns(JSON.parse(item.define), item);
919
919
  setCurItem(item);
920
920
  return;
921
921
  }