eoss 0.1.0-alpha.47 → 0.1.0-alpha.49
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/3.js +1 -1
- package/lib/autocomplete.js +6 -6
- package/lib/ca-login.js +2 -2
- package/lib/calendar.js +2 -2
- package/lib/cascader-panel.js +2 -2
- package/lib/cascader.js +4 -4
- package/lib/code-editor.js +2 -2
- package/lib/collapse-item.js +2 -2
- package/lib/collapse.js +2 -2
- package/lib/color-picker.js +2 -2
- package/lib/cron.js +4 -4
- package/lib/data-table.js +366 -20
- package/lib/date-picker.js +3 -3
- package/lib/dialog.js +12 -10
- package/lib/drawer.js +2 -2
- package/lib/dropdown-item.js +23 -4
- package/lib/dropdown.js +4 -4
- package/lib/empty.js +2 -2
- package/lib/eoss.common.js +734 -322
- package/lib/flow-group.js +2 -2
- package/lib/flow.js +7 -7
- package/lib/form-editor.js +2 -2
- package/lib/form.js +12 -11
- package/lib/guide.js +2 -2
- package/lib/icons.js +4 -4
- package/lib/index.js +1 -1
- package/lib/input.js +2 -2
- package/lib/loading.js +4 -4
- package/lib/lowcode-view.js +2 -2
- package/lib/lowcode.js +7 -50
- package/lib/main.js +5 -5
- package/lib/menu-item-group.js +5 -1
- package/lib/menu.js +33 -43
- package/lib/message-box.js +4 -4
- package/lib/message.js +2 -2
- package/lib/notification.js +2 -2
- package/lib/pagination.js +2 -2
- package/lib/process-module.js +2 -2
- package/lib/rate.js +2 -2
- package/lib/scrollbar.js +71 -87
- package/lib/select.js +23 -13
- package/lib/selector-panel.js +2 -2
- package/lib/selector.js +16 -18
- package/lib/slider.js +2 -2
- package/lib/step.js +2 -2
- package/lib/steps.js +4 -4
- package/lib/submenu.js +16 -24
- package/lib/switch.js +2 -2
- package/lib/table-column.js +69 -3
- package/lib/table.js +162 -56
- package/lib/tabs.js +2 -2
- package/lib/theme-chalk/autocomplete.css +1 -1
- package/lib/theme-chalk/cascader-panel.css +1 -1
- package/lib/theme-chalk/cascader.css +1 -1
- package/lib/theme-chalk/data-table.css +1 -1
- package/lib/theme-chalk/date-picker.css +1 -1
- package/lib/theme-chalk/form.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/input-number.css +1 -1
- package/lib/theme-chalk/input.css +1 -1
- package/lib/theme-chalk/menu.css +1 -1
- package/lib/theme-chalk/message-box.css +1 -1
- package/lib/theme-chalk/pagination.css +1 -1
- package/lib/theme-chalk/scrollbar.css +1 -1
- package/lib/theme-chalk/select.css +1 -1
- package/lib/theme-chalk/selector.css +1 -1
- package/lib/theme-chalk/slider.css +1 -1
- package/lib/theme-chalk/table.css +1 -1
- package/lib/theme-chalk/time-picker.css +1 -1
- package/lib/theme-chalk/time-select.css +1 -1
- package/lib/theme-chalk/transfer.css +1 -1
- package/lib/theme-chalk/tree.css +1 -1
- package/lib/theme-chalk/upload.css +1 -1
- package/lib/time-picker.js +2 -2
- package/lib/time-select.js +6 -6
- package/lib/toolbar.js +2 -2
- package/lib/transfer.js +4 -4
- package/lib/tree.js +8 -15
- package/lib/upload.js +20 -20
- package/lib/utils/popup/popup-manager.js +24 -8
- package/package.json +4 -1
- package/packages/data-table/src/data-table.vue +43 -8
- package/packages/data-table/src/sizer.vue +104 -87
- package/packages/dialog/src/dialog.vue +4 -2
- package/packages/dropdown/src/dropdown-item.vue +21 -3
- package/packages/form/src/form.vue +5 -8
- package/packages/icons/src/icons.vue +2 -2
- package/packages/lowcode/src/util/components.js +0 -59
- package/packages/menu/src/menu.vue +7 -21
- package/packages/menu/src/mixins.js +6 -1
- package/packages/menu/src/submenu.vue +7 -16
- package/packages/scrollbar/src/main.js +64 -78
- package/packages/select/src/select.vue +13 -6
- package/packages/selector/src/selector.vue +6 -13
- package/packages/table/src/config.js +48 -0
- package/packages/table/src/store/index.js +19 -4
- package/packages/table/src/store/watcher.js +14 -3
- package/packages/table/src/table-body.js +9 -4
- package/packages/table/src/table-column.js +17 -3
- package/packages/table/src/table-footer.js +4 -2
- package/packages/table/src/table-header.js +9 -6
- package/packages/table/src/table.vue +48 -27
- package/packages/theme-chalk/src/data-table.scss +4 -0
- package/packages/theme-chalk/src/form.scss +3 -0
- package/packages/theme-chalk/src/input.scss +2 -2
- package/packages/theme-chalk/src/menu.scss +8 -0
- package/packages/theme-chalk/src/mixins/function.scss +61 -12
- package/packages/theme-chalk/src/mixins/utils.scss +12 -0
- package/packages/theme-chalk/src/scrollbar.scss +4 -5
- package/packages/theme-chalk/src/selector.scss +6 -1
- package/packages/theme-chalk/src/table.scss +40 -0
- package/packages/theme-chalk/src/tree.scss +7 -6
- package/packages/theme-chalk/src/upload.scss +5 -0
- package/packages/tree/src/tree.vue +2 -13
- package/packages/upload/src/upload-list.vue +5 -10
- package/src/index.js +1 -1
- package/src/utils/popup/popup-manager.js +24 -9
package/lib/flow-group.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 201);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -234,7 +234,7 @@ module.exports = require("eoss/lib/config/api.js");
|
|
|
234
234
|
|
|
235
235
|
/***/ }),
|
|
236
236
|
|
|
237
|
-
/***/
|
|
237
|
+
/***/ 201:
|
|
238
238
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
239
239
|
|
|
240
240
|
"use strict";
|
package/lib/flow.js
CHANGED
|
@@ -4142,7 +4142,7 @@ var dialog_ = __webpack_require__(18);
|
|
|
4142
4142
|
var dialog_default = /*#__PURE__*/__webpack_require__.n(dialog_);
|
|
4143
4143
|
|
|
4144
4144
|
// EXTERNAL MODULE: external "eoss/lib/option"
|
|
4145
|
-
var option_ = __webpack_require__(
|
|
4145
|
+
var option_ = __webpack_require__(32);
|
|
4146
4146
|
var option_default = /*#__PURE__*/__webpack_require__.n(option_);
|
|
4147
4147
|
|
|
4148
4148
|
// EXTERNAL MODULE: external "eoss/lib/select"
|
|
@@ -10883,7 +10883,7 @@ var Preset_component = Object(componentNormalizer["a" /* default */])(
|
|
|
10883
10883
|
|
|
10884
10884
|
/* harmony default export */ var Preset = (Preset_component.exports);
|
|
10885
10885
|
// EXTERNAL MODULE: external "eoss/lib/radio-group"
|
|
10886
|
-
var radio_group_ = __webpack_require__(
|
|
10886
|
+
var radio_group_ = __webpack_require__(29);
|
|
10887
10887
|
var radio_group_default = /*#__PURE__*/__webpack_require__.n(radio_group_);
|
|
10888
10888
|
|
|
10889
10889
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/processForm.vue?vue&type=script&lang=js&
|
|
@@ -33106,21 +33106,21 @@ module.exports = require("eoss/lib/checkbox-group");
|
|
|
33106
33106
|
|
|
33107
33107
|
/***/ }),
|
|
33108
33108
|
|
|
33109
|
-
/***/
|
|
33109
|
+
/***/ 29:
|
|
33110
33110
|
/***/ (function(module, exports) {
|
|
33111
33111
|
|
|
33112
|
-
module.exports = require("eoss/lib/
|
|
33112
|
+
module.exports = require("eoss/lib/radio-group");
|
|
33113
33113
|
|
|
33114
33114
|
/***/ }),
|
|
33115
33115
|
|
|
33116
|
-
/***/
|
|
33116
|
+
/***/ 3:
|
|
33117
33117
|
/***/ (function(module, exports) {
|
|
33118
33118
|
|
|
33119
|
-
module.exports = require("eoss/lib/
|
|
33119
|
+
module.exports = require("eoss/lib/utils/ajax.js");
|
|
33120
33120
|
|
|
33121
33121
|
/***/ }),
|
|
33122
33122
|
|
|
33123
|
-
/***/
|
|
33123
|
+
/***/ 32:
|
|
33124
33124
|
/***/ (function(module, exports) {
|
|
33125
33125
|
|
|
33126
33126
|
module.exports = require("eoss/lib/option");
|
package/lib/form-editor.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 202);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -227,7 +227,7 @@ module.exports = require("eoss/lib/form-item");
|
|
|
227
227
|
|
|
228
228
|
/***/ }),
|
|
229
229
|
|
|
230
|
-
/***/
|
|
230
|
+
/***/ 202:
|
|
231
231
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
232
232
|
|
|
233
233
|
"use strict";
|
package/lib/form.js
CHANGED
|
@@ -309,7 +309,7 @@ module.exports = require("eoss/lib/icon");
|
|
|
309
309
|
// ESM COMPAT FLAG
|
|
310
310
|
__webpack_require__.r(__webpack_exports__);
|
|
311
311
|
|
|
312
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form.vue?vue&type=template&id=
|
|
312
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form.vue?vue&type=template&id=17d1941f&
|
|
313
313
|
var render = function () {
|
|
314
314
|
var _vm = this
|
|
315
315
|
var _h = _vm.$createElement
|
|
@@ -497,14 +497,14 @@ var staticRenderFns = []
|
|
|
497
497
|
render._withStripped = true
|
|
498
498
|
|
|
499
499
|
|
|
500
|
-
// CONCATENATED MODULE: ./packages/form/src/form.vue?vue&type=template&id=
|
|
500
|
+
// CONCATENATED MODULE: ./packages/form/src/form.vue?vue&type=template&id=17d1941f&
|
|
501
501
|
|
|
502
502
|
// EXTERNAL MODULE: external "eoss/lib/utils/merge.js"
|
|
503
503
|
var merge_js_ = __webpack_require__(23);
|
|
504
504
|
var merge_js_default = /*#__PURE__*/__webpack_require__.n(merge_js_);
|
|
505
505
|
|
|
506
506
|
// EXTERNAL MODULE: external "eoss/lib/utils/scrollbar.js"
|
|
507
|
-
var scrollbar_js_ = __webpack_require__(
|
|
507
|
+
var scrollbar_js_ = __webpack_require__(33);
|
|
508
508
|
|
|
509
509
|
// EXTERNAL MODULE: external "throttle-debounce"
|
|
510
510
|
var external_throttle_debounce_ = __webpack_require__(13);
|
|
@@ -2507,11 +2507,12 @@ var win = Object(util_js_["getWinTop"])();
|
|
|
2507
2507
|
return this.$refs.scrollbar;
|
|
2508
2508
|
},
|
|
2509
2509
|
|
|
2510
|
-
//
|
|
2510
|
+
// 滚动条样式:只声明滚动方向,原生滚动条由 CSS 隐藏(见 form.scss 的
|
|
2511
|
+
// .es-form-scroll),它不占位,也就不需要再按条宽加宽容器——那样在浏览器
|
|
2512
|
+
// 缩放时量到的 15px 和实际渲染宽度对不上,容器右侧会露出一条灰边
|
|
2511
2513
|
scrollStyle: function scrollStyle() {
|
|
2512
2514
|
if (!this.inline && !this.accordion) {
|
|
2513
|
-
|
|
2514
|
-
return { width: 'calc(100% + ' + barWidth + 'px)', 'overflow-y': 'scroll' };
|
|
2515
|
+
return { 'overflow-y': 'scroll' };
|
|
2515
2516
|
}
|
|
2516
2517
|
return {};
|
|
2517
2518
|
}
|
|
@@ -3249,10 +3250,10 @@ module.exports = require("eoss/lib/checkbox-group");
|
|
|
3249
3250
|
|
|
3250
3251
|
/***/ }),
|
|
3251
3252
|
|
|
3252
|
-
/***/
|
|
3253
|
+
/***/ 29:
|
|
3253
3254
|
/***/ (function(module, exports) {
|
|
3254
3255
|
|
|
3255
|
-
module.exports = require("eoss/lib/
|
|
3256
|
+
module.exports = require("eoss/lib/radio-group");
|
|
3256
3257
|
|
|
3257
3258
|
/***/ }),
|
|
3258
3259
|
|
|
@@ -3263,10 +3264,10 @@ module.exports = require("eoss/lib/utils/ajax.js");
|
|
|
3263
3264
|
|
|
3264
3265
|
/***/ }),
|
|
3265
3266
|
|
|
3266
|
-
/***/
|
|
3267
|
+
/***/ 33:
|
|
3267
3268
|
/***/ (function(module, exports) {
|
|
3268
3269
|
|
|
3269
|
-
module.exports = require("eoss/lib/
|
|
3270
|
+
module.exports = require("eoss/lib/utils/scrollbar.js");
|
|
3270
3271
|
|
|
3271
3272
|
/***/ }),
|
|
3272
3273
|
|
|
@@ -3430,7 +3431,7 @@ var input_number_ = __webpack_require__(40);
|
|
|
3430
3431
|
var input_number_default = /*#__PURE__*/__webpack_require__.n(input_number_);
|
|
3431
3432
|
|
|
3432
3433
|
// EXTERNAL MODULE: external "eoss/lib/radio-group"
|
|
3433
|
-
var radio_group_ = __webpack_require__(
|
|
3434
|
+
var radio_group_ = __webpack_require__(29);
|
|
3434
3435
|
var radio_group_default = /*#__PURE__*/__webpack_require__.n(radio_group_);
|
|
3435
3436
|
|
|
3436
3437
|
// EXTERNAL MODULE: external "eoss/lib/checkbox-group"
|
package/lib/guide.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 211);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -199,7 +199,7 @@ module.exports = require("vue");
|
|
|
199
199
|
|
|
200
200
|
/***/ }),
|
|
201
201
|
|
|
202
|
-
/***/
|
|
202
|
+
/***/ 211:
|
|
203
203
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
204
204
|
|
|
205
205
|
"use strict";
|
package/lib/icons.js
CHANGED
|
@@ -227,7 +227,7 @@ module.exports = require("eoss/lib/dialog");
|
|
|
227
227
|
// ESM COMPAT FLAG
|
|
228
228
|
__webpack_require__.r(__webpack_exports__);
|
|
229
229
|
|
|
230
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/icons/src/icons.vue?vue&type=template&id=
|
|
230
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/icons/src/icons.vue?vue&type=template&id=40e06ef0&
|
|
231
231
|
var render = function () {
|
|
232
232
|
var _vm = this
|
|
233
233
|
var _h = _vm.$createElement
|
|
@@ -357,7 +357,7 @@ var staticRenderFns = []
|
|
|
357
357
|
render._withStripped = true
|
|
358
358
|
|
|
359
359
|
|
|
360
|
-
// CONCATENATED MODULE: ./packages/icons/src/icons.vue?vue&type=template&id=
|
|
360
|
+
// CONCATENATED MODULE: ./packages/icons/src/icons.vue?vue&type=template&id=40e06ef0&
|
|
361
361
|
|
|
362
362
|
// CONCATENATED MODULE: ./packages/icons/src/icon.js
|
|
363
363
|
/* harmony default export */ var icon = ([{
|
|
@@ -3063,7 +3063,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
3063
3063
|
}
|
|
3064
3064
|
|
|
3065
3065
|
var keyword = newVal.toLowerCase();
|
|
3066
|
-
this.filteredIconsList = this.
|
|
3066
|
+
this.filteredIconsList = this.filterIcons(keyword);
|
|
3067
3067
|
}),
|
|
3068
3068
|
immediate: true
|
|
3069
3069
|
}
|
|
@@ -3084,7 +3084,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
3084
3084
|
* @param {string} keyword - 搜索关键词
|
|
3085
3085
|
* @returns {Array} 过滤后的图标列表
|
|
3086
3086
|
*/
|
|
3087
|
-
|
|
3087
|
+
filterIcons: function filterIcons(keyword) {
|
|
3088
3088
|
var _this = this;
|
|
3089
3089
|
|
|
3090
3090
|
return this.allIcons.filter(function (name) {
|