@pisell/materials 3.3.101 → 3.3.103

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 (167) 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 +4 -4
  6. package/build/lowcode/preview.js +6 -6
  7. package/build/lowcode/render/default/view.js +4 -4
  8. package/build/lowcode/view.js +3 -3
  9. package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +0 -1
  10. package/es/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +1 -0
  11. package/es/components/PisellMetrics/index.d.ts +1 -0
  12. package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
  13. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  14. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  15. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +3 -2
  16. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
  17. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  18. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  19. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  20. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  21. package/es/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +0 -1
  22. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  23. package/es/components/dataSourceComponents/fields/index.d.ts +3 -3
  24. package/es/components/date-picker/datePickerCpt.d.ts +1 -0
  25. package/es/components/date-picker/index.d.ts +1 -0
  26. package/es/components/drag-sort-tree/index.d.ts +1 -0
  27. package/es/components/filter/index.d.ts +1 -0
  28. package/es/components/list/index.d.ts +1 -0
  29. package/es/components/lowCodePage/index.d.ts +1 -0
  30. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  31. package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +3 -2
  32. package/es/components/pisellDatePicker/index.d.ts +1 -0
  33. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.js +2 -1
  34. package/es/components/pisellGridPro/GridView/index.d.ts +1 -0
  35. package/es/components/pisellLoading/index.d.ts +1 -0
  36. package/es/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  37. package/es/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  38. package/es/components/pisellModal/components/index.d.ts +1 -0
  39. package/es/components/productCard/components/AmountFooter/index.d.ts +1 -0
  40. package/es/components/productCard/components/MultiDay/index.d.ts +1 -0
  41. package/es/components/productCard/components/Note/index.d.ts +1 -0
  42. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  43. package/es/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  44. package/es/components/productCard/components/Packages/index.d.ts +1 -0
  45. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  46. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  47. package/es/components/productCard/components/Time/index.d.ts +1 -0
  48. package/es/components/qrcode/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/ExportImport/components/ExportFile/index.d.ts +1 -0
  51. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  52. package/es/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  53. package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  54. package/es/components/table/Actions/component/Group/index.d.ts +1 -0
  55. package/es/components/table/Actions/index.d.ts +1 -0
  56. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  57. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  58. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  59. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  60. package/es/components/table/Table/SelectField/index.d.ts +1 -0
  61. package/es/components/table/Table/fields/date/Show/index.d.ts +1 -0
  62. package/es/components/table/Table/fields/date/index.d.ts +1 -0
  63. package/es/components/table/Table/fields/image/Show/index.d.ts +1 -0
  64. package/es/components/table/Table/fields/index.d.ts +1 -0
  65. package/es/components/table/Table/fields/link/Show/index.d.ts +1 -0
  66. package/es/components/table/Table/fields/number/Show/index.d.ts +1 -0
  67. package/es/components/table/Table/fields/number/index.d.ts +1 -0
  68. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  69. package/es/components/table/Table/fields/numberRange/index.d.ts +1 -0
  70. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  71. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  72. package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  73. package/es/components/table/Table/fields/search/Show/index.d.ts +1 -0
  74. package/es/components/table/Table/fields/search/index.d.ts +1 -0
  75. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  76. package/es/components/table/Table/fields/select/index.d.ts +1 -0
  77. package/es/components/table/Table/fields/text/Show/index.d.ts +1 -0
  78. package/es/components/table/Table/fields/text/index.d.ts +1 -0
  79. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  80. package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  81. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
  82. package/es/components/table/Table/utils.d.ts +1 -1
  83. package/es/components/table/View/index.d.ts +1 -0
  84. package/es/utils/index.d.ts +1 -1
  85. package/es/utils/platform.d.ts +1 -1
  86. package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +0 -1
  87. package/lib/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +1 -0
  88. package/lib/components/PisellMetrics/index.d.ts +1 -0
  89. package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
  90. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  91. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  92. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +3 -2
  93. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
  94. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  95. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  96. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  97. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  98. package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +0 -1
  99. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  100. package/lib/components/dataSourceComponents/fields/index.d.ts +3 -3
  101. package/lib/components/date-picker/datePickerCpt.d.ts +1 -0
  102. package/lib/components/date-picker/index.d.ts +1 -0
  103. package/lib/components/drag-sort-tree/index.d.ts +1 -0
  104. package/lib/components/filter/index.d.ts +1 -0
  105. package/lib/components/list/index.d.ts +1 -0
  106. package/lib/components/lowCodePage/index.d.ts +1 -0
  107. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  108. package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +3 -2
  109. package/lib/components/pisellDatePicker/index.d.ts +1 -0
  110. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.js +2 -1
  111. package/lib/components/pisellGridPro/GridView/index.d.ts +1 -0
  112. package/lib/components/pisellLoading/index.d.ts +1 -0
  113. package/lib/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  114. package/lib/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  115. package/lib/components/pisellModal/components/index.d.ts +1 -0
  116. package/lib/components/productCard/components/AmountFooter/index.d.ts +1 -0
  117. package/lib/components/productCard/components/MultiDay/index.d.ts +1 -0
  118. package/lib/components/productCard/components/Note/index.d.ts +1 -0
  119. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  120. package/lib/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  121. package/lib/components/productCard/components/Packages/index.d.ts +1 -0
  122. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  123. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  124. package/lib/components/productCard/components/Time/index.d.ts +1 -0
  125. package/lib/components/qrcode/index.d.ts +1 -0
  126. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  127. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  128. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  129. package/lib/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  130. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  131. package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
  132. package/lib/components/table/Actions/index.d.ts +1 -0
  133. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  134. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  135. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  136. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  137. package/lib/components/table/Table/SelectField/index.d.ts +1 -0
  138. package/lib/components/table/Table/fields/date/Show/index.d.ts +1 -0
  139. package/lib/components/table/Table/fields/date/index.d.ts +1 -0
  140. package/lib/components/table/Table/fields/image/Show/index.d.ts +1 -0
  141. package/lib/components/table/Table/fields/index.d.ts +1 -0
  142. package/lib/components/table/Table/fields/link/Show/index.d.ts +1 -0
  143. package/lib/components/table/Table/fields/number/Show/index.d.ts +1 -0
  144. package/lib/components/table/Table/fields/number/index.d.ts +1 -0
  145. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  146. package/lib/components/table/Table/fields/numberRange/index.d.ts +1 -0
  147. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  148. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  149. package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  150. package/lib/components/table/Table/fields/search/Show/index.d.ts +1 -0
  151. package/lib/components/table/Table/fields/search/index.d.ts +1 -0
  152. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  153. package/lib/components/table/Table/fields/select/index.d.ts +1 -0
  154. package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -0
  155. package/lib/components/table/Table/fields/text/index.d.ts +1 -0
  156. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  157. package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  158. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
  159. package/lib/components/table/Table/utils.d.ts +1 -1
  160. package/lib/components/table/View/index.d.ts +1 -0
  161. package/lib/utils/index.d.ts +1 -1
  162. package/lib/utils/platform.d.ts +1 -1
  163. package/lowcode/render-figma-style-round-table-card/meta.ts +1 -1
  164. package/lowcode/render-figma-style-table-card/meta.ts +1 -1
  165. package/package.json +1 -1
  166. package/es/pisell-materials.tw.css +0 -3
  167. package/lib/pisell-materials.tw.css +0 -3
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GraphicTextCardProps } from './types';
3
2
  import './GraphicTextCard.less';
