@pisell/materials 6.2.35 → 6.2.37

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.
Files changed (153) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +4 -4
  6. package/build/lowcode/preview.js +148 -164
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +25 -39
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +25 -39
  11. package/es/components/batch-editor/index.d.ts +0 -1
  12. package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
  13. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  14. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
  15. package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
  16. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  17. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
  18. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  19. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
  20. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  21. package/es/components/dataSourceComponents/fields/index.d.ts +19 -20
  22. package/es/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  23. package/es/components/drag-sort-tree/index.d.ts +1 -0
  24. package/es/components/filter/index.d.ts +0 -1
  25. package/es/components/iconfont/index.js +1 -1
  26. package/es/components/list/index.d.ts +0 -1
  27. package/es/components/page/index.d.ts +0 -1
  28. package/es/components/pisellCardList/index.d.ts +21 -1
  29. package/es/components/pisellCardList/index.js +25 -1
  30. package/es/components/pisellCheckboxGroup/index.d.ts +1 -0
  31. package/es/components/pisellCheckboxGroup/index.js +2 -2
  32. package/es/components/pisellCheckboxGroup/index.less +13 -1
  33. package/es/components/pisellLoading/index.d.ts +0 -1
  34. package/es/components/pisellWalletPassCard/index.d.ts +44 -0
  35. package/es/components/pisellWalletPassCard/index.js +233 -66
  36. package/es/components/pisellWalletPassCard/index.less +37 -7
  37. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -1
  38. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
  39. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
  40. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
  41. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
  42. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
  43. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  44. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  45. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
  46. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -1
  47. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  48. package/es/components/productCard/cartSkuCard/index.d.ts +0 -1
  49. package/es/components/productCard/components/Action/index.d.ts +0 -1
  50. package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  51. package/es/components/productCard/components/Header/index.d.ts +0 -1
  52. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  53. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  54. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  55. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  56. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  57. package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  58. package/es/components/table/Actions/component/Group/index.d.ts +0 -1
  59. package/es/components/table/Actions/index.d.ts +0 -1
  60. package/es/components/table/BasicTable/index.d.ts +0 -1
  61. package/es/components/table/Table/AddFieldModal/index.d.ts +1 -0
  62. package/es/components/table/Table/AddFieldModal/index.js +13 -13
  63. package/es/components/table/Table/AddFieldModal/index.less +11 -11
  64. package/es/components/table/Table/SelectField/index.d.ts +0 -1
  65. package/es/components/table/Table/fields/index.d.ts +0 -1
  66. package/es/components/table/Table/fields/select/index.d.ts +0 -1
  67. package/es/components/table/Table/fields/text/Show/index.d.ts +0 -1
  68. package/es/components/table/Table/fields/text/index.d.ts +0 -1
  69. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
  70. package/es/components/table/Table/utils.d.ts +1 -1
  71. package/es/components/table/View/index.d.ts +0 -1
  72. package/es/components/versionSelect/index.d.ts +0 -1
  73. package/es/index.d.ts +1 -0
  74. package/es/locales/en-US.d.ts +3 -0
  75. package/es/locales/en-US.js +6 -2
  76. package/es/locales/zh-CN.d.ts +3 -0
  77. package/es/locales/zh-CN.js +6 -2
  78. package/es/locales/zh-TW.d.ts +3 -0
  79. package/es/locales/zh-TW.js +6 -2
  80. package/es/utils/platform.d.ts +1 -1
  81. package/lib/components/batch-editor/index.d.ts +0 -1
  82. package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
  83. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  84. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
  85. package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
  86. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  87. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
  88. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  89. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
  90. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  91. package/lib/components/dataSourceComponents/fields/index.d.ts +19 -20
  92. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  93. package/lib/components/drag-sort-tree/index.d.ts +1 -0
  94. package/lib/components/filter/index.d.ts +0 -1
  95. package/lib/components/iconfont/index.js +1 -1
  96. package/lib/components/list/index.d.ts +0 -1
  97. package/lib/components/page/index.d.ts +0 -1
  98. package/lib/components/pisellCardList/index.d.ts +21 -1
  99. package/lib/components/pisellCardList/index.js +25 -1
  100. package/lib/components/pisellCheckboxGroup/index.d.ts +1 -0
  101. package/lib/components/pisellCheckboxGroup/index.js +2 -1
  102. package/lib/components/pisellCheckboxGroup/index.less +13 -1
  103. package/lib/components/pisellLoading/index.d.ts +0 -1
  104. package/lib/components/pisellWalletPassCard/index.d.ts +44 -0
  105. package/lib/components/pisellWalletPassCard/index.js +187 -48
  106. package/lib/components/pisellWalletPassCard/index.less +37 -7
  107. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -1
  108. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
  109. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
  110. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
  111. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
  112. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
  113. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  114. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  115. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
  116. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -1
  117. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  118. package/lib/components/productCard/cartSkuCard/index.d.ts +0 -1
  119. package/lib/components/productCard/components/Action/index.d.ts +0 -1
  120. package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  121. package/lib/components/productCard/components/Header/index.d.ts +0 -1
  122. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  123. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  124. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  125. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  126. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  127. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  128. package/lib/components/table/Actions/component/Group/index.d.ts +0 -1
  129. package/lib/components/table/Actions/index.d.ts +0 -1
  130. package/lib/components/table/BasicTable/index.d.ts +0 -1
  131. package/lib/components/table/Table/AddFieldModal/index.d.ts +1 -0
  132. package/lib/components/table/Table/AddFieldModal/index.js +9 -9
  133. package/lib/components/table/Table/AddFieldModal/index.less +11 -11
  134. package/lib/components/table/Table/SelectField/index.d.ts +0 -1
  135. package/lib/components/table/Table/fields/index.d.ts +0 -1
  136. package/lib/components/table/Table/fields/select/index.d.ts +0 -1
  137. package/lib/components/table/Table/fields/text/Show/index.d.ts +0 -1
  138. package/lib/components/table/Table/fields/text/index.d.ts +0 -1
  139. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
  140. package/lib/components/table/Table/utils.d.ts +1 -1
  141. package/lib/components/table/View/index.d.ts +0 -1
  142. package/lib/components/versionSelect/index.d.ts +0 -1
  143. package/lib/index.d.ts +1 -0
  144. package/lib/locales/en-US.d.ts +3 -0
  145. package/lib/locales/en-US.js +6 -2
  146. package/lib/locales/zh-CN.d.ts +3 -0
  147. package/lib/locales/zh-CN.js +6 -2
  148. package/lib/locales/zh-TW.d.ts +3 -0
  149. package/lib/locales/zh-TW.js +6 -2
  150. package/lib/utils/platform.d.ts +1 -1
  151. package/lowcode/pisell-card-list/meta.ts +50 -1
  152. package/lowcode/pisell-wallet-pass-card/actionsMeta.ts +7 -0
  153. package/package.json +11 -10
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Footer: ({ item, hideDivider, type, isOnlyTotal }: any) => JSX.Element;
4
3
  export default Footer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
