@pisell/materials 1.0.822 → 1.0.823

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 (185) 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 +8 -8
  6. package/build/lowcode/preview.js +9 -9
  7. package/build/lowcode/render/default/view.js +24 -24
  8. package/build/lowcode/view.js +25 -25
  9. package/es/components/batch-editor/index.d.ts +0 -1
  10. package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
  11. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  12. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  13. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  14. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
  15. package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
  16. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
  17. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
  18. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  19. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  20. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  21. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
  22. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
  23. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  24. package/es/components/dataSourceComponents/fields/index.d.ts +4 -5
  25. package/es/components/filter/index.d.ts +0 -1
  26. package/es/components/list/index.d.ts +0 -1
  27. package/es/components/lowCodePage/index.d.ts +0 -1
  28. package/es/components/page/index.d.ts +0 -1
  29. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
  30. package/es/components/pisellAdjustPrice/index.d.ts +0 -1
  31. package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
  32. package/es/components/pisellInput/index.d.ts +0 -1
  33. package/es/components/pisellLoading/index.d.ts +0 -1
  34. package/es/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  35. package/es/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  36. package/es/components/pisellModal/components/index.d.ts +0 -1
  37. package/es/components/pisellWalletPassCard/index.d.ts +0 -1
  38. package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  39. package/es/components/productCard/components/MultiDay/index.d.ts +0 -1
  40. package/es/components/productCard/components/Note/index.d.ts +0 -1
  41. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  42. package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  43. package/es/components/productCard/components/Packages/index.d.ts +0 -1
  44. package/es/components/productCard/components/Sales/index.d.ts +0 -1
  45. package/es/components/qrcode/index.d.ts +0 -1
  46. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  47. package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  48. package/es/components/table/Actions/component/Group/index.d.ts +0 -1
  49. package/es/components/table/Actions/index.d.ts +0 -1
  50. package/es/components/table/BasicTable/index.d.ts +0 -1
  51. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  52. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
  53. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  54. package/es/components/table/Table/SelectField/index.d.ts +0 -1
  55. package/es/components/table/Table/fields/date/Show/index.d.ts +0 -1
  56. package/es/components/table/Table/fields/date/index.d.ts +0 -1
  57. package/es/components/table/Table/fields/image/Show/index.d.ts +0 -1
  58. package/es/components/table/Table/fields/image/index.d.ts +0 -1
  59. package/es/components/table/Table/fields/index.d.ts +0 -1
  60. package/es/components/table/Table/fields/link/Show/index.d.ts +0 -1
  61. package/es/components/table/Table/fields/link/index.d.ts +0 -1
  62. package/es/components/table/Table/fields/number/Show/index.d.ts +0 -1
  63. package/es/components/table/Table/fields/number/index.d.ts +0 -1
  64. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  65. package/es/components/table/Table/fields/numberRange/index.d.ts +0 -1
  66. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  67. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  68. package/es/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  69. package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  70. package/es/components/table/Table/fields/search/Show/index.d.ts +0 -1
  71. package/es/components/table/Table/fields/search/index.d.ts +0 -1
  72. package/es/components/table/Table/fields/select/index.d.ts +0 -1
  73. package/es/components/table/Table/fields/text/Show/index.d.ts +0 -1
  74. package/es/components/table/Table/fields/text/index.d.ts +0 -1
  75. package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  76. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
  77. package/es/components/table/Table/utils.d.ts +1 -1
  78. package/es/components/table/View/index.d.ts +0 -1
  79. package/es/components/versionSelect/index.d.ts +0 -1
  80. package/es/components/virtual-keyboard/Number/index.d.ts +0 -1
  81. package/lib/components/batch-editor/index.d.ts +0 -1
  82. package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
  83. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  84. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  85. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  86. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
  87. package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
  88. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
  89. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
  90. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  91. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  92. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  93. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
  94. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
  95. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  96. package/lib/components/dataSourceComponents/fields/index.d.ts +4 -5
  97. package/lib/components/filter/index.d.ts +0 -1
  98. package/lib/components/list/index.d.ts +0 -1
  99. package/lib/components/lowCodePage/index.d.ts +0 -1
  100. package/lib/components/page/index.d.ts +0 -1
  101. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
  102. package/lib/components/pisellAdjustPrice/index.d.ts +0 -1
  103. package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
  104. package/lib/components/pisellInput/index.d.ts +0 -1
  105. package/lib/components/pisellLoading/index.d.ts +0 -1
  106. package/lib/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  107. package/lib/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  108. package/lib/components/pisellModal/components/index.d.ts +0 -1
  109. package/lib/components/pisellWalletPassCard/index.d.ts +0 -1
  110. package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  111. package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
  112. package/lib/components/productCard/components/Note/index.d.ts +0 -1
  113. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  114. package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  115. package/lib/components/productCard/components/Packages/index.d.ts +0 -1
  116. package/lib/components/productCard/components/Sales/index.d.ts +0 -1
  117. package/lib/components/qrcode/index.d.ts +0 -1
  118. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  119. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  120. package/lib/components/table/Actions/component/Group/index.d.ts +0 -1
  121. package/lib/components/table/Actions/index.d.ts +0 -1
  122. package/lib/components/table/BasicTable/index.d.ts +0 -1
  123. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  124. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
  125. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  126. package/lib/components/table/Table/SelectField/index.d.ts +0 -1
  127. package/lib/components/table/Table/fields/date/Show/index.d.ts +0 -1
  128. package/lib/components/table/Table/fields/date/index.d.ts +0 -1
  129. package/lib/components/table/Table/fields/image/Show/index.d.ts +0 -1
  130. package/lib/components/table/Table/fields/image/index.d.ts +0 -1
  131. package/lib/components/table/Table/fields/index.d.ts +0 -1
  132. package/lib/components/table/Table/fields/link/Show/index.d.ts +0 -1
  133. package/lib/components/table/Table/fields/link/index.d.ts +0 -1
  134. package/lib/components/table/Table/fields/number/Show/index.d.ts +0 -1
  135. package/lib/components/table/Table/fields/number/index.d.ts +0 -1
  136. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  137. package/lib/components/table/Table/fields/numberRange/index.d.ts +0 -1
  138. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  139. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  140. package/lib/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  141. package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  142. package/lib/components/table/Table/fields/search/Show/index.d.ts +0 -1
  143. package/lib/components/table/Table/fields/search/index.d.ts +0 -1
  144. package/lib/components/table/Table/fields/select/index.d.ts +0 -1
  145. package/lib/components/table/Table/fields/text/Show/index.d.ts +0 -1
  146. package/lib/components/table/Table/fields/text/index.d.ts +0 -1
  147. package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  148. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
  149. package/lib/components/table/Table/utils.d.ts +1 -1
  150. package/lib/components/table/View/index.d.ts +0 -1
  151. package/lib/components/versionSelect/index.d.ts +0 -1
  152. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -1
  153. package/package.json +3 -3
  154. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -32
  155. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -79
  156. package/es/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +0 -5
  157. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -25
  158. package/es/components/drag-sort-tree/index.d.ts +0 -3
  159. package/es/components/login-and-register/index.d.ts +0 -82
  160. package/es/components/pisellEmpty/index.d.ts +0 -19
  161. package/es/components/pisellInformationEntry/hooks/useNativeScanner.d.ts +0 -4
  162. package/es/components/productCard/components/Header/Actions/index.d.ts +0 -3
  163. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
  164. package/es/components/productCard/locales.d.ts +0 -81
  165. package/es/components/table/types.d.ts +0 -253
  166. package/es/components/walletCard/Guide/index.d.ts +0 -3
  167. package/es/locales/en-US.d.ts +0 -277
  168. package/es/locales/zh-CN.d.ts +0 -272
  169. package/es/locales/zh-TW.d.ts +0 -272
  170. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -32
  171. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -79
  172. package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +0 -5
  173. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -25
  174. package/lib/components/drag-sort-tree/index.d.ts +0 -3
  175. package/lib/components/login-and-register/index.d.ts +0 -82
  176. package/lib/components/pisellEmpty/index.d.ts +0 -19
  177. package/lib/components/pisellInformationEntry/hooks/useNativeScanner.d.ts +0 -4
  178. package/lib/components/productCard/components/Header/Actions/index.d.ts +0 -3
  179. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
  180. package/lib/components/productCard/locales.d.ts +0 -81
  181. package/lib/components/table/types.d.ts +0 -253
  182. package/lib/components/walletCard/Guide/index.d.ts +0 -3
  183. package/lib/locales/en-US.d.ts +0 -277
  184. package/lib/locales/zh-CN.d.ts +0 -272
  185. package/lib/locales/zh-TW.d.ts +0 -272
