@pisell/materials 6.3.35 → 6.3.36

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 (126) 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 +1 -1
  6. package/es/components/Pagination/index.d.ts +1 -0
  7. package/es/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +1 -0
  8. package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
  9. package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
  10. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
  11. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
  12. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  13. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  14. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  15. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  16. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  17. package/es/components/dataSourceComponents/fields/index.d.ts +6 -6
  18. package/es/components/date-picker/datePickerCpt.d.ts +1 -0
  19. package/es/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  20. package/es/components/filter/index.d.ts +1 -0
  21. package/es/components/list/index.d.ts +1 -0
  22. package/es/components/lowCodePage/index.d.ts +1 -0
  23. package/es/components/pisellAdjustPrice/index.d.ts +4 -0
  24. package/es/components/pisellAdjustPrice/status.d.ts +32 -0
  25. package/es/components/pisellAdjustPrice/type.d.ts +20 -0
  26. package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +1 -0
  27. package/es/components/pisellInput/components/Copy/index.d.ts +1 -0
  28. package/es/components/pisellLoading/index.d.ts +1 -0
  29. package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +7 -0
  30. package/es/components/pisellWalletPassCard/index.d.ts +1 -0
  31. package/es/components/productCard/components/AmountFooter/index.d.ts +1 -0
  32. package/es/components/productCard/components/Header/EditButton/index.d.ts +1 -0
  33. package/es/components/productCard/components/Header/index.d.ts +1 -0
  34. package/es/components/productCard/components/MultiDay/index.d.ts +1 -0
  35. package/es/components/productCard/components/Note/index.d.ts +1 -0
  36. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  37. package/es/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  38. package/es/components/productCard/components/Packages/index.d.ts +1 -0
  39. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  40. package/es/components/productCard/components/Sales/index.d.ts +1 -0
  41. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
  42. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -0
  43. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
  44. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  45. package/es/components/qrcode/index.d.ts +1 -0
  46. package/es/components/table/Actions/index.d.ts +1 -0
  47. package/es/components/table/BasicTable/index.d.ts +1 -0
  48. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  49. package/es/components/table/Table/fields/date/Show/index.d.ts +1 -0
  50. package/es/components/table/Table/fields/index.d.ts +2 -2
  51. package/es/components/table/Table/fields/link/Show/index.d.ts +1 -0
  52. package/es/components/table/Table/fields/select/index.d.ts +1 -0
  53. package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  54. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
  55. package/es/components/table/Table/utils.d.ts +1 -1
  56. package/es/components/table/View/index.d.ts +1 -0
  57. package/es/components/virtual-keyboard/Amount/index.d.ts +5 -0
  58. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  59. package/es/components/virtual-keyboard/Amount/types.d.ts +44 -0
  60. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +21 -0
  61. package/es/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  62. package/es/components/virtual-keyboard/Number/index.d.ts +5 -0
  63. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  64. package/es/components/virtual-keyboard/Number/types.d.ts +25 -0
  65. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  66. package/lib/components/Pagination/index.d.ts +1 -0
  67. package/lib/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +1 -0
  68. package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
  69. package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
  70. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
  71. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
  72. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  73. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  74. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  75. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  76. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  77. package/lib/components/dataSourceComponents/fields/index.d.ts +6 -6
  78. package/lib/components/date-picker/datePickerCpt.d.ts +1 -0
  79. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  80. package/lib/components/filter/index.d.ts +1 -0
  81. package/lib/components/list/index.d.ts +1 -0
  82. package/lib/components/lowCodePage/index.d.ts +1 -0
  83. package/lib/components/pisellAdjustPrice/index.d.ts +4 -0
  84. package/lib/components/pisellAdjustPrice/status.d.ts +32 -0
  85. package/lib/components/pisellAdjustPrice/type.d.ts +20 -0
  86. package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +1 -0
  87. package/lib/components/pisellInput/components/Copy/index.d.ts +1 -0
  88. package/lib/components/pisellLoading/index.d.ts +1 -0
  89. package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +7 -0
  90. package/lib/components/pisellWalletPassCard/index.d.ts +1 -0
  91. package/lib/components/productCard/components/AmountFooter/index.d.ts +1 -0
  92. package/lib/components/productCard/components/Header/EditButton/index.d.ts +1 -0
  93. package/lib/components/productCard/components/Header/index.d.ts +1 -0
  94. package/lib/components/productCard/components/MultiDay/index.d.ts +1 -0
  95. package/lib/components/productCard/components/Note/index.d.ts +1 -0
  96. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  97. package/lib/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  98. package/lib/components/productCard/components/Packages/index.d.ts +1 -0
  99. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  100. package/lib/components/productCard/components/Sales/index.d.ts +1 -0
  101. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
  102. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -0
  103. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
  104. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  105. package/lib/components/qrcode/index.d.ts +1 -0
  106. package/lib/components/table/Actions/index.d.ts +1 -0
  107. package/lib/components/table/BasicTable/index.d.ts +1 -0
  108. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  109. package/lib/components/table/Table/fields/date/Show/index.d.ts +1 -0
  110. package/lib/components/table/Table/fields/index.d.ts +2 -2
  111. package/lib/components/table/Table/fields/link/Show/index.d.ts +1 -0
  112. package/lib/components/table/Table/fields/select/index.d.ts +1 -0
  113. package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  114. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
  115. package/lib/components/table/Table/utils.d.ts +1 -1
  116. package/lib/components/table/View/index.d.ts +1 -0
  117. package/lib/components/virtual-keyboard/Amount/index.d.ts +5 -0
  118. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  119. package/lib/components/virtual-keyboard/Amount/types.d.ts +44 -0
  120. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +21 -0
  121. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  122. package/lib/components/virtual-keyboard/Number/index.d.ts +5 -0
  123. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  124. package/lib/components/virtual-keyboard/Number/types.d.ts +25 -0
  125. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  126. package/package.json +1 -1
