bri-components 1.0.0

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 (215) hide show
  1. package/README.md +30 -0
  2. package/lib/.DS_Store +0 -0
  3. package/lib/0.bri-components.min.js +2 -0
  4. package/lib/0.bri-components.min.js.map +1 -0
  5. package/lib/1.bri-components.min.js +2 -0
  6. package/lib/1.bri-components.min.js.map +1 -0
  7. package/lib/2.bri-components.min.js +2 -0
  8. package/lib/2.bri-components.min.js.map +1 -0
  9. package/lib/3.bri-components.min.js +2 -0
  10. package/lib/3.bri-components.min.js.gz +0 -0
  11. package/lib/3.bri-components.min.js.map +1 -0
  12. package/lib/4.bri-components.min.js +2 -0
  13. package/lib/4.bri-components.min.js.gz +0 -0
  14. package/lib/4.bri-components.min.js.map +1 -0
  15. package/lib/5.bri-components.min.js +2 -0
  16. package/lib/5.bri-components.min.js.map +1 -0
  17. package/lib/6.bri-components.min.js +2 -0
  18. package/lib/6.bri-components.min.js.map +1 -0
  19. package/lib/bri-components.min.js +21 -0
  20. package/lib/bri-components.min.js.gz +0 -0
  21. package/lib/bri-components.min.js.map +1 -0
  22. package/lib/styles/bri-components.css +1 -0
  23. package/lib/styles/bundle.css +14 -0
  24. package/lib/styles/font/fontello.eot +0 -0
  25. package/lib/styles/font/fontello.svg +32 -0
  26. package/lib/styles/font/fontello.ttf +0 -0
  27. package/lib/styles/font/fontello.woff +0 -0
  28. package/lib/styles/font/fontello.woff2 +0 -0
  29. package/package.json +121 -0
  30. package/src/.DS_Store +0 -0
  31. package/src/components/controls/base/DshBack.vue +36 -0
  32. package/src/components/controls/base/DshCascader.vue +366 -0
  33. package/src/components/controls/base/DshCascaderMultiple.vue +158 -0
  34. package/src/components/controls/base/DshCheckbox.vue +199 -0
  35. package/src/components/controls/base/DshCoordinates.vue +497 -0
  36. package/src/components/controls/base/DshDate.vue +148 -0
  37. package/src/components/controls/base/DshDaterange.vue +335 -0
  38. package/src/components/controls/base/DshDivider.vue +59 -0
  39. package/src/components/controls/base/DshEditor.vue +166 -0
  40. package/src/components/controls/base/DshInput.vue +139 -0
  41. package/src/components/controls/base/DshLabels.vue +302 -0
  42. package/src/components/controls/base/DshNumber/BriInputNumber/BriInputNumber.vue +425 -0
  43. package/src/components/controls/base/DshNumber/BriInputNumber/mixins/emitter.js +34 -0
  44. package/src/components/controls/base/DshNumber/BriInputNumber/mixins/form.js +14 -0
  45. package/src/components/controls/base/DshNumber/BriInputNumber/utils/assist.js +322 -0
  46. package/src/components/controls/base/DshNumber/DshNumber.vue +148 -0
  47. package/src/components/controls/base/DshNumberange.vue +137 -0
  48. package/src/components/controls/base/DshPackage.vue +72 -0
  49. package/src/components/controls/base/DshSelect.vue +231 -0
  50. package/src/components/controls/base/DshSwitch.vue +112 -0
  51. package/src/components/controls/base/DshUndeveloped.vue +39 -0
  52. package/src/components/controls/base/YSerialNumber.vue +37 -0
  53. package/src/components/controls/base/ZUpload/YUploadImage.vue +228 -0
  54. package/src/components/controls/base/ZUpload/index.vue +356 -0
  55. package/src/components/controls/base/ZUpload/upload-list.vue +277 -0
  56. package/src/components/controls/base/ZUpload/upload-listItem.vue +0 -0
  57. package/src/components/controls/base/ZUpload/uploadMixin.js +397 -0
  58. package/src/components/controls/base/selectMixin.js +110 -0
  59. package/src/components/controls/base/textMultiple/DshTextMultiple.vue +94 -0
  60. package/src/components/controls/base/textMultiple/MultipleInput.vue +106 -0
  61. package/src/components/controls/controlMap.js +94 -0
  62. package/src/components/controls/controlMixin.js +84 -0
  63. package/src/components/form/DshAdvSearchForm.vue +341 -0
  64. package/src/components/form/DshDefaultSearch.vue +203 -0
  65. package/src/components/form/DshForm.vue +364 -0
  66. package/src/components/form/searchMixin.js +205 -0
  67. package/src/components/list/DshBox/DshBox.vue +168 -0
  68. package/src/components/list/DshBox/DshCard.vue +219 -0
  69. package/src/components/list/DshBox/DshCrossTable.vue +624 -0
  70. package/src/components/list/DshBox/DshList.vue +442 -0
  71. package/src/components/list/DshBox/DshPanel.vue +407 -0
  72. package/src/components/list/DshBox/DshSingleData.vue +82 -0
  73. package/src/components/list/DshBox/DshTable.vue +273 -0
  74. package/src/components/list/DshCascaderTable.vue +817 -0
  75. package/src/components/list/DshFlatTable.vue +622 -0
  76. package/src/components/list/ZTree.vue +527 -0
  77. package/src/components/list/easyTable/index.js +23 -0
  78. package/src/components/list/easyTable/src/directives/clickoutside.js +32 -0
  79. package/src/components/list/easyTable/src/mixins/layerAdjustment.js +62 -0
  80. package/src/components/list/easyTable/src/settings/settings.js +11 -0
  81. package/src/components/list/easyTable/src/utils/deepClone.js +256 -0
  82. package/src/components/list/easyTable/src/utils/dom.js +41 -0
  83. package/src/components/list/easyTable/src/utils/utils.js +190 -0
  84. package/src/components/list/easyTable/v-checkbox/index.js +7 -0
  85. package/src/components/list/easyTable/v-checkbox/src/checkbox.vue +127 -0
  86. package/src/components/list/easyTable/v-checkbox-group/index.js +7 -0
  87. package/src/components/list/easyTable/v-checkbox-group/src/checkbox-group.vue +68 -0
  88. package/src/components/list/easyTable/v-dropdown/index.js +7 -0
  89. package/src/components/list/easyTable/v-dropdown/src/dropdown.vue +337 -0
  90. package/src/components/list/easyTable/v-table/index.js +7 -0
  91. package/src/components/list/easyTable/v-table/src/body-cell-merge-mixin.js +141 -0
  92. package/src/components/list/easyTable/v-table/src/cell-edit-mixin.js +102 -0
  93. package/src/components/list/easyTable/v-table/src/checkbox-selection-mixin.js +189 -0
  94. package/src/components/list/easyTable/v-table/src/classes-mixin.js +56 -0
  95. package/src/components/list/easyTable/v-table/src/drag-width-mixin.js +202 -0
  96. package/src/components/list/easyTable/v-table/src/export-csv.js +74 -0
  97. package/src/components/list/easyTable/v-table/src/frozen-columns-mixin.js +134 -0
  98. package/src/components/list/easyTable/v-table/src/loading.vue +49 -0
  99. package/src/components/list/easyTable/v-table/src/scroll-bar-control-mixin.js +21 -0
  100. package/src/components/list/easyTable/v-table/src/scroll-control-mixin.js +92 -0
  101. package/src/components/list/easyTable/v-table/src/sort-control-mixin.js +108 -0
  102. package/src/components/list/easyTable/v-table/src/table-empty-mixin.js +73 -0
  103. package/src/components/list/easyTable/v-table/src/table-empty.vue +66 -0
  104. package/src/components/list/easyTable/v-table/src/table-filters-mixin.js +126 -0
  105. package/src/components/list/easyTable/v-table/src/table-footer-mixin.js +122 -0
  106. package/src/components/list/easyTable/v-table/src/table-resize-mixin.js +279 -0
  107. package/src/components/list/easyTable/v-table/src/table-row-mouse-events-mixin.js +123 -0
  108. package/src/components/list/easyTable/v-table/src/table.vue +1565 -0
  109. package/src/components/list/easyTable/v-table/src/title-cell-merge-mixin.js +115 -0
  110. package/src/components/list/evTable/EvTable.vue +323 -0
  111. package/src/components/list/evTable/EvTableMixin.js +26 -0
  112. package/src/components/other/DshAvatar.vue +149 -0
  113. package/src/components/other/DshBtnModal.vue +64 -0
  114. package/src/components/other/DshColorPanel.vue +128 -0
  115. package/src/components/other/DshEditPanel.vue +130 -0
  116. package/src/components/other/InfoCascader.vue +258 -0
  117. package/src/components/other/YNoPermission.vue +45 -0
  118. package/src/components/other/ZCode.vue +125 -0
  119. package/src/components/other/ZCollapseTree.vue +84 -0
  120. package/src/components/other/ZGantt.vue +669 -0
  121. package/src/components/other/ZIframe.vue +105 -0
  122. package/src/components/other/ZLoading.vue +59 -0
  123. package/src/components/other/menu/DshMenu.vue +133 -0
  124. package/src/components/other/menu/DshMenuNav.vue +104 -0
  125. package/src/components/pages/Error/Error403.vue +34 -0
  126. package/src/components/pages/Error/Error404.vue +34 -0
  127. package/src/components/pages/Error/Error500.vue +34 -0
  128. package/src/components/pages/Error/error.less +163 -0
  129. package/src/components/pages/Error/errorBack.vue +38 -0
  130. package/src/components/small/Ctooltip.vue +90 -0
  131. package/src/components/small/DshButtons.vue +195 -0
  132. package/src/components/small/DshControlDefine.vue +110 -0
  133. package/src/components/small/DshCrumbs.vue +61 -0
  134. package/src/components/small/DshCrumbsItem.vue +107 -0
  135. package/src/components/small/DshDropdown.vue +159 -0
  136. package/src/components/small/DshFileShow.vue +212 -0
  137. package/src/components/small/DshIcons.vue +63 -0
  138. package/src/components/small/DshModal.vue +255 -0
  139. package/src/components/small/DshPage.vue +98 -0
  140. package/src/components/small/DshSteps.vue +68 -0
  141. package/src/components/small/DshTabs.vue +227 -0
  142. package/src/components/small/DshTags.vue +58 -0
  143. package/src/components/small/DshTdRender.js +21 -0
  144. package/src/components/small/DshTitle.vue +36 -0
  145. package/src/components/small/render.js +20 -0
  146. package/src/components/unit/DshFormItem.vue +157 -0
  147. package/src/components/unit/DshUnit.vue +72 -0
  148. package/src/components/unit/unitMixin.js +43 -0
  149. package/src/datas/.DS_Store +0 -0
  150. package/src/datas/common/region.json +1 -0
  151. package/src/datas/common/resourceData.json +20 -0
  152. package/src/datas/index.js +11 -0
  153. package/src/index.js +243 -0
  154. package/src/styles/animate.less +16 -0
  155. package/src/styles/bundle.css +14 -0
  156. package/src/styles/common/box.less +157 -0
  157. package/src/styles/common/common.less +31 -0
  158. package/src/styles/common/flex.less +282 -0
  159. package/src/styles/common/index.less +4 -0
  160. package/src/styles/common/text.less +43 -0
  161. package/src/styles/components/controls/DshCascader.less +75 -0
  162. package/src/styles/components/controls/DshCheckbox.less +156 -0
  163. package/src/styles/components/controls/DshCoordinates.less +72 -0
  164. package/src/styles/components/controls/DshDaterange.less +49 -0
  165. package/src/styles/components/controls/DshDivider.less +115 -0
  166. package/src/styles/components/controls/DshEditor.less +52 -0
  167. package/src/styles/components/controls/DshInput.less +40 -0
  168. package/src/styles/components/controls/DshLabels.less +187 -0
  169. package/src/styles/components/controls/DshNumberange.less +24 -0
  170. package/src/styles/components/controls/DshPackage.less +25 -0
  171. package/src/styles/components/controls/DshSelect.less +172 -0
  172. package/src/styles/components/controls/MultipleInput.less +55 -0
  173. package/src/styles/components/controls/ZUpload.less +446 -0
  174. package/src/styles/components/form/DshAdvSearchForm.less +159 -0
  175. package/src/styles/components/form/DshDefaultSearch.less +71 -0
  176. package/src/styles/components/index.less +49 -0
  177. package/src/styles/components/list/DshCascaderTable.less +113 -0
  178. package/src/styles/components/list/DshCrossTable.less +175 -0
  179. package/src/styles/components/list/DshFlatTable.less +98 -0
  180. package/src/styles/components/list/DshSingleData.less +30 -0
  181. package/src/styles/components/list/evTable.less +79 -0
  182. package/src/styles/components/list/evtable/animation.less +141 -0
  183. package/src/styles/components/list/evtable/font/fontello.eot +0 -0
  184. package/src/styles/components/list/evtable/font/fontello.svg +32 -0
  185. package/src/styles/components/list/evtable/font/fontello.ttf +0 -0
  186. package/src/styles/components/list/evtable/font/fontello.woff +0 -0
  187. package/src/styles/components/list/evtable/font/fontello.woff2 +0 -0
  188. package/src/styles/components/list/evtable/fontello.less +68 -0
  189. package/src/styles/components/list/evtable/index.less +5 -0
  190. package/src/styles/components/list/evtable/v-checkbox.less +167 -0
  191. package/src/styles/components/list/evtable/v-dropdown.less +235 -0
  192. package/src/styles/components/list/evtable/v-table.less +334 -0
  193. package/src/styles/components/list/ivu_reset.less +49 -0
  194. package/src/styles/components/other/DshEditPanel.less +70 -0
  195. package/src/styles/components/other/DshMenu.less +37 -0
  196. package/src/styles/components/other/DshMenuNav.less +82 -0
  197. package/src/styles/components/other/InfoCascader.less +55 -0
  198. package/src/styles/components/other/ZCode.less +1 -0
  199. package/src/styles/components/other/ZCollapseTree.less +62 -0
  200. package/src/styles/components/other/ZGantt.less +278 -0
  201. package/src/styles/components/other/ZLoading.less +36 -0
  202. package/src/styles/components/small/Ctooltip.less +5 -0
  203. package/src/styles/components/small/DshButtons.less +40 -0
  204. package/src/styles/components/small/DshControlDefine.less +64 -0
  205. package/src/styles/components/small/DshDropdown.less +61 -0
  206. package/src/styles/components/small/DshPage.less +94 -0
  207. package/src/styles/components/small/DshSteps.less +58 -0
  208. package/src/styles/components/small/DshTabs.less +82 -0
  209. package/src/styles/components/small/DshTitle.less +18 -0
  210. package/src/styles/components/unit/DshFormItem.less +124 -0
  211. package/src/styles/define.less +374 -0
  212. package/src/styles/index.less +10 -0
  213. package/src/styles/reset.less +83 -0
  214. package/src/styles/variables.less +98 -0
  215. package/src/styles/view_reset.less +446 -0
