@titaui/pc 1.10.4 → 1.10.6-3.beta-2
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/.eslintrc.js +2 -2
- package/.prettierignore +1 -1
- package/lib/components/book-demo/utils.js +4 -0
- package/lib/components/button/default-button/index.css +10 -4
- package/lib/components/button/default-button/index.js +13 -2
- package/lib/components/change-okr-modal/index.js +108 -87
- package/lib/components/checkbox/index.css +1 -0
- package/lib/components/communication/CommunicationRecord.js +22 -16
- package/lib/components/communication/index.css +50 -10
- package/lib/components/communication/index.js +86 -30
- package/lib/components/communication/style.js +8 -6
- package/lib/components/create-okr-modal/fields/o-new-name.js +31 -21
- package/lib/components/create-okr-modal/fields/okr-parent.js +1 -5
- package/lib/components/create-okr-modal/kr-items/krDatas.js +16 -16
- package/lib/components/{dynamic/components/dangerous-html → dangerous-html}/index.js +0 -0
- package/lib/components/dialog/index.css +4 -1
- package/lib/components/dialog/index.js +1 -1
- package/lib/components/dialog-confirm/index.css +1 -1
- package/lib/components/drawer-manager/index.js +6 -1
- package/lib/components/dynamic/components/first-level-tabs/index.css +12 -2
- package/lib/components/dynamic/components/first-level-tabs/index.js +19 -6
- package/lib/components/dynamic/components/obj-status/index.css +3 -19
- package/lib/components/dynamic/components/obj-status/index.js +7 -8
- package/lib/components/dynamic/components/obj-status/utils.js +37 -0
- package/lib/components/dynamic/components/percent/index.css +1 -1
- package/lib/components/dynamic/components/title/index.css +21 -22
- package/lib/components/dynamic/components/title/index.js +20 -8
- package/lib/components/dynamic/constant.js +12 -2
- package/lib/components/dynamic/dynamic-item/components/feed-operate/index.css +71 -0
- package/lib/components/dynamic/dynamic-item/components/feed-operate/index.js +112 -0
- package/lib/components/dynamic/dynamic-item/components/header/index.css +8 -7
- package/lib/components/dynamic/dynamic-item/components/header/index.js +13 -7
- package/lib/components/dynamic/dynamic-item/dynamic-align/img/dynamic-align-kr.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-align/img/dynamic-align-o.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-align/img/dynamic-align.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-align/index.css +44 -27
- package/lib/components/dynamic/dynamic-item/dynamic-align/index.js +43 -31
- package/lib/components/dynamic/dynamic-item/dynamic-announcement/index.css +5 -33
- package/lib/components/dynamic/dynamic-item/dynamic-announcement/index.js +6 -32
- package/lib/components/dynamic/dynamic-item/dynamic-assessment/index.css +58 -18
- package/lib/components/dynamic/dynamic-item/dynamic-assessment/index.js +31 -21
- package/lib/components/dynamic/dynamic-item/dynamic-chart/index.css +4 -0
- package/lib/components/dynamic/dynamic-item/dynamic-chart/index.js +102 -0
- package/lib/components/dynamic/dynamic-item/dynamic-chart/utils.js +61 -0
- package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.css +56 -44
- package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.js +52 -44
- package/lib/components/dynamic/dynamic-item/dynamic-kr/index.css +39 -27
- package/lib/components/dynamic/dynamic-item/dynamic-kr/index.js +25 -29
- package/lib/components/dynamic/dynamic-item/dynamic-learning/img/dynamic-share-course.png +0 -0
- package/lib/components/dynamic/dynamic-item/{dynamic-share-to-dynamic → dynamic-learning}/img/jiantou-right@3x.png +0 -0
- package/lib/components/dynamic/dynamic-item/{dynamic-share-to-dynamic → dynamic-learning}/img/user-photo.png +0 -0
- package/lib/components/dynamic/dynamic-item/{dynamic-share-to-dynamic → dynamic-learning}/index.css +10 -18
- package/lib/components/dynamic/dynamic-item/{dynamic-share-to-dynamic → dynamic-learning}/index.js +15 -30
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/constant.js +9 -2
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.css +31 -14
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.js +14 -25
- package/lib/components/dynamic/dynamic-item/dynamic-okrs-communication/index.css +25 -40
- package/lib/components/dynamic/dynamic-item/dynamic-okrs-communication/index.js +10 -29
- package/lib/components/dynamic/dynamic-item/dynamic-plan-communication/index.css +25 -40
- package/lib/components/dynamic/dynamic-item/dynamic-plan-communication/index.js +13 -30
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.css +13 -55
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.js +33 -80
- package/lib/components/dynamic/dynamic-item/dynamic-progress/utils.js +72 -0
- package/lib/components/dynamic/dynamic-item/dynamic-project/index.css +35 -28
- package/lib/components/dynamic/dynamic-item/dynamic-project/index.js +13 -24
- package/lib/components/dynamic/dynamic-item/dynamic-relative/img/dynamic-rela-kr.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-relative/img/dynamic-rela-o.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-relative/img/dynamic-rela-project.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-relative/img/dynamic-rela-task.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-relative/img/dynamic-rela.svg +23 -0
- package/lib/components/dynamic/dynamic-item/dynamic-relative/index.css +56 -31
- package/lib/components/dynamic/dynamic-item/dynamic-relative/index.js +78 -34
- package/lib/components/dynamic/dynamic-item/{dynamic-replay → dynamic-reply}/index.css +29 -32
- package/lib/components/dynamic/dynamic-item/{dynamic-replay → dynamic-reply}/index.js +12 -18
- package/lib/components/dynamic/dynamic-item/dynamic-report/index.css +20 -22
- package/lib/components/dynamic/dynamic-item/dynamic-report/index.js +42 -29
- package/lib/components/dynamic/dynamic-item/dynamic-reward/img/reward.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-reward/index.css +8 -3
- package/lib/components/dynamic/dynamic-item/dynamic-reward/index.js +23 -66
- package/lib/components/dynamic/dynamic-item/dynamic-reward/utils.js +28 -0
- package/lib/components/dynamic/dynamic-item/dynamic-share/index.css +8 -19
- package/lib/components/dynamic/dynamic-item/dynamic-share/index.js +59 -36
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.css +32 -28
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.js +11 -25
- package/lib/components/dynamic/dynamic-item/index.css +59 -4
- package/lib/components/dynamic/dynamic-item/index.js +148 -17
- package/lib/components/dynamic/dynamic-like-ranking/item.js +1 -1
- package/lib/components/dynamic/dynamic-list/index.js +2 -1
- package/lib/components/dynamic/dynamic-topping/item.js +8 -4
- package/lib/components/dynamic/dynamic.js +1 -1
- package/lib/components/dynamic/img/dynamic-operate.png +0 -0
- package/lib/components/dynamic/img/dynamic-point.svg +13 -0
- package/lib/components/dynamic/img/dynamic-reward-hover.svg +1 -0
- package/lib/components/dynamic/img/dynamic-reward-normal.svg +1 -0
- package/lib/components/dynamic/util.js +41 -81
- package/lib/components/e-status-dropdown/index.css +3 -0
- package/lib/components/e-status-dropdown/index.js +94 -0
- package/lib/components/file-list/components/single-file/index.css +14 -12
- package/lib/components/file-list/components/single-file/index.js +1 -1
- package/lib/components/file-list/index.css +1 -0
- package/lib/components/follower-visitor/index.js +6 -4
- package/lib/components/grid-layout/okr-progress/index.js +20 -30
- package/lib/components/help-card/image/not-try.png +0 -0
- package/lib/components/help-card/image/try.png +0 -0
- package/lib/components/help-card/index.css +31 -2
- package/lib/components/help-card/index.js +54 -17
- package/lib/components/invite-people/img/invite-people.svg +62 -0
- package/lib/components/invite-people/index.css +1 -1
- package/lib/components/mblog/context.js +3 -1
- package/lib/components/mblog/index.css +7 -0
- package/lib/components/mblog/index.js +45 -9
- package/lib/components/mblog/style.js +4 -4
- package/lib/components/menus/export-modules/demo-menus/index.js +2 -2
- package/lib/components/menus/export-modules/demo-menus/menu-highlight.js +25 -1
- package/lib/components/menus/export-modules/demo-menus/menus.js +60 -11
- package/lib/components/menus/export-modules/manage-menus/constant.js +1 -1
- package/lib/components/menus/export-modules/manage-menus/index.css +3 -0
- package/lib/components/menus/images/okr-gongsi.svg +17 -0
- package/lib/components/nav-top/components/menu/index.css +24 -0
- package/lib/components/nav-top/components/menu/index.js +9 -1
- package/lib/components/nav-top/components/user-message/components/reply/index.js +9 -8
- package/lib/components/nav-top/components/user-message/components/reply/reply-item.js +15 -5
- package/lib/components/nav-top/components/user-message/index.css +4 -3
- package/lib/components/nav-top/components/user-message/index.js +33 -6
- package/lib/components/nav-top/request.apis.js +8 -2
- package/lib/components/nav-top/useGlobalValue.js +14 -0
- package/lib/components/okr-detail/components/header/o-score.js +4 -6
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.css +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.js +27 -13
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-empty.js +7 -4
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-project.js +8 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-task.js +7 -3
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/index.css +20 -1
- package/lib/components/okr-detail/e-list/index.js +23 -7
- package/lib/components/okr-detail/e-list/util.js +7 -2
- package/lib/components/okr-detail/index.js +2 -0
- package/lib/components/okr-detail/okr-list/index.js +1 -5
- package/lib/components/okr-flow/export-modal/index.js +3 -3
- package/lib/components/okr-progress-detail/index.js +5 -1
- package/lib/components/okr-progress-modal/helper.js +20 -27
- package/lib/components/okr-share/common-painter/openDataPainter.js +34 -27
- package/lib/components/okrcase-library/okrcases-components/submitOkr-dialog.js +40 -36
- package/lib/components/open-data-painter/index.js +5 -1
- package/lib/components/progress/circle-progress/index.css +1 -0
- package/lib/components/progress/circle-progress/index.js +8 -3
- package/lib/components/rich-editor/basic/schema.js +47 -0
- package/lib/components/rich-editor/consts/events.js +12 -0
- package/lib/components/rich-editor/enums.js +42 -0
- package/lib/components/rich-editor/index.js +58 -0
- package/lib/components/rich-editor/keymap.js +119 -0
- package/lib/components/rich-editor/keymaps/index.js +241 -0
- package/lib/components/rich-editor/models/controller.js +18 -0
- package/lib/components/rich-editor/models/editor.js +47 -0
- package/lib/components/rich-editor/models/plugin.js +20 -0
- package/lib/components/rich-editor/models/schema.js +121 -0
- package/lib/components/rich-editor/plugins/block/block-quote/commond.js +27 -0
- package/lib/components/rich-editor/plugins/block/block-quote/index.js +128 -0
- package/lib/components/rich-editor/plugins/block/heading/commonds.js +31 -0
- package/lib/components/rich-editor/plugins/block/heading/index.js +190 -0
- package/lib/components/rich-editor/plugins/block/index.js +57 -0
- package/lib/components/rich-editor/plugins/block/lists/actions/conversions.js +172 -0
- package/lib/components/rich-editor/plugins/block/lists/actions/indent-list-items-selected.js +163 -0
- package/lib/components/rich-editor/plugins/block/lists/actions/indent-list.js +59 -0
- package/lib/components/rich-editor/plugins/block/lists/actions/join-list-items-forward.js +74 -0
- package/lib/components/rich-editor/plugins/block/lists/actions/join-list-items-scenarios/index.js +45 -0
- package/lib/components/rich-editor/plugins/block/lists/actions/join-list-items-scenarios/join-list-item-with-paragraph.js +104 -0
- package/lib/components/rich-editor/plugins/block/lists/actions/join-list-items-scenarios/join-list-item-with-parent-nested-list.js +92 -0
- package/lib/components/rich-editor/plugins/block/lists/actions/join-list-items-scenarios/join-nested-list-with-parent-list-item.js +89 -0
- package/lib/components/rich-editor/plugins/block/lists/actions/join-list-items-scenarios/join-paragraph-with-list.js +48 -0
- package/lib/components/rich-editor/plugins/block/lists/actions/join-list-items-scenarios/join-sibling-list-items.js +61 -0
- package/lib/components/rich-editor/plugins/block/lists/actions/merge-lists.js +34 -0
- package/lib/components/rich-editor/plugins/block/lists/actions/outdent-list-items-selected.js +289 -0
- package/lib/components/rich-editor/plugins/block/lists/actions/wrap-and-join-lists.js +180 -0
- package/lib/components/rich-editor/plugins/block/lists/baseCommand.js +328 -0
- package/lib/components/rich-editor/plugins/block/lists/commond/indent-list.js +60 -0
- package/lib/components/rich-editor/plugins/block/lists/commond/index.js +396 -0
- package/lib/components/rich-editor/plugins/block/lists/commond/join-list-item-forward.js +45 -0
- package/lib/components/rich-editor/plugins/block/lists/commond/listBackspace.js +302 -0
- package/lib/components/rich-editor/plugins/block/lists/commond/outdent-list.js +43 -0
- package/lib/components/rich-editor/plugins/block/lists/index.js +224 -0
- package/lib/components/rich-editor/plugins/block/lists/messages.js +38 -0
- package/lib/components/rich-editor/plugins/block/lists/pm-plugins/input-rule.js +152 -0
- package/lib/components/rich-editor/plugins/block/lists/pm-plugins/keymap.js +33 -0
- package/lib/components/rich-editor/plugins/block/lists/pm-plugins/main.js +94 -0
- package/lib/components/rich-editor/plugins/block/lists/styles.js +15 -0
- package/lib/components/rich-editor/plugins/block/lists/transforms.js +347 -0
- package/lib/components/rich-editor/plugins/block/lists/utils/analytics.js +48 -0
- package/lib/components/rich-editor/plugins/block/lists/utils/find.js +126 -0
- package/lib/components/rich-editor/plugins/block/lists/utils/indentation.js +87 -0
- package/lib/components/rich-editor/plugins/block/lists/utils/node.js +144 -0
- package/lib/components/rich-editor/plugins/block/lists/utils/replace-content.js +31 -0
- package/lib/components/rich-editor/plugins/block/lists/utils/selection.js +201 -0
- package/lib/components/rich-editor/plugins/block/lists/utils.js +52 -0
- package/lib/components/rich-editor/plugins/block/paragraph/index.js +91 -0
- package/lib/components/rich-editor/plugins/core/index.js +90 -0
- package/lib/components/rich-editor/plugins/core/pm-plugins/focus-handler.js +67 -0
- package/lib/components/rich-editor/plugins/core/pm-plugins/keymap.js +29 -0
- package/lib/components/rich-editor/plugins/core/pm-plugins/reactNodeView.js +80 -0
- package/lib/components/rich-editor/plugins/extension/alignment/commond.js +24 -0
- package/lib/components/rich-editor/plugins/extension/alignment/index.js +113 -0
- package/lib/components/rich-editor/plugins/extension/alignment/utils.js +19 -0
- package/lib/components/rich-editor/plugins/extension/index.js +18 -0
- package/lib/components/rich-editor/plugins/extension/placeholder/index.js +126 -0
- package/lib/components/rich-editor/plugins/extension/placeholder/styles.js +19 -0
- package/lib/components/rich-editor/plugins/index.js +44 -0
- package/lib/components/rich-editor/plugins/inline/color/commond.js +128 -0
- package/lib/components/rich-editor/plugins/inline/color/consts.js +43 -0
- package/lib/components/rich-editor/plugins/inline/color/index.css +61 -0
- package/lib/components/rich-editor/plugins/inline/color/index.js +217 -0
- package/lib/components/rich-editor/plugins/inline/color/selector.js +252 -0
- package/lib/components/rich-editor/plugins/inline/color/util.js +25 -0
- package/lib/components/rich-editor/plugins/inline/delete-line/index.js +149 -0
- package/lib/components/rich-editor/plugins/inline/em/index.js +93 -0
- package/lib/components/rich-editor/plugins/inline/index.js +83 -0
- package/lib/components/rich-editor/plugins/inline/link/commands.js +256 -0
- package/lib/components/rich-editor/plugins/inline/link/index.js +149 -0
- package/lib/components/rich-editor/plugins/inline/link/pm-plugins/fake-cursor-for-toolbar.js +77 -0
- package/lib/components/rich-editor/plugins/inline/link/pm-plugins/main.js +293 -0
- package/lib/components/rich-editor/plugins/inline/link/ui/index.css +84 -0
- package/lib/components/rich-editor/plugins/inline/link/ui/linkEditor.js +150 -0
- package/lib/components/rich-editor/plugins/inline/link/ui/linkToolbar.js +101 -0
- package/lib/components/rich-editor/plugins/inline/link/ui/toolbarBtn.js +117 -0
- package/lib/components/rich-editor/plugins/inline/link/utils.js +33 -0
- package/lib/components/rich-editor/plugins/inline/strong/index.js +139 -0
- package/lib/components/rich-editor/plugins/inline/under-line/index.js +147 -0
- package/lib/components/rich-editor/plugins/util.js +284 -0
- package/lib/components/rich-editor/react/reactNodeView.js +383 -0
- package/lib/components/rich-editor/react/uiProvider.js +185 -0
- package/lib/components/rich-editor/schemas/basic.js +309 -0
- package/lib/components/rich-editor/schemas/index.js +19 -0
- package/lib/components/rich-editor/schemas/list.js +342 -0
- package/lib/components/rich-editor/types/commond.js +5 -0
- package/lib/components/rich-editor/types/index.js +18 -0
- package/lib/components/rich-editor/ui/Popup/index.js +247 -0
- package/lib/components/rich-editor/ui/Popup/utils.js +399 -0
- package/lib/components/rich-editor/ui/editor/index.css +178 -0
- package/lib/components/rich-editor/ui/editor/index.js +153 -0
- package/lib/components/rich-editor/ui/normal-toolbar/index.css +34 -0
- package/lib/components/rich-editor/ui/normal-toolbar/index.js +109 -0
- package/lib/components/rich-editor/utils/browser.js +35 -0
- package/lib/components/rich-editor/utils/commands.js +266 -0
- package/lib/components/rich-editor/utils/document.js +211 -0
- package/lib/components/rich-editor/utils/event.js +79 -0
- package/lib/components/rich-editor/utils/helpers.js +16 -0
- package/lib/components/rich-editor/utils/mark.js +168 -0
- package/lib/components/rich-editor/utils/slice.js +85 -0
- package/lib/components/rich-editor/utils/toolbar.js +228 -0
- package/lib/components/search-key-handle/index.js +7 -2
- package/lib/components/superset-charts/components/chart/index.js +54 -0
- package/lib/components/superset-charts/fetch-assets-and-append/append-assets.js +106 -0
- package/lib/components/superset-charts/fetch-assets-and-append/get-assets-with-cache.js +131 -0
- package/lib/components/superset-charts/fetch-assets-and-append/index.js +79 -0
- package/lib/components/superset-charts/index.js +13 -0
- package/lib/components/superset-charts/interface.js +5 -0
- package/lib/components/superset-charts/utils/axios.js +94 -0
- package/lib/components/toast/index.js +5 -17
- package/lib/components/upload/index.js +4 -2
- package/lib/components/upload/util.js +2 -0
- package/lib/components/user-selector/empty/index.css +6 -6
- package/lib/components/user-selector/selected-panel/index.css +3 -3
- package/lib/components/video-modal/components/video-box/index.css +240 -0
- package/lib/components/video-modal/components/video-box/index.js +334 -0
- package/lib/components/video-modal/img/bigFaqi.png +0 -0
- package/lib/components/video-modal/img/close.png +0 -0
- package/lib/components/video-modal/img/full.svg +21 -0
- package/lib/components/video-modal/img/muted.svg +14 -0
- package/lib/components/video-modal/img/not-muted.svg +22 -0
- package/lib/components/video-modal/img/pause.svg +13 -0
- package/lib/components/video-modal/img/play.svg +18 -0
- package/lib/components/video-modal/img/small.svg +22 -0
- package/lib/components/video-modal/index.css +83 -0
- package/lib/components/video-modal/index.js +182 -0
- package/lib/components/video-modal/utils.js +25 -0
- package/lib/components/weekly-report/common-painter/openDataPainter.js +5 -1
- package/lib/hooks/useGlobalState.js +63 -0
- package/lib/index.js +40 -0
- package/lib/pages/aha2021/img/canceled.svg +13 -0
- package/lib/pages/aha2021/img/not-try.png +0 -0
- package/lib/pages/aha2021/img/try.png +0 -0
- package/lib/pages/aha2021/index.css +52 -0
- package/lib/pages/aha2021/index.js +73 -14
- package/lib/pages/new-okr-list/header/index.js +2 -1
- package/lib/pages/new-okr-list/index.js +3 -3
- package/lib/pages/okr-map/export-modules/share-okr-page/header/index.js +0 -5
- package/lib/pages/pay/image/success.png +0 -0
- package/lib/pages/pay/index.css +79 -0
- package/lib/pages/pay/index.js +66 -0
- package/lib/utils/bs-global.js +13 -9
- package/lib/utils/helpers.js +7 -1
- package/lib/utils/open-data.js +2 -1
- package/lib/utils/tools.js +11 -2
- package/package.json +120 -101
- package/lib/components/dynamic/dynamic-item/dynamic-align/img/dynamic-align.svg +0 -22
- package/lib/components/dynamic/dynamic-item/dynamic-align/img/dynamic-relative.svg +0 -22
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/img/dynamic-milestone.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-okrs-communication/img/okrs-icon.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-plan-communication/img/plan-icon.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-project/img/dynamic-project.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-relative/img/dynamic-relative.svg +0 -22
- package/lib/components/dynamic/dynamic-item/dynamic-share-to-dynamic/img/guanlian.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-icon.png +0 -0
- package/lib/components/invite-people/img/invite-people.png +0 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
.tita-pay-page {
|
|
2
|
+
width: 100vw;
|
|
3
|
+
height: 100vh;
|
|
4
|
+
background: linear-gradient(180deg, #e9f1ff 0%, rgba(233, 241, 255, 0) 100%);
|
|
5
|
+
position: relative;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.tita-pay-page-layout {
|
|
9
|
+
position: absolute;
|
|
10
|
+
top: calc(50% - 40px);
|
|
11
|
+
left: 50%;
|
|
12
|
+
transform: translate(-50%, -50%);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.tita-pay-page__title {
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.tita-pay-page__card {
|
|
21
|
+
width: 444px;
|
|
22
|
+
height: 469px;
|
|
23
|
+
background: #ffffff;
|
|
24
|
+
box-shadow: 0px 12px 20px 0px rgba(127, 145, 180, 0.2);
|
|
25
|
+
border-radius: 24px;
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
align-items: center;
|
|
29
|
+
margin-top: 21px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.tita-pay-page__card__success-image {
|
|
33
|
+
width: 194px;
|
|
34
|
+
height: 194px;
|
|
35
|
+
margin-top: 76px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.tita-pay-page__card__success-message {
|
|
39
|
+
font-weight: 600;
|
|
40
|
+
margin-top: 28px;
|
|
41
|
+
font-size: 20px;
|
|
42
|
+
color: #3f4755;
|
|
43
|
+
line-height: 32px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.tita-pay-page__card__success-promptMes {
|
|
47
|
+
font-size: 14px;
|
|
48
|
+
font-weight: 400;
|
|
49
|
+
color: #3f4755;
|
|
50
|
+
line-height: 22px;
|
|
51
|
+
margin-top: 12px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.tita-pay-page__card-title {
|
|
55
|
+
font-size: 20px;
|
|
56
|
+
color: #141c28;
|
|
57
|
+
line-height: 30px;
|
|
58
|
+
margin-top: 44px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.tita-pay-page__card-price {
|
|
62
|
+
margin: 12px 0 17px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.tita-pay-page__card-qrcode {
|
|
66
|
+
width: 240px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.tita-pay-page__card-qrcode > img {
|
|
70
|
+
width: 100%;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.tita-pay-page__card-promptMes {
|
|
74
|
+
margin-top: 20px;
|
|
75
|
+
font-size: 16px;
|
|
76
|
+
font-weight: 400;
|
|
77
|
+
color: #3f4755;
|
|
78
|
+
line-height: 22px;
|
|
79
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _success = _interopRequireDefault(require("./image/success.png"));
|
|
11
|
+
|
|
12
|
+
require("./index.css");
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
var preCls = "tita-pay-page";
|
|
17
|
+
|
|
18
|
+
var payPage = function payPage(_ref) {
|
|
19
|
+
var title = _ref.title,
|
|
20
|
+
cardTitle = _ref.cardTitle,
|
|
21
|
+
price = _ref.price,
|
|
22
|
+
qrcode = _ref.qrcode,
|
|
23
|
+
promptMes = _ref.promptMes,
|
|
24
|
+
isSuccessPay = _ref.isSuccessPay,
|
|
25
|
+
successMes = _ref.successMes;
|
|
26
|
+
|
|
27
|
+
var renderSuccessCard = function renderSuccessCard() {
|
|
28
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("img", {
|
|
29
|
+
className: "".concat(preCls, "__card__success-image"),
|
|
30
|
+
src: _success["default"],
|
|
31
|
+
alt: ""
|
|
32
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
33
|
+
className: "".concat(preCls, "__card__success-message")
|
|
34
|
+
}, "\u606D\u559C\u60A8\uFF0C\u652F\u4ED8\u6210\u529F"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
35
|
+
className: "".concat(preCls, "__card__success-promptMes")
|
|
36
|
+
}, successMes));
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
var renderCard = function renderCard() {
|
|
40
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
41
|
+
className: "".concat(preCls, "__card-title")
|
|
42
|
+
}, cardTitle), /*#__PURE__*/_react["default"].createElement("div", {
|
|
43
|
+
className: "".concat(preCls, "__card-price")
|
|
44
|
+
}, price), /*#__PURE__*/_react["default"].createElement("div", {
|
|
45
|
+
className: "".concat(preCls, "__card-qrcode")
|
|
46
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
47
|
+
src: qrcode,
|
|
48
|
+
alt: ""
|
|
49
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
50
|
+
className: "".concat(preCls, "__card-promptMes")
|
|
51
|
+
}, qrcode ? promptMes : "订单获取失败,请返回重试"));
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
55
|
+
className: "".concat(preCls)
|
|
56
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
57
|
+
className: "".concat(preCls, "-layout")
|
|
58
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
59
|
+
className: "".concat(preCls, "__title")
|
|
60
|
+
}, title), /*#__PURE__*/_react["default"].createElement("div", {
|
|
61
|
+
className: "".concat(preCls, "__card")
|
|
62
|
+
}, isSuccessPay ? renderSuccessCard() : renderCard())));
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
var _default = payPage;
|
|
66
|
+
exports["default"] = _default;
|
package/lib/utils/bs-global.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.hasWebHead = exports.getVersion = exports.getUserInfo = exports.getUploadMaxSize = exports.getTenantInfo = exports.getSource = exports.getOkrAdvancedSetting = exports.getBSGlobal = exports.getAppHead = exports.formatNum = void 0;
|
|
6
|
+
exports.hasWebHead = exports.getVersion = exports.getUserInfo = exports.getUploadMaxSize = exports.getTenantInfo = exports.getSource = exports.getOkrAdvancedSetting = exports.getBSGlobal = exports.getAppHead = exports.formatNum = exports["default"] = void 0;
|
|
7
7
|
exports.isWx = isWx;
|
|
8
8
|
|
|
9
9
|
var getUserInfo = function getUserInfo() {
|
|
@@ -95,16 +95,20 @@ exports.formatNum = formatNum;
|
|
|
95
95
|
|
|
96
96
|
var hasWebHead = function hasWebHead(webHeadName) {
|
|
97
97
|
var webHeadMap = {
|
|
98
|
-
task: 1,
|
|
99
|
-
okr: 113,
|
|
100
|
-
project: 112,
|
|
101
|
-
apply: 907,
|
|
102
|
-
kaohe: 403
|
|
98
|
+
task: '1',
|
|
99
|
+
okr: '113',
|
|
100
|
+
project: '112',
|
|
101
|
+
apply: '907',
|
|
102
|
+
kaohe: '403'
|
|
103
103
|
};
|
|
104
104
|
var webHead = window.BSGlobal.WebHead.AppHead;
|
|
105
|
-
return webHead.findIndex(function (
|
|
106
|
-
return
|
|
105
|
+
return webHead.findIndex(function (a) {
|
|
106
|
+
return a.AppId === webHeadMap[webHeadName];
|
|
107
107
|
}) !== -1;
|
|
108
108
|
};
|
|
109
109
|
|
|
110
|
-
exports.hasWebHead = hasWebHead;
|
|
110
|
+
exports.hasWebHead = hasWebHead;
|
|
111
|
+
var _default = {
|
|
112
|
+
hasWebHead: hasWebHead
|
|
113
|
+
};
|
|
114
|
+
exports["default"] = _default;
|
package/lib/utils/helpers.js
CHANGED
|
@@ -8,7 +8,7 @@ exports.escapeHtml = escapeHtml;
|
|
|
8
8
|
exports.getLoginUserInfo = void 0;
|
|
9
9
|
exports.getTenantInfo = getTenantInfo;
|
|
10
10
|
exports.getUploadMaxSize = getUploadMaxSize;
|
|
11
|
-
exports.isTencentHr = exports.isLocal = exports.isDingDing = void 0;
|
|
11
|
+
exports.isTencentHr = exports.isLocal = exports.isFeishu = exports.isDingDing = void 0;
|
|
12
12
|
|
|
13
13
|
var _bsGlobal = require("./bs-global");
|
|
14
14
|
|
|
@@ -43,6 +43,12 @@ var isDingDing = function isDingDing() {
|
|
|
43
43
|
|
|
44
44
|
exports.isDingDing = isDingDing;
|
|
45
45
|
|
|
46
|
+
var isFeishu = function isFeishu() {
|
|
47
|
+
return getTenantInfo().Source === 862;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
exports.isFeishu = isFeishu;
|
|
51
|
+
|
|
46
52
|
var isLocal = function isLocal() {
|
|
47
53
|
return !!getTenantInfo().isLocal;
|
|
48
54
|
};
|
package/lib/utils/open-data.js
CHANGED
|
@@ -178,7 +178,8 @@ var parseTag = function parseTag(str) {
|
|
|
178
178
|
} else {
|
|
179
179
|
openDatas.push( /*#__PURE__*/_react["default"].createElement("span", {
|
|
180
180
|
style: {
|
|
181
|
-
color: "#1890ff"
|
|
181
|
+
color: "#1890ff",
|
|
182
|
+
margin: '0 4px'
|
|
182
183
|
},
|
|
183
184
|
onClick: function onClick(e) {
|
|
184
185
|
return e.stopPropagation();
|
package/lib/utils/tools.js
CHANGED
|
@@ -10,7 +10,7 @@ exports.htmlDecodeByHtmlRegExp = htmlDecodeByHtmlRegExp;
|
|
|
10
10
|
exports.htmlDecodeByRegExp = htmlDecodeByRegExp;
|
|
11
11
|
exports.htmlEncodeByRegExp = htmlEncodeByRegExp;
|
|
12
12
|
exports.htmlEncodeToHtmlByRegExp = htmlEncodeToHtmlByRegExp;
|
|
13
|
-
exports.unHighLight = exports.openPage = void 0;
|
|
13
|
+
exports.unHighLight = exports.openPage = exports.htmlToText = void 0;
|
|
14
14
|
|
|
15
15
|
var _platform = require("./platform");
|
|
16
16
|
|
|
@@ -274,4 +274,13 @@ function htmlDecodeByHtmlRegExp(str) {
|
|
|
274
274
|
temp = temp.replace(/"/g, "\"");
|
|
275
275
|
temp = temp.replace(/<br\/>/g, "\n");
|
|
276
276
|
return temp;
|
|
277
|
-
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
var htmlToText = function htmlToText(text) {
|
|
280
|
+
var div = document.createElement("div");
|
|
281
|
+
div.innerHTML = text;
|
|
282
|
+
var newtext = div.innerText || div.textContent;
|
|
283
|
+
return newtext;
|
|
284
|
+
};
|
|
285
|
+
|
|
286
|
+
exports.htmlToText = htmlToText;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@titaui/pc",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.63.beta-2",
|
|
4
4
|
"nameCN": "",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -18,116 +18,135 @@
|
|
|
18
18
|
"author": "",
|
|
19
19
|
"license": "ISC",
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@babel/cli": "
|
|
22
|
-
"@babel/core": "
|
|
23
|
-
"@babel/plugin-proposal-class-properties": "
|
|
24
|
-
"@babel/plugin-proposal-decorators": "
|
|
25
|
-
"@babel/plugin-proposal-
|
|
26
|
-
"@babel/plugin-
|
|
27
|
-
"@babel/plugin-transform-
|
|
28
|
-
"@babel/
|
|
29
|
-
"@babel/preset-
|
|
21
|
+
"@babel/cli": "7.10.5",
|
|
22
|
+
"@babel/core": "7.11.1",
|
|
23
|
+
"@babel/plugin-proposal-class-properties": "7.10.4",
|
|
24
|
+
"@babel/plugin-proposal-decorators": "7.10.5",
|
|
25
|
+
"@babel/plugin-proposal-numeric-separator": "7.16.7",
|
|
26
|
+
"@babel/plugin-proposal-object-rest-spread": "7.11.0",
|
|
27
|
+
"@babel/plugin-transform-modules-commonjs": "7.10.4",
|
|
28
|
+
"@babel/plugin-transform-runtime": "7.11.0",
|
|
29
|
+
"@babel/preset-env": "7.11.0",
|
|
30
|
+
"@babel/preset-react": "7.10.4",
|
|
30
31
|
"@storybook/addon-actions": "6.0.10",
|
|
31
|
-
"@storybook/addon-controls": "
|
|
32
|
+
"@storybook/addon-controls": "6.2.7",
|
|
32
33
|
"@storybook/addon-essentials": "6.0.10",
|
|
33
|
-
"@storybook/addon-knobs": "
|
|
34
|
+
"@storybook/addon-knobs": "6.0.10",
|
|
34
35
|
"@storybook/addon-links": "6.0.10",
|
|
35
36
|
"@storybook/react": "6.0.10",
|
|
36
|
-
"@types/
|
|
37
|
-
"@
|
|
38
|
-
"@typescript-eslint/
|
|
39
|
-
"
|
|
40
|
-
"babel-
|
|
41
|
-
"babel-plugin-
|
|
42
|
-
"babel-plugin-
|
|
43
|
-
"babel-plugin-transform-
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"eslint
|
|
48
|
-
"eslint-
|
|
49
|
-
"eslint-plugin-
|
|
50
|
-
"eslint-plugin-
|
|
51
|
-
"eslint-plugin-react
|
|
52
|
-
"
|
|
53
|
-
"gulp
|
|
54
|
-
"gulp-
|
|
55
|
-
"gulp-
|
|
56
|
-
"gulp-
|
|
57
|
-
"gulp-
|
|
37
|
+
"@types/prosemirror-state": "1.2.8",
|
|
38
|
+
"@types/styled-components": "5.1.2",
|
|
39
|
+
"@typescript-eslint/eslint-plugin": "5.10.0",
|
|
40
|
+
"@typescript-eslint/parser": "5.10.0",
|
|
41
|
+
"babel-loader": "8.1.0",
|
|
42
|
+
"babel-plugin-import": "1.13.3",
|
|
43
|
+
"babel-plugin-module-resolver": "4.1.0",
|
|
44
|
+
"babel-plugin-transform-class-properties": "6.24.1",
|
|
45
|
+
"babel-plugin-transform-function-bind": "6.22.0",
|
|
46
|
+
"cross-env": "7.0.2",
|
|
47
|
+
"del": "6.0.0",
|
|
48
|
+
"eslint": "8.7.0",
|
|
49
|
+
"eslint-config-airbnb": "19.0.4",
|
|
50
|
+
"eslint-plugin-import": "2.25.4",
|
|
51
|
+
"eslint-plugin-jsx-a11y": "6.5.1",
|
|
52
|
+
"eslint-plugin-react": "7.28.0",
|
|
53
|
+
"eslint-plugin-react-hooks": "4.3.0",
|
|
54
|
+
"gulp": "4.0.2",
|
|
55
|
+
"gulp-autoprefixer": "7.0.1",
|
|
56
|
+
"gulp-babel": "8.0.0",
|
|
57
|
+
"gulp-concat": "2.6.1",
|
|
58
|
+
"gulp-cssbeautify": "3.0.0",
|
|
59
|
+
"gulp-cssnano": "2.1.3",
|
|
58
60
|
"gulp-filesize": "0.0.6",
|
|
59
|
-
"gulp-postcss": "
|
|
60
|
-
"gulp-rename": "
|
|
61
|
-
"gulp-replace": "
|
|
62
|
-
"gulp-sass": "
|
|
63
|
-
"gulp-sourcemaps": "
|
|
64
|
-
"gulp-util": "
|
|
65
|
-
"husky": "
|
|
66
|
-
"lint-staged": "
|
|
67
|
-
"pretty-quick": "
|
|
68
|
-
"sass-resources-loader": "
|
|
69
|
-
"typescript": "
|
|
61
|
+
"gulp-postcss": "9.0.0",
|
|
62
|
+
"gulp-rename": "2.0.0",
|
|
63
|
+
"gulp-replace": "1.0.0",
|
|
64
|
+
"gulp-sass": "4.1.0",
|
|
65
|
+
"gulp-sourcemaps": "2.6.5",
|
|
66
|
+
"gulp-util": "3.0.8",
|
|
67
|
+
"husky": "7.0.4",
|
|
68
|
+
"lint-staged": "12.2.0",
|
|
69
|
+
"pretty-quick": "3.1.3",
|
|
70
|
+
"sass-resources-loader": "2.2.1",
|
|
71
|
+
"typescript": "4.5.4"
|
|
70
72
|
},
|
|
71
73
|
"dependencies": {
|
|
72
|
-
"@antv/g2plot": "
|
|
73
|
-
"@juggle/resize-observer": "
|
|
74
|
-
"@titaui/dagre": "
|
|
75
|
-
"@titaui/rc-tree2": "
|
|
76
|
-
"@titaui/rc-trigger": "
|
|
74
|
+
"@antv/g2plot": "2.4.8",
|
|
75
|
+
"@juggle/resize-observer": "3.3.1",
|
|
76
|
+
"@titaui/dagre": "0.8.8-pre",
|
|
77
|
+
"@titaui/rc-tree2": "4.1.23",
|
|
78
|
+
"@titaui/rc-trigger": "5.2.5",
|
|
77
79
|
"@titaui/react-flow-renderer": "9.5.4",
|
|
78
|
-
"@titaui/toast": "
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
80
|
+
"@titaui/toast": "1.0.0",
|
|
81
|
+
"@types/color": "3.0.3",
|
|
82
|
+
"@types/prosemirror-commands": "1.0.4",
|
|
83
|
+
"@types/prosemirror-schema-basic": "1.0.2",
|
|
84
|
+
"axios": "0.21.1",
|
|
85
|
+
"bowser": "2.11.0",
|
|
86
|
+
"can-use-dom": "0.1.0",
|
|
87
|
+
"classnames": "2.2.6",
|
|
88
|
+
"clone-deep": "4.0.1",
|
|
89
|
+
"color": "4.2.1",
|
|
90
|
+
"cos-js-sdk-v5": "1.3.3",
|
|
91
|
+
"dayjs": "1.10.4",
|
|
87
92
|
"html2canvas": "1.3.2",
|
|
88
|
-
"less": "
|
|
89
|
-
"less-loader": "
|
|
90
|
-
"lodash.debounce": "
|
|
91
|
-
"lodash.memoize": "
|
|
92
|
-
"lodash.throttle": "
|
|
93
|
-
"lottie-web": "
|
|
94
|
-
"moment": "
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
93
|
+
"less": "4.1.2",
|
|
94
|
+
"less-loader": "6.0.0",
|
|
95
|
+
"lodash.debounce": "4.0.8",
|
|
96
|
+
"lodash.memoize": "4.1.2",
|
|
97
|
+
"lodash.throttle": "4.1.1",
|
|
98
|
+
"lottie-web": "5.7.12",
|
|
99
|
+
"moment": "2.29.1",
|
|
100
|
+
"prosemirror-commands": "1.2.1",
|
|
101
|
+
"prosemirror-example-setup": "1.1.2",
|
|
102
|
+
"prosemirror-history": "1.2.0",
|
|
103
|
+
"prosemirror-inputrules": "1.1.3",
|
|
104
|
+
"prosemirror-keymap": "1.1.5",
|
|
105
|
+
"prosemirror-model": "1.16.1",
|
|
106
|
+
"prosemirror-schema-basic": "1.1.2",
|
|
107
|
+
"prosemirror-schema-list": "1.1.6",
|
|
108
|
+
"prosemirror-state": "1.3.4",
|
|
109
|
+
"prosemirror-tables": "1.1.1",
|
|
110
|
+
"prosemirror-transform": "1.3.4",
|
|
111
|
+
"prosemirror-utils": "0.9.6",
|
|
112
|
+
"prosemirror-view": "1.23.6",
|
|
113
|
+
"qs": "6.10.1",
|
|
114
|
+
"raf-schd": "4.0.3",
|
|
115
|
+
"rc-cascader": "2.2.0",
|
|
116
|
+
"rc-checkbox": "2.3.2",
|
|
117
|
+
"rc-color-picker": "1.2.6",
|
|
118
|
+
"rc-cropper": "1.3.1",
|
|
100
119
|
"rc-dialog": "8.5.2",
|
|
101
|
-
"rc-drawer": "
|
|
102
|
-
"rc-input-number": "
|
|
103
|
-
"rc-overflow": "
|
|
104
|
-
"rc-pagination": "
|
|
105
|
-
"rc-queue-anim": "
|
|
106
|
-
"rc-select": "
|
|
107
|
-
"rc-switch": "
|
|
108
|
-
"rc-table": "
|
|
109
|
-
"rc-tabs": "
|
|
110
|
-
"rc-tooltip": "
|
|
111
|
-
"rc-trigger": "
|
|
112
|
-
"rc-upload": "
|
|
113
|
-
"rc-util": "
|
|
114
|
-
"react-collapse": "
|
|
115
|
-
"react-content-loader": "
|
|
116
|
-
"react-cropper": "
|
|
117
|
-
"react-custom-scrollbars": "
|
|
118
|
-
"react-grid-layout": "
|
|
119
|
-
"react-perfect-scrollbar": "
|
|
120
|
-
"react-sizeme": "
|
|
121
|
-
"react-slick": "
|
|
122
|
-
"react-spring": "
|
|
123
|
-
"react-transition-group": "
|
|
124
|
-
"resize-observer-polyfill": "
|
|
125
|
-
"slick-carousel": "
|
|
126
|
-
"tita-ui": "
|
|
127
|
-
"url-parse": "
|
|
128
|
-
"uuid": "
|
|
129
|
-
"viewerjs": "
|
|
130
|
-
"wordcloud": "
|
|
120
|
+
"rc-drawer": "4.3.1",
|
|
121
|
+
"rc-input-number": "5.0.0",
|
|
122
|
+
"rc-overflow": "1.2.2",
|
|
123
|
+
"rc-pagination": "3.1.6",
|
|
124
|
+
"rc-queue-anim": "1.4.1",
|
|
125
|
+
"rc-select": "12.1.13",
|
|
126
|
+
"rc-switch": "3.2.2",
|
|
127
|
+
"rc-table": "7.13.2",
|
|
128
|
+
"rc-tabs": "11.7.3",
|
|
129
|
+
"rc-tooltip": "5.1.1",
|
|
130
|
+
"rc-trigger": "5.2.3",
|
|
131
|
+
"rc-upload": "4.2.0-alpha.0",
|
|
132
|
+
"rc-util": "5.13.1",
|
|
133
|
+
"react-collapse": "5.1.0",
|
|
134
|
+
"react-content-loader": "6.0.3",
|
|
135
|
+
"react-cropper": "2.1.8",
|
|
136
|
+
"react-custom-scrollbars": "4.2.1",
|
|
137
|
+
"react-grid-layout": "1.2.5",
|
|
138
|
+
"react-perfect-scrollbar": "1.5.8",
|
|
139
|
+
"react-sizeme": "3.0.1",
|
|
140
|
+
"react-slick": "0.28.1",
|
|
141
|
+
"react-spring": "9.2.4",
|
|
142
|
+
"react-transition-group": "4.4.2",
|
|
143
|
+
"resize-observer-polyfill": "1.5.1",
|
|
144
|
+
"slick-carousel": "1.8.1",
|
|
145
|
+
"tita-ui": "1.2.52",
|
|
146
|
+
"url-parse": "1.5.1",
|
|
147
|
+
"uuid": "3.1.0",
|
|
148
|
+
"viewerjs": "1.10.1",
|
|
149
|
+
"wordcloud": "1.2.2"
|
|
131
150
|
},
|
|
132
151
|
"lint-staged": {
|
|
133
152
|
"src/**/*.{js,ts,tsx,jsx,css,scss}": [
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<title>切片</title>
|
|
4
|
-
<defs>
|
|
5
|
-
<linearGradient x1="50%" y1="-2.48949813e-15%" x2="50%" y2="100%" id="linearGradient-1">
|
|
6
|
-
<stop stop-color="#2879FF" offset="0%"></stop>
|
|
7
|
-
<stop stop-color="#FFFFFF" offset="100%"></stop>
|
|
8
|
-
</linearGradient>
|
|
9
|
-
</defs>
|
|
10
|
-
<g id="页面-2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
11
|
-
<g id="目标" transform="translate(-270.000000, -1746.000000)">
|
|
12
|
-
<g id="新建目标-负责目标" transform="translate(202.000000, 1635.000000)">
|
|
13
|
-
<g id="编组-11" transform="translate(68.000000, 78.000000)">
|
|
14
|
-
<g id="pull-up" transform="translate(0.000000, 33.000000)">
|
|
15
|
-
<rect id="Rectangle-5" x="0" y="0" width="18" height="18"></rect>
|
|
16
|
-
<path d="M9.6984127,1.47921007 L14.2380952,6.34609616 C14.5873016,6.73544705 14.5873016,7.31947338 14.2380952,7.70882427 C13.8888889,8.09817515 13.3650794,8.09817515 13.015873,7.70882427 L9.87301587,4.39934172 L9.87301587,16.0266228 C9.87301587,16.6106491 9.52380952,17 9,17 C8.47619048,17 8.12698413,16.6106491 8.12698413,16.0266228 L8.12698413,4.39934172 L4.98412698,7.90349971 C4.63492063,8.09817515 4.11111111,8.09817515 3.76190476,7.70882427 C3.41269841,7.31947338 3.41269841,6.73544705 3.76190476,6.34609616 L8.12698413,1.47921007 C8.3015873,1.28453463 9,0.505832851 9.6984127,1.47921007 Z" id="箭头" fill="url(#linearGradient-1)" fill-rule="nonzero"></path>
|
|
17
|
-
</g>
|
|
18
|
-
</g>
|
|
19
|
-
</g>
|
|
20
|
-
</g>
|
|
21
|
-
</g>
|
|
22
|
-
</svg>
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<title>关联-icon</title>
|
|
4
|
-
<defs>
|
|
5
|
-
<linearGradient x1="50%" y1="50%" x2="50%" y2="100%" id="linearGradient-1">
|
|
6
|
-
<stop stop-color="#2879FF" offset="0%"></stop>
|
|
7
|
-
<stop stop-color="#FFFFFF" offset="100%"></stop>
|
|
8
|
-
</linearGradient>
|
|
9
|
-
</defs>
|
|
10
|
-
<g id="页面-2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
11
|
-
<g id="目标" transform="translate(-270.000000, -2013.000000)">
|
|
12
|
-
<g id="新建目标-负责目标" transform="translate(202.000000, 1901.000000)">
|
|
13
|
-
<g id="编组-19" transform="translate(68.000000, 78.000000)">
|
|
14
|
-
<g id="pull-up" transform="translate(0.000000, 34.000000)">
|
|
15
|
-
<rect id="Rectangle-5" x="0" y="0" width="18" height="18"></rect>
|
|
16
|
-
<path d="M6.05737522,9.80294126 C6.34805303,9.80193178 6.58393921,10.0378179 6.58397526,10.3295413 L6.58397526,10.3295413 L6.58430875,14.0309019 C6.58333532,14.5429815 6.78303323,15.0240195 7.14513215,15.3861184 C7.50723108,15.7482174 7.98932361,15.9448057 8.50139427,15.9458963 C9.01344689,15.9469869 9.49446685,15.7473611 9.85649367,15.3853343 C10.2185205,15.0233075 10.4171098,14.541251 10.4170557,14.0302169 L10.4170557,14.0302169 L10.4156676,10.3298748 C10.4166591,10.039197 10.6514727,9.80438339 10.9421685,9.8033739 C11.2328464,9.80238244 11.4687235,10.0382596 11.4687686,10.3299739 L11.4687686,10.3299739 L11.4691021,14.0313345 C11.4702197,14.8496128 11.1371886,15.5923329 10.5993129,16.1302086 C10.0624738,16.6670477 9.31973568,17.0000788 8.50043886,16.9999977 C7.7070011,17.0009711 6.96111733,16.6915998 6.40037504,16.1308575 C5.83965078,15.5701333 5.53025242,14.8242225 5.5301713,14.0297662 L5.5301713,14.0297662 L5.53087433,10.3294422 C5.52980175,10.0387553 5.76564286,9.80291422 6.05737522,9.80294126 Z M8.52047535,7.44504397 C8.81215364,7.44406152 9.04887804,7.68078593 9.04892311,7.97349172 L9.04892311,7.97349172 L9.04935574,10.0910323 C9.04836428,10.2373897 8.99129229,10.3671266 8.89477824,10.4636407 C8.79826419,10.5601547 8.66644519,10.6192727 8.52113332,10.6192547 C8.22944602,10.6202281 7.99273964,10.3835217 7.99267655,10.0907979 L7.99267655,10.0907979 L7.99225293,7.97326639 C7.99113528,7.68159712 8.22775153,7.44498088 8.52047535,7.44504397 Z M8.49961865,1.00000031 C10.137302,0.999252214 11.4700124,2.33196266 11.4703008,3.96860944 L11.4703008,3.96860944 L11.4709318,7.67019534 C11.4699313,7.81605702 11.412012,7.94640686 11.3158135,8.04260544 C11.2196329,8.138786 11.0882555,8.19773276 10.9434214,8.19770572 C10.6527165,8.19870619 10.4167943,7.96278397 10.4167492,7.67103357 L10.4167492,7.67103357 L10.4160913,3.96945669 C10.4170377,3.45736801 10.2172947,2.97626693 9.85514168,2.61411393 C9.49298867,2.25196092 9.01086009,2.05326348 8.49979892,2.05316434 C7.44249781,2.05299308 6.58295676,2.91253413 6.58313702,3.96982623 L6.58313702,3.96982623 L6.58378598,7.6713941 C6.58486757,7.96210797 6.34903548,8.19794006 6.05730312,8.19787697 C5.76659826,8.19887744 5.53067604,7.96295522 5.53063097,7.67120483 L5.53063097,7.67120483 L5.53000004,3.96965498 C5.52972063,2.33096219 6.86093488,0.999747943 8.49962767,1.00002735 Z" id="形状结合" fill="url(#linearGradient-1)" fill-rule="nonzero"></path>
|
|
17
|
-
</g>
|
|
18
|
-
</g>
|
|
19
|
-
</g>
|
|
20
|
-
</g>
|
|
21
|
-
</g>
|
|
22
|
-
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<title>关联-icon</title>
|
|
4
|
-
<defs>
|
|
5
|
-
<linearGradient x1="50%" y1="50%" x2="50%" y2="100%" id="linearGradient-1">
|
|
6
|
-
<stop stop-color="#2879FF" offset="0%"></stop>
|
|
7
|
-
<stop stop-color="#FFFFFF" offset="100%"></stop>
|
|
8
|
-
</linearGradient>
|
|
9
|
-
</defs>
|
|
10
|
-
<g id="页面-2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
11
|
-
<g id="目标" transform="translate(-270.000000, -2013.000000)">
|
|
12
|
-
<g id="新建目标-负责目标" transform="translate(202.000000, 1901.000000)">
|
|
13
|
-
<g id="编组-19" transform="translate(68.000000, 78.000000)">
|
|
14
|
-
<g id="pull-up" transform="translate(0.000000, 34.000000)">
|
|
15
|
-
<rect id="Rectangle-5" x="0" y="0" width="18" height="18"></rect>
|
|
16
|
-
<path d="M6.05737522,9.80294126 C6.34805303,9.80193178 6.58393921,10.0378179 6.58397526,10.3295413 L6.58397526,10.3295413 L6.58430875,14.0309019 C6.58333532,14.5429815 6.78303323,15.0240195 7.14513215,15.3861184 C7.50723108,15.7482174 7.98932361,15.9448057 8.50139427,15.9458963 C9.01344689,15.9469869 9.49446685,15.7473611 9.85649367,15.3853343 C10.2185205,15.0233075 10.4171098,14.541251 10.4170557,14.0302169 L10.4170557,14.0302169 L10.4156676,10.3298748 C10.4166591,10.039197 10.6514727,9.80438339 10.9421685,9.8033739 C11.2328464,9.80238244 11.4687235,10.0382596 11.4687686,10.3299739 L11.4687686,10.3299739 L11.4691021,14.0313345 C11.4702197,14.8496128 11.1371886,15.5923329 10.5993129,16.1302086 C10.0624738,16.6670477 9.31973568,17.0000788 8.50043886,16.9999977 C7.7070011,17.0009711 6.96111733,16.6915998 6.40037504,16.1308575 C5.83965078,15.5701333 5.53025242,14.8242225 5.5301713,14.0297662 L5.5301713,14.0297662 L5.53087433,10.3294422 C5.52980175,10.0387553 5.76564286,9.80291422 6.05737522,9.80294126 Z M8.52047535,7.44504397 C8.81215364,7.44406152 9.04887804,7.68078593 9.04892311,7.97349172 L9.04892311,7.97349172 L9.04935574,10.0910323 C9.04836428,10.2373897 8.99129229,10.3671266 8.89477824,10.4636407 C8.79826419,10.5601547 8.66644519,10.6192727 8.52113332,10.6192547 C8.22944602,10.6202281 7.99273964,10.3835217 7.99267655,10.0907979 L7.99267655,10.0907979 L7.99225293,7.97326639 C7.99113528,7.68159712 8.22775153,7.44498088 8.52047535,7.44504397 Z M8.49961865,1.00000031 C10.137302,0.999252214 11.4700124,2.33196266 11.4703008,3.96860944 L11.4703008,3.96860944 L11.4709318,7.67019534 C11.4699313,7.81605702 11.412012,7.94640686 11.3158135,8.04260544 C11.2196329,8.138786 11.0882555,8.19773276 10.9434214,8.19770572 C10.6527165,8.19870619 10.4167943,7.96278397 10.4167492,7.67103357 L10.4167492,7.67103357 L10.4160913,3.96945669 C10.4170377,3.45736801 10.2172947,2.97626693 9.85514168,2.61411393 C9.49298867,2.25196092 9.01086009,2.05326348 8.49979892,2.05316434 C7.44249781,2.05299308 6.58295676,2.91253413 6.58313702,3.96982623 L6.58313702,3.96982623 L6.58378598,7.6713941 C6.58486757,7.96210797 6.34903548,8.19794006 6.05730312,8.19787697 C5.76659826,8.19887744 5.53067604,7.96295522 5.53063097,7.67120483 L5.53063097,7.67120483 L5.53000004,3.96965498 C5.52972063,2.33096219 6.86093488,0.999747943 8.49962767,1.00002735 Z" id="形状结合" fill="url(#linearGradient-1)" fill-rule="nonzero"></path>
|
|
17
|
-
</g>
|
|
18
|
-
</g>
|
|
19
|
-
</g>
|
|
20
|
-
</g>
|
|
21
|
-
</g>
|
|
22
|
-
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|