@pisell/private-materials 3.4.157 → 3.4.158
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 +1 -1
- 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 +13 -13
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +13 -13
- package/es/components/appointmentBooking/deposit/index.d.ts +2 -1
- package/es/components/appointmentBooking/index.d.ts +2 -1
- package/es/components/booking/dashboard/index.d.ts +1 -1
- package/es/components/booking/deposit/index.d.ts +3 -1
- package/es/components/booking/info/addServiceVariant/index.d.ts +3 -1
- package/es/components/booking/info/index.d.ts +2 -1
- package/es/components/booking/materiels/contacts/index.d.ts +2 -1
- package/es/components/booking/materiels/duration/index.d.ts +2 -1
- package/es/components/booking/materiels/startTime/index.d.ts +2 -1
- package/es/components/ecocup/cupList/index.d.ts +2 -1
- package/es/components/ecocup/cupProject/index.d.ts +2 -2
- package/es/components/ecocup/customerList/index.d.ts +2 -2
- package/es/components/eftpos/index.d.ts +2 -1
- package/es/components/eftposPay/index.d.ts +2 -1
- package/es/components/eventBooking/index.d.ts +2 -1
- package/es/components/kioskSkuDetail/index.d.ts +1 -1
- package/es/components/login/index.d.ts +2 -1
- package/es/components/pisellSelectCustomerModal/index.d.ts +2 -1
- package/es/components/productExtension/index.d.ts +2 -1
- package/es/components/ruleSetting/index.d.ts +2 -1
- package/es/components/scanOrder/index.d.ts +2 -2
- package/es/components/shoppingCart/index.d.ts +2 -1
- package/es/components/subTotal/index.d.ts +1 -1
- package/es/components/taxSelect/index.d.ts +2 -1
- package/es/components/ticketBooking/index.d.ts +2 -1
- package/es/components/venueBooking/index.d.ts +2 -2
- package/es/components/walletList/index.d.ts +2 -1
- package/es/index.d.ts +3 -1
- package/es/index.js +3 -1
- package/es/plus/inventory/InventoryItemManagement.d.ts +2 -2
- package/es/plus/inventory/InventoryLocationManagement.d.ts +2 -2
- package/es/plus/inventory/InventoryUnitManagement.d.ts +2 -2
- package/es/plus/orderList/index.d.ts +1 -1
- package/es/plus/panpacificTask/PanpacificTask.d.ts +2 -2
- package/es/plus/pisellAdyenDashboard/index.d.ts +1 -1
- package/es/plus/pisellProResourcePickerModal/PisellFloorMapPaletteViewAllModal.d.ts +1 -1
- package/es/plus/pisellProResourcePickerModal/PisellProResourcePickerModal.d.ts +2 -2
- package/es/plus/pisellReservation/components/SelectFloorMapResourceDialog.d.ts +1 -1
- package/es/plus/pisellReservation/data/bookingToReservationTables.js +1 -1
- package/es/plus/pisellReservation/floorMap/floorPlanApi.js +1 -1
- package/es/plus/pisellReservation/floorMap/reservationMock.js +1 -1
- package/es/plus/pisellReservation/floorRoomCard/FloorRoomCardFromData.d.ts +1 -1
- package/es/plus/pisellReservation/floorRoomCard/ReservationFloorRoomCard.d.ts +1 -1
- package/es/plus/pisellReservation/floorRoomCard/views/RoomCardHeaderView.d.ts +1 -0
- package/es/plus/pisellReservation/index.js +17 -0
- package/es/plus/pisellSalesManagement/index.d.ts +1 -1
- package/es/plus/pisellSupersetDashboard/README.md +291 -0
- package/es/plus/pisellSupersetDashboard/index.d.ts +15 -0
- package/es/plus/pisellSupersetDashboard/index.js +187 -0
- package/es/plus/pisellSupersetDashboard/index.less +83 -0
- package/es/plus/pisellSupersetDashboard/locales.js +36 -0
- package/es/plus/pisellSupersetDashboard/serve.js +51 -0
- package/es/plus/pisellSupersetDashboard/types.d.ts +17 -0
- package/es/plus/pisellTopology/PisellTopology.d.ts +2 -2
- package/es/plus/pisellTopology/TopologyDeviceCard.d.ts +1 -1
- package/es/plus/saasCreateOrganization/index.d.ts +2 -1
- package/es/plus/saleDetail/index.d.ts +2 -2
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +2 -1
- package/es/plus/walletPassGallery/index.d.ts +2 -1
- package/es/pro/Login2.0/AuthModal.d.ts +1 -1
- package/es/pro/Login2.0/index.d.ts +2 -1
- package/es/pro/Login2.0/shared/types.d.ts +1 -1
- package/es/pro/Selector/Item.d.ts +1 -1
- package/lib/components/appointmentBooking/deposit/index.d.ts +2 -2
- package/lib/components/appointmentBooking/index.d.ts +2 -2
- package/lib/components/booking/dashboard/index.d.ts +1 -1
- package/lib/components/booking/deposit/index.d.ts +3 -2
- package/lib/components/booking/info/addServiceVariant/index.d.ts +3 -2
- package/lib/components/booking/info/index.d.ts +2 -2
- package/lib/components/booking/materiels/contacts/index.d.ts +2 -2
- package/lib/components/booking/materiels/duration/index.d.ts +2 -2
- package/lib/components/booking/materiels/resources/index.d.ts +1 -1
- package/lib/components/booking/materiels/startTime/index.d.ts +2 -2
- package/lib/components/ecocup/cupList/index.d.ts +2 -2
- package/lib/components/ecocup/cupProject/index.d.ts +2 -2
- package/lib/components/ecocup/customerList/index.d.ts +2 -2
- package/lib/components/eftpos/index.d.ts +2 -2
- package/lib/components/eftposPay/index.d.ts +2 -2
- package/lib/components/eventBooking/index.d.ts +2 -2
- package/lib/components/kioskSkuDetail/index.d.ts +1 -1
- package/lib/components/login/index.d.ts +2 -2
- package/lib/components/pisellCashCounting/types.d.ts +1 -1
- package/lib/components/pisellSelectCustomerModal/index.d.ts +2 -2
- package/lib/components/productExtension/index.d.ts +2 -2
- package/lib/components/ruleSetting/index.d.ts +2 -2
- package/lib/components/scanOrder/index.d.ts +2 -2
- package/lib/components/shoppingCart/index.d.ts +2 -2
- package/lib/components/subTotal/index.d.ts +1 -1
- package/lib/components/taxSelect/index.d.ts +2 -2
- package/lib/components/ticketBooking/index.d.ts +2 -2
- package/lib/components/venueBooking/index.d.ts +2 -2
- package/lib/components/walletList/index.d.ts +2 -2
- package/lib/index.d.ts +3 -1
- package/lib/index.js +128 -126
- package/lib/plus/clinetSearch/index.d.ts +1 -1
- package/lib/plus/inventory/InventoryItemManagement.d.ts +2 -2
- package/lib/plus/inventory/InventoryLocationManagement.d.ts +2 -2
- package/lib/plus/inventory/InventoryUnitManagement.d.ts +2 -2
- package/lib/plus/orderList/index.d.ts +1 -1
- package/lib/plus/panpacificTask/PanpacificTask.d.ts +2 -2
- package/lib/plus/pisellAdyenDashboard/index.d.ts +1 -1
- package/lib/plus/pisellProResourcePickerModal/PisellFloorMapPaletteViewAllModal.d.ts +1 -1
- package/lib/plus/pisellProResourcePickerModal/PisellProResourcePickerModal.d.ts +2 -2
- package/lib/plus/pisellReservation/components/SelectFloorMapResourceDialog.d.ts +1 -1
- package/lib/plus/pisellReservation/floorRoomCard/FloorRoomCardFromData.d.ts +1 -1
- package/lib/plus/pisellReservation/floorRoomCard/ReservationFloorRoomCard.d.ts +1 -1
- package/lib/plus/pisellReservation/floorRoomCard/mapFloorRoomCardViewProps.d.ts +1 -0
- package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardHeaderView.d.ts +1 -0
- package/lib/plus/pisellSalesManagement/index.d.ts +1 -1
- package/lib/plus/pisellSupersetDashboard/README.md +291 -0
- package/lib/plus/pisellSupersetDashboard/index.d.ts +15 -0
- package/lib/plus/pisellSupersetDashboard/index.js +189 -0
- package/lib/plus/pisellSupersetDashboard/index.less +83 -0
- package/lib/plus/pisellSupersetDashboard/locales.js +36 -0
- package/lib/plus/pisellSupersetDashboard/serve.js +52 -0
- package/lib/plus/pisellSupersetDashboard/types.d.ts +17 -0
- package/lib/plus/pisellTopology/PisellTopology.d.ts +2 -2
- package/lib/plus/pisellTopology/TopologyDeviceCard.d.ts +1 -1
- package/lib/plus/saasCreateOrganization/index.d.ts +2 -2
- package/lib/plus/saleDetail/index.d.ts +2 -2
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +2 -2
- package/lib/plus/walletPassGallery/index.d.ts +2 -2
- package/lib/pro/Selector/Item.d.ts +1 -1
- package/lowcode/pisell-superset-dashboard/meta.ts +75 -0
- package/package.json +3 -1
- /package/es/{private-materials/lowcode/authmodal/meta.d.ts → plus/pisellReservation/floorRoomCard/mapFloorRoomCardViewProps.d.ts} +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/plus/pisellSupersetDashboard/types.d.ts
|
|
4
|
+
/** Superset 报表组件的公开属性,与宿主 proCode 页面传参结构保持一致。 */
|
|
5
|
+
interface PisellSupersetDashboardProps {
|
|
6
|
+
/** 页面配置;未提供时展示配置缺失提示,不发起业务请求。 */
|
|
7
|
+
proCodeProps?: {
|
|
8
|
+
/** Superset 嵌入配置生成的 UUID,不是普通数字报表 ID 或页面 URL。 */dashboardId: string; /** 原样传给 SDK 的 UI 配置,允许扩展字段;缺省时采用 SDK 默认行为。 */
|
|
9
|
+
dashboardUiConfig?: Record<string, any>;
|
|
10
|
+
};
|
|
11
|
+
/** 附加到组件根容器的样式类名。 */
|
|
12
|
+
className?: string;
|
|
13
|
+
/** 根容器样式,可覆盖默认宽高和最小高度。 */
|
|
14
|
+
style?: React.CSSProperties;
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
export { PisellSupersetDashboardProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { PisellTopologyProps } from "./types.js";
|
|
2
|
+
import React from "react";
|
|
3
3
|
//#region src/plus/pisellTopology/PisellTopology.d.ts
|
|
4
|
-
declare function PisellTopology(props: PisellTopologyProps): JSX.Element;
|
|
4
|
+
declare function PisellTopology(props: PisellTopologyProps): React.JSX.Element;
|
|
5
5
|
declare const PisellTopologyCore: typeof PisellTopology;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { PisellTopology, PisellTopologyCore };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { SCOProps } from "./types.js";
|
|
2
|
+
import React from "react";
|
|
3
3
|
//#region src/plus/saasCreateOrganization/index.d.ts
|
|
4
|
-
declare const SaasCreateOrganization: (props: SCOProps) => JSX.Element;
|
|
4
|
+
declare const SaasCreateOrganization: (props: SCOProps) => React.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { SaasCreateOrganization };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { SaleDetailBaseComponentProps, SaleDetailDataSource, SaleDetailProps, SaleDetailRenderType, SaleDetailTemplate } from "./types.js";
|
|
2
|
+
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/plus/saleDetail/index.d.ts
|
|
5
|
-
declare function SaleDetail(props: SaleDetailProps): JSX.Element;
|
|
5
|
+
declare function SaleDetail(props: SaleDetailProps): React.JSX.Element;
|
|
6
6
|
declare namespace SaleDetail {
|
|
7
7
|
var displayName: string;
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
//#region src/plus/walletPassGallery/components/passDetail/index.d.ts
|
|
3
3
|
interface PassDetailProps {
|
|
4
4
|
dataSource?: any | null;
|
|
@@ -7,6 +7,6 @@ interface PassDetailProps {
|
|
|
7
7
|
showTimeLine?: boolean;
|
|
8
8
|
onListRefresh?: () => void;
|
|
9
9
|
}
|
|
10
|
-
declare const PassDetail: (props: PassDetailProps) => JSX.Element | null;
|
|
10
|
+
declare const PassDetail: (props: PassDetailProps) => React.JSX.Element | null;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { PassDetail };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
//#region src/plus/walletPassGallery/index.d.ts
|
|
3
3
|
interface WalletPassGalleryProps {
|
|
4
4
|
hideTitle: boolean;
|
|
@@ -7,6 +7,6 @@ interface WalletPassGalleryProps {
|
|
|
7
7
|
platform?: 'pc' | 'h5';
|
|
8
8
|
[key: string]: any;
|
|
9
9
|
}
|
|
10
|
-
declare const WalletPassGallery: (props: WalletPassGalleryProps) => JSX.Element;
|
|
10
|
+
declare const WalletPassGallery: (props: WalletPassGalleryProps) => React.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { WalletPassGallery };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
IPublicTypeComponentMetadata,
|
|
3
|
+
IPublicTypeSnippet,
|
|
4
|
+
} from '@alilc/lowcode-types';
|
|
5
|
+
|
|
6
|
+
/** 低代码物料元数据,描述组件标识、导出位置和编辑器属性面板。 */
|
|
7
|
+
const meta: IPublicTypeComponentMetadata = {
|
|
8
|
+
componentName: 'PisellSupersetDashboard',
|
|
9
|
+
title: 'Superset 报表',
|
|
10
|
+
category: 'SaaS',
|
|
11
|
+
devMode: 'proCode',
|
|
12
|
+
npm: {
|
|
13
|
+
package: '@pisell/private-materials',
|
|
14
|
+
version: '1.0.0',
|
|
15
|
+
exportName: 'PisellSupersetDashboard',
|
|
16
|
+
main: 'src/index.ts',
|
|
17
|
+
destructuring: true,
|
|
18
|
+
subName: '',
|
|
19
|
+
},
|
|
20
|
+
// 页面配置统一放在 proCodeProps 内,保持编辑器与实际组件 Props 结构一致。
|
|
21
|
+
configure: {
|
|
22
|
+
props: [
|
|
23
|
+
{
|
|
24
|
+
name: 'proCodeProps',
|
|
25
|
+
title: '报表配置',
|
|
26
|
+
setter: {
|
|
27
|
+
componentName: 'ObjectSetter',
|
|
28
|
+
props: {
|
|
29
|
+
config: {
|
|
30
|
+
items: [
|
|
31
|
+
{
|
|
32
|
+
name: 'dashboardId',
|
|
33
|
+
title: '嵌入 UUID',
|
|
34
|
+
setter: 'StringSetter',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: 'dashboardUiConfig',
|
|
38
|
+
title: 'Dashboard UI 配置',
|
|
39
|
+
// JSON 编辑器允许填写任意 SDK UI 扩展字段。
|
|
40
|
+
setter: 'JsonSetter',
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
supports: { style: true, className: true },
|
|
49
|
+
component: {},
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/** 拖入编辑器时生成的默认片段;报表 ID 留空,需接入方填写实际嵌入 UUID。 */
|
|
54
|
+
const snippets: IPublicTypeSnippet[] = [
|
|
55
|
+
{
|
|
56
|
+
title: 'Superset 报表',
|
|
57
|
+
screenshot: '',
|
|
58
|
+
schema: {
|
|
59
|
+
componentName: 'PisellSupersetDashboard',
|
|
60
|
+
props: {
|
|
61
|
+
proCodeProps: {
|
|
62
|
+
dashboardId: '',
|
|
63
|
+
dashboardUiConfig: {
|
|
64
|
+
filters: { visible: true, expanded: false },
|
|
65
|
+
hideTitle: true,
|
|
66
|
+
hideChartControls: true,
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
];
|
|
73
|
+
|
|
74
|
+
/** 合并物料描述与默认片段,供低代码构建插件收集。 */
|
|
75
|
+
export default { ...meta, snippets };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.158",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"*.scss"
|
|
11
11
|
],
|
|
12
12
|
"devDependencies": {
|
|
13
|
+
"@types/lodash": "4.17.23",
|
|
13
14
|
"@alib/build-scripts": "^0.1.32",
|
|
14
15
|
"@alilc/build-plugin-alt": "^1.3.3",
|
|
15
16
|
"@alilc/lowcode-react-renderer": "^1.1.7",
|
|
@@ -61,6 +62,7 @@
|
|
|
61
62
|
"dist"
|
|
62
63
|
],
|
|
63
64
|
"dependencies": {
|
|
65
|
+
"@superset-ui/embedded-sdk": "0.4.0",
|
|
64
66
|
"@adyen/adyen-platform-experience-web": "1.12.2",
|
|
65
67
|
"antd": "5.10.1",
|
|
66
68
|
"@ant-design/icons": "^5.6.1",
|