@pisell/materials 6.1.6 → 6.1.7

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 (86) 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/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +6 -6
  7. package/build/lowcode/view.js +20 -20
  8. package/es/components/appVersionControl/index.d.ts +0 -1
  9. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  10. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
  11. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  12. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  13. package/es/components/dataSourceComponents/fields/index.d.ts +3 -3
  14. package/es/components/drag-sort-tree/index.d.ts +0 -1
  15. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
  16. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  17. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
  18. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -1
  19. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  20. package/es/components/productCard/cartSkuCard/index.d.ts +0 -1
  21. package/es/components/productCard/components/Action/index.d.ts +0 -1
  22. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -1
  23. package/es/components/productCard/components/Header/index.d.ts +0 -1
  24. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -1
  25. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  26. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -1
  27. package/es/components/productCard/components/Time/index.d.ts +0 -1
  28. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  29. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  30. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  31. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  32. package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -1
  33. package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  34. package/es/components/table/Table/AddFieldModal/index.d.ts +1 -0
  35. package/es/components/table/Table/AddFieldModal/index.js +13 -13
  36. package/es/components/table/Table/AddFieldModal/index.less +11 -11
  37. package/es/components/table/Table/fields/index.d.ts +2 -2
  38. package/es/components/table/Table/utils.d.ts +1 -1
  39. package/lib/components/appVersionControl/index.d.ts +0 -1
  40. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  41. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
  42. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  43. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  44. package/lib/components/dataSourceComponents/fields/index.d.ts +3 -3
  45. package/lib/components/drag-sort-tree/index.d.ts +0 -1
  46. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
  47. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  48. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
  49. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -1
  50. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  51. package/lib/components/productCard/cartSkuCard/index.d.ts +0 -1
  52. package/lib/components/productCard/components/Action/index.d.ts +0 -1
  53. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -1
  54. package/lib/components/productCard/components/Header/index.d.ts +0 -1
  55. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -1
  56. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  57. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -1
  58. package/lib/components/productCard/components/Time/index.d.ts +0 -1
  59. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  60. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  61. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  62. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  63. package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -1
  64. package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  65. package/lib/components/table/Table/AddFieldModal/index.d.ts +1 -0
  66. package/lib/components/table/Table/AddFieldModal/index.js +9 -9
  67. package/lib/components/table/Table/AddFieldModal/index.less +11 -11
  68. package/lib/components/table/Table/fields/index.d.ts +2 -2
  69. package/lib/components/table/Table/utils.d.ts +1 -1
  70. package/package.json +11 -11
  71. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
  72. package/es/components/pisellAdjustPrice/status.d.ts +0 -32
  73. package/es/components/pisellAdjustPrice/type.d.ts +0 -20
  74. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -45
  75. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  76. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  77. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  78. package/es/components/virtual-keyboard/Number/types.d.ts +0 -25
  79. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
  80. package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
  81. package/lib/components/pisellAdjustPrice/type.d.ts +0 -20
  82. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -45
  83. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  84. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  85. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  86. package/lib/components/virtual-keyboard/Number/types.d.ts +0 -25
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AppVersionControlProps } from './types';
3
2
  import './index.less';
4
3
  declare const AppVersionControl: (props: AppVersionControlProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Drawer } from 'antd';
3
2
  import { OperationItem } from '../type';
4
3
  declare const useDrawerState: (operationContent?: {
@@ -17,7 +17,7 @@ interface UseTablePropsProps {
17
17
  * @returns
18
18
  */
19
19
  declare const useTableProps: (props: UseTablePropsProps) => {
20
- title: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
20
+ title: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
21
21
  pagination: {
22
22
  total: number;
23
23
  current: number;
@@ -26,7 +26,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
26
26
  showSizeChanger: boolean;
27
27
  };
28
28
  columns: import("./useColumns").Column[];
29
- subTitle: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
29
+ subTitle: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
30
30
  buttons: any[] | null;
31
31
  filter: JSX.Element | null;
32
32
  onRow: (record: any) => any;
@@ -52,7 +52,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
52
52
  width: number;
53
53
  align: "center" | "left" | "right";
54
54
  fixed: false | "left" | "right";
55
- type: "button" | "link";
55
+ type: "link" | "button";
56
56
  items: OperationItem[];
57
57
  } | undefined;
58
58
  operationContent?: {
@@ -70,7 +70,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
70
70
  useCustomAction: boolean;
71
71
  actionType: string;
72
72
  openMode: "modal" | "drawer";
73
- openContentSize: "large" | "middle" | "small";
73
+ openContentSize: "small" | "large" | "middle";
74
74
  openTitle: string;
75
75
  key: string;
76
76
  } | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataSourceTableProps } from '../type';
3
2
  declare type Params = {
4
3
  pagination?: {
@@ -15,4 +15,4 @@ export declare const getFileMetadataParams: (file: RcFile & {
15
15
  metadata?: MediaMetadata;
16
16
  }) => Record<string, any>;
17
17
  export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
18
- export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
18
+ export declare const getBaseTime: (size: number) => 2000 | 1000 | 4000 | 8000;
@@ -60,7 +60,7 @@ declare const formFieldMap: {
60
60
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
61
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
62
62
  };
63
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
63
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
64
64
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
65
65
  } & {
66
66
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -96,7 +96,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
96
96
  extraParams?: Record<string, any> | undefined;
97
97
  } & {
98
98
  dataSource?: any;
99
- }) => JSX.Element) | import("react").FC<any> | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
99
+ }) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
100
100
  onChange: (value: string) => void;
