@pisell/materials 3.3.101 → 3.3.102

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 (139) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +6 -6
  7. package/build/lowcode/render/default/view.js +1 -1
  8. package/build/lowcode/view.js +1 -1
  9. package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +0 -1
  10. package/es/components/PisellCards/index.d.ts +0 -1
  11. package/es/components/PisellFields/index.d.ts +0 -1
  12. package/es/components/PisellLayouts/index.d.ts +0 -1
  13. package/es/components/appVersionControl/index.d.ts +1 -0
  14. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  15. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  16. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  17. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  18. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
  19. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  20. package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +0 -1
  21. package/es/components/dataSourceComponents/fields/Select/index.d.ts +0 -1
  22. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +0 -1
  23. package/es/components/dataSourceComponents/fields/index.d.ts +2 -2
  24. package/es/components/date-picker/index.d.ts +1 -0
  25. package/es/components/drag-sort-tree/index.d.ts +1 -0
  26. package/es/components/filter/index.d.ts +1 -0
  27. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  28. package/es/components/pisellDataSourceContainer/PisellDataSourceContainer.d.ts +0 -1
  29. package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +2 -2
  30. package/es/components/pisellDatePicker/index.d.ts +1 -0
  31. package/es/components/pisellLoading/index.d.ts +1 -0
  32. package/es/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  33. package/es/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  34. package/es/components/pisellModal/components/index.d.ts +1 -0
  35. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  36. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
  37. package/es/components/productCard/components/Time/index.d.ts +1 -0
  38. package/es/components/select-time/index.d.ts +1 -0
  39. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  40. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  41. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  42. package/es/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  43. package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  44. package/es/components/table/Actions/component/Group/index.d.ts +1 -0
  45. package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  46. package/es/components/table/Actions/index.d.ts +1 -0
  47. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  48. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  49. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  50. package/es/components/table/Table/SelectField/index.d.ts +1 -0
  51. package/es/components/table/Table/fields/date/index.d.ts +1 -0
  52. package/es/components/table/Table/fields/image/Show/index.d.ts +1 -0
  53. package/es/components/table/Table/fields/index.d.ts +1 -0
  54. package/es/components/table/Table/fields/number/Show/index.d.ts +1 -0
  55. package/es/components/table/Table/fields/number/index.d.ts +1 -0
  56. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  57. package/es/components/table/Table/fields/numberRange/index.d.ts +1 -0
  58. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  59. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  60. package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  61. package/es/components/table/Table/fields/search/Show/index.d.ts +1 -0
  62. package/es/components/table/Table/fields/search/index.d.ts +1 -0
  63. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  64. package/es/components/table/Table/fields/select/index.d.ts +1 -0
  65. package/es/components/table/Table/fields/text/Show/index.d.ts +1 -0
  66. package/es/components/table/Table/fields/text/index.d.ts +1 -0
  67. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  68. package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  69. package/es/components/table/Table/utils.d.ts +1 -1
  70. package/es/components/versionSelect/index.d.ts +0 -1
  71. package/es/utils/index.d.ts +1 -1
  72. package/es/utils/platform.d.ts +1 -1
  73. package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +0 -1
  74. package/lib/components/PisellCards/index.d.ts +0 -1
  75. package/lib/components/PisellFields/index.d.ts +0 -1
  76. package/lib/components/PisellLayouts/index.d.ts +0 -1
  77. package/lib/components/appVersionControl/index.d.ts +1 -0
  78. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  79. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  80. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  81. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  82. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
  83. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  84. package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +0 -1
  85. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +0 -1
  86. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +0 -1
  87. package/lib/components/dataSourceComponents/fields/index.d.ts +2 -2
  88. package/lib/components/date-picker/index.d.ts +1 -0
  89. package/lib/components/drag-sort-tree/index.d.ts +1 -0
  90. package/lib/components/filter/index.d.ts +1 -0
  91. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  92. package/lib/components/pisellDataSourceContainer/PisellDataSourceContainer.d.ts +0 -1
  93. package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +2 -2
  94. package/lib/components/pisellDatePicker/index.d.ts +1 -0
  95. package/lib/components/pisellLoading/index.d.ts +1 -0
  96. package/lib/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  97. package/lib/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  98. package/lib/components/pisellModal/components/index.d.ts +1 -0
  99. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  100. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
  101. package/lib/components/productCard/components/Time/index.d.ts +1 -0
  102. package/lib/components/select-time/index.d.ts +1 -0
  103. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  104. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  105. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  106. package/lib/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  107. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  108. package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
  109. package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  110. package/lib/components/table/Actions/index.d.ts +1 -0
  111. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  112. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  113. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  114. package/lib/components/table/Table/SelectField/index.d.ts +1 -0
  115. package/lib/components/table/Table/fields/date/index.d.ts +1 -0
  116. package/lib/components/table/Table/fields/image/Show/index.d.ts +1 -0
  117. package/lib/components/table/Table/fields/index.d.ts +1 -0
  118. package/lib/components/table/Table/fields/number/Show/index.d.ts +1 -0
  119. package/lib/components/table/Table/fields/number/index.d.ts +1 -0
  120. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  121. package/lib/components/table/Table/fields/numberRange/index.d.ts +1 -0
  122. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  123. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  124. package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  125. package/lib/components/table/Table/fields/search/Show/index.d.ts +1 -0
  126. package/lib/components/table/Table/fields/search/index.d.ts +1 -0
  127. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  128. package/lib/components/table/Table/fields/select/index.d.ts +1 -0
  129. package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -0
  130. package/lib/components/table/Table/fields/text/index.d.ts +1 -0
  131. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  132. package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  133. package/lib/components/table/Table/utils.d.ts +1 -1
  134. package/lib/components/versionSelect/index.d.ts +0 -1
  135. package/lib/utils/index.d.ts +1 -1
  136. package/lib/utils/platform.d.ts +1 -1
  137. package/lowcode/render-figma-style-round-table-card/meta.ts +1 -1
  138. package/lowcode/render-figma-style-table-card/meta.ts +1 -1
  139. package/package.json +2 -2
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GraphicTextCardProps } from './types';
3
2
  import './GraphicTextCard.less';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const PisellCards: {
3
2
  TabCard: (props: any) => JSX.Element;
4
3
  TextCard: (props: any) => JSX.Element;
@@ -9,7 +9,6 @@
9
9
  * <PisellFields.Number value={123} viewMode="readonly" />
10
10
  * <PisellFields.Currency value={1000} currencySymbol="$" />
11
11
  */
12
- /// <reference types="react" />
13
12
  declare const PisellFields: {
14
13
  SingleLineText: import("react").NamedExoticComponent<import("../pisellSingleLineText").PisellSingleLineTextProps>;
15
14
  LongText: import("react").NamedExoticComponent<import("../pisellLongText").PisellLongTextProps>;
@@ -13,7 +13,6 @@
13
13
  * <Content />
14
14
  * </PisellLayouts.ScrollView>
15
15
  */
16
- /// <reference types="react" />
17
16
  declare const PisellLayouts: {
18
17
  BasicGrid: <T>(props: import("../PisellBasicGrid").PisellBasicGridProps<T>) => JSX.Element;
19
18
  ScrollView: import("react").ForwardRefExoticComponent<Omit<import("../PisellScrollView").PisellScrollViewProps, "ref"> & import("react").RefAttributes<import("../PisellScrollView").PisellScrollViewRef>>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AppVersionControlProps } from './types';
2
3
  import './index.less';
3
4
  declare const AppVersionControl: (props: AppVersionControlProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DataSourceImage: (props: import("../utils").ParsedProps) => JSX.Element;
2
3
  export default DataSourceImage;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DataSourceQRCode: (props: any) => JSX.Element;
2
3
  export default DataSourceQRCode;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface BaseFilterItem {
3
4
  name?: string;
@@ -1,5 +1,5 @@
1
1
  declare const useDataSourceKey: () => {
2
- dataSourceKey: string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined;
3
- dataSourceKeyRef: import("react").MutableRefObject<string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined>;
2
+ dataSourceKey: string | undefined;
3
+ dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
4
4
  };
5
5
  export default useDataSourceKey;
@@ -19,7 +19,7 @@ interface UseTablePropsProps {
19
19
  */
20
20
  declare const useTableProps: (props: UseTablePropsProps) => {
21
21
  currentComponentId: any;
22
- title: string | number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
22
+ title: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
23
23
  pagination: {
24
24
  total: number;
25
25
  current: number;
@@ -28,7 +28,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
28
28
  showSizeChanger: boolean;
29
29
  };
30
30
  columns: import("./useColumns").Column[];
31
- subTitle: string | number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
31
+ subTitle: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
32
32
  buttons: any[] | null;
33
33
  filter: {
34
34
  dom: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataSourceContextProps } from '../provider/dataSource/DataSourceContext';
3
2
  declare const DataSourceWrapper: (props: DataSourceContextProps) => JSX.Element;
4
3
  export default DataSourceWrapper;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const RecordListWrapperWithDataSource: (props: import("./type").RecordListWrapperProps & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
3
2
  options?: any;
4
3
  optionSourceType?: "default" | "custom" | "api" | undefined;
@@ -1,4 +1,3 @@
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
3
  optionSourceType?: "default" | "custom" | "api" | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /** 包装 DataSource 层(提供数据源上下文) */
3
2
  declare const FormItemTabs: (props: import("./type").TabsProps & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
4
3
  options?: any;
@@ -80,7 +80,7 @@ declare const formFieldMap: {
80
80
  extraParams?: Record<string, any> | undefined;
81
81
  }) => JSX.Element;
82
82
  };
83
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
83
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | (import("react").FC<{}> & {
84
84
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
85
85
  } & {
86
86
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -117,7 +117,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
117
117
  } & {
118
118
  dataSource?: any;
119
119
  extraParams?: Record<string, any> | undefined;
120
- }) => JSX.Element) | 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("antd").InputProps & {
120
+ }) => JSX.Element) | 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 & {
121
121
  onChange: (value: string) => void;
122
122
  } & 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
123
  options?: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DatePicker: (props: any) => JSX.Element;
2
3
  export default DatePicker;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { SortType } from './types';
3
4
  declare const DragSortTree: (props: SortType) => JSX.Element;
@@ -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 { InputNumberProps } from 'antd/es/input-number';
2
3
  export interface PisellAdjustPriceInputNumberProps extends Omit<InputNumberProps, 'onChange'> {
3
4
  value?: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataSourceContainerProps } from './type';
3
2
  declare const PisellDataSourceContainer: (props: DataSourceContainerProps) => JSX.Element;
4
3
  export default PisellDataSourceContainer;
@@ -1,5 +1,5 @@
1
1
  declare const useDataSourceKey: () => {
2
- dataSourceKey: string | import("../../dataSourceComponents/provider/dataSource/DataSourceContext").DataSourceType | undefined;
3
- dataSourceKeyRef: import("react").MutableRefObject<string | import("../../dataSourceComponents/provider/dataSource/DataSourceContext").DataSourceType | undefined>;
2
+ dataSourceKey: string | undefined;
3
+ dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
4
4
  };
5
5
  export default useDataSourceKey;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PisellDatePicker: (props: any) => JSX.Element;
2
3
  export default PisellDatePicker;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SpinProps } from 'antd';
2
3
  import './index.less';
3
4
  declare type MaskType = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PcModalProps } from '../PcModal';
2
3
  export interface IpadModalProps extends PcModalProps {
3
4
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PcModalProps } from '../PcModal';
2
3
  import './index.less';
3
4
  export interface MobileModalProps extends PcModalProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import IpadModal from './IpadModal';
2
3
  import MobileModal from './MobileModal';
3
4
  import PcModal from './PcModal';
@@ -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) => any;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => string | number;
@@ -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
  declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => JSX.Element | null;
