fat-design 0.0.1-beta.20251016214453 → 0.0.1
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/README.md +285 -285
- package/index.browser.js +1 -1
- package/libs/config-16.js +7 -7
- package/libs/config-17.js +7 -7
- package/libs/config-18.js +9 -9
- package/libs/config-19.js +9 -9
- package/libs/theme/theme-blue1.css +58 -58
- package/libs/theme/theme-blue2.css +63 -63
- package/libs/theme/theme-blue3.css +73 -73
- package/libs/theme/theme-blue4.css +53 -53
- package/libs/theme/theme-default.css +60 -60
- package/libs/theme/theme-green.css +96 -96
- package/libs/theme/theme-green2.css +96 -96
- package/libs/theme/theme-orange.css +58 -58
- package/libs/theme/theme-pink.css +53 -53
- package/libs/theme/theme-purple.css +53 -53
- package/libs/theme/theme-red.css +55 -55
- package/package.json +2 -2
- package/types/0buildTypes/config-provider/constants.d.ts +3 -3
- package/types/0buildTypes/config-provider/index.d.ts +4 -4
- package/types/0buildTypes/config-provider/v2/consumer.d.ts +3 -3
- package/types/0buildTypes/config-provider/v2/context.d.ts +6 -6
- package/types/0buildTypes/config-provider/v2/error-boundary.d.ts +27 -27
- package/types/0buildTypes/config-provider/v2/functions.d.ts +66 -66
- package/types/0buildTypes/config-provider/v2/index.d.ts +36 -36
- package/types/0buildTypes/config-provider/v2/provider.d.ts +4 -4
- package/types/0buildTypes/config-provider/v2/types.d.ts +22 -22
- package/types/0buildTypes/dependencies.d.ts +2 -2
- package/types/0buildTypes/empty/empty.d.ts +22 -22
- package/types/0buildTypes/empty/index.d.ts +2 -2
- package/types/0buildTypes/filter/filter-types.d.ts +21 -21
- package/types/0buildTypes/filter/filter.d.ts +10 -10
- package/types/0buildTypes/filter/index.d.ts +9 -9
- package/types/0buildTypes/form2/deps.d.ts +10 -10
- package/types/0buildTypes/form2/form-actions.d.ts +36 -36
- package/types/0buildTypes/form2/form-buttons.d.ts +28 -28
- package/types/0buildTypes/form2/form-context.d.ts +4 -4
- package/types/0buildTypes/form2/form-error.d.ts +3 -3
- package/types/0buildTypes/form2/form-item-card.d.ts +4 -4
- package/types/0buildTypes/form2/form-item-comp.d.ts +4 -4
- package/types/0buildTypes/form2/form-item-label.d.ts +4 -4
- package/types/0buildTypes/form2/form-item-preview.d.ts +4 -4
- package/types/0buildTypes/form2/form-item.d.ts +7 -7
- package/types/0buildTypes/form2/form-layout.d.ts +3 -3
- package/types/0buildTypes/form2/form-rules.d.ts +3 -3
- package/types/0buildTypes/form2/form-section.d.ts +25 -25
- package/types/0buildTypes/form2/form-types.d.ts +396 -396
- package/types/0buildTypes/form2/form.d.ts +36 -36
- package/types/0buildTypes/form2/helper/buildParams.d.ts +5 -5
- package/types/0buildTypes/form2/helper/constants.d.ts +24 -24
- package/types/0buildTypes/form2/helper/fixItemProps.d.ts +16 -16
- package/types/0buildTypes/form2/helper/fnInheritProps.d.ts +2 -2
- package/types/0buildTypes/form2/helper/linkageFormState.d.ts +16 -16
- package/types/0buildTypes/form2/helper/useDataSource.d.ts +14 -14
- package/types/0buildTypes/form2/helper/useFormChildren.d.ts +5 -5
- package/types/0buildTypes/form2/helper/useFormItemState.d.ts +3 -3
- package/types/0buildTypes/form2/helper/useGetXProps.d.ts +3 -3
- package/types/0buildTypes/form2/index.d.ts +20 -20
- package/types/0buildTypes/form2/layout/from-float-layout.d.ts +3 -3
- package/types/0buildTypes/hooks/index.d.ts +25 -25
- package/types/0buildTypes/hooks/useComparedState.d.ts +2 -2
- package/types/0buildTypes/hooks/useCurrentState.d.ts +11 -11
- package/types/0buildTypes/hooks/useOnKeyPressSave.d.ts +12 -12
- package/types/0buildTypes/hooks/usePersistFn.d.ts +3 -3
- package/types/0buildTypes/hooks/usePreciseStore.d.ts +53 -53
- package/types/0buildTypes/hooks/useSize.d.ts +6 -6
- package/types/0buildTypes/hooks/useUniqueId.d.ts +2 -2
- package/types/0buildTypes/hooks/useValueOnChange.d.ts +2 -2
- package/types/0buildTypes/image/Image.d.ts +42 -42
- package/types/0buildTypes/image/Operations.d.ts +25 -25
- package/types/0buildTypes/image/Preview.d.ts +64 -64
- package/types/0buildTypes/image/PreviewGroup.d.ts +32 -32
- package/types/0buildTypes/image/common.d.ts +2 -2
- package/types/0buildTypes/image/context.d.ts +7 -7
- package/types/0buildTypes/image/getFixScaleEleTransPosition.d.ts +17 -17
- package/types/0buildTypes/image/hooks/useImageTransform.d.ts +28 -28
- package/types/0buildTypes/image/hooks/useMouseEvent.d.ts +9 -9
- package/types/0buildTypes/image/hooks/usePreviewItems.d.ts +7 -7
- package/types/0buildTypes/image/hooks/useRegisterImage.d.ts +2 -2
- package/types/0buildTypes/image/hooks/useStatus.d.ts +14 -14
- package/types/0buildTypes/image/hooks/useTouchEvent.d.ts +8 -8
- package/types/0buildTypes/image/index.d.ts +6 -6
- package/types/0buildTypes/image/interface.d.ts +14 -14
- package/types/0buildTypes/image/previewConfig.d.ts +4 -4
- package/types/0buildTypes/image/util.d.ts +1 -1
- package/types/0buildTypes/image/utils/KeyCode.d.ts +23 -23
- package/types/0buildTypes/image/utils/addEventListener.d.ts +4 -4
- package/types/0buildTypes/image/utils/buildIcons.d.ts +2 -2
- package/types/0buildTypes/image/utils/css.d.ts +8 -8
- package/types/0buildTypes/image/utils/isEqual.d.ts +8 -8
- package/types/0buildTypes/image/utils/raf.d.ts +6 -6
- package/types/0buildTypes/image/utils/useEvent.d.ts +1 -1
- package/types/0buildTypes/image/utils/useLayoutEffect.d.ts +4 -4
- package/types/0buildTypes/image/utils/useMergedState.d.ts +12 -12
- package/types/0buildTypes/image/utils/useSafeState.d.ts +14 -14
- package/types/0buildTypes/index.d.ts +4 -4
- package/types/0buildTypes/libs.d.ts +67 -67
- package/types/0buildTypes/nav/group.d.ts +30 -30
- package/types/0buildTypes/nav/index.d.ts +4 -4
- package/types/0buildTypes/nav/item.d.ts +30 -30
- package/types/0buildTypes/nav/nav.d.ts +2 -2
- package/types/0buildTypes/nav/popup-item.d.ts +24 -24
- package/types/0buildTypes/nav/sub-nav.d.ts +30 -30
- package/types/0buildTypes/nav/types.d.ts +375 -375
- package/types/0buildTypes/others.d.ts +10 -10
- package/types/0buildTypes/pages/deps.d.ts +5 -5
- package/types/0buildTypes/pages/detail-page/detail-page-card-form.d.ts +12 -12
- package/types/0buildTypes/pages/detail-page/detail-page-form-item.d.ts +9 -9
- package/types/0buildTypes/pages/detail-page/detail-page-section.d.ts +19 -19
- package/types/0buildTypes/pages/detail-page/detail-page-summary.d.ts +9 -9
- package/types/0buildTypes/pages/detail-page/detail-page.d.ts +14 -14
- package/types/0buildTypes/pages/detail-page/index.d.ts +2 -2
- package/types/0buildTypes/pages/detail-page/types.d.ts +29 -29
- package/types/0buildTypes/pages/page-card/types.d.ts +6 -6
- package/types/0buildTypes/previews/renderFileImage.d.ts +34 -34
- package/types/0buildTypes/query-form/index.d.ts +2 -2
- package/types/0buildTypes/query-form/query-form-items.d.ts +4 -4
- package/types/0buildTypes/query-form/query-form-layout.d.ts +2 -2
- package/types/0buildTypes/query-form/query-form.d.ts +20 -20
- package/types/0buildTypes/query-form/types.d.ts +12 -12
- package/types/0buildTypes/sortable-list/helpers.d.ts +8 -8
- package/types/0buildTypes/sortable-list/hooks.d.ts +24 -24
- package/types/0buildTypes/sortable-list/index.d.ts +14 -14
- package/types/0buildTypes/sortable-list/sortable-editable-table.d.ts +2 -2
- package/types/0buildTypes/sortable-list/sortable-list.d.ts +560 -560
- package/types/0buildTypes/sortable-list/sortable-table.d.ts +2 -2
- package/types/0buildTypes/sortable-list/types.d.ts +15 -15
- package/types/0buildTypes/table-pro/index.d.ts +26 -26
- package/types/0buildTypes/table-pro/table-pro.d.ts +17 -17
- package/types/0buildTypes/table-pro/types.d.ts +95 -95
- package/types/0buildTypes/table-pro/useTablePro.d.ts +10 -10
- package/types/0buildTypes/table-pro/utils/formatQueryRes.d.ts +1 -1
- package/types/0buildTypes/table-pro/widget/column-setting.d.ts +5 -5
- package/types/0buildTypes/table-pro/widget/deps.d.ts +2 -2
- package/types/0buildTypes/table-pro/widget/index.d.ts +25 -25
- package/types/0buildTypes/table-pro/widget/operations.d.ts +5 -5
- package/types/0buildTypes/table-pro/widget/operationsActions.d.ts +2 -2
- package/types/0buildTypes/table-pro/widget/renderFormats.d.ts +17 -17
- package/types/0buildTypes/table-pro/widget/renderMultiFieldCell.d.ts +4 -4
- package/types/0buildTypes/table-pro/widget/renderOperationCell.d.ts +4 -4
- package/types/0buildTypes/table-pro/widget/renderToolbar.d.ts +6 -6
- package/types/0buildTypes/table-pro/widget/table-utils-types.d.ts +40 -40
- package/types/0buildTypes/util/comp.d.ts +16 -16
- package/types/0buildTypes/util/component.d.ts +1 -1
- package/types/0buildTypes/util/constants.d.ts +4 -4
- package/types/0buildTypes/util/dom.d.ts +116 -116
- package/types/0buildTypes/util/env.d.ts +7 -7
- package/types/0buildTypes/util/func-wrapper.d.ts +1 -1
- package/types/0buildTypes/util/func.d.ts +73 -73
- package/types/0buildTypes/util/guid.d.ts +11 -11
- package/types/0buildTypes/util/isStateEquals.d.ts +4 -4
- package/types/0buildTypes/util/localforage.d.ts +11 -11
- package/types/0buildTypes/util/log.d.ts +18 -18
- package/types/0buildTypes/util/pick-res-data.d.ts +28 -28
- package/types/0buildTypes/util/react-dom.d.ts +27 -27
- package/types/0buildTypes/util/shallowEqual.d.ts +3 -3
- package/types/0buildTypes/util/string.d.ts +32 -32
- package/types/0buildTypes/util/tiny-emitter.d.ts +10 -10
- package/types/0buildTypes/util/toMap.d.ts +7 -7
- package/types/affix/index.d.ts +33 -33
- package/types/animate/index.d.ts +80 -80
- package/types/avatar/index.d.ts +41 -41
- package/types/badge/index.d.ts +38 -38
- package/types/balloon/index.d.ts +254 -254
- package/types/balloon-confirm/index.d.ts +119 -119
- package/types/batch-input/index.d.ts +152 -152
- package/types/box/index.d.ts +25 -25
- package/types/breadcrumb/index.d.ts +60 -60
- package/types/button/index.d.ts +179 -179
- package/types/calendar/index.d.ts +76 -76
- package/types/card/index.d.ts +147 -147
- package/types/cascader/index.d.ts +135 -135
- package/types/cascader-select/index.d.ts +230 -230
- package/types/checkbox/index.d.ts +175 -175
- package/types/collapse/index.d.ts +96 -96
- package/types/comments/index.d.ts +278 -278
- package/types/config-provider/index.d.ts +3 -3
- package/types/date-picker/index.d.ts +123 -123
- package/types/dialog/index.d.ts +328 -328
- package/types/divider/index.d.ts +21 -21
- package/types/drawer/index.d.ts +121 -121
- package/types/dropdown/index.d.ts +198 -198
- package/types/editable-table/index.d.ts +121 -121
- package/types/empty/index.d.ts +78 -78
- package/types/field/index.d.ts +33 -33
- package/types/filter/index.d.ts +2 -2
- package/types/form/index.d.ts +5 -5
- package/types/grid/index.d.ts +142 -142
- package/types/hooks/index.d.ts +2 -2
- package/types/icon/index.d.ts +29 -29
- package/types/image/index.d.ts +3 -3
- package/types/index.d.ts +69 -69
- package/types/input/index.d.ts +458 -458
- package/types/list/index.d.ts +69 -69
- package/types/loading/index.d.ts +100 -100
- package/types/locale/default.d.ts +143 -143
- package/types/locale/en-us.d.ts +1 -1
- package/types/locale/id-id.d.ts +1 -1
- package/types/locale/it-it.d.ts +1 -1
- package/types/locale/ja-jp.d.ts +1 -1
- package/types/locale/ko-kr.d.ts +1 -1
- package/types/locale/ms-my.d.ts +1 -1
- package/types/locale/pt-pt.d.ts +1 -1
- package/types/locale/th-th.d.ts +1 -1
- package/types/locale/vi-vn.d.ts +1 -1
- package/types/locale/zh-cn.d.ts +1 -1
- package/types/locale/zh-hk.d.ts +1 -1
- package/types/locale/zh-tw.d.ts +1 -1
- package/types/menu/index.d.ts +336 -336
- package/types/menu-button/index.d.ts +100 -100
- package/types/message/index.d.ts +165 -165
- package/types/nav/index.d.ts +313 -313
- package/types/notification/index.d.ts +35 -35
- package/types/number-picker/index.d.ts +161 -161
- package/types/overlay/index.d.ts +363 -363
- package/types/pagination/index.d.ts +115 -115
- package/types/paragraph/index.d.ts +23 -23
- package/types/progress/index.d.ts +53 -53
- package/types/query-form/index.d.ts +3 -3
- package/types/radio/index.d.ts +180 -180
- package/types/range/index.d.ts +120 -120
- package/types/rating/index.d.ts +84 -84
- package/types/responsive-grid/index.d.ts +30 -30
- package/types/search/index.d.ts +219 -219
- package/types/select/index.d.ts +479 -479
- package/types/shell/index.d.ts +53 -53
- package/types/slider/index.d.ts +172 -172
- package/types/sortable-list/index.d.ts +165 -165
- package/types/split-button/index.d.ts +134 -134
- package/types/step/index.d.ts +108 -108
- package/types/switch/index.d.ts +85 -85
- package/types/tab/index.d.ts +170 -170
- package/types/table/index.d.ts +407 -407
- package/types/table-pro/index.d.ts +3 -3
- package/types/tag/index.d.ts +142 -142
- package/types/time-picker/index.d.ts +193 -193
- package/types/timeline/index.d.ts +95 -95
- package/types/transfer/index.d.ts +199 -199
- package/types/tree/index.d.ts +421 -421
- package/types/tree-select/index.d.ts +251 -251
- package/types/typography/index.d.ts +28 -28
- package/types/upload/index.d.ts +711 -711
- package/types/util.d.ts +80 -80
- package/types/virtual-list/index.d.ts +44 -44
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Logger } from "./util/log";
|
|
2
|
-
import { ComponentsStore } from "./util/comp";
|
|
3
|
-
import { constants } from "./util";
|
|
4
|
-
import dependencies from "./dependencies";
|
|
5
|
-
import { storageInstance } from "./util/localforage";
|
|
6
|
-
declare function configReactDOM18(ReactDOM: any, ReactDOMClient: any): void;
|
|
7
|
-
declare function configReactDOM19(ReactDOM: any, ReactDOMClient: any): void;
|
|
8
|
-
declare function configReactDOM(ReactDOM: any): void;
|
|
9
|
-
declare const logger: Logger;
|
|
10
|
-
export { logger, constants, dependencies, storageInstance, configReactDOM18, configReactDOM19, configReactDOM, ComponentsStore, };
|
|
1
|
+
import { Logger } from "./util/log";
|
|
2
|
+
import { ComponentsStore } from "./util/comp";
|
|
3
|
+
import { constants } from "./util";
|
|
4
|
+
import dependencies from "./dependencies";
|
|
5
|
+
import { storageInstance } from "./util/localforage";
|
|
6
|
+
declare function configReactDOM18(ReactDOM: any, ReactDOMClient: any): void;
|
|
7
|
+
declare function configReactDOM19(ReactDOM: any, ReactDOMClient: any): void;
|
|
8
|
+
declare function configReactDOM(ReactDOM: any): void;
|
|
9
|
+
declare const logger: Logger;
|
|
10
|
+
export { logger, constants, dependencies, storageInstance, configReactDOM18, configReactDOM19, configReactDOM, ComponentsStore, };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare const RGrid: any;
|
|
2
|
-
declare const Grid: any;
|
|
3
|
-
declare const Balloon: any;
|
|
4
|
-
declare const Icon: any;
|
|
5
|
-
export { Grid, RGrid, Icon, Balloon };
|
|
1
|
+
declare const RGrid: any;
|
|
2
|
+
declare const Grid: any;
|
|
3
|
+
declare const Balloon: any;
|
|
4
|
+
declare const Icon: any;
|
|
5
|
+
export { Grid, RGrid, Icon, Balloon };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { DetailPageCardFormProps } from "./types";
|
|
3
|
-
import { LayoutEnum } from "../../form2/form-types";
|
|
4
|
-
declare function DetailPageCardForm(props: DetailPageCardFormProps): React.JSX.Element;
|
|
5
|
-
declare namespace DetailPageCardForm {
|
|
6
|
-
var defaultProps: {
|
|
7
|
-
prefix: string;
|
|
8
|
-
autoValidateOnCreated: boolean;
|
|
9
|
-
layout: LayoutEnum;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export { DetailPageCardForm };
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { DetailPageCardFormProps } from "./types";
|
|
3
|
+
import { LayoutEnum } from "../../form2/form-types";
|
|
4
|
+
declare function DetailPageCardForm(props: DetailPageCardFormProps): React.JSX.Element;
|
|
5
|
+
declare namespace DetailPageCardForm {
|
|
6
|
+
var defaultProps: {
|
|
7
|
+
prefix: string;
|
|
8
|
+
autoValidateOnCreated: boolean;
|
|
9
|
+
layout: LayoutEnum;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export { DetailPageCardForm };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { FormItemProps } from "../../form2/form-types";
|
|
3
|
-
declare function DetailPageFormItem(props: FormItemProps): React.JSX.Element;
|
|
4
|
-
declare namespace DetailPageFormItem {
|
|
5
|
-
var defaultProps: {
|
|
6
|
-
prefix: string;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
export { DetailPageFormItem };
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { FormItemProps } from "../../form2/form-types";
|
|
3
|
+
declare function DetailPageFormItem(props: FormItemProps): React.JSX.Element;
|
|
4
|
+
declare namespace DetailPageFormItem {
|
|
5
|
+
var defaultProps: {
|
|
6
|
+
prefix: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export { DetailPageFormItem };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { DetailPageSectionProps } from "./types";
|
|
2
|
-
import React from "react";
|
|
3
|
-
declare function DetailPageSection(props: DetailPageSectionProps): React.JSX.Element;
|
|
4
|
-
declare namespace DetailPageSection {
|
|
5
|
-
var _typeMark: string;
|
|
6
|
-
var defaultProps: {
|
|
7
|
-
prefix: string;
|
|
8
|
-
columns: number;
|
|
9
|
-
gap: number;
|
|
10
|
-
labelCol: {
|
|
11
|
-
fixedSpan: number;
|
|
12
|
-
};
|
|
13
|
-
wrapperCol: {
|
|
14
|
-
span: number;
|
|
15
|
-
};
|
|
16
|
-
useElevator: boolean;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export { DetailPageSection };
|
|
1
|
+
import { DetailPageSectionProps } from "./types";
|
|
2
|
+
import React from "react";
|
|
3
|
+
declare function DetailPageSection(props: DetailPageSectionProps): React.JSX.Element;
|
|
4
|
+
declare namespace DetailPageSection {
|
|
5
|
+
var _typeMark: string;
|
|
6
|
+
var defaultProps: {
|
|
7
|
+
prefix: string;
|
|
8
|
+
columns: number;
|
|
9
|
+
gap: number;
|
|
10
|
+
labelCol: {
|
|
11
|
+
fixedSpan: number;
|
|
12
|
+
};
|
|
13
|
+
wrapperCol: {
|
|
14
|
+
span: number;
|
|
15
|
+
};
|
|
16
|
+
useElevator: boolean;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export { DetailPageSection };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { DetailPageSummaryProps } from "./types";
|
|
3
|
-
declare function DetailPageSummary(props: DetailPageSummaryProps): React.JSX.Element;
|
|
4
|
-
declare namespace DetailPageSummary {
|
|
5
|
-
var defaultProps: {
|
|
6
|
-
prefix: string;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
export { DetailPageSummary };
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { DetailPageSummaryProps } from "./types";
|
|
3
|
+
declare function DetailPageSummary(props: DetailPageSummaryProps): React.JSX.Element;
|
|
4
|
+
declare namespace DetailPageSummary {
|
|
5
|
+
var defaultProps: {
|
|
6
|
+
prefix: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export { DetailPageSummary };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DetailPageProps } from "./types";
|
|
3
|
-
declare function DetailPage(props: DetailPageProps): React.JSX.Element;
|
|
4
|
-
declare namespace DetailPage {
|
|
5
|
-
var defaultProps: {
|
|
6
|
-
prefix: string;
|
|
7
|
-
useElevator: boolean;
|
|
8
|
-
};
|
|
9
|
-
var CardForm: any;
|
|
10
|
-
var FormItem: any;
|
|
11
|
-
var Section: any;
|
|
12
|
-
var Summary: any;
|
|
13
|
-
}
|
|
14
|
-
export default DetailPage;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DetailPageProps } from "./types";
|
|
3
|
+
declare function DetailPage(props: DetailPageProps): React.JSX.Element;
|
|
4
|
+
declare namespace DetailPage {
|
|
5
|
+
var defaultProps: {
|
|
6
|
+
prefix: string;
|
|
7
|
+
useElevator: boolean;
|
|
8
|
+
};
|
|
9
|
+
var CardForm: any;
|
|
10
|
+
var FormItem: any;
|
|
11
|
+
var Section: any;
|
|
12
|
+
var Summary: any;
|
|
13
|
+
}
|
|
14
|
+
export default DetailPage;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import DetailPage from "./detail-page";
|
|
2
|
-
export default DetailPage;
|
|
1
|
+
import DetailPage from "./detail-page";
|
|
2
|
+
export default DetailPage;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { FormProps } from "../../form2/form-types";
|
|
2
|
-
export interface DetailPageCardFormProps extends FormProps {
|
|
3
|
-
}
|
|
4
|
-
export interface DetailPageProps {
|
|
5
|
-
prefix: string;
|
|
6
|
-
children: any;
|
|
7
|
-
pageTitle?: string;
|
|
8
|
-
className?: string;
|
|
9
|
-
}
|
|
10
|
-
export interface DetailPageSectionProps {
|
|
11
|
-
prefix: string;
|
|
12
|
-
title: any;
|
|
13
|
-
children: any;
|
|
14
|
-
toolbar?: any;
|
|
15
|
-
columns: number;
|
|
16
|
-
gap: number;
|
|
17
|
-
useElevator: boolean;
|
|
18
|
-
}
|
|
19
|
-
export interface DetailPageSummaryItemProps {
|
|
20
|
-
label: string;
|
|
21
|
-
value: string;
|
|
22
|
-
type?: string;
|
|
23
|
-
help?: string;
|
|
24
|
-
prefix?: string;
|
|
25
|
-
}
|
|
26
|
-
export interface DetailPageSummaryProps {
|
|
27
|
-
prefix: string;
|
|
28
|
-
dataSource: DetailPageSummaryItemProps[];
|
|
29
|
-
}
|
|
1
|
+
import { FormProps } from "../../form2/form-types";
|
|
2
|
+
export interface DetailPageCardFormProps extends FormProps {
|
|
3
|
+
}
|
|
4
|
+
export interface DetailPageProps {
|
|
5
|
+
prefix: string;
|
|
6
|
+
children: any;
|
|
7
|
+
pageTitle?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface DetailPageSectionProps {
|
|
11
|
+
prefix: string;
|
|
12
|
+
title: any;
|
|
13
|
+
children: any;
|
|
14
|
+
toolbar?: any;
|
|
15
|
+
columns: number;
|
|
16
|
+
gap: number;
|
|
17
|
+
useElevator: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface DetailPageSummaryItemProps {
|
|
20
|
+
label: string;
|
|
21
|
+
value: string;
|
|
22
|
+
type?: string;
|
|
23
|
+
help?: string;
|
|
24
|
+
prefix?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface DetailPageSummaryProps {
|
|
27
|
+
prefix: string;
|
|
28
|
+
dataSource: DetailPageSummaryItemProps[];
|
|
29
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface PageCardProps {
|
|
2
|
-
prefix?: string;
|
|
3
|
-
children?: any;
|
|
4
|
-
title?: string;
|
|
5
|
-
mode?: string;
|
|
6
|
-
}
|
|
1
|
+
export interface PageCardProps {
|
|
2
|
+
prefix?: string;
|
|
3
|
+
children?: any;
|
|
4
|
+
title?: string;
|
|
5
|
+
mode?: string;
|
|
6
|
+
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface IRenderProps {
|
|
3
|
-
value: any;
|
|
4
|
-
prefix?: string;
|
|
5
|
-
}
|
|
6
|
-
interface IRenderCfg {
|
|
7
|
-
deep: number;
|
|
8
|
-
index: number;
|
|
9
|
-
prefix: string;
|
|
10
|
-
}
|
|
11
|
-
interface IRenderLinkFnProps extends IRenderCfg {
|
|
12
|
-
downloadURL: string;
|
|
13
|
-
imgURL?: string;
|
|
14
|
-
url?: string;
|
|
15
|
-
name?: string;
|
|
16
|
-
}
|
|
17
|
-
type IRenderLinkFn = (props: IRenderLinkFnProps) => any;
|
|
18
|
-
declare function renderFileDownload(value: any, cfg: IRenderCfg): any;
|
|
19
|
-
declare function renderFileImage(value: any, cfg: IRenderCfg): any;
|
|
20
|
-
declare function renderFileAutoBySuffix(value: any, cfg: IRenderCfg): any;
|
|
21
|
-
declare const RenderFileDownload: React.MemoExoticComponent<{
|
|
22
|
-
(props: IRenderProps): any;
|
|
23
|
-
displayName: string;
|
|
24
|
-
}>;
|
|
25
|
-
declare const RenderFileImage: React.MemoExoticComponent<{
|
|
26
|
-
(props: IRenderProps): any;
|
|
27
|
-
displayName: string;
|
|
28
|
-
}>;
|
|
29
|
-
declare const RenderFileAutoBySuffix: React.MemoExoticComponent<{
|
|
30
|
-
(props: IRenderProps): any;
|
|
31
|
-
displayName: string;
|
|
32
|
-
}>;
|
|
33
|
-
export { RenderFileImage, renderFileImage, renderFileDownload, RenderFileDownload, renderFileAutoBySuffix, RenderFileAutoBySuffix, };
|
|
34
|
-
export type { IRenderProps, IRenderCfg, IRenderLinkFnProps, IRenderLinkFn };
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface IRenderProps {
|
|
3
|
+
value: any;
|
|
4
|
+
prefix?: string;
|
|
5
|
+
}
|
|
6
|
+
interface IRenderCfg {
|
|
7
|
+
deep: number;
|
|
8
|
+
index: number;
|
|
9
|
+
prefix: string;
|
|
10
|
+
}
|
|
11
|
+
interface IRenderLinkFnProps extends IRenderCfg {
|
|
12
|
+
downloadURL: string;
|
|
13
|
+
imgURL?: string;
|
|
14
|
+
url?: string;
|
|
15
|
+
name?: string;
|
|
16
|
+
}
|
|
17
|
+
type IRenderLinkFn = (props: IRenderLinkFnProps) => any;
|
|
18
|
+
declare function renderFileDownload(value: any, cfg: IRenderCfg): any;
|
|
19
|
+
declare function renderFileImage(value: any, cfg: IRenderCfg): any;
|
|
20
|
+
declare function renderFileAutoBySuffix(value: any, cfg: IRenderCfg): any;
|
|
21
|
+
declare const RenderFileDownload: React.MemoExoticComponent<{
|
|
22
|
+
(props: IRenderProps): any;
|
|
23
|
+
displayName: string;
|
|
24
|
+
}>;
|
|
25
|
+
declare const RenderFileImage: React.MemoExoticComponent<{
|
|
26
|
+
(props: IRenderProps): any;
|
|
27
|
+
displayName: string;
|
|
28
|
+
}>;
|
|
29
|
+
declare const RenderFileAutoBySuffix: React.MemoExoticComponent<{
|
|
30
|
+
(props: IRenderProps): any;
|
|
31
|
+
displayName: string;
|
|
32
|
+
}>;
|
|
33
|
+
export { RenderFileImage, renderFileImage, renderFileDownload, RenderFileDownload, renderFileAutoBySuffix, RenderFileAutoBySuffix, };
|
|
34
|
+
export type { IRenderProps, IRenderCfg, IRenderLinkFnProps, IRenderLinkFn };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { QueryForm } from './query-form';
|
|
2
|
-
export default QueryForm;
|
|
1
|
+
import { QueryForm } from './query-form';
|
|
2
|
+
export default QueryForm;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QueryFormProps } from "./types";
|
|
2
|
-
import { TinyEmitter } from "../util/tiny-emitter";
|
|
3
|
-
declare function useQueryFormItems(props: QueryFormProps, queryFormEventBus: TinyEmitter): any[];
|
|
4
|
-
export { useQueryFormItems };
|
|
1
|
+
import { QueryFormProps } from "./types";
|
|
2
|
+
import { TinyEmitter } from "../util/tiny-emitter";
|
|
3
|
+
declare function useQueryFormItems(props: QueryFormProps, queryFormEventBus: TinyEmitter): any[];
|
|
4
|
+
export { useQueryFormItems };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function useQueryFormLayout(ref: any, fixProps: any, initialFormWidth?: number, initialRowCount?: number): any;
|
|
2
|
-
export { useQueryFormLayout };
|
|
1
|
+
declare function useQueryFormLayout(ref: any, fixProps: any, initialFormWidth?: number, initialRowCount?: number): any;
|
|
2
|
+
export { useQueryFormLayout };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { QueryFormProps } from "./types";
|
|
3
|
-
declare function QueryForm(props: QueryFormProps): import("react").JSX.Element;
|
|
4
|
-
declare namespace QueryForm {
|
|
5
|
-
var defaultProps: {
|
|
6
|
-
prefix: string;
|
|
7
|
-
isUseCard: boolean;
|
|
8
|
-
isPreview: boolean;
|
|
9
|
-
labelAlign: string;
|
|
10
|
-
layout: string;
|
|
11
|
-
initialFormWidth: number;
|
|
12
|
-
initialRowCount: number;
|
|
13
|
-
layoutProps: {
|
|
14
|
-
gap: number[];
|
|
15
|
-
columns: number;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
var Item: typeof import("../form2/form-item").default;
|
|
19
|
-
}
|
|
20
|
-
export { QueryForm };
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { QueryFormProps } from "./types";
|
|
3
|
+
declare function QueryForm(props: QueryFormProps): import("react").JSX.Element;
|
|
4
|
+
declare namespace QueryForm {
|
|
5
|
+
var defaultProps: {
|
|
6
|
+
prefix: string;
|
|
7
|
+
isUseCard: boolean;
|
|
8
|
+
isPreview: boolean;
|
|
9
|
+
labelAlign: string;
|
|
10
|
+
layout: string;
|
|
11
|
+
initialFormWidth: number;
|
|
12
|
+
initialRowCount: number;
|
|
13
|
+
layoutProps: {
|
|
14
|
+
gap: number[];
|
|
15
|
+
columns: number;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
var Item: typeof import("../form2/form-item").default;
|
|
19
|
+
}
|
|
20
|
+
export { QueryForm };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { FormProps } from "../form2/form-types";
|
|
2
|
-
export interface QueryFormProps extends FormProps {
|
|
3
|
-
isUseCard?: boolean;
|
|
4
|
-
/**
|
|
5
|
-
* 初始宽度。对于一些特殊场景,可以提前设置宽度,减少一次渲染,默认: 0
|
|
6
|
-
*/
|
|
7
|
-
initialFormWidth?: number;
|
|
8
|
-
/**
|
|
9
|
-
* 初始显示行数
|
|
10
|
-
*/
|
|
11
|
-
initialRowCount?: number;
|
|
12
|
-
}
|
|
1
|
+
import { FormProps } from "../form2/form-types";
|
|
2
|
+
export interface QueryFormProps extends FormProps {
|
|
3
|
+
isUseCard?: boolean;
|
|
4
|
+
/**
|
|
5
|
+
* 初始宽度。对于一些特殊场景,可以提前设置宽度,减少一次渲染,默认: 0
|
|
6
|
+
*/
|
|
7
|
+
initialFormWidth?: number;
|
|
8
|
+
/**
|
|
9
|
+
* 初始显示行数
|
|
10
|
+
*/
|
|
11
|
+
initialRowCount?: number;
|
|
12
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Point } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* This function check if a given point is inside of the items rect.
|
|
4
|
-
* If it's not inside any rect, it will return the index of the closest rect
|
|
5
|
-
*/
|
|
6
|
-
export declare const findItemIndexAtPosition: ({ x, y }: Point, itemsRect: DOMRect[], { fallbackToClosest }?: {
|
|
7
|
-
fallbackToClosest?: boolean;
|
|
8
|
-
}) => number;
|
|
1
|
+
import { Point } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* This function check if a given point is inside of the items rect.
|
|
4
|
+
* If it's not inside any rect, it will return the index of the closest rect
|
|
5
|
+
*/
|
|
6
|
+
export declare const findItemIndexAtPosition: ({ x, y }: Point, itemsRect: DOMRect[], { fallbackToClosest }?: {
|
|
7
|
+
fallbackToClosest?: boolean;
|
|
8
|
+
}) => number;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Point } from './types';
|
|
3
|
-
export type OnStartArgs = {
|
|
4
|
-
point: Point;
|
|
5
|
-
pointInWindow: Point;
|
|
6
|
-
};
|
|
7
|
-
export type OnMoveArgs = {
|
|
8
|
-
point: Point;
|
|
9
|
-
pointInWindow: Point;
|
|
10
|
-
};
|
|
11
|
-
type UseDragProps = {
|
|
12
|
-
onStart?: (args: OnStartArgs) => void;
|
|
13
|
-
onMove?: (args: OnMoveArgs) => void;
|
|
14
|
-
onEnd?: () => void;
|
|
15
|
-
allowDrag?: boolean;
|
|
16
|
-
containerRef: React.MutableRefObject<HTMLElement | null>;
|
|
17
|
-
knobs?: HTMLElement[];
|
|
18
|
-
};
|
|
19
|
-
export declare const useDrag: ({ onStart, onMove, onEnd, allowDrag, containerRef, knobs, }: UseDragProps) => {
|
|
20
|
-
onMouseDown?: undefined;
|
|
21
|
-
} | {
|
|
22
|
-
onMouseDown: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
23
|
-
};
|
|
24
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Point } from './types';
|
|
3
|
+
export type OnStartArgs = {
|
|
4
|
+
point: Point;
|
|
5
|
+
pointInWindow: Point;
|
|
6
|
+
};
|
|
7
|
+
export type OnMoveArgs = {
|
|
8
|
+
point: Point;
|
|
9
|
+
pointInWindow: Point;
|
|
10
|
+
};
|
|
11
|
+
type UseDragProps = {
|
|
12
|
+
onStart?: (args: OnStartArgs) => void;
|
|
13
|
+
onMove?: (args: OnMoveArgs) => void;
|
|
14
|
+
onEnd?: () => void;
|
|
15
|
+
allowDrag?: boolean;
|
|
16
|
+
containerRef: React.MutableRefObject<HTMLElement | null>;
|
|
17
|
+
knobs?: HTMLElement[];
|
|
18
|
+
};
|
|
19
|
+
export declare const useDrag: ({ onStart, onMove, onEnd, allowDrag, containerRef, knobs, }: UseDragProps) => {
|
|
20
|
+
onMouseDown?: undefined;
|
|
21
|
+
} | {
|
|
22
|
+
onMouseDown: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
23
|
+
};
|
|
24
|
+
export {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare function SortableList(props: any): import("react").JSX.Element;
|
|
3
|
-
declare namespace SortableList {
|
|
4
|
-
var SortableKnob: ({ children }: {
|
|
5
|
-
children: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
6
|
-
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
7
|
-
var SortableItem: ({ children }: {
|
|
8
|
-
children: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
9
|
-
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
10
|
-
var SortableList: typeof import(".").default;
|
|
11
|
-
var SortableTable: unknown;
|
|
12
|
-
var SortableEditableTable: unknown;
|
|
13
|
-
}
|
|
14
|
-
export default SortableList;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare function SortableList(props: any): import("react").JSX.Element;
|
|
3
|
+
declare namespace SortableList {
|
|
4
|
+
var SortableKnob: ({ children }: {
|
|
5
|
+
children: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
6
|
+
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
7
|
+
var SortableItem: ({ children }: {
|
|
8
|
+
children: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
9
|
+
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
10
|
+
var SortableList: typeof import(".").default;
|
|
11
|
+
var SortableTable: unknown;
|
|
12
|
+
var SortableEditableTable: unknown;
|
|
13
|
+
}
|
|
14
|
+
export default SortableList;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const SortableEditableTable: unknown;
|
|
2
|
-
export { SortableEditableTable };
|
|
1
|
+
declare const SortableEditableTable: unknown;
|
|
2
|
+
export { SortableEditableTable };
|