@pisell/materials 2.2.88 → 2.2.90

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 (129) 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 +15 -15
  6. package/build/lowcode/view.js +3 -3
  7. package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
  8. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  9. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
  10. package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
  11. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
  12. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
  13. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  14. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  15. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
  16. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
  17. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  18. package/es/components/dataSourceComponents/fields/index.d.ts +19 -20
  19. package/es/components/date-picker/datePickerCpt.d.ts +0 -1
  20. package/es/components/filter/index.d.ts +0 -1
  21. package/es/components/list/index.d.ts +0 -1
  22. package/es/components/lowCodePage/index.d.ts +0 -1
  23. package/es/components/pisellAdjustPrice/index.d.ts +0 -1
  24. package/es/components/pisellAdjustPrice/index.js +1 -0
  25. package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
  26. package/es/components/pisellLoading/index.d.ts +0 -1
  27. package/es/components/pisellWalletPassCard/index.d.ts +0 -1
  28. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
  29. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
  30. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
  31. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -1
  32. package/es/components/productCard/cartSkuCard/index.d.ts +0 -1
  33. package/es/components/productCard/cartSkuCard/index.js +1 -1
  34. package/es/components/productCard/cartSkuCard/locales.d.ts +3 -0
  35. package/es/components/productCard/cartSkuCard/locales.js +6 -3
  36. package/es/components/productCard/components/AmountFooter/index.d.ts +0 -1
  37. package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  38. package/es/components/productCard/components/Header/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/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  46. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  47. package/es/components/qrcode/index.d.ts +0 -1
  48. package/es/components/select-time/index.d.ts +1 -0
  49. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  50. package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  51. package/es/components/table/Actions/component/Group/index.d.ts +0 -1
  52. package/es/components/table/Actions/index.d.ts +0 -1
  53. package/es/components/table/BasicTable/index.d.ts +0 -1
  54. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/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/image/index.d.ts +1 -0
  57. package/es/components/table/Table/fields/link/Show/index.d.ts +0 -1
  58. package/es/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  59. package/es/components/table/Table/fields/select/index.d.ts +0 -1
  60. package/es/components/table/Table/fields/text/Show/index.d.ts +0 -1
  61. package/es/components/table/Table/fields/text/index.d.ts +0 -1
  62. package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  63. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
  64. package/es/components/table/Table/utils.d.ts +1 -1
  65. package/es/components/table/View/index.d.ts +0 -1
  66. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -1
  67. package/es/components/virtual-keyboard/Number/index.d.ts +0 -1
  68. package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
  69. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  70. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
  71. package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
  72. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
  73. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
  74. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  75. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  76. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
  77. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
  78. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  79. package/lib/components/dataSourceComponents/fields/index.d.ts +19 -20
  80. package/lib/components/date-picker/datePickerCpt.d.ts +0 -1
  81. package/lib/components/filter/index.d.ts +0 -1
  82. package/lib/components/list/index.d.ts +0 -1
  83. package/lib/components/lowCodePage/index.d.ts +0 -1
  84. package/lib/components/pisellAdjustPrice/index.d.ts +0 -1
  85. package/lib/components/pisellAdjustPrice/index.js +1 -0
  86. package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
  87. package/lib/components/pisellLoading/index.d.ts +0 -1
  88. package/lib/components/pisellWalletPassCard/index.d.ts +0 -1
  89. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
  90. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
  91. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
  92. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -1
  93. package/lib/components/productCard/cartSkuCard/index.d.ts +0 -1
  94. package/lib/components/productCard/cartSkuCard/index.js +1 -1
  95. package/lib/components/productCard/cartSkuCard/locales.d.ts +3 -0
  96. package/lib/components/productCard/cartSkuCard/locales.js +6 -3
  97. package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -1
  98. package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  99. package/lib/components/productCard/components/Header/index.d.ts +0 -1
  100. package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
  101. package/lib/components/productCard/components/Note/index.d.ts +0 -1
  102. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  103. package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  104. package/lib/components/productCard/components/Packages/index.d.ts +0 -1
  105. package/lib/components/productCard/components/Sales/index.d.ts +0 -1
  106. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  107. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  108. package/lib/components/qrcode/index.d.ts +0 -1
  109. package/lib/components/select-time/index.d.ts +1 -0
  110. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  111. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  112. package/lib/components/table/Actions/component/Group/index.d.ts +0 -1
  113. package/lib/components/table/Actions/index.d.ts +0 -1
  114. package/lib/components/table/BasicTable/index.d.ts +0 -1
  115. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
  116. package/lib/components/table/Table/fields/date/Show/index.d.ts +0 -1
  117. package/lib/components/table/Table/fields/image/index.d.ts +1 -0
  118. package/lib/components/table/Table/fields/link/Show/index.d.ts +0 -1
  119. package/lib/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  120. package/lib/components/table/Table/fields/select/index.d.ts +0 -1
  121. package/lib/components/table/Table/fields/text/Show/index.d.ts +0 -1
  122. package/lib/components/table/Table/fields/text/index.d.ts +0 -1
  123. package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  124. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
  125. package/lib/components/table/Table/utils.d.ts +1 -1
  126. package/lib/components/table/View/index.d.ts +0 -1
  127. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -1
  128. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -1
  129. package/package.json +1 -1
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const FormItem: (props: any) => JSX.Element;
3
2
  export default FormItem;
