@pisell/materials 1.0.1047 → 1.0.1048

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 (29) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +2 -2
  6. package/build/lowcode/view.js +2 -2
  7. package/es/components/checkbox/index.d.ts +2 -2
  8. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +2 -2
  9. package/es/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +2 -2
  10. package/es/components/dataSourceComponents/fields/Input.Password/index.d.ts +2 -2
  11. package/es/components/dataSourceComponents/fields/Input.Url/index.d.ts +2 -2
  12. package/es/components/dataSourceComponents/fields/Radio/WithMode.d.ts +2 -2
  13. package/es/components/date-picker/index.d.ts +2 -2
  14. package/es/components/filter/components/FilterButton/index.js +1 -1
  15. package/es/components/pisellDataSourceContainer/components/Pagination/index.d.ts +2 -2
  16. package/es/components/pisellDataSourceContainer/components/Table/index.d.ts +2 -2
  17. package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.js +2 -1
  18. package/es/components/radio/index.d.ts +2 -2
  19. package/es/components/section-footers/index.d.ts +2 -2
  20. package/lib/components/dataSourceComponents/fields/Input.Password/index.d.ts +2 -2
  21. package/lib/components/dataSourceComponents/fields/Input.Url/index.d.ts +2 -2
  22. package/lib/components/filter/components/FilterButton/index.js +1 -1
  23. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.js +2 -1
  24. package/lib/components/radio/index.d.ts +2 -2
  25. package/lib/components/section-footers/index.d.ts +2 -2
  26. package/lib/components/skeleton/index.d.ts +2 -2
  27. package/lib/components/time-picker/index.d.ts +2 -2
  28. package/lib/components/upload/index.d.ts +2 -2
  29. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import * as react2 from "react";
2
+ import * as react0 from "react";
3
3
 
4
4
  //#region src/components/checkbox/index.d.ts
5
- declare const Checkbox: (props: any) => react2.JSX.Element;
5
+ declare const Checkbox: (props: any) => react0.JSX.Element;
6
6
  //#endregion
7
7
  export { Checkbox };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import * as react0 from "react";
2
+ import * as react1 from "react";
3
3
 
4
4
  //#region src/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts
5
- declare const DataSourceQRCode: (props: any) => react0.JSX.Element;
5
+ declare const DataSourceQRCode: (props: any) => react1.JSX.Element;
6
6
  //#endregion
7
7
  export { DataSourceQRCode };
@@ -1,13 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  import { CheckboxGroupProps } from "./type.js";
3
3
  import { WithModeProps } from "../../dataSourceForm/utils.js";
4
- import * as react36 from "react";
4
+ import * as react35 from "react";
5
5
 
6
6
  //#region src/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts
7
7
  type CheckboxComponent = React.FC & {
8
8
  Group: typeof CheckboxGroupWithMode;
9
9
  };
10
10
  declare const CheckboxWithMode: CheckboxComponent;
11
- declare const CheckboxGroupWithMode: react36.FC<CheckboxGroupProps & WithModeProps>;
11
+ declare const CheckboxGroupWithMode: react35.FC<CheckboxGroupProps & WithModeProps>;
12
12
  //#endregion
13
13
  export { CheckboxWithMode };
@@ -1,9 +1,9 @@
1
1
  import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
2
- import * as antd18 from "antd";
2
+ import * as antd20 from "antd";
3
3
  import React from "react";
4
4
  import * as antd_es_input3 from "antd/es/input";
5
5
 
6
6
  //#region src/components/dataSourceComponents/fields/Input.Password/index.d.ts
7
- declare const Password: React.FC<antd_es_input3.PasswordProps & React.RefAttributes<antd18.InputRef> & WithModeProps & WithFormItemProps>;
7
+ declare const Password: React.FC<antd_es_input3.PasswordProps & React.RefAttributes<antd20.InputRef> & WithModeProps & WithFormItemProps>;
8
8
  //#endregion
9
9
  export { Password };
@@ -1,8 +1,8 @@
1
1
  import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
2
- import * as antd19 from "antd";
2
+ import * as antd18 from "antd";
3
3
  import React from "react";
4
4
 
5
5
  //#region src/components/dataSourceComponents/fields/Input.Url/index.d.ts
6
- declare const Url: React.FC<antd19.InputProps & React.RefAttributes<antd19.InputRef> & WithModeProps & WithFormItemProps>;
6
+ declare const Url: React.FC<antd18.InputProps & React.RefAttributes<antd18.InputRef> & WithModeProps & WithFormItemProps>;
7
7
  //#endregion
8
8
  export { Url };
@@ -1,13 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  import { WithModeProps } from "../../dataSourceForm/utils.js";
3
3
  import { RadioGroupProps } from "./type.js";
4
- import * as react35 from "react";
4
+ import * as react36 from "react";
5
5
 
6
6
  //#region src/components/dataSourceComponents/fields/Radio/WithMode.d.ts
7
7
  type RadioComponent = React.FC & {
8
8
  Group: typeof RadioGroupWithMode;
9
9
  };