3
4
  export default Time;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from '../../../../../types';
2
3
  import './index.less';
3
4
  declare const ExportFile: (props: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from '../../../../../types';
2
3
  import './index.less';
3
4
  declare const ImportLog: (props: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from '../../../types';
2
3
  import './index.less';
3
4
  declare type ExportImportProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { GallerySettingType, ModeType } from "../../../types";
2
3
  import "./index.less";
3
4
  declare type GallerySettingProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSourceGroupType } from "../../../types";
2
3
  declare type GroupProps = {
3
4
  setting: DataSourceGroupType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GridViewType, ModeType } from "../../../types";
3
2
  declare type ViewModeProps = {
4
3
  view: GridViewType;
@@ -1,3 +1,4 @@
1
+ /// <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 { GallerySettingType, GallerySettingValueType } from "../../../../../types";
2
3
  declare type CoverProps = {
3
4
  cover?: GallerySettingType["cover"];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { GallerySettingType } from "../../../../../types";
2
3
  import "./index.less";
3
4
  declare type TitleProps = GallerySettingType["title"] & {
@@ -1,5 +1,5 @@
1
1
  declare const useGapSize: (gap: number | number[]) => {
2
- horizontal: any;
3
- vertical: any;
2
+ horizontal: number;
3
+ vertical: number;
4
4
  };
5
5
  export default useGapSize;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectField: () => JSX.Element;
2
3
  export default SelectField;
@@ -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 { 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
  export declare const fieldMaps: {
2
3
  text: {
3
4
  field: {
@@ -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 { 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 { 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 { 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: {
@@ -2,4 +2,4 @@ export default function ({ value, key, item, }: {
2
2
  value: string | string[];
3
3
  key: string | string[];
4
4
  item: Record<string, any>;
5
- }): any;
5
+ }): boolean;
@@ -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 { FieldPropsType } from "../../types";
2
3
  import "./index.less";
3
4
  declare const Show: (props: FieldPropsType) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -2,4 +2,4 @@ export default function ({ value, key, item, }: {
2
2
  value: string | string[] | Record<string, any>[];
3
3
  key: string | string[];
4
4
  item: Record<string, any>;
5
- }): any;
5
+ }): boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -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
- }) => ("view_mode" | "group_by" | "column_setting" | "order_by" | "filter_setting" | "gallery_setting" | "filters")[];
158
+ }) => ("filters" | "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 { SelectProps } from 'antd';
3
2
  import './index.less';
4
3
  export interface Version {
@@ -1,4 +1,4 @@
1
1
  export declare const isBrowser: boolean;
2
- export declare const getCssNumber: (val: string | number) => string | number;
2
+ export declare const getCssNumber: (val: string | number) => string;
3
3
  export declare function uuid(): string;
4
4
  export * from './mergeWith';
@@ -1 +1 @@
1
- export declare const isMobile: () => any;
1
+ export declare const isMobile: () => boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GraphicTextCardProps } from './types';
3
2
  import './GraphicTextCard.less';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const PisellCards: {
3
2
  TabCard: (props: any) => JSX.Element;
4
3
  TextCard: (props: any) => JSX.Element;
@@ -9,7 +9,6 @@
9
9
  * <PisellFields.Number value={123} viewMode="readonly" />
10
10
  * <PisellFields.Currency value={1000} currencySymbol="$" />
11
11
  */
12
- /// <reference types="react" />
13
12
  declare const PisellFields: {
14
13
  SingleLineText: import("react").NamedExoticComponent<import("../pisellSingleLineText").PisellSingleLineTextProps>;
15
14
  LongText: import("react").NamedExoticComponent<import("../pisellLongText").PisellLongTextProps>;
@@ -13,7 +13,6 @@
13
13
  * <Content />
14
14
  * </PisellLayouts.ScrollView>
15
15
  */
16
- /// <reference types="react" />
17
16
  declare const PisellLayouts: {
18
17
  BasicGrid: <T>(props: import("../PisellBasicGrid").PisellBasicGridProps<T>) => JSX.Element;
19
18
  ScrollView: import("react").ForwardRefExoticComponent<Omit<import("../PisellScrollView").PisellScrollViewProps, "ref"> & import("react").RefAttributes<import("../PisellScrollView").PisellScrollViewRef>>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AppVersionControlProps } from './types';
2
3
  import './index.less';
3
4
  declare const AppVersionControl: (props: AppVersionControlProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DataSourceImage: (props: import("../utils").ParsedProps) => JSX.Element;
2
3
  export default DataSourceImage;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DataSourceQRCode: (props: any) => JSX.Element;
2
3
  export default DataSourceQRCode;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface BaseFilterItem {
3
4
  name?: string;
@@ -1,5 +1,5 @@
1
1
  declare const useDataSourceKey: () => {
2
- dataSourceKey: string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined;
3
- dataSourceKeyRef: import("react").MutableRefObject<string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined>;
2
+ dataSourceKey: string | undefined;
3
+ dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
4
4
  };
5
5
  export default useDataSourceKey;
@@ -19,7 +19,7 @@ interface UseTablePropsProps {
19
19
  */
20
20
  declare const useTableProps: (props: UseTablePropsProps) => {
21
21
  currentComponentId: any;
22
- title: string | number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
22
+ title: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
23
23
  pagination: {
24
24
  total: number;
25
25
  current: number;
@@ -28,7 +28,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
28
28
  showSizeChanger: boolean;
29
29
  };
30
30
  columns: import("./useColumns").Column[];
31
- subTitle: string | number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
31
+ subTitle: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
32
32
  buttons: any[] | null;
33
33
  filter: {
34
34
  dom: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataSourceContextProps } from '../provider/dataSource/DataSourceContext';
3
2
  declare const DataSourceWrapper: (props: DataSourceContextProps) => JSX.Element;
4
3
  export default DataSourceWrapper;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const RecordListWrapperWithDataSource: (props: import("./type").RecordListWrapperProps & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
3
2
  options?: any;
4
3
  optionSourceType?: "default" | "custom" | "api" | undefined;
@@ -1,4 +1,3 @@
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
3
  optionSourceType?: "default" | "custom" | "api" | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /** 包装 DataSource 层(提供数据源上下文) */
3
2
  declare const FormItemTabs: (props: import("./type").TabsProps & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
4
3
  options?: any;
@@ -80,7 +80,7 @@ declare const formFieldMap: {
80
80
  extraParams?: Record<string, any> | undefined;
81
81
  }) => JSX.Element;
82
82
  };
83
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
83
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | (import("react").FC<{}> & {
84
84
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
85
85
  } & {
86
86
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -117,7 +117,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
117
117
  } & {
118
118
  dataSource?: any;
119
119
  extraParams?: Record<string, any> | undefined;
120
- }) => JSX.Element) | 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("antd").InputProps & {
120
+ }) => JSX.Element) | 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 & {
121
121
  onChange: (value: string) => void;
122
122
  } & 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
123
  options?: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DatePicker: (props: any) => JSX.Element;
2
3
  export default DatePicker;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { SortType } from './types';
3
4
  declare const DragSortTree: (props: SortType) => JSX.Element;