doway-coms 2.10.76 → 2.10.78

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.
Files changed (90) hide show
  1. package/.browserslistrc +2 -2
  2. package/README.md +28 -28
  3. package/package.json +54 -54
  4. package/packages/AuditsList/index.js +7 -7
  5. package/packages/AuditsList/src/index.vue +315 -315
  6. package/packages/BaseButton/index.js +7 -7
  7. package/packages/BaseButton/src/index.vue +242 -242
  8. package/packages/BaseCheckbox/index.js +7 -7
  9. package/packages/BaseCheckbox/src/index.vue +134 -134
  10. package/packages/BaseDate/index.js +7 -7
  11. package/packages/BaseDate/src/index.vue +197 -197
  12. package/packages/BaseDateWeek/index.js +7 -7
  13. package/packages/BaseDateWeek/src/index.vue +163 -163
  14. package/packages/BaseDatetime/index.js +7 -7
  15. package/packages/BaseDatetime/src/index.vue +196 -196
  16. package/packages/BaseFileGroup/index.js +7 -7
  17. package/packages/BaseFileGroup/src/index.vue +724 -724
  18. package/packages/BaseForm/index.js +7 -7
  19. package/packages/BaseForm/src/index.vue +882 -882
  20. package/packages/BaseGantt/index.js +9 -9
  21. package/packages/BaseGantt/src/index.vue +617 -617
  22. package/packages/BaseGrid/index.js +9 -9
  23. package/packages/BaseGrid/src/exportCmp.vue +105 -105
  24. package/packages/BaseGrid/src/gridApi.js +32 -32
  25. package/packages/BaseGrid/src/index.vue +4098 -4048
  26. package/packages/BaseGridAdjust/index.js +9 -9
  27. package/packages/BaseGridAdjust/src/index.vue +482 -482
  28. package/packages/BaseInput/index.js +7 -7
  29. package/packages/BaseInput/src/index.vue +195 -195
  30. package/packages/BaseIntervalInput/index.js +7 -7
  31. package/packages/BaseIntervalInput/src/index.vue +310 -310
  32. package/packages/BaseKanbanEmpty/index.js +7 -7
  33. package/packages/BaseKanbanEmpty/src/index.vue +176 -176
  34. package/packages/BaseNumberInput/index.js +7 -7
  35. package/packages/BaseNumberInput/src/index.vue +291 -291
  36. package/packages/BasePagination/index.js +7 -7
  37. package/packages/BasePagination/src/index.vue +91 -91
  38. package/packages/BasePictureCard/index.js +7 -7
  39. package/packages/BasePictureCard/src/index.vue +671 -671
  40. package/packages/BasePrintPreview/index.js +7 -7
  41. package/packages/BasePrintPreview/src/index.vue +150 -150
  42. package/packages/BasePulldown/index.js +7 -7
  43. package/packages/BasePulldown/src/index.vue +1392 -1392
  44. package/packages/BaseSearch/index.js +7 -7
  45. package/packages/BaseSearch/src/index.vue +935 -935
  46. package/packages/BaseSelect/index.js +7 -7
  47. package/packages/BaseSelect/src/index.vue +155 -155
  48. package/packages/BaseSelectMulti/index.js +7 -7
  49. package/packages/BaseSelectMulti/src/index.vue +148 -148
  50. package/packages/BaseTextArea/index.js +7 -7
  51. package/packages/BaseTextArea/src/index.vue +178 -178
  52. package/packages/BaseTime/index.js +7 -7
  53. package/packages/BaseTime/src/index.vue +166 -166
  54. package/packages/BaseTool/index.js +7 -7
  55. package/packages/BaseTool/src/index.vue +353 -353
  56. package/packages/BaseToolStatus/index.js +7 -7
  57. package/packages/BaseToolStatus/src/ApprovalPersonsGroup.vue +41 -41
  58. package/packages/BaseToolStatus/src/index.vue +439 -439
  59. package/packages/BaseTreeSelect/index.js +8 -8
  60. package/packages/BaseTreeSelect/src/index.vue +437 -437
  61. package/packages/HistoryModal/index.js +8 -8
  62. package/packages/HistoryModal/src/index.vue +144 -144
  63. package/packages/LeaveAMessage/index.js +7 -7
  64. package/packages/LeaveAMessage/src/index.vue +601 -601
  65. package/packages/directive/clickoutside.js +44 -44
  66. package/packages/index.js +197 -197
  67. package/packages/styles/default.css +78 -78
  68. package/packages/styles/default.less +91 -91
  69. package/packages/utils/api.js +106 -106
  70. package/packages/utils/auth.js +38 -38
  71. package/packages/utils/common.js +703 -703
  72. package/packages/utils/dom.js +181 -181
  73. package/packages/utils/enum.js +86 -86
  74. package/packages/utils/filters.js +485 -485
  75. package/packages/utils/gridFormat.js +66 -66
  76. package/packages/utils/msg.js +84 -84
  77. package/packages/utils/patchFiles.js +44 -44
  78. package/packages/utils/request.js +181 -181
  79. package/packages/utils/store.js +372 -372
  80. package/packages/utils/tscPrinter.js +101 -0
  81. package/vue.config.js +59 -59
  82. package/dist/css/chunk-vendors.7f83d8f9.css +0 -8
  83. package/dist/css/index.7946d50b.css +0 -1
  84. package/dist/favicon.ico +0 -0
  85. package/dist/js/chunk-vendors.28fda91d.js +0 -340
  86. package/dist/js/index.49bc6add.js +0 -2
  87. package/lib/doway-coms.common.js +0 -120397
  88. package/lib/doway-coms.css +0 -1
  89. package/lib/doway-coms.umd.js +0 -120407
  90. package/lib/doway-coms.umd.min.js +0 -328
