@pisell/materials 2.2.83 → 2.2.85

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 (45) 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 +160 -144
  7. package/build/lowcode/render/default/view.js +35 -25
  8. package/build/lowcode/view.js +40 -30
  9. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  10. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  11. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  12. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
  13. package/es/components/dataSourceComponents/fields/index.d.ts +3 -2
  14. package/es/components/filter/index.d.ts +1 -0
  15. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  16. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  17. package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  18. package/es/components/table/Actions/component/Group/index.d.ts +1 -0
  19. package/es/components/table/Actions/index.d.ts +1 -0
  20. package/es/components/table/Table/SelectField/index.d.ts +1 -0
  21. package/es/components/table/Table/fields/index.d.ts +1 -0
  22. package/es/components/table/Table/fields/text/Show/index.d.ts +1 -0
  23. package/es/components/table/Table/fields/text/index.d.ts +1 -0
  24. package/es/index.d.ts +1 -0
  25. package/es/index.js +1 -0
  26. package/es/utils/platform.d.ts +1 -1
  27. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  28. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  29. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  30. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
  31. package/lib/components/dataSourceComponents/fields/index.d.ts +3 -2
  32. package/lib/components/filter/index.d.ts +1 -0
  33. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  34. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  35. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  36. package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
  37. package/lib/components/table/Actions/index.d.ts +1 -0
  38. package/lib/components/table/Table/SelectField/index.d.ts +1 -0
  39. package/lib/components/table/Table/fields/index.d.ts +1 -0
  40. package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -0
  41. package/lib/components/table/Table/fields/text/index.d.ts +1 -0
  42. package/lib/index.d.ts +1 -0
  43. package/lib/index.js +3 -0
  44. package/lib/utils/platform.d.ts +1 -1
  45. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface BaseFilterItem {
3
4
  name?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSourceContextProps } from '../provider/dataSource/DataSourceContext';
2
3
  declare const DataSourceWrapper: (props: DataSourceContextProps) => JSX.Element;