@@ -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) => 2000 | 1000 | 4000 | 8000;
18
+ export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const formFieldMap: {
3
2
  FormItemCheckbox: import("react").FC<{}> & {
4
3
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -35,7 +34,7 @@ declare const formFieldMap: {
35
34
  };
36
35
  FormItemSelect: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
37
36
  options?: any;
38
- optionSourceType?: "custom" | "default" | "api" | undefined;
37
+ optionSourceType?: "default" | "custom" | "api" | undefined;
39
38
  labelField: string;
40
39
  valueField: string;
41
40
  extraParams?: Record<string, any> | undefined;
@@ -60,7 +59,7 @@ declare const formFieldMap: {
60
59
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
60
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
62
61
  };
63
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & 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<{}> & {
62
+ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<{}> & {
64
63
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
65
64
  } & {
66
65
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -90,13 +89,13 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
90
89
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
91
90
  }) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
92
91
  options?: any;
93
- optionSourceType?: "custom" | "default" | "api" | undefined;
92
+ optionSourceType?: "default" | "custom" | "api" | undefined;
94
93
  labelField: string;
95
94
  valueField: string;
96
95
  extraParams?: Record<string, any> | undefined;
97
96
  } & {
98
97
  dataSource?: any;
99
- }) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
98
+ }) => 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 & {
100
99
  onChange: (value: string) => void;
101
100
  } & 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("./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>;
102
101
  export { getFieldComponent, formFieldMap };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FilterProps } from "./types";
