sone-ui-component-3.2.4 2.1.35 → 2.1.36
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/sone-ui.common.js +13 -7
- package/lib/sone-ui.common.js.map +1 -1
- package/lib/sone-ui.umd.js +13 -7
- package/lib/sone-ui.umd.js.map +1 -1
- package/lib/sone-ui.umd.min.js +2 -2
- package/lib/sone-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/packages/dialog/src/main.vue +6 -0
- package/src/index.js +1 -1
package/lib/sone-ui.common.js
CHANGED
|
@@ -27878,12 +27878,12 @@ mainNoDrag.install = function(Vue) {
|
|
|
27878
27878
|
};
|
|
27879
27879
|
|
|
27880
27880
|
/* harmony default export */ var packages_form = (mainNoDrag);
|
|
27881
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"de981356-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=
|
|
27882
|
-
var
|
|
27883
|
-
var
|
|
27881
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"de981356-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=template&id=427cc793&
|
|
27882
|
+
var mainvue_type_template_id_427cc793_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"sone-dialog",staticStyle:{"position":"relative"}},[_c('el-dialog',{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],class:[_vm.dialogFullScreenState ? 'dialog-full-screen' : ''],attrs:{"before-close":_vm.handleClose,"modal":_vm.modal,"title":_vm.title,"close-on-click-modal":_vm.closeOnClickModal,"append-to-body":_vm.appendToBody,"top":'0',"visible":_vm.dialogVisible,"width":_vm.dialogSize,"custom-class":_vm.customClass},on:{"update:visible":function($event){_vm.dialogVisible=$event}},scopedSlots:_vm._u([{key:"title",fn:function(){return [_vm._t("title")]},proxy:true},{key:"default",fn:function(){return [_vm._t("default"),_vm._t("container"),(_vm.showDialogFullScreen)?_c('div',{staticClass:"dialog-full-screen-btn"},[(_vm.dialogFullScreenState)?[_c('el-tooltip',{attrs:{"effect":"light","content":"退出全屏","placement":"top"}},[_c('el-button',{attrs:{"type":"text","icon":"iconfont icon-fullscreen-exit"},on:{"click":function($event){$event.stopPropagation();return _vm.exitFullScreen.apply(null, arguments)}}})],1)]:[_c('el-tooltip',{attrs:{"effect":"light","content":"全屏","placement":"top"}},[_c('el-button',{attrs:{"type":"text","icon":"iconfont icon-fullscreen"},on:{"click":function($event){$event.stopPropagation();return _vm.fullScreen.apply(null, arguments)}}})],1)]],2):_vm._e()]},proxy:true},{key:"footer",fn:function(){return [(_vm.$slots.footer)?_c('div',{staticClass:"sone-dialog-custom-footer-wrapper"},[_vm._t("footer")],2):[(_vm.showFooter)?[_c('icon-button',{attrs:{"tooltipDisabled":_vm.tooltipDisabled,"content":_vm.cancel,"placement":"top","loading":_vm.loading,"icon":"el-icon-close","iconfont":false},on:{"click":_vm.handleClose}}),_c('icon-button',{attrs:{"tooltipDisabled":_vm.tooltipDisabled,"content":_vm.confirm,"placement":"top","loading":_vm.loading,"icon":"el-icon-check","type":"primary","iconfont":false},on:{"click":_vm.handleConfirm}})]:_vm._e()]]},proxy:true}],null,true)})],1)}
|
|
27883
|
+
var mainvue_type_template_id_427cc793_staticRenderFns = []
|
|
27884
27884
|
|
|
27885
27885
|
|
|
27886
|
-
// CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=
|
|
27886
|
+
// CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=427cc793&
|
|
27887
27887
|
|
|
27888
27888
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=script&lang=js&
|
|
27889
27889
|
//
|
|
@@ -28012,10 +28012,16 @@ var mainvue_type_template_id_8bc26af4_staticRenderFns = []
|
|
|
28012
28012
|
showDialogFullScreen: {
|
|
28013
28013
|
type: Boolean,
|
|
28014
28014
|
default: true,
|
|
28015
|
+
},
|
|
28016
|
+
width: {
|
|
28017
|
+
type: String,
|
|
28018
|
+
default: '',
|
|
28015
28019
|
}
|
|
28016
28020
|
},
|
|
28017
28021
|
computed: {
|
|
28018
28022
|
dialogSize() {
|
|
28023
|
+
if(this.width) return this.width;
|
|
28024
|
+
|
|
28019
28025
|
if (this.size == "mini") {
|
|
28020
28026
|
return "400px";
|
|
28021
28027
|
}
|
|
@@ -28074,8 +28080,8 @@ var mainvue_type_template_id_8bc26af4_staticRenderFns = []
|
|
|
28074
28080
|
|
|
28075
28081
|
var dialog_src_main_component = normalizeComponent(
|
|
28076
28082
|
packages_dialog_src_mainvue_type_script_lang_js_,
|
|
28077
|
-
|
|
28078
|
-
|
|
28083
|
+
mainvue_type_template_id_427cc793_render,
|
|
28084
|
+
mainvue_type_template_id_427cc793_staticRenderFns,
|
|
28079
28085
|
false,
|
|
28080
28086
|
null,
|
|
28081
28087
|
null,
|
|
@@ -37897,7 +37903,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
37897
37903
|
}
|
|
37898
37904
|
|
|
37899
37905
|
/* harmony default export */ var src_0 = ({
|
|
37900
|
-
version: '2.1.
|
|
37906
|
+
version: '2.1.36',
|
|
37901
37907
|
locale: locale.use,
|
|
37902
37908
|
i18n: locale.i18n,
|
|
37903
37909
|
install,
|