dcp-design-react 1.7.42
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/LICENSE +21 -0
- package/README.md +4 -0
- package/lib/_utils/cloneElement.d.ts +2 -0
- package/lib/_utils/dom.d.ts +75 -0
- package/lib/_utils/download.d.ts +7 -0
- package/lib/_utils/error.d.ts +2 -0
- package/lib/_utils/isDev.d.ts +1 -0
- package/lib/_utils/isMobile.d.ts +1 -0
- package/lib/_utils/isServer.d.ts +2 -0
- package/lib/_utils/prefix.d.ts +1 -0
- package/lib/_utils/resize-event.d.ts +10 -0
- package/lib/_utils/scrollbar-width.d.ts +1 -0
- package/lib/_utils/types.d.ts +39 -0
- package/lib/_utils/util.d.ts +27 -0
- package/lib/_utils/validators.d.ts +2 -0
- package/lib/anchor/index.d.ts +4 -0
- package/lib/anchor/src/anchor-item.d.ts +15 -0
- package/lib/anchor/src/anchor-nav.d.ts +12 -0
- package/lib/anchor/src/anchor.d.ts +61 -0
- package/lib/anchor/style/index.less +101 -0
- package/lib/antd/Calendar.d.ts +4 -0
- package/lib/antd/DatePicker.d.ts +50 -0
- package/lib/antd/TimePicker.d.ts +16 -0
- package/lib/antd/compact.less +11 -0
- package/lib/antd/dayjs.d.ts +1 -0
- package/lib/antd/index.d.ts +124 -0
- package/lib/antd/index.less +19 -0
- package/lib/button/index.d.ts +3 -0
- package/lib/button/src/button.d.ts +32 -0
- package/lib/button/style/index.less +12 -0
- package/lib/collapse/index.d.ts +3 -0
- package/lib/collapse/src/Content.d.ts +3 -0
- package/lib/collapse/src/_util/motion.less +13 -0
- package/lib/collapse/src/_util/motionUtil.d.ts +3 -0
- package/lib/collapse/src/collapse.d.ts +18 -0
- package/lib/collapse/style/index.less +24 -0
- package/lib/config-provider/context.d.ts +10 -0
- package/lib/config-provider/index.d.ts +3 -0
- package/lib/config-provider/src/config-provider.d.ts +36 -0
- package/lib/copy-to-clipboard/index.d.ts +3 -0
- package/lib/copy-to-clipboard/src/copy-to-clipboard.d.ts +15 -0
- package/lib/copy-to-clipboard/style/index.less +12 -0
- package/lib/countup/index.d.ts +3 -0
- package/lib/countup/src/countup.d.ts +17 -0
- package/lib/countup/style/index.less +22 -0
- package/lib/cropper/index.d.ts +3 -0
- package/lib/cropper/src/cropper.d.ts +213 -0
- package/lib/cropper/style/index.less +13 -0
- package/lib/divider/index.d.ts +3 -0
- package/lib/divider/src/divider.d.ts +27 -0
- package/lib/divider/style/index.less +54 -0
- package/lib/download/index.d.ts +3 -0
- package/lib/download/src/download.d.ts +54 -0
- package/lib/download/style/index.less +12 -0
- package/lib/drawer/index.d.ts +3 -0
- package/lib/drawer/src/drawer.d.ts +46 -0
- package/lib/drawer/style/index.less +82 -0
- package/lib/empty/index.d.ts +3 -0
- package/lib/empty/src/empty.d.ts +15 -0
- package/lib/empty/style/index.less +35 -0
- package/lib/form/index.d.ts +4 -0
- package/lib/form/src/context.d.ts +9 -0
- package/lib/form/src/fields-filter.d.ts +26 -0
- package/lib/form/src/form-cascader.d.ts +21 -0
- package/lib/form/src/form-checkbox-group.d.ts +19 -0
- package/lib/form/src/form-checkbox.d.ts +16 -0
- package/lib/form/src/form-city-select.d.ts +10 -0
- package/lib/form/src/form-date.d.ts +10 -0
- package/lib/form/src/form-divider.d.ts +10 -0
- package/lib/form/src/form-immediate.d.ts +20 -0
- package/lib/form/src/form-input-number.d.ts +11 -0
- package/lib/form/src/form-input.d.ts +11 -0
- package/lib/form/src/form-item-view.d.ts +7 -0
- package/lib/form/src/form-multiple-search-helper.d.ts +20 -0
- package/lib/form/src/form-multiple-tree-table-helper.d.ts +20 -0
- package/lib/form/src/form-radio.d.ts +19 -0
- package/lib/form/src/form-range-date.d.ts +10 -0
- package/lib/form/src/form-range-input-number.d.ts +10 -0
- package/lib/form/src/form-range-input.d.ts +10 -0
- package/lib/form/src/form-range-search-helper.d.ts +20 -0
- package/lib/form/src/form-range-time.d.ts +10 -0
- package/lib/form/src/form-rate.d.ts +10 -0
- package/lib/form/src/form-region-select.d.ts +10 -0
- package/lib/form/src/form-search-helper.d.ts +21 -0
- package/lib/form/src/form-select.d.ts +21 -0
- package/lib/form/src/form-switch.d.ts +10 -0
- package/lib/form/src/form-text-area.d.ts +10 -0
- package/lib/form/src/form-time.d.ts +10 -0
- package/lib/form/src/form-tinymce.d.ts +10 -0
- package/lib/form/src/form-tree-select.d.ts +21 -0
- package/lib/form/src/form-tree-table-helper.d.ts +20 -0
- package/lib/form/src/form-upload-file.d.ts +10 -0
- package/lib/form/src/form-upload-img.d.ts +10 -0
- package/lib/form/src/form.d.ts +197 -0
- package/lib/form/src/types.d.ts +356 -0
- package/lib/form/src/utils.d.ts +57 -0
- package/lib/form/style/index.less +352 -0
- package/lib/guide-tracker/index.d.ts +3 -0
- package/lib/guide-tracker/src/Panel.d.ts +9 -0
- package/lib/guide-tracker/src/guideTracker.d.ts +37 -0
- package/lib/guide-tracker/src/lib/Highlighter.d.ts +2 -0
- package/lib/guide-tracker/src/lib/Overlay.d.ts +36 -0
- package/lib/guide-tracker/src/lib/index.d.ts +29 -0
- package/lib/guide-tracker/src/lib/utils.d.ts +27 -0
- package/lib/guide-tracker/style/index.less +189 -0
- package/lib/hoc/outsideClick.d.ts +1 -0
- package/lib/hooks/useDebounce.d.ts +3 -0
- package/lib/hooks/useEvent.d.ts +2 -0
- package/lib/hooks/useForceUpdate.d.ts +1 -0
- package/lib/hooks/useLayoutUpdateEffect.d.ts +2 -0
- package/lib/hooks/useLocale.d.ts +4 -0
- package/lib/hooks/useMergedState.d.ts +8 -0
- package/lib/hooks/useOutsideClick.d.ts +2 -0
- package/lib/hooks/useResizeObserve.d.ts +5 -0
- package/lib/hooks/useSafeState.d.ts +4 -0
- package/lib/hooks/useSize.d.ts +9 -0
- package/lib/hooks/useUpdateEffect.d.ts +2 -0
- package/lib/index.d.ts +127 -0
- package/lib/index.esm.js +1 -0
- package/lib/index.full.js +1 -0
- package/lib/index.js +1 -0
- package/lib/locale/index.d.ts +11 -0
- package/lib/locale/index.js +44 -0
- package/lib/locale/lang/en.d.ts +320 -0
- package/lib/locale/lang/en.js +325 -0
- package/lib/locale/lang/zh-cn.d.ts +320 -0
- package/lib/locale/lang/zh-cn.js +325 -0
- package/lib/modal/index.d.ts +3 -0
- package/lib/modal/src/modal.d.ts +68 -0
- package/lib/modal/style/index.less +95 -0
- package/lib/pinyin/core.d.ts +12 -0
- package/lib/pinyin/dict.d.ts +31 -0
- package/lib/pinyin/index.d.ts +2 -0
- package/lib/pinyin/patchers/56l.d.ts +7 -0
- package/lib/print/index.d.ts +3 -0
- package/lib/print/src/LodopFuncs.d.ts +1 -0
- package/lib/print/src/config.d.ts +6 -0
- package/lib/print/src/container.d.ts +14 -0
- package/lib/print/src/context.d.ts +6 -0
- package/lib/print/src/preview.d.ts +61 -0
- package/lib/print/src/print.d.ts +37 -0
- package/lib/print/src/setting.d.ts +49 -0
- package/lib/print/src/utils.d.ts +5 -0
- package/lib/print/style/index.less +175 -0
- package/lib/qm-design.d.ts +28 -0
- package/lib/range-table-helper/index.d.ts +3 -0
- package/lib/range-table-helper/src/range-table-helper.d.ts +22 -0
- package/lib/range-table-helper/style/index.less +18 -0
- package/lib/scrollbar/index.d.ts +3 -0
- package/lib/scrollbar/src/context.d.ts +7 -0
- package/lib/scrollbar/src/scrollbar.d.ts +28 -0
- package/lib/scrollbar/src/thumb.d.ts +15 -0
- package/lib/scrollbar/style/index.less +72 -0
- package/lib/search-helper/index.d.ts +3 -0
- package/lib/search-helper/src/search-helper.d.ts +24 -0
- package/lib/search-helper/style/index.less +14 -0
- package/lib/search-tree/index.d.ts +3 -0
- package/lib/search-tree/src/search-tree.d.ts +57 -0
- package/lib/search-tree/style/index.less +34 -0
- package/lib/space/index.d.ts +3 -0
- package/lib/space/src/space.d.ts +12 -0
- package/lib/space/style/index.less +12 -0
- package/lib/spin/index.d.ts +3 -0
- package/lib/spin/src/spin.d.ts +14 -0
- package/lib/spin/style/index.less +16 -0
- package/lib/split/index.d.ts +4 -0
- package/lib/split/src/context.d.ts +8 -0
- package/lib/split/src/resize-bar.d.ts +8 -0
- package/lib/split/src/split-pane.d.ts +11 -0
- package/lib/split/src/split.d.ts +18 -0
- package/lib/split/style/index.less +83 -0
- package/lib/style/common.less +8 -0
- package/lib/style/compact.css +26706 -0
- package/lib/style/compact.less +10 -0
- package/lib/style/compact.min.css +1 -0
- package/lib/style/index.css +30459 -0
- package/lib/style/index.less +39 -0
- package/lib/style/index.min.css +1 -0
- package/lib/style/mixins/box.less +13 -0
- package/lib/style/mixins/clearfix.less +21 -0
- package/lib/style/mixins/index.less +11 -0
- package/lib/style/mixins/operation-unit.less +24 -0
- package/lib/style/mixins/reset.less +34 -0
- package/lib/style/mixins/size.less +15 -0
- package/lib/style/reset.less +132 -0
- package/lib/style/themes/compact.less +19 -0
- package/lib/style/themes/default.less +117 -0
- package/lib/style/themes/index.less +7 -0
- package/lib/style/var.less +9 -0
- package/lib/table/index.d.ts +4 -0
- package/lib/table/src/alert/index.d.ts +6 -0
- package/lib/table/src/body/index.d.ts +8 -0
- package/lib/table/src/body/useMergeCell.d.ts +7 -0
- package/lib/table/src/body/useValueFormat.d.ts +12 -0
- package/lib/table/src/clipboard/index.d.ts +8 -0
- package/lib/table/src/clipboard/setting.d.ts +8 -0
- package/lib/table/src/column-filter/index.d.ts +7 -0
- package/lib/table/src/config/index.d.ts +47 -0
- package/lib/table/src/context/index.d.ts +85 -0
- package/lib/table/src/edit/InputNumber.d.ts +26 -0
- package/lib/table/src/edit/index.d.ts +15 -0
- package/lib/table/src/empty/index.d.ts +3 -0
- package/lib/table/src/expandable/all.d.ts +6 -0
- package/lib/table/src/expandable/index.d.ts +9 -0
- package/lib/table/src/export/define.d.ts +8 -0
- package/lib/table/src/export/index.d.ts +19 -0
- package/lib/table/src/export/setting.d.ts +14 -0
- package/lib/table/src/export/useExport.d.ts +13 -0
- package/lib/table/src/fast-search/index.d.ts +7 -0
- package/lib/table/src/fast-search/setting.d.ts +6 -0
- package/lib/table/src/filter/index.d.ts +8 -0
- package/lib/table/src/filter-sql/index.d.ts +5 -0
- package/lib/table/src/filter-sql/lib/filter_string.d.ts +11 -0
- package/lib/table/src/filter-sql/lib/operations.d.ts +8 -0
- package/lib/table/src/filter-sql/lib/variables_replacement.d.ts +5 -0
- package/lib/table/src/footer/index.d.ts +8 -0
- package/lib/table/src/full-screen/index.d.ts +8 -0
- package/lib/table/src/group-summary/index.d.ts +7 -0
- package/lib/table/src/group-summary/result.d.ts +9 -0
- package/lib/table/src/group-summary/setting.d.ts +6 -0
- package/lib/table/src/header/index.d.ts +10 -0
- package/lib/table/src/hooks/useImperativeMethod.d.ts +49 -0
- package/lib/table/src/hooks/useTableCore.d.ts +93 -0
- package/lib/table/src/hooks/useTableEffect.d.ts +45 -0
- package/lib/table/src/hooks/useTableLayout.d.ts +44 -0
- package/lib/table/src/hooks/useTableMemo.d.ts +48 -0
- package/lib/table/src/hooks/useTableRef.d.ts +111 -0
- package/lib/table/src/hooks/useTableState.d.ts +98 -0
- package/lib/table/src/icon/caretdown.d.ts +3 -0
- package/lib/table/src/icon/caretup.d.ts +3 -0
- package/lib/table/src/icon/filter.d.ts +3 -0
- package/lib/table/src/import/SelectFile.d.ts +8 -0
- package/lib/table/src/import/index.d.ts +8 -0
- package/lib/table/src/import/setting.d.ts +8 -0
- package/lib/table/src/manager/index.d.ts +15 -0
- package/lib/table/src/pager/index.d.ts +9 -0
- package/lib/table/src/print/index.d.ts +8 -0
- package/lib/table/src/reload/index.d.ts +7 -0
- package/lib/table/src/resizable/index.d.ts +7 -0
- package/lib/table/src/select-collection/index.d.ts +8 -0
- package/lib/table/src/select-collection/result.d.ts +8 -0
- package/lib/table/src/selection/all.d.ts +7 -0
- package/lib/table/src/selection/index.d.ts +12 -0
- package/lib/table/src/store/index.d.ts +33 -0
- package/lib/table/src/super-search/index.d.ts +7 -0
- package/lib/table/src/super-search/result.d.ts +6 -0
- package/lib/table/src/table/index.d.ts +5 -0
- package/lib/table/src/table/props.d.ts +299 -0
- package/lib/table/src/table/types.d.ts +444 -0
- package/lib/table/src/toolbox/index.d.ts +18 -0
- package/lib/table/src/utils/index.d.ts +43 -0
- package/lib/table/style/alert.less +34 -0
- package/lib/table/style/body.less +77 -0
- package/lib/table/style/clipboard.less +29 -0
- package/lib/table/style/column-filter.less +94 -0
- package/lib/table/style/empty.less +19 -0
- package/lib/table/style/expandable.less +64 -0
- package/lib/table/style/export.less +26 -0
- package/lib/table/style/fast-search.less +110 -0
- package/lib/table/style/footer.less +33 -0
- package/lib/table/style/full-screen.less +21 -0
- package/lib/table/style/group-summary.less +93 -0
- package/lib/table/style/header.less +207 -0
- package/lib/table/style/import.less +25 -0
- package/lib/table/style/index.less +29 -0
- package/lib/table/style/pager.less +29 -0
- package/lib/table/style/print.less +21 -0
- package/lib/table/style/reload.less +21 -0
- package/lib/table/style/select-collection.less +21 -0
- package/lib/table/style/size.less +88 -0
- package/lib/table/style/super-search.less +102 -0
- package/lib/table/style/table.less +372 -0
- package/lib/table/style/tollbox.less +39 -0
- package/lib/table/style/toper.less +31 -0
- package/lib/table/style/variable.less +48 -0
- package/lib/tabs/index.d.ts +4 -0
- package/lib/tabs/src/tab-pane.d.ts +9 -0
- package/lib/tabs/src/tabs.d.ts +19 -0
- package/lib/tabs/style/index.less +32 -0
- package/lib/tinymce/index.d.ts +3 -0
- package/lib/tinymce/src/Events.d.ts +85 -0
- package/lib/tinymce/src/ScriptLoader.d.ts +13 -0
- package/lib/tinymce/src/TinyMCE.d.ts +9 -0
- package/lib/tinymce/src/Utils.d.ts +20 -0
- package/lib/tinymce/src/components/Editor.d.ts +73 -0
- package/lib/tinymce/src/components/EditorPropTypes.d.ts +18 -0
- package/lib/tinymce/src/index.d.ts +35 -0
- package/lib/tinymce/style/index.less +18 -0
- package/lib/tour/index.d.ts +4 -0
- package/lib/tour/src/Mask.d.ts +17 -0
- package/lib/tour/src/Pause.d.ts +10 -0
- package/lib/tour/src/Tour.d.ts +41 -0
- package/lib/tour/src/TourStep/DefaultPanel.d.ts +4 -0
- package/lib/tour/src/TourStep/index.d.ts +34 -0
- package/lib/tour/src/hooks/useTarget.d.ts +14 -0
- package/lib/tour/src/placements.d.ts +29 -0
- package/lib/tour/src/util.d.ts +5 -0
- package/lib/tour/style/index.less +157 -0
- package/lib/transition/index.d.ts +3 -0
- package/lib/transition/src/tools.d.ts +13 -0
- package/lib/transition/src/transition.d.ts +12 -0
- package/lib/transition/src/types.d.ts +25 -0
- package/lib/transition/src/useTransition.d.ts +2 -0
- package/lib/tree-helper/index.d.ts +3 -0
- package/lib/tree-helper/src/tree-helper.d.ts +22 -0
- package/lib/tree-helper/style/index.less +21 -0
- package/lib/tree-table-helper/index.d.ts +3 -0
- package/lib/tree-table-helper/src/tree-table-helper.d.ts +31 -0
- package/lib/tree-table-helper/style/index.less +24 -0
- package/lib/upload-file/index.d.ts +3 -0
- package/lib/upload-file/src/upload-file.d.ts +35 -0
- package/lib/upload-file/style/index.less +18 -0
- package/lib/upload-img/index.d.ts +3 -0
- package/lib/upload-img/src/cropper-preview.d.ts +32 -0
- package/lib/upload-img/src/upload-img.d.ts +39 -0
- package/lib/upload-img/style/index.less +41 -0
- package/lib/version/index.d.ts +2 -0
- package/package.json +138 -0
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @Author: 焦质晔
|
|
3
|
+
* @Date: 2022-01-11 18:01:20
|
|
4
|
+
* @Last Modified by: 焦质晔
|
|
5
|
+
* @Last Modified time: 2023-07-26 17:22:16
|
|
6
|
+
*/
|
|
7
|
+
@import '../../style/common';
|
|
8
|
+
|
|
9
|
+
@prefix-tour: ~'@{qm-prefix}-tour';
|
|
10
|
+
|
|
11
|
+
.@{prefix-tour} {
|
|
12
|
+
.reset-container();
|
|
13
|
+
position: absolute;
|
|
14
|
+
display: block;
|
|
15
|
+
visibility: visible;
|
|
16
|
+
min-width: 500px;
|
|
17
|
+
&-hidden {
|
|
18
|
+
display: none;
|
|
19
|
+
}
|
|
20
|
+
& &-arrow {
|
|
21
|
+
display: block;
|
|
22
|
+
width: 15px;
|
|
23
|
+
height: 15px;
|
|
24
|
+
z-index: 1;
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
pointer-events: none;
|
|
27
|
+
&::before {
|
|
28
|
+
content: '';
|
|
29
|
+
position: absolute;
|
|
30
|
+
bottom: 0px;
|
|
31
|
+
inset-inline-start: 0px;
|
|
32
|
+
width: 15px;
|
|
33
|
+
height: 8px;
|
|
34
|
+
clip-path: path('M 0 8 A 4 4 0 0 0 2.82843 6.82843 L 6.58579 3.07107 A 2 2 0 0 1 9.41421 3.07107 L 13.1716 6.82843 A 4 4 0 0 0 16 8 Z');
|
|
35
|
+
background-color: #fff;
|
|
36
|
+
}
|
|
37
|
+
&::after {
|
|
38
|
+
content: '';
|
|
39
|
+
position: absolute;
|
|
40
|
+
width: 8.97056px;
|
|
41
|
+
height: 8.97056px;
|
|
42
|
+
bottom: 0px;
|
|
43
|
+
transform: translateY(50%) rotate(-135deg);
|
|
44
|
+
box-shadow: rgba(0, 0, 0, 0.05) 2px 2px 5px;
|
|
45
|
+
z-index: 0;
|
|
46
|
+
inset-inline: 0px;
|
|
47
|
+
margin: auto;
|
|
48
|
+
border-radius: 0px 0px 2px;
|
|
49
|
+
background: 0px 0px;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
& &-content {
|
|
53
|
+
position: relative;
|
|
54
|
+
}
|
|
55
|
+
& &-inner {
|
|
56
|
+
box-shadow: rgba(0, 0, 0, 0.03) 0px 1px 2px 0px, rgba(0, 0, 0, 0.02) 0px 1px 6px -1px, rgba(0, 0, 0, 0.02) 0px 2px 4px 0px;
|
|
57
|
+
background-color: #fff;
|
|
58
|
+
background-clip: padding-box;
|
|
59
|
+
text-decoration: none;
|
|
60
|
+
border-radius: 8px;
|
|
61
|
+
}
|
|
62
|
+
& &-close {
|
|
63
|
+
position: absolute;
|
|
64
|
+
top: 10px;
|
|
65
|
+
inset-inline-end: 10px;
|
|
66
|
+
color: @--text-color-secondary;
|
|
67
|
+
width: 22px;
|
|
68
|
+
height: 22px;
|
|
69
|
+
display: flex;
|
|
70
|
+
align-items: center;
|
|
71
|
+
justify-content: center;
|
|
72
|
+
outline: none;
|
|
73
|
+
border-radius: 4px;
|
|
74
|
+
transition: background-color 0.2s ease 0s, color 0.2s ease 0s;
|
|
75
|
+
&:hover {
|
|
76
|
+
color: rgba(0, 0, 0, 0.88);
|
|
77
|
+
background-color: rgba(0, 0, 0, 0.06);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
& &-cover {
|
|
81
|
+
text-align: center;
|
|
82
|
+
padding: 45px 15px 0px;
|
|
83
|
+
}
|
|
84
|
+
& &-header {
|
|
85
|
+
padding: 15px 15px 8px;
|
|
86
|
+
}
|
|
87
|
+
& &-title {
|
|
88
|
+
font-weight: 600;
|
|
89
|
+
}
|
|
90
|
+
& &-description {
|
|
91
|
+
overflow-wrap: break-word;
|
|
92
|
+
padding: 0px 15px;
|
|
93
|
+
}
|
|
94
|
+
& &-footer {
|
|
95
|
+
text-align: end;
|
|
96
|
+
display: flex;
|
|
97
|
+
padding: 8px 15px 15px;
|
|
98
|
+
}
|
|
99
|
+
& &-indicators {
|
|
100
|
+
display: inline-block;
|
|
101
|
+
}
|
|
102
|
+
& &-indicators &-indicator {
|
|
103
|
+
width: 6px;
|
|
104
|
+
height: 6px;
|
|
105
|
+
display: inline-block;
|
|
106
|
+
border-radius: 50%;
|
|
107
|
+
background: rgba(0, 0, 0, 0.15);
|
|
108
|
+
&-active {
|
|
109
|
+
background: @--primary-color;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
& &-indicators &-indicator:not(:last-child) {
|
|
113
|
+
margin-inline-end: 6px;
|
|
114
|
+
}
|
|
115
|
+
& &-buttons {
|
|
116
|
+
margin-inline-start: auto;
|
|
117
|
+
}
|
|
118
|
+
&-control {
|
|
119
|
+
position: fixed;
|
|
120
|
+
right: 20px;
|
|
121
|
+
bottom: 20px;
|
|
122
|
+
width: 40px;
|
|
123
|
+
height: 40px;
|
|
124
|
+
border-radius: 50%;
|
|
125
|
+
border: 2px solid #fff;
|
|
126
|
+
background: linear-gradient(to right bottom, @--primary-4, @--primary-7);
|
|
127
|
+
display: flex;
|
|
128
|
+
align-items: center;
|
|
129
|
+
justify-content: center;
|
|
130
|
+
pointer-events: auto;
|
|
131
|
+
cursor: pointer;
|
|
132
|
+
.anticon {
|
|
133
|
+
color: #fff;
|
|
134
|
+
font-size: 20px;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
// =======================================
|
|
138
|
+
&-mask &-placeholder-animated {
|
|
139
|
+
transition: all 0.2s ease;
|
|
140
|
+
}
|
|
141
|
+
&-placement-bottom &-arrow {
|
|
142
|
+
left: 50%;
|
|
143
|
+
transform: translateX(-50%) translateY(-100%);
|
|
144
|
+
}
|
|
145
|
+
&-placement-top &-arrow {
|
|
146
|
+
left: 50%;
|
|
147
|
+
transform: translateX(-50%) translateY(100%) rotate(180deg);
|
|
148
|
+
}
|
|
149
|
+
&-placement-right &-arrow {
|
|
150
|
+
top: 50%;
|
|
151
|
+
transform: translateY(-50%) translateX(-100%) rotate(-90deg);
|
|
152
|
+
}
|
|
153
|
+
&-placement-left &-arrow {
|
|
154
|
+
top: 50%;
|
|
155
|
+
transform: translateY(-50%) translateX(100%) rotate(90deg);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { TransitionState } from './types';
|
|
2
|
+
export declare const PRE_ENTER = 0;
|
|
3
|
+
export declare const ENTERING = 1;
|
|
4
|
+
export declare const ENTERED = 2;
|
|
5
|
+
export declare const PRE_EXIT = 3;
|
|
6
|
+
export declare const EXITING = 4;
|
|
7
|
+
export declare const EXITED = 5;
|
|
8
|
+
export declare const UNMOUNTED = 6;
|
|
9
|
+
export declare const STATUS: string[];
|
|
10
|
+
export declare const getState: (status: number) => TransitionState;
|
|
11
|
+
export declare const startOrEnd: (unmounted: any) => 6 | 5;
|
|
12
|
+
export declare const getEndStatus: (status: number, unmountOnExit: any) => 2 | 6 | 5 | undefined;
|
|
13
|
+
export declare const getTimeout: (timeout: any) => any[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type IProps = {
|
|
3
|
+
name: string;
|
|
4
|
+
in: boolean;
|
|
5
|
+
timeout: number;
|
|
6
|
+
preEnter?: boolean;
|
|
7
|
+
preExit?: boolean;
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
};
|
|
10
|
+
export type TransitionProps = IProps;
|
|
11
|
+
declare const QmTransition: React.FC<IProps>;
|
|
12
|
+
export default QmTransition;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type TransitionStatus = 'preEnter' | 'entering' | 'entered' | 'preExit' | 'exiting' | 'exited' | 'unmounted';
|
|
2
|
+
export type TransitionState = {
|
|
3
|
+
status: TransitionStatus;
|
|
4
|
+
isMounted: boolean;
|
|
5
|
+
isEnter: boolean;
|
|
6
|
+
isResolved: boolean;
|
|
7
|
+
_s: number;
|
|
8
|
+
};
|
|
9
|
+
export interface TransitionOptions {
|
|
10
|
+
initialEntered?: boolean;
|
|
11
|
+
mountOnEnter?: boolean;
|
|
12
|
+
unmountOnExit?: boolean;
|
|
13
|
+
preEnter?: boolean;
|
|
14
|
+
preExit?: boolean;
|
|
15
|
+
enter?: boolean;
|
|
16
|
+
exit?: boolean;
|
|
17
|
+
timeout?: number | {
|
|
18
|
+
enter?: number;
|
|
19
|
+
exit?: number;
|
|
20
|
+
};
|
|
21
|
+
onStateChange?: (event: {
|
|
22
|
+
current: TransitionState;
|
|
23
|
+
}) => void;
|
|
24
|
+
}
|
|
25
|
+
export type TransitionResult = [TransitionState, (toEnter?: boolean) => void, () => void];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { IFetch, IRecord, ICheckStrategy } from '../../table/src/table/types';
|
|
3
|
+
import type { ComponentSize } from '../../_utils/types';
|
|
4
|
+
type IProps = {
|
|
5
|
+
size?: ComponentSize;
|
|
6
|
+
multiple?: boolean;
|
|
7
|
+
defaultSelectedKeys?: string[];
|
|
8
|
+
tree?: {
|
|
9
|
+
fetch?: IFetch & {
|
|
10
|
+
valueKey?: string;
|
|
11
|
+
textKey?: string;
|
|
12
|
+
};
|
|
13
|
+
asyncLoad?: boolean;
|
|
14
|
+
checkStrictly?: boolean;
|
|
15
|
+
checkStrategy?: ICheckStrategy;
|
|
16
|
+
defaultExpandAll?: boolean;
|
|
17
|
+
};
|
|
18
|
+
onClose: (data: IRecord | null) => void;
|
|
19
|
+
};
|
|
20
|
+
export type TreeHelperProps = IProps;
|
|
21
|
+
declare const TreeHelper: React.FC<IProps>;
|
|
22
|
+
export default TreeHelper;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @Author: 焦质晔
|
|
3
|
+
* @Date: 2022-01-11 18:01:20
|
|
4
|
+
* @Last Modified by: 焦质晔
|
|
5
|
+
* @Last Modified time: 2022-09-04 17:07:07
|
|
6
|
+
*/
|
|
7
|
+
@import '../../style/common';
|
|
8
|
+
|
|
9
|
+
@prefix-tree-helper: ~'@{qm-prefix}-tree-helper';
|
|
10
|
+
|
|
11
|
+
.@{prefix-tree-helper}--wrapper {
|
|
12
|
+
.reset-container();
|
|
13
|
+
height: 100%;
|
|
14
|
+
.ant-tree {
|
|
15
|
+
.filter-node {
|
|
16
|
+
& > span:last-of-type {
|
|
17
|
+
color: @--primary-color;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { IFormItem, IFormData } from '../../form/src/types';
|
|
3
|
+
import type { IFetch, IColumn, IRowKey, IRecord } from '../../table/src/table/types';
|
|
4
|
+
import type { ComponentSize } from '../../_utils/types';
|
|
5
|
+
type ITableConfig = {
|
|
6
|
+
fetch?: IFetch;
|
|
7
|
+
columns?: IColumn[];
|
|
8
|
+
rowKey?: ((row: IRecord, index: number) => IRowKey) | IRowKey;
|
|
9
|
+
webPagination?: boolean;
|
|
10
|
+
};
|
|
11
|
+
type IProps = {
|
|
12
|
+
size?: ComponentSize;
|
|
13
|
+
uniqueKey?: string;
|
|
14
|
+
initialValue?: IFormData;
|
|
15
|
+
defaultSelectedKeys?: IRowKey[];
|
|
16
|
+
selectionRows?: IRecord[];
|
|
17
|
+
multiple?: boolean;
|
|
18
|
+
filters?: IFormItem[];
|
|
19
|
+
table?: ITableConfig;
|
|
20
|
+
tree?: {
|
|
21
|
+
fetch?: IFetch & {
|
|
22
|
+
valueKey?: string;
|
|
23
|
+
textKey?: string;
|
|
24
|
+
};
|
|
25
|
+
tableParamsMap?: (() => Record<string, string>) | Record<string, string>;
|
|
26
|
+
};
|
|
27
|
+
onClose: (data: IRecord | null, keys?: IRowKey[]) => void;
|
|
28
|
+
};
|
|
29
|
+
export type TreeTableHelperProps = IProps;
|
|
30
|
+
declare const TreeTableHelper: React.FC<IProps>;
|
|
31
|
+
export default TreeTableHelper;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @Author: 焦质晔
|
|
3
|
+
* @Date: 2022-01-11 18:01:20
|
|
4
|
+
* @Last Modified by: 焦质晔
|
|
5
|
+
* @Last Modified time: 2022-09-04 17:06:49
|
|
6
|
+
*/
|
|
7
|
+
@import '../../style/common';
|
|
8
|
+
|
|
9
|
+
@prefix-tree-table-helper: ~'@{qm-prefix}-tree-table-helper';
|
|
10
|
+
|
|
11
|
+
.@{prefix-tree-table-helper}--wrapper {
|
|
12
|
+
.reset-container();
|
|
13
|
+
height: 100%;
|
|
14
|
+
.split-pane {
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
}
|
|
17
|
+
.ant-tree {
|
|
18
|
+
.filter-node {
|
|
19
|
+
& > span:last-of-type {
|
|
20
|
+
color: @--primary-color;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import type { UploadProps, ButtonProps } from '../../antd';
|
|
3
|
+
export interface UploadFile {
|
|
4
|
+
uid: string;
|
|
5
|
+
name: string;
|
|
6
|
+
fileName?: string;
|
|
7
|
+
url?: string;
|
|
8
|
+
thumbUrl?: string;
|
|
9
|
+
status?: 'error' | 'success' | 'done' | 'uploading' | 'removed';
|
|
10
|
+
}
|
|
11
|
+
type IProps = Omit<UploadProps, 'onPreview'> & {
|
|
12
|
+
fileTypes?: string[];
|
|
13
|
+
fileSize?: number;
|
|
14
|
+
button?: {
|
|
15
|
+
text?: string;
|
|
16
|
+
} & ButtonProps;
|
|
17
|
+
onPreview?: (file: UploadFile, cb: (file?: UploadFile) => void) => void;
|
|
18
|
+
};
|
|
19
|
+
export type UploadFileProps = IProps;
|
|
20
|
+
declare class QmUploadFile extends Component<IProps> {
|
|
21
|
+
static defaultProps: {
|
|
22
|
+
name: string;
|
|
23
|
+
multiple: boolean;
|
|
24
|
+
showUploadList: {
|
|
25
|
+
showPreviewIcon: boolean;
|
|
26
|
+
showDownloadIcon: boolean;
|
|
27
|
+
showRemoveIcon: boolean;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
beforeUpload: (file: any, fileList: any) => Promise<any>;
|
|
31
|
+
downloadFile(url: string, fileName?: string): Promise<void>;
|
|
32
|
+
doDownload: (file: any) => Promise<void>;
|
|
33
|
+
render(): React.JSX.Element;
|
|
34
|
+
}
|
|
35
|
+
export default QmUploadFile;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @Author: 焦质晔
|
|
3
|
+
* @Date: 2021-07-23 19:05:57
|
|
4
|
+
* @Last Modified by: 焦质晔
|
|
5
|
+
* @Last Modified time: 2023-10-18 09:35:59
|
|
6
|
+
*/
|
|
7
|
+
@import '../../style/common';
|
|
8
|
+
|
|
9
|
+
@prefix-upload-file: ~'@{qm-prefix}-upload-file';
|
|
10
|
+
|
|
11
|
+
.@{prefix-upload-file} {
|
|
12
|
+
&.disabled {
|
|
13
|
+
.ant-upload-list-item-name {
|
|
14
|
+
color: @--disabled-color;
|
|
15
|
+
cursor: not-allowed;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import type { CSSProperties } from '../../_utils/types';
|
|
3
|
+
type IProps = {
|
|
4
|
+
fixedSize?: [number, number];
|
|
5
|
+
quality?: number;
|
|
6
|
+
fileTypes?: string[];
|
|
7
|
+
fileSize?: number;
|
|
8
|
+
beforeCrop?: (file: any, fileList: any[]) => Promise<boolean>;
|
|
9
|
+
};
|
|
10
|
+
type IState = {
|
|
11
|
+
src: string;
|
|
12
|
+
};
|
|
13
|
+
declare class CropperPreview extends Component<IProps, IState> {
|
|
14
|
+
static contextType: React.Context<import("../../config-provider/context").IConfig>;
|
|
15
|
+
private cropperRef;
|
|
16
|
+
private beforeUploadRef;
|
|
17
|
+
private fileRef;
|
|
18
|
+
private resolveRef;
|
|
19
|
+
private rejectRef;
|
|
20
|
+
state: IState;
|
|
21
|
+
get previewSize(): CSSProperties;
|
|
22
|
+
setSrc(src: any): void;
|
|
23
|
+
renderUpload(): React.CElement<any, React.Component<any, any, any>> | null;
|
|
24
|
+
confirmHandle: () => Promise<void>;
|
|
25
|
+
scaleHandle(percent: number): void;
|
|
26
|
+
rotateHandle(deg: number): void;
|
|
27
|
+
renderCropper(): React.JSX.Element;
|
|
28
|
+
onOk: () => void;
|
|
29
|
+
onClose: () => void;
|
|
30
|
+
render(): React.JSX.Element;
|
|
31
|
+
}
|
|
32
|
+
export default CropperPreview;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import type { UploadProps } from '../../antd';
|
|
3
|
+
export interface UploadFile {
|
|
4
|
+
uid: string;
|
|
5
|
+
name: string;
|
|
6
|
+
fileName?: string;
|
|
7
|
+
url?: string;
|
|
8
|
+
thumbUrl?: string;
|
|
9
|
+
status?: 'error' | 'success' | 'done' | 'uploading' | 'removed';
|
|
10
|
+
}
|
|
11
|
+
type IProps = UploadProps & {
|
|
12
|
+
fixedSize?: [number, number] | undefined;
|
|
13
|
+
quality?: number;
|
|
14
|
+
fileTypes?: string[];
|
|
15
|
+
fileSize?: number;
|
|
16
|
+
openCropper?: boolean;
|
|
17
|
+
beforeCrop?: (file: UploadFile, fileList: UploadFile[]) => Promise<boolean>;
|
|
18
|
+
};
|
|
19
|
+
type IState = {
|
|
20
|
+
previewVisible: boolean;
|
|
21
|
+
currentIndex: number;
|
|
22
|
+
};
|
|
23
|
+
export type UploadImgProps = IProps;
|
|
24
|
+
declare class QmUploadImg extends Component<IProps, IState> {
|
|
25
|
+
static defaultProps: {
|
|
26
|
+
name: string;
|
|
27
|
+
multiple: boolean;
|
|
28
|
+
accept: string;
|
|
29
|
+
listType: string;
|
|
30
|
+
quality: number;
|
|
31
|
+
openCropper: boolean;
|
|
32
|
+
};
|
|
33
|
+
state: IState;
|
|
34
|
+
get showUploadButton(): boolean;
|
|
35
|
+
beforeUpload: (file: any, fileList: any) => Promise<any>;
|
|
36
|
+
handlePreview: (file: any) => void;
|
|
37
|
+
render(): React.JSX.Element;
|
|
38
|
+
}
|
|
39
|
+
export default QmUploadImg;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @Author: 焦质晔
|
|
3
|
+
* @Date: 2021-07-23 19:05:57
|
|
4
|
+
* @Last Modified by: 焦质晔
|
|
5
|
+
* @Last Modified time: 2023-10-15 12:14:45
|
|
6
|
+
*/
|
|
7
|
+
@import '../../style/common';
|
|
8
|
+
|
|
9
|
+
@prefix-upload-img: ~'@{qm-prefix}-upload-img';
|
|
10
|
+
@prefix-cropper-preview: ~'@{qm-prefix}-cropper-preview';
|
|
11
|
+
|
|
12
|
+
.@{prefix-upload-img} {
|
|
13
|
+
.ant-upload-list-item-actions {
|
|
14
|
+
.ant-btn {
|
|
15
|
+
margin-left: 15px;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.@{prefix-cropper-preview} {
|
|
21
|
+
.cropper-preview {
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: row;
|
|
24
|
+
.cropper-area {
|
|
25
|
+
flex: 1;
|
|
26
|
+
.actions {
|
|
27
|
+
margin-top: @--margin-md;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.preview-area {
|
|
31
|
+
width: 380px;
|
|
32
|
+
min-height: 380px;
|
|
33
|
+
margin-left: @--margin-md;
|
|
34
|
+
display: flex;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
.preview {
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dcp-design-react",
|
|
3
|
+
"version": "1.7.42",
|
|
4
|
+
"description": "A Component Library for React",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"React",
|
|
7
|
+
"components",
|
|
8
|
+
"typescript"
|
|
9
|
+
],
|
|
10
|
+
"author": "jiaozhiye",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"dev": "cross-env NODE_ENV=development BABEL_ENV=web webpack serve --progress --config build/webpack.src.conf.js",
|
|
14
|
+
"build:lib": "yarn clean:lib && yarn build:umd && yarn build:esm && yarn build:type && yarn build:locale && yarn build:theme",
|
|
15
|
+
"build:umd": "cross-env NODE_ENV=production BABEL_ENV=lib webpack --config ./build/webpack.build.conf.js",
|
|
16
|
+
"build:esm": "cross-env BABEL_ENV=lib rollup --config ./build/build-esm.rollup.js",
|
|
17
|
+
"build:type": "gulp build --gulpfile ./build/build-type.gulp.js && cp-cli lib/packages lib && rimraf lib/packages",
|
|
18
|
+
"build:locale": "cross-env BABEL_ENV=lib babel packages/locale --extensions .ts --out-dir lib/locale",
|
|
19
|
+
"build:theme": "gulp build --gulpfile ./build/build-style.gulp.js",
|
|
20
|
+
"clean:lib": "rimraf lib",
|
|
21
|
+
"lint": "eslint ./packages --ext .js,.ts,.jsx,.tsx",
|
|
22
|
+
"lint-fix": "eslint --fix ./packages --ext .js,.ts,.jsx,.tsx",
|
|
23
|
+
"format": "prettier --write \"./packages/**/*.{js,ts,jsx,tsx}\""
|
|
24
|
+
},
|
|
25
|
+
"husky": {
|
|
26
|
+
"hooks": {
|
|
27
|
+
"pre-commit": "lint-staged"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"lint-staged": {
|
|
31
|
+
"packages/**/*.{js,ts,jsx,tsx}": [
|
|
32
|
+
"npm run lint-fix",
|
|
33
|
+
"git add"
|
|
34
|
+
],
|
|
35
|
+
"packages/**/*.{less}": "prettier --write"
|
|
36
|
+
},
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"registry": "https://registry.npmjs.org/"
|
|
39
|
+
},
|
|
40
|
+
"files": [
|
|
41
|
+
"lib"
|
|
42
|
+
],
|
|
43
|
+
"main": "lib/index.js",
|
|
44
|
+
"module": "lib/index.esm.js",
|
|
45
|
+
"unpkg": "lib/index.full.js",
|
|
46
|
+
"types": "lib/index.d.ts",
|
|
47
|
+
"style": "lib/style/index.css",
|
|
48
|
+
"peerDependencies": {
|
|
49
|
+
"react": ">=16.14.0"
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"@rc-component/portal": "^1.1.2",
|
|
53
|
+
"@rc-component/trigger": "^1.14.4",
|
|
54
|
+
"add-dom-event-listener": "^1.1.0",
|
|
55
|
+
"antd": "4.24.14",
|
|
56
|
+
"axios": "^0.27.2",
|
|
57
|
+
"big.js": "^6.2.1",
|
|
58
|
+
"china-area-data": "^5.0.1",
|
|
59
|
+
"classnames": "^2.3.2",
|
|
60
|
+
"copy-to-clipboard": "^3.3.2",
|
|
61
|
+
"cropperjs": "^1.5.12",
|
|
62
|
+
"dayjs": "1.x",
|
|
63
|
+
"exceljs": "^4.3.0",
|
|
64
|
+
"localforage": "^1.10.0",
|
|
65
|
+
"lodash-es": "^4.17.21",
|
|
66
|
+
"memoize-one": "^6.0.0",
|
|
67
|
+
"omit.js": "^2.0.2",
|
|
68
|
+
"prop-types": "^15.8.1",
|
|
69
|
+
"react-countup": "^6.4.0",
|
|
70
|
+
"react-draggable": "^4.4.6",
|
|
71
|
+
"react-sortablejs": "^6.1.4",
|
|
72
|
+
"resize-observer-polyfill": "^1.5.1",
|
|
73
|
+
"scroll-into-view-if-needed": "^2.2.28",
|
|
74
|
+
"sortablejs": "^1.15.0"
|
|
75
|
+
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"@babel/cli": "^7.18.6",
|
|
78
|
+
"@babel/core": "^7.18.6",
|
|
79
|
+
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
80
|
+
"@babel/plugin-proposal-decorators": "^7.18.6",
|
|
81
|
+
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
82
|
+
"@babel/plugin-transform-runtime": "^7.18.6",
|
|
83
|
+
"@babel/preset-env": "^7.18.6",
|
|
84
|
+
"@babel/preset-react": "^7.18.6",
|
|
85
|
+
"@babel/preset-typescript": "^7.18.6",
|
|
86
|
+
"@rollup/plugin-babel": "^5.3.0",
|
|
87
|
+
"@rollup/plugin-commonjs": "^22.0.2",
|
|
88
|
+
"@rollup/plugin-json": "^4.1.0",
|
|
89
|
+
"@rollup/plugin-node-resolve": "^14.1.0",
|
|
90
|
+
"@rollup/plugin-replace": "^4.0.0",
|
|
91
|
+
"@rollup/plugin-typescript": "^8.5.0",
|
|
92
|
+
"@types/lodash-es": "^4.17.6",
|
|
93
|
+
"@types/react": "^17.0.58",
|
|
94
|
+
"@types/react-dom": "^17.0.20",
|
|
95
|
+
"@typescript-eslint/eslint-plugin": "^5.30.0",
|
|
96
|
+
"@typescript-eslint/parser": "^5.30.0",
|
|
97
|
+
"autoprefixer": "^10.4.14",
|
|
98
|
+
"babel-loader": "^9.1.0",
|
|
99
|
+
"core-js": "^3.32.0",
|
|
100
|
+
"cp-cli": "^2.0.0",
|
|
101
|
+
"cross-env": "^7.0.3",
|
|
102
|
+
"css-loader": "^6.7.3",
|
|
103
|
+
"eslint": "^8.40.0",
|
|
104
|
+
"eslint-plugin-prettier": "^4.2.0",
|
|
105
|
+
"eslint-plugin-react": "^7.32.0",
|
|
106
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
107
|
+
"eslint-webpack-plugin": "^3.2.0",
|
|
108
|
+
"gulp": "^4.0.2",
|
|
109
|
+
"gulp-autoprefixer": "^8.0.0",
|
|
110
|
+
"gulp-clean-css": "^4.3.0",
|
|
111
|
+
"gulp-ignore": "^3.0.0",
|
|
112
|
+
"gulp-less": "^5.0.0",
|
|
113
|
+
"gulp-rename": "^2.0.0",
|
|
114
|
+
"gulp-typescript": "^6.0.0-alpha.1",
|
|
115
|
+
"html-webpack-plugin": "^5.5.0",
|
|
116
|
+
"husky": "^4.3.8",
|
|
117
|
+
"less": "^4.2.0",
|
|
118
|
+
"less-loader": "^11.1.2",
|
|
119
|
+
"lint-staged": "^10.5.4",
|
|
120
|
+
"mockjs": "^1.1.0",
|
|
121
|
+
"prettier": "^2.8.8",
|
|
122
|
+
"react": "17.0.2",
|
|
123
|
+
"react-dom": "17.0.2",
|
|
124
|
+
"rimraf": "^3.0.2",
|
|
125
|
+
"rollup": "^2.79.1",
|
|
126
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
127
|
+
"style-loader": "^3.3.2",
|
|
128
|
+
"ts-loader": "^9.4.4",
|
|
129
|
+
"typescript": "^4.9.5",
|
|
130
|
+
"webpack": "^5.88.2",
|
|
131
|
+
"webpack-cli": "^5.1.4",
|
|
132
|
+
"webpack-dev-server": "^4.15.1",
|
|
133
|
+
"webpack-node-externals": "^3.0.0"
|
|
134
|
+
},
|
|
135
|
+
"engines": {
|
|
136
|
+
"node": ">= 14"
|
|
137
|
+
}
|
|
138
|
+
}
|