bri-components 1.2.27 → 1.2.28
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/lib/0.bri-components.min.js +1 -1
- package/lib/1.bri-components.min.js +1 -1
- package/lib/2.bri-components.min.js +1 -1
- package/lib/3.bri-components.min.js +1 -1
- package/lib/4.bri-components.min.js +1 -1
- package/lib/5.bri-components.min.js +1 -1
- package/lib/6.bri-components.min.js +1 -1
- package/lib/bri-components.min.js +7 -7
- package/lib/styles/bri-components.css +1 -1
- package/package.json +1 -1
- package/src/components/form/{DshAdvSearchForm.vue → DshAdvSearch.vue} +22 -22
- package/src/components/unit/DshFormUnit.vue +1 -2
- package/src/index.js +52 -49
- package/src/styles/components/form/DshAdvSearchForm.less +2 -2
- package/src/styles/components/index.less +1 -1
- package/src/styles/components/unit/DshFormUnit.less +0 -4
package/src/index.js
CHANGED
|
@@ -8,21 +8,20 @@ import { VeTable, VeLocale } from "vue-easytable";
|
|
|
8
8
|
import CN from "vue-easytable/libs/locale/lang/zh-CN.js";
|
|
9
9
|
|
|
10
10
|
// list
|
|
11
|
+
import BriTable from "./components/list/BriTable.vue";
|
|
12
|
+
import BriFlatTable from "./components/list/BriFlatTable.vue";
|
|
11
13
|
import DshBox from "./components/list/DshBox/DshBox.vue";
|
|
12
|
-
import DshTable from "./components/list/DshBox/DshTable.vue";
|
|
13
14
|
import DshList from "./components/list/DshBox/DshList.vue";
|
|
14
|
-
import
|
|
15
|
+
import DshTable from "./components/list/DshBox/DshTable.vue";
|
|
15
16
|
import DshPage from "./components/list/DshPage.vue";
|
|
16
|
-
import BriFlatTable from "./components/list/BriFlatTable.vue";
|
|
17
17
|
// import DshCascaderTable from "./components/list/DshCascaderTable.vue";
|
|
18
18
|
|
|
19
19
|
// form
|
|
20
20
|
import DshForm from "./components/form/DshForm.vue";
|
|
21
|
-
import
|
|
21
|
+
import DshAdvSearch from "./components/form/DshAdvSearch.vue";
|
|
22
22
|
import DshDefaultSearch from "./components/form/DshDefaultSearch.vue";
|
|
23
23
|
// unit
|
|
24
24
|
import DshListUnit from "./components/unit/DshListUnit.vue";
|
|
25
|
-
|
|
26
25
|
// controls
|
|
27
26
|
import BriControlInput from "./components/controls/BriControlInput.vue";
|
|
28
27
|
import DshInput from "./components/controls/base/DshInput.vue";
|
|
@@ -33,6 +32,7 @@ import DshCascader from "./components/controls/base/DshCascader/DshCascader.vue"
|
|
|
33
32
|
|
|
34
33
|
// other
|
|
35
34
|
import BriLoading from "./components/other/BriLoading.vue";
|
|
35
|
+
import BriIframe from "./components/other/BriIframe.vue";
|
|
36
36
|
import BriSvg from "./components/other/BriSvg.vue";
|
|
37
37
|
import DshAvatar from "./components/other/DshAvatar.vue";
|
|
38
38
|
|
|
@@ -52,7 +52,7 @@ import DshRender from "./components/small/render.js";
|
|
|
52
52
|
import DshListRender from "./components/small/DshListRender.js";
|
|
53
53
|
|
|
54
54
|
/* -------------------- 局部组件 ----------------------- */
|
|
55
|
-
//
|
|
55
|
+
// Error
|
|
56
56
|
import Error500 from "./components/Error/Error500.vue";
|
|
57
57
|
import Error403 from "./components/Error/Error403.vue";
|
|
58
58
|
import Error404 from "./components/Error/Error404.vue";
|
|
@@ -89,7 +89,6 @@ import DshMenuNav from "./components/other/DshMenuNav.vue";
|
|
|
89
89
|
import BriCode from "./components/other/BriCode.vue";
|
|
90
90
|
import BriCollapseTree from "./components/other/BriCollapseTree.vue";
|
|
91
91
|
import BriGantt from "./components/other/BriGantt.vue";
|
|
92
|
-
import BriIframe from "./components/other/BriIframe.vue";
|
|
93
92
|
import DshColorPanel from "./components/other/DshColorPanel.vue";
|
|
94
93
|
|
|
95
94
|
// small
|
|
@@ -101,15 +100,15 @@ const map = {
|
|
|
101
100
|
DshCropper,
|
|
102
101
|
|
|
103
102
|
// list
|
|
103
|
+
BriTable,
|
|
104
104
|
DshBox,
|
|
105
|
-
DshTable,
|
|
106
105
|
DshList,
|
|
107
|
-
|
|
106
|
+
DshTable,
|
|
108
107
|
DshPage,
|
|
109
108
|
|
|
110
109
|
// form
|
|
111
110
|
DshForm,
|
|
112
|
-
|
|
111
|
+
DshAdvSearch,
|
|
113
112
|
DshDefaultSearch,
|
|
114
113
|
// unit
|
|
115
114
|
DshListUnit,
|
|
@@ -142,6 +141,8 @@ const map = {
|
|
|
142
141
|
DshListRender
|
|
143
142
|
};
|
|
144
143
|
const install = function (Vue, opts = {}) {
|
|
144
|
+
const { globalMap = {} } = opts;
|
|
145
|
+
|
|
145
146
|
ViewUI.LoadingBar.config({
|
|
146
147
|
color: "#2d8cf0",
|
|
147
148
|
failedColor: "red",
|
|
@@ -157,10 +158,9 @@ const install = function (Vue, opts = {}) {
|
|
|
157
158
|
});
|
|
158
159
|
|
|
159
160
|
// 挂载组件
|
|
160
|
-
const { globalMap } = opts;
|
|
161
161
|
const componentMap = {
|
|
162
162
|
...map,
|
|
163
|
-
...
|
|
163
|
+
...globalMap
|
|
164
164
|
};
|
|
165
165
|
Object.keys(componentMap).forEach(key => {
|
|
166
166
|
Vue.component(key, componentMap[key]);
|
|
@@ -175,38 +175,61 @@ export {
|
|
|
175
175
|
DshDraggable,
|
|
176
176
|
DshCropper,
|
|
177
177
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
Error404,
|
|
181
|
-
|
|
178
|
+
// list
|
|
179
|
+
BriTable,
|
|
182
180
|
DshBox,
|
|
183
|
-
DshTable,
|
|
184
181
|
DshList,
|
|
185
|
-
|
|
182
|
+
DshTable,
|
|
186
183
|
DshPage,
|
|
187
|
-
BriFlatTable,
|
|
188
|
-
// DshCascaderTable,
|
|
189
|
-
|
|
190
|
-
BriCard,
|
|
191
|
-
BriTree,
|
|
192
|
-
BriTreeItem,
|
|
193
184
|
|
|
194
185
|
// form
|
|
195
186
|
DshForm,
|
|
196
|
-
|
|
187
|
+
DshAdvSearch,
|
|
197
188
|
DshDefaultSearch,
|
|
198
|
-
// unit
|
|
199
189
|
DshListUnit,
|
|
200
|
-
|
|
201
|
-
DshFormUnit,
|
|
202
|
-
|
|
203
190
|
// controls
|
|
191
|
+
BriControlInput,
|
|
204
192
|
DshInput,
|
|
205
193
|
DshNumber,
|
|
206
194
|
DshSelect,
|
|
207
195
|
DshCheckbox,
|
|
208
196
|
DshCascader,
|
|
209
197
|
|
|
198
|
+
// other
|
|
199
|
+
BriLoading,
|
|
200
|
+
BriIframe,
|
|
201
|
+
BriSvg,
|
|
202
|
+
DshAvatar,
|
|
203
|
+
|
|
204
|
+
// small
|
|
205
|
+
BriButton,
|
|
206
|
+
BriDrawer,
|
|
207
|
+
BriTooltip,
|
|
208
|
+
DshButtons,
|
|
209
|
+
DshDropdown,
|
|
210
|
+
DshIcons,
|
|
211
|
+
DshModal,
|
|
212
|
+
DshSteps,
|
|
213
|
+
DshTabs,
|
|
214
|
+
DshTags,
|
|
215
|
+
DshTitle,
|
|
216
|
+
DshRender,
|
|
217
|
+
DshListRender,
|
|
218
|
+
|
|
219
|
+
/* 只局部导出的 */
|
|
220
|
+
Error500,
|
|
221
|
+
Error403,
|
|
222
|
+
Error404,
|
|
223
|
+
|
|
224
|
+
BriFlatTable,
|
|
225
|
+
// DshCascaderTable,
|
|
226
|
+
|
|
227
|
+
BriCard,
|
|
228
|
+
BriTree,
|
|
229
|
+
BriTreeItem,
|
|
230
|
+
|
|
231
|
+
DshFormUnit,
|
|
232
|
+
|
|
210
233
|
BriInputs,
|
|
211
234
|
DshNumberange,
|
|
212
235
|
DshDate,
|
|
@@ -223,32 +246,12 @@ export {
|
|
|
223
246
|
selectUsers,
|
|
224
247
|
selectDepartments,
|
|
225
248
|
|
|
226
|
-
// other
|
|
227
|
-
BriLoading,
|
|
228
|
-
BriSvg,
|
|
229
|
-
DshAvatar,
|
|
230
|
-
|
|
231
249
|
DshMenuNav,
|
|
232
250
|
BriCode,
|
|
233
251
|
BriCollapseTree,
|
|
234
252
|
BriGantt,
|
|
235
|
-
BriIframe,
|
|
236
253
|
DshColorPanel,
|
|
237
254
|
|
|
238
255
|
// small
|
|
239
|
-
BriButton,
|
|
240
|
-
BriDrawer,
|
|
241
|
-
DshButtons,
|
|
242
|
-
BriTooltip,
|
|
243
|
-
DshDropdown,
|
|
244
|
-
DshIcons,
|
|
245
|
-
DshModal,
|
|
246
|
-
DshSteps,
|
|
247
|
-
DshTabs,
|
|
248
|
-
DshTags,
|
|
249
|
-
DshTitle,
|
|
250
|
-
DshRender,
|
|
251
|
-
DshListRender,
|
|
252
|
-
|
|
253
256
|
DshBtnModal
|
|
254
257
|
};
|