@pisell/materials 6.11.267 → 6.11.269
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.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +3 -3
- package/build/lowcode/preview.css +1 -1
- package/build/lowcode/preview.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +48 -48
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +48 -48
- package/es/components/PisellBasicGrid/PisellBasicGrid.d.ts +2 -2
- package/es/components/PisellBrand/PisellBrand.d.ts +31 -0
- package/es/components/PisellBrand/PisellBrand.js +48 -0
- package/es/components/PisellBrand/README.md +68 -0
- package/es/components/PisellBrand/index.d.ts +1 -0
- package/es/components/PisellBrand/index.less +133 -0
- package/es/components/PisellBrand/locales.js +26 -0
- package/es/components/PisellBrand/logo.js +3 -0
- package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +2 -2
- package/es/components/PisellCards/components/MultilevelCard/MultilevelCard.d.ts +1 -1
- package/es/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +2 -2
- package/es/components/PisellCards/components/TabCard/TabCard.d.ts +2 -2
- package/es/components/PisellCards/components/TextCard/TextCard.d.ts +2 -2
- package/es/components/PisellCards/index.d.ts +6 -5
- package/es/components/PisellGroupView/PisellGroupView.d.ts +2 -2
- package/es/components/PisellLayouts/index.d.ts +2 -2
- package/es/components/PisellMetrics/index.d.ts +2 -2
- package/es/components/PisellTabbar/template/Template1/PisellTabbar.js +4 -4
- package/es/components/appVersionControl/index.d.ts +2 -2
- package/es/components/auto-complete-number/index.d.ts +2 -2
- package/es/components/badge/index.d.ts +2 -2
- package/es/components/batch-editor/index.d.ts +2 -2
- package/es/components/calendar/index.d.ts +3 -1
- package/es/components/cardMetricItem/index.d.ts +1 -1
- package/es/components/cardPro/index.d.ts +2 -2
- package/es/components/checkbox/index.d.ts +3 -1
- package/es/components/classicLayout/index.d.ts +2 -2
- package/es/components/config-provider/index.d.ts +2 -3
- package/es/components/customSelect/index.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/group/index.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceMenu/index.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +3 -1
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +2 -1
- package/es/components/date-picker/index.d.ts +3 -1
- package/es/components/drag-sort-tree/index.d.ts +2 -2
- package/es/components/dropdown/index.d.ts +3 -2
- package/es/components/filter/index.d.ts +2 -2
- package/es/components/keyboard/index.d.ts +1 -1
- package/es/components/list/index.d.ts +2 -2
- package/es/components/lowCodePage/index.d.ts +3 -2
- package/es/components/page/index.d.ts +2 -2
- package/es/components/page/index.js +3 -1
- package/es/components/page-header/index.d.ts +1 -1
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +2 -2
- package/es/components/pisellAdjustPrice/index.d.ts +2 -2
- package/es/components/pisellAlert/index.d.ts +1 -1
- package/es/components/pisellCard/index.d.ts +2 -2
- package/es/components/pisellCheckboxGroup/index.d.ts +1 -1
- package/es/components/pisellCountdown/index.d.ts +1 -1
- package/es/components/pisellDatePicker/index.d.ts +3 -1
- package/es/components/pisellDraggable/index.d.ts +1 -1
- package/es/components/pisellEmpty/index.d.ts +1 -1
- package/es/components/pisellFilter/index.d.ts +2 -2
- package/es/components/pisellFloatingPanel/index.d.ts +1 -1
- package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +5 -5
- package/es/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +2 -2
- package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +3 -2
- package/es/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +2 -2
- package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +1 -1
- package/es/components/pisellGoodPassCard/index.d.ts +1 -1
- package/es/components/pisellGridPro/GridView/index.d.ts +2 -2
- package/es/components/pisellInformationEntry/index.d.ts +1 -1
- package/es/components/pisellInput/components/BankCard/index.d.ts +1 -1
- package/es/components/pisellInput/components/Copy/index.d.ts +1 -1
- package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -1
- package/es/components/pisellInput/index.d.ts +5 -5
- package/es/components/pisellLoading/index.d.ts +2 -2
- package/es/components/pisellLookup/PisellLookup.less +4 -1
- package/es/components/pisellLookup/components/LookupResultHost.js +6 -3
- package/es/components/pisellModal/index.d.ts +2 -2
- package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +2 -2
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +2 -2
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +2 -2
- package/es/components/pisellRow/index.d.ts +1 -1
- package/es/components/pisellSort/index.d.ts +2 -2
- package/es/components/pisellStatisticList/index.d.ts +1 -1
- package/es/components/pisellTags/index.d.ts +1 -1
- package/es/components/pisellText/index.d.ts +2 -2
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +2 -2
- package/es/components/pisellTooltip/index.d.ts +2 -2
- package/es/components/pisellUpload/index.d.ts +2 -2
- package/es/components/pisellWalletPassCard/index.d.ts +1 -1
- package/es/components/productCard/cartSkuCard/types.d.ts +2 -0
- package/es/components/productCard/cartSkuCard/variants/A12/index.js +7 -3
- package/es/components/productCard/cartSkuCard/variants/A12/index.less +31 -0
- package/es/components/qrcode/index.d.ts +3 -2
- package/es/components/radio/index.d.ts +3 -1
- package/es/components/section-footers/index.d.ts +3 -1
- package/es/components/segmented/index.d.ts +2 -2
- package/es/components/select-time/index.d.ts +2 -2
- package/es/components/skeleton/index.d.ts +3 -1
- package/es/components/slider/index.d.ts +3 -2
- package/es/components/tabs/index.d.ts +2 -2
- package/es/components/time-picker/index.d.ts +3 -1
- package/es/components/upload/index.d.ts +3 -1
- package/es/components/versionSelect/index.d.ts +1 -1
- package/es/components/virtual-keyboard/Amount/index.d.ts +2 -2
- package/es/components/virtual-keyboard/Number/index.d.ts +2 -2
- package/es/components/virtual-keyboard/Time/index.d.ts +1 -1
- package/es/components/virtual-keyboard/index.d.ts +1 -1
- package/es/hooks/useTranslationOriginal.js +2 -2
- package/es/index.d.ts +4 -1
- package/es/index.js +3 -1
- package/es/theme/provider/README.md +90 -0
- package/es/theme/provider/index.d.ts +14 -0
- package/es/theme/provider/index.js +25 -0
- package/es/theme/provider/tokens.d.ts +31 -0
- package/es/theme/provider/tokens.js +33 -0
- package/es/theme/tokens.js +0 -3
- package/lib/components/PisellBasicGrid/PisellBasicGrid.d.ts +2 -1
- package/lib/components/PisellBrand/PisellBrand.d.ts +31 -0
- package/lib/components/PisellBrand/PisellBrand.js +50 -0
- package/lib/components/PisellBrand/README.md +68 -0
- package/lib/components/PisellBrand/index.d.ts +1 -0
- package/lib/components/PisellBrand/index.less +133 -0
- package/lib/components/PisellBrand/locales.js +26 -0
- package/lib/components/PisellBrand/logo.js +3 -0
- package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +2 -1
- package/lib/components/PisellCards/components/MultilevelCard/MultilevelCard.d.ts +1 -1
- package/lib/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +2 -1
- package/lib/components/PisellCards/components/TabCard/TabCard.d.ts +2 -1
- package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +2 -1
- package/lib/components/PisellCards/index.d.ts +6 -5
- package/lib/components/PisellGroupView/PisellGroupView.d.ts +2 -1
- package/lib/components/PisellLayouts/index.d.ts +2 -2
- package/lib/components/PisellMetrics/index.d.ts +2 -2
- package/lib/components/PisellTabbar/template/Template1/PisellTabbar.js +4 -4
- package/lib/components/appVersionControl/index.d.ts +2 -1
- package/lib/components/auto-complete-number/index.d.ts +2 -1
- package/lib/components/badge/index.d.ts +2 -1
- package/lib/components/batch-editor/index.d.ts +2 -1
- package/lib/components/calendar/index.d.ts +4 -1
- package/lib/components/cardMetricItem/index.d.ts +1 -1
- package/lib/components/cardPro/index.d.ts +2 -1
- package/lib/components/checkbox/index.d.ts +4 -1
- package/lib/components/classicLayout/index.d.ts +2 -1
- package/lib/components/config-provider/index.d.ts +2 -1
- package/lib/components/customSelect/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/group/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceMenu/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +4 -1
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +2 -1
- package/lib/components/date-picker/index.d.ts +4 -1
- package/lib/components/drag-sort-tree/index.d.ts +2 -1
- package/lib/components/dropdown/index.d.ts +3 -1
- package/lib/components/filter/index.d.ts +2 -1
- package/lib/components/keyboard/index.d.ts +1 -1
- package/lib/components/list/index.d.ts +2 -2
- package/lib/components/lowCodePage/index.d.ts +3 -1
- package/lib/components/page/index.d.ts +2 -1
- package/lib/components/page/index.js +7 -5
- package/lib/components/page-header/index.d.ts +1 -1
- package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +2 -1
- package/lib/components/pisellAdjustPrice/index.d.ts +2 -1
- package/lib/components/pisellAlert/index.d.ts +1 -1
- package/lib/components/pisellCard/index.d.ts +2 -1
- package/lib/components/pisellCheckboxGroup/index.d.ts +1 -1
- package/lib/components/pisellCountdown/index.d.ts +1 -1
- package/lib/components/pisellDatePicker/index.d.ts +4 -1
- package/lib/components/pisellDraggable/index.d.ts +1 -1
- package/lib/components/pisellEmpty/index.d.ts +1 -1
- package/lib/components/pisellFilter/index.d.ts +2 -1
- package/lib/components/pisellFloatingPanel/index.d.ts +1 -1
- package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +5 -5
- package/lib/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +2 -2
- package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +3 -2
- package/lib/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +2 -2
- package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +1 -1
- package/lib/components/pisellGoodPassCard/index.d.ts +1 -1
- package/lib/components/pisellGridPro/GridView/index.d.ts +2 -1
- package/lib/components/pisellInformationEntry/index.d.ts +1 -1
- package/lib/components/pisellInput/components/BankCard/index.d.ts +1 -0
- package/lib/components/pisellInput/components/Copy/index.d.ts +1 -0
- package/lib/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
- package/lib/components/pisellInput/index.d.ts +5 -5
- package/lib/components/pisellLoading/index.d.ts +2 -1
- package/lib/components/pisellLookup/PisellLookup.less +4 -1
- package/lib/components/pisellLookup/components/LookupResultHost.js +6 -3
- package/lib/components/pisellModal/index.d.ts +2 -2
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +2 -2
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +2 -2
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +2 -2
- package/lib/components/pisellRow/index.d.ts +1 -1
- package/lib/components/pisellSort/index.d.ts +2 -1
- package/lib/components/pisellStatisticList/index.d.ts +1 -1
- package/lib/components/pisellTags/index.d.ts +1 -1
- package/lib/components/pisellText/index.d.ts +2 -2
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +2 -2
- package/lib/components/pisellTooltip/index.d.ts +2 -1
- package/lib/components/pisellUpload/index.d.ts +2 -1
- package/lib/components/pisellWalletPassCard/index.d.ts +1 -1
- package/lib/components/productCard/cartSkuCard/types.d.ts +2 -0
- package/lib/components/productCard/cartSkuCard/variants/A12/index.js +7 -3
- package/lib/components/productCard/cartSkuCard/variants/A12/index.less +31 -0
- package/lib/components/qrcode/index.d.ts +3 -1
- package/lib/components/radio/index.d.ts +4 -1
- package/lib/components/section-footers/index.d.ts +3 -1
- package/lib/components/segmented/index.d.ts +2 -1
- package/lib/components/select-time/index.d.ts +2 -1
- package/lib/components/skeleton/index.d.ts +4 -1
- package/lib/components/slider/index.d.ts +3 -1
- package/lib/components/tabs/index.d.ts +2 -2
- package/lib/components/time-picker/index.d.ts +4 -1
- package/lib/components/upload/index.d.ts +4 -1
- package/lib/components/versionSelect/index.d.ts +1 -0
- package/lib/components/virtual-keyboard/Amount/index.d.ts +2 -1
- package/lib/components/virtual-keyboard/Number/index.d.ts +2 -1
- package/lib/components/virtual-keyboard/Time/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/index.d.ts +1 -1
- package/lib/hooks/useTranslationOriginal.js +2 -2
- package/lib/index.d.ts +4 -1
- package/lib/index.js +277 -272
- package/lib/theme/provider/README.md +90 -0
- package/lib/theme/provider/index.d.ts +14 -0
- package/lib/theme/provider/index.js +28 -0
- package/lib/theme/provider/tokens.d.ts +31 -0
- package/lib/theme/provider/tokens.js +34 -0
- package/lib/theme/tokens.js +0 -3
- package/package.json +1 -1
|
@@ -16,6 +16,6 @@ interface FormGroupProps {
|
|
|
16
16
|
* @Author: shengjie.zuo
|
|
17
17
|
* @Date: 2024-11-25 17:14:25
|
|
18
18
|
*/
|
|
19
|
-
declare const FormGroup: (props: FormGroupProps) => JSX.Element;
|
|
19
|
+
declare const FormGroup: (props: FormGroupProps) => React.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { FormGroup };
|
|
@@ -35,6 +35,6 @@ interface SubmitButtonProps extends ButtonProps {
|
|
|
35
35
|
placement: 'top' | 'topLeft' | 'topRight' | 'bottom' | 'bottomLeft' | 'bottomRight';
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
declare const SubmitButton: (props: SubmitButtonProps) => JSX.Element | null;
|
|
38
|
+
declare const SubmitButton: (props: SubmitButtonProps) => React.JSX.Element | null;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { SubmitButton };
|
|
@@ -6,6 +6,6 @@ import React from "react";
|
|
|
6
6
|
* @title: 数据源表单组件
|
|
7
7
|
* @description: 基于数据源动态生成表单,支持编辑、查看、禁用三种模式
|
|
8
8
|
*/
|
|
9
|
-
declare const DataSourceMenu: (props: PisellMenuProps, ref: React.Ref<any>) => JSX.Element;
|
|
9
|
+
declare const DataSourceMenu: (props: PisellMenuProps, ref: React.Ref<any>) => React.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { DataSourceMenu };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ParsedProps } from "../utils.js";
|
|
2
|
+
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts
|
|
5
|
-
declare const DataSourceImage: (props: ParsedProps) => JSX.Element;
|
|
5
|
+
declare const DataSourceImage: (props: ParsedProps) => React.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { DataSourceImage };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import * as _$react from "react";
|
|
3
|
+
|
|
2
4
|
//#region src/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts
|
|
3
|
-
declare const DataSourceQRCode: (props: any) => JSX.Element;
|
|
5
|
+
declare const DataSourceQRCode: (props: any) => _$react.JSX.Element;
|
|
4
6
|
//#endregion
|
|
5
7
|
export { DataSourceQRCode };
|
|
@@ -7,8 +7,8 @@ interface DataSourceTypographyProps {
|
|
|
7
7
|
children: React.ReactNode;
|
|
8
8
|
}
|
|
9
9
|
declare const DataSourceTypography: {
|
|
10
|
-
(props: DataSourceTypographyProps): JSX.Element;
|
|
11
|
-
Text: (props: ParsedProps) => JSX.Element;
|
|
10
|
+
(props: DataSourceTypographyProps): React.JSX.Element;
|
|
11
|
+
Text: (props: ParsedProps) => React.JSX.Element;
|
|
12
12
|
};
|
|
13
13
|
//#endregion
|
|
14
14
|
export { DataSourceTypography };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DataSourceContextProps } from "../provider/dataSource/DataSourceContext.js";
|
|
2
|
+
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/dataSourceComponents/dataSourceWrapper/index.d.ts
|
|
5
|
-
declare const DataSourceWrapper: (props: DataSourceContextProps) => JSX.Element;
|
|
5
|
+
declare const DataSourceWrapper: (props: DataSourceContextProps) => React.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { DataSourceWrapper };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
|
|
3
2
|
import { RecordListWrapperProps } from "./type.js";
|
|
3
|
+
import React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts
|
|
6
6
|
declare const RecordListWrapperWithDataSource: (props: RecordListWrapperProps & WithModeProps & WithFormItemProps & {
|
|
@@ -12,6 +12,6 @@ declare const RecordListWrapperWithDataSource: (props: RecordListWrapperProps &
|
|
|
12
12
|
} & {
|
|
13
13
|
dataSource?: any;
|
|
14
14
|
extraParams?: Record<string, any> | undefined;
|
|
15
|
-
}) => JSX.Element;
|
|
15
|
+
}) => React.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { RecordListWrapperWithDataSource };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
|
|
2
|
+
import React from "react";
|
|
3
3
|
import * as _$antd from "antd";
|
|
4
4
|
import * as _$antd_es_select0 from "antd/es/select";
|
|
5
5
|
|
|
@@ -13,6 +13,6 @@ declare const SelectWithDataSource: (props: _$antd.SelectProps<any, _$antd_es_se
|
|
|
13
13
|
} & {
|
|
14
14
|
dataSource?: any;
|
|
15
15
|
extraParams?: Record<string, any> | undefined;
|
|
16
|
-
}) => JSX.Element;
|
|
16
|
+
}) => React.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { SelectWithDataSource };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
|
|
3
3
|
import { TabsProps } from "./type.js";
|
|
4
|
+
import * as _$react from "react";
|
|
4
5
|
|
|
5
6
|
//#region src/components/dataSourceComponents/fields/Tabs/index.d.ts
|
|
6
7
|
/** 包装 DataSource 层(提供数据源上下文) */
|
|
@@ -13,6 +14,6 @@ declare const FormItemTabs: (props: TabsProps & WithModeProps & WithFormItemProp
|
|
|
13
14
|
} & {
|
|
14
15
|
dataSource?: any;
|
|
15
16
|
extraParams?: Record<string, any> | undefined;
|
|
16
|
-
}) => JSX.Element;
|
|
17
|
+
}) => _$react.JSX.Element;
|
|
17
18
|
//#endregion
|
|
18
19
|
export { FormItemTabs };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import * as _$react from "react";
|
|
3
|
+
|
|
2
4
|
//#region src/components/date-picker/index.d.ts
|
|
3
|
-
declare const DatePicker: (props: any) => JSX.Element;
|
|
5
|
+
declare const DatePicker: (props: any) => _$react.JSX.Element;
|
|
4
6
|
//#endregion
|
|
5
7
|
export { DatePicker };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { SortType } from "./types.js";
|
|
2
|
+
import React from "react";
|
|
3
3
|
//#region src/components/drag-sort-tree/index.d.ts
|
|
4
|
-
declare const DragSortTree: (props: SortType) => JSX.Element;
|
|
4
|
+
declare const DragSortTree: (props: SortType) => React.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { DragSortTree };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FilterProps } from "./types.js";
|
|
2
|
+
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/filter/index.d.ts
|
|
5
|
-
declare const Filter: (props: FilterProps) => JSX.Element | null;
|
|
5
|
+
declare const Filter: (props: FilterProps) => React.JSX.Element | null;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { Filter };
|
|
@@ -18,6 +18,6 @@ interface KeyboardProps {
|
|
|
18
18
|
rightItems?: Item[];
|
|
19
19
|
keydown?: boolean;
|
|
20
20
|
}
|
|
21
|
-
declare const _default: React.MemoExoticComponent<(props: KeyboardProps) => JSX.Element>;
|
|
21
|
+
declare const _default: React.MemoExoticComponent<(props: KeyboardProps) => React.JSX.Element>;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { _default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import * as _$antd_es_list_Item0 from "antd/es/list/Item";
|
|
3
3
|
|
|
4
4
|
//#region src/components/list/index.d.ts
|
|
5
5
|
declare const List: {
|
|
6
|
-
(props: any): JSX.Element;
|
|
6
|
+
(props: any): React.JSX.Element;
|
|
7
7
|
Item: _$antd_es_list_Item0.ListItemTypeProps;
|
|
8
8
|
};
|
|
9
9
|
//#endregion
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
2
3
|
//#region src/components/lowCodePage/index.d.ts
|
|
3
4
|
type LowCodePageProps = {
|
|
4
5
|
id: number;
|
|
5
6
|
};
|
|
6
|
-
declare const LowCodePage: (props: LowCodePageProps) => JSX.Element;
|
|
7
|
+
declare const LowCodePage: (props: LowCodePageProps) => React.JSX.Element;
|
|
7
8
|
//#endregion
|
|
8
9
|
export { LowCodePage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ConfigProviderProps } from "../config-provider/index.js";
|
|
2
|
+
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/page/index.d.ts
|
|
5
5
|
interface PageProps extends ConfigProviderProps {
|
|
@@ -8,6 +8,6 @@ interface PageProps extends ConfigProviderProps {
|
|
|
8
8
|
disabledHistoryListener?: boolean;
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
|
-
declare const Page: (props: PageProps) => JSX.Element;
|
|
11
|
+
declare const Page: (props: PageProps) => React.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { Page };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
|
|
2
2
|
import { _objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectWithoutProperties.js";
|
|
3
3
|
import useEngineContext from "../../hooks/useEngineContext.js";
|
|
4
|
+
import { PisellThemeProvider } from "../../theme/provider/index.js";
|
|
4
5
|
import ConfigProvider$1 from "../config-provider/index.js";
|
|
5
6
|
import VariablesProvider from "../dataSourceComponents/provider/variables/VariablesProvider.js";
|
|
6
7
|
import PisellConfigProvider from "../pisell-config-provider/index.js";
|
|
@@ -102,7 +103,8 @@ const Page = (props) => {
|
|
|
102
103
|
}, /* @__PURE__ */ React.createElement(ThemeProvider, { theme: datePickerTheme }, /* @__PURE__ */ React.createElement(LocaleProvider, { value: { locale } }, /* @__PURE__ */ React.createElement(PisellConfigProvid, { locale }, /* @__PURE__ */ React.createElement(VariablesProvider, {
|
|
103
104
|
variables: ((_context$engine2 = context.engine) === null || _context$engine2 === void 0 || (_context$engine2 = _context$engine2.props) === null || _context$engine2 === void 0 ? void 0 : _context$engine2.variables) || {},
|
|
104
105
|
config: variablesConfig
|
|
105
|
-
}, /* @__PURE__ */ React.createElement(
|
|
106
|
+
}, /* @__PURE__ */ React.createElement(PisellThemeProvider, {
|
|
107
|
+
theme,
|
|
106
108
|
style: _objectSpread2(_objectSpread2({}, style), {}, { "--theme-color": themeColor || "#5D3F9F" }),
|
|
107
109
|
className
|
|
108
110
|
}, children))))))));
|
|
@@ -10,6 +10,6 @@ interface PageHeaderProps {
|
|
|
10
10
|
className?: string;
|
|
11
11
|
style?: React.CSSProperties;
|
|
12
12
|
}
|
|
13
|
-
declare const PageHeader: (props: PageHeaderProps) => JSX.Element | null;
|
|
13
|
+
declare const PageHeader: (props: PageHeaderProps) => React.JSX.Element | null;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { PageHeader };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { InputNumberProps } from "antd/es/input-number";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts
|
|
@@ -8,6 +8,6 @@ interface PisellAdjustPriceInputNumberProps extends Omit<InputNumberProps, 'onCh
|
|
|
8
8
|
defaultValue?: number;
|
|
9
9
|
onChange?: (val: number) => void;
|
|
10
10
|
}
|
|
11
|
-
declare const PisellAdjustPriceInputNumber: (props: PisellAdjustPriceInputNumberProps) => JSX.Element;
|
|
11
|
+
declare const PisellAdjustPriceInputNumber: (props: PisellAdjustPriceInputNumberProps) => React.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { PisellAdjustPriceInputNumber };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { PisellAdjustPriceProps } from "./type.js";
|
|
2
|
+
import React from "react";
|
|
3
3
|
//#region src/components/pisellAdjustPrice/index.d.ts
|
|
4
|
-
declare const PisellAdjustPrice: (props: PisellAdjustPriceProps) => JSX.Element;
|
|
4
|
+
declare const PisellAdjustPrice: (props: PisellAdjustPriceProps) => React.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { PisellAdjustPrice };
|
|
@@ -18,6 +18,6 @@ interface PisellAlertProps extends AlertProps {
|
|
|
18
18
|
* @param props
|
|
19
19
|
* @constructor
|
|
20
20
|
*/
|
|
21
|
-
declare const PisellAlert: (props: PisellAlertProps) => false | JSX.Element;
|
|
21
|
+
declare const PisellAlert: (props: PisellAlertProps) => false | React.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { PisellAlert };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { CardProps } from "antd";
|
|
3
3
|
//#region src/components/pisellCard/index.d.ts
|
|
4
4
|
interface PisellCardProps extends CardProps {
|
|
@@ -16,6 +16,6 @@ interface PisellCardProps extends CardProps {
|
|
|
16
16
|
* @param props
|
|
17
17
|
* @constructor
|
|
18
18
|
*/
|
|
19
|
-
declare const PisellCard: (props: PisellCardProps) => JSX.Element;
|
|
19
|
+
declare const PisellCard: (props: PisellCardProps) => React.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { PisellCard };
|
|
@@ -36,6 +36,6 @@ interface PisellCheckboxGroupProps extends React.HTMLAttributes<HTMLDivElement>
|
|
|
36
36
|
* @Author: zhiwei.Wang
|
|
37
37
|
* @Date: 2024-08-16 10:34
|
|
38
38
|
*/
|
|
39
|
-
declare const PisellCheckboxGroup: (props: PisellCheckboxGroupProps) => JSX.Element;
|
|
39
|
+
declare const PisellCheckboxGroup: (props: PisellCheckboxGroupProps) => React.JSX.Element;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { PisellCheckboxGroup, PisellCheckboxGroupProps };
|
|
@@ -16,6 +16,6 @@ type PisellCountdownProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
|
16
16
|
interval?: number; /** 格式化倒计时展示 参考 dayjs */
|
|
17
17
|
format?: string;
|
|
18
18
|
};
|
|
19
|
-
declare const PisellCountdown: (props: PisellCountdownProps) => JSX.Element;
|
|
19
|
+
declare const PisellCountdown: (props: PisellCountdownProps) => React.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { PisellCountdown };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import * as _$react from "react";
|
|
3
|
+
|
|
2
4
|
//#region src/components/pisellDatePicker/index.d.ts
|
|
3
|
-
declare const PisellDatePicker: (props: any) => JSX.Element;
|
|
5
|
+
declare const PisellDatePicker: (props: any) => _$react.JSX.Element;
|
|
4
6
|
//#endregion
|
|
5
7
|
export { PisellDatePicker };
|
|
@@ -28,6 +28,6 @@ interface Props {
|
|
|
28
28
|
/** 自定义拖拽判断函数,返回false时阻止拖拽 */
|
|
29
29
|
canDrop?: (dragItem: FlattenedItem, dropTarget: FlattenedItem, parentId: UniqueIdentifier | null, parentNode: any) => boolean;
|
|
30
30
|
}
|
|
31
|
-
declare const Demo: (props: Props) => JSX.Element;
|
|
31
|
+
declare const Demo: (props: Props) => React.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { Demo };
|
|
@@ -15,6 +15,6 @@ interface PisellEmptyProps extends EmptyProps {
|
|
|
15
15
|
/** 最大宽度 */
|
|
16
16
|
maxWidth?: number;
|
|
17
17
|
}
|
|
18
|
-
declare const PisellEmpty: (props: PisellEmptyProps) => JSX.Element;
|
|
18
|
+
declare const PisellEmpty: (props: PisellEmptyProps) => React.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { PisellEmpty };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { PisellFilterProps } from "./type.js";
|
|
2
|
+
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pisellFilter/index.d.ts
|
|
5
|
-
declare const PisellFilter: (props: PisellFilterProps) => JSX.Element;
|
|
5
|
+
declare const PisellFilter: (props: PisellFilterProps) => React.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { PisellFilter };
|
|
@@ -13,6 +13,6 @@ interface PisellFloatingPanelProps {
|
|
|
13
13
|
style?: React.CSSProperties;
|
|
14
14
|
retractIconStyle?: React.CSSProperties;
|
|
15
15
|
}
|
|
16
|
-
declare const PisellFloatingPanel: (props: PisellFloatingPanelProps) => JSX.Element;
|
|
16
|
+
declare const PisellFloatingPanel: (props: PisellFloatingPanelProps) => React.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { PisellFloatingPanel };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FloorMapDataSources, FloorMapMergedItem } from "../types.js";
|
|
2
|
+
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts
|
|
5
5
|
type FigmaTableStatus = 'available' | 'reserved' | 'waiting' | 'dining' | 'billed' | 'availableSoon';
|
|
@@ -32,12 +32,12 @@ interface FigmaTableCardItem {
|
|
|
32
32
|
/** 从 merged item + dataSources 得到卡片数据 */
|
|
33
33
|
declare function getFigmaTableCardFromMerged(item: FloorMapMergedItem, dataSources: FloorMapDataSources): FigmaTableCardItem;
|
|
34
34
|
/** 渲染 Figma 样式的方桌卡片(上下小条 + 资源信息标题栏 + 白底卡片 + 状态色边框) */
|
|
35
|
-
declare function renderFigmaStyleTableCard(cardItem: FigmaTableCardItem): JSX.Element;
|
|
35
|
+
declare function renderFigmaStyleTableCard(cardItem: FigmaTableCardItem): React.JSX.Element;
|
|
36
36
|
/** 渲染 Figma 样式的圆桌卡片(顶部资源信息 chip + 圆形主体,圆形主体只展示状态相关内容) */
|
|
37
|
-
declare function renderFigmaStyleRoundTableCard(cardItem: FigmaTableCardItem): JSX.Element;
|
|
37
|
+
declare function renderFigmaStyleRoundTableCard(cardItem: FigmaTableCardItem): React.JSX.Element;
|
|
38
38
|
/** 返回用于 renderItemByKind.table 的渲染函数(方桌) */
|
|
39
|
-
declare function getRenderItemByKindTable(dataSources: FloorMapDataSources): (item: unknown) => JSX.Element;
|
|
39
|
+
declare function getRenderItemByKindTable(dataSources: FloorMapDataSources): (item: unknown) => React.JSX.Element;
|
|
40
40
|
/** 返回用于 renderItemByKind.roundTable 的渲染函数(圆桌) */
|
|
41
|
-
declare function getRenderItemByKindRoundTable(dataSources: FloorMapDataSources): (item: unknown) => JSX.Element;
|
|
41
|
+
declare function getRenderItemByKindRoundTable(dataSources: FloorMapDataSources): (item: unknown) => React.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { FigmaTableCardItem, FigmaTableStatus, getFigmaTableCardFromMerged, getRenderItemByKindRoundTable, getRenderItemByKindTable, renderFigmaStyleRoundTableCard, renderFigmaStyleTableCard };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FloorMapBuiltinShapeRenderProps } from "../utils/floorMapBuiltinShapes.js";
|
|
2
|
+
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts
|
|
5
5
|
interface FloorMapBuiltinShapeElementProps extends FloorMapBuiltinShapeRenderProps {
|
|
6
6
|
builtinShapeKey?: string;
|
|
7
7
|
name?: string;
|
|
8
8
|
}
|
|
9
|
-
declare function FloorMapBuiltinShapeElement(props: FloorMapBuiltinShapeElementProps): JSX.Element;
|
|
9
|
+
declare function FloorMapBuiltinShapeElement(props: FloorMapBuiltinShapeElementProps): React.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { FloorMapBuiltinShapeElement };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
2
3
|
//#region src/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts
|
|
3
4
|
interface FloorMapImageElementProps {
|
|
4
5
|
imageUrl?: string;
|
|
5
6
|
name?: string;
|
|
6
7
|
}
|
|
7
|
-
declare function FloorMapImageElement(props: FloorMapImageElementProps): JSX.Element;
|
|
8
|
+
declare function FloorMapImageElement(props: FloorMapImageElementProps): React.JSX.Element;
|
|
8
9
|
//#endregion
|
|
9
10
|
export { FloorMapImageElement };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
//#region src/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts
|
|
3
3
|
interface FloorMapSelectionZoneElementProps {
|
|
4
4
|
/** 选区名称;为空时展示「未命名选区」占位 */
|
|
5
5
|
name?: string;
|
|
6
6
|
}
|
|
7
|
-
declare function FloorMapSelectionZoneElement(props: FloorMapSelectionZoneElementProps): JSX.Element;
|
|
7
|
+
declare function FloorMapSelectionZoneElement(props: FloorMapSelectionZoneElementProps): React.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { FloorMapSelectionZoneElement };
|
|
@@ -15,6 +15,6 @@ interface FloorMapLayoutProviderProps {
|
|
|
15
15
|
declare function FloorMapLayoutProvider({
|
|
16
16
|
value,
|
|
17
17
|
children
|
|
18
|
-
}: FloorMapLayoutProviderProps): JSX.Element;
|
|
18
|
+
}: FloorMapLayoutProviderProps): React.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { EMPTY_FLOOR_MAP_LAYOUT_CONTEXT, FloorMapLayoutProvider, FloorMapLayoutProviderProps, useFloorMapLayoutContext };
|
|
@@ -46,6 +46,6 @@ interface PisellGoodPassCardProps {
|
|
|
46
46
|
mixedSort?: (val: Discount[]) => Discount[];
|
|
47
47
|
isInModal: boolean;
|
|
48
48
|
}
|
|
49
|
-
declare const index: (props: PisellGoodPassCardProps) => JSX.Element;
|
|
49
|
+
declare const index: (props: PisellGoodPassCardProps) => React.JSX.Element;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { index };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { GridViewProps } from "./type.js";
|
|
2
|
+
import React from "react";
|
|
3
3
|
//#region src/components/pisellGridPro/GridView/index.d.ts
|
|
4
|
-
declare const GridView: (props: GridViewProps) => JSX.Element;
|
|
4
|
+
declare const GridView: (props: GridViewProps) => React.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { GridView };
|
|
@@ -29,6 +29,6 @@ interface PisellInformationEntryProps extends Omit<React.HTMLAttributes<HTMLDivE
|
|
|
29
29
|
/** 录入类型切换时候触发的 */
|
|
30
30
|
onChangeType?: (val: null | EntryModeType['type']) => void;
|
|
31
31
|
}
|
|
32
|
-
declare const PisellInformationEntry: (props: PisellInformationEntryProps) => JSX.Element;
|
|
32
|
+
declare const PisellInformationEntry: (props: PisellInformationEntryProps) => React.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { PisellInformationEntry };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { PisellContextType } from "../../../pisell-config-provider/context.js";
|
|
2
|
+
import React from "react";
|
|
3
3
|
import { InputProps } from "antd";
|
|
4
4
|
//#region src/components/pisellInput/components/BankCard/index.d.ts
|
|
5
5
|
type BankCardProps = InputProps & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { PisellContextType } from "../../../pisell-config-provider/context.js";
|
|
2
|
+
import React from "react";
|
|
3
3
|
import { InputProps } from "antd";
|
|
4
4
|
//#region src/components/pisellInput/components/SecurityCode/index.d.ts
|
|
5
5
|
interface SecurityCodeProps extends Omit<InputProps, 'onChange'> {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { PisellContextType } from "../pisell-config-provider/context.js";
|
|
3
2
|
import { BankCardProps } from "./components/BankCard/index.js";
|
|
4
3
|
import { SecurityCodeProps } from "./components/SecurityCode/index.js";
|
|
5
4
|
import { CopyProps } from "./components/Copy/index.js";
|
|
5
|
+
import React from "react";
|
|
6
6
|
import { InputProps } from "antd";
|
|
7
7
|
|
|
8
8
|
//#region src/components/pisellInput/index.d.ts
|
|
9
9
|
declare const PisellInput: {
|
|
10
10
|
(props: InputProps & {
|
|
11
11
|
/** 平台 */platform?: PisellContextType['platform'];
|
|
12
|
-
}): JSX.Element;
|
|
13
|
-
BankCard: (props: BankCardProps) => JSX.Element;
|
|
14
|
-
SecurityCode: (props: SecurityCodeProps) => JSX.Element;
|
|
15
|
-
Copy: (props: CopyProps) => JSX.Element;
|
|
12
|
+
}): React.JSX.Element;
|
|
13
|
+
BankCard: (props: BankCardProps) => React.JSX.Element;
|
|
14
|
+
SecurityCode: (props: SecurityCodeProps) => React.JSX.Element;
|
|
15
|
+
Copy: (props: CopyProps) => React.JSX.Element;
|
|
16
16
|
};
|
|
17
17
|
//#endregion
|
|
18
18
|
export { PisellInput };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { SpinProps } from "antd";
|
|
3
3
|
//#region src/components/pisellLoading/index.d.ts
|
|
4
4
|
type MaskType = {
|
|
@@ -16,6 +16,6 @@ interface PisellLoadingProps extends SpinProps {
|
|
|
16
16
|
/** 延迟显示加载效果的时间(防止闪烁) */
|
|
17
17
|
delay?: number;
|
|
18
18
|
}
|
|
19
|
-
declare const PisellLoading: (props: PisellLoadingProps) => JSX.Element;
|
|
19
|
+
declare const PisellLoading: (props: PisellLoadingProps) => React.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { PisellLoading };
|
|
@@ -182,8 +182,11 @@
|
|
|
182
182
|
&:focus,
|
|
183
183
|
&.pisell-lowcode-input-affix-wrapper-focused,
|
|
184
184
|
&.ant-input-affix-wrapper-focused {
|
|
185
|
-
border-color: #7f56d9;
|
|
185
|
+
border-color: var(--pisell-color-primary, #7f56d9);
|
|
186
186
|
box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0 0 0 2px rgba(127, 86, 217, 0.1);
|
|
187
|
+
box-shadow:
|
|
188
|
+
0px 1px 2px 0px rgba(16, 24, 40, 0.05),
|
|
189
|
+
0 0 0 2px color-mix(in srgb, var(--pisell-color-primary, #7f56d9) 10%, transparent);
|
|
187
190
|
}
|
|
188
191
|
|
|
189
192
|
// Input 文本样式(antd 内部 input 类名可能为 .ant-input 或 .pisell-lowcode-input)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getText } from "../../../locales/index.js";
|
|
2
2
|
import { _objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
|
|
3
3
|
import PisellContainer from "../../pisellContainer/index.js";
|
|
4
|
+
import { usePisellTheme } from "../../../theme/provider/index.js";
|
|
4
5
|
import React from "react";
|
|
5
6
|
import { Dropdown } from "antd";
|
|
6
7
|
//#region src/components/pisellLookup/components/LookupResultHost.tsx
|
|
@@ -9,7 +10,9 @@ import { Dropdown } from "antd";
|
|
|
9
10
|
* 结果承载层:根据展示类型渲染不同的容器
|
|
10
11
|
*/
|
|
11
12
|
const LookupResultHost = (props) => {
|
|
13
|
+
const theme = usePisellTheme();
|
|
12
14
|
const { displayType, visible, onClose, children, modalWidth = 834, modalStyle, modalCentered = false, modalTransitionName, getContainer, drawerWidth = 378, drawerHeight, drawerPlacement = "right", drawerTitle = getText("pisell-lookup-confirm-button-text"), drawerClosable = true, popupWidth, containerStyle, containerClassName, mask = false, maskClosable = true, zIndex, onAfterOpen } = props;
|
|
15
|
+
const portalContentStyle = theme ? _objectSpread2(_objectSpread2({}, containerStyle), theme.cssVariables) : containerStyle;
|
|
13
16
|
/**
|
|
14
17
|
* 渲染 Inline 模式
|
|
15
18
|
*/
|
|
@@ -38,7 +41,7 @@ const LookupResultHost = (props) => {
|
|
|
38
41
|
background: "#fff",
|
|
39
42
|
borderRadius: 8,
|
|
40
43
|
boxShadow: "0 2px 8px rgba(0, 0, 0, 0.15)"
|
|
41
|
-
},
|
|
44
|
+
}, portalContentStyle)
|
|
42
45
|
}, children),
|
|
43
46
|
trigger: ["click"]
|
|
44
47
|
}, /* @__PURE__ */ React.createElement("div", null));
|
|
@@ -83,7 +86,7 @@ const LookupResultHost = (props) => {
|
|
|
83
86
|
}
|
|
84
87
|
}, /* @__PURE__ */ React.createElement("div", {
|
|
85
88
|
className: "pisell-lookup-modal-wrapper",
|
|
86
|
-
style:
|
|
89
|
+
style: portalContentStyle
|
|
87
90
|
}, children));
|
|
88
91
|
};
|
|
89
92
|
/**
|
|
@@ -113,7 +116,7 @@ const LookupResultHost = (props) => {
|
|
|
113
116
|
}
|
|
114
117
|
}, /* @__PURE__ */ React.createElement("div", {
|
|
115
118
|
className: "pisell-lookup-drawer-content",
|
|
116
|
-
style:
|
|
119
|
+
style: portalContentStyle
|
|
117
120
|
}, children));
|
|
118
121
|
};
|
|
119
122
|
/**
|
|
@@ -40,7 +40,7 @@ interface PisellModalProps extends ModalProps {
|
|
|
40
40
|
maskProps?: React.HTMLAttributes<HTMLDivElement>;
|
|
41
41
|
}
|
|
42
42
|
declare const PisellModal: {
|
|
43
|
-
(props: PisellModalProps): JSX.Element;
|
|
43
|
+
(props: PisellModalProps): React.JSX.Element;
|
|
44
44
|
confirm: (props: PisellModalFuncProps) => {
|
|
45
45
|
destroy: () => void;
|
|
46
46
|
update: (configUpdate: _$antd.ModalFuncProps | ((prevConfig: _$antd.ModalFuncProps) => _$antd.ModalFuncProps)) => void;
|
|
@@ -62,7 +62,7 @@ declare const PisellModal: {
|
|
|
62
62
|
destroy: () => void;
|
|
63
63
|
update: (configUpdate: _$antd.ModalFuncProps | ((prevConfig: _$antd.ModalFuncProps) => _$antd.ModalFuncProps)) => void;
|
|
64
64
|
};
|
|
65
|
-
Information: (props: InformationProps) => JSX.Element;
|
|
65
|
+
Information: (props: InformationProps) => React.JSX.Element;
|
|
66
66
|
};
|
|
67
67
|
//#endregion
|
|
68
68
|
export { PisellModal, PisellModalProps };
|
package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { RecordBoardCalendarProps } from "../../types.js";
|
|
2
|
+
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts
|
|
5
5
|
type PisellRecordBoardCalendarViewProps = RecordBoardCalendarProps;
|
|
@@ -10,6 +10,6 @@ type PisellRecordBoardCalendarViewProps = RecordBoardCalendarProps;
|
|
|
10
10
|
* 只做「占位与裁剪高度」;本组件根节点负责在同一 flex 列里向下传递 **min-height:0**,避免 `BookingCalendar`
|
|
11
11
|
* 撑破壳层(一层即可,历史上曾双包一层重复 flex+overflow)。
|
|
12
12
|
*/
|
|
13
|
-
declare function PisellRecordBoardCalendarView(props: PisellRecordBoardCalendarViewProps): JSX.Element;
|
|
13
|
+
declare function PisellRecordBoardCalendarView(props: PisellRecordBoardCalendarViewProps): React.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { PisellRecordBoardCalendarView, PisellRecordBoardCalendarViewProps };
|