3
4
  export default DataSourceWrapper;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  declare const Subdomain: React.FC<import("antd").InputProps & {
3
3
  onChange: (value: string) => void;
4
4
  onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
5
- rootDomain: "custom" | "xzero" | "saas";
5
+ rootDomain: "custom" | "saas" | "xzero";
6
6
  customDomain?: string | undefined;
7
7
  value?: string | undefined;
8
8
  tenantId: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
2
3
  options?: any;
3
4
  optionSourceType?: "default" | "custom" | "api" | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const formFieldMap: {
2
3
  FormItemCheckbox: import("react").FC<{}> & {
3
4
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -19,7 +20,7 @@ declare const formFieldMap: {
19
20
  Subdomain: import("react").FC<import("antd").InputProps & {
20
21
  onChange: (value: string) => void;
21
22
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
22
- rootDomain: "custom" | "xzero" | "saas";
23
+ rootDomain: "custom" | "saas" | "xzero";
23
24
  customDomain?: string | undefined;
24
25
  value?: string | undefined;
25
26
  tenantId: string;
@@ -76,7 +77,7 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
76
77
  Subdomain: import("react").FC<import("antd").InputProps & {
77
78
  onChange: (value: string) => void;
78
79
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
79
- rootDomain: "custom" | "xzero" | "saas";
80
+ rootDomain: "custom" | "saas" | "xzero";
80
81
  customDomain?: string | undefined;
81
82
  value?: string | undefined;
82
83
  tenantId: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterProps } from "./types";
2
3
  declare const Filter: (props: FilterProps) => JSX.Element | null;
3
4
  export default Filter;
@@ -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) => string | 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) => string | number;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { GallerySettingType, ModeType } from "../../../types";
2
3
  import "./index.less";
3
4
  declare type GallerySettingProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSourceGroupType } from "../../../types";
2
3
  declare type GroupProps = {
3
4
  setting: DataSourceGroupType;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterType } from "../../filter/types";
2
3
  import { ColumnSettingType, DataSourceGroupType, ExportImportType, GallerySettingType, GridViewType, SortType } from "../types";
3
4
  import "./index.less";
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectField: () => JSX.Element;
2
3
  export default SelectField;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const fieldMaps: {
2
3
  text: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  import "./index.less";
3
4
  declare const Show: (props: FieldPropsType) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
package/es/index.d.ts CHANGED
@@ -116,6 +116,7 @@ export { default as Typography } from './components/typography';
116
116
  export { default as Upload } from './components/upload';
117
117
  export { default as VirtualKeyboard } from './components/virtual-keyboard';
118
118
  export { default as VirtualKeyboardTime } from './components/virtual-keyboard/Time';
119
+ export { default as PisellPriceKeyboard } from './components/virtual-keyboard/Amount';
119
120
  export { default as WalletCard } from './components/walletCard';
120
121
  export { default as PublishVersionModal } from './components/versionModal';
121
122
  export { default as IconSelect } from './components/iconSelect';
package/es/index.js CHANGED
@@ -117,6 +117,7 @@ export { default as Typography } from "./components/typography";
117
117
  export { default as Upload } from "./components/upload";
118
118
  export { default as VirtualKeyboard } from "./components/virtual-keyboard";
119
119
  export { default as VirtualKeyboardTime } from "./components/virtual-keyboard/Time";
120
+ export { default as PisellPriceKeyboard } from "./components/virtual-keyboard/Amount";
120
121
  export { default as WalletCard } from "./components/walletCard";
121
122
  export { default as PublishVersionModal } from "./components/versionModal";
122
123
  export { default as IconSelect } from "./components/iconSelect";
@@ -1 +1 @@
1
- export declare const isMobile: () => boolean;
1
+ export declare const isMobile: () => any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface BaseFilterItem {
3
4
  name?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSourceContextProps } from '../provider/dataSource/DataSourceContext';
2
3
  declare const DataSourceWrapper: (props: DataSourceContextProps) => JSX.Element;
3
4
  export default DataSourceWrapper;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  declare const Subdomain: React.FC<import("antd").InputProps & {
3
3
  onChange: (value: string) => void;
4
4
  onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
5
- rootDomain: "custom" | "xzero" | "saas";
5
+ rootDomain: "custom" | "saas" | "xzero";
6
6
  customDomain?: string | undefined;
7
7
  value?: string | undefined;
8
8
  tenantId: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
2
3
  options?: any;
3
4
  optionSourceType?: "default" | "custom" | "api" | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const formFieldMap: {
2
3
  FormItemCheckbox: import("react").FC<{}> & {
3
4
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -19,7 +20,7 @@ declare const formFieldMap: {
19
20
  Subdomain: import("react").FC<import("antd").InputProps & {
20
21
  onChange: (value: string) => void;
21
22
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
22
- rootDomain: "custom" | "xzero" | "saas";
23
+ rootDomain: "custom" | "saas" | "xzero";
23
24
  customDomain?: string | undefined;
24
25
  value?: string | undefined;
25
26
  tenantId: string;
@@ -76,7 +77,7 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
76
77
  Subdomain: import("react").FC<import("antd").InputProps & {
77
78
  onChange: (value: string) => void;
78
79
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
79
- rootDomain: "custom" | "xzero" | "saas";
80
+ rootDomain: "custom" | "saas" | "xzero";
80
81
  customDomain?: string | undefined;
81
82
  value?: string | undefined;
82
83
  tenantId: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterProps } from "./types";
2
3
  declare const Filter: (props: FilterProps) => JSX.Element | null;
3
4
  export default Filter;
@@ -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) => string | 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) => string | number;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { GallerySettingType, ModeType } from "../../../types";
2
3
  import "./index.less";
3
4
  declare type GallerySettingProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSourceGroupType } from "../../../types";
2
3
  declare type GroupProps = {
3
4
  setting: DataSourceGroupType;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterType } from "../../filter/types";
2
3
  import { ColumnSettingType, DataSourceGroupType, ExportImportType, GallerySettingType, GridViewType, SortType } from "../types";
3
4
  import "./index.less";
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectField: () => JSX.Element;
2
3
  export default SelectField;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const fieldMaps: {
2
3
  text: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  import "./index.less";
3
4
  declare const Show: (props: FieldPropsType) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
package/lib/index.d.ts CHANGED
@@ -116,6 +116,7 @@ export { default as Typography } from './components/typography';
116
116
  export { default as Upload } from './components/upload';
117
117
  export { default as VirtualKeyboard } from './components/virtual-keyboard';
118
118
  export { default as VirtualKeyboardTime } from './components/virtual-keyboard/Time';
119
+ export { default as PisellPriceKeyboard } from './components/virtual-keyboard/Amount';
119
120
  export { default as WalletCard } from './components/walletCard';
120
121
  export { default as PublishVersionModal } from './components/versionModal';
121
122
  export { default as IconSelect } from './components/iconSelect';
package/lib/index.js CHANGED
@@ -139,6 +139,7 @@ __export(src_exports, {
139
139
  PisellMenu: () => import_pisellMenu.default,
140
140
  PisellModal: () => import_pisellModal.default,
141
141
  PisellNavigationMenu: () => import_pisellNavigationMenu.default,
142
+ PisellPriceKeyboard: () => import_Amount.default,
142
143
  PisellQRScanner: () => import_pisellQRScanner.default,
143
144
  PisellQrcode: () => import_pisellQrcode.default,
144
145
  PisellRow: () => import_pisellRow.default,
@@ -319,6 +320,7 @@ var import_typography = __toESM(require("./components/typography"));
319
320
  var import_upload = __toESM(require("./components/upload"));
320
321
  var import_virtual_keyboard = __toESM(require("./components/virtual-keyboard"));
321
322
  var import_Time = __toESM(require("./components/virtual-keyboard/Time"));
323
+ var import_Amount = __toESM(require("./components/virtual-keyboard/Amount"));
322
324
  var import_walletCard = __toESM(require("./components/walletCard"));
323
325
  var import_versionModal = __toESM(require("./components/versionModal"));
324
326
  var import_iconSelect = __toESM(require("./components/iconSelect"));
@@ -451,6 +453,7 @@ var import_pisellGoodPassCard = __toESM(require("./components/pisellGoodPassCard
451
453
  PisellMenu,
452
454
  PisellModal,
453
455
  PisellNavigationMenu,
456
+ PisellPriceKeyboard,
454
457
  PisellQRScanner,
455
458
  PisellQrcode,
456
459
  PisellRow,
@@ -1 +1 @@
1
- export declare const isMobile: () => boolean;
1
+ export declare const isMobile: () => any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "2.2.83",
3
+ "version": "2.2.85",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",