eoss-ui 0.5.65 → 0.5.66
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/button-group.js +172 -25
- package/lib/button.js +5 -1
- package/lib/calendar.js +8 -4
- package/lib/data-table.js +8 -8
- package/lib/eoss-ui.common.js +719 -503
- package/lib/form.js +22 -7
- package/lib/index.js +1 -1
- package/lib/selector.js +469 -429
- package/lib/theme-chalk/button-group.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/tree.css +1 -1
- package/lib/toolbar.js +6 -0
- package/lib/upload.js +6 -6
- package/package.json +2 -2
- package/packages/button/src/main.vue +5 -1
- package/packages/button-group/src/main.vue +62 -7
- package/packages/calendar/src/main.vue +6 -2
- package/packages/data-table/src/column.vue +1 -1
- package/packages/form/src/main.vue +19 -5
- package/packages/selector/src/main.vue +31 -5
- package/packages/theme-chalk/lib/button-group.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/tree.css +1 -1
- package/packages/theme-chalk/src/button-group.scss +39 -0
- package/packages/theme-chalk/src/tree.scss +1 -0
- package/packages/toolbar/src/main.vue +6 -0
- package/packages/upload/src/main.vue +1 -1
- package/src/index.js +1 -1
package/lib/form.js
CHANGED
|
@@ -3655,7 +3655,7 @@ module.exports = require("qs");
|
|
|
3655
3655
|
// ESM COMPAT FLAG
|
|
3656
3656
|
__webpack_require__.r(__webpack_exports__);
|
|
3657
3657
|
|
|
3658
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=
|
|
3658
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=5a2c9b21&
|
|
3659
3659
|
var render = function () {
|
|
3660
3660
|
var _vm = this
|
|
3661
3661
|
var _h = _vm.$createElement
|
|
@@ -15116,7 +15116,7 @@ var staticRenderFns = []
|
|
|
15116
15116
|
render._withStripped = true
|
|
15117
15117
|
|
|
15118
15118
|
|
|
15119
|
-
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=
|
|
15119
|
+
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=5a2c9b21&
|
|
15120
15120
|
|
|
15121
15121
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
15122
15122
|
var regenerator_ = __webpack_require__(12);
|
|
@@ -19321,7 +19321,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
19321
19321
|
default: function _default() {
|
|
19322
19322
|
return {};
|
|
19323
19323
|
}
|
|
19324
|
-
}
|
|
19324
|
+
},
|
|
19325
|
+
active: Array
|
|
19325
19326
|
},
|
|
19326
19327
|
data: function data() {
|
|
19327
19328
|
return {
|
|
@@ -19518,7 +19519,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
19518
19519
|
if (index === 0) {
|
|
19519
19520
|
names = item.name || String(index);
|
|
19520
19521
|
}
|
|
19521
|
-
} else {
|
|
19522
|
+
} else if (item.active !== false) {
|
|
19522
19523
|
names.push(item.name || String(index));
|
|
19523
19524
|
}
|
|
19524
19525
|
} else {
|
|
@@ -19527,7 +19528,9 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
19527
19528
|
contents.push(item);
|
|
19528
19529
|
}
|
|
19529
19530
|
});
|
|
19530
|
-
this.
|
|
19531
|
+
if (!this.active || this.active && !this.active.length) {
|
|
19532
|
+
this.activeNames = names;
|
|
19533
|
+
}
|
|
19531
19534
|
this.content = contents;
|
|
19532
19535
|
if (this.content.length === 1) {
|
|
19533
19536
|
if (Object.prototype.hasOwnProperty.call(this.content[0], 'title') && Object.prototype.hasOwnProperty.call(this.content[0], 'contents')) {
|
|
@@ -19601,6 +19604,16 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
19601
19604
|
},
|
|
19602
19605
|
readonly: function readonly() {
|
|
19603
19606
|
!this.height && this.getHeight();
|
|
19607
|
+
},
|
|
19608
|
+
|
|
19609
|
+
active: {
|
|
19610
|
+
immediate: true,
|
|
19611
|
+
deep: true,
|
|
19612
|
+
handler: function handler(val) {
|
|
19613
|
+
if (val && val.length) {
|
|
19614
|
+
this.activeNames = val;
|
|
19615
|
+
}
|
|
19616
|
+
}
|
|
19604
19617
|
}
|
|
19605
19618
|
},
|
|
19606
19619
|
created: function created() {
|
|
@@ -19690,7 +19703,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
19690
19703
|
if (index === 0) {
|
|
19691
19704
|
names = item.name || String(index);
|
|
19692
19705
|
}
|
|
19693
|
-
} else {
|
|
19706
|
+
} else if (item.active !== false) {
|
|
19694
19707
|
names.push(item.name || String(index));
|
|
19695
19708
|
}
|
|
19696
19709
|
} else {
|
|
@@ -19699,7 +19712,9 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
19699
19712
|
contents.push(util["a" /* default */].extend({}, item));
|
|
19700
19713
|
}
|
|
19701
19714
|
});
|
|
19702
|
-
this.
|
|
19715
|
+
if (!this.active || this.active && !this.active.length) {
|
|
19716
|
+
this.activeNames = names;
|
|
19717
|
+
}
|
|
19703
19718
|
this.content = contents;
|
|
19704
19719
|
if (this.content.length === 1 && (this.content[0].type === 'text' || this.content[0].type === 'textarea' || this.content[0].type === undefined || Object.prototype.hasOwnProperty.call(this.content[0], 'title') && Object.prototype.hasOwnProperty.call(this.content[0], 'contents') && this.content[0].contents.length === 1 && (this.content[0].contents[0].type === 'text' || this.content[0].contents[0].type === 'textarea' || this.content[0].contents[0].type === undefined))) {
|
|
19705
19720
|
this.forbid = true;
|