eoss-ui 0.5.81-beta11 → 0.5.81-beta12
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/CHANGELOG.md +929 -0
- package/lib/data-table.js +51 -26
- package/lib/eoss-ui.common.js +224 -180
- package/lib/index.js +1 -1
- package/lib/main.js +161 -142
- package/lib/pagination.js +4 -4
- package/lib/theme-chalk/data-table.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/main.css +1 -1
- package/lib/theme-chalk/simplicity.css +1 -1
- package/package.json +2 -2
- package/packages/data-table/src/main.vue +29 -13
- package/packages/data-table/src/sizer.vue +3 -0
- package/packages/main/src/simplicity/handler.vue +1 -1
- package/packages/main/src/simplicity/index.vue +7 -0
- package/packages/main/src/simplicity/sub-menu.vue +5 -1
- package/packages/pagination/src/main.vue +2 -2
- package/packages/theme-chalk/lib/data-table.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/main.css +1 -1
- package/packages/theme-chalk/lib/simplicity.css +1 -1
- package/packages/theme-chalk/src/data-table.scss +60 -22
- package/packages/theme-chalk/src/simplicity.scss +10 -0
- package/src/index.js +157 -157
package/lib/eoss-ui.common.js
CHANGED
|
@@ -6881,8 +6881,8 @@ clients_src_main.install = function (Vue) {
|
|
|
6881
6881
|
};
|
|
6882
6882
|
|
|
6883
6883
|
/* harmony default export */ var clients = (clients_src_main);
|
|
6884
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=
|
|
6885
|
-
var
|
|
6884
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=5c7d8521&
|
|
6885
|
+
var mainvue_type_template_id_5c7d8521_render = function () {
|
|
6886
6886
|
var _vm = this
|
|
6887
6887
|
var _h = _vm.$createElement
|
|
6888
6888
|
var _c = _vm._self._c || _h
|
|
@@ -6913,7 +6913,12 @@ var mainvue_type_template_id_39809074_render = function () {
|
|
|
6913
6913
|
"es-toolbar",
|
|
6914
6914
|
_vm._g(
|
|
6915
6915
|
_vm._b(
|
|
6916
|
-
{
|
|
6916
|
+
{
|
|
6917
|
+
ref: "toolbar",
|
|
6918
|
+
class: {
|
|
6919
|
+
"es-table-toolbar-plus": _vm.mode == "plus",
|
|
6920
|
+
},
|
|
6921
|
+
},
|
|
6917
6922
|
"es-toolbar",
|
|
6918
6923
|
{
|
|
6919
6924
|
contents: _vm.toolbars,
|
|
@@ -6954,7 +6959,10 @@ var mainvue_type_template_id_39809074_render = function () {
|
|
|
6954
6959
|
{
|
|
6955
6960
|
ref: "esTableContent",
|
|
6956
6961
|
staticClass: "es-data-table-content",
|
|
6957
|
-
class:
|
|
6962
|
+
class: {
|
|
6963
|
+
"es-table-border-none": _vm.border == "none",
|
|
6964
|
+
"es-table-plus": _vm.mode == "plus",
|
|
6965
|
+
},
|
|
6958
6966
|
staticStyle: {},
|
|
6959
6967
|
},
|
|
6960
6968
|
[
|
|
@@ -7163,6 +7171,7 @@ var mainvue_type_template_id_39809074_render = function () {
|
|
|
7163
7171
|
_vm._g(
|
|
7164
7172
|
_vm._b(
|
|
7165
7173
|
{
|
|
7174
|
+
ref: "pagination",
|
|
7166
7175
|
staticClass: "es-table-page",
|
|
7167
7176
|
style: { "text-align": _vm.page.position },
|
|
7168
7177
|
attrs: { position: _vm.page.position },
|
|
@@ -7186,16 +7195,19 @@ var mainvue_type_template_id_39809074_render = function () {
|
|
|
7186
7195
|
2
|
|
7187
7196
|
)
|
|
7188
7197
|
: _vm._e(),
|
|
7189
|
-
_c("sizer", {
|
|
7198
|
+
_c("sizer", {
|
|
7199
|
+
ref: "sizer",
|
|
7200
|
+
attrs: { data: _vm.theads, mode: _vm.mode },
|
|
7201
|
+
}),
|
|
7190
7202
|
],
|
|
7191
7203
|
1
|
|
7192
7204
|
)
|
|
7193
7205
|
}
|
|
7194
|
-
var
|
|
7195
|
-
|
|
7206
|
+
var mainvue_type_template_id_5c7d8521_staticRenderFns = []
|
|
7207
|
+
mainvue_type_template_id_5c7d8521_render._withStripped = true
|
|
7196
7208
|
|
|
7197
7209
|
|
|
7198
|
-
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=
|
|
7210
|
+
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=5c7d8521&
|
|
7199
7211
|
|
|
7200
7212
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/children.vue?vue&type=template&id=44b7ff61&
|
|
7201
7213
|
var childrenvue_type_template_id_44b7ff61_render = function () {
|
|
@@ -8903,8 +8915,8 @@ var children_component = normalizeComponent(
|
|
|
8903
8915
|
)
|
|
8904
8916
|
|
|
8905
8917
|
/* harmony default export */ var children = (children_component.exports);
|
|
8906
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/sizer.vue?vue&type=template&id=
|
|
8907
|
-
var
|
|
8918
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/sizer.vue?vue&type=template&id=1e94400e&
|
|
8919
|
+
var sizervue_type_template_id_1e94400e_render = function () {
|
|
8908
8920
|
var _vm = this
|
|
8909
8921
|
var _h = _vm.$createElement
|
|
8910
8922
|
var _c = _vm._self._c || _h
|
|
@@ -8928,6 +8940,7 @@ var sizervue_type_template_id_58e4111d_render = function () {
|
|
|
8928
8940
|
"row-key": "id",
|
|
8929
8941
|
"default-expand-all": "",
|
|
8930
8942
|
height: "500px",
|
|
8943
|
+
mode: _vm.mode,
|
|
8931
8944
|
data: _vm.theads,
|
|
8932
8945
|
thead: _vm.thead,
|
|
8933
8946
|
"tree-props": { children: "childHead" },
|
|
@@ -8955,11 +8968,11 @@ var sizervue_type_template_id_58e4111d_render = function () {
|
|
|
8955
8968
|
)
|
|
8956
8969
|
: _vm._e()
|
|
8957
8970
|
}
|
|
8958
|
-
var
|
|
8959
|
-
|
|
8971
|
+
var sizervue_type_template_id_1e94400e_staticRenderFns = []
|
|
8972
|
+
sizervue_type_template_id_1e94400e_render._withStripped = true
|
|
8960
8973
|
|
|
8961
8974
|
|
|
8962
|
-
// CONCATENATED MODULE: ./packages/data-table/src/sizer.vue?vue&type=template&id=
|
|
8975
|
+
// CONCATENATED MODULE: ./packages/data-table/src/sizer.vue?vue&type=template&id=1e94400e&
|
|
8963
8976
|
|
|
8964
8977
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/sizer.vue?vue&type=script&lang=js&
|
|
8965
8978
|
var sizervue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
@@ -8989,11 +9002,13 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
|
|
|
8989
9002
|
//
|
|
8990
9003
|
//
|
|
8991
9004
|
//
|
|
9005
|
+
//
|
|
8992
9006
|
|
|
8993
9007
|
|
|
8994
9008
|
/* harmony default export */ var sizervue_type_script_lang_js_ = ({
|
|
8995
9009
|
name: 'Sizer',
|
|
8996
9010
|
props: {
|
|
9011
|
+
mode: String,
|
|
8997
9012
|
data: Array
|
|
8998
9013
|
},
|
|
8999
9014
|
computed: {
|
|
@@ -9047,6 +9062,7 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
|
|
|
9047
9062
|
},
|
|
9048
9063
|
mounted: function mounted() {
|
|
9049
9064
|
this.newThead = utils_util["a" /* default */].extend(true, [], this.data);
|
|
9065
|
+
console.log(this.mode, 90909);
|
|
9050
9066
|
},
|
|
9051
9067
|
|
|
9052
9068
|
methods: {
|
|
@@ -9129,8 +9145,8 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
|
|
|
9129
9145
|
|
|
9130
9146
|
var sizer_component = normalizeComponent(
|
|
9131
9147
|
src_sizervue_type_script_lang_js_,
|
|
9132
|
-
|
|
9133
|
-
|
|
9148
|
+
sizervue_type_template_id_1e94400e_render,
|
|
9149
|
+
sizervue_type_template_id_1e94400e_staticRenderFns,
|
|
9134
9150
|
false,
|
|
9135
9151
|
null,
|
|
9136
9152
|
null,
|
|
@@ -9322,6 +9338,13 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
9322
9338
|
//
|
|
9323
9339
|
//
|
|
9324
9340
|
//
|
|
9341
|
+
//
|
|
9342
|
+
//
|
|
9343
|
+
//
|
|
9344
|
+
//
|
|
9345
|
+
//
|
|
9346
|
+
//
|
|
9347
|
+
//
|
|
9325
9348
|
|
|
9326
9349
|
|
|
9327
9350
|
|
|
@@ -9330,6 +9353,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
9330
9353
|
|
|
9331
9354
|
|
|
9332
9355
|
|
|
9356
|
+
var dataTableMode = utils_util["a" /* default */].win.top.dataTableMode || utils_util["a" /* default */].win.dataTableMode || 'default';
|
|
9333
9357
|
/* harmony default export */ var data_table_src_mainvue_type_script_lang_js_ = ({
|
|
9334
9358
|
name: 'EsDataTable',
|
|
9335
9359
|
inheritAttrs: false,
|
|
@@ -9353,6 +9377,10 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
9353
9377
|
}
|
|
9354
9378
|
},
|
|
9355
9379
|
props: {
|
|
9380
|
+
mode: {
|
|
9381
|
+
type: String,
|
|
9382
|
+
default: dataTableMode
|
|
9383
|
+
},
|
|
9356
9384
|
service: String,
|
|
9357
9385
|
loading: {
|
|
9358
9386
|
type: Boolean,
|
|
@@ -9600,7 +9628,8 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
9600
9628
|
config: {
|
|
9601
9629
|
pageNum: 1,
|
|
9602
9630
|
pageSize: 20,
|
|
9603
|
-
totalCount: 0
|
|
9631
|
+
totalCount: 0,
|
|
9632
|
+
layout: this.mode == 'plus' ? 'total, sizes, prev, pager, next, jumper' : undefined
|
|
9604
9633
|
},
|
|
9605
9634
|
searchWhere: {},
|
|
9606
9635
|
advanceWhere: {},
|
|
@@ -9803,7 +9832,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
9803
9832
|
}
|
|
9804
9833
|
},
|
|
9805
9834
|
zoom: {
|
|
9806
|
-
handler: function handler(
|
|
9835
|
+
handler: function handler() {
|
|
9807
9836
|
if (this.tableHeight != 'auto' && this.tableHeight !== false && this.display) {
|
|
9808
9837
|
this.resetHeight();
|
|
9809
9838
|
this.doLayout();
|
|
@@ -9832,7 +9861,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
9832
9861
|
},
|
|
9833
9862
|
param: {
|
|
9834
9863
|
deep: true,
|
|
9835
|
-
handler: function handler(
|
|
9864
|
+
handler: function handler() {
|
|
9836
9865
|
this.getTableData();
|
|
9837
9866
|
}
|
|
9838
9867
|
}
|
|
@@ -9842,12 +9871,6 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
9842
9871
|
handler: function handler(val) {
|
|
9843
9872
|
if ((typeof val === 'undefined' ? 'undefined' : mainvue_type_script_lang_js_typeof(val)) === 'object') {
|
|
9844
9873
|
this.config = utils_util["a" /* default */].extend({}, this.config, val);
|
|
9845
|
-
} else {
|
|
9846
|
-
this.config = {
|
|
9847
|
-
pageNum: 1,
|
|
9848
|
-
pageSize: 20,
|
|
9849
|
-
totalCount: 0
|
|
9850
|
-
};
|
|
9851
9874
|
}
|
|
9852
9875
|
}
|
|
9853
9876
|
}, _watch['config.pageNum'] = function configPageNum() {
|
|
@@ -10109,6 +10132,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
10109
10132
|
_this10.theadData = results.theadData || [];
|
|
10110
10133
|
_this10.list = results.data || results.records || [];
|
|
10111
10134
|
_this10.config.totalCount = results.count || results.total || results.totalCount;
|
|
10135
|
+
_this10.config.pageCount = results.pageCount;
|
|
10112
10136
|
_this10.getOptions(_this10.theadData);
|
|
10113
10137
|
}
|
|
10114
10138
|
} else {
|
|
@@ -10181,6 +10205,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
10181
10205
|
});
|
|
10182
10206
|
}
|
|
10183
10207
|
_this11.config.totalCount = results.count || results.total || results.totalCount;
|
|
10208
|
+
_this11.config.pageCount = results.pageCount;
|
|
10184
10209
|
_this11.checked && _this11.$nextTick(function () {
|
|
10185
10210
|
_this11.checkSelect(_this11.checked);
|
|
10186
10211
|
});
|
|
@@ -10584,8 +10609,8 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
10584
10609
|
height = height - ele.offsetHeight - parseInt(utils_util["a" /* default */].getStyle(ele, 'margin-top'), 10) - parseInt(utils_util["a" /* default */].getStyle(ele, 'margin-bottom'), 10);
|
|
10585
10610
|
}
|
|
10586
10611
|
}
|
|
10587
|
-
height -= _this14.showToolbar ?
|
|
10588
|
-
height -= _this14.page === false ? 0 :
|
|
10612
|
+
height -= _this14.showToolbar ? _this14.$refs.toolbar.$el.offsetHeight : 0;
|
|
10613
|
+
height -= _this14.page === false ? 0 : _this14.$refs.pagination.$el.offsetHeight;
|
|
10589
10614
|
height -= _this14.title ? _this14.$refs.title.offsetHeight : 0;
|
|
10590
10615
|
height -= parseInt(utils_util["a" /* default */].getStyle(_this14.$refs.esTableContent, 'padding-top'), 10);
|
|
10591
10616
|
height -= parseInt(utils_util["a" /* default */].getStyle(_this14.$refs.esTableContent, 'padding-bottom'), 10);
|
|
@@ -10680,8 +10705,8 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
10680
10705
|
|
|
10681
10706
|
var data_table_src_main_component = normalizeComponent(
|
|
10682
10707
|
packages_data_table_src_mainvue_type_script_lang_js_,
|
|
10683
|
-
|
|
10684
|
-
|
|
10708
|
+
mainvue_type_template_id_5c7d8521_render,
|
|
10709
|
+
mainvue_type_template_id_5c7d8521_staticRenderFns,
|
|
10685
10710
|
false,
|
|
10686
10711
|
null,
|
|
10687
10712
|
null,
|
|
@@ -51018,8 +51043,8 @@ mainvue_type_template_id_6aa3a502_render._withStripped = true
|
|
|
51018
51043
|
|
|
51019
51044
|
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=6aa3a502&
|
|
51020
51045
|
|
|
51021
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
51022
|
-
var
|
|
51046
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=56714f3e&scoped=true&
|
|
51047
|
+
var simplicityvue_type_template_id_56714f3e_scoped_true_render = function () {
|
|
51023
51048
|
var _vm = this
|
|
51024
51049
|
var _h = _vm.$createElement
|
|
51025
51050
|
var _c = _vm._self._c || _h
|
|
@@ -51274,6 +51299,7 @@ var simplicityvue_type_template_id_4eab5e26_scoped_true_render = function () {
|
|
|
51274
51299
|
_vm._b(
|
|
51275
51300
|
{
|
|
51276
51301
|
attrs: {
|
|
51302
|
+
mode: _vm.mode,
|
|
51277
51303
|
visible: _vm.showMenu,
|
|
51278
51304
|
closed: _vm.fold,
|
|
51279
51305
|
size: _vm.menuWidth,
|
|
@@ -51633,11 +51659,11 @@ var simplicityvue_type_template_id_4eab5e26_scoped_true_render = function () {
|
|
|
51633
51659
|
),
|
|
51634
51660
|
])
|
|
51635
51661
|
}
|
|
51636
|
-
var
|
|
51637
|
-
|
|
51662
|
+
var simplicityvue_type_template_id_56714f3e_scoped_true_staticRenderFns = []
|
|
51663
|
+
simplicityvue_type_template_id_56714f3e_scoped_true_render._withStripped = true
|
|
51638
51664
|
|
|
51639
51665
|
|
|
51640
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
51666
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=56714f3e&scoped=true&
|
|
51641
51667
|
|
|
51642
51668
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/avatar.vue?vue&type=template&id=1560e8bf&scoped=true&
|
|
51643
51669
|
var avatarvue_type_template_id_1560e8bf_scoped_true_render = function () {
|
|
@@ -51786,8 +51812,8 @@ var avatar_component = normalizeComponent(
|
|
|
51786
51812
|
)
|
|
51787
51813
|
|
|
51788
51814
|
/* harmony default export */ var avatar = (avatar_component.exports);
|
|
51789
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/handler.vue?vue&type=template&id=
|
|
51790
|
-
var
|
|
51815
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/handler.vue?vue&type=template&id=36a30d46&scoped=true&
|
|
51816
|
+
var handlervue_type_template_id_36a30d46_scoped_true_render = function () {
|
|
51791
51817
|
var _vm = this
|
|
51792
51818
|
var _h = _vm.$createElement
|
|
51793
51819
|
var _c = _vm._self._c || _h
|
|
@@ -51867,11 +51893,11 @@ var handlervue_type_template_id_704e70f6_scoped_true_render = function () {
|
|
|
51867
51893
|
2
|
|
51868
51894
|
)
|
|
51869
51895
|
}
|
|
51870
|
-
var
|
|
51871
|
-
|
|
51896
|
+
var handlervue_type_template_id_36a30d46_scoped_true_staticRenderFns = []
|
|
51897
|
+
handlervue_type_template_id_36a30d46_scoped_true_render._withStripped = true
|
|
51872
51898
|
|
|
51873
51899
|
|
|
51874
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/handler.vue?vue&type=template&id=
|
|
51900
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/handler.vue?vue&type=template&id=36a30d46&scoped=true&
|
|
51875
51901
|
|
|
51876
51902
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/handler.vue?vue&type=script&lang=js&
|
|
51877
51903
|
//
|
|
@@ -51943,7 +51969,7 @@ var doorIndex = sessionStorage.getItem('doorIndex');
|
|
|
51943
51969
|
default: function _default() {
|
|
51944
51970
|
return {
|
|
51945
51971
|
type: 'index',
|
|
51946
|
-
|
|
51972
|
+
link: doorIndex,
|
|
51947
51973
|
icon: 'es-icon-home',
|
|
51948
51974
|
title: '门户'
|
|
51949
51975
|
};
|
|
@@ -52072,18 +52098,18 @@ var doorIndex = sessionStorage.getItem('doorIndex');
|
|
|
52072
52098
|
|
|
52073
52099
|
var handler_component = normalizeComponent(
|
|
52074
52100
|
simplicity_handlervue_type_script_lang_js_,
|
|
52075
|
-
|
|
52076
|
-
|
|
52101
|
+
handlervue_type_template_id_36a30d46_scoped_true_render,
|
|
52102
|
+
handlervue_type_template_id_36a30d46_scoped_true_staticRenderFns,
|
|
52077
52103
|
false,
|
|
52078
52104
|
null,
|
|
52079
|
-
"
|
|
52105
|
+
"36a30d46",
|
|
52080
52106
|
null
|
|
52081
52107
|
|
|
52082
52108
|
)
|
|
52083
52109
|
|
|
52084
52110
|
/* harmony default export */ var simplicity_handler = (handler_component.exports);
|
|
52085
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=
|
|
52086
|
-
var
|
|
52111
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=8135ef54&scoped=true&
|
|
52112
|
+
var sub_menuvue_type_template_id_8135ef54_scoped_true_render = function () {
|
|
52087
52113
|
var this$1 = this
|
|
52088
52114
|
var _vm = this
|
|
52089
52115
|
var _h = _vm.$createElement
|
|
@@ -52110,141 +52136,148 @@ var sub_menuvue_type_template_id_861e6a80_scoped_true_render = function () {
|
|
|
52110
52136
|
},
|
|
52111
52137
|
},
|
|
52112
52138
|
[
|
|
52113
|
-
_c(
|
|
52114
|
-
|
|
52115
|
-
|
|
52116
|
-
|
|
52117
|
-
|
|
52118
|
-
|
|
52119
|
-
|
|
52120
|
-
|
|
52121
|
-
|
|
52122
|
-
|
|
52123
|
-
|
|
52124
|
-
|
|
52125
|
-
|
|
52126
|
-
|
|
52127
|
-
|
|
52128
|
-
|
|
52129
|
-
|
|
52130
|
-
|
|
52131
|
-
|
|
52132
|
-
|
|
52133
|
-
|
|
52134
|
-
|
|
52135
|
-
|
|
52139
|
+
_c(
|
|
52140
|
+
"div",
|
|
52141
|
+
{
|
|
52142
|
+
staticClass: "es-simplicity-menus",
|
|
52143
|
+
class: { "es-simplicity-menus-plus": _vm.mode == "plus" },
|
|
52144
|
+
},
|
|
52145
|
+
[
|
|
52146
|
+
_c(
|
|
52147
|
+
"div",
|
|
52148
|
+
{
|
|
52149
|
+
staticClass: "es-simplicity-menus-box",
|
|
52150
|
+
style: { width: _vm.width + "px" },
|
|
52151
|
+
},
|
|
52152
|
+
[
|
|
52153
|
+
_c("div", { staticClass: "es-simplicity-menus-title" }, [
|
|
52154
|
+
!_vm.fold
|
|
52155
|
+
? _c(
|
|
52156
|
+
"span",
|
|
52157
|
+
{ staticClass: "es-simplicity-menus-title-text" },
|
|
52158
|
+
[_vm._v(_vm._s(_vm.title || _vm.text))]
|
|
52159
|
+
)
|
|
52160
|
+
: _vm._e(),
|
|
52161
|
+
_c("i", {
|
|
52162
|
+
directives: [
|
|
52163
|
+
{
|
|
52164
|
+
name: "show",
|
|
52165
|
+
rawName: "v-show",
|
|
52166
|
+
value: !_vm.fold,
|
|
52167
|
+
expression: "!fold",
|
|
52168
|
+
},
|
|
52169
|
+
],
|
|
52170
|
+
staticClass:
|
|
52171
|
+
"es-icon-shouqicaidan es-simplicity-menus-title-icon",
|
|
52172
|
+
on: {
|
|
52173
|
+
click: function ($event) {
|
|
52174
|
+
_vm.handleFold(true)
|
|
52175
|
+
},
|
|
52136
52176
|
},
|
|
52137
|
-
|
|
52138
|
-
|
|
52139
|
-
|
|
52140
|
-
|
|
52141
|
-
|
|
52142
|
-
|
|
52177
|
+
}),
|
|
52178
|
+
_c("i", {
|
|
52179
|
+
directives: [
|
|
52180
|
+
{
|
|
52181
|
+
name: "show",
|
|
52182
|
+
rawName: "v-show",
|
|
52183
|
+
value: _vm.fold,
|
|
52184
|
+
expression: "fold",
|
|
52185
|
+
},
|
|
52186
|
+
],
|
|
52187
|
+
staticClass:
|
|
52188
|
+
"es-icon-shouqicaidan-right es-simplicity-menus-title-icon",
|
|
52189
|
+
on: {
|
|
52190
|
+
click: function ($event) {
|
|
52191
|
+
_vm.handleFold(false)
|
|
52192
|
+
},
|
|
52143
52193
|
},
|
|
52194
|
+
}),
|
|
52195
|
+
]),
|
|
52196
|
+
_c("menu-list", {
|
|
52197
|
+
attrs: {
|
|
52198
|
+
active: _vm.active,
|
|
52199
|
+
data: _vm.menus,
|
|
52200
|
+
menuIcon: _vm.menuIcon,
|
|
52201
|
+
color: _vm.color,
|
|
52202
|
+
backgroundColor: _vm.backgroundColor,
|
|
52203
|
+
fold: _vm.fold,
|
|
52204
|
+
width: _vm.size,
|
|
52144
52205
|
},
|
|
52145
|
-
}),
|
|
52146
|
-
_c("i", {
|
|
52147
|
-
directives: [
|
|
52148
|
-
{
|
|
52149
|
-
name: "show",
|
|
52150
|
-
rawName: "v-show",
|
|
52151
|
-
value: _vm.fold,
|
|
52152
|
-
expression: "fold",
|
|
52153
|
-
},
|
|
52154
|
-
],
|
|
52155
|
-
staticClass:
|
|
52156
|
-
"es-icon-shouqicaidan-right es-simplicity-menus-title-icon",
|
|
52157
52206
|
on: {
|
|
52158
|
-
|
|
52159
|
-
|
|
52207
|
+
menter: function (res) {
|
|
52208
|
+
this$1.getData(res, 0, true)
|
|
52209
|
+
},
|
|
52210
|
+
mleave: function (res) {
|
|
52211
|
+
this$1.getData(res, 0, false)
|
|
52160
52212
|
},
|
|
52213
|
+
hover: _vm.handleHover,
|
|
52214
|
+
command: _vm.handleCommand,
|
|
52161
52215
|
},
|
|
52162
52216
|
}),
|
|
52163
|
-
]),
|
|
52164
|
-
_c("menu-list", {
|
|
52165
|
-
attrs: {
|
|
52166
|
-
active: _vm.active,
|
|
52167
|
-
data: _vm.menus,
|
|
52168
|
-
menuIcon: _vm.menuIcon,
|
|
52169
|
-
color: _vm.color,
|
|
52170
|
-
backgroundColor: _vm.backgroundColor,
|
|
52171
|
-
fold: _vm.fold,
|
|
52172
|
-
width: _vm.size,
|
|
52173
|
-
},
|
|
52174
|
-
on: {
|
|
52175
|
-
menter: function (res) {
|
|
52176
|
-
this$1.getData(res, 0, true)
|
|
52177
|
-
},
|
|
52178
|
-
mleave: function (res) {
|
|
52179
|
-
this$1.getData(res, 0, false)
|
|
52180
|
-
},
|
|
52181
|
-
hover: _vm.handleHover,
|
|
52182
|
-
command: _vm.handleCommand,
|
|
52183
|
-
},
|
|
52184
|
-
}),
|
|
52185
|
-
],
|
|
52186
|
-
1
|
|
52187
|
-
),
|
|
52188
|
-
_c(
|
|
52189
|
-
"div",
|
|
52190
|
-
{
|
|
52191
|
-
directives: [
|
|
52192
|
-
{
|
|
52193
|
-
name: "show",
|
|
52194
|
-
rawName: "v-show",
|
|
52195
|
-
value: _vm.subMenus.length,
|
|
52196
|
-
expression: "subMenus.length",
|
|
52197
|
-
},
|
|
52198
52217
|
],
|
|
52199
|
-
|
|
52200
|
-
|
|
52201
|
-
|
|
52202
|
-
|
|
52203
|
-
|
|
52204
|
-
|
|
52205
|
-
|
|
52206
|
-
|
|
52207
|
-
|
|
52208
|
-
|
|
52209
|
-
|
|
52210
|
-
|
|
52211
|
-
|
|
52212
|
-
|
|
52213
|
-
|
|
52214
|
-
|
|
52215
|
-
|
|
52216
|
-
|
|
52217
|
-
|
|
52218
|
-
|
|
52219
|
-
|
|
52220
|
-
|
|
52221
|
-
|
|
52222
|
-
|
|
52223
|
-
|
|
52224
|
-
|
|
52225
|
-
|
|
52218
|
+
1
|
|
52219
|
+
),
|
|
52220
|
+
_c(
|
|
52221
|
+
"div",
|
|
52222
|
+
{
|
|
52223
|
+
directives: [
|
|
52224
|
+
{
|
|
52225
|
+
name: "show",
|
|
52226
|
+
rawName: "v-show",
|
|
52227
|
+
value: _vm.subMenus.length,
|
|
52228
|
+
expression: "subMenus.length",
|
|
52229
|
+
},
|
|
52230
|
+
],
|
|
52231
|
+
staticClass: "es-simplicity-menus-view",
|
|
52232
|
+
on: { mouseleave: _vm.handleLeave, mouseenter: _vm.handleEnter },
|
|
52233
|
+
},
|
|
52234
|
+
_vm._l(_vm.subMenus, function (item, index) {
|
|
52235
|
+
return _c(
|
|
52236
|
+
"div",
|
|
52237
|
+
{ key: item.id, staticClass: "es-simplicity-menus-box" },
|
|
52238
|
+
[
|
|
52239
|
+
_c("div", { staticClass: "es-simplicity-menus-title" }, [
|
|
52240
|
+
_c(
|
|
52241
|
+
"span",
|
|
52242
|
+
{ staticClass: "es-simplicity-menus-title-text" },
|
|
52243
|
+
[_vm._v(_vm._s(item.name || item.text || item.title))]
|
|
52244
|
+
),
|
|
52245
|
+
]),
|
|
52246
|
+
_c("menu-list", {
|
|
52247
|
+
attrs: {
|
|
52248
|
+
active: _vm.active,
|
|
52249
|
+
data: item.children.concat(item.fourthTabs),
|
|
52250
|
+
menuIcon: _vm.menuIcon,
|
|
52251
|
+
color: _vm.color,
|
|
52252
|
+
backgroundColor: _vm.backgroundColor,
|
|
52253
|
+
width: _vm.size,
|
|
52226
52254
|
},
|
|
52227
|
-
|
|
52228
|
-
|
|
52255
|
+
on: {
|
|
52256
|
+
menter: function (res) {
|
|
52257
|
+
_vm.getData(res, index + 1, true)
|
|
52258
|
+
},
|
|
52259
|
+
mleave: function (res) {
|
|
52260
|
+
_vm.getData(res, index + 1, false)
|
|
52261
|
+
},
|
|
52262
|
+
command: _vm.handleCommand,
|
|
52229
52263
|
},
|
|
52230
|
-
|
|
52231
|
-
|
|
52232
|
-
|
|
52233
|
-
|
|
52234
|
-
|
|
52235
|
-
|
|
52236
|
-
|
|
52237
|
-
|
|
52238
|
-
|
|
52239
|
-
]),
|
|
52264
|
+
}),
|
|
52265
|
+
],
|
|
52266
|
+
1
|
|
52267
|
+
)
|
|
52268
|
+
}),
|
|
52269
|
+
0
|
|
52270
|
+
),
|
|
52271
|
+
]
|
|
52272
|
+
),
|
|
52240
52273
|
]
|
|
52241
52274
|
)
|
|
52242
52275
|
}
|
|
52243
|
-
var
|
|
52244
|
-
|
|
52276
|
+
var sub_menuvue_type_template_id_8135ef54_scoped_true_staticRenderFns = []
|
|
52277
|
+
sub_menuvue_type_template_id_8135ef54_scoped_true_render._withStripped = true
|
|
52245
52278
|
|
|
52246
52279
|
|
|
52247
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=
|
|
52280
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/sub-menu.vue?vue&type=template&id=8135ef54&scoped=true&
|
|
52248
52281
|
|
|
52249
52282
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/menu-list.vue?vue&type=template&id=2602f83d&scoped=true&
|
|
52250
52283
|
var menu_listvue_type_template_id_2602f83d_scoped_true_render = function () {
|
|
@@ -52597,12 +52630,16 @@ var menu_list_component = normalizeComponent(
|
|
|
52597
52630
|
//
|
|
52598
52631
|
//
|
|
52599
52632
|
//
|
|
52633
|
+
//
|
|
52634
|
+
//
|
|
52635
|
+
//
|
|
52600
52636
|
|
|
52601
52637
|
|
|
52602
52638
|
/* harmony default export */ var sub_menuvue_type_script_lang_js_ = ({
|
|
52603
52639
|
name: 'SubMenu',
|
|
52604
52640
|
components: { MenuList: menu_list },
|
|
52605
52641
|
props: {
|
|
52642
|
+
mode: String,
|
|
52606
52643
|
title: String,
|
|
52607
52644
|
active: String,
|
|
52608
52645
|
closed: Boolean,
|
|
@@ -52738,11 +52775,11 @@ var menu_list_component = normalizeComponent(
|
|
|
52738
52775
|
|
|
52739
52776
|
var sub_menu_component = normalizeComponent(
|
|
52740
52777
|
simplicity_sub_menuvue_type_script_lang_js_,
|
|
52741
|
-
|
|
52742
|
-
|
|
52778
|
+
sub_menuvue_type_template_id_8135ef54_scoped_true_render,
|
|
52779
|
+
sub_menuvue_type_template_id_8135ef54_scoped_true_staticRenderFns,
|
|
52743
52780
|
false,
|
|
52744
52781
|
null,
|
|
52745
|
-
"
|
|
52782
|
+
"8135ef54",
|
|
52746
52783
|
null
|
|
52747
52784
|
|
|
52748
52785
|
)
|
|
@@ -55806,7 +55843,9 @@ var simplicityvue_type_script_lang_js_extends = Object.assign || function (targe
|
|
|
55806
55843
|
//
|
|
55807
55844
|
//
|
|
55808
55845
|
//
|
|
55846
|
+
//
|
|
55809
55847
|
|
|
55848
|
+
var simplicityvue_type_script_lang_js_dataTableMode = utils_util["a" /* default */].win.dataTableMode || 'default';
|
|
55810
55849
|
|
|
55811
55850
|
|
|
55812
55851
|
|
|
@@ -55880,6 +55919,11 @@ var events = [function (tabs, index, that) {
|
|
|
55880
55919
|
online: online
|
|
55881
55920
|
},
|
|
55882
55921
|
props: {
|
|
55922
|
+
//模式
|
|
55923
|
+
mode: {
|
|
55924
|
+
type: String,
|
|
55925
|
+
default: simplicityvue_type_script_lang_js_dataTableMode
|
|
55926
|
+
},
|
|
55883
55927
|
appCode: String,
|
|
55884
55928
|
//logo
|
|
55885
55929
|
logo: String,
|
|
@@ -57243,11 +57287,11 @@ var events = [function (tabs, index, that) {
|
|
|
57243
57287
|
|
|
57244
57288
|
var simplicity_component = normalizeComponent(
|
|
57245
57289
|
src_simplicityvue_type_script_lang_js_,
|
|
57246
|
-
|
|
57247
|
-
|
|
57290
|
+
simplicityvue_type_template_id_56714f3e_scoped_true_render,
|
|
57291
|
+
simplicityvue_type_template_id_56714f3e_scoped_true_staticRenderFns,
|
|
57248
57292
|
false,
|
|
57249
57293
|
null,
|
|
57250
|
-
"
|
|
57294
|
+
"56714f3e",
|
|
57251
57295
|
null
|
|
57252
57296
|
|
|
57253
57297
|
)
|
|
@@ -63076,8 +63120,8 @@ notify_src_main.install = function (Vue) {
|
|
|
63076
63120
|
};
|
|
63077
63121
|
|
|
63078
63122
|
/* harmony default export */ var packages_notify = (notify_src_main);
|
|
63079
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/pagination/src/main.vue?vue&type=template&id=
|
|
63080
|
-
var
|
|
63123
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/pagination/src/main.vue?vue&type=template&id=4fb5d7d0&
|
|
63124
|
+
var mainvue_type_template_id_4fb5d7d0_render = function () {
|
|
63081
63125
|
var _vm = this
|
|
63082
63126
|
var _h = _vm.$createElement
|
|
63083
63127
|
var _c = _vm._self._c || _h
|
|
@@ -63112,11 +63156,11 @@ var mainvue_type_template_id_c691c10c_render = function () {
|
|
|
63112
63156
|
)
|
|
63113
63157
|
)
|
|
63114
63158
|
}
|
|
63115
|
-
var
|
|
63116
|
-
|
|
63159
|
+
var mainvue_type_template_id_4fb5d7d0_staticRenderFns = []
|
|
63160
|
+
mainvue_type_template_id_4fb5d7d0_render._withStripped = true
|
|
63117
63161
|
|
|
63118
63162
|
|
|
63119
|
-
// CONCATENATED MODULE: ./packages/pagination/src/main.vue?vue&type=template&id=
|
|
63163
|
+
// CONCATENATED MODULE: ./packages/pagination/src/main.vue?vue&type=template&id=4fb5d7d0&
|
|
63120
63164
|
|
|
63121
63165
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/pagination/src/main.vue?vue&type=script&lang=js&
|
|
63122
63166
|
//
|
|
@@ -63141,7 +63185,7 @@ mainvue_type_template_id_c691c10c_render._withStripped = true
|
|
|
63141
63185
|
//
|
|
63142
63186
|
|
|
63143
63187
|
|
|
63144
|
-
var
|
|
63188
|
+
var paginationLayout = utils_util["a" /* default */].win.top.tableLayout || utils_util["a" /* default */].win.tableLayout || 'prev, pager, next, sizes, total';
|
|
63145
63189
|
/* harmony default export */ var pagination_src_mainvue_type_script_lang_js_ = ({
|
|
63146
63190
|
name: 'EsPagination',
|
|
63147
63191
|
inheritAttrs: false,
|
|
@@ -63176,7 +63220,7 @@ var pageLayout = utils_util["a" /* default */].win.top.tableLayout || utils_util
|
|
|
63176
63220
|
// 自定义排版
|
|
63177
63221
|
layout: {
|
|
63178
63222
|
type: String,
|
|
63179
|
-
default:
|
|
63223
|
+
default: paginationLayout
|
|
63180
63224
|
},
|
|
63181
63225
|
// 只有一页时是否隐藏
|
|
63182
63226
|
hideOnSinglePage: {
|
|
@@ -63216,8 +63260,8 @@ var pageLayout = utils_util["a" /* default */].win.top.tableLayout || utils_util
|
|
|
63216
63260
|
|
|
63217
63261
|
var pagination_src_main_component = normalizeComponent(
|
|
63218
63262
|
packages_pagination_src_mainvue_type_script_lang_js_,
|
|
63219
|
-
|
|
63220
|
-
|
|
63263
|
+
mainvue_type_template_id_4fb5d7d0_render,
|
|
63264
|
+
mainvue_type_template_id_4fb5d7d0_staticRenderFns,
|
|
63221
63265
|
false,
|
|
63222
63266
|
null,
|
|
63223
63267
|
null,
|
|
@@ -81718,7 +81762,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
81718
81762
|
}
|
|
81719
81763
|
|
|
81720
81764
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
81721
|
-
version: '0.5.81-
|
|
81765
|
+
version: '0.5.81-beta12',
|
|
81722
81766
|
install: install,
|
|
81723
81767
|
Button: packages_button,
|
|
81724
81768
|
ButtonGroup: button_group,
|