@@ -0,0 +1,25 @@
1
+ export interface NumberProps {
2
+ max?: number;
3
+ min?: number;
4
+ doneText?: string;
5
+ resetText: string;
6
+ defaultValue?: string | number;
7
+ placeholder?: string;
8
+ value?: string | number;
9
+ onChange?: (val: string | number) => void;
10
+ onEnter?: (val: string | number) => void;
11
+ selectType?: 'light' | 'dark';
12
+ backgroundColor?: string;
13
+ containerBackgroundColor?: string;
14
+ buttonBackgroundColor?: string;
15
+ textColor?: string;
16
+ resetButtonBackgroundColor?: string;
17
+ resetButtonTextColor?: string;
18
+ isDoneButtonFollowTheme?: boolean;
19
+ doneButtonBackgroundColor?: string;
20
+ doneButtonTextColor?: string;
21
+ keyboardBackgroundColor?: string;
22
+ keyboardButtonBackgroundColor?: string;
23
+ keyboardButtonTextColor?: string;
24
+ keyboardButtonHoverColor?: string;
25
+ }
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { InputProps } from 'antd';
3
+ import './index.less';
4
+ export interface VirtualKeyInputProps extends InputProps {
5
+ previewValue?: string;
6
+ renderInput?: (props: any) => any;
7
+ showDelete?: boolean;
8
+ onValueSelect?: (selected: boolean) => void;
9
+ defaultSelect?: boolean;
10
+ style?: React.CSSProperties;
11
+ }
12
+ declare const VirtualKeyInput: (props: VirtualKeyInputProps) => JSX.Element;
13
+ export default VirtualKeyInput;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PaginationProps } from 'antd';
2
3
  import './index.less';
3
4
  declare const Pagination: (props: PaginationProps) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellImageCardProps } from './types';
2
3
  import './PisellImageCard.less';