4
3
  export default MultiDay;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Note: (props: any) => JSX.Element | null;
4
3
  export default Note;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DiscountReason: (props: any) => JSX.Element;
3
2
  export default DiscountReason;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Holders: (props: any) => JSX.Element | null;
4
3
  export default Holders;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface IProps {
4
3
  isShowImage?: boolean;
@@ -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) => any;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => string | number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resources: (props: any) => JSX.Element | null;
4
3
  export default Resources;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface IProps {
4
3
  hideDivider?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Specs: (props: any) => JSX.Element | null;
4
3
  export default Specs;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import 'dayjs/locale/zh-cn';
3
2
  import 'dayjs/locale/en';
4
3
  import 'dayjs/locale/zh-tw';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ProductCardTypes } from '../types';
4
3
  interface ISKUCardProps extends ProductCardTypes {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Action: ({ item, onAction }: any) => JSX.Element;
4
3
  export default Action;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const EditButton: ({ onEdit }: any) => JSX.Element;
4
3
  export default EditButton;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Header: (props: any) => JSX.Element;
4
3
  export default Header;
@@ -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) => any;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => string | number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface SelectHolderModalProps {
4
3
  visible: boolean;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectHolderMultiple: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
3
2
  export default SelectHolderMultiple;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface ResourceItem {
3
4
  id: string | number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare type ImportTableProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GallerySettingType, ModeType } from "../../../types";
3
2
  import "./index.less";
4
3
  declare type GallerySettingProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataSourceGroupType } from "../../../types";