@@ -43,7 +43,7 @@ export declare const withDataSource: <P extends unknown>(WrappedComponent: React
43
43
  }) => JSX.Element;
44
44
  export declare const withOptions: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
45
45
  options?: any;
46
- optionSourceType?: "custom" | "default" | "api" | undefined;
46
+ optionSourceType?: "default" | "custom" | "api" | undefined;
47
47
  labelField: string;
48
48
  valueField: string;
49
49
  extraParams?: Record<string, any> | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface BaseFilterItem {
4
3
  name?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FilterItemProps } from '../../../filter/types';
3
2
  import { DataSourceType, Field } from '../../provider/dataSource/DataSourceContext';
4
3
  export declare const genGetField: (dataSource?: DataSourceType) => (key: string) => Field;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const useDataSourceKey: () => {
3
2
  dataSourceKey: string | undefined;
4
3
  dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
@@ -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: "small" | "large" | "middle";
73
+ openContentSize: "small" | "middle" | "large";
74
74
  openTitle: string;
75
75
  key: string;
76
76
  } | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { JsonProps } from "./type";
3
2
  import "./ReadPretty.less";
4
3
  declare const JsonReadPretty: (props: JsonProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PasswordProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const PasswordReadPretty: (props: PasswordProps) => JSX.Element;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
3
2
  options?: any;
4
- optionSourceType?: "custom" | "default" | "api" | undefined;
3
+ optionSourceType?: "default" | "custom" | "api" | undefined;
5
4
  labelField: string;
6
5
  valueField: string;
7
6
  extraParams?: Record<string, any> | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { UploadProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  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) => 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,21 +59,11 @@ 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.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("./IconSelect/type").IconSelectProps & 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("./Upload/type").UploadProps & 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("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
64
- options?: any;
65
- optionSourceType?: "custom" | "default" | "api" | undefined;
66
- labelField: string;
67
- valueField: string;
68
- extraParams?: Record<string, any> | undefined;
69
- } & {
70
- dataSource?: any;
71
- }) => JSX.Element) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
72
- Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
62
+ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<{}> & {
63
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
73
64
  } & {
74
- Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
75
- }) | 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 & {
76
- onChange: (value: string) => void;
77
- } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
65
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
66
+ }) | 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> & {
78
67
  JSON: import("react").FC<any>;
79
68
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
80
69
  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>;
@@ -94,9 +83,19 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
94
83
  name?: string | undefined;
95
84
  fieldKey?: string | undefined;
96
85
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
97
- }) | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
98
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
86
+ }) | (import("react").FC<{}> & {
87
+ Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
99
88
  } & {
100
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
101
- });
89
+ Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
90
+ }) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
91
+ options?: any;
92
+ optionSourceType?: "default" | "custom" | "api" | undefined;
93
+ labelField: string;
94
+ valueField: string;
95
+ extraParams?: Record<string, any> | undefined;
96
+ } & {
97
+ dataSource?: any;
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 & {
99
+ onChange: (value: string) => void;
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 { PickerDateProps } from 'antd/es/date-picker/generatePicker';
3
2
  import { Dayjs } from 'dayjs';
4
3
  import './index.less';
@@ -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 './index.less';
3
2
  import { PisellAdjustPriceProps } from './type';
4
3
  declare const PisellAdjustPrice: (props: PisellAdjustPriceProps) => JSX.Element;
@@ -168,6 +168,7 @@ var PisellAdjustPrice = function PisellAdjustPrice(props) {
168
168
  }), /*#__PURE__*/React.createElement("div", {
169
169
  className: "pisell-lowcode-adjust-price-amount-wrap"
170
170
  }, /*#__PURE__*/React.createElement(Amount, _extends({}, others, {
171
+ selectType: selectType || 'light',
171
172
  inputFormat: inputFormat,
172
173
  defaultValue: updateMode === 'priceOverride' ? defaultValue : '',
173
174
  key: updateMode,
@@ -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 { SpinProps } from 'antd';
3
2
  import './index.less';
4
3
  declare type MaskType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export interface PisellWalletPassCardProps {
4
3
  id: number;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DiscountReason: (props: any) => JSX.Element;
3
2
  export default DiscountReason;
@@ -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
  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 './index.less';
3
2
  import { ProductCardTypes } from '../types';
4
3
  interface ISKUCardProps extends ProductCardTypes {
@@ -75,7 +75,7 @@ var CartSkuCard = function CartSkuCard(props) {
75
75
  style: {
76
76
  fontSize: 12
77
77
  }
78
- }, "\u5220\u9664")),
78
+ }, locales.getText('pisell2.cart.sku-card.actions.delete'))),
79
79
  color: 'danger',
80
80
  onClick: function onClick(e) {
81
81
  e.preventDefault();
@@ -4,6 +4,7 @@ declare const _default: {
4
4
  'pisell2.cart.sku-card.more': string;
5
5
  'pisell2.cart.sku-card.packages.title': string;
6
6
  'pisell2.cart.sku-card.sales.title': string;
7
+ 'pisell2.cart.sku-card.actions.delete': string;
7
8
  'pisell2.product.card.day': (val: number) => string;
8
9
  'pisell2.product.card.day.event': (val: number) => string;
9
10
  'pisell2.product.card.minute': (val: number) => string;
@@ -34,6 +35,7 @@ declare const _default: {
34
35
  'pisell2.cart.sku-card.more': string;
35
36
  'pisell2.cart.sku-card.packages.title': string;
36
37
  'pisell2.cart.sku-card.sales.title': string;
38
+ 'pisell2.cart.sku-card.actions.delete': string;
37
39
  'pisell2.product.card.edit': string;
38
40
  'pisell2.product.card.day': (val: number) => string;
39
41
  'pisell2.product.card.day.event': (val: number) => string;
@@ -64,6 +66,7 @@ declare const _default: {
64
66
  'pisell2.cart.sku-card.more': string;
65
67
  'pisell2.cart.sku-card.packages.title': string;
66
68
  'pisell2.cart.sku-card.sales.title': string;
69
+ 'pisell2.cart.sku-card.actions.delete': string;
67
70
  'pisell2.product.card.edit': string;
68
71
  'pisell2.product.card.day': (val: number) => string;
69
72
  'pisell2.product.card.day.event': (val: number) => string;
@@ -10,18 +10,21 @@ export default {
10
10
  'pisell2.product.card.discount.reason': 'Discount reason',
11
11
  'pisell2.cart.sku-card.more': 'more...',
12
12
  'pisell2.cart.sku-card.packages.title': 'Items in package',
13
- 'pisell2.cart.sku-card.sales.title': 'Sales'
13
+ 'pisell2.cart.sku-card.sales.title': 'Sales',
14
+ 'pisell2.cart.sku-card.actions.delete': 'Delete'
14
15
  }),
15
16
  'zh-CN': _objectSpread(_objectSpread({}, localeTexts['zh-CN']), {}, {
16
17
  'pisell2.product.card.discount.reason': '折扣原因',
17
18
  'pisell2.cart.sku-card.more': '更多……',
18
19
  'pisell2.cart.sku-card.packages.title': '包含的商品',
19
- 'pisell2.cart.sku-card.sales.title': '销售'
20
+ 'pisell2.cart.sku-card.sales.title': '销售',
21
+ 'pisell2.cart.sku-card.actions.delete': '删除'
20
22
  }),
21
23
  'zh-HK': _objectSpread(_objectSpread({}, localeTexts['zh-HK']), {}, {
22
24
  'pisell2.product.card.discount.reason': '折扣原因',
23
25
  'pisell2.cart.sku-card.more': '更多……',
24
26
  'pisell2.cart.sku-card.packages.title': '包含的商品',
25
- 'pisell2.cart.sku-card.sales.title': '銷售'
27
+ 'pisell2.cart.sku-card.sales.title': '銷售',
28
+ 'pisell2.cart.sku-card.actions.delete': '刪除'
26
29
  })
27
30
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Footer: ({ item, hideDivider, type, isOnlyTotal }: any) => JSX.Element;
4
3
  export default Footer;
@@ -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 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 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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface SelectHolderModalProps {
4
3
  visible: boolean;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectHolderMultiple: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
3
2
  export default SelectHolderMultiple;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const QRCode: (props: any) => JSX.Element;
3
2
  export default QRCode;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VirtualKeyboardTimeProps } from "../virtual-keyboard/Time";
2
3
  import { PopoverProps, TimePickerProps } from "antd";
3
4
  import "./index.less";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type ColumnsSettingProps = {
2
3
  value?: Record<string, any>[];
3
4
  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 "./index.less";
3
2
  declare type RenderFieldsProps = {
4
3
  fields: 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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  field: {
3
4
  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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  field: {
3
4
  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
  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;
@@ -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" | "group_by" | "order_by" | "column_setting" | "view_mode" | "gallery_setting")[];
158
+ }) => ("column_setting" | "gallery_setting" | "order_by" | "group_by" | "view_mode" | "filter_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 { 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 { AmountProps, RightItemsStyleProps } from './types';
3
2
  import './index.less';
4
3
  export type { AmountProps, RightItemsStyleProps };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { NumberProps } from './types';
3
2
  import './index.less';
4
3
  export type { NumberProps };
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const FormItem: (props: any) => JSX.Element;
3
2
  export default FormItem;
@@ -43,7 +43,7 @@ export declare const withDataSource: <P extends unknown>(WrappedComponent: React
43
43
  }) => JSX.Element;
44
44
  export declare const withOptions: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
45
45
  options?: any;
46
- optionSourceType?: "custom" | "default" | "api" | undefined;
46
+ optionSourceType?: "default" | "custom" | "api" | undefined;
47
47
  labelField: string;
48
48
  valueField: string;
49
49
  extraParams?: Record<string, any> | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface BaseFilterItem {
4
3
  name?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FilterItemProps } from '../../../filter/types';
3
2
  import { DataSourceType, Field } from '../../provider/dataSource/DataSourceContext';
4
3
  export declare const genGetField: (dataSource?: DataSourceType) => (key: string) => Field;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const useDataSourceKey: () => {
3
2
  dataSourceKey: string | undefined;
4
3
  dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
@@ -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: "small" | "large" | "middle";
73
+ openContentSize: "small" | "middle" | "large";
74
74
  openTitle: string;
75
75
  key: string;
76
76
  } | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { JsonProps } from "./type";
3
2
  import "./ReadPretty.less";
4
3
  declare const JsonReadPretty: (props: JsonProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PasswordProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const PasswordReadPretty: (props: PasswordProps) => JSX.Element;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
3
2
  options?: any;
4
- optionSourceType?: "custom" | "default" | "api" | undefined;
3
+ optionSourceType?: "default" | "custom" | "api" | undefined;
5
4
  labelField: string;
6
5
  valueField: string;
7
6
  extraParams?: Record<string, any> | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { UploadProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const UploadReadPretty: (props: UploadProps) => JSX.Element | null;