@@ -1,44 +1,44 @@
1
- const clickoutsideContext = '@@clickoutsideContext'
2
-
3
- export default {
4
- /*
5
- @param el 指令所绑定的元素
6
- @param binding {Object}
7
- @param vnode vue编译生成的虚拟节点
8
- */
9
- bind(el, binding, vnode) {
10
- const documentHandler = function(e) {
11
- // console.log(el)
12
- // console.log(e.target);
13
- // console.log(vnode);
14
- // console.log(binding);
15
-
16
- if (!vnode.context || el.contains(e.target)) {
17
- return false
18
- }
19
- if (binding.expression) {
20
- vnode.context[el[clickoutsideContext].methodName](e)
21
- } else {
22
- el[clickoutsideContext].bindingFn(e)
23
- }
24
- }
25
- el[clickoutsideContext] = {
26
- documentHandler,
27
- methodName: binding.expression,
28
- bindingFn: binding.value
29
- }
30
- setTimeout(() => {
31
- document.addEventListener('click', documentHandler)
32
- }, 0)
33
- },
34
- update(el, binding) {
35
- el[clickoutsideContext].methodName = binding.expression
36
- el[clickoutsideContext].bindingFn = binding.value
37
- },
38
- unbind(el) {
39
- document.removeEventListener(
40
- 'click',
41
- el[clickoutsideContext].documentHandler
42
- )
43
- }
44
- }
1
+ const clickoutsideContext = '@@clickoutsideContext'
2
+
3
+ export default {
4
+ /*
5
+ @param el 指令所绑定的元素
6
+ @param binding {Object}
7
+ @param vnode vue编译生成的虚拟节点
8
+ */
9
+ bind(el, binding, vnode) {
10
+ const documentHandler = function(e) {
11
+ // console.log(el)
12
+ // console.log(e.target);
13
+ // console.log(vnode);
14
+ // console.log(binding);
15
+
16
+ if (!vnode.context || el.contains(e.target)) {
17
+ return false
18
+ }
19
+ if (binding.expression) {
20
+ vnode.context[el[clickoutsideContext].methodName](e)
21
+ } else {
22
+ el[clickoutsideContext].bindingFn(e)
23
+ }
24
+ }
25
+ el[clickoutsideContext] = {
26
+ documentHandler,
27
+ methodName: binding.expression,
28
+ bindingFn: binding.value
29
+ }
30
+ setTimeout(() => {
31
+ document.addEventListener('click', documentHandler)
32
+ }, 0)
33
+ },
34
+ update(el, binding) {
35
+ el[clickoutsideContext].methodName = binding.expression
36
+ el[clickoutsideContext].bindingFn = binding.value
37
+ },
38
+ unbind(el) {
39
+ document.removeEventListener(
40
+ 'click',
41
+ el[clickoutsideContext].documentHandler
42
+ )
43
+ }
44
+ }
package/packages/index.js CHANGED
@@ -1,197 +1,197 @@
1
- import Vue from 'vue'
2
- // 导入组件
3
- import BaseInput from './BaseInput/index'
4
- import BaseCheckbox from './BaseCheckbox/index'
5
- import BaseDate from './BaseDate/index'
6
- import BaseDatetime from './BaseDatetime/index'
7
- import BaseDateWeek from './BaseDateWeek/index'
8
- import BaseTextArea from './BaseTextArea/index'
9
- import BaseSelect from './BaseSelect/index'
10
- import BaseSelectMulti from './BaseSelectMulti/index'
11
- import BaseTime from './BaseTime/index'
12
- import BasePagination from './BasePagination/index'
13
- import BaseNumberInput from './BaseNumberInput/index'
14
- import BaseTool from './BaseTool/index'
15
- import BaseToolStatus from './BaseToolStatus/index'
16
- import BasePulldown from './BasePulldown/index'
17
- import BaseIntervalInput from './BaseIntervalInput/index'
18
- import BaseForm from './BaseForm/index'
19
- import BasePictureCard from './BasePictureCard/index'
20
- import BaseFileGroup from './BaseFileGroup/index'
21
- import BasePrintPreview from './BasePrintPreview/index'
22
- import BaseGantt from './BaseGantt/index'
23
- import BaseKanbanEmpty from './BaseKanbanEmpty/index'
24
- import BaseSearch from './BaseSearch/index'
25
- import BaseButton from './BaseButton/index'
26
- import BaseTreeSelect from './BaseTreeSelect/index'
27
- import LeaveAMessage from './LeaveAMessage/index'
28
- import AuditsList from './AuditsList/index'
29
- import HistoryModal from './HistoryModal/index'
30
-
31
- import store from './utils/store'
32
- import request from './utils/request'
33
- import BaseGrid from './BaseGrid/index'
34
-
35
- // 存储组件列表
36
- const components = [
37
- BaseInput,
38
- BaseCheckbox,
39
- BaseDate,
40
- BaseDatetime,
41
- BaseDateWeek,
42
- BaseTextArea,
43
- BaseSelect,
44
- BaseSelectMulti,
45
- BaseTime,
46
- BasePagination,
47
- BaseNumberInput,
48
- BaseTool,
49
- BaseToolStatus,
50
- BasePulldown,
51
- BaseIntervalInput,
52
- BaseForm,
53
- BasePictureCard,
54
- BaseGrid,
55
- BasePrintPreview,
56
- BaseGantt,
57
- BaseKanbanEmpty,
58
- BaseSearch,
59
- BaseButton,
60
- LeaveAMessage,
61
- AuditsList,
62
- BaseTreeSelect,
63
- BaseFileGroup,
64
- HistoryModal,
65
- ]
66
- // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
67
-
68
- import 'vxe-table/lib/style.css'
69
- import VXETable from 'vxe-table'
70
-
71
- const popupInterceptor = (params) => {
72
- // 比如点击了某个组件的弹出层面板之后,此时被激活单元格不应该被自动关闭,通过返回 false 可以阻止默认的行为。
73
- let parentElement =
74
- params.$event.target.shadowRoot && params.$event.composed
75
- ? params.$event.composedPath()[0] || params.$event.target
76
- : params.$event.target
77
- while (true) {
78
- // console.debug(parentElement)
79
- if (
80
- parentElement && typeof parentElement.className === 'string' &&
81
- (parentElement.className.indexOf('vxe-modal--wrapper') > -1 ||
82
- parentElement.className.indexOf('ant-calendar') > -1 ||
83
- parentElement.className.indexOf('ant-select-dropdown-menu-item') > -1 ||
84
- parentElement.className.indexOf('interceptor-class') > -1 ||
85
- parentElement.className.indexOf('ant-time-picker-panel') > -1 ||
86
- parentElement.className.indexOf('ant-select-dropdown') > -1)
87
- ) {
88
- //定义网格弹出框不能对焦问题
89
- return false
90
- }
91
- if (parentElement.parentElement) {
92
- parentElement = parentElement.parentElement
93
- } else {
94
- break
95
- }
96
- }
97
- }
98
- //网格弹出点击拦截器
99
- VXETable.interceptor.add('event.clearEdit', (params) => {
100
- return popupInterceptor(params)
101
- })
102
- //网格筛选点击拦截器
103
- VXETable.interceptor.add('event.clearFilter', (params) => {
104
- return popupInterceptor(params)
105
- })
106
-
107
- //表格自定义格式化
108
- import './utils/gridFormat'
109
- // 右键菜单插件
110
- import Contextmenu from 'vue-contextmenujs'
111
-
112
- Vue.use(Contextmenu)
113
-
114
- const install = function (Vue) {
115
- //注册grid组件
116
- Vue.use(VXETable)
117
- // 遍历注册全局组件
118
- components.forEach((component) => {
119
- Vue.component(component.name, component)
120
- })
121
- }
122
-
123
- // 环境监测
124
- // 判断是否是直接引入文件
125
- if (typeof window !== 'undefined' && window.Vue) {
126
- install(window.Vue)
127
- }
128
-
129
- import XEUtils from 'xe-utils'
130
- //表单输入框验证
131
- import { extend, localize } from 'vee-validate'
132
- //引入校验规则 安装所有规则
133
- import * as rules from 'vee-validate/dist/rules'
134
- Object.keys(rules).forEach((rule) => {
135
- extend(rule, rules[rule])
136
- })
137
-
138
- extend('gt', (value, min) => {
139
- if (XEUtils.toNumber(value) > min) {
140
- return true
141
- }
142
- return `必须大于${min}`
143
- })
144
-
145
- localize({
146
- en: {
147
- messages: {
148
- required: '必填',
149
- min: '不能小于 {length} 个字符',
150
- max: (_, { length }) => `不能大于 ${length} 个字符`,
151
- email: '邮箱输入不符合规则',
152
- },
153
- },
154
- })
155
-
156
- export default {
157
- // 导出的对象必须具有 install,才能被 Vue.use() 方法安装
158
- install,
159
- // 以下是具体的组件列表
160
- }
161
- export * from './utils/enum'
162
- export * from './utils/common'
163
- export * from './utils/filters'
164
- export * from './utils/msg'
165
-
166
- export {
167
- BaseInput,
168
- BaseCheckbox,
169
- BaseDate,
170
- BaseDatetime,
171
- BaseDateWeek,
172
- BaseTextArea,
173
- BaseSelect,
174
- BaseSelectMulti,
175
- BaseTime,
176
- BasePagination,
177
- BaseNumberInput,
178
- BaseTool,
179
- BaseToolStatus,
180
- BasePulldown,
181
- BaseIntervalInput,
182
- BaseForm,
183
- BaseGrid,
184
- BasePictureCard,
185
- BasePrintPreview,
186
- BaseGantt,
187
- BaseKanbanEmpty,
188
- BaseSearch,
189
- BaseTreeSelect,
190
- BaseButton,
191
- LeaveAMessage,
192
- AuditsList,
193
- store,
194
- request,
195
- BaseFileGroup,
196
- HistoryModal,
197
- }
1
+ import Vue from 'vue'
2
+ // 导入组件
3
+ import BaseInput from './BaseInput/index'
4
+ import BaseCheckbox from './BaseCheckbox/index'
5
+ import BaseDate from './BaseDate/index'
6
+ import BaseDatetime from './BaseDatetime/index'
7
+ import BaseDateWeek from './BaseDateWeek/index'
8
+ import BaseTextArea from './BaseTextArea/index'
9
+ import BaseSelect from './BaseSelect/index'
10
+ import BaseSelectMulti from './BaseSelectMulti/index'
11
+ import BaseTime from './BaseTime/index'
12
+ import BasePagination from './BasePagination/index'
13
+ import BaseNumberInput from './BaseNumberInput/index'
14
+ import BaseTool from './BaseTool/index'
15
+ import BaseToolStatus from './BaseToolStatus/index'
16
+ import BasePulldown from './BasePulldown/index'
17
+ import BaseIntervalInput from './BaseIntervalInput/index'
18
+ import BaseForm from './BaseForm/index'
19
+ import BasePictureCard from './BasePictureCard/index'
20
+ import BaseFileGroup from './BaseFileGroup/index'
21
+ import BasePrintPreview from './BasePrintPreview/index'
22
+ import BaseGantt from './BaseGantt/index'
23
+ import BaseKanbanEmpty from './BaseKanbanEmpty/index'
24
+ import BaseSearch from './BaseSearch/index'
25
+ import BaseButton from './BaseButton/index'
26
+ import BaseTreeSelect from './BaseTreeSelect/index'
27
+ import LeaveAMessage from './LeaveAMessage/index'
28
+ import AuditsList from './AuditsList/index'
29
+ import HistoryModal from './HistoryModal/index'
30
+
31
+ import store from './utils/store'
32
+ import request from './utils/request'
33
+ import BaseGrid from './BaseGrid/index'
34
+
35
+ // 存储组件列表
36
+ const components = [
37
+ BaseInput,
38
+ BaseCheckbox,
39
+ BaseDate,
40
+ BaseDatetime,
41
+ BaseDateWeek,
42
+ BaseTextArea,
43
+ BaseSelect,
44
+ BaseSelectMulti,
45
+ BaseTime,
46
+ BasePagination,
47
+ BaseNumberInput,
48
+ BaseTool,
49
+ BaseToolStatus,
50
+ BasePulldown,
51
+ BaseIntervalInput,
52
+ BaseForm,
53
+ BasePictureCard,
54
+ BaseGrid,
55
+ BasePrintPreview,
56
+ BaseGantt,
57
+ BaseKanbanEmpty,
58
+ BaseSearch,
59
+ BaseButton,
60
+ LeaveAMessage,
61
+ AuditsList,
62
+ BaseTreeSelect,
63
+ BaseFileGroup,
64
+ HistoryModal,
65
+ ]
66
+ // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
67
+
68
+ import 'vxe-table/lib/style.css'
69
+ import VXETable from 'vxe-table'
70
+
71
+ const popupInterceptor = (params) => {
72
+ // 比如点击了某个组件的弹出层面板之后,此时被激活单元格不应该被自动关闭,通过返回 false 可以阻止默认的行为。
73
+ let parentElement =
74
+ params.$event.target.shadowRoot && params.$event.composed
75
+ ? params.$event.composedPath()[0] || params.$event.target
76
+ : params.$event.target
77
+ while (true) {
78
+ // console.debug(parentElement)
79
+ if (
80
+ parentElement && typeof parentElement.className === 'string' &&
81
+ (parentElement.className.indexOf('vxe-modal--wrapper') > -1 ||
82
+ parentElement.className.indexOf('ant-calendar') > -1 ||
83
+ parentElement.className.indexOf('ant-select-dropdown-menu-item') > -1 ||
84
+ parentElement.className.indexOf('interceptor-class') > -1 ||
85
+ parentElement.className.indexOf('ant-time-picker-panel') > -1 ||
86
+ parentElement.className.indexOf('ant-select-dropdown') > -1)
87
+ ) {
88
+ //定义网格弹出框不能对焦问题
89
+ return false
90
+ }
91
+ if (parentElement.parentElement) {
92
+ parentElement = parentElement.parentElement
93
+ } else {
94
+ break
95
+ }
96
+ }
97
+ }
98
+ //网格弹出点击拦截器
99
+ VXETable.interceptor.add('event.clearEdit', (params) => {
100
+ return popupInterceptor(params)
101
+ })
102
+ //网格筛选点击拦截器
103
+ VXETable.interceptor.add('event.clearFilter', (params) => {
104
+ return popupInterceptor(params)
105
+ })
106
+
107
+ //表格自定义格式化
108
+ import './utils/gridFormat'
109
+ // 右键菜单插件
110
+ import Contextmenu from 'vue-contextmenujs'
111
+
112
+ Vue.use(Contextmenu)
113
+
114
+ const install = function (Vue) {
115
+ //注册grid组件
116
+ Vue.use(VXETable)
117
+ // 遍历注册全局组件
118
+ components.forEach((component) => {
119
+ Vue.component(component.name, component)
120
+ })
121
+ }
122
+
123
+ // 环境监测
124
+ // 判断是否是直接引入文件
125
+ if (typeof window !== 'undefined' && window.Vue) {
126
+ install(window.Vue)
127
+ }
128
+
129
+ import XEUtils from 'xe-utils'
130
+ //表单输入框验证
131
+ import { extend, localize } from 'vee-validate'
132
+ //引入校验规则 安装所有规则
133
+ import * as rules from 'vee-validate/dist/rules'
134
+ Object.keys(rules).forEach((rule) => {
135
+ extend(rule, rules[rule])
136
+ })
137
+
138
+ extend('gt', (value, min) => {
139
+ if (XEUtils.toNumber(value) > min) {
140
+ return true
141
+ }
142
+ return `必须大于${min}`
143
+ })
144
+
145
+ localize({
146
+ en: {
147
+ messages: {
148
+ required: '必填',
149
+ min: '不能小于 {length} 个字符',
150
+ max: (_, { length }) => `不能大于 ${length} 个字符`,
151
+ email: '邮箱输入不符合规则',
152
+ },
153
+ },
154
+ })
155
+
156
+ export default {
157
+ // 导出的对象必须具有 install,才能被 Vue.use() 方法安装
158
+ install,
159
+ // 以下是具体的组件列表
160
+ }
161
+ export * from './utils/enum'
162
+ export * from './utils/common'
163
+ export * from './utils/filters'
164
+ export * from './utils/msg'
165
+
166
+ export {
167
+ BaseInput,
168
+ BaseCheckbox,
169
+ BaseDate,
170
+ BaseDatetime,
171
+ BaseDateWeek,
172
+ BaseTextArea,
173
+ BaseSelect,
174
+ BaseSelectMulti,
175
+ BaseTime,
176
+ BasePagination,
177
+ BaseNumberInput,
178
+ BaseTool,
179
+ BaseToolStatus,
180
+ BasePulldown,
181
+ BaseIntervalInput,
182
+ BaseForm,
183
+ BaseGrid,
184
+ BasePictureCard,
185
+ BasePrintPreview,
186
+ BaseGantt,
187
+ BaseKanbanEmpty,
188
+ BaseSearch,
189
+ BaseTreeSelect,
190
+ BaseButton,
191
+ LeaveAMessage,
192
+ AuditsList,
193
+ store,
194
+ request,
195
+ BaseFileGroup,
196
+ HistoryModal,
197
+ }
@@ -1,78 +1,78 @@
1
- .d-control-container {
2
- display: flex;
3
- }
4
- .d-control-label {
5
- font-size: 12px;
6
- font-weight: bold;
7
- flex: 0 0 100px;
8
- }
9
- .d-control {
10
- flex: 1;
11
- width: 100%;
12
- height: 30px;
13
- overflow: hidden;
14
- white-space: nowrap;
15
- text-overflow: ellipsis;
16
- }
17
- .d-control-label-required {
18
- color: red;
19
- }
20
- .d-error-input {
21
- border-color: #f22435 !important;
22
- }
23
- .d-error-input input {
24
- border-color: #f22435 !important;
25
- }
26
- .d-error-input input:hover {
27
- border-color: #f22435 !important;
28
- }
29
- .d-error-input div {
30
- border-color: #f22435 !important;
31
- }
32
- .d-error-msg {
33
- color: #f22435;
34
- font-size: 0.75em;
35
- position: fixed;
36
- }
37
- .d-form-items {
38
- display: flex;
39
- flex-flow: row wrap;
40
- justify-content: flex-start;
41
- padding: 8px 8px 8px 8px;
42
- overflow-y: auto;
43
- }
44
- .d-form-items .d-form-item-ghost {
45
- visibility: hidden;
46
- height: 0;
47
- min-height: 0px !important;
48
- flex-grow: 1;
49
- flex-shrink: 1;
50
- flex-basis: auto;
51
- border: 1px solid #9ad4dc;
52
- min-width: 150px;
53
- width: 280px;
54
- margin-right: 8px;
55
- margin-left: 8px;
56
- border-radius: 6px;
57
- }
58
- .d-form-items .d-form-item {
59
- width: 280px;
60
- flex-grow: 1;
61
- flex-shrink: 1;
62
- flex-basis: auto;
63
- margin-top: 0px;
64
- margin-right: 8px;
65
- margin-bottom: 0px;
66
- margin-left: 8px;
67
- padding: 6px 8px 6px 8px;
68
- min-width: 150px;
69
- border-radius: 6px;
70
- }
71
- .d-form-items .d-form-item .search-view-icon {
72
- float: left;
73
- width: 64px;
74
- height: 64px;
75
- }
76
- .vxe-table--render-default .vxe-table--body-wrapper {
77
- position: inherit !important;
78
- }
1
+ .d-control-container {
2
+ display: flex;
3
+ }
4
+ .d-control-label {
5
+ font-size: 12px;
6
+ font-weight: bold;
7
+ flex: 0 0 100px;
8
+ }
9
+ .d-control {
10
+ flex: 1;
11
+ width: 100%;
12
+ height: 30px;
13
+ overflow: hidden;
14
+ white-space: nowrap;
15
+ text-overflow: ellipsis;
16
+ }
17
+ .d-control-label-required {
18
+ color: red;
19
+ }
20
+ .d-error-input {
21
+ border-color: #f22435 !important;
22
+ }
23
+ .d-error-input input {
24
+ border-color: #f22435 !important;
25
+ }
26
+ .d-error-input input:hover {
27
+ border-color: #f22435 !important;
28
+ }
29
+ .d-error-input div {
30
+ border-color: #f22435 !important;
31
+ }
32
+ .d-error-msg {
33
+ color: #f22435;
34
+ font-size: 0.75em;
35
+ position: fixed;
36
+ }
37
+ .d-form-items {
38
+ display: flex;
39
+ flex-flow: row wrap;
40
+ justify-content: flex-start;
41
+ padding: 8px 8px 8px 8px;
42
+ overflow-y: auto;
43
+ }
44
+ .d-form-items .d-form-item-ghost {
45
+ visibility: hidden;
46
+ height: 0;
47
+ min-height: 0px !important;
48
+ flex-grow: 1;
49
+ flex-shrink: 1;
50
+ flex-basis: auto;
51
+ border: 1px solid #9ad4dc;
52
+ min-width: 150px;
53
+ width: 280px;
54
+ margin-right: 8px;
55
+ margin-left: 8px;
56
+ border-radius: 6px;
57
+ }
58
+ .d-form-items .d-form-item {
59
+ width: 280px;
60
+ flex-grow: 1;
61
+ flex-shrink: 1;
62
+ flex-basis: auto;
63
+ margin-top: 0px;
64
+ margin-right: 8px;
65
+ margin-bottom: 0px;
66
+ margin-left: 8px;
67
+ padding: 6px 8px 6px 8px;
68
+ min-width: 150px;
69
+ border-radius: 6px;
70
+ }
71
+ .d-form-items .d-form-item .search-view-icon {
72
+ float: left;
73
+ width: 64px;
74
+ height: 64px;
75
+ }
76
+ .vxe-table--render-default .vxe-table--body-wrapper {
77
+ position: inherit !important;
78
+ }