el-plus 0.0.63 → 0.0.64
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/CHANGELOG.md +6 -0
- package/dist/index.css +1 -1
- package/dist/index.full.js +14 -3
- package/dist/index.full.min.js +3 -3
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +3 -3
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +14 -3
- package/es/hooks/dialog/use-form-dialog.mjs +12 -1
- package/es/hooks/dialog/use-form-dialog.mjs.map +1 -1
- package/es/package.json.mjs +1 -1
- package/lib/hooks/dialog/use-form-dialog.js +12 -1
- package/lib/hooks/dialog/use-form-dialog.js.map +1 -1
- package/lib/package.json.js +1 -1
- package/package.json +1 -1
- package/theme-chalk/custom-column.css +1 -1
- package/theme-chalk/dialog.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/custom-column.scss +23 -2
- package/theme-chalk/src/dialog.scss +2 -2
- package/theme-chalk/src/table.scss +4 -3
- package/theme-chalk/table.css +1 -1
package/dist/index.full.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! ElPlus v0.0.
|
|
1
|
+
/*! ElPlus v0.0.64 */
|
|
2
2
|
|
|
3
3
|
import { useAttrs, getCurrentInstance, inject, provide, ref, nextTick, defineComponent, computed, createVNode, Fragment, withDirectives, resolveComponent, mergeProps, resolveDirective, useTemplateRef, createTextVNode, h, mergeModels, useModel, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createCommentVNode, withCtx, renderSlot, renderList, createBlock, vShow, toDisplayString, reactive, useSlots, watch, onMounted, createSlots, normalizeProps, guardReactiveProps, markRaw, Transition, shallowReactive, isVNode, render, createElementVNode, toRaw } from 'vue';
|
|
4
4
|
import { buttonProps, useLocale as useLocale$1, ElLoading, ElMessage, ElMessageBox, formProps as formProps$1, formEmits as formEmits$1, ElTooltip, formItemProps as formItemProps$1, ElFormItem, ElForm, ElRow, ElCol, inputProps as inputProps$1, inputEmits as inputEmits$1, configProviderContextKey, ElConfigProvider, ElDialog, ElButton, ElTable, ElIcon, selectProps as selectProps$1, selectEmits as selectEmits$1, ElPageHeader, datePickerProps, linkProps as linkProps$1, ElSkeleton } from 'element-plus';
|
|
@@ -1919,7 +1919,7 @@ const useFormDialog = (options = {}) => {
|
|
|
1919
1919
|
const formRef = ref();
|
|
1920
1920
|
const isUseComFormData = !formProps.formData;
|
|
1921
1921
|
let formData;
|
|
1922
|
-
|
|
1922
|
+
const Dialog = useDialog({
|
|
1923
1923
|
class: bem$2.b(),
|
|
1924
1924
|
width,
|
|
1925
1925
|
title,
|
|
@@ -1950,6 +1950,17 @@ const useFormDialog = (options = {}) => {
|
|
|
1950
1950
|
},
|
|
1951
1951
|
...dialogProps
|
|
1952
1952
|
});
|
|
1953
|
+
const open = Dialog.open;
|
|
1954
|
+
Dialog.open = async (...args) => {
|
|
1955
|
+
if (!dialogProps?.destroyOnClose) {
|
|
1956
|
+
setTimeout(() => {
|
|
1957
|
+
formRef.value?.clearValidate();
|
|
1958
|
+
}, 0);
|
|
1959
|
+
}
|
|
1960
|
+
const res = await open(...args);
|
|
1961
|
+
return res;
|
|
1962
|
+
};
|
|
1963
|
+
return Dialog;
|
|
1953
1964
|
};
|
|
1954
1965
|
|
|
1955
1966
|
const useTable$1 = (props) => {
|
|
@@ -4196,7 +4207,7 @@ var components = [
|
|
|
4196
4207
|
EpUniVue
|
|
4197
4208
|
];
|
|
4198
4209
|
|
|
4199
|
-
var version = "0.0.
|
|
4210
|
+
var version = "0.0.64";
|
|
4200
4211
|
|
|
4201
4212
|
var globalProperties = {
|
|
4202
4213
|
install(app) {
|
|
@@ -16,7 +16,7 @@ const useFormDialog = (options = {}) => {
|
|
|
16
16
|
const formRef = ref();
|
|
17
17
|
const isUseComFormData = !formProps.formData;
|
|
18
18
|
let formData;
|
|
19
|
-
|
|
19
|
+
const Dialog = useDialog({
|
|
20
20
|
class: bem.b(),
|
|
21
21
|
width,
|
|
22
22
|
title,
|
|
@@ -47,6 +47,17 @@ const useFormDialog = (options = {}) => {
|
|
|
47
47
|
},
|
|
48
48
|
...dialogProps
|
|
49
49
|
});
|
|
50
|
+
const open = Dialog.open;
|
|
51
|
+
Dialog.open = async (...args) => {
|
|
52
|
+
if (!dialogProps?.destroyOnClose) {
|
|
53
|
+
setTimeout(() => {
|
|
54
|
+
formRef.value?.clearValidate();
|
|
55
|
+
}, 0);
|
|
56
|
+
}
|
|
57
|
+
const res = await open(...args);
|
|
58
|
+
return res;
|
|
59
|
+
};
|
|
60
|
+
return Dialog;
|
|
50
61
|
};
|
|
51
62
|
|
|
52
63
|
export { useFormDialog };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-form-dialog.mjs","sources":["../../../../../packages/hooks/dialog/use-form-dialog.tsx"],"sourcesContent":["import type { DialogOptions } from './use-dialog'\nimport type { FormProps } from '@el-plus/components/form'\nimport EpForm from '@el-plus/components/form'\nimport { createNameSpace } from '@el-plus/utils/bem'\nimport { useDialog } from './use-dialog'\nimport { reactive, ref, toRaw } from 'vue'\nconst bem = createNameSpace('form-dialog')\n\ntype Options = {\n title?: string\n width?: string\n dialogProps?: DialogOptions\n formData?: FormProps['model']\n onBeforeConfirm?: (\n formData: FormProps['model'],\n resolve: (value: FormProps['model']) => void,\n ) => Promise<void>\n onBeforeCancel?: (\n formData: FormProps['model'],\n resolve: (value: string) => void,\n ) => Promise<void>\n} & FormProps\nexport const useFormDialog = (options: Options = {}) => {\n const {\n dialogProps,\n title,\n width = '80%',\n onBeforeConfirm,\n onBeforeCancel,\n ...formProps\n } = options\n const formRef = ref()\n const isUseComFormData = !formProps.formData\n let formData\n
|
|
1
|
+
{"version":3,"file":"use-form-dialog.mjs","sources":["../../../../../packages/hooks/dialog/use-form-dialog.tsx"],"sourcesContent":["import type { DialogOptions } from './use-dialog'\nimport type { FormProps } from '@el-plus/components/form'\nimport EpForm from '@el-plus/components/form'\nimport { createNameSpace } from '@el-plus/utils/bem'\nimport { useDialog } from './use-dialog'\nimport { nextTick, reactive, ref, toRaw } from 'vue'\nconst bem = createNameSpace('form-dialog')\n\ntype Options = {\n title?: string\n width?: string\n dialogProps?: DialogOptions\n formData?: FormProps['model']\n onBeforeConfirm?: (\n formData: FormProps['model'],\n resolve: (value: FormProps['model']) => void,\n ) => Promise<void>\n onBeforeCancel?: (\n formData: FormProps['model'],\n resolve: (value: string) => void,\n ) => Promise<void>\n} & FormProps\nexport const useFormDialog = (options: Options = {}) => {\n const {\n dialogProps,\n title,\n width = '80%',\n onBeforeConfirm,\n onBeforeCancel,\n ...formProps\n } = options\n const formRef = ref()\n const isUseComFormData = !formProps.formData\n let formData\n const Dialog = useDialog({\n class: bem.b(),\n width,\n title,\n render: () => {\n formData = isUseComFormData ? reactive({}) : formProps.formData // eslint-disable-line\n return (\n <EpForm\n ref={formRef}\n v-model={formData}\n {...{\n col: 1,\n 'label-width': 'auto',\n ...formProps,\n }}\n />\n )\n },\n onConfirm: async (resolve) => {\n await formRef.value.validate()\n if (onBeforeConfirm) {\n await onBeforeConfirm(formData, resolve)\n }\n return resolve(formData)\n },\n onCancel: async (resolve) => {\n if (onBeforeCancel) {\n await onBeforeCancel(formData, resolve)\n }\n resolve('cancel')\n },\n ...dialogProps,\n })\n const open = Dialog.open\n Dialog.open = async (...args) => {\n // 清除校验(fix: 不销毁且外面传递formData时, 再次打开校验不清除)\n if (!dialogProps?.destroyOnClose) {\n setTimeout(() => {\n formRef.value?.clearValidate()\n }, 0)\n }\n const res = await open(...args)\n return res\n }\n return Dialog\n}\n"],"names":["bem","createNameSpace","useFormDialog","options","dialogProps","title","width","onBeforeConfirm","onBeforeCancel","formProps","formRef","ref","isUseComFormData","formData","Dialog","useDialog","class","b","render","reactive","_createVNode","EpForm","_mergeProps","$event","col","onConfirm","resolve","value","validate","onCancel","open","args","destroyOnClose","setTimeout","clearValidate","res"],"mappings":";;;;;AAMA,MAAMA,GAAAA,GA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AgB,QAAAA,EAAU,OAAOH,OAAAA,KAAY;AAC3B,MAAA,IAAIlB,cAAAA,EAAgB;AAClB,QAAA,MAAMA,cAAAA,CAAeK,UAAUa,OAAO,CAAA;AAAA,MACxC;AACAA,MAAAA,OAAAA,CAAQ,QAAQ,CAAA;AAAA,IAClB,CAAA;AAAA,IACA,GAAGtB;AAAAA,GACJ,CAAA;AACD,EAAA,MAAM0B,OAAOhB,MAAAA,CAAOgB,IAAAA;AACpBhB,EAAAA,MAAAA,CAAOgB,IAAAA,GAAO,UAAUC,IAAAA,KAAS;AAE/B,IAAA,IAAI,CAAC3B,aAAa4B,cAAAA,EAAgB;AAChCC,MAAAA,UAAAA,CAAW,MAAM;AACfvB,QAAAA,OAAAA,CAAQiB,OAAOO,aAAAA,EAAc;AAAA,MAC/B,GAAG,CAAC,CAAA;AAAA,IACN;AACA,IAAA,MAAMC,GAAAA,GAAM,MAAML,IAAAA,CAAK,GAAGC,IAAI,CAAA;AAC9B,IAAA,OAAOI,GAAAA;AAAAA,EACT,CAAA;AACA,EAAA,OAAOrB,MAAAA;AACT;;;;"}
|
package/es/package.json.mjs
CHANGED
|
@@ -18,7 +18,7 @@ const useFormDialog = (options = {}) => {
|
|
|
18
18
|
const formRef = vue.ref();
|
|
19
19
|
const isUseComFormData = !formProps.formData;
|
|
20
20
|
let formData;
|
|
21
|
-
|
|
21
|
+
const Dialog = useDialog.useDialog({
|
|
22
22
|
class: bem.b(),
|
|
23
23
|
width,
|
|
24
24
|
title,
|
|
@@ -49,6 +49,17 @@ const useFormDialog = (options = {}) => {
|
|
|
49
49
|
},
|
|
50
50
|
...dialogProps
|
|
51
51
|
});
|
|
52
|
+
const open = Dialog.open;
|
|
53
|
+
Dialog.open = async (...args) => {
|
|
54
|
+
if (!dialogProps?.destroyOnClose) {
|
|
55
|
+
setTimeout(() => {
|
|
56
|
+
formRef.value?.clearValidate();
|
|
57
|
+
}, 0);
|
|
58
|
+
}
|
|
59
|
+
const res = await open(...args);
|
|
60
|
+
return res;
|
|
61
|
+
};
|
|
62
|
+
return Dialog;
|
|
52
63
|
};
|
|
53
64
|
|
|
54
65
|
exports.useFormDialog = useFormDialog;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-form-dialog.js","sources":["../../../../../packages/hooks/dialog/use-form-dialog.tsx"],"sourcesContent":["import type { DialogOptions } from './use-dialog'\nimport type { FormProps } from '@el-plus/components/form'\nimport EpForm from '@el-plus/components/form'\nimport { createNameSpace } from '@el-plus/utils/bem'\nimport { useDialog } from './use-dialog'\nimport { reactive, ref, toRaw } from 'vue'\nconst bem = createNameSpace('form-dialog')\n\ntype Options = {\n title?: string\n width?: string\n dialogProps?: DialogOptions\n formData?: FormProps['model']\n onBeforeConfirm?: (\n formData: FormProps['model'],\n resolve: (value: FormProps['model']) => void,\n ) => Promise<void>\n onBeforeCancel?: (\n formData: FormProps['model'],\n resolve: (value: string) => void,\n ) => Promise<void>\n} & FormProps\nexport const useFormDialog = (options: Options = {}) => {\n const {\n dialogProps,\n title,\n width = '80%',\n onBeforeConfirm,\n onBeforeCancel,\n ...formProps\n } = options\n const formRef = ref()\n const isUseComFormData = !formProps.formData\n let formData\n
|
|
1
|
+
{"version":3,"file":"use-form-dialog.js","sources":["../../../../../packages/hooks/dialog/use-form-dialog.tsx"],"sourcesContent":["import type { DialogOptions } from './use-dialog'\nimport type { FormProps } from '@el-plus/components/form'\nimport EpForm from '@el-plus/components/form'\nimport { createNameSpace } from '@el-plus/utils/bem'\nimport { useDialog } from './use-dialog'\nimport { nextTick, reactive, ref, toRaw } from 'vue'\nconst bem = createNameSpace('form-dialog')\n\ntype Options = {\n title?: string\n width?: string\n dialogProps?: DialogOptions\n formData?: FormProps['model']\n onBeforeConfirm?: (\n formData: FormProps['model'],\n resolve: (value: FormProps['model']) => void,\n ) => Promise<void>\n onBeforeCancel?: (\n formData: FormProps['model'],\n resolve: (value: string) => void,\n ) => Promise<void>\n} & FormProps\nexport const useFormDialog = (options: Options = {}) => {\n const {\n dialogProps,\n title,\n width = '80%',\n onBeforeConfirm,\n onBeforeCancel,\n ...formProps\n } = options\n const formRef = ref()\n const isUseComFormData = !formProps.formData\n let formData\n const Dialog = useDialog({\n class: bem.b(),\n width,\n title,\n render: () => {\n formData = isUseComFormData ? reactive({}) : formProps.formData // eslint-disable-line\n return (\n <EpForm\n ref={formRef}\n v-model={formData}\n {...{\n col: 1,\n 'label-width': 'auto',\n ...formProps,\n }}\n />\n )\n },\n onConfirm: async (resolve) => {\n await formRef.value.validate()\n if (onBeforeConfirm) {\n await onBeforeConfirm(formData, resolve)\n }\n return resolve(formData)\n },\n onCancel: async (resolve) => {\n if (onBeforeCancel) {\n await onBeforeCancel(formData, resolve)\n }\n resolve('cancel')\n },\n ...dialogProps,\n })\n const open = Dialog.open\n Dialog.open = async (...args) => {\n // 清除校验(fix: 不销毁且外面传递formData时, 再次打开校验不清除)\n if (!dialogProps?.destroyOnClose) {\n setTimeout(() => {\n formRef.value?.clearValidate()\n }, 0)\n }\n const res = await open(...args)\n return res\n }\n return Dialog\n}\n"],"names":["bem","createNameSpace","useFormDialog","options","dialogProps","title","width","onBeforeConfirm","onBeforeCancel","formProps","formRef","ref","isUseComFormData","formData","Dialog","useDialog","class","b","render","reactive","_createVNode","EpForm","_mergeProps","$event","col","onConfirm","resolve","value","validate","onCancel","open","args","destroyOnClose","setTimeout","clearValidate","res"],"mappings":";;;;;;;AAMA,MAAMA,GAAAA,GAAMC,sBAAgB,aAAa,CAAA;AAgBlC,MAAMC,aAAAA,GAAgBA,CAACC,OAAAA,GAAmB,EAAC,KAAM;AACtD,EAAA,MAAM;AAAA,IACJC,WAAAA;AAAAA,IACAC,KAAAA;AAAAA,IACAC,KAAAA,GAAQ,KAAA;AAAA,IACRC,eAAAA;AAAAA,IACAC,cAAAA;AAAAA,IACA,GAAGC;AAAAA,GACL,GAAIN,OAAAA;AACJ,EAAA,MAAMO,UAAUC,OAAAA,EAAI;AACpB,EAAA,MAAMC,gBAAAA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,UAAUC,IAAAA,KAAS;AAE/B,IAAA,IAAI,CAAC3B,aAAa4B,cAAAA,EAAgB;AAChCC,MAAAA,UAAAA,CAAW,MAAM;AACfvB,QAAAA,OAAAA,CAAQiB,OAAOO,aAAAA,EAAc;AAAA,MAC/B,GAAG,CAAC,CAAA;AAAA,IACN;AACA,IAAA,MAAMC,GAAAA,GAAM,MAAML,IAAAA,CAAK,GAAGC,IAAI,CAAA;AAC9B,IAAA,OAAOI,GAAAA;AAAAA,EACT,CAAA;AACA,EAAA,OAAOrB,MAAAA;AACT;;;;"}
|
package/lib/package.json.js
CHANGED
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.ep-custom-column__dialog .el-dialog__body{text-align:center}.ep-custom-column__dialog .el-transfer{display:inline-block}.ep-custom-column__dialog .el-transfer-panel__footer{border-bottom:0;height:0}.ep-custom-column__dialog .el-transfer-panel{overflow:visible}.ep-custom-column__operate{position:absolute;right:-100%;top:50%;transform:translate(calc(25% -
|
|
1
|
+
.ep-custom-column__dialog .el-dialog__body{text-align:center}.ep-custom-column__dialog .el-transfer{display:inline-block}.ep-custom-column__dialog .el-transfer-panel__footer{border-bottom:0;height:0}.ep-custom-column__dialog .el-transfer-panel{overflow:visible}.ep-custom-column__dialog .el-transfer__buttons button{width:100px}.ep-custom-column__dialog .el-transfer__buttons button span{font-size:13px}.ep-custom-column__operate{position:absolute;right:-100%;top:50%;transform:translate(calc(25% - 12px),32px)}.ep-custom-column__operate button{width:100px}.ep-custom-column__operate button span{font-size:13px}.no-cn__operate{transform:translate(calc(25% - 520px),32px)}
|
package/theme-chalk/dialog.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.ep-template-promise{position:relative;z-index:8888888888888888}.ep-dialog{padding:20px 25px
|
|
1
|
+
.ep-template-promise{position:relative;z-index:8888888888888888}.ep-dialog{padding:20px 25px 30px}.ep-dialog .el-dialog__headerbtn{height:56px}.ep-dialog .el-dialog__headerbtn .el-dialog__close{transform:scale(1.3)}.ep-dialog .el-dialog__header{text-align:center}.ep-dialog .el-dialog__header .el-dialog__title{color:#505050;font-size:16px;font-weight:600;line-height:24px;margin:4px}.ep-dialog .el-dialog__body{padding:25px 0 0}.ep-dialog__footer button{font-size:12px}.ep-choose-dialog__selected-count{color:#409eff;float:left;font-size:16px;line-height:32px}.ep-confirm-dialog{padding-bottom:20px}.ep-confirm-dialog .ep-dialog__footer{padding-top:0}
|
package/theme-chalk/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.fade-enter-active,.fade-leave-active{transition:opacity .3s ease}.fade-enter-from,.fade-leave-to{opacity:0}body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.ep-form{position:relative}.ep-form__fold{bottom:23px;color:#367ef5;cursor:pointer;font-size:14px;position:absolute;right:0;text-align:center;width:70px}.ep-form__fold:hover{text-decoration:underline}.ep-form.is-fold{padding-right:70px}.ep-form .el-form-item--small{margin-bottom:18px}.ep-form .el-form-item--small.is-hide-label .el-form-item__label{display:none}.ep-form .el-form-item--small .el-form-item__label{display:block;height:32px;line-height:32px;overflow:hidden;padding-left:18px;padding-right:6px;text-overflow:ellipsis;white-space:nowrap}.ep-form .el-form-item--small .el-form-item__content{font-size:13px;line-height:32px}.ep-form .el-form-item--small .el-form-item__content .el-input{font-size:13px;height:32px}.ep-form .el-form-item--small .el-form-item__content .el-textarea__inner{font-size:13px!important}.ep-form .el-form-item--small .el-form-item__content .el-select__wrapper{font-size:13px;line-height:32px;min-height:32px}.ep-form .el-form-item--small .el-form-item__content .el-date-editor .el-range-input{font-size:13px}.ep-table__action-buttons{white-space:nowrap}.ep-table .el-table{font-size:13px}.ep-table .el-table .el-table__cell .is-edit{cursor:pointer}.ep-table .el-table .el-table__cell .is-edit:hover{color:#409eff}.ep-table .el-table .el-table__cell .is-edit .el-icon{vertical-align:-2px}.ep-table .el-table .el-table__cell.is-center .el-link{margin:0 auto;text-align:center}.ep-table .el-table .cell{line-height:30px}.ep-table .el-table thead tr th{height:
|
|
1
|
+
.fade-enter-active,.fade-leave-active{transition:opacity .3s ease}.fade-enter-from,.fade-leave-to{opacity:0}body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.ep-form{position:relative}.ep-form__fold{bottom:23px;color:#367ef5;cursor:pointer;font-size:14px;position:absolute;right:0;text-align:center;width:70px}.ep-form__fold:hover{text-decoration:underline}.ep-form.is-fold{padding-right:70px}.ep-form .el-form-item--small{margin-bottom:18px}.ep-form .el-form-item--small.is-hide-label .el-form-item__label{display:none}.ep-form .el-form-item--small .el-form-item__label{display:block;height:32px;line-height:32px;overflow:hidden;padding-left:18px;padding-right:6px;text-overflow:ellipsis;white-space:nowrap}.ep-form .el-form-item--small .el-form-item__content{font-size:13px;line-height:32px}.ep-form .el-form-item--small .el-form-item__content .el-input{font-size:13px;height:32px}.ep-form .el-form-item--small .el-form-item__content .el-textarea__inner{font-size:13px!important}.ep-form .el-form-item--small .el-form-item__content .el-select__wrapper{font-size:13px;line-height:32px;min-height:32px}.ep-form .el-form-item--small .el-form-item__content .el-date-editor .el-range-input{font-size:13px}.ep-table__action-buttons{white-space:nowrap}.ep-table .el-table{font-size:13px}.ep-table .el-table .el-table__cell .is-edit{cursor:pointer}.ep-table .el-table .el-table__cell .is-edit:hover{color:#409eff}.ep-table .el-table .el-table__cell .is-edit .el-icon{vertical-align:-2px}.ep-table .el-table .el-table__cell.is-center .el-link{margin:0 auto;text-align:center}.ep-table .el-table .cell{line-height:30px}.ep-table .el-table thead tr{line-height:35px}.ep-table .el-table thead tr th .cell{line-height:20px}.ep-table .el-table td,.ep-table .el-table th{padding:3px 0}.ep-table .el-form-item__error{position:unset;text-align:left}.ep-table .el-form-item{margin-bottom:0}.ep-table .el-form-item .el-form-item__label{padding:0}.ep-table .el-pagination{margin-top:12px;--el-pagination-font-size:13px}.ep-table .el-pagination .el-select{--el-select-font-size:13px}.ep-table .el-pagination .el-select .el-select__wrapper{font-size:13px}.ep-button{height:32px;padding:9px 15px}.ep-button.el-button--text{padding:0}.ep-button.el-button+.el-button{margin-left:10px}.ep-search-list-page #middle{overflow:hidden}.ep-search-list-page__middle-left{float:left}.ep-search-list-page__middle-left>.el-button{margin:16px 0}.ep-search-list-page__middle-right{float:right}.ep-search-list-page__middle-right .el-button{margin:16px 0}.ep-title__header{line-height:50px;overflow:hidden}.ep-title__title{float:left;font-size:15px;font-weight:500}.ep-title__toggle{color:#409eff;cursor:pointer;display:inline-block;font-size:14px;font-weight:400;margin-left:10px;white-space:nowrap}.ep-title__toggle .el-icon{transition:transform .3s;vertical-align:-2px}.ep-title.is-expanded .ep-title__toggle .el-icon{transform:rotate(-180deg)}.ep-title__buttons{float:right}.ep-title__content{overflow:hidden;transition:max-height .3s ease-in-out}.ep-header{display:flex;margin-bottom:10px}.ep-header .el-page-header .el-page-header__left{margin-right:-10px;margin-top:4px}.ep-template-promise{position:relative;z-index:8888888888888888}.ep-dialog{padding:20px 25px 30px}.ep-dialog .el-dialog__headerbtn{height:56px}.ep-dialog .el-dialog__headerbtn .el-dialog__close{transform:scale(1.3)}.ep-dialog .el-dialog__header{text-align:center}.ep-dialog .el-dialog__header .el-dialog__title{color:#505050;font-size:16px;font-weight:600;line-height:24px;margin:4px}.ep-dialog .el-dialog__body{padding:25px 0 0}.ep-dialog__footer button{font-size:12px}.ep-choose-dialog__selected-count{color:#409eff;float:left;font-size:16px;line-height:32px}.ep-confirm-dialog{padding-bottom:20px}.ep-confirm-dialog .ep-dialog__footer{padding-top:0}.ep-custom-column__dialog .el-dialog__body{text-align:center}.ep-custom-column__dialog .el-transfer{display:inline-block}.ep-custom-column__dialog .el-transfer-panel__footer{border-bottom:0;height:0}.ep-custom-column__dialog .el-transfer-panel{overflow:visible}.ep-custom-column__dialog .el-transfer__buttons button{width:100px}.ep-custom-column__dialog .el-transfer__buttons button span{font-size:13px}.ep-custom-column__operate{position:absolute;right:-100%;top:50%;transform:translate(calc(25% - 12px),32px)}.ep-custom-column__operate button{width:100px}.ep-custom-column__operate button span{font-size:13px}.no-cn__operate{transform:translate(calc(25% - 520px),32px)}.ep-link{font-size:13px}.ep-uni-vue{background:#fff}.ep-uni-vue__skeleton .el-skeleton__item{margin-top:10px}.ep-attachment__dialog--normal{background:none;position:static!important}.ep-attachment__dialog--normal .el-overlay-dialog{position:static}.ep-attachment__dialog--normal .el-overlay-dialog .el-dialog{margin:0;padding:0;width:auto!important}.ep-attachment__dialog--normal .el-overlay-dialog .el-dialog .el-dialog__header{display:none}.ep-attachment__dialog--normal .el-overlay-dialog .el-dialog .el-dialog__body{padding:0}.ep-attachment__handler{height:32px;padding:9px 15px}.ep-attachment__handler.el-button--text{padding:0}
|
|
@@ -20,16 +20,37 @@
|
|
|
20
20
|
overflow: visible;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
.el-transfer__buttons {
|
|
24
|
+
button {
|
|
25
|
+
width: 100px;
|
|
26
|
+
|
|
27
|
+
span {
|
|
28
|
+
font-size: 13px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
23
33
|
}
|
|
24
34
|
|
|
25
35
|
@include e(operate) {
|
|
26
36
|
position: absolute;
|
|
27
37
|
right: -100%;
|
|
28
38
|
top: 50%;
|
|
29
|
-
transform: translate(calc(25% -
|
|
39
|
+
transform: translate(calc(25% - 12px), 32px);
|
|
40
|
+
|
|
41
|
+
button {
|
|
42
|
+
width: 100px;
|
|
30
43
|
|
|
31
|
-
|
|
44
|
+
span {
|
|
45
|
+
font-size: 13px;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
32
48
|
}
|
|
49
|
+
}
|
|
33
50
|
|
|
51
|
+
.no-cn {
|
|
52
|
+
@include e(operate) {
|
|
53
|
+
transform: translate(calc(25% - 520px), 32px);
|
|
34
54
|
|
|
55
|
+
}
|
|
35
56
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
position: relative;
|
|
6
6
|
}
|
|
7
7
|
@include b(dialog) {
|
|
8
|
-
padding: 20px 25px
|
|
8
|
+
padding: 20px 25px 30px;
|
|
9
9
|
|
|
10
10
|
.el-dialog__headerbtn {
|
|
11
11
|
height: 56px;
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
@include e(footer) {
|
|
34
|
-
padding: 14px 0 0 0;
|
|
34
|
+
// padding: 14px 0 0 0;
|
|
35
35
|
// text-align: right;
|
|
36
36
|
|
|
37
37
|
button {
|
package/theme-chalk/table.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.ep-table__action-buttons{white-space:nowrap}.ep-table .el-table{font-size:13px}.ep-table .el-table .el-table__cell .is-edit{cursor:pointer}.ep-table .el-table .el-table__cell .is-edit:hover{color:#409eff}.ep-table .el-table .el-table__cell .is-edit .el-icon{vertical-align:-2px}.ep-table .el-table .el-table__cell.is-center .el-link{margin:0 auto;text-align:center}.ep-table .el-table .cell{line-height:30px}.ep-table .el-table thead tr th{height:
|
|
1
|
+
.ep-table__action-buttons{white-space:nowrap}.ep-table .el-table{font-size:13px}.ep-table .el-table .el-table__cell .is-edit{cursor:pointer}.ep-table .el-table .el-table__cell .is-edit:hover{color:#409eff}.ep-table .el-table .el-table__cell .is-edit .el-icon{vertical-align:-2px}.ep-table .el-table .el-table__cell.is-center .el-link{margin:0 auto;text-align:center}.ep-table .el-table .cell{line-height:30px}.ep-table .el-table thead tr{line-height:35px}.ep-table .el-table thead tr th .cell{line-height:20px}.ep-table .el-table td,.ep-table .el-table th{padding:3px 0}.ep-table .el-form-item__error{position:unset;text-align:left}.ep-table .el-form-item{margin-bottom:0}.ep-table .el-form-item .el-form-item__label{padding:0}.ep-table .el-pagination{margin-top:12px;--el-pagination-font-size:13px}.ep-table .el-pagination .el-select{--el-select-font-size:13px}.ep-table .el-pagination .el-select .el-select__wrapper{font-size:13px}
|