3
2
  declare const Filter: (props: FilterProps) => JSX.Element | null;
4
3
  export default Filter;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const List: {
4
3
  (props: any): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare type LowCodePageProps = {
3
2
  id: number;
4
3
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ConfigProviderProps } from '../config-provider';
3
2
  interface PageProps extends ConfigProviderProps {
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputNumberProps } from 'antd/es/input-number';
3
2
  export interface PisellAdjustPriceInputNumberProps extends Omit<InputNumberProps, 'onChange'> {
4
3
  value?: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export interface PisellAdjustPriceProps {
4
3
  value?: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps, ButtonProps } from 'antd';
3
2
  import { PisellContextType } from "../../../pisell-config-provider/context";
4
3
  export interface CopyProps extends InputProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from 'antd';
3
2
  import { PisellContextType } from '../pisell-config-provider/context';
4
3
  declare const PisellInput: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SpinProps } from 'antd';
3
2
  import './index.less';
4
3
  declare type MaskType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PcModalProps } from '../PcModal';
3
2
  export interface IpadModalProps extends PcModalProps {
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PcModalProps } from '../PcModal';
3
2
  import './index.less';
4
3
  export interface MobileModalProps extends PcModalProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import IpadModal from './IpadModal';
3
2
  import MobileModal from './MobileModal';
