eoss-ui 0.5.42 → 0.5.43
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 +6 -7
- package/lib/date-picker.js +39 -4
- package/lib/eoss-ui.common.js +48 -14
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/packages/data-table/src/main.vue +1 -2
- package/packages/date-picker/src/main.vue +48 -5
- package/packages/theme-chalk/gulpfile.js +25 -0
- package/src/index.js +1 -1
- package/packages/theme-chalk/lib/base.css +0 -1
- package/packages/theme-chalk/lib/button-group.css +0 -1
- package/packages/theme-chalk/lib/button.css +0 -1
- package/packages/theme-chalk/lib/card.css +0 -1
- package/packages/theme-chalk/lib/cascader.css +0 -0
- package/packages/theme-chalk/lib/checkbox-group.css +0 -1
- package/packages/theme-chalk/lib/clients.css +0 -1
- package/packages/theme-chalk/lib/data-table-form.css +0 -1
- package/packages/theme-chalk/lib/data-table.css +0 -1
- package/packages/theme-chalk/lib/date-picker.css +0 -1
- package/packages/theme-chalk/lib/dialog.css +0 -1
- package/packages/theme-chalk/lib/enterprise.css +0 -1
- package/packages/theme-chalk/lib/error-page.css +0 -1
- package/packages/theme-chalk/lib/flow-chart.css +0 -0
- package/packages/theme-chalk/lib/flow-group.css +0 -1
- package/packages/theme-chalk/lib/flow-list.css +0 -1
- package/packages/theme-chalk/lib/flow.css +0 -1
- package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/lib/form.css +0 -1
- package/packages/theme-chalk/lib/handle-user.css +0 -1
- package/packages/theme-chalk/lib/handler.css +0 -1
- package/packages/theme-chalk/lib/icon.css +0 -1
- package/packages/theme-chalk/lib/icons.css +0 -1
- package/packages/theme-chalk/lib/index.css +0 -1
- package/packages/theme-chalk/lib/input-number.css +0 -0
- package/packages/theme-chalk/lib/input.css +0 -1
- package/packages/theme-chalk/lib/label.css +0 -1
- package/packages/theme-chalk/lib/layout.css +0 -1
- package/packages/theme-chalk/lib/login.css +0 -1
- package/packages/theme-chalk/lib/main.css +0 -1
- package/packages/theme-chalk/lib/mainComp.css +0 -0
- package/packages/theme-chalk/lib/menu.css +0 -1
- package/packages/theme-chalk/lib/nav.css +0 -1
- package/packages/theme-chalk/lib/notify.css +0 -0
- package/packages/theme-chalk/lib/page.css +0 -1
- package/packages/theme-chalk/lib/pagination.css +0 -1
- package/packages/theme-chalk/lib/player.css +0 -1
- package/packages/theme-chalk/lib/qr-code.css +0 -1
- package/packages/theme-chalk/lib/radio-group.css +0 -1
- package/packages/theme-chalk/lib/retrial-auth.css +0 -1
- package/packages/theme-chalk/lib/select-ganged.css +0 -1
- package/packages/theme-chalk/lib/select.css +0 -1
- package/packages/theme-chalk/lib/selector-panel.css +0 -1
- package/packages/theme-chalk/lib/selector.css +0 -1
- package/packages/theme-chalk/lib/sizer.css +0 -1
- package/packages/theme-chalk/lib/steps.css +0 -1
- package/packages/theme-chalk/lib/switch.css +0 -1
- package/packages/theme-chalk/lib/table-form.css +0 -0
- package/packages/theme-chalk/lib/tabs-panel.css +0 -0
- package/packages/theme-chalk/lib/tabs.css +0 -1
- package/packages/theme-chalk/lib/tips.css +0 -1
- package/packages/theme-chalk/lib/toolbar.css +0 -1
- package/packages/theme-chalk/lib/tree-group.css +0 -1
- package/packages/theme-chalk/lib/tree.css +0 -1
- package/packages/theme-chalk/lib/upload.css +0 -1
- package/packages/theme-chalk/lib/wujie.css +0 -0
- package/packages/theme-chalk/lib/wxlogin.css +0 -1
package/lib/data-table.js
CHANGED
|
@@ -3683,8 +3683,8 @@ module.exports = require("vue");
|
|
|
3683
3683
|
// ESM COMPAT FLAG
|
|
3684
3684
|
__webpack_require__.r(__webpack_exports__);
|
|
3685
3685
|
|
|
3686
|
-
// 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=
|
|
3687
|
-
var
|
|
3686
|
+
// 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=85146f6a&
|
|
3687
|
+
var mainvue_type_template_id_85146f6a_render = function () {
|
|
3688
3688
|
var _vm = this
|
|
3689
3689
|
var _h = _vm.$createElement
|
|
3690
3690
|
var _c = _vm._self._c || _h
|
|
@@ -3934,10 +3934,10 @@ var mainvue_type_template_id_ea89055a_render = function () {
|
|
|
3934
3934
|
)
|
|
3935
3935
|
}
|
|
3936
3936
|
var staticRenderFns = []
|
|
3937
|
-
|
|
3937
|
+
mainvue_type_template_id_85146f6a_render._withStripped = true
|
|
3938
3938
|
|
|
3939
3939
|
|
|
3940
|
-
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=
|
|
3940
|
+
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=85146f6a&
|
|
3941
3941
|
|
|
3942
3942
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
3943
3943
|
var api = __webpack_require__(1);
|
|
@@ -6275,7 +6275,6 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
6275
6275
|
pageSize: 20,
|
|
6276
6276
|
totalCount: 0
|
|
6277
6277
|
},
|
|
6278
|
-
where: {},
|
|
6279
6278
|
wheres: {},
|
|
6280
6279
|
tableHeight: 'auto',
|
|
6281
6280
|
styles: {},
|
|
@@ -6710,7 +6709,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
6710
6709
|
reqData = util["a" /* default */].extend({}, reqData, where);
|
|
6711
6710
|
}
|
|
6712
6711
|
if (this.retainSearh) {
|
|
6713
|
-
reqData = util["a" /* default */].extend({}, reqData, this.
|
|
6712
|
+
reqData = util["a" /* default */].extend({}, reqData, this.wheres);
|
|
6714
6713
|
}
|
|
6715
6714
|
this.tableLoading = true;
|
|
6716
6715
|
util["a" /* default */].ajax({
|
|
@@ -7221,7 +7220,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
7221
7220
|
|
|
7222
7221
|
var main_component = Object(componentNormalizer["a" /* default */])(
|
|
7223
7222
|
src_mainvue_type_script_lang_js_,
|
|
7224
|
-
|
|
7223
|
+
mainvue_type_template_id_85146f6a_render,
|
|
7225
7224
|
staticRenderFns,
|
|
7226
7225
|
false,
|
|
7227
7226
|
null,
|
package/lib/date-picker.js
CHANGED
|
@@ -3664,6 +3664,11 @@ var _formats = {
|
|
|
3664
3664
|
/* harmony default export */ var mainvue_type_script_lang_js_ = ({
|
|
3665
3665
|
name: 'EsDatePicker',
|
|
3666
3666
|
inheritAttrs: false,
|
|
3667
|
+
inject: {
|
|
3668
|
+
esForm: {
|
|
3669
|
+
default: ''
|
|
3670
|
+
}
|
|
3671
|
+
},
|
|
3667
3672
|
props: {
|
|
3668
3673
|
value: [String, Array, Number, Date],
|
|
3669
3674
|
display: {
|
|
@@ -3698,16 +3703,19 @@ var _formats = {
|
|
|
3698
3703
|
format: String,
|
|
3699
3704
|
readonly: Boolean,
|
|
3700
3705
|
plain: Boolean,
|
|
3701
|
-
default: Boolean
|
|
3706
|
+
default: Boolean,
|
|
3707
|
+
setFormKeys: Array
|
|
3702
3708
|
},
|
|
3703
3709
|
data: function data() {
|
|
3704
|
-
return {
|
|
3710
|
+
return {
|
|
3711
|
+
date: ''
|
|
3712
|
+
};
|
|
3705
3713
|
},
|
|
3706
3714
|
|
|
3707
3715
|
computed: {
|
|
3708
3716
|
models: {
|
|
3709
3717
|
get: function get() {
|
|
3710
|
-
return this.value ? this.value :
|
|
3718
|
+
return this.value ? this.value : this.dae;
|
|
3711
3719
|
},
|
|
3712
3720
|
set: function set(val) {
|
|
3713
3721
|
return val;
|
|
@@ -3730,7 +3738,34 @@ var _formats = {
|
|
|
3730
3738
|
return this.range || this.type === 'datetimerange' || this.type === 'daterange' || this.type === 'monthrange' ? 'es-date-picker-range' : '';
|
|
3731
3739
|
}
|
|
3732
3740
|
},
|
|
3733
|
-
watch: {
|
|
3741
|
+
watch: {
|
|
3742
|
+
models: {
|
|
3743
|
+
deep: true,
|
|
3744
|
+
handler: function handler(val) {
|
|
3745
|
+
if (this.setFormKeys && this.esForm && this.dateType.indexOf('range') > -1) {
|
|
3746
|
+
var obj = this.esForm.models;
|
|
3747
|
+
this.setFormKeys.forEach(function (item, index) {
|
|
3748
|
+
if (val && val.length) {
|
|
3749
|
+
obj[item] = val[index];
|
|
3750
|
+
} else {
|
|
3751
|
+
delete obj[item];
|
|
3752
|
+
}
|
|
3753
|
+
});
|
|
3754
|
+
this.esForm.models = obj;
|
|
3755
|
+
}
|
|
3756
|
+
}
|
|
3757
|
+
},
|
|
3758
|
+
'esForm.models': {
|
|
3759
|
+
deep: true,
|
|
3760
|
+
handler: function handler(val) {
|
|
3761
|
+
if (this.setFormKeys && this.dateType.indexOf('range') > -1 && !util["a" /* default */].isExist(this.value)) {
|
|
3762
|
+
this.date = this.setFormKeys.map(function (item) {
|
|
3763
|
+
return val[item] || '';
|
|
3764
|
+
});
|
|
3765
|
+
}
|
|
3766
|
+
}
|
|
3767
|
+
}
|
|
3768
|
+
},
|
|
3734
3769
|
mounted: function mounted() {},
|
|
3735
3770
|
|
|
3736
3771
|
methods: {
|
package/lib/eoss-ui.common.js
CHANGED
|
@@ -5625,8 +5625,8 @@ clients_src_main.install = function (Vue) {
|
|
|
5625
5625
|
};
|
|
5626
5626
|
|
|
5627
5627
|
/* harmony default export */ var clients = (clients_src_main);
|
|
5628
|
-
// 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=
|
|
5629
|
-
var
|
|
5628
|
+
// 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=85146f6a&
|
|
5629
|
+
var mainvue_type_template_id_85146f6a_render = function () {
|
|
5630
5630
|
var _vm = this
|
|
5631
5631
|
var _h = _vm.$createElement
|
|
5632
5632
|
var _c = _vm._self._c || _h
|
|
@@ -5875,11 +5875,11 @@ var mainvue_type_template_id_ea89055a_render = function () {
|
|
|
5875
5875
|
1
|
|
5876
5876
|
)
|
|
5877
5877
|
}
|
|
5878
|
-
var
|
|
5879
|
-
|
|
5878
|
+
var mainvue_type_template_id_85146f6a_staticRenderFns = []
|
|
5879
|
+
mainvue_type_template_id_85146f6a_render._withStripped = true
|
|
5880
5880
|
|
|
5881
5881
|
|
|
5882
|
-
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=
|
|
5882
|
+
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=85146f6a&
|
|
5883
5883
|
|
|
5884
5884
|
// 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=29bcbc72&
|
|
5885
5885
|
var childrenvue_type_template_id_29bcbc72_render = function () {
|
|
@@ -8205,7 +8205,6 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8205
8205
|
pageSize: 20,
|
|
8206
8206
|
totalCount: 0
|
|
8207
8207
|
},
|
|
8208
|
-
where: {},
|
|
8209
8208
|
wheres: {},
|
|
8210
8209
|
tableHeight: 'auto',
|
|
8211
8210
|
styles: {},
|
|
@@ -8640,7 +8639,7 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
8640
8639
|
reqData = utils_util["a" /* default */].extend({}, reqData, where);
|
|
8641
8640
|
}
|
|
8642
8641
|
if (this.retainSearh) {
|
|
8643
|
-
reqData = utils_util["a" /* default */].extend({}, reqData, this.
|
|
8642
|
+
reqData = utils_util["a" /* default */].extend({}, reqData, this.wheres);
|
|
8644
8643
|
}
|
|
8645
8644
|
this.tableLoading = true;
|
|
8646
8645
|
utils_util["a" /* default */].ajax({
|
|
@@ -9151,8 +9150,8 @@ var mainvue_type_script_lang_js_components, _watch;
|
|
|
9151
9150
|
|
|
9152
9151
|
var data_table_src_main_component = normalizeComponent(
|
|
9153
9152
|
packages_data_table_src_mainvue_type_script_lang_js_,
|
|
9154
|
-
|
|
9155
|
-
|
|
9153
|
+
mainvue_type_template_id_85146f6a_render,
|
|
9154
|
+
mainvue_type_template_id_85146f6a_staticRenderFns,
|
|
9156
9155
|
false,
|
|
9157
9156
|
null,
|
|
9158
9157
|
null,
|
|
@@ -11045,6 +11044,11 @@ var _formats = {
|
|
|
11045
11044
|
/* harmony default export */ var date_picker_src_mainvue_type_script_lang_js_ = ({
|
|
11046
11045
|
name: 'EsDatePicker',
|
|
11047
11046
|
inheritAttrs: false,
|
|
11047
|
+
inject: {
|
|
11048
|
+
esForm: {
|
|
11049
|
+
default: ''
|
|
11050
|
+
}
|
|
11051
|
+
},
|
|
11048
11052
|
props: {
|
|
11049
11053
|
value: [String, Array, Number, Date],
|
|
11050
11054
|
display: {
|
|
@@ -11079,16 +11083,19 @@ var _formats = {
|
|
|
11079
11083
|
format: String,
|
|
11080
11084
|
readonly: Boolean,
|
|
11081
11085
|
plain: Boolean,
|
|
11082
|
-
default: Boolean
|
|
11086
|
+
default: Boolean,
|
|
11087
|
+
setFormKeys: Array
|
|
11083
11088
|
},
|
|
11084
11089
|
data: function data() {
|
|
11085
|
-
return {
|
|
11090
|
+
return {
|
|
11091
|
+
date: ''
|
|
11092
|
+
};
|
|
11086
11093
|
},
|
|
11087
11094
|
|
|
11088
11095
|
computed: {
|
|
11089
11096
|
models: {
|
|
11090
11097
|
get: function get() {
|
|
11091
|
-
return this.value ? this.value :
|
|
11098
|
+
return this.value ? this.value : this.dae;
|
|
11092
11099
|
},
|
|
11093
11100
|
set: function set(val) {
|
|
11094
11101
|
return val;
|
|
@@ -11111,7 +11118,34 @@ var _formats = {
|
|
|
11111
11118
|
return this.range || this.type === 'datetimerange' || this.type === 'daterange' || this.type === 'monthrange' ? 'es-date-picker-range' : '';
|
|
11112
11119
|
}
|
|
11113
11120
|
},
|
|
11114
|
-
watch: {
|
|
11121
|
+
watch: {
|
|
11122
|
+
models: {
|
|
11123
|
+
deep: true,
|
|
11124
|
+
handler: function handler(val) {
|
|
11125
|
+
if (this.setFormKeys && this.esForm && this.dateType.indexOf('range') > -1) {
|
|
11126
|
+
var obj = this.esForm.models;
|
|
11127
|
+
this.setFormKeys.forEach(function (item, index) {
|
|
11128
|
+
if (val && val.length) {
|
|
11129
|
+
obj[item] = val[index];
|
|
11130
|
+
} else {
|
|
11131
|
+
delete obj[item];
|
|
11132
|
+
}
|
|
11133
|
+
});
|
|
11134
|
+
this.esForm.models = obj;
|
|
11135
|
+
}
|
|
11136
|
+
}
|
|
11137
|
+
},
|
|
11138
|
+
'esForm.models': {
|
|
11139
|
+
deep: true,
|
|
11140
|
+
handler: function handler(val) {
|
|
11141
|
+
if (this.setFormKeys && this.dateType.indexOf('range') > -1 && !utils_util["a" /* default */].isExist(this.value)) {
|
|
11142
|
+
this.date = this.setFormKeys.map(function (item) {
|
|
11143
|
+
return val[item] || '';
|
|
11144
|
+
});
|
|
11145
|
+
}
|
|
11146
|
+
}
|
|
11147
|
+
}
|
|
11148
|
+
},
|
|
11115
11149
|
mounted: function mounted() {},
|
|
11116
11150
|
|
|
11117
11151
|
methods: {
|
|
@@ -71621,7 +71655,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
71621
71655
|
}
|
|
71622
71656
|
|
|
71623
71657
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
71624
|
-
version: '0.5.
|
|
71658
|
+
version: '0.5.43',
|
|
71625
71659
|
install: install,
|
|
71626
71660
|
Button: packages_button,
|
|
71627
71661
|
ButtonGroup: button_group,
|