3
4
  /**
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const FormItem: (props: any) => JSX.Element;
2
3
  export default FormItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterItemProps } from '../../../filter/types';
2
3
  import { DataSourceType, Field } from '../../provider/dataSource/DataSourceContext';
3
4
  export declare const genGetField: (dataSource?: DataSourceType) => (key: string) => Field;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const useDataSourceKey: () => {
2
3
  dataSourceKey: string | undefined;
3
4
  dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
@@ -72,7 +72,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
72
72
  useCustomAction: boolean;
73
73
  actionType: string;
74
74
  openMode: "modal" | "drawer";
75
- openContentSize: "small" | "middle" | "large";
75
+ openContentSize: "small" | "large" | "middle";
76
76
  openTitle: string;
77
77
  key: string;
78
78
  } | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSourceTableProps } from '../type';
2
3
  declare type Params = {
3
4
  pagination?: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { JsonProps } from "./type";
2
3
  import "./ReadPretty.less";
3
4
  declare const JsonReadPretty: (props: JsonProps) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PasswordProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const PasswordReadPretty: (props: PasswordProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { UploadProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const UploadReadPretty: (props: UploadProps) => JSX.Element | null;
@@ -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;
@@ -81,11 +81,13 @@ declare const formFieldMap: {
81
81
  extraParams?: Record<string, any> | undefined;
82
82
  }) => JSX.Element;
83
83
  };
84
- declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<{}> & {
84
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
85
85
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
86
86
  } & {
87
87
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
88
- }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
88
+ }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & 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("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
89
+ onChange: (value: string) => void;
90
+ } & 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("./Input/type").InputProps> & {
89
91
  JSON: import("react").FC<any>;
90
92
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
91
93
  TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
@@ -105,7 +107,7 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
105
107
  name?: string | undefined;
106
108
  fieldKey?: string | undefined;
107
109
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
108
- }) | (import("react").FC<{}> & {
110
+ }) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
109
111
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
110
112
  } & {
111
113
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -118,9 +120,7 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
118
120
  } & {
119
121
  dataSource?: any;
120
122
  extraParams?: Record<string, any> | undefined;
121
- }) => 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 & {
122
- onChange: (value: string) => void;
123
- } & 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> | ((props: import("./RecordListWrapper/type").RecordListWrapperProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
123
+ }) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | 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> | ((props: import("./RecordListWrapper/type").RecordListWrapperProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
124
124
  options?: any;
125
125
  optionSourceType?: "default" | "custom" | "api" | undefined;
126
126
  labelField: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PickerDateProps } from 'antd/es/date-picker/generatePicker';
2
3
  import { Dayjs } from 'dayjs';
3
4
  import './index.less';
@@ -0,0 +1,18 @@
1
+ import './index.less';
2
+ import { ValueProps, SortType } from '../types';
3
+ declare type IdType = string | number;
4
+ declare type TreeItemProps = {
5
+ id: string | number;
6
+ key: string | number;
7
+ item: ValueProps | any;
8
+ depth: number;
9
+ lists: any[];
10
+ childrenProps?: SortType;
11
+ sensors?: any;
12
+ expandedKeys?: IdType[];
13
+ setExpandedKeys?: any;
14
+ onSelectKeys?: (ids: IdType) => void;
15
+ onChange?: (value: any[]) => void;
16
+ };
17
+ declare const TreeItem: (props: TreeItemProps) => JSX.Element;
18
+ export default TreeItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterProps } from "./types";
2
3
  declare const Filter: (props: FilterProps) => JSX.Element | null;
3
4
  export default Filter;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const List: {
3
4
  (props: any): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type LowCodePageProps = {
2
3
  id: number;
3
4
  };
@@ -0,0 +1,4 @@
1
+ import './index.less';
2
+ import { PisellAdjustPriceProps } from './type';
3
+ declare const PisellAdjustPrice: (props: PisellAdjustPriceProps) => JSX.Element;
4
+ export default PisellAdjustPrice;
@@ -0,0 +1,32 @@
1
+ export declare const defaultConfig: {
2
+ dark: {
3
+ backgroundColor: string;
4
+ containerBackgroundColor: string;
5
+ buttonBackgroundColor: string;
6
+ textColor: string;
7
+ resetButtonBackgroundColor: string;
8
+ resetButtonTextColor: string;
9
+ isDoneButtonFollowTheme: boolean;
10
+ doneButtonBackgroundColor: string;
11
+ doneButtonTextColor: string;
12
+ isShowMainText: boolean;
13
+ mainTextColor: string;
14
+ isShowSubText: boolean;
15
+ subTextColor: string;
16
+ };
17
+ light: {
18
+ backgroundColor: string;
19
+ containerBackgroundColor: string;
20
+ buttonBackgroundColor: string;
21
+ textColor: string;
22
+ resetButtonBackgroundColor: string;
23
+ resetButtonTextColor: string;
24
+ isDoneButtonFollowTheme: boolean;
25
+ doneButtonBackgroundColor: string;
26
+ doneButtonTextColor: string;
27
+ isShowMainText: boolean;
28
+ mainTextColor: string;
29
+ isShowSubText: boolean;
30
+ subTextColor: string;
31
+ };
32
+ };
@@ -0,0 +1,20 @@
1
+ export interface PisellAdjustPriceProps {
2
+ value?: number;
3
+ originValue: number;
4
+ defaultValue?: number;
5
+ onChange?: (val: number) => void;
6
+ selectType?: 'light' | 'dark';
7
+ backgroundColor?: string;
8
+ containerBackgroundColor?: string;
9
+ buttonBackgroundColor?: string;
10
+ textColor?: string;
11
+ resetButtonBackgroundColor?: string;
12
+ resetButtonTextColor?: string;
13
+ isDoneButtonFollowTheme?: boolean;
14
+ doneButtonBackgroundColor?: string;
15
+ doneButtonTextColor?: string;
16
+ isShowMainText?: boolean;
17
+ mainTextColor?: string;
18
+ isShowSubText?: boolean;
19
+ subTextColor?: string;
20
+ }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const useDataSourceKey: () => {
2
3
  dataSourceKey: string | undefined;
3
4
  dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps, ButtonProps } from 'antd';
2
3
  import { PisellContextType } from "../../../pisell-config-provider/context";
3
4
  export interface CopyProps extends InputProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SpinProps } from 'antd';
2
3
  import './index.less';
3
4
  declare type MaskType = {
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import type { RecordBoardCalendarProps } from '../../types';
3
+ export declare type PisellRecordBoardCalendarViewProps = RecordBoardCalendarProps;
4
+ /**
5
+ * RecordBoard 日历视图:内嵌 BookingCalendarDemo(Tailwind 样式由包入口 `pisell-materials.tw.css` 注入)。
6
+ */
7
+ export declare function PisellRecordBoardCalendarView(props: PisellRecordBoardCalendarViewProps): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export interface PisellWalletPassCardProps {
3
4
  id: number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Footer: ({ item, hideDivider, type, isOnlyTotal }: any) => JSX.Element;
3
4
  export default Footer;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const EditButton: ({ onEdit }: any) => JSX.Element;
3
4
  export default EditButton;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Header: (props: any) => JSX.Element;
3
4
  export default Header;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
3
4
  export default MultiDay;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Note: (props: any) => JSX.Element | null;
3
4
  export default Note;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const renderBundles: (item: any, hidePrice?: boolean, isShowPackageNote?: boolean) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Options: ({ options, amountSymbol }: any) => JSX.Element | null;
3
4
  export default Options;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Packages: ({ item, isShowPackageNote }: any) => JSX.Element | null;
3
4
  export default Packages;
@@ -17,4 +17,4 @@ export declare const minusSign: (item: any, type?: string) => "-" | "";
17
17
  * @Author: WangHan
18
18
  * @Date: 2024-11-22 10:58
19
19
  */
20
- export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => string | number;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Sales: ({ item, isShowNote }: any) => JSX.Element | null;
3
4
  export default Sales;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SelectHolder: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
3
4
  export default SelectHolder;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface SelectHolderModalProps {
3
4
  visible: boolean;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectHolderMultiple: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
2
3
  export default SelectHolderMultiple;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface ResourceItem {
3
4
  id: string | number;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const QRCode: (props: any) => JSX.Element;
2
3
  export default QRCode;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterType } from "../../filter/types";
2
3
  import { ColumnSettingType, DataSourceGroupType, ExportImportType, GallerySettingType, GridViewType, SortType } from "../types";
3
4
  import "./index.less";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TableProps } from 'antd';
2
3
  declare const BasicTable: (props: TableProps<any>) => JSX.Element;
3
4
  export default BasicTable;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type RenderFieldsProps = {
3
4
  fields: string[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -198,12 +198,12 @@ export declare const fieldList: ({
198
198
  field_icon: string;
199
199
  field_name: string;
200
200
  field_type: string;
201
- default_value: boolean;
201
+ default_value: string;
202
202
  } | {
203
203
  field_icon: string;
204
204
  field_name: string;
205
205
  field_type: string;
206
- default_value: string;
206
+ default_value: boolean;
207
207
  } | {
208
208
  field_icon: string;
209
209
  field_name: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const SortRow: ({ children, rowKey, onSortChange }: any) => JSX.Element;
3
4
  export default SortRow;
@@ -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
- }) => ("filters" | "column_setting" | "gallery_setting" | "order_by" | "group_by" | "view_mode" | "filter_setting")[];
158
+ }) => ("column_setting" | "gallery_setting" | "filters" | "filter_setting" | "view_mode" | "group_by" | "order_by")[];
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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { GridViewProps } from '../types';
2
3
  declare const View: (props: GridViewProps & {
3
4
  setTableSetting: (values: Record<string, any>) => void;
@@ -0,0 +1,5 @@
1
+ import { AmountProps, RightItemsStyleProps } from './types';
2
+ import './index.less';
3
+ export type { AmountProps, RightItemsStyleProps };
4
+ declare const Amount: (props: AmountProps) => JSX.Element;
5
+ export default Amount;
@@ -0,0 +1,32 @@
1
+ export declare const amountThemeConfig: {
2
+ dark: {
3
+ backgroundColor: string;
4
+ containerBackgroundColor: string;
5
+ buttonBackgroundColor: string;
6
+ textColor: string;
7
+ resetButtonBackgroundColor: string;
8
+ resetButtonTextColor: string;
9
+ isDoneButtonFollowTheme: boolean;
10
+ doneButtonBackgroundColor: string;
11
+ doneButtonTextColor: string;
12
+ keyboardBackgroundColor: string;
13
+ keyboardButtonBackgroundColor: string;
14
+ keyboardButtonTextColor: string;
15
+ keyboardButtonHoverColor: string;
16
+ };
17
+ light: {
18
+ backgroundColor: string;
19
+ containerBackgroundColor: string;
20
+ buttonBackgroundColor: string;
21
+ textColor: string;
22
+ resetButtonBackgroundColor: string;
23
+ resetButtonTextColor: string;
24
+ isDoneButtonFollowTheme: boolean;
25
+ doneButtonBackgroundColor: string;
26
+ doneButtonTextColor: string;
27
+ keyboardBackgroundColor: string;
28
+ keyboardButtonBackgroundColor: string;
29
+ keyboardButtonTextColor: string;
30
+ keyboardButtonHoverColor: string;
31
+ };
32
+ };
@@ -0,0 +1,44 @@
1
+ /// <reference types="react" />
2
+ import { BaseNumberKeyboardProps } from '../BaseNumberKeyboard';
3
+ export interface RightItemsStyleProps {
4
+ buttonBackgroundColor?: string;
5
+ textColor?: string;
6
+ resetButtonBackgroundColor?: string;
7
+ resetButtonTextColor?: string;
8
+ isDoneButtonFollowTheme?: boolean;
9
+ doneButtonBackgroundColor?: string;
10
+ doneButtonTextColor?: string;
11
+ }
12
+ export interface AmountProps {
13
+ max?: number;
14
+ min?: number;
15
+ doneText?: string;
16
+ resetText?: string;
17
+ defaultValue?: string | number;
18
+ placeholder?: string;
19
+ amountProps?: {
20
+ showCurrencySymbol: boolean;
21
+ useThousandsSeparator: boolean;
22
+ };
23
+ presets?: BaseNumberKeyboardProps['presets'];
24
+ value?: string | number;
25
+ onChange?: (val: string | number) => void;
26
+ onEnter?: (val: string | number) => void;
27
+ defaultSelect?: boolean;
28
+ inputFormat?: (_v: string) => React.ReactNode | null;
29
+ rightItemsStyle?: RightItemsStyleProps;
30
+ selectType?: 'light' | 'dark';
31
+ backgroundColor?: string;
32
+ containerBackgroundColor?: string;
33
+ buttonBackgroundColor?: string;
34
+ textColor?: string;
35
+ resetButtonBackgroundColor?: string;
36
+ resetButtonTextColor?: string;
37
+ isDoneButtonFollowTheme?: boolean;
38
+ doneButtonBackgroundColor?: string;
39
+ doneButtonTextColor?: string;
40
+ keyboardBackgroundColor?: string;
41
+ keyboardButtonBackgroundColor?: string;
42
+ keyboardButtonTextColor?: string;
43
+ keyboardButtonHoverColor?: string;
44
+ }
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import { PresetsProps } from './Presets';
3
+ import { RightItemsStyleProps } from '../Amount';
4
+ import './index.less';
5
+ export interface BaseNumberKeyboardProps {
6
+ placeholder?: string;
7
+ format?: (val: string) => React.ReactNode;
8
+ defaultValue?: string | number;
9
+ doneText?: string;
10
+ resetText?: string;
11
+ onChange?: (val: string) => void;
12
+ onEnter?: (val: string) => void;
13
+ value?: string | number;
14
+ max?: number;
15
+ min?: number;
16
+ presets?: PresetsProps['presets'];
17
+ defaultSelect?: boolean;
18
+ rightItemsStyle?: RightItemsStyleProps;
19
+ }
20
+ declare const BaseNumberKeyboard: (props: BaseNumberKeyboardProps) => JSX.Element;
21
+ export default BaseNumberKeyboard;
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export declare type ItemValue = string | number;
4
+ export interface Item {
5
+ value: ItemValue;
6
+ label: React.ReactNode;
7
+ disabled: boolean;
8
+ type: 'text' | 'primary';
9
+ style?: React.CSSProperties;
10
+ size?: number;
11
+ }
12
+ export interface KeyboardProps {
13
+ className?: string;
14
+ style?: React.CSSProperties;
15
+ onChange?: (value?: ItemValue) => void;
16
+ items?: Item[];
17
+ rightItems?: Item[];
18
+ keydown?: boolean;
19
+ }
20
+ declare const _default: React.MemoExoticComponent<(props: KeyboardProps) => JSX.Element>;
21
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import { NumberProps } from './types';
2
+ import './index.less';
3
+ export type { NumberProps };
4
+ declare const Number: (props: NumberProps) => JSX.Element;
5
+ export default Number;