@pisell/materials 1.0.1102 → 1.0.1104
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.js +33 -55
- package/build/lowcode/view.js +33 -55
- 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/PisellContactBrief/PisellContactBrief.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/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 -4
- 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 -4
- 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/dataSourceQRCode/index.d.ts +1 -4
- 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 +2 -2
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -2
- package/es/components/date-picker/index.d.ts +1 -4
- 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/hardwareErrorTip/errorCard/index.d.ts +0 -1
- package/es/components/hardwareErrorTip/errorTipStatistics/index.d.ts +0 -1
- package/es/components/hardwareErrorTip/logCard/index.d.ts +0 -1
- 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 +1 -3
- package/es/components/page/index.d.ts +1 -2
- package/es/components/page-header/index.d.ts +1 -1
- package/es/components/pisellActionPanel/PisellActionPanel.d.ts +2 -2
- 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/pisellBaseCard/PisellBaseCard.d.ts +2 -2
- package/es/components/pisellCalendar/PisellCalendar.d.ts +2 -2
- package/es/components/pisellCalendar/PisellCalendar.js +4 -4
- 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/pisellCustomerBrief/PisellCustomerBrief.d.ts +2 -2
- package/es/components/pisellDatePicker/index.d.ts +1 -4
- package/es/components/pisellDraggable/index.d.ts +1 -1
- package/es/components/pisellEmpty/index.d.ts +1 -1
- package/es/components/pisellEntityCard/PisellEntityCard.d.ts +2 -2
- package/es/components/pisellExport/PisellExport.d.ts +2 -2
- 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 +5 -5
- package/es/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +2 -2
- package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +2 -3
- package/es/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +2 -2
- package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +1 -1
- package/es/components/pisellGantt/PisellGantt.d.ts +2 -2
- package/es/components/pisellGantt/PisellGantt.js +4 -4
- package/es/components/pisellGoodPassCard/index.d.ts +1 -1
- package/es/components/pisellGridPro/GridView/index.d.ts +1 -2
- package/es/components/pisellImport/PisellImport.d.ts +2 -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 +5 -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 +2 -2
- package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +1 -1
- 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 +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 +2 -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 +1 -1
- package/es/components/qrcode/index.d.ts +1 -3
- package/es/components/radio/index.d.ts +1 -4
- 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 -4
- 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 -4
- package/es/components/upload/index.d.ts +1 -4
- 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/utils/getHostLocale.js +8 -0
- package/lib/components/PisellBasicGrid/PisellBasicGrid.d.ts +2 -2
- package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +2 -2
- package/lib/components/PisellCards/components/MultilevelCard/MultilevelCard.d.ts +1 -1
- package/lib/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +2 -2
- package/lib/components/PisellCards/components/TabCard/TabCard.d.ts +2 -2
- package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +2 -2
- package/lib/components/PisellCards/index.d.ts +5 -6
- package/lib/components/PisellContactBrief/PisellContactBrief.d.ts +2 -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 +2 -2
- package/lib/components/auto-complete-number/index.d.ts +2 -2
- package/lib/components/badge/index.d.ts +2 -2
- package/lib/components/batch-editor/index.d.ts +2 -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 +2 -2
- package/lib/components/checkbox/index.d.ts +1 -3
- package/lib/components/classicLayout/index.d.ts +2 -2
- package/lib/components/config-provider/index.d.ts +2 -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/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 +2 -2
- 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 +1 -2
- package/lib/components/date-picker/index.d.ts +1 -3
- package/lib/components/drag-sort-tree/index.d.ts +2 -2
- package/lib/components/dropdown/index.d.ts +2 -3
- package/lib/components/filter/index.d.ts +2 -2
- package/lib/components/hardwareErrorTip/errorCard/index.d.ts +1 -1
- package/lib/components/hardwareErrorTip/errorTipStatistics/index.d.ts +1 -1
- package/lib/components/hardwareErrorTip/logCard/index.d.ts +1 -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 +2 -3
- package/lib/components/page/index.d.ts +2 -2
- package/lib/components/page-header/index.d.ts +1 -1
- package/lib/components/pisellActionPanel/PisellActionPanel.d.ts +2 -2
- package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +2 -2
- package/lib/components/pisellAdjustPrice/index.d.ts +2 -2
- package/lib/components/pisellAlert/index.d.ts +1 -1
- package/lib/components/pisellBaseCard/PisellBaseCard.d.ts +2 -2
- package/lib/components/pisellCalendar/PisellCalendar.d.ts +2 -2
- package/lib/components/pisellCalendar/PisellCalendar.js +4 -4
- package/lib/components/pisellCard/index.d.ts +2 -2
- package/lib/components/pisellCheckboxGroup/index.d.ts +1 -1
- package/lib/components/pisellCountdown/index.d.ts +1 -1
- package/lib/components/pisellCustomerBrief/PisellCustomerBrief.d.ts +2 -2
- 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/pisellEntityCard/PisellEntityCard.d.ts +2 -2
- package/lib/components/pisellExport/PisellExport.d.ts +2 -2
- package/lib/components/pisellFilter/index.d.ts +2 -2
- 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 +2 -3
- package/lib/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +2 -2
- package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +1 -1
- package/lib/components/pisellGantt/PisellGantt.d.ts +2 -2
- package/lib/components/pisellGantt/PisellGantt.js +4 -4
- package/lib/components/pisellGoodPassCard/index.d.ts +1 -1
- package/lib/components/pisellGridPro/GridView/index.d.ts +2 -2
- package/lib/components/pisellImport/PisellImport.d.ts +2 -2
- package/lib/components/pisellInformationEntry/index.d.ts +1 -1
- package/lib/components/pisellInput/components/BankCard/index.d.ts +1 -1
- package/lib/components/pisellInput/components/Copy/index.d.ts +1 -1
- package/lib/components/pisellInput/components/SecurityCode/index.d.ts +1 -1
- package/lib/components/pisellInput/index.d.ts +5 -5
- package/lib/components/pisellLoading/index.d.ts +2 -2
- 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 +1 -1
- 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 -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 +2 -2
- package/lib/components/pisellTooltip/index.d.ts +2 -2
- package/lib/components/pisellUpload/index.d.ts +2 -2
- package/lib/components/pisellWalletPassCard/index.d.ts +1 -1
- package/lib/components/qrcode/index.d.ts +2 -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 +2 -2
- package/lib/components/select-time/index.d.ts +2 -2
- package/lib/components/skeleton/index.d.ts +1 -3
- package/lib/components/slider/index.d.ts +2 -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 +1 -1
- package/lib/components/virtual-keyboard/Amount/index.d.ts +2 -2
- package/lib/components/virtual-keyboard/Number/index.d.ts +2 -2
- package/lib/components/virtual-keyboard/Time/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/index.d.ts +1 -1
- package/lib/utils/getHostLocale.js +8 -0
- package/package.json +4 -4
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { PisellBasicGridProps } from "./types.js";
|
|
2
|
-
import React from "react";
|
|
3
3
|
//#region src/components/PisellBasicGrid/PisellBasicGrid.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* 使用 memo 优化组件性能
|
|
6
6
|
* @description 当 props 没有变化时,避免不必要的重新渲染
|
|
7
7
|
*/
|
|
8
|
-
declare const MemoizedPisellBasicGrid: <T>(props: PisellBasicGridProps<T>) =>
|
|
8
|
+
declare const MemoizedPisellBasicGrid: <T>(props: PisellBasicGridProps<T>) => JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { MemoizedPisellBasicGrid };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { GraphicTextCardProps } from "./types.js";
|
|
2
|
-
import React from "react";
|
|
3
3
|
//#region src/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Provider 包装器
|
|
6
6
|
* 兼容 PisellCards 系统的 props 传递方式
|
|
7
7
|
*/
|
|
8
|
-
declare const Provider: (props: GraphicTextCardProps) =>
|
|
8
|
+
declare const Provider: (props: GraphicTextCardProps) => JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Provider };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { PisellImageCardProps } from "./types.js";
|
|
2
|
-
import React from "react";
|
|
3
3
|
//#region src/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Provider 包装器
|
|
6
6
|
* 兼容 PisellCards 系统的 props 传递方式
|
|
7
7
|
*/
|
|
8
|
-
declare const Provider: (props: PisellImageCardProps) =>
|
|
8
|
+
declare const Provider: (props: PisellImageCardProps) => JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Provider };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
//#region src/components/PisellCards/components/TabCard/TabCard.d.ts
|
|
3
|
-
declare const Provider: (props: any) =>
|
|
3
|
+
declare const Provider: (props: any) => JSX.Element;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { Provider };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
//#region src/components/PisellCards/components/TextCard/TextCard.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Provider 包装器
|
|
5
5
|
* 兼容 PisellCards 系统的 props 传递方式
|
|
6
6
|
*/
|
|
7
|
-
declare const Provider: (props: any) =>
|
|
7
|
+
declare const Provider: (props: any) => JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Provider };
|
|
@@ -6,15 +6,14 @@ import { EntityCardActionItem, EntityCardDensity, EntityCardLayout, EntityCardMe
|
|
|
6
6
|
import { PisellEntityCard } from "../pisellEntityCard/PisellEntityCard.js";
|
|
7
7
|
import { BadgeConfig, TabCardProps } from "./components/TabCard/types.js";
|
|
8
8
|
import { MultilevelCardProps } from "./components/MultilevelCard/types.js";
|
|
9
|
-
import * as _$react from "react";
|
|
10
9
|
|
|
11
10
|
//#region src/components/PisellCards/index.d.ts
|
|
12
11
|
declare const PisellCards: {
|
|
13
|
-
TabCard: (props: any) =>
|
|
14
|
-
TextCard: (props: any) =>
|
|
15
|
-
GraphicTextCard: (props: GraphicTextCardProps) =>
|
|
16
|
-
MultilevelCard: (props: any) =>
|
|
17
|
-
PisellImageCard: (props: PisellImageCardProps) =>
|
|
12
|
+
TabCard: (props: any) => JSX.Element;
|
|
13
|
+
TextCard: (props: any) => JSX.Element;
|
|
14
|
+
GraphicTextCard: (props: GraphicTextCardProps) => JSX.Element;
|
|
15
|
+
MultilevelCard: (props: any) => JSX.Element;
|
|
16
|
+
PisellImageCard: (props: PisellImageCardProps) => JSX.Element;
|
|
18
17
|
PisellEntityCard: typeof PisellEntityCard;
|
|
19
18
|
};
|
|
20
19
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { PisellContactBriefProps } from "./types.js";
|
|
2
|
-
import React from "react";
|
|
3
3
|
//#region src/components/PisellContactBrief/PisellContactBrief.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* PisellContactBrief 联系人简要卡片
|
|
@@ -29,6 +29,6 @@ declare function PisellContactBrief({
|
|
|
29
29
|
clickable,
|
|
30
30
|
disabled,
|
|
31
31
|
onClick
|
|
32
|
-
}: PisellContactBriefProps):
|
|
32
|
+
}: PisellContactBriefProps): JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { PisellContactBrief };
|
|
@@ -31,7 +31,7 @@ import * as _$react from "react";
|
|
|
31
31
|
* </PisellLayouts.ScrollView>
|
|
32
32
|
*/
|
|
33
33
|
declare const PisellLayouts: {
|
|
34
|
-
BasicGrid: <T>(props: PisellBasicGridProps<T>) =>
|
|
34
|
+
BasicGrid: <T>(props: PisellBasicGridProps<T>) => JSX.Element;
|
|
35
35
|
ScrollView: _$react.ForwardRefExoticComponent<Omit<PisellScrollViewProps, "ref"> & _$react.RefAttributes<PisellScrollViewRef>>;
|
|
36
36
|
FloorMapLayout: <T_1 extends FloorMapItemBase = FloorMapItemBase>(props: PisellFloorMapLayoutProps<T_1> & {
|
|
37
37
|
ref?: _$react.Ref<PisellFloorMapLayoutRef | null> | undefined;
|
|
@@ -42,7 +42,7 @@ declare const PisellLayouts: {
|
|
|
42
42
|
Header: _$react.FC<PisellHeaderProps>;
|
|
43
43
|
Sider: _$react.FC<PisellSiderProps>;
|
|
44
44
|
Container: <T_2 extends RenderType>(props: PisellContainerProps<T_2>) => any;
|
|
45
|
-
Row: (props: PisellRowProps) =>
|
|
45
|
+
Row: (props: PisellRowProps) => JSX.Element;
|
|
46
46
|
ViewGrid: _$react.FC<PisellViewGridProps>;
|
|
47
47
|
};
|
|
48
48
|
//#endregion
|
|
@@ -22,8 +22,8 @@ import * as _$react from "react";
|
|
|
22
22
|
*/
|
|
23
23
|
declare const PisellMetrics: {
|
|
24
24
|
MetricCard: _$react.FC<PisellMetricCardProps>;
|
|
25
|
-
StatisticList: (props: PisellStatisticListProps) =>
|
|
26
|
-
MetricItem: (props: PisellStatisticProps) =>
|
|
25
|
+
StatisticList: (props: PisellStatisticListProps) => JSX.Element;
|
|
26
|
+
MetricItem: (props: PisellStatisticProps) => JSX.Element;
|
|
27
27
|
};
|
|
28
28
|
//#endregion
|
|
29
29
|
export { PisellMetrics };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { AppVersionControlProps } from "./types.js";
|
|
2
|
-
import React from "react";
|
|
3
3
|
//#region src/components/appVersionControl/index.d.ts
|
|
4
|
-
declare const AppVersionControl: (props: AppVersionControlProps) =>
|
|
4
|
+
declare const AppVersionControl: (props: AppVersionControlProps) => JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { AppVersionControl };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { AutoCompleteProps, InputNumberProps } from "antd";
|
|
3
3
|
|
|
4
4
|
//#region src/components/auto-complete-number/index.d.ts
|
|
@@ -8,6 +8,6 @@ interface AutoCompleteNumberProps {
|
|
|
8
8
|
value?: any;
|
|
9
9
|
onChange?: any;
|
|
10
10
|
}
|
|
11
|
-
declare const AutoCompleteNumber: (props: AutoCompleteNumberProps) =>
|
|
11
|
+
declare const AutoCompleteNumber: (props: AutoCompleteNumberProps) => JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { AutoCompleteNumber };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
//#region src/components/batch-editor/index.d.ts
|
|
3
3
|
interface BatchEditorProps {
|
|
4
4
|
columns: any[];
|
|
@@ -7,6 +7,6 @@ interface BatchEditorProps {
|
|
|
7
7
|
rowKey: string;
|
|
8
8
|
otherTableProps: any;
|
|
9
9
|
}
|
|
10
|
-
declare const BatchEditor: (props: BatchEditorProps) =>
|
|
10
|
+
declare const BatchEditor: (props: BatchEditorProps) => JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { BatchEditor };
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import * as _$react from "react";
|
|
3
|
-
|
|
4
2
|
//#region src/components/calendar/index.d.ts
|
|
5
|
-
declare const Calendar: (props: any) =>
|
|
3
|
+
declare const Calendar: (props: any) => JSX.Element;
|
|
6
4
|
//#endregion
|
|
7
5
|
export { Calendar };
|
|
@@ -11,6 +11,6 @@ interface PisellStatisticProps {
|
|
|
11
11
|
showCurrencySymbol?: boolean;
|
|
12
12
|
style?: any;
|
|
13
13
|
}
|
|
14
|
-
declare const CardMetricItem: (props: PisellStatisticProps) =>
|
|
14
|
+
declare const CardMetricItem: (props: PisellStatisticProps) => JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { CardMetricItem, PisellStatisticProps };
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import * as _$react from "react";
|
|
3
|
-
|
|
4
2
|
//#region src/components/checkbox/index.d.ts
|
|
5
|
-
declare const Checkbox: (props: any) =>
|
|
3
|
+
declare const Checkbox: (props: any) => JSX.Element;
|
|
6
4
|
//#endregion
|
|
7
5
|
export { Checkbox };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
//#region src/components/classicLayout/index.d.ts
|
|
3
|
-
declare const ClassicLayout: (props: any) =>
|
|
3
|
+
declare const ClassicLayout: (props: any) => JSX.Element;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { ClassicLayout };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { ConfigProviderProps } from "antd/es/config-provider";
|
|
3
3
|
//#region src/components/config-provider/index.d.ts
|
|
4
4
|
interface ConfigProviderProps$1 extends ConfigProviderProps {
|
|
5
5
|
[key: string]: any;
|
|
6
6
|
}
|
|
7
|
-
declare const ConfigProvider: (props: ConfigProviderProps$1) =>
|
|
7
|
+
declare const ConfigProvider: (props: ConfigProviderProps$1) => JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ConfigProvider, ConfigProviderProps$1 as ConfigProviderProps };
|
|
@@ -13,6 +13,6 @@ interface CustomSelectProps<T extends BaseOption> extends Omit<SelectProps<T['va
|
|
|
13
13
|
className?: string;
|
|
14
14
|
style?: React.CSSProperties;
|
|
15
15
|
}
|
|
16
|
-
declare const CustomSelect: <T extends BaseOption>(props: CustomSelectProps<T>) =>
|
|
16
|
+
declare const CustomSelect: <T extends BaseOption>(props: CustomSelectProps<T>) => JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { CustomSelect };
|
|
@@ -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) =>
|
|
19
|
+
declare const FormGroup: (props: FormGroupProps) => 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) =>
|
|
38
|
+
declare const SubmitButton: (props: SubmitButtonProps) => 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>) =>
|
|
9
|
+
declare const DataSourceMenu: (props: PisellMenuProps, ref: React.Ref<any>) => JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { DataSourceMenu };
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import * as _$react from "react";
|
|
3
|
-
|
|
4
2
|
//#region src/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts
|
|
5
|
-
declare const DataSourceQRCode: (props: any) =>
|
|
3
|
+
declare const DataSourceQRCode: (props: any) => JSX.Element;
|
|
6
4
|
//#endregion
|
|
7
5
|
export { DataSourceQRCode };
|
|
@@ -7,8 +7,8 @@ interface DataSourceTypographyProps {
|
|
|
7
7
|
children: React.ReactNode;
|
|
8
8
|
}
|
|
9
9
|
declare const DataSourceTypography: {
|
|
10
|
-
(props: DataSourceTypographyProps):
|
|
11
|
-
Text: (props: ParsedProps) =>
|
|
10
|
+
(props: DataSourceTypographyProps): JSX.Element;
|
|
11
|
+
Text: (props: ParsedProps) => JSX.Element;
|
|
12
12
|
};
|
|
13
13
|
//#endregion
|
|
14
14
|
export { DataSourceTypography };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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) =>
|
|
5
|
+
declare const DataSourceWrapper: (props: DataSourceContextProps) => JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { DataSourceWrapper };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
|
|
2
3
|
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
|
-
}) =>
|
|
15
|
+
}) => JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { RecordListWrapperWithDataSource };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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
|
-
}) =>
|
|
16
|
+
}) => JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { SelectWithDataSource };
|
|
@@ -1,7 +1,6 @@
|
|
|
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";
|
|
5
4
|
|
|
6
5
|
//#region src/components/dataSourceComponents/fields/Tabs/index.d.ts
|
|
7
6
|
/** 包装 DataSource 层(提供数据源上下文) */
|
|
@@ -14,6 +13,6 @@ declare const FormItemTabs: (props: TabsProps & WithModeProps & WithFormItemProp
|
|
|
14
13
|
} & {
|
|
15
14
|
dataSource?: any;
|
|
16
15
|
extraParams?: Record<string, any> | undefined;
|
|
17
|
-
}) =>
|
|
16
|
+
}) => JSX.Element;
|
|
18
17
|
//#endregion
|
|
19
18
|
export { FormItemTabs };
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import * as _$react from "react";
|
|
3
|
-
|
|
4
2
|
//#region src/components/date-picker/index.d.ts
|
|
5
|
-
declare const DatePicker: (props: any) =>
|
|
3
|
+
declare const DatePicker: (props: any) => JSX.Element;
|
|
6
4
|
//#endregion
|
|
7
5
|
export { DatePicker };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { SortType } from "./types.js";
|
|
2
|
-
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/drag-sort-tree/index.d.ts
|
|
5
|
-
declare const DragSortTree: (props: SortType) =>
|
|
5
|
+
declare const DragSortTree: (props: SortType) => JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { DragSortTree };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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) =>
|
|
5
|
+
declare const Filter: (props: FilterProps) => 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) =>
|
|
21
|
+
declare const _default: React.MemoExoticComponent<(props: KeyboardProps) => JSX.Element>;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { _default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import * as _$antd_es_list_Item0 from "antd/es/list/Item";
|
|
3
3
|
//#region src/components/list/index.d.ts
|
|
4
4
|
declare const List: {
|
|
5
|
-
(props: any):
|
|
5
|
+
(props: any): JSX.Element;
|
|
6
6
|
Item: _$antd_es_list_Item0.ListItemTypeProps;
|
|
7
7
|
};
|
|
8
8
|
//#endregion
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
3
2
|
//#region src/components/lowCodePage/index.d.ts
|
|
4
3
|
type LowCodePageProps = {
|
|
5
4
|
id: number;
|
|
6
5
|
};
|
|
7
|
-
declare const LowCodePage: (props: LowCodePageProps) =>
|
|
6
|
+
declare const LowCodePage: (props: LowCodePageProps) => JSX.Element;
|
|
8
7
|
//#endregion
|
|
9
8
|
export { LowCodePage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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 {
|
|
@@ -7,6 +7,6 @@ interface PageProps extends ConfigProviderProps {
|
|
|
7
7
|
disabledHistoryListener?: boolean;
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
|
-
declare const Page: (props: PageProps) =>
|
|
10
|
+
declare const Page: (props: PageProps) => JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Page };
|
|
@@ -10,6 +10,6 @@ interface PageHeaderProps {
|
|
|
10
10
|
className?: string;
|
|
11
11
|
style?: React.CSSProperties;
|
|
12
12
|
}
|
|
13
|
-
declare const PageHeader: (props: PageHeaderProps) =>
|
|
13
|
+
declare const PageHeader: (props: PageHeaderProps) => JSX.Element | null;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { PageHeader };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { PisellActionPanelProps } from "./types.js";
|
|
2
|
-
import React from "react";
|
|
3
3
|
//#region src/components/pisellActionPanel/PisellActionPanel.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* PisellActionPanel 操作面板
|
|
@@ -19,6 +19,6 @@ declare function PisellActionPanel({
|
|
|
19
19
|
itemGap,
|
|
20
20
|
className,
|
|
21
21
|
style
|
|
22
|
-
}: PisellActionPanelProps):
|
|
22
|
+
}: PisellActionPanelProps): JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { PisellActionPanel };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="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) =>
|
|
11
|
+
declare const PisellAdjustPriceInputNumber: (props: PisellAdjustPriceInputNumberProps) => JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { PisellAdjustPriceInputNumber };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
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) =>
|
|
4
|
+
declare const PisellAdjustPrice: (props: PisellAdjustPriceProps) => 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 |
|
|
21
|
+
declare const PisellAlert: (props: PisellAlertProps) => false | JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { PisellAlert };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { PisellBaseCardProps } from "./types.js";
|
|
2
|
-
import React from "react";
|
|
3
3
|
//#region src/components/pisellBaseCard/PisellBaseCard.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* PisellBaseCard 基础卡片容器
|
|
@@ -15,6 +15,6 @@ declare function PisellBaseCard({
|
|
|
15
15
|
clickable,
|
|
16
16
|
disabled,
|
|
17
17
|
onClick
|
|
18
|
-
}: PisellBaseCardProps):
|
|
18
|
+
}: PisellBaseCardProps): JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { PisellBaseCard };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { PisellCalendarProps } from "./types.js";
|
|
2
|
-
import React from "react";
|
|
3
3
|
//#region src/components/pisellCalendar/PisellCalendar.d.ts
|
|
4
|
-
declare function PisellCalendar<T = unknown>(props: PisellCalendarProps<T>):
|
|
4
|
+
declare function PisellCalendar<T = unknown>(props: PisellCalendarProps<T>): JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { PisellCalendar };
|
|
@@ -3,6 +3,7 @@ const require_objectSpread2 = require("../../_virtual/_@oxc-project_runtime@0.12
|
|
|
3
3
|
const require_useEngineContext = require("../../hooks/useEngineContext.js");
|
|
4
4
|
const require_index = require("../calendar/index.js");
|
|
5
5
|
const require_locales = require("./locales.js");
|
|
6
|
+
const require_getHostLocale = require("../../utils/getHostLocale.js");
|
|
6
7
|
const require_dateOnly = require("../../utils/dateOnly.js");
|
|
7
8
|
const require_calendarPanelBridge = require("./calendarPanelBridge.js");
|
|
8
9
|
const require_calendarEventProjection = require("./calendarEventProjection.js");
|
|
@@ -14,7 +15,7 @@ let antd = require("antd");
|
|
|
14
15
|
require("./PisellCalendar.less");
|
|
15
16
|
//#region src/components/pisellCalendar/PisellCalendar.tsx
|
|
16
17
|
function PisellCalendar(props) {
|
|
17
|
-
var _context$appHelper,
|
|
18
|
+
var _context$appHelper, _interaction$preview, _interaction$preview6, _interaction$preview7, _interaction$preview8;
|
|
18
19
|
const { month, items, today, selectedDate, weekStartsOn = 0, maxEventsPerDay = 3, density = "comfortable", displayMode = "range", getDisplayDate, showEventCount = true } = props;
|
|
19
20
|
const root = (0, react.useRef)(null);
|
|
20
21
|
const cells = (0, react.useRef)(/* @__PURE__ */ new Map());
|
|
@@ -44,9 +45,8 @@ function PisellCalendar(props) {
|
|
|
44
45
|
displayMode,
|
|
45
46
|
getDisplayDate
|
|
46
47
|
]);
|
|
47
|
-
const
|
|
48
|
-
|
|
49
|
-
_pisell_utils.locales.init(require_locales.default, locale || "en");
|
|
48
|
+
const locale = require_getHostLocale.getHostLocale((_context$appHelper = require_useEngineContext.default().appHelper) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.utils) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.storage);
|
|
49
|
+
_pisell_utils.locales.init(require_locales.default, locale);
|
|
50
50
|
(0, react.useEffect)(() => {
|
|
51
51
|
document.body.id = "body";
|
|
52
52
|
}, []);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="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) =>
|
|
19
|
+
declare const PisellCard: (props: PisellCardProps) => 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) =>
|
|
39
|
+
declare const PisellCheckboxGroup: (props: PisellCheckboxGroupProps) => JSX.Element;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { PisellCheckboxGroup, PisellCheckboxGroupProps };
|