@weitutech/by-components 1.1.99 → 1.1.100
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/by-components.common.js +40 -8
- package/lib/by-components.umd.js +40 -8
- package/lib/by-components.umd.min.js +13 -13
- package/lib/index.css +1 -1
- package/package.json +1 -1
|
@@ -76933,8 +76933,8 @@ var ByTreeSearch_component = normalizeComponent(
|
|
|
76933
76933
|
)
|
|
76934
76934
|
|
|
76935
76935
|
/* harmony default export */ var ByTreeSearch = (ByTreeSearch_component.exports);
|
|
76936
|
-
;// ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ffbc40de-vue-loader-template"}!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/by-dialog/ByDialog.vue?vue&type=template&id=
|
|
76937
|
-
var
|
|
76936
|
+
;// ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ffbc40de-vue-loader-template"}!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/by-dialog/ByDialog.vue?vue&type=template&id=3da494cf
|
|
76937
|
+
var ByDialogvue_type_template_id_3da494cf_render = function render() {
|
|
76938
76938
|
var _vm = this,
|
|
76939
76939
|
_c = _vm._self._c;
|
|
76940
76940
|
return _c('el-dialog', _vm._g(_vm._b({
|
|
@@ -76957,9 +76957,11 @@ var ByDialogvue_type_template_id_75a24552_render = function render() {
|
|
|
76957
76957
|
staticClass: "by-dialog__footer"
|
|
76958
76958
|
}, [_c('div', {
|
|
76959
76959
|
staticClass: "by-dialog__buttons"
|
|
76960
|
-
}, [_vm.
|
|
76960
|
+
}, [_vm.leftButtons.length > 0 ? _c('div', {
|
|
76961
|
+
staticClass: "by-dialog__buttons--left"
|
|
76962
|
+
}, [_vm._l(_vm.leftButtons, function (button, index) {
|
|
76961
76963
|
return [_c('el-button', {
|
|
76962
|
-
key: index
|
|
76964
|
+
key: `left-${index}`,
|
|
76963
76965
|
class: button.class,
|
|
76964
76966
|
style: button.style,
|
|
76965
76967
|
attrs: {
|
|
@@ -76975,11 +76977,33 @@ var ByDialogvue_type_template_id_75a24552_render = function render() {
|
|
|
76975
76977
|
}
|
|
76976
76978
|
}
|
|
76977
76979
|
}, [_vm._v(" " + _vm._s(button.text) + " ")])];
|
|
76978
|
-
})], 2)
|
|
76980
|
+
})], 2) : _vm._e(), _vm.rightButtons.length > 0 ? _c('div', {
|
|
76981
|
+
staticClass: "by-dialog__buttons--right"
|
|
76982
|
+
}, [_vm._l(_vm.rightButtons, function (button, index) {
|
|
76983
|
+
return [_c('el-button', {
|
|
76984
|
+
key: `right-${index}`,
|
|
76985
|
+
class: button.class,
|
|
76986
|
+
style: button.style,
|
|
76987
|
+
attrs: {
|
|
76988
|
+
"type": button.type || 'default',
|
|
76989
|
+
"size": button.size || 'mini',
|
|
76990
|
+
"loading": button.loading,
|
|
76991
|
+
"disabled": button.disabled,
|
|
76992
|
+
"icon": button.icon
|
|
76993
|
+
},
|
|
76994
|
+
on: {
|
|
76995
|
+
"click": function ($event) {
|
|
76996
|
+
return _vm.handleButtonClick(button, index);
|
|
76997
|
+
}
|
|
76998
|
+
}
|
|
76999
|
+
}, [_vm._v(" " + _vm._s(button.text) + " ")])];
|
|
77000
|
+
})], 2) : _vm._e()]), _vm._t("footer")], 2) : _vm._e()]);
|
|
76979
77001
|
};
|
|
76980
|
-
var
|
|
77002
|
+
var ByDialogvue_type_template_id_3da494cf_staticRenderFns = [];
|
|
76981
77003
|
|
|
76982
77004
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/by-dialog/ByDialog.vue?vue&type=script&lang=js
|
|
77005
|
+
|
|
77006
|
+
|
|
76983
77007
|
/* harmony default export */ var ByDialogvue_type_script_lang_js = ({
|
|
76984
77008
|
name: 'ByDialog',
|
|
76985
77009
|
inheritAttrs: false,
|
|
@@ -77066,6 +77090,14 @@ var ByDialogvue_type_template_id_75a24552_staticRenderFns = [];
|
|
|
77066
77090
|
closeOnClickModal: this.closeOnClickModal,
|
|
77067
77091
|
...attrs
|
|
77068
77092
|
};
|
|
77093
|
+
},
|
|
77094
|
+
// 左侧按钮
|
|
77095
|
+
leftButtons() {
|
|
77096
|
+
return this.buttons.filter(button => button.position === 'left');
|
|
77097
|
+
},
|
|
77098
|
+
// 右侧按钮(默认位置,包括未设置position的按钮)
|
|
77099
|
+
rightButtons() {
|
|
77100
|
+
return this.buttons.filter(button => !button.position || button.position === 'right');
|
|
77069
77101
|
}
|
|
77070
77102
|
},
|
|
77071
77103
|
watch: {
|
|
@@ -77116,8 +77148,8 @@ var ByDialogvue_type_template_id_75a24552_staticRenderFns = [];
|
|
|
77116
77148
|
;
|
|
77117
77149
|
var ByDialog_component = normalizeComponent(
|
|
77118
77150
|
by_dialog_ByDialogvue_type_script_lang_js,
|
|
77119
|
-
|
|
77120
|
-
|
|
77151
|
+
ByDialogvue_type_template_id_3da494cf_render,
|
|
77152
|
+
ByDialogvue_type_template_id_3da494cf_staticRenderFns,
|
|
77121
77153
|
false,
|
|
77122
77154
|
null,
|
|
77123
77155
|
null,
|
package/lib/by-components.umd.js
CHANGED
|
@@ -76943,8 +76943,8 @@ var ByTreeSearch_component = normalizeComponent(
|
|
|
76943
76943
|
)
|
|
76944
76944
|
|
|
76945
76945
|
/* harmony default export */ var ByTreeSearch = (ByTreeSearch_component.exports);
|
|
76946
|
-
;// ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ffbc40de-vue-loader-template"}!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/by-dialog/ByDialog.vue?vue&type=template&id=
|
|
76947
|
-
var
|
|
76946
|
+
;// ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ffbc40de-vue-loader-template"}!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/by-dialog/ByDialog.vue?vue&type=template&id=3da494cf
|
|
76947
|
+
var ByDialogvue_type_template_id_3da494cf_render = function render() {
|
|
76948
76948
|
var _vm = this,
|
|
76949
76949
|
_c = _vm._self._c;
|
|
76950
76950
|
return _c('el-dialog', _vm._g(_vm._b({
|
|
@@ -76967,9 +76967,11 @@ var ByDialogvue_type_template_id_75a24552_render = function render() {
|
|
|
76967
76967
|
staticClass: "by-dialog__footer"
|
|
76968
76968
|
}, [_c('div', {
|
|
76969
76969
|
staticClass: "by-dialog__buttons"
|
|
76970
|
-
}, [_vm.
|
|
76970
|
+
}, [_vm.leftButtons.length > 0 ? _c('div', {
|
|
76971
|
+
staticClass: "by-dialog__buttons--left"
|
|
76972
|
+
}, [_vm._l(_vm.leftButtons, function (button, index) {
|
|
76971
76973
|
return [_c('el-button', {
|
|
76972
|
-
key: index
|
|
76974
|
+
key: `left-${index}`,
|
|
76973
76975
|
class: button.class,
|
|
76974
76976
|
style: button.style,
|
|
76975
76977
|
attrs: {
|
|
@@ -76985,11 +76987,33 @@ var ByDialogvue_type_template_id_75a24552_render = function render() {
|
|
|
76985
76987
|
}
|
|
76986
76988
|
}
|
|
76987
76989
|
}, [_vm._v(" " + _vm._s(button.text) + " ")])];
|
|
76988
|
-
})], 2)
|
|
76990
|
+
})], 2) : _vm._e(), _vm.rightButtons.length > 0 ? _c('div', {
|
|
76991
|
+
staticClass: "by-dialog__buttons--right"
|
|
76992
|
+
}, [_vm._l(_vm.rightButtons, function (button, index) {
|
|
76993
|
+
return [_c('el-button', {
|
|
76994
|
+
key: `right-${index}`,
|
|
76995
|
+
class: button.class,
|
|
76996
|
+
style: button.style,
|
|
76997
|
+
attrs: {
|
|
76998
|
+
"type": button.type || 'default',
|
|
76999
|
+
"size": button.size || 'mini',
|
|
77000
|
+
"loading": button.loading,
|
|
77001
|
+
"disabled": button.disabled,
|
|
77002
|
+
"icon": button.icon
|
|
77003
|
+
},
|
|
77004
|
+
on: {
|
|
77005
|
+
"click": function ($event) {
|
|
77006
|
+
return _vm.handleButtonClick(button, index);
|
|
77007
|
+
}
|
|
77008
|
+
}
|
|
77009
|
+
}, [_vm._v(" " + _vm._s(button.text) + " ")])];
|
|
77010
|
+
})], 2) : _vm._e()]), _vm._t("footer")], 2) : _vm._e()]);
|
|
76989
77011
|
};
|
|
76990
|
-
var
|
|
77012
|
+
var ByDialogvue_type_template_id_3da494cf_staticRenderFns = [];
|
|
76991
77013
|
|
|
76992
77014
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/by-dialog/ByDialog.vue?vue&type=script&lang=js
|
|
77015
|
+
|
|
77016
|
+
|
|
76993
77017
|
/* harmony default export */ var ByDialogvue_type_script_lang_js = ({
|
|
76994
77018
|
name: 'ByDialog',
|
|
76995
77019
|
inheritAttrs: false,
|
|
@@ -77076,6 +77100,14 @@ var ByDialogvue_type_template_id_75a24552_staticRenderFns = [];
|
|
|
77076
77100
|
closeOnClickModal: this.closeOnClickModal,
|
|
77077
77101
|
...attrs
|
|
77078
77102
|
};
|
|
77103
|
+
},
|
|
77104
|
+
// 左侧按钮
|
|
77105
|
+
leftButtons() {
|
|
77106
|
+
return this.buttons.filter(button => button.position === 'left');
|
|
77107
|
+
},
|
|
77108
|
+
// 右侧按钮(默认位置,包括未设置position的按钮)
|
|
77109
|
+
rightButtons() {
|
|
77110
|
+
return this.buttons.filter(button => !button.position || button.position === 'right');
|
|
77079
77111
|
}
|
|
77080
77112
|
},
|
|
77081
77113
|
watch: {
|
|
@@ -77126,8 +77158,8 @@ var ByDialogvue_type_template_id_75a24552_staticRenderFns = [];
|
|
|
77126
77158
|
;
|
|
77127
77159
|
var ByDialog_component = normalizeComponent(
|
|
77128
77160
|
by_dialog_ByDialogvue_type_script_lang_js,
|
|
77129
|
-
|
|
77130
|
-
|
|
77161
|
+
ByDialogvue_type_template_id_3da494cf_render,
|
|
77162
|
+
ByDialogvue_type_template_id_3da494cf_staticRenderFns,
|
|
77131
77163
|
false,
|
|
77132
77164
|
null,
|
|
77133
77165
|
null,
|