@pisell/materials 6.11.39 → 6.11.41

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 (184) 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 +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +16 -16
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +16 -16
  11. package/es/components/PisellBasicGrid/PisellBasicGrid.d.ts +0 -1
  12. package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +0 -1
  13. package/es/components/PisellCards/components/MultilevelCard/hooks/useMultilevelCardExpand.d.ts +0 -1
  14. package/es/components/PisellCards/components/PisellImageCard/hooks/useImageLoad.d.ts +0 -1
  15. package/es/components/PisellCards/components/TabCard/TabCard.d.ts +0 -1
  16. package/es/components/PisellCards/components/TextCard/TextCard.d.ts +0 -1
  17. package/es/components/PisellCards/index.d.ts +0 -1
  18. package/es/components/cardPro/index.d.ts +0 -1
  19. package/es/components/colorPicker/index.d.ts +1 -0
  20. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  21. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  22. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  23. package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -1
  24. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  25. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -1
  26. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  27. package/es/components/dataSourceComponents/fields/index.d.ts +16 -16
  28. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -1
  29. package/es/components/filter/components/items/index.d.ts +1 -0
  30. package/es/components/filter/components/items/text/Editor/index.d.ts +1 -0
  31. package/es/components/filter/components/items/text/Preview/index.d.ts +1 -0
  32. package/es/components/filter/components/items/text/index.d.ts +1 -0
  33. package/es/components/page/index.d.ts +0 -1
  34. package/es/components/pisellAdjustPrice/index.d.ts +0 -1
  35. package/es/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
  36. package/es/components/pisellGridPro/GridView/index.d.ts +0 -1
  37. package/es/components/pisellGridPro/components/DataCard/index.d.ts +0 -1
  38. package/es/components/pisellInput/components/BankCard/index.d.ts +0 -1
  39. package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
  40. package/es/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  41. package/es/components/pisellInput/index.d.ts +0 -1
  42. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +1 -1
  43. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js +29 -7
  44. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +3 -2
  45. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.js +169 -329
  46. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.less +335 -0
  47. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +35 -19
  48. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.js +159 -79
  49. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +1 -0
  50. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.js +7 -6
  51. package/es/components/pisellRecordBoard/types.d.ts +7 -0
  52. package/es/components/pisellSort/index.d.ts +0 -1
  53. package/es/components/pisellTooltip/index.d.ts +0 -1
  54. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -1
  55. package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -1
  56. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
  57. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
  58. package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -1
  59. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
  60. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
  61. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
  62. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  63. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
  64. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -1
  65. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  66. package/es/components/productCard/cartSkuCard/index.d.ts +0 -1
  67. package/es/components/productCard/components/Action/index.d.ts +0 -1
  68. package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  69. package/es/components/productCard/components/Header/index.d.ts +0 -1
  70. package/es/components/productCard/components/Sales/index.d.ts +0 -1
  71. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -1
  72. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  73. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  74. package/es/components/select-time/index.d.ts +0 -1
  75. package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  76. package/es/components/table/Table/SelectField/index.d.ts +1 -0
  77. package/es/components/table/Table/fields/index.d.ts +2 -2
  78. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  79. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  80. package/es/components/table/Table/fields/select/Show/index.d.ts +0 -1
  81. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  82. package/es/components/table/Table/tableConfig/summary/index.d.ts +1 -0
  83. package/es/components/table/Table/utils.d.ts +1 -1
  84. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -1
  85. package/es/components/virtual-keyboard/Number/index.d.ts +0 -1
  86. package/es/hooks/useResponsive.d.ts +1 -1
  87. package/es/locales/en-US.d.ts +9 -0
  88. package/es/locales/en-US.js +12 -3
  89. package/es/locales/ja.d.ts +9 -0
  90. package/es/locales/ja.js +11 -2
  91. package/es/locales/pt.d.ts +9 -0
  92. package/es/locales/pt.js +11 -2
  93. package/es/locales/zh-CN.d.ts +9 -0
  94. package/es/locales/zh-CN.js +11 -2
  95. package/es/locales/zh-TW.d.ts +9 -0
  96. package/es/locales/zh-TW.js +11 -2
  97. package/lib/components/PisellBasicGrid/PisellBasicGrid.d.ts +0 -1
  98. package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +0 -1
  99. package/lib/components/PisellCards/components/MultilevelCard/hooks/useMultilevelCardExpand.d.ts +0 -1
  100. package/lib/components/PisellCards/components/PisellImageCard/hooks/useImageLoad.d.ts +0 -1
  101. package/lib/components/PisellCards/components/TabCard/TabCard.d.ts +0 -1
  102. package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +0 -1
  103. package/lib/components/PisellCards/index.d.ts +0 -1
  104. package/lib/components/cardPro/index.d.ts +0 -1
  105. package/lib/components/colorPicker/index.d.ts +1 -0
  106. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  107. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  108. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  109. package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -1
  110. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  111. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -1
  112. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  113. package/lib/components/dataSourceComponents/fields/index.d.ts +16 -16
  114. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -1
  115. package/lib/components/filter/components/items/index.d.ts +1 -0
  116. package/lib/components/filter/components/items/text/Editor/index.d.ts +1 -0
  117. package/lib/components/filter/components/items/text/Preview/index.d.ts +1 -0
  118. package/lib/components/filter/components/items/text/index.d.ts +1 -0
  119. package/lib/components/page/index.d.ts +0 -1
  120. package/lib/components/pisellAdjustPrice/index.d.ts +0 -1
  121. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
  122. package/lib/components/pisellGridPro/GridView/index.d.ts +0 -1
  123. package/lib/components/pisellGridPro/components/DataCard/index.d.ts +0 -1
  124. package/lib/components/pisellInput/components/BankCard/index.d.ts +0 -1
  125. package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
  126. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  127. package/lib/components/pisellInput/index.d.ts +0 -1
  128. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +1 -1
  129. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js +31 -3
  130. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +3 -2
  131. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.js +186 -437
  132. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.less +335 -0
  133. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +35 -19
  134. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.js +134 -80
  135. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +1 -0
  136. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.js +8 -5
  137. package/lib/components/pisellRecordBoard/types.d.ts +7 -0
  138. package/lib/components/pisellSort/index.d.ts +0 -1
  139. package/lib/components/pisellTooltip/index.d.ts +0 -1
  140. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -1
  141. package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -1
  142. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
  143. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
  144. package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -1
  145. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
  146. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
  147. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
  148. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  149. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
  150. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -1
  151. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  152. package/lib/components/productCard/cartSkuCard/index.d.ts +0 -1
  153. package/lib/components/productCard/components/Action/index.d.ts +0 -1
  154. package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  155. package/lib/components/productCard/components/Header/index.d.ts +0 -1
  156. package/lib/components/productCard/components/Sales/index.d.ts +0 -1
  157. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -1
  158. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  159. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  160. package/lib/components/select-time/index.d.ts +0 -1
  161. package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  162. package/lib/components/table/Table/SelectField/index.d.ts +1 -0
  163. package/lib/components/table/Table/fields/index.d.ts +2 -2
  164. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  165. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  166. package/lib/components/table/Table/fields/select/Show/index.d.ts +0 -1
  167. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  168. package/lib/components/table/Table/tableConfig/summary/index.d.ts +1 -0
  169. package/lib/components/table/Table/utils.d.ts +1 -1
  170. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -1
  171. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -1
  172. package/lib/hooks/useResponsive.d.ts +1 -1
  173. package/lib/locales/en-US.d.ts +9 -0
  174. package/lib/locales/en-US.js +12 -3
  175. package/lib/locales/ja.d.ts +9 -0
  176. package/lib/locales/ja.js +11 -2
  177. package/lib/locales/pt.d.ts +9 -0
  178. package/lib/locales/pt.js +11 -2
  179. package/lib/locales/zh-CN.d.ts +9 -0
  180. package/lib/locales/zh-CN.js +11 -2
  181. package/lib/locales/zh-TW.d.ts +9 -0
  182. package/lib/locales/zh-TW.js +11 -2
  183. package/lowcode/pisell-record-board-calendar-view/meta.ts +170 -3
  184. package/package.json +3 -3
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { PisellBasicGridProps } from './types';
3
2
  import './PisellBasicGrid.less';
