@pisell/common 0.0.19 → 0.0.20

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.
@@ -3,6 +3,11 @@ var outPathMap = {
3
3
  prod: '../data/release/project/mypisel_shop',
4
4
  release: '../data/release/project/my_pisel_shop',
5
5
  pre: '../data/release/project/my_pisel_shop'
6
+ },
7
+ admin: {
8
+ prod: '../data/release/project/pisell_v2',
9
+ release: '../data/release/project/pisell_v2',
10
+ pre: '../data/release/project/pisell_v2'
6
11
  }
7
12
  };
8
13
  export { outPathMap };
@@ -27,6 +27,11 @@ var outPathMap = {
27
27
  prod: "../data/release/project/mypisel_shop",
28
28
  release: "../data/release/project/my_pisel_shop",
29
29
  pre: "../data/release/project/my_pisel_shop"
30
+ },
31
+ admin: {
32
+ prod: "../data/release/project/pisell_v2",
33
+ release: "../data/release/project/pisell_v2",
34
+ pre: "../data/release/project/pisell_v2"
30
35
  }
31
36
  };
32
37
  // Annotate the CommonJS export names for ESM import in node:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/common",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "description": "A collection of reusable UI components for web development",
5
5
  "license": "MIT",
6
6
  "sideEffects": [
@@ -1,2 +0,0 @@
1
- declare const DragDrop: ({ onChange, children, list, droppableId, draggableIdKey, droppableClassName, draggableClassName, footer, direction, isDragDisabled, }: any) => import("react/jsx-runtime").JSX.Element;
2
- export default DragDrop;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- declare type EditorPreivewProps = React.HTMLAttributes<any>;
4
- declare const EditorPreivew: React.FC<EditorPreivewProps>;
5
- export default EditorPreivew;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const _default: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
3
- export default _default;
@@ -1,17 +0,0 @@
1
- import type { ButtonProps as AntButtonProps } from 'antd5';
2
- import type { ButtonGroupProps as AntButtonGroupProps } from 'antd5/es/button';
3
- /**
4
- * 后续可添加属性
5
- */
6
- export declare type ButtonProps = AntButtonProps;
7
- export declare type ButtonGroupProps = AntButtonGroupProps;
8
- /**
9
- * 按钮组件
10
- * @param props
11
- * @constructor
12
- */
13
- declare const Button: {
14
- (props: ButtonProps): import("react/jsx-runtime").JSX.Element;
15
- Group: (props: ButtonGroupProps) => import("react/jsx-runtime").JSX.Element;
16
- };
17
- export default Button;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- export declare type CardProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
4
- declare const Card: React.FC<Partial<CardProps>>;
5
- export default Card;
@@ -1,20 +0,0 @@
1
- import type { CheckboxGroupProps as AntCheckboxGroupProps } from 'antd/es/checkbox';
2
- import type { CheckboxProps as AntCheckboxProps } from 'antd5';
3
- /**
4
- * 后续可添加属性
5
- */
6
- /**
7
- * 后续可添加属性
8
- */
9
- export declare type CheckboxProps = AntCheckboxProps;
10
- export declare type CheckboxGroupProps = AntCheckboxGroupProps;
11
- /**
12
- * 多选框
13
- * @param props
14
- * @constructor
15
- */
16
- declare const Checkbox: {
17
- (props: CheckboxProps): import("react/jsx-runtime").JSX.Element;
18
- Group: (props: AntCheckboxGroupProps) => import("react/jsx-runtime").JSX.Element;
19
- };
20
- export default Checkbox;
@@ -1,9 +0,0 @@
1
- import { DatePickerProps as AntDatePickerProps } from 'antd5';
2
- export declare type DatePickerProps = AntDatePickerProps;
3
- /**
4
- * 日期选择框
5
- * @param props
6
- * @constructor
7
- */
8
- declare const DatePicker: (props: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
9
- export default DatePicker;
@@ -1,30 +0,0 @@
1
- export { default as Agreement } from './agreement';
2
- export type { AgreementProps } from './agreement';
3
- export { default as Avatar } from './avatar';
4
- export type { AvatarProps } from './avatar';
5
- export { default as Button } from './button';
6
- export type { ButtonGroupProps, ButtonProps } from './button';
7
- export { default as Card } from './card';
8
- export type { CardProps } from './card';
9
- export { default as Checkbox } from './checkbox';
10
- export type { CheckboxGroupProps, CheckboxProps } from './checkbox';
11
- export { default as ColorPicker } from './ColorPicker';
12
- export type { ColorPickerProps } from './ColorPicker';
13
- export * from './configProvider';
14
- export { default as DatePicker } from './datePicker';
15
- export type { DatePickerProps } from './datePicker';
16
- export { default as DragSort } from './DragSort';
17
- export { default as IconFont } from './Iconfont';
18
- export type { IconFontProps } from './Iconfont';
19
- export { default as Input } from './input';
20
- export type { GroupProps, InputProps, PasswordProps, SearchProps, TextAreaProps, } from './input';
21
- export { default as InputNumber } from './inputNumber';
22
- export type { InputNumberProps } from './inputNumber';
23
- export { default as Pagination } from './pagination';
24
- export type { PaginationProps } from './pagination';
25
- export { default as Radio } from './radio';
26
- export type { RadioGroupProps, RadioProps } from './radio';
27
- export { default as Select } from './select';
28
- export type { SelectOptionProps, SelectProps } from './select';
29
- export { default as Switch } from './switch';
30
- export type { SwitchProps } from './switch';
@@ -1,35 +0,0 @@
1
- import type { InputProps as AntInputProps } from 'antd5';
2
- import { GroupProps as AntGroupProps, PasswordProps as AntPasswordProps, SearchProps as AntSearchProps, TextAreaProps as AntTextAreaProps } from 'antd5/es/input';
3
- /**
4
- * 后续可添加属性
5
- */
6
- /**
7
- * 后续可添加属性
8
- */
9
- /**
10
- * 后续可添加属性
11
- */
12
- /**
13
- * 后续可添加属性
14
- */
15
- /**
16
- * 后续可添加属性
17
- */
18
- export declare type InputProps = AntInputProps;
19
- export declare type TextAreaProps = AntTextAreaProps;
20
- export declare type SearchProps = AntSearchProps;
21
- export declare type PasswordProps = AntPasswordProps;
22
- export declare type GroupProps = AntGroupProps;
23
- /**
24
- * input输入框
25
- * @param props
26
- * @constructor
27
- */
28
- declare const Input: {
29
- (props: InputProps): import("react/jsx-runtime").JSX.Element;
30
- TextArea: (props: TextAreaProps) => import("react/jsx-runtime").JSX.Element;
31
- Search: (props: SearchProps) => import("react/jsx-runtime").JSX.Element;
32
- Password: (props: PasswordProps) => import("react/jsx-runtime").JSX.Element;
33
- Group: (props: GroupProps) => import("react/jsx-runtime").JSX.Element;
34
- };
35
- export default Input;
@@ -1,9 +0,0 @@
1
- import type { InputNumberProps as AntInputNumberProps } from 'antd5';
2
- export declare type InputNumberProps = AntInputNumberProps;
3
- /**
4
- * 数字输入框
5
- * @param props
6
- * @constructor
7
- */
8
- declare const InputNumber: (props: InputNumberProps) => import("react/jsx-runtime").JSX.Element;
9
- export default InputNumber;
@@ -1,13 +0,0 @@
1
- import type { RadioGroupProps as AntRadioGroupProps, RadioProps as AntRadioProps } from 'antd5';
2
- export declare type RadioGroupProps = AntRadioGroupProps;
3
- export declare type RadioProps = AntRadioProps;
4
- /**
5
- * 单选框
6
- * @param props
7
- * @constructor
8
- */
9
- declare const Radio: {
10
- (props: RadioProps): import("react/jsx-runtime").JSX.Element;
11
- Group: (props: RadioGroupProps) => import("react/jsx-runtime").JSX.Element;
12
- };
13
- export default Radio;
@@ -1,9 +0,0 @@
1
- import type { SelectProps as AntSelectProps } from 'antd5';
2
- import { OptionProps as AntOptionProps } from 'rc-select/es/Option';
3
- export declare type SelectProps = AntSelectProps;
4
- export declare type SelectOptionProps = AntOptionProps;
5
- declare const Select: {
6
- (props: SelectProps): import("react/jsx-runtime").JSX.Element;
7
- Option: (props: AntOptionProps) => import("react/jsx-runtime").JSX.Element;
8
- };
9
- export default Select;
@@ -1,30 +0,0 @@
1
- export declare type PisellConfigType = {
2
- ENV: {
3
- host: string;
4
- socket: string;
5
- helpHost: string;
6
- boxlocal_h5: string;
7
- accounts: string;
8
- domain: string;
9
- googleMap: string;
10
- appCenter: string;
11
- static: string;
12
- };
13
- /** 当前主项目类型 */
14
- platform: 'shop' | string;
15
- /** 包内请求 由主项目注入 */
16
- request: {
17
- get: RequestMethod;
18
- post: RequestMethod;
19
- put: RequestMethod;
20
- remove: RequestMethod;
21
- request: RequestMethod;
22
- };
23
- /** 消息通知url */
24
- webhookUrl?: string;
25
- };
26
- export interface RequestMethod {
27
- <T = any>(url: string, data?: Record<string, any>, config?: any): Promise<T>;
28
- }
29
- export declare const initConfig: (options: PisellConfigType) => void;
30
- export declare const getConfig: () => PisellConfigType;
@@ -1,2 +0,0 @@
1
- declare const DragDrop: ({ onChange, children, list, droppableId, draggableIdKey, droppableClassName, draggableClassName, footer, direction, isDragDisabled, }: any) => import("react/jsx-runtime").JSX.Element;
2
- export default DragDrop;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- declare type EditorPreivewProps = React.HTMLAttributes<any>;
4
- declare const EditorPreivew: React.FC<EditorPreivewProps>;
5
- export default EditorPreivew;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const _default: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
3
- export default _default;
@@ -1,17 +0,0 @@
1
- import type { ButtonProps as AntButtonProps } from 'antd5';
2
- import type { ButtonGroupProps as AntButtonGroupProps } from 'antd5/es/button';
3
- /**
4
- * 后续可添加属性
5
- */
6
- export declare type ButtonProps = AntButtonProps;
7
- export declare type ButtonGroupProps = AntButtonGroupProps;
8
- /**
9
- * 按钮组件
10
- * @param props
11
- * @constructor
12
- */
13
- declare const Button: {
14
- (props: ButtonProps): import("react/jsx-runtime").JSX.Element;
15
- Group: (props: ButtonGroupProps) => import("react/jsx-runtime").JSX.Element;
16
- };
17
- export default Button;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- export declare type CardProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
4
- declare const Card: React.FC<Partial<CardProps>>;
5
- export default Card;
@@ -1,20 +0,0 @@
1
- import type { CheckboxGroupProps as AntCheckboxGroupProps } from 'antd/es/checkbox';
2
- import type { CheckboxProps as AntCheckboxProps } from 'antd5';
3
- /**
4
- * 后续可添加属性
5
- */
6
- /**
7
- * 后续可添加属性
8
- */
9
- export declare type CheckboxProps = AntCheckboxProps;
10
- export declare type CheckboxGroupProps = AntCheckboxGroupProps;
11
- /**
12
- * 多选框
13
- * @param props
14
- * @constructor
15
- */
16
- declare const Checkbox: {
17
- (props: CheckboxProps): import("react/jsx-runtime").JSX.Element;
18
- Group: (props: AntCheckboxGroupProps) => import("react/jsx-runtime").JSX.Element;
19
- };
20
- export default Checkbox;
@@ -1,9 +0,0 @@
1
- import { DatePickerProps as AntDatePickerProps } from 'antd5';
2
- export declare type DatePickerProps = AntDatePickerProps;
3
- /**
4
- * 日期选择框
5
- * @param props
6
- * @constructor
7
- */
8
- declare const DatePicker: (props: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
9
- export default DatePicker;
@@ -1,30 +0,0 @@
1
- export { default as Agreement } from './agreement';
2
- export type { AgreementProps } from './agreement';
3
- export { default as Avatar } from './avatar';
4
- export type { AvatarProps } from './avatar';
5
- export { default as Button } from './button';
6
- export type { ButtonGroupProps, ButtonProps } from './button';
7
- export { default as Card } from './card';
8
- export type { CardProps } from './card';
9
- export { default as Checkbox } from './checkbox';
10
- export type { CheckboxGroupProps, CheckboxProps } from './checkbox';
11
- export { default as ColorPicker } from './ColorPicker';
12
- export type { ColorPickerProps } from './ColorPicker';
13
- export * from './configProvider';
14
- export { default as DatePicker } from './datePicker';
15
- export type { DatePickerProps } from './datePicker';
16
- export { default as DragSort } from './DragSort';
17
- export { default as IconFont } from './Iconfont';
18
- export type { IconFontProps } from './Iconfont';
19
- export { default as Input } from './input';
20
- export type { GroupProps, InputProps, PasswordProps, SearchProps, TextAreaProps, } from './input';
21
- export { default as InputNumber } from './inputNumber';
22
- export type { InputNumberProps } from './inputNumber';
23
- export { default as Pagination } from './pagination';
24
- export type { PaginationProps } from './pagination';
25
- export { default as Radio } from './radio';
26
- export type { RadioGroupProps, RadioProps } from './radio';
27
- export { default as Select } from './select';
28
- export type { SelectOptionProps, SelectProps } from './select';
29
- export { default as Switch } from './switch';
30
- export type { SwitchProps } from './switch';
@@ -1,35 +0,0 @@
1
- import type { InputProps as AntInputProps } from 'antd5';
2
- import { GroupProps as AntGroupProps, PasswordProps as AntPasswordProps, SearchProps as AntSearchProps, TextAreaProps as AntTextAreaProps } from 'antd5/es/input';
3
- /**
4
- * 后续可添加属性
5
- */
6
- /**
7
- * 后续可添加属性
8
- */
9
- /**
10
- * 后续可添加属性
11
- */
12
- /**
13
- * 后续可添加属性
14
- */
15
- /**
16
- * 后续可添加属性
17
- */
18
- export declare type InputProps = AntInputProps;
19
- export declare type TextAreaProps = AntTextAreaProps;
20
- export declare type SearchProps = AntSearchProps;
21
- export declare type PasswordProps = AntPasswordProps;
22
- export declare type GroupProps = AntGroupProps;
23
- /**
24
- * input输入框
25
- * @param props
26
- * @constructor
27
- */
28
- declare const Input: {
29
- (props: InputProps): import("react/jsx-runtime").JSX.Element;
30
- TextArea: (props: TextAreaProps) => import("react/jsx-runtime").JSX.Element;
31
- Search: (props: SearchProps) => import("react/jsx-runtime").JSX.Element;
32
- Password: (props: PasswordProps) => import("react/jsx-runtime").JSX.Element;
33
- Group: (props: GroupProps) => import("react/jsx-runtime").JSX.Element;
34
- };
35
- export default Input;
@@ -1,9 +0,0 @@
1
- import type { InputNumberProps as AntInputNumberProps } from 'antd5';
2
- export declare type InputNumberProps = AntInputNumberProps;
3
- /**
4
- * 数字输入框
5
- * @param props
6
- * @constructor
7
- */
8
- declare const InputNumber: (props: InputNumberProps) => import("react/jsx-runtime").JSX.Element;
9
- export default InputNumber;
@@ -1,13 +0,0 @@
1
- import type { RadioGroupProps as AntRadioGroupProps, RadioProps as AntRadioProps } from 'antd5';
2
- export declare type RadioGroupProps = AntRadioGroupProps;
3
- export declare type RadioProps = AntRadioProps;
4
- /**
5
- * 单选框
6
- * @param props
7
- * @constructor
8
- */
9
- declare const Radio: {
10
- (props: RadioProps): import("react/jsx-runtime").JSX.Element;
11
- Group: (props: RadioGroupProps) => import("react/jsx-runtime").JSX.Element;
12
- };
13
- export default Radio;
@@ -1,9 +0,0 @@
1
- import type { SelectProps as AntSelectProps } from 'antd5';
2
- import { OptionProps as AntOptionProps } from 'rc-select/es/Option';
3
- export declare type SelectProps = AntSelectProps;
4
- export declare type SelectOptionProps = AntOptionProps;
5
- declare const Select: {
6
- (props: SelectProps): import("react/jsx-runtime").JSX.Element;
7
- Option: (props: AntOptionProps) => import("react/jsx-runtime").JSX.Element;
8
- };
9
- export default Select;
@@ -1,30 +0,0 @@
1
- export declare type PisellConfigType = {
2
- ENV: {
3
- host: string;
4
- socket: string;
5
- helpHost: string;
6
- boxlocal_h5: string;
7
- accounts: string;
8
- domain: string;
9
- googleMap: string;
10
- appCenter: string;
11
- static: string;
12
- };
13
- /** 当前主项目类型 */
14
- platform: 'shop' | string;
15
- /** 包内请求 由主项目注入 */
16
- request: {
17
- get: RequestMethod;
18
- post: RequestMethod;
19
- put: RequestMethod;
20
- remove: RequestMethod;
21
- request: RequestMethod;
22
- };
23
- /** 消息通知url */
24
- webhookUrl?: string;
25
- };
26
- export interface RequestMethod {
27
- <T = any>(url: string, data?: Record<string, any>, config?: any): Promise<T>;
28
- }
29
- export declare const initConfig: (options: PisellConfigType) => void;
30
- export declare const getConfig: () => PisellConfigType;