@zjhc/ui 0.0.0-stage → 0.1.0
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/LICENSE +51 -0
- package/NOTICE +23 -0
- package/README.md +177 -2
- package/dist/component.d.ts +3 -0
- package/dist/components/autocomplete/index.d.ts +5 -0
- package/dist/components/autocomplete/src/autoComplete.vue.d.ts +511 -0
- package/dist/components/autocomplete/src/autocomplete.d.ts +50 -0
- package/dist/components/collapse-container/index.d.ts +6 -0
- package/dist/components/collapse-container/src/collapseContainer.vue.d.ts +47 -0
- package/dist/components/collapse-container/src/instance.d.ts +2 -0
- package/dist/components/collapse-panel/index.d.ts +6 -0
- package/dist/components/collapse-panel/src/collapsePanel.vue.d.ts +68 -0
- package/dist/components/collapse-panel/src/instance.d.ts +2 -0
- package/dist/components/complex-table/index.d.ts +7 -0
- package/dist/components/complex-table/src/ComplexTable.vue.d.ts +1428 -0
- package/dist/components/complex-table/src/TableOperator.vue.d.ts +41 -0
- package/dist/components/complex-table/src/instance.d.ts +4 -0
- package/dist/components/dialog/index.d.ts +5 -0
- package/dist/components/dialog/src/dialog-content.d.ts +20 -0
- package/dist/components/dialog/src/dialog.d.ts +76 -0
- package/dist/components/dialog/src/dialog.vue.d.ts +456 -0
- package/dist/components/dialog/src/dialogContent.vue.d.ts +74 -0
- package/dist/components/dialog/src/use-dialog.d.ts +23 -0
- package/dist/components/edit-table-column/EditTableColumn.vue.d.ts +79 -0
- package/dist/components/edit-table-column/index.d.ts +6 -0
- package/dist/components/edit-table-column/registerComp.d.ts +3 -0
- package/dist/components/edit-table-column/type.d.ts +14 -0
- package/dist/components/group-container/index.d.ts +6 -0
- package/dist/components/group-container/src/groupContainer.vue.d.ts +43 -0
- package/dist/components/group-container/src/instance.d.ts +2 -0
- package/dist/components/index.d.ts +13 -0
- package/dist/components/loading/index.d.ts +11 -0
- package/dist/components/loading/src/directive.d.ts +13 -0
- package/dist/components/loading/src/loading.d.ts +27 -0
- package/dist/components/loading/src/service.d.ts +3 -0
- package/dist/components/loading/src/types.d.ts +61 -0
- package/dist/components/search-layout/index.d.ts +6 -0
- package/dist/components/search-layout/src/instance.d.ts +2 -0
- package/dist/components/search-layout/src/searchLayout.vue.d.ts +22 -0
- package/dist/components/search-panel/index.d.ts +6 -0
- package/dist/components/search-panel/src/instance.d.ts +2 -0
- package/dist/components/search-panel/src/searchPanel.vue.d.ts +17 -0
- package/dist/components/search-panel-layout/index.d.ts +6 -0
- package/dist/components/search-panel-layout/src/layout.d.ts +95 -0
- package/dist/components/sticky-toolbar/index.d.ts +6 -0
- package/dist/components/sticky-toolbar/src/instance.d.ts +2 -0
- package/dist/components/sticky-toolbar/src/stickyToolbar.vue.d.ts +43 -0
- package/dist/components/switch-mode/index.d.ts +7 -0
- package/dist/components/switch-theme/index.d.ts +7 -0
- package/dist/components/table-toolbar/index.d.ts +7 -0
- package/dist/components/table-toolbar/src/buttonGroup.vue.d.ts +79 -0
- package/dist/components/table-toolbar/src/interface.d.ts +21 -0
- package/dist/components/table-toolbar/src/tableToolbar.vue.d.ts +71 -0
- package/dist/constants/aria.d.ts +17 -0
- package/dist/constants/date.d.ts +3 -0
- package/dist/constants/event.d.ts +3 -0
- package/dist/constants/index.d.ts +5 -0
- package/dist/constants/key.d.ts +1 -0
- package/dist/constants/size.d.ts +7 -0
- package/dist/defaults.d.ts +5 -0
- package/dist/hooks/complex-table/index.d.ts +33 -0
- package/dist/hooks/get-cookie/index.d.ts +4 -0
- package/dist/hooks/index.d.ts +6 -0
- package/dist/hooks/oper-modal/index.d.ts +8 -0
- package/dist/hooks/post-message/index.d.ts +19 -0
- package/dist/hooks/set-theme/index.d.ts +2 -0
- package/dist/hooks/use-draggable-resize/index.d.ts +10 -0
- package/dist/hooks/use-loading/index.d.ts +4 -0
- package/dist/hooks/use-namespace/index.d.ts +20 -0
- package/dist/icons/arrow-down.vue.d.ts +2 -0
- package/dist/icons/arrow-up.vue.d.ts +2 -0
- package/dist/icons/check.vue.d.ts +2 -0
- package/dist/icons/close.vue.d.ts +2 -0
- package/dist/icons/copy-document.vue.d.ts +2 -0
- package/dist/icons/filter.vue.d.ts +2 -0
- package/dist/icons/full-screen.vue.d.ts +2 -0
- package/dist/icons/index.d.ts +9 -0
- package/dist/icons/loading.vue.d.ts +2 -0
- package/dist/icons/minus.vue.d.ts +2 -0
- package/dist/index.cjs +3985 -0
- package/dist/index.css +2661 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.mjs +3985 -0
- package/dist/make-installer.d.ts +5 -0
- package/dist/plugin.d.ts +3 -0
- package/dist/types/enhance/accessory.d.ts +45 -0
- package/dist/types/enhance/biztrace.d.ts +75 -0
- package/dist/types/enhance/form.d.ts +83 -0
- package/dist/types/enhance/heai.d.ts +47 -0
- package/dist/types/enhance/workflow.d.ts +385 -0
- package/dist/types/extension/extension.d.ts +58 -0
- package/dist/types/extension/frame.d.ts +48 -0
- package/dist/types/extension/job.d.ts +36 -0
- package/dist/types/framework/auth.d.ts +38 -0
- package/dist/types/framework/config.d.ts +13 -0
- package/dist/types/framework/core.d.ts +24 -0
- package/dist/types/index.d.ts +11 -0
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/style.d.ts +10 -0
- package/dist/utils/tools/istype.d.ts +11 -0
- package/dist/utils/tools/security.d.ts +2 -0
- package/dist/utils/tools/throw-error.d.ts +1 -0
- package/dist/utils/tools/tree.d.ts +2 -0
- package/dist/utils/vue/index.d.ts +2 -0
- package/dist/utils/vue/install.d.ts +6 -0
- package/dist/utils/vue/shared.d.ts +10 -0
- package/dist/utils/vue/typescript.d.ts +5 -0
- package/dist/version.d.ts +1 -0
- package/package.json +76 -4
- package/theme-chalk/autocomplete.css +144 -0
- package/theme-chalk/base-var.css +1037 -0
- package/theme-chalk/base.css +120 -0
- package/theme-chalk/collapse-container.css +71 -0
- package/theme-chalk/collapse-panel.css +49 -0
- package/theme-chalk/complextable.css +72 -0
- package/theme-chalk/dark.css +134 -0
- package/theme-chalk/dialog.css +0 -0
- package/theme-chalk/document-tables.css +175 -0
- package/theme-chalk/group-container.css +159 -0
- package/theme-chalk/index.css +2661 -0
- package/theme-chalk/loading.css +86 -0
- package/theme-chalk/page.css +34 -0
- package/theme-chalk/pub-class.css +417 -0
- package/theme-chalk/reset.css +152 -0
- package/theme-chalk/search-panel.css +31 -0
- package/theme-chalk/searchlayout.css +125 -0
- package/theme-chalk/src/autocomplete.scss +103 -0
- package/theme-chalk/src/base-var.scss +489 -0
- package/theme-chalk/src/base.scss +1 -0
- package/theme-chalk/src/black/index.scss +4 -0
- package/theme-chalk/src/collapse-container.scss +44 -0
- package/theme-chalk/src/collapse-panel.scss +26 -0
- package/theme-chalk/src/common/var.scss +154 -0
- package/theme-chalk/src/complextable.scss +47 -0
- package/theme-chalk/src/dark/css-vars.scss +35 -0
- package/theme-chalk/src/dark/var.scss +198 -0
- package/theme-chalk/src/dialog.scss +0 -0
- package/theme-chalk/src/document-tables.scss +133 -0
- package/theme-chalk/src/group-container.scss +139 -0
- package/theme-chalk/src/index.scss +17 -0
- package/theme-chalk/src/light/css-vars.scss +4 -0
- package/theme-chalk/src/light/var.scss +158 -0
- package/theme-chalk/src/loading.scss +68 -0
- package/theme-chalk/src/mixins/_var.scss +48 -0
- package/theme-chalk/src/mixins/config.scss +5 -0
- package/theme-chalk/src/mixins/function.scss +133 -0
- package/theme-chalk/src/mixins/mixins.scss +211 -0
- package/theme-chalk/src/page.scss +8 -0
- package/theme-chalk/src/pub-class.scss +127 -0
- package/theme-chalk/src/reset.scss +155 -0
- package/theme-chalk/src/search-panel.scss +10 -0
- package/theme-chalk/src/searchlayout.scss +114 -0
- package/theme-chalk/src/sticky-toolbar.scss +59 -0
- package/theme-chalk/src/table-toolbar.scss +36 -0
- package/theme-chalk/src/var.scss +32 -0
- package/theme-chalk/src/zjhc/alert.scss +16 -0
- package/theme-chalk/src/zjhc/anchor.scss +10 -0
- package/theme-chalk/src/zjhc/autocomplete.scss +11 -0
- package/theme-chalk/src/zjhc/backtop.scss +8 -0
- package/theme-chalk/src/zjhc/breadcrumb.scss +3 -0
- package/theme-chalk/src/zjhc/button.scss +82 -0
- package/theme-chalk/src/zjhc/calendar.scss +5 -0
- package/theme-chalk/src/zjhc/card.scss +5 -0
- package/theme-chalk/src/zjhc/cascader.scss +26 -0
- package/theme-chalk/src/zjhc/checkbox.scss +59 -0
- package/theme-chalk/src/zjhc/collapse.scss +8 -0
- package/theme-chalk/src/zjhc/dateEditor.scss +14 -0
- package/theme-chalk/src/zjhc/descriptions.scss +32 -0
- package/theme-chalk/src/zjhc/dialog.scss +148 -0
- package/theme-chalk/src/zjhc/drawer.scss +4 -0
- package/theme-chalk/src/zjhc/dropdown.scss +16 -0
- package/theme-chalk/src/zjhc/empty.scss +3 -0
- package/theme-chalk/src/zjhc/fontsize.scss +42 -0
- package/theme-chalk/src/zjhc/form.scss +33 -0
- package/theme-chalk/src/zjhc/index.scss +48 -0
- package/theme-chalk/src/zjhc/input.scss +47 -0
- package/theme-chalk/src/zjhc/link.scss +20 -0
- package/theme-chalk/src/zjhc/main.scss +3 -0
- package/theme-chalk/src/zjhc/mention.scss +9 -0
- package/theme-chalk/src/zjhc/menu.scss +0 -0
- package/theme-chalk/src/zjhc/message-box.scss +57 -0
- package/theme-chalk/src/zjhc/message.scss +13 -0
- package/theme-chalk/src/zjhc/notification.scss +4 -0
- package/theme-chalk/src/zjhc/number.scss +9 -0
- package/theme-chalk/src/zjhc/overlay.scss +3 -0
- package/theme-chalk/src/zjhc/page.scss +3 -0
- package/theme-chalk/src/zjhc/pagination.scss +64 -0
- package/theme-chalk/src/zjhc/picker.scss +85 -0
- package/theme-chalk/src/zjhc/popover.scss +13 -0
- package/theme-chalk/src/zjhc/popper.scss +13 -0
- package/theme-chalk/src/zjhc/radio.scss +49 -0
- package/theme-chalk/src/zjhc/scrollbar.scss +5 -0
- package/theme-chalk/src/zjhc/segmented.scss +18 -0
- package/theme-chalk/src/zjhc/select.scss +49 -0
- package/theme-chalk/src/zjhc/steps.scss +40 -0
- package/theme-chalk/src/zjhc/switch.scss +11 -0
- package/theme-chalk/src/zjhc/table-v2.scss +16 -0
- package/theme-chalk/src/zjhc/table.scss +44 -0
- package/theme-chalk/src/zjhc/tabs.scss +15 -0
- package/theme-chalk/src/zjhc/tags.scss +25 -0
- package/theme-chalk/src/zjhc/timeline.scss +16 -0
- package/theme-chalk/src/zjhc/tour.scss +9 -0
- package/theme-chalk/src/zjhc/tree.scss +6 -0
- package/theme-chalk/src/zjhc/upload.scss +6 -0
- package/theme-chalk/sticky-toolbar.css +71 -0
- package/theme-chalk/table-toolbar.css +53 -0
- package/theme-chalk/var.css +120 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.el-cascader-node__label {
|
|
2
|
+
padding: 0 10px;
|
|
3
|
+
}
|
|
4
|
+
.el-cascader-node {
|
|
5
|
+
.el-cascader-node__prefix {
|
|
6
|
+
font-size: var(--el-input-clear-icon);
|
|
7
|
+
left: 8px;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
.el-cascader__dropdown.el-popper {
|
|
11
|
+
box-shadow: none;
|
|
12
|
+
}
|
|
13
|
+
.el-cascader {
|
|
14
|
+
.el-input {
|
|
15
|
+
height: auto;
|
|
16
|
+
min-height: var(--el-input-height);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
.el-cascader-node.in-active-path,
|
|
20
|
+
.el-cascader-node.is-selectable.in-checked-path,
|
|
21
|
+
.el-cascader-node.is-active {
|
|
22
|
+
background-color: var(--el-primary-opactiy01);
|
|
23
|
+
&:hover {
|
|
24
|
+
background-color: var(--el-primary-opactiy01);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
.el-checkbox .el-checkbox__label {
|
|
2
|
+
font-size: var(--el-font-size-base);
|
|
3
|
+
}
|
|
4
|
+
.el-checkbox {
|
|
5
|
+
--el-checkbox-font-size: var(--el-font-size-base);
|
|
6
|
+
.el-checkbox__inner {
|
|
7
|
+
&::after {
|
|
8
|
+
border-right-width: 1.6px;
|
|
9
|
+
border-bottom-width: 1.6px;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
.el-checkbox-button.el-checkbox-button--large .el-checkbox-button__inner,
|
|
14
|
+
.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label {
|
|
15
|
+
font-size: var(--el-font-size-large);
|
|
16
|
+
padding: 8px 19px;
|
|
17
|
+
}
|
|
18
|
+
.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label {
|
|
19
|
+
padding: 8px;
|
|
20
|
+
}
|
|
21
|
+
.el-checkbox.el-checkbox--large {
|
|
22
|
+
height: var(--el-button-height-large);
|
|
23
|
+
}
|
|
24
|
+
.el-checkbox-button .el-checkbox-button__inner {
|
|
25
|
+
font-size: var(--el-font-size-base);
|
|
26
|
+
padding: 7px 15px;
|
|
27
|
+
}
|
|
28
|
+
.el-checkbox.is-bordered.el-checkbox--large {
|
|
29
|
+
padding: 0 8px 0 11px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.el-checkbox.el-checkbox--large,
|
|
33
|
+
.el-checkbox.is-bordered.el-checkbox--large {
|
|
34
|
+
.el-checkbox__inner {
|
|
35
|
+
width: var(--el-input-clear-icon);
|
|
36
|
+
height: var(--el-input-clear-icon);
|
|
37
|
+
&::after {
|
|
38
|
+
height: 8px;
|
|
39
|
+
left: 5px;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
.el-checkbox__label {
|
|
43
|
+
font-size: var(--el-font-size-large);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.el-checkbox {
|
|
48
|
+
margin-right: 24px;
|
|
49
|
+
height: var(--el-input-height);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.el-checkbox {
|
|
53
|
+
.el-checkbox__inner {
|
|
54
|
+
&::after {
|
|
55
|
+
border-right-width: 1.6px;
|
|
56
|
+
border-bottom-width: 1.6px;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
.el-date-editor .el-icon {
|
|
2
|
+
font-size: var(--el-input-clear-icon);
|
|
3
|
+
}
|
|
4
|
+
.el-date-editor.el-input,
|
|
5
|
+
.el-date-editor.el-input__wrapper {
|
|
6
|
+
height: var(--el-input-height);
|
|
7
|
+
}
|
|
8
|
+
.el-date-table {
|
|
9
|
+
font-size: var(--el-font-size-base);
|
|
10
|
+
}
|
|
11
|
+
.el-date-editor .el-range-input {
|
|
12
|
+
height: var(--el-input-height);
|
|
13
|
+
line-height: var(--el-input-height);
|
|
14
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.el-descriptions {
|
|
2
|
+
--el-descriptions-item-bordered-label-background: #f1f2f7;
|
|
3
|
+
}
|
|
4
|
+
.el-descriptions__body
|
|
5
|
+
.el-descriptions__table.is-bordered
|
|
6
|
+
.el-descriptions__cell {
|
|
7
|
+
padding: 0 11px;
|
|
8
|
+
height: var(--el-height-size-base);
|
|
9
|
+
line-height: var(--el-height-size-base);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.el-descriptions__label.el-descriptions__cell.is-bordered-label {
|
|
13
|
+
font-weight: normal;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.el-descriptions__body .el-descriptions__table .el-descriptions__cell {
|
|
17
|
+
font-size: var(--el-font-size-base);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.el-descriptions--large
|
|
21
|
+
.el-descriptions__body
|
|
22
|
+
.el-descriptions__table.is-bordered
|
|
23
|
+
.el-descriptions__cell {
|
|
24
|
+
padding: 2px 15px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.el-descriptions--large
|
|
28
|
+
.el-descriptions__body
|
|
29
|
+
.el-descriptions__table
|
|
30
|
+
.el-descriptions__cell {
|
|
31
|
+
font-size: var(--el-font-size-large);
|
|
32
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
.el-dialog {
|
|
2
|
+
--el-dialog-title-font-size: var(--font-size-xxl);
|
|
3
|
+
--el-dialog-border-radius: var(--zjhc-border-radius-middle);
|
|
4
|
+
--el-dialog-padding-primary: 28px;
|
|
5
|
+
--el-dialog-header-bottom: 15px;
|
|
6
|
+
--el-dialog-header-top: var(--zjhc-padding-space-l);
|
|
7
|
+
--el-dialog-content-font-size: var(--font-size-base);
|
|
8
|
+
--el-font-line-height-primary: 30px;
|
|
9
|
+
pointer-events: auto;
|
|
10
|
+
max-width: 100%;
|
|
11
|
+
padding-top: var(--el-dialog-header-top);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.el-dialog::before{
|
|
15
|
+
content: "";
|
|
16
|
+
height: 1px;
|
|
17
|
+
position: absolute;
|
|
18
|
+
left: 0;
|
|
19
|
+
right: 0;
|
|
20
|
+
top:64px;
|
|
21
|
+
background-color: var(--el-dialog-header-divider-color);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.el-dialog.is-draggable {
|
|
25
|
+
// 如果eldialog设置draggable会因为此样式出现位置异常
|
|
26
|
+
position: fixed;
|
|
27
|
+
}
|
|
28
|
+
.el-dialog.is-resizable {
|
|
29
|
+
--el-message-close-size: 30px;
|
|
30
|
+
height: var(--el-dialog-height);
|
|
31
|
+
max-height: 100%;
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
border: 1px solid var(--el-border-color);
|
|
36
|
+
}
|
|
37
|
+
.el-dialog__header {
|
|
38
|
+
padding-bottom: var(--el-dialog-header-bottom);
|
|
39
|
+
}
|
|
40
|
+
.el-dialog.is-resizable .el-dialog__header {
|
|
41
|
+
padding-right: calc(var(--el-dialog-padding-primary) + var(--el-message-close-size, 16px) * 3);
|
|
42
|
+
// position: relative;
|
|
43
|
+
}
|
|
44
|
+
.el-dialog.is-resizable .el-dialog__header.show-close {
|
|
45
|
+
padding-right: calc(var(--el-dialog-padding-primary) + var(--el-message-close-size, 16px) * 4);
|
|
46
|
+
}
|
|
47
|
+
.el-dialog.is-resizable .el-dialog__body {
|
|
48
|
+
flex: 1;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
}
|
|
51
|
+
.el-dialog__headerbtn {
|
|
52
|
+
font-size: var(--font-size-xxxl);
|
|
53
|
+
}
|
|
54
|
+
.el-dialog__title {
|
|
55
|
+
font-weight: bold;
|
|
56
|
+
}
|
|
57
|
+
.el-dialog.is-resizable .el-dialog__title {
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
white-space: nowrap;
|
|
60
|
+
text-overflow: ellipsis;
|
|
61
|
+
display: block;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.el-dialog__headerbtn .el-dialog__minus,
|
|
65
|
+
.el-dialog__headerbtn .el-dialog__close{
|
|
66
|
+
width: 32px;
|
|
67
|
+
height: 32px;
|
|
68
|
+
border-radius: 50%;
|
|
69
|
+
background: var(--el-dialog-header-button-bg-color);
|
|
70
|
+
font-size: 16px;
|
|
71
|
+
color:var(--el-text-color-placeholder);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.el-dialog__headerbtn:focus .el-dialog__close,
|
|
75
|
+
.el-dialog__headerbtn:hover .el-dialog__close {
|
|
76
|
+
color: var(--el-text-color-primary) !important;
|
|
77
|
+
background: var(--el-dialog-header-button-bg-hover-color);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.el-dialog .el-dialog__button{
|
|
81
|
+
width: 32px;
|
|
82
|
+
height: 32px;
|
|
83
|
+
border-radius: 50%;
|
|
84
|
+
background: var(--el-dialog-header-button-bg-color);
|
|
85
|
+
font-size: 16px;
|
|
86
|
+
cursor: pointer;
|
|
87
|
+
color:var(--el-text-color-placeholder);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.el-dialog .el-dialog__button:hover{
|
|
91
|
+
background: var(--el-dialog-header-button-bg-hover-color);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.el-dialog.is-resizable .el-dialog__headerbtns {
|
|
95
|
+
position: absolute;
|
|
96
|
+
height: 36px;
|
|
97
|
+
right: 18px;
|
|
98
|
+
top: 18px;
|
|
99
|
+
display: flex;
|
|
100
|
+
align-items: center;
|
|
101
|
+
}
|
|
102
|
+
.el-dialog.is-resizable .el-dialog__headerbtn {
|
|
103
|
+
position: static;
|
|
104
|
+
width: 36px;
|
|
105
|
+
height: 36px;
|
|
106
|
+
}
|
|
107
|
+
.el-dialog .el-dialog__headerbtn {
|
|
108
|
+
right: 7px;
|
|
109
|
+
top: 12px;
|
|
110
|
+
margin-left: var(--zjhc-margin-space-l);
|
|
111
|
+
}
|
|
112
|
+
.el-dialog.is-fullscreen {
|
|
113
|
+
margin: 0;
|
|
114
|
+
--el-dialog-height: 100% !important;
|
|
115
|
+
--el-dialog-width: 100% !important;
|
|
116
|
+
}
|
|
117
|
+
.el-dialog.is-minus {
|
|
118
|
+
width: 200px;
|
|
119
|
+
height: 56px;
|
|
120
|
+
left: 0;
|
|
121
|
+
top: 0;
|
|
122
|
+
position: absolute;
|
|
123
|
+
margin: 0;
|
|
124
|
+
--el-dialog-padding-primary: 12px;
|
|
125
|
+
--el-dialog-header-top: 12px;
|
|
126
|
+
--el-dialog-header-bottom: 0;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.el-dialog.is-minus .el-dialog__header .el-input{
|
|
130
|
+
display: none;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.el-dialog.is-minus .el-dialog__header.show-close{
|
|
134
|
+
padding-right: calc(var(--el-dialog-padding-primary) + var(--el-message-close-size, 16px)*3);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.el-dialog.is-resizable.is-minus .el-dialog__headerbtns {
|
|
138
|
+
top: 7px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.el-dialog.is-minus .el-dialog__body,
|
|
142
|
+
.el-dialog.is-minus .el-dialog__footer {
|
|
143
|
+
display: none;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.el-dialog__body {
|
|
147
|
+
padding-top: var(--zjhc-padding-space-l);
|
|
148
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.el-dropdown .el-dropdown__caret-button {
|
|
2
|
+
width: var(--el-height-size-base);
|
|
3
|
+
min-width: auto;
|
|
4
|
+
}
|
|
5
|
+
.el-dropdown-menu__item {
|
|
6
|
+
padding: 3px 10px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.el-dropdown-menu__item:not(.is-disabled):focus,
|
|
10
|
+
.el-dropdown-menu__item:not(.is-disabled):hover {
|
|
11
|
+
background-color: var(--el-fill-color-light);
|
|
12
|
+
color: var(--el-text-color-regular);
|
|
13
|
+
}
|
|
14
|
+
.el-dropdown__popper.el-popper {
|
|
15
|
+
box-shadow: none;
|
|
16
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
html {
|
|
2
|
+
--font-size-xs: 12px;
|
|
3
|
+
--font-size-s: 13px;
|
|
4
|
+
--font-size-base: 14px;
|
|
5
|
+
--font-size-m: 15px;
|
|
6
|
+
--font-size-l: 16px;
|
|
7
|
+
--font-size-xl: 17px;
|
|
8
|
+
--font-size-xxl: 18px;
|
|
9
|
+
--font-size-xxxl: 20px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
html:root {
|
|
13
|
+
--font-size-extra-large: var(--font-size-xxxl);
|
|
14
|
+
--font-size-large: var(--font-size-xxl);
|
|
15
|
+
--font-size-medium: var(--font-size-l);
|
|
16
|
+
--font-size-small: var(--font-size-s);
|
|
17
|
+
--font-size-extra-small: var(--font-size-xs);
|
|
18
|
+
--el-height-size-base: 28px;
|
|
19
|
+
--el-input-height: var(--el-height-size-base);
|
|
20
|
+
--el-component-size: var(--el-input-height);
|
|
21
|
+
--el-button--height: var(--el-height-size-base);
|
|
22
|
+
--el-checkbox-height: var(--el-height-size-base);
|
|
23
|
+
--el-component-size-small: var(--el-height-size-base);
|
|
24
|
+
--el-input-clear-icon: var(--font-size-l);
|
|
25
|
+
--el-button-height-large: 32px;
|
|
26
|
+
--el-component-size-large: 32px;
|
|
27
|
+
--el-table-height: var(--font-size-xxl);
|
|
28
|
+
}
|
|
29
|
+
// 在基础的文字大小上面增加了2px
|
|
30
|
+
html.zjhc-caremode {
|
|
31
|
+
--font-size-xs: 14px;
|
|
32
|
+
--font-size-s: 15px;
|
|
33
|
+
--font-size-base: 16px;
|
|
34
|
+
--font-size-m: 17px;
|
|
35
|
+
--font-size-l: 18px;
|
|
36
|
+
--font-size-xl: 19px;
|
|
37
|
+
--font-size-xxl: 20px;
|
|
38
|
+
--font-size-xxxl: 22px;
|
|
39
|
+
--el-height-size-base: 32px;
|
|
40
|
+
--el-button-height-large: 34px;
|
|
41
|
+
--el-component-size-large: 34px;
|
|
42
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.el-slider__runway.show-input {
|
|
2
|
+
margin-right: 20px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.el-form-item.is-required:not(.is-no-asterisk).asterisk-left
|
|
6
|
+
> .el-form-item__label:before,
|
|
7
|
+
.el-form-item.is-required:not(.is-no-asterisk).asterisk-left
|
|
8
|
+
> .el-form-item__label-wrap
|
|
9
|
+
> .el-form-item__label:before {
|
|
10
|
+
margin-right: 6px;
|
|
11
|
+
}
|
|
12
|
+
.el-form-item.is-required .el-input.is-disabled .el-input__wrapper {
|
|
13
|
+
background-color: var(--el-disabled-bg-color);
|
|
14
|
+
}
|
|
15
|
+
.el-form-item__label {
|
|
16
|
+
height: var(--el-input-height);
|
|
17
|
+
line-height: var(--el-input-height);
|
|
18
|
+
padding: 0 10px 0 0;
|
|
19
|
+
}
|
|
20
|
+
.el-rate {
|
|
21
|
+
--el-rate-fill-color: var(--el-color-warning);
|
|
22
|
+
}
|
|
23
|
+
.el-form-item {
|
|
24
|
+
margin-bottom: 16px;
|
|
25
|
+
}
|
|
26
|
+
.el-form-item.is-required .el-select__wrapper,
|
|
27
|
+
.el-form-item.is-required .el-input__wrapper,
|
|
28
|
+
.el-form-item.is-required .el-textarea__inner {
|
|
29
|
+
background: var(--el-form-required-bg-color);
|
|
30
|
+
}
|
|
31
|
+
.el-form-item__content {
|
|
32
|
+
line-height: var(--el-input-height);
|
|
33
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
@use './button.scss';
|
|
2
|
+
@use './fontsize.scss';
|
|
3
|
+
@use './form.scss';
|
|
4
|
+
@use './scrollbar.scss';
|
|
5
|
+
@use './calendar.scss';
|
|
6
|
+
@use './card.scss';
|
|
7
|
+
@use './collapse.scss';
|
|
8
|
+
@use './empty.scss';
|
|
9
|
+
@use './pagination.scss';
|
|
10
|
+
@use './select.scss';
|
|
11
|
+
@use './tags.scss';
|
|
12
|
+
@use './timeline.scss';
|
|
13
|
+
@use './tree.scss';
|
|
14
|
+
@use './segmented.scss';
|
|
15
|
+
@use './anchor.scss';
|
|
16
|
+
@use './backtop.scss';
|
|
17
|
+
@use './breadcrumb.scss';
|
|
18
|
+
@use './dropdown.scss';
|
|
19
|
+
@use './menu.scss';
|
|
20
|
+
@use './steps.scss';
|
|
21
|
+
@use './tabs.scss';
|
|
22
|
+
@use './table.scss';
|
|
23
|
+
@use './descriptions.scss';
|
|
24
|
+
@use './message-box.scss';
|
|
25
|
+
@use './popover.scss';
|
|
26
|
+
@use './popper.scss';
|
|
27
|
+
@use './tour.scss';
|
|
28
|
+
@use './table-v2.scss';
|
|
29
|
+
@use './alert.scss';
|
|
30
|
+
@use './dialog.scss';
|
|
31
|
+
@use './drawer.scss';
|
|
32
|
+
@use './message.scss';
|
|
33
|
+
@use './main.scss';
|
|
34
|
+
@use './notification.scss';
|
|
35
|
+
@use './picker.scss';
|
|
36
|
+
@use './switch.scss';
|
|
37
|
+
@use './input.scss';
|
|
38
|
+
@use './mention.scss';
|
|
39
|
+
@use './dateEditor.scss';
|
|
40
|
+
@use './number.scss';
|
|
41
|
+
@use './autocomplete.scss';
|
|
42
|
+
@use './checkbox.scss';
|
|
43
|
+
@use './radio.scss';
|
|
44
|
+
@use './link.scss';
|
|
45
|
+
@use './cascader.scss';
|
|
46
|
+
@use './upload.scss';
|
|
47
|
+
@use './overlay.scss';
|
|
48
|
+
@use './page.scss';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
.el-input__inner {
|
|
2
|
+
--el-input-inner-height: var(--el-input-height);
|
|
3
|
+
}
|
|
4
|
+
.el-input {
|
|
5
|
+
--el-input-text-color: #333;
|
|
6
|
+
height: var(--el-input-height);
|
|
7
|
+
}
|
|
8
|
+
.el-textarea__inner {
|
|
9
|
+
padding: 5px 10px;
|
|
10
|
+
}
|
|
11
|
+
.el-input {
|
|
12
|
+
.el-button:has(.el-icon) {
|
|
13
|
+
min-width: auto;
|
|
14
|
+
padding: 6px 15px;
|
|
15
|
+
}
|
|
16
|
+
.el-input-group__append,
|
|
17
|
+
.el-input-group__prepend,
|
|
18
|
+
.el-input-group__append .el-button {
|
|
19
|
+
padding: 0 15px;
|
|
20
|
+
}
|
|
21
|
+
.el-input-group__append .el-select,
|
|
22
|
+
.el-input-group__append .el-button,
|
|
23
|
+
.el-input-group__prepend .el-select,
|
|
24
|
+
.el-input-group__prepend .el-button {
|
|
25
|
+
margin: 0 -15px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
.el-input-group__append .el-button {
|
|
29
|
+
font-size: var(--font-size-l);
|
|
30
|
+
}
|
|
31
|
+
.el-input__wrapper {
|
|
32
|
+
padding: 0 10px;
|
|
33
|
+
}
|
|
34
|
+
.el-input--large .el-input__wrapper {
|
|
35
|
+
height: var(--el-button-height-large);
|
|
36
|
+
}
|
|
37
|
+
.el-input--small {
|
|
38
|
+
.el-input__inner {
|
|
39
|
+
height: var(--el-input-height);
|
|
40
|
+
}
|
|
41
|
+
.el-input__wrapper {
|
|
42
|
+
padding: 0 7px;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
.el-input .el-icon {
|
|
46
|
+
font-size: var(--el-input-clear-icon);
|
|
47
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.el-link {
|
|
2
|
+
.el-icon + span {
|
|
3
|
+
margin-left: 6px;
|
|
4
|
+
}
|
|
5
|
+
.el-icon {
|
|
6
|
+
font-size: 16px;
|
|
7
|
+
}
|
|
8
|
+
&.is-underline {
|
|
9
|
+
&::after {
|
|
10
|
+
display: none;
|
|
11
|
+
}
|
|
12
|
+
&:hover {
|
|
13
|
+
text-decoration: underline;
|
|
14
|
+
text-decoration-color: var(--el-link-hover-text-color);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
.el-link + .el-link {
|
|
19
|
+
margin-left: 20px;
|
|
20
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
.el-message-box {
|
|
2
|
+
--el-messagebox-padding-primary: 28px;
|
|
3
|
+
--el-message-close-size: var(--font-size-xxl);
|
|
4
|
+
--el-messagebox-font-size: var(--font-size-xxl);
|
|
5
|
+
--el-font-line-height-primary: 30px;
|
|
6
|
+
--el-messagebox-error-font-size: var(--el-font-size-base);
|
|
7
|
+
--el-messagebox-border-radius: var(--zjhc-border-radius-middle);
|
|
8
|
+
--el-messagebox-header-top: var(--zjhc-padding-space-l);
|
|
9
|
+
--el-messagebox-header-bottom: var(--zjhc-padding-space-m);
|
|
10
|
+
padding-top: var(--el-messagebox-header-top);
|
|
11
|
+
}
|
|
12
|
+
.el-message-box__header {
|
|
13
|
+
padding-bottom: var(--el-messagebox-header-bottom);
|
|
14
|
+
}
|
|
15
|
+
.el-message-box__headerbtn {
|
|
16
|
+
top: 10px;
|
|
17
|
+
right: 10px;
|
|
18
|
+
}
|
|
19
|
+
.el-message-box__status {
|
|
20
|
+
font-size: 28px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.el-message-box__title {
|
|
24
|
+
font-weight: 700;
|
|
25
|
+
}
|
|
26
|
+
.el-message-box__headerbtn:focus .el-message-box__close,
|
|
27
|
+
.el-message-box__headerbtn:hover .el-message-box__close {
|
|
28
|
+
color: #333;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.el-message-box::before{
|
|
32
|
+
content: "";
|
|
33
|
+
height: 1px;
|
|
34
|
+
position: absolute;
|
|
35
|
+
left: 0;
|
|
36
|
+
right: 0;
|
|
37
|
+
top:64px;
|
|
38
|
+
background-color: var(--el-dialog-header-divider-color);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.el-message-box__headerbtn .el-message-box__close {
|
|
42
|
+
width: 32px;
|
|
43
|
+
height: 32px;
|
|
44
|
+
border-radius: 50%;
|
|
45
|
+
background: var(--el-dialog-header-button-bg-color);
|
|
46
|
+
font-size: 16px;
|
|
47
|
+
color:var(--el-text-color-placeholder);
|
|
48
|
+
}
|
|
49
|
+
.el-message-box__headerbtn .el-message-box__close:hover {
|
|
50
|
+
background: var(--el-dialog-header-button-bg-hover-color);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.el-message-box__content{
|
|
54
|
+
padding-top: 30px;
|
|
55
|
+
padding-bottom: var(--zjhc-padding-space-l);
|
|
56
|
+
font-size: var(--font-size-m);
|
|
57
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
.el-message--info {
|
|
2
|
+
--el-message-bg-color: var(--el-color-primary-light-9);
|
|
3
|
+
--el-message-border-color: var(--el-color-primary-light-8);
|
|
4
|
+
--el-message-text-color: var(--el-color-primary);
|
|
5
|
+
--el-message-padding: 8px 15px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.el-message {
|
|
9
|
+
--el-message-close-size: var(--font-size-xxl);
|
|
10
|
+
}
|
|
11
|
+
.el-message__icon {
|
|
12
|
+
font-size: var(--font-size-xxl);
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
.el-input-number.is-controls-right[class*='large'] [class*='increase'],
|
|
2
|
+
.el-input-number.is-controls-right[class*='large'] [class*='decrease'] {
|
|
3
|
+
--el-input-number-controls-height: var(--el-input-clear-icon);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.el-input-number.is-controls-right .el-input-number__increase,
|
|
7
|
+
.el-input-number.is-controls-right .el-input-number__decrease {
|
|
8
|
+
--el-input-number-controls-height: var(--el-font-size-title);
|
|
9
|
+
}
|