4
3
  /**
@@ -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
  import { MultilevelCardTrigger } from '../types';
3
2
  /**
4
3
  * 管理 MultilevelCard 的展开/收起状态
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * 图片加载状态管理 Hook
4
3
  * @param src - 图片地址
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './TabCard.less';
3
2
  declare const Provider: (props: any) => JSX.Element;
4
3
  export default Provider;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './TextCard.less';
3
2
  /**
4
3
  * Provider 包装器
@@ -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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const _default: (props: any) => JSX.Element;
4
3
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ColorPickerProps } from 'antd';
2
3
  declare const ColorPicker: (props: ColorPickerProps) => JSX.Element;
3
4
  export default ColorPicker;
@@ -44,7 +44,7 @@ export declare const withDataSource: <P extends unknown>(WrappedComponent: React
44
44
  }) => JSX.Element;
45
45
  export declare const withOptions: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
46
46
  options?: any;
47
- optionSourceType?: "custom" | "default" | "api" | undefined;
47
+ optionSourceType?: "default" | "api" | "custom" | undefined;
48
48
  labelField: string;
49
49
  valueField: string;
50
50
  extraParams?: Record<string, any> | undefined;
@@ -19,7 +19,7 @@ interface UseTablePropsProps {
19
19
  */
20
20
  declare const useTableProps: (props: UseTablePropsProps) => {
21
21
  currentComponentId: any;
22
- title: number | boolean | JSX.Element | React.ReactFragment | (() => 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: number | boolean | JSX.Element | React.ReactFragment | (() => 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;
@@ -54,7 +54,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
54
54
  width: number;
55
55
  align: "center" | "left" | "right";
56
56
  fixed: false | "left" | "right";
57
- type: "button" | "link";
57
+ type: "link" | "button";
58
58
  items: OperationItem[];
59
59
  } | undefined;
60
60
  operationContent?: {
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  declare const Subdomain: React.FC<import("antd").InputProps & {
3
3
  onChange: (value: string) => void;
4
4
  onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
5
- rootDomain: "custom" | "saas" | "xzero";
5
+ rootDomain: "saas" | "custom" | "xzero";
6
6
  customDomain?: string | undefined;
7
7
  value?: string | undefined;
8
8
  tenantId: string;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  declare const RecordListWrapperWithDataSource: (props: import("./type").RecordListWrapperProps & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
3
3
  options?: any;
4
- optionSourceType?: "custom" | "default" | "api" | undefined;
4
+ optionSourceType?: "default" | "api" | "custom" | undefined;
5
5
  labelField: string;
6
6
  valueField: string;
7
7
  extraParams?: Record<string, any> | undefined;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
3
3
  options?: any;
4
- optionSourceType?: "custom" | "default" | "api" | undefined;
4
+ optionSourceType?: "default" | "api" | "custom" | undefined;
5
5
  labelField: string;
6
6
  valueField: string;
7
7
  extraParams?: Record<string, any> | undefined;
@@ -2,7 +2,7 @@
2
2
  /** 包装 DataSource 层(提供数据源上下文) */
3
3
  declare const FormItemTabs: (props: import("./type").TabsProps & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
4
4
  options?: any;
5
- optionSourceType?: "custom" | "default" | "api" | undefined;
5
+ optionSourceType?: "default" | "api" | "custom" | undefined;
6
6
  labelField: string;
7
7
  valueField: string;
8
8
  extraParams?: Record<string, any> | undefined;
@@ -15,4 +15,4 @@ export declare const getFileMetadataParams: (file: RcFile & {
15
15
  metadata?: MediaMetadata;
16
16
  }) => Record<string, any>;
17
17
  export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
18
- export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
18
+ export declare const getBaseTime: (size: number) => 2000 | 1000 | 4000 | 8000;
@@ -20,7 +20,7 @@ declare const formFieldMap: {
20
20
  Subdomain: import("react").FC<import("antd").InputProps & {
21
21
  onChange: (value: string) => void;
22
22
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
23
- rootDomain: "custom" | "saas" | "xzero";
23
+ rootDomain: "saas" | "custom" | "xzero";
24
24
  customDomain?: string | undefined;
25
25
  value?: string | undefined;
26
26
  tenantId: string;
@@ -35,7 +35,7 @@ declare const formFieldMap: {
35
35
  };
36
36
  FormItemSelect: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
37
37
  options?: any;
38
- optionSourceType?: "custom" | "default" | "api" | undefined;
38
+ optionSourceType?: "default" | "api" | "custom" | undefined;
39
39
  labelField: string;
40
40
  valueField: string;
41
41
  extraParams?: Record<string, any> | undefined;
@@ -62,7 +62,7 @@ declare const formFieldMap: {
62
62
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
63
63
  FormItemRecordListWrapper: (props: import("./RecordListWrapper/type").RecordListWrapperProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
64
64
  options?: any;
65
- optionSourceType?: "custom" | "default" | "api" | undefined;
65
+ optionSourceType?: "default" | "api" | "custom" | undefined;
66
66
  labelField: string;
67
67
  valueField: string;
68
68
  extraParams?: Record<string, any> | undefined;
@@ -72,7 +72,7 @@ declare const formFieldMap: {
72
72
  }) => JSX.Element;
73
73
  FormItemTabs: (props: import("./Tabs/type").TabsProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
74
74
  options?: any;
75
- optionSourceType?: "custom" | "default" | "api" | undefined;
75
+ optionSourceType?: "default" | "api" | "custom" | undefined;
76
76
  labelField: string;
77
77
  valueField: string;
78
78
  extraParams?: Record<string, any> | undefined;
@@ -81,13 +81,9 @@ declare const formFieldMap: {
81
81
  extraParams?: Record<string, any> | undefined;
82
82
  }) => JSX.Element;
83
83
  };
84
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
85
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
86
- } & {
87
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
88
- }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("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 & {
84
+ 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("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
89
85
  onChange: (value: string) => void;
90
- } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
86
+ } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
91
87
  JSON: import("react").FC<any>;
92
88
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
93
89
  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>;
@@ -100,29 +96,33 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
100
96
  Subdomain: import("react").FC<import("antd").InputProps & {
101
97
  onChange: (value: string) => void;
102
98
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
103
- rootDomain: "custom" | "saas" | "xzero";
99
+ rootDomain: "saas" | "custom" | "xzero";
104
100
  customDomain?: string | undefined;
105
101
  value?: string | undefined;
106
102
  tenantId: string;
107
103
  name?: string | undefined;
108
104
  fieldKey?: string | undefined;
109
105
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
110
- }) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
106
+ }) | (import("react").FC<{}> & {
107
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
108
+ } & {
109
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
110
+ }) | 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<{}> & {
111
111
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
112
112
  } & {
113
113
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
114
114
  }) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
115
115
  options?: any;
116
- optionSourceType?: "custom" | "default" | "api" | undefined;
116
+ optionSourceType?: "default" | "api" | "custom" | undefined;
117
117
  labelField: string;
118
118
  valueField: string;
119
119
  extraParams?: Record<string, any> | undefined;
120
120
  } & {
121
121
  dataSource?: any;
122
122
  extraParams?: Record<string, any> | undefined;
123
- }) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | ((props: import("./RecordListWrapper/type").RecordListWrapperProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
123
+ }) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & 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 & {
124
124
  options?: any;
125
- optionSourceType?: "custom" | "default" | "api" | undefined;
125
+ optionSourceType?: "default" | "api" | "custom" | undefined;
126
126
  labelField: string;
127
127
  valueField: string;
128
128
  extraParams?: Record<string, any> | undefined;
@@ -131,7 +131,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
131
131
  extraParams?: Record<string, any> | undefined;
132
132
  }) => JSX.Element) | ((props: import("./Tabs/type").TabsProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
133
133
  options?: any;
134
- optionSourceType?: "custom" | "default" | "api" | undefined;
134
+ optionSourceType?: "default" | "api" | "custom" | undefined;
135
135
  labelField: string;
136
136
  valueField: string;
137
137
  extraParams?: Record<string, any> | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ValueProps, SortType } from '../types';
4
3
  declare type IdType = string | number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const fieldMaps: {
2
3
  text: {
3
4
  field: {
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Text: () => JSX.Element;
2
3
  export default Text;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Text: (props: any) => JSX.Element;
2
3
  export default Text;
@@ -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 { ConfigProviderProps } from '../config-provider';
3
2
  interface PageProps extends ConfigProviderProps {
4
3
  variablesConfig?: {
@@ -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;
@@ -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 './detePickerCpt.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { GridViewProps } from './type';
4
3
  export type { GridViewProps };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataCardProps } from './types';
3
2
  export type { DataCardProps };
4
3
  import './index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from 'antd';
3
2
  import { PisellContextType } from "../../../pisell-config-provider/context";
4
3
  import './index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps, ButtonProps } from 'antd';
3
2
  import { PisellContextType } from "../../../pisell-config-provider/context";
4
3
  export interface CopyProps extends InputProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from 'antd';
3
2
  import './index.less';
4
3
  import { PisellContextType } from "../../../pisell-config-provider/context";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from 'antd';
3
2
  import { PisellContextType } from '../pisell-config-provider/context';
4
3
  declare const PisellInput: {
@@ -2,7 +2,7 @@ import { type CalendarBookingSegmentInput } from './bookingCalendarDateUtils';
2
2
  export declare function getDrawerStatusTheme(item: CalendarBookingSegmentInput, dateKey: string): "bg-red-700/88 border-b-4 border-red-300/55" | "bg-zinc-700/88 border-b-4 border-zinc-400/45" | "bg-zinc-700/88 border-b-4 border-red-400/75" | "bg-violet-700/92 border-b-4 border-amber-400/95" | "bg-violet-700/92 border-b-4 border-zinc-300/45" | "bg-violet-700/92 border-b-4 border-violet-300/30";
3
3
  export declare function paymentTagClass(label: string, isLight?: boolean): "theme-success-chip border" | "bg-emerald-500 text-white" | "theme-warning-chip border" | "bg-amber-500 text-white" | "theme-info-chip border" | "bg-sky-500 text-white" | "theme-danger-chip border" | "bg-red-500 text-white";
4
4
  export declare function fulfillmentTagClass(label: string, isLight?: boolean): "theme-success-chip border" | "theme-warning-chip border" | "bg-amber-500 text-white" | "theme-info-chip border" | "theme-danger-chip border" | "bg-emerald-600 text-white" | "bg-cyan-500 text-white" | "bg-red-600 text-white" | "border border-[var(--border-strong)] bg-[var(--bg-input)] theme-text-soft" | "bg-zinc-600 text-white" | "border border-[var(--brand-light)] bg-[var(--brand-surface)] theme-brand-text" | "bg-violet-600 text-white";
5
- export declare function getBookingStateClasses(item: CalendarBookingSegmentInput, dateKey: string): "bg-zinc-700/55 border border-zinc-500/70 text-zinc-100 grayscale-[0.2]" | "bg-zinc-700/55 border border-red-500/70 text-zinc-200 grayscale-[0.15]" | "bg-violet-700/90 border border-amber-400/80 text-violet-50" | "bg-red-700/70 text-red-100" | "bg-violet-700/90 text-violet-50";
5
+ export declare function getBookingStateClasses(item: CalendarBookingSegmentInput, dateKey: string): "bg-red-700/70 text-red-100" | "bg-violet-700/90 text-violet-50" | "bg-zinc-700/55 border border-zinc-500/70 text-zinc-100 grayscale-[0.2]" | "bg-zinc-700/55 border border-red-500/70 text-zinc-200 grayscale-[0.15]" | "bg-violet-700/90 border border-amber-400/80 text-violet-50";
6
6
  /**
7
7
  * 月 / 周紧凑格:不按签到/取消/迟到等状态变色,仅区分 booking(默认紫)与 block(红)。
8
8
  * 与 {@link getBookingStateClasses} 在无状态分支时一致,但不读取 `dateKey`。
@@ -29,6 +29,25 @@ import "./ResourceWallViewport.less";
29
29
 
30
30
  /** 与 {@link RecordBoardResourceWallProps.filterFieldKey} 默认一致 */
31
31
  export var DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY = 'resource_wall_resource_ids';
32
+
33
+ /** 伪全屏偏好:刷新后若为 `1` 自动恢复 body 固定视口(与按钮状态一致) */
34
+ var RESOURCE_WALL_PSEUDO_FULLSCREEN_STORAGE_KEY = 'pisell.recordBoard.resourceWall.pseudoFullscreen';
35
+ function readStoredPseudoFullscreen() {
36
+ try {
37
+ return typeof window !== 'undefined' && window.localStorage.getItem(RESOURCE_WALL_PSEUDO_FULLSCREEN_STORAGE_KEY) === '1';
38
+ } catch (_unused) {
39
+ return false;
40
+ }
41
+ }
42
+ function persistPseudoFullscreen(on) {
43
+ try {
44
+ if (typeof window !== 'undefined') {
45
+ window.localStorage.setItem(RESOURCE_WALL_PSEUDO_FULLSCREEN_STORAGE_KEY, on ? '1' : '0');
46
+ }
47
+ } catch (_unused2) {
48
+ /* quota / private mode */
49
+ }
50
+ }
32
51
  var FILTER_PARAMS_FIELD = 'filter';
33
52
  var LAYOUT_PRESETS = [{
34
53
  key: '1x1',
@@ -62,7 +81,7 @@ var LAYOUT_PRESETS = [{
62
81
  rows: 2
63
82
  }];
64
83
  var DEFAULT_OCCUPIED = '#6f4ae6';
65
- var DEFAULT_AVAILABLE = '#10b981';
84
+ var DEFAULT_AVAILABLE = '#94a3b8';
66
85
 
67
86
  /**
68
87
  * RecordBoard 大屏资源墙主视口:`cards` 提供全量卡数据;可见列表由
@@ -261,10 +280,17 @@ export var PisellRecordBoardResourceWallView = function PisellRecordBoardResourc
261
280
  _useState12 = _slicedToArray(_useState11, 2),
262
281
  currentPage = _useState12[0],
263
282
  setCurrentPage = _useState12[1];
264
- var _useState13 = useState(false),
283
+ var _useState13 = useState(readStoredPseudoFullscreen),
265
284
  _useState14 = _slicedToArray(_useState13, 2),
266
285
  pseudoFullscreen = _useState14[0],
267
286
  setPseudoFullscreen = _useState14[1];
287
+ var togglePseudoFullscreen = useCallback(function () {
288
+ setPseudoFullscreen(function (prev) {
289
+ var next = !prev;
290
+ persistPseudoFullscreen(next);
291
+ return next;
292
+ });
293
+ }, []);
268
294
  var shellRef = useRef(null);
269
295
 
270
296
  /** 伪全屏:给 body 挂类名,配合 less 撑满视口且压住部分宿主布局 */
@@ -455,11 +481,7 @@ export var PisellRecordBoardResourceWallView = function PisellRecordBoardResourc
455
481
  appearanceMode: appearanceMode,
456
482
  onAppearanceModeChange: setAppearanceMode,
457
483
  pseudoFullscreen: pseudoFullscreen,
458
- onTogglePseudoFullscreen: function onTogglePseudoFullscreen() {
459
- return setPseudoFullscreen(function (v) {
460
- return !v;
461
- });
462
- },
484
+ onTogglePseudoFullscreen: togglePseudoFullscreen,
463
485
  onOpenControlPanel: function onOpenControlPanel() {
464
486
  return setShowControlPanel(true);
465
487
  },
@@ -1,11 +1,12 @@
1
1
  import React from 'react';
2
2
  import type { RecordBoardResourceWallCardModel } from '../../types';
3
3
  import { type VenueWallStatusKey, type VenueWallStatusTone } from './venueWallUtils';
4
+ import './VenueWallCard.less';
4
5
  export interface VenueWallCardProps {
5
6
  card: RecordBoardResourceWallCardModel;
6
7
  /** 与 PisellRecordBoardResourceWallView 顶栏同源墙钟毫秒时间戳(唯一定时器驱动) */
7
8
  wallNowMs: number;
8
- /** boardingSoon:用于进度条分母(分钟) */
9
+ /** boardingSoon:用于进度条分母(分钟);与「距结束」快结束窗口对称 */
9
10
  boardingSoonBeforeMin?: number;
10
11
  occupiedCardColor?: string;
11
12
  availableCardColor?: string;
@@ -15,7 +16,7 @@ export interface VenueWallCardProps {
15
16
  /** 非占用态主/辅文案色在暗色外壳下的对比度 */
16
17
  appearance?: 'light' | 'dark';
17
18
  }
18
- declare function VenueWallCardInner({ card, wallNowMs, boardingSoonBeforeMin, occupiedCardColor, availableCardColor, heroMaxWidthRatio, statusToneMap: statusToneMapProp, appearance, }: VenueWallCardProps): JSX.Element;
19
+ declare function VenueWallCardInner({ card, wallNowMs, boardingSoonBeforeMin, occupiedCardColor, availableCardColor, statusToneMap: statusToneMapProp, appearance, }: VenueWallCardProps): JSX.Element;
19
20
  /** 单块场地大屏卡:漂移与文案由 {@link buildVenueWallCardPresentation} 统一计算 */
20
21
  export declare const VenueWallCard: React.MemoExoticComponent<typeof VenueWallCardInner>;
21
22
  export {};