hbte-saas-ui 1.4.1 → 1.4.3
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/hbte-ui.common.js +132 -20
- package/lib/hbte-ui.css +1 -1
- package/lib/hbte-ui.umd.js +132 -20
- package/lib/hbte-ui.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/hbte-ui.umd.js
CHANGED
|
@@ -96,6 +96,25 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
98
98
|
|
|
99
|
+
/***/ "008a":
|
|
100
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
101
|
+
|
|
102
|
+
"use strict";
|
|
103
|
+
__webpack_require__.r(__webpack_exports__);
|
|
104
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b0c0");
|
|
105
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
106
|
+
/* harmony import */ var _src_main_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("9c3d");
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
_src_main_vue__WEBPACK_IMPORTED_MODULE_1__["default"].install = function (Vue) {
|
|
111
|
+
Vue.component(_src_main_vue__WEBPACK_IMPORTED_MODULE_1__["default"].name, _src_main_vue__WEBPACK_IMPORTED_MODULE_1__["default"]);
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
/* harmony default export */ __webpack_exports__["default"] = (_src_main_vue__WEBPACK_IMPORTED_MODULE_1__["default"]);
|
|
115
|
+
|
|
116
|
+
/***/ }),
|
|
117
|
+
|
|
99
118
|
/***/ "00b4":
|
|
100
119
|
/***/ (function(module, exports, __webpack_require__) {
|
|
101
120
|
|
|
@@ -1443,16 +1462,16 @@ if (DESCRIPTORS && MISSED_STICKY) {
|
|
|
1443
1462
|
// ESM COMPAT FLAG
|
|
1444
1463
|
__webpack_require__.r(__webpack_exports__);
|
|
1445
1464
|
|
|
1446
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5b671419-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/top-bar/src/main.vue?vue&type=template&id=
|
|
1447
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"hb-topbar"},[_c('div',{staticClass:"hb-topbar__top"},[_c('div',{staticClass:"hb-topbar__wrap"},[_c('el-dropdown',{attrs:{"trigger":"click"},on:{"command":_vm.handleCommand}},[_c('div',{staticClass:"hb-topbar__block"},[_c('
|
|
1465
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5b671419-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/top-bar/src/main.vue?vue&type=template&id=9ee9db42&
|
|
1466
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"hb-topbar"},[_c('div',{staticClass:"hb-topbar__top"},[_c('div',{staticClass:"hb-topbar__wrap"},[_c('img',{staticClass:"hb-topbar-logo",attrs:{"src":_vm.userInfo.companyLogo || _vm.defaultAvatar.companyLogo,"title":_vm.companyName}}),_c('el-dropdown',{attrs:{"trigger":"click"},on:{"command":_vm.handleCommand}},[_c('div',{staticClass:"hb-topbar__block"},[_c('div',{staticClass:"hb-topbar__company"},[_c('span',{},[_vm._v(_vm._s(_vm.companyNameStr.substring(0, 4))),_c('i',{staticClass:"icon-main-xiajiantou"})])])]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},_vm._l((_vm.companyList),function(item,index){return _c('el-dropdown-item',{key:index,attrs:{"command":item[_vm.companyProps.value]}},[_vm._v(_vm._s(item[_vm.companyProps.label]))])}),1)],1)],1),(false)?undefined:_vm._e()]),_c('div',{staticClass:"hb-topbar__bottom",staticStyle:{"justify-content":"space-between"}},[_c('div',{staticClass:"hb-topbar__bottom--wrapper",staticStyle:{"display":"flex","width":"calc(100vw - 416px)"}},_vm._l((_vm.microRoutes),function(item){return _c('div',{key:item.fullPath,staticClass:"hb-topbar-routetab",class:{
|
|
1448
1467
|
'hb-topbar-routetab--active': item.active,
|
|
1449
1468
|
},attrs:{"title":item.label + item.labelName},on:{"contextmenu":function($event){$event.preventDefault();$event.stopPropagation();return _vm.awakeContextMenu(item, $event)},"click":function($event){return _vm.activeRoute(item)}}},[_c('div',{staticClass:"hb-topbar-routetab__line"}),(item.fullPath === '/micro-platform')?_c('i',{staticClass:"icon-i-yiruku home"}):_vm._e(),_c('div',{staticClass:"hb-topbar-routetab__title"},[_vm._v(" "+_vm._s(item.label + item.labelName)+" ")]),(item.fullPath !== '/micro-platform')?_c('i',{staticClass:"el-icon-close hb-topbar-routetab__close",class:{
|
|
1450
1469
|
active: item.active,
|
|
1451
|
-
},on:{"click":function($event){$event.stopPropagation();return _vm.closeRoute(item)}}}):_vm._e()])}),0),_c('div',{staticClass:"hb-search",staticStyle:{"width":"
|
|
1470
|
+
},on:{"click":function($event){$event.stopPropagation();return _vm.closeRoute(item)}}}):_vm._e()])}),0),_c('div',{staticClass:"hb-search",staticStyle:{"width":"351px"}},[_vm._t("search")],2)]),(_vm.contextMenuFlag && _vm.contextMenu)?_c('div',{staticClass:"hb-topbar__event",style:({ top: _vm.currentTop, left: _vm.currentLeft, zIndex: 10000 })},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.contextMenuRightTab),expression:"contextMenuRightTab"}],staticClass:"hb-topbar-routetab__event",on:{"click":_vm.closeRightTabs}},[_vm._v(" 关闭右侧标签页 ")]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.contextMenuLeftTab),expression:"contextMenuLeftTab"}],staticClass:"hb-topbar-routetab__event",on:{"click":_vm.closeLeftTabs}},[_vm._v(" 关闭左侧标签页 ")]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.contextMenuOtherTab),expression:"contextMenuOtherTab"}],staticClass:"hb-topbar-routetab__event",on:{"click":_vm.closeOtherTabs}},[_vm._v(" 关闭其他标签页 ")])]):_vm._e()])}
|
|
1452
1471
|
var staticRenderFns = []
|
|
1453
1472
|
|
|
1454
1473
|
|
|
1455
|
-
// CONCATENATED MODULE: ./packages/top-bar/src/main.vue?vue&type=template&id=
|
|
1474
|
+
// CONCATENATED MODULE: ./packages/top-bar/src/main.vue?vue&type=template&id=9ee9db42&
|
|
1456
1475
|
|
|
1457
1476
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
1458
1477
|
var objectSpread2 = __webpack_require__("5530");
|
|
@@ -1670,19 +1689,6 @@ var user_logo_default_default = /*#__PURE__*/__webpack_require__.n(user_logo_def
|
|
|
1670
1689
|
//
|
|
1671
1690
|
//
|
|
1672
1691
|
//
|
|
1673
|
-
//
|
|
1674
|
-
//
|
|
1675
|
-
//
|
|
1676
|
-
//
|
|
1677
|
-
//
|
|
1678
|
-
//
|
|
1679
|
-
//
|
|
1680
|
-
//
|
|
1681
|
-
//
|
|
1682
|
-
//
|
|
1683
|
-
//
|
|
1684
|
-
//
|
|
1685
|
-
//
|
|
1686
1692
|
|
|
1687
1693
|
|
|
1688
1694
|
|
|
@@ -20337,6 +20343,7 @@ var map = {
|
|
|
20337
20343
|
"./query-form/src/main.vue": "83d9",
|
|
20338
20344
|
"./select-vague/src/main.vue": "6f0b",
|
|
20339
20345
|
"./svg/src/main.vue": "5b81",
|
|
20346
|
+
"./table-filter/src/main.vue": "9c3d",
|
|
20340
20347
|
"./table/src/main.vue": "4740",
|
|
20341
20348
|
"./tool-group/src/main.vue": "884a",
|
|
20342
20349
|
"./top-bar/src/main.vue": "2ce2"
|
|
@@ -20596,12 +20603,12 @@ module.exports = !fails(function () {
|
|
|
20596
20603
|
// ESM COMPAT FLAG
|
|
20597
20604
|
__webpack_require__.r(__webpack_exports__);
|
|
20598
20605
|
|
|
20599
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5b671419-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=
|
|
20600
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"hb-dialog"},[_c('el-dialog',_vm._g(_vm._b({attrs:{"title":_vm.title,"visible":_vm.visible,"close-on-click-modal":_vm.closeOnClick,"close-on-press-escape":_vm.closeOnEsc,"destroy-on-close":
|
|
20606
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5b671419-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=182be726&
|
|
20607
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"hb-dialog"},[_c('el-dialog',_vm._g(_vm._b({attrs:{"title":_vm.title,"visible":_vm.visible,"close-on-click-modal":_vm.closeOnClick,"close-on-press-escape":_vm.closeOnEsc,"destroy-on-close":_vm.destroyOnClose},on:{"update:visible":function($event){_vm.visible=$event},"close":_vm.onClose,"closed":_vm.onClosed}},'el-dialog',_vm.$attrs,false),_vm.$listeners),[_c('div',{staticClass:"content hb-dialog__wrapper"},[_vm._t("before"),(_vm.formData)?_c('el-form',{ref:"ruleForm",staticClass:"form-wrapper",attrs:{"model":_vm.formData,"rules":_vm.rules,"label-width":_vm.labelWidth,"label-position":_vm.labelPosition}},[_vm._t("form")],2):_vm._e(),_vm._t("normal"),_vm._t("after")],2),_vm._t("bottom"),(_vm.showFooter)?_c('div',{staticClass:"default-footer-btn-wrapper flex-end hb-dialog__footer-btn",attrs:{"slot":"footer"},slot:"footer"},[_vm._t("dialogFooter",function(){return [_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.footerText.exist),expression:"footerText.exist"}],staticClass:"exist-btn",attrs:{"size":"small"},on:{"click":function($event){return _vm.close(false, $event)}}},[_vm._v(_vm._s(_vm.footerText.exist))]),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.footerText.confirm),expression:"footerText.confirm"}],staticClass:"confirm-btn",attrs:{"type":"primary","size":"small","loading":_vm.loading},on:{"click":_vm.submit}},[_vm._v(_vm._s(_vm.footerText.confirm))])]})],2):_vm._e()],2)],1)}
|
|
20601
20608
|
var staticRenderFns = []
|
|
20602
20609
|
|
|
20603
20610
|
|
|
20604
|
-
// CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=
|
|
20611
|
+
// CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=182be726&
|
|
20605
20612
|
|
|
20606
20613
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=script&lang=js&
|
|
20607
20614
|
//
|
|
@@ -20719,6 +20726,11 @@ var staticRenderFns = []
|
|
|
20719
20726
|
// 是否显示底部按钮区域
|
|
20720
20727
|
showFooter: {
|
|
20721
20728
|
default: true
|
|
20729
|
+
},
|
|
20730
|
+
destroyOnClose: {
|
|
20731
|
+
default: function _default() {
|
|
20732
|
+
return true;
|
|
20733
|
+
}
|
|
20722
20734
|
}
|
|
20723
20735
|
},
|
|
20724
20736
|
methods: {
|
|
@@ -27679,6 +27691,105 @@ exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P
|
|
|
27679
27691
|
};
|
|
27680
27692
|
|
|
27681
27693
|
|
|
27694
|
+
/***/ }),
|
|
27695
|
+
|
|
27696
|
+
/***/ "9c3d":
|
|
27697
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
27698
|
+
|
|
27699
|
+
"use strict";
|
|
27700
|
+
// ESM COMPAT FLAG
|
|
27701
|
+
__webpack_require__.r(__webpack_exports__);
|
|
27702
|
+
|
|
27703
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5b671419-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/table-filter/src/main.vue?vue&type=template&id=f4e333ba&
|
|
27704
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"hb-table-filter"},_vm._l((_vm.options),function(item,index){return _c('span',{key:index,class:[_vm.value === item[_vm.finallyProps.value] ? 'active' : ''],on:{"click":function($event){return _vm.change(item[_vm.finallyProps.value])}}},[_vm._v(" "+_vm._s(item[_vm.finallyProps.label])+" ")])}),0)}
|
|
27705
|
+
var staticRenderFns = []
|
|
27706
|
+
|
|
27707
|
+
|
|
27708
|
+
// CONCATENATED MODULE: ./packages/table-filter/src/main.vue?vue&type=template&id=f4e333ba&
|
|
27709
|
+
|
|
27710
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
27711
|
+
var es_object_assign = __webpack_require__("cca6");
|
|
27712
|
+
|
|
27713
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/table-filter/src/main.vue?vue&type=script&lang=js&
|
|
27714
|
+
|
|
27715
|
+
//
|
|
27716
|
+
//
|
|
27717
|
+
//
|
|
27718
|
+
//
|
|
27719
|
+
//
|
|
27720
|
+
//
|
|
27721
|
+
//
|
|
27722
|
+
//
|
|
27723
|
+
//
|
|
27724
|
+
//
|
|
27725
|
+
//
|
|
27726
|
+
//
|
|
27727
|
+
/* harmony default export */ var mainvue_type_script_lang_js_ = ({
|
|
27728
|
+
name: "HbTableFilter",
|
|
27729
|
+
componentName: "HbTableFilter",
|
|
27730
|
+
methods: {
|
|
27731
|
+
change: function change(value) {
|
|
27732
|
+
this.$emit("input", value);
|
|
27733
|
+
this.$emit("change");
|
|
27734
|
+
}
|
|
27735
|
+
},
|
|
27736
|
+
props: {
|
|
27737
|
+
value: {
|
|
27738
|
+
required: true
|
|
27739
|
+
},
|
|
27740
|
+
options: {
|
|
27741
|
+
type: Array,
|
|
27742
|
+
default: function _default() {
|
|
27743
|
+
return [];
|
|
27744
|
+
}
|
|
27745
|
+
},
|
|
27746
|
+
defaultProps: {
|
|
27747
|
+
type: Object,
|
|
27748
|
+
default: function _default() {
|
|
27749
|
+
return {
|
|
27750
|
+
label: "label",
|
|
27751
|
+
value: "value"
|
|
27752
|
+
};
|
|
27753
|
+
}
|
|
27754
|
+
}
|
|
27755
|
+
},
|
|
27756
|
+
computed: {
|
|
27757
|
+
finallyProps: function finallyProps() {
|
|
27758
|
+
var props = {
|
|
27759
|
+
label: "label",
|
|
27760
|
+
value: "value"
|
|
27761
|
+
};
|
|
27762
|
+
Object.assign(props, this.defaultProps);
|
|
27763
|
+
return props;
|
|
27764
|
+
}
|
|
27765
|
+
}
|
|
27766
|
+
});
|
|
27767
|
+
// CONCATENATED MODULE: ./packages/table-filter/src/main.vue?vue&type=script&lang=js&
|
|
27768
|
+
/* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_);
|
|
27769
|
+
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
27770
|
+
var componentNormalizer = __webpack_require__("2877");
|
|
27771
|
+
|
|
27772
|
+
// CONCATENATED MODULE: ./packages/table-filter/src/main.vue
|
|
27773
|
+
|
|
27774
|
+
|
|
27775
|
+
|
|
27776
|
+
|
|
27777
|
+
|
|
27778
|
+
/* normalize component */
|
|
27779
|
+
|
|
27780
|
+
var component = Object(componentNormalizer["a" /* default */])(
|
|
27781
|
+
src_mainvue_type_script_lang_js_,
|
|
27782
|
+
render,
|
|
27783
|
+
staticRenderFns,
|
|
27784
|
+
false,
|
|
27785
|
+
null,
|
|
27786
|
+
null,
|
|
27787
|
+
null
|
|
27788
|
+
|
|
27789
|
+
)
|
|
27790
|
+
|
|
27791
|
+
/* harmony default export */ var main = __webpack_exports__["default"] = (component.exports);
|
|
27792
|
+
|
|
27682
27793
|
/***/ }),
|
|
27683
27794
|
|
|
27684
27795
|
/***/ "9d7e":
|
|
@@ -36338,6 +36449,7 @@ var map = {
|
|
|
36338
36449
|
"./query-form/index.js": "53f0",
|
|
36339
36450
|
"./select-vague/index.js": "ffd5",
|
|
36340
36451
|
"./svg/index.js": "bc8e",
|
|
36452
|
+
"./table-filter/index.js": "008a",
|
|
36341
36453
|
"./table/index.js": "4fde",
|
|
36342
36454
|
"./tool-group/index.js": "bf30",
|
|
36343
36455
|
"./top-bar/index.js": "da15"
|