@@ -0,0 +1,282 @@
1
+ .dsh-flex () {
2
+ display: -webkit-flex; /* Safari */
3
+ display: flex;
4
+ flex-direction: row;
5
+ justify-content: center;
6
+ align-items: center;
7
+ }
8
+
9
+ /* ---------- direction: row, align-items: center --------- */
10
+ // .dsh-flex-center,
11
+ // .dsh-flex-center-center,
12
+ // .dsh-flex-row-center,
13
+ .dsh-flex-row-center-center {
14
+ .dsh-flex();
15
+ }
16
+ // .dsh-flex-start,
17
+ // .dsh-flex-start-center,
18
+ // .dsh-flex-row-start,
19
+ .dsh-flex-row-start-center {
20
+ .dsh-flex();
21
+ justify-content: flex-start;
22
+ }
23
+ // .dsh-flex-end,
24
+ // .dsh-flex-end-center,
25
+ // .dsh-flex-row-end,
26
+ .dsh-flex-row-end-center {
27
+ .dsh-flex();
28
+ justify-content: flex-end;
29
+ }
30
+ // .dsh-flex-between,
31
+ // .dsh-flex-between-center,
32
+ // .dsh-flex-row-between,
33
+ .dsh-flex-row-between-center {
34
+ .dsh-flex();
35
+ justify-content: space-between;
36
+ }
37
+ // .dsh-flex-around,
38
+ // .dsh-flex-around-center,
39
+ // .dsh-flex-row-around,
40
+ .dsh-flex-row-around-center {
41
+ .dsh-flex();
42
+ justify-content: space-around;;
43
+ }
44
+
45
+ /* ---------- direction: row, align-items: flex-start --------- */
46
+ // .dsh-flex-center-start,
47
+ .dsh-flex-row-center-start {
48
+ .dsh-flex();
49
+ // justify-content: center;
50
+ align-items: flex-start;
51
+ }
52
+ // .dsh-flex-start-start,
53
+ .dsh-flex-row-start-start {
54
+ .dsh-flex-row-center-start();
55
+ justify-content: flex-start;
56
+ }
57
+ // .dsh-flex-end-start,
58
+ .dsh-flex-row-end-start {
59
+ .dsh-flex-row-center-start();
60
+ justify-content: flex-end;
61
+ }
62
+ // .dsh-flex-between-start,
63
+ .dsh-flex-row-between-start {
64
+ .dsh-flex-row-center-start();
65
+ justify-content: space-between;
66
+ }
67
+ // .dsh-flex-around-start,
68
+ .dsh-flex-row-around-start {
69
+ .dsh-flex-row-center-start();
70
+ justify-content: space-around;
71
+ }
72
+
73
+ /* ---------- direction: row, align-items: flex-end --------- */
74
+ // .dsh-flex-center-end,
75
+ .dsh-flex-row-center-end {
76
+ .dsh-flex();
77
+ // justify-content: center;
78
+ align-items: flex-end;
79
+ }
80
+ // .dsh-flex-start-end,
81
+ .dsh-flex-row-start-end {
82
+ .dsh-flex-row-center-end();
83
+ justify-content: flex-start;
84
+ }
85
+ // .dsh-flex-end-end,
86
+ .dsh-flex-row-end-end {
87
+ .dsh-flex-row-center-end();
88
+ justify-content: flex-end;
89
+ }
90
+ // .dsh-flex-between-end,
91
+ .dsh-flex-row-between-end {
92
+ .dsh-flex-row-center-end();
93
+ justify-content: space-between;
94
+ }
95
+ // .dsh-flex-around-end,
96
+ .dsh-flex-row-around-end {
97
+ .dsh-flex-row-center-end();
98
+ justify-content: space-around;
99
+ }
100
+
101
+ /* ---------- direction: row, align-items: baseline --------- */
102
+ // .dsh-flex-center-baseline,
103
+ .dsh-flex-row-center-baseline {
104
+ .dsh-flex();
105
+ // justify-content: center;
106
+ align-items: baseline;
107
+ }
108
+ // .dsh-flex-start-baseline,
109
+ .dsh-flex-row-start-baseline {
110
+ .dsh-flex-row-center-baseline();
111
+ justify-content: flex-start;
112
+ }
113
+ // .dsh-flex-end-baseline,
114
+ .dsh-flex-row-end-baseline {
115
+ .dsh-flex-row-center-baseline();
116
+ justify-content: flex-end;
117
+ }
118
+ // .dsh-flex-between-baseline,
119
+ .dsh-flex-row-between-baseline {
120
+ .dsh-flex-row-center-baseline();
121
+ justify-content: space-between;
122
+ }
123
+ // .dsh-flex-around-baseline,
124
+ .dsh-flex-row-around-baseline {
125
+ .dsh-flex-row-center-baseline();
126
+ justify-content: space-around;
127
+ }
128
+
129
+ /* ---------- direction: row, align-items: stretch --------- */
130
+ // .dsh-flex-center-stretch,
131
+ .dsh-flex-row-center-stretch {
132
+ .dsh-flex();
133
+ // justify-content: center;
134
+ align-items: stretch;
135
+ }
136
+ // .dsh-flex-start-stretch,
137
+ .dsh-flex-row-start-stretch {
138
+ .dsh-flex-row-center-stretch();
139
+ justify-content: flex-start;
140
+ }
141
+ // .dsh-flex-end-stretch,
142
+ .dsh-flex-row-end-stretch {
143
+ .dsh-flex-row-center-stretch();
144
+ justify-content: flex-end;
145
+ }
146
+ // .dsh-flex-between-stretch,
147
+ .dsh-flex-row-between-stretch {
148
+ .dsh-flex-row-center-stretch();
149
+ justify-content: space-between;
150
+ }
151
+ // .dsh-flex-around-stretch,
152
+ .dsh-flex-row-around-stretch {
153
+ .dsh-flex-row-center-stretch();
154
+ justify-content: space-around;
155
+ }
156
+
157
+
158
+ .dsh-flex-col () {
159
+ .dsh-flex();
160
+ flex-direction: column;
161
+ }
162
+ /* ---------- direction: column, align-items: center --------- */
163
+ // .dsh-flex-col-center,
164
+ .dsh-flex-col-center-center {
165
+ .dsh-flex-col();
166
+ }
167
+ // .dsh-flex-col-start,
168
+ .dsh-flex-col-start-center {
169
+ .dsh-flex-col();
170
+ justify-content: flex-start;
171
+ }
172
+ // .dsh-flex-col-end,
173
+ .dsh-flex-col-end-center {
174
+ .dsh-flex-col();
175
+ justify-content: flex-end;
176
+ }
177
+ // .dsh-flex-col-between,
178
+ .dsh-flex-col-between-center {
179
+ .dsh-flex-col();
180
+ justify-content: space-between;
181
+ }
182
+ // .dsh-flex-col-around,
183
+ .dsh-flex-col-around-center {
184
+ .dsh-flex-col();
185
+ justify-content: space-around;;
186
+ }
187
+
188
+ /* ---------- direction: column, align-items: flex-start --------- */
189
+ .dsh-flex-col-center-start {
190
+ .dsh-flex-col();
191
+ // justify-content: center;
192
+ align-items: flex-start;
193
+ }
194
+ .dsh-flex-col-start-start {
195
+ .dsh-flex-col-center-start();
196
+ justify-content: flex-start;
197
+ }
198
+ .dsh-flex-col-end-start {
199
+ .dsh-flex-col-center-start();
200
+ justify-content: flex-end;
201
+ }
202
+ .dsh-flex-col-between-start {
203
+ .dsh-flex-col-center-start();
204
+ justify-content: space-between;
205
+ }
206
+ .dsh-flex-col-around-start {
207
+ .dsh-flex-col-center-start();
208
+ justify-content: space-around;
209
+ }
210
+
211
+ /* ---------- direction: column, align-items: flex-end --------- */
212
+ .dsh-flex-col-center-end {
213
+ .dsh-flex-col();
214
+ // justify-content: center;
215
+ align-items: flex-end;
216
+ }
217
+ .dsh-flex-col-start-end {
218
+ .dsh-flex-col-center-end();
219
+ justify-content: flex-start;
220
+ }
221
+ .dsh-flex-col-end-end {
222
+ .dsh-flex-col-center-end();
223
+ justify-content: flex-end;
224
+ }
225
+ .dsh-flex-col-between-end {
226
+ .dsh-flex-col-center-end();
227
+ justify-content: space-between;
228
+ }
229
+ .dsh-flex-col-around-end {
230
+ .dsh-flex-col-center-end();
231
+ justify-content: space-around;
232
+ }
233
+
234
+ /* ---------- direction: column, align-items: baseline --------- */
235
+ .dsh-flex-col-center-baseline {
236
+ .dsh-flex-col();
237
+ // justify-content: center;
238
+ align-items: baseline;
239
+ }
240
+ .dsh-flex-col-start-baseline {
241
+ .dsh-flex-col-center-baseline();
242
+ justify-content: flex-start;
243
+ }
244
+ .dsh-flex-col-end-baseline {
245
+ .dsh-flex-col-center-baseline();
246
+ justify-content: flex-end;
247
+ }
248
+ .dsh-flex-col-between-baseline {
249
+ .dsh-flex-col-center-baseline();
250
+ justify-content: space-between;
251
+ }
252
+ .dsh-flex-col-around-baseline {
253
+ .dsh-flex-col-center-baseline();
254
+ justify-content: space-around;
255
+ }
256
+
257
+ /* ---------- direction: column, align-items: stretch --------- */
258
+ .dsh-flex-col-center-stretch {
259
+ .dsh-flex-col();
260
+ // justify-content: center;
261
+ align-items: stretch;
262
+ }
263
+ .dsh-flex-col-start-stretch {
264
+ .dsh-flex-col-center-stretch();
265
+ justify-content: flex-start;
266
+ }
267
+ .dsh-flex-col-end-stretch {
268
+ .dsh-flex-col-center-stretch();
269
+ justify-content: flex-end;
270
+ }
271
+ .dsh-flex-col-between-stretch {
272
+ .dsh-flex-col-center-stretch();
273
+ justify-content: space-between;
274
+ }
275
+ .dsh-flex-col-around-stretch {
276
+ .dsh-flex-col-center-stretch();
277
+ justify-content: space-around;
278
+ }
279
+
280
+
281
+
282
+
@@ -0,0 +1,4 @@
1
+ @import "./common.less";
2
+ @import "./box.less";
3
+ @import "./flex.less";
4
+ @import "./text.less";
@@ -0,0 +1,43 @@
1
+ .dsh-title {
2
+ padding: 10px;
3
+ text-align: center;
4
+ font-size: 16px;
5
+ font-weight: 600;
6
+ color: @textColor;
7
+ }
8
+ .dsh-subtitle {
9
+
10
+ }
11
+ .dsh-tip {
12
+ width: 100%;
13
+ padding: 20px 10px;
14
+ text-align: center;
15
+ font-size: 14px;
16
+ font-weight: 500;
17
+ color: @textColor;
18
+ }
19
+ .dsh-subtip {
20
+ width: 100%;
21
+ // padding: 10px 5px;
22
+ text-align: center;
23
+ font-size: 12px;
24
+ font-weight: 500;
25
+ color: @textColor;
26
+ // background-color: #f3f3f3;
27
+ }
28
+ // 出现三个点
29
+ .dsh-ellipsis {
30
+ display: block;
31
+ overflow: hidden;
32
+ word-break: keep-all;
33
+ white-space: nowrap;
34
+ text-overflow: ellipsis;
35
+ }
36
+ .dsh-ellipsis2{
37
+ overflow: hidden;
38
+ text-overflow: -o-ellipsis-lastline;
39
+ text-overflow: ellipsis;
40
+ display: -webkit-box;
41
+ -webkit-line-clamp: 2;
42
+ -webkit-box-orient: vertical;
43
+ }
@@ -0,0 +1,75 @@
1
+ .DshCascader {
2
+ width: 100%;
3
+
4
+ &-single {
5
+ text-align: left;
6
+ padding: 0 10px;
7
+ height: 32px;
8
+ line-height: 32px;
9
+ border: 1px solid @formBorderColor;
10
+ border-radius: 4px;
11
+ cursor: pointer;
12
+
13
+ &-val {
14
+ width: 100%;
15
+ display: flex;
16
+ justify-content: space-between;
17
+ align-items: center;
18
+
19
+ &-text {
20
+ .dsh-ellipsis();
21
+ &-disabled {
22
+ color: @formBorderColor;
23
+ }
24
+ }
25
+
26
+ &-clear {
27
+ margin-left: 5px;
28
+ }
29
+ }
30
+
31
+ &-placeholder {
32
+ color: @formBorderColor;
33
+ }
34
+ }
35
+
36
+ &-modal {
37
+
38
+ &-wrap {
39
+ width: 100%;
40
+ height: 100%;
41
+ .dsh-flex-col-start-start();
42
+
43
+ &-content {
44
+ width: 100%;
45
+ flex: 1;
46
+ min-height: 0px;
47
+ overflow: auto;
48
+
49
+ .content {
50
+ &-cascader {
51
+ width: 90%;
52
+ margin: 10px auto;
53
+ }
54
+ }
55
+ }
56
+
57
+ &-footer {
58
+ width: 100%;
59
+ padding: 10px;
60
+ .btn {
61
+ text-align: right;
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+
68
+ .ivu-cascader-transfer {
69
+ max-height: 400px!important;
70
+ .ivu-cascader-menu {
71
+ max-height: 400px;
72
+ height: auto;
73
+ max-width: 300px;
74
+ }
75
+ }
@@ -0,0 +1,156 @@
1
+ .DshCheckbox {
2
+ width: 100%;
3
+
4
+ &-checkboxGroup {
5
+ width: 100%;
6
+
7
+ &-scroll {
8
+ overflow-x: auto;
9
+ overflow-y: hidden;
10
+ white-space: nowrap;
11
+
12
+ &::-webkit-scrollbar {
13
+ height: 6px;
14
+ }
15
+
16
+ &:-webkit-scrollbar-thumb {
17
+ border-radius: 3px;
18
+ background: rgba(51, 51, 51, .1);
19
+ background-clip: border-box;
20
+ }
21
+ }
22
+ }
23
+
24
+ &-value {
25
+ height: 24px;
26
+ line-height: 20px;
27
+ padding: 2px 8px;
28
+ border-radius: 4px;
29
+ margin-right: 16px;
30
+
31
+ &:last-of-type {
32
+ margin-right: 0px;
33
+ }
34
+
35
+ &-wrapper {
36
+ display: flex;
37
+ min-height: 32px;
38
+ padding: 4px 0;
39
+ }
40
+ }
41
+
42
+ .Dshcheckbox-tip {
43
+ cursor: pointer;
44
+
45
+ .ivu-checkbox {
46
+ display: none;
47
+ }
48
+ }
49
+
50
+ .ivu-select-multiple .ivu-select-selection {
51
+ height: 32px;
52
+
53
+ &>div {
54
+ overflow-x: auto;
55
+ overflow-y: hidden;
56
+ white-space: nowrap;
57
+
58
+ .ivu-tag {
59
+ margin: 2px 4px 4px 0;
60
+ }
61
+
62
+ &::-webkit-scrollbar {
63
+ height: 8px;
64
+ }
65
+
66
+ &:-webkit-scrollbar-thumb {
67
+ border-radius: 3px;
68
+ background: rgba(51, 51, 51, .1);
69
+ background-clip: border-box;
70
+ }
71
+ }
72
+ }
73
+
74
+ .ivu-select-multiple .ivu-select-item-selected:after {
75
+ content: none;
76
+ }
77
+ }
78
+
79
+ .DshCheckbox {
80
+ &-checkboxGroup {
81
+ &-useColor {
82
+ .ivu-checkbox-border {
83
+ height: 32px;
84
+ line-height: 32px;
85
+ border-radius: 4px;
86
+ border: none;
87
+ color: #FFF;
88
+ margin-bottom: 5px;
89
+ margin-right: 16px;
90
+ }
91
+
92
+ .ivu-checkbox {
93
+ .ivu-checkbox-inner {
94
+ border: 2px solid @themeColor;
95
+ background-color: transparent;
96
+ }
97
+
98
+ .ivu-checkbox-focus {
99
+ box-shadow: 0 0 0 0;
100
+ }
101
+ }
102
+
103
+ .ivu-checkbox-disabled+span {
104
+ color: inherit;
105
+ }
106
+
107
+ each(@resourceColor, {
108
+ .color-@{index} {
109
+ .ivu-checkbox {
110
+ .ivu-checkbox-inner {
111
+ border-color: @value;
112
+ }
113
+ }
114
+ }
115
+
116
+ .color-@{index}.myChecked {
117
+ .ivu-checkbox-checked {
118
+ .ivu-checkbox-inner {
119
+ background-color: @value;
120
+ }
121
+ }
122
+ }
123
+ }
124
+
125
+ );
126
+ }
127
+ }
128
+
129
+ // 选中时背景为白色
130
+ .myChecked {
131
+ .ivu-checkbox-checked .ivu-checkbox-inner {
132
+ background-color: @themeColor;
133
+ }
134
+ }
135
+
136
+ .readonlyCheckbox {
137
+ .ivu-checkbox-disabled+span {
138
+ color: @activeDarkGreyColor;
139
+ }
140
+ }
141
+
142
+ .readonlyColorCheckbox {
143
+ .ivu-checkbox-disabled+span {
144
+ color: inherit;
145
+ }
146
+ }
147
+
148
+ &-content {
149
+ text-align: center;
150
+ border-radius: 12px;
151
+ line-height: 100%;
152
+ padding: 5px 10px;
153
+ font-size: 14px;
154
+ vertical-align: middle;
155
+ }
156
+ }
@@ -0,0 +1,72 @@
1
+ .DshCoordinates {
2
+ .textRight {
3
+ text-align: right;
4
+ }
5
+
6
+ &-wrap {
7
+ cursor: pointer;
8
+ position: relative;
9
+
10
+ &-zuobiao{
11
+ color: #e5e5e5;
12
+ line-height: 32px;
13
+ position: absolute;
14
+ right: 6px;
15
+ top: 0;
16
+ }
17
+ }
18
+
19
+ &-text {
20
+ width: 100%;
21
+ display: flex;
22
+ justify-content: space-between;
23
+ align-items: center;
24
+
25
+ &-icon {
26
+ padding: 5px;
27
+ }
28
+ }
29
+
30
+ &-notext {
31
+ color: #c6c9ce;
32
+ }
33
+
34
+ &-message {
35
+ position: absolute;
36
+ color: red;
37
+ font-size: 12px;
38
+ bottom: -16px;
39
+ left: 0px;
40
+ }
41
+
42
+ &-map {
43
+ width: 100%;
44
+ height: 100%;
45
+ }
46
+
47
+ &-readonly {
48
+ cursor: not-allowed;
49
+ }
50
+ }
51
+
52
+
53
+ .DshCoordinates-modal {
54
+ &-header {
55
+ padding: 5px 0px;
56
+
57
+ &-text {
58
+ font-size: @textSize;
59
+ line-height: 18px;
60
+ }
61
+ }
62
+
63
+ .ivu-modal-content {
64
+ overflow: hidden;
65
+ height: 100%;
66
+
67
+ .ivu-modal-body {
68
+ padding: 0px;
69
+ height: 100%;
70
+ }
71
+ }
72
+ }
@@ -0,0 +1,49 @@
1
+ .DshDaterange {
2
+ width: 100%;
3
+
4
+ &-left,
5
+ &-right {
6
+ width: 47%;
7
+ float: left;
8
+ background-color: #ffffff;
9
+ }
10
+
11
+ &-center {
12
+ width: 3%;
13
+ text-align: center;
14
+ color: @textColor;
15
+ overflow: hidden;
16
+ line-height: 30px;
17
+ float: left;
18
+ margin: 0 1.5%;
19
+ }
20
+
21
+ &-item {
22
+ height: 32px;
23
+ border: 1px solid @formBorderColor;
24
+ border-radius: 4px;
25
+ overflow: hidden;
26
+ position: relative;
27
+ &-name {
28
+ display: inline-block;
29
+ width: 100%;
30
+ height: 100%;
31
+ line-height: 30px;
32
+ overflow: hidden;
33
+ padding-right: 32px;
34
+ padding-left: 7px;
35
+ white-space: nowrap;
36
+ text-overflow: ellipsis;
37
+ }
38
+ &-icon {
39
+ display: inline-block;
40
+ position: absolute;
41
+ right: 0px;
42
+ top: 0px;
43
+ width: 32px;
44
+ height: 100%;
45
+ text-align: center;
46
+ line-height: 30px;
47
+ }
48
+ }
49
+ }