nubomed-ui 2.0.69 → 2.0.71
Sign up to get free protection for your applications and to get access to all the features.
- package/nubomed-ui.common.js +13 -19
- package/nubomed-ui.common.js.map +1 -1
- package/nubomed-ui.umd.js +13 -19
- package/nubomed-ui.umd.js.map +1 -1
- package/nubomed-ui.umd.min.js +1 -1
- package/nubomed-ui.umd.min.js.map +1 -1
- package/package.json +2 -2
package/nubomed-ui.umd.js
CHANGED
@@ -3991,7 +3991,7 @@ src.install = function (Vue) {
|
|
3991
3991
|
|
3992
3992
|
/***/ }),
|
3993
3993
|
|
3994
|
-
/***/
|
3994
|
+
/***/ 1206:
|
3995
3995
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
3996
3996
|
|
3997
3997
|
"use strict";
|
@@ -4003,8 +4003,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
4003
4003
|
"default": function() { return /* binding */ NBToggleCate; }
|
4004
4004
|
});
|
4005
4005
|
|
4006
|
-
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBToggleCate/src/index.vue?vue&type=template&id=
|
4007
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-toggle-cate",class:_vm.getCateClassList,on:{"click":function($event){$event.stopPropagation();return _vm.handleToggle(_vm.item)}}},[_c('div',{staticClass:"nb-toggle-cate__left"},[
|
4006
|
+
;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBToggleCate/src/index.vue?vue&type=template&id=348ae4ea&scoped=true
|
4007
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-toggle-cate",class:_vm.getCateClassList,on:{"click":function($event){$event.stopPropagation();return _vm.handleToggle(_vm.item)}}},[_c('div',{staticClass:"nb-toggle-cate__left"},[_c('nb-icon',{staticClass:"cate__toggle",attrs:{"icon":_vm.item.toggle ? 'caret-down' : 'caret-right'}}),(_vm.type === 1)?_c('el-radio',{staticClass:"cate__radio",attrs:{"value":_vm.value,"label":_vm.item[_vm.optionProps.name]},on:{"update:value":function($event){_vm.value=$event},"change":_vm.handleChangeRadio}}):_vm._e(),(_vm.type === 2)?_c('el-checkbox',{staticClass:"cate__checkbox",attrs:{"indeterminate":_vm.item.indeterminate},on:{"change":function($event){return _vm.handleChangeCheckbox($event, _vm.item)}},model:{value:(_vm.item.checked),callback:function ($$v) {_vm.$set(_vm.item, "checked", $$v)},expression:"item.checked"}}):_vm._e(),_c('nb-icon',{staticClass:"cate__icon",attrs:{"icon":_vm.item[_vm.optionProps.icon]}}),_c('strong',{staticClass:"cate__name"},[_vm._v(_vm._s(_vm.item[_vm.optionProps.text] || '- -'))]),(_vm.optionProps.date && _vm.item[_vm.optionProps.date])?_c('span',{staticClass:"cate__date"},[_vm._v(_vm._s(_vm.item[_vm.optionProps.date]))]):_vm._e(),(_vm.optionProps.tips && _vm.item[_vm.optionProps.tips])?_c('span',{staticClass:"cate__tips"},[_vm._v(_vm._s(_vm.item[_vm.optionProps.tips]))]):_vm._e(),_vm._t("left",null,{"item":_vm.item})],2),_vm._t("default")],2)}
|
4008
4008
|
var staticRenderFns = []
|
4009
4009
|
|
4010
4010
|
|
@@ -4083,11 +4083,6 @@ var es_array_push = __webpack_require__(4114);
|
|
4083
4083
|
type: {
|
4084
4084
|
type: Number,
|
4085
4085
|
default: 0
|
4086
|
-
},
|
4087
|
-
// 是否显示toggle箭头
|
4088
|
-
showToggle: {
|
4089
|
-
type: Boolean,
|
4090
|
-
default: true
|
4091
4086
|
}
|
4092
4087
|
},
|
4093
4088
|
data() {
|
@@ -4120,9 +4115,7 @@ var es_array_push = __webpack_require__(4114);
|
|
4120
4115
|
methods: {
|
4121
4116
|
// 展开
|
4122
4117
|
handleToggle(item) {
|
4123
|
-
|
4124
|
-
item.toggle = !item.toggle;
|
4125
|
-
}
|
4118
|
+
item.toggle = !item.toggle;
|
4126
4119
|
},
|
4127
4120
|
// 勾选单选框
|
4128
4121
|
handleChangeRadio() {
|
@@ -4152,7 +4145,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
4152
4145
|
staticRenderFns,
|
4153
4146
|
false,
|
4154
4147
|
null,
|
4155
|
-
"
|
4148
|
+
"348ae4ea",
|
4156
4149
|
null
|
4157
4150
|
|
4158
4151
|
)
|
@@ -4690,7 +4683,7 @@ var map = {
|
|
4690
4683
|
"./NBSummaryBar/index.js": 6168,
|
4691
4684
|
"./NBTabs/index.js": 5434,
|
4692
4685
|
"./NBTag/index.js": 8681,
|
4693
|
-
"./NBToggleCate/index.js":
|
4686
|
+
"./NBToggleCate/index.js": 1206,
|
4694
4687
|
"./NBVersionDialog/index.js": 5555
|
4695
4688
|
};
|
4696
4689
|
|
@@ -7531,7 +7524,7 @@ var locale = __webpack_require__(7294);
|
|
7531
7524
|
/*
|
7532
7525
|
* @Author: chenghuan.dong
|
7533
7526
|
* @Date: 2024-11-08 17:23:47
|
7534
|
-
* @LastEditTime: 2024-11-21
|
7527
|
+
* @LastEditTime: 2024-11-21 16:51:44
|
7535
7528
|
* @LastEditors: chenghuan.dong
|
7536
7529
|
* @Description: 主index.js导出全部组件
|
7537
7530
|
* @FilePath: \nubomed-ui\packages\index.js
|
@@ -7557,11 +7550,12 @@ const install = function (Vue, options = {}) {
|
|
7557
7550
|
components.forEach(component => {
|
7558
7551
|
const name = 'nb-' + camelToKebab(component.name.slice(2));
|
7559
7552
|
const installNames = ['nb-icon', 'nb-tag', 'nb-badge', 'nb-empty', 'nb-radio-group', 'nb-checkbox-group', 'nb-header', 'nb-summary-bar', 'nb-header', 'nb-tabs', 'nb-pagination', 'nb-progress', 'nb-dialog', 'nb-fullscreen-dialog', 'nb-out-footer-dialog', 'nb-message-dialog', 'nb-sidebar-nav-group', 'nb-sidebar-nav', 'nb-expiry-icon', 'nb-reagent-type', 'nb-cabinet-inventory-carousel', 'nb-version-dialog', 'nb-barcode-review-dialog', 'nb-toggle-cate', 'nb-name-spec-card', 'nb-barcode-card'];
|
7560
|
-
if (installNames.includes(name)) {
|
7561
|
-
|
7562
|
-
} else {
|
7563
|
-
|
7564
|
-
}
|
7553
|
+
// if (installNames.includes(name)) {
|
7554
|
+
// console.log('%c' + '√ ' + name, 'color: #00A572;')
|
7555
|
+
// } else {
|
7556
|
+
// console.log('? ' + name)
|
7557
|
+
// }
|
7558
|
+
|
7565
7559
|
if (installNames.includes(name)) {
|
7566
7560
|
Vue.component('nb-' + camelToKebab(component.name.slice(2)), component);
|
7567
7561
|
}
|