@v2coding/ui 0.1.35 → 0.1.37

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.
@@ -1862,13 +1862,18 @@ var FieldMixin = {
1862
1862
  this.$emit('ready');
1863
1863
  },
1864
1864
 
1865
- emitChange() {
1865
+ async emitChange() {
1866
1866
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1867
1867
  args[_key] = arguments[_key];
1868
1868
  }
1869
1869
 
1870
1870
  this.$emit('input', ...args);
1871
1871
  this.$emit('change', ...args);
1872
+ await this.$nextTick();
1873
+
1874
+ if (this.$parent.$options.componentName === 'ElFormItem') {
1875
+ this.$parent.validate('change');
1876
+ }
1872
1877
  },
1873
1878
 
1874
1879
  onChange(val) {
@@ -7731,394 +7736,48 @@ const __vue_component__$g = /*#__PURE__*/normalizeComponent({
7731
7736
 
7732
7737
  var FormDialog = __vue_component__$g;
7733
7738
 
7734
- // 判断参数是否是其中之一
7735
- function oneOf(value, validList) {
7736
- for (let i = 0; i < validList.length; i++) {
7737
- if (value === validList[i]) {
7738
- return true;
7739
- }
7740
- }
7741
-
7742
- return false;
7743
- }
7744
-
7745
- /**
7746
- * Get target DOM Node
7747
- * @param {(Node|string|Boolean)} [node=document.body] DOM Node, CSS selector, or Boolean
7748
- * @return {Node} The target that the el will be appended to
7749
- */
7750
- function getTarget(node) {
7751
- if (node === void 0) {
7752
- node = document.body;
7753
- }
7754
-
7755
- if (node === true) {
7756
- return document.body;
7757
- }
7758
-
7759
- return node instanceof window.Node ? node : document.querySelector(node);
7760
- }
7761
-
7762
- const directive = {
7763
- inserted(el, _ref) {
7764
- let {
7765
- value
7766
- } = _ref;
7767
- if (el.dataset && el.dataset.transfer !== 'true') return false;
7768
- el.className = el.className ? el.className + ' v-transfer-dom' : 'v-transfer-dom';
7769
- const parentNode = el.parentNode;
7770
- if (!parentNode) return;
7771
- const home = document.createComment('');
7772
- let hasMovedOut = false;
7773
-
7774
- if (value !== false) {
7775
- parentNode.replaceChild(home, el); // moving out, el is no longer in the document
7776
-
7777
- getTarget(value).appendChild(el); // moving into new place
7778
-
7779
- hasMovedOut = true;
7780
- }
7781
-
7782
- if (!el.__transferDomData) {
7783
- el.__transferDomData = {
7784
- parentNode: parentNode,
7785
- home: home,
7786
- target: getTarget(value),
7787
- hasMovedOut: hasMovedOut
7788
- };
7789
- }
7790
- },
7791
-
7792
- componentUpdated(el, _ref2) {
7793
- let {
7794
- value
7795
- } = _ref2;
7796
- if (el.dataset && el.dataset.transfer !== 'true') return false; // need to make sure children are done updating (vs. `update`)
7797
-
7798
- const ref$1 = el.__transferDomData;
7799
- if (!ref$1) return; // homes.get(el)
7800
-
7801
- const parentNode = ref$1.parentNode;
7802
- const home = ref$1.home;
7803
- const hasMovedOut = ref$1.hasMovedOut; // recall where home is
7804
-
7805
- if (!hasMovedOut && value) {
7806
- // remove from document and leave placeholder
7807
- parentNode.replaceChild(home, el); // append to target
7808
-
7809
- getTarget(value).appendChild(el);
7810
- el.__transferDomData = Object.assign({}, el.__transferDomData, {
7811
- hasMovedOut: true,
7812
- target: getTarget(value)
7813
- });
7814
- } else if (hasMovedOut && value === false) {
7815
- // previously moved, coming back home
7816
- parentNode.replaceChild(el, home);
7817
- el.__transferDomData = Object.assign({}, el.__transferDomData, {
7818
- hasMovedOut: false,
7819
- target: getTarget(value)
7820
- });
7821
- } else if (value) {
7822
- // already moved, going somewhere else
7823
- getTarget(value).appendChild(el);
7824
- }
7825
- },
7826
-
7827
- unbind(el) {
7828
- if (el.dataset && el.dataset.transfer !== 'true') return false;
7829
- el.className = el.className.replace('v-transfer-dom', '');
7830
- const ref$1 = el.__transferDomData;
7831
- if (!ref$1) return;
7832
-
7833
- if (el.__transferDomData.hasMovedOut === true) {
7834
- el.__transferDomData.parentNode && el.__transferDomData.parentNode.appendChild(el);
7835
- }
7836
-
7837
- el.__transferDomData = null;
7838
- }
7839
-
7840
- };
7841
- var TransferDom = directive;
7842
-
7843
- const on = function () {
7844
- return function (element, event, handler) {
7845
- let useCapture = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
7846
-
7847
- if (element && event && handler) {
7848
- element.addEventListener(event, handler, useCapture);
7849
- }
7850
- };
7851
- }();
7852
- const off = function () {
7853
- return function (element, event, handler) {
7854
- let useCapture = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
7855
-
7856
- if (element && event) {
7857
- element.removeEventListener(event, handler, useCapture);
7858
- }
7859
- };
7860
- }();
7861
-
7862
7739
  //
7863
- const prefixCls = 'ui-drawer';
7740
+ //
7741
+ //
7742
+ //
7743
+ //
7744
+ //
7745
+ //
7746
+ //
7747
+ //
7748
+ //
7749
+ //
7750
+ //
7751
+ //
7864
7752
  var script$f = {
7865
- name: 'UiDrawer',
7866
- directives: {
7867
- TransferDom
7868
- },
7753
+ name: 'ui-drawer',
7754
+ inheritAttrs: false,
7869
7755
  props: {
7870
- value: {
7871
- type: Boolean,
7872
- default: false
7873
- },
7874
- title: {
7875
- type: String
7876
- },
7756
+ value: Boolean,
7757
+ visible: Boolean,
7877
7758
  width: {
7878
7759
  type: [Number, String],
7879
7760
  default: 256
7880
7761
  },
7881
- closable: {
7882
- type: Boolean,
7883
- default: true
7884
- },
7885
- maskClosable: {
7886
- type: Boolean,
7887
- default: true
7888
- },
7889
- mask: {
7890
- type: Boolean,
7891
- default: true
7892
- },
7893
- maskStyle: {
7894
- type: Object
7895
- },
7896
- styles: {
7897
- type: Object
7898
- },
7899
- scrollable: {
7900
- type: Boolean,
7901
- default: false
7902
- },
7903
- placement: {
7904
- validator(value) {
7905
- return oneOf(value, ['left', 'right']);
7906
- },
7907
-
7908
- default: 'right'
7909
- },
7910
- zIndex: {
7911
- type: Number,
7912
- default: 1000
7913
- },
7914
- transfer: {
7915
- type: Boolean,
7916
- default: true
7917
- },
7918
- className: {
7762
+ customClass: {
7919
7763
  type: String
7920
- },
7921
- inner: {
7922
- type: Boolean,
7923
- default: false
7924
- },
7925
- // Whether drag and drop is allowed to adjust width
7926
- draggable: {
7927
- type: Boolean,
7928
- default: false
7929
- },
7930
- beforeClose: Function,
7931
- destroyOnClose: {
7932
- type: Boolean,
7933
- default: true
7934
7764
  }
7935
7765
  },
7936
-
7937
- data() {
7938
- return {
7939
- prefixCls: prefixCls,
7940
- visible: this.value,
7941
- wrapShow: false,
7942
- showHead: true,
7943
- canMove: false,
7944
- dragWidth: this.width,
7945
- wrapperWidth: this.width,
7946
- wrapperLeft: 0,
7947
- minWidth: 256,
7948
- key: 0
7949
- };
7950
- },
7951
-
7952
7766
  computed: {
7953
- wrapClasses() {
7954
- return [`${prefixCls}-wrap`, {
7955
- [`${prefixCls}-hidden`]: !this.wrapShow,
7956
- [`${this.className}`]: !!this.className,
7957
- [`${prefixCls}-no-mask`]: !this.mask,
7958
- [`${prefixCls}-wrap-inner`]: this.inner,
7959
- [`${prefixCls}-wrap-dragging`]: this.canMove
7960
- }];
7961
- },
7962
-
7963
- mainStyles() {
7964
- let style = {};
7965
- const width = parseInt(this.dragWidth);
7966
- const styleWidth = {
7967
- width: width <= 100 ? `${width}%` : `${width}px`
7968
- };
7969
- Object.assign(style, styleWidth);
7970
- return style;
7971
- },
7972
-
7973
- contentClasses() {
7974
- return [`${prefixCls}-content`, {
7975
- [`${prefixCls}-content-no-mask`]: !this.mask
7976
- }];
7977
- },
7978
-
7979
- classes() {
7980
- return [`${prefixCls}`, `${prefixCls}-${this.placement}`, {
7981
- [`${prefixCls}-no-header`]: !this.showHead,
7982
- [`${prefixCls}-inner`]: this.inner
7983
- }];
7767
+ realVisible() {
7768
+ return this.visible || this.value;
7984
7769
  },
7985
7770
 
7986
- maskClasses() {
7987
- return [`${prefixCls}-mask`, {
7988
- [`${prefixCls}-mask-inner`]: this.inner
7989
- }];
7771
+ realCustomClass() {
7772
+ return `ui-drawer ${this.customClass || ''}`;
7990
7773
  }
7991
7774
 
7992
7775
  },
7993
7776
  methods: {
7994
- close() {
7995
- if (!this.beforeClose) {
7996
- return this.handleClose();
7997
- }
7998
-
7999
- const before = this.beforeClose();
8000
-
8001
- if (before && before.then) {
8002
- before.then(() => {
8003
- this.handleClose();
8004
- });
8005
- } else {
8006
- this.handleClose();
8007
- }
8008
- },
8009
-
8010
- handleClose() {
8011
- this.visible = false;
8012
- this.$emit('input', false);
8013
- this.$emit('on-close');
8014
- },
8015
-
8016
- handleMask() {
8017
- if (this.maskClosable && this.mask) {
8018
- this.close();
8019
- }
8020
- },
8021
-
8022
- handleWrapClick(event) {
8023
- // use indexOf,do not use === ,because ivu-modal-wrap can have other custom className
8024
- const className = event.target.getAttribute('class');
8025
- if (className && className.indexOf(`${prefixCls}-wrap`) > -1) this.handleMask();
8026
- },
8027
-
8028
- handleMousemove(event) {
8029
- if (!this.canMove || !this.draggable) return; // 更新容器宽度和距离左侧页面距离,如果是window则距左侧距离为0
8030
-
8031
- this.handleSetWrapperWidth();
8032
- const left = event.pageX - this.wrapperLeft; // 如果抽屉方向为右边,宽度计算需用容器宽度减去left
8033
-
8034
- let width = this.placement === 'right' ? this.wrapperWidth - left : left; // 限定最小宽度
8035
-
8036
- width = Math.max(width, parseFloat(this.minWidth));
8037
- event.atMin = width === parseFloat(this.minWidth); // 如果当前width不大于100,视为百分比
8038
-
8039
- if (width <= 100) width = width / this.wrapperWidth * 100;
8040
- this.dragWidth = width;
8041
- this.$emit('on-resize-width', parseInt(this.dragWidth));
8042
- },
8043
-
8044
- handleSetWrapperWidth() {
8045
- const {
8046
- width,
8047
- left
8048
- } = this.$el.getBoundingClientRect();
8049
- this.wrapperWidth = width;
8050
- this.wrapperLeft = left;
8051
- },
8052
-
8053
- handleMouseup() {
8054
- if (!this.draggable) return;
8055
- this.canMove = false;
8056
- },
8057
-
8058
- handleTriggerMousedown() {
8059
- this.canMove = true; // 防止鼠标选中抽屉中文字,造成拖动trigger触发浏览器原生拖动行为
8060
-
8061
- window.getSelection().removeAllRanges();
8062
- }
8063
-
8064
- },
8065
-
8066
- mounted() {
8067
- if (this.visible) {
8068
- this.wrapShow = true;
8069
- }
8070
-
8071
- let showHead = true;
8072
-
8073
- if (this.$slots.header === undefined && !this.title) {
8074
- showHead = false;
8075
- }
8076
-
8077
- this.showHead = showHead;
8078
- on(document, 'mousemove', this.handleMousemove);
8079
- on(document, 'mouseup', this.handleMouseup);
8080
- this.handleSetWrapperWidth();
8081
- },
8082
-
8083
- beforeDestroy() {
8084
- off(document, 'mousemove', this.handleMousemove);
8085
- off(document, 'mouseup', this.handleMouseup);
8086
- },
8087
-
8088
- watch: {
8089
- value(val) {
8090
- this.visible = val;
8091
-
8092
- if (!val) {
8093
- if (this.destroyOnClose) {
8094
- this.$nextTick(() => {
8095
- this.key++;
8096
- });
8097
- }
8098
- }
8099
- },
8100
-
8101
- visible(val) {
8102
- if (val === false) {
8103
- this.timer = setTimeout(() => {
8104
- this.wrapShow = false;
8105
- }, 300);
8106
- } else {
8107
- if (this.timer) clearTimeout(this.timer);
8108
- this.wrapShow = true;
8109
- }
8110
-
8111
- this.$emit('on-visible-change', val);
8112
- },
8113
-
8114
- title(val) {
8115
- if (this.$slots.header === undefined) {
8116
- this.showHead = !!val;
8117
- }
8118
- },
8119
-
8120
- width(val) {
8121
- this.dragWidth = val;
7777
+ onUpdateVisible(visible) {
7778
+ this.$emit('input', visible);
7779
+ this.$emit('change', visible);
7780
+ this.$emit('on-visible-change', visible);
8122
7781
  }
8123
7782
 
8124
7783
  }
@@ -8135,85 +7794,16 @@ var __vue_render__$e = function () {
8135
7794
 
8136
7795
  var _c = _vm._self._c || _h;
8137
7796
 
8138
- return _c('div', {
8139
- directives: [{
8140
- name: "transfer-dom",
8141
- rawName: "v-transfer-dom"
8142
- }],
8143
- attrs: {
8144
- "data-transfer": _vm.transfer
8145
- }
8146
- }, [_c('transition', {
7797
+ return _c('el-drawer', _vm._g(_vm._b({
8147
7798
  attrs: {
8148
- "name": "fade"
8149
- }
8150
- }, [_vm.mask ? _c('div', {
8151
- directives: [{
8152
- name: "show",
8153
- rawName: "v-show",
8154
- value: _vm.visible,
8155
- expression: "visible"
8156
- }],
8157
- class: _vm.maskClasses,
8158
- style: _vm.maskStyle,
8159
- on: {
8160
- "click": _vm.handleMask
8161
- }
8162
- }) : _vm._e()]), _vm._v(" "), _c('div', {
8163
- class: _vm.wrapClasses,
8164
- on: {
8165
- "click": _vm.handleWrapClick
8166
- }
8167
- }, [_c('transition', {
8168
- attrs: {
8169
- "name": 'move-' + _vm.placement
8170
- }
8171
- }, [_c('div', {
8172
- directives: [{
8173
- name: "show",
8174
- rawName: "v-show",
8175
- value: _vm.visible,
8176
- expression: "visible"
8177
- }],
8178
- class: _vm.classes,
8179
- style: _vm.mainStyles
8180
- }, [_c('div', {
8181
- key: _vm.key,
8182
- ref: "content",
8183
- class: _vm.contentClasses
8184
- }, [_vm.closable ? _c('a', {
8185
- staticClass: "ui-drawer-close",
8186
- on: {
8187
- "click": _vm.close
8188
- }
8189
- }, [_vm._t("close", function () {
8190
- return [_c('i', {
8191
- staticClass: "el-icon-close"
8192
- })];
8193
- })], 2) : _vm._e(), _vm._v(" "), _vm.showHead ? _c('div', {
8194
- class: [_vm.prefixCls + '-header']
8195
- }, [_vm._t("header", function () {
8196
- return [_c('div', {
8197
- class: [_vm.prefixCls + '-header-inner']
8198
- }, [_vm._v(_vm._s(_vm.title))])];
8199
- })], 2) : _vm._e(), _vm._v(" "), _c('div', {
8200
- class: [_vm.prefixCls + '-body'],
8201
- style: _vm.styles
8202
- }, [_vm._t("default")], 2)]), _vm._v(" "), _vm.draggable ? _c('div', {
8203
- staticClass: "ui-drawer-drag",
8204
- class: {
8205
- 'ui-drawer-drag-left': _vm.placement === 'left'
7799
+ "size": _vm.width,
7800
+ "visible": _vm.realVisible,
7801
+ "custom-class": _vm.realCustomClass
8206
7802
  },
8207
7803
  on: {
8208
- "mousedown": _vm.handleTriggerMousedown
7804
+ "update:visible": _vm.onUpdateVisible
8209
7805
  }
8210
- }, [_vm._t("trigger", function () {
8211
- return [_c('div', {
8212
- staticClass: "ui-drawer-drag-move-trigger"
8213
- }, [_c('div', {
8214
- staticClass: "ui-drawer-drag-move-trigger-point"
8215
- }, [_c('i'), _c('i'), _c('i'), _c('i'), _c('i')])])];
8216
- })], 2) : _vm._e()])])], 1)], 1);
7806
+ }, 'el-drawer', _vm.$attrs, false), _vm.$listeners), [_vm._t("default")], 2);
8217
7807
  };
8218
7808
 
8219
7809
  var __vue_staticRenderFns__$e = [];
@@ -8221,8 +7811,8 @@ var __vue_staticRenderFns__$e = [];
8221
7811
 
8222
7812
  const __vue_inject_styles__$f = function (inject) {
8223
7813
  if (!inject) return;
8224
- inject("data-v-7fdf4d98_0", {
8225
- source: ".ui-drawer{width:auto;height:100%;position:fixed;top:0}.ui-drawer-inner{position:absolute}.ui-drawer-left{left:0}.ui-drawer-right{right:0}.ui-drawer-hidden{display:none!important}.ui-drawer-wrap{position:fixed;overflow:auto;top:0;right:0;bottom:0;left:0;z-index:1000;-webkit-overflow-scrolling:touch;outline:0}.ui-drawer-wrap-inner{position:absolute;overflow:hidden}.ui-drawer-wrap-dragging{user-select:none}.ui-drawer-wrap *{-webkit-tap-highlight-color:transparent}.ui-drawer-mask{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(55,55,55,.6);height:100%;z-index:1000}.ui-drawer-mask-hidden{display:none}.ui-drawer-mask-inner{position:absolute}.ui-drawer-content{width:100%;height:100%;position:absolute;top:0;bottom:0;background-color:#fff;border:0;background-clip:padding-box;box-shadow:0 4px 12px rgba(0,0,0,.15)}.ui-drawer-content-no-mask{pointer-events:auto}.ui-drawer-header{border-bottom:1px solid #e8eaec;padding:14px 16px;line-height:1}.ui-drawer-header p,.ui-drawer-header-inner{display:inline-block;width:100%;height:20px;line-height:20px;font-size:16px;color:#17233d;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-drawer-close{z-index:1;font-size:12px;position:absolute;right:15px;top:15px;overflow:hidden;cursor:pointer}.ui-drawer-close .el-icon-close{font-size:20px;color:#999;transition:color .2s ease;position:relative;top:1px}.ui-drawer-close .el-icon-close:hover{color:#444}.ui-drawer-body{width:100%;height:calc(100% - 51px);padding:16px;font-size:14px;line-height:1.5;word-wrap:break-word;position:absolute;overflow:auto;box-sizing:border-box}.ui-drawer-no-header .ui-drawer-body{height:100%}.ui-drawer-no-mask{pointer-events:none}.ui-drawer-no-mask .ui-drawer-drag{pointer-events:auto}.ui-drawer-drag{top:0;height:100%;width:0;position:absolute}.ui-drawer-drag-left{right:0}.ui-drawer-drag-move-trigger{width:8px;height:100px;line-height:100px;position:absolute;top:50%;background:#f3f3f3;transform:translate(-50%,-50%);border-radius:4px/6px;box-shadow:0 0 1px 1px rgba(0,0,0,.2);cursor:col-resize}.ui-drawer-drag-move-trigger-point{display:inline-block;width:50%;transform:translateX(50%)}.ui-drawer-drag-move-trigger-point i{display:block;border-bottom:1px solid silver;padding-bottom:2px}.fade-appear,.fade-enter-active{animation-duration:.15s;animation-fill-mode:both;animation-play-state:paused}.fade-leave-active{animation-duration:.15s;animation-fill-mode:both;animation-play-state:paused}.fade-appear,.fade-enter-active{animation-name:uiFadeInIn;animation-play-state:running}.fade-leave-active{animation-name:uiFadeInOut;animation-play-state:running}.fade-appear,.fade-enter-active{opacity:0;animation-timing-function:linear}.fade-leave-active{animation-timing-function:linear}@keyframes uiFadeIn{0%{opacity:0}100%{opacity:1}}@keyframes ivuFadeOut{0%{opacity:1}100%{opacity:0}}",
7814
+ inject("data-v-f1a8d0b8_0", {
7815
+ source: ".ui-drawer .el-drawer__header{margin:0;padding:14px 16px;height:50px;border-bottom:1px solid #e8eaec;display:flex;flex-direction:row;align-items:center}.ui-drawer .el-drawer__header>span:first-child{color:#17233d}.ui-drawer .el-drawer__body{height:calc(100% - 51px);display:flex;flex-direction:column}",
8226
7816
  map: undefined,
8227
7817
  media: undefined
8228
7818
  });
@@ -8296,20 +7886,6 @@ var script$e = {
8296
7886
  loading: Boolean,
8297
7887
  labelWidth: String,
8298
7888
  labelPosition: String,
8299
- // 是否将抽屉放置于 body 内
8300
- transfer: {
8301
- type: Boolean,
8302
- default: false
8303
- },
8304
- mask: {
8305
- type: Boolean,
8306
- default: true
8307
- },
8308
- // 是否设置抽屉在某个元素内打开,开启此属性时,应当关闭 transfer 属性
8309
- inner: {
8310
- type: Boolean,
8311
- default: true
8312
- },
8313
7889
  disabled: {
8314
7890
  type: Boolean,
8315
7891
  default: undefined
@@ -8472,15 +8048,12 @@ var __vue_render__$d = function () {
8472
8048
 
8473
8049
  return _c('ui-drawer', _vm._g(_vm._b({
8474
8050
  attrs: {
8475
- "class-name": "ui-form-drawer",
8476
- "value": _vm.visible,
8477
- "width": _vm.width,
8478
- "transfer": _vm.transfer,
8479
- "mask": _vm.mask,
8480
- "inner": _vm.inner
8051
+ "custom-class": "ui-form-drawer",
8052
+ "visible": _vm.visible,
8053
+ "width": _vm.width
8481
8054
  },
8482
8055
  on: {
8483
- "on-visible-change": _vm.updateVisible
8056
+ "update:visible": _vm.updateVisible
8484
8057
  }
8485
8058
  }, 'ui-drawer', _vm.$attrs, false), _vm.drawerListeners), [_c('div', {
8486
8059
  directives: [{
@@ -8529,8 +8102,8 @@ var __vue_staticRenderFns__$d = [];
8529
8102
 
8530
8103
  const __vue_inject_styles__$e = function (inject) {
8531
8104
  if (!inject) return;
8532
- inject("data-v-50eb65dc_0", {
8533
- source: ".ui-form-drawer{display:flex;flex-direction:column;padding:0;outline:0}.ui-form-drawer .ui-drawer-body{flex:1;padding:0;overflow:hidden;display:flex;flex-direction:column}.ui-form-drawer .ui-drawer-body>.el-form{flex:1;overflow:auto}.ui-form-drawer .ui-drawer-body>.action-button{flex:none}.ui-form-drawer .ui-form-drawer-wrapper{flex:1;overflow:hidden}.ui-form-drawer .ui-form-drawer-wrapper .el-form{width:100%;height:100%;overflow:auto;padding:16px;box-sizing:border-box}.ui-form-drawer .action-button{flex:none;padding:16px;border-top:1px solid #e8eaec;display:flex;flex-direction:row-reverse}.ui-form-drawer .action-button button+button{margin-right:16px}.ui-form-drawer .action-button::after{content:'';clear:both}",
8105
+ inject("data-v-168074a3_0", {
8106
+ source: ".ui-form-drawer{display:flex;flex-direction:column;padding:0;outline:0}.ui-form-drawer .el-drawer-body{flex:1;padding:0;overflow:hidden;display:flex;flex-direction:column}.ui-form-drawer .el-drawer-body>.el-form{flex:1;overflow:auto}.ui-form-drawer .el-drawer-body>.action-button{flex:none}.ui-form-drawer .ui-form-drawer-wrapper{flex:1;overflow:hidden}.ui-form-drawer .ui-form-drawer-wrapper .el-form{width:100%;height:100%;overflow:auto;padding:16px;box-sizing:border-box}.ui-form-drawer .action-button{flex:none;padding:16px;border-top:1px solid #e8eaec;display:flex;flex-direction:row-reverse}.ui-form-drawer .action-button button+button{margin-right:16px}.ui-form-drawer .action-button::after{content:'';clear:both}",
8534
8107
  map: undefined,
8535
8108
  media: undefined
8536
8109
  });