3
2
  declare type GroupProps = {
4
3
  setting: DataSourceGroupType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FilterType } from "../../filter/types";
3
2
  import { ColumnSettingType, DataSourceGroupType, ExportImportType, GallerySettingType, GridViewType, SortType } from "../types";
4
3
  import "./index.less";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TableProps } from 'antd';
3
2
  declare const BasicTable: (props: TableProps<any>) => JSX.Element;
4
3
  export default BasicTable;
@@ -1,3 +1,4 @@
1
1
  import React from "react";
2
+ import "./index.less";
2
3
  declare const AddFieldModal: React.FC;
3
4
  export default AddFieldModal;
@@ -36,7 +36,7 @@ var import_iconfont = __toESM(require("../../../iconfont"));
36
36
  var import_antd = require("antd");
37
37
  var import_react = __toESM(require("react"));
38
38
  var import_SelectField = __toESM(require("../SelectField"));
39
- var import_index = __toESM(require("./index.less"));
39
+ var import_index = require("./index.less");
40
40
  var import_hooks = require("../../../../hooks");
41
41
  var import_model = require("../../model");
42
42
  var AddFieldModal = () => {
@@ -85,7 +85,7 @@ var AddFieldModal = () => {
85
85
  },
86
86
  onFinish: addField
87
87
  },
