n20-common-lib 3.1.4 → 3.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -1
- package/src/assets/css/_coreLib.scss +1 -0
- package/src/assets/css/pivot.scss +1251 -0
- package/src/components/AdvancedFilter/index.vue +59 -19
- package/src/components/AdvancedFilter/utils.js +0 -8
- package/src/components/Pivot/CLAUDE.md +117 -0
- package/src/components/Pivot/ChartView.vue +105 -0
- package/src/components/Pivot/ConfigSidebar.vue +518 -0
- package/src/components/Pivot/MainToolbar.vue +160 -0
- package/src/components/Pivot/ReportSidebar.vue +172 -0
- package/src/components/Pivot/TableView.vue +341 -0
- package/src/components/Pivot/index.vue +1026 -1462
- package/src/components/Pivot//344/275/277/347/224/250/350/257/264/346/230/216.md +240 -0
- package/src/components/Pivot//350/257/264/346/230/216/346/226/207/346/241/243.md +171 -0
- package/src/components/ProFilterView/index.vue +39 -19
- package/src/components/v3/TablePro/index.vue +3 -5
- package/src/index.js +93 -91
- package/style/index.css +1 -1
- package/theme/blue.css +1 -1
- package/theme/cctcRed.css +1 -1
- package/theme/green.css +1 -1
- package/theme/lightBlue.css +1 -1
- package/theme/orange.css +1 -1
- package/theme/purple.css +1 -1
- package/theme/red.css +1 -1
- package/theme/yellow.css +1 -1
package/src/index.js
CHANGED
|
@@ -1,17 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
import '
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
import
|
|
1
|
+
/** 注入方法 */
|
|
2
|
+
import _numerify from 'numerify'
|
|
3
|
+
|
|
4
|
+
/** qiankun 微前端通讯 */
|
|
5
|
+
import {
|
|
6
|
+
$emit,
|
|
7
|
+
$off,
|
|
8
|
+
$on,
|
|
9
|
+
$once,
|
|
10
|
+
destroyCommunication,
|
|
11
|
+
getMainState,
|
|
12
|
+
initCommunication,
|
|
13
|
+
isQiankunEnvironment,
|
|
14
|
+
offMainStateChange,
|
|
15
|
+
onChildMessage,
|
|
16
|
+
onMainStateChange,
|
|
17
|
+
postToMain,
|
|
18
|
+
sendToChild,
|
|
19
|
+
setGlobalState
|
|
20
|
+
} from './_qiankun/communicator'
|
|
21
|
+
import PM from './_qiankun/postMessage.js'
|
|
22
|
+
import getJsonc from './assets/getJsonc.js'
|
|
23
|
+
// iconfont导入
|
|
24
|
+
import './assets/iconFont3/iconfont.js'
|
|
25
|
+
import './assets/iconFont/iconfont.js'
|
|
26
|
+
import realUrl from './assets/realUrl.js'
|
|
27
|
+
import AdvancedFilter from './components/AdvancedFilter/index.vue'
|
|
28
|
+
import AIButton from './components/AIButton/index.vue'
|
|
6
29
|
import AnchorItem from './components/Anchor/AnchorItem.vue'
|
|
7
30
|
import Anchor from './components/Anchor/index.vue'
|
|
8
31
|
import ApprovalButtons from './components/ApprovalButtons/index.vue'
|
|
9
32
|
import ShowAppOpi from './components/ApprovalButtons/showAppOpi.vue'
|
|
33
|
+
|
|
34
|
+
/* 中建科 */
|
|
35
|
+
import ApproveCardZjk from './components/ApprovalCard/ApproveCard-zjk.vue'
|
|
10
36
|
import ApproveCard from './components/ApprovalCard/ApproveCard.vue'
|
|
37
|
+
import ApprovalCardZjk from './components/ApprovalCard/index-zjk.vue'
|
|
11
38
|
import ApprovalCard from './components/ApprovalCard/index.vue'
|
|
12
39
|
import ApprovalImg from './components/ApprovalRecord/approvalImg.vue'
|
|
13
40
|
import FlowDialog from './components/ApprovalRecord/flowDialog.vue'
|
|
41
|
+
import ApprovalRecordZjk from './components/ApprovalRecord/index-zjk.vue'
|
|
14
42
|
import ApprovalRecord from './components/ApprovalRecord/index.vue'
|
|
43
|
+
import AttachmentPass from './components/AttachmentPass/index.vue'
|
|
15
44
|
import ButtonGroup from './components/Button/button-group.vue'
|
|
16
45
|
import IconGroupButton from './components/Button/icon-group-button.vue'
|
|
17
46
|
import Button from './components/Button/index.vue'
|
|
@@ -19,95 +48,91 @@ import CascaderArea from './components/CascaderArea/index.vue'
|
|
|
19
48
|
import ChildRange from './components/ChildRange/index.vue'
|
|
20
49
|
import ContentLoading from './components/ContentLoading/index.vue'
|
|
21
50
|
import ContentNull from './components/ContentNull/index.vue'
|
|
51
|
+
import DateChoose from './components/DateChoose/index.vue'
|
|
22
52
|
import DatePicker from './components/DatePicker/index.vue'
|
|
23
53
|
import DatePickerPor from './components/DatePicker/por.vue'
|
|
54
|
+
// 新版日期选择框
|
|
55
|
+
import BusiDatePicker from './components/DateSelect/busiDate.vue'
|
|
24
56
|
import SelectDatePicker from './components/DateSelect/index.vue'
|
|
57
|
+
import QuarterDatePicker from './components/DateSelect/quarterDatePicker.vue'
|
|
25
58
|
import Descriptions from './components/Descriptions/index.vue'
|
|
26
59
|
import Dialog from './components/Dialog/index.vue'
|
|
60
|
+
|
|
61
|
+
/* old */
|
|
62
|
+
import DialogO from './components/Dialog/indexO.vue'
|
|
63
|
+
// ECharts 不要打包进来
|
|
64
|
+
import Diff from './components/Diff/index.vue'
|
|
27
65
|
import DragList from './components/DragList/index.vue'
|
|
66
|
+
// 动态表单
|
|
67
|
+
import DynamicField from './components/DynamicField/DynamicField.vue'
|
|
68
|
+
import DynamicFieldOptions from './components/DynamicField/DynamicFieldOptions.vue'
|
|
69
|
+
import DynamicFieldTable from './components/DynamicField/DynamicTable.vue'
|
|
70
|
+
import ElectronicArchive from './components/ElectronicArchive/index.vue'
|
|
28
71
|
import Empty from './components/Empty/index.vue'
|
|
29
72
|
import EventBubble from './components/EventBubble/index.vue'
|
|
30
73
|
import Expandable from './components/Expandable/index.vue'
|
|
31
74
|
import ExpandablePane from './components/Expandable/main.vue'
|
|
32
75
|
import FileExportAsync from './components/FileExportAsync/index.vue'
|
|
33
76
|
import FileImport from './components/FileImport/index.vue'
|
|
34
|
-
import FileUploadTable from './components/FileUploadTable/index.vue'
|
|
35
77
|
import FileUploadTableV3 from './components/FileUploadTable/FileUploadTableV3.vue'
|
|
78
|
+
import FileUploadTable from './components/FileUploadTable/index.vue'
|
|
36
79
|
import Filters from './components/Filters/index.vue'
|
|
80
|
+
import FiltersO from './components/Filters/indexO.vue'
|
|
37
81
|
import FlowStep from './components/FlowStep/index.vue'
|
|
38
82
|
import FooterBox from './components/FooterBox/index.vue'
|
|
39
|
-
import
|
|
83
|
+
import HandlingAdvice from './components/HandlingAdvice/index.vue'
|
|
40
84
|
import InputAccount from './components/InputAccount/index.vue'
|
|
85
|
+
import InputNumber from './components/InputNumber/index.vue'
|
|
41
86
|
import InputNumberRange from './components/InputNumber/numberRange.vue'
|
|
42
87
|
import InputSearch from './components/InputSearch/index.vue'
|
|
43
88
|
import NavMenu from './components/NavMenu/index.vue'
|
|
89
|
+
import operatingStatus from './components/operatingStatus/index.vue'
|
|
44
90
|
import PageHeader from './components/PageHeader/index.vue'
|
|
45
91
|
import Page from './components/PageLayout/page.vue'
|
|
46
92
|
import Pagination from './components/Pagination/main.vue'
|
|
93
|
+
import Preview from './components/Preview/index.vue'
|
|
94
|
+
// 扩展Storage
|
|
95
|
+
|
|
96
|
+
/** 提供组件给外部使用的入口 */
|
|
97
|
+
import ProFilterView from './components/ProFilterView/index.vue'
|
|
47
98
|
import SecondaryTab from './components/SecondaryTab/index.vue'
|
|
99
|
+
import HalfYearPicker from './components/SelectDatePickerPro/halfYearPicker.vue'
|
|
100
|
+
import SelectDatePickerPro from './components/SelectDatePickerPro/index.vue'
|
|
48
101
|
import SelectLazy from './components/SelectLazy/index.vue'
|
|
49
|
-
import SelectTreeLazy from './components/SelectTree/SelectTreeLazy.vue'
|
|
50
102
|
import SelectTree from './components/SelectTree/index.vue'
|
|
103
|
+
import SelectTreePro from './components/SelectTree/pro.vue'
|
|
104
|
+
import SelectTreeLazy from './components/SelectTree/SelectTreeLazy.vue'
|
|
51
105
|
import ShowColumn from './components/ShowColumn/index.vue'
|
|
52
106
|
import Sifting from './components/Sifting/index.vue'
|
|
107
|
+
import Stamp from './components/Stamp/index.vue'
|
|
53
108
|
import Statis from './components/Statis/index.vue'
|
|
54
109
|
import StatisItem from './components/Statis/statisItem.vue'
|
|
55
110
|
import StatisPopover from './components/Statis/statisPopover.vue'
|
|
56
111
|
import Step from './components/Step/index.vue'
|
|
57
112
|
import Suspend from './components/Suspend/index.vue'
|
|
58
113
|
import Table from './components/Table/index.vue'
|
|
59
|
-
import
|
|
114
|
+
import TableO from './components/Table/indexO.vue'
|
|
60
115
|
import TableOperateColumn from './components/TableOperateColumn/index.vue'
|
|
116
|
+
import TableOperate from './components/TableOperateColumn/OperateBtns.vue'
|
|
61
117
|
import TablePro from './components/TablePro/index.vue'
|
|
62
118
|
import TableProOperateColumn from './components/TableProOperateColumn/index.vue'
|
|
63
119
|
import TableSetSize from './components/TableSetSize'
|
|
120
|
+
import TableTransfer from './components/TableTransfer/index.vue'
|
|
121
|
+
import Tabs from './components/Tabs/index.vue'
|
|
64
122
|
import Task from './components/Task/index.vue'
|
|
65
123
|
import TertiaryTab from './components/TertiaryTab/index.vue'
|
|
66
124
|
import TimePicker from './components/TimePicker/index.vue'
|
|
67
|
-
import Upload from './components/Upload/index.vue'
|
|
68
|
-
import WornPagination from './components/WornPagination/index.vue'
|
|
69
|
-
|
|
70
|
-
import AdvancedFilter from './components/AdvancedFilter/index.vue'
|
|
71
|
-
import AttachmentPass from './components/AttachmentPass/index.vue'
|
|
72
|
-
import AIButton from './components/AIButton/index.vue'
|
|
73
|
-
import DateChoose from './components/DateChoose/index.vue'
|
|
74
|
-
import ElectronicArchive from './components/ElectronicArchive/index.vue'
|
|
75
|
-
import HandlingAdvice from './components/HandlingAdvice/index.vue'
|
|
76
|
-
import Preview from './components/Preview/index.vue'
|
|
77
|
-
import SelectTreePro from './components/SelectTree/pro.vue'
|
|
78
125
|
import Tree from './components/Tree/index.vue'
|
|
79
|
-
import
|
|
80
|
-
import ViewToggle from './components/ViewToggle/index.vue'
|
|
81
|
-
|
|
82
|
-
// 新版日期选择框
|
|
83
|
-
import BusiDatePicker from './components/DateSelect/busiDate.vue'
|
|
84
|
-
import QuarterDatePicker from './components/DateSelect/quarterDatePicker.vue'
|
|
85
|
-
import HalfYearPicker from './components/SelectDatePickerPro/halfYearPicker.vue'
|
|
86
|
-
import SelectDatePickerPro from './components/SelectDatePickerPro/index.vue'
|
|
87
|
-
import TableTransfer from './components/TableTransfer/index.vue'
|
|
126
|
+
import Upload from './components/Upload/index.vue'
|
|
88
127
|
import UploadMsg from './components/Upload/uploadMsg.vue'
|
|
89
|
-
import
|
|
90
|
-
import operatingStatus from './components/operatingStatus/index.vue'
|
|
91
|
-
|
|
92
|
-
// 动态表单
|
|
93
|
-
import DynamicField from './components/DynamicField/DynamicField.vue'
|
|
94
|
-
import DynamicFieldOptions from './components/DynamicField/DynamicFieldOptions.vue'
|
|
95
|
-
import DynamicFieldTable from './components/DynamicField/DynamicTable.vue'
|
|
128
|
+
import SecondaryTabV3 from './components/v3/SecondaryTab/index.vue'
|
|
96
129
|
|
|
97
|
-
// ECharts 不要打包进来
|
|
98
|
-
import Diff from './components/Diff/index.vue'
|
|
99
|
-
import Stamp from './components/Stamp/index.vue'
|
|
100
|
-
/* old */
|
|
101
|
-
import DialogO from './components/Dialog/indexO.vue'
|
|
102
|
-
import FiltersO from './components/Filters/indexO.vue'
|
|
103
|
-
import TableO from './components/Table/indexO.vue'
|
|
104
|
-
/* 中建科 */
|
|
105
|
-
import ApproveCardZjk from './components/ApprovalCard/ApproveCard-zjk.vue'
|
|
106
|
-
import ApprovalCardZjk from './components/ApprovalCard/index-zjk.vue'
|
|
107
|
-
import ApprovalRecordZjk from './components/ApprovalRecord/index-zjk.vue'
|
|
108
130
|
/* v3组件*/
|
|
109
131
|
import tableProV3 from './components/v3/TablePro/index.vue'
|
|
110
|
-
import
|
|
132
|
+
import ViewToggle from './components/ViewToggle/index.vue'
|
|
133
|
+
import WorkCard from './components/WorkCard/index.vue'
|
|
134
|
+
import WornPagination from './components/WornPagination/index.vue'
|
|
135
|
+
import VTableLoading from './directives/loading/index.js'
|
|
111
136
|
|
|
112
137
|
/** 第三方组件 */
|
|
113
138
|
|
|
@@ -116,69 +141,46 @@ import VClickOutside from './directives/VClickOutside/index.js'
|
|
|
116
141
|
import VDrag from './directives/VDrag/index.js'
|
|
117
142
|
import VErrorMessage from './directives/VErrorMessage/index.js'
|
|
118
143
|
import VHas from './directives/VHas/index.js'
|
|
144
|
+
import { has as isHas, hasG as isHasG } from './directives/VHas/index.js'
|
|
119
145
|
import VMove from './directives/VMove/index.js'
|
|
120
146
|
import VRuleKey from './directives/VRuleKey/index.js'
|
|
121
147
|
import { HoverTooltip, TitleDirective } from './directives/VTitle/index.js'
|
|
122
|
-
import VTableLoading from './directives/loading/index.js'
|
|
123
148
|
import watermark from './directives/watermark/index.js'
|
|
124
149
|
|
|
125
|
-
/**
|
|
126
|
-
import
|
|
127
|
-
import
|
|
128
|
-
import
|
|
129
|
-
import { has as isHas, hasG as isHasG } from './directives/VHas/index.js'
|
|
150
|
+
/** 全局指令 */
|
|
151
|
+
import fitlers from './fitlers'
|
|
152
|
+
import { accountFormat } from './utils/accountFormat'
|
|
153
|
+
import { convert } from './utils/amountInWords.js'
|
|
130
154
|
import { getAnyLevel, setAnyLevel } from './utils/anyLevel.js'
|
|
131
155
|
import asyncGetRelaNos from './utils/asyncGetRelaNos.js'
|
|
132
156
|
import auth from './utils/auth.js'
|
|
133
157
|
import axios from './utils/axios.js'
|
|
158
|
+
import { dayjs, relativeDate, relativeNowDate } from './utils/date.js'
|
|
134
159
|
import downloadBlob from './utils/downloadBlob.js'
|
|
135
160
|
import forEachs from './utils/forEachs'
|
|
136
161
|
import { refreshTab, setTabs } from './utils/handleTab.js'
|
|
137
|
-
import imgLoad from './utils/imgLoad.js'
|
|
138
|
-
import importG from './utils/importGlobal.js' // 联合加载组件保存位置
|
|
139
|
-
import { type } from './utils/judgeType.js'
|
|
140
|
-
import list2tree from './utils/list2tree'
|
|
141
|
-
import { msgPor, msgboxPor } from './utils/msgboxPor.js'
|
|
142
|
-
import N from './utils/numberPor.js' // 扩展Number
|
|
143
|
-
import { closeTab, linkGo, linkPush } from './utils/urlToGo'
|
|
144
|
-
import { accountFormat } from './utils/accountFormat'
|
|
145
|
-
|
|
146
|
-
import { dayjs, relativeDate, relativeNowDate } from './utils/date.js'
|
|
147
|
-
|
|
148
|
-
function numerify(input, formatType, roundingFunction) {
|
|
149
|
-
return _numerify(input, formatType, roundingFunction)
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
import { convert } from './utils/amountInWords.js'
|
|
153
162
|
|
|
154
163
|
/** 国际化 */
|
|
155
164
|
import i18n, { $l } from './utils/i18n'
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
165
|
+
import imgLoad from './utils/imgLoad.js'
|
|
166
|
+
import importG from './utils/importGlobal.js'
|
|
167
|
+
// 联合加载组件保存位置
|
|
168
|
+
import { type } from './utils/judgeType.js'
|
|
169
|
+
import list2tree from './utils/list2tree'
|
|
159
170
|
|
|
160
171
|
/** 修正ElementUI的问题 */
|
|
161
172
|
import monitor from './utils/monitor.js'
|
|
173
|
+
import { msgboxPor, msgPor } from './utils/msgboxPor.js'
|
|
174
|
+
import N from './utils/numberPor.js'
|
|
162
175
|
import repairEl from './utils/repairElementUI'
|
|
176
|
+
// iconfont导入
|
|
177
|
+
import './utils/storagePro.js'
|
|
178
|
+
// 扩展Number
|
|
179
|
+
import { closeTab, linkGo, linkPush } from './utils/urlToGo'
|
|
163
180
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
destroyCommunication,
|
|
168
|
-
setGlobalState,
|
|
169
|
-
postToMain,
|
|
170
|
-
onMainStateChange,
|
|
171
|
-
offMainStateChange,
|
|
172
|
-
getMainState,
|
|
173
|
-
sendToChild,
|
|
174
|
-
onChildMessage,
|
|
175
|
-
isQiankunEnvironment,
|
|
176
|
-
$on,
|
|
177
|
-
$off,
|
|
178
|
-
$emit,
|
|
179
|
-
$once
|
|
180
|
-
} from './_qiankun/communicator'
|
|
181
|
-
import PM from './_qiankun/postMessage.js'
|
|
181
|
+
function numerify(input, formatType, roundingFunction) {
|
|
182
|
+
return _numerify(input, formatType, roundingFunction)
|
|
183
|
+
}
|
|
182
184
|
|
|
183
185
|
const components = [
|
|
184
186
|
ProFilterView,
|