eoss-ui 0.8.41 → 0.8.42
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/eoss-ui.common.js +191 -159
- package/lib/flow.js +128 -128
- package/lib/index.js +1 -1
- package/lib/main.js +5 -5
- package/lib/selector.js +52 -20
- package/package.json +1 -1
- package/packages/.DS_Store +0 -0
- package/packages/button-group/src/main.vue +346 -346
- package/packages/calogin/.DS_Store +0 -0
- package/packages/calogin/src/main.vue +412 -412
- package/packages/clients/src/main.vue +151 -151
- package/packages/date-picker/.DS_Store +0 -0
- package/packages/date-picker/src/.DS_Store +0 -0
- package/packages/dialog/.DS_Store +0 -0
- package/packages/flow/.DS_Store +0 -0
- package/packages/flow/src/.DS_Store +0 -0
- package/packages/flow/src/component/CustomPreset.vue +326 -326
- package/packages/flow/src/component/FileList.vue +97 -97
- package/packages/flow/src/component/SendMsg.vue +242 -242
- package/packages/flow/src/component/SortFlow.vue +110 -110
- package/packages/flow/src/form.vue +123 -123
- package/packages/flow/src/freeStartFlow.vue +2902 -2902
- package/packages/flow/src/processForm.vue +2032 -2032
- package/packages/flow/src/processReject.vue +323 -323
- package/packages/flow/src/table.vue +58 -58
- package/packages/flow-list/.DS_Store +0 -0
- package/packages/form/.DS_Store +0 -0
- package/packages/form/src/table.vue +1512 -1512
- package/packages/icon/.DS_Store +0 -0
- package/packages/icon/src/main.vue +104 -104
- package/packages/login/.DS_Store +0 -0
- package/packages/login/src/resetPassword.vue +557 -557
- package/packages/main/.DS_Store +0 -0
- package/packages/main/src/.DS_Store +0 -0
- package/packages/main/src/public/online.vue +89 -89
- package/packages/main/src/public/search.vue +464 -464
- package/packages/main/src/public/settings.vue +273 -273
- package/packages/main/src/simplicity/apps.vue +388 -388
- package/packages/main/src/simplicity/avatar.vue +82 -82
- package/packages/main/src/simplicity/handler.vue +158 -158
- package/packages/main/src/simplicity/menu-list.vue +135 -135
- package/packages/main/src/simplicity/message.vue +293 -293
- package/packages/main/src/simplicity/notice.vue +222 -222
- package/packages/main/src/simplicity/sub-menu.vue +276 -276
- package/packages/main/src/simplicity/user.vue +259 -259
- package/packages/main/src/simplicityTop/apps.vue +388 -388
- package/packages/main/src/simplicityTop/avatar.vue +82 -82
- package/packages/main/src/simplicityTop/handler.vue +215 -215
- package/packages/main/src/simplicityTop/lists.vue +84 -84
- package/packages/main/src/simplicityTop/menu-list.vue +135 -135
- package/packages/main/src/simplicityTop/message.vue +293 -293
- package/packages/main/src/simplicityTop/notice.vue +222 -222
- package/packages/main/src/simplicityTop/router-page.vue +45 -45
- package/packages/main/src/simplicityTop/sub-menu.vue +274 -274
- package/packages/main/src/simplicityTop/user.vue +259 -259
- package/packages/menu/.DS_Store +0 -0
- package/packages/nav/src/main.vue +351 -351
- package/packages/select/.DS_Store +0 -0
- package/packages/selector/.DS_Store +0 -0
- package/packages/selector/src/main.vue +36 -17
- package/packages/selector-panel/.DS_Store +0 -0
- package/packages/selector-panel/src/selection.vue +174 -174
- package/packages/switch/src/main.vue +170 -170
- package/packages/theme-chalk/src/.DS_Store +0 -0
- package/packages/theme-chalk/src/data-table.scss +297 -297
- package/packages/theme-chalk/src/handler.scss +148 -148
- package/packages/theme-chalk/src/icon.scss +3452 -3452
- package/packages/theme-chalk/src/login.scss +1006 -1006
- package/packages/theme-chalk/src/main.scss +664 -664
- package/packages/theme-chalk/src/menu.scss +224 -224
- package/packages/theme-chalk/src/simplicity-top.scss +1845 -1845
- package/packages/theme-chalk/src/simplicity.scss +1403 -1403
- package/packages/theme-chalk/src/upload.scss +172 -172
- package/packages/tips/src/main.vue +141 -141
- package/packages/upload/.DS_Store +0 -0
- package/packages/wujie/src/main.vue +146 -146
- package/src/.DS_Store +0 -0
- package/src/index.js +166 -166
- package/src/utils/.DS_Store +0 -0
- package/src/utils/rules.js +18 -18
package/lib/main.js
CHANGED
|
@@ -4769,7 +4769,7 @@ if(false) {}
|
|
|
4769
4769
|
|
|
4770
4770
|
exports = module.exports = __webpack_require__(32)(false);
|
|
4771
4771
|
// Module
|
|
4772
|
-
exports.push([module.i, "\n.es-setting-top-nav-side[data-v-1b15d77c]::before {\
|
|
4772
|
+
exports.push([module.i, "\n.es-setting-top-nav-side[data-v-1b15d77c]::before {\n content: '';\n display: block;\n position: absolute;\n left: 0;\n width: 8px;\n top: 10px;\n bottom: 0;\n z-index: 2;\n background-color: rgb(0, 80, 179);\n}\n", ""]);
|
|
4773
4773
|
|
|
4774
4774
|
|
|
4775
4775
|
|
|
@@ -8370,10 +8370,10 @@ var external_throttle_debounce_ = __webpack_require__(13);
|
|
|
8370
8370
|
this.$emit('click', res);
|
|
8371
8371
|
},
|
|
8372
8372
|
|
|
8373
|
-
/**
|
|
8374
|
-
* @desc:获取气泡提醒
|
|
8375
|
-
* @author huangbo
|
|
8376
|
-
* @date 2024年9月7日
|
|
8373
|
+
/**
|
|
8374
|
+
* @desc:获取气泡提醒
|
|
8375
|
+
* @author huangbo
|
|
8376
|
+
* @date 2024年9月7日
|
|
8377
8377
|
**/
|
|
8378
8378
|
getBadge: function getBadge(res) {
|
|
8379
8379
|
var num = res.tips || 0;
|
package/lib/selector.js
CHANGED
|
@@ -4689,7 +4689,7 @@ module.exports = require("json-bigint");
|
|
|
4689
4689
|
// ESM COMPAT FLAG
|
|
4690
4690
|
__webpack_require__.r(__webpack_exports__);
|
|
4691
4691
|
|
|
4692
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=
|
|
4692
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=060f91c3&
|
|
4693
4693
|
var render = function () {
|
|
4694
4694
|
var _vm = this
|
|
4695
4695
|
var _h = _vm.$createElement
|
|
@@ -4700,16 +4700,29 @@ var render = function () {
|
|
|
4700
4700
|
{
|
|
4701
4701
|
ref: "esSelector",
|
|
4702
4702
|
staticClass: "es-selector",
|
|
4703
|
-
class: { "is-button": _vm.button && !_vm.
|
|
4703
|
+
class: { "is-button": _vm.button && !_vm.isReadonly },
|
|
4704
|
+
on: {
|
|
4705
|
+
click: function ($event) {
|
|
4706
|
+
$event.stopPropagation()
|
|
4707
|
+
return _vm.handleClick($event)
|
|
4708
|
+
},
|
|
4709
|
+
},
|
|
4704
4710
|
},
|
|
4705
4711
|
[
|
|
4706
4712
|
_vm.form
|
|
4707
4713
|
? [
|
|
4708
|
-
_vm.button && !_vm.
|
|
4714
|
+
_vm.button && !_vm.isReadonly
|
|
4709
4715
|
? _c(
|
|
4710
4716
|
"el-button",
|
|
4711
4717
|
_vm._b(
|
|
4712
|
-
{
|
|
4718
|
+
{
|
|
4719
|
+
on: {
|
|
4720
|
+
click: function ($event) {
|
|
4721
|
+
$event.stopPropagation()
|
|
4722
|
+
return _vm.openDialog($event)
|
|
4723
|
+
},
|
|
4724
|
+
},
|
|
4725
|
+
},
|
|
4713
4726
|
"el-button",
|
|
4714
4727
|
_vm.button,
|
|
4715
4728
|
false
|
|
@@ -4724,13 +4737,13 @@ var render = function () {
|
|
|
4724
4737
|
2
|
|
4725
4738
|
)
|
|
4726
4739
|
: [
|
|
4727
|
-
!(_vm.multiple && _vm.
|
|
4740
|
+
!(_vm.multiple && _vm.isReadonly)
|
|
4728
4741
|
? _c(
|
|
4729
4742
|
"el-autocomplete",
|
|
4730
4743
|
{
|
|
4731
4744
|
attrs: {
|
|
4732
4745
|
"value-key": "showname",
|
|
4733
|
-
readonly: _vm.
|
|
4746
|
+
readonly: _vm.isReadonly || !this.isSearch,
|
|
4734
4747
|
"fetch-suggestions": _vm.search,
|
|
4735
4748
|
placeholder: _vm.placeholder,
|
|
4736
4749
|
"trigger-on-focus": false,
|
|
@@ -4749,7 +4762,7 @@ var render = function () {
|
|
|
4749
4762
|
},
|
|
4750
4763
|
},
|
|
4751
4764
|
[
|
|
4752
|
-
!_vm.
|
|
4765
|
+
!_vm.isReadonly
|
|
4753
4766
|
? _c("el-button", {
|
|
4754
4767
|
staticClass: "es-selector-btn",
|
|
4755
4768
|
attrs: {
|
|
@@ -4777,7 +4790,7 @@ var render = function () {
|
|
|
4777
4790
|
ref: "tags",
|
|
4778
4791
|
staticClass: "es-select__tags",
|
|
4779
4792
|
class: {
|
|
4780
|
-
"is-edit": !_vm.
|
|
4793
|
+
"is-edit": !_vm.isReadonly,
|
|
4781
4794
|
"is-show": _vm.selected.length,
|
|
4782
4795
|
},
|
|
4783
4796
|
},
|
|
@@ -4789,7 +4802,7 @@ var render = function () {
|
|
|
4789
4802
|
attrs: {
|
|
4790
4803
|
closable:
|
|
4791
4804
|
!_vm.selectorDisabled &&
|
|
4792
|
-
!_vm.
|
|
4805
|
+
!_vm.isReadonly &&
|
|
4793
4806
|
_vm.selected.length > _vm.min,
|
|
4794
4807
|
type: "info",
|
|
4795
4808
|
"disable-transitions": "",
|
|
@@ -4815,7 +4828,7 @@ var render = function () {
|
|
|
4815
4828
|
],
|
|
4816
4829
|
]
|
|
4817
4830
|
: _vm._e(),
|
|
4818
|
-
!_vm.
|
|
4831
|
+
!_vm.isReadonly
|
|
4819
4832
|
? _c(
|
|
4820
4833
|
"es-dialog",
|
|
4821
4834
|
{
|
|
@@ -4890,7 +4903,7 @@ var staticRenderFns = []
|
|
|
4890
4903
|
render._withStripped = true
|
|
4891
4904
|
|
|
4892
4905
|
|
|
4893
|
-
// CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=
|
|
4906
|
+
// CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=060f91c3&
|
|
4894
4907
|
|
|
4895
4908
|
// EXTERNAL MODULE: ./src/utils/util.js + 1 modules
|
|
4896
4909
|
var util = __webpack_require__(0);
|
|
@@ -4996,6 +5009,13 @@ var external_throttle_debounce_ = __webpack_require__(13);
|
|
|
4996
5009
|
//
|
|
4997
5010
|
//
|
|
4998
5011
|
//
|
|
5012
|
+
//
|
|
5013
|
+
//
|
|
5014
|
+
//
|
|
5015
|
+
//
|
|
5016
|
+
//
|
|
5017
|
+
//
|
|
5018
|
+
//
|
|
4999
5019
|
|
|
5000
5020
|
|
|
5001
5021
|
|
|
@@ -5145,7 +5165,10 @@ var external_throttle_debounce_ = __webpack_require__(13);
|
|
|
5145
5165
|
default: true
|
|
5146
5166
|
},
|
|
5147
5167
|
//弹窗关闭时是否销毁子组件
|
|
5148
|
-
destroyOnClose:
|
|
5168
|
+
destroyOnClose: {
|
|
5169
|
+
type: Boolean,
|
|
5170
|
+
default: true
|
|
5171
|
+
},
|
|
5149
5172
|
//树结构标题
|
|
5150
5173
|
treeTitle: String,
|
|
5151
5174
|
//是否显示切换按钮
|
|
@@ -5153,7 +5176,12 @@ var external_throttle_debounce_ = __webpack_require__(13);
|
|
|
5153
5176
|
type: Boolean,
|
|
5154
5177
|
default: true
|
|
5155
5178
|
},
|
|
5156
|
-
selection: [Array, String]
|
|
5179
|
+
selection: [Array, String],
|
|
5180
|
+
//输入框是否可搜索
|
|
5181
|
+
isSearch: {
|
|
5182
|
+
type: Boolean,
|
|
5183
|
+
default: true
|
|
5184
|
+
}
|
|
5157
5185
|
},
|
|
5158
5186
|
data: function data() {
|
|
5159
5187
|
return {
|
|
@@ -5173,6 +5201,9 @@ var external_throttle_debounce_ = __webpack_require__(13);
|
|
|
5173
5201
|
},
|
|
5174
5202
|
|
|
5175
5203
|
computed: {
|
|
5204
|
+
isReadonly: function isReadonly() {
|
|
5205
|
+
return this.readonly || (this.elForm || {}).readonly;
|
|
5206
|
+
},
|
|
5176
5207
|
isRender: function isRender() {
|
|
5177
5208
|
var useCaseCodes = util["a" /* default */].getStorage('useCaseCodes');
|
|
5178
5209
|
if (useCaseCodes && this.useCaseCode) {
|
|
@@ -5260,11 +5291,6 @@ var external_throttle_debounce_ = __webpack_require__(13);
|
|
|
5260
5291
|
_this2.$refs.reference && (_this2.minWidth = _this2.$refs.reference.$el.children[0].offsetWidth);
|
|
5261
5292
|
});
|
|
5262
5293
|
}
|
|
5263
|
-
if (this.$refs.openDialog) {
|
|
5264
|
-
this.$refs.openDialog.$el.parentNode.addEventListener('click', function () {
|
|
5265
|
-
_this2.openDialog();
|
|
5266
|
-
});
|
|
5267
|
-
}
|
|
5268
5294
|
},
|
|
5269
5295
|
|
|
5270
5296
|
methods: {
|
|
@@ -5295,8 +5321,14 @@ var external_throttle_debounce_ = __webpack_require__(13);
|
|
|
5295
5321
|
getValueKey: function getValueKey(obj) {
|
|
5296
5322
|
return util["a" /* default */].isObject(obj) ? obj[this.valueKey] : obj;
|
|
5297
5323
|
},
|
|
5324
|
+
handleClick: function handleClick() {
|
|
5325
|
+
console.log('handleClick');
|
|
5326
|
+
if (!this.isSearch) {
|
|
5327
|
+
this.openDialog();
|
|
5328
|
+
}
|
|
5329
|
+
},
|
|
5298
5330
|
openDialog: function openDialog() {
|
|
5299
|
-
if (!this.selectorDisabled && !this.
|
|
5331
|
+
if (!this.selectorDisabled && !this.isReadonly && this.select) {
|
|
5300
5332
|
this.visible = true;
|
|
5301
5333
|
}
|
|
5302
5334
|
},
|
|
@@ -5462,7 +5494,7 @@ var external_throttle_debounce_ = __webpack_require__(13);
|
|
|
5462
5494
|
}
|
|
5463
5495
|
}
|
|
5464
5496
|
if (height) {
|
|
5465
|
-
if (_this4.
|
|
5497
|
+
if (_this4.isReadonly) {
|
|
5466
5498
|
_this4.$refs.reference.style.height = height;
|
|
5467
5499
|
} else {
|
|
5468
5500
|
var inputChildNodes = _this4.$refs.reference.$el.childNodes;
|
package/package.json
CHANGED
|
Binary file
|