101
- } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
101
+ } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
102
102
  export { getFieldComponent, formFieldMap };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { SortType } from './types';
4
3
  declare const DragSortTree: (props: SortType) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface IProps {
4
3
  isShowImage?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resources: (props: any) => JSX.Element;
4
3
  export default Resources;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface IProps {
4
3
  hideDivider?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Specs: (props: any) => JSX.Element | null;
4
3
  export default Specs;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import 'dayjs/locale/zh-cn';
3
2
  import 'dayjs/locale/en';
4
3
  import 'dayjs/locale/zh-tw';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ProductCardTypes } from '../types';
4
3
  interface ISKUCardProps extends ProductCardTypes {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Action: ({ item, onAction }: any) => JSX.Element;
4
3
  export default Action;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const DeleteButton: ({ onDelete }: any) => JSX.Element;
4
3
  export default DeleteButton;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Header: (props: any) => JSX.Element;
4
3
  export default Header;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SelectHolder: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
4
3
  export default SelectHolder;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface SelectHolderModalProps {
4
3
  visible: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface ResourceItem {
4
3
  id: string | number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => JSX.Element | null;
4
3
  export default Time;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare const ExportFile: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from "../../../../../types";
3
2
  import "./index.less";
4
3
  declare const ExportTable: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare const ImportLog: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare type ImportTableProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../types';
3
2
  import './index.less';
4
3
  declare type ExportImportProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GridViewType, ModeType } from "../../../types";
3
2
  declare type ViewModeProps = {
4
3
  view: GridViewType;
@@ -1,3 +1,4 @@
1
1
  import React from "react";
2
+ import "./index.less";
2
3
  declare const AddFieldModal: React.FC;
3
4
  export default AddFieldModal;
@@ -18,7 +18,7 @@ import IconFont from "../../../iconfont";
18
18
  import { Form, Input, Popover, message } from "antd";
19
19
  import React, { useMemo, useState } from "react";
20
20
  import SelectField from "../SelectField";
21
- import styles from "./index.less";
21
+ import "./index.less";
22
22
  import { useSharedState } from "../../../../hooks";
23
23
  import { Context } from "../../model";
24
24
  var AddFieldModal = function AddFieldModal() {
@@ -75,7 +75,7 @@ var AddFieldModal = function AddFieldModal() {
75
75
  },
76
76
  onFinish: addField
77
77
  }, /*#__PURE__*/React.createElement("div", {
78
- className: styles["add-field-modal"]
78
+ className: "pisell-lowcode-add-field-modal"
79
79
  }, /*#__PURE__*/React.createElement(Form.Item, {
80
80
  label: "Field Name",
81
81
  name: "field_name",
@@ -85,25 +85,25 @@ var AddFieldModal = function AddFieldModal() {
85
85
  }]
86
86
  }, /*#__PURE__*/React.createElement(Input, {
87
87
  placeholder: "Field name (optional)",
88
- className: styles["header-search"]
88
+ className: "pisell-lowcode-header-search"
89
89
  })), /*#__PURE__*/React.createElement(SelectField, null), /*#__PURE__*/React.createElement("div", {
90
- className: styles["modal-footer"]
90
+ className: "pisell-lowcode-modal-footer"
91
91
  }, /*#__PURE__*/React.createElement("div", {
92
- className: styles["add-describe"]
92
+ className: "pisell-lowcode-add-describe"
93
93
  }, /*#__PURE__*/React.createElement(IconFont, {
94
94
  type: "pi-Plus",
95
- className: styles["icon"]
95
+ className: "pisell-lowcode-icon"
96
96
  }), /*#__PURE__*/React.createElement("span", {
97
- className: styles["label"]
97
+ className: "pisell-lowcode-label"
98
98
  }, "Add description")), /*#__PURE__*/React.createElement("div", {
99
- className: styles["btns"]
99
+ className: "pisell-lowcode-btns"
100
100
  }, /*#__PURE__*/React.createElement("div", {
101
- className: styles["cancel"],
101
+ className: "pisell-lowcode-cancel",
102
102
  onClick: function onClick() {
103
103
  onCloseModal();
104
104
  }
105
105
  }, "Cancel"), /*#__PURE__*/React.createElement("div", {
106
- className: styles["submit"],
106
+ className: "pisell-lowcode-submit",
107
107
  onClick: function onClick() {
108
108
  form.submit();
109
109
  }
@@ -120,7 +120,7 @@ var AddFieldModal = function AddFieldModal() {
120
120
  padding: 0
121
121
  },
122
122
  trigger: "click",
123
- overlayClassName: styles["popover-wrap"],
123
+ overlayClassName: "pisell-lowcode-popover-wrap",
124
124
  onOpenChange: function onOpenChange(e) {
125
125
  if (!e) {
126
126
  onCloseModal();
@@ -130,10 +130,10 @@ var AddFieldModal = function AddFieldModal() {
130
130
  },
131
131
  open: openModal
132
132
  }, /*#__PURE__*/React.createElement("div", {
133
- className: styles["add-field-btn"]
133
+ className: "pisell-lowcode-add-field-btn"
134
134
  }, /*#__PURE__*/React.createElement(IconFont, {
135
135
  type: "pi-a-Property3Add",
136
- className: styles["add-field-icon"]
136
+ className: "pisell-lowcode-add-field-icon"
137
137
  })));
138
138
  };
139
139
  export default AddFieldModal;
@@ -1,4 +1,4 @@
1
- .add-field-btn {
1
+ .pisell-lowcode-add-field-btn {
2
2
  position: absolute;
3
3
  right: 0;
4
4
  top: 0;
@@ -11,10 +11,10 @@
11
11
  box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);
12
12
  cursor: pointer;
13
13
 
14
- .add-field-icon {}
14
+ .pisell-lowcode-add-field-icon {}
15
15
  }
16
16
 
17
- .popover-wrap {
17
+ .pisell-lowcode-popover-wrap {
18
18
  :global {
19
19
  .pisell-lowcode-popover-arrow {
20
20
  display: none;
@@ -22,11 +22,11 @@
22
22
  }
23
23
  }
24
24
 
25
- .add-field-modal {
25
+ .pisell-lowcode-add-field-modal {
26
26
  width: 360px;
27
27
  padding: 16px 16px 0 16px;
28
28
 
29
- .modal-footer {
29
+ .pisell-lowcode-modal-footer {
30
30
  display: flex;
31
31
  align-items: center;
32
32
  justify-content: space-between;
@@ -35,13 +35,13 @@
35
35
  padding: 0 16px;
36
36
  border-top: 1px solid #F1F1F1;
37
37
 
38
- .add-describe {
38
+ .pisell-lowcode-add-describe {
39
39
  cursor: pointer;
40
40
  display: flex;
41
41
  align-items: center;
42
42
  justify-content: center;
43
43
 
44
- .icon {
44
+ .pisell-lowcode-icon {
45
45
  width: 24px;
46
46
  height: 24px;
47
47
  display: flex;
@@ -51,27 +51,27 @@
51
51
  color: #1B1B1B;
52
52
  }
53
53
 
54
- .label {
54
+ .pisell-lowcode-label {
55
55
  margin-left: 2px;
56
56
  font-size: 14px;
57
57
  color: #777777;
58
58
  }
59
59
  }
60
60
 
61
- .btns {
61
+ .pisell-lowcode-btns {
62
62
  display: flex;
63
63
  align-items: center;
64
64
  justify-content: center;
65
65
  gap: 16px;
66
66
 
67
- .cancel {
67
+ .pisell-lowcode-cancel {
68
68
  cursor: pointer;
69
69
  font-weight: 400;
70
70
  font-size: 14px;
71
71
  color: #1B1B1B;
72
72
  }
73
73
 
74
- .submit {
74
+ .pisell-lowcode-submit {
75
75
  cursor: pointer;
76
76
  font-weight: 400;
77
77
  font-size: 14px;
@@ -158,7 +158,7 @@ export declare const fieldList: ({
158
158
  field_icon: string;
159
159
  field_name: string;
160
160
  field_type: string;
161
- default_value: boolean;
161
+ default_value: string;
162
162
  } | {
163
163
  field_icon: string;
164
164
  field_name: string;
@@ -198,7 +198,7 @@ export declare const fieldList: ({
198
198
  field_icon: string;
199
199
  field_name: string;
200
200
  field_type: string;
201
- default_value: string;
201
+ default_value: boolean;
202
202
  } | {
203
203
  field_icon: string;
204
204
  field_name: string;
@@ -155,7 +155,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
155
155
  sort?: SortType | undefined;
156
156
  mode: "" | "localStorage" | "remote";
157
157
  currentViewMode: ModeType;
158
- }) => ("filter_setting" | "view_mode" | "group_by" | "column_setting" | "order_by" | "gallery_setting")[];
158
+ }) => ("filter_setting" | "group_by" | "order_by" | "column_setting" | "view_mode" | "gallery_setting")[];
159
159
  export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
160
160
  export declare const stringify: (obj: Record<string, any>) => string;
161
161
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AppVersionControlProps } from './types';
3
2
  import './index.less';
4
3
  declare const AppVersionControl: (props: AppVersionControlProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Drawer } from 'antd';
3
2
  import { OperationItem } from '../type';
4
3
  declare const useDrawerState: (operationContent?: {
@@ -17,7 +17,7 @@ interface UseTablePropsProps {
17
17
  * @returns
18
18
  */
19
19
  declare const useTableProps: (props: UseTablePropsProps) => {
20
- title: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
20
+ title: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
21
21
  pagination: {
22
22
  total: number;
23
23
  current: number;
@@ -26,7 +26,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
26
26
  showSizeChanger: boolean;
27
27
  };
28
28
  columns: import("./useColumns").Column[];
29
- subTitle: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
29
+ subTitle: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
30
30
  buttons: any[] | null;
31
31
  filter: JSX.Element | null;
32
32
  onRow: (record: any) => any;
@@ -52,7 +52,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
52
52
  width: number;
53
53
  align: "center" | "left" | "right";
54
54
  fixed: false | "left" | "right";
55
- type: "button" | "link";
55
+ type: "link" | "button";
56
56
  items: OperationItem[];
57
57
  } | undefined;
58
58
  operationContent?: {
@@ -70,7 +70,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
70
70
  useCustomAction: boolean;
71
71
  actionType: string;
72
72
  openMode: "modal" | "drawer";
73
- openContentSize: "large" | "middle" | "small";
73
+ openContentSize: "small" | "large" | "middle";
74
74
  openTitle: string;
75
75
  key: string;
76
76
  } | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataSourceTableProps } from '../type';
3
2
  declare type Params = {
4
3
  pagination?: {
@@ -15,4 +15,4 @@ export declare const getFileMetadataParams: (file: RcFile & {
15
15
  metadata?: MediaMetadata;
16
16
  }) => Record<string, any>;
17
17
  export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
18
- export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
18
+ export declare const getBaseTime: (size: number) => 2000 | 1000 | 4000 | 8000;
@@ -60,7 +60,7 @@ declare const formFieldMap: {
60
60
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
61
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
62
62
  };
63
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
63
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
64
64
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
65
65
  } & {
66
66
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -96,7 +96,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
96
96
  extraParams?: Record<string, any> | undefined;
97
97
  } & {
98
98
  dataSource?: any;
99
- }) => JSX.Element) | import("react").FC<any> | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
99
+ }) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
100
100
  onChange: (value: string) => void;
101
- } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
101
+ } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
102
102
  export { getFieldComponent, formFieldMap };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { SortType } from './types';
4
3
  declare const DragSortTree: (props: SortType) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface IProps {
4
3
  isShowImage?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resources: (props: any) => JSX.Element;
4
3
  export default Resources;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface IProps {
4
3
  hideDivider?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Specs: (props: any) => JSX.Element | null;
4
3
  export default Specs;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import 'dayjs/locale/zh-cn';
3
2
  import 'dayjs/locale/en';
4
3
  import 'dayjs/locale/zh-tw';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ProductCardTypes } from '../types';
4
3
  interface ISKUCardProps extends ProductCardTypes {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Action: ({ item, onAction }: any) => JSX.Element;
4
3
  export default Action;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const DeleteButton: ({ onDelete }: any) => JSX.Element;
4
3
  export default DeleteButton;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Header: (props: any) => JSX.Element;
4
3
  export default Header;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SelectHolder: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
4
3
  export default SelectHolder;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface SelectHolderModalProps {
4
3
  visible: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface ResourceItem {
4
3
  id: string | number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => JSX.Element | null;
4
3
  export default Time;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare const ExportFile: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from "../../../../../types";
3
2
  import "./index.less";
4
3
  declare const ExportTable: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare const ImportLog: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare type ImportTableProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../types';
3
2
  import './index.less';
4
3
  declare type ExportImportProps = {