eoss-ui 0.6.36 → 0.6.38
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/data-table.js +13 -11
- package/lib/eoss-ui.common.js +99 -53
- package/lib/form.js +14 -3
- package/lib/index.js +1 -1
- package/lib/select.js +0 -1
- package/lib/selector-panel.js +38 -15
- package/lib/theme-chalk/data-table.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/upload.js +19 -8
- package/package.json +3 -3
- package/packages/data-table/src/main.vue +1 -1
- package/packages/form/src/main.vue +3 -1
- package/packages/select/src/main.vue +0 -1
- package/packages/selector-panel/src/main.vue +8 -1
- package/packages/selector-panel/src/selection.vue +20 -3
- package/packages/theme-chalk/lib/data-table.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/src/data-table.scss +17 -0
- package/packages/upload/src/main.vue +14 -3
- package/src/index.js +1 -1
package/lib/select.js
CHANGED
|
@@ -4200,7 +4200,6 @@ function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in ob
|
|
|
4200
4200
|
this.label = this.service ? 'label' : 'shortName';
|
|
4201
4201
|
this.valKey = this.service ? 'value' : 'cciValue';
|
|
4202
4202
|
var options = store["a" /* default */].get(val);
|
|
4203
|
-
debugger;
|
|
4204
4203
|
if (options) {
|
|
4205
4204
|
this.options = JSON.parse(JSON.stringify(options));
|
|
4206
4205
|
} else {
|
package/lib/selector-panel.js
CHANGED
|
@@ -3977,7 +3977,7 @@ module.exports = require("sortablejs");
|
|
|
3977
3977
|
// ESM COMPAT FLAG
|
|
3978
3978
|
__webpack_require__.r(__webpack_exports__);
|
|
3979
3979
|
|
|
3980
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=
|
|
3980
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=0bd7f7ee&
|
|
3981
3981
|
var render = function () {
|
|
3982
3982
|
var _vm = this
|
|
3983
3983
|
var _h = _vm.$createElement
|
|
@@ -4177,6 +4177,7 @@ var render = function () {
|
|
|
4177
4177
|
multiple: _vm.mix ? _vm.mix : _vm.multiple,
|
|
4178
4178
|
max: _vm.max,
|
|
4179
4179
|
showDisabled: _vm.showDisabled,
|
|
4180
|
+
disableds: _vm.disableds,
|
|
4180
4181
|
},
|
|
4181
4182
|
model: {
|
|
4182
4183
|
value: _vm.checkeds,
|
|
@@ -4244,7 +4245,7 @@ var staticRenderFns = []
|
|
|
4244
4245
|
render._withStripped = true
|
|
4245
4246
|
|
|
4246
4247
|
|
|
4247
|
-
// CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=
|
|
4248
|
+
// CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=0bd7f7ee&
|
|
4248
4249
|
|
|
4249
4250
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/tree.vue?vue&type=template&id=24ad732a&
|
|
4250
4251
|
var treevue_type_template_id_24ad732a_render = function () {
|
|
@@ -4542,8 +4543,8 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
4542
4543
|
)
|
|
4543
4544
|
|
|
4544
4545
|
/* harmony default export */ var tree = (component.exports);
|
|
4545
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/selection.vue?vue&type=template&id=
|
|
4546
|
-
var
|
|
4546
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/selection.vue?vue&type=template&id=2bc3d812&
|
|
4547
|
+
var selectionvue_type_template_id_2bc3d812_render = function () {
|
|
4547
4548
|
var _vm = this
|
|
4548
4549
|
var _h = _vm.$createElement
|
|
4549
4550
|
var _c = _vm._self._c || _h
|
|
@@ -4596,8 +4597,7 @@ var selectionvue_type_template_id_a9db4d6e_render = function () {
|
|
|
4596
4597
|
_vm.isObject || typeof item == "string"
|
|
4597
4598
|
? item
|
|
4598
4599
|
: item[_vm.valueKey],
|
|
4599
|
-
disabled:
|
|
4600
|
-
typeof item == "string" ? false : item.disabled,
|
|
4600
|
+
disabled: _vm.isDisabled(item),
|
|
4601
4601
|
"value-key": _vm.valueKey,
|
|
4602
4602
|
tooltip: item[_vm.tipKey],
|
|
4603
4603
|
},
|
|
@@ -4659,8 +4659,7 @@ var selectionvue_type_template_id_a9db4d6e_render = function () {
|
|
|
4659
4659
|
_vm.isObject || typeof item == "string"
|
|
4660
4660
|
? item
|
|
4661
4661
|
: item[_vm.valueKey],
|
|
4662
|
-
disabled:
|
|
4663
|
-
typeof item == "string" ? false : item.disabled,
|
|
4662
|
+
disabled: _vm.isDisabled(item),
|
|
4664
4663
|
"value-key": _vm.valueKey,
|
|
4665
4664
|
tooltip: item[_vm.tipKey],
|
|
4666
4665
|
},
|
|
@@ -4700,11 +4699,11 @@ var selectionvue_type_template_id_a9db4d6e_render = function () {
|
|
|
4700
4699
|
1
|
|
4701
4700
|
)
|
|
4702
4701
|
}
|
|
4703
|
-
var
|
|
4704
|
-
|
|
4702
|
+
var selectionvue_type_template_id_2bc3d812_staticRenderFns = []
|
|
4703
|
+
selectionvue_type_template_id_2bc3d812_render._withStripped = true
|
|
4705
4704
|
|
|
4706
4705
|
|
|
4707
|
-
// CONCATENATED MODULE: ./packages/selector-panel/src/selection.vue?vue&type=template&id=
|
|
4706
|
+
// CONCATENATED MODULE: ./packages/selector-panel/src/selection.vue?vue&type=template&id=2bc3d812&
|
|
4708
4707
|
|
|
4709
4708
|
// EXTERNAL MODULE: external "sortablejs"
|
|
4710
4709
|
var external_sortablejs_ = __webpack_require__(24);
|
|
@@ -4809,7 +4808,13 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
4809
4808
|
default: true
|
|
4810
4809
|
},
|
|
4811
4810
|
max: Number,
|
|
4812
|
-
mix: Boolean
|
|
4811
|
+
mix: Boolean,
|
|
4812
|
+
disableds: {
|
|
4813
|
+
type: Array,
|
|
4814
|
+
default: function _default() {
|
|
4815
|
+
return [];
|
|
4816
|
+
}
|
|
4817
|
+
}
|
|
4813
4818
|
},
|
|
4814
4819
|
data: function data() {
|
|
4815
4820
|
return {};
|
|
@@ -4862,6 +4867,17 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
4862
4867
|
},
|
|
4863
4868
|
getprops: function getprops(attrs, res) {
|
|
4864
4869
|
return util["a" /* default */].isObject(res) ? _extends({}, attrs, res) : attrs;
|
|
4870
|
+
},
|
|
4871
|
+
isDisabled: function isDisabled(res) {
|
|
4872
|
+
if (typeof res == 'string') {
|
|
4873
|
+
return false;
|
|
4874
|
+
}
|
|
4875
|
+
if (this.disableds && this.disableds.length > 0) {
|
|
4876
|
+
if (this.disableds.includes(res[this.valueKey])) {
|
|
4877
|
+
return true;
|
|
4878
|
+
}
|
|
4879
|
+
}
|
|
4880
|
+
return res.disabled;
|
|
4865
4881
|
}
|
|
4866
4882
|
},
|
|
4867
4883
|
beforeDestroy: function beforeDestroy() {
|
|
@@ -4880,8 +4896,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
4880
4896
|
|
|
4881
4897
|
var selection_component = Object(componentNormalizer["a" /* default */])(
|
|
4882
4898
|
src_selectionvue_type_script_lang_js_,
|
|
4883
|
-
|
|
4884
|
-
|
|
4899
|
+
selectionvue_type_template_id_2bc3d812_render,
|
|
4900
|
+
selectionvue_type_template_id_2bc3d812_staticRenderFns,
|
|
4885
4901
|
false,
|
|
4886
4902
|
null,
|
|
4887
4903
|
null,
|
|
@@ -5007,6 +5023,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5007
5023
|
//
|
|
5008
5024
|
//
|
|
5009
5025
|
//
|
|
5026
|
+
//
|
|
5010
5027
|
|
|
5011
5028
|
|
|
5012
5029
|
|
|
@@ -5106,7 +5123,13 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5106
5123
|
default: true
|
|
5107
5124
|
},
|
|
5108
5125
|
max: Number,
|
|
5109
|
-
mix: Boolean
|
|
5126
|
+
mix: Boolean,
|
|
5127
|
+
disableds: {
|
|
5128
|
+
type: Array,
|
|
5129
|
+
default: function _default() {
|
|
5130
|
+
return [];
|
|
5131
|
+
}
|
|
5132
|
+
}
|
|
5110
5133
|
},
|
|
5111
5134
|
data: function data() {
|
|
5112
5135
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.es-data-table,.es-data-table-content .es-table .el-table__body-wrapper .el-table__body{position:relative}.es-data-table .es-toolbar.es-table-toolbar-plus{padding:16px 16px 8px;border-color:transparent}.es-data-table .es-toolbar.es-table-toolbar-plus .es-advanced-filter.es-absolute{top:55px}.es-data-table .es-toolbar.es-table-toolbar-plus .es-advanced-filter.es-absolute .es-form{border:0}.es-data-table .es-toolbar+.es-data-table-content{padding:16px}.es-data-table .es-toolbar+.es-data-table-content.es-table-plus{padding-top:0}.es-data-table-content{background-color:#fafafa}.es-data-table-content .es-table:not(.el-table--border){border:1px solid #e1e1e1;border-bottom:0}.es-data-table-content .es-table thead th,.es-data-table-content .es-table thead tr{background-color:#f8f8f8;border-color:#e1e1e1}.es-data-table-content .es-table th,.es-data-table-content .es-table thead tr{padding:6px 0;text-align:center}.es-data-table-content .es-table th .cell,.es-data-table-content .es-table thead tr .cell{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.es-data-table-content .es-table td{padding:6px 0}.es-data-table-content .es-table td.es-table-handle-box .cell,.es-data-table-content .es-table td.is-center .cell{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.es-data-table-content .es-table td.is-right .cell{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.es-data-table-content .es-table .es-table-handle-box{text-align:center}.es-data-table-content .es-table+.es-table-page{margin-top:-1px}.es-data-table-content .es-table .el-table__fixed-right::before,.es-data-table-content .es-table .el-table__fixed::before{background-color:transparent}.es-data-table-content .es-table .cell{min-height:28px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center}.es-data-table-content .es-table .cell:not(.el-tooltip){display:-webkit-box;display:-ms-flexbox;display:flex}.es-data-table-content .es-table .cell.el-tooltip{line-height:22px}.es-data-table-content .es-table .el-form-item{margin-bottom:0;width:100%}.es-data-table-content .es-table .el-form-item .el-input:not(.el-input--prefix) .el-input__inner{padding:0 8px;margin-top:0}.es-data-table-content .es-table .el-form-item .el-input-number,.es-data-table-content .es-table .el-form-item .el-select{width:100%}.es-data-table-content .es-table.el-scrollbar>.el-scrollbar__bar{z-index:8}.es-data-table-content.es-table-border-none .es-table{border:0}.es-data-table-content.es-table-border-none .es-table::before{content:none}.es-data-table-content.es-table-border-none .es-table td,.es-data-table-content.es-table-border-none .es-table th{border:0}.es-data-table-content.es-table-border-none .es-table-page{border:0;margin-top:0;background-color:#fff}.es-data-table-content .el-table__header,.es-data-table-content .el-table__header thead{color:#404040}.es-data-table-content .el-table__body tr.hover-row.current-row>td,.es-data-table-content .el-table__body tr.hover-row.el-table__row--striped.current-row>td,.es-data-table-content .el-table__body tr.hover-row.el-table__row--striped>td,.es-data-table-content .el-table__body tr.hover-row>td,.es-data-table-content .el-table__body tr:hover>td{background-color:#e6f7ff}.es-data-table-content .el-table__body tr.current-row>td{background-color:#91d5ff}.es-data-table-content .es-table-page{height:46px;border:1px solid #e1e1e1;padding:8px 24px;background-color:#f8f8f8}.es-data-table-content .es-table-page.es-loading-page{line-height:30px;font-size:14px;font-weight:400;color:rgba(0,0,0,.75)}.es-data-table-content.es-table-plus .el-table__header thead,.es-data-table-content.es-table-plus .es-table-page .el-pagination__total,.es-data-table-content.es-table-plus .es-table-page .el-select__caret{color:#6e7c98}.es-data-table-content .es-thead-border .el-table__header th:not(.gutter){border-right:1px solid #e1e1e1}.es-data-table-content .es-thead-border .el-table__header thead:not(.is-group) th:last-child{border-right:0;border-bottom:1px solid #e1e1e1}.es-data-table-content .es-thead-border .is-scrolling-right~.el-table__fixed-right:not(.el-table-box-shadow) thead th:last-child{border-left:0}.es-data-table-content .el-form-item__error{top:unset;bottom:0}.es-data-table-content .es-table:not(.el-table--border) .el-table--border td,.es-data-table-content .es-table:not(.el-table--border) .el-table--border th,.es-data-table-content .es-table:not(.el-table--border) .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed{border-right:0}.es-data-table-content .is-scrolling-right+.el-table__fixed-body-wrapper td{border-right:1px solid #e1e1e1}.es-data-table-content .is-scrolling-right+.el-table__fixed-body-wrapper td:last-child{border-right:0}.es-data-table-content.es-table-plus{background-color:#fff;padding-top:0}.es-data-table-content.es-table-plus .el-table__header th{background-color:#fff;border-color:#cdd9e4}.es-data-table-content.es-table-plus .el-table__header th:not(.gutter){border-right-color:transparent}.es-data-table-content.es-table-plus .es-table{border-color:transparent}.es-data-table-content.es-table-plus .es-table::before{background-color:#cdd9e4}.es-data-table-content.es-table-plus .es-table td{border-color:#cdd9e4}.es-data-table-content.es-table-plus .es-table .cell{min-height:35px}.es-data-table-content.es-table-plus .es-table-page{height:48px;padding:10px 24px;background-color:#fff;border-color:#cdd9e4 transparent transparent}.el-table--border::after,.el-table--group::after,.el-table::before{z-index:5}.es-table-sizer{height:100%}.sizer-btn-box{text-align:right;margin-top:7px}.es-table-sizer-tips{color:red;line-height:20px}.es-table-setting{font-size:16px;cursor:pointer;position:absolute;right:0;top:0;z-index:99}
|
|
1
|
+
@charset "UTF-8";.es-data-table,.es-data-table-content .es-table .el-table__body-wrapper .el-table__body{position:relative}.es-data-table .es-toolbar.es-table-toolbar-plus{padding:16px 16px 8px;border-color:transparent}.es-data-table .es-toolbar.es-table-toolbar-plus .es-advanced-filter.es-absolute{top:55px}.es-data-table .es-toolbar.es-table-toolbar-plus .es-advanced-filter.es-absolute .es-form{border:0}.es-data-table .es-toolbar+.es-data-table-content{padding:16px}.es-data-table .es-toolbar+.es-data-table-content.es-table-plus{padding-top:0}.es-data-table-content{background-color:#fafafa}.es-data-table-content .es-table:not(.el-table--border){border:1px solid #e1e1e1;border-bottom:0}.es-data-table-content .es-table thead th,.es-data-table-content .es-table thead tr{background-color:#f8f8f8;border-color:#e1e1e1}.es-data-table-content .es-table th,.es-data-table-content .es-table thead tr{padding:6px 0;text-align:center}.es-data-table-content .es-table th.is-right,.es-data-table-content .es-table thead tr.is-right{text-align:right}.es-data-table-content .es-table th.is-right .cell,.es-data-table-content .es-table thead tr.is-right .cell{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.es-data-table-content .es-table th.is-left,.es-data-table-content .es-table thead tr.is-left{text-align:left}.es-data-table-content .es-table th.is-left .cell,.es-data-table-content .es-table thead tr.is-left .cell{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.es-data-table-content .es-table th .cell,.es-data-table-content .es-table thead tr .cell{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.es-data-table-content .es-table td{padding:6px 0}.es-data-table-content .es-table td.es-table-handle-box .cell,.es-data-table-content .es-table td.is-center .cell{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.es-data-table-content .es-table td.is-right .cell{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.es-data-table-content .es-table td.is-left .cell{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.es-data-table-content .es-table .es-table-handle-box{text-align:center}.es-data-table-content .es-table+.es-table-page{margin-top:-1px}.es-data-table-content .es-table .el-table__fixed-right::before,.es-data-table-content .es-table .el-table__fixed::before{background-color:transparent}.es-data-table-content .es-table .cell{min-height:28px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center}.es-data-table-content .es-table .cell:not(.el-tooltip){display:-webkit-box;display:-ms-flexbox;display:flex}.es-data-table-content .es-table .cell.el-tooltip{line-height:22px}.es-data-table-content .es-table .el-form-item{margin-bottom:0;width:100%}.es-data-table-content .es-table .el-form-item .el-input:not(.el-input--prefix) .el-input__inner{padding:0 8px;margin-top:0}.es-data-table-content .es-table .el-form-item .el-input-number,.es-data-table-content .es-table .el-form-item .el-select{width:100%}.es-data-table-content .es-table.el-scrollbar>.el-scrollbar__bar{z-index:8}.es-data-table-content.es-table-border-none .es-table{border:0}.es-data-table-content.es-table-border-none .es-table::before{content:none}.es-data-table-content.es-table-border-none .es-table td,.es-data-table-content.es-table-border-none .es-table th{border:0}.es-data-table-content.es-table-border-none .es-table-page{border:0;margin-top:0;background-color:#fff}.es-data-table-content .el-table__header,.es-data-table-content .el-table__header thead{color:#404040}.es-data-table-content .el-table__body tr.hover-row.current-row>td,.es-data-table-content .el-table__body tr.hover-row.el-table__row--striped.current-row>td,.es-data-table-content .el-table__body tr.hover-row.el-table__row--striped>td,.es-data-table-content .el-table__body tr.hover-row>td,.es-data-table-content .el-table__body tr:hover>td{background-color:#e6f7ff}.es-data-table-content .el-table__body tr.current-row>td{background-color:#91d5ff}.es-data-table-content .es-table-page{height:46px;border:1px solid #e1e1e1;padding:8px 24px;background-color:#f8f8f8}.es-data-table-content .es-table-page.es-loading-page{line-height:30px;font-size:14px;font-weight:400;color:rgba(0,0,0,.75)}.es-data-table-content.es-table-plus .el-table__header thead,.es-data-table-content.es-table-plus .es-table-page .el-pagination__total,.es-data-table-content.es-table-plus .es-table-page .el-select__caret{color:#6e7c98}.es-data-table-content .es-thead-border .el-table__header th:not(.gutter){border-right:1px solid #e1e1e1}.es-data-table-content .es-thead-border .el-table__header thead:not(.is-group) th:last-child{border-right:0;border-bottom:1px solid #e1e1e1}.es-data-table-content .es-thead-border .is-scrolling-right~.el-table__fixed-right:not(.el-table-box-shadow) thead th:last-child{border-left:0}.es-data-table-content .el-form-item__error{top:unset;bottom:0}.es-data-table-content .es-table:not(.el-table--border) .el-table--border td,.es-data-table-content .es-table:not(.el-table--border) .el-table--border th,.es-data-table-content .es-table:not(.el-table--border) .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed{border-right:0}.es-data-table-content .is-scrolling-right+.el-table__fixed-body-wrapper td{border-right:1px solid #e1e1e1}.es-data-table-content .is-scrolling-right+.el-table__fixed-body-wrapper td:last-child{border-right:0}.es-data-table-content.es-table-plus{background-color:#fff;padding-top:0}.es-data-table-content.es-table-plus .el-table__header th{background-color:#fff;border-color:#cdd9e4}.es-data-table-content.es-table-plus .el-table__header th:not(.gutter){border-right-color:transparent}.es-data-table-content.es-table-plus .es-table{border-color:transparent}.es-data-table-content.es-table-plus .es-table::before{background-color:#cdd9e4}.es-data-table-content.es-table-plus .es-table td{border-color:#cdd9e4}.es-data-table-content.es-table-plus .es-table .cell{min-height:35px}.es-data-table-content.es-table-plus .es-table-page{height:48px;padding:10px 24px;background-color:#fff;border-color:#cdd9e4 transparent transparent}.el-table--border::after,.el-table--group::after,.el-table::before{z-index:5}.es-table-sizer{height:100%}.sizer-btn-box{text-align:right;margin-top:7px}.es-table-sizer-tips{color:red;line-height:20px}.es-table-setting{font-size:16px;cursor:pointer;position:absolute;right:0;top:0;z-index:99}
|