10
10
  declare const RadioWithMode: RadioComponent;
11
- declare const RadioGroupWithMode: react35.FC<RadioGroupProps & WithModeProps>;
11
+ declare const RadioGroupWithMode: react36.FC<RadioGroupProps & WithModeProps>;
12
12
  //#endregion
13
13
  export { RadioWithMode };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import * as react1 from "react";
2
+ import * as react2 from "react";
3
3
 
4
4
  //#region src/components/date-picker/index.d.ts
5
- declare const DatePicker: (props: any) => react1.JSX.Element;
5
+ declare const DatePicker: (props: any) => react2.JSX.Element;
6
6
  //#endregion
7
7
  export { DatePicker };
@@ -62,7 +62,7 @@ const Filter = ({ value, hiddenQuickFilter, hiddenOtherFilter, onChange, quickFi
62
62
  if (dateRangeOpen && !visible) return;
63
63
  setOpen(visible);
64
64
  },
65
- placement
65
+ placement: placement !== null && placement !== void 0 ? placement : "bottom"
66
66
  }, /* @__PURE__ */ React.createElement(Button, {
67
67
  className: buttonClassName,
68
68
  icon: /* @__PURE__ */ React.createElement(FilterLines, null),
@@ -1,9 +1,9 @@
1
1
  import { DataSourceContainerContextType } from "../../type.js";
2
- import * as antd24 from "antd";
2
+ import * as antd23 from "antd";
3
3
  import React from "react";
4
4
 
5
5
  //#region src/components/pisellDataSourceContainer/components/Pagination/index.d.ts
6
- declare const _default: React.ForwardRefExoticComponent<Omit<Partial<antd24.PaginationProps> & DataSourceContainerContextType & React.RefAttributes<unknown> & {
6
+ declare const _default: React.ForwardRefExoticComponent<Omit<Partial<antd23.PaginationProps> & DataSourceContainerContextType & React.RefAttributes<unknown> & {
7
7
  refId?: string | undefined;
8
8
  }, "ref"> & React.RefAttributes<any>>;
9
9
  //#endregion
@@ -1,9 +1,9 @@
1
1
  import { DataSourceContainerContextType } from "../../type.js";
2
- import * as antd23 from "antd";
2
+ import * as antd24 from "antd";
3
3
  import React from "react";
4
4
 
5
5
  //#region src/components/pisellDataSourceContainer/components/Table/index.d.ts
6
- declare const _default: React.ForwardRefExoticComponent<Omit<Partial<antd23.TableProps<any>> & DataSourceContainerContextType & {
6
+ declare const _default: React.ForwardRefExoticComponent<Omit<Partial<antd24.TableProps<any>> & DataSourceContainerContextType & {
7
7
  scopeId?: string | undefined;
8
8
  __id?: string | undefined;
9
9
  } & React.RefAttributes<unknown> & {
@@ -149,7 +149,8 @@ const RecordBoardToolBar = (props) => {
149
149
  formFiltersPrefix: "",
150
150
  size: "large",
151
151
  buttonClassName: "record-board-toolbar-filter-btn",
152
- hiddenQuickFilter: true
152
+ hiddenQuickFilter: true,
153
+ placement: "bottomLeft"
153
154
  }, typeof filterConfig === "object" && filterConfig !== null ? filterConfig : {}));
154
155
  const showColumnSetting = slots.columnSetting !== false && Array.isArray(gridColumns) && gridColumns.length > 0;
155
156
  const topRight = /* @__PURE__ */ React.createElement(Space, null, showColumnSetting ? /* @__PURE__ */ React.createElement(ColumnSetting_default, null) : null, sortNode, filterNode, /* @__PURE__ */ React.createElement(ToolBarReset_default, { size: "large" }), slots.topRight);
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import * as react17 from "react";
2
+ import * as react18 from "react";
3
3
 
4
4
  //#region src/components/radio/index.d.ts
5
- declare const Radio: (props: any) => react17.JSX.Element;
5
+ declare const Radio: (props: any) => react18.JSX.Element;
6
6
  //#endregion
7
7
  export { Radio };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import * as react18 from "react";
2
+ import * as react17 from "react";
3
3
 
4
4
  //#region src/components/section-footers/index.d.ts
5
5
  interface SectionFooterProps {
@@ -8,6 +8,6 @@ interface SectionFooterProps {
8
8
  right?: React.ReactNode;
9
9
  className?: string;
10
10
  }
11
- declare const SectionFooters: (props: SectionFooterProps) => react18.JSX.Element;
11
+ declare const SectionFooters: (props: SectionFooterProps) => react17.JSX.Element;
12
12
  //#endregion
13
13
  export { SectionFooters };
@@ -1,9 +1,9 @@
1
1
  import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
2
- import * as antd18 from "antd";
2
+ import * as antd20 from "antd";
3
3
  import React from "react";
4
4
  import * as antd_es_input3 from "antd/es/input";
5
5
 
6
6
  //#region src/components/dataSourceComponents/fields/Input.Password/index.d.ts
7
- declare const Password: React.FC<antd_es_input3.PasswordProps & React.RefAttributes<antd18.InputRef> & WithModeProps & WithFormItemProps>;
7
+ declare const Password: React.FC<antd_es_input3.PasswordProps & React.RefAttributes<antd20.InputRef> & WithModeProps & WithFormItemProps>;
8
8
  //#endregion
9
9
  export { Password };
@@ -1,8 +1,8 @@
1
1
  import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
2
- import * as antd19 from "antd";
2
+ import * as antd18 from "antd";
3
3
  import React from "react";
4
4
 
5
5
  //#region src/components/dataSourceComponents/fields/Input.Url/index.d.ts
6
- declare const Url: React.FC<antd19.InputProps & React.RefAttributes<antd19.InputRef> & WithModeProps & WithFormItemProps>;
6
+ declare const Url: React.FC<antd18.InputProps & React.RefAttributes<antd18.InputRef> & WithModeProps & WithFormItemProps>;
7
7
  //#endregion
8
8
  export { Url };
@@ -65,7 +65,7 @@ const Filter = ({ value, hiddenQuickFilter, hiddenOtherFilter, onChange, quickFi
65
65
  if (dateRangeOpen && !visible) return;
66
66
  setOpen(visible);
67
67
  },
68
- placement
68
+ placement: placement !== null && placement !== void 0 ? placement : "bottom"
69
69
  }, /* @__PURE__ */ react.default.createElement(antd.Button, {
70
70
  className: buttonClassName,
71
71
  icon: /* @__PURE__ */ react.default.createElement(_pisell_icon_es_FilterLines.default, null),
@@ -152,7 +152,8 @@ const RecordBoardToolBar = (props) => {
152
152
  formFiltersPrefix: "",
153
153
  size: "large",
154
154
  buttonClassName: "record-board-toolbar-filter-btn",
155
- hiddenQuickFilter: true
155
+ hiddenQuickFilter: true,
156
+ placement: "bottomLeft"
156
157
  }, typeof filterConfig === "object" && filterConfig !== null ? filterConfig : {}));
157
158
  const showColumnSetting = slots.columnSetting !== false && Array.isArray(gridColumns) && gridColumns.length > 0;
158
159
  const topRight = /* @__PURE__ */ react.default.createElement(antd.Space, null, showColumnSetting ? /* @__PURE__ */ react.default.createElement(require_index$7.default, null) : null, sortNode, filterNode, /* @__PURE__ */ react.default.createElement(require_index$5.default, { size: "large" }), slots.topRight);
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import * as react18 from "react";
2
+ import * as react17 from "react";
3
3
 
4
4
  //#region src/components/radio/index.d.ts
5
- declare const Radio: (props: any) => react18.JSX.Element;
5
+ declare const Radio: (props: any) => react17.JSX.Element;
6
6
  //#endregion
7
7
  export { Radio };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import * as react19 from "react";
2
+ import * as react18 from "react";
3
3
 
4
4
  //#region src/components/section-footers/index.d.ts
5
5
  interface SectionFooterProps {
@@ -8,6 +8,6 @@ interface SectionFooterProps {
8
8
  right?: React.ReactNode;
9
9
  className?: string;
10
10
  }
11
- declare const SectionFooters: (props: SectionFooterProps) => react19.JSX.Element;
11
+ declare const SectionFooters: (props: SectionFooterProps) => react18.JSX.Element;
12
12
  //#endregion
13
13
  export { SectionFooters };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import * as react20 from "react";
2
+ import * as react19 from "react";
3
3
 
4
4
  //#region src/components/skeleton/index.d.ts
5
- declare const Skeleton: (props: any) => react20.JSX.Element;
5
+ declare const Skeleton: (props: any) => react19.JSX.Element;
6
6
  //#endregion
7
7
  export { Skeleton };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import * as react21 from "react";
2
+ import * as react20 from "react";
3
3
 
4
4
  //#region src/components/time-picker/index.d.ts
5
- declare const TimePicker: (props: any) => react21.JSX.Element;
5
+ declare const TimePicker: (props: any) => react20.JSX.Element;
6
6
  //#endregion
7
7
  export { TimePicker };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import * as react17 from "react";
2
+ import * as react21 from "react";
3
3
 
4
4
  //#region src/components/upload/index.d.ts
5
- declare const Upload: (props: any) => react17.JSX.Element;
5
+ declare const Upload: (props: any) => react21.JSX.Element;
6
6
  //#endregion
7
7
  export { Upload };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "1.0.1047",
3
+ "version": "1.0.1048",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -89,9 +89,9 @@
89
89
  "swiper": "^8.4.7",
90
90
  "antd-mobile": "^5.38.1",
91
91
  "vod-js-sdk-v6": "^1.4.11",
92
- "@pisell/icon": "0.0.10",
93
92
  "@pisell/date-picker": "1.0.134",
94
- "@pisell/utils": "1.0.61"
93
+ "@pisell/utils": "1.0.61",
94
+ "@pisell/icon": "0.0.10"
95
95
  },
96
96
  "peerDependencies": {
97
97
  "react": "^18.0.0",