4
3
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellImageCardProps } from './types';
2
3
  import './PisellImageCard.less';
3
4
  /**
@@ -13,6 +13,7 @@
13
13
  * />
14
14
  * <PisellMetrics.StatisticList data={[...]} />
15
15
  */
16
+ /// <reference types="react" />
16
17
  declare const PisellMetrics: {
17
18
  MetricCard: import("react").FC<import("../pisellMetricCard").PisellMetricCardProps>;
18
19
  StatisticList: (props: import("../pisellStatisticList").PisellStatisticListProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const FormItem: (props: any) => JSX.Element;
2
3
  export default FormItem;
@@ -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,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  declare const useDataSourceKey: () => {
2
- dataSourceKey: string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined;
3
- dataSourceKeyRef: import("react").MutableRefObject<string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined>;
3
+ dataSourceKey: string | undefined;
4
+ dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
4
5
  };
5
6
  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,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 { TranslationProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const TranslationReadPretty: (props: TranslationProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const CameraPopover: (props: {
3
2
  onLocalFileClick: () => void;
4
3
  onCameraChange: (file: any) => void;
@@ -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;
@@ -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<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (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,9 +117,9 @@ 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<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 & {
121
121
  onChange: (value: string) => void;
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 & {
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("./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;
124
124
  optionSourceType?: "default" | "custom" | "api" | undefined;
125
125
  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';
@@ -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 "./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
  };
@@ -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,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  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>;
3
+ dataSourceKey: string | undefined;
4
+ dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
4
5
  };
5
6
  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;
@@ -11,6 +11,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
11
11
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
12
12
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
13
13
  import { pickFloorPlanDetail, isShopFloorPlanNotFoundResponse, isHttpNotFoundError, isFloorPlanDuplicateCodeError } from "./shopFloorPlanPure";
14
+ import { isWebposOsServerEnv } from '@pisell/utils';
14
15
  import { SHOP_FLOOR_PLAN_DUPLICATE_CODE } from "./shopFloorPlanTypes";
15
16
  export { SHOP_FLOOR_PLAN_DUPLICATE_CODE } from "./shopFloorPlanTypes";
16
17
  function fetchShopFloorPlanByCodeResponse(_x, _x2, _x3, _x4) {
@@ -215,7 +216,7 @@ export function createShopFloorPlanClient(options) {
215
216
  return _regeneratorRuntime().wrap(function _callee$(_context) {
216
217
  while (1) switch (_context.prev = _context.next) {
217
218
  case 0:
218
- if (subscriberId) {
219
+ if (!(!subscriberId || !isWebposOsServerEnv())) {
219
220
  _context.next = 2;
220
221
  break;
221
222
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { GridViewProps } from './type';
3
4
  export type { GridViewProps };
@@ -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';
@@ -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 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) => any;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => string | number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface ResourceItem {
3
4
  id: string | number;
@@ -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,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
  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,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 "./index.less";
2
3
  declare type RenderFieldsProps = {
3
4
  fields: string[];
@@ -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 { 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
  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 { 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: {
@@ -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
- }) => ("view_mode" | "group_by" | "column_setting" | "order_by" | "filter_setting" | "gallery_setting" | "filters")[];
158
+ }) => ("filters" | "filter_setting" | "group_by" | "order_by" | "column_setting" | "view_mode" | "gallery_setting")[];
159
159
  export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
160
160
  export declare const stringify: (obj: Record<string, any>) => string;
161
161
  export {};
@@ -1,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;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellImageCardProps } from './types';
2
3
  import './PisellImageCard.less';
3
4
  /**
@@ -13,6 +13,7 @@
13
13
  * />
14
14
  * <PisellMetrics.StatisticList data={[...]} />
15
15
  */
16
+ /// <reference types="react" />
16
17
  declare const PisellMetrics: {
17
18
  MetricCard: import("react").FC<import("../pisellMetricCard").PisellMetricCardProps>;
18
19
  StatisticList: (props: import("../pisellStatisticList").PisellStatisticListProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const FormItem: (props: any) => JSX.Element;
2
3
  export default FormItem;
@@ -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,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  declare const useDataSourceKey: () => {
2
- dataSourceKey: string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined;
3
- dataSourceKeyRef: import("react").MutableRefObject<string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined>;
3
+ dataSourceKey: string | undefined;
4
+ dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
4
5
  };
5
6
  export default useDataSourceKey;