fat-design 0.0.1-beta.20250918153356 → 0.0.1-beta.20250927122721
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 +1 -1
- package/index.browser.js +4 -4
- package/index.js +10 -3
- package/index.umd.cjs +3 -3
- package/index.umd.js +3 -3
- 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 +97 -0
- 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 -37
- 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 +390 -390
- 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 +16 -16
- 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 +66 -66
- 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 +3 -3
- package/types/0buildTypes/query-form/query-form-layout.d.ts +2 -2
- package/types/0buildTypes/query-form/query-form.d.ts +17 -17
- package/types/0buildTypes/query-form/types.d.ts +5 -5
- 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 +78 -78
- package/types/batch-input/index.d.ts +152 -152
- package/types/box/index.d.ts +18 -18
- 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/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/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 +67 -67
- package/types/input/index.d.ts +367 -367
- 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 -164
- 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/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 -124
- 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 +50 -50
- package/types/virtual-list/index.d.ts +44 -44
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
.fatd-theme-purple {
|
|
2
|
-
--color-brand1-1: rgba(230, 226, 251, 1);
|
|
3
|
-
--color-brand1-6: #7C48DB;
|
|
4
|
-
--color-brand1-9: rgba(99, 58, 175, 1);
|
|
5
|
-
--color-data1-1: rgba(127, 186, 122, 1);
|
|
6
|
-
--color-data1-2: rgba(56, 81, 255, 1);
|
|
7
|
-
--color-data1-3: rgba(124, 141, 255, 1);
|
|
8
|
-
--color-data1-4: rgba(219, 72, 72, 1);
|
|
9
|
-
--color-data1-5: rgba(255, 117, 76, 1);
|
|
10
|
-
--color-data1-6: rgba(254, 229, 136, 1);
|
|
11
|
-
--color-data1-7: rgba(1, 226, 138, 1);
|
|
12
|
-
--color-data1-8: rgba(155, 252, 131, 1);
|
|
13
|
-
--color-data1-9: #FFFFFF;
|
|
14
|
-
--color-error-1: rgba(255, 241, 240, 1);
|
|
15
|
-
--color-error-2: rgba(255, 163, 158, 1);
|
|
16
|
-
--color-error-3: rgba(255, 77, 79, 1);
|
|
17
|
-
--color-error-4: rgba(201, 11, 48, 1);
|
|
18
|
-
--color-fill1-1: rgba(248, 248, 248, 1);
|
|
19
|
-
--color-fill1-2: rgba(243, 243, 243, 1);
|
|
20
|
-
--color-fill1-3: rgba(230, 230, 230, 1);
|
|
21
|
-
--color-fill1-4: rgba(214, 214, 214, 1);
|
|
22
|
-
--color-fill1-5: rgba(200, 200, 200, 1);
|
|
23
|
-
--color-help-1: rgba(232, 243, 252, 1);
|
|
24
|
-
--color-help-2: rgba(128, 193, 254, 1);
|
|
25
|
-
--color-help-3: rgba(22, 119, 255, 1);
|
|
26
|
-
--color-help-4: rgba(7, 57, 184, 1);
|
|
27
|
-
--color-line1-1: rgba(248, 248, 248, 1);
|
|
28
|
-
--color-line1-2: rgba(227, 227, 230, 1);
|
|
29
|
-
--color-line1-3: rgba(200, 201, 208, 1);
|
|
30
|
-
--color-line1-4: rgba(128, 129, 145, 1);
|
|
31
|
-
--color-link-1: #7C48DB;
|
|
32
|
-
--color-link-2: rgba(124, 72, 219, 1);
|
|
33
|
-
--color-link-3: rgba(99, 58, 175, 1);
|
|
34
|
-
--color-notice-1: rgba(242, 236, 251, 1);
|
|
35
|
-
--color-notice-2: rgba(177, 146, 233, 1);
|
|
36
|
-
--color-notice-3: rgba(124, 72, 219, 1);
|
|
37
|
-
--color-notice-4: rgba(99, 58, 175, 1);
|
|
38
|
-
--color-other-1: rgba(242, 236, 251, 1);
|
|
39
|
-
--color-other-2: rgba(155, 155, 155, 1);
|
|
40
|
-
--color-other-3: rgba(155, 155, 155, 1);
|
|
41
|
-
--color-success-1: rgba(232, 249, 237, 1);
|
|
42
|
-
--color-success-2: rgba(150, 231, 177, 1);
|
|
43
|
-
--color-success-3: rgba(45, 208, 99, 1);
|
|
44
|
-
--color-success-4: rgba(36, 166, 79, 1);
|
|
45
|
-
--color-text1-1: rgba(221, 221, 226, 1);
|
|
46
|
-
--color-text1-2: rgba(187, 187, 193, 1);
|
|
47
|
-
--color-text1-3: rgba(134, 134, 142, 1);
|
|
48
|
-
--color-text1-4: rgba(51, 51, 51, 1);
|
|
49
|
-
--color-text1-5: rgba(26, 28, 29, 1);
|
|
50
|
-
--color-warning-1: rgba(255, 251, 230, 1);
|
|
51
|
-
--color-warning-2: rgba(255, 229, 143, 1);
|
|
52
|
-
--color-warning-3: rgba(250, 173, 20, 1);
|
|
53
|
-
--color-warning-4: rgba(204, 117, 0, 1);
|
|
1
|
+
.fatd-theme-purple {
|
|
2
|
+
--color-brand1-1: rgba(230, 226, 251, 1);
|
|
3
|
+
--color-brand1-6: #7C48DB;
|
|
4
|
+
--color-brand1-9: rgba(99, 58, 175, 1);
|
|
5
|
+
--color-data1-1: rgba(127, 186, 122, 1);
|
|
6
|
+
--color-data1-2: rgba(56, 81, 255, 1);
|
|
7
|
+
--color-data1-3: rgba(124, 141, 255, 1);
|
|
8
|
+
--color-data1-4: rgba(219, 72, 72, 1);
|
|
9
|
+
--color-data1-5: rgba(255, 117, 76, 1);
|
|
10
|
+
--color-data1-6: rgba(254, 229, 136, 1);
|
|
11
|
+
--color-data1-7: rgba(1, 226, 138, 1);
|
|
12
|
+
--color-data1-8: rgba(155, 252, 131, 1);
|
|
13
|
+
--color-data1-9: #FFFFFF;
|
|
14
|
+
--color-error-1: rgba(255, 241, 240, 1);
|
|
15
|
+
--color-error-2: rgba(255, 163, 158, 1);
|
|
16
|
+
--color-error-3: rgba(255, 77, 79, 1);
|
|
17
|
+
--color-error-4: rgba(201, 11, 48, 1);
|
|
18
|
+
--color-fill1-1: rgba(248, 248, 248, 1);
|
|
19
|
+
--color-fill1-2: rgba(243, 243, 243, 1);
|
|
20
|
+
--color-fill1-3: rgba(230, 230, 230, 1);
|
|
21
|
+
--color-fill1-4: rgba(214, 214, 214, 1);
|
|
22
|
+
--color-fill1-5: rgba(200, 200, 200, 1);
|
|
23
|
+
--color-help-1: rgba(232, 243, 252, 1);
|
|
24
|
+
--color-help-2: rgba(128, 193, 254, 1);
|
|
25
|
+
--color-help-3: rgba(22, 119, 255, 1);
|
|
26
|
+
--color-help-4: rgba(7, 57, 184, 1);
|
|
27
|
+
--color-line1-1: rgba(248, 248, 248, 1);
|
|
28
|
+
--color-line1-2: rgba(227, 227, 230, 1);
|
|
29
|
+
--color-line1-3: rgba(200, 201, 208, 1);
|
|
30
|
+
--color-line1-4: rgba(128, 129, 145, 1);
|
|
31
|
+
--color-link-1: #7C48DB;
|
|
32
|
+
--color-link-2: rgba(124, 72, 219, 1);
|
|
33
|
+
--color-link-3: rgba(99, 58, 175, 1);
|
|
34
|
+
--color-notice-1: rgba(242, 236, 251, 1);
|
|
35
|
+
--color-notice-2: rgba(177, 146, 233, 1);
|
|
36
|
+
--color-notice-3: rgba(124, 72, 219, 1);
|
|
37
|
+
--color-notice-4: rgba(99, 58, 175, 1);
|
|
38
|
+
--color-other-1: rgba(242, 236, 251, 1);
|
|
39
|
+
--color-other-2: rgba(155, 155, 155, 1);
|
|
40
|
+
--color-other-3: rgba(155, 155, 155, 1);
|
|
41
|
+
--color-success-1: rgba(232, 249, 237, 1);
|
|
42
|
+
--color-success-2: rgba(150, 231, 177, 1);
|
|
43
|
+
--color-success-3: rgba(45, 208, 99, 1);
|
|
44
|
+
--color-success-4: rgba(36, 166, 79, 1);
|
|
45
|
+
--color-text1-1: rgba(221, 221, 226, 1);
|
|
46
|
+
--color-text1-2: rgba(187, 187, 193, 1);
|
|
47
|
+
--color-text1-3: rgba(134, 134, 142, 1);
|
|
48
|
+
--color-text1-4: rgba(51, 51, 51, 1);
|
|
49
|
+
--color-text1-5: rgba(26, 28, 29, 1);
|
|
50
|
+
--color-warning-1: rgba(255, 251, 230, 1);
|
|
51
|
+
--color-warning-2: rgba(255, 229, 143, 1);
|
|
52
|
+
--color-warning-3: rgba(250, 173, 20, 1);
|
|
53
|
+
--color-warning-4: rgba(204, 117, 0, 1);
|
|
54
54
|
}
|
package/libs/theme/theme-red.css
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
.fatd-theme-red {
|
|
2
|
-
--color-black: #000;
|
|
3
|
-
--color-brand1-2: #dee1f3;
|
|
4
|
-
--color-brand1-6: #e9424d;
|
|
5
|
-
--color-brand1-9: #c22d3b;
|
|
6
|
-
--color-data1-1: #26dad0;
|
|
7
|
-
--color-data1-2: #5c89ff;
|
|
8
|
-
--color-data1-3: #7c6af2;
|
|
9
|
-
--color-data1-4: #c95ff2;
|
|
10
|
-
--color-data1-5: #ff6383;
|
|
11
|
-
--color-data1-6: #ff9f40;
|
|
12
|
-
--color-data1-7: #ffcb48;
|
|
13
|
-
--color-data1-8: #31dc72;
|
|
14
|
-
--color-error-1: #fdeeea;
|
|
15
|
-
--color-error-2: #fdc9c3;
|
|
16
|
-
--color-error-3: #f3552e;
|
|
17
|
-
--color-error-4: #d13921;
|
|
18
|
-
--color-fill1-1: #f6f7f8;
|
|
19
|
-
--color-fill1-2: #f2f3f5;
|
|
20
|
-
--color-fill1-3: #e6e8ec;
|
|
21
|
-
--color-fill1-4: #dadde4;
|
|
22
|
-
--color-help-1: #e7e9ee;
|
|
23
|
-
--color-help-2: #d1d6df;
|
|
24
|
-
--color-help-3: #abb3c2;
|
|
25
|
-
--color-help-4: #8892a3;
|
|
26
|
-
--color-line1-1: #e6e8ec;
|
|
27
|
-
--color-line1-2: #e3e4e7;
|
|
28
|
-
--color-line1-3: #d0d2d8;
|
|
29
|
-
--color-line1-4: #c1c3ca;
|
|
30
|
-
--color-link-1: rgba(217, 87, 17, 1);
|
|
31
|
-
--color-link-2: #c22d3b;
|
|
32
|
-
--color-link-3: #c22d3b;
|
|
33
|
-
--color-link-4: #333;
|
|
34
|
-
--color-link-5: #666;
|
|
35
|
-
--color-notice-1: #eaf3fe;
|
|
36
|
-
--color-notice-2: #c4e4fd;
|
|
37
|
-
--color-notice-3: #2f88f5;
|
|
38
|
-
--color-notice-4: #1254ba;
|
|
39
|
-
--color-other-1: #fff0e6;
|
|
40
|
-
--color-other-2: #ff6a00;
|
|
41
|
-
--color-other-3: #e35300;
|
|
42
|
-
--color-success-1: #e2f6f0;
|
|
43
|
-
--color-success-2: #bcf3da;
|
|
44
|
-
--color-success-3: #25c28b;
|
|
45
|
-
--color-success-4: #0fa176;
|
|
46
|
-
--color-text1-1: #ccc;
|
|
47
|
-
--color-text1-2: #999;
|
|
48
|
-
--color-text1-3: #666;
|
|
49
|
-
--color-text1-4: #333;
|
|
50
|
-
--color-transparent: transparent;
|
|
51
|
-
--color-warning-1: #fef4ea;
|
|
52
|
-
--color-warning-2: #fdd8c3;
|
|
53
|
-
--color-warning-3: #f38b2e;
|
|
54
|
-
--color-warning-4: #cf6c23;
|
|
55
|
-
--color-white: #fff;
|
|
1
|
+
.fatd-theme-red {
|
|
2
|
+
--color-black: #000;
|
|
3
|
+
--color-brand1-2: #dee1f3;
|
|
4
|
+
--color-brand1-6: #e9424d;
|
|
5
|
+
--color-brand1-9: #c22d3b;
|
|
6
|
+
--color-data1-1: #26dad0;
|
|
7
|
+
--color-data1-2: #5c89ff;
|
|
8
|
+
--color-data1-3: #7c6af2;
|
|
9
|
+
--color-data1-4: #c95ff2;
|
|
10
|
+
--color-data1-5: #ff6383;
|
|
11
|
+
--color-data1-6: #ff9f40;
|
|
12
|
+
--color-data1-7: #ffcb48;
|
|
13
|
+
--color-data1-8: #31dc72;
|
|
14
|
+
--color-error-1: #fdeeea;
|
|
15
|
+
--color-error-2: #fdc9c3;
|
|
16
|
+
--color-error-3: #f3552e;
|
|
17
|
+
--color-error-4: #d13921;
|
|
18
|
+
--color-fill1-1: #f6f7f8;
|
|
19
|
+
--color-fill1-2: #f2f3f5;
|
|
20
|
+
--color-fill1-3: #e6e8ec;
|
|
21
|
+
--color-fill1-4: #dadde4;
|
|
22
|
+
--color-help-1: #e7e9ee;
|
|
23
|
+
--color-help-2: #d1d6df;
|
|
24
|
+
--color-help-3: #abb3c2;
|
|
25
|
+
--color-help-4: #8892a3;
|
|
26
|
+
--color-line1-1: #e6e8ec;
|
|
27
|
+
--color-line1-2: #e3e4e7;
|
|
28
|
+
--color-line1-3: #d0d2d8;
|
|
29
|
+
--color-line1-4: #c1c3ca;
|
|
30
|
+
--color-link-1: rgba(217, 87, 17, 1);
|
|
31
|
+
--color-link-2: #c22d3b;
|
|
32
|
+
--color-link-3: #c22d3b;
|
|
33
|
+
--color-link-4: #333;
|
|
34
|
+
--color-link-5: #666;
|
|
35
|
+
--color-notice-1: #eaf3fe;
|
|
36
|
+
--color-notice-2: #c4e4fd;
|
|
37
|
+
--color-notice-3: #2f88f5;
|
|
38
|
+
--color-notice-4: #1254ba;
|
|
39
|
+
--color-other-1: #fff0e6;
|
|
40
|
+
--color-other-2: #ff6a00;
|
|
41
|
+
--color-other-3: #e35300;
|
|
42
|
+
--color-success-1: #e2f6f0;
|
|
43
|
+
--color-success-2: #bcf3da;
|
|
44
|
+
--color-success-3: #25c28b;
|
|
45
|
+
--color-success-4: #0fa176;
|
|
46
|
+
--color-text1-1: #ccc;
|
|
47
|
+
--color-text1-2: #999;
|
|
48
|
+
--color-text1-3: #666;
|
|
49
|
+
--color-text1-4: #333;
|
|
50
|
+
--color-transparent: transparent;
|
|
51
|
+
--color-warning-1: #fef4ea;
|
|
52
|
+
--color-warning-2: #fdd8c3;
|
|
53
|
+
--color-warning-3: #f38b2e;
|
|
54
|
+
--color-warning-4: #cf6c23;
|
|
55
|
+
--color-white: #fff;
|
|
56
56
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fat-design",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.20250927122721",
|
|
4
4
|
"scripts": {},
|
|
5
5
|
"main": "index.umd.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"publishConfig": {
|
|
17
17
|
"registry": "https://registry.npmjs.org"
|
|
18
18
|
},
|
|
19
|
-
"buildTime": "
|
|
19
|
+
"buildTime": "Sat, 27 Sep 2025 04:27:21 GMT"
|
|
20
20
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IConfigValues } from "./v2/types";
|
|
2
|
-
export declare const defaultPrefix = "fatd-";
|
|
3
|
-
export declare const defaultConfigValues: IConfigValues;
|
|
1
|
+
import { IConfigValues } from "./v2/types";
|
|
2
|
+
export declare const defaultPrefix = "fatd-";
|
|
3
|
+
export declare const defaultConfigValues: IConfigValues;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConfigProvider } from "./v2";
|
|
2
|
-
import { defaultPrefix } from './constants';
|
|
3
|
-
export { defaultPrefix };
|
|
4
|
-
export default ConfigProvider;
|
|
1
|
+
import { ConfigProvider } from "./v2";
|
|
2
|
+
import { defaultPrefix } from './constants';
|
|
3
|
+
export { defaultPrefix };
|
|
4
|
+
export default ConfigProvider;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
declare function withConsumer(Component: any, options?: any): React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
|
|
3
|
-
export { withConsumer };
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare function withConsumer(Component: any, options?: any): React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
|
|
3
|
+
export { withConsumer };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { PreciseStore } from "../../hooks/usePreciseStore.js";
|
|
3
|
-
declare const configContext: React.Context<import("./types.js").IConfigValues>;
|
|
4
|
-
declare const CONFIG_VALUES_PATH = "configValues";
|
|
5
|
-
declare const configStore: PreciseStore;
|
|
6
|
-
export { configStore, configContext, CONFIG_VALUES_PATH };
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { PreciseStore } from "../../hooks/usePreciseStore.js";
|
|
3
|
+
declare const configContext: React.Context<import("./types.js").IConfigValues>;
|
|
4
|
+
declare const CONFIG_VALUES_PATH = "configValues";
|
|
5
|
+
declare const configStore: PreciseStore;
|
|
6
|
+
export { configStore, configContext, CONFIG_VALUES_PATH };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
export default class ErrorBoundary extends React.Component<any, any> {
|
|
4
|
-
static propTypes: {
|
|
5
|
-
children: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
6
|
-
/**
|
|
7
|
-
* 捕获错误后的自定义处理, 比如埋点上传
|
|
8
|
-
* @param {Object} error 错误
|
|
9
|
-
* @param {Object} errorInfo 错误详细信息
|
|
10
|
-
*/
|
|
11
|
-
afterCatch: PropTypes.Requireable<(...args: any[]) => any>;
|
|
12
|
-
/**
|
|
13
|
-
* 捕获错误后的展现 自定义组件
|
|
14
|
-
* @param {Object} error 错误
|
|
15
|
-
* @param {Object} errorInfo 错误详细信息
|
|
16
|
-
* @returns {Element} 捕获错误后的处理
|
|
17
|
-
*/
|
|
18
|
-
fallbackUI: PropTypes.Requireable<(...args: any[]) => any>;
|
|
19
|
-
/**
|
|
20
|
-
* 被捕获的组件名
|
|
21
|
-
*/
|
|
22
|
-
componentName: PropTypes.Requireable<string>;
|
|
23
|
-
};
|
|
24
|
-
constructor(props: any);
|
|
25
|
-
componentDidCatch(error: any, errorInfo: any): void;
|
|
26
|
-
render(): any;
|
|
27
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
export default class ErrorBoundary extends React.Component<any, any> {
|
|
4
|
+
static propTypes: {
|
|
5
|
+
children: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
6
|
+
/**
|
|
7
|
+
* 捕获错误后的自定义处理, 比如埋点上传
|
|
8
|
+
* @param {Object} error 错误
|
|
9
|
+
* @param {Object} errorInfo 错误详细信息
|
|
10
|
+
*/
|
|
11
|
+
afterCatch: PropTypes.Requireable<(...args: any[]) => any>;
|
|
12
|
+
/**
|
|
13
|
+
* 捕获错误后的展现 自定义组件
|
|
14
|
+
* @param {Object} error 错误
|
|
15
|
+
* @param {Object} errorInfo 错误详细信息
|
|
16
|
+
* @returns {Element} 捕获错误后的处理
|
|
17
|
+
*/
|
|
18
|
+
fallbackUI: PropTypes.Requireable<(...args: any[]) => any>;
|
|
19
|
+
/**
|
|
20
|
+
* 被捕获的组件名
|
|
21
|
+
*/
|
|
22
|
+
componentName: PropTypes.Requireable<string>;
|
|
23
|
+
};
|
|
24
|
+
constructor(props: any);
|
|
25
|
+
componentDidCatch(error: any, errorInfo: any): void;
|
|
26
|
+
render(): any;
|
|
27
|
+
}
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import { IConfigValues, IGetContextProps } from "./types";
|
|
2
|
-
import PropTypes from "prop-types";
|
|
3
|
-
declare function getContext(): IConfigValues;
|
|
4
|
-
declare function setContext(updates: IConfigValues, justSetValue?: boolean): void;
|
|
5
|
-
declare function getLocale(): any;
|
|
6
|
-
declare function getLanguage(): string;
|
|
7
|
-
declare function getDirection(): boolean;
|
|
8
|
-
declare function getDisplayName(Component: any, options?: any): string;
|
|
9
|
-
/**
|
|
10
|
-
* 合并组件props和context配置
|
|
11
|
-
* @param args 参数支持两个或三个
|
|
12
|
-
* props,contextValues,displayName
|
|
13
|
-
* props,displayName
|
|
14
|
-
*/
|
|
15
|
-
declare function getContextProps(args: IGetContextProps): {
|
|
16
|
-
prefix: any;
|
|
17
|
-
locale: any;
|
|
18
|
-
rtl: boolean;
|
|
19
|
-
warning: boolean;
|
|
20
|
-
defaultPropsConfig: any;
|
|
21
|
-
device: any;
|
|
22
|
-
popupContainer: any;
|
|
23
|
-
errorBoundary: any;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* 设置所有文案。
|
|
27
|
-
* @param globalLocales 所有语言下的所有文案。
|
|
28
|
-
*/
|
|
29
|
-
declare function initLocales(globalLocales: any): void;
|
|
30
|
-
/**
|
|
31
|
-
* 当前语言类型:如:zh-cn / en-us
|
|
32
|
-
* @param language
|
|
33
|
-
*/
|
|
34
|
-
declare function setLanguage(language: string): void;
|
|
35
|
-
declare function setLocale(locale: any): void;
|
|
36
|
-
declare function setDirection(dir: string): void;
|
|
37
|
-
declare const commonPropNames: string[];
|
|
38
|
-
declare const setMomentLocale: (locale: any) => void;
|
|
39
|
-
declare const setDateLocale: (locale: any) => void;
|
|
40
|
-
declare const getCommonPropTypes: () => {
|
|
41
|
-
prefix: PropTypes.Requireable<string>;
|
|
42
|
-
locale: PropTypes.Requireable<object>;
|
|
43
|
-
defaultPropsConfig: PropTypes.Requireable<object>;
|
|
44
|
-
errorBoundary: PropTypes.Requireable<NonNullable<boolean | object>>;
|
|
45
|
-
pure: PropTypes.Requireable<boolean>;
|
|
46
|
-
warning: PropTypes.Requireable<boolean>;
|
|
47
|
-
rtl: PropTypes.Requireable<boolean>;
|
|
48
|
-
device: PropTypes.Requireable<string>;
|
|
49
|
-
children: PropTypes.Requireable<any>;
|
|
50
|
-
popupContainer: PropTypes.Requireable<any>;
|
|
51
|
-
};
|
|
52
|
-
declare const providerFunctions: {
|
|
53
|
-
getContextProps: typeof getContextProps;
|
|
54
|
-
getContext: typeof getContext;
|
|
55
|
-
getLocale: typeof getLocale;
|
|
56
|
-
getLanguage: typeof getLanguage;
|
|
57
|
-
getDirection: typeof getDirection;
|
|
58
|
-
initLocales: typeof initLocales;
|
|
59
|
-
setLanguage: typeof setLanguage;
|
|
60
|
-
setLocale: typeof setLocale;
|
|
61
|
-
setDirection: typeof setDirection;
|
|
62
|
-
setContext: typeof setContext;
|
|
63
|
-
setMomentLocale: (locale: any) => void;
|
|
64
|
-
setDateLocale: (locale: any) => void;
|
|
65
|
-
};
|
|
66
|
-
export { getCommonPropTypes, getDisplayName, setMomentLocale, setDateLocale, providerFunctions, commonPropNames };
|
|
1
|
+
import { IConfigValues, IGetContextProps } from "./types";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
declare function getContext(): IConfigValues;
|
|
4
|
+
declare function setContext(updates: IConfigValues, justSetValue?: boolean): void;
|
|
5
|
+
declare function getLocale(): any;
|
|
6
|
+
declare function getLanguage(): string;
|
|
7
|
+
declare function getDirection(): boolean;
|
|
8
|
+
declare function getDisplayName(Component: any, options?: any): string;
|
|
9
|
+
/**
|
|
10
|
+
* 合并组件props和context配置
|
|
11
|
+
* @param args 参数支持两个或三个
|
|
12
|
+
* props,contextValues,displayName
|
|
13
|
+
* props,displayName
|
|
14
|
+
*/
|
|
15
|
+
declare function getContextProps(args: IGetContextProps): {
|
|
16
|
+
prefix: any;
|
|
17
|
+
locale: any;
|
|
18
|
+
rtl: boolean;
|
|
19
|
+
warning: boolean;
|
|
20
|
+
defaultPropsConfig: any;
|
|
21
|
+
device: any;
|
|
22
|
+
popupContainer: any;
|
|
23
|
+
errorBoundary: any;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* 设置所有文案。
|
|
27
|
+
* @param globalLocales 所有语言下的所有文案。
|
|
28
|
+
*/
|
|
29
|
+
declare function initLocales(globalLocales: any): void;
|
|
30
|
+
/**
|
|
31
|
+
* 当前语言类型:如:zh-cn / en-us
|
|
32
|
+
* @param language
|
|
33
|
+
*/
|
|
34
|
+
declare function setLanguage(language: string): void;
|
|
35
|
+
declare function setLocale(locale: any): void;
|
|
36
|
+
declare function setDirection(dir: string): void;
|
|
37
|
+
declare const commonPropNames: string[];
|
|
38
|
+
declare const setMomentLocale: (locale: any) => void;
|
|
39
|
+
declare const setDateLocale: (locale: any) => void;
|
|
40
|
+
declare const getCommonPropTypes: () => {
|
|
41
|
+
prefix: PropTypes.Requireable<string>;
|
|
42
|
+
locale: PropTypes.Requireable<object>;
|
|
43
|
+
defaultPropsConfig: PropTypes.Requireable<object>;
|
|
44
|
+
errorBoundary: PropTypes.Requireable<NonNullable<boolean | object>>;
|
|
45
|
+
pure: PropTypes.Requireable<boolean>;
|
|
46
|
+
warning: PropTypes.Requireable<boolean>;
|
|
47
|
+
rtl: PropTypes.Requireable<boolean>;
|
|
48
|
+
device: PropTypes.Requireable<string>;
|
|
49
|
+
children: PropTypes.Requireable<any>;
|
|
50
|
+
popupContainer: PropTypes.Requireable<any>;
|
|
51
|
+
};
|
|
52
|
+
declare const providerFunctions: {
|
|
53
|
+
getContextProps: typeof getContextProps;
|
|
54
|
+
getContext: typeof getContext;
|
|
55
|
+
getLocale: typeof getLocale;
|
|
56
|
+
getLanguage: typeof getLanguage;
|
|
57
|
+
getDirection: typeof getDirection;
|
|
58
|
+
initLocales: typeof initLocales;
|
|
59
|
+
setLanguage: typeof setLanguage;
|
|
60
|
+
setLocale: typeof setLocale;
|
|
61
|
+
setDirection: typeof setDirection;
|
|
62
|
+
setContext: typeof setContext;
|
|
63
|
+
setMomentLocale: (locale: any) => void;
|
|
64
|
+
setDateLocale: (locale: any) => void;
|
|
65
|
+
};
|
|
66
|
+
export { getCommonPropTypes, getDisplayName, setMomentLocale, setDateLocale, providerFunctions, commonPropNames };
|
|
@@ -1,37 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
static
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
static
|
|
19
|
-
static
|
|
20
|
-
static
|
|
21
|
-
static
|
|
22
|
-
static
|
|
23
|
-
static
|
|
24
|
-
static
|
|
25
|
-
static
|
|
26
|
-
static
|
|
27
|
-
static
|
|
28
|
-
static
|
|
29
|
-
static
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
export { ConfigProvider };
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IConfigProviderProps, IGetContextProps } from "./types";
|
|
3
|
+
declare class ConfigProvider extends React.Component<IConfigProviderProps, any> {
|
|
4
|
+
static defaultPrefix: string;
|
|
5
|
+
static propTypes: {
|
|
6
|
+
prefix: import("prop-types").Requireable<string>;
|
|
7
|
+
locale: import("prop-types").Requireable<object>;
|
|
8
|
+
defaultPropsConfig: import("prop-types").Requireable<object>;
|
|
9
|
+
errorBoundary: import("prop-types").Requireable<NonNullable<boolean | object>>;
|
|
10
|
+
pure: import("prop-types").Requireable<boolean>;
|
|
11
|
+
warning: import("prop-types").Requireable<boolean>;
|
|
12
|
+
rtl: import("prop-types").Requireable<boolean>;
|
|
13
|
+
device: import("prop-types").Requireable<string>;
|
|
14
|
+
children: import("prop-types").Requireable<any>;
|
|
15
|
+
popupContainer: import("prop-types").Requireable<any>;
|
|
16
|
+
};
|
|
17
|
+
static config<T>(Component: any, options?: any): T;
|
|
18
|
+
static configFn<T>(Component: any, options?: any): T;
|
|
19
|
+
static getContext(): import("./types").IConfigValues;
|
|
20
|
+
static getContextProps(args: IGetContextProps): any;
|
|
21
|
+
static initLocales(locales: any): void;
|
|
22
|
+
static setLanguage(language: string): void;
|
|
23
|
+
static setLocale(locale: any): void;
|
|
24
|
+
static setDirection(dir: string): any;
|
|
25
|
+
static getLocale(): any;
|
|
26
|
+
static getLanguage(): string;
|
|
27
|
+
static getDirection(): string;
|
|
28
|
+
static getPrefix(): string;
|
|
29
|
+
static createBoolComponent(Component: any, displayName?: string): {
|
|
30
|
+
(props: any): React.JSX.Element;
|
|
31
|
+
displayName: string;
|
|
32
|
+
};
|
|
33
|
+
constructor(props: IConfigProviderProps);
|
|
34
|
+
render(): React.JSX.Element;
|
|
35
|
+
}
|
|
36
|
+
export { ConfigProvider };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { IConfigProviderProps } from "./types";
|
|
3
|
-
declare function ConfigProvider(props: IConfigProviderProps): React.JSX.Element;
|
|
4
|
-
export { ConfigProvider };
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IConfigProviderProps } from "./types";
|
|
3
|
+
declare function ConfigProvider(props: IConfigProviderProps): React.JSX.Element;
|
|
4
|
+
export { ConfigProvider };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export interface IConfigValues {
|
|
2
|
-
prefix?: string | null;
|
|
3
|
-
locale?: any | null;
|
|
4
|
-
defaultPropsConfig?: any | null;
|
|
5
|
-
warning?: boolean | null;
|
|
6
|
-
rtl?: boolean | null;
|
|
7
|
-
device?: string | null;
|
|
8
|
-
popupContainer?: any | null;
|
|
9
|
-
errorBoundary?: any | null;
|
|
10
|
-
globalLocales?: any | null;
|
|
11
|
-
currentGlobalLanguage?: string | null;
|
|
12
|
-
currentGlobalRtl?: boolean | null;
|
|
13
|
-
providerTick?: number;
|
|
14
|
-
}
|
|
15
|
-
export interface IConfigProviderProps extends IConfigValues {
|
|
16
|
-
children?: any;
|
|
17
|
-
}
|
|
18
|
-
export interface IGetContextProps {
|
|
19
|
-
props: any;
|
|
20
|
-
displayName: string;
|
|
21
|
-
contextValues?: IConfigValues;
|
|
22
|
-
}
|
|
1
|
+
export interface IConfigValues {
|
|
2
|
+
prefix?: string | null;
|
|
3
|
+
locale?: any | null;
|
|
4
|
+
defaultPropsConfig?: any | null;
|
|
5
|
+
warning?: boolean | null;
|
|
6
|
+
rtl?: boolean | null;
|
|
7
|
+
device?: string | null;
|
|
8
|
+
popupContainer?: any | null;
|
|
9
|
+
errorBoundary?: any | null;
|
|
10
|
+
globalLocales?: any | null;
|
|
11
|
+
currentGlobalLanguage?: string | null;
|
|
12
|
+
currentGlobalRtl?: boolean | null;
|
|
13
|
+
providerTick?: number;
|
|
14
|
+
}
|
|
15
|
+
export interface IConfigProviderProps extends IConfigValues {
|
|
16
|
+
children?: any;
|
|
17
|
+
}
|
|
18
|
+
export interface IGetContextProps {
|
|
19
|
+
props: any;
|
|
20
|
+
displayName: string;
|
|
21
|
+
contextValues?: IConfigValues;
|
|
22
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: any;
|
|
2
|
-
export default _default;
|
|
1
|
+
declare const _default: any;
|
|
2
|
+
export default _default;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface EmptyProps extends Record<string, any> {
|
|
3
|
-
prefixCls?: string;
|
|
4
|
-
className?: string;
|
|
5
|
-
style?: React.CSSProperties;
|
|
6
|
-
imageStyle?: React.CSSProperties;
|
|
7
|
-
image?: string;
|
|
8
|
-
description?: React.ReactNode;
|
|
9
|
-
locale?: any;
|
|
10
|
-
children?: any;
|
|
11
|
-
rtl?: boolean;
|
|
12
|
-
imageNode?: any;
|
|
13
|
-
prefix?: string;
|
|
14
|
-
}
|
|
15
|
-
declare const Empty: {
|
|
16
|
-
(props: EmptyProps): React.JSX.Element;
|
|
17
|
-
defaultProps: {
|
|
18
|
-
prefix: string;
|
|
19
|
-
locale: any;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export default Empty;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface EmptyProps extends Record<string, any> {
|
|
3
|
+
prefixCls?: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
imageStyle?: React.CSSProperties;
|
|
7
|
+
image?: string;
|
|
8
|
+
description?: React.ReactNode;
|
|
9
|
+
locale?: any;
|
|
10
|
+
children?: any;
|
|
11
|
+
rtl?: boolean;
|
|
12
|
+
imageNode?: any;
|
|
13
|
+
prefix?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const Empty: {
|
|
16
|
+
(props: EmptyProps): React.JSX.Element;
|
|
17
|
+
defaultProps: {
|
|
18
|
+
prefix: string;
|
|
19
|
+
locale: any;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default Empty;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Empty: unknown;
|
|
2
|
-
export default Empty;
|
|
1
|
+
declare const Empty: unknown;
|
|
2
|
+
export default Empty;
|