@pisell/materials 6.12.70 → 6.12.72
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 +1 -2
- package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +1 -2
- package/es/components/PisellCards/components/MultilevelCard/MultilevelCard.d.ts +1 -1
- package/es/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +1 -2
- package/es/components/PisellCards/components/TabCard/TabCard.d.ts +1 -2
- package/es/components/PisellCards/components/TextCard/TextCard.d.ts +1 -2
- package/es/components/PisellCards/index.d.ts +5 -6
- package/es/components/PisellGroupView/PisellGroupView.d.ts +1 -2
- package/es/components/PisellLayouts/index.d.ts +2 -2
- package/es/components/PisellMetrics/index.d.ts +2 -2
- package/es/components/appVersionControl/index.d.ts +1 -2
- package/es/components/auto-complete-number/index.d.ts +1 -2
- package/es/components/badge/index.d.ts +1 -2
- package/es/components/batch-editor/index.d.ts +1 -2
- package/es/components/calendar/index.d.ts +1 -3
- package/es/components/cardMetricItem/index.d.ts +1 -1
- package/es/components/cardPro/index.d.ts +1 -2
- package/es/components/checkbox/index.d.ts +1 -3
- package/es/components/classicLayout/index.d.ts +1 -2
- package/es/components/config-provider/index.d.ts +1 -2
- 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 +1 -2
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -3
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -2
- package/es/components/date-picker/index.d.ts +1 -3
- package/es/components/drag-sort-tree/index.d.ts +1 -2
- package/es/components/dropdown/index.d.ts +1 -3
- package/es/components/filter/index.d.ts +1 -2
- package/es/components/keyboard/index.d.ts +1 -1
- package/es/components/list/index.d.ts +1 -2
- package/es/components/lowCodePage/index.d.ts +1 -3
- package/es/components/page/index.d.ts +1 -2
- package/es/components/page-header/index.d.ts +1 -1
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -2
- package/es/components/pisellAdjustPrice/index.d.ts +1 -2
- package/es/components/pisellAlert/index.d.ts +1 -1
- package/es/components/pisellCard/index.d.ts +1 -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 +1 -3
- 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 +1 -2
- package/es/components/pisellFloatingPanel/index.d.ts +1 -1
- package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +4 -5
- package/es/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +1 -2
- package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +1 -3
- package/es/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +1 -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 +1 -2
- package/es/components/pisellInformationEntry/index.d.ts +1 -1
- package/es/components/pisellInput/components/BankCard/index.d.ts +0 -1
- package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
- package/es/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
- package/es/components/pisellInput/index.d.ts +4 -5
- package/es/components/pisellLoading/index.d.ts +1 -2
- package/es/components/pisellModal/index.d.ts +2 -2
- package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +1 -2
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +1 -2
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +1 -2
- package/es/components/pisellRow/index.d.ts +1 -1
- package/es/components/pisellSort/index.d.ts +1 -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 +1 -2
- package/es/components/pisellTooltip/index.d.ts +1 -2
- package/es/components/pisellUpload/index.d.ts +1 -2
- package/es/components/pisellWalletPassCard/index.d.ts +4 -1
- package/es/components/pisellWalletPassCard/index.js +15 -5
- package/es/components/qrcode/index.d.ts +1 -3
- package/es/components/radio/index.d.ts +1 -3
- package/es/components/section-footers/index.d.ts +1 -3
- package/es/components/segmented/index.d.ts +1 -2
- package/es/components/select-time/index.d.ts +1 -2
- package/es/components/skeleton/index.d.ts +1 -3
- package/es/components/slider/index.d.ts +1 -3
- package/es/components/tabs/index.d.ts +2 -2
- package/es/components/time-picker/index.d.ts +1 -3
- package/es/components/upload/index.d.ts +1 -3
- package/es/components/versionSelect/index.d.ts +0 -1
- package/es/components/virtual-keyboard/Amount/index.d.ts +1 -2
- package/es/components/virtual-keyboard/Number/index.d.ts +1 -2
- package/es/components/virtual-keyboard/Time/index.d.ts +1 -1
- package/es/components/virtual-keyboard/index.d.ts +1 -1
- package/es/pisell-materials.tw.css +1 -1
- package/lib/components/PisellBasicGrid/PisellBasicGrid.d.ts +1 -2
- package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +1 -2
- package/lib/components/PisellCards/components/MultilevelCard/MultilevelCard.d.ts +1 -1
- package/lib/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +1 -2
- package/lib/components/PisellCards/components/TabCard/TabCard.d.ts +1 -2
- package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +1 -2
- package/lib/components/PisellCards/index.d.ts +5 -6
- package/lib/components/PisellGroupView/PisellGroupView.d.ts +1 -2
- package/lib/components/PisellLayouts/index.d.ts +2 -2
- package/lib/components/PisellMetrics/index.d.ts +2 -2
- package/lib/components/appVersionControl/index.d.ts +1 -2
- package/lib/components/auto-complete-number/index.d.ts +1 -2
- package/lib/components/badge/index.d.ts +1 -2
- package/lib/components/batch-editor/index.d.ts +1 -2
- package/lib/components/calendar/index.d.ts +1 -3
- package/lib/components/cardMetricItem/index.d.ts +1 -1
- package/lib/components/cardPro/index.d.ts +1 -2
- package/lib/components/checkbox/index.d.ts +1 -3
- package/lib/components/classicLayout/index.d.ts +1 -2
- package/lib/components/config-provider/index.d.ts +1 -2
- 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 +1 -2
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -3
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -2
- package/lib/components/date-picker/index.d.ts +1 -3
- package/lib/components/drag-sort-tree/index.d.ts +1 -2
- package/lib/components/dropdown/index.d.ts +1 -3
- package/lib/components/filter/index.d.ts +1 -2
- package/lib/components/keyboard/index.d.ts +1 -1
- package/lib/components/list/index.d.ts +1 -2
- package/lib/components/lowCodePage/index.d.ts +1 -3
- package/lib/components/page/index.d.ts +1 -2
- package/lib/components/page-header/index.d.ts +1 -1
- package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -2
- package/lib/components/pisellAdjustPrice/index.d.ts +1 -2
- package/lib/components/pisellAlert/index.d.ts +1 -1
- package/lib/components/pisellCard/index.d.ts +1 -2
- 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 +1 -3
- 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 +1 -2
- package/lib/components/pisellFloatingPanel/index.d.ts +1 -1
- package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +4 -5
- package/lib/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +1 -2
- package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +1 -3
- package/lib/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +1 -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 +1 -2
- package/lib/components/pisellInformationEntry/index.d.ts +1 -1
- package/lib/components/pisellInput/components/BankCard/index.d.ts +0 -1
- package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
- package/lib/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
- package/lib/components/pisellInput/index.d.ts +4 -5
- package/lib/components/pisellLoading/index.d.ts +1 -2
- package/lib/components/pisellModal/index.d.ts +2 -2
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +1 -2
- package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +1 -2
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +1 -2
- package/lib/components/pisellRow/index.d.ts +1 -1
- package/lib/components/pisellSort/index.d.ts +1 -2
- 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 +1 -2
- package/lib/components/pisellTooltip/index.d.ts +1 -2
- package/lib/components/pisellUpload/index.d.ts +1 -2
- package/lib/components/pisellWalletPassCard/index.d.ts +4 -1
- package/lib/components/pisellWalletPassCard/index.js +15 -5
- package/lib/components/qrcode/index.d.ts +1 -3
- package/lib/components/radio/index.d.ts +1 -3
- package/lib/components/section-footers/index.d.ts +1 -3
- package/lib/components/segmented/index.d.ts +1 -2
- package/lib/components/select-time/index.d.ts +1 -2
- package/lib/components/skeleton/index.d.ts +1 -3
- package/lib/components/slider/index.d.ts +1 -3
- package/lib/components/tabs/index.d.ts +2 -2
- package/lib/components/time-picker/index.d.ts +1 -3
- package/lib/components/upload/index.d.ts +1 -3
- package/lib/components/versionSelect/index.d.ts +0 -1
- package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -2
- package/lib/components/virtual-keyboard/Number/index.d.ts +1 -2
- package/lib/components/virtual-keyboard/Time/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/index.d.ts +1 -1
- package/lib/pisell-materials.tw.css +1 -1
- package/package.json +3 -3
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
//#region src/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts
|
|
3
2
|
interface FloorMapSelectionZoneElementProps {
|
|
4
3
|
/** 选区名称;为空时展示「未命名选区」占位 */
|
|
5
4
|
name?: string;
|
|
6
5
|
}
|
|
7
|
-
declare function FloorMapSelectionZoneElement(props: FloorMapSelectionZoneElementProps):
|
|
6
|
+
declare function FloorMapSelectionZoneElement(props: FloorMapSelectionZoneElementProps): JSX.Element;
|
|
8
7
|
//#endregion
|
|
9
8
|
export { FloorMapSelectionZoneElement };
|
|
@@ -15,6 +15,6 @@ interface FloorMapLayoutProviderProps {
|
|
|
15
15
|
declare function FloorMapLayoutProvider({
|
|
16
16
|
value,
|
|
17
17
|
children
|
|
18
|
-
}: FloorMapLayoutProviderProps):
|
|
18
|
+
}: FloorMapLayoutProviderProps): 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) =>
|
|
49
|
+
declare const index: (props: PisellGoodPassCardProps) => JSX.Element;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { index };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { GridViewProps } from "./type.js";
|
|
2
|
-
import React from "react";
|
|
3
2
|
//#region src/components/pisellGridPro/GridView/index.d.ts
|
|
4
|
-
declare const GridView: (props: GridViewProps) =>
|
|
3
|
+
declare const GridView: (props: GridViewProps) => JSX.Element;
|
|
5
4
|
//#endregion
|
|
6
5
|
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) =>
|
|
32
|
+
declare const PisellInformationEntry: (props: PisellInformationEntryProps) => JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { PisellInformationEntry };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PisellContextType } from "../../../pisell-config-provider/context.js";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import { InputProps } from "antd";
|
|
4
3
|
//#region src/components/pisellInput/components/SecurityCode/index.d.ts
|
|
5
4
|
interface SecurityCodeProps extends Omit<InputProps, 'onChange'> {
|
|
@@ -2,17 +2,16 @@ import { PisellContextType } from "../pisell-config-provider/context.js";
|
|
|
2
2
|
import { BankCardProps } from "./components/BankCard/index.js";
|
|
3
3
|
import { SecurityCodeProps } from "./components/SecurityCode/index.js";
|
|
4
4
|
import { CopyProps } from "./components/Copy/index.js";
|
|
5
|
-
import React from "react";
|
|
6
5
|
import { InputProps } from "antd";
|
|
7
6
|
|
|
8
7
|
//#region src/components/pisellInput/index.d.ts
|
|
9
8
|
declare const PisellInput: {
|
|
10
9
|
(props: InputProps & {
|
|
11
10
|
/** 平台 */platform?: PisellContextType['platform'];
|
|
12
|
-
}):
|
|
13
|
-
BankCard: (props: BankCardProps) =>
|
|
14
|
-
SecurityCode: (props: SecurityCodeProps) =>
|
|
15
|
-
Copy: (props: CopyProps) =>
|
|
11
|
+
}): JSX.Element;
|
|
12
|
+
BankCard: (props: BankCardProps) => JSX.Element;
|
|
13
|
+
SecurityCode: (props: SecurityCodeProps) => JSX.Element;
|
|
14
|
+
Copy: (props: CopyProps) => JSX.Element;
|
|
16
15
|
};
|
|
17
16
|
//#endregion
|
|
18
17
|
export { PisellInput };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { SpinProps } from "antd";
|
|
3
2
|
//#region src/components/pisellLoading/index.d.ts
|
|
4
3
|
type MaskType = {
|
|
@@ -16,6 +15,6 @@ interface PisellLoadingProps extends SpinProps {
|
|
|
16
15
|
/** 延迟显示加载效果的时间(防止闪烁) */
|
|
17
16
|
delay?: number;
|
|
18
17
|
}
|
|
19
|
-
declare const PisellLoading: (props: PisellLoadingProps) =>
|
|
18
|
+
declare const PisellLoading: (props: PisellLoadingProps) => JSX.Element;
|
|
20
19
|
//#endregion
|
|
21
20
|
export { PisellLoading };
|
|
@@ -40,7 +40,7 @@ interface PisellModalProps extends ModalProps {
|
|
|
40
40
|
maskProps?: React.HTMLAttributes<HTMLDivElement>;
|
|
41
41
|
}
|
|
42
42
|
declare const PisellModal: {
|
|
43
|
-
(props: PisellModalProps):
|
|
43
|
+
(props: PisellModalProps): 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) =>
|
|
65
|
+
Information: (props: InformationProps) => 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,4 @@
|
|
|
1
1
|
import { RecordBoardCalendarProps } from "../../types.js";
|
|
2
|
-
import React from "react";
|
|
3
2
|
|
|
4
3
|
//#region src/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts
|
|
5
4
|
type PisellRecordBoardCalendarViewProps = RecordBoardCalendarProps;
|
|
@@ -10,6 +9,6 @@ type PisellRecordBoardCalendarViewProps = RecordBoardCalendarProps;
|
|
|
10
9
|
* 只做「占位与裁剪高度」;本组件根节点负责在同一 flex 列里向下传递 **min-height:0**,避免 `BookingCalendar`
|
|
11
10
|
* 撑破壳层(一层即可,历史上曾双包一层重复 flex+overflow)。
|
|
12
11
|
*/
|
|
13
|
-
declare function PisellRecordBoardCalendarView(props: PisellRecordBoardCalendarViewProps):
|
|
12
|
+
declare function PisellRecordBoardCalendarView(props: PisellRecordBoardCalendarViewProps): JSX.Element;
|
|
14
13
|
//#endregion
|
|
15
14
|
export { PisellRecordBoardCalendarView, PisellRecordBoardCalendarViewProps };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { PisellReservationScheduleProps } from "./types.js";
|
|
2
|
-
import React from "react";
|
|
3
2
|
//#region src/components/pisellReservationSchedule/PisellReservationSchedule.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* 营业日导航条:上一日、中间日期文案、下一日(深色条样式,适配预约顶栏)
|
|
6
5
|
*/
|
|
7
|
-
declare function PisellReservationSchedule(props: PisellReservationScheduleProps):
|
|
6
|
+
declare function PisellReservationSchedule(props: PisellReservationScheduleProps): JSX.Element;
|
|
8
7
|
declare namespace PisellReservationSchedule {
|
|
9
8
|
var displayName: string;
|
|
10
9
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { PisellReservationScheduleBandProps } from "./types.js";
|
|
2
|
-
import React from "react";
|
|
3
2
|
//#region src/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* 预约顶栏组合:营业日切换 + 锚定到选中日的时间导航轴
|
|
6
5
|
*/
|
|
7
|
-
declare function PisellReservationScheduleBand(props: PisellReservationScheduleBandProps):
|
|
6
|
+
declare function PisellReservationScheduleBand(props: PisellReservationScheduleBandProps): JSX.Element;
|
|
8
7
|
declare namespace PisellReservationScheduleBand {
|
|
9
8
|
var displayName: string;
|
|
10
9
|
}
|
|
@@ -18,6 +18,6 @@ interface PisellRowProps extends React.DetailedHTMLProps<React.HTMLAttributes<HT
|
|
|
18
18
|
* @Author: zhiwei.Wang
|
|
19
19
|
* @Date: 2024-08-16 10:38
|
|
20
20
|
*/
|
|
21
|
-
declare const PisellRow: (props: PisellRowProps) =>
|
|
21
|
+
declare const PisellRow: (props: PisellRowProps) => JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { PisellRow, PisellRowProps };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { PisellSortProps } from "./type.js";
|
|
2
|
-
import React from "react";
|
|
3
2
|
|
|
4
3
|
//#region src/components/pisellSort/index.d.ts
|
|
5
|
-
declare const PisellSort: (props: PisellSortProps) =>
|
|
4
|
+
declare const PisellSort: (props: PisellSortProps) => JSX.Element;
|
|
6
5
|
//#endregion
|
|
7
6
|
export { PisellSort };
|
|
@@ -18,6 +18,6 @@ interface PisellStatisticListProps extends React.HTMLAttributes<HTMLDivElement>
|
|
|
18
18
|
}[];
|
|
19
19
|
}[];
|
|
20
20
|
}
|
|
21
|
-
declare const PisellStatisticList: (props: PisellStatisticListProps) =>
|
|
21
|
+
declare const PisellStatisticList: (props: PisellStatisticListProps) => JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { PisellStatisticList, PisellStatisticListProps };
|
|
@@ -9,6 +9,6 @@ interface PisellTagsProps extends React.DetailedHTMLProps<React.HTMLAttributes<H
|
|
|
9
9
|
icon?: React.ReactNode;
|
|
10
10
|
color?: PisellTagsColor;
|
|
11
11
|
}
|
|
12
|
-
declare const PisellTags: (props: PisellTagsProps) =>
|
|
12
|
+
declare const PisellTags: (props: PisellTagsProps) => JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { PisellTags, PisellTagsProps };
|
|
@@ -5,8 +5,8 @@ import React from "react";
|
|
|
5
5
|
//#region src/components/pisellText/index.d.ts
|
|
6
6
|
interface PisellTextProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
7
7
|
declare const PisellText: {
|
|
8
|
-
(props: PisellTextProps):
|
|
9
|
-
Amount: (props: AmountProps) =>
|
|
8
|
+
(props: PisellTextProps): JSX.Element;
|
|
9
|
+
Amount: (props: AmountProps) => JSX.Element;
|
|
10
10
|
Editable: React.FC<EditableProps>;
|
|
11
11
|
};
|
|
12
12
|
//#endregion
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { PisellTimeNavigatorProps } from "./types.js";
|
|
2
|
-
import React from "react";
|
|
3
2
|
//#region src/components/pisellTimeNavigator/PisellTimeNavigator.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* PisellTimeNavigator:可拖动的时间导航轴,时间范围内浏览、选择、控制
|
|
6
5
|
*/
|
|
7
|
-
declare function PisellTimeNavigator(props: PisellTimeNavigatorProps):
|
|
6
|
+
declare function PisellTimeNavigator(props: PisellTimeNavigatorProps): JSX.Element;
|
|
8
7
|
declare namespace PisellTimeNavigator {
|
|
9
8
|
var displayName: string;
|
|
10
9
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PisellContextType } from "../pisell-config-provider/context.js";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import { TooltipPropsWithTitle } from "antd/es/tooltip";
|
|
4
3
|
|
|
5
4
|
//#region src/components/pisellTooltip/index.d.ts
|
|
@@ -7,6 +6,6 @@ interface PisellTooltipProps extends TooltipPropsWithTitle {
|
|
|
7
6
|
/** 平台 */
|
|
8
7
|
platform?: PisellContextType['platform'];
|
|
9
8
|
}
|
|
10
|
-
declare const PisellTooltip: (props: PisellTooltipProps) =>
|
|
9
|
+
declare const PisellTooltip: (props: PisellTooltipProps) => JSX.Element;
|
|
11
10
|
//#endregion
|
|
12
11
|
export { PisellTooltip };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { UploadProps } from "antd";
|
|
3
2
|
//#region src/components/pisellUpload/index.d.ts
|
|
4
3
|
interface PisellUploadProps extends UploadProps {
|
|
@@ -7,6 +6,6 @@ interface PisellUploadProps extends UploadProps {
|
|
|
7
6
|
text2?: string;
|
|
8
7
|
uploadType?: 'button' | 'drop' | 'custom';
|
|
9
8
|
}
|
|
10
|
-
declare const PisellUpload: (props: PisellUploadProps) =>
|
|
9
|
+
declare const PisellUpload: (props: PisellUploadProps) => JSX.Element;
|
|
11
10
|
//#endregion
|
|
12
11
|
export { PisellUpload };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { WalletPassValidity } from "@pisell/utils";
|
|
2
3
|
//#region src/components/pisellWalletPassCard/index.d.ts
|
|
3
4
|
interface FormatOption {
|
|
4
5
|
/** 原始 DOM 元素 */
|
|
@@ -58,6 +59,8 @@ interface PisellWalletPassCardProps {
|
|
|
58
59
|
validDateBySchedule?: boolean;
|
|
59
60
|
/** 日程列表 */
|
|
60
61
|
scheduleList?: any[];
|
|
62
|
+
/** 卡自身的原始有效日期,与使用日程共同决定展示范围 */
|
|
63
|
+
walletValidity?: WalletPassValidity;
|
|
61
64
|
/** 是否展示右上角详情按钮 */
|
|
62
65
|
showDetail?: boolean;
|
|
63
66
|
/** 是否展示qrCode */
|
|
@@ -141,6 +144,6 @@ interface PisellWalletPassCardProps {
|
|
|
141
144
|
onSetHolder?: (currentValue?: any) => void;
|
|
142
145
|
[key: string]: any;
|
|
143
146
|
}
|
|
144
|
-
declare const PisellWalletPassCard: (props: PisellWalletPassCardProps) =>
|
|
147
|
+
declare const PisellWalletPassCard: (props: PisellWalletPassCardProps) => JSX.Element;
|
|
145
148
|
//#endregion
|
|
146
149
|
export { FormatOption, PisellWalletPassCard, PisellWalletPassCardProps };
|
|
@@ -39,7 +39,7 @@ const PisellWalletPassCard = (props) => {
|
|
|
39
39
|
if (pressTimer) clearTimeout(pressTimer);
|
|
40
40
|
};
|
|
41
41
|
}, [pressTimer]);
|
|
42
|
-
const { id, type, code, qrCode, balance, formattedBalance, disabledReason, name, storeName, redeem, validDate, disabled, active = false, cover, balanceTitle, redeemTitle, showCover = true, showDetail = true, showBalance = true, showRedeem = true, showName = true, showCode = true, showStoreName = true, showValidDate = true, showQrCode = true, showBalanceSymbol = true, showDisabledReason = true, showDiscount = false, discount, showActions, actions, beforeEdit, onBeforeEditAmount, onConfirmEdit, onConfirmEditAmount, onDetail, useExternalDetail = false, originData, style = {}, mode = "multiple", showActiveIcon, enableEditAmount, showStatus, cardStatus, nameTitleStyle, formatBalance, formatBalanceTitle, formatRedeem, formatRedeemTitle, maxRedeem, showHolderName = true, holder, onSetHolder, validDateBySchedule, scheduleList } = props;
|
|
42
|
+
const { id, type, code, qrCode, balance, formattedBalance, disabledReason, name, storeName, redeem, validDate, disabled, active = false, cover, balanceTitle, redeemTitle, showCover = true, showDetail = true, showBalance = true, showRedeem = true, showName = true, showCode = true, showStoreName = true, showValidDate = true, showQrCode = true, showBalanceSymbol = true, showDisabledReason = true, showDiscount = false, discount, showActions, actions, beforeEdit, onBeforeEditAmount, onConfirmEdit, onConfirmEditAmount, onDetail, useExternalDetail = false, originData, style = {}, mode = "multiple", showActiveIcon, enableEditAmount, showStatus, cardStatus, nameTitleStyle, formatBalance, formatBalanceTitle, formatRedeem, formatRedeemTitle, maxRedeem, showHolderName = true, holder, onSetHolder, validDateBySchedule, scheduleList, walletValidity } = props;
|
|
43
43
|
useEffect(() => {
|
|
44
44
|
document.body.id = "body";
|
|
45
45
|
}, []);
|
|
@@ -132,12 +132,22 @@ const PisellWalletPassCard = (props) => {
|
|
|
132
132
|
};
|
|
133
133
|
}();
|
|
134
134
|
const formatValidDate = useMemo(() => {
|
|
135
|
-
if (validDateBySchedule && scheduleList && (scheduleList === null || scheduleList === void 0 ? void 0 : scheduleList.length) > 0)
|
|
135
|
+
if (validDateBySchedule && scheduleList && (scheduleList === null || scheduleList === void 0 ? void 0 : scheduleList.length) > 0) {
|
|
136
|
+
var _walletValidity$start, _ref2, _walletValidity$expir, _walletValidity$expir2;
|
|
137
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, getText("pisell-wallet-pass-card-valid"), " ", getScheduleSummary(scheduleList, config === null || config === void 0 ? void 0 : config.locale, {
|
|
138
|
+
start_date: (_walletValidity$start = walletValidity === null || walletValidity === void 0 ? void 0 : walletValidity.start_date) !== null && _walletValidity$start !== void 0 ? _walletValidity$start : originData === null || originData === void 0 ? void 0 : originData.start_date,
|
|
139
|
+
expire_date: (_ref2 = (_walletValidity$expir = walletValidity === null || walletValidity === void 0 ? void 0 : walletValidity.expire_date) !== null && _walletValidity$expir !== void 0 ? _walletValidity$expir : originData === null || originData === void 0 ? void 0 : originData.expire_date) !== null && _ref2 !== void 0 ? _ref2 : validDate,
|
|
140
|
+
expire_time: (_walletValidity$expir2 = walletValidity === null || walletValidity === void 0 ? void 0 : walletValidity.expire_time) !== null && _walletValidity$expir2 !== void 0 ? _walletValidity$expir2 : originData === null || originData === void 0 ? void 0 : originData.expire_time
|
|
141
|
+
}) || validDate);
|
|
142
|
+
}
|
|
136
143
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, getText("pisell-wallet-pass-card-valid-to"), " ", !!validDate ? validDate : getText("pisell-wallet-pass-card-expireDate"));
|
|
137
144
|
}, [
|
|
138
145
|
validDateBySchedule,
|
|
139
146
|
scheduleList,
|
|
140
|
-
validDate
|
|
147
|
+
validDate,
|
|
148
|
+
walletValidity,
|
|
149
|
+
originData,
|
|
150
|
+
config === null || config === void 0 ? void 0 : config.locale
|
|
141
151
|
]);
|
|
142
152
|
const _onConfirmEdit = () => {
|
|
143
153
|
form.validateFields().then((values) => {
|
|
@@ -238,7 +248,7 @@ const PisellWalletPassCard = (props) => {
|
|
|
238
248
|
return /* @__PURE__ */ React.createElement("div", { className: classNames("pisell-card-name-info-wrap") }, /* @__PURE__ */ React.createElement("div", { className: "pisell-card-name-wrap" }, showName && name), _showHolderName && /* @__PURE__ */ React.createElement("div", { className: "pisell-card-holder-name" }, holderName), shouldShowStoreName && /* @__PURE__ */ React.createElement("div", { className: "pisell-card-store-name" }, storeName));
|
|
239
249
|
};
|
|
240
250
|
const handleEditAmount = function() {
|
|
241
|
-
var
|
|
251
|
+
var _ref3 = _asyncToGenerator(function* (e) {
|
|
242
252
|
if (active && enableEditAmount) e.stopPropagation();
|
|
243
253
|
if (!active) return;
|
|
244
254
|
if (enableEditAmount && !disabled) {
|
|
@@ -259,7 +269,7 @@ const PisellWalletPassCard = (props) => {
|
|
|
259
269
|
}
|
|
260
270
|
});
|
|
261
271
|
return function handleEditAmount(_x) {
|
|
262
|
-
return
|
|
272
|
+
return _ref3.apply(this, arguments);
|
|
263
273
|
};
|
|
264
274
|
}();
|
|
265
275
|
const createOriginalBalanceTitleDom = () => /* @__PURE__ */ React.createElement("div", { className: "pisell-card-amount-item-label" }, formatBalanceTitle ? formatBalanceTitle(balanceTitle, {
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import * as _$react from "react";
|
|
2
|
-
|
|
3
1
|
//#region src/components/section-footers/index.d.ts
|
|
4
2
|
interface SectionFooterProps {
|
|
5
3
|
left?: React.ReactNode;
|
|
@@ -7,6 +5,6 @@ interface SectionFooterProps {
|
|
|
7
5
|
right?: React.ReactNode;
|
|
8
6
|
className?: string;
|
|
9
7
|
}
|
|
10
|
-
declare const SectionFooters: (props: SectionFooterProps) =>
|
|
8
|
+
declare const SectionFooters: (props: SectionFooterProps) => JSX.Element;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { SectionFooters };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { SegmentedProps } from "antd";
|
|
3
2
|
//#region src/components/segmented/index.d.ts
|
|
4
|
-
declare const Segmented$1: (props: SegmentedProps) =>
|
|
3
|
+
declare const Segmented$1: (props: SegmentedProps) => JSX.Element;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { Segmented$1 as Segmented };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { VirtualKeyboardTimeProps } from "../virtual-keyboard/Time/index.js";
|
|
2
|
-
import React from "react";
|
|
3
2
|
import { PopoverProps, TimePickerProps } from "antd";
|
|
4
3
|
//#region src/components/select-time/index.d.ts
|
|
5
4
|
interface SelectTimeProps {
|
|
@@ -12,6 +11,6 @@ interface SelectTimeProps {
|
|
|
12
11
|
theme?: 'light' | 'dark';
|
|
13
12
|
className?: string;
|
|
14
13
|
}
|
|
15
|
-
declare const SelectTime: (props: SelectTimeProps) =>
|
|
14
|
+
declare const SelectTime: (props: SelectTimeProps) => JSX.Element;
|
|
16
15
|
//#endregion
|
|
17
16
|
export { SelectTime };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Component } from "react";
|
|
2
2
|
import { TabsProps } from "antd";
|
|
3
3
|
//#region src/components/tabs/index.d.ts
|
|
4
4
|
declare class Tabs$1 extends Component<any> {
|
|
@@ -12,7 +12,7 @@ declare class Tabs$1 extends Component<any> {
|
|
|
12
12
|
getActiveKey: () => any;
|
|
13
13
|
renderIconLabelTabBar: TabsProps['renderTabBar'];
|
|
14
14
|
filterHiddenTabs: (tabs: any[]) => any[];
|
|
15
|
-
render():
|
|
15
|
+
render(): JSX.Element;
|
|
16
16
|
}
|
|
17
17
|
//#endregion
|
|
18
18
|
export { Tabs$1 as Tabs };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AmountProps, RightItemsStyleProps } from "./types.js";
|
|
2
|
-
import React from "react";
|
|
3
2
|
//#region src/components/virtual-keyboard/Amount/index.d.ts
|
|
4
|
-
declare const Amount: (props: AmountProps) =>
|
|
3
|
+
declare const Amount: (props: AmountProps) => JSX.Element;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { Amount };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { NumberProps } from "./types.js";
|
|
2
|
-
import React from "react";
|
|
3
2
|
//#region src/components/virtual-keyboard/Number/index.d.ts
|
|
4
|
-
declare const Number: (props: NumberProps) =>
|
|
3
|
+
declare const Number: (props: NumberProps) => JSX.Element;
|
|
5
4
|
//#endregion
|
|
6
5
|
export { Number };
|
|
@@ -10,6 +10,6 @@ interface VirtualKeyboardTimeProps extends React.HTMLAttributes<HTMLDivElement>
|
|
|
10
10
|
onEnter?: (value: any) => void;
|
|
11
11
|
rightPanel?: React.ReactNode;
|
|
12
12
|
}
|
|
13
|
-
declare const VirtualKeyboardTime: (props: VirtualKeyboardTimeProps) =>
|
|
13
|
+
declare const VirtualKeyboardTime: (props: VirtualKeyboardTimeProps) => JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { VirtualKeyboardTime, VirtualKeyboardTimeProps };
|
|
@@ -21,6 +21,6 @@ interface VirtualKeyboardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
21
21
|
primaryButtonBackgroundColor?: string;
|
|
22
22
|
primaryButtonTextColor?: string;
|
|
23
23
|
}
|
|
24
|
-
declare const VirtualKeyboard: (props: VirtualKeyboardProps) =>
|
|
24
|
+
declare const VirtualKeyboard: (props: VirtualKeyboardProps) => JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { VirtualKeyboard };
|