88
- /* @__PURE__ */ import_react.default.createElement("div", { className: import_index.default["add-field-modal"] }, /* @__PURE__ */ import_react.default.createElement(
88
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode-add-field-modal" }, /* @__PURE__ */ import_react.default.createElement(
89
89
  import_antd.Form.Item,
90
90
  {
91
91
  label: "Field Name",
@@ -101,13 +101,13 @@ var AddFieldModal = () => {
101
101
  import_antd.Input,
102
102
  {
103
103
  placeholder: "Field name (optional)",
104
- className: import_index.default["header-search"]
104
+ className: "pisell-lowcode-header-search"
105
105
  }
106
106
  )
107
- ), /* @__PURE__ */ import_react.default.createElement(import_SelectField.default, null), /* @__PURE__ */ import_react.default.createElement("div", { className: import_index.default["modal-footer"] }, /* @__PURE__ */ import_react.default.createElement("div", { className: import_index.default["add-describe"] }, /* @__PURE__ */ import_react.default.createElement(import_iconfont.default, { type: "pi-Plus", className: import_index.default["icon"] }), /* @__PURE__ */ import_react.default.createElement("span", { className: import_index.default["label"] }, "Add description")), /* @__PURE__ */ import_react.default.createElement("div", { className: import_index.default["btns"] }, /* @__PURE__ */ import_react.default.createElement(
107
+ ), /* @__PURE__ */ import_react.default.createElement(import_SelectField.default, null), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode-modal-footer" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode-add-describe" }, /* @__PURE__ */ import_react.default.createElement(import_iconfont.default, { type: "pi-Plus", className: "pisell-lowcode-icon" }), /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-lowcode-label" }, "Add description")), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode-btns" }, /* @__PURE__ */ import_react.default.createElement(
108
108
  "div",
109
109
  {
110
- className: import_index.default["cancel"],
110
+ className: "pisell-lowcode-cancel",
111
111
  onClick: () => {
112
112
  onCloseModal();
113
113
  }
@@ -116,7 +116,7 @@ var AddFieldModal = () => {
116
116
  ), /* @__PURE__ */ import_react.default.createElement(
117
117
  "div",
118
118
  {
119
- className: import_index.default["submit"],
119
+ className: "pisell-lowcode-submit",
120
120
  onClick: () => {
121
121
  form.submit();
122
122
  }
@@ -136,7 +136,7 @@ var AddFieldModal = () => {
136
136
  placement: "bottomRight",
137
137
  overlayInnerStyle: { padding: 0 },
138
138
  trigger: "click",
139
- overlayClassName: import_index.default["popover-wrap"],
139
+ overlayClassName: "pisell-lowcode-popover-wrap",
140
140
  onOpenChange: (e) => {
141
141
  if (!e) {
142
142
  onCloseModal();
@@ -146,11 +146,11 @@ var AddFieldModal = () => {
146
146
  },
147
147
  open: openModal
148
148
  },
149
- /* @__PURE__ */ import_react.default.createElement("div", { className: import_index.default["add-field-btn"] }, /* @__PURE__ */ import_react.default.createElement(
149
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode-add-field-btn" }, /* @__PURE__ */ import_react.default.createElement(
150
150
  import_iconfont.default,
151
151
  {
152
152
  type: "pi-a-Property3Add",
153
- className: import_index.default["add-field-icon"]
153
+ className: "pisell-lowcode-add-field-icon"
154
154
  }
155
155
  ))
156
156
  );
@@ -1,4 +1,4 @@
1
- .add-field-btn {
1
+ .pisell-lowcode-add-field-btn {
2
2
  position: absolute;
3
3
  right: 0;
4
4
  top: 0;
@@ -11,10 +11,10 @@
11
11
  box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);
12
12
  cursor: pointer;
13
13
 
14
- .add-field-icon {}
14
+ .pisell-lowcode-add-field-icon {}
15
15
  }
16
16
 
17
- .popover-wrap {
17
+ .pisell-lowcode-popover-wrap {
18
18
  :global {
19
19
  .pisell-lowcode-popover-arrow {
20
20
  display: none;
@@ -22,11 +22,11 @@
22
22
  }
23
23
  }
24
24
 
25
- .add-field-modal {
25
+ .pisell-lowcode-add-field-modal {
26
26
  width: 360px;
27
27
  padding: 16px 16px 0 16px;
28
28
 
29
- .modal-footer {
29
+ .pisell-lowcode-modal-footer {
30
30
  display: flex;
31
31
  align-items: center;
32
32
  justify-content: space-between;
@@ -35,13 +35,13 @@
35
35
  padding: 0 16px;
36
36
  border-top: 1px solid #F1F1F1;
37
37
 
38
- .add-describe {
38
+ .pisell-lowcode-add-describe {
39
39
  cursor: pointer;
40
40
  display: flex;
41
41
  align-items: center;
42
42
  justify-content: center;
43
43
 
44
- .icon {
44
+ .pisell-lowcode-icon {
45
45
  width: 24px;
46
46
  height: 24px;
47
47
  display: flex;
@@ -51,27 +51,27 @@
51
51
  color: #1B1B1B;
52
52
  }
53
53
 
54
- .label {
54
+ .pisell-lowcode-label {
55
55
  margin-left: 2px;
56
56
  font-size: 14px;
57
57
  color: #777777;
58
58
  }
59
59
  }
60
60
 
61
- .btns {
61
+ .pisell-lowcode-btns {
62
62
  display: flex;
63
63
  align-items: center;
64
64
  justify-content: center;
65
65
  gap: 16px;
66
66
 
67
- .cancel {
67
+ .pisell-lowcode-cancel {
68
68
  cursor: pointer;
69
69
  font-weight: 400;
70
70
  font-size: 14px;
71
71
  color: #1B1B1B;
72
72
  }
73
73
 
74
- .submit {
74
+ .pisell-lowcode-submit {
75
75
  cursor: pointer;
76
76
  font-weight: 400;
77
77
  font-size: 14px;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectField: () => JSX.Element;
3
2
  export default SelectField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const fieldMaps: {
3
2
  text: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  import "./index.less";
4
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const SortRow: ({ children, rowKey, onSortChange }: any) => JSX.Element;
4
3
  export default SortRow;
@@ -155,7 +155,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
155
155
  sort?: SortType | undefined;
156
156
  mode: "" | "localStorage" | "remote";
157
157
  currentViewMode: ModeType;
158
- }) => ("filter_setting" | "group_by" | "order_by" | "column_setting" | "view_mode" | "gallery_setting")[];
158
+ }) => ("group_by" | "column_setting" | "order_by" | "view_mode" | "filter_setting" | "gallery_setting")[];
159
159
  export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
160
160
  export declare const stringify: (obj: Record<string, any>) => string;
161
161
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GridViewProps } from '../types';
3
2
  declare const View: (props: GridViewProps & {
4
3
  setTableSetting: (values: Record<string, any>) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  import './index.less';
4
3
  export interface Version {
package/lib/index.d.ts CHANGED
@@ -96,6 +96,7 @@ export { default as PisellTooltip } from './components/pisellTooltip';
96
96
  export { default as PisellUpload } from './components/pisellUpload';
97
97
  export { default as PisellViewGrid } from './components/pisellViewGrid';
98
98
  export { default as PisellWalletPassCard } from './components/pisellWalletPassCard';
99
+ export type { PisellWalletPassCardProps } from './components/pisellWalletPassCard';
99
100
  export { default as ProfileMenu } from './components/profileMenu';
100
101
  export { default as QRCode } from './components/qrcode';
101
102
  export { default as Radio } from './components/radio';
@@ -274,5 +274,8 @@ declare const _default: {
274
274
  'pisell2.text.goodpass.last-settlement': string;
275
275
  'pisell2.text.goodpass.view-more': string;
276
276
  'pisell2.text.goodpass.save': string;
277
+ 'pisell-wallet-pass-card-status-used': string;
278
+ 'pisell-wallet-pass-card-status-expired': string;
279
+ 'pisell-wallet-pass-card-status-disabled': string;
277
280
  };
278
281
  export default _default;
@@ -153,7 +153,7 @@ var en_US_default = {
153
153
  "pisell-wallet-pass-card-name": "Name",
154
154
  "pisell-wallet-pass-card-store-name": "StoreName",
155
155
  "pisell-wallet-pass-card-balance": "Balance",
156
- "pisell-wallet-pass-card-redeem": "Redeem",
156
+ "pisell-wallet-pass-card-redeem": "use",
157
157
  "pisell-wallet-pass-card-code": "Code",
158
158
  "pisell-wallet-pass-card-valid-to": "Valid to",
159
159
  "pisell-wallet-pass-card-confirm": "Confirm",
@@ -326,5 +326,9 @@ var en_US_default = {
326
326
  "pisell2.text.goodpass.product-vouchers": "Promotions & Vouchers",
327
327
  "pisell2.text.goodpass.last-settlement": "(Last payment)",
328
328
  "pisell2.text.goodpass.view-more": "View More",
329
- "pisell2.text.goodpass.save": "Save"
329
+ "pisell2.text.goodpass.save": "Save",
330
+ // 钱包卡片组件
331
+ "pisell-wallet-pass-card-status-used": "Used",
332
+ "pisell-wallet-pass-card-status-expired": "Expired",
333
+ "pisell-wallet-pass-card-status-disabled": "Disabled"
330
334
  };
@@ -269,5 +269,8 @@ declare const _default: {
269
269
  'pisell2.text.goodpass.last-settlement': string;
270
270
  'pisell2.text.goodpass.view-more': string;
271
271
  'pisell2.text.goodpass.save': string;
272
+ 'pisell-wallet-pass-card-status-used': string;
273
+ 'pisell-wallet-pass-card-status-expired': string;
274
+ 'pisell-wallet-pass-card-status-disabled': string;
272
275
  };
273
276
  export default _default;
@@ -153,7 +153,7 @@ var zh_CN_default = {
153
153
  "pisell-wallet-pass-card-name": "商品名称",
154
154
  "pisell-wallet-pass-card-store-name": "共享店铺名称",
155
155
  "pisell-wallet-pass-card-balance": "余额",
156
- "pisell-wallet-pass-card-redeem": "兑换",
156
+ "pisell-wallet-pass-card-redeem": "使用",
157
157
  "pisell-wallet-pass-card-code": "识别码编号",
158
158
  "pisell-wallet-pass-card-valid-to": "有效期至",
159
159
  "pisell-wallet-pass-card-confirm": "确认",
@@ -317,5 +317,9 @@ var zh_CN_default = {
317
317
  "pisell2.text.goodpass.product-vouchers": "优惠促销",
318
318
  "pisell2.text.goodpass.last-settlement": "(上次结算)",
319
319
  "pisell2.text.goodpass.view-more": "查看更多",
320
- "pisell2.text.goodpass.save": "节省"
320
+ "pisell2.text.goodpass.save": "节省",
321
+ // 钱包卡片组件
322
+ "pisell-wallet-pass-card-status-used": "已使用",
323
+ "pisell-wallet-pass-card-status-expired": "已过期",
324
+ "pisell-wallet-pass-card-status-disabled": "已禁用"
321
325
  };
@@ -269,5 +269,8 @@ declare const _default: {
269
269
  'pisell2.text.goodpass.last-settlement': string;
270
270
  'pisell2.text.goodpass.view-more': string;
271
271
  'pisell2.text.goodpass.save': string;
272
+ 'pisell-wallet-pass-card-status-used': string;
273
+ 'pisell-wallet-pass-card-status-expired': string;
274
+ 'pisell-wallet-pass-card-status-disabled': string;
272
275
  };
273
276
  export default _default;
@@ -153,7 +153,7 @@ var zh_TW_default = {
153
153
  "pisell-wallet-pass-card-name": "商品名稱",
154
154
  "pisell-wallet-pass-card-store-name": "共享店鋪名稱",
155
155
  "pisell-wallet-pass-card-balance": "餘額",
156
- "pisell-wallet-pass-card-redeem": "兌換",
156
+ "pisell-wallet-pass-card-redeem": "使用",
157
157
  "pisell-wallet-pass-card-code": "識別碼編號",
158
158
  "pisell-wallet-pass-card-valid-to": "有效期至",
159
159
  "pisell-wallet-pass-card-confirm": "確認",
@@ -318,5 +318,9 @@ var zh_TW_default = {
318
318
  "pisell2.text.goodpass.product-vouchers": "優惠促銷",
319
319
  "pisell2.text.goodpass.last-settlement": "(上次結算)",
320
320
  "pisell2.text.goodpass.view-more": "查看更多",
321
- "pisell2.text.goodpass.save": "節省"
321
+ "pisell2.text.goodpass.save": "節省",
322
+ // 钱包卡片组件
323
+ "pisell-wallet-pass-card-status-used": "已使用",
324
+ "pisell-wallet-pass-card-status-expired": "已過期",
325
+ "pisell-wallet-pass-card-status-disabled": "已禁用"
322
326
  };
@@ -1 +1 @@
1
- export declare const isMobile: () => any;
1
+ export declare const isMobile: () => boolean;
@@ -167,6 +167,50 @@ export default {
167
167
  setter: 'BoolSetter',
168
168
  defaultValue: true,
169
169
  },
170
+ {
171
+ type: 'group',
172
+ title: '商品名称样式',
173
+ display: 'entry',
174
+ condition: (target: IPublicModelSettingField) => {
175
+ return target.parent.getPropValue('showName') === true;
176
+ },
177
+ items: [
178
+ {
179
+ name: 'nameTitleStyle.fontSize',
180
+ title: {
181
+ type: 'i18n',
182
+ 'en-US': 'Font Size',
183
+ 'zh-CN': '字号',
184
+ },
185
+ setter: 'NumberSetter'
186
+ },
187
+ {
188
+ name: 'nameTitleStyle.fontWeight',
189
+ title: {
190
+ type: 'i18n',
191
+ 'en-US': 'Font Weight',
192
+ 'zh-CN': '字重',
193
+ },
194
+ setter: 'NumberSetter'
195
+ },
196
+ {
197
+ name: 'nameTitleStyle.color',
198
+ title: {
199
+ type: 'i18n',
200
+ 'en-US': 'Color',
201
+ 'zh-CN': '颜色',
202
+ },
203
+ setter: 'ColorSetter'
204
+ },
205
+ ]
206
+ },
207
+ {
208
+ name: 'showStatus',
209
+ title: { label: '显示状态标识', tip: '显示状态标识' },
210
+ propType: 'bool',
211
+ setter: 'BoolSetter',
212
+ defaultValue: true,
213
+ },
170
214
  {
171
215
  name: 'showStoreName',
172
216
  title: { label: '显示共享店铺名称', tip: '显示共享店铺名称' },
@@ -258,9 +302,14 @@ export default {
258
302
  },
259
303
  {
260
304
  name: 'onConfirmEdit',
261
- templete:
305
+ template:
262
306
  "onConfirmEdit(value, index){\n// 编辑弹窗点击确认\nconsole.log('onConfirmEdit');}",
263
307
  },
308
+ {
309
+ name: 'onConfirmEditAmount',
310
+ template:
311
+ "onConfirmEditAmount(value, index){\n// 编辑金额点击确认\nconsole.log('onConfirmEditAmount');}",
312
+ },
264
313
  ],
265
314
  },
266
315
  },
@@ -213,5 +213,12 @@ export const actionsMeta = {
213
213
  },
214
214
  ],
215
215
  },
216
+ {
217
+ name: 'enableEditAmount',
218
+ title: { label: '开启编辑金额' },
219
+ propType: 'bool',
220
+ setter: 'BoolSetter',
221
+ defaultValue: false,
222
+ }
216
223
  ],
217
224
  }
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "6.2.35",
3
+ "version": "6.2.37",
4
+ "scripts": {
5
+ "dev": "father dev",
6
+ "build": "father build",
7
+ "lowcode:dev": "build-scripts start --config ./build.lowcode.js",
8
+ "lowcode:build": " build-scripts build --config ./build.lowcode.js"
9
+ },
4
10
  "main": "./lib/index.js",
5
11
  "module": "./es/index.js",
6
12
  "types": "./lib/index.d.ts",
@@ -55,6 +61,9 @@
55
61
  "@dnd-kit/modifiers": "^6.0.1",
56
62
  "@dnd-kit/sortable": "^7.0.2",
57
63
  "@dnd-kit/utilities": "^3.2.1",
64
+ "@pisell/date-picker": "workspace:*",
65
+ "@pisell/icon": "workspace:*",
66
+ "@pisell/utils": "workspace:*",
58
67
  "@react-spring/web": "^9.6.1",
59
68
  "@use-gesture/react": "^10.3.1",
60
69
  "@zxing/library": "0.21.2",
@@ -73,9 +82,7 @@
73
82
  "styled-components": "^6.0.0-rc.3",
74
83
  "swiper": "^8.4.7",
75
84
  "vod-js-sdk-v6": "^1.4.11",
76
- "@pisell/date-picker": "3.0.4",
77
- "@pisell/utils": "3.0.0",
78
- "@pisell/icon": "0.0.11"
85
+ "antd-mobile": "^5.38.1"
79
86
  },
80
87
  "peerDependencies": {
81
88
  "react": "^18.0.0",
@@ -83,11 +90,5 @@
83
90
  },
84
91
  "componentConfig": {
85
92
  "materialSchema": "https://unpkg.com/@pisell/materials@1.0.1/build/lowcode/assets-prod.json"
86
- },
87
- "scripts": {
88
- "dev": "father dev",
89
- "build": "father build",
90
- "lowcode:dev": "build-scripts start --config ./build.lowcode.js",
91
- "lowcode:build": " build-scripts build --config ./build.lowcode.js"
92
93
  }
93
94
  }