@pisell/materials 1.0.917 → 1.0.919
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/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +164 -148
- package/build/lowcode/render/default/view.js +33 -19
- package/build/lowcode/view.js +30 -16
- package/es/components/Pagination/index.d.ts +1 -1
- package/es/components/appVersionControl/index.d.ts +1 -0
- package/es/components/cardPro/index.js +10 -3
- package/es/components/colorPicker/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +9 -9
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
- package/es/components/drag-sort-tree/index.d.ts +1 -0
- package/es/components/filter/components/items/index.d.ts +0 -1
- package/es/components/filter/components/items/text/Editor/index.d.ts +0 -1
- package/es/components/filter/components/items/text/Preview/index.d.ts +0 -1
- package/es/components/filter/components/items/text/index.d.ts +0 -1
- package/es/components/hardwareErrorTip/errorCard/index.d.ts +1 -0
- package/es/components/hardwareErrorTip/errorTipStatistics/index.d.ts +1 -0
- package/es/components/hardwareErrorTip/logCard/index.d.ts +1 -0
- package/es/components/media/index.d.ts +18 -0
- package/es/components/media/index.js +340 -0
- package/es/components/media/index.less +100 -0
- package/es/components/page/index.d.ts +1 -0
- package/es/components/pisellAdjustPrice/index.d.ts +1 -0
- package/es/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
- package/es/components/pisellInput/components/BankCard/index.d.ts +1 -0
- package/es/components/pisellInput/components/Copy/index.d.ts +1 -0
- package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
- package/es/components/pisellInput/index.d.ts +1 -0
- package/es/components/pisellTooltip/index.d.ts +1 -0
- package/es/components/pisellVHFix/index.d.ts +13 -0
- package/es/components/pisellVHFix/index.js +36 -0
- package/es/components/pisellVHFix/index.less +10 -0
- package/es/components/pisellWalletPassCard/index.js +1 -1
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/index.d.ts +1 -0
- package/es/components/productCard/components/Action/index.d.ts +1 -0
- package/es/components/productCard/components/Header/Actions/index.d.ts +1 -0
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
- package/es/components/productCard/components/Header/index.d.ts +1 -0
- package/es/components/productCard/components/Packages/utils.d.ts +1 -1
- package/es/components/productCard/components/Sales/index.d.ts +1 -0
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -0
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
- package/es/components/productCard/components/Time/index.d.ts +1 -0
- package/es/components/table/Actions/component/ExportImport/index.d.ts +1 -0
- package/es/components/table/Table/fields/index.d.ts +2 -2
- package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/virtual-keyboard/Amount/index.d.ts +1 -0
- package/es/components/virtual-keyboard/Number/index.d.ts +1 -0
- package/es/locales/en-US.d.ts +10 -0
- package/es/locales/en-US.js +16 -1
- package/es/locales/zh-CN.d.ts +10 -0
- package/es/locales/zh-CN.js +16 -1
- package/es/locales/zh-TW.d.ts +10 -0
- package/es/locales/zh-TW.js +16 -1
- package/es/utils/platform.d.ts +1 -1
- package/lib/components/Pagination/index.d.ts +1 -1
- package/lib/components/appVersionControl/index.d.ts +1 -0
- package/lib/components/cardPro/index.js +3 -2
- package/lib/components/colorPicker/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +9 -9
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
- package/lib/components/drag-sort-tree/index.d.ts +1 -0
- package/lib/components/filter/components/items/index.d.ts +0 -1
- package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
- package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
- package/lib/components/filter/components/items/text/index.d.ts +0 -1
- package/lib/components/hardwareErrorTip/errorCard/index.d.ts +1 -0
- package/lib/components/hardwareErrorTip/errorTipStatistics/index.d.ts +1 -0
- package/lib/components/hardwareErrorTip/logCard/index.d.ts +1 -0
- package/lib/components/media/index.d.ts +18 -0
- package/lib/components/media/index.js +265 -0
- package/lib/components/media/index.less +100 -0
- package/lib/components/page/index.d.ts +1 -0
- package/lib/components/pisellAdjustPrice/index.d.ts +1 -0
- package/lib/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
- 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 +1 -0
- package/lib/components/pisellTooltip/index.d.ts +1 -0
- package/lib/components/pisellVHFix/index.d.ts +13 -0
- package/lib/components/pisellVHFix/index.js +56 -0
- package/lib/components/pisellVHFix/index.less +10 -0
- package/lib/components/pisellWalletPassCard/index.js +1 -1
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/index.d.ts +1 -0
- package/lib/components/productCard/components/Action/index.d.ts +1 -0
- package/lib/components/productCard/components/Header/Actions/index.d.ts +1 -0
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
- package/lib/components/productCard/components/Header/index.d.ts +1 -0
- package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
- package/lib/components/productCard/components/Sales/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +1 -0
- package/lib/components/table/Table/fields/index.d.ts +2 -2
- package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -0
- package/lib/components/virtual-keyboard/Number/index.d.ts +1 -0
- package/lib/locales/en-US.d.ts +10 -0
- package/lib/locales/en-US.js +12 -1
- package/lib/locales/zh-CN.d.ts +10 -0
- package/lib/locales/zh-CN.js +12 -1
- package/lib/locales/zh-TW.d.ts +10 -0
- package/lib/locales/zh-TW.js +12 -1
- package/lib/utils/platform.d.ts +1 -1
- package/package.json +2 -2
|
@@ -17,4 +17,4 @@ export declare const minusSign: (item: any, type?: string) => "" | "-";
|
|
|
17
17
|
* @Author: WangHan
|
|
18
18
|
* @Date: 2024-11-22 10:58
|
|
19
19
|
*/
|
|
20
|
-
export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) =>
|
|
20
|
+
export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
|
|
@@ -17,4 +17,4 @@ export declare const minusSign: (item: any, type?: string) => "" | "-";
|
|
|
17
17
|
* @Author: WangHan
|
|
18
18
|
* @Date: 2024-11-22 10:58
|
|
19
19
|
*/
|
|
20
|
-
export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) =>
|
|
20
|
+
export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import './index.less';
|
|
2
3
|
declare const SelectHolder: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
|
|
3
4
|
export default SelectHolder;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import './index.less';
|
|
2
3
|
declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => JSX.Element | null;
|
|
3
4
|
export default Time;
|
|
@@ -198,12 +198,12 @@ export declare const fieldList: ({
|
|
|
198
198
|
field_icon: string;
|
|
199
199
|
field_name: string;
|
|
200
200
|
field_type: string;
|
|
201
|
-
default_value:
|
|
201
|
+
default_value: string;
|
|
202
202
|
} | {
|
|
203
203
|
field_icon: string;
|
|
204
204
|
field_name: string;
|
|
205
205
|
field_type: string;
|
|
206
|
-
default_value:
|
|
206
|
+
default_value: boolean;
|
|
207
207
|
} | {
|
|
208
208
|
field_icon: string;
|
|
209
209
|
field_name: string;
|
|
@@ -167,7 +167,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
|
|
|
167
167
|
sort?: SortType | undefined;
|
|
168
168
|
mode: "" | "localStorage" | "remote";
|
|
169
169
|
currentViewMode: ModeType;
|
|
170
|
-
}) => ("
|
|
170
|
+
}) => ("order_by" | "group_by" | "column_setting" | "gallery_setting" | "filter_setting" | "view_mode")[];
|
|
171
171
|
export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
|
|
172
172
|
export declare const stringify: (obj: Record<string, any>) => string;
|
|
173
173
|
export {};
|
package/lib/locales/en-US.d.ts
CHANGED
|
@@ -316,5 +316,15 @@ declare const _default: {
|
|
|
316
316
|
'pisell-wallet-pass-card-status-conflict': string;
|
|
317
317
|
'pisell-wallet-pass-card-reset': string;
|
|
318
318
|
'pisell-wallet-pass-card-done': string;
|
|
319
|
+
'pisell-list-tab-group-default': string;
|
|
320
|
+
'pisell-list-empty-text-default': string;
|
|
321
|
+
'pisell-list-load-more': string;
|
|
322
|
+
'pisell-list-view-less': string;
|
|
323
|
+
'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
|
|
324
|
+
'pisell-list-scroll-down': string;
|
|
325
|
+
'pisell-list-scroll-right': string;
|
|
326
|
+
'pisell-list-pagination-page-of': (current: number, total: number) => string;
|
|
327
|
+
'pisell-list-pagination-previous': string;
|
|
328
|
+
'pisell-list-pagination-next': string;
|
|
319
329
|
};
|
|
320
330
|
export default _default;
|
package/lib/locales/en-US.js
CHANGED
|
@@ -373,5 +373,16 @@ var en_US_default = {
|
|
|
373
373
|
"pisell-wallet-pass-card-status-disabled": "Disabled",
|
|
374
374
|
"pisell-wallet-pass-card-status-conflict": "Conflict",
|
|
375
375
|
"pisell-wallet-pass-card-reset": "Reset",
|
|
376
|
-
"pisell-wallet-pass-card-done": "Done"
|
|
376
|
+
"pisell-wallet-pass-card-done": "Done",
|
|
377
|
+
// 列表组件
|
|
378
|
+
"pisell-list-tab-group-default": "Field",
|
|
379
|
+
"pisell-list-empty-text-default": "No data available",
|
|
380
|
+
"pisell-list-load-more": "Load More",
|
|
381
|
+
"pisell-list-view-less": "View Less",
|
|
382
|
+
"pisell-list-pagination-total": (start, end, total) => `Showing ${start}-${end} of ${total} items`,
|
|
383
|
+
"pisell-list-scroll-down": "Scroll Down",
|
|
384
|
+
"pisell-list-scroll-right": "Scroll Right",
|
|
385
|
+
"pisell-list-pagination-page-of": (current, total) => `Page ${current} of ${total}`,
|
|
386
|
+
"pisell-list-pagination-previous": "Previous",
|
|
387
|
+
"pisell-list-pagination-next": "Next"
|
|
377
388
|
};
|
package/lib/locales/zh-CN.d.ts
CHANGED
|
@@ -311,5 +311,15 @@ declare const _default: {
|
|
|
311
311
|
'pisell-wallet-pass-card-status-conflict': string;
|
|
312
312
|
'pisell-wallet-pass-card-reset': string;
|
|
313
313
|
'pisell-wallet-pass-card-done': string;
|
|
314
|
+
'pisell-list-tab-group-default': string;
|
|
315
|
+
'pisell-list-empty-text-default': string;
|
|
316
|
+
'pisell-list-load-more': string;
|
|
317
|
+
'pisell-list-view-less': string;
|
|
318
|
+
'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
|
|
319
|
+
'pisell-list-scroll-down': string;
|
|
320
|
+
'pisell-list-scroll-right': string;
|
|
321
|
+
'pisell-list-pagination-page-of': (current: number, total: number) => string;
|
|
322
|
+
'pisell-list-pagination-previous': string;
|
|
323
|
+
'pisell-list-pagination-next': string;
|
|
314
324
|
};
|
|
315
325
|
export default _default;
|
package/lib/locales/zh-CN.js
CHANGED
|
@@ -364,5 +364,16 @@ var zh_CN_default = {
|
|
|
364
364
|
"pisell-wallet-pass-card-status-disabled": "已禁用",
|
|
365
365
|
"pisell-wallet-pass-card-status-conflict": "冲突",
|
|
366
366
|
"pisell-wallet-pass-card-reset": "清空",
|
|
367
|
-
"pisell-wallet-pass-card-done": "保存"
|
|
367
|
+
"pisell-wallet-pass-card-done": "保存",
|
|
368
|
+
// 列表组件
|
|
369
|
+
"pisell-list-tab-group-default": "字段",
|
|
370
|
+
"pisell-list-empty-text-default": "暂无数据",
|
|
371
|
+
"pisell-list-load-more": "查看更多",
|
|
372
|
+
"pisell-list-view-less": "查看更少",
|
|
373
|
+
"pisell-list-pagination-total": (start, end, total) => `显示第 ${start}-${end} 条,共 ${total} 条`,
|
|
374
|
+
"pisell-list-scroll-down": "向下滚动",
|
|
375
|
+
"pisell-list-scroll-right": "向右滚动",
|
|
376
|
+
"pisell-list-pagination-page-of": (current, total) => `第 ${current} 页 共 ${total} 页`,
|
|
377
|
+
"pisell-list-pagination-previous": "上一页",
|
|
378
|
+
"pisell-list-pagination-next": "下一页"
|
|
368
379
|
};
|
package/lib/locales/zh-TW.d.ts
CHANGED
|
@@ -311,5 +311,15 @@ declare const _default: {
|
|
|
311
311
|
'pisell-wallet-pass-card-status-conflict': string;
|
|
312
312
|
'pisell-wallet-pass-card-reset': string;
|
|
313
313
|
'pisell-wallet-pass-card-done': string;
|
|
314
|
+
'pisell-list-tab-group-default': string;
|
|
315
|
+
'pisell-list-empty-text-default': string;
|
|
316
|
+
'pisell-list-load-more': string;
|
|
317
|
+
'pisell-list-view-less': string;
|
|
318
|
+
'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
|
|
319
|
+
'pisell-list-scroll-down': string;
|
|
320
|
+
'pisell-list-scroll-right': string;
|
|
321
|
+
'pisell-list-pagination-page-of': (current: number, total: number) => string;
|
|
322
|
+
'pisell-list-pagination-previous': string;
|
|
323
|
+
'pisell-list-pagination-next': string;
|
|
314
324
|
};
|
|
315
325
|
export default _default;
|
package/lib/locales/zh-TW.js
CHANGED
|
@@ -365,5 +365,16 @@ var zh_TW_default = {
|
|
|
365
365
|
"pisell-wallet-pass-card-status-disabled": "已禁用",
|
|
366
366
|
"pisell-wallet-pass-card-status-conflict": "衝突",
|
|
367
367
|
"pisell-wallet-pass-card-reset": "清空",
|
|
368
|
-
"pisell-wallet-pass-card-done": "保存"
|
|
368
|
+
"pisell-wallet-pass-card-done": "保存",
|
|
369
|
+
// 列表組件
|
|
370
|
+
"pisell-list-tab-group-default": "字段",
|
|
371
|
+
"pisell-list-empty-text-default": "暫無數據",
|
|
372
|
+
"pisell-list-load-more": "查看更多",
|
|
373
|
+
"pisell-list-view-less": "查看更少",
|
|
374
|
+
"pisell-list-pagination-total": (start, end, total) => `顯示第 ${start}-${end} 條,共 ${total} 條`,
|
|
375
|
+
"pisell-list-scroll-down": "向下滾動",
|
|
376
|
+
"pisell-list-scroll-right": "向右滾動",
|
|
377
|
+
"pisell-list-pagination-page-of": (current, total) => `第 ${current} 頁 共 ${total} 頁`,
|
|
378
|
+
"pisell-list-pagination-previous": "上一頁",
|
|
379
|
+
"pisell-list-pagination-next": "下一頁"
|
|
369
380
|
};
|
package/lib/utils/platform.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const isMobile: () =>
|
|
1
|
+
export declare const isMobile: () => any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.919",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"swiper": "^8.4.7",
|
|
75
75
|
"vod-js-sdk-v6": "^1.4.11",
|
|
76
76
|
"antd-mobile": "^5.38.1",
|
|
77
|
-
"@pisell/utils": "1.0.54",
|
|
78
77
|
"@pisell/date-picker": "1.0.126",
|
|
78
|
+
"@pisell/utils": "1.0.54",
|
|
79
79
|
"@pisell/icon": "0.0.10"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|