4
3
  import PcModal from './PcModal';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export interface PisellWalletPassCardProps {
4
3
  id: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const EditButton: ({ onEdit }: any) => JSX.Element;
4
3
  export default EditButton;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
4
3
  export default MultiDay;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Note: (props: any) => JSX.Element | null;
4
3
  export default Note;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const renderBundles: (item: any, hidePrice?: boolean, isShowPackageNote?: boolean) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Options: ({ options, amountSymbol }: any) => JSX.Element | null;
4
3
  export default Options;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Packages: ({ item, isShowPackageNote }: any) => JSX.Element | null;
4
3
  export default Packages;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Sales: ({ item, isShowNote }: any) => JSX.Element | null;
4
3
  export default Sales;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const QRCode: (props: any) => JSX.Element;
3
2
  export default QRCode;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare type ColumnsSettingProps = {
3
2
  value?: Record<string, any>[];
4
3
  onChange?: (val: Record<string, any>[]) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GallerySettingType, ModeType } from "../../../types";
3
2
  import "./index.less";
4
3
  declare type GallerySettingProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataSourceGroupType } from "../../../types";
3
2
  declare type GroupProps = {
4
3
  setting: DataSourceGroupType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FilterType } from "../../filter/types";
3
2
  import { ColumnSettingType, DataSourceGroupType, ExportImportType, GallerySettingType, GridViewType, SortType } from "../types";
4
3
  import "./index.less";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TableProps } from 'antd';
3
2
  declare const BasicTable: (props: TableProps<any>) => JSX.Element;
4
3
  export default BasicTable;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GallerySettingType, GallerySettingValueType } from "../../../../../types";
3
2
  declare type CoverProps = {
4
3
  cover?: GallerySettingType["cover"];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type RenderFieldsProps = {
4
3
  fields: string[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GallerySettingType } from "../../../../../types";
3
2
  import "./index.less";
4
3
  declare type TitleProps = GallerySettingType["title"] & {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectField: () => JSX.Element;
3
2
  export default SelectField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const fieldMaps: {
3
2
  text: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  import "./index.less";
4
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const SortRow: ({ children, rowKey, onSortChange }: any) => JSX.Element;
4
3
  export default SortRow;
@@ -167,7 +167,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
167
167
  sort?: SortType | undefined;
168
168
  mode: "" | "localStorage" | "remote";
169
169
  currentViewMode: ModeType;
170
- }) => ("filter_setting" | "group_by" | "order_by" | "column_setting" | "view_mode" | "gallery_setting")[];
170
+ }) => ("view_mode" | "filter_setting" | "group_by" | "order_by" | "column_setting" | "gallery_setting")[];
171
171
  export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
172
172
  export declare const stringify: (obj: Record<string, any>) => string;
173
173
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GridViewProps } from '../types';
3
2
  declare const View: (props: GridViewProps & {
4
3
  setTableSetting: (values: Record<string, any>) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  import './index.less';
4
3
  export interface Version {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface NumberProps {
3
2
  max?: number;
4
3
  min?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "1.0.822",
3
+ "version": "1.0.823",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -71,9 +71,9 @@
71
71
  "swiper": "^8.4.7",
72
72
  "react-barcode": "^1.5.3",
73
73
  "vod-js-sdk-v6": "^1.4.11",
74
- "@pisell/date-picker": "1.0.119",
74
+ "@pisell/date-picker": "1.0.120",
75
75
  "@pisell/icon": "0.0.10",
76
- "@pisell/utils": "1.0.47"
76
+ "@pisell/utils": "1.0.48"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "react": "^18.0.0",
@@ -1,32 +0,0 @@
1
- import { DataSourceTableProps } from '../type';
2
- declare type Params = {
3
- pagination?: {
4
- page: number;
5
- size: number;
6
- };
7
- order_by?: string;
8
- tabs?: {
9
- name: string;
10
- filterBy: Record<string, any>;
11
- sortBy: string;
12
- };
13
- };
14
- declare const useTableQuery: (props: DataSourceTableProps) => {
15
- queryPageConfig: {
16
- page: number;
17
- pageSize: number;
18
- filter: Record<string, any>;
19
- sort: string;
20
- };
21
- setQueryPageConfig: import("react").Dispatch<import("react").SetStateAction<{
22
- page: number;
23
- pageSize: number;
24
- filter: Record<string, any>;
25
- sort: string;
26
- }>>;
27
- handleValuesChange: (params: Params, allParams: Params) => void;
28
- refreshData: () => void;
29
- handleFilterChange: (changedFields: any, allFields: any) => void;
30
- refreshCurrentPage: () => void;
31
- };
32
- export default useTableQuery;
@@ -1,79 +0,0 @@
1
- /// <reference types="react" />
2
- import { ColumnType } from 'antd/es/table';
3
- import { DataSourceType } from '../provider/dataSource/DataSourceContext';
4
- export declare type OperationItem = {
5
- label?: string;
6
- openMode: 'modal' | 'drawer' | 'custom';
7
- openContentSize: 'small' | 'middle' | 'large';
8
- openTitle: string;
9
- actionType: 'detail' | 'edit' | 'delete' | 'custom';
10
- key: string;
11
- buttonProps?: any;
12
- onClick?: (record: any) => void;
13
- };
14
- export interface DataSourceTableProps {
15
- title?: string | React.ReactNode | (() => React.ReactNode);
16
- subTitle?: string | React.ReactNode | (() => React.ReactNode);
17
- titleButtons?: {
18
- show: boolean;
19
- maxCount: number;
20
- items: OperationItem[];
21
- };
22
- tableButtons?: {
23
- show: boolean;
24
- maxCount: number;
25
- items: OperationItem[];
26
- };
27
- buttons?: any[];
28
- operation?: {
29
- show: boolean;
30
- title: string;
31
- width: number;
32
- align: 'left' | 'center' | 'right';
33
- fixed: 'left' | 'right' | false;
34
- type: 'link' | 'button';
35
- items: OperationItem[];
36
- };
37
- operationContent?: {
38
- [key: string]: React.ReactNode;
39
- };
40
- dataSource: DataSourceType;
41
- columns: ColumnType<any>[];
42
- filter: any;
43
- search?: {
44
- show: boolean;
45
- placeholder: string;
46
- };
47
- __designMode: string;
48
- componentId: string;
49
- clickToDetail?: {
50
- show: boolean;
51
- useCustomAction: boolean;
52
- actionType: string;
53
- openMode: 'modal' | 'drawer';
54
- openContentSize: 'small' | 'middle' | 'large';
55
- openTitle: string;
56
- key: string;
57
- };
58
- onRow?: any;
59
- filterBy?: Record<string, any>;
60
- sortBy: string;
61
- tabs?: {
62
- show: boolean;
63
- type: string;
64
- items: {
65
- name: string;
66
- filterBy: Record<string, any>;
67
- sortBy: string;
68
- }[];
69
- };
70
- onValuesChange?: (changedValues: any, values: any) => void;
71
- onDeleteFinish?: (record: Record<string, any>) => void;
72
- extraParams?: {
73
- list?: Record<string, any>;
74
- get?: Record<string, any>;
75
- update?: Record<string, any>;
76
- create?: Record<string, any>;
77
- destroy?: Record<string, any>;
78
- };
79
- }
@@ -1,5 +0,0 @@
1
- import type { FC } from 'react';
2
- import { DatePickerProps } from './type';
3
- import './ReadPretty.less';
4
- declare const DatePickerReadPretty: FC<DatePickerProps>;
5
- export default DatePickerReadPretty;
@@ -1,25 +0,0 @@
1
- /**
2
- * 获取nocobase数据列表
3
- */
4
- export declare const getCountryDataList: () => Promise<any>;
5
- export declare const getShopCountryDataList: (locale?: any) => Promise<any>;
6
- export interface Country {
7
- id: number;
8
- name: {
9
- en: string;
10
- "zh-CN": string;
11
- "zh-HK": string;
12
- original: string;
13
- };
14
- code: string;
15
- calling_code: string;
16
- currency_code: string;
17
- sort: number;
18
- status: string;
19
- created_at: string;
20
- updated_at: string;
21
- prefix: string;
22
- }
23
- export declare const useCountries: () => {
24
- data: Country[];
25
- };
@@ -1,3 +0,0 @@
1
- import { SortType } from './types';
2
- declare const DragSortTree: (props: SortType) => JSX.Element;
3
- export default DragSortTree;