web-materials 0.1.4 → 0.1.6
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/dist/cjs/_virtual/index5.js +1 -1
- package/dist/cjs/_virtual/index6.js +1 -1
- package/dist/cjs/components/base/List/index.js +1 -1
- package/dist/cjs/components/base/List/index.js.map +1 -1
- package/dist/cjs/components/base/List/index.module.scss.js +1 -1
- package/dist/cjs/components/base/List/schema.js +1 -1
- package/dist/cjs/components/base/List/schema.js.map +1 -1
- package/dist/cjs/components/base/List/style.module.scss.js +1 -1
- package/dist/cjs/components/base/UserContribution/index.js +1 -1
- package/dist/cjs/components/base/UserContribution/index.js.map +1 -1
- package/dist/cjs/components/base/UserContribution/schema.js +1 -1
- package/dist/cjs/components/base/UserContribution/schema.js.map +1 -1
- package/dist/cjs/node_modules/classnames/index.js +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/Transition.js +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
- package/dist/cjs/styles.css +1 -1
- package/dist/esm/_virtual/index5.js +1 -1
- package/dist/esm/_virtual/index6.js +1 -1
- package/dist/esm/components/base/List/index.js +1 -1
- package/dist/esm/components/base/List/index.js.map +1 -1
- package/dist/esm/components/base/List/index.module.scss.js +1 -1
- package/dist/esm/components/base/List/schema.js +1 -1
- package/dist/esm/components/base/List/schema.js.map +1 -1
- package/dist/esm/components/base/List/style.module.scss.js +1 -1
- package/dist/esm/components/base/UserContribution/index.js +1 -1
- package/dist/esm/components/base/UserContribution/index.js.map +1 -1
- package/dist/esm/components/base/UserContribution/schema.js +1 -1
- package/dist/esm/components/base/UserContribution/schema.js.map +1 -1
- package/dist/esm/node_modules/classnames/index.js +1 -1
- package/dist/esm/node_modules/react-transition-group/esm/Transition.js +1 -1
- package/dist/esm/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
- package/dist/esm/styles.css +1 -1
- package/dist/esm/types/components/base/List/schema.d.ts +3 -2
- package/dist/esm/types/components/base/UserContribution/index.d.ts +1 -1
- package/dist/esm/types/components/base/UserContribution/schema.d.ts +3 -2
- package/dist/esm/types/components/types.d.ts +6 -0
- package/package.json +1 -1
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { IColorConfigType, IDataListConfigType, ITextConfigType, INumberConfigType, ISelectConfigType, TColorDefaultType, TUserListDefaultType } from '@/components/types';
|
|
1
|
+
import { IColorConfigType, IDataListConfigType, ITextConfigType, INumberConfigType, ISelectConfigType, TColorDefaultType, TUserListDefaultType, ICheckboxConfigType, TCheckboxDefaultType } from '@/components/types';
|
|
2
2
|
import { ICommonBaseType, ICommonConfigType } from '../../common';
|
|
3
3
|
export type TListSelectKeyType = '60' | '80' | '100' | '120' | '150';
|
|
4
|
-
export type TListEditData = Array<IColorConfigType | IDataListConfigType | INumberConfigType | ISelectConfigType<TListSelectKeyType> | ICommonConfigType | ITextConfigType>;
|
|
4
|
+
export type TListEditData = Array<IColorConfigType | IDataListConfigType | INumberConfigType | ISelectConfigType<TListSelectKeyType> | ICommonConfigType | ITextConfigType | ICheckboxConfigType>;
|
|
5
5
|
export interface IListConfig extends ICommonBaseType {
|
|
6
6
|
sourceDataKey: string;
|
|
7
7
|
sourceData: TUserListDefaultType;
|
|
8
8
|
color: TColorDefaultType;
|
|
9
|
+
userJump: TCheckboxDefaultType;
|
|
9
10
|
globalApiData?: Record<string, any>;
|
|
10
11
|
}
|
|
11
12
|
export interface IListSchema {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { IListConfig } from './schema';
|
|
2
|
-
export declare const defaultAvatar = "https://auto.omicdn.com/v1/images/
|
|
2
|
+
export declare const defaultAvatar = "https://auto.omicdn.com/v1/images/eyJpZCI6IjJCSVRMUDROQlVYNVpYSTJKMlhSMjJMU1hTNkNBViIsInciOjU4LCJoIjo1OCwiZCI6MCwibXQiOiJpbWFnZS9qcGVnIiwiZGgiOjEwODE0MTExNTk1NzM4MjQ4MDg2fQ.webp";
|
|
3
3
|
declare const List: import("react").MemoExoticComponent<(props: IListConfig) => import("react/jsx-runtime").JSX.Element>;
|
|
4
4
|
export default List;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { IColorConfigType, IDataListConfigType, INumberConfigType, ISelectConfigType, TColorDefaultType, TUserListDefaultTypeItem, ITextConfigType } from '@/components/types';
|
|
1
|
+
import { IColorConfigType, IDataListConfigType, INumberConfigType, ISelectConfigType, TColorDefaultType, TUserListDefaultTypeItem, ITextConfigType, TCheckboxDefaultType, ICheckboxConfigType } from '@/components/types';
|
|
2
2
|
import { ICommonBaseType, ICommonConfigType } from '../../common';
|
|
3
3
|
export type TListSelectKeyType = '60' | '80' | '100' | '120' | '150';
|
|
4
|
-
export type TListEditData = Array<IColorConfigType | IDataListConfigType | INumberConfigType | ISelectConfigType<TListSelectKeyType> | ICommonConfigType | ITextConfigType>;
|
|
4
|
+
export type TListEditData = Array<IColorConfigType | IDataListConfigType | INumberConfigType | ISelectConfigType<TListSelectKeyType> | ICommonConfigType | ITextConfigType | ICheckboxConfigType>;
|
|
5
5
|
export interface IListConfig extends ICommonBaseType {
|
|
6
6
|
sourceDataKey: string;
|
|
7
7
|
sourceData: TUserListDefaultTypeItem;
|
|
8
8
|
color: TColorDefaultType;
|
|
9
9
|
textColor: TColorDefaultType;
|
|
10
|
+
userJump: TCheckboxDefaultType;
|
|
10
11
|
globalApiData?: Record<string, any>;
|
|
11
12
|
}
|
|
12
13
|
export interface IListSchema {
|
|
@@ -31,6 +31,12 @@ export interface INumberConfigType {
|
|
|
31
31
|
range?: [number, number];
|
|
32
32
|
step?: number;
|
|
33
33
|
}
|
|
34
|
+
export interface ICheckboxConfigType {
|
|
35
|
+
key: string;
|
|
36
|
+
name: string;
|
|
37
|
+
type: 'CheckBox';
|
|
38
|
+
}
|
|
39
|
+
export type TCheckboxDefaultType = boolean;
|
|
34
40
|
export type TNumberDefaultType = number;
|
|
35
41
|
export interface IDataListConfigType {
|
|